@camera.ui/server 0.0.26 → 0.0.27
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/{@mdi.C1UTQKuc.0.0.26.js → @mdi.D-fmakQN.0.0.27.js} +1 -1
- package/dist/interface/{@tanstack.DJCGsne4.0.0.26.js → @tanstack.Bm3cSvpy.0.0.27.js} +1 -1
- package/dist/interface/{@vee-validate.CYhlCcNP.0.0.26.js → @vee-validate.DLrUjipo.0.0.27.js} +1 -1
- package/dist/interface/{@vue.Cu2HxZV7.0.0.26.js → @vue.Ddz2NYqM.0.0.27.js} +1 -1
- package/dist/interface/{@vueform.C7JEqnXC.0.0.26.js → @vueform.Bsdz6Sjj.0.0.27.js} +1 -1
- package/dist/interface/{@vueuse.DO1d3ism.0.0.26.js → @vueuse.D0Q3b7aI.0.0.27.js} +1 -1
- package/dist/interface/{Account.Das-6fa8.0.0.26.js → Account.Bt1PPTrH.0.0.27.js} +1 -1
- package/dist/interface/{Adminpanel.CQNcuAgA.0.0.26.js → Adminpanel.B3TDnuln.0.0.27.js} +2 -2
- package/dist/interface/{Appearance.BmNGcBen.0.0.26.js → Appearance.BCEXPIo-.0.0.27.js} +1 -1
- package/dist/interface/Backup.wTP3FHTG.0.0.27.js +1 -0
- package/dist/interface/Camera.DBN_IYRw.0.0.27.js +1 -0
- package/dist/interface/Cameras.D0Uxx50g.0.0.27.js +1 -0
- package/dist/interface/{Camview.v15FLZXq.0.0.26.js → Camview.BJZZ90Mk.0.0.27.js} +1 -1
- package/dist/interface/Config.obFokUV3.0.0.27.js +1 -0
- package/dist/interface/Console.CYG9NwGE.0.0.27.js +4 -0
- package/dist/interface/FirstSteps.f8NWGktM.0.0.27.js +1 -0
- package/dist/interface/{NewCamera.BF6yEx1f.0.0.26.js → NewCamera.B5LfyCGA.0.0.27.js} +2 -2
- package/dist/interface/{Plugin.1GWAcsXP.0.0.26.js → Plugin.CYOwdXoP.0.0.27.js} +1 -1
- package/dist/interface/{Plugins.CqSYRGne.0.0.26.js → Plugins.HVavkzPy.0.0.27.js} +1 -1
- package/dist/interface/Recordings.DJ_Yg9BF.0.0.27.js +1 -0
- package/dist/interface/Recordings.X74Lf9uI.0.0.27.js +1 -0
- package/dist/interface/{Settings.BUdYXlXh.0.0.26.js → Settings.Bx_yejjH.0.0.27.js} +1 -1
- package/dist/interface/{System.B4JtkYI_.0.0.26.js → System.Dzred1Li.0.0.27.js} +2 -2
- package/dist/interface/{User.GqvDPCjA.0.0.26.js → User.DUMD0zOF.0.0.27.js} +1 -1
- package/dist/interface/{VConfigEditor.vue_vue_type_script_setup_true_lang.OBEy-QGk.0.0.26.js → VConfigEditor.vue_vue_type_script_setup_true_lang.DXHkH97r.0.0.27.js} +2 -2
- package/dist/interface/{VConsole.D_UEEJ6M.0.0.26.js → VConsole.NTILyp-m.0.0.27.js} +1 -1
- package/dist/interface/{VPlayer.B6WqugHB.0.0.26.js → VPlayer.DL37B_OL.0.0.27.js} +2 -2
- package/dist/interface/{VPluginCard.C4BMJXfJ.0.0.26.js → VPluginCard.CrFn_CDt.0.0.27.js} +2 -2
- package/dist/interface/{ace-builds.Dsuirs4t.0.0.26.js → ace-builds.BFkjIdtB.0.0.27.js} +1 -1
- package/dist/interface/{apexcharts.70ahpMeg.0.0.26.js → apexcharts.Dx0G2irl.0.0.27.js} +1 -1
- package/dist/interface/assets/Camera.0.0.27.DurX54CO.css +1 -0
- package/dist/interface/assets/FirstSteps.0.0.27.BHh3CorE.css +1 -0
- package/dist/interface/assets/{main.0.0.26.DNhh__S1.css → main.0.0.27.k2hmg3ho.css} +1 -1
- package/dist/interface/backup.C_RMOdcs.0.0.27.js +1 -0
- package/dist/interface/{dnd-core.Bew5Znjn.0.0.26.js → dnd-core.DGhTBgTz.0.0.27.js} +1 -1
- package/dist/interface/{draggabilly.KFYMFvtP.0.0.26.js → draggabilly.De9lRZQ1.0.0.27.js} +1 -1
- package/dist/interface/{engine.io-client.D0YIUKPI.0.0.26.js → engine.io-client.4V7g_fDW.0.0.27.js} +1 -1
- package/dist/interface/{ev-emitter.BGKk8Npt.0.0.26.js → ev-emitter.plEcNLrI.0.0.27.js} +1 -1
- package/dist/interface/{fast-deep-equal.CH01muHZ.0.0.26.js → fast-deep-equal.CiFMNAjk.0.0.27.js} +1 -1
- package/dist/interface/{highlight.js.DblKxZcW.0.0.26.js → highlight.js.D7RMSaM-.0.0.27.js} +1 -1
- package/dist/interface/index.html +32 -32
- package/dist/interface/{linkify-it.ea_mK3sQ.0.0.26.js → linkify-it.Calax-6O.0.0.27.js} +1 -1
- package/dist/interface/main.BXOJy68s.0.0.27.js +5 -0
- package/dist/interface/{markdown-it.BCllNUuD.0.0.26.js → markdown-it.lwcVlCWR.0.0.27.js} +1 -1
- package/dist/interface/{nprogress.fQbeXJrK.0.0.26.js → nprogress.Dro1FQza.0.0.27.js} +1 -1
- package/dist/interface/{pinia.DkA0HdC3.0.0.26.js → pinia.B6vj0NYr.0.0.27.js} +1 -1
- package/dist/interface/{plugins.DrB02-ft.0.0.26.js → plugins.C3CWZVgs.0.0.27.js} +1 -1
- package/dist/interface/{qrcode.1Tp-NRCM.0.0.26.js → qrcode.BQXbEKE5.0.0.27.js} +1 -1
- package/dist/interface/{react-dnd-touch-backend.CSaaplcX.0.0.26.js → react-dnd-touch-backend.OwiLGVtH.0.0.27.js} +1 -1
- package/dist/interface/{rxjs.DEaSL0qY.0.0.26.js → rxjs.BEfAF_vM.0.0.27.js} +1 -1
- package/dist/interface/{socket.io-client.DhAFK5pR.0.0.26.js → socket.io-client.CBJOn-57.0.0.27.js} +1 -1
- package/dist/interface/{socket.io-parser.Dqc-wAWR.0.0.26.js → socket.io-parser.CEFWw8jT.0.0.27.js} +1 -1
- package/dist/interface/sw.js +1 -1
- package/dist/interface/{system.BqgtQ929.0.0.26.js → system.l1x-e9Wo.0.0.27.js} +1 -1
- package/dist/interface/{unidragger.fEgB1fdV.0.0.26.js → unidragger.BXH5FbO6.0.0.27.js} +1 -1
- package/dist/interface/{vee-validate.DXISFe7B.0.0.26.js → vee-validate.C3HAoDnO.0.0.27.js} +1 -1
- package/dist/interface/{vue-i18n.CAWS_WIh.0.0.26.js → vue-i18n.BGb0iC47.0.0.27.js} +1 -1
- package/dist/interface/{vue-inline-svg.DsruHAXy.0.0.26.js → vue-inline-svg.Bpl1FbWF.0.0.27.js} +1 -1
- package/dist/interface/{vue-router._vC8MBv6.0.0.26.js → vue-router.BAOHLc3X.0.0.27.js} +1 -1
- package/dist/interface/{vue3-apexcharts.D6Esrb5D.0.0.26.js → vue3-apexcharts.L2GUpfG8.0.0.27.js} +1 -1
- package/dist/interface/{vue3-dnd.CGPq3PI6.0.0.26.js → vue3-dnd.DzHpcZOS.0.0.27.js} +1 -1
- package/dist/interface/{vue3-toastify.B3TQOJuV.0.0.26.js → vue3-toastify.B5nE8tfx.0.0.27.js} +1 -1
- package/dist/interface/{vuetify.DZjXMjFB.0.0.26.js → vuetify.CcSBzYNW.0.0.27.js} +2 -2
- package/dist/server/package.json +4 -4
- package/dist/server/src/api/controllers/plugins.controller.d.ts +0 -9
- package/dist/server/src/api/controllers/plugins.controller.js +21 -242
- package/dist/server/src/api/controllers/plugins.controller.js.map +1 -1
- package/dist/server/src/api/controllers/system.controller.d.ts +0 -4
- package/dist/server/src/api/controllers/system.controller.js +1 -30
- package/dist/server/src/api/controllers/system.controller.js.map +1 -1
- package/dist/server/src/api/database/types.d.ts +0 -4
- package/dist/server/src/api/index.d.ts +3 -1
- package/dist/server/src/api/index.js.map +1 -1
- package/dist/server/src/api/services/backup.service.d.ts +1 -0
- package/dist/server/src/api/services/backup.service.js +19 -6
- package/dist/server/src/api/services/backup.service.js.map +1 -1
- package/dist/server/src/api/services/plugins.service.d.ts +16 -4
- package/dist/server/src/api/services/plugins.service.js +250 -17
- package/dist/server/src/api/services/plugins.service.js.map +1 -1
- package/dist/server/src/api/services/system.service.d.ts +6 -0
- package/dist/server/src/api/services/system.service.js +41 -1
- package/dist/server/src/api/services/system.service.js.map +1 -1
- package/dist/server/src/api/types/index.d.ts +6 -0
- package/dist/server/src/api/utils/cameraSource.d.ts +1 -1
- package/dist/server/src/api/utils/cameraSource.js +2 -2
- package/dist/server/src/api/utils/cameraSource.js.map +1 -1
- package/dist/server/src/api/utils/cert.js +1 -1
- package/dist/server/src/api/utils/cert.js.map +1 -1
- package/dist/server/src/api/utils/fetch.d.ts +1 -2
- package/dist/server/src/api/utils/fetch.js +2 -3
- package/dist/server/src/api/utils/fetch.js.map +1 -1
- package/dist/server/src/api/utils/moveFiles.d.ts +1 -1
- package/dist/server/src/api/utils/moveFiles.js +28 -20
- package/dist/server/src/api/utils/moveFiles.js.map +1 -1
- package/dist/server/src/api/utils/parse.d.ts +1 -1
- package/dist/server/src/api/utils/parse.js +2 -2
- package/dist/server/src/api/utils/parse.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/main.d.ts +2 -0
- package/dist/server/src/api/websocket/nsp/main.js +11 -0
- package/dist/server/src/api/websocket/nsp/main.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/server.js +3 -3
- package/dist/server/src/api/websocket/nsp/server.js.map +1 -1
- package/dist/server/src/main.d.ts +3 -0
- package/dist/server/src/main.js +13 -2
- package/dist/server/src/main.js.map +1 -1
- package/dist/server/src/plugins/index.d.ts +3 -2
- package/dist/server/src/plugins/index.js +41 -5
- package/dist/server/src/plugins/index.js.map +1 -1
- package/dist/server/src/plugins/worker.js +102 -96
- package/dist/server/src/plugins/worker.js.map +1 -1
- package/dist/server/src/services/config/index.d.ts +1 -0
- package/dist/server/src/services/config/index.js +2 -0
- package/dist/server/src/services/config/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/interface/Backup.C1ASk6dv.0.0.26.js +0 -1
- package/dist/interface/Camera.DtbyyoJC.0.0.26.js +0 -1
- package/dist/interface/Cameras.CX1NqDwG.0.0.26.js +0 -1
- package/dist/interface/Config.CWt06h2X.0.0.26.js +0 -1
- package/dist/interface/Console.C2sjIz21.0.0.26.js +0 -4
- package/dist/interface/FirstSteps.B7FDMk7d.0.0.26.js +0 -1
- package/dist/interface/Recordings.C7FLjcYq.0.0.26.js +0 -1
- package/dist/interface/Recordings.D9Ayjfgb.0.0.26.js +0 -1
- package/dist/interface/assets/Camera.0.0.26.D1I-fW4q.css +0 -1
- package/dist/interface/assets/FirstSteps.0.0.26.sPEcItZ6.css +0 -1
- package/dist/interface/main.DB5nYXhv.0.0.26.js +0 -5
- /package/dist/interface/{@babel.l0sNRNKZ.0.0.26.js → @babel.l0sNRNKZ.0.0.27.js} +0 -0
- /package/dist/interface/{@intlify.DXtFJcML.0.0.26.js → @intlify.DXtFJcML.0.0.27.js} +0 -0
- /package/dist/interface/{@react-dnd.CcwRs9xb.0.0.26.js → @react-dnd.CcwRs9xb.0.0.27.js} +0 -0
- /package/dist/interface/{@socket.io.Dkula2eQ.0.0.26.js → @socket.io.Dkula2eQ.0.0.27.js} +0 -0
- /package/dist/interface/{@turf.l0sNRNKZ.0.0.26.js → @turf.l0sNRNKZ.0.0.27.js} +0 -0
- /package/dist/interface/{@xterm.5Sbl1ahh.0.0.26.js → @xterm.DQVEcgIz.0.0.27.js} +0 -0
- /package/dist/interface/assets/{@vueform.0.0.26.CroAHJs8.css → @vueform.0.0.27.CroAHJs8.css} +0 -0
- /package/dist/interface/assets/{@xterm.0.0.26.CFbL2ovg.css → @xterm.0.0.27.CFbL2ovg.css} +0 -0
- /package/dist/interface/assets/{Account.0.0.26.J7oAjogS.css → Account.0.0.27.J7oAjogS.css} +0 -0
- /package/dist/interface/assets/{Adminpanel.0.0.26.a3t1v3MB.css → Adminpanel.0.0.27.a3t1v3MB.css} +0 -0
- /package/dist/interface/assets/{Backup.0.0.26.CX0rT0QJ.css → Backup.0.0.27.CX0rT0QJ.css} +0 -0
- /package/dist/interface/assets/{Cameras.0.0.26.Buf1Dgce.css → Cameras.0.0.27.Buf1Dgce.css} +0 -0
- /package/dist/interface/assets/{Camview.0.0.26.B7Cja2ry.css → Camview.0.0.27.B7Cja2ry.css} +0 -0
- /package/dist/interface/assets/{Config.0.0.26.DNGo2krN.css → Config.0.0.27.DNGo2krN.css} +0 -0
- /package/dist/interface/assets/{Console.0.0.26.Bh8l9QnM.css → Console.0.0.27.Bh8l9QnM.css} +0 -0
- /package/dist/interface/assets/{NewCamera.0.0.26.Cq8GzeJ7.css → NewCamera.0.0.27.Cq8GzeJ7.css} +0 -0
- /package/dist/interface/assets/{Plugin.0.0.26.DJbgaQc1.css → Plugin.0.0.27.DJbgaQc1.css} +0 -0
- /package/dist/interface/assets/{Plugins.0.0.26.DXSoO9M1.css → Plugins.0.0.27.DXSoO9M1.css} +0 -0
- /package/dist/interface/assets/{Settings.0.0.26.CVmui2kE.css → Settings.0.0.27.CVmui2kE.css} +0 -0
- /package/dist/interface/assets/{User.0.0.26.BiGtIFqt.css → User.0.0.27.BiGtIFqt.css} +0 -0
- /package/dist/interface/assets/{VConsole.0.0.26.BCqKHpmJ.css → VConsole.0.0.27.BCqKHpmJ.css} +0 -0
- /package/dist/interface/assets/{VPlayer.0.0.26.DNtDNhfg.css → VPlayer.0.0.27.DNtDNhfg.css} +0 -0
- /package/dist/interface/assets/{VPluginCard.0.0.26.C8Lj6X-J.css → VPluginCard.0.0.27.C8Lj6X-J.css} +0 -0
- /package/dist/interface/assets/{highlight.0.0.26.Ch2EwETz.css → highlight.0.0.27.Ch2EwETz.css} +0 -0
- /package/dist/interface/assets/{logo-256.0.0.26.BCQk9H1-.png → logo-256.0.0.27.BCQk9H1-.png} +0 -0
- /package/dist/interface/assets/{logo-512.0.0.26.DLKVOU2S.png → logo-512.0.0.27.DLKVOU2S.png} +0 -0
- /package/dist/interface/assets/{logo.0.0.26.DmEiRk0z.png → logo.0.0.27.DmEiRk0z.png} +0 -0
- /package/dist/interface/assets/{mode-json.0.0.26.Br7xisR1.js → mode-json.0.0.27.Br7xisR1.js} +0 -0
- /package/dist/interface/assets/{mode-yaml.0.0.26.CIYL8U3d.js → mode-yaml.0.0.27.CIYL8U3d.js} +0 -0
- /package/dist/interface/assets/{vue3-toastify.0.0.26.DHXAGmwn.css → vue3-toastify.0.0.27.DHXAGmwn.css} +0 -0
- /package/dist/interface/assets/{vuetify.0.0.26.CgGsw6iO.css → vuetify.0.0.27.CgGsw6iO.css} +0 -0
- /package/dist/interface/{axios.C-n2IhIP.0.0.26.js → axios.C-n2IhIP.0.0.27.js} +0 -0
- /package/dist/interface/{birpc.l0sNRNKZ.0.0.26.js → birpc.l0sNRNKZ.0.0.27.js} +0 -0
- /package/dist/interface/{compare-versions.DqEOhma6.0.0.26.js → compare-versions.DqEOhma6.0.0.27.js} +0 -0
- /package/dist/interface/{dijkstrajs.D_NXgYpA.0.0.26.js → dijkstrajs.D_NXgYpA.0.0.27.js} +0 -0
- /package/dist/interface/{engine.io-parser.BiEtp6m2.0.0.26.js → engine.io-parser.BiEtp6m2.0.0.27.js} +0 -0
- /package/dist/interface/{entities.C20TfXL6.0.0.26.js → entities.C20TfXL6.0.0.27.js} +0 -0
- /package/dist/interface/{get-size.D1dS-IaP.0.0.26.js → get-size.D1dS-IaP.0.0.27.js} +0 -0
- /package/dist/interface/{hookable.B8xFkYCm.0.0.26.js → hookable.B8xFkYCm.0.0.27.js} +0 -0
- /package/dist/interface/{mdurl.k9Sl0PQj.0.0.26.js → mdurl.k9Sl0PQj.0.0.27.js} +0 -0
- /package/dist/interface/{perfect-debounce.Cp2ysxOb.0.0.26.js → perfect-debounce.Cp2ysxOb.0.0.27.js} +0 -0
- /package/dist/interface/{point-in-polygon-hao.l0sNRNKZ.0.0.26.js → point-in-polygon-hao.l0sNRNKZ.0.0.27.js} +0 -0
- /package/dist/interface/{punycode.js.Dj65hjkv.0.0.26.js → punycode.js.Dj65hjkv.0.0.27.js} +0 -0
- /package/dist/interface/{react-dnd-html5-backend.1HQjlkwI.0.0.26.js → react-dnd-html5-backend.1HQjlkwI.0.0.27.js} +0 -0
- /package/dist/interface/{redux.CuxFRhX_.0.0.26.js → redux.CuxFRhX_.0.0.27.js} +0 -0
- /package/dist/interface/{sweepline-intersections.l0sNRNKZ.0.0.26.js → sweepline-intersections.l0sNRNKZ.0.0.27.js} +0 -0
- /package/dist/interface/{tslib.9k7AwCpt.0.0.26.js → tslib.9k7AwCpt.0.0.27.js} +0 -0
- /package/dist/interface/{types.Cz9TaZAP.0.0.26.js → types.Cz9TaZAP.0.0.27.js} +0 -0
- /package/dist/interface/{uc.micro.kMc2yuuw.0.0.26.js → uc.micro.kMc2yuuw.0.0.27.js} +0 -0
- /package/dist/interface/{utils.mAKpSMLY.0.0.26.js → utils.mAKpSMLY.0.0.27.js} +0 -0
- /package/dist/interface/{uuid.Ch9TGLTe.0.0.26.js → uuid.Ch9TGLTe.0.0.27.js} +0 -0
- /package/dist/interface/{vue.l0sNRNKZ.0.0.26.js → vue.l0sNRNKZ.0.0.27.js} +0 -0
- /package/dist/interface/{zod.DnW1_kUe.0.0.26.js → zod.DnW1_kUe.0.0.27.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
var H="M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M16.5,16.25C16.5,14.75 13.5,14 12,14C10.5,14 7.5,14.75 7.5,16.25V17H16.5M12,12.25A2.25,2.25 0 0,0 14.25,10A2.25,2.25 0 0,0 12,7.75A2.25,2.25 0 0,0 9.75,10A2.25,2.25 0 0,0 12,12.25Z",V="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7.07,18.28C7.5,17.38 10.12,16.5 12,16.5C13.88,16.5 16.5,17.38 16.93,18.28C15.57,19.36 13.86,20 12,20C10.14,20 8.43,19.36 7.07,18.28M18.36,16.83C16.93,15.09 13.46,14.5 12,14.5C10.54,14.5 7.07,15.09 5.64,16.83C4.62,15.5 4,13.82 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,13.82 19.38,15.5 18.36,16.83M12,6C10.06,6 8.5,7.56 8.5,9.5C8.5,11.44 10.06,13 12,13C13.94,13 15.5,11.44 15.5,9.5C15.5,7.56 13.94,6 12,6M12,11A1.5,1.5 0 0,1 10.5,9.5A1.5,1.5 0 0,1 12,8A1.5,1.5 0 0,1 13.5,9.5A1.5,1.5 0 0,1 12,11Z",L="M21.7,13.35L20.7,14.35L18.65,12.3L19.65,11.3C19.86,11.09 20.21,11.09 20.42,11.3L21.7,12.58C21.91,12.79 21.91,13.14 21.7,13.35M12,18.94L18.06,12.88L20.11,14.93L14.06,21H12V18.94M12,14C7.58,14 4,15.79 4,18V20H10V18.11L14,14.11C13.34,14.03 12.67,14 12,14M12,4A4,4 0 0,0 8,8A4,4 0 0,0 12,12A4,4 0 0,0 16,8A4,4 0 0,0 12,4Z",C="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z",M="M2,2H11V11H2V2M9,4H4V9H9V4M22,13V22H13V13H22M15,20H20V15H15V20M16,8V11H13V8H16M11,16H8V13H11V16Z",a="M12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22M12,7L7,12H10V16H14V12H17L12,7Z",A="M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z",i="M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21",r="M3 16C3 18.8 5.2 21 8 21H10V19H8C6.3 19 5 17.7 5 16V14H3V16M21 8C21 5.2 18.8 3 16 3H14V5H16C17.7 5 19 6.3 19 8V10H21V8M16 21C18.8 21 21 18.8 21 16V14H19V16C19 17.7 17.7 19 16 19H14V21H16M8 3C5.2 3 3 5.2 3 8V10H5V8C5 6.3 6.3 5 8 5H10V3H8Z",s="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z",d="M20,4H16.83L15,2H9L7.17,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6A2,2 0 0,0 20,4M20,18H4V6H8.05L9.88,4H14.12L15.95,6H20V18M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15Z",e="M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z",m="M21 15V18H24V20H21V23H19V20H16V18H19V15H21M14 18H3V6H19V13H21V6C21 4.89 20.11 4 19 4H3C1.9 4 1 4.89 1 6V18C1 19.11 1.9 20 3 20H14V18Z",v="M14.5 12C14.5 10.62 13.38 9.5 12 9.5C10.62 9.5 9.5 10.62 9.5 12C9.5 13 10.09 13.84 10.93 14.25L9.82 15.35C8.73 14.64 8 13.41 8 12C8 9.79 9.79 8 12 8C14.21 8 16 9.79 16 12C16 13.41 15.27 14.64 14.18 15.35L13.08 14.25C13.92 13.84 14.5 13 14.5 12M12 2C6.5 2 2 6.5 2 12C2 15.06 3.38 17.8 5.54 19.63L6.61 18.57C4.71 17 3.5 14.64 3.5 12C3.5 7.31 7.31 3.5 12 3.5C16.69 3.5 20.5 7.31 20.5 12C20.5 14.64 19.29 17 17.39 18.57L18.46 19.63C20.62 17.79 22 15.06 22 12C22 6.5 17.5 2 12 2M19 12C19 8.13 15.87 5 12 5C8.13 5 5 8.13 5 12C5 14.23 6.05 16.22 7.68 17.5L8.75 16.43C7.39 15.42 6.5 13.82 6.5 12C6.5 8.97 8.97 6.5 12 6.5C15.03 6.5 17.5 8.97 17.5 12C17.5 13.82 16.61 15.42 15.25 16.43L16.33 17.5C17.95 16.22 19 14.23 19 12M6 22H18L12 16L6 22Z",Z="M6.03 12.03L8.03 15.5L5.5 18.68L2 12.62L6.03 12.03M17 18V15.29C17.88 14.9 18.5 14.03 18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L8.31 9C7.36 9.53 7.03 10.75 7.58 11.71L9.08 14.31C9.63 15.26 10.86 15.59 11.81 15.04L13.69 13.96C13.94 14.55 14.41 15.03 15 15.29V18C15 19.1 15.9 20 17 20H22V18H17Z",o="M20.84 22.73L18.11 20H17C15.9 20 15 19.1 15 18V16.89L12.66 14.55L11.81 15.04C10.86 15.59 9.63 15.26 9.08 14.31L7.58 11.71C7.18 11 7.25 10.18 7.68 9.57L1.11 3L2.39 1.73L22.11 21.46L20.84 22.73M18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L10.77 7.57L17.86 14.66C18.26 14.22 18.5 13.64 18.5 13M2 12.62L5.5 18.68L8.03 15.5L6.03 12.03L2 12.62Z",t="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",l="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",n="M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V5H19V19M17,17H7V7H17V17Z",c="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",u="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",h="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",f="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",S="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",O="M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",g="M6.5 20Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.88 6.85 7.75 5.43 9.63 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20Z",p="M11 20H6.5Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.88 6.85 7.75 5.43 9.63 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20H13V12.85L14.6 14.4L16 13L12 9L8 13L9.4 14.4L11 12.85Z",P="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z",R="M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M10,22C9.75,22 9.54,21.82 9.5,21.58L9.13,18.93C8.5,18.68 7.96,18.34 7.44,17.94L4.95,18.95C4.73,19.03 4.46,18.95 4.34,18.73L2.34,15.27C2.21,15.05 2.27,14.78 2.46,14.63L4.57,12.97L4.5,12L4.57,11L2.46,9.37C2.27,9.22 2.21,8.95 2.34,8.73L4.34,5.27C4.46,5.05 4.73,4.96 4.95,5.05L7.44,6.05C7.96,5.66 8.5,5.32 9.13,5.07L9.5,2.42C9.54,2.18 9.75,2 10,2H14C14.25,2 14.46,2.18 14.5,2.42L14.87,5.07C15.5,5.32 16.04,5.66 16.56,6.05L19.05,5.05C19.27,4.96 19.54,5.05 19.66,5.27L21.66,8.73C21.79,8.95 21.73,9.22 21.54,9.37L19.43,11L19.5,12L19.43,13L21.54,14.63C21.73,14.78 21.79,15.05 21.66,15.27L19.66,18.73C19.54,18.95 19.27,19.04 19.05,18.95L16.56,17.95C16.04,18.34 15.5,18.68 14.87,18.93L14.5,21.58C14.46,21.82 14.25,22 14,22H10M11.25,4L10.88,6.61C9.68,6.86 8.62,7.5 7.85,8.39L5.44,7.35L4.69,8.65L6.8,10.2C6.4,11.37 6.4,12.64 6.8,13.8L4.68,15.36L5.43,16.66L7.86,15.62C8.63,16.5 9.68,17.14 10.87,17.38L11.24,20H12.76L13.13,17.39C14.32,17.14 15.37,16.5 16.14,15.62L18.57,16.66L19.32,15.36L17.2,13.81C17.6,12.64 17.6,11.37 17.2,10.2L19.31,8.65L18.56,7.35L16.15,8.39C15.38,7.5 14.32,6.86 13.12,6.62L12.75,4H11.25Z",k="M20,19V7H4V19H20M20,3A2,2 0 0,1 22,5V19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19V5C2,3.89 2.9,3 4,3H20M13,17V15H18V17H13M9.58,13L5.57,9H8.4L11.7,12.3C12.09,12.69 12.09,13.33 11.7,13.72L8.42,17H5.59L9.58,13Z",w="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",y="M20.37,8.91L19.37,10.64L7.24,3.64L8.24,1.91L11.28,3.66L12.64,3.29L16.97,5.79L17.34,7.16L20.37,8.91M6,19V7H11.07L18,11V19A2,2 0 0,1 16,21H8A2,2 0 0,1 6,19Z",B="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z",D="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",b="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",E="M9,3H11V5H9V3M13,3H15V5H13V3M9,7H11V9H9V7M13,7H15V9H13V7M9,11H11V13H9V11M13,11H15V13H13V11M9,15H11V17H9V15M13,15H15V17H13V15M9,19H11V21H9V19M13,19H15V21H13V19Z",U="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z",x="M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z",I="M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14M11.5,3C14.15,3 16.55,4 18.4,5.6L21,3V10H14L16.62,7.38C15.23,6.22 13.46,5.5 11.5,5.5C7.96,5.5 4.95,7.81 3.9,11L1.53,10.22C2.92,6.03 6.85,3 11.5,3Z",T="M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z",z="M14,14H19V16H16V19H14V14M5,14H10V19H8V16H5V14M8,5H10V10H5V8H8V5M19,8V10H14V5H16V8H19Z",F="M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z",G="M4,2H20A2,2 0 0,1 22,4V20A2,2 0 0,1 20,22H4C2.92,22 2,21.1 2,20V4A2,2 0 0,1 4,2M4,4V11H11V4H4M4,20H11V13H4V20M20,20V13H13V20H20M20,4H13V11H20V4Z",W="M22,16V4A2,2 0 0,0 20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16M11,12L13.03,14.71L16,11L20,16H8M2,6V20A2,2 0 0,0 4,22H18V20H4V6",N="M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",Q="M12,2C9.76,2 7.78,3.05 6.5,4.68L16.31,14.5C17.94,13.21 19,11.24 19,9A7,7 0 0,0 12,2M3.28,4L2,5.27L5.04,8.3C5,8.53 5,8.76 5,9C5,11.38 6.19,13.47 8,14.74V17A1,1 0 0,0 9,18H14.73L18.73,22L20,20.72L3.28,4M9,20V21A1,1 0 0,0 10,22H14A1,1 0 0,0 15,21V20H9Z",j="M12,6A6,6 0 0,1 18,12C18,14.22 16.79,16.16 15,17.2V19A1,1 0 0,1 14,20H10A1,1 0 0,1 9,19V17.2C7.21,16.16 6,14.22 6,12A6,6 0 0,1 12,6M14,21V22A1,1 0 0,1 13,23H11A1,1 0 0,1 10,22V21H14M20,11H23V13H20V11M1,11H4V13H1V11M13,1V4H11V1H13M4.92,3.5L7.05,5.64L5.63,7.05L3.5,4.93L4.92,3.5M16.95,5.63L19.07,3.5L20.5,4.93L18.37,7.05L16.95,5.63Z",q="M22 12L18 8V11H10V13H18V16M20 18A10 10 0 1 1 20 6H17.27A8 8 0 1 0 17.27 18Z",J="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z",K="M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z",X="M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z",Y="M15.5,14H14.71L14.43,13.73C15.41,12.59 16,11.11 16,9.5A6.5,6.5 0 0,0 9.5,3A6.5,6.5 0 0,0 3,9.5A6.5,6.5 0 0,0 9.5,16C11.11,16 12.59,15.41 13.73,14.43L14,14.71V15.5L19,20.5L20.5,19L15.5,14M9.5,14C7,14 5,12 5,9.5C5,7 7,5 9.5,5C12,5 14,7 14,9.5C14,12 12,14 9.5,14M7,9H12V10H7V9Z",_="M15.5,14L20.5,19L19,20.5L14,15.5V14.71L13.73,14.43C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.43,13.73L14.71,14H15.5M9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14M12,10H10V12H9V10H7V9H9V7H10V9H12V10Z",$="M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z",H1="M19,11C19,12.19 18.66,13.3 18.1,14.28L16.87,13.05C17.14,12.43 17.3,11.74 17.3,11H19M15,11.16L9,5.18V5A3,3 0 0,1 12,2A3,3 0 0,1 15,5V11L15,11.16M4.27,3L21,19.73L19.73,21L15.54,16.81C14.77,17.27 13.91,17.58 13,17.72V21H11V17.72C7.72,17.23 5,14.41 5,11H6.7C6.7,14 9.24,16.1 12,16.1C12.81,16.1 13.6,15.91 14.31,15.58L12.65,13.92L12,14A3,3 0 0,1 9,11V10.28L3,4.27L4.27,3Z",V1="M19,13H5V11H19V13Z",L1="M21,16V4H3V16H21M21,2A2,2 0 0,1 23,4V16A2,2 0 0,1 21,18H14V20H16V22H8V20H10V18H3C1.89,18 1,17.1 1,16V4C1,2.89 1.89,2 3,2H21M5,6H14V11H5V6M15,6H19V8H15V6M19,9V14H15V9H19M5,12H9V14H5V12M10,12H14V14H10V12Z",C1="M2 12A10 10 0 0 0 15 21.54A10 10 0 0 1 15 2.46A10 10 0 0 0 2 12Z",M1="M21 10V9L15 3H5C3.89 3 3 3.89 3 5V19C3 20.11 3.9 21 5 21H11V19.13L19.39 10.74C19.83 10.3 20.39 10.06 21 10M14 4.5L19.5 10H14V4.5M22.85 14.19L21.87 15.17L19.83 13.13L20.81 12.15C21 11.95 21.33 11.95 21.53 12.15L22.85 13.47C23.05 13.67 23.05 14 22.85 14.19M19.13 13.83L21.17 15.87L15.04 22H13V19.96L19.13 13.83Z",a1="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",A1="M14,19H18V5H14M6,19H10V5H6V19Z",i1="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",r1="M3 17.25V21H6.75L17.81 9.93L14.06 6.18L3 17.25M22.61 18.36L18.36 22.61L13.16 17.41L14.93 15.64L15.93 16.64L18.4 14.16L19.82 15.58L18.36 17L19.42 18L20.84 16.6L22.61 18.36M6.61 10.83L1.39 5.64L5.64 1.39L7.4 3.16L4.93 5.64L6 6.7L8.46 4.22L9.88 5.64L8.46 7.05L9.46 8.05L6.61 10.83M20.71 7C21.1 6.61 21.1 6 20.71 5.59L18.37 3.29C18 2.9 17.35 2.9 16.96 3.29L15.12 5.12L18.87 8.87L20.71 7Z",s1="M19,11H11V17H19V11M23,19V5C23,3.88 22.1,3 21,3H3A2,2 0 0,0 1,5V19A2,2 0 0,0 3,21H21A2,2 0 0,0 23,19M21,19H3V4.97H21V19Z",d1="M8,5.14V19.14L19,12.14L8,5.14Z",e1="M10,16.5V7.5L16,12M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",m1="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",v1="M17,13H13V17H11V13H7V11H11V7H13V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",Z1="M16.56,5.44L15.11,6.89C16.84,7.94 18,9.83 18,12A6,6 0 0,1 12,18A6,6 0 0,1 6,12C6,9.83 7.16,7.94 8.88,6.88L7.44,5.44C5.36,6.88 4,9.28 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,9.28 18.64,6.88 16.56,5.44M13,3H11V13H13",o1="M20.5,11H19V7C19,5.89 18.1,5 17,5H13V3.5A2.5,2.5 0 0,0 10.5,1A2.5,2.5 0 0,0 8,3.5V5H4A2,2 0 0,0 2,7V10.8H3.5C5,10.8 6.2,12 6.2,13.5C6.2,15 5,16.2 3.5,16.2H2V20A2,2 0 0,0 4,22H7.8V20.5C7.8,19 9,17.8 10.5,17.8C12,17.8 13.2,19 13.2,20.5V22H17A2,2 0 0,0 19,20V16H20.5A2.5,2.5 0 0,0 23,13.5A2.5,2.5 0 0,0 20.5,11Z",t1="M4,6V19H20V6H4Z",l1="M4,6V19H20V6H4M18,17H6V8H18V17Z",n1="M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z",c1="M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z",u1="M12,4C14.1,4 16.1,4.8 17.6,6.3C20.7,9.4 20.7,14.5 17.6,17.6C15.8,19.5 13.3,20.2 10.9,19.9L11.4,17.9C13.1,18.1 14.9,17.5 16.2,16.2C18.5,13.9 18.5,10.1 16.2,7.7C15.1,6.6 13.5,6 12,6V10.6L7,5.6L12,0.6V4M6.3,17.6C3.7,15 3.3,11 5.1,7.9L6.6,9.4C5.5,11.6 5.9,14.4 7.8,16.2C8.3,16.7 8.9,17.1 9.6,17.4L9,19.4C8,19 7.1,18.4 6.3,17.6Z",h1="M12.5,3C17.15,3 21.08,6.03 22.47,10.22L20.1,11C19.05,7.81 16.04,5.5 12.5,5.5C10.54,5.5 8.77,6.22 7.38,7.38L10,10H3V3L5.6,5.6C7.45,4 9.85,3 12.5,3M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14Z",f1="M18 16.08C17.24 16.08 16.56 16.38 16.04 16.85L8.91 12.7C8.96 12.47 9 12.24 9 12S8.96 11.53 8.91 11.3L15.96 7.19C16.5 7.69 17.21 8 18 8C19.66 8 21 6.66 21 5S19.66 2 18 2 15 3.34 15 5C15 5.24 15.04 5.47 15.09 5.7L8.04 9.81C7.5 9.31 6.79 9 6 9C4.34 9 3 10.34 3 12S4.34 15 6 15C6.79 15 7.5 14.69 8.04 14.19L15.16 18.34C15.11 18.55 15.08 18.77 15.08 19C15.08 20.61 16.39 21.91 18 21.91S20.92 20.61 20.92 19C20.92 17.39 19.61 16.08 18 16.08M18 4C18.55 4 19 4.45 19 5S18.55 6 18 6 17 5.55 17 5 17.45 4 18 4M6 13C5.45 13 5 12.55 5 12S5.45 11 6 11 7 11.45 7 12 6.55 13 6 13M18 20C17.45 20 17 19.55 17 19S17.45 18 18 18 19 18.45 19 19 18.55 20 18 20Z",S1="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M9,9H15V15H9",O1="M20 2H4C2.9 2 2 2.9 2 4V16C2 17.11 2.9 18 4 18H8L12 22L16 18H20C21.11 18 22 17.11 22 16V4C22 2.9 21.11 2 20 2M10.46 14L6.96 10.5L8.37 9.08L10.46 11.17L15.64 6L17.05 7.41L10.46 14Z",g1="M4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H16L12,22L8,18H4A2,2 0 0,1 2,16V4A2,2 0 0,1 4,2M11,6V9H8V11H11V14H13V11H16V9H13V6H11Z",p1="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z",P1="M3,17V19H9V17H3M3,5V7H13V5H3M13,21V19H21V17H13V15H11V21H13M7,9V11H3V13H7V15H9V9H7M21,13V11H11V13H21M15,9H17V7H21V5H17V3H15V9Z",R1="M8 13C6.14 13 4.59 14.28 4.14 16H2V18H4.14C4.59 19.72 6.14 21 8 21S11.41 19.72 11.86 18H22V16H11.86C11.41 14.28 9.86 13 8 13M8 19C6.9 19 6 18.1 6 17C6 15.9 6.9 15 8 15S10 15.9 10 17C10 18.1 9.1 19 8 19M19.86 6C19.41 4.28 17.86 3 16 3S12.59 4.28 12.14 6H2V8H12.14C12.59 9.72 14.14 11 16 11S19.41 9.72 19.86 8H22V6H19.86M16 9C14.9 9 14 8.1 14 7C14 5.9 14.9 5 16 5S18 5.9 18 7C18 8.1 17.1 9 16 9Z",k1="M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z",w1="M5.41,7.41L10,12L5.41,16.59L4,15.17L7.17,12L4,8.83L5.41,7.41M18.59,16.59L14,12L18.59,7.42L20,8.83L16.83,12L20,15.17L18.59,16.59Z",y1="M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z",B1="M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z",D1="M3.14,1A2.14,2.14 0 0,0 1,3.14V5H3V3H5V1H3.14M7,1V3H10V1H7M12,1V3H14V5H16V3.14C16,1.96 15.04,1 13.86,1H12M1,7V10H3V7H1M9,7C7.89,7 7,7.89 7,9C7,11.33 7,16 7,16C7,16 11.57,16 13.86,16A2.14,2.14 0 0,0 16,13.86C16,11.57 16,7 16,7C16,7 11.33,7 9,7M18,7V9H20V11H22V9C22,7.89 21.11,7 20,7H18M9,9H14V14H9V9M1,12V13.86C1,15.04 1.96,16 3.14,16H5V14H3V12H1M20,13V16H22V13H20M7,18V20C7,21.11 7.89,22 9,22H11V20H9V18H7M20,18V20H18V22H20C21.11,22 22,21.11 22,20V18H20M13,20V22H16V20H13Z",b1="M2,4H8V6H16V4H22V10H20V14H22V20H16V18H8V20H2V14H4V10H2V4M16,10V8H8V10H6V14H8V16H16V14H18V10H16M4,6V8H6V6H4M18,6V8H20V6H18M4,16V18H6V16H4M18,16V18H20V16H18Z",E1="M13 3V11H21V3H13M3 21H11V13H3V21M3 3V11H11V3H3M13 16H16V13H18V16H21V18H18V21H16V18H13V16Z",U1="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z",x1="M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z",I1="M3.55 19.09L4.96 20.5L6.76 18.71L5.34 17.29M12 6C8.69 6 6 8.69 6 12S8.69 18 12 18 18 15.31 18 12C18 8.68 15.31 6 12 6M20 13H23V11H20M17.24 18.71L19.04 20.5L20.45 19.09L18.66 17.29M20.45 5L19.04 3.6L17.24 5.39L18.66 6.81M13 1H11V4H13M6.76 5.39L4.96 3.6L3.55 5L5.34 6.81L6.76 5.39M1 13H4V11H1M13 20H11V23H13",T1="M2.28,3L1,4.27L2.47,5.74C2.04,6 1.61,6.29 1.2,6.6L3,9C3.53,8.6 4.08,8.25 4.66,7.93L6.89,10.16C6.15,10.5 5.44,10.91 4.8,11.4L6.6,13.8C7.38,13.22 8.26,12.77 9.2,12.47L11.75,15C10.5,15.07 9.34,15.5 8.4,16.2L12,21L14.46,17.73L17.74,21L19,19.72M12,3C9.85,3 7.8,3.38 5.9,4.07L8.29,6.47C9.5,6.16 10.72,6 12,6C15.38,6 18.5,7.11 21,9L22.8,6.6C19.79,4.34 16.06,3 12,3M12,9C11.62,9 11.25,9 10.88,9.05L14.07,12.25C15.29,12.53 16.43,13.07 17.4,13.8L19.2,11.4C17.2,9.89 14.7,9 12,9Z";export{b as $,y1 as A,T1 as B,u as C,f as D,Y as E,_ as F,h as G,$ as H,E as I,l as J,m1 as K,c as L,J as M,K as N,x1 as O,U1 as P,z as Q,T as R,w as S,i1 as T,m as U,E1 as V,N as W,O as X,s as Y,t as Z,D as _,U as a,y as a0,p1 as a1,k1 as a2,e as a3,o as a4,t1 as a5,l1 as a6,D1 as a7,n as a8,R as a9,S1 as aA,q as aB,L as aC,p as aD,R1 as aa,g as ab,j as ac,Q as ad,a1 as ae,f1 as af,d as ag,r as ah,H as ai,b1 as aj,O1 as ak,g1 as al,n1 as am,h1 as an,A1 as ao,d1 as ap,I as aq,H1 as ar,v as as,M as at,s1 as au,a as av,u1 as aw,B as ax,B1 as ay,e1 as az,F as b,Z as c,G as d,v1 as e,W as f,M1 as g,k as h,o1 as i,L1 as j,P as k,V as l,x as m,r1 as n,C as o,A as p,P1 as q,Z1 as r,S as s,i as t,C1 as u,I1 as v,c1 as w,X as x,V1 as y,w1 as z};
|
|
1
|
+
var H="M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M16.5,16.25C16.5,14.75 13.5,14 12,14C10.5,14 7.5,14.75 7.5,16.25V17H16.5M12,12.25A2.25,2.25 0 0,0 14.25,10A2.25,2.25 0 0,0 12,7.75A2.25,2.25 0 0,0 9.75,10A2.25,2.25 0 0,0 12,12.25Z",V="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7.07,18.28C7.5,17.38 10.12,16.5 12,16.5C13.88,16.5 16.5,17.38 16.93,18.28C15.57,19.36 13.86,20 12,20C10.14,20 8.43,19.36 7.07,18.28M18.36,16.83C16.93,15.09 13.46,14.5 12,14.5C10.54,14.5 7.07,15.09 5.64,16.83C4.62,15.5 4,13.82 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,13.82 19.38,15.5 18.36,16.83M12,6C10.06,6 8.5,7.56 8.5,9.5C8.5,11.44 10.06,13 12,13C13.94,13 15.5,11.44 15.5,9.5C15.5,7.56 13.94,6 12,6M12,11A1.5,1.5 0 0,1 10.5,9.5A1.5,1.5 0 0,1 12,8A1.5,1.5 0 0,1 13.5,9.5A1.5,1.5 0 0,1 12,11Z",L="M21.7,13.35L20.7,14.35L18.65,12.3L19.65,11.3C19.86,11.09 20.21,11.09 20.42,11.3L21.7,12.58C21.91,12.79 21.91,13.14 21.7,13.35M12,18.94L18.06,12.88L20.11,14.93L14.06,21H12V18.94M12,14C7.58,14 4,15.79 4,18V20H10V18.11L14,14.11C13.34,14.03 12.67,14 12,14M12,4A4,4 0 0,0 8,8A4,4 0 0,0 12,12A4,4 0 0,0 16,8A4,4 0 0,0 12,4Z",C="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z",M="M2,2H11V11H2V2M9,4H4V9H9V4M22,13V22H13V13H22M15,20H20V15H15V20M16,8V11H13V8H16M11,16H8V13H11V16Z",a="M12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22M12,7L7,12H10V16H14V12H17L12,7Z",A="M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z",i="M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21",r="M3 16C3 18.8 5.2 21 8 21H10V19H8C6.3 19 5 17.7 5 16V14H3V16M21 8C21 5.2 18.8 3 16 3H14V5H16C17.7 5 19 6.3 19 8V10H21V8M16 21C18.8 21 21 18.8 21 16V14H19V16C19 17.7 17.7 19 16 19H14V21H16M8 3C5.2 3 3 5.2 3 8V10H5V8C5 6.3 6.3 5 8 5H10V3H8Z",s="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z",d="M20,4H16.83L15,2H9L7.17,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6A2,2 0 0,0 20,4M20,18H4V6H8.05L9.88,4H14.12L15.95,6H20V18M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15Z",e="M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z",m="M21 15V18H24V20H21V23H19V20H16V18H19V15H21M14 18H3V6H19V13H21V6C21 4.89 20.11 4 19 4H3C1.9 4 1 4.89 1 6V18C1 19.11 1.9 20 3 20H14V18Z",v="M14.5 12C14.5 10.62 13.38 9.5 12 9.5C10.62 9.5 9.5 10.62 9.5 12C9.5 13 10.09 13.84 10.93 14.25L9.82 15.35C8.73 14.64 8 13.41 8 12C8 9.79 9.79 8 12 8C14.21 8 16 9.79 16 12C16 13.41 15.27 14.64 14.18 15.35L13.08 14.25C13.92 13.84 14.5 13 14.5 12M12 2C6.5 2 2 6.5 2 12C2 15.06 3.38 17.8 5.54 19.63L6.61 18.57C4.71 17 3.5 14.64 3.5 12C3.5 7.31 7.31 3.5 12 3.5C16.69 3.5 20.5 7.31 20.5 12C20.5 14.64 19.29 17 17.39 18.57L18.46 19.63C20.62 17.79 22 15.06 22 12C22 6.5 17.5 2 12 2M19 12C19 8.13 15.87 5 12 5C8.13 5 5 8.13 5 12C5 14.23 6.05 16.22 7.68 17.5L8.75 16.43C7.39 15.42 6.5 13.82 6.5 12C6.5 8.97 8.97 6.5 12 6.5C15.03 6.5 17.5 8.97 17.5 12C17.5 13.82 16.61 15.42 15.25 16.43L16.33 17.5C17.95 16.22 19 14.23 19 12M6 22H18L12 16L6 22Z",Z="M6.03 12.03L8.03 15.5L5.5 18.68L2 12.62L6.03 12.03M17 18V15.29C17.88 14.9 18.5 14.03 18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L8.31 9C7.36 9.53 7.03 10.75 7.58 11.71L9.08 14.31C9.63 15.26 10.86 15.59 11.81 15.04L13.69 13.96C13.94 14.55 14.41 15.03 15 15.29V18C15 19.1 15.9 20 17 20H22V18H17Z",o="M20.84 22.73L18.11 20H17C15.9 20 15 19.1 15 18V16.89L12.66 14.55L11.81 15.04C10.86 15.59 9.63 15.26 9.08 14.31L7.58 11.71C7.18 11 7.25 10.18 7.68 9.57L1.11 3L2.39 1.73L22.11 21.46L20.84 22.73M18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L10.77 7.57L17.86 14.66C18.26 14.22 18.5 13.64 18.5 13M2 12.62L5.5 18.68L8.03 15.5L6.03 12.03L2 12.62Z",t="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",l="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",n="M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V5H19V19M17,17H7V7H17V17Z",c="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",u="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",h="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",f="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",S="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",g="M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",O="M6.5 20Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.88 6.85 7.75 5.43 9.63 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20Z",p="M11 20H6.5Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.88 6.85 7.75 5.43 9.63 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20H13V12.85L14.6 14.4L16 13L12 9L8 13L9.4 14.4L11 12.85Z",P="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z",R="M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M10,22C9.75,22 9.54,21.82 9.5,21.58L9.13,18.93C8.5,18.68 7.96,18.34 7.44,17.94L4.95,18.95C4.73,19.03 4.46,18.95 4.34,18.73L2.34,15.27C2.21,15.05 2.27,14.78 2.46,14.63L4.57,12.97L4.5,12L4.57,11L2.46,9.37C2.27,9.22 2.21,8.95 2.34,8.73L4.34,5.27C4.46,5.05 4.73,4.96 4.95,5.05L7.44,6.05C7.96,5.66 8.5,5.32 9.13,5.07L9.5,2.42C9.54,2.18 9.75,2 10,2H14C14.25,2 14.46,2.18 14.5,2.42L14.87,5.07C15.5,5.32 16.04,5.66 16.56,6.05L19.05,5.05C19.27,4.96 19.54,5.05 19.66,5.27L21.66,8.73C21.79,8.95 21.73,9.22 21.54,9.37L19.43,11L19.5,12L19.43,13L21.54,14.63C21.73,14.78 21.79,15.05 21.66,15.27L19.66,18.73C19.54,18.95 19.27,19.04 19.05,18.95L16.56,17.95C16.04,18.34 15.5,18.68 14.87,18.93L14.5,21.58C14.46,21.82 14.25,22 14,22H10M11.25,4L10.88,6.61C9.68,6.86 8.62,7.5 7.85,8.39L5.44,7.35L4.69,8.65L6.8,10.2C6.4,11.37 6.4,12.64 6.8,13.8L4.68,15.36L5.43,16.66L7.86,15.62C8.63,16.5 9.68,17.14 10.87,17.38L11.24,20H12.76L13.13,17.39C14.32,17.14 15.37,16.5 16.14,15.62L18.57,16.66L19.32,15.36L17.2,13.81C17.6,12.64 17.6,11.37 17.2,10.2L19.31,8.65L18.56,7.35L16.15,8.39C15.38,7.5 14.32,6.86 13.12,6.62L12.75,4H11.25Z",k="M20,19V7H4V19H20M20,3A2,2 0 0,1 22,5V19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19V5C2,3.89 2.9,3 4,3H20M13,17V15H18V17H13M9.58,13L5.57,9H8.4L11.7,12.3C12.09,12.69 12.09,13.33 11.7,13.72L8.42,17H5.59L9.58,13Z",w="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",y="M20.37,8.91L19.37,10.64L7.24,3.64L8.24,1.91L11.28,3.66L12.64,3.29L16.97,5.79L17.34,7.16L20.37,8.91M6,19V7H11.07L18,11V19A2,2 0 0,1 16,21H8A2,2 0 0,1 6,19Z",B="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z",D="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",b="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",E="M9,3H11V5H9V3M13,3H15V5H13V3M9,7H11V9H9V7M13,7H15V9H13V7M9,11H11V13H9V11M13,11H15V13H13V11M9,15H11V17H9V15M13,15H15V17H13V15M9,19H11V21H9V19M13,19H15V21H13V19Z",U="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z",x="M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z",I="M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14M11.5,3C14.15,3 16.55,4 18.4,5.6L21,3V10H14L16.62,7.38C15.23,6.22 13.46,5.5 11.5,5.5C7.96,5.5 4.95,7.81 3.9,11L1.53,10.22C2.92,6.03 6.85,3 11.5,3Z",T="M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z",z="M14,14H19V16H16V19H14V14M5,14H10V19H8V16H5V14M8,5H10V10H5V8H8V5M19,8V10H14V5H16V8H19Z",F="M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z",G="M4,2H20A2,2 0 0,1 22,4V20A2,2 0 0,1 20,22H4C2.92,22 2,21.1 2,20V4A2,2 0 0,1 4,2M4,4V11H11V4H4M4,20H11V13H4V20M20,20V13H13V20H20M20,4H13V11H20V4Z",W="M22,16V4A2,2 0 0,0 20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16M11,12L13.03,14.71L16,11L20,16H8M2,6V20A2,2 0 0,0 4,22H18V20H4V6",N="M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",Q="M12,2C9.76,2 7.78,3.05 6.5,4.68L16.31,14.5C17.94,13.21 19,11.24 19,9A7,7 0 0,0 12,2M3.28,4L2,5.27L5.04,8.3C5,8.53 5,8.76 5,9C5,11.38 6.19,13.47 8,14.74V17A1,1 0 0,0 9,18H14.73L18.73,22L20,20.72L3.28,4M9,20V21A1,1 0 0,0 10,22H14A1,1 0 0,0 15,21V20H9Z",j="M12,6A6,6 0 0,1 18,12C18,14.22 16.79,16.16 15,17.2V19A1,1 0 0,1 14,20H10A1,1 0 0,1 9,19V17.2C7.21,16.16 6,14.22 6,12A6,6 0 0,1 12,6M14,21V22A1,1 0 0,1 13,23H11A1,1 0 0,1 10,22V21H14M20,11H23V13H20V11M1,11H4V13H1V11M13,1V4H11V1H13M4.92,3.5L7.05,5.64L5.63,7.05L3.5,4.93L4.92,3.5M16.95,5.63L19.07,3.5L20.5,4.93L18.37,7.05L16.95,5.63Z",q="M22 12L18 8V11H10V13H18V16M20 18A10 10 0 1 1 20 6H17.27A8 8 0 1 0 17.27 18Z",J="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z",K="M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z",X="M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z",Y="M15.5,14H14.71L14.43,13.73C15.41,12.59 16,11.11 16,9.5A6.5,6.5 0 0,0 9.5,3A6.5,6.5 0 0,0 3,9.5A6.5,6.5 0 0,0 9.5,16C11.11,16 12.59,15.41 13.73,14.43L14,14.71V15.5L19,20.5L20.5,19L15.5,14M9.5,14C7,14 5,12 5,9.5C5,7 7,5 9.5,5C12,5 14,7 14,9.5C14,12 12,14 9.5,14M7,9H12V10H7V9Z",_="M15.5,14L20.5,19L19,20.5L14,15.5V14.71L13.73,14.43C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.43,13.73L14.71,14H15.5M9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14M12,10H10V12H9V10H7V9H9V7H10V9H12V10Z",$="M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z",H1="M19,11C19,12.19 18.66,13.3 18.1,14.28L16.87,13.05C17.14,12.43 17.3,11.74 17.3,11H19M15,11.16L9,5.18V5A3,3 0 0,1 12,2A3,3 0 0,1 15,5V11L15,11.16M4.27,3L21,19.73L19.73,21L15.54,16.81C14.77,17.27 13.91,17.58 13,17.72V21H11V17.72C7.72,17.23 5,14.41 5,11H6.7C6.7,14 9.24,16.1 12,16.1C12.81,16.1 13.6,15.91 14.31,15.58L12.65,13.92L12,14A3,3 0 0,1 9,11V10.28L3,4.27L4.27,3Z",V1="M19,13H5V11H19V13Z",L1="M21,16V4H3V16H21M21,2A2,2 0 0,1 23,4V16A2,2 0 0,1 21,18H14V20H16V22H8V20H10V18H3C1.89,18 1,17.1 1,16V4C1,2.89 1.89,2 3,2H21M5,6H14V11H5V6M15,6H19V8H15V6M19,9V14H15V9H19M5,12H9V14H5V12M10,12H14V14H10V12Z",C1="M2 12A10 10 0 0 0 15 21.54A10 10 0 0 1 15 2.46A10 10 0 0 0 2 12Z",M1="M21 10V9L15 3H5C3.89 3 3 3.89 3 5V19C3 20.11 3.9 21 5 21H11V19.13L19.39 10.74C19.83 10.3 20.39 10.06 21 10M14 4.5L19.5 10H14V4.5M22.85 14.19L21.87 15.17L19.83 13.13L20.81 12.15C21 11.95 21.33 11.95 21.53 12.15L22.85 13.47C23.05 13.67 23.05 14 22.85 14.19M19.13 13.83L21.17 15.87L15.04 22H13V19.96L19.13 13.83Z",a1="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",A1="M14,19H18V5H14M6,19H10V5H6V19Z",i1="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",r1="M3 17.25V21H6.75L17.81 9.93L14.06 6.18L3 17.25M22.61 18.36L18.36 22.61L13.16 17.41L14.93 15.64L15.93 16.64L18.4 14.16L19.82 15.58L18.36 17L19.42 18L20.84 16.6L22.61 18.36M6.61 10.83L1.39 5.64L5.64 1.39L7.4 3.16L4.93 5.64L6 6.7L8.46 4.22L9.88 5.64L8.46 7.05L9.46 8.05L6.61 10.83M20.71 7C21.1 6.61 21.1 6 20.71 5.59L18.37 3.29C18 2.9 17.35 2.9 16.96 3.29L15.12 5.12L18.87 8.87L20.71 7Z",s1="M19,11H11V17H19V11M23,19V5C23,3.88 22.1,3 21,3H3A2,2 0 0,0 1,5V19A2,2 0 0,0 3,21H21A2,2 0 0,0 23,19M21,19H3V4.97H21V19Z",d1="M8,5.14V19.14L19,12.14L8,5.14Z",e1="M10,16.5V7.5L16,12M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",m1="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",v1="M17,13H13V17H11V13H7V11H11V7H13V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",Z1="M16.56,5.44L15.11,6.89C16.84,7.94 18,9.83 18,12A6,6 0 0,1 12,18A6,6 0 0,1 6,12C6,9.83 7.16,7.94 8.88,6.88L7.44,5.44C5.36,6.88 4,9.28 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,9.28 18.64,6.88 16.56,5.44M13,3H11V13H13",o1="M13,2V4C17.39,4.54 20.5,8.53 19.96,12.92C19.5,16.56 16.64,19.43 13,19.88V21.88C18.5,21.28 22.45,16.34 21.85,10.85C21.33,6.19 17.66,2.5 13,2M11,2C9.04,2.18 7.19,2.95 5.67,4.2L7.1,5.74C8.22,4.84 9.57,4.26 11,4.06V2.06M4.26,5.67C3,7.19 2.24,9.04 2.05,11H4.05C4.24,9.58 4.8,8.23 5.69,7.1L4.26,5.67M2.06,13C2.26,14.96 3.03,16.81 4.27,18.33L5.69,16.9C4.81,15.77 4.24,14.42 4.06,13H2.06M7.06,18.37L5.67,19.74C7.18,21 9.04,21.79 11,22V20C9.58,19.82 8.23,19.25 7.1,18.37H7.06M13,13V7H11V13H13M13,17V15H11V17H13Z",t1="M20.5,11H19V7C19,5.89 18.1,5 17,5H13V3.5A2.5,2.5 0 0,0 10.5,1A2.5,2.5 0 0,0 8,3.5V5H4A2,2 0 0,0 2,7V10.8H3.5C5,10.8 6.2,12 6.2,13.5C6.2,15 5,16.2 3.5,16.2H2V20A2,2 0 0,0 4,22H7.8V20.5C7.8,19 9,17.8 10.5,17.8C12,17.8 13.2,19 13.2,20.5V22H17A2,2 0 0,0 19,20V16H20.5A2.5,2.5 0 0,0 23,13.5A2.5,2.5 0 0,0 20.5,11Z",l1="M4,6V19H20V6H4Z",n1="M4,6V19H20V6H4M18,17H6V8H18V17Z",c1="M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z",u1="M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z",h1="M12,4C14.1,4 16.1,4.8 17.6,6.3C20.7,9.4 20.7,14.5 17.6,17.6C15.8,19.5 13.3,20.2 10.9,19.9L11.4,17.9C13.1,18.1 14.9,17.5 16.2,16.2C18.5,13.9 18.5,10.1 16.2,7.7C15.1,6.6 13.5,6 12,6V10.6L7,5.6L12,0.6V4M6.3,17.6C3.7,15 3.3,11 5.1,7.9L6.6,9.4C5.5,11.6 5.9,14.4 7.8,16.2C8.3,16.7 8.9,17.1 9.6,17.4L9,19.4C8,19 7.1,18.4 6.3,17.6Z",f1="M12.5,3C17.15,3 21.08,6.03 22.47,10.22L20.1,11C19.05,7.81 16.04,5.5 12.5,5.5C10.54,5.5 8.77,6.22 7.38,7.38L10,10H3V3L5.6,5.6C7.45,4 9.85,3 12.5,3M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14Z",S1="M18 16.08C17.24 16.08 16.56 16.38 16.04 16.85L8.91 12.7C8.96 12.47 9 12.24 9 12S8.96 11.53 8.91 11.3L15.96 7.19C16.5 7.69 17.21 8 18 8C19.66 8 21 6.66 21 5S19.66 2 18 2 15 3.34 15 5C15 5.24 15.04 5.47 15.09 5.7L8.04 9.81C7.5 9.31 6.79 9 6 9C4.34 9 3 10.34 3 12S4.34 15 6 15C6.79 15 7.5 14.69 8.04 14.19L15.16 18.34C15.11 18.55 15.08 18.77 15.08 19C15.08 20.61 16.39 21.91 18 21.91S20.92 20.61 20.92 19C20.92 17.39 19.61 16.08 18 16.08M18 4C18.55 4 19 4.45 19 5S18.55 6 18 6 17 5.55 17 5 17.45 4 18 4M6 13C5.45 13 5 12.55 5 12S5.45 11 6 11 7 11.45 7 12 6.55 13 6 13M18 20C17.45 20 17 19.55 17 19S17.45 18 18 18 19 18.45 19 19 18.55 20 18 20Z",g1="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M9,9H15V15H9",O1="M20 2H4C2.9 2 2 2.9 2 4V16C2 17.11 2.9 18 4 18H8L12 22L16 18H20C21.11 18 22 17.11 22 16V4C22 2.9 21.11 2 20 2M10.46 14L6.96 10.5L8.37 9.08L10.46 11.17L15.64 6L17.05 7.41L10.46 14Z",p1="M4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H16L12,22L8,18H4A2,2 0 0,1 2,16V4A2,2 0 0,1 4,2M11,6V9H8V11H11V14H13V11H16V9H13V6H11Z",P1="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z",R1="M3,17V19H9V17H3M3,5V7H13V5H3M13,21V19H21V17H13V15H11V21H13M7,9V11H3V13H7V15H9V9H7M21,13V11H11V13H21M15,9H17V7H21V5H17V3H15V9Z",k1="M8 13C6.14 13 4.59 14.28 4.14 16H2V18H4.14C4.59 19.72 6.14 21 8 21S11.41 19.72 11.86 18H22V16H11.86C11.41 14.28 9.86 13 8 13M8 19C6.9 19 6 18.1 6 17C6 15.9 6.9 15 8 15S10 15.9 10 17C10 18.1 9.1 19 8 19M19.86 6C19.41 4.28 17.86 3 16 3S12.59 4.28 12.14 6H2V8H12.14C12.59 9.72 14.14 11 16 11S19.41 9.72 19.86 8H22V6H19.86M16 9C14.9 9 14 8.1 14 7C14 5.9 14.9 5 16 5S18 5.9 18 7C18 8.1 17.1 9 16 9Z",w1="M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z",y1="M5.41,7.41L10,12L5.41,16.59L4,15.17L7.17,12L4,8.83L5.41,7.41M18.59,16.59L14,12L18.59,7.42L20,8.83L16.83,12L20,15.17L18.59,16.59Z",B1="M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z",D1="M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z",b1="M3.14,1A2.14,2.14 0 0,0 1,3.14V5H3V3H5V1H3.14M7,1V3H10V1H7M12,1V3H14V5H16V3.14C16,1.96 15.04,1 13.86,1H12M1,7V10H3V7H1M9,7C7.89,7 7,7.89 7,9C7,11.33 7,16 7,16C7,16 11.57,16 13.86,16A2.14,2.14 0 0,0 16,13.86C16,11.57 16,7 16,7C16,7 11.33,7 9,7M18,7V9H20V11H22V9C22,7.89 21.11,7 20,7H18M9,9H14V14H9V9M1,12V13.86C1,15.04 1.96,16 3.14,16H5V14H3V12H1M20,13V16H22V13H20M7,18V20C7,21.11 7.89,22 9,22H11V20H9V18H7M20,18V20H18V22H20C21.11,22 22,21.11 22,20V18H20M13,20V22H16V20H13Z",E1="M2,4H8V6H16V4H22V10H20V14H22V20H16V18H8V20H2V14H4V10H2V4M16,10V8H8V10H6V14H8V16H16V14H18V10H16M4,6V8H6V6H4M18,6V8H20V6H18M4,16V18H6V16H4M18,16V18H20V16H18Z",U1="M13 3V11H21V3H13M3 21H11V13H3V21M3 3V11H11V3H3M13 16H16V13H18V16H21V18H18V21H16V18H13V16Z",x1="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z",I1="M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z",T1="M3.55 19.09L4.96 20.5L6.76 18.71L5.34 17.29M12 6C8.69 6 6 8.69 6 12S8.69 18 12 18 18 15.31 18 12C18 8.68 15.31 6 12 6M20 13H23V11H20M17.24 18.71L19.04 20.5L20.45 19.09L18.66 17.29M20.45 5L19.04 3.6L17.24 5.39L18.66 6.81M13 1H11V4H13M6.76 5.39L4.96 3.6L3.55 5L5.34 6.81L6.76 5.39M1 13H4V11H1M13 20H11V23H13",z1="M2.28,3L1,4.27L2.47,5.74C2.04,6 1.61,6.29 1.2,6.6L3,9C3.53,8.6 4.08,8.25 4.66,7.93L6.89,10.16C6.15,10.5 5.44,10.91 4.8,11.4L6.6,13.8C7.38,13.22 8.26,12.77 9.2,12.47L11.75,15C10.5,15.07 9.34,15.5 8.4,16.2L12,21L14.46,17.73L17.74,21L19,19.72M12,3C9.85,3 7.8,3.38 5.9,4.07L8.29,6.47C9.5,6.16 10.72,6 12,6C15.38,6 18.5,7.11 21,9L22.8,6.6C19.79,4.34 16.06,3 12,3M12,9C11.62,9 11.25,9 10.88,9.05L14.07,12.25C15.29,12.53 16.43,13.07 17.4,13.8L19.2,11.4C17.2,9.89 14.7,9 12,9Z";export{D as $,y1 as A,B1 as B,z1 as C,u as D,f as E,Y as F,_ as G,h as H,$ as I,E as J,l as K,m1 as L,c as M,J as N,K as O,I1 as P,x1 as Q,z as R,T as S,w as T,i1 as U,m as V,U1 as W,N as X,g as Y,s as Z,t as _,U as a,b as a0,y as a1,P1 as a2,w1 as a3,e as a4,o as a5,l1 as a6,n1 as a7,b1 as a8,n as a9,e1 as aA,g1 as aB,q as aC,L as aD,p as aE,R as aa,k1 as ab,O as ac,j as ad,Q as ae,a1 as af,S1 as ag,d as ah,r as ai,H as aj,E1 as ak,O1 as al,p1 as am,c1 as an,f1 as ao,A1 as ap,d1 as aq,I as ar,H1 as as,v as at,M as au,s1 as av,a as aw,h1 as ax,B as ay,D1 as az,F as b,Z as c,G as d,v1 as e,W as f,M1 as g,k as h,t1 as i,L1 as j,P as k,V as l,x as m,r1 as n,C as o,A as p,R1 as q,Z1 as r,S as s,i as t,C1 as u,T1 as v,u1 as w,X as x,o1 as y,V1 as z};
|
|
@@ -1 +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.Cu2HxZV7.0.0.26.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
|
+
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.Ddz2NYqM.0.0.27.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};
|
package/dist/interface/{@vee-validate.CYhlCcNP.0.0.26.js → @vee-validate.DLrUjipo.0.0.27.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Z as s,a as h,b as a}from"./zod.DnW1_kUe.0.0.
|
|
1
|
+
import{Z as s,a as h,b as a}from"./zod.DnW1_kUe.0.0.27.js";import{i as j,c as y}from"./vee-validate.C3HAoDnO.0.0.27.js";/**
|
|
2
2
|
* vee-validate v4.14.6
|
|
3
3
|
* (c) 2024 Abdelrahman Awad
|
|
4
4
|
* @license MIT
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as er}from"./perfect-debounce.Cp2ysxOb.0.0.
|
|
1
|
+
import{d as er}from"./perfect-debounce.Cp2ysxOb.0.0.27.js";import{c as Vi}from"./hookable.B8xFkYCm.0.0.27.js";/**
|
|
2
2
|
* @vue/shared v3.5.12
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
@@ -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.Ddz2NYqM.0.0.27.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};
|
|
@@ -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 ye,B as We,C as Se,r as g,c as T,w as C,D as oe,E as K,F as re,G as ie}from"./@vue.Cu2HxZV7.0.0.26.js";import{n as Y}from"./nprogress.fQbeXJrK.0.0.26.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:Se(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 ye()}function xe(...e){if(e.length!==1)return We(...e);const n=e[0];return typeof n=="function"?Se(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=ye();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 ye,B as We,C as Se,r as g,c as T,w as C,D as oe,E as K,F as re,G as ie}from"./@vue.Ddz2NYqM.0.0.27.js";import{n as Y}from"./nprogress.Dro1FQza.0.0.27.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:Se(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 ye()}function xe(...e){if(e.length!==1)return We(...e);const n=e[0];return typeof n=="function"?Se(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=ye();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 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{j as ee,u as se,d as oe,r as re,e as ae,f as te}from"./main.BXOJy68s.0.0.27.js";import{G as ne,r as g,b as P,aa as le,ab as t,u as e,a5 as ie,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 j}from"./@vue.Ddz2NYqM.0.0.27.js";import{m as E,a as N,X as R}from"./@mdi.D-fmakQN.0.0.27.js";import{F as f,a as ce}from"./vee-validate.C3HAoDnO.0.0.27.js";import{i as D}from"./vue3-toastify.B5nE8tfx.0.0.27.js";import{s as pe}from"./pinia.B6vj0NYr.0.0.27.js";import{c as F,d as U,e as G,A as X,V as q,b as H}from"./vuetify.CcSBzYNW.0.0.27.js";import{u as fe}from"./vue-i18n.BGb0iC47.0.0.27.js";import"./axios.C-n2IhIP.0.0.27.js";import"./@tanstack.Bm3cSvpy.0.0.27.js";import"./vue-router.BAOHLc3X.0.0.27.js";import"./@vueuse.D0Q3b7aI.0.0.27.js";import"./nprogress.Dro1FQza.0.0.27.js";import"./@xterm.DQVEcgIz.0.0.27.js";import"./@vee-validate.DLrUjipo.0.0.27.js";import"./zod.DnW1_kUe.0.0.27.js";import"./uuid.Ch9TGLTe.0.0.27.js";import"./socket.io-client.CBJOn-57.0.0.27.js";import"./engine.io-client.4V7g_fDW.0.0.27.js";import"./engine.io-parser.BiEtp6m2.0.0.27.js";import"./@socket.io.Dkula2eQ.0.0.27.js";import"./socket.io-parser.CEFWw8jT.0.0.27.js";import"./rxjs.BEfAF_vM.0.0.27.js";import"./tslib.9k7AwCpt.0.0.27.js";import"./vue-inline-svg.Bpl1FbWF.0.0.27.js";import"./@intlify.DXtFJcML.0.0.27.js";import"./perfect-debounce.Cp2ysxOb.0.0.27.js";import"./hookable.B8xFkYCm.0.0.27.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"},Ae={class:"v-label m-0 mb-0 ml-2",for:"rememberMe"},Fe={class:"text-sm"},Te={class:"relative"},ze={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(je){var z,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=((z=a.value.user)==null?void 0:z.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)},W=()=>{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 A=((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,A&&$.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,A=ie("v-number-input");return P(),le(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(E):e(N),"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(E):e(N),"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(A,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",Ae,d(n.$t("components.form.label.remember_me")),1)])]),_:1}),r(X,{variant:"tonal",color:"#df2a4c"},{prepend:t(()=>[r(G,{color:"#df2a4c",size:"20",class:"mt-1"},{default:t(()=>[M(d(e(R)),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",ze,[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(X,{variant:"tonal",color:"#df2a4c"},{prepend:t(()=>[r(G,{color:"#df2a4c",size:"20",class:"mt-1"},{default:t(()=>[M(d(e(R)),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:j(["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(W,["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:j(["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"])}}}),ps=te(Pe,[["__scopeId","data-v-cafc8a1b"]]);export{ps as default};
|