camera.ui3 0.0.31-alpha.2 → 0.0.31-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/interface/{@intlify.D-zKcAzQ.0.0.31-alpha.2.js → @intlify.Jdj6PDCT.0.0.31-alpha.4.js} +5 -5
- package/dist/interface/@tanstack.u9j0vFG7.0.0.31-alpha.4.js +1 -0
- package/dist/interface/{@vee-validate.z9o4QOgP.0.0.31-alpha.2.js → @vee-validate.CeTK5aSi.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/@vue.BH6Bo0Pn.0.0.31-alpha.4.js +17 -0
- package/dist/interface/{@vueform.C6mapDfj.0.0.31-alpha.2.js → @vueform.BK0SRdZT.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{@vueuse.3bba2al7.0.0.31-alpha.2.js → @vueuse.L53ctOxB.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Account.D0b6iR5f.0.0.31-alpha.2.js → Account.DHs-KLmU.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Adminpanel.3e7Ylz21.0.0.31-alpha.2.js → Adminpanel.BOEzHUvR.0.0.31-alpha.4.js} +2 -2
- package/dist/interface/{Appearance.BYifp2UX.0.0.31-alpha.2.js → Appearance.DK5A9rgs.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Backup.DyTLSuxS.0.0.31-alpha.2.js → Backup.EFH8hrjt.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Camera.Bi26Q1iM.0.0.31-alpha.2.js → Camera.U4jywpEp.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Cameras.uBDPd1DA.0.0.31-alpha.2.js → Cameras.DUgAvSn3.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Camview.CewbOu75.0.0.31-alpha.2.js → Camview.ouLWdVoJ.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Config.CRuEOy3i.0.0.31-alpha.2.js → Config.Ci1OL_As.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Console.wrKA6SV-.0.0.31-alpha.2.js → Console.C8c6w5YK.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{FirstSteps.DmSeEIyY.0.0.31-alpha.2.js → FirstSteps.Cta-bQRC.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{NewCamera.DTcV05fX.0.0.31-alpha.2.js → NewCamera.DHfe1GsP.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Plugin.Dr9kr8u0.0.0.31-alpha.2.js → Plugin.Bp-p6qzO.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{Plugins.DanHsI2P.0.0.31-alpha.2.js → Plugins.DKG-euyo.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/Recordings.DvfXUR9h.0.0.31-alpha.4.js +1 -0
- package/dist/interface/Recordings.RJVoljmf.0.0.31-alpha.4.js +1 -0
- package/dist/interface/{Settings.D20E-DFW.0.0.31-alpha.2.js → Settings.B6oomJuI.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{System.Bj23UM1d.0.0.31-alpha.2.js → System.DYqzMqvm.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{User.C4CMARUw.0.0.31-alpha.2.js → User.BX6H5sQ7.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{VConfigEditor.vue_vue_type_script_setup_true_lang.DCkz0ScZ.0.0.31-alpha.2.js → VConfigEditor.vue_vue_type_script_setup_true_lang.BVi__CZg.0.0.31-alpha.4.js} +2 -2
- package/dist/interface/{VConsole.DxZubA5b.0.0.31-alpha.2.js → VConsole.DE3kdzhx.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/VPlayer.DBmxioQd.0.0.31-alpha.4.js +1 -0
- package/dist/interface/{VPluginCard.DCBVHiKt.0.0.31-alpha.2.js → VPluginCard.DjaavIDj.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{ace-builds.BtdsJHeG.0.0.31-alpha.2.js → ace-builds.Dx450mYI.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{apexcharts.CI-IzyYP.0.0.31-alpha.2.js → apexcharts.OmQvSZRP.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/assets/{VPlayer.0.0.31-alpha.2.BQMP8JwH.css → VPlayer.0.0.31-alpha.4.6GqQ0F0K.css} +1 -1
- package/dist/interface/{dnd-core.D5pBWNob.0.0.31-alpha.2.js → dnd-core.D_o4rKnM.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{draggabilly.CHohgav6.0.0.31-alpha.2.js → draggabilly.BgUX20jQ.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{engine.io-client.DEhtuV4o.0.0.31-alpha.2.js → engine.io-client.Ct3XmaZr.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{ev-emitter.BBakFQKp.0.0.31-alpha.2.js → ev-emitter.C-zXZyj5.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{fast-deep-equal.D84cnreE.0.0.31-alpha.2.js → fast-deep-equal.DnuWAPiP.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{highlight.js.C_JoIJXJ.0.0.31-alpha.2.js → highlight.js.83tXWXtw.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/index.html +34 -34
- package/dist/interface/{linkify-it.C7EWLmzP.0.0.31-alpha.2.js → linkify-it.tOYhRcj3.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/main.J8NGbG5S.0.0.31-alpha.4.js +2 -0
- package/dist/interface/{markdown-it.CRy2M8lR.0.0.31-alpha.2.js → markdown-it.6mdFTr-e.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{nprogress.IiPMBi2X.0.0.31-alpha.2.js → nprogress.iYKNBadB.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{pinia.DpM2zEj0.0.0.31-alpha.2.js → pinia.E6ew1z2Q.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{plugins.BKAnxV9o.0.0.31-alpha.2.js → plugins.VJiYKYRl.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/pwa/pwa-120x120.png +0 -0
- package/dist/interface/pwa/pwa-144x144.png +0 -0
- package/dist/interface/pwa/pwa-152x152.png +0 -0
- package/dist/interface/pwa/pwa-167x167.png +0 -0
- package/dist/interface/pwa/pwa-192x192.png +0 -0
- package/dist/interface/pwa/pwa-24x24.png +0 -0
- package/dist/interface/pwa/pwa-36x36.png +0 -0
- package/dist/interface/pwa/pwa-48x48.png +0 -0
- package/dist/interface/pwa/pwa-50x50.png +0 -0
- package/dist/interface/pwa/pwa-64x64.png +0 -0
- package/dist/interface/pwa/pwa-72x72.png +0 -0
- package/dist/interface/pwa/pwa-88x88.png +0 -0
- package/dist/interface/pwa/pwa-96x96.png +0 -0
- package/dist/interface/{qrcode.V95EYEat.0.0.31-alpha.2.js → qrcode.D1EYQJZ8.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{react-dnd-touch-backend.BgH_R4pT.0.0.31-alpha.2.js → react-dnd-touch-backend.B6P_MW8h.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{rxjs.BlXFYoWE.0.0.31-alpha.2.js → rxjs.CxkkGsQ5.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{socket.io-client.B54E9c8s.0.0.31-alpha.2.js → socket.io-client.C_eRWoxp.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{socket.io-parser.DU0H2ONq.0.0.31-alpha.2.js → socket.io-parser.CREbE98O.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/sw.js +1 -1
- package/dist/interface/{system.D6RwZr3K.0.0.31-alpha.2.js → system.DpI2abFn.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{ui.CsjklSmH.0.0.31-alpha.2.js → ui.3yvnEIE1.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{unidragger.DTsyKbBA.0.0.31-alpha.2.js → unidragger.DLjMBILF.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{v-calendar.8nad-306.0.0.31-alpha.2.js → v-calendar.DHNvU-YH.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{vee-validate.DHH7oAn8.0.0.31-alpha.2.js → vee-validate.B1-qhDGi.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{vue-i18n.DFXDQN1x.0.0.31-alpha.2.js → vue-i18n.pFxQhMHL.0.0.31-alpha.4.js} +4 -4
- package/dist/interface/{vue-inline-svg.B5DFkaVE.0.0.31-alpha.2.js → vue-inline-svg.fvr_QCTK.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{vue-router.Dwlkeoka.0.0.31-alpha.2.js → vue-router.QYYQLEuQ.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{vue3-apexcharts.m93iPQ1O.0.0.31-alpha.2.js → vue3-apexcharts.BeWkPuyx.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{vue3-dnd.CSPHLovD.0.0.31-alpha.2.js → vue3-dnd.UqV602qV.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{vue3-toastify.B3S_WDRN.0.0.31-alpha.2.js → vue3-toastify.fPSwJwA9.0.0.31-alpha.4.js} +1 -1
- package/dist/interface/{vuetify.DSpravLa.0.0.31-alpha.2.js → vuetify.B5tihVxi.0.0.31-alpha.4.js} +1 -1
- package/dist/server/bin/cameraui.d.ts +0 -6
- package/dist/server/bin/cameraui.js +9 -128
- package/dist/server/bin/cameraui.js.map +1 -1
- package/dist/server/bin/installer/freebsd.js +3 -0
- package/dist/server/bin/installer/freebsd.js.map +1 -1
- package/dist/server/bin/installer/linux.d.ts +6 -0
- package/dist/server/bin/installer/linux.js +31 -2
- package/dist/server/bin/installer/linux.js.map +1 -1
- package/dist/server/bin/logger.d.ts +16 -0
- package/dist/server/bin/logger.js +133 -0
- package/dist/server/bin/logger.js.map +1 -0
- package/dist/server/package.json +7 -7
- package/dist/server/src/api/database/index.d.ts +0 -1
- package/dist/server/src/api/database/index.js +2 -7
- package/dist/server/src/api/database/index.js.map +1 -1
- package/dist/server/src/api/services/cameras.service.js.map +1 -1
- package/package.json +7 -7
- package/dist/interface/@tanstack.x_Q3Nj6h.0.0.31-alpha.2.js +0 -1
- package/dist/interface/@vue.DawUEI-_.0.0.31-alpha.2.js +0 -17
- package/dist/interface/Recordings.Bworv3Rf.0.0.31-alpha.2.js +0 -1
- package/dist/interface/Recordings.Dkh2fRm3.0.0.31-alpha.2.js +0 -1
- package/dist/interface/VPlayer.DVDPrRrw.0.0.31-alpha.2.js +0 -1
- package/dist/interface/main.0dhw2k10.0.0.31-alpha.2.js +0 -2
- /package/dist/interface/{@babel.l0sNRNKZ.0.0.31-alpha.2.js → @babel.l0sNRNKZ.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{@camera.ui.DiVLAlWa.0.0.31-alpha.2.js → @camera.ui.DiVLAlWa.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{@mdi.DVdKciOk.0.0.31-alpha.2.js → @mdi.DVdKciOk.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{@popperjs.BQBsAJpH.0.0.31-alpha.2.js → @popperjs.BQBsAJpH.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{@react-dnd.CcwRs9xb.0.0.31-alpha.2.js → @react-dnd.CcwRs9xb.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{@socket.io.Dkula2eQ.0.0.31-alpha.2.js → @socket.io.Dkula2eQ.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{@xterm.ByN7UyPo.0.0.31-alpha.2.js → @xterm.D1SKXPWU.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/assets/{@vueform.0.0.31-alpha.2.h7tNX9p6.css → @vueform.0.0.31-alpha.4.h7tNX9p6.css} +0 -0
- /package/dist/interface/assets/{@xterm.0.0.31-alpha.2.CGrrDQr5.css → @xterm.0.0.31-alpha.4.CGrrDQr5.css} +0 -0
- /package/dist/interface/assets/{Account.0.0.31-alpha.2.Ce3OmKrC.css → Account.0.0.31-alpha.4.Ce3OmKrC.css} +0 -0
- /package/dist/interface/assets/{Adminpanel.0.0.31-alpha.2.CXsTAXPL.css → Adminpanel.0.0.31-alpha.4.CXsTAXPL.css} +0 -0
- /package/dist/interface/assets/{Backup.0.0.31-alpha.2.BIwaSlv3.css → Backup.0.0.31-alpha.4.BIwaSlv3.css} +0 -0
- /package/dist/interface/assets/{Camera.0.0.31-alpha.2.BDtUJ-lA.css → Camera.0.0.31-alpha.4.BDtUJ-lA.css} +0 -0
- /package/dist/interface/assets/{Cameras.0.0.31-alpha.2.Djx0F2MM.css → Cameras.0.0.31-alpha.4.Djx0F2MM.css} +0 -0
- /package/dist/interface/assets/{Camview.0.0.31-alpha.2.Ce_V-Nxj.css → Camview.0.0.31-alpha.4.Ce_V-Nxj.css} +0 -0
- /package/dist/interface/assets/{Config.0.0.31-alpha.2.xOTKGJ5Y.css → Config.0.0.31-alpha.4.xOTKGJ5Y.css} +0 -0
- /package/dist/interface/assets/{Console.0.0.31-alpha.2.DWrfRWs9.css → Console.0.0.31-alpha.4.DWrfRWs9.css} +0 -0
- /package/dist/interface/assets/{FirstSteps.0.0.31-alpha.2.CCo2y-sU.css → FirstSteps.0.0.31-alpha.4.CCo2y-sU.css} +0 -0
- /package/dist/interface/assets/{NewCamera.0.0.31-alpha.2.BWK7TkdY.css → NewCamera.0.0.31-alpha.4.BWK7TkdY.css} +0 -0
- /package/dist/interface/assets/{Plugin.0.0.31-alpha.2.BtRA6zDt.css → Plugin.0.0.31-alpha.4.BtRA6zDt.css} +0 -0
- /package/dist/interface/assets/{Plugins.0.0.31-alpha.2.Cwu0aGUO.css → Plugins.0.0.31-alpha.4.Cwu0aGUO.css} +0 -0
- /package/dist/interface/assets/{Settings.0.0.31-alpha.2.DC_-E3CR.css → Settings.0.0.31-alpha.4.DC_-E3CR.css} +0 -0
- /package/dist/interface/assets/{User.0.0.31-alpha.2.DPDcJbx8.css → User.0.0.31-alpha.4.DPDcJbx8.css} +0 -0
- /package/dist/interface/assets/{VConsole.0.0.31-alpha.2.BZT1WyS-.css → VConsole.0.0.31-alpha.4.BZT1WyS-.css} +0 -0
- /package/dist/interface/assets/{VPluginCard.0.0.31-alpha.2.CyNvwFGk.css → VPluginCard.0.0.31-alpha.4.CyNvwFGk.css} +0 -0
- /package/dist/interface/assets/{highlight.0.0.31-alpha.2.DgoK_Xib.css → highlight.0.0.31-alpha.4.DgoK_Xib.css} +0 -0
- /package/dist/interface/assets/{logo-256.0.0.31-alpha.2.BCQk9H1-.png → logo-256.0.0.31-alpha.4.BCQk9H1-.png} +0 -0
- /package/dist/interface/assets/{logo-512.0.0.31-alpha.2.DLKVOU2S.png → logo-512.0.0.31-alpha.4.DLKVOU2S.png} +0 -0
- /package/dist/interface/assets/{logo.0.0.31-alpha.2.DmEiRk0z.png → logo.0.0.31-alpha.4.DmEiRk0z.png} +0 -0
- /package/dist/interface/assets/{main.0.0.31-alpha.2.CqDyfc1x.css → main.0.0.31-alpha.4.CqDyfc1x.css} +0 -0
- /package/dist/interface/assets/{mode-json.0.0.31-alpha.2.Br7xisR1.js → mode-json.0.0.31-alpha.4.Br7xisR1.js} +0 -0
- /package/dist/interface/assets/{mode-yaml.0.0.31-alpha.2.CIYL8U3d.js → mode-yaml.0.0.31-alpha.4.CIYL8U3d.js} +0 -0
- /package/dist/interface/assets/{v-calendar.0.0.31-alpha.2.CtSuDYZU.css → v-calendar.0.0.31-alpha.4.CtSuDYZU.css} +0 -0
- /package/dist/interface/assets/{vue3-toastify.0.0.31-alpha.2.DTY1DMRs.css → vue3-toastify.0.0.31-alpha.4.DTY1DMRs.css} +0 -0
- /package/dist/interface/assets/{vuetify.0.0.31-alpha.2.Cd1awv3t.css → vuetify.0.0.31-alpha.4.Cd1awv3t.css} +0 -0
- /package/dist/interface/{axios.C-n2IhIP.0.0.31-alpha.2.js → axios.C-n2IhIP.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{compare-versions.DqEOhma6.0.0.31-alpha.2.js → compare-versions.DqEOhma6.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{dijkstrajs.D_NXgYpA.0.0.31-alpha.2.js → dijkstrajs.D_NXgYpA.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{engine.io-parser.BiEtp6m2.0.0.31-alpha.2.js → engine.io-parser.BiEtp6m2.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{entities.C20TfXL6.0.0.31-alpha.2.js → entities.C20TfXL6.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{get-size.D1dS-IaP.0.0.31-alpha.2.js → get-size.D1dS-IaP.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{mdurl.k9Sl0PQj.0.0.31-alpha.2.js → mdurl.k9Sl0PQj.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{punycode.js.Dj65hjkv.0.0.31-alpha.2.js → punycode.js.Dj65hjkv.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{react-dnd-html5-backend.1HQjlkwI.0.0.31-alpha.2.js → react-dnd-html5-backend.1HQjlkwI.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{redux.CuxFRhX_.0.0.31-alpha.2.js → redux.CuxFRhX_.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{tslib.9k7AwCpt.0.0.31-alpha.2.js → tslib.9k7AwCpt.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{types.Cz9TaZAP.0.0.31-alpha.2.js → types.Cz9TaZAP.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{uc.micro.kMc2yuuw.0.0.31-alpha.2.js → uc.micro.kMc2yuuw.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{utils.mAKpSMLY.0.0.31-alpha.2.js → utils.mAKpSMLY.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{uuid.DvF23Exx.0.0.31-alpha.2.js → uuid.DvF23Exx.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{vue.l0sNRNKZ.0.0.31-alpha.2.js → vue.l0sNRNKZ.0.0.31-alpha.4.js} +0 -0
- /package/dist/interface/{zod.DnW1_kUe.0.0.31-alpha.2.js → zod.DnW1_kUe.0.0.31-alpha.4.js} +0 -0
package/dist/interface/{plugins.BKAnxV9o.0.0.31-alpha.2.js → plugins.VJiYKYRl.0.0.31-alpha.4.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
var y=Object.defineProperty;var p=(t,n,e)=>n in t?y(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e;var g=(t,n,e)=>p(t,typeof n!="symbol"?n+"":n,e);import{i as l}from"./vue3-toastify.
|
|
1
|
+
var y=Object.defineProperty;var p=(t,n,e)=>n in t?y(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e;var g=(t,n,e)=>p(t,typeof n!="symbol"?n+"":n,e);import{i as l}from"./vue3-toastify.fPSwJwA9.0.0.31-alpha.4.js";import{i as o,x as s}from"./main.J8NGbG5S.0.0.31-alpha.4.js";import{u as d,b as i,a as r}from"./@tanstack.u9j0vFG7.0.0.31-alpha.4.js";import{r as m,u}from"./@vue.BH6Bo0Pn.0.0.31-alpha.4.js";const h=async({pluginData:t})=>(await s.post("/plugins",t)).data,Q=async({pluginName:t,signal:n})=>(await s.get(`/plugins/${t}`,{signal:n})).data,P=async({pluginname:t,signal:n})=>(await s.get(`/plugins/${t}/versions`,{signal:n})).data,q=async({pluginName:t,signal:n})=>(await s.get(`/plugins/${t}/update`,{signal:n})).data,b=async({pluginName:t,signal:n})=>(await s.get(`/plugins/${t}/logo`,{signal:n})).data,F=async({pluginName:t,signal:n})=>(await s.get(`/plugins/${t}/schema`,{signal:n})).data,w=async({pluginName:t,signal:n})=>(await s.get(`/plugins/${t}/config`,{signal:n})).data,f=async({pluginName:t,signal:n})=>(await s.get(`/plugins/${t}/contract`,{signal:n})).data,v=async({pluginName:t,signal:n})=>(await s.get(`/plugins/${t}/readme`,{signal:n})).data,C=async({pluginName:t,signal:n})=>(await s.get(`/plugins/${t}/changelog`,{signal:n})).data,K=async({pluginName:t,signal:n})=>(await s.get(`/plugins/${t}/release`,{signal:n})).data,_=async({pluginName:t,parameter:n,signal:e})=>(await s.get(`/plugins/${t}/interface`,{params:n,signal:e})).data,$=async({parameter:t,signal:n})=>(await s.get("/plugins",{params:t,signal:n})).data,A=async({parameter:t,signal:n})=>(await s.get("/plugins/extensions",{params:t,signal:n})).data,S=async({query:t,parameter:n,signal:e})=>(await s.get("/plugins/search",{params:{...t,...n},signal:e})).data,L=async({pluginName:t})=>(await s.put(`/plugins/${t}/enable`)).data,x=async({pluginName:t,configData:n})=>(await s.patch(`/plugins/${t}/config`,n)).data,R=async({pluginName:t})=>(await s.put(`/plugins/${t}/disable`)).data,N=async({pluginName:t})=>(await s.put(`/plugins/${t}/start`)).data,I=async({pluginName:t})=>(await s.put(`/plugins/${t}/stop`)).data,J=async({pluginName:t})=>(await s.put(`/plugins/${t}/restart`)).data,E=async({pluginName:t,formData:n})=>(await s.post(`/plugins/${t}/detect/motion`,n,{responseType:"arraybuffer"})).data,U=async({pluginName:t,formData:n})=>(await s.post(`/plugins/${t}/detect/objects`,n)).data,V=async({pluginName:t,formData:n})=>(await s.post(`/plugins/${t}/detect/audio`,n)).data,j=async({pluginName:t,actionId:n,payload:e})=>(await s.post(`/plugins/${t}/submit`,{actionId:n,payload:e})).data,D=async({pluginName:t,removeStorage:n})=>(await s.delete(`/plugins/${t}`,{params:{removeStorage:n}})).data,M=async()=>(await s.delete("/plugins")).data;class G{constructor(){g(this,"_queryClient",d());g(this,"queryActivator",m([{name:"getPluginQuery",enabled:!0},{name:"getPluginsQuery",enabled:!0},{name:"getPluginsExtensionsQuery",enabled:!0},{name:"searchPluginsQuery",enabled:!0},{name:"getPluginVersionsQuery",enabled:!0},{name:"getPluginUpdateQuery",enabled:!0},{name:"getPluginLogoQuery",enabled:!0},{name:"getPluginSchemaQuery",enabled:!0},{name:"getPluginConfigJsonQuery",enabled:!0},{name:"getPluginContractQuery",enabled:!0},{name:"getPluginReadmeQuery",enabled:!0},{name:"getPluginReleaseQuery",enabled:!0},{name:"getPluginInterfaceQuery",enabled:!0},{name:"getPluginChangelogQuery",enabled:!0}]))}get queryClient(){return this._queryClient}installPluginQuery(){return i({mutationFn:h,onSuccess:async()=>{await this._queryClient.refetchQueries({queryKey:["pluginsList"]}),await this._queryClient.refetchQueries({queryKey:["plugins"]}),await this._queryClient.refetchQueries({queryKey:["pluginsSearch"]}),l.success(o.global.t("components.toast.plugin_installed"))}})}getPluginQuery(n){return r({queryKey:["plugins",n],queryFn:({signal:e})=>Q({pluginName:u(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginQuery"&&e.enabled)})}getPluginsQuery(n){return r({queryKey:["pluginsList",n],queryFn:({signal:e})=>$({parameter:u(n),signal:e}),placeholderData:e=>e,enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginsQuery"&&e.enabled)})}getPluginsExtensionsQuery(n){return r({queryKey:["extensionsList",n],queryFn:({signal:e})=>A({parameter:u(n),signal:e}),placeholderData:e=>e,enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginsExtensionsQuery"&&e.enabled)})}searchPluginsQuery(n,e){return r({queryKey:["pluginsSearch",n,e],queryFn:({signal:a})=>S({query:u(n),parameter:u(e),signal:a}),placeholderData:a=>a,enabled:()=>this.queryActivator.value.some(a=>a.name==="searchPluginsQuery"&&a.enabled)})}getPluginVersionsQuery(n){return r({queryKey:["plugins",n,"versions"],queryFn:({signal:e})=>P({pluginname:u(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginVersionsQuery"&&e.enabled)})}getPluginUpdateQuery(n){return r({queryKey:["plugins",n,"update"],queryFn:({signal:e})=>q({pluginName:u(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginUpdateQuery"&&e.enabled)})}getPluginLogoQuery(n){return r({queryKey:["plugins",n,"logo"],queryFn:({signal:e})=>b({pluginName:u(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginLogoQuery"&&e.enabled)})}getPluginSchemaQuery(n){return r({queryKey:["plugins",n,"schema"],queryFn:({signal:e})=>F({pluginName:u(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginSchemaQuery"&&e.enabled)})}getPluginConfigJsonQuery(n){return r({queryKey:["plugins",n,"config"],queryFn:({signal:e})=>w({pluginName:u(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginConfigJsonQuery"&&e.enabled)})}getPluginContractQuery(n){return r({queryKey:["plugins",n,"contract"],queryFn:({signal:e})=>f({pluginName:u(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginContractQuery"&&e.enabled)})}getPluginReadmeQuery(n){return r({queryKey:["plugins",n,"readme"],queryFn:({signal:e})=>v({pluginName:u(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginReadmeQuery"&&e.enabled)})}getPluginReleaseQuery(n){return r({queryKey:["plugins",n,"release"],queryFn:({signal:e})=>K({pluginName:u(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginReleaseQuery"&&e.enabled)})}getPluginInterfaceQuery(n,e){return r({queryKey:["plugins",n,"interface",e],queryFn:({signal:a})=>_({pluginName:u(n),parameter:e,signal:a}),enabled:()=>this.queryActivator.value.some(a=>a.name==="getPluginInterfaceQuery"&&a.enabled)})}getPluginChangelogQuery(n){return r({queryKey:["plugins",n,"changelog"],queryFn:({signal:e})=>C({pluginName:u(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginChangelogQuery"&&e.enabled)})}patchPluginConfigQuery(){return i({mutationFn:x,onSuccess:async(n,e)=>{await this._queryClient.refetchQueries({queryKey:["plugins",e.pluginName]}),l.success(o.global.t("components.toast.plugin_config_updated"))}})}startPluginQuery(){return i({mutationFn:N,onSuccess:async(n,e)=>{await this._queryClient.refetchQueries({queryKey:["plugins",e.pluginName]}),l.success(o.global.t("components.toast.plugin_started"))}})}stopPluginQuery(){return i({mutationFn:I,onSuccess:async(n,e)=>{await this._queryClient.refetchQueries({queryKey:["plugins",e.pluginName]}),l.success(o.global.t("components.toast.plugin_stopped"))}})}restartPluginQuery(){return i({mutationFn:J,onSuccess:async(n,e)=>{await this._queryClient.refetchQueries({queryKey:["plugins",e.pluginName]}),l.success(o.global.t("components.toast.plugin_restarted"))}})}detectMotionQuery(){return i({mutationFn:E})}detectObjectsQuery(){return i({mutationFn:U})}detectAudioQuery(){return i({mutationFn:V})}actionButtonQuery(){return i({mutationFn:j,onSuccess:async(n,e)=>{await this._queryClient.refetchQueries({queryKey:["plugins",e.pluginName]}),l.success(o.global.t("components.toast.plugin_request_sent"))}})}enablePluginQuery(){return i({mutationFn:L,onSuccess:async(n,e)=>{await this._queryClient.refetchQueries({queryKey:["pluginsList"]}),await this._queryClient.refetchQueries({queryKey:["plugins",e.pluginName]}),l.success(o.global.t("components.toast.plugin_enabled"))}})}disablePluginQuery(){return i({mutationFn:R,onSuccess:async(n,e)=>{await this._queryClient.refetchQueries({queryKey:["pluginsList"]}),await this._queryClient.refetchQueries({queryKey:["plugins",e.pluginName]}),l.success(o.global.t("components.toast.plugin_disabled"))}})}uninstallPluginQuery(){return i({mutationFn:D,onSuccess:async()=>{await this._queryClient.refetchQueries({queryKey:["pluginsList"]}),await this._queryClient.refetchQueries({queryKey:["plugins"]}),await this._queryClient.refetchQueries({queryKey:["pluginsSearch"]}),l.success(o.global.t("components.toast.plugin_removed"))}})}uninstallPluginsQuery(){return i({mutationFn:M,onSuccess:async()=>{await this._queryClient.refetchQueries({queryKey:["pluginsList"]}),await this._queryClient.refetchQueries({queryKey:["plugins"]}),await this._queryClient.refetchQueries({queryKey:["pluginsSearch"]}),l.success(o.global.t("components.toast.plugins_removed"))}})}toggleQueryActivator(n,e){const a=this.queryActivator.value.find(c=>c.name===n);a&&(a.enabled=e)}}export{G as P};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/interface/{qrcode.V95EYEat.0.0.31-alpha.2.js → qrcode.D1EYQJZ8.0.0.31-alpha.4.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as bt}from"./dijkstrajs.D_NXgYpA.0.0.31-alpha.
|
|
1
|
+
import{d as bt}from"./dijkstrajs.D_NXgYpA.0.0.31-alpha.4.js";var O={},Pt=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},dt={},N={};let it;const Rt=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];N.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};N.getSymbolTotalCodewords=function(t){return Rt[t]};N.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};N.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');it=t};N.isKanjiModeEnabled=function(){return typeof it<"u"};N.toSJIS=function(t){return it(t)};var G={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+i)}}e.isValid=function(o){return o&&typeof o.bit<"u"&&o.bit>=0&&o.bit<4},e.from=function(o,n){if(e.isValid(o))return o;try{return t(o)}catch{return n}}})(G);function ht(){this.buffer=[],this.length=0}ht.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let i=0;i<t;i++)this.putBit((e>>>t-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var Lt=ht;function K(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}K.prototype.set=function(e,t,i,o){const n=e*this.size+t;this.data[n]=i,o&&(this.reservedBit[n]=!0)};K.prototype.get=function(e,t){return this.data[e*this.size+t]};K.prototype.xor=function(e,t,i){this.data[e*this.size+t]^=i};K.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var Dt=K,wt={};(function(e){const t=N.getSymbolSize;e.getRowColCoords=function(o){if(o===1)return[];const n=Math.floor(o/7)+2,r=t(o),s=r===145?26:Math.ceil((r-13)/(2*n-2))*2,c=[r-7];for(let u=1;u<n-1;u++)c[u]=c[u-1]-s;return c.push(6),c.reverse()},e.getPositions=function(o){const n=[],r=e.getRowColCoords(o),s=r.length;for(let c=0;c<s;c++)for(let u=0;u<s;u++)c===0&&u===0||c===0&&u===s-1||c===s-1&&u===0||n.push([r[c],r[u]]);return n}})(wt);var mt={};const Ut=N.getSymbolSize,at=7;mt.getPositions=function(t){const i=Ut(t);return[[0,0],[i-at,0],[0,i-at]]};var Et={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(n){return n!=null&&n!==""&&!isNaN(n)&&n>=0&&n<=7},e.from=function(n){return e.isValid(n)?parseInt(n,10):void 0},e.getPenaltyN1=function(n){const r=n.size;let s=0,c=0,u=0,l=null,a=null;for(let A=0;A<r;A++){c=u=0,l=a=null;for(let w=0;w<r;w++){let g=n.get(A,w);g===l?c++:(c>=5&&(s+=t.N1+(c-5)),l=g,c=1),g=n.get(w,A),g===a?u++:(u>=5&&(s+=t.N1+(u-5)),a=g,u=1)}c>=5&&(s+=t.N1+(c-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(n){const r=n.size;let s=0;for(let c=0;c<r-1;c++)for(let u=0;u<r-1;u++){const l=n.get(c,u)+n.get(c,u+1)+n.get(c+1,u)+n.get(c+1,u+1);(l===4||l===0)&&s++}return s*t.N2},e.getPenaltyN3=function(n){const r=n.size;let s=0,c=0,u=0;for(let l=0;l<r;l++){c=u=0;for(let a=0;a<r;a++)c=c<<1&2047|n.get(l,a),a>=10&&(c===1488||c===93)&&s++,u=u<<1&2047|n.get(a,l),a>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(n){let r=0;const s=n.data.length;for(let u=0;u<s;u++)r+=n.data[u];return Math.abs(Math.ceil(r*100/s/5)-10)*t.N4};function i(o,n,r){switch(o){case e.Patterns.PATTERN000:return(n+r)%2===0;case e.Patterns.PATTERN001:return n%2===0;case e.Patterns.PATTERN010:return r%3===0;case e.Patterns.PATTERN011:return(n+r)%3===0;case e.Patterns.PATTERN100:return(Math.floor(n/2)+Math.floor(r/3))%2===0;case e.Patterns.PATTERN101:return n*r%2+n*r%3===0;case e.Patterns.PATTERN110:return(n*r%2+n*r%3)%2===0;case e.Patterns.PATTERN111:return(n*r%3+(n+r)%2)%2===0;default:throw new Error("bad maskPattern:"+o)}}e.applyMask=function(n,r){const s=r.size;for(let c=0;c<s;c++)for(let u=0;u<s;u++)r.isReserved(u,c)||r.xor(u,c,i(n,u,c))},e.getBestMask=function(n,r){const s=Object.keys(e.Patterns).length;let c=0,u=1/0;for(let l=0;l<s;l++){r(l),e.applyMask(l,n);const a=e.getPenaltyN1(n)+e.getPenaltyN2(n)+e.getPenaltyN3(n)+e.getPenaltyN4(n);e.applyMask(l,n),a<u&&(u=a,c=l)}return c}})(Et);var j={};const R=G,J=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Y=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];j.getBlocksCount=function(t,i){switch(i){case R.L:return J[(t-1)*4+0];case R.M:return J[(t-1)*4+1];case R.Q:return J[(t-1)*4+2];case R.H:return J[(t-1)*4+3];default:return}};j.getTotalCodewordsCount=function(t,i){switch(i){case R.L:return Y[(t-1)*4+0];case R.M:return Y[(t-1)*4+1];case R.Q:return Y[(t-1)*4+2];case R.H:return Y[(t-1)*4+3];default:return}};var Ct={},v={};const V=new Uint8Array(512),_=new Uint8Array(256);(function(){let t=1;for(let i=0;i<255;i++)V[i]=t,_[t]=i,t<<=1,t&256&&(t^=285);for(let i=255;i<512;i++)V[i]=V[i-255]})();v.log=function(t){if(t<1)throw new Error("log("+t+")");return _[t]};v.exp=function(t){return V[t]};v.mul=function(t,i){return t===0||i===0?0:V[_[t]+_[i]]};(function(e){const t=v;e.mul=function(o,n){const r=new Uint8Array(o.length+n.length-1);for(let s=0;s<o.length;s++)for(let c=0;c<n.length;c++)r[s+c]^=t.mul(o[s],n[c]);return r},e.mod=function(o,n){let r=new Uint8Array(o);for(;r.length-n.length>=0;){const s=r[0];for(let u=0;u<n.length;u++)r[u]^=t.mul(n[u],s);let c=0;for(;c<r.length&&r[c]===0;)c++;r=r.slice(c)}return r},e.generateECPolynomial=function(o){let n=new Uint8Array([1]);for(let r=0;r<o;r++)n=e.mul(n,new Uint8Array([1,t.exp(r)]));return n}})(Ct);const yt=Ct;function st(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}st.prototype.initialize=function(t){this.degree=t,this.genPoly=yt.generateECPolynomial(this.degree)};st.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const i=new Uint8Array(t.length+this.degree);i.set(t);const o=yt.mod(i,this.genPoly),n=this.degree-o.length;if(n>0){const r=new Uint8Array(this.degree);return r.set(o,n),r}return o};var Ft=st,Bt={},L={},ut={};ut.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var S={};const At="[0-9]+",kt="[A-Z $%*+\\-./:]+";let H="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";H=H.replace(/u/g,"\\u");const zt="(?:(?![A-Z0-9 $%*+\\-./:]|"+H+`)(?:.|[\r
|
|
2
2
|
]))+`;S.KANJI=new RegExp(H,"g");S.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");S.BYTE=new RegExp(zt,"g");S.NUMERIC=new RegExp(At,"g");S.ALPHANUMERIC=new RegExp(kt,"g");const Vt=new RegExp("^"+H+"$"),Ht=new RegExp("^"+At+"$"),Kt=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");S.testKanji=function(t){return Vt.test(t)};S.testNumeric=function(t){return Ht.test(t)};S.testAlphanumeric=function(t){return Kt.test(t)};(function(e){const t=ut,i=S;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(r,s){if(!r.ccBits)throw new Error("Invalid mode: "+r);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?r.ccBits[0]:s<27?r.ccBits[1]:r.ccBits[2]},e.getBestModeForData=function(r){return i.testNumeric(r)?e.NUMERIC:i.testAlphanumeric(r)?e.ALPHANUMERIC:i.testKanji(r)?e.KANJI:e.BYTE},e.toString=function(r){if(r&&r.id)return r.id;throw new Error("Invalid mode")},e.isValid=function(r){return r&&r.bit&&r.ccBits};function o(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+n)}}e.from=function(r,s){if(e.isValid(r))return r;try{return o(r)}catch{return s}}})(L);(function(e){const t=N,i=j,o=G,n=L,r=ut,s=7973,c=t.getBCHDigit(s);function u(w,g,E){for(let C=1;C<=40;C++)if(g<=e.getCapacity(C,E,w))return C}function l(w,g){return n.getCharCountIndicator(w,g)+4}function a(w,g){let E=0;return w.forEach(function(C){const T=l(C.mode,g);E+=T+C.getBitsLength()}),E}function A(w,g){for(let E=1;E<=40;E++)if(a(w,E)<=e.getCapacity(E,g,n.MIXED))return E}e.from=function(g,E){return r.isValid(g)?parseInt(g,10):E},e.getCapacity=function(g,E,C){if(!r.isValid(g))throw new Error("Invalid QR Code version");typeof C>"u"&&(C=n.BYTE);const T=t.getSymbolTotalCodewords(g),h=i.getTotalCodewordsCount(g,E),m=(T-h)*8;if(C===n.MIXED)return m;const d=m-l(C,g);switch(C){case n.NUMERIC:return Math.floor(d/10*3);case n.ALPHANUMERIC:return Math.floor(d/11*2);case n.KANJI:return Math.floor(d/13);case n.BYTE:default:return Math.floor(d/8)}},e.getBestVersionForData=function(g,E){let C;const T=o.from(E,o.M);if(Array.isArray(g)){if(g.length>1)return A(g,T);if(g.length===0)return 1;C=g[0]}else C=g;return u(C.mode,C.getLength(),T)},e.getEncodedBits=function(g){if(!r.isValid(g)||g<7)throw new Error("Invalid QR Code version");let E=g<<12;for(;t.getBCHDigit(E)-c>=0;)E^=s<<t.getBCHDigit(E)-c;return g<<12|E}})(Bt);var It={};const et=N,Tt=1335,Jt=21522,ft=et.getBCHDigit(Tt);It.getEncodedBits=function(t,i){const o=t.bit<<3|i;let n=o<<10;for(;et.getBCHDigit(n)-ft>=0;)n^=Tt<<et.getBCHDigit(n)-ft;return(o<<10|n)^Jt};var Nt={};const Yt=L;function D(e){this.mode=Yt.NUMERIC,this.data=e.toString()}D.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};D.prototype.getLength=function(){return this.data.length};D.prototype.getBitsLength=function(){return D.getBitsLength(this.data.length)};D.prototype.write=function(t){let i,o,n;for(i=0;i+3<=this.data.length;i+=3)o=this.data.substr(i,3),n=parseInt(o,10),t.put(n,10);const r=this.data.length-i;r>0&&(o=this.data.substr(i),n=parseInt(o,10),t.put(n,r*3+1))};var _t=D;const $t=L,W=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function U(e){this.mode=$t.ALPHANUMERIC,this.data=e}U.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};U.prototype.getLength=function(){return this.data.length};U.prototype.getBitsLength=function(){return U.getBitsLength(this.data.length)};U.prototype.write=function(t){let i;for(i=0;i+2<=this.data.length;i+=2){let o=W.indexOf(this.data[i])*45;o+=W.indexOf(this.data[i+1]),t.put(o,11)}this.data.length%2&&t.put(W.indexOf(this.data[i]),6)};var Ot=U;const Gt=L;function F(e){this.mode=Gt.BYTE,typeof e=="string"?this.data=new TextEncoder().encode(e):this.data=new Uint8Array(e)}F.getBitsLength=function(t){return t*8};F.prototype.getLength=function(){return this.data.length};F.prototype.getBitsLength=function(){return F.getBitsLength(this.data.length)};F.prototype.write=function(e){for(let t=0,i=this.data.length;t<i;t++)e.put(this.data[t],8)};var jt=F;const vt=L,Qt=N;function k(e){this.mode=vt.KANJI,this.data=e}k.getBitsLength=function(t){return t*13};k.prototype.getLength=function(){return this.data.length};k.prototype.getBitsLength=function(){return k.getBitsLength(this.data.length)};k.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let i=Qt.toSJIS(this.data[t]);if(i>=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
|
|
3
3
|
Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),e.put(i,13)}};var qt=k;(function(e){const t=L,i=_t,o=Ot,n=jt,r=qt,s=S,c=N,u=bt;function l(h){return unescape(encodeURIComponent(h)).length}function a(h,m,d){const f=[];let y;for(;(y=h.exec(d))!==null;)f.push({data:y[0],index:y.index,mode:m,length:y[0].length});return f}function A(h){const m=a(s.NUMERIC,t.NUMERIC,h),d=a(s.ALPHANUMERIC,t.ALPHANUMERIC,h);let f,y;return c.isKanjiModeEnabled()?(f=a(s.BYTE,t.BYTE,h),y=a(s.KANJI,t.KANJI,h)):(f=a(s.BYTE_KANJI,t.BYTE,h),y=[]),m.concat(d,f,y).sort(function(I,p){return I.index-p.index}).map(function(I){return{data:I.data,mode:I.mode,length:I.length}})}function w(h,m){switch(m){case t.NUMERIC:return i.getBitsLength(h);case t.ALPHANUMERIC:return o.getBitsLength(h);case t.KANJI:return r.getBitsLength(h);case t.BYTE:return n.getBitsLength(h)}}function g(h){return h.reduce(function(m,d){const f=m.length-1>=0?m[m.length-1]:null;return f&&f.mode===d.mode?(m[m.length-1].data+=d.data,m):(m.push(d),m)},[])}function E(h){const m=[];for(let d=0;d<h.length;d++){const f=h[d];switch(f.mode){case t.NUMERIC:m.push([f,{data:f.data,mode:t.ALPHANUMERIC,length:f.length},{data:f.data,mode:t.BYTE,length:f.length}]);break;case t.ALPHANUMERIC:m.push([f,{data:f.data,mode:t.BYTE,length:f.length}]);break;case t.KANJI:m.push([f,{data:f.data,mode:t.BYTE,length:l(f.data)}]);break;case t.BYTE:m.push([{data:f.data,mode:t.BYTE,length:l(f.data)}])}}return m}function C(h,m){const d={},f={start:{}};let y=["start"];for(let B=0;B<h.length;B++){const I=h[B],p=[];for(let P=0;P<I.length;P++){const M=I[P],z=""+B+P;p.push(z),d[z]={node:M,lastCount:0},f[z]={};for(let q=0;q<y.length;q++){const b=y[q];d[b]&&d[b].node.mode===M.mode?(f[b][z]=w(d[b].lastCount+M.length,M.mode)-w(d[b].lastCount,M.mode),d[b].lastCount+=M.length):(d[b]&&(d[b].lastCount=M.length),f[b][z]=w(M.length,M.mode)+4+t.getCharCountIndicator(M.mode,m))}}y=p}for(let B=0;B<y.length;B++)f[y[B]].end=0;return{map:f,table:d}}function T(h,m){let d;const f=t.getBestModeForData(h);if(d=t.from(m,f),d!==t.BYTE&&d.bit<f.bit)throw new Error('"'+h+'" cannot be encoded with mode '+t.toString(d)+`.
|
|
4
4
|
Suggested mode is: `+t.toString(f));switch(d===t.KANJI&&!c.isKanjiModeEnabled()&&(d=t.BYTE),d){case t.NUMERIC:return new i(h);case t.ALPHANUMERIC:return new o(h);case t.KANJI:return new r(h);case t.BYTE:return new n(h)}}e.fromArray=function(m){return m.reduce(function(d,f){return typeof f=="string"?d.push(T(f,null)):f.data&&d.push(T(f.data,f.mode)),d},[])},e.fromString=function(m,d){const f=A(m,c.isKanjiModeEnabled()),y=E(f),B=C(y,d),I=u.find_path(B.map,"start","end"),p=[];for(let P=1;P<I.length-1;P++)p.push(B.table[I[P]].node);return e.fromArray(g(p))},e.rawSplit=function(m){return e.fromArray(A(m,c.isKanjiModeEnabled()))}})(Nt);const Q=N,Z=G,Wt=Lt,Zt=Dt,Xt=wt,xt=mt,nt=Et,ot=j,te=Ft,$=Bt,ee=It,ne=L,X=Nt;function oe(e,t){const i=e.size,o=xt.getPositions(t);for(let n=0;n<o.length;n++){const r=o[n][0],s=o[n][1];for(let c=-1;c<=7;c++)if(!(r+c<=-1||i<=r+c))for(let u=-1;u<=7;u++)s+u<=-1||i<=s+u||(c>=0&&c<=6&&(u===0||u===6)||u>=0&&u<=6&&(c===0||c===6)||c>=2&&c<=4&&u>=2&&u<=4?e.set(r+c,s+u,!0,!0):e.set(r+c,s+u,!1,!0))}}function re(e){const t=e.size;for(let i=8;i<t-8;i++){const o=i%2===0;e.set(i,6,o,!0),e.set(6,i,o,!0)}}function ie(e,t){const i=Xt.getPositions(t);for(let o=0;o<i.length;o++){const n=i[o][0],r=i[o][1];for(let s=-2;s<=2;s++)for(let c=-2;c<=2;c++)s===-2||s===2||c===-2||c===2||s===0&&c===0?e.set(n+s,r+c,!0,!0):e.set(n+s,r+c,!1,!0)}}function se(e,t){const i=e.size,o=$.getEncodedBits(t);let n,r,s;for(let c=0;c<18;c++)n=Math.floor(c/3),r=c%3+i-8-3,s=(o>>c&1)===1,e.set(n,r,s,!0),e.set(r,n,s,!0)}function x(e,t,i){const o=e.size,n=ee.getEncodedBits(t,i);let r,s;for(r=0;r<15;r++)s=(n>>r&1)===1,r<6?e.set(r,8,s,!0):r<8?e.set(r+1,8,s,!0):e.set(o-15+r,8,s,!0),r<8?e.set(8,o-r-1,s,!0):r<9?e.set(8,15-r-1+1,s,!0):e.set(8,15-r-1,s,!0);e.set(o-8,8,1,!0)}function ue(e,t){const i=e.size;let o=-1,n=i-1,r=7,s=0;for(let c=i-1;c>0;c-=2)for(c===6&&c--;;){for(let u=0;u<2;u++)if(!e.isReserved(n,c-u)){let l=!1;s<t.length&&(l=(t[s]>>>r&1)===1),e.set(n,c-u,l),r--,r===-1&&(s++,r=7)}if(n+=o,n<0||i<=n){n-=o,o=-o;break}}}function ce(e,t,i){const o=new Wt;i.forEach(function(u){o.put(u.mode.bit,4),o.put(u.getLength(),ne.getCharCountIndicator(u.mode,e)),u.write(o)});const n=Q.getSymbolTotalCodewords(e),r=ot.getTotalCodewordsCount(e,t),s=(n-r)*8;for(o.getLengthInBits()+4<=s&&o.put(0,4);o.getLengthInBits()%8!==0;)o.putBit(0);const c=(s-o.getLengthInBits())/8;for(let u=0;u<c;u++)o.put(u%2?17:236,8);return le(o,e,t)}function le(e,t,i){const o=Q.getSymbolTotalCodewords(t),n=ot.getTotalCodewordsCount(t,i),r=o-n,s=ot.getBlocksCount(t,i),c=o%s,u=s-c,l=Math.floor(o/s),a=Math.floor(r/s),A=a+1,w=l-a,g=new te(w);let E=0;const C=new Array(s),T=new Array(s);let h=0;const m=new Uint8Array(e.buffer);for(let I=0;I<s;I++){const p=I<u?a:A;C[I]=m.slice(E,E+p),T[I]=g.encode(C[I]),E+=p,h=Math.max(h,p)}const d=new Uint8Array(o);let f=0,y,B;for(y=0;y<h;y++)for(B=0;B<s;B++)y<C[B].length&&(d[f++]=C[B][y]);for(y=0;y<w;y++)for(B=0;B<s;B++)d[f++]=T[B][y];return d}function ae(e,t,i,o){let n;if(Array.isArray(e))n=X.fromArray(e);else if(typeof e=="string"){let l=t;if(!l){const a=X.rawSplit(e);l=$.getBestVersionForData(a,i)}n=X.fromString(e,l||40)}else throw new Error("Invalid data");const r=$.getBestVersionForData(n,i);if(!r)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=r;else if(t<r)throw new Error(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as O}from"./@react-dnd.CcwRs9xb.0.0.31-alpha.2.js";var l;(function(o){o.mouse="mouse",o.touch="touch",o.keyboard="keyboard"})(l||(l={}));class M{get delay(){var e;return(e=this.args.delay)!==null&&e!==void 0?e:0}get scrollAngleRanges(){return this.args.scrollAngleRanges}get getDropTargetElementsAtPoint(){return this.args.getDropTargetElementsAtPoint}get ignoreContextMenu(){var e;return(e=this.args.ignoreContextMenu)!==null&&e!==void 0?e:!1}get enableHoverOutsideTarget(){var e;return(e=this.args.enableHoverOutsideTarget)!==null&&e!==void 0?e:!1}get enableKeyboardEvents(){var e;return(e=this.args.enableKeyboardEvents)!==null&&e!==void 0?e:!1}get enableMouseEvents(){var e;return(e=this.args.enableMouseEvents)!==null&&e!==void 0?e:!1}get enableTouchEvents(){var e;return(e=this.args.enableTouchEvents)!==null&&e!==void 0?e:!0}get touchSlop(){return this.args.touchSlop||0}get delayTouchStart(){var e,s,n,t;return(t=(n=(e=this.args)===null||e===void 0?void 0:e.delayTouchStart)!==null&&n!==void 0?n:(s=this.args)===null||s===void 0?void 0:s.delay)!==null&&t!==void 0?t:0}get delayMouseStart(){var e,s,n,t;return(t=(n=(e=this.args)===null||e===void 0?void 0:e.delayMouseStart)!==null&&n!==void 0?n:(s=this.args)===null||s===void 0?void 0:s.delay)!==null&&t!==void 0?t:0}get window(){if(this.context&&this.context.window)return this.context.window;if(typeof window<"u")return window}get document(){var e;if(!((e=this.context)===null||e===void 0)&&e.document)return this.context.document;if(this.window)return this.window.document}get rootElement(){var e;return((e=this.args)===null||e===void 0?void 0:e.rootElement)||this.document}constructor(e,s){this.args=e,this.context=s}}function N(o,e,s,n){return Math.sqrt(Math.pow(Math.abs(s-o),2)+Math.pow(Math.abs(n-e),2))}function w(o,e,s,n,t){if(!t)return!1;const i=Math.atan2(n-e,s-o)*180/Math.PI+180;for(let a=0;a<t.length;++a){const r=t[a];if(r&&(r.start==null||i>=r.start)&&(r.end==null||i<=r.end))return!0}return!1}const C={Left:1,Right:2,Center:4},x={Left:0,Center:1,Right:2};function T(o){return o.button===void 0||o.button===x.Left}function D(o){return o.buttons===void 0||(o.buttons&C.Left)===0}function b(o){return!!o.targetTouches}const L=1;function P(o){const e=o.nodeType===L?o:o.parentElement;if(!e)return;const{top:s,left:n}=e.getBoundingClientRect();return{x:n,y:s}}function _(o,e){if(o.targetTouches.length===1)return S(o.targetTouches[0]);if(e&&o.touches.length===1&&o.touches[0].target===e.target)return S(o.touches[0])}function S(o,e){return b(o)?_(o,e):{x:o.clientX,y:o.clientY}}const v={[l.mouse]:{start:"mousedown",move:"mousemove",end:"mouseup",contextmenu:"contextmenu"},[l.touch]:{start:"touchstart",move:"touchmove",end:"touchend"},[l.keyboard]:{keydown:"keydown"}};class g{profile(){var e;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:((e=this.dragOverTargetIds)===null||e===void 0?void 0:e.length)||0}}get document(){return this.options.document}setup(){const e=this.options.rootElement;e&&(O(!g.isSetUp,"Cannot have two Touch backends at the same time."),g.isSetUp=!0,this.addEventListener(e,"start",this.getTopMoveStartHandler()),this.addEventListener(e,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(e,"move",this.handleTopMove),this.addEventListener(e,"move",this.handleTopMoveCapture,!0),this.addEventListener(e,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(e,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(e,"keydown",this.handleCancelOnEscape,!0))}teardown(){const e=this.options.rootElement;e&&(g.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(e,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(e,"start",this.handleTopMoveStart),this.removeEventListener(e,"move",this.handleTopMoveCapture,!0),this.removeEventListener(e,"move",this.handleTopMove),this.removeEventListener(e,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(e,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(e,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}addEventListener(e,s,n,t=!1){const i=t;this.listenerTypes.forEach(function(a){const r=v[a][s];r&&e.addEventListener(r,n,i)})}removeEventListener(e,s,n,t=!1){const i=t;this.listenerTypes.forEach(function(a){const r=v[a][s];r&&e.removeEventListener(r,n,i)})}connectDragSource(e,s){const n=this.handleMoveStart.bind(this,e);return this.sourceNodes.set(e,s),this.addEventListener(s,"start",n),()=>{this.sourceNodes.delete(e),this.removeEventListener(s,"start",n)}}connectDragPreview(e,s,n){return this.sourcePreviewNodeOptions.set(e,n),this.sourcePreviewNodes.set(e,s),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDropTarget(e,s){const n=this.options.rootElement;if(!this.document||!n)return()=>{};const t=i=>{if(!this.document||!n||!this.monitor.isDragging())return;let a;switch(i.type){case v.mouse.move:a={x:i.clientX,y:i.clientY};break;case v.touch.move:var r,h;a={x:((r=i.touches[0])===null||r===void 0?void 0:r.clientX)||0,y:((h=i.touches[0])===null||h===void 0?void 0:h.clientY)||0};break}const c=a!=null?this.document.elementFromPoint(a.x,a.y):void 0,f=c&&s.contains(c);if(c===s||f)return this.handleMove(i,e)};return this.addEventListener(this.document.body,"move",t),this.targetNodes.set(e,s),()=>{this.document&&(this.targetNodes.delete(e),this.removeEventListener(this.document.body,"move",t))}}getTopMoveStartHandler(){return!this.options.delayTouchStart&&!this.options.delayMouseStart?this.handleTopMoveStart:this.handleTopMoveStartDelay}installSourceNodeRemovalObserver(e){this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=e,this.draggedSourceNodeRemovalObserver=new MutationObserver(()=>{e&&!e.parentElement&&(this.resurrectSourceNode(),this.uninstallSourceNodeRemovalObserver())}),!(!e||!e.parentElement)&&this.draggedSourceNodeRemovalObserver.observe(e.parentElement,{childList:!0})}resurrectSourceNode(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}uninstallSourceNodeRemovalObserver(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}constructor(e,s,n){this.getSourceClientOffset=t=>{const i=this.sourceNodes.get(t);return i&&P(i)},this.handleTopMoveStartCapture=t=>{T(t)&&(this.moveStartSourceIds=[])},this.handleMoveStart=t=>{Array.isArray(this.moveStartSourceIds)&&this.moveStartSourceIds.unshift(t)},this.handleTopMoveStart=t=>{if(!T(t))return;const i=S(t);i&&(b(t)&&(this.lastTargetTouchFallback=t.targetTouches[0]),this._mouseClientOffset=i),this.waitingForDelay=!1},this.handleTopMoveStartDelay=t=>{if(!T(t))return;const i=t.type===v.touch.start?this.options.delayTouchStart:this.options.delayMouseStart;this.timeout=setTimeout(this.handleTopMoveStart.bind(this,t),i),this.waitingForDelay=!0},this.handleTopMoveCapture=()=>{this.dragOverTargetIds=[]},this.handleMove=(t,i)=>{this.dragOverTargetIds&&this.dragOverTargetIds.unshift(i)},this.handleTopMove=t=>{if(this.timeout&&clearTimeout(this.timeout),!this.document||this.waitingForDelay)return;const{moveStartSourceIds:i,dragOverTargetIds:a}=this,r=this.options.enableHoverOutsideTarget,h=S(t,this.lastTargetTouchFallback);if(!h)return;if(this._isScrolling||!this.monitor.isDragging()&&w(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,h.x,h.y,this.options.scrollAngleRanges)){this._isScrolling=!0;return}if(!this.monitor.isDragging()&&this._mouseClientOffset.hasOwnProperty("x")&&i&&N(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,h.x,h.y)>(this.options.touchSlop?this.options.touchSlop:0)&&(this.moveStartSourceIds=void 0,this.actions.beginDrag(i,{clientOffset:this._mouseClientOffset,getSourceClientOffset:this.getSourceClientOffset,publishSource:!1})),!this.monitor.isDragging())return;const c=this.sourceNodes.get(this.monitor.getSourceId());this.installSourceNodeRemovalObserver(c),this.actions.publishDragSource(),t.cancelable&&t.preventDefault();const f=(a||[]).map(u=>this.targetNodes.get(u)).filter(u=>!!u),E=this.options.getDropTargetElementsAtPoint?this.options.getDropTargetElementsAtPoint(h.x,h.y,f):this.document.elementsFromPoint(h.x,h.y),p=[];for(const u in E){if(!E.hasOwnProperty(u))continue;let d=E[u];for(d!=null&&p.push(d);d;)d=d.parentElement,d&&p.indexOf(d)===-1&&p.push(d)}const m=p.filter(u=>f.indexOf(u)>-1).map(u=>this._getDropTargetId(u)).filter(u=>!!u).filter((u,d,y)=>y.indexOf(u)===d);if(r)for(const u in this.targetNodes){const d=this.targetNodes.get(u);if(c&&d&&d.contains(c)&&m.indexOf(u)===-1){m.unshift(u);break}}m.reverse(),this.actions.hover(m,{clientOffset:h})},this._getDropTargetId=t=>{const i=this.targetNodes.keys();let a=i.next();for(;a.done===!1;){const r=a.value;if(t===this.targetNodes.get(r))return r;a=i.next()}},this.handleTopMoveEndCapture=t=>{if(this._isScrolling=!1,this.lastTargetTouchFallback=void 0,!!D(t)){if(!this.monitor.isDragging()||this.monitor.didDrop()){this.moveStartSourceIds=void 0;return}t.cancelable&&t.preventDefault(),this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.drop(),this.actions.endDrag()}},this.handleCancelOnEscape=t=>{t.key==="Escape"&&this.monitor.isDragging()&&(this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.endDrag())},this.options=new M(n,s),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(l.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(l.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(l.keyboard)}}const k=function(e,s={},n={}){return new g(e,s,n)};export{k as T};
|
|
1
|
+
import{i as O}from"./@react-dnd.CcwRs9xb.0.0.31-alpha.4.js";var l;(function(o){o.mouse="mouse",o.touch="touch",o.keyboard="keyboard"})(l||(l={}));class M{get delay(){var e;return(e=this.args.delay)!==null&&e!==void 0?e:0}get scrollAngleRanges(){return this.args.scrollAngleRanges}get getDropTargetElementsAtPoint(){return this.args.getDropTargetElementsAtPoint}get ignoreContextMenu(){var e;return(e=this.args.ignoreContextMenu)!==null&&e!==void 0?e:!1}get enableHoverOutsideTarget(){var e;return(e=this.args.enableHoverOutsideTarget)!==null&&e!==void 0?e:!1}get enableKeyboardEvents(){var e;return(e=this.args.enableKeyboardEvents)!==null&&e!==void 0?e:!1}get enableMouseEvents(){var e;return(e=this.args.enableMouseEvents)!==null&&e!==void 0?e:!1}get enableTouchEvents(){var e;return(e=this.args.enableTouchEvents)!==null&&e!==void 0?e:!0}get touchSlop(){return this.args.touchSlop||0}get delayTouchStart(){var e,s,n,t;return(t=(n=(e=this.args)===null||e===void 0?void 0:e.delayTouchStart)!==null&&n!==void 0?n:(s=this.args)===null||s===void 0?void 0:s.delay)!==null&&t!==void 0?t:0}get delayMouseStart(){var e,s,n,t;return(t=(n=(e=this.args)===null||e===void 0?void 0:e.delayMouseStart)!==null&&n!==void 0?n:(s=this.args)===null||s===void 0?void 0:s.delay)!==null&&t!==void 0?t:0}get window(){if(this.context&&this.context.window)return this.context.window;if(typeof window<"u")return window}get document(){var e;if(!((e=this.context)===null||e===void 0)&&e.document)return this.context.document;if(this.window)return this.window.document}get rootElement(){var e;return((e=this.args)===null||e===void 0?void 0:e.rootElement)||this.document}constructor(e,s){this.args=e,this.context=s}}function N(o,e,s,n){return Math.sqrt(Math.pow(Math.abs(s-o),2)+Math.pow(Math.abs(n-e),2))}function w(o,e,s,n,t){if(!t)return!1;const i=Math.atan2(n-e,s-o)*180/Math.PI+180;for(let a=0;a<t.length;++a){const r=t[a];if(r&&(r.start==null||i>=r.start)&&(r.end==null||i<=r.end))return!0}return!1}const C={Left:1,Right:2,Center:4},x={Left:0,Center:1,Right:2};function T(o){return o.button===void 0||o.button===x.Left}function D(o){return o.buttons===void 0||(o.buttons&C.Left)===0}function b(o){return!!o.targetTouches}const L=1;function P(o){const e=o.nodeType===L?o:o.parentElement;if(!e)return;const{top:s,left:n}=e.getBoundingClientRect();return{x:n,y:s}}function _(o,e){if(o.targetTouches.length===1)return S(o.targetTouches[0]);if(e&&o.touches.length===1&&o.touches[0].target===e.target)return S(o.touches[0])}function S(o,e){return b(o)?_(o,e):{x:o.clientX,y:o.clientY}}const v={[l.mouse]:{start:"mousedown",move:"mousemove",end:"mouseup",contextmenu:"contextmenu"},[l.touch]:{start:"touchstart",move:"touchmove",end:"touchend"},[l.keyboard]:{keydown:"keydown"}};class g{profile(){var e;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:((e=this.dragOverTargetIds)===null||e===void 0?void 0:e.length)||0}}get document(){return this.options.document}setup(){const e=this.options.rootElement;e&&(O(!g.isSetUp,"Cannot have two Touch backends at the same time."),g.isSetUp=!0,this.addEventListener(e,"start",this.getTopMoveStartHandler()),this.addEventListener(e,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(e,"move",this.handleTopMove),this.addEventListener(e,"move",this.handleTopMoveCapture,!0),this.addEventListener(e,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(e,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(e,"keydown",this.handleCancelOnEscape,!0))}teardown(){const e=this.options.rootElement;e&&(g.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(e,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(e,"start",this.handleTopMoveStart),this.removeEventListener(e,"move",this.handleTopMoveCapture,!0),this.removeEventListener(e,"move",this.handleTopMove),this.removeEventListener(e,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(e,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(e,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}addEventListener(e,s,n,t=!1){const i=t;this.listenerTypes.forEach(function(a){const r=v[a][s];r&&e.addEventListener(r,n,i)})}removeEventListener(e,s,n,t=!1){const i=t;this.listenerTypes.forEach(function(a){const r=v[a][s];r&&e.removeEventListener(r,n,i)})}connectDragSource(e,s){const n=this.handleMoveStart.bind(this,e);return this.sourceNodes.set(e,s),this.addEventListener(s,"start",n),()=>{this.sourceNodes.delete(e),this.removeEventListener(s,"start",n)}}connectDragPreview(e,s,n){return this.sourcePreviewNodeOptions.set(e,n),this.sourcePreviewNodes.set(e,s),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDropTarget(e,s){const n=this.options.rootElement;if(!this.document||!n)return()=>{};const t=i=>{if(!this.document||!n||!this.monitor.isDragging())return;let a;switch(i.type){case v.mouse.move:a={x:i.clientX,y:i.clientY};break;case v.touch.move:var r,h;a={x:((r=i.touches[0])===null||r===void 0?void 0:r.clientX)||0,y:((h=i.touches[0])===null||h===void 0?void 0:h.clientY)||0};break}const c=a!=null?this.document.elementFromPoint(a.x,a.y):void 0,f=c&&s.contains(c);if(c===s||f)return this.handleMove(i,e)};return this.addEventListener(this.document.body,"move",t),this.targetNodes.set(e,s),()=>{this.document&&(this.targetNodes.delete(e),this.removeEventListener(this.document.body,"move",t))}}getTopMoveStartHandler(){return!this.options.delayTouchStart&&!this.options.delayMouseStart?this.handleTopMoveStart:this.handleTopMoveStartDelay}installSourceNodeRemovalObserver(e){this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=e,this.draggedSourceNodeRemovalObserver=new MutationObserver(()=>{e&&!e.parentElement&&(this.resurrectSourceNode(),this.uninstallSourceNodeRemovalObserver())}),!(!e||!e.parentElement)&&this.draggedSourceNodeRemovalObserver.observe(e.parentElement,{childList:!0})}resurrectSourceNode(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}uninstallSourceNodeRemovalObserver(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}constructor(e,s,n){this.getSourceClientOffset=t=>{const i=this.sourceNodes.get(t);return i&&P(i)},this.handleTopMoveStartCapture=t=>{T(t)&&(this.moveStartSourceIds=[])},this.handleMoveStart=t=>{Array.isArray(this.moveStartSourceIds)&&this.moveStartSourceIds.unshift(t)},this.handleTopMoveStart=t=>{if(!T(t))return;const i=S(t);i&&(b(t)&&(this.lastTargetTouchFallback=t.targetTouches[0]),this._mouseClientOffset=i),this.waitingForDelay=!1},this.handleTopMoveStartDelay=t=>{if(!T(t))return;const i=t.type===v.touch.start?this.options.delayTouchStart:this.options.delayMouseStart;this.timeout=setTimeout(this.handleTopMoveStart.bind(this,t),i),this.waitingForDelay=!0},this.handleTopMoveCapture=()=>{this.dragOverTargetIds=[]},this.handleMove=(t,i)=>{this.dragOverTargetIds&&this.dragOverTargetIds.unshift(i)},this.handleTopMove=t=>{if(this.timeout&&clearTimeout(this.timeout),!this.document||this.waitingForDelay)return;const{moveStartSourceIds:i,dragOverTargetIds:a}=this,r=this.options.enableHoverOutsideTarget,h=S(t,this.lastTargetTouchFallback);if(!h)return;if(this._isScrolling||!this.monitor.isDragging()&&w(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,h.x,h.y,this.options.scrollAngleRanges)){this._isScrolling=!0;return}if(!this.monitor.isDragging()&&this._mouseClientOffset.hasOwnProperty("x")&&i&&N(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,h.x,h.y)>(this.options.touchSlop?this.options.touchSlop:0)&&(this.moveStartSourceIds=void 0,this.actions.beginDrag(i,{clientOffset:this._mouseClientOffset,getSourceClientOffset:this.getSourceClientOffset,publishSource:!1})),!this.monitor.isDragging())return;const c=this.sourceNodes.get(this.monitor.getSourceId());this.installSourceNodeRemovalObserver(c),this.actions.publishDragSource(),t.cancelable&&t.preventDefault();const f=(a||[]).map(u=>this.targetNodes.get(u)).filter(u=>!!u),E=this.options.getDropTargetElementsAtPoint?this.options.getDropTargetElementsAtPoint(h.x,h.y,f):this.document.elementsFromPoint(h.x,h.y),p=[];for(const u in E){if(!E.hasOwnProperty(u))continue;let d=E[u];for(d!=null&&p.push(d);d;)d=d.parentElement,d&&p.indexOf(d)===-1&&p.push(d)}const m=p.filter(u=>f.indexOf(u)>-1).map(u=>this._getDropTargetId(u)).filter(u=>!!u).filter((u,d,y)=>y.indexOf(u)===d);if(r)for(const u in this.targetNodes){const d=this.targetNodes.get(u);if(c&&d&&d.contains(c)&&m.indexOf(u)===-1){m.unshift(u);break}}m.reverse(),this.actions.hover(m,{clientOffset:h})},this._getDropTargetId=t=>{const i=this.targetNodes.keys();let a=i.next();for(;a.done===!1;){const r=a.value;if(t===this.targetNodes.get(r))return r;a=i.next()}},this.handleTopMoveEndCapture=t=>{if(this._isScrolling=!1,this.lastTargetTouchFallback=void 0,!!D(t)){if(!this.monitor.isDragging()||this.monitor.didDrop()){this.moveStartSourceIds=void 0;return}t.cancelable&&t.preventDefault(),this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.drop(),this.actions.endDrag()}},this.handleCancelOnEscape=t=>{t.key==="Escape"&&this.monitor.isDragging()&&(this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.endDrag())},this.options=new M(n,s),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(l.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(l.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(l.keyboard)}}const k=function(e,s={},n={}){return new g(e,s,n)};export{k as T};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{_,a as E,b as w,c as b}from"./tslib.9k7AwCpt.0.0.31-alpha.
|
|
1
|
+
import{_,a as E,b as w,c as b}from"./tslib.9k7AwCpt.0.0.31-alpha.4.js";function l(e){return typeof e=="function"}function C(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var m=C(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
2
2
|
`+r.map(function(n,o){return o+1+") "+n.toString()}).join(`
|
|
3
3
|
`):"",this.name="UnsubscriptionError",this.errors=r}});function g(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var v=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var u=_(s),c=u.next();!c.done;c=u.next()){var y=c.value;y.remove(this)}}catch(a){t={error:a}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}else s.remove(this);var O=this.initialTeardown;if(l(O))try{O()}catch(a){i=a instanceof m?a.errors:[a]}var x=this._finalizers;if(x){this._finalizers=null;try{for(var p=_(x),f=p.next();!f.done;f=p.next()){var D=f.value;try{A(D)}catch(a){i=i??[],a instanceof m?i=E(E([],w(i)),w(a.errors)):i.push(a)}}}catch(a){n={error:a}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}}if(i)throw new m(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)A(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&g(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&g(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),F=v.EMPTY;function M(e){return e instanceof v||e&&"closed"in e&&l(e.remove)&&l(e.add)&&l(e.unsubscribe)}function A(e){l(e)?e():e.unsubscribe()}var R={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Y={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,E([e,t],w(r)))},clearTimeout:function(e){var t=Y.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function B(e){Y.setTimeout(function(){throw e})}function T(){}function d(e){e()}var k=function(e){b(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,M(r)&&r.add(n)):n.destination=G,n}return t.create=function(r,n,o){return new P(r,n,o)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(v),H=Function.prototype.bind;function S(e,t){return H.call(e,t)}var V=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){h(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){h(n)}else h(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){h(r)}},e}(),P=function(e){b(t,e);function t(r,n,o){var i=e.call(this)||this,s;if(l(r)||!r)s={next:r??void 0,error:n??void 0,complete:o??void 0};else{var u;i&&R.useDeprecatedNextContext?(u=Object.create(r),u.unsubscribe=function(){return i.unsubscribe()},s={next:r.next&&S(r.next,u),error:r.error&&S(r.error,u),complete:r.complete&&S(r.complete,u)}):s=r}return i.destination=new V(s),i}return t}(k);function h(e){B(e)}function q(e){throw e}var G={closed:!0,next:T,error:q,complete:T},J=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function K(e){return e}function L(e){return e.length===0?K:e.length===1?e[0]:function(r){return e.reduce(function(n,o){return o(n)},r)}}var j=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var o=this,i=W(t)?t:new P(t,r,n);return d(function(){var s=o,u=s.operator,c=s.source;i.add(u?u.call(i,c):c?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=I(r),new r(function(o,i){var s=new P({next:function(u){try{t(u)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});n.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[J]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return L(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=I(t),new t(function(n,o){var i;r.subscribe(function(s){return i=s},function(s){return o(s)},function(){return n(i)})})},e.create=function(t){return new e(t)},e}();function I(e){var t;return(t=e??R.Promise)!==null&&t!==void 0?t:Promise}function Q(e){return e&&l(e.next)&&l(e.error)&&l(e.complete)}function W(e){return e&&e instanceof k||Q(e)&&M(e)}var X=C(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Z=function(e){b(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new U(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new X},t.prototype.next=function(r){var n=this;d(function(){var o,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=_(n.currentObservers),u=s.next();!u.done;u=s.next()){var c=u.value;c.next(r)}}catch(y){o={error:y}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}}})},t.prototype.error=function(r){var n=this;d(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var o=n.observers;o.length;)o.shift().error(r)}})},t.prototype.complete=function(){var r=this;d(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,o=this,i=o.hasError,s=o.isStopped,u=o.observers;return i||s?F:(this.currentObservers=null,u.push(r),new v(function(){n.currentObservers=null,g(u,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,s=n.isStopped;o?r.error(i):s&&r.complete()},t.prototype.asObservable=function(){var r=new j;return r.source=this,r},t.create=function(r,n){return new U(r,n)},t}(j),U=function(e){b(t,e);function t(r,n){var o=e.call(this)||this;return o.destination=r,o.source=n,o}return t.prototype.next=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,r)},t.prototype.error=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&o!==void 0?o:F},t}(Z);export{j as O,Z as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as y,i as g,S as k,n as b}from"./engine.io-client.DEhtuV4o.0.0.31-alpha.2.js";import"./engine.io-parser.BiEtp6m2.0.0.31-alpha.2.js";import{E as m}from"./@socket.io.Dkula2eQ.0.0.31-alpha.2.js";import{P as c,p as v}from"./socket.io-parser.DU0H2ONq.0.0.31-alpha.2.js";function O(i,t="",e){let s=i;e=e||typeof location<"u"&&location,i==null&&(i=e.protocol+"//"+e.host),typeof i=="string"&&(i.charAt(0)==="/"&&(i.charAt(1)==="/"?i=e.protocol+i:i=e.host+i),/^(https?|wss?):\/\//.test(i)||(typeof e<"u"?i=e.protocol+"//"+i:i="https://"+i),s=y(i)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const r=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+r+":"+s.port+t,s.href=s.protocol+"://"+r+(e&&e.port===s.port?"":":"+s.port),s}function a(i,t,e){return i.on(t,e),function(){i.off(t,e)}}const E=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class _ extends m{constructor(t,e,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=e,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[a(t,"open",this.onopen.bind(this)),a(t,"packet",this.onpacket.bind(this)),a(t,"error",this.onerror.bind(this)),a(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...e){if(E.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(e.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(e),this;const s={type:c.EVENT,data:e};if(s.options={},s.options.compress=this.flags.compress!==!1,typeof e[e.length-1]=="function"){const h=this.ids++,o=e.pop();this._registerAckCallback(h,o),s.id=h}const n=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!n||!this.connected)||(this.connected?(this.notifyOutgoingListeners(s),this.packet(s)):this.sendBuffer.push(s)),this.flags={},this}_registerAckCallback(t,e){var s;const n=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(n===void 0){this.acks[t]=e;return}const r=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let o=0;o<this.sendBuffer.length;o++)this.sendBuffer[o].id===t&&this.sendBuffer.splice(o,1);e.call(this,new Error("operation has timed out"))},n),h=(...o)=>{this.io.clearTimeoutFn(r),e.apply(this,o)};h.withError=!0,this.acks[t]=h}emitWithAck(t,...e){return new Promise((s,n)=>{const r=(h,o)=>h?n(h):s(o);r.withError=!0,e.push(r),this.emit(t,...e)})}_addToQueue(t){let e;typeof t[t.length-1]=="function"&&(e=t.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((n,...r)=>s!==this._queue[0]?void 0:(n!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),e&&e(n)):(this._queue.shift(),e&&e(null,...r)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const e=this._queue[0];e.pending&&!t||(e.pending=!0,e.tryCount++,this.flags=e.flags,this.emit.apply(this,e.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:c.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,e){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,e),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(s=>String(s.id)===t)){const s=this.acks[t];delete this.acks[t],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case c.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case c.EVENT:case c.BINARY_EVENT:this.onevent(t);break;case c.ACK:case c.BINARY_ACK:this.onack(t);break;case c.DISCONNECT:this.ondisconnect();break;case c.CONNECT_ERROR:this.destroy();const s=new Error(t.data.message);s.data=t.data.data,this.emitReserved("connect_error",s);break}}onevent(t){const e=t.data||[];t.id!=null&&e.push(this.ack(t.id)),this.connected?this.emitEvent(e):this.receiveBuffer.push(Object.freeze(e))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const e=this._anyListeners.slice();for(const s of e)s.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const e=this;let s=!1;return function(...n){s||(s=!0,e.packet({type:c.ACK,id:t,data:n}))}}onack(t){const e=this.acks[t.id];typeof e=="function"&&(delete this.acks[t.id],e.withError&&t.data.unshift(null),e.apply(this,t.data))}onconnect(t,e){this.id=t,this.recovered=e&&this._pid===e,this._pid=e,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:c.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const e=this._anyListeners;for(let s=0;s<e.length;s++)if(t===e[s])return e.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const e=this._anyOutgoingListeners;for(let s=0;s<e.length;s++)if(t===e[s])return e.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const e=this._anyOutgoingListeners.slice();for(const s of e)s.apply(this,t.data)}}}function u(i){i=i||{},this.ms=i.min||100,this.max=i.max||1e4,this.factor=i.factor||2,this.jitter=i.jitter>0&&i.jitter<=1?i.jitter:0,this.attempts=0}u.prototype.duration=function(){var i=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),e=Math.floor(t*this.jitter*i);i=Math.floor(t*10)&1?i+e:i-e}return Math.min(i,this.max)|0};u.prototype.reset=function(){this.attempts=0};u.prototype.setMin=function(i){this.ms=i};u.prototype.setMax=function(i){this.max=i};u.prototype.setJitter=function(i){this.jitter=i};class p extends m{constructor(t,e){var s;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(e=t,t=void 0),e=e||{},e.path=e.path||"/socket.io",this.opts=e,g(this,e),this.reconnection(e.reconnection!==!1),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor((s=e.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new u({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(e.timeout==null?2e4:e.timeout),this._readyState="closed",this.uri=t;const n=e.parser||v;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this._autoConnect=e.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var e;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(e=this.backoff)===null||e===void 0||e.setMin(t),this)}randomizationFactor(t){var e;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(e=this.backoff)===null||e===void 0||e.setJitter(t),this)}reconnectionDelayMax(t){var e;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(e=this.backoff)===null||e===void 0||e.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new k(this.uri,this.opts);const e=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const n=a(e,"open",function(){s.onopen(),t&&t()}),r=o=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",o),t?t(o):this.maybeReconnectOnOpen()},h=a(e,"error",r);if(this._timeout!==!1){const o=this._timeout,f=this.setTimeoutFn(()=>{n(),r(new Error("timeout")),e.close()},o);this.opts.autoUnref&&f.unref(),this.subs.push(()=>{this.clearTimeoutFn(f)})}return this.subs.push(n),this.subs.push(h),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(a(t,"ping",this.onping.bind(this)),a(t,"data",this.ondata.bind(this)),a(t,"error",this.onerror.bind(this)),a(t,"close",this.onclose.bind(this)),a(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(e){this.onclose("parse error",e)}}ondecoded(t){b(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,e){let s=this.nsps[t];return s?this._autoConnect&&!s.active&&s.connect():(s=new _(this,t,e),this.nsps[t]=s),s}_destroy(t){const e=Object.keys(this.nsps);for(const s of e)if(this.nsps[s].active)return;this._close()}_packet(t){const e=this.encoder.encode(t);for(let s=0;s<e.length;s++)this.engine.write(e[s],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,e){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,e),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const e=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(n=>{n?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",n)):t.onreconnect()}))},e);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const d={};function l(i,t){typeof i=="object"&&(t=i,i=void 0),t=t||{};const e=O(i,t.path||"/socket.io"),s=e.source,n=e.id,r=e.path,h=d[n]&&r in d[n].nsps,o=t.forceNew||t["force new connection"]||t.multiplex===!1||h;let f;return o?f=new p(s,t):(d[n]||(d[n]=new p(s,t)),f=d[n]),e.query&&!t.query&&(t.query=e.queryKey),f.socket(e.path,t)}Object.assign(l,{Manager:p,Socket:_,io:l,connect:l});export{p as M};
|
|
1
|
+
import{p as y,i as g,S as k,n as b}from"./engine.io-client.Ct3XmaZr.0.0.31-alpha.4.js";import"./engine.io-parser.BiEtp6m2.0.0.31-alpha.4.js";import{E as m}from"./@socket.io.Dkula2eQ.0.0.31-alpha.4.js";import{P as c,p as v}from"./socket.io-parser.CREbE98O.0.0.31-alpha.4.js";function O(i,t="",e){let s=i;e=e||typeof location<"u"&&location,i==null&&(i=e.protocol+"//"+e.host),typeof i=="string"&&(i.charAt(0)==="/"&&(i.charAt(1)==="/"?i=e.protocol+i:i=e.host+i),/^(https?|wss?):\/\//.test(i)||(typeof e<"u"?i=e.protocol+"//"+i:i="https://"+i),s=y(i)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const r=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+r+":"+s.port+t,s.href=s.protocol+"://"+r+(e&&e.port===s.port?"":":"+s.port),s}function a(i,t,e){return i.on(t,e),function(){i.off(t,e)}}const E=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class _ extends m{constructor(t,e,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=e,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[a(t,"open",this.onopen.bind(this)),a(t,"packet",this.onpacket.bind(this)),a(t,"error",this.onerror.bind(this)),a(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...e){if(E.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(e.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(e),this;const s={type:c.EVENT,data:e};if(s.options={},s.options.compress=this.flags.compress!==!1,typeof e[e.length-1]=="function"){const h=this.ids++,o=e.pop();this._registerAckCallback(h,o),s.id=h}const n=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!n||!this.connected)||(this.connected?(this.notifyOutgoingListeners(s),this.packet(s)):this.sendBuffer.push(s)),this.flags={},this}_registerAckCallback(t,e){var s;const n=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(n===void 0){this.acks[t]=e;return}const r=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let o=0;o<this.sendBuffer.length;o++)this.sendBuffer[o].id===t&&this.sendBuffer.splice(o,1);e.call(this,new Error("operation has timed out"))},n),h=(...o)=>{this.io.clearTimeoutFn(r),e.apply(this,o)};h.withError=!0,this.acks[t]=h}emitWithAck(t,...e){return new Promise((s,n)=>{const r=(h,o)=>h?n(h):s(o);r.withError=!0,e.push(r),this.emit(t,...e)})}_addToQueue(t){let e;typeof t[t.length-1]=="function"&&(e=t.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((n,...r)=>s!==this._queue[0]?void 0:(n!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),e&&e(n)):(this._queue.shift(),e&&e(null,...r)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const e=this._queue[0];e.pending&&!t||(e.pending=!0,e.tryCount++,this.flags=e.flags,this.emit.apply(this,e.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:c.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,e){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,e),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(s=>String(s.id)===t)){const s=this.acks[t];delete this.acks[t],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case c.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case c.EVENT:case c.BINARY_EVENT:this.onevent(t);break;case c.ACK:case c.BINARY_ACK:this.onack(t);break;case c.DISCONNECT:this.ondisconnect();break;case c.CONNECT_ERROR:this.destroy();const s=new Error(t.data.message);s.data=t.data.data,this.emitReserved("connect_error",s);break}}onevent(t){const e=t.data||[];t.id!=null&&e.push(this.ack(t.id)),this.connected?this.emitEvent(e):this.receiveBuffer.push(Object.freeze(e))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const e=this._anyListeners.slice();for(const s of e)s.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const e=this;let s=!1;return function(...n){s||(s=!0,e.packet({type:c.ACK,id:t,data:n}))}}onack(t){const e=this.acks[t.id];typeof e=="function"&&(delete this.acks[t.id],e.withError&&t.data.unshift(null),e.apply(this,t.data))}onconnect(t,e){this.id=t,this.recovered=e&&this._pid===e,this._pid=e,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:c.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const e=this._anyListeners;for(let s=0;s<e.length;s++)if(t===e[s])return e.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const e=this._anyOutgoingListeners;for(let s=0;s<e.length;s++)if(t===e[s])return e.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const e=this._anyOutgoingListeners.slice();for(const s of e)s.apply(this,t.data)}}}function u(i){i=i||{},this.ms=i.min||100,this.max=i.max||1e4,this.factor=i.factor||2,this.jitter=i.jitter>0&&i.jitter<=1?i.jitter:0,this.attempts=0}u.prototype.duration=function(){var i=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),e=Math.floor(t*this.jitter*i);i=Math.floor(t*10)&1?i+e:i-e}return Math.min(i,this.max)|0};u.prototype.reset=function(){this.attempts=0};u.prototype.setMin=function(i){this.ms=i};u.prototype.setMax=function(i){this.max=i};u.prototype.setJitter=function(i){this.jitter=i};class p extends m{constructor(t,e){var s;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(e=t,t=void 0),e=e||{},e.path=e.path||"/socket.io",this.opts=e,g(this,e),this.reconnection(e.reconnection!==!1),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor((s=e.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new u({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(e.timeout==null?2e4:e.timeout),this._readyState="closed",this.uri=t;const n=e.parser||v;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this._autoConnect=e.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var e;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(e=this.backoff)===null||e===void 0||e.setMin(t),this)}randomizationFactor(t){var e;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(e=this.backoff)===null||e===void 0||e.setJitter(t),this)}reconnectionDelayMax(t){var e;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(e=this.backoff)===null||e===void 0||e.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new k(this.uri,this.opts);const e=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const n=a(e,"open",function(){s.onopen(),t&&t()}),r=o=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",o),t?t(o):this.maybeReconnectOnOpen()},h=a(e,"error",r);if(this._timeout!==!1){const o=this._timeout,f=this.setTimeoutFn(()=>{n(),r(new Error("timeout")),e.close()},o);this.opts.autoUnref&&f.unref(),this.subs.push(()=>{this.clearTimeoutFn(f)})}return this.subs.push(n),this.subs.push(h),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(a(t,"ping",this.onping.bind(this)),a(t,"data",this.ondata.bind(this)),a(t,"error",this.onerror.bind(this)),a(t,"close",this.onclose.bind(this)),a(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(e){this.onclose("parse error",e)}}ondecoded(t){b(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,e){let s=this.nsps[t];return s?this._autoConnect&&!s.active&&s.connect():(s=new _(this,t,e),this.nsps[t]=s),s}_destroy(t){const e=Object.keys(this.nsps);for(const s of e)if(this.nsps[s].active)return;this._close()}_packet(t){const e=this.encoder.encode(t);for(let s=0;s<e.length;s++)this.engine.write(e[s],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,e){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,e),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const e=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(n=>{n?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",n)):t.onreconnect()}))},e);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const d={};function l(i,t){typeof i=="object"&&(t=i,i=void 0),t=t||{};const e=O(i,t.path||"/socket.io"),s=e.source,n=e.id,r=e.path,h=d[n]&&r in d[n].nsps,o=t.forceNew||t["force new connection"]||t.multiplex===!1||h;let f;return o?f=new p(s,t):(d[n]||(d[n]=new p(s,t)),f=d[n]),e.query&&!t.query&&(t.query=e.queryKey),f.socket(e.path,t)}Object.assign(l,{Manager:p,Socket:_,io:l,connect:l});export{p as M};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as N}from"./@socket.io.Dkula2eQ.0.0.31-alpha.
|
|
1
|
+
import{E as N}from"./@socket.io.Dkula2eQ.0.0.31-alpha.4.js";const A=typeof ArrayBuffer=="function",E=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,y=Object.prototype.toString,d=typeof Blob=="function"||typeof Blob<"u"&&y.call(Blob)==="[object BlobConstructor]",g=typeof File=="function"||typeof File<"u"&&y.call(File)==="[object FileConstructor]";function a(e){return A&&(e instanceof ArrayBuffer||E(e))||d&&e instanceof Blob||g&&e instanceof File}function u(e,r){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let t=0,n=e.length;t<n;t++)if(u(e[t]))return!0;return!1}if(a(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return u(e.toJSON(),!0);for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&u(e[t]))return!0;return!1}function w(e){const r=[],t=e.data,n=e;return n.data=f(t,r),n.attachments=r.length,{packet:n,buffers:r}}function f(e,r){if(!e)return e;if(a(e)){const t={_placeholder:!0,num:r.length};return r.push(e),t}else if(Array.isArray(e)){const t=new Array(e.length);for(let n=0;n<e.length;n++)t[n]=f(e[n],r);return t}else if(typeof e=="object"&&!(e instanceof Date)){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=f(e[n],r));return t}return e}function B(e,r){return e.data=l(e.data,r),delete e.attachments,e}function l(e,r){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<r.length)return r[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let t=0;t<e.length;t++)e[t]=l(e[t],r);else if(typeof e=="object")for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(e[t]=l(e[t],r));return e}const C=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],R=5;var i;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(i||(i={}));class O{constructor(r){this.replacer=r}encode(r){return(r.type===i.EVENT||r.type===i.ACK)&&u(r)?this.encodeAsBinary({type:r.type===i.EVENT?i.BINARY_EVENT:i.BINARY_ACK,nsp:r.nsp,data:r.data,id:r.id}):[this.encodeAsString(r)]}encodeAsString(r){let t=""+r.type;return(r.type===i.BINARY_EVENT||r.type===i.BINARY_ACK)&&(t+=r.attachments+"-"),r.nsp&&r.nsp!=="/"&&(t+=r.nsp+","),r.id!=null&&(t+=r.id),r.data!=null&&(t+=JSON.stringify(r.data,this.replacer)),t}encodeAsBinary(r){const t=w(r),n=this.encodeAsString(t.packet),o=t.buffers;return o.unshift(n),o}}function p(e){return Object.prototype.toString.call(e)==="[object Object]"}class h extends N{constructor(r){super(),this.reviver=r}add(r){let t;if(typeof r=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(r);const n=t.type===i.BINARY_EVENT;n||t.type===i.BINARY_ACK?(t.type=n?i.EVENT:i.ACK,this.reconstructor=new m(t),t.attachments===0&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(a(r)||r.base64)if(this.reconstructor)t=this.reconstructor.takeBinaryData(r),t&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+r)}decodeString(r){let t=0;const n={type:Number(r.charAt(0))};if(i[n.type]===void 0)throw new Error("unknown packet type "+n.type);if(n.type===i.BINARY_EVENT||n.type===i.BINARY_ACK){const s=t+1;for(;r.charAt(++t)!=="-"&&t!=r.length;);const c=r.substring(s,t);if(c!=Number(c)||r.charAt(t)!=="-")throw new Error("Illegal attachments");n.attachments=Number(c)}if(r.charAt(t+1)==="/"){const s=t+1;for(;++t&&!(r.charAt(t)===","||t===r.length););n.nsp=r.substring(s,t)}else n.nsp="/";const o=r.charAt(t+1);if(o!==""&&Number(o)==o){const s=t+1;for(;++t;){const c=r.charAt(t);if(c==null||Number(c)!=c){--t;break}if(t===r.length)break}n.id=Number(r.substring(s,t+1))}if(r.charAt(++t)){const s=this.tryParse(r.substr(t));if(h.isPayloadValid(n.type,s))n.data=s;else throw new Error("invalid payload")}return n}tryParse(r){try{return JSON.parse(r,this.reviver)}catch{return!1}}static isPayloadValid(r,t){switch(r){case i.CONNECT:return p(t);case i.DISCONNECT:return t===void 0;case i.CONNECT_ERROR:return typeof t=="string"||p(t);case i.EVENT:case i.BINARY_EVENT:return Array.isArray(t)&&(typeof t[0]=="number"||typeof t[0]=="string"&&C.indexOf(t[0])===-1);case i.ACK:case i.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class m{constructor(r){this.packet=r,this.buffers=[],this.reconPack=r}takeBinaryData(r){if(this.buffers.push(r),this.buffers.length===this.reconPack.attachments){const t=B(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const V=Object.freeze(Object.defineProperty({__proto__:null,Decoder:h,Encoder:O,get PacketType(){return i},protocol:R},Symbol.toStringTag,{value:"Module"}));export{i as P,V as p};
|
package/dist/interface/sw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
if(!self.define){let a,e={};const s=(s,l)=>(s=new URL(s+".js",l).href,e[s]||new Promise((e=>{if("document"in self){const a=document.createElement("script");a.src=s,a.onload=e,document.head.appendChild(a)}else a=s,importScripts(s),e()})).then((()=>{let a=e[s];if(!a)throw new Error(`Module ${s} didn’t register its module`);return a})));self.define=(l,p)=>{const r=a||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let i={};const c=a=>s(a,r),d={module:{uri:r},exports:i,require:c};e[r]=Promise.all(l.map((a=>d[a]||c(a)))).then((a=>(p(...a),i)))}}define(["./workbox-3e911b1d"],(function(a){"use strict";self.skipWaiting(),a.clientsClaim(),a.precacheAndRoute([{url:"@babel.l0sNRNKZ.0.0.31-alpha.2.js",revision:"68b329da9893e34099c7d8ad5cb9c940"},{url:"@camera.ui.DiVLAlWa.0.0.31-alpha.2.js",revision:"2f746427cc944c18b56a8ad8e9e98139"},{url:"@intlify.D-zKcAzQ.0.0.31-alpha.2.js",revision:"bc5069acccd272e222bec1ed8cb96de2"},{url:"@mdi.DVdKciOk.0.0.31-alpha.2.js",revision:"679077bd75b6bd84bfb20ce2df81d6a4"},{url:"@popperjs.BQBsAJpH.0.0.31-alpha.2.js",revision:"4722cea349460dfc2ca343a542741ad2"},{url:"@react-dnd.CcwRs9xb.0.0.31-alpha.2.js",revision:"e298c89abc766898ace2a2e2546456c4"},{url:"@socket.io.Dkula2eQ.0.0.31-alpha.2.js",revision:"0ec353facc7dccc0a8bdec7158d33d6a"},{url:"@tanstack.x_Q3Nj6h.0.0.31-alpha.2.js",revision:"2d8bd05b42496b0423b43d3a7bc000fa"},{url:"@vee-validate.z9o4QOgP.0.0.31-alpha.2.js",revision:"656b5ddf2bb86089d158644cc7317825"},{url:"@vue.DawUEI-_.0.0.31-alpha.2.js",revision:"b7e697d9104e0743a344d8213d6244a2"},{url:"@vueform.C6mapDfj.0.0.31-alpha.2.js",revision:"ed319363be163bcea2b6f39d50fcea8f"},{url:"@vueuse.3bba2al7.0.0.31-alpha.2.js",revision:"7cb2d5dd4115a9c4903407bc004a8143"},{url:"@xterm.ByN7UyPo.0.0.31-alpha.2.js",revision:"a59fe338fd101774672d1f72c63a06d1"},{url:"Account.D0b6iR5f.0.0.31-alpha.2.js",revision:"ce3349e964d740b65992aba6be0c2d24"},{url:"ace-builds.BtdsJHeG.0.0.31-alpha.2.js",revision:"c03d18eb44c03b62d7980cf1c3884534"},{url:"Adminpanel.3e7Ylz21.0.0.31-alpha.2.js",revision:"2db5f7e2bb67d75722990eba5afe3269"},{url:"apexcharts.CI-IzyYP.0.0.31-alpha.2.js",revision:"f83d1ccb60a0362ef937ce1535739f4b"},{url:"Appearance.BYifp2UX.0.0.31-alpha.2.js",revision:"f2c94a6b7a9d5eae3c23a2ec5dc4f13e"},{url:"assets/@vueform.0.0.31-alpha.2.h7tNX9p6.css",revision:null},{url:"assets/@xterm.0.0.31-alpha.2.CGrrDQr5.css",revision:null},{url:"assets/Account.0.0.31-alpha.2.Ce3OmKrC.css",revision:null},{url:"assets/Adminpanel.0.0.31-alpha.2.CXsTAXPL.css",revision:null},{url:"assets/Backup.0.0.31-alpha.2.BIwaSlv3.css",revision:null},{url:"assets/Camera.0.0.31-alpha.2.BDtUJ-lA.css",revision:null},{url:"assets/Cameras.0.0.31-alpha.2.Djx0F2MM.css",revision:null},{url:"assets/Camview.0.0.31-alpha.2.Ce_V-Nxj.css",revision:null},{url:"assets/Config.0.0.31-alpha.2.xOTKGJ5Y.css",revision:null},{url:"assets/Console.0.0.31-alpha.2.DWrfRWs9.css",revision:null},{url:"assets/FirstSteps.0.0.31-alpha.2.CCo2y-sU.css",revision:null},{url:"assets/highlight.0.0.31-alpha.2.DgoK_Xib.css",revision:null},{url:"assets/logo-256.0.0.31-alpha.2.BCQk9H1-.png",revision:null},{url:"assets/logo-512.0.0.31-alpha.2.DLKVOU2S.png",revision:null},{url:"assets/logo.0.0.31-alpha.2.DmEiRk0z.png",revision:null},{url:"assets/main.0.0.31-alpha.2.CqDyfc1x.css",revision:null},{url:"assets/mode-json.0.0.31-alpha.2.Br7xisR1.js",revision:null},{url:"assets/mode-yaml.0.0.31-alpha.2.CIYL8U3d.js",revision:null},{url:"assets/NewCamera.0.0.31-alpha.2.BWK7TkdY.css",revision:null},{url:"assets/Plugin.0.0.31-alpha.2.BtRA6zDt.css",revision:null},{url:"assets/Plugins.0.0.31-alpha.2.Cwu0aGUO.css",revision:null},{url:"assets/Settings.0.0.31-alpha.2.DC_-E3CR.css",revision:null},{url:"assets/User.0.0.31-alpha.2.DPDcJbx8.css",revision:null},{url:"assets/v-calendar.0.0.31-alpha.2.CtSuDYZU.css",revision:null},{url:"assets/VConsole.0.0.31-alpha.2.BZT1WyS-.css",revision:null},{url:"assets/VPlayer.0.0.31-alpha.2.BQMP8JwH.css",revision:null},{url:"assets/VPluginCard.0.0.31-alpha.2.CyNvwFGk.css",revision:null},{url:"assets/vue3-toastify.0.0.31-alpha.2.DTY1DMRs.css",revision:null},{url:"assets/vuetify.0.0.31-alpha.2.Cd1awv3t.css",revision:null},{url:"axios.C-n2IhIP.0.0.31-alpha.2.js",revision:"19fe14a63649f72cc75f4abe8ed279c2"},{url:"Backup.DyTLSuxS.0.0.31-alpha.2.js",revision:"8d0483d32999e9c260761ec96bc410d8"},{url:"Camera.Bi26Q1iM.0.0.31-alpha.2.js",revision:"ec2a0ed1d8ab21e1ccac0c5cada964ea"},{url:"Cameras.uBDPd1DA.0.0.31-alpha.2.js",revision:"4190f8d24a7c58c4d20a60b0bdf988b4"},{url:"Camview.CewbOu75.0.0.31-alpha.2.js",revision:"59d6ac3ee797aa1f724b9c49a7deb048"},{url:"compare-versions.DqEOhma6.0.0.31-alpha.2.js",revision:"975622890c8c52cc08cae5b40261000a"},{url:"Config.CRuEOy3i.0.0.31-alpha.2.js",revision:"8a2ef6a1133910aef4d2d19374d0d008"},{url:"Console.wrKA6SV-.0.0.31-alpha.2.js",revision:"608785a05a2a10729e5d2e3945f8a59a"},{url:"dijkstrajs.D_NXgYpA.0.0.31-alpha.2.js",revision:"aa5b0e41e1694409c5bed3fabdbde57a"},{url:"dnd-core.D5pBWNob.0.0.31-alpha.2.js",revision:"2e49a569611e369af03dfa4c4d58eb9a"},{url:"draggabilly.CHohgav6.0.0.31-alpha.2.js",revision:"9403902edbecde8ec449f2ea5adfd50b"},{url:"engine.io-client.DEhtuV4o.0.0.31-alpha.2.js",revision:"d7367b9d8504501d401ae91b62bb66f3"},{url:"engine.io-parser.BiEtp6m2.0.0.31-alpha.2.js",revision:"624d075c84ba49aa6891e0e229436a78"},{url:"entities.C20TfXL6.0.0.31-alpha.2.js",revision:"5c9d5aea88d983e506b4a6b8e61c7ec7"},{url:"ev-emitter.BBakFQKp.0.0.31-alpha.2.js",revision:"2f99d8956432dad275039b6404520500"},{url:"fast-deep-equal.D84cnreE.0.0.31-alpha.2.js",revision:"23fe25310589f1b7d8fba587467d73f1"},{url:"FirstSteps.DmSeEIyY.0.0.31-alpha.2.js",revision:"9c7b0903188daa9e18272b05a6e99e27"},{url:"fonts/Inter/Inter-Regular.ttf",revision:"ea5879884a95551632e9eb1bba5b2128"},{url:"get-size.D1dS-IaP.0.0.31-alpha.2.js",revision:"d4a71c826a3f2a12a7cdea735caa7da1"},{url:"highlight.js.C_JoIJXJ.0.0.31-alpha.2.js",revision:"39d590bef3e270e569536cbd02bb33bc"},{url:"index.html",revision:"0b0f7894258d2490c93dbef29d39383e"},{url:"linkify-it.C7EWLmzP.0.0.31-alpha.2.js",revision:"007220e7a44b34fc9e4cf37bd93a1859"},{url:"main.0dhw2k10.0.0.31-alpha.2.js",revision:"6b2f61e2dc32ecb000ff30bfa64d9487"},{url:"markdown-it.CRy2M8lR.0.0.31-alpha.2.js",revision:"d682001e4445cdb5d5512717ebbace0b"},{url:"mdurl.k9Sl0PQj.0.0.31-alpha.2.js",revision:"0b8be71b53641e6e0706ab65af2abe93"},{url:"NewCamera.DTcV05fX.0.0.31-alpha.2.js",revision:"3b7968c426564fac636e34e84713d06c"},{url:"nprogress.IiPMBi2X.0.0.31-alpha.2.js",revision:"b2e58a035a8afe0a88d2d19443ba5454"},{url:"pinia.DpM2zEj0.0.0.31-alpha.2.js",revision:"bd34cb586d9a4cab6bb69728c1fb8129"},{url:"Plugin.Dr9kr8u0.0.0.31-alpha.2.js",revision:"001d9a67bf5fd7cc53c34a8509c25d60"},{url:"plugins.BKAnxV9o.0.0.31-alpha.2.js",revision:"de85683f9c4153b719e89a08624dbfcc"},{url:"Plugins.DanHsI2P.0.0.31-alpha.2.js",revision:"e1c7327bf195b7b30266f649ec7d3ded"},{url:"punycode.js.Dj65hjkv.0.0.31-alpha.2.js",revision:"f1d63c51dc6b145df21082b261e02a24"},{url:"pwa/apple-splash-landscape-dark-1136x640.png",revision:"c6b193de9bd234c81fdea1d28fe7b88c"},{url:"pwa/apple-splash-landscape-dark-1334x750.png",revision:"d82dd37eb2bdf815c1e2ab367134cbbf"},{url:"pwa/apple-splash-landscape-dark-1792x828.png",revision:"281d292ea4448638bb250a3fca5f5f44"},{url:"pwa/apple-splash-landscape-dark-2048x1536.png",revision:"70f0181b7e075e3b64e261c4d4e3eada"},{url:"pwa/apple-splash-landscape-dark-2160x1620.png",revision:"ee54046f738fe4346d7febbfaa711244"},{url:"pwa/apple-splash-landscape-dark-2208x1242.png",revision:"2989b9f038112f8eed3694fa53b86e6a"},{url:"pwa/apple-splash-landscape-dark-2224x1668.png",revision:"1144751415d9c1f3d1bc34407b9a9539"},{url:"pwa/apple-splash-landscape-dark-2388x1668.png",revision:"e17cbe3b198574eb6fc822c17e22d935"},{url:"pwa/apple-splash-landscape-dark-2436x1125.png",revision:"85613cc4f5040791ef13e4b2a1ecc840"},{url:"pwa/apple-splash-landscape-dark-2532x1170.png",revision:"b89d280148f1bcb816c6364c37daefb6"},{url:"pwa/apple-splash-landscape-dark-2556x1179.png",revision:"02e2914d36b2aaf6da02799414a23738"},{url:"pwa/apple-splash-landscape-dark-2688x1242.png",revision:"dcd13ed9567fa4d98867f5c97cc89695"},{url:"pwa/apple-splash-landscape-dark-2732x2048.png",revision:"dc9fbb966dfc3350466279749c2946d7"},{url:"pwa/apple-splash-landscape-dark-2778x1284.png",revision:"19d1e7a02d9edd3354c61b7c54ea9c1e"},{url:"pwa/apple-splash-landscape-dark-2796x1290.png",revision:"22b9597a28c081730e3430e467b4e36d"},{url:"pwa/apple-splash-landscape-light-1136x640.png",revision:"c9b4c38f0a267051c0c83cc92c0f5767"},{url:"pwa/apple-splash-landscape-light-1334x750.png",revision:"f513cdc13ffaf0c2a82bb207e2a9a397"},{url:"pwa/apple-splash-landscape-light-1792x828.png",revision:"c6e29d789061fc48eb9f3a54cb1950be"},{url:"pwa/apple-splash-landscape-light-2048x1536.png",revision:"1b27b72b070b260eceeaab092a82663d"},{url:"pwa/apple-splash-landscape-light-2160x1620.png",revision:"31ac689a78386cf844e33f10fd5d2029"},{url:"pwa/apple-splash-landscape-light-2208x1242.png",revision:"653857094b0c183908571fea1aed7b2f"},{url:"pwa/apple-splash-landscape-light-2224x1668.png",revision:"ecf0efece27d70815f7401f7f3e40a24"},{url:"pwa/apple-splash-landscape-light-2388x1668.png",revision:"3733608412963cb747e32b2790013523"},{url:"pwa/apple-splash-landscape-light-2436x1125.png",revision:"459b9c158b3a52222787d00a276baa21"},{url:"pwa/apple-splash-landscape-light-2532x1170.png",revision:"b9e11e5a3435cf159f240b5f6da5dc76"},{url:"pwa/apple-splash-landscape-light-2556x1179.png",revision:"3f0efc9e8de850ae5d3a72a158d39055"},{url:"pwa/apple-splash-landscape-light-2688x1242.png",revision:"3757f5338eb50c9f6fb8ad0d72597465"},{url:"pwa/apple-splash-landscape-light-2732x2048.png",revision:"0e5ec355113efe5ce253583209a64bb8"},{url:"pwa/apple-splash-landscape-light-2778x1284.png",revision:"95d2479cf715c2ea0104fd5f55fa62b3"},{url:"pwa/apple-splash-landscape-light-2796x1290.png",revision:"a46e458259177e134ad383d133b29774"},{url:"pwa/apple-splash-portrait-dark-1125x2436.png",revision:"53ddd8644a89bfc79c8d1bfbaa51527b"},{url:"pwa/apple-splash-portrait-dark-1170x2532.png",revision:"476ac5131289040d8d88803c18dc20bb"},{url:"pwa/apple-splash-portrait-dark-1179x2556.png",revision:"8eac224083023d0d21374d9f9087bab5"},{url:"pwa/apple-splash-portrait-dark-1242x2208.png",revision:"1b7f03eaab3cf8af8aa6057fd97278d8"},{url:"pwa/apple-splash-portrait-dark-1242x2688.png",revision:"c56eb0a4a8b4c7bb850cbfc35dd62bba"},{url:"pwa/apple-splash-portrait-dark-1284x2778.png",revision:"d7230994de3c4c6016ac252431031ea7"},{url:"pwa/apple-splash-portrait-dark-1290x2796.png",revision:"e7f2a468891736413b1e0622a510fd5a"},{url:"pwa/apple-splash-portrait-dark-1536x2048.png",revision:"0b26c0a578f6b13b3df06abecc81fb82"},{url:"pwa/apple-splash-portrait-dark-1620x2160.png",revision:"1a9f84fba88d4cd5924cf5a39d541b46"},{url:"pwa/apple-splash-portrait-dark-1668x2224.png",revision:"1e7b39c9f5fdca7ddf23c1248f7628bf"},{url:"pwa/apple-splash-portrait-dark-1668x2388.png",revision:"fb7fb372580598abf8a1d8eb7305462a"},{url:"pwa/apple-splash-portrait-dark-2048x2732.png",revision:"60acb5fbde5bb76a368238c5e079c717"},{url:"pwa/apple-splash-portrait-dark-640x1136.png",revision:"b901a6f04ef976aa81573ec0f3c8f32b"},{url:"pwa/apple-splash-portrait-dark-750x1334.png",revision:"54f99ba556f7cc149eb03fe6207d411d"},{url:"pwa/apple-splash-portrait-dark-828x1792.png",revision:"543d10f74f6f098e49ba989899182dee"},{url:"pwa/apple-splash-portrait-light-1125x2436.png",revision:"1a02e33add13bccc9f407efcfd2cf890"},{url:"pwa/apple-splash-portrait-light-1170x2532.png",revision:"58d656b4de9b32a09fc2ea1028116dfb"},{url:"pwa/apple-splash-portrait-light-1179x2556.png",revision:"8d1fc622bdb48dda2461e4f47a49249a"},{url:"pwa/apple-splash-portrait-light-1242x2208.png",revision:"8fd1367cac03e5798973cfa4e0dec5b0"},{url:"pwa/apple-splash-portrait-light-1242x2688.png",revision:"2b320f74bc7da7bf0d1be699183416c3"},{url:"pwa/apple-splash-portrait-light-1284x2778.png",revision:"461b13cf0d9c293ca220700bb4148afa"},{url:"pwa/apple-splash-portrait-light-1290x2796.png",revision:"d57711837cf7e3801a9e8126b1695aaa"},{url:"pwa/apple-splash-portrait-light-1536x2048.png",revision:"42716fc23cfa58d3f154fea1875eb3f5"},{url:"pwa/apple-splash-portrait-light-1620x2160.png",revision:"41bdc2c492d374bf8c6b6875e2beb9f1"},{url:"pwa/apple-splash-portrait-light-1668x2224.png",revision:"a1b5adab2a71d0fa646e7b0e9a4fcb71"},{url:"pwa/apple-splash-portrait-light-1668x2388.png",revision:"5db134deca3d2e8a1ae2d8e67c77c420"},{url:"pwa/apple-splash-portrait-light-2048x2732.png",revision:"cf9c75c2e56f8d3af7d914a00ce30286"},{url:"pwa/apple-splash-portrait-light-640x1136.png",revision:"588e312fd0851d5767972a1efc33e6a3"},{url:"pwa/apple-splash-portrait-light-750x1334.png",revision:"191c785b1e7b47ac1b1d6bc2a84bde85"},{url:"pwa/apple-splash-portrait-light-828x1792.png",revision:"8deb1063185df6a2d3089a9fa33f6ad1"},{url:"pwa/apple-touch-icon-180x180.png",revision:"91aec7b3a553812fbd3cd72adb17fcc4"},{url:"pwa/favicon-16.ico",revision:"163ae861c5ab9f68ed21324c19dfe35d"},{url:"pwa/favicon-32.ico",revision:"874b054da3800e7c320445396a49de81"},{url:"pwa/favicon-48.ico",revision:"ae2747aeae28b34eed33001c91ec2f3b"},{url:"pwa/favicon-64.ico",revision:"6a697d7662ab5ee246918cdc7c412343"},{url:"pwa/logo.svg",revision:"1aa262f4a37293a91083eea10794d2ca"},{url:"pwa/maskable-icon-1240x600.png",revision:"f3188c7d8e5038f28068c7a3632dbe4b"},{url:"pwa/maskable-icon-512x512.png",revision:"e716feaa60f08d95d0909e1c85bf1f98"},{url:"pwa/maskable-icon-620x300.png",revision:"b4954ceadf0d6f2095c45f8cc8240337"},{url:"pwa/pwa-1024x1024.png",revision:"1ed367ae76416e79fd0bdd6ee70666bc"},{url:"pwa/pwa-120x120.png",revision:"175a8b2a87b2cf94e565bdc25c02fce5"},{url:"pwa/pwa-144x144.png",revision:"410fd64d91409651a78e919aaaeddc6f"},{url:"pwa/pwa-152x152.png",revision:"e5643254c6ba42265ed3fde32aa8c761"},{url:"pwa/pwa-167x167.png",revision:"5d40691f4730d994d3c41deee8f85069"},{url:"pwa/pwa-180x180.png",revision:"225b42752632e2866c4f8fe4ab2f62ee"},{url:"pwa/pwa-192x192.png",revision:"7c901e9320ceb5d8b2600a78f43c7e57"},{url:"pwa/pwa-24x24.png",revision:"7ff01bafee85576e0fa4031236d86a40"},{url:"pwa/pwa-300x300.png",revision:"7f79d74e34aedef57c98a1c9c156ba6b"},{url:"pwa/pwa-36x36.png",revision:"0f71716675fc2aadc7c626276f3fbe84"},{url:"pwa/pwa-48x48.png",revision:"64024afa06dfb1cef0bdf334c974638e"},{url:"pwa/pwa-50x50.png",revision:"cf45f3da900491a0d6c3a0e14bc266ce"},{url:"pwa/pwa-64x64.png",revision:"47b54ca9f30a7f31cc01057b524136cd"},{url:"pwa/pwa-72x72.png",revision:"725df23728f46846d52df805bf8c8d49"},{url:"pwa/pwa-88x88.png",revision:"3a846d3c7fc8f1fff7f68bbdc4c7ace3"},{url:"pwa/pwa-96x96.png",revision:"4b6e0a468b365c03904122fa15394e9e"},{url:"qrcode.V95EYEat.0.0.31-alpha.2.js",revision:"89c1a848c073de859545d2c71eae984d"},{url:"react-dnd-html5-backend.1HQjlkwI.0.0.31-alpha.2.js",revision:"75632bc200537797d2c878cacede62a5"},{url:"react-dnd-touch-backend.BgH_R4pT.0.0.31-alpha.2.js",revision:"b3a85dd713cd896e81657925c9d3014f"},{url:"Recordings.Bworv3Rf.0.0.31-alpha.2.js",revision:"3c434981ab0d4ba8b8280f3491f8c0ff"},{url:"Recordings.Dkh2fRm3.0.0.31-alpha.2.js",revision:"5b584d21aa5d15f1fa9e7a359362c20e"},{url:"redux.CuxFRhX_.0.0.31-alpha.2.js",revision:"0fb9d1a1041755430923c52117ee1e4b"},{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"robots.txt",revision:"f77c87f977e0fcce05a6df46c885a129"},{url:"rxjs.BlXFYoWE.0.0.31-alpha.2.js",revision:"e4dd70d12dda0273686684a637a2e3e1"},{url:"Settings.D20E-DFW.0.0.31-alpha.2.js",revision:"cf80c11a1471e2cbaf38dba5496a5e0d"},{url:"socket.io-client.B54E9c8s.0.0.31-alpha.2.js",revision:"959b99b1640677e6ff746d591b76e3ed"},{url:"socket.io-parser.DU0H2ONq.0.0.31-alpha.2.js",revision:"816f22497e9b5e97747d3a533b65cb61"},{url:"System.Bj23UM1d.0.0.31-alpha.2.js",revision:"61f3274a4fe4514fe39cbc0524c0c532"},{url:"system.D6RwZr3K.0.0.31-alpha.2.js",revision:"416af2e37625e801a7602f4db3ef9ad2"},{url:"tslib.9k7AwCpt.0.0.31-alpha.2.js",revision:"1c62ff7f1693c3ed04fd51c1e62f776f"},{url:"types.Cz9TaZAP.0.0.31-alpha.2.js",revision:"6651b30bd060dade2f1c3730202c508c"},{url:"uc.micro.kMc2yuuw.0.0.31-alpha.2.js",revision:"b6324b1a6b3dbbd69ffcb57015217b4a"},{url:"ui.CsjklSmH.0.0.31-alpha.2.js",revision:"63d22ec292b2e598c6f4e11df23b1ed9"},{url:"unidragger.DTsyKbBA.0.0.31-alpha.2.js",revision:"d5319fb0ffa18055034d0058f45db78d"},{url:"User.C4CMARUw.0.0.31-alpha.2.js",revision:"901284c405b19fa97eabf36d051cc87a"},{url:"utils.mAKpSMLY.0.0.31-alpha.2.js",revision:"c5d20a1a0605a78b11d5fe60abe5ab70"},{url:"uuid.DvF23Exx.0.0.31-alpha.2.js",revision:"a256a1ba1ffec8623c41723b4de020c1"},{url:"v-calendar.8nad-306.0.0.31-alpha.2.js",revision:"1c45bf325d31cafc758cf8b67a460782"},{url:"VConfigEditor.vue_vue_type_script_setup_true_lang.DCkz0ScZ.0.0.31-alpha.2.js",revision:"d787a6368d4758b1635693d7103b923f"},{url:"VConsole.DxZubA5b.0.0.31-alpha.2.js",revision:"db7f0de27cbd92b5890e6e71f056a1da"},{url:"vee-validate.DHH7oAn8.0.0.31-alpha.2.js",revision:"521879dc5a51259a2ec2f22627cbfcb7"},{url:"VPlayer.DVDPrRrw.0.0.31-alpha.2.js",revision:"55f366360a2c3667de16c6024abaed12"},{url:"VPluginCard.DCBVHiKt.0.0.31-alpha.2.js",revision:"c56f41c61e7dc9919a907c53e5c122bf"},{url:"vue-i18n.DFXDQN1x.0.0.31-alpha.2.js",revision:"7f4b8ba1bec9d41e1b3078e8459ebdca"},{url:"vue-inline-svg.B5DFkaVE.0.0.31-alpha.2.js",revision:"e717074cc202ef3725d027fd7993ae97"},{url:"vue-router.Dwlkeoka.0.0.31-alpha.2.js",revision:"e207c3b4fd2ccbba6a7e92b404839b90"},{url:"vue.l0sNRNKZ.0.0.31-alpha.2.js",revision:"68b329da9893e34099c7d8ad5cb9c940"},{url:"vue3-apexcharts.m93iPQ1O.0.0.31-alpha.2.js",revision:"914751a88179fe672ef31dd38415a62d"},{url:"vue3-dnd.CSPHLovD.0.0.31-alpha.2.js",revision:"a98e9fa433e218e62328bf31e37e1f0a"},{url:"vue3-toastify.B3S_WDRN.0.0.31-alpha.2.js",revision:"e21607fc3ac2cfe34eaa8cdb666abefe"},{url:"vuetify.DSpravLa.0.0.31-alpha.2.js",revision:"8fb5a19c18d4b119c896424db55dcc32"},{url:"zod.DnW1_kUe.0.0.31-alpha.2.js",revision:"96742c2bb8ffd5e9ac68834362d33838"},{url:"pwa/maskable-icon-1240x600.png",revision:"f3188c7d8e5038f28068c7a3632dbe4b"},{url:"pwa/maskable-icon-512x512.png",revision:"e716feaa60f08d95d0909e1c85bf1f98"},{url:"pwa/maskable-icon-620x300.png",revision:"b4954ceadf0d6f2095c45f8cc8240337"},{url:"pwa/pwa-1024x1024.png",revision:"1ed367ae76416e79fd0bdd6ee70666bc"},{url:"pwa/pwa-120x120.png",revision:"175a8b2a87b2cf94e565bdc25c02fce5"},{url:"pwa/pwa-144x144.png",revision:"410fd64d91409651a78e919aaaeddc6f"},{url:"pwa/pwa-152x152.png",revision:"e5643254c6ba42265ed3fde32aa8c761"},{url:"pwa/pwa-167x167.png",revision:"5d40691f4730d994d3c41deee8f85069"},{url:"pwa/pwa-180x180.png",revision:"225b42752632e2866c4f8fe4ab2f62ee"},{url:"pwa/pwa-192x192.png",revision:"7c901e9320ceb5d8b2600a78f43c7e57"},{url:"pwa/pwa-24x24.png",revision:"7ff01bafee85576e0fa4031236d86a40"},{url:"pwa/pwa-300x300.png",revision:"7f79d74e34aedef57c98a1c9c156ba6b"},{url:"pwa/pwa-36x36.png",revision:"0f71716675fc2aadc7c626276f3fbe84"},{url:"pwa/pwa-48x48.png",revision:"64024afa06dfb1cef0bdf334c974638e"},{url:"pwa/pwa-50x50.png",revision:"cf45f3da900491a0d6c3a0e14bc266ce"},{url:"pwa/pwa-64x64.png",revision:"47b54ca9f30a7f31cc01057b524136cd"},{url:"pwa/pwa-72x72.png",revision:"725df23728f46846d52df805bf8c8d49"},{url:"pwa/pwa-88x88.png",revision:"3a846d3c7fc8f1fff7f68bbdc4c7ace3"},{url:"pwa/pwa-96x96.png",revision:"4b6e0a468b365c03904122fa15394e9e"},{url:"manifest.webmanifest",revision:"ad90fad55e9565ed75e1d264f1ad5f24"}],{}),a.cleanupOutdatedCaches(),a.registerRoute(new a.NavigationRoute(a.createHandlerBoundToURL("index.html")))}));
|
|
1
|
+
if(!self.define){let a,e={};const s=(s,l)=>(s=new URL(s+".js",l).href,e[s]||new Promise((e=>{if("document"in self){const a=document.createElement("script");a.src=s,a.onload=e,document.head.appendChild(a)}else a=s,importScripts(s),e()})).then((()=>{let a=e[s];if(!a)throw new Error(`Module ${s} didn’t register its module`);return a})));self.define=(l,p)=>{const i=a||("document"in self?document.currentScript.src:"")||location.href;if(e[i])return;let r={};const c=a=>s(a,i),d={module:{uri:i},exports:r,require:c};e[i]=Promise.all(l.map((a=>d[a]||c(a)))).then((a=>(p(...a),r)))}}define(["./workbox-3e911b1d"],(function(a){"use strict";self.skipWaiting(),a.clientsClaim(),a.precacheAndRoute([{url:"@babel.l0sNRNKZ.0.0.31-alpha.4.js",revision:"68b329da9893e34099c7d8ad5cb9c940"},{url:"@camera.ui.DiVLAlWa.0.0.31-alpha.4.js",revision:"2f746427cc944c18b56a8ad8e9e98139"},{url:"@intlify.Jdj6PDCT.0.0.31-alpha.4.js",revision:"e86fee7469c1cd17749bcdaa9ac58a66"},{url:"@mdi.DVdKciOk.0.0.31-alpha.4.js",revision:"679077bd75b6bd84bfb20ce2df81d6a4"},{url:"@popperjs.BQBsAJpH.0.0.31-alpha.4.js",revision:"4722cea349460dfc2ca343a542741ad2"},{url:"@react-dnd.CcwRs9xb.0.0.31-alpha.4.js",revision:"e298c89abc766898ace2a2e2546456c4"},{url:"@socket.io.Dkula2eQ.0.0.31-alpha.4.js",revision:"0ec353facc7dccc0a8bdec7158d33d6a"},{url:"@tanstack.u9j0vFG7.0.0.31-alpha.4.js",revision:"cb82e1081d98bdf0d4962c9be68e0808"},{url:"@vee-validate.CeTK5aSi.0.0.31-alpha.4.js",revision:"cb7ed157cf30bc22f8e5d0a1454cec93"},{url:"@vue.BH6Bo0Pn.0.0.31-alpha.4.js",revision:"2c3bed9a8d3d24920f8bca6716baa4f6"},{url:"@vueform.BK0SRdZT.0.0.31-alpha.4.js",revision:"8745869814c1af31cbbaf64fc2908f53"},{url:"@vueuse.L53ctOxB.0.0.31-alpha.4.js",revision:"6c74fdcdc5313019386d3a63cf7ee358"},{url:"@xterm.D1SKXPWU.0.0.31-alpha.4.js",revision:"a59fe338fd101774672d1f72c63a06d1"},{url:"Account.DHs-KLmU.0.0.31-alpha.4.js",revision:"8876f1868452a9a0315639597176df3f"},{url:"ace-builds.Dx450mYI.0.0.31-alpha.4.js",revision:"5fa876ba6b9078ef5e4c140697ced82b"},{url:"Adminpanel.BOEzHUvR.0.0.31-alpha.4.js",revision:"fbb27d52f21a32cc2663531eecd58864"},{url:"apexcharts.OmQvSZRP.0.0.31-alpha.4.js",revision:"6d6ca68c8d7e84819450cd954aded181"},{url:"Appearance.DK5A9rgs.0.0.31-alpha.4.js",revision:"79ade43ee5825e04c0d8909ad57a91cd"},{url:"assets/@vueform.0.0.31-alpha.4.h7tNX9p6.css",revision:null},{url:"assets/@xterm.0.0.31-alpha.4.CGrrDQr5.css",revision:null},{url:"assets/Account.0.0.31-alpha.4.Ce3OmKrC.css",revision:null},{url:"assets/Adminpanel.0.0.31-alpha.4.CXsTAXPL.css",revision:null},{url:"assets/Backup.0.0.31-alpha.4.BIwaSlv3.css",revision:null},{url:"assets/Camera.0.0.31-alpha.4.BDtUJ-lA.css",revision:null},{url:"assets/Cameras.0.0.31-alpha.4.Djx0F2MM.css",revision:null},{url:"assets/Camview.0.0.31-alpha.4.Ce_V-Nxj.css",revision:null},{url:"assets/Config.0.0.31-alpha.4.xOTKGJ5Y.css",revision:null},{url:"assets/Console.0.0.31-alpha.4.DWrfRWs9.css",revision:null},{url:"assets/FirstSteps.0.0.31-alpha.4.CCo2y-sU.css",revision:null},{url:"assets/highlight.0.0.31-alpha.4.DgoK_Xib.css",revision:null},{url:"assets/logo-256.0.0.31-alpha.4.BCQk9H1-.png",revision:null},{url:"assets/logo-512.0.0.31-alpha.4.DLKVOU2S.png",revision:null},{url:"assets/logo.0.0.31-alpha.4.DmEiRk0z.png",revision:null},{url:"assets/main.0.0.31-alpha.4.CqDyfc1x.css",revision:null},{url:"assets/mode-json.0.0.31-alpha.4.Br7xisR1.js",revision:null},{url:"assets/mode-yaml.0.0.31-alpha.4.CIYL8U3d.js",revision:null},{url:"assets/NewCamera.0.0.31-alpha.4.BWK7TkdY.css",revision:null},{url:"assets/Plugin.0.0.31-alpha.4.BtRA6zDt.css",revision:null},{url:"assets/Plugins.0.0.31-alpha.4.Cwu0aGUO.css",revision:null},{url:"assets/Settings.0.0.31-alpha.4.DC_-E3CR.css",revision:null},{url:"assets/User.0.0.31-alpha.4.DPDcJbx8.css",revision:null},{url:"assets/v-calendar.0.0.31-alpha.4.CtSuDYZU.css",revision:null},{url:"assets/VConsole.0.0.31-alpha.4.BZT1WyS-.css",revision:null},{url:"assets/VPlayer.0.0.31-alpha.4.6GqQ0F0K.css",revision:null},{url:"assets/VPluginCard.0.0.31-alpha.4.CyNvwFGk.css",revision:null},{url:"assets/vue3-toastify.0.0.31-alpha.4.DTY1DMRs.css",revision:null},{url:"assets/vuetify.0.0.31-alpha.4.Cd1awv3t.css",revision:null},{url:"axios.C-n2IhIP.0.0.31-alpha.4.js",revision:"19fe14a63649f72cc75f4abe8ed279c2"},{url:"Backup.EFH8hrjt.0.0.31-alpha.4.js",revision:"1ceb47da8ca3501786e5df0dbac5e2f9"},{url:"Camera.U4jywpEp.0.0.31-alpha.4.js",revision:"74bfee9dd864cf29e705ff9b6e5b4c91"},{url:"Cameras.DUgAvSn3.0.0.31-alpha.4.js",revision:"160a9df46cf14e9b03d98621ecd46caf"},{url:"Camview.ouLWdVoJ.0.0.31-alpha.4.js",revision:"9b52fe390461c9bc274847f8b691fb9d"},{url:"compare-versions.DqEOhma6.0.0.31-alpha.4.js",revision:"975622890c8c52cc08cae5b40261000a"},{url:"Config.Ci1OL_As.0.0.31-alpha.4.js",revision:"5c9875ded2dffcb8fac27e980c7516c1"},{url:"Console.C8c6w5YK.0.0.31-alpha.4.js",revision:"4ed2e7dc4363c63753d2a8e18d9df2a6"},{url:"dijkstrajs.D_NXgYpA.0.0.31-alpha.4.js",revision:"aa5b0e41e1694409c5bed3fabdbde57a"},{url:"dnd-core.D_o4rKnM.0.0.31-alpha.4.js",revision:"009f45c781a719b35e762d34d7c610ec"},{url:"draggabilly.BgUX20jQ.0.0.31-alpha.4.js",revision:"75912a188bd05f96ebfc8383dfee7cce"},{url:"engine.io-client.Ct3XmaZr.0.0.31-alpha.4.js",revision:"e2438c7c64c2c31aac24bfb670485e1c"},{url:"engine.io-parser.BiEtp6m2.0.0.31-alpha.4.js",revision:"624d075c84ba49aa6891e0e229436a78"},{url:"entities.C20TfXL6.0.0.31-alpha.4.js",revision:"5c9d5aea88d983e506b4a6b8e61c7ec7"},{url:"ev-emitter.C-zXZyj5.0.0.31-alpha.4.js",revision:"6065d41b62f1e677b8e6800bdabfd01e"},{url:"fast-deep-equal.DnuWAPiP.0.0.31-alpha.4.js",revision:"225672ac921031564433caa074f09747"},{url:"FirstSteps.Cta-bQRC.0.0.31-alpha.4.js",revision:"c1d692d75a77a5ae7eca221c02c0d73d"},{url:"fonts/Inter/Inter-Regular.ttf",revision:"ea5879884a95551632e9eb1bba5b2128"},{url:"get-size.D1dS-IaP.0.0.31-alpha.4.js",revision:"d4a71c826a3f2a12a7cdea735caa7da1"},{url:"highlight.js.83tXWXtw.0.0.31-alpha.4.js",revision:"f4a82bf611eba3899fba5728f4b5f54f"},{url:"index.html",revision:"c6901adadaaf3d9559756f945d33c8d7"},{url:"linkify-it.tOYhRcj3.0.0.31-alpha.4.js",revision:"2e7261c670baed7e9db003934e755571"},{url:"main.J8NGbG5S.0.0.31-alpha.4.js",revision:"322df04b6bb3ba636f4a389e23e8525e"},{url:"markdown-it.6mdFTr-e.0.0.31-alpha.4.js",revision:"c441472b2f87dcf0a939c18ae50b08ab"},{url:"mdurl.k9Sl0PQj.0.0.31-alpha.4.js",revision:"0b8be71b53641e6e0706ab65af2abe93"},{url:"NewCamera.DHfe1GsP.0.0.31-alpha.4.js",revision:"e6fd1a3b5276284ce0ccc624d38f9b8f"},{url:"nprogress.iYKNBadB.0.0.31-alpha.4.js",revision:"b69e8cde1ee5f457e292f2a9163ff35c"},{url:"pinia.E6ew1z2Q.0.0.31-alpha.4.js",revision:"418fbe12e131c3b5974150df0e98eb73"},{url:"Plugin.Bp-p6qzO.0.0.31-alpha.4.js",revision:"e0f118a6e1f692b3a9a50a09b7a3ef84"},{url:"Plugins.DKG-euyo.0.0.31-alpha.4.js",revision:"3c175b4473ea270adca84073e86f8d10"},{url:"plugins.VJiYKYRl.0.0.31-alpha.4.js",revision:"5f4fb56b4ba3fd47f1af213546e5eb28"},{url:"punycode.js.Dj65hjkv.0.0.31-alpha.4.js",revision:"f1d63c51dc6b145df21082b261e02a24"},{url:"pwa/apple-splash-landscape-dark-1136x640.png",revision:"c6b193de9bd234c81fdea1d28fe7b88c"},{url:"pwa/apple-splash-landscape-dark-1334x750.png",revision:"d82dd37eb2bdf815c1e2ab367134cbbf"},{url:"pwa/apple-splash-landscape-dark-1792x828.png",revision:"281d292ea4448638bb250a3fca5f5f44"},{url:"pwa/apple-splash-landscape-dark-2048x1536.png",revision:"70f0181b7e075e3b64e261c4d4e3eada"},{url:"pwa/apple-splash-landscape-dark-2160x1620.png",revision:"ee54046f738fe4346d7febbfaa711244"},{url:"pwa/apple-splash-landscape-dark-2208x1242.png",revision:"2989b9f038112f8eed3694fa53b86e6a"},{url:"pwa/apple-splash-landscape-dark-2224x1668.png",revision:"1144751415d9c1f3d1bc34407b9a9539"},{url:"pwa/apple-splash-landscape-dark-2388x1668.png",revision:"e17cbe3b198574eb6fc822c17e22d935"},{url:"pwa/apple-splash-landscape-dark-2436x1125.png",revision:"85613cc4f5040791ef13e4b2a1ecc840"},{url:"pwa/apple-splash-landscape-dark-2532x1170.png",revision:"b89d280148f1bcb816c6364c37daefb6"},{url:"pwa/apple-splash-landscape-dark-2556x1179.png",revision:"02e2914d36b2aaf6da02799414a23738"},{url:"pwa/apple-splash-landscape-dark-2688x1242.png",revision:"dcd13ed9567fa4d98867f5c97cc89695"},{url:"pwa/apple-splash-landscape-dark-2732x2048.png",revision:"dc9fbb966dfc3350466279749c2946d7"},{url:"pwa/apple-splash-landscape-dark-2778x1284.png",revision:"19d1e7a02d9edd3354c61b7c54ea9c1e"},{url:"pwa/apple-splash-landscape-dark-2796x1290.png",revision:"22b9597a28c081730e3430e467b4e36d"},{url:"pwa/apple-splash-landscape-light-1136x640.png",revision:"c9b4c38f0a267051c0c83cc92c0f5767"},{url:"pwa/apple-splash-landscape-light-1334x750.png",revision:"f513cdc13ffaf0c2a82bb207e2a9a397"},{url:"pwa/apple-splash-landscape-light-1792x828.png",revision:"c6e29d789061fc48eb9f3a54cb1950be"},{url:"pwa/apple-splash-landscape-light-2048x1536.png",revision:"1b27b72b070b260eceeaab092a82663d"},{url:"pwa/apple-splash-landscape-light-2160x1620.png",revision:"31ac689a78386cf844e33f10fd5d2029"},{url:"pwa/apple-splash-landscape-light-2208x1242.png",revision:"653857094b0c183908571fea1aed7b2f"},{url:"pwa/apple-splash-landscape-light-2224x1668.png",revision:"ecf0efece27d70815f7401f7f3e40a24"},{url:"pwa/apple-splash-landscape-light-2388x1668.png",revision:"3733608412963cb747e32b2790013523"},{url:"pwa/apple-splash-landscape-light-2436x1125.png",revision:"459b9c158b3a52222787d00a276baa21"},{url:"pwa/apple-splash-landscape-light-2532x1170.png",revision:"b9e11e5a3435cf159f240b5f6da5dc76"},{url:"pwa/apple-splash-landscape-light-2556x1179.png",revision:"3f0efc9e8de850ae5d3a72a158d39055"},{url:"pwa/apple-splash-landscape-light-2688x1242.png",revision:"3757f5338eb50c9f6fb8ad0d72597465"},{url:"pwa/apple-splash-landscape-light-2732x2048.png",revision:"0e5ec355113efe5ce253583209a64bb8"},{url:"pwa/apple-splash-landscape-light-2778x1284.png",revision:"95d2479cf715c2ea0104fd5f55fa62b3"},{url:"pwa/apple-splash-landscape-light-2796x1290.png",revision:"a46e458259177e134ad383d133b29774"},{url:"pwa/apple-splash-portrait-dark-1125x2436.png",revision:"53ddd8644a89bfc79c8d1bfbaa51527b"},{url:"pwa/apple-splash-portrait-dark-1170x2532.png",revision:"476ac5131289040d8d88803c18dc20bb"},{url:"pwa/apple-splash-portrait-dark-1179x2556.png",revision:"8eac224083023d0d21374d9f9087bab5"},{url:"pwa/apple-splash-portrait-dark-1242x2208.png",revision:"1b7f03eaab3cf8af8aa6057fd97278d8"},{url:"pwa/apple-splash-portrait-dark-1242x2688.png",revision:"c56eb0a4a8b4c7bb850cbfc35dd62bba"},{url:"pwa/apple-splash-portrait-dark-1284x2778.png",revision:"d7230994de3c4c6016ac252431031ea7"},{url:"pwa/apple-splash-portrait-dark-1290x2796.png",revision:"e7f2a468891736413b1e0622a510fd5a"},{url:"pwa/apple-splash-portrait-dark-1536x2048.png",revision:"0b26c0a578f6b13b3df06abecc81fb82"},{url:"pwa/apple-splash-portrait-dark-1620x2160.png",revision:"1a9f84fba88d4cd5924cf5a39d541b46"},{url:"pwa/apple-splash-portrait-dark-1668x2224.png",revision:"1e7b39c9f5fdca7ddf23c1248f7628bf"},{url:"pwa/apple-splash-portrait-dark-1668x2388.png",revision:"fb7fb372580598abf8a1d8eb7305462a"},{url:"pwa/apple-splash-portrait-dark-2048x2732.png",revision:"60acb5fbde5bb76a368238c5e079c717"},{url:"pwa/apple-splash-portrait-dark-640x1136.png",revision:"b901a6f04ef976aa81573ec0f3c8f32b"},{url:"pwa/apple-splash-portrait-dark-750x1334.png",revision:"54f99ba556f7cc149eb03fe6207d411d"},{url:"pwa/apple-splash-portrait-dark-828x1792.png",revision:"543d10f74f6f098e49ba989899182dee"},{url:"pwa/apple-splash-portrait-light-1125x2436.png",revision:"1a02e33add13bccc9f407efcfd2cf890"},{url:"pwa/apple-splash-portrait-light-1170x2532.png",revision:"58d656b4de9b32a09fc2ea1028116dfb"},{url:"pwa/apple-splash-portrait-light-1179x2556.png",revision:"8d1fc622bdb48dda2461e4f47a49249a"},{url:"pwa/apple-splash-portrait-light-1242x2208.png",revision:"8fd1367cac03e5798973cfa4e0dec5b0"},{url:"pwa/apple-splash-portrait-light-1242x2688.png",revision:"2b320f74bc7da7bf0d1be699183416c3"},{url:"pwa/apple-splash-portrait-light-1284x2778.png",revision:"461b13cf0d9c293ca220700bb4148afa"},{url:"pwa/apple-splash-portrait-light-1290x2796.png",revision:"d57711837cf7e3801a9e8126b1695aaa"},{url:"pwa/apple-splash-portrait-light-1536x2048.png",revision:"42716fc23cfa58d3f154fea1875eb3f5"},{url:"pwa/apple-splash-portrait-light-1620x2160.png",revision:"41bdc2c492d374bf8c6b6875e2beb9f1"},{url:"pwa/apple-splash-portrait-light-1668x2224.png",revision:"a1b5adab2a71d0fa646e7b0e9a4fcb71"},{url:"pwa/apple-splash-portrait-light-1668x2388.png",revision:"5db134deca3d2e8a1ae2d8e67c77c420"},{url:"pwa/apple-splash-portrait-light-2048x2732.png",revision:"cf9c75c2e56f8d3af7d914a00ce30286"},{url:"pwa/apple-splash-portrait-light-640x1136.png",revision:"588e312fd0851d5767972a1efc33e6a3"},{url:"pwa/apple-splash-portrait-light-750x1334.png",revision:"191c785b1e7b47ac1b1d6bc2a84bde85"},{url:"pwa/apple-splash-portrait-light-828x1792.png",revision:"8deb1063185df6a2d3089a9fa33f6ad1"},{url:"pwa/apple-touch-icon-180x180.png",revision:"91aec7b3a553812fbd3cd72adb17fcc4"},{url:"pwa/favicon-16.ico",revision:"163ae861c5ab9f68ed21324c19dfe35d"},{url:"pwa/favicon-32.ico",revision:"874b054da3800e7c320445396a49de81"},{url:"pwa/favicon-48.ico",revision:"ae2747aeae28b34eed33001c91ec2f3b"},{url:"pwa/favicon-64.ico",revision:"6a697d7662ab5ee246918cdc7c412343"},{url:"pwa/logo.svg",revision:"1aa262f4a37293a91083eea10794d2ca"},{url:"pwa/maskable-icon-1240x600.png",revision:"f3188c7d8e5038f28068c7a3632dbe4b"},{url:"pwa/maskable-icon-512x512.png",revision:"e716feaa60f08d95d0909e1c85bf1f98"},{url:"pwa/maskable-icon-620x300.png",revision:"b4954ceadf0d6f2095c45f8cc8240337"},{url:"pwa/pwa-1024x1024.png",revision:"1ed367ae76416e79fd0bdd6ee70666bc"},{url:"pwa/pwa-120x120.png",revision:"3f5ec31f6bd07910482227b259344110"},{url:"pwa/pwa-144x144.png",revision:"4fdf5c8fb085f764ed7dd5a26698bff5"},{url:"pwa/pwa-152x152.png",revision:"4cf41c7b603d382e83e098affb7cb9da"},{url:"pwa/pwa-167x167.png",revision:"de6a5ca921b45fb3bd30d27c707981c6"},{url:"pwa/pwa-180x180.png",revision:"225b42752632e2866c4f8fe4ab2f62ee"},{url:"pwa/pwa-192x192.png",revision:"3d58c2dd940c535cc166cc8d0844429d"},{url:"pwa/pwa-24x24.png",revision:"bdb25f68ca300283b37041e47d3e6ba8"},{url:"pwa/pwa-300x300.png",revision:"7f79d74e34aedef57c98a1c9c156ba6b"},{url:"pwa/pwa-36x36.png",revision:"4d08bb198d4e54e4d12a0810fc59f059"},{url:"pwa/pwa-48x48.png",revision:"97d7369c892f1e0914c2617ff26feb3c"},{url:"pwa/pwa-50x50.png",revision:"a20fc2e6f26aa548f9cae07911087f6c"},{url:"pwa/pwa-64x64.png",revision:"f57763be3212fd4154c502d607e7ed38"},{url:"pwa/pwa-72x72.png",revision:"66698bb499639052ad337f7e9a7d7ea8"},{url:"pwa/pwa-88x88.png",revision:"6e8af0a85b0627a835b62067d5189cb4"},{url:"pwa/pwa-96x96.png",revision:"675ea863c25fa9ae31d4d76a47463c78"},{url:"qrcode.D1EYQJZ8.0.0.31-alpha.4.js",revision:"9cfa609e26d7d4cd4dbe8315def6e91a"},{url:"react-dnd-html5-backend.1HQjlkwI.0.0.31-alpha.4.js",revision:"75632bc200537797d2c878cacede62a5"},{url:"react-dnd-touch-backend.B6P_MW8h.0.0.31-alpha.4.js",revision:"44447250c2e360c95a086b4b12a8782f"},{url:"Recordings.DvfXUR9h.0.0.31-alpha.4.js",revision:"4f595b04763753025661768777ede9b4"},{url:"Recordings.RJVoljmf.0.0.31-alpha.4.js",revision:"8ee4c59cf7769bd6f12962077438f05e"},{url:"redux.CuxFRhX_.0.0.31-alpha.4.js",revision:"0fb9d1a1041755430923c52117ee1e4b"},{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"robots.txt",revision:"f77c87f977e0fcce05a6df46c885a129"},{url:"rxjs.CxkkGsQ5.0.0.31-alpha.4.js",revision:"2dbe9dfaafaa3f3e19c26b0fb6344fe4"},{url:"Settings.B6oomJuI.0.0.31-alpha.4.js",revision:"3bd88eeb08a85b1053d63ee318519200"},{url:"socket.io-client.C_eRWoxp.0.0.31-alpha.4.js",revision:"269d68a5398619ab0841393c7eb0568e"},{url:"socket.io-parser.CREbE98O.0.0.31-alpha.4.js",revision:"8d2cfb2ec30c1347530307db63bfc07f"},{url:"system.DpI2abFn.0.0.31-alpha.4.js",revision:"24842d9337b2d1ba48b1e4bbb142100a"},{url:"System.DYqzMqvm.0.0.31-alpha.4.js",revision:"bd7044eeb0222fc24d3f326a1ba63913"},{url:"tslib.9k7AwCpt.0.0.31-alpha.4.js",revision:"1c62ff7f1693c3ed04fd51c1e62f776f"},{url:"types.Cz9TaZAP.0.0.31-alpha.4.js",revision:"6651b30bd060dade2f1c3730202c508c"},{url:"uc.micro.kMc2yuuw.0.0.31-alpha.4.js",revision:"b6324b1a6b3dbbd69ffcb57015217b4a"},{url:"ui.3yvnEIE1.0.0.31-alpha.4.js",revision:"d6dfd2bd5946939052b3f349abc272d6"},{url:"unidragger.DLjMBILF.0.0.31-alpha.4.js",revision:"3796ec2e9004b1755013c55ccb1c25d7"},{url:"User.BX6H5sQ7.0.0.31-alpha.4.js",revision:"14810f50e414e69dc16b563fee54e85d"},{url:"utils.mAKpSMLY.0.0.31-alpha.4.js",revision:"c5d20a1a0605a78b11d5fe60abe5ab70"},{url:"uuid.DvF23Exx.0.0.31-alpha.4.js",revision:"a256a1ba1ffec8623c41723b4de020c1"},{url:"v-calendar.DHNvU-YH.0.0.31-alpha.4.js",revision:"55c42c74b43183c283ed06147d861a6f"},{url:"VConfigEditor.vue_vue_type_script_setup_true_lang.BVi__CZg.0.0.31-alpha.4.js",revision:"47e33424c7c587252e54b3a7adac8b0f"},{url:"VConsole.DE3kdzhx.0.0.31-alpha.4.js",revision:"93ac255db01f1a21611c3da8edc036be"},{url:"vee-validate.B1-qhDGi.0.0.31-alpha.4.js",revision:"63c01bde03deaf5ccac64049cf8836ff"},{url:"VPlayer.DBmxioQd.0.0.31-alpha.4.js",revision:"5a9c45690e41c8db7a06bb14e4e907a1"},{url:"VPluginCard.DjaavIDj.0.0.31-alpha.4.js",revision:"c1d8464865f7e80fc19455c43becb634"},{url:"vue-i18n.pFxQhMHL.0.0.31-alpha.4.js",revision:"3fcf484aedb0e050e01c10fdef4a740c"},{url:"vue-inline-svg.fvr_QCTK.0.0.31-alpha.4.js",revision:"9d1e1088aa2354c436fa26cd6d08c0ae"},{url:"vue-router.QYYQLEuQ.0.0.31-alpha.4.js",revision:"63f0f2f297983c1d7b123de05f46e4e3"},{url:"vue.l0sNRNKZ.0.0.31-alpha.4.js",revision:"68b329da9893e34099c7d8ad5cb9c940"},{url:"vue3-apexcharts.BeWkPuyx.0.0.31-alpha.4.js",revision:"e9e3d3becdecfe9f205602b794f42597"},{url:"vue3-dnd.UqV602qV.0.0.31-alpha.4.js",revision:"b3d77d630c15e1c80c467ca173440ba5"},{url:"vue3-toastify.fPSwJwA9.0.0.31-alpha.4.js",revision:"5bf1cb76066f5741039878685e8fdf40"},{url:"vuetify.B5tihVxi.0.0.31-alpha.4.js",revision:"0faad2b3dbbc482c6a9d64615ad24aa1"},{url:"zod.DnW1_kUe.0.0.31-alpha.4.js",revision:"96742c2bb8ffd5e9ac68834362d33838"},{url:"pwa/maskable-icon-1240x600.png",revision:"f3188c7d8e5038f28068c7a3632dbe4b"},{url:"pwa/maskable-icon-512x512.png",revision:"e716feaa60f08d95d0909e1c85bf1f98"},{url:"pwa/maskable-icon-620x300.png",revision:"b4954ceadf0d6f2095c45f8cc8240337"},{url:"pwa/pwa-1024x1024.png",revision:"1ed367ae76416e79fd0bdd6ee70666bc"},{url:"pwa/pwa-120x120.png",revision:"3f5ec31f6bd07910482227b259344110"},{url:"pwa/pwa-144x144.png",revision:"4fdf5c8fb085f764ed7dd5a26698bff5"},{url:"pwa/pwa-152x152.png",revision:"4cf41c7b603d382e83e098affb7cb9da"},{url:"pwa/pwa-167x167.png",revision:"de6a5ca921b45fb3bd30d27c707981c6"},{url:"pwa/pwa-180x180.png",revision:"225b42752632e2866c4f8fe4ab2f62ee"},{url:"pwa/pwa-192x192.png",revision:"3d58c2dd940c535cc166cc8d0844429d"},{url:"pwa/pwa-24x24.png",revision:"bdb25f68ca300283b37041e47d3e6ba8"},{url:"pwa/pwa-300x300.png",revision:"7f79d74e34aedef57c98a1c9c156ba6b"},{url:"pwa/pwa-36x36.png",revision:"4d08bb198d4e54e4d12a0810fc59f059"},{url:"pwa/pwa-48x48.png",revision:"97d7369c892f1e0914c2617ff26feb3c"},{url:"pwa/pwa-50x50.png",revision:"a20fc2e6f26aa548f9cae07911087f6c"},{url:"pwa/pwa-64x64.png",revision:"f57763be3212fd4154c502d607e7ed38"},{url:"pwa/pwa-72x72.png",revision:"66698bb499639052ad337f7e9a7d7ea8"},{url:"pwa/pwa-88x88.png",revision:"6e8af0a85b0627a835b62067d5189cb4"},{url:"pwa/pwa-96x96.png",revision:"675ea863c25fa9ae31d4d76a47463c78"},{url:"manifest.webmanifest",revision:"ad90fad55e9565ed75e1d264f1ad5f24"}],{}),a.cleanupOutdatedCaches(),a.registerRoute(new a.NavigationRoute(a.createHandlerBoundToURL("index.html")))}));
|
package/dist/interface/{system.D6RwZr3K.0.0.31-alpha.2.js → system.DpI2abFn.0.0.31-alpha.4.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
var m=Object.defineProperty;var d=(t,e,s)=>e in t?m(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var y=(t,e,s)=>d(t,typeof e!="symbol"?e+"":e,s);import{i as a}from"./vue3-toastify.
|
|
1
|
+
var m=Object.defineProperty;var d=(t,e,s)=>e in t?m(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var y=(t,e,s)=>d(t,typeof e!="symbol"?e+"":e,s);import{i as a}from"./vue3-toastify.fPSwJwA9.0.0.31-alpha.4.js";import{x as r,i as o}from"./main.J8NGbG5S.0.0.31-alpha.4.js";import{u as l,a as u,b as n}from"./@tanstack.u9j0vFG7.0.0.31-alpha.4.js";import{r as p,u as g}from"./@vue.BH6Bo0Pn.0.0.31-alpha.4.js";const Q=async()=>(await r.get("/system")).data,v=async t=>(await r.patch("/system",t)).data,w=async({pluginData:t})=>(await r.post("/system/update",t)).data,b=async({signal:t})=>(await r.get("/system/version",{signal:t})).data,f=async()=>(await r.delete("/system/log")).data,q=async({filter:t,signal:e})=>{const s=t!=null&&t.length?{filter:t.join(",")}:void 0;return(await r.get("/system/log/download",{params:s,signal:e})).data},h=async()=>(await r.post("/system/cert",{responseType:"arraybuffer"})).data,F=async({signal:t})=>(await r.get("/system/go2rtc",{signal:t})).data,S=async()=>(await r.put("/system/restart")).data,I=async()=>(await r.put("/system/restart/go2rtc")).data;class x{constructor(){y(this,"_queryClient",l());y(this,"queryActivator",p([{name:"downloadLogQuery",enabled:!0},{name:"getGo2RtcInfoQuery",enabled:!0},{name:"checkVersionQuery",enabled:!0},{name:"getSystemInfoQuery",enabled:!0}]))}get queryClient(){return this._queryClient}getSystemInfoQuery(){return u({queryKey:["system"],queryFn:Q})}patchSystemInfoQuery(){return n({mutationFn:v,onSuccess:async()=>{await this._queryClient.refetchQueries({queryKey:["system"],exact:!0}),a.success(o.global.t("components.toast.server_updated"))}})}updateServerQuery(){return n({mutationFn:w,onSuccess:async()=>{a.success(o.global.t("components.toast.server_updated"))}})}downloadLogQuery(e){return u({queryKey:["log",e],queryFn:({signal:s})=>q({filter:g(e),signal:s}),enabled:()=>this.queryActivator.value.some(s=>s.name==="downloadLogQuery"&&s.enabled)})}downloadCertQuery(){return n({mutationFn:h})}clearLogQuery(){return n({mutationFn:f,onSuccess:async()=>{await this._queryClient.refetchQueries({queryKey:["log"],exact:!0}),a.success(o.global.t("components.toast.log_cleared"))}})}checkVersionQuery(){return u({queryKey:["version"],queryFn:({signal:e})=>b({signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="checkVersionQuery"&&e.enabled)})}getGo2RtcInfoQuery(){return u({queryKey:["go2rtc"],queryFn:({signal:e})=>F({signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getGo2RtcInfoQuery"&&e.enabled)})}restartGo2RtcQuery(){return n({mutationFn:I,onSuccess:async()=>{a.success(o.global.t("components.toast.go2rtc_restarted"))}})}restartServerQuery(){return n({mutationFn:S,onSuccess:async()=>{a.success(o.global.t("components.toast.server_restarted"))}})}toggleQueryActivator(e,s){const c=this.queryActivator.value.find(i=>i.name===e);c&&(c.enabled=s)}}export{x as S,h as d,S as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e}from"./pinia.
|
|
1
|
+
import{d as e}from"./pinia.E6ew1z2Q.0.0.31-alpha.4.js";import{u as a}from"./@vueuse.L53ctOxB.0.0.31-alpha.4.js";const l=e("ui",()=>{const o=a("ui",{config:{zoom:12},console:{zoom:12},camview:{dragDisabled:!1}});return o.value.config||(o.value.config={zoom:12}),o.value.console||(o.value.console={zoom:12}),o.value.camview||(o.value.camview={dragDisabled:!1}),{uiSettings:o}});export{l as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as E}from"./@xterm.
|
|
1
|
+
import{c as E}from"./@xterm.D1SKXPWU.0.0.31-alpha.4.js";import{r as v}from"./ev-emitter.C-zXZyj5.0.0.31-alpha.4.js";var u={exports:{}};/*!
|
|
2
2
|
* Unidragger v3.0.1
|
|
3
3
|
* Draggable base class
|
|
4
4
|
* MIT license
|