appos 0.1.0
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/README.md +399 -0
- package/build/client/assets/IconMail-BZadZvAd.js +1 -0
- package/build/client/assets/_-CgPm6_fJ.js +1 -0
- package/build/client/assets/_index-BCLDp_mg.js +1 -0
- package/build/client/assets/_layout-CTmjtKOZ.js +1 -0
- package/build/client/assets/_layout-HsJ3Zu5t.js +1 -0
- package/build/client/assets/_layout-OcS85aOt.js +1 -0
- package/build/client/assets/app-sidebar-Bm6e4kn_.js +1 -0
- package/build/client/assets/app-sidebar-D2Nsi85j.js +1 -0
- package/build/client/assets/auth-provider-rkzBVtYX.js +1 -0
- package/build/client/assets/brand-CbTWw97e.js +1 -0
- package/build/client/assets/browser-ponyfill-D3yQFvRu.js +2 -0
- package/build/client/assets/button-DtZhoqpk.js +1 -0
- package/build/client/assets/check-D5D2EGI4.js +1 -0
- package/build/client/assets/checkbox-B35Nn166.js +1 -0
- package/build/client/assets/chunk-JG3XND5A-BetDbdG0.js +1 -0
- package/build/client/assets/chunk-UIGDSWPH-DeiamgQc.js +26 -0
- package/build/client/assets/chunk-vBKQ29Cd.js +1 -0
- package/build/client/assets/circle-alert-DB4JluX5.js +1 -0
- package/build/client/assets/compare-Br3z3FUS-BXkA2ojG.js +2 -0
- package/build/client/assets/compiler-runtime-Co9svCia.js +1 -0
- package/build/client/assets/config-ChcA_Pkv.js +1 -0
- package/build/client/assets/createReactComponent-C2TSpqC7.js +1 -0
- package/build/client/assets/dialog-CQrpvURm.js +1 -0
- package/build/client/assets/dist-B6TkSbxV.js +1 -0
- package/build/client/assets/dist-BNO39Rfs.js +1 -0
- package/build/client/assets/dist-BWnI-4xl.js +1 -0
- package/build/client/assets/dist-CA21wN5I.js +1 -0
- package/build/client/assets/dist-CBNvQRbZ.js +1 -0
- package/build/client/assets/dist-CYRPrwOb.js +1 -0
- package/build/client/assets/dist-DKtC0FSi.js +1 -0
- package/build/client/assets/dist-DhfcebhF.js +1 -0
- package/build/client/assets/dist-VqaKdvZu.js +1 -0
- package/build/client/assets/dist-Yn6lj8QC.js +5 -0
- package/build/client/assets/dropdown-menu-CbzduuDa.js +1 -0
- package/build/client/assets/empty-DQRarCKT.js +1 -0
- package/build/client/assets/entry.client-BN1GPjAL.js +10 -0
- package/build/client/assets/es2015-BJguufLZ.js +41 -0
- package/build/client/assets/eye-Ctrln70x.js +1 -0
- package/build/client/assets/file-preview-dialog-BRkWSRN4.js +14 -0
- package/build/client/assets/index-Del2yBnb.js +1 -0
- package/build/client/assets/initReactI18next-CyHiepAw.js +1 -0
- package/build/client/assets/input-V1lM1yoz.js +1 -0
- package/build/client/assets/jsx-runtime-SCjaiuzT.js +1 -0
- package/build/client/assets/lock-Bj7dxHab.js +1 -0
- package/build/client/assets/manifest-ca813980.js +1 -0
- package/build/client/assets/nav-user-BqPUBe9x.js +1 -0
- package/build/client/assets/nav-user-Yu7wt7b_.js +1 -0
- package/build/client/assets/org-switcher-BIuearbE.js +1 -0
- package/build/client/assets/password-input-bor7e4TM.js +1 -0
- package/build/client/assets/react-dom-Bhi-1tDD.js +1 -0
- package/build/client/assets/realtime-BmU1LPhx.js +1 -0
- package/build/client/assets/root-CS5YIV-V.js +3 -0
- package/build/client/assets/root-D0CFuQYc.css +2 -0
- package/build/client/assets/route-B9cwW-UK.js +1 -0
- package/build/client/assets/route-BD2nV1q2.js +1 -0
- package/build/client/assets/route-BEnDcljt.js +1 -0
- package/build/client/assets/route-BR4LdxHR.js +1 -0
- package/build/client/assets/route-BU5TYmVE.js +0 -0
- package/build/client/assets/route-BVmIPEvK.js +11 -0
- package/build/client/assets/route-BY244T48.js +1 -0
- package/build/client/assets/route-Bwd903CU.js +1 -0
- package/build/client/assets/route-CN9iChOk.js +1 -0
- package/build/client/assets/route-CQ3p9Qb1.js +1 -0
- package/build/client/assets/route-CVLnTONw.js +1 -0
- package/build/client/assets/route-CoMZag4T.js +1 -0
- package/build/client/assets/route-CsYSLbnx.js +1 -0
- package/build/client/assets/route-DWNrq2GE.js +1 -0
- package/build/client/assets/route-Dxfmap_u.js +1 -0
- package/build/client/assets/route-Gnx1fkRX.js +0 -0
- package/build/client/assets/route-NduA4SS_.js +1 -0
- package/build/client/assets/route-u2hskgE_.js +1 -0
- package/build/client/assets/route-v9Jwv-AW.js +1 -0
- package/build/client/assets/select-DATRE76_.js +1 -0
- package/build/client/assets/separator-Cla0V581.js +1 -0
- package/build/client/assets/shim-TRiHENXu.js +1 -0
- package/build/client/assets/sidebar-CqrdL512.js +1 -0
- package/build/client/assets/site-header-CZO3qBhf.js +1 -0
- package/build/client/assets/site-header-CwidwSv1.js +1 -0
- package/build/client/assets/social-providers-Bz7f1_yd.js +1 -0
- package/build/client/assets/test-WdoqKbLa.js +1 -0
- package/build/client/assets/tooltip-BeDraHQn.js +1 -0
- package/build/client/assets/trpc-C1CjVipH.js +6 -0
- package/build/client/assets/trust-indicator-D4tEs4Dr.js +20 -0
- package/build/client/assets/use-file-upload-CNPfWC6W.js +1 -0
- package/build/client/assets/useTranslation-Bz7VuQ7j.js +1 -0
- package/build/client/assets/utils-InBzhUf_.js +1 -0
- package/build/client/assets/x-4CC8aqOW.js +1 -0
- package/build/client/favicon.ico +0 -0
- package/build/client/locales/en/emails.json +11 -0
- package/build/client/locales/en/translation.json +411 -0
- package/build/client/locales/zh-CN/emails.json +11 -0
- package/build/client/locales/zh-CN/translation.json +1 -0
- package/build/client/locales/zh-TW/emails.json +11 -0
- package/build/client/locales/zh-TW/translation.json +1 -0
- package/build/client/logo-invert.png +0 -0
- package/build/client/logo.png +0 -0
- package/build/lib/adapter-factory-CLtf7vT5-CTKiMV2u.mjs +19675 -0
- package/build/lib/bun-sqlite-dialect-DN7EKoIB-0pWIoG0L.mjs +155 -0
- package/build/lib/chunk-BYI67GdN.mjs +1 -0
- package/build/lib/chunk-CkKlU7xI.mjs +44 -0
- package/build/lib/client-BtuhFgvy.mjs +65 -0
- package/build/lib/client.d.ts +2272 -0
- package/build/lib/client.js +24 -0
- package/build/lib/date.d.ts +1 -0
- package/build/lib/date.js +1 -0
- package/build/lib/dialect-BeMwdQoz-D41NdSow.mjs +72 -0
- package/build/lib/dist-cjs-B43A5HXv.mjs +169 -0
- package/build/lib/dist-cjs-B_wkbabY.mjs +214 -0
- package/build/lib/dist-cjs-BmbYbMhp.mjs +143 -0
- package/build/lib/dist-cjs-Cc337rwW.mjs +7 -0
- package/build/lib/dist-cjs-CgzfN8xY.mjs +4974 -0
- package/build/lib/dist-cjs-DBFcizQf.mjs +50 -0
- package/build/lib/dist-cjs-DC-UL-xx.mjs +97 -0
- package/build/lib/dist-cjs-DHlTgXUO.mjs +6975 -0
- package/build/lib/dist-cjs-DYAmJYzN.mjs +323 -0
- package/build/lib/dist-cjs-Ddm6Stp9.mjs +1294 -0
- package/build/lib/dist-cjs-GFGBhaZg.mjs +84 -0
- package/build/lib/dist-cjs-ieCOxrOi.mjs +181 -0
- package/build/lib/dist-cjs-nbOGa7i_.mjs +47 -0
- package/build/lib/dist-cjs-pN6ekzMW.mjs +66 -0
- package/build/lib/dist-cjs-yYlQ1OiO.mjs +102 -0
- package/build/lib/esm-DPet4lFW.mjs +15816 -0
- package/build/lib/event-streams-x9fP9BzF.mjs +185 -0
- package/build/lib/file-preview-dialog-Cugg8tEc.mjs +59 -0
- package/build/lib/kysely-adapter-BTWfu5rn.mjs +183 -0
- package/build/lib/magic-string.es-jZcifc5m.mjs +1013 -0
- package/build/lib/memory-adapter-DiU519m9.mjs +147 -0
- package/build/lib/node-ponyfill-Dmm1SWTU.mjs +38212 -0
- package/build/lib/node-sqlite-dialect-BqISUSC3-DYvTLBpY.mjs +155 -0
- package/build/lib/package-DfozRyK6.mjs +5 -0
- package/build/lib/react-dom-CPjM_WCt.mjs +42 -0
- package/build/lib/server.d.mts +76273 -0
- package/build/lib/server.mjs +325 -0
- package/build/lib/sso-oidc-Qom0PEDW.mjs +1036 -0
- package/build/lib/sts-CLRaHSW_.mjs +13 -0
- package/build/lib/sts-Dl7yZqX1.mjs +1405 -0
- package/build/lib/test.d.mts +8922 -0
- package/build/lib/test.mjs +175650 -0
- package/build/lib/ui/index.d.ts +1643 -0
- package/build/lib/ui/index.js +160 -0
- package/build/lib/utils.d.ts +21 -0
- package/build/lib/utils.js +1 -0
- package/build/lib/zod.d.ts +1 -0
- package/build/lib/zod.js +23 -0
- package/build/main.js +2383 -0
- package/build/server/assets/context-BoNg86Eh.js +35 -0
- package/build/server/assets/dialog-B8YbGNaz.js +54 -0
- package/build/server/assets/file-preview-dialog-qWSViOWQ.js +15 -0
- package/build/server/assets/react-CFQ4y0AA.js +13 -0
- package/build/server/assets/react-dom-Ca1YUVo2.js +5 -0
- package/build/server/assets/server-build-BMOfm0ad.js +118 -0
- package/build/server/assets/server.node-B2oksIp8.js +196 -0
- package/build/server/assets/server.node-VQzoub0A.js +1 -0
- package/build/server/index.js +123 -0
- package/package.json +224 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
window.__reactRouterManifest={"entry":{"module":"/assets/entry.client-BN1GPjAL.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/react-dom-Bhi-1tDD.js","/assets/initReactI18next-CyHiepAw.js","/assets/chunk-JG3XND5A-BetDbdG0.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes":{"root":{"id":"root","path":"","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":true,"module":"/assets/root-CS5YIV-V.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/react-dom-Bhi-1tDD.js","/assets/initReactI18next-CyHiepAw.js","/assets/chunk-JG3XND5A-BetDbdG0.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js","/assets/button-DtZhoqpk.js","/assets/dialog-CQrpvURm.js","/assets/empty-DQRarCKT.js","/assets/auth-provider-rkzBVtYX.js","/assets/config-ChcA_Pkv.js","/assets/realtime-BmU1LPhx.js","/assets/trpc-C1CjVipH.js","/assets/utils-InBzhUf_.js","/assets/dist-DhfcebhF.js","/assets/dist-BWnI-4xl.js","/assets/dist-Yn6lj8QC.js","/assets/es2015-BJguufLZ.js","/assets/dist-VqaKdvZu.js","/assets/dist-B6TkSbxV.js","/assets/dist-CBNvQRbZ.js","/assets/x-4CC8aqOW.js","/assets/compare-Br3z3FUS-BXkA2ojG.js","/assets/useTranslation-Bz7VuQ7j.js","/assets/compiler-runtime-Co9svCia.js","/assets/shim-TRiHENXu.js"],"css":[]},"routes/_app+/_layout":{"id":"routes/_app+/_layout","parentId":"root","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/_layout-OcS85aOt.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/brand-CbTWw97e.js","/assets/nav-user-BqPUBe9x.js","/assets/button-DtZhoqpk.js","/assets/dropdown-menu-CbzduuDa.js","/assets/input-V1lM1yoz.js","/assets/separator-Cla0V581.js","/assets/sidebar-CqrdL512.js","/assets/tooltip-BeDraHQn.js","/assets/auth-provider-rkzBVtYX.js","/assets/config-ChcA_Pkv.js","/assets/utils-InBzhUf_.js","/assets/app-sidebar-D2Nsi85j.js","/assets/site-header-CZO3qBhf.js","/assets/dist-BNO39Rfs.js","/assets/dist-DhfcebhF.js","/assets/dist-DKtC0FSi.js","/assets/dist-BWnI-4xl.js","/assets/dist-Yn6lj8QC.js","/assets/es2015-BJguufLZ.js","/assets/dist-VqaKdvZu.js","/assets/dist-B6TkSbxV.js","/assets/dist-CYRPrwOb.js","/assets/createReactComponent-C2TSpqC7.js","/assets/IconMail-BZadZvAd.js","/assets/dist-CBNvQRbZ.js","/assets/x-4CC8aqOW.js","/assets/react-dom-Bhi-1tDD.js","/assets/useTranslation-Bz7VuQ7j.js","/assets/initReactI18next-CyHiepAw.js","/assets/chunk-JG3XND5A-BetDbdG0.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/shim-TRiHENXu.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/app-sidebar":{"id":"routes/_app+/app-sidebar","parentId":"routes/_app+/_layout","path":"app-sidebar","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/app-sidebar-Bm6e4kn_.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/brand-CbTWw97e.js","/assets/nav-user-BqPUBe9x.js","/assets/button-DtZhoqpk.js","/assets/dropdown-menu-CbzduuDa.js","/assets/input-V1lM1yoz.js","/assets/separator-Cla0V581.js","/assets/sidebar-CqrdL512.js","/assets/tooltip-BeDraHQn.js","/assets/auth-provider-rkzBVtYX.js","/assets/config-ChcA_Pkv.js","/assets/utils-InBzhUf_.js","/assets/app-sidebar-D2Nsi85j.js","/assets/dist-BNO39Rfs.js","/assets/dist-DhfcebhF.js","/assets/dist-DKtC0FSi.js","/assets/dist-BWnI-4xl.js","/assets/dist-Yn6lj8QC.js","/assets/es2015-BJguufLZ.js","/assets/dist-VqaKdvZu.js","/assets/dist-B6TkSbxV.js","/assets/dist-CYRPrwOb.js","/assets/createReactComponent-C2TSpqC7.js","/assets/IconMail-BZadZvAd.js","/assets/dist-CBNvQRbZ.js","/assets/x-4CC8aqOW.js","/assets/react-dom-Bhi-1tDD.js","/assets/useTranslation-Bz7VuQ7j.js","/assets/initReactI18next-CyHiepAw.js","/assets/chunk-JG3XND5A-BetDbdG0.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/shim-TRiHENXu.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/board/route":{"id":"routes/_app+/board/route","parentId":"routes/_app+/_layout","path":"board","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-BR4LdxHR.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/help/route":{"id":"routes/_app+/help/route","parentId":"routes/_app+/_layout","path":"help","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-BD2nV1q2.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/home/route":{"id":"routes/_app+/home/route","parentId":"routes/_app+/_layout","path":"home","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-CsYSLbnx.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/inbox/route":{"id":"routes/_app+/inbox/route","parentId":"routes/_app+/_layout","path":"inbox","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-B9cwW-UK.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/nav-user":{"id":"routes/_app+/nav-user","parentId":"routes/_app+/_layout","path":"nav-user","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/nav-user-Yu7wt7b_.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/nav-user-BqPUBe9x.js","/assets/button-DtZhoqpk.js","/assets/dropdown-menu-CbzduuDa.js","/assets/input-V1lM1yoz.js","/assets/separator-Cla0V581.js","/assets/sidebar-CqrdL512.js","/assets/tooltip-BeDraHQn.js","/assets/auth-provider-rkzBVtYX.js","/assets/config-ChcA_Pkv.js","/assets/utils-InBzhUf_.js","/assets/dist-BNO39Rfs.js","/assets/dist-DhfcebhF.js","/assets/dist-DKtC0FSi.js","/assets/dist-BWnI-4xl.js","/assets/dist-Yn6lj8QC.js","/assets/es2015-BJguufLZ.js","/assets/dist-VqaKdvZu.js","/assets/dist-B6TkSbxV.js","/assets/dist-CYRPrwOb.js","/assets/createReactComponent-C2TSpqC7.js","/assets/dist-CBNvQRbZ.js","/assets/x-4CC8aqOW.js","/assets/react-dom-Bhi-1tDD.js","/assets/chunk-JG3XND5A-BetDbdG0.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/shim-TRiHENXu.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/org-switcher":{"id":"routes/_app+/org-switcher","parentId":"routes/_app+/_layout","path":"org-switcher","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/org-switcher-BIuearbE.js","imports":["/assets/button-DtZhoqpk.js","/assets/dropdown-menu-CbzduuDa.js","/assets/input-V1lM1yoz.js","/assets/separator-Cla0V581.js","/assets/sidebar-CqrdL512.js","/assets/tooltip-BeDraHQn.js","/assets/utils-InBzhUf_.js","/assets/dist-BNO39Rfs.js","/assets/dist-DhfcebhF.js","/assets/dist-DKtC0FSi.js","/assets/dist-BWnI-4xl.js","/assets/dist-Yn6lj8QC.js","/assets/es2015-BJguufLZ.js","/assets/dist-VqaKdvZu.js","/assets/dist-B6TkSbxV.js","/assets/dist-CYRPrwOb.js","/assets/dist-CBNvQRbZ.js","/assets/x-4CC8aqOW.js","/assets/react-dom-Bhi-1tDD.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/platform+/auth+/authentication/route":{"id":"routes/_app+/platform+/auth+/authentication/route","parentId":"routes/_app+/_layout","path":"platform/auth/authentication","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-Dxfmap_u.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/platform+/auth+/index/route":{"id":"routes/_app+/platform+/auth+/index/route","parentId":"routes/_app+/_layout","path":"platform/auth","index":true,"hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-BU5TYmVE.js","imports":[],"css":[]},"routes/_app+/platform+/auth+/organizations/route":{"id":"routes/_app+/platform+/auth+/organizations/route","parentId":"routes/_app+/_layout","path":"platform/auth/organizations","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-Bwd903CU.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/platform+/auth+/overview/route":{"id":"routes/_app+/platform+/auth+/overview/route","parentId":"routes/_app+/_layout","path":"platform/auth/overview","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-BY244T48.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/platform+/auth+/users/route":{"id":"routes/_app+/platform+/auth+/users/route","parentId":"routes/_app+/_layout","path":"platform/auth/users","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-DWNrq2GE.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/platform+/billing+/index/route":{"id":"routes/_app+/platform+/billing+/index/route","parentId":"routes/_app+/_layout","path":"platform/billing","index":true,"hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-CQ3p9Qb1.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/platform+/docs+/index/route":{"id":"routes/_app+/platform+/docs+/index/route","parentId":"routes/_app+/_layout","path":"platform/docs","index":true,"hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-CN9iChOk.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/platform+/emails+/_layout":{"id":"routes/_app+/platform+/emails+/_layout","parentId":"routes/_app+/_layout","path":"platform/emails","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/_layout-HsJ3Zu5t.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/button-DtZhoqpk.js","/assets/input-V1lM1yoz.js","/assets/separator-Cla0V581.js","/assets/sidebar-CqrdL512.js","/assets/tooltip-BeDraHQn.js","/assets/utils-InBzhUf_.js","/assets/dist-BNO39Rfs.js","/assets/dist-DhfcebhF.js","/assets/dist-BWnI-4xl.js","/assets/dist-Yn6lj8QC.js","/assets/es2015-BJguufLZ.js","/assets/dist-VqaKdvZu.js","/assets/dist-B6TkSbxV.js","/assets/dist-CYRPrwOb.js","/assets/dist-CBNvQRbZ.js","/assets/x-4CC8aqOW.js","/assets/react-dom-Bhi-1tDD.js","/assets/useTranslation-Bz7VuQ7j.js","/assets/initReactI18next-CyHiepAw.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/shim-TRiHENXu.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/platform+/emails+/$":{"id":"routes/_app+/platform+/emails+/$","parentId":"routes/_app+/platform+/emails+/_layout","path":"*","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/_-CgPm6_fJ.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/button-DtZhoqpk.js","/assets/select-DATRE76_.js","/assets/realtime-BmU1LPhx.js","/assets/utils-InBzhUf_.js","/assets/dist-BNO39Rfs.js","/assets/dist-DhfcebhF.js","/assets/dist-DKtC0FSi.js","/assets/dist-BWnI-4xl.js","/assets/es2015-BJguufLZ.js","/assets/dist-B6TkSbxV.js","/assets/dist-CA21wN5I.js","/assets/dist-CYRPrwOb.js","/assets/dist-CBNvQRbZ.js","/assets/check-D5D2EGI4.js","/assets/react-dom-Bhi-1tDD.js","/assets/useTranslation-Bz7VuQ7j.js","/assets/initReactI18next-CyHiepAw.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/shim-TRiHENXu.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/platform+/emails+/_index":{"id":"routes/_app+/platform+/emails+/_index","parentId":"routes/_app+/platform+/emails+/_layout","index":true,"hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/_index-BCLDp_mg.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/empty-DQRarCKT.js","/assets/utils-InBzhUf_.js","/assets/createReactComponent-C2TSpqC7.js","/assets/IconMail-BZadZvAd.js","/assets/dist-CBNvQRbZ.js","/assets/useTranslation-Bz7VuQ7j.js","/assets/initReactI18next-CyHiepAw.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/shim-TRiHENXu.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/platform+/index/route":{"id":"routes/_app+/platform+/index/route","parentId":"routes/_app+/_layout","path":"platform","index":true,"hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-Gnx1fkRX.js","imports":[],"css":[]},"routes/_app+/platform+/notifications+/index/route":{"id":"routes/_app+/platform+/notifications+/index/route","parentId":"routes/_app+/_layout","path":"platform/notifications","index":true,"hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-v9Jwv-AW.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/platform+/site+/index/route":{"id":"routes/_app+/platform+/site+/index/route","parentId":"routes/_app+/_layout","path":"platform/site","index":true,"hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-BEnDcljt.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/platform+/storage+/index/route":{"id":"routes/_app+/platform+/storage+/index/route","parentId":"routes/_app+/_layout","path":"platform/storage","index":true,"hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-BVmIPEvK.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/button-DtZhoqpk.js","/assets/checkbox-B35Nn166.js","/assets/dropdown-menu-CbzduuDa.js","/assets/empty-DQRarCKT.js","/assets/input-V1lM1yoz.js","/assets/select-DATRE76_.js","/assets/use-file-upload-CNPfWC6W.js","/assets/tooltip-BeDraHQn.js","/assets/config-ChcA_Pkv.js","/assets/trpc-C1CjVipH.js","/assets/utils-InBzhUf_.js","/assets/dist-BNO39Rfs.js","/assets/dist-DhfcebhF.js","/assets/dist-DKtC0FSi.js","/assets/dist-BWnI-4xl.js","/assets/dist-Yn6lj8QC.js","/assets/es2015-BJguufLZ.js","/assets/dist-VqaKdvZu.js","/assets/dist-B6TkSbxV.js","/assets/dist-CA21wN5I.js","/assets/dist-CYRPrwOb.js","/assets/dist-CBNvQRbZ.js","/assets/check-D5D2EGI4.js","/assets/eye-Ctrln70x.js","/assets/x-4CC8aqOW.js","/assets/compare-Br3z3FUS-BXkA2ojG.js","/assets/react-dom-Bhi-1tDD.js","/assets/useTranslation-Bz7VuQ7j.js","/assets/initReactI18next-CyHiepAw.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/shim-TRiHENXu.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_app+/site-header":{"id":"routes/_app+/site-header","parentId":"routes/_app+/_layout","path":"site-header","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/site-header-CwidwSv1.js","imports":["/assets/button-DtZhoqpk.js","/assets/input-V1lM1yoz.js","/assets/separator-Cla0V581.js","/assets/sidebar-CqrdL512.js","/assets/tooltip-BeDraHQn.js","/assets/utils-InBzhUf_.js","/assets/site-header-CZO3qBhf.js","/assets/dist-BNO39Rfs.js","/assets/dist-DhfcebhF.js","/assets/dist-BWnI-4xl.js","/assets/dist-Yn6lj8QC.js","/assets/es2015-BJguufLZ.js","/assets/dist-VqaKdvZu.js","/assets/dist-B6TkSbxV.js","/assets/dist-CYRPrwOb.js","/assets/dist-CBNvQRbZ.js","/assets/x-4CC8aqOW.js","/assets/react-dom-Bhi-1tDD.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_auth+/_layout":{"id":"routes/_auth+/_layout","parentId":"root","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/_layout-CTmjtKOZ.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/brand-CbTWw97e.js","/assets/auth-provider-rkzBVtYX.js","/assets/config-ChcA_Pkv.js","/assets/utils-InBzhUf_.js","/assets/chunk-JG3XND5A-BetDbdG0.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_auth+/forgot-password/route":{"id":"routes/_auth+/forgot-password/route","parentId":"routes/_auth+/_layout","path":"forgot-password","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-CVLnTONw.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/button-DtZhoqpk.js","/assets/trust-indicator-D4tEs4Dr.js","/assets/input-V1lM1yoz.js","/assets/auth-provider-rkzBVtYX.js","/assets/config-ChcA_Pkv.js","/assets/utils-InBzhUf_.js","/assets/dist-BWnI-4xl.js","/assets/dist-B6TkSbxV.js","/assets/dist-CBNvQRbZ.js","/assets/circle-alert-DB4JluX5.js","/assets/lock-Bj7dxHab.js","/assets/react-dom-Bhi-1tDD.js","/assets/useTranslation-Bz7VuQ7j.js","/assets/initReactI18next-CyHiepAw.js","/assets/chunk-JG3XND5A-BetDbdG0.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/shim-TRiHENXu.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_auth+/login/route":{"id":"routes/_auth+/login/route","parentId":"routes/_auth+/_layout","path":"login","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-CoMZag4T.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/button-DtZhoqpk.js","/assets/trust-indicator-D4tEs4Dr.js","/assets/checkbox-B35Nn166.js","/assets/input-V1lM1yoz.js","/assets/password-input-bor7e4TM.js","/assets/separator-Cla0V581.js","/assets/auth-provider-rkzBVtYX.js","/assets/social-providers-Bz7f1_yd.js","/assets/config-ChcA_Pkv.js","/assets/utils-InBzhUf_.js","/assets/dist-DhfcebhF.js","/assets/dist-BWnI-4xl.js","/assets/dist-VqaKdvZu.js","/assets/dist-B6TkSbxV.js","/assets/dist-CA21wN5I.js","/assets/dist-CYRPrwOb.js","/assets/createReactComponent-C2TSpqC7.js","/assets/dist-CBNvQRbZ.js","/assets/check-D5D2EGI4.js","/assets/circle-alert-DB4JluX5.js","/assets/eye-Ctrln70x.js","/assets/lock-Bj7dxHab.js","/assets/x-4CC8aqOW.js","/assets/react-dom-Bhi-1tDD.js","/assets/useTranslation-Bz7VuQ7j.js","/assets/initReactI18next-CyHiepAw.js","/assets/chunk-JG3XND5A-BetDbdG0.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/shim-TRiHENXu.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_auth+/reset-password/route":{"id":"routes/_auth+/reset-password/route","parentId":"routes/_auth+/_layout","path":"reset-password","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-NduA4SS_.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/button-DtZhoqpk.js","/assets/trust-indicator-D4tEs4Dr.js","/assets/input-V1lM1yoz.js","/assets/password-input-bor7e4TM.js","/assets/auth-provider-rkzBVtYX.js","/assets/config-ChcA_Pkv.js","/assets/utils-InBzhUf_.js","/assets/dist-BWnI-4xl.js","/assets/dist-B6TkSbxV.js","/assets/dist-CBNvQRbZ.js","/assets/check-D5D2EGI4.js","/assets/circle-alert-DB4JluX5.js","/assets/eye-Ctrln70x.js","/assets/lock-Bj7dxHab.js","/assets/x-4CC8aqOW.js","/assets/react-dom-Bhi-1tDD.js","/assets/useTranslation-Bz7VuQ7j.js","/assets/initReactI18next-CyHiepAw.js","/assets/chunk-JG3XND5A-BetDbdG0.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/shim-TRiHENXu.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_auth+/signup/route":{"id":"routes/_auth+/signup/route","parentId":"routes/_auth+/_layout","path":"signup","hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/route-u2hskgE_.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/button-DtZhoqpk.js","/assets/trust-indicator-D4tEs4Dr.js","/assets/input-V1lM1yoz.js","/assets/password-input-bor7e4TM.js","/assets/separator-Cla0V581.js","/assets/auth-provider-rkzBVtYX.js","/assets/social-providers-Bz7f1_yd.js","/assets/config-ChcA_Pkv.js","/assets/utils-InBzhUf_.js","/assets/dist-BWnI-4xl.js","/assets/dist-B6TkSbxV.js","/assets/createReactComponent-C2TSpqC7.js","/assets/dist-CBNvQRbZ.js","/assets/check-D5D2EGI4.js","/assets/circle-alert-DB4JluX5.js","/assets/eye-Ctrln70x.js","/assets/x-4CC8aqOW.js","/assets/react-dom-Bhi-1tDD.js","/assets/useTranslation-Bz7VuQ7j.js","/assets/initReactI18next-CyHiepAw.js","/assets/chunk-JG3XND5A-BetDbdG0.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/shim-TRiHENXu.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_marketing+/index":{"id":"routes/_marketing+/index","parentId":"root","index":true,"hasAction":false,"hasLoader":false,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/index-Del2yBnb.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/button-DtZhoqpk.js","/assets/use-file-upload-CNPfWC6W.js","/assets/config-ChcA_Pkv.js","/assets/realtime-BmU1LPhx.js","/assets/trpc-C1CjVipH.js","/assets/utils-InBzhUf_.js","/assets/dist-BWnI-4xl.js","/assets/dist-CBNvQRbZ.js","/assets/circle-alert-DB4JluX5.js","/assets/x-4CC8aqOW.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]},"routes/_marketing+/test":{"id":"routes/_marketing+/test","parentId":"root","path":"test","hasAction":false,"hasLoader":true,"hasClientAction":false,"hasClientLoader":false,"hasClientMiddleware":false,"hasErrorBoundary":false,"module":"/assets/test-WdoqKbLa.js","imports":["/assets/chunk-UIGDSWPH-DeiamgQc.js","/assets/compiler-runtime-Co9svCia.js","/assets/jsx-runtime-SCjaiuzT.js","/assets/chunk-vBKQ29Cd.js"],"css":[]}},"url":"/assets/manifest-ca813980.js","version":"ca813980"};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as e}from"./chunk-vBKQ29Cd.js";import{n as t,t as n}from"./jsx-runtime-SCjaiuzT.js";import{k as r}from"./chunk-UIGDSWPH-DeiamgQc.js";import{r as i}from"./chunk-JG3XND5A-BetDbdG0.js";import{t as a}from"./shim-TRiHENXu.js";import{t as o}from"./compiler-runtime-Co9svCia.js";import{d as s,h as c,l,u}from"./sidebar-CqrdL512.js";import{n as d,t as f}from"./utils-InBzhUf_.js";import{t as p}from"./dist-B6TkSbxV.js";import{a as m,n as h}from"./dist-DhfcebhF.js";import{s as g}from"./es2015-BJguufLZ.js";import{a as _,i as v,n as ee,o as y,r as b,s as x,t as S}from"./dropdown-menu-CbzduuDa.js";import{n as te}from"./auth-provider-rkzBVtYX.js";import{t as C}from"./createReactComponent-C2TSpqC7.js";var w=a();function T(){return(0,w.useSyncExternalStore)(E,()=>!0,()=>!1)}function E(){return()=>{}}var D=e(t(),1),O=n(),k=`Avatar`,[A,j]=m(k),[M,N]=A(k),P=D.forwardRef((e,t)=>{let{__scopeAvatar:n,...r}=e,[i,a]=D.useState(`idle`);return(0,O.jsx)(M,{scope:n,imageLoadingStatus:i,onImageLoadingStatusChange:a,children:(0,O.jsx)(p.span,{...r,ref:t})})});P.displayName=k;var F=`AvatarImage`,I=D.forwardRef((e,t)=>{let{__scopeAvatar:n,src:r,onLoadingStatusChange:i=()=>{},...a}=e,o=N(F,n),s=B(r,a),c=g(e=>{i(e),o.onImageLoadingStatusChange(e)});return h(()=>{s!==`idle`&&c(s)},[s,c]),s===`loaded`?(0,O.jsx)(p.img,{...a,ref:t,src:r}):null});I.displayName=F;var L=`AvatarFallback`,R=D.forwardRef((e,t)=>{let{__scopeAvatar:n,delayMs:r,...i}=e,a=N(L,n),[o,s]=D.useState(r===void 0);return D.useEffect(()=>{if(r!==void 0){let e=window.setTimeout(()=>s(!0),r);return()=>window.clearTimeout(e)}},[r]),o&&a.imageLoadingStatus!==`loaded`?(0,O.jsx)(p.span,{...i,ref:t}):null});R.displayName=L;function z(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?`loaded`:`loading`):`error`:`idle`}function B(e,{referrerPolicy:t,crossOrigin:n}){let r=T(),i=D.useRef(null),a=(()=>r?(i.current||=new window.Image,i.current):null)(),[o,s]=D.useState(()=>z(a,e));return h(()=>{s(z(a,e))},[a,e]),h(()=>{let e=e=>()=>{s(e)};if(!a)return;let r=e(`loaded`),i=e(`error`);return a.addEventListener(`load`,r),a.addEventListener(`error`,i),t&&(a.referrerPolicy=t),typeof n==`string`&&(a.crossOrigin=n),()=>{a.removeEventListener(`load`,r),a.removeEventListener(`error`,i)}},[a,n,t]),o}var V=P,H=I,U=R,ne=C(`outline`,`dots-vertical`,`DotsVertical`,[[`path`,{d:`M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-0`}],[`path`,{d:`M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-1`}],[`path`,{d:`M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0`,key:`svg-2`}]]),re=C(`outline`,`logout`,`Logout`,[[`path`,{d:`M14 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2`,key:`svg-0`}],[`path`,{d:`M9 12h12l-3 -3`,key:`svg-1`}],[`path`,{d:`M18 15l3 -3`,key:`svg-2`}]]),W=C(`outline`,`notification`,`Notification`,[[`path`,{d:`M10 6h-3a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-3`,key:`svg-0`}],[`path`,{d:`M17 7m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0`,key:`svg-1`}]]),G=C(`outline`,`user-circle`,`UserCircle`,[[`path`,{d:`M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0`,key:`svg-0`}],[`path`,{d:`M12 10m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0`,key:`svg-1`}],[`path`,{d:`M6.168 18.849a4 4 0 0 1 3.832 -2.849h4a4 4 0 0 1 3.834 2.855`,key:`svg-2`}]]),K=o();function q(e){let t=(0,K.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=f(`relative flex size-8 shrink-0 overflow-hidden rounded-full`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,O.jsx)(V,{"data-slot":`avatar`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function J(e){let t=(0,K.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=f(`aspect-square size-full`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,O.jsx)(H,{"data-slot":`avatar-image`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Y(e){let t=(0,K.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=f(`bg-muted flex size-full items-center justify-center rounded-full`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,O.jsx)(U,{"data-slot":`avatar-fallback`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var ie=o();function X(e){let t=(0,ie.c)(58),{user:n}=e,{client:a}=te(),o=r(),{isMobile:f}=c(),p=n.image||``,m;t[0]!==p||t[1]!==n.name?(m=(0,O.jsx)(J,{src:p,alt:n.name}),t[0]=p,t[1]=n.name,t[2]=m):m=t[2];let h;t[3]===n.name?h=t[4]:(h=d(n.name),t[3]=n.name,t[4]=h);let g;t[5]===h?g=t[6]:(g=(0,O.jsx)(Y,{className:`rounded-lg`,children:h}),t[5]=h,t[6]=g);let C;t[7]!==m||t[8]!==g?(C=(0,O.jsxs)(q,{className:`size-8 rounded-lg`,children:[m,g]}),t[7]=m,t[8]=g,t[9]=C):C=t[9];let w;t[10]===n.name?w=t[11]:(w=(0,O.jsx)(`span`,{className:`truncate font-medium`,children:n.name}),t[10]=n.name,t[11]=w);let T;t[12]===n.email?T=t[13]:(T=(0,O.jsx)(`span`,{className:`text-muted-foreground truncate text-xs`,children:n.email}),t[12]=n.email,t[13]=T);let E;t[14]!==w||t[15]!==T?(E=(0,O.jsxs)(`div`,{className:`sr-only grid flex-1 text-left text-sm leading-tight`,children:[w,T]}),t[14]=w,t[15]=T,t[16]=E):E=t[16];let D;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,O.jsx)(ne,{className:`ml-auto size-4 sr-only`}),t[17]=D):D=t[17];let k;t[18]!==C||t[19]!==E?(k=(0,O.jsx)(x,{asChild:!0,children:(0,O.jsxs)(u,{className:`data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground h-8 p-0`,children:[C,E,D]})}),t[18]=C,t[19]=E,t[20]=k):k=t[20];let A=f?`bottom`:`right`,j=n.image||``,M;t[21]!==j||t[22]!==n.name?(M=(0,O.jsx)(J,{src:j,alt:n.name}),t[21]=j,t[22]=n.name,t[23]=M):M=t[23];let N;t[24]===n.name?N=t[25]:(N=d(n.name),t[24]=n.name,t[25]=N);let P;t[26]===N?P=t[27]:(P=(0,O.jsx)(Y,{className:`rounded-lg`,children:N}),t[26]=N,t[27]=P);let F;t[28]!==M||t[29]!==P?(F=(0,O.jsxs)(q,{className:`h-8 w-8 rounded-lg`,children:[M,P]}),t[28]=M,t[29]=P,t[30]=F):F=t[30];let I;t[31]===n.name?I=t[32]:(I=(0,O.jsx)(`span`,{className:`truncate font-medium`,children:n.name}),t[31]=n.name,t[32]=I);let L;t[33]===n.email?L=t[34]:(L=(0,O.jsx)(`span`,{className:`text-muted-foreground truncate text-xs`,children:n.email}),t[33]=n.email,t[34]=L);let R;t[35]!==I||t[36]!==L?(R=(0,O.jsxs)(`div`,{className:`grid flex-1 text-left text-sm leading-tight`,children:[I,L]}),t[35]=I,t[36]=L,t[37]=R):R=t[37];let z;t[38]!==F||t[39]!==R?(z=(0,O.jsx)(_,{className:`p-0 font-normal`,children:(0,O.jsxs)(`div`,{className:`flex items-center gap-2 px-1 py-1.5 text-left text-sm`,children:[F,R]})}),t[38]=F,t[39]=R,t[40]=z):z=t[40];let B;t[41]===Symbol.for(`react.memo_cache_sentinel`)?(B=(0,O.jsx)(y,{}),t[41]=B):B=t[41];let V;t[42]===Symbol.for(`react.memo_cache_sentinel`)?(V=(0,O.jsxs)(v,{children:[(0,O.jsx)(G,{}),`Account`]}),t[42]=V):V=t[42];let H,U;t[43]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,O.jsxs)(b,{children:[V,(0,O.jsxs)(v,{children:[(0,O.jsx)(W,{}),`Notifications`]})]}),U=(0,O.jsx)(y,{}),t[43]=H,t[44]=U):(H=t[43],U=t[44]);let K;t[45]!==a||t[46]!==o?(K=async()=>{await a.signOut(),o(`${i(`/login`)}?returnTo=${encodeURIComponent(window.location.pathname+window.location.search)}`)},t[45]=a,t[46]=o,t[47]=K):K=t[47];let X;t[48]===Symbol.for(`react.memo_cache_sentinel`)?(X=(0,O.jsx)(re,{}),t[48]=X):X=t[48];let Z;t[49]===K?Z=t[50]:(Z=(0,O.jsxs)(v,{onClick:K,children:[X,`Log out`]}),t[49]=K,t[50]=Z);let Q;t[51]!==A||t[52]!==z||t[53]!==Z?(Q=(0,O.jsxs)(ee,{className:`w-(--radix-dropdown-menu-trigger-width) min-w-56 rounded-lg`,side:A,align:`end`,sideOffset:4,children:[z,B,H,U,Z]}),t[51]=A,t[52]=z,t[53]=Z,t[54]=Q):Q=t[54];let $;return t[55]!==k||t[56]!==Q?($=(0,O.jsx)(l,{children:(0,O.jsx)(s,{children:(0,O.jsxs)(S,{children:[k,Q]})})}),t[55]=k,t[56]=Q,t[57]=$):$=t[57],$}export{X as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./jsx-runtime-SCjaiuzT.js";import"./react-dom-Bhi-1tDD.js";import"./chunk-UIGDSWPH-DeiamgQc.js";import"./chunk-JG3XND5A-BetDbdG0.js";import"./shim-TRiHENXu.js";import"./compiler-runtime-Co9svCia.js";import"./dist-BWnI-4xl.js";import"./sidebar-CqrdL512.js";import"./x-4CC8aqOW.js";import"./utils-InBzhUf_.js";import"./dist-CBNvQRbZ.js";import"./button-DtZhoqpk.js";import"./dist-B6TkSbxV.js";import"./dist-BNO39Rfs.js";import"./dist-DhfcebhF.js";import"./dist-DKtC0FSi.js";import"./dist-VqaKdvZu.js";import"./es2015-BJguufLZ.js";import"./dist-Yn6lj8QC.js";import"./nav-user-BqPUBe9x.js";import"./dist-CYRPrwOb.js";import"./dropdown-menu-CbzduuDa.js";import"./separator-Cla0V581.js";import"./tooltip-BeDraHQn.js";import"./auth-provider-rkzBVtYX.js";import"./config-ChcA_Pkv.js";import"./input-V1lM1yoz.js";import"./createReactComponent-C2TSpqC7.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,t}from"./jsx-runtime-SCjaiuzT.js";import"./react-dom-Bhi-1tDD.js";import{t as n}from"./compiler-runtime-Co9svCia.js";import"./dist-BWnI-4xl.js";import"./sidebar-CqrdL512.js";import"./x-4CC8aqOW.js";import"./utils-InBzhUf_.js";import"./dist-CBNvQRbZ.js";import"./button-DtZhoqpk.js";import"./dist-B6TkSbxV.js";import"./dist-BNO39Rfs.js";import"./dist-DhfcebhF.js";import"./dist-DKtC0FSi.js";import"./dist-VqaKdvZu.js";import"./es2015-BJguufLZ.js";import"./dist-Yn6lj8QC.js";import"./dist-CYRPrwOb.js";import"./dropdown-menu-CbzduuDa.js";import"./separator-Cla0V581.js";import"./tooltip-BeDraHQn.js";import"./input-V1lM1yoz.js";n(),e(),t();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e,t}from"./jsx-runtime-SCjaiuzT.js";import{t as n}from"./compiler-runtime-Co9svCia.js";import{o as r}from"./dist-BWnI-4xl.js";import{t as i}from"./check-D5D2EGI4.js";import{t as a}from"./eye-Ctrln70x.js";import{t as o}from"./x-4CC8aqOW.js";import{t as s}from"./input-V1lM1yoz.js";var c=r(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),l=n(),u=e(),d=t(),f={show:`Show password`,hide:`Hide password`,strength:`Password strength`,requirements:`Requirements`,met:`met`,notMet:`not met`,atLeast8Characters:`At least 8 characters`,atLeast1Number:`At least 1 number`,atLeast1LowercaseLetter:`At least 1 lowercase letter`,atLeast1UppercaseLetter:`At least 1 uppercase letter`,atLeast1SpecialCharacter:`At least 1 special character`};function p(e){let t=(0,l.c)(41),n,r,p,_;t[0]===e?(n=t[1],r=t[2],p=t[3],_=t[4]):({onChange:p,showStrength:_,labels:r,...n}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=p,t[4]=_);let v=_===void 0?!1:_,y={...f,...r},b,x;if(t[5]!==n){let{type:e,value:r,...i}=n;x=r,b=i,t[5]=n,t[6]=b,t[7]=x}else b=t[6],x=t[7];let[S,C]=(0,u.useState)(!1),w;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(w=()=>C(g),t[8]=w):w=t[8];let T=w,[E,D]=(0,u.useState)(x||``),O=(e=>[{regex:/.{8,}/,text:y.atLeast8Characters},{regex:/[0-9]/,text:y.atLeast1Number},{regex:/[a-z]/,text:y.atLeast1LowercaseLetter},{regex:/[A-Z]/,text:y.atLeast1UppercaseLetter},{regex:/[^A-Za-z0-9]/,text:y.atLeast1SpecialCharacter}].map(t=>({met:t.regex.test(e),text:t.text})))(E),k;t[9]===O?k=t[10]:(k=O.filter(h),t[9]=O,t[10]=k);let A=k.length,j=m,M;t[11]!==D||t[12]!==x?(M=()=>{D(x||``)},t[11]=D,t[12]=x,t[13]=M):M=t[13];let N;t[14]===x?N=t[15]:(N=[x],t[14]=x,t[15]=N),(0,u.useEffect)(M,N);let P=`${b.id}-description`,F;t[16]!==p||t[17]!==D?(F=e=>{p?.(e),D(e.target.value)},t[16]=p,t[17]=D,t[18]=F):F=t[18];let I=S?`text`:`password`,L;t[19]===v?L=t[20]:(L=v&&{"data-1p-ignore":`true`,"data-lpignore":`true`,"data-bwignore":`true`,autoComplete:`new-password`},t[19]=v,t[20]=L);let R;t[21]!==E||t[22]!==b||t[23]!==P||t[24]!==F||t[25]!==I||t[26]!==L?(R=(0,d.jsx)(s,{"aria-describedby":P,value:E,onChange:F,type:I,...b,...L}),t[21]=E,t[22]=b,t[23]=P,t[24]=F,t[25]=I,t[26]=L,t[27]=R):R=t[27];let z=S?y.hide:y.show,B;t[28]===S?B=t[29]:(B=S?(0,d.jsx)(c,{size:16,"aria-hidden":`true`}):(0,d.jsx)(a,{size:16,"aria-hidden":`true`}),t[28]=S,t[29]=B);let V;t[30]!==S||t[31]!==z||t[32]!==B||t[33]!==T?(V=(0,d.jsx)(`button`,{className:`text-muted-foreground/80 hover:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 absolute inset-y-0 end-0 flex h-full w-9 items-center justify-center rounded-e-md transition-[color,box-shadow] outline-none focus:z-10 focus-visible:ring-[3px] disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50`,type:`button`,onClick:T,"aria-label":z,"aria-pressed":S,"aria-controls":`password`,children:B}),t[30]=S,t[31]=z,t[32]=B,t[33]=T,t[34]=V):V=t[34];let H;t[35]!==R||t[36]!==V?(H=(0,d.jsx)(`div`,{className:`*:not-first:mt-2`,children:(0,d.jsxs)(`div`,{className:`relative`,children:[R,V]})}),t[35]=R,t[36]=V,t[37]=H):H=t[37];let U=v&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(`div`,{className:`bg-border mt-3 mb-4 h-1 w-full overflow-hidden rounded-full`,role:`progressbar`,"aria-valuenow":A,"aria-valuemin":0,"aria-valuemax":4,"aria-label":y.strength,children:(0,d.jsx)(`div`,{className:`h-full ${j(A)} transition-all duration-500 ease-out`,style:{width:`${A/5*100}%`}})}),(0,d.jsxs)(`p`,{id:`${b.id}-description`,className:`text-foreground mb-2 text-sm font-medium`,children:[y.requirements,`:`]}),(0,d.jsx)(`ul`,{className:`space-y-1.5`,"aria-label":y.requirements,children:O.map((e,t)=>(0,d.jsxs)(`li`,{className:`flex items-center gap-2`,children:[e.met?(0,d.jsx)(i,{size:16,className:`text-emerald-500`,"aria-hidden":`true`}):(0,d.jsx)(o,{size:16,className:`text-muted-foreground/80`,"aria-hidden":`true`}),(0,d.jsxs)(`span`,{className:`text-xs ${e.met?`text-emerald-600`:`text-muted-foreground`}`,children:[e.text,(0,d.jsx)(`span`,{className:`sr-only`,children:e.met?` - ${y.met}`:` - ${y.notMet}`})]})]},t.toString()))})]}),W;return t[38]!==H||t[39]!==U?(W=(0,d.jsxs)(`div`,{children:[H,U]}),t[38]=H,t[39]=U,t[40]=W):W=t[40],W}function m(e){return e===0?`bg-border`:e<=1?`bg-red-500`:e<=2?`bg-orange-500`:e<=3?`bg-amber-500`:e<=4?`bg-yellow-500`:`bg-emerald-500`}function h(e){return e.met}function g(e){return!e}export{p as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./chunk-vBKQ29Cd.js";import{n as t}from"./jsx-runtime-SCjaiuzT.js";var n=e((e=>{var n=t();function r(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function i(){}var a={d:{f:i,r:function(){throw Error(r(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for(`react.portal`);function s(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var c=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(r(299));return s(e,t,null,n)},e.flushSync=function(e){var t=c.T,n=a.p;try{if(c.T=null,a.p=2,e)return e()}finally{c.T=t,a.p=n,a.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,a.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&a.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin),i=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?a.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):n===`script`&&a.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=l(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??a.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin);a.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=l(t.as,t.crossOrigin);a.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else a.d.m(e)},e.requestFormReset=function(e){a.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return c.H.useFormState(e,t,n)},e.useFormStatus=function(){return c.H.useHostTransitionStatus()},e.version=`19.2.0`})),r=e(((e,t)=>{function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(e){console.error(e)}}r(),t.exports=n()}));export{r as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as e}from"./chunk-vBKQ29Cd.js";import{n as t,t as n}from"./jsx-runtime-SCjaiuzT.js";import{t as r}from"./compiler-runtime-Co9svCia.js";var i=Object.create(null);i.open=`0`,i.close=`1`,i.ping=`2`,i.pong=`3`,i.message=`4`,i.upgrade=`5`,i.noop=`6`;var a=Object.create(null);Object.keys(i).forEach(e=>{a[i[e]]=e});var o={type:`error`,data:`parser error`},s=typeof Blob==`function`||typeof Blob<`u`&&Object.prototype.toString.call(Blob)===`[object BlobConstructor]`,c=typeof ArrayBuffer==`function`,l=e=>typeof ArrayBuffer.isView==`function`?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,u=({type:e,data:t},n,r)=>s&&t instanceof Blob?n?r(t):d(t,r):c&&(t instanceof ArrayBuffer||l(t))?n?r(t):d(new Blob([t]),r):r(i[e]+(t||``)),d=(e,t)=>{let n=new FileReader;return n.onload=function(){let e=n.result.split(`,`)[1];t(`b`+(e||``))},n.readAsDataURL(e)};function f(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}var p;function ee(e,t){if(s&&e.data instanceof Blob)return e.data.arrayBuffer().then(f).then(t);if(c&&(e.data instanceof ArrayBuffer||l(e.data)))return t(f(e.data));u(e,!1,e=>{p||=new TextEncoder,t(p.encode(e))})}var te=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`,m=typeof Uint8Array>`u`?[]:new Uint8Array(256);for(let e=0;e<64;e++)m[te.charCodeAt(e)]=e;const ne=e=>{let t=e.length*.75,n=e.length,r,i=0,a,o,s,c;e[e.length-1]===`=`&&(t--,e[e.length-2]===`=`&&t--);let l=new ArrayBuffer(t),u=new Uint8Array(l);for(r=0;r<n;r+=4)a=m[e.charCodeAt(r)],o=m[e.charCodeAt(r+1)],s=m[e.charCodeAt(r+2)],c=m[e.charCodeAt(r+3)],u[i++]=a<<2|o>>4,u[i++]=(o&15)<<4|s>>2,u[i++]=(s&3)<<6|c&63;return l};var re=typeof ArrayBuffer==`function`;const h=(e,t)=>{if(typeof e!=`string`)return{type:`message`,data:g(e,t)};let n=e.charAt(0);return n===`b`?{type:`message`,data:ie(e.substring(1),t)}:a[n]?e.length>1?{type:a[n],data:e.substring(1)}:{type:a[n]}:o};var ie=(e,t)=>re?g(ne(e),t):{base64:!0,data:e},g=(e,t)=>{switch(t){case`blob`:return e instanceof Blob?e:new Blob([e]);case`arraybuffer`:default:return e instanceof ArrayBuffer?e:e.buffer}},_=``,ae=(e,t)=>{let n=e.length,r=Array(n),i=0;e.forEach((e,a)=>{u(e,!1,e=>{r[a]=e,++i===n&&t(r.join(_))})})},oe=(e,t)=>{let n=e.split(_),r=[];for(let e=0;e<n.length;e++){let i=h(n[e],t);if(r.push(i),i.type===`error`)break}return r};function se(){return new TransformStream({transform(e,t){ee(e,n=>{let r=n.length,i;if(r<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,r);else if(r<65536){i=new Uint8Array(3);let e=new DataView(i.buffer);e.setUint8(0,126),e.setUint16(1,r)}else{i=new Uint8Array(9);let e=new DataView(i.buffer);e.setUint8(0,127),e.setBigUint64(1,BigInt(r))}e.data&&typeof e.data!=`string`&&(i[0]|=128),t.enqueue(i),t.enqueue(n)})}})}var v;function y(e){return e.reduce((e,t)=>e+t.length,0)}function b(e,t){if(e[0].length===t)return e.shift();let n=new Uint8Array(t),r=0;for(let i=0;i<t;i++)n[i]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function ce(e,t){v||=new TextDecoder;let n=[],r=0,i=-1,a=!1;return new TransformStream({transform(s,c){for(n.push(s);;){if(r===0){if(y(n)<1)break;let e=b(n,1);a=(e[0]&128)==128,i=e[0]&127,r=i<126?3:i===126?1:2}else if(r===1){if(y(n)<2)break;let e=b(n,2);i=new DataView(e.buffer,e.byteOffset,e.length).getUint16(0),r=3}else if(r===2){if(y(n)<8)break;let e=b(n,8),t=new DataView(e.buffer,e.byteOffset,e.length),a=t.getUint32(0);if(a>2**21-1){c.enqueue(o);break}i=a*2**32+t.getUint32(4),r=3}else{if(y(n)<i)break;let e=b(n,i);c.enqueue(h(a?e:v.decode(e),t)),r=0}if(i===0||i>e){c.enqueue(o);break}}}})}function x(e){if(e)return le(e)}function le(e){for(var t in x.prototype)e[t]=x.prototype[t];return e}x.prototype.on=x.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks[`$`+e]=this._callbacks[`$`+e]||[]).push(t),this},x.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},x.prototype.off=x.prototype.removeListener=x.prototype.removeAllListeners=x.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks[`$`+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks[`$`+e],this;for(var r,i=0;i<n.length;i++)if(r=n[i],r===t||r.fn===t){n.splice(i,1);break}return n.length===0&&delete this._callbacks[`$`+e],this},x.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=Array(arguments.length-1),n=this._callbacks[`$`+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this},x.prototype.emitReserved=x.prototype.emit,x.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks[`$`+e]||[]},x.prototype.hasListeners=function(e){return!!this.listeners(e).length};const S=(()=>typeof Promise==`function`&&typeof Promise.resolve==`function`?e=>Promise.resolve().then(e):(e,t)=>t(e,0))(),C=(()=>typeof self<`u`?self:typeof window<`u`?window:Function(`return this`)())();function w(e,...t){return t.reduce((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t),{})}var ue=C.setTimeout,de=C.clearTimeout;function T(e,t){t.useNativeTimers?(e.setTimeoutFn=ue.bind(C),e.clearTimeoutFn=de.bind(C)):(e.setTimeoutFn=C.setTimeout.bind(C),e.clearTimeoutFn=C.clearTimeout.bind(C))}var fe=1.33;function pe(e){return typeof e==`string`?me(e):Math.ceil((e.byteLength||e.size)*fe)}function me(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}function E(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function he(e){let t=``;for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+=`&`),t+=encodeURIComponent(n)+`=`+encodeURIComponent(e[n]));return t}function ge(e){let t={},n=e.split(`&`);for(let e=0,r=n.length;e<r;e++){let r=n[e].split(`=`);t[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return t}var _e=class extends Error{constructor(e,t,n){super(e),this.description=t,this.context=n,this.type=`TransportError`}},D=class extends x{constructor(e){super(),this.writable=!1,T(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,n){return super.emitReserved(`error`,new _e(e,t,n)),this}open(){return this.readyState=`opening`,this.doOpen(),this}close(){return(this.readyState===`opening`||this.readyState===`open`)&&(this.doClose(),this.onClose()),this}send(e){this.readyState===`open`&&this.write(e)}onOpen(){this.readyState=`open`,this.writable=!0,super.emitReserved(`open`)}onData(e){let t=h(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved(`packet`,e)}onClose(e){this.readyState=`closed`,super.emitReserved(`close`,e)}pause(e){}createUri(e,t={}){return e+`://`+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){let e=this.opts.hostname;return e.indexOf(`:`)===-1?e:`[`+e+`]`}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?`:`+this.opts.port:``}_query(e){let t=he(e);return t.length?`?`+t:``}},ve=class extends D{constructor(){super(...arguments),this._polling=!1}get name(){return`polling`}doOpen(){this._poll()}pause(e){this.readyState=`pausing`;let t=()=>{this.readyState=`paused`,e()};if(this._polling||!this.writable){let e=0;this._polling&&(e++,this.once(`pollComplete`,function(){--e||t()})),this.writable||(e++,this.once(`drain`,function(){--e||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved(`poll`)}onData(e){oe(e,this.socket.binaryType).forEach(e=>{if(this.readyState===`opening`&&e.type===`open`&&this.onOpen(),e.type===`close`)return this.onClose({description:`transport closed by the server`}),!1;this.onPacket(e)}),this.readyState!==`closed`&&(this._polling=!1,this.emitReserved(`pollComplete`),this.readyState===`open`&&this._poll())}doClose(){let e=()=>{this.write([{type:`close`}])};this.readyState===`open`?e():this.once(`open`,e)}write(e){this.writable=!1,ae(e,e=>{this.doWrite(e,()=>{this.writable=!0,this.emitReserved(`drain`)})})}uri(){let e=this.opts.secure?`https`:`http`,t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=E()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.createUri(e,t)}},O=!1;try{O=typeof XMLHttpRequest<`u`&&`withCredentials`in new XMLHttpRequest}catch{}const ye=O;function be(){}var xe=class extends ve{constructor(e){if(super(e),typeof location<`u`){let t=location.protocol===`https:`,n=location.port;n||=t?`443`:`80`,this.xd=typeof location<`u`&&e.hostname!==location.hostname||n!==e.port}}doWrite(e,t){let n=this.request({method:`POST`,data:e});n.on(`success`,t),n.on(`error`,(e,t)=>{this.onError(`xhr post error`,e,t)})}doPoll(){let e=this.request();e.on(`data`,this.onData.bind(this)),e.on(`error`,(e,t)=>{this.onError(`xhr poll error`,e,t)}),this.pollXhr=e}},k=class e extends x{constructor(e,t,n){super(),this.createRequest=e,T(this,n),this._opts=n,this._method=n.method||`GET`,this._uri=t,this._data=n.data===void 0?null:n.data,this._create()}_create(){var t;let n=w(this._opts,`agent`,`pfx`,`key`,`passphrase`,`cert`,`ca`,`ciphers`,`rejectUnauthorized`,`autoUnref`);n.xdomain=!!this._opts.xd;let r=this._xhr=this.createRequest(n);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders)for(let e in r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0),this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(e)&&r.setRequestHeader(e,this._opts.extraHeaders[e])}catch{}if(this._method===`POST`)try{r.setRequestHeader(`Content-type`,`text/plain;charset=UTF-8`)}catch{}try{r.setRequestHeader(`Accept`,`*/*`)}catch{}(t=this._opts.cookieJar)==null||t.addCookies(r),`withCredentials`in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var e;r.readyState===3&&((e=this._opts.cookieJar)==null||e.parseCookies(r.getResponseHeader(`set-cookie`))),r.readyState===4&&(r.status===200||r.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof r.status==`number`?r.status:0)},0))},r.send(this._data)}catch(e){this.setTimeoutFn(()=>{this._onError(e)},0);return}typeof document<`u`&&(this._index=e.requestsCount++,e.requests[this._index]=this)}_onError(e){this.emitReserved(`error`,e,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(this._xhr===void 0||this._xhr===null)){if(this._xhr.onreadystatechange=be,t)try{this._xhr.abort()}catch{}typeof document<`u`&&delete e.requests[this._index],this._xhr=null}}_onLoad(){let e=this._xhr.responseText;e!==null&&(this.emitReserved(`data`,e),this.emitReserved(`success`),this._cleanup())}abort(){this._cleanup()}};if(k.requestsCount=0,k.requests={},typeof document<`u`){if(typeof attachEvent==`function`)attachEvent(`onunload`,A);else if(typeof addEventListener==`function`){let e=`onpagehide`in C?`pagehide`:`unload`;addEventListener(e,A,!1)}}function A(){for(let e in k.requests)k.requests.hasOwnProperty(e)&&k.requests[e].abort()}var Se=function(){let e=j({xdomain:!1});return e&&e.responseType!==null}(),Ce=class extends xe{constructor(e){super(e);let t=e&&e.forceBase64;this.supportsBinary=Se&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new k(j,this.uri(),e)}};function j(e){let t=e.xdomain;try{if(typeof XMLHttpRequest<`u`&&(!t||ye))return new XMLHttpRequest}catch{}if(!t)try{return new C[[`Active`,`Object`].join(`X`)](`Microsoft.XMLHTTP`)}catch{}}var M=typeof navigator<`u`&&typeof navigator.product==`string`&&navigator.product.toLowerCase()===`reactnative`,we=class extends D{get name(){return`websocket`}doOpen(){let e=this.uri(),t=this.opts.protocols,n=M?{}:w(this.opts,`agent`,`perMessageDeflate`,`pfx`,`key`,`passphrase`,`cert`,`ca`,`ciphers`,`rejectUnauthorized`,`localAddress`,`protocolVersion`,`origin`,`maxPayload`,`family`,`checkServerIdentity`);this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,n)}catch(e){return this.emitReserved(`error`,e)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:`websocket connection closed`,context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError(`websocket error`,e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let n=e[t],r=t===e.length-1;u(n,this.supportsBinary,e=>{try{this.doWrite(n,e)}catch{}r&&S(()=>{this.writable=!0,this.emitReserved(`drain`)},this.setTimeoutFn)})}}doClose(){this.ws!==void 0&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){let e=this.opts.secure?`wss`:`ws`,t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=E()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}},N=C.WebSocket||C.MozWebSocket;const Te={websocket:class extends we{createSocket(e,t,n){return M?new N(e,t,n):t?new N(e,t):new N(e)}doWrite(e,t){this.ws.send(t)}},webtransport:class extends D{get name(){return`webtransport`}doOpen(){try{this._transport=new WebTransport(this.createUri(`https`),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved(`error`,e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError(`webtransport error`,e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{let t=ce(2**53-1,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),r=se();r.readable.pipeTo(e.writable),this._writer=r.writable.getWriter();let i=()=>{n.read().then(({done:e,value:t})=>{e||(this.onPacket(t),i())}).catch(e=>{})};i();let a={type:`open`};this.query.sid&&(a.data=`{"sid":"${this.query.sid}"}`),this._writer.write(a).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let n=e[t],r=t===e.length-1;this._writer.write(n).then(()=>{r&&S(()=>{this.writable=!0,this.emitReserved(`drain`)},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)==null||e.close()}},polling:Ce};var Ee=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,De=[`source`,`protocol`,`authority`,`userInfo`,`user`,`password`,`host`,`port`,`relative`,`path`,`directory`,`file`,`query`,`anchor`];function P(e){if(e.length>8e3)throw`URI too long`;let t=e,n=e.indexOf(`[`),r=e.indexOf(`]`);n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,`;`)+e.substring(r,e.length));let i=Ee.exec(e||``),a={},o=14;for(;o--;)a[De[o]]=i[o]||``;return n!=-1&&r!=-1&&(a.source=t,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,`:`),a.authority=a.authority.replace(`[`,``).replace(`]`,``).replace(/;/g,`:`),a.ipv6uri=!0),a.pathNames=Oe(a,a.path),a.queryKey=ke(a,a.query),a}function Oe(e,t){let n=t.replace(/\/{2,9}/g,`/`).split(`/`);return(t.slice(0,1)==`/`||t.length===0)&&n.splice(0,1),t.slice(-1)==`/`&&n.splice(n.length-1,1),n}function ke(e,t){let n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(e,t,r){t&&(n[t]=r)}),n}var F=typeof addEventListener==`function`&&typeof removeEventListener==`function`,I=[];F&&addEventListener(`offline`,()=>{I.forEach(e=>e())},!1);var L=class e extends x{constructor(e,t){if(super(),this.binaryType=`arraybuffer`,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e==`object`&&(t=e,e=null),e){let n=P(e);t.hostname=n.host,t.secure=n.protocol===`https`||n.protocol===`wss`,t.port=n.port,n.query&&(t.query=n.query)}else t.host&&(t.hostname=P(t.host).host);T(this,t),this.secure=t.secure==null?typeof location<`u`&&location.protocol===`https:`:t.secure,t.hostname&&!t.port&&(t.port=this.secure?`443`:`80`),this.hostname=t.hostname||(typeof location<`u`?location.hostname:`localhost`),this.port=t.port||(typeof location<`u`&&location.port?location.port:this.secure?`443`:`80`),this.transports=[],this._transportsByName={},t.transports.forEach(e=>{let t=e.prototype.name;this.transports.push(t),this._transportsByName[t]=e}),this.opts=Object.assign({path:`/engine.io`,agent:!1,withCredentials:!1,upgrade:!0,timestampParam:`t`,rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,``)+(this.opts.addTrailingSlash?`/`:``),typeof this.opts.query==`string`&&(this.opts.query=ge(this.opts.query)),F&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener(`beforeunload`,this._beforeunloadEventListener,!1)),this.hostname!==`localhost`&&(this._offlineEventListener=()=>{this._onClose(`transport close`,{description:`network connection lost`})},I.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){let t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);let n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](n)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved(`error`,`No transports available`)},0);return}let t=this.opts.rememberUpgrade&&e.priorWebsocketSuccess&&this.transports.indexOf(`websocket`)!==-1?`websocket`:this.transports[0];this.readyState=`opening`;let n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on(`drain`,this._onDrain.bind(this)).on(`packet`,this._onPacket.bind(this)).on(`error`,this._onError.bind(this)).on(`close`,e=>this._onClose(`transport close`,e))}onOpen(){this.readyState=`open`,e.priorWebsocketSuccess=this.transport.name===`websocket`,this.emitReserved(`open`),this.flush()}_onPacket(e){if(this.readyState===`opening`||this.readyState===`open`||this.readyState===`closing`)switch(this.emitReserved(`packet`,e),this.emitReserved(`heartbeat`),e.type){case`open`:this.onHandshake(JSON.parse(e.data));break;case`ping`:this._sendPacket(`pong`),this.emitReserved(`ping`),this.emitReserved(`pong`),this._resetPingTimeout();break;case`error`:let t=Error(`server error`);t.code=e.data,this._onError(t);break;case`message`:this.emitReserved(`data`,e.data),this.emitReserved(`message`,e.data);break}}onHandshake(e){this.emitReserved(`handshake`,e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!==`closed`&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);let e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose(`ping timeout`)},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved(`drain`):this.flush()}flush(){if(this.readyState!==`closed`&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved(`flush`)}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name===`polling`&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let t=0;t<this.writeBuffer.length;t++){let n=this.writeBuffer[t].data;if(n&&(e+=pe(n)),t>0&&e>this._maxPayload)return this.writeBuffer.slice(0,t);e+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;let e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,S(()=>{this._onClose(`ping timeout`)},this.setTimeoutFn)),e}write(e,t,n){return this._sendPacket(`message`,e,t,n),this}send(e,t,n){return this._sendPacket(`message`,e,t,n),this}_sendPacket(e,t,n,r){if(typeof t==`function`&&(r=t,t=void 0),typeof n==`function`&&(r=n,n=null),this.readyState===`closing`||this.readyState===`closed`)return;n||={},n.compress=!1!==n.compress;let i={type:e,data:t,options:n};this.emitReserved(`packetCreate`,i),this.writeBuffer.push(i),r&&this.once(`flush`,r),this.flush()}close(){let e=()=>{this._onClose(`forced close`),this.transport.close()},t=()=>{this.off(`upgrade`,t),this.off(`upgradeError`,t),e()},n=()=>{this.once(`upgrade`,t),this.once(`upgradeError`,t)};return(this.readyState===`opening`||this.readyState===`open`)&&(this.readyState=`closing`,this.writeBuffer.length?this.once(`drain`,()=>{this.upgrading?n():e()}):this.upgrading?n():e()),this}_onError(t){if(e.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState===`opening`)return this.transports.shift(),this._open();this.emitReserved(`error`,t),this._onClose(`transport error`,t)}_onClose(e,t){if(this.readyState===`opening`||this.readyState===`open`||this.readyState===`closing`){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners(`close`),this.transport.close(),this.transport.removeAllListeners(),F&&(this._beforeunloadEventListener&&removeEventListener(`beforeunload`,this._beforeunloadEventListener,!1),this._offlineEventListener)){let e=I.indexOf(this._offlineEventListener);e!==-1&&I.splice(e,1)}this.readyState=`closed`,this.id=null,this.emitReserved(`close`,e,t),this.writeBuffer=[],this._prevBufferLen=0}}};L.protocol=4;var Ae=class extends L{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState===`open`&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),n=!1;L.priorWebsocketSuccess=!1;let r=()=>{n||(t.send([{type:`ping`,data:`probe`}]),t.once(`packet`,e=>{if(!n)if(e.type===`pong`&&e.data===`probe`){if(this.upgrading=!0,this.emitReserved(`upgrading`,t),!t)return;L.priorWebsocketSuccess=t.name===`websocket`,this.transport.pause(()=>{n||this.readyState!==`closed`&&(l(),this.setTransport(t),t.send([{type:`upgrade`}]),this.emitReserved(`upgrade`,t),t=null,this.upgrading=!1,this.flush())})}else{let e=Error(`probe error`);e.transport=t.name,this.emitReserved(`upgradeError`,e)}}))};function i(){n||(n=!0,l(),t.close(),t=null)}let a=e=>{let n=Error(`probe error: `+e);n.transport=t.name,i(),this.emitReserved(`upgradeError`,n)};function o(){a(`transport closed`)}function s(){a(`socket closed`)}function c(e){t&&e.name!==t.name&&i()}let l=()=>{t.removeListener(`open`,r),t.removeListener(`error`,a),t.removeListener(`close`,o),this.off(`close`,s),this.off(`upgrading`,c)};t.once(`open`,r),t.once(`error`,a),t.once(`close`,o),this.once(`close`,s),this.once(`upgrading`,c),this._upgrades.indexOf(`webtransport`)!==-1&&e!==`webtransport`?this.setTimeoutFn(()=>{n||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){let t=[];for(let n=0;n<e.length;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}},R=class extends Ae{constructor(e,t={}){let n=typeof e==`object`?e:t;(!n.transports||n.transports&&typeof n.transports[0]==`string`)&&(n.transports=(n.transports||[`polling`,`websocket`,`webtransport`]).map(e=>Te[e]).filter(e=>!!e)),super(e,n)}};R.protocol;function je(e,t=``,n){let r=e;n||=typeof location<`u`&&location,e??=n.protocol+`//`+n.host,typeof e==`string`&&(e.charAt(0)===`/`&&(e=e.charAt(1)===`/`?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=n===void 0?`https://`+e:n.protocol+`//`+e),r=P(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port=`80`:/^(http|ws)s$/.test(r.protocol)&&(r.port=`443`)),r.path=r.path||`/`;let i=r.host.indexOf(`:`)===-1?r.host:`[`+r.host+`]`;return r.id=r.protocol+`://`+i+`:`+r.port+t,r.href=r.protocol+`://`+i+(n&&n.port===r.port?``:`:`+r.port),r}var Me=typeof ArrayBuffer==`function`,Ne=e=>typeof ArrayBuffer.isView==`function`?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,z=Object.prototype.toString,Pe=typeof Blob==`function`||typeof Blob<`u`&&z.call(Blob)===`[object BlobConstructor]`,Fe=typeof File==`function`||typeof File<`u`&&z.call(File)===`[object FileConstructor]`;function B(e){return Me&&(e instanceof ArrayBuffer||Ne(e))||Pe&&e instanceof Blob||Fe&&e instanceof File}function V(e,t){if(!e||typeof e!=`object`)return!1;if(Array.isArray(e)){for(let t=0,n=e.length;t<n;t++)if(V(e[t]))return!0;return!1}if(B(e))return!0;if(e.toJSON&&typeof e.toJSON==`function`&&arguments.length===1)return V(e.toJSON(),!0);for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&V(e[t]))return!0;return!1}function Ie(e){let t=[],n=e.data,r=e;return r.data=H(n,t),r.attachments=t.length,{packet:r,buffers:t}}function H(e,t){if(!e)return e;if(B(e)){let n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){let n=Array(e.length);for(let r=0;r<e.length;r++)n[r]=H(e[r],t);return n}else if(typeof e==`object`&&!(e instanceof Date)){let n={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=H(e[r],t));return n}return e}function Le(e,t){return e.data=U(e.data,t),delete e.attachments,e}function U(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num==`number`&&e.num>=0&&e.num<t.length)return t[e.num];throw Error(`illegal attachments`)}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=U(e[n],t);else if(typeof e==`object`)for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=U(e[n],t));return e}var Re=e({Decoder:()=>Ve,Encoder:()=>Be,PacketType:()=>W,protocol:()=>5}),ze=[`connect`,`connect_error`,`disconnect`,`disconnecting`,`newListener`,`removeListener`],W;(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`})(W||={});var Be=class{constructor(e){this.replacer=e}encode(e){return(e.type===W.EVENT||e.type===W.ACK)&&V(e)?this.encodeAsBinary({type:e.type===W.EVENT?W.BINARY_EVENT:W.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=``+e.type;return(e.type===W.BINARY_EVENT||e.type===W.BINARY_ACK)&&(t+=e.attachments+`-`),e.nsp&&e.nsp!==`/`&&(t+=e.nsp+`,`),e.id!=null&&(t+=e.id),e.data!=null&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){let t=Ie(e),n=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(n),r}};function G(e){return Object.prototype.toString.call(e)===`[object Object]`}var Ve=class e extends x{constructor(e){super(),this.reviver=e}add(e){let t;if(typeof e==`string`){if(this.reconstructor)throw Error(`got plaintext data when reconstructing a packet`);t=this.decodeString(e);let n=t.type===W.BINARY_EVENT;n||t.type===W.BINARY_ACK?(t.type=n?W.EVENT:W.ACK,this.reconstructor=new He(t),t.attachments===0&&super.emitReserved(`decoded`,t)):super.emitReserved(`decoded`,t)}else if(B(e)||e.base64)if(this.reconstructor)t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved(`decoded`,t));else throw Error(`got binary data when not reconstructing a packet`);else throw Error(`Unknown type: `+e)}decodeString(t){let n=0,r={type:Number(t.charAt(0))};if(W[r.type]===void 0)throw Error(`unknown packet type `+r.type);if(r.type===W.BINARY_EVENT||r.type===W.BINARY_ACK){let e=n+1;for(;t.charAt(++n)!==`-`&&n!=t.length;);let i=t.substring(e,n);if(i!=Number(i)||t.charAt(n)!==`-`)throw Error(`Illegal attachments`);r.attachments=Number(i)}if(t.charAt(n+1)===`/`){let e=n+1;for(;++n&&!(t.charAt(n)===`,`||n===t.length););r.nsp=t.substring(e,n)}else r.nsp=`/`;let i=t.charAt(n+1);if(i!==``&&Number(i)==i){let e=n+1;for(;++n;){let e=t.charAt(n);if(e==null||Number(e)!=e){--n;break}if(n===t.length)break}r.id=Number(t.substring(e,n+1))}if(t.charAt(++n)){let i=this.tryParse(t.substr(n));if(e.isPayloadValid(r.type,i))r.data=i;else throw Error(`invalid payload`)}return r}tryParse(e){try{return JSON.parse(e,this.reviver)}catch{return!1}}static isPayloadValid(e,t){switch(e){case W.CONNECT:return G(t);case W.DISCONNECT:return t===void 0;case W.CONNECT_ERROR:return typeof t==`string`||G(t);case W.EVENT:case W.BINARY_EVENT:return Array.isArray(t)&&(typeof t[0]==`number`||typeof t[0]==`string`&&ze.indexOf(t[0])===-1);case W.ACK:case W.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&=(this.reconstructor.finishedReconstruction(),null)}},He=class{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){let e=Le(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}};function K(e,t,n){return e.on(t,n),function(){e.off(t,n)}}var Ue=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),q=class extends x{constructor(e,t,n){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=e,this.nsp=t,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let e=this.io;this.subs=[K(e,`open`,this.onopen.bind(this)),K(e,`packet`,this.onpacket.bind(this)),K(e,`error`,this.onerror.bind(this)),K(e,`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(...e){return e.unshift(`message`),this.emit.apply(this,e),this}emit(e,...t){if(Ue.hasOwnProperty(e))throw Error(`"`+e.toString()+`" is a reserved event name`);if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;let n={type:W.EVENT,data:t};if(n.options={},n.options.compress=this.flags.compress!==!1,typeof t[t.length-1]==`function`){let e=this.ids++,r=t.pop();this._registerAckCallback(e,r),n.id=e}let r=this.io.engine?.transport?.writable,i=this.connected&&!this.io.engine?._hasPingExpired();return this.flags.volatile&&!r||(i?(this.notifyOutgoingListeners(n),this.packet(n)):this.sendBuffer.push(n)),this.flags={},this}_registerAckCallback(e,t){let n=this.flags.timeout??this._opts.ackTimeout;if(n===void 0){this.acks[e]=t;return}let r=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&this.sendBuffer.splice(t,1);t.call(this,Error(`operation has timed out`))},n),i=(...e)=>{this.io.clearTimeoutFn(r),t.apply(this,e)};i.withError=!0,this.acks[e]=i}emitWithAck(e,...t){return new Promise((n,r)=>{let i=(e,t)=>e?r(e):n(t);i.withError=!0,t.push(i),this.emit(e,...t)})}_addToQueue(e){let t;typeof e[e.length-1]==`function`&&(t=e.pop());let n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((e,...r)=>{if(n===this._queue[0])return e===null?(this._queue.shift(),t&&t(null,...r)):n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)),n.pending=!1,this._drainQueue()}),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;let t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth==`function`?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:W.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved(`connect_error`,e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved(`disconnect`,e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(t=>String(t.id)===e)){let t=this.acks[e];delete this.acks[e],t.withError&&t.call(this,Error(`socket has been disconnected`))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case W.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved(`connect_error`,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 W.EVENT:case W.BINARY_EVENT:this.onevent(e);break;case W.ACK:case W.BINARY_ACK:this.onack(e);break;case W.DISCONNECT:this.ondisconnect();break;case W.CONNECT_ERROR:this.destroy();let t=Error(e.data.message);t.data=e.data.data,this.emitReserved(`connect_error`,t);break}}onevent(e){let t=e.data||[];e.id!=null&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){let t=this._anyListeners.slice();for(let n of t)n.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]==`string`&&(this._lastOffset=e[e.length-1])}ack(e){let t=this,n=!1;return function(...r){n||(n=!0,t.packet({type:W.ACK,id:e,data:r}))}}onack(e){let t=this.acks[e.id];typeof t==`function`&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved(`connect`),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose(`io server disconnect`)}destroy(){this.subs&&=(this.subs.forEach(e=>e()),void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:W.DISCONNECT}),this.destroy(),this.connected&&this.onclose(`io client disconnect`),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){let t=this._anyListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){let t=this._anyOutgoingListeners;for(let n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){let t=this._anyOutgoingListeners.slice();for(let n of t)n.apply(this,e.data)}}};function J(e){e||={},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}J.prototype.duration=function(){var e=this.ms*this.factor**+ this.attempts++;if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0},J.prototype.reset=function(){this.attempts=0},J.prototype.setMin=function(e){this.ms=e},J.prototype.setMax=function(e){this.max=e},J.prototype.setJitter=function(e){this.jitter=e};var Y=class extends x{constructor(e,t){super(),this.nsps={},this.subs=[],e&&typeof e==`object`&&(t=e,e=void 0),t||={},t.path=t.path||`/socket.io`,this.opts=t,T(this,t),this.reconnection(t.reconnection!==!1),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(t.randomizationFactor??.5),this.backoff=new J({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(t.timeout==null?2e4:t.timeout),this._readyState=`closed`,this.uri=e;let n=t.parser||Re;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this._autoConnect=t.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(t=this.backoff)==null||t.setMin(e),this)}randomizationFactor(e){var t;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(t=this.backoff)==null||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(t=this.backoff)==null||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf(`open`))return this;this.engine=new R(this.uri,this.opts);let t=this.engine,n=this;this._readyState=`opening`,this.skipReconnect=!1;let r=K(t,`open`,function(){n.onopen(),e&&e()}),i=t=>{this.cleanup(),this._readyState=`closed`,this.emitReserved(`error`,t),e?e(t):this.maybeReconnectOnOpen()},a=K(t,`error`,i);if(!1!==this._timeout){let e=this._timeout,n=this.setTimeoutFn(()=>{r(),i(Error(`timeout`)),t.close()},e);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}return this.subs.push(r),this.subs.push(a),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState=`open`,this.emitReserved(`open`);let e=this.engine;this.subs.push(K(e,`ping`,this.onping.bind(this)),K(e,`data`,this.ondata.bind(this)),K(e,`error`,this.onerror.bind(this)),K(e,`close`,this.onclose.bind(this)),K(this.decoder,`decoded`,this.ondecoded.bind(this)))}onping(){this.emitReserved(`ping`)}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose(`parse error`,e)}}ondecoded(e){S(()=>{this.emitReserved(`packet`,e)},this.setTimeoutFn)}onerror(e){this.emitReserved(`error`,e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new q(this,e,t),this.nsps[e]=n),n}_destroy(e){let t=Object.keys(this.nsps);for(let e of t)if(this.nsps[e].active)return;this._close()}_packet(e){let t=this.encoder.encode(e);for(let n=0;n<t.length;n++)this.engine.write(t[n],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose(`forced close`)}disconnect(){return this._close()}onclose(e,t){var n;this.cleanup(),(n=this.engine)==null||n.close(),this.backoff.reset(),this._readyState=`closed`,this.emitReserved(`close`,e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved(`reconnect_failed`),this._reconnecting=!1;else{let t=this.backoff.duration();this._reconnecting=!0;let n=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved(`reconnect_attempt`,e.backoff.attempts),!e.skipReconnect&&e.open(t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved(`reconnect_error`,t)):e.onreconnect()}))},t);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){let e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved(`reconnect`,e)}},X={};function Z(e,t){typeof e==`object`&&(t=e,e=void 0),t||={};let n=je(e,t.path||`/socket.io`),r=n.source,i=n.id,a=n.path,o=X[i]&&a in X[i].nsps,s=t.forceNew||t[`force new connection`]||!1===t.multiplex||o,c;return s?c=new Y(r,t):(X[i]||(X[i]=new Y(r,t)),c=X[i]),n.query&&!t.query&&(t.query=n.queryKey),c.socket(n.path,t)}Object.assign(Z,{Manager:Y,Socket:q,io:Z,connect:Z});var We=r(),Q=t(),Ge=n(),$=(0,Q.createContext)(null);function Ke(e){let t=(0,We.c)(6),{children:n}=e,[r]=(0,Q.useState)(Ye),i,a;t[0]===r?(i=t[1],a=t[2]):(i=()=>(r.connect(),r.on(`connect`,()=>{console.log(`🔌 Socket.IO connected:`,r.id)}),r.on(`disconnect`,Je),r.on(`connect_error`,qe),()=>{r.disconnect()}),a=[r],t[0]=r,t[1]=i,t[2]=a),(0,Q.useEffect)(i,a);let o;return t[3]!==n||t[4]!==r?(o=(0,Ge.jsx)($.Provider,{value:r,children:n}),t[3]=n,t[4]=r,t[5]=o):o=t[5],o}function qe(e){console.error(`🔌 Socket.IO connection error:`,e.message)}function Je(e){console.log(`🔌 Socket.IO disconnected:`,e)}function Ye(){return Z({transports:[`websocket`]})}function Xe(){let e=(0,Q.useContext)($);if(e===null)throw Error(`useRealtime must be used within a RealtimeProvider`);return e}export{Xe as n,Ke as t};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{i as e,t}from"./chunk-vBKQ29Cd.js";import{n,t as r}from"./jsx-runtime-SCjaiuzT.js";import"./react-dom-Bhi-1tDD.js";import{A as i,D as a,F as o,M as s,P as c,S as l,a as u,d,i as f,k as p,s as m,u as h}from"./chunk-UIGDSWPH-DeiamgQc.js";import{t as g}from"./useTranslation-Bz7VuQ7j.js";import"./initReactI18next-CyHiepAw.js";import"./shim-TRiHENXu.js";import{t as _}from"./compiler-runtime-Co9svCia.js";import{a as v,c as y,l as b,n as x,r as S,s as C,t as w,u as T}from"./compare-Br3z3FUS-BXkA2ojG.js";import{o as E}from"./dist-BWnI-4xl.js";import"./x-4CC8aqOW.js";import"./utils-InBzhUf_.js";import"./dist-CBNvQRbZ.js";import{t as D}from"./button-DtZhoqpk.js";import"./dist-B6TkSbxV.js";import"./dist-DhfcebhF.js";import"./dist-VqaKdvZu.js";import"./es2015-BJguufLZ.js";import"./dist-Yn6lj8QC.js";import{n as O,t as k}from"./dialog-CQrpvURm.js";import{a as A,i as ee,n as te,o as ne,r as j,t as M}from"./empty-DQRarCKT.js";import{t as N}from"./auth-provider-rkzBVtYX.js";import"./config-ChcA_Pkv.js";import{t as P}from"./realtime-BmU1LPhx.js";import{t as F}from"./trpc-C1CjVipH.js";var I=e(t(((e,t)=>{(function(n,r){typeof define==`function`&&define.amd?define(r):typeof e==`object`?t.exports=r():n.NProgress=r()})(e,function(){var e={};e.version=`0.2.0`;var t=e.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>`};e.configure=function(e){var n,r;for(n in e)r=e[n],r!==void 0&&e.hasOwnProperty(n)&&(t[n]=r);return this},e.status=null,e.set=function(r){var s=e.isStarted();r=n(r,t.minimum,1),e.status=r===1?null:r;var c=e.render(!s),l=c.querySelector(t.barSelector),u=t.speed,d=t.easing;return c.offsetWidth,a(function(n){t.positionUsing===``&&(t.positionUsing=e.getPositioningCSS()),o(l,i(r,u,d)),r===1?(o(c,{transition:`none`,opacity:1}),c.offsetWidth,setTimeout(function(){o(c,{transition:`all `+u+`ms linear`,opacity:0}),setTimeout(function(){e.remove(),n()},u)},u)):setTimeout(n,u)}),this},e.isStarted=function(){return typeof e.status==`number`},e.start=function(){e.status||e.set(0);var n=function(){setTimeout(function(){e.status&&(e.trickle(),n())},t.trickleSpeed)};return t.trickle&&n(),this},e.done=function(t){return!t&&!e.status?this:e.inc(.3+.5*Math.random()).set(1)},e.inc=function(t){var r=e.status;return r?(typeof t!=`number`&&(t=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+t,0,.994),e.set(r)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},(function(){var t=0,n=0;e.promise=function(r){return!r||r.state()===`resolved`?this:(n===0&&e.start(),t++,n++,r.always(function(){n--,n===0?(t=0,e.done()):e.set((t-n)/t)}),this)}})(),e.render=function(n){if(e.isRendered())return document.getElementById(`nprogress`);c(document.documentElement,`nprogress-busy`);var i=document.createElement(`div`);i.id=`nprogress`,i.innerHTML=t.template;var a=i.querySelector(t.barSelector),s=n?`-100`:r(e.status||0),l=document.querySelector(t.parent),u;return o(a,{transition:`all 0 linear`,transform:`translate3d(`+s+`%,0,0)`}),t.showSpinner||(u=i.querySelector(t.spinnerSelector),u&&d(u)),l!=document.body&&c(l,`nprogress-custom-parent`),l.appendChild(i),i},e.remove=function(){l(document.documentElement,`nprogress-busy`),l(document.querySelector(t.parent),`nprogress-custom-parent`);var e=document.getElementById(`nprogress`);e&&d(e)},e.isRendered=function(){return!!document.getElementById(`nprogress`)},e.getPositioningCSS=function(){var e=document.body.style,t=`WebkitTransform`in e?`Webkit`:`MozTransform`in e?`Moz`:`msTransform`in e?`ms`:`OTransform`in e?`O`:``;return t+`Perspective`in e?`translate3d`:t+`Transform`in e?`translate`:`margin`};function n(e,t,n){return e<t?t:e>n?n:e}function r(e){return(-1+e)*100}function i(e,n,i){var a=t.positionUsing===`translate3d`?{transform:`translate3d(`+r(e)+`%,0,0)`}:t.positionUsing===`translate`?{transform:`translate(`+r(e)+`%,0)`}:{"margin-left":r(e)+`%`};return a.transition=`all `+n+`ms `+i,a}var a=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),e.length==1&&t()}}(),o=function(){var e=[`Webkit`,`O`,`Moz`,`ms`],t={};function n(e){return e.replace(/^-ms-/,`ms-`).replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})}function r(t){var n=document.body.style;if(t in n)return t;for(var r=e.length,i=t.charAt(0).toUpperCase()+t.slice(1),a;r--;)if(a=e[r]+i,a in n)return a;return t}function i(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=i(t),e.style[t]=n}return function(e,t){var n=arguments,r,i;if(n.length==2)for(r in t)i=t[r],i!==void 0&&t.hasOwnProperty(r)&&a(e,r,i);else a(e,n[1],n[2])}}();function s(e,t){return(typeof e==`string`?e:u(e)).indexOf(` `+t+` `)>=0}function c(e,t){var n=u(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function l(e,t){var n=u(e),r;s(e,t)&&(r=n.replace(` `+t+` `,` `),e.className=r.substring(1,r.length-1))}function u(e){return(` `+(e.className||``)+` `).replace(/\s+/gi,` `)}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e})}))(),1),L=_();function R(e,t,n){return r=>{if(!(t.length===0||t.some(t=>!w(r.getAll(t),e.getAll(t)))))return y("[nuqs `%s`] no change, returning previous",t.join(`,`),r),r;let i=z(e,t,n);return y(`[nuqs \`%s\`] subbed search params change
|
|
2
|
+
from %O
|
|
3
|
+
to %O`,t.join(`,`),r,i),i}}function z(e,t,n){if(t.length===0)return e;let r=n?new URLSearchParams(e):e;for(let n of e.keys())t.includes(n)||r.delete(n);return r}var B=0;function V(e=1){B=e}function H(){B=Math.max(0,B-1),!(B>0)&&U()}function U(){y(`[nuqs] Aborting queues`),S.abortAll(),v.abort().forEach(e=>S.queuedQuerySync.emit(e))}var W=`__nuqs__`;function G(e){if(e instanceof URL)return e.searchParams;if(e.startsWith(`?`))return new URLSearchParams(e);try{return new URL(e,location.origin).searchParams}catch{return new URLSearchParams(e)}}function K(e){return typeof history>`u`?!1:history.nuqs?.version&&history.nuqs.version!==`0.0.0-inject-version-here`?(console.error(b(409),history.nuqs.version,`0.0.0-inject-version-here`,e),!1):!history.nuqs?.adapters?.includes(e)}function re(e){history.nuqs=history.nuqs??{version:`0.0.0-inject-version-here`,adapters:[]},history.nuqs.adapters.push(e)}function q(e,t){if(!K(t))return;let n=typeof location==`object`?location.search:``;e.on(`update`,e=>{let t=e.toString();n=t.length?`?`+t:``}),window.addEventListener(`popstate`,()=>{n=location.search,U()}),y(`[nuqs %s] Patching history (%s adapter)`,`0.0.0-inject-version-here`,t);function r(t){H();try{if(new URL(t,location.origin).search===n)return}catch{}try{e.emit(`update`,G(t))}catch(e){console.error(e)}}let i=history.pushState,a=history.replaceState;history.pushState=function(e,t,n){i.call(history,e,``,n),n&&t!==`__nuqs__`&&r(n)},history.replaceState=function(e,t,n){a.call(history,e,``,n),n&&t!==`__nuqs__`&&r(n)},re(t)}var J=n();function Y({adapter:e,useNavigate:t,useSearchParams:n}){let r=x();function i(n){let i=t();return{searchParams:a(n),updateUrl:(0,J.useCallback)((t,n)=>{(0,J.startTransition)(()=>{r.emit(`update`,t)});let a=new URL(location.href);a.search=T(t),y(`[nuqs ${e}] Updating url: %s`,a);let o=n.history===`push`?history.pushState:history.replaceState;V(n.shallow?1:2),o.call(history,history.state,W,a),n.shallow===!1&&i({hash:a.hash,search:a.search},{replace:!0,preventScrollReset:!0,state:history.state?.usr}),n.scroll&&window.scrollTo(0,0)},[i]),autoResetQueueOnUpdate:!1}}function a(e=[]){let[t]=n(typeof location>`u`?new URLSearchParams:new URLSearchParams(location.search)),[i,a]=(0,J.useState)(()=>typeof location>`u`?z(t,e,!0):z(new URLSearchParams(location.search),e,!1));return(0,J.useEffect)(()=>{function t(){a(R(new URLSearchParams(location.search),e,!1))}function n(t){a(R(t,e,!0))}return r.on(`update`,n),window.addEventListener(`popstate`,t),()=>{r.off(`update`,n),window.removeEventListener(`popstate`,t)}},[e.join(`&`)]),i}return q(r,e),{NuqsAdapter:C(i),useOptimisticSearchParams:a}}var X=Y({adapter:`react-router-v7`,useNavigate:p,useSearchParams:c}),ie=X.NuqsAdapter;X.useOptimisticSearchParams;var ae=E(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),oe=E(`house`,[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`,key:`5wwlr5`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`,key:`r6nss1`}]]),se=E(`triangle-alert`,[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),Z=r();function Q(e){return typeof e==`object`&&!!e&&`type`in e&&e.type===`youch-error`&&`youchHtml`in e&&typeof e.youchHtml==`string`}function ce(e){let t=(0,L.c)(14),{children:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=[`translation`],t[0]=r):r=t[0];let{t:i}=g(r),a=s(),[o,c]=(0,J.useState)(!0),u=p(),d=l(a)&&a.status===404,f=l(a)&&a.status>=500,m=d?`404`:f?`500`:`Oops!`,h=d?`translation:errors.boundary.title.404`:f?`translation:errors.boundary.title.500`:`translation:errors.boundary.title.generic`,_=d?`translation:errors.boundary.description.404`:f?`translation:errors.boundary.description.500`:`translation:errors.boundary.description.generic`,v;t[1]!==o||t[2]!==a?(v=l(a)&&Q(a.data)&&(0,Z.jsx)(k,{open:o,onOpenChange:c,children:(0,Z.jsx)(O,{className:`max-w-[95vw] w-full sm:max-w-[85vw] lg:max-w-[1200px] h-[90vh] p-0 overflow-hidden`,children:(0,Z.jsx)(`iframe`,{srcDoc:a.data.youchHtml,title:`Error - Stack Trace`,className:`w-full h-full border-0`})})}),t[1]=o,t[2]=a,t[3]=v):v=t[3];let y;t[4]!==n||t[5]!==_||t[6]!==m||t[7]!==u||t[8]!==i||t[9]!==h?(y=n||(0,Z.jsxs)(M,{className:`max-w-2xl w-full border-0`,children:[(0,Z.jsxs)(ee,{children:[(0,Z.jsx)(A,{className:`bg-transparent`,variant:`icon`,children:(0,Z.jsx)(se,{})}),(0,Z.jsxs)(ne,{className:`flex items-center gap-2.5`,children:[m!==`Oops!`&&(0,Z.jsx)(`span`,{className:`text-3xl font-bold tracking-tighter`,children:m}),i(h)]}),(0,Z.jsx)(j,{children:i(_)})]}),(0,Z.jsxs)(te,{className:`flex flex-row justify-center`,children:[(0,Z.jsxs)(D,{className:`min-w-28`,onClick:()=>u(-1),variant:`outline`,children:[(0,Z.jsx)(ae,{}),i(`translation:errors.boundary.actions.goBack`)]}),(0,Z.jsxs)(D,{className:`min-w-28`,onClick:()=>u(-1),children:[(0,Z.jsx)(oe,{}),i(`translation:errors.boundary.actions.goHome`)]})]})]}),t[4]=n,t[5]=_,t[6]=m,t[7]=u,t[8]=i,t[9]=h,t[10]=y):y=t[10];let b;return t[11]!==v||t[12]!==y?(b=(0,Z.jsxs)(`main`,{className:`min-h-screen w-full dark:from-gray-900 dark:to-gray-800 flex items-center justify-center p-6`,children:[v,y]}),t[11]=v,t[12]=y,t[13]=b):b=t[13],b}var le=`/assets/root-D0CFuQYc.css`,$=_();const ue=()=>[{rel:`stylesheet`,href:le,precedence:`high`},{rel:`preconnect`,href:`https://fonts.googleapis.com`},{rel:`preconnect`,href:`https://fonts.gstatic.com`,crossOrigin:`anonymous`},{rel:`stylesheet`,href:`https://fonts.googleapis.com/css2?family=Geist+Sans:wght@100;200;300;400;500;600;700;800;900&display=swap`},{rel:`stylesheet`,href:`https://fonts.googleapis.com/css2?family=Geist+Mono:wght@100;200;300;400;500;600;700;800;900&display=swap`},{rel:`icon`,href:`/favicon.ico`,type:`image/x-icon`}];function de({loaderData:e}){return[{title:e?.env.APP_NAME||``},{name:`description`,content:e?.env.APP_DESC||``}]}function fe(e){let t=(0,$.c)(16),{children:n}=e,r=a(),i;t[0]===r?i=t[1]:(i=r||{env:{CF_TURNSTILE_SITE_KEY:`1x00000000000000000000AA`},features:{captcha:!1,apiKey:!0,lastLoginMethod:!0,organization:{teams:!0},sso:!0,twoFactor:!0},dir:`ltr`,lang:`en`},t[0]=r,t[1]=i);let{features:o,dir:s,lang:c}=i,l;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Z.jsxs)(`head`,{children:[(0,Z.jsx)(`meta`,{charSet:`utf-8`}),(0,Z.jsx)(`meta`,{name:`viewport`,content:`width=device-width, initial-scale=1`}),(0,Z.jsx)(u,{}),(0,Z.jsx)(f,{})]}),t[2]=l):l=t[2];let p;t[3]===n?p=t[4]:(p=(0,Z.jsx)(F,{children:(0,Z.jsx)(P,{children:n})}),t[3]=n,t[4]=p);let m;t[5]!==o||t[6]!==p?(m=(0,Z.jsx)(ie,{children:(0,Z.jsx)(N,{features:o,children:p})}),t[5]=o,t[6]=p,t[7]=m):m=t[7];let g,_;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,Z.jsx)(d,{}),_=(0,Z.jsx)(h,{}),t[8]=g,t[9]=_):(g=t[8],_=t[9]);let v;t[10]===m?v=t[11]:(v=(0,Z.jsxs)(`body`,{children:[m,g,_]}),t[10]=m,t[11]=v);let y;return t[12]!==s||t[13]!==c||t[14]!==v?(y=(0,Z.jsxs)(`html`,{dir:s,lang:c,children:[l,v]}),t[12]=s,t[13]=c,t[14]=v,t[15]=y):y=t[15],y}var pe=o(function(){let e=(0,$.c)(4),t=i(),n,r;e[0]===t.state?(n=e[1],r=e[2]):(n=()=>{t.state===`loading`?I.default.start():I.default.done()},r=[t.state],e[0]=t.state,e[1]=n,e[2]=r),(0,J.useEffect)(n,r);let a;return e[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(m,{}),e[3]=a):a=e[3],a});export{ce as ErrorBoundary,fe as Layout,pe as default,ue as links,de as meta};
|