camera.ui3 0.0.34-alpha.0 → 0.0.34-alpha.2
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/{@intlify.8z0ZxsCR.0.0.34-alpha.0.js → @intlify.sEJX3RNi.0.0.34-alpha.2.js} +4 -4
- package/dist/interface/@tanstack.DaYhomXG.0.0.34-alpha.2.js +1 -0
- package/dist/interface/{@vee-validate.ptox5Hkw.0.0.34-alpha.0.js → @vee-validate.BgfhJ3tv.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/@vue.D0DP0v6_.0.0.34-alpha.2.js +17 -0
- package/dist/interface/{@vueform.DZw58F7r.0.0.34-alpha.0.js → @vueform.B9nWZDbJ.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{@vueuse.B8UZ0pix.0.0.34-alpha.0.js → @vueuse.Di3-85fa.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{Account.G8q0djcz.0.0.34-alpha.0.js → Account.Dt2M2G9T.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{Adminpanel.Cr3YkJpH.0.0.34-alpha.0.js → Adminpanel.C3sidzLi.0.0.34-alpha.2.js} +2 -2
- package/dist/interface/{Appearance.DxjEOUgB.0.0.34-alpha.0.js → Appearance.DcUS-yy7.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{Backup.Ca-TnbiL.0.0.34-alpha.0.js → Backup.DDEr-2_6.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/Camera.CLxaywAi.0.0.34-alpha.2.js +1 -0
- package/dist/interface/Cameras.CKQTl7Gl.0.0.34-alpha.2.js +1 -0
- package/dist/interface/Camview.BuKRBlZg.0.0.34-alpha.2.js +1 -0
- package/dist/interface/{Config.D8ivzHjO.0.0.34-alpha.0.js → Config.B9PNvDV2.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/Console.DnRRAJB4.0.0.34-alpha.2.js +4 -0
- package/dist/interface/{FirstSteps.D-ZB1UK_.0.0.34-alpha.0.js → FirstSteps.YGowg836.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{NewCamera.Cs_xkRSg.0.0.34-alpha.0.js → NewCamera.fxgE3DwM.0.0.34-alpha.2.js} +2 -2
- package/dist/interface/Plugin.CKc5qj6D.0.0.34-alpha.2.js +1 -0
- package/dist/interface/Plugins.DjzGLIs2.0.0.34-alpha.2.js +1 -0
- package/dist/interface/Recordings.MD4_BOBv.0.0.34-alpha.2.js +1 -0
- package/dist/interface/Recordings.jFnATBbC.0.0.34-alpha.2.js +1 -0
- package/dist/interface/{Settings.B9-lP69C.0.0.34-alpha.0.js → Settings.CNd6al6p.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{System.DU2no3Ij.0.0.34-alpha.0.js → System.BjAkow0D.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{User.s4mfuOd8.0.0.34-alpha.0.js → User.BtpdbtGz.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{VConfigEditor.vue_vue_type_script_setup_true_lang.opUam6Jm.0.0.34-alpha.0.js → VConfigEditor.vue_vue_type_script_setup_true_lang.DYl7B603.0.0.34-alpha.2.js} +2 -2
- package/dist/interface/VConsole.BA0SOrQC.0.0.34-alpha.2.js +1 -0
- package/dist/interface/VPlayer.CSx272u1.0.0.34-alpha.2.js +4 -0
- package/dist/interface/VPluginCard.Bump1l-o.0.0.34-alpha.2.js +4 -0
- package/dist/interface/{ace-builds.DAtsxZmg.0.0.34-alpha.0.js → ace-builds.CRQWwDGY.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{apexcharts.CuJL_Z73.0.0.34-alpha.0.js → apexcharts.DXGZ805q.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/assets/Cameras.0.0.34-alpha.2.CF0l3cIy.css +1 -0
- package/dist/interface/assets/Console.0.0.34-alpha.2.DJvMOm8N.css +1 -0
- package/dist/interface/assets/NewCamera.0.0.34-alpha.2.W16dakdJ.css +1 -0
- package/dist/interface/assets/VConsole.0.0.34-alpha.2.e0RL6-05.css +1 -0
- package/dist/interface/assets/{VPlayer.0.0.34-alpha.0.Bqxk0BU5.css → VPlayer.0.0.34-alpha.2.Pcy9j9b5.css} +1 -1
- package/dist/interface/assets/VPluginCard.0.0.34-alpha.2.W0BxyDkV.css +1 -0
- package/dist/interface/assets/main.0.0.34-alpha.2.D6i_pncP.css +1 -0
- package/dist/interface/{dnd-core.C0RkhVD8.0.0.34-alpha.0.js → dnd-core.CsRU4im_.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{draggabilly.CJPXfEji.0.0.34-alpha.0.js → draggabilly.l2s5eYjI.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{engine.io-client.DvNvteG8.0.0.34-alpha.0.js → engine.io-client.Dwbs-ZkK.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{ev-emitter.V8vOXEOF.0.0.34-alpha.0.js → ev-emitter.DepL03rS.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{fast-deep-equal.Cu8v9QP1.0.0.34-alpha.0.js → fast-deep-equal.CmcaBmI9.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{highlight.js.BlYBoHvQ.0.0.34-alpha.0.js → highlight.js.DZ1tIawt.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/index.html +31 -31
- package/dist/interface/{linkify-it.e9Xezb7f.0.0.34-alpha.0.js → linkify-it.BGRcCXsE.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/main.CHr8NDgU.0.0.34-alpha.2.js +5 -0
- package/dist/interface/{markdown-it.TYz2Vywi.0.0.34-alpha.0.js → markdown-it.BuMckFhq.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{nprogress.BpOU_abF.0.0.34-alpha.0.js → nprogress.CKm3qYbh.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{pinia.4SaF1m4j.0.0.34-alpha.0.js → pinia.CgXasWeS.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/plugins.OB3Qt6a7.0.0.34-alpha.2.js +1 -0
- package/dist/interface/{qrcode.r6S5KRtW.0.0.34-alpha.0.js → qrcode.xTmFSDRr.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{react-dnd-touch-backend.CTlTDjPd.0.0.34-alpha.0.js → react-dnd-touch-backend.pfTbNVbd.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{rxjs.qNj2ii7F.0.0.34-alpha.0.js → rxjs.D38gERkL.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{socket.io-client.6m8Wx6Gb.0.0.34-alpha.0.js → socket.io-client.DyznceoQ.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{socket.io-parser.C3f8D3GG.0.0.34-alpha.0.js → socket.io-parser.DxT7zcFX.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/sw.js +1 -1
- package/dist/interface/system.DZXlNuRR.0.0.34-alpha.2.js +1 -0
- package/dist/interface/{unidragger.CuhjnRz3.0.0.34-alpha.0.js → unidragger.D0z7py8V.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{v-calendar.Bj3BKKi_.0.0.34-alpha.0.js → v-calendar.B8iX5lRb.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{vee-validate.DmSS7Yyb.0.0.34-alpha.0.js → vee-validate.DKbtKMvz.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{vue-i18n.Bw8XEyfx.0.0.34-alpha.0.js → vue-i18n.BH1Ai61X.0.0.34-alpha.2.js} +3 -3
- package/dist/interface/{vue-inline-svg.T4jTFiI-.0.0.34-alpha.0.js → vue-inline-svg.DuJxxmO_.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{vue-router.FDI0ZN2g.0.0.34-alpha.0.js → vue-router.C0Bd386U.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/vue3-apexcharts.BvLojs3t.0.0.34-alpha.2.js +1 -0
- package/dist/interface/{vue3-dnd.BgXj5sqW.0.0.34-alpha.0.js → vue3-dnd.DMur3pq_.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{vue3-toastify.Bn4mvAn3.0.0.34-alpha.0.js → vue3-toastify.CQn1aNYZ.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/vuetify.BawD4IXx.0.0.34-alpha.2.js +5 -0
- package/dist/server/bin/cameraui.d.ts +3 -2
- package/dist/server/bin/cameraui.js +59 -76
- package/dist/server/bin/cameraui.js.map +1 -1
- package/dist/server/bin/fork.js +1 -4
- package/dist/server/bin/fork.js.map +1 -1
- package/dist/server/bin/installer/win32.js +3 -3
- package/dist/server/bin/installer/win32.js.map +1 -1
- package/dist/server/bin/logger.d.ts +3 -2
- package/dist/server/bin/logger.js +33 -20
- package/dist/server/bin/logger.js.map +1 -1
- package/dist/server/package.json +17 -13
- package/dist/server/requirements.txt +3 -2
- package/dist/server/src/api/controllers/cameras.controller.d.ts +2 -0
- package/dist/server/src/api/controllers/cameras.controller.js +67 -11
- package/dist/server/src/api/controllers/cameras.controller.js.map +1 -1
- package/dist/server/src/api/controllers/frameWorkers.controller.d.ts +1 -1
- package/dist/server/src/api/controllers/frameWorkers.controller.js +14 -6
- package/dist/server/src/api/controllers/frameWorkers.controller.js.map +1 -1
- package/dist/server/src/api/controllers/plugins.controller.d.ts +2 -0
- package/dist/server/src/api/controllers/plugins.controller.js +64 -4
- package/dist/server/src/api/controllers/plugins.controller.js.map +1 -1
- package/dist/server/src/api/controllers/system.controller.d.ts +2 -2
- package/dist/server/src/api/controllers/system.controller.js +18 -40
- package/dist/server/src/api/controllers/system.controller.js.map +1 -1
- package/dist/server/src/api/database/checks.d.ts +55 -0
- package/dist/server/src/api/database/checks.js +183 -0
- package/dist/server/src/api/database/checks.js.map +1 -0
- package/dist/server/src/api/database/index.d.ts +2 -1
- package/dist/server/src/api/database/index.js +6 -2
- package/dist/server/src/api/database/index.js.map +1 -1
- package/dist/server/src/api/database/migration.d.ts +1 -0
- package/dist/server/src/api/database/migration.js +29 -0
- package/dist/server/src/api/database/migration.js.map +1 -1
- package/dist/server/src/api/database/selfcheck.d.ts +48 -0
- package/dist/server/src/api/database/selfcheck.js +398 -0
- package/dist/server/src/api/database/selfcheck.js.map +1 -0
- package/dist/server/src/api/routes/cameras.routes.js +12 -0
- package/dist/server/src/api/routes/cameras.routes.js.map +1 -1
- package/dist/server/src/api/routes/plugins.routes.js +24 -0
- package/dist/server/src/api/routes/plugins.routes.js.map +1 -1
- package/dist/server/src/api/schemas/cameras.schema.d.ts +26 -26
- package/dist/server/src/api/schemas/cameras.schema.js +16 -4
- package/dist/server/src/api/schemas/cameras.schema.js.map +1 -1
- package/dist/server/src/api/services/cameras.service.d.ts +1 -0
- package/dist/server/src/api/services/cameras.service.js +13 -2
- package/dist/server/src/api/services/cameras.service.js.map +1 -1
- package/dist/server/src/api/services/plugins.service.d.ts +1 -0
- package/dist/server/src/api/services/plugins.service.js +8 -3
- package/dist/server/src/api/services/plugins.service.js.map +1 -1
- package/dist/server/src/api/types/index.d.ts +0 -5
- package/dist/server/src/api/websocket/index.js +1 -0
- package/dist/server/src/api/websocket/index.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/logs.d.ts +7 -1
- package/dist/server/src/api/websocket/nsp/logs.js +70 -51
- package/dist/server/src/api/websocket/nsp/logs.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/metrics.d.ts +1 -1
- package/dist/server/src/api/websocket/nsp/metrics.js +15 -13
- package/dist/server/src/api/websocket/nsp/metrics.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/plugins.js +3 -3
- package/dist/server/src/api/websocket/nsp/plugins.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/status.d.ts +1 -1
- package/dist/server/src/api/websocket/nsp/status.js +8 -6
- package/dist/server/src/api/websocket/nsp/status.js.map +1 -1
- package/dist/server/src/api.d.ts +5 -14
- package/dist/server/src/api.js +43 -24
- package/dist/server/src/api.js.map +1 -1
- package/dist/server/src/camera/controller.d.ts +17 -4
- package/dist/server/src/camera/controller.js +113 -25
- package/dist/server/src/camera/controller.js.map +1 -1
- package/dist/server/src/{decoder/worker.d.ts → camera/frameWorker.d.ts} +8 -5
- package/dist/server/src/{decoder/worker.js → camera/frameWorker.js} +126 -56
- package/dist/server/src/camera/frameWorker.js.map +1 -0
- package/dist/server/src/go2rtc/index.js +18 -5
- package/dist/server/src/go2rtc/index.js.map +1 -1
- package/dist/server/src/main.js +23 -52
- package/dist/server/src/main.js.map +1 -1
- package/dist/server/src/nats/index.js +1 -0
- package/dist/server/src/nats/index.js.map +1 -1
- package/dist/server/src/nats/proxy/cameraDevice.d.ts +1 -1
- package/dist/server/src/nats/proxy/cameraDevice.js +35 -43
- package/dist/server/src/nats/proxy/cameraDevice.js.map +1 -1
- package/dist/server/src/nats/proxy/coreManager.d.ts +1 -1
- package/dist/server/src/nats/proxy/coreManager.js +2 -4
- package/dist/server/src/nats/proxy/coreManager.js.map +1 -1
- package/dist/server/src/nats/server.js +31 -19
- package/dist/server/src/nats/server.js.map +1 -1
- package/dist/server/src/plugins/index.d.ts +3 -4
- package/dist/server/src/plugins/index.js +29 -30
- package/dist/server/src/plugins/index.js.map +1 -1
- package/dist/server/src/plugins/plugin.d.ts +5 -0
- package/dist/server/src/plugins/plugin.js +40 -6
- package/dist/server/src/plugins/plugin.js.map +1 -1
- package/dist/server/src/plugins/worker.d.ts +17 -2
- package/dist/server/src/plugins/worker.js +189 -45
- package/dist/server/src/plugins/worker.js.map +1 -1
- package/dist/server/src/services/config/constants.d.ts +1 -0
- package/dist/server/src/services/config/constants.js +3 -2
- package/dist/server/src/services/config/constants.js.map +1 -1
- package/dist/server/src/services/config/index.d.ts +11 -2
- package/dist/server/src/services/config/index.js +57 -9
- package/dist/server/src/services/config/index.js.map +1 -1
- package/dist/server/src/services/config/types.d.ts +7 -0
- package/dist/server/src/services/config/types.js.map +1 -1
- package/localdeps.txt +1 -0
- package/package.json +17 -13
- package/upgrade-server.sh +2 -1
- package/dist/interface/@tanstack.RTx9E9y7.0.0.34-alpha.0.js +0 -1
- package/dist/interface/@vue.DD07jlOO.0.0.34-alpha.0.js +0 -17
- package/dist/interface/Camera.DU8K1N0C.0.0.34-alpha.0.js +0 -1
- package/dist/interface/Cameras.ClJj-LiP.0.0.34-alpha.0.js +0 -1
- package/dist/interface/Camview.CZC51EkR.0.0.34-alpha.0.js +0 -1
- package/dist/interface/Console._P_NhXZc.0.0.34-alpha.0.js +0 -4
- package/dist/interface/Plugin.CG1TNvyW.0.0.34-alpha.0.js +0 -1
- package/dist/interface/Plugins.CMW2b9VP.0.0.34-alpha.0.js +0 -1
- package/dist/interface/Recordings.BeL5j0br.0.0.34-alpha.0.js +0 -1
- package/dist/interface/Recordings.nKhVoEv_.0.0.34-alpha.0.js +0 -1
- package/dist/interface/VConsole.kG4Wm6NV.0.0.34-alpha.0.js +0 -1
- package/dist/interface/VPlayer.BpXzNzAf.0.0.34-alpha.0.js +0 -1
- package/dist/interface/VPluginCard.FMoeWaor.0.0.34-alpha.0.js +0 -4
- package/dist/interface/assets/Cameras.0.0.34-alpha.0.BgZN27ly.css +0 -1
- package/dist/interface/assets/Console.0.0.34-alpha.0.Cc8Jy8yw.css +0 -1
- package/dist/interface/assets/NewCamera.0.0.34-alpha.0.ByGNe7eR.css +0 -1
- package/dist/interface/assets/VConsole.0.0.34-alpha.0.BZT1WyS-.css +0 -1
- package/dist/interface/assets/VPluginCard.0.0.34-alpha.0.BpMChOJT.css +0 -1
- package/dist/interface/assets/main.0.0.34-alpha.0.C1atsWH3.css +0 -1
- package/dist/interface/main.CBun-MVF.0.0.34-alpha.0.js +0 -4
- package/dist/interface/plugins.Btkvninu.0.0.34-alpha.0.js +0 -1
- package/dist/interface/system.C_kiuqo-.0.0.34-alpha.0.js +0 -1
- package/dist/interface/vue3-apexcharts.D3zy1HLu.0.0.34-alpha.0.js +0 -1
- package/dist/interface/vuetify.BZRDiB_v.0.0.34-alpha.0.js +0 -5
- package/dist/server/src/decoder/index.d.ts +0 -11
- package/dist/server/src/decoder/index.js +0 -32
- package/dist/server/src/decoder/index.js.map +0 -1
- package/dist/server/src/decoder/types.d.ts +0 -7
- package/dist/server/src/decoder/types.js +0 -2
- package/dist/server/src/decoder/types.js.map +0 -1
- package/dist/server/src/decoder/worker.js.map +0 -1
- /package/dist/interface/{@babel.l0sNRNKZ.0.0.34-alpha.0.js → @babel.l0sNRNKZ.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{@mdi.C1UTQKuc.0.0.34-alpha.0.js → @mdi.C1UTQKuc.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{@popperjs.l0sNRNKZ.0.0.34-alpha.0.js → @popperjs.l0sNRNKZ.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{@react-dnd.CcwRs9xb.0.0.34-alpha.0.js → @react-dnd.CcwRs9xb.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{@socket.io.Dkula2eQ.0.0.34-alpha.0.js → @socket.io.Dkula2eQ.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{@turf.l0sNRNKZ.0.0.34-alpha.0.js → @turf.l0sNRNKZ.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{@xterm.CRsBeZ-e.0.0.34-alpha.0.js → @xterm.Dv6b8EJg.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/assets/{@vueform.0.0.34-alpha.0.h7tNX9p6.css → @vueform.0.0.34-alpha.2.h7tNX9p6.css} +0 -0
- /package/dist/interface/assets/{@xterm.0.0.34-alpha.0.CGrrDQr5.css → @xterm.0.0.34-alpha.2.CGrrDQr5.css} +0 -0
- /package/dist/interface/assets/{Account.0.0.34-alpha.0.Ce3OmKrC.css → Account.0.0.34-alpha.2.Ce3OmKrC.css} +0 -0
- /package/dist/interface/assets/{Adminpanel.0.0.34-alpha.0.BCpVV7QL.css → Adminpanel.0.0.34-alpha.2.BCpVV7QL.css} +0 -0
- /package/dist/interface/assets/{Backup.0.0.34-alpha.0.BIwaSlv3.css → Backup.0.0.34-alpha.2.BIwaSlv3.css} +0 -0
- /package/dist/interface/assets/{Camera.0.0.34-alpha.0.D49XscoW.css → Camera.0.0.34-alpha.2.D49XscoW.css} +0 -0
- /package/dist/interface/assets/{Camview.0.0.34-alpha.0.BdTE1Iny.css → Camview.0.0.34-alpha.2.BdTE1Iny.css} +0 -0
- /package/dist/interface/assets/{Config.0.0.34-alpha.0.BtdZEuQO.css → Config.0.0.34-alpha.2.BtdZEuQO.css} +0 -0
- /package/dist/interface/assets/{FirstSteps.0.0.34-alpha.0.CCo2y-sU.css → FirstSteps.0.0.34-alpha.2.CCo2y-sU.css} +0 -0
- /package/dist/interface/assets/{Plugin.0.0.34-alpha.0.BtRA6zDt.css → Plugin.0.0.34-alpha.2.BtRA6zDt.css} +0 -0
- /package/dist/interface/assets/{Plugins.0.0.34-alpha.0.Cwu0aGUO.css → Plugins.0.0.34-alpha.2.Cwu0aGUO.css} +0 -0
- /package/dist/interface/assets/{Settings.0.0.34-alpha.0.DTRm1psP.css → Settings.0.0.34-alpha.2.DTRm1psP.css} +0 -0
- /package/dist/interface/assets/{User.0.0.34-alpha.0.DPDcJbx8.css → User.0.0.34-alpha.2.DPDcJbx8.css} +0 -0
- /package/dist/interface/assets/{highlight.0.0.34-alpha.0.DgoK_Xib.css → highlight.0.0.34-alpha.2.DgoK_Xib.css} +0 -0
- /package/dist/interface/assets/{logo-256.0.0.34-alpha.0.BCQk9H1-.png → logo-256.0.0.34-alpha.2.BCQk9H1-.png} +0 -0
- /package/dist/interface/assets/{logo-512.0.0.34-alpha.0.DLKVOU2S.png → logo-512.0.0.34-alpha.2.DLKVOU2S.png} +0 -0
- /package/dist/interface/assets/{logo.0.0.34-alpha.0.DmEiRk0z.png → logo.0.0.34-alpha.2.DmEiRk0z.png} +0 -0
- /package/dist/interface/assets/{mode-json.0.0.34-alpha.0.Br7xisR1.js → mode-json.0.0.34-alpha.2.Br7xisR1.js} +0 -0
- /package/dist/interface/assets/{mode-yaml.0.0.34-alpha.0.CIYL8U3d.js → mode-yaml.0.0.34-alpha.2.CIYL8U3d.js} +0 -0
- /package/dist/interface/assets/{vue3-toastify.0.0.34-alpha.0.DTY1DMRs.css → vue3-toastify.0.0.34-alpha.2.DTY1DMRs.css} +0 -0
- /package/dist/interface/assets/{vuetify.0.0.34-alpha.0.B_k2Rcut.css → vuetify.0.0.34-alpha.2.B_k2Rcut.css} +0 -0
- /package/dist/interface/{axios.C-n2IhIP.0.0.34-alpha.0.js → axios.C-n2IhIP.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{compare-versions.DqEOhma6.0.0.34-alpha.0.js → compare-versions.DqEOhma6.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{dijkstrajs.D_NXgYpA.0.0.34-alpha.0.js → dijkstrajs.D_NXgYpA.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{engine.io-parser.BiEtp6m2.0.0.34-alpha.0.js → engine.io-parser.BiEtp6m2.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{entities.C20TfXL6.0.0.34-alpha.0.js → entities.C20TfXL6.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{get-size.D1dS-IaP.0.0.34-alpha.0.js → get-size.D1dS-IaP.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{mdurl.k9Sl0PQj.0.0.34-alpha.0.js → mdurl.k9Sl0PQj.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{point-in-polygon-hao.l0sNRNKZ.0.0.34-alpha.0.js → point-in-polygon-hao.l0sNRNKZ.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{punycode.js.Dj65hjkv.0.0.34-alpha.0.js → punycode.js.Dj65hjkv.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{react-dnd-html5-backend.1HQjlkwI.0.0.34-alpha.0.js → react-dnd-html5-backend.1HQjlkwI.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{redux.CuxFRhX_.0.0.34-alpha.0.js → redux.CuxFRhX_.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{sweepline-intersections.l0sNRNKZ.0.0.34-alpha.0.js → sweepline-intersections.l0sNRNKZ.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{tslib.9k7AwCpt.0.0.34-alpha.0.js → tslib.9k7AwCpt.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{types.Cz9TaZAP.0.0.34-alpha.0.js → types.Cz9TaZAP.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{uc.micro.kMc2yuuw.0.0.34-alpha.0.js → uc.micro.kMc2yuuw.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{utils.mAKpSMLY.0.0.34-alpha.0.js → utils.mAKpSMLY.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{uuid.DvF23Exx.0.0.34-alpha.0.js → uuid.DvF23Exx.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{vue.l0sNRNKZ.0.0.34-alpha.0.js → vue.l0sNRNKZ.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{zod.DnW1_kUe.0.0.34-alpha.0.js → zod.DnW1_kUe.0.0.34-alpha.2.js} +0 -0
package/dist/interface/{@intlify.8z0ZxsCR.0.0.34-alpha.0.js → @intlify.sEJX3RNi.0.0.34-alpha.2.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* shared v10.0.
|
|
2
|
+
* shared v10.0.4
|
|
3
3
|
* (c) 2024 kazuya kawaguchi
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/const kn=typeof window<"u",Pn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),ft=(e,t,n)=>dt({l:e,k:t,s:n}),dt=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),K=e=>typeof e=="number"&&isFinite(e),mt=e=>Le(e)==="[object Date]",Ae=e=>Le(e)==="[object RegExp]",Ee=e=>P(e)&&Object.keys(e).length===0,q=Object.assign;let Oe;const _t=()=>Oe||(Oe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Se(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const Et=Object.prototype.hasOwnProperty;function Dn(e,t){return Et.call(e,t)}const X=Array.isArray,F=e=>typeof e=="function",b=e=>typeof e=="string",$=e=>typeof e=="boolean",R=e=>e!==null&&typeof e=="object",Lt=e=>R(e)&&F(e.then)&&F(e.catch),$e=Object.prototype.toString,Le=e=>$e.call(e),P=e=>Le(e)==="[object Object]",pt=e=>e==null?"":X(e)||P(e)&&e.toString===$e?JSON.stringify(e,null,2):String(e);function pe(e,t=""){return e.reduce((n,s,i)=>i===0?n+s:n+t+s,"")}function ht(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ae=e=>!R(e)||X(e);function Rn(e,t){if(ae(e)||ae(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:s,des:i}=n.pop();Object.keys(s).forEach(l=>{R(s[l])&&!R(i[l])&&(i[l]=Array.isArray(s[l])?[]:{}),ae(i[l])||ae(s[l])?i[l]=s[l]:n.push({src:s[l],des:i[l]})})}}/*!
|
|
6
|
-
* message-compiler v10.0.
|
|
6
|
+
* message-compiler v10.0.4
|
|
7
7
|
* (c) 2024 kazuya kawaguchi
|
|
8
8
|
* Released under the MIT License.
|
|
9
9
|
*/function Nt(e,t,n){return{line:e,column:t,offset:n}}function de(e,t,n){return{start:e,end:t}}const k={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,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},Tt=17;function he(e,t,n={}){const{domain:s,messages:i,args:l}=n,m=e,_=new SyntaxError(String(m));return _.code=e,t&&(_.location=t),_.domain=s,_}function gt(e){throw e}const x=" ",Ct="\r",W=`
|
|
10
10
|
`,It="\u2028",bt="\u2029";function At(e){const t=e;let n=0,s=1,i=1,l=0;const m=A=>t[A]===Ct&&t[A+1]===W,_=A=>t[A]===W,f=A=>t[A]===bt,L=A=>t[A]===It,I=A=>m(A)||_(A)||f(A)||L(A),C=()=>n,N=()=>s,O=()=>i,y=()=>l,S=A=>m(A)||f(A)||L(A)?W:t[A],T=()=>S(n),c=()=>S(n+l);function d(){return l=0,I(n)&&(s++,i=0),m(n)&&n++,n++,i++,t[n]}function E(){return m(n+l)&&l++,l++,t[n+l]}function o(){n=0,s=1,i=1,l=0}function p(A=0){l=A}function h(){const A=n+l;for(;A!==n;)d();l=0}return{index:C,line:N,column:O,peekOffset:y,charAt:S,currentChar:T,currentPeek:c,next:d,peek:E,reset:o,resetPeek:p,skipToPeek:h}}const Q=void 0,Ot=".",ye="'",St="tokenizer";function yt(e,t={}){const n=t.location!==!1,s=At(e),i=()=>s.index(),l=()=>Nt(s.line(),s.column(),s.index()),m=l(),_=i(),f={currentType:13,offset:_,startLoc:m,endLoc:m,lastType:13,lastOffset:_,lastStartLoc:m,lastEndLoc:m,braceNest:0,inLinked:!1,text:""},L=()=>f,{onError:I}=t;function C(r,a,u,...g){const v=L();if(a.column+=u,a.offset+=u,I){const w=n?de(v.startLoc,a):null,Y=he(r,w,{domain:St,args:g});I(Y)}}function N(r,a,u){r.endLoc=l(),r.currentType=a;const g={type:a};return n&&(g.loc=de(r.startLoc,r.endLoc)),u!=null&&(g.value=u),g}const O=r=>N(r,13);function y(r,a){return r.currentChar()===a?(r.next(),a):(C(k.EXPECTED_TOKEN,l(),0,a),"")}function S(r){let a="";for(;r.currentPeek()===x||r.currentPeek()===W;)a+=r.currentPeek(),r.peek();return a}function T(r){const a=S(r);return r.skipToPeek(),a}function c(r){if(r===Q)return!1;const a=r.charCodeAt(0);return a>=97&&a<=122||a>=65&&a<=90||a===95}function d(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 g=c(r.currentPeek());return r.resetPeek(),g}function o(r,a){const{currentType:u}=a;if(u!==2)return!1;S(r);const g=r.currentPeek()==="-"?r.peek():r.currentPeek(),v=d(g);return r.resetPeek(),v}function p(r,a){const{currentType:u}=a;if(u!==2)return!1;S(r);const g=r.currentPeek()===ye;return r.resetPeek(),g}function h(r,a){const{currentType:u}=a;if(u!==7)return!1;S(r);const g=r.currentPeek()===".";return r.resetPeek(),g}function A(r,a){const{currentType:u}=a;if(u!==8)return!1;S(r);const g=c(r.currentPeek());return r.resetPeek(),g}function D(r,a){const{currentType:u}=a;if(!(u===7||u===11))return!1;S(r);const g=r.currentPeek()===":";return r.resetPeek(),g}function M(r,a){const{currentType:u}=a;if(u!==9)return!1;const g=()=>{const w=r.currentPeek();return w==="{"?c(r.peek()):w==="@"||w==="|"||w===":"||w==="."||w===x||!w?!1:w===W?(r.peek(),g()):j(r,!1)},v=g();return r.resetPeek(),v}function V(r){S(r);const a=r.currentPeek()==="|";return r.resetPeek(),a}function j(r,a=!0){const u=(v=!1,w="")=>{const Y=r.currentPeek();return Y==="{"||Y==="@"||!Y?v:Y==="|"?!(w===x||w===W):Y===x?(r.peek(),u(!0,x)):Y===W?(r.peek(),u(!0,W)):!0},g=u();return a&&r.resetPeek(),g}function U(r,a){const u=r.currentChar();return u===Q?Q:a(u)?(r.next(),u):null}function re(r){const a=r.charCodeAt(0);return a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a===95||a===36}function xe(r){return U(r,re)}function Be(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 Je(r){return U(r,Be)}function Qe(r){const a=r.charCodeAt(0);return a>=48&&a<=57}function qe(r){return U(r,Qe)}function Ze(r){const a=r.charCodeAt(0);return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102}function ze(r){return U(r,Ze)}function Ie(r){let a="",u="";for(;a=qe(r);)u+=a;return u}function et(r){let a="";for(;;){const u=r.currentChar();if(u==="{"||u==="}"||u==="@"||u==="|"||!u)break;if(u===x||u===W)if(j(r))a+=u,r.next();else{if(V(r))break;a+=u,r.next()}else a+=u,r.next()}return a}function tt(r){T(r);let a="",u="";for(;a=Je(r);)u+=a;return r.currentChar()===Q&&C(k.UNTERMINATED_CLOSING_BRACE,l(),0),u}function nt(r){T(r);let a="";return r.currentChar()==="-"?(r.next(),a+=`-${Ie(r)}`):a+=Ie(r),r.currentChar()===Q&&C(k.UNTERMINATED_CLOSING_BRACE,l(),0),a}function rt(r){return r!==ye&&r!==W}function st(r){T(r),y(r,"'");let a="",u="";for(;a=U(r,rt);)a==="\\"?u+=at(r):u+=a;const g=r.currentChar();return g===W||g===Q?(C(k.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,l(),0),g===W&&(r.next(),y(r,"'")),u):(y(r,"'"),u)}function at(r){const a=r.currentChar();switch(a){case"\\":case"'":return r.next(),`\\${a}`;case"u":return be(r,a,4);case"U":return be(r,a,6);default:return C(k.UNKNOWN_ESCAPE_SEQUENCE,l(),0,a),""}}function be(r,a,u){y(r,a);let g="";for(let v=0;v<u;v++){const w=ze(r);if(!w){C(k.INVALID_UNICODE_ESCAPE_SEQUENCE,l(),0,`\\${a}${g}${r.currentChar()}`);break}g+=w}return`\\${a}${g}`}function lt(r){return r!=="{"&&r!=="}"&&r!==x&&r!==W}function ct(r){T(r);let a="",u="";for(;a=U(r,lt);)u+=a;return u}function it(r){let a="",u="";for(;a=xe(r);)u+=a;return u}function ot(r){const a=u=>{const g=r.currentChar();return g==="{"||g==="@"||g==="|"||g==="("||g===")"||!g||g===x?u:(u+=g,r.next(),a(u))};return a("")}function ce(r){T(r);const a=y(r,"|");return T(r),a}function ie(r,a){let u=null;switch(r.currentChar()){case"{":return a.braceNest>=1&&C(k.NOT_ALLOW_NEST_PLACEHOLDER,l(),0),r.next(),u=N(a,2,"{"),T(r),a.braceNest++,u;case"}":return a.braceNest>0&&a.currentType===2&&C(k.EMPTY_PLACEHOLDER,l(),0),r.next(),u=N(a,3,"}"),a.braceNest--,a.braceNest>0&&T(r),a.inLinked&&a.braceNest===0&&(a.inLinked=!1),u;case"@":return a.braceNest>0&&C(k.UNTERMINATED_CLOSING_BRACE,l(),0),u=se(r,a)||O(a),a.braceNest=0,u;default:{let v=!0,w=!0,Y=!0;if(V(r))return a.braceNest>0&&C(k.UNTERMINATED_CLOSING_BRACE,l(),0),u=N(a,1,ce(r)),a.braceNest=0,a.inLinked=!1,u;if(a.braceNest>0&&(a.currentType===4||a.currentType===5||a.currentType===6))return C(k.UNTERMINATED_CLOSING_BRACE,l(),0),a.braceNest=0,oe(r,a);if(v=E(r,a))return u=N(a,4,tt(r)),T(r),u;if(w=o(r,a))return u=N(a,5,nt(r)),T(r),u;if(Y=p(r,a))return u=N(a,6,st(r)),T(r),u;if(!v&&!w&&!Y)return u=N(a,12,ct(r)),C(k.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,u.value),T(r),u;break}}return u}function se(r,a){const{currentType:u}=a;let g=null;const v=r.currentChar();switch((u===7||u===8||u===11||u===9)&&(v===W||v===x)&&C(k.INVALID_LINKED_FORMAT,l(),0),v){case"@":return r.next(),g=N(a,7,"@"),a.inLinked=!0,g;case".":return T(r),r.next(),N(a,8,".");case":":return T(r),r.next(),N(a,9,":");default:return V(r)?(g=N(a,1,ce(r)),a.braceNest=0,a.inLinked=!1,g):h(r,a)||D(r,a)?(T(r),se(r,a)):A(r,a)?(T(r),N(a,11,it(r))):M(r,a)?(T(r),v==="{"?ie(r,a)||g:N(a,10,ot(r))):(u===7&&C(k.INVALID_LINKED_FORMAT,l(),0),a.braceNest=0,a.inLinked=!1,oe(r,a))}}function oe(r,a){let u={type:13};if(a.braceNest>0)return ie(r,a)||O(a);if(a.inLinked)return se(r,a)||O(a);switch(r.currentChar()){case"{":return ie(r,a)||O(a);case"}":return C(k.UNBALANCED_CLOSING_BRACE,l(),0),r.next(),N(a,3,"}");case"@":return se(r,a)||O(a);default:{if(V(r))return u=N(a,1,ce(r)),a.braceNest=0,a.inLinked=!1,u;if(j(r))return N(a,0,et(r));break}}return u}function ut(){const{currentType:r,offset:a,startLoc:u,endLoc:g}=f;return f.lastType=r,f.lastOffset=a,f.lastStartLoc=u,f.lastEndLoc=g,f.offset=i(),f.startLoc=l(),s.currentChar()===Q?N(f,13):oe(s,f)}return{nextToken:ut,currentOffset:i,currentPosition:l,context:L}}const kt="parser",Pt=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Dt(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 Rt(e={}){const t=e.location!==!1,{onError:n}=e;function s(c,d,E,o,...p){const h=c.currentPosition();if(h.offset+=o,h.column+=o,n){const A=t?de(E,h):null,D=he(d,A,{domain:kt,args:p});n(D)}}function i(c,d,E){const o={type:c};return t&&(o.start=d,o.end=d,o.loc={start:E,end:E}),o}function l(c,d,E,o){t&&(c.end=d,c.loc&&(c.loc.end=E))}function m(c,d){const E=c.context(),o=i(3,E.offset,E.startLoc);return o.value=d,l(o,c.currentOffset(),c.currentPosition()),o}function _(c,d){const E=c.context(),{lastOffset:o,lastStartLoc:p}=E,h=i(5,o,p);return h.index=parseInt(d,10),c.nextToken(),l(h,c.currentOffset(),c.currentPosition()),h}function f(c,d){const E=c.context(),{lastOffset:o,lastStartLoc:p}=E,h=i(4,o,p);return h.key=d,c.nextToken(),l(h,c.currentOffset(),c.currentPosition()),h}function L(c,d){const E=c.context(),{lastOffset:o,lastStartLoc:p}=E,h=i(9,o,p);return h.value=d.replace(Pt,Dt),c.nextToken(),l(h,c.currentOffset(),c.currentPosition()),h}function I(c){const d=c.nextToken(),E=c.context(),{lastOffset:o,lastStartLoc:p}=E,h=i(8,o,p);return d.type!==11?(s(c,k.UNEXPECTED_EMPTY_LINKED_MODIFIER,E.lastStartLoc,0),h.value="",l(h,o,p),{nextConsumeToken:d,node:h}):(d.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,H(d)),h.value=d.value||"",l(h,c.currentOffset(),c.currentPosition()),{node:h})}function C(c,d){const E=c.context(),o=i(7,E.offset,E.startLoc);return o.value=d,l(o,c.currentOffset(),c.currentPosition()),o}function N(c){const d=c.context(),E=i(6,d.offset,d.startLoc);let o=c.nextToken();if(o.type===8){const p=I(c);E.modifier=p.node,o=p.nextConsumeToken||c.nextToken()}switch(o.type!==9&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(o)),o=c.nextToken(),o.type===2&&(o=c.nextToken()),o.type){case 10:o.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(o)),E.key=C(c,o.value||"");break;case 4:o.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(o)),E.key=f(c,o.value||"");break;case 5:o.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(o)),E.key=_(c,o.value||"");break;case 6:o.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(o)),E.key=L(c,o.value||"");break;default:{s(c,k.UNEXPECTED_EMPTY_LINKED_KEY,d.lastStartLoc,0);const p=c.context(),h=i(7,p.offset,p.startLoc);return h.value="",l(h,p.offset,p.startLoc),E.key=h,l(E,p.offset,p.startLoc),{nextConsumeToken:o,node:E}}}return l(E,c.currentOffset(),c.currentPosition()),{node:E}}function O(c){const d=c.context(),E=d.currentType===1?c.currentOffset():d.offset,o=d.currentType===1?d.endLoc:d.startLoc,p=i(2,E,o);p.items=[];let h=null;do{const M=h||c.nextToken();switch(h=null,M.type){case 0:M.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(M)),p.items.push(m(c,M.value||""));break;case 5:M.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(M)),p.items.push(_(c,M.value||""));break;case 4:M.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(M)),p.items.push(f(c,M.value||""));break;case 6:M.value==null&&s(c,k.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,H(M)),p.items.push(L(c,M.value||""));break;case 7:{const V=N(c);p.items.push(V.node),h=V.nextConsumeToken||null;break}}}while(d.currentType!==13&&d.currentType!==1);const A=d.currentType===1?d.lastOffset:c.currentOffset(),D=d.currentType===1?d.lastEndLoc:c.currentPosition();return l(p,A,D),p}function y(c,d,E,o){const p=c.context();let h=o.items.length===0;const A=i(1,d,E);A.cases=[],A.cases.push(o);do{const D=O(c);h||(h=D.items.length===0),A.cases.push(D)}while(p.currentType!==13);return h&&s(c,k.MUST_HAVE_MESSAGES_IN_PLURAL,E,0),l(A,c.currentOffset(),c.currentPosition()),A}function S(c){const d=c.context(),{offset:E,startLoc:o}=d,p=O(c);return d.currentType===13?p:y(c,E,o,p)}function T(c){const d=yt(c,q({},e)),E=d.context(),o=i(0,E.offset,E.startLoc);return t&&o.loc&&(o.loc.source=c),o.body=S(d),e.onCacheKey&&(o.cacheKey=e.onCacheKey(c)),E.currentType!==13&&s(d,k.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,c[E.offset]||""),l(o,d.currentOffset(),d.currentPosition()),o}return{parse:T}}function H(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 Mt(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:l=>(n.helpers.add(l),l)}}function ke(e,t){for(let n=0;n<e.length;n++)Ne(e[n],t)}function Ne(e,t){switch(e.type){case 1:ke(e.cases,t),t.helper("plural");break;case 2:ke(e.items,t);break;case 6:{Ne(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 vt(e,t={}){const n=Mt(e);n.helper("normalize"),e.body&&Ne(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function wt(e){const t=e.body;return t.type===2?Pe(t):t.cases.forEach(n=>Pe(n)),e}function Pe(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=pe(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 z(e){switch(e.t=e.type,e.type){case 0:{const t=e;z(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++)z(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++)z(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;z(t.key),t.k=t.key,delete t.key,t.modifier&&(z(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 Ft(e,t){const{sourceMap:n,filename:s,breakLineCode:i,needIndent:l}=t,m=t.location!==!1,_={filename:s,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:l,indentLevel:0};m&&e.loc&&(_.source=e.loc.source);const f=()=>_;function L(T,c){_.code+=T}function I(T,c=!0){const d=c?i:"";L(l?d+" ".repeat(T):d)}function C(T=!0){const c=++_.indentLevel;T&&I(c)}function N(T=!0){const c=--_.indentLevel;T&&I(c)}function O(){I(_.indentLevel)}return{context:f,push:L,indent:C,deindent:N,newline:O,helper:T=>`_${T}`,needIndent:()=>_.needIndent}}function Ut(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ee(e,t.key),t.modifier?(e.push(", "),ee(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Wt(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const i=t.items.length;for(let l=0;l<i&&(ee(e,t.items[l]),l!==i-1);l++)e.push(", ");e.deindent(s()),e.push("])")}function $t(e,t){const{helper:n,needIndent:s}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(s());const i=t.cases.length;for(let l=0;l<i&&(ee(e,t.cases[l]),l!==i-1);l++)e.push(", ");e.deindent(s()),e.push("])")}}function Kt(e,t){t.body?ee(e,t.body):e.push("null")}function ee(e,t){const{helper:n}=e;switch(t.type){case 0:Kt(e,t);break;case 1:$t(e,t);break;case 2:Wt(e,t);break;case 6:Ut(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 Vt=(e,t={})=>{const n=b(t.mode)?t.mode:"normal",s=b(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,l=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
11
11
|
`,m=t.needIndent?t.needIndent:n!=="arrow",_=e.helpers||[],f=Ft(e,{mode:n,filename:s,sourceMap:i,breakLineCode:l,needIndent:m});f.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),f.indent(m),_.length>0&&(f.push(`const { ${pe(_.map(C=>`${C}: _${C}`),", ")} } = ctx`),f.newline()),f.push("return "),ee(f,e),f.deindent(m),f.push("}"),delete e.helpers;const{code:L,map:I}=f.context();return{ast:e,code:L,map:I?I.toJSON():void 0}};function Yt(e,t={}){const n=q({},t),s=!!n.jit,i=!!n.minify,l=n.optimize==null?!0:n.optimize,_=Rt(n).parse(e);return s?(l&&wt(_),i&&z(_),{ast:_,code:""}):(vt(_,n),Vt(_,n))}/*!
|
|
12
|
-
* core-base v10.0.
|
|
12
|
+
* core-base v10.0.4
|
|
13
13
|
* (c) 2024 kazuya kawaguchi
|
|
14
14
|
* Released under the MIT License.
|
|
15
|
-
*/function Gt(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(_t().__INTLIFY_PROD_DEVTOOLS__=!1)}function ue(e){return n=>Xt(n,e)}function Xt(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const s=n,i=s.c||s.cases;return e.plural(i.reduce((l,m)=>[...l,De(e,m)],[]))}else return De(e,n)}function De(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const s=(t.i||t.items).reduce((i,l)=>[...i,me(e,l)],[]);return e.normalize(s)}}function me(e,t){const n=t.t||t.type;switch(n){case 3:{const s=t;return s.v||s.value}case 9:{const s=t;return s.v||s.value}case 4:{const s=t;return e.interpolate(e.named(s.k||s.key))}case 5:{const s=t;return e.interpolate(e.list(s.i!=null?s.i:s.index))}case 6:{const s=t,i=s.m||s.modifier;return e.linked(me(e,s.k||s.key),i?me(e,i):void 0,e.type)}case 7:{const s=t;return s.v||s.value}case 8:{const s=t;return s.v||s.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Ht=e=>e;let le=Object.create(null);const te=e=>R(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function jt(e,t={}){let n=!1;const s=t.onError||gt;return t.onError=i=>{n=!0,s(i)},{...Yt(e,t),detectError:n}}function Mn(e,t){if(b(e)){$(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||Ht)(e),i=le[s];if(i)return i;const{ast:l,detectError:m}=jt(e,{...t,location:!1,jit:!0}),_=ue(l);return m?_:le[s]=_}else{const n=e.cacheKey;if(n){const s=le[n];return s||(le[n]=ue(e))}else return ue(e)}}let ne=null;function vn(e){ne=e}function xt(e,t,n){ne&&ne.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Bt=Jt("function:translate");function Jt(e){return t=>ne&&ne.emit(e,t)}const B={INVALID_ARGUMENT:Tt,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},wn=24;function J(e){return he(e,null,void 0)}function Te(e,t){return t.locale!=null?Re(t.locale):Re(e.locale)}let fe;function Re(e){if(b(e))return e;if(F(e)){if(e.resolvedOnce&&fe!=null)return fe;if(e.constructor.name==="Function"){const t=e();if(Lt(t))throw J(B.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return fe=t}else throw J(B.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw J(B.NOT_SUPPORT_LOCALE_TYPE)}function Qt(e,t,n){return[...new Set([n,...X(t)?t:R(t)?Object.keys(t):b(t)?[t]:[n]])]}function Fn(e,t,n){const s=b(n)?n:_e,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let l=i.__localeChainCache.get(s);if(!l){l=[];let m=[n];for(;X(m);)m=Me(l,m,t);const _=X(t)||!P(t)?t:t.default?t.default:null;m=b(_)?[_]:_,X(m)&&Me(l,m,!1),i.__localeChainCache.set(s,l)}return l}function Me(e,t,n){let s=!0;for(let i=0;i<t.length&&$(s);i++){const l=t[i];b(l)&&(s=qt(e,t[i],n))}return s}function qt(e,t,n){let s;const i=t.split("-");do{const l=i.join("-");s=Zt(e,l,n),i.splice(-1,1)}while(i.length&&s===!0);return s}function Zt(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(X(n)||P(n))&&n[i]&&(s=n[i])}return s}const Z=[];Z[0]={w:[0],i:[3,0],"[":[4],o:[7]};Z[1]={w:[1],".":[2],"[":[4],o:[7]};Z[2]={w:[2],i:[3,0],0:[3,0]};Z[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Z[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Z[5]={"'":[4,0],o:8,l:[5,0]};Z[6]={'"':[4,0],o:8,l:[6,0]};const zt=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function en(e){return zt.test(e)}function tn(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 nn(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 rn(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:en(t)?tn(t):"*"+t}function sn(e){const t=[];let n=-1,s=0,i=0,l,m,_,f,L,I,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](),i++},N[3]=()=>{if(i>0)i--,s=4,N[0]();else{if(i=0,m===void 0||(m=rn(m),m===!1))return!1;N[1]()}};function O(){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==="\\"&&O())){if(f=nn(l),C=Z[s],L=C[f]||C.l||8,L===8||(s=L[0],L[1]!==void 0&&(I=N[L[1]],I&&(_=l,I()===!1))))return;if(s===7)return t}}const ve=new Map;function an(e,t){return R(e)?e[t]:null}function Un(e,t){if(!R(e))return null;let n=ve.get(t);if(n||(n=sn(t),n&&ve.set(t,n)),!n)return null;const s=n.length;let i=e,l=0;for(;l<s;){const m=i[n[l]];if(m===void 0||F(i))return null;i=m,l++}return i}const ln="10.0.3",ge=-1,_e="en-US",Wn="",we=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function cn(){return{upper:(e,t)=>t==="text"&&b(e)?e.toUpperCase():t==="vnode"&&R(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&b(e)?e.toLowerCase():t==="vnode"&&R(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&b(e)?we(e):t==="vnode"&&R(e)&&"__v_isVNode"in e?we(e.children):e}}let Ke;function $n(e){Ke=e}let Ve;function Kn(e){Ve=e}let Ye;function Vn(e){Ye=e}let Ge=null;const Yn=e=>{Ge=e},on=()=>Ge;let Xe=null;const Gn=e=>{Xe=e},Xn=()=>Xe;let Fe=0;function Hn(e={}){const t=F(e.onWarn)?e.onWarn:ht,n=b(e.version)?e.version:ln,s=b(e.locale)||F(e.locale)?e.locale:_e,i=F(s)?_e:s,l=X(e.fallbackLocale)||P(e.fallbackLocale)||b(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,m=P(e.messages)?e.messages:{[i]:{}},_=P(e.datetimeFormats)?e.datetimeFormats:{[i]:{}},f=P(e.numberFormats)?e.numberFormats:{[i]:{}},L=q({},e.modifiers||{},cn()),I=e.pluralRules||{},C=F(e.missing)?e.missing:null,N=$(e.missingWarn)||Ae(e.missingWarn)?e.missingWarn:!0,O=$(e.fallbackWarn)||Ae(e.fallbackWarn)?e.fallbackWarn:!0,y=!!e.fallbackFormat,S=!!e.unresolving,T=F(e.postTranslation)?e.postTranslation:null,c=P(e.processor)?e.processor:null,d=$(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,o=F(e.messageCompiler)?e.messageCompiler:Ke,p=F(e.messageResolver)?e.messageResolver:Ve||an,h=F(e.localeFallbacker)?e.localeFallbacker:Ye||Qt,A=R(e.fallbackContext)?e.fallbackContext:void 0,D=e,M=R(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,V=R(D.__numberFormatters)?D.__numberFormatters:new Map,j=R(D.__meta)?D.__meta:{};Fe++;const U={version:n,cid:Fe,locale:s,fallbackLocale:l,messages:m,modifiers:L,pluralRules:I,missing:C,missingWarn:N,fallbackWarn:O,fallbackFormat:y,unresolving:S,postTranslation:T,processor:c,warnHtmlMessage:d,escapeParameter:E,messageCompiler:o,messageResolver:p,localeFallbacker:h,fallbackContext:A,onWarn:t,__meta:j};return U.datetimeFormats=_,U.numberFormats=f,U.__datetimeFormatters=M,U.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&xt(U,n,j),U}function Ce(e,t,n,s,i){const{missing:l,onWarn:m}=e;if(l!==null){const _=l(e,n,t,i);return b(_)?_:t}else return t}function jn(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function un(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function fn(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(un(e,t[s]))return!0;return!1}function xn(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:i,onWarn:l,localeFallbacker:m}=e,{__datetimeFormatters:_}=e,[f,L,I,C]=mn(...t),N=$(I.missingWarn)?I.missingWarn:e.missingWarn;$(I.fallbackWarn)?I.fallbackWarn:e.fallbackWarn;const O=!!I.part,y=Te(e,I),S=m(e,i,y);if(!b(f)||f==="")return new Intl.DateTimeFormat(y,C).format(L);let T={},c,d=null;const E="datetime format";for(let h=0;h<S.length&&(c=S[h],T=n[c]||{},d=T[f],!P(d));h++)Ce(e,f,c,N,E);if(!P(d)||!b(c))return s?ge:f;let o=`${c}__${f}`;Ee(C)||(o=`${o}__${JSON.stringify(C)}`);let p=_.get(o);return p||(p=new Intl.DateTimeFormat(c,q({},d,C)),_.set(o,p)),O?p.formatToParts(L):p.format(L)}const dn=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function mn(...e){const[t,n,s,i]=e,l={};let m={},_;if(b(t)){const f=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!f)throw J(B.INVALID_ISO_DATE_ARGUMENT);const L=f[3]?f[3].trim().startsWith("T")?`${f[1].trim()}${f[3].trim()}`:`${f[1].trim()}T${f[3].trim()}`:f[1].trim();_=new Date(L);try{_.toISOString()}catch{throw J(B.INVALID_ISO_DATE_ARGUMENT)}}else if(mt(t)){if(isNaN(t.getTime()))throw J(B.INVALID_DATE_ARGUMENT);_=t}else if(K(t))_=t;else throw J(B.INVALID_ARGUMENT);return b(n)?l.key=n:P(n)&&Object.keys(n).forEach(f=>{dn.includes(f)?m[f]=n[f]:l[f]=n[f]}),b(s)?l.locale=s:P(s)&&(m=s),P(i)&&(m=i),[l.key||"",_,l,m]}function Bn(e,t,n){const s=e;for(const i in n){const l=`${t}__${i}`;s.__datetimeFormatters.has(l)&&s.__datetimeFormatters.delete(l)}}function Jn(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:i,onWarn:l,localeFallbacker:m}=e,{__numberFormatters:_}=e,[f,L,I,C]=En(...t),N=$(I.missingWarn)?I.missingWarn:e.missingWarn;$(I.fallbackWarn)?I.fallbackWarn:e.fallbackWarn;const O=!!I.part,y=Te(e,I),S=m(e,i,y);if(!b(f)||f==="")return new Intl.NumberFormat(y,C).format(L);let T={},c,d=null;const E="number format";for(let h=0;h<S.length&&(c=S[h],T=n[c]||{},d=T[f],!P(d));h++)Ce(e,f,c,N,E);if(!P(d)||!b(c))return s?ge:f;let o=`${c}__${f}`;Ee(C)||(o=`${o}__${JSON.stringify(C)}`);let p=_.get(o);return p||(p=new Intl.NumberFormat(c,q({},d,C)),_.set(o,p)),O?p.formatToParts(L):p.format(L)}const _n=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function En(...e){const[t,n,s,i]=e,l={};let m={};if(!K(t))throw J(B.INVALID_ARGUMENT);const _=t;return b(n)?l.key=n:P(n)&&Object.keys(n).forEach(f=>{_n.includes(f)?m[f]=n[f]:l[f]=n[f]}),b(s)?l.locale=s:P(s)&&(m=s),P(i)&&(m=i),[l.key||"",_,l,m]}function Qn(e,t,n){const s=e;for(const i in n){const l=`${t}__${i}`;s.__numberFormatters.has(l)&&s.__numberFormatters.delete(l)}}const Ln=e=>e,pn=e=>"",hn="text",Nn=e=>e.length===0?"":pe(e),Tn=pt;function Ue(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function gn(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 Cn(e,t){t.count||(t.count=e),t.n||(t.n=e)}function In(e={}){const t=e.locale,n=gn(e),s=R(e.pluralRules)&&b(t)&&F(e.pluralRules[t])?e.pluralRules[t]:Ue,i=R(e.pluralRules)&&b(t)&&F(e.pluralRules[t])?Ue:void 0,l=c=>c[s(n,c.length,i)],m=e.list||[],_=c=>m[c],f=e.named||{};K(e.pluralIndex)&&Cn(n,f);const L=c=>f[c];function I(c,d){const E=F(e.messages)?e.messages(c,!!d):R(e.messages)?e.messages[c]:!1;return E||(e.parent?e.parent.message(c):pn)}const C=c=>e.modifiers?e.modifiers[c]:Ln,N=P(e.processor)&&F(e.processor.normalize)?e.processor.normalize:Nn,O=P(e.processor)&&F(e.processor.interpolate)?e.processor.interpolate:Tn,y=P(e.processor)&&b(e.processor.type)?e.processor.type:hn,T={list:_,named:L,plural:l,linked:(c,...d)=>{const[E,o]=d;let p="text",h="";d.length===1?R(E)?(h=E.modifier||h,p=E.type||p):b(E)&&(h=E||h):d.length===2&&(b(E)&&(h=E||h),b(o)&&(p=o||p));const A=I(c,!0)(T),D=p==="vnode"&&X(A)&&h?A[0]:A;return h?C(h)(D,p):D},message:I,type:y,interpolate:O,normalize:N,values:q({},m,f)};return T}const We=()=>"",G=e=>F(e);function qn(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:i,messageCompiler:l,fallbackLocale:m,messages:_}=e,[f,L]=On(...t),I=$(L.missingWarn)?L.missingWarn:e.missingWarn,C=$(L.fallbackWarn)?L.fallbackWarn:e.fallbackWarn,N=$(L.escapeParameter)?L.escapeParameter:e.escapeParameter,O=!!L.resolvedMessage,y=b(L.default)||$(L.default)?$(L.default)?l?f:()=>f:L.default:n?l?f:()=>f:null,S=n||y!=null&&(b(y)||F(y)),T=Te(e,L);N&&bn(L);let[c,d,E]=O?[f,T,_[T]||{}]:He(e,f,T,m,C,I),o=c,p=f;if(!O&&!(b(o)||te(o)||G(o))&&S&&(o=y,p=o),!O&&(!(b(o)||te(o)||G(o))||!b(d)))return i?ge:f;let h=!1;const A=()=>{h=!0},D=G(o)?o:je(e,f,d,o,p,A);if(h)return o;const M=yn(e,d,E,L),V=In(M),j=An(e,D,V),U=s?s(j,f):j;if(__INTLIFY_PROD_DEVTOOLS__){const re={timestamp:Date.now(),key:b(f)?f:G(o)?o.key:"",locale:d||(G(o)?o.locale:""),format:b(o)?o:G(o)?o.source:"",message:U};re.meta=q({},e.__meta,on()||{}),Bt(re)}return U}function bn(e){X(e.list)?e.list=e.list.map(t=>b(t)?Se(t):t):R(e.named)&&Object.keys(e.named).forEach(t=>{b(e.named[t])&&(e.named[t]=Se(e.named[t]))})}function He(e,t,n,s,i,l){const{messages:m,onWarn:_,messageResolver:f,localeFallbacker:L}=e,I=L(e,s,n);let C={},N,O=null;const y="translate";for(let S=0;S<I.length&&(N=I[S],C=m[N]||{},(O=f(C,t))===null&&(O=C[t]),!(b(O)||te(O)||G(O)));S++)if(!fn(N,I)){const T=Ce(e,t,N,l,y);T!==t&&(O=T)}return[O,N,C]}function je(e,t,n,s,i,l){const{messageCompiler:m,warnHtmlMessage:_}=e;if(G(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 f=m(s,Sn(e,n,i,s,_,l));return f.locale=n,f.key=t,f.source=s,f}function An(e,t,n){return t(n)}function On(...e){const[t,n,s]=e,i={};if(!b(t)&&!K(t)&&!G(t)&&!te(t))throw J(B.INVALID_ARGUMENT);const l=K(t)?String(t):(G(t),t);return K(n)?i.plural=n:b(n)?i.default=n:P(n)&&!Ee(n)?i.named=n:X(n)&&(i.list=n),K(s)?i.plural=s:b(s)?i.default=s:P(s)&&q(i,s),[l,i]}function Sn(e,t,n,s,i,l){return{locale:t,key:n,warnHtmlMessage:i,onError:m=>{throw l&&l(m),m},onCacheKey:m=>ft(t,n,m)}}function yn(e,t,n,s){const{modifiers:i,pluralRules:l,messageResolver:m,fallbackLocale:_,fallbackWarn:f,missingWarn:L,fallbackContext:I}=e,N={locale:t,modifiers:i,pluralRules:l,messages:(O,y)=>{let S=m(n,O);if(S==null&&(I||y)){const[,,T]=He(I||e,O,t,_,f,L);S=m(T,O)}if(b(S)||te(S)){let T=!1;const d=je(e,O,t,S,O,()=>{T=!0});return T?We:d}else return G(S)?S:We}};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}Gt();export{qn as A,mn as B,wn as C,_e as D,xn as E,En as F,Jn as G,te as H,G as I,Fn as J,$n as K,Kn as L,Wn as M,_n as N,Vn as O,Gn as P,Mn as Q,Un as R,q as a,b,R as c,$ as d,he as e,X as f,_t as g,P as h,K as i,Ae as j,F as k,kn as l,Pn as m,dn as n,Ee as o,Rn as p,Dn as q,Hn as r,vn as s,Bn as t,jn as u,Qn as v,Yn as w,Xn as x,ge as y,On as z};
|
|
15
|
+
*/function Gt(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(_t().__INTLIFY_PROD_DEVTOOLS__=!1)}function ue(e){return n=>Xt(n,e)}function Xt(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const s=n,i=s.c||s.cases;return e.plural(i.reduce((l,m)=>[...l,De(e,m)],[]))}else return De(e,n)}function De(e,t){const n=t.s||t.static;if(n!=null)return e.type==="text"?n:e.normalize([n]);{const s=(t.i||t.items).reduce((i,l)=>[...i,me(e,l)],[]);return e.normalize(s)}}function me(e,t){const n=t.t||t.type;switch(n){case 3:{const s=t;return s.v||s.value}case 9:{const s=t;return s.v||s.value}case 4:{const s=t;return e.interpolate(e.named(s.k||s.key))}case 5:{const s=t;return e.interpolate(e.list(s.i!=null?s.i:s.index))}case 6:{const s=t,i=s.m||s.modifier;return e.linked(me(e,s.k||s.key),i?me(e,i):void 0,e.type)}case 7:{const s=t;return s.v||s.value}case 8:{const s=t;return s.v||s.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Ht=e=>e;let le=Object.create(null);const te=e=>R(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function jt(e,t={}){let n=!1;const s=t.onError||gt;return t.onError=i=>{n=!0,s(i)},{...Yt(e,t),detectError:n}}function Mn(e,t){if(b(e)){$(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||Ht)(e),i=le[s];if(i)return i;const{ast:l,detectError:m}=jt(e,{...t,location:!1,jit:!0}),_=ue(l);return m?_:le[s]=_}else{const n=e.cacheKey;if(n){const s=le[n];return s||(le[n]=ue(e))}else return ue(e)}}let ne=null;function vn(e){ne=e}function xt(e,t,n){ne&&ne.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Bt=Jt("function:translate");function Jt(e){return t=>ne&&ne.emit(e,t)}const B={INVALID_ARGUMENT:Tt,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},wn=24;function J(e){return he(e,null,void 0)}function Te(e,t){return t.locale!=null?Re(t.locale):Re(e.locale)}let fe;function Re(e){if(b(e))return e;if(F(e)){if(e.resolvedOnce&&fe!=null)return fe;if(e.constructor.name==="Function"){const t=e();if(Lt(t))throw J(B.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return fe=t}else throw J(B.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw J(B.NOT_SUPPORT_LOCALE_TYPE)}function Qt(e,t,n){return[...new Set([n,...X(t)?t:R(t)?Object.keys(t):b(t)?[t]:[n]])]}function Fn(e,t,n){const s=b(n)?n:_e,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let l=i.__localeChainCache.get(s);if(!l){l=[];let m=[n];for(;X(m);)m=Me(l,m,t);const _=X(t)||!P(t)?t:t.default?t.default:null;m=b(_)?[_]:_,X(m)&&Me(l,m,!1),i.__localeChainCache.set(s,l)}return l}function Me(e,t,n){let s=!0;for(let i=0;i<t.length&&$(s);i++){const l=t[i];b(l)&&(s=qt(e,t[i],n))}return s}function qt(e,t,n){let s;const i=t.split("-");do{const l=i.join("-");s=Zt(e,l,n),i.splice(-1,1)}while(i.length&&s===!0);return s}function Zt(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(X(n)||P(n))&&n[i]&&(s=n[i])}return s}const Z=[];Z[0]={w:[0],i:[3,0],"[":[4],o:[7]};Z[1]={w:[1],".":[2],"[":[4],o:[7]};Z[2]={w:[2],i:[3,0],0:[3,0]};Z[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Z[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Z[5]={"'":[4,0],o:8,l:[5,0]};Z[6]={'"':[4,0],o:8,l:[6,0]};const zt=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function en(e){return zt.test(e)}function tn(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 nn(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 rn(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:en(t)?tn(t):"*"+t}function sn(e){const t=[];let n=-1,s=0,i=0,l,m,_,f,L,I,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](),i++},N[3]=()=>{if(i>0)i--,s=4,N[0]();else{if(i=0,m===void 0||(m=rn(m),m===!1))return!1;N[1]()}};function O(){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==="\\"&&O())){if(f=nn(l),C=Z[s],L=C[f]||C.l||8,L===8||(s=L[0],L[1]!==void 0&&(I=N[L[1]],I&&(_=l,I()===!1))))return;if(s===7)return t}}const ve=new Map;function an(e,t){return R(e)?e[t]:null}function Un(e,t){if(!R(e))return null;let n=ve.get(t);if(n||(n=sn(t),n&&ve.set(t,n)),!n)return null;const s=n.length;let i=e,l=0;for(;l<s;){const m=i[n[l]];if(m===void 0||F(i))return null;i=m,l++}return i}const ln="10.0.4",ge=-1,_e="en-US",Wn="",we=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function cn(){return{upper:(e,t)=>t==="text"&&b(e)?e.toUpperCase():t==="vnode"&&R(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&b(e)?e.toLowerCase():t==="vnode"&&R(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&b(e)?we(e):t==="vnode"&&R(e)&&"__v_isVNode"in e?we(e.children):e}}let Ke;function $n(e){Ke=e}let Ve;function Kn(e){Ve=e}let Ye;function Vn(e){Ye=e}let Ge=null;const Yn=e=>{Ge=e},on=()=>Ge;let Xe=null;const Gn=e=>{Xe=e},Xn=()=>Xe;let Fe=0;function Hn(e={}){const t=F(e.onWarn)?e.onWarn:ht,n=b(e.version)?e.version:ln,s=b(e.locale)||F(e.locale)?e.locale:_e,i=F(s)?_e:s,l=X(e.fallbackLocale)||P(e.fallbackLocale)||b(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,m=P(e.messages)?e.messages:{[i]:{}},_=P(e.datetimeFormats)?e.datetimeFormats:{[i]:{}},f=P(e.numberFormats)?e.numberFormats:{[i]:{}},L=q({},e.modifiers||{},cn()),I=e.pluralRules||{},C=F(e.missing)?e.missing:null,N=$(e.missingWarn)||Ae(e.missingWarn)?e.missingWarn:!0,O=$(e.fallbackWarn)||Ae(e.fallbackWarn)?e.fallbackWarn:!0,y=!!e.fallbackFormat,S=!!e.unresolving,T=F(e.postTranslation)?e.postTranslation:null,c=P(e.processor)?e.processor:null,d=$(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter,o=F(e.messageCompiler)?e.messageCompiler:Ke,p=F(e.messageResolver)?e.messageResolver:Ve||an,h=F(e.localeFallbacker)?e.localeFallbacker:Ye||Qt,A=R(e.fallbackContext)?e.fallbackContext:void 0,D=e,M=R(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,V=R(D.__numberFormatters)?D.__numberFormatters:new Map,j=R(D.__meta)?D.__meta:{};Fe++;const U={version:n,cid:Fe,locale:s,fallbackLocale:l,messages:m,modifiers:L,pluralRules:I,missing:C,missingWarn:N,fallbackWarn:O,fallbackFormat:y,unresolving:S,postTranslation:T,processor:c,warnHtmlMessage:d,escapeParameter:E,messageCompiler:o,messageResolver:p,localeFallbacker:h,fallbackContext:A,onWarn:t,__meta:j};return U.datetimeFormats=_,U.numberFormats=f,U.__datetimeFormatters=M,U.__numberFormatters=V,__INTLIFY_PROD_DEVTOOLS__&&xt(U,n,j),U}function Ce(e,t,n,s,i){const{missing:l,onWarn:m}=e;if(l!==null){const _=l(e,n,t,i);return b(_)?_:t}else return t}function jn(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function un(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function fn(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(un(e,t[s]))return!0;return!1}function xn(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:i,onWarn:l,localeFallbacker:m}=e,{__datetimeFormatters:_}=e,[f,L,I,C]=mn(...t),N=$(I.missingWarn)?I.missingWarn:e.missingWarn;$(I.fallbackWarn)?I.fallbackWarn:e.fallbackWarn;const O=!!I.part,y=Te(e,I),S=m(e,i,y);if(!b(f)||f==="")return new Intl.DateTimeFormat(y,C).format(L);let T={},c,d=null;const E="datetime format";for(let h=0;h<S.length&&(c=S[h],T=n[c]||{},d=T[f],!P(d));h++)Ce(e,f,c,N,E);if(!P(d)||!b(c))return s?ge:f;let o=`${c}__${f}`;Ee(C)||(o=`${o}__${JSON.stringify(C)}`);let p=_.get(o);return p||(p=new Intl.DateTimeFormat(c,q({},d,C)),_.set(o,p)),O?p.formatToParts(L):p.format(L)}const dn=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function mn(...e){const[t,n,s,i]=e,l={};let m={},_;if(b(t)){const f=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!f)throw J(B.INVALID_ISO_DATE_ARGUMENT);const L=f[3]?f[3].trim().startsWith("T")?`${f[1].trim()}${f[3].trim()}`:`${f[1].trim()}T${f[3].trim()}`:f[1].trim();_=new Date(L);try{_.toISOString()}catch{throw J(B.INVALID_ISO_DATE_ARGUMENT)}}else if(mt(t)){if(isNaN(t.getTime()))throw J(B.INVALID_DATE_ARGUMENT);_=t}else if(K(t))_=t;else throw J(B.INVALID_ARGUMENT);return b(n)?l.key=n:P(n)&&Object.keys(n).forEach(f=>{dn.includes(f)?m[f]=n[f]:l[f]=n[f]}),b(s)?l.locale=s:P(s)&&(m=s),P(i)&&(m=i),[l.key||"",_,l,m]}function Bn(e,t,n){const s=e;for(const i in n){const l=`${t}__${i}`;s.__datetimeFormatters.has(l)&&s.__datetimeFormatters.delete(l)}}function Jn(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:i,onWarn:l,localeFallbacker:m}=e,{__numberFormatters:_}=e,[f,L,I,C]=En(...t),N=$(I.missingWarn)?I.missingWarn:e.missingWarn;$(I.fallbackWarn)?I.fallbackWarn:e.fallbackWarn;const O=!!I.part,y=Te(e,I),S=m(e,i,y);if(!b(f)||f==="")return new Intl.NumberFormat(y,C).format(L);let T={},c,d=null;const E="number format";for(let h=0;h<S.length&&(c=S[h],T=n[c]||{},d=T[f],!P(d));h++)Ce(e,f,c,N,E);if(!P(d)||!b(c))return s?ge:f;let o=`${c}__${f}`;Ee(C)||(o=`${o}__${JSON.stringify(C)}`);let p=_.get(o);return p||(p=new Intl.NumberFormat(c,q({},d,C)),_.set(o,p)),O?p.formatToParts(L):p.format(L)}const _n=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function En(...e){const[t,n,s,i]=e,l={};let m={};if(!K(t))throw J(B.INVALID_ARGUMENT);const _=t;return b(n)?l.key=n:P(n)&&Object.keys(n).forEach(f=>{_n.includes(f)?m[f]=n[f]:l[f]=n[f]}),b(s)?l.locale=s:P(s)&&(m=s),P(i)&&(m=i),[l.key||"",_,l,m]}function Qn(e,t,n){const s=e;for(const i in n){const l=`${t}__${i}`;s.__numberFormatters.has(l)&&s.__numberFormatters.delete(l)}}const Ln=e=>e,pn=e=>"",hn="text",Nn=e=>e.length===0?"":pe(e),Tn=pt;function Ue(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function gn(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 Cn(e,t){t.count||(t.count=e),t.n||(t.n=e)}function In(e={}){const t=e.locale,n=gn(e),s=R(e.pluralRules)&&b(t)&&F(e.pluralRules[t])?e.pluralRules[t]:Ue,i=R(e.pluralRules)&&b(t)&&F(e.pluralRules[t])?Ue:void 0,l=c=>c[s(n,c.length,i)],m=e.list||[],_=c=>m[c],f=e.named||{};K(e.pluralIndex)&&Cn(n,f);const L=c=>f[c];function I(c,d){const E=F(e.messages)?e.messages(c,!!d):R(e.messages)?e.messages[c]:!1;return E||(e.parent?e.parent.message(c):pn)}const C=c=>e.modifiers?e.modifiers[c]:Ln,N=P(e.processor)&&F(e.processor.normalize)?e.processor.normalize:Nn,O=P(e.processor)&&F(e.processor.interpolate)?e.processor.interpolate:Tn,y=P(e.processor)&&b(e.processor.type)?e.processor.type:hn,T={list:_,named:L,plural:l,linked:(c,...d)=>{const[E,o]=d;let p="text",h="";d.length===1?R(E)?(h=E.modifier||h,p=E.type||p):b(E)&&(h=E||h):d.length===2&&(b(E)&&(h=E||h),b(o)&&(p=o||p));const A=I(c,!0)(T),D=p==="vnode"&&X(A)&&h?A[0]:A;return h?C(h)(D,p):D},message:I,type:y,interpolate:O,normalize:N,values:q({},m,f)};return T}const We=()=>"",G=e=>F(e);function qn(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:i,messageCompiler:l,fallbackLocale:m,messages:_}=e,[f,L]=On(...t),I=$(L.missingWarn)?L.missingWarn:e.missingWarn,C=$(L.fallbackWarn)?L.fallbackWarn:e.fallbackWarn,N=$(L.escapeParameter)?L.escapeParameter:e.escapeParameter,O=!!L.resolvedMessage,y=b(L.default)||$(L.default)?$(L.default)?l?f:()=>f:L.default:n?l?f:()=>f:null,S=n||y!=null&&(b(y)||F(y)),T=Te(e,L);N&&bn(L);let[c,d,E]=O?[f,T,_[T]||{}]:He(e,f,T,m,C,I),o=c,p=f;if(!O&&!(b(o)||te(o)||G(o))&&S&&(o=y,p=o),!O&&(!(b(o)||te(o)||G(o))||!b(d)))return i?ge:f;let h=!1;const A=()=>{h=!0},D=G(o)?o:je(e,f,d,o,p,A);if(h)return o;const M=yn(e,d,E,L),V=In(M),j=An(e,D,V),U=s?s(j,f):j;if(__INTLIFY_PROD_DEVTOOLS__){const re={timestamp:Date.now(),key:b(f)?f:G(o)?o.key:"",locale:d||(G(o)?o.locale:""),format:b(o)?o:G(o)?o.source:"",message:U};re.meta=q({},e.__meta,on()||{}),Bt(re)}return U}function bn(e){X(e.list)?e.list=e.list.map(t=>b(t)?Se(t):t):R(e.named)&&Object.keys(e.named).forEach(t=>{b(e.named[t])&&(e.named[t]=Se(e.named[t]))})}function He(e,t,n,s,i,l){const{messages:m,onWarn:_,messageResolver:f,localeFallbacker:L}=e,I=L(e,s,n);let C={},N,O=null;const y="translate";for(let S=0;S<I.length&&(N=I[S],C=m[N]||{},(O=f(C,t))===null&&(O=C[t]),!(b(O)||te(O)||G(O)));S++)if(!fn(N,I)){const T=Ce(e,t,N,l,y);T!==t&&(O=T)}return[O,N,C]}function je(e,t,n,s,i,l){const{messageCompiler:m,warnHtmlMessage:_}=e;if(G(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 f=m(s,Sn(e,n,i,s,_,l));return f.locale=n,f.key=t,f.source=s,f}function An(e,t,n){return t(n)}function On(...e){const[t,n,s]=e,i={};if(!b(t)&&!K(t)&&!G(t)&&!te(t))throw J(B.INVALID_ARGUMENT);const l=K(t)?String(t):(G(t),t);return K(n)?i.plural=n:b(n)?i.default=n:P(n)&&!Ee(n)?i.named=n:X(n)&&(i.list=n),K(s)?i.plural=s:b(s)?i.default=s:P(s)&&q(i,s),[l,i]}function Sn(e,t,n,s,i,l){return{locale:t,key:n,warnHtmlMessage:i,onError:m=>{throw l&&l(m),m},onCacheKey:m=>ft(t,n,m)}}function yn(e,t,n,s){const{modifiers:i,pluralRules:l,messageResolver:m,fallbackLocale:_,fallbackWarn:f,missingWarn:L,fallbackContext:I}=e,N={locale:t,modifiers:i,pluralRules:l,messages:(O,y)=>{let S=m(n,O);if(S==null&&(I||y)){const[,,T]=He(I||e,O,t,_,f,L);S=m(T,O)}if(b(S)||te(S)){let T=!1;const d=je(e,O,t,S,O,()=>{T=!0});return T?We:d}else return G(S)?S:We}};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}Gt();export{qn as A,mn as B,wn as C,_e as D,xn as E,En as F,Jn as G,te as H,G as I,Fn as J,$n as K,Kn as L,Wn as M,_n as N,Vn as O,Gn as P,Mn as Q,Un as R,q as a,b,R as c,$ as d,he as e,X as f,_t as g,P as h,K as i,Ae as j,F as k,kn as l,Pn as m,dn as n,Ee as o,Rn as p,Dn as q,Hn as r,vn as s,Bn as t,jn as u,Qn as v,Yn as w,Xn as x,ge as y,On as z};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var pe=s=>{throw TypeError(s)};var Vt=(s,t,e)=>t.has(s)||pe("Cannot "+e);var r=(s,t,e)=>(Vt(s,t,"read from private field"),e?e.call(s):t.get(s)),l=(s,t,e)=>t.has(s)?pe("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),h=(s,t,e,i)=>(Vt(s,t,"write to private field"),i?i.call(s,e):t.set(s,e),e),p=(s,t,e)=>(Vt(s,t,"access private method"),e);var _t=(s,t,e,i)=>({set _(n){h(s,t,n,e)},get _(){return r(s,t,i)}});import{i as Ie,u as Ze,h as ts,a as es,r as ss,n as is,c as Te,s as je,w as gt,o as xe,t as Ke}from"./@vue.D0DP0v6_.0.0.34-alpha.2.js";var It=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(){}},pt=typeof window>"u"||"Deno"in globalThis;function H(){}function rs(s,t){return typeof s=="function"?s(t):s}function Wt(s){return typeof s=="number"&&s>=0&&s!==1/0}function Le(s,t){return Math.max(s+(t||0)-Date.now(),0)}function Ot(s,t){return typeof s=="function"?s(t):s}function G(s,t){return typeof s=="function"?s(t):s}function me(s,t){const{type:e="all",exact:i,fetchStatus:n,predicate:a,queryKey:o,stale:u}=s;if(o){if(i){if(t.queryHash!==le(o,t.options))return!1}else if(!jt(t.queryKey,o))return!1}if(e!=="all"){const y=t.isActive();if(e==="active"&&!y||e==="inactive"&&y)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||n&&n!==t.state.fetchStatus||a&&!a(t))}function ve(s,t){const{exact:e,status:i,predicate:n,mutationKey:a}=s;if(a){if(!t.options.mutationKey)return!1;if(e){if(mt(t.options.mutationKey)!==mt(a))return!1}else if(!jt(t.options.mutationKey,a))return!1}return!(i&&t.state.status!==i||n&&!n(t))}function le(s,t){return((t==null?void 0:t.queryKeyHashFn)||mt)(s)}function mt(s){return JSON.stringify(s,(t,e)=>Yt(e)?Object.keys(e).sort().reduce((i,n)=>(i[n]=e[n],i),{}):e)}function jt(s,t){return s===t?!0:typeof s!=typeof t?!1:s&&t&&typeof s=="object"&&typeof t=="object"?!Object.keys(t).some(e=>!jt(s[e],t[e])):!1}function ke(s,t){if(s===t)return s;const e=be(s)&&be(t);if(e||Yt(s)&&Yt(t)){const i=e?s:Object.keys(s),n=i.length,a=e?t:Object.keys(t),o=a.length,u=e?[]:{};let y=0;for(let w=0;w<o;w++){const f=e?w:a[w];(!e&&i.includes(f)||e)&&s[f]===void 0&&t[f]===void 0?(u[f]=void 0,y++):(u[f]=ke(s[f],t[f]),u[f]===s[f]&&s[f]!==void 0&&y++)}return n===o&&y===n?s:u}return t}function $t(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 be(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function Yt(s){if(!ge(s))return!1;const t=s.constructor;if(t===void 0)return!0;const e=t.prototype;return!(!ge(e)||!e.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function ge(s){return Object.prototype.toString.call(s)==="[object Object]"}function ns(s){return new Promise(t=>{setTimeout(t,s)})}function Jt(s,t,e){return typeof e.structuralSharing=="function"?e.structuralSharing(s,t):e.structuralSharing!==!1?ke(s,t):t}function as(s,t,e=0){const i=[...s,t];return e&&i.length>e?i.slice(1):i}function us(s,t,e=0){const i=[t,...s];return e&&i.length>e?i.slice(0,-1):i}var fe=Symbol();function He(s,t){return!s.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!s.queryFn||s.queryFn===fe?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}var ot,Z,Ct,Se,os=(Se=class extends It{constructor(){super();l(this,ot);l(this,Z);l(this,Ct);h(this,Ct,t=>{if(!pt&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){r(this,Z)||this.setEventListener(r(this,Ct))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,Z))==null||t.call(this),h(this,Z,void 0))}setEventListener(t){var e;h(this,Ct,t),(e=r(this,Z))==null||e.call(this),h(this,Z,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){r(this,ot)!==t&&(h(this,ot,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return typeof r(this,ot)=="boolean"?r(this,ot):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ot=new WeakMap,Z=new WeakMap,Ct=new WeakMap,Se),de=new os,wt,tt,Qt,Pe,hs=(Pe=class extends It{constructor(){super();l(this,wt,!0);l(this,tt);l(this,Qt);h(this,Qt,t=>{if(!pt&&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,Qt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,tt))==null||t.call(this),h(this,tt,void 0))}setEventListener(t){var e;h(this,Qt,t),(e=r(this,tt))==null||e.call(this),h(this,tt,t(this.setOnline.bind(this)))}setOnline(t){r(this,wt)!==t&&(h(this,wt,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return r(this,wt)}},wt=new WeakMap,tt=new WeakMap,Qt=new WeakMap,Pe),Bt=new hs;function Xt(){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 cs(s){return Math.min(1e3*2**s,3e4)}function _e(s){return(s??"online")==="online"?Bt.isOnline():!0}var Ne=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function zt(s){return s instanceof Ne}function Ge(s){let t=!1,e=0,i=!1,n;const a=Xt(),o=m=>{var g;i||(O(new Ne(m)),(g=s.abort)==null||g.call(s))},u=()=>{t=!0},y=()=>{t=!1},w=()=>de.isFocused()&&(s.networkMode==="always"||Bt.isOnline())&&s.canRun(),f=()=>_e(s.networkMode)&&s.canRun(),c=m=>{var g;i||(i=!0,(g=s.onSuccess)==null||g.call(s,m),n==null||n(),a.resolve(m))},O=m=>{var g;i||(i=!0,(g=s.onError)==null||g.call(s,m),n==null||n(),a.reject(m))},d=()=>new Promise(m=>{var g;n=D=>{(i||w())&&m(D)},(g=s.onPause)==null||g.call(s)}).then(()=>{var m;n=void 0,i||(m=s.onContinue)==null||m.call(s)}),Q=()=>{if(i)return;let m;const g=e===0?s.initialPromise:void 0;try{m=g??s.fn()}catch(D){m=Promise.reject(D)}Promise.resolve(m).then(c).catch(D=>{var _;if(i)return;const E=s.retry??(pt?0:3),P=s.retryDelay??cs,A=typeof P=="function"?P(e,D):P,K=E===!0||typeof E=="number"&&e<E||typeof E=="function"&&E(e,D);if(t||!K){O(D);return}e++,(_=s.onFail)==null||_.call(s,e,D),ns(A).then(()=>w()?void 0:d()).then(()=>{t?O(D):Q()})})};return{promise:a,cancel:o,continue:()=>(n==null||n(),a),cancelRetry:u,continueRetry:y,canStart:f,start:()=>(f()?Q():d().then(Q),a)}}function ls(){let s=[],t=0,e=u=>{u()},i=u=>{u()},n=u=>setTimeout(u,0);const a=u=>{t?s.push(u):n(()=>{e(u)})},o=()=>{const u=s;s=[],u.length&&n(()=>{i(()=>{u.forEach(y=>{e(y)})})})};return{batch:u=>{let y;t++;try{y=u()}finally{t--,t||o()}return y},batchCalls:u=>(...y)=>{a(()=>{u(...y)})},schedule:a,setNotifyFunction:u=>{e=u},setBatchNotifyFunction:u=>{i=u},setScheduler:u=>{n=u}}}var M=ls(),ht,Re,$e=(Re=class{constructor(){l(this,ht)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Wt(this.gcTime)&&h(this,ht,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(pt?1/0:5*60*1e3))}clearGcTimeout(){r(this,ht)&&(clearTimeout(r(this,ht)),h(this,ht,void 0))}},ht=new WeakMap,Re),St,Pt,k,U,xt,ct,N,W,De,fs=(De=class extends $e{constructor(t){super();l(this,N);l(this,St);l(this,Pt);l(this,k);l(this,U);l(this,xt);l(this,ct);h(this,ct,!1),h(this,xt,t.defaultOptions),this.setOptions(t.options),this.observers=[],h(this,k,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,h(this,St,ds(this.options)),this.state=t.state??r(this,St),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,xt),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&r(this,k).remove(this)}setData(t,e){const i=Jt(this.state.data,t,this.options);return p(this,N,W).call(this,{data:i,type:"success",dataUpdatedAt:e==null?void 0:e.updatedAt,manual:e==null?void 0:e.manual}),i}setState(t,e){p(this,N,W).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(H).catch(H):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(r(this,St))}isActive(){return this.observers.some(t=>G(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===fe||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!Le(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,ct)?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||p(this,N,W).call(this,{type:"invalidate"})}fetch(t,e){var y,w,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 c=this.observers.find(O=>O.options.queryFn);c&&this.setOptions(c.options)}const i=new AbortController,n=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(h(this,ct,!0),i.signal)})},a=()=>{const c=He(this.options,e),O={queryKey:this.queryKey,meta:this.meta};return n(O),h(this,ct,!1),this.options.persister?this.options.persister(c,O,this):c(O)},o={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};n(o),(y=this.options.behavior)==null||y.onFetch(o,this),h(this,Pt,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((w=o.fetchOptions)==null?void 0:w.meta))&&p(this,N,W).call(this,{type:"fetch",meta:(f=o.fetchOptions)==null?void 0:f.meta});const u=c=>{var O,d,Q,m;zt(c)&&c.silent||p(this,N,W).call(this,{type:"error",error:c}),zt(c)||((d=(O=r(this,k).config).onError)==null||d.call(O,c,this),(m=(Q=r(this,k).config).onSettled)==null||m.call(Q,this.state.data,c,this)),this.scheduleGc()};return h(this,U,Ge({initialPromise:e==null?void 0:e.initialPromise,fn:o.fetchFn,abort:i.abort.bind(i),onSuccess:c=>{var O,d,Q,m;if(c===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(c)}catch(g){u(g);return}(d=(O=r(this,k).config).onSuccess)==null||d.call(O,c,this),(m=(Q=r(this,k).config).onSettled)==null||m.call(Q,c,this.state.error,this),this.scheduleGc()},onError:u,onFail:(c,O)=>{p(this,N,W).call(this,{type:"failed",failureCount:c,error:O})},onPause:()=>{p(this,N,W).call(this,{type:"pause"})},onContinue:()=>{p(this,N,W).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),r(this,U).start()}},St=new WeakMap,Pt=new WeakMap,k=new WeakMap,U=new WeakMap,xt=new WeakMap,ct=new WeakMap,N=new WeakSet,W=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,...Be(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 zt(n)&&n.revert&&r(this,Pt)?{...r(this,Pt),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),M.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),r(this,k).notify({query:this,type:"updated",action:t})})},De);function Be(s,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:_e(t.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function ds(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 $,Fe,Ve=(Fe=class extends It{constructor(e={}){super();l(this,$);this.config=e,h(this,$,new Map)}build(e,i,n){const a=i.queryKey,o=i.queryHash??le(a,i);let u=this.get(o);return u||(u=new fs({cache:this,queryKey:a,queryHash:o,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(){M.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=>me(i,n))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(n=>me(e,n)):i}notify(e){M.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){M.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){M.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},$=new WeakMap,Fe),B,I,lt,V,X,Ee,ys=(Ee=class extends $e{constructor(t){super();l(this,V);l(this,B);l(this,I);l(this,lt);this.mutationId=t.mutationId,h(this,I,t.mutationCache),h(this,B,[]),this.state=t.state||ze(),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,I).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){h(this,B,r(this,B).filter(e=>e!==t)),this.scheduleGc(),r(this,I).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){r(this,B).length||(this.state.status==="pending"?this.scheduleGc():r(this,I).remove(this))}continue(){var t;return((t=r(this,lt))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var n,a,o,u,y,w,f,c,O,d,Q,m,g,D,E,P,A,K,_,q;h(this,lt,Ge({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(F,S)=>{p(this,V,X).call(this,{type:"failed",failureCount:F,error:S})},onPause:()=>{p(this,V,X).call(this,{type:"pause"})},onContinue:()=>{p(this,V,X).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>r(this,I).canRun(this)}));const e=this.state.status==="pending",i=!r(this,lt).canStart();try{if(!e){p(this,V,X).call(this,{type:"pending",variables:t,isPaused:i}),await((a=(n=r(this,I).config).onMutate)==null?void 0:a.call(n,t,this));const S=await((u=(o=this.options).onMutate)==null?void 0:u.call(o,t));S!==this.state.context&&p(this,V,X).call(this,{type:"pending",context:S,variables:t,isPaused:i})}const F=await r(this,lt).start();return await((w=(y=r(this,I).config).onSuccess)==null?void 0:w.call(y,F,t,this.state.context,this)),await((c=(f=this.options).onSuccess)==null?void 0:c.call(f,F,t,this.state.context)),await((d=(O=r(this,I).config).onSettled)==null?void 0:d.call(O,F,null,this.state.variables,this.state.context,this)),await((m=(Q=this.options).onSettled)==null?void 0:m.call(Q,F,null,t,this.state.context)),p(this,V,X).call(this,{type:"success",data:F}),F}catch(F){try{throw await((D=(g=r(this,I).config).onError)==null?void 0:D.call(g,F,t,this.state.context,this)),await((P=(E=this.options).onError)==null?void 0:P.call(E,F,t,this.state.context)),await((K=(A=r(this,I).config).onSettled)==null?void 0:K.call(A,void 0,F,this.state.variables,this.state.context,this)),await((q=(_=this.options).onSettled)==null?void 0:q.call(_,void 0,F,t,this.state.context)),F}finally{p(this,V,X).call(this,{type:"error",error:F})}}finally{r(this,I).runNext(this)}}},B=new WeakMap,I=new WeakMap,lt=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),M.batch(()=>{r(this,B).forEach(i=>{i.onMutationUpdate(t)}),r(this,I).notify({mutation:this,type:"updated",action:t})})},Ee);function ze(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var L,Kt,Me,We=(Me=class extends It{constructor(e={}){super();l(this,L);l(this,Kt);this.config=e,h(this,L,new Map),h(this,Kt,Date.now())}build(e,i,n){const a=new ys({mutationCache:this,mutationId:++_t(this,Kt)._,options:e.defaultMutationOptions(i),state:n});return this.add(a),a}add(e){const i=Nt(e),n=r(this,L).get(i)??[];n.push(e),r(this,L).set(i,n),this.notify({type:"added",mutation:e})}remove(e){var n;const i=Nt(e);if(r(this,L).has(i)){const a=(n=r(this,L).get(i))==null?void 0:n.filter(o=>o!==e);a&&(a.length===0?r(this,L).delete(i):r(this,L).set(i,a))}this.notify({type:"removed",mutation:e})}canRun(e){var n;const i=(n=r(this,L).get(Nt(e)))==null?void 0:n.find(a=>a.state.status==="pending");return!i||i===e}runNext(e){var n;const i=(n=r(this,L).get(Nt(e)))==null?void 0:n.find(a=>a!==e&&a.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}clear(){M.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...r(this,L).values()].flat()}find(e){const i={exact:!0,...e};return this.getAll().find(n=>ve(i,n))}findAll(e={}){return this.getAll().filter(i=>ve(e,i))}notify(e){M.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return M.batch(()=>Promise.all(e.map(i=>i.continue().catch(H))))}},L=new WeakMap,Kt=new WeakMap,Me);function Nt(s){var t;return((t=s.options.scope)==null?void 0:t.id)??String(s.mutationId)}function Oe(s){return{onFetch:(t,e)=>{var f,c,O,d,Q;const i=t.options,n=(O=(c=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:c.fetchMore)==null?void 0:O.direction,a=((d=t.state.data)==null?void 0:d.pages)||[],o=((Q=t.state.data)==null?void 0:Q.pageParams)||[];let u={pages:[],pageParams:[]},y=0;const w=async()=>{let m=!1;const g=P=>{Object.defineProperty(P,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},D=He(t.options,t.fetchOptions),E=async(P,A,K)=>{if(m)return Promise.reject();if(A==null&&P.pages.length)return Promise.resolve(P);const _={queryKey:t.queryKey,pageParam:A,direction:K?"backward":"forward",meta:t.options.meta};g(_);const q=await D(_),{maxPages:F}=t.options,S=K?us:as;return{pages:S(P.pages,q,F),pageParams:S(P.pageParams,A,F)}};if(n&&a.length){const P=n==="backward",A=P?ps:Ce,K={pages:a,pageParams:o},_=A(i,K);u=await E(K,_,P)}else{const P=s??a.length;do{const A=y===0?o[0]??i.initialPageParam:Ce(i,u);if(y>0&&A==null)break;u=await E(u,A),y++}while(y<P)}return u};t.options.persister?t.fetchFn=()=>{var m,g;return(g=(m=t.options).persister)==null?void 0:g.call(m,w,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=w}}}function Ce(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 ps(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 R,et,st,Rt,Dt,it,Ft,Et,Ae,ms=(Ae=class{constructor(t={}){l(this,R);l(this,et);l(this,st);l(this,Rt);l(this,Dt);l(this,it);l(this,Ft);l(this,Et);h(this,R,t.queryCache||new Ve),h(this,et,t.mutationCache||new We),h(this,st,t.defaultOptions||{}),h(this,Rt,new Map),h(this,Dt,new Map),h(this,it,0)}mount(){_t(this,it)._++,r(this,it)===1&&(h(this,Ft,de.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,R).onFocus())})),h(this,Et,Bt.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,R).onOnline())})))}unmount(){var t,e;_t(this,it)._--,r(this,it)===0&&((t=r(this,Ft))==null||t.call(this),h(this,Ft,void 0),(e=r(this,Et))==null||e.call(this),h(this,Et,void 0))}isFetching(t){return r(this,R).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,R).get(e.queryHash))==null?void 0:i.state.data}ensureQueryData(t){const e=this.getQueryData(t.queryKey);if(e===void 0)return this.fetchQuery(t);{const i=this.defaultQueryOptions(t),n=r(this,R).build(this,i);return t.revalidateIfStale&&n.isStaleByTime(Ot(i.staleTime,n))&&this.prefetchQuery(i),Promise.resolve(e)}}getQueriesData(t){return r(this,R).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,R).get(n.queryHash),o=a==null?void 0:a.state.data,u=rs(e,o);if(u!==void 0)return r(this,R).build(this,n).setData(u,{...i,manual:!0})}setQueriesData(t,e,i){return M.batch(()=>r(this,R).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,R).get(e.queryHash))==null?void 0:i.state}removeQueries(t){const e=r(this,R);M.batch(()=>{e.findAll(t).forEach(i=>{e.remove(i)})})}resetQueries(t,e){const i=r(this,R),n={type:"active",...t};return M.batch(()=>(i.findAll(t).forEach(a=>{a.reset()}),this.refetchQueries(n,e)))}cancelQueries(t={},e={}){const i={revert:!0,...e},n=M.batch(()=>r(this,R).findAll(t).map(a=>a.cancel(i)));return Promise.all(n).then(H).catch(H)}invalidateQueries(t={},e={}){return M.batch(()=>{if(r(this,R).findAll(t).forEach(n=>{n.invalidate()}),t.refetchType==="none")return Promise.resolve();const i={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(i,e)})}refetchQueries(t={},e){const i={...e,cancelRefetch:(e==null?void 0:e.cancelRefetch)??!0},n=M.batch(()=>r(this,R).findAll(t).filter(a=>!a.isDisabled()).map(a=>{let o=a.fetch(void 0,i);return i.throwOnError||(o=o.catch(H)),a.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(n).then(H)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const i=r(this,R).build(this,e);return i.isStaleByTime(Ot(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(H).catch(H)}fetchInfiniteQuery(t){return t.behavior=Oe(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(H).catch(H)}ensureInfiniteQueryData(t){return t.behavior=Oe(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return Bt.isOnline()?r(this,et).resumePausedMutations():Promise.resolve()}getQueryCache(){return r(this,R)}getMutationCache(){return r(this,et)}getDefaultOptions(){return r(this,st)}setDefaultOptions(t){h(this,st,t)}setQueryDefaults(t,e){r(this,Rt).set(mt(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...r(this,Rt).values()];let i={};return e.forEach(n=>{jt(t,n.queryKey)&&(i={...i,...n.defaultOptions})}),i}setMutationDefaults(t,e){r(this,Dt).set(mt(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...r(this,Dt).values()];let i={};return e.forEach(n=>{jt(t,n.mutationKey)&&(i={...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=le(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.enabled!==!0&&e.queryFn===fe&&(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,R).clear(),r(this,et).clear()}},R=new WeakMap,et=new WeakMap,st=new WeakMap,Rt=new WeakMap,Dt=new WeakMap,it=new WeakMap,Ft=new WeakMap,Et=new WeakMap,Ae),j,b,Lt,T,ft,Mt,rt,z,kt,At,Ut,dt,yt,nt,qt,C,Tt,Zt,te,ee,se,ie,re,ne,Ye,Ue,vs=(Ue=class extends It{constructor(t,e){super();l(this,C);l(this,j);l(this,b);l(this,Lt);l(this,T);l(this,ft);l(this,Mt);l(this,rt);l(this,z);l(this,kt);l(this,At);l(this,Ut);l(this,dt);l(this,yt);l(this,nt);l(this,qt,new Set);this.options=e,h(this,j,t),h(this,z,null),h(this,rt,Xt()),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,b).addObserver(this),we(r(this,b),this.options)?p(this,C,Tt).call(this):this.updateResult(),p(this,C,se).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ae(r(this,b),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ae(r(this,b),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,p(this,C,ie).call(this),p(this,C,re).call(this),r(this,b).removeObserver(this)}setOptions(t,e){const i=this.options,n=r(this,b);if(this.options=r(this,j).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof G(this.options.enabled,r(this,b))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");p(this,C,ne).call(this),r(this,b).setOptions(this.options),i._defaulted&&!$t(this.options,i)&&r(this,j).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,b),observer:this});const a=this.hasListeners();a&&Qe(r(this,b),n,this.options,i)&&p(this,C,Tt).call(this),this.updateResult(e),a&&(r(this,b)!==n||G(this.options.enabled,r(this,b))!==G(i.enabled,r(this,b))||Ot(this.options.staleTime,r(this,b))!==Ot(i.staleTime,r(this,b)))&&p(this,C,Zt).call(this);const o=p(this,C,te).call(this);a&&(r(this,b)!==n||G(this.options.enabled,r(this,b))!==G(i.enabled,r(this,b))||o!==r(this,nt))&&p(this,C,ee).call(this,o)}getOptimisticResult(t){const e=r(this,j).getQueryCache().build(r(this,j),t),i=this.createResult(e,t);return gs(this,i)&&(h(this,T,i),h(this,Mt,this.options),h(this,ft,r(this,b).state)),i}getCurrentResult(){return r(this,T)}trackResult(t,e){const i={};return Object.keys(t).forEach(n=>{Object.defineProperty(i,n,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(n),e==null||e(n),t[n])})}),i}trackProp(t){r(this,qt).add(t)}getCurrentQuery(){return r(this,b)}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 p(this,C,Tt).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,T)))}createResult(t,e){var F;const i=r(this,b),n=this.options,a=r(this,T),o=r(this,ft),u=r(this,Mt),w=t!==i?t.state:r(this,Lt),{state:f}=t;let c={...f},O=!1,d;if(e._optimisticResults){const S=this.hasListeners(),vt=!S&&we(t,e),bt=S&&Qe(t,i,e,n);(vt||bt)&&(c={...c,...Be(f.data,t.options)}),e._optimisticResults==="isRestoring"&&(c.fetchStatus="idle")}let{error:Q,errorUpdatedAt:m,status:g}=c;if(e.select&&c.data!==void 0)if(a&&c.data===(o==null?void 0:o.data)&&e.select===r(this,kt))d=r(this,At);else try{h(this,kt,e.select),d=e.select(c.data),d=Jt(a==null?void 0:a.data,d,e),h(this,At,d),h(this,z,null)}catch(S){h(this,z,S)}else d=c.data;if(e.placeholderData!==void 0&&d===void 0&&g==="pending"){let S;if(a!=null&&a.isPlaceholderData&&e.placeholderData===(u==null?void 0:u.placeholderData))S=a.data;else if(S=typeof e.placeholderData=="function"?e.placeholderData((F=r(this,Ut))==null?void 0:F.state.data,r(this,Ut)):e.placeholderData,e.select&&S!==void 0)try{S=e.select(S),h(this,z,null)}catch(vt){h(this,z,vt)}S!==void 0&&(g="success",d=Jt(a==null?void 0:a.data,S,e),O=!0)}r(this,z)&&(Q=r(this,z),d=r(this,At),m=Date.now(),g="error");const D=c.fetchStatus==="fetching",E=g==="pending",P=g==="error",A=E&&D,K=d!==void 0,q={status:g,fetchStatus:c.fetchStatus,isPending:E,isSuccess:g==="success",isError:P,isInitialLoading:A,isLoading:A,data:d,dataUpdatedAt:c.dataUpdatedAt,error:Q,errorUpdatedAt:m,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>w.dataUpdateCount||c.errorUpdateCount>w.errorUpdateCount,isFetching:D,isRefetching:D&&!E,isLoadingError:P&&!K,isPaused:c.fetchStatus==="paused",isPlaceholderData:O,isRefetchError:P&&K,isStale:ye(t,e),refetch:this.refetch,promise:r(this,rt)};if(this.options.experimental_prefetchInRender){const S=Ht=>{q.status==="error"?Ht.reject(q.error):q.data!==void 0&&Ht.resolve(q.data)},vt=()=>{const Ht=h(this,rt,q.promise=Xt());S(Ht)},bt=r(this,rt);switch(bt.status){case"pending":t.queryHash===i.queryHash&&S(bt);break;case"fulfilled":(q.status==="error"||q.data!==bt.value)&&vt();break;case"rejected":(q.status!=="error"||q.error!==bt.reason)&&vt();break}}return q}updateResult(t){const e=r(this,T),i=this.createResult(r(this,b),this.options);if(h(this,ft,r(this,b).state),h(this,Mt,this.options),r(this,ft).data!==void 0&&h(this,Ut,r(this,b)),$t(i,e))return;h(this,T,i);const n={},a=()=>{if(!e)return!0;const{notifyOnChangeProps:o}=this.options,u=typeof o=="function"?o():o;if(u==="all"||!u&&!r(this,qt).size)return!0;const y=new Set(u??r(this,qt));return this.options.throwOnError&&y.add("error"),Object.keys(r(this,T)).some(w=>{const f=w;return r(this,T)[f]!==e[f]&&y.has(f)})};(t==null?void 0:t.listeners)!==!1&&a()&&(n.listeners=!0),p(this,C,Ye).call(this,{...n,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&p(this,C,se).call(this)}},j=new WeakMap,b=new WeakMap,Lt=new WeakMap,T=new WeakMap,ft=new WeakMap,Mt=new WeakMap,rt=new WeakMap,z=new WeakMap,kt=new WeakMap,At=new WeakMap,Ut=new WeakMap,dt=new WeakMap,yt=new WeakMap,nt=new WeakMap,qt=new WeakMap,C=new WeakSet,Tt=function(t){p(this,C,ne).call(this);let e=r(this,b).fetch(this.options,t);return t!=null&&t.throwOnError||(e=e.catch(H)),e},Zt=function(){p(this,C,ie).call(this);const t=Ot(this.options.staleTime,r(this,b));if(pt||r(this,T).isStale||!Wt(t))return;const i=Le(r(this,T).dataUpdatedAt,t)+1;h(this,dt,setTimeout(()=>{r(this,T).isStale||this.updateResult()},i))},te=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,b)):this.options.refetchInterval)??!1},ee=function(t){p(this,C,re).call(this),h(this,nt,t),!(pt||G(this.options.enabled,r(this,b))===!1||!Wt(r(this,nt))||r(this,nt)===0)&&h(this,yt,setInterval(()=>{(this.options.refetchIntervalInBackground||de.isFocused())&&p(this,C,Tt).call(this)},r(this,nt)))},se=function(){p(this,C,Zt).call(this),p(this,C,ee).call(this,p(this,C,te).call(this))},ie=function(){r(this,dt)&&(clearTimeout(r(this,dt)),h(this,dt,void 0))},re=function(){r(this,yt)&&(clearInterval(r(this,yt)),h(this,yt,void 0))},ne=function(){const t=r(this,j).getQueryCache().build(r(this,j),this.options);if(t===r(this,b))return;const e=r(this,b);h(this,b,t),h(this,Lt,t.state),this.hasListeners()&&(e==null||e.removeObserver(this),t.addObserver(this))},Ye=function(t){M.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(r(this,T))}),r(this,j).getQueryCache().notify({query:r(this,b),type:"observerResultsUpdated"})})},Ue);function bs(s,t){return G(t.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&t.retryOnMount===!1)}function we(s,t){return bs(s,t)||s.state.data!==void 0&&ae(s,t,t.refetchOnMount)}function ae(s,t,e){if(G(t.enabled,s)!==!1){const i=typeof e=="function"?e(s):e;return i==="always"||i!==!1&&ye(s,t)}return!1}function Qe(s,t,e,i){return(s!==t||G(i.enabled,s)===!1)&&(!e.suspense||s.state.status!=="error")&&ye(s,e)}function ye(s,t){return G(t.enabled,s)!==!1&&s.isStaleByTime(Ot(t.staleTime,s))}function gs(s,t){return!$t(s.getCurrentResult(),t)}var at,ut,x,Y,J,Gt,ue,qe,Os=(qe=class extends It{constructor(t,e){super();l(this,J);l(this,at);l(this,ut);l(this,x);l(this,Y);h(this,at,t),this.setOptions(e),this.bindMethods(),p(this,J,Gt).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,at).defaultMutationOptions(t),$t(this.options,e)||r(this,at).getMutationCache().notify({type:"observerOptionsUpdated",mutation:r(this,x),observer:this}),e!=null&&e.mutationKey&&this.options.mutationKey&&mt(e.mutationKey)!==mt(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){p(this,J,Gt).call(this),p(this,J,ue).call(this,t)}getCurrentResult(){return r(this,ut)}reset(){var t;(t=r(this,x))==null||t.removeObserver(this),h(this,x,void 0),p(this,J,Gt).call(this),p(this,J,ue).call(this)}mutate(t,e){var i;return h(this,Y,e),(i=r(this,x))==null||i.removeObserver(this),h(this,x,r(this,at).getMutationCache().build(r(this,at),this.options)),r(this,x).addObserver(this),r(this,x).execute(t)}},at=new WeakMap,ut=new WeakMap,x=new WeakMap,Y=new WeakMap,J=new WeakSet,Gt=function(){var e;const t=((e=r(this,x))==null?void 0:e.state)??ze();h(this,ut,{...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset})},ue=function(t){M.batch(()=>{var e,i,n,a,o,u,y,w;if(r(this,Y)&&this.hasListeners()){const f=r(this,ut).variables,c=r(this,ut).context;(t==null?void 0:t.type)==="success"?((i=(e=r(this,Y)).onSuccess)==null||i.call(e,t.data,f,c),(a=(n=r(this,Y)).onSettled)==null||a.call(n,t.data,null,f,c)):(t==null?void 0:t.type)==="error"&&((u=(o=r(this,Y)).onError)==null||u.call(o,t.error,f,c),(w=(y=r(this,Y)).onSettled)==null||w.call(y,void 0,t.error,f,c))}this.listeners.forEach(f=>{f(r(this,ut))})})},qe),Cs="VUE_QUERY_CLIENT";function Je(s){const t=s?`:${s}`:"";return`${Cs}${t}`}function oe(s,t){Object.keys(s).forEach(e=>{s[e]=t[e]})}function he(s,t,e="",i=0){if(t){const n=t(s,e,i);if(n===void 0&&Ie(s)||n!==void 0)return n}if(Array.isArray(s))return s.map((n,a)=>he(n,t,String(a),i+1));if(typeof s=="object"&&Qs(s)){const n=Object.entries(s).map(([a,o])=>[a,he(o,t,a,i+1)]);return Object.fromEntries(n)}return s}function ws(s,t){return he(s,t)}function v(s,t=!1){return ws(s,(e,i,n)=>{if(n===1&&i==="queryKey")return v(e,!0);if(t&&Ss(e))return v(e(),t);if(Ie(e))return v(Ze(e),t)})}function Qs(s){if(Object.prototype.toString.call(s)!=="[object Object]")return!1;const t=Object.getPrototypeOf(s);return t===null||t===Object.prototype}function Ss(s){return typeof s=="function"}function ce(s,t){return typeof s=="function"?s(...t):!!s}function Xe(s=""){if(!ts())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=Je(s),e=es(t);if(!e)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return e}var Ps=class extends Ve{find(s){return super.find(v(s))}findAll(s={}){return super.findAll(v(s))}},Rs=class extends We{find(s){return super.find(v(s))}findAll(s={}){return super.findAll(v(s))}},Ds=class extends ms{constructor(s={}){const t={defaultOptions:s.defaultOptions,queryCache:s.queryCache||new Ps,mutationCache:s.mutationCache||new Rs};super(t),this.isRestoring=ss(!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 is().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))}},Is={install:(s,t={})=>{const e=Je(t.queryClientKey);let i;if("queryClient"in t&&t.queryClient)i=t.queryClient;else{const o="queryClientConfig"in t?t.queryClientConfig:void 0;i=new Ds(o)}pt||i.mount();let n=()=>{};if(t.clientPersister){i.isRestoring.value=!0;const[o,u]=t.clientPersister(i);n=o,u.then(()=>{var y;i.isRestoring.value=!1,(y=t.clientPersisterOnSuccess)==null||y.call(t,i)})}const a=()=>{i.unmount(),n()};if(s.onUnmount)s.onUnmount(a);else{const o=s.unmount;s.unmount=function(){a(),o()}}s.provide(e,i)}};function Fs(s,t,e){const i=Xe(),n=Te(()=>{const d=v(t);typeof d.enabled=="function"&&(d.enabled=d.enabled());const Q=i.defaultQueryOptions(d);return Q._optimisticResults=i.isRestoring.value?"isRestoring":"optimistic",Q}),a=new s(i,n.value),o=je(a.getCurrentResult());let u=()=>{};gt(i.isRestoring,d=>{d||(u(),u=a.subscribe(Q=>{oe(o,Q)}))},{immediate:!0});const y=()=>{a.setOptions(n.value),oe(o,a.getCurrentResult())};gt(n,y),xe(()=>{u()});const w=(...d)=>(y(),o.refetch(...d)),f=()=>new Promise((d,Q)=>{let m=()=>{};const g=()=>{if(n.value.enabled!==!1){a.setOptions(n.value);const D=a.getOptimisticResult(n.value);D.isStale?(m(),a.fetchOptimistic(n.value).then(d,E=>{ce(n.value.throwOnError,[E,a.getCurrentQuery()])?Q(E):d(a.getCurrentResult())})):(m(),d(D))}};g(),m=gt(n,g)});gt(()=>o.error,d=>{if(o.isError&&!o.isFetching&&ce(n.value.throwOnError,[d,a.getCurrentQuery()]))throw d});const O=Ke(o);for(const d in o)typeof o[d]=="function"&&(O[d]=o[d]);return O.suspense=f,O.refetch=w,O}function Ts(s,t){return Fs(vs,s)}function js(s,t){const e=Xe(),i=Te(()=>e.defaultMutationOptions(v(s))),n=new Os(e,i.value),a=je(n.getCurrentResult()),o=n.subscribe(f=>{oe(a,f)}),u=(f,c)=>{n.mutate(f,c).catch(()=>{})};gt(i,()=>{n.setOptions(i.value)}),xe(()=>{o()});const w=Ke(a);return gt(()=>a.error,f=>{if(f&&ce(i.value.throwOnError,[f]))throw f}),{...w,mutate:u,mutateAsync:a.mutate,reset:a.reset}}export{Ds as Q,Is as V,Ts as a,js as b,Xe as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Z as s,a as h,b as a}from"./zod.DnW1_kUe.0.0.34-alpha.
|
|
1
|
+
import{Z as s,a as h,b as a}from"./zod.DnW1_kUe.0.0.34-alpha.2.js";import{i as j,c as y}from"./vee-validate.DKbtKMvz.0.0.34-alpha.2.js";/**
|
|
2
2
|
* vee-validate v4.13.2
|
|
3
3
|
* (c) 2024 Abdelrahman Awad
|
|
4
4
|
* @license MIT
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vue/shared v3.5.12
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**//*! #__NO_SIDE_EFFECTS__ */function _s(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const J={},gt=[],$e=()=>{},oo=()=>!1,Sn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ys=e=>e.startsWith("onUpdate:"),ie=Object.assign,bs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},lo=Object.prototype.hasOwnProperty,Y=(e,t)=>lo.call(e,t),D=Array.isArray,mt=e=>St(e)==="[object Map]",En=e=>St(e)==="[object Set]",zs=e=>St(e)==="[object Date]",co=e=>St(e)==="[object RegExp]",$=e=>typeof e=="function",se=e=>typeof e=="string",Pe=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",vs=e=>(X(e)||$(e))&&$(e.then)&&$(e.catch),Or=Object.prototype.toString,St=e=>Or.call(e),fo=e=>St(e).slice(8,-1),Rr=e=>St(e)==="[object Object]",xs=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Nt=_s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),An=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},uo=/-(\w)/g,we=An(e=>e.replace(uo,(t,n)=>n?n.toUpperCase():"")),ao=/\B([A-Z])/g,We=An(e=>e.replace(ao,"-$1").toLowerCase()),Fn=An(e=>e.charAt(0).toUpperCase()+e.slice(1)),Hn=An(e=>e?`on${Fn(e)}`:""),be=(e,t)=>!Object.is(e,t),_t=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Pr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ho=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Dr=e=>{const t=se(e)?Number(e):NaN;return isNaN(t)?e:t};let Xs;const In=()=>Xs||(Xs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Cs(e){if(D(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=se(s)?_o(s):Cs(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(se(e)||X(e))return e}const po=/;(?![^(]*\))/g,go=/:([^]+)/,mo=/\/\*[^]*?\*\//g;function _o(e){const t={};return e.replace(mo,"").split(po).forEach(n=>{if(n){const s=n.split(go);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ts(e){let t="";if(se(e))t=e;else if(D(e))for(let n=0;n<e.length;n++){const s=Ts(e[n]);s&&(t+=s+" ")}else if(X(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const yo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bo=_s(yo);function Nr(e){return!!e||e===""}function vo(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Ct(e[s],t[s]);return n}function Ct(e,t){if(e===t)return!0;let n=zs(e),s=zs(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Pe(e),s=Pe(t),n||s)return e===t;if(n=D(e),s=D(t),n||s)return n&&s?vo(e,t):!1;if(n=X(e),s=X(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!Ct(e[o],t[o]))return!1}}return String(e)===String(t)}function Lr(e,t){return e.findIndex(n=>Ct(n,t))}const Br=e=>!!(e&&e.__v_isRef===!0),xo=e=>se(e)?e:e==null?"":D(e)||X(e)&&(e.toString===Or||!$(e.toString))?Br(e)?xo(e.value):JSON.stringify(e,$r,2):String(e),$r=(e,t)=>Br(t)?$r(e,t.value):mt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Vn(s,i)+" =>"]=r,n),{})}:En(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Vn(n))}:Pe(t)?Vn(t):X(t)&&!D(t)&&!Rr(t)?String(t):t,Vn=(e,t="")=>{var n;return Pe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
+
* @vue/reactivity v3.5.12
|
|
7
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
+
* @license MIT
|
|
9
|
+
**/let me;class Hr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=me,!t&&me&&(this.index=(me.scopes||(me.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=me;try{return me=this,t()}finally{me=n}}}on(){me=this}off(){me=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function Jc(e){return new Hr(e)}function Co(){return me}function Yc(e,t=!1){me&&me.cleanups.push(e)}let te;const jn=new WeakSet;class Vr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,me&&me.active&&me.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,jn.has(this)&&(jn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Kr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Zs(this),kr(this);const t=te,n=Re;te=this,Re=!0;try{return this.fn()}finally{Ur(this),te=t,Re=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Es(t);this.deps=this.depsTail=void 0,Zs(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?jn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Zn(this)&&this.run()}get dirty(){return Zn(this)}}let jr=0,Lt,Bt;function Kr(e,t=!1){if(e.flags|=8,t){e.next=Bt,Bt=e;return}e.next=Lt,Lt=e}function ws(){jr++}function Ss(){if(--jr>0)return;if(Bt){let t=Bt;for(Bt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Lt;){let t=Lt;for(Lt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function kr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ur(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Es(s),To(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Zn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Wr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Wr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Kt))return;e.globalVersion=Kt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Zn(e)){e.flags&=-3;return}const n=te,s=Re;te=e,Re=!0;try{kr(e);const r=e.fn(e._value);(t.version===0||be(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{te=n,Re=s,Ur(e),e.flags&=-3}}function Es(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Es(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function To(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Re=!0;const Gr=[];function Qe(){Gr.push(Re),Re=!1}function et(){const e=Gr.pop();Re=e===void 0?!0:e}function Zs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=te;te=void 0;try{t()}finally{te=n}}}let Kt=0;class wo{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Mn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!te||!Re||te===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==te)n=this.activeLink=new wo(te,this),te.deps?(n.prevDep=te.depsTail,te.depsTail.nextDep=n,te.depsTail=n):te.deps=te.depsTail=n,qr(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=te.depsTail,n.nextDep=void 0,te.depsTail.nextDep=n,te.depsTail=n,te.deps===n&&(te.deps=s)}return n}trigger(t){this.version++,Kt++,this.notify(t)}notify(t){ws();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ss()}}}function qr(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)qr(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const an=new WeakMap,lt=Symbol(""),Qn=Symbol(""),kt=Symbol("");function he(e,t,n){if(Re&&te){let s=an.get(e);s||an.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Mn),r.map=s,r.key=n),r.track()}}function Ke(e,t,n,s,r,i){const o=an.get(e);if(!o){Kt++;return}const l=c=>{c&&c.trigger()};if(ws(),t==="clear")o.forEach(l);else{const c=D(e),a=c&&xs(n);if(c&&n==="length"){const u=Number(s);o.forEach((d,p)=>{(p==="length"||p===kt||!Pe(p)&&p>=u)&&l(d)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),a&&l(o.get(kt)),t){case"add":c?a&&l(o.get("length")):(l(o.get(lt)),mt(e)&&l(o.get(Qn)));break;case"delete":c||(l(o.get(lt)),mt(e)&&l(o.get(Qn)));break;case"set":mt(e)&&l(o.get(lt));break}}Ss()}function So(e,t){const n=an.get(e);return n&&n.get(t)}function ht(e){const t=G(e);return t===e?t:(he(t,"iterate",kt),Fe(e)?t:t.map(pe))}function On(e){return he(e=G(e),"iterate",kt),e}const Eo={__proto__:null,[Symbol.iterator](){return Kn(this,Symbol.iterator,pe)},concat(...e){return ht(this).concat(...e.map(t=>D(t)?ht(t):t))},entries(){return Kn(this,"entries",e=>(e[1]=pe(e[1]),e))},every(e,t){return He(this,"every",e,t,void 0,arguments)},filter(e,t){return He(this,"filter",e,t,n=>n.map(pe),arguments)},find(e,t){return He(this,"find",e,t,pe,arguments)},findIndex(e,t){return He(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return He(this,"findLast",e,t,pe,arguments)},findLastIndex(e,t){return He(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return He(this,"forEach",e,t,void 0,arguments)},includes(...e){return kn(this,"includes",e)},indexOf(...e){return kn(this,"indexOf",e)},join(e){return ht(this).join(e)},lastIndexOf(...e){return kn(this,"lastIndexOf",e)},map(e,t){return He(this,"map",e,t,void 0,arguments)},pop(){return Mt(this,"pop")},push(...e){return Mt(this,"push",e)},reduce(e,...t){return Qs(this,"reduce",e,t)},reduceRight(e,...t){return Qs(this,"reduceRight",e,t)},shift(){return Mt(this,"shift")},some(e,t){return He(this,"some",e,t,void 0,arguments)},splice(...e){return Mt(this,"splice",e)},toReversed(){return ht(this).toReversed()},toSorted(e){return ht(this).toSorted(e)},toSpliced(...e){return ht(this).toSpliced(...e)},unshift(...e){return Mt(this,"unshift",e)},values(){return Kn(this,"values",pe)}};function Kn(e,t,n){const s=On(e),r=s[t]();return s!==e&&!Fe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const Ao=Array.prototype;function He(e,t,n,s,r,i){const o=On(e),l=o!==e&&!Fe(e),c=o[t];if(c!==Ao[t]){const d=c.apply(e,i);return l?pe(d):d}let a=n;o!==e&&(l?a=function(d,p){return n.call(this,pe(d),p,e)}:n.length>2&&(a=function(d,p){return n.call(this,d,p,e)}));const u=c.call(o,a,s);return l&&r?r(u):u}function Qs(e,t,n,s){const r=On(e);let i=n;return r!==e&&(Fe(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,pe(l),c,e)}),r[t](i,...s)}function kn(e,t,n){const s=G(e);he(s,"iterate",kt);const r=s[t](...n);return(r===-1||r===!1)&&Ms(n[0])?(n[0]=G(n[0]),s[t](...n)):r}function Mt(e,t,n=[]){Qe(),ws();const s=G(e)[t].apply(e,n);return Ss(),et(),s}const Fo=_s("__proto__,__v_isRef,__isVue"),Jr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Pe));function Io(e){Pe(e)||(e=String(e));const t=G(this);return he(t,"has",e),t.hasOwnProperty(e)}class Yr{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Ho:Qr:i?Zr:Xr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=D(t);if(!r){let c;if(o&&(c=Eo[n]))return c;if(n==="hasOwnProperty")return Io}const l=Reflect.get(t,n,ue(t)?t:s);return(Pe(n)?Jr.has(n):Fo(n))||(r||he(t,"get",n),i)?l:ue(l)?o&&xs(n)?l:l.value:X(l)?r?ei(l):Fs(l):l}}class zr extends Yr{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=ut(i);if(!Fe(s)&&!ut(s)&&(i=G(i),s=G(s)),!D(t)&&ue(i)&&!ue(s))return c?!1:(i.value=s,!0)}const o=D(t)&&xs(n)?Number(n)<t.length:Y(t,n),l=Reflect.set(t,n,s,ue(t)?t:r);return t===G(r)&&(o?be(s,i)&&Ke(t,"set",n,s):Ke(t,"add",n,s)),l}deleteProperty(t,n){const s=Y(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&Ke(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Pe(n)||!Jr.has(n))&&he(t,"has",n),s}ownKeys(t){return he(t,"iterate",D(t)?"length":lt),Reflect.ownKeys(t)}}class Mo extends Yr{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Oo=new zr,Ro=new Mo,Po=new zr(!0);const es=e=>e,Qt=e=>Reflect.getPrototypeOf(e);function Do(e,t,n){return function(...s){const r=this.__v_raw,i=G(r),o=mt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,a=r[e](...s),u=n?es:t?ts:pe;return!t&&he(i,"iterate",c?Qn:lt),{next(){const{value:d,done:p}=a.next();return p?{value:d,done:p}:{value:l?[u(d[0]),u(d[1])]:u(d),done:p}},[Symbol.iterator](){return this}}}}function en(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function No(e,t){const n={get(r){const i=this.__v_raw,o=G(i),l=G(r);e||(be(r,l)&&he(o,"get",r),he(o,"get",l));const{has:c}=Qt(o),a=t?es:e?ts:pe;if(c.call(o,r))return a(i.get(r));if(c.call(o,l))return a(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&he(G(r),"iterate",lt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=G(i),l=G(r);return e||(be(r,l)&&he(o,"has",r),he(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=G(l),a=t?es:e?ts:pe;return!e&&he(c,"iterate",lt),l.forEach((u,d)=>r.call(i,a(u),a(d),o))}};return ie(n,e?{add:en("add"),set:en("set"),delete:en("delete"),clear:en("clear")}:{add(r){!t&&!Fe(r)&&!ut(r)&&(r=G(r));const i=G(this);return Qt(i).has.call(i,r)||(i.add(r),Ke(i,"add",r,r)),this},set(r,i){!t&&!Fe(i)&&!ut(i)&&(i=G(i));const o=G(this),{has:l,get:c}=Qt(o);let a=l.call(o,r);a||(r=G(r),a=l.call(o,r));const u=c.call(o,r);return o.set(r,i),a?be(i,u)&&Ke(o,"set",r,i):Ke(o,"add",r,i),this},delete(r){const i=G(this),{has:o,get:l}=Qt(i);let c=o.call(i,r);c||(r=G(r),c=o.call(i,r)),l&&l.call(i,r);const a=i.delete(r);return c&&Ke(i,"delete",r,void 0),a},clear(){const r=G(this),i=r.size!==0,o=r.clear();return i&&Ke(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Do(r,e,t)}),n}function As(e,t){const n=No(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Y(n,r)&&r in s?n:s,r,i)}const Lo={get:As(!1,!1)},Bo={get:As(!1,!0)},$o={get:As(!0,!1)};const Xr=new WeakMap,Zr=new WeakMap,Qr=new WeakMap,Ho=new WeakMap;function Vo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function jo(e){return e.__v_skip||!Object.isExtensible(e)?0:Vo(fo(e))}function Fs(e){return ut(e)?e:Is(e,!1,Oo,Lo,Xr)}function Ko(e){return Is(e,!1,Po,Bo,Zr)}function ei(e){return Is(e,!0,Ro,$o,Qr)}function Is(e,t,n,s,r){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=jo(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function yt(e){return ut(e)?yt(e.__v_raw):!!(e&&e.__v_isReactive)}function ut(e){return!!(e&&e.__v_isReadonly)}function Fe(e){return!!(e&&e.__v_isShallow)}function Ms(e){return e?!!e.__v_raw:!1}function G(e){const t=e&&e.__v_raw;return t?G(t):e}function ko(e){return!Y(e,"__v_skip")&&Object.isExtensible(e)&&Pr(e,"__v_skip",!0),e}const pe=e=>X(e)?Fs(e):e,ts=e=>X(e)?ei(e):e;function ue(e){return e?e.__v_isRef===!0:!1}function Uo(e){return ti(e,!1)}function zc(e){return ti(e,!0)}function ti(e,t){return ue(e)?e:new Wo(e,t)}class Wo{constructor(t,n){this.dep=new Mn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:G(t),this._value=n?t:pe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Fe(t)||ut(t);t=s?t:G(t),be(t,n)&&(this._rawValue=t,this._value=s?t:pe(t),this.dep.trigger())}}function ni(e){return ue(e)?e.value:e}function Xc(e){return $(e)?e():ni(e)}const Go={get:(e,t,n)=>t==="__v_raw"?e:ni(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ue(r)&&!ue(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function si(e){return yt(e)?e:new Proxy(e,Go)}class qo{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Mn,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Jo(e){return new qo(e)}function Zc(e){const t=D(e)?new Array(e.length):{};for(const n in e)t[n]=ri(e,n);return t}class Yo{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return So(G(this._object),this._key)}}class zo{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Qc(e,t,n){return ue(e)?e:$(e)?new zo(e):X(e)&&arguments.length>1?ri(e,t,n):Uo(e)}function ri(e,t,n){const s=e[t];return ue(s)?s:new Yo(e,t,n)}class Xo{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Mn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Kt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&te!==this)return Kr(this,!0),!0}get value(){const t=this.dep.track();return Wr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Zo(e,t,n=!1){let s,r;return $(e)?s=e:(s=e.get,r=e.set),new Xo(s,r,n)}const tn={},dn=new WeakMap;let ot;function Qo(e,t=!1,n=ot){if(n){let s=dn.get(n);s||dn.set(n,s=[]),s.push(e)}}function el(e,t,n=J){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,a=b=>r?b:Fe(b)||r===!1||r===0?ke(b,1):ke(b);let u,d,p,m,C=!1,E=!1;if(ue(e)?(d=()=>e.value,C=Fe(e)):yt(e)?(d=()=>a(e),C=!0):D(e)?(E=!0,C=e.some(b=>yt(b)||Fe(b)),d=()=>e.map(b=>{if(ue(b))return b.value;if(yt(b))return a(b);if($(b))return c?c(b,2):b()})):$(e)?t?d=c?()=>c(e,2):e:d=()=>{if(p){Qe();try{p()}finally{et()}}const b=ot;ot=u;try{return c?c(e,3,[m]):e(m)}finally{ot=b}}:d=$e,t&&r){const b=d,w=r===!0?1/0:r;d=()=>ke(b(),w)}const W=Co(),H=()=>{u.stop(),W&&bs(W.effects,u)};if(i&&t){const b=t;t=(...w)=>{b(...w),H()}}let A=E?new Array(e.length).fill(tn):tn;const M=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(t){const w=u.run();if(r||C||(E?w.some((P,j)=>be(P,A[j])):be(w,A))){p&&p();const P=ot;ot=u;try{const j=[w,A===tn?void 0:E&&A[0]===tn?[]:A,m];c?c(t,3,j):t(...j),A=w}finally{ot=P}}}else u.run()};return l&&l(M),u=new Vr(d),u.scheduler=o?()=>o(M,!1):M,m=b=>Qo(b,!1,u),p=u.onStop=()=>{const b=dn.get(u);if(b){if(c)c(b,4);else for(const w of b)w();dn.delete(u)}},t?s?M(!0):A=u.run():o?o(M.bind(null,!0),!0):u.run(),H.pause=u.pause.bind(u),H.resume=u.resume.bind(u),H.stop=H,H}function ke(e,t=1/0,n){if(t<=0||!X(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ue(e))ke(e.value,t,n);else if(D(e))for(let s=0;s<e.length;s++)ke(e[s],t,n);else if(En(e)||mt(e))e.forEach(s=>{ke(s,t,n)});else if(Rr(e)){for(const s in e)ke(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ke(e[s],t,n)}return e}/**
|
|
10
|
+
* @vue/runtime-core v3.5.12
|
|
11
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
+
* @license MIT
|
|
13
|
+
**/function Jt(e,t,n,s){try{return s?e(...s):e()}catch(r){Yt(r,t,n)}}function De(e,t,n,s){if($(e)){const r=Jt(e,t,n,s);return r&&vs(r)&&r.catch(i=>{Yt(i,t,n)}),r}if(D(e)){const r=[];for(let i=0;i<e.length;i++)r.push(De(e[i],t,n,s));return r}}function Yt(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||J;if(t){let l=t.parent;const c=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,c,a)===!1)return}l=l.parent}if(i){Qe(),Jt(i,null,10,[e,c,a]),et();return}}tl(e,n,r,s,o)}function tl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const _e=[];let Be=-1;const bt=[];let Ye=null,pt=0;const ii=Promise.resolve();let hn=null;function nl(e){const t=hn||ii;return e?t.then(this?e.bind(this):e):t}function sl(e){let t=Be+1,n=_e.length;for(;t<n;){const s=t+n>>>1,r=_e[s],i=Ut(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Os(e){if(!(e.flags&1)){const t=Ut(e),n=_e[_e.length-1];!n||!(e.flags&2)&&t>=Ut(n)?_e.push(e):_e.splice(sl(t),0,e),e.flags|=1,oi()}}function oi(){hn||(hn=ii.then(ci))}function ns(e){D(e)?bt.push(...e):Ye&&e.id===-1?Ye.splice(pt+1,0,e):e.flags&1||(bt.push(e),e.flags|=1),oi()}function er(e,t,n=Be+1){for(;n<_e.length;n++){const s=_e[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;_e.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function li(e){if(bt.length){const t=[...new Set(bt)].sort((n,s)=>Ut(n)-Ut(s));if(bt.length=0,Ye){Ye.push(...t);return}for(Ye=t,pt=0;pt<Ye.length;pt++){const n=Ye[pt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ye=null,pt=0}}const Ut=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ci(e){try{for(Be=0;Be<_e.length;Be++){const t=_e[Be];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Jt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Be<_e.length;Be++){const t=_e[Be];t&&(t.flags&=-2)}Be=-1,_e.length=0,li(),hn=null,(_e.length||bt.length)&&ci()}}let oe=null,fi=null;function pn(e){const t=oe;return oe=e,fi=e&&e.type.__scopeId||null,t}function rl(e,t=oe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ar(-1);const i=pn(t);let o;try{o=e(...r)}finally{pn(i),s._d&&ar(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function ef(e,t){if(oe===null)return e;const n=Bn(oe),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=J]=t[r];i&&($(i)&&(i={mounted:i,updated:i}),i.deep&&ke(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function st(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(Qe(),De(c,n,8,[e.el,l,e,t]),et())}}const ui=Symbol("_vte"),ai=e=>e.__isTeleport,$t=e=>e&&(e.disabled||e.disabled===""),il=e=>e&&(e.defer||e.defer===""),tr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,nr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ss=(e,t)=>{const n=e&&e.to;return se(n)?t?t(n):null:n},ol={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,a){const{mc:u,pc:d,pbc:p,o:{insert:m,querySelector:C,createText:E,createComment:W}}=a,H=$t(t.props);let{shapeFlag:A,children:M,dynamicChildren:b}=t;if(e==null){const w=t.el=E(""),P=t.anchor=E("");m(w,n,s),m(P,n,s);const j=(O,L)=>{A&16&&(r&&r.isCE&&(r.ce._teleportTarget=O),u(M,O,L,r,i,o,l,c))},K=()=>{const O=t.target=ss(t.props,C),L=di(O,t,E,m);O&&(o!=="svg"&&tr(O)?o="svg":o!=="mathml"&&nr(O)&&(o="mathml"),H||(j(O,L),on(t,!1)))};H&&(j(n,P),on(t,!0)),il(t.props)?le(K,i):K()}else{t.el=e.el,t.targetStart=e.targetStart;const w=t.anchor=e.anchor,P=t.target=e.target,j=t.targetAnchor=e.targetAnchor,K=$t(e.props),O=K?n:P,L=K?w:j;if(o==="svg"||tr(P)?o="svg":(o==="mathml"||nr(P))&&(o="mathml"),b?(p(e.dynamicChildren,b,O,r,i,o,l),Vs(e,t,!0)):c||d(e,t,O,L,r,i,o,l,!1),H)K?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):nn(t,n,w,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const k=t.target=ss(t.props,C);k&&nn(t,k,null,a,0)}else K&&nn(t,P,j,a,1);on(t,H)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:a,targetAnchor:u,target:d,props:p}=e;if(d&&(r(a),r(u)),i&&r(c),o&16){const m=i||!$t(p);for(let C=0;C<l.length;C++){const E=l[C];s(E,t,n,m,!!E.dynamicChildren)}}},move:nn,hydrate:ll};function nn(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:c,children:a,props:u}=e,d=i===2;if(d&&s(o,t,n),(!d||$t(u))&&c&16)for(let p=0;p<a.length;p++)r(a[p],t,n,2);d&&s(l,t,n)}function ll(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:a,createText:u}},d){const p=t.target=ss(t.props,c);if(p){const m=$t(t.props),C=p._lpa||p.firstChild;if(t.shapeFlag&16)if(m)t.anchor=d(o(e),t,l(e),n,s,r,i),t.targetStart=C,t.targetAnchor=C&&o(C);else{t.anchor=o(e);let E=C;for(;E;){if(E&&E.nodeType===8){if(E.data==="teleport start anchor")t.targetStart=E;else if(E.data==="teleport anchor"){t.targetAnchor=E,p._lpa=t.targetAnchor&&o(t.targetAnchor);break}}E=o(E)}t.targetAnchor||di(p,t,u,a),d(C&&o(C),t,p,n,s,r,i)}on(t,m)}return t.anchor&&o(t.anchor)}const tf=ol;function on(e,t){const n=e.ctx;if(n&&n.ut){let s,r;for(t?(s=e.el,r=e.anchor):(s=e.targetStart,r=e.targetAnchor);s&&s!==r;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function di(e,t,n,s){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[ui]=i,e&&(s(r,e),s(i,e)),i}const ze=Symbol("_leaveCb"),sn=Symbol("_enterCb");function hi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Dn(()=>{e.isMounted=!0}),Ds(()=>{e.isUnmounting=!0}),e}const Ee=[Function,Array],pi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ee,onEnter:Ee,onAfterEnter:Ee,onEnterCancelled:Ee,onBeforeLeave:Ee,onLeave:Ee,onAfterLeave:Ee,onLeaveCancelled:Ee,onBeforeAppear:Ee,onAppear:Ee,onAfterAppear:Ee,onAppearCancelled:Ee},gi=e=>{const t=e.subTree;return t.component?gi(t.component):t},cl={name:"BaseTransition",props:pi,setup(e,{slots:t}){const n=Et(),s=hi();return()=>{const r=t.default&&Rs(t.default(),!0);if(!r||!r.length)return;const i=mi(r),o=G(e),{mode:l}=o;if(s.isLeaving)return Un(i);const c=sr(i);if(!c)return Un(i);let a=Wt(c,o,s,n,p=>a=p);c.type!==ce&&Ze(c,a);const u=n.subTree,d=u&&sr(u);if(d&&d.type!==ce&&!Oe(c,d)&&gi(n).type!==ce){const p=Wt(d,o,s,n);if(Ze(d,p),l==="out-in"&&c.type!==ce)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave},Un(i);l==="in-out"&&c.type!==ce&&(p.delayLeave=(m,C,E)=>{const W=_i(s,d);W[String(d.key)]=d,m[ze]=()=>{C(),m[ze]=void 0,delete a.delayedLeave},a.delayedLeave=E})}return i}}};function mi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ce){t=n;break}}return t}const fl=cl;function _i(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Wt(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:a,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:p,onLeave:m,onAfterLeave:C,onLeaveCancelled:E,onBeforeAppear:W,onAppear:H,onAfterAppear:A,onAppearCancelled:M}=t,b=String(e.key),w=_i(n,e),P=(O,L)=>{O&&De(O,s,9,L)},j=(O,L)=>{const k=L[1];P(O,L),D(O)?O.every(R=>R.length<=1)&&k():O.length<=1&&k()},K={mode:o,persisted:l,beforeEnter(O){let L=c;if(!n.isMounted)if(i)L=W||c;else return;O[ze]&&O[ze](!0);const k=w[b];k&&Oe(e,k)&&k.el[ze]&&k.el[ze](),P(L,[O])},enter(O){let L=a,k=u,R=d;if(!n.isMounted)if(i)L=H||a,k=A||u,R=M||d;else return;let q=!1;const re=O[sn]=Se=>{q||(q=!0,Se?P(R,[O]):P(k,[O]),K.delayedLeave&&K.delayedLeave(),O[sn]=void 0)};L?j(L,[O,re]):re()},leave(O,L){const k=String(e.key);if(O[sn]&&O[sn](!0),n.isUnmounting)return L();P(p,[O]);let R=!1;const q=O[ze]=re=>{R||(R=!0,L(),re?P(E,[O]):P(C,[O]),O[ze]=void 0,w[k]===e&&delete w[k])};w[k]=e,m?j(m,[O,q]):q()},clone(O){const L=Wt(O,t,n,s,r);return r&&r(L),L}};return K}function Un(e){if(Rn(e))return e=Ue(e),e.children=null,e}function sr(e){if(!Rn(e))return ai(e.type)&&e.children?mi(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&$(n.default))return n.default()}}function Ze(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ze(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Rs(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===ye?(o.patchFlag&128&&r++,s=s.concat(Rs(o.children,t,l))):(t||o.type!==ce)&&s.push(l!=null?Ue(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function nf(e,t){return $(e)?ie({name:e.name},t,{setup:e}):e}function yi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function rs(e,t,n,s,r=!1){if(D(e)){e.forEach((C,E)=>rs(C,t&&(D(t)?t[E]:t),n,s,r));return}if(ct(s)&&!r)return;const i=s.shapeFlag&4?Bn(s.component):s.el,o=r?null:i,{i:l,r:c}=e,a=t&&t.r,u=l.refs===J?l.refs={}:l.refs,d=l.setupState,p=G(d),m=d===J?()=>!1:C=>Y(p,C);if(a!=null&&a!==c&&(se(a)?(u[a]=null,m(a)&&(d[a]=null)):ue(a)&&(a.value=null)),$(c))Jt(c,l,12,[o,u]);else{const C=se(c),E=ue(c);if(C||E){const W=()=>{if(e.f){const H=C?m(c)?d[c]:u[c]:c.value;r?D(H)&&bs(H,i):D(H)?H.includes(i)||H.push(i):C?(u[c]=[i],m(c)&&(d[c]=u[c])):(c.value=[i],e.k&&(u[e.k]=c.value))}else C?(u[c]=o,m(c)&&(d[c]=o)):E&&(c.value=o,e.k&&(u[e.k]=o))};o?(W.id=-1,le(W,n)):W()}}}In().requestIdleCallback;In().cancelIdleCallback;const ct=e=>!!e.type.__asyncLoader,Rn=e=>e.type.__isKeepAlive,ul={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Et(),s=n.ctx;if(!s.renderer)return()=>{const A=t.default&&t.default();return A&&A.length===1?A[0]:A};const r=new Map,i=new Set;let o=null;const l=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:d}}}=s,p=d("div");s.activate=(A,M,b,w,P)=>{const j=A.component;a(A,M,b,0,l),c(j.vnode,A,M,b,j,l,w,A.slotScopeIds,P),le(()=>{j.isDeactivated=!1,j.a&&_t(j.a);const K=A.props&&A.props.onVnodeMounted;K&&Ae(K,j.parent,A)},l)},s.deactivate=A=>{const M=A.component;_n(M.m),_n(M.a),a(A,p,null,1,l),le(()=>{M.da&&_t(M.da);const b=A.props&&A.props.onVnodeUnmounted;b&&Ae(b,M.parent,A),M.isDeactivated=!0},l)};function m(A){Wn(A),u(A,n,l,!0)}function C(A){r.forEach((M,b)=>{const w=ps(M.type);w&&!A(w)&&E(b)})}function E(A){const M=r.get(A);M&&(!o||!Oe(M,o))?m(M):o&&Wn(o),r.delete(A),i.delete(A)}cn(()=>[e.include,e.exclude],([A,M])=>{A&&C(b=>Pt(A,b)),M&&C(b=>!Pt(M,b))},{flush:"post",deep:!0});let W=null;const H=()=>{W!=null&&(yn(n.subTree.type)?le(()=>{r.set(W,rn(n.subTree))},n.subTree.suspense):r.set(W,rn(n.subTree)))};return Dn(H),Ps(H),Ds(()=>{r.forEach(A=>{const{subTree:M,suspense:b}=n,w=rn(M);if(A.type===w.type&&A.key===w.key){Wn(w);const P=w.component.da;P&&le(P,b);return}m(A)})}),()=>{if(W=null,!t.default)return o=null;const A=t.default(),M=A[0];if(A.length>1)return o=null,A;if(!at(M)||!(M.shapeFlag&4)&&!(M.shapeFlag&128))return o=null,M;let b=rn(M);if(b.type===ce)return o=null,b;const w=b.type,P=ps(ct(b)?b.type.__asyncResolved||{}:w),{include:j,exclude:K,max:O}=e;if(j&&(!P||!Pt(j,P))||K&&P&&Pt(K,P))return b.shapeFlag&=-257,o=b,M;const L=b.key==null?w:b.key,k=r.get(L);return b.el&&(b=Ue(b),M.shapeFlag&128&&(M.ssContent=b)),W=L,k?(b.el=k.el,b.component=k.component,b.transition&&Ze(b,b.transition),b.shapeFlag|=512,i.delete(L),i.add(L)):(i.add(L),O&&i.size>parseInt(O,10)&&E(i.values().next().value)),b.shapeFlag|=256,o=b,yn(M.type)?M:b}}},sf=ul;function Pt(e,t){return D(e)?e.some(n=>Pt(n,t)):se(e)?e.split(",").includes(t):co(e)?(e.lastIndex=0,e.test(t)):!1}function al(e,t){bi(e,"a",t)}function dl(e,t){bi(e,"da",t)}function bi(e,t,n=fe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Pn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Rn(r.parent.vnode)&&hl(s,t,n,r),r=r.parent}}function hl(e,t,n,s){const r=Pn(t,e,s,!0);Ns(()=>{bs(s[t],r)},n)}function Wn(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function rn(e){return e.shapeFlag&128?e.ssContent:e}function Pn(e,t,n=fe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Qe();const l=dt(n),c=De(t,n,e,o);return l(),et(),c});return s?r.unshift(i):r.push(i),i}}const Ge=e=>(t,n=fe)=>{(!qt||e==="sp")&&Pn(e,(...s)=>t(...s),n)},vi=Ge("bm"),Dn=Ge("m"),pl=Ge("bu"),Ps=Ge("u"),Ds=Ge("bum"),Ns=Ge("um"),gl=Ge("sp"),ml=Ge("rtg"),_l=Ge("rtc");function yl(e,t=fe){Pn("ec",e,t)}const Ls="components",bl="directives";function rf(e,t){return Bs(Ls,e,!0,t)||e}const xi=Symbol.for("v-ndc");function of(e){return se(e)?Bs(Ls,e,!1)||e:e||xi}function lf(e){return Bs(bl,e)}function Bs(e,t,n=!0,s=!1){const r=oe||fe;if(r){const i=r.type;if(e===Ls){const l=ps(i,!1);if(l&&(l===t||l===we(t)||l===Fn(we(t))))return i}const o=rr(r[e]||i[e],t)||rr(r.appContext[e],t);return!o&&s?i:o}}function rr(e,t){return e&&(e[t]||e[we(t)]||e[Fn(we(t))])}function cf(e,t,n,s){let r;const i=n,o=D(e);if(o||se(e)){const l=o&&yt(e);let c=!1;l&&(c=!Fe(e),e=On(e)),r=new Array(e.length);for(let a=0,u=e.length;a<u;a++)r[a]=t(c?pe(e[a]):e[a],a,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(X(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,a=l.length;c<a;c++){const u=l[c];r[c]=t(e[u],u,c,i)}}else r=[];return r}function ff(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(D(s))for(let r=0;r<s.length;r++)e[s[r].name]=s[r].fn;else s&&(e[s.name]=s.key?(...r)=>{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function uf(e,t,n={},s,r){if(oe.ce||oe.parent&&ct(oe.parent)&&oe.parent.ce)return t!=="default"&&(n.name=t),bn(),us(ye,null,[ae("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),bn();const o=i&&Ci(i(n)),l=n.key||o&&o.key,c=us(ye,{key:(l&&!Pe(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Ci(e){return e.some(t=>at(t)?!(t.type===ce||t.type===ye&&!Ci(t.children)):!0)?e:null}const is=e=>e?ki(e)?Bn(e):is(e.parent):null,Ht=ie(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>is(e.parent),$root:e=>is(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>$s(e),$forceUpdate:e=>e.f||(e.f=()=>{Os(e.update)}),$nextTick:e=>e.n||(e.n=nl.bind(e.proxy)),$watch:e=>kl.bind(e)}),Gn=(e,t)=>e!==J&&!e.__isScriptSetup&&Y(e,t),vl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Gn(s,t))return o[t]=1,s[t];if(r!==J&&Y(r,t))return o[t]=2,r[t];if((a=e.propsOptions[0])&&Y(a,t))return o[t]=3,i[t];if(n!==J&&Y(n,t))return o[t]=4,n[t];os&&(o[t]=0)}}const u=Ht[t];let d,p;if(u)return t==="$attrs"&&he(e.attrs,"get",""),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==J&&Y(n,t))return o[t]=4,n[t];if(p=c.config.globalProperties,Y(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Gn(r,t)?(r[t]=n,!0):s!==J&&Y(s,t)?(s[t]=n,!0):Y(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==J&&Y(e,o)||Gn(t,o)||(l=i[0])&&Y(l,o)||Y(s,o)||Y(Ht,o)||Y(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Y(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gn(e){return D(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function af(e,t){return!e||!t?e||t:D(e)&&D(t)?e.concat(t):ie({},gn(e),gn(t))}function df(e){const t=Et();let n=e();return ds(),vs(n)&&(n=n.catch(s=>{throw dt(t),s})),[n,()=>dt(t)]}let os=!0;function xl(e){const t=$s(e),n=e.proxy,s=e.ctx;os=!1,t.beforeCreate&&ir(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:a,created:u,beforeMount:d,mounted:p,beforeUpdate:m,updated:C,activated:E,deactivated:W,beforeDestroy:H,beforeUnmount:A,destroyed:M,unmounted:b,render:w,renderTracked:P,renderTriggered:j,errorCaptured:K,serverPrefetch:O,expose:L,inheritAttrs:k,components:R,directives:q,filters:re}=t;if(a&&Cl(a,s,null),o)for(const Z in o){const Q=o[Z];$(Q)&&(s[Z]=Q.bind(n))}if(r){const Z=r.call(n,n);X(Z)&&(e.data=Fs(Z))}if(os=!0,i)for(const Z in i){const Q=i[Z],tt=$(Q)?Q.bind(n,n):$(Q.get)?Q.get.bind(n,n):$e,Xt=!$(Q)&&$(Q.set)?Q.set.bind(n):$e,nt=pc({get:tt,set:Xt});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>nt.value,set:Ne=>nt.value=Ne})}if(l)for(const Z in l)Ti(l[Z],s,n,Z);if(c){const Z=$(c)?c.call(n):c;Reflect.ownKeys(Z).forEach(Q=>{Fl(Q,Z[Q])})}u&&ir(u,e,"c");function ne(Z,Q){D(Q)?Q.forEach(tt=>Z(tt.bind(n))):Q&&Z(Q.bind(n))}if(ne(vi,d),ne(Dn,p),ne(pl,m),ne(Ps,C),ne(al,E),ne(dl,W),ne(yl,K),ne(_l,P),ne(ml,j),ne(Ds,A),ne(Ns,b),ne(gl,O),D(L))if(L.length){const Z=e.exposed||(e.exposed={});L.forEach(Q=>{Object.defineProperty(Z,Q,{get:()=>n[Q],set:tt=>n[Q]=tt})})}else e.exposed||(e.exposed={});w&&e.render===$e&&(e.render=w),k!=null&&(e.inheritAttrs=k),R&&(e.components=R),q&&(e.directives=q),O&&yi(e)}function Cl(e,t,n=$e){D(e)&&(e=ls(e));for(const s in e){const r=e[s];let i;X(r)?"default"in r?i=ln(r.from||s,r.default,!0):i=ln(r.from||s):i=ln(r),ue(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function ir(e,t,n){De(D(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ti(e,t,n,s){let r=s.includes(".")?Ni(n,s):()=>n[s];if(se(e)){const i=t[e];$(i)&&cn(r,i)}else if($(e))cn(r,e.bind(n));else if(X(e))if(D(e))e.forEach(i=>Ti(i,t,n,s));else{const i=$(e.handler)?e.handler.bind(n):t[e.handler];$(i)&&cn(r,i,e)}}function $s(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>mn(c,a,o,!0)),mn(c,t,o)),X(t)&&i.set(t,c),c}function mn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&mn(e,i,n,!0),r&&r.forEach(o=>mn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Tl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Tl={data:or,props:lr,emits:lr,methods:Dt,computed:Dt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Dt,directives:Dt,watch:Sl,provide:or,inject:wl};function or(e,t){return t?e?function(){return ie($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function wl(e,t){return Dt(ls(e),ls(t))}function ls(e){if(D(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ge(e,t){return e?[...new Set([].concat(e,t))]:t}function Dt(e,t){return e?ie(Object.create(null),e,t):t}function lr(e,t){return e?D(e)&&D(t)?[...new Set([...e,...t])]:ie(Object.create(null),gn(e),gn(t??{})):t}function Sl(e,t){if(!e)return t;if(!t)return e;const n=ie(Object.create(null),e);for(const s in t)n[s]=ge(e[s],t[s]);return n}function wi(){return{app:null,config:{isNativeTag:oo,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let El=0;function Al(e,t){return function(s,r=null){$(s)||(s=ie({},s)),r!=null&&!X(r)&&(r=null);const i=wi(),o=new WeakSet,l=[];let c=!1;const a=i.app={_uid:El++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:mc,get config(){return i.config},set config(u){},use(u,...d){return o.has(u)||(u&&$(u.install)?(o.add(u),u.install(a,...d)):$(u)&&(o.add(u),u(a,...d))),a},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),a},component(u,d){return d?(i.components[u]=d,a):i.components[u]},directive(u,d){return d?(i.directives[u]=d,a):i.directives[u]},mount(u,d,p){if(!c){const m=a._ceVNode||ae(s,r);return m.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),d&&t?t(m,u):e(m,u,p),c=!0,a._container=u,u.__vue_app__=a,Bn(m.component)}},onUnmount(u){l.push(u)},unmount(){c&&(De(l,a._instance,16),e(null,a._container),delete a._container.__vue_app__)},provide(u,d){return i.provides[u]=d,a},runWithContext(u){const d=ft;ft=a;try{return u()}finally{ft=d}}};return a}}let ft=null;function Fl(e,t){if(fe){let n=fe.provides;const s=fe.parent&&fe.parent.provides;s===n&&(n=fe.provides=Object.create(s)),n[e]=t}}function ln(e,t,n=!1){const s=fe||oe;if(s||ft){const r=ft?ft._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&$(t)?t.call(s&&s.proxy):t}}function hf(){return!!(fe||oe||ft)}const Si={},Ei=()=>Object.create(Si),Ai=e=>Object.getPrototypeOf(e)===Si;function Il(e,t,n,s=!1){const r={},i=Ei();e.propsDefaults=Object.create(null),Fi(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Ko(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Ml(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=G(r),[c]=e.propsOptions;let a=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let p=u[d];if(Nn(e.emitsOptions,p))continue;const m=t[p];if(c)if(Y(i,p))m!==i[p]&&(i[p]=m,a=!0);else{const C=we(p);r[C]=cs(c,l,C,m,e,!1)}else m!==i[p]&&(i[p]=m,a=!0)}}}else{Fi(e,t,r,i)&&(a=!0);let u;for(const d in l)(!t||!Y(t,d)&&((u=We(d))===d||!Y(t,u)))&&(c?n&&(n[d]!==void 0||n[u]!==void 0)&&(r[d]=cs(c,l,d,void 0,e,!0)):delete r[d]);if(i!==l)for(const d in i)(!t||!Y(t,d))&&(delete i[d],a=!0)}a&&Ke(e.attrs,"set","")}function Fi(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(Nt(c))continue;const a=t[c];let u;r&&Y(r,u=we(c))?!i||!i.includes(u)?n[u]=a:(l||(l={}))[u]=a:Nn(e.emitsOptions,c)||(!(c in s)||a!==s[c])&&(s[c]=a,o=!0)}if(i){const c=G(n),a=l||J;for(let u=0;u<i.length;u++){const d=i[u];n[d]=cs(r,c,d,a[d],e,!Y(a,d))}}return o}function cs(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=Y(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&$(c)){const{propsDefaults:a}=r;if(n in a)s=a[n];else{const u=dt(r);s=a[n]=c.call(null,t),u()}}else s=c;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===We(n))&&(s=!0))}return s}const Ol=new WeakMap;function Ii(e,t,n=!1){const s=n?Ol:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!$(e)){const u=d=>{c=!0;const[p,m]=Ii(d,t,!0);ie(o,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!c)return X(e)&&s.set(e,gt),gt;if(D(i))for(let u=0;u<i.length;u++){const d=we(i[u]);cr(d)&&(o[d]=J)}else if(i)for(const u in i){const d=we(u);if(cr(d)){const p=i[u],m=o[d]=D(p)||$(p)?{type:p}:ie({},p),C=m.type;let E=!1,W=!0;if(D(C))for(let H=0;H<C.length;++H){const A=C[H],M=$(A)&&A.name;if(M==="Boolean"){E=!0;break}else M==="String"&&(W=!1)}else E=$(C)&&C.name==="Boolean";m[0]=E,m[1]=W,(E||Y(m,"default"))&&l.push(d)}}const a=[o,l];return X(e)&&s.set(e,a),a}function cr(e){return e[0]!=="$"&&!Nt(e)}const Mi=e=>e[0]==="_"||e==="$stable",Hs=e=>D(e)?e.map(Me):[Me(e)],Rl=(e,t,n)=>{if(t._n)return t;const s=rl((...r)=>Hs(t(...r)),n);return s._c=!1,s},Oi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Mi(r))continue;const i=e[r];if($(i))t[r]=Rl(r,i,s);else if(i!=null){const o=Hs(i);t[r]=()=>o}}},Ri=(e,t)=>{const n=Hs(t);e.slots.default=()=>n},Pi=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Pl=(e,t,n)=>{const s=e.slots=Ei();if(e.vnode.shapeFlag&32){const r=t._;r?(Pi(s,t,n),n&&Pr(s,"_",r,!0)):Oi(t,s)}else t&&Ri(e,t)},Dl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=J;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Pi(r,t,n):(i=!t.$stable,Oi(t,r)),o=t}else t&&(Ri(e,t),o={default:1});if(i)for(const l in r)!Mi(l)&&o[l]==null&&delete r[l]},le=ec;function Nl(e){return Ll(e)}function Ll(e,t){const n=In();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:a,setElementText:u,parentNode:d,nextSibling:p,setScopeId:m=$e,insertStaticContent:C}=e,E=(f,h,g,v=null,_=null,y=null,F=void 0,S=null,T=!!h.dynamicChildren)=>{if(f===h)return;f&&!Oe(f,h)&&(v=Zt(f),Ne(f,_,y,!0),f=null),h.patchFlag===-2&&(T=!1,h.dynamicChildren=null);const{type:x,ref:B,shapeFlag:I}=h;switch(x){case Ln:W(f,h,g,v);break;case ce:H(f,h,g,v);break;case Vt:f==null&&A(h,g,v,F);break;case ye:R(f,h,g,v,_,y,F,S,T);break;default:I&1?w(f,h,g,v,_,y,F,S,T):I&6?q(f,h,g,v,_,y,F,S,T):(I&64||I&128)&&x.process(f,h,g,v,_,y,F,S,T,Ft)}B!=null&&_&&rs(B,f&&f.ref,y,h||f,!h)},W=(f,h,g,v)=>{if(f==null)s(h.el=l(h.children),g,v);else{const _=h.el=f.el;h.children!==f.children&&a(_,h.children)}},H=(f,h,g,v)=>{f==null?s(h.el=c(h.children||""),g,v):h.el=f.el},A=(f,h,g,v)=>{[f.el,f.anchor]=C(f.children,h,g,v,f.el,f.anchor)},M=({el:f,anchor:h},g,v)=>{let _;for(;f&&f!==h;)_=p(f),s(f,g,v),f=_;s(h,g,v)},b=({el:f,anchor:h})=>{let g;for(;f&&f!==h;)g=p(f),r(f),f=g;r(h)},w=(f,h,g,v,_,y,F,S,T)=>{h.type==="svg"?F="svg":h.type==="math"&&(F="mathml"),f==null?P(h,g,v,_,y,F,S,T):O(f,h,_,y,F,S,T)},P=(f,h,g,v,_,y,F,S)=>{let T,x;const{props:B,shapeFlag:I,transition:N,dirs:V}=f;if(T=f.el=o(f.type,y,B&&B.is,B),I&8?u(T,f.children):I&16&&K(f.children,T,null,v,_,qn(f,y),F,S),V&&st(f,null,v,"created"),j(T,f,f.scopeId,F,v),B){for(const ee in B)ee!=="value"&&!Nt(ee)&&i(T,ee,null,B[ee],y,v);"value"in B&&i(T,"value",null,B.value,y),(x=B.onVnodeBeforeMount)&&Ae(x,v,f)}V&&st(f,null,v,"beforeMount");const U=Bl(_,N);U&&N.beforeEnter(T),s(T,h,g),((x=B&&B.onVnodeMounted)||U||V)&&le(()=>{x&&Ae(x,v,f),U&&N.enter(T),V&&st(f,null,v,"mounted")},_)},j=(f,h,g,v,_)=>{if(g&&m(f,g),v)for(let y=0;y<v.length;y++)m(f,v[y]);if(_){let y=_.subTree;if(h===y||yn(y.type)&&(y.ssContent===h||y.ssFallback===h)){const F=_.vnode;j(f,F,F.scopeId,F.slotScopeIds,_.parent)}}},K=(f,h,g,v,_,y,F,S,T=0)=>{for(let x=T;x<f.length;x++){const B=f[x]=S?Xe(f[x]):Me(f[x]);E(null,B,h,g,v,_,y,F,S)}},O=(f,h,g,v,_,y,F)=>{const S=h.el=f.el;let{patchFlag:T,dynamicChildren:x,dirs:B}=h;T|=f.patchFlag&16;const I=f.props||J,N=h.props||J;let V;if(g&&rt(g,!1),(V=N.onVnodeBeforeUpdate)&&Ae(V,g,h,f),B&&st(h,f,g,"beforeUpdate"),g&&rt(g,!0),(I.innerHTML&&N.innerHTML==null||I.textContent&&N.textContent==null)&&u(S,""),x?L(f.dynamicChildren,x,S,g,v,qn(h,_),y):F||Q(f,h,S,null,g,v,qn(h,_),y,!1),T>0){if(T&16)k(S,I,N,g,_);else if(T&2&&I.class!==N.class&&i(S,"class",null,N.class,_),T&4&&i(S,"style",I.style,N.style,_),T&8){const U=h.dynamicProps;for(let ee=0;ee<U.length;ee++){const z=U[ee],xe=I[z],de=N[z];(de!==xe||z==="value")&&i(S,z,xe,de,_,g)}}T&1&&f.children!==h.children&&u(S,h.children)}else!F&&x==null&&k(S,I,N,g,_);((V=N.onVnodeUpdated)||B)&&le(()=>{V&&Ae(V,g,h,f),B&&st(h,f,g,"updated")},v)},L=(f,h,g,v,_,y,F)=>{for(let S=0;S<h.length;S++){const T=f[S],x=h[S],B=T.el&&(T.type===ye||!Oe(T,x)||T.shapeFlag&70)?d(T.el):g;E(T,x,B,null,v,_,y,F,!0)}},k=(f,h,g,v,_)=>{if(h!==g){if(h!==J)for(const y in h)!Nt(y)&&!(y in g)&&i(f,y,h[y],null,_,v);for(const y in g){if(Nt(y))continue;const F=g[y],S=h[y];F!==S&&y!=="value"&&i(f,y,S,F,_,v)}"value"in g&&i(f,"value",h.value,g.value,_)}},R=(f,h,g,v,_,y,F,S,T)=>{const x=h.el=f?f.el:l(""),B=h.anchor=f?f.anchor:l("");let{patchFlag:I,dynamicChildren:N,slotScopeIds:V}=h;V&&(S=S?S.concat(V):V),f==null?(s(x,g,v),s(B,g,v),K(h.children||[],g,B,_,y,F,S,T)):I>0&&I&64&&N&&f.dynamicChildren?(L(f.dynamicChildren,N,g,_,y,F,S),(h.key!=null||_&&h===_.subTree)&&Vs(f,h,!0)):Q(f,h,g,B,_,y,F,S,T)},q=(f,h,g,v,_,y,F,S,T)=>{h.slotScopeIds=S,f==null?h.shapeFlag&512?_.ctx.activate(h,g,v,F,T):re(h,g,v,_,y,F,T):Se(f,h,T)},re=(f,h,g,v,_,y,F)=>{const S=f.component=cc(f,v,_);if(Rn(f)&&(S.ctx.renderer=Ft),fc(S,!1,F),S.asyncDep){if(_&&_.registerDep(S,ne,F),!f.el){const T=S.subTree=ae(ce);H(null,T,h,g)}}else ne(S,f,h,g,_,y,F)},Se=(f,h,g)=>{const v=h.component=f.component;if(Jl(f,h,g))if(v.asyncDep&&!v.asyncResolved){Z(v,h,g);return}else v.next=h,v.update();else h.el=f.el,v.vnode=h},ne=(f,h,g,v,_,y,F)=>{const S=()=>{if(f.isMounted){let{next:I,bu:N,u:V,parent:U,vnode:ee}=f;{const Ce=Di(f);if(Ce){I&&(I.el=ee.el,Z(f,I,F)),Ce.asyncDep.then(()=>{f.isUnmounted||S()});return}}let z=I,xe;rt(f,!1),I?(I.el=ee.el,Z(f,I,F)):I=ee,N&&_t(N),(xe=I.props&&I.props.onVnodeBeforeUpdate)&&Ae(xe,U,I,ee),rt(f,!0);const de=Jn(f),Ie=f.subTree;f.subTree=de,E(Ie,de,d(Ie.el),Zt(Ie),f,_,y),I.el=de.el,z===null&&js(f,de.el),V&&le(V,_),(xe=I.props&&I.props.onVnodeUpdated)&&le(()=>Ae(xe,U,I,ee),_)}else{let I;const{el:N,props:V}=h,{bm:U,m:ee,parent:z,root:xe,type:de}=f,Ie=ct(h);if(rt(f,!1),U&&_t(U),!Ie&&(I=V&&V.onVnodeBeforeMount)&&Ae(I,z,h),rt(f,!0),N&&qs){const Ce=()=>{f.subTree=Jn(f),qs(N,f.subTree,f,_,null)};Ie&&de.__asyncHydrate?de.__asyncHydrate(N,f,Ce):Ce()}else{xe.ce&&xe.ce._injectChildStyle(de);const Ce=f.subTree=Jn(f);E(null,Ce,g,v,f,_,y),h.el=Ce.el}if(ee&&le(ee,_),!Ie&&(I=V&&V.onVnodeMounted)){const Ce=h;le(()=>Ae(I,z,Ce),_)}(h.shapeFlag&256||z&&ct(z.vnode)&&z.vnode.shapeFlag&256)&&f.a&&le(f.a,_),f.isMounted=!0,h=g=v=null}};f.scope.on();const T=f.effect=new Vr(S);f.scope.off();const x=f.update=T.run.bind(T),B=f.job=T.runIfDirty.bind(T);B.i=f,B.id=f.uid,T.scheduler=()=>Os(B),rt(f,!0),x()},Z=(f,h,g)=>{h.component=f;const v=f.vnode.props;f.vnode=h,f.next=null,Ml(f,h.props,v,g),Dl(f,h.children,g),Qe(),er(f),et()},Q=(f,h,g,v,_,y,F,S,T=!1)=>{const x=f&&f.children,B=f?f.shapeFlag:0,I=h.children,{patchFlag:N,shapeFlag:V}=h;if(N>0){if(N&128){Xt(x,I,g,v,_,y,F,S,T);return}else if(N&256){tt(x,I,g,v,_,y,F,S,T);return}}V&8?(B&16&&At(x,_,y),I!==x&&u(g,I)):B&16?V&16?Xt(x,I,g,v,_,y,F,S,T):At(x,_,y,!0):(B&8&&u(g,""),V&16&&K(I,g,v,_,y,F,S,T))},tt=(f,h,g,v,_,y,F,S,T)=>{f=f||gt,h=h||gt;const x=f.length,B=h.length,I=Math.min(x,B);let N;for(N=0;N<I;N++){const V=h[N]=T?Xe(h[N]):Me(h[N]);E(f[N],V,g,null,_,y,F,S,T)}x>B?At(f,_,y,!0,!1,I):K(h,g,v,_,y,F,S,T,I)},Xt=(f,h,g,v,_,y,F,S,T)=>{let x=0;const B=h.length;let I=f.length-1,N=B-1;for(;x<=I&&x<=N;){const V=f[x],U=h[x]=T?Xe(h[x]):Me(h[x]);if(Oe(V,U))E(V,U,g,null,_,y,F,S,T);else break;x++}for(;x<=I&&x<=N;){const V=f[I],U=h[N]=T?Xe(h[N]):Me(h[N]);if(Oe(V,U))E(V,U,g,null,_,y,F,S,T);else break;I--,N--}if(x>I){if(x<=N){const V=N+1,U=V<B?h[V].el:v;for(;x<=N;)E(null,h[x]=T?Xe(h[x]):Me(h[x]),g,U,_,y,F,S,T),x++}}else if(x>N)for(;x<=I;)Ne(f[x],_,y,!0),x++;else{const V=x,U=x,ee=new Map;for(x=U;x<=N;x++){const Te=h[x]=T?Xe(h[x]):Me(h[x]);Te.key!=null&&ee.set(Te.key,x)}let z,xe=0;const de=N-U+1;let Ie=!1,Ce=0;const It=new Array(de);for(x=0;x<de;x++)It[x]=0;for(x=V;x<=I;x++){const Te=f[x];if(xe>=de){Ne(Te,_,y,!0);continue}let Le;if(Te.key!=null)Le=ee.get(Te.key);else for(z=U;z<=N;z++)if(It[z-U]===0&&Oe(Te,h[z])){Le=z;break}Le===void 0?Ne(Te,_,y,!0):(It[Le-U]=x+1,Le>=Ce?Ce=Le:Ie=!0,E(Te,h[Le],g,null,_,y,F,S,T),xe++)}const Js=Ie?$l(It):gt;for(z=Js.length-1,x=de-1;x>=0;x--){const Te=U+x,Le=h[Te],Ys=Te+1<B?h[Te+1].el:v;It[x]===0?E(null,Le,g,Ys,_,y,F,S,T):Ie&&(z<0||x!==Js[z]?nt(Le,g,Ys,2):z--)}}},nt=(f,h,g,v,_=null)=>{const{el:y,type:F,transition:S,children:T,shapeFlag:x}=f;if(x&6){nt(f.component.subTree,h,g,v);return}if(x&128){f.suspense.move(h,g,v);return}if(x&64){F.move(f,h,g,Ft);return}if(F===ye){s(y,h,g);for(let I=0;I<T.length;I++)nt(T[I],h,g,v);s(f.anchor,h,g);return}if(F===Vt){M(f,h,g);return}if(v!==2&&x&1&&S)if(v===0)S.beforeEnter(y),s(y,h,g),le(()=>S.enter(y),_);else{const{leave:I,delayLeave:N,afterLeave:V}=S,U=()=>s(y,h,g),ee=()=>{I(y,()=>{U(),V&&V()})};N?N(y,U,ee):ee()}else s(y,h,g)},Ne=(f,h,g,v=!1,_=!1)=>{const{type:y,props:F,ref:S,children:T,dynamicChildren:x,shapeFlag:B,patchFlag:I,dirs:N,cacheIndex:V}=f;if(I===-2&&(_=!1),S!=null&&rs(S,null,g,f,!0),V!=null&&(h.renderCache[V]=void 0),B&256){h.ctx.deactivate(f);return}const U=B&1&&N,ee=!ct(f);let z;if(ee&&(z=F&&F.onVnodeBeforeUnmount)&&Ae(z,h,f),B&6)io(f.component,g,v);else{if(B&128){f.suspense.unmount(g,v);return}U&&st(f,null,h,"beforeUnmount"),B&64?f.type.remove(f,h,g,Ft,v):x&&!x.hasOnce&&(y!==ye||I>0&&I&64)?At(x,h,g,!1,!0):(y===ye&&I&384||!_&&B&16)&&At(T,h,g),v&&Us(f)}(ee&&(z=F&&F.onVnodeUnmounted)||U)&&le(()=>{z&&Ae(z,h,f),U&&st(f,null,h,"unmounted")},g)},Us=f=>{const{type:h,el:g,anchor:v,transition:_}=f;if(h===ye){ro(g,v);return}if(h===Vt){b(f);return}const y=()=>{r(g),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(f.shapeFlag&1&&_&&!_.persisted){const{leave:F,delayLeave:S}=_,T=()=>F(g,y);S?S(f.el,y,T):T()}else y()},ro=(f,h)=>{let g;for(;f!==h;)g=p(f),r(f),f=g;r(h)},io=(f,h,g)=>{const{bum:v,scope:_,job:y,subTree:F,um:S,m:T,a:x}=f;_n(T),_n(x),v&&_t(v),_.stop(),y&&(y.flags|=8,Ne(F,f,h,g)),S&&le(S,h),le(()=>{f.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},At=(f,h,g,v=!1,_=!1,y=0)=>{for(let F=y;F<f.length;F++)Ne(f[F],h,g,v,_)},Zt=f=>{if(f.shapeFlag&6)return Zt(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const h=p(f.anchor||f.el),g=h&&h[ui];return g?p(g):h};let $n=!1;const Ws=(f,h,g)=>{f==null?h._vnode&&Ne(h._vnode,null,null,!0):E(h._vnode||null,f,h,null,null,null,g),h._vnode=f,$n||($n=!0,er(),li(),$n=!1)},Ft={p:E,um:Ne,m:nt,r:Us,mt:re,mc:K,pc:Q,pbc:L,n:Zt,o:e};let Gs,qs;return{render:Ws,hydrate:Gs,createApp:Al(Ws,Gs)}}function qn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function rt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Bl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Vs(e,t,n=!1){const s=e.children,r=t.children;if(D(s)&&D(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Xe(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&Vs(o,l)),l.type===Ln&&(l.el=o.el)}}function $l(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const a=e[s];if(a!==0){if(r=n[n.length-1],e[r]<a){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<a?i=l+1:o=l;a<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Di(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Di(t)}function _n(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Hl=Symbol.for("v-scx"),Vl=()=>ln(Hl);function pf(e,t){return zt(e,null,t)}function jl(e,t){return zt(e,null,{flush:"post"})}function Kl(e,t){return zt(e,null,{flush:"sync"})}function cn(e,t,n){return zt(e,t,n)}function zt(e,t,n=J){const{immediate:s,deep:r,flush:i,once:o}=n,l=ie({},n),c=t&&s||!t&&i!=="post";let a;if(qt){if(i==="sync"){const m=Vl();a=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=$e,m.resume=$e,m.pause=$e,m}}const u=fe;l.call=(m,C,E)=>De(m,u,C,E);let d=!1;i==="post"?l.scheduler=m=>{le(m,u&&u.suspense)}:i!=="sync"&&(d=!0,l.scheduler=(m,C)=>{C?m():Os(m)}),l.augmentJob=m=>{t&&(m.flags|=4),d&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const p=el(e,t,l);return qt&&(a?a.push(p):c&&p()),p}function kl(e,t,n){const s=this.proxy,r=se(e)?e.includes(".")?Ni(s,e):()=>s[e]:e.bind(s,s);let i;$(t)?i=t:(i=t.handler,n=t);const o=dt(this),l=zt(r,i.bind(s),n);return o(),l}function Ni(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function gf(e,t,n=J){const s=Et(),r=we(t),i=We(t),o=Li(e,r),l=Jo((c,a)=>{let u,d=J,p;return Kl(()=>{const m=e[r];be(u,m)&&(u=m,a())}),{get(){return c(),n.get?n.get(u):u},set(m){const C=n.set?n.set(m):m;if(!be(C,u)&&!(d!==J&&be(m,d)))return;const E=s.vnode.props;E&&(t in E||r in E||i in E)&&(`onUpdate:${t}`in E||`onUpdate:${r}`in E||`onUpdate:${i}`in E)||(u=m,a()),s.emit(`update:${t}`,C),be(m,C)&&be(m,d)&&!be(C,p)&&a(),d=m,p=C}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?o||J:l,done:!1}:{done:!0}}}},l}const Li=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${we(t)}Modifiers`]||e[`${We(t)}Modifiers`];function Ul(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||J;let r=n;const i=t.startsWith("update:"),o=i&&Li(s,t.slice(7));o&&(o.trim&&(r=n.map(u=>se(u)?u.trim():u)),o.number&&(r=n.map(ho)));let l,c=s[l=Hn(t)]||s[l=Hn(we(t))];!c&&i&&(c=s[l=Hn(We(t))]),c&&De(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,De(a,e,6,r)}}function Bi(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!$(e)){const c=a=>{const u=Bi(a,t,!0);u&&(l=!0,ie(o,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(X(e)&&s.set(e,null),null):(D(i)?i.forEach(c=>o[c]=null):ie(o,i),X(e)&&s.set(e,o),o)}function Nn(e,t){return!e||!Sn(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,We(t))||Y(e,t))}function Jn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:a,renderCache:u,props:d,data:p,setupState:m,ctx:C,inheritAttrs:E}=e,W=pn(e);let H,A;try{if(n.shapeFlag&4){const b=r||s,w=b;H=Me(a.call(w,b,u,d,m,p,C)),A=l}else{const b=t;H=Me(b.length>1?b(d,{attrs:l,slots:o,emit:c}):b(d,null)),A=t.props?l:Gl(l)}}catch(b){jt.length=0,Yt(b,e,1),H=ae(ce)}let M=H;if(A&&E!==!1){const b=Object.keys(A),{shapeFlag:w}=M;b.length&&w&7&&(i&&b.some(ys)&&(A=ql(A,i)),M=Ue(M,A,!1,!0))}return n.dirs&&(M=Ue(M,null,!1,!0),M.dirs=M.dirs?M.dirs.concat(n.dirs):n.dirs),n.transition&&Ze(M,n.transition),H=M,pn(W),H}function Wl(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(at(r)){if(r.type!==ce||r.children==="v-if"){if(n)return;n=r}}else return}return n}const Gl=e=>{let t;for(const n in e)(n==="class"||n==="style"||Sn(n))&&((t||(t={}))[n]=e[n]);return t},ql=(e,t)=>{const n={};for(const s in e)(!ys(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Jl(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?fr(s,o,a):!!o;if(c&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const p=u[d];if(o[p]!==s[p]&&!Nn(a,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?fr(s,o,a):!0:!!o;return!1}function fr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!Nn(n,i))return!0}return!1}function js({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const yn=e=>e.__isSuspense;let fs=0;const Yl={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,c,a){if(e==null)zl(t,n,s,r,i,o,l,c,a);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Xl(e,t,n,s,r,o,l,c,a)}},hydrate:Zl,normalize:Ql},mf=Yl;function Gt(e,t){const n=e.props&&e.props[t];$(n)&&n()}function zl(e,t,n,s,r,i,o,l,c){const{p:a,o:{createElement:u}}=c,d=u("div"),p=e.suspense=$i(e,r,s,t,d,n,i,o,l,c);a(null,p.pendingBranch=e.ssContent,d,null,s,p,i,o),p.deps>0?(Gt(e,"onPending"),Gt(e,"onFallback"),a(null,e.ssFallback,t,n,s,null,i,o),vt(p,e.ssFallback)):p.resolve(!1,!0)}function Xl(e,t,n,s,r,i,o,l,{p:c,um:a,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,m=t.ssFallback,{activeBranch:C,pendingBranch:E,isInFallback:W,isHydrating:H}=d;if(E)d.pendingBranch=p,Oe(p,E)?(c(E,p,d.hiddenContainer,null,r,d,i,o,l),d.deps<=0?d.resolve():W&&(H||(c(C,m,n,s,r,null,i,o,l),vt(d,m)))):(d.pendingId=fs++,H?(d.isHydrating=!1,d.activeBranch=E):a(E,r,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),W?(c(null,p,d.hiddenContainer,null,r,d,i,o,l),d.deps<=0?d.resolve():(c(C,m,n,s,r,null,i,o,l),vt(d,m))):C&&Oe(p,C)?(c(C,p,n,s,r,d,i,o,l),d.resolve(!0)):(c(null,p,d.hiddenContainer,null,r,d,i,o,l),d.deps<=0&&d.resolve()));else if(C&&Oe(p,C))c(C,p,n,s,r,d,i,o,l),vt(d,p);else if(Gt(t,"onPending"),d.pendingBranch=p,p.shapeFlag&512?d.pendingId=p.component.suspenseId:d.pendingId=fs++,c(null,p,d.hiddenContainer,null,r,d,i,o,l),d.deps<=0)d.resolve();else{const{timeout:A,pendingId:M}=d;A>0?setTimeout(()=>{d.pendingId===M&&d.fallback(m)},A):A===0&&d.fallback(m)}}function $i(e,t,n,s,r,i,o,l,c,a,u=!1){const{p:d,m:p,um:m,n:C,o:{parentNode:E,remove:W}}=a;let H;const A=tc(e);A&&t&&t.pendingBranch&&(H=t.pendingId,t.deps++);const M=e.props?Dr(e.props.timeout):void 0,b=i,w={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:r,deps:0,pendingId:fs++,timeout:typeof M=="number"?M:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(P=!1,j=!1){const{vnode:K,activeBranch:O,pendingBranch:L,pendingId:k,effects:R,parentComponent:q,container:re}=w;let Se=!1;w.isHydrating?w.isHydrating=!1:P||(Se=O&&L.transition&&L.transition.mode==="out-in",Se&&(O.transition.afterLeave=()=>{k===w.pendingId&&(p(L,re,i===b?C(O):i,0),ns(R))}),O&&(E(O.el)===re&&(i=C(O)),m(O,q,w,!0)),Se||p(L,re,i,0)),vt(w,L),w.pendingBranch=null,w.isInFallback=!1;let ne=w.parent,Z=!1;for(;ne;){if(ne.pendingBranch){ne.effects.push(...R),Z=!0;break}ne=ne.parent}!Z&&!Se&&ns(R),w.effects=[],A&&t&&t.pendingBranch&&H===t.pendingId&&(t.deps--,t.deps===0&&!j&&t.resolve()),Gt(K,"onResolve")},fallback(P){if(!w.pendingBranch)return;const{vnode:j,activeBranch:K,parentComponent:O,container:L,namespace:k}=w;Gt(j,"onFallback");const R=C(K),q=()=>{w.isInFallback&&(d(null,P,L,R,O,null,k,l,c),vt(w,P))},re=P.transition&&P.transition.mode==="out-in";re&&(K.transition.afterLeave=q),w.isInFallback=!0,m(K,O,null,!0),re||q()},move(P,j,K){w.activeBranch&&p(w.activeBranch,P,j,K),w.container=P},next(){return w.activeBranch&&C(w.activeBranch)},registerDep(P,j,K){const O=!!w.pendingBranch;O&&w.deps++;const L=P.vnode.el;P.asyncDep.catch(k=>{Yt(k,P,0)}).then(k=>{if(P.isUnmounted||w.isUnmounted||w.pendingId!==P.suspenseId)return;P.asyncResolved=!0;const{vnode:R}=P;hs(P,k,!1),L&&(R.el=L);const q=!L&&P.subTree.el;j(P,R,E(L||P.subTree.el),L?null:C(P.subTree),w,o,K),q&&W(q),js(P,R.el),O&&--w.deps===0&&w.resolve()})},unmount(P,j){w.isUnmounted=!0,w.activeBranch&&m(w.activeBranch,n,P,j),w.pendingBranch&&m(w.pendingBranch,n,P,j)}};return w}function Zl(e,t,n,s,r,i,o,l,c){const a=t.suspense=$i(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),u=c(e,a.pendingBranch=t.ssContent,n,a,i,o);return a.deps===0&&a.resolve(!1,!0),u}function Ql(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=ur(s?n.default:n),e.ssFallback=s?ur(n.fallback):ae(ce)}function ur(e){let t;if($(e)){const n=Tt&&e._c;n&&(e._d=!1,bn()),e=e(),n&&(e._d=!0,t=ve,Hi())}return D(e)&&(e=Wl(e)),e=Me(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function ec(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):ns(e)}function vt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,js(s,r))}function tc(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ye=Symbol.for("v-fgt"),Ln=Symbol.for("v-txt"),ce=Symbol.for("v-cmt"),Vt=Symbol.for("v-stc"),jt=[];let ve=null;function bn(e=!1){jt.push(ve=e?null:[])}function Hi(){jt.pop(),ve=jt[jt.length-1]||null}let Tt=1;function ar(e){Tt+=e,e<0&&ve&&(ve.hasOnce=!0)}function Vi(e){return e.dynamicChildren=Tt>0?ve||gt:null,Hi(),Tt>0&&ve&&ve.push(e),e}function _f(e,t,n,s,r,i){return Vi(Ki(e,t,n,s,r,i,!0))}function us(e,t,n,s,r){return Vi(ae(e,t,n,s,r,!0))}function at(e){return e?e.__v_isVNode===!0:!1}function Oe(e,t){return e.type===t.type&&e.key===t.key}const ji=({key:e})=>e??null,fn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||ue(e)||$(e)?{i:oe,r:e,k:t,f:!!n}:e:null);function Ki(e,t=null,n=null,s=0,r=null,i=e===ye?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ji(t),ref:t&&fn(t),scopeId:fi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:oe};return l?(Ks(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),Tt>0&&!o&&ve&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&ve.push(c),c}const ae=nc;function nc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===xi)&&(e=ce),at(e)){const l=Ue(e,t,!0);return n&&Ks(l,n),Tt>0&&!i&&ve&&(l.shapeFlag&6?ve[ve.indexOf(e)]=l:ve.push(l)),l.patchFlag=-2,l}if(hc(e)&&(e=e.__vccOpts),t){t=sc(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=Ts(l)),X(c)&&(Ms(c)&&!D(c)&&(c=ie({},c)),t.style=Cs(c))}const o=se(e)?1:yn(e)?128:ai(e)?64:X(e)?4:$(e)?2:0;return Ki(e,t,n,s,r,o,i,!0)}function sc(e){return e?Ms(e)||Ai(e)?ie({},e):e:null}function Ue(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,a=t?ic(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&ji(a),ref:t&&t.ref?n&&i?D(i)?i.concat(fn(t)):[i,fn(t)]:fn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ye?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ue(e.ssContent),ssFallback:e.ssFallback&&Ue(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Ze(u,c.clone(u)),u}function rc(e=" ",t=0){return ae(Ln,null,e,t)}function yf(e,t){const n=ae(Vt,null,e);return n.staticCount=t,n}function bf(e="",t=!1){return t?(bn(),us(ce,null,e)):ae(ce,null,e)}function Me(e){return e==null||typeof e=="boolean"?ae(ce):D(e)?ae(ye,null,e.slice()):at(e)?Xe(e):ae(Ln,null,String(e))}function Xe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ue(e)}function Ks(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ks(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Ai(t)?t._ctx=oe:r===3&&oe&&(oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $(t)?(t={default:t,_ctx:oe},n=32):(t=String(t),s&64?(n=16,t=[rc(t)]):n=8);e.children=t,e.shapeFlag|=n}function ic(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Ts([t.class,s.class]));else if(r==="style")t.style=Cs([t.style,s.style]);else if(Sn(r)){const i=t[r],o=s[r];o&&i!==o&&!(D(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Ae(e,t,n,s=null){De(e,t,7,[n,s])}const oc=wi();let lc=0;function cc(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||oc,i={uid:lc++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Hr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ii(s,r),emitsOptions:Bi(s,r),emit:null,emitted:null,propsDefaults:J,inheritAttrs:s.inheritAttrs,ctx:J,data:J,props:J,attrs:J,slots:J,refs:J,setupState:J,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Ul.bind(null,i),e.ce&&e.ce(i),i}let fe=null;const Et=()=>fe||oe;let vn,as;{const e=In(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};vn=t("__VUE_INSTANCE_SETTERS__",n=>fe=n),as=t("__VUE_SSR_SETTERS__",n=>qt=n)}const dt=e=>{const t=fe;return vn(e),e.scope.on(),()=>{e.scope.off(),vn(t)}},ds=()=>{fe&&fe.scope.off(),vn(null)};function ki(e){return e.vnode.shapeFlag&4}let qt=!1;function fc(e,t=!1,n=!1){t&&as(t);const{props:s,children:r}=e.vnode,i=ki(e);Il(e,s,i,t),Pl(e,r,n);const o=i?uc(e,t):void 0;return t&&as(!1),o}function uc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,vl);const{setup:s}=n;if(s){Qe();const r=e.setupContext=s.length>1?dc(e):null,i=dt(e),o=Jt(s,e,0,[e.props,r]),l=vs(o);if(et(),i(),(l||e.sp)&&!ct(e)&&yi(e),l){if(o.then(ds,ds),t)return o.then(c=>{hs(e,c,t)}).catch(c=>{Yt(c,e,0)});e.asyncDep=o}else hs(e,o,t)}else Ui(e,t)}function hs(e,t,n){$(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=si(t)),Ui(e,n)}let dr;function Ui(e,t,n){const s=e.type;if(!e.render){if(!t&&dr&&!s.render){const r=s.template||$s(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=ie(ie({isCustomElement:i,delimiters:l},o),c);s.render=dr(r,a)}}e.render=s.render||$e}{const r=dt(e);Qe();try{xl(e)}finally{et(),r()}}}const ac={get(e,t){return he(e,"get",""),e[t]}};function dc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ac),slots:e.slots,emit:e.emit,expose:t}}function Bn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(si(ko(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ht)return Ht[n](e)},has(t,n){return n in t||n in Ht}})):e.proxy}function ps(e,t=!0){return $(e)?e.displayName||e.name:e.name||t&&e.__name}function hc(e){return $(e)&&"__vccOpts"in e}const pc=(e,t)=>Zo(e,t,qt);function gc(e,t,n){const s=arguments.length;return s===2?X(t)&&!D(t)?at(t)?ae(e,null,[t]):ae(e,t):ae(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&at(n)&&(n=[n]),ae(e,t,n))}const mc="3.5.12";/**
|
|
14
|
+
* @vue/runtime-dom v3.5.12
|
|
15
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
+
* @license MIT
|
|
17
|
+
**/let gs;const hr=typeof window<"u"&&window.trustedTypes;if(hr)try{gs=hr.createPolicy("vue",{createHTML:e=>e})}catch{}const Wi=gs?e=>gs.createHTML(e):e=>e,_c="http://www.w3.org/2000/svg",yc="http://www.w3.org/1998/Math/MathML",je=typeof document<"u"?document:null,pr=je&&je.createElement("template"),bc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?je.createElementNS(_c,e):t==="mathml"?je.createElementNS(yc,e):n?je.createElement(e,{is:n}):je.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>je.createTextNode(e),createComment:e=>je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{pr.innerHTML=Wi(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=pr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},qe="transition",Ot="animation",wt=Symbol("_vtc"),Gi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},qi=ie({},pi,Gi),vc=e=>(e.displayName="Transition",e.props=qi,e),vf=vc((e,{slots:t})=>gc(fl,Ji(e),t)),it=(e,t=[])=>{D(e)?e.forEach(n=>n(...t)):e&&e(...t)},gr=e=>e?D(e)?e.some(t=>t.length>1):e.length>1:!1;function Ji(e){const t={};for(const R in e)R in Gi||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=o,appearToClass:u=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,C=xc(r),E=C&&C[0],W=C&&C[1],{onBeforeEnter:H,onEnter:A,onEnterCancelled:M,onLeave:b,onLeaveCancelled:w,onBeforeAppear:P=H,onAppear:j=A,onAppearCancelled:K=M}=t,O=(R,q,re)=>{Je(R,q?u:l),Je(R,q?a:o),re&&re()},L=(R,q)=>{R._isLeaving=!1,Je(R,d),Je(R,m),Je(R,p),q&&q()},k=R=>(q,re)=>{const Se=R?j:A,ne=()=>O(q,R,re);it(Se,[q,ne]),mr(()=>{Je(q,R?c:i),Ve(q,R?u:l),gr(Se)||_r(q,s,E,ne)})};return ie(t,{onBeforeEnter(R){it(H,[R]),Ve(R,i),Ve(R,o)},onBeforeAppear(R){it(P,[R]),Ve(R,c),Ve(R,a)},onEnter:k(!1),onAppear:k(!0),onLeave(R,q){R._isLeaving=!0;const re=()=>L(R,q);Ve(R,d),Ve(R,p),zi(),mr(()=>{R._isLeaving&&(Je(R,d),Ve(R,m),gr(b)||_r(R,s,W,re))}),it(b,[R,re])},onEnterCancelled(R){O(R,!1),it(M,[R])},onAppearCancelled(R){O(R,!0),it(K,[R])},onLeaveCancelled(R){L(R),it(w,[R])}})}function xc(e){if(e==null)return null;if(X(e))return[Yn(e.enter),Yn(e.leave)];{const t=Yn(e);return[t,t]}}function Yn(e){return Dr(e)}function Ve(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[wt]||(e[wt]=new Set)).add(t)}function Je(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[wt];n&&(n.delete(t),n.size||(e[wt]=void 0))}function mr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Cc=0;function _r(e,t,n,s){const r=e._endId=++Cc,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Yi(e,t);if(!o)return s();const a=o+"end";let u=0;const d=()=>{e.removeEventListener(a,p),i()},p=m=>{m.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},l+1),e.addEventListener(a,p)}function Yi(e,t){const n=window.getComputedStyle(e),s=C=>(n[C]||"").split(", "),r=s(`${qe}Delay`),i=s(`${qe}Duration`),o=yr(r,i),l=s(`${Ot}Delay`),c=s(`${Ot}Duration`),a=yr(l,c);let u=null,d=0,p=0;t===qe?o>0&&(u=qe,d=o,p=i.length):t===Ot?a>0&&(u=Ot,d=a,p=c.length):(d=Math.max(o,a),u=d>0?o>a?qe:Ot:null,p=u?u===qe?i.length:c.length:0);const m=u===qe&&/\b(transform|all)(,|$)/.test(s(`${qe}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:m}}function yr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>br(n)+br(e[s])))}function br(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function zi(){return document.body.offsetHeight}function Tc(e,t,n){const s=e[wt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const xn=Symbol("_vod"),Xi=Symbol("_vsh"),xf={beforeMount(e,{value:t},{transition:n}){e[xn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Rt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Rt(e,!0),s.enter(e)):s.leave(e,()=>{Rt(e,!1)}):Rt(e,t))},beforeUnmount(e,{value:t}){Rt(e,t)}};function Rt(e,t){e.style.display=t?e[xn]:"none",e[Xi]=!t}const Zi=Symbol("");function Cf(e){const t=Et();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Cn(i,r))},s=()=>{const r=e(t.proxy);t.ce?Cn(t.ce,r):ms(t.subTree,r),n(r)};vi(()=>{jl(s)}),Dn(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Ns(()=>r.disconnect())})}function ms(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{ms(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Cn(e.el,t);else if(e.type===ye)e.children.forEach(n=>ms(n,t));else if(e.type===Vt){let{el:n,anchor:s}=e;for(;n&&(Cn(n,t),n!==s);)n=n.nextSibling}}function Cn(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[Zi]=s}}const wc=/(^|;)\s*display\s*:/;function Sc(e,t,n){const s=e.style,r=se(n);let i=!1;if(n&&!r){if(t)if(se(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&un(s,l,"")}else for(const o in t)n[o]==null&&un(s,o,"");for(const o in n)o==="display"&&(i=!0),un(s,o,n[o])}else if(r){if(t!==n){const o=s[Zi];o&&(n+=";"+o),s.cssText=n,i=wc.test(n)}}else t&&e.removeAttribute("style");xn in e&&(e[xn]=i?s.display:"",e[Xi]&&(s.display="none"))}const vr=/\s*!important$/;function un(e,t,n){if(D(n))n.forEach(s=>un(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ec(e,t);vr.test(n)?e.setProperty(We(s),n.replace(vr,""),"important"):e[s]=n}}const xr=["Webkit","Moz","ms"],zn={};function Ec(e,t){const n=zn[t];if(n)return n;let s=we(t);if(s!=="filter"&&s in e)return zn[t]=s;s=Fn(s);for(let r=0;r<xr.length;r++){const i=xr[r]+s;if(i in e)return zn[t]=i}return t}const Cr="http://www.w3.org/1999/xlink";function Tr(e,t,n,s,r,i=bo(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Cr,t.slice(6,t.length)):e.setAttributeNS(Cr,t,n):n==null||i&&!Nr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Pe(n)?String(n):n)}function wr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Wi(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Nr(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function ks(e,t,n,s){e.addEventListener(t,n,s)}function Ac(e,t,n,s){e.removeEventListener(t,n,s)}const Sr=Symbol("_vei");function Fc(e,t,n,s,r=null){const i=e[Sr]||(e[Sr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=Ic(t);if(s){const a=i[t]=Rc(s,r);ks(e,l,a,c)}else o&&(Ac(e,l,o,c),i[t]=void 0)}}const Er=/(?:Once|Passive|Capture)$/;function Ic(e){let t;if(Er.test(e)){t={};let s;for(;s=e.match(Er);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):We(e.slice(2)),t]}let Xn=0;const Mc=Promise.resolve(),Oc=()=>Xn||(Mc.then(()=>Xn=0),Xn=Date.now());function Rc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;De(Pc(s,n.value),t,5,[s])};return n.value=e,n.attached=Oc(),n}function Pc(e,t){if(D(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Ar=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Dc=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?Tc(e,s,o):t==="style"?Sc(e,n,s):Sn(t)?ys(t)||Fc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Nc(e,t,s,o))?(wr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Tr(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!se(s))?wr(e,we(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Tr(e,t,s,o))};function Nc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ar(t)&&$(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Ar(t)&&se(n)?!1:t in e}const Qi=new WeakMap,eo=new WeakMap,Tn=Symbol("_moveCb"),Fr=Symbol("_enterCb"),Lc=e=>(delete e.props.mode,e),Bc=Lc({name:"TransitionGroup",props:ie({},qi,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Et(),s=hi();let r,i;return Ps(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!jc(r[0].el,n.vnode.el,o))return;r.forEach($c),r.forEach(Hc);const l=r.filter(Vc);zi(),l.forEach(c=>{const a=c.el,u=a.style;Ve(a,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=a[Tn]=p=>{p&&p.target!==a||(!p||/transform$/.test(p.propertyName))&&(a.removeEventListener("transitionend",d),a[Tn]=null,Je(a,o))};a.addEventListener("transitionend",d)})}),()=>{const o=G(e),l=Ji(o);let c=o.tag||ye;if(r=[],i)for(let a=0;a<i.length;a++){const u=i[a];u.el&&u.el instanceof Element&&(r.push(u),Ze(u,Wt(u,l,s,n)),Qi.set(u,u.el.getBoundingClientRect()))}i=t.default?Rs(t.default()):[];for(let a=0;a<i.length;a++){const u=i[a];u.key!=null&&Ze(u,Wt(u,l,s,n))}return ae(c,null,i)}}}),Tf=Bc;function $c(e){const t=e.el;t[Tn]&&t[Tn](),t[Fr]&&t[Fr]()}function Hc(e){eo.set(e,e.el.getBoundingClientRect())}function Vc(e){const t=Qi.get(e),n=eo.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${s}px,${r}px)`,i.transitionDuration="0s",e}}function jc(e,t,n){const s=e.cloneNode(),r=e[wt];r&&r.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(s);const{hasTransform:o}=Yi(s);return i.removeChild(s),o}const wn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return D(t)?n=>_t(t,n):t},xt=Symbol("_assign"),wf={deep:!0,created(e,t,n){e[xt]=wn(n),ks(e,"change",()=>{const s=e._modelValue,r=to(e),i=e.checked,o=e[xt];if(D(s)){const l=Lr(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const a=[...s];a.splice(l,1),o(a)}}else if(En(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(no(e,i))})},mounted:Ir,beforeUpdate(e,t,n){e[xt]=wn(n),Ir(e,t,n)}};function Ir(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(D(t))r=Lr(t,s.props.value)>-1;else if(En(t))r=t.has(s.props.value);else{if(t===n)return;r=Ct(t,no(e,!0))}e.checked!==r&&(e.checked=r)}const Sf={created(e,{value:t},n){e.checked=Ct(t,n.props.value),e[xt]=wn(n),ks(e,"change",()=>{e[xt](to(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[xt]=wn(s),t!==n&&(e.checked=Ct(t,s.props.value))}};function to(e){return"_value"in e?e._value:e.value}function no(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Kc=["ctrl","shift","alt","meta"],kc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Kc.some(n=>e[`${n}Key`]&&!t.includes(n))},Ef=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o<t.length;o++){const l=kc[t[o]];if(l&&l(r,t))return}return e(r,...i)})},Uc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Af=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=We(r.key);if(t.some(o=>o===i||Uc[o]===i))return e(r)})},Wc=ie({patchProp:Dc},bc);let Mr;function so(){return Mr||(Mr=Nl(Wc))}const Ff=(...e)=>{so().render(...e)},If=(...e)=>{const t=so().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=qc(s);if(!r)return;const i=t._component;!$(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Gc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Gc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function qc(e){return se(e)?document.querySelector(e):e}export{vf as $,Qc as A,ei as B,Et as C,zc as D,Fs as E,pf as F,nf as G,ko as H,yt as I,G as J,of as K,gc as L,Xc as M,Fl as N,Ds as O,ye as P,Ns as Q,ae as R,vi as S,Ln as T,at as U,If as V,Ue as W,ce as X,Fn as Y,we as Z,Tf as _,ln as a,lf as a0,Ps as a1,dl as a2,al as a3,tf as a4,rf as a5,Ff as a6,rc as a7,pl as a8,xo as a9,us as aa,rl as ab,Cs as ac,cf as ad,af as ae,gf as af,wf as ag,Cf as ah,yf as ai,Sf as aj,sf as ak,mf as al,ff as am,df as an,bn as b,pc as c,_f as d,ef as e,Ki as f,Ts as g,hf as h,ue as i,uf as j,bf as k,Af as l,ic as m,nl as n,Yc as o,Ef as p,Jo as q,Uo as r,Ko as s,Zc as t,ni as u,xf as v,cn as w,Dn as x,Co as y,Jc as z};
|
package/dist/interface/{@vueform.DZw58F7r.0.0.34-alpha.0.js → @vueform.B9nWZDbJ.0.0.34-alpha.2.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as v,c as b,b as S,d as V,e as D,v as B,f as p,g as y,j as w,k as C,m as N,l as j,p as T}from"./@vue.
|
|
1
|
+
import{t as v,c as b,b as S,d as V,e as D,v as B,f as p,g as y,j as w,k as C,m as N,l as j,p as T}from"./@vue.D0DP0v6_.0.0.34-alpha.2.js";var L={name:"Toggle",emits:["input","update:modelValue","change"],props:{value:{validator:function(e){return n=>["number","string","boolean"].indexOf(typeof n)!==-1||n==null},required:!1},modelValue:{validator:function(e){return n=>["number","string","boolean"].indexOf(typeof n)!==-1||n==null},required:!1},id:{type:[String,Number],required:!1,default:"toggle"},name:{type:[String,Number],required:!1,default:"toggle"},disabled:{type:Boolean,required:!1,default:!1},required:{type:Boolean,required:!1,default:!1},falseValue:{type:[String,Number,Boolean],required:!1,default:!1},trueValue:{type:[String,Number,Boolean],required:!1,default:!0},onLabel:{type:[String,Object],required:!1,default:""},offLabel:{type:[String,Object],required:!1,default:""},classes:{type:Object,required:!1,default:()=>({})},labelledby:{type:String,required:!1},describedby:{type:String,required:!1},aria:{required:!1,type:Object,default:()=>({})}},setup(e,n){const a=function(d,o,c){const{value:r,modelValue:u,falseValue:t,trueValue:l,disabled:f}=v(d),i=u&&u.value!==void 0?u:r,s=b(()=>i.value===l.value),h=g=>{o.emit("input",g),o.emit("update:modelValue",g),o.emit("change",g)},k=()=>{h(l.value)},m=()=>{h(t.value)};return[null,void 0,!1,0,"0","off"].indexOf(i.value)!==-1&&[t.value,l.value].indexOf(i.value)===-1&&m(),[!0,1,"1","on"].indexOf(i.value)!==-1&&[t.value,l.value].indexOf(i.value)===-1&&k(),{externalValue:i,checked:s,update:h,check:k,uncheck:m,handleInput:g=>{h(g.target.checked?l.value:t.value)},handleClick:()=>{f.value||(s.value?m():k())}}}(e,n),O=function(d,o,c){const{trueValue:r,falseValue:u,onLabel:t,offLabel:l}=v(d),f=c.checked,i=c.update;return{label:b(()=>{let s=f.value?t.value:l.value;return s||(s=" "),s}),toggle:()=>{i(f.value?u.value:r.value)},on:()=>{i(r.value)},off:()=>{i(u.value)}}}(e,0,{checked:a.checked,update:a.update}),q=function(d,o,c){const r=v(d),u=r.disabled,t=c.checked,l=b(()=>({container:"toggle-container",toggle:"toggle",toggleOn:"toggle-on",toggleOff:"toggle-off",toggleOnDisabled:"toggle-on-disabled",toggleOffDisabled:"toggle-off-disabled",handle:"toggle-handle",handleOn:"toggle-handle-on",handleOff:"toggle-handle-off",handleOnDisabled:"toggle-handle-on-disabled",handleOffDisabled:"toggle-handle-off-disabled",label:"toggle-label",...r.classes.value}));return{classList:b(()=>({container:l.value.container,toggle:[l.value.toggle,u.value?t.value?l.value.toggleOnDisabled:l.value.toggleOffDisabled:t.value?l.value.toggleOn:l.value.toggleOff],handle:[l.value.handle,u.value?t.value?l.value.handleOnDisabled:l.value.handleOffDisabled:t.value?l.value.handleOn:l.value.handleOff],label:l.value.label}))}}(e,0,{checked:a.checked}),x=function(d,o,c){const{disabled:r}=v(d),u=c.check,t=c.uncheck,l=c.checked;return{handleSpace:()=>{r.value||(l.value?t():u())}}}(e,0,{check:a.check,uncheck:a.uncheck,checked:a.checked});return{...a,...q,...O,...x}}};const M=["tabindex","aria-checked","aria-describedby","aria-labelledby"],z=["id","name","value","checked","disabled"],H=["innerHTML"],K=["checked"];L.render=function(e,n,a,O,q,x){return S(),V("div",N({class:e.classList.container,tabindex:a.disabled?void 0:0,"aria-checked":e.checked,"aria-describedby":a.describedby,"aria-labelledby":a.labelledby,role:"switch"},a.aria,{onKeypress:n[1]||(n[1]=j(T((...d)=>e.handleSpace&&e.handleSpace(...d),["prevent"]),["space"]))}),[D(p("input",{type:"checkbox",id:a.id,name:a.name,value:a.trueValue,checked:e.checked,disabled:a.disabled},null,8,z),[[B,!1]]),p("div",{class:y(e.classList.toggle),onClick:n[0]||(n[0]=(...d)=>e.handleClick&&e.handleClick(...d))},[p("span",{class:y(e.classList.handle)},null,2),w(e.$slots,"label",{checked:e.checked,classList:e.classList},()=>[p("span",{class:y(e.classList.label),innerHTML:e.label},null,10,H)]),a.required?(S(),V("input",{key:0,type:"checkbox",style:{appearance:"none",height:"1px",margin:"0",padding:"0",fontSize:"0",background:"transparent",position:"absolute",width:"100%",bottom:"0",outline:"none"},checked:e.checked,"aria-hidden":"true",tabindex:"-1",required:""},null,8,K)):C("v-if",!0)],2)],16,M)},L.__file="src/Toggle.vue";export{L as b};
|