@elgap/edukaai 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +15 -0
- package/.output/public/_nuxt/BHDzAs85.js +1 -0
- package/.output/public/_nuxt/BJzbfdL_.js +1 -0
- package/.output/public/_nuxt/BKGLlKXk.js +6 -0
- package/.output/public/_nuxt/BLuXzJk3.js +1 -0
- package/.output/public/_nuxt/BNOzzLI3.js +1 -0
- package/.output/public/_nuxt/BO5GMwXh.js +1 -0
- package/.output/public/_nuxt/BQRbsFGy.js +1 -0
- package/.output/public/_nuxt/Be4MVdOg.js +1 -0
- package/.output/public/_nuxt/Bu4d3Z1T.js +1 -0
- package/.output/public/_nuxt/BwpBBNv4.js +1 -0
- package/.output/public/_nuxt/C1Og9-6n.js +97 -0
- package/.output/public/_nuxt/C3CjAhtj.js +1 -0
- package/.output/public/_nuxt/C6E3Ty3z.js +1 -0
- package/.output/public/_nuxt/COct4B42.js +1 -0
- package/.output/public/_nuxt/CQ6g2dtj.js +1 -0
- package/.output/public/_nuxt/CURSW5TV.js +246 -0
- package/.output/public/_nuxt/CW57JW4s.js +1 -0
- package/.output/public/_nuxt/Cg2fM61o.js +18 -0
- package/.output/public/_nuxt/CgGOeWta.js +1 -0
- package/.output/public/_nuxt/CoyYbT7u.js +1 -0
- package/.output/public/_nuxt/D11MHbGc.js +133 -0
- package/.output/public/_nuxt/D24dz0S8.js +1 -0
- package/.output/public/_nuxt/D3EFPr8x.js +1 -0
- package/.output/public/_nuxt/Dvt4ZHil.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/ab87ba0e-6d0d-4466-8b12-00d44f8fb9d3.json +1 -0
- package/.output/public/_nuxt/default.C1K1-g4D.css +1 -0
- package/.output/public/_nuxt/entry.CH8k-Mga.css +1 -0
- package/.output/public/_nuxt/error-404.C-Ezrlz-.css +1 -0
- package/.output/public/_nuxt/error-500.DBWf9FGj.css +1 -0
- package/.output/public/_nuxt/first-training.wFDD65zm.css +1 -0
- package/.output/public/_nuxt/import.cUKYdCrq.css +1 -0
- package/.output/public/_nuxt/index.D-2VHyHA.css +1 -0
- package/.output/public/_nuxt/index.D4J_vHmL.css +1 -0
- package/.output/public/_nuxt/mPJeLIz7.js +1 -0
- package/.output/server/chunks/_/error-500.mjs +19 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -0
- package/.output/server/chunks/build/ExampleCard-styles.BUOJhEg0.mjs +8 -0
- package/.output/server/chunks/build/ExampleCard-styles.BUOJhEg0.mjs.map +1 -0
- package/.output/server/chunks/build/ExampleForm-Bcpl0CfL.mjs +238 -0
- package/.output/server/chunks/build/ExampleForm-Bcpl0CfL.mjs.map +1 -0
- package/.output/server/chunks/build/ImportPreview-styles.CFmMl5Ok.mjs +8 -0
- package/.output/server/chunks/build/ImportPreview-styles.CFmMl5Ok.mjs.map +1 -0
- package/.output/server/chunks/build/_id_-BUSGcL-H.mjs +113 -0
- package/.output/server/chunks/build/_id_-BUSGcL-H.mjs.map +1 -0
- package/.output/server/chunks/build/axolotl-C-EXGgM8.mjs +112 -0
- package/.output/server/chunks/build/axolotl-C-EXGgM8.mjs.map +1 -0
- package/.output/server/chunks/build/best-practices-DsadorHb.mjs +38 -0
- package/.output/server/chunks/build/best-practices-DsadorHb.mjs.map +1 -0
- package/.output/server/chunks/build/client.precomputed.mjs +4 -0
- package/.output/server/chunks/build/client.precomputed.mjs.map +1 -0
- package/.output/server/chunks/build/default-DPkqqHOE.mjs +354 -0
- package/.output/server/chunks/build/default-DPkqqHOE.mjs.map +1 -0
- package/.output/server/chunks/build/default-styles.DsqVVS7k.mjs +8 -0
- package/.output/server/chunks/build/default-styles.DsqVVS7k.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-K4UfZNck.mjs +97 -0
- package/.output/server/chunks/build/error-404-K4UfZNck.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-styles.DuDrf-v0.mjs +8 -0
- package/.output/server/chunks/build/error-404-styles.DuDrf-v0.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-CA7TEPNg.mjs +79 -0
- package/.output/server/chunks/build/error-500-CA7TEPNg.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-styles.8IYEHzz6.mjs +8 -0
- package/.output/server/chunks/build/error-500-styles.8IYEHzz6.mjs.map +1 -0
- package/.output/server/chunks/build/examples-BHK8MDrs.mjs +134 -0
- package/.output/server/chunks/build/examples-BHK8MDrs.mjs.map +1 -0
- package/.output/server/chunks/build/export-BzxFqqfP.mjs +233 -0
- package/.output/server/chunks/build/export-BzxFqqfP.mjs.map +1 -0
- package/.output/server/chunks/build/faq-DKch73dS.mjs +112 -0
- package/.output/server/chunks/build/faq-DKch73dS.mjs.map +1 -0
- package/.output/server/chunks/build/field-guide-qbukT8F0.mjs +38 -0
- package/.output/server/chunks/build/field-guide-qbukT8F0.mjs.map +1 -0
- package/.output/server/chunks/build/first-training-BbEOBcEW.mjs +343 -0
- package/.output/server/chunks/build/first-training-BbEOBcEW.mjs.map +1 -0
- package/.output/server/chunks/build/first-training-styles.BzOa_KRD.mjs +8 -0
- package/.output/server/chunks/build/first-training-styles.BzOa_KRD.mjs.map +1 -0
- package/.output/server/chunks/build/glossary-CxSGCJoH.mjs +397 -0
- package/.output/server/chunks/build/glossary-CxSGCJoH.mjs.map +1 -0
- package/.output/server/chunks/build/huggingface-TSmyUzZU.mjs +128 -0
- package/.output/server/chunks/build/huggingface-TSmyUzZU.mjs.map +1 -0
- package/.output/server/chunks/build/import-C0kYhRv9.mjs +247 -0
- package/.output/server/chunks/build/import-C0kYhRv9.mjs.map +1 -0
- package/.output/server/chunks/build/index-C1ntBEWd.mjs +235 -0
- package/.output/server/chunks/build/index-C1ntBEWd.mjs.map +1 -0
- package/.output/server/chunks/build/index-D3CxihcX.mjs +320 -0
- package/.output/server/chunks/build/index-D3CxihcX.mjs.map +1 -0
- package/.output/server/chunks/build/index-DgKa1cy0.mjs +360 -0
- package/.output/server/chunks/build/index-DgKa1cy0.mjs.map +1 -0
- package/.output/server/chunks/build/index-cG54gaKX.mjs +513 -0
- package/.output/server/chunks/build/index-cG54gaKX.mjs.map +1 -0
- package/.output/server/chunks/build/index-styles.BX2SZiiS.mjs +8 -0
- package/.output/server/chunks/build/index-styles.BX2SZiiS.mjs.map +1 -0
- package/.output/server/chunks/build/llm-training-DIqc0eiM.mjs +91 -0
- package/.output/server/chunks/build/llm-training-DIqc0eiM.mjs.map +1 -0
- package/.output/server/chunks/build/new-b3338aLF.mjs +92 -0
- package/.output/server/chunks/build/new-b3338aLF.mjs.map +1 -0
- package/.output/server/chunks/build/nuxt-link-Ceyd90PQ.mjs +290 -0
- package/.output/server/chunks/build/nuxt-link-Ceyd90PQ.mjs.map +1 -0
- package/.output/server/chunks/build/sample-datasets-CVLWMQUA.mjs +45 -0
- package/.output/server/chunks/build/sample-datasets-CVLWMQUA.mjs.map +1 -0
- package/.output/server/chunks/build/server.mjs +1979 -0
- package/.output/server/chunks/build/server.mjs.map +1 -0
- package/.output/server/chunks/build/styles.mjs +20 -0
- package/.output/server/chunks/build/styles.mjs.map +1 -0
- package/.output/server/chunks/build/test-router-BYM6Cpst.mjs +105 -0
- package/.output/server/chunks/build/test-router-BYM6Cpst.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +5800 -0
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +481 -0
- package/.output/server/chunks/routes/renderer.mjs.map +1 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
- package/.output/server/index.mjs +12 -0
- package/.output/server/index.mjs.map +1 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/api.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/app.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/component.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/context.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/hooks.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/index.js +22 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/api/util.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/const.js +5 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/env.js +17 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/index.js +45 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/plugin.js +2 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/proxy.js +111 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/lib/cjs/time.js +28 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@6.6.4/package.json +37 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@7.7.9/dist/index.cjs +42 -0
- package/.output/server/node_modules/.nitro/@vue/devtools-api@7.7.9/package.json +32 -0
- package/.output/server/node_modules/.nitro/hookable@5.5.3/dist/index.cjs +299 -0
- package/.output/server/node_modules/.nitro/hookable@5.5.3/package.json +49 -0
- package/.output/server/node_modules/.nitro/hookable@6.0.1/dist/index.mjs +266 -0
- package/.output/server/node_modules/.nitro/hookable@6.0.1/package.json +52 -0
- package/.output/server/node_modules/.nitro/perfect-debounce@1.0.0/dist/index.cjs +59 -0
- package/.output/server/node_modules/.nitro/perfect-debounce@1.0.0/package.json +44 -0
- package/.output/server/node_modules/.nitro/perfect-debounce@2.1.0/dist/index.mjs +89 -0
- package/.output/server/node_modules/.nitro/perfect-debounce@2.1.0/package.json +41 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14582 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +292 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +702 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/common.js +76 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/format.js +40 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +52 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +133 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +20 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +15 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +18 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +18 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +31 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +80 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +102 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +29 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +60 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +50 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +204 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +35 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +134 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +167 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +81 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +94 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +78 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +68 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +47 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +105 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +38 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +94 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +64 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +26 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +18 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +58 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +34 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +13 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +126 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +21 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +27 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +38 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +93 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +48 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +24 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +44 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +125 -0
- package/.output/server/node_modules/@iconify/utils/lib/index.js +53 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +32 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +42 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +63 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +27 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +27 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +10 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +115 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +32 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +15 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +10 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +42 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +23 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +69 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +55 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +8 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +23 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +9 -0
- package/.output/server/node_modules/@iconify/utils/package.json +118 -0
- package/.output/server/node_modules/@iconify/vue/dist/iconify.mjs +1893 -0
- package/.output/server/node_modules/@iconify/vue/package.json +64 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6763 -0
- package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +689 -0
- package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1413 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/devtools-kit/dist/index.cjs +6850 -0
- package/.output/server/node_modules/@vue/devtools-kit/package.json +44 -0
- package/.output/server/node_modules/@vue/devtools-shared/dist/index.cjs +378 -0
- package/.output/server/node_modules/@vue/devtools-shared/package.json +34 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1870 -0
- package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6810 -0
- package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1750 -0
- package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +883 -0
- package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/birpc/dist/index.cjs +296 -0
- package/.output/server/node_modules/birpc/package.json +57 -0
- package/.output/server/node_modules/consola/dist/chunks/prompt.mjs +280 -0
- package/.output/server/node_modules/consola/dist/core.mjs +512 -0
- package/.output/server/node_modules/consola/dist/index.mjs +651 -0
- package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
- package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
- package/.output/server/node_modules/consola/package.json +136 -0
- package/.output/server/node_modules/devalue/index.js +4 -0
- package/.output/server/node_modules/devalue/package.json +37 -0
- package/.output/server/node_modules/devalue/src/base64.js +110 -0
- package/.output/server/node_modules/devalue/src/constants.js +7 -0
- package/.output/server/node_modules/devalue/src/parse.js +246 -0
- package/.output/server/node_modules/devalue/src/stringify.js +350 -0
- package/.output/server/node_modules/devalue/src/uneval.js +490 -0
- package/.output/server/node_modules/devalue/src/utils.js +148 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
- package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/entities/package.json +120 -0
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/.output/server/node_modules/estree-walker/package.json +37 -0
- package/.output/server/node_modules/pinia/dist/pinia.prod.cjs +719 -0
- package/.output/server/node_modules/pinia/package.json +94 -0
- package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/.output/server/node_modules/source-map-js/package.json +71 -0
- package/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/.output/server/node_modules/tailwindcss/dist/chunk-X4GG3EDV.mjs +1 -0
- package/.output/server/node_modules/tailwindcss/dist/colors.mjs +1 -0
- package/.output/server/node_modules/tailwindcss/package.json +89 -0
- package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
- package/.output/server/node_modules/ufo/package.json +48 -0
- package/.output/server/node_modules/unhead/dist/index.mjs +9 -0
- package/.output/server/node_modules/unhead/dist/parser.mjs +508 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +101 -0
- package/.output/server/node_modules/unhead/dist/scripts.mjs +30 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +180 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BPM0-cfG.mjs +44 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BnoAbrHA.mjs +269 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +71 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.D_nrZZPH.mjs +182 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.ckV6dpEQ.mjs +166 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.fVVqDC1O.mjs +203 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
- package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
- package/.output/server/node_modules/unhead/package.json +105 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/vue/index.js +7 -0
- package/.output/server/node_modules/vue/index.mjs +1 -0
- package/.output/server/node_modules/vue/package.json +112 -0
- package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +301 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +55 -0
- package/.output/server/node_modules/vue-router/dist/devtools-EWN81iOl.mjs +1220 -0
- package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1557 -0
- package/.output/server/node_modules/vue-router/package.json +153 -0
- package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
- package/.output/server/package.json +37 -0
- package/LICENSE +21 -0
- package/README.md +132 -0
- package/bin/cli.js +75 -0
- package/package.json +71 -0
|
@@ -0,0 +1,1979 @@
|
|
|
1
|
+
import process from 'node:process';globalThis._importMeta_=globalThis._importMeta_||{url:"file:///_entry.js",env:process.env};import { hasInjectionContext, inject, getCurrentInstance, defineComponent, createElementBlock, shallowRef, provide, cloneVNode, h, defineAsyncComponent, computed, unref, shallowReactive, ref, Suspense, Fragment, createApp, onErrorCaptured, onServerPrefetch, createVNode, resolveDynamicComponent, reactive, effectScope, mergeProps, getCurrentScope, toRef, withCtx, nextTick, isReadonly, toRaw, useSSRContext, isRef, isShallow, isReactive } from 'vue';
|
|
2
|
+
import { e as createError$1, k as klona, l as parseURL, m as encodePath, n as decodePath, o as hasProtocol, q as isScriptProtocol, j as joinURL, w as withQuery, r as defuFn, s as sanitizeStatusCode, t as getContext, $ as $fetch$1, v as baseURL, x as defu, y as executeAsync } from '../nitro/nitro.mjs';
|
|
3
|
+
import { setActivePinia, createPinia, shouldHydrate } from 'pinia';
|
|
4
|
+
import { useRoute as useRoute$1, RouterView, createMemoryHistory, createRouter, START_LOCATION } from 'vue-router';
|
|
5
|
+
import colors from 'tailwindcss/colors';
|
|
6
|
+
import { _api, addAPIProvider, setCustomIconsLoader } from '@iconify/vue';
|
|
7
|
+
import { ssrRenderSuspense, ssrRenderComponent, ssrRenderVNode } from 'vue/server-renderer';
|
|
8
|
+
import { u as useHead$1, h as headSymbol } from '../routes/renderer.mjs';
|
|
9
|
+
import 'node:http';
|
|
10
|
+
import 'node:https';
|
|
11
|
+
import 'node:events';
|
|
12
|
+
import 'node:buffer';
|
|
13
|
+
import 'node:fs';
|
|
14
|
+
import 'node:path';
|
|
15
|
+
import 'node:crypto';
|
|
16
|
+
import 'node:url';
|
|
17
|
+
import '@iconify/utils';
|
|
18
|
+
import 'consola';
|
|
19
|
+
import 'vue-bundle-renderer/runtime';
|
|
20
|
+
import 'unhead/server';
|
|
21
|
+
import 'devalue';
|
|
22
|
+
import 'unhead/utils';
|
|
23
|
+
|
|
24
|
+
function flatHooks(configHooks, hooks = {}, parentName) {
|
|
25
|
+
for (const key in configHooks) {
|
|
26
|
+
const subHook = configHooks[key];
|
|
27
|
+
const name = parentName ? `${parentName}:${key}` : key;
|
|
28
|
+
if (typeof subHook === "object" && subHook !== null) {
|
|
29
|
+
flatHooks(subHook, hooks, name);
|
|
30
|
+
} else if (typeof subHook === "function") {
|
|
31
|
+
hooks[name] = subHook;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return hooks;
|
|
35
|
+
}
|
|
36
|
+
const defaultTask = { run: (function_) => function_() };
|
|
37
|
+
const _createTask = () => defaultTask;
|
|
38
|
+
const createTask = typeof console.createTask !== "undefined" ? console.createTask : _createTask;
|
|
39
|
+
function serialTaskCaller(hooks, args) {
|
|
40
|
+
const name = args.shift();
|
|
41
|
+
const task = createTask(name);
|
|
42
|
+
return hooks.reduce(
|
|
43
|
+
(promise, hookFunction) => promise.then(() => task.run(() => hookFunction(...args))),
|
|
44
|
+
Promise.resolve()
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
function parallelTaskCaller(hooks, args) {
|
|
48
|
+
const name = args.shift();
|
|
49
|
+
const task = createTask(name);
|
|
50
|
+
return Promise.all(hooks.map((hook) => task.run(() => hook(...args))));
|
|
51
|
+
}
|
|
52
|
+
function callEachWith(callbacks, arg0) {
|
|
53
|
+
for (const callback of [...callbacks]) {
|
|
54
|
+
callback(arg0);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
class Hookable {
|
|
59
|
+
constructor() {
|
|
60
|
+
this._hooks = {};
|
|
61
|
+
this._before = void 0;
|
|
62
|
+
this._after = void 0;
|
|
63
|
+
this._deprecatedMessages = void 0;
|
|
64
|
+
this._deprecatedHooks = {};
|
|
65
|
+
this.hook = this.hook.bind(this);
|
|
66
|
+
this.callHook = this.callHook.bind(this);
|
|
67
|
+
this.callHookWith = this.callHookWith.bind(this);
|
|
68
|
+
}
|
|
69
|
+
hook(name, function_, options = {}) {
|
|
70
|
+
if (!name || typeof function_ !== "function") {
|
|
71
|
+
return () => {
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
const originalName = name;
|
|
75
|
+
let dep;
|
|
76
|
+
while (this._deprecatedHooks[name]) {
|
|
77
|
+
dep = this._deprecatedHooks[name];
|
|
78
|
+
name = dep.to;
|
|
79
|
+
}
|
|
80
|
+
if (dep && !options.allowDeprecated) {
|
|
81
|
+
let message = dep.message;
|
|
82
|
+
if (!message) {
|
|
83
|
+
message = `${originalName} hook has been deprecated` + (dep.to ? `, please use ${dep.to}` : "");
|
|
84
|
+
}
|
|
85
|
+
if (!this._deprecatedMessages) {
|
|
86
|
+
this._deprecatedMessages = /* @__PURE__ */ new Set();
|
|
87
|
+
}
|
|
88
|
+
if (!this._deprecatedMessages.has(message)) {
|
|
89
|
+
console.warn(message);
|
|
90
|
+
this._deprecatedMessages.add(message);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
if (!function_.name) {
|
|
94
|
+
try {
|
|
95
|
+
Object.defineProperty(function_, "name", {
|
|
96
|
+
get: () => "_" + name.replace(/\W+/g, "_") + "_hook_cb",
|
|
97
|
+
configurable: true
|
|
98
|
+
});
|
|
99
|
+
} catch {
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
this._hooks[name] = this._hooks[name] || [];
|
|
103
|
+
this._hooks[name].push(function_);
|
|
104
|
+
return () => {
|
|
105
|
+
if (function_) {
|
|
106
|
+
this.removeHook(name, function_);
|
|
107
|
+
function_ = void 0;
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
hookOnce(name, function_) {
|
|
112
|
+
let _unreg;
|
|
113
|
+
let _function = (...arguments_) => {
|
|
114
|
+
if (typeof _unreg === "function") {
|
|
115
|
+
_unreg();
|
|
116
|
+
}
|
|
117
|
+
_unreg = void 0;
|
|
118
|
+
_function = void 0;
|
|
119
|
+
return function_(...arguments_);
|
|
120
|
+
};
|
|
121
|
+
_unreg = this.hook(name, _function);
|
|
122
|
+
return _unreg;
|
|
123
|
+
}
|
|
124
|
+
removeHook(name, function_) {
|
|
125
|
+
if (this._hooks[name]) {
|
|
126
|
+
const index = this._hooks[name].indexOf(function_);
|
|
127
|
+
if (index !== -1) {
|
|
128
|
+
this._hooks[name].splice(index, 1);
|
|
129
|
+
}
|
|
130
|
+
if (this._hooks[name].length === 0) {
|
|
131
|
+
delete this._hooks[name];
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
deprecateHook(name, deprecated) {
|
|
136
|
+
this._deprecatedHooks[name] = typeof deprecated === "string" ? { to: deprecated } : deprecated;
|
|
137
|
+
const _hooks = this._hooks[name] || [];
|
|
138
|
+
delete this._hooks[name];
|
|
139
|
+
for (const hook of _hooks) {
|
|
140
|
+
this.hook(name, hook);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
deprecateHooks(deprecatedHooks) {
|
|
144
|
+
Object.assign(this._deprecatedHooks, deprecatedHooks);
|
|
145
|
+
for (const name in deprecatedHooks) {
|
|
146
|
+
this.deprecateHook(name, deprecatedHooks[name]);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
addHooks(configHooks) {
|
|
150
|
+
const hooks = flatHooks(configHooks);
|
|
151
|
+
const removeFns = Object.keys(hooks).map(
|
|
152
|
+
(key) => this.hook(key, hooks[key])
|
|
153
|
+
);
|
|
154
|
+
return () => {
|
|
155
|
+
for (const unreg of removeFns.splice(0, removeFns.length)) {
|
|
156
|
+
unreg();
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
removeHooks(configHooks) {
|
|
161
|
+
const hooks = flatHooks(configHooks);
|
|
162
|
+
for (const key in hooks) {
|
|
163
|
+
this.removeHook(key, hooks[key]);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
removeAllHooks() {
|
|
167
|
+
for (const key in this._hooks) {
|
|
168
|
+
delete this._hooks[key];
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
callHook(name, ...arguments_) {
|
|
172
|
+
arguments_.unshift(name);
|
|
173
|
+
return this.callHookWith(serialTaskCaller, name, ...arguments_);
|
|
174
|
+
}
|
|
175
|
+
callHookParallel(name, ...arguments_) {
|
|
176
|
+
arguments_.unshift(name);
|
|
177
|
+
return this.callHookWith(parallelTaskCaller, name, ...arguments_);
|
|
178
|
+
}
|
|
179
|
+
callHookWith(caller, name, ...arguments_) {
|
|
180
|
+
const event = this._before || this._after ? { name, args: arguments_, context: {} } : void 0;
|
|
181
|
+
if (this._before) {
|
|
182
|
+
callEachWith(this._before, event);
|
|
183
|
+
}
|
|
184
|
+
const result = caller(
|
|
185
|
+
name in this._hooks ? [...this._hooks[name]] : [],
|
|
186
|
+
arguments_
|
|
187
|
+
);
|
|
188
|
+
if (result instanceof Promise) {
|
|
189
|
+
return result.finally(() => {
|
|
190
|
+
if (this._after && event) {
|
|
191
|
+
callEachWith(this._after, event);
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
if (this._after && event) {
|
|
196
|
+
callEachWith(this._after, event);
|
|
197
|
+
}
|
|
198
|
+
return result;
|
|
199
|
+
}
|
|
200
|
+
beforeEach(function_) {
|
|
201
|
+
this._before = this._before || [];
|
|
202
|
+
this._before.push(function_);
|
|
203
|
+
return () => {
|
|
204
|
+
if (this._before !== void 0) {
|
|
205
|
+
const index = this._before.indexOf(function_);
|
|
206
|
+
if (index !== -1) {
|
|
207
|
+
this._before.splice(index, 1);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
afterEach(function_) {
|
|
213
|
+
this._after = this._after || [];
|
|
214
|
+
this._after.push(function_);
|
|
215
|
+
return () => {
|
|
216
|
+
if (this._after !== void 0) {
|
|
217
|
+
const index = this._after.indexOf(function_);
|
|
218
|
+
if (index !== -1) {
|
|
219
|
+
this._after.splice(index, 1);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
function createHooks() {
|
|
226
|
+
return new Hookable();
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
if (!globalThis.$fetch) {
|
|
230
|
+
globalThis.$fetch = $fetch$1.create({
|
|
231
|
+
baseURL: baseURL()
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
if (!("global" in globalThis)) {
|
|
235
|
+
globalThis.global = globalThis;
|
|
236
|
+
}
|
|
237
|
+
const appLayoutTransition = false;
|
|
238
|
+
const nuxtLinkDefaults = { "componentName": "NuxtLink" };
|
|
239
|
+
const asyncDataDefaults = { "deep": false };
|
|
240
|
+
const appId = "nuxt-app";
|
|
241
|
+
function getNuxtAppCtx(id = appId) {
|
|
242
|
+
return getContext(id, {
|
|
243
|
+
asyncContext: false
|
|
244
|
+
});
|
|
245
|
+
}
|
|
246
|
+
const NuxtPluginIndicator = "__nuxt_plugin";
|
|
247
|
+
function createNuxtApp(options) {
|
|
248
|
+
let hydratingCount = 0;
|
|
249
|
+
const nuxtApp = {
|
|
250
|
+
_id: options.id || appId || "nuxt-app",
|
|
251
|
+
_scope: effectScope(),
|
|
252
|
+
provide: void 0,
|
|
253
|
+
versions: {
|
|
254
|
+
get nuxt() {
|
|
255
|
+
return "4.3.1";
|
|
256
|
+
},
|
|
257
|
+
get vue() {
|
|
258
|
+
return nuxtApp.vueApp.version;
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
payload: shallowReactive({
|
|
262
|
+
...options.ssrContext?.payload || {},
|
|
263
|
+
data: shallowReactive({}),
|
|
264
|
+
state: reactive({}),
|
|
265
|
+
once: /* @__PURE__ */ new Set(),
|
|
266
|
+
_errors: shallowReactive({})
|
|
267
|
+
}),
|
|
268
|
+
static: {
|
|
269
|
+
data: {}
|
|
270
|
+
},
|
|
271
|
+
runWithContext(fn) {
|
|
272
|
+
if (nuxtApp._scope.active && !getCurrentScope()) {
|
|
273
|
+
return nuxtApp._scope.run(() => callWithNuxt(nuxtApp, fn));
|
|
274
|
+
}
|
|
275
|
+
return callWithNuxt(nuxtApp, fn);
|
|
276
|
+
},
|
|
277
|
+
isHydrating: false,
|
|
278
|
+
deferHydration() {
|
|
279
|
+
if (!nuxtApp.isHydrating) {
|
|
280
|
+
return () => {
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
hydratingCount++;
|
|
284
|
+
let called = false;
|
|
285
|
+
return () => {
|
|
286
|
+
if (called) {
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
289
|
+
called = true;
|
|
290
|
+
hydratingCount--;
|
|
291
|
+
if (hydratingCount === 0) {
|
|
292
|
+
nuxtApp.isHydrating = false;
|
|
293
|
+
return nuxtApp.callHook("app:suspense:resolve");
|
|
294
|
+
}
|
|
295
|
+
};
|
|
296
|
+
},
|
|
297
|
+
_asyncDataPromises: {},
|
|
298
|
+
_asyncData: shallowReactive({}),
|
|
299
|
+
_payloadRevivers: {},
|
|
300
|
+
...options
|
|
301
|
+
};
|
|
302
|
+
{
|
|
303
|
+
nuxtApp.payload.serverRendered = true;
|
|
304
|
+
}
|
|
305
|
+
if (nuxtApp.ssrContext) {
|
|
306
|
+
nuxtApp.payload.path = nuxtApp.ssrContext.url;
|
|
307
|
+
nuxtApp.ssrContext.nuxt = nuxtApp;
|
|
308
|
+
nuxtApp.ssrContext.payload = nuxtApp.payload;
|
|
309
|
+
nuxtApp.ssrContext.config = {
|
|
310
|
+
public: nuxtApp.ssrContext.runtimeConfig.public,
|
|
311
|
+
app: nuxtApp.ssrContext.runtimeConfig.app
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
nuxtApp.hooks = createHooks();
|
|
315
|
+
nuxtApp.hook = nuxtApp.hooks.hook;
|
|
316
|
+
{
|
|
317
|
+
const contextCaller = async function(hooks, args) {
|
|
318
|
+
for (const hook of hooks) {
|
|
319
|
+
await nuxtApp.runWithContext(() => hook(...args));
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
nuxtApp.hooks.callHook = (name, ...args) => nuxtApp.hooks.callHookWith(contextCaller, name, ...args);
|
|
323
|
+
}
|
|
324
|
+
nuxtApp.callHook = nuxtApp.hooks.callHook;
|
|
325
|
+
nuxtApp.provide = (name, value) => {
|
|
326
|
+
const $name = "$" + name;
|
|
327
|
+
defineGetter(nuxtApp, $name, value);
|
|
328
|
+
defineGetter(nuxtApp.vueApp.config.globalProperties, $name, value);
|
|
329
|
+
};
|
|
330
|
+
defineGetter(nuxtApp.vueApp, "$nuxt", nuxtApp);
|
|
331
|
+
defineGetter(nuxtApp.vueApp.config.globalProperties, "$nuxt", nuxtApp);
|
|
332
|
+
const runtimeConfig = options.ssrContext.runtimeConfig;
|
|
333
|
+
nuxtApp.provide("config", runtimeConfig);
|
|
334
|
+
return nuxtApp;
|
|
335
|
+
}
|
|
336
|
+
function registerPluginHooks(nuxtApp, plugin2) {
|
|
337
|
+
if (plugin2.hooks) {
|
|
338
|
+
nuxtApp.hooks.addHooks(plugin2.hooks);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
async function applyPlugin(nuxtApp, plugin2) {
|
|
342
|
+
if (typeof plugin2 === "function") {
|
|
343
|
+
const { provide: provide2 } = await nuxtApp.runWithContext(() => plugin2(nuxtApp)) || {};
|
|
344
|
+
if (provide2 && typeof provide2 === "object") {
|
|
345
|
+
for (const key in provide2) {
|
|
346
|
+
nuxtApp.provide(key, provide2[key]);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
async function applyPlugins(nuxtApp, plugins2) {
|
|
352
|
+
const resolvedPlugins = /* @__PURE__ */ new Set();
|
|
353
|
+
const unresolvedPlugins = [];
|
|
354
|
+
const parallels = [];
|
|
355
|
+
let error = void 0;
|
|
356
|
+
let promiseDepth = 0;
|
|
357
|
+
async function executePlugin(plugin2) {
|
|
358
|
+
const unresolvedPluginsForThisPlugin = plugin2.dependsOn?.filter((name) => plugins2.some((p) => p._name === name) && !resolvedPlugins.has(name)) ?? [];
|
|
359
|
+
if (unresolvedPluginsForThisPlugin.length > 0) {
|
|
360
|
+
unresolvedPlugins.push([new Set(unresolvedPluginsForThisPlugin), plugin2]);
|
|
361
|
+
} else {
|
|
362
|
+
const promise = applyPlugin(nuxtApp, plugin2).then(async () => {
|
|
363
|
+
if (plugin2._name) {
|
|
364
|
+
resolvedPlugins.add(plugin2._name);
|
|
365
|
+
await Promise.all(unresolvedPlugins.map(async ([dependsOn, unexecutedPlugin]) => {
|
|
366
|
+
if (dependsOn.has(plugin2._name)) {
|
|
367
|
+
dependsOn.delete(plugin2._name);
|
|
368
|
+
if (dependsOn.size === 0) {
|
|
369
|
+
promiseDepth++;
|
|
370
|
+
await executePlugin(unexecutedPlugin);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}));
|
|
374
|
+
}
|
|
375
|
+
}).catch((e) => {
|
|
376
|
+
if (!plugin2.parallel && !nuxtApp.payload.error) {
|
|
377
|
+
throw e;
|
|
378
|
+
}
|
|
379
|
+
error ||= e;
|
|
380
|
+
});
|
|
381
|
+
if (plugin2.parallel) {
|
|
382
|
+
parallels.push(promise);
|
|
383
|
+
} else {
|
|
384
|
+
await promise;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
for (const plugin2 of plugins2) {
|
|
389
|
+
if (nuxtApp.ssrContext?.islandContext && plugin2.env?.islands === false) {
|
|
390
|
+
continue;
|
|
391
|
+
}
|
|
392
|
+
registerPluginHooks(nuxtApp, plugin2);
|
|
393
|
+
}
|
|
394
|
+
for (const plugin2 of plugins2) {
|
|
395
|
+
if (nuxtApp.ssrContext?.islandContext && plugin2.env?.islands === false) {
|
|
396
|
+
continue;
|
|
397
|
+
}
|
|
398
|
+
await executePlugin(plugin2);
|
|
399
|
+
}
|
|
400
|
+
await Promise.all(parallels);
|
|
401
|
+
if (promiseDepth) {
|
|
402
|
+
for (let i = 0; i < promiseDepth; i++) {
|
|
403
|
+
await Promise.all(parallels);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
if (error) {
|
|
407
|
+
throw nuxtApp.payload.error || error;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
// @__NO_SIDE_EFFECTS__
|
|
411
|
+
function defineNuxtPlugin(plugin2) {
|
|
412
|
+
if (typeof plugin2 === "function") {
|
|
413
|
+
return plugin2;
|
|
414
|
+
}
|
|
415
|
+
const _name = plugin2._name || plugin2.name;
|
|
416
|
+
delete plugin2.name;
|
|
417
|
+
return Object.assign(plugin2.setup || (() => {
|
|
418
|
+
}), plugin2, { [NuxtPluginIndicator]: true, _name });
|
|
419
|
+
}
|
|
420
|
+
const definePayloadPlugin = defineNuxtPlugin;
|
|
421
|
+
function callWithNuxt(nuxt, setup, args) {
|
|
422
|
+
const fn = () => setup();
|
|
423
|
+
const nuxtAppCtx = getNuxtAppCtx(nuxt._id);
|
|
424
|
+
{
|
|
425
|
+
return nuxt.vueApp.runWithContext(() => nuxtAppCtx.callAsync(nuxt, fn));
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
function tryUseNuxtApp(id) {
|
|
429
|
+
let nuxtAppInstance;
|
|
430
|
+
if (hasInjectionContext()) {
|
|
431
|
+
nuxtAppInstance = getCurrentInstance()?.appContext.app.$nuxt;
|
|
432
|
+
}
|
|
433
|
+
nuxtAppInstance ||= getNuxtAppCtx(id).tryUse();
|
|
434
|
+
return nuxtAppInstance || null;
|
|
435
|
+
}
|
|
436
|
+
function useNuxtApp(id) {
|
|
437
|
+
const nuxtAppInstance = tryUseNuxtApp(id);
|
|
438
|
+
if (!nuxtAppInstance) {
|
|
439
|
+
{
|
|
440
|
+
throw new Error("[nuxt] instance unavailable");
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
return nuxtAppInstance;
|
|
444
|
+
}
|
|
445
|
+
// @__NO_SIDE_EFFECTS__
|
|
446
|
+
function useRuntimeConfig(_event) {
|
|
447
|
+
return useNuxtApp().$config;
|
|
448
|
+
}
|
|
449
|
+
function defineGetter(obj, key, val) {
|
|
450
|
+
Object.defineProperty(obj, key, { get: () => val });
|
|
451
|
+
}
|
|
452
|
+
const LayoutMetaSymbol = /* @__PURE__ */ Symbol("layout-meta");
|
|
453
|
+
const PageRouteSymbol = /* @__PURE__ */ Symbol("route");
|
|
454
|
+
globalThis._importMeta_.url.replace(/\/app\/.*$/, "/");
|
|
455
|
+
const useRouter = () => {
|
|
456
|
+
return useNuxtApp()?.$router;
|
|
457
|
+
};
|
|
458
|
+
const useRoute = () => {
|
|
459
|
+
if (hasInjectionContext()) {
|
|
460
|
+
return inject(PageRouteSymbol, useNuxtApp()._route);
|
|
461
|
+
}
|
|
462
|
+
return useNuxtApp()._route;
|
|
463
|
+
};
|
|
464
|
+
// @__NO_SIDE_EFFECTS__
|
|
465
|
+
function defineNuxtRouteMiddleware(middleware) {
|
|
466
|
+
return middleware;
|
|
467
|
+
}
|
|
468
|
+
const isProcessingMiddleware = () => {
|
|
469
|
+
try {
|
|
470
|
+
if (useNuxtApp()._processingMiddleware) {
|
|
471
|
+
return true;
|
|
472
|
+
}
|
|
473
|
+
} catch {
|
|
474
|
+
return false;
|
|
475
|
+
}
|
|
476
|
+
return false;
|
|
477
|
+
};
|
|
478
|
+
const URL_QUOTE_RE = /"/g;
|
|
479
|
+
const navigateTo = (to, options) => {
|
|
480
|
+
to ||= "/";
|
|
481
|
+
const toPath = typeof to === "string" ? to : "path" in to ? resolveRouteObject(to) : useRouter().resolve(to).href;
|
|
482
|
+
const isExternalHost = hasProtocol(toPath, { acceptRelative: true });
|
|
483
|
+
const isExternal = options?.external || isExternalHost;
|
|
484
|
+
if (isExternal) {
|
|
485
|
+
if (!options?.external) {
|
|
486
|
+
throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");
|
|
487
|
+
}
|
|
488
|
+
const { protocol } = new URL(toPath, "http://localhost");
|
|
489
|
+
if (protocol && isScriptProtocol(protocol)) {
|
|
490
|
+
throw new Error(`Cannot navigate to a URL with '${protocol}' protocol.`);
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
const inMiddleware = isProcessingMiddleware();
|
|
494
|
+
const router = useRouter();
|
|
495
|
+
const nuxtApp = useNuxtApp();
|
|
496
|
+
{
|
|
497
|
+
if (nuxtApp.ssrContext) {
|
|
498
|
+
const fullPath = typeof to === "string" || isExternal ? toPath : router.resolve(to).fullPath || "/";
|
|
499
|
+
const location2 = isExternal ? toPath : joinURL((/* @__PURE__ */ useRuntimeConfig()).app.baseURL, fullPath);
|
|
500
|
+
const redirect = async function(response) {
|
|
501
|
+
await nuxtApp.callHook("app:redirected");
|
|
502
|
+
const encodedLoc = location2.replace(URL_QUOTE_RE, "%22");
|
|
503
|
+
const encodedHeader = encodeURL(location2, isExternalHost);
|
|
504
|
+
nuxtApp.ssrContext["~renderResponse"] = {
|
|
505
|
+
statusCode: sanitizeStatusCode(options?.redirectCode || 302, 302),
|
|
506
|
+
body: `<!DOCTYPE html><html><head><meta http-equiv="refresh" content="0; url=${encodedLoc}"></head></html>`,
|
|
507
|
+
headers: { location: encodedHeader }
|
|
508
|
+
};
|
|
509
|
+
return response;
|
|
510
|
+
};
|
|
511
|
+
if (!isExternal && inMiddleware) {
|
|
512
|
+
router.afterEach((final) => final.fullPath === fullPath ? redirect(false) : void 0);
|
|
513
|
+
return to;
|
|
514
|
+
}
|
|
515
|
+
return redirect(!inMiddleware ? void 0 : (
|
|
516
|
+
/* abort route navigation */
|
|
517
|
+
false
|
|
518
|
+
));
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
if (isExternal) {
|
|
522
|
+
nuxtApp._scope.stop();
|
|
523
|
+
if (options?.replace) {
|
|
524
|
+
(void 0).replace(toPath);
|
|
525
|
+
} else {
|
|
526
|
+
(void 0).href = toPath;
|
|
527
|
+
}
|
|
528
|
+
if (inMiddleware) {
|
|
529
|
+
if (!nuxtApp.isHydrating) {
|
|
530
|
+
return false;
|
|
531
|
+
}
|
|
532
|
+
return new Promise(() => {
|
|
533
|
+
});
|
|
534
|
+
}
|
|
535
|
+
return Promise.resolve();
|
|
536
|
+
}
|
|
537
|
+
const encodedTo = typeof to === "string" ? encodeRoutePath(to) : to;
|
|
538
|
+
return options?.replace ? router.replace(encodedTo) : router.push(encodedTo);
|
|
539
|
+
};
|
|
540
|
+
function resolveRouteObject(to) {
|
|
541
|
+
return withQuery(to.path || "", to.query || {}) + (to.hash || "");
|
|
542
|
+
}
|
|
543
|
+
function encodeURL(location2, isExternalHost = false) {
|
|
544
|
+
const url = new URL(location2, "http://localhost");
|
|
545
|
+
if (!isExternalHost) {
|
|
546
|
+
return url.pathname + url.search + url.hash;
|
|
547
|
+
}
|
|
548
|
+
if (location2.startsWith("//")) {
|
|
549
|
+
return url.toString().replace(url.protocol, "");
|
|
550
|
+
}
|
|
551
|
+
return url.toString();
|
|
552
|
+
}
|
|
553
|
+
function encodeRoutePath(url) {
|
|
554
|
+
const parsed = parseURL(url);
|
|
555
|
+
return encodePath(decodePath(parsed.pathname)) + parsed.search + parsed.hash;
|
|
556
|
+
}
|
|
557
|
+
const NUXT_ERROR_SIGNATURE = "__nuxt_error";
|
|
558
|
+
const useError = /* @__NO_SIDE_EFFECTS__ */ () => toRef(useNuxtApp().payload, "error");
|
|
559
|
+
const showError = (error) => {
|
|
560
|
+
const nuxtError = createError(error);
|
|
561
|
+
try {
|
|
562
|
+
const error2 = /* @__PURE__ */ useError();
|
|
563
|
+
if (false) ;
|
|
564
|
+
error2.value ||= nuxtError;
|
|
565
|
+
} catch {
|
|
566
|
+
throw nuxtError;
|
|
567
|
+
}
|
|
568
|
+
return nuxtError;
|
|
569
|
+
};
|
|
570
|
+
const isNuxtError = (error) => !!error && typeof error === "object" && NUXT_ERROR_SIGNATURE in error;
|
|
571
|
+
const createError = (error) => {
|
|
572
|
+
if (typeof error !== "string" && error.statusText) {
|
|
573
|
+
error.message ??= error.statusText;
|
|
574
|
+
}
|
|
575
|
+
const nuxtError = createError$1(error);
|
|
576
|
+
Object.defineProperty(nuxtError, NUXT_ERROR_SIGNATURE, {
|
|
577
|
+
value: true,
|
|
578
|
+
configurable: false,
|
|
579
|
+
writable: false
|
|
580
|
+
});
|
|
581
|
+
Object.defineProperty(nuxtError, "status", {
|
|
582
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
583
|
+
get: () => nuxtError.statusCode,
|
|
584
|
+
configurable: true
|
|
585
|
+
});
|
|
586
|
+
Object.defineProperty(nuxtError, "statusText", {
|
|
587
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
588
|
+
get: () => nuxtError.statusMessage,
|
|
589
|
+
configurable: true
|
|
590
|
+
});
|
|
591
|
+
return nuxtError;
|
|
592
|
+
};
|
|
593
|
+
function injectHead(nuxtApp) {
|
|
594
|
+
const nuxt = nuxtApp || useNuxtApp();
|
|
595
|
+
return nuxt.ssrContext?.head || nuxt.runWithContext(() => {
|
|
596
|
+
if (hasInjectionContext()) {
|
|
597
|
+
const head = inject(headSymbol);
|
|
598
|
+
if (!head) {
|
|
599
|
+
throw new Error("[nuxt] [unhead] Missing Unhead instance.");
|
|
600
|
+
}
|
|
601
|
+
return head;
|
|
602
|
+
}
|
|
603
|
+
});
|
|
604
|
+
}
|
|
605
|
+
function useHead(input, options = {}) {
|
|
606
|
+
const head = options.head || injectHead(options.nuxt);
|
|
607
|
+
return useHead$1(input, { head, ...options });
|
|
608
|
+
}
|
|
609
|
+
const matcher = (m, p) => {
|
|
610
|
+
return [];
|
|
611
|
+
};
|
|
612
|
+
const _routeRulesMatcher = (path) => defu({}, ...matcher().map((r) => r.data).reverse());
|
|
613
|
+
const routeRulesMatcher$1 = _routeRulesMatcher;
|
|
614
|
+
function getRouteRules(arg) {
|
|
615
|
+
const path = typeof arg === "string" ? arg : arg.path;
|
|
616
|
+
try {
|
|
617
|
+
return routeRulesMatcher$1(path);
|
|
618
|
+
} catch (e) {
|
|
619
|
+
console.error("[nuxt] Error matching route rules.", e);
|
|
620
|
+
return {};
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
function definePayloadReducer(name, reduce) {
|
|
624
|
+
{
|
|
625
|
+
useNuxtApp().ssrContext["~payloadReducers"][name] = reduce;
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
const payloadPlugin = definePayloadPlugin(() => {
|
|
629
|
+
definePayloadReducer(
|
|
630
|
+
"skipHydrate",
|
|
631
|
+
// We need to return something truthy to be treated as a match
|
|
632
|
+
(data) => !shouldHydrate(data) && 1
|
|
633
|
+
);
|
|
634
|
+
});
|
|
635
|
+
const unhead_k2P3m_ZDyjlr2mMYnoDPwavjsDN8hBlk9cFai0bbopU = /* @__PURE__ */ defineNuxtPlugin({
|
|
636
|
+
name: "nuxt:head",
|
|
637
|
+
enforce: "pre",
|
|
638
|
+
setup(nuxtApp) {
|
|
639
|
+
const head = nuxtApp.ssrContext.head;
|
|
640
|
+
nuxtApp.vueApp.use(head);
|
|
641
|
+
}
|
|
642
|
+
});
|
|
643
|
+
function toArray(value) {
|
|
644
|
+
return Array.isArray(value) ? value : [value];
|
|
645
|
+
}
|
|
646
|
+
const __nuxt_page_meta$a = {
|
|
647
|
+
layout: "default"
|
|
648
|
+
};
|
|
649
|
+
const __nuxt_page_meta$9 = {
|
|
650
|
+
layout: "default"
|
|
651
|
+
};
|
|
652
|
+
const __nuxt_page_meta$8 = {
|
|
653
|
+
layout: "default"
|
|
654
|
+
};
|
|
655
|
+
const __nuxt_page_meta$7 = {
|
|
656
|
+
layout: "default"
|
|
657
|
+
};
|
|
658
|
+
const __nuxt_page_meta$6 = {
|
|
659
|
+
layout: "default"
|
|
660
|
+
};
|
|
661
|
+
const __nuxt_page_meta$5 = {
|
|
662
|
+
layout: "default"
|
|
663
|
+
};
|
|
664
|
+
const __nuxt_page_meta$4 = {
|
|
665
|
+
layout: "default"
|
|
666
|
+
};
|
|
667
|
+
const __nuxt_page_meta$3 = {
|
|
668
|
+
layout: "default"
|
|
669
|
+
};
|
|
670
|
+
const __nuxt_page_meta$2 = {
|
|
671
|
+
layout: "default"
|
|
672
|
+
};
|
|
673
|
+
const __nuxt_page_meta$1 = {
|
|
674
|
+
layout: "default"
|
|
675
|
+
};
|
|
676
|
+
const __nuxt_page_meta = {
|
|
677
|
+
layout: "default"
|
|
678
|
+
};
|
|
679
|
+
const _routes = [
|
|
680
|
+
{
|
|
681
|
+
name: "index",
|
|
682
|
+
path: "/",
|
|
683
|
+
component: () => import('./index-C1ntBEWd.mjs')
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
name: "export",
|
|
687
|
+
path: "/export",
|
|
688
|
+
meta: __nuxt_page_meta$a || {},
|
|
689
|
+
component: () => import('./export-BzxFqqfP.mjs')
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
name: "import",
|
|
693
|
+
path: "/import",
|
|
694
|
+
meta: __nuxt_page_meta$9 || {},
|
|
695
|
+
component: () => import('./import-C0kYhRv9.mjs')
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
name: "help-faq",
|
|
699
|
+
path: "/help/faq",
|
|
700
|
+
meta: __nuxt_page_meta$8 || {},
|
|
701
|
+
component: () => import('./faq-DKch73dS.mjs')
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
name: "help",
|
|
705
|
+
path: "/help",
|
|
706
|
+
component: () => import('./index-DgKa1cy0.mjs')
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
name: "test-router",
|
|
710
|
+
path: "/test-router",
|
|
711
|
+
meta: __nuxt_page_meta$7 || {},
|
|
712
|
+
component: () => import('./test-router-BYM6Cpst.mjs')
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
name: "examples-new",
|
|
716
|
+
path: "/examples/new",
|
|
717
|
+
meta: __nuxt_page_meta$6 || {},
|
|
718
|
+
component: () => import('./new-b3338aLF.mjs')
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
name: "help-axolotl",
|
|
722
|
+
path: "/help/axolotl",
|
|
723
|
+
meta: __nuxt_page_meta$5 || {},
|
|
724
|
+
component: () => import('./axolotl-C-EXGgM8.mjs')
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
name: "examples-id",
|
|
728
|
+
path: "/examples/:id()",
|
|
729
|
+
meta: __nuxt_page_meta$4 || {},
|
|
730
|
+
component: () => import('./_id_-BUSGcL-H.mjs')
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
name: "help-examples",
|
|
734
|
+
path: "/help/examples",
|
|
735
|
+
component: () => import('./examples-BHK8MDrs.mjs')
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
name: "help-glossary",
|
|
739
|
+
path: "/help/glossary",
|
|
740
|
+
component: () => import('./glossary-CxSGCJoH.mjs')
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
name: "examples",
|
|
744
|
+
path: "/examples",
|
|
745
|
+
meta: __nuxt_page_meta$3 || {},
|
|
746
|
+
component: () => import('./index-D3CxihcX.mjs')
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
name: "sample-datasets",
|
|
750
|
+
path: "/sample-datasets",
|
|
751
|
+
component: () => import('./sample-datasets-CVLWMQUA.mjs')
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
name: "help-field-guide",
|
|
755
|
+
path: "/help/field-guide",
|
|
756
|
+
component: () => import('./field-guide-qbukT8F0.mjs')
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
name: "help-huggingface",
|
|
760
|
+
path: "/help/huggingface",
|
|
761
|
+
meta: __nuxt_page_meta$2 || {},
|
|
762
|
+
component: () => import('./huggingface-TSmyUzZU.mjs')
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
name: "help-llm-training",
|
|
766
|
+
path: "/help/llm-training",
|
|
767
|
+
meta: __nuxt_page_meta$1 || {},
|
|
768
|
+
component: () => import('./llm-training-DIqc0eiM.mjs')
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
name: "help-best-practices",
|
|
772
|
+
path: "/help/best-practices",
|
|
773
|
+
component: () => import('./best-practices-DsadorHb.mjs')
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
name: "help-first-training",
|
|
777
|
+
path: "/help/first-training",
|
|
778
|
+
meta: __nuxt_page_meta || {},
|
|
779
|
+
component: () => import('./first-training-BbEOBcEW.mjs')
|
|
780
|
+
}
|
|
781
|
+
];
|
|
782
|
+
const _wrapInTransition = (props, children) => {
|
|
783
|
+
return { default: () => children.default?.() };
|
|
784
|
+
};
|
|
785
|
+
const ROUTE_KEY_PARENTHESES_RE = /(:\w+)\([^)]+\)/g;
|
|
786
|
+
const ROUTE_KEY_SYMBOLS_RE = /(:\w+)[?+*]/g;
|
|
787
|
+
const ROUTE_KEY_NORMAL_RE = /:\w+/g;
|
|
788
|
+
function generateRouteKey(route) {
|
|
789
|
+
const source = route?.meta.key ?? route.path.replace(ROUTE_KEY_PARENTHESES_RE, "$1").replace(ROUTE_KEY_SYMBOLS_RE, "$1").replace(ROUTE_KEY_NORMAL_RE, (r) => route.params[r.slice(1)]?.toString() || "");
|
|
790
|
+
return typeof source === "function" ? source(route) : source;
|
|
791
|
+
}
|
|
792
|
+
function isChangingPage(to, from) {
|
|
793
|
+
if (to === from || from === START_LOCATION) {
|
|
794
|
+
return false;
|
|
795
|
+
}
|
|
796
|
+
if (generateRouteKey(to) !== generateRouteKey(from)) {
|
|
797
|
+
return true;
|
|
798
|
+
}
|
|
799
|
+
const areComponentsSame = to.matched.every(
|
|
800
|
+
(comp, index) => comp.components && comp.components.default === from.matched[index]?.components?.default
|
|
801
|
+
);
|
|
802
|
+
if (areComponentsSame) {
|
|
803
|
+
return false;
|
|
804
|
+
}
|
|
805
|
+
return true;
|
|
806
|
+
}
|
|
807
|
+
const routerOptions0 = {
|
|
808
|
+
scrollBehavior(to, from, savedPosition) {
|
|
809
|
+
const nuxtApp = useNuxtApp();
|
|
810
|
+
const hashScrollBehaviour = useRouter().options?.scrollBehaviorType ?? "auto";
|
|
811
|
+
if (to.path.replace(/\/$/, "") === from.path.replace(/\/$/, "")) {
|
|
812
|
+
if (from.hash && !to.hash) {
|
|
813
|
+
return { left: 0, top: 0 };
|
|
814
|
+
}
|
|
815
|
+
if (to.hash) {
|
|
816
|
+
return { el: to.hash, top: _getHashElementScrollMarginTop(to.hash), behavior: hashScrollBehaviour };
|
|
817
|
+
}
|
|
818
|
+
return false;
|
|
819
|
+
}
|
|
820
|
+
const routeAllowsScrollToTop = typeof to.meta.scrollToTop === "function" ? to.meta.scrollToTop(to, from) : to.meta.scrollToTop;
|
|
821
|
+
if (routeAllowsScrollToTop === false) {
|
|
822
|
+
return false;
|
|
823
|
+
}
|
|
824
|
+
const hookToWait = nuxtApp._runningTransition ? "page:transition:finish" : "page:loading:end";
|
|
825
|
+
return new Promise((resolve) => {
|
|
826
|
+
if (from === START_LOCATION) {
|
|
827
|
+
resolve(_calculatePosition(to, from, savedPosition, hashScrollBehaviour));
|
|
828
|
+
return;
|
|
829
|
+
}
|
|
830
|
+
nuxtApp.hooks.hookOnce(hookToWait, () => {
|
|
831
|
+
requestAnimationFrame(() => resolve(_calculatePosition(to, from, savedPosition, hashScrollBehaviour)));
|
|
832
|
+
});
|
|
833
|
+
});
|
|
834
|
+
}
|
|
835
|
+
};
|
|
836
|
+
function _getHashElementScrollMarginTop(selector) {
|
|
837
|
+
try {
|
|
838
|
+
const elem = (void 0).querySelector(selector);
|
|
839
|
+
if (elem) {
|
|
840
|
+
return (Number.parseFloat(getComputedStyle(elem).scrollMarginTop) || 0) + (Number.parseFloat(getComputedStyle((void 0).documentElement).scrollPaddingTop) || 0);
|
|
841
|
+
}
|
|
842
|
+
} catch {
|
|
843
|
+
}
|
|
844
|
+
return 0;
|
|
845
|
+
}
|
|
846
|
+
function _calculatePosition(to, from, savedPosition, defaultHashScrollBehaviour) {
|
|
847
|
+
if (savedPosition) {
|
|
848
|
+
return savedPosition;
|
|
849
|
+
}
|
|
850
|
+
const isPageNavigation = isChangingPage(to, from);
|
|
851
|
+
if (to.hash) {
|
|
852
|
+
return {
|
|
853
|
+
el: to.hash,
|
|
854
|
+
top: _getHashElementScrollMarginTop(to.hash),
|
|
855
|
+
behavior: isPageNavigation ? defaultHashScrollBehaviour : "instant"
|
|
856
|
+
};
|
|
857
|
+
}
|
|
858
|
+
return {
|
|
859
|
+
left: 0,
|
|
860
|
+
top: 0
|
|
861
|
+
};
|
|
862
|
+
}
|
|
863
|
+
const configRouterOptions = {
|
|
864
|
+
linkActiveClass: "active",
|
|
865
|
+
linkExactActiveClass: "exact-active",
|
|
866
|
+
hashMode: false,
|
|
867
|
+
scrollBehaviorType: "auto"
|
|
868
|
+
};
|
|
869
|
+
const routerOptions = {
|
|
870
|
+
...configRouterOptions,
|
|
871
|
+
...routerOptions0
|
|
872
|
+
};
|
|
873
|
+
const validate = /* @__PURE__ */ defineNuxtRouteMiddleware(async (to, from) => {
|
|
874
|
+
let __temp, __restore;
|
|
875
|
+
if (!to.meta?.validate) {
|
|
876
|
+
return;
|
|
877
|
+
}
|
|
878
|
+
const result = ([__temp, __restore] = executeAsync(() => Promise.resolve(to.meta.validate(to))), __temp = await __temp, __restore(), __temp);
|
|
879
|
+
if (result === true) {
|
|
880
|
+
return;
|
|
881
|
+
}
|
|
882
|
+
const error = createError({
|
|
883
|
+
fatal: false,
|
|
884
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
885
|
+
status: result && (result.status || result.statusCode) || 404,
|
|
886
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
887
|
+
statusText: result && (result.statusText || result.statusMessage) || `Page Not Found: ${to.fullPath}`,
|
|
888
|
+
data: {
|
|
889
|
+
path: to.fullPath
|
|
890
|
+
}
|
|
891
|
+
});
|
|
892
|
+
return error;
|
|
893
|
+
});
|
|
894
|
+
const manifest_45route_45rule = /* @__PURE__ */ defineNuxtRouteMiddleware((to) => {
|
|
895
|
+
{
|
|
896
|
+
return;
|
|
897
|
+
}
|
|
898
|
+
});
|
|
899
|
+
const globalMiddleware = [
|
|
900
|
+
validate,
|
|
901
|
+
manifest_45route_45rule
|
|
902
|
+
];
|
|
903
|
+
const namedMiddleware = {};
|
|
904
|
+
const plugin$1 = /* @__PURE__ */ defineNuxtPlugin({
|
|
905
|
+
name: "nuxt:router",
|
|
906
|
+
enforce: "pre",
|
|
907
|
+
async setup(nuxtApp) {
|
|
908
|
+
let __temp, __restore;
|
|
909
|
+
let routerBase = (/* @__PURE__ */ useRuntimeConfig()).app.baseURL;
|
|
910
|
+
const history = routerOptions.history?.(routerBase) ?? createMemoryHistory(routerBase);
|
|
911
|
+
const routes = routerOptions.routes ? ([__temp, __restore] = executeAsync(() => routerOptions.routes(_routes)), __temp = await __temp, __restore(), __temp) ?? _routes : _routes;
|
|
912
|
+
let startPosition;
|
|
913
|
+
const router = createRouter({
|
|
914
|
+
...routerOptions,
|
|
915
|
+
scrollBehavior: (to, from, savedPosition) => {
|
|
916
|
+
if (from === START_LOCATION) {
|
|
917
|
+
startPosition = savedPosition;
|
|
918
|
+
return;
|
|
919
|
+
}
|
|
920
|
+
if (routerOptions.scrollBehavior) {
|
|
921
|
+
router.options.scrollBehavior = routerOptions.scrollBehavior;
|
|
922
|
+
if ("scrollRestoration" in (void 0).history) {
|
|
923
|
+
const unsub = router.beforeEach(() => {
|
|
924
|
+
unsub();
|
|
925
|
+
(void 0).history.scrollRestoration = "manual";
|
|
926
|
+
});
|
|
927
|
+
}
|
|
928
|
+
return routerOptions.scrollBehavior(to, START_LOCATION, startPosition || savedPosition);
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
history,
|
|
932
|
+
routes
|
|
933
|
+
});
|
|
934
|
+
nuxtApp.vueApp.use(router);
|
|
935
|
+
const previousRoute = shallowRef(router.currentRoute.value);
|
|
936
|
+
router.afterEach((_to, from) => {
|
|
937
|
+
previousRoute.value = from;
|
|
938
|
+
});
|
|
939
|
+
Object.defineProperty(nuxtApp.vueApp.config.globalProperties, "previousRoute", {
|
|
940
|
+
get: () => previousRoute.value
|
|
941
|
+
});
|
|
942
|
+
const initialURL = nuxtApp.ssrContext.url;
|
|
943
|
+
const _route = shallowRef(router.currentRoute.value);
|
|
944
|
+
const syncCurrentRoute = () => {
|
|
945
|
+
_route.value = router.currentRoute.value;
|
|
946
|
+
};
|
|
947
|
+
router.afterEach((to, from) => {
|
|
948
|
+
if (to.matched.at(-1)?.components?.default === from.matched.at(-1)?.components?.default) {
|
|
949
|
+
syncCurrentRoute();
|
|
950
|
+
}
|
|
951
|
+
});
|
|
952
|
+
const route = { sync: syncCurrentRoute };
|
|
953
|
+
for (const key in _route.value) {
|
|
954
|
+
Object.defineProperty(route, key, {
|
|
955
|
+
get: () => _route.value[key],
|
|
956
|
+
enumerable: true
|
|
957
|
+
});
|
|
958
|
+
}
|
|
959
|
+
nuxtApp._route = shallowReactive(route);
|
|
960
|
+
nuxtApp._middleware ||= {
|
|
961
|
+
global: [],
|
|
962
|
+
named: {}
|
|
963
|
+
};
|
|
964
|
+
const error = /* @__PURE__ */ useError();
|
|
965
|
+
if (!nuxtApp.ssrContext?.islandContext) {
|
|
966
|
+
router.afterEach(async (to, _from, failure) => {
|
|
967
|
+
delete nuxtApp._processingMiddleware;
|
|
968
|
+
if (failure) {
|
|
969
|
+
await nuxtApp.callHook("page:loading:end");
|
|
970
|
+
}
|
|
971
|
+
if (failure?.type === 4) {
|
|
972
|
+
return;
|
|
973
|
+
}
|
|
974
|
+
if (to.redirectedFrom && to.fullPath !== initialURL) {
|
|
975
|
+
await nuxtApp.runWithContext(() => navigateTo(to.fullPath || "/"));
|
|
976
|
+
}
|
|
977
|
+
});
|
|
978
|
+
}
|
|
979
|
+
try {
|
|
980
|
+
if (true) {
|
|
981
|
+
;
|
|
982
|
+
[__temp, __restore] = executeAsync(() => router.push(initialURL)), await __temp, __restore();
|
|
983
|
+
;
|
|
984
|
+
}
|
|
985
|
+
;
|
|
986
|
+
[__temp, __restore] = executeAsync(() => router.isReady()), await __temp, __restore();
|
|
987
|
+
;
|
|
988
|
+
} catch (error2) {
|
|
989
|
+
[__temp, __restore] = executeAsync(() => nuxtApp.runWithContext(() => showError(error2))), await __temp, __restore();
|
|
990
|
+
}
|
|
991
|
+
const resolvedInitialRoute = router.currentRoute.value;
|
|
992
|
+
syncCurrentRoute();
|
|
993
|
+
if (nuxtApp.ssrContext?.islandContext) {
|
|
994
|
+
return { provide: { router } };
|
|
995
|
+
}
|
|
996
|
+
const initialLayout = nuxtApp.payload.state._layout;
|
|
997
|
+
router.beforeEach(async (to, from) => {
|
|
998
|
+
await nuxtApp.callHook("page:loading:start");
|
|
999
|
+
to.meta = reactive(to.meta);
|
|
1000
|
+
if (nuxtApp.isHydrating && initialLayout && !isReadonly(to.meta.layout)) {
|
|
1001
|
+
to.meta.layout = initialLayout;
|
|
1002
|
+
}
|
|
1003
|
+
nuxtApp._processingMiddleware = true;
|
|
1004
|
+
if (!nuxtApp.ssrContext?.islandContext) {
|
|
1005
|
+
const middlewareEntries = /* @__PURE__ */ new Set([...globalMiddleware, ...nuxtApp._middleware.global]);
|
|
1006
|
+
for (const component of to.matched) {
|
|
1007
|
+
const componentMiddleware = component.meta.middleware;
|
|
1008
|
+
if (!componentMiddleware) {
|
|
1009
|
+
continue;
|
|
1010
|
+
}
|
|
1011
|
+
for (const entry2 of toArray(componentMiddleware)) {
|
|
1012
|
+
middlewareEntries.add(entry2);
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
const routeRules = getRouteRules({ path: to.path });
|
|
1016
|
+
if (routeRules.appMiddleware) {
|
|
1017
|
+
for (const key in routeRules.appMiddleware) {
|
|
1018
|
+
if (routeRules.appMiddleware[key]) {
|
|
1019
|
+
middlewareEntries.add(key);
|
|
1020
|
+
} else {
|
|
1021
|
+
middlewareEntries.delete(key);
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
for (const entry2 of middlewareEntries) {
|
|
1026
|
+
const middleware = typeof entry2 === "string" ? nuxtApp._middleware.named[entry2] || await namedMiddleware[entry2]?.().then((r) => r.default || r) : entry2;
|
|
1027
|
+
if (!middleware) {
|
|
1028
|
+
throw new Error(`Unknown route middleware: '${entry2}'.`);
|
|
1029
|
+
}
|
|
1030
|
+
try {
|
|
1031
|
+
if (false) ;
|
|
1032
|
+
const result = await nuxtApp.runWithContext(() => middleware(to, from));
|
|
1033
|
+
if (true) {
|
|
1034
|
+
if (result === false || result instanceof Error) {
|
|
1035
|
+
const error2 = result || createError({
|
|
1036
|
+
status: 404,
|
|
1037
|
+
statusText: `Page Not Found: ${initialURL}`
|
|
1038
|
+
});
|
|
1039
|
+
await nuxtApp.runWithContext(() => showError(error2));
|
|
1040
|
+
return false;
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
if (result === true) {
|
|
1044
|
+
continue;
|
|
1045
|
+
}
|
|
1046
|
+
if (result === false) {
|
|
1047
|
+
return result;
|
|
1048
|
+
}
|
|
1049
|
+
if (result) {
|
|
1050
|
+
if (isNuxtError(result) && result.fatal) {
|
|
1051
|
+
await nuxtApp.runWithContext(() => showError(result));
|
|
1052
|
+
}
|
|
1053
|
+
return result;
|
|
1054
|
+
}
|
|
1055
|
+
} catch (err) {
|
|
1056
|
+
const error2 = createError(err);
|
|
1057
|
+
if (error2.fatal) {
|
|
1058
|
+
await nuxtApp.runWithContext(() => showError(error2));
|
|
1059
|
+
}
|
|
1060
|
+
return error2;
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
});
|
|
1065
|
+
router.onError(async () => {
|
|
1066
|
+
delete nuxtApp._processingMiddleware;
|
|
1067
|
+
await nuxtApp.callHook("page:loading:end");
|
|
1068
|
+
});
|
|
1069
|
+
router.afterEach((to) => {
|
|
1070
|
+
if (to.matched.length === 0 && !error.value) {
|
|
1071
|
+
return nuxtApp.runWithContext(() => showError(createError({
|
|
1072
|
+
status: 404,
|
|
1073
|
+
fatal: false,
|
|
1074
|
+
statusText: `Page not found: ${to.fullPath}`,
|
|
1075
|
+
data: {
|
|
1076
|
+
path: to.fullPath
|
|
1077
|
+
}
|
|
1078
|
+
})));
|
|
1079
|
+
}
|
|
1080
|
+
});
|
|
1081
|
+
nuxtApp.hooks.hookOnce("app:created", async () => {
|
|
1082
|
+
try {
|
|
1083
|
+
if ("name" in resolvedInitialRoute) {
|
|
1084
|
+
resolvedInitialRoute.name = void 0;
|
|
1085
|
+
}
|
|
1086
|
+
await router.replace({
|
|
1087
|
+
...resolvedInitialRoute,
|
|
1088
|
+
force: true
|
|
1089
|
+
});
|
|
1090
|
+
router.options.scrollBehavior = routerOptions.scrollBehavior;
|
|
1091
|
+
} catch (error2) {
|
|
1092
|
+
await nuxtApp.runWithContext(() => showError(error2));
|
|
1093
|
+
}
|
|
1094
|
+
});
|
|
1095
|
+
return { provide: { router } };
|
|
1096
|
+
}
|
|
1097
|
+
});
|
|
1098
|
+
const reducers = [
|
|
1099
|
+
["NuxtError", (data) => isNuxtError(data) && data.toJSON()],
|
|
1100
|
+
["EmptyShallowRef", (data) => isRef(data) && isShallow(data) && !data.value && (typeof data.value === "bigint" ? "0n" : JSON.stringify(data.value) || "_")],
|
|
1101
|
+
["EmptyRef", (data) => isRef(data) && !data.value && (typeof data.value === "bigint" ? "0n" : JSON.stringify(data.value) || "_")],
|
|
1102
|
+
["ShallowRef", (data) => isRef(data) && isShallow(data) && data.value],
|
|
1103
|
+
["ShallowReactive", (data) => isReactive(data) && isShallow(data) && toRaw(data)],
|
|
1104
|
+
["Ref", (data) => isRef(data) && data.value],
|
|
1105
|
+
["Reactive", (data) => isReactive(data) && toRaw(data)]
|
|
1106
|
+
];
|
|
1107
|
+
const revive_payload_server_MVtmlZaQpj6ApFmshWfUWl5PehCebzaBf2NuRMiIbms = /* @__PURE__ */ defineNuxtPlugin({
|
|
1108
|
+
name: "nuxt:revive-payload:server",
|
|
1109
|
+
setup() {
|
|
1110
|
+
for (const [reducer, fn] of reducers) {
|
|
1111
|
+
definePayloadReducer(reducer, fn);
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
});
|
|
1115
|
+
defineComponent({
|
|
1116
|
+
name: "ServerPlaceholder",
|
|
1117
|
+
render() {
|
|
1118
|
+
return createElementBlock("div");
|
|
1119
|
+
}
|
|
1120
|
+
});
|
|
1121
|
+
const clientOnlySymbol = /* @__PURE__ */ Symbol.for("nuxt:client-only");
|
|
1122
|
+
defineComponent({
|
|
1123
|
+
name: "ClientOnly",
|
|
1124
|
+
inheritAttrs: false,
|
|
1125
|
+
props: ["fallback", "placeholder", "placeholderTag", "fallbackTag"],
|
|
1126
|
+
...false,
|
|
1127
|
+
setup(props, { slots, attrs }) {
|
|
1128
|
+
const mounted = shallowRef(false);
|
|
1129
|
+
const vm = getCurrentInstance();
|
|
1130
|
+
if (vm) {
|
|
1131
|
+
vm._nuxtClientOnly = true;
|
|
1132
|
+
}
|
|
1133
|
+
provide(clientOnlySymbol, true);
|
|
1134
|
+
return () => {
|
|
1135
|
+
if (mounted.value) {
|
|
1136
|
+
const vnodes = slots.default?.();
|
|
1137
|
+
if (vnodes && vnodes.length === 1) {
|
|
1138
|
+
return [cloneVNode(vnodes[0], attrs)];
|
|
1139
|
+
}
|
|
1140
|
+
return vnodes;
|
|
1141
|
+
}
|
|
1142
|
+
const slot = slots.fallback || slots.placeholder;
|
|
1143
|
+
if (slot) {
|
|
1144
|
+
return h(slot);
|
|
1145
|
+
}
|
|
1146
|
+
const fallbackStr = props.fallback || props.placeholder || "";
|
|
1147
|
+
const fallbackTag = props.fallbackTag || props.placeholderTag || "span";
|
|
1148
|
+
return createElementBlock(fallbackTag, attrs, fallbackStr);
|
|
1149
|
+
};
|
|
1150
|
+
}
|
|
1151
|
+
});
|
|
1152
|
+
const useStateKeyPrefix = "$s";
|
|
1153
|
+
function useState(...args) {
|
|
1154
|
+
const autoKey = typeof args[args.length - 1] === "string" ? args.pop() : void 0;
|
|
1155
|
+
if (typeof args[0] !== "string") {
|
|
1156
|
+
args.unshift(autoKey);
|
|
1157
|
+
}
|
|
1158
|
+
const [_key, init] = args;
|
|
1159
|
+
if (!_key || typeof _key !== "string") {
|
|
1160
|
+
throw new TypeError("[nuxt] [useState] key must be a string: " + _key);
|
|
1161
|
+
}
|
|
1162
|
+
if (init !== void 0 && typeof init !== "function") {
|
|
1163
|
+
throw new Error("[nuxt] [useState] init must be a function: " + init);
|
|
1164
|
+
}
|
|
1165
|
+
const key = useStateKeyPrefix + _key;
|
|
1166
|
+
const nuxtApp = useNuxtApp();
|
|
1167
|
+
const state = toRef(nuxtApp.payload.state, key);
|
|
1168
|
+
if (state.value === void 0 && init) {
|
|
1169
|
+
const initialValue = init();
|
|
1170
|
+
if (isRef(initialValue)) {
|
|
1171
|
+
nuxtApp.payload.state[key] = initialValue;
|
|
1172
|
+
return initialValue;
|
|
1173
|
+
}
|
|
1174
|
+
state.value = initialValue;
|
|
1175
|
+
}
|
|
1176
|
+
return state;
|
|
1177
|
+
}
|
|
1178
|
+
const inlineConfig = {
|
|
1179
|
+
"nuxt": {},
|
|
1180
|
+
"ui": {
|
|
1181
|
+
"colors": {
|
|
1182
|
+
"primary": "green",
|
|
1183
|
+
"secondary": "blue",
|
|
1184
|
+
"success": "green",
|
|
1185
|
+
"info": "blue",
|
|
1186
|
+
"warning": "yellow",
|
|
1187
|
+
"error": "red",
|
|
1188
|
+
"neutral": "slate"
|
|
1189
|
+
},
|
|
1190
|
+
"icons": {
|
|
1191
|
+
"arrowDown": "i-lucide-arrow-down",
|
|
1192
|
+
"arrowLeft": "i-lucide-arrow-left",
|
|
1193
|
+
"arrowRight": "i-lucide-arrow-right",
|
|
1194
|
+
"arrowUp": "i-lucide-arrow-up",
|
|
1195
|
+
"caution": "i-lucide-circle-alert",
|
|
1196
|
+
"check": "i-lucide-check",
|
|
1197
|
+
"chevronDoubleLeft": "i-lucide-chevrons-left",
|
|
1198
|
+
"chevronDoubleRight": "i-lucide-chevrons-right",
|
|
1199
|
+
"chevronDown": "i-lucide-chevron-down",
|
|
1200
|
+
"chevronLeft": "i-lucide-chevron-left",
|
|
1201
|
+
"chevronRight": "i-lucide-chevron-right",
|
|
1202
|
+
"chevronUp": "i-lucide-chevron-up",
|
|
1203
|
+
"close": "i-lucide-x",
|
|
1204
|
+
"copy": "i-lucide-copy",
|
|
1205
|
+
"copyCheck": "i-lucide-copy-check",
|
|
1206
|
+
"dark": "i-lucide-moon",
|
|
1207
|
+
"drag": "i-lucide-grip-vertical",
|
|
1208
|
+
"ellipsis": "i-lucide-ellipsis",
|
|
1209
|
+
"error": "i-lucide-circle-x",
|
|
1210
|
+
"external": "i-lucide-arrow-up-right",
|
|
1211
|
+
"eye": "i-lucide-eye",
|
|
1212
|
+
"eyeOff": "i-lucide-eye-off",
|
|
1213
|
+
"file": "i-lucide-file",
|
|
1214
|
+
"folder": "i-lucide-folder",
|
|
1215
|
+
"folderOpen": "i-lucide-folder-open",
|
|
1216
|
+
"hash": "i-lucide-hash",
|
|
1217
|
+
"info": "i-lucide-info",
|
|
1218
|
+
"light": "i-lucide-sun",
|
|
1219
|
+
"loading": "i-lucide-loader-circle",
|
|
1220
|
+
"menu": "i-lucide-menu",
|
|
1221
|
+
"minus": "i-lucide-minus",
|
|
1222
|
+
"panelClose": "i-lucide-panel-left-close",
|
|
1223
|
+
"panelOpen": "i-lucide-panel-left-open",
|
|
1224
|
+
"plus": "i-lucide-plus",
|
|
1225
|
+
"reload": "i-lucide-rotate-ccw",
|
|
1226
|
+
"search": "i-lucide-search",
|
|
1227
|
+
"stop": "i-lucide-square",
|
|
1228
|
+
"success": "i-lucide-circle-check",
|
|
1229
|
+
"system": "i-lucide-monitor",
|
|
1230
|
+
"tip": "i-lucide-lightbulb",
|
|
1231
|
+
"upload": "i-lucide-upload",
|
|
1232
|
+
"warning": "i-lucide-triangle-alert"
|
|
1233
|
+
},
|
|
1234
|
+
"tv": {
|
|
1235
|
+
"twMergeConfig": {}
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
"icon": {
|
|
1239
|
+
"provider": "server",
|
|
1240
|
+
"class": "",
|
|
1241
|
+
"aliases": {},
|
|
1242
|
+
"iconifyApiEndpoint": "https://api.iconify.design",
|
|
1243
|
+
"localApiEndpoint": "/api/_nuxt_icon",
|
|
1244
|
+
"fallbackToApi": true,
|
|
1245
|
+
"cssSelectorPrefix": "i-",
|
|
1246
|
+
"cssWherePseudo": true,
|
|
1247
|
+
"cssLayer": "base",
|
|
1248
|
+
"mode": "css",
|
|
1249
|
+
"attrs": {
|
|
1250
|
+
"aria-hidden": true
|
|
1251
|
+
},
|
|
1252
|
+
"collections": [
|
|
1253
|
+
"academicons",
|
|
1254
|
+
"akar-icons",
|
|
1255
|
+
"ant-design",
|
|
1256
|
+
"arcticons",
|
|
1257
|
+
"basil",
|
|
1258
|
+
"bi",
|
|
1259
|
+
"bitcoin-icons",
|
|
1260
|
+
"bpmn",
|
|
1261
|
+
"brandico",
|
|
1262
|
+
"bx",
|
|
1263
|
+
"bxl",
|
|
1264
|
+
"bxs",
|
|
1265
|
+
"bytesize",
|
|
1266
|
+
"carbon",
|
|
1267
|
+
"catppuccin",
|
|
1268
|
+
"cbi",
|
|
1269
|
+
"charm",
|
|
1270
|
+
"ci",
|
|
1271
|
+
"cib",
|
|
1272
|
+
"cif",
|
|
1273
|
+
"cil",
|
|
1274
|
+
"circle-flags",
|
|
1275
|
+
"circum",
|
|
1276
|
+
"clarity",
|
|
1277
|
+
"codex",
|
|
1278
|
+
"codicon",
|
|
1279
|
+
"covid",
|
|
1280
|
+
"cryptocurrency",
|
|
1281
|
+
"cryptocurrency-color",
|
|
1282
|
+
"cuida",
|
|
1283
|
+
"dashicons",
|
|
1284
|
+
"devicon",
|
|
1285
|
+
"devicon-plain",
|
|
1286
|
+
"dinkie-icons",
|
|
1287
|
+
"duo-icons",
|
|
1288
|
+
"ei",
|
|
1289
|
+
"el",
|
|
1290
|
+
"emojione",
|
|
1291
|
+
"emojione-monotone",
|
|
1292
|
+
"emojione-v1",
|
|
1293
|
+
"entypo",
|
|
1294
|
+
"entypo-social",
|
|
1295
|
+
"eos-icons",
|
|
1296
|
+
"ep",
|
|
1297
|
+
"et",
|
|
1298
|
+
"eva",
|
|
1299
|
+
"f7",
|
|
1300
|
+
"fa",
|
|
1301
|
+
"fa-brands",
|
|
1302
|
+
"fa-regular",
|
|
1303
|
+
"fa-solid",
|
|
1304
|
+
"fa6-brands",
|
|
1305
|
+
"fa6-regular",
|
|
1306
|
+
"fa6-solid",
|
|
1307
|
+
"fa7-brands",
|
|
1308
|
+
"fa7-regular",
|
|
1309
|
+
"fa7-solid",
|
|
1310
|
+
"fad",
|
|
1311
|
+
"famicons",
|
|
1312
|
+
"fe",
|
|
1313
|
+
"feather",
|
|
1314
|
+
"file-icons",
|
|
1315
|
+
"flag",
|
|
1316
|
+
"flagpack",
|
|
1317
|
+
"flat-color-icons",
|
|
1318
|
+
"flat-ui",
|
|
1319
|
+
"flowbite",
|
|
1320
|
+
"fluent",
|
|
1321
|
+
"fluent-color",
|
|
1322
|
+
"fluent-emoji",
|
|
1323
|
+
"fluent-emoji-flat",
|
|
1324
|
+
"fluent-emoji-high-contrast",
|
|
1325
|
+
"fluent-mdl2",
|
|
1326
|
+
"fontelico",
|
|
1327
|
+
"fontisto",
|
|
1328
|
+
"formkit",
|
|
1329
|
+
"foundation",
|
|
1330
|
+
"fxemoji",
|
|
1331
|
+
"gala",
|
|
1332
|
+
"game-icons",
|
|
1333
|
+
"garden",
|
|
1334
|
+
"geo",
|
|
1335
|
+
"gg",
|
|
1336
|
+
"gis",
|
|
1337
|
+
"gravity-ui",
|
|
1338
|
+
"gridicons",
|
|
1339
|
+
"grommet-icons",
|
|
1340
|
+
"guidance",
|
|
1341
|
+
"healthicons",
|
|
1342
|
+
"heroicons",
|
|
1343
|
+
"heroicons-outline",
|
|
1344
|
+
"heroicons-solid",
|
|
1345
|
+
"hugeicons",
|
|
1346
|
+
"humbleicons",
|
|
1347
|
+
"ic",
|
|
1348
|
+
"icomoon-free",
|
|
1349
|
+
"icon-park",
|
|
1350
|
+
"icon-park-outline",
|
|
1351
|
+
"icon-park-solid",
|
|
1352
|
+
"icon-park-twotone",
|
|
1353
|
+
"iconamoon",
|
|
1354
|
+
"iconoir",
|
|
1355
|
+
"icons8",
|
|
1356
|
+
"il",
|
|
1357
|
+
"ion",
|
|
1358
|
+
"iwwa",
|
|
1359
|
+
"ix",
|
|
1360
|
+
"jam",
|
|
1361
|
+
"la",
|
|
1362
|
+
"lets-icons",
|
|
1363
|
+
"line-md",
|
|
1364
|
+
"lineicons",
|
|
1365
|
+
"logos",
|
|
1366
|
+
"ls",
|
|
1367
|
+
"lsicon",
|
|
1368
|
+
"lucide",
|
|
1369
|
+
"lucide-lab",
|
|
1370
|
+
"mage",
|
|
1371
|
+
"majesticons",
|
|
1372
|
+
"maki",
|
|
1373
|
+
"map",
|
|
1374
|
+
"marketeq",
|
|
1375
|
+
"material-icon-theme",
|
|
1376
|
+
"material-symbols",
|
|
1377
|
+
"material-symbols-light",
|
|
1378
|
+
"mdi",
|
|
1379
|
+
"mdi-light",
|
|
1380
|
+
"medical-icon",
|
|
1381
|
+
"memory",
|
|
1382
|
+
"meteocons",
|
|
1383
|
+
"meteor-icons",
|
|
1384
|
+
"mi",
|
|
1385
|
+
"mingcute",
|
|
1386
|
+
"mono-icons",
|
|
1387
|
+
"mynaui",
|
|
1388
|
+
"nimbus",
|
|
1389
|
+
"nonicons",
|
|
1390
|
+
"noto",
|
|
1391
|
+
"noto-v1",
|
|
1392
|
+
"nrk",
|
|
1393
|
+
"octicon",
|
|
1394
|
+
"oi",
|
|
1395
|
+
"ooui",
|
|
1396
|
+
"openmoji",
|
|
1397
|
+
"oui",
|
|
1398
|
+
"pajamas",
|
|
1399
|
+
"pepicons",
|
|
1400
|
+
"pepicons-pencil",
|
|
1401
|
+
"pepicons-pop",
|
|
1402
|
+
"pepicons-print",
|
|
1403
|
+
"ph",
|
|
1404
|
+
"picon",
|
|
1405
|
+
"pixel",
|
|
1406
|
+
"pixelarticons",
|
|
1407
|
+
"prime",
|
|
1408
|
+
"proicons",
|
|
1409
|
+
"ps",
|
|
1410
|
+
"qlementine-icons",
|
|
1411
|
+
"quill",
|
|
1412
|
+
"radix-icons",
|
|
1413
|
+
"raphael",
|
|
1414
|
+
"ri",
|
|
1415
|
+
"rivet-icons",
|
|
1416
|
+
"roentgen",
|
|
1417
|
+
"si",
|
|
1418
|
+
"si-glyph",
|
|
1419
|
+
"sidekickicons",
|
|
1420
|
+
"simple-icons",
|
|
1421
|
+
"simple-line-icons",
|
|
1422
|
+
"skill-icons",
|
|
1423
|
+
"solar",
|
|
1424
|
+
"stash",
|
|
1425
|
+
"streamline",
|
|
1426
|
+
"streamline-block",
|
|
1427
|
+
"streamline-color",
|
|
1428
|
+
"streamline-cyber",
|
|
1429
|
+
"streamline-cyber-color",
|
|
1430
|
+
"streamline-emojis",
|
|
1431
|
+
"streamline-flex",
|
|
1432
|
+
"streamline-flex-color",
|
|
1433
|
+
"streamline-freehand",
|
|
1434
|
+
"streamline-freehand-color",
|
|
1435
|
+
"streamline-kameleon-color",
|
|
1436
|
+
"streamline-logos",
|
|
1437
|
+
"streamline-pixel",
|
|
1438
|
+
"streamline-plump",
|
|
1439
|
+
"streamline-plump-color",
|
|
1440
|
+
"streamline-sharp",
|
|
1441
|
+
"streamline-sharp-color",
|
|
1442
|
+
"streamline-stickies-color",
|
|
1443
|
+
"streamline-ultimate",
|
|
1444
|
+
"streamline-ultimate-color",
|
|
1445
|
+
"subway",
|
|
1446
|
+
"svg-spinners",
|
|
1447
|
+
"system-uicons",
|
|
1448
|
+
"tabler",
|
|
1449
|
+
"tdesign",
|
|
1450
|
+
"teenyicons",
|
|
1451
|
+
"temaki",
|
|
1452
|
+
"token",
|
|
1453
|
+
"token-branded",
|
|
1454
|
+
"topcoat",
|
|
1455
|
+
"twemoji",
|
|
1456
|
+
"typcn",
|
|
1457
|
+
"uil",
|
|
1458
|
+
"uim",
|
|
1459
|
+
"uis",
|
|
1460
|
+
"uit",
|
|
1461
|
+
"uiw",
|
|
1462
|
+
"unjs",
|
|
1463
|
+
"vaadin",
|
|
1464
|
+
"vs",
|
|
1465
|
+
"vscode-icons",
|
|
1466
|
+
"websymbol",
|
|
1467
|
+
"weui",
|
|
1468
|
+
"whh",
|
|
1469
|
+
"wi",
|
|
1470
|
+
"wpf",
|
|
1471
|
+
"zmdi",
|
|
1472
|
+
"zondicons"
|
|
1473
|
+
],
|
|
1474
|
+
"fetchTimeout": 1500
|
|
1475
|
+
}
|
|
1476
|
+
};
|
|
1477
|
+
const __appConfig = /* @__PURE__ */ defuFn(inlineConfig);
|
|
1478
|
+
function useAppConfig() {
|
|
1479
|
+
const nuxtApp = useNuxtApp();
|
|
1480
|
+
nuxtApp._appConfig ||= klona(__appConfig);
|
|
1481
|
+
return nuxtApp._appConfig;
|
|
1482
|
+
}
|
|
1483
|
+
const plugin = /* @__PURE__ */ defineNuxtPlugin({
|
|
1484
|
+
name: "pinia",
|
|
1485
|
+
setup(nuxtApp) {
|
|
1486
|
+
const pinia = createPinia();
|
|
1487
|
+
nuxtApp.vueApp.use(pinia);
|
|
1488
|
+
setActivePinia(pinia);
|
|
1489
|
+
if (nuxtApp.payload && nuxtApp.payload.pinia) {
|
|
1490
|
+
pinia.state.value = nuxtApp.payload.pinia;
|
|
1491
|
+
}
|
|
1492
|
+
return {
|
|
1493
|
+
provide: {
|
|
1494
|
+
pinia
|
|
1495
|
+
}
|
|
1496
|
+
};
|
|
1497
|
+
},
|
|
1498
|
+
hooks: {
|
|
1499
|
+
"app:rendered"() {
|
|
1500
|
+
const nuxtApp = useNuxtApp();
|
|
1501
|
+
nuxtApp.payload.pinia = toRaw(nuxtApp.$pinia).state.value;
|
|
1502
|
+
setActivePinia(void 0);
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
});
|
|
1506
|
+
const LazyIcon = defineAsyncComponent(() => import('./index-cG54gaKX.mjs').then((r) => r["default"] || r.default || r));
|
|
1507
|
+
const lazyGlobalComponents = [
|
|
1508
|
+
["Icon", LazyIcon]
|
|
1509
|
+
];
|
|
1510
|
+
const components_plugin_4kY4pyzJIYX99vmMAAIorFf3CnAaptHitJgf7JxiED8 = /* @__PURE__ */ defineNuxtPlugin({
|
|
1511
|
+
name: "nuxt:global-components",
|
|
1512
|
+
setup(nuxtApp) {
|
|
1513
|
+
for (const [name, component] of lazyGlobalComponents) {
|
|
1514
|
+
nuxtApp.vueApp.component(name, component);
|
|
1515
|
+
nuxtApp.vueApp.component("Lazy" + name, component);
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
});
|
|
1519
|
+
const shades = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950];
|
|
1520
|
+
function getColor(color, shade) {
|
|
1521
|
+
if (color in colors && typeof colors[color] === "object" && shade in colors[color]) {
|
|
1522
|
+
return colors[color][shade];
|
|
1523
|
+
}
|
|
1524
|
+
return "";
|
|
1525
|
+
}
|
|
1526
|
+
function generateShades(key, value, prefix) {
|
|
1527
|
+
const prefixStr = prefix ? `${prefix}-` : "";
|
|
1528
|
+
return `${shades.map((shade) => `--ui-color-${key}-${shade}: var(--${prefixStr}color-${value === "neutral" ? "old-neutral" : value}-${shade}, ${getColor(value, shade)});`).join("\n ")}`;
|
|
1529
|
+
}
|
|
1530
|
+
function generateColor(key, shade) {
|
|
1531
|
+
return `--ui-${key}: var(--ui-color-${key}-${shade});`;
|
|
1532
|
+
}
|
|
1533
|
+
const colors_E7kSti5pGZ28QhUUurq6gGRU3l65WuXO_KJC3GQgzFo = /* @__PURE__ */ defineNuxtPlugin(() => {
|
|
1534
|
+
const appConfig = useAppConfig();
|
|
1535
|
+
useNuxtApp();
|
|
1536
|
+
const root = computed(() => {
|
|
1537
|
+
const { neutral, ...colors2 } = appConfig.ui.colors;
|
|
1538
|
+
const prefix = appConfig.ui.prefix;
|
|
1539
|
+
return `@layer theme {
|
|
1540
|
+
:root, :host {
|
|
1541
|
+
${Object.entries(appConfig.ui.colors).map(([key, value]) => generateShades(key, value, prefix)).join("\n ")}
|
|
1542
|
+
}
|
|
1543
|
+
:root, :host, .light {
|
|
1544
|
+
${Object.keys(colors2).map((key) => generateColor(key, 500)).join("\n ")}
|
|
1545
|
+
}
|
|
1546
|
+
.dark {
|
|
1547
|
+
${Object.keys(colors2).map((key) => generateColor(key, 400)).join("\n ")}
|
|
1548
|
+
}
|
|
1549
|
+
}`;
|
|
1550
|
+
});
|
|
1551
|
+
const headData = {
|
|
1552
|
+
style: [{
|
|
1553
|
+
innerHTML: () => root.value,
|
|
1554
|
+
tagPriority: -2,
|
|
1555
|
+
id: "nuxt-ui-colors"
|
|
1556
|
+
}]
|
|
1557
|
+
};
|
|
1558
|
+
useHead(headData);
|
|
1559
|
+
});
|
|
1560
|
+
const preference = "system";
|
|
1561
|
+
const plugin_server_9Ca9_HhnjAGwBWpwAydRauMHxWoxTDY60BrArRnXN_A = /* @__PURE__ */ defineNuxtPlugin((nuxtApp) => {
|
|
1562
|
+
const colorMode = nuxtApp.ssrContext?.islandContext ? ref({}) : useState("color-mode", () => reactive({
|
|
1563
|
+
preference,
|
|
1564
|
+
value: preference,
|
|
1565
|
+
unknown: true,
|
|
1566
|
+
forced: false
|
|
1567
|
+
})).value;
|
|
1568
|
+
const htmlAttrs = {};
|
|
1569
|
+
{
|
|
1570
|
+
useHead({ htmlAttrs });
|
|
1571
|
+
}
|
|
1572
|
+
useRouter().afterEach((to) => {
|
|
1573
|
+
const forcedColorMode = to.meta.colorMode;
|
|
1574
|
+
if (forcedColorMode && forcedColorMode !== "system") {
|
|
1575
|
+
colorMode.value = htmlAttrs["data-color-mode-forced"] = forcedColorMode;
|
|
1576
|
+
colorMode.forced = true;
|
|
1577
|
+
} else if (forcedColorMode === "system") {
|
|
1578
|
+
console.warn("You cannot force the colorMode to system at the page level.");
|
|
1579
|
+
}
|
|
1580
|
+
});
|
|
1581
|
+
nuxtApp.provide("colorMode", colorMode);
|
|
1582
|
+
});
|
|
1583
|
+
const plugin_MeUvTuoKUi51yb_kBguab6hdcExVXeTtZtTg9TZZBB8 = /* @__PURE__ */ defineNuxtPlugin({
|
|
1584
|
+
name: "@nuxt/icon",
|
|
1585
|
+
setup() {
|
|
1586
|
+
const configs = /* @__PURE__ */ useRuntimeConfig();
|
|
1587
|
+
const options = useAppConfig().icon;
|
|
1588
|
+
_api.setFetch($fetch.native);
|
|
1589
|
+
const resources = [];
|
|
1590
|
+
if (options.provider === "server") {
|
|
1591
|
+
const baseURL2 = configs.app?.baseURL?.replace(/\/$/, "") ?? "";
|
|
1592
|
+
resources.push(baseURL2 + (options.localApiEndpoint || "/api/_nuxt_icon"));
|
|
1593
|
+
if (options.fallbackToApi === true || options.fallbackToApi === "client-only") {
|
|
1594
|
+
resources.push(options.iconifyApiEndpoint);
|
|
1595
|
+
}
|
|
1596
|
+
} else if (options.provider === "none") {
|
|
1597
|
+
_api.setFetch(() => Promise.resolve(new Response()));
|
|
1598
|
+
} else {
|
|
1599
|
+
resources.push(options.iconifyApiEndpoint);
|
|
1600
|
+
}
|
|
1601
|
+
async function customIconLoader(icons, prefix) {
|
|
1602
|
+
try {
|
|
1603
|
+
const data = await $fetch(resources[0] + "/" + prefix + ".json", {
|
|
1604
|
+
query: {
|
|
1605
|
+
icons: icons.join(",")
|
|
1606
|
+
}
|
|
1607
|
+
});
|
|
1608
|
+
if (!data || data.prefix !== prefix || !data.icons)
|
|
1609
|
+
throw new Error("Invalid data" + JSON.stringify(data));
|
|
1610
|
+
return data;
|
|
1611
|
+
} catch (e) {
|
|
1612
|
+
console.error("Failed to load custom icons", e);
|
|
1613
|
+
return null;
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
addAPIProvider("", { resources });
|
|
1617
|
+
for (const prefix of options.customCollections || []) {
|
|
1618
|
+
if (prefix)
|
|
1619
|
+
setCustomIconsLoader(customIconLoader, prefix);
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
// For type portability
|
|
1623
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1624
|
+
});
|
|
1625
|
+
const plugins = [
|
|
1626
|
+
payloadPlugin,
|
|
1627
|
+
unhead_k2P3m_ZDyjlr2mMYnoDPwavjsDN8hBlk9cFai0bbopU,
|
|
1628
|
+
plugin$1,
|
|
1629
|
+
revive_payload_server_MVtmlZaQpj6ApFmshWfUWl5PehCebzaBf2NuRMiIbms,
|
|
1630
|
+
plugin,
|
|
1631
|
+
components_plugin_4kY4pyzJIYX99vmMAAIorFf3CnAaptHitJgf7JxiED8,
|
|
1632
|
+
colors_E7kSti5pGZ28QhUUurq6gGRU3l65WuXO_KJC3GQgzFo,
|
|
1633
|
+
plugin_server_9Ca9_HhnjAGwBWpwAydRauMHxWoxTDY60BrArRnXN_A,
|
|
1634
|
+
plugin_MeUvTuoKUi51yb_kBguab6hdcExVXeTtZtTg9TZZBB8
|
|
1635
|
+
];
|
|
1636
|
+
const layouts = {
|
|
1637
|
+
default: defineAsyncComponent(() => import('./default-DPkqqHOE.mjs').then((m) => m.default || m))
|
|
1638
|
+
};
|
|
1639
|
+
const routeRulesMatcher = _routeRulesMatcher;
|
|
1640
|
+
const LayoutLoader = defineComponent({
|
|
1641
|
+
name: "LayoutLoader",
|
|
1642
|
+
inheritAttrs: false,
|
|
1643
|
+
props: {
|
|
1644
|
+
name: String,
|
|
1645
|
+
layoutProps: Object
|
|
1646
|
+
},
|
|
1647
|
+
setup(props, context) {
|
|
1648
|
+
return () => h(layouts[props.name], props.layoutProps, context.slots);
|
|
1649
|
+
}
|
|
1650
|
+
});
|
|
1651
|
+
const nuxtLayoutProps = {
|
|
1652
|
+
name: {
|
|
1653
|
+
type: [String, Boolean, Object],
|
|
1654
|
+
default: null
|
|
1655
|
+
},
|
|
1656
|
+
fallback: {
|
|
1657
|
+
type: [String, Object],
|
|
1658
|
+
default: null
|
|
1659
|
+
}
|
|
1660
|
+
};
|
|
1661
|
+
const __nuxt_component_0 = defineComponent({
|
|
1662
|
+
name: "NuxtLayout",
|
|
1663
|
+
inheritAttrs: false,
|
|
1664
|
+
props: nuxtLayoutProps,
|
|
1665
|
+
setup(props, context) {
|
|
1666
|
+
const nuxtApp = useNuxtApp();
|
|
1667
|
+
const injectedRoute = inject(PageRouteSymbol);
|
|
1668
|
+
const shouldUseEagerRoute = !injectedRoute || injectedRoute === useRoute();
|
|
1669
|
+
const route = shouldUseEagerRoute ? useRoute$1() : injectedRoute;
|
|
1670
|
+
const layout = computed(() => {
|
|
1671
|
+
let layout2 = unref(props.name) ?? route?.meta.layout ?? routeRulesMatcher(route?.path).appLayout ?? "default";
|
|
1672
|
+
if (layout2 && !(layout2 in layouts)) {
|
|
1673
|
+
if (props.fallback) {
|
|
1674
|
+
layout2 = unref(props.fallback);
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
return layout2;
|
|
1678
|
+
});
|
|
1679
|
+
const layoutRef = shallowRef();
|
|
1680
|
+
context.expose({ layoutRef });
|
|
1681
|
+
const done = nuxtApp.deferHydration();
|
|
1682
|
+
let lastLayout;
|
|
1683
|
+
return () => {
|
|
1684
|
+
const hasLayout = layout.value && layout.value in layouts;
|
|
1685
|
+
const transitionProps = route?.meta.layoutTransition ?? appLayoutTransition;
|
|
1686
|
+
const previouslyRenderedLayout = lastLayout;
|
|
1687
|
+
lastLayout = layout.value;
|
|
1688
|
+
return _wrapInTransition(hasLayout && transitionProps, {
|
|
1689
|
+
default: () => h(Suspense, { suspensible: true, onResolve: () => {
|
|
1690
|
+
nextTick(done);
|
|
1691
|
+
} }, {
|
|
1692
|
+
default: () => h(
|
|
1693
|
+
LayoutProvider,
|
|
1694
|
+
{
|
|
1695
|
+
layoutProps: mergeProps(context.attrs, route.meta.layoutProps ?? {}, { ref: layoutRef }),
|
|
1696
|
+
key: layout.value || void 0,
|
|
1697
|
+
name: layout.value,
|
|
1698
|
+
shouldProvide: !props.name,
|
|
1699
|
+
isRenderingNewLayout: (name) => {
|
|
1700
|
+
return name !== previouslyRenderedLayout && name === layout.value;
|
|
1701
|
+
},
|
|
1702
|
+
hasTransition: !!transitionProps
|
|
1703
|
+
},
|
|
1704
|
+
context.slots
|
|
1705
|
+
)
|
|
1706
|
+
})
|
|
1707
|
+
}).default();
|
|
1708
|
+
};
|
|
1709
|
+
}
|
|
1710
|
+
});
|
|
1711
|
+
const LayoutProvider = defineComponent({
|
|
1712
|
+
name: "NuxtLayoutProvider",
|
|
1713
|
+
inheritAttrs: false,
|
|
1714
|
+
props: {
|
|
1715
|
+
name: {
|
|
1716
|
+
type: [String, Boolean]
|
|
1717
|
+
},
|
|
1718
|
+
layoutProps: {
|
|
1719
|
+
type: Object
|
|
1720
|
+
},
|
|
1721
|
+
hasTransition: {
|
|
1722
|
+
type: Boolean
|
|
1723
|
+
},
|
|
1724
|
+
shouldProvide: {
|
|
1725
|
+
type: Boolean
|
|
1726
|
+
},
|
|
1727
|
+
isRenderingNewLayout: {
|
|
1728
|
+
type: Function,
|
|
1729
|
+
required: true
|
|
1730
|
+
}
|
|
1731
|
+
},
|
|
1732
|
+
setup(props, context) {
|
|
1733
|
+
const name = props.name;
|
|
1734
|
+
if (props.shouldProvide) {
|
|
1735
|
+
provide(LayoutMetaSymbol, {
|
|
1736
|
+
// When name=false, always return true so NuxtPage doesn't skip rendering
|
|
1737
|
+
isCurrent: (route) => name === false || name === (route.meta.layout ?? routeRulesMatcher(route.path).appLayout ?? "default")
|
|
1738
|
+
});
|
|
1739
|
+
}
|
|
1740
|
+
const injectedRoute = inject(PageRouteSymbol);
|
|
1741
|
+
const isNotWithinNuxtPage = injectedRoute && injectedRoute === useRoute();
|
|
1742
|
+
if (isNotWithinNuxtPage) {
|
|
1743
|
+
const vueRouterRoute = useRoute$1();
|
|
1744
|
+
const reactiveChildRoute = {};
|
|
1745
|
+
for (const _key in vueRouterRoute) {
|
|
1746
|
+
const key = _key;
|
|
1747
|
+
Object.defineProperty(reactiveChildRoute, key, {
|
|
1748
|
+
enumerable: true,
|
|
1749
|
+
get: () => {
|
|
1750
|
+
return props.isRenderingNewLayout(props.name) ? vueRouterRoute[key] : injectedRoute[key];
|
|
1751
|
+
}
|
|
1752
|
+
});
|
|
1753
|
+
}
|
|
1754
|
+
provide(PageRouteSymbol, shallowReactive(reactiveChildRoute));
|
|
1755
|
+
}
|
|
1756
|
+
return () => {
|
|
1757
|
+
if (!name || typeof name === "string" && !(name in layouts)) {
|
|
1758
|
+
return context.slots.default?.();
|
|
1759
|
+
}
|
|
1760
|
+
return h(
|
|
1761
|
+
LayoutLoader,
|
|
1762
|
+
{ key: name, layoutProps: props.layoutProps, name },
|
|
1763
|
+
context.slots
|
|
1764
|
+
);
|
|
1765
|
+
};
|
|
1766
|
+
}
|
|
1767
|
+
});
|
|
1768
|
+
const defineRouteProvider = (name = "RouteProvider") => defineComponent({
|
|
1769
|
+
name,
|
|
1770
|
+
props: {
|
|
1771
|
+
route: {
|
|
1772
|
+
type: Object,
|
|
1773
|
+
required: true
|
|
1774
|
+
},
|
|
1775
|
+
vnode: Object,
|
|
1776
|
+
vnodeRef: Object,
|
|
1777
|
+
renderKey: String,
|
|
1778
|
+
trackRootNodes: Boolean
|
|
1779
|
+
},
|
|
1780
|
+
setup(props) {
|
|
1781
|
+
const previousKey = props.renderKey;
|
|
1782
|
+
const previousRoute = props.route;
|
|
1783
|
+
const route = {};
|
|
1784
|
+
for (const key in props.route) {
|
|
1785
|
+
Object.defineProperty(route, key, {
|
|
1786
|
+
get: () => previousKey === props.renderKey ? props.route[key] : previousRoute[key],
|
|
1787
|
+
enumerable: true
|
|
1788
|
+
});
|
|
1789
|
+
}
|
|
1790
|
+
provide(PageRouteSymbol, shallowReactive(route));
|
|
1791
|
+
return () => {
|
|
1792
|
+
if (!props.vnode) {
|
|
1793
|
+
return props.vnode;
|
|
1794
|
+
}
|
|
1795
|
+
return h(props.vnode, { ref: props.vnodeRef });
|
|
1796
|
+
};
|
|
1797
|
+
}
|
|
1798
|
+
});
|
|
1799
|
+
const RouteProvider = defineRouteProvider();
|
|
1800
|
+
const __nuxt_component_1 = defineComponent({
|
|
1801
|
+
name: "NuxtPage",
|
|
1802
|
+
inheritAttrs: false,
|
|
1803
|
+
props: {
|
|
1804
|
+
name: {
|
|
1805
|
+
type: String
|
|
1806
|
+
},
|
|
1807
|
+
transition: {
|
|
1808
|
+
type: [Boolean, Object],
|
|
1809
|
+
default: void 0
|
|
1810
|
+
},
|
|
1811
|
+
keepalive: {
|
|
1812
|
+
type: [Boolean, Object],
|
|
1813
|
+
default: void 0
|
|
1814
|
+
},
|
|
1815
|
+
route: {
|
|
1816
|
+
type: Object
|
|
1817
|
+
},
|
|
1818
|
+
pageKey: {
|
|
1819
|
+
type: [Function, String],
|
|
1820
|
+
default: null
|
|
1821
|
+
}
|
|
1822
|
+
},
|
|
1823
|
+
setup(props, { attrs, slots, expose }) {
|
|
1824
|
+
const nuxtApp = useNuxtApp();
|
|
1825
|
+
const pageRef = ref();
|
|
1826
|
+
inject(PageRouteSymbol, null);
|
|
1827
|
+
expose({ pageRef });
|
|
1828
|
+
inject(LayoutMetaSymbol, null);
|
|
1829
|
+
nuxtApp.deferHydration();
|
|
1830
|
+
return () => {
|
|
1831
|
+
return h(RouterView, { name: props.name, route: props.route, ...attrs }, {
|
|
1832
|
+
default: (routeProps) => {
|
|
1833
|
+
return h(Suspense, { suspensible: true }, {
|
|
1834
|
+
default() {
|
|
1835
|
+
return h(RouteProvider, {
|
|
1836
|
+
vnode: slots.default ? normalizeSlot(slots.default, routeProps) : routeProps.Component,
|
|
1837
|
+
route: routeProps.route,
|
|
1838
|
+
vnodeRef: pageRef
|
|
1839
|
+
});
|
|
1840
|
+
}
|
|
1841
|
+
});
|
|
1842
|
+
}
|
|
1843
|
+
});
|
|
1844
|
+
};
|
|
1845
|
+
}
|
|
1846
|
+
});
|
|
1847
|
+
function normalizeSlot(slot, data) {
|
|
1848
|
+
const slotContent = slot(data);
|
|
1849
|
+
return slotContent.length === 1 ? h(slotContent[0]) : h(Fragment, void 0, slotContent);
|
|
1850
|
+
}
|
|
1851
|
+
const _export_sfc = (sfc, props) => {
|
|
1852
|
+
const target = sfc.__vccOpts || sfc;
|
|
1853
|
+
for (const [key, val] of props) {
|
|
1854
|
+
target[key] = val;
|
|
1855
|
+
}
|
|
1856
|
+
return target;
|
|
1857
|
+
};
|
|
1858
|
+
const _sfc_main$2 = {};
|
|
1859
|
+
function _sfc_ssrRender(_ctx, _push, _parent, _attrs) {
|
|
1860
|
+
const _component_NuxtLayout = __nuxt_component_0;
|
|
1861
|
+
const _component_NuxtPage = __nuxt_component_1;
|
|
1862
|
+
_push(ssrRenderComponent(_component_NuxtLayout, _attrs, {
|
|
1863
|
+
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
1864
|
+
if (_push2) {
|
|
1865
|
+
_push2(ssrRenderComponent(_component_NuxtPage, null, null, _parent2, _scopeId));
|
|
1866
|
+
} else {
|
|
1867
|
+
return [
|
|
1868
|
+
createVNode(_component_NuxtPage)
|
|
1869
|
+
];
|
|
1870
|
+
}
|
|
1871
|
+
}),
|
|
1872
|
+
_: 1
|
|
1873
|
+
}, _parent));
|
|
1874
|
+
}
|
|
1875
|
+
const _sfc_setup$2 = _sfc_main$2.setup;
|
|
1876
|
+
_sfc_main$2.setup = (props, ctx) => {
|
|
1877
|
+
const ssrContext = useSSRContext();
|
|
1878
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("app.vue");
|
|
1879
|
+
return _sfc_setup$2 ? _sfc_setup$2(props, ctx) : void 0;
|
|
1880
|
+
};
|
|
1881
|
+
const AppComponent = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["ssrRender", _sfc_ssrRender]]);
|
|
1882
|
+
const _sfc_main$1 = {
|
|
1883
|
+
__name: "nuxt-error-page",
|
|
1884
|
+
__ssrInlineRender: true,
|
|
1885
|
+
props: {
|
|
1886
|
+
error: Object
|
|
1887
|
+
},
|
|
1888
|
+
setup(__props) {
|
|
1889
|
+
const props = __props;
|
|
1890
|
+
const _error = props.error;
|
|
1891
|
+
const status = Number(_error.statusCode || 500);
|
|
1892
|
+
const is404 = status === 404;
|
|
1893
|
+
const statusText = _error.statusMessage ?? (is404 ? "Page Not Found" : "Internal Server Error");
|
|
1894
|
+
const description = _error.message || _error.toString();
|
|
1895
|
+
const stack = void 0;
|
|
1896
|
+
const _Error404 = defineAsyncComponent(() => import('./error-404-K4UfZNck.mjs'));
|
|
1897
|
+
const _Error = defineAsyncComponent(() => import('./error-500-CA7TEPNg.mjs'));
|
|
1898
|
+
const ErrorTemplate = is404 ? _Error404 : _Error;
|
|
1899
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
1900
|
+
_push(ssrRenderComponent(unref(ErrorTemplate), mergeProps({ status: unref(status), statusText: unref(statusText), statusCode: unref(status), statusMessage: unref(statusText), description: unref(description), stack: unref(stack) }, _attrs), null, _parent));
|
|
1901
|
+
};
|
|
1902
|
+
}
|
|
1903
|
+
};
|
|
1904
|
+
const _sfc_setup$1 = _sfc_main$1.setup;
|
|
1905
|
+
_sfc_main$1.setup = (props, ctx) => {
|
|
1906
|
+
const ssrContext = useSSRContext();
|
|
1907
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/nuxt/dist/app/components/nuxt-error-page.vue");
|
|
1908
|
+
return _sfc_setup$1 ? _sfc_setup$1(props, ctx) : void 0;
|
|
1909
|
+
};
|
|
1910
|
+
const _sfc_main = {
|
|
1911
|
+
__name: "nuxt-root",
|
|
1912
|
+
__ssrInlineRender: true,
|
|
1913
|
+
setup(__props) {
|
|
1914
|
+
const IslandRenderer = () => null;
|
|
1915
|
+
const nuxtApp = useNuxtApp();
|
|
1916
|
+
nuxtApp.deferHydration();
|
|
1917
|
+
nuxtApp.ssrContext.url;
|
|
1918
|
+
const SingleRenderer = false;
|
|
1919
|
+
provide(PageRouteSymbol, useRoute());
|
|
1920
|
+
nuxtApp.hooks.callHookWith((hooks) => hooks.map((hook) => hook()), "vue:setup");
|
|
1921
|
+
const error = /* @__PURE__ */ useError();
|
|
1922
|
+
const abortRender = error.value && !nuxtApp.ssrContext.error;
|
|
1923
|
+
onErrorCaptured((err, target, info) => {
|
|
1924
|
+
nuxtApp.hooks.callHook("vue:error", err, target, info).catch((hookError) => console.error("[nuxt] Error in `vue:error` hook", hookError));
|
|
1925
|
+
{
|
|
1926
|
+
const p = nuxtApp.runWithContext(() => showError(err));
|
|
1927
|
+
onServerPrefetch(() => p);
|
|
1928
|
+
return false;
|
|
1929
|
+
}
|
|
1930
|
+
});
|
|
1931
|
+
const islandContext = nuxtApp.ssrContext.islandContext;
|
|
1932
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
1933
|
+
ssrRenderSuspense(_push, {
|
|
1934
|
+
default: () => {
|
|
1935
|
+
if (unref(abortRender)) {
|
|
1936
|
+
_push(`<div></div>`);
|
|
1937
|
+
} else if (unref(error)) {
|
|
1938
|
+
_push(ssrRenderComponent(unref(_sfc_main$1), { error: unref(error) }, null, _parent));
|
|
1939
|
+
} else if (unref(islandContext)) {
|
|
1940
|
+
_push(ssrRenderComponent(unref(IslandRenderer), { context: unref(islandContext) }, null, _parent));
|
|
1941
|
+
} else if (unref(SingleRenderer)) {
|
|
1942
|
+
ssrRenderVNode(_push, createVNode(resolveDynamicComponent(unref(SingleRenderer)), null, null), _parent);
|
|
1943
|
+
} else {
|
|
1944
|
+
_push(ssrRenderComponent(unref(AppComponent), null, null, _parent));
|
|
1945
|
+
}
|
|
1946
|
+
},
|
|
1947
|
+
_: 1
|
|
1948
|
+
});
|
|
1949
|
+
};
|
|
1950
|
+
}
|
|
1951
|
+
};
|
|
1952
|
+
const _sfc_setup = _sfc_main.setup;
|
|
1953
|
+
_sfc_main.setup = (props, ctx) => {
|
|
1954
|
+
const ssrContext = useSSRContext();
|
|
1955
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/nuxt/dist/app/components/nuxt-root.vue");
|
|
1956
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
1957
|
+
};
|
|
1958
|
+
let entry;
|
|
1959
|
+
{
|
|
1960
|
+
entry = async function createNuxtAppServer(ssrContext) {
|
|
1961
|
+
const vueApp = createApp(_sfc_main);
|
|
1962
|
+
const nuxt = createNuxtApp({ vueApp, ssrContext });
|
|
1963
|
+
try {
|
|
1964
|
+
await applyPlugins(nuxt, plugins);
|
|
1965
|
+
await nuxt.hooks.callHook("app:created", vueApp);
|
|
1966
|
+
} catch (error) {
|
|
1967
|
+
await nuxt.hooks.callHook("app:error", error);
|
|
1968
|
+
nuxt.payload.error ||= createError(error);
|
|
1969
|
+
}
|
|
1970
|
+
if (ssrContext && (ssrContext["~renderResponse"] || ssrContext._renderResponse)) {
|
|
1971
|
+
throw new Error("skipping render");
|
|
1972
|
+
}
|
|
1973
|
+
return vueApp;
|
|
1974
|
+
};
|
|
1975
|
+
}
|
|
1976
|
+
const entry_default = ((ssrContext) => entry(ssrContext));
|
|
1977
|
+
|
|
1978
|
+
export { _export_sfc as _, useRouter as a, useRoute as b, useNuxtApp as c, asyncDataDefaults as d, entry_default as default, createError as e, useAppConfig as f, useRuntimeConfig as g, encodeRoutePath as h, nuxtLinkDefaults as i, navigateTo as n, resolveRouteObject as r, useHead as u };
|
|
1979
|
+
//# sourceMappingURL=server.mjs.map
|