@vc-shell/framework 1.2.0 → 1.2.1
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/core/composables/useDynamicProperties/index.ts +5 -9
- package/dist/assets/042c75b764bc78a7.svg +1 -0
- package/dist/assets/0ba156439a339f2a.svg +1 -0
- package/dist/assets/0be560bfb22d0e72.woff2 +0 -0
- package/dist/assets/0f590f8a94577092.svg +1 -0
- package/dist/assets/0fc5820f8be53a1b.svg +1 -0
- package/dist/assets/105efd028edc1dfe.woff +0 -0
- package/dist/assets/10768e2cc79fc60b.svg +1 -0
- package/dist/assets/11b3d25a56fd9a21.woff2 +0 -0
- package/dist/assets/154365acf3010d96.woff2 +0 -0
- package/dist/assets/157b8721e0600ea8.svg +1 -0
- package/dist/assets/15e91cdd649cde9a.svg +1 -0
- package/dist/assets/19275e398ae57130.woff2 +0 -0
- package/dist/assets/1a3e84b2457f709a.woff +0 -0
- package/dist/assets/1de63eb118636cce.svg +1 -0
- package/dist/assets/1ea01de36eb5491b.svg +1 -0
- package/dist/assets/204eaf512fde2023.svg +1 -0
- package/dist/assets/2088983edf42e153.svg +1 -0
- package/dist/assets/208f810a9321a327.svg +1 -0
- package/dist/assets/21220a9d10e6c558.svg +1 -0
- package/dist/assets/220db345a102045d.woff2 +0 -0
- package/dist/assets/225da11d23968333.svg +1 -0
- package/dist/assets/226f862dd81bdc13.woff2 +0 -0
- package/dist/assets/23a2d53395ddb14f.woff +0 -0
- package/dist/assets/259e6ad461a52ad7.svg +1 -0
- package/dist/assets/261e6dec4d53b9ac.woff +0 -0
- package/dist/assets/262f46a0b6d94bb6.svg +1 -0
- package/dist/assets/2857c513073467da.svg +1 -0
- package/dist/assets/2b3be7889467d98f.woff +0 -0
- package/dist/assets/2d4e6190eec72737.svg +1 -0
- package/dist/assets/2eba973185078bc8.woff +0 -0
- package/dist/assets/334d3f6bc766c516.woff +0 -0
- package/dist/assets/34ff7dd0c2285956.svg +1 -0
- package/dist/assets/3d26b7c1ab78bbe2.woff +0 -0
- package/dist/assets/3d892965ab4f1cbb.woff2 +0 -0
- package/dist/assets/3f8c4cc8099e34b6.woff2 +0 -0
- package/dist/assets/40a0e53b79ce63c6.woff2 +0 -0
- package/dist/assets/41275bcb979cb650.svg +1 -0
- package/dist/assets/434f7982590e462f.woff +0 -0
- package/dist/assets/475937116ee3314a.woff2 +0 -0
- package/dist/assets/489710fb710e73f0.woff +0 -0
- package/dist/assets/49791943b3872376.woff2 +0 -0
- package/dist/assets/4ae5f23e0ca888e7.woff2 +0 -0
- package/dist/assets/4d7a77b0e5373992.svg +1 -0
- package/dist/assets/4e43c74354534fb3.svg +1 -0
- package/dist/assets/4fe75f5117100705.svg +1 -0
- package/dist/assets/52e261a005074e1b.woff +0 -0
- package/dist/assets/5304c3d05a5f9789.woff2 +0 -0
- package/dist/assets/54cda5482c6c9218.woff +0 -0
- package/dist/assets/550f52072e8ccafe.woff2 +0 -0
- package/dist/assets/572bb1bb4156a9c1.svg +1 -0
- package/dist/assets/6075995d7e74da46.woff2 +0 -0
- package/dist/assets/617c4736236e199e.woff +0 -0
- package/dist/assets/67230f05dc94a265.svg +1 -0
- package/dist/assets/6798e4dd4add9b48.svg +1 -0
- package/dist/assets/686d4077c1e26876.woff2 +0 -0
- package/dist/assets/698ec6c722d4cb05.woff2 +0 -0
- package/dist/assets/6a3e73faf406cf33.svg +1 -0
- package/dist/assets/72de3a63bc0b70dd.svg +1 -0
- package/dist/assets/74c6a6ab81bb6340.woff2 +0 -0
- package/dist/assets/74ed5f8a78e71106.svg +1 -0
- package/dist/assets/7a5aa5abd625137f.ttf +0 -0
- package/dist/assets/7ce0c166fd6a1204.woff +0 -0
- package/dist/assets/7d55399c2a7bc985.svg +1 -0
- package/dist/assets/7d970675c69fca1d.woff +0 -0
- package/dist/assets/7eda727273fd98d3.svg +1 -0
- package/dist/assets/7f6ebfd707b76ca2.woff +0 -0
- package/dist/assets/7fa898d213fcc7bc.woff2 +0 -0
- package/dist/assets/861e6b7192b3b6c7.woff +0 -0
- package/dist/assets/8bbcde81ba21ecb2.woff2 +0 -0
- package/dist/assets/8f6657e5e0b8d3e4.woff +0 -0
- package/dist/assets/910b0d99b9e26568.svg +1 -0
- package/dist/assets/91fe94e424323d61.woff +0 -0
- package/dist/assets/92508f8707159b51.svg +1 -0
- package/dist/assets/9392bf1d591e1abb.svg +1 -0
- package/dist/assets/97e8d4984ba0713a.woff2 +0 -0
- package/dist/assets/9cb83236f6bb7ab1.svg +1 -0
- package/dist/assets/9d37314695c0b68d.woff +0 -0
- package/dist/assets/a03cdcd8da5bb987.woff +0 -0
- package/dist/assets/a18404194e3f9047.svg +1 -0
- package/dist/assets/a2017fe7f0a26510.svg +1 -0
- package/dist/assets/ab6e7190bb1492d5.woff2 +0 -0
- package/dist/assets/abf88f301a0730f4.svg +1 -0
- package/dist/assets/ac1a99b3d05d8232.woff +0 -0
- package/dist/assets/aed17cb6fdad2ada.woff2 +0 -0
- package/dist/assets/b1a596e31ad1185a.svg +1 -0
- package/dist/assets/b27767411c8427be.woff +0 -0
- package/dist/assets/b325adcae33bbe7a.svg +1 -0
- package/dist/assets/b372390551ca2fa1.svg +1 -0
- package/dist/assets/b5bb1e8fc975decd.svg +1 -0
- package/dist/assets/b645a4a2181b9dc1.svg +1 -0
- package/dist/assets/b6499ddce0a4ef7d.svg +1 -0
- package/dist/assets/b94421fadd23b0f2.svg +1 -0
- package/dist/assets/bb28fb0f27f1c11b.svg +1 -0
- package/dist/assets/c9191b638a10f67b.woff2 +0 -0
- package/dist/assets/ca791c5ca5848a03.svg +1 -0
- package/dist/assets/cb32840ce330103f.woff +0 -0
- package/dist/assets/ccc878931d74181b.woff2 +0 -0
- package/dist/assets/d084bda16abe8a56.svg +1 -0
- package/dist/assets/d32b129cae2fffd6.svg +1 -0
- package/dist/assets/d35a4c7113315758.woff2 +0 -0
- package/dist/assets/d3f792f54ae4c307.svg +1 -0
- package/dist/assets/d5a5b8630120073d.svg +1 -0
- package/dist/assets/d5f9664ebbfb104b.svg +1 -0
- package/dist/assets/d84247b59449dd88.woff2 +0 -0
- package/dist/assets/dceaf3b39091e6a4.woff +0 -0
- package/dist/assets/dd05d43ff0df2fc7.svg +1 -0
- package/dist/assets/e2ad5b3428289141.woff +0 -0
- package/dist/assets/e38acaa1757232e0.svg +1 -0
- package/dist/assets/e4a8550f1c7ffe36.svg +1 -0
- package/dist/assets/e5adb5ae3a3698f6.svg +1 -0
- package/dist/assets/e61a1889bac955f4.woff2 +0 -0
- package/dist/assets/e72bb11356af94c7.svg +1 -0
- package/dist/assets/e98196a9f8dcb2f0.svg +1 -0
- package/dist/assets/ebec912a42ad49ff.woff +0 -0
- package/dist/assets/ee6983981ffcbb41.woff2 +0 -0
- package/dist/assets/f09d89268e4c0317.svg +1 -0
- package/dist/assets/f239394367fcf005.woff2 +0 -0
- package/dist/assets/f5722262b6e7214e.woff2 +0 -0
- package/dist/assets/f7fc8bf46089d8b2.svg +1 -0
- package/dist/assets/fc829e3f399b70e0.woff2 +0 -0
- package/dist/assets/fe141d99763f5d2b.woff +0 -0
- package/dist/assets/fed13b0d59903483.svg +1 -0
- package/dist/assets/fed757d2c2344ead.woff2 +0 -0
- package/dist/assets/ffc438f20e79ce73.woff +0 -0
- package/dist/core/composables/useDynamicProperties/index.d.ts +1 -1
- package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
- package/dist/framework.js +25035 -0
- package/dist/index.css +9 -0
- package/dist/shared/components/multilanguage-selector/multilanguage-selector.vue.d.ts +1 -1
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +10 -10
- package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +4 -4
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +2 -2
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +1 -1
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/_internal/vc-editor-button.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.backupsb.d.ts +3 -3
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +5 -5
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +1 -1
- package/dist/vendor-boolbase-A_-Pp38P.js +23 -0
- package/dist/vendor-cheerio-C46iBpCu.js +1053 -0
- package/dist/vendor-cheerio-select-C8emRZsx.js +191 -0
- package/dist/vendor-core-js-DDuR6YMQ.js +1206 -0
- package/dist/vendor-css-select-DR9bp36p.js +622 -0
- package/dist/vendor-css-what-CZZaquJM.js +267 -0
- package/dist/vendor-cypress-signalr-mock-DjBxJHA6.js +769 -0
- package/dist/vendor-date-fns-sZ1zMzTH.js +3008 -0
- package/dist/vendor-dom-serializer-Sk3xHhQk.js +213 -0
- package/dist/vendor-domelementtype-B3sFIGaC.js +21 -0
- package/dist/vendor-domhandler-CL40eeX9.js +311 -0
- package/dist/vendor-dompurify-BuxjWxA2.js +553 -0
- package/dist/vendor-domutils-BiVCXO8c.js +386 -0
- package/dist/vendor-entities-CCReaWqU.js +364 -0
- package/dist/vendor-floating-ui-core-Cl9nBI4j.js +349 -0
- package/dist/vendor-floating-ui-dom-3z44E4mf.js +395 -0
- package/dist/vendor-floating-ui-utils-D2sT7feD.js +259 -0
- package/dist/vendor-floating-ui-vue-ClrgkeO5.js +107 -0
- package/dist/vendor-headlessui-vue-D7tzx4PC.js +961 -0
- package/dist/vendor-htmlparser2-CpQu33io.js +735 -0
- package/dist/vendor-intlify-core-base-Da62SG4M.js +1130 -0
- package/dist/vendor-intlify-message-compiler-CHvGSH2u.js +952 -0
- package/dist/vendor-intlify-shared-jWBPd9WB.js +144 -0
- package/dist/vendor-iso-639-1-BJO6WZAt.js +781 -0
- package/dist/vendor-linkify-it-LzoUhj6C.js +199 -0
- package/dist/vendor-linkifyjs-dCH9UYes.js +701 -0
- package/dist/vendor-lodash-es-BqkGj3Jl.js +4816 -0
- package/dist/vendor-lucide-vue-next-m0L4DzUL.js +29780 -0
- package/dist/vendor-markdown-it-Czg9qJTh.js +2263 -0
- package/dist/vendor-markdown-it-task-lists-BxLwscWK.js +69 -0
- package/dist/vendor-mdurl-DZFDNdqC.js +192 -0
- package/dist/vendor-microsoft-applicationinsights-analytics-js-C1Yxuzwg.js +1207 -0
- package/dist/vendor-microsoft-applicationinsights-cfgsync-js-DArHD4Dn.js +261 -0
- package/dist/vendor-microsoft-applicationinsights-channel-js-Dbs0XRes.js +1822 -0
- package/dist/vendor-microsoft-applicationinsights-common-OjU3Zs6r.js +1921 -0
- package/dist/vendor-microsoft-applicationinsights-core-js-DWRvqBek.js +4276 -0
- package/dist/vendor-microsoft-applicationinsights-dependencies-js-BxTNw-Sk.js +1407 -0
- package/dist/vendor-microsoft-applicationinsights-properties-js-Gfhpu-At.js +572 -0
- package/dist/vendor-microsoft-applicationinsights-shims-CxtPYiwp.js +43 -0
- package/dist/vendor-microsoft-applicationinsights-web-9yeJ0EZv.js +487 -0
- package/dist/vendor-microsoft-dynamicproto-js-DSkQkH3T.js +147 -0
- package/dist/vendor-microsoft-signalr-Bgpbb4fW.js +1761 -0
- package/dist/vendor-moment-DMLRxgRE.js +2589 -0
- package/dist/vendor-nevware21-ts-async-CdMc_sGt.js +261 -0
- package/dist/vendor-nevware21-ts-utils-Dy41wRhA.js +853 -0
- package/dist/vendor-nth-check-CS1D-zr5.js +45 -0
- package/dist/vendor-orderedmap-B3SOk52B.js +103 -0
- package/dist/vendor-parse5-htmlparser2-tree-adapter-BWywtwol.js +143 -0
- package/dist/vendor-parse5-zq5Hn0y9.js +5749 -0
- package/dist/vendor-prettier-cZc5sCiS.js +4875 -0
- package/dist/vendor-prosemirror-commands-Cu1q5ZDk.js +385 -0
- package/dist/vendor-prosemirror-dropcursor-BuGmFgFS.js +86 -0
- package/dist/vendor-prosemirror-gapcursor-CyYcCWVK.js +203 -0
- package/dist/vendor-prosemirror-history-DzRcbrCw.js +248 -0
- package/dist/vendor-prosemirror-keymap-KfbdOEJw.js +62 -0
- package/dist/vendor-prosemirror-markdown-OyxRuawK.js +650 -0
- package/dist/vendor-prosemirror-model-DFp4ML7B.js +2730 -0
- package/dist/vendor-prosemirror-schema-list-CwCUArvx.js +87 -0
- package/dist/vendor-prosemirror-state-DHaVEu5h.js +821 -0
- package/dist/vendor-prosemirror-tables-mYok4vGT.js +1711 -0
- package/dist/vendor-prosemirror-transform-CAHmg-qG.js +1508 -0
- package/dist/vendor-prosemirror-view-CspJa44O.js +3751 -0
- package/dist/vendor-punycode-js-CgGegfA_.js +133 -0
- package/dist/vendor-rope-sequence-BWC2FSrq.js +100 -0
- package/dist/vendor-semver-Dar8oU3V.js +1023 -0
- package/dist/vendor-swiper-1bp0oJwt.js +3387 -0
- package/dist/vendor-tanstack-virtual-core-l0sNRNKZ.js +1 -0
- package/dist/vendor-tanstack-vue-virtual-CD9yLWd7.js +1 -0
- package/dist/vendor-tiptap-core-8RGSOCZs.js +3442 -0
- package/dist/vendor-tiptap-extension-blockquote-BVmAuV7o.js +54 -0
- package/dist/vendor-tiptap-extension-bold-BOh8AIRZ.js +74 -0
- package/dist/vendor-tiptap-extension-code-R4pc2wFE.js +52 -0
- package/dist/vendor-tiptap-extension-code-block-DibKlZFG.js +215 -0
- package/dist/vendor-tiptap-extension-document-BwORJR1k.js +12 -0
- package/dist/vendor-tiptap-extension-hard-break-DH36OfVk.js +55 -0
- package/dist/vendor-tiptap-extension-heading-oMLORiPI.js +63 -0
- package/dist/vendor-tiptap-extension-horizontal-rule-BMHSoB_Y.js +56 -0
- package/dist/vendor-tiptap-extension-image-DF1ZJ94q.js +80 -0
- package/dist/vendor-tiptap-extension-italic-BzqrUuB0.js +73 -0
- package/dist/vendor-tiptap-extension-link-hMFZ0hfl.js +298 -0
- package/dist/vendor-tiptap-extension-list-Bj5AK6Pq.js +707 -0
- package/dist/vendor-tiptap-extension-paragraph-Bs1wl42E.js +41 -0
- package/dist/vendor-tiptap-extension-placeholder-CupUGaI_.js +1 -0
- package/dist/vendor-tiptap-extension-strike-C4YpGyzc.js +64 -0
- package/dist/vendor-tiptap-extension-table-D8RFr_6X.js +368 -0
- package/dist/vendor-tiptap-extension-table-cell-k9uLwyL6.js +1 -0
- package/dist/vendor-tiptap-extension-table-header-k9uLwyL6.js +1 -0
- package/dist/vendor-tiptap-extension-table-row-k9uLwyL6.js +1 -0
- package/dist/vendor-tiptap-extension-text-C4dQW13r.js +13 -0
- package/dist/vendor-tiptap-extension-text-style-a_NYjXT6.js +235 -0
- package/dist/vendor-tiptap-extension-underline-DthCaPX3.js +65 -0
- package/dist/vendor-tiptap-extensions-C8rF1qdq.js +290 -0
- package/dist/vendor-tiptap-markdown-DRc3qhBU.js +826 -0
- package/dist/vendor-tiptap-pm-d91nGny8.js +1 -0
- package/dist/vendor-tiptap-starter-kit-BfUUblkP.js +28 -0
- package/dist/vendor-tiptap-vue-3-DYxT2sf6.js +157 -0
- package/dist/vendor-truncate-html-DYC0Lj9o.js +145 -0
- package/dist/vendor-uc-micro-4lbSaZOs.js +17 -0
- package/dist/vendor-vee-validate-i18n-zT8NxX3R.js +93 -0
- package/dist/vendor-vee-validate-rules-4oWUZPpG.js +316 -0
- package/dist/vendor-vue-currency-input-BqaYAdhD.js +317 -0
- package/dist/vendor-vue-demi-CD9yLWd7.js +1 -0
- package/dist/vendor-vue-devtools-api-aVYGocXp.js +93 -0
- package/dist/vendor-vue-i18n-CO5LWKE0.js +1370 -0
- package/dist/vendor-vue3-application-insights-BKiiWnf2.js +69 -0
- package/dist/vendor-vue3-touch-events-DqysuuWh.js +169 -0
- package/dist/vendor-vuepic-vue-datepicker-CaY_xSnG.js +4998 -0
- package/dist/vendor-vueuse-components-B0zqjNRW.js +542 -0
- package/dist/vendor-vueuse-core-CYgwn-B2.js +5130 -0
- package/dist/vendor-vueuse-shared-B_uDJJ6V.js +1169 -0
- package/dist/vendor-w3c-keyname-CLxH8j-f.js +92 -0
- package/package.json +5 -5
|
@@ -0,0 +1,1130 @@
|
|
|
1
|
+
import { i as R, w as ee, a as m, b as $, c as D, d as P, e as x, f as b, g as _e, h as Ye, j as S, k as B, l as Fe, m as de, n as I, o as oe, s as He, p as je, q as ge, r as j, t as y, u as z, v as ze, x as xe, y as Xe, z as Ze, A as qe } from "./vendor-intlify-shared-jWBPd9WB.js";
|
|
2
|
+
import { c as Je, C as Qe, d as et, a as tt, b as nt } from "./vendor-intlify-message-compiler-CHvGSH2u.js";
|
|
3
|
+
/*!
|
|
4
|
+
* core-base v11.1.12
|
|
5
|
+
* (c) 2025 kazuya kawaguchi
|
|
6
|
+
* Released under the MIT License.
|
|
7
|
+
*/
|
|
8
|
+
function rt() {
|
|
9
|
+
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (de().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (de().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
10
|
+
}
|
|
11
|
+
function Y(e) {
|
|
12
|
+
return S(e) && le(e) === 0 && (B(e, "b") || B(e, "body"));
|
|
13
|
+
}
|
|
14
|
+
const Re = ["b", "body"];
|
|
15
|
+
function at(e) {
|
|
16
|
+
return G(e, Re);
|
|
17
|
+
}
|
|
18
|
+
const he = ["c", "cases"];
|
|
19
|
+
function st(e) {
|
|
20
|
+
return G(e, he, []);
|
|
21
|
+
}
|
|
22
|
+
const Le = ["s", "static"];
|
|
23
|
+
function ot(e) {
|
|
24
|
+
return G(e, Le);
|
|
25
|
+
}
|
|
26
|
+
const Se = ["i", "items"];
|
|
27
|
+
function lt(e) {
|
|
28
|
+
return G(e, Se, []);
|
|
29
|
+
}
|
|
30
|
+
const Ie = ["t", "type"];
|
|
31
|
+
function le(e) {
|
|
32
|
+
return G(e, Ie);
|
|
33
|
+
}
|
|
34
|
+
const ve = ["v", "value"];
|
|
35
|
+
function J(e, t) {
|
|
36
|
+
const n = G(e, ve);
|
|
37
|
+
if (n != null)
|
|
38
|
+
return n;
|
|
39
|
+
throw Z(t);
|
|
40
|
+
}
|
|
41
|
+
const be = ["m", "modifier"];
|
|
42
|
+
function it(e) {
|
|
43
|
+
return G(e, be);
|
|
44
|
+
}
|
|
45
|
+
const Pe = ["k", "key"];
|
|
46
|
+
function ct(e) {
|
|
47
|
+
const t = G(e, Pe);
|
|
48
|
+
if (t)
|
|
49
|
+
return t;
|
|
50
|
+
throw Z(
|
|
51
|
+
6
|
|
52
|
+
/* NodeTypes.Linked */
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
function G(e, t, n) {
|
|
56
|
+
for (let r = 0; r < t.length; r++) {
|
|
57
|
+
const a = t[r];
|
|
58
|
+
if (B(e, a) && e[a] != null)
|
|
59
|
+
return e[a];
|
|
60
|
+
}
|
|
61
|
+
return n;
|
|
62
|
+
}
|
|
63
|
+
const ut = [
|
|
64
|
+
...Re,
|
|
65
|
+
...he,
|
|
66
|
+
...Le,
|
|
67
|
+
...Se,
|
|
68
|
+
...Pe,
|
|
69
|
+
...be,
|
|
70
|
+
...ve,
|
|
71
|
+
...Ie
|
|
72
|
+
];
|
|
73
|
+
function Z(e) {
|
|
74
|
+
return new Error(`unhandled node type: ${e}`);
|
|
75
|
+
}
|
|
76
|
+
function te(e) {
|
|
77
|
+
return (n) => mt(n, e);
|
|
78
|
+
}
|
|
79
|
+
function mt(e, t) {
|
|
80
|
+
const n = at(t);
|
|
81
|
+
if (n == null)
|
|
82
|
+
throw Z(
|
|
83
|
+
0
|
|
84
|
+
/* NodeTypes.Resource */
|
|
85
|
+
);
|
|
86
|
+
if (le(n) === 1) {
|
|
87
|
+
const o = st(n);
|
|
88
|
+
return e.plural(o.reduce((l, i) => [
|
|
89
|
+
...l,
|
|
90
|
+
Ee(e, i)
|
|
91
|
+
], []));
|
|
92
|
+
} else
|
|
93
|
+
return Ee(e, n);
|
|
94
|
+
}
|
|
95
|
+
function Ee(e, t) {
|
|
96
|
+
const n = ot(t);
|
|
97
|
+
if (n != null)
|
|
98
|
+
return e.type === "text" ? n : e.normalize([n]);
|
|
99
|
+
{
|
|
100
|
+
const r = lt(t).reduce((a, o) => [...a, ae(e, o)], []);
|
|
101
|
+
return e.normalize(r);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
function ae(e, t) {
|
|
105
|
+
const n = le(t);
|
|
106
|
+
switch (n) {
|
|
107
|
+
case 3:
|
|
108
|
+
return J(t, n);
|
|
109
|
+
case 9:
|
|
110
|
+
return J(t, n);
|
|
111
|
+
case 4: {
|
|
112
|
+
const r = t;
|
|
113
|
+
if (B(r, "k") && r.k)
|
|
114
|
+
return e.interpolate(e.named(r.k));
|
|
115
|
+
if (B(r, "key") && r.key)
|
|
116
|
+
return e.interpolate(e.named(r.key));
|
|
117
|
+
throw Z(n);
|
|
118
|
+
}
|
|
119
|
+
case 5: {
|
|
120
|
+
const r = t;
|
|
121
|
+
if (B(r, "i") && I(r.i))
|
|
122
|
+
return e.interpolate(e.list(r.i));
|
|
123
|
+
if (B(r, "index") && I(r.index))
|
|
124
|
+
return e.interpolate(e.list(r.index));
|
|
125
|
+
throw Z(n);
|
|
126
|
+
}
|
|
127
|
+
case 6: {
|
|
128
|
+
const r = t, a = it(r), o = ct(r);
|
|
129
|
+
return e.linked(ae(e, o), a ? ae(e, a) : void 0, e.type);
|
|
130
|
+
}
|
|
131
|
+
case 7:
|
|
132
|
+
return J(t, n);
|
|
133
|
+
case 8:
|
|
134
|
+
return J(t, n);
|
|
135
|
+
default:
|
|
136
|
+
throw new Error(`unhandled node on format message part: ${n}`);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
const ft = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
|
|
140
|
+
function _t(e, t) {
|
|
141
|
+
t && et(e) && ee(Fe(ft, { source: e }));
|
|
142
|
+
}
|
|
143
|
+
const dt = (e) => e;
|
|
144
|
+
let Q = P();
|
|
145
|
+
function gt(e, t = {}) {
|
|
146
|
+
let n = !1;
|
|
147
|
+
const r = t.onError || tt;
|
|
148
|
+
return t.onError = (a) => {
|
|
149
|
+
n = !0, r(a);
|
|
150
|
+
}, { ...nt(e, t), detectError: n };
|
|
151
|
+
}
|
|
152
|
+
// @__NO_SIDE_EFFECTS__
|
|
153
|
+
function nn(e, t) {
|
|
154
|
+
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && m(e)) {
|
|
155
|
+
const n = b(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
|
|
156
|
+
process.env.NODE_ENV !== "production" && _t(e, n);
|
|
157
|
+
const a = (t.onCacheKey || dt)(e), o = Q[a];
|
|
158
|
+
if (o)
|
|
159
|
+
return o;
|
|
160
|
+
const { ast: l, detectError: i } = gt(e, {
|
|
161
|
+
...t,
|
|
162
|
+
location: process.env.NODE_ENV !== "production",
|
|
163
|
+
jit: !0
|
|
164
|
+
}), s = te(l);
|
|
165
|
+
return i ? s : Q[a] = s;
|
|
166
|
+
} else {
|
|
167
|
+
if (process.env.NODE_ENV !== "production" && !Y(e))
|
|
168
|
+
return ee(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), (() => e);
|
|
169
|
+
const n = e.cacheKey;
|
|
170
|
+
if (n) {
|
|
171
|
+
const r = Q[n];
|
|
172
|
+
return r || (Q[n] = te(e));
|
|
173
|
+
} else
|
|
174
|
+
return te(e);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
let q = null;
|
|
178
|
+
function rn(e) {
|
|
179
|
+
q = e;
|
|
180
|
+
}
|
|
181
|
+
function Et(e, t, n) {
|
|
182
|
+
q && q.emit("i18n:init", {
|
|
183
|
+
timestamp: Date.now(),
|
|
184
|
+
i18n: e,
|
|
185
|
+
version: t,
|
|
186
|
+
meta: n
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
const Ot = /* @__PURE__ */ Tt("function:translate");
|
|
190
|
+
function Tt(e) {
|
|
191
|
+
return (t) => q && q.emit(e, t);
|
|
192
|
+
}
|
|
193
|
+
const L = {
|
|
194
|
+
INVALID_ARGUMENT: Qe,
|
|
195
|
+
// 17
|
|
196
|
+
INVALID_DATE_ARGUMENT: 18,
|
|
197
|
+
INVALID_ISO_DATE_ARGUMENT: 19,
|
|
198
|
+
NOT_SUPPORT_NON_STRING_MESSAGE: 20,
|
|
199
|
+
NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
|
|
200
|
+
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
201
|
+
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
202
|
+
}, an = 24;
|
|
203
|
+
function W(e) {
|
|
204
|
+
return Je(e, null, process.env.NODE_ENV !== "production" ? { messages: Nt } : void 0);
|
|
205
|
+
}
|
|
206
|
+
const Nt = {
|
|
207
|
+
[L.INVALID_ARGUMENT]: "Invalid arguments",
|
|
208
|
+
[L.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
|
|
209
|
+
[L.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
|
|
210
|
+
[L.NOT_SUPPORT_NON_STRING_MESSAGE]: "Not support non-string message",
|
|
211
|
+
[L.NOT_SUPPORT_LOCALE_PROMISE_VALUE]: "cannot support promise value",
|
|
212
|
+
[L.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]: "cannot support async function",
|
|
213
|
+
[L.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
|
|
214
|
+
};
|
|
215
|
+
function ie(e, t) {
|
|
216
|
+
return t.locale != null ? Oe(t.locale) : Oe(e.locale);
|
|
217
|
+
}
|
|
218
|
+
let ne;
|
|
219
|
+
function Oe(e) {
|
|
220
|
+
if (m(e))
|
|
221
|
+
return e;
|
|
222
|
+
if (R(e)) {
|
|
223
|
+
if (e.resolvedOnce && ne != null)
|
|
224
|
+
return ne;
|
|
225
|
+
if (e.constructor.name === "Function") {
|
|
226
|
+
const t = e();
|
|
227
|
+
if (Xe(t))
|
|
228
|
+
throw W(L.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
229
|
+
return ne = t;
|
|
230
|
+
} else
|
|
231
|
+
throw W(L.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
232
|
+
} else
|
|
233
|
+
throw W(L.NOT_SUPPORT_LOCALE_TYPE);
|
|
234
|
+
}
|
|
235
|
+
function pt(e, t, n) {
|
|
236
|
+
return [.../* @__PURE__ */ new Set([
|
|
237
|
+
n,
|
|
238
|
+
...$(t) ? t : S(t) ? Object.keys(t) : m(t) ? [t] : [n]
|
|
239
|
+
])];
|
|
240
|
+
}
|
|
241
|
+
function sn(e, t, n) {
|
|
242
|
+
const r = m(n) ? n : se, a = e;
|
|
243
|
+
a.__localeChainCache || (a.__localeChainCache = /* @__PURE__ */ new Map());
|
|
244
|
+
let o = a.__localeChainCache.get(r);
|
|
245
|
+
if (!o) {
|
|
246
|
+
o = [];
|
|
247
|
+
let l = [n];
|
|
248
|
+
for (; $(l); )
|
|
249
|
+
l = Te(o, l, t);
|
|
250
|
+
const i = $(t) || !D(t) ? t : t.default ? t.default : null;
|
|
251
|
+
l = m(i) ? [i] : i, $(l) && Te(o, l, !1), a.__localeChainCache.set(r, o);
|
|
252
|
+
}
|
|
253
|
+
return o;
|
|
254
|
+
}
|
|
255
|
+
function Te(e, t, n) {
|
|
256
|
+
let r = !0;
|
|
257
|
+
for (let a = 0; a < t.length && b(r); a++) {
|
|
258
|
+
const o = t[a];
|
|
259
|
+
m(o) && (r = At(e, t[a], n));
|
|
260
|
+
}
|
|
261
|
+
return r;
|
|
262
|
+
}
|
|
263
|
+
function At(e, t, n) {
|
|
264
|
+
let r;
|
|
265
|
+
const a = t.split("-");
|
|
266
|
+
do {
|
|
267
|
+
const o = a.join("-");
|
|
268
|
+
r = Ct(e, o, n), a.splice(-1, 1);
|
|
269
|
+
} while (a.length && r === !0);
|
|
270
|
+
return r;
|
|
271
|
+
}
|
|
272
|
+
function Ct(e, t, n) {
|
|
273
|
+
let r = !1;
|
|
274
|
+
if (!e.includes(t) && (r = !0, t)) {
|
|
275
|
+
r = t[t.length - 1] !== "!";
|
|
276
|
+
const a = t.replace(/!/g, "");
|
|
277
|
+
e.push(a), ($(n) || D(n)) && n[a] && (r = n[a]);
|
|
278
|
+
}
|
|
279
|
+
return r;
|
|
280
|
+
}
|
|
281
|
+
const K = [];
|
|
282
|
+
K[
|
|
283
|
+
0
|
|
284
|
+
/* States.BEFORE_PATH */
|
|
285
|
+
] = {
|
|
286
|
+
w: [
|
|
287
|
+
0
|
|
288
|
+
/* States.BEFORE_PATH */
|
|
289
|
+
],
|
|
290
|
+
i: [
|
|
291
|
+
3,
|
|
292
|
+
0
|
|
293
|
+
/* Actions.APPEND */
|
|
294
|
+
],
|
|
295
|
+
"[": [
|
|
296
|
+
4
|
|
297
|
+
/* States.IN_SUB_PATH */
|
|
298
|
+
],
|
|
299
|
+
o: [
|
|
300
|
+
7
|
|
301
|
+
/* States.AFTER_PATH */
|
|
302
|
+
]
|
|
303
|
+
};
|
|
304
|
+
K[
|
|
305
|
+
1
|
|
306
|
+
/* States.IN_PATH */
|
|
307
|
+
] = {
|
|
308
|
+
w: [
|
|
309
|
+
1
|
|
310
|
+
/* States.IN_PATH */
|
|
311
|
+
],
|
|
312
|
+
".": [
|
|
313
|
+
2
|
|
314
|
+
/* States.BEFORE_IDENT */
|
|
315
|
+
],
|
|
316
|
+
"[": [
|
|
317
|
+
4
|
|
318
|
+
/* States.IN_SUB_PATH */
|
|
319
|
+
],
|
|
320
|
+
o: [
|
|
321
|
+
7
|
|
322
|
+
/* States.AFTER_PATH */
|
|
323
|
+
]
|
|
324
|
+
};
|
|
325
|
+
K[
|
|
326
|
+
2
|
|
327
|
+
/* States.BEFORE_IDENT */
|
|
328
|
+
] = {
|
|
329
|
+
w: [
|
|
330
|
+
2
|
|
331
|
+
/* States.BEFORE_IDENT */
|
|
332
|
+
],
|
|
333
|
+
i: [
|
|
334
|
+
3,
|
|
335
|
+
0
|
|
336
|
+
/* Actions.APPEND */
|
|
337
|
+
],
|
|
338
|
+
0: [
|
|
339
|
+
3,
|
|
340
|
+
0
|
|
341
|
+
/* Actions.APPEND */
|
|
342
|
+
]
|
|
343
|
+
};
|
|
344
|
+
K[
|
|
345
|
+
3
|
|
346
|
+
/* States.IN_IDENT */
|
|
347
|
+
] = {
|
|
348
|
+
i: [
|
|
349
|
+
3,
|
|
350
|
+
0
|
|
351
|
+
/* Actions.APPEND */
|
|
352
|
+
],
|
|
353
|
+
0: [
|
|
354
|
+
3,
|
|
355
|
+
0
|
|
356
|
+
/* Actions.APPEND */
|
|
357
|
+
],
|
|
358
|
+
w: [
|
|
359
|
+
1,
|
|
360
|
+
1
|
|
361
|
+
/* Actions.PUSH */
|
|
362
|
+
],
|
|
363
|
+
".": [
|
|
364
|
+
2,
|
|
365
|
+
1
|
|
366
|
+
/* Actions.PUSH */
|
|
367
|
+
],
|
|
368
|
+
"[": [
|
|
369
|
+
4,
|
|
370
|
+
1
|
|
371
|
+
/* Actions.PUSH */
|
|
372
|
+
],
|
|
373
|
+
o: [
|
|
374
|
+
7,
|
|
375
|
+
1
|
|
376
|
+
/* Actions.PUSH */
|
|
377
|
+
]
|
|
378
|
+
};
|
|
379
|
+
K[
|
|
380
|
+
4
|
|
381
|
+
/* States.IN_SUB_PATH */
|
|
382
|
+
] = {
|
|
383
|
+
"'": [
|
|
384
|
+
5,
|
|
385
|
+
0
|
|
386
|
+
/* Actions.APPEND */
|
|
387
|
+
],
|
|
388
|
+
'"': [
|
|
389
|
+
6,
|
|
390
|
+
0
|
|
391
|
+
/* Actions.APPEND */
|
|
392
|
+
],
|
|
393
|
+
"[": [
|
|
394
|
+
4,
|
|
395
|
+
2
|
|
396
|
+
/* Actions.INC_SUB_PATH_DEPTH */
|
|
397
|
+
],
|
|
398
|
+
"]": [
|
|
399
|
+
1,
|
|
400
|
+
3
|
|
401
|
+
/* Actions.PUSH_SUB_PATH */
|
|
402
|
+
],
|
|
403
|
+
o: 8,
|
|
404
|
+
l: [
|
|
405
|
+
4,
|
|
406
|
+
0
|
|
407
|
+
/* Actions.APPEND */
|
|
408
|
+
]
|
|
409
|
+
};
|
|
410
|
+
K[
|
|
411
|
+
5
|
|
412
|
+
/* States.IN_SINGLE_QUOTE */
|
|
413
|
+
] = {
|
|
414
|
+
"'": [
|
|
415
|
+
4,
|
|
416
|
+
0
|
|
417
|
+
/* Actions.APPEND */
|
|
418
|
+
],
|
|
419
|
+
o: 8,
|
|
420
|
+
l: [
|
|
421
|
+
5,
|
|
422
|
+
0
|
|
423
|
+
/* Actions.APPEND */
|
|
424
|
+
]
|
|
425
|
+
};
|
|
426
|
+
K[
|
|
427
|
+
6
|
|
428
|
+
/* States.IN_DOUBLE_QUOTE */
|
|
429
|
+
] = {
|
|
430
|
+
'"': [
|
|
431
|
+
4,
|
|
432
|
+
0
|
|
433
|
+
/* Actions.APPEND */
|
|
434
|
+
],
|
|
435
|
+
o: 8,
|
|
436
|
+
l: [
|
|
437
|
+
6,
|
|
438
|
+
0
|
|
439
|
+
/* Actions.APPEND */
|
|
440
|
+
]
|
|
441
|
+
};
|
|
442
|
+
const Mt = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
443
|
+
function Dt(e) {
|
|
444
|
+
return Mt.test(e);
|
|
445
|
+
}
|
|
446
|
+
function Ft(e) {
|
|
447
|
+
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
448
|
+
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
449
|
+
}
|
|
450
|
+
function Rt(e) {
|
|
451
|
+
if (e == null)
|
|
452
|
+
return "o";
|
|
453
|
+
switch (e.charCodeAt(0)) {
|
|
454
|
+
case 91:
|
|
455
|
+
// [
|
|
456
|
+
case 93:
|
|
457
|
+
// ]
|
|
458
|
+
case 46:
|
|
459
|
+
// .
|
|
460
|
+
case 34:
|
|
461
|
+
// "
|
|
462
|
+
case 39:
|
|
463
|
+
return e;
|
|
464
|
+
case 95:
|
|
465
|
+
// _
|
|
466
|
+
case 36:
|
|
467
|
+
// $
|
|
468
|
+
case 45:
|
|
469
|
+
return "i";
|
|
470
|
+
case 9:
|
|
471
|
+
// Tab (HT)
|
|
472
|
+
case 10:
|
|
473
|
+
// Newline (LF)
|
|
474
|
+
case 13:
|
|
475
|
+
// Return (CR)
|
|
476
|
+
case 160:
|
|
477
|
+
// No-break space (NBSP)
|
|
478
|
+
case 65279:
|
|
479
|
+
// Byte Order Mark (BOM)
|
|
480
|
+
case 8232:
|
|
481
|
+
// Line Separator (LS)
|
|
482
|
+
case 8233:
|
|
483
|
+
return "w";
|
|
484
|
+
}
|
|
485
|
+
return "i";
|
|
486
|
+
}
|
|
487
|
+
function ht(e) {
|
|
488
|
+
const t = e.trim();
|
|
489
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Dt(t) ? Ft(t) : "*" + t;
|
|
490
|
+
}
|
|
491
|
+
function Lt(e) {
|
|
492
|
+
const t = [];
|
|
493
|
+
let n = -1, r = 0, a = 0, o, l, i, s, u, f, E;
|
|
494
|
+
const c = [];
|
|
495
|
+
c[
|
|
496
|
+
0
|
|
497
|
+
/* Actions.APPEND */
|
|
498
|
+
] = () => {
|
|
499
|
+
l === void 0 ? l = i : l += i;
|
|
500
|
+
}, c[
|
|
501
|
+
1
|
|
502
|
+
/* Actions.PUSH */
|
|
503
|
+
] = () => {
|
|
504
|
+
l !== void 0 && (t.push(l), l = void 0);
|
|
505
|
+
}, c[
|
|
506
|
+
2
|
|
507
|
+
/* Actions.INC_SUB_PATH_DEPTH */
|
|
508
|
+
] = () => {
|
|
509
|
+
c[
|
|
510
|
+
0
|
|
511
|
+
/* Actions.APPEND */
|
|
512
|
+
](), a++;
|
|
513
|
+
}, c[
|
|
514
|
+
3
|
|
515
|
+
/* Actions.PUSH_SUB_PATH */
|
|
516
|
+
] = () => {
|
|
517
|
+
if (a > 0)
|
|
518
|
+
a--, r = 4, c[
|
|
519
|
+
0
|
|
520
|
+
/* Actions.APPEND */
|
|
521
|
+
]();
|
|
522
|
+
else {
|
|
523
|
+
if (a = 0, l === void 0 || (l = ht(l), l === !1))
|
|
524
|
+
return !1;
|
|
525
|
+
c[
|
|
526
|
+
1
|
|
527
|
+
/* Actions.PUSH */
|
|
528
|
+
]();
|
|
529
|
+
}
|
|
530
|
+
};
|
|
531
|
+
function g() {
|
|
532
|
+
const F = e[n + 1];
|
|
533
|
+
if (r === 5 && F === "'" || r === 6 && F === '"')
|
|
534
|
+
return n++, i = "\\" + F, c[
|
|
535
|
+
0
|
|
536
|
+
/* Actions.APPEND */
|
|
537
|
+
](), !0;
|
|
538
|
+
}
|
|
539
|
+
for (; r !== null; )
|
|
540
|
+
if (n++, o = e[n], !(o === "\\" && g())) {
|
|
541
|
+
if (s = Rt(o), E = K[r], u = E[s] || E.l || 8, u === 8 || (r = u[0], u[1] !== void 0 && (f = c[u[1]], f && (i = o, f() === !1))))
|
|
542
|
+
return;
|
|
543
|
+
if (r === 7)
|
|
544
|
+
return t;
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
const Ne = /* @__PURE__ */ new Map();
|
|
548
|
+
function St(e, t) {
|
|
549
|
+
return S(e) ? e[t] : null;
|
|
550
|
+
}
|
|
551
|
+
function on(e, t) {
|
|
552
|
+
if (!S(e))
|
|
553
|
+
return null;
|
|
554
|
+
let n = Ne.get(t);
|
|
555
|
+
if (n || (n = Lt(t), n && Ne.set(t, n)), !n)
|
|
556
|
+
return null;
|
|
557
|
+
const r = n.length;
|
|
558
|
+
let a = e, o = 0;
|
|
559
|
+
for (; o < r; ) {
|
|
560
|
+
const l = n[o];
|
|
561
|
+
if (ut.includes(l) && Y(a))
|
|
562
|
+
return null;
|
|
563
|
+
const i = a[l];
|
|
564
|
+
if (i === void 0 || R(a))
|
|
565
|
+
return null;
|
|
566
|
+
a = i, o++;
|
|
567
|
+
}
|
|
568
|
+
return a;
|
|
569
|
+
}
|
|
570
|
+
const v = {
|
|
571
|
+
NOT_FOUND_KEY: 1,
|
|
572
|
+
FALLBACK_TO_TRANSLATE: 2,
|
|
573
|
+
CANNOT_FORMAT_NUMBER: 3,
|
|
574
|
+
FALLBACK_TO_NUMBER_FORMAT: 4,
|
|
575
|
+
CANNOT_FORMAT_DATE: 5,
|
|
576
|
+
FALLBACK_TO_DATE_FORMAT: 6,
|
|
577
|
+
EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
|
|
578
|
+
}, ln = 8, It = {
|
|
579
|
+
[v.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
|
|
580
|
+
[v.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
|
|
581
|
+
[v.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
|
|
582
|
+
[v.FALLBACK_TO_NUMBER_FORMAT]: "Fall back to number format '{key}' key with '{target}' locale.",
|
|
583
|
+
[v.CANNOT_FORMAT_DATE]: "Cannot format a date value due to not supported Intl.DateTimeFormat.",
|
|
584
|
+
[v.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale.",
|
|
585
|
+
[v.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
|
|
586
|
+
};
|
|
587
|
+
function H(e, ...t) {
|
|
588
|
+
return Fe(It[e], ...t);
|
|
589
|
+
}
|
|
590
|
+
const vt = "11.1.12", ce = -1, se = "en-US", we = "", pe = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
591
|
+
function bt() {
|
|
592
|
+
return {
|
|
593
|
+
upper: (e, t) => t === "text" && m(e) ? e.toUpperCase() : t === "vnode" && S(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
594
|
+
lower: (e, t) => t === "text" && m(e) ? e.toLowerCase() : t === "vnode" && S(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
595
|
+
capitalize: (e, t) => t === "text" && m(e) ? pe(e) : t === "vnode" && S(e) && "__v_isVNode" in e ? pe(e.children) : e
|
|
596
|
+
};
|
|
597
|
+
}
|
|
598
|
+
let ye;
|
|
599
|
+
function cn(e) {
|
|
600
|
+
ye = e;
|
|
601
|
+
}
|
|
602
|
+
let ke;
|
|
603
|
+
function un(e) {
|
|
604
|
+
ke = e;
|
|
605
|
+
}
|
|
606
|
+
let Ve;
|
|
607
|
+
function mn(e) {
|
|
608
|
+
Ve = e;
|
|
609
|
+
}
|
|
610
|
+
let Ue = null;
|
|
611
|
+
const fn = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
612
|
+
Ue = e;
|
|
613
|
+
}, Pt = /* @__NO_SIDE_EFFECTS__ */ () => Ue;
|
|
614
|
+
let We = null;
|
|
615
|
+
const _n = (e) => {
|
|
616
|
+
We = e;
|
|
617
|
+
}, dn = () => We;
|
|
618
|
+
let Ae = 0;
|
|
619
|
+
function gn(e = {}) {
|
|
620
|
+
const t = R(e.onWarn) ? e.onWarn : ee, n = m(e.version) ? e.version : vt, r = m(e.locale) || R(e.locale) ? e.locale : se, a = R(r) ? se : r, o = $(e.fallbackLocale) || D(e.fallbackLocale) || m(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, l = D(e.messages) ? e.messages : re(a), i = D(e.datetimeFormats) ? e.datetimeFormats : re(a), s = D(e.numberFormats) ? e.numberFormats : re(a), u = x(P(), e.modifiers, bt()), f = e.pluralRules || P(), E = R(e.missing) ? e.missing : null, c = b(e.missingWarn) || _e(e.missingWarn) ? e.missingWarn : !0, g = b(e.fallbackWarn) || _e(e.fallbackWarn) ? e.fallbackWarn : !0, F = !!e.fallbackFormat, N = !!e.unresolving, M = R(e.postTranslation) ? e.postTranslation : null, O = D(e.processor) ? e.processor : null, _ = b(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, d = R(e.messageCompiler) ? e.messageCompiler : ye;
|
|
621
|
+
process.env.NODE_ENV !== "production" && R(e.messageCompiler) && Ye(H(v.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
622
|
+
const p = R(e.messageResolver) ? e.messageResolver : ke || St, A = R(e.localeFallbacker) ? e.localeFallbacker : Ve || pt, h = S(e.fallbackContext) ? e.fallbackContext : void 0, C = e, k = S(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), U = S(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), X = S(C.__meta) ? C.__meta : {};
|
|
623
|
+
Ae++;
|
|
624
|
+
const w = {
|
|
625
|
+
version: n,
|
|
626
|
+
cid: Ae,
|
|
627
|
+
locale: r,
|
|
628
|
+
fallbackLocale: o,
|
|
629
|
+
messages: l,
|
|
630
|
+
modifiers: u,
|
|
631
|
+
pluralRules: f,
|
|
632
|
+
missing: E,
|
|
633
|
+
missingWarn: c,
|
|
634
|
+
fallbackWarn: g,
|
|
635
|
+
fallbackFormat: F,
|
|
636
|
+
unresolving: N,
|
|
637
|
+
postTranslation: M,
|
|
638
|
+
processor: O,
|
|
639
|
+
warnHtmlMessage: _,
|
|
640
|
+
escapeParameter: T,
|
|
641
|
+
messageCompiler: d,
|
|
642
|
+
messageResolver: p,
|
|
643
|
+
localeFallbacker: A,
|
|
644
|
+
fallbackContext: h,
|
|
645
|
+
onWarn: t,
|
|
646
|
+
__meta: X
|
|
647
|
+
};
|
|
648
|
+
return w.datetimeFormats = i, w.numberFormats = s, w.__datetimeFormatters = k, w.__numberFormatters = U, process.env.NODE_ENV !== "production" && (w.__v_emitter = C.__v_emitter != null ? C.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Et(w, n, X), w;
|
|
649
|
+
}
|
|
650
|
+
const re = (e) => ({ [e]: P() });
|
|
651
|
+
function ue(e, t) {
|
|
652
|
+
return e instanceof RegExp ? e.test(t) : e;
|
|
653
|
+
}
|
|
654
|
+
function wt(e, t) {
|
|
655
|
+
return e instanceof RegExp ? e.test(t) : e;
|
|
656
|
+
}
|
|
657
|
+
function me(e, t, n, r, a) {
|
|
658
|
+
const { missing: o, onWarn: l } = e;
|
|
659
|
+
if (process.env.NODE_ENV !== "production") {
|
|
660
|
+
const i = e.__v_emitter;
|
|
661
|
+
i && i.emit("missing", {
|
|
662
|
+
locale: n,
|
|
663
|
+
key: t,
|
|
664
|
+
type: a,
|
|
665
|
+
groupId: `${a}:${t}`
|
|
666
|
+
});
|
|
667
|
+
}
|
|
668
|
+
if (o !== null) {
|
|
669
|
+
const i = o(e, n, t, a);
|
|
670
|
+
return m(i) ? i : t;
|
|
671
|
+
} else
|
|
672
|
+
return process.env.NODE_ENV !== "production" && wt(r, t) && l(H(v.NOT_FOUND_KEY, { key: t, locale: n })), t;
|
|
673
|
+
}
|
|
674
|
+
function En(e, t, n) {
|
|
675
|
+
const r = e;
|
|
676
|
+
r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
|
|
677
|
+
}
|
|
678
|
+
function $e(e, t) {
|
|
679
|
+
return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
|
|
680
|
+
}
|
|
681
|
+
function yt(e, t) {
|
|
682
|
+
const n = t.indexOf(e);
|
|
683
|
+
if (n === -1)
|
|
684
|
+
return !1;
|
|
685
|
+
for (let r = n + 1; r < t.length; r++)
|
|
686
|
+
if ($e(e, t[r]))
|
|
687
|
+
return !0;
|
|
688
|
+
return !1;
|
|
689
|
+
}
|
|
690
|
+
const Ce = typeof Intl < "u", Ge = {
|
|
691
|
+
dateTimeFormat: Ce && typeof Intl.DateTimeFormat < "u",
|
|
692
|
+
numberFormat: Ce && typeof Intl.NumberFormat < "u"
|
|
693
|
+
};
|
|
694
|
+
function On(e, ...t) {
|
|
695
|
+
const { datetimeFormats: n, unresolving: r, fallbackLocale: a, onWarn: o, localeFallbacker: l } = e, { __datetimeFormatters: i } = e;
|
|
696
|
+
if (process.env.NODE_ENV !== "production" && !Ge.dateTimeFormat)
|
|
697
|
+
return o(H(v.CANNOT_FORMAT_DATE)), we;
|
|
698
|
+
const [s, u, f, E] = Vt(...t), c = b(f.missingWarn) ? f.missingWarn : e.missingWarn, g = b(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, F = !!f.part, N = ie(e, f), M = l(
|
|
699
|
+
e,
|
|
700
|
+
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
701
|
+
a,
|
|
702
|
+
N
|
|
703
|
+
);
|
|
704
|
+
if (!m(s) || s === "")
|
|
705
|
+
return new Intl.DateTimeFormat(N, E).format(u);
|
|
706
|
+
let O = {}, _, T = null, d = N, p = null;
|
|
707
|
+
const A = "datetime format";
|
|
708
|
+
for (let k = 0; k < M.length; k++) {
|
|
709
|
+
if (_ = p = M[k], process.env.NODE_ENV !== "production" && N !== _ && ue(g, s) && o(H(v.FALLBACK_TO_DATE_FORMAT, {
|
|
710
|
+
key: s,
|
|
711
|
+
target: _
|
|
712
|
+
})), process.env.NODE_ENV !== "production" && N !== _) {
|
|
713
|
+
const U = e.__v_emitter;
|
|
714
|
+
U && U.emit("fallback", {
|
|
715
|
+
type: A,
|
|
716
|
+
key: s,
|
|
717
|
+
from: d,
|
|
718
|
+
to: p,
|
|
719
|
+
groupId: `${A}:${s}`
|
|
720
|
+
});
|
|
721
|
+
}
|
|
722
|
+
if (O = n[_] || {}, T = O[s], D(T))
|
|
723
|
+
break;
|
|
724
|
+
me(e, s, _, c, A), d = p;
|
|
725
|
+
}
|
|
726
|
+
if (!D(T) || !m(_))
|
|
727
|
+
return r ? ce : s;
|
|
728
|
+
let h = `${_}__${s}`;
|
|
729
|
+
oe(E) || (h = `${h}__${JSON.stringify(E)}`);
|
|
730
|
+
let C = i.get(h);
|
|
731
|
+
return C || (C = new Intl.DateTimeFormat(_, x({}, T, E)), i.set(h, C)), F ? C.formatToParts(u) : C.format(u);
|
|
732
|
+
}
|
|
733
|
+
const kt = [
|
|
734
|
+
"localeMatcher",
|
|
735
|
+
"weekday",
|
|
736
|
+
"era",
|
|
737
|
+
"year",
|
|
738
|
+
"month",
|
|
739
|
+
"day",
|
|
740
|
+
"hour",
|
|
741
|
+
"minute",
|
|
742
|
+
"second",
|
|
743
|
+
"timeZoneName",
|
|
744
|
+
"formatMatcher",
|
|
745
|
+
"hour12",
|
|
746
|
+
"timeZone",
|
|
747
|
+
"dateStyle",
|
|
748
|
+
"timeStyle",
|
|
749
|
+
"calendar",
|
|
750
|
+
"dayPeriod",
|
|
751
|
+
"numberingSystem",
|
|
752
|
+
"hourCycle",
|
|
753
|
+
"fractionalSecondDigits"
|
|
754
|
+
];
|
|
755
|
+
function Vt(...e) {
|
|
756
|
+
const [t, n, r, a] = e, o = P();
|
|
757
|
+
let l = P(), i;
|
|
758
|
+
if (m(t)) {
|
|
759
|
+
const s = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
760
|
+
if (!s)
|
|
761
|
+
throw W(L.INVALID_ISO_DATE_ARGUMENT);
|
|
762
|
+
const u = s[3] ? s[3].trim().startsWith("T") ? `${s[1].trim()}${s[3].trim()}` : `${s[1].trim()}T${s[3].trim()}` : s[1].trim();
|
|
763
|
+
i = new Date(u);
|
|
764
|
+
try {
|
|
765
|
+
i.toISOString();
|
|
766
|
+
} catch {
|
|
767
|
+
throw W(L.INVALID_ISO_DATE_ARGUMENT);
|
|
768
|
+
}
|
|
769
|
+
} else if (je(t)) {
|
|
770
|
+
if (isNaN(t.getTime()))
|
|
771
|
+
throw W(L.INVALID_DATE_ARGUMENT);
|
|
772
|
+
i = t;
|
|
773
|
+
} else if (I(t))
|
|
774
|
+
i = t;
|
|
775
|
+
else
|
|
776
|
+
throw W(L.INVALID_ARGUMENT);
|
|
777
|
+
return m(n) ? o.key = n : D(n) && Object.keys(n).forEach((s) => {
|
|
778
|
+
kt.includes(s) ? l[s] = n[s] : o[s] = n[s];
|
|
779
|
+
}), m(r) ? o.locale = r : D(r) && (l = r), D(a) && (l = a), [o.key || "", i, o, l];
|
|
780
|
+
}
|
|
781
|
+
function Tn(e, t, n) {
|
|
782
|
+
const r = e;
|
|
783
|
+
for (const a in n) {
|
|
784
|
+
const o = `${t}__${a}`;
|
|
785
|
+
r.__datetimeFormatters.has(o) && r.__datetimeFormatters.delete(o);
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
function Nn(e, ...t) {
|
|
789
|
+
const { numberFormats: n, unresolving: r, fallbackLocale: a, onWarn: o, localeFallbacker: l } = e, { __numberFormatters: i } = e;
|
|
790
|
+
if (process.env.NODE_ENV !== "production" && !Ge.numberFormat)
|
|
791
|
+
return o(H(v.CANNOT_FORMAT_NUMBER)), we;
|
|
792
|
+
const [s, u, f, E] = Wt(...t), c = b(f.missingWarn) ? f.missingWarn : e.missingWarn, g = b(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, F = !!f.part, N = ie(e, f), M = l(
|
|
793
|
+
e,
|
|
794
|
+
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
795
|
+
a,
|
|
796
|
+
N
|
|
797
|
+
);
|
|
798
|
+
if (!m(s) || s === "")
|
|
799
|
+
return new Intl.NumberFormat(N, E).format(u);
|
|
800
|
+
let O = {}, _, T = null, d = N, p = null;
|
|
801
|
+
const A = "number format";
|
|
802
|
+
for (let k = 0; k < M.length; k++) {
|
|
803
|
+
if (_ = p = M[k], process.env.NODE_ENV !== "production" && N !== _ && ue(g, s) && o(H(v.FALLBACK_TO_NUMBER_FORMAT, {
|
|
804
|
+
key: s,
|
|
805
|
+
target: _
|
|
806
|
+
})), process.env.NODE_ENV !== "production" && N !== _) {
|
|
807
|
+
const U = e.__v_emitter;
|
|
808
|
+
U && U.emit("fallback", {
|
|
809
|
+
type: A,
|
|
810
|
+
key: s,
|
|
811
|
+
from: d,
|
|
812
|
+
to: p,
|
|
813
|
+
groupId: `${A}:${s}`
|
|
814
|
+
});
|
|
815
|
+
}
|
|
816
|
+
if (O = n[_] || {}, T = O[s], D(T))
|
|
817
|
+
break;
|
|
818
|
+
me(e, s, _, c, A), d = p;
|
|
819
|
+
}
|
|
820
|
+
if (!D(T) || !m(_))
|
|
821
|
+
return r ? ce : s;
|
|
822
|
+
let h = `${_}__${s}`;
|
|
823
|
+
oe(E) || (h = `${h}__${JSON.stringify(E)}`);
|
|
824
|
+
let C = i.get(h);
|
|
825
|
+
return C || (C = new Intl.NumberFormat(_, x({}, T, E)), i.set(h, C)), F ? C.formatToParts(u) : C.format(u);
|
|
826
|
+
}
|
|
827
|
+
const Ut = [
|
|
828
|
+
"localeMatcher",
|
|
829
|
+
"style",
|
|
830
|
+
"currency",
|
|
831
|
+
"currencyDisplay",
|
|
832
|
+
"currencySign",
|
|
833
|
+
"useGrouping",
|
|
834
|
+
"minimumIntegerDigits",
|
|
835
|
+
"minimumFractionDigits",
|
|
836
|
+
"maximumFractionDigits",
|
|
837
|
+
"minimumSignificantDigits",
|
|
838
|
+
"maximumSignificantDigits",
|
|
839
|
+
"compactDisplay",
|
|
840
|
+
"notation",
|
|
841
|
+
"signDisplay",
|
|
842
|
+
"unit",
|
|
843
|
+
"unitDisplay",
|
|
844
|
+
"roundingMode",
|
|
845
|
+
"roundingPriority",
|
|
846
|
+
"roundingIncrement",
|
|
847
|
+
"trailingZeroDisplay"
|
|
848
|
+
];
|
|
849
|
+
function Wt(...e) {
|
|
850
|
+
const [t, n, r, a] = e, o = P();
|
|
851
|
+
let l = P();
|
|
852
|
+
if (!I(t))
|
|
853
|
+
throw W(L.INVALID_ARGUMENT);
|
|
854
|
+
const i = t;
|
|
855
|
+
return m(n) ? o.key = n : D(n) && Object.keys(n).forEach((s) => {
|
|
856
|
+
Ut.includes(s) ? l[s] = n[s] : o[s] = n[s];
|
|
857
|
+
}), m(r) ? o.locale = r : D(r) && (l = r), D(a) && (l = a), [o.key || "", i, o, l];
|
|
858
|
+
}
|
|
859
|
+
function pn(e, t, n) {
|
|
860
|
+
const r = e;
|
|
861
|
+
for (const a in n) {
|
|
862
|
+
const o = `${t}__${a}`;
|
|
863
|
+
r.__numberFormatters.has(o) && r.__numberFormatters.delete(o);
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
const $t = (e) => e, Gt = (e) => "", Kt = "text", Bt = (e) => e.length === 0 ? "" : ze(e), Yt = xe;
|
|
867
|
+
function Me(e, t) {
|
|
868
|
+
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
869
|
+
}
|
|
870
|
+
function Ht(e) {
|
|
871
|
+
const t = I(e.pluralIndex) ? e.pluralIndex : -1;
|
|
872
|
+
return e.named && (I(e.named.count) || I(e.named.n)) ? I(e.named.count) ? e.named.count : I(e.named.n) ? e.named.n : t : t;
|
|
873
|
+
}
|
|
874
|
+
function jt(e, t) {
|
|
875
|
+
t.count || (t.count = e), t.n || (t.n = e);
|
|
876
|
+
}
|
|
877
|
+
function zt(e = {}) {
|
|
878
|
+
const t = e.locale, n = Ht(e), r = S(e.pluralRules) && m(t) && R(e.pluralRules[t]) ? e.pluralRules[t] : Me, a = S(e.pluralRules) && m(t) && R(e.pluralRules[t]) ? Me : void 0, o = (O) => O[r(n, O.length, a)], l = e.list || [], i = (O) => l[O], s = e.named || P();
|
|
879
|
+
I(e.pluralIndex) && jt(n, s);
|
|
880
|
+
const u = (O) => s[O];
|
|
881
|
+
function f(O, _) {
|
|
882
|
+
const T = R(e.messages) ? e.messages(O, !!_) : S(e.messages) ? e.messages[O] : !1;
|
|
883
|
+
return T || (e.parent ? e.parent.message(O) : Gt);
|
|
884
|
+
}
|
|
885
|
+
const E = (O) => e.modifiers ? e.modifiers[O] : $t, c = D(e.processor) && R(e.processor.normalize) ? e.processor.normalize : Bt, g = D(e.processor) && R(e.processor.interpolate) ? e.processor.interpolate : Yt, F = D(e.processor) && m(e.processor.type) ? e.processor.type : Kt, M = {
|
|
886
|
+
list: i,
|
|
887
|
+
named: u,
|
|
888
|
+
plural: o,
|
|
889
|
+
linked: (O, ..._) => {
|
|
890
|
+
const [T, d] = _;
|
|
891
|
+
let p = "text", A = "";
|
|
892
|
+
_.length === 1 ? S(T) ? (A = T.modifier || A, p = T.type || p) : m(T) && (A = T || A) : _.length === 2 && (m(T) && (A = T || A), m(d) && (p = d || p));
|
|
893
|
+
const h = f(O, !0)(M), C = (
|
|
894
|
+
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
895
|
+
p === "vnode" && $(h) && A ? h[0] : h
|
|
896
|
+
);
|
|
897
|
+
return A ? E(A)(C, p) : C;
|
|
898
|
+
},
|
|
899
|
+
message: f,
|
|
900
|
+
type: F,
|
|
901
|
+
interpolate: g,
|
|
902
|
+
normalize: c,
|
|
903
|
+
values: x(P(), l, s)
|
|
904
|
+
};
|
|
905
|
+
return M;
|
|
906
|
+
}
|
|
907
|
+
const De = () => "", V = (e) => R(e);
|
|
908
|
+
function An(e, ...t) {
|
|
909
|
+
const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: o, fallbackLocale: l, messages: i } = e, [s, u] = Zt(...t), f = b(u.missingWarn) ? u.missingWarn : e.missingWarn, E = b(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, c = b(u.escapeParameter) ? u.escapeParameter : e.escapeParameter, g = !!u.resolvedMessage, F = m(u.default) || b(u.default) ? b(u.default) ? o ? s : () => s : u.default : n ? o ? s : () => s : null, N = n || F != null && (m(F) || R(F)), M = ie(e, u);
|
|
910
|
+
c && xt(u);
|
|
911
|
+
let [O, _, T] = g ? [
|
|
912
|
+
s,
|
|
913
|
+
M,
|
|
914
|
+
i[M] || P()
|
|
915
|
+
] : Ke(e, s, M, l, E, f), d = O, p = s;
|
|
916
|
+
if (!g && !(m(d) || Y(d) || V(d)) && N && (d = F, p = d), !g && (!(m(d) || Y(d) || V(d)) || !m(_)))
|
|
917
|
+
return a ? ce : s;
|
|
918
|
+
if (process.env.NODE_ENV !== "production" && m(d) && e.messageCompiler == null)
|
|
919
|
+
return ee(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${s}'.`), s;
|
|
920
|
+
let A = !1;
|
|
921
|
+
const h = () => {
|
|
922
|
+
A = !0;
|
|
923
|
+
}, C = V(d) ? d : Be(e, s, _, d, p, h);
|
|
924
|
+
if (A)
|
|
925
|
+
return d;
|
|
926
|
+
const k = Qt(e, _, T, u), U = zt(k), X = Xt(e, C, U);
|
|
927
|
+
let w = r ? r(X, s) : X;
|
|
928
|
+
if (c && m(w) && (w = He(w)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
929
|
+
const fe = {
|
|
930
|
+
timestamp: Date.now(),
|
|
931
|
+
key: m(s) ? s : V(d) ? d.key : "",
|
|
932
|
+
locale: _ || (V(d) ? d.locale : ""),
|
|
933
|
+
format: m(d) ? d : V(d) ? d.source : "",
|
|
934
|
+
message: w
|
|
935
|
+
};
|
|
936
|
+
fe.meta = x({}, e.__meta, /* @__PURE__ */ Pt() || {}), Ot(fe);
|
|
937
|
+
}
|
|
938
|
+
return w;
|
|
939
|
+
}
|
|
940
|
+
function xt(e) {
|
|
941
|
+
$(e.list) ? e.list = e.list.map((t) => m(t) ? ge(t) : t) : S(e.named) && Object.keys(e.named).forEach((t) => {
|
|
942
|
+
m(e.named[t]) && (e.named[t] = ge(e.named[t]));
|
|
943
|
+
});
|
|
944
|
+
}
|
|
945
|
+
function Ke(e, t, n, r, a, o) {
|
|
946
|
+
const { messages: l, onWarn: i, messageResolver: s, localeFallbacker: u } = e, f = u(e, r, n);
|
|
947
|
+
let E = P(), c, g = null, F = n, N = null;
|
|
948
|
+
const M = "translate";
|
|
949
|
+
for (let O = 0; O < f.length; O++) {
|
|
950
|
+
if (c = N = f[O], process.env.NODE_ENV !== "production" && n !== c && !$e(n, c) && ue(a, t) && i(H(v.FALLBACK_TO_TRANSLATE, {
|
|
951
|
+
key: t,
|
|
952
|
+
target: c
|
|
953
|
+
})), process.env.NODE_ENV !== "production" && n !== c) {
|
|
954
|
+
const p = e.__v_emitter;
|
|
955
|
+
p && p.emit("fallback", {
|
|
956
|
+
type: M,
|
|
957
|
+
key: t,
|
|
958
|
+
from: F,
|
|
959
|
+
to: N,
|
|
960
|
+
groupId: `${M}:${t}`
|
|
961
|
+
});
|
|
962
|
+
}
|
|
963
|
+
E = l[c] || P();
|
|
964
|
+
let _ = null, T, d;
|
|
965
|
+
if (process.env.NODE_ENV !== "production" && j && (_ = window.performance.now(), T = "intlify-message-resolve-start", d = "intlify-message-resolve-end", y && y(T)), (g = s(E, t)) === null && (g = E[t]), process.env.NODE_ENV !== "production" && j) {
|
|
966
|
+
const p = window.performance.now(), A = e.__v_emitter;
|
|
967
|
+
A && _ && g && A.emit("message-resolve", {
|
|
968
|
+
type: "message-resolve",
|
|
969
|
+
key: t,
|
|
970
|
+
message: g,
|
|
971
|
+
time: p - _,
|
|
972
|
+
groupId: `${M}:${t}`
|
|
973
|
+
}), T && d && y && z && (y(d), z("intlify message resolve", T, d));
|
|
974
|
+
}
|
|
975
|
+
if (m(g) || Y(g) || V(g))
|
|
976
|
+
break;
|
|
977
|
+
if (!yt(c, f)) {
|
|
978
|
+
const p = me(
|
|
979
|
+
e,
|
|
980
|
+
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
981
|
+
t,
|
|
982
|
+
c,
|
|
983
|
+
o,
|
|
984
|
+
M
|
|
985
|
+
);
|
|
986
|
+
p !== t && (g = p);
|
|
987
|
+
}
|
|
988
|
+
F = N;
|
|
989
|
+
}
|
|
990
|
+
return [g, c, E];
|
|
991
|
+
}
|
|
992
|
+
function Be(e, t, n, r, a, o) {
|
|
993
|
+
const { messageCompiler: l, warnHtmlMessage: i } = e;
|
|
994
|
+
if (V(r)) {
|
|
995
|
+
const c = r;
|
|
996
|
+
return c.locale = c.locale || n, c.key = c.key || t, c;
|
|
997
|
+
}
|
|
998
|
+
if (l == null) {
|
|
999
|
+
const c = (() => r);
|
|
1000
|
+
return c.locale = n, c.key = t, c;
|
|
1001
|
+
}
|
|
1002
|
+
let s = null, u, f;
|
|
1003
|
+
process.env.NODE_ENV !== "production" && j && (s = window.performance.now(), u = "intlify-message-compilation-start", f = "intlify-message-compilation-end", y && y(u));
|
|
1004
|
+
const E = l(r, qt(e, n, a, r, i, o));
|
|
1005
|
+
if (process.env.NODE_ENV !== "production" && j) {
|
|
1006
|
+
const c = window.performance.now(), g = e.__v_emitter;
|
|
1007
|
+
g && s && g.emit("message-compilation", {
|
|
1008
|
+
type: "message-compilation",
|
|
1009
|
+
message: r,
|
|
1010
|
+
time: c - s,
|
|
1011
|
+
groupId: `translate:${t}`
|
|
1012
|
+
}), u && f && y && z && (y(f), z("intlify message compilation", u, f));
|
|
1013
|
+
}
|
|
1014
|
+
return E.locale = n, E.key = t, E.source = r, E;
|
|
1015
|
+
}
|
|
1016
|
+
function Xt(e, t, n) {
|
|
1017
|
+
let r = null, a, o;
|
|
1018
|
+
process.env.NODE_ENV !== "production" && j && (r = window.performance.now(), a = "intlify-message-evaluation-start", o = "intlify-message-evaluation-end", y && y(a));
|
|
1019
|
+
const l = t(n);
|
|
1020
|
+
if (process.env.NODE_ENV !== "production" && j) {
|
|
1021
|
+
const i = window.performance.now(), s = e.__v_emitter;
|
|
1022
|
+
s && r && s.emit("message-evaluation", {
|
|
1023
|
+
type: "message-evaluation",
|
|
1024
|
+
value: l,
|
|
1025
|
+
time: i - r,
|
|
1026
|
+
groupId: `translate:${t.key}`
|
|
1027
|
+
}), a && o && y && z && (y(o), z("intlify message evaluation", a, o));
|
|
1028
|
+
}
|
|
1029
|
+
return l;
|
|
1030
|
+
}
|
|
1031
|
+
function Zt(...e) {
|
|
1032
|
+
const [t, n, r] = e, a = P();
|
|
1033
|
+
if (!m(t) && !I(t) && !V(t) && !Y(t))
|
|
1034
|
+
throw W(L.INVALID_ARGUMENT);
|
|
1035
|
+
const o = I(t) ? String(t) : (V(t), t);
|
|
1036
|
+
return I(n) ? a.plural = n : m(n) ? a.default = n : D(n) && !oe(n) ? a.named = n : $(n) && (a.list = n), I(r) ? a.plural = r : m(r) ? a.default = r : D(r) && x(a, r), [o, a];
|
|
1037
|
+
}
|
|
1038
|
+
function qt(e, t, n, r, a, o) {
|
|
1039
|
+
return {
|
|
1040
|
+
locale: t,
|
|
1041
|
+
key: n,
|
|
1042
|
+
warnHtmlMessage: a,
|
|
1043
|
+
onError: (l) => {
|
|
1044
|
+
if (o && o(l), process.env.NODE_ENV !== "production") {
|
|
1045
|
+
const i = Jt(r), s = `Message compilation error: ${l.message}`, u = l.location && i && qe(i, l.location.start.offset, l.location.end.offset), f = e.__v_emitter;
|
|
1046
|
+
f && i && f.emit("compile-error", {
|
|
1047
|
+
message: i,
|
|
1048
|
+
error: l.message,
|
|
1049
|
+
start: l.location && l.location.start.offset,
|
|
1050
|
+
end: l.location && l.location.end.offset,
|
|
1051
|
+
groupId: `translate:${n}`
|
|
1052
|
+
}), console.error(u ? `${s}
|
|
1053
|
+
${u}` : s);
|
|
1054
|
+
} else
|
|
1055
|
+
throw l;
|
|
1056
|
+
},
|
|
1057
|
+
onCacheKey: (l) => Ze(t, n, l)
|
|
1058
|
+
};
|
|
1059
|
+
}
|
|
1060
|
+
function Jt(e) {
|
|
1061
|
+
if (m(e))
|
|
1062
|
+
return e;
|
|
1063
|
+
if (e.loc && e.loc.source)
|
|
1064
|
+
return e.loc.source;
|
|
1065
|
+
}
|
|
1066
|
+
function Qt(e, t, n, r) {
|
|
1067
|
+
const { modifiers: a, pluralRules: o, messageResolver: l, fallbackLocale: i, fallbackWarn: s, missingWarn: u, fallbackContext: f } = e, c = {
|
|
1068
|
+
locale: t,
|
|
1069
|
+
modifiers: a,
|
|
1070
|
+
pluralRules: o,
|
|
1071
|
+
messages: (g, F) => {
|
|
1072
|
+
let N = l(n, g);
|
|
1073
|
+
if (N == null && (f || F)) {
|
|
1074
|
+
const [, , M] = Ke(
|
|
1075
|
+
f || e,
|
|
1076
|
+
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1077
|
+
g,
|
|
1078
|
+
t,
|
|
1079
|
+
i,
|
|
1080
|
+
s,
|
|
1081
|
+
u
|
|
1082
|
+
);
|
|
1083
|
+
N = l(M, g);
|
|
1084
|
+
}
|
|
1085
|
+
if (m(N) || Y(N)) {
|
|
1086
|
+
let M = !1;
|
|
1087
|
+
const _ = Be(e, g, t, N, g, () => {
|
|
1088
|
+
M = !0;
|
|
1089
|
+
});
|
|
1090
|
+
return M ? De : _;
|
|
1091
|
+
} else return V(N) ? N : De;
|
|
1092
|
+
}
|
|
1093
|
+
};
|
|
1094
|
+
return e.processor && (c.processor = e.processor), r.list && (c.list = r.list), r.named && (c.named = r.named), I(r.plural) && (c.pluralIndex = r.plural), c;
|
|
1095
|
+
}
|
|
1096
|
+
rt();
|
|
1097
|
+
export {
|
|
1098
|
+
ut as A,
|
|
1099
|
+
on as B,
|
|
1100
|
+
ln as C,
|
|
1101
|
+
se as D,
|
|
1102
|
+
we as M,
|
|
1103
|
+
ce as N,
|
|
1104
|
+
Tn as a,
|
|
1105
|
+
pn as b,
|
|
1106
|
+
gn as c,
|
|
1107
|
+
ue as d,
|
|
1108
|
+
wt as e,
|
|
1109
|
+
an as f,
|
|
1110
|
+
dn as g,
|
|
1111
|
+
sn as h,
|
|
1112
|
+
Y as i,
|
|
1113
|
+
_n as j,
|
|
1114
|
+
Vt as k,
|
|
1115
|
+
On as l,
|
|
1116
|
+
Wt as m,
|
|
1117
|
+
Nn as n,
|
|
1118
|
+
V as o,
|
|
1119
|
+
Zt as p,
|
|
1120
|
+
Ut as q,
|
|
1121
|
+
kt as r,
|
|
1122
|
+
fn as s,
|
|
1123
|
+
An as t,
|
|
1124
|
+
En as u,
|
|
1125
|
+
cn as v,
|
|
1126
|
+
un as w,
|
|
1127
|
+
mn as x,
|
|
1128
|
+
rn as y,
|
|
1129
|
+
nn as z
|
|
1130
|
+
};
|