@camera.ui/server 0.0.22-alpha.0 → 0.0.22-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/interface/@intlify.DXtFJcML.0.0.22-alpha.2.js +15 -0
- package/dist/interface/@mdi.C1UTQKuc.0.0.22-alpha.2.js +1 -0
- package/dist/interface/@tanstack.B6ZKNODP.0.0.22-alpha.2.js +1 -0
- package/dist/interface/{@vee-validate.BgtYefC2.0.0.22-alpha.0.js → @vee-validate.BLOXgupV.0.0.22-alpha.2.js} +2 -2
- package/dist/interface/@vue.DYBoJLkm.0.0.22-alpha.2.js +17 -0
- package/dist/interface/{@vueform.BbHIRROu.0.0.22-alpha.0.js → @vueform.BNEdNEfe.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/@vueuse.DLeXr990.0.0.22-alpha.2.js +1 -0
- package/dist/interface/Account.CJmkOolZ.0.0.22-alpha.2.js +1 -0
- package/dist/interface/Adminpanel.Tg7HwSe9.0.0.22-alpha.2.js +2 -0
- package/dist/interface/Appearance.Bu1bU0wi.0.0.22-alpha.2.js +1 -0
- package/dist/interface/Backup.8VdHTNcr.0.0.22-alpha.2.js +1 -0
- package/dist/interface/Camera.Dg8hy2Yt.0.0.22-alpha.2.js +1 -0
- package/dist/interface/Cameras.BIlZs0XL.0.0.22-alpha.2.js +1 -0
- package/dist/interface/Camview.BOntwhuV.0.0.22-alpha.2.js +1 -0
- package/dist/interface/Config.jsnOhEqZ.0.0.22-alpha.2.js +1 -0
- package/dist/interface/Console.D9pK-qBL.0.0.22-alpha.2.js +4 -0
- package/dist/interface/FirstSteps.Cb5a8AUL.0.0.22-alpha.2.js +1 -0
- package/dist/interface/{NewCamera.CB2ARQ7q.0.0.22-alpha.0.js → NewCamera.Dz60UmLc.0.0.22-alpha.2.js} +2 -2
- package/dist/interface/Plugin.DsAb_cep.0.0.22-alpha.2.js +1 -0
- package/dist/interface/Plugins.bxGkXmVc.0.0.22-alpha.2.js +1 -0
- package/dist/interface/Recordings.BTkAhv1T.0.0.22-alpha.2.js +1 -0
- package/dist/interface/Recordings.C_TDdsbp.0.0.22-alpha.2.js +1 -0
- package/dist/interface/Settings.Br20f1vP.0.0.22-alpha.2.js +1 -0
- package/dist/interface/System.WdQgcjx6.0.0.22-alpha.2.js +4 -0
- package/dist/interface/User.BUO6E9hO.0.0.22-alpha.2.js +1 -0
- package/dist/interface/VConfigEditor.vue_vue_type_script_setup_true_lang.V-YCJXF9.0.0.22-alpha.2.js +2 -0
- package/dist/interface/VConsole.efu2RLE4.0.0.22-alpha.2.js +1 -0
- package/dist/interface/VPlayer.7xACf1AA.0.0.22-alpha.2.js +4 -0
- package/dist/interface/VPluginCard.DObvo0pi.0.0.22-alpha.2.js +4 -0
- package/dist/interface/{ace-builds.BJA55oyY.0.0.22-alpha.0.js → ace-builds.CYuWji3-.0.0.22-alpha.2.js} +27 -27
- package/dist/interface/{apexcharts.CDIQ8dOe.0.0.22-alpha.0.js → apexcharts.BjVuUwvF.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/assets/Adminpanel.0.0.22-alpha.2.a3t1v3MB.css +1 -0
- package/dist/interface/assets/Camera.0.0.22-alpha.2.D1I-fW4q.css +1 -0
- package/dist/interface/assets/Cameras.0.0.22-alpha.2.Buf1Dgce.css +1 -0
- package/dist/interface/assets/Camview.0.0.22-alpha.2.B7Cja2ry.css +1 -0
- package/dist/interface/assets/Config.0.0.22-alpha.2.DNGo2krN.css +1 -0
- package/dist/interface/assets/Console.0.0.22-alpha.2.Bh8l9QnM.css +1 -0
- package/dist/interface/assets/FirstSteps.0.0.22-alpha.2.sPEcItZ6.css +1 -0
- package/dist/interface/assets/NewCamera.0.0.22-alpha.2.Cq8GzeJ7.css +1 -0
- package/dist/interface/assets/{Settings.0.0.22-alpha.0.DC_-E3CR.css → Settings.0.0.22-alpha.2.CVmui2kE.css} +1 -1
- package/dist/interface/assets/VConsole.0.0.22-alpha.2.BCqKHpmJ.css +1 -0
- package/dist/interface/assets/VPlayer.0.0.22-alpha.2.DNtDNhfg.css +1 -0
- package/dist/interface/assets/VPluginCard.0.0.22-alpha.2.C8Lj6X-J.css +1 -0
- package/dist/interface/assets/main.0.0.22-alpha.2.DNhh__S1.css +1 -0
- package/dist/interface/assets/{vuetify.0.0.22-alpha.0.Cd1awv3t.css → vuetify.0.0.22-alpha.2.CgGsw6iO.css} +2 -2
- package/dist/interface/birpc.l0sNRNKZ.0.0.22-alpha.2.js +1 -0
- package/dist/interface/{dnd-core.BOxrARjV.0.0.22-alpha.0.js → dnd-core.CInfibuN.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/{draggabilly.BEF5LqAH.0.0.22-alpha.0.js → draggabilly.D1IWfp_b.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/engine.io-client.DefPnTEq.0.0.22-alpha.2.js +1 -0
- package/dist/interface/{ev-emitter.CsrKKb5x.0.0.22-alpha.0.js → ev-emitter.Dc-aWf7P.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/{fast-deep-equal.CU36Z4X8.0.0.22-alpha.0.js → fast-deep-equal.B5b3SrkT.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/{highlight.js.Cj98Ckpw.0.0.22-alpha.0.js → highlight.js.UlfE9jpO.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/hookable.B8xFkYCm.0.0.22-alpha.2.js +1 -0
- package/dist/interface/index.html +34 -36
- package/dist/interface/{linkify-it.DIkWfPNS.0.0.22-alpha.0.js → linkify-it.Fi_bpuck.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/main.oy2O2TRy.0.0.22-alpha.2.js +5 -0
- package/dist/interface/{markdown-it.DZ_JRYr5.0.0.22-alpha.0.js → markdown-it.DJgGU14J.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/{nprogress.BKgW3YbN.0.0.22-alpha.0.js → nprogress.tJ-b_-wu.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/perfect-debounce.Cp2ysxOb.0.0.22-alpha.2.js +1 -0
- package/dist/interface/pinia.yZCOO45u.0.0.22-alpha.2.js +5 -0
- package/dist/interface/plugins.Cfyqqots.0.0.22-alpha.2.js +1 -0
- package/dist/interface/point-in-polygon-hao.l0sNRNKZ.0.0.22-alpha.2.js +1 -0
- package/dist/interface/{qrcode.EjmMHZZR.0.0.22-alpha.0.js → qrcode.9XoqawvO.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/{react-dnd-touch-backend.CU5Ax-9G.0.0.22-alpha.0.js → react-dnd-touch-backend.C6RhMT4L.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/{rxjs.Cj9LQ_6u.0.0.22-alpha.0.js → rxjs.1CAxveb4.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/socket.io-client.e8QnYieU.0.0.22-alpha.2.js +1 -0
- package/dist/interface/{socket.io-parser.CjxGsMQx.0.0.22-alpha.0.js → socket.io-parser.BLk6IoUZ.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/sw.js +1 -1
- package/dist/interface/sweepline-intersections.l0sNRNKZ.0.0.22-alpha.2.js +1 -0
- package/dist/interface/system.CxMAOYjs.0.0.22-alpha.2.js +1 -0
- package/dist/interface/types.Cz9TaZAP.0.0.22-alpha.2.js +1 -0
- package/dist/interface/{unidragger.DTWO4kXE.0.0.22-alpha.0.js → unidragger.D9uoooG_.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/utils.mAKpSMLY.0.0.22-alpha.2.js +1 -0
- package/dist/interface/uuid.Ch9TGLTe.0.0.22-alpha.2.js +1 -0
- package/dist/interface/vee-validate.DnRu3xAR.0.0.22-alpha.2.js +5 -0
- package/dist/interface/vue-i18n.DNPn_WN3.0.0.22-alpha.2.js +5 -0
- package/dist/interface/{vue-inline-svg.DF4jsptY.0.0.22-alpha.0.js → vue-inline-svg.BxDq9WpB.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/vue-router.Ci1GIRoh.0.0.22-alpha.2.js +5 -0
- package/dist/interface/vue.l0sNRNKZ.0.0.22-alpha.2.js +1 -0
- package/dist/interface/vue3-apexcharts.4RpZv9AC.0.0.22-alpha.2.js +1 -0
- package/dist/interface/{vue3-dnd.CsLnkm-l.0.0.22-alpha.0.js → vue3-dnd.CyNbBiuS.0.0.22-alpha.2.js} +1 -1
- package/dist/interface/vue3-toastify.Jtf1C0Kw.0.0.22-alpha.2.js +1 -0
- package/dist/interface/vuetify.D4io05br.0.0.22-alpha.2.js +5 -0
- package/dist/interface/zod.DnW1_kUe.0.0.22-alpha.2.js +1 -0
- package/dist/server/bin/cameraui-server.js +8 -0
- package/dist/server/bin/cameraui-server.js.map +1 -0
- package/dist/server/package.json +44 -70
- package/dist/server/requirements.txt +6 -5
- package/dist/server/src/api/controllers/auth.controller.js +1 -1
- package/dist/server/src/api/controllers/auth.controller.js.map +1 -1
- package/dist/server/src/api/controllers/backup.controller.js +2 -2
- package/dist/server/src/api/controllers/backup.controller.js.map +1 -1
- package/dist/server/src/api/controllers/cameras.controller.d.ts +4 -2
- package/dist/server/src/api/controllers/cameras.controller.js +88 -42
- package/dist/server/src/api/controllers/cameras.controller.js.map +1 -1
- package/dist/server/src/api/controllers/files.controller.js.map +1 -1
- package/dist/server/src/api/controllers/frameWorkers.controller.d.ts +1 -1
- package/dist/server/src/api/controllers/frameWorkers.controller.js +15 -7
- package/dist/server/src/api/controllers/frameWorkers.controller.js.map +1 -1
- package/dist/server/src/api/controllers/plugins.controller.d.ts +3 -4
- package/dist/server/src/api/controllers/plugins.controller.js +141 -202
- package/dist/server/src/api/controllers/plugins.controller.js.map +1 -1
- package/dist/server/src/api/controllers/system.controller.d.ts +9 -3
- package/dist/server/src/api/controllers/system.controller.js +73 -53
- package/dist/server/src/api/controllers/system.controller.js.map +1 -1
- package/dist/server/src/api/controllers/users.controller.js +12 -10
- package/dist/server/src/api/controllers/users.controller.js.map +1 -1
- package/dist/server/src/api/database/checks.d.ts +55 -0
- package/dist/server/src/api/database/checks.js +183 -0
- package/dist/server/src/api/database/checks.js.map +1 -0
- package/dist/server/src/api/database/constants.d.ts +8 -0
- package/dist/server/src/api/database/constants.js +9 -0
- package/dist/server/src/api/database/constants.js.map +1 -0
- package/dist/server/src/api/database/index.d.ts +4 -13
- package/dist/server/src/api/database/index.js +61 -39
- package/dist/server/src/api/database/index.js.map +1 -1
- package/dist/server/src/api/database/migration.d.ts +1 -0
- package/dist/server/src/api/database/migration.js +73 -7
- package/dist/server/src/api/database/migration.js.map +1 -1
- package/dist/server/src/api/database/selfcheck.d.ts +48 -0
- package/dist/server/src/api/database/selfcheck.js +398 -0
- package/dist/server/src/api/database/selfcheck.js.map +1 -0
- package/dist/server/src/api/database/types.d.ts +15 -141
- package/dist/server/src/api/go2rtc/api/application.js +3 -2
- package/dist/server/src/api/go2rtc/api/application.js.map +1 -1
- package/dist/server/src/api/go2rtc/api/index.js +3 -2
- package/dist/server/src/api/go2rtc/api/index.js.map +1 -1
- package/dist/server/src/api/go2rtc/api/streams.d.ts +1 -1
- package/dist/server/src/api/go2rtc/api/streams.js +4 -2
- package/dist/server/src/api/go2rtc/api/streams.js.map +1 -1
- package/dist/server/src/api/go2rtc/index.d.ts +1 -0
- package/dist/server/src/api/go2rtc/index.js +6 -1
- package/dist/server/src/api/go2rtc/index.js.map +1 -1
- package/dist/server/src/api/go2rtc/types.d.ts +2 -18
- package/dist/server/src/api/index.d.ts +1 -0
- package/dist/server/src/api/index.js +23 -31
- package/dist/server/src/api/index.js.map +1 -1
- package/dist/server/src/api/middlewares/authPermission.middleware.d.ts +3 -3
- package/dist/server/src/api/middlewares/authPermission.middleware.js.map +1 -1
- package/dist/server/src/api/middlewares/authValidation.middleware.d.ts +2 -2
- package/dist/server/src/api/middlewares/authValidation.middleware.js +3 -3
- package/dist/server/src/api/middlewares/authValidation.middleware.js.map +1 -1
- package/dist/server/src/api/middlewares/socketAuth.middleware.d.ts +1 -1
- package/dist/server/src/api/middlewares/socketAuth.middleware.js +1 -1
- package/dist/server/src/api/plugins/header.plugin.d.ts +2 -0
- package/dist/server/src/api/plugins/header.plugin.js +13 -0
- package/dist/server/src/api/plugins/header.plugin.js.map +1 -0
- package/dist/server/src/api/plugins/logger.plugin.js +1 -1
- package/dist/server/src/api/plugins/logger.plugin.js.map +1 -1
- package/dist/server/src/api/plugins/system.plugin.d.ts +3 -1
- package/dist/server/src/api/plugins/system.plugin.js +6 -1
- package/dist/server/src/api/plugins/system.plugin.js.map +1 -1
- package/dist/server/src/api/plugins/useragent.plugin.d.ts +1 -1
- package/dist/server/src/api/plugins/useragent.plugin.js +1 -1
- package/dist/server/src/api/plugins/useragent.plugin.js.map +1 -1
- package/dist/server/src/api/routes/cameras.routes.js +12 -0
- package/dist/server/src/api/routes/cameras.routes.js.map +1 -1
- package/dist/server/src/api/routes/plugins.routes.js +24 -0
- package/dist/server/src/api/routes/plugins.routes.js.map +1 -1
- package/dist/server/src/api/routes/system.routes.js +3 -6
- package/dist/server/src/api/routes/system.routes.js.map +1 -1
- package/dist/server/src/api/schemas/backup.schema.js.map +1 -1
- package/dist/server/src/api/schemas/cameras.schema.d.ts +227 -187
- package/dist/server/src/api/schemas/cameras.schema.js +25 -6
- package/dist/server/src/api/schemas/cameras.schema.js.map +1 -1
- package/dist/server/src/api/schemas/config.schema.d.ts +12 -20
- package/dist/server/src/api/schemas/config.schema.js +0 -2
- package/dist/server/src/api/schemas/config.schema.js.map +1 -1
- package/dist/server/src/api/schemas/go2rtc.schema.d.ts +143 -143
- package/dist/server/src/api/schemas/plugins.schema.d.ts +5 -5
- package/dist/server/src/api/schemas/plugins.schema.js +1 -1
- package/dist/server/src/api/schemas/plugins.schema.js.map +1 -1
- package/dist/server/src/api/schemas/system.schema.d.ts +8 -0
- package/dist/server/src/api/schemas/system.schema.js +6 -1
- package/dist/server/src/api/schemas/system.schema.js.map +1 -1
- package/dist/server/src/api/schemas/users.schema.d.ts +170 -170
- package/dist/server/src/api/schemas/users.schema.js.map +1 -1
- package/dist/server/src/api/services/auth.service.js +17 -17
- package/dist/server/src/api/services/auth.service.js.map +1 -1
- package/dist/server/src/api/services/backup.service.js.map +1 -1
- package/dist/server/src/api/services/cameras.service.d.ts +10 -5
- package/dist/server/src/api/services/cameras.service.js +166 -89
- package/dist/server/src/api/services/cameras.service.js.map +1 -1
- package/dist/server/src/api/services/plugins.service.d.ts +1 -0
- package/dist/server/src/api/services/plugins.service.js +16 -11
- package/dist/server/src/api/services/plugins.service.js.map +1 -1
- package/dist/server/src/api/services/system.service.js +5 -4
- package/dist/server/src/api/services/system.service.js.map +1 -1
- package/dist/server/src/api/services/users.service.js +29 -29
- package/dist/server/src/api/services/users.service.js.map +1 -1
- package/dist/server/src/api/types/index.d.ts +127 -129
- package/dist/server/src/api/types/index.js.map +1 -1
- package/dist/server/src/api/utils/cameraSource.d.ts +2 -0
- package/dist/server/src/api/utils/cameraSource.js +34 -0
- package/dist/server/src/api/utils/cameraSource.js.map +1 -0
- package/dist/server/src/api/utils/cert.d.ts +7 -7
- package/dist/server/src/api/utils/cert.js +178 -385
- package/dist/server/src/api/utils/cert.js.map +1 -1
- package/dist/server/src/api/utils/constants.d.ts +0 -2
- package/dist/server/src/api/utils/constants.js +4 -7
- package/dist/server/src/api/utils/constants.js.map +1 -1
- package/dist/server/src/api/websocket/index.js +2 -1
- package/dist/server/src/api/websocket/index.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/logs.d.ts +10 -2
- package/dist/server/src/api/websocket/nsp/logs.js +110 -76
- package/dist/server/src/api/websocket/nsp/logs.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/metrics.d.ts +1 -1
- package/dist/server/src/api/websocket/nsp/metrics.js +19 -16
- package/dist/server/src/api/websocket/nsp/metrics.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/notifications.js +1 -1
- package/dist/server/src/api/websocket/nsp/notifications.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/plugins.d.ts +1 -1
- package/dist/server/src/api/websocket/nsp/plugins.js +3 -4
- package/dist/server/src/api/websocket/nsp/plugins.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/server.d.ts +9 -4
- package/dist/server/src/api/websocket/nsp/server.js +57 -20
- package/dist/server/src/api/websocket/nsp/server.js.map +1 -1
- package/dist/server/src/api/websocket/nsp/status.d.ts +1 -1
- package/dist/server/src/api/websocket/nsp/status.js +9 -7
- package/dist/server/src/api/websocket/nsp/status.js.map +1 -1
- package/dist/server/src/api/websocket/types.d.ts +7 -13
- package/dist/server/src/api.d.ts +8 -23
- package/dist/server/src/api.js +43 -24
- package/dist/server/src/api.js.map +1 -1
- package/dist/server/src/camera/controller.d.ts +31 -14
- package/dist/server/src/camera/controller.js +371 -68
- package/dist/server/src/camera/controller.js.map +1 -1
- package/dist/server/src/{decoder/worker.d.ts → camera/frameWorker.d.ts} +11 -8
- package/dist/server/src/camera/frameWorker.js +305 -0
- package/dist/server/src/camera/frameWorker.js.map +1 -0
- package/dist/server/src/camera/types.d.ts +1 -199
- package/dist/server/src/camera/types.js +1 -6
- package/dist/server/src/camera/types.js.map +1 -1
- package/dist/server/src/go2rtc/index.js +23 -11
- package/dist/server/src/go2rtc/index.js.map +1 -1
- package/dist/server/src/main.d.ts +21 -0
- package/dist/server/src/main.js +130 -74
- package/dist/server/src/main.js.map +1 -1
- package/dist/server/src/nats/index.d.ts +5 -5
- package/dist/server/src/nats/index.js +5 -6
- package/dist/server/src/nats/index.js.map +1 -1
- package/dist/server/src/nats/proxy/cameraDevice.d.ts +4 -4
- package/dist/server/src/nats/proxy/cameraDevice.js +41 -58
- package/dist/server/src/nats/proxy/cameraDevice.js.map +1 -1
- package/dist/server/src/nats/proxy/coreManager.d.ts +4 -4
- package/dist/server/src/nats/proxy/coreManager.js +6 -1
- package/dist/server/src/nats/proxy/coreManager.js.map +1 -1
- package/dist/server/src/nats/proxy/deviceManager.d.ts +5 -7
- package/dist/server/src/nats/proxy/deviceManager.js +4 -2
- package/dist/server/src/nats/proxy/deviceManager.js.map +1 -1
- package/dist/server/src/nats/server.js +33 -22
- package/dist/server/src/nats/server.js.map +1 -1
- package/dist/server/src/nats/types.d.ts +3 -121
- package/dist/server/src/nats/utils.d.ts +1 -1
- package/dist/server/src/nats/websocket.d.ts +2 -2
- package/dist/server/src/nats/websocket.js +7 -6
- package/dist/server/src/nats/websocket.js.map +1 -1
- package/dist/server/src/plugins/index.d.ts +3 -4
- package/dist/server/src/plugins/index.js +39 -38
- package/dist/server/src/plugins/index.js.map +1 -1
- package/dist/server/src/plugins/plugin.d.ts +6 -3
- package/dist/server/src/plugins/plugin.js +59 -23
- package/dist/server/src/plugins/plugin.js.map +1 -1
- package/dist/server/src/plugins/types.d.ts +1 -148
- package/dist/server/src/plugins/types.js +0 -15
- package/dist/server/src/plugins/types.js.map +1 -1
- package/dist/server/src/plugins/worker.d.ts +22 -3
- package/dist/server/src/plugins/worker.js +201 -59
- package/dist/server/src/plugins/worker.js.map +1 -1
- package/dist/server/src/services/config/constants.d.ts +3 -1
- package/dist/server/src/services/config/constants.js +12 -8
- package/dist/server/src/services/config/constants.js.map +1 -1
- package/dist/server/src/services/config/index.d.ts +15 -9
- package/dist/server/src/services/config/index.js +135 -46
- package/dist/server/src/services/config/index.js.map +1 -1
- package/dist/server/src/services/config/types.d.ts +10 -15
- package/dist/server/src/services/config/types.js.map +1 -1
- package/dist/server/src/services/logger/index.d.ts +10 -17
- package/dist/server/src/services/logger/index.js +44 -91
- package/dist/server/src/services/logger/index.js.map +1 -1
- package/dist/server/src/types.d.ts +24 -0
- package/eslint.config.js +89 -0
- package/localdeps.txt +6 -0
- package/package.json +44 -70
- package/dist/interface/@intlify.YW_pt133.0.0.22-alpha.0.js +0 -15
- package/dist/interface/@mdi.DnMbZhUH.0.0.22-alpha.0.js +0 -1
- package/dist/interface/@popperjs.BQBsAJpH.0.0.22-alpha.0.js +0 -1
- package/dist/interface/@tanstack.Dk7F0Vz0.0.0.22-alpha.0.js +0 -1
- package/dist/interface/@vue.CvjRlaU6.0.0.22-alpha.0.js +0 -17
- package/dist/interface/@vueuse.XquUZgtp.0.0.22-alpha.0.js +0 -1
- package/dist/interface/Account.Bv7AmbuK.0.0.22-alpha.0.js +0 -1
- package/dist/interface/Adminpanel.DsGsXBHH.0.0.22-alpha.0.js +0 -2
- package/dist/interface/Appearance.C6Qj2C_l.0.0.22-alpha.0.js +0 -1
- package/dist/interface/Backup.BlSlgkpW.0.0.22-alpha.0.js +0 -1
- package/dist/interface/Camera.CC08IZ17.0.0.22-alpha.0.js +0 -1
- package/dist/interface/Cameras.BqEpCuCR.0.0.22-alpha.0.js +0 -1
- package/dist/interface/Camview.u79SRE7s.0.0.22-alpha.0.js +0 -1
- package/dist/interface/Config.CE50Q8KG.0.0.22-alpha.0.js +0 -1
- package/dist/interface/Console.DDlXS_WH.0.0.22-alpha.0.js +0 -4
- package/dist/interface/FirstSteps.CHLswquo.0.0.22-alpha.0.js +0 -1
- package/dist/interface/Plugin.CtrAxCQv.0.0.22-alpha.0.js +0 -1
- package/dist/interface/Plugins.CunIvSJv.0.0.22-alpha.0.js +0 -1
- package/dist/interface/Recordings.Bsbb3cLA.0.0.22-alpha.0.js +0 -1
- package/dist/interface/Recordings.CnclYToJ.0.0.22-alpha.0.js +0 -1
- package/dist/interface/Settings.CnMXEIf2.0.0.22-alpha.0.js +0 -1
- package/dist/interface/System.BnPrdvN0.0.0.22-alpha.0.js +0 -4
- package/dist/interface/User.DBaos4b8.0.0.22-alpha.0.js +0 -1
- package/dist/interface/VConfigEditor.vue_vue_type_script_setup_true_lang.CFukh5l5.0.0.22-alpha.0.js +0 -2
- package/dist/interface/VConsole.BgptXj79.0.0.22-alpha.0.js +0 -1
- package/dist/interface/VPlayer.C5vExb2M.0.0.22-alpha.0.js +0 -1
- package/dist/interface/VPluginCard.B-Rum4A2.0.0.22-alpha.0.js +0 -4
- package/dist/interface/assets/Adminpanel.0.0.22-alpha.0.CXsTAXPL.css +0 -1
- package/dist/interface/assets/Camera.0.0.22-alpha.0.BDtUJ-lA.css +0 -1
- package/dist/interface/assets/Cameras.0.0.22-alpha.0.Djx0F2MM.css +0 -1
- package/dist/interface/assets/Camview.0.0.22-alpha.0.Ce_V-Nxj.css +0 -1
- package/dist/interface/assets/Config.0.0.22-alpha.0.k4QpWumg.css +0 -1
- package/dist/interface/assets/Console.0.0.22-alpha.0.DWrfRWs9.css +0 -1
- package/dist/interface/assets/FirstSteps.0.0.22-alpha.0.B3-pv8-a.css +0 -1
- package/dist/interface/assets/NewCamera.0.0.22-alpha.0.DJ3tUBT_.css +0 -1
- package/dist/interface/assets/VConsole.0.0.22-alpha.0.BZT1WyS-.css +0 -1
- package/dist/interface/assets/VPlayer.0.0.22-alpha.0.CZXlTn4I.css +0 -1
- package/dist/interface/assets/VPluginCard.0.0.22-alpha.0.CIL48ca_.css +0 -1
- package/dist/interface/assets/main.0.0.22-alpha.0.BOf8IWhK.css +0 -1
- package/dist/interface/assets/v-calendar.0.0.22-alpha.0.CtSuDYZU.css +0 -1
- package/dist/interface/engine.io-client.BMIamAQC.0.0.22-alpha.0.js +0 -1
- package/dist/interface/main.BdLkotV4.0.0.22-alpha.0.js +0 -4
- package/dist/interface/pinia.DA4R8TFr.0.0.22-alpha.0.js +0 -5
- package/dist/interface/plugins.BcX2DDRp.0.0.22-alpha.0.js +0 -1
- package/dist/interface/socket.io-client.C9LJ1Zls.0.0.22-alpha.0.js +0 -1
- package/dist/interface/system.-IyAtje9.0.0.22-alpha.0.js +0 -1
- package/dist/interface/ui.Cu_G5h1z.0.0.22-alpha.0.js +0 -1
- package/dist/interface/utils.BvINh1mj.0.0.22-alpha.0.js +0 -1
- package/dist/interface/uuid.DvF23Exx.0.0.22-alpha.0.js +0 -1
- package/dist/interface/v-calendar.CmvG-vVL.0.0.22-alpha.0.js +0 -1
- package/dist/interface/vee-validate.DTObZ862.0.0.22-alpha.0.js +0 -5
- package/dist/interface/vue-i18n.CGodlogN.0.0.22-alpha.0.js +0 -5
- package/dist/interface/vue-router.CxSRaAvj.0.0.22-alpha.0.js +0 -5
- package/dist/interface/vue3-apexcharts.DAlcrhmw.0.0.22-alpha.0.js +0 -1
- package/dist/interface/vue3-toastify.CEJWJskm.0.0.22-alpha.0.js +0 -1
- package/dist/interface/vuetify.Cn9UEwpM.0.0.22-alpha.0.js +0 -5
- package/dist/interface/zod.BaF2dDCd.0.0.22-alpha.0.js +0 -1
- package/dist/server/bin/cameraui.d.ts +0 -54
- package/dist/server/bin/cameraui.js +0 -622
- package/dist/server/bin/cameraui.js.map +0 -1
- package/dist/server/bin/fork.js +0 -13
- package/dist/server/bin/fork.js.map +0 -1
- package/dist/server/bin/installer/base.d.ts +0 -17
- package/dist/server/bin/installer/base.js +0 -45
- package/dist/server/bin/installer/base.js.map +0 -1
- package/dist/server/bin/installer/darwin.d.ts +0 -61
- package/dist/server/bin/installer/darwin.js +0 -249
- package/dist/server/bin/installer/darwin.js.map +0 -1
- package/dist/server/bin/installer/freebsd.d.ts +0 -64
- package/dist/server/bin/installer/freebsd.js +0 -254
- package/dist/server/bin/installer/freebsd.js.map +0 -1
- package/dist/server/bin/installer/linux.d.ts +0 -103
- package/dist/server/bin/installer/linux.js +0 -482
- package/dist/server/bin/installer/linux.js.map +0 -1
- package/dist/server/bin/installer/win32.d.ts +0 -45
- package/dist/server/bin/installer/win32.js +0 -178
- package/dist/server/bin/installer/win32.js.map +0 -1
- package/dist/server/src/api/plugins/cameraui.plugin.d.ts +0 -11
- package/dist/server/src/api/plugins/cameraui.plugin.js +0 -6
- package/dist/server/src/api/plugins/cameraui.plugin.js.map +0 -1
- package/dist/server/src/api/plugins/database.plugin.d.ts +0 -11
- package/dist/server/src/api/plugins/database.plugin.js +0 -12
- package/dist/server/src/api/plugins/database.plugin.js.map +0 -1
- package/dist/server/src/api/plugins/go2rtc.plugin.d.ts +0 -11
- package/dist/server/src/api/plugins/go2rtc.plugin.js +0 -11
- package/dist/server/src/api/plugins/go2rtc.plugin.js.map +0 -1
- package/dist/server/src/camera/device.d.ts +0 -29
- package/dist/server/src/camera/device.js +0 -20
- package/dist/server/src/camera/device.js.map +0 -1
- package/dist/server/src/camera/index.d.ts +0 -94
- package/dist/server/src/camera/index.js +0 -620
- package/dist/server/src/camera/index.js.map +0 -1
- package/dist/server/src/camera/interfaces/camera.d.ts +0 -10
- package/dist/server/src/camera/interfaces/camera.js +0 -23
- package/dist/server/src/camera/interfaces/camera.js.map +0 -1
- package/dist/server/src/camera/interfaces/prebuffer.d.ts +0 -11
- package/dist/server/src/camera/interfaces/prebuffer.js +0 -26
- package/dist/server/src/camera/interfaces/prebuffer.js.map +0 -1
- package/dist/server/src/camera/interfaces/ptz.d.ts +0 -13
- package/dist/server/src/camera/interfaces/ptz.js +0 -47
- package/dist/server/src/camera/interfaces/ptz.js.map +0 -1
- package/dist/server/src/camera/iou.d.ts +0 -2
- package/dist/server/src/camera/iou.js +0 -53
- package/dist/server/src/camera/iou.js.map +0 -1
- package/dist/server/src/camera/polygon.d.ts +0 -6
- package/dist/server/src/camera/polygon.js +0 -151
- package/dist/server/src/camera/polygon.js.map +0 -1
- package/dist/server/src/camera/streaming/peer-connection.d.ts +0 -55
- package/dist/server/src/camera/streaming/peer-connection.js +0 -203
- package/dist/server/src/camera/streaming/peer-connection.js.map +0 -1
- package/dist/server/src/camera/streaming/webrtc-connection.d.ts +0 -35
- package/dist/server/src/camera/streaming/webrtc-connection.js +0 -170
- package/dist/server/src/camera/streaming/webrtc-connection.js.map +0 -1
- package/dist/server/src/camera/streaming/werift-session.d.ts +0 -41
- package/dist/server/src/camera/streaming/werift-session.js +0 -179
- package/dist/server/src/camera/streaming/werift-session.js.map +0 -1
- package/dist/server/src/camera/videoFrame.d.ts +0 -24
- package/dist/server/src/camera/videoFrame.js +0 -104
- package/dist/server/src/camera/videoFrame.js.map +0 -1
- package/dist/server/src/decoder/index.d.ts +0 -11
- package/dist/server/src/decoder/index.js +0 -32
- package/dist/server/src/decoder/index.js.map +0 -1
- package/dist/server/src/decoder/types.d.ts +0 -151
- package/dist/server/src/decoder/types.js +0 -2
- package/dist/server/src/decoder/types.js.map +0 -1
- package/dist/server/src/decoder/worker.js +0 -245
- package/dist/server/src/decoder/worker.js.map +0 -1
- package/dist/server/src/index.d.ts +0 -18
- package/dist/server/src/index.js +0 -5
- package/dist/server/src/index.js.map +0 -1
- package/dist/server/src/nats/connection.d.ts +0 -17
- package/dist/server/src/nats/connection.js +0 -66
- package/dist/server/src/nats/connection.js.map +0 -1
- package/dist/server/src/nats/constants.d.ts +0 -1
- package/dist/server/src/nats/constants.js +0 -2
- package/dist/server/src/nats/constants.js.map +0 -1
- package/dist/server/src/nats/error.d.ts +0 -9
- package/dist/server/src/nats/error.js +0 -11
- package/dist/server/src/nats/error.js.map +0 -1
- package/dist/server/src/nats/messageQueue.d.ts +0 -20
- package/dist/server/src/nats/messageQueue.js +0 -132
- package/dist/server/src/nats/messageQueue.js.map +0 -1
- package/dist/server/src/nats/subscription.d.ts +0 -12
- package/dist/server/src/nats/subscription.js +0 -21
- package/dist/server/src/nats/subscription.js.map +0 -1
- package/dist/server/src/plugins/interfaces/audioDetection.d.ts +0 -7
- package/dist/server/src/plugins/interfaces/audioDetection.js +0 -4
- package/dist/server/src/plugins/interfaces/audioDetection.js.map +0 -1
- package/dist/server/src/plugins/interfaces/base.d.ts +0 -6
- package/dist/server/src/plugins/interfaces/base.js +0 -3
- package/dist/server/src/plugins/interfaces/base.js.map +0 -1
- package/dist/server/src/plugins/interfaces/motionDetection.d.ts +0 -6
- package/dist/server/src/plugins/interfaces/motionDetection.js +0 -4
- package/dist/server/src/plugins/interfaces/motionDetection.js.map +0 -1
- package/dist/server/src/plugins/interfaces/objectDetection.d.ts +0 -7
- package/dist/server/src/plugins/interfaces/objectDetection.js +0 -4
- package/dist/server/src/plugins/interfaces/objectDetection.js.map +0 -1
- package/dist/server/src/polyglot/node/decoder/child.d.ts +0 -1
- package/dist/server/src/polyglot/node/decoder/child.js +0 -644
- package/dist/server/src/polyglot/node/decoder/child.js.map +0 -1
- package/dist/server/src/polyglot/node/decoder/imageUtils.d.ts +0 -24
- package/dist/server/src/polyglot/node/decoder/imageUtils.js +0 -205
- package/dist/server/src/polyglot/node/decoder/imageUtils.js.map +0 -1
- package/dist/server/src/polyglot/node/decoder/wasm/build/decoder.d.ts +0 -144
- package/dist/server/src/polyglot/node/decoder/wasm/build/decoder.js +0 -65
- package/dist/server/src/polyglot/node/decoder/wasm/build/decoder.wasm +0 -0
- package/dist/server/src/polyglot/node/decoder/wasm/test/imageUtils.py +0 -106
- package/dist/server/src/polyglot/node/plugins/cameraStorage.d.ts +0 -107
- package/dist/server/src/polyglot/node/plugins/cameraStorage.js +0 -292
- package/dist/server/src/polyglot/node/plugins/cameraStorage.js.map +0 -1
- package/dist/server/src/polyglot/node/plugins/child.d.ts +0 -28
- package/dist/server/src/polyglot/node/plugins/child.js +0 -222
- package/dist/server/src/polyglot/node/plugins/child.js.map +0 -1
- package/dist/server/src/polyglot/node/plugins/configService.d.ts +0 -104
- package/dist/server/src/polyglot/node/plugins/configService.js +0 -213
- package/dist/server/src/polyglot/node/plugins/configService.js.map +0 -1
- package/dist/server/src/polyglot/node/plugins/pluginApi.d.ts +0 -35
- package/dist/server/src/polyglot/node/plugins/pluginApi.js +0 -23
- package/dist/server/src/polyglot/node/plugins/pluginApi.js.map +0 -1
- package/dist/server/src/polyglot/node/plugins/pluginLogger.d.ts +0 -18
- package/dist/server/src/polyglot/node/plugins/pluginLogger.js +0 -89
- package/dist/server/src/polyglot/node/plugins/pluginLogger.js.map +0 -1
- package/dist/server/src/polyglot/node/plugins/proxy/cameraDevice.d.ts +0 -69
- package/dist/server/src/polyglot/node/plugins/proxy/cameraDevice.js +0 -432
- package/dist/server/src/polyglot/node/plugins/proxy/cameraDevice.js.map +0 -1
- package/dist/server/src/polyglot/node/plugins/proxy/coreManager.d.ts +0 -40
- package/dist/server/src/polyglot/node/plugins/proxy/coreManager.js +0 -105
- package/dist/server/src/polyglot/node/plugins/proxy/coreManager.js.map +0 -1
- package/dist/server/src/polyglot/node/plugins/proxy/deviceManager.d.ts +0 -47
- package/dist/server/src/polyglot/node/plugins/proxy/deviceManager.js +0 -164
- package/dist/server/src/polyglot/node/plugins/proxy/deviceManager.js.map +0 -1
- package/dist/server/src/polyglot/node/plugins/schema.d.ts +0 -293
- package/dist/server/src/polyglot/node/plugins/schema.js +0 -740
- package/dist/server/src/polyglot/node/plugins/schema.js.map +0 -1
- package/dist/server/src/polyglot/node/plugins/storageController.d.ts +0 -30
- package/dist/server/src/polyglot/node/plugins/storageController.js +0 -40
- package/dist/server/src/polyglot/node/plugins/storageController.js.map +0 -1
- package/dist/server/src/polyglot/python/camera/interfaces/camera.py +0 -20
- package/dist/server/src/polyglot/python/camera/interfaces/prebuffer.py +0 -25
- package/dist/server/src/polyglot/python/camera/interfaces/ptz.py +0 -38
- package/dist/server/src/polyglot/python/camera/iou.py +0 -80
- package/dist/server/src/polyglot/python/camera/polygon.py +0 -173
- package/dist/server/src/polyglot/python/camera/video_frame.py +0 -188
- package/dist/server/src/polyglot/python/camera_ui_types/__init__.py +0 -1196
- package/dist/server/src/polyglot/python/decoder/child.py +0 -882
- package/dist/server/src/polyglot/python/decoder/image_utils.py +0 -149
- package/dist/server/src/polyglot/python/decoder/typings.py +0 -99
- package/dist/server/src/polyglot/python/plugins/camera_storage.py +0 -391
- package/dist/server/src/polyglot/python/plugins/child.py +0 -394
- package/dist/server/src/polyglot/python/plugins/config_service.py +0 -187
- package/dist/server/src/polyglot/python/plugins/constants.py +0 -1
- package/dist/server/src/polyglot/python/plugins/message_queue.py +0 -182
- package/dist/server/src/polyglot/python/plugins/plugin_api.py +0 -34
- package/dist/server/src/polyglot/python/plugins/plugin_logger.py +0 -111
- package/dist/server/src/polyglot/python/plugins/proxy/camera_device.py +0 -1677
- package/dist/server/src/polyglot/python/plugins/proxy/core_manager.py +0 -145
- package/dist/server/src/polyglot/python/plugins/proxy/device_manager.py +0 -226
- package/dist/server/src/polyglot/python/plugins/schema.py +0 -181
- package/dist/server/src/polyglot/python/plugins/storage_controller.py +0 -58
- package/dist/server/src/polyglot/python/plugins/typings.py +0 -253
- package/dist/server/src/polyglot/python/utilities/connection.py +0 -86
- package/dist/server/src/polyglot/python/utilities/json_lmdb.py +0 -19
- package/dist/server/src/polyglot/python/utilities/object_path.py +0 -195
- package/dist/server/src/polyglot/python/utilities/packer.py +0 -11
- package/dist/server/src/polyglot/python/utilities/subscriptions.py +0 -22
- package/dist/server/src/polyglot/python/utilities/task.py +0 -35
- package/dist/server/src/polyglot/python/utilities/thread.py +0 -10
- package/dist/server/src/polyglot/python/utilities/utils.py +0 -73
- package/dist/server/src/utils/ffmpeg.d.ts +0 -2
- package/dist/server/src/utils/ffmpeg.js +0 -61
- package/dist/server/src/utils/ffmpeg.js.map +0 -1
- package/dist/server/src/utils/network.d.ts +0 -12
- package/dist/server/src/utils/network.js +0 -92
- package/dist/server/src/utils/network.js.map +0 -1
- package/dist/server/src/utils/npm.d.ts +0 -4
- package/dist/server/src/utils/npm.js +0 -128
- package/dist/server/src/utils/npm.js.map +0 -1
- package/dist/server/src/utils/packer.d.ts +0 -2
- package/dist/server/src/utils/packer.js +0 -17
- package/dist/server/src/utils/packer.js.map +0 -1
- package/dist/server/src/utils/pythonInstaller.d.ts +0 -48
- package/dist/server/src/utils/pythonInstaller.js +0 -494
- package/dist/server/src/utils/pythonInstaller.js.map +0 -1
- package/dist/server/src/utils/reader.d.ts +0 -5
- package/dist/server/src/utils/reader.js +0 -41
- package/dist/server/src/utils/reader.js.map +0 -1
- package/dist/server/src/utils/subscribed.d.ts +0 -9
- package/dist/server/src/utils/subscribed.js +0 -17
- package/dist/server/src/utils/subscribed.js.map +0 -1
- package/dist/server/src/utils/utils.d.ts +0 -10
- package/dist/server/src/utils/utils.js +0 -165
- package/dist/server/src/utils/utils.js.map +0 -1
- package/upgrade-server.sh +0 -205
- /package/dist/interface/{@babel.l0sNRNKZ.0.0.22-alpha.0.js → @babel.l0sNRNKZ.0.0.22-alpha.2.js} +0 -0
- /package/dist/interface/{@react-dnd.CcwRs9xb.0.0.22-alpha.0.js → @react-dnd.CcwRs9xb.0.0.22-alpha.2.js} +0 -0
- /package/dist/interface/{@socket.io.Dkula2eQ.0.0.22-alpha.0.js → @socket.io.Dkula2eQ.0.0.22-alpha.2.js} +0 -0
- /package/dist/interface/{vue.l0sNRNKZ.0.0.22-alpha.0.js → @turf.l0sNRNKZ.0.0.22-alpha.2.js} +0 -0
- /package/dist/interface/{@xterm.DBtVaaEV.0.0.22-alpha.0.js → @xterm.CRKo0AGB.0.0.22-alpha.2.js} +0 -0
- /package/dist/interface/assets/{@vueform.0.0.22-alpha.0.h7tNX9p6.css → @vueform.0.0.22-alpha.2.CroAHJs8.css} +0 -0
- /package/dist/interface/assets/{@xterm.0.0.22-alpha.0.CGrrDQr5.css → @xterm.0.0.22-alpha.2.CFbL2ovg.css} +0 -0
- /package/dist/interface/assets/{Account.0.0.22-alpha.0.Ce3OmKrC.css → Account.0.0.22-alpha.2.J7oAjogS.css} +0 -0
- /package/dist/interface/assets/{Backup.0.0.22-alpha.0.BIwaSlv3.css → Backup.0.0.22-alpha.2.CX0rT0QJ.css} +0 -0
- /package/dist/interface/assets/{Plugin.0.0.22-alpha.0.BtRA6zDt.css → Plugin.0.0.22-alpha.2.DJbgaQc1.css} +0 -0
- /package/dist/interface/assets/{Plugins.0.0.22-alpha.0.Cwu0aGUO.css → Plugins.0.0.22-alpha.2.DXSoO9M1.css} +0 -0
- /package/dist/interface/assets/{User.0.0.22-alpha.0.DPDcJbx8.css → User.0.0.22-alpha.2.BiGtIFqt.css} +0 -0
- /package/dist/interface/assets/{highlight.0.0.22-alpha.0.DgoK_Xib.css → highlight.0.0.22-alpha.2.Ch2EwETz.css} +0 -0
- /package/dist/interface/assets/{logo-256.0.0.22-alpha.0.BCQk9H1-.png → logo-256.0.0.22-alpha.2.BCQk9H1-.png} +0 -0
- /package/dist/interface/assets/{logo-512.0.0.22-alpha.0.DLKVOU2S.png → logo-512.0.0.22-alpha.2.DLKVOU2S.png} +0 -0
- /package/dist/interface/assets/{logo.0.0.22-alpha.0.DmEiRk0z.png → logo.0.0.22-alpha.2.DmEiRk0z.png} +0 -0
- /package/dist/interface/assets/{mode-json.0.0.22-alpha.0.Br7xisR1.js → mode-json.0.0.22-alpha.2.Br7xisR1.js} +0 -0
- /package/dist/interface/assets/{mode-yaml.0.0.22-alpha.0.CIYL8U3d.js → mode-yaml.0.0.22-alpha.2.CIYL8U3d.js} +0 -0
- /package/dist/interface/assets/{vue3-toastify.0.0.22-alpha.0.DTY1DMRs.css → vue3-toastify.0.0.22-alpha.2.DHXAGmwn.css} +0 -0
- /package/dist/interface/{axios.C-n2IhIP.0.0.22-alpha.0.js → axios.C-n2IhIP.0.0.22-alpha.2.js} +0 -0
- /package/dist/interface/{compare-versions.DqEOhma6.0.0.22-alpha.0.js → compare-versions.DqEOhma6.0.0.22-alpha.2.js} +0 -0
- /package/dist/interface/{dijkstrajs.D_NXgYpA.0.0.22-alpha.0.js → dijkstrajs.D_NXgYpA.0.0.22-alpha.2.js} +0 -0
- /package/dist/interface/{engine.io-parser.BiEtp6m2.0.0.22-alpha.0.js → engine.io-parser.BiEtp6m2.0.0.22-alpha.2.js} +0 -0
- /package/dist/interface/{entities.C20TfXL6.0.0.22-alpha.0.js → entities.C20TfXL6.0.0.22-alpha.2.js} +0 -0
- /package/dist/interface/{get-size.D1dS-IaP.0.0.22-alpha.0.js → get-size.D1dS-IaP.0.0.22-alpha.2.js} +0 -0
- /package/dist/interface/{mdurl.k9Sl0PQj.0.0.22-alpha.0.js → mdurl.k9Sl0PQj.0.0.22-alpha.2.js} +0 -0
- /package/dist/interface/{punycode.js.Dj65hjkv.0.0.22-alpha.0.js → punycode.js.Dj65hjkv.0.0.22-alpha.2.js} +0 -0
- /package/dist/interface/{react-dnd-html5-backend.1HQjlkwI.0.0.22-alpha.0.js → react-dnd-html5-backend.1HQjlkwI.0.0.22-alpha.2.js} +0 -0
- /package/dist/interface/{redux.CuxFRhX_.0.0.22-alpha.0.js → redux.CuxFRhX_.0.0.22-alpha.2.js} +0 -0
- /package/dist/interface/{tslib.9k7AwCpt.0.0.22-alpha.0.js → tslib.9k7AwCpt.0.0.22-alpha.2.js} +0 -0
- /package/dist/interface/{uc.micro.kMc2yuuw.0.0.22-alpha.0.js → uc.micro.kMc2yuuw.0.0.22-alpha.2.js} +0 -0
- /package/dist/server/bin/{fork.d.ts → cameraui-server.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as ve,u as ke,e as Pe,f as de,d as ie}from"./mdurl.k9Sl0PQj.0.0.22-alpha.
|
|
1
|
+
import{m as ve,u as ke,e as Pe,f as de,d as ie}from"./mdurl.k9Sl0PQj.0.0.22-alpha.2.js";import{P as Re,r as ze,u as Oe}from"./uc.micro.kMc2yuuw.0.0.22-alpha.2.js";import{d as me}from"./entities.C20TfXL6.0.0.22-alpha.2.js";import{L as De}from"./linkify-it.Fi_bpuck.0.0.22-alpha.2.js";import{p as xe}from"./punycode.js.Dj65hjkv.0.0.22-alpha.2.js";function Fe(e){return Object.prototype.toString.call(e)}function ee(e){return Fe(e)==="[object String]"}const Le=Object.prototype.hasOwnProperty;function $e(e,n){return Le.call(e,n)}function G(e){return Array.prototype.slice.call(arguments,1).forEach(function(r){if(r){if(typeof r!="object")throw new TypeError(r+"must be object");Object.keys(r).forEach(function(i){e[i]=r[i]})}}),e}function ge(e,n,r){return[].concat(e.slice(0,n),r,e.slice(n+1))}function ne(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function H(e){if(e>65535){e-=65536;const n=55296+(e>>10),r=56320+(e&1023);return String.fromCharCode(n,r)}return String.fromCharCode(e)}const _e=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Be=/&([a-z#][a-z0-9]{1,31});/gi,je=new RegExp(_e.source+"|"+Be.source,"gi"),qe=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Ne(e,n){if(n.charCodeAt(0)===35&&qe.test(n)){const i=n[1].toLowerCase()==="x"?parseInt(n.slice(2),16):parseInt(n.slice(1),10);return ne(i)?H(i):e}const r=me(e);return r!==e?r:e}function Ze(e){return e.indexOf("\\")<0?e:e.replace(_e,"$1")}function D(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(je,function(n,r,i){return r||Ne(n,i)})}const Ue=/[&<>"]/,He=/[&<>"]/g,Ge={"&":"&","<":"<",">":">",'"':"""};function We(e){return Ge[e]}function R(e){return Ue.test(e)?e.replace(He,We):e}const Qe=/[.?*+^$[\]\\(){}|-]/g;function Je(e){return e.replace(Qe,"\\$&")}function A(e){switch(e){case 9:case 32:return!0}return!1}function $(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function B(e){return Re.test(e)||ze.test(e)}function j(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function W(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const Ve={mdurl:ve,ucmicro:Oe},Xe=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:ge,assign:G,escapeHtml:R,escapeRE:Je,fromCodePoint:H,has:$e,isMdAsciiPunct:j,isPunctChar:B,isSpace:A,isString:ee,isValidEntityCode:ne,isWhiteSpace:$,lib:Ve,normalizeReference:W,unescapeAll:D,unescapeMd:Ze},Symbol.toStringTag,{value:"Module"}));function Ye(e,n,r){let i,o,t,l;const c=e.posMax,s=e.pos;for(e.pos=n+1,i=1;e.pos<c;){if(t=e.src.charCodeAt(e.pos),t===93&&(i--,i===0)){o=!0;break}if(l=e.pos,e.md.inline.skipToken(e),t===91){if(l===e.pos-1)i++;else if(r)return e.pos=s,-1}}let f=-1;return o&&(f=e.pos),e.pos=s,f}function Ke(e,n,r){let i,o=n;const t={ok:!1,pos:0,str:""};if(e.charCodeAt(o)===60){for(o++;o<r;){if(i=e.charCodeAt(o),i===10||i===60)return t;if(i===62)return t.pos=o+1,t.str=D(e.slice(n+1,o)),t.ok=!0,t;if(i===92&&o+1<r){o+=2;continue}o++}return t}let l=0;for(;o<r&&(i=e.charCodeAt(o),!(i===32||i<32||i===127));){if(i===92&&o+1<r){if(e.charCodeAt(o+1)===32)break;o+=2;continue}if(i===40&&(l++,l>32))return t;if(i===41){if(l===0)break;l--}o++}return n===o||l!==0||(t.str=D(e.slice(n,o)),t.pos=o,t.ok=!0),t}function en(e,n,r,i){let o,t=n;const l={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(i)l.str=i.str,l.marker=i.marker;else{if(t>=r)return l;let c=e.charCodeAt(t);if(c!==34&&c!==39&&c!==40)return l;n++,t++,c===40&&(c=41),l.marker=c}for(;t<r;){if(o=e.charCodeAt(t),o===l.marker)return l.pos=t+1,l.str+=D(e.slice(n,t)),l.ok=!0,l;if(o===40&&l.marker===41)return l;o===92&&t+1<r&&t++,t++}return l.can_continue=!0,l.str+=D(e.slice(n,t)),l}const nn=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:Ke,parseLinkLabel:Ye,parseLinkTitle:en},Symbol.toStringTag,{value:"Module"})),I={};I.code_inline=function(e,n,r,i,o){const t=e[n];return"<code"+o.renderAttrs(t)+">"+R(t.content)+"</code>"};I.code_block=function(e,n,r,i,o){const t=e[n];return"<pre"+o.renderAttrs(t)+"><code>"+R(e[n].content)+`</code></pre>
|
|
2
2
|
`};I.fence=function(e,n,r,i,o){const t=e[n],l=t.info?D(t.info).trim():"";let c="",s="";if(l){const h=l.split(/(\s+)/g);c=h[0],s=h.slice(2).join("")}let f;if(r.highlight?f=r.highlight(t.content,c,s)||R(t.content):f=R(t.content),f.indexOf("<pre")===0)return f+`
|
|
3
3
|
`;if(l){const h=t.attrIndex("class"),p=t.attrs?t.attrs.slice():[];h<0?p.push(["class",r.langPrefix+c]):(p[h]=p[h].slice(),p[h][1]+=" "+r.langPrefix+c);const k={attrs:p};return`<pre><code${o.renderAttrs(k)}>${f}</code></pre>
|
|
4
4
|
`}return`<pre><code${o.renderAttrs(t)}>${f}</code></pre>
|
package/dist/interface/{nprogress.BKgW3YbN.0.0.22-alpha.0.js → nprogress.tJ-b_-wu.0.0.22-alpha.2.js}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as w,g as x}from"./@xterm.
|
|
1
|
+
import{c as w,g as x}from"./@xterm.CRKo0AGB.0.0.22-alpha.2.js";var C={exports:{}};/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
2
2
|
* @license MIT */(function(k,N){(function(t,i){k.exports=i()})(w,function(){var t={};t.version="0.2.0";var i=t.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};t.configure=function(r){var e,n;for(e in r)n=r[e],n!==void 0&&r.hasOwnProperty(e)&&(i[e]=n);return this},t.status=null,t.set=function(r){var e=t.isStarted();r=m(r,i.minimum,1),t.status=r===1?null:r;var n=t.render(!e),o=n.querySelector(i.barSelector),a=i.speed,f=i.easing;return n.offsetWidth,T(function(s){i.positionUsing===""&&(i.positionUsing=t.getPositioningCSS()),g(o,P(r,a,f)),r===1?(g(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){g(n,{transition:"all "+a+"ms linear",opacity:0}),setTimeout(function(){t.remove(),s()},a)},a)):setTimeout(s,a)}),this},t.isStarted=function(){return typeof t.status=="number"},t.start=function(){t.status||t.set(0);var r=function(){setTimeout(function(){t.status&&(t.trickle(),r())},i.trickleSpeed)};return i.trickle&&r(),this},t.done=function(r){return!r&&!t.status?this:t.inc(.3+.5*Math.random()).set(1)},t.inc=function(r){var e=t.status;return e?(typeof r!="number"&&(r=(1-e)*m(Math.random()*e,.1,.95)),e=m(e+r,0,.994),t.set(e)):t.start()},t.trickle=function(){return t.inc(Math.random()*i.trickleRate)},function(){var r=0,e=0;t.promise=function(n){return!n||n.state()==="resolved"?this:(e===0&&t.start(),r++,e++,n.always(function(){e--,e===0?(r=0,t.done()):t.set((r-e)/r)}),this)}}(),t.render=function(r){if(t.isRendered())return document.getElementById("nprogress");h(document.documentElement,"nprogress-busy");var e=document.createElement("div");e.id="nprogress",e.innerHTML=i.template;var n=e.querySelector(i.barSelector),o=r?"-100":p(t.status||0),a=document.querySelector(i.parent),f;return g(n,{transition:"all 0 linear",transform:"translate3d("+o+"%,0,0)"}),i.showSpinner||(f=e.querySelector(i.spinnerSelector),f&&b(f)),a!=document.body&&h(a,"nprogress-custom-parent"),a.appendChild(e),e},t.remove=function(){S(document.documentElement,"nprogress-busy"),S(document.querySelector(i.parent),"nprogress-custom-parent");var r=document.getElementById("nprogress");r&&b(r)},t.isRendered=function(){return!!document.getElementById("nprogress")},t.getPositioningCSS=function(){var r=document.body.style,e="WebkitTransform"in r?"Webkit":"MozTransform"in r?"Moz":"msTransform"in r?"ms":"OTransform"in r?"O":"";return e+"Perspective"in r?"translate3d":e+"Transform"in r?"translate":"margin"};function m(r,e,n){return r<e?e:r>n?n:r}function p(r){return(-1+r)*100}function P(r,e,n){var o;return i.positionUsing==="translate3d"?o={transform:"translate3d("+p(r)+"%,0,0)"}:i.positionUsing==="translate"?o={transform:"translate("+p(r)+"%,0)"}:o={"margin-left":p(r)+"%"},o.transition="all "+e+"ms "+n,o}var T=function(){var r=[];function e(){var n=r.shift();n&&n(e)}return function(n){r.push(n),r.length==1&&e()}}(),g=function(){var r=["Webkit","O","Moz","ms"],e={};function n(s){return s.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(u,c){return c.toUpperCase()})}function o(s){var u=document.body.style;if(s in u)return s;for(var c=r.length,d=s.charAt(0).toUpperCase()+s.slice(1),l;c--;)if(l=r[c]+d,l in u)return l;return s}function a(s){return s=n(s),e[s]||(e[s]=o(s))}function f(s,u,c){u=a(u),s.style[u]=c}return function(s,u){var c=arguments,d,l;if(c.length==2)for(d in u)l=u[d],l!==void 0&&u.hasOwnProperty(d)&&f(s,d,l);else f(s,c[1],c[2])}}();function y(r,e){var n=typeof r=="string"?r:v(r);return n.indexOf(" "+e+" ")>=0}function h(r,e){var n=v(r),o=n+e;y(n,e)||(r.className=o.substring(1))}function S(r,e){var n=v(r),o;y(r,e)&&(o=n.replace(" "+e+" "," "),r.className=o.substring(1,o.length-1))}function v(r){return(" "+(r.className||"")+" ").replace(/\s+/gi," ")}function b(r){r&&r.parentNode&&r.parentNode.removeChild(r)}return t})})(C);var E=C.exports;const U=x(E);export{U as n};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const p={trailing:!0};function y(a,i=25,e={}){if(e={...p,...e},!Number.isFinite(i))throw new TypeError("Expected `wait` to be a finite number");let o,r,s=[],t,l;const c=(n,u)=>(t=g(a,n,u),t.finally(()=>{if(t=null,e.trailing&&l&&!r){const f=c(n,l);return l=null,f}}),t);return function(...n){return t?(e.trailing&&(l=n),t):new Promise(u=>{const f=!r&&e.leading;clearTimeout(r),r=setTimeout(()=>{r=null;const m=e.leading?o:c(this,n);for(const d of s)d(m);s=[]},i),f?(o=c(this,n),u(o)):s.push(u)})}}async function g(a,i,e){return await a.apply(i,e)}export{y as d};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{z as B,r as J,H as M,w as $,E as T,i as x,I as W,J as z,a as tt,B as et,y as st,o as nt,n as ot,h as ct,t as rt,c as ut}from"./@vue.DYBoJLkm.0.0.22-alpha.2.js";var at=!1;/*!
|
|
2
|
+
* pinia v2.2.4
|
|
3
|
+
* (c) 2024 Eduardo San Martin Morote
|
|
4
|
+
* @license MIT
|
|
5
|
+
*/let D;const p=t=>D=t,K=Symbol();function L(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var R;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(R||(R={}));function St(){const t=B(!0),o=t.run(()=>J({}));let s=[],e=[];const r=M({install(u){p(r),r._a=u,u.provide(K,r),u.config.globalProperties.$pinia=r,e.forEach(f=>s.push(f)),e=[]},use(u){return!this._a&&!at?e.push(u):s.push(u),this},_p:s,_a:null,_e:t,_s:new Map,state:o});return r}const q=()=>{};function V(t,o,s,e=q){t.push(o);const r=()=>{const u=t.indexOf(o);u>-1&&(t.splice(u,1),e())};return!s&&st()&&nt(r),r}function P(t,...o){t.slice().forEach(s=>{s(...o)})}const ft=t=>t(),A=Symbol(),k=Symbol();function O(t,o){t instanceof Map&&o instanceof Map?o.forEach((s,e)=>t.set(e,s)):t instanceof Set&&o instanceof Set&&o.forEach(t.add,t);for(const s in o){if(!o.hasOwnProperty(s))continue;const e=o[s],r=t[s];L(r)&&L(e)&&t.hasOwnProperty(s)&&!x(e)&&!W(e)?t[s]=O(r,e):t[s]=e}return t}const it=Symbol();function lt(t){return!L(t)||!t.hasOwnProperty(it)}const{assign:y}=Object;function ht(t){return!!(x(t)&&t.effect)}function bt(t,o,s,e){const{state:r,actions:u,getters:f}=o,a=s.state.value[t];let C;function b(){a||(s.state.value[t]=r?r():{});const v=rt(s.state.value[t]);return y(v,u,Object.keys(f||{}).reduce((S,_)=>(S[_]=M(ut(()=>{p(s);const m=s._s.get(t);return f[_].call(m,m)})),S),{}))}return C=Q(t,b,o,s,e,!0),C}function Q(t,o,s={},e,r,u){let f;const a=y({actions:{}},s),C={deep:!0};let b,v,S=[],_=[],m;const d=e.state.value[t];!u&&!d&&(e.state.value[t]={}),J({});let N;function F(c){let n;b=v=!1,typeof c=="function"?(c(e.state.value[t]),n={type:R.patchFunction,storeId:t,events:m}):(O(e.state.value[t],c),n={type:R.patchObject,payload:c,storeId:t,events:m});const i=N=Symbol();ot().then(()=>{N===i&&(b=!0)}),v=!0,P(S,n,e.state.value[t])}const U=u?function(){const{state:n}=s,i=n?n():{};this.$patch(j=>{y(j,i)})}:q;function X(){f.stop(),S=[],_=[],e._s.delete(t)}const H=(c,n="")=>{if(A in c)return c[k]=n,c;const i=function(){p(e);const j=Array.from(arguments),w=[],I=[];function Z(l){w.push(l)}function G(l){I.push(l)}P(_,{args:j,name:i[k],store:h,after:Z,onError:G});let E;try{E=c.apply(this&&this.$id===t?this:h,j)}catch(l){throw P(I,l),l}return E instanceof Promise?E.then(l=>(P(w,l),l)).catch(l=>(P(I,l),Promise.reject(l))):(P(w,E),E)};return i[A]=!0,i[k]=n,i},Y={_p:e,$id:t,$onAction:V.bind(null,_),$patch:F,$reset:U,$subscribe(c,n={}){const i=V(S,c,n.detached,()=>j()),j=f.run(()=>$(()=>e.state.value[t],w=>{(n.flush==="sync"?v:b)&&c({storeId:t,type:R.direct,events:m},w)},y({},C,n)));return i},$dispose:X},h=T(Y);e._s.set(t,h);const g=(e._a&&e._a.runWithContext||ft)(()=>e._e.run(()=>(f=B()).run(()=>o({action:H}))));for(const c in g){const n=g[c];if(x(n)&&!ht(n)||W(n))u||(d&<(n)&&(x(n)?n.value=d[c]:O(n,d[c])),e.state.value[t][c]=n);else if(typeof n=="function"){const i=H(n,c);g[c]=i,a.actions[c]=n}}return y(h,g),y(z(h),g),Object.defineProperty(h,"$state",{get:()=>e.state.value[t],set:c=>{F(n=>{y(n,c)})}}),e._p.forEach(c=>{y(h,f.run(()=>c({store:h,app:e._a,pinia:e,options:a})))}),d&&u&&s.hydrate&&s.hydrate(h.$state,d),b=!0,v=!0,h}function _t(t,o,s){let e,r;const u=typeof o=="function";typeof t=="string"?(e=t,r=u?s:o):(r=t,e=t.id);function f(a,C){const b=ct();return a=a||(b?tt(K,null):null),a&&p(a),a=D,a._s.has(e)||(u?Q(e,o,r,a):bt(e,r,a)),a._s.get(e)}return f.$id=e,f}function mt(t){{t=z(t);const o={};for(const s in t){const e=t[s];(x(e)||W(e))&&(o[s]=et(t,s))}return o}}export{St as c,_t as d,mt as s};
|
|
@@ -0,0 +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 o}from"./vue3-toastify.Jtf1C0Kw.0.0.22-alpha.2.js";import{i as l,x as s}from"./main.oy2O2TRy.0.0.22-alpha.2.js";import{u as d,b as i,a as u}from"./@tanstack.B6ZKNODP.0.0.22-alpha.2.js";import{r as m,u as r}from"./@vue.DYBoJLkm.0.0.22-alpha.2.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,q=async({pluginname:t,signal:n})=>(await s.get(`/plugins/${t}/versions`,{signal:n})).data,P=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({pluginName:t})=>(await s.delete(`/plugins/${t}/log`)).data,L=async({pluginName:t,signal:n})=>(await s.get(`/plugins/${t}/log/download`,{signal:n})).data,x=async({query:t,parameter:n,signal:e})=>(await s.get("/plugins/search",{params:{...t,...n},signal:e})).data,R=async({pluginName:t})=>(await s.put(`/plugins/${t}/enable`)).data,N=async({pluginName:t,configData:n})=>(await s.patch(`/plugins/${t}/config`,n)).data,I=async({pluginName:t})=>(await s.put(`/plugins/${t}/disable`)).data,J=async({pluginName:t})=>(await s.put(`/plugins/${t}/start`)).data,E=async({pluginName:t})=>(await s.put(`/plugins/${t}/stop`)).data,U=async({pluginName:t})=>(await s.put(`/plugins/${t}/restart`)).data,V=async({pluginName:t,formData:n})=>(await s.post(`/plugins/${t}/detect/motion`,n,{responseType:"arraybuffer"})).data,j=async({pluginName:t,formData:n})=>(await s.post(`/plugins/${t}/detect/objects`,n)).data,D=async({pluginName:t,formData:n})=>(await s.post(`/plugins/${t}/detect/audio`,n)).data,M=async({pluginName:t,actionId:n,payload:e})=>(await s.post(`/plugins/${t}/submit`,{actionId:n,payload:e})).data,B=async({pluginName:t,removeStorage:n})=>(await s.delete(`/plugins/${t}`,{params:{removeStorage:n}})).data,O=async()=>(await s.delete("/plugins")).data;class W{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},{name:"downloadLogQuery",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"]}),o.success(l.global.t("components.toast.plugin_installed"))}})}getPluginQuery(n){return u({queryKey:["plugins",n],queryFn:({signal:e})=>Q({pluginName:r(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginQuery"&&e.enabled)})}getPluginsQuery(n){return u({queryKey:["pluginsList",n],queryFn:({signal:e})=>$({parameter:r(n),signal:e}),placeholderData:e=>e,enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginsQuery"&&e.enabled)})}getPluginsExtensionsQuery(n){return u({queryKey:["extensionsList",n],queryFn:({signal:e})=>A({parameter:r(n),signal:e}),placeholderData:e=>e,enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginsExtensionsQuery"&&e.enabled)})}searchPluginsQuery(n,e){return u({queryKey:["pluginsSearch",n,e],queryFn:({signal:a})=>x({query:r(n),parameter:r(e),signal:a}),placeholderData:a=>a,enabled:()=>this.queryActivator.value.some(a=>a.name==="searchPluginsQuery"&&a.enabled)})}getPluginVersionsQuery(n){return u({queryKey:["plugins",n,"versions"],queryFn:({signal:e})=>q({pluginname:r(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginVersionsQuery"&&e.enabled)})}getPluginUpdateQuery(n){return u({queryKey:["plugins",n,"update"],queryFn:({signal:e})=>P({pluginName:r(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginUpdateQuery"&&e.enabled)})}getPluginLogoQuery(n){return u({queryKey:["plugins",n,"logo"],queryFn:({signal:e})=>b({pluginName:r(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginLogoQuery"&&e.enabled)})}getPluginSchemaQuery(n){return u({queryKey:["plugins",n,"schema"],queryFn:({signal:e})=>F({pluginName:r(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginSchemaQuery"&&e.enabled)})}getPluginConfigJsonQuery(n){return u({queryKey:["plugins",n,"config"],queryFn:({signal:e})=>w({pluginName:r(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginConfigJsonQuery"&&e.enabled)})}getPluginContractQuery(n){return u({queryKey:["plugins",n,"contract"],queryFn:({signal:e})=>f({pluginName:r(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginContractQuery"&&e.enabled)})}getPluginReadmeQuery(n){return u({queryKey:["plugins",n,"readme"],queryFn:({signal:e})=>v({pluginName:r(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginReadmeQuery"&&e.enabled)})}getPluginReleaseQuery(n){return u({queryKey:["plugins",n,"release"],queryFn:({signal:e})=>K({pluginName:r(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginReleaseQuery"&&e.enabled)})}getPluginInterfaceQuery(n,e){return u({queryKey:["plugins",n,"interface",e],queryFn:({signal:a})=>_({pluginName:r(n),parameter:e,signal:a}),enabled:()=>this.queryActivator.value.some(a=>a.name==="getPluginInterfaceQuery"&&a.enabled)})}getPluginChangelogQuery(n){return u({queryKey:["plugins",n,"changelog"],queryFn:({signal:e})=>C({pluginName:r(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getPluginChangelogQuery"&&e.enabled)})}patchPluginConfigQuery(){return i({mutationFn:N,onSuccess:async(n,e)=>{await this._queryClient.refetchQueries({queryKey:["plugins",e.pluginName]}),o.success(l.global.t("components.toast.plugin_config_updated"))}})}startPluginQuery(){return i({mutationFn:J,onSuccess:async(n,e)=>{await this._queryClient.refetchQueries({queryKey:["plugins",e.pluginName]}),o.success(l.global.t("components.toast.plugin_started"))}})}stopPluginQuery(){return i({mutationFn:E,onSuccess:async(n,e)=>{await this._queryClient.refetchQueries({queryKey:["plugins",e.pluginName]}),o.success(l.global.t("components.toast.plugin_stopped"))}})}restartPluginQuery(){return i({mutationFn:U,onSuccess:async(n,e)=>{await this._queryClient.refetchQueries({queryKey:["plugins",e.pluginName]}),o.success(l.global.t("components.toast.plugin_restarted"))}})}detectMotionQuery(){return i({mutationFn:V})}detectObjectsQuery(){return i({mutationFn:j})}detectAudioQuery(){return i({mutationFn:D})}actionButtonQuery(){return i({mutationFn:M,onSuccess:async(n,e)=>{await this._queryClient.refetchQueries({queryKey:["plugins",e.pluginName]}),o.success(l.global.t("components.toast.plugin_request_sent"))}})}enablePluginQuery(){return i({mutationFn:R,onSuccess:async(n,e)=>{await this._queryClient.refetchQueries({queryKey:["pluginsList"]}),await this._queryClient.refetchQueries({queryKey:["plugins",e.pluginName]}),o.success(l.global.t("components.toast.plugin_enabled"))}})}disablePluginQuery(){return i({mutationFn:I,onSuccess:async(n,e)=>{await this._queryClient.refetchQueries({queryKey:["pluginsList"]}),await this._queryClient.refetchQueries({queryKey:["plugins",e.pluginName]}),o.success(l.global.t("components.toast.plugin_disabled"))}})}uninstallPluginQuery(){return i({mutationFn:B,onSuccess:async()=>{await this._queryClient.refetchQueries({queryKey:["pluginsList"]}),await this._queryClient.refetchQueries({queryKey:["plugins"]}),await this._queryClient.refetchQueries({queryKey:["pluginsSearch"]}),o.success(l.global.t("components.toast.plugin_removed"))}})}uninstallPluginsQuery(){return i({mutationFn:O,onSuccess:async()=>{await this._queryClient.refetchQueries({queryKey:["pluginsList"]}),await this._queryClient.refetchQueries({queryKey:["plugins"]}),await this._queryClient.refetchQueries({queryKey:["pluginsSearch"]}),o.success(l.global.t("components.toast.plugins_removed"))}})}downloadLogQuery(n){return u({queryKey:["logs",n],queryFn:({signal:e})=>L({pluginName:r(n),signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="downloadLogQuery"&&e.enabled)})}clearLogQuery(){return i({mutationFn:S,onSuccess:async(n,e)=>{await this._queryClient.refetchQueries({queryKey:["logs",e.pluginName],exact:!0}),o.success(l.global.t("components.toast.log_cleared"))}})}toggleQueryActivator(n,e){const a=this.queryActivator.value.find(c=>c.name===n);a&&(a.enabled=e)}}export{W as P};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/dist/interface/{qrcode.EjmMHZZR.0.0.22-alpha.0.js → qrcode.9XoqawvO.0.0.22-alpha.2.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as bt}from"./dijkstrajs.D_NXgYpA.0.0.22-alpha.
|
|
1
|
+
import{d as bt}from"./dijkstrajs.D_NXgYpA.0.0.22-alpha.2.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.22-alpha.0.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.22-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,3 +1,3 @@
|
|
|
1
|
-
import{_,a as E,b as w,c as b}from"./tslib.9k7AwCpt.0.0.22-alpha.
|
|
1
|
+
import{_,a as E,b as w,c as b}from"./tslib.9k7AwCpt.0.0.22-alpha.2.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as k,i as b,S as v,n as E}from"./engine.io-client.DefPnTEq.0.0.22-alpha.2.js";import"./engine.io-parser.BiEtp6m2.0.0.22-alpha.2.js";import{E as _}from"./@socket.io.Dkula2eQ.0.0.22-alpha.2.js";import{P as c,p as O}from"./socket.io-parser.BLk6IoUZ.0.0.22-alpha.2.js";function w(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=k(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 o=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+o+":"+s.port+t,s.href=s.protocol+"://"+o+(e&&e.port===s.port?"":":"+s.port),s}function a(i,t,e){return i.on(t,e),function(){i.off(t,e)}}const L=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class y extends _{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){var s,n,o;if(L.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 r={type:c.EVENT,data:e};if(r.options={},r.options.compress=this.flags.compress!==!1,typeof e[e.length-1]=="function"){const m=this.ids++,g=e.pop();this._registerAckCallback(m,g),r.id=m}const h=(n=(s=this.io.engine)===null||s===void 0?void 0:s.transport)===null||n===void 0?void 0:n.writable,f=this.connected&&!(!((o=this.io.engine)===null||o===void 0)&&o._hasPingExpired());return this.flags.volatile&&!h||(f?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),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 o=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let h=0;h<this.sendBuffer.length;h++)this.sendBuffer[h].id===t&&this.sendBuffer.splice(h,1);e.call(this,new Error("operation has timed out"))},n),r=(...h)=>{this.io.clearTimeoutFn(o),e.apply(this,h)};r.withError=!0,this.acks[t]=r}emitWithAck(t,...e){return new Promise((s,n)=>{const o=(r,h)=>r?n(r):s(h);o.withError=!0,e.push(o),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,...o)=>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,...o)),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 _{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,b(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||O;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,t||(this.skipReconnect=!0),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 v(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()}),o=h=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",h),t?t(h):this.maybeReconnectOnOpen()},r=a(e,"error",o);if(this._timeout!==!1){const h=this._timeout,f=this.setTimeoutFn(()=>{n(),o(new Error("timeout")),e.close()},h);this.opts.autoUnref&&f.unref(),this.subs.push(()=>{this.clearTimeoutFn(f)})}return this.subs.push(n),this.subs.push(r),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){E(()=>{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 y(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")}disconnect(){return this._close()}onclose(t,e){var s;this.cleanup(),(s=this.engine)===null||s===void 0||s.close(),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=w(i,t.path||"/socket.io"),s=e.source,n=e.id,o=e.path,r=d[n]&&o in d[n].nsps,h=t.forceNew||t["force new connection"]||t.multiplex===!1||r;let f;return h?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:y,io:l,connect:l});export{p as M};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as N}from"./@socket.io.Dkula2eQ.0.0.22-alpha.
|
|
1
|
+
import{E as N}from"./@socket.io.Dkula2eQ.0.0.22-alpha.2.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.22-alpha.0.js",revision:"68b329da9893e34099c7d8ad5cb9c940"},{url:"@intlify.YW_pt133.0.0.22-alpha.0.js",revision:"f9ef792bf541cf6c5d55d4c95e72f801"},{url:"@mdi.DnMbZhUH.0.0.22-alpha.0.js",revision:"df0264f31da3c6f11665ff24da799358"},{url:"@popperjs.BQBsAJpH.0.0.22-alpha.0.js",revision:"4722cea349460dfc2ca343a542741ad2"},{url:"@react-dnd.CcwRs9xb.0.0.22-alpha.0.js",revision:"e298c89abc766898ace2a2e2546456c4"},{url:"@socket.io.Dkula2eQ.0.0.22-alpha.0.js",revision:"0ec353facc7dccc0a8bdec7158d33d6a"},{url:"@tanstack.Dk7F0Vz0.0.0.22-alpha.0.js",revision:"d3a16d7e3661f3d5a47f3097219194fa"},{url:"@vee-validate.BgtYefC2.0.0.22-alpha.0.js",revision:"cde94e788a89fb9d03aa1b9b11fc3cdd"},{url:"@vue.CvjRlaU6.0.0.22-alpha.0.js",revision:"89f6dcdf3c368648b9785dcfd8e26bb7"},{url:"@vueform.BbHIRROu.0.0.22-alpha.0.js",revision:"acbc171442e19197fdca11d87f794499"},{url:"@vueuse.XquUZgtp.0.0.22-alpha.0.js",revision:"4917167b76241b0ca43841127b581cc5"},{url:"@xterm.DBtVaaEV.0.0.22-alpha.0.js",revision:"a59fe338fd101774672d1f72c63a06d1"},{url:"Account.Bv7AmbuK.0.0.22-alpha.0.js",revision:"6b606dc9b6ee32eb1de61cfe8305be8c"},{url:"ace-builds.BJA55oyY.0.0.22-alpha.0.js",revision:"32bb4d71c84a689d140292d35cf9bd29"},{url:"Adminpanel.DsGsXBHH.0.0.22-alpha.0.js",revision:"268806d27b121d79422f9bd11f6bd6ab"},{url:"apexcharts.CDIQ8dOe.0.0.22-alpha.0.js",revision:"f4693abe47589ec2ba6a379ec180f481"},{url:"Appearance.C6Qj2C_l.0.0.22-alpha.0.js",revision:"5b5229ed6109aa9320882eee939832c8"},{url:"assets/@vueform.0.0.22-alpha.0.h7tNX9p6.css",revision:null},{url:"assets/@xterm.0.0.22-alpha.0.CGrrDQr5.css",revision:null},{url:"assets/Account.0.0.22-alpha.0.Ce3OmKrC.css",revision:null},{url:"assets/Adminpanel.0.0.22-alpha.0.CXsTAXPL.css",revision:null},{url:"assets/Backup.0.0.22-alpha.0.BIwaSlv3.css",revision:null},{url:"assets/Camera.0.0.22-alpha.0.BDtUJ-lA.css",revision:null},{url:"assets/Cameras.0.0.22-alpha.0.Djx0F2MM.css",revision:null},{url:"assets/Camview.0.0.22-alpha.0.Ce_V-Nxj.css",revision:null},{url:"assets/Config.0.0.22-alpha.0.k4QpWumg.css",revision:null},{url:"assets/Console.0.0.22-alpha.0.DWrfRWs9.css",revision:null},{url:"assets/FirstSteps.0.0.22-alpha.0.B3-pv8-a.css",revision:null},{url:"assets/highlight.0.0.22-alpha.0.DgoK_Xib.css",revision:null},{url:"assets/logo-256.0.0.22-alpha.0.BCQk9H1-.png",revision:null},{url:"assets/logo-512.0.0.22-alpha.0.DLKVOU2S.png",revision:null},{url:"assets/logo.0.0.22-alpha.0.DmEiRk0z.png",revision:null},{url:"assets/main.0.0.22-alpha.0.BOf8IWhK.css",revision:null},{url:"assets/mode-json.0.0.22-alpha.0.Br7xisR1.js",revision:null},{url:"assets/mode-yaml.0.0.22-alpha.0.CIYL8U3d.js",revision:null},{url:"assets/NewCamera.0.0.22-alpha.0.DJ3tUBT_.css",revision:null},{url:"assets/Plugin.0.0.22-alpha.0.BtRA6zDt.css",revision:null},{url:"assets/Plugins.0.0.22-alpha.0.Cwu0aGUO.css",revision:null},{url:"assets/Settings.0.0.22-alpha.0.DC_-E3CR.css",revision:null},{url:"assets/User.0.0.22-alpha.0.DPDcJbx8.css",revision:null},{url:"assets/v-calendar.0.0.22-alpha.0.CtSuDYZU.css",revision:null},{url:"assets/VConsole.0.0.22-alpha.0.BZT1WyS-.css",revision:null},{url:"assets/VPlayer.0.0.22-alpha.0.CZXlTn4I.css",revision:null},{url:"assets/VPluginCard.0.0.22-alpha.0.CIL48ca_.css",revision:null},{url:"assets/vue3-toastify.0.0.22-alpha.0.DTY1DMRs.css",revision:null},{url:"assets/vuetify.0.0.22-alpha.0.Cd1awv3t.css",revision:null},{url:"axios.C-n2IhIP.0.0.22-alpha.0.js",revision:"19fe14a63649f72cc75f4abe8ed279c2"},{url:"Backup.BlSlgkpW.0.0.22-alpha.0.js",revision:"7c34dcc80ece6b09ff6abe920257ae23"},{url:"Camera.CC08IZ17.0.0.22-alpha.0.js",revision:"24ce7e3ebbe88fb9f21cac08954e5c88"},{url:"Cameras.BqEpCuCR.0.0.22-alpha.0.js",revision:"a94780040761df74bb1670fe1cc98cef"},{url:"Camview.u79SRE7s.0.0.22-alpha.0.js",revision:"27920f154452c179a23d585004eb45d5"},{url:"compare-versions.DqEOhma6.0.0.22-alpha.0.js",revision:"975622890c8c52cc08cae5b40261000a"},{url:"Config.CE50Q8KG.0.0.22-alpha.0.js",revision:"770f1017df4cf544866cca01733dba65"},{url:"Console.DDlXS_WH.0.0.22-alpha.0.js",revision:"d7410beb4a966972c3d2befb1880f268"},{url:"dijkstrajs.D_NXgYpA.0.0.22-alpha.0.js",revision:"aa5b0e41e1694409c5bed3fabdbde57a"},{url:"dnd-core.BOxrARjV.0.0.22-alpha.0.js",revision:"6d12dd7af125dddd361d84389d2ec23e"},{url:"draggabilly.BEF5LqAH.0.0.22-alpha.0.js",revision:"05428ff3189be918f36133de2e842474"},{url:"engine.io-client.BMIamAQC.0.0.22-alpha.0.js",revision:"3ee1610de83d51809ec0fe8fb07adb3d"},{url:"engine.io-parser.BiEtp6m2.0.0.22-alpha.0.js",revision:"624d075c84ba49aa6891e0e229436a78"},{url:"entities.C20TfXL6.0.0.22-alpha.0.js",revision:"5c9d5aea88d983e506b4a6b8e61c7ec7"},{url:"ev-emitter.CsrKKb5x.0.0.22-alpha.0.js",revision:"d0c400e5871130107d1499e64525157e"},{url:"fast-deep-equal.CU36Z4X8.0.0.22-alpha.0.js",revision:"2109a9aea0186e1c3906a2bb42908e0a"},{url:"FirstSteps.CHLswquo.0.0.22-alpha.0.js",revision:"8e0dfac3f53c9d631d015f501883c9d0"},{url:"fonts/Inter/Inter-Regular.ttf",revision:"ea5879884a95551632e9eb1bba5b2128"},{url:"get-size.D1dS-IaP.0.0.22-alpha.0.js",revision:"d4a71c826a3f2a12a7cdea735caa7da1"},{url:"highlight.js.Cj98Ckpw.0.0.22-alpha.0.js",revision:"95e2ed4ffa9b93e59562f3f735443661"},{url:"index.html",revision:"b6a5e9544c2538c42802bb2c922d0535"},{url:"linkify-it.DIkWfPNS.0.0.22-alpha.0.js",revision:"ff15daafcceb35f71df66aeb572af5e2"},{url:"main.BdLkotV4.0.0.22-alpha.0.js",revision:"5bba66cb755f2ccb78e6084e900060c7"},{url:"markdown-it.DZ_JRYr5.0.0.22-alpha.0.js",revision:"c09413792700bf9139b631d734d00648"},{url:"mdurl.k9Sl0PQj.0.0.22-alpha.0.js",revision:"0b8be71b53641e6e0706ab65af2abe93"},{url:"NewCamera.CB2ARQ7q.0.0.22-alpha.0.js",revision:"d5b664ff9be16b405bbc54e92cd56811"},{url:"nprogress.BKgW3YbN.0.0.22-alpha.0.js",revision:"824b8e91c8ffcc230fa4654c3818d400"},{url:"pinia.DA4R8TFr.0.0.22-alpha.0.js",revision:"1218e40f83e744737059da9b4fd328ed"},{url:"Plugin.CtrAxCQv.0.0.22-alpha.0.js",revision:"c939091210f1646672170f0fdcfeacbd"},{url:"plugins.BcX2DDRp.0.0.22-alpha.0.js",revision:"32d14b0ae0287a8cc207b55b68594ae3"},{url:"Plugins.CunIvSJv.0.0.22-alpha.0.js",revision:"9195467ef4a5509dd25f90fe1b129528"},{url:"punycode.js.Dj65hjkv.0.0.22-alpha.0.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.EjmMHZZR.0.0.22-alpha.0.js",revision:"5f288b27ed8bfe33b3976e5c788ea886"},{url:"react-dnd-html5-backend.1HQjlkwI.0.0.22-alpha.0.js",revision:"75632bc200537797d2c878cacede62a5"},{url:"react-dnd-touch-backend.CU5Ax-9G.0.0.22-alpha.0.js",revision:"955c0c51d04c2d2db48673c345bb1099"},{url:"Recordings.Bsbb3cLA.0.0.22-alpha.0.js",revision:"be2b21c32524d0d734af044e6f1aec69"},{url:"Recordings.CnclYToJ.0.0.22-alpha.0.js",revision:"a3f00f3f60ef12301a4d83e38f4d684f"},{url:"redux.CuxFRhX_.0.0.22-alpha.0.js",revision:"0fb9d1a1041755430923c52117ee1e4b"},{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"robots.txt",revision:"f77c87f977e0fcce05a6df46c885a129"},{url:"rxjs.Cj9LQ_6u.0.0.22-alpha.0.js",revision:"3a1a69be1d2d23e8fdcb1a4e4e3497b1"},{url:"Settings.CnMXEIf2.0.0.22-alpha.0.js",revision:"f3f00a1e3b3dfe1014ee7cf8f2d805fc"},{url:"socket.io-client.C9LJ1Zls.0.0.22-alpha.0.js",revision:"de93163f648ba4eaef815b3ded7e5e5b"},{url:"socket.io-parser.CjxGsMQx.0.0.22-alpha.0.js",revision:"ad7d9a3079d8c8d6677ed3f179eb1a20"},{url:"system.-IyAtje9.0.0.22-alpha.0.js",revision:"426d801f5ee4b8207c64f7f86c00f913"},{url:"System.BnPrdvN0.0.0.22-alpha.0.js",revision:"f2a6b224d02382bf6ca17f4361e50155"},{url:"tslib.9k7AwCpt.0.0.22-alpha.0.js",revision:"1c62ff7f1693c3ed04fd51c1e62f776f"},{url:"uc.micro.kMc2yuuw.0.0.22-alpha.0.js",revision:"b6324b1a6b3dbbd69ffcb57015217b4a"},{url:"ui.Cu_G5h1z.0.0.22-alpha.0.js",revision:"887238a7b62f2830b5eb3724a2b276ca"},{url:"unidragger.DTWO4kXE.0.0.22-alpha.0.js",revision:"04aff00bf6152d8be7f89da854e0e1d1"},{url:"User.DBaos4b8.0.0.22-alpha.0.js",revision:"dd88064ad5339c81441f5f6f4a1a9548"},{url:"utils.BvINh1mj.0.0.22-alpha.0.js",revision:"bd381e4e9ff2523692a7bc1ea1f8cdbb"},{url:"uuid.DvF23Exx.0.0.22-alpha.0.js",revision:"a256a1ba1ffec8623c41723b4de020c1"},{url:"v-calendar.CmvG-vVL.0.0.22-alpha.0.js",revision:"430cd92ce869c98e600ae959130a3ca3"},{url:"VConfigEditor.vue_vue_type_script_setup_true_lang.CFukh5l5.0.0.22-alpha.0.js",revision:"ca456e9c647b46260868d91e28719361"},{url:"VConsole.BgptXj79.0.0.22-alpha.0.js",revision:"11eccf78e902df5ffcb040d6a5dbf48c"},{url:"vee-validate.DTObZ862.0.0.22-alpha.0.js",revision:"d66385ce51a0e24785c1cd0ab8a3f715"},{url:"VPlayer.C5vExb2M.0.0.22-alpha.0.js",revision:"6ad9edcdefcad25000d628863d74595f"},{url:"VPluginCard.B-Rum4A2.0.0.22-alpha.0.js",revision:"9a414954de617cb7db856f0c080ce136"},{url:"vue-i18n.CGodlogN.0.0.22-alpha.0.js",revision:"e2c8f0e8c79f14ae3741fa3c44f829fb"},{url:"vue-inline-svg.DF4jsptY.0.0.22-alpha.0.js",revision:"9743e576185d4af96e812540e9704ee5"},{url:"vue-router.CxSRaAvj.0.0.22-alpha.0.js",revision:"f72b46b0d5296fe9dddf57743467404e"},{url:"vue.l0sNRNKZ.0.0.22-alpha.0.js",revision:"68b329da9893e34099c7d8ad5cb9c940"},{url:"vue3-apexcharts.DAlcrhmw.0.0.22-alpha.0.js",revision:"1ff5e2ff5cef4aeaa012345bf3c26124"},{url:"vue3-dnd.CsLnkm-l.0.0.22-alpha.0.js",revision:"143194331f5fccf192c436cb19c540cc"},{url:"vue3-toastify.CEJWJskm.0.0.22-alpha.0.js",revision:"62ff344e19a7c10163da4167b43bab0f"},{url:"vuetify.Cn9UEwpM.0.0.22-alpha.0.js",revision:"04daadce15515f059ff64d97138a8a3a"},{url:"zod.BaF2dDCd.0.0.22-alpha.0.js",revision:"65f89d3a878c707cf4cea274844ea1e1"},{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")))}));
|
|
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.22-alpha.2.js",revision:"68b329da9893e34099c7d8ad5cb9c940"},{url:"@intlify.DXtFJcML.0.0.22-alpha.2.js",revision:"94a3ea82ce92b0bb314922b0c0500e40"},{url:"@mdi.C1UTQKuc.0.0.22-alpha.2.js",revision:"1261c904970d1516433120db091f79be"},{url:"@react-dnd.CcwRs9xb.0.0.22-alpha.2.js",revision:"e298c89abc766898ace2a2e2546456c4"},{url:"@socket.io.Dkula2eQ.0.0.22-alpha.2.js",revision:"0ec353facc7dccc0a8bdec7158d33d6a"},{url:"@tanstack.B6ZKNODP.0.0.22-alpha.2.js",revision:"346dd65805375355421802f6c205ee18"},{url:"@turf.l0sNRNKZ.0.0.22-alpha.2.js",revision:"68b329da9893e34099c7d8ad5cb9c940"},{url:"@vee-validate.BLOXgupV.0.0.22-alpha.2.js",revision:"7d23855cb6a8317dfdc0ad068e4fcae8"},{url:"@vue.DYBoJLkm.0.0.22-alpha.2.js",revision:"b7d525511c80b41c7ad6514ca9ace10a"},{url:"@vueform.BNEdNEfe.0.0.22-alpha.2.js",revision:"0933cc4b80aef81a343045a417a11fe0"},{url:"@vueuse.DLeXr990.0.0.22-alpha.2.js",revision:"35f7f3cb931369ef85c1860c854e8247"},{url:"@xterm.CRKo0AGB.0.0.22-alpha.2.js",revision:"a59fe338fd101774672d1f72c63a06d1"},{url:"Account.CJmkOolZ.0.0.22-alpha.2.js",revision:"3d3db73f97ef5da52a763ad1bfa4471e"},{url:"ace-builds.CYuWji3-.0.0.22-alpha.2.js",revision:"55c7bbe4669b62ae7f1be59204e4ed4f"},{url:"Adminpanel.Tg7HwSe9.0.0.22-alpha.2.js",revision:"129d7142e35231f4e860dbb358153793"},{url:"apexcharts.BjVuUwvF.0.0.22-alpha.2.js",revision:"7d1d4c72a3a28263ea0a12c868a7d2e7"},{url:"Appearance.Bu1bU0wi.0.0.22-alpha.2.js",revision:"af00b1f6a3e325c4f0576d1ca7e47242"},{url:"assets/@vueform.0.0.22-alpha.2.CroAHJs8.css",revision:null},{url:"assets/@xterm.0.0.22-alpha.2.CFbL2ovg.css",revision:null},{url:"assets/Account.0.0.22-alpha.2.J7oAjogS.css",revision:null},{url:"assets/Adminpanel.0.0.22-alpha.2.a3t1v3MB.css",revision:null},{url:"assets/Backup.0.0.22-alpha.2.CX0rT0QJ.css",revision:null},{url:"assets/Camera.0.0.22-alpha.2.D1I-fW4q.css",revision:null},{url:"assets/Cameras.0.0.22-alpha.2.Buf1Dgce.css",revision:null},{url:"assets/Camview.0.0.22-alpha.2.B7Cja2ry.css",revision:null},{url:"assets/Config.0.0.22-alpha.2.DNGo2krN.css",revision:null},{url:"assets/Console.0.0.22-alpha.2.Bh8l9QnM.css",revision:null},{url:"assets/FirstSteps.0.0.22-alpha.2.sPEcItZ6.css",revision:null},{url:"assets/highlight.0.0.22-alpha.2.Ch2EwETz.css",revision:null},{url:"assets/logo-256.0.0.22-alpha.2.BCQk9H1-.png",revision:null},{url:"assets/logo-512.0.0.22-alpha.2.DLKVOU2S.png",revision:null},{url:"assets/logo.0.0.22-alpha.2.DmEiRk0z.png",revision:null},{url:"assets/main.0.0.22-alpha.2.DNhh__S1.css",revision:null},{url:"assets/mode-json.0.0.22-alpha.2.Br7xisR1.js",revision:null},{url:"assets/mode-yaml.0.0.22-alpha.2.CIYL8U3d.js",revision:null},{url:"assets/NewCamera.0.0.22-alpha.2.Cq8GzeJ7.css",revision:null},{url:"assets/Plugin.0.0.22-alpha.2.DJbgaQc1.css",revision:null},{url:"assets/Plugins.0.0.22-alpha.2.DXSoO9M1.css",revision:null},{url:"assets/Settings.0.0.22-alpha.2.CVmui2kE.css",revision:null},{url:"assets/User.0.0.22-alpha.2.BiGtIFqt.css",revision:null},{url:"assets/VConsole.0.0.22-alpha.2.BCqKHpmJ.css",revision:null},{url:"assets/VPlayer.0.0.22-alpha.2.DNtDNhfg.css",revision:null},{url:"assets/VPluginCard.0.0.22-alpha.2.C8Lj6X-J.css",revision:null},{url:"assets/vue3-toastify.0.0.22-alpha.2.DHXAGmwn.css",revision:null},{url:"assets/vuetify.0.0.22-alpha.2.CgGsw6iO.css",revision:null},{url:"axios.C-n2IhIP.0.0.22-alpha.2.js",revision:"19fe14a63649f72cc75f4abe8ed279c2"},{url:"Backup.8VdHTNcr.0.0.22-alpha.2.js",revision:"ed6de997ef7123cc6916eb21df39b384"},{url:"birpc.l0sNRNKZ.0.0.22-alpha.2.js",revision:"68b329da9893e34099c7d8ad5cb9c940"},{url:"Camera.Dg8hy2Yt.0.0.22-alpha.2.js",revision:"222df7c8b1f060b31e82519e50b92b90"},{url:"Cameras.BIlZs0XL.0.0.22-alpha.2.js",revision:"29f8a34f6365985870535147bfe0e503"},{url:"Camview.BOntwhuV.0.0.22-alpha.2.js",revision:"337e914d60d493d843c74821b4ed5eac"},{url:"compare-versions.DqEOhma6.0.0.22-alpha.2.js",revision:"975622890c8c52cc08cae5b40261000a"},{url:"Config.jsnOhEqZ.0.0.22-alpha.2.js",revision:"5f4209d4e8c7e7233ad18ec50d30d148"},{url:"Console.D9pK-qBL.0.0.22-alpha.2.js",revision:"4812fe74a1b8a0629b71dcc1881ba122"},{url:"dijkstrajs.D_NXgYpA.0.0.22-alpha.2.js",revision:"aa5b0e41e1694409c5bed3fabdbde57a"},{url:"dnd-core.CInfibuN.0.0.22-alpha.2.js",revision:"a33fee53596d327a055bf2b6f31d61fa"},{url:"draggabilly.D1IWfp_b.0.0.22-alpha.2.js",revision:"f53e0d68b8c650907cfd361f7a18416a"},{url:"engine.io-client.DefPnTEq.0.0.22-alpha.2.js",revision:"8dd758e5f2fe966a6bd5647d3e999ace"},{url:"engine.io-parser.BiEtp6m2.0.0.22-alpha.2.js",revision:"624d075c84ba49aa6891e0e229436a78"},{url:"entities.C20TfXL6.0.0.22-alpha.2.js",revision:"5c9d5aea88d983e506b4a6b8e61c7ec7"},{url:"ev-emitter.Dc-aWf7P.0.0.22-alpha.2.js",revision:"82a64bceb9ae9ec7f548af2d80255d4a"},{url:"fast-deep-equal.B5b3SrkT.0.0.22-alpha.2.js",revision:"169bf3d6fd6fb16287a52b416fac23ec"},{url:"FirstSteps.Cb5a8AUL.0.0.22-alpha.2.js",revision:"6fa1f82fca2dadaed66ed7366a462bb3"},{url:"fonts/Inter/Inter-Regular.ttf",revision:"ea5879884a95551632e9eb1bba5b2128"},{url:"get-size.D1dS-IaP.0.0.22-alpha.2.js",revision:"d4a71c826a3f2a12a7cdea735caa7da1"},{url:"highlight.js.UlfE9jpO.0.0.22-alpha.2.js",revision:"286636baf207f7db45f385ef1dd4652d"},{url:"hookable.B8xFkYCm.0.0.22-alpha.2.js",revision:"ad2e7fef990d95c2acc8f7f7337fd66e"},{url:"index.html",revision:"be699dea8c966e36c11399bbc7cb0b69"},{url:"linkify-it.Fi_bpuck.0.0.22-alpha.2.js",revision:"5f3908fd89239b3fe9a8eea1438336c9"},{url:"main.oy2O2TRy.0.0.22-alpha.2.js",revision:"77a936d1a85db617378968fd238dc8d8"},{url:"markdown-it.DJgGU14J.0.0.22-alpha.2.js",revision:"ce3e49e8e9c4eae4aa20f61ba060bb4f"},{url:"mdurl.k9Sl0PQj.0.0.22-alpha.2.js",revision:"0b8be71b53641e6e0706ab65af2abe93"},{url:"NewCamera.Dz60UmLc.0.0.22-alpha.2.js",revision:"b221260e2b9335421d7676082f9d15bc"},{url:"nprogress.tJ-b_-wu.0.0.22-alpha.2.js",revision:"9a49550f1414d3599bc0c455ca14a37c"},{url:"perfect-debounce.Cp2ysxOb.0.0.22-alpha.2.js",revision:"0109366a8a51aa46ffd0b9c5898801f7"},{url:"pinia.yZCOO45u.0.0.22-alpha.2.js",revision:"5ae9f9ec57cf8d3edfffbe6a7ff8afe0"},{url:"Plugin.DsAb_cep.0.0.22-alpha.2.js",revision:"6481f92017ace1e8e3e8b52a83521f0d"},{url:"Plugins.bxGkXmVc.0.0.22-alpha.2.js",revision:"500edcc59d797de3b4abbff12becb52e"},{url:"plugins.Cfyqqots.0.0.22-alpha.2.js",revision:"69dc31dd9b4c95112044f92030541468"},{url:"point-in-polygon-hao.l0sNRNKZ.0.0.22-alpha.2.js",revision:"68b329da9893e34099c7d8ad5cb9c940"},{url:"punycode.js.Dj65hjkv.0.0.22-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:"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.9XoqawvO.0.0.22-alpha.2.js",revision:"3ca6b197e16d67fd7faa580748487a33"},{url:"react-dnd-html5-backend.1HQjlkwI.0.0.22-alpha.2.js",revision:"75632bc200537797d2c878cacede62a5"},{url:"react-dnd-touch-backend.C6RhMT4L.0.0.22-alpha.2.js",revision:"22c821be948801cd8cdece714dbaebd2"},{url:"Recordings.BTkAhv1T.0.0.22-alpha.2.js",revision:"5ded5aefc94cab3a0bfeed83c3348d53"},{url:"Recordings.C_TDdsbp.0.0.22-alpha.2.js",revision:"64742745fea203be6b4a8e3ca3ae030a"},{url:"redux.CuxFRhX_.0.0.22-alpha.2.js",revision:"0fb9d1a1041755430923c52117ee1e4b"},{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"robots.txt",revision:"f77c87f977e0fcce05a6df46c885a129"},{url:"rxjs.1CAxveb4.0.0.22-alpha.2.js",revision:"affbf458e7c71135b0a288e2878db08b"},{url:"Settings.Br20f1vP.0.0.22-alpha.2.js",revision:"b7804f61fccfc9b548c211c1e6f42815"},{url:"socket.io-client.e8QnYieU.0.0.22-alpha.2.js",revision:"c2a8bd622014809c37d46e594d5799af"},{url:"socket.io-parser.BLk6IoUZ.0.0.22-alpha.2.js",revision:"11aca92e6cc61a550b0ce652bcf25523"},{url:"sweepline-intersections.l0sNRNKZ.0.0.22-alpha.2.js",revision:"68b329da9893e34099c7d8ad5cb9c940"},{url:"system.CxMAOYjs.0.0.22-alpha.2.js",revision:"c199e7f4f29b361cb82cb9853f912990"},{url:"System.WdQgcjx6.0.0.22-alpha.2.js",revision:"193846d30f3fd6dde936dfc52e0aa676"},{url:"tslib.9k7AwCpt.0.0.22-alpha.2.js",revision:"1c62ff7f1693c3ed04fd51c1e62f776f"},{url:"types.Cz9TaZAP.0.0.22-alpha.2.js",revision:"6651b30bd060dade2f1c3730202c508c"},{url:"uc.micro.kMc2yuuw.0.0.22-alpha.2.js",revision:"b6324b1a6b3dbbd69ffcb57015217b4a"},{url:"unidragger.D9uoooG_.0.0.22-alpha.2.js",revision:"cb2d23abf571d6789584ecff9ecd3f3d"},{url:"User.BUO6E9hO.0.0.22-alpha.2.js",revision:"13f8072348a8176b3d8cee4b1b257b8e"},{url:"utils.mAKpSMLY.0.0.22-alpha.2.js",revision:"c5d20a1a0605a78b11d5fe60abe5ab70"},{url:"uuid.Ch9TGLTe.0.0.22-alpha.2.js",revision:"3f6549148a821ba924484e178467efe3"},{url:"VConfigEditor.vue_vue_type_script_setup_true_lang.V-YCJXF9.0.0.22-alpha.2.js",revision:"a995a536f671a5edba06a82fcdbcc4cb"},{url:"VConsole.efu2RLE4.0.0.22-alpha.2.js",revision:"99dbd3aefafe5b9de59fe414009b53a4"},{url:"vee-validate.DnRu3xAR.0.0.22-alpha.2.js",revision:"77f4b93fb96593108a089ad396dbe102"},{url:"VPlayer.7xACf1AA.0.0.22-alpha.2.js",revision:"9a3ecede28143cc778ae5f5e9536cfac"},{url:"VPluginCard.DObvo0pi.0.0.22-alpha.2.js",revision:"88d137609da8d25ace9e640bd1e7b3a5"},{url:"vue-i18n.DNPn_WN3.0.0.22-alpha.2.js",revision:"7299699b00571b99e75ac24944dd189f"},{url:"vue-inline-svg.BxDq9WpB.0.0.22-alpha.2.js",revision:"af6941c50a7f1c1c78b697128fb94bbe"},{url:"vue-router.Ci1GIRoh.0.0.22-alpha.2.js",revision:"89b37f544f94a1db6dc69cda6a4394c7"},{url:"vue.l0sNRNKZ.0.0.22-alpha.2.js",revision:"68b329da9893e34099c7d8ad5cb9c940"},{url:"vue3-apexcharts.4RpZv9AC.0.0.22-alpha.2.js",revision:"e1506a309e0ab05533f983f3f84df920"},{url:"vue3-dnd.CyNbBiuS.0.0.22-alpha.2.js",revision:"e040891de36f6bc21381423fad2d193b"},{url:"vue3-toastify.Jtf1C0Kw.0.0.22-alpha.2.js",revision:"4efabcdefc474b8e9b20e20b8afab416"},{url:"vuetify.D4io05br.0.0.22-alpha.2.js",revision:"fbbe787de4862d0613956a4f8fa8de26"},{url:"zod.DnW1_kUe.0.0.22-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:"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")))}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var m=Object.defineProperty;var l=(t,e,r)=>e in t?m(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var c=(t,e,r)=>l(t,typeof e!="symbol"?e+"":e,r);import{i as a}from"./vue3-toastify.Jtf1C0Kw.0.0.22-alpha.2.js";import{x as s,i as o}from"./main.oy2O2TRy.0.0.22-alpha.2.js";import{u as d,a as u,b as n}from"./@tanstack.B6ZKNODP.0.0.22-alpha.2.js";import{r as p}from"./@vue.DYBoJLkm.0.0.22-alpha.2.js";const g=async()=>(await s.get("/system")).data,Q=async t=>(await s.patch("/system",t)).data,f=async({pluginData:t})=>(await s.post("/system/update",t)).data,w=async({signal:t})=>(await s.get("/system/version",{signal:t})).data,b=async()=>(await s.delete("/system/log")).data,q=async({signal:t})=>(await s.get("/system/log/download",{signal:t})).data,v=async()=>(await s.post("/system/cert",{responseType:"arraybuffer"})).data,h=async({signal:t})=>(await s.get("/system/go2rtc",{signal:t})).data,F=async()=>(await s.put("/system/restart")).data,S=async()=>(await s.put("/system/restart/go2rtc")).data;class L{constructor(){c(this,"_queryClient",d());c(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:g})}patchSystemInfoQuery(){return n({mutationFn:Q,onSuccess:async()=>{await this._queryClient.refetchQueries({queryKey:["system"],exact:!0}),a.success(o.global.t("components.toast.server_updated"))}})}updateServerQuery(){return n({mutationFn:f,onSuccess:async()=>{a.success(o.global.t("components.toast.server_updated"))}})}downloadLogQuery(){return u({queryKey:["logs","system"],queryFn:({signal:e})=>q({signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="downloadLogQuery"&&e.enabled)})}downloadCertQuery(){return n({mutationFn:v})}clearLogQuery(){return n({mutationFn:b,onSuccess:async()=>{await this._queryClient.refetchQueries({queryKey:["logs","system"],exact:!0}),a.success(o.global.t("components.toast.log_cleared"))}})}checkVersionQuery(){return u({queryKey:["version"],queryFn:({signal:e})=>w({signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="checkVersionQuery"&&e.enabled)})}getGo2RtcInfoQuery(){return u({queryKey:["go2rtc"],queryFn:({signal:e})=>h({signal:e}),enabled:()=>this.queryActivator.value.some(e=>e.name==="getGo2RtcInfoQuery"&&e.enabled)})}restartGo2RtcQuery(){return n({mutationFn:S,onSuccess:async()=>{a.success(o.global.t("components.toast.go2rtc_restarted"))}})}restartServerQuery(){return n({mutationFn:F,onSuccess:async()=>{a.success(o.global.t("components.toast.server_restarted"))}})}toggleQueryActivator(e,r){const y=this.queryActivator.value.find(i=>i.name===e);y&&(y.enabled=r)}}export{L as S,v as d,F as r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=(r=>(r.READY="ready",r.STARTING="starting",r.STARTED="started",r.STOPPED="stopped",r.ERROR="error",r.UNKNOWN="unknown",r.DISABLED="disabled",r))(e||{});export{e as P};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as E}from"./@xterm.
|
|
1
|
+
import{c as E}from"./@xterm.CRKo0AGB.0.0.22-alpha.2.js";import{r as v}from"./ev-emitter.Dc-aWf7P.0.0.22-alpha.2.js";var u={exports:{}};/*!
|
|
2
2
|
* Unidragger v3.0.1
|
|
3
3
|
* Draggable base class
|
|
4
4
|
* MIT license
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(e){return new Promise(s=>setTimeout(s,e))}export{t as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const d=[];for(let n=0;n<256;++n)d.push((n+256).toString(16).slice(1));function c(n,t=0){return(d[n[t+0]]+d[n[t+1]]+d[n[t+2]]+d[n[t+3]]+"-"+d[n[t+4]]+d[n[t+5]]+"-"+d[n[t+6]]+d[n[t+7]]+"-"+d[n[t+8]]+d[n[t+9]]+"-"+d[n[t+10]]+d[n[t+11]]+d[n[t+12]]+d[n[t+13]]+d[n[t+14]]+d[n[t+15]]).toLowerCase()}let e;const i=new Uint8Array(16);function p(){if(!e){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");e=crypto.getRandomValues.bind(crypto)}return e(i)}const y=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),o={randomUUID:y};function r(n,t,m){if(o.randomUUID&&!t&&!n)return o.randomUUID();n=n||{};const u=n.random||(n.rng||p)();return u[6]=u[6]&15|64,u[8]=u[8]&63|128,c(u)}export{r as v};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{G as Vt,B as ge,c as A,K as pt,L as St,M as m,u as P,x as _t,A as Te,N as Xe,i as Pe,w as Oe,O as Wt,r as le,E as we,n as se,C as qt,F as Ht,a as Gt,D as Kt}from"./@vue.DYBoJLkm.0.0.22-alpha.2.js";/**
|
|
2
|
+
* vee-validate v4.14.6
|
|
3
|
+
* (c) 2024 Abdelrahman Awad
|
|
4
|
+
* @license MIT
|
|
5
|
+
*/function L(e){return typeof e=="function"}function jt(e){return e==null}const Ve=e=>e!==null&&!!e&&typeof e=="object"&&!Array.isArray(e);function et(e){return Number(e)>=0}function Yt(e){const t=parseFloat(e);return isNaN(t)?e:t}function Xt(e){return typeof e=="object"&&e!==null}function xt(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function st(e){if(!Xt(e)||xt(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ee(e,t){return Object.keys(t).forEach(n=>{if(st(t[n])&&st(e[n])){e[n]||(e[n]={}),Ee(e[n],t[n]);return}e[n]=t[n]}),e}function Ae(e){const t=e.split(".");if(!t.length)return"";let n=String(t[0]);for(let r=1;r<t.length;r++){if(et(t[r])){n+=`[${t[r]}]`;continue}n+=`.${t[r]}`}return n}const Jt={};function Qt(e){return Jt[e]}function dt(e,t,n){typeof n.value=="object"&&(n.value=j(n.value)),!n.enumerable||n.get||n.set||!n.configurable||!n.writable||t==="__proto__"?Object.defineProperty(e,t,n):e[t]=n.value}function j(e){if(typeof e!="object")return e;var t=0,n,r,l,u=Object.prototype.toString.call(e);if(u==="[object Object]"?l=Object.create(e.__proto__||null):u==="[object Array]"?l=Array(e.length):u==="[object Set]"?(l=new Set,e.forEach(function(v){l.add(j(v))})):u==="[object Map]"?(l=new Map,e.forEach(function(v,c){l.set(j(c),j(v))})):u==="[object Date]"?l=new Date(+e):u==="[object RegExp]"?l=new RegExp(e.source,e.flags):u==="[object DataView]"?l=new e.constructor(j(e.buffer)):u==="[object ArrayBuffer]"?l=e.slice(0):u.slice(-6)==="Array]"&&(l=new e.constructor(e)),l){for(r=Object.getOwnPropertySymbols(e);t<r.length;t++)dt(l,r[t],Object.getOwnPropertyDescriptor(e,r[t]));for(t=0,r=Object.getOwnPropertyNames(e);t<r.length;t++)Object.hasOwnProperty.call(l,n=r[t])&&l[n]===e[n]||dt(l,n,Object.getOwnPropertyDescriptor(e,n))}return l||e}const tt=Symbol("vee-validate-form"),Zt=Symbol("vee-validate-form-context"),en=Symbol("vee-validate-field-instance"),Be=Symbol("Default empty value"),tn=typeof window<"u";function xe(e){return L(e)&&!!e.__locatorRef}function ue(e){return!!e&&L(e.parse)&&e.__type==="VVTypedSchema"}function ke(e){return!!e&&L(e.validate)}function Fe(e){return e==="checkbox"||e==="radio"}function nn(e){return Ve(e)||Array.isArray(e)}function rn(e){return Array.isArray(e)?e.length===0:Ve(e)&&Object.keys(e).length===0}function Re(e){return/^\[.+\]$/i.test(e)}function an(e){return At(e)&&e.multiple}function At(e){return e.tagName==="SELECT"}function ln(e,t){const n=![!1,null,void 0,0].includes(t.multiple)&&!Number.isNaN(t.multiple);return e==="select"&&"multiple"in t&&n}function un(e,t){return!ln(e,t)&&t.type!=="file"&&!Fe(t.type)}function Et(e){return nt(e)&&e.target&&"submit"in e.target}function nt(e){return e?!!(typeof Event<"u"&&L(Event)&&e instanceof Event||e&&e.srcElement):!1}function ct(e,t){return t in e&&e[t]!==Be}function K(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,l;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!K(e[r],t[r]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(r of e.entries())if(!t.has(r[0]))return!1;for(r of e.entries())if(!K(r[1],t.get(r[0])))return!1;return!0}if(vt(e)&&vt(t))return!(e.size!==t.size||e.name!==t.name||e.lastModified!==t.lastModified||e.type!==t.type);if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(r of e.entries())if(!t.has(r[0]))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(l=Object.keys(e),n=l.length-ft(e,l),n!==Object.keys(t).length-ft(t,Object.keys(t)))return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,l[r]))return!1;for(r=n;r--!==0;){var u=l[r];if(!K(e[u],t[u]))return!1}return!0}return e!==e&&t!==t}function ft(e,t){let n=0;for(let l=t.length;l--!==0;){var r=t[l];e[r]===void 0&&n++}return n}function vt(e){return tn?e instanceof File:!1}function rt(e){return Re(e)?e.replace(/\[|\]/gi,""):e}function J(e,t,n){return e?Re(t)?e[rt(t)]:(t||"").split(/\.|\[(\d+)\]/).filter(Boolean).reduce((l,u)=>nn(l)&&u in l?l[u]:n,e):n}function ve(e,t,n){if(Re(t)){e[rt(t)]=n;return}const r=t.split(/\.|\[(\d+)\]/).filter(Boolean);let l=e;for(let u=0;u<r.length;u++){if(u===r.length-1){l[r[u]]=n;return}(!(r[u]in l)||jt(l[r[u]]))&&(l[r[u]]=et(r[u+1])?[]:{}),l=l[r[u]]}}function Ke(e,t){if(Array.isArray(e)&&et(t)){e.splice(Number(t),1);return}Ve(e)&&delete e[t]}function ht(e,t){if(Re(t)){delete e[rt(t)];return}const n=t.split(/\.|\[(\d+)\]/).filter(Boolean);let r=e;for(let u=0;u<n.length;u++){if(u===n.length-1){Ke(r,n[u]);break}if(!(n[u]in r)||jt(r[n[u]]))break;r=r[n[u]]}const l=n.map((u,v)=>J(e,n.slice(0,v).join(".")));for(let u=l.length-1;u>=0;u--)if(rn(l[u])){if(u===0){Ke(e,n[0]);continue}Ke(l[u-1],n[u-1])}}function ee(e){return Object.keys(e)}function Ft(e,t=void 0){const n=Te();return(n==null?void 0:n.provides[e])||Gt(e,t)}function mt(e,t,n){if(Array.isArray(e)){const r=[...e],l=r.findIndex(u=>K(u,t));return l>=0?r.splice(l,1):r.push(t),r}return K(e,t)?n:t}function yt(e,t=0){let n=null,r=[];return function(...l){return n&&clearTimeout(n),n=setTimeout(()=>{const u=e(...l);r.forEach(v=>v(u)),r=[]},t),new Promise(u=>r.push(u))}}function on(e,t){return Ve(t)&&t.number?Yt(e):e}function Je(e,t){let n;return async function(...l){const u=e(...l);n=u;const v=await u;return u!==n?v:(n=void 0,t(v,l))}}function Qe(e){return Array.isArray(e)?e:e?[e]:[]}function Ce(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function sn(e){let t=null,n=[];return function(...r){const l=se(()=>{if(t!==l)return;const u=e(...r);n.forEach(v=>v(u)),n=[],t=null});return t=l,new Promise(u=>n.push(u))}}function It(e,t,n){return t.slots.default?typeof e=="string"||!e?t.slots.default(n()):{default:()=>{var r,l;return(l=(r=t.slots).default)===null||l===void 0?void 0:l.call(r,n())}}:t.slots.default}function Ye(e){if(Ct(e))return e._value}function Ct(e){return"_value"in e}function dn(e){return e.type==="number"||e.type==="range"?Number.isNaN(e.valueAsNumber)?e.value:e.valueAsNumber:e.value}function Ne(e){if(!nt(e))return e;const t=e.target;if(Fe(t.type)&&Ct(t))return Ye(t);if(t.type==="file"&&t.files){const n=Array.from(t.files);return t.multiple?n:n[0]}if(an(t))return Array.from(t.options).filter(n=>n.selected&&!n.disabled).map(Ye);if(At(t)){const n=Array.from(t.options).find(r=>r.selected);return n?Ye(n):t.value}return dn(t)}function Mt(e){const t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?Ve(e)&&e._$$isNormalized?e:Ve(e)?Object.keys(e).reduce((n,r)=>{const l=cn(e[r]);return e[r]!==!1&&(n[r]=gt(l)),n},t):typeof e!="string"?t:e.split("|").reduce((n,r)=>{const l=fn(r);return l.name&&(n[l.name]=gt(l.params)),n},t):t}function cn(e){return e===!0?[]:Array.isArray(e)||Ve(e)?e:[e]}function gt(e){const t=n=>typeof n=="string"&&n[0]==="@"?vn(n.slice(1)):n;return Array.isArray(e)?e.map(t):e instanceof RegExp?[e]:Object.keys(e).reduce((n,r)=>(n[r]=t(e[r]),n),{})}const fn=e=>{let t=[];const n=e.split(":")[0];return e.includes(":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:n,params:t}};function vn(e){const t=n=>{var r;return(r=J(n,e))!==null&&r!==void 0?r:n[e]};return t.__locatorRef=e,t}function hn(e){return Array.isArray(e)?e.filter(xe):ee(e).filter(t=>xe(e[t])).map(t=>e[t])}const mn={generateMessage:({field:e})=>`${e} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0};let yn=Object.assign({},mn);const be=()=>yn;async function Pt(e,t,n={}){const r=n==null?void 0:n.bails,l={name:(n==null?void 0:n.name)||"{field}",rules:t,label:n==null?void 0:n.label,bails:r??!0,formData:(n==null?void 0:n.values)||{}},u=await gn(l,e);return Object.assign(Object.assign({},u),{valid:!u.errors.length})}async function gn(e,t){const n=e.rules;if(ue(n)||ke(n))return On(t,Object.assign(Object.assign({},e),{rules:n}));if(L(n)||Array.isArray(n)){const c={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},s=Array.isArray(n)?n:[n],d=s.length,_=[];for(let O=0;O<d;O++){const E=s[O],b=await E(t,c);if(!(typeof b!="string"&&!Array.isArray(b)&&b)){if(Array.isArray(b))_.push(...b);else{const G=typeof b=="string"?b:Bt(c);_.push(G)}if(e.bails)return{errors:_}}}return{errors:_}}const r=Object.assign(Object.assign({},e),{rules:Mt(n)}),l=[],u=Object.keys(r.rules),v=u.length;for(let c=0;c<v;c++){const s=u[c],d=await Vn(r,t,{name:s,params:r.rules[s]});if(d.error&&(l.push(d.error),e.bails))return{errors:l}}return{errors:l}}function bn(e){return!!e&&e.name==="ValidationError"}function wt(e){return{__type:"VVTypedSchema",async parse(n,r){var l;try{return{output:await e.validate(n,{abortEarly:!1,context:(r==null?void 0:r.formData)||{}}),errors:[]}}catch(u){if(!bn(u))throw u;if(!(!((l=u.inner)===null||l===void 0)&&l.length)&&u.errors.length)return{errors:[{path:u.path,errors:u.errors}]};const v=u.inner.reduce((c,s)=>{const d=s.path||"";return c[d]||(c[d]={errors:[],path:d}),c[d].errors.push(...s.errors),c},{});return{errors:Object.values(v)}}}}}async function On(e,t){const r=await(ue(t.rules)?t.rules:wt(t.rules)).parse(e,{formData:t.formData}),l=[];for(const u of r.errors)u.errors.length&&l.push(...u.errors);return{value:r.value,errors:l}}async function Vn(e,t,n){const r=Qt(n.name);if(!r)throw new Error(`No such validator '${n.name}' exists.`);const l=pn(n.params,e.formData),u={field:e.label||e.name,name:e.name,label:e.label,value:t,form:e.formData,rule:Object.assign(Object.assign({},n),{params:l})},v=await r(t,l,u);return typeof v=="string"?{error:v}:{error:v?void 0:Bt(u)}}function Bt(e){const t=be().generateMessage;return t?t(e):"Field is invalid"}function pn(e,t){const n=r=>xe(r)?r(t):r;return Array.isArray(e)?e.map(n):Object.keys(e).reduce((r,l)=>(r[l]=n(e[l]),r),{})}async function Sn(e,t){const r=await(ue(e)?e:wt(e)).parse(j(t),{formData:j(t)}),l={},u={};for(const v of r.errors){const c=v.errors,s=(v.path||"").replace(/\["(\d+)"\]/g,(d,_)=>`[${_}]`);l[s]={valid:!c.length,errors:c},c.length&&(u[s]=c[0])}return{valid:!r.errors.length,results:l,errors:u,values:r.value,source:"schema"}}async function _n(e,t,n){const l=ee(e).map(async d=>{var _,O,E;const b=(_=n==null?void 0:n.names)===null||_===void 0?void 0:_[d],B=await Pt(J(t,d),e[d],{name:(b==null?void 0:b.name)||d,label:b==null?void 0:b.label,values:t,bails:(E=(O=n==null?void 0:n.bailsMap)===null||O===void 0?void 0:O[d])!==null&&E!==void 0?E:!0});return Object.assign(Object.assign({},B),{path:d})});let u=!0;const v=await Promise.all(l),c={},s={};for(const d of v)c[d.path]={valid:d.valid,errors:d.errors},d.valid||(u=!1,s[d.path]=d.errors[0]);return{valid:u,results:c,errors:s,source:"schema"}}let bt=0;function jn(e,t){const{value:n,initialValue:r,setInitialValue:l}=An(e,t.modelValue,t.form);if(!t.form){let s=function(b){var B;"value"in b&&(n.value=b.value),"errors"in b&&_(b.errors),"touched"in b&&(E.touched=(B=b.touched)!==null&&B!==void 0?B:E.touched),"initialValue"in b&&l(b.initialValue)};const{errors:d,setErrors:_}=In(),O=bt>=Number.MAX_SAFE_INTEGER?0:++bt,E=Fn(n,r,d,t.schema);return{id:O,path:e,value:n,initialValue:r,meta:E,flags:{pendingUnmount:{[O]:!1},pendingReset:!1},errors:d,setState:s}}const u=t.form.createPathState(e,{bails:t.bails,label:t.label,type:t.type,validate:t.validate,schema:t.schema}),v=A(()=>u.errors);function c(s){var d,_,O;"value"in s&&(n.value=s.value),"errors"in s&&((d=t.form)===null||d===void 0||d.setFieldError(P(e),s.errors)),"touched"in s&&((_=t.form)===null||_===void 0||_.setFieldTouched(P(e),(O=s.touched)!==null&&O!==void 0?O:!1)),"initialValue"in s&&l(s.initialValue)}return{id:Array.isArray(u.id)?u.id[u.id.length-1]:u.id,path:e,value:n,errors:v,meta:u,initialValue:r,flags:u.__flags,setState:c}}function An(e,t,n){const r=le(P(t));function l(){return n?J(n.initialValues.value,P(e),P(r)):P(r)}function u(d){if(!n){r.value=d;return}n.setFieldInitialValue(P(e),d,!0)}const v=A(l);if(!n)return{value:le(l()),initialValue:v,setInitialValue:u};const c=En(t,n,v,e);return n.stageInitialValue(P(e),c,!0),{value:A({get(){return J(n.values,P(e))},set(d){n.setFieldValue(P(e),d,!1)}}),initialValue:v,setInitialValue:u}}function En(e,t,n,r){return Pe(e)?P(e):e!==void 0?e:J(t.values,P(r),P(n))}function Fn(e,t,n,r){const l=A(()=>{var v,c,s;return(s=(c=(v=m(r))===null||v===void 0?void 0:v.describe)===null||c===void 0?void 0:c.call(v).required)!==null&&s!==void 0?s:!1}),u=we({touched:!1,pending:!1,valid:!0,required:l,validated:!!P(n).length,initialValue:A(()=>P(t)),dirty:A(()=>!K(P(e),P(t)))});return Oe(n,v=>{u.valid=!v.length},{immediate:!0,flush:"sync"}),u}function In(){const e=le([]);return{errors:e,setErrors:t=>{e.value=Qe(t)}}}function Cn(e,t,n){return Fe(n==null?void 0:n.type)?Pn(e,t,n):kt(e,t,n)}function kt(e,t,n){const{initialValue:r,validateOnMount:l,bails:u,type:v,checkedValue:c,label:s,validateOnValueUpdate:d,uncheckedValue:_,controlled:O,keepValueOnUnmount:E,syncVModel:b,form:B}=Mn(n),G=O?Ft(tt):void 0,V=B||G,$=A(()=>Ae(m(e))),R=A(()=>{if(m(V==null?void 0:V.schema))return;const S=P(t);return ke(S)||ue(S)||L(S)||Array.isArray(S)?S:Mt(S)}),oe=!L(R.value)&&ue(m(t)),{id:Y,value:z,initialValue:Q,meta:U,setState:re,errors:N,flags:C}=jn($,{modelValue:r,form:V,bails:u,label:s,type:v,validate:R.value?F:void 0,schema:oe?t:void 0}),te=A(()=>N.value[0]);b&&wn({value:z,prop:b,handleChange:M,shouldValidate:()=>d&&!C.pendingReset});const he=(h,S=!1)=>{U.touched=!0,S&&X()};async function de(h){var S,D;if(V!=null&&V.validateSchema){const{results:I}=await V.validateSchema(h);return(S=I[m($)])!==null&&S!==void 0?S:{valid:!0,errors:[]}}return R.value?Pt(z.value,R.value,{name:m($),label:m(s),values:(D=V==null?void 0:V.values)!==null&&D!==void 0?D:{},bails:u}):{valid:!0,errors:[]}}const X=Je(async()=>(U.pending=!0,U.validated=!0,de("validated-only")),h=>(C.pendingUnmount[Z.id]||(re({errors:h.errors}),U.pending=!1,U.valid=h.valid),h)),W=Je(async()=>de("silent"),h=>(U.valid=h.valid,h));function F(h){return(h==null?void 0:h.mode)==="silent"?W():X()}function M(h,S=!0){const D=Ne(h);pe(D,S)}_t(()=>{if(l)return X();(!V||!V.validateSchema)&&W()});function ie(h){U.touched=h}function me(h){var S;const D=h&&"value"in h?h.value:Q.value;re({value:j(D),initialValue:j(D),touched:(S=h==null?void 0:h.touched)!==null&&S!==void 0?S:!1,errors:(h==null?void 0:h.errors)||[]}),U.pending=!1,U.validated=!1,W()}const Ie=Te();function pe(h,S=!0){z.value=Ie&&b?on(h,Ie.props.modelModifiers):h,(S?X:W)()}function it(h){re({errors:Array.isArray(h)?h:[h]})}const _e=A({get(){return z.value},set(h){pe(h,d)}}),Z={id:Y,name:$,label:s,value:_e,meta:U,errors:N,errorMessage:te,type:v,checkedValue:c,uncheckedValue:_,bails:u,keepValueOnUnmount:E,resetField:me,handleReset:()=>me(),validate:F,handleChange:M,handleBlur:he,setState:re,setTouched:ie,setErrors:it,setValue:pe};if(Xe(en,Z),Pe(t)&&typeof P(t)!="function"&&Oe(t,(h,S)=>{K(h,S)||(U.validated?X():W())},{deep:!0}),!V)return Z;const Ue=A(()=>{const h=R.value;return!h||L(h)||ke(h)||ue(h)||Array.isArray(h)?{}:Object.keys(h).reduce((S,D)=>{const I=hn(h[D]).map(ce=>ce.__locatorRef).reduce((ce,ae)=>{const fe=J(V.values,ae)||V.values[ae];return fe!==void 0&&(ce[ae]=fe),ce},{});return Object.assign(S,I),S},{})});return Oe(Ue,(h,S)=>{if(!Object.keys(h).length)return;!K(h,S)&&(U.validated?X():W())}),Wt(()=>{var h;const S=(h=m(Z.keepValueOnUnmount))!==null&&h!==void 0?h:m(V.keepValuesOnUnmount),D=m($);if(S||!V||C.pendingUnmount[Z.id]){V==null||V.removePathState(D,Y);return}C.pendingUnmount[Z.id]=!0;const I=V.getPathState(D);if(Array.isArray(I==null?void 0:I.id)&&(I!=null&&I.multiple)?I!=null&&I.id.includes(Z.id):(I==null?void 0:I.id)===Z.id){if(I!=null&&I.multiple&&Array.isArray(I.value)){const ae=I.value.findIndex(fe=>K(fe,m(Z.checkedValue)));if(ae>-1){const fe=[...I.value];fe.splice(ae,1),V.setFieldValue(D,fe)}Array.isArray(I.id)&&I.id.splice(I.id.indexOf(Z.id),1)}else V.unsetPathValue(m($));V.removePathState(D,Y)}}),Z}function Mn(e){const t=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,syncVModel:!1,controlled:!0}),n=!!(e!=null&&e.syncVModel),r=typeof(e==null?void 0:e.syncVModel)=="string"?e.syncVModel:(e==null?void 0:e.modelPropName)||"modelValue",l=n&&!("initialValue"in(e||{}))?Ze(Te(),r):e==null?void 0:e.initialValue;if(!e)return Object.assign(Object.assign({},t()),{initialValue:l});const u="valueProp"in e?e.valueProp:e.checkedValue,v="standalone"in e?!e.standalone:e.controlled,c=(e==null?void 0:e.modelPropName)||(e==null?void 0:e.syncVModel)||!1;return Object.assign(Object.assign(Object.assign({},t()),e||{}),{initialValue:l,controlled:v??!0,checkedValue:u,syncVModel:c})}function Pn(e,t,n){const r=n!=null&&n.standalone?void 0:Ft(tt),l=n==null?void 0:n.checkedValue,u=n==null?void 0:n.uncheckedValue;function v(c){const s=c.handleChange,d=A(()=>{const O=m(c.value),E=m(l);return Array.isArray(O)?O.findIndex(b=>K(b,E))>=0:K(E,O)});function _(O,E=!0){var b,B;if(d.value===((b=O==null?void 0:O.target)===null||b===void 0?void 0:b.checked)){E&&c.validate();return}const G=m(e),V=r==null?void 0:r.getPathState(G),$=Ne(O);let R=(B=m(l))!==null&&B!==void 0?B:$;r&&(V!=null&&V.multiple)&&V.type==="checkbox"?R=mt(J(r.values,G)||[],R,void 0):(n==null?void 0:n.type)==="checkbox"&&(R=mt(m(c.value),R,m(u))),s(R,E)}return Object.assign(Object.assign({},c),{checked:d,checkedValue:l,uncheckedValue:u,handleChange:_})}return v(kt(e,t,n))}function wn({prop:e,value:t,handleChange:n,shouldValidate:r}){const l=Te();if(!l||!e)return;const u=typeof e=="string"?e:"modelValue",v=`update:${u}`;u in l.props&&(Oe(t,c=>{K(c,Ze(l,u))||l.emit(v,c)}),Oe(()=>Ze(l,u),c=>{if(c===Be&&t.value===void 0)return;const s=c===Be?void 0:c;K(s,t.value)||n(s,r())}))}function Ze(e,t){if(e)return e.props[t]}const Bn=Vt({name:"Field",inheritAttrs:!1,props:{as:{type:[String,Object],default:void 0},name:{type:String,required:!0},rules:{type:[Object,String,Function],default:void 0},validateOnMount:{type:Boolean,default:!1},validateOnBlur:{type:Boolean,default:void 0},validateOnChange:{type:Boolean,default:void 0},validateOnInput:{type:Boolean,default:void 0},validateOnModelUpdate:{type:Boolean,default:void 0},bails:{type:Boolean,default:()=>be().bails},label:{type:String,default:void 0},uncheckedValue:{type:null,default:void 0},modelValue:{type:null,default:Be},modelModifiers:{type:null,default:()=>({})},"onUpdate:modelValue":{type:null,default:void 0},standalone:{type:Boolean,default:!1},keepValue:{type:Boolean,default:void 0}},setup(e,t){const n=ge(e,"rules"),r=ge(e,"name"),l=ge(e,"label"),u=ge(e,"uncheckedValue"),v=ge(e,"keepValue"),{errors:c,value:s,errorMessage:d,validate:_,handleChange:O,handleBlur:E,setTouched:b,resetField:B,handleReset:G,meta:V,checked:$,setErrors:R,setValue:oe}=Cn(r,n,{validateOnMount:e.validateOnMount,bails:e.bails,standalone:e.standalone,type:t.attrs.type,initialValue:Nn(e,t),checkedValue:t.attrs.value,uncheckedValue:u,label:l,validateOnValueUpdate:e.validateOnModelUpdate,keepValueOnUnmount:v,syncVModel:!0}),Y=function(C,te=!0){O(C,te)},z=A(()=>{const{validateOnInput:N,validateOnChange:C,validateOnBlur:te,validateOnModelUpdate:he}=kn(e);function de(M){E(M,te),L(t.attrs.onBlur)&&t.attrs.onBlur(M)}function X(M){Y(M,N),L(t.attrs.onInput)&&t.attrs.onInput(M)}function W(M){Y(M,C),L(t.attrs.onChange)&&t.attrs.onChange(M)}const F={name:e.name,onBlur:de,onInput:X,onChange:W};return F["onUpdate:modelValue"]=M=>Y(M,he),F}),Q=A(()=>{const N=Object.assign({},z.value);Fe(t.attrs.type)&&$&&(N.checked=$.value);const C=Ot(e,t);return un(C,t.attrs)&&(N.value=s.value),N}),U=A(()=>Object.assign(Object.assign({},z.value),{modelValue:s.value}));function re(){return{field:Q.value,componentField:U.value,value:s.value,meta:V,errors:c.value,errorMessage:d.value,validate:_,resetField:B,handleChange:Y,handleInput:N=>Y(N,!1),handleReset:G,handleBlur:z.value.onBlur,setTouched:b,setErrors:R,setValue:oe}}return t.expose({value:s,meta:V,errors:c,errorMessage:d,setErrors:R,setTouched:b,setValue:oe,reset:B,validate:_,handleChange:O}),()=>{const N=pt(Ot(e,t)),C=It(N,t,re);return N?St(N,Object.assign(Object.assign({},t.attrs),Q.value),C):C}}});function Ot(e,t){let n=e.as||"";return!e.as&&!t.slots.default&&(n="input"),n}function kn(e){var t,n,r,l;const{validateOnInput:u,validateOnChange:v,validateOnBlur:c,validateOnModelUpdate:s}=be();return{validateOnInput:(t=e.validateOnInput)!==null&&t!==void 0?t:u,validateOnChange:(n=e.validateOnChange)!==null&&n!==void 0?n:v,validateOnBlur:(r=e.validateOnBlur)!==null&&r!==void 0?r:c,validateOnModelUpdate:(l=e.validateOnModelUpdate)!==null&&l!==void 0?l:s}}function Nn(e,t){return Fe(t.attrs.type)?ct(e,"modelValue")?e.modelValue:void 0:ct(e,"modelValue")?e.modelValue:t.attrs.value}const Wn=Bn;let Tn=0;const Me=["bails","fieldsCount","id","multiple","type","validate"];function Nt(e){const t=(e==null?void 0:e.initialValues)||{},n=Object.assign({},m(t)),r=P(e==null?void 0:e.validationSchema);return r&&ue(r)&&L(r.cast)?j(r.cast(n)||{}):j(n)}function Rn(e){var t;const n=Tn++;let r=0;const l=le(!1),u=le(!1),v=le(0),c=[],s=we(Nt(e)),d=le([]),_=le({}),O=le({}),E=sn(()=>{O.value=d.value.reduce((a,i)=>(a[Ae(m(i.path))]=i,a),{})});function b(a,i){const o=F(a);if(!o){typeof a=="string"&&(_.value[Ae(a)]=Qe(i));return}if(typeof a=="string"){const f=Ae(a);_.value[f]&&delete _.value[f]}o.errors=Qe(i),o.valid=!o.errors.length}function B(a){ee(a).forEach(i=>{b(i,a[i])})}e!=null&&e.initialErrors&&B(e.initialErrors);const G=A(()=>{const a=d.value.reduce((i,o)=>(o.errors.length&&(i[m(o.path)]=o.errors),i),{});return Object.assign(Object.assign({},_.value),a)}),V=A(()=>ee(G.value).reduce((a,i)=>{const o=G.value[i];return o!=null&&o.length&&(a[i]=o[0]),a},{})),$=A(()=>d.value.reduce((a,i)=>(a[m(i.path)]={name:m(i.path)||"",label:i.label||""},a),{})),R=A(()=>d.value.reduce((a,i)=>{var o;return a[m(i.path)]=(o=i.bails)!==null&&o!==void 0?o:!0,a},{})),oe=Object.assign({},(e==null?void 0:e.initialErrors)||{}),Y=(t=e==null?void 0:e.keepValuesOnUnmount)!==null&&t!==void 0?t:!1,{initialValues:z,originalInitialValues:Q,setInitialValues:U}=Dn(d,s,e),re=Un(d,s,Q,V),N=A(()=>d.value.reduce((a,i)=>{const o=J(s,m(i.path));return ve(a,m(i.path),o),a},{})),C=e==null?void 0:e.validationSchema;function te(a,i){var o,f;const g=A(()=>J(z.value,m(a))),p=O.value[m(a)],y=(i==null?void 0:i.type)==="checkbox"||(i==null?void 0:i.type)==="radio";if(p&&y){p.multiple=!0;const ne=r++;return Array.isArray(p.id)?p.id.push(ne):p.id=[p.id,ne],p.fieldsCount++,p.__flags.pendingUnmount[ne]=!1,p}const k=A(()=>J(s,m(a))),T=m(a),q=ie.findIndex(ne=>ne===T);q!==-1&&ie.splice(q,1);const w=A(()=>{var ne,je,We,qe;const He=m(C);if(ue(He))return(je=(ne=He.describe)===null||ne===void 0?void 0:ne.call(He,m(a)).required)!==null&&je!==void 0?je:!1;const Ge=m(i==null?void 0:i.schema);return ue(Ge)&&(qe=(We=Ge.describe)===null||We===void 0?void 0:We.call(Ge).required)!==null&&qe!==void 0?qe:!1}),H=r++,x=we({id:H,path:a,touched:!1,pending:!1,valid:!0,validated:!!(!((o=oe[T])===null||o===void 0)&&o.length),required:w,initialValue:g,errors:Kt([]),bails:(f=i==null?void 0:i.bails)!==null&&f!==void 0?f:!1,label:i==null?void 0:i.label,type:(i==null?void 0:i.type)||"default",value:k,multiple:!1,__flags:{pendingUnmount:{[H]:!1},pendingReset:!1},fieldsCount:1,validate:i==null?void 0:i.validate,dirty:A(()=>!K(P(k),P(g)))});return d.value.push(x),O.value[T]=x,E(),V.value[T]&&!oe[T]&&se(()=>{ye(T,{mode:"silent"})}),Pe(a)&&Oe(a,ne=>{E();const je=j(k.value);O.value[ne]=x,se(()=>{ve(s,ne,je)})}),x}const he=yt(ut,5),de=yt(ut,5),X=Je(async a=>await(a==="silent"?he():de()),(a,[i])=>{const o=ee(h.errorBag.value),g=[...new Set([...ee(a.results),...d.value.map(p=>p.path),...o])].sort().reduce((p,y)=>{var k;const T=y,q=F(T)||M(T),w=((k=a.results[T])===null||k===void 0?void 0:k.errors)||[],H=m(q==null?void 0:q.path)||T,x=zn({errors:w,valid:!w.length},p.results[H]);return p.results[H]=x,x.valid||(p.errors[H]=x.errors[0]),q&&_.value[H]&&delete _.value[H],q?(q.valid=x.valid,i==="silent"||i==="validated-only"&&!q.validated||b(q,x.errors),p):(b(H,w),p)},{valid:a.valid,results:{},errors:{},source:a.source});return a.values&&(g.values=a.values,g.source=a.source),ee(g.results).forEach(p=>{var y;const k=F(p);k&&i!=="silent"&&(i==="validated-only"&&!k.validated||b(k,(y=g.results[p])===null||y===void 0?void 0:y.errors))}),g});function W(a){d.value.forEach(a)}function F(a){const i=typeof a=="string"?Ae(a):a;return typeof i=="string"?O.value[i]:i}function M(a){return d.value.filter(o=>a.startsWith(m(o.path))).reduce((o,f)=>o?f.path.length>o.path.length?f:o:f,void 0)}let ie=[],me;function Ie(a){return ie.push(a),me||(me=se(()=>{[...ie].sort().reverse().forEach(o=>{ht(s,o)}),ie=[],me=null})),me}function pe(a){return function(o,f){return function(p){return p instanceof Event&&(p.preventDefault(),p.stopPropagation()),W(y=>y.touched=!0),l.value=!0,v.value++,Se().then(y=>{const k=j(s);if(y.valid&&typeof o=="function"){const T=j(N.value);let q=a?T:k;return y.values&&(q=y.source==="schema"?y.values:Object.assign({},q,y.values)),o(q,{evt:p,controlledValues:T,setErrors:B,setFieldError:b,setTouched:De,setFieldTouched:ae,setValues:I,setFieldValue:S,resetForm:ze,resetField:at})}!y.valid&&typeof f=="function"&&f({values:k,evt:p,errors:y.errors,results:y.results})}).then(y=>(l.value=!1,y),y=>{throw l.value=!1,y})}}}const _e=pe(!1);_e.withControlled=pe(!0);function Z(a,i){const o=d.value.findIndex(g=>g.path===a&&(Array.isArray(g.id)?g.id.includes(i):g.id===i)),f=d.value[o];if(!(o===-1||!f)){if(se(()=>{ye(a,{mode:"silent",warn:!1})}),f.multiple&&f.fieldsCount&&f.fieldsCount--,Array.isArray(f.id)){const g=f.id.indexOf(i);g>=0&&f.id.splice(g,1),delete f.__flags.pendingUnmount[i]}(!f.multiple||f.fieldsCount<=0)&&(d.value.splice(o,1),lt(a),E(),delete O.value[a])}}function Ue(a){ee(O.value).forEach(i=>{i.startsWith(a)&&delete O.value[i]}),d.value=d.value.filter(i=>!i.path.startsWith(a)),se(()=>{E()})}const h={formId:n,values:s,controlledValues:N,errorBag:G,errors:V,schema:C,submitCount:v,meta:re,isSubmitting:l,isValidating:u,fieldArrays:c,keepValuesOnUnmount:Y,validateSchema:P(C)?X:void 0,validate:Se,setFieldError:b,validateField:ye,setFieldValue:S,setValues:I,setErrors:B,setFieldTouched:ae,setTouched:De,resetForm:ze,resetField:at,handleSubmit:_e,useFieldModel:zt,defineInputBinds:Lt,defineComponentBinds:$t,defineField:$e,stageInitialValue:Ut,unsetInitialValue:lt,setFieldInitialValue:Le,createPathState:te,getPathState:F,unsetPathValue:Ie,removePathState:Z,initialValues:z,getAllPathStates:()=>d.value,destroyPath:Ue,isFieldTouched:fe,isFieldDirty:Tt,isFieldValid:Rt};function S(a,i,o=!0){const f=j(i),g=typeof a=="string"?a:a.path;F(g)||te(g),ve(s,g,f),o&&ye(g)}function D(a,i=!0){ee(s).forEach(o=>{delete s[o]}),ee(a).forEach(o=>{S(o,a[o],!1)}),i&&Se()}function I(a,i=!0){Ee(s,a),c.forEach(o=>o&&o.reset()),i&&Se()}function ce(a,i){const o=F(m(a))||te(a);return A({get(){return o.value},set(f){var g;const p=m(a);S(p,f,(g=m(i))!==null&&g!==void 0?g:!1)}})}function ae(a,i){const o=F(a);o&&(o.touched=i)}function fe(a){const i=F(a);return i?i.touched:d.value.filter(o=>o.path.startsWith(a)).some(o=>o.touched)}function Tt(a){const i=F(a);return i?i.dirty:d.value.filter(o=>o.path.startsWith(a)).some(o=>o.dirty)}function Rt(a){const i=F(a);return i?i.valid:d.value.filter(o=>o.path.startsWith(a)).every(o=>o.valid)}function De(a){if(typeof a=="boolean"){W(i=>{i.touched=a});return}ee(a).forEach(i=>{ae(i,!!a[i])})}function at(a,i){var o;const f=i&&"value"in i?i.value:J(z.value,a),g=F(a);g&&(g.__flags.pendingReset=!0),Le(a,j(f),!0),S(a,f,!1),ae(a,(o=i==null?void 0:i.touched)!==null&&o!==void 0?o:!1),b(a,(i==null?void 0:i.errors)||[]),se(()=>{g&&(g.__flags.pendingReset=!1)})}function ze(a,i){let o=j(a!=null&&a.values?a.values:Q.value);o=i!=null&&i.force?o:Ee(Q.value,o),o=ue(C)&&L(C.cast)?C.cast(o):o,U(o,{force:i==null?void 0:i.force}),W(f=>{var g;f.__flags.pendingReset=!0,f.validated=!1,f.touched=((g=a==null?void 0:a.touched)===null||g===void 0?void 0:g[m(f.path)])||!1,S(m(f.path),J(o,m(f.path)),!1),b(m(f.path),void 0)}),i!=null&&i.force?D(o,!1):I(o,!1),B((a==null?void 0:a.errors)||{}),v.value=(a==null?void 0:a.submitCount)||0,se(()=>{Se({mode:"silent"}),W(f=>{f.__flags.pendingReset=!1})})}async function Se(a){const i=(a==null?void 0:a.mode)||"force";if(i==="force"&&W(y=>y.validated=!0),h.validateSchema)return h.validateSchema(i);u.value=!0;const o=await Promise.all(d.value.map(y=>y.validate?y.validate(a).then(k=>({key:m(y.path),valid:k.valid,errors:k.errors,value:k.value})):Promise.resolve({key:m(y.path),valid:!0,errors:[],value:void 0})));u.value=!1;const f={},g={},p={};for(const y of o)f[y.key]={valid:y.valid,errors:y.errors},y.value&&ve(p,y.key,y.value),y.errors.length&&(g[y.key]=y.errors[0]);return{valid:o.every(y=>y.valid),results:f,errors:g,values:p,source:"fields"}}async function ye(a,i){var o;const f=F(a);if(f&&(i==null?void 0:i.mode)!=="silent"&&(f.validated=!0),C){const{results:g}=await X((i==null?void 0:i.mode)||"validated-only");return g[a]||{errors:[],valid:!0}}return f!=null&&f.validate?f.validate(i):(!f&&(o=i==null?void 0:i.warn),Promise.resolve({errors:[],valid:!0}))}function lt(a){ht(z.value,a)}function Ut(a,i,o=!1){Le(a,i),ve(s,a,i),o&&!(e!=null&&e.initialValues)&&ve(Q.value,a,j(i))}function Le(a,i,o=!1){ve(z.value,a,j(i)),o&&ve(Q.value,a,j(i))}async function ut(){const a=P(C);if(!a)return{valid:!0,results:{},errors:{},source:"none"};u.value=!0;const i=ke(a)||ue(a)?await Sn(a,s):await _n(a,s,{names:$.value,bailsMap:R.value});return u.value=!1,i}const Dt=_e((a,{evt:i})=>{Et(i)&&i.target.submit()});_t(()=>{if(e!=null&&e.initialErrors&&B(e.initialErrors),e!=null&&e.initialTouched&&De(e.initialTouched),e!=null&&e.validateOnMount){Se();return}h.validateSchema&&h.validateSchema("silent")}),Pe(C)&&Oe(C,()=>{var a;(a=h.validateSchema)===null||a===void 0||a.call(h,"validated-only")}),Xe(tt,h);function $e(a,i){const o=L(i)||i==null?void 0:i.label,f=F(m(a))||te(a,{label:o}),g=()=>L(i)?i(Ce(f,Me)):i||{};function p(){var w;f.touched=!0,((w=g().validateOnBlur)!==null&&w!==void 0?w:be().validateOnBlur)&&ye(m(f.path))}function y(){var w;((w=g().validateOnInput)!==null&&w!==void 0?w:be().validateOnInput)&&se(()=>{ye(m(f.path))})}function k(){var w;((w=g().validateOnChange)!==null&&w!==void 0?w:be().validateOnChange)&&se(()=>{ye(m(f.path))})}const T=A(()=>{const w={onChange:k,onInput:y,onBlur:p};return L(i)?Object.assign(Object.assign({},w),i(Ce(f,Me)).props||{}):i!=null&&i.props?Object.assign(Object.assign({},w),i.props(Ce(f,Me))):w});return[ce(a,()=>{var w,H,x;return(x=(w=g().validateOnModelUpdate)!==null&&w!==void 0?w:(H=be())===null||H===void 0?void 0:H.validateOnModelUpdate)!==null&&x!==void 0?x:!0}),T]}function zt(a){return Array.isArray(a)?a.map(i=>ce(i,!0)):ce(a)}function Lt(a,i){const[o,f]=$e(a,i);function g(){f.value.onBlur()}function p(k){const T=Ne(k);S(m(a),T,!1),f.value.onInput()}function y(k){const T=Ne(k);S(m(a),T,!1),f.value.onChange()}return A(()=>Object.assign(Object.assign({},f.value),{onBlur:g,onInput:p,onChange:y,value:o.value}))}function $t(a,i){const[o,f]=$e(a,i),g=F(m(a));function p(y){o.value=y}return A(()=>{const y=L(i)?i(Ce(g,Me)):i||{};return Object.assign({[y.model||"modelValue"]:o.value,[`onUpdate:${y.model||"modelValue"}`]:p},f.value)})}const ot=Object.assign(Object.assign({},h),{values:qt(s),handleReset:()=>ze(),submitForm:Dt});return Xe(Zt,ot),ot}function Un(e,t,n,r){const l={touched:"some",pending:"some",valid:"every"},u=A(()=>!K(t,P(n)));function v(){const s=e.value;return ee(l).reduce((d,_)=>{const O=l[_];return d[_]=s[O](E=>E[_]),d},{})}const c=we(v());return Ht(()=>{const s=v();c.touched=s.touched,c.valid=s.valid,c.pending=s.pending}),A(()=>Object.assign(Object.assign({initialValues:P(n)},c),{valid:c.valid&&!ee(r.value).length,dirty:u.value}))}function Dn(e,t,n){const r=Nt(n),l=le(r),u=le(j(r));function v(c,s){s!=null&&s.force?(l.value=j(c),u.value=j(c)):(l.value=Ee(j(l.value)||{},j(c)),u.value=Ee(j(u.value)||{},j(c))),s!=null&&s.updateFields&&e.value.forEach(d=>{if(d.touched)return;const O=J(l.value,m(d.path));ve(t,m(d.path),j(O))})}return{initialValues:l,originalInitialValues:u,setInitialValues:v}}function zn(e,t){return t?{valid:e.valid&&t.valid,errors:[...e.errors,...t.errors]}:e}const Ln=Vt({name:"Form",inheritAttrs:!1,props:{as:{type:null,default:"form"},validationSchema:{type:Object,default:void 0},initialValues:{type:Object,default:void 0},initialErrors:{type:Object,default:void 0},initialTouched:{type:Object,default:void 0},validateOnMount:{type:Boolean,default:!1},onSubmit:{type:Function,default:void 0},onInvalidSubmit:{type:Function,default:void 0},keepValues:{type:Boolean,default:!1}},setup(e,t){const n=ge(e,"validationSchema"),r=ge(e,"keepValues"),{errors:l,errorBag:u,values:v,meta:c,isSubmitting:s,isValidating:d,submitCount:_,controlledValues:O,validate:E,validateField:b,handleReset:B,resetForm:G,handleSubmit:V,setErrors:$,setFieldError:R,setFieldValue:oe,setValues:Y,setFieldTouched:z,setTouched:Q,resetField:U}=Rn({validationSchema:n.value?n:void 0,initialValues:e.initialValues,initialErrors:e.initialErrors,initialTouched:e.initialTouched,validateOnMount:e.validateOnMount,keepValuesOnUnmount:r}),re=V((F,{evt:M})=>{Et(M)&&M.target.submit()},e.onInvalidSubmit),N=e.onSubmit?V(e.onSubmit,e.onInvalidSubmit):re;function C(F){nt(F)&&F.preventDefault(),B(),typeof t.attrs.onReset=="function"&&t.attrs.onReset()}function te(F,M){return V(typeof F=="function"&&!M?F:M,e.onInvalidSubmit)(F)}function he(){return j(v)}function de(){return j(c.value)}function X(){return j(l.value)}function W(){return{meta:c.value,errors:l.value,errorBag:u.value,values:v,isSubmitting:s.value,isValidating:d.value,submitCount:_.value,controlledValues:O.value,validate:E,validateField:b,handleSubmit:te,handleReset:B,submitForm:re,setErrors:$,setFieldError:R,setFieldValue:oe,setValues:Y,setFieldTouched:z,setTouched:Q,resetForm:G,resetField:U,getValues:he,getMeta:de,getErrors:X}}return t.expose({setFieldError:R,setErrors:$,setFieldValue:oe,setValues:Y,setFieldTouched:z,setTouched:Q,resetForm:G,validate:E,validateField:b,resetField:U,getValues:he,getMeta:de,getErrors:X,values:v,meta:c,errors:l}),function(){const M=e.as==="form"?e.as:e.as?pt(e.as):null,ie=It(M,t,W);return M?St(M,Object.assign(Object.assign(Object.assign({},M==="form"?{novalidate:!0}:{}),t.attrs),{onSubmit:N,onReset:C}),ie):ie}}}),qn=Ln;export{Wn as F,qn as a,rt as c,Re as i};
|