1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="94a545b4-48c8-885f-ea28-ecc890c3af67")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,329629,733970,678854,476907,780244,934806,319421,106086,49913,625695,133185,812784,982710,187984,304565,327951,442331,861524,989456,1939,930108,473039,766106,803360,780,354596,265156,69914,488709,816806,250848,877715,827157,981769,494325,134119,t=>{"use strict";let e,n,r,a,s;try{var o="u">typeof window?window:t.g;o._sentryModuleMetadata=o._sentryModuleMetadata||{},o._sentryModuleMetadata[(new o.Error).stack]=Object.assign({},o._sentryModuleMetadata[(new o.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let i="10.59.0";t.s(["SDK_VERSION",0,i],733970);try{var c="u">typeof window?window:t.g;c._sentryModuleMetadata=c._sentryModuleMetadata||{},c._sentryModuleMetadata[(new c.Error).stack]=Object.assign({},c._sentryModuleMetadata[(new c.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let u=globalThis;t.s(["GLOBAL_OBJ",0,u],678854);try{var d="u">typeof window?window:t.g;d._sentryModuleMetadata=d._sentryModuleMetadata||{},d._sentryModuleMetadata[(new d.Error).stack]=Object.assign({},d._sentryModuleMetadata[(new d.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function l(){return p(u),u}function p(t){let e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||i,e[i]=e[i]||{}}function _(t,e,n=u){let r=n.__SENTRY__=n.__SENTRY__||{},a=r[i]=r[i]||{};return a[t]||(a[t]=e())}t.s(["getGlobalSingleton",0,_,"getMainCarrier",0,l,"getSentryCarrier",0,p],476907);try{var y="u">typeof window?window:t.g;y._sentryModuleMetadata=y._sentryModuleMetadata||{},y._sentryModuleMetadata[(new y.Error).stack]=Object.assign({},y._sentryModuleMetadata[(new y.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let g="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.s(["DEBUG_BUILD",0,g],780244);try{var f="u">typeof window?window:t.g;f._sentryModuleMetadata=f._sentryModuleMetadata||{},f._sentryModuleMetadata[(new f.Error).stack]=Object.assign({},f._sentryModuleMetadata[(new f.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let h={};function M(t){if(!("console"in u))return t();let e=u.console,n={},r=Object.keys(h);r.forEach(t=>{let r=h[t];n[t]=e[t],e[t]=r});try{return t()}finally{r.forEach(t=>{e[t]=n[t]})}}function m(){return w().enabled}function S(t,...e){g&&m()&&M(()=>{u.console[t](`Sentry Logger [${t}]:`,...e)})}function w(){return g?_("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let E={enable:function(){w().enabled=!0},disable:function(){w().enabled=!1},isEnabled:m,log:function(...t){S("log",...t)},warn:function(...t){S("warn",...t)},error:function(...t){S("error",...t)}};t.s(["CONSOLE_LEVELS",0,["debug","info","warn","error","log","assert","trace"],"consoleSandbox",0,M,"debug",0,E,"originalConsoleMethods",0,h],934806);try{var b="u">typeof window?window:t.g;b._sentryModuleMetadata=b._sentryModuleMetadata||{},b._sentryModuleMetadata[(new b.Error).stack]=Object.assign({},b._sentryModuleMetadata[(new b.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let T=Object.prototype.toString;function v(t){switch(T.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return C(t,Error)}}function A(t,e){return T.call(t)===`[object ${e}]`}function I(t){return A(t,"String")}function k(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function N(t){return null===t||k(t)||"object"!=typeof t&&"function"!=typeof t}function O(t){return A(t,"Object")}function R(t){return"u">typeof Event&&C(t,Event)}function x(t){return A(t,"RegExp")}function P(t){return!!(t?.then&&"function"==typeof t.then)}function C(t,e){try{return t instanceof e}catch{return!1}}t.s(["isDOMError",0,function(t){return A(t,"DOMError")},"isDOMException",0,function(t){return A(t,"DOMException")},"isError",0,v,"isErrorEvent",0,function(t){return A(t,"ErrorEvent")},"isEvent",0,R,"isInstanceOf",0,C,"isParameterizedString",0,k,"isPlainObject",0,O,"isPrimitive",0,N,"isRegExp",0,x,"isRequest",0,function(t){return"u">typeof Request&&C(t,Request)},"isString",0,I,"isThenable",0,P],319421);try{var j="u">typeof window?window:t.g;j._sentryModuleMetadata=j._sentryModuleMetadata||{},j._sentryModuleMetadata[(new j.Error).stack]=Object.assign({},j._sentryModuleMetadata[(new j.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function B(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{g&&E.log(`Failed to add non-enumerable property "${String(e)}" to object`,t)}}function D(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,B(t,"__sentry_original__",e)}catch{}}function U(t){if(v(t))return{message:t.message,name:t.name,stack:t.stack,...L(t)};
2if(R(t)){let{type:e,target:n,currentTarget:r,detail:a}=t;return{type:e,target:n,currentTarget:r,...a?{detail:a}:{},...L(t)}}return t}function L(t){return"object"==typeof t&&null!==t?Object.fromEntries(Object.entries(t)):{}}t.s(["addNonEnumerableProperty",0,B,"convertToPlainObject",0,U,"extractExceptionKeysForMessage",0,function(t){let e=Object.keys(U(t));return e.sort(),e[0]?e.join(", "):"[object has no keys]"},"fill",0,function(t,e,n){if(!(e in t))return;let r=t[e];if("function"!=typeof r)return;let a=n(r);"function"==typeof a&&D(a,r);try{t[e]=a}catch{g&&E.log(`Failed to replace method "${e}" in object`,t)}},"getOriginalFunction",0,function(t){return t.__sentry_original__},"markFunctionWrapped",0,D],106086);try{var K="u">typeof window?window:t.g;K._sentryModuleMetadata=K._sentryModuleMetadata||{},K._sentryModuleMetadata[(new K.Error).stack]=Object.assign({},K._sentryModuleMetadata[(new K.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function $(t){if(void 0!==e)return e?e(t):t();let n=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return n in u&&"function"==typeof u[n]?(e=u[n])(t):(e=null,t())}function F(){return $(()=>Math.random())}function Y(){return $(()=>Date.now())}t.s(["safeDateNow",0,Y,"safeMathRandom",0,F,"withRandomSafeContext",0,$],49913);try{var G="u">typeof window?window:t.g;G._sentryModuleMetadata=G._sentryModuleMetadata||{},G._sentryModuleMetadata[(new G.Error).stack]=Object.assign({},G._sentryModuleMetadata[(new G.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let J=Symbol.for("sentry.skipNormalization"),z=Symbol.for("sentry.overrideNormalizationDepth");try{var H="u">typeof window?window:t.g;H._sentryModuleMetadata=H._sentryModuleMetadata||{},H._sentryModuleMetadata[(new H.Error).stack]=Object.assign({},H._sentryModuleMetadata[(new H.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let W=/\(error: (.*)\)/,V=/captureMessage|captureException/;function q(...t){let e=t.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return(t,n=0,r=0)=>{let a=[],s=t.split("\n");for(let t=n;t<s.length;t++){let n=s[t];n.length>1024&&(n=n.slice(0,1024));let o=W.test(n)?n.replace(W,"$1"):n;if(!o.includes("Error: ")){for(let t of e){let e=t(o);if(e){a.push(e);break}}if(a.length>=50+r)break}}var o=a.slice(r);if(!o.length)return[];let i=Array.from(o);return/sentryWrapped/.test(X(i).function||"")&&i.pop(),i.reverse(),V.test(X(i).function||"")&&(i.pop(),V.test(X(i).function||"")&&i.pop()),i.slice(0,50).map(t=>({...t,filename:t.filename||X(i).filename,function:t.function||"?"}))}}function X(t){return t[t.length-1]||{}}let Q="<anonymous>";function Z(t){try{if(!t||"function"!=typeof t)return Q;return t.name||Q}catch{return Q}}t.s(["UNKNOWN_FUNCTION",0,"?","createStackParser",0,q,"getFramesFromEvent",0,function(t){let e=t.exception;if(e){let t=[];try{return e.values.forEach(e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)}),t}catch{}}},"getFunctionName",0,Z,"normalizeStackTracePath",0,function(t){let e=t?.startsWith("file://")?t.slice(7):t;return e?.match(/\/[A-Z]:/)&&(e=e.slice(1)),e},"stackParserFromStackParserOptions",0,function(t){return Array.isArray(t)?q(...t):t}],625695);try{var tt="u">typeof window?window:t.g;tt._sentryModuleMetadata=tt._sentryModuleMetadata||{},tt._sentryModuleMetadata[(new tt.Error).stack]=Object.assign({},tt._sentryModuleMetadata[(new tt.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function te(t,e=100,n=1/0){try{return function t(e,n,r=1/0,a=1/0,s=function(){let t=new WeakSet;return[function(e){return!!t.has(e)||(t.add(e),!1)},function(e){t.delete(e)}]}()){let o,[i,c]=s;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let u=tn(e,n);if(!u.startsWith("[object "))return u;if(n[J])return n;let d=(o=n[z],"number"==typeof o?o:void 0),l=void 0!==d?d:r;if(0===l)return u.replace("object ","");if(i(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let e=n.toJSON();return t("",e,l-1,a,s)}catch{}let p=Array.isArray(n)?[]:{},_=0,y=U(n);for(let e in y){if(!Object.prototype.hasOwnProperty.call(y,e))continue;if(_>=a){p[e]="[MaxProperties ~]";break}let n=y[e];p[e]=t(e,n,l-1,a,s),_++}return c(n),p}("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function tn(e,r){try{var a;let e;if(n){let t=n(r);if(t)return t}if(r===t.g)return"[Global]";if("number"==typeof r&&!Number.isFinite(r))return`[${r}]`;if("function"==typeof r)return`[Function: ${Z(r)}]`;if("symbol"==typeof r)return`[${String(r)}]`;if("bigint"==typeof r)return`[BigInt: ${String(r)}]`;let s=(a=r,e=Object.getPrototypeOf(a),e?.constructor?e.constructor.name:"null prototype");return`[object ${s}]`}catch(t){return`**non-serializable** (${t})`}}t.s(["normalize",0,te,"normalizeToSize",0,function t(e,n=3,r=102400){let a=te(e,n);return~-encodeURI(JSON.stringify(a)).split(/%..|./).length>r?t(e,n-1,r):a},"setNormalizeStringifier",0,function(t){n=t},"stringifyValue",0,tn],133185);try{var tr="u">typeof window?window:t.g;tr._sentryModuleMetadata=tr._sentryModuleMetadata||{},tr._sentryModuleMetadata[(new tr.Error).stack]=Object.assign({},tr._sentryModuleMetadata[(new tr.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function ta(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function ts(t,e,n=!1){return!!I(t)&&(x(e)?e.test(t):I(e)?n?t===e:t.includes(e):"function"==typeof e&&e(t))}t.s(["isMatchingPattern",0,ts,"safeJoin",0,function(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e<t.length;e++){let r=t[e];N(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(tn(void 0,r))}return n.join(e)},"snipLine",0,function(t,e){let n=t,r=n.length;if(r<=150)return n;e>r&&(e=r);let a=Math.max(e-60,0);a<5&&(a=0);let s=Math.min(a+140,r);return s>r-5&&(s=r),s===r&&(a=Math.max(s-140,0)),n=n.slice(a,s),a>0&&(n=`'{snip} ${n}`),s<r&&(n+=" {snip}"),n},"stringMatchesSomePattern",0,function(t,e=[],n=!1){for(let r of e)if(ts(t,r,n))return!0;return!1},"truncate",0,ta],812784);try{var to="u">typeof window?window:t.g;to._sentryModuleMetadata=to._sentryModuleMetadata||{},to._sentryModuleMetadata[(new to.Error).stack]=Object.assign({},to._sentryModuleMetadata[(new to.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function ti(t=u.crypto||u.msCrypto){try{if(t?.randomUUID)return $(()=>t.randomUUID()).replace(/-/g,"")}catch{}return r||(r="10000000100040008000100000000000"),r.replace(/[018]/g,t=>(t^(15&16*F())>>t/4).toString(16))}function tc(t){return t.exception?.values?.[0]}t.s(["addExceptionMechanism",0,function(t,e){let n=tc(t);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){let t={...r?.data,...e.data};n.mechanism.data=t}},"addExceptionTypeValue",0,function(t,e,n){let r=t.exception=t.exception||{},a=r.values=r.values||[],s=a[0]=a[0]||{};s.value||(s.value=e||""),s.type||(s.type=n||"Error")},"checkOrSetAlreadyCaught",0,function(t){if(function(t){try{return t.__sentry_captured__}catch{}}(t))return!0;try{B(t,"__sentry_captured__",!0)}catch{}return!1},"getEventDescription",0,function(t){let{message:e,event_id:n}=t;if(e)return e;let r=tc(t);return r?r.type&&r.value?`${r.type}: ${r.value}
2`:r.type||r.value||n||"<unknown>":n||"<unknown>"},"uuid4",0,ti],982710);try{var tu="u">typeof window?window:t.g;tu._sentryModuleMetadata=tu._sentryModuleMetadata||{},tu._sentryModuleMetadata[(new tu.Error).stack]=Object.assign({},tu._sentryModuleMetadata[(new tu.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function td(){return Y()/1e3}function tl(){return(a??(a=function(){let{performance:t}=u;if(!t?.now||!t.timeOrigin)return td;let e=t.timeOrigin;return()=>(e+$(()=>t.now()))/1e3}()))()}let tp=null;t.s(["browserPerformanceTimeOrigin",0,function(){return null===tp&&(tp=function(){let{performance:t}=u;if(!t?.now)return;let e=$(()=>t.now()),n=Y(),r=t.timeOrigin;if("number"==typeof r&&3e5>Math.abs(r+e-n))return r;let a=t.timing?.navigationStart;return"number"==typeof a&&3e5>Math.abs(a+e-n)?a:n-e}()),tp},"dateTimestampInSeconds",0,td,"timestampInSeconds",0,tl],187984);try{var t_="u">typeof window?window:t.g;t_._sentryModuleMetadata=t_._sentryModuleMetadata||{},t_._sentryModuleMetadata[(new t_.Error).stack]=Object.assign({},t_._sentryModuleMetadata[(new t_.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function ty(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||tl(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:ti()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{let e=t.timestamp-t.started;t.duration=e>=0?e: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),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}t.s(["closeSession",0,function(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),ty(t,n)},"makeSession",0,function(t){let e=tl(),n={sid:ti(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var t;return t=n,{sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${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}}}};return t&&ty(n,t),n},"updateSession",0,ty],304565);try{var tg="u">typeof window?window:t.g;tg._sentryModuleMetadata=tg._sentryModuleMetadata||{},tg._sentryModuleMetadata[(new tg.Error).stack]=Object.assign({},tg._sentryModuleMetadata[(new tg.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function tf(t,e,n=2){if(!e||"object"!=typeof e||n<=0)return e;if(t&&0===Object.keys(e).length)return t;let r={...t};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=tf(r[t],e[t],n-1));return r}t.s(["merge",0,tf],327951);try{var th="u">typeof window?window:t.g;th._sentryModuleMetadata=th._sentryModuleMetadata||{},th._sentryModuleMetadata[(new th.Error).stack]=Object.assign({},th._sentryModuleMetadata[(new th.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function tM(){return ti()}function tm(){return ti().substring(16)}t.s(["generateSpanId",0,tm,"generateTraceId",0,tM],442331);try{var tS="u">typeof window?window:t.g;tS._sentryModuleMetadata=tS._sentryModuleMetadata||{},tS._sentryModuleMetadata[(new tS.Error).stack]=Object.assign({},tS._sentryModuleMetadata[(new tS.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function tw(t){try{let e=u.WeakRef;if("function"==typeof e)return new e(t)}catch{}return t}function tE(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch{return}return t}}try{var tb="u">typeof window?window:t.g;tb._sentryModuleMetadata=tb._sentryModuleMetadata||{},tb._sentryModuleMetadata[(new tb.Error).stack]=Object.assign({},tb._sentryModuleMetadata[(new tb.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let tT="_sentrySpan";function tv(t,e){e?B(t,tT,tw(e)):delete t[tT]}function tA(t){return tE(t[tT])}t.s(["_getSpanForScope",0,tA,"_setSpanForScope",0,tv],861524);try{var tI="u">typeof window?window:t.g;tI._sentryModuleMetadata=tI._sentryModuleMetadata||{},tI._sentryModuleMetadata[(new tI.Error).stack]=Object.assign({},tI._sentryModuleMetadata[(new tI.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}class tk{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:tM(),sampleRand:F()}}clone(){let t=new tk;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._attributes={...this._attributes},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,t._conversationId=this._conversationId,tv(t,tA(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}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,username:void 0},this._session&&ty(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(t){return this._conversationId=t||void 0,this._notifyScopeListeners(),this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this.setTags({[t]:e})}setAttributes(t){return this._attributes={...this._attributes,...t},this._notifyScopeListeners(),this}setAttribute(t,e){return this.setAttributes({[t]:e})}removeAttribute(t){return t in this._attributes&&(delete this._attributes[t],this._notifyScopeListeners()),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},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,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let e="function"==typeof t?t(this):t,{tags:n,attributes:r,extra:a,user:s,contexts:o,level:i,fingerprint:c=[],propagationContext:u,conversationId:d}=(e instanceof tk?e.getScopeData():O(e)?t:void 0)||{};return this._tags={...this._tags,...n},this._attributes={...this._attributes,...r},this._extra={...this._extra,...a},this._contexts={...this._contexts,...o},s&&Object.keys(s).length&&(this._user=s),i&&(this._level=i),c.length&&(this._fingerprint=c),u&&(this._propagationContext=u),d&&(this._conversationId=d),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,this._conversationId=void 0,tv(this,void 0),this._attachments=[],this.setPropagationContext({traceId:tM(),sampleRand:F()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:td(),...t,message:t.message?ta(t.message,2048):t.message};return this._breadcrumbs.push(r),this._breadcrumbs.length>n&&(this._breadcrumbs=this._breadcrumbs.slice(-n),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(t){return this._attachments.push(t),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:tA(this),conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=tf(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){let n=e?.event_id||ti();if(!this._client)return g&&E.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:r,...e,event_id:n},this),n}captureMessage(t,e,n){let r=n?.event_id||ti();if(!this._client)return g&&E.warn("No client configured on scope - will not capture message!"),r;let a=n?.syntheticException??Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:a,...n,event_id:r},this),r}captureEvent(t,e){let n=t.event_id||e?.event_id||ti();return this._client?this._client.captureEvent(t,{...e,event_id:n},this):g&&E.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
2h(t=>{t(this)}),this._notifyingListeners=!1)}}t.s(["Scope",0,tk],989456);try{var tN="u">typeof window?window:t.g;tN._sentryModuleMetadata=tN._sentryModuleMetadata||{},tN._sentryModuleMetadata[(new tN.Error).stack]=Object.assign({},tN._sentryModuleMetadata[(new tN.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}try{var tO="u">typeof window?window:t.g;tO._sentryModuleMetadata=tO._sentryModuleMetadata||{},tO._sentryModuleMetadata[(new tO.Error).stack]=Object.assign({},tO._sentryModuleMetadata[(new tO.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let tR=t=>t instanceof Promise&&!t[tx],tx=Symbol("chained PromiseLike"),tP=(t,e,n)=>{let r=t.then(t=>(e(t),t),t=>{throw n(t),t});return tR(r)&&tR(t)?r:tC(t,r)},tC=(t,e)=>{if(!e)return t;let n=!1;for(let r in t){if(r in e)continue;n=!0;let a=t[r];"function"==typeof a?Object.defineProperty(e,r,{value:(...e)=>a.apply(t,e),enumerable:!0,configurable:!0,writable:!0}):e[r]=a}return n&&Object.assign(e,{[tx]:!0}),e};t.s(["chainAndCopyPromiseLike",0,tP],1939);try{var tj="u">typeof window?window:t.g;tj._sentryModuleMetadata=tj._sentryModuleMetadata||{},tj._sentryModuleMetadata[(new tj.Error).stack]=Object.assign({},tj._sentryModuleMetadata[(new tj.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}class tB{constructor(t,e){let n,r;n=t||new tk,r=e||new tk,this._stack=[{scope:n}],this._isolationScope=r}withScope(t){let e,n=this._pushScope();try{e=t(n)}catch(t){throw this._popScope(),t}return P(e)?tP(e,()=>this._popScope(),()=>this._popScope()):(this._popScope(),e)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function tD(){let t=p(l());return t.stack=t.stack||new tB(_("defaultCurrentScope",()=>new tk),_("defaultIsolationScope",()=>new tk))}function tU(t){return tD().withScope(t)}function tL(t,e){let n=tD();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function tK(t){return tD().withScope(()=>t(tD().getIsolationScope()))}try{var t$="u">typeof window?window:t.g;t$._sentryModuleMetadata=t$._sentryModuleMetadata||{},t$._sentryModuleMetadata[(new t$.Error).stack]=Object.assign({},t$._sentryModuleMetadata[(new t$.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function tF(t){let e=p(t);return e.acs?e.acs:{withIsolationScope:tK,withScope:tU,withSetScope:tL,withSetIsolationScope:(t,e)=>tK(e),getCurrentScope:()=>tD().getScope(),getIsolationScope:()=>tD().getIsolationScope()}}t.s(["getAsyncContextStrategy",0,tF],930108);try{var tY="u">typeof window?window:t.g;tY._sentryModuleMetadata=tY._sentryModuleMetadata||{},tY._sentryModuleMetadata[(new tY.Error).stack]=Object.assign({},tY._sentryModuleMetadata[(new tY.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function tG(){return tF(l()).getCurrentScope()}function tJ(){return _("globalScope",()=>new tk)}function tz(){return tG().getClient()}t.s(["getClient",0,tz,"getCurrentScope",0,tG,"getGlobalScope",0,tJ,"getIsolationScope",0,function(){return tF(l()).getIsolationScope()},"getTraceContextFromScope",0,function(t){let e=s?.();if(e)return{trace_id:e.traceId,span_id:e.spanId};let{traceId:n,parentSpanId:r,propagationSpanId:a}=t.getPropagationContext(),o={trace_id:n,span_id:a||tm()};return r&&(o.parent_span_id=r),o},"hasExternalPropagationContext",0,function(){return void 0!==s},"withIsolationScope",0,function(...t){let e=tF(l());if(2===t.length){let[n,r]=t;return n?e.withSetIsolationScope(n,r):e.withIsolationScope(r)}return e.withIsolationScope(t[0])},"withScope",0,function(...t){let e=tF(l());if(2===t.length){let[n,r]=t;return n?e.withSetScope(n,r):e.withScope(r)}return e.withScope(t[0])}],329629);try{var tH="u">typeof window?window:t.g;tH._sentryModuleMetadata=tH._sentryModuleMetadata||{},tH._sentryModuleMetadata[(new tH.Error).stack]=Object.assign({},tH._sentryModuleMetadata[(new tH.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let tW="sentry.source",tV="sentry.sample_rate",tq="sentry.previous_trace_sample_rate",tX="sentry.op",tQ="sentry.origin";t.s(["GEN_AI_CONVERSATION_ID_ATTRIBUTE",0,"gen_ai.conversation.id","SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME",0,"sentry.exclusive_time","SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD",0,"http.request.method","SEMANTIC_ATTRIBUTE_PROFILE_ID",0,"sentry.profile_id","SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME",0,"sentry.custom_span_name","SEMANTIC_ATTRIBUTE_SENTRY_ENVIRONMENT",0,"sentry.environment","SEMANTIC_ATTRIBUTE_SENTRY_IDLE_SPAN_FINISH_REASON",0,"sentry.idle_span_finish_reason","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT",0,"sentry.measurement_unit","SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE",0,"sentry.measurement_value","SEMANTIC_ATTRIBUTE_SENTRY_OP",0,tX,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",0,tQ,"SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE",0,tq,"SEMANTIC_ATTRIBUTE_SENTRY_RELEASE",0,"sentry.release","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",0,tV,"SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS",0,"sentry.sdk.integrations","SEMANTIC_ATTRIBUTE_SENTRY_SDK_NAME",0,"sentry.sdk.name","SEMANTIC_ATTRIBUTE_SENTRY_SDK_VERSION",0,"sentry.sdk.version","SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_ID",0,"sentry.segment.id","SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_NAME",0,"sentry.segment.name","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",0,tW,"SEMANTIC_ATTRIBUTE_URL_FULL",0,"url.full","SEMANTIC_ATTRIBUTE_USER_EMAIL",0,"user.email","SEMANTIC_ATTRIBUTE_USER_ID",0,"user.id","SEMANTIC_ATTRIBUTE_USER_IP_ADDRESS",0,"user.ip_address","SEMANTIC_ATTRIBUTE_USER_USERNAME",0,"user.name","SEMANTIC_LINK_ATTRIBUTE_LINK_TYPE",0,"sentry.link.type"],473039);try{var tZ="u">typeof window?window:t.g;tZ._sentryModuleMetadata=tZ._sentryModuleMetadata||{},tZ._sentryModuleMetadata[(new tZ.Error).stack]=Object.assign({},tZ._sentryModuleMetadata[(new tZ.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let t0="sentry-";function t1(t){let e=t4(t);if(!e)return;let n=Object.entries(e).reduce((t,[e,n])=>(e.startsWith(t0)&&(t[e.slice(t0.length)]=n),t),{});return Object.keys(n).length>0?n:void 0}function t4(t){if(t&&(I(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((t,e)=>
2(Object.entries(t9(e)).forEach(([e,n])=>{t[e]=n}),t),{}):t9(t)}function t9(t){return t.split(",").map(t=>{let e=t.indexOf("=");return -1===e?[]:[t.slice(0,e),t.slice(e+1)].map(t=>{try{return decodeURIComponent(t.trim())}catch{return}})}).reduce((t,[e,n])=>(e&&n&&(t[e]=n),t),{})}t.s(["SENTRY_BAGGAGE_KEY_PREFIX",0,t0,"baggageHeaderToDynamicSamplingContext",0,t1,"dynamicSamplingContextToSentryBaggageHeader",0,function(t){if(t){var e=Object.entries(t).reduce((t,[e,n])=>(n&&(t[`${t0}${e}`]=n),t),{});return 0!==Object.keys(e).length?Object.entries(e).reduce((t,[e,n],r)=>{let a=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,s=0===r?a:`${t},${a}`;return s.length>8192?(g&&E.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):s},""):void 0}},"parseBaggageHeader",0,t4],766106);try{var t3="u">typeof window?window:t.g;t3._sentryModuleMetadata=t3._sentryModuleMetadata||{},t3._sentryModuleMetadata[(new t3.Error).stack]=Object.assign({},t3._sentryModuleMetadata[(new t3.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function t2(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let e=t||tz()?.getOptions();return!!e&&(null!=e.tracesSampleRate||!!e.tracesSampler)}t.s(["hasSpansEnabled",0,t2],803360);try{var t8="u">typeof window?window:t.g;t8._sentryModuleMetadata=t8._sentryModuleMetadata||{},t8._sentryModuleMetadata[(new t8.Error).stack]=Object.assign({},t8._sentryModuleMetadata[(new t8.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function t6(t){if("boolean"==typeof t)return Number(t);let e="string"==typeof t?parseFloat(t):t;if(!("number"!=typeof e||isNaN(e))&&!(e<0)&&!(e>1))return e}t.s(["parseSampleRate",0,t6],780);try{var t5="u">typeof window?window:t.g;t5._sentryModuleMetadata=t5._sentryModuleMetadata||{},t5._sentryModuleMetadata[(new t5.Error).stack]=Object.assign({},t5._sentryModuleMetadata[(new t5.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function t7(t,e=!1){let n={};for(let[r,a]of Object.entries(t??{})){let t=function(t,e){let{value:n,unit:r}="object"==typeof t&&null!=t&&!Array.isArray(t)&&Object.keys(t).includes("value")?t:{value:t,unit:void 0},a=function(t){if(Array.isArray(t))return{value:t,type:"array"};let e="string"==typeof t?"string":"boolean"==typeof t?"boolean":"number"!=typeof t||Number.isNaN(t)?null:Number.isInteger(t)?"integer":"double";if(e)return{value:t,type:e}}(n),s=r&&"string"==typeof r?{unit:r}:{};if(a)return{...a,...s};if(!e||"skip-undefined"===e&&void 0===n)return;let o="";try{o=JSON.stringify(n)??""}catch{}return{value:o,type:"string",...s}}(a,e);t&&(n[r]=t)}return n}t.s(["serializeAttributes",0,t7],354596);try{var et="u">typeof window?window:t.g;et._sentryModuleMetadata=et._sentryModuleMetadata||{},et._sentryModuleMetadata[(new et.Error).stack]=Object.assign({},et._sentryModuleMetadata[(new et.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}t.s(["SPAN_STATUS_ERROR",0,2,"SPAN_STATUS_OK",0,1,"SPAN_STATUS_UNSET",0,0,"setHttpStatus",0,function(t,e){t.setAttribute("http.response.status_code",e);let n=function(t){if(t<400&&t>=100)return{code:1};if(t>=400&&t<500)switch(t){case 401:return{code:2,message:"unauthenticated"};case 403:return{code:2,message:"permission_denied"};case 404:return{code:2,message:"not_found"};case 409:return{code:2,message:"already_exists"};case 413:return{code:2,message:"failed_precondition"};case 429:return{code:2,message:"resource_exhausted"};case 499:return{code:2,message:"cancelled"};default:return{code:2,message:"invalid_argument"}}if(t>=500&&t<600)switch(t){case 501:return{code:2,message:"unimplemented"};case 503:return{code:2,message:"unavailable"};case 504:return{code:2,message:"deadline_exceeded"}}return{code:2,message:"internal_error"}}(e);"unknown_error"!==n.message&&t.setStatus(n)}],265156);try{var ee="u">typeof window?window:t.g;ee._sentryModuleMetadata=ee._sentryModuleMetadata||{},ee._sentryModuleMetadata[(new ee.Error).stack]=Object.assign({},ee._sentryModuleMetadata[(new ee.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let en="_sentryScope",er="_sentryIsolationScope";function ea(t){return{scope:t[en],isolationScope:tE(t[er])}}t.s(["getCapturedScopesOnSpan",0,ea,"setCapturedScopesOnSpan",0,function(t,e,n){t&&(B(t,er,tw(n)),B(t,en,e))}],69914);try{var es="u">typeof window?window:t.g;es._sentryModuleMetadata=es._sentryModuleMetadata||{},es._sentryModuleMetadata[(new es.Error).stack]=Object.assign({},es._sentryModuleMetadata[(new es.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let eo=/^o(\d+)\./,ei=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function ec(t,e=!1){let{host:n,path:r,pass:a,port:s,projectId:o,protocol:i,publicKey:c}=t;return`${i}://${c}${e&&a?`:${a}`:""}@${n}${s?`:${s}`:""}/${r?`${r}/`:r}${o}
2`}function eu(t){let e=ei.exec(t);if(!e)return void M(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});let[n,r,a="",s="",o="",i=""]=e.slice(1),c="",u=i,d=u.split("/");if(d.length>1&&(c=d.slice(0,-1).join("/"),u=d.pop()),u){let t=u.match(/^\d+/);t&&(u=t[0])}return ed({host:s,pass:a,path:c,projectId:u,port:o,protocol:n,publicKey:r})}function ed(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function el(t){let e,n=t.getOptions(),{host:r}=t.getDsn()||{};if(n.orgId)e=String(n.orgId);else{let t;r&&(t=r.match(eo),e=t?.[1])}return e}t.s(["dsnFromString",0,eu,"dsnToString",0,ec,"extractOrgIdFromClient",0,el,"makeDsn",0,function(t){let e="string"==typeof t?eu(t):ed(t);if(e&&function(t){if(!g)return!0;let{port:e,projectId:n,protocol:r}=t;return!["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(E.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(E.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):!(e&&isNaN(parseInt(e,10)))||(E.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):(E.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(e))return e}],488709);try{var ep="u">typeof window?window:t.g;ep._sentryModuleMetadata=ep._sentryModuleMetadata||{},ep._sentryModuleMetadata[(new ep.Error).stack]=Object.assign({},ep._sentryModuleMetadata[(new ep.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let e_=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function ey(t=tM(),e=tm(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}function eg(t=tM(),e=tm(),n){return`00-${t}-${e}-${n?"01":"00"}`}t.s(["TRACEPARENT_REGEXP",0,e_,"generateSentryTraceHeader",0,ey,"generateTraceparentHeader",0,eg,"propagationContextFromHeaders",0,function(t,e){let n=function(t){let e;if(!t)return;let n=t.match(e_);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}(t),r=t1(e);if(!n?.traceId)return{traceId:tM(),sampleRand:F()};let a=function(t,e){let n=t6(e?.sample_rand);if(void 0!==n)return n;let r=t6(e?.sample_rate);return r&&t?.parentSampled!==void 0?t.parentSampled?F()*r:r+F()*(1-r):F()}(n,r);r&&(r.sample_rand=a.toString());let{traceId:s,parentSpanId:o,parentSampled:i}=n;return{traceId:s,parentSpanId:o,sampled:i,dsc:r||{},sampleRand:a}},"shouldContinueTrace",0,function(t,e){let n=el(t);return e&&n&&e!==n?(E.log(`Won't continue trace because org IDs don't match (incoming baggage: ${e}, SDK options: ${n})`),!1):!t.getOptions().strictTraceContinuation||(!e||!!n)&&(!!e||!n)||(E.log(`Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ${e}, Sentry client: ${n})`),!1)}],816806);try{var ef="u">typeof window?window:t.g;ef._sentryModuleMetadata=ef._sentryModuleMetadata||{},ef._sentryModuleMetadata[(new ef.Error).stack]=Object.assign({},ef._sentryModuleMetadata[(new ef.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let eh=!1;function eM(t){let{spanId:e,traceId:n,isRemote:r}=t.spanContext(),a=r?e:eb(t).parent_span_id,s=ea(t).scope;return{parent_span_id:a,span_id:r?s?.getPropagationContext().propagationSpanId||tm():e,trace_id:n}}function em(t){return t&&t.length>0?t.map(({context:{spanId:t,traceId:e,traceFlags:n,...r},attributes:a})=>({span_id:t,trace_id:e,sampled:1===n,attributes:a,...r})):void 0}function eS(t){return t?.length?t.map(({context:{spanId:t,traceId:e,traceFlags:n},attributes:r})=>({span_id:t,trace_id:e,sampled:1===n,attributes:r})):void 0}function ew(t){return"number"==typeof t?eE(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?eE(t.getTime()):tl()}function eE(t){return t>0x2540be3ff?t/1e3:t}function eb(t){if(eA(t))return t.getSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(ev(t)){let{attributes:r,startTime:a,name:s,endTime:o,status:i,links:c}=t;return{span_id:e,trace_id:n,data:r,description:s,parent_span_id:eT(t),start_timestamp:ew(a),timestamp:ew(o)||void 0,status:ek(i),op:r[tX],origin:r[tQ],links:em(c)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function eT(t){return"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0}function ev(t){return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function eA(t){return"function"==typeof t.getSpanJSON}function eI(t){let{traceFlags:e}=t.spanContext();return 1===e}function ek(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"internal_error"}function eN(t){return t&&1!==t.code&&0!==t.code&&"cancelled"!==t.message?"error":"ok"}let eO="_sentryChildSpans",eR="_sentryRootSpan",ex=eP;function eP(t){return t[eR]||t}t.s(["INTERNAL_getSegmentSpan",0,eP,"TRACE_FLAG_NONE",0,0,"TRACE_FLAG_SAMPLED",0,1,"addChildSpanToSpan",0,function(t,e){let n=t[eR]||t;B(e,eR,n),t[eO]?t[eO].add(e):B(t,eO,new Set([e]))},"convertSpanLinksForEnvelope",0,em,"getActiveSpan",0,function(){let t=tF(l());return t.getActiveSpan?t.getActiveSpan():tA(tG())},"getRootSpan",0,ex,"getSimpleStatusMessage",0,eN,"getSpanDescendants",0,function(t){let e=new Set;return!function t(n){if(!e.has(n)&&eI(n))for(let r of(e.add(n),n[eO]?Array.from(n[eO]):[]))t(r)}(t),Array.from(e)},"getStatusMessage",0,ek,"getStreamedSpanLinks",0,eS,"removeChildSpanFromSpan",0,function(t,e){t[eO]&&t[eO].delete(e)},"showSpanDropWarning",0,function(){eh||(M(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),eh=!0)},"spanIsSampled",0,eI,"spanTimeInputToSeconds",0,ew,"spanToJSON",0,eb,"spanToStreamedSpanJSON",0,function(t){if(eA(t))return t.getStreamedSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(ev(t)){let{attributes:r,startTime:a,name:s,endTime:o,status:i,links:c}=t;return{name:s,span_id:e,trace_id:n,parent_span_id:eT(t),start_timestamp:ew(a),end_timestamp:ew(o),is_segment:t===eP(t),status:eN(i),attributes:r,links:eS(c)}}return{span_id:e,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:t===eP(t)}},"spanToTraceContext",0,eM,"spanToTraceHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return ey(e,n,eI(t))},"spanToTraceparentHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return eg(e,n,eI(t))},"spanToTransactionTraceContext",0,function(t){let{spanId:e,traceId:n}=t.spanContext(),{data:r,op:a,parent_span_id:s,status:o,origin:i,links:c}=eb(t);return{parent_span_id:s,span_id:e,trace_id:n,data:r,op:a,status:o,origin:i,links:c}},"streamedSpanJsonToSerializedSpan",0,function(t){return{...t,attributes:t7(t.attributes),links:t.links?.map(t=>({...t,attributes:t7(t.attributes)}))}}],250848);try{var eC="u">typeof window?window:t.g;eC._sentryModuleMetadata=eC._sentryModuleMetadata||{},eC._sentryModuleMetadata[(new eC.Error).stack]=Object.assign({},eC._sentryModuleMetadata[(new eC.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let ej="production";t.s(["DEFAULT_ENVIRONMENT",0,ej],877715);try{var eB="u">typeof window?window:t.g;eB._sentryModuleMetadata=eB._sentryModuleMetadata||{},eB._sentryModuleMetadata[(new eB.Error).stack]=Object.assign({},eB._sentryModuleMetadata[(new eB.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let eD=Symbol.for("sentry.nonRecordingSpan");function eU(t){return!!t&&!0===t[eD]}t.s(["SentryNonRecordingSpan",0,class{constructor(t={}){this._traceId=t.traceId||tM(),this._spanId=t.spanId||tm(),this.dropReason=t.dropReason,B(this,eD,!0)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:0}}end(t){}setAttribute(t,e){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}
2addEvent(t,e,n){return this}addLink(t){return this}addLinks(t){return this}recordException(t,e){}},"spanIsNonRecordingSpan",0,eU],827157);try{var eL="u">typeof window?window:t.g;eL._sentryModuleMetadata=eL._sentryModuleMetadata||{},eL._sentryModuleMetadata[(new eL.Error).stack]=Object.assign({},eL._sentryModuleMetadata[(new eL.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}let eK="_frozenDsc";function e$(t,e){let n=e.getOptions(),{publicKey:r}=e.getDsn()||{},a={environment:n.environment||ej,release:n.release,public_key:r,trace_id:t,org_id:el(e)};return e.emit("createDsc",a),a}function eF(t,e){let n=e.getPropagationContext();return n.dsc||e$(n.traceId,t)}function eY(t){let e=tz();if(!e)return{};let n=ex(t),r=eb(n),a=r.data,s=n.spanContext().traceState,o=s?.get("sentry.sample_rate")??a[tV]??a[tq];function i(t){return("number"==typeof o||"string"==typeof o)&&(t.sample_rate=`${o}`),t}let c=n[eK];if(c)return i(c);if(eU(n)&&!t2(e.getOptions())){let t=ea(n).scope;if(t)return i({...eF(e,t)})}let u=s?.get("sentry.dsc"),d=u&&t1(u);if(d)return i(d);let l=e$(t.spanContext().traceId,e),p=a[tW]??a["sentry.span.source"],_=r.description;return"url"!==p&&_&&(l.transaction=_),t2()&&(l.sampled=String(eI(n)),l.sample_rand=s?.get("sentry.sample_rand")??ea(n).scope?.getPropagationContext().sampleRand.toString()),i(l),e.emit("createDsc",l,n),l}t.s(["freezeDscOnSpan",0,function(t,e){B(t,eK,e)},"getDynamicSamplingContextFromScope",0,eF,"getDynamicSamplingContextFromSpan",0,eY],981769);try{var eG="u">typeof window?window:t.g;eG._sentryModuleMetadata=eG._sentryModuleMetadata||{},eG._sentryModuleMetadata[(new eG.Error).stack]=Object.assign({},eG._sentryModuleMetadata[(new eG.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function eJ(t,e){for(let n of t[1]){let t=n[0].type;if(e(n,t))return!0}return!1}function ez(t){let e=p(u);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}let eH={sessions:"session",event:"error",client_report:"internal",user_report:"default",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",raw_security:"security",log:"log_item",trace_metric:"metric"};t.s(["addItemToEnvelope",0,function(t,e){let[n,r]=t;return[n,[...r,e]]},"createAttachmentEnvelopeItem",0,function(t){let e="string"==typeof t.data?ez(t.data):t.data;return[{type:"attachment",length:e.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType},e]},"createEnvelope",0,function(t,e=[]){return[t,e]},"createEventEnvelopeHeaders",0,function(t,e,n,r){let a=t.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date(Y()).toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:ec(r)},...a&&{trace:a}}},"createSpanEnvelopeItem",0,function(t){return[{type:"span"},t]},"envelopeContainsItemType",0,function(t,e){return eJ(t,(t,n)=>e.includes(n))},"envelopeItemTypeToDataCategory",0,function(t){return t in eH?eH[t]:t},"forEachEnvelopeItem",0,eJ,"getSdkMetadataForEnvelopeHeader",0,function(t){if(!t?.sdk)return;let{name:e,version:n}=t.sdk;return{name:e,version:n}},"serializeEnvelope",0,function(t){let[e,n]=t,r=JSON.stringify(e);function a(t){"string"==typeof r?r="string"==typeof t?r+t:[ez(r),t]:r.push("string"==typeof t?ez(t):t)}for(let t of n){let[e,n]=t;if(a(` 3${JSON.stringify(e)} 4`),"string"==typeof n||n instanceof Uint8Array)a(n);else{let t;try{t=JSON.stringify(n)}catch{t=JSON.stringify(te(n))}a(t)}}return"string"==typeof r?r:function(t){let e=new Uint8Array(t.reduce((t,e)=>t+e.length,0)),n=0;for(let r of t)e.set(r,n),n+=r.length;return e}(r)}],494325);try{var eW="u">typeof window?window:t.g;eW._sentryModuleMetadata=eW._sentryModuleMetadata||{},eW._sentryModuleMetadata[(new eW.Error).stack]=Object.assign({},eW._sentryModuleMetadata[(new eW.Error).stack],{"_sentryBundlerPluginAppKey:storytelcom":!0})}catch(t){}function eV(t,e){let{extra:n,tags:r,attributes:a,user:s,contexts:o,level:i,sdkProcessingMetadata:c,breadcrumbs:u,fingerprint:d,eventProcessors:l,attachments:p,propagationContext:_,transactionName:y,span:g}=e;eq(t,"extra",n),eq(t,"tags",r),eq(t,"attributes",a),eq(t,"user",s),eq(t,"contexts",o),t.sdkProcessingMetadata=tf(t.sdkProcessingMetadata,c,2),i&&(t.level=i),y&&(t.transactionName=y),g&&(t.span=g),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),d.length&&(t.fingerprint=[...t.fingerprint,...d]),l.length&&(t.eventProcessors=[...t.eventProcessors,...l]),p.length&&(t.attachments=[...t.attachments,...p]),t.propagationContext={...t.propagationContext,..._}}function eq(t,e,n){t[e]=tf(t[e],n,1)}t.s(["applyScopeDataToEvent",0,function(t,e){var n,r,a,s,o,i,c,u;let d,l,{fingerprint:p,span:_,breadcrumbs:y,sdkProcessingMetadata:g}=e;(function(t,e){let{extra:n,tags:r,user:a,contexts:s,level:o,transactionName:i}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(a).length&&(t.user={...a,...t.user}),Object.keys(s).length&&(t.contexts={...s,...t.contexts}),o&&(t.level=o),i&&"transaction"!==t.type&&(t.transaction=i)})(t,e),_&&((n=t).contexts={trace:eM(r=_),...n.contexts},n.sdkProcessingMetadata={dynamicSamplingContext:eY(r),...n.sdkProcessingMetadata},(d=eb(ex(r)).description)&&!n.transaction&&"transaction"===n.type&&(n.transaction=d)),a=t,s=p,a.fingerprint=a.fingerprint?Array.isArray(a.fingerprint)?a.fingerprint:[a.fingerprint]:[],s&&(a.fingerprint=a.fingerprint.concat(s)),a.fingerprint.length||delete a.fingerprint,o=t,i=y,l=[...o.breadcrumbs||[],...i],o.breadcrumbs=l.length?l:void 0,c=t,u=g,c.sdkProcessingMetadata={...c.sdkProcessingMetadata,...u}},"getCombinedScopeData",0,function(t,e){let n=tJ().getScopeData();return t&&eV(n,t.getScopeData()),e&&eV(n,e.getScopeData()),n}],134119)}]); 5 6//# debugId=94a545b4-48c8-885f-ea28-ecc890c3af67
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.