PageSourceSearch

https://cdn.grok.com/_next/static/chunks/1-m6h_zst-hi3.js

js grok.com collected 2026-09-24 09:07:43 UTC 73,947 bytes, 7 lines download raw bytes

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]="111b8a8c-412f-2e67-2630-9e5fb0f58761")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2765193,7012213,t=>{"use strict";var e=t.i(6502745),n=t.i(7734851),r=t.i(3724330);t.s(["addBreadcrumb",0,function(t,i){let s=(0,e.getClient)(),a=(0,e.getIsolationScope)();if(!s)return;let{beforeBreadcrumb:o=null,maxBreadcrumbs:u=100}=s.getOptions();if(u<=0)return;let c={timestamp:(0,r.dateTimestampInSeconds)(),...t},l=o?(0,n.consoleSandbox)(()=>o(c,i)):c;null!==l&&(s.emit&&s.emit("beforeAddBreadcrumb",l,i),a.addBreadcrumb(l,u))}],2765193);var i=t.i(5146446),s=t.i(6733474);let a="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var o=t.i(8549574),u=t.i(4937183);t.s(["startSpan",0,function(t,e){let r,c;return(r=o.default.env.NEXT_PHASE===u.PHASE_PRODUCTION_BUILD,(c=!!e&&function(t){if(t.$$typeof!==Symbol.for("react.server.reference"))return!1;let{type:e}=function(t){let e=parseInt(t.slice(0,2),16),n=e>>1&63,r=Array(6);for(let t=0;t<6;t++){let e=n>>5-t&1;r[t]=1===e}return{type:1==(e>>7&1)?"use-cache":"server-action",usedArgs:r,hasRestArgs:1==(1&e)}}(t.$$id);return"use-cache"===e}(e))&&a&&n.debug.log("Skipping span creation in Cache Components context"),r||c)?e(new s.SentryNonRecordingSpan({traceId:"00000000000000000000000000000000",spanId:"0000000000000000"})):(0,i.startSpan)(t,e)}],7012213)},7422069,3990732,2490447,6666422,5734103,7734851,9923665,5737635,7093779,498189,3530523,7275096,1534993,3724330,1643117,4181831,8222414,9320664,7647697,6502745,3202213,3456855,7795567,6962143,578018,8295403,3854325,6124556,7530636,1642313,4444579,9234768,8436518,6733474,5533232,5872829,8934368,7380162,8268392,3595041,5146446,6907338,3398020,3895771,t=>{"use strict";let e,n,r,i,s,a,o,u,c,l="10.68.0";t.s(["SDK_VERSION",0,l],3990732);let p=globalThis;function d(){return _(p),p}function _(t){let e=t.__SENTRY__=t.__SENTRY__||{};return e.version=e.version||l,e[l]=e[l]||{}}function f(t,e,n=p){let r=n.__SENTRY__=n.__SENTRY__||{},i=r[l]=r[l]||{};return i[t]||(i[t]=e())}t.s(["GLOBAL_OBJ",0,p],2490447),t.s(["getGlobalSingleton",0,f,"getMainCarrier",0,d,"getSentryCarrier",0,_],6666422);let g="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;t.s(["DEBUG_BUILD",0,g],5734103);let m={};function S(t){if(!("console"in p))return t();let e=p.console,n={},r=Object.keys(m);r.forEach(t=>{let r=m[t];n[t]=e[t],e[t]=r});try{return t()}finally{r.forEach(t=>{e[t]=n[t]})}}function h(){return T().enabled}function E(t,...e){g&&h()&&S(()=>{p.console[t](`Sentry Logger [${t}]:`,...e)})}function T(){return g?f("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let y={enable:function(){T().enabled=!0},disable:function(){T().enabled=!1},isEnabled:h,log:function(...t){E("log",...t)},warn:function(...t){E("warn",...t)},error:function(...t){E("error",...t)}};t.s(["CONSOLE_LEVELS",0,["debug","info","warn","error","log","assert","trace"],"consoleSandbox",0,S,"debug",0,y,"originalConsoleMethods",0,m],7734851);let I=Object.prototype.toString;function b(t){switch(I.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return M(t,Error)}}function v(t,e){return I.call(t)===`[object ${e}]`}function R(t){return v(t,"String")}function N(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function A(t){return null===t||N(t)||"object"!=typeof t&&"function"!=typeof t}function O(t){return v(t,"Object")}function C(t){return"object"==typeof t&&null!==t}function x(t){return"u">typeof Event&&M(t,Event)}function D(t){return v(t,"RegExp")}function P(t){return!!(t?.then&&"function"==typeof t.then)}function M(t,e){try{return t instanceof e}catch{return!1}}function L(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch{g&&y.log(`Failed to add non-enumerable property "${String(e)}" to object`,t)}}function k(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,L(t,"__sentry_original__",e)}catch{}}function U(t){if(b(t))return{message:t.message,name:t.name,stack:t.stack,...w(t)};
2if(x(t)){let{type:e,target:n,currentTarget:r,detail:i}=t;return{type:e,target:n,currentTarget:r,...i?{detail:i}:{},...w(t)}}return t}function w(t){return C(t)?Object.fromEntries(Object.entries(t)):{}}function B(t){if(void 0!==e)return e?e(t):t();let n=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return n in p&&"function"==typeof p[n]?(e=p[n])(t):(e=null,t())}function F(){return B(()=>Math.random())}function j(){return B(()=>Date.now())}t.s(["isDOMError",0,function(t){return v(t,"DOMError")},"isDOMException",0,function(t){return v(t,"DOMException")},"isError",0,b,"isErrorEvent",0,function(t){return v(t,"ErrorEvent")},"isEvent",0,x,"isInstanceOf",0,M,"isObjectLike",0,C,"isParameterizedString",0,N,"isPlainObject",0,O,"isPrimitive",0,A,"isRegExp",0,D,"isRequest",0,function(t){return"u">typeof Request&&M(t,Request)},"isString",0,R,"isThenable",0,P],9923665),t.s(["addNonEnumerableProperty",0,L,"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 i=n(r);"function"==typeof i&&k(i,r);try{t[e]=i}catch{g&&y.log(`Failed to replace method "${e}" in object`,t)}},"getOriginalFunction",0,function(t){return t.__sentry_original__},"markFunctionWrapped",0,k],5737635),t.s(["safeDateNow",0,j,"safeMathRandom",0,F,"withRandomSafeContext",0,B],7093779);let $=Symbol.for("sentry.skipNormalization"),G=Symbol.for("sentry.overrideNormalizationDepth"),Y=/\(error: (.*)\)/,z=/captureMessage|captureException/;function W(...t){let e=t.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return(t,n=0,r=0)=>{let i=[],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 a=Y.test(n)?n.replace(Y,"$1"):n;if(!a.includes("Error: ")){for(let t of e){let e=t(a);if(e){i.push(e);break}}if(i.length>=50+r)break}}var a=i.slice(r);if(!a.length)return[];let o=Array.from(a);return/sentryWrapped/.test(H(o).function||"")&&o.pop(),o.reverse(),z.test(H(o).function||"")&&(o.pop(),z.test(H(o).function||"")&&o.pop()),o.slice(0,50).map(t=>({...t,filename:t.filename||H(o).filename,function:t.function||"?"}))}}function H(t){return t[t.length-1]||{}}let V="<anonymous>";function J(t){try{if(!t||"function"!=typeof t)return V;return t.name||V}catch{return V}}function K(t,e=100,n=1/0){try{return function t(e,n,r=1/0,i=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 a,[o,u]=s;if(null==n||["boolean","string"].includes(typeof n)||"number"==typeof n&&Number.isFinite(n))return n;let c=X(e,n);if(!c.startsWith("[object "))return c;if(n[$])return n;let l=(a=n[G],"number"==typeof a?a:void 0),p=void 0!==l?l:r;if(0===p)return c.replace("object ","");if(o(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let e=n.toJSON();return t("",e,p-1,i,s)}catch{}let d=Array.isArray(n)?[]:{},_=0,f=U(n);for(let e in f){if(!Object.prototype.hasOwnProperty.call(f,e))continue;if(_>=i){d[e]="[MaxProperties ~]";break}let n=f[e];d[e]=t(e,n,p-1,i,s),_++}return u(n),d}("",t,e,n)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function X(e,r){try{var i;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: ${J(r)}]`;if("symbol"==typeof r)return`[${String(r)}]`;if("bigint"==typeof r)return`[BigInt: ${String(r)}]`;let s=(i=r,e=Object.getPrototypeOf(i),e?.constructor?e.constructor.name:"null prototype");return`[object ${s}]`}catch(t){return`**non-serializable** (${t})`}}function q(t,e=0){return"string"!=typeof t||0===e||t.length<=e?t:`${t.slice(0,e)}...`}function Q(t,e,n=!1){return!!R(t)&&(D(e)?e.test(t):R(e)?n?t===e:t.includes(e):"function"==typeof e&&e(t))}function Z(t=p.crypto||p.msCrypto){try{if(t?.randomUUID)return B(()=>t.randomUUID()).replace(/-/g,"")}catch{}return r||(r="10000000100040008000100000000000"),r.replace(/[018]/g,t=>(t^(15&16*F())>>t/4).toString(16))}function tt(t){return t.exception?.values?.[0]}function te(t,e){let n=tt(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}}function tn(){return j()/1e3}function tr(){return(i??(i=function(){let{performance:t}=p;if(!t?.now||!t.timeOrigin)return tn;let e=t.timeOrigin;return()=>(e+B(()=>t.now()))/1e3}()))()}t.s(["UNKNOWN_FUNCTION",0,"?","createStackParser",0,W,"getFramesFromEvent",0,function(t){let e=t.exception;if(e){let t=[];
2try{return e.values.forEach(e=>{e.stacktrace.frames&&t.push(...e.stacktrace.frames)}),t}catch{}}},"getFunctionName",0,J,"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)?W(...t):t}],498189),t.s(["normalize",0,K,"normalizeToSize",0,function t(e,n=3,r=102400){let i=K(e,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?t(e,n-1,r):i},"setNormalizeStringifier",0,function(t){n=t},"stringifyValue",0,X],3530523),t.s(["isMatchingPattern",0,Q,"safeJoin",0,function(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e<t.length;e++){let r=t[e];A(r)?n.push(String(r)):r instanceof Error?n.push(r.message?`${r.name}: ${r.message}`:r.name):n.push(X(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 i=Math.max(e-60,0);i<5&&(i=0);let s=Math.min(i+140,r);return s>r-5&&(s=r),s===r&&(i=Math.max(s-140,0)),n=n.slice(i,s),i>0&&(n=`'{snip} ${n}`),s<r&&(n+=" {snip}"),n},"stringMatchesSomePattern",0,function(t,e=[],n=!1){for(let r of e)if(Q(t,r,n))return!0;return!1},"truncate",0,q],7275096),t.s(["addExceptionMechanism",0,te,"addExceptionTypeValue",0,function(t,e,n){let r=t.exception=t.exception||{},i=r.values=r.values||[],s=i[0]=i[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{L(t,"__sentry_captured__",!0)}catch{}return!1},"getEventDescription",0,function(t){let{message:e,event_id:n}=t;if(e)return e;let r=tt(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"},"uuid4",0,Z],1534993);let ti=null;function ts(t){let e=tr(),n={sid:Z(),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&&ta(n,t),n}function ta(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||tr(),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:Z()),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)}function to(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),ta(t,n)}function tu(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]=tu(r[t],e[t],n-1));return r}function tc(){return Z()}function tl(){return Z().substring(16)}function tp(t){try{let e=p.WeakRef;if("function"==typeof e)return new e(t)}catch{}return t}function td(t){if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch{return}return t}}t.s(["browserPerformanceTimeOrigin",0,function(){return null===ti&&(ti=function(){let{performance:t}=p;if(!t?.now)return;let e=B(()=>t.now()),n=j(),r=t.timeOrigin;if("number"==typeof r&&3e5>Math.abs(r+e-n))return r;let i=t.timing?.navigationStart;return"number"==typeof i&&3e5>Math.abs(i+e-n)?i:n-e}()),ti},"dateTimestampInSeconds",0,tn,"timestampInSeconds",0,tr],3724330),t.s(["closeSession",0,to,"makeSession",0,ts,"updateSession",0,ta],1643117),t.s(["merge",0,tu],4181831),t.s(["generateSpanId",0,tl,"generateTraceId",0,tc],8222414);let t_="_sentrySpan";function tf(t,e){e?L(t,t_,tp(e)):delete t[t_]}function tg(t){return td(t[t_])}t.s(["_getSpanForScope",0,tg,"_setSpanForScope",0,tf],9320664);class tm{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:tc(),sampleRand:F()}}clone(){let t=new tm;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,tf(t,tg(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&&ta(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:i,user:s,contexts:a,level:o,fingerprint:u=[],propagationContext:c,conversationId:l}=(e instanceof tm?e.getScopeData():O(e)?t:void 0)||{};return this._tags={...this._tags,...n},this._attributes={...this._attributes,...r},this._extra={...this._extra,...i},this._contexts={...this._contexts,...a},s&&Object.keys(s).length&&(this._user=s),o&&(this._level=o),u.length&&(this._fingerprint=u),c&&(this._propagationContext=c),l&&(this._conversationId=l),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,tf(this,void 0),this._attachments=[],this.setPropagationContext({traceId:tc(),sampleRand:F()}),this._notifyScopeListeners(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:tn(),...t,message:t.message?q(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:tg(this),conversationId:this._conversationId}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=tu(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){let n=e?.event_id||Z();if(!this._client)return g&&y.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||Z();if(!this._client)return g&&y.warn("No client configured on scope - will not capture message!"),r;let i=n?.syntheticException??Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:i,...n,event_id:r},this),r}captureEvent(t,e){let n=t.event_id||e?.event_id||Z();return this._client?this._client.captureEvent(t,{...e,event_id:n},this):g&&y.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)}}let tS=t=>t instanceof Promise&&!t[th],th=Symbol("chained PromiseLike"),tE=(t,e,n)=>{let r=t.then(t=>(e(t),t),t=>{throw n(t),t});return tS(r)&&tS(t)?r:tT(t,r)},tT=(t,e)=>{if(!e)return t;let n=!1;for(let r in t){if(r in e)continue;n=!0;let i=t[r];"function"==typeof i?Object.defineProperty(e,r,{value:(...e)=>i.apply(t,e),enumerable:!0,configurable:!0,writable:!0}):e[r]=i}return n&&Object.assign(e,{[th]:!0}),e};class ty{constructor(t,e){let n,r;n=t||new tm,r=e||new tm,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)?tE(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 tI(){let t=_(d());return t.stack=t.stack||new ty(f("defaultCurrentScope",()=>new tm),f("defaultIsolationScope",()=>new tm))}function tb(t){return tI().withScope(t)}function tv(t,e){let n=tI();return n.withScope(()=>(n.getStackTop().scope=t,e(t)))}function tR(t){return tI().withScope(()=>t(tI().getIsolationScope()))}function tN(t){let e=_(t);return e.acs?e.acs:{withIsolationScope:tR,withScope:tb,withSetScope:tv,withSetIsolationScope:(t,e)=>tR(e),getCurrentScope:()=>tI().getScope(),getIsolationScope:()=>tI().getIsolationScope()}}function tA(){return tN(d()).getCurrentScope()}function tO(){return tN(d()).getIsolationScope()}function tC(){return f("globalScope",()=>new tm)}function tx(...t){let e=tN(d());if(2===t.length){let[n,r]=t;return n?e.withSetScope(n,r):e.withScope(r)}return e.withScope(t[0])}function tD(){return tA().getClient()}t.s(["getAsyncContextStrategy",0,tN],7647697),t.s(["getClient",0,tD,"getCurrentScope",0,tA,"getGlobalScope",0,tC,"getIsolationScope",0,tO,"getTraceContextFromScope",0,function(t){let e=s?.();if(e)return{trace_id:e.traceId,span_id:e.spanId};let{traceId:n,parentSpanId:r,propagationSpanId:i}=t.getPropagationContext(),a={trace_id:n,span_id:i||tl()};return r&&(a.parent_span_id=r),a},"hasExternalPropagationContext",0,function(){return void 0!==s},"withIsolationScope",0,function(...t){let e=tN(d());if(2===t.length){let[n,r]=t;return n?e.withSetIsolationScope(n,r):e.withIsolationScope(r)}return e.withIsolationScope(t[0])},"withScope",0,tx],6502745);let tP="sentry.source",tM="sentry.sample_rate",tL="sentry.previous_trace_sample_rate",tk="sentry.op",tU="sentry.origin",tw="sentry.status.message",tB="sentry.measurement_unit",tF="sentry.measurement_value",tj="sentry.custom_span_name",t$="sentry.profile_id",tG="sentry.exclusive_time";t.s(["GEN_AI_CONVERSATION_ID_ATTRIBUTE",0,"gen_ai.conversation.id","SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME",0,tG,"SEMANTIC_ATTRIBUTE_HTTP_REQUEST_METHOD",0,"http.request.method","SEMANTIC_ATTRIBUTE_PROFILE_ID",0,t$,"SEMANTIC_ATTRIBUTE_SENTRY_CUSTOM_SPAN_NAME",0,tj,"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,tB,"SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE",0,tF,"SEMANTIC_ATTRIBUTE_SENTRY_OP",0,tk,"SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN",0,tU,"SEMANTIC_ATTRIBUTE_SENTRY_PREVIOUS_TRACE_SAMPLE_RATE",0,tL,"SEMANTIC_ATTRIBUTE_SENTRY_RELEASE",0,"sentry.release","SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE",0,tM,"SEMANTIC_ATTRIBUTE_SENTRY_SDK_INTEGRATIONS",0,"sentry.sdk.integrations","SEMANTIC_ATTRIBUTE_SENTRY_SOURCE",0,tP,"SEMANTIC_ATTRIBUTE_SENTRY_STATUS_MESSAGE",0,tw,"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"],3202213);let tY="sentry-";function tz(t){let e=tW(t);if(!e)return;let n=Object.entries(e).reduce((t,[e,n])=>(e.startsWith(tY)&&(t[e.slice(tY.length)]=n),t),{});return Object.keys(n).length>0?n:void 0}function tW(t){if(t&&(R(t)||Array.isArray(t)))return Array.isArray(t)?t.reduce((t,e)=>
2(Object.entries(tH(e)).forEach(([e,n])=>{t[e]=n}),t),{}):tH(t)}function tH(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),{})}function tV(t,e,n=()=>{},r=()=>{}){var i,s,a,o;let u;try{u=t()}catch(t){throw e(t),n(),t}return i=u,s=e,a=n,o=r,P(i)?tE(i,t=>{a(),o(t)},t=>{s(t),a()}):(a(),o(i),i)}function tJ(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let e=t||tD()?.getOptions();return!!e&&(null!=e.tracesSampleRate||!!e.tracesSampler)}function tK(t){y.log(`Ignoring span ${t.op} - ${t.description} because it matches \`ignoreSpans\`.`)}function tX(t,e){if(!e?.length)return!1;for(let r of e){var n;if("string"==typeof(n=r)||n instanceof RegExp){if(t.description&&Q(t.description,r))return g&&tK(t),!0;continue}let e=!!r.attributes&&Object.keys(r.attributes).length>0;if(!r.name&&!r.op&&!e)continue;let i=!r.name||t.description&&Q(t.description,r.name),s=!r.op||t.op&&Q(t.op,r.op),a=!r.attributes||Object.entries(r.attributes).every(([e,n])=>(function(t,e){return"string"==typeof t&&("string"==typeof e||e instanceof RegExp)?Q(t,e):Array.isArray(t)&&Array.isArray(e)?t.length===e.length&&t.every((t,n)=>t===e[n]):t===e})(t.attributes?.[e],n));if(i&&s&&a)return g&&tK(t),!0}return!1}function tq(t){return"stream"===t.getOptions().traceLifecycle}function tQ(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}function tZ(t,e=!1){let n={};for(let[r,i]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},i=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(i)return{...i,...s};if(!e||"skip-undefined"===e&&void 0===n)return;let a="";try{a=JSON.stringify(n)??""}catch{}return{value:a,type:"string",...s}}(i,e);t&&(n[r]=t)}return n}t.s(["SENTRY_BAGGAGE_KEY_PREFIX",0,tY,"baggageHeaderToDynamicSamplingContext",0,tz,"dynamicSamplingContextToSentryBaggageHeader",0,function(t){if(t){var e=Object.entries(t).reduce((t,[e,n])=>(n&&(t[`${tY}${e}`]=n),t),{});return 0!==Object.keys(e).length?Object.entries(e).reduce((t,[e,n],r)=>{let i=`${encodeURIComponent(e)}=${encodeURIComponent(n)}`,s=0===r?i:`${t},${i}`;return s.length>8192?(g&&y.warn(`Not adding key: ${e} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):s},""):void 0}},"parseBaggageHeader",0,tW],3456855),t.s(["hasSpansEnabled",0,tJ],7795567),t.s(["reparentChildSpans",0,function(t,e){let n=e.parent_span_id,r=e.span_id;if(n)for(let e of t)e.parent_span_id===r&&(e.parent_span_id=n)},"shouldIgnoreSpan",0,tX],6962143),t.s(["hasSpanStreamingEnabled",0,tq],578018),t.s(["parseSampleRate",0,tQ],8295403),t.s(["serializeAttributes",0,tZ],3854325),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)}],6124556);let t0="_sentryScope",t1="_sentryIsolationScope",t3=Symbol.for("sentry.otelSourceInference"),t4=Symbol.for("sentry.otelSourceExplicitlySet"),t2=Symbol.for("sentry.tracerProviderSpan");function t5(t,e,n){t&&(L(t,t1,tp(n)),L(t,t0,e))}function t7(t){return{scope:t[t0],isolationScope:td(t[t1])}}function t6(t){return!0===t[t3]}function t9(t){L(t,t4,!0)}function t8(t){return!0===t[t2]}t.s(["getCapturedScopesOnSpan",0,t7,"markSpanSourceAsExplicit",0,t9,"setCapturedScopesOnSpan",0,t5,"spanIsTracerProviderSpan",0,t8,"spanShouldInferOtelSource",0,t6],7530636);let et=/^o(\d+)\./,ee=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function en(t,e=!1){let{host:n,path:r,pass:i,port:s,projectId:a,protocol:o,publicKey:u}=t;return`${o}://${u}${e&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${r?`${r}/`:r}${a}`}function er(t){let e=ee.exec(t);if(!e)return void S(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});let[n,r,i="",s="",a="",o=""]=e.slice(1),u="",c=o,l=c.split("/");if(l.length>1&&(u=l.slice(0,-1).join("/"),c=l.pop()),c){let t=c.match(/^\d+/);t&&(c=t[0])}return ei({host:s,pass:i,path:u,projectId:c,port:a,protocol:n,publicKey:r})}function ei(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function es(t){let e,n=t.getOptions(),{host:r}=t.getDsn()||{};if(n.orgId)e=String(n.orgId);else{let t;r&&(t=r.match(et),e=t?.[1])}return e}t.s(["dsnFromString",0,er,"dsnToString",0,en,"extractOrgIdFromClient",0,es,"makeDsn",0,function(t){let e="string"==typeof t?er(t):ei(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]&&(y.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(n.match(/^\d+$/)?"http"!==r&&"https"!==r?(y.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):!(e&&isNaN(parseInt(e,10)))||(y.error(`Invalid Sentry Dsn: Invalid port ${e}
2`),!1):(y.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(e))return e}],1642313);let ea=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function eo(t=tc(),e=tl(),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}function eu(t=tc(),e=tl(),n){return`00-${t}-${e}-${n?"01":"00"}`}t.s(["TRACEPARENT_REGEXP",0,ea,"generateSentryTraceHeader",0,eo,"generateTraceparentHeader",0,eu,"propagationContextFromHeaders",0,function(t,e){let n=function(t){let e;if(!t)return;let n=t.match(ea);if(n)return"1"===n[3]?e=!0:"0"===n[3]&&(e=!1),{traceId:n[1],parentSampled:e,parentSpanId:n[2]}}(t),r=tz(e);if(!n?.traceId)return{traceId:tc(),sampleRand:F()};let i=function(t,e){let n=tQ(e?.sample_rand);if(void 0!==n)return n;let r=tQ(e?.sample_rate);return r&&t?.parentSampled!==void 0?t.parentSampled?F()*r:r+F()*(1-r):F()}(n,r);r&&(r.sample_rand=i.toString());let{traceId:s,parentSpanId:a,parentSampled:o}=n;return{traceId:s,parentSpanId:a,sampled:o,dsc:r||{},sampleRand:i}},"shouldContinueTrace",0,function(t,e){let n=es(t);return e&&n&&e!==n?(y.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)||(y.log(`Starting a new trace because strict trace continuation is enabled but one org ID is missing (incoming baggage: ${e}, Sentry client: ${n})`),!1)}],4444579);let ec=!1;function el(t){let{spanId:e,traceId:n}=t.spanContext(),{data:r,op:i,parent_span_id:s,status:a,origin:o,links:u}=em(t);return{parent_span_id:s,span_id:e,trace_id:n,data:r,op:i,status:a,origin:o,links:u}}function ep(t){let{spanId:e,traceId:n,isRemote:r}=t.spanContext(),i=r?e:em(t).parent_span_id,s=t7(t).scope;return{parent_span_id:i,span_id:r?s?.getPropagationContext().propagationSpanId||tl():e,trace_id:n}}function ed(t){return t&&t.length>0?t.map(({context:{spanId:t,traceId:e,traceFlags:n,...r},attributes:i})=>({span_id:t,trace_id:e,sampled:1===n,attributes:i,...r})):void 0}function e_(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 ef(t){return"number"==typeof t?eg(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?eg(t.getTime()):tr()}function eg(t){return t>0x2540be3ff?t/1e3:t}function em(t){if(eE(t))return t.getSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(eh(t)){let{attributes:r,startTime:i,name:s,endTime:a,status:o,links:u}=t;return{span_id:e,trace_id:n,data:r,description:s,parent_span_id:eS(t),start_timestamp:ef(i),timestamp:ef(a)||void 0,status:ey(o),op:r[tk],origin:r[tU],links:ed(u)}}return{span_id:e,trace_id:n,start_timestamp:0,data:{}}}function eS(t){return"parentSpanId"in t?t.parentSpanId:"parentSpanContext"in t?t.parentSpanContext?.spanId:void 0}function eh(t){return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function eE(t){return"function"==typeof t.getSpanJSON}function eT(t){let{traceFlags:e}=t.spanContext();return 1===e}function ey(t){if(t&&0!==t.code)return 1===t.code?"ok":t.message||"internal_error"}function eI(t){return t&&1!==t.code&&0!==t.code&&"cancelled"!==t.message?"error":"ok"}function eb(t,e){let n="error"===eI(e)?e?.message:void 0;return{...n&&{[tw]:n},...t}}let ev="_sentryChildSpans",eR="_sentryRootSpan";function eN(t,e){let n=t[eR]||t;L(e,eR,n),t[ev]?t[ev].add(e):L(t,ev,new Set([e]))}function eA(t){let e=new Set;return!function t(n){if(!e.has(n)&&eT(n))for(let r of(e.add(n),n[ev]?Array.from(n[ev]):[]))t(r)}(t),Array.from(e)}let eO=eC;function eC(t){return t[eR]||t}function ex(){let t=tN(d());return t.getActiveSpan?t.getActiveSpan():tg(tA())}function eD(){ec||(S(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),ec=!0)}t.s(["INTERNAL_getSegmentSpan",0,eC,"TRACE_FLAG_NONE",0,0,"TRACE_FLAG_SAMPLED",0,1,"addChildSpanToSpan",0,eN,"addStatusMessageAttribute",0,eb,"convertSpanLinksForEnvelope",0,ed,"getActiveSpan",0,ex,"getRootSpan",0,eO,"getSimpleStatus",0,eI,"getSpanDescendants",0,eA,"getStatusMessage",0,ey,"getStreamedSpanLinks",0,e_,"removeChildSpanFromSpan",0,function(t,e){t[ev]&&t[ev].delete(e)},"showSpanDropWarning",0,eD,"spanIsSampled",0,eT,"spanTimeInputToSeconds",0,ef,"spanToJSON",0,em,"spanToStreamedSpanJSON",0,function(t){if(eE(t))return t.getStreamedSpanJSON();let{spanId:e,traceId:n}=t.spanContext();if(eh(t)){let{attributes:r,startTime:i,name:s,endTime:a,status:o,links:u}=t;return{name:s,span_id:e,trace_id:n,parent_span_id:eS(t),start_timestamp:ef(i),end_timestamp:ef(a),is_segment:t===eC(t),status:eI(o),attributes:eb(r,o),links:e_(u)}}return{span_id:e,trace_id:n,start_timestamp:0,name:"",end_timestamp:0,status:"ok",is_segment:t===eC(t)}},"spanToTraceContext",0,ep,"spanToTraceHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return eo(e,n,eT(t))},"spanToTraceparentHeader",0,function(t){let{traceId:e,spanId:n}=t.spanContext();return eu(e,n,eT(t))},"spanToTransactionTraceContext",0,el,"streamedSpanJsonToSerializedSpan",0,function(t){return{...t,attributes:tZ(t.attributes),links:t.links?.map(t=>({...t,attributes:tZ(t.attributes)}))}}],9234768);let eP="production";t.s(["DEFAULT_ENVIRONMENT",0,eP],8436518);let eM=Symbol.for("sentry.nonRecordingSpan");class eL{constructor(t={}){this._traceId=t.traceId||tc(),this._spanId=t.spanId||tl(),this.dropReason=t.dropReason,L(this,eM,!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){}}function ek(t){return!!t&&!0===t[eM]}t.s(["SentryNonRecordingSpan",0,eL,"spanIsNonRecordingSpan",0,ek],6733474);let eU="_frozenDsc";function ew(t,e){L(t,eU,e)}function eB(t,e){let n=e.getOptions(),{publicKey:r}=e.getDsn()||{},i={environment:n.environment||eP,release:n.release,public_key:r,trace_id:t,org_id:es(e)};return e.emit("createDsc",i),i}function eF(t,e){let n=e.getPropagationContext();return n.dsc||eB(n.traceId,t)}function ej(t){let e=tD();if(!e)return{};let n=eO(t),r=em(n),i=r.data,s=n.spanContext().traceState,a=s?.get("sentry.sample_rate")??i[tM]??i[tL];function o(t){return("number"==typeof a||"string"==typeof a)&&(t.sample_rate=`${a}`),t}let u=n[eU];if(u)return o(u);let c=ek(n),l=c&&"ignored"===n.dropReason;if(c&&(!tJ(e.getOptions())||l)){let t=t7(n).scope;if(t){let n={...eF(e,t)};return l&&(n.sampled="false"),o(n)}}let p=s?.get("sentry.dsc"),d=p&&tz(p);if(d)return o(d);let _=eB(t.spanContext().traceId,e),f=i[tP]??i["sentry.segment.name.source"],g=r.description;return"url"!==f&&g&&(_.transaction=g),tJ()&&(_.sampled=String(eT(n)),_.sample_rand=s?.get("sentry.sample_rand")??t7(n).scope?.getPropagationContext().sampleRand.toString()),o(_),e.emit("createDsc",_,n),_}function e$(t){return!!t&&"function"==typeof t&&"_streamed"in t&&!!t._streamed}function eG(t,e=[]){return[t,e]}function eY(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);return e.encodePolyfill?e.encodePolyfill(t):new TextEncoder().encode(t)}function eW(t){return[{type:"span"},t]}t.s(["freezeDscOnSpan",0,ew,"getDynamicSamplingContextFromScope",0,eF,"getDynamicSamplingContextFromSpan",0,ej],5533232),t.s(["isStreamedBeforeSendSpanCallback",0,e$],5872829);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"};function eV(t){if(!t?.sdk)return;let{name:e,version:n}=t.sdk;return{name:e,version:n}}function eJ(t,e,n,r){let i=t.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date(j()).toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:en(r)},...i&&{trace:i}}}function eK(t,e){let n=ej(t[0]),r=e?.getDsn(),i=e?.getOptions().tunnel,s={sent_at:new Date(j()).toISOString(),...!!n.trace_id&&!!n.public_key&&{trace:n},...!!i&&r&&{dsn:en(r)}},{beforeSendSpan:a,ignoreSpans:o}=e?.getOptions()||{},u=o?.length?t.filter(t=>{let e=em(t);return!tX({description:e.description,op:e.op,attributes:e.data},o)}):t,c=t.length-u.length;c&&e?.recordDroppedEvent("before_send","span",c);let l=a?t=>{let e=em(t),n=e$(a)?e:a(e);return n||(eD(),e)}:em,p=[];for(let t of u){let e=l(t);e&&p.push(eW(e))}return eG(s,p)}function eX(t){if(!t||0===t.length)return;let e={};return t.forEach(t=>{let n=t.attributes||{},r=n[tB],i=n[tF];"string"==typeof r&&"number"==typeof i&&(e[t.name]={value:i,unit:r})}),e}function eq(){return _(d()).segmentSpanCaptureStrategy}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,eG,"createEventEnvelopeHeaders",0,eJ,"createSpanEnvelopeItem",0,eW,"envelopeContainsItemType",0,function(t,e){return eY(t,(t,n)=>e.includes(n))},"envelopeItemTypeToDataCategory",0,function(t){return t in eH?eH[t]:t},"forEachEnvelopeItem",0,eY,"getSdkMetadataForEnvelopeHeader",0,eV,"serializeEnvelope",0,function(t){let[e,n]=t,r=JSON.stringify(e);function i(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(i(`
3${JSON.stringify(e)}
4`),"string"==typeof n||n instanceof Uint8Array)i(n);else{let t;try{t=JSON.stringify(n)}catch{t=JSON.stringify(K(n))}i(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)}],8934368),t.s(["createEventEnvelope",0,function(t,e,n,r){let i=eV(n),s=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){if(!e)return;let n=t.sdk||{};t.sdk={...n,name:n.name||e.name,version:n.version||e.version,integrations:[...t.sdk?.integrations||[],...e.integrations||[]],packages:[...t.sdk?.packages||[],...e.packages||[]],settings:t.sdk?.settings||e.settings?{...t.sdk?.settings,...e.settings}:void 0}}(t,n?.sdk);let a=eJ(t,i,r,e);return delete t.sdkProcessingMetadata,eG(a,[[{type:s},t]])},"createSessionEnvelope",0,function(t,e,n,r){let i=eV(n);return eG({sent_at:new Date(j()).toISOString(),...i&&{sdk:i},...!!r&&e&&{dsn:en(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])},"createSpanEnvelope",0,eK],7380162),t.s(["setMeasurement",0,function(t,e,n,r=ex()){let i=r&&eO(r);i&&(g&&y.log(`[Measurement] Setting measurement on root span: ${t} = ${e} ${n}`),i.addEvent(t,{[tF]:e,[tB]:n}))},"timedEventsToMeasurements",0,eX],8268392);class eQ{constructor(t={}){this._traceId=t.traceId||tc(),this._spanId=t.spanId||tl(),this._startTime=t.startTimestamp||tr(),this._links=t.links,this._attributes={}
4,this.setAttributes({[tU]:"manual",[tk]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}addLink(t){return this._frozen||(this._links?this._links.push(t):this._links=[t]),this}addLinks(t){return this._frozen||(this._links?this._links.push(...t):this._links=t),this}recordException(t,e){}spanContext(){let{_spanId:t,_traceId:e,_sampled:n}=this;return{spanId:t,traceId:e,traceFlags:+!!n}}setAttribute(t,e){return this._frozen||(void 0===e?delete this._attributes[t]:this._attributes[t]=e,t===tP&&void 0!==e&&t6(this)&&t9(this)),this}setAttributes(t){return Object.keys(t).forEach(e=>this.setAttribute(e,t[e])),this}updateStartTime(t){this._frozen||(this._startTime=ef(t))}setStatus(t){return this._frozen||(this._status=t),this}updateName(t){return this._frozen||(this._name=t,t6(this)||this.setAttribute(tP,"custom")),this}end(t){if(this._endTime){this._frozen=t8(this);return}this._endTime=ef(t),function(t){if(!g)return;let{description:e="< unknown name >",op:n="< unknown op >"}=em(t),{spanId:r}=t.spanContext(),i=eO(t)===t,s=`[Tracing] Finishing "${n}" ${i?"root ":""}span "${e}" with ID ${r}`;y.log(s)}(this),this._onSpanEnded(),this._frozen=t8(this)}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[tk],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:ey(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[tU],profile_id:this._attributes[t$],exclusive_time:this._attributes[tG],measurements:eX(this._events),is_segment:this._isStandaloneSpan&&eO(this)===this||void 0,segment_id:this._isStandaloneSpan?eO(this).spanContext().spanId:void 0,links:ed(this._links)}}getStreamedSpanJSON(){return{name:this._name??"",span_id:this._spanId,trace_id:this._traceId,parent_span_id:this._parentSpanId,start_timestamp:this._startTime,end_timestamp:this._endTime??this._startTime,is_segment:this._isStandaloneSpan||this===eO(this),status:eI(this._status),attributes:eb(this._attributes,this._status),links:e_(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,e,n){if(this._frozen)return this;g&&y.log("[Tracing] Adding an event to span:",t);let r=eZ(e)?e:n||tr(),i=eZ(e)?{}:e||{},s={name:t,time:ef(r),attributes:i};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let t=tD();t&&(t.emit("spanEnd",this),this._isStandaloneSpan||t.emit("afterSpanEnd",this));let e=eO(this),n=this._isStandaloneSpan||this===e;if(this._isStandaloneSpan)return void(this._sampled?function(t){let e=tD();if(!e)return;let n=t[1];n&&0!==n.length?e.sendEnvelope(t):e.recordDroppedEvent("before_send","span")}(eK([this],t)):(g&&y.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span")));if(!n){let t=eq();if(t){let n=t7(this).scope||tA();t.onChildSpanEnded(this,e,t=>this._convertSpanToTransaction(t),n)}return}if(t&&tq(t))return void t.emit("afterSegmentSpanEnd",this);let r=t7(this).scope||tA(),i=eq();if(i)i.onSegmentSpanEnded(t=>this._convertSpanToTransaction(t),r);else{let t=this._convertSpanToTransaction();t&&r.captureEvent(t)}}_convertSpanToTransaction(t={}){if(!e0(em(this)))return;this._name||(g&&y.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:n}=t7(this),r=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;t.onSpanCaptured?.(this);let i=[];for(let e of eA(this)){var s;if(e===this||(s=e)instanceof eQ&&s.isStandaloneSpan()||t.isSpanAlreadyCaptured?.(e))continue;let n=em(e);e0(n)&&(t.onSpanCaptured?.(e),i.push(n))}let a=this._attributes[tP];delete this._attributes[tj];let o=!1;i.forEach(t=>{delete t.data[tj],t.op?.startsWith("gen_ai.")&&(o=!0)});let u={contexts:{trace:el(this)},spans:i.length>1e3?i.sort((t,e)=>t.start_timestamp-e.start_timestamp).slice(0,1e3):i,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:n,dynamicSamplingContext:ej(this),hasGenAiSpans:o},request:r,...a&&{transaction_info:{source:a}}},c=eX(this._events);return c&&Object.keys(c).length&&(g&&y.log("[Measurements] Adding measurements to transaction event",JSON.stringify(c,void 0,2)),u.measurements=c),u}}function eZ(t){return t&&"number"==typeof t||t instanceof Date||Array.isArray(t)}function e0(t){return!!t.start_timestamp&&!!t.timestamp&&!!t.span_id&&!!t.trace_id}function e1(t,e){let n=e7();return n.withActiveSpan?n.withActiveSpan(t,e):tx(n=>(tf(n,t||void 0),e(n)))}function e3(t=tA()){let e=e7();return e.isTracingSuppressed?e.isTracingSuppressed(t):!0===t.getScopeData().sdkProcessingMetadata.__SENTRY_SUPPRESS_TRACING__}function e4(t,e){e?.recordDroppedEvent("no_parent_span","span");let n=new eL({traceId:t.getPropagationContext().traceId});return t5(n,t,tO()),n}function e2({parentSpan:t,spanArguments:e,forceTransaction:n,scope:r}){var i,s;let a,o,u=tO();if(!tJ()){let e={...u.getPropagationContext(),...r.getPropagationContext()},i=new eL({traceId:t?t.spanContext().traceId:e.traceId});return t&&!n&&eN(t,i),t5(i,r,u),i}let c=tD();if(i=c,s=e,a=i?.getOptions().ignoreSpans,i&&tq(i)&&a?.length&&tX({description:s.name||"",op:s.attributes?.[tk]||s.op,attributes:s.attributes},a)){e3(r)||c?.recordDroppedEvent("ignored","span");let e=new eL({dropReason:"ignored",traceId:t?.spanContext().traceId??r.getPropagationContext().traceId});return t&&!n&&eN(t,e),t5(e,r,u),e}if(t&&!n)o=function(t,e,n,r){let{spanId:i,traceId:s}=t.spanContext(),a=e3(e),o=!a&&eT(t),u=o?new eQ({...n,parentSpanId:i,traceId:s,sampled:o}):new eL({traceId:s});eN(t,u),t5(u,e,r);let c=tD();return c&&(tq(c)&&ek(u)&&(ek(t)&&t.dropReason?(u.dropReason=t.dropReason,c.recordDroppedEvent(t.dropReason,"span")):a||(u.dropReason="sample_rate",c.recordDroppedEvent("sample_rate","span"))),c.emit("spanStart",u),n.endTimestamp&&(c.emit
4("spanEnd",u),c.emit("afterSpanEnd",u))),u}(t,r,e,u),eN(t,o);else if(t){let n=ej(t),{traceId:i,spanId:s}=t.spanContext(),a=eT(t);ew(o=e6({traceId:i,parentSpanId:s,...e},r,u,a),n)}else{let{traceId:t,dsc:n,parentSpanId:i,sampled:s}={...u.getPropagationContext(),...r.getPropagationContext()};o=e6({traceId:t,parentSpanId:i,...e},r,u,s),n&&ew(o,n)}return!function(t){if(!g)return;let{description:e="< unknown name >",op:n="< unknown op >",parent_span_id:r}=em(t),{spanId:i}=t.spanContext(),s=eT(t),a=eO(t),o=a===t,u=`[Tracing] Starting ${s?"sampled":"unsampled"} ${o?"root ":""}span`,c=[`op: ${n}`,`name: ${e}`,`ID: ${i}`];if(r&&c.push(`parent ID: ${r}`),!o){let{op:t,description:e}=em(a);c.push(`root ID: ${a.spanContext().spanId}`),t&&c.push(`root op: ${t}`),e&&c.push(`root description: ${e}`)}y.log(`${u}
5  ${c.join("\n  ")}`)}(o),o}function e5(t){let e={isStandalone:(t.experimental||{}).standalone,...t};if(t.startTime){let n={...e};return n.startTimestamp=ef(t.startTime),delete n.startTime,n}return e}function e7(){return tN(d())}function e6(t,e,n,r){let i=tD(),s=i?.getOptions()||{},{name:a=""}=t,o={spanAttributes:{...t.attributes},spanName:a,parentSampled:r};i?.emit("beforeSampling",o,{decision:!1});let u=o.parentSampled??r,c=o.spanAttributes,l=e.getPropagationContext(),p=e3(e),[d,_,f]=p?[!1]:function(t,e,n){let r,i;if(!tJ(t))return[!1];"function"==typeof t.tracesSampler?(r=t.tracesSampler({...e,inheritOrSampleWith:t=>"number"==typeof e.parentSampleRate?e.parentSampleRate:"boolean"==typeof e.parentSampled?Number(e.parentSampled):t}),i=!0):void 0!==e.parentSampled?r=e.parentSampled:void 0!==t.tracesSampleRate&&(r=t.tracesSampleRate,i=!0);let s=tQ(r);if(void 0===s)return g&&y.warn(`[Tracing] Discarding root span because of invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(r)} of type ${JSON.stringify(typeof r)}.`),[!1];if(!s)return g&&y.log(`[Tracing] Discarding transaction because ${"function"==typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,s,i];let a=n<s;return!a&&g&&y.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[a,s,i]}(s,{name:a,parentSampled:u,attributes:c,normalizedRequest:n.getScopeData().sdkProcessingMetadata.normalizedRequest,parentSampleRate:tQ(l.dsc?.sample_rate)},l.sampleRand),m=new eQ({...t,attributes:{[tP]:"custom",[tM]:void 0!==_&&f?_:void 0,...c},sampled:d});return d||!i||p||(g&&y.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),i.recordDroppedEvent("sample_rate",tq(i)?"span":"transaction")),t5(m,e,n),i&&i.emit("spanStart",m),m}function e9(t,e){if(e)return e;if(null===e)return;let n=tg(t);if(!n)return;let r=tD();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?eO(n):n}function e8(t){return void 0!==t?e=>e1(t,e):t=>t()}function nt(t){return ek(t)&&"ignored"===t.dropReason}function ne(t){return new nr(e=>{e(t)})}function nn(t){return new nr((e,n)=>{n(t)})}t.s(["SentrySpan",0,eQ],3595041),t.s(["spanIsIgnored",0,nt,"startInactiveSpan",0,function(t){let e=e7();return e.startInactiveSpan?e.startInactiveSpan(t):function(t){let e=e5(t),{forceTransaction:n,parentSpan:r}=t;return(t.scope?e=>tx(t.scope,e):void 0!==r?t=>e1(r,t):t=>t())(()=>{let i=tA(),s=e9(i,r),a=tD();return t.onlyIfParent&&!s?e4(i,a):e2({parentSpan:s,spanArguments:e,forceTransaction:n,scope:i})})}(t)},"startNewTrace",0,function(t){let e=e7();return e.startNewTrace?e.startNewTrace(t):tx(e=>(e.setPropagationContext({traceId:tc(),sampleRand:F()}),g&&y.log(`Starting a new trace with id ${e.getPropagationContext().traceId}`),e1(null,t)))},"startSpan",0,function(t,e){let n=e7();if(n.startSpan)return n.startSpan(t,e);let r=e5(t),{forceTransaction:i,parentSpan:s,scope:a}=t;return tx(a?.clone(),()=>e8(s)(()=>{let n=tA(),a=e9(n,s),o=tD(),u=t.onlyIfParent&&!a?e4(n,o):e2({parentSpan:a,spanArguments:r,forceTransaction:i,scope:n});return nt(u)&&a||tf(n,u),tV(()=>e(u),()=>{let{status:t}=em(u);u.isRecording()&&(!t||"ok"===t)&&u.setStatus({code:2,message:"internal_error"})},()=>{u.end()})}))},"startSpanManual",0,function(t,e){let n=e7();if(n.startSpanManual)return n.startSpanManual(t,e);let r=e5(t),{forceTransaction:i,parentSpan:s,scope:a}=t;return tx(a?.clone(),()=>e8(s)(()=>{let n=tA(),a=e9(n,s),o=t.onlyIfParent&&!a?e4(n,tD()):e2({parentSpan:a,spanArguments:r,forceTransaction:i,scope:n});return nt(o)&&a||tf(n,o),tV(()=>e(o,()=>o.end()),()=>{let{status:t}=em(o);o.isRecording()&&(!t||"ok"===t)&&o.setStatus({code:2,message:"internal_error"})})}))},"withActiveSpan",0,e1],5146446);
5class nr{constructor(t){this._state=0,this._handlers=[],this._runExecutor(t)}then(t,e){return new nr((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()})}catch(t){return this.then(t=>t,t)}finally(t){return new nr((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{i?n(r):e(r)})})}_executeHandlers(){if(0===this._state)return;let t=this._handlers.slice();this._handlers=[],t.forEach(t=>{t[0]||(1===this._state&&t[1](this._value),2===this._state&&t[2](this._value),t[0]=!0)})}_runExecutor(t){let e=(t,e)=>{if(0===this._state){if(P(e))return void e.then(n,r);this._state=t,this._value=e,this._executeHandlers()}},n=t=>{e(1,t)},r=t=>{e(2,t)};try{t(n,r)}catch(t){r(t)}}}function ni(t,e){var n,r,i,s,a,o,u,c;let l,p,{fingerprint:d,span:_,breadcrumbs:f,sdkProcessingMetadata:g}=e;(function(t,e){let{extra:n,tags:r,user:i,contexts:s,level:a,transactionName:o}=e;Object.keys(n).length&&(t.extra={...n,...t.extra}),Object.keys(r).length&&(t.tags={...r,...t.tags}),Object.keys(i).length&&(t.user={...i,...t.user}),Object.keys(s).length&&(t.contexts={...s,...t.contexts}),a&&(t.level=a),o&&"transaction"!==t.type&&(t.transaction=o)})(t,e),_&&((n=t).contexts={trace:ep(r=_),...n.contexts},n.sdkProcessingMetadata={dynamicSamplingContext:ej(r),...n.sdkProcessingMetadata},(l=em(eO(r)).description)&&!n.transaction&&"transaction"===n.type&&(n.transaction=l)),i=t,s=d,i.fingerprint=i.fingerprint?Array.isArray(i.fingerprint)?i.fingerprint:[i.fingerprint]:[],s&&(i.fingerprint=i.fingerprint.concat(s)),i.fingerprint.length||delete i.fingerprint,a=t,o=f,p=[...a.breadcrumbs||[],...o],a.breadcrumbs=p.length?p:void 0,u=t,c=g,u.sdkProcessingMetadata={...u.sdkProcessingMetadata,...c}}function ns(t,e){let{extra:n,tags:r,attributes:i,user:s,contexts:a,level:o,sdkProcessingMetadata:u,breadcrumbs:c,fingerprint:l,eventProcessors:p,attachments:d,propagationContext:_,transactionName:f,span:g}=e;na(t,"extra",n),na(t,"tags",r),na(t,"attributes",i),na(t,"user",s),na(t,"contexts",a),t.sdkProcessingMetadata=tu(t.sdkProcessingMetadata,u,2),o&&(t.level=o),f&&(t.transactionName=f),g&&(t.span=g),c.length&&(t.breadcrumbs=[...t.breadcrumbs,...c]),l.length&&(t.fingerprint=[...t.fingerprint,...l]),p.length&&(t.eventProcessors=[...t.eventProcessors,...p]),d.length&&(t.attachments=[...t.attachments,...d]),t.propagationContext={...t.propagationContext,..._}}function na(t,e,n){t[e]=tu(t[e],n,1)}function no(t,e){let n=tC().getScopeData();return t&&ns(n,t.getScopeData()),e&&ns(n,e.getScopeData()),n}function nu(t){if(t){var e;return(e=t)instanceof tm||"function"==typeof e||Object.keys(t).some(t=>nc.includes(t))?{captureContext:t}:t}}t.s(["rejectedSyncPromise",0,nn,"resolvedSyncPromise",0,ne],6907338),t.s(["applyScopeDataToEvent",0,ni,"getCombinedScopeData",0,no],3398020);let nc=["user","level","extra","contexts","tags","fingerprint","propagationContext"];function nl(){let t=tO(),e=tA().getSession()||t.getSession();e&&to(e),np(),t.setSession()}function np(){let t=tO(),e=tD(),n=t.getSession();n&&e&&e.captureSession(n)}t.s(["parseEventHintOrCaptureContext",0,nu,"prepareEvent",0,function(t,e,n,r,i,s){var l,d,_;let f,{normalizeDepth:m=3,normalizeMaxBreadth:S=1e3}=t,h={...e,event_id:e.event_id||n.event_id||Z(),timestamp:e.timestamp||tn()},E=n.integrations||t.integrations.map(t=>t.name);(function(t,e){let{environment:n,release:r,dist:i,maxValueLength:s}=e;t.environment=t.environment||n||eP,!t.release&&r&&(t.release=r),!t.dist&&i&&(t.dist=i);let a=t.request;a?.url&&s&&(a.url=q(a.url,s)),s&&t.exception?.values?.forEach(t=>{t.value&&(t.value=q(t.value,s))})})(h,t),l=h,(d=E).length>0&&(l.sdk=l.sdk||{},l.sdk.integrations=[...l.sdk.integrations||[],...d]),i&&i.emit("applyFrameMetadata",e),void 0===e.type&&(_=h,f=function(t){let e=p._sentryDebugIds,n=p._debugIds;if(!e&&!n)return{};let r=e?Object.keys(e):[],i=n?Object.keys(n):[];if(c&&r.length===o&&i.length===u)return c;o=r.length,u=i.length,c={},a||(a={});let s=(e,n)=>{for(let r of e){let e=n[r],i=a?.[r];if(i&&c&&e)c[i[0]]=e,a&&(a[r]=[i[0],e]);else if(e){let n=t(r);for(let t=n.length-1;t>=0;t--){let i=n[t],s=i?.filename;if(s&&c&&a){c[s]=e,a[r]=[s,e];break}}}}};return e&&s(r,e),n&&s(i,n),c}(t.stackParser),_.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.filename&&(t.debug_id=f[t.filename])})}));let T=function(t,e){if(!e)return t;let n=t?t.clone():new tm;return n.update(e),n}(r,n.captureContext);n.mechanism&&te(h,n.mechanism);let I=i?i.getEventProcessors():[],b=no(s,T),v=[...n.attachments||[],...b.attachments];v.length&&(n.attachments=v),ni(h,b);let R=[...I,...b.eventProcessors];return(n.data&&!0===n.data.__sentry__?ne(h):function(t,e,n,r=0){try{let i=function t(e,n,r,i){let s=r[i];if(!e||!s)return e;let a=s({...e},n);return(g&&null===a&&y.log(`Event processor "${s.id||"?"}" dropped event`),P(a))?a.then(e=>t(e,n,r,i+1)):t(a,n,r,i+1)}(e,n,t,r);return P(i)?i:ne(i)}catch(t){return nn(t)}}(R,h,n)).then(t=>(t&&function(t){let e={};if(t.exception?.values?.forEach(t=>{t.stacktrace?.frames?.forEach(t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)})}),0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];let n=t.debug_meta.images;Object.entries(e).forEach(([t,e])=>{n.push({type:"sourcemap",code_file:t,debug_id:e})})}(t),"number"==typeof m&&m>0)?function(t,e,n){if(!t)return null;let r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>
5({...t,...t.data&&{data:K(t.data,e,n)}}))},...t.user&&{user:K(t.user,e,n)},...t.contexts&&{contexts:K(t.contexts,e,n)},...t.extra&&{extra:K(t.extra,e,n)}};return t.contexts?.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=K(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(t=>({...t,...t.data&&{data:K(t.data,e,n)}}))),t.contexts?.flags&&r.contexts&&(r.contexts.flags=K(t.contexts.flags,3,n)),r}(t,m,S):t)}],3895771),t.s(["addEventProcessor",0,function(t){tO().addEventProcessor(t)},"captureEvent",0,function(t,e){return tA().captureEvent(t,e)},"captureException",0,function(t,e){return tA().captureException(t,nu(e))},"captureMessage",0,function(t,e){let n="string"==typeof e?e:void 0,r="string"!=typeof e?{captureContext:e}:void 0;return tA().captureMessage(t,n,r)},"captureSession",0,function(t=!1){t?nl():np()},"isEnabled",0,function(){let t=tD();return t?.getOptions().enabled!==!1&&!!t?.getTransport()},"setContext",0,function(t,e){tO().setContext(t,e)},"setTag",0,function(t,e){tO().setTag(t,e)},"setUser",0,function(t){tO().setUser(t)},"startSession",0,function(t){let e=tO(),{user:n}=no(e,tA()),{userAgent:r}=p.navigator||{},i=ts({user:n,...r&&{userAgent:r},...t}),s=e.getSession();return s?.status==="ok"&&ta(s,{status:"exited"}),nl(),e.setSession(i),i}],7422069)},9473935,t=>{"use strict";t.s(["SEVERITY_TEXT_TO_SEVERITY_NUMBER",0,{trace:1,debug:5,info:9,warn:13,error:17,fatal:21}])},2632130,t=>{"use strict";var e=t.i(3854325),n=t.i(6666422),r=t.i(6502745),i=t.i(5734103),s=t.i(7734851),a=t.i(9923665),o=t.i(3398020),u=t.i(9320664),c=t.
5i(3724330),l=t.i(2444559),p=t.i(4063927),d=t.i(9473935),_=t.i(1642313),f=t.i(8934368),g=t.i(8919075);function m(t,e,n,r=!0){n&&(!t[e]||r)&&(t[e]=n)}function S(t,e){var n;let r=E(),i=(n=t,E().get(n));void 0===i?r.set(t,[e]):i.length>=100?(h(t,i),r.set(t,[e])):r.set(t,[...i,e])}function h(t,e){var n,r,i,s,a;let o,u,c=e??(a=t,E().get(a))??[];if(0===c.length)return;let l=t.getOptions(),p=(n=l._metadata,r=l.tunnel,i=t.getDsn(),s=t.getDataCollectionOptions().userInfo,o={},n?.sdk&&(o.sdk={name:n.sdk.name,version:n.sdk.version}),r&&i&&(o.dsn=(0,_.dsnToString)(i)),(0,f.createEnvelope)(o,[(u=s?"auto":"never",[{type:"log",item_count:c.length,content_type:"application/vnd.sentry.items.log+json"},{version:2,...(0,g.isBrowser)()&&{ingest_settings:{infer_ip:u,infer_user_agent:u}},items:c}])]));E().set(t,[]),t.emit("flushLogs"),t.sendEnvelope(p)}function E(){return(0,n.getGlobalSingleton)("clientToLogBufferMap",()=>new WeakMap)}function T(t){let e=Object(t),n=e.isWellFormed,r=e.toWellFormed;return"function"==typeof n&&"function"==typeof r?n.call(t)?t:r.call(t):t}t.s(["_INTERNAL_captureLog",0,function(t,n=(0,r.getCurrentScope)(),_=S){let f=n?.getClient()??(0,r.getClient)();if(!f){i.DEBUG_BUILD&&s.debug.warn("No client available to capture log.");return}let{release:g,environment:h,enableLogs:E=!1,beforeSendLog:y}=f.getOptions();if(!E){i.DEBUG_BUILD&&s.debug.warn("logging option not enabled, log will not be captured.");return}let[,I]=(0,p._getTraceInfoFromScope)(f,n),b={...t.attributes},{user:{id:v,email:R,username:N},attributes:A={}}=(0,o.getCombinedScopeData)((0,r.getIsolationScope)(),n);m(b,"user.id",v,!1),m(b,"user.email",R,!1),m(b,"user.name",N,!1),m(b,"sentry.release",g),m(b,"sentry.environment",h);let{name:O,version:C}=f.getSdkMetadata()?.sdk??{};m(b,"sentry.sdk.name",O),m(b,"sentry.sdk.version",C);let x=f.getIntegrationByName("Replay"),D=x?.getReplayId(!0);m(b,"sentry.replay_id",D),D&&x?.getRecordingMode()==="buffer"&&m(b,"sentry._internal.replay_is_buffering",!0);let P=t.message;if((0,a.isParameterizedString)(P)){let{__sentry_template_string__:t,__sentry_template_values__:e=[]}=P;e?.length&&(b["sentry.message.template"]=t),e.forEach((t,e)=>{b[`sentry.message.parameter.${e}`]=t})}let M=(0,u._getSpanForScope)(n);m(b,"sentry.trace.parent_span_id",M?.spanContext().spanId);let L={...t,attributes:b};f.emit("beforeCaptureLog",L);let k=y?(0,s.consoleSandbox)(()=>y(L)):L;if(!k){f.recordDroppedEvent("before_send","log_item",1),i.DEBUG_BUILD&&s.debug.warn("beforeSendLog returned null, log will not be captured.");return}let{level:U,message:w,attributes:B={},severityNumber:F}=k,j=(0,c.timestampInSeconds)(),$=(0,l.getSequenceAttribute)(j);_(f,{timestamp:j,level:U,body:T(String(w)),trace_id:I?.trace_id,severity_number:F??d.SEVERITY_TEXT_TO_SEVERITY_NUMBER[U],attributes:function(t){let e={};for(let[n,r]of Object.entries(t)){let t=T(n);"string"===r.type?e[t]={...r,value:T(r.value)}:e[t]=r}return e}({...(0,e.serializeAttributes)(A),...(0,e.serializeAttributes)(B,!0),[$.key]:$.value})}),f.emit("afterCaptureLog",k)},"_INTERNAL_flushLogsBuffer",0,h],2632130)},7040472,t=>{"use strict";var e=t.i(3854325),n=t.i(6666422),r=t.i(6502745),i=t.i(5734103),s=t.i(7734851),a=t.i(3398020),o=t.i(9320664),u=t.i(3724330),c=t.i(2444559),l=t.i(4063927),p=t.i(1642313),d=t.i(8934368),_=t.i(8919075);function f(t,e,n,r=!0){!n||!r&&e in t||(t[e]=n)}function g(t,e){var n;let r=S(),i=(n=t,S().get(n));void 0===i?r.set(t,[e]):i.length>=1e3?(m(t,i),r.set(t,[e])):r.set(t,[...i,e])}function m(t,e){var n,r,i,s,a;let o,u,c=e??(a=t,S().get(a))??[];if(0===c.length)return;let l=t.getOptions(),f=(n=l._metadata,r=l.tunnel,i=t.getDsn(),s=t.getDataCollectionOptions().userInfo,o={},n?.sdk&&(o.sdk={name:n.sdk.name,version:n.sdk.version}),r&&i&&(o.dsn=(0,p.dsnToString)(i)),(0,d.createEnvelope)(o,[(u=s?"auto":"never",[{type:"trace_metric",item_count:c.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{version:2,...(0,_.isBrowser)()&&{ingest_settings:{infer_ip:u,infer_user_agent:u}},items:c}])]));S().set(t,[]),t.emit("flushMetrics"),t.sendEnvelope(f)}function S(){return(0,n.getGlobalSingleton)("clientToMetricBufferMap",()=>new WeakMap)}t.s(["_INTERNAL_captureMetric",0,function(t,n){let p=n?.scope??(0,r.getCurrentScope)(),d=n?.captureSerializedMetric??g,_=p?.getClient()??(0,r.getClient)();if(!_){i.DEBUG_BUILD&&s.debug.warn("No client available to capture metric.");return}let{_experiments:m,enableMetrics:S,beforeSendMetric:h}=_.getOptions();if(!(S??m?.enableMetrics??!0)){i.DEBUG_BUILD&&s.debug.warn("metrics option not enabled, metric will not be captured.");return}let{user:E,attributes:T}=(0,a.getCombinedScopeData)((0,r.getIsolationScope)(),p),y=function(t,e,n){let{release:r,environment:i}=e.getOptions(),s={...t.attributes};f(s,"user.id",n.id,!1),f(s,"user.email",n.email,!1),f(s,"user.name",n.username,!1),f(s,"sentry.release",r),f(s,"sentry.environment",i);let{name:a,version:o}=e.getSdkMetadata()?.sdk??{};f(s,"sentry.sdk.name",a),f(s,"sentry.sdk.version",o);let u=e.getIntegrationByName("Replay"),c=u?.getReplayId(!0);return f(s,"sentry.replay_id",c),c&&u?.getRecordingMode()==="buffer"&&f(s,"sentry._internal.replay_is_buffering",!0),{...t,attributes:s}}(t,_,E);_.emit("processMetric",y);let I=h||m?.beforeSendMetric,b=I?I(y):y;if(!b){i.DEBUG_BUILD&&s.debug.log("`beforeSendMetric` returned `null`, will not send metric.");return}let v=function(t,n,r,i){let[,s]=(0,l._getTraceInfoFromScope)(n,r),a=(0,o._getSpanForScope)(r),p=a?a.spanContext().traceId:s?.trace_id,d=a?a.spanContext().spanId:void 0,_=(0,u.timestampInSeconds)(),f=(0,c.getSequenceAttribute)(_);return{timestamp:_,trace_id:p??"",span_id:d,name:t.name,type:t.type,unit:t.unit,value:t.value,attributes:{...(0,e.serializeAttributes)(i),...(0,e.serializeAttributes)(t.attributes,"skip-undefined"),[f.key]:f.value}}}(b,_,p,T);i.DEBUG_BUILD&&s.debug.log("[Metric]",v),d(_,v),_.emit("afterCaptureMetric",b)},"_INTERNAL_flushMetricsBuffer",0,m],7040472)},5181012,t=>{"use strict";var e=t.i(7040472);function n(t,n,r,i){(0,e._INTERNAL_captureMetric)({type:t,name:n,value:r,unit:i?.unit,attributes:i?.attributes},{scope:i?.scope})}t.s(["count",0,function(t,e=1,r){n("counter",t,e,r)},"distribution",0,function(t,e,r){n("distribution",t,e,r)},"gauge",0,function(t,e,r){n("gauge",t,e,r)}],3513037);var r=t.i(3513037);t.s(["metrics",0,r],5181012)},8919075,3257831,t=>{"use strict";var e=t.i(8549574);function n(){return"u">typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}t.s(["getSDKSource",0,function(){return"npm"}
5,"isBrowserBundle",0,n],3257831);var r=t.i(2490447);t.s(["isBrowser",0,function(){let t;return"u">typeof window&&(!(!n()&&"[object process]"===Object.prototype.toString.call(void 0!==e.default?e.default:0))||(t=r.GLOBAL_OBJ.process,t?.type==="renderer"))}],8919075)},2444559,4063927,t=>{"use strict";let e,n=0;t.s(["getSequenceAttribute",0,function(t){let r=Math.floor(1e3*t);void 0!==e&&r!==e&&(n=0);let i=n;return n++,e=r,{key:"sentry.timestamp.sequence",value:{value:i,type:"integer"}}}],2444559);var r=t.i(6502745),i=t.i(5533232),s=t.i(9234768);t.s(["_getTraceInfoFromScope",0,function(t,e){return e?(0,r.withScope)(e,()=>{let n=(0,s.getActiveSpan)(),a=n?(0,s.spanToTraceContext)(n):(0,r.getTraceContextFromScope)(e);return[n?(0,i.getDynamicSamplingContextFromSpan)(n):(0,i.getDynamicSamplingContextFromScope)(t,e),a]}):[void 0,void 0]}],4063927)},4996908,(t,e,n)=>{"use strict";e.exports=["chrome 111","edge 111","firefox 111","safari 16.4"]},8813321,(t,e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={UNDERSCORE_GLOBAL_ERROR_ROUTE:function(){return o},UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY:function(){return u},UNDERSCORE_NOT_FOUND_ROUTE:function(){return s},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return a}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let s="/_not-found",a=`${s}/page`,o="/_global-error",u=`${o}/page`},1399739,(t,e,n)=>{"use strict";var r,i=t.i(8549574);Object.defineProperty(n,"__esModule",{value:!0});var s={APP_CLIENT_INTERNALS:function(){return tr},APP_PATHS_MANIFEST:function(){return T},APP_PATH_ROUTES_MANIFEST:function(){return y},AdapterOutputType:function(){return p},BARREL_OPTIMIZATION_PREFIX:function(){return J},BLOCKED_PAGES:function(){return Y},BUILD_ID_FILE:function(){return G},BUILD_MANIFEST:function(){return I},CLIENT_PUBLIC_FILES_PATH:function(){return z},CLIENT_REFERENCE_MANIFEST:function(){return K},CLIENT_STATIC_FILES_PATH:function(){return W},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return te},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return tn},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return ta},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return to},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return ti},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return ts},COMPILER_INDEXES:function(){return l},COMPILER_NAMES:function(){return c},CONFIG_FILES:function(){return $},DEFAULT_RUNTIME_WEBPACK:function(){return tu},DEFAULT_SANS_SERIF_FONT:function(){return t_},DEFAULT_SERIF_FONT:function(){return td},DEV_CLIENT_MIDDLEWARE_MANIFEST:function(){return B},DEV_CLIENT_PAGES_MANIFEST:function(){return M},DYNAMIC_CSS_MANIFEST:function(){return tt},EDGE_RUNTIME_WEBPACK:function(){return tc},EDGE_UNSUPPORTED_NODE_APIS:function(){return th},EXPORT_DETAIL:function(){return A},EXPORT_MARKER:function(){return N},FUNCTIONS_CONFIG_MANIFEST:function(){return b},IMAGES_MANIFEST:function(){return D},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return Z},MIDDLEWARE_BUILD_MANIFEST:function(){return q},MIDDLEWARE_MANIFEST:function(){return k},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return Q},MODERN_BROWSERSLIST_TARGET:function(){return o.default},NEXT_BUILTIN_DOCUMENT:function(){return V},NEXT_FONT_MANIFEST:function(){return R},PAGES_MANIFEST:function(){return E},PHASE_ANALYZE:function(){return _},PHASE_DEVELOPMENT_SERVER:function(){return m},PHASE_EXPORT:function(){return d},PHASE_INFO:function(){return h},PHASE_PRODUCTION_BUILD:function(){return f},PHASE_PRODUCTION_SERVER:function(){return g},PHASE_TEST:function(){return S},PREFETCH_HINTS:function(){return C},PRERENDER_MANIFEST:function(){return O},REACT_LOADABLE_MANIFEST:function(){return F},REQUEST_INSIGHTS_DEV_ENDPOINT:function(){return L},ROUTES_MANIFEST:function(){return x},RSC_MODULE_TYPES:function(){return tS},SERVER_DIRECTORY:function(){return j},SERVER_FILES_MANIFEST:function(){return P},SERVER_PROPS_ID:function(){return tp},SERVER_REFERENCE_MANIFEST:function(){return X},STATIC_PROPS_ID:function(){return tl},STATIC_STATUS_PAGES:function(){return tf},STRING_LITERAL_DROP_BUNDLE:function(){return H},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return v},SYSTEM_ENTRYPOINTS:function(){return tE},TRACE_OUTPUT_VERSION:function(){return tg},TURBOPACK_CLIENT_BUILD_MANIFEST:function(){return w},TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST:function(){return U},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return tm},UNDERSCORE_GLOBAL_ERROR_ROUTE:function(){return u.UNDERSCORE_GLOBAL_ERROR_ROUTE},UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY:function(){return u.UNDERSCORE_GLOBAL_ERROR_ROUTE_ENTRY},UNDERSCORE_NOT_FOUND_ROUTE:function(){return u.UNDERSCORE_NOT_FOUND_ROUTE},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return u.UNDERSCORE_NOT_FOUND_ROUTE_ENTRY}};for(var a in s)Object.defineProperty(n,a,{enumerable:!0,get:s[a]});let o=t.r(6665568)._(t.r(4996908)),u=t.r(8813321),c={client:"client",server:"server",edgeServer:"edge-server"},l={[c.client]:0,[c.server]:1,[c.edgeServer]:2};var p=((r={}).PAGES="PAGES",r.PAGES_API="PAGES_API",r.APP_PAGE="APP_PAGE",r.APP_ROUTE="APP_ROUTE",r.PRERENDER="PRERENDER",r.STATIC_FILE="STATIC_FILE",r.MIDDLEWARE="MIDDLEWARE",r);let d="phase-export",_="phase-analyze",f="phase-production-build",g="phase-production-server",m="phase-development-server",S="phase-test",h="phase-info",E="pages-manifest.json",T="app-paths-manifest.json",y="app-path-routes-manifest.json",I="build-manifest.json",b="functions-config-manifest.json",v="subresource-integrity-manifest",R="next-font-manifest",N="export-marker.json",A="export-detail.json",O="prerender-manifest.json",C="prefetch-hints.json",x="routes-manifest.json",D="images-manifest.json",P="required-server-files",M="_devPagesManifest.json",L="/_next/development/request-insights",k="middleware-manifest.json",U="_clientMiddlewareManifest.js",w="client-build-manifest.json",B="_devMiddlewareManifest.json",F="react-loadable-manifest.json",j="server",$=["next.config.js","next.config.mjs","next.config.ts",...i.default?.features?.typescript?["next.config.mts"]:[]],G="BUILD_ID",Y=["/_document","/_app","/_error"],z="public",W="static",H="__NEXT_DROP_CLIENT_FILE__",V="__NEXT_BUILTIN_DOCUMENT__",J="__barrel_optimize__",K="client-reference-manifest",X="server-reference-manifest",q="middleware-build-manifest",Q="middleware-react-loadable-manifest",Z="interception-route-rewrite-manifest",tt="dynamic-css-manifest",te="main",tn=`${te}-app`,tr="app-pages-internals",ti="react-refresh",ts="webpack",ta="pol
5yfills",to=Symbol(ta),tu="webpack-runtime",tc="edge-runtime-webpack",tl="__N_SSG",tp="__N_SSP",td={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},t_={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},tf=["/500"],tg=1,tm=6e3,tS={client:"client",server:"server"},th=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],tE=new Set([te,ti,tn]);("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},4937183,(t,e,n)=>{e.exports=t.r(1399739)},8413182,t=>{"use strict";t.i(7422069),t.i(2765193),t.i(7012213),t.i(5146446),t.i(6502745),t.i(5181012);var e=t.i(2632130);function n(t,n,r,i,s){(0,e._INTERNAL_captureLog)({level:t,message:n,attributes:r,severityNumber:s},i)}function r(t,e,{scope:i}={}){n("trace",t,e,i)}function i(t,e,{scope:r}={}){n("debug",t,e,r)}function s(t,e,{scope:r}={}){n("info",t,e,r)}function a(t,e,{scope:r}={}){n("warn",t,e,r)}function o(t,e,{scope:r}={}){n("error",t,e,r)}function u(t,e,{scope:r}={}){n("fatal",t,e,r)}t.s(["debug",0,i,"error",0,o,"fatal",0,u,"info",0,s,"trace",0,r,"warn",0,a],8895476),t.i(8895476),t.s(["debug",0,i,"error",0,o,"fatal",0,u,"fmt",0,function(t,...e){let n=new String(String.raw(t,...e));return n.__sentry_template_string__=t.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),n.__sentry_template_values__=e,n},"info",0,s,"trace",0,r,"warn",0,a],3594120);var c=t.i(3594120),c=c,l=t.i(8549574);let p=new Set(["production","staging","azure-staging","development"]),d=function(){var t;if(void 0!==(t=l.default.env.APP_ENV)&&p.has(t))return l.default.env.APP_ENV;{let t=window.location.hostname;return"localhost"===t||"127.0.0.1"===t?"development":t.includes("mouseion")?"staging":"production"}}(),_="true"===l.default.env.NEXT_PUBLIC_DEBUG_FORCE_ENABLE_ERRORS,f="development"!==d||_;l.default.env.NEXT_PUBLIC_DEBUG_ERRORS_CONSOLE,t.s(["log",0,function(t,e,n){if(f)try{let r=n?Object.fromEntries(Object.entries(n).filter(([,t])=>void 0!==t)):void 0;c[t](e,r)}catch{}}],8413182)}]);
6
7//# debugId=111b8a8c-412f-2e67-2630-9e5fb0f58761

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.