PageSourceSearch

https://www.aucklandartgallery.com/assets/debug-build-DBZM4RvQ.js

js aucklandartgallery.com collected 2026-09-24 18:06:50 UTC 31,360 bytes, 2 lines download raw bytes

1const y=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,g=globalThis,D="10.32.1";function k(){return X(g),g}function X(t){const e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||D,e[D]=e[D]||{}}function L(t,e,n=g){const r=n.__SENTRY__=n.__SENTRY__||{},s=r[D]=r[D]||{};return s[t]||(s[t]=e())}const Rn=["debug","info","warn","error","log","assert","trace"],Bt="Sentry Logger ",ot={};function q(t){if(!("console"in g))return t();const e=g.console,n={},r=Object.keys(ot);r.forEach(s=>{const i=ot[s];n[s]=e[s],e[s]=i});try{return t()}finally{r.forEach(s=>{e[s]=n[s]})}}function Vt(){Q().enabled=!0}function zt(){Q().enabled=!1}function xt(){return Q().enabled}function Kt(...t){Z("log",...t)}function Yt(...t){Z("warn",...t)}function Ht(...t){Z("error",...t)}function Z(t,...e){y&&xt()&&q(()=>{g.console[t](`${Bt}[${t}]:`,...e)})}function Q(){return y?L("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const m={enable:Vt,disable:zt,isEnabled:xt,log:Kt,warn:Yt,error:Ht},At=50,Wt="?",at=/\(error: (.*)\)/,ct=/captureMessage|captureException/;function Jt(...t){const e=t.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,s=0)=>{const i=[],o=n.split(`
2`);for(let a=r;a<o.length;a++){let c=o[a];c.length>1024&&(c=c.slice(0,1024));const u=at.test(c)?c.replace(at,"$1"):c;if(!u.match(/\S*Error: /)){for(const p of e){const f=p(u);if(f){i.push(f);break}}if(i.length>=At+s)break}}return Xt(i.slice(s))}}function kn(t){return Array.isArray(t)?Jt(...t):t}function Xt(t){if(!t.length)return[];const e=Array.from(t);return/sentryWrapped/.test(M(e).function||"")&&e.pop(),e.reverse(),ct.test(M(e).function||"")&&(e.pop(),ct.test(M(e).function||"")&&e.pop()),e.slice(0,At).map(n=>({...n,filename:n.filename||M(e).filename,function:n.function||Wt}))}function M(t){return t[t.length-1]||{}}const G="<anonymous>";function qt(t){try{return!t||typeof t!="function"?G:t.name||G}catch{return G}}function Pn(t){const e=t.exception;if(e){const n=[];try{return e.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}function Ct(t){return"__v_isVNode"in t&&t.__v_isVNode?"[VueVNode]":"[VueViewModel]"}const Nt=Object.prototype.toString;function Zt(t){switch(Nt.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return P(t,Error)}}function A(t,e){return Nt.call(t)===`[object ${e}]`}function Mn(t){return A(t,"ErrorEvent")}function wn(t){return A(t,"DOMError")}function Ln(t){return A(t,"DOMException")}function w(t){return A(t,"String")}function Qt(t){return typeof t=="object"&&t!==null&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function Fn(t){return t===null||Qt(t)||typeof t!="object"&&typeof t!="function"}function Ot(t){return A(t,"Object")}function te(t){return typeof Event<"u"&&P(t,Event)}function ee(t){return typeof Element<"u"&&P(t,Element)}function ne(t){return A(t,"RegExp")}function F(t){return!!(t?.then&&typeof t.then=="function")}function re(t){return Ot(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function P(t,e){try{return t instanceof e}catch{return!1}}function Dt(t){return!!(typeof t=="object"&&t!==null&&(t.__isVue||t._isVue||t.__v_isVNode))}function jn(t){return typeof Request<"u"&&P(t,Request)}const tt=g,se=80;function ie(t,e={}){if(!t)return"<unknown>";try{let n=t;const r=5,s=[];let i=0,o=0;const a=" > ",c=a.length;let u;const p=Array.isArray(e)?e:e.keyAttrs,f=!Array.isArray(e)&&e.maxStringLength||se;for(;n&&i++<r&&(u=oe(n,p),!(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(t,e){const n=t,r=[];if(!n?.tagName)return"";if(tt.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const s=e?.length?e.filter(o=>n.getAttribute(o)).map(o=>[o,n.getAttribute(o)]):null;if(s?.length)s.forEach(o=>{r.push(`[${o[0]}="${o[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const o=n.className;
2if(o&&w(o)){const a=o.split(/\s+/);for(const c of a)r.push(`.${c}`)}}const i=["aria-label","type","name","title","alt"];for(const o of i){const a=n.getAttribute(o);a&&r.push(`[${o}="${a}"]`)}return r.join("")}function $n(){try{return tt.document.location.href}catch{return""}}function vn(t){if(!tt.HTMLElement)return null;let e=t;const n=5;for(let r=0;r<n;r++){if(!e)return null;if(e instanceof HTMLElement){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}e=e.parentNode}return null}function Un(t,e,n){if(!(e in t))return;const r=t[e];if(typeof r!="function")return;const s=n(r);typeof s=="function"&&ae(s,r);try{t[e]=s}catch{y&&m.log(`Failed to replace method "${e}" in object`,t)}}function et(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{y&&m.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function ae(t,e){try{const n=e.prototype||{};t.prototype=e.prototype=n,et(t,"__sentry_original__",e)}catch{}}function Gn(t){return t.__sentry_original__}function Rt(t){if(Zt(t))return{message:t.message,name:t.name,stack:t.stack,...ft(t)};if(te(t)){const e={type:t.type,target:ut(t.target),currentTarget:ut(t.currentTarget),...ft(t)};return typeof CustomEvent<"u"&&P(t,CustomEvent)&&(e.detail=t.detail),e}else return t}function ut(t){try{return ee(t)?ie(t):Object.prototype.toString.call(t)}catch{return"<unknown>"}}function ft(t){if(typeof t=="object"&&t!==null){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}else return{}}function Bn(t){const e=Object.keys(Rt(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"}function K(t,e=0){return typeof t!="string"||e===0||t.length<=e?t:`${t.slice(0,e)}...`}function Vn(t,e){if(!Array.isArray(t))return"";const n=[];for(let r=0;r<t.length;r++){const s=t[r];try{Dt(s)?n.push(Ct(s)):n.push(String(s))}catch{n.push("[value cannot be serialized]")}}return n.join(e)}function ce(t,e,n=!1){return w(t)?ne(e)?e.test(t):w(e)?n?t===e:t.includes(e):!1:!1}function zn(t,e=[],n=!1){return e.some(r=>ce(t,r,n))}function ue(){const t=g;return t.crypto||t.msCrypto}let B;function fe(){return Math.random()*16}function T(t=ue()){try{if(t?.randomUUID)return t.randomUUID().replace(/-/g,"")}catch{}return B||(B="10000000100040008000"+1e11),B.replace(/[018]/g,e=>(e^(fe()&15)>>e/4).toString(16))}function kt(t){return t.exception?.values?.[0]}function Kn(t){const{message:e,event_id:n}=t;if(e)return e;const r=kt(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function Yn(t,e,n){const r=t.exception=t.exception||{},s=r.values=r.values||[],i=s[0]=s[0]||{};i.value||(i.value=e||""),i.type||(i.type="Error")}function pe(t,e){const n=kt(t);if(!n)return;const r={type:"generic",handled:!0},s=n.mechanism;if(n.mechanism={...r,...s,...e},e&&"data"in e){const i={...s?.data,...e.data};n.mechanism.data=i}}function Hn(t){if(de(t))return!0;try{et(t,"__sentry_captured__",!0)}catch{}return!1}function de(t){try{return t.__sentry_captured__}catch{}}const Pt=1e3;function nt(){return Date.now()/Pt}function le(){const{performance:t}=g;if(!t?.now||!t.timeOrigin)return nt;const e=t.timeOrigin;return()=>(e+t.now())/Pt}let pt;function rt(){return(pt??(pt=le()))()}let V;function _e(){const{performance:t}=g;if(!t?.now)return[void 0,"none"];const e=3600*1e3,n=t.now(),r=Date.now(),s=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,i=s<e,o=t.timing?.navigationStart,c=typeof o=="number"?Math.abs(o+n-r):e,u=c<e;return i||u?s<=c?[t.timeOrigin,"timeOrigin"]:[o,"navigationStart"]:[r,"dateNow"]}function Wn(){return V||(V=_e()),V[0]}function ge(t){const e=rt(),n={sid:T(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>me(n)};return t&&j(n,t),n}function j(t,e={}){if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),!t.did&&!e.did&&(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||rt(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=e.sid.length===32?e.sid:T()),e.init!==void 0&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),typeof e.started=="number"&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if(typeof e.duration=="number")t.duration=e.duration;else{const n=t.timestamp-t.started;t.duration=n>=0?n:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),t
2ypeof e.errors=="number"&&(t.errors=e.errors),e.status&&(t.status=e.status)}function he(t,e){let n={};t.status==="ok"&&(n={status:"exited"}),j(t,n)}function me(t){return{sid:`${t.sid}`,init:t.init,started:new Date(t.started*1e3).toISOString(),timestamp:new Date(t.timestamp*1e3).toISOString(),status:t.status,errors:t.errors,did:typeof t.did=="number"||typeof t.did=="string"?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}}}function $(t,e,n=2){if(!e||typeof e!="object"||n<=0)return e;if(t&&Object.keys(e).length===0)return t;const r={...t};for(const s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s]=$(r[s],e[s],n-1));return r}function dt(){return T()}function Mt(){return T().substring(16)}const Y="_sentrySpan";function lt(t,e){e?et(t,Y,e):delete t[Y]}function H(t){return t[Y]}const Se=100;class S{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:dt(),sampleRand:Math.random()}}clone(){const e=new S;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,lt(e,H(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&j(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,n){return this.setTags({[e]:n})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,n){return this.setAttributes({[e]:n})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,n){return this._extra={...this._extra,[e]:n},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,n){return n===null?delete this._contexts[e]:this._contexts[e]=n,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const n=typeof e=="function"?e(this):e,r=n instanceof S?n.getScopeData():Ot(n)?e:void 0,{tags:s,attributes:i,extra:o,user:a,contexts:c,level:u,fingerprint:p=[],propagationContext:f}=r||{};return this._tags={...this._tags,...s},this._attributes={...this._attributes,...i},this._extra={...this._extra,...o},this._contexts={...this._contexts,...c},a&&Object.keys(a).length&&(this._user=a),u&&(this._level=u),p.length&&(this._fingerprint=p),f&&(this._propagationContext=f),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,lt(this,void 0),this._attachments=[],this.setPropagationContext({traceId:dt(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,n){const r=typeof n=="number"?n:Se;if(r<=0)return this;const s={timestamp:nt(),...e,message:e.message?K(e.message,2048):e.message};return this._breadcrumbs.push(s),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:H(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=$(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,n){const r=n?.event_id||T();if(!this._client)return y&&m.warn("No client configured on scope - will not capture exception!"),r;const s=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:s,...n,event_id:r},this),r}captureMessage(e,n,r){const s=r?.event_id||T();if(!this._client)return y&&m.warn("No client configured on scope - will not capture message!"),s;const i=r?.syntheticException??new Error(e);return this._client.captureMessage(e,n,{originalException:e,syntheticException:i,...r,event_id:s},this),s}captureEvent(e,n){const r=n?.event_id||T();return this._client?(this._client.captureEvent(e,{...n,event_id:r},this),r):(y&&m.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
2h(e=>{e(this)}),this._notifyingListeners=!1)}}function ye(){return L("defaultCurrentScope",()=>new S)}function Ee(){return L("defaultIsolationScope",()=>new S)}class be{constructor(e,n){let r;e?r=e:r=new S;let s;n?s=n:s=new S,this._stack=[{scope:r}],this._isolationScope=s}withScope(e){const n=this._pushScope();let r;try{r=e(n)}catch(s){throw this._popScope(),s}return F(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}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function x(){const t=k(),e=X(t);return e.stack=e.stack||new be(ye(),Ee())}function Te(t){return x().withScope(t)}function Ie(t,e){const n=x();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function _t(t){return x().withScope(()=>t(x().getIsolationScope()))}function xe(){return{withIsolationScope:_t,withScope:Te,withSetScope:Ie,withSetIsolationScope:(t,e)=>_t(e),getCurrentScope:()=>x().getScope(),getIsolationScope:()=>x().getIsolationScope()}}function v(t){const e=X(t);return e.acs?e.acs:xe()}function C(){const t=k();return v(t).getCurrentScope()}function N(){const t=k();return v(t).getIsolationScope()}function Ae(){return L("globalScope",()=>new S)}function Jn(...t){const e=k(),n=v(e);if(t.length===2){const[r,s]=t;return r?n.withSetScope(r,s):n.withScope(s)}return n.withScope(t[0])}function st(){return C().getClient()}function Xn(t){const e=t.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:s}=e,i={trace_id:n,span_id:s||Mt()};return r&&(i.parent_span_id=r),i}const Ce="sentry.source",Ne="sentry.sample_rate",Oe="sentry.previous_trace_sample_rate",De="sentry.op",Re="sentry.origin",qn="sentry.profile_id",Zn="sentry.exclusive_time",ke=0,Pe=1,Me="_sentryScope",we="_sentryIsolationScope";function Le(t){if(t){if(typeof t=="object"&&"deref"in t&&typeof t.deref=="function")try{return t.deref()}catch{return}return t}}function wt(t){const e=t;return{scope:e[Me],isolationScope:Le(e[we])}}const Fe="sentry-",je=/^sentry-/;function $e(t){const e=ve(t);if(!e)return;const n=Object.entries(e).reduce((r,[s,i])=>{if(s.match(je)){const o=s.slice(Fe.length);r[o]=i}return r},{});if(Object.keys(n).length>0)return n}function ve(t){if(!(!t||!w(t)&&!Array.isArray(t)))return Array.isArray(t)?t.reduce((e,n)=>{const r=gt(n);return Object.entries(r).forEach(([s,i])=>{e[s]=i}),e},{}):gt(t)}function gt(t){return t.split(",").map(e=>{const n=e.indexOf("=");if(n===-1)return[];const r=e.slice(0,n),s=e.slice(n+1);return[r,s].map(i=>{try{return decodeURIComponent(i.trim())}catch{return}})}).reduce((e,[n,r])=>(n&&r&&(e[n]=r),e),{})}const Ue=/^o(\d+)\./,Ge=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Be(t){return t==="http"||t==="https"}function Qn(t,e=!1){const{host:n,path:r,pass:s,port:i,projectId:o,protocol:a,publicKey:c}=t;return`${a}://${c}${e&&s?`:${s}`:""}@${n}${i?`:${i}`:""}/${r&&`${r}/`}${o}`}function Ve(t){const e=Ge.exec(t);if(!e){q(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}const[n,r,s="",i="",o="",a=""]=e.slice(1);let c="",u=a;const p=u.split("/");if(p.length>1&&(c=p.slice(0,-1).join("/"),u=p.pop()),u){const f=u.match(/^\d+/);f&&(u=f[0])}return Lt({host:i,pass:s,path:c,projectId:u,port:o,protocol:n,publicKey:r})}function Lt(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function ze(t){if(!y)return!0;const{port:e,projectId:n,protocol:r}=t;return["protocol","publicKey","host","projectId"].find(o=>t[o]?!1:(m.error(`Invalid Sentry Dsn: ${o} missing`),!0))?!1:n.match(/^\d+$/)?Be(r)?e&&isNaN(parseInt(e,10))?(m.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):!0:(m.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(m.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function Ke(t){return t.match(Ue)?.[1]}function Ye(t){const e=t.getOptions(),{host:n}=t.getDsn()||{};let r;return e.orgId?r=String(e.orgId):n&&(r=Ke(n)),r}function tr(t){const e=typeof t=="string"?Ve(t):Lt(t);if(!(!e||!ze(e)))return e}const Ft=1;let ht=!1;function He(t){const{spanId:e,traceId:n,isRemote:r}=t.spanContext(),s=r?e:it(t).parent_span_id,i=wt(t).scope,o=r?i?.getPropagationContext().propagationSpanId||Mt():e;return{parent_span_id:s,span_id:o,trace_id:n}}function We(t){if(t&&t.length>0)return t.map(({context:{spanId:e,traceId:n,traceFlags:r,...s},attributes:i})=>({span_id:e,trace_id:n,sampled:r===Ft,attributes:i,...s}))}function mt(t){return typeof t=="number"?St(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?St(t.getTime()):rt()}function St(t){return t>9999999999?t/1e3:t}function it(t){if(Xe(t))return t.getSpanJSON();const{spanId:e,traceId:n}=t.spanContext();if(Je(t)){const{attributes:r,startTime:s,name:i,endTime:o,status:a,links:c}=t,u="parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0;return{span_id:e,trace_id:n,data:r,description:i,parent_span_id:u,start_timestamp:mt(s),timestamp:mt(o
vendor: 9,212 bytes, line 2
2)||void 0,status:Ze(a),op:r[De],origin:r[Re],links:We(c)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function Je(t){const e=t;return!!e.attributes&&!!e.startTime&&!!e.name&&!!e.endTime&&!!e.status}function Xe(t){return typeof t.getSpanJSON=="function"}function qe(t){const{traceFlags:e}=t.spanContext();return e===Ft}function Ze(t){if(!(!t||t.code===ke))return t.code===Pe?"ok":t.message||"internal_error"}const Qe="_sentryRootSpan";function jt(t){return t[Qe]||t}function er(){const t=k(),e=v(t);return e.getActiveSpan?e.getActiveSpan():H(C())}function nr(){ht||(q(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),ht=!0)}function tn(t){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const e=st()?.getOptions();return!!e&&(e.tracesSampleRate!=null||!!e.tracesSampler)}const $t="production",en="_frozenDsc";function vt(t,e){const n=e.getOptions(),{publicKey:r}=e.getDsn()||{},s={environment:n.environment||$t,release:n.release,public_key:r,trace_id:t,org_id:Ye(e)};return e.emit("createDsc",s),s}function rr(t,e){const n=e.getPropagationContext();return n.dsc||vt(n.traceId,t)}function nn(t){const e=st();if(!e)return{};const n=jt(t),r=it(n),s=r.data,i=n.spanContext().traceState,o=i?.get("sentry.sample_rate")??s[Ne]??s[Oe];function a(_){return(typeof o=="number"||typeof o=="string")&&(_.sample_rate=`${o}`),_}const c=n[en];if(c)return a(c);const u=i?.get("sentry.dsc"),p=u&&$e(u);if(p)return a(p);const f=vt(t.spanContext().traceId,e),d=s[Ce],l=r.description;return d!=="url"&&l&&(f.transaction=l),tn()&&(f.sampled=String(qe(n)),f.sample_rand=i?.get("sentry.sample_rand")??wt(n).scope?.getPropagationContext().sampleRand.toString()),a(f),e.emit("createDsc",f,n),f}function b(t,e=100,n=1/0){try{return W("",t,e,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function rn(t,e=3,n=100*1024){const r=b(t,e);return cn(r)>n?rn(t,e-1,n):r}function W(t,e,n=1/0,r=1/0,s=un()){const[i,o]=s;if(e==null||["boolean","string"].includes(typeof e)||typeof e=="number"&&Number.isFinite(e))return e;const a=sn(t,e);if(!a.startsWith("[object "))return a;if(e.__sentry_skip_normalization__)return e;const c=typeof e.__sentry_override_normalization_depth__=="number"?e.__sentry_override_normalization_depth__:n;if(c===0)return a.replace("object ","");if(i(e))return"[Circular ~]";const u=e;if(u&&typeof u.toJSON=="function")try{const l=u.toJSON();return W("",l,c-1,r,s)}catch{}const p=Array.isArray(e)?[]:{};let f=0;const d=Rt(e);for(const l in d){if(!Object.prototype.hasOwnProperty.call(d,l))continue;if(f>=r){p[l]="[MaxProperties ~]";break}const _=d[l];p[l]=W(l,_,c-1,r,s),f++}return o(e),p}function sn(t,e){try{if(t==="domain"&&e&&typeof e=="object"&&e._events)return"[Domain]";if(t==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&e===global)return"[Global]";if(typeof window<"u"&&e===window)return"[Window]";if(typeof document<"u"&&e===document)return"[Document]";if(Dt(e))return Ct(e);if(re(e))return"[SyntheticEvent]";if(typeof e=="number"&&!Number.isFinite(e))return`[${e}]`;if(typeof e=="function")return`[Function: ${qt(e)}]`;if(typeof e=="symbol")return`[${String(e)}]`;if(typeof e=="bigint")return`[BigInt: ${String(e)}]`;const n=on(e);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function on(t){const e=Object.getPrototypeOf(t);return e?.constructor?e.constructor.name:"null prototype"}function an(t){return~-encodeURI(t).split(/%..|./).length}function cn(t){return an(JSON.stringify(t))}function un(){const t=new WeakSet;function e(r){return t.has(r)?!0:(t.add(r),!1)}function n(r){t.delete(r)}return[e,n]}const z=0,yt=1,Et=2;function fn(t){return new R(e=>{e(t)})}function pn(t){return new R((e,n)=>{n(t)})}class R{constructor(e){this._state=z,this._handlers=[],this._runExecutor(e)}then(e,n){return new R((r,s)=>{this._handlers.push([!1,i=>{if(!e)r(i);else try{r(e(i))}catch(o){s(o)}},i=>{if(!n)s(i);else try{r(n(i))}catch(o){s(o)}}]),this._executeHandlers()})}catch(e){return this.then(n=>n,e)}finally(e){return new R((n,r)=>{let s,i;return this.then(o=>{i=!1,s=o,e&&e()},o=>{i=!0,s=o,e&&e()}).then(()=>{if(i){r(s);return}n(s)})})}_executeHandlers(){if(this._state===z)return;const e=this._handlers.slice();this._handlers=[],e.forEach(n=>{n[0]||(this._state===yt&&n[1](this._value),this._state===Et&&n[2](this._value),n[0]=!0)})}_runExecutor(e){const n=(i,o)=>{if(this._state===z){if(F(o)){o.then(r,s);return}this._state=i,this._value=o,this._executeHandlers()}},r=i=>{n(yt,i)},s=i=>{n(Et,i)};try{e(r,s)}catch(i){s(i)}}}function dn(t,e,n,r=0){try{const s=J(e,n,t,r);return F(s)?s:fn(s)}catch(s){return pn(s)}}function J(t,e,n,r){const s=n[r];if(!t||!s)return t;const i=s({...t},e);return y&&i===null&&m.log(`Event processor "${s.id||"?"}" dropped event`),F(i)?i.then(o=>J(o,e,n,r+1)):J(i,e,n,r+1)}function ln(t,e){const{fingerprint:n,span:r,breadcrumbs:s,sdkProcessingMetadata:i}=e;_n(t,e),r&&mn(t,r),Sn(t,n),gn(t,s),hn(t,i)}function bt(t,e){const{extra:n,tags:r,attributes:s,user:i,contexts:o,level:a,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:p,eventProcessors:f,attachments:d,propagationContext:l,transactionName:_,span:U}=e;O(t,"extra",n),O(t,"tags",r),O(t,"attributes",s),O(t,"user",i),O(t,"contexts",o),t.sdkProcessingMetadata=$(t.sdkProcessingMetadata,c,2),a&&(t.level=a),_&&(t.transactionName=_),U&&(t.span=U),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),p.length&&(t.fingerprint=[...t.fingerprint,...p]),f.length&&(t.eventProcessors=[...t.eventProcessors,...f]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,...l}}function O(t,e,n){t[e]=$(t[e],n,1)}function _n(t,e){const{extra:n,tags:r,user:s,contexts:i,level:o,transactionName:a}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(s).length&&(t.user={...s,...t.user}),Object.keys(i).length&&(t.contexts={...i,...t.contexts}),o&&(t.level=o),a&&t.type!=="transaction"&&(t.transaction=a)}function gn(t,e){const n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}function hn(t,e){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...e}}function mn(t,e){t.contexts={trace:He(e),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:nn(e),...t.sdkProcessingMetadata};const n=jt(e),r=it(n).description;r&&!t.transaction&&t.type==="transaction"&&(t.transaction=r)}function Sn(t,e){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],e&&(t.fingerprint=t.fingerprint.concat(e)),t.fingerprint.length||delete t.fingerprint}let I,Tt,It,E;function yn(t){const e=g._sentryDebugIds,n=g._debugIds;if(!e&&!n)return{};const r=e?Object.keys(e):[],s=n?Object.keys(n):[];if(E&&r.length===Tt&&s.length===It)return E;Tt=r.length,It=s.length,E={},I||(I={});const i=(o,a)=>{for(const c of o){const u=a[c],p=I?.[c];if(p&&E&&u)E[p[0]]=u,I&&(I[c]=[p[0],u]);else if(u){const f=t(c);for(let d=f.length-1;d>=0;d--){const _=f[d]?.filename;if(_&&E&&I){E[_]=u,I[c]=[_,u];break}}}}};return e&&i(r,e),n&&i(s,n),E}function sr(t,e,n,r,s,i){const{normalizeDepth:o=3,normalizeMaxBreadth:a=1e3}=t,c={...e,event_id:e.event_id||n.event_id||T(),timestamp:e.timestamp||nt()},u=n.integrations||t.integrations.map(h=>h.name);En(c,t),In(c,u),s&&s.emit("applyFrameMetadata",e),e.type===void 0&&bn(c,t.stackParser);const p=An(r,n.captureContext);n.mechanism&&pe(c,n.mechanism);const f=s?s.getEventProcessors():[],d=Ae().getScopeData();if(i){const h=i.getScopeData();bt(d,h)}if(p){const h=p.getScopeData();bt(d,h)}const l=[...n.attachments||[],...d.attachments];l.length&&(n.attachments=l),ln(c,d);const _=[...f,...d.eventProcessors];return dn(_,c,n).then(h=>(h&&Tn(h),typeof o=="number"&&o>0?xn(h,o,a):h))}function En(t,e){const{environment:n,release:r,dist:s,maxValueLength:i}=e;t.environment=t.environment||n||$t,!t.release&&r&&(t.release=r),!t.dist&&s&&(t.dist=s);const o=t.request;o?.url&&i&&(o.url=K(o.url,i)),i&&t.exception?.values?.forEach(a=>{a.value&&(a.value=K(a.value,i))})}function bn(t,e){const n=yn(e);t.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(s=>{s.filename&&(s.debug_id=n[s.filename])})})}function Tn(t){const e={};if(t.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(s=>{s.debug_id&&(s.abs_path?e[s.abs_path]=s.debug_id:s.filename&&(e[s.filename]=s.debug_id),delete s.debug_id)})}),Object.keys(e).length===0)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const n=t.debug_meta.images;Object.entries(e).forEach(([r,s])=>{n.push({type:"sourcemap",code_file:r,debug_id:s})})}function In(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}function xn(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(s=>({...s,...s.data&&{data:b(s.data,e,n)}}))},...t.user&&{user:b(t.user,e,n)},...t.contexts&&{contexts:b(t.contexts,e,n)},...t.extra&&{extra:b(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=b(t.contexts.trace.data,e,
2n))),t.spans&&(r.spans=t.spans.map(s=>({...s,...s.data&&{data:b(s.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=b(t.contexts.flags,3,n)),r}function An(t,e){if(!e)return t;const n=t?t.clone():new S;return n.update(e),n}function Cn(t){if(t)return Nn(t)?{captureContext:t}:Dn(t)?{captureContext:t}:t}function Nn(t){return t instanceof S||typeof t=="function"}const On=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function Dn(t){return Object.keys(t).some(e=>On.includes(e))}function ir(t,e){return C().captureException(t,Cn(e))}function or(t,e){return C().captureEvent(t,e)}function ar(t,e){N().setContext(t,e)}function cr(t,e){N().setTag(t,e)}function ur(t){N().addEventProcessor(t)}function fr(t){const e=N(),n=C(),{userAgent:r}=g.navigator||{},s=ge({user:n.getUser()||e.getUser(),...r&&{userAgent:r},...t}),i=e.getSession();return i?.status==="ok"&&j(i,{status:"exited"}),Ut(),e.setSession(s),s}function Ut(){const t=N(),n=C().getSession()||t.getSession();n&&he(n),Gt(),t.setSession()}function Gt(){const t=N(),e=st(),n=t.getSession();n&&e&&e.captureSession(n)}function pr(t=!1){if(t){Ut();return}Gt()}export{Ln as $,F as A,Ot as B,q as C,y as D,D as E,st as F,g as G,Gn as H,Kn as I,zn as J,P as K,Rn as L,Un as M,ot as N,Pn as O,rt as P,Zt as Q,et as R,Zn as S,jn as T,$n as U,ae as V,Jn as W,Yn as X,pe as Y,Mn as Z,wn as _,Qn as a,te as a0,rn as a1,Bn as a2,w as a3,Jt as a4,Wt as a5,ie as a6,vn as a7,Vn as a8,fr as a9,pr as aa,or as ab,kn as ac,er as ad,jt as ae,it as af,Ce as ag,nn as ah,ur as ai,ar as aj,Wn as ak,cr as al,X as b,ir as c,m as d,L as e,pn as f,qt as g,nt as h,ce as i,qn as j,Hn as k,j as l,tr as m,b as n,$t as o,sr as p,Xn as q,fn as r,rr as s,C as t,T as u,N as v,Qt as w,Fn as x,nr as y,$ as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.