nuxt-ignis 0.5.2 → 0.5.3
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/.data/content/contents.sqlite +0 -0
- package/.env +1 -1
- package/.nuxt/components.d.ts +480 -858
- package/.nuxt/content/components.ts +177 -320
- package/.nuxt/dev/index.mjs +542 -530
- package/.nuxt/dev/index.mjs.map +1 -1
- package/.nuxt/dist/server/client.manifest.mjs +1 -1
- package/.nuxt/dist/server/client.precomputed.mjs +1 -1
- package/.nuxt/eslint-typegen.d.ts +60 -111
- package/.nuxt/eslint.config.d.mts +2 -2
- package/.nuxt/eslint.config.mjs +9 -9
- package/.nuxt/imports.d.ts +71 -70
- package/.nuxt/manifest/latest.json +1 -1
- package/.nuxt/manifest/meta/dev.json +1 -1
- package/.nuxt/module/nuxt-robots.d.ts +13 -12
- package/.nuxt/module/nuxt-seo-utils.d.ts +10 -10
- package/.nuxt/module/nuxt-site-config.d.ts +8 -8
- package/.nuxt/module/nuxt-sitemap.d.ts +18 -18
- package/.nuxt/nitro.json +4 -4
- package/.nuxt/nuxt.d.ts +6 -6
- package/.nuxt/nuxt.json +2 -2
- package/.nuxt/nuxt.node.d.ts +7 -6
- package/.nuxt/tsconfig.app.json +192 -188
- package/.nuxt/tsconfig.json +195 -191
- package/.nuxt/tsconfig.node.json +108 -104
- package/.nuxt/tsconfig.server.json +128 -127
- package/.nuxt/tsconfig.shared.json +62 -62
- package/.nuxt/types/build.d.ts +1 -1
- package/.nuxt/types/components.d.ts +480 -858
- package/.nuxt/types/i18n-plugin.d.ts +2 -2
- package/.nuxt/types/imports.d.ts +368 -366
- package/.nuxt/types/modules.d.ts +22 -24
- package/.nuxt/types/nitro-imports.d.ts +66 -66
- package/.nuxt/types/nitro-nuxt.d.ts +1 -1
- package/.nuxt/types/nitro-routes.d.ts +16 -16
- package/.nuxt/types/plugins.d.ts +37 -37
- package/.nuxt/types/runtime-config.d.ts +3 -1
- package/.output/nitro.json +2 -2
- package/.output/public/_ignis-config.json +6 -0
- package/.output/public/_nuxt/-OUwOzoZ.js +1 -0
- package/.output/public/_nuxt/-z2jk33i.js +1 -0
- package/.output/public/_nuxt/3L5yAyVe.js +1 -0
- package/.output/public/_nuxt/8nlalpbc.js +1 -0
- package/.output/public/_nuxt/As5Zy5cG.js +1 -0
- package/.output/public/_nuxt/B-TDuiGE.js +1 -0
- package/.output/public/_nuxt/B04mZI32.js +1 -0
- package/.output/public/_nuxt/B3zmx-p1.js +1 -0
- package/.output/public/_nuxt/B4eQjLRH.js +1 -0
- package/.output/public/_nuxt/B6WOJ0Em.js +1 -0
- package/.output/public/_nuxt/BB2ULiwb.js +1 -0
- package/.output/public/_nuxt/BEvX3xjB.js +1 -0
- package/.output/public/_nuxt/BFcGh2xo.js +1 -0
- package/.output/public/_nuxt/BFdGKCUO.js +1 -0
- package/.output/public/_nuxt/BG-5V6Ik.js +1 -0
- package/.output/public/_nuxt/BeRTSVEP.js +1 -0
- package/.output/public/_nuxt/Bh-DZrTV.js +1 -0
- package/.output/public/_nuxt/BvFz8iHh.js +1 -0
- package/.output/public/_nuxt/BwUgVogm.js +1 -0
- package/.output/public/_nuxt/C1fHW8CN.js +1 -0
- package/.output/public/_nuxt/C1getMtX.js +49 -0
- package/.output/public/_nuxt/C4nGy0Yj.js +1 -0
- package/.output/public/_nuxt/CExm4AMI.js +1 -0
- package/.output/public/_nuxt/CHcd0nHy.js +1 -0
- package/.output/public/_nuxt/CTbEZMxa.js +1 -0
- package/.output/public/_nuxt/CZ5QNOH8.js +1 -0
- package/.output/public/_nuxt/Cna7T5zY.js +1 -0
- package/.output/public/_nuxt/CnghUxEk.js +1 -0
- package/.output/public/_nuxt/CvJSUdvI.js +1 -0
- package/.output/public/_nuxt/CwgBHvd_.js +1 -0
- package/.output/public/_nuxt/D1nIr4-J.js +1 -0
- package/.output/public/_nuxt/D2atCez-.js +1 -0
- package/.output/public/_nuxt/D3WX5Hmk.js +1 -0
- package/.output/public/_nuxt/D5duQQkG.js +1 -0
- package/.output/public/_nuxt/D9RSHNPZ.js +1 -0
- package/.output/public/_nuxt/DB3c8m3K.js +1 -0
- package/.output/public/_nuxt/DFP1sKjc.js +1 -0
- package/.output/public/_nuxt/DI5_qtj_.js +1 -0
- package/.output/public/_nuxt/DKCDh1Eq.js +1 -0
- package/.output/public/_nuxt/DN3AlbuD.js +1 -0
- package/.output/public/_nuxt/DPDbQA17.js +1 -0
- package/.output/public/_nuxt/DSErOj49.js +1 -0
- package/.output/public/_nuxt/DXrSmKSt.js +1 -0
- package/.output/public/_nuxt/DbZ1CQfQ.js +1 -0
- package/.output/public/_nuxt/DgCebJqk.js +1 -0
- package/.output/public/_nuxt/DhhwMwQM.js +1 -0
- package/.output/public/_nuxt/Djhwz52y.js +1 -0
- package/.output/public/_nuxt/DnE1KSqg.js +1 -0
- package/.output/public/_nuxt/DncFEy6i.js +1 -0
- package/.output/public/_nuxt/DpZCZGQO.js +1 -0
- package/.output/public/_nuxt/Dx95U2T3.js +1 -0
- package/.output/public/_nuxt/FUdAqSn9.js +9 -0
- package/.output/public/_nuxt/GvxWNFgu.js +1 -0
- package/.output/public/_nuxt/HgKyGH3C.js +1 -0
- package/.output/public/_nuxt/Hxhp1Hz0.js +1 -0
- package/.output/public/_nuxt/LpFrvoF7.js +1 -0
- package/.output/public/_nuxt/{Pre.DHQaXnEy.css → Pre.HegCCrfd.css} +1 -1
- package/.output/public/_nuxt/Sz6HDPqh.js +1 -0
- package/.output/public/_nuxt/U1_7ggcx.js +1 -0
- package/.output/public/_nuxt/X8ZdEYzW.js +1 -0
- package/.output/public/_nuxt/ahq42_9S.js +1 -0
- package/.output/public/_nuxt/b0AtYQ73.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/78080714-55fa-441d-9998-a6fb0c7ee057.json +1 -0
- package/.output/public/_nuxt/efC_w6sP.js +1 -0
- package/.output/public/_nuxt/entry.9ygoOcLs.css +1 -0
- package/.output/public/_nuxt/error-404.0Tbhbu-E.css +1 -0
- package/.output/public/_nuxt/error-500.ClQbyW3Z.css +1 -0
- package/.output/public/_nuxt/ulE7jr93.js +1 -0
- package/.output/public/_nuxt/xHyrElgL.js +1 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -1
- package/.output/server/chunks/_/i18n.config.mjs.map +1 -1
- package/.output/server/chunks/_/nitro.mjs +1176 -1775
- package/.output/server/chunks/_/nitro.mjs.map +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs.map +1 -1
- package/.output/server/chunks/build/database.compressed.mjs.map +1 -1
- package/.output/server/chunks/raw/headers.mjs.map +1 -1
- package/.output/server/chunks/routes/api/neonTest.mjs +2 -2
- package/.output/server/chunks/routes/api/neonTest.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +27 -2
- package/.output/server/chunks/routes/renderer.mjs.map +1 -1
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -1
- package/.output/server/chunks/virtual/child-sources.mjs.map +1 -1
- package/.output/server/chunks/virtual/global-sources.mjs +0 -8
- package/.output/server/chunks/virtual/global-sources.mjs.map +1 -1
- package/.output/server/index.mjs +1 -1
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/node_modules/.nitro/{entities@4.5.0/lib/decode_codepoint.js → entities@7.0.0/dist/commonjs/decode-codepoint.js} +16 -15
- package/.output/server/node_modules/.nitro/{entities@4.5.0/lib → entities@7.0.0/dist/commonjs}/decode.js +200 -168
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/internal/decode-shared.js +31 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/package.json +113 -0
- package/.output/server/node_modules/@intlify/core/dist/core.mjs +1 -1
- package/.output/server/node_modules/@intlify/core/package.json +3 -3
- package/.output/server/node_modules/@intlify/core-base/dist/core-base.mjs +2 -2
- package/.output/server/node_modules/@intlify/core-base/package.json +4 -4
- package/.output/server/node_modules/@intlify/message-compiler/dist/message-compiler.mjs +1 -1
- package/.output/server/node_modules/@intlify/message-compiler/package.json +2 -2
- package/.output/server/node_modules/@intlify/shared/dist/shared.mjs +1 -1
- package/.output/server/node_modules/@intlify/shared/package.json +1 -1
- package/.output/server/node_modules/@neondatabase/serverless/package.json +4 -4
- package/.output/server/node_modules/@poppinss/exception/build/index.js +36 -55
- package/.output/server/node_modules/@poppinss/exception/package.json +19 -16
- package/.output/server/node_modules/@poppinss/string/build/index.js +2 -6
- package/.output/server/node_modules/@poppinss/string/build/string-ArFSN0fl.js +464 -0
- package/.output/server/node_modules/@poppinss/string/package.json +28 -25
- package/.output/server/node_modules/@shikijs/core/dist/index.mjs +111 -31
- package/.output/server/node_modules/@shikijs/core/package.json +2 -2
- package/.output/server/node_modules/@shikijs/engine-javascript/package.json +2 -2
- package/.output/server/node_modules/@shikijs/engine-oniguruma/package.json +2 -2
- package/.output/server/node_modules/@shikijs/langs/package.json +2 -2
- package/.output/server/node_modules/@shikijs/themes/package.json +2 -2
- package/.output/server/node_modules/@shikijs/transformers/dist/index.mjs +56 -16
- package/.output/server/node_modules/@shikijs/transformers/package.json +3 -3
- package/.output/server/node_modules/@shikijs/types/package.json +1 -1
- package/.output/server/node_modules/{.nitro/@vue/compiler-core@3.5.25 → @vue/compiler-core}/dist/compiler-core.cjs.prod.js +106 -85
- package/.output/server/node_modules/{.nitro/@vue/compiler-core@3.5.25 → @vue/compiler-core}/package.json +3 -3
- package/.output/server/node_modules/{.nitro/@vue/compiler-dom@3.5.22 → @vue/compiler-dom}/dist/compiler-dom.cjs.prod.js +54 -54
- package/.output/server/node_modules/{.nitro/@vue/compiler-dom@3.5.22 → @vue/compiler-dom}/package.json +3 -3
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +26 -26
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/.output/server/node_modules/{.nitro/@vue/reactivity@3.5.25 → @vue/reactivity}/dist/reactivity.cjs.prod.js +4 -4
- package/.output/server/node_modules/{.nitro/@vue/reactivity@3.5.22 → @vue/reactivity}/package.json +2 -2
- package/.output/server/node_modules/{.nitro/@vue/runtime-core@3.5.25 → @vue/runtime-core}/dist/runtime-core.cjs.prod.js +175 -155
- package/.output/server/node_modules/{.nitro/@vue/runtime-core@3.5.22 → @vue/runtime-core}/package.json +3 -3
- package/.output/server/node_modules/{.nitro/@vue/runtime-dom@3.5.25 → @vue/runtime-dom}/dist/runtime-dom.cjs.prod.js +9 -9
- package/.output/server/node_modules/{.nitro/@vue/runtime-dom@3.5.22 → @vue/runtime-dom}/package.json +5 -5
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +1 -1
- package/.output/server/node_modules/@vue/server-renderer/package.json +4 -4
- package/.output/server/node_modules/{.nitro/@vue/shared@3.5.25 → @vue/shared}/dist/shared.cjs.prod.js +1 -1
- package/.output/server/node_modules/{.nitro/@vue/shared@3.5.22 → @vue/shared}/package.json +1 -1
- package/.output/server/node_modules/devalue/index.js +1 -0
- package/.output/server/node_modules/devalue/package.json +1 -1
- package/.output/server/node_modules/devalue/src/parse.js +5 -1
- package/.output/server/node_modules/devalue/src/stringify.js +7 -3
- package/.output/server/node_modules/devalue/src/uneval.js +7 -3
- package/.output/server/node_modules/devalue/src/utils.js +5 -1
- package/.output/server/node_modules/fast-xml-parser/package.json +4 -2
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +19 -8
- package/.output/server/node_modules/hast-util-to-parse5/lib/index.js +13 -19
- package/.output/server/node_modules/hast-util-to-parse5/package.json +8 -7
- package/.output/server/node_modules/jose/dist/webapi/index.js +4 -2
- package/.output/server/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
- package/.output/server/node_modules/jose/dist/webapi/lib/check_key_type.js +2 -2
- package/.output/server/node_modules/jose/package.json +1 -1
- package/.output/server/node_modules/node-mock-http/package.json +10 -10
- package/.output/server/node_modules/regex/package.json +6 -6
- package/.output/server/node_modules/regex/src/atomic.js +6 -3
- package/.output/server/node_modules/shiki/package.json +7 -7
- package/.output/server/node_modules/strnum/package.json +1 -1
- package/.output/server/node_modules/strnum/strnum.js +1 -1
- package/.output/server/node_modules/unhead/dist/plugins.mjs +2 -2
- package/.output/server/node_modules/unhead/dist/server.mjs +3 -3
- package/.output/server/node_modules/unhead/dist/shared/{unhead.DH45uomy.mjs → unhead.CGCfDSEL.mjs} +3 -3
- package/.output/server/node_modules/unhead/dist/shared/{unhead.BpRRHAhY.mjs → unhead.CYpwL2hc.mjs} +12 -12
- package/.output/server/node_modules/unhead/dist/shared/{unhead.DZbvapt-.mjs → unhead.CbpEuj3y.mjs} +3 -2
- package/.output/server/node_modules/unhead/dist/shared/{unhead.Djo8ep_Y.mjs → unhead.ckV6dpEQ.mjs} +1 -1
- package/.output/server/node_modules/unhead/dist/utils.mjs +2 -2
- package/.output/server/node_modules/unhead/package.json +1 -1
- package/.output/server/node_modules/{.nitro/vue@3.5.22 → vue}/dist/vue.cjs.js +1 -1
- package/.output/server/node_modules/{.nitro/vue@3.5.25 → vue}/dist/vue.cjs.prod.js +1 -1
- package/.output/server/node_modules/{.nitro/vue@3.5.25 → vue}/package.json +6 -6
- package/.output/server/node_modules/vue-router/dist/{devtools-BLCumUwL.mjs → devtools-EWN81iOl.mjs} +6 -4
- package/.output/server/node_modules/vue-router/dist/vue-router.mjs +3 -3
- package/.output/server/node_modules/vue-router/package.json +2 -3
- package/.output/server/node_modules/yaml/dist/compose/compose-collection.js +1 -1
- package/.output/server/node_modules/yaml/dist/compose/resolve-block-seq.js +1 -1
- package/.output/server/node_modules/yaml/dist/compose/resolve-flow-collection.js +2 -2
- package/.output/server/node_modules/yaml/dist/errors.js +1 -1
- package/.output/server/node_modules/yaml/dist/nodes/Alias.js +1 -1
- package/.output/server/node_modules/yaml/dist/parse/parser.js +2 -2
- package/.output/server/node_modules/yaml/dist/stringify/stringifyNumber.js +1 -1
- package/.output/server/node_modules/yaml/dist/stringify/stringifyPair.js +1 -1
- package/.output/server/node_modules/yaml/package.json +4 -4
- package/.output/server/package.json +35 -38
- package/bin/set-app-vue.js +1 -1
- package/bin/set-css.js +1 -1
- package/bin/set-eslint.js +1 -1
- package/bin/setup.js +3 -3
- package/eslint.config.mjs +7 -4
- package/package.json +7 -7
- package/public/_ignis-config.json +6 -0
- package/vitest.config.ts +1 -3
- package/.output/public/_nuxt/-PRJHlJd.js +0 -1
- package/.output/public/_nuxt/38NkCNo_.js +0 -0
- package/.output/public/_nuxt/4p0_eEbF.js +0 -0
- package/.output/public/_nuxt/5P9Ak6Zm.js +0 -0
- package/.output/public/_nuxt/5msm7UDY.js +0 -0
- package/.output/public/_nuxt/7I_cTX05.js +0 -1
- package/.output/public/_nuxt/7N8aGG8C.js +0 -1
- package/.output/public/_nuxt/9j0d6I4O.js +0 -0
- package/.output/public/_nuxt/B7b1sBVf.js +0 -0
- package/.output/public/_nuxt/B7pFyPXj.js +0 -1
- package/.output/public/_nuxt/B8s7UrMM.js +0 -1
- package/.output/public/_nuxt/BHBmrOu8.js +0 -1
- package/.output/public/_nuxt/BHIv_dM4.js +0 -0
- package/.output/public/_nuxt/BI2n4fU-.js +0 -0
- package/.output/public/_nuxt/BJos6QuZ.js +0 -0
- package/.output/public/_nuxt/BKsXoEBs.js +0 -0
- package/.output/public/_nuxt/BNKvjWkT.js +0 -1
- package/.output/public/_nuxt/BQmtXkqc.js +0 -1
- package/.output/public/_nuxt/BQuCJQB8.js +0 -0
- package/.output/public/_nuxt/BSEIdlOb.js +0 -0
- package/.output/public/_nuxt/BST7mczs.js +0 -1
- package/.output/public/_nuxt/BTAjWPAo.js +0 -1
- package/.output/public/_nuxt/BYIIksjz.js +0 -0
- package/.output/public/_nuxt/BfZ1Ro0X.js +0 -1
- package/.output/public/_nuxt/Bg-6qayI.js +0 -1
- package/.output/public/_nuxt/BgP-osMP.js +0 -1
- package/.output/public/_nuxt/BiCkyLWS.js +0 -1
- package/.output/public/_nuxt/BjN_umGo.js +0 -1
- package/.output/public/_nuxt/BqK0HYmw.js +0 -1
- package/.output/public/_nuxt/BrSteMIA.js +0 -1
- package/.output/public/_nuxt/C-MeLOeF.js +0 -1
- package/.output/public/_nuxt/C-OKZMJp.js +0 -1
- package/.output/public/_nuxt/C6tJinWY.js +0 -0
- package/.output/public/_nuxt/C7lLQr2h.js +0 -0
- package/.output/public/_nuxt/CDLGLk8m.js +0 -1
- package/.output/public/_nuxt/CDT62st6.js +0 -1
- package/.output/public/_nuxt/CFimyBH-.js +0 -0
- package/.output/public/_nuxt/CG7cd7Sy.js +0 -1
- package/.output/public/_nuxt/CKPnIC-C.js +0 -0
- package/.output/public/_nuxt/COPw3T3p.js +0 -1
- package/.output/public/_nuxt/CQGFUxxa.js +0 -1
- package/.output/public/_nuxt/CSX_cLY6.js +0 -1
- package/.output/public/_nuxt/CaVNnfk7.js +0 -0
- package/.output/public/_nuxt/Cd1ifhTP.js +0 -0
- package/.output/public/_nuxt/CdygaddQ.js +0 -9
- package/.output/public/_nuxt/Cf-VPxfE.js +0 -1
- package/.output/public/_nuxt/CfmMK6-y.js +0 -1
- package/.output/public/_nuxt/Civ5r6YF.js +0 -1
- package/.output/public/_nuxt/CkdnMzBA.js +0 -0
- package/.output/public/_nuxt/CnlJVizr.js +0 -1
- package/.output/public/_nuxt/Coqgx10n.js +0 -0
- package/.output/public/_nuxt/CxMUMwzI.js +0 -1
- package/.output/public/_nuxt/Cyw3rpDt.js +0 -1
- package/.output/public/_nuxt/CzKgiVVn.js +0 -1
- package/.output/public/_nuxt/D-qXrpoJ.js +0 -0
- package/.output/public/_nuxt/D2vgCRoc.js +0 -1
- package/.output/public/_nuxt/D4fuXfD_.js +0 -1
- package/.output/public/_nuxt/D5IuxRu4.js +0 -1
- package/.output/public/_nuxt/D5j9Embb.js +0 -1
- package/.output/public/_nuxt/D6YL6Hhi.js +0 -0
- package/.output/public/_nuxt/DAIwjxRT.js +0 -0
- package/.output/public/_nuxt/DBEY94Mo.js +0 -0
- package/.output/public/_nuxt/DCQOMtdo.js +0 -1
- package/.output/public/_nuxt/DEQ3hSSO.js +0 -1
- package/.output/public/_nuxt/DFfCkFZ3.js +0 -1
- package/.output/public/_nuxt/DL4qe-W_.js +0 -0
- package/.output/public/_nuxt/DLKI6lgi.js +0 -0
- package/.output/public/_nuxt/DOAeoYpG.js +0 -0
- package/.output/public/_nuxt/DPQeTxQ3.js +0 -1
- package/.output/public/_nuxt/DP_txrAq.js +0 -1
- package/.output/public/_nuxt/DQKS5ddY.js +0 -1
- package/.output/public/_nuxt/DXXu9Lvl.js +0 -1
- package/.output/public/_nuxt/DcUS3ReQ.js +0 -0
- package/.output/public/_nuxt/DdWDmJe7.js +0 -0
- package/.output/public/_nuxt/Df59gZou.js +0 -0
- package/.output/public/_nuxt/DiIccoHR.js +0 -0
- package/.output/public/_nuxt/DiL3rzK6.js +0 -1
- package/.output/public/_nuxt/DkEHW4Vs.js +0 -0
- package/.output/public/_nuxt/DmRrrdJv.js +0 -1
- package/.output/public/_nuxt/Do5nYv4E.js +0 -0
- package/.output/public/_nuxt/DqyxgTAQ.js +0 -0
- package/.output/public/_nuxt/DrE64K_R.js +0 -1
- package/.output/public/_nuxt/DrskXsQH.js +0 -1
- package/.output/public/_nuxt/Ds7AWph0.js +0 -0
- package/.output/public/_nuxt/Dvcv58Mc.js +0 -1
- package/.output/public/_nuxt/FMWwyTQ_.js +0 -0
- package/.output/public/_nuxt/Q6bGSN8C.js +0 -0
- package/.output/public/_nuxt/QyE4cqYn.js +0 -1
- package/.output/public/_nuxt/Tcmkoyas.js +0 -1
- package/.output/public/_nuxt/Tj4XPHLn.js +0 -1
- package/.output/public/_nuxt/VOEA7UHD.js +0 -0
- package/.output/public/_nuxt/WOOfaOjG.js +0 -1
- package/.output/public/_nuxt/Y6FRsTFQ.js +0 -0
- package/.output/public/_nuxt/ZDbum-dK.js +0 -1
- package/.output/public/_nuxt/ZTY82FYd.js +0 -0
- package/.output/public/_nuxt/asVu8S_S.js +0 -51
- package/.output/public/_nuxt/builds/meta/68901e1f-eb2d-48db-9c33-8ac67fff1d62.json +0 -1
- package/.output/public/_nuxt/cjlVjclE.js +0 -1
- package/.output/public/_nuxt/entry.UZgisdi2.css +0 -1
- package/.output/public/_nuxt/error-404.DQ5oEvRi.css +0 -1
- package/.output/public/_nuxt/error-500.c8JA_zlB.css +0 -1
- package/.output/public/_nuxt/gmjYz5n6.js +0 -0
- package/.output/public/_nuxt/iatO0zkI.js +0 -1
- package/.output/public/_nuxt/jieRiiOw.js +0 -0
- package/.output/public/_nuxt/lAhMwKxb.js +0 -1
- package/.output/public/_nuxt/mHcxE7OD.js +0 -0
- package/.output/public/_nuxt/n17zLPF6.js +0 -0
- package/.output/public/_nuxt/ncv2QjU2.js +0 -1
- package/.output/public/_nuxt/osXHzmfu.js +0 -1
- package/.output/public/_nuxt/plapqmiu.js +0 -1
- package/.output/public/_nuxt/pnNmDVjA.js +0 -0
- package/.output/public/_nuxt/rxAL1Pmw.js +0 -1
- package/.output/public/_nuxt/ryzXmKdZ.js +0 -1
- package/.output/public/_nuxt/t9C3L8ir.js +0 -1
- package/.output/public/_nuxt/wQgAJ5T0.js +0 -1
- package/.output/public/_nuxt/z6h75OXJ.js +0 -1
- package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.22/dist/compiler-core.cjs.prod.js +0 -6741
- package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.22/package.json +0 -58
- package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.25/dist/compiler-dom.cjs.prod.js +0 -689
- package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.25/package.json +0 -57
- package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.22/dist/reactivity.cjs.prod.js +0 -1807
- package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.25/package.json +0 -55
- package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.22/dist/runtime-core.cjs.prod.js +0 -6732
- package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.25/package.json +0 -52
- package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.22/dist/runtime-dom.cjs.prod.js +0 -1703
- package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.25/package.json +0 -60
- package/.output/server/node_modules/.nitro/@vue/shared@3.5.22/dist/shared.cjs.prod.js +0 -604
- package/.output/server/node_modules/.nitro/@vue/shared@3.5.25/package.json +0 -47
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-html.js +0 -9
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-xml.js +0 -9
- package/.output/server/node_modules/.nitro/property-information@6.5.0/index.js +0 -18
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/aria.js +0 -59
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/find.js +0 -68
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/hast-to-react.js +0 -28
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/html.js +0 -322
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/normalize.js +0 -7
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/svg.js +0 -567
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-insensitive-transform.js +0 -10
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-sensitive-transform.js +0 -8
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/create.js +0 -58
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/defined-info.js +0 -44
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/info.js +0 -25
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/merge.js +0 -26
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/schema.js +0 -28
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xlink.js +0 -17
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xml.js +0 -9
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xmlns.js +0 -9
- package/.output/server/node_modules/.nitro/property-information@6.5.0/package.json +0 -93
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/types.js +0 -13
- package/.output/server/node_modules/.nitro/vue@3.5.22/dist/vue.cjs.prod.js +0 -66
- package/.output/server/node_modules/.nitro/vue@3.5.22/package.json +0 -112
- package/.output/server/node_modules/.nitro/vue@3.5.25/dist/vue.cjs.js +0 -80
- package/.output/server/node_modules/.nitro/vue@3.5.25/index.js +0 -7
- package/.output/server/node_modules/.nitro/vue@3.5.25/index.mjs +0 -1
- package/.output/server/node_modules/@lukeed/ms/dist/index.mjs +0 -34
- package/.output/server/node_modules/@lukeed/ms/package.json +0 -48
- package/.output/server/node_modules/@poppinss/string/build/chunk-LJJE2S3U.js +0 -407
- package/.output/server/node_modules/bytes/index.js +0 -170
- package/.output/server/node_modules/bytes/package.json +0 -42
- package/.output/server/node_modules/truncatise/index.js +0 -188
- package/.output/server/node_modules/truncatise/package.json +0 -36
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/index.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/aria.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/find.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/hast-to-react.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/html.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/normalize.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/svg.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/case-insensitive-transform.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/case-sensitive-transform.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/create.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/defined-info.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/info.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/merge.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/schema.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@6.5.0 → property-information}/lib/util/types.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xlink.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xml.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xmlns.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/package.json +0 -0
- /package/.output/server/node_modules/{.nitro/vue@3.5.22 → vue}/index.js +0 -0
- /package/.output/server/node_modules/{.nitro/vue@3.5.22 → vue}/index.mjs +0 -0
- /package/.output/server/node_modules/{.nitro/vue@3.5.25 → vue}/server-renderer/index.mjs +0 -0
package/.nuxt/dev/index.mjs
CHANGED
|
@@ -3,21 +3,21 @@ import { Server } from 'node:http';
|
|
|
3
3
|
import { resolve as resolve$1, dirname, join } from 'node:path';
|
|
4
4
|
import crypto$1 from 'node:crypto';
|
|
5
5
|
import { parentPort, threadId } from 'node:worker_threads';
|
|
6
|
-
import { defineEventHandler, handleCacheHeaders, splitCookiesString, createEvent, fetchWithEvent, isEvent, eventHandler, setHeaders, sendRedirect, proxyRequest, getRequestHeader, setResponseHeaders, setResponseStatus, send, getRequestHeaders, setResponseHeader, appendResponseHeader, getRequestURL, getResponseHeader, setCookie, getResponseStatus, createError, useSession,
|
|
7
|
-
import { escapeHtml } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/@vue+shared@3.5.
|
|
6
|
+
import { defineEventHandler, handleCacheHeaders, splitCookiesString, createEvent, fetchWithEvent, isEvent, eventHandler, setHeaders, sendRedirect, proxyRequest, getRequestHeader, setResponseHeaders, setResponseStatus, send, getRequestHeaders, setResponseHeader, appendResponseHeader, getRequestURL, getResponseHeader, setCookie, getResponseStatus, createError, useSession, getRequestProtocol, getRequestHost, getQuery as getQuery$1, removeResponseHeader, readBody, handleCors, getRequestIP, readMultipartFormData, setHeader, getHeader, getRouterParam, lazyEventHandler, useBase, createApp, createRouter as createRouter$1, toNodeListener, getResponseStatusText } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/h3@1.15.4/node_modules/h3/dist/index.mjs';
|
|
7
|
+
import { escapeHtml } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/@vue+shared@3.5.26/node_modules/@vue/shared/dist/shared.cjs.js';
|
|
8
8
|
import { createRenderer, getRequestDependencies, getPreloadLinks, getPrefetchLinks } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/vue-bundle-renderer@2.2.0/node_modules/vue-bundle-renderer/dist/runtime.mjs';
|
|
9
9
|
import destr, { destr as destr$1 } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs';
|
|
10
10
|
import process$1 from 'node:process';
|
|
11
|
-
import { renderToString } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/vue@3.5.
|
|
11
|
+
import { renderToString } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/vue@3.5.26_typescript@5.9.3/node_modules/vue/server-renderer/index.mjs';
|
|
12
12
|
import { klona } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/klona@2.0.6/node_modules/klona/dist/index.mjs';
|
|
13
13
|
import defu, { defuFn, defu as defu$1, createDefu } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs';
|
|
14
14
|
import { snakeCase } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs';
|
|
15
|
-
import { createHead as createHead$1, propsToString, renderSSRHead } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/unhead@2.
|
|
16
|
-
import { stringify, uneval } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/devalue@5.
|
|
17
|
-
import { toValue, isVNode, isRef } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/vue@3.5.
|
|
15
|
+
import { createHead as createHead$1, propsToString, renderSSRHead } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/unhead@2.1.1/node_modules/unhead/dist/server.mjs';
|
|
16
|
+
import { stringify, uneval } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/devalue@5.6.1/node_modules/devalue/index.js';
|
|
17
|
+
import { toValue, isVNode, isRef } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/vue@3.5.26_typescript@5.9.3/node_modules/vue/index.mjs';
|
|
18
18
|
import { createHooks } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.mjs';
|
|
19
19
|
import { createFetch, Headers as Headers$1 } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.mjs';
|
|
20
|
-
import { fetchNodeRequestHandler, callNodeRequestHandler } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/node-mock-http@1.0.
|
|
20
|
+
import { fetchNodeRequestHandler, callNodeRequestHandler } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/node-mock-http@1.0.4/node_modules/node-mock-http/dist/index.mjs';
|
|
21
21
|
import { createStorage, prefixStorage } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/unstorage@1.17.3_db0@0.3.4__4da4c62faaa9109d20cb0ff1df827498/node_modules/unstorage/dist/index.mjs';
|
|
22
22
|
import unstorage_47drivers_47fs from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/unstorage@1.17.3_db0@0.3.4__4da4c62faaa9109d20cb0ff1df827498/node_modules/unstorage/drivers/fs.mjs';
|
|
23
23
|
import unstorage_47drivers_47lru_45cache from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/unstorage@1.17.3_db0@0.3.4__4da4c62faaa9109d20cb0ff1df827498/node_modules/unstorage/drivers/lru-cache.mjs';
|
|
@@ -29,17 +29,16 @@ import { ErrorParser } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/youch-c
|
|
|
29
29
|
import { Youch } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/youch@4.1.0-beta.13/node_modules/youch/build/index.js';
|
|
30
30
|
import { SourceMapConsumer } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/source-map.js';
|
|
31
31
|
import devalue from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/@nuxt+devalue@2.0.2/node_modules/@nuxt/devalue/dist/devalue.mjs';
|
|
32
|
-
import { toValue as toValue$1 } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/vue@3.5.22_typescript@5.9.3/node_modules/vue/index.mjs';
|
|
33
32
|
import { createPathIndexLanguageParser, parseAcceptLanguage } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/@intlify+utils@0.13.0/node_modules/@intlify/utils/dist/index.mjs';
|
|
34
33
|
import { parse } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/cookie-es@2.0.0/node_modules/cookie-es/dist/index.mjs';
|
|
35
|
-
import { createRouterMatcher } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/vue-router@4.6.
|
|
34
|
+
import { createRouterMatcher } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/vue-router@4.6.4_vue@3.5.26_typescript@5.9.3_/node_modules/vue-router/vue-router.node.mjs';
|
|
36
35
|
import { AsyncLocalStorage } from 'node:async_hooks';
|
|
37
|
-
import { getContext } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/unctx@2.
|
|
36
|
+
import { getContext } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.mjs';
|
|
38
37
|
import { captureRawStackTrace, parseRawStackTrace } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/errx@0.1.0/node_modules/errx/dist/index.js';
|
|
39
38
|
import fs, { promises } from 'node:fs';
|
|
40
39
|
import { fileURLToPath } from 'node:url';
|
|
41
40
|
import { dirname as dirname$1, resolve as resolve$2 } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/index.mjs';
|
|
42
|
-
import { walkResolver } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/unhead@2.
|
|
41
|
+
import { walkResolver } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/unhead@2.1.1/node_modules/unhead/dist/utils.mjs';
|
|
43
42
|
import { FilterXSS } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/xss@1.0.15/node_modules/xss/lib/index.js';
|
|
44
43
|
import { basename, resolve as resolve$3, isAbsolute } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/index.mjs';
|
|
45
44
|
import { getIcons } from 'file://C:/Git/nuxt-ignis/node_modules/.pnpm/@iconify+utils@3.1.0/node_modules/@iconify/utils/lib/index.js';
|
|
@@ -265,9 +264,6 @@ function joinRelativeURL(..._input) {
|
|
|
265
264
|
function withHttps(input) {
|
|
266
265
|
return withProtocol(input, "https://");
|
|
267
266
|
}
|
|
268
|
-
function withoutProtocol(input) {
|
|
269
|
-
return withProtocol(input, "");
|
|
270
|
-
}
|
|
271
267
|
function withProtocol(input, protocol) {
|
|
272
268
|
let match = input.match(PROTOCOL_REGEX);
|
|
273
269
|
if (!match) {
|
|
@@ -1375,10 +1371,12 @@ const _inlineRuntimeConfig = {
|
|
|
1375
1371
|
"loadStrategy": "server-first"
|
|
1376
1372
|
},
|
|
1377
1373
|
"nuxt-link-checker": {
|
|
1378
|
-
"version": "4.3.
|
|
1374
|
+
"version": "4.3.9",
|
|
1379
1375
|
"hasSitemapModule": true,
|
|
1380
1376
|
"rootDir": "C:/Git/nuxt-ignis/core",
|
|
1381
|
-
"excludeLinks": [
|
|
1377
|
+
"excludeLinks": [
|
|
1378
|
+
{}
|
|
1379
|
+
],
|
|
1382
1380
|
"skipInspections": [],
|
|
1383
1381
|
"fetchTimeout": 10000,
|
|
1384
1382
|
"showLiveInspections": false,
|
|
@@ -1906,7 +1904,7 @@ const _inlineRuntimeConfig = {
|
|
|
1906
1904
|
}
|
|
1907
1905
|
],
|
|
1908
1906
|
"credits": true,
|
|
1909
|
-
"version": "7.
|
|
1907
|
+
"version": "7.5.0",
|
|
1910
1908
|
"sitemaps": {
|
|
1911
1909
|
"sitemap.xml": {
|
|
1912
1910
|
"sitemapName": "sitemap.xml",
|
|
@@ -1937,12 +1935,12 @@ const _inlineRuntimeConfig = {
|
|
|
1937
1935
|
"description": "A ready-to-use setup for your next application in Nuxt"
|
|
1938
1936
|
}
|
|
1939
1937
|
],
|
|
1940
|
-
"version": "3.2.
|
|
1938
|
+
"version": "3.2.14",
|
|
1941
1939
|
"debug": false,
|
|
1942
1940
|
"multiTenancy": []
|
|
1943
1941
|
},
|
|
1944
1942
|
"nuxt-robots": {
|
|
1945
|
-
"version": "5.
|
|
1943
|
+
"version": "5.6.7",
|
|
1946
1944
|
"isNuxtContentV2": false,
|
|
1947
1945
|
"debug": false,
|
|
1948
1946
|
"credits": true,
|
|
@@ -1956,6 +1954,7 @@ const _inlineRuntimeConfig = {
|
|
|
1956
1954
|
],
|
|
1957
1955
|
"allow": [],
|
|
1958
1956
|
"contentUsage": [],
|
|
1957
|
+
"contentSignal": [],
|
|
1959
1958
|
"_indexable": true,
|
|
1960
1959
|
"_rules": [],
|
|
1961
1960
|
"_normalized": true
|
|
@@ -1976,7 +1975,7 @@ const _inlineRuntimeConfig = {
|
|
|
1976
1975
|
"fs": {
|
|
1977
1976
|
"dir": [
|
|
1978
1977
|
"C:/Git/nuxt-ignis/core/public",
|
|
1979
|
-
"C:/Git/nuxt-ignis/node_modules/.pnpm/nuxt-spec@0.1.14_@parcel+
|
|
1978
|
+
"C:/Git/nuxt-ignis/node_modules/.pnpm/nuxt-spec@0.1.14_@parcel+wa_c2eaaf0da782f8d628b3259f05d38111/node_modules/nuxt-spec/public"
|
|
1980
1979
|
]
|
|
1981
1980
|
},
|
|
1982
1981
|
"http": {
|
|
@@ -2533,10 +2532,11 @@ const errorHandler$0 = (async function errorhandler(error, event, { defaultHandl
|
|
|
2533
2532
|
setResponseHeader(event, header, value);
|
|
2534
2533
|
}
|
|
2535
2534
|
setResponseStatus(event, res.status && res.status !== 200 ? res.status : defaultRes.status, res.statusText || defaultRes.statusText);
|
|
2536
|
-
{
|
|
2535
|
+
if (!globalThis._importMeta_.test && typeof html === "string") {
|
|
2537
2536
|
const prettyResponse = await defaultHandler(error, event, { json: false });
|
|
2538
2537
|
return send(event, html.replace("</body>", `${generateErrorOverlayHTML(prettyResponse.body, { startMinimized: 300 <= statusCode && statusCode < 500 })}</body>`));
|
|
2539
2538
|
}
|
|
2539
|
+
return send(event, html);
|
|
2540
2540
|
});
|
|
2541
2541
|
|
|
2542
2542
|
function defineNitroErrorHandler(handler) {
|
|
@@ -2690,7 +2690,7 @@ if (!window.__NUXT_DEVTOOLS_TIME_METRIC__) {
|
|
|
2690
2690
|
window.__NUXT_DEVTOOLS_TIME_METRIC__.appInit = Date.now()
|
|
2691
2691
|
`;
|
|
2692
2692
|
|
|
2693
|
-
const
|
|
2693
|
+
const _w_SCNoWsVHOrMPgN__IwX4Z81uE3xByM5qGG8i998U = (function(nitro) {
|
|
2694
2694
|
nitro.hooks.hook("render:html", (htmlContext) => {
|
|
2695
2695
|
htmlContext.head.push(`<script>${script$1}<\/script>`);
|
|
2696
2696
|
});
|
|
@@ -2804,14 +2804,14 @@ function getSiteConfig(e, _options) {
|
|
|
2804
2804
|
return e.context.siteConfig.get(options);
|
|
2805
2805
|
}
|
|
2806
2806
|
|
|
2807
|
-
const
|
|
2807
|
+
const _Zn0TIjQWBh9KTD671uE6xJTA5SpaKNMELLIwnOvm9z0 = defineNitroPlugin(async (nitroApp) => {
|
|
2808
2808
|
nitroApp.hooks.hook("render:html", async (ctx, { event }) => {
|
|
2809
2809
|
getRouteRules(event);
|
|
2810
2810
|
process.env.NUXT_COMPONENT_ISLANDS && event.path.startsWith("/__nuxt_island");
|
|
2811
2811
|
event.path;
|
|
2812
2812
|
{
|
|
2813
2813
|
const siteConfig = Object.fromEntries(
|
|
2814
|
-
Object.entries(getSiteConfig(event)).map(([k, v]) => [k, toValue
|
|
2814
|
+
Object.entries(getSiteConfig(event)).map(([k, v]) => [k, toValue(v)])
|
|
2815
2815
|
);
|
|
2816
2816
|
ctx.body.push(`<script>window.__NUXT_SITE_CONFIG__=${devalue(siteConfig)}<\/script>`);
|
|
2817
2817
|
}
|
|
@@ -3070,6 +3070,30 @@ const BOT_MAP = [
|
|
|
3070
3070
|
trusted: false
|
|
3071
3071
|
}
|
|
3072
3072
|
];
|
|
3073
|
+
|
|
3074
|
+
const ROBOT_DIRECTIVE_VALUES = {
|
|
3075
|
+
// Standard directives
|
|
3076
|
+
enabled: "index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1",
|
|
3077
|
+
disabled: "noindex, nofollow",
|
|
3078
|
+
index: "index",
|
|
3079
|
+
noindex: "noindex",
|
|
3080
|
+
follow: "follow",
|
|
3081
|
+
nofollow: "nofollow",
|
|
3082
|
+
none: "none",
|
|
3083
|
+
all: "all",
|
|
3084
|
+
// Non-standard directives (not part of official robots spec)
|
|
3085
|
+
noai: "noai",
|
|
3086
|
+
noimageai: "noimageai"
|
|
3087
|
+
};
|
|
3088
|
+
function formatMaxImagePreview(value) {
|
|
3089
|
+
return `max-image-preview:${value}`;
|
|
3090
|
+
}
|
|
3091
|
+
function formatMaxSnippet(value) {
|
|
3092
|
+
return `max-snippet:${value}`;
|
|
3093
|
+
}
|
|
3094
|
+
function formatMaxVideoPreview(value) {
|
|
3095
|
+
return `max-video-preview:${value}`;
|
|
3096
|
+
}
|
|
3073
3097
|
function matches(pattern, path) {
|
|
3074
3098
|
const pathLength = path.length;
|
|
3075
3099
|
const patternLength = pattern.length;
|
|
@@ -3125,6 +3149,22 @@ function matchPathToRule(path, _rules) {
|
|
|
3125
3149
|
function asArray(v) {
|
|
3126
3150
|
return typeof v === "undefined" ? [] : Array.isArray(v) ? v : [v];
|
|
3127
3151
|
}
|
|
3152
|
+
function contentUsageToString(prefs) {
|
|
3153
|
+
return Object.entries(prefs).filter(([_, value]) => value !== void 0).map(([key, value]) => `${key}=${value}`).join(", ");
|
|
3154
|
+
}
|
|
3155
|
+
function normalizeContentPreferences(value) {
|
|
3156
|
+
if (!value)
|
|
3157
|
+
return [];
|
|
3158
|
+
if (Array.isArray(value))
|
|
3159
|
+
return value.filter((rule) => Boolean(rule));
|
|
3160
|
+
if (typeof value === "object" && !Array.isArray(value)) {
|
|
3161
|
+
const str = contentUsageToString(value);
|
|
3162
|
+
return str ? [str] : [];
|
|
3163
|
+
}
|
|
3164
|
+
if (typeof value === "string")
|
|
3165
|
+
return value ? [value] : [];
|
|
3166
|
+
return [];
|
|
3167
|
+
}
|
|
3128
3168
|
function normalizeGroup(group) {
|
|
3129
3169
|
if (group._normalized) {
|
|
3130
3170
|
const resolvedGroup = group;
|
|
@@ -3138,13 +3178,15 @@ function normalizeGroup(group) {
|
|
|
3138
3178
|
}
|
|
3139
3179
|
const disallow = asArray(group.disallow);
|
|
3140
3180
|
const allow = asArray(group.allow).filter((rule) => Boolean(rule));
|
|
3141
|
-
const contentUsage =
|
|
3181
|
+
const contentUsage = normalizeContentPreferences(group.contentUsage);
|
|
3182
|
+
const contentSignal = normalizeContentPreferences(group.contentSignal);
|
|
3142
3183
|
return {
|
|
3143
3184
|
...group,
|
|
3144
3185
|
userAgent: group.userAgent ? asArray(group.userAgent) : ["*"],
|
|
3145
3186
|
disallow,
|
|
3146
3187
|
allow,
|
|
3147
3188
|
contentUsage,
|
|
3189
|
+
contentSignal,
|
|
3148
3190
|
_indexable: !disallow.includes("/"),
|
|
3149
3191
|
_rules: [
|
|
3150
3192
|
...disallow.filter(Boolean).map((r) => ({ pattern: r, allow: false })),
|
|
@@ -3168,6 +3210,8 @@ function generateRobotsTxt({ groups, sitemaps }) {
|
|
|
3168
3210
|
lines.push(`Clean-param: ${cleanParam}`);
|
|
3169
3211
|
for (const contentUsage of group.contentUsage || [])
|
|
3170
3212
|
lines.push(`Content-Usage: ${contentUsage}`);
|
|
3213
|
+
for (const contentSignal of group.contentSignal || [])
|
|
3214
|
+
lines.push(`Content-Signal: ${contentSignal}`);
|
|
3171
3215
|
lines.push("");
|
|
3172
3216
|
}
|
|
3173
3217
|
for (const sitemap of sitemaps)
|
|
@@ -3195,6 +3239,51 @@ function createPatternMap() {
|
|
|
3195
3239
|
}
|
|
3196
3240
|
return patternMap;
|
|
3197
3241
|
}
|
|
3242
|
+
function normaliseRobotsRouteRule(config) {
|
|
3243
|
+
let allow;
|
|
3244
|
+
if (typeof config.robots === "boolean")
|
|
3245
|
+
allow = config.robots;
|
|
3246
|
+
else if (typeof config.robots === "object" && "indexable" in config.robots && typeof config.robots.indexable !== "undefined")
|
|
3247
|
+
allow = config.robots.indexable;
|
|
3248
|
+
let rule;
|
|
3249
|
+
if (typeof config.robots === "object" && config.robots !== null) {
|
|
3250
|
+
if ("rule" in config.robots && typeof config.robots.rule !== "undefined") {
|
|
3251
|
+
rule = config.robots.rule;
|
|
3252
|
+
} else if (!("indexable" in config.robots)) {
|
|
3253
|
+
const directives = [];
|
|
3254
|
+
for (const [key, value] of Object.entries(config.robots)) {
|
|
3255
|
+
if (value === false || value === null || value === void 0)
|
|
3256
|
+
continue;
|
|
3257
|
+
if (key in ROBOT_DIRECTIVE_VALUES && typeof value === "boolean" && value) {
|
|
3258
|
+
directives.push(ROBOT_DIRECTIVE_VALUES[key]);
|
|
3259
|
+
} else if (key === "max-image-preview" && typeof value === "string") {
|
|
3260
|
+
directives.push(formatMaxImagePreview(value));
|
|
3261
|
+
} else if (key === "max-snippet" && typeof value === "number") {
|
|
3262
|
+
directives.push(formatMaxSnippet(value));
|
|
3263
|
+
} else if (key === "max-video-preview" && typeof value === "number") {
|
|
3264
|
+
directives.push(formatMaxVideoPreview(value));
|
|
3265
|
+
}
|
|
3266
|
+
}
|
|
3267
|
+
if (directives.length > 0) {
|
|
3268
|
+
rule = directives.join(", ");
|
|
3269
|
+
}
|
|
3270
|
+
}
|
|
3271
|
+
} else if (typeof config.robots === "string") {
|
|
3272
|
+
rule = config.robots;
|
|
3273
|
+
}
|
|
3274
|
+
if (rule && typeof allow === "undefined") {
|
|
3275
|
+
const disallowIndicators = ["none", "noindex", "noai", "noimageai"];
|
|
3276
|
+
allow = !disallowIndicators.some(
|
|
3277
|
+
(indicator) => rule === indicator || rule.split(",").some((part) => part.trim() === indicator)
|
|
3278
|
+
);
|
|
3279
|
+
}
|
|
3280
|
+
if (typeof allow === "undefined" && typeof rule === "undefined")
|
|
3281
|
+
return;
|
|
3282
|
+
return {
|
|
3283
|
+
allow,
|
|
3284
|
+
rule
|
|
3285
|
+
};
|
|
3286
|
+
}
|
|
3198
3287
|
|
|
3199
3288
|
function useRuntimeConfigNuxtRobots(event) {
|
|
3200
3289
|
return useRuntimeConfig(event)["nuxt-robots"];
|
|
@@ -3217,7 +3306,7 @@ async function resolveRobotsTxtContext(e, nitro = useNitroApp()) {
|
|
|
3217
3306
|
return generateRobotsTxtCtx;
|
|
3218
3307
|
}
|
|
3219
3308
|
|
|
3220
|
-
const
|
|
3309
|
+
const _ZAgLRdUhp8Zt7vtFkaixxXqYUnoG64wVnb3BBHcHHU = defineNitroPlugin(async (nitroApp) => {
|
|
3221
3310
|
const { isNuxtContentV2, robotsDisabledValue, botDetection } = useRuntimeConfigNuxtRobots();
|
|
3222
3311
|
if (botDetection !== false) {
|
|
3223
3312
|
nitroApp._robotsPatternMap = createPatternMap();
|
|
@@ -3269,7 +3358,7 @@ function createI18nContext() {
|
|
|
3269
3358
|
}
|
|
3270
3359
|
|
|
3271
3360
|
/*!
|
|
3272
|
-
* shared v11.2.
|
|
3361
|
+
* shared v11.2.7
|
|
3273
3362
|
* (c) 2025 kazuya kawaguchi
|
|
3274
3363
|
* Released under the MIT License.
|
|
3275
3364
|
*/
|
|
@@ -3607,7 +3696,7 @@ function* detect(detectors, detection, path) {
|
|
|
3607
3696
|
}
|
|
3608
3697
|
yield { locale: detection.fallbackLocale, source: "fallback" };
|
|
3609
3698
|
}
|
|
3610
|
-
const
|
|
3699
|
+
const _vSAjmViAuf8beEPzzugIlKydW5HkGhpeBGueyLuLv1o = defineNitroPlugin(async (nitro) => {
|
|
3611
3700
|
const runtimeI18n = useRuntimeI18n();
|
|
3612
3701
|
const rootRedirect = resolveRootRedirect(runtimeI18n.rootRedirect);
|
|
3613
3702
|
const _defaultLocale = runtimeI18n.defaultLocale || "";
|
|
@@ -3716,7 +3805,7 @@ const devReducers = {
|
|
|
3716
3805
|
URL: (data) => data instanceof URL ? data.toString() : void 0
|
|
3717
3806
|
};
|
|
3718
3807
|
const asyncContext = getContext("nuxt-dev", { asyncContext: true, AsyncLocalStorage });
|
|
3719
|
-
const
|
|
3808
|
+
const _Si6pegzvrTRroR7Bt_ATgVC_y_ydi9i42yQBhZNYjZs = (nitroApp) => {
|
|
3720
3809
|
const handler = nitroApp.h3App.handler;
|
|
3721
3810
|
nitroApp.h3App.handler = (event) => {
|
|
3722
3811
|
return asyncContext.callAsync({ logs: [], event }, () => handler(event));
|
|
@@ -3836,6 +3925,8 @@ function defineRenderHandler(render) {
|
|
|
3836
3925
|
});
|
|
3837
3926
|
}
|
|
3838
3927
|
|
|
3928
|
+
const r=Object.create(null),i=e=>globalThis.process?.env||globalThis._importMeta_.env||globalThis.Deno?.env.toObject()||globalThis.__env__||(e?r:globalThis),o=new Proxy(r,{get(e,s){return i()[s]??r[s]},has(e,s){const E=i();return s in E||s in r},set(e,s,E){const B=i(true);return B[s]=E,true},deleteProperty(e,s){if(!s)return false;const E=i(true);return delete E[s],true},ownKeys(){const e=i(true);return Object.keys(e)}}),t=typeof process<"u"&&process.env&&"development"||"",f=[["APPVEYOR"],["AWS_AMPLIFY","AWS_APP_ID",{ci:true}],["AZURE_PIPELINES","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],["AZURE_STATIC","INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"],["APPCIRCLE","AC_APPCIRCLE"],["BAMBOO","bamboo_planKey"],["BITBUCKET","BITBUCKET_COMMIT"],["BITRISE","BITRISE_IO"],["BUDDY","BUDDY_WORKSPACE_ID"],["BUILDKITE"],["CIRCLE","CIRCLECI"],["CIRRUS","CIRRUS_CI"],["CLOUDFLARE_PAGES","CF_PAGES",{ci:true}],["CLOUDFLARE_WORKERS","WORKERS_CI",{ci:true}],["CODEBUILD","CODEBUILD_BUILD_ARN"],["CODEFRESH","CF_BUILD_ID"],["DRONE"],["DRONE","DRONE_BUILD_EVENT"],["DSARI"],["GITHUB_ACTIONS"],["GITLAB","GITLAB_CI"],["GITLAB","CI_MERGE_REQUEST_ID"],["GOCD","GO_PIPELINE_LABEL"],["LAYERCI"],["HUDSON","HUDSON_URL"],["JENKINS","JENKINS_URL"],["MAGNUM"],["NETLIFY"],["NETLIFY","NETLIFY_LOCAL",{ci:false}],["NEVERCODE"],["RENDER"],["SAIL","SAILCI"],["SEMAPHORE"],["SCREWDRIVER"],["SHIPPABLE"],["SOLANO","TDDIUM"],["STRIDER"],["TEAMCITY","TEAMCITY_VERSION"],["TRAVIS"],["VERCEL","NOW_BUILDER"],["VERCEL","VERCEL",{ci:false}],["VERCEL","VERCEL_ENV",{ci:false}],["APPCENTER","APPCENTER_BUILD_ID"],["CODESANDBOX","CODESANDBOX_SSE",{ci:false}],["CODESANDBOX","CODESANDBOX_HOST",{ci:false}],["STACKBLITZ"],["STORMKIT"],["CLEAVR"],["ZEABUR"],["CODESPHERE","CODESPHERE_APP_ID",{ci:true}],["RAILWAY","RAILWAY_PROJECT_ID"],["RAILWAY","RAILWAY_SERVICE_ID"],["DENO-DEPLOY","DENO_DEPLOYMENT_ID"],["FIREBASE_APP_HOSTING","FIREBASE_APP_HOSTING",{ci:true}]];function b(){if(globalThis.process?.env)for(const e of f){const s=e[1]||e[0];if(globalThis.process?.env[s])return {name:e[0].toLowerCase(),...e[2]}}return globalThis.process?.env?.SHELL==="/bin/jsh"&&globalThis.process?.versions?.webcontainer?{name:"stackblitz",ci:false}:{name:"",ci:false}}const l=b();l.name;function n(e){return e?e!=="false":false}const I=globalThis.process?.platform||"",T=n(o.CI)||l.ci!==false,R=n(globalThis.process?.stdout&&globalThis.process?.stdout.isTTY);n(o.DEBUG);const a=t==="test"||n(o.TEST),h=t==="dev"||t==="development";n(o.MINIMAL)||T||a||!R;const A=/^win/i.test(I);!n(o.NO_COLOR)&&(n(o.FORCE_COLOR)||(R||A)&&o.TERM!=="dumb"||T);const C=(globalThis.process?.versions?.node||"").replace(/^v/,"")||null;Number(C?.split(".")[0])||null;const W=globalThis.process||Object.create(null),_={versions:{}};new Proxy(W,{get(e,s){if(s==="env")return o;if(s in e)return e[s];if(s in _)return _[s]}});const O=globalThis.process?.release?.name==="node",c=!!globalThis.Bun||!!globalThis.process?.versions?.bun,D=!!globalThis.Deno,L=!!globalThis.fastly,S=!!globalThis.Netlify,u=!!globalThis.EdgeRuntime,N=globalThis.navigator?.userAgent==="Cloudflare-Workers",F=[[S,"netlify"],[u,"edge-light"],[N,"workerd"],[L,"fastly"],[D,"deno"],[c,"bun"],[O,"node"]];function G(){const e=F.find(s=>s[0]);if(e)return {name:e[1]}}const P=G();P?.name||"";
|
|
3929
|
+
|
|
3839
3930
|
const scheduledTasks = false;
|
|
3840
3931
|
|
|
3841
3932
|
const tasks = {
|
|
@@ -4083,6 +4174,7 @@ function escapeIfNeeded(value) {
|
|
|
4083
4174
|
|
|
4084
4175
|
async function debugSQLIfAllowed(sqlString) {
|
|
4085
4176
|
if (useRuntimeConfig().public.neonDebugSQL === true) {
|
|
4177
|
+
console.log(sqlString);
|
|
4086
4178
|
await useStorage().setItem("neonSQLQuery", sqlString);
|
|
4087
4179
|
}
|
|
4088
4180
|
}
|
|
@@ -4095,10 +4187,15 @@ async function count(neon, query) {
|
|
|
4095
4187
|
return await select(neon, { ...query, columns: ["count(*)"] });
|
|
4096
4188
|
}
|
|
4097
4189
|
async function select(neon, query) {
|
|
4190
|
+
console.log(query);
|
|
4098
4191
|
let sqlString = "SELECT ";
|
|
4099
4192
|
sqlString += getColumnsClause(query.columns);
|
|
4100
4193
|
sqlString += getTableClause(query.from);
|
|
4101
|
-
|
|
4194
|
+
console.log("good");
|
|
4195
|
+
sqlString += getWhereClause(query.where?.forEach((w) => {
|
|
4196
|
+
w.condition = w.condition ? w.condition.replace("LTE", "<").replace("GTE", ">") : w.condition;
|
|
4197
|
+
}));
|
|
4198
|
+
console.log("still good");
|
|
4102
4199
|
sqlString += getGroupByClause(query.group);
|
|
4103
4200
|
sqlString += getHavingClause(query.having);
|
|
4104
4201
|
sqlString += getOrderClause(query.order);
|
|
@@ -4428,32 +4525,53 @@ function _useSession(event, config = {}) {
|
|
|
4428
4525
|
return useSession(event, finalConfig);
|
|
4429
4526
|
}
|
|
4430
4527
|
|
|
4528
|
+
function getNitroOrigin$1(ctx = {}) {
|
|
4529
|
+
const isDev = ctx.isDev ?? h;
|
|
4530
|
+
const isPrerender = ctx.isPrerender ?? !!o.prerender;
|
|
4531
|
+
let host = "";
|
|
4532
|
+
let port = "";
|
|
4533
|
+
let protocol = o.NITRO_SSL_CERT && o.NITRO_SSL_KEY ? "https" : "http";
|
|
4534
|
+
if (isDev || isPrerender) {
|
|
4535
|
+
const devEnv = o.__NUXT_DEV__ || o.NUXT_VITE_NODE_OPTIONS;
|
|
4536
|
+
if (devEnv) {
|
|
4537
|
+
const parsed = JSON.parse(devEnv);
|
|
4538
|
+
const origin = parsed.proxy?.url || parsed.baseURL?.replace("/__nuxt_vite_node__", "");
|
|
4539
|
+
host = origin.replace(/^https?:\/\//, "");
|
|
4540
|
+
protocol = origin.startsWith("https") ? "https" : "http";
|
|
4541
|
+
}
|
|
4542
|
+
}
|
|
4543
|
+
if (!host && ctx.requestHost) {
|
|
4544
|
+
host = ctx.requestHost;
|
|
4545
|
+
protocol = ctx.requestProtocol || protocol;
|
|
4546
|
+
}
|
|
4547
|
+
if (!host) {
|
|
4548
|
+
host = o.NITRO_HOST || o.HOST || "";
|
|
4549
|
+
if (isDev)
|
|
4550
|
+
port = o.NITRO_PORT || o.PORT || "3000";
|
|
4551
|
+
}
|
|
4552
|
+
if (host.includes(":")) {
|
|
4553
|
+
const i = host.lastIndexOf(":");
|
|
4554
|
+
port = host.slice(i + 1);
|
|
4555
|
+
host = host.slice(0, i);
|
|
4556
|
+
}
|
|
4557
|
+
host = o.NUXT_SITE_HOST_OVERRIDE || host;
|
|
4558
|
+
port = o.NUXT_SITE_PORT_OVERRIDE || port;
|
|
4559
|
+
if (host.startsWith("http://") || host.startsWith("https://")) {
|
|
4560
|
+
protocol = host.startsWith("https://") ? "https" : "http";
|
|
4561
|
+
host = host.replace(/^https?:\/\//, "");
|
|
4562
|
+
} else if (!host.includes("localhost") && !host.startsWith("127.")) {
|
|
4563
|
+
protocol = "https";
|
|
4564
|
+
}
|
|
4565
|
+
return `${protocol}://${host}${port ? `:${port}` : ""}/`;
|
|
4566
|
+
}
|
|
4567
|
+
|
|
4431
4568
|
function getNitroOrigin(e) {
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
if (process.env.__NUXT_DEV__) {
|
|
4439
|
-
const origin = JSON.parse(process.env.__NUXT_DEV__).proxy.url;
|
|
4440
|
-
host = withoutProtocol(origin);
|
|
4441
|
-
protocol = origin.includes("https") ? "https" : "http";
|
|
4442
|
-
} else if (process.env.NUXT_VITE_NODE_OPTIONS) {
|
|
4443
|
-
const origin = JSON.parse(process.env.NUXT_VITE_NODE_OPTIONS).baseURL.replace("/__nuxt_vite_node__", "");
|
|
4444
|
-
host = withoutProtocol(origin);
|
|
4445
|
-
protocol = origin.includes("https") ? "https" : "http";
|
|
4446
|
-
} else if (e) {
|
|
4447
|
-
host = getRequestHost(e, { xForwardedHost: true }) || host;
|
|
4448
|
-
protocol = getRequestProtocol(e, { xForwardedProto: true }) || protocol;
|
|
4449
|
-
}
|
|
4450
|
-
if (typeof host === "string" && host.includes(":")) {
|
|
4451
|
-
const hostParts = host.split(":");
|
|
4452
|
-
port = hostParts.pop();
|
|
4453
|
-
host = hostParts.join(":") || false;
|
|
4454
|
-
}
|
|
4455
|
-
port = port ? `:${port}` : "";
|
|
4456
|
-
return withTrailingSlash(`${protocol}://${host}${port}`);
|
|
4569
|
+
return getNitroOrigin$1({
|
|
4570
|
+
isDev: true,
|
|
4571
|
+
isPrerender: false,
|
|
4572
|
+
requestHost: e ? getRequestHost(e, { xForwardedHost: true }) : void 0,
|
|
4573
|
+
requestProtocol: e ? getRequestProtocol(e, { xForwardedProto: true }) : void 0
|
|
4574
|
+
});
|
|
4457
4575
|
}
|
|
4458
4576
|
|
|
4459
4577
|
function getSiteIndexable(e) {
|
|
@@ -4641,30 +4759,6 @@ function withSiteUrl(e, path, options = {}) {
|
|
|
4641
4759
|
});
|
|
4642
4760
|
}
|
|
4643
4761
|
|
|
4644
|
-
const ROBOT_DIRECTIVE_VALUES = {
|
|
4645
|
-
// Standard directives
|
|
4646
|
-
enabled: "index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1",
|
|
4647
|
-
disabled: "noindex, nofollow",
|
|
4648
|
-
index: "index",
|
|
4649
|
-
noindex: "noindex",
|
|
4650
|
-
follow: "follow",
|
|
4651
|
-
nofollow: "nofollow",
|
|
4652
|
-
none: "none",
|
|
4653
|
-
all: "all",
|
|
4654
|
-
// Non-standard directives (not part of official robots spec)
|
|
4655
|
-
noai: "noai",
|
|
4656
|
-
noimageai: "noimageai"
|
|
4657
|
-
};
|
|
4658
|
-
function formatMaxImagePreview(value) {
|
|
4659
|
-
return `max-image-preview:${value}`;
|
|
4660
|
-
}
|
|
4661
|
-
function formatMaxSnippet(value) {
|
|
4662
|
-
return `max-snippet:${value}`;
|
|
4663
|
-
}
|
|
4664
|
-
function formatMaxVideoPreview(value) {
|
|
4665
|
-
return `max-video-preview:${value}`;
|
|
4666
|
-
}
|
|
4667
|
-
|
|
4668
4762
|
function withoutQuery$1(path) {
|
|
4669
4763
|
return path.split("?")[0];
|
|
4670
4764
|
}
|
|
@@ -4685,52 +4779,6 @@ function createNitroRouteRuleMatcher$1(e) {
|
|
|
4685
4779
|
};
|
|
4686
4780
|
}
|
|
4687
4781
|
|
|
4688
|
-
function normaliseRobotsRouteRule(config) {
|
|
4689
|
-
let allow;
|
|
4690
|
-
if (typeof config.robots === "boolean")
|
|
4691
|
-
allow = config.robots;
|
|
4692
|
-
else if (typeof config.robots === "object" && "indexable" in config.robots && typeof config.robots.indexable !== "undefined")
|
|
4693
|
-
allow = config.robots.indexable;
|
|
4694
|
-
let rule;
|
|
4695
|
-
if (typeof config.robots === "object" && config.robots !== null) {
|
|
4696
|
-
if ("rule" in config.robots && typeof config.robots.rule !== "undefined") {
|
|
4697
|
-
rule = config.robots.rule;
|
|
4698
|
-
} else if (!("indexable" in config.robots)) {
|
|
4699
|
-
const directives = [];
|
|
4700
|
-
for (const [key, value] of Object.entries(config.robots)) {
|
|
4701
|
-
if (value === false || value === null || value === void 0)
|
|
4702
|
-
continue;
|
|
4703
|
-
if (key in ROBOT_DIRECTIVE_VALUES && typeof value === "boolean" && value) {
|
|
4704
|
-
directives.push(ROBOT_DIRECTIVE_VALUES[key]);
|
|
4705
|
-
} else if (key === "max-image-preview" && typeof value === "string") {
|
|
4706
|
-
directives.push(formatMaxImagePreview(value));
|
|
4707
|
-
} else if (key === "max-snippet" && typeof value === "number") {
|
|
4708
|
-
directives.push(formatMaxSnippet(value));
|
|
4709
|
-
} else if (key === "max-video-preview" && typeof value === "number") {
|
|
4710
|
-
directives.push(formatMaxVideoPreview(value));
|
|
4711
|
-
}
|
|
4712
|
-
}
|
|
4713
|
-
if (directives.length > 0) {
|
|
4714
|
-
rule = directives.join(", ");
|
|
4715
|
-
}
|
|
4716
|
-
}
|
|
4717
|
-
} else if (typeof config.robots === "string") {
|
|
4718
|
-
rule = config.robots;
|
|
4719
|
-
}
|
|
4720
|
-
if (rule && typeof allow === "undefined") {
|
|
4721
|
-
const disallowIndicators = ["none", "noindex", "noai", "noimageai"];
|
|
4722
|
-
allow = !disallowIndicators.some(
|
|
4723
|
-
(indicator) => rule === indicator || rule.split(",").some((part) => part.trim() === indicator)
|
|
4724
|
-
);
|
|
4725
|
-
}
|
|
4726
|
-
if (typeof allow === "undefined" && typeof rule === "undefined")
|
|
4727
|
-
return;
|
|
4728
|
-
return {
|
|
4729
|
-
allow,
|
|
4730
|
-
rule
|
|
4731
|
-
};
|
|
4732
|
-
}
|
|
4733
|
-
|
|
4734
4782
|
function getSiteRobotConfig(e) {
|
|
4735
4783
|
const query = getQuery$1(e);
|
|
4736
4784
|
const hints = [];
|
|
@@ -5026,7 +5074,7 @@ function backwardsCompatibleSecurity(securityHeaders) {
|
|
|
5026
5074
|
return securityHeadersAsObject;
|
|
5027
5075
|
}
|
|
5028
5076
|
|
|
5029
|
-
const
|
|
5077
|
+
const _FFNedkM5SZopfRYB4BKq9aBU08RFJNhVnnZUUtYovc = defineNitroPlugin(async (nitroApp) => {
|
|
5030
5078
|
const appSecurityOptions = getAppSecurityOptions();
|
|
5031
5079
|
const runtimeConfig = useRuntimeConfig();
|
|
5032
5080
|
for (const route in runtimeConfig.nitro.routeRules) {
|
|
@@ -5070,11 +5118,11 @@ const _Khn2J8wxuh0GQgDozAvfM9LoOzEZoHzaNBzRfwlBcU = defineNitroPlugin(async (nit
|
|
|
5070
5118
|
await nitroApp.hooks.callHook("nuxt-security:ready");
|
|
5071
5119
|
});
|
|
5072
5120
|
|
|
5073
|
-
const sriHashes = {"/_nuxt/builds/meta/dev.json":"sha384-
|
|
5121
|
+
const sriHashes = {"/_nuxt/builds/meta/dev.json":"sha384-wFL2TUiINCjYCTz13jSAgOw6par/e5+NBLlLgrkp82rctAmcQrYj5S2Pz4mS3Jqq","/_nuxt/builds/latest.json":"sha384-DXEcAhrMjC/lXAqTB1AQgiVgnpoCCfQ8+4Gwf3aA4bGpEBt8x6hJGmm6IY0j0Akj","/favicon.ico":"sha384-qOhXBYvwwZHHuXW10XxZvVu9Mzkpqf/fw3zEOxCGyqOoKqyHbeudntAaY6nKOTro","/nuxt-ignis.png":"sha384-0A9c4mBzqU5z5xKB2ef9Sho451aXKA/G+oarzjR3hWMQaIvKYguRW7wYg95Yfei4","/unsplash.jpg":"sha384-66n0HIHfBVzK8qdw7zVfgwJ5htcrV6EtN2DQmlyxUIu46/kEKMRMqFrWKYm8bP18","/_ignis-config.json":"sha384-9GNVQUFQFtDz9ai1/QNGHSuqNbpv/mw0VHwh9BRcHlc9F/UV2eGAfzDkckI0o21c","/nuxt-spec.png":"sha384-lqerIwfMImy74T5uRR9ogeRAvkGehx21V4QBTVB0a6Zp+2VTFMZmjOtNAAti72LU"};
|
|
5074
5122
|
|
|
5075
5123
|
const SCRIPT_RE$1 = /<script((?=[^>]+\bsrc="([^"]+)")(?![^>]+\bintegrity="[^"]+")[^>]+)(?:\/>|><\/script>)/g;
|
|
5076
5124
|
const LINK_RE$1 = /<link((?=[^>]+\brel="(?:stylesheet|preload|modulepreload)")(?=[^>]+\bhref="([^"]+)")(?![^>]+\bintegrity="[\w\-+/=]+")[^>]+)>/g;
|
|
5077
|
-
const
|
|
5125
|
+
const _oiJ5ZJ_DwkdPfld7XGlvjU3GuyHYDN4LRs86zdiJXVo = defineNitroPlugin((nitroApp) => {
|
|
5078
5126
|
nitroApp.hooks.hook("render:html", (html, { event }) => {
|
|
5079
5127
|
const rules = resolveSecurityRules(event);
|
|
5080
5128
|
if (!rules.enabled || !rules.sri) {
|
|
@@ -5117,7 +5165,7 @@ function generateRandomNonce() {
|
|
|
5117
5165
|
return nonce;
|
|
5118
5166
|
}
|
|
5119
5167
|
|
|
5120
|
-
const
|
|
5168
|
+
const _Fw0JbntIm1WzY_n6DJ7pEpoHu3cXVEvgO9RV8E2k1eQ = defineNitroPlugin((nitroApp) => {
|
|
5121
5169
|
{
|
|
5122
5170
|
return;
|
|
5123
5171
|
}
|
|
@@ -5127,7 +5175,7 @@ const LINK_RE = /<link([^>]*?>)/gi;
|
|
|
5127
5175
|
const NONCE_RE = /nonce="[^"]+"/i;
|
|
5128
5176
|
const SCRIPT_RE = /<script([^>]*?>)/gi;
|
|
5129
5177
|
const STYLE_RE = /<style([^>]*?>)/gi;
|
|
5130
|
-
const
|
|
5178
|
+
const _IhsXKVLWoGOfXBrEPkCepER6fNPD87mCGjmZHRp7s = defineNitroPlugin((nitroApp) => {
|
|
5131
5179
|
nitroApp.hooks.hook("request", (event) => {
|
|
5132
5180
|
if (event.context.security?.nonce) {
|
|
5133
5181
|
return;
|
|
@@ -5173,7 +5221,7 @@ const _lziH1Yc6nLG_0ZtpgJb5fYbREGui52lZlq2no6dcjM = defineNitroPlugin((nitroApp)
|
|
|
5173
5221
|
});
|
|
5174
5222
|
});
|
|
5175
5223
|
|
|
5176
|
-
const
|
|
5224
|
+
const _bcshtX2T6lsqb5QgaOVq122BfOQkIrnyIGsvXyKZoxQ = defineNitroPlugin((nitroApp) => {
|
|
5177
5225
|
nitroApp.hooks.hook("render:html", (response, { event }) => {
|
|
5178
5226
|
if (response.island) {
|
|
5179
5227
|
return;
|
|
@@ -5221,13 +5269,13 @@ function updateCspVariables(csp, nonce, scriptHashes, styleHashes) {
|
|
|
5221
5269
|
return generatedCsp;
|
|
5222
5270
|
}
|
|
5223
5271
|
|
|
5224
|
-
const
|
|
5272
|
+
const _ywPGBM5qTtLLQn5M9IbEiybUYwnEziELEpREMDRC0xQ = defineNitroPlugin((nitroApp) => {
|
|
5225
5273
|
{
|
|
5226
5274
|
return;
|
|
5227
5275
|
}
|
|
5228
5276
|
});
|
|
5229
5277
|
|
|
5230
|
-
const
|
|
5278
|
+
const _PNEgarYwpPrH2oFWYy8IAbe0Pv4fKy08RE4kQ0jvNjQ = defineNitroPlugin((nitroApp) => {
|
|
5231
5279
|
nitroApp.hooks.hook("render:response", (response, { event }) => {
|
|
5232
5280
|
const rules = resolveSecurityRules(event);
|
|
5233
5281
|
if (rules.enabled && rules.headers) {
|
|
@@ -5250,7 +5298,7 @@ const _v6YH8brK2OXm7EOidUMKJ7wsRTTICZH8VcQodIpoxKM = defineNitroPlugin((nitroApp
|
|
|
5250
5298
|
});
|
|
5251
5299
|
});
|
|
5252
5300
|
|
|
5253
|
-
const
|
|
5301
|
+
const _no__LpBrdasB3nIWPORJf7rb6Wb1jAuBM7v5yENc9zs = defineNitroPlugin((nitroApp) => {
|
|
5254
5302
|
nitroApp.hooks.hook("beforeResponse", (event) => {
|
|
5255
5303
|
const rules = resolveSecurityRules(event);
|
|
5256
5304
|
if (rules.enabled && rules.hidePoweredBy && !event.node.res.headersSent) {
|
|
@@ -5259,7 +5307,7 @@ const _WjeBgOoZba238VMHfiumZ8XPiC7cLcxTm8ieEU1KdHk = defineNitroPlugin((nitroApp
|
|
|
5259
5307
|
});
|
|
5260
5308
|
});
|
|
5261
5309
|
|
|
5262
|
-
const
|
|
5310
|
+
const _jAUcIqAt6i2m6fnY_gYI62h_OiI9dTuaqqsv3lo4Qg = defineNitroPlugin(async (nitroApp) => {
|
|
5263
5311
|
{
|
|
5264
5312
|
const prerenderedHeaders = await useStorage("assets:nuxt-security").getItem("headers.json") || {};
|
|
5265
5313
|
nitroApp.hooks.hook("beforeResponse", (event) => {
|
|
@@ -5275,22 +5323,22 @@ const _poMC2XOyaNj4mqLKrPJEzVgKk30FUcp5xK0Xpup2tfM = defineNitroPlugin(async (ni
|
|
|
5275
5323
|
});
|
|
5276
5324
|
|
|
5277
5325
|
const plugins = [
|
|
5278
|
-
|
|
5326
|
+
_w_SCNoWsVHOrMPgN__IwX4Z81uE3xByM5qGG8i998U,
|
|
5279
5327
|
_RyteHlfbnG6rTSkGS9ScvveuuX1HdLHnSCGhefj0MTs,
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5328
|
+
_Zn0TIjQWBh9KTD671uE6xJTA5SpaKNMELLIwnOvm9z0,
|
|
5329
|
+
_ZAgLRdUhp8Zt7vtFkaixxXqYUnoG64wVnb3BBHcHHU,
|
|
5330
|
+
_vSAjmViAuf8beEPzzugIlKydW5HkGhpeBGueyLuLv1o,
|
|
5331
|
+
_Si6pegzvrTRroR7Bt_ATgVC_y_ydi9i42yQBhZNYjZs,
|
|
5284
5332
|
_XX9IEjVWshLmMVIqGp15oAxz0tYfztvz3LmypBh179E,
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5333
|
+
_FFNedkM5SZopfRYB4BKq9aBU08RFJNhVnnZUUtYovc,
|
|
5334
|
+
_oiJ5ZJ_DwkdPfld7XGlvjU3GuyHYDN4LRs86zdiJXVo,
|
|
5335
|
+
_Fw0JbntIm1WzY_n6DJ7pEpoHu3cXVEvgO9RV8E2k1eQ,
|
|
5336
|
+
_IhsXKVLWoGOfXBrEPkCepER6fNPD87mCGjmZHRp7s,
|
|
5337
|
+
_bcshtX2T6lsqb5QgaOVq122BfOQkIrnyIGsvXyKZoxQ,
|
|
5338
|
+
_ywPGBM5qTtLLQn5M9IbEiybUYwnEziELEpREMDRC0xQ,
|
|
5339
|
+
_PNEgarYwpPrH2oFWYy8IAbe0Pv4fKy08RE4kQ0jvNjQ,
|
|
5340
|
+
_no__LpBrdasB3nIWPORJf7rb6Wb1jAuBM7v5yENc9zs,
|
|
5341
|
+
_jAUcIqAt6i2m6fnY_gYI62h_OiI9dTuaqqsv3lo4Qg
|
|
5294
5342
|
];
|
|
5295
5343
|
|
|
5296
5344
|
const assets = {};
|
|
@@ -5318,7 +5366,7 @@ function getAsset (id) {
|
|
|
5318
5366
|
|
|
5319
5367
|
const METHODS = /* @__PURE__ */ new Set(["HEAD", "GET"]);
|
|
5320
5368
|
const EncodingMap = { gzip: ".gz", br: ".br" };
|
|
5321
|
-
const
|
|
5369
|
+
const _aBJLZz = eventHandler((event) => {
|
|
5322
5370
|
if (event.method && !METHODS.has(event.method)) {
|
|
5323
5371
|
return;
|
|
5324
5372
|
}
|
|
@@ -5784,7 +5832,7 @@ const defaultSecurityConfig = (serverlUrl, strict) => {
|
|
|
5784
5832
|
|
|
5785
5833
|
const FILE_UPLOAD_HEADER = "multipart/form-data";
|
|
5786
5834
|
const defaultSizeLimiter = defaultSecurityConfig("").requestSizeLimiter;
|
|
5787
|
-
const
|
|
5835
|
+
const _P5KhqA = defineEventHandler((event) => {
|
|
5788
5836
|
const rules = resolveSecurityRules(event);
|
|
5789
5837
|
if (rules.enabled && rules.requestSizeLimiter) {
|
|
5790
5838
|
const requestSizeLimiter = defu(
|
|
@@ -5810,7 +5858,7 @@ const _Mr3DCg = defineEventHandler((event) => {
|
|
|
5810
5858
|
}
|
|
5811
5859
|
});
|
|
5812
5860
|
|
|
5813
|
-
const
|
|
5861
|
+
const _uMfJTP = defineEventHandler((event) => {
|
|
5814
5862
|
const rules = resolveSecurityRules(event);
|
|
5815
5863
|
if (rules.enabled && rules.corsHandler) {
|
|
5816
5864
|
const { corsHandler } = rules;
|
|
@@ -5835,7 +5883,7 @@ const _J9iYGN = defineEventHandler((event) => {
|
|
|
5835
5883
|
}
|
|
5836
5884
|
});
|
|
5837
5885
|
|
|
5838
|
-
const
|
|
5886
|
+
const _TjfwyU = defineEventHandler((event) => {
|
|
5839
5887
|
const rules = resolveSecurityRules(event);
|
|
5840
5888
|
if (rules.enabled && rules.allowedMethodsRestricter) {
|
|
5841
5889
|
const { allowedMethodsRestricter } = rules;
|
|
@@ -5855,7 +5903,7 @@ const _8Tzlbs = defineEventHandler((event) => {
|
|
|
5855
5903
|
|
|
5856
5904
|
const storage$1 = useStorage("#rate-limiter-storage");
|
|
5857
5905
|
const defaultRateLimiter = defaultSecurityConfig("").rateLimiter;
|
|
5858
|
-
const
|
|
5906
|
+
const _3ipjNg = defineEventHandler(async (event) => {
|
|
5859
5907
|
const rules = resolveSecurityRules(event);
|
|
5860
5908
|
const route = resolveSecurityRoute(event);
|
|
5861
5909
|
if (rules.enabled && rules.rateLimiter) {
|
|
@@ -5918,7 +5966,7 @@ function getIP(event, customIpHeader) {
|
|
|
5918
5966
|
return ip;
|
|
5919
5967
|
}
|
|
5920
5968
|
|
|
5921
|
-
const
|
|
5969
|
+
const _p1m2Kd = defineEventHandler(async (event) => {
|
|
5922
5970
|
const rules = resolveSecurityRules(event);
|
|
5923
5971
|
if (rules.enabled && rules.xssValidator) {
|
|
5924
5972
|
const filterOpt = {
|
|
@@ -5962,7 +6010,7 @@ const _AfdJaK = defineEventHandler(async (event) => {
|
|
|
5962
6010
|
|
|
5963
6011
|
const warnOnceSet = /* @__PURE__ */ new Set();
|
|
5964
6012
|
const DEFAULT_ENDPOINT = "https://api.iconify.design";
|
|
5965
|
-
const
|
|
6013
|
+
const _s81vkT = defineCachedEventHandler(async (event) => {
|
|
5966
6014
|
const url = getRequestURL(event);
|
|
5967
6015
|
if (!url)
|
|
5968
6016
|
return createError({ status: 400, message: "Invalid icon request" });
|
|
@@ -6053,7 +6101,9 @@ const _kaOIzd = defineEventHandler(async (event) => {
|
|
|
6053
6101
|
|
|
6054
6102
|
const _KueSjI = defineEventHandler(async (event) => {
|
|
6055
6103
|
try {
|
|
6104
|
+
console.log("select called");
|
|
6056
6105
|
const body = await readBody(event);
|
|
6106
|
+
console.table(body);
|
|
6057
6107
|
const neon = getNeonClient();
|
|
6058
6108
|
const results = await select(neon, { ...body });
|
|
6059
6109
|
return results;
|
|
@@ -6124,7 +6174,7 @@ const _8YFWwD = eventHandler(async (event) => {
|
|
|
6124
6174
|
return data;
|
|
6125
6175
|
});
|
|
6126
6176
|
|
|
6127
|
-
const
|
|
6177
|
+
const _GDEiau = eventHandler(async (e) => {
|
|
6128
6178
|
if (e.context._initedSiteConfig)
|
|
6129
6179
|
return;
|
|
6130
6180
|
const runtimeConfig = useRuntimeConfig(e);
|
|
@@ -6175,7 +6225,7 @@ const _IK6gQT = eventHandler(async (e) => {
|
|
|
6175
6225
|
e.context._initedSiteConfig = true;
|
|
6176
6226
|
});
|
|
6177
6227
|
|
|
6178
|
-
const
|
|
6228
|
+
const _mIOHyL = eventHandler(async (e) => {
|
|
6179
6229
|
const siteConfig = getSiteConfig(e);
|
|
6180
6230
|
const nitroOrigin = getNitroOrigin(e);
|
|
6181
6231
|
const runtimeConfig = useRuntimeConfig(e);
|
|
@@ -6189,7 +6239,7 @@ const _ZNYVzl = eventHandler(async (e) => {
|
|
|
6189
6239
|
};
|
|
6190
6240
|
});
|
|
6191
6241
|
|
|
6192
|
-
const
|
|
6242
|
+
const _Q9QB_M = defineEventHandler(async (e) => {
|
|
6193
6243
|
const nitroApp = useNitroApp();
|
|
6194
6244
|
const { indexable, hints } = getSiteRobotConfig(e);
|
|
6195
6245
|
const { credits, isNuxtContentV2, cacheControl } = useRuntimeConfigNuxtRobots(e);
|
|
@@ -6248,7 +6298,7 @@ const _u0hDmD = defineEventHandler(async (e) => {
|
|
|
6248
6298
|
return hookCtx.robotsTxt;
|
|
6249
6299
|
});
|
|
6250
6300
|
|
|
6251
|
-
const
|
|
6301
|
+
const _OXTxFn = defineEventHandler(async (e) => {
|
|
6252
6302
|
if (e.path === "/robots.txt" || e.path.startsWith("/__") || e.path.startsWith("/api") || e.path.startsWith("/_nuxt"))
|
|
6253
6303
|
return;
|
|
6254
6304
|
const nuxtRobotsConfig = useRuntimeConfigNuxtRobots(e);
|
|
@@ -6259,10 +6309,15 @@ const _YPt12G = defineEventHandler(async (e) => {
|
|
|
6259
6309
|
setHeader(e, "X-Robots-Tag", robotConfig.rule);
|
|
6260
6310
|
}
|
|
6261
6311
|
e.context.robots = robotConfig;
|
|
6312
|
+
{
|
|
6313
|
+
const productionRobotConfig = getPathRobotConfig(e, { skipSiteIndexable: true });
|
|
6314
|
+
setHeader(e, "X-Robots-Production", productionRobotConfig.rule);
|
|
6315
|
+
e.context.robotsProduction = productionRobotConfig;
|
|
6316
|
+
}
|
|
6262
6317
|
}
|
|
6263
6318
|
});
|
|
6264
6319
|
|
|
6265
|
-
const
|
|
6320
|
+
const _C_LEvw = defineEventHandler(async (e) => {
|
|
6266
6321
|
const runtimeConfig = useRuntimeConfigNuxtRobots(e);
|
|
6267
6322
|
const { indexable, hints } = getSiteRobotConfig(e);
|
|
6268
6323
|
const siteConfig = useSiteConfig(e);
|
|
@@ -6282,15 +6337,46 @@ const _4u_Mz2 = defineEventHandler(async (e) => {
|
|
|
6282
6337
|
};
|
|
6283
6338
|
});
|
|
6284
6339
|
|
|
6285
|
-
const
|
|
6340
|
+
const _zl1VW_ = defineEventHandler(async (e) => {
|
|
6286
6341
|
const query = getQuery$1(e);
|
|
6287
6342
|
const path = query.path;
|
|
6343
|
+
const isMockProduction = Boolean(query.mockProductionEnv);
|
|
6288
6344
|
delete query.path;
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
const
|
|
6293
|
-
|
|
6345
|
+
let robotsHeader = null;
|
|
6346
|
+
let robotsContent = null;
|
|
6347
|
+
let robotsHint = null;
|
|
6348
|
+
const res = await $fetch.raw(withQuery(path, query)).catch(() => null);
|
|
6349
|
+
if (res) {
|
|
6350
|
+
const html = res._data;
|
|
6351
|
+
robotsHeader = String(res.headers.get("x-robots-tag"));
|
|
6352
|
+
if (isMockProduction) {
|
|
6353
|
+
const productionHeader = res.headers.get("x-robots-production");
|
|
6354
|
+
if (productionHeader) {
|
|
6355
|
+
robotsHeader = String(productionHeader);
|
|
6356
|
+
}
|
|
6357
|
+
const productionMeta = String(html).match(/<meta[^>]+name=["']robots["'][^>]+data-production-content=["']([^"']+)["'](?:[^>]+data-hint=["']([^"']+)["'])?[^>]*>/i);
|
|
6358
|
+
if (productionMeta) {
|
|
6359
|
+
[, robotsContent = null, robotsHint = null] = productionMeta;
|
|
6360
|
+
}
|
|
6361
|
+
}
|
|
6362
|
+
if (!robotsContent) {
|
|
6363
|
+
const robotsMeta = String(html).match(/<meta[^>]+name=["']robots["'][^>]+content=["']([^"']+)["'](?:[^>]+data-hint=["']([^"']+)["'])?[^>]*>/i);
|
|
6364
|
+
if (robotsMeta) {
|
|
6365
|
+
[, robotsContent = null, robotsHint = null] = robotsMeta;
|
|
6366
|
+
}
|
|
6367
|
+
}
|
|
6368
|
+
}
|
|
6369
|
+
if (!robotsContent) {
|
|
6370
|
+
const robotConfig = getPathRobotConfig(e, {
|
|
6371
|
+
path,
|
|
6372
|
+
skipSiteIndexable: isMockProduction
|
|
6373
|
+
});
|
|
6374
|
+
robotsContent = robotConfig.rule;
|
|
6375
|
+
robotsHint = robotConfig.debug?.source || null;
|
|
6376
|
+
if (!robotsHeader) {
|
|
6377
|
+
robotsHeader = robotConfig.rule;
|
|
6378
|
+
}
|
|
6379
|
+
}
|
|
6294
6380
|
const [source, line] = robotsHint ? robotsHint.split(",") : [null, null];
|
|
6295
6381
|
return {
|
|
6296
6382
|
rule: robotsContent,
|
|
@@ -6306,7 +6392,7 @@ const _d8mBlC = defineEventHandler(async (e) => {
|
|
|
6306
6392
|
};
|
|
6307
6393
|
});
|
|
6308
6394
|
|
|
6309
|
-
const
|
|
6395
|
+
const _W107Ad = defineEventHandler(async (e) => {
|
|
6310
6396
|
const collections = [];
|
|
6311
6397
|
for (const collection in contentManifest) {
|
|
6312
6398
|
if (contentManifest[collection].fields.sitemap) {
|
|
@@ -6316,16 +6402,17 @@ const _jQytjL = defineEventHandler(async (e) => {
|
|
|
6316
6402
|
const contentList = [];
|
|
6317
6403
|
for (const collection of collections) {
|
|
6318
6404
|
contentList.push(
|
|
6405
|
+
// @ts-expect-error dynamic collection name
|
|
6319
6406
|
queryCollection(e, collection).select("path", "sitemap").where("path", "IS NOT NULL").where("sitemap", "IS NOT NULL").all()
|
|
6320
6407
|
);
|
|
6321
6408
|
}
|
|
6322
6409
|
const results = await Promise.all(contentList);
|
|
6323
|
-
return results.flatMap(
|
|
6324
|
-
|
|
6325
|
-
loc:
|
|
6326
|
-
...
|
|
6327
|
-
}))
|
|
6328
|
-
|
|
6410
|
+
return results.flatMap(
|
|
6411
|
+
(entries) => entries.filter((c) => c.sitemap !== false && c.path).map((c) => ({
|
|
6412
|
+
loc: c.path,
|
|
6413
|
+
...typeof c.sitemap === "object" ? c.sitemap : {}
|
|
6414
|
+
}))
|
|
6415
|
+
).filter(Boolean);
|
|
6329
6416
|
});
|
|
6330
6417
|
|
|
6331
6418
|
const logger = createConsola({
|
|
@@ -6352,11 +6439,12 @@ function mergeOnKey$1(arr, key) {
|
|
|
6352
6439
|
result[resultLength++] = item;
|
|
6353
6440
|
}
|
|
6354
6441
|
}
|
|
6355
|
-
|
|
6442
|
+
result.length = resultLength;
|
|
6443
|
+
return result;
|
|
6356
6444
|
}
|
|
6357
6445
|
function splitForLocales(path, locales) {
|
|
6358
6446
|
const prefix = withLeadingSlash(path).split("/")[1];
|
|
6359
|
-
if (locales.includes(prefix))
|
|
6447
|
+
if (prefix && locales.includes(prefix))
|
|
6360
6448
|
return [prefix, path.replace(`/${prefix}`, "")];
|
|
6361
6449
|
return [null, path];
|
|
6362
6450
|
}
|
|
@@ -6388,24 +6476,33 @@ function createFilter(options = {}) {
|
|
|
6388
6476
|
const exclude = options.exclude || [];
|
|
6389
6477
|
if (include.length === 0 && exclude.length === 0)
|
|
6390
6478
|
return () => true;
|
|
6479
|
+
const excludeRegex = exclude.filter((r) => r instanceof RegExp);
|
|
6480
|
+
const includeRegex = include.filter((r) => r instanceof RegExp);
|
|
6481
|
+
const excludeStrings = exclude.filter((r) => typeof r === "string");
|
|
6482
|
+
const includeStrings = include.filter((r) => typeof r === "string");
|
|
6483
|
+
const excludeMatcher = excludeStrings.length > 0 ? toRouteMatcher(createRouter({
|
|
6484
|
+
routes: Object.fromEntries(excludeStrings.map((r) => [r, true])),
|
|
6485
|
+
strictTrailingSlash: false
|
|
6486
|
+
})) : null;
|
|
6487
|
+
const includeMatcher = includeStrings.length > 0 ? toRouteMatcher(createRouter({
|
|
6488
|
+
routes: Object.fromEntries(includeStrings.map((r) => [r, true])),
|
|
6489
|
+
strictTrailingSlash: false
|
|
6490
|
+
})) : null;
|
|
6491
|
+
const excludeExact = new Set(excludeStrings);
|
|
6492
|
+
const includeExact = new Set(includeStrings);
|
|
6391
6493
|
return function(path) {
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
const routeRulesMatcher = toRouteMatcher(createRouter({ routes, strictTrailingSlash: false }));
|
|
6405
|
-
if (routeRulesMatcher.matchAll(path).length > 0)
|
|
6406
|
-
return Boolean(v.result);
|
|
6407
|
-
}
|
|
6408
|
-
}
|
|
6494
|
+
if (excludeRegex.some((r) => r.test(path)))
|
|
6495
|
+
return false;
|
|
6496
|
+
if (excludeExact.has(path))
|
|
6497
|
+
return false;
|
|
6498
|
+
if (excludeMatcher && excludeMatcher.matchAll(path).length > 0)
|
|
6499
|
+
return false;
|
|
6500
|
+
if (includeRegex.some((r) => r.test(path)))
|
|
6501
|
+
return true;
|
|
6502
|
+
if (includeExact.has(path))
|
|
6503
|
+
return true;
|
|
6504
|
+
if (includeMatcher && includeMatcher.matchAll(path).length > 0)
|
|
6505
|
+
return true;
|
|
6409
6506
|
return include.length === 0;
|
|
6410
6507
|
};
|
|
6411
6508
|
}
|
|
@@ -6741,19 +6838,18 @@ function extractUrlFromParsedElement(urlElement, warnings) {
|
|
|
6741
6838
|
});
|
|
6742
6839
|
}
|
|
6743
6840
|
}
|
|
6744
|
-
|
|
6841
|
+
return Object.fromEntries(
|
|
6745
6842
|
Object.entries(urlObj).filter(
|
|
6746
6843
|
([_, value]) => value != null && (!Array.isArray(value) || value.length > 0)
|
|
6747
6844
|
)
|
|
6748
6845
|
);
|
|
6749
|
-
return filteredUrlObj;
|
|
6750
6846
|
}
|
|
6751
6847
|
async function parseSitemapXml(xml) {
|
|
6752
6848
|
const warnings = [];
|
|
6753
6849
|
if (!xml) {
|
|
6754
6850
|
throw new Error("Empty XML input provided");
|
|
6755
6851
|
}
|
|
6756
|
-
const { XMLParser } = await import('file://C:/Git/nuxt-ignis/node_modules/.pnpm/fast-xml-parser@5.3.
|
|
6852
|
+
const { XMLParser } = await import('file://C:/Git/nuxt-ignis/node_modules/.pnpm/fast-xml-parser@5.3.3/node_modules/fast-xml-parser/src/fxp.js');
|
|
6757
6853
|
const parser = new XMLParser({
|
|
6758
6854
|
isArray: (tagName) => ["url", "image", "video", "link", "tag", "price"].includes(tagName),
|
|
6759
6855
|
removeNSPrefix: true,
|
|
@@ -6900,11 +6996,15 @@ async function fetchDataSource(input, event) {
|
|
|
6900
6996
|
}
|
|
6901
6997
|
}
|
|
6902
6998
|
}
|
|
6903
|
-
function globalSitemapSources() {
|
|
6904
|
-
|
|
6999
|
+
async function globalSitemapSources() {
|
|
7000
|
+
const m = await Promise.resolve().then(function () { return globalSources; });
|
|
7001
|
+
return [...m.sources];
|
|
6905
7002
|
}
|
|
6906
|
-
function childSitemapSources(definition) {
|
|
6907
|
-
|
|
7003
|
+
async function childSitemapSources(definition) {
|
|
7004
|
+
if (!definition?._hasSourceChunk)
|
|
7005
|
+
return [];
|
|
7006
|
+
const m = await Promise.resolve().then(function () { return childSources; });
|
|
7007
|
+
return [...m.sources[definition.sitemapName] || []];
|
|
6908
7008
|
}
|
|
6909
7009
|
async function resolveSitemapSources(sources, event) {
|
|
6910
7010
|
return (await Promise.all(
|
|
@@ -6926,29 +7026,32 @@ async function resolveSitemapSources(sources, event) {
|
|
|
6926
7026
|
)).flat();
|
|
6927
7027
|
}
|
|
6928
7028
|
|
|
6929
|
-
const
|
|
7029
|
+
const _V57sGR = defineEventHandler(async (e) => {
|
|
6930
7030
|
const _runtimeConfig = useSitemapRuntimeConfig();
|
|
7031
|
+
const siteConfig = getSiteConfig(e);
|
|
6931
7032
|
const { sitemaps: _sitemaps } = _runtimeConfig;
|
|
6932
7033
|
const runtimeConfig = { ..._runtimeConfig };
|
|
6933
7034
|
delete runtimeConfig.sitemaps;
|
|
6934
7035
|
const globalSources = await globalSitemapSources();
|
|
6935
|
-
const nitroOrigin =
|
|
7036
|
+
const nitroOrigin = getNitroOrigin(e);
|
|
6936
7037
|
const sitemaps = {};
|
|
6937
7038
|
for (const s of Object.keys(_sitemaps)) {
|
|
7039
|
+
const sitemap = _sitemaps[s];
|
|
6938
7040
|
sitemaps[s] = {
|
|
6939
|
-
...
|
|
6940
|
-
sources: await resolveSitemapSources(await childSitemapSources(
|
|
7041
|
+
...sitemap,
|
|
7042
|
+
sources: await resolveSitemapSources(await childSitemapSources(sitemap), e)
|
|
6941
7043
|
};
|
|
6942
7044
|
}
|
|
6943
7045
|
return {
|
|
6944
7046
|
nitroOrigin,
|
|
6945
7047
|
sitemaps,
|
|
6946
7048
|
runtimeConfig,
|
|
6947
|
-
globalSources: await resolveSitemapSources(globalSources, e)
|
|
7049
|
+
globalSources: await resolveSitemapSources(globalSources, e),
|
|
7050
|
+
siteConfig: { ...siteConfig }
|
|
6948
7051
|
};
|
|
6949
7052
|
});
|
|
6950
7053
|
|
|
6951
|
-
const
|
|
7054
|
+
const _aOy17u = defineEventHandler(async (e) => {
|
|
6952
7055
|
const fixPath = createSitePathResolver(e, { absolute: false, withBase: true });
|
|
6953
7056
|
const { sitemapName: fallbackSitemapName, cacheMaxAgeSeconds, version, xslColumns, xslTips } = useSitemapRuntimeConfig();
|
|
6954
7057
|
setHeader(e, "Content-Type", "application/xslt+xml");
|
|
@@ -7222,42 +7325,47 @@ function createNitroRouteRuleMatcher() {
|
|
|
7222
7325
|
}
|
|
7223
7326
|
|
|
7224
7327
|
function resolve(s, resolvers) {
|
|
7225
|
-
if (typeof s === "undefined"
|
|
7226
|
-
return
|
|
7227
|
-
|
|
7228
|
-
if (
|
|
7229
|
-
return
|
|
7230
|
-
|
|
7328
|
+
if (typeof s === "undefined")
|
|
7329
|
+
return void 0;
|
|
7330
|
+
const str = typeof s === "string" ? s : s.toString();
|
|
7331
|
+
if (!resolvers)
|
|
7332
|
+
return str;
|
|
7333
|
+
if (hasProtocol(str, { acceptRelative: true, strict: false }))
|
|
7334
|
+
return resolvers.fixSlashes(str);
|
|
7335
|
+
return resolvers.canonicalUrlResolver(str);
|
|
7231
7336
|
}
|
|
7232
7337
|
function removeTrailingSlash(s) {
|
|
7233
7338
|
return s.replace(/\/(\?|#|$)/, "$1");
|
|
7234
7339
|
}
|
|
7235
7340
|
function preNormalizeEntry(_e, resolvers) {
|
|
7236
|
-
const
|
|
7237
|
-
if (
|
|
7238
|
-
|
|
7239
|
-
delete e.url;
|
|
7341
|
+
const input = typeof _e === "string" ? { loc: _e } : { ..._e };
|
|
7342
|
+
if (input.url && !input.loc) {
|
|
7343
|
+
input.loc = input.url;
|
|
7240
7344
|
}
|
|
7241
|
-
|
|
7242
|
-
|
|
7345
|
+
delete input.url;
|
|
7346
|
+
if (typeof input.loc !== "string") {
|
|
7347
|
+
input.loc = "";
|
|
7243
7348
|
}
|
|
7349
|
+
const skipEncoding = input._encoded === true;
|
|
7350
|
+
const e = input;
|
|
7244
7351
|
e.loc = removeTrailingSlash(e.loc);
|
|
7245
7352
|
e._abs = hasProtocol(e.loc, { acceptRelative: false, strict: false });
|
|
7246
7353
|
try {
|
|
7247
7354
|
e._path = e._abs ? parseURL(e.loc) : parsePath(e.loc);
|
|
7248
|
-
} catch
|
|
7249
|
-
|
|
7355
|
+
} catch {
|
|
7356
|
+
e._path = null;
|
|
7250
7357
|
}
|
|
7251
7358
|
if (e._path) {
|
|
7252
|
-
const
|
|
7253
|
-
const qs = stringifyQuery(
|
|
7254
|
-
e.
|
|
7359
|
+
const search = e._path.search;
|
|
7360
|
+
const qs = search && search.length > 1 ? stringifyQuery(parseQuery(search)) : "";
|
|
7361
|
+
const pathname = skipEncoding ? e._path.pathname : encodePath(e._path.pathname);
|
|
7362
|
+
e._relativeLoc = `${pathname}${qs.length ? `?${qs}` : ""}`;
|
|
7255
7363
|
if (e._path.host) {
|
|
7256
7364
|
e.loc = stringifyParsedURL(e._path);
|
|
7257
7365
|
} else {
|
|
7258
7366
|
e.loc = e._relativeLoc;
|
|
7259
7367
|
}
|
|
7260
|
-
} else if (!isEncoded(e.loc)) {
|
|
7368
|
+
} else if (!skipEncoding && !isEncoded(e.loc)) {
|
|
7261
7369
|
e.loc = encodeURI(e.loc);
|
|
7262
7370
|
}
|
|
7263
7371
|
if (e.loc === "")
|
|
@@ -7287,8 +7395,7 @@ function normaliseEntry(_e, defaults, resolvers) {
|
|
|
7287
7395
|
e.loc = resolve(e.loc, resolvers);
|
|
7288
7396
|
if (e.alternatives) {
|
|
7289
7397
|
const alternatives = e.alternatives.map((a) => ({ ...a }));
|
|
7290
|
-
for (
|
|
7291
|
-
const alt = alternatives[i];
|
|
7398
|
+
for (const alt of alternatives) {
|
|
7292
7399
|
if (typeof alt.href === "string") {
|
|
7293
7400
|
alt.href = resolve(alt.href, resolvers);
|
|
7294
7401
|
} else if (typeof alt.href === "object" && alt.href) {
|
|
@@ -7299,16 +7406,16 @@ function normaliseEntry(_e, defaults, resolvers) {
|
|
|
7299
7406
|
}
|
|
7300
7407
|
if (e.images) {
|
|
7301
7408
|
const images = e.images.map((i) => ({ ...i }));
|
|
7302
|
-
for (
|
|
7303
|
-
|
|
7409
|
+
for (const img of images) {
|
|
7410
|
+
img.loc = resolve(img.loc, resolvers);
|
|
7304
7411
|
}
|
|
7305
7412
|
e.images = mergeOnKey$1(images, "loc");
|
|
7306
7413
|
}
|
|
7307
7414
|
if (e.videos) {
|
|
7308
7415
|
const videos = e.videos.map((v) => ({ ...v }));
|
|
7309
|
-
for (
|
|
7310
|
-
if (
|
|
7311
|
-
|
|
7416
|
+
for (const video of videos) {
|
|
7417
|
+
if (video.content_loc) {
|
|
7418
|
+
video.content_loc = resolve(video.content_loc, resolvers);
|
|
7312
7419
|
}
|
|
7313
7420
|
}
|
|
7314
7421
|
e.videos = mergeOnKey$1(videos, "content_loc");
|
|
@@ -7326,8 +7433,9 @@ function isValidW3CDate(d) {
|
|
|
7326
7433
|
}
|
|
7327
7434
|
function normaliseDate(d) {
|
|
7328
7435
|
if (typeof d === "string") {
|
|
7329
|
-
|
|
7330
|
-
|
|
7436
|
+
const tIdx = d.indexOf("T");
|
|
7437
|
+
if (tIdx !== -1) {
|
|
7438
|
+
const t = d.slice(tIdx + 1);
|
|
7331
7439
|
if (!t.includes("+") && !t.includes("-") && !t.includes("Z")) {
|
|
7332
7440
|
d += "Z";
|
|
7333
7441
|
}
|
|
@@ -7410,197 +7518,113 @@ function escapeValueForXml(value) {
|
|
|
7410
7518
|
return value ? "yes" : "no";
|
|
7411
7519
|
return xmlEscape(String(value));
|
|
7412
7520
|
}
|
|
7521
|
+
const yesNo = (v) => v === "yes" || v === true ? "yes" : "no";
|
|
7413
7522
|
const URLSET_OPENING_TAG = '<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd http://www.google.com/schemas/sitemap-image/1.1 http://www.google.com/schemas/sitemap-image/1.1/sitemap-image.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">';
|
|
7414
|
-
function buildUrlXml(url) {
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
|
|
7419
|
-
if (url.loc) {
|
|
7420
|
-
parts[partIndex++] = ` <loc>${escapeValueForXml(url.loc)}</loc>`;
|
|
7421
|
-
}
|
|
7422
|
-
if (url.lastmod) {
|
|
7423
|
-
parts[partIndex++] = ` <lastmod>${url.lastmod}</lastmod>`;
|
|
7424
|
-
}
|
|
7425
|
-
if (url.changefreq) {
|
|
7426
|
-
parts[partIndex++] = ` <changefreq>${url.changefreq}</changefreq>`;
|
|
7427
|
-
}
|
|
7523
|
+
function buildUrlXml(url, NL, I1, I2, I3, I4) {
|
|
7524
|
+
let xml = `${I1}<url>${NL}`;
|
|
7525
|
+
if (url.loc) xml += `${I2}<loc>${xmlEscape(url.loc)}</loc>${NL}`;
|
|
7526
|
+
if (url.lastmod) xml += `${I2}<lastmod>${url.lastmod}</lastmod>${NL}`;
|
|
7527
|
+
if (url.changefreq) xml += `${I2}<changefreq>${url.changefreq}</changefreq>${NL}`;
|
|
7428
7528
|
if (url.priority !== void 0) {
|
|
7429
|
-
const
|
|
7430
|
-
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
|
|
7443
|
-
|
|
7444
|
-
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7449
|
-
|
|
7450
|
-
|
|
7451
|
-
|
|
7452
|
-
|
|
7453
|
-
|
|
7454
|
-
|
|
7455
|
-
|
|
7456
|
-
|
|
7457
|
-
|
|
7458
|
-
|
|
7459
|
-
|
|
7460
|
-
|
|
7461
|
-
|
|
7462
|
-
|
|
7463
|
-
|
|
7464
|
-
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
|
|
7468
|
-
|
|
7469
|
-
|
|
7470
|
-
}
|
|
7471
|
-
if (video.player_loc) {
|
|
7472
|
-
const attrs = video.player_loc.allow_embed ? ' allow_embed="yes"' : "";
|
|
7473
|
-
const autoplay = video.player_loc.autoplay ? ' autoplay="yes"' : "";
|
|
7474
|
-
parts[partIndex++] = ` <video:player_loc${attrs}${autoplay}>${escapeValueForXml(video.player_loc)}</video:player_loc>`;
|
|
7475
|
-
}
|
|
7476
|
-
if (video.duration !== void 0) {
|
|
7477
|
-
parts[partIndex++] = ` <video:duration>${video.duration}</video:duration>`;
|
|
7478
|
-
}
|
|
7479
|
-
if (video.expiration_date) {
|
|
7480
|
-
parts[partIndex++] = ` <video:expiration_date>${video.expiration_date}</video:expiration_date>`;
|
|
7481
|
-
}
|
|
7482
|
-
if (video.rating !== void 0) {
|
|
7483
|
-
parts[partIndex++] = ` <video:rating>${video.rating}</video:rating>`;
|
|
7484
|
-
}
|
|
7485
|
-
if (video.view_count !== void 0) {
|
|
7486
|
-
parts[partIndex++] = ` <video:view_count>${video.view_count}</video:view_count>`;
|
|
7487
|
-
}
|
|
7488
|
-
if (video.publication_date) {
|
|
7489
|
-
parts[partIndex++] = ` <video:publication_date>${video.publication_date}</video:publication_date>`;
|
|
7490
|
-
}
|
|
7491
|
-
if (video.family_friendly !== void 0) {
|
|
7492
|
-
parts[partIndex++] = ` <video:family_friendly>${video.family_friendly === "yes" || video.family_friendly === true ? "yes" : "no"}</video:family_friendly>`;
|
|
7493
|
-
}
|
|
7494
|
-
if (video.restriction) {
|
|
7495
|
-
const relationship = video.restriction.relationship || "allow";
|
|
7496
|
-
parts[partIndex++] = ` <video:restriction relationship="${relationship}">${escapeValueForXml(video.restriction.restriction)}</video:restriction>`;
|
|
7497
|
-
}
|
|
7498
|
-
if (video.platform) {
|
|
7499
|
-
const relationship = video.platform.relationship || "allow";
|
|
7500
|
-
parts[partIndex++] = ` <video:platform relationship="${relationship}">${escapeValueForXml(video.platform.platform)}</video:platform>`;
|
|
7501
|
-
}
|
|
7502
|
-
if (video.requires_subscription !== void 0) {
|
|
7503
|
-
parts[partIndex++] = ` <video:requires_subscription>${video.requires_subscription === "yes" || video.requires_subscription === true ? "yes" : "no"}</video:requires_subscription>`;
|
|
7504
|
-
}
|
|
7505
|
-
if (video.price) {
|
|
7506
|
-
const prices = Array.isArray(video.price) ? video.price : [video.price];
|
|
7507
|
-
for (const price of prices) {
|
|
7508
|
-
const attrs = [];
|
|
7509
|
-
if (price.currency) attrs.push(`currency="${price.currency}"`);
|
|
7510
|
-
if (price.type) attrs.push(`type="${price.type}"`);
|
|
7511
|
-
const attrsStr = attrs.length > 0 ? " " + attrs.join(" ") : "";
|
|
7512
|
-
parts[partIndex++] = ` <video:price${attrsStr}>${escapeValueForXml(price.price)}</video:price>`;
|
|
7513
|
-
}
|
|
7514
|
-
}
|
|
7515
|
-
if (video.uploader) {
|
|
7516
|
-
const info = video.uploader.info ? ` info="${escapeValueForXml(video.uploader.info)}"` : "";
|
|
7517
|
-
parts[partIndex++] = ` <video:uploader${info}>${escapeValueForXml(video.uploader.uploader)}</video:uploader>`;
|
|
7518
|
-
}
|
|
7519
|
-
if (video.live !== void 0) {
|
|
7520
|
-
parts[partIndex++] = ` <video:live>${video.live === "yes" || video.live === true ? "yes" : "no"}</video:live>`;
|
|
7521
|
-
}
|
|
7522
|
-
if (video.tag) {
|
|
7523
|
-
const tags = Array.isArray(video.tag) ? video.tag : [video.tag];
|
|
7524
|
-
for (const tag of tags) {
|
|
7525
|
-
parts[partIndex++] = ` <video:tag>${escapeValueForXml(tag)}</video:tag>`;
|
|
7526
|
-
}
|
|
7527
|
-
}
|
|
7528
|
-
if (video.category) {
|
|
7529
|
-
parts[partIndex++] = ` <video:category>${escapeValueForXml(video.category)}</video:category>`;
|
|
7530
|
-
}
|
|
7531
|
-
if (video.gallery_loc) {
|
|
7532
|
-
const title = video.gallery_loc.title ? ` title="${escapeValueForXml(video.gallery_loc.title)}"` : "";
|
|
7533
|
-
parts[partIndex++] = ` <video:gallery_loc${title}>${escapeValueForXml(video.gallery_loc)}</video:gallery_loc>`;
|
|
7534
|
-
}
|
|
7535
|
-
parts[partIndex++] = " </video:video>";
|
|
7536
|
-
}
|
|
7537
|
-
}
|
|
7538
|
-
break;
|
|
7539
|
-
case "news":
|
|
7540
|
-
if (value) {
|
|
7541
|
-
parts[partIndex++] = " <news:news>";
|
|
7542
|
-
parts[partIndex++] = " <news:publication>";
|
|
7543
|
-
parts[partIndex++] = ` <news:name>${escapeValueForXml(value.publication.name)}</news:name>`;
|
|
7544
|
-
parts[partIndex++] = ` <news:language>${escapeValueForXml(value.publication.language)}</news:language>`;
|
|
7545
|
-
parts[partIndex++] = " </news:publication>";
|
|
7546
|
-
if (value.title) {
|
|
7547
|
-
parts[partIndex++] = ` <news:title>${escapeValueForXml(value.title)}</news:title>`;
|
|
7548
|
-
}
|
|
7549
|
-
if (value.publication_date) {
|
|
7550
|
-
parts[partIndex++] = ` <news:publication_date>${value.publication_date}</news:publication_date>`;
|
|
7551
|
-
}
|
|
7552
|
-
if (value.access) {
|
|
7553
|
-
parts[partIndex++] = ` <news:access>${value.access}</news:access>`;
|
|
7554
|
-
}
|
|
7555
|
-
if (value.genres) {
|
|
7556
|
-
parts[partIndex++] = ` <news:genres>${escapeValueForXml(value.genres)}</news:genres>`;
|
|
7557
|
-
}
|
|
7558
|
-
if (value.keywords) {
|
|
7559
|
-
parts[partIndex++] = ` <news:keywords>${escapeValueForXml(value.keywords)}</news:keywords>`;
|
|
7560
|
-
}
|
|
7561
|
-
if (value.stock_tickers) {
|
|
7562
|
-
parts[partIndex++] = ` <news:stock_tickers>${escapeValueForXml(value.stock_tickers)}</news:stock_tickers>`;
|
|
7563
|
-
}
|
|
7564
|
-
parts[partIndex++] = " </news:news>";
|
|
7529
|
+
const p = typeof url.priority === "number" ? url.priority : Number.parseFloat(url.priority);
|
|
7530
|
+
xml += `${I2}<priority>${p.toFixed(1)}</priority>${NL}`;
|
|
7531
|
+
}
|
|
7532
|
+
if (url.alternatives) {
|
|
7533
|
+
for (const alt of url.alternatives) {
|
|
7534
|
+
let attrs = "";
|
|
7535
|
+
for (const [k, v] of Object.entries(alt)) attrs += ` ${k}="${xmlEscape(String(v))}"`;
|
|
7536
|
+
xml += `${I2}<xhtml:link rel="alternate"${attrs} />${NL}`;
|
|
7537
|
+
}
|
|
7538
|
+
}
|
|
7539
|
+
if (url.images) {
|
|
7540
|
+
for (const img of url.images) {
|
|
7541
|
+
xml += `${I2}<image:image>${NL}${I3}<image:loc>${xmlEscape(img.loc)}</image:loc>${NL}`;
|
|
7542
|
+
if (img.title) xml += `${I3}<image:title>${xmlEscape(img.title)}</image:title>${NL}`;
|
|
7543
|
+
if (img.caption) xml += `${I3}<image:caption>${xmlEscape(img.caption)}</image:caption>${NL}`;
|
|
7544
|
+
if (img.geo_location) xml += `${I3}<image:geo_location>${xmlEscape(img.geo_location)}</image:geo_location>${NL}`;
|
|
7545
|
+
if (img.license) xml += `${I3}<image:license>${xmlEscape(img.license)}</image:license>${NL}`;
|
|
7546
|
+
xml += `${I2}</image:image>${NL}`;
|
|
7547
|
+
}
|
|
7548
|
+
}
|
|
7549
|
+
if (url.videos) {
|
|
7550
|
+
for (const video of url.videos) {
|
|
7551
|
+
xml += `${I2}<video:video>${NL}${I3}<video:title>${xmlEscape(video.title)}</video:title>${NL}`;
|
|
7552
|
+
if (video.thumbnail_loc) xml += `${I3}<video:thumbnail_loc>${xmlEscape(video.thumbnail_loc)}</video:thumbnail_loc>${NL}`;
|
|
7553
|
+
xml += `${I3}<video:description>${xmlEscape(video.description)}</video:description>${NL}`;
|
|
7554
|
+
if (video.content_loc) xml += `${I3}<video:content_loc>${xmlEscape(video.content_loc)}</video:content_loc>${NL}`;
|
|
7555
|
+
if (video.player_loc) xml += `${I3}<video:player_loc>${xmlEscape(video.player_loc)}</video:player_loc>${NL}`;
|
|
7556
|
+
if (video.duration !== void 0) xml += `${I3}<video:duration>${video.duration}</video:duration>${NL}`;
|
|
7557
|
+
if (video.expiration_date) xml += `${I3}<video:expiration_date>${video.expiration_date}</video:expiration_date>${NL}`;
|
|
7558
|
+
if (video.rating !== void 0) xml += `${I3}<video:rating>${video.rating}</video:rating>${NL}`;
|
|
7559
|
+
if (video.view_count !== void 0) xml += `${I3}<video:view_count>${video.view_count}</video:view_count>${NL}`;
|
|
7560
|
+
if (video.publication_date) xml += `${I3}<video:publication_date>${video.publication_date}</video:publication_date>${NL}`;
|
|
7561
|
+
if (video.family_friendly !== void 0) xml += `${I3}<video:family_friendly>${yesNo(video.family_friendly)}</video:family_friendly>${NL}`;
|
|
7562
|
+
if (video.restriction) xml += `${I3}<video:restriction relationship="${video.restriction.relationship || "allow"}">${xmlEscape(video.restriction.restriction)}</video:restriction>${NL}`;
|
|
7563
|
+
if (video.platform) xml += `${I3}<video:platform relationship="${video.platform.relationship || "allow"}">${xmlEscape(video.platform.platform)}</video:platform>${NL}`;
|
|
7564
|
+
if (video.requires_subscription !== void 0) xml += `${I3}<video:requires_subscription>${yesNo(video.requires_subscription)}</video:requires_subscription>${NL}`;
|
|
7565
|
+
if (video.price) {
|
|
7566
|
+
for (const price of video.price) {
|
|
7567
|
+
const c = price.currency ? ` currency="${price.currency}"` : "";
|
|
7568
|
+
const t = price.type ? ` type="${price.type}"` : "";
|
|
7569
|
+
xml += `${I3}<video:price${c}${t}>${xmlEscape(String(price.price ?? ""))}</video:price>${NL}`;
|
|
7565
7570
|
}
|
|
7566
|
-
|
|
7571
|
+
}
|
|
7572
|
+
if (video.uploader) {
|
|
7573
|
+
const info = video.uploader.info ? ` info="${xmlEscape(video.uploader.info)}"` : "";
|
|
7574
|
+
xml += `${I3}<video:uploader${info}>${xmlEscape(video.uploader.uploader)}</video:uploader>${NL}`;
|
|
7575
|
+
}
|
|
7576
|
+
if (video.live !== void 0) xml += `${I3}<video:live>${yesNo(video.live)}</video:live>${NL}`;
|
|
7577
|
+
if (video.tag) {
|
|
7578
|
+
const tags = Array.isArray(video.tag) ? video.tag : [video.tag];
|
|
7579
|
+
for (const t of tags) xml += `${I3}<video:tag>${xmlEscape(t)}</video:tag>${NL}`;
|
|
7580
|
+
}
|
|
7581
|
+
if (video.category) xml += `${I3}<video:category>${xmlEscape(video.category)}</video:category>${NL}`;
|
|
7582
|
+
if (video.gallery_loc) xml += `${I3}<video:gallery_loc>${xmlEscape(video.gallery_loc)}</video:gallery_loc>${NL}`;
|
|
7583
|
+
xml += `${I2}</video:video>${NL}`;
|
|
7567
7584
|
}
|
|
7568
7585
|
}
|
|
7569
|
-
|
|
7570
|
-
|
|
7586
|
+
if (url.news) {
|
|
7587
|
+
xml += `${I2}<news:news>${NL}${I3}<news:publication>${NL}`;
|
|
7588
|
+
xml += `${I4}<news:name>${xmlEscape(url.news.publication.name)}</news:name>${NL}`;
|
|
7589
|
+
xml += `${I4}<news:language>${xmlEscape(url.news.publication.language)}</news:language>${NL}`;
|
|
7590
|
+
xml += `${I3}</news:publication>${NL}`;
|
|
7591
|
+
if (url.news.title) xml += `${I3}<news:title>${xmlEscape(url.news.title)}</news:title>${NL}`;
|
|
7592
|
+
if (url.news.publication_date) xml += `${I3}<news:publication_date>${url.news.publication_date}</news:publication_date>${NL}`;
|
|
7593
|
+
xml += `${I2}</news:news>${NL}`;
|
|
7594
|
+
}
|
|
7595
|
+
xml += `${I1}</url>`;
|
|
7596
|
+
return xml;
|
|
7571
7597
|
}
|
|
7572
7598
|
function urlsToXml(urls, resolvers, { version, xsl, credits, minify }, errorInfo) {
|
|
7573
|
-
const estimatedSize = urls.length + 5;
|
|
7574
|
-
const xmlParts = Array.from({ length: estimatedSize });
|
|
7575
|
-
let partIndex = 0;
|
|
7576
7599
|
let xslHref = xsl ? resolvers.relativeBaseUrlResolver(xsl) : false;
|
|
7577
|
-
if (xslHref && errorInfo
|
|
7600
|
+
if (xslHref && errorInfo?.messages.length) {
|
|
7578
7601
|
xslHref = withQuery(xslHref, {
|
|
7579
7602
|
errors: "true",
|
|
7580
7603
|
error_messages: errorInfo.messages,
|
|
7581
7604
|
error_urls: errorInfo.urls
|
|
7582
7605
|
});
|
|
7583
7606
|
}
|
|
7584
|
-
|
|
7585
|
-
|
|
7586
|
-
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
|
|
7607
|
+
const NL = minify ? "" : "\n";
|
|
7608
|
+
const I1 = minify ? "" : " ";
|
|
7609
|
+
const I2 = minify ? "" : " ";
|
|
7610
|
+
const I3 = minify ? "" : " ";
|
|
7611
|
+
const I4 = minify ? "" : " ";
|
|
7612
|
+
let xml = xslHref ? `<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="${escapeValueForXml(xslHref)}"?>${NL}` : `<?xml version="1.0" encoding="UTF-8"?>${NL}`;
|
|
7613
|
+
xml += URLSET_OPENING_TAG + NL;
|
|
7590
7614
|
for (const url of urls) {
|
|
7591
|
-
|
|
7615
|
+
xml += buildUrlXml(url, NL, I1, I2, I3, I4) + NL;
|
|
7592
7616
|
}
|
|
7593
|
-
|
|
7617
|
+
xml += "</urlset>";
|
|
7594
7618
|
if (credits) {
|
|
7595
|
-
|
|
7619
|
+
xml += `${NL}<!-- XML Sitemap generated by @nuxtjs/sitemap v${version} at ${(/* @__PURE__ */ new Date()).toISOString()} -->`;
|
|
7596
7620
|
}
|
|
7597
|
-
|
|
7598
|
-
if (minify) {
|
|
7599
|
-
return xmlContent.join("").replace(/(?<!<[^>]*)\s(?![^<]*>)/g, "");
|
|
7600
|
-
}
|
|
7601
|
-
return xmlContent.join("\n");
|
|
7621
|
+
return xml;
|
|
7602
7622
|
}
|
|
7603
7623
|
|
|
7624
|
+
function getPageKey(pathWithoutPrefix) {
|
|
7625
|
+
const stripped = pathWithoutPrefix[0] === "/" ? pathWithoutPrefix.slice(1) : pathWithoutPrefix;
|
|
7626
|
+
return stripped.endsWith("/index") ? stripped.slice(0, -6) || "index" : stripped || "index";
|
|
7627
|
+
}
|
|
7604
7628
|
function resolveSitemapEntries(sitemap, urls, runtimeConfig, resolvers) {
|
|
7605
7629
|
const {
|
|
7606
7630
|
autoI18n,
|
|
@@ -7617,10 +7641,16 @@ function resolveSitemapEntries(sitemap, urls, runtimeConfig, resolvers) {
|
|
|
7617
7641
|
return e;
|
|
7618
7642
|
}).filter(Boolean);
|
|
7619
7643
|
let validI18nUrlsForTransform = [];
|
|
7620
|
-
let warnIncorrectI18nTransformUsage = false;
|
|
7621
7644
|
const withoutPrefixPaths = {};
|
|
7622
7645
|
if (autoI18n && autoI18n.strategy !== "no_prefix") {
|
|
7623
7646
|
const localeCodes = autoI18n.locales.map((l) => l.code);
|
|
7647
|
+
const localeByCode = new Map(autoI18n.locales.map((l) => [l.code, l]));
|
|
7648
|
+
const isPrefixStrategy = autoI18n.strategy === "prefix";
|
|
7649
|
+
const isPrefixExceptOrAndDefault = autoI18n.strategy === "prefix_and_default" || autoI18n.strategy === "prefix_except_default";
|
|
7650
|
+
const xDefaultAndLocales = [{ code: "x-default", _hreflang: "x-default" }, ...autoI18n.locales];
|
|
7651
|
+
const defaultLocale = autoI18n.defaultLocale;
|
|
7652
|
+
const hasPages = !!autoI18n.pages;
|
|
7653
|
+
const hasDifferentDomains = !!autoI18n.differentDomains;
|
|
7624
7654
|
validI18nUrlsForTransform = _urls.map((_e, i) => {
|
|
7625
7655
|
if (_e._abs)
|
|
7626
7656
|
return false;
|
|
@@ -7628,15 +7658,15 @@ function resolveSitemapEntries(sitemap, urls, runtimeConfig, resolvers) {
|
|
|
7628
7658
|
let localeCode = split[0];
|
|
7629
7659
|
const pathWithoutPrefix = split[1];
|
|
7630
7660
|
if (!localeCode)
|
|
7631
|
-
localeCode =
|
|
7661
|
+
localeCode = defaultLocale;
|
|
7632
7662
|
const e = _e;
|
|
7633
7663
|
e._pathWithoutPrefix = pathWithoutPrefix;
|
|
7634
|
-
const locale =
|
|
7664
|
+
const locale = localeByCode.get(localeCode);
|
|
7635
7665
|
if (!locale)
|
|
7636
7666
|
return false;
|
|
7637
7667
|
e._locale = locale;
|
|
7638
7668
|
e._index = i;
|
|
7639
|
-
e._key = `${e._sitemap || ""}${e._path?.pathname || "/"}${e._path
|
|
7669
|
+
e._key = `${e._sitemap || ""}${e._path?.pathname || "/"}${e._path?.search || ""}`;
|
|
7640
7670
|
withoutPrefixPaths[pathWithoutPrefix] = withoutPrefixPaths[pathWithoutPrefix] || [];
|
|
7641
7671
|
if (!withoutPrefixPaths[pathWithoutPrefix].some((e2) => e2._locale.code === locale.code))
|
|
7642
7672
|
withoutPrefixPaths[pathWithoutPrefix].push(e);
|
|
@@ -7644,9 +7674,9 @@ function resolveSitemapEntries(sitemap, urls, runtimeConfig, resolvers) {
|
|
|
7644
7674
|
}).filter(Boolean);
|
|
7645
7675
|
for (const e of validI18nUrlsForTransform) {
|
|
7646
7676
|
if (!e._i18nTransform && !e.alternatives?.length) {
|
|
7647
|
-
const alternatives = withoutPrefixPaths[e._pathWithoutPrefix].map((u) => {
|
|
7677
|
+
const alternatives = (withoutPrefixPaths[e._pathWithoutPrefix] || []).map((u) => {
|
|
7648
7678
|
const entries = [];
|
|
7649
|
-
if (u._locale.code ===
|
|
7679
|
+
if (u._locale.code === defaultLocale) {
|
|
7650
7680
|
entries.push({
|
|
7651
7681
|
href: u.loc,
|
|
7652
7682
|
hreflang: "x-default"
|
|
@@ -7654,7 +7684,7 @@ function resolveSitemapEntries(sitemap, urls, runtimeConfig, resolvers) {
|
|
|
7654
7684
|
}
|
|
7655
7685
|
entries.push({
|
|
7656
7686
|
href: u.loc,
|
|
7657
|
-
hreflang: u._locale._hreflang ||
|
|
7687
|
+
hreflang: u._locale._hreflang || defaultLocale
|
|
7658
7688
|
});
|
|
7659
7689
|
return entries;
|
|
7660
7690
|
}).flat().filter(Boolean);
|
|
@@ -7662,14 +7692,11 @@ function resolveSitemapEntries(sitemap, urls, runtimeConfig, resolvers) {
|
|
|
7662
7692
|
e.alternatives = alternatives;
|
|
7663
7693
|
} else if (e._i18nTransform) {
|
|
7664
7694
|
delete e._i18nTransform;
|
|
7665
|
-
if (
|
|
7666
|
-
|
|
7667
|
-
}
|
|
7668
|
-
if (autoI18n.differentDomains) {
|
|
7695
|
+
if (hasDifferentDomains) {
|
|
7696
|
+
const defLocale = localeByCode.get(defaultLocale);
|
|
7669
7697
|
e.alternatives = [
|
|
7670
7698
|
{
|
|
7671
|
-
|
|
7672
|
-
...autoI18n.locales.find((l) => [l.code, l.language].includes(autoI18n.defaultLocale)),
|
|
7699
|
+
...defLocale,
|
|
7673
7700
|
code: "x-default"
|
|
7674
7701
|
},
|
|
7675
7702
|
...autoI18n.locales.filter((l) => !!l.domain)
|
|
@@ -7680,68 +7707,53 @@ function resolveSitemapEntries(sitemap, urls, runtimeConfig, resolvers) {
|
|
|
7680
7707
|
};
|
|
7681
7708
|
});
|
|
7682
7709
|
} else {
|
|
7710
|
+
const pageKey = hasPages ? getPageKey(e._pathWithoutPrefix) : "";
|
|
7711
|
+
const pageMappings = hasPages ? autoI18n.pages[pageKey] : void 0;
|
|
7712
|
+
const pathSearch = e._path?.search || "";
|
|
7713
|
+
const pathWithoutPrefix = e._pathWithoutPrefix;
|
|
7683
7714
|
for (const l of autoI18n.locales) {
|
|
7684
|
-
let loc =
|
|
7685
|
-
if (
|
|
7686
|
-
const
|
|
7687
|
-
|
|
7688
|
-
|
|
7689
|
-
|
|
7715
|
+
let loc = pathWithoutPrefix;
|
|
7716
|
+
if (hasPages && pageMappings && pageMappings[l.code] !== void 0) {
|
|
7717
|
+
const customPath = pageMappings[l.code];
|
|
7718
|
+
if (customPath === false)
|
|
7719
|
+
continue;
|
|
7720
|
+
if (typeof customPath === "string")
|
|
7721
|
+
loc = customPath[0] === "/" ? customPath : `/${customPath}`;
|
|
7722
|
+
} else if (!hasDifferentDomains && !(isPrefixExceptOrAndDefault && l.code === defaultLocale)) {
|
|
7723
|
+
loc = joinURL(`/${l.code}`, pathWithoutPrefix);
|
|
7724
|
+
}
|
|
7725
|
+
const _sitemap = isI18nMapped ? l._sitemap : void 0;
|
|
7726
|
+
const alternatives = [];
|
|
7727
|
+
for (const locale of xDefaultAndLocales) {
|
|
7728
|
+
const code = locale.code === "x-default" ? defaultLocale : locale.code;
|
|
7729
|
+
const isDefault = locale.code === "x-default" || locale.code === defaultLocale;
|
|
7730
|
+
let href = pathWithoutPrefix;
|
|
7731
|
+
if (hasPages && pageMappings && pageMappings[code] !== void 0) {
|
|
7732
|
+
const customPath = pageMappings[code];
|
|
7690
7733
|
if (customPath === false)
|
|
7691
7734
|
continue;
|
|
7692
7735
|
if (typeof customPath === "string")
|
|
7693
|
-
|
|
7694
|
-
} else if (
|
|
7695
|
-
|
|
7736
|
+
href = customPath[0] === "/" ? customPath : `/${customPath}`;
|
|
7737
|
+
} else if (isPrefixStrategy) {
|
|
7738
|
+
href = joinURL("/", code, pathWithoutPrefix);
|
|
7739
|
+
} else if (isPrefixExceptOrAndDefault && !isDefault) {
|
|
7740
|
+
href = joinURL("/", code, pathWithoutPrefix);
|
|
7696
7741
|
}
|
|
7697
|
-
|
|
7698
|
-
|
|
7699
|
-
|
|
7742
|
+
if (!filterPath(href))
|
|
7743
|
+
continue;
|
|
7744
|
+
alternatives.push({
|
|
7745
|
+
hreflang: locale._hreflang,
|
|
7746
|
+
href
|
|
7747
|
+
});
|
|
7700
7748
|
}
|
|
7701
|
-
const
|
|
7749
|
+
const { _index: _, ...rest } = e;
|
|
7702
7750
|
const newEntry = preNormalizeEntry({
|
|
7703
7751
|
_sitemap,
|
|
7704
|
-
...
|
|
7705
|
-
|
|
7706
|
-
_key: `${_sitemap || ""}${loc || "/"}${e._path.search}`,
|
|
7752
|
+
...rest,
|
|
7753
|
+
_key: `${_sitemap || ""}${loc || "/"}${pathSearch}`,
|
|
7707
7754
|
_locale: l,
|
|
7708
7755
|
loc,
|
|
7709
|
-
alternatives
|
|
7710
|
-
const code = locale.code === "x-default" ? autoI18n.defaultLocale : locale.code;
|
|
7711
|
-
const isDefault = locale.code === "x-default" || locale.code === autoI18n.defaultLocale;
|
|
7712
|
-
let href = e._pathWithoutPrefix;
|
|
7713
|
-
if (autoI18n.pages) {
|
|
7714
|
-
const pageKey = e._pathWithoutPrefix.replace(/^\//, "").replace(/\/index$/, "") || "index";
|
|
7715
|
-
const pageMappings = autoI18n.pages[pageKey];
|
|
7716
|
-
if (pageMappings && pageMappings[code] !== void 0) {
|
|
7717
|
-
const customPath = pageMappings[code];
|
|
7718
|
-
if (customPath === false)
|
|
7719
|
-
return false;
|
|
7720
|
-
if (typeof customPath === "string")
|
|
7721
|
-
href = customPath.startsWith("/") ? customPath : `/${customPath}`;
|
|
7722
|
-
} else if (autoI18n.strategy === "prefix") {
|
|
7723
|
-
href = joinURL("/", code, e._pathWithoutPrefix);
|
|
7724
|
-
} else if (["prefix_and_default", "prefix_except_default"].includes(autoI18n.strategy)) {
|
|
7725
|
-
if (!isDefault) {
|
|
7726
|
-
href = joinURL("/", code, e._pathWithoutPrefix);
|
|
7727
|
-
}
|
|
7728
|
-
}
|
|
7729
|
-
} else {
|
|
7730
|
-
if (autoI18n.strategy === "prefix") {
|
|
7731
|
-
href = joinURL("/", code, e._pathWithoutPrefix);
|
|
7732
|
-
} else if (["prefix_and_default", "prefix_except_default"].includes(autoI18n.strategy)) {
|
|
7733
|
-
if (!isDefault) {
|
|
7734
|
-
href = joinURL("/", code, e._pathWithoutPrefix);
|
|
7735
|
-
}
|
|
7736
|
-
}
|
|
7737
|
-
}
|
|
7738
|
-
if (!filterPath(href))
|
|
7739
|
-
return false;
|
|
7740
|
-
return {
|
|
7741
|
-
hreflang: locale._hreflang,
|
|
7742
|
-
href
|
|
7743
|
-
};
|
|
7744
|
-
}).filter(Boolean)
|
|
7756
|
+
alternatives
|
|
7745
7757
|
}, resolvers);
|
|
7746
7758
|
if (e._locale.code === newEntry._locale.code) {
|
|
7747
7759
|
_urls[e._index] = newEntry;
|
|
@@ -7754,15 +7766,12 @@ function resolveSitemapEntries(sitemap, urls, runtimeConfig, resolvers) {
|
|
|
7754
7766
|
}
|
|
7755
7767
|
if (isI18nMapped) {
|
|
7756
7768
|
e._sitemap = e._sitemap || e._locale._sitemap;
|
|
7757
|
-
e._key = `${e._sitemap || ""}${e.loc || "/"}${e._path
|
|
7769
|
+
e._key = `${e._sitemap || ""}${e.loc || "/"}${e._path?.search || ""}`;
|
|
7758
7770
|
}
|
|
7759
7771
|
if (e._index)
|
|
7760
7772
|
_urls[e._index] = e;
|
|
7761
7773
|
}
|
|
7762
7774
|
}
|
|
7763
|
-
if (warnIncorrectI18nTransformUsage) {
|
|
7764
|
-
logger.warn("You're using _i18nTransform with the `no_prefix` strategy. This will cause issues with the sitemap. Please remove the _i18nTransform flag or change i18n strategy.");
|
|
7765
|
-
}
|
|
7766
7775
|
return _urls;
|
|
7767
7776
|
}
|
|
7768
7777
|
async function buildSitemapUrls(sitemap, resolvers, runtimeConfig, nitro) {
|
|
@@ -7777,15 +7786,16 @@ async function buildSitemapUrls(sitemap, resolvers, runtimeConfig, nitro) {
|
|
|
7777
7786
|
// chunking
|
|
7778
7787
|
defaultSitemapsChunkSize
|
|
7779
7788
|
} = runtimeConfig;
|
|
7780
|
-
const
|
|
7789
|
+
const chunkSize = defaultSitemapsChunkSize || void 0;
|
|
7790
|
+
const chunkInfo = parseChunkInfo(sitemap.sitemapName, sitemaps, chunkSize);
|
|
7781
7791
|
function maybeSort(urls2) {
|
|
7782
7792
|
return sortEntries ? sortInPlace(urls2) : urls2;
|
|
7783
7793
|
}
|
|
7784
7794
|
function maybeSlice(urls2) {
|
|
7785
|
-
return sliceUrlsForChunk(urls2, sitemap.sitemapName, sitemaps,
|
|
7795
|
+
return sliceUrlsForChunk(urls2, sitemap.sitemapName, sitemaps, chunkSize);
|
|
7786
7796
|
}
|
|
7787
7797
|
if (autoI18n?.differentDomains) {
|
|
7788
|
-
const domain = autoI18n.locales.find((e) =>
|
|
7798
|
+
const domain = autoI18n.locales.find((e) => e.language === sitemap.sitemapName || e.code === sitemap.sitemapName)?.domain;
|
|
7789
7799
|
if (domain) {
|
|
7790
7800
|
const _tester = resolvers.canonicalUrlResolver;
|
|
7791
7801
|
resolvers.canonicalUrlResolver = (path) => resolveSitePath(path, {
|
|
@@ -7802,8 +7812,7 @@ async function buildSitemapUrls(sitemap, resolvers, runtimeConfig, nitro) {
|
|
|
7802
7812
|
if (chunkInfo.isChunked && baseSitemapName !== sitemap.sitemapName && sitemaps[baseSitemapName]) {
|
|
7803
7813
|
effectiveSitemap = sitemaps[baseSitemapName];
|
|
7804
7814
|
}
|
|
7805
|
-
let sourcesInput = effectiveSitemap.includeAppSources ? await globalSitemapSources() :
|
|
7806
|
-
sourcesInput.push(...await childSitemapSources(effectiveSitemap));
|
|
7815
|
+
let sourcesInput = effectiveSitemap.includeAppSources ? [...await globalSitemapSources(), ...await childSitemapSources(effectiveSitemap)] : await childSitemapSources(effectiveSitemap);
|
|
7807
7816
|
if (nitro && resolvers.event) {
|
|
7808
7817
|
const ctx = {
|
|
7809
7818
|
event: resolvers.event,
|
|
@@ -7826,8 +7835,13 @@ async function buildSitemapUrls(sitemap, resolvers, runtimeConfig, nitro) {
|
|
|
7826
7835
|
await nitro?.hooks.callHook("sitemap:input", resolvedCtx);
|
|
7827
7836
|
const enhancedUrls = resolveSitemapEntries(sitemap, resolvedCtx.urls, { autoI18n, isI18nMapped }, resolvers);
|
|
7828
7837
|
const filteredUrls = enhancedUrls.filter((e) => {
|
|
7829
|
-
if (
|
|
7838
|
+
if (e._sitemap === false)
|
|
7839
|
+
return false;
|
|
7840
|
+
if (isMultiSitemap && e._sitemap && sitemap.sitemapName) {
|
|
7841
|
+
if (sitemap._isChunking)
|
|
7842
|
+
return sitemap.sitemapName.startsWith(e._sitemap + "-");
|
|
7830
7843
|
return e._sitemap === sitemap.sitemapName;
|
|
7844
|
+
}
|
|
7831
7845
|
return true;
|
|
7832
7846
|
});
|
|
7833
7847
|
const sortedUrls = maybeSort(filteredUrls);
|
|
@@ -7891,8 +7905,9 @@ async function buildSitemapXml(event, definition, resolvers, runtimeConfig) {
|
|
|
7891
7905
|
resolvedCtx.urls = resolvedCtx.urls.map((e) => preNormalizeEntry(e, resolvers));
|
|
7892
7906
|
}
|
|
7893
7907
|
const maybeSort = (urls2) => runtimeConfig.sortEntries ? sortInPlace(urls2) : urls2;
|
|
7894
|
-
const
|
|
7895
|
-
const
|
|
7908
|
+
const defaults = definition.defaults || {};
|
|
7909
|
+
const normalizedPreDedupe = resolvedCtx.urls.map((e) => normaliseEntry(e, defaults, resolvers));
|
|
7910
|
+
const urls = maybeSort(mergeOnKey$1(normalizedPreDedupe, "_key").map((e) => normaliseEntry(e, defaults, resolvers)));
|
|
7896
7911
|
if (definition._isChunking && definition.sitemapName.includes("-")) {
|
|
7897
7912
|
const parts = definition.sitemapName.split("-");
|
|
7898
7913
|
const lastPart = parts.pop();
|
|
@@ -7955,14 +7970,15 @@ async function createSitemap(event, definition, runtimeConfig) {
|
|
|
7955
7970
|
return xml;
|
|
7956
7971
|
}
|
|
7957
7972
|
|
|
7958
|
-
|
|
7973
|
+
async function sitemapXmlEventHandler(e) {
|
|
7959
7974
|
const runtimeConfig = useSitemapRuntimeConfig();
|
|
7960
7975
|
const { sitemaps } = runtimeConfig;
|
|
7961
|
-
if ("index" in sitemaps)
|
|
7976
|
+
if ("index" in sitemaps)
|
|
7962
7977
|
return sendRedirect(e, withBase("/sitemap_index.xml", useRuntimeConfig().app.baseURL), 302 );
|
|
7963
|
-
}
|
|
7964
7978
|
return createSitemap(e, Object.values(sitemaps)[0], runtimeConfig);
|
|
7965
|
-
}
|
|
7979
|
+
}
|
|
7980
|
+
|
|
7981
|
+
const _JukhrP = defineEventHandler(sitemapXmlEventHandler);
|
|
7966
7982
|
|
|
7967
7983
|
function defineRule(rule) {
|
|
7968
7984
|
return rule;
|
|
@@ -8211,7 +8227,7 @@ function RuleNoDocumentRelative() {
|
|
|
8211
8227
|
id: "no-baseless",
|
|
8212
8228
|
// TODO rename to no-document-relative
|
|
8213
8229
|
test({ link, fromPath, report }) {
|
|
8214
|
-
if (link.startsWith("/") || link.startsWith("http") || isNonFetchableLink(link))
|
|
8230
|
+
if (link.startsWith("#") || link.startsWith("/") || link.startsWith("http") || isNonFetchableLink(link))
|
|
8215
8231
|
return;
|
|
8216
8232
|
report({
|
|
8217
8233
|
name: "no-baseless",
|
|
@@ -8341,6 +8357,8 @@ function RuleNoNonAsciiChars() {
|
|
|
8341
8357
|
return defineRule({
|
|
8342
8358
|
id: "no-non-ascii-chars",
|
|
8343
8359
|
test({ link, url, report }) {
|
|
8360
|
+
if (link.startsWith("#"))
|
|
8361
|
+
return;
|
|
8344
8362
|
function test(s) {
|
|
8345
8363
|
if (/[^\u0020-\u007F]/.test(s)) {
|
|
8346
8364
|
report({
|
|
@@ -8385,6 +8403,8 @@ function RuleNoUppercaseChars() {
|
|
|
8385
8403
|
return defineRule({
|
|
8386
8404
|
id: "no-uppercase-chars",
|
|
8387
8405
|
test({ report, link }) {
|
|
8406
|
+
if (link.startsWith("#"))
|
|
8407
|
+
return;
|
|
8388
8408
|
if (link.match(/[A-Z]/)) {
|
|
8389
8409
|
report({
|
|
8390
8410
|
name: "no-uppercase-chars",
|
|
@@ -8551,7 +8571,7 @@ function isInternalRoute(path) {
|
|
|
8551
8571
|
const lastSegment = path.split("/").pop() || path;
|
|
8552
8572
|
return lastSegment.includes(".") || path.startsWith("/__") || path.startsWith("@");
|
|
8553
8573
|
}
|
|
8554
|
-
const
|
|
8574
|
+
const _uENAMR = defineEventHandler(async (e) => {
|
|
8555
8575
|
const { tasks, ids, path } = await readBody(e);
|
|
8556
8576
|
const runtimeConfig = useRuntimeConfig().public["nuxt-link-checker"] || {};
|
|
8557
8577
|
const partialCtx = {
|
|
@@ -8642,7 +8662,7 @@ const pagePaths = [
|
|
|
8642
8662
|
}
|
|
8643
8663
|
];
|
|
8644
8664
|
|
|
8645
|
-
const
|
|
8665
|
+
const _43IHEo = defineCachedEventHandler(async (e) => {
|
|
8646
8666
|
const runtimeConfig = useRuntimeConfig().public["nuxt-link-checker"] || {};
|
|
8647
8667
|
const linkDb = [
|
|
8648
8668
|
...pagePaths
|
|
@@ -8662,7 +8682,7 @@ const _0NtSl9 = defineCachedEventHandler(async (e) => {
|
|
|
8662
8682
|
// avoid thrashing
|
|
8663
8683
|
});
|
|
8664
8684
|
|
|
8665
|
-
const
|
|
8685
|
+
const _NwP4pF = defineEventHandler(async (e) => {
|
|
8666
8686
|
return {
|
|
8667
8687
|
runtimeConfig: useRuntimeConfig(e).public["nuxt-link-checker"]
|
|
8668
8688
|
};
|
|
@@ -8670,7 +8690,7 @@ const _NCgyWX = defineEventHandler(async (e) => {
|
|
|
8670
8690
|
|
|
8671
8691
|
const fileMapping = {};
|
|
8672
8692
|
|
|
8673
|
-
const
|
|
8693
|
+
const _FrFydN = defineEventHandler(async (e) => {
|
|
8674
8694
|
const path = parseURL(e.path).pathname;
|
|
8675
8695
|
if (fileMapping[path]) {
|
|
8676
8696
|
if (path.endsWith(".svg"))
|
|
@@ -8795,9 +8815,9 @@ defineCachedEventHandler(_cachedMessageLoader, {
|
|
|
8795
8815
|
swr: false,
|
|
8796
8816
|
getKey: (event) => [getRouterParam(event, "locale") ?? "null", getRouterParam(event, "hash") ?? "null"].join("-")
|
|
8797
8817
|
});
|
|
8798
|
-
const
|
|
8818
|
+
const _Lnfmd1 = _messagesHandler ;
|
|
8799
8819
|
|
|
8800
|
-
const
|
|
8820
|
+
const _Dc68hf = eventHandler(async (event) => {
|
|
8801
8821
|
const collection = getRouterParam(event, "collection");
|
|
8802
8822
|
setHeader(event, "Content-Type", "text/plain");
|
|
8803
8823
|
const data = await useStorage().getItem(`build:content:database.compressed.mjs`) || "";
|
|
@@ -9079,7 +9099,7 @@ function cleanupQuery(query, options = { removeString: false }) {
|
|
|
9079
9099
|
return result;
|
|
9080
9100
|
}
|
|
9081
9101
|
|
|
9082
|
-
const
|
|
9102
|
+
const _Unj2pu = eventHandler(async (event) => {
|
|
9083
9103
|
const { sql } = await readBody(event);
|
|
9084
9104
|
const collection = getRouterParam(event, "collection");
|
|
9085
9105
|
assertSafeQuery(sql, collection);
|
|
@@ -9109,19 +9129,19 @@ const _Qnnu2J = lazyEventHandler(() => {
|
|
|
9109
9129
|
});
|
|
9110
9130
|
|
|
9111
9131
|
const _lazy_u5Dhoc = () => Promise.resolve().then(function () { return neonTest$1; });
|
|
9112
|
-
const
|
|
9132
|
+
const _lazy_tJZ_5j = () => Promise.resolve().then(function () { return renderer$1; });
|
|
9113
9133
|
|
|
9114
9134
|
const handlers = [
|
|
9115
|
-
{ route: '', handler:
|
|
9135
|
+
{ route: '', handler: _aBJLZz, lazy: false, middleware: true, method: undefined },
|
|
9116
9136
|
{ route: '/api/neonTest', handler: _lazy_u5Dhoc, lazy: true, middleware: false, method: undefined },
|
|
9117
|
-
{ route: '/__nuxt_error', handler:
|
|
9137
|
+
{ route: '/__nuxt_error', handler: _lazy_tJZ_5j, lazy: true, middleware: false, method: undefined },
|
|
9118
9138
|
{ route: '/__nuxt_island/**', handler: _SxA8c9, lazy: false, middleware: false, method: undefined },
|
|
9119
|
-
{ route: '', handler:
|
|
9120
|
-
{ route: '', handler:
|
|
9121
|
-
{ route: '', handler:
|
|
9122
|
-
{ route: '', handler:
|
|
9123
|
-
{ route: '', handler:
|
|
9124
|
-
{ route: '/api/_nuxt_icon/:collection', handler:
|
|
9139
|
+
{ route: '', handler: _P5KhqA, lazy: false, middleware: false, method: undefined },
|
|
9140
|
+
{ route: '', handler: _uMfJTP, lazy: false, middleware: false, method: undefined },
|
|
9141
|
+
{ route: '', handler: _TjfwyU, lazy: false, middleware: false, method: undefined },
|
|
9142
|
+
{ route: '', handler: _3ipjNg, lazy: false, middleware: false, method: undefined },
|
|
9143
|
+
{ route: '', handler: _p1m2Kd, lazy: false, middleware: false, method: undefined },
|
|
9144
|
+
{ route: '/api/_nuxt_icon/:collection', handler: _s81vkT, lazy: false, middleware: false, method: undefined },
|
|
9125
9145
|
{ route: '/api/_neon/raw', handler: _EjRxst, lazy: false, middleware: false, method: undefined },
|
|
9126
9146
|
{ route: '/api/_neon/count', handler: _kaOIzd, lazy: false, middleware: false, method: undefined },
|
|
9127
9147
|
{ route: '/api/_neon/select', handler: _KueSjI, lazy: false, middleware: false, method: undefined },
|
|
@@ -9130,27 +9150,27 @@ const handlers = [
|
|
|
9130
9150
|
{ route: '/api/_neon/delete', handler: _QLaobO, lazy: false, middleware: false, method: undefined },
|
|
9131
9151
|
{ route: '/api/_auth/session', handler: _2_fp1a, lazy: false, middleware: false, method: "delete" },
|
|
9132
9152
|
{ route: '/api/_auth/session', handler: _8YFWwD, lazy: false, middleware: false, method: "get" },
|
|
9133
|
-
{ route: '', handler:
|
|
9134
|
-
{ route: '/__site-config__/debug.json', handler:
|
|
9135
|
-
{ route: '/robots.txt', handler:
|
|
9136
|
-
{ route: '', handler:
|
|
9137
|
-
{ route: '/__robots__/debug.json', handler:
|
|
9138
|
-
{ route: '/__robots__/debug-path.json', handler:
|
|
9139
|
-
{ route: '/__sitemap__/nuxt-content-urls.json', handler:
|
|
9140
|
-
{ route: '/__sitemap__/debug.json', handler:
|
|
9141
|
-
{ route: '/__sitemap__/style.xsl', handler:
|
|
9142
|
-
{ route: '/sitemap.xml', handler:
|
|
9143
|
-
{ route: '/__link-checker__/inspect', handler:
|
|
9144
|
-
{ route: '/__link-checker__/links', handler:
|
|
9145
|
-
{ route: '/__link-checker__/debug.json', handler:
|
|
9146
|
-
{ route: '', handler:
|
|
9147
|
-
{ route: '/_i18n/:hash/:locale/messages.json', handler:
|
|
9148
|
-
{ route: '/__nuxt_content/:collection/sql_dump.txt', handler:
|
|
9149
|
-
{ route: '/__nuxt_content/:collection/query', handler:
|
|
9153
|
+
{ route: '', handler: _GDEiau, lazy: false, middleware: true, method: undefined },
|
|
9154
|
+
{ route: '/__site-config__/debug.json', handler: _mIOHyL, lazy: false, middleware: false, method: undefined },
|
|
9155
|
+
{ route: '/robots.txt', handler: _Q9QB_M, lazy: false, middleware: false, method: undefined },
|
|
9156
|
+
{ route: '', handler: _OXTxFn, lazy: false, middleware: true, method: undefined },
|
|
9157
|
+
{ route: '/__robots__/debug.json', handler: _C_LEvw, lazy: false, middleware: false, method: undefined },
|
|
9158
|
+
{ route: '/__robots__/debug-path.json', handler: _zl1VW_, lazy: false, middleware: false, method: undefined },
|
|
9159
|
+
{ route: '/__sitemap__/nuxt-content-urls.json', handler: _W107Ad, lazy: false, middleware: false, method: undefined },
|
|
9160
|
+
{ route: '/__sitemap__/debug.json', handler: _V57sGR, lazy: false, middleware: false, method: undefined },
|
|
9161
|
+
{ route: '/__sitemap__/style.xsl', handler: _aOy17u, lazy: false, middleware: false, method: undefined },
|
|
9162
|
+
{ route: '/sitemap.xml', handler: _JukhrP, lazy: false, middleware: false, method: undefined },
|
|
9163
|
+
{ route: '/__link-checker__/inspect', handler: _uENAMR, lazy: false, middleware: false, method: undefined },
|
|
9164
|
+
{ route: '/__link-checker__/links', handler: _43IHEo, lazy: false, middleware: false, method: undefined },
|
|
9165
|
+
{ route: '/__link-checker__/debug.json', handler: _NwP4pF, lazy: false, middleware: false, method: undefined },
|
|
9166
|
+
{ route: '', handler: _FrFydN, lazy: false, middleware: true, method: undefined },
|
|
9167
|
+
{ route: '/_i18n/:hash/:locale/messages.json', handler: _Lnfmd1, lazy: false, middleware: false, method: undefined },
|
|
9168
|
+
{ route: '/__nuxt_content/:collection/sql_dump.txt', handler: _Dc68hf, lazy: false, middleware: false, method: undefined },
|
|
9169
|
+
{ route: '/__nuxt_content/:collection/query', handler: _Unj2pu, lazy: false, middleware: false, method: undefined },
|
|
9150
9170
|
{ route: '/_ipx/**', handler: _Qnnu2J, lazy: false, middleware: false, method: undefined },
|
|
9151
|
-
{ route: '/_fonts/**', handler:
|
|
9152
|
-
{ route: '/_scripts/**', handler:
|
|
9153
|
-
{ route: '/**', handler:
|
|
9171
|
+
{ route: '/_fonts/**', handler: _lazy_tJZ_5j, lazy: true, middleware: false, method: undefined },
|
|
9172
|
+
{ route: '/_scripts/**', handler: _lazy_tJZ_5j, lazy: true, middleware: false, method: undefined },
|
|
9173
|
+
{ route: '/**', handler: _lazy_tJZ_5j, lazy: true, middleware: false, method: undefined }
|
|
9154
9174
|
];
|
|
9155
9175
|
|
|
9156
9176
|
function createNitroApp() {
|
|
@@ -9455,14 +9475,6 @@ const styles$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
9455
9475
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
9456
9476
|
|
|
9457
9477
|
const sources$1 = [
|
|
9458
|
-
{
|
|
9459
|
-
"context": {
|
|
9460
|
-
"name": "sitemap:urls",
|
|
9461
|
-
"description": "Set with the `sitemap.urls` config."
|
|
9462
|
-
},
|
|
9463
|
-
"urls": [],
|
|
9464
|
-
"sourceType": "user"
|
|
9465
|
-
},
|
|
9466
9478
|
{
|
|
9467
9479
|
"context": {
|
|
9468
9480
|
"name": "@nuxt/content@v3:urls",
|