camera.ui3 0.0.34-alpha.1 → 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/@tanstack.DaYhomXG.0.0.34-alpha.2.js +1 -0
- package/dist/interface/{@vee-validate.BYAqeMXW.0.0.34-alpha.1.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.BsJeH1VL.0.0.34-alpha.1.js → @vueform.B9nWZDbJ.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{@vueuse.C89QVsKq.0.0.34-alpha.1.js → @vueuse.Di3-85fa.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{Account.Dl_h4WcJ.0.0.34-alpha.1.js → Account.Dt2M2G9T.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{Adminpanel.B2CrHAQm.0.0.34-alpha.1.js → Adminpanel.C3sidzLi.0.0.34-alpha.2.js} +2 -2
- package/dist/interface/{Appearance.8KGURqrg.0.0.34-alpha.1.js → Appearance.DcUS-yy7.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{Backup.ByUwt7pB.0.0.34-alpha.1.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.n7S8GG-f.0.0.34-alpha.1.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.DBHaCFiB.0.0.34-alpha.1.js → FirstSteps.YGowg836.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{NewCamera.DXZTbw6t.0.0.34-alpha.1.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.Brji5kRj.0.0.34-alpha.1.js → Settings.CNd6al6p.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{System.DYvfAoEM.0.0.34-alpha.1.js → System.BjAkow0D.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{User.Mr1DinvX.0.0.34-alpha.1.js → User.BtpdbtGz.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{VConfigEditor.vue_vue_type_script_setup_true_lang.DaPxq8EI.0.0.34-alpha.1.js → VConfigEditor.vue_vue_type_script_setup_true_lang.DYl7B603.0.0.34-alpha.2.js} +2 -2
- package/dist/interface/{VConsole.sVPWAfNY.0.0.34-alpha.1.js → VConsole.BA0SOrQC.0.0.34-alpha.2.js} +1 -1
- 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.Cnj3uJ-i.0.0.34-alpha.1.js → ace-builds.CRQWwDGY.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{apexcharts.CMLplPnj.0.0.34-alpha.1.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/{VPlayer.0.0.34-alpha.1.DmbaAA_3.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.DXuprW1u.0.0.34-alpha.1.js → dnd-core.CsRU4im_.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{draggabilly.B4gt8cuQ.0.0.34-alpha.1.js → draggabilly.l2s5eYjI.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{engine.io-client.C6Wzx_jT.0.0.34-alpha.1.js → engine.io-client.Dwbs-ZkK.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{ev-emitter.CCoflQaJ.0.0.34-alpha.1.js → ev-emitter.DepL03rS.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{fast-deep-equal.A6REbYuf.0.0.34-alpha.1.js → fast-deep-equal.CmcaBmI9.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{highlight.js.ChQi-SWt.0.0.34-alpha.1.js → highlight.js.DZ1tIawt.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/index.html +31 -31
- package/dist/interface/{linkify-it.V_1DZtim.0.0.34-alpha.1.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.BSp5IUES.0.0.34-alpha.1.js → markdown-it.BuMckFhq.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{nprogress.BMn57QX7.0.0.34-alpha.1.js → nprogress.CKm3qYbh.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{pinia.C5B5h5W-.0.0.34-alpha.1.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.CoLGEQa3.0.0.34-alpha.1.js → qrcode.xTmFSDRr.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{react-dnd-touch-backend.CC-llxq1.0.0.34-alpha.1.js → react-dnd-touch-backend.pfTbNVbd.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{rxjs.DhS72WZW.0.0.34-alpha.1.js → rxjs.D38gERkL.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{socket.io-client.DA70sIzA.0.0.34-alpha.1.js → socket.io-client.DyznceoQ.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{socket.io-parser.Lr_NuxFX.0.0.34-alpha.1.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.B5ZpJ0o9.0.0.34-alpha.1.js → unidragger.D0z7py8V.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{v-calendar.BP5jhivB.0.0.34-alpha.1.js → v-calendar.B8iX5lRb.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{vee-validate.dtT7hUg2.0.0.34-alpha.1.js → vee-validate.DKbtKMvz.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{vue-i18n.CISOas5G.0.0.34-alpha.1.js → vue-i18n.BH1Ai61X.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{vue-inline-svg.DY4V2SdK.0.0.34-alpha.1.js → vue-inline-svg.DuJxxmO_.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{vue-router.CA6UHABl.0.0.34-alpha.1.js → vue-router.C0Bd386U.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{vue3-apexcharts.D_2v4auN.0.0.34-alpha.1.js → vue3-apexcharts.BvLojs3t.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{vue3-dnd.CcvZ77YQ.0.0.34-alpha.1.js → vue3-dnd.DMur3pq_.0.0.34-alpha.2.js} +1 -1
- package/dist/interface/{vue3-toastify.BnsRFQgq.0.0.34-alpha.1.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 +15 -11
- 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 +61 -2
- 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 +17 -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 +13 -13
- package/dist/server/src/api/schemas/cameras.schema.js +2 -2
- 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 +16 -3
- package/dist/server/src/camera/controller.js +105 -17
- 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} +124 -50
- 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 -51
- 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.js +34 -42
- package/dist/server/src/nats/proxy/cameraDevice.js.map +1 -1
- package/dist/server/src/nats/server.js +29 -18
- package/dist/server/src/nats/server.js.map +1 -1
- package/dist/server/src/plugins/index.d.ts +2 -4
- package/dist/server/src/plugins/index.js +22 -29
- 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 +16 -2
- package/dist/server/src/plugins/worker.js +180 -40
- 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 +53 -6
- 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 +15 -11
- package/dist/interface/@tanstack.CxmCad5b.0.0.34-alpha.1.js +0 -1
- package/dist/interface/@vue.DNK0rzTJ.0.0.34-alpha.1.js +0 -17
- package/dist/interface/Camera.DdT22vMP.0.0.34-alpha.1.js +0 -1
- package/dist/interface/Cameras.BsZY_8-0.0.0.34-alpha.1.js +0 -1
- package/dist/interface/Camview.BgyUqS9_.0.0.34-alpha.1.js +0 -1
- package/dist/interface/Console.C5qRkDn7.0.0.34-alpha.1.js +0 -4
- package/dist/interface/Plugin.9gJauF_V.0.0.34-alpha.1.js +0 -1
- package/dist/interface/Plugins.Ek1Yocg_.0.0.34-alpha.1.js +0 -1
- package/dist/interface/Recordings.BIdhE95Q.0.0.34-alpha.1.js +0 -1
- package/dist/interface/Recordings.DVu_tzMT.0.0.34-alpha.1.js +0 -1
- package/dist/interface/VPlayer.DlJrYynC.0.0.34-alpha.1.js +0 -1
- package/dist/interface/VPluginCard.BXrvS7zB.0.0.34-alpha.1.js +0 -4
- package/dist/interface/assets/Cameras.0.0.34-alpha.1.BgZN27ly.css +0 -1
- package/dist/interface/assets/Console.0.0.34-alpha.1.Cjiivzet.css +0 -1
- package/dist/interface/assets/VPluginCard.0.0.34-alpha.1.BpMChOJT.css +0 -1
- package/dist/interface/assets/main.0.0.34-alpha.1.Degnpyky.css +0 -1
- package/dist/interface/main.bKEuHXmK.0.0.34-alpha.1.js +0 -5
- package/dist/interface/plugins.BbNP66vO.0.0.34-alpha.1.js +0 -1
- package/dist/interface/system.BkLh9FNA.0.0.34-alpha.1.js +0 -1
- package/dist/interface/vuetify.DiAVhTT5.0.0.34-alpha.1.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.1.js → @babel.l0sNRNKZ.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{@intlify.sEJX3RNi.0.0.34-alpha.1.js → @intlify.sEJX3RNi.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{@mdi.C1UTQKuc.0.0.34-alpha.1.js → @mdi.C1UTQKuc.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{@popperjs.l0sNRNKZ.0.0.34-alpha.1.js → @popperjs.l0sNRNKZ.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{@react-dnd.CcwRs9xb.0.0.34-alpha.1.js → @react-dnd.CcwRs9xb.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{@socket.io.Dkula2eQ.0.0.34-alpha.1.js → @socket.io.Dkula2eQ.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{@turf.l0sNRNKZ.0.0.34-alpha.1.js → @turf.l0sNRNKZ.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{@xterm.CEvrn8WJ.0.0.34-alpha.1.js → @xterm.Dv6b8EJg.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/assets/{@vueform.0.0.34-alpha.1.h7tNX9p6.css → @vueform.0.0.34-alpha.2.h7tNX9p6.css} +0 -0
- /package/dist/interface/assets/{@xterm.0.0.34-alpha.1.CGrrDQr5.css → @xterm.0.0.34-alpha.2.CGrrDQr5.css} +0 -0
- /package/dist/interface/assets/{Account.0.0.34-alpha.1.Ce3OmKrC.css → Account.0.0.34-alpha.2.Ce3OmKrC.css} +0 -0
- /package/dist/interface/assets/{Adminpanel.0.0.34-alpha.1.BCpVV7QL.css → Adminpanel.0.0.34-alpha.2.BCpVV7QL.css} +0 -0
- /package/dist/interface/assets/{Backup.0.0.34-alpha.1.BIwaSlv3.css → Backup.0.0.34-alpha.2.BIwaSlv3.css} +0 -0
- /package/dist/interface/assets/{Camera.0.0.34-alpha.1.D49XscoW.css → Camera.0.0.34-alpha.2.D49XscoW.css} +0 -0
- /package/dist/interface/assets/{Camview.0.0.34-alpha.1.BdTE1Iny.css → Camview.0.0.34-alpha.2.BdTE1Iny.css} +0 -0
- /package/dist/interface/assets/{Config.0.0.34-alpha.1.BtdZEuQO.css → Config.0.0.34-alpha.2.BtdZEuQO.css} +0 -0
- /package/dist/interface/assets/{FirstSteps.0.0.34-alpha.1.CCo2y-sU.css → FirstSteps.0.0.34-alpha.2.CCo2y-sU.css} +0 -0
- /package/dist/interface/assets/{NewCamera.0.0.34-alpha.1.W16dakdJ.css → NewCamera.0.0.34-alpha.2.W16dakdJ.css} +0 -0
- /package/dist/interface/assets/{Plugin.0.0.34-alpha.1.BtRA6zDt.css → Plugin.0.0.34-alpha.2.BtRA6zDt.css} +0 -0
- /package/dist/interface/assets/{Plugins.0.0.34-alpha.1.Cwu0aGUO.css → Plugins.0.0.34-alpha.2.Cwu0aGUO.css} +0 -0
- /package/dist/interface/assets/{Settings.0.0.34-alpha.1.DTRm1psP.css → Settings.0.0.34-alpha.2.DTRm1psP.css} +0 -0
- /package/dist/interface/assets/{User.0.0.34-alpha.1.DPDcJbx8.css → User.0.0.34-alpha.2.DPDcJbx8.css} +0 -0
- /package/dist/interface/assets/{VConsole.0.0.34-alpha.1.e0RL6-05.css → VConsole.0.0.34-alpha.2.e0RL6-05.css} +0 -0
- /package/dist/interface/assets/{highlight.0.0.34-alpha.1.DgoK_Xib.css → highlight.0.0.34-alpha.2.DgoK_Xib.css} +0 -0
- /package/dist/interface/assets/{logo-256.0.0.34-alpha.1.BCQk9H1-.png → logo-256.0.0.34-alpha.2.BCQk9H1-.png} +0 -0
- /package/dist/interface/assets/{logo-512.0.0.34-alpha.1.DLKVOU2S.png → logo-512.0.0.34-alpha.2.DLKVOU2S.png} +0 -0
- /package/dist/interface/assets/{logo.0.0.34-alpha.1.DmEiRk0z.png → logo.0.0.34-alpha.2.DmEiRk0z.png} +0 -0
- /package/dist/interface/assets/{mode-json.0.0.34-alpha.1.Br7xisR1.js → mode-json.0.0.34-alpha.2.Br7xisR1.js} +0 -0
- /package/dist/interface/assets/{mode-yaml.0.0.34-alpha.1.CIYL8U3d.js → mode-yaml.0.0.34-alpha.2.CIYL8U3d.js} +0 -0
- /package/dist/interface/assets/{vue3-toastify.0.0.34-alpha.1.DTY1DMRs.css → vue3-toastify.0.0.34-alpha.2.DTY1DMRs.css} +0 -0
- /package/dist/interface/assets/{vuetify.0.0.34-alpha.1.B_k2Rcut.css → vuetify.0.0.34-alpha.2.B_k2Rcut.css} +0 -0
- /package/dist/interface/{axios.C-n2IhIP.0.0.34-alpha.1.js → axios.C-n2IhIP.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{compare-versions.DqEOhma6.0.0.34-alpha.1.js → compare-versions.DqEOhma6.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{dijkstrajs.D_NXgYpA.0.0.34-alpha.1.js → dijkstrajs.D_NXgYpA.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{engine.io-parser.BiEtp6m2.0.0.34-alpha.1.js → engine.io-parser.BiEtp6m2.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{entities.C20TfXL6.0.0.34-alpha.1.js → entities.C20TfXL6.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{get-size.D1dS-IaP.0.0.34-alpha.1.js → get-size.D1dS-IaP.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{mdurl.k9Sl0PQj.0.0.34-alpha.1.js → mdurl.k9Sl0PQj.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{point-in-polygon-hao.l0sNRNKZ.0.0.34-alpha.1.js → point-in-polygon-hao.l0sNRNKZ.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{punycode.js.Dj65hjkv.0.0.34-alpha.1.js → punycode.js.Dj65hjkv.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{react-dnd-html5-backend.1HQjlkwI.0.0.34-alpha.1.js → react-dnd-html5-backend.1HQjlkwI.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{redux.CuxFRhX_.0.0.34-alpha.1.js → redux.CuxFRhX_.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{sweepline-intersections.l0sNRNKZ.0.0.34-alpha.1.js → sweepline-intersections.l0sNRNKZ.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{tslib.9k7AwCpt.0.0.34-alpha.1.js → tslib.9k7AwCpt.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{types.Cz9TaZAP.0.0.34-alpha.1.js → types.Cz9TaZAP.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{uc.micro.kMc2yuuw.0.0.34-alpha.1.js → uc.micro.kMc2yuuw.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{utils.mAKpSMLY.0.0.34-alpha.1.js → utils.mAKpSMLY.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{uuid.DvF23Exx.0.0.34-alpha.1.js → uuid.DvF23Exx.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{vue.l0sNRNKZ.0.0.34-alpha.1.js → vue.l0sNRNKZ.0.0.34-alpha.2.js} +0 -0
- /package/dist/interface/{zod.DnW1_kUe.0.0.34-alpha.1.js → zod.DnW1_kUe.0.0.34-alpha.2.js} +0 -0
|
@@ -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.BsJeH1VL.0.0.34-alpha.1.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};
|
package/dist/interface/{@vueuse.C89QVsKq.0.0.34-alpha.1.js → @vueuse.Di3-85fa.0.0.34-alpha.2.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{q as pe,x as he,n as we,y as ge,o as Ae,z as Le,i as ne,u as He,A as We,B as ye,r as g,c as T,C as Se,w as C,D as oe,E as K,F as re,G as ie}from"./@vue.DNK0rzTJ.0.0.34-alpha.1.js";import{n as Y}from"./nprogress.BMn57QX7.0.0.34-alpha.1.js";function N(e){return ge()?(Ae(e),!0):!1}function Et(e){let n=0,t,o;const s=()=>{n-=1,o&&n<=0&&(o.stop(),t=void 0,o=void 0)};return(...r)=>(n+=1,o||(o=Le(!0),t=o.run(()=>e(...r))),N(s),t)}function Pe(e,n,{enumerable:t=!1,unwrap:o=!0}={}){for(const[s,r]of Object.entries(n))s!=="value"&&(ne(r)&&o?Object.defineProperty(e,s,{get(){return r.value},set(a){r.value=a},enumerable:t}):Object.defineProperty(e,s,{value:r,enumerable:t}));return e}function Ce(e,n){if(typeof Symbol<"u"){const t={...e};return Object.defineProperty(t,Symbol.iterator,{enumerable:!1,value(){let o=0;return{next:()=>({value:n[o++],done:o>n.length})}}}),t}else return Object.assign([...n],e)}function D(e){return typeof e=="function"?e():He(e)}const be={mounted:"mounted",updated:"updated",unmounted:"unmounted"},V=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Re=e=>e!=null,Ye=Object.prototype.toString,Ee=e=>Ye.call(e)==="[object Object]",P=()=>{},B=Ne();function Ne(){var e,n;return V&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function le(e,n){function t(...o){return new Promise((s,r)=>{Promise.resolve(e(()=>n.apply(this,o),{fn:n,thisArg:this,args:o})).then(s).catch(r)})}return t}const _e=e=>e();function ze(e,n={}){let t,o,s=P;const r=l=>{clearTimeout(l),s(),s=P};return l=>{const i=D(e),u=D(n.maxWait);return t&&r(t),i<=0||u!==void 0&&u<=0?(o&&(r(o),o=null),Promise.resolve(l())):new Promise((v,f)=>{s=n.rejectOnCancel?f:v,u&&!o&&(o=setTimeout(()=>{t&&r(t),o=null,v(l())},u)),t=setTimeout(()=>{o&&r(o),o=null,v(l())},i)})}}function Ie(...e){let n=0,t,o=!0,s=P,r,a,l,i,u;!ne(e[0])&&typeof e[0]=="object"?{delay:a,trailing:l=!0,leading:i=!0,rejectOnCancel:u=!1}=e[0]:[a,l=!0,i=!0,u=!1]=e;const v=()=>{t&&(clearTimeout(t),t=void 0,s(),s=P)};return m=>{const c=D(a),p=Date.now()-n,h=()=>r=m();return v(),c<=0?(n=Date.now(),h()):(p>c&&(i||!o)?(n=Date.now(),h()):l&&(r=new Promise((S,d)=>{s=u?d:S,t=setTimeout(()=>{n=Date.now(),o=!0,S(h()),v()},Math.max(0,c-p))})),!i&&!t&&(t=setTimeout(()=>o=!0,c)),o=!1,r)}}function $e(e=_e){const n=g(!0);function t(){n.value=!1}function o(){n.value=!0}const s=(...r)=>{n.value&&e(...r)};return{isActive:ye(n),pause:t,resume:o,eventFilter:s}}function je(e){const n=Object.create(null);return t=>n[t]||(n[t]=e(t))}const Xe=/-(\w)/g,Be=je(e=>e.replace(Xe,(n,t)=>t?t.toUpperCase():""));function Ve(e){return Se()}function xe(...e){if(e.length!==1)return We(...e);const n=e[0];return typeof n=="function"?ye(pe(()=>({get:n,set:P}))):g(n)}function qe(e,n=200,t={}){return le(ze(n,t),e)}function Ge(e,n=200,t=!1,o=!0,s=!1){return le(Ie(n,t,o,s),e)}function _t(e,n={}){let t=e,o,s;const r=pe((m,c)=>(o=m,s=c,{get(){return a()},set(p){l(p)}}));function a(m=!0){return m&&o(),t}function l(m,c=!0){var p,h;if(m===t)return;const S=t;((p=n.onBeforeChange)==null?void 0:p.call(n,m,S))!==!1&&(t=m,(h=n.onChanged)==null||h.call(n,m,S),c&&s())}return Pe(r,{get:a,set:l,untrackedGet:()=>a(!1),silentSet:m=>l(m,!1),peek:()=>a(!1),lay:m=>l(m,!1)},{enumerable:!0})}function Ue(e,n,t={}){const{eventFilter:o=_e,...s}=t;return C(e,le(o,n),s)}function Je(e,n,t={}){const{eventFilter:o,...s}=t,{eventFilter:r,pause:a,resume:l,isActive:i}=$e(o);return{stop:Ue(e,n,{...s,eventFilter:r}),pause:a,resume:l,isActive:i}}function q(e,n=!0,t){Ve()?he(e,t):n?e():we(e)}const Ke=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,Qe=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function Ze(e,n,t,o){let s=e<12?"AM":"PM";return o&&(s=s.split("").reduce((r,a)=>r+=`${a}.`,"")),t?s.toLowerCase():s}function I(e){const n=["th","st","nd","rd"],t=e%100;return e+(n[(t-20)%10]||n[t]||n[0])}function et(e,n,t={}){var o;const s=e.getFullYear(),r=e.getMonth(),a=e.getDate(),l=e.getHours(),i=e.getMinutes(),u=e.getSeconds(),v=e.getMilliseconds(),f=e.getDay(),m=(o=t.customMeridiem)!=null?o:Ze,c={Yo:()=>I(s),YY:()=>String(s).slice(-2),YYYY:()=>s,M:()=>r+1,Mo:()=>I(r+1),MM:()=>`${r+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(D(t.locales),{month:"short"}),MMMM:()=>e.toLocaleDateString(D(t.locales),{month:"long"}),D:()=>String(a),Do:()=>I(a),DD:()=>`${a}`.padStart(2,"0"),H:()=>String(l),Ho:()=>I(l),HH:()=>`${l}`.padStart(2,"0"),h:()=>`${l%12||12}`.padStart(1,"0"),ho:()=>I(l%12||12),hh:()=>`${l%12||12}`.padStart(2,"0"),m:()=>String(i),mo:()=>I(i),mm:()=>`${i}`.padStart(2,"0"),s:()=>String(u),so:()=>I(u),ss:()=>`${u}`.padStart(2,"0"),SSS:()=>`${v}`.padStart(3,"0"),d:()=>f,dd:()=>e.toLocaleDateString(D(t.locales),{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(D(t.locales),{weekday:"short"}),dddd:()=>e.toLocaleDateString(D(t.locales),{weekday:"long"}),A:()=>m(l,i),AA:()=>m(l,i,!1,!0),a:()=>m(l,i,!0),aa:()=>m(l,i,!0,!0)};return n.replace(Qe,(p,h)=>{var S,d;return(d=h??((S=c[p])==null?void 0:S.call(c)))!=null?d:p})}function tt(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const n=e.match(Ke);if(n){const t=n[2]-1||0,o=(n[7]||"0").substring(0,3);return new Date(n[1],t,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}function xt(e,n="HH:mm:ss",t={}){return T(()=>et(tt(D(e)),D(n),t))}function Dt(e,n,t){let o;ne(t)?o={evaluating:t}:o=t||{};const{lazy:s=!1,evaluating:r=void 0,shallow:a=!0,onError:l=P}=o,i=g(!s),u=a?oe(n):g(n);let v=0;return re(async f=>{if(!i.value)return;v++;const m=v;let c=!1;r&&Promise.resolve().then(()=>{r.value=!0});try{const p=await e(h=>{f(()=>{r&&(r.value=!1),c||h()})});m===v&&(u.value=p)}catch(p){l(p)}finally{r&&m===v&&(r.value=!1),c=!0}}),s?T(()=>(i.value=!0,u.value)):u}function Mt(e={}){const{inheritAttrs:n=!0}=e,t=oe(),o=ie({setup(r,{slots:a}){return()=>{t.value=a.default}}}),s=ie({inheritAttrs:n,setup(r,{attrs:a,slots:l}){return()=>{var i;t.value;const u=(i=t.value)==null?void 0:i.call(t,{...nt(a),$slots:l});return n&&(u==null?void 0:u.length)===1?u[0]:u}}});return Ce({define:o,reuse:s},[o,s])}function nt(e){const n={};for(const t in e)n[Be(t)]=e[t];return n}const W=V?window:void 0,De=V?window.document:void 0;function L(e){var n;const t=D(e);return(n=t==null?void 0:t.$el)!=null?n:t}function x(...e){let n,t,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,o,s]=e,n=W):[n,t,o,s]=e,!n)return P;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(v=>v()),r.length=0},l=(v,f,m,c)=>(v.addEventListener(f,m,c),()=>v.removeEventListener(f,m,c)),i=C(()=>[L(n),D(s)],([v,f])=>{if(a(),!v)return;const m=Ee(f)?{...f}:f;r.push(...t.flatMap(c=>o.map(p=>l(v,c,p,m))))},{immediate:!0,flush:"post"}),u=()=>{i(),a()};return N(u),u}let ae=!1;function Ot(e,n,t={}){const{window:o=W,ignore:s=[],capture:r=!0,detectIframe:a=!1}=t;if(!o)return P;B&&!ae&&(ae=!0,Array.from(o.document.body.children).forEach(c=>c.addEventListener("click",P)),o.document.documentElement.addEventListener("click",P));let l=!0;const i=c=>D(s).some(p=>{if(typeof p=="string")return Array.from(o.document.querySelectorAll(p)).some(h=>h===c.target||c.composedPath().includes(h));{const h=L(p);return h&&(c.target===h||c.composedPath().includes(h))}}),u=c=>{const p=L(e);if(!(!p||p===c.target||c.composedPath().includes(p))){if(c.detail===0&&(l=!i(c)),!l){l=!0;return}n(c)}};let v=!1;const f=[x(o,"click",c=>{v||(v=!0,setTimeout(()=>{v=!1},0),u(c))},{passive:!0,capture:r}),x(o,"pointerdown",c=>{const p=L(e);l=!i(c)&&!!(p&&!c.composedPath().includes(p))},{passive:!0}),a&&x(o,"blur",c=>{setTimeout(()=>{var p;const h=L(e);((p=o.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(h!=null&&h.contains(o.document.activeElement))&&n(c)},0)})].filter(Boolean);return()=>f.forEach(c=>c())}function ot(){const e=g(!1),n=Se();return n&&he(()=>{e.value=!0},n),e}function G(e){const n=ot();return T(()=>(n.value,!!e()))}function rt(e,n,t={}){const{window:o=W,...s}=t;let r;const a=G(()=>o&&"MutationObserver"in o),l=()=>{r&&(r.disconnect(),r=void 0)},i=T(()=>{const m=D(e),c=(Array.isArray(m)?m:[m]).map(L).filter(Re);return new Set(c)}),u=C(()=>i.value,m=>{l(),a.value&&m.size&&(r=new MutationObserver(n),m.forEach(c=>r.observe(c,s)))},{immediate:!0,flush:"post"}),v=()=>r==null?void 0:r.takeRecords(),f=()=>{u(),l()};return N(f),{isSupported:a,stop:f,takeRecords:v}}function lt(e,n={}){const{window:t=W}=n,o=G(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let s;const r=g(!1),a=u=>{r.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",a):s.removeListener(a))},i=re(()=>{o.value&&(l(),s=t.matchMedia(D(e)),"addEventListener"in s?s.addEventListener("change",a):s.addListener(a),r.value=s.matches)});return N(()=>{i(),l(),s=void 0}),r}const U=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},J="__vueuse_ssr_handlers__",st=ut();function ut(){return J in U||(U[J]=U[J]||{}),U[J]}function it(e,n){return st[e]||n}function at(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const ct={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ce="vueuse-storage";function ft(e,n,t,o={}){var s;const{flush:r="pre",deep:a=!0,listenToStorageChanges:l=!0,writeDefaults:i=!0,mergeDefaults:u=!1,shallow:v,window:f=W,eventFilter:m,onError:c=w=>{console.error(w)},initOnMounted:p}=o,h=(v?oe:g)(typeof n=="function"?n():n);if(!t)try{t=it("getDefaultStorage",()=>{var w;return(w=W)==null?void 0:w.localStorage})()}catch(w){c(w)}if(!t)return h;const S=D(n),d=at(S),E=(s=o.serializer)!=null?s:ct[d],{pause:A,resume:O}=Je(h,()=>k(h.value),{flush:r,deep:a,eventFilter:m});f&&l&&q(()=>{t instanceof Storage?x(f,"storage",H):x(f,ce,_),p&&H()}),p||H();function y(w,M){if(f){const F={key:e,oldValue:w,newValue:M,storageArea:t};f.dispatchEvent(t instanceof Storage?new StorageEvent("storage",F):new CustomEvent(ce,{detail:F}))}}function k(w){try{const M=t.getItem(e);if(w==null)y(M,null),t.removeItem(e);else{const F=E.write(w);M!==F&&(t.setItem(e,F),y(M,F))}}catch(M){c(M)}}function b(w){const M=w?w.newValue:t.getItem(e);if(M==null)return i&&S!=null&&t.setItem(e,E.write(S)),S;if(!w&&u){const F=E.read(M);return typeof u=="function"?u(F,S):d==="object"&&!Array.isArray(F)?{...S,...F}:F}else return typeof M!="string"?M:E.read(M)}function H(w){if(!(w&&w.storageArea!==t)){if(w&&w.key==null){h.value=S;return}if(!(w&&w.key!==e)){A();try{(w==null?void 0:w.newValue)!==E.write(h.value)&&(h.value=b(w))}catch(M){c(M)}finally{w?we(O):O()}}}}function _(w){H(w.detail)}return h}function Tt(e={}){const{document:n=De}=e;if(!n)return g("visible");const t=g(n.visibilityState);return x(n,"visibilitychange",()=>{t.value=n.visibilityState}),t}function Me(e,n,t={}){const{window:o=W,...s}=t;let r;const a=G(()=>o&&"ResizeObserver"in o),l=()=>{r&&(r.disconnect(),r=void 0)},i=T(()=>{const f=D(e);return Array.isArray(f)?f.map(m=>L(m)):[L(f)]}),u=C(i,f=>{if(l(),a.value&&o){r=new ResizeObserver(n);for(const m of f)m&&r.observe(m,s)}},{immediate:!0,flush:"post"}),v=()=>{l(),u()};return N(v),{isSupported:a,stop:v}}function Ft(e,n={}){const{reset:t=!0,windowResize:o=!0,windowScroll:s=!0,immediate:r=!0,updateTiming:a="sync"}=n,l=g(0),i=g(0),u=g(0),v=g(0),f=g(0),m=g(0),c=g(0),p=g(0);function h(){const d=L(e);if(!d){t&&(l.value=0,i.value=0,u.value=0,v.value=0,f.value=0,m.value=0,c.value=0,p.value=0);return}const E=d.getBoundingClientRect();l.value=E.height,i.value=E.bottom,u.value=E.left,v.value=E.right,f.value=E.top,m.value=E.width,c.value=E.x,p.value=E.y}function S(){a==="sync"?h():a==="next-frame"&&requestAnimationFrame(()=>h())}return Me(e,S),C(()=>L(e),d=>!d&&S()),rt(e,S,{attributeFilter:["style","class"]}),s&&x("scroll",S,{capture:!0,passive:!0}),o&&x("resize",S,{passive:!0}),q(()=>{r&&S()}),{height:l,bottom:i,left:u,right:v,top:f,width:m,x:c,y:p,update:S}}function kt(e,n={width:0,height:0},t={}){const{window:o=W,box:s="content-box"}=t,r=T(()=>{var f,m;return(m=(f=L(e))==null?void 0:f.namespaceURI)==null?void 0:m.includes("svg")}),a=g(n.width),l=g(n.height),{stop:i}=Me(e,([f])=>{const m=s==="border-box"?f.borderBoxSize:s==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(o&&r.value){const c=L(e);if(c){const p=c.getBoundingClientRect();a.value=p.width,l.value=p.height}}else if(m){const c=Array.isArray(m)?m:[m];a.value=c.reduce((p,{inlineSize:h})=>p+h,0),l.value=c.reduce((p,{blockSize:h})=>p+h,0)}else a.value=f.contentRect.width,l.value=f.contentRect.height},t);q(()=>{const f=L(e);f&&(a.value="offsetWidth"in f?f.offsetWidth:n.width,l.value="offsetHeight"in f?f.offsetHeight:n.height)});const u=C(()=>L(e),f=>{a.value=f?n.width:0,l.value=f?n.height:0});function v(){i(),u()}return{width:a,height:l,stop:v}}const X=new Map;function At(e){const n=ge();function t(l){var i;const u=X.get(e)||new Set;u.add(l),X.set(e,u);const v=()=>s(l);return(i=n==null?void 0:n.cleanups)==null||i.push(v),v}function o(l){function i(...u){s(i),l(...u)}return t(i)}function s(l){const i=X.get(e);i&&(i.delete(l),i.size||r())}function r(){X.delete(e)}function a(l,i){var u;(u=X.get(e))==null||u.forEach(v=>v(l,i))}return{on:t,once:o,off:s,emit:a,reset:r}}const fe=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Lt(e,n={}){const{document:t=De,autoExit:o=!1}=n,s=T(()=>{var d;return(d=L(e))!=null?d:t==null?void 0:t.querySelector("html")}),r=g(!1),a=T(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(d=>t&&d in t||s.value&&d in s.value)),l=T(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(d=>t&&d in t||s.value&&d in s.value)),i=T(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(d=>t&&d in t||s.value&&d in s.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(d=>t&&d in t),v=G(()=>s.value&&t&&a.value!==void 0&&l.value!==void 0&&i.value!==void 0),f=()=>u?(t==null?void 0:t[u])===s.value:!1,m=()=>{if(i.value){if(t&&t[i.value]!=null)return t[i.value];{const d=s.value;if((d==null?void 0:d[i.value])!=null)return!!d[i.value]}}return!1};async function c(){if(!(!v.value||!r.value)){if(l.value)if((t==null?void 0:t[l.value])!=null)await t[l.value]();else{const d=s.value;(d==null?void 0:d[l.value])!=null&&await d[l.value]()}r.value=!1}}async function p(){if(!v.value||r.value)return;m()&&await c();const d=s.value;a.value&&(d==null?void 0:d[a.value])!=null&&(await d[a.value](),r.value=!0)}async function h(){await(r.value?c():p())}const S=()=>{const d=m();(!d||d&&f())&&(r.value=d)};return x(t,fe,S,!1),x(()=>L(s),fe,S,!1),o&&N(c),{isSupported:v,isFullscreen:r,enter:p,exit:c,toggle:h}}function Q(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const de=1;function Ht(e,n={}){const{throttle:t=0,idle:o=200,onStop:s=P,onScroll:r=P,offset:a={left:0,right:0,top:0,bottom:0},eventListenerOptions:l={capture:!1,passive:!0},behavior:i="auto",window:u=W,onError:v=b=>{console.error(b)}}=n,f=g(0),m=g(0),c=T({get(){return f.value},set(b){h(b,void 0)}}),p=T({get(){return m.value},set(b){h(void 0,b)}});function h(b,H){var _,w,M,F;if(!u)return;const R=D(e);if(!R)return;(M=R instanceof Document?u.document.body:R)==null||M.scrollTo({top:(_=D(H))!=null?_:p.value,left:(w=D(b))!=null?w:c.value,behavior:D(i)});const j=((F=R==null?void 0:R.document)==null?void 0:F.documentElement)||(R==null?void 0:R.documentElement)||R;c!=null&&(f.value=j.scrollLeft),p!=null&&(m.value=j.scrollTop)}const S=g(!1),d=K({left:!0,right:!1,top:!0,bottom:!1}),E=K({left:!1,right:!1,top:!1,bottom:!1}),A=b=>{S.value&&(S.value=!1,E.left=!1,E.right=!1,E.top=!1,E.bottom=!1,s(b))},O=qe(A,t+o),y=b=>{var H;if(!u)return;const _=((H=b==null?void 0:b.document)==null?void 0:H.documentElement)||(b==null?void 0:b.documentElement)||L(b),{display:w,flexDirection:M}=getComputedStyle(_),F=_.scrollLeft;E.left=F<f.value,E.right=F>f.value;const R=Math.abs(F)<=(a.left||0),j=Math.abs(F)+_.clientWidth>=_.scrollWidth-(a.right||0)-de;w==="flex"&&M==="row-reverse"?(d.left=j,d.right=R):(d.left=R,d.right=j),f.value=F;let z=_.scrollTop;b===u.document&&!z&&(z=u.document.body.scrollTop),E.top=z<m.value,E.bottom=z>m.value;const se=Math.abs(z)<=(a.top||0),ue=Math.abs(z)+_.clientHeight>=_.scrollHeight-(a.bottom||0)-de;w==="flex"&&M==="column-reverse"?(d.top=ue,d.bottom=se):(d.top=se,d.bottom=ue),m.value=z},k=b=>{var H;if(!u)return;const _=(H=b.target.documentElement)!=null?H:b.target;y(_),S.value=!0,O(b),r(b)};return x(e,"scroll",t?Ge(k,t,!0,!1):k,l),q(()=>{try{const b=D(e);if(!b)return;y(b)}catch(b){v(b)}}),x(e,"scrollend",A,l),{x:c,y:p,isScrolling:S,arrivedState:d,directions:E,measure(){const b=D(e);u&&b&&y(b)}}}function Wt(e,n,t={}){const{window:o=W}=t;return ft(e,n,o==null?void 0:o.localStorage,t)}const dt={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function Pt(e={}){const{type:n="page",touch:t=!0,resetOnTouchEnds:o=!1,initialValue:s={x:0,y:0},window:r=W,target:a=r,scroll:l=!0,eventFilter:i}=e;let u=null;const v=g(s.x),f=g(s.y),m=g(null),c=typeof n=="function"?n:dt[n],p=y=>{const k=c(y);u=y,k&&([v.value,f.value]=k,m.value="mouse")},h=y=>{if(y.touches.length>0){const k=c(y.touches[0]);k&&([v.value,f.value]=k,m.value="touch")}},S=()=>{if(!u||!r)return;const y=c(u);u instanceof MouseEvent&&y&&(v.value=y[0]+r.scrollX,f.value=y[1]+r.scrollY)},d=()=>{v.value=s.x,f.value=s.y},E=i?y=>i(()=>p(y),{}):y=>p(y),A=i?y=>i(()=>h(y),{}):y=>h(y),O=i?()=>i(()=>S(),{}):()=>S();if(a){const y={passive:!0};x(a,["mousemove","dragover"],E,y),t&&n!=="movement"&&(x(a,["touchstart","touchmove"],A,y),o&&x(a,"touchend",d,y)),l&&n==="page"&&x(r,"scroll",O,{passive:!0})}return{x:v,y:f,sourceType:m}}function Ct(e={}){const{touch:n=!0,drag:t=!0,capture:o=!1,initialValue:s=!1,window:r=W}=e,a=g(s),l=g(null);if(!r)return{pressed:a,sourceType:l};const i=f=>()=>{a.value=!0,l.value=f},u=()=>{a.value=!1,l.value=null},v=T(()=>L(e.target)||r);return x(v,"mousedown",i("mouse"),{passive:!0,capture:o}),x(r,"mouseleave",u,{passive:!0,capture:o}),x(r,"mouseup",u,{passive:!0,capture:o}),t&&(x(v,"dragstart",i("mouse"),{passive:!0,capture:o}),x(r,"drop",u,{passive:!0,capture:o}),x(r,"dragend",u,{passive:!0,capture:o})),n&&(x(v,"touchstart",i("touch"),{passive:!0,capture:o}),x(r,"touchend",u,{passive:!0,capture:o}),x(r,"touchcancel",u,{passive:!0,capture:o})),{pressed:a,sourceType:l}}function Rt(e={}){const{window:n=W}=e,t=G(()=>n&&"screen"in n&&"orientation"in n.screen),o=t.value?n.screen.orientation:{},s=g(o.type),r=g(o.angle||0);return t.value&&x(n,"orientationchange",()=>{s.value=o.type,r.value=o.angle}),{isSupported:t,orientation:s,angle:r,lockOrientation:i=>t.value&&typeof o.lock=="function"?o.lock(i):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{t.value&&typeof o.unlock=="function"&&o.unlock()}}}function Oe(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:Oe(t)}}function vt(e){const n=e||window.event,t=n.target;return Oe(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const Z=new WeakMap;function Yt(e,n=!1){const t=g(n);let o=null,s="";C(xe(e),l=>{const i=Q(D(l));if(i){const u=i;if(Z.get(u)||Z.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=Q(D(e));!l||t.value||(B&&(o=x(l,"touchmove",i=>{vt(i)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=Q(D(e));!l||!t.value||(B&&(o==null||o()),l.style.overflow=s,Z.delete(l),t.value=!1)};return N(a),T({get(){return t.value},set(l){l?r():a()}})}function Nt(e,n={}){const{threshold:t=50,onSwipe:o,onSwipeEnd:s,onSwipeStart:r,passive:a=!0,window:l=W}=n,i=K({x:0,y:0}),u=K({x:0,y:0}),v=T(()=>i.x-u.x),f=T(()=>i.y-u.y),{max:m,abs:c}=Math,p=T(()=>m(c(v.value),c(f.value))>=t),h=g(!1),S=T(()=>p.value?c(v.value)>c(f.value)?v.value>0?"left":"right":f.value>0?"up":"down":"none"),d=_=>[_.touches[0].clientX,_.touches[0].clientY],E=(_,w)=>{i.x=_,i.y=w},A=(_,w)=>{u.x=_,u.y=w};let O;const y=mt(l==null?void 0:l.document);a?O=y?{passive:!0}:{capture:!1}:O=y?{passive:!1,capture:!0}:{capture:!0};const k=_=>{h.value&&(s==null||s(_,S.value)),h.value=!1},b=[x(e,"touchstart",_=>{if(_.touches.length!==1)return;O.capture&&!O.passive&&_.preventDefault();const[w,M]=d(_);E(w,M),A(w,M),r==null||r(_)},O),x(e,"touchmove",_=>{if(_.touches.length!==1)return;const[w,M]=d(_);A(w,M),!h.value&&p.value&&(h.value=!0),h.value&&(o==null||o(_))},O),x(e,["touchend","touchcancel"],k,O)];return{isPassiveEventSupported:y,isSwiping:h,direction:S,coordsStart:i,coordsEnd:u,lengthX:v,lengthY:f,stop:()=>b.forEach(_=>_())}}function mt(e){if(!e)return!1;let n=!1;const t={get passive(){return n=!0,!1}};return e.addEventListener("x",P,t),e.removeEventListener("x",P),n}function zt(e={}){const{window:n=W,behavior:t="auto"}=e;if(!n)return{x:g(0),y:g(0)};const o=g(n.scrollX),s=g(n.scrollY),r=T({get(){return o.value},set(l){scrollTo({left:l,behavior:t})}}),a=T({get(){return s.value},set(l){scrollTo({top:l,behavior:t})}});return x(n,"scroll",()=>{o.value=n.scrollX,s.value=n.scrollY},{capture:!1,passive:!0}),{x:r,y:a}}function It(e={}){const{window:n=W,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:r=!0,type:a="inner"}=e,l=g(t),i=g(o),u=()=>{n&&(a==="outer"?(l.value=n.outerWidth,i.value=n.outerHeight):r?(l.value=n.innerWidth,i.value=n.innerHeight):(l.value=n.document.documentElement.clientWidth,i.value=n.document.documentElement.clientHeight))};if(u(),q(u),x("resize",u,{passive:!0}),s){const v=lt("(orientation: portrait)");C(v,()=>u())}return{width:l,height:i}}function $t(e=null,n){const t=g(e),o=T({set:r=>r?Y.start():Y.done(),get:()=>typeof t.value=="number"&&t.value<1});n&&Y.configure(n);const s=Y.set;return Y.set=r=>(t.value=r,s.call(Y,r)),re(()=>{typeof t.value=="number"&&V&&s.call(Y,t.value)}),N(Y.remove),{isLoading:o,progress:t,start:Y.start,done:Y.done,remove:()=>{t.value=null,Y.remove()}}}const Te=V?window:void 0;function Fe(e){var n;const t=D(e);return(n=t==null?void 0:t.$el)!=null?n:t}function $(...e){let n,t,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,o,s]=e,n=Te):[n,t,o,s]=e,!n)return P;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(v=>v()),r.length=0},l=(v,f,m,c)=>(v.addEventListener(f,m,c),()=>v.removeEventListener(f,m,c)),i=C(()=>[Fe(n),D(s)],([v,f])=>{if(a(),!v)return;const m=Ee(f)?{...f}:f;r.push(...t.flatMap(c=>o.map(p=>l(v,c,p,m))))},{immediate:!0,flush:"post"}),u=()=>{i(),a()};return N(u),u}const pt=500,ht=10;function ve(e,n,t){var o,s;const r=T(()=>Fe(e));let a,l,i,u=!1;function v(){a&&(clearTimeout(a),a=void 0),l=void 0,i=void 0,u=!1}function f(d){var E,A,O;const[y,k,b]=[i,l,u];if(v(),!(t!=null&&t.onMouseUp)||!k||!y||(E=t==null?void 0:t.modifiers)!=null&&E.self&&d.target!==r.value)return;(A=t==null?void 0:t.modifiers)!=null&&A.prevent&&d.preventDefault(),(O=t==null?void 0:t.modifiers)!=null&&O.stop&&d.stopPropagation();const H=d.x-k.x,_=d.y-k.y,w=Math.sqrt(H*H+_*_);t.onMouseUp(d.timeStamp-y,w,b)}function m(d){var E,A,O,y;(E=t==null?void 0:t.modifiers)!=null&&E.self&&d.target!==r.value||(v(),(A=t==null?void 0:t.modifiers)!=null&&A.prevent&&d.preventDefault(),(O=t==null?void 0:t.modifiers)!=null&&O.stop&&d.stopPropagation(),l={x:d.x,y:d.y},i=d.timeStamp,a=setTimeout(()=>{u=!0,n(d)},(y=t==null?void 0:t.delay)!=null?y:pt))}function c(d){var E,A,O,y;if((E=t==null?void 0:t.modifiers)!=null&&E.self&&d.target!==r.value||!l||(t==null?void 0:t.distanceThreshold)===!1)return;(A=t==null?void 0:t.modifiers)!=null&&A.prevent&&d.preventDefault(),(O=t==null?void 0:t.modifiers)!=null&&O.stop&&d.stopPropagation();const k=d.x-l.x,b=d.y-l.y;Math.sqrt(k*k+b*b)>=((y=t==null?void 0:t.distanceThreshold)!=null?y:ht)&&v()}const p={capture:(o=t==null?void 0:t.modifiers)==null?void 0:o.capture,once:(s=t==null?void 0:t.modifiers)==null?void 0:s.once},h=[$(r,"pointerdown",m,p),$(r,"pointermove",c,p),$(r,["pointerup","pointerleave"],f,p)];return()=>h.forEach(d=>d())}const jt={[be.mounted](e,n){typeof n.value=="function"?ve(e,n.value,{modifiers:n.modifiers}):ve(e,...n.value)}};function me(e,n={}){const{delayEnter:t=0,delayLeave:o=0,window:s=Te}=n,r=g(!1);let a;const l=i=>{const u=i?t:o;a&&(clearTimeout(a),a=void 0),u?a=setTimeout(()=>r.value=i,u):r.value=i};return s&&($(e,"mouseenter",()=>l(!0),{passive:!0}),$(e,"mouseleave",()=>l(!1),{passive:!0})),r}const Xt={[be.mounted](e,n){const t=n.value;if(typeof t=="function"){const o=me(e);C(o,s=>t(s))}else{const[o,s]=t,r=me(e,s);C(r,a=>o(a))}}};function ee(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function ke(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:ke(t)}}function wt(e){const n=e||window.event,t=n.target;return ke(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const te=new WeakMap;function gt(e,n=!1){const t=g(n);let o=null,s="";C(xe(e),l=>{const i=ee(D(l));if(i){const u=i;if(te.get(u)||te.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=ee(D(e));!l||t.value||(B&&(o=$(l,"touchmove",i=>{wt(i)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=ee(D(e));!l||!t.value||(B&&(o==null||o()),l.style.overflow=s,te.delete(l),t.value=!1)};return N(a),T({get(){return t.value},set(l){l?r():a()}})}function yt(){let e=!1;const n=g(!1);return(t,o)=>{if(n.value=o.value,e)return;e=!0;const s=gt(t,o.value);C(n,r=>s.value=r)}}yt();export{xt as a,lt as b,Et as c,Rt as d,It as e,At as f,Nt as g,zt as h,$t as i,kt as j,Ht as k,Pt as l,Ct as m,Yt as n,Ot as o,x as p,Ft as q,_t as r,Lt as s,Mt as t,Wt as u,Dt as v,Xt as w,jt as x,Tt as y,Me as z};
|
|
1
|
+
import{q as pe,x as he,n as we,y as ge,o as Ae,z as Le,i as ne,u as He,A as We,B as ye,r as g,c as T,C as Se,w as C,D as oe,E as K,F as re,G as ie}from"./@vue.D0DP0v6_.0.0.34-alpha.2.js";import{n as Y}from"./nprogress.CKm3qYbh.0.0.34-alpha.2.js";function N(e){return ge()?(Ae(e),!0):!1}function Et(e){let n=0,t,o;const s=()=>{n-=1,o&&n<=0&&(o.stop(),t=void 0,o=void 0)};return(...r)=>(n+=1,o||(o=Le(!0),t=o.run(()=>e(...r))),N(s),t)}function Pe(e,n,{enumerable:t=!1,unwrap:o=!0}={}){for(const[s,r]of Object.entries(n))s!=="value"&&(ne(r)&&o?Object.defineProperty(e,s,{get(){return r.value},set(a){r.value=a},enumerable:t}):Object.defineProperty(e,s,{value:r,enumerable:t}));return e}function Ce(e,n){if(typeof Symbol<"u"){const t={...e};return Object.defineProperty(t,Symbol.iterator,{enumerable:!1,value(){let o=0;return{next:()=>({value:n[o++],done:o>n.length})}}}),t}else return Object.assign([...n],e)}function D(e){return typeof e=="function"?e():He(e)}const be={mounted:"mounted",updated:"updated",unmounted:"unmounted"},V=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Re=e=>e!=null,Ye=Object.prototype.toString,Ee=e=>Ye.call(e)==="[object Object]",P=()=>{},B=Ne();function Ne(){var e,n;return V&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function le(e,n){function t(...o){return new Promise((s,r)=>{Promise.resolve(e(()=>n.apply(this,o),{fn:n,thisArg:this,args:o})).then(s).catch(r)})}return t}const _e=e=>e();function ze(e,n={}){let t,o,s=P;const r=l=>{clearTimeout(l),s(),s=P};return l=>{const i=D(e),u=D(n.maxWait);return t&&r(t),i<=0||u!==void 0&&u<=0?(o&&(r(o),o=null),Promise.resolve(l())):new Promise((v,f)=>{s=n.rejectOnCancel?f:v,u&&!o&&(o=setTimeout(()=>{t&&r(t),o=null,v(l())},u)),t=setTimeout(()=>{o&&r(o),o=null,v(l())},i)})}}function Ie(...e){let n=0,t,o=!0,s=P,r,a,l,i,u;!ne(e[0])&&typeof e[0]=="object"?{delay:a,trailing:l=!0,leading:i=!0,rejectOnCancel:u=!1}=e[0]:[a,l=!0,i=!0,u=!1]=e;const v=()=>{t&&(clearTimeout(t),t=void 0,s(),s=P)};return m=>{const c=D(a),p=Date.now()-n,h=()=>r=m();return v(),c<=0?(n=Date.now(),h()):(p>c&&(i||!o)?(n=Date.now(),h()):l&&(r=new Promise((S,d)=>{s=u?d:S,t=setTimeout(()=>{n=Date.now(),o=!0,S(h()),v()},Math.max(0,c-p))})),!i&&!t&&(t=setTimeout(()=>o=!0,c)),o=!1,r)}}function $e(e=_e){const n=g(!0);function t(){n.value=!1}function o(){n.value=!0}const s=(...r)=>{n.value&&e(...r)};return{isActive:ye(n),pause:t,resume:o,eventFilter:s}}function je(e){const n=Object.create(null);return t=>n[t]||(n[t]=e(t))}const Xe=/-(\w)/g,Be=je(e=>e.replace(Xe,(n,t)=>t?t.toUpperCase():""));function Ve(e){return Se()}function xe(...e){if(e.length!==1)return We(...e);const n=e[0];return typeof n=="function"?ye(pe(()=>({get:n,set:P}))):g(n)}function qe(e,n=200,t={}){return le(ze(n,t),e)}function Ge(e,n=200,t=!1,o=!0,s=!1){return le(Ie(n,t,o,s),e)}function _t(e,n={}){let t=e,o,s;const r=pe((m,c)=>(o=m,s=c,{get(){return a()},set(p){l(p)}}));function a(m=!0){return m&&o(),t}function l(m,c=!0){var p,h;if(m===t)return;const S=t;((p=n.onBeforeChange)==null?void 0:p.call(n,m,S))!==!1&&(t=m,(h=n.onChanged)==null||h.call(n,m,S),c&&s())}return Pe(r,{get:a,set:l,untrackedGet:()=>a(!1),silentSet:m=>l(m,!1),peek:()=>a(!1),lay:m=>l(m,!1)},{enumerable:!0})}function Ue(e,n,t={}){const{eventFilter:o=_e,...s}=t;return C(e,le(o,n),s)}function Je(e,n,t={}){const{eventFilter:o,...s}=t,{eventFilter:r,pause:a,resume:l,isActive:i}=$e(o);return{stop:Ue(e,n,{...s,eventFilter:r}),pause:a,resume:l,isActive:i}}function q(e,n=!0,t){Ve()?he(e,t):n?e():we(e)}const Ke=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,Qe=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function Ze(e,n,t,o){let s=e<12?"AM":"PM";return o&&(s=s.split("").reduce((r,a)=>r+=`${a}.`,"")),t?s.toLowerCase():s}function I(e){const n=["th","st","nd","rd"],t=e%100;return e+(n[(t-20)%10]||n[t]||n[0])}function et(e,n,t={}){var o;const s=e.getFullYear(),r=e.getMonth(),a=e.getDate(),l=e.getHours(),i=e.getMinutes(),u=e.getSeconds(),v=e.getMilliseconds(),f=e.getDay(),m=(o=t.customMeridiem)!=null?o:Ze,c={Yo:()=>I(s),YY:()=>String(s).slice(-2),YYYY:()=>s,M:()=>r+1,Mo:()=>I(r+1),MM:()=>`${r+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(D(t.locales),{month:"short"}),MMMM:()=>e.toLocaleDateString(D(t.locales),{month:"long"}),D:()=>String(a),Do:()=>I(a),DD:()=>`${a}`.padStart(2,"0"),H:()=>String(l),Ho:()=>I(l),HH:()=>`${l}`.padStart(2,"0"),h:()=>`${l%12||12}`.padStart(1,"0"),ho:()=>I(l%12||12),hh:()=>`${l%12||12}`.padStart(2,"0"),m:()=>String(i),mo:()=>I(i),mm:()=>`${i}`.padStart(2,"0"),s:()=>String(u),so:()=>I(u),ss:()=>`${u}`.padStart(2,"0"),SSS:()=>`${v}`.padStart(3,"0"),d:()=>f,dd:()=>e.toLocaleDateString(D(t.locales),{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(D(t.locales),{weekday:"short"}),dddd:()=>e.toLocaleDateString(D(t.locales),{weekday:"long"}),A:()=>m(l,i),AA:()=>m(l,i,!1,!0),a:()=>m(l,i,!0),aa:()=>m(l,i,!0,!0)};return n.replace(Qe,(p,h)=>{var S,d;return(d=h??((S=c[p])==null?void 0:S.call(c)))!=null?d:p})}function tt(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const n=e.match(Ke);if(n){const t=n[2]-1||0,o=(n[7]||"0").substring(0,3);return new Date(n[1],t,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}function xt(e,n="HH:mm:ss",t={}){return T(()=>et(tt(D(e)),D(n),t))}function Dt(e,n,t){let o;ne(t)?o={evaluating:t}:o=t||{};const{lazy:s=!1,evaluating:r=void 0,shallow:a=!0,onError:l=P}=o,i=g(!s),u=a?oe(n):g(n);let v=0;return re(async f=>{if(!i.value)return;v++;const m=v;let c=!1;r&&Promise.resolve().then(()=>{r.value=!0});try{const p=await e(h=>{f(()=>{r&&(r.value=!1),c||h()})});m===v&&(u.value=p)}catch(p){l(p)}finally{r&&m===v&&(r.value=!1),c=!0}}),s?T(()=>(i.value=!0,u.value)):u}function Mt(e={}){const{inheritAttrs:n=!0}=e,t=oe(),o=ie({setup(r,{slots:a}){return()=>{t.value=a.default}}}),s=ie({inheritAttrs:n,setup(r,{attrs:a,slots:l}){return()=>{var i;t.value;const u=(i=t.value)==null?void 0:i.call(t,{...nt(a),$slots:l});return n&&(u==null?void 0:u.length)===1?u[0]:u}}});return Ce({define:o,reuse:s},[o,s])}function nt(e){const n={};for(const t in e)n[Be(t)]=e[t];return n}const W=V?window:void 0,De=V?window.document:void 0;function L(e){var n;const t=D(e);return(n=t==null?void 0:t.$el)!=null?n:t}function x(...e){let n,t,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,o,s]=e,n=W):[n,t,o,s]=e,!n)return P;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(v=>v()),r.length=0},l=(v,f,m,c)=>(v.addEventListener(f,m,c),()=>v.removeEventListener(f,m,c)),i=C(()=>[L(n),D(s)],([v,f])=>{if(a(),!v)return;const m=Ee(f)?{...f}:f;r.push(...t.flatMap(c=>o.map(p=>l(v,c,p,m))))},{immediate:!0,flush:"post"}),u=()=>{i(),a()};return N(u),u}let ae=!1;function Ot(e,n,t={}){const{window:o=W,ignore:s=[],capture:r=!0,detectIframe:a=!1}=t;if(!o)return P;B&&!ae&&(ae=!0,Array.from(o.document.body.children).forEach(c=>c.addEventListener("click",P)),o.document.documentElement.addEventListener("click",P));let l=!0;const i=c=>D(s).some(p=>{if(typeof p=="string")return Array.from(o.document.querySelectorAll(p)).some(h=>h===c.target||c.composedPath().includes(h));{const h=L(p);return h&&(c.target===h||c.composedPath().includes(h))}}),u=c=>{const p=L(e);if(!(!p||p===c.target||c.composedPath().includes(p))){if(c.detail===0&&(l=!i(c)),!l){l=!0;return}n(c)}};let v=!1;const f=[x(o,"click",c=>{v||(v=!0,setTimeout(()=>{v=!1},0),u(c))},{passive:!0,capture:r}),x(o,"pointerdown",c=>{const p=L(e);l=!i(c)&&!!(p&&!c.composedPath().includes(p))},{passive:!0}),a&&x(o,"blur",c=>{setTimeout(()=>{var p;const h=L(e);((p=o.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(h!=null&&h.contains(o.document.activeElement))&&n(c)},0)})].filter(Boolean);return()=>f.forEach(c=>c())}function ot(){const e=g(!1),n=Se();return n&&he(()=>{e.value=!0},n),e}function G(e){const n=ot();return T(()=>(n.value,!!e()))}function rt(e,n,t={}){const{window:o=W,...s}=t;let r;const a=G(()=>o&&"MutationObserver"in o),l=()=>{r&&(r.disconnect(),r=void 0)},i=T(()=>{const m=D(e),c=(Array.isArray(m)?m:[m]).map(L).filter(Re);return new Set(c)}),u=C(()=>i.value,m=>{l(),a.value&&m.size&&(r=new MutationObserver(n),m.forEach(c=>r.observe(c,s)))},{immediate:!0,flush:"post"}),v=()=>r==null?void 0:r.takeRecords(),f=()=>{u(),l()};return N(f),{isSupported:a,stop:f,takeRecords:v}}function lt(e,n={}){const{window:t=W}=n,o=G(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let s;const r=g(!1),a=u=>{r.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",a):s.removeListener(a))},i=re(()=>{o.value&&(l(),s=t.matchMedia(D(e)),"addEventListener"in s?s.addEventListener("change",a):s.addListener(a),r.value=s.matches)});return N(()=>{i(),l(),s=void 0}),r}const U=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},J="__vueuse_ssr_handlers__",st=ut();function ut(){return J in U||(U[J]=U[J]||{}),U[J]}function it(e,n){return st[e]||n}function at(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const ct={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ce="vueuse-storage";function ft(e,n,t,o={}){var s;const{flush:r="pre",deep:a=!0,listenToStorageChanges:l=!0,writeDefaults:i=!0,mergeDefaults:u=!1,shallow:v,window:f=W,eventFilter:m,onError:c=w=>{console.error(w)},initOnMounted:p}=o,h=(v?oe:g)(typeof n=="function"?n():n);if(!t)try{t=it("getDefaultStorage",()=>{var w;return(w=W)==null?void 0:w.localStorage})()}catch(w){c(w)}if(!t)return h;const S=D(n),d=at(S),E=(s=o.serializer)!=null?s:ct[d],{pause:A,resume:O}=Je(h,()=>k(h.value),{flush:r,deep:a,eventFilter:m});f&&l&&q(()=>{t instanceof Storage?x(f,"storage",H):x(f,ce,_),p&&H()}),p||H();function y(w,M){if(f){const F={key:e,oldValue:w,newValue:M,storageArea:t};f.dispatchEvent(t instanceof Storage?new StorageEvent("storage",F):new CustomEvent(ce,{detail:F}))}}function k(w){try{const M=t.getItem(e);if(w==null)y(M,null),t.removeItem(e);else{const F=E.write(w);M!==F&&(t.setItem(e,F),y(M,F))}}catch(M){c(M)}}function b(w){const M=w?w.newValue:t.getItem(e);if(M==null)return i&&S!=null&&t.setItem(e,E.write(S)),S;if(!w&&u){const F=E.read(M);return typeof u=="function"?u(F,S):d==="object"&&!Array.isArray(F)?{...S,...F}:F}else return typeof M!="string"?M:E.read(M)}function H(w){if(!(w&&w.storageArea!==t)){if(w&&w.key==null){h.value=S;return}if(!(w&&w.key!==e)){A();try{(w==null?void 0:w.newValue)!==E.write(h.value)&&(h.value=b(w))}catch(M){c(M)}finally{w?we(O):O()}}}}function _(w){H(w.detail)}return h}function Tt(e={}){const{document:n=De}=e;if(!n)return g("visible");const t=g(n.visibilityState);return x(n,"visibilitychange",()=>{t.value=n.visibilityState}),t}function Me(e,n,t={}){const{window:o=W,...s}=t;let r;const a=G(()=>o&&"ResizeObserver"in o),l=()=>{r&&(r.disconnect(),r=void 0)},i=T(()=>{const f=D(e);return Array.isArray(f)?f.map(m=>L(m)):[L(f)]}),u=C(i,f=>{if(l(),a.value&&o){r=new ResizeObserver(n);for(const m of f)m&&r.observe(m,s)}},{immediate:!0,flush:"post"}),v=()=>{l(),u()};return N(v),{isSupported:a,stop:v}}function Ft(e,n={}){const{reset:t=!0,windowResize:o=!0,windowScroll:s=!0,immediate:r=!0,updateTiming:a="sync"}=n,l=g(0),i=g(0),u=g(0),v=g(0),f=g(0),m=g(0),c=g(0),p=g(0);function h(){const d=L(e);if(!d){t&&(l.value=0,i.value=0,u.value=0,v.value=0,f.value=0,m.value=0,c.value=0,p.value=0);return}const E=d.getBoundingClientRect();l.value=E.height,i.value=E.bottom,u.value=E.left,v.value=E.right,f.value=E.top,m.value=E.width,c.value=E.x,p.value=E.y}function S(){a==="sync"?h():a==="next-frame"&&requestAnimationFrame(()=>h())}return Me(e,S),C(()=>L(e),d=>!d&&S()),rt(e,S,{attributeFilter:["style","class"]}),s&&x("scroll",S,{capture:!0,passive:!0}),o&&x("resize",S,{passive:!0}),q(()=>{r&&S()}),{height:l,bottom:i,left:u,right:v,top:f,width:m,x:c,y:p,update:S}}function kt(e,n={width:0,height:0},t={}){const{window:o=W,box:s="content-box"}=t,r=T(()=>{var f,m;return(m=(f=L(e))==null?void 0:f.namespaceURI)==null?void 0:m.includes("svg")}),a=g(n.width),l=g(n.height),{stop:i}=Me(e,([f])=>{const m=s==="border-box"?f.borderBoxSize:s==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(o&&r.value){const c=L(e);if(c){const p=c.getBoundingClientRect();a.value=p.width,l.value=p.height}}else if(m){const c=Array.isArray(m)?m:[m];a.value=c.reduce((p,{inlineSize:h})=>p+h,0),l.value=c.reduce((p,{blockSize:h})=>p+h,0)}else a.value=f.contentRect.width,l.value=f.contentRect.height},t);q(()=>{const f=L(e);f&&(a.value="offsetWidth"in f?f.offsetWidth:n.width,l.value="offsetHeight"in f?f.offsetHeight:n.height)});const u=C(()=>L(e),f=>{a.value=f?n.width:0,l.value=f?n.height:0});function v(){i(),u()}return{width:a,height:l,stop:v}}const X=new Map;function At(e){const n=ge();function t(l){var i;const u=X.get(e)||new Set;u.add(l),X.set(e,u);const v=()=>s(l);return(i=n==null?void 0:n.cleanups)==null||i.push(v),v}function o(l){function i(...u){s(i),l(...u)}return t(i)}function s(l){const i=X.get(e);i&&(i.delete(l),i.size||r())}function r(){X.delete(e)}function a(l,i){var u;(u=X.get(e))==null||u.forEach(v=>v(l,i))}return{on:t,once:o,off:s,emit:a,reset:r}}const fe=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Lt(e,n={}){const{document:t=De,autoExit:o=!1}=n,s=T(()=>{var d;return(d=L(e))!=null?d:t==null?void 0:t.querySelector("html")}),r=g(!1),a=T(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(d=>t&&d in t||s.value&&d in s.value)),l=T(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(d=>t&&d in t||s.value&&d in s.value)),i=T(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(d=>t&&d in t||s.value&&d in s.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(d=>t&&d in t),v=G(()=>s.value&&t&&a.value!==void 0&&l.value!==void 0&&i.value!==void 0),f=()=>u?(t==null?void 0:t[u])===s.value:!1,m=()=>{if(i.value){if(t&&t[i.value]!=null)return t[i.value];{const d=s.value;if((d==null?void 0:d[i.value])!=null)return!!d[i.value]}}return!1};async function c(){if(!(!v.value||!r.value)){if(l.value)if((t==null?void 0:t[l.value])!=null)await t[l.value]();else{const d=s.value;(d==null?void 0:d[l.value])!=null&&await d[l.value]()}r.value=!1}}async function p(){if(!v.value||r.value)return;m()&&await c();const d=s.value;a.value&&(d==null?void 0:d[a.value])!=null&&(await d[a.value](),r.value=!0)}async function h(){await(r.value?c():p())}const S=()=>{const d=m();(!d||d&&f())&&(r.value=d)};return x(t,fe,S,!1),x(()=>L(s),fe,S,!1),o&&N(c),{isSupported:v,isFullscreen:r,enter:p,exit:c,toggle:h}}function Q(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const de=1;function Ht(e,n={}){const{throttle:t=0,idle:o=200,onStop:s=P,onScroll:r=P,offset:a={left:0,right:0,top:0,bottom:0},eventListenerOptions:l={capture:!1,passive:!0},behavior:i="auto",window:u=W,onError:v=b=>{console.error(b)}}=n,f=g(0),m=g(0),c=T({get(){return f.value},set(b){h(b,void 0)}}),p=T({get(){return m.value},set(b){h(void 0,b)}});function h(b,H){var _,w,M,F;if(!u)return;const R=D(e);if(!R)return;(M=R instanceof Document?u.document.body:R)==null||M.scrollTo({top:(_=D(H))!=null?_:p.value,left:(w=D(b))!=null?w:c.value,behavior:D(i)});const j=((F=R==null?void 0:R.document)==null?void 0:F.documentElement)||(R==null?void 0:R.documentElement)||R;c!=null&&(f.value=j.scrollLeft),p!=null&&(m.value=j.scrollTop)}const S=g(!1),d=K({left:!0,right:!1,top:!0,bottom:!1}),E=K({left:!1,right:!1,top:!1,bottom:!1}),A=b=>{S.value&&(S.value=!1,E.left=!1,E.right=!1,E.top=!1,E.bottom=!1,s(b))},O=qe(A,t+o),y=b=>{var H;if(!u)return;const _=((H=b==null?void 0:b.document)==null?void 0:H.documentElement)||(b==null?void 0:b.documentElement)||L(b),{display:w,flexDirection:M}=getComputedStyle(_),F=_.scrollLeft;E.left=F<f.value,E.right=F>f.value;const R=Math.abs(F)<=(a.left||0),j=Math.abs(F)+_.clientWidth>=_.scrollWidth-(a.right||0)-de;w==="flex"&&M==="row-reverse"?(d.left=j,d.right=R):(d.left=R,d.right=j),f.value=F;let z=_.scrollTop;b===u.document&&!z&&(z=u.document.body.scrollTop),E.top=z<m.value,E.bottom=z>m.value;const se=Math.abs(z)<=(a.top||0),ue=Math.abs(z)+_.clientHeight>=_.scrollHeight-(a.bottom||0)-de;w==="flex"&&M==="column-reverse"?(d.top=ue,d.bottom=se):(d.top=se,d.bottom=ue),m.value=z},k=b=>{var H;if(!u)return;const _=(H=b.target.documentElement)!=null?H:b.target;y(_),S.value=!0,O(b),r(b)};return x(e,"scroll",t?Ge(k,t,!0,!1):k,l),q(()=>{try{const b=D(e);if(!b)return;y(b)}catch(b){v(b)}}),x(e,"scrollend",A,l),{x:c,y:p,isScrolling:S,arrivedState:d,directions:E,measure(){const b=D(e);u&&b&&y(b)}}}function Wt(e,n,t={}){const{window:o=W}=t;return ft(e,n,o==null?void 0:o.localStorage,t)}const dt={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function Pt(e={}){const{type:n="page",touch:t=!0,resetOnTouchEnds:o=!1,initialValue:s={x:0,y:0},window:r=W,target:a=r,scroll:l=!0,eventFilter:i}=e;let u=null;const v=g(s.x),f=g(s.y),m=g(null),c=typeof n=="function"?n:dt[n],p=y=>{const k=c(y);u=y,k&&([v.value,f.value]=k,m.value="mouse")},h=y=>{if(y.touches.length>0){const k=c(y.touches[0]);k&&([v.value,f.value]=k,m.value="touch")}},S=()=>{if(!u||!r)return;const y=c(u);u instanceof MouseEvent&&y&&(v.value=y[0]+r.scrollX,f.value=y[1]+r.scrollY)},d=()=>{v.value=s.x,f.value=s.y},E=i?y=>i(()=>p(y),{}):y=>p(y),A=i?y=>i(()=>h(y),{}):y=>h(y),O=i?()=>i(()=>S(),{}):()=>S();if(a){const y={passive:!0};x(a,["mousemove","dragover"],E,y),t&&n!=="movement"&&(x(a,["touchstart","touchmove"],A,y),o&&x(a,"touchend",d,y)),l&&n==="page"&&x(r,"scroll",O,{passive:!0})}return{x:v,y:f,sourceType:m}}function Ct(e={}){const{touch:n=!0,drag:t=!0,capture:o=!1,initialValue:s=!1,window:r=W}=e,a=g(s),l=g(null);if(!r)return{pressed:a,sourceType:l};const i=f=>()=>{a.value=!0,l.value=f},u=()=>{a.value=!1,l.value=null},v=T(()=>L(e.target)||r);return x(v,"mousedown",i("mouse"),{passive:!0,capture:o}),x(r,"mouseleave",u,{passive:!0,capture:o}),x(r,"mouseup",u,{passive:!0,capture:o}),t&&(x(v,"dragstart",i("mouse"),{passive:!0,capture:o}),x(r,"drop",u,{passive:!0,capture:o}),x(r,"dragend",u,{passive:!0,capture:o})),n&&(x(v,"touchstart",i("touch"),{passive:!0,capture:o}),x(r,"touchend",u,{passive:!0,capture:o}),x(r,"touchcancel",u,{passive:!0,capture:o})),{pressed:a,sourceType:l}}function Rt(e={}){const{window:n=W}=e,t=G(()=>n&&"screen"in n&&"orientation"in n.screen),o=t.value?n.screen.orientation:{},s=g(o.type),r=g(o.angle||0);return t.value&&x(n,"orientationchange",()=>{s.value=o.type,r.value=o.angle}),{isSupported:t,orientation:s,angle:r,lockOrientation:i=>t.value&&typeof o.lock=="function"?o.lock(i):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{t.value&&typeof o.unlock=="function"&&o.unlock()}}}function Oe(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:Oe(t)}}function vt(e){const n=e||window.event,t=n.target;return Oe(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const Z=new WeakMap;function Yt(e,n=!1){const t=g(n);let o=null,s="";C(xe(e),l=>{const i=Q(D(l));if(i){const u=i;if(Z.get(u)||Z.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=Q(D(e));!l||t.value||(B&&(o=x(l,"touchmove",i=>{vt(i)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=Q(D(e));!l||!t.value||(B&&(o==null||o()),l.style.overflow=s,Z.delete(l),t.value=!1)};return N(a),T({get(){return t.value},set(l){l?r():a()}})}function Nt(e,n={}){const{threshold:t=50,onSwipe:o,onSwipeEnd:s,onSwipeStart:r,passive:a=!0,window:l=W}=n,i=K({x:0,y:0}),u=K({x:0,y:0}),v=T(()=>i.x-u.x),f=T(()=>i.y-u.y),{max:m,abs:c}=Math,p=T(()=>m(c(v.value),c(f.value))>=t),h=g(!1),S=T(()=>p.value?c(v.value)>c(f.value)?v.value>0?"left":"right":f.value>0?"up":"down":"none"),d=_=>[_.touches[0].clientX,_.touches[0].clientY],E=(_,w)=>{i.x=_,i.y=w},A=(_,w)=>{u.x=_,u.y=w};let O;const y=mt(l==null?void 0:l.document);a?O=y?{passive:!0}:{capture:!1}:O=y?{passive:!1,capture:!0}:{capture:!0};const k=_=>{h.value&&(s==null||s(_,S.value)),h.value=!1},b=[x(e,"touchstart",_=>{if(_.touches.length!==1)return;O.capture&&!O.passive&&_.preventDefault();const[w,M]=d(_);E(w,M),A(w,M),r==null||r(_)},O),x(e,"touchmove",_=>{if(_.touches.length!==1)return;const[w,M]=d(_);A(w,M),!h.value&&p.value&&(h.value=!0),h.value&&(o==null||o(_))},O),x(e,["touchend","touchcancel"],k,O)];return{isPassiveEventSupported:y,isSwiping:h,direction:S,coordsStart:i,coordsEnd:u,lengthX:v,lengthY:f,stop:()=>b.forEach(_=>_())}}function mt(e){if(!e)return!1;let n=!1;const t={get passive(){return n=!0,!1}};return e.addEventListener("x",P,t),e.removeEventListener("x",P),n}function zt(e={}){const{window:n=W,behavior:t="auto"}=e;if(!n)return{x:g(0),y:g(0)};const o=g(n.scrollX),s=g(n.scrollY),r=T({get(){return o.value},set(l){scrollTo({left:l,behavior:t})}}),a=T({get(){return s.value},set(l){scrollTo({top:l,behavior:t})}});return x(n,"scroll",()=>{o.value=n.scrollX,s.value=n.scrollY},{capture:!1,passive:!0}),{x:r,y:a}}function It(e={}){const{window:n=W,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:r=!0,type:a="inner"}=e,l=g(t),i=g(o),u=()=>{n&&(a==="outer"?(l.value=n.outerWidth,i.value=n.outerHeight):r?(l.value=n.innerWidth,i.value=n.innerHeight):(l.value=n.document.documentElement.clientWidth,i.value=n.document.documentElement.clientHeight))};if(u(),q(u),x("resize",u,{passive:!0}),s){const v=lt("(orientation: portrait)");C(v,()=>u())}return{width:l,height:i}}function $t(e=null,n){const t=g(e),o=T({set:r=>r?Y.start():Y.done(),get:()=>typeof t.value=="number"&&t.value<1});n&&Y.configure(n);const s=Y.set;return Y.set=r=>(t.value=r,s.call(Y,r)),re(()=>{typeof t.value=="number"&&V&&s.call(Y,t.value)}),N(Y.remove),{isLoading:o,progress:t,start:Y.start,done:Y.done,remove:()=>{t.value=null,Y.remove()}}}const Te=V?window:void 0;function Fe(e){var n;const t=D(e);return(n=t==null?void 0:t.$el)!=null?n:t}function $(...e){let n,t,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,o,s]=e,n=Te):[n,t,o,s]=e,!n)return P;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(v=>v()),r.length=0},l=(v,f,m,c)=>(v.addEventListener(f,m,c),()=>v.removeEventListener(f,m,c)),i=C(()=>[Fe(n),D(s)],([v,f])=>{if(a(),!v)return;const m=Ee(f)?{...f}:f;r.push(...t.flatMap(c=>o.map(p=>l(v,c,p,m))))},{immediate:!0,flush:"post"}),u=()=>{i(),a()};return N(u),u}const pt=500,ht=10;function ve(e,n,t){var o,s;const r=T(()=>Fe(e));let a,l,i,u=!1;function v(){a&&(clearTimeout(a),a=void 0),l=void 0,i=void 0,u=!1}function f(d){var E,A,O;const[y,k,b]=[i,l,u];if(v(),!(t!=null&&t.onMouseUp)||!k||!y||(E=t==null?void 0:t.modifiers)!=null&&E.self&&d.target!==r.value)return;(A=t==null?void 0:t.modifiers)!=null&&A.prevent&&d.preventDefault(),(O=t==null?void 0:t.modifiers)!=null&&O.stop&&d.stopPropagation();const H=d.x-k.x,_=d.y-k.y,w=Math.sqrt(H*H+_*_);t.onMouseUp(d.timeStamp-y,w,b)}function m(d){var E,A,O,y;(E=t==null?void 0:t.modifiers)!=null&&E.self&&d.target!==r.value||(v(),(A=t==null?void 0:t.modifiers)!=null&&A.prevent&&d.preventDefault(),(O=t==null?void 0:t.modifiers)!=null&&O.stop&&d.stopPropagation(),l={x:d.x,y:d.y},i=d.timeStamp,a=setTimeout(()=>{u=!0,n(d)},(y=t==null?void 0:t.delay)!=null?y:pt))}function c(d){var E,A,O,y;if((E=t==null?void 0:t.modifiers)!=null&&E.self&&d.target!==r.value||!l||(t==null?void 0:t.distanceThreshold)===!1)return;(A=t==null?void 0:t.modifiers)!=null&&A.prevent&&d.preventDefault(),(O=t==null?void 0:t.modifiers)!=null&&O.stop&&d.stopPropagation();const k=d.x-l.x,b=d.y-l.y;Math.sqrt(k*k+b*b)>=((y=t==null?void 0:t.distanceThreshold)!=null?y:ht)&&v()}const p={capture:(o=t==null?void 0:t.modifiers)==null?void 0:o.capture,once:(s=t==null?void 0:t.modifiers)==null?void 0:s.once},h=[$(r,"pointerdown",m,p),$(r,"pointermove",c,p),$(r,["pointerup","pointerleave"],f,p)];return()=>h.forEach(d=>d())}const jt={[be.mounted](e,n){typeof n.value=="function"?ve(e,n.value,{modifiers:n.modifiers}):ve(e,...n.value)}};function me(e,n={}){const{delayEnter:t=0,delayLeave:o=0,window:s=Te}=n,r=g(!1);let a;const l=i=>{const u=i?t:o;a&&(clearTimeout(a),a=void 0),u?a=setTimeout(()=>r.value=i,u):r.value=i};return s&&($(e,"mouseenter",()=>l(!0),{passive:!0}),$(e,"mouseleave",()=>l(!1),{passive:!0})),r}const Xt={[be.mounted](e,n){const t=n.value;if(typeof t=="function"){const o=me(e);C(o,s=>t(s))}else{const[o,s]=t,r=me(e,s);C(r,a=>o(a))}}};function ee(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function ke(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:ke(t)}}function wt(e){const n=e||window.event,t=n.target;return ke(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const te=new WeakMap;function gt(e,n=!1){const t=g(n);let o=null,s="";C(xe(e),l=>{const i=ee(D(l));if(i){const u=i;if(te.get(u)||te.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=ee(D(e));!l||t.value||(B&&(o=$(l,"touchmove",i=>{wt(i)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=ee(D(e));!l||!t.value||(B&&(o==null||o()),l.style.overflow=s,te.delete(l),t.value=!1)};return N(a),T({get(){return t.value},set(l){l?r():a()}})}function yt(){let e=!1;const n=g(!1);return(t,o)=>{if(n.value=o.value,e)return;e=!0;const s=gt(t,o.value);C(n,r=>s.value=r)}}yt();export{xt as a,lt as b,Et as c,Rt as d,It as e,At as f,Nt as g,zt as h,$t as i,kt as j,Ht as k,Pt as l,Ct as m,Yt as n,Ot as o,x as p,Ft as q,_t as r,Lt as s,Mt as t,Wt as u,Dt as v,Xt as w,jt as x,Tt as y,Me as z};
|
package/dist/interface/{Account.Dl_h4WcJ.0.0.34-alpha.1.js → Account.Dt2M2G9T.0.0.34-alpha.2.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as ee,u as se,c as oe,r as re,_ as ae,d as te}from"./main.
|
|
1
|
+
import{f as ee,u as se,c as oe,r as re,_ as ae,d as te}from"./main.CHr8NDgU.0.0.34-alpha.2.js";import{G as ne,r as g,a5 as le,b as P,aa as ie,ab as t,u as e,f as o,a9 as d,R as r,m as b,d as me,k as de,a7 as M,p as ue,g as E}from"./@vue.D0DP0v6_.0.0.34-alpha.2.js";import{m as N,a as R,W as j}from"./@mdi.C1UTQKuc.0.0.34-alpha.2.js";import{F as f,a as ce}from"./vee-validate.DKbtKMvz.0.0.34-alpha.2.js";import{i as D}from"./vue3-toastify.CQn1aNYZ.0.0.34-alpha.2.js";import{s as pe}from"./pinia.CgXasWeS.0.0.34-alpha.2.js";import{c as F,d as U,e as G,z as W,V as q,b as H}from"./vuetify.BawD4IXx.0.0.34-alpha.2.js";import{u as fe}from"./vue-i18n.BH1Ai61X.0.0.34-alpha.2.js";import"./axios.C-n2IhIP.0.0.34-alpha.2.js";import"./@tanstack.DaYhomXG.0.0.34-alpha.2.js";import"./vue-router.C0Bd386U.0.0.34-alpha.2.js";import"./@vueuse.Di3-85fa.0.0.34-alpha.2.js";import"./nprogress.CKm3qYbh.0.0.34-alpha.2.js";import"./@xterm.Dv6b8EJg.0.0.34-alpha.2.js";import"./@vee-validate.BgfhJ3tv.0.0.34-alpha.2.js";import"./zod.DnW1_kUe.0.0.34-alpha.2.js";import"./uuid.DvF23Exx.0.0.34-alpha.2.js";import"./socket.io-client.DyznceoQ.0.0.34-alpha.2.js";import"./engine.io-client.Dwbs-ZkK.0.0.34-alpha.2.js";import"./engine.io-parser.BiEtp6m2.0.0.34-alpha.2.js";import"./@socket.io.Dkula2eQ.0.0.34-alpha.2.js";import"./socket.io-parser.DxT7zcFX.0.0.34-alpha.2.js";import"./rxjs.D38gERkL.0.0.34-alpha.2.js";import"./tslib.9k7AwCpt.0.0.34-alpha.2.js";import"./vue-inline-svg.DuJxxmO_.0.0.34-alpha.2.js";import"./v-calendar.B8iX5lRb.0.0.34-alpha.2.js";import"./@intlify.sEJX3RNi.0.0.34-alpha.2.js";const ve={class:"relative"},ge={class:"subview-title text-color"},be={class:"image-upload ml-auto"},_e={for:"file-input"},he={class:"inner-component p-4"},ye={class:"relative"},we={for:"username",class:"v-label"},xe={class:"relative"},ke={for:"password",class:"v-label"},Ce={class:"relative"},Me={for:"passwordConfirm",class:"v-label"},$e={class:"relative"},Ve={for:"sessionTimer",class:"v-label"},Le={key:0,style:{"padding-top":"22px"}},Se={class:"relative"},Ie={class:"flex flex-row"},ze={class:"v-label m-0 mb-0 ml-2",for:"rememberMe"},Fe={class:"text-sm"},Te={class:"relative"},Ae={class:"flex flex-row"},Be={class:"v-label m-0 mb-0 ml-2",for:"oneLogin"},Oe={class:"text-sm"},Pe=ne({__name:"Account",setup(Ee){var A,B;const{smallMobileActive:T}=ee(),$=se(),J=fe(),{loginState:a}=pe($),V=g("avatar"),w=g(),L=g(),_=g(!1),x=g(!1),k=g(!1);let S=((A=a.value.user)==null?void 0:A.rememberMe)??!1,I=((B=a.value.user)==null?void 0:B.oneLogin)??!1;const K=()=>{a.value.user&&(a.value.user.rememberMe=!a.value.user.rememberMe)},Q=()=>{a.value.user&&(a.value.user.oneLogin=!a.value.user.oneLogin)},X=()=>{L.value&&(L.value.resetForm(),V.value="avatar",w.value=void 0),a.value.user&&(a.value.user.rememberMe=S,a.value.user.oneLogin=I)},Y=async n=>{var u;const s=(u=n.target)==null?void 0:u.files;w.value=s==null?void 0:s[0],V.value=await re(n)},Z=async n=>{var h,y,l,i,m,p,C;_.value=!0;let s;const u={...n};delete u.upload;const z=((h=a.value.user)==null?void 0:h.username)!==u.username||u.password&&u.passwordConfirm,v=Object.entries(u).some(([,c])=>c!==void 0);if(w.value&&(s=new FormData,s.append("upload",w.value)),!v&&!s){_.value=!1;return}try{await $.updateUser(u,s,!0),D.success(J.t("components.toast.profile_updated")),S=((y=a.value.user)==null?void 0:y.rememberMe)??S,I=((l=a.value.user)==null?void 0:l.oneLogin)??I,z&&$.logout()}catch(c){D.error(((m=(i=c.response)==null?void 0:i.data)==null?void 0:m.message)??c.message??c),console.error(((C=(p=c.response)==null?void 0:p.data)==null?void 0:C.message)??c.message??c)}_.value=!1};return(n,s)=>{const u=ae,z=le("v-number-input");return P(),ie(e(ce),{ref_key:"form",ref:L,class:"flex flex-col w-full","validation-schema":e(oe),onSubmit:s[3]||(s[3]=v=>Z(v))},{default:t(()=>{var v,h,y;return[o("div",ve,[o("span",ge,d(n.$t("views.settings.profile")),1),o("div",be,[o("label",_e,[r(u,{src:e(V),size:"4rem",style:{"border-radius":"4rem",border:"1px solid var(--border)"}},null,8,["src"]),r(e(f),{id:"file-input",type:"file",name:"upload",accept:"image/png,image/jpeg,image/jpg",onChange:s[0]||(s[0]=l=>Y(l))})])]),o("div",he,[o("div",ye,[o("label",we,d(n.$t("components.form.label.username")),1),r(e(f),{name:"username",value:(v=e(a).user)==null?void 0:v.username},{default:t(({field:l,errorMessage:i,errors:m})=>[r(F,b({name:"username",variant:"outlined",density:"compact"},l,{type:"text",error:m.length>0,"error-messages":i}),null,16,["error","error-messages"])]),_:1},8,["value"])]),s[4]||(s[4]=o("div",{class:"py-1"},null,-1)),o("div",xe,[o("label",ke,d(n.$t("components.form.label.new_password")),1),r(e(f),{name:"password"},{default:t(({field:l,errorMessage:i,errors:m})=>[r(F,b({name:"password",variant:"outlined",density:"compact"},l,{type:e(x)?"text":"password",error:m.length>0,"error-messages":i,"append-inner-icon":e(x)?e(N):e(R),"onClick:appendInner":s[1]||(s[1]=p=>x.value=!e(x))}),null,16,["type","error","error-messages","append-inner-icon"])]),_:1})]),s[5]||(s[5]=o("div",{class:"py-1"},null,-1)),o("div",Ce,[o("label",Me,d(n.$t("components.form.label.new_password_confirm")),1),r(e(f),{name:"passwordConfirm"},{default:t(({field:l,errorMessage:i,errors:m})=>[r(F,b({name:"passwordConfirm",variant:"outlined",density:"compact"},l,{type:e(k)?"text":"password",error:m.length>0,"error-messages":i,"append-inner-icon":e(k)?e(N):e(R),"onClick:appendInner":s[2]||(s[2]=p=>k.value=!e(k))}),null,16,["type","error","error-messages","append-inner-icon"])]),_:1})]),s[6]||(s[6]=o("div",{class:"py-1"},null,-1)),o("div",$e,[o("label",Ve,d(n.$t("components.form.label.session_timer")),1),r(e(f),{name:"sessionTimer",value:(h=e(a).user)==null?void 0:h.sessionTimer},{default:t(({field:l,errorMessage:i,errors:m,value:p,setValue:C})=>{var c,O;return[r(z,b({name:"sessionTimer",variant:"outlined",density:"compact"},l,{type:"number",step:600,error:m.length>0,"error-messages":i,disabled:(c=e(a).user)==null?void 0:c.rememberMe,"hide-details":(O=e(a).user)==null?void 0:O.rememberMe,onChange:()=>p===""?C(14400):void 0}),null,16,["error","error-messages","disabled","hide-details","onChange"])]}),_:1},8,["value"])]),s[7]||(s[7]=o("div",{class:"py-1"},null,-1)),(y=e(a).user)!=null&&y.rememberMe?(P(),me("div",Le)):de("",!0),o("div",Se,[r(e(f),{name:"rememberMe",type:"checkbox","checked-value":!0,"unchecked-value":!1},{default:t(({field:l,errorMessage:i,errors:m})=>[o("div",Ie,[r(U,b({"model-value":e(a).user.rememberMe,name:"rememberMe"},l,{color:"#df2a4c",type:"checkbox",error:m.length>0,"error-messages":i,"hide-details":"",onChange:K}),null,16,["model-value","error","error-messages"]),o("label",ze,d(n.$t("components.form.label.remember_me")),1)])]),_:1}),r(W,{variant:"tonal",color:"#df2a4c"},{prepend:t(()=>[r(G,{color:"#df2a4c",size:"20",class:"mt-1"},{default:t(()=>[M(d(e(j)),1)]),_:1})]),default:t(()=>[o("span",Fe,d(n.$t("components.form.hint.remember_me")),1)]),_:1})]),s[8]||(s[8]=o("div",{class:"py-2"},null,-1)),o("div",Te,[r(e(f),{name:"oneLogin",type:"checkbox","checked-value":!0,"unchecked-value":!1},{default:t(({field:l,errorMessage:i,errors:m})=>{var p;return[o("div",Ae,[r(U,b({"model-value":(p=e(a).user)==null?void 0:p.oneLogin,name:"oneLogin"},l,{color:"#df2a4c",type:"checkbox",error:m.length>0,"error-messages":i,"hide-details":"",onChange:Q}),null,16,["model-value","error","error-messages"]),o("label",Be,d(n.$t("components.form.label.one_login")),1)])]}),_:1}),r(W,{variant:"tonal",color:"#df2a4c"},{prepend:t(()=>[r(G,{color:"#df2a4c",size:"20",class:"mt-1"},{default:t(()=>[M(d(e(j)),1)]),_:1})]),default:t(()=>[o("span",Oe,d(n.$t("components.form.hint.one_login")),1)]),_:1})]),s[9]||(s[9]=o("div",{class:"py-2"},null,-1))])]),o("div",{class:E(["flex flex-row my-5",{"mr-3":e(T)}])},[r(H,{class:"ml-auto mr-2 text-color bg-color-lighten",elevation:"0",tonal:"",style:{border:"1px solid rgba(var(--border-rgb), 0.75)"},loading:e(_),onClick:ue(X,["prevent"])},{loader:t(()=>[r(q,{class:"text-color",size:"14",width:"2",indeterminate:""})]),default:t(()=>[M(d(n.$t("components.form.button.cancel")),1)]),_:1},8,["loading"]),r(H,{class:E(["text-white bg-color-primary",{"mr-2":e(T)}]),loading:e(_),elevation:"0",tonal:"",style:{border:"1px solid var(--color-primary-darken-2)"},type:"submit"},{loader:t(()=>[r(q,{color:"#fff",size:"14",width:"2",indeterminate:""})]),default:t(()=>[M(d(n.$t("components.form.button.save")),1)]),_:1},8,["loading","class"])],2)]}),_:1},8,["validation-schema"])}}}),cs=te(Pe,[["__scopeId","data-v-cafc8a1b"]]);export{cs as default};
|