@camera.ui/server 0.0.66 → 0.0.68
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/dist/interface/assets/{main.C_cGKPsH.0.0.66.css → main.BmO7mnW4.0.0.68.css} +1 -1
- package/dist/interface/index.html +44 -44
- package/dist/interface/js/{@intlify.BIbPqCER.0.0.66.js → @intlify.6ljJeWIl.0.0.68.js} +4 -4
- package/dist/interface/js/{@primevue.CSqVWdSI.0.0.66.js → @primevue.CLjOf_2A.0.0.68.js} +1 -1
- package/dist/interface/js/{@tanstack.Cg5p0suW.0.0.66.js → @tanstack.BsYRTdPr.0.0.68.js} +1 -1
- package/dist/interface/js/{@vee-validate.DYnt12GD.0.0.66.js → @vee-validate.CnnpXP1B.0.0.68.js} +1 -1
- package/dist/interface/js/{@vueuse.LiqCsnkh.0.0.66.js → @vueuse.DWVBY8Dk.0.0.68.js} +1 -1
- package/dist/interface/js/{Adminpanel.CVgL2OI6.0.0.66.js → Adminpanel.D08O1eV2.0.0.68.js} +1 -1
- package/dist/interface/js/{Camera.Cwx8xZxi.0.0.66.js → Camera.BywiP-ye.0.0.68.js} +1 -1
- package/dist/interface/js/{Cameras.D8WrGoBR.0.0.66.js → Cameras.BulzWcGh.0.0.68.js} +5 -5
- package/dist/interface/js/Cammesh.DFepg_T6.0.0.68.js +1 -0
- package/dist/interface/js/{Camview.B-ZxIlts.0.0.66.js → Camview.DbIjN0Ra.0.0.68.js} +1 -1
- package/dist/interface/js/{Config.BKYW2Ruc.0.0.66.js → Config.BzmMLq6g.0.0.68.js} +2 -2
- package/dist/interface/js/{Console.QTc0CwQj.0.0.66.js → Console.BjeqLghX.0.0.68.js} +1 -1
- package/dist/interface/js/{CuiConsole.BUv68-lf.0.0.66.js → CuiConsole.D1Y7P5YO.0.0.68.js} +1 -1
- package/dist/interface/js/{CuiPluginCard.rI9UiDzB.0.0.66.js → CuiPluginCard.3qrWv4xm.0.0.68.js} +1 -1
- package/dist/interface/js/{CuiTimeline.m3JuFIFi.0.0.66.js → CuiTimeline.CCeAZfek.0.0.68.js} +1 -1
- package/dist/interface/js/{FirstSteps.BZL7AFlg.0.0.66.js → FirstSteps.GoDknmLR.0.0.68.js} +1 -1
- package/dist/interface/js/{Plugin.D1_ADyQp.0.0.66.js → Plugin.BBKng4iN.0.0.68.js} +1 -1
- package/dist/interface/js/{Plugins.GeuTY6gF.0.0.66.js → Plugins.oisxrhEG.0.0.68.js} +1 -1
- package/dist/interface/js/Recordings.C8KL1MGk.0.0.68.js +1 -0
- package/dist/interface/js/{Settings.Z3LQFXdW.0.0.66.js → Settings.DgSpc1Xd.0.0.68.js} +1 -1
- package/dist/interface/js/{SettingsAccount.8Uv0Eypf.0.0.66.js → SettingsAccount.yU9K84JX.0.0.68.js} +1 -1
- package/dist/interface/js/SettingsAppearance.eCDprgye.0.0.68.js +1 -0
- package/dist/interface/js/{SettingsAppearance.vue_vue_type_script_setup_true_lang.6aLtEOdJ.0.0.66.js → SettingsAppearance.vue_vue_type_script_setup_true_lang.BdAbLjHL.0.0.68.js} +1 -1
- package/dist/interface/js/{SettingsBackup.CmgZM6S3.0.0.66.js → SettingsBackup.C3YwtB2L.0.0.68.js} +1 -1
- package/dist/interface/js/SettingsRecordings.CJt7ZAKx.0.0.68.js +1 -0
- package/dist/interface/js/{SettingsRemote.BoL2vVDo.0.0.66.js → SettingsRemote.BEihnqrd.0.0.68.js} +1 -1
- package/dist/interface/js/{SettingsSystem.BHIjLZuv.0.0.66.js → SettingsSystem.DLJpvMpD.0.0.68.js} +1 -1
- package/dist/interface/js/{SettingsUsers.5t9EOwSv.0.0.66.js → SettingsUsers.DQ-QJGWv.0.0.68.js} +1 -1
- package/dist/interface/js/{VersionsHandler.vue_vue_type_script_setup_true_lang.BR7r5g1J.0.0.66.js → VersionsHandler.vue_vue_type_script_setup_true_lang.DDk0j63-.0.0.68.js} +1 -1
- package/dist/interface/js/{ace-builds.DMUwi8Pm.0.0.66.js → ace-builds.Dj1U2sUU.0.0.68.js} +2 -2
- package/dist/interface/js/{ace.config.CThuW1AM.0.0.66.js → ace.config.DqhagXoq.0.0.68.js} +1 -1
- package/dist/interface/js/{backup.DAgZlqQ_.0.0.66.js → backup.c02LfP0p.0.0.68.js} +1 -1
- package/dist/interface/js/{chart.js.CtSefmh4.0.0.66.js → chart.js.BgPXlgHD.0.0.68.js} +1 -1
- package/dist/interface/js/{close-circle.D0e3G4I4.0.0.66.js → close-circle.zudRPGBS.0.0.68.js} +1 -1
- package/dist/interface/js/{dnd-core.DyLOMurR.0.0.66.js → dnd-core.Dr8mc4xc.0.0.68.js} +1 -1
- package/dist/interface/js/{draggabilly.ChLscxJD.0.0.66.js → draggabilly.BWcG_hBx.0.0.68.js} +1 -1
- package/dist/interface/js/{engine.io-client.BW_Hz_BW.0.0.66.js → engine.io-client.2TmvK6nU.0.0.68.js} +1 -1
- package/dist/interface/js/{fast-deep-equal.hg4z7LXY.0.0.66.js → fast-deep-equal.BaSSbf0R.0.0.68.js} +1 -1
- package/dist/interface/js/{highlight.js.BzmrmBdP.0.0.66.js → highlight.js.CO9Od8yG.0.0.68.js} +1 -1
- package/dist/interface/js/{linkify-it.BufRIWo8.0.0.66.js → linkify-it.IDZgcRNT.0.0.68.js} +1 -1
- package/dist/interface/js/{main.B_fPrbq1.0.0.66.js → main.DFrvmqIm.0.0.68.js} +3 -3
- package/dist/interface/js/{markdown-it.BFhvgE87.0.0.66.js → markdown-it.Dk__mw4Y.0.0.68.js} +1 -1
- package/dist/interface/js/{nprogress.BE8Ud4fe.0.0.66.js → nprogress.BvTTegtH.0.0.68.js} +1 -1
- package/dist/interface/js/{pinia.GUa2jGH4.0.0.66.js → pinia.olzLQsIJ.0.0.68.js} +1 -1
- package/dist/interface/js/{primevue.u0cWw2OL.0.0.66.js → primevue.D46ZuvwF.0.0.68.js} +1 -1
- package/dist/interface/js/{qrcode.drIiNiGs.0.0.66.js → qrcode.jcsj5TWj.0.0.68.js} +1 -1
- package/dist/interface/js/{react-dnd-touch-backend.ByxUBMwf.0.0.66.js → react-dnd-touch-backend.DmjbsnpF.0.0.68.js} +1 -1
- package/dist/interface/js/{refresh-rounded.J347C_Rp.0.0.66.js → refresh-rounded.D2VADi6i.0.0.68.js} +1 -1
- package/dist/interface/js/{rxjs.BFmW76gn.0.0.66.js → rxjs.Cfd_7YyY.0.0.68.js} +1 -1
- package/dist/interface/js/{socket.io-client.Bsb7RiMX.0.0.66.js → socket.io-client.CkWaqEUv.0.0.68.js} +1 -1
- package/dist/interface/js/{socket.io-parser.B4i48Hhv.0.0.66.js → socket.io-parser.DsT87Oon.0.0.68.js} +1 -1
- package/dist/interface/js/{system.c1hfHVs5.0.0.66.js → system.DR4q1Efj.0.0.68.js} +1 -1
- package/dist/interface/js/{trash-fill.Ba5SZ_G6.0.0.66.js → trash-fill.CLUpPsSF.0.0.68.js} +1 -1
- package/dist/interface/js/{unidragger.Bo5rY1ZU.0.0.66.js → unidragger.BlN8nuro.0.0.68.js} +1 -1
- package/dist/interface/js/{vee-validate.Bddoj8yk.0.0.66.js → vee-validate.Cs2kJt5l.0.0.68.js} +1 -1
- package/dist/interface/js/{vue-chartjs.CkT0GYdo.0.0.66.js → vue-chartjs.BYX-1-69.0.0.68.js} +1 -1
- package/dist/interface/js/{vue-i18n.BhNKxLwd.0.0.66.js → vue-i18n.Y-6ZUvD7.0.0.68.js} +3 -3
- package/dist/interface/js/{vue-inline-svg.CwhJUOPA.0.0.66.js → vue-inline-svg.Cs3JM1Xv.0.0.68.js} +1 -1
- package/dist/interface/js/{vue-router.BAKcO87W.0.0.66.js → vue-router.MLvizfYT.0.0.68.js} +1 -1
- package/dist/interface/js/{vue-zoomable.CLt4yUos.0.0.66.js → vue-zoomable.kygNhD9X.0.0.68.js} +1 -1
- package/dist/interface/js/{vue3-dnd.B_HouJ8H.0.0.66.js → vue3-dnd.CBFRMNn3.0.0.68.js} +1 -1
- package/dist/interface/js/{zoom-out.CmUUw9TQ.0.0.66.js → zoom-out.lB6Uhy7v.0.0.68.js} +1 -1
- package/dist/interface/sw.js +1 -1
- package/dist/server/package.json +9 -9
- package/dist/server/requirements.txt +1 -1
- package/dist/server/src/api/database/index.js +1 -6
- package/dist/server/src/api/database/index.js.map +1 -1
- package/dist/server/src/api/go2rtc/api/streams.d.ts +6 -2
- package/dist/server/src/api/go2rtc/api/streams.js +24 -0
- package/dist/server/src/api/go2rtc/api/streams.js.map +1 -1
- package/dist/server/src/api/go2rtc/types.d.ts +4 -0
- package/dist/server/src/api/schemas/cameras.schema.js +1 -1
- package/dist/server/src/api/schemas/cameras.schema.js.map +1 -1
- package/dist/server/src/api/services/cameras.service.js +3 -5
- package/dist/server/src/api/services/cameras.service.js.map +1 -1
- package/dist/server/src/camera/controller.d.ts +1 -0
- package/dist/server/src/camera/controller.js +23 -1
- package/dist/server/src/camera/controller.js.map +1 -1
- package/dist/server/src/main.js +2 -2
- package/dist/server/src/main.js.map +1 -1
- package/dist/server/src/plugins/index.js +8 -19
- package/dist/server/src/plugins/index.js.map +1 -1
- package/package.json +9 -9
- package/dist/interface/js/Cammesh.DM4HtRt1.0.0.66.js +0 -1
- package/dist/interface/js/Recordings.BuF498or.0.0.66.js +0 -1
- package/dist/interface/js/SettingsAppearance.DSUC-CCe.0.0.66.js +0 -1
- package/dist/interface/js/SettingsRecordings.jYQidJGr.0.0.66.js +0 -1
- /package/dist/interface/assets/{@xterm.DYP7pi_n.0.0.66.css → @xterm.DYP7pi_n.0.0.68.css} +0 -0
- /package/dist/interface/assets/{Adminpanel.BKek2EMH.0.0.66.css → Adminpanel.BKek2EMH.0.0.68.css} +0 -0
- /package/dist/interface/assets/{Cameras.BDWZJqPN.0.0.66.css → Cameras.BDWZJqPN.0.0.68.css} +0 -0
- /package/dist/interface/assets/{Camview.Cvhuou6V.0.0.66.css → Camview.Cvhuou6V.0.0.68.css} +0 -0
- /package/dist/interface/assets/{CuiConsole.DCYyxdVg.0.0.66.css → CuiConsole.DCYyxdVg.0.0.68.css} +0 -0
- /package/dist/interface/assets/{CuiPluginCard.yF8V0SZY.0.0.66.css → CuiPluginCard.yF8V0SZY.0.0.68.css} +0 -0
- /package/dist/interface/assets/{CuiTimeline.BkIwlYtw.0.0.66.css → CuiTimeline.BkIwlYtw.0.0.68.css} +0 -0
- /package/dist/interface/assets/{Plugin.DJElsAn5.0.0.66.css → Plugin.DJElsAn5.0.0.68.css} +0 -0
- /package/dist/interface/assets/{Plugins.BwPlcRrV.0.0.66.css → Plugins.BwPlcRrV.0.0.68.css} +0 -0
- /package/dist/interface/assets/{Settings.CkgfRkQr.0.0.66.css → Settings.CkgfRkQr.0.0.68.css} +0 -0
- /package/dist/interface/assets/{SettingsAccount.CDZT7gN-.0.0.66.css → SettingsAccount.CDZT7gN-.0.0.68.css} +0 -0
- /package/dist/interface/assets/{SettingsBackup.CX0rT0QJ.0.0.66.css → SettingsBackup.CX0rT0QJ.0.0.68.css} +0 -0
- /package/dist/interface/assets/{highlight.Ch2EwETz.0.0.66.css → highlight.Ch2EwETz.0.0.68.css} +0 -0
- /package/dist/interface/assets/{logo-256.BCQk9H1-.0.0.66.png → logo-256.BCQk9H1-.0.0.68.png} +0 -0
- /package/dist/interface/assets/{logo-512.DLKVOU2S.0.0.66.png → logo-512.DLKVOU2S.0.0.68.png} +0 -0
- /package/dist/interface/assets/{logo.DmEiRk0z.0.0.66.png → logo.DmEiRk0z.0.0.68.png} +0 -0
- /package/dist/interface/assets/{mode-yaml.CIYL8U3d.0.0.66.js → mode-yaml.CIYL8U3d.0.0.68.js} +0 -0
- /package/dist/interface/assets/{worker-base.jEXLGV2h.0.0.66.js → worker-base.jEXLGV2h.0.0.68.js} +0 -0
- /package/dist/interface/assets/{worker-yaml.B3uUYINB.0.0.66.js → worker-yaml.B3uUYINB.0.0.68.js} +0 -0
- /package/dist/interface/js/{@babel.l0sNRNKZ.0.0.66.js → @babel.l0sNRNKZ.0.0.68.js} +0 -0
- /package/dist/interface/js/{@kurkle.D8fDXNIl.0.0.66.js → @kurkle.D8fDXNIl.0.0.68.js} +0 -0
- /package/dist/interface/js/{@primeuix.bRNqZjQz.0.0.66.js → @primeuix.bRNqZjQz.0.0.68.js} +0 -0
- /package/dist/interface/js/{@react-dnd.CcwRs9xb.0.0.66.js → @react-dnd.CcwRs9xb.0.0.68.js} +0 -0
- /package/dist/interface/js/{@socket.io.Dkula2eQ.0.0.66.js → @socket.io.Dkula2eQ.0.0.68.js} +0 -0
- /package/dist/interface/js/{@vue.BxBKarQv.0.0.66.js → @vue.BxBKarQv.0.0.68.js} +0 -0
- /package/dist/interface/js/{@xterm.CgghSimY.0.0.66.js → @xterm.D6FDnMLM.0.0.68.js} +0 -0
- /package/dist/interface/js/{axios.lj9VQs0f.0.0.66.js → axios.lj9VQs0f.0.0.68.js} +0 -0
- /package/dist/interface/js/{birpc.l0sNRNKZ.0.0.66.js → birpc.l0sNRNKZ.0.0.68.js} +0 -0
- /package/dist/interface/js/{compare-versions.DqEOhma6.0.0.66.js → compare-versions.DqEOhma6.0.0.68.js} +0 -0
- /package/dist/interface/js/{dijkstrajs.C00ieaqj.0.0.66.js → dijkstrajs.C00ieaqj.0.0.68.js} +0 -0
- /package/dist/interface/js/{engine.io-parser.BiEtp6m2.0.0.66.js → engine.io-parser.BiEtp6m2.0.0.68.js} +0 -0
- /package/dist/interface/js/{entities.C20TfXL6.0.0.66.js → entities.C20TfXL6.0.0.68.js} +0 -0
- /package/dist/interface/js/{ev-emitter.X5f1qa-c.0.0.66.js → ev-emitter.X5f1qa-c.0.0.68.js} +0 -0
- /package/dist/interface/js/{get-size.D1dS-IaP.0.0.66.js → get-size.D1dS-IaP.0.0.68.js} +0 -0
- /package/dist/interface/js/{hookable.l0sNRNKZ.0.0.66.js → hookable.l0sNRNKZ.0.0.68.js} +0 -0
- /package/dist/interface/js/{mdurl.k9Sl0PQj.0.0.66.js → mdurl.k9Sl0PQj.0.0.68.js} +0 -0
- /package/dist/interface/js/{perfect-debounce.l0sNRNKZ.0.0.66.js → perfect-debounce.l0sNRNKZ.0.0.68.js} +0 -0
- /package/dist/interface/js/{primelocale.Bga3dOQu.0.0.66.js → primelocale.Bga3dOQu.0.0.68.js} +0 -0
- /package/dist/interface/js/{punycode.js.Dj65hjkv.0.0.66.js → punycode.js.Dj65hjkv.0.0.68.js} +0 -0
- /package/dist/interface/js/{react-dnd-html5-backend.1HQjlkwI.0.0.66.js → react-dnd-html5-backend.1HQjlkwI.0.0.68.js} +0 -0
- /package/dist/interface/js/{redux.BFxtlG_c.0.0.66.js → redux.BFxtlG_c.0.0.68.js} +0 -0
- /package/dist/interface/js/{tslib.9k7AwCpt.0.0.66.js → tslib.9k7AwCpt.0.0.68.js} +0 -0
- /package/dist/interface/js/{uc.micro.kMc2yuuw.0.0.66.js → uc.micro.kMc2yuuw.0.0.68.js} +0 -0
- /package/dist/interface/js/{uuid.C6aID195.0.0.66.js → uuid.C6aID195.0.0.68.js} +0 -0
- /package/dist/interface/js/{vue.l0sNRNKZ.0.0.66.js → vue.l0sNRNKZ.0.0.68.js} +0 -0
- /package/dist/interface/js/{zod.2bfLsWMZ.0.0.66.js → zod.2bfLsWMZ.0.0.68.js} +0 -0
|
@@ -333,50 +333,50 @@
|
|
|
333
333
|
media="screen and (prefers-color-scheme: dark) and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"
|
|
334
334
|
href="/pwa/apple-splash-portrait-dark-640x1136.png"
|
|
335
335
|
/>
|
|
336
|
-
<script type="module" crossorigin src="/js/main.
|
|
337
|
-
<link rel="modulepreload" crossorigin href="/js/@vue.BxBKarQv.0.0.
|
|
338
|
-
<link rel="modulepreload" crossorigin href="/js/@tanstack.
|
|
339
|
-
<link rel="modulepreload" crossorigin href="/js/@primeuix.bRNqZjQz.0.0.
|
|
340
|
-
<link rel="modulepreload" crossorigin href="/js/@primevue.
|
|
341
|
-
<link rel="modulepreload" crossorigin href="/js/primevue.
|
|
342
|
-
<link rel="modulepreload" crossorigin href="/js/@xterm.
|
|
343
|
-
<link rel="modulepreload" crossorigin href="/js/nprogress.
|
|
344
|
-
<link rel="modulepreload" crossorigin href="/js/@vueuse.
|
|
345
|
-
<link rel="modulepreload" crossorigin href="/js/axios.lj9VQs0f.0.0.
|
|
346
|
-
<link rel="modulepreload" crossorigin href="/js/@intlify.
|
|
347
|
-
<link rel="modulepreload" crossorigin href="/js/vue-i18n.
|
|
348
|
-
<link rel="modulepreload" crossorigin href="/js/pinia.
|
|
349
|
-
<link rel="modulepreload" crossorigin href="/js/vue-router.
|
|
350
|
-
<link rel="modulepreload" crossorigin href="/js/vue-inline-svg.
|
|
351
|
-
<link rel="modulepreload" crossorigin href="/js/vee-validate.
|
|
352
|
-
<link rel="modulepreload" crossorigin href="/js/zod.2bfLsWMZ.0.0.
|
|
353
|
-
<link rel="modulepreload" crossorigin href="/js/@vee-validate.
|
|
354
|
-
<link rel="modulepreload" crossorigin href="/js/uuid.C6aID195.0.0.
|
|
355
|
-
<link rel="modulepreload" crossorigin href="/js/engine.io-parser.BiEtp6m2.0.0.
|
|
356
|
-
<link rel="modulepreload" crossorigin href="/js/@socket.io.Dkula2eQ.0.0.
|
|
357
|
-
<link rel="modulepreload" crossorigin href="/js/engine.io-client.
|
|
358
|
-
<link rel="modulepreload" crossorigin href="/js/socket.io-parser.
|
|
359
|
-
<link rel="modulepreload" crossorigin href="/js/socket.io-client.
|
|
360
|
-
<link rel="modulepreload" crossorigin href="/js/tslib.9k7AwCpt.0.0.
|
|
361
|
-
<link rel="modulepreload" crossorigin href="/js/rxjs.
|
|
362
|
-
<link rel="modulepreload" crossorigin href="/js/highlight.js.
|
|
363
|
-
<link rel="modulepreload" crossorigin href="/js/mdurl.k9Sl0PQj.0.0.
|
|
364
|
-
<link rel="modulepreload" crossorigin href="/js/uc.micro.kMc2yuuw.0.0.
|
|
365
|
-
<link rel="modulepreload" crossorigin href="/js/entities.C20TfXL6.0.0.
|
|
366
|
-
<link rel="modulepreload" crossorigin href="/js/linkify-it.
|
|
367
|
-
<link rel="modulepreload" crossorigin href="/js/punycode.js.Dj65hjkv.0.0.
|
|
368
|
-
<link rel="modulepreload" crossorigin href="/js/markdown-it.
|
|
369
|
-
<link rel="modulepreload" crossorigin href="/js/dijkstrajs.C00ieaqj.0.0.
|
|
370
|
-
<link rel="modulepreload" crossorigin href="/js/qrcode.
|
|
371
|
-
<link rel="modulepreload" crossorigin href="/js/get-size.D1dS-IaP.0.0.
|
|
372
|
-
<link rel="modulepreload" crossorigin href="/js/ev-emitter.X5f1qa-c.0.0.
|
|
373
|
-
<link rel="modulepreload" crossorigin href="/js/unidragger.
|
|
374
|
-
<link rel="modulepreload" crossorigin href="/js/draggabilly.
|
|
375
|
-
<link rel="modulepreload" crossorigin href="/js/vue-zoomable.
|
|
376
|
-
<link rel="modulepreload" crossorigin href="/js/primelocale.Bga3dOQu.0.0.
|
|
377
|
-
<link rel="stylesheet" crossorigin href="/assets/@xterm.DYP7pi_n.0.0.
|
|
378
|
-
<link rel="stylesheet" crossorigin href="/assets/highlight.Ch2EwETz.0.0.
|
|
379
|
-
<link rel="stylesheet" crossorigin href="/assets/main.
|
|
336
|
+
<script type="module" crossorigin src="/js/main.DFrvmqIm.0.0.68.js"></script>
|
|
337
|
+
<link rel="modulepreload" crossorigin href="/js/@vue.BxBKarQv.0.0.68.js">
|
|
338
|
+
<link rel="modulepreload" crossorigin href="/js/@tanstack.BsYRTdPr.0.0.68.js">
|
|
339
|
+
<link rel="modulepreload" crossorigin href="/js/@primeuix.bRNqZjQz.0.0.68.js">
|
|
340
|
+
<link rel="modulepreload" crossorigin href="/js/@primevue.CLjOf_2A.0.0.68.js">
|
|
341
|
+
<link rel="modulepreload" crossorigin href="/js/primevue.D46ZuvwF.0.0.68.js">
|
|
342
|
+
<link rel="modulepreload" crossorigin href="/js/@xterm.D6FDnMLM.0.0.68.js">
|
|
343
|
+
<link rel="modulepreload" crossorigin href="/js/nprogress.BvTTegtH.0.0.68.js">
|
|
344
|
+
<link rel="modulepreload" crossorigin href="/js/@vueuse.DWVBY8Dk.0.0.68.js">
|
|
345
|
+
<link rel="modulepreload" crossorigin href="/js/axios.lj9VQs0f.0.0.68.js">
|
|
346
|
+
<link rel="modulepreload" crossorigin href="/js/@intlify.6ljJeWIl.0.0.68.js">
|
|
347
|
+
<link rel="modulepreload" crossorigin href="/js/vue-i18n.Y-6ZUvD7.0.0.68.js">
|
|
348
|
+
<link rel="modulepreload" crossorigin href="/js/pinia.olzLQsIJ.0.0.68.js">
|
|
349
|
+
<link rel="modulepreload" crossorigin href="/js/vue-router.MLvizfYT.0.0.68.js">
|
|
350
|
+
<link rel="modulepreload" crossorigin href="/js/vue-inline-svg.Cs3JM1Xv.0.0.68.js">
|
|
351
|
+
<link rel="modulepreload" crossorigin href="/js/vee-validate.Cs2kJt5l.0.0.68.js">
|
|
352
|
+
<link rel="modulepreload" crossorigin href="/js/zod.2bfLsWMZ.0.0.68.js">
|
|
353
|
+
<link rel="modulepreload" crossorigin href="/js/@vee-validate.CnnpXP1B.0.0.68.js">
|
|
354
|
+
<link rel="modulepreload" crossorigin href="/js/uuid.C6aID195.0.0.68.js">
|
|
355
|
+
<link rel="modulepreload" crossorigin href="/js/engine.io-parser.BiEtp6m2.0.0.68.js">
|
|
356
|
+
<link rel="modulepreload" crossorigin href="/js/@socket.io.Dkula2eQ.0.0.68.js">
|
|
357
|
+
<link rel="modulepreload" crossorigin href="/js/engine.io-client.2TmvK6nU.0.0.68.js">
|
|
358
|
+
<link rel="modulepreload" crossorigin href="/js/socket.io-parser.DsT87Oon.0.0.68.js">
|
|
359
|
+
<link rel="modulepreload" crossorigin href="/js/socket.io-client.CkWaqEUv.0.0.68.js">
|
|
360
|
+
<link rel="modulepreload" crossorigin href="/js/tslib.9k7AwCpt.0.0.68.js">
|
|
361
|
+
<link rel="modulepreload" crossorigin href="/js/rxjs.Cfd_7YyY.0.0.68.js">
|
|
362
|
+
<link rel="modulepreload" crossorigin href="/js/highlight.js.CO9Od8yG.0.0.68.js">
|
|
363
|
+
<link rel="modulepreload" crossorigin href="/js/mdurl.k9Sl0PQj.0.0.68.js">
|
|
364
|
+
<link rel="modulepreload" crossorigin href="/js/uc.micro.kMc2yuuw.0.0.68.js">
|
|
365
|
+
<link rel="modulepreload" crossorigin href="/js/entities.C20TfXL6.0.0.68.js">
|
|
366
|
+
<link rel="modulepreload" crossorigin href="/js/linkify-it.IDZgcRNT.0.0.68.js">
|
|
367
|
+
<link rel="modulepreload" crossorigin href="/js/punycode.js.Dj65hjkv.0.0.68.js">
|
|
368
|
+
<link rel="modulepreload" crossorigin href="/js/markdown-it.Dk__mw4Y.0.0.68.js">
|
|
369
|
+
<link rel="modulepreload" crossorigin href="/js/dijkstrajs.C00ieaqj.0.0.68.js">
|
|
370
|
+
<link rel="modulepreload" crossorigin href="/js/qrcode.jcsj5TWj.0.0.68.js">
|
|
371
|
+
<link rel="modulepreload" crossorigin href="/js/get-size.D1dS-IaP.0.0.68.js">
|
|
372
|
+
<link rel="modulepreload" crossorigin href="/js/ev-emitter.X5f1qa-c.0.0.68.js">
|
|
373
|
+
<link rel="modulepreload" crossorigin href="/js/unidragger.BlN8nuro.0.0.68.js">
|
|
374
|
+
<link rel="modulepreload" crossorigin href="/js/draggabilly.BWcG_hBx.0.0.68.js">
|
|
375
|
+
<link rel="modulepreload" crossorigin href="/js/vue-zoomable.kygNhD9X.0.0.68.js">
|
|
376
|
+
<link rel="modulepreload" crossorigin href="/js/primelocale.Bga3dOQu.0.0.68.js">
|
|
377
|
+
<link rel="stylesheet" crossorigin href="/assets/@xterm.DYP7pi_n.0.0.68.css">
|
|
378
|
+
<link rel="stylesheet" crossorigin href="/assets/highlight.Ch2EwETz.0.0.68.css">
|
|
379
|
+
<link rel="stylesheet" crossorigin href="/assets/main.BmO7mnW4.0.0.68.css">
|
|
380
380
|
<link rel="manifest" href="/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
|
|
381
381
|
<body>
|
|
382
382
|
<div id="app" class="app"></div>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* shared v11.1.
|
|
2
|
+
* shared v11.1.6
|
|
3
3
|
* (c) 2025 kazuya kawaguchi
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/const Zn=typeof window<"u",zn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),bt=(e,t,n)=>yt({l:e,k:t,s:n}),yt=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),K=e=>typeof e=="number"&&isFinite(e),Pt=e=>Ce(e)==="[object Date]",Re=e=>Ce(e)==="[object RegExp]",ge=e=>k(e)&&Object.keys(e).length===0,Z=Object.assign,kt=Object.create,W=(e=null)=>kt(e);let Me;const ve=()=>Me||(Me=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:W());function we(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const Dt=Object.prototype.hasOwnProperty;function te(e,t){return Dt.call(e,t)}const H=Array.isArray,F=e=>typeof e=="function",I=e=>typeof e=="string",V=e=>typeof e=="boolean",R=e=>e!==null&&typeof e=="object",Rt=e=>R(e)&&F(e.then)&&F(e.catch),Be=Object.prototype.toString,Ce=e=>Be.call(e),k=e=>Ce(e)==="[object Object]",Mt=e=>e==null?"":H(e)||k(e)&&e.toString===Be?JSON.stringify(e,null,2):String(e);function Se(e,t=""){return e.reduce((n,s,c)=>c===0?n+s:n+t+s,"")}function vt(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const oe=e=>!R(e)||H(e);function er(e,t){if(oe(e)||oe(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:s,des:c}=n.pop();Object.keys(s).forEach(l=>{l!=="__proto__"&&(R(s[l])&&!R(c[l])&&(c[l]=Array.isArray(s[l])?[]:W()),oe(c[l])||oe(s[l])?c[l]=s[l]:n.push({src:s[l],des:c[l]}))})}}/*!
|
|
6
|
-
* message-compiler v11.1.
|
|
6
|
+
* message-compiler v11.1.6
|
|
7
7
|
* (c) 2025 kazuya kawaguchi
|
|
8
8
|
* Released under the MIT License.
|
|
9
9
|
*/function wt(e,t,n){return{line:e,column:t,offset:n}}function pe(e,t,n){return{start:e,end:t}}const P={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},Ft=17;function Ie(e,t,n={}){const{domain:s,messages:c,args:l}=n,m=e,_=new SyntaxError(String(m));return _.code=e,t&&(_.location=t),_.domain=s,_}function Ut(e){throw e}const x=" ",Wt="\r",$=`
|
|
10
10
|
`,$t="\u2028",Kt="\u2029";function Vt(e){const t=e;let n=0,s=1,c=1,l=0;const m=A=>t[A]===Wt&&t[A+1]===$,_=A=>t[A]===$,d=A=>t[A]===Kt,L=A=>t[A]===$t,O=A=>m(A)||_(A)||d(A)||L(A),C=()=>n,N=()=>s,b=()=>c,y=()=>l,S=A=>m(A)||d(A)||L(A)?$:t[A],g=()=>S(n),i=()=>S(n+l);function f(){return l=0,O(n)&&(s++,c=0),m(n)&&n++,n++,c++,t[n]}function E(){return m(n+l)&&l++,l++,t[n+l]}function o(){n=0,s=1,c=1,l=0}function h(A=0){l=A}function p(){const A=n+l;for(;A!==n;)f();l=0}return{index:C,line:N,column:b,peekOffset:y,charAt:S,currentChar:g,currentPeek:i,next:f,peek:E,reset:o,resetPeek:h,skipToPeek:p}}const q=void 0,Yt=".",Fe="'",Gt="tokenizer";function Xt(e,t={}){const n=t.location!==!1,s=Vt(e),c=()=>s.index(),l=()=>wt(s.line(),s.column(),s.index()),m=l(),_=c(),d={currentType:13,offset:_,startLoc:m,endLoc:m,lastType:13,lastOffset:_,lastStartLoc:m,lastEndLoc:m,braceNest:0,inLinked:!1,text:""},L=()=>d,{onError:O}=t;function C(r,a,u,...T){const v=L();if(a.column+=u,a.offset+=u,O){const w=n?pe(v.startLoc,a):null,G=Ie(r,w,{domain:Gt,args:T});O(G)}}function N(r,a,u){r.endLoc=l(),r.currentType=a;const T={type:a};return n&&(T.loc=pe(r.startLoc,r.endLoc)),u!=null&&(T.value=u),T}const b=r=>N(r,13);function y(r,a){return r.currentChar()===a?(r.next(),a):(C(P.EXPECTED_TOKEN,l(),0,a),"")}function S(r){let a="";for(;r.currentPeek()===x||r.currentPeek()===$;)a+=r.currentPeek(),r.peek();return a}function g(r){const a=S(r);return r.skipToPeek(),a}function i(r){if(r===q)return!1;const a=r.charCodeAt(0);return a>=97&&a<=122||a>=65&&a<=90||a===95}function f(r){if(r===q)return!1;const a=r.charCodeAt(0);return a>=48&&a<=57}function E(r,a){const{currentType:u}=a;if(u!==2)return!1;S(r);const T=i(r.currentPeek());return r.resetPeek(),T}function o(r,a){const{currentType:u}=a;if(u!==2)return!1;S(r);const T=r.currentPeek()==="-"?r.peek():r.currentPeek(),v=f(T);return r.resetPeek(),v}function h(r,a){const{currentType:u}=a;if(u!==2)return!1;S(r);const T=r.currentPeek()===Fe;return r.resetPeek(),T}function p(r,a){const{currentType:u}=a;if(u!==7)return!1;S(r);const T=r.currentPeek()===".";return r.resetPeek(),T}function A(r,a){const{currentType:u}=a;if(u!==8)return!1;S(r);const T=i(r.currentPeek());return r.resetPeek(),T}function D(r,a){const{currentType:u}=a;if(!(u===7||u===11))return!1;S(r);const T=r.currentPeek()===":";return r.resetPeek(),T}function M(r,a){const{currentType:u}=a;if(u!==9)return!1;const T=()=>{const w=r.currentPeek();return w==="{"?i(r.peek()):w==="@"||w==="|"||w===":"||w==="."||w===x||!w?!1:w===$?(r.peek(),T()):B(r,!1)},v=T();return r.resetPeek(),v}function Y(r){S(r);const a=r.currentPeek()==="|";return r.resetPeek(),a}function B(r,a=!0){const u=(v=!1,w="")=>{const G=r.currentPeek();return G==="{"||G==="@"||!G?v:G==="|"?!(w===x||w===$):G===x?(r.peek(),u(!0,x)):G===$?(r.peek(),u(!0,$)):!0},T=u();return a&&r.resetPeek(),T}function U(r,a){const u=r.currentChar();return u===q?q:a(u)?(r.next(),u):null}function ie(r){const a=r.charCodeAt(0);return a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===95||a===36}function ot(r){return U(r,ie)}function ut(r){const a=r.charCodeAt(0);return a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===95||a===36||a===45}function ft(r){return U(r,ut)}function dt(r){const a=r.charCodeAt(0);return a>=48&&a<=57}function mt(r){return U(r,dt)}function _t(r){const a=r.charCodeAt(0);return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102}function Et(r){return U(r,_t)}function ke(r){let a="",u="";for(;a=mt(r);)u+=a;return u}function Lt(r){let a="";for(;;){const u=r.currentChar();if(u==="{"||u==="}"||u==="@"||u==="|"||!u)break;if(u===x||u===$)if(B(r))a+=u,r.next();else{if(Y(r))break;a+=u,r.next()}else a+=u,r.next()}return a}function ht(r){g(r);let a="",u="";for(;a=ft(r);)u+=a;return r.currentChar()===q&&C(P.UNTERMINATED_CLOSING_BRACE,l(),0),u}function pt(r){g(r);let a="";return r.currentChar()==="-"?(r.next(),a+=`-${ke(r)}`):a+=ke(r),r.currentChar()===q&&C(P.UNTERMINATED_CLOSING_BRACE,l(),0),a}function Nt(r){return r!==Fe&&r!==$}function Tt(r){g(r),y(r,"'");let a="",u="";for(;a=U(r,Nt);)a==="\\"?u+=gt(r):u+=a;const T=r.currentChar();return T===$||T===q?(C(P.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,l(),0),T===$&&(r.next(),y(r,"'")),u):(y(r,"'"),u)}function gt(r){const a=r.currentChar();switch(a){case"\\":case"'":return r.next(),`\\${a}`;case"u":return De(r,a,4);case"U":return De(r,a,6);default:return C(P.UNKNOWN_ESCAPE_SEQUENCE,l(),0,a),""}}function De(r,a,u){y(r,a);let T="";for(let v=0;v<u;v++){const w=Et(r);if(!w){C(P.INVALID_UNICODE_ESCAPE_SEQUENCE,l(),0,`\\${a}${T}${r.currentChar()}`);break}T+=w}return`\\${a}${T}`}function Ct(r){return r!=="{"&&r!=="}"&&r!==x&&r!==$}function St(r){g(r);let a="",u="";for(;a=U(r,Ct);)u+=a;return u}function It(r){let a="",u="";for(;a=ot(r);)u+=a;return u}function Ot(r){const a=u=>{const T=r.currentChar();return T==="{"||T==="@"||T==="|"||T==="("||T===")"||!T||T===x?u:(u+=T,r.next(),a(u))};return a("")}function de(r){g(r);const a=y(r,"|");return g(r),a}function me(r,a){let u=null;switch(r.currentChar()){case"{":return a.braceNest>=1&&C(P.NOT_ALLOW_NEST_PLACEHOLDER,l(),0),r.next(),u=N(a,2,"{"),g(r),a.braceNest++,u;case"}":return a.braceNest>0&&a.currentType===2&&C(P.EMPTY_PLACEHOLDER,l(),0),r.next(),u=N(a,3,"}"),a.braceNest--,a.braceNest>0&&g(r),a.inLinked&&a.braceNest===0&&(a.inLinked=!1),u;case"@":return a.braceNest>0&&C(P.UNTERMINATED_CLOSING_BRACE,l(),0),u=ce(r,a)||b(a),a.braceNest=0,u;default:{let v=!0,w=!0,G=!0;if(Y(r))return a.braceNest>0&&C(P.UNTERMINATED_CLOSING_BRACE,l(),0),u=N(a,1,de(r)),a.braceNest=0,a.inLinked=!1,u;if(a.braceNest>0&&(a.currentType===4||a.currentType===5||a.currentType===6))return C(P.UNTERMINATED_CLOSING_BRACE,l(),0),a.braceNest=0,_e(r,a);if(v=E(r,a))return u=N(a,4,ht(r)),g(r),u;if(w=o(r,a))return u=N(a,5,pt(r)),g(r),u;if(G=h(r,a))return u=N(a,6,Tt(r)),g(r),u;if(!v&&!w&&!G)return u=N(a,12,St(r)),C(P.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,u.value),g(r),u;break}}return u}function ce(r,a){const{currentType:u}=a;let T=null;const v=r.currentChar();switch((u===7||u===8||u===11||u===9)&&(v===$||v===x)&&C(P.INVALID_LINKED_FORMAT,l(),0),v){case"@":return r.next(),T=N(a,7,"@"),a.inLinked=!0,T;case".":return g(r),r.next(),N(a,8,".");case":":return g(r),r.next(),N(a,9,":");default:return Y(r)?(T=N(a,1,de(r)),a.braceNest=0,a.inLinked=!1,T):p(r,a)||D(r,a)?(g(r),ce(r,a)):A(r,a)?(g(r),N(a,11,It(r))):M(r,a)?(g(r),v==="{"?me(r,a)||T:N(a,10,Ot(r))):(u===7&&C(P.INVALID_LINKED_FORMAT,l(),0),a.braceNest=0,a.inLinked=!1,_e(r,a))}}function _e(r,a){let u={type:13};if(a.braceNest>0)return me(r,a)||b(a);if(a.inLinked)return ce(r,a)||b(a);switch(r.currentChar()){case"{":return me(r,a)||b(a);case"}":return C(P.UNBALANCED_CLOSING_BRACE,l(),0),r.next(),N(a,3,"}");case"@":return ce(r,a)||b(a);default:{if(Y(r))return u=N(a,1,de(r)),a.braceNest=0,a.inLinked=!1,u;if(B(r))return N(a,0,Lt(r));break}}return u}function At(){const{currentType:r,offset:a,startLoc:u,endLoc:T}=d;return d.lastType=r,d.lastOffset=a,d.lastStartLoc=u,d.lastEndLoc=T,d.offset=c(),d.startLoc=l(),s.currentChar()===q?N(d,13):_e(s,d)}return{nextToken:At,currentOffset:c,currentPosition:l,context:L}}const Ht="parser",jt=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Bt(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"�"}}}function xt(e={}){const t=e.location!==!1,{onError:n}=e;function s(i,f,E,o,...h){const p=i.currentPosition();if(p.offset+=o,p.column+=o,n){const A=t?pe(E,p):null,D=Ie(f,A,{domain:Ht,args:h});n(D)}}function c(i,f,E){const o={type:i};return t&&(o.start=f,o.end=f,o.loc={start:E,end:E}),o}function l(i,f,E,o){t&&(i.end=f,i.loc&&(i.loc.end=E))}function m(i,f){const E=i.context(),o=c(3,E.offset,E.startLoc);return o.value=f,l(o,i.currentOffset(),i.currentPosition()),o}function _(i,f){const E=i.context(),{lastOffset:o,lastStartLoc:h}=E,p=c(5,o,h);return p.index=parseInt(f,10),i.nextToken(),l(p,i.currentOffset(),i.currentPosition()),p}function d(i,f){const E=i.context(),{lastOffset:o,lastStartLoc:h}=E,p=c(4,o,h);return p.key=f,i.nextToken(),l(p,i.currentOffset(),i.currentPosition()),p}function L(i,f){const E=i.context(),{lastOffset:o,lastStartLoc:h}=E,p=c(9,o,h);return p.value=f.replace(jt,Bt),i.nextToken(),l(p,i.currentOffset(),i.currentPosition()),p}function O(i){const f=i.nextToken(),E=i.context(),{lastOffset:o,lastStartLoc:h}=E,p=c(8,o,h);return f.type!==11?(s(i,P.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),p.value="",l(p,o,h),{nextConsumeToken:f,node:p}):(f.value==null&&s(i,P.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,j(f)),p.value=f.value||"",l(p,i.currentOffset(),i.currentPosition()),{node:p})}function C(i,f){const E=i.context(),o=c(7,E.offset,E.startLoc);return o.value=f,l(o,i.currentOffset(),i.currentPosition()),o}function N(i){const f=i.context(),E=c(6,f.offset,f.startLoc);let o=i.nextToken();if(o.type===8){const h=O(i);E.modifier=h.node,o=h.nextConsumeToken||i.nextToken()}switch(o.type!==9&&s(i,P.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,j(o)),o=i.nextToken(),o.type===2&&(o=i.nextToken()),o.type){case 10:o.value==null&&s(i,P.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,j(o)),E.key=C(i,o.value||"");break;case 4:o.value==null&&s(i,P.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,j(o)),E.key=d(i,o.value||"");break;case 5:o.value==null&&s(i,P.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,j(o)),E.key=_(i,o.value||"");break;case 6:o.value==null&&s(i,P.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,j(o)),E.key=L(i,o.value||"");break;default:{s(i,P.UNEXPECTED_EMPTY_LINKED_KEY,f.lastStartLoc,0);const h=i.context(),p=c(7,h.offset,h.startLoc);return p.value="",l(p,h.offset,h.startLoc),E.key=p,l(E,h.offset,h.startLoc),{nextConsumeToken:o,node:E}}}return l(E,i.currentOffset(),i.currentPosition()),{node:E}}function b(i){const f=i.context(),E=f.currentType===1?i.currentOffset():f.offset,o=f.currentType===1?f.endLoc:f.startLoc,h=c(2,E,o);h.items=[];let p=null;do{const M=p||i.nextToken();switch(p=null,M.type){case 0:M.value==null&&s(i,P.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,j(M)),h.items.push(m(i,M.value||""));break;case 5:M.value==null&&s(i,P.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,j(M)),h.items.push(_(i,M.value||""));break;case 4:M.value==null&&s(i,P.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,j(M)),h.items.push(d(i,M.value||""));break;case 6:M.value==null&&s(i,P.UNEXPECTED_LEXICAL_ANALYSIS,f.lastStartLoc,0,j(M)),h.items.push(L(i,M.value||""));break;case 7:{const Y=N(i);h.items.push(Y.node),p=Y.nextConsumeToken||null;break}}}while(f.currentType!==13&&f.currentType!==1);const A=f.currentType===1?f.lastOffset:i.currentOffset(),D=f.currentType===1?f.lastEndLoc:i.currentPosition();return l(h,A,D),h}function y(i,f,E,o){const h=i.context();let p=o.items.length===0;const A=c(1,f,E);A.cases=[],A.cases.push(o);do{const D=b(i);p||(p=D.items.length===0),A.cases.push(D)}while(h.currentType!==13);return p&&s(i,P.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),l(A,i.currentOffset(),i.currentPosition()),A}function S(i){const f=i.context(),{offset:E,startLoc:o}=f,h=b(i);return f.currentType===13?h:y(i,E,o,h)}function g(i){const f=Xt(i,Z({},e)),E=f.context(),o=c(0,E.offset,E.startLoc);return t&&o.loc&&(o.loc.source=i),o.body=S(f),e.onCacheKey&&(o.cacheKey=e.onCacheKey(i)),E.currentType!==13&&s(f,P.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,i[E.offset]||""),l(o,f.currentOffset(),f.currentPosition()),o}return{parse:g}}function j(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Jt(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:l=>(n.helpers.add(l),l)}}function Ue(e,t){for(let n=0;n<e.length;n++)Oe(e[n],t)}function Oe(e,t){switch(e.type){case 1:Ue(e.cases,t),t.helper("plural");break;case 2:Ue(e.items,t);break;case 6:{Oe(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Qt(e,t={}){const n=Jt(e);n.helper("normalize"),e.body&&Oe(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function qt(e){const t=e.body;return t.type===2?We(t):t.cases.forEach(n=>We(n)),e}function We(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const s=e.items[n];if(!(s.type===3||s.type===9)||s.value==null)break;t.push(s.value)}if(t.length===e.items.length){e.static=Se(t);for(let n=0;n<e.items.length;n++){const s=e.items[n];(s.type===3||s.type===9)&&delete s.value}}}}function ne(e){switch(e.t=e.type,e.type){case 0:{const t=e;ne(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let s=0;s<n.length;s++)ne(n[s]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let s=0;s<n.length;s++)ne(n[s]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;ne(t.key),t.k=t.key,delete t.key,t.modifier&&(ne(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function Zt(e,t){const{filename:n,breakLineCode:s,needIndent:c}=t,l=t.location!==!1,m={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:c,indentLevel:0};l&&e.loc&&(m.source=e.loc.source);const _=()=>m;function d(S,g){m.code+=S}function L(S,g=!0){const i=g?s:"";d(c?i+" ".repeat(S):i)}function O(S=!0){const g=++m.indentLevel;S&&L(g)}function C(S=!0){const g=--m.indentLevel;S&&L(g)}function N(){L(m.indentLevel)}return{context:_,push:d,indent:O,deindent:C,newline:N,helper:S=>`_${S}`,needIndent:()=>m.needIndent}}function zt(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),re(e,t.key),t.modifier?(e.push(", "),re(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function en(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const c=t.items.length;for(let l=0;l<c&&(re(e,t.items[l]),l!==c-1);l++)e.push(", ");e.deindent(s()),e.push("])")}function tn(e,t){const{helper:n,needIndent:s}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(s());const c=t.cases.length;for(let l=0;l<c&&(re(e,t.cases[l]),l!==c-1);l++)e.push(", ");e.deindent(s()),e.push("])")}}function nn(e,t){t.body?re(e,t.body):e.push("null")}function re(e,t){const{helper:n}=e;switch(t.type){case 0:nn(e,t);break;case 1:tn(e,t);break;case 2:en(e,t);break;case 6:zt(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const rn=(e,t={})=>{const n=I(t.mode)?t.mode:"normal",s=I(t.filename)?t.filename:"message.intl";t.sourceMap;const c=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
11
11
|
`,l=t.needIndent?t.needIndent:n!=="arrow",m=e.helpers||[],_=Zt(e,{filename:s,breakLineCode:c,needIndent:l});_.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),_.indent(l),m.length>0&&(_.push(`const { ${Se(m.map(O=>`${O}: _${O}`),", ")} } = ctx`),_.newline()),_.push("return "),re(_,e),_.deindent(l),_.push("}"),delete e.helpers;const{code:d,map:L}=_.context();return{ast:e,code:d,map:L?L.toJSON():void 0}};function sn(e,t={}){const n=Z({},t),s=!!n.jit,c=!!n.minify,l=n.optimize==null?!0:n.optimize,_=xt(n).parse(e);return s?(l&&qt(_),c&&ne(_),{ast:_,code:""}):(Qt(_,n),rn(_,n))}/*!
|
|
12
|
-
* core-base v11.1.
|
|
12
|
+
* core-base v11.1.6
|
|
13
13
|
* (c) 2025 kazuya kawaguchi
|
|
14
14
|
* Released under the MIT License.
|
|
15
|
-
*/function an(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ve().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ve().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function se(e){return R(e)&&Ae(e)===0&&(te(e,"b")||te(e,"body"))}const xe=["b","body"];function ln(e){return z(e,xe)}const Je=["c","cases"];function cn(e){return z(e,Je,[])}const Qe=["s","static"];function on(e){return z(e,Qe)}const qe=["i","items"];function un(e){return z(e,qe,[])}const Ze=["t","type"];function Ae(e){return z(e,Ze)}const ze=["v","value"];function ue(e,t){const n=z(e,ze);if(n!=null)return n;throw ae(t)}const et=["m","modifier"];function fn(e){return z(e,et)}const tt=["k","key"];function dn(e){const t=z(e,tt);if(t)return t;throw ae(6)}function z(e,t,n){for(let s=0;s<t.length;s++){const c=t[s];if(te(e,c)&&e[c]!=null)return e[c]}return n}const mn=[...xe,...Je,...Qe,...qe,...tt,...et,...ze,...Ze];function ae(e){return new Error(`unhandled node type: ${e}`)}function Ee(e){return n=>_n(n,e)}function _n(e,t){const n=ln(t);if(n==null)throw ae(0);if(Ae(n)===1){const l=cn(n);return e.plural(l.reduce((m,_)=>[...m,$e(e,_)],[]))}else return $e(e,n)}function $e(e,t){const n=on(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const s=un(t).reduce((c,l)=>[...c,Ne(e,l)],[]);return e.normalize(s)}}function Ne(e,t){const n=Ae(t);switch(n){case 3:return ue(t,n);case 9:return ue(t,n);case 4:{const s=t;if(te(s,"k")&&s.k)return e.interpolate(e.named(s.k));if(te(s,"key")&&s.key)return e.interpolate(e.named(s.key));throw ae(n)}case 5:{const s=t;if(te(s,"i")&&K(s.i))return e.interpolate(e.list(s.i));if(te(s,"index")&&K(s.index))return e.interpolate(e.list(s.index));throw ae(n)}case 6:{const s=t,c=fn(s),l=dn(s);return e.linked(Ne(e,l),c?Ne(e,c):void 0,e.type)}case 7:return ue(t,n);case 8:return ue(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const En=e=>e;let fe=W();function Ln(e,t={}){let n=!1;const s=t.onError||Ut;return t.onError=c=>{n=!0,s(c)},{...sn(e,t),detectError:n}}function tr(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&I(e)){V(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||En)(e),c=fe[s];if(c)return c;const{ast:l,detectError:m}=Ln(e,{...t,location:!1,jit:!0}),_=Ee(l);return m?_:fe[s]=_}else{const n=e.cacheKey;if(n){const s=fe[n];return s||(fe[n]=Ee(e))}else return Ee(e)}}let le=null;function nr(e){le=e}function hn(e,t,n){le&&le.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const pn=Nn("function:translate");function Nn(e){return t=>le&&le.emit(e,t)}const J={INVALID_ARGUMENT:Ft,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},rr=24;function Q(e){return Ie(e,null,void 0)}function be(e,t){return t.locale!=null?Ke(t.locale):Ke(e.locale)}let Le;function Ke(e){if(I(e))return e;if(F(e)){if(e.resolvedOnce&&Le!=null)return Le;if(e.constructor.name==="Function"){const t=e();if(Rt(t))throw Q(J.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Le=t}else throw Q(J.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Q(J.NOT_SUPPORT_LOCALE_TYPE)}function Tn(e,t,n){return[...new Set([n,...H(t)?t:R(t)?Object.keys(t):I(t)?[t]:[n]])]}function sr(e,t,n){const s=I(n)?n:Te,c=e;c.__localeChainCache||(c.__localeChainCache=new Map);let l=c.__localeChainCache.get(s);if(!l){l=[];let m=[n];for(;H(m);)m=Ve(l,m,t);const _=H(t)||!k(t)?t:t.default?t.default:null;m=I(_)?[_]:_,H(m)&&Ve(l,m,!1),c.__localeChainCache.set(s,l)}return l}function Ve(e,t,n){let s=!0;for(let c=0;c<t.length&&V(s);c++){const l=t[c];I(l)&&(s=gn(e,t[c],n))}return s}function gn(e,t,n){let s;const c=t.split("-");do{const l=c.join("-");s=Cn(e,l,n),c.splice(-1,1)}while(c.length&&s===!0);return s}function Cn(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const c=t.replace(/!/g,"");e.push(c),(H(n)||k(n))&&n[c]&&(s=n[c])}return s}const ee=[];ee[0]={w:[0],i:[3,0],"[":[4],o:[7]};ee[1]={w:[1],".":[2],"[":[4],o:[7]};ee[2]={w:[2],i:[3,0],0:[3,0]};ee[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};ee[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};ee[5]={"'":[4,0],o:8,l:[5,0]};ee[6]={'"':[4,0],o:8,l:[6,0]};const Sn=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function In(e){return Sn.test(e)}function On(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function An(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function bn(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:In(t)?On(t):"*"+t}function yn(e){const t=[];let n=-1,s=0,c=0,l,m,_,d,L,O,C;const N=[];N[0]=()=>{m===void 0?m=_:m+=_},N[1]=()=>{m!==void 0&&(t.push(m),m=void 0)},N[2]=()=>{N[0](),c++},N[3]=()=>{if(c>0)c--,s=4,N[0]();else{if(c=0,m===void 0||(m=bn(m),m===!1))return!1;N[1]()}};function b(){const y=e[n+1];if(s===5&&y==="'"||s===6&&y==='"')return n++,_="\\"+y,N[0](),!0}for(;s!==null;)if(n++,l=e[n],!(l==="\\"&&b())){if(d=An(l),C=ee[s],L=C[d]||C.l||8,L===8||(s=L[0],L[1]!==void 0&&(O=N[L[1]],O&&(_=l,O()===!1))))return;if(s===7)return t}}const Ye=new Map;function Pn(e,t){return R(e)?e[t]:null}function ar(e,t){if(!R(e))return null;let n=Ye.get(t);if(n||(n=yn(t),n&&Ye.set(t,n)),!n)return null;const s=n.length;let c=e,l=0;for(;l<s;){const m=n[l];if(mn.includes(m)&&se(c))return null;const _=c[m];if(_===void 0||F(c))return null;c=_,l++}return c}const kn="11.1.5",ye=-1,Te="en-US",lr="",Ge=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Dn(){return{upper:(e,t)=>t==="text"&&I(e)?e.toUpperCase():t==="vnode"&&R(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&I(e)?e.toLowerCase():t==="vnode"&&R(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&I(e)?Ge(e):t==="vnode"&&R(e)&&"__v_isVNode"in e?Ge(e.children):e}}let nt;function ir(e){nt=e}let rt;function cr(e){rt=e}let st;function or(e){st=e}let at=null;const ur=e=>{at=e},Rn=()=>at;let lt=null;const fr=e=>{lt=e},dr=()=>lt;let Xe=0;function mr(e={}){const t=F(e.onWarn)?e.onWarn:vt,n=I(e.version)?e.version:kn,s=I(e.locale)||F(e.locale)?e.locale:Te,c=F(s)?Te:s,l=H(e.fallbackLocale)||k(e.fallbackLocale)||I(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c,m=k(e.messages)?e.messages:he(c),_=k(e.datetimeFormats)?e.datetimeFormats:he(c),d=k(e.numberFormats)?e.numberFormats:he(c),L=Z(W(),e.modifiers,Dn()),O=e.pluralRules||W(),C=F(e.missing)?e.missing:null,N=V(e.missingWarn)||Re(e.missingWarn)?e.missingWarn:!0,b=V(e.fallbackWarn)||Re(e.fallbackWarn)?e.fallbackWarn:!0,y=!!e.fallbackFormat,S=!!e.unresolving,g=F(e.postTranslation)?e.postTranslation:null,i=k(e.processor)?e.processor:null,f=V(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,o=F(e.messageCompiler)?e.messageCompiler:nt,h=F(e.messageResolver)?e.messageResolver:rt||Pn,p=F(e.localeFallbacker)?e.localeFallbacker:st||Tn,A=R(e.fallbackContext)?e.fallbackContext:void 0,D=e,M=R(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,Y=R(D.__numberFormatters)?D.__numberFormatters:new Map,B=R(D.__meta)?D.__meta:{};Xe++;const U={version:n,cid:Xe,locale:s,fallbackLocale:l,messages:m,modifiers:L,pluralRules:O,missing:C,missingWarn:N,fallbackWarn:b,fallbackFormat:y,unresolving:S,postTranslation:g,processor:i,warnHtmlMessage:f,escapeParameter:E,messageCompiler:o,messageResolver:h,localeFallbacker:p,fallbackContext:A,onWarn:t,__meta:B};return U.datetimeFormats=_,U.numberFormats=d,U.__datetimeFormatters=M,U.__numberFormatters=Y,__INTLIFY_PROD_DEVTOOLS__&&hn(U,n,B),U}const he=e=>({[e]:W()});function Pe(e,t,n,s,c){const{missing:l,onWarn:m}=e;if(l!==null){const _=l(e,n,t,c);return I(_)?_:t}else return t}function _r(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Mn(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function vn(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(Mn(e,t[s]))return!0;return!1}function Er(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:c,onWarn:l,localeFallbacker:m}=e,{__datetimeFormatters:_}=e,[d,L,O,C]=Fn(...t),N=V(O.missingWarn)?O.missingWarn:e.missingWarn;V(O.fallbackWarn)?O.fallbackWarn:e.fallbackWarn;const b=!!O.part,y=be(e,O),S=m(e,c,y);if(!I(d)||d==="")return new Intl.DateTimeFormat(y,C).format(L);let g={},i,f=null;const E="datetime format";for(let p=0;p<S.length&&(i=S[p],g=n[i]||{},f=g[d],!k(f));p++)Pe(e,d,i,N,E);if(!k(f)||!I(i))return s?ye:d;let o=`${i}__${d}`;ge(C)||(o=`${o}__${JSON.stringify(C)}`);let h=_.get(o);return h||(h=new Intl.DateTimeFormat(i,Z({},f,C)),_.set(o,h)),b?h.formatToParts(L):h.format(L)}const wn=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Fn(...e){const[t,n,s,c]=e,l=W();let m=W(),_;if(I(t)){const d=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!d)throw Q(J.INVALID_ISO_DATE_ARGUMENT);const L=d[3]?d[3].trim().startsWith("T")?`${d[1].trim()}${d[3].trim()}`:`${d[1].trim()}T${d[3].trim()}`:d[1].trim();_=new Date(L);try{_.toISOString()}catch{throw Q(J.INVALID_ISO_DATE_ARGUMENT)}}else if(Pt(t)){if(isNaN(t.getTime()))throw Q(J.INVALID_DATE_ARGUMENT);_=t}else if(K(t))_=t;else throw Q(J.INVALID_ARGUMENT);return I(n)?l.key=n:k(n)&&Object.keys(n).forEach(d=>{wn.includes(d)?m[d]=n[d]:l[d]=n[d]}),I(s)?l.locale=s:k(s)&&(m=s),k(c)&&(m=c),[l.key||"",_,l,m]}function Lr(e,t,n){const s=e;for(const c in n){const l=`${t}__${c}`;s.__datetimeFormatters.has(l)&&s.__datetimeFormatters.delete(l)}}function hr(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:c,onWarn:l,localeFallbacker:m}=e,{__numberFormatters:_}=e,[d,L,O,C]=Wn(...t),N=V(O.missingWarn)?O.missingWarn:e.missingWarn;V(O.fallbackWarn)?O.fallbackWarn:e.fallbackWarn;const b=!!O.part,y=be(e,O),S=m(e,c,y);if(!I(d)||d==="")return new Intl.NumberFormat(y,C).format(L);let g={},i,f=null;const E="number format";for(let p=0;p<S.length&&(i=S[p],g=n[i]||{},f=g[d],!k(f));p++)Pe(e,d,i,N,E);if(!k(f)||!I(i))return s?ye:d;let o=`${i}__${d}`;ge(C)||(o=`${o}__${JSON.stringify(C)}`);let h=_.get(o);return h||(h=new Intl.NumberFormat(i,Z({},f,C)),_.set(o,h)),b?h.formatToParts(L):h.format(L)}const Un=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Wn(...e){const[t,n,s,c]=e,l=W();let m=W();if(!K(t))throw Q(J.INVALID_ARGUMENT);const _=t;return I(n)?l.key=n:k(n)&&Object.keys(n).forEach(d=>{Un.includes(d)?m[d]=n[d]:l[d]=n[d]}),I(s)?l.locale=s:k(s)&&(m=s),k(c)&&(m=c),[l.key||"",_,l,m]}function pr(e,t,n){const s=e;for(const c in n){const l=`${t}__${c}`;s.__numberFormatters.has(l)&&s.__numberFormatters.delete(l)}}const $n=e=>e,Kn=e=>"",Vn="text",Yn=e=>e.length===0?"":Se(e),Gn=Mt;function He(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Xn(e){const t=K(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(K(e.named.count)||K(e.named.n))?K(e.named.count)?e.named.count:K(e.named.n)?e.named.n:t:t}function Hn(e,t){t.count||(t.count=e),t.n||(t.n=e)}function jn(e={}){const t=e.locale,n=Xn(e),s=R(e.pluralRules)&&I(t)&&F(e.pluralRules[t])?e.pluralRules[t]:He,c=R(e.pluralRules)&&I(t)&&F(e.pluralRules[t])?He:void 0,l=i=>i[s(n,i.length,c)],m=e.list||[],_=i=>m[i],d=e.named||W();K(e.pluralIndex)&&Hn(n,d);const L=i=>d[i];function O(i,f){const E=F(e.messages)?e.messages(i,!!f):R(e.messages)?e.messages[i]:!1;return E||(e.parent?e.parent.message(i):Kn)}const C=i=>e.modifiers?e.modifiers[i]:$n,N=k(e.processor)&&F(e.processor.normalize)?e.processor.normalize:Yn,b=k(e.processor)&&F(e.processor.interpolate)?e.processor.interpolate:Gn,y=k(e.processor)&&I(e.processor.type)?e.processor.type:Vn,g={list:_,named:L,plural:l,linked:(i,...f)=>{const[E,o]=f;let h="text",p="";f.length===1?R(E)?(p=E.modifier||p,h=E.type||h):I(E)&&(p=E||p):f.length===2&&(I(E)&&(p=E||p),I(o)&&(h=o||h));const A=O(i,!0)(g),D=h==="vnode"&&H(A)&&p?A[0]:A;return p?C(p)(D,h):D},message:O,type:y,interpolate:b,normalize:N,values:Z(W(),m,d)};return g}const je=()=>"",X=e=>F(e);function Nr(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:c,messageCompiler:l,fallbackLocale:m,messages:_}=e,[d,L]=Jn(...t),O=V(L.missingWarn)?L.missingWarn:e.missingWarn,C=V(L.fallbackWarn)?L.fallbackWarn:e.fallbackWarn,N=V(L.escapeParameter)?L.escapeParameter:e.escapeParameter,b=!!L.resolvedMessage,y=I(L.default)||V(L.default)?V(L.default)?l?d:()=>d:L.default:n?l?d:()=>d:null,S=n||y!=null&&(I(y)||F(y)),g=be(e,L);N&&Bn(L);let[i,f,E]=b?[d,g,_[g]||W()]:it(e,d,g,m,C,O),o=i,h=d;if(!b&&!(I(o)||se(o)||X(o))&&S&&(o=y,h=o),!b&&(!(I(o)||se(o)||X(o))||!I(f)))return c?ye:d;let p=!1;const A=()=>{p=!0},D=X(o)?o:ct(e,d,f,o,h,A);if(p)return o;const M=qn(e,f,E,L),Y=jn(M),B=xn(e,D,Y),U=s?s(B,d):B;if(__INTLIFY_PROD_DEVTOOLS__){const ie={timestamp:Date.now(),key:I(d)?d:X(o)?o.key:"",locale:f||(X(o)?o.locale:""),format:I(o)?o:X(o)?o.source:"",message:U};ie.meta=Z({},e.__meta,Rn()||{}),pn(ie)}return U}function Bn(e){H(e.list)?e.list=e.list.map(t=>I(t)?we(t):t):R(e.named)&&Object.keys(e.named).forEach(t=>{I(e.named[t])&&(e.named[t]=we(e.named[t]))})}function it(e,t,n,s,c,l){const{messages:m,onWarn:_,messageResolver:d,localeFallbacker:L}=e,O=L(e,s,n);let C=W(),N,b=null;const y="translate";for(let S=0;S<O.length&&(N=O[S],C=m[N]||W(),(b=d(C,t))===null&&(b=C[t]),!(I(b)||se(b)||X(b)));S++)if(!vn(N,O)){const g=Pe(e,t,N,l,y);g!==t&&(b=g)}return[b,N,C]}function ct(e,t,n,s,c,l){const{messageCompiler:m,warnHtmlMessage:_}=e;if(X(s)){const L=s;return L.locale=L.locale||n,L.key=L.key||t,L}if(m==null){const L=()=>s;return L.locale=n,L.key=t,L}const d=m(s,Qn(e,n,c,s,_,l));return d.locale=n,d.key=t,d.source=s,d}function xn(e,t,n){return t(n)}function Jn(...e){const[t,n,s]=e,c=W();if(!I(t)&&!K(t)&&!X(t)&&!se(t))throw Q(J.INVALID_ARGUMENT);const l=K(t)?String(t):(X(t),t);return K(n)?c.plural=n:I(n)?c.default=n:k(n)&&!ge(n)?c.named=n:H(n)&&(c.list=n),K(s)?c.plural=s:I(s)?c.default=s:k(s)&&Z(c,s),[l,c]}function Qn(e,t,n,s,c,l){return{locale:t,key:n,warnHtmlMessage:c,onError:m=>{throw l&&l(m),m},onCacheKey:m=>bt(t,n,m)}}function qn(e,t,n,s){const{modifiers:c,pluralRules:l,messageResolver:m,fallbackLocale:_,fallbackWarn:d,missingWarn:L,fallbackContext:O}=e,N={locale:t,modifiers:c,pluralRules:l,messages:(b,y)=>{let S=m(n,b);if(S==null&&(O||y)){const[,,g]=it(O||e,b,t,_,d,L);S=m(g,b)}if(I(S)||se(S)){let g=!1;const f=ct(e,b,t,S,b,()=>{g=!0});return g?je:f}else return X(S)?S:je}};return e.processor&&(N.processor=e.processor),s.list&&(N.list=s.list),s.named&&(N.named=s.named),K(s.plural)&&(N.pluralIndex=s.plural),N}an();export{mn as A,Fn as B,rr as C,Te as D,Er as E,Wn as F,hr as G,X as H,Un as I,ge as J,wn as K,ir as L,lr as M,ye as N,cr as O,or as P,ve as Q,nr as R,tr as S,ar as T,k as a,I as b,Ie as c,H as d,Re as e,F as f,Zn as g,Z as h,V as i,W as j,er as k,te as l,zn as m,mr as n,R as o,Lr as p,pr as q,K as r,se as s,ur as t,_r as u,dr as v,sr as w,fr as x,Jn as y,Nr as z};
|
|
15
|
+
*/function an(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ve().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ve().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function se(e){return R(e)&&Ae(e)===0&&(te(e,"b")||te(e,"body"))}const xe=["b","body"];function ln(e){return z(e,xe)}const Je=["c","cases"];function cn(e){return z(e,Je,[])}const Qe=["s","static"];function on(e){return z(e,Qe)}const qe=["i","items"];function un(e){return z(e,qe,[])}const Ze=["t","type"];function Ae(e){return z(e,Ze)}const ze=["v","value"];function ue(e,t){const n=z(e,ze);if(n!=null)return n;throw ae(t)}const et=["m","modifier"];function fn(e){return z(e,et)}const tt=["k","key"];function dn(e){const t=z(e,tt);if(t)return t;throw ae(6)}function z(e,t,n){for(let s=0;s<t.length;s++){const c=t[s];if(te(e,c)&&e[c]!=null)return e[c]}return n}const mn=[...xe,...Je,...Qe,...qe,...tt,...et,...ze,...Ze];function ae(e){return new Error(`unhandled node type: ${e}`)}function Ee(e){return n=>_n(n,e)}function _n(e,t){const n=ln(t);if(n==null)throw ae(0);if(Ae(n)===1){const l=cn(n);return e.plural(l.reduce((m,_)=>[...m,$e(e,_)],[]))}else return $e(e,n)}function $e(e,t){const n=on(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const s=un(t).reduce((c,l)=>[...c,Ne(e,l)],[]);return e.normalize(s)}}function Ne(e,t){const n=Ae(t);switch(n){case 3:return ue(t,n);case 9:return ue(t,n);case 4:{const s=t;if(te(s,"k")&&s.k)return e.interpolate(e.named(s.k));if(te(s,"key")&&s.key)return e.interpolate(e.named(s.key));throw ae(n)}case 5:{const s=t;if(te(s,"i")&&K(s.i))return e.interpolate(e.list(s.i));if(te(s,"index")&&K(s.index))return e.interpolate(e.list(s.index));throw ae(n)}case 6:{const s=t,c=fn(s),l=dn(s);return e.linked(Ne(e,l),c?Ne(e,c):void 0,e.type)}case 7:return ue(t,n);case 8:return ue(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const En=e=>e;let fe=W();function Ln(e,t={}){let n=!1;const s=t.onError||Ut;return t.onError=c=>{n=!0,s(c)},{...sn(e,t),detectError:n}}function tr(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&I(e)){V(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||En)(e),c=fe[s];if(c)return c;const{ast:l,detectError:m}=Ln(e,{...t,location:!1,jit:!0}),_=Ee(l);return m?_:fe[s]=_}else{const n=e.cacheKey;if(n){const s=fe[n];return s||(fe[n]=Ee(e))}else return Ee(e)}}let le=null;function nr(e){le=e}function hn(e,t,n){le&&le.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const pn=Nn("function:translate");function Nn(e){return t=>le&&le.emit(e,t)}const J={INVALID_ARGUMENT:Ft,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},rr=24;function Q(e){return Ie(e,null,void 0)}function be(e,t){return t.locale!=null?Ke(t.locale):Ke(e.locale)}let Le;function Ke(e){if(I(e))return e;if(F(e)){if(e.resolvedOnce&&Le!=null)return Le;if(e.constructor.name==="Function"){const t=e();if(Rt(t))throw Q(J.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Le=t}else throw Q(J.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Q(J.NOT_SUPPORT_LOCALE_TYPE)}function Tn(e,t,n){return[...new Set([n,...H(t)?t:R(t)?Object.keys(t):I(t)?[t]:[n]])]}function sr(e,t,n){const s=I(n)?n:Te,c=e;c.__localeChainCache||(c.__localeChainCache=new Map);let l=c.__localeChainCache.get(s);if(!l){l=[];let m=[n];for(;H(m);)m=Ve(l,m,t);const _=H(t)||!k(t)?t:t.default?t.default:null;m=I(_)?[_]:_,H(m)&&Ve(l,m,!1),c.__localeChainCache.set(s,l)}return l}function Ve(e,t,n){let s=!0;for(let c=0;c<t.length&&V(s);c++){const l=t[c];I(l)&&(s=gn(e,t[c],n))}return s}function gn(e,t,n){let s;const c=t.split("-");do{const l=c.join("-");s=Cn(e,l,n),c.splice(-1,1)}while(c.length&&s===!0);return s}function Cn(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const c=t.replace(/!/g,"");e.push(c),(H(n)||k(n))&&n[c]&&(s=n[c])}return s}const ee=[];ee[0]={w:[0],i:[3,0],"[":[4],o:[7]};ee[1]={w:[1],".":[2],"[":[4],o:[7]};ee[2]={w:[2],i:[3,0],0:[3,0]};ee[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};ee[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};ee[5]={"'":[4,0],o:8,l:[5,0]};ee[6]={'"':[4,0],o:8,l:[6,0]};const Sn=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function In(e){return Sn.test(e)}function On(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function An(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function bn(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:In(t)?On(t):"*"+t}function yn(e){const t=[];let n=-1,s=0,c=0,l,m,_,d,L,O,C;const N=[];N[0]=()=>{m===void 0?m=_:m+=_},N[1]=()=>{m!==void 0&&(t.push(m),m=void 0)},N[2]=()=>{N[0](),c++},N[3]=()=>{if(c>0)c--,s=4,N[0]();else{if(c=0,m===void 0||(m=bn(m),m===!1))return!1;N[1]()}};function b(){const y=e[n+1];if(s===5&&y==="'"||s===6&&y==='"')return n++,_="\\"+y,N[0](),!0}for(;s!==null;)if(n++,l=e[n],!(l==="\\"&&b())){if(d=An(l),C=ee[s],L=C[d]||C.l||8,L===8||(s=L[0],L[1]!==void 0&&(O=N[L[1]],O&&(_=l,O()===!1))))return;if(s===7)return t}}const Ye=new Map;function Pn(e,t){return R(e)?e[t]:null}function ar(e,t){if(!R(e))return null;let n=Ye.get(t);if(n||(n=yn(t),n&&Ye.set(t,n)),!n)return null;const s=n.length;let c=e,l=0;for(;l<s;){const m=n[l];if(mn.includes(m)&&se(c))return null;const _=c[m];if(_===void 0||F(c))return null;c=_,l++}return c}const kn="11.1.6",ye=-1,Te="en-US",lr="",Ge=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Dn(){return{upper:(e,t)=>t==="text"&&I(e)?e.toUpperCase():t==="vnode"&&R(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&I(e)?e.toLowerCase():t==="vnode"&&R(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&I(e)?Ge(e):t==="vnode"&&R(e)&&"__v_isVNode"in e?Ge(e.children):e}}let nt;function ir(e){nt=e}let rt;function cr(e){rt=e}let st;function or(e){st=e}let at=null;const ur=e=>{at=e},Rn=()=>at;let lt=null;const fr=e=>{lt=e},dr=()=>lt;let Xe=0;function mr(e={}){const t=F(e.onWarn)?e.onWarn:vt,n=I(e.version)?e.version:kn,s=I(e.locale)||F(e.locale)?e.locale:Te,c=F(s)?Te:s,l=H(e.fallbackLocale)||k(e.fallbackLocale)||I(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c,m=k(e.messages)?e.messages:he(c),_=k(e.datetimeFormats)?e.datetimeFormats:he(c),d=k(e.numberFormats)?e.numberFormats:he(c),L=Z(W(),e.modifiers,Dn()),O=e.pluralRules||W(),C=F(e.missing)?e.missing:null,N=V(e.missingWarn)||Re(e.missingWarn)?e.missingWarn:!0,b=V(e.fallbackWarn)||Re(e.fallbackWarn)?e.fallbackWarn:!0,y=!!e.fallbackFormat,S=!!e.unresolving,g=F(e.postTranslation)?e.postTranslation:null,i=k(e.processor)?e.processor:null,f=V(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,o=F(e.messageCompiler)?e.messageCompiler:nt,h=F(e.messageResolver)?e.messageResolver:rt||Pn,p=F(e.localeFallbacker)?e.localeFallbacker:st||Tn,A=R(e.fallbackContext)?e.fallbackContext:void 0,D=e,M=R(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,Y=R(D.__numberFormatters)?D.__numberFormatters:new Map,B=R(D.__meta)?D.__meta:{};Xe++;const U={version:n,cid:Xe,locale:s,fallbackLocale:l,messages:m,modifiers:L,pluralRules:O,missing:C,missingWarn:N,fallbackWarn:b,fallbackFormat:y,unresolving:S,postTranslation:g,processor:i,warnHtmlMessage:f,escapeParameter:E,messageCompiler:o,messageResolver:h,localeFallbacker:p,fallbackContext:A,onWarn:t,__meta:B};return U.datetimeFormats=_,U.numberFormats=d,U.__datetimeFormatters=M,U.__numberFormatters=Y,__INTLIFY_PROD_DEVTOOLS__&&hn(U,n,B),U}const he=e=>({[e]:W()});function Pe(e,t,n,s,c){const{missing:l,onWarn:m}=e;if(l!==null){const _=l(e,n,t,c);return I(_)?_:t}else return t}function _r(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Mn(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function vn(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(Mn(e,t[s]))return!0;return!1}function Er(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:c,onWarn:l,localeFallbacker:m}=e,{__datetimeFormatters:_}=e,[d,L,O,C]=Fn(...t),N=V(O.missingWarn)?O.missingWarn:e.missingWarn;V(O.fallbackWarn)?O.fallbackWarn:e.fallbackWarn;const b=!!O.part,y=be(e,O),S=m(e,c,y);if(!I(d)||d==="")return new Intl.DateTimeFormat(y,C).format(L);let g={},i,f=null;const E="datetime format";for(let p=0;p<S.length&&(i=S[p],g=n[i]||{},f=g[d],!k(f));p++)Pe(e,d,i,N,E);if(!k(f)||!I(i))return s?ye:d;let o=`${i}__${d}`;ge(C)||(o=`${o}__${JSON.stringify(C)}`);let h=_.get(o);return h||(h=new Intl.DateTimeFormat(i,Z({},f,C)),_.set(o,h)),b?h.formatToParts(L):h.format(L)}const wn=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Fn(...e){const[t,n,s,c]=e,l=W();let m=W(),_;if(I(t)){const d=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!d)throw Q(J.INVALID_ISO_DATE_ARGUMENT);const L=d[3]?d[3].trim().startsWith("T")?`${d[1].trim()}${d[3].trim()}`:`${d[1].trim()}T${d[3].trim()}`:d[1].trim();_=new Date(L);try{_.toISOString()}catch{throw Q(J.INVALID_ISO_DATE_ARGUMENT)}}else if(Pt(t)){if(isNaN(t.getTime()))throw Q(J.INVALID_DATE_ARGUMENT);_=t}else if(K(t))_=t;else throw Q(J.INVALID_ARGUMENT);return I(n)?l.key=n:k(n)&&Object.keys(n).forEach(d=>{wn.includes(d)?m[d]=n[d]:l[d]=n[d]}),I(s)?l.locale=s:k(s)&&(m=s),k(c)&&(m=c),[l.key||"",_,l,m]}function Lr(e,t,n){const s=e;for(const c in n){const l=`${t}__${c}`;s.__datetimeFormatters.has(l)&&s.__datetimeFormatters.delete(l)}}function hr(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:c,onWarn:l,localeFallbacker:m}=e,{__numberFormatters:_}=e,[d,L,O,C]=Wn(...t),N=V(O.missingWarn)?O.missingWarn:e.missingWarn;V(O.fallbackWarn)?O.fallbackWarn:e.fallbackWarn;const b=!!O.part,y=be(e,O),S=m(e,c,y);if(!I(d)||d==="")return new Intl.NumberFormat(y,C).format(L);let g={},i,f=null;const E="number format";for(let p=0;p<S.length&&(i=S[p],g=n[i]||{},f=g[d],!k(f));p++)Pe(e,d,i,N,E);if(!k(f)||!I(i))return s?ye:d;let o=`${i}__${d}`;ge(C)||(o=`${o}__${JSON.stringify(C)}`);let h=_.get(o);return h||(h=new Intl.NumberFormat(i,Z({},f,C)),_.set(o,h)),b?h.formatToParts(L):h.format(L)}const Un=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Wn(...e){const[t,n,s,c]=e,l=W();let m=W();if(!K(t))throw Q(J.INVALID_ARGUMENT);const _=t;return I(n)?l.key=n:k(n)&&Object.keys(n).forEach(d=>{Un.includes(d)?m[d]=n[d]:l[d]=n[d]}),I(s)?l.locale=s:k(s)&&(m=s),k(c)&&(m=c),[l.key||"",_,l,m]}function pr(e,t,n){const s=e;for(const c in n){const l=`${t}__${c}`;s.__numberFormatters.has(l)&&s.__numberFormatters.delete(l)}}const $n=e=>e,Kn=e=>"",Vn="text",Yn=e=>e.length===0?"":Se(e),Gn=Mt;function He(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Xn(e){const t=K(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(K(e.named.count)||K(e.named.n))?K(e.named.count)?e.named.count:K(e.named.n)?e.named.n:t:t}function Hn(e,t){t.count||(t.count=e),t.n||(t.n=e)}function jn(e={}){const t=e.locale,n=Xn(e),s=R(e.pluralRules)&&I(t)&&F(e.pluralRules[t])?e.pluralRules[t]:He,c=R(e.pluralRules)&&I(t)&&F(e.pluralRules[t])?He:void 0,l=i=>i[s(n,i.length,c)],m=e.list||[],_=i=>m[i],d=e.named||W();K(e.pluralIndex)&&Hn(n,d);const L=i=>d[i];function O(i,f){const E=F(e.messages)?e.messages(i,!!f):R(e.messages)?e.messages[i]:!1;return E||(e.parent?e.parent.message(i):Kn)}const C=i=>e.modifiers?e.modifiers[i]:$n,N=k(e.processor)&&F(e.processor.normalize)?e.processor.normalize:Yn,b=k(e.processor)&&F(e.processor.interpolate)?e.processor.interpolate:Gn,y=k(e.processor)&&I(e.processor.type)?e.processor.type:Vn,g={list:_,named:L,plural:l,linked:(i,...f)=>{const[E,o]=f;let h="text",p="";f.length===1?R(E)?(p=E.modifier||p,h=E.type||h):I(E)&&(p=E||p):f.length===2&&(I(E)&&(p=E||p),I(o)&&(h=o||h));const A=O(i,!0)(g),D=h==="vnode"&&H(A)&&p?A[0]:A;return p?C(p)(D,h):D},message:O,type:y,interpolate:b,normalize:N,values:Z(W(),m,d)};return g}const je=()=>"",X=e=>F(e);function Nr(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:c,messageCompiler:l,fallbackLocale:m,messages:_}=e,[d,L]=Jn(...t),O=V(L.missingWarn)?L.missingWarn:e.missingWarn,C=V(L.fallbackWarn)?L.fallbackWarn:e.fallbackWarn,N=V(L.escapeParameter)?L.escapeParameter:e.escapeParameter,b=!!L.resolvedMessage,y=I(L.default)||V(L.default)?V(L.default)?l?d:()=>d:L.default:n?l?d:()=>d:null,S=n||y!=null&&(I(y)||F(y)),g=be(e,L);N&&Bn(L);let[i,f,E]=b?[d,g,_[g]||W()]:it(e,d,g,m,C,O),o=i,h=d;if(!b&&!(I(o)||se(o)||X(o))&&S&&(o=y,h=o),!b&&(!(I(o)||se(o)||X(o))||!I(f)))return c?ye:d;let p=!1;const A=()=>{p=!0},D=X(o)?o:ct(e,d,f,o,h,A);if(p)return o;const M=qn(e,f,E,L),Y=jn(M),B=xn(e,D,Y),U=s?s(B,d):B;if(__INTLIFY_PROD_DEVTOOLS__){const ie={timestamp:Date.now(),key:I(d)?d:X(o)?o.key:"",locale:f||(X(o)?o.locale:""),format:I(o)?o:X(o)?o.source:"",message:U};ie.meta=Z({},e.__meta,Rn()||{}),pn(ie)}return U}function Bn(e){H(e.list)?e.list=e.list.map(t=>I(t)?we(t):t):R(e.named)&&Object.keys(e.named).forEach(t=>{I(e.named[t])&&(e.named[t]=we(e.named[t]))})}function it(e,t,n,s,c,l){const{messages:m,onWarn:_,messageResolver:d,localeFallbacker:L}=e,O=L(e,s,n);let C=W(),N,b=null;const y="translate";for(let S=0;S<O.length&&(N=O[S],C=m[N]||W(),(b=d(C,t))===null&&(b=C[t]),!(I(b)||se(b)||X(b)));S++)if(!vn(N,O)){const g=Pe(e,t,N,l,y);g!==t&&(b=g)}return[b,N,C]}function ct(e,t,n,s,c,l){const{messageCompiler:m,warnHtmlMessage:_}=e;if(X(s)){const L=s;return L.locale=L.locale||n,L.key=L.key||t,L}if(m==null){const L=()=>s;return L.locale=n,L.key=t,L}const d=m(s,Qn(e,n,c,s,_,l));return d.locale=n,d.key=t,d.source=s,d}function xn(e,t,n){return t(n)}function Jn(...e){const[t,n,s]=e,c=W();if(!I(t)&&!K(t)&&!X(t)&&!se(t))throw Q(J.INVALID_ARGUMENT);const l=K(t)?String(t):(X(t),t);return K(n)?c.plural=n:I(n)?c.default=n:k(n)&&!ge(n)?c.named=n:H(n)&&(c.list=n),K(s)?c.plural=s:I(s)?c.default=s:k(s)&&Z(c,s),[l,c]}function Qn(e,t,n,s,c,l){return{locale:t,key:n,warnHtmlMessage:c,onError:m=>{throw l&&l(m),m},onCacheKey:m=>bt(t,n,m)}}function qn(e,t,n,s){const{modifiers:c,pluralRules:l,messageResolver:m,fallbackLocale:_,fallbackWarn:d,missingWarn:L,fallbackContext:O}=e,N={locale:t,modifiers:c,pluralRules:l,messages:(b,y)=>{let S=m(n,b);if(S==null&&(O||y)){const[,,g]=it(O||e,b,t,_,d,L);S=m(g,b)}if(I(S)||se(S)){let g=!1;const f=ct(e,b,t,S,b,()=>{g=!0});return g?je:f}else return X(S)?S:je}};return e.processor&&(N.processor=e.processor),s.list&&(N.list=s.list),s.named&&(N.named=s.named),K(s.plural)&&(N.pluralIndex=s.plural),N}an();export{mn as A,Fn as B,rr as C,Te as D,Er as E,Wn as F,hr as G,X as H,Un as I,ge as J,wn as K,ir as L,lr as M,ye as N,cr as O,or as P,ve as Q,nr as R,tr as S,ar as T,k as a,I as b,Ie as c,H as d,Re as e,F as f,Zn as g,Z as h,V as i,W as j,er as k,te as l,zn as m,mr as n,R as o,Lr as p,pr as q,K as r,se as s,ur as t,_r as u,dr as v,sr as w,fr as x,Jn as y,Nr as z};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{e as le,r as H,a as se,s as b1,b as ue,i as de,c as ce,d as fe,f as O,g as r1,h as q,m as d1,j as I,k as w1,E as pe,l as me,n as N,o as Ce,p as K1,u as ve,q as q1,t as ge,v as F,w as E,x as S1,y as G1,z as z1,A as he,B as ye}from"./@primeuix.bRNqZjQz.0.0.
|
|
1
|
+
import{e as le,r as H,a as se,s as b1,b as ue,i as de,c as ce,d as fe,f as O,g as r1,h as q,m as d1,j as I,k as w1,E as pe,l as me,n as N,o as Ce,p as K1,u as ve,q as q1,t as ge,v as F,w as E,x as S1,y as G1,z as z1,A as he,B as ye}from"./@primeuix.bRNqZjQz.0.0.68.js";import{r as a1,a as $e,g as _1,o as be,n as we,w as W,i as Se,b as _e,m as g,u as Le,c as h,d as y,e as v}from"./@vue.BxBKarQv.0.0.68.js";var j={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"},nn={AND:"and",OR:"or"};function L1(n,e){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(!t){if(Array.isArray(n)||(t=Te(n))||e){t&&(n=t);var r=0,o=function(){};return{s:o,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(s){throw s},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,u=!0,l=!1;return{s:function(){t=t.call(n)},n:function(){var s=t.next();return u=s.done,s},e:function(s){l=!0,i=s},f:function(){try{u||t.return==null||t.return()}finally{if(l)throw i}}}}function Te(n,e){if(n){if(typeof n=="string")return T1(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?T1(n,e):void 0}}function T1(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}var rn={filter:function(e,t,r,o,i){var u=[];if(!e)return u;var l=L1(e),a;try{for(l.s();!(a=l.n()).done;){var s=a.value;if(typeof s=="string"){if(this.filters[o](s,r,i)){u.push(s);continue}}else{var c=L1(t),d;try{for(c.s();!(d=c.n()).done;){var f=d.value,m=se(s,f);if(this.filters[o](m,r,i)){u.push(s);break}}}catch(C){c.e(C)}finally{c.f()}}}}catch(C){l.e(C)}finally{l.f()}return u},filters:{startsWith:function(e,t,r){if(t==null||t==="")return!0;if(e==null)return!1;var o=H(t.toString()).toLocaleLowerCase(r),i=H(e.toString()).toLocaleLowerCase(r);return i.slice(0,o.length)===o},contains:function(e,t,r){if(t==null||t==="")return!0;if(e==null)return!1;var o=H(t.toString()).toLocaleLowerCase(r),i=H(e.toString()).toLocaleLowerCase(r);return i.indexOf(o)!==-1},notContains:function(e,t,r){if(t==null||t==="")return!0;if(e==null)return!1;var o=H(t.toString()).toLocaleLowerCase(r),i=H(e.toString()).toLocaleLowerCase(r);return i.indexOf(o)===-1},endsWith:function(e,t,r){if(t==null||t==="")return!0;if(e==null)return!1;var o=H(t.toString()).toLocaleLowerCase(r),i=H(e.toString()).toLocaleLowerCase(r);return i.indexOf(o,i.length-o.length)!==-1},equals:function(e,t,r){return t==null||t===""?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()===t.getTime():H(e.toString()).toLocaleLowerCase(r)==H(t.toString()).toLocaleLowerCase(r)},notEquals:function(e,t,r){return t==null||t===""?!1:e==null?!0:e.getTime&&t.getTime?e.getTime()!==t.getTime():H(e.toString()).toLocaleLowerCase(r)!=H(t.toString()).toLocaleLowerCase(r)},in:function(e,t){if(t==null||t.length===0)return!0;for(var r=0;r<t.length;r++)if(le(e,t[r]))return!0;return!1},between:function(e,t){return t==null||t[0]==null||t[1]==null?!0:e==null?!1:e.getTime?t[0].getTime()<=e.getTime()&&e.getTime()<=t[1].getTime():t[0]<=e&&e<=t[1]},lt:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()<t.getTime():e<t},lte:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()<=t.getTime():e<=t},gt:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()>t.getTime():e>t},gte:function(e,t){return t==null?!0:e==null?!1:e.getTime&&t.getTime?e.getTime()>=t.getTime():e>=t},dateIs:function(e,t){return t==null?!0:e==null?!1:e.toDateString()===t.toDateString()},dateIsNot:function(e,t){return t==null?!0:e==null?!1:e.toDateString()!==t.toDateString()},dateBefore:function(e,t){return t==null?!0:e==null?!1:e.getTime()<t.getTime()},dateAfter:function(e,t){return t==null?!0:e==null?!1:e.getTime()>t.getTime()}},register:function(e,t){this.filters[e]=t}};function G(n){"@babel/helpers - typeof";return G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},G(n)}function P1(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function O1(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?P1(Object(t),!0).forEach(function(r){Pe(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):P1(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function Pe(n,e,t){return(e=Oe(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Oe(n){var e=xe(n,"string");return G(e)=="symbol"?e:e+""}function xe(n,e){if(G(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(G(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function Ve(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;_1()&&_1().components?be(n):e?n():we(n)}var Me=0;function je(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=a1(!1),r=a1(n),o=a1(null),i=ce()?window.document:void 0,u=e.document,l=u===void 0?i:u,a=e.immediate,s=a===void 0?!0:a,c=e.manual,d=c===void 0?!1:c,f=e.name,m=f===void 0?"style_".concat(++Me):f,C=e.id,T=C===void 0?void 0:C,_=e.media,P=_===void 0?void 0:_,M=e.nonce,V=M===void 0?void 0:M,p=e.first,L=p===void 0?!1:p,A=e.onMounted,Z=A===void 0?void 0:A,m1=e.onUpdated,l1=m1===void 0?void 0:m1,C1=e.onLoad,s1=C1===void 0?void 0:C1,v1=e.props,ne=v1===void 0?{}:v1,g1=function(){},h1=function(oe){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(l){var n1=O1(O1({},ne),ie),R=n1.name||m,$1=n1.id||T,ae=n1.nonce||V;o.value=l.querySelector('style[data-primevue-style-id="'.concat(R,'"]'))||l.getElementById($1)||l.createElement("style"),o.value.isConnected||(r.value=oe||n,b1(o.value,{type:"text/css",id:$1,media:P,nonce:ae}),L?l.head.prepend(o.value):l.head.appendChild(o.value),ue(o.value,"data-primevue-style-id",R),b1(o.value,n1),o.value.onload=function(u1){return s1==null?void 0:s1(u1,{name:R})},Z==null||Z(R)),!t.value&&(g1=W(r,function(u1){o.value.textContent=u1,l1==null||l1(R)},{immediate:!0}),t.value=!0)}},re=function(){!l||!t.value||(g1(),de(o.value)&&l.head.removeChild(o.value),t.value=!1,o.value=null)};return s&&!d&&Ve(h1),{id:T,name:m,el:o,css:r,unload:re,load:h1,isLoaded:$e(t)}}function z(n){"@babel/helpers - typeof";return z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(n)}var x1,V1,M1,j1;function A1(n,e){return Ie(n)||Ne(n,e)||He(n,e)||Ae()}function Ae(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function He(n,e){if(n){if(typeof n=="string")return H1(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?H1(n,e):void 0}}function H1(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}function Ne(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var r,o,i,u,l=[],a=!0,s=!1;try{if(i=(t=t.call(n)).next,e!==0)for(;!(a=(r=i.call(t)).done)&&(l.push(r.value),l.length!==e);a=!0);}catch(c){s=!0,o=c}finally{try{if(!a&&t.return!=null&&(u=t.return(),Object(u)!==u))return}finally{if(s)throw o}}return l}}function Ie(n){if(Array.isArray(n))return n}function N1(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),t.push.apply(t,r)}return t}function c1(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?N1(Object(t),!0).forEach(function(r){Ee(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):N1(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function Ee(n,e,t){return(e=ke(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function ke(n){var e=De(n,"string");return z(e)=="symbol"?e:e+""}function De(n,e){if(z(n)!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(z(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function o1(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}var Ze=function(e){var t=e.dt;return`
|
|
4
4
|
.p-hidden-accessible {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var be=s=>{throw TypeError(s)};var Yt=(s,t,e)=>t.has(s)||be("Cannot "+e);var r=(s,t,e)=>(Yt(s,t,"read from private field"),e?e.call(s):t.get(s)),l=(s,t,e)=>t.has(s)?be("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),o=(s,t,e,i)=>(Yt(s,t,"write to private field"),i?i.call(s,e):t.set(s,e),e),m=(s,t,e)=>(Yt(s,t,"access private method"),e);var $t=(s,t,e,i)=>({set _(n){o(s,t,n,e)},get _(){return r(s,t,i)}});import{f as xe,h as ns,j as as,i as us,r as os,n as hs,k as Ke,s as ke,b as Le,w as wt,l as He,p as _e,a as Ge,t as Ne}from"./@vue.BxBKarQv.0.0.66.js";var jt=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},gt=typeof window>"u"||"Deno"in globalThis;function L(){}function cs(s,t){return typeof s=="function"?s(t):s}function Xt(s){return typeof s=="number"&&s>=0&&s!==1/0}function $e(s,t){return Math.max(s+(t||0)-Date.now(),0)}function ht(s,t){return typeof s=="function"?s(t):s}function N(s,t){return typeof s=="function"?s(t):s}function ge(s,t){const{type:e="all",exact:i,fetchStatus:n,predicate:a,queryKey:h,stale:u}=s;if(h){if(i){if(t.queryHash!==ye(h,t.options))return!1}else if(!kt(t.queryKey,h))return!1}if(e!=="all"){const p=t.isActive();if(e==="active"&&!p||e==="inactive"&&p)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||n&&n!==t.state.fetchStatus||a&&!a(t))}function Oe(s,t){const{exact:e,status:i,predicate:n,mutationKey:a}=s;if(a){if(!t.options.mutationKey)return!1;if(e){if(Ot(t.options.mutationKey)!==Ot(a))return!1}else if(!kt(t.options.mutationKey,a))return!1}return!(i&&t.state.status!==i||n&&!n(t))}function ye(s,t){return((t==null?void 0:t.queryKeyHashFn)||Ot)(s)}function Ot(s){return JSON.stringify(s,(t,e)=>Zt(e)?Object.keys(e).sort().reduce((i,n)=>(i[n]=e[n],i),{}):e)}function kt(s,t){return s===t?!0:typeof s!=typeof t?!1:s&&t&&typeof s=="object"&&typeof t=="object"?Object.keys(t).every(e=>kt(s[e],t[e])):!1}function Be(s,t){if(s===t)return s;const e=Ce(s)&&Ce(t);if(e||Zt(s)&&Zt(t)){const i=e?s:Object.keys(s),n=i.length,a=e?t:Object.keys(t),h=a.length,u=e?[]:{},p=new Set(i);let Q=0;for(let g=0;g<h;g++){const f=e?g:a[g];(!e&&p.has(f)||e)&&s[f]===void 0&&t[f]===void 0?(u[f]=void 0,Q++):(u[f]=Be(s[f],t[f]),u[f]===s[f]&&s[f]!==void 0&&Q++)}return n===h&&Q===n?s:u}return t}function zt(s,t){if(!t||Object.keys(s).length!==Object.keys(t).length)return!1;for(const e in s)if(s[e]!==t[e])return!1;return!0}function Ce(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function Zt(s){if(!we(s))return!1;const t=s.constructor;if(t===void 0)return!0;const e=t.prototype;return!(!we(e)||!e.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function we(s){return Object.prototype.toString.call(s)==="[object Object]"}function ls(s){return new Promise(t=>{setTimeout(t,s)})}function te(s,t,e){return typeof e.structuralSharing=="function"?e.structuralSharing(s,t):e.structuralSharing!==!1?Be(s,t):t}function fs(s,t,e=0){const i=[...s,t];return e&&i.length>e?i.slice(1):i}function ds(s,t,e=0){const i=[t,...s];return e&&i.length>e?i.slice(0,-1):i}var pe=Symbol();function Ve(s,t){return!s.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!s.queryFn||s.queryFn===pe?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}function ee(s,t){return typeof s=="function"?s(...t):!!s}var lt,Z,Qt,Fe,ys=(Fe=class extends jt{constructor(){super();l(this,lt);l(this,Z);l(this,Qt);o(this,Qt,t=>{if(!gt&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){r(this,Z)||this.setEventListener(r(this,Qt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,Z))==null||t.call(this),o(this,Z,void 0))}setEventListener(t){var e;o(this,Qt,t),(e=r(this,Z))==null||e.call(this),o(this,Z,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){r(this,lt)!==t&&(o(this,lt,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return typeof r(this,lt)=="boolean"?r(this,lt):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},lt=new WeakMap,Z=new WeakMap,Qt=new WeakMap,Fe),me=new ys,St,tt,Rt,De,ps=(De=class extends jt{constructor(){super();l(this,St,!0);l(this,tt);l(this,Rt);o(this,Rt,t=>{if(!gt&&window.addEventListener){const e=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",i)}}})}onSubscribe(){r(this,tt)||this.setEventListener(r(this,Rt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,tt))==null||t.call(this),o(this,tt,void 0))}setEventListener(t){var e;o(this,Rt,t),(e=r(this,tt))==null||e.call(this),o(this,tt,t(this.setOnline.bind(this)))}setOnline(t){r(this,St)!==t&&(o(this,St,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return r(this,St)}},St=new WeakMap,tt=new WeakMap,Rt=new WeakMap,De),Wt=new ps;function se(){let s,t;const e=new Promise((n,a)=>{s=n,t=a});e.status="pending",e.catch(()=>{});function i(n){Object.assign(e,n),delete e.resolve,delete e.reject}return e.resolve=n=>{i({status:"fulfilled",value:n}),s(n)},e.reject=n=>{i({status:"rejected",reason:n}),t(n)},e}function ms(s){return Math.min(1e3*2**s,3e4)}function ze(s){return(s??"online")==="online"?Wt.isOnline():!0}var We=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function Jt(s){return s instanceof We}function Ye(s){let t=!1,e=0,i=!1,n;const a=se(),h=d=>{var b;i||(y(new We(d)),(b=s.abort)==null||b.call(s))},u=()=>{t=!0},p=()=>{t=!1},Q=()=>me.isFocused()&&(s.networkMode==="always"||Wt.isOnline())&&s.canRun(),g=()=>ze(s.networkMode)&&s.canRun(),f=d=>{var b;i||(i=!0,(b=s.onSuccess)==null||b.call(s,d),n==null||n(),a.resolve(d))},y=d=>{var b;i||(i=!0,(b=s.onError)==null||b.call(s,d),n==null||n(),a.reject(d))},c=()=>new Promise(d=>{var b;n=S=>{(i||Q())&&d(S)},(b=s.onPause)==null||b.call(s)}).then(()=>{var d;n=void 0,i||(d=s.onContinue)==null||d.call(s)}),w=()=>{if(i)return;let d;const b=e===0?s.initialPromise:void 0;try{d=b??s.fn()}catch(S){d=Promise.reject(S)}Promise.resolve(d).then(f).catch(S=>{var H;if(i)return;const M=s.retry??(gt?0:3),R=s.retryDelay??ms,E=typeof R=="function"?R(e,S):R,K=M===!0||typeof M=="number"&&e<M||typeof M=="function"&&M(e,S);if(t||!K){y(S);return}e++,(H=s.onFail)==null||H.call(s,e,S),ls(E).then(()=>Q()?void 0:c()).then(()=>{t?y(S):w()})})};return{promise:a,cancel:h,continue:()=>(n==null||n(),a),cancelRetry:u,continueRetry:p,canStart:g,start:()=>(g()?w():c().then(w),a)}}var vs=s=>setTimeout(s,0);function bs(){let s=[],t=0,e=u=>{u()},i=u=>{u()},n=vs;const a=u=>{t?s.push(u):n(()=>{e(u)})},h=()=>{const u=s;s=[],u.length&&n(()=>{i(()=>{u.forEach(p=>{e(p)})})})};return{batch:u=>{let p;t++;try{p=u()}finally{t--,t||h()}return p},batchCalls:u=>(...p)=>{a(()=>{u(...p)})},schedule:a,setNotifyFunction:u=>{e=u},setBatchNotifyFunction:u=>{i=u},setScheduler:u=>{n=u}}}var A=bs(),ft,Me,Je=(Me=class{constructor(){l(this,ft)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Xt(this.gcTime)&&o(this,ft,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(gt?1/0:5*60*1e3))}clearGcTimeout(){r(this,ft)&&(clearTimeout(r(this,ft)),o(this,ft,void 0))}},ft=new WeakMap,Me),Pt,Ft,k,dt,U,Lt,yt,_,z,Ee,gs=(Ee=class extends Je{constructor(t){super();l(this,_);l(this,Pt);l(this,Ft);l(this,k);l(this,dt);l(this,U);l(this,Lt);l(this,yt);o(this,yt,!1),o(this,Lt,t.defaultOptions),this.setOptions(t.options),this.observers=[],o(this,dt,t.client),o(this,k,r(this,dt).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,o(this,Pt,Os(this.options)),this.state=t.state??r(this,Pt),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=r(this,U))==null?void 0:t.promise}setOptions(t){this.options={...r(this,Lt),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&r(this,k).remove(this)}setData(t,e){const i=te(this.state.data,t,this.options);return m(this,_,z).call(this,{data:i,type:"success",dataUpdatedAt:e==null?void 0:e.updatedAt,manual:e==null?void 0:e.manual}),i}setState(t,e){m(this,_,z).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var i,n;const e=(i=r(this,U))==null?void 0:i.promise;return(n=r(this,U))==null||n.cancel(t),e?e.then(L).catch(L):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(r(this,Pt))}isActive(){return this.observers.some(t=>N(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===pe||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>ht(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!$e(this.state.dataUpdatedAt,t)}onFocus(){var e;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,U))==null||e.continue()}onOnline(){var e;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,U))==null||e.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),r(this,k).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(r(this,U)&&(r(this,yt)?r(this,U).cancel({revert:!0}):r(this,U).cancelRetry()),this.scheduleGc()),r(this,k).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||m(this,_,z).call(this,{type:"invalidate"})}fetch(t,e){var Q,g,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(e!=null&&e.cancelRefetch))this.cancel({silent:!0});else if(r(this,U))return r(this,U).continueRetry(),r(this,U).promise}if(t&&this.setOptions(t),!this.options.queryFn){const y=this.observers.find(c=>c.options.queryFn);y&&this.setOptions(y.options)}const i=new AbortController,n=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(o(this,yt,!0),i.signal)})},a=()=>{const y=Ve(this.options,e),w=(()=>{const d={client:r(this,dt),queryKey:this.queryKey,meta:this.meta};return n(d),d})();return o(this,yt,!1),this.options.persister?this.options.persister(y,w,this):y(w)},u=(()=>{const y={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:r(this,dt),state:this.state,fetchFn:a};return n(y),y})();(Q=this.options.behavior)==null||Q.onFetch(u,this),o(this,Ft,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((g=u.fetchOptions)==null?void 0:g.meta))&&m(this,_,z).call(this,{type:"fetch",meta:(f=u.fetchOptions)==null?void 0:f.meta});const p=y=>{var c,w,d,b;Jt(y)&&y.silent||m(this,_,z).call(this,{type:"error",error:y}),Jt(y)||((w=(c=r(this,k).config).onError)==null||w.call(c,y,this),(b=(d=r(this,k).config).onSettled)==null||b.call(d,this.state.data,y,this)),this.scheduleGc()};return o(this,U,Ye({initialPromise:e==null?void 0:e.initialPromise,fn:u.fetchFn,abort:i.abort.bind(i),onSuccess:y=>{var c,w,d,b;if(y===void 0){p(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(y)}catch(S){p(S);return}(w=(c=r(this,k).config).onSuccess)==null||w.call(c,y,this),(b=(d=r(this,k).config).onSettled)==null||b.call(d,y,this.state.error,this),this.scheduleGc()},onError:p,onFail:(y,c)=>{m(this,_,z).call(this,{type:"failed",failureCount:y,error:c})},onPause:()=>{m(this,_,z).call(this,{type:"pause"})},onContinue:()=>{m(this,_,z).call(this,{type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0})),r(this,U).start()}},Pt=new WeakMap,Ft=new WeakMap,k=new WeakMap,dt=new WeakMap,U=new WeakMap,Lt=new WeakMap,yt=new WeakMap,_=new WeakSet,z=function(t){const e=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...Xe(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=t.error;return Jt(n)&&n.revert&&r(this,Ft)?{...r(this,Ft),fetchStatus:"idle"}:{...i,error:n,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=e(this.state),A.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),r(this,k).notify({query:this,type:"updated",action:t})})},Ee);function Xe(s,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ze(t.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function Os(s){const t=typeof s.initialData=="function"?s.initialData():s.initialData,e=t!==void 0,i=e?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:e?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:e?"success":"pending",fetchStatus:"idle"}}var $,Ae,Ze=(Ae=class extends jt{constructor(e={}){super();l(this,$);this.config=e,o(this,$,new Map)}build(e,i,n){const a=i.queryKey,h=i.queryHash??ye(a,i);let u=this.get(h);return u||(u=new gs({client:e,queryKey:a,queryHash:h,options:e.defaultQueryOptions(i),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(u)),u}add(e){r(this,$).has(e.queryHash)||(r(this,$).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=r(this,$).get(e.queryHash);i&&(e.destroy(),i===e&&r(this,$).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){A.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return r(this,$).get(e)}getAll(){return[...r(this,$).values()]}find(e){const i={exact:!0,...e};return this.getAll().find(n=>ge(i,n))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(n=>ge(e,n)):i}notify(e){A.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){A.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){A.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},$=new WeakMap,Ae),B,q,pt,V,X,Ue,Cs=(Ue=class extends Je{constructor(t){super();l(this,V);l(this,B);l(this,q);l(this,pt);this.mutationId=t.mutationId,o(this,q,t.mutationCache),o(this,B,[]),this.state=t.state||ts(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){r(this,B).includes(t)||(r(this,B).push(t),this.clearGcTimeout(),r(this,q).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){o(this,B,r(this,B).filter(e=>e!==t)),this.scheduleGc(),r(this,q).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){r(this,B).length||(this.state.status==="pending"?this.scheduleGc():r(this,q).remove(this))}continue(){var t;return((t=r(this,pt))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var a,h,u,p,Q,g,f,y,c,w,d,b,S,M,R,E,K,H,xt,I;const e=()=>{m(this,V,X).call(this,{type:"continue"})};o(this,pt,Ye({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(F,D)=>{m(this,V,X).call(this,{type:"failed",failureCount:F,error:D})},onPause:()=>{m(this,V,X).call(this,{type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>r(this,q).canRun(this)}));const i=this.state.status==="pending",n=!r(this,pt).canStart();try{if(i)e();else{m(this,V,X).call(this,{type:"pending",variables:t,isPaused:n}),await((h=(a=r(this,q).config).onMutate)==null?void 0:h.call(a,t,this));const D=await((p=(u=this.options).onMutate)==null?void 0:p.call(u,t));D!==this.state.context&&m(this,V,X).call(this,{type:"pending",context:D,variables:t,isPaused:n})}const F=await r(this,pt).start();return await((g=(Q=r(this,q).config).onSuccess)==null?void 0:g.call(Q,F,t,this.state.context,this)),await((y=(f=this.options).onSuccess)==null?void 0:y.call(f,F,t,this.state.context)),await((w=(c=r(this,q).config).onSettled)==null?void 0:w.call(c,F,null,this.state.variables,this.state.context,this)),await((b=(d=this.options).onSettled)==null?void 0:b.call(d,F,null,t,this.state.context)),m(this,V,X).call(this,{type:"success",data:F}),F}catch(F){try{throw await((M=(S=r(this,q).config).onError)==null?void 0:M.call(S,F,t,this.state.context,this)),await((E=(R=this.options).onError)==null?void 0:E.call(R,F,t,this.state.context)),await((H=(K=r(this,q).config).onSettled)==null?void 0:H.call(K,void 0,F,this.state.variables,this.state.context,this)),await((I=(xt=this.options).onSettled)==null?void 0:I.call(xt,void 0,F,t,this.state.context)),F}finally{m(this,V,X).call(this,{type:"error",error:F})}}finally{r(this,q).runNext(this)}}},B=new WeakMap,q=new WeakMap,pt=new WeakMap,V=new WeakSet,X=function(t){const e=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),A.batch(()=>{r(this,B).forEach(i=>{i.onMutationUpdate(t)}),r(this,q).notify({mutation:this,type:"updated",action:t})})},Ue);function ts(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var W,G,Ht,Ie,es=(Ie=class extends jt{constructor(e={}){super();l(this,W);l(this,G);l(this,Ht);this.config=e,o(this,W,new Set),o(this,G,new Map),o(this,Ht,0)}build(e,i,n){const a=new Cs({mutationCache:this,mutationId:++$t(this,Ht)._,options:e.defaultMutationOptions(i),state:n});return this.add(a),a}add(e){r(this,W).add(e);const i=Bt(e);if(typeof i=="string"){const n=r(this,G).get(i);n?n.push(e):r(this,G).set(i,[e])}this.notify({type:"added",mutation:e})}remove(e){if(r(this,W).delete(e)){const i=Bt(e);if(typeof i=="string"){const n=r(this,G).get(i);if(n)if(n.length>1){const a=n.indexOf(e);a!==-1&&n.splice(a,1)}else n[0]===e&&r(this,G).delete(i)}}this.notify({type:"removed",mutation:e})}canRun(e){const i=Bt(e);if(typeof i=="string"){const n=r(this,G).get(i),a=n==null?void 0:n.find(h=>h.state.status==="pending");return!a||a===e}else return!0}runNext(e){var n;const i=Bt(e);if(typeof i=="string"){const a=(n=r(this,G).get(i))==null?void 0:n.find(h=>h!==e&&h.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){A.batch(()=>{r(this,W).forEach(e=>{this.notify({type:"removed",mutation:e})}),r(this,W).clear(),r(this,G).clear()})}getAll(){return Array.from(r(this,W))}find(e){const i={exact:!0,...e};return this.getAll().find(n=>Oe(i,n))}findAll(e={}){return this.getAll().filter(i=>Oe(e,i))}notify(e){A.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return A.batch(()=>Promise.all(e.map(i=>i.continue().catch(L))))}},W=new WeakMap,G=new WeakMap,Ht=new WeakMap,Ie);function Bt(s){var t;return(t=s.options.scope)==null?void 0:t.id}function Qe(s){return{onFetch:(t,e)=>{var g,f,y,c,w;const i=t.options,n=(y=(f=(g=t.fetchOptions)==null?void 0:g.meta)==null?void 0:f.fetchMore)==null?void 0:y.direction,a=((c=t.state.data)==null?void 0:c.pages)||[],h=((w=t.state.data)==null?void 0:w.pageParams)||[];let u={pages:[],pageParams:[]},p=0;const Q=async()=>{let d=!1;const b=R=>{Object.defineProperty(R,"signal",{enumerable:!0,get:()=>(t.signal.aborted?d=!0:t.signal.addEventListener("abort",()=>{d=!0}),t.signal)})},S=Ve(t.options,t.fetchOptions),M=async(R,E,K)=>{if(d)return Promise.reject();if(E==null&&R.pages.length)return Promise.resolve(R);const xt=(()=>{const ct={client:t.client,queryKey:t.queryKey,pageParam:E,direction:K?"backward":"forward",meta:t.options.meta};return b(ct),ct})(),I=await S(xt),{maxPages:F}=t.options,D=K?ds:fs;return{pages:D(R.pages,I,F),pageParams:D(R.pageParams,E,F)}};if(n&&a.length){const R=n==="backward",E=R?ws:Se,K={pages:a,pageParams:h},H=E(i,K);u=await M(K,H,R)}else{const R=s??a.length;do{const E=p===0?h[0]??i.initialPageParam:Se(i,u);if(p>0&&E==null)break;u=await M(u,E),p++}while(p<R)}return u};t.options.persister?t.fetchFn=()=>{var d,b;return(b=(d=t.options).persister)==null?void 0:b.call(d,Q,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=Q}}}function Se(s,{pages:t,pageParams:e}){const i=t.length-1;return t.length>0?s.getNextPageParam(t[i],t,e[i],e):void 0}function ws(s,{pages:t,pageParams:e}){var i;return t.length>0?(i=s.getPreviousPageParam)==null?void 0:i.call(s,t[0],t,e[0],e):void 0}var P,et,st,Dt,Mt,it,Et,At,qe,Qs=(qe=class{constructor(t={}){l(this,P);l(this,et);l(this,st);l(this,Dt);l(this,Mt);l(this,it);l(this,Et);l(this,At);o(this,P,t.queryCache||new Ze),o(this,et,t.mutationCache||new es),o(this,st,t.defaultOptions||{}),o(this,Dt,new Map),o(this,Mt,new Map),o(this,it,0)}mount(){$t(this,it)._++,r(this,it)===1&&(o(this,Et,me.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,P).onFocus())})),o(this,At,Wt.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,P).onOnline())})))}unmount(){var t,e;$t(this,it)._--,r(this,it)===0&&((t=r(this,Et))==null||t.call(this),o(this,Et,void 0),(e=r(this,At))==null||e.call(this),o(this,At,void 0))}isFetching(t){return r(this,P).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return r(this,et).findAll({...t,status:"pending"}).length}getQueryData(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,P).get(e.queryHash))==null?void 0:i.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),i=r(this,P).build(this,e),n=i.state.data;return n===void 0?this.fetchQuery(t):(t.revalidateIfStale&&i.isStaleByTime(ht(e.staleTime,i))&&this.prefetchQuery(e),Promise.resolve(n))}getQueriesData(t){return r(this,P).findAll(t).map(({queryKey:e,state:i})=>{const n=i.data;return[e,n]})}setQueryData(t,e,i){const n=this.defaultQueryOptions({queryKey:t}),a=r(this,P).get(n.queryHash),h=a==null?void 0:a.state.data,u=cs(e,h);if(u!==void 0)return r(this,P).build(this,n).setData(u,{...i,manual:!0})}setQueriesData(t,e,i){return A.batch(()=>r(this,P).findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,i)]))}getQueryState(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,P).get(e.queryHash))==null?void 0:i.state}removeQueries(t){const e=r(this,P);A.batch(()=>{e.findAll(t).forEach(i=>{e.remove(i)})})}resetQueries(t,e){const i=r(this,P);return A.batch(()=>(i.findAll(t).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const i={revert:!0,...e},n=A.batch(()=>r(this,P).findAll(t).map(a=>a.cancel(i)));return Promise.all(n).then(L).catch(L)}invalidateQueries(t,e={}){return A.batch(()=>(r(this,P).findAll(t).forEach(i=>{i.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},e)))}refetchQueries(t,e={}){const i={...e,cancelRefetch:e.cancelRefetch??!0},n=A.batch(()=>r(this,P).findAll(t).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let h=a.fetch(void 0,i);return i.throwOnError||(h=h.catch(L)),a.state.fetchStatus==="paused"?Promise.resolve():h}));return Promise.all(n).then(L)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const i=r(this,P).build(this,e);return i.isStaleByTime(ht(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(L).catch(L)}fetchInfiniteQuery(t){return t.behavior=Qe(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(L).catch(L)}ensureInfiniteQueryData(t){return t.behavior=Qe(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Wt.isOnline()?r(this,et).resumePausedMutations():Promise.resolve()}getQueryCache(){return r(this,P)}getMutationCache(){return r(this,et)}getDefaultOptions(){return r(this,st)}setDefaultOptions(t){o(this,st,t)}setQueryDefaults(t,e){r(this,Dt).set(Ot(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...r(this,Dt).values()],i={};return e.forEach(n=>{kt(t,n.queryKey)&&Object.assign(i,n.defaultOptions)}),i}setMutationDefaults(t,e){r(this,Mt).set(Ot(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...r(this,Mt).values()],i={};return e.forEach(n=>{kt(t,n.mutationKey)&&Object.assign(i,n.defaultOptions)}),i}defaultQueryOptions(t){if(t._defaulted)return t;const e={...r(this,st).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=ye(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===pe&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...r(this,st).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){r(this,P).clear(),r(this,et).clear()}},P=new WeakMap,et=new WeakMap,st=new WeakMap,Dt=new WeakMap,Mt=new WeakMap,it=new WeakMap,Et=new WeakMap,At=new WeakMap,qe),j,O,_t,T,mt,Ut,rt,nt,Gt,It,qt,vt,bt,at,Tt,C,Kt,ie,re,ne,ae,ue,oe,he,ss,Te,Ss=(Te=class extends jt{constructor(t,e){super();l(this,C);l(this,j);l(this,O);l(this,_t);l(this,T);l(this,mt);l(this,Ut);l(this,rt);l(this,nt);l(this,Gt);l(this,It);l(this,qt);l(this,vt);l(this,bt);l(this,at);l(this,Tt,new Set);this.options=e,o(this,j,t),o(this,nt,null),o(this,rt,se()),this.options.experimental_prefetchInRender||r(this,rt).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(r(this,O).addObserver(this),Re(r(this,O),this.options)?m(this,C,Kt).call(this):this.updateResult(),m(this,C,ae).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ce(r(this,O),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ce(r(this,O),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,m(this,C,ue).call(this),m(this,C,oe).call(this),r(this,O).removeObserver(this)}setOptions(t){const e=this.options,i=r(this,O);if(this.options=r(this,j).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof N(this.options.enabled,r(this,O))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");m(this,C,he).call(this),r(this,O).setOptions(this.options),e._defaulted&&!zt(this.options,e)&&r(this,j).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,O),observer:this});const n=this.hasListeners();n&&Pe(r(this,O),i,this.options,e)&&m(this,C,Kt).call(this),this.updateResult(),n&&(r(this,O)!==i||N(this.options.enabled,r(this,O))!==N(e.enabled,r(this,O))||ht(this.options.staleTime,r(this,O))!==ht(e.staleTime,r(this,O)))&&m(this,C,ie).call(this);const a=m(this,C,re).call(this);n&&(r(this,O)!==i||N(this.options.enabled,r(this,O))!==N(e.enabled,r(this,O))||a!==r(this,at))&&m(this,C,ne).call(this,a)}getOptimisticResult(t){const e=r(this,j).getQueryCache().build(r(this,j),t),i=this.createResult(e,t);return Ps(this,i)&&(o(this,T,i),o(this,Ut,this.options),o(this,mt,r(this,O).state)),i}getCurrentResult(){return r(this,T)}trackResult(t,e){return new Proxy(t,{get:(i,n)=>(this.trackProp(n),e==null||e(n),Reflect.get(i,n))})}trackProp(t){r(this,Tt).add(t)}getCurrentQuery(){return r(this,O)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=r(this,j).defaultQueryOptions(t),i=r(this,j).getQueryCache().build(r(this,j),e);return i.fetch().then(()=>this.createResult(i,e))}fetch(t){return m(this,C,Kt).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,T)))}createResult(t,e){var F;const i=r(this,O),n=this.options,a=r(this,T),h=r(this,mt),u=r(this,Ut),Q=t!==i?t.state:r(this,_t),{state:g}=t;let f={...g},y=!1,c;if(e._optimisticResults){const D=this.hasListeners(),ct=!D&&Re(t,e),Ct=D&&Pe(t,i,e,n);(ct||Ct)&&(f={...f,...Xe(g.data,t.options)}),e._optimisticResults==="isRestoring"&&(f.fetchStatus="idle")}let{error:w,errorUpdatedAt:d,status:b}=f;c=f.data;let S=!1;if(e.placeholderData!==void 0&&c===void 0&&b==="pending"){let D;a!=null&&a.isPlaceholderData&&e.placeholderData===(u==null?void 0:u.placeholderData)?(D=a.data,S=!0):D=typeof e.placeholderData=="function"?e.placeholderData((F=r(this,qt))==null?void 0:F.state.data,r(this,qt)):e.placeholderData,D!==void 0&&(b="success",c=te(a==null?void 0:a.data,D,e),y=!0)}if(e.select&&c!==void 0&&!S)if(a&&c===(h==null?void 0:h.data)&&e.select===r(this,Gt))c=r(this,It);else try{o(this,Gt,e.select),c=e.select(c),c=te(a==null?void 0:a.data,c,e),o(this,It,c),o(this,nt,null)}catch(D){o(this,nt,D)}r(this,nt)&&(w=r(this,nt),c=r(this,It),d=Date.now(),b="error");const M=f.fetchStatus==="fetching",R=b==="pending",E=b==="error",K=R&&M,H=c!==void 0,I={status:b,fetchStatus:f.fetchStatus,isPending:R,isSuccess:b==="success",isError:E,isInitialLoading:K,isLoading:K,data:c,dataUpdatedAt:f.dataUpdatedAt,error:w,errorUpdatedAt:d,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>Q.dataUpdateCount||f.errorUpdateCount>Q.errorUpdateCount,isFetching:M,isRefetching:M&&!R,isLoadingError:E&&!H,isPaused:f.fetchStatus==="paused",isPlaceholderData:y,isRefetchError:E&&H,isStale:ve(t,e),refetch:this.refetch,promise:r(this,rt)};if(this.options.experimental_prefetchInRender){const D=Nt=>{I.status==="error"?Nt.reject(I.error):I.data!==void 0&&Nt.resolve(I.data)},ct=()=>{const Nt=o(this,rt,I.promise=se());D(Nt)},Ct=r(this,rt);switch(Ct.status){case"pending":t.queryHash===i.queryHash&&D(Ct);break;case"fulfilled":(I.status==="error"||I.data!==Ct.value)&&ct();break;case"rejected":(I.status!=="error"||I.error!==Ct.reason)&&ct();break}}return I}updateResult(){const t=r(this,T),e=this.createResult(r(this,O),this.options);if(o(this,mt,r(this,O).state),o(this,Ut,this.options),r(this,mt).data!==void 0&&o(this,qt,r(this,O)),zt(e,t))return;o(this,T,e);const i=()=>{if(!t)return!0;const{notifyOnChangeProps:n}=this.options,a=typeof n=="function"?n():n;if(a==="all"||!a&&!r(this,Tt).size)return!0;const h=new Set(a??r(this,Tt));return this.options.throwOnError&&h.add("error"),Object.keys(r(this,T)).some(u=>{const p=u;return r(this,T)[p]!==t[p]&&h.has(p)})};m(this,C,ss).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&m(this,C,ae).call(this)}},j=new WeakMap,O=new WeakMap,_t=new WeakMap,T=new WeakMap,mt=new WeakMap,Ut=new WeakMap,rt=new WeakMap,nt=new WeakMap,Gt=new WeakMap,It=new WeakMap,qt=new WeakMap,vt=new WeakMap,bt=new WeakMap,at=new WeakMap,Tt=new WeakMap,C=new WeakSet,Kt=function(t){m(this,C,he).call(this);let e=r(this,O).fetch(this.options,t);return t!=null&&t.throwOnError||(e=e.catch(L)),e},ie=function(){m(this,C,ue).call(this);const t=ht(this.options.staleTime,r(this,O));if(gt||r(this,T).isStale||!Xt(t))return;const i=$e(r(this,T).dataUpdatedAt,t)+1;o(this,vt,setTimeout(()=>{r(this,T).isStale||this.updateResult()},i))},re=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,O)):this.options.refetchInterval)??!1},ne=function(t){m(this,C,oe).call(this),o(this,at,t),!(gt||N(this.options.enabled,r(this,O))===!1||!Xt(r(this,at))||r(this,at)===0)&&o(this,bt,setInterval(()=>{(this.options.refetchIntervalInBackground||me.isFocused())&&m(this,C,Kt).call(this)},r(this,at)))},ae=function(){m(this,C,ie).call(this),m(this,C,ne).call(this,m(this,C,re).call(this))},ue=function(){r(this,vt)&&(clearTimeout(r(this,vt)),o(this,vt,void 0))},oe=function(){r(this,bt)&&(clearInterval(r(this,bt)),o(this,bt,void 0))},he=function(){const t=r(this,j).getQueryCache().build(r(this,j),this.options);if(t===r(this,O))return;const e=r(this,O);o(this,O,t),o(this,_t,t.state),this.hasListeners()&&(e==null||e.removeObserver(this),t.addObserver(this))},ss=function(t){A.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(r(this,T))}),r(this,j).getQueryCache().notify({query:r(this,O),type:"observerResultsUpdated"})})},Te);function Rs(s,t){return N(t.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&t.retryOnMount===!1)}function Re(s,t){return Rs(s,t)||s.state.data!==void 0&&ce(s,t,t.refetchOnMount)}function ce(s,t,e){if(N(t.enabled,s)!==!1&&ht(t.staleTime,s)!=="static"){const i=typeof e=="function"?e(s):e;return i==="always"||i!==!1&&ve(s,t)}return!1}function Pe(s,t,e,i){return(s!==t||N(i.enabled,s)===!1)&&(!e.suspense||s.state.status!=="error")&&ve(s,e)}function ve(s,t){return N(t.enabled,s)!==!1&&s.isStaleByTime(ht(t.staleTime,s))}function Ps(s,t){return!zt(s.getCurrentResult(),t)}var ut,ot,x,Y,J,Vt,le,je,Fs=(je=class extends jt{constructor(t,e){super();l(this,J);l(this,ut);l(this,ot);l(this,x);l(this,Y);o(this,ut,t),this.setOptions(e),this.bindMethods(),m(this,J,Vt).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var i;const e=this.options;this.options=r(this,ut).defaultMutationOptions(t),zt(this.options,e)||r(this,ut).getMutationCache().notify({type:"observerOptionsUpdated",mutation:r(this,x),observer:this}),e!=null&&e.mutationKey&&this.options.mutationKey&&Ot(e.mutationKey)!==Ot(this.options.mutationKey)?this.reset():((i=r(this,x))==null?void 0:i.state.status)==="pending"&&r(this,x).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(t=r(this,x))==null||t.removeObserver(this)}onMutationUpdate(t){m(this,J,Vt).call(this),m(this,J,le).call(this,t)}getCurrentResult(){return r(this,ot)}reset(){var t;(t=r(this,x))==null||t.removeObserver(this),o(this,x,void 0),m(this,J,Vt).call(this),m(this,J,le).call(this)}mutate(t,e){var i;return o(this,Y,e),(i=r(this,x))==null||i.removeObserver(this),o(this,x,r(this,ut).getMutationCache().build(r(this,ut),this.options)),r(this,x).addObserver(this),r(this,x).execute(t)}},ut=new WeakMap,ot=new WeakMap,x=new WeakMap,Y=new WeakMap,J=new WeakSet,Vt=function(){var e;const t=((e=r(this,x))==null?void 0:e.state)??ts();o(this,ot,{...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset})},le=function(t){A.batch(()=>{var e,i,n,a,h,u,p,Q;if(r(this,Y)&&this.hasListeners()){const g=r(this,ot).variables,f=r(this,ot).context;(t==null?void 0:t.type)==="success"?((i=(e=r(this,Y)).onSuccess)==null||i.call(e,t.data,g,f),(a=(n=r(this,Y)).onSettled)==null||a.call(n,t.data,null,g,f)):(t==null?void 0:t.type)==="error"&&((u=(h=r(this,Y)).onError)==null||u.call(h,t.error,g,f),(Q=(p=r(this,Y)).onSettled)==null||Q.call(p,void 0,t.error,g,f))}this.listeners.forEach(g=>{g(r(this,ot))})})},je),Ds="VUE_QUERY_CLIENT";function is(s){const t=s?`:${s}`:"";return`${Ds}${t}`}function fe(s,t){Object.keys(s).forEach(e=>{s[e]=t[e]})}function de(s,t,e="",i=0){if(t){const n=t(s,e,i);if(n===void 0&&xe(s)||n!==void 0)return n}if(Array.isArray(s))return s.map((n,a)=>de(n,t,String(a),i+1));if(typeof s=="object"&&Es(s)){const n=Object.entries(s).map(([a,h])=>[a,de(h,t,a,i+1)]);return Object.fromEntries(n)}return s}function Ms(s,t){return de(s,t)}function v(s,t=!1){return Ms(s,(e,i,n)=>{if(n===1&&i==="queryKey")return v(e,!0);if(t&&As(e))return v(e(),t);if(xe(e))return v(ns(e),t)})}function Es(s){if(Object.prototype.toString.call(s)!=="[object Object]")return!1;const t=Object.getPrototypeOf(s);return t===null||t===Object.prototype}function As(s){return typeof s=="function"}function rs(s=""){if(!as())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=is(s),e=us(t);if(!e)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return e}var Us=class extends Ze{find(s){return super.find(v(s))}findAll(s={}){return super.findAll(v(s))}},Is=class extends es{find(s){return super.find(v(s))}findAll(s={}){return super.findAll(v(s))}},qs=class extends Qs{constructor(s={}){const t={defaultOptions:s.defaultOptions,queryCache:s.queryCache||new Us,mutationCache:s.mutationCache||new Is};super(t),this.isRestoring=os(!1)}isFetching(s={}){return super.isFetching(v(s))}isMutating(s={}){return super.isMutating(v(s))}getQueryData(s){return super.getQueryData(v(s))}ensureQueryData(s){return super.ensureQueryData(v(s))}getQueriesData(s){return super.getQueriesData(v(s))}setQueryData(s,t,e={}){return super.setQueryData(v(s),t,v(e))}setQueriesData(s,t,e={}){return super.setQueriesData(v(s),t,v(e))}getQueryState(s){return super.getQueryState(v(s))}removeQueries(s={}){return super.removeQueries(v(s))}resetQueries(s={},t={}){return super.resetQueries(v(s),v(t))}cancelQueries(s={},t={}){return super.cancelQueries(v(s),v(t))}invalidateQueries(s={},t={}){const e=v(s),i=v(t);if(super.invalidateQueries({...e,refetchType:"none"},i),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return hs().then(()=>super.refetchQueries(n,i))}refetchQueries(s={},t={}){return super.refetchQueries(v(s),v(t))}fetchQuery(s){return super.fetchQuery(v(s))}prefetchQuery(s){return super.prefetchQuery(v(s))}fetchInfiniteQuery(s){return super.fetchInfiniteQuery(v(s))}prefetchInfiniteQuery(s){return super.prefetchInfiniteQuery(v(s))}setDefaultOptions(s){super.setDefaultOptions(v(s))}setQueryDefaults(s,t){super.setQueryDefaults(v(s),v(t))}getQueryDefaults(s){return super.getQueryDefaults(v(s))}setMutationDefaults(s,t){super.setMutationDefaults(v(s),v(t))}getMutationDefaults(s){return super.getMutationDefaults(v(s))}},Hs={install:(s,t={})=>{const e=is(t.queryClientKey);let i;if("queryClient"in t&&t.queryClient)i=t.queryClient;else{const h="queryClientConfig"in t?t.queryClientConfig:void 0;i=new qs(h)}gt||i.mount();let n=()=>{};if(t.clientPersister){i.isRestoring&&(i.isRestoring.value=!0);const[h,u]=t.clientPersister(i);n=h,u.then(()=>{var p;i.isRestoring&&(i.isRestoring.value=!1),(p=t.clientPersisterOnSuccess)==null||p.call(t,i)})}const a=()=>{i.unmount(),n()};if(s.onUnmount)s.onUnmount(a);else{const h=s.unmount;s.unmount=function(){a(),h()}}s.provide(e,i)}};function Ts(s,t,e){const i=rs(),n=Ke(()=>{var d;const c=v(t);typeof c.enabled=="function"&&(c.enabled=c.enabled());const w=i.defaultQueryOptions(c);return w._optimisticResults=(d=i.isRestoring)!=null&&d.value?"isRestoring":"optimistic",w}),a=new s(i,n.value),h=n.value.shallow?ke(a.getCurrentResult()):Le(a.getCurrentResult());let u=()=>{};i.isRestoring&&wt(i.isRestoring,c=>{c||(u(),u=a.subscribe(w=>{fe(h,w)}))},{immediate:!0});const p=()=>{a.setOptions(n.value),fe(h,a.getCurrentResult())};wt(n,p),He(()=>{u()});const Q=(...c)=>(p(),h.refetch(...c)),g=()=>new Promise((c,w)=>{let d=()=>{};const b=()=>{if(n.value.enabled!==!1){a.setOptions(n.value);const S=a.getOptimisticResult(n.value);S.isStale?(d(),a.fetchOptimistic(n.value).then(c,M=>{ee(n.value.throwOnError,[M,a.getCurrentQuery()])?w(M):c(a.getCurrentResult())})):(d(),c(S))}};b(),d=wt(n,b)});wt(()=>h.error,c=>{if(h.isError&&!h.isFetching&&ee(n.value.throwOnError,[c,a.getCurrentQuery()]))throw c});const f=n.value.shallow?_e(h):Ge(h),y=Ne(f);for(const c in h)typeof h[c]=="function"&&(y[c]=h[c]);return y.suspense=g,y.refetch=Q,y}function _s(s,t){return Ts(Ss,s)}function Gs(s,t){const e=rs(),i=Ke(()=>e.defaultMutationOptions(v(s))),n=new Fs(e,i.value),a=i.value.shallow?ke(n.getCurrentResult()):Le(n.getCurrentResult()),h=n.subscribe(g=>{fe(a,g)}),u=(g,f)=>{n.mutate(g,f).catch(()=>{})};wt(i,()=>{n.setOptions(i.value)}),He(()=>{h()});const p=i.value.shallow?_e(a):Ge(a),Q=Ne(p);return wt(()=>a.error,g=>{if(g&&ee(i.value.throwOnError,[g]))throw g}),{...Q,mutate:u,mutateAsync:a.mutate,reset:a.reset}}export{Hs as V,_s as a,Gs as b,rs as u};
|
|
1
|
+
var be=s=>{throw TypeError(s)};var Yt=(s,t,e)=>t.has(s)||be("Cannot "+e);var r=(s,t,e)=>(Yt(s,t,"read from private field"),e?e.call(s):t.get(s)),l=(s,t,e)=>t.has(s)?be("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),o=(s,t,e,i)=>(Yt(s,t,"write to private field"),i?i.call(s,e):t.set(s,e),e),m=(s,t,e)=>(Yt(s,t,"access private method"),e);var $t=(s,t,e,i)=>({set _(n){o(s,t,n,e)},get _(){return r(s,t,i)}});import{f as xe,h as ns,j as as,i as us,r as os,n as hs,k as Ke,s as ke,b as Le,w as wt,l as He,p as _e,a as Ge,t as Ne}from"./@vue.BxBKarQv.0.0.68.js";var jt=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},gt=typeof window>"u"||"Deno"in globalThis;function L(){}function cs(s,t){return typeof s=="function"?s(t):s}function Xt(s){return typeof s=="number"&&s>=0&&s!==1/0}function $e(s,t){return Math.max(s+(t||0)-Date.now(),0)}function ht(s,t){return typeof s=="function"?s(t):s}function N(s,t){return typeof s=="function"?s(t):s}function ge(s,t){const{type:e="all",exact:i,fetchStatus:n,predicate:a,queryKey:h,stale:u}=s;if(h){if(i){if(t.queryHash!==ye(h,t.options))return!1}else if(!kt(t.queryKey,h))return!1}if(e!=="all"){const p=t.isActive();if(e==="active"&&!p||e==="inactive"&&p)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||n&&n!==t.state.fetchStatus||a&&!a(t))}function Oe(s,t){const{exact:e,status:i,predicate:n,mutationKey:a}=s;if(a){if(!t.options.mutationKey)return!1;if(e){if(Ot(t.options.mutationKey)!==Ot(a))return!1}else if(!kt(t.options.mutationKey,a))return!1}return!(i&&t.state.status!==i||n&&!n(t))}function ye(s,t){return((t==null?void 0:t.queryKeyHashFn)||Ot)(s)}function Ot(s){return JSON.stringify(s,(t,e)=>Zt(e)?Object.keys(e).sort().reduce((i,n)=>(i[n]=e[n],i),{}):e)}function kt(s,t){return s===t?!0:typeof s!=typeof t?!1:s&&t&&typeof s=="object"&&typeof t=="object"?Object.keys(t).every(e=>kt(s[e],t[e])):!1}function Be(s,t){if(s===t)return s;const e=Ce(s)&&Ce(t);if(e||Zt(s)&&Zt(t)){const i=e?s:Object.keys(s),n=i.length,a=e?t:Object.keys(t),h=a.length,u=e?[]:{},p=new Set(i);let Q=0;for(let g=0;g<h;g++){const f=e?g:a[g];(!e&&p.has(f)||e)&&s[f]===void 0&&t[f]===void 0?(u[f]=void 0,Q++):(u[f]=Be(s[f],t[f]),u[f]===s[f]&&s[f]!==void 0&&Q++)}return n===h&&Q===n?s:u}return t}function zt(s,t){if(!t||Object.keys(s).length!==Object.keys(t).length)return!1;for(const e in s)if(s[e]!==t[e])return!1;return!0}function Ce(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function Zt(s){if(!we(s))return!1;const t=s.constructor;if(t===void 0)return!0;const e=t.prototype;return!(!we(e)||!e.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function we(s){return Object.prototype.toString.call(s)==="[object Object]"}function ls(s){return new Promise(t=>{setTimeout(t,s)})}function te(s,t,e){return typeof e.structuralSharing=="function"?e.structuralSharing(s,t):e.structuralSharing!==!1?Be(s,t):t}function fs(s,t,e=0){const i=[...s,t];return e&&i.length>e?i.slice(1):i}function ds(s,t,e=0){const i=[t,...s];return e&&i.length>e?i.slice(0,-1):i}var pe=Symbol();function Ve(s,t){return!s.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!s.queryFn||s.queryFn===pe?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}function ee(s,t){return typeof s=="function"?s(...t):!!s}var lt,Z,Qt,Fe,ys=(Fe=class extends jt{constructor(){super();l(this,lt);l(this,Z);l(this,Qt);o(this,Qt,t=>{if(!gt&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){r(this,Z)||this.setEventListener(r(this,Qt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,Z))==null||t.call(this),o(this,Z,void 0))}setEventListener(t){var e;o(this,Qt,t),(e=r(this,Z))==null||e.call(this),o(this,Z,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){r(this,lt)!==t&&(o(this,lt,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return typeof r(this,lt)=="boolean"?r(this,lt):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},lt=new WeakMap,Z=new WeakMap,Qt=new WeakMap,Fe),me=new ys,St,tt,Rt,De,ps=(De=class extends jt{constructor(){super();l(this,St,!0);l(this,tt);l(this,Rt);o(this,Rt,t=>{if(!gt&&window.addEventListener){const e=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",i)}}})}onSubscribe(){r(this,tt)||this.setEventListener(r(this,Rt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,tt))==null||t.call(this),o(this,tt,void 0))}setEventListener(t){var e;o(this,Rt,t),(e=r(this,tt))==null||e.call(this),o(this,tt,t(this.setOnline.bind(this)))}setOnline(t){r(this,St)!==t&&(o(this,St,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return r(this,St)}},St=new WeakMap,tt=new WeakMap,Rt=new WeakMap,De),Wt=new ps;function se(){let s,t;const e=new Promise((n,a)=>{s=n,t=a});e.status="pending",e.catch(()=>{});function i(n){Object.assign(e,n),delete e.resolve,delete e.reject}return e.resolve=n=>{i({status:"fulfilled",value:n}),s(n)},e.reject=n=>{i({status:"rejected",reason:n}),t(n)},e}function ms(s){return Math.min(1e3*2**s,3e4)}function ze(s){return(s??"online")==="online"?Wt.isOnline():!0}var We=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function Jt(s){return s instanceof We}function Ye(s){let t=!1,e=0,i=!1,n;const a=se(),h=d=>{var b;i||(y(new We(d)),(b=s.abort)==null||b.call(s))},u=()=>{t=!0},p=()=>{t=!1},Q=()=>me.isFocused()&&(s.networkMode==="always"||Wt.isOnline())&&s.canRun(),g=()=>ze(s.networkMode)&&s.canRun(),f=d=>{var b;i||(i=!0,(b=s.onSuccess)==null||b.call(s,d),n==null||n(),a.resolve(d))},y=d=>{var b;i||(i=!0,(b=s.onError)==null||b.call(s,d),n==null||n(),a.reject(d))},c=()=>new Promise(d=>{var b;n=S=>{(i||Q())&&d(S)},(b=s.onPause)==null||b.call(s)}).then(()=>{var d;n=void 0,i||(d=s.onContinue)==null||d.call(s)}),w=()=>{if(i)return;let d;const b=e===0?s.initialPromise:void 0;try{d=b??s.fn()}catch(S){d=Promise.reject(S)}Promise.resolve(d).then(f).catch(S=>{var H;if(i)return;const M=s.retry??(gt?0:3),R=s.retryDelay??ms,E=typeof R=="function"?R(e,S):R,K=M===!0||typeof M=="number"&&e<M||typeof M=="function"&&M(e,S);if(t||!K){y(S);return}e++,(H=s.onFail)==null||H.call(s,e,S),ls(E).then(()=>Q()?void 0:c()).then(()=>{t?y(S):w()})})};return{promise:a,cancel:h,continue:()=>(n==null||n(),a),cancelRetry:u,continueRetry:p,canStart:g,start:()=>(g()?w():c().then(w),a)}}var vs=s=>setTimeout(s,0);function bs(){let s=[],t=0,e=u=>{u()},i=u=>{u()},n=vs;const a=u=>{t?s.push(u):n(()=>{e(u)})},h=()=>{const u=s;s=[],u.length&&n(()=>{i(()=>{u.forEach(p=>{e(p)})})})};return{batch:u=>{let p;t++;try{p=u()}finally{t--,t||h()}return p},batchCalls:u=>(...p)=>{a(()=>{u(...p)})},schedule:a,setNotifyFunction:u=>{e=u},setBatchNotifyFunction:u=>{i=u},setScheduler:u=>{n=u}}}var A=bs(),ft,Me,Je=(Me=class{constructor(){l(this,ft)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Xt(this.gcTime)&&o(this,ft,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(gt?1/0:5*60*1e3))}clearGcTimeout(){r(this,ft)&&(clearTimeout(r(this,ft)),o(this,ft,void 0))}},ft=new WeakMap,Me),Pt,Ft,k,dt,U,Lt,yt,_,z,Ee,gs=(Ee=class extends Je{constructor(t){super();l(this,_);l(this,Pt);l(this,Ft);l(this,k);l(this,dt);l(this,U);l(this,Lt);l(this,yt);o(this,yt,!1),o(this,Lt,t.defaultOptions),this.setOptions(t.options),this.observers=[],o(this,dt,t.client),o(this,k,r(this,dt).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,o(this,Pt,Os(this.options)),this.state=t.state??r(this,Pt),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=r(this,U))==null?void 0:t.promise}setOptions(t){this.options={...r(this,Lt),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&r(this,k).remove(this)}setData(t,e){const i=te(this.state.data,t,this.options);return m(this,_,z).call(this,{data:i,type:"success",dataUpdatedAt:e==null?void 0:e.updatedAt,manual:e==null?void 0:e.manual}),i}setState(t,e){m(this,_,z).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var i,n;const e=(i=r(this,U))==null?void 0:i.promise;return(n=r(this,U))==null||n.cancel(t),e?e.then(L).catch(L):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(r(this,Pt))}isActive(){return this.observers.some(t=>N(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===pe||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>ht(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!$e(this.state.dataUpdatedAt,t)}onFocus(){var e;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,U))==null||e.continue()}onOnline(){var e;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,U))==null||e.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),r(this,k).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(r(this,U)&&(r(this,yt)?r(this,U).cancel({revert:!0}):r(this,U).cancelRetry()),this.scheduleGc()),r(this,k).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||m(this,_,z).call(this,{type:"invalidate"})}fetch(t,e){var Q,g,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(e!=null&&e.cancelRefetch))this.cancel({silent:!0});else if(r(this,U))return r(this,U).continueRetry(),r(this,U).promise}if(t&&this.setOptions(t),!this.options.queryFn){const y=this.observers.find(c=>c.options.queryFn);y&&this.setOptions(y.options)}const i=new AbortController,n=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(o(this,yt,!0),i.signal)})},a=()=>{const y=Ve(this.options,e),w=(()=>{const d={client:r(this,dt),queryKey:this.queryKey,meta:this.meta};return n(d),d})();return o(this,yt,!1),this.options.persister?this.options.persister(y,w,this):y(w)},u=(()=>{const y={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:r(this,dt),state:this.state,fetchFn:a};return n(y),y})();(Q=this.options.behavior)==null||Q.onFetch(u,this),o(this,Ft,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((g=u.fetchOptions)==null?void 0:g.meta))&&m(this,_,z).call(this,{type:"fetch",meta:(f=u.fetchOptions)==null?void 0:f.meta});const p=y=>{var c,w,d,b;Jt(y)&&y.silent||m(this,_,z).call(this,{type:"error",error:y}),Jt(y)||((w=(c=r(this,k).config).onError)==null||w.call(c,y,this),(b=(d=r(this,k).config).onSettled)==null||b.call(d,this.state.data,y,this)),this.scheduleGc()};return o(this,U,Ye({initialPromise:e==null?void 0:e.initialPromise,fn:u.fetchFn,abort:i.abort.bind(i),onSuccess:y=>{var c,w,d,b;if(y===void 0){p(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(y)}catch(S){p(S);return}(w=(c=r(this,k).config).onSuccess)==null||w.call(c,y,this),(b=(d=r(this,k).config).onSettled)==null||b.call(d,y,this.state.error,this),this.scheduleGc()},onError:p,onFail:(y,c)=>{m(this,_,z).call(this,{type:"failed",failureCount:y,error:c})},onPause:()=>{m(this,_,z).call(this,{type:"pause"})},onContinue:()=>{m(this,_,z).call(this,{type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0})),r(this,U).start()}},Pt=new WeakMap,Ft=new WeakMap,k=new WeakMap,dt=new WeakMap,U=new WeakMap,Lt=new WeakMap,yt=new WeakMap,_=new WeakSet,z=function(t){const e=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...Xe(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=t.error;return Jt(n)&&n.revert&&r(this,Ft)?{...r(this,Ft),fetchStatus:"idle"}:{...i,error:n,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=e(this.state),A.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),r(this,k).notify({query:this,type:"updated",action:t})})},Ee);function Xe(s,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ze(t.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function Os(s){const t=typeof s.initialData=="function"?s.initialData():s.initialData,e=t!==void 0,i=e?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:e?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:e?"success":"pending",fetchStatus:"idle"}}var $,Ae,Ze=(Ae=class extends jt{constructor(e={}){super();l(this,$);this.config=e,o(this,$,new Map)}build(e,i,n){const a=i.queryKey,h=i.queryHash??ye(a,i);let u=this.get(h);return u||(u=new gs({client:e,queryKey:a,queryHash:h,options:e.defaultQueryOptions(i),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(u)),u}add(e){r(this,$).has(e.queryHash)||(r(this,$).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=r(this,$).get(e.queryHash);i&&(e.destroy(),i===e&&r(this,$).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){A.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return r(this,$).get(e)}getAll(){return[...r(this,$).values()]}find(e){const i={exact:!0,...e};return this.getAll().find(n=>ge(i,n))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(n=>ge(e,n)):i}notify(e){A.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){A.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){A.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},$=new WeakMap,Ae),B,q,pt,V,X,Ue,Cs=(Ue=class extends Je{constructor(t){super();l(this,V);l(this,B);l(this,q);l(this,pt);this.mutationId=t.mutationId,o(this,q,t.mutationCache),o(this,B,[]),this.state=t.state||ts(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){r(this,B).includes(t)||(r(this,B).push(t),this.clearGcTimeout(),r(this,q).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){o(this,B,r(this,B).filter(e=>e!==t)),this.scheduleGc(),r(this,q).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){r(this,B).length||(this.state.status==="pending"?this.scheduleGc():r(this,q).remove(this))}continue(){var t;return((t=r(this,pt))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var a,h,u,p,Q,g,f,y,c,w,d,b,S,M,R,E,K,H,xt,I;const e=()=>{m(this,V,X).call(this,{type:"continue"})};o(this,pt,Ye({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(F,D)=>{m(this,V,X).call(this,{type:"failed",failureCount:F,error:D})},onPause:()=>{m(this,V,X).call(this,{type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>r(this,q).canRun(this)}));const i=this.state.status==="pending",n=!r(this,pt).canStart();try{if(i)e();else{m(this,V,X).call(this,{type:"pending",variables:t,isPaused:n}),await((h=(a=r(this,q).config).onMutate)==null?void 0:h.call(a,t,this));const D=await((p=(u=this.options).onMutate)==null?void 0:p.call(u,t));D!==this.state.context&&m(this,V,X).call(this,{type:"pending",context:D,variables:t,isPaused:n})}const F=await r(this,pt).start();return await((g=(Q=r(this,q).config).onSuccess)==null?void 0:g.call(Q,F,t,this.state.context,this)),await((y=(f=this.options).onSuccess)==null?void 0:y.call(f,F,t,this.state.context)),await((w=(c=r(this,q).config).onSettled)==null?void 0:w.call(c,F,null,this.state.variables,this.state.context,this)),await((b=(d=this.options).onSettled)==null?void 0:b.call(d,F,null,t,this.state.context)),m(this,V,X).call(this,{type:"success",data:F}),F}catch(F){try{throw await((M=(S=r(this,q).config).onError)==null?void 0:M.call(S,F,t,this.state.context,this)),await((E=(R=this.options).onError)==null?void 0:E.call(R,F,t,this.state.context)),await((H=(K=r(this,q).config).onSettled)==null?void 0:H.call(K,void 0,F,this.state.variables,this.state.context,this)),await((I=(xt=this.options).onSettled)==null?void 0:I.call(xt,void 0,F,t,this.state.context)),F}finally{m(this,V,X).call(this,{type:"error",error:F})}}finally{r(this,q).runNext(this)}}},B=new WeakMap,q=new WeakMap,pt=new WeakMap,V=new WeakSet,X=function(t){const e=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),A.batch(()=>{r(this,B).forEach(i=>{i.onMutationUpdate(t)}),r(this,q).notify({mutation:this,type:"updated",action:t})})},Ue);function ts(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var W,G,Ht,Ie,es=(Ie=class extends jt{constructor(e={}){super();l(this,W);l(this,G);l(this,Ht);this.config=e,o(this,W,new Set),o(this,G,new Map),o(this,Ht,0)}build(e,i,n){const a=new Cs({mutationCache:this,mutationId:++$t(this,Ht)._,options:e.defaultMutationOptions(i),state:n});return this.add(a),a}add(e){r(this,W).add(e);const i=Bt(e);if(typeof i=="string"){const n=r(this,G).get(i);n?n.push(e):r(this,G).set(i,[e])}this.notify({type:"added",mutation:e})}remove(e){if(r(this,W).delete(e)){const i=Bt(e);if(typeof i=="string"){const n=r(this,G).get(i);if(n)if(n.length>1){const a=n.indexOf(e);a!==-1&&n.splice(a,1)}else n[0]===e&&r(this,G).delete(i)}}this.notify({type:"removed",mutation:e})}canRun(e){const i=Bt(e);if(typeof i=="string"){const n=r(this,G).get(i),a=n==null?void 0:n.find(h=>h.state.status==="pending");return!a||a===e}else return!0}runNext(e){var n;const i=Bt(e);if(typeof i=="string"){const a=(n=r(this,G).get(i))==null?void 0:n.find(h=>h!==e&&h.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){A.batch(()=>{r(this,W).forEach(e=>{this.notify({type:"removed",mutation:e})}),r(this,W).clear(),r(this,G).clear()})}getAll(){return Array.from(r(this,W))}find(e){const i={exact:!0,...e};return this.getAll().find(n=>Oe(i,n))}findAll(e={}){return this.getAll().filter(i=>Oe(e,i))}notify(e){A.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return A.batch(()=>Promise.all(e.map(i=>i.continue().catch(L))))}},W=new WeakMap,G=new WeakMap,Ht=new WeakMap,Ie);function Bt(s){var t;return(t=s.options.scope)==null?void 0:t.id}function Qe(s){return{onFetch:(t,e)=>{var g,f,y,c,w;const i=t.options,n=(y=(f=(g=t.fetchOptions)==null?void 0:g.meta)==null?void 0:f.fetchMore)==null?void 0:y.direction,a=((c=t.state.data)==null?void 0:c.pages)||[],h=((w=t.state.data)==null?void 0:w.pageParams)||[];let u={pages:[],pageParams:[]},p=0;const Q=async()=>{let d=!1;const b=R=>{Object.defineProperty(R,"signal",{enumerable:!0,get:()=>(t.signal.aborted?d=!0:t.signal.addEventListener("abort",()=>{d=!0}),t.signal)})},S=Ve(t.options,t.fetchOptions),M=async(R,E,K)=>{if(d)return Promise.reject();if(E==null&&R.pages.length)return Promise.resolve(R);const xt=(()=>{const ct={client:t.client,queryKey:t.queryKey,pageParam:E,direction:K?"backward":"forward",meta:t.options.meta};return b(ct),ct})(),I=await S(xt),{maxPages:F}=t.options,D=K?ds:fs;return{pages:D(R.pages,I,F),pageParams:D(R.pageParams,E,F)}};if(n&&a.length){const R=n==="backward",E=R?ws:Se,K={pages:a,pageParams:h},H=E(i,K);u=await M(K,H,R)}else{const R=s??a.length;do{const E=p===0?h[0]??i.initialPageParam:Se(i,u);if(p>0&&E==null)break;u=await M(u,E),p++}while(p<R)}return u};t.options.persister?t.fetchFn=()=>{var d,b;return(b=(d=t.options).persister)==null?void 0:b.call(d,Q,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=Q}}}function Se(s,{pages:t,pageParams:e}){const i=t.length-1;return t.length>0?s.getNextPageParam(t[i],t,e[i],e):void 0}function ws(s,{pages:t,pageParams:e}){var i;return t.length>0?(i=s.getPreviousPageParam)==null?void 0:i.call(s,t[0],t,e[0],e):void 0}var P,et,st,Dt,Mt,it,Et,At,qe,Qs=(qe=class{constructor(t={}){l(this,P);l(this,et);l(this,st);l(this,Dt);l(this,Mt);l(this,it);l(this,Et);l(this,At);o(this,P,t.queryCache||new Ze),o(this,et,t.mutationCache||new es),o(this,st,t.defaultOptions||{}),o(this,Dt,new Map),o(this,Mt,new Map),o(this,it,0)}mount(){$t(this,it)._++,r(this,it)===1&&(o(this,Et,me.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,P).onFocus())})),o(this,At,Wt.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,P).onOnline())})))}unmount(){var t,e;$t(this,it)._--,r(this,it)===0&&((t=r(this,Et))==null||t.call(this),o(this,Et,void 0),(e=r(this,At))==null||e.call(this),o(this,At,void 0))}isFetching(t){return r(this,P).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return r(this,et).findAll({...t,status:"pending"}).length}getQueryData(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,P).get(e.queryHash))==null?void 0:i.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),i=r(this,P).build(this,e),n=i.state.data;return n===void 0?this.fetchQuery(t):(t.revalidateIfStale&&i.isStaleByTime(ht(e.staleTime,i))&&this.prefetchQuery(e),Promise.resolve(n))}getQueriesData(t){return r(this,P).findAll(t).map(({queryKey:e,state:i})=>{const n=i.data;return[e,n]})}setQueryData(t,e,i){const n=this.defaultQueryOptions({queryKey:t}),a=r(this,P).get(n.queryHash),h=a==null?void 0:a.state.data,u=cs(e,h);if(u!==void 0)return r(this,P).build(this,n).setData(u,{...i,manual:!0})}setQueriesData(t,e,i){return A.batch(()=>r(this,P).findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,i)]))}getQueryState(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,P).get(e.queryHash))==null?void 0:i.state}removeQueries(t){const e=r(this,P);A.batch(()=>{e.findAll(t).forEach(i=>{e.remove(i)})})}resetQueries(t,e){const i=r(this,P);return A.batch(()=>(i.findAll(t).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){const i={revert:!0,...e},n=A.batch(()=>r(this,P).findAll(t).map(a=>a.cancel(i)));return Promise.all(n).then(L).catch(L)}invalidateQueries(t,e={}){return A.batch(()=>(r(this,P).findAll(t).forEach(i=>{i.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},e)))}refetchQueries(t,e={}){const i={...e,cancelRefetch:e.cancelRefetch??!0},n=A.batch(()=>r(this,P).findAll(t).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let h=a.fetch(void 0,i);return i.throwOnError||(h=h.catch(L)),a.state.fetchStatus==="paused"?Promise.resolve():h}));return Promise.all(n).then(L)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const i=r(this,P).build(this,e);return i.isStaleByTime(ht(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(L).catch(L)}fetchInfiniteQuery(t){return t.behavior=Qe(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(L).catch(L)}ensureInfiniteQueryData(t){return t.behavior=Qe(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Wt.isOnline()?r(this,et).resumePausedMutations():Promise.resolve()}getQueryCache(){return r(this,P)}getMutationCache(){return r(this,et)}getDefaultOptions(){return r(this,st)}setDefaultOptions(t){o(this,st,t)}setQueryDefaults(t,e){r(this,Dt).set(Ot(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...r(this,Dt).values()],i={};return e.forEach(n=>{kt(t,n.queryKey)&&Object.assign(i,n.defaultOptions)}),i}setMutationDefaults(t,e){r(this,Mt).set(Ot(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...r(this,Mt).values()],i={};return e.forEach(n=>{kt(t,n.mutationKey)&&Object.assign(i,n.defaultOptions)}),i}defaultQueryOptions(t){if(t._defaulted)return t;const e={...r(this,st).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=ye(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===pe&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...r(this,st).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){r(this,P).clear(),r(this,et).clear()}},P=new WeakMap,et=new WeakMap,st=new WeakMap,Dt=new WeakMap,Mt=new WeakMap,it=new WeakMap,Et=new WeakMap,At=new WeakMap,qe),j,O,_t,T,mt,Ut,rt,nt,Gt,It,qt,vt,bt,at,Tt,C,Kt,ie,re,ne,ae,ue,oe,he,ss,Te,Ss=(Te=class extends jt{constructor(t,e){super();l(this,C);l(this,j);l(this,O);l(this,_t);l(this,T);l(this,mt);l(this,Ut);l(this,rt);l(this,nt);l(this,Gt);l(this,It);l(this,qt);l(this,vt);l(this,bt);l(this,at);l(this,Tt,new Set);this.options=e,o(this,j,t),o(this,nt,null),o(this,rt,se()),this.options.experimental_prefetchInRender||r(this,rt).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(r(this,O).addObserver(this),Re(r(this,O),this.options)?m(this,C,Kt).call(this):this.updateResult(),m(this,C,ae).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ce(r(this,O),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ce(r(this,O),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,m(this,C,ue).call(this),m(this,C,oe).call(this),r(this,O).removeObserver(this)}setOptions(t){const e=this.options,i=r(this,O);if(this.options=r(this,j).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof N(this.options.enabled,r(this,O))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");m(this,C,he).call(this),r(this,O).setOptions(this.options),e._defaulted&&!zt(this.options,e)&&r(this,j).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,O),observer:this});const n=this.hasListeners();n&&Pe(r(this,O),i,this.options,e)&&m(this,C,Kt).call(this),this.updateResult(),n&&(r(this,O)!==i||N(this.options.enabled,r(this,O))!==N(e.enabled,r(this,O))||ht(this.options.staleTime,r(this,O))!==ht(e.staleTime,r(this,O)))&&m(this,C,ie).call(this);const a=m(this,C,re).call(this);n&&(r(this,O)!==i||N(this.options.enabled,r(this,O))!==N(e.enabled,r(this,O))||a!==r(this,at))&&m(this,C,ne).call(this,a)}getOptimisticResult(t){const e=r(this,j).getQueryCache().build(r(this,j),t),i=this.createResult(e,t);return Ps(this,i)&&(o(this,T,i),o(this,Ut,this.options),o(this,mt,r(this,O).state)),i}getCurrentResult(){return r(this,T)}trackResult(t,e){return new Proxy(t,{get:(i,n)=>(this.trackProp(n),e==null||e(n),Reflect.get(i,n))})}trackProp(t){r(this,Tt).add(t)}getCurrentQuery(){return r(this,O)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=r(this,j).defaultQueryOptions(t),i=r(this,j).getQueryCache().build(r(this,j),e);return i.fetch().then(()=>this.createResult(i,e))}fetch(t){return m(this,C,Kt).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,T)))}createResult(t,e){var F;const i=r(this,O),n=this.options,a=r(this,T),h=r(this,mt),u=r(this,Ut),Q=t!==i?t.state:r(this,_t),{state:g}=t;let f={...g},y=!1,c;if(e._optimisticResults){const D=this.hasListeners(),ct=!D&&Re(t,e),Ct=D&&Pe(t,i,e,n);(ct||Ct)&&(f={...f,...Xe(g.data,t.options)}),e._optimisticResults==="isRestoring"&&(f.fetchStatus="idle")}let{error:w,errorUpdatedAt:d,status:b}=f;c=f.data;let S=!1;if(e.placeholderData!==void 0&&c===void 0&&b==="pending"){let D;a!=null&&a.isPlaceholderData&&e.placeholderData===(u==null?void 0:u.placeholderData)?(D=a.data,S=!0):D=typeof e.placeholderData=="function"?e.placeholderData((F=r(this,qt))==null?void 0:F.state.data,r(this,qt)):e.placeholderData,D!==void 0&&(b="success",c=te(a==null?void 0:a.data,D,e),y=!0)}if(e.select&&c!==void 0&&!S)if(a&&c===(h==null?void 0:h.data)&&e.select===r(this,Gt))c=r(this,It);else try{o(this,Gt,e.select),c=e.select(c),c=te(a==null?void 0:a.data,c,e),o(this,It,c),o(this,nt,null)}catch(D){o(this,nt,D)}r(this,nt)&&(w=r(this,nt),c=r(this,It),d=Date.now(),b="error");const M=f.fetchStatus==="fetching",R=b==="pending",E=b==="error",K=R&&M,H=c!==void 0,I={status:b,fetchStatus:f.fetchStatus,isPending:R,isSuccess:b==="success",isError:E,isInitialLoading:K,isLoading:K,data:c,dataUpdatedAt:f.dataUpdatedAt,error:w,errorUpdatedAt:d,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>Q.dataUpdateCount||f.errorUpdateCount>Q.errorUpdateCount,isFetching:M,isRefetching:M&&!R,isLoadingError:E&&!H,isPaused:f.fetchStatus==="paused",isPlaceholderData:y,isRefetchError:E&&H,isStale:ve(t,e),refetch:this.refetch,promise:r(this,rt)};if(this.options.experimental_prefetchInRender){const D=Nt=>{I.status==="error"?Nt.reject(I.error):I.data!==void 0&&Nt.resolve(I.data)},ct=()=>{const Nt=o(this,rt,I.promise=se());D(Nt)},Ct=r(this,rt);switch(Ct.status){case"pending":t.queryHash===i.queryHash&&D(Ct);break;case"fulfilled":(I.status==="error"||I.data!==Ct.value)&&ct();break;case"rejected":(I.status!=="error"||I.error!==Ct.reason)&&ct();break}}return I}updateResult(){const t=r(this,T),e=this.createResult(r(this,O),this.options);if(o(this,mt,r(this,O).state),o(this,Ut,this.options),r(this,mt).data!==void 0&&o(this,qt,r(this,O)),zt(e,t))return;o(this,T,e);const i=()=>{if(!t)return!0;const{notifyOnChangeProps:n}=this.options,a=typeof n=="function"?n():n;if(a==="all"||!a&&!r(this,Tt).size)return!0;const h=new Set(a??r(this,Tt));return this.options.throwOnError&&h.add("error"),Object.keys(r(this,T)).some(u=>{const p=u;return r(this,T)[p]!==t[p]&&h.has(p)})};m(this,C,ss).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&m(this,C,ae).call(this)}},j=new WeakMap,O=new WeakMap,_t=new WeakMap,T=new WeakMap,mt=new WeakMap,Ut=new WeakMap,rt=new WeakMap,nt=new WeakMap,Gt=new WeakMap,It=new WeakMap,qt=new WeakMap,vt=new WeakMap,bt=new WeakMap,at=new WeakMap,Tt=new WeakMap,C=new WeakSet,Kt=function(t){m(this,C,he).call(this);let e=r(this,O).fetch(this.options,t);return t!=null&&t.throwOnError||(e=e.catch(L)),e},ie=function(){m(this,C,ue).call(this);const t=ht(this.options.staleTime,r(this,O));if(gt||r(this,T).isStale||!Xt(t))return;const i=$e(r(this,T).dataUpdatedAt,t)+1;o(this,vt,setTimeout(()=>{r(this,T).isStale||this.updateResult()},i))},re=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,O)):this.options.refetchInterval)??!1},ne=function(t){m(this,C,oe).call(this),o(this,at,t),!(gt||N(this.options.enabled,r(this,O))===!1||!Xt(r(this,at))||r(this,at)===0)&&o(this,bt,setInterval(()=>{(this.options.refetchIntervalInBackground||me.isFocused())&&m(this,C,Kt).call(this)},r(this,at)))},ae=function(){m(this,C,ie).call(this),m(this,C,ne).call(this,m(this,C,re).call(this))},ue=function(){r(this,vt)&&(clearTimeout(r(this,vt)),o(this,vt,void 0))},oe=function(){r(this,bt)&&(clearInterval(r(this,bt)),o(this,bt,void 0))},he=function(){const t=r(this,j).getQueryCache().build(r(this,j),this.options);if(t===r(this,O))return;const e=r(this,O);o(this,O,t),o(this,_t,t.state),this.hasListeners()&&(e==null||e.removeObserver(this),t.addObserver(this))},ss=function(t){A.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(r(this,T))}),r(this,j).getQueryCache().notify({query:r(this,O),type:"observerResultsUpdated"})})},Te);function Rs(s,t){return N(t.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&t.retryOnMount===!1)}function Re(s,t){return Rs(s,t)||s.state.data!==void 0&&ce(s,t,t.refetchOnMount)}function ce(s,t,e){if(N(t.enabled,s)!==!1&&ht(t.staleTime,s)!=="static"){const i=typeof e=="function"?e(s):e;return i==="always"||i!==!1&&ve(s,t)}return!1}function Pe(s,t,e,i){return(s!==t||N(i.enabled,s)===!1)&&(!e.suspense||s.state.status!=="error")&&ve(s,e)}function ve(s,t){return N(t.enabled,s)!==!1&&s.isStaleByTime(ht(t.staleTime,s))}function Ps(s,t){return!zt(s.getCurrentResult(),t)}var ut,ot,x,Y,J,Vt,le,je,Fs=(je=class extends jt{constructor(t,e){super();l(this,J);l(this,ut);l(this,ot);l(this,x);l(this,Y);o(this,ut,t),this.setOptions(e),this.bindMethods(),m(this,J,Vt).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var i;const e=this.options;this.options=r(this,ut).defaultMutationOptions(t),zt(this.options,e)||r(this,ut).getMutationCache().notify({type:"observerOptionsUpdated",mutation:r(this,x),observer:this}),e!=null&&e.mutationKey&&this.options.mutationKey&&Ot(e.mutationKey)!==Ot(this.options.mutationKey)?this.reset():((i=r(this,x))==null?void 0:i.state.status)==="pending"&&r(this,x).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(t=r(this,x))==null||t.removeObserver(this)}onMutationUpdate(t){m(this,J,Vt).call(this),m(this,J,le).call(this,t)}getCurrentResult(){return r(this,ot)}reset(){var t;(t=r(this,x))==null||t.removeObserver(this),o(this,x,void 0),m(this,J,Vt).call(this),m(this,J,le).call(this)}mutate(t,e){var i;return o(this,Y,e),(i=r(this,x))==null||i.removeObserver(this),o(this,x,r(this,ut).getMutationCache().build(r(this,ut),this.options)),r(this,x).addObserver(this),r(this,x).execute(t)}},ut=new WeakMap,ot=new WeakMap,x=new WeakMap,Y=new WeakMap,J=new WeakSet,Vt=function(){var e;const t=((e=r(this,x))==null?void 0:e.state)??ts();o(this,ot,{...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset})},le=function(t){A.batch(()=>{var e,i,n,a,h,u,p,Q;if(r(this,Y)&&this.hasListeners()){const g=r(this,ot).variables,f=r(this,ot).context;(t==null?void 0:t.type)==="success"?((i=(e=r(this,Y)).onSuccess)==null||i.call(e,t.data,g,f),(a=(n=r(this,Y)).onSettled)==null||a.call(n,t.data,null,g,f)):(t==null?void 0:t.type)==="error"&&((u=(h=r(this,Y)).onError)==null||u.call(h,t.error,g,f),(Q=(p=r(this,Y)).onSettled)==null||Q.call(p,void 0,t.error,g,f))}this.listeners.forEach(g=>{g(r(this,ot))})})},je),Ds="VUE_QUERY_CLIENT";function is(s){const t=s?`:${s}`:"";return`${Ds}${t}`}function fe(s,t){Object.keys(s).forEach(e=>{s[e]=t[e]})}function de(s,t,e="",i=0){if(t){const n=t(s,e,i);if(n===void 0&&xe(s)||n!==void 0)return n}if(Array.isArray(s))return s.map((n,a)=>de(n,t,String(a),i+1));if(typeof s=="object"&&Es(s)){const n=Object.entries(s).map(([a,h])=>[a,de(h,t,a,i+1)]);return Object.fromEntries(n)}return s}function Ms(s,t){return de(s,t)}function v(s,t=!1){return Ms(s,(e,i,n)=>{if(n===1&&i==="queryKey")return v(e,!0);if(t&&As(e))return v(e(),t);if(xe(e))return v(ns(e),t)})}function Es(s){if(Object.prototype.toString.call(s)!=="[object Object]")return!1;const t=Object.getPrototypeOf(s);return t===null||t===Object.prototype}function As(s){return typeof s=="function"}function rs(s=""){if(!as())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=is(s),e=us(t);if(!e)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return e}var Us=class extends Ze{find(s){return super.find(v(s))}findAll(s={}){return super.findAll(v(s))}},Is=class extends es{find(s){return super.find(v(s))}findAll(s={}){return super.findAll(v(s))}},qs=class extends Qs{constructor(s={}){const t={defaultOptions:s.defaultOptions,queryCache:s.queryCache||new Us,mutationCache:s.mutationCache||new Is};super(t),this.isRestoring=os(!1)}isFetching(s={}){return super.isFetching(v(s))}isMutating(s={}){return super.isMutating(v(s))}getQueryData(s){return super.getQueryData(v(s))}ensureQueryData(s){return super.ensureQueryData(v(s))}getQueriesData(s){return super.getQueriesData(v(s))}setQueryData(s,t,e={}){return super.setQueryData(v(s),t,v(e))}setQueriesData(s,t,e={}){return super.setQueriesData(v(s),t,v(e))}getQueryState(s){return super.getQueryState(v(s))}removeQueries(s={}){return super.removeQueries(v(s))}resetQueries(s={},t={}){return super.resetQueries(v(s),v(t))}cancelQueries(s={},t={}){return super.cancelQueries(v(s),v(t))}invalidateQueries(s={},t={}){const e=v(s),i=v(t);if(super.invalidateQueries({...e,refetchType:"none"},i),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return hs().then(()=>super.refetchQueries(n,i))}refetchQueries(s={},t={}){return super.refetchQueries(v(s),v(t))}fetchQuery(s){return super.fetchQuery(v(s))}prefetchQuery(s){return super.prefetchQuery(v(s))}fetchInfiniteQuery(s){return super.fetchInfiniteQuery(v(s))}prefetchInfiniteQuery(s){return super.prefetchInfiniteQuery(v(s))}setDefaultOptions(s){super.setDefaultOptions(v(s))}setQueryDefaults(s,t){super.setQueryDefaults(v(s),v(t))}getQueryDefaults(s){return super.getQueryDefaults(v(s))}setMutationDefaults(s,t){super.setMutationDefaults(v(s),v(t))}getMutationDefaults(s){return super.getMutationDefaults(v(s))}},Hs={install:(s,t={})=>{const e=is(t.queryClientKey);let i;if("queryClient"in t&&t.queryClient)i=t.queryClient;else{const h="queryClientConfig"in t?t.queryClientConfig:void 0;i=new qs(h)}gt||i.mount();let n=()=>{};if(t.clientPersister){i.isRestoring&&(i.isRestoring.value=!0);const[h,u]=t.clientPersister(i);n=h,u.then(()=>{var p;i.isRestoring&&(i.isRestoring.value=!1),(p=t.clientPersisterOnSuccess)==null||p.call(t,i)})}const a=()=>{i.unmount(),n()};if(s.onUnmount)s.onUnmount(a);else{const h=s.unmount;s.unmount=function(){a(),h()}}s.provide(e,i)}};function Ts(s,t,e){const i=rs(),n=Ke(()=>{var d;const c=v(t);typeof c.enabled=="function"&&(c.enabled=c.enabled());const w=i.defaultQueryOptions(c);return w._optimisticResults=(d=i.isRestoring)!=null&&d.value?"isRestoring":"optimistic",w}),a=new s(i,n.value),h=n.value.shallow?ke(a.getCurrentResult()):Le(a.getCurrentResult());let u=()=>{};i.isRestoring&&wt(i.isRestoring,c=>{c||(u(),u=a.subscribe(w=>{fe(h,w)}))},{immediate:!0});const p=()=>{a.setOptions(n.value),fe(h,a.getCurrentResult())};wt(n,p),He(()=>{u()});const Q=(...c)=>(p(),h.refetch(...c)),g=()=>new Promise((c,w)=>{let d=()=>{};const b=()=>{if(n.value.enabled!==!1){a.setOptions(n.value);const S=a.getOptimisticResult(n.value);S.isStale?(d(),a.fetchOptimistic(n.value).then(c,M=>{ee(n.value.throwOnError,[M,a.getCurrentQuery()])?w(M):c(a.getCurrentResult())})):(d(),c(S))}};b(),d=wt(n,b)});wt(()=>h.error,c=>{if(h.isError&&!h.isFetching&&ee(n.value.throwOnError,[c,a.getCurrentQuery()]))throw c});const f=n.value.shallow?_e(h):Ge(h),y=Ne(f);for(const c in h)typeof h[c]=="function"&&(y[c]=h[c]);return y.suspense=g,y.refetch=Q,y}function _s(s,t){return Ts(Ss,s)}function Gs(s,t){const e=rs(),i=Ke(()=>e.defaultMutationOptions(v(s))),n=new Fs(e,i.value),a=i.value.shallow?ke(n.getCurrentResult()):Le(n.getCurrentResult()),h=n.subscribe(g=>{fe(a,g)}),u=(g,f)=>{n.mutate(g,f).catch(()=>{})};wt(i,()=>{n.setOptions(i.value)}),He(()=>{h()});const p=i.value.shallow?_e(a):Ge(a),Q=Ne(p);return wt(()=>a.error,g=>{if(g&&ee(i.value.throwOnError,[g]))throw g}),{...Q,mutate:u,mutateAsync:a.mutate,reset:a.reset}}export{Hs as V,_s as a,Gs as b,rs as u};
|
package/dist/interface/js/{@vee-validate.DYnt12GD.0.0.66.js → @vee-validate.CnnpXP1B.0.0.68.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as h,c as j}from"./vee-validate.
|
|
1
|
+
import{i as h,c as j}from"./vee-validate.Cs2kJt5l.0.0.68.js";import{Z as s,a as y,b as a}from"./zod.2bfLsWMZ.0.0.68.js";/**
|
|
2
2
|
* vee-validate v4.15.1
|
|
3
3
|
* (c) 2025 Abdelrahman Awad
|
|
4
4
|
* @license MIT
|