@powerhousedao/connect 2.5.0-dev.32 → 2.5.0-dev.34
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.DGmKJr8O.js → AddDriveModal.xzQCaywQ.js} +2 -2
- package/dist/assets/{AddDriveModal.DGmKJr8O.js.map → AddDriveModal.xzQCaywQ.js.map} +1 -1
- package/dist/assets/{CreateDocumentModal.CoiI8H_P.js → CreateDocumentModal.Dxx2jNNn.js} +2 -2
- package/dist/assets/{CreateDocumentModal.CoiI8H_P.js.map → CreateDocumentModal.Dxx2jNNn.js.map} +1 -1
- package/dist/assets/{DebugSettingsModal.NbUsY5Qy.js → DebugSettingsModal.BUtumugB.js} +2 -2
- package/dist/assets/{DebugSettingsModal.NbUsY5Qy.js.map → DebugSettingsModal.BUtumugB.js.map} +1 -1
- package/dist/assets/{SettingsModal.Clp8o60t.js → SettingsModal.CR4vQjdG.js} +2 -2
- package/dist/assets/{SettingsModal.Clp8o60t.js.map → SettingsModal.CR4vQjdG.js.map} +1 -1
- package/dist/assets/{app.80L7h6DA.js → app.DsLJYKua.js} +5 -5
- package/dist/assets/{app.80L7h6DA.js.map → app.DsLJYKua.js.map} +1 -1
- package/dist/assets/{atlas-import.D_uxz0g-.js → atlas-import.BxRsubeg.js} +2 -2
- package/dist/assets/{atlas-import.D_uxz0g-.js.map → atlas-import.BxRsubeg.js.map} +1 -1
- package/dist/assets/{connect.config.2cVuuZ3f.js → connect.config.BBedMtvV.js} +2 -2
- package/dist/assets/{connect.config.2cVuuZ3f.js.map → connect.config.BBedMtvV.js.map} +1 -1
- package/dist/assets/{content.BJjFseRw.js → content.ClPkpI3C.js} +2 -2
- package/dist/assets/{content.BJjFseRw.js.map → content.ClPkpI3C.js.map} +1 -1
- package/dist/assets/{cookie-banner.BMSTb_n9.js → cookie-banner.CvEppdDd.js} +2 -2
- package/dist/assets/{cookie-banner.BMSTb_n9.js.map → cookie-banner.CvEppdDd.js.map} +1 -1
- package/dist/assets/{home.BtgdI8eH.js → home.vubg-oKJ.js} +2 -2
- package/dist/assets/{home.BtgdI8eH.js.map → home.vubg-oKJ.js.map} +1 -1
- package/dist/assets/{index.tsdqXrAg.js → index.BpMi-yu3.js} +2 -2
- package/dist/assets/{index.tsdqXrAg.js.map → index.BpMi-yu3.js.map} +1 -1
- package/dist/assets/{index.Ce-qmvOQ.js → index.C9NSX0Qk.js} +3 -3
- package/dist/assets/{index.Ce-qmvOQ.js.map → index.C9NSX0Qk.js.map} +1 -1
- package/dist/assets/{index.BEi0D_5y.js → index.CZayx9yk.js} +2 -2
- package/dist/assets/{index.BEi0D_5y.js.map → index.CZayx9yk.js.map} +1 -1
- package/dist/assets/{index.gcJoJyrb.js → index.CeYOBexH.js} +2 -2
- package/dist/assets/{index.gcJoJyrb.js.map → index.CeYOBexH.js.map} +1 -1
- package/dist/assets/{index.LeytkC1u.js → index.DBXiKaGf.js} +2 -2
- package/dist/assets/{index.LeytkC1u.js.map → index.DBXiKaGf.js.map} +1 -1
- package/dist/assets/{index.CyDy7c2m.js → index.DmdWpXGf.js} +2 -2
- package/dist/assets/{index.CyDy7c2m.js.map → index.DmdWpXGf.js.map} +1 -1
- package/dist/assets/{main.CG8KQv__.js → main.j1-w3cmN.js} +3 -3
- package/dist/assets/{main.CG8KQv__.js.map → main.j1-w3cmN.js.map} +1 -1
- package/dist/assets/{modal.BqN_lJEG.js → modal.B-RsF8yP.js} +3 -3
- package/dist/assets/{modal.BqN_lJEG.js.map → modal.B-RsF8yP.js.map} +1 -1
- package/dist/assets/{modals.D_DgHzvq.js → modals.DDmR6FPq.js} +2 -2
- package/dist/assets/{modals.D_DgHzvq.js.map → modals.DDmR6FPq.js.map} +1 -1
- package/dist/assets/nodefs.BmFKbjqw.js +2 -0
- package/dist/assets/{nodefs.BFOzfOD0.js.map → nodefs.BmFKbjqw.js.map} +1 -1
- package/dist/assets/{opfs-ahp.ChOukgb5.js → opfs-ahp.B861r0ar.js} +2 -2
- package/dist/assets/{opfs-ahp.ChOukgb5.js.map → opfs-ahp.B861r0ar.js.map} +1 -1
- package/dist/assets/{registerServiceWorker.HyX8IU_l.js → registerServiceWorker.Dnx65aHM.js} +2 -2
- package/dist/assets/{registerServiceWorker.HyX8IU_l.js.map → registerServiceWorker.Dnx65aHM.js.map} +1 -1
- package/dist/assets/{root.a4_KpvS6.js → root.BMDAZ4CI.js} +2 -2
- package/dist/assets/{root.a4_KpvS6.js.map → root.BMDAZ4CI.js.map} +1 -1
- package/dist/assets/{useAcceptedCookies.DOVpa3p6.js → useAcceptedCookies.C3XKopBD.js} +2 -2
- package/dist/assets/{useAcceptedCookies.DOVpa3p6.js.map → useAcceptedCookies.C3XKopBD.js.map} +1 -1
- package/dist/assets/useConnectConfig.CIhnSrn3.js +2 -0
- package/dist/assets/{useConnectConfig.D22FeJQd.js.map → useConnectConfig.CIhnSrn3.js.map} +1 -1
- package/dist/assets/{useDefaultDocumentModelEditor.R27ruX72.js → useDefaultDocumentModelEditor.CghZfM5k.js} +2 -2
- package/dist/assets/{useDefaultDocumentModelEditor.R27ruX72.js.map → useDefaultDocumentModelEditor.CghZfM5k.js.map} +1 -1
- package/dist/assets/{useDocumentDriveServer.DrOou0N6.js → useDocumentDriveServer.C3FBeF9Y.js} +2 -2
- package/dist/assets/{useDocumentDriveServer.DrOou0N6.js.map → useDocumentDriveServer.C3FBeF9Y.js.map} +1 -1
- package/dist/assets/{useFeatureFlags.DqLeRSJp.js → useFeatureFlags.BSrVZwcf.js} +2 -2
- package/dist/assets/{useFeatureFlags.DqLeRSJp.js.map → useFeatureFlags.BSrVZwcf.js.map} +1 -1
- package/dist/assets/{user.DorWI2uc.js → user.BmMJej7t.js} +3 -3
- package/dist/assets/{user.DorWI2uc.js.map → user.BmMJej7t.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/vite-envs.sh +1 -1
- package/nginx.conf +1 -1
- package/package.json +9 -9
- package/dist/assets/nodefs.BFOzfOD0.js +0 -2
- package/dist/assets/useConnectConfig.D22FeJQd.js +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index.CZayx9yk.js","./index.BK4XEUxp.js","./index.BpMi-yu3.js","./useFeatureFlags.BSrVZwcf.js","./connect.config.BBedMtvV.js","./browser.BkwNmV2Z.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
import{_ as I,h as nt,v as R,i as zt,t as U,l as Vt}from"./index.BK4XEUxp.js";import{useCallback as qt,useMemo as xt,useEffect as Q}from"react";async function H(){if(import.meta.hot)return import.meta.hot;try{return(await I(()=>import("../hmr.js"),[],import.meta.url)).hmr}catch{return}}async function bn(e){const t=await H();if(!t)throw new Error("HMR not available.");return new Promise(n=>{function r(s){e===s.name&&(n(),t==null||t.off("studio:external-package-added",r))}t.on("studio:external-package-added",r),t.send("studio:add-external-package",{name:e})})}async function xn(e){const t=await H();if(!t)throw new Error("HMR not available.");return new Promise(n=>{function r(s){e===s.name&&(n(),t==null||t.off("studio:external-package-removed",r))}t.on("studio:external-package-removed",r),t.send("studio:remove-external-package",{name:e})})}async function Jt(e){const t=await H(),n=r=>{const s=I(()=>import(`${r.url}?t=${r.timestamp}`),[],import.meta.url);e(s.then(i=>i.default))};return t==null||t.on("studio:external-packages-updated",n),()=>{t==null||t.off("studio:external-packages-updated",n)}}const Tt=Object.prototype.toString;function Kt(e){switch(Tt.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Y(e,Error)}}function k(e,t){return Tt.call(e)===`[object ${t}]`}function Tn(e){return k(e,"ErrorEvent")}function Cn(e){return k(e,"DOMError")}function wn(e){return k(e,"DOMException")}function B(e){return k(e,"String")}function Wt(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function On(e){return e===null||Wt(e)||typeof e!="object"&&typeof e!="function"}function rt(e){return k(e,"Object")}function Xt(e){return typeof Event<"u"&&Y(e,Event)}function Qt(e){return typeof Element<"u"&&Y(e,Element)}function Zt(e){return k(e,"RegExp")}function st(e){return!!(e&&e.then&&typeof e.then=="function")}function te(e){return rt(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function ee(e){return typeof e=="number"&&e!==e}function Y(e,t){try{return e instanceof t}catch{return!1}}function Ct(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function N(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function K(e,t){let n=e;const r=n.length;if(r<=150)return n;t>r&&(t=r);let s=Math.max(t-60,0);s<5&&(s=0);let i=Math.min(s+140,r);return i>r-5&&(i=r),i===r&&(s=Math.max(i-140,0)),n=n.slice(s,i),s>0&&(n=`'{snip} ${n}`),i<r&&(n+=" {snip}"),n}function Dn(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const s=e[r];try{Ct(s)?n.push("[VueViewModel]"):n.push(String(s))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function ne(e,t,n=!1){return B(e)?Zt(t)?t.test(e):B(t)?n?e===t:e.includes(t):!1:!1}function In(e,t=[],n=!1){return t.some(r=>ne(e,r,n))}function j(e){return e&&e.Math==Math?e:void 0}const h=typeof globalThis=="object"&&j(globalThis)||typeof window=="object"&&j(window)||typeof self=="object"&&j(self)||typeof global=="object"&&j(global)||function(){return this}()||{};function re(){return h}function wt(e,t,n){const r=n||h,s=r.__SENTRY__=r.__SENTRY__||{};return s[e]||(s[e]=t())}const O=re(),se=80;function ie(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,s=[];let i=0,o=0;const a=" > ",c=a.length;let u;const l=Array.isArray(t)?t:t.keyAttrs,f=!Array.isArray(t)&&t.maxStringLength||se;for(;n&&i++<r&&(u=oe(n,l),!(u==="html"||i>1&&o+s.length*c+u.length>=f));)s.push(u),o+=u.length,n=n.parentNode;return s.reverse().join(a)}catch{return"<unknown>"}}function oe(e,t){const n=e,r=[];let s,i,o,a,c;if(!n||!n.tagName)return"";if(O.HTMLElement&&n instanceof HTMLElement&&n.dataset&&n.dataset.sentryComponent)return n.dataset.sentryComponent;r.push(n.tagName.toLowerCase());const u=t&&t.length?t.filter(f=>n.getAttribute(f)).map(f=>[f,n.getAttribute(f)]):null;if(u&&u.length)u.forEach(f=>{r.push(`[${f[0]}="${f[1]}"]`)});else if(n.id&&r.push(`#${n.id}`),s=n.className,s&&B(s))for(i=s.split(/\s+/),c=0;c<i.length;c++)r.push(`.${i[c]}`);const l=["aria-label","type","name","title","alt"];for(c=0;c<l.length;c++)o=l[c],a=n.getAttribute(o),a&&r.push(`[${o}="${a}"]`);return r.join("")}function Rn(){try{return O.document.location.href}catch{return""}}function kn(e){return O.document&&O.document.querySelector?O.document.querySelector(e):null}function An(e){if(!O.HTMLElement)return null;let t=e;const n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}const it=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,ae="Sentry Logger ",ut=["debug","info","warn","error","log","assert","trace"],ft={};function Ot(e){if(!("console"in h))return e();const t=h.console,n={},r=Object.keys(ft);r.forEach(s=>{const i=ft[s];n[s]=t[s],t[s]=i});try{return e()}finally{r.forEach(s=>{t[s]=n[s]})}}function ce(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return it?ut.forEach(n=>{t[n]=(...r)=>{e&&Ot(()=>{h.console[n](`${ae}[${n}]:`,...r)})}}):ut.forEach(n=>{t[n]=()=>{}}),t}const m=ce();function Pn(e,t,n){if(!(t in e))return;const r=e[t],s=n(r);typeof s=="function"&&ue(s,r),e[t]=s}function Dt(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{it&&m.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function ue(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,Dt(e,"__sentry_original__",t)}catch{}}function Nn(e){return e.__sentry_original__}function Mn(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function It(e){if(Kt(e))return{message:e.message,name:e.name,stack:e.stack,...dt(e)};if(Xt(e)){const t={type:e.type,target:lt(e.target),currentTarget:lt(e.currentTarget),...dt(e)};return typeof CustomEvent<"u"&&Y(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function lt(e){try{return Qt(e)?ie(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function dt(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function vn(e,t=40){const n=Object.keys(It(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return N(n[0],t);for(let r=n.length;r>0;r--){const s=n.slice(0,r).join(", ");if(!(s.length>t))return r===n.length?s:N(s,t)}return""}function T(e){return Z(e,new Map)}function Z(e,t){if(fe(e)){const n=t.get(e);if(n!==void 0)return n;const r={};t.set(e,r);for(const s of Object.keys(e))typeof e[s]<"u"&&(r[s]=Z(e[s],t));return r}if(Array.isArray(e)){const n=t.get(e);if(n!==void 0)return n;const r=[];return t.set(e,r),e.forEach(s=>{r.push(Z(s,t))}),r}return e}function fe(e){if(!rt(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const Rt=50,pt=/\(error: (.*)\)/,gt=/captureMessage|captureException/;function le(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0)=>{const s=[],i=n.split(`
|
|
3
3
|
`);for(let o=r;o<i.length;o++){const a=i[o];if(a.length>1024)continue;const c=pt.test(a)?a.replace(pt,"$1"):a;if(!c.match(/\S*Error: /)){for(const u of t){const l=u(c);if(l){s.push(l);break}}if(s.length>=Rt)break}}return de(s)}}function Ln(e){return Array.isArray(e)?le(...e):e}function de(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),gt.test(t[t.length-1].function||"")&&(t.pop(),gt.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,Rt).map(n=>({...n,filename:n.filename||t[t.length-1].filename,function:n.function||"?"}))}const W="<anonymous>";function pe(e){try{return!e||typeof e!="function"?W:e.name||W}catch{return W}}function d(){const e=h,t=e.crypto||e.msCrypto;let n=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const r=new Uint8Array(1);return t.getRandomValues(r),r[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function kt(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function jn(e){const{message:t,event_id:n}=e;if(t)return t;const r=kt(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function $n(e,t,n){const r=e.exception=e.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{};i.value||(i.value=t||""),i.type||(i.type="Error")}function ge(e,t){const n=kt(e);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...t},t&&"data"in t){const i={...s&&s.data,...t.data};n.mechanism.data=i}}function Gn(e,t,n=5){if(t.lineno===void 0)return;const r=e.length,s=Math.max(Math.min(r-1,t.lineno-1),0);t.pre_context=e.slice(Math.max(0,s-n),s).map(i=>K(i,0)),t.context_line=K(e[Math.min(r-1,s)],t.colno||0),t.post_context=e.slice(Math.min(s+1,r),s+1+n).map(i=>K(i,0))}function Un(e){if(e&&e.__sentry_captured__)return!0;try{Dt(e,"__sentry_captured__",!0)}catch{}return!1}function _e(e){return Array.isArray(e)?e:[e]}function he(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function n(s){if(e)return t.has(s)?!0:(t.add(s),!1);for(let i=0;i<t.length;i++)if(t[i]===s)return!0;return t.push(s),!1}function r(s){if(e)t.delete(s);else for(let i=0;i<t.length;i++)if(t[i]===s){t.splice(i,1);break}}return[n,r]}function x(e,t=100,n=1/0){try{return tt("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function me(e,t=3,n=100*1024){const r=x(e,t);return be(r)>n?me(e,t-1,n):r}function tt(e,t,n=1/0,r=1/0,s=he()){const[i,o]=s;if(t==null||["number","boolean","string"].includes(typeof t)&&!ee(t))return t;const a=Se(e,t);if(!a.startsWith("[object "))return a;if(t.__sentry_skip_normalization__)return t;const c=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(c===0)return a.replace("object ","");if(i(t))return"[Circular ~]";const u=t;if(u&&typeof u.toJSON=="function")try{const g=u.toJSON();return tt("",g,c-1,r,s)}catch{}const l=Array.isArray(t)?[]:{};let f=0;const _=It(t);for(const g in _){if(!Object.prototype.hasOwnProperty.call(_,g))continue;if(f>=r){l[g]="[MaxProperties ~]";break}const C=_[g];l[g]=tt(g,C,c-1,r,s),f++}return o(t),l}function Se(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(Ct(t))return"[VueViewModel]";if(te(t))return"[SyntheticEvent]";if(typeof t=="number"&&t!==t)return"[NaN]";if(typeof t=="function")return`[Function: ${pe(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=ye(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function ye(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function Ee(e){return~-encodeURI(e).split(/%..|./).length}function be(e){return Ee(JSON.stringify(e))}var E;(function(e){e[e.PENDING=0]="PENDING";const n=1;e[e.RESOLVED=n]="RESOLVED";const r=2;e[e.REJECTED=r]="REJECTED"})(E||(E={}));function Bn(e){return new y(t=>{t(e)})}function Fn(e){return new y((t,n)=>{n(e)})}class y{constructor(t){y.prototype.__init.call(this),y.prototype.__init2.call(this),y.prototype.__init3.call(this),y.prototype.__init4.call(this),this._state=E.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(n){this._reject(n)}}then(t,n){return new y((r,s)=>{this._handlers.push([!1,i=>{if(!t)r(i);else try{r(t(i))}catch(o){s(o)}},i=>{if(!n)s(i);else try{r(n(i))}catch(o){s(o)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new y((n,r)=>{let s,i;return this.then(o=>{i=!1,s=o,t&&t()},o=>{i=!0,s=o,t&&t()}).then(()=>{if(i){r(s);return}n(s)})})}__init(){this._resolve=t=>{this._setResult(E.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(E.REJECTED,t)}}__init3(){this._setResult=(t,n)=>{if(this._state===E.PENDING){if(st(n)){n.then(this._resolve,this._reject);return}this._state=t,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===E.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===E.RESOLVED&&n[1](this._value),this._state===E.REJECTED&&n[2](this._value),n[0]=!0)})}}}const At=1e3;function z(){return Date.now()/At}function xe(){const{performance:e}=h;if(!e||!e.now)return z;const t=Date.now()-e.now(),n=e.timeOrigin==null?t:e.timeOrigin;return()=>(n+e.now())/At}const ot=xe(),Hn=(()=>{const{performance:e}=h;if(!e||!e.now)return;const t=3600*1e3,n=e.now(),r=Date.now(),s=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,i=s<t,o=e.timing&&e.timing.navigationStart,c=typeof o=="number"?Math.abs(o+n-r):t,u=c<t;return i||u?s<=c?e.timeOrigin:o:r})(),Yn="baggage",Pt="sentry-",Te=/^sentry-/,Ce=8192;function Nt(e){if(!B(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce((r,s)=>{const i=_t(s);for(const o of Object.keys(i))r[o]=i[o];return r},{});else{if(!e)return;t=_t(e)}const n=Object.entries(t).reduce((r,[s,i])=>{if(s.match(Te)){const o=s.slice(Pt.length);r[o]=i}return r},{});if(Object.keys(n).length>0)return n}function zn(e){if(!e)return;const t=Object.entries(e).reduce((n,[r,s])=>(s&&(n[`${Pt}${r}`]=s),n),{});return we(t)}function _t(e){return e.split(",").map(t=>t.split("=").map(n=>decodeURIComponent(n.trim()))).reduce((t,[n,r])=>(t[n]=r,t),{})}function we(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[n,r],s)=>{const i=`${encodeURIComponent(n)}=${encodeURIComponent(r)}`,o=s===0?i:`${t},${i}`;return o.length>Ce?(it&&m.warn(`Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`),t):o},"")}const Oe=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function Mt(e){if(!e)return;const t=e.match(Oe);if(!t)return;let n;return t[3]==="1"?n=!0:t[3]==="0"&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function Vn(e,t){const n=Mt(e),r=Nt(t),{traceId:s,parentSpanId:i,parentSampled:o}=n||{};return n?{traceparentData:n,dynamicSamplingContext:r||{},propagationContext:{traceId:s||d(),parentSpanId:i||d().substring(16),spanId:d().substring(16),sampled:o,dsc:r||{}}}:{traceparentData:n,dynamicSamplingContext:void 0,propagationContext:{traceId:s||d(),spanId:d().substring(16)}}}function qn(e,t){const n=Mt(e),r=Nt(t),{traceId:s,parentSpanId:i,parentSampled:o}=n||{};return n?{traceId:s||d(),parentSpanId:i||d().substring(16),spanId:d().substring(16),sampled:o,dsc:r||{}}:{traceId:s||d(),spanId:d().substring(16)}}function De(e=d(),t=d().substring(16),n){let r="";return n!==void 0&&(r=n?"-1":"-0"),`${e}-${t}${r}`}const D=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,V="production";function at(){return wt("globalEventProcessors",()=>[])}function Jn(e){at().push(e)}function F(e,t,n,r=0){return new y((s,i)=>{const o=e[r];if(t===null||typeof o!="function")s(t);else{const a=o({...t},n);D&&o.id&&a===null&&m.log(`Event processor "${o.id}" dropped event`),st(a)?a.then(c=>F(e,c,n,r+1).then(s)).then(null,i):F(e,a,n,r+1).then(s).then(null,i)}})}function vt(e){const t=ot(),n={sid:d(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>Ie(n)};return e&&v(n,e),n}function v(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||ot(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:d()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function Lt(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),v(e,n)}function Ie(e){return T({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const Kn=0,Re=1;function ke(e){const{spanId:t,traceId:n}=e.spanContext(),{data:r,op:s,parent_span_id:i,status:o,tags:a,origin:c}=M(e);return T({data:r,op:s,parent_span_id:i,span_id:t,status:o,tags:a,trace_id:n,origin:c})}function Wn(e){const{traceId:t,spanId:n}=e.spanContext(),r=jt(e);return De(t,n,r)}function Xn(e){return typeof e=="number"?ht(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?ht(e.getTime()):ot()}function ht(e){return e>9999999999?e/1e3:e}function M(e){return Ae(e)?e.getSpanJSON():typeof e.toJSON=="function"?e.toJSON():{}}function Ae(e){return typeof e.getSpanJSON=="function"}function jt(e){const{traceFlags:t}=e.spanContext();return!!(t&Re)}function Qn(e,t,n,r,s,i){const{normalizeDepth:o=3,normalizeMaxBreadth:a=1e3}=e,c={...t,event_id:t.event_id||n.event_id||d(),timestamp:t.timestamp||z()},u=n.integrations||e.integrations.map(S=>S.name);Pe(c,e),ve(c,u),t.type===void 0&&Ne(c,e.stackParser);const l=je(r,n.captureContext);n.mechanism&&ge(c,n.mechanism);const f=s&&s.getEventProcessors?s.getEventProcessors():[],_=Qe().getScopeData();if(i){const S=i.getScopeData();St(_,S)}if(l){const S=l.getScopeData();St(_,S)}const g=[...n.attachments||[],..._.attachments];g.length&&(n.attachments=g),Bt(c,_);const C=[...f,...at(),..._.eventProcessors];return F(C,c,n).then(S=>(S&&Me(S),typeof o=="number"&&o>0?Le(S,o,a):S))}function Pe(e,t){const{environment:n,release:r,dist:s,maxValueLength:i=250}=t;"environment"in e||(e.environment="environment"in t?n:V),e.release===void 0&&r!==void 0&&(e.release=r),e.dist===void 0&&s!==void 0&&(e.dist=s),e.message&&(e.message=N(e.message,i));const o=e.exception&&e.exception.values&&e.exception.values[0];o&&o.value&&(o.value=N(o.value,i));const a=e.request;a&&a.url&&(a.url=N(a.url,i))}const mt=new WeakMap;function Ne(e,t){const n=h._sentryDebugIds;if(!n)return;let r;const s=mt.get(t);s?r=s:(r=new Map,mt.set(t,r));const i=Object.keys(n).reduce((o,a)=>{let c;const u=r.get(a);u?c=u:(c=t(a),r.set(a,c));for(let l=c.length-1;l>=0;l--){const f=c[l];if(f.filename){o[f.filename]=n[a];break}}return o},{});try{e.exception.values.forEach(o=>{o.stacktrace.frames.forEach(a=>{a.filename&&(a.debug_id=i[a.filename])})})}catch{}}function Me(e){const t={};try{e.exception.values.forEach(r=>{r.stacktrace.frames.forEach(s=>{s.debug_id&&(s.abs_path?t[s.abs_path]=s.debug_id:s.filename&&(t[s.filename]=s.debug_id),delete s.debug_id)})})}catch{}if(Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.keys(t).forEach(r=>{n.push({type:"sourcemap",code_file:r,debug_id:t[r]})})}function ve(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function Le(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(s=>({...s,...s.data&&{data:x(s.data,t,n)}}))},...e.user&&{user:x(e.user,t,n)},...e.contexts&&{contexts:x(e.contexts,t,n)},...e.extra&&{extra:x(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=x(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(s=>{const i=M(s).data;return i&&(s.data=x(i,t,n)),s})),r}function je(e,t){if(!t)return e;const n=e?e.clone():new b;return n.update(t),n}function $e(e){if(e)return Ge(e)?{captureContext:e}:Be(e)?{captureContext:e}:e}function Ge(e){return e instanceof b||typeof e=="function"}const Ue=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function Be(e){return Object.keys(e).some(t=>Ue.includes(t))}function Zn(e,t){return p().captureException(e,$e(t))}function tr(e,t){const n=typeof t=="string"?t:void 0,r=typeof t!="string"?{captureContext:t}:void 0;return p().captureMessage(e,n,r)}function er(e,t){return p().captureEvent(e,t)}function nr(e){p().configureScope(e)}function rr(e,t){p().addBreadcrumb(e,t)}function sr(e,t){p().setContext(e,t)}function ir(e){p().setExtras(e)}function or(e,t){p().setExtra(e,t)}function ar(e){p().setTags(e)}function cr(e,t){p().setTag(e,t)}function Fe(e){p().setUser(e)}function He(...e){const t=p();if(e.length===2){const[n,r]=e;return n?t.withScope(()=>(t.getStackTop().scope=n,r(n))):t.withScope(r)}return t.withScope(e[0])}function ur(e){return nn(()=>e(J()))}function fr(e,t){return He(n=>(n.setSpan(e),t(n)))}function lr(e,t){return p().startTransaction({...e},t)}async function dr(e){const t=A();return t?t.flush(e):(D&&m.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function pr(e){const t=A();return t?t.close(e):(D&&m.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function gr(){return p().lastEventId()}function A(){return p().getClient()}function _r(){return!!A()}function q(){return p().getScope()}function hr(e){const t=A(),n=J(),r=q(),{release:s,environment:i=V}=t&&t.getOptions()||{},{userAgent:o}=h.navigator||{},a=vt({release:s,environment:i,user:r.getUser()||n.getUser(),...o&&{userAgent:o},...e}),c=n.getSession();return c&&c.status==="ok"&&v(c,{status:"exited"}),$t(),n.setSession(a),r.setSession(a),a}function $t(){const e=J(),t=q(),n=t.getSession()||e.getSession();n&&Lt(n),Gt(),e.setSession(),t.setSession()}function Gt(){const e=J(),t=q(),n=A(),r=t.getSession()||e.getSession();r&&n&&n.captureSession&&n.captureSession(r)}function mr(e=!1){if(e){$t();return}Gt()}function Ut(e){return e.transaction}function Ye(e,t,n){const r=t.getOptions(),{publicKey:s}=t.getDsn()||{},{segment:i}=n&&n.getUser()||{},o=T({environment:r.environment||V,release:r.release,user_segment:i,public_key:s,trace_id:e});return t.emit&&t.emit("createDsc",o),o}function ze(e){const t=A();if(!t)return{};const n=Ye(M(e).trace_id||"",t,q()),r=Ut(e);if(!r)return n;const s=r&&r._frozenDynamicSamplingContext;if(s)return s;const{sampleRate:i,source:o}=r.metadata;i!=null&&(n.sample_rate=`${i}`);const a=M(r);return o&&o!=="url"&&(n.transaction=a.description),n.sampled=String(jt(r)),t.emit&&t.emit("createDsc",n),n}function Bt(e,t){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=t;Ve(e,t),r&&Ke(e,r),We(e,n),qe(e,s),Je(e,i)}function St(e,t){const{extra:n,tags:r,user:s,contexts:i,level:o,sdkProcessingMetadata:a,breadcrumbs:c,fingerprint:u,eventProcessors:l,attachments:f,propagationContext:_,transactionName:g,span:C}=t;P(e,"extra",n),P(e,"tags",r),P(e,"user",s),P(e,"contexts",i),P(e,"sdkProcessingMetadata",a),o&&(e.level=o),g&&(e.transactionName=g),C&&(e.span=C),c.length&&(e.breadcrumbs=[...e.breadcrumbs,...c]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),l.length&&(e.eventProcessors=[...e.eventProcessors,...l]),f.length&&(e.attachments=[...e.attachments,...f]),e.propagationContext={...e.propagationContext,..._}}function P(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}function Ve(e,t){const{extra:n,tags:r,user:s,contexts:i,level:o,transactionName:a}=t,c=T(n);c&&Object.keys(c).length&&(e.extra={...c,...e.extra});const u=T(r);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});const l=T(s);l&&Object.keys(l).length&&(e.user={...l,...e.user});const f=T(i);f&&Object.keys(f).length&&(e.contexts={...f,...e.contexts}),o&&(e.level=o),a&&(e.transaction=a)}function qe(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function Je(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function Ke(e,t){e.contexts={trace:ke(t),...e.contexts};const n=Ut(t);if(n){e.sdkProcessingMetadata={dynamicSamplingContext:ze(t),...e.sdkProcessingMetadata};const r=M(n).description;r&&(e.tags={transaction:r,...e.tags})}}function We(e,t){e.fingerprint=e.fingerprint?_e(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}const Xe=100;let X;class b{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=yt()}static clone(t){return t?t.clone():new b}clone(){const t=new b;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._span=this._span,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t}setClient(t){this._client=t}getClient(){return this._client}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&v(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this._span;return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t;if(n instanceof b){const r=n.getScopeData();this._tags={...this._tags,...r.tags},this._extra={...this._extra,...r.extra},this._contexts={...this._contexts,...r.contexts},r.user&&Object.keys(r.user).length&&(this._user=r.user),r.level&&(this._level=r.level),r.fingerprint.length&&(this._fingerprint=r.fingerprint),n.getRequestSession()&&(this._requestSession=n.getRequestSession()),r.propagationContext&&(this._propagationContext=r.propagationContext)}else if(rt(n)){const r=t;this._tags={...this._tags,...r.tags},this._extra={...this._extra,...r.extra},this._contexts={...this._contexts,...r.contexts},r.user&&(this._user=r.user),r.level&&(this._level=r.level),r.fingerprint&&(this._fingerprint=r.fingerprint),r.requestSession&&(this._requestSession=r.requestSession),r.propagationContext&&(this._propagationContext=r.propagationContext)}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=yt(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:Xe;if(r<=0)return this;const s={timestamp:z(),...t},i=this._breadcrumbs;return i.push(s),this._breadcrumbs=i.length>r?i.slice(-r):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){const{_breadcrumbs:t,_attachments:n,_contexts:r,_tags:s,_extra:i,_user:o,_level:a,_fingerprint:c,_eventProcessors:u,_propagationContext:l,_sdkProcessingMetadata:f,_transactionName:_,_span:g}=this;return{breadcrumbs:t,attachments:n,contexts:r,tags:s,extra:i,user:o,level:a,fingerprint:c||[],eventProcessors:u,propagationContext:l,sdkProcessingMetadata:f,transactionName:_,span:g}}applyToEvent(t,n={},r=[]){Bt(t,this.getScopeData());const s=[...r,...at(),...this._eventProcessors];return F(s,t,n)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n&&n.event_id?n.event_id:d();if(!this._client)return m.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:s,...n,event_id:r},this),r}captureMessage(t,n,r){const s=r&&r.event_id?r.event_id:d();if(!this._client)return m.warn("No client configured on scope - will not capture message!"),s;const i=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:s},this),s}captureEvent(t,n){const r=n&&n.event_id?n.event_id:d();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(m.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}function Qe(){return X||(X=new b),X}function yt(){return{traceId:d(),spanId:d().substring(16)}}const Ze="7.120.3",Ft=parseFloat(Ze),tn=100;class Ht{constructor(t,n,r,s=Ft){this._version=s;let i;n?i=n:(i=new b,i.setClient(t));let o;r?o=r:(o=new b,o.setClient(t)),this._stack=[{scope:i}],t&&this.bindClient(t),this._isolationScope=o}isOlderThan(t){return this._version<t}bindClient(t){const n=this.getStackTop();n.client=t,n.scope.setClient(t),t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){const t=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return this.getStack().length<=1?!1:!!this.getStack().pop()}withScope(t){const n=this.pushScope();let r;try{r=t(n)}catch(s){throw this.popScope(),s}return st(r)?r.then(s=>(this.popScope(),s),s=>{throw this.popScope(),s}):(this.popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:d(),s=new Error("Sentry syntheticException");return this.getScope().captureException(t,{originalException:t,syntheticException:s,...n,event_id:r}),r}captureMessage(t,n,r){const s=this._lastEventId=r&&r.event_id?r.event_id:d(),i=new Error(t);return this.getScope().captureMessage(t,n,{originalException:t,syntheticException:i,...r,event_id:s}),s}captureEvent(t,n){const r=n&&n.event_id?n.event_id:d();return t.type||(this._lastEventId=r),this.getScope().captureEvent(t,{...n,event_id:r}),r}lastEventId(){return this._lastEventId}addBreadcrumb(t,n){const{scope:r,client:s}=this.getStackTop();if(!s)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:o=tn}=s.getOptions&&s.getOptions()||{};if(o<=0)return;const c={timestamp:z(),...t},u=i?Ot(()=>i(c,n)):c;u!==null&&(s.emit&&s.emit("beforeAddBreadcrumb",u,n),r.addBreadcrumb(u,o))}setUser(t){this.getScope().setUser(t),this.getIsolationScope().setUser(t)}setTags(t){this.getScope().setTags(t),this.getIsolationScope().setTags(t)}setExtras(t){this.getScope().setExtras(t),this.getIsolationScope().setExtras(t)}setTag(t,n){this.getScope().setTag(t,n),this.getIsolationScope().setTag(t,n)}setExtra(t,n){this.getScope().setExtra(t,n),this.getIsolationScope().setExtra(t,n)}setContext(t,n){this.getScope().setContext(t,n),this.getIsolationScope().setContext(t,n)}configureScope(t){const{scope:n,client:r}=this.getStackTop();r&&t(n)}run(t){const n=Et(this);try{t(this)}finally{Et(n)}}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegration(t)}catch{return D&&m.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,n){const r=this._callExtensionMethod("startTransaction",t,n);return D&&!r&&(this.getClient()?m.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
|
|
4
4
|
Sentry.addTracingExtensions();
|
|
5
5
|
Sentry.init({...});
|
|
6
|
-
`):m.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),r}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const n=this.getStackTop().scope,r=n.getSession();r&&Lt(r),this._sendSessionUpdate(),n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:s,environment:i=V}=r&&r.getOptions()||{},{userAgent:o}=h.navigator||{},a=vt({release:s,environment:i,user:n.getUser(),...o&&{userAgent:o},...t}),c=n.getSession&&n.getSession();return c&&c.status==="ok"&&v(c,{status:"exited"}),this.endSession(),n.setSession(a),a}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return!!(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop(),r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}_callExtensionMethod(t,...n){const s=L().__SENTRY__;if(s&&s.extensions&&typeof s.extensions[t]=="function")return s.extensions[t].apply(this,n);D&&m.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function L(){return h.__SENTRY__=h.__SENTRY__||{extensions:{},hub:void 0},h}function Et(e){const t=L(),n=et(t);return Yt(t,e),n}function p(){const e=L();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return en(e)}function J(){return p().getIsolationScope()}function en(e=L()){return(!rn(e)||et(e).isOlderThan(Ft))&&Yt(e,new Ht),et(e)}function nn(e,t={}){const n=L();return n.__SENTRY__&&n.__SENTRY__.acs?n.__SENTRY__.acs.runWithAsyncContext(e,t):e()}function rn(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function et(e){return wt("hub",()=>new Ht,e)}function Yt(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function sn(){return I(()=>import("../external-packages.js"),[],import.meta.url).catch(e=>console.error(e)).then(e=>(e==null?void 0:e.default)??[])}const on=R(async()=>typeof await H()<"u"),Sr=()=>nt(on),ct=zt(sn);let bt;ct.onMount=e=>{bt||(bt=Jt(t=>{e(t)}))};const an=()=>nt(ct),cn={id:"powerhouse/common",name:"Generic Drive Explorer",driveEditor:"GenericDriveExplorer"},un=R(async e=>{const t=await e(ct);return[cn,...t.map(n=>n.manifest.apps).filter(n=>n!==void 0).flat()]}),fn=()=>nt(un),yr=()=>{const e=fn();return qt(t=>{if(!t)return;const n=e.find(r=>r.driveEditor===t);return n==null?void 0:n.name},[e])},Er=e=>{const t=an();return xt(()=>{if(!e)return;const n=t.find(r=>{var s;return(s=r.manifest.apps)==null?void 0:s.find(i=>i.driveEditor===e)});return n==null?void 0:n.editors.find(r=>r.config.id===e)},[t,e])};let $;async function ln(){const{ConnectCrypto:e}=await I(async()=>{const{ConnectCrypto:r}=await import("./index.
|
|
7
|
-
//# sourceMappingURL=user.
|
|
6
|
+
`):m.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),r}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const n=this.getStackTop().scope,r=n.getSession();r&&Lt(r),this._sendSessionUpdate(),n.setSession()}startSession(t){const{scope:n,client:r}=this.getStackTop(),{release:s,environment:i=V}=r&&r.getOptions()||{},{userAgent:o}=h.navigator||{},a=vt({release:s,environment:i,user:n.getUser(),...o&&{userAgent:o},...t}),c=n.getSession&&n.getSession();return c&&c.status==="ok"&&v(c,{status:"exited"}),this.endSession(),n.setSession(a),a}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return!!(n&&n.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:n}=this.getStackTop(),r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}_callExtensionMethod(t,...n){const s=L().__SENTRY__;if(s&&s.extensions&&typeof s.extensions[t]=="function")return s.extensions[t].apply(this,n);D&&m.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function L(){return h.__SENTRY__=h.__SENTRY__||{extensions:{},hub:void 0},h}function Et(e){const t=L(),n=et(t);return Yt(t,e),n}function p(){const e=L();if(e.__SENTRY__&&e.__SENTRY__.acs){const t=e.__SENTRY__.acs.getCurrentHub();if(t)return t}return en(e)}function J(){return p().getIsolationScope()}function en(e=L()){return(!rn(e)||et(e).isOlderThan(Ft))&&Yt(e,new Ht),et(e)}function nn(e,t={}){const n=L();return n.__SENTRY__&&n.__SENTRY__.acs?n.__SENTRY__.acs.runWithAsyncContext(e,t):e()}function rn(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function et(e){return wt("hub",()=>new Ht,e)}function Yt(e,t){if(!e)return!1;const n=e.__SENTRY__=e.__SENTRY__||{};return n.hub=t,!0}function sn(){return I(()=>import("../external-packages.js"),[],import.meta.url).catch(e=>console.error(e)).then(e=>(e==null?void 0:e.default)??[])}const on=R(async()=>typeof await H()<"u"),Sr=()=>nt(on),ct=zt(sn);let bt;ct.onMount=e=>{bt||(bt=Jt(t=>{e(t)}))};const an=()=>nt(ct),cn={id:"powerhouse/common",name:"Generic Drive Explorer",driveEditor:"GenericDriveExplorer"},un=R(async e=>{const t=await e(ct);return[cn,...t.map(n=>n.manifest.apps).filter(n=>n!==void 0).flat()]}),fn=()=>nt(un),yr=()=>{const e=fn();return qt(t=>{if(!t)return;const n=e.find(r=>r.driveEditor===t);return n==null?void 0:n.name},[e])},Er=e=>{const t=an();return xt(()=>{if(!e)return;const n=t.find(r=>{var s;return(s=r.manifest.apps)==null?void 0:s.find(i=>i.driveEditor===e)});return n==null?void 0:n.editors.find(r=>r.config.id===e)},[t,e])};let $;async function ln(){const{ConnectCrypto:e}=await I(async()=>{const{ConnectCrypto:r}=await import("./index.CZayx9yk.js");return{ConnectCrypto:r}},__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),{BrowserKeyStorage:t}=await I(async()=>{const{BrowserKeyStorage:r}=await import("./index.CZayx9yk.js");return{BrowserKeyStorage:r}},__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),n=new e(new t);return await n.did(),n}function w(){return window.connectCrypto?Promise.resolve(window.connectCrypto):$||($=ln(),$)}function dn(){return xt(()=>({async regenerateDid(){return(await w()).regenerateDid()},async did(){return(await w()).did()},sign:async e=>await(await w()).sign(e),async getIssuer(){return(await w()).getIssuer()},async getBearerToken(e,t,n=!1){return(await w()).getBearerToken(e,t,n)}}),[])}const pn=R(void 0);function br(){const[e,t]=U(pn);return Q(()=>{e||w().then(n=>n.did()).then(n=>t(n)).catch(Vt.error)}),e}const gn=R("idle"),_n=R(window.renown?Promise.resolve(window.renown):void 0);function hn(){const[e,t]=U(_n),[n,r]=U(gn),{did:s}=dn();async function i(o){r("loading");try{const a=await o();if(!a){r("error");return}const{initRenownBrowser:c}=await I(async()=>{const{initRenownBrowser:f}=await import("./index.BpMi-yu3.js").then(_=>_.b);return{initRenownBrowser:f}},__vite__mapDeps([2,1,3,4,5]),import.meta.url),u=c(a),l={user:function(){return Promise.resolve(u.user)},login:function(f){return u.login(f)},logout(){return Promise.resolve(u.logout())},on:{user(f){return u.on("user",f)}}};return r("finished"),l}catch(a){console.error("Error initializing renown:",a instanceof Error?a.message:"Unknown error"),r("error");return}}return!e&&n==="idle"&&t(i(s)),e}let G=!1;const mn=R(void 0),xr=()=>{const[e,t]=U(mn),n=hn();return Q(()=>{var s;let r=null;if(e){const{credential:i,...o}=e;r={id:o.did,username:(s=o.ens)==null?void 0:s.name,...o}}Fe(r)},[e]),Q(()=>{if(G)return;G=!0,n==null||n.user().then(s=>{t(s||null)}).catch(()=>{t(null)});const r=n==null?void 0:n.on.user(s=>{t(s||null)});return()=>{r==null||r(),G=!1}},[n,G]),e};export{L as $,x as A,z as B,ut as C,it as D,Mt as E,p as F,h as G,D as H,st as I,A as J,q as K,Vn as L,nn as M,Xn as N,J as O,ze as P,jt as Q,He as R,y as S,M as T,ot as U,Re as V,Kn as W,Ut as X,Wn as Y,ke as Z,ee as _,yr as a,ur as a$,Mn as a0,_e as a1,Jn as a2,Un as a3,On as a4,v as a5,Qn as a6,Ye as a7,Wt as a8,rt as a9,er as aA,Rn as aB,Ln as aC,hr as aD,mr as aE,sr as aF,tr as aG,Gn as aH,V as aI,fr as aJ,Qe as aK,Ht as aL,b as aM,pr as aN,nr as aO,$t as aP,dr as aQ,et as aR,_r as aS,gr as aT,Et as aU,or as aV,ir as aW,cr as aX,ar as aY,Fe as aZ,lr as a_,Ze as aa,jn as ab,In as ac,Nn as ad,Hn as ae,ie as af,An as ag,De as ah,zn as ai,Yn as aj,qn as ak,kn as al,ue as am,$n as an,ge as ao,Zn as ap,Tn as aq,Cn as ar,wn as as,Kt as at,Xt as au,me as av,vn as aw,le as ax,rr as ay,Dn as az,xr as b,an as b0,Sr as b1,_n as b2,w as b3,gn as b4,br as c,dn as d,ct as e,Er as f,fn as g,H as h,bn as i,Y as j,Ot as k,m as l,pe as m,Pn as n,ft as o,Dt as p,d as q,xn as r,Jt as s,N as t,hn as u,re as v,B as w,Bn as x,Fn as y,T as z};
|
|
7
|
+
//# sourceMappingURL=user.BmMJej7t.js.map
|