@powerhousedao/connect 4.1.0-dev.105 → 4.1.0-dev.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/AddDriveModal-C2fZqOQI.js +1 -0
- package/dist/assets/ClearStorageModal-DjjEBXBS.js +1 -0
- package/dist/assets/CookiesPolicyModal-BrOPPvzy.js +1 -0
- package/dist/assets/CreateDocumentModal-C09c_nGK.js +1 -0
- package/dist/assets/DebugSettingsModal-PbDxwRkN.js +1 -0
- package/dist/assets/DeleteDriveModal-x5WgUnZq.js +1 -0
- package/dist/assets/DeleteItemModal-BBYKOKsF.js +1 -0
- package/dist/assets/DisclaimerModal-CteySYvG.js +1 -0
- package/dist/assets/DriveSettingsModal-B18X9rkK.js +1 -0
- package/dist/assets/ExportDocumentWithErrorsModal-B7IfIoUE.js +1 -0
- package/dist/assets/SettingsModal-BrdAtrxz.js +1 -0
- package/dist/assets/UpgradeDriveModal-fqiiEuOr.js +1 -0
- package/dist/assets/common-8r_LaZs4.css +1 -0
- package/dist/assets/common-n2B-GsjO.js +1 -0
- package/dist/assets/config-CU-aFfVJ.js +1 -0
- package/dist/assets/design_system-CZfmC8Ij.js +45 -0
- package/dist/assets/design_system_connect-DHQbQvgv.js +53 -0
- package/dist/assets/document_drive-CP6paqKN.js +305 -0
- package/dist/assets/document_engineering-DojqH50p.js +1 -0
- package/dist/assets/document_model-DLxR7ZLO.js +230 -0
- package/dist/assets/document_model_editor-ButtI7kP.js +2 -0
- package/dist/assets/drive_explorer-IB_BS5Au.js +2 -0
- package/dist/assets/editor-CgH7LMsL.js +105 -0
- package/dist/assets/editor-ClAkqmdQ.js +1 -0
- package/dist/assets/graphql-BS4Brs_E.js +75 -0
- package/dist/assets/graphql_request-9RNJ00DB.js +3 -0
- package/dist/assets/hmr-LMNkvzP7.js +1 -0
- package/dist/assets/index-BSTajiPh.js +18 -0
- package/dist/assets/index-Br7E7qjt.css +1 -0
- package/dist/assets/reactor_browser-BbZdm6Aa.js +25 -0
- package/dist/assets/sentry_browser-BFJlXALZ.js +498 -0
- package/dist/assets/sentry_react-C4W8xEsl.js +3 -0
- package/dist/assets/virtual_ph_external-packages-CM1tCR4L.js +1 -0
- package/dist/assets/zod-C6yxFxyo.js +1 -0
- package/dist/index.html +17 -2
- package/heroku/config/nginx.conf.template +7 -18
- package/lib/package.copy.json +27 -57
- package/lib/src/components/analytics.js +1 -1
- package/lib/src/components/analytics.js.map +1 -1
- package/lib/src/components/app-loader.d.ts +1 -1
- package/lib/src/components/app-loader.d.ts.map +1 -1
- package/lib/src/components/app-loader.js +2 -5
- package/lib/src/components/app-loader.js.map +1 -1
- package/lib/src/components/app-skeleton.d.ts.map +1 -1
- package/lib/src/components/app-skeleton.js +1 -1
- package/lib/src/components/app-skeleton.js.map +1 -1
- package/lib/src/components/app.d.ts.map +1 -1
- package/lib/src/components/app.js +3 -4
- package/lib/src/components/app.js.map +1 -1
- package/lib/src/components/cookie-banner.d.ts.map +1 -1
- package/lib/src/components/cookie-banner.js +3 -4
- package/lib/src/components/cookie-banner.js.map +1 -1
- package/lib/src/components/document-editor-container.js +2 -2
- package/lib/src/components/document-editor-container.js.map +1 -1
- package/lib/src/components/drive-editor-container.js +2 -2
- package/lib/src/components/drive-editor-container.js.map +1 -1
- package/lib/src/components/editor-loader.d.ts +1 -1
- package/lib/src/components/editor-loader.d.ts.map +1 -1
- package/lib/src/components/editor-loader.js +1 -1
- package/lib/src/components/editor-loader.js.map +1 -1
- package/lib/src/components/editors.js +2 -2
- package/lib/src/components/editors.js.map +1 -1
- package/lib/src/components/footer.js +3 -2
- package/lib/src/components/footer.js.map +1 -1
- package/lib/src/components/index.d.ts +1 -2
- package/lib/src/components/index.d.ts.map +1 -1
- package/lib/src/components/index.js +1 -2
- package/lib/src/components/index.js.map +1 -1
- package/lib/src/components/login.js +1 -1
- package/lib/src/components/login.js.map +1 -1
- package/lib/src/components/modal/index.d.ts +17 -1
- package/lib/src/components/modal/index.d.ts.map +1 -1
- package/lib/src/components/modal/index.js +17 -1
- package/lib/src/components/modal/index.js.map +1 -1
- package/lib/src/components/modal/modals/AddDriveModal.d.ts.map +1 -1
- package/lib/src/components/modal/modals/AddDriveModal.js +2 -1
- package/lib/src/components/modal/modals/AddDriveModal.js.map +1 -1
- package/lib/src/components/modal/modals/ClearStorageModal.js +2 -2
- package/lib/src/components/modal/modals/ClearStorageModal.js.map +1 -1
- package/lib/src/components/modal/modals/CookiesPolicyModal.js +1 -1
- package/lib/src/components/modal/modals/CookiesPolicyModal.js.map +1 -1
- package/lib/src/components/modal/modals/CreateDocumentModal.js +1 -1
- package/lib/src/components/modal/modals/CreateDocumentModal.js.map +1 -1
- package/lib/src/components/modal/modals/DebugSettingsModal.d.ts.map +1 -1
- package/lib/src/components/modal/modals/DebugSettingsModal.js +3 -2
- package/lib/src/components/modal/modals/DebugSettingsModal.js.map +1 -1
- package/lib/src/components/modal/modals/DeleteDriveModal.d.ts.map +1 -1
- package/lib/src/components/modal/modals/DeleteDriveModal.js +2 -1
- package/lib/src/components/modal/modals/DeleteDriveModal.js.map +1 -1
- package/lib/src/components/modal/modals/DeleteItemModal.d.ts.map +1 -1
- package/lib/src/components/modal/modals/DeleteItemModal.js +2 -1
- package/lib/src/components/modal/modals/DeleteItemModal.js.map +1 -1
- package/lib/src/components/modal/modals/DisclaimerModal.js +1 -1
- package/lib/src/components/modal/modals/DisclaimerModal.js.map +1 -1
- package/lib/src/components/modal/modals/DriveSettingsModal.js +2 -2
- package/lib/src/components/modal/modals/DriveSettingsModal.js.map +1 -1
- package/lib/src/components/modal/modals/ExportDocumentWithErrorsModal.js +1 -1
- package/lib/src/components/modal/modals/ExportDocumentWithErrorsModal.js.map +1 -1
- package/lib/src/components/modal/modals/SettingsModal.d.ts.map +1 -1
- package/lib/src/components/modal/modals/SettingsModal.js +4 -6
- package/lib/src/components/modal/modals/SettingsModal.js.map +1 -1
- package/lib/src/components/modal/modals/UpgradeDriveModal.js +1 -1
- package/lib/src/components/modal/modals/UpgradeDriveModal.js.map +1 -1
- package/lib/src/components/modal/modals/settings/about.js +1 -1
- package/lib/src/components/modal/modals/settings/about.js.map +1 -1
- package/lib/src/components/modal/modals/settings/danger-zone.js +1 -1
- package/lib/src/components/modal/modals/settings/danger-zone.js.map +1 -1
- package/lib/src/components/modal/modals/settings/default-editor.js +1 -1
- package/lib/src/components/modal/modals/settings/default-editor.js.map +1 -1
- package/lib/src/components/modal/modals/settings/package-manager.d.ts +1 -1
- package/lib/src/components/modal/modals/settings/package-manager.d.ts.map +1 -1
- package/lib/src/components/modal/modals/settings/package-manager.js +4 -5
- package/lib/src/components/modal/modals/settings/package-manager.js.map +1 -1
- package/lib/src/components/ph-logo.js +1 -1
- package/lib/src/components/ph-logo.js.map +1 -1
- package/lib/src/components/reload-connect-toast.d.ts.map +1 -0
- package/lib/src/components/reload-connect-toast.js.map +1 -0
- package/lib/src/components/root.d.ts.map +1 -1
- package/lib/src/components/root.js +3 -4
- package/lib/src/components/root.js.map +1 -1
- package/lib/src/components/router.js +1 -1
- package/lib/src/components/router.js.map +1 -1
- package/lib/src/components/search-bar.d.ts.map +1 -1
- package/lib/src/components/search-bar.js +2 -1
- package/lib/src/components/search-bar.js.map +1 -1
- package/lib/src/components/sidebar.d.ts.map +1 -1
- package/lib/src/components/sidebar.js +3 -2
- package/lib/src/components/sidebar.js.map +1 -1
- package/lib/src/context/sentry-provider.js +1 -1
- package/lib/src/context/sentry-provider.js.map +1 -1
- package/lib/src/feature-flags.d.ts.map +1 -0
- package/lib/src/feature-flags.js.map +1 -0
- package/lib/src/globals.d.ts +1 -1
- package/lib/src/globals.d.ts.map +1 -1
- package/lib/src/hooks/useCheckLatestVersion.js +3 -3
- package/lib/src/hooks/useCheckLatestVersion.js.map +1 -1
- package/lib/src/index.d.ts +1 -8
- package/lib/src/index.d.ts.map +1 -1
- package/lib/src/index.js +1 -8
- package/lib/src/index.js.map +1 -1
- package/lib/src/main.js +1 -1
- package/lib/src/main.js.map +1 -1
- package/lib/src/pages/content.d.ts.map +1 -1
- package/lib/src/pages/content.js +2 -3
- package/lib/src/pages/content.js.map +1 -1
- package/lib/src/pages/index.d.ts +2 -1
- package/lib/src/pages/index.d.ts.map +1 -1
- package/lib/src/pages/index.js +2 -1
- package/lib/src/pages/index.js.map +1 -1
- package/lib/src/services/index.d.ts +6 -2
- package/lib/src/services/index.d.ts.map +1 -1
- package/lib/src/services/index.js +5 -2
- package/lib/src/services/index.js.map +1 -1
- package/lib/src/services/toast.d.ts +2 -2
- package/lib/src/services/toast.d.ts.map +1 -1
- package/lib/src/services/toast.js +1 -1
- package/lib/src/services/toast.js.map +1 -1
- package/lib/src/store/document-model.d.ts.map +1 -1
- package/lib/src/store/document-model.js +3 -3
- package/lib/src/store/document-model.js.map +1 -1
- package/lib/src/store/editor.d.ts +2 -2
- package/lib/src/store/editor.d.ts.map +1 -1
- package/lib/src/store/editor.js +6 -6
- package/lib/src/store/editor.js.map +1 -1
- package/lib/src/store/reactor.d.ts.map +1 -1
- package/lib/src/store/reactor.js +6 -21
- package/lib/src/store/reactor.js.map +1 -1
- package/lib/src/utils/drive-sections.d.ts +1 -1
- package/lib/src/utils/drive-sections.d.ts.map +1 -1
- package/lib/src/utils/drive-sections.js +1 -1
- package/lib/src/utils/drive-sections.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/vite.config.d.ts.map +1 -1
- package/lib/vite.config.js +23 -0
- package/lib/vite.config.js.map +1 -1
- package/package.copy.json +27 -57
- package/package.json +34 -64
- package/dist/assets/AddDriveModal-07mDwuqC.js +0 -248
- package/dist/assets/AddDriveModal-07mDwuqC.js.map +0 -1
- package/dist/assets/ClearStorageModal-NS7l69ap.js +0 -46
- package/dist/assets/ClearStorageModal-NS7l69ap.js.map +0 -1
- package/dist/assets/CookiesPolicyModal-C6dI4RKZ.js +0 -34
- package/dist/assets/CookiesPolicyModal-C6dI4RKZ.js.map +0 -1
- package/dist/assets/CreateDocumentModal-KKbJcBSL.js +0 -65
- package/dist/assets/CreateDocumentModal-KKbJcBSL.js.map +0 -1
- package/dist/assets/DebugSettingsModal-DXtCp24I.js +0 -5134
- package/dist/assets/DebugSettingsModal-DXtCp24I.js.map +0 -1
- package/dist/assets/DeleteDriveModal-MSDNucFy.js +0 -55
- package/dist/assets/DeleteDriveModal-MSDNucFy.js.map +0 -1
- package/dist/assets/DeleteItemModal-DW8_baau.js +0 -47
- package/dist/assets/DeleteItemModal-DW8_baau.js.map +0 -1
- package/dist/assets/DisclaimerModal-C6UyAzGM.js +0 -21
- package/dist/assets/DisclaimerModal-C6UyAzGM.js.map +0 -1
- package/dist/assets/DriveSettingsModal-DfM8Gfc9.js +0 -103
- package/dist/assets/DriveSettingsModal-DfM8Gfc9.js.map +0 -1
- package/dist/assets/ExportDocumentWithErrorsModal-cWlxN3T_.js +0 -44
- package/dist/assets/ExportDocumentWithErrorsModal-cWlxN3T_.js.map +0 -1
- package/dist/assets/SettingsModal-BlWJfQsu.js +0 -1723
- package/dist/assets/SettingsModal-BlWJfQsu.js.map +0 -1
- package/dist/assets/UpgradeDriveModal-BL7i2apX.js +0 -40
- package/dist/assets/UpgradeDriveModal-BL7i2apX.js.map +0 -1
- package/dist/assets/ccip-DhNdZlh7.js +0 -168
- package/dist/assets/ccip-DhNdZlh7.js.map +0 -1
- package/dist/assets/confirmation-modal-DM5tMFeL.js +0 -16
- package/dist/assets/confirmation-modal-DM5tMFeL.js.map +0 -1
- package/dist/assets/disclosure-iERpR3s0.js +0 -9
- package/dist/assets/disclosure-iERpR3s0.js.map +0 -1
- package/dist/assets/drive-by-id-BanyjI1t.js +0 -14
- package/dist/assets/drive-by-id-BanyjI1t.js.map +0 -1
- package/dist/assets/dropdown-menu-CXmhaaui.js +0 -1026
- package/dist/assets/dropdown-menu-CXmhaaui.js.map +0 -1
- package/dist/assets/editor-BKLE2wdL.js +0 -416
- package/dist/assets/editor-BKLE2wdL.js.map +0 -1
- package/dist/assets/editor-DO3KuTx4.js +0 -47585
- package/dist/assets/editor-DO3KuTx4.js.map +0 -1
- package/dist/assets/form-input-DTWcBXOv.js +0 -11
- package/dist/assets/form-input-DTWcBXOv.js.map +0 -1
- package/dist/assets/hmr-DO4QUuY_.js +0 -5
- package/dist/assets/hmr-DO4QUuY_.js.map +0 -1
- package/dist/assets/hoist-non-react-statics.cjs-BXLrPRPo.js +0 -224
- package/dist/assets/hoist-non-react-statics.cjs-BXLrPRPo.js.map +0 -1
- package/dist/assets/index-BRK2SPwe.js +0 -92924
- package/dist/assets/index-BRK2SPwe.js.map +0 -1
- package/dist/assets/index-CwYYkw3b.js +0 -183
- package/dist/assets/index-CwYYkw3b.js.map +0 -1
- package/dist/assets/index-D9xz2aln.js +0 -25570
- package/dist/assets/index-D9xz2aln.js.map +0 -1
- package/dist/assets/index-DOrl22sv.css +0 -6263
- package/dist/assets/index-DrtoT5He.js +0 -45
- package/dist/assets/index-DrtoT5He.js.map +0 -1
- package/dist/assets/index-ZC6AHfIK.js +0 -285
- package/dist/assets/index-ZC6AHfIK.js.map +0 -1
- package/dist/assets/index.esm-BaENpqse.js +0 -1801
- package/dist/assets/index.esm-BaENpqse.js.map +0 -1
- package/dist/assets/options-x29vXcTw.js +0 -81
- package/dist/assets/options-x29vXcTw.js.map +0 -1
- package/dist/assets/read-required-modal-CywEDaia.js +0 -44
- package/dist/assets/read-required-modal-CywEDaia.js.map +0 -1
- package/dist/assets/toggle-CFuMlRt5.js +0 -33
- package/dist/assets/toggle-CFuMlRt5.js.map +0 -1
- package/dist/assets/virtual_ph_external-packages-DawtJ3DU.js +0 -8
- package/dist/assets/virtual_ph_external-packages-DawtJ3DU.js.map +0 -1
- package/lib/feature-flags.d.ts.map +0 -1
- package/lib/feature-flags.js.map +0 -1
- package/lib/src/components/modal/modals/settings/index.d.ts +0 -5
- package/lib/src/components/modal/modals/settings/index.d.ts.map +0 -1
- package/lib/src/components/modal/modals/settings/index.js +0 -5
- package/lib/src/components/modal/modals/settings/index.js.map +0 -1
- package/lib/src/components/toast/index.d.ts +0 -2
- package/lib/src/components/toast/index.d.ts.map +0 -1
- package/lib/src/components/toast/index.js +0 -2
- package/lib/src/components/toast/index.js.map +0 -1
- package/lib/src/components/toast/reload-connect-toast.d.ts.map +0 -1
- package/lib/src/components/toast/reload-connect-toast.js.map +0 -1
- package/lib/src/pages/demo/index.d.ts +0 -2
- package/lib/src/pages/demo/index.d.ts.map +0 -1
- package/lib/src/pages/demo/index.js +0 -2
- package/lib/src/pages/demo/index.js.map +0 -1
- package/lib/src/services/renown/index.d.ts +0 -4
- package/lib/src/services/renown/index.d.ts.map +0 -1
- package/lib/src/services/renown/index.js +0 -4
- package/lib/src/services/renown/index.js.map +0 -1
- package/lib/src/services/storage/index.d.ts +0 -4
- package/lib/src/services/storage/index.d.ts.map +0 -1
- package/lib/src/services/storage/index.js +0 -4
- package/lib/src/services/storage/index.js.map +0 -1
- /package/lib/src/components/{toast/reload-connect-toast.d.ts → reload-connect-toast.d.ts} +0 -0
- /package/lib/src/components/{toast/reload-connect-toast.js → reload-connect-toast.js} +0 -0
- /package/lib/{feature-flags.d.ts → src/feature-flags.d.ts} +0 -0
- /package/lib/{feature-flags.js → src/feature-flags.js} +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{p as vt,a as Te,s as Gt,i as Pe,b as Ie,w as Ot,c as Kt,d as Q,t as It,e as At,f as $,S as H,g as ut,h as Nt,j as q,k as Jt,l as ct,m as Qt,n as ft,o as Z,W as B,q as tt,r as M,u as W,v as et,x as lt,y as Ct,z as Ae,A as Ne,B as Ht,C as we,D as Oe,E as Ce,F as $e,G as xe,H as Me,I as Le,J as ke,K as je,L as He,M as De,N as Be,O as Ue,P as Fe,Q as We,R as Ye,T as Ve,U as ze,V as qe,X as Ge,Y as Ke,Z as Je,_ as Qe,$ as Xe,a0 as Ze,a1 as tn,a2 as en,a3 as nn,a4 as rn,a5 as an,a6 as on,a7 as sn,a8 as un,a9 as cn,aa as fn,ab as ln,ac as pn,ad as dn,ae as mn,af as hn,ag as gn,ah as yn,ai as _n,aj as Sn,ak as Rn,al as vn,am as En,an as bn,ao as Tn,ap as Pn,aq as In,ar as An,as as Nn,at as wn,au as On,av as Cn,aw as $n,ax as xn,ay as Mn,az as Ln,aA as kn,aB as jn,aC as Hn,aD as Dn,aE as Bn,aF as Un,aG as Fn,aH as Wn,aI as Yn,aJ as Vn,aK as zn,aL as qn,aM as Gn,aN as Kn,aO as Jn,aP as Qn,aQ as Xn,aR as Zn,aS as tr,aT as er,aU as nr,aV as rr,aW as ar,aX as or,aY as sr,aZ as ir,a_ as ur,a$ as cr,b0 as fr,b1 as lr,b2 as pr,b3 as dr,b4 as mr,b5 as hr,b6 as gr,b7 as yr,b8 as _r,b9 as Sr,ba as Rr,bb as vr,bc as Er,bd as br,be as Tr,bf as Pr,bg as Ir,bh as Ar,bi as Nr,bj as wr,bk as Or,bl as Cr}from"./sentry_browser-BFJlXALZ.js";function Xt(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const o in n)if(o!=="default"&&!(o in t)){const s=Object.getOwnPropertyDescriptor(n,o);s&&Object.defineProperty(t,o,s.get?s:{enumerable:!0,get:()=>n[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var Ca=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Zt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function $a(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var r=function n(){var o=!1;try{o=this instanceof n}catch{}return o?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return t[n]}})}),r}var Et={exports:{}},h={},Dt;function $r(){if(Dt)return h;Dt=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),R=Symbol.iterator;function _(a){return a===null||typeof a!="object"?null:(a=R&&a[R]||a["@@iterator"],typeof a=="function"?a:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,N={};function I(a,i,y){this.props=a,this.context=i,this.refs=N,this.updater=y||v}I.prototype.isReactComponent={},I.prototype.setState=function(a,i){if(typeof a!="object"&&typeof a!="function"&&a!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,i,"setState")},I.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function L(){}L.prototype=I.prototype;function w(a,i,y){this.props=a,this.context=i,this.refs=N,this.updater=y||v}var x=w.prototype=new L;x.constructor=w,A(x,I.prototype),x.isPureReactComponent=!0;var l=Array.isArray;function k(){}var T={H:null,A:null,T:null,S:null},yt=Object.prototype.hasOwnProperty;function _t(a,i,y){var g=y.ref;return{$$typeof:t,type:a,key:i,ref:g!==void 0?g:null,props:y}}function _e(a,i){return _t(a.type,i,a.props)}function St(a){return typeof a=="object"&&a!==null&&a.$$typeof===t}function Se(a){var i={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(y){return i[y]})}var kt=/\/+/g;function Rt(a,i){return typeof a=="object"&&a!==null&&a.key!=null?Se(""+a.key):i.toString(36)}function Re(a){switch(a.status){case"fulfilled":return a.value;case"rejected":throw a.reason;default:switch(typeof a.status=="string"?a.then(k,k):(a.status="pending",a.then(function(i){a.status==="pending"&&(a.status="fulfilled",a.value=i)},function(i){a.status==="pending"&&(a.status="rejected",a.reason=i)})),a.status){case"fulfilled":return a.value;case"rejected":throw a.reason}}throw a}function K(a,i,y,g,S){var b=typeof a;(b==="undefined"||b==="boolean")&&(a=null);var P=!1;if(a===null)P=!0;else switch(b){case"bigint":case"string":case"number":P=!0;break;case"object":switch(a.$$typeof){case t:case e:P=!0;break;case d:return P=a._init,K(P(a._payload),i,y,g,S)}}if(P)return S=S(a),P=g===""?"."+Rt(a,0):g,l(S)?(y="",P!=null&&(y=P.replace(kt,"$&/")+"/"),K(S,i,y,"",function(be){return be})):S!=null&&(St(S)&&(S=_e(S,y+(S.key==null||a&&a.key===S.key?"":(""+S.key).replace(kt,"$&/")+"/")+P)),i.push(S)),1;P=0;var U=g===""?".":g+":";if(l(a))for(var j=0;j<a.length;j++)g=a[j],b=U+Rt(g,j),P+=K(g,i,y,b,S);else if(j=_(a),typeof j=="function")for(a=j.call(a),j=0;!(g=a.next()).done;)g=g.value,b=U+Rt(g,j++),P+=K(g,i,y,b,S);else if(b==="object"){if(typeof a.then=="function")return K(Re(a),i,y,g,S);throw i=String(a),Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}return P}function at(a,i,y){if(a==null)return a;var g=[],S=0;return K(a,g,"","",function(b){return i.call(y,b,S++)}),g}function ve(a){if(a._status===-1){var i=a._result;i=i(),i.then(function(y){(a._status===0||a._status===-1)&&(a._status=1,a._result=y)},function(y){(a._status===0||a._status===-1)&&(a._status=2,a._result=y)}),a._status===-1&&(a._status=0,a._result=i)}if(a._status===1)return a._result.default;throw a._result}var jt=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(i))return}else if(typeof vt=="object"&&typeof vt.emit=="function"){vt.emit("uncaughtException",a);return}console.error(a)},Ee={map:at,forEach:function(a,i,y){at(a,function(){i.apply(this,arguments)},y)},count:function(a){var i=0;return at(a,function(){i++}),i},toArray:function(a){return at(a,function(i){return i})||[]},only:function(a){if(!St(a))throw Error("React.Children.only expected to receive a single React element child.");return a}};return h.Activity=m,h.Children=Ee,h.Component=I,h.Fragment=r,h.Profiler=o,h.PureComponent=w,h.StrictMode=n,h.Suspense=f,h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,h.__COMPILER_RUNTIME={__proto__:null,c:function(a){return T.H.useMemoCache(a)}},h.cache=function(a){return function(){return a.apply(null,arguments)}},h.cacheSignal=function(){return null},h.cloneElement=function(a,i,y){if(a==null)throw Error("The argument must be a React element, but you passed "+a+".");var g=A({},a.props),S=a.key;if(i!=null)for(b in i.key!==void 0&&(S=""+i.key),i)!yt.call(i,b)||b==="key"||b==="__self"||b==="__source"||b==="ref"&&i.ref===void 0||(g[b]=i[b]);var b=arguments.length-2;if(b===1)g.children=y;else if(1<b){for(var P=Array(b),U=0;U<b;U++)P[U]=arguments[U+2];g.children=P}return _t(a.type,S,g)},h.createContext=function(a){return a={$$typeof:c,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null},a.Provider=a,a.Consumer={$$typeof:s,_context:a},a},h.createElement=function(a,i,y){var g,S={},b=null;if(i!=null)for(g in i.key!==void 0&&(b=""+i.key),i)yt.call(i,g)&&g!=="key"&&g!=="__self"&&g!=="__source"&&(S[g]=i[g]);var P=arguments.length-2;if(P===1)S.children=y;else if(1<P){for(var U=Array(P),j=0;j<P;j++)U[j]=arguments[j+2];S.children=U}if(a&&a.defaultProps)for(g in P=a.defaultProps,P)S[g]===void 0&&(S[g]=P[g]);return _t(a,b,S)},h.createRef=function(){return{current:null}},h.forwardRef=function(a){return{$$typeof:u,render:a}},h.isValidElement=St,h.lazy=function(a){return{$$typeof:d,_payload:{_status:-1,_result:a},_init:ve}},h.memo=function(a,i){return{$$typeof:p,type:a,compare:i===void 0?null:i}},h.startTransition=function(a){var i=T.T,y={};T.T=y;try{var g=a(),S=T.S;S!==null&&S(y,g),typeof g=="object"&&g!==null&&typeof g.then=="function"&&g.then(k,jt)}catch(b){jt(b)}finally{i!==null&&y.types!==null&&(i.types=y.types),T.T=i}},h.unstable_useCacheRefresh=function(){return T.H.useCacheRefresh()},h.use=function(a){return T.H.use(a)},h.useActionState=function(a,i,y){return T.H.useActionState(a,i,y)},h.useCallback=function(a,i){return T.H.useCallback(a,i)},h.useContext=function(a){return T.H.useContext(a)},h.useDebugValue=function(){},h.useDeferredValue=function(a,i){return T.H.useDeferredValue(a,i)},h.useEffect=function(a,i){return T.H.useEffect(a,i)},h.useEffectEvent=function(a){return T.H.useEffectEvent(a)},h.useId=function(){return T.H.useId()},h.useImperativeHandle=function(a,i,y){return T.H.useImperativeHandle(a,i,y)},h.useInsertionEffect=function(a,i){return T.H.useInsertionEffect(a,i)},h.useLayoutEffect=function(a,i){return T.H.useLayoutEffect(a,i)},h.useMemo=function(a,i){return T.H.useMemo(a,i)},h.useOptimistic=function(a,i){return T.H.useOptimistic(a,i)},h.useReducer=function(a,i,y){return T.H.useReducer(a,i,y)},h.useRef=function(a){return T.H.useRef(a)},h.useState=function(a){return T.H.useState(a)},h.useSyncExternalStore=function(a,i,y){return T.H.useSyncExternalStore(a,i,y)},h.useTransition=function(){return T.H.useTransition()},h.version="19.2.0",h}var Bt;function xr(){return Bt||(Bt=1,Et.exports=$r()),Et.exports}var O=xr();const Mr=Zt(O),xa=Xt({__proto__:null,default:Mr},[O]);function Lr(t){const e={...t};return Te(e,"react"),Gt("react",{version:O.version}),Pe(e)}function kr(t){const e=t.match(/^([^.]+)/);return e!==null&&parseInt(e[0])>=17}function jr(t,e){const r=new WeakSet;function n(o,s){if(!r.has(o)){if(o.cause)return r.add(o),n(o.cause,s);o.cause=s}}n(t,e)}function $t(t,{componentStack:e},r){if(kr(O.version)&&Ie(t)&&e){const n=new Error(t.message);n.name=`React ErrorBoundary ${t.name}`,n.stack=e,jr(t,n)}return Ot(n=>(n.setContext("react",{componentStack:e}),Kt(t,r)))}function Hr(t){return(e,r)=>{const n=!!t,o=$t(e,r,{mechanism:{handled:n,type:"auto.function.react.error_handler"}});n&&t(e,r,o)}}const te="ui.react.render",Dr="ui.react.update",ee="ui.react.mount";var bt={exports:{}},E={};var Ut;function Br(){if(Ut)return E;Ut=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,c=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,f=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,d=t?Symbol.for("react.forward_ref"):60112,m=t?Symbol.for("react.suspense"):60113,R=t?Symbol.for("react.suspense_list"):60120,_=t?Symbol.for("react.memo"):60115,v=t?Symbol.for("react.lazy"):60116,A=t?Symbol.for("react.block"):60121,N=t?Symbol.for("react.fundamental"):60117,I=t?Symbol.for("react.responder"):60118,L=t?Symbol.for("react.scope"):60119;function w(l){if(typeof l=="object"&&l!==null){var k=l.$$typeof;switch(k){case e:switch(l=l.type,l){case f:case p:case n:case s:case o:case m:return l;default:switch(l=l&&l.$$typeof,l){case u:case d:case v:case _:case c:return l;default:return k}}case r:return k}}}function x(l){return w(l)===p}return E.AsyncMode=f,E.ConcurrentMode=p,E.ContextConsumer=u,E.ContextProvider=c,E.Element=e,E.ForwardRef=d,E.Fragment=n,E.Lazy=v,E.Memo=_,E.Portal=r,E.Profiler=s,E.StrictMode=o,E.Suspense=m,E.isAsyncMode=function(l){return x(l)||w(l)===f},E.isConcurrentMode=x,E.isContextConsumer=function(l){return w(l)===u},E.isContextProvider=function(l){return w(l)===c},E.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===e},E.isForwardRef=function(l){return w(l)===d},E.isFragment=function(l){return w(l)===n},E.isLazy=function(l){return w(l)===v},E.isMemo=function(l){return w(l)===_},E.isPortal=function(l){return w(l)===r},E.isProfiler=function(l){return w(l)===s},E.isStrictMode=function(l){return w(l)===o},E.isSuspense=function(l){return w(l)===m},E.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===n||l===p||l===s||l===o||l===m||l===R||typeof l=="object"&&l!==null&&(l.$$typeof===v||l.$$typeof===_||l.$$typeof===c||l.$$typeof===u||l.$$typeof===d||l.$$typeof===N||l.$$typeof===I||l.$$typeof===L||l.$$typeof===A)},E.typeOf=w,E}var Ft;function Ur(){return Ft||(Ft=1,bt.exports=Br()),bt.exports}var Tt,Wt;function Fr(){if(Wt)return Tt;Wt=1;var t=Ur(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[t.ForwardRef]=n,s[t.Memo]=o;function c(v){return t.isMemo(v)?o:s[v.$$typeof]||e}var u=Object.defineProperty,f=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,R=Object.prototype;function _(v,A,N){if(typeof A!="string"){if(R){var I=m(A);I&&I!==R&&_(v,I,N)}var L=f(A);p&&(L=L.concat(p(A)));for(var w=c(v),x=c(A),l=0;l<L.length;++l){var k=L[l];if(!r[k]&&!(N&&N[k])&&!(x&&x[k])&&!(w&&w[k])){var T=d(A,k);try{u(v,k,T)}catch{}}}}return v}return Tt=_,Tt}var ne=Fr();const re=Zt(ne),Wr=Xt({__proto__:null,default:re},[ne]),pt=re||Wr,Yr="unknown";class xt extends O.Component{constructor(e){super(e);const{name:r,disabled:n=!1}=this.props;n||(this._mountSpan=Q({name:`<${r}>`,onlyIfParent:!0,op:ee,attributes:{[H]:"auto.ui.react.profiler","ui.component_name":r}}))}componentDidMount(){this._mountSpan&&this._mountSpan.end()}shouldComponentUpdate({updateProps:e,includeUpdates:r=!0}){if(r&&this._mountSpan&&e!==this.props.updateProps){const n=Object.keys(e).filter(o=>e[o]!==this.props.updateProps[o]);if(n.length>0){const o=It();this._updateSpan=At(this._mountSpan,()=>Q({name:`<${this.props.name}>`,onlyIfParent:!0,op:Dr,startTime:o,attributes:{[H]:"auto.ui.react.profiler","ui.component_name":this.props.name,"ui.react.changed_props":n}}))}}return!0}componentDidUpdate(){this._updateSpan&&(this._updateSpan.end(),this._updateSpan=void 0)}componentWillUnmount(){const e=It(),{name:r,includeRender:n=!0}=this.props;if(this._mountSpan&&n){const o=$(this._mountSpan).timestamp;At(this._mountSpan,()=>{const s=Q({onlyIfParent:!0,name:`<${r}>`,op:te,startTime:o,attributes:{[H]:"auto.ui.react.profiler","ui.component_name":r}});s&&s.end(e)})}}render(){return this.props.children}}Object.assign(xt,{defaultProps:{disabled:!1,includeRender:!0,includeUpdates:!0}});function Vr(t,e){const r=e?.name||t.displayName||t.name||Yr,n=o=>O.createElement(xt,{...e,name:r,updateProps:o},O.createElement(t,{...o}));return n.displayName=`profiler(${r})`,pt(n,t),n}function zr(t,e={disabled:!1,hasRenderSpan:!0}){const[r]=O.useState(()=>{if(!e?.disabled)return Q({name:`<${t}>`,onlyIfParent:!0,op:ee,attributes:{[H]:"auto.ui.react.profiler","ui.component_name":t}})});O.useEffect(()=>(r&&r.end(),()=>{if(r&&e.hasRenderSpan){const n=$(r).timestamp,o=It(),s=Q({name:`<${t}>`,onlyIfParent:!0,op:te,startTime:n,attributes:{[H]:"auto.ui.react.profiler","ui.component_name":t}});s&&s.end(o)}}),[])}const G=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,qr="unknown",Pt={componentStack:null,error:null,eventId:null};class ae extends O.Component{constructor(e){super(e),this.state=Pt,this._openFallbackReportDialog=!0;const r=ut();r&&e.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=r.on("afterSendEvent",n=>{!n.type&&this._lastEventId&&n.event_id===this._lastEventId&&Nt({...e.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(e,r){const{componentStack:n}=r,{beforeCapture:o,onError:s,showDialog:c,dialogOptions:u}=this.props;Ot(f=>{o&&o(f,e,n);const p=this.props.handled!=null?this.props.handled:!!this.props.fallback,d=$t(e,r,{mechanism:{handled:p,type:"auto.function.react.error_boundary"}});s&&s(e,n,d),c&&(this._lastEventId=d,this._openFallbackReportDialog&&Nt({...u,eventId:d})),this.setState({error:e,componentStack:n,eventId:d})})}componentDidMount(){const{onMount:e}=this.props;e&&e()}componentWillUnmount(){const{error:e,componentStack:r,eventId:n}=this.state,{onUnmount:o}=this.props;o&&(this.state===Pt?o(null,null,null):o(e,r,n)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){const{onReset:e}=this.props,{error:r,componentStack:n,eventId:o}=this.state;e&&e(r,n,o),this.setState(Pt)}render(){const{fallback:e,children:r}=this.props,n=this.state;if(n.componentStack===null)return typeof r=="function"?r():r;const o=typeof e=="function"?O.createElement(e,{error:n.error,componentStack:n.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:n.eventId}):e;return O.isValidElement(o)?o:(e&&G&&q.warn("fallback did not produce a valid ReactElement"),null)}}function Gr(t,e){const r=t.displayName||t.name||qr,n=O.memo(o=>O.createElement(ae,{...e},O.createElement(t,{...o})));return n.displayName=`errorBoundary(${r})`,pt(n,t),n}const Kr="redux.action",Jr="info",Qr={attachReduxState:!0,actionTransformer:t=>t,stateTransformer:t=>t||null};function Xr(t){const e={...Qr,...t};return r=>(n,o)=>{e.attachReduxState&&Jt().addEventProcessor((u,f)=>{try{u.type===void 0&&u.contexts.state.state.type==="redux"&&(f.attachments=[...f.attachments||[],{filename:"redux_state.json",data:JSON.stringify(u.contexts.state.state.value)}])}catch{}return u});function s(u){return(f,p)=>{const d=u(f,p),m=ct(),R=e.actionTransformer(p);typeof R<"u"&&R!==null&&Qt({category:Kr,data:R,type:Jr});const _=e.stateTransformer(d);if(typeof _<"u"&&_!==null){const I=ut()?.getOptions()?.normalizeDepth||3,L={state:{type:"redux",value:_}};ft(L,"__sentry_override_normalization_depth__",3+I),m.setContext("state",L)}else m.setContext("state",null);const{configureScopeWithState:v}=e;return typeof v=="function"&&v(m,d),d}}const c=r(s(n),o);return c.replaceReducer=new Proxy(c.replaceReducer,{apply:function(u,f,p){u.apply(f,[s(p[0])])}}),c}}function Zr(t){const e=Z({...t,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:r,routes:n,match:o,instrumentPageLoad:s=!0,instrumentNavigation:c=!0}=t;return{...e,afterAllSetup(u){e.afterAllSetup(u),s&&B.location&&Yt(n,B.location,o,(f,p="url")=>{tt(u,{name:f,attributes:{[W]:"pageload",[H]:"auto.pageload.react.reactrouter_v3",[M]:p}})}),c&&r.listen&&r.listen(f=>{(f.action==="PUSH"||f.action==="POP")&&Yt(n,f,o,(p,d="url")=>{et(u,{name:p,attributes:{[W]:"navigation",[H]:"auto.navigation.react.reactrouter_v3",[M]:d}})})})}}}function Yt(t,e,r,n){let o=e.pathname;r({location:e,routes:t},(s,c,u)=>{if(s||!u)return n(o);const f=ta(u.routes||[]);return f.length===0||f==="/*"?n(o):(o=f,n(o,"route"))})}function ta(t){if(!Array.isArray(t)||t.length===0)return"";const e=t.filter(n=>!!n.path);let r=-1;for(let n=e.length-1;n>=0;n--)if(e[n].path?.startsWith("/")){r=n;break}return e.slice(r).reduce((n,{path:o})=>{const s=n==="/"||n===""?o:`/${o}`;return`${n}${s}`},"")}function ea(t,e={}){const r=t,n=Z({...e,instrumentNavigation:!1,instrumentPageLoad:!1}),{instrumentPageLoad:o=!0,instrumentNavigation:s=!0}=e;return{...n,afterAllSetup(c){n.afterAllSetup(c);const u=B.location;if(o&&u){const f=r.matchRoutes(u.pathname,r.options.parseSearch(u.search),{preload:!1,throwOnError:!1}),p=f[f.length-1];tt(c,{name:p?p.routeId:u.pathname,attributes:{[W]:"pageload",[H]:"auto.pageload.react.tanstack_router",[M]:p?"route":"url",...Vt(p)}})}s&&r.subscribe("onBeforeNavigate",f=>{if(f.toLocation.state===f.fromLocation?.state)return;const p=r.matchRoutes(f.toLocation.pathname,f.toLocation.search,{preload:!1,throwOnError:!1}),d=p[p.length-1],m=B.location,R=et(c,{name:d?d.routeId:m.pathname,attributes:{[W]:"navigation",[H]:"auto.navigation.react.tanstack_router",[M]:d?"route":"url"}}),_=r.subscribe("onResolved",v=>{if(_(),R){const A=r.matchRoutes(v.toLocation.pathname,v.toLocation.search,{preload:!1,throwOnError:!1}),N=A[A.length-1];N&&(R.updateName(N.routeId),R.setAttribute(M,"route"),R.setAttributes(Vt(N)))}})})}}}function Vt(t){if(!t)return{};const e={};return Object.entries(t.params).forEach(([r,n])=>{e[`url.path.params.${r}`]=n,e[`url.path.parameter.${r}`]=n,e[`params.${r}`]=n}),e}function na(t){const e=Z({...t,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:r,routes:n,matchPath:o,instrumentPageLoad:s=!0,instrumentNavigation:c=!0}=t;return{...e,afterAllSetup(u){e.afterAllSetup(u),oe(u,s,c,r,"reactrouter_v4",n,o)}}}function ra(t){const e=Z({...t,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:r,routes:n,matchPath:o,instrumentPageLoad:s=!0,instrumentNavigation:c=!0}=t;return{...e,afterAllSetup(u){e.afterAllSetup(u),oe(u,s,c,r,"reactrouter_v5",n,o)}}}function oe(t,e,r,n,o,s=[],c){function u(){if(n.location)return n.location.pathname;if(B.location)return B.location.pathname}function f(p){if(s.length===0||!c)return[p,"url"];const d=se(s,p,c);for(const m of d)if(m.match.isExact)return[m.match.path,"route"];return[p,"url"]}if(e){const p=u();if(p){const[d,m]=f(p);tt(t,{name:d,attributes:{[W]:"pageload",[H]:`auto.pageload.react.${o}`,[M]:m}})}}r&&n.listen&&n.listen((p,d)=>{if(d&&(d==="PUSH"||d==="POP")){const[m,R]=f(p.pathname);et(t,{name:m,attributes:{[W]:"navigation",[H]:`auto.navigation.react.${o}`,[M]:R}})}})}function se(t,e,r,n=[]){return t.some(o=>{const s=o.path?r(e,o):n.length?n[n.length-1].match:aa(e);return s&&(n.push({route:o,match:s}),o.routes&&se(o.routes,e,r,n)),!!s}),n}function aa(t){return{path:"/",url:"/",params:{},isExact:t==="/"}}function oa(t){const e=t.displayName||t.name,r=n=>{if(n?.computedMatch?.isExact){const o=n.computedMatch.path,s=sa();ct().setTransactionName(o),s&&(s.updateName(o),s.setAttribute(M,"route"))}return O.createElement(t,{...n})};return r.displayName=`sentryRoute(${e})`,pt(r,t),r}function sa(){const t=lt(),e=t&&Ct(t);if(!e)return;const r=$(e).op;return r==="navigation"||r==="pageload"?e:void 0}function ia(t,e,r,n){const o=new Proxy(t,{apply(s,c,u){const f=s.apply(c,u);return ua(f,e,r,n),f}});return ft(o,"__sentry_proxied__",!0),o}function ua(t,e,r,n){Ae(t)?t.then(o=>{Array.isArray(o)&&n(o,e)}).catch(o=>{G&&q.warn(`Error resolving async handler '${r}' for route`,e,o)}):Array.isArray(t)&&n(t,e)}function dt(t,e){if(t.handle&&typeof t.handle=="object")for(const r of Object.keys(t.handle)){const n=t.handle[r];typeof n=="function"&&!n.__sentry_proxied__&&(t.handle[r]=ia(n,t,r,e))}if(Array.isArray(t.children))for(const r of t.children)dt(r,e)}let Mt,J=!1;function ca(t,e=!1){Mt=t,J=e}function fa(t){return pa(t.route.path||"")}function la(t){return t.params["*"]||""}function pa(t){return t[t.length-1]==="*"?t.slice(0,-1):t}function X(t){return t[t.length-1]==="/"?t.slice(0,-1):t}function ie(t){return t.endsWith("*")}function zt(t,e){return ie(t)&&!!e.route.children?.length||!1}function da(t){return!!(!t.children&&t.element&&t.path?.endsWith("/*"))}function ma(t,e,r){const n=t&&t.length>0?t:J?st(e,r):e;let o=n.slice(-2)==="/*"?n.slice(0,-2):n;return o.length>1&&o[o.length-1]==="/"&&(o=o.slice(0,-1)),[o,"route"]}function qt(t){return t.split(/\\?\//).filter(e=>e.length>0&&e!==",").length}function st(t,e){if(!e||e==="/"||!t.toLowerCase().startsWith(e.toLowerCase()))return t;const r=e.endsWith("/")?e.length-1:e.length,n=t.charAt(r);return n&&n!=="/"?t:t.slice(r)||"/"}function it(t){return t[0]==="/"?t:`/${t}`}function ue(t,e){const r=Mt(t,e);if(!r||r.length===0)return"";for(const n of r)if(n.route.path&&n.route.path!=="*"){const o=fa(n),s=st(e.pathname,it(n.pathnameBase));return e.pathname===s?X(s):X(X(o||"")+it(ue(t.filter(c=>c!==n.route),{pathname:s})))}return""}function ha(t,e){const r=Mt(e,t);if(r){for(const n of r)if(da(n.route)&&la(n))return!0}return!1}function ga(t,e,r,n=""){if(!t||t.length===0)return[J?st(e.pathname,n):e.pathname,"url"];let o="";if(r)for(const c of r){const u=c.route;if(u){if(u.index)return ma(o,c.pathname,n);const f=u.path;if(f&&!zt(f,c)){const p=f[0]==="/"||o[o.length-1]==="/"?f:`/${f}`;if(o=X(o)+it(p),X(e.pathname)===X(n+c.pathname))return qt(o)!==qt(c.pathname)&&!ie(o)?[(J?"":n)+p,"route"]:(zt(o,c)&&(o=o.slice(0,-1)),[(J?"":n)+o,"route"])}}}return[J?st(e.pathname,n):e.pathname||"","url"]}function mt(t,e,r,n,o=""){let s,c="url";const u=ha(t,r);return u&&(s=it(ue(r,t)),c="route"),(!u||!s)&&([s,c]=ga(e,t,n,o)),[s||t.pathname,c]}let Y,V,z,ot,D,ht=!1;const ce=new WeakSet;function ya(t,e){const r=e.children||[],n=t.filter(o=>!r.some(s=>s===o||o.path&&s.path===o.path||o.id&&s.id===o.id));n.length>0&&(e.children=[...r,...n])}const C=new Set;function Lt(t,e,r=null){t.forEach(o=>{C.add(o),ht&&dt(o,Lt)}),e&&ya(t,e);const n=F();if(n){const o=$(n).op;let s=r;if(!s&&typeof B<"u"){const c=B.location;c&&(s={pathname:c.pathname})}s&&(o==="pageload"?rt({activeRootSpan:n,location:{pathname:s.pathname},routes:Array.from(C),allRoutes:Array.from(C)}):o==="navigation"&&wt(n,s,Array.from(C),!1,D))}}function wt(t,e,r,n=!1,o){if(!(!n&&t?.__sentry_navigation_name_set__)){const c=o(r,e),[u,f]=mt(e,r,r,c||[],""),p=$(t);u&&!p.timestamp&&(t.updateName(u),t.setAttribute(M,f),ft(t,"__sentry_navigation_name_set__",!0))}}function fe(t,e){return!Y||!V||!z||!D?(G&&q.warn(`reactRouterV${e}Instrumentation was unable to wrap the \`createRouter\` function because of one or more missing parameters.`),t):function(r,n){if(nt(r),ht)for(const m of r)dt(m,Lt);const o=me(n),s=t(r,o),c=n?.basename,u=F();let f=!1,p=!!u&&$(u).op==="pageload",d=!1;return s.state.historyAction==="POP"&&u&&rt({activeRootSpan:u,location:s.state.location,routes:r,basename:c,allRoutes:Array.from(C)}),s.subscribe(m=>{if(!f){const _=F();_&&$(_).op==="pageload"?p=!0:p&&(m.historyAction==="POP"&&!d?d=!0:f=!0)}if(m.historyAction==="PUSH"||m.historyAction==="POP"&&f){const _=()=>{gt({location:m.location,routes:r,navigationType:m.historyAction,version:e,basename:c,allRoutes:Array.from(C)})};m.navigation.state!=="idle"?requestAnimationFrame(_):_()}}),s}}function le(t,e){return!Y||!V||!z||!D?(G&&q.warn(`reactRouterV${e}Instrumentation was unable to wrap the \`createMemoryRouter\` function because of one or more missing parameters.`),t):function(r,n){if(nt(r),ht)for(const I of r)dt(I,Lt);const o=me(n,!0),s=t(r,o),c=n?.basename;let u;const f=n?.initialEntries,p=n?.initialIndex,d=f&&f.length===1,m=p!==void 0&&f&&f[p];u=d?f[0]:m?f[p]:void 0;const R=u?typeof u=="string"?{pathname:u}:u:s.state.location,_=F();s.state.historyAction==="POP"&&_&&rt({activeRootSpan:_,location:R,routes:r,basename:c,allRoutes:Array.from(C)});let v=!1,A=!!_&&$(_).op==="pageload",N=!1;return s.subscribe(I=>{if(!v){const x=F();x&&$(x).op==="pageload"?A=!0:A&&(I.historyAction==="POP"&&!N?N=!0:v=!0)}const L=I.location;if(I.historyAction==="PUSH"||I.historyAction==="POP"&&v){const x=()=>{gt({location:L,routes:r,navigationType:I.historyAction,version:e,basename:c,allRoutes:Array.from(C)})};I.navigation.state!=="idle"?requestAnimationFrame(x):x()}}),s}}function pe(t,e){const r=Z({...t,instrumentPageLoad:!1,instrumentNavigation:!1}),{useEffect:n,useLocation:o,useNavigationType:s,createRoutesFromChildren:c,matchRoutes:u,stripBasename:f,enableAsyncRouteHandlers:p=!1,instrumentPageLoad:d=!0,instrumentNavigation:m=!0}=t;return{...r,setup(R){r.setup(R),Y=n,V=o,z=s,D=u,ot=c,ht=p,ca(u,f||!1)},afterAllSetup(R){r.afterAllSetup(R);const _=B.location?.pathname;d&&_&&tt(R,{name:_,attributes:{[M]:"url",[W]:"pageload",[H]:`auto.pageload.react.reactrouter_v${e}`}}),m&&ce.add(R)}}}function de(t,e){if(!Y||!V||!z||!D)return G&&q.warn("reactRouterV6Instrumentation was unable to wrap `useRoutes` because of one or more missing parameters."),t;const r=n=>{const o=O.useRef(!0),{routes:s,locationArg:c}=n,u=t(s,c),f=V(),p=z(),d=typeof c=="string"||c?.pathname?c:f;return Y(()=>{const m=typeof d=="string"?{pathname:d}:d;o.current?(nt(s),rt({activeRootSpan:F(),location:m,routes:s,allRoutes:Array.from(C)}),o.current=!1):gt({location:m,routes:s,navigationType:p,version:e,allRoutes:Array.from(C)})},[p,d]),u};return(n,o)=>O.createElement(r,{routes:n,locationArg:o})}function me(t,e=!1){if(!t||!("patchRoutesOnNavigation"in t)||typeof t.patchRoutesOnNavigation!="function")return t||{};const r=t.patchRoutesOnNavigation;return{...t,patchRoutesOnNavigation:async n=>{const o=n?.path;if(!e){const u=n?.patch;u&&(n.patch=(f,p)=>{nt(p);const d=F();return d&&$(d).op==="navigation"&&wt(d,{pathname:o,search:"",hash:"",state:null,key:"default"},Array.from(C),!0,D),u(f,p)})}const s=await r(n),c=F();if(c&&$(c).op==="navigation"){let u;e?u=o:u=o||B.location?.pathname,u&&wt(c,{pathname:u,search:"",hash:"",state:null,key:"default"},Array.from(C),!1,D)}return s}}}function gt(t){const{location:e,routes:r,navigationType:n,version:o,matches:s,basename:c,allRoutes:u}=t,f=Array.isArray(s)?s:D(r,e,c),p=ut();if(!p||!ce.has(p))return;const d=F();if(!(d&&$(d).op==="pageload"&&n==="POP")&&(n==="PUSH"||n==="POP")&&f){const[m,R]=mt(e,r,u||r,f,c),_=lt();if(!((_&&$(_))?.op==="navigation")){const N=et(p,{name:m,attributes:{[M]:R,[W]:"navigation",[H]:`auto.navigation.react.reactrouter_v${o}`}});N&&Sa(N,e,r,c,u)}}}function nt(t){t.forEach(e=>{he(e).forEach(n=>{C.add(n)})})}function he(t,e=new Set){return e.has(t)||(e.add(t),t.children&&!t.index&&t.children.forEach(r=>{he(r,e).forEach(o=>{e.add(o)})})),e}function rt({activeRootSpan:t,location:e,routes:r,matches:n,basename:o,allRoutes:s}){const c=Array.isArray(n)?n:D(s||r,e,o);if(c){const[u,f]=mt(e,r,s||r,c,o);ct().setTransactionName(u||"/"),t&&(t.updateName(u),t.setAttribute(M,f),_a(t,e,r,o,s))}}function ge(t,e,r,n,o,s){const c=`__sentry_${s}_end_patched__`;if(t?.[c]||!t.end)return;const f=t.end.bind(t);t.end=function(...d){try{const m=$(t);if(m.data?.[M]!=="route"){const _=Array.from(C),v=D(_.length>0?_:r,e,n);if(v){const[A,N]=mt(e,r,_.length>0?_:r,v,n);A&&(s==="pageload"||!m.timestamp)&&(t.updateName(A),t.setAttribute(M,N))}}}catch(m){G&&q.warn(`Error updating span details before ending: ${m}`)}return f(...d)},ft(t,c,!0)}function _a(t,e,r,n,o){ge(t,e,r,n,o,"pageload")}function Sa(t,e,r,n,o){ge(t,e,r,n,o,"navigation")}function ye(t,e){if(!Y||!V||!z||!ot||!D)return G&&q.warn(`reactRouterV6Instrumentation was unable to wrap Routes because of one or more missing parameters.
|
|
2
|
+
useEffect: ${Y}. useLocation: ${V}. useNavigationType: ${z}.
|
|
3
|
+
createRoutesFromChildren: ${ot}. matchRoutes: ${D}.`),t;const r=n=>{const o=O.useRef(!0),s=V(),c=z();return Y(()=>{const u=ot(n.children);o.current?(nt(u),rt({activeRootSpan:F(),location:s,routes:u,allRoutes:Array.from(C)}),o.current=!1):gt({location:s,routes:u,navigationType:c,version:e,allRoutes:Array.from(C)})},[s,c]),O.createElement(t,{...n})};return pt(r,t),r}function F(){const t=lt(),e=t?Ct(t):void 0;if(!e)return;const r=$(e).op;return r==="navigation"||r==="pageload"?e:void 0}function Ra(t){return pe(t,"6")}function va(t){return de(t,"6")}function Ea(t){return fe(t,"6")}function ba(t){return le(t,"6")}function Ta(t){return ye(t,"6")}function Pa(t){return pe(t,"7")}function Ia(t){return ye(t,"7")}function Aa(t){return fe(t,"7")}function Na(t){return le(t,"7")}function wa(t){return de(t,"7")}const Ma=Object.freeze(Object.defineProperty({__proto__:null,BrowserClient:jn,ErrorBoundary:ae,OpenFeatureIntegrationHook:Tr,Profiler:xt,SDK_VERSION:we,SEMANTIC_ATTRIBUTE_SENTRY_OP:W,SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:H,SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:Oe,SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:M,Scope:Ce,WINDOW:B,addBreadcrumb:Qt,addEventProcessor:$e,addIntegration:xe,breadcrumbsIntegration:Zn,browserApiErrorsIntegration:rr,browserProfilingIntegration:Sr,browserSessionIntegration:vr,browserTracingIntegration:Z,buildLaunchDarklyFlagUsedHandler:Er,captureConsoleIntegration:Me,captureEvent:Le,captureException:Kt,captureFeedback:ke,captureMessage:je,captureReactException:$t,captureSession:He,chromeStackLineParser:Dn,close:De,consoleLoggingIntegration:Be,contextLinesIntegration:ir,continueTrace:Ue,createConsolaReporter:Fe,createReduxEnhancer:Xr,createTransport:We,createUserFeedbackEnvelope:Kn,dedupeIntegration:Ye,defaultRequestInstrumentationOptions:mr,defaultStackLineParsers:Bn,defaultStackParser:Un,diagnoseSdkConnectivity:wr,endSession:Ve,eventFiltersIntegration:ze,eventFromException:zn,eventFromMessage:qn,exceptionFromError:Gn,extraErrorDataIntegration:qe,featureFlagsIntegration:Ge,feedbackAsyncIntegration:Ne,feedbackIntegration:Ht,feedbackSyncIntegration:Ht,flush:Ke,forceLoad:Jn,functionToStringIntegration:Je,geckoStackLineParser:Fn,getActiveSpan:lt,getClient:ut,getCurrentScope:ct,getDefaultIntegrations:Qn,getFeedback:pr,getGlobalScope:Jt,getIsolationScope:Qe,getReplay:cr,getRootSpan:Ct,getSpanDescendants:Xe,getSpanStatusFromHttpCode:Ze,getTraceData:tn,globalHandlersIntegration:tr,graphqlClientIntegration:ur,growthbookIntegration:Ar,httpClientIntegration:sr,httpContextIntegration:er,inboundFiltersIntegration:en,init:Lr,instrumentAnthropicAiClient:nn,instrumentGoogleGenAIClient:rn,instrumentOpenAiClient:an,instrumentOutgoingRequests:hr,instrumentSupabaseClient:on,isEnabled:sn,isInitialized:un,lastEventId:cn,launchDarklyIntegration:br,lazyLoadIntegration:ar,linkedErrorsIntegration:nr,logger:fn,makeBrowserOfflineTransport:_r,makeFetchTransport:Hn,makeMultiplexedTransport:ln,metrics:pn,moduleMetadataIntegration:dn,onLoad:Xn,openFeatureIntegration:Pr,opera10StackLineParser:Wn,opera11StackLineParser:Yn,parameterize:mn,reactErrorHandler:Hr,reactRouterV3BrowserTracingIntegration:Zr,reactRouterV4BrowserTracingIntegration:na,reactRouterV5BrowserTracingIntegration:ra,reactRouterV6BrowserTracingIntegration:Ra,reactRouterV7BrowserTracingIntegration:Pa,registerSpanErrorInstrumentation:hn,registerWebWorker:Or,replayCanvasIntegration:lr,replayIntegration:fr,reportPageLoaded:gr,reportingObserverIntegration:or,rewriteFramesIntegration:gn,sendFeedback:dr,setActiveSpanInBrowser:yr,setContext:Gt,setCurrentClient:yn,setExtra:_n,setExtras:Sn,setHttpStatus:Rn,setMeasurement:vn,setTag:En,setTags:bn,setUser:Tn,showReportDialog:Nt,spanToBaggageHeader:Pn,spanToJSON:$,spanToTraceHeader:In,spotlightBrowserIntegration:Rr,startBrowserTracingNavigationSpan:et,startBrowserTracingPageLoadSpan:tt,startInactiveSpan:Q,startNewTrace:An,startSession:Nn,startSpan:wn,startSpanManual:On,statsigIntegration:Nr,supabaseIntegration:Cn,suppressTracing:$n,tanstackRouterBrowserTracingIntegration:ea,thirdPartyErrorFilterIntegration:xn,unleashIntegration:Ir,updateSpanName:Mn,useProfiler:zr,webWorkerIntegration:Cr,winjsStackLineParser:Vn,withActiveSpan:At,withErrorBoundary:Gr,withIsolationScope:Ln,withProfiler:Vr,withScope:Ot,withSentryReactRouterV6Routing:Ta,withSentryReactRouterV7Routing:Ia,withSentryRouting:oa,wrapCreateBrowserRouterV6:Ea,wrapCreateBrowserRouterV7:Aa,wrapCreateMemoryRouterV6:ba,wrapCreateMemoryRouterV7:Na,wrapUseRoutesV6:va,wrapUseRoutesV7:wa,zodErrorsIntegration:kn},Symbol.toStringTag,{value:"Module"}));export{xa as R,$a as a,xr as b,Ca as c,Mr as d,Zt as g,Ma as i,O as r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
async function n(){return[]}export{n as loadExternalPackages};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var g;(function(r){r.assertEqual=a=>{};function e(a){}r.assertIs=e;function t(a){throw new Error}r.assertNever=t,r.arrayToEnum=a=>{const n={};for(const i of a)n[i]=i;return n},r.getValidEnumValues=a=>{const n=r.objectKeys(a).filter(o=>typeof a[a[o]]!="number"),i={};for(const o of n)i[o]=a[o];return r.objectValues(i)},r.objectValues=a=>r.objectKeys(a).map(function(n){return a[n]}),r.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const n=[];for(const i in a)Object.prototype.hasOwnProperty.call(a,i)&&n.push(i);return n},r.find=(a,n)=>{for(const i of a)if(n(i))return i},r.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&Number.isFinite(a)&&Math.floor(a)===a;function s(a,n=" | "){return a.map(i=>typeof i=="string"?`'${i}'`:i).join(n)}r.joinValues=s,r.jsonStringifyReplacer=(a,n)=>typeof n=="bigint"?n.toString():n})(g||(g={}));var ie;(function(r){r.mergeShapes=(e,t)=>({...e,...t})})(ie||(ie={}));const u=g.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),S=r=>{switch(typeof r){case"undefined":return u.undefined;case"string":return u.string;case"number":return Number.isNaN(r)?u.nan:u.number;case"boolean":return u.boolean;case"function":return u.function;case"bigint":return u.bigint;case"symbol":return u.symbol;case"object":return Array.isArray(r)?u.array:r===null?u.null:r.then&&typeof r.then=="function"&&r.catch&&typeof r.catch=="function"?u.promise:typeof Map<"u"&&r instanceof Map?u.map:typeof Set<"u"&&r instanceof Set?u.set:typeof Date<"u"&&r instanceof Date?u.date:u.object;default:return u.unknown}},d=g.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class O extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=s=>{this.issues=[...this.issues,s]},this.addIssues=(s=[])=>{this.issues=[...this.issues,...s]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){const t=e||function(n){return n.message},s={_errors:[]},a=n=>{for(const i of n.issues)if(i.code==="invalid_union")i.unionErrors.map(a);else if(i.code==="invalid_return_type")a(i.returnTypeError);else if(i.code==="invalid_arguments")a(i.argumentsError);else if(i.path.length===0)s._errors.push(t(i));else{let o=s,h=0;for(;h<i.path.length;){const f=i.path[h];h===i.path.length-1?(o[f]=o[f]||{_errors:[]},o[f]._errors.push(t(i))):o[f]=o[f]||{_errors:[]},o=o[f],h++}}};return a(this),s}static assert(e){if(!(e instanceof O))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,g.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=t=>t.message){const t={},s=[];for(const a of this.issues)if(a.path.length>0){const n=a.path[0];t[n]=t[n]||[],t[n].push(e(a))}else s.push(e(a));return{formErrors:s,fieldErrors:t}}get formErrors(){return this.flatten()}}O.create=r=>new O(r);const Y=(r,e)=>{let t;switch(r.code){case d.invalid_type:r.received===u.undefined?t="Required":t=`Expected ${r.expected}, received ${r.received}`;break;case d.invalid_literal:t=`Invalid literal value, expected ${JSON.stringify(r.expected,g.jsonStringifyReplacer)}`;break;case d.unrecognized_keys:t=`Unrecognized key(s) in object: ${g.joinValues(r.keys,", ")}`;break;case d.invalid_union:t="Invalid input";break;case d.invalid_union_discriminator:t=`Invalid discriminator value. Expected ${g.joinValues(r.options)}`;break;case d.invalid_enum_value:t=`Invalid enum value. Expected ${g.joinValues(r.options)}, received '${r.received}'`;break;case d.invalid_arguments:t="Invalid function arguments";break;case d.invalid_return_type:t="Invalid function return type";break;case d.invalid_date:t="Invalid date";break;case d.invalid_string:typeof r.validation=="object"?"includes"in r.validation?(t=`Invalid input: must include "${r.validation.includes}"`,typeof r.validation.position=="number"&&(t=`${t} at one or more positions greater than or equal to ${r.validation.position}`)):"startsWith"in r.validation?t=`Invalid input: must start with "${r.validation.startsWith}"`:"endsWith"in r.validation?t=`Invalid input: must end with "${r.validation.endsWith}"`:g.assertNever(r.validation):r.validation!=="regex"?t=`Invalid ${r.validation}`:t="Invalid";break;case d.too_small:r.type==="array"?t=`Array must contain ${r.exact?"exactly":r.inclusive?"at least":"more than"} ${r.minimum} element(s)`:r.type==="string"?t=`String must contain ${r.exact?"exactly":r.inclusive?"at least":"over"} ${r.minimum} character(s)`:r.type==="number"?t=`Number must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${r.minimum}`:r.type==="bigint"?t=`Number must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${r.minimum}`:r.type==="date"?t=`Date must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(r.minimum))}`:t="Invalid input";break;case d.too_big:r.type==="array"?t=`Array must contain ${r.exact?"exactly":r.inclusive?"at most":"less than"} ${r.maximum} element(s)`:r.type==="string"?t=`String must contain ${r.exact?"exactly":r.inclusive?"at most":"under"} ${r.maximum} character(s)`:r.type==="number"?t=`Number must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="bigint"?t=`BigInt must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="date"?t=`Date must be ${r.exact?"exactly":r.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(r.maximum))}`:t="Invalid input";break;case d.custom:t="Invalid input";break;case d.invalid_intersection_types:t="Intersection results could not be merged";break;case d.not_multiple_of:t=`Number must be a multiple of ${r.multipleOf}`;break;case d.not_finite:t="Number must be finite";break;default:t=e.defaultError,g.assertNever(r)}return{message:t}};let xe=Y;function ke(){return xe}const be=r=>{const{data:e,path:t,errorMaps:s,issueData:a}=r,n=[...t,...a.path||[]],i={...a,path:n};if(a.message!==void 0)return{...a,path:n,message:a.message};let o="";const h=s.filter(f=>!!f).slice().reverse();for(const f of h)o=f(i,{data:e,defaultError:o}).message;return{...a,path:n,message:o}};function c(r,e){const t=ke(),s=be({issueData:e,data:r.data,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,t,t===Y?void 0:Y].filter(a=>!!a)});r.common.issues.push(s)}class k{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,t){const s=[];for(const a of t){if(a.status==="aborted")return p;a.status==="dirty"&&e.dirty(),s.push(a.value)}return{status:e.value,value:s}}static async mergeObjectAsync(e,t){const s=[];for(const a of t){const n=await a.key,i=await a.value;s.push({key:n,value:i})}return k.mergeObjectSync(e,s)}static mergeObjectSync(e,t){const s={};for(const a of t){const{key:n,value:i}=a;if(n.status==="aborted"||i.status==="aborted")return p;n.status==="dirty"&&e.dirty(),i.status==="dirty"&&e.dirty(),n.value!=="__proto__"&&(typeof i.value<"u"||a.alwaysSet)&&(s[n.value]=i.value)}return{status:e.value,value:s}}}const p=Object.freeze({status:"aborted"}),L=r=>({status:"dirty",value:r}),b=r=>({status:"valid",value:r}),oe=r=>r.status==="aborted",de=r=>r.status==="dirty",j=r=>r.status==="valid",D=r=>typeof Promise<"u"&&r instanceof Promise;var l;(function(r){r.errToObj=e=>typeof e=="string"?{message:e}:e||{},r.toString=e=>typeof e=="string"?e:e?.message})(l||(l={}));class T{constructor(e,t,s,a){this._cachedPath=[],this.parent=e,this.data=t,this._path=s,this._key=a}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const ce=(r,e)=>{if(j(e))return{success:!0,data:e.value};if(!r.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new O(r.common.issues);return this._error=t,this._error}}};function y(r){if(!r)return{};const{errorMap:e,invalid_type_error:t,required_error:s,description:a}=r;if(e&&(t||s))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:a}:{errorMap:(i,o)=>{const{message:h}=r;return i.code==="invalid_enum_value"?{message:h??o.defaultError}:typeof o.data>"u"?{message:h??s??o.defaultError}:i.code!=="invalid_type"?{message:o.defaultError}:{message:h??t??o.defaultError}},description:a}}class _{get description(){return this._def.description}_getType(e){return S(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:S(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new k,ctx:{common:e.parent.common,data:e.data,parsedType:S(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(D(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const s=this.safeParse(e,t);if(s.success)return s.data;throw s.error}safeParse(e,t){const s={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:S(e)},a=this._parseSync({data:e,path:s.path,parent:s});return ce(s,a)}"~validate"(e){const t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:S(e)};if(!this["~standard"].async)try{const s=this._parseSync({data:e,path:[],parent:t});return j(s)?{value:s.value}:{issues:t.common.issues}}catch(s){s?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(s=>j(s)?{value:s.value}:{issues:t.common.issues})}async parseAsync(e,t){const s=await this.safeParseAsync(e,t);if(s.success)return s.data;throw s.error}async safeParseAsync(e,t){const s={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:S(e)},a=this._parse({data:e,path:s.path,parent:s}),n=await(D(a)?a:Promise.resolve(a));return ce(s,n)}refine(e,t){const s=a=>typeof t=="string"||typeof t>"u"?{message:t}:typeof t=="function"?t(a):t;return this._refinement((a,n)=>{const i=e(a),o=()=>n.addIssue({code:d.custom,...s(a)});return typeof Promise<"u"&&i instanceof Promise?i.then(h=>h?!0:(o(),!1)):i?!0:(o(),!1)})}refinement(e,t){return this._refinement((s,a)=>e(s)?!0:(a.addIssue(typeof t=="function"?t(s,a):t),!1))}_refinement(e){return new $({schema:this,typeName:m.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:t=>this["~validate"](t)}}optional(){return N.create(this,this._def)}nullable(){return V.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return w.create(this)}promise(){return q.create(this,this._def)}or(e){return B.create([this,e],this._def)}and(e){return F.create(this,e,this._def)}transform(e){return new $({...y(this._def),schema:this,typeName:m.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t=typeof e=="function"?e:()=>e;return new se({...y(this._def),innerType:this,defaultValue:t,typeName:m.ZodDefault})}brand(){return new We({typeName:m.ZodBranded,type:this,...y(this._def)})}catch(e){const t=typeof e=="function"?e:()=>e;return new re({...y(this._def),innerType:this,catchValue:t,typeName:m.ZodCatch})}describe(e){const t=this.constructor;return new t({...this._def,description:e})}pipe(e){return ne.create(this,e)}readonly(){return ae.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const we=/^c[^\s-]{8,}$/i,Te=/^[0-9a-z]+$/,Ce=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Oe=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Se=/^[a-z0-9_-]{21}$/i,Ne=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Ae=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Ze=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Re="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let J;const je=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Ie=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Ee=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,$e=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Ve=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Me=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,ye="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Le=new RegExp(`^${ye}$`);function _e(r){let e="[0-5]\\d";r.precision?e=`${e}\\.\\d{${r.precision}}`:r.precision==null&&(e=`${e}(\\.\\d+)?`);const t=r.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${t}`}function ze(r){return new RegExp(`^${_e(r)}$`)}function Pe(r){let e=`${ye}T${_e(r)}`;const t=[];return t.push(r.local?"Z?":"Z"),r.offset&&t.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${t.join("|")})`,new RegExp(`^${e}$`)}function De(r,e){return!!((e==="v4"||!e)&&je.test(r)||(e==="v6"||!e)&&Ee.test(r))}function Ue(r,e){if(!Ne.test(r))return!1;try{const[t]=r.split(".");if(!t)return!1;const s=t.replace(/-/g,"+").replace(/_/g,"/").padEnd(t.length+(4-t.length%4)%4,"="),a=JSON.parse(atob(s));return!(typeof a!="object"||a===null||"typ"in a&&a?.typ!=="JWT"||!a.alg||e&&a.alg!==e)}catch{return!1}}function Be(r,e){return!!((e==="v4"||!e)&&Ie.test(r)||(e==="v6"||!e)&&$e.test(r))}class C extends _{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==u.string){const n=this._getOrReturnCtx(e);return c(n,{code:d.invalid_type,expected:u.string,received:n.parsedType}),p}const s=new k;let a;for(const n of this._def.checks)if(n.kind==="min")e.data.length<n.value&&(a=this._getOrReturnCtx(e,a),c(a,{code:d.too_small,minimum:n.value,type:"string",inclusive:!0,exact:!1,message:n.message}),s.dirty());else if(n.kind==="max")e.data.length>n.value&&(a=this._getOrReturnCtx(e,a),c(a,{code:d.too_big,maximum:n.value,type:"string",inclusive:!0,exact:!1,message:n.message}),s.dirty());else if(n.kind==="length"){const i=e.data.length>n.value,o=e.data.length<n.value;(i||o)&&(a=this._getOrReturnCtx(e,a),i?c(a,{code:d.too_big,maximum:n.value,type:"string",inclusive:!0,exact:!0,message:n.message}):o&&c(a,{code:d.too_small,minimum:n.value,type:"string",inclusive:!0,exact:!0,message:n.message}),s.dirty())}else if(n.kind==="email")Ze.test(e.data)||(a=this._getOrReturnCtx(e,a),c(a,{validation:"email",code:d.invalid_string,message:n.message}),s.dirty());else if(n.kind==="emoji")J||(J=new RegExp(Re,"u")),J.test(e.data)||(a=this._getOrReturnCtx(e,a),c(a,{validation:"emoji",code:d.invalid_string,message:n.message}),s.dirty());else if(n.kind==="uuid")Oe.test(e.data)||(a=this._getOrReturnCtx(e,a),c(a,{validation:"uuid",code:d.invalid_string,message:n.message}),s.dirty());else if(n.kind==="nanoid")Se.test(e.data)||(a=this._getOrReturnCtx(e,a),c(a,{validation:"nanoid",code:d.invalid_string,message:n.message}),s.dirty());else if(n.kind==="cuid")we.test(e.data)||(a=this._getOrReturnCtx(e,a),c(a,{validation:"cuid",code:d.invalid_string,message:n.message}),s.dirty());else if(n.kind==="cuid2")Te.test(e.data)||(a=this._getOrReturnCtx(e,a),c(a,{validation:"cuid2",code:d.invalid_string,message:n.message}),s.dirty());else if(n.kind==="ulid")Ce.test(e.data)||(a=this._getOrReturnCtx(e,a),c(a,{validation:"ulid",code:d.invalid_string,message:n.message}),s.dirty());else if(n.kind==="url")try{new URL(e.data)}catch{a=this._getOrReturnCtx(e,a),c(a,{validation:"url",code:d.invalid_string,message:n.message}),s.dirty()}else n.kind==="regex"?(n.regex.lastIndex=0,n.regex.test(e.data)||(a=this._getOrReturnCtx(e,a),c(a,{validation:"regex",code:d.invalid_string,message:n.message}),s.dirty())):n.kind==="trim"?e.data=e.data.trim():n.kind==="includes"?e.data.includes(n.value,n.position)||(a=this._getOrReturnCtx(e,a),c(a,{code:d.invalid_string,validation:{includes:n.value,position:n.position},message:n.message}),s.dirty()):n.kind==="toLowerCase"?e.data=e.data.toLowerCase():n.kind==="toUpperCase"?e.data=e.data.toUpperCase():n.kind==="startsWith"?e.data.startsWith(n.value)||(a=this._getOrReturnCtx(e,a),c(a,{code:d.invalid_string,validation:{startsWith:n.value},message:n.message}),s.dirty()):n.kind==="endsWith"?e.data.endsWith(n.value)||(a=this._getOrReturnCtx(e,a),c(a,{code:d.invalid_string,validation:{endsWith:n.value},message:n.message}),s.dirty()):n.kind==="datetime"?Pe(n).test(e.data)||(a=this._getOrReturnCtx(e,a),c(a,{code:d.invalid_string,validation:"datetime",message:n.message}),s.dirty()):n.kind==="date"?Le.test(e.data)||(a=this._getOrReturnCtx(e,a),c(a,{code:d.invalid_string,validation:"date",message:n.message}),s.dirty()):n.kind==="time"?ze(n).test(e.data)||(a=this._getOrReturnCtx(e,a),c(a,{code:d.invalid_string,validation:"time",message:n.message}),s.dirty()):n.kind==="duration"?Ae.test(e.data)||(a=this._getOrReturnCtx(e,a),c(a,{validation:"duration",code:d.invalid_string,message:n.message}),s.dirty()):n.kind==="ip"?De(e.data,n.version)||(a=this._getOrReturnCtx(e,a),c(a,{validation:"ip",code:d.invalid_string,message:n.message}),s.dirty()):n.kind==="jwt"?Ue(e.data,n.alg)||(a=this._getOrReturnCtx(e,a),c(a,{validation:"jwt",code:d.invalid_string,message:n.message}),s.dirty()):n.kind==="cidr"?Be(e.data,n.version)||(a=this._getOrReturnCtx(e,a),c(a,{validation:"cidr",code:d.invalid_string,message:n.message}),s.dirty()):n.kind==="base64"?Ve.test(e.data)||(a=this._getOrReturnCtx(e,a),c(a,{validation:"base64",code:d.invalid_string,message:n.message}),s.dirty()):n.kind==="base64url"?Me.test(e.data)||(a=this._getOrReturnCtx(e,a),c(a,{validation:"base64url",code:d.invalid_string,message:n.message}),s.dirty()):g.assertNever(n);return{status:s.value,value:e.data}}_regex(e,t,s){return this.refinement(a=>e.test(a),{validation:t,code:d.invalid_string,...l.errToObj(s)})}_addCheck(e){return new C({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...l.errToObj(e)})}url(e){return this._addCheck({kind:"url",...l.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...l.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...l.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...l.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...l.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...l.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...l.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...l.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...l.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...l.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...l.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...l.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...l.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...l.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...l.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...l.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...l.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...l.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...l.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...l.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...l.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...l.errToObj(t)})}nonempty(e){return this.min(1,l.errToObj(e))}trim(){return new C({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new C({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new C({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}}C.create=r=>new C({checks:[],typeName:m.ZodString,coerce:r?.coerce??!1,...y(r)});function Fe(r,e){const t=(r.toString().split(".")[1]||"").length,s=(e.toString().split(".")[1]||"").length,a=t>s?t:s,n=Number.parseInt(r.toFixed(a).replace(".","")),i=Number.parseInt(e.toFixed(a).replace(".",""));return n%i/10**a}class I extends _{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==u.number){const n=this._getOrReturnCtx(e);return c(n,{code:d.invalid_type,expected:u.number,received:n.parsedType}),p}let s;const a=new k;for(const n of this._def.checks)n.kind==="int"?g.isInteger(e.data)||(s=this._getOrReturnCtx(e,s),c(s,{code:d.invalid_type,expected:"integer",received:"float",message:n.message}),a.dirty()):n.kind==="min"?(n.inclusive?e.data<n.value:e.data<=n.value)&&(s=this._getOrReturnCtx(e,s),c(s,{code:d.too_small,minimum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),a.dirty()):n.kind==="max"?(n.inclusive?e.data>n.value:e.data>=n.value)&&(s=this._getOrReturnCtx(e,s),c(s,{code:d.too_big,maximum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),a.dirty()):n.kind==="multipleOf"?Fe(e.data,n.value)!==0&&(s=this._getOrReturnCtx(e,s),c(s,{code:d.not_multiple_of,multipleOf:n.value,message:n.message}),a.dirty()):n.kind==="finite"?Number.isFinite(e.data)||(s=this._getOrReturnCtx(e,s),c(s,{code:d.not_finite,message:n.message}),a.dirty()):g.assertNever(n);return{status:a.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,l.toString(t))}gt(e,t){return this.setLimit("min",e,!1,l.toString(t))}lte(e,t){return this.setLimit("max",e,!0,l.toString(t))}lt(e,t){return this.setLimit("max",e,!1,l.toString(t))}setLimit(e,t,s,a){return new I({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:s,message:l.toString(a)}]})}_addCheck(e){return new I({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:l.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:l.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:l.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:l.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:l.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:l.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:l.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:l.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:l.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&g.isInteger(e.value))}get isFinite(){let e=null,t=null;for(const s of this._def.checks){if(s.kind==="finite"||s.kind==="int"||s.kind==="multipleOf")return!0;s.kind==="min"?(t===null||s.value>t)&&(t=s.value):s.kind==="max"&&(e===null||s.value<e)&&(e=s.value)}return Number.isFinite(t)&&Number.isFinite(e)}}I.create=r=>new I({checks:[],typeName:m.ZodNumber,coerce:r?.coerce||!1,...y(r)});class z extends _{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==u.bigint)return this._getInvalidInput(e);let s;const a=new k;for(const n of this._def.checks)n.kind==="min"?(n.inclusive?e.data<n.value:e.data<=n.value)&&(s=this._getOrReturnCtx(e,s),c(s,{code:d.too_small,type:"bigint",minimum:n.value,inclusive:n.inclusive,message:n.message}),a.dirty()):n.kind==="max"?(n.inclusive?e.data>n.value:e.data>=n.value)&&(s=this._getOrReturnCtx(e,s),c(s,{code:d.too_big,type:"bigint",maximum:n.value,inclusive:n.inclusive,message:n.message}),a.dirty()):n.kind==="multipleOf"?e.data%n.value!==BigInt(0)&&(s=this._getOrReturnCtx(e,s),c(s,{code:d.not_multiple_of,multipleOf:n.value,message:n.message}),a.dirty()):g.assertNever(n);return{status:a.value,value:e.data}}_getInvalidInput(e){const t=this._getOrReturnCtx(e);return c(t,{code:d.invalid_type,expected:u.bigint,received:t.parsedType}),p}gte(e,t){return this.setLimit("min",e,!0,l.toString(t))}gt(e,t){return this.setLimit("min",e,!1,l.toString(t))}lte(e,t){return this.setLimit("max",e,!0,l.toString(t))}lt(e,t){return this.setLimit("max",e,!1,l.toString(t))}setLimit(e,t,s,a){return new z({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:s,message:l.toString(a)}]})}_addCheck(e){return new z({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:l.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:l.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:l.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:l.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:l.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e}}z.create=r=>new z({checks:[],typeName:m.ZodBigInt,coerce:r?.coerce??!1,...y(r)});class H extends _{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==u.boolean){const s=this._getOrReturnCtx(e);return c(s,{code:d.invalid_type,expected:u.boolean,received:s.parsedType}),p}return b(e.data)}}H.create=r=>new H({typeName:m.ZodBoolean,coerce:r?.coerce||!1,...y(r)});class U extends _{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==u.date){const n=this._getOrReturnCtx(e);return c(n,{code:d.invalid_type,expected:u.date,received:n.parsedType}),p}if(Number.isNaN(e.data.getTime())){const n=this._getOrReturnCtx(e);return c(n,{code:d.invalid_date}),p}const s=new k;let a;for(const n of this._def.checks)n.kind==="min"?e.data.getTime()<n.value&&(a=this._getOrReturnCtx(e,a),c(a,{code:d.too_small,message:n.message,inclusive:!0,exact:!1,minimum:n.value,type:"date"}),s.dirty()):n.kind==="max"?e.data.getTime()>n.value&&(a=this._getOrReturnCtx(e,a),c(a,{code:d.too_big,message:n.message,inclusive:!0,exact:!1,maximum:n.value,type:"date"}),s.dirty()):g.assertNever(n);return{status:s.value,value:new Date(e.data.getTime())}}_addCheck(e){return new U({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:l.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:l.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)t.kind==="max"&&(e===null||t.value<e)&&(e=t.value);return e!=null?new Date(e):null}}U.create=r=>new U({checks:[],coerce:r?.coerce||!1,typeName:m.ZodDate,...y(r)});class ue extends _{_parse(e){if(this._getType(e)!==u.symbol){const s=this._getOrReturnCtx(e);return c(s,{code:d.invalid_type,expected:u.symbol,received:s.parsedType}),p}return b(e.data)}}ue.create=r=>new ue({typeName:m.ZodSymbol,...y(r)});class le extends _{_parse(e){if(this._getType(e)!==u.undefined){const s=this._getOrReturnCtx(e);return c(s,{code:d.invalid_type,expected:u.undefined,received:s.parsedType}),p}return b(e.data)}}le.create=r=>new le({typeName:m.ZodUndefined,...y(r)});class G extends _{_parse(e){if(this._getType(e)!==u.null){const s=this._getOrReturnCtx(e);return c(s,{code:d.invalid_type,expected:u.null,received:s.parsedType}),p}return b(e.data)}}G.create=r=>new G({typeName:m.ZodNull,...y(r)});class Q extends _{constructor(){super(...arguments),this._any=!0}_parse(e){return b(e.data)}}Q.create=r=>new Q({typeName:m.ZodAny,...y(r)});class X extends _{constructor(){super(...arguments),this._unknown=!0}_parse(e){return b(e.data)}}X.create=r=>new X({typeName:m.ZodUnknown,...y(r)});class A extends _{_parse(e){const t=this._getOrReturnCtx(e);return c(t,{code:d.invalid_type,expected:u.never,received:t.parsedType}),p}}A.create=r=>new A({typeName:m.ZodNever,...y(r)});class he extends _{_parse(e){if(this._getType(e)!==u.undefined){const s=this._getOrReturnCtx(e);return c(s,{code:d.invalid_type,expected:u.void,received:s.parsedType}),p}return b(e.data)}}he.create=r=>new he({typeName:m.ZodVoid,...y(r)});class w extends _{_parse(e){const{ctx:t,status:s}=this._processInputParams(e),a=this._def;if(t.parsedType!==u.array)return c(t,{code:d.invalid_type,expected:u.array,received:t.parsedType}),p;if(a.exactLength!==null){const i=t.data.length>a.exactLength.value,o=t.data.length<a.exactLength.value;(i||o)&&(c(t,{code:i?d.too_big:d.too_small,minimum:o?a.exactLength.value:void 0,maximum:i?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),s.dirty())}if(a.minLength!==null&&t.data.length<a.minLength.value&&(c(t,{code:d.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),s.dirty()),a.maxLength!==null&&t.data.length>a.maxLength.value&&(c(t,{code:d.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),s.dirty()),t.common.async)return Promise.all([...t.data].map((i,o)=>a.type._parseAsync(new T(t,i,t.path,o)))).then(i=>k.mergeArray(s,i));const n=[...t.data].map((i,o)=>a.type._parseSync(new T(t,i,t.path,o)));return k.mergeArray(s,n)}get element(){return this._def.type}min(e,t){return new w({...this._def,minLength:{value:e,message:l.toString(t)}})}max(e,t){return new w({...this._def,maxLength:{value:e,message:l.toString(t)}})}length(e,t){return new w({...this._def,exactLength:{value:e,message:l.toString(t)}})}nonempty(e){return this.min(1,e)}}w.create=(r,e)=>new w({type:r,minLength:null,maxLength:null,exactLength:null,typeName:m.ZodArray,...y(e)});function R(r){if(r instanceof x){const e={};for(const t in r.shape){const s=r.shape[t];e[t]=N.create(R(s))}return new x({...r._def,shape:()=>e})}else return r instanceof w?new w({...r._def,type:R(r.element)}):r instanceof N?N.create(R(r.unwrap())):r instanceof V?V.create(R(r.unwrap())):r instanceof Z?Z.create(r.items.map(e=>R(e))):r}class x extends _{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),t=g.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==u.object){const f=this._getOrReturnCtx(e);return c(f,{code:d.invalid_type,expected:u.object,received:f.parsedType}),p}const{status:s,ctx:a}=this._processInputParams(e),{shape:n,keys:i}=this._getCached(),o=[];if(!(this._def.catchall instanceof A&&this._def.unknownKeys==="strip"))for(const f in a.data)i.includes(f)||o.push(f);const h=[];for(const f of i){const v=n[f],M=a.data[f];h.push({key:{status:"valid",value:f},value:v._parse(new T(a,M,a.path,f)),alwaysSet:f in a.data})}if(this._def.catchall instanceof A){const f=this._def.unknownKeys;if(f==="passthrough")for(const v of o)h.push({key:{status:"valid",value:v},value:{status:"valid",value:a.data[v]}});else if(f==="strict")o.length>0&&(c(a,{code:d.unrecognized_keys,keys:o}),s.dirty());else if(f!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const f=this._def.catchall;for(const v of o){const M=a.data[v];h.push({key:{status:"valid",value:v},value:f._parse(new T(a,M,a.path,v)),alwaysSet:v in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const f=[];for(const v of h){const M=await v.key,ve=await v.value;f.push({key:M,value:ve,alwaysSet:v.alwaysSet})}return f}).then(f=>k.mergeObjectSync(s,f)):k.mergeObjectSync(s,h)}get shape(){return this._def.shape()}strict(e){return l.errToObj,new x({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(t,s)=>{const a=this._def.errorMap?.(t,s).message??s.defaultError;return t.code==="unrecognized_keys"?{message:l.errToObj(e).message??a}:{message:a}}}:{}})}strip(){return new x({...this._def,unknownKeys:"strip"})}passthrough(){return new x({...this._def,unknownKeys:"passthrough"})}extend(e){return new x({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new x({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:m.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new x({...this._def,catchall:e})}pick(e){const t={};for(const s of g.objectKeys(e))e[s]&&this.shape[s]&&(t[s]=this.shape[s]);return new x({...this._def,shape:()=>t})}omit(e){const t={};for(const s of g.objectKeys(this.shape))e[s]||(t[s]=this.shape[s]);return new x({...this._def,shape:()=>t})}deepPartial(){return R(this)}partial(e){const t={};for(const s of g.objectKeys(this.shape)){const a=this.shape[s];e&&!e[s]?t[s]=a:t[s]=a.optional()}return new x({...this._def,shape:()=>t})}required(e){const t={};for(const s of g.objectKeys(this.shape))if(e&&!e[s])t[s]=this.shape[s];else{let n=this.shape[s];for(;n instanceof N;)n=n._def.innerType;t[s]=n}return new x({...this._def,shape:()=>t})}keyof(){return ge(g.objectKeys(this.shape))}}x.create=(r,e)=>new x({shape:()=>r,unknownKeys:"strip",catchall:A.create(),typeName:m.ZodObject,...y(e)});x.strictCreate=(r,e)=>new x({shape:()=>r,unknownKeys:"strict",catchall:A.create(),typeName:m.ZodObject,...y(e)});x.lazycreate=(r,e)=>new x({shape:r,unknownKeys:"strip",catchall:A.create(),typeName:m.ZodObject,...y(e)});class B extends _{_parse(e){const{ctx:t}=this._processInputParams(e),s=this._def.options;function a(n){for(const o of n)if(o.result.status==="valid")return o.result;for(const o of n)if(o.result.status==="dirty")return t.common.issues.push(...o.ctx.common.issues),o.result;const i=n.map(o=>new O(o.ctx.common.issues));return c(t,{code:d.invalid_union,unionErrors:i}),p}if(t.common.async)return Promise.all(s.map(async n=>{const i={...t,common:{...t.common,issues:[]},parent:null};return{result:await n._parseAsync({data:t.data,path:t.path,parent:i}),ctx:i}})).then(a);{let n;const i=[];for(const h of s){const f={...t,common:{...t.common,issues:[]},parent:null},v=h._parseSync({data:t.data,path:t.path,parent:f});if(v.status==="valid")return v;v.status==="dirty"&&!n&&(n={result:v,ctx:f}),f.common.issues.length&&i.push(f.common.issues)}if(n)return t.common.issues.push(...n.ctx.common.issues),n.result;const o=i.map(h=>new O(h));return c(t,{code:d.invalid_union,unionErrors:o}),p}}get options(){return this._def.options}}B.create=(r,e)=>new B({options:r,typeName:m.ZodUnion,...y(e)});function K(r,e){const t=S(r),s=S(e);if(r===e)return{valid:!0,data:r};if(t===u.object&&s===u.object){const a=g.objectKeys(e),n=g.objectKeys(r).filter(o=>a.indexOf(o)!==-1),i={...r,...e};for(const o of n){const h=K(r[o],e[o]);if(!h.valid)return{valid:!1};i[o]=h.data}return{valid:!0,data:i}}else if(t===u.array&&s===u.array){if(r.length!==e.length)return{valid:!1};const a=[];for(let n=0;n<r.length;n++){const i=r[n],o=e[n],h=K(i,o);if(!h.valid)return{valid:!1};a.push(h.data)}return{valid:!0,data:a}}else return t===u.date&&s===u.date&&+r==+e?{valid:!0,data:r}:{valid:!1}}class F extends _{_parse(e){const{status:t,ctx:s}=this._processInputParams(e),a=(n,i)=>{if(oe(n)||oe(i))return p;const o=K(n.value,i.value);return o.valid?((de(n)||de(i))&&t.dirty(),{status:t.value,value:o.data}):(c(s,{code:d.invalid_intersection_types}),p)};return s.common.async?Promise.all([this._def.left._parseAsync({data:s.data,path:s.path,parent:s}),this._def.right._parseAsync({data:s.data,path:s.path,parent:s})]).then(([n,i])=>a(n,i)):a(this._def.left._parseSync({data:s.data,path:s.path,parent:s}),this._def.right._parseSync({data:s.data,path:s.path,parent:s}))}}F.create=(r,e,t)=>new F({left:r,right:e,typeName:m.ZodIntersection,...y(t)});class Z extends _{_parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.parsedType!==u.array)return c(s,{code:d.invalid_type,expected:u.array,received:s.parsedType}),p;if(s.data.length<this._def.items.length)return c(s,{code:d.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),p;!this._def.rest&&s.data.length>this._def.items.length&&(c(s,{code:d.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const n=[...s.data].map((i,o)=>{const h=this._def.items[o]||this._def.rest;return h?h._parse(new T(s,i,s.path,o)):null}).filter(i=>!!i);return s.common.async?Promise.all(n).then(i=>k.mergeArray(t,i)):k.mergeArray(t,n)}get items(){return this._def.items}rest(e){return new Z({...this._def,rest:e})}}Z.create=(r,e)=>{if(!Array.isArray(r))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Z({items:r,typeName:m.ZodTuple,rest:null,...y(e)})};class W extends _{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.parsedType!==u.object)return c(s,{code:d.invalid_type,expected:u.object,received:s.parsedType}),p;const a=[],n=this._def.keyType,i=this._def.valueType;for(const o in s.data)a.push({key:n._parse(new T(s,o,s.path,o)),value:i._parse(new T(s,s.data[o],s.path,o)),alwaysSet:o in s.data});return s.common.async?k.mergeObjectAsync(t,a):k.mergeObjectSync(t,a)}get element(){return this._def.valueType}static create(e,t,s){return t instanceof _?new W({keyType:e,valueType:t,typeName:m.ZodRecord,...y(s)}):new W({keyType:C.create(),valueType:e,typeName:m.ZodRecord,...y(t)})}}class fe extends _{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.parsedType!==u.map)return c(s,{code:d.invalid_type,expected:u.map,received:s.parsedType}),p;const a=this._def.keyType,n=this._def.valueType,i=[...s.data.entries()].map(([o,h],f)=>({key:a._parse(new T(s,o,s.path,[f,"key"])),value:n._parse(new T(s,h,s.path,[f,"value"]))}));if(s.common.async){const o=new Map;return Promise.resolve().then(async()=>{for(const h of i){const f=await h.key,v=await h.value;if(f.status==="aborted"||v.status==="aborted")return p;(f.status==="dirty"||v.status==="dirty")&&t.dirty(),o.set(f.value,v.value)}return{status:t.value,value:o}})}else{const o=new Map;for(const h of i){const f=h.key,v=h.value;if(f.status==="aborted"||v.status==="aborted")return p;(f.status==="dirty"||v.status==="dirty")&&t.dirty(),o.set(f.value,v.value)}return{status:t.value,value:o}}}}fe.create=(r,e,t)=>new fe({valueType:e,keyType:r,typeName:m.ZodMap,...y(t)});class P extends _{_parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.parsedType!==u.set)return c(s,{code:d.invalid_type,expected:u.set,received:s.parsedType}),p;const a=this._def;a.minSize!==null&&s.data.size<a.minSize.value&&(c(s,{code:d.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),t.dirty()),a.maxSize!==null&&s.data.size>a.maxSize.value&&(c(s,{code:d.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),t.dirty());const n=this._def.valueType;function i(h){const f=new Set;for(const v of h){if(v.status==="aborted")return p;v.status==="dirty"&&t.dirty(),f.add(v.value)}return{status:t.value,value:f}}const o=[...s.data.values()].map((h,f)=>n._parse(new T(s,h,s.path,f)));return s.common.async?Promise.all(o).then(h=>i(h)):i(o)}min(e,t){return new P({...this._def,minSize:{value:e,message:l.toString(t)}})}max(e,t){return new P({...this._def,maxSize:{value:e,message:l.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}P.create=(r,e)=>new P({valueType:r,minSize:null,maxSize:null,typeName:m.ZodSet,...y(e)});class ee extends _{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}ee.create=(r,e)=>new ee({getter:r,typeName:m.ZodLazy,...y(e)});class te extends _{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return c(t,{received:t.data,code:d.invalid_literal,expected:this._def.value}),p}return{status:"valid",value:e.data}}get value(){return this._def.value}}te.create=(r,e)=>new te({value:r,typeName:m.ZodLiteral,...y(e)});function ge(r,e){return new E({values:r,typeName:m.ZodEnum,...y(e)})}class E extends _{_parse(e){if(typeof e.data!="string"){const t=this._getOrReturnCtx(e),s=this._def.values;return c(t,{expected:g.joinValues(s),received:t.parsedType,code:d.invalid_type}),p}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){const t=this._getOrReturnCtx(e),s=this._def.values;return c(t,{received:t.data,code:d.invalid_enum_value,options:s}),p}return b(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return E.create(e,{...this._def,...t})}exclude(e,t=this._def){return E.create(this.options.filter(s=>!e.includes(s)),{...this._def,...t})}}E.create=ge;class me extends _{_parse(e){const t=g.getValidEnumValues(this._def.values),s=this._getOrReturnCtx(e);if(s.parsedType!==u.string&&s.parsedType!==u.number){const a=g.objectValues(t);return c(s,{expected:g.joinValues(a),received:s.parsedType,code:d.invalid_type}),p}if(this._cache||(this._cache=new Set(g.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){const a=g.objectValues(t);return c(s,{received:s.data,code:d.invalid_enum_value,options:a}),p}return b(e.data)}get enum(){return this._def.values}}me.create=(r,e)=>new me({values:r,typeName:m.ZodNativeEnum,...y(e)});class q extends _{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==u.promise&&t.common.async===!1)return c(t,{code:d.invalid_type,expected:u.promise,received:t.parsedType}),p;const s=t.parsedType===u.promise?t.data:Promise.resolve(t.data);return b(s.then(a=>this._def.type.parseAsync(a,{path:t.path,errorMap:t.common.contextualErrorMap})))}}q.create=(r,e)=>new q({type:r,typeName:m.ZodPromise,...y(e)});class $ extends _{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===m.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:s}=this._processInputParams(e),a=this._def.effect||null,n={addIssue:i=>{c(s,i),i.fatal?t.abort():t.dirty()},get path(){return s.path}};if(n.addIssue=n.addIssue.bind(n),a.type==="preprocess"){const i=a.transform(s.data,n);if(s.common.async)return Promise.resolve(i).then(async o=>{if(t.value==="aborted")return p;const h=await this._def.schema._parseAsync({data:o,path:s.path,parent:s});return h.status==="aborted"?p:h.status==="dirty"||t.value==="dirty"?L(h.value):h});{if(t.value==="aborted")return p;const o=this._def.schema._parseSync({data:i,path:s.path,parent:s});return o.status==="aborted"?p:o.status==="dirty"||t.value==="dirty"?L(o.value):o}}if(a.type==="refinement"){const i=o=>{const h=a.refinement(o,n);if(s.common.async)return Promise.resolve(h);if(h instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return o};if(s.common.async===!1){const o=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});return o.status==="aborted"?p:(o.status==="dirty"&&t.dirty(),i(o.value),{status:t.value,value:o.value})}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(o=>o.status==="aborted"?p:(o.status==="dirty"&&t.dirty(),i(o.value).then(()=>({status:t.value,value:o.value}))))}if(a.type==="transform")if(s.common.async===!1){const i=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});if(!j(i))return p;const o=a.transform(i.value,n);if(o instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:o}}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(i=>j(i)?Promise.resolve(a.transform(i.value,n)).then(o=>({status:t.value,value:o})):p);g.assertNever(a)}}$.create=(r,e,t)=>new $({schema:r,typeName:m.ZodEffects,effect:e,...y(t)});$.createWithPreprocess=(r,e,t)=>new $({schema:e,effect:{type:"preprocess",transform:r},typeName:m.ZodEffects,...y(t)});class N extends _{_parse(e){return this._getType(e)===u.undefined?b(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}N.create=(r,e)=>new N({innerType:r,typeName:m.ZodOptional,...y(e)});class V extends _{_parse(e){return this._getType(e)===u.null?b(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}V.create=(r,e)=>new V({innerType:r,typeName:m.ZodNullable,...y(e)});class se extends _{_parse(e){const{ctx:t}=this._processInputParams(e);let s=t.data;return t.parsedType===u.undefined&&(s=this._def.defaultValue()),this._def.innerType._parse({data:s,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}se.create=(r,e)=>new se({innerType:r,typeName:m.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...y(e)});class re extends _{_parse(e){const{ctx:t}=this._processInputParams(e),s={...t,common:{...t.common,issues:[]}},a=this._def.innerType._parse({data:s.data,path:s.path,parent:{...s}});return D(a)?a.then(n=>({status:"valid",value:n.status==="valid"?n.value:this._def.catchValue({get error(){return new O(s.common.issues)},input:s.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new O(s.common.issues)},input:s.data})}}removeCatch(){return this._def.innerType}}re.create=(r,e)=>new re({innerType:r,typeName:m.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...y(e)});class pe extends _{_parse(e){if(this._getType(e)!==u.nan){const s=this._getOrReturnCtx(e);return c(s,{code:d.invalid_type,expected:u.nan,received:s.parsedType}),p}return{status:"valid",value:e.data}}}pe.create=r=>new pe({typeName:m.ZodNaN,...y(r)});class We extends _{_parse(e){const{ctx:t}=this._processInputParams(e),s=t.data;return this._def.type._parse({data:s,path:t.path,parent:t})}unwrap(){return this._def.type}}class ne extends _{_parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.common.async)return(async()=>{const n=await this._def.in._parseAsync({data:s.data,path:s.path,parent:s});return n.status==="aborted"?p:n.status==="dirty"?(t.dirty(),L(n.value)):this._def.out._parseAsync({data:n.value,path:s.path,parent:s})})();{const a=this._def.in._parseSync({data:s.data,path:s.path,parent:s});return a.status==="aborted"?p:a.status==="dirty"?(t.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:s.path,parent:s})}}static create(e,t){return new ne({in:e,out:t,typeName:m.ZodPipeline})}}class ae extends _{_parse(e){const t=this._def.innerType._parse(e),s=a=>(j(a)&&(a.value=Object.freeze(a.value)),a);return D(t)?t.then(a=>s(a)):s(t)}unwrap(){return this._def.innerType}}ae.create=(r,e)=>new ae({innerType:r,typeName:m.ZodReadonly,...y(e)});var m;(function(r){r.ZodString="ZodString",r.ZodNumber="ZodNumber",r.ZodNaN="ZodNaN",r.ZodBigInt="ZodBigInt",r.ZodBoolean="ZodBoolean",r.ZodDate="ZodDate",r.ZodSymbol="ZodSymbol",r.ZodUndefined="ZodUndefined",r.ZodNull="ZodNull",r.ZodAny="ZodAny",r.ZodUnknown="ZodUnknown",r.ZodNever="ZodNever",r.ZodVoid="ZodVoid",r.ZodArray="ZodArray",r.ZodObject="ZodObject",r.ZodUnion="ZodUnion",r.ZodDiscriminatedUnion="ZodDiscriminatedUnion",r.ZodIntersection="ZodIntersection",r.ZodTuple="ZodTuple",r.ZodRecord="ZodRecord",r.ZodMap="ZodMap",r.ZodSet="ZodSet",r.ZodFunction="ZodFunction",r.ZodLazy="ZodLazy",r.ZodLiteral="ZodLiteral",r.ZodEnum="ZodEnum",r.ZodEffects="ZodEffects",r.ZodNativeEnum="ZodNativeEnum",r.ZodOptional="ZodOptional",r.ZodNullable="ZodNullable",r.ZodDefault="ZodDefault",r.ZodCatch="ZodCatch",r.ZodPromise="ZodPromise",r.ZodBranded="ZodBranded",r.ZodPipeline="ZodPipeline",r.ZodReadonly="ZodReadonly"})(m||(m={}));const qe=C.create,Je=I.create,Ye=H.create,He=G.create,Ge=Q.create,Qe=X.create;A.create;const Xe=w.create,Ke=x.create,et=B.create;F.create;Z.create;const tt=W.create,st=ee.create,rt=te.create,at=E.create;q.create;N.create;V.create;export{O as Z,et as a,rt as b,Ge as c,Xe as d,at as e,Ye as f,He as g,st as l,Je as n,Ke as o,tt as r,qe as s,Qe as u};
|
package/dist/index.html
CHANGED
|
@@ -22,8 +22,23 @@
|
|
|
22
22
|
<meta name="twitter:image" content="https://cf-ipfs.com/ipfs/bafkreigrmclndf2jpbolaq22535q2sw5t44uad3az3dpvkzrnt4lpjt63e">
|
|
23
23
|
<meta name="twitter:title" content="Connect">
|
|
24
24
|
<meta name="twitter:description" content="Navigate your organisation’s toughest operational challenges and steer your contributors to success with Connect. A navigation, collaboration and reporting tool for decentralised and open organisation.">
|
|
25
|
-
<script type="module" crossorigin src="/assets/index-
|
|
26
|
-
<link rel="
|
|
25
|
+
<script type="module" crossorigin src="/assets/index-BSTajiPh.js"></script>
|
|
26
|
+
<link rel="modulepreload" crossorigin href="/assets/sentry_browser-BFJlXALZ.js">
|
|
27
|
+
<link rel="modulepreload" crossorigin href="/assets/zod-C6yxFxyo.js">
|
|
28
|
+
<link rel="modulepreload" crossorigin href="/assets/sentry_react-C4W8xEsl.js">
|
|
29
|
+
<link rel="modulepreload" crossorigin href="/assets/document_model-DLxR7ZLO.js">
|
|
30
|
+
<link rel="modulepreload" crossorigin href="/assets/graphql-BS4Brs_E.js">
|
|
31
|
+
<link rel="modulepreload" crossorigin href="/assets/config-CU-aFfVJ.js">
|
|
32
|
+
<link rel="modulepreload" crossorigin href="/assets/document_drive-CP6paqKN.js">
|
|
33
|
+
<link rel="modulepreload" crossorigin href="/assets/reactor_browser-BbZdm6Aa.js">
|
|
34
|
+
<link rel="modulepreload" crossorigin href="/assets/common-n2B-GsjO.js">
|
|
35
|
+
<link rel="modulepreload" crossorigin href="/assets/design_system-CZfmC8Ij.js">
|
|
36
|
+
<link rel="modulepreload" crossorigin href="/assets/drive_explorer-IB_BS5Au.js">
|
|
37
|
+
<link rel="modulepreload" crossorigin href="/assets/design_system_connect-DHQbQvgv.js">
|
|
38
|
+
<link rel="modulepreload" crossorigin href="/assets/graphql_request-9RNJ00DB.js">
|
|
39
|
+
<link rel="modulepreload" crossorigin href="/assets/document_model_editor-ButtI7kP.js">
|
|
40
|
+
<link rel="stylesheet" crossorigin href="/assets/common-8r_LaZs4.css">
|
|
41
|
+
<link rel="stylesheet" crossorigin href="/assets/index-Br7E7qjt.css">
|
|
27
42
|
</head>
|
|
28
43
|
|
|
29
44
|
<body>
|
|
@@ -30,13 +30,15 @@ http {
|
|
|
30
30
|
server_name _;
|
|
31
31
|
root /app/dist;
|
|
32
32
|
|
|
33
|
-
location ${PH_CONNECT_BASE_PATH}assets/ {
|
|
33
|
+
location ^~ ${PH_CONNECT_BASE_PATH}assets/ {
|
|
34
34
|
alias /app/dist/assets/;
|
|
35
35
|
access_log off;
|
|
36
|
-
log_not_found off;
|
|
37
36
|
etag off;
|
|
38
37
|
expires max;
|
|
39
38
|
add_header Cache-Control "public, max-age=31536000, immutable";
|
|
39
|
+
|
|
40
|
+
# 404 if the file isn't there instead of falling back to index.html
|
|
41
|
+
try_files $uri =404;
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
location = ${PH_CONNECT_BASE_PATH}service-worker.js {
|
|
@@ -60,10 +62,6 @@ http {
|
|
|
60
62
|
add_header Cache-Control "public, must-revalidate";
|
|
61
63
|
}
|
|
62
64
|
|
|
63
|
-
location ${PH_CONNECT_BASE_PATH} {
|
|
64
|
-
try_files $uri $uri/ ${PH_CONNECT_BASE_PATH}index.html;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
65
|
location = ${PH_CONNECT_BASE_PATH}index.html {
|
|
68
66
|
alias /app/dist/index.html;
|
|
69
67
|
add_header Cache-Control "no-cache, no-store, must-revalidate";
|
|
@@ -71,18 +69,9 @@ http {
|
|
|
71
69
|
add_header Expires "0";
|
|
72
70
|
}
|
|
73
71
|
|
|
74
|
-
#
|
|
75
|
-
location
|
|
76
|
-
|
|
77
|
-
set $redirect_scheme $scheme;
|
|
78
|
-
if ($http_x_forwarded_proto = 'https') {
|
|
79
|
-
set $redirect_scheme https;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
if ($request_uri !~ ^${PH_CONNECT_BASE_PATH}) {
|
|
83
|
-
return 301 $redirect_scheme://$host${PH_CONNECT_BASE_PATH};
|
|
84
|
-
}
|
|
85
|
-
return 404;
|
|
72
|
+
# Main location: serve app with SPA fallback
|
|
73
|
+
location ${PH_CONNECT_BASE_PATH} {
|
|
74
|
+
try_files $uri $uri/ /index.html;
|
|
86
75
|
}
|
|
87
76
|
}
|
|
88
77
|
}
|
package/lib/package.copy.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerhousedao/connect",
|
|
3
3
|
"productName": "Powerhouse-Connect",
|
|
4
|
-
"version": "4.1.0-dev.
|
|
4
|
+
"version": "4.1.0-dev.106",
|
|
5
5
|
"description": "Powerhouse Connect",
|
|
6
6
|
"main": "dist/index.html",
|
|
7
7
|
"type": "module",
|
|
@@ -22,91 +22,61 @@
|
|
|
22
22
|
"./package.copy.json"
|
|
23
23
|
],
|
|
24
24
|
"exports": {
|
|
25
|
-
"./package.json": "./package.copy.json",
|
|
26
25
|
".": {
|
|
27
26
|
"source": "./src/index.ts",
|
|
28
27
|
"import": "./lib/src/index.js",
|
|
29
28
|
"types": "./lib/src/index.d.ts"
|
|
30
29
|
},
|
|
30
|
+
"./package.json": "./package.copy.json",
|
|
31
31
|
"./main.js": {
|
|
32
32
|
"source": "./src/main.tsx",
|
|
33
33
|
"import": "./lib/src/main.js",
|
|
34
34
|
"types": "./lib/src/main.d.ts"
|
|
35
35
|
},
|
|
36
|
-
"
|
|
37
|
-
"source": "./src
|
|
38
|
-
"import": "./lib/src
|
|
39
|
-
"types": "./lib/src
|
|
36
|
+
"./*.js": {
|
|
37
|
+
"source": "./src/*.ts",
|
|
38
|
+
"import": "./lib/src/*.js",
|
|
39
|
+
"types": "./lib/src/*.d.ts"
|
|
40
40
|
},
|
|
41
41
|
"./components": {
|
|
42
42
|
"source": "./src/components/index.ts",
|
|
43
43
|
"import": "./lib/src/components/index.js",
|
|
44
44
|
"types": "./lib/src/components/index.d.ts"
|
|
45
45
|
},
|
|
46
|
-
"./
|
|
47
|
-
"source": "./src/
|
|
48
|
-
"import": "./lib/src/
|
|
49
|
-
"types": "./lib/src/
|
|
50
|
-
},
|
|
51
|
-
"./hooks": {
|
|
52
|
-
"source": "./src/hooks/index.ts",
|
|
53
|
-
"import": "./lib/src/hooks/index.js",
|
|
54
|
-
"types": "./lib/src/hooks/index.d.ts"
|
|
55
|
-
},
|
|
56
|
-
"./hooks/*": {
|
|
57
|
-
"source": "./src/hooks/*",
|
|
58
|
-
"import": "./lib/src/hooks/*.js",
|
|
59
|
-
"types": "./lib/src/hooks/*.d.ts"
|
|
46
|
+
"./pages": {
|
|
47
|
+
"source": "./src/pages/index.ts",
|
|
48
|
+
"import": "./lib/src/pages/index.js",
|
|
49
|
+
"types": "./lib/src/pages/index.d.ts"
|
|
60
50
|
},
|
|
61
51
|
"./services": {
|
|
62
52
|
"source": "./src/services/index.ts",
|
|
63
53
|
"import": "./lib/src/services/index.js",
|
|
64
54
|
"types": "./lib/src/services/index.d.ts"
|
|
65
55
|
},
|
|
66
|
-
"./services/*": {
|
|
67
|
-
"source": "./src/services/*",
|
|
68
|
-
"import": "./lib/src/services/*.js",
|
|
69
|
-
"types": "./lib/src/services/*.d.ts"
|
|
70
|
-
},
|
|
71
|
-
"./store": {
|
|
72
|
-
"source": "./src/store/index.ts",
|
|
73
|
-
"import": "./lib/src/store/index.js",
|
|
74
|
-
"types": "./lib/src/store/index.d.ts"
|
|
75
|
-
},
|
|
76
|
-
"./store/*": {
|
|
77
|
-
"source": "./src/store/*",
|
|
78
|
-
"import": "./lib/src/store/*.js",
|
|
79
|
-
"types": "./lib/src/store/*.d.ts"
|
|
80
|
-
},
|
|
81
56
|
"./context": {
|
|
82
57
|
"source": "./src/context/index.ts",
|
|
83
58
|
"import": "./lib/src/context/index.js",
|
|
84
59
|
"types": "./lib/src/context/index.d.ts"
|
|
85
60
|
},
|
|
86
|
-
"./
|
|
87
|
-
"source": "./src/
|
|
88
|
-
"import": "./lib/src/
|
|
89
|
-
"types": "./lib/src/
|
|
61
|
+
"./hooks": {
|
|
62
|
+
"source": "./src/hooks/index.ts",
|
|
63
|
+
"import": "./lib/src/hooks/index.js",
|
|
64
|
+
"types": "./lib/src/hooks/index.d.ts"
|
|
65
|
+
},
|
|
66
|
+
"./store": {
|
|
67
|
+
"source": "./src/store/index.ts",
|
|
68
|
+
"import": "./lib/src/store/index.js",
|
|
69
|
+
"types": "./lib/src/store/index.d.ts"
|
|
90
70
|
},
|
|
91
71
|
"./utils": {
|
|
92
72
|
"source": "./src/utils/index.ts",
|
|
93
73
|
"import": "./lib/src/utils/index.js",
|
|
94
74
|
"types": "./lib/src/utils/index.d.ts"
|
|
95
75
|
},
|
|
96
|
-
"./
|
|
97
|
-
"source": "./src/
|
|
98
|
-
"import": "./lib/src/
|
|
99
|
-
"types": "./lib/src/
|
|
100
|
-
},
|
|
101
|
-
"./pages": {
|
|
102
|
-
"source": "./src/pages/index.ts",
|
|
103
|
-
"import": "./lib/src/pages/index.js",
|
|
104
|
-
"types": "./lib/src/pages/index.d.ts"
|
|
105
|
-
},
|
|
106
|
-
"./pages/*": {
|
|
107
|
-
"source": "./src/pages/*",
|
|
108
|
-
"import": "./lib/src/pages/*.js",
|
|
109
|
-
"types": "./lib/src/pages/*.d.ts"
|
|
76
|
+
"./config": {
|
|
77
|
+
"source": "./src/connect.config.ts",
|
|
78
|
+
"import": "./lib/src/connect.config.js",
|
|
79
|
+
"types": "./lib/src/connect.config.d.ts"
|
|
110
80
|
},
|
|
111
81
|
"./i18n": {
|
|
112
82
|
"source": "./src/i18n/index.ts",
|
|
@@ -153,7 +123,6 @@
|
|
|
153
123
|
"@openfeature/core": "^1.9.1",
|
|
154
124
|
"@openfeature/web-sdk": "^1.6.2",
|
|
155
125
|
"@powerhousedao/analytics-engine-core": "^0.5.0",
|
|
156
|
-
"@powerhousedao/builder-tools": "workspace:*",
|
|
157
126
|
"@powerhousedao/common": "workspace:*",
|
|
158
127
|
"@powerhousedao/config": "workspace:*",
|
|
159
128
|
"@powerhousedao/design-system": "workspace:*",
|
|
@@ -185,9 +154,10 @@
|
|
|
185
154
|
"vite": "^7.1.9",
|
|
186
155
|
"vite-plugin-html": "^3.2.2",
|
|
187
156
|
"vite-plugin-node-polyfills": "^0.24.0",
|
|
188
|
-
"vite-plugin-svgr": "^4.5.0"
|
|
189
|
-
|
|
190
|
-
|
|
157
|
+
"vite-plugin-svgr": "^4.5.0",
|
|
158
|
+
"zod": "^3.24.3",
|
|
159
|
+
"@powerhousedao/builder-tools": "workspace:*",
|
|
160
|
+
"@powerhousedao/document-engineering": "^1.39.0",
|
|
191
161
|
"@types/cypress": "^1.1.6",
|
|
192
162
|
"cypress": "^14.5.4",
|
|
193
163
|
"vite-bundle-analyzer": "^1.2.3"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { connectConfig } from "@powerhousedao/connect/config";
|
|
2
|
+
import { useAcceptedCookies } from "@powerhousedao/connect/hooks";
|
|
2
3
|
import { useEffect } from "react";
|
|
3
|
-
import { useAcceptedCookies } from "@powerhousedao/connect/hooks/useAcceptedCookies";
|
|
4
4
|
function gtag(...args) {
|
|
5
5
|
window.dataLayer?.push(...args);
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../../src/components/analytics.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../../src/components/analytics.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASlC,SAAS,IAAI,CAAC,GAAG,IAAuB;IACtC,MAAM,CAAC,SAAS,EAAE,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC;AAClC,CAAC;AAED,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,EAAE;IAC5B,MAAM,YAAY,GAAG,aAAa,CAAC,YAAY,CAAC;IAChD,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,GAAG,kBAAkB,EAAE,CAAC;IAC7C,MAAM,YAAY,GAAG,YAAY,IAAI,SAAS,CAAC;IAE/C,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,YAAY,EAAE,CAAC;YACjB,2BAA2B;YAC3B,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;YAChD,MAAM,CAAC,GAAG,GAAG,+CAA+C,YAAY,EAAE,CAAC;YAC3E,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC;YACpB,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;YAElC,gBAAgB;YAChB,MAAM,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,IAAI,EAAE,CAAC;YAE1C,IAAI,CAAC,IAAI,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;YACvB,IAAI,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;YAE7B,2CAA2C;YAC3C,OAAO,GAAG,EAAE;gBACV,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;YACpC,CAAC,CAAC;QACJ,CAAC;IACH,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC;IAEjC,OAAO,IAAI,CAAC;AACd,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-loader.d.ts","sourceRoot":"","sources":["../../../src/components/app-loader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app-loader.d.ts","sourceRoot":"","sources":["../../../src/components/app-loader.tsx"],"names":[],"mappings":"AAIA,OAAO,EAA8B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnE,OAAO,6BAA6B,CAAC;AAErC,eAAO,MAAM,IAAI,qDAGW;IAAE,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,eAOlD,CAAC;AAEH,eAAO,MAAM,SAAS,+CAYrB,CAAC"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { App } from "@powerhousedao/connect/components
|
|
3
|
-
import { AppSkeleton } from "@powerhousedao/connect/components/app-skeleton";
|
|
4
|
-
import { CookieBanner } from "@powerhousedao/connect/components/cookie-banner";
|
|
5
|
-
import { ModalsContainer } from "@powerhousedao/connect/components/modal/modals-container";
|
|
2
|
+
import { App, AppSkeleton, CookieBanner, ModalsContainer } from "@powerhousedao/connect/components";
|
|
6
3
|
import { useCheckLatestVersion } from "@powerhousedao/connect/hooks";
|
|
7
|
-
import "@powerhousedao/connect/i18n";
|
|
8
4
|
import { useSubscribeToVetraPackages } from "@powerhousedao/connect/services";
|
|
9
5
|
import { createReactor, useSetSentryUser } from "@powerhousedao/connect/store";
|
|
10
6
|
import { lazy, StrictMode, Suspense } from "react";
|
|
7
|
+
import "@powerhousedao/connect/i18n";
|
|
11
8
|
export const Load = lazy(async () => {
|
|
12
9
|
await createReactor();
|
|
13
10
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-loader.js","sourceRoot":"","sources":["../../../src/components/app-loader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,
|
|
1
|
+
{"version":3,"file":"app-loader.js","sourceRoot":"","sources":["../../../src/components/app-loader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpG,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAkB,MAAM,OAAO,CAAC;AACnE,OAAO,6BAA6B,CAAC;AAErC,MAAM,CAAC,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE;IAClC,MAAM,aAAa,EAAE,CAAC;IACtB,OAAO;QACL,OAAO,EAAE,CAAC,EAAE,QAAQ,EAA4B,EAAE,EAAE;YAClD,2BAA2B,EAAE,CAAC;YAC9B,gBAAgB,EAAE,CAAC;YACnB,qBAAqB,EAAE,CAAC;YACxB,OAAO,QAAQ,CAAC;QAClB,CAAC;KACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,CAC7B,MAAC,UAAU,eACT,KAAC,QAAQ,IAAC,QAAQ,EAAE,KAAC,WAAW,KAAG,EAAE,IAAI,EAAC,WAAW,YACnD,KAAC,IAAI,cACH,KAAC,GAAG,KAAG,GACF,GACE,EACX,KAAC,QAAQ,IAAC,IAAI,EAAC,cAAc,YAC3B,KAAC,YAAY,KAAG,GACP,EACX,KAAC,eAAe,KAAG,IACR,CACd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/app-skeleton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app-skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/app-skeleton.tsx"],"names":[],"mappings":"AA8CA,eAAO,MAAM,WAAW,+CAkCvB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { getBasePath } from "@powerhousedao/connect/utils";
|
|
3
|
-
import { AnimatedLoader, ConnectSidebar, HomeScreen, } from "@powerhousedao/design-system";
|
|
3
|
+
import { AnimatedLoader, ConnectSidebar, HomeScreen, } from "@powerhousedao/design-system/connect";
|
|
4
4
|
import { useEffect, useState } from "react";
|
|
5
5
|
const LOADER_DELAY = 250;
|
|
6
6
|
const Loader = ({ delay = LOADER_DELAY }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-skeleton.js","sourceRoot":"","sources":["../../../src/components/app-skeleton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EACL,cAAc,EACd,cAAc,EACd,UAAU,GACX,MAAM,
|
|
1
|
+
{"version":3,"file":"app-skeleton.js","sourceRoot":"","sources":["../../../src/components/app-skeleton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EACL,cAAc,EACd,cAAc,EACd,UAAU,GACX,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,MAAM,YAAY,GAAG,GAAG,CAAC;AAEzB,MAAM,MAAM,GAAG,CAAC,EAAE,KAAK,GAAG,YAAY,EAAsB,EAAE,EAAE;IAC9D,MAAM,KAAK,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC;IAC5C,MAAM,iBAAiB,GACrB,OAAO,QAAQ,KAAK,WAAW;QAC/B,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,kBAAkB,CAAC,KAAK,MAAM,CAAC;IAE5D,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,CAAC,KAAK,IAAI,iBAAiB,CAAC,CAAC;IAE5E,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,EAAE,GAAG,UAAU,CAAC,GAAG,EAAE;YACzB,cAAc,CAAC,IAAI,CAAC,CAAC;QACvB,CAAC,EAAE,KAAK,CAAC,CAAC;QAEV,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IAChC,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,eACE,SAAS,EAAE,0EAA0E,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,aAElH,cAAK,SAAS,EAAC,sDAAsD,YACnE,KAAC,cAAc,KAAG,GACd,EACL,KAAK,CAAC,CAAC,CAAC,CACP,iBACE,uBAAuB,EAAE;oBACvB,MAAM,EAAE;;;yBAGK,KAAK,GAAG;iBACtB,GACD,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,EAAE;IAC9B,MAAM,KAAK,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC;IAC5C,MAAM,YAAY,GAAG,CAAC,KAAK,IAAI,MAAM,CAAC,QAAQ,CAAC,QAAQ,KAAK,WAAW,EAAE,CAAC;IAC1E,OAAO,CACL,eAAK,SAAS,EAAC,eAAe,aAC5B,KAAC,cAAc,IACb,SAAS,EAAC,eAAe,EACzB,OAAO,EAAE,SAAS,EAClB,YAAY,EAAE,SAAS,EACvB,eAAe,EAAE,SAAS,EAC1B,OAAO,EAAE,SAAS,GAClB,EACF,KAAC,UAAU,IACT,kBAAkB,EAChB,KAAK,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,EAE3D,QAAQ,EAAE,IAAI,GACd,EACD,KAAK,CAAC,CAAC,CAAC,CACP,iBACE,uBAAuB,EAAE;oBACvB,MAAM,EAAE;;;;;;sBAME;iBACX,GACD,CACH,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,MAAM,KAAG,IACN,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../src/components/app.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../src/components/app.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,GAAG,+CAoBf,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Analytics } from "@powerhousedao/connect/components
|
|
3
|
-
import { Router } from "@powerhousedao/connect/components/router";
|
|
2
|
+
import { Analytics, Router } from "@powerhousedao/connect/components";
|
|
4
3
|
import { ProcessorManagerProvider, SentryProvider, } from "@powerhousedao/connect/context";
|
|
5
|
-
import { DocumentEditorDebugTools, serviceWorkerManager
|
|
6
|
-
import { ToastContainer, WagmiContext } from "@powerhousedao/design-system";
|
|
4
|
+
import { DocumentEditorDebugTools, serviceWorkerManager } from "@powerhousedao/connect/utils";
|
|
5
|
+
import { ToastContainer, WagmiContext, } from "@powerhousedao/design-system/connect";
|
|
7
6
|
import { useEffect } from "react";
|
|
8
7
|
export const App = () => {
|
|
9
8
|
useEffect(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../../src/components/app.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../../src/components/app.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EACL,wBAAwB,EACxB,cAAc,GACf,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAC9F,OAAO,EACL,cAAc,EACd,YAAY,GACb,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,MAAM,CAAC,MAAM,GAAG,GAAG,GAAG,EAAE;IACtB,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,aAAa,EAAE,CAAC;YAC3C,MAAM,CAAC,wBAAwB,GAAG,IAAI,wBAAwB,EAAE,CAAC;QACnE,CAAC;aAAM,CAAC;YACN,oBAAoB,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC;QACpD,CAAC;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,KAAC,cAAc,cACb,KAAC,YAAY,cACX,MAAC,wBAAwB,eACvB,KAAC,cAAc,IAAC,QAAQ,EAAC,cAAc,EAAC,WAAW,EAAC,SAAS,GAAG,EAChE,KAAC,MAAM,KAAG,EACV,KAAC,SAAS,KAAG,IACY,GACd,GACA,CAClB,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cookie-banner.d.ts","sourceRoot":"","sources":["../../../src/components/cookie-banner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cookie-banner.d.ts","sourceRoot":"","sources":["../../../src/components/cookie-banner.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,YAAY,sDAuExB,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useAcceptedCookies } from "@powerhousedao/connect/hooks
|
|
3
|
-
import {
|
|
4
|
-
import { i18n } from "@powerhousedao/connect/i18n";
|
|
5
|
-
import { CookieBanner as PHCookieBanner } from "@powerhousedao/design-system";
|
|
2
|
+
import { useAcceptedCookies, useCookieBanner } from "@powerhousedao/connect/hooks";
|
|
3
|
+
import { CookieBanner as PHCookieBanner } from "@powerhousedao/design-system/connect";
|
|
6
4
|
import { showPHModal } from "@powerhousedao/reactor-browser";
|
|
7
5
|
import { Trans, useTranslation } from "react-i18next";
|
|
6
|
+
import { i18n } from "@powerhousedao/connect/i18n";
|
|
8
7
|
const isCookieAccepted = (cookies, id) => {
|
|
9
8
|
return cookies.some((cookie) => cookie.id === id && cookie.value);
|
|
10
9
|
};
|