{"version":3,"file":"inertia-Cxgww0ob.js","sources":["../../../node_modules/@inertiajs/svelte/dist/components/Render.svelte","../../../node_modules/@inertiajs/svelte/dist/components/App.svelte","../../../node_modules/@inertiajs/svelte/dist/createInertiaApp.js","../../../app/frontend/entrypoints/inertia.js"],"sourcesContent":["\n\n\n\n{#if component}\n \n {#key children?.length === 0 ? key : null}\n {#if children.length > 0}\n \n {#each children as child}\n \n {/each}\n \n {:else}\n \n {/if}\n {/key}\n{/if}\n","\n\n\n\n\n","import { router, setupProgress } from '@inertiajs/core';\nimport escape from 'html-escape';\nimport App, {} from './components/App.svelte';\nexport default async function createInertiaApp({ id = 'app', resolve, setup, progress = {}, page, }) {\n const isServer = typeof window === 'undefined';\n const el = isServer ? null : document.getElementById(id);\n const initialPage = page || JSON.parse(el?.dataset.page || '{}');\n const resolveComponent = (name) => Promise.resolve(resolve(name));\n const [initialComponent] = await Promise.all([\n resolveComponent(initialPage.component),\n router.decryptHistory().catch(() => { }),\n ]);\n const props = { initialPage, initialComponent, resolveComponent };\n const svelteApp = setup({\n el,\n App: App,\n props\n });\n if (isServer) {\n const { html, head, css } = svelteApp;\n return {\n body: `
${html}
`,\n head: [head, css ? `` : ''],\n };\n }\n if (progress) {\n setupProgress(progress);\n }\n}\n","import { createInertiaApp } from '@inertiajs/svelte'\nimport { hydrate, mount } from 'svelte'\n\nimport { resolve } from './resolve'\n\ncreateInertiaApp({\n // Set default page title\n // see https://inertia-rails.netlify.app/guide/title-and-meta\n //\n // title: title => title ? `${title} - App` : 'App',\n\n // Disable progress bar\n //\n // see https://inertia-rails.netlify.app/guide/progress-indicators\n // progress: false,\n\n resolve,\n\n setup({ el, App, props }) {\n if (el.dataset.serverRendered === 'true') {\n hydrate(App, { target: el, props })\n } else {\n mount(App, { target: el, props })\n }\n }\n})\n"],"names":["h","component","propsOrChildren","childrenOrKey","key","hasProps","$.prop","$$props","props","children","$.key","node_1","_a","$$anchor","$$component","$.each","node_4","child","$$render","consequent","alternate","consequent_1","initialComponent","initialPage","resolveComponent","page","renderProps","resolveRenderProps","setPage","router","args","$.set","component2","page2","key2","layout","resolveLayout","pageProps","isLayoutFunction","currentRender","layoutComponent","createInertiaApp","id","resolve","setup","progress","isServer","el","name","svelteApp","App","html","head","css","escape","setupProgress","hydrate","mount"],"mappings":"0MAAsCA,EAAC,CAAIC,EAAWC,EAAiBC,EAAeC,EAAM,OAAS,CAC7F,MAAAC,EAAkB,OAAAH,GAAoB,UAAYA,IAAoB,MAAS,CAAA,MAAM,QAAQA,CAAe,SAEhH,UAAAD,EACA,IAAKI,EAAWD,EAAG,OAAUD,GAAkB,SAAWA,EAAgB,KAC1E,MAAOE,EAAWH,EAAe,CAAA,EACjC,SAAUG,EAAW,MAAM,QAAQF,CAAa,EAAIA,EAAgBA,IAAkB,KAAQ,CAAAA,CAAa,EAAS,GAAA,MAAM,QAAQD,CAAe,EAAIA,EAAkBA,IAAoB,MAAQA,CAAe,EAAA,CAAA,EAEtN,8BAGmBD,EAASK,EAAAC,EAAA,YAAA,CAAA,EACjBC,EAAKF,EAAAC,EAAA,QAAA,GAAA,KAAA,CAAA,EAAA,EACLE,EAAQH,EAAAC,EAAA,WAAA,GAAA,IAAA,EAAA,EACRH,cAAM,IAAI,mDAQbM,EAAAC,EAAA,IAAA,OAAA,QAAAC,EAAAH,MAAA,YAAAG,EAAU,UAAW,EAAIR,IAAM,MAAIS,GAAA,kDAEbZ,EAAS,CAAAY,EAAAC,IAAA,OAAMN,EAAK,oCACnCO,EAAAC,EAAA,EAAAP,OAAYQ,IAAK,8BACLA,CAAK,CAAA,CAAA,gFAIFhB,EAAS,CAAAY,EAAAC,IAAA,OAAMN,CAAK,CAAA,oBAPzCC,EAAQ,EAAC,OAAS,EAACS,EAAAC,CAAA,EAAAD,EAAAE,EAAA,EAAA,6BANvBnB,EAAS,GAAAiB,EAAAG,CAAA,4CCXHC,EAAgBhB,EAAAC,EAAA,mBAAA,CAAA,EAChBgB,EAAWjB,EAAAC,EAAA,cAAA,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