PageSourceSearch

https://www.megasuper.com/_next/static/chunks/analytics-428c87ae-3b940011b278b5f9.js

js megasuper.com collected 2026-09-25 20:05:52 UTC 51,818 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f5b25a0d-81cd-41f1-9e6f-9de720ce64bd",e._sentryDebugIdIdentifier="sentry-dbid-f5b25a0d-81cd-41f1-9e6f-9de720ce64bd")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[78553],{39814:function(e,t,n){n.d(t,{nV:function(){return K},S1:function(){return Q}});var r=n(20411),i=n(9205),o=n(66725),a=n(73658),s=n(29366),l=n(15518),u=n(36609),c=n(18599),f=n(64080),d=n(63669),p=n(27883),h=n(75053),g=n(41818),m=n(49578),y=n(51001),v=n(17040),_=n(85570),b=n(77429),k=n(850),w=n(76999),P=n(40086),S=n(27901),I=n(44214),E=n(87856);let x=(0,l._I)((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&(0,f.e)(function(t){if((0,p.s3)()!==e)return;let n={category:"console",data:{arguments:t.args,logger:"console"},level:(0,v.V)(t.level),message:(0,_.nK)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${(0,_.nK)(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}(0,h.n)(n,{input:t.args,level:t.level})}),t.dom&&(0,w.O)((n=t.dom,function(t){let r,i;if((0,p.s3)()!==e)return;let o="object"==typeof n?n.serializeAttribute:void 0,a="object"==typeof n&&"number"==typeof n.maxStringLength?n.maxStringLength:void 0;a&&a>1024&&(I.X&&m.fF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=1024),"string"==typeof o&&(o=[o]);try{let e=t.event,n=e&&e.target?e.target:e;r=(0,y.Rt)(n,{keyAttrs:o,maxStringLength:a}),i=(0,y.iY)(n)}catch{r="<unknown>"}if(0===r.length)return;let s={category:`ui.${t.name}`,message:r};i&&(s.data={"ui.component_name":i}),(0,h.n)(s,{event:t.event,name:t.name,global:t.global})})),t.xhr&&(0,P.UK)(function(t){if((0,p.s3)()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[P.xU];if(!n||!r||!i)return;let{method:o,url:a,status_code:s,body:l}=i,u={xhr:t.xhr,input:l,startTimestamp:n,endTimestamp:r},c={category:"xhr",data:{method:o,url:a,status_code:s},type:"http",level:(0,b.B)(s)};e.emit("beforeOutgoingRequestBreadcrumb",c,u),(0,h.n)(c,u)}),t.fetch&&(0,d.Uf)(function(t){if((0,p.s3)()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;if(!(!r||t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method)){if(t.fetchData.method,t.fetchData.url,t.error){let i=t.fetchData,o={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},a={category:"fetch",data:i,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",a,o),(0,h.n)(a,o)}else{let i=t.response,o={...t.fetchData,status_code:i?.status};t.fetchData.request_body_size,t.fetchData.response_body_size,i?.status;let a={input:t.args,response:i,startTimestamp:n,endTimestamp:r},s={category:"fetch",data:o,type:"http",level:(0,b.B)(o.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",s,a),(0,h.n)(s,a)}}}),t.history&&(0,S.a)(function(t){if((0,p.s3)()!==e)return;let n=t.from,r=t.to,i=(0,k.en)(E.m9.location.href),o=n?(0,k.en)(n):void 0,a=(0,k.en)(r);o?.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),(0,h.n)({category:"navigation",data:{from:n,to:r}})}),t.sentry&&e.on("beforeSendEvent",function(t){(0,p.s3)()===e&&(0,h.n)({category:`sentry.${"transaction"===t.type?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:(0,g.jH)(t)},{event:t})})}}});var R=n(44333);let F=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],X=(0,l._I)((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,R.hl)(E.m9,"setTimeout",L),t.setInterval&&(0,R.hl)(E.m9,"setInterval",L),t.requestAnimationFrame&&(0,R.hl)(E.m9,"requestAnimationFrame",T),t.XMLHttpRequest&&"XMLHttpRequest"in E.m9&&(0,R.hl)(XMLHttpRequest.prototype,"send",O);let e=t.eventTarget;
1e&&(Array.isArray(e)?e:F).forEach(e=>(function(e,t){let n=E.m9,r=n[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,R.hl)(r,"addEventListener",function(n){return function(r,i,o){try{"function"==typeof i.handleEvent&&(i.handleEvent=(0,E.re)(i.handleEvent,{mechanism:{data:{handler:(0,s.$P)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&this&&"object"==typeof this&&"removeEventListener"in this&&"function"==typeof this.removeEventListener&&this.removeEventListener(r,i),n.apply(this,[r,(0,E.re)(i,{mechanism:{data:{handler:(0,s.$P)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),o])}}),(0,R.hl)(r,"removeEventListener",function(e){return function(t,n,r){try{let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch{}return e.call(this,t,n,r)}}))})(e,t))}}});function L(e){return function(...t){let n=t[0];return t[0]=(0,E.re)(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,s.$P)(e)}`}}),e.apply(this,t)}}function T(e){return function(t){return e.apply(this,[(0,E.re)(t,{mechanism:{data:{handler:(0,s.$P)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function O(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&(0,R.hl)(n,e,function(t){let n={mechanism:{data:{handler:(0,s.$P)(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},r=(0,R.HK)(t);return r&&(n.mechanism.data.handler=(0,s.$P)(r)),(0,E.re)(t,n)})}),e.apply(this,t)}}var D=n(50865);let M=(0,l._I)((e={})=>{let t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(void 0===E.m9.document){I.X&&m.fF.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,D.yj)({ignoreDuration:!0}),(0,D.cg)();let e=(0,p.aF)(),n=e.getUser();e.addScopeListener(e=>{let t=e.getUser();
1(n?.id!==t?.id||n?.ip_address!==t?.ip_address)&&((0,D.cg)(),n=t)}),"route"===t&&(0,S.a)(({from:e,to:t})=>{e!==t&&((0,D.yj)({ignoreDuration:!0}),(0,D.cg)())})}}}),q=(0,l._I)(()=>({name:"CultureContext",preprocessEvent(e){let t=function(){try{let e=E.m9.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})}}));var C=n(34580),$=n(12593),A=n(50517),H=n(59429);let B=(0,l._I)((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&((0,C.V)(t=>{let{stackParser:n,attachStacktrace:r}=U();if((0,p.s3)()!==e||(0,E.Wz)())return;let{msg:i,url:o,line:a,column:l,error:u}=t,c=function(e,t,n,r){let i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},l=a.stacktrace=a.stacktrace||{},u=l.frames=l.frames||[],c=((0,A.HD)(t)&&0!==t.length?t.startsWith("data:")?`<${(0,k.t4)(t,!1)}>`:t:void 0)??(0,y.l4)();return 0===u.length&&u.push({colno:r,filename:c,function:s.Fi,in_app:!0,lineno:n}),e}((0,H.ME)(n,u||i,void 0,r,!1),o,a,l);c.level="error",(0,D.eN)(c,{originalException:u,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),W("onerror")),t.onunhandledrejection&&((0,$.h)(t=>{let{stackParser:n,attachStacktrace:r}=U();if((0,p.s3)()!==e||(0,E.Wz)())return;let i=function(e){if((0,A.pt)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}(t),o=(0,A.pt)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:(0,H.ME)(n,i,void 0,r,!0);o.level="error",(0,D.eN)(o,{originalException:i,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),W("onunhandledrejection"))}}});function W(e){I.X&&m.fF.log(`Global Handler attached: ${e}`)}function U(){let e=(0,p.s3)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let j=(0,l._I)(()=>({name:"HttpContext",preprocessEvent(e){if(!E.m9.navigator&&!E.m9.location&&!E.m9.document)return;let t=(0,E.PJ)(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}}));var N=n(66053);let G=(0,l._I)((e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){let o=i.getOptions();(0,N.Z)(H.GJ,o.stackParser,n,t,e,r)}}});var J=n(72426),z=n(1298),V=n(62750);function K(e){return[(0,r.S)(),(0,i.C)(),(0,o.d)(),X(),x(),B(),G(),(0,a.R)(),j(),q(),M()]}function Q(e={}){let t=!e.skipBrowserExtensionCheck&&(0,V.g)(),n=null==e.defaultIntegrations?K():e.defaultIntegrations,r={...e,enabled:!t&&e.enabled,stackParser:(0,s.Sq)(e.stackParser||J.Dt),integrations:(0,l.m8)({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||z.f};return(0,u.M)(c.R,r)}},15617:function(e,t,n){n.d(t,{RE:function(){return N.R},aM:function(){return o.aM},kh:function(){return tg},Jn:function(){return a.J},$J:function(){return s.$J},S3:function(){return s.S3},TE:function(){return s.TE},Zj:function(){return s.Zj},sX:function(){return l.s},m9:function(){return j.m9},n_:function(){return u.n},Qy:function(){return c.Qy},M5:function(){return f.M5},fQ:function(){return et.f},tP:function(){return eo.t},xF:function(){return ts},OU:function(){return ea.O},s8:function(){return tp},Xs:function(){return d.X},eN:function(){return c.eN},Tb:function(){return c.Tb},N$:function(){return p.N},uT:function(){return c.uT},cg:function(){return c.cg},$3:function(){return K.$3},xv:function(){return c.xv},yo:function(){return h.y},SZ:function(){return eI},yn:function(){return g.yn},Jp:function(){return m.J},eB:function(){return y.e},qv:function(){return v.q},rQ:function(){return Z.r},AR:function(){return tc.A},RH:function(){return _.R},k3:function(){return eA.k3},d8:function(){return K.d8},Dt:function(){return K.Dt},PK:function(){return tw.P},TM:function(){return c.TM},Is:function(){return b.I},dr:function(){return Q.dr},aB:function(){return Q.aB},GJ:function(){return Q.GJ},EY:function(){return k.E},E7:function(){return w.E},QT:function(){return r.Q},Xc:function(){return i.r},ri:function(){return i.r},yl:function(){return c.yl},Eg:function(){return Y.Eg},CP:function(){return P.C},$Q:function(){return K.$Q},HN:function(){return S.HN},s3:function(){return I.s3},nZ:function(){return I.nZ},nV:function(){return Y.nV},qm:function(){return e$.qm},lW:function(){return I.lW}
1,aF:function(){return I.aF},TF:function(){return eq.T},Gx:function(){return S.Gx},Dp:function(){return S.Dp},ix:function(){return E.ix},uu:function(){return x.u},ks:function(){return en.ks},Pn:function(){return eM},XT:function(){return tb},lQ:function(){return ey},sA:function(){return er.s},SG:function(){return b.S},TT:function(){return R.T},gh:function(){return F.g},PO:function(){return X.P},og:function(){return L.o},L7:function(){return eA.L7},tb:function(){return T.tb},_k:function(){return c._k},dk:function(){return c.dk},eW:function(){return c.eW},iV:function(){return td},RX:function(){return es.R},OB:function(){return ei.O},kg:function(){return O},O1:function(){return eU.O1},fD:function(){return G.f},Wq:function(){return o.Wq},qI:function(){return D},wo:function(){return M.w},lA:function(){return Y.lA},wC:function(){return th},NP:function(){return K.NP},HH:function(){return K.HH},XB:function(){return q.X},ar:function(){return C.a},IG:function(){return tI},mz:function(){return eC.m},Gs:function(){return eq.G},i1:function(){return eB.i},yt:function(){return ed},vU:function(){return $.v},fA:function(){return e$.fA},Ge:function(){return eW.G},v:function(){return c.v},KW:function(){return A.K},sU:function(){return c.sU},rJ:function(){return c.rJ},Q0:function(){return E.Q0},oi:function(){return H.o},YA:function(){return c.YA},mG:function(){return c.mG},av:function(){return c.av},jp:function(){return ee.j},uc:function(){return B.uc},XU:function(){return S.XU},Hb:function(){return S.Hb},PB:function(){return tu},xk:function(){return eH.og},Wo:function(){return eH.Wo},Iw:function(){return g.Iw},yj:function(){return c.yj},c2:function(){return tk},q6:function(){return T.q6},hE:function(){return g.hE},Lw:function(){return W.L},BC:function(){return V},UH:function(){return ty},g5:function(){return S.g5},_4:function(){return tP},R2:function(){return K.R2},_d:function(){return g._d},wi:function(){return I.wi},$e:function(){return I.$e},id:function(){return U.id}});var r=n(57999),i=n(72510),o=n(33966),a=n(11022),s=n(34277),l=n(86711),u=n(88600),c=n(98542),f=n(62713),d=n(83708),p=n(95347),h=n(18632),g=n(80579),m=n(73),y=n(81254),v=n(95314),_=n(19295),b=n(74129),k=n(63828),w=n(10922),P=n(24630),S=n(27309),I=n(90429),E=n(6467),x=n(42571),R=n(92680),F=n(60217),X=n(39187),L=n(2544),T=n(79596),O=n(4048),D=n(37784),M=n(69214),q=n(50549),C=n(33508),$=n(45423),A=n(85170),H=n(58954),B=n(43781),W=n(3217),U=n(44731),j=n(46328),N=n(84255),G=n(49722),J=n(73743),z=n(43714);let V={startProfiler:function(){let e=(0,I.s3)();if(!e){z.X&&J.fF.warn("No Sentry client available, profiling is not started");return}if(!e.getIntegrationByName("BrowserProfiling")){z.X&&J.fF.warn("BrowserProfiling integration is not available");return}e.emit("startUIProfiler")},stopProfiler:function(){let e=(0,I.s3)();if(!e){z.X&&J.fF.warn("No Sentry client available, profiling is not started");return}if(!e.getIntegrationByName("BrowserProfiling")){z.X&&J.fF.warn("ProfilingIntegration is not available");return}e.emit("stopUIProfiler")}};var K=n(35790),Q=n(34408),Z=n(60506),Y=n(13498),ee=n(1357),et=n(80307),en=n(7270),er=n(50941),ei=n(27061),eo=n(65454),ea=n(24798),es=n(82699),el=n(45582),eu=n(16869);let ec=el.GLOBAL_OBJ,ef=new WeakMap,ed=(0,f._I)((e={})=>{let t=e.types||["crash","deprecation","intervention"];function n(e){if(ef.has((0,I.s3)()))for(let t of e)(0,I.$e)(e=>{e.setExtra("url",t.url);let n=`ReportingObserver [${t.type}]`,r="No details available";if(t.body){let n={};for(let e in t.body)n[e]=t.body[e];if(e.setExtra("body",n),"crash"===t.type){let e=t.body;r=[e.crashId||"",e.reason||""].join(" ").trim()||r}else r=t.body.message||r}(0,c.uT)(`${n}: ${r}`)})}return{name:"ReportingObserver",setupOnce(){(0,eu.zb)()&&new ec.ReportingObserver(n,{buffered:!0,types:t}).observe()},setup(e){ef.set(e,!0)}}});var ep=n(99761),eh=n(55188),eg=n(51269),em=n(34969);let ey=(0,f._I)((e={})=>{let t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:"HttpClient",setup(e){(0,eu.t$)()&&(0,ep.Uf)(n=>{if((0,I.s3)()!==e)return;let{response:r,args:i,error:o,virtualError:a}=n,[s,l]=i;r&&function(e,t,n,r,i){if(eb(e,n.status,n.url)){let e,o,a,s;let l=!r&&t instanceof Request||t instanceof Request&&t.bodyUsed?t:new Request
1(t,r);ew()&&([e,a]=ev("Cookie",l),[o,s]=ev("Set-Cookie",n));let u=ek({url:l.url,method:l.method,status:n.status,requestHeaders:e,responseHeaders:o,requestCookies:a,responseCookies:s,error:i,type:"fetch"});(0,c.eN)(u)}}(t,s,r,l,o||a)},!1),"XMLHttpRequest"in el.GLOBAL_OBJ&&(0,em.UK)(n=>{if((0,I.s3)()!==e)return;let{error:r,virtualError:i}=n,o=n.xhr,a=o[em.xU];if(!a)return;let{method:s,request_headers:l}=a;try{!function(e,t,n,r,i){if(eb(e,t.status,t.responseURL)){let e,o,a;if(ew()){try{let e=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;e&&(o=e_(e))}catch{}try{a=function(e){let t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce((e,t)=>{let[n,r]=t.split(": ");return n&&r&&(e[n]=r),e},{}):{}}(t)}catch{}e=r}let s=ek({url:t.responseURL,method:n,status:t.status,requestHeaders:e,responseHeaders:a,responseCookies:o,error:i,type:"xhr"});(0,c.eN)(s)}}(t,o,s,l,r||i)}catch(e){z.X&&J.fF.warn("Error while extracting response event form XHR response",e)}})}}});function ev(e,t){let n;let r=function(e){let t={};return e.forEach((e,n)=>{t[n]=e}),t}(t.headers);try{let t=r[e]||r[e.toLowerCase()]||void 0;t&&(n=e_(t))}catch{}return[r,n]}function e_(e){return e.split("; ").reduce((e,t)=>{let[n,r]=t.split("=");return n&&r&&(e[n]=r),e},{})}function eb(e,t,n){return e.failedRequestStatusCodes.some(e=>"number"==typeof e?e===t:t>=e[0]&&t<=e[1])&&e.failedRequestTargets.some(e=>"string"==typeof e?n.includes(e):e.test(n))&&!(0,eh.W)(n,(0,I.s3)())}function ek(e){let t=(0,I.s3)(),n=t&&e.error&&e.error instanceof Error?e.error.stack:void 0,r=n&&t?t.getOptions().stackParser(n,0,1):void 0,i=`HTTP Client Error with status code: ${e.status}`,o={message:i,exception:{values:[{type:"Error",value:i,stacktrace:r?{frames:r}:void 0}]},request:{url:e.url,method:e.method,headers:e.requestHeaders,cookies:e.requestCookies},contexts:{response:{status_code:e.status,headers:e.responseHeaders,cookies:e.responseCookies,body_size:function(e){if(e){let t=e["Content-Length"]||e["content-length"];if(t)return parseInt(t,10)}}(e.responseHeaders)}}};return(0,eg.EG)(o,{type:`auto.http.client.${e.type}`,handled:!1}),o}function ew(){let e=(0,I.s3)();return!!e&&!!e.getOptions().sendDefaultPii}var eP=n(66915);let eS=el.GLOBAL_OBJ,eI=(0,f._I)((e={})=>{let t=null!=e.frameContextLines?e.frameContextLines:7;return{name:"ContextLines",processEvent:e=>(function(e,t){let n=eS.document,r=eS.location&&(0,eP.rt)(eS.location.href);if(!n||!r)return e;let i=e.exception?.values;if(!i?.length)return e;let o=n.documentElement.innerHTML;if(!o)return e;let a=["<!DOCTYPE html>","<html>",...o.split("\n"),"</html>"];return i.forEach(e=>{let n=e.stacktrace;n?.frames&&(n.frames=n.frames.map(e=>(e.filename===r&&e.lineno&&a.length&&(0,eg.go)(a,e,t),e)))}),e})(e,t)}});var eE=n(91974),ex=n(73184),eR=n(85016);function eF(e){if(eO(e))return`persisted ${e.operationName}`;if(eT(e)){let{query:t,operationName:n}=e,{operationName:r=n,operationType:i}=function(e){let t=e.match(/^(?:\s*)(query|mutation|subscription)(?:\s*)(\w+)(?:\s*)[{(]/);if(t)return{operationType:t[1],operationName:t[2]};let n=e.match(/^(?:\s*)(query|mutation|subscription)(?:\s*)[{(]/);return n?{operationType:n[1],operationName:void 0}:{operationType:void 0,operationName:void 0}}(t);return r?`${i} ${r}`:`${i}`}return"unknown"}function eX(e){let t;if("xhr"in e){let n=e.xhr[em.xU];t=n&&(0,eR.SI)(n.body)[0]}else{let n=(0,eR.dn)(e.input);t=(0,eR.SI)(n)[0]}return t}function eL(e){return"object"==typeof e&&null!==e}function eT(e){return eL(e)&&"string"==typeof e.query}function eO(e){return eL(e)&&"string"==typeof e.operationName&&eL(e.extensions)&&eL(e.extensions.persistedQuery)&&"string"==typeof e.extensions.persistedQuery.sha256Hash&&"number"==typeof e.extensions.persistedQuery.version}function eD(e){try{let t=JSON.parse(e);if(eT(t)||eO(t))return t;return}catch{return}}let eM=(0,f._I)(e=>({name:"GraphQLClient",setup(t){(function(e,t){e.on("beforeOutgoingRequestSpan",(e,n)=>{let r=(0,S.XU)(e).data||{};if("http.client"!==r[s.$J])return;let i=r[s.fv]||r["http.url"],o=r[s.qE]||r["http.method"];if(!(0,eE.HD)(i)||!(0,eE.HD)(o))return;let{endpoints:a}=t,l=(0,ex.U0)(i,a),u=eX(n);if(l&&u){let t=eD(u);if(t){let n=eF(t);e.updateName(`${o} ${i} (${n})`),eT(t)&&e.setAttribute("graphql.document",t.query),eO(t)&&(e.setAttribute("graphql.persisted_query.hash.sha256",t.extensions.persistedQuery.sha256Hash),e.setAttribute("graphql.persisted_query.version",t.extensions.persistedQuery.version))}}})})(t,e),function(e,t){e.on("beforeOutgoingRequestBreadcrumb",(e,n)=>{let{category:r,type:i,data:o}=e;if("http"===i&&("fetch"===r||"xhr"===r)){let e=o?.url,{endpoints:r}=t,i=(0,ex.U0)(e,r),a=eX(n);if(i&&o&&a){let e=eD(a);if(!o.graphql&&e){let t=eF(e);o["graphql.operation"]=t,eT(e)&&(o["graphql.document"]=e.query),eO(e)&&(o["graphql.persisted_query.hash.sha256"]=e.extensions.persistedQuery.sha256Hash,o["graphql.persisted_query.version"]=e.extensions.persistedQuery.version)}}}})}(t,e)}}));var eq=n(96353),eC=n(99180),e$=n(71730),eA=n(76065),eH=n(16976),eB=n(69694),eW=n(12321),eU=n(679),ej=n(75794),eN=n(57267),eG=n(44727),eJ=n(24464),ez=n(37281);let eV="window"in el.GLOBAL_OBJ&&el.GLOBAL_OBJ.window===el.GLOBAL_OBJ&&"undefined"==typeof importScripts,eK=String(0),eQ=eV?"main":"worker",eZ=j.m9.navigator,eY="",e0="",e1="",e9=eZ?.userAgent||"",e3="",e4=eZ?.language||eZ?.languages?.[0]||"",e2=eZ?.userAgentData;function e7(e){return"pageload"===(0,S.XU)(e).op}function e6(e){let t=(0,I.s3)(),n=t?.getOptions(),r=n?.stackParser;return r?(0,ez.v)(r,e):[]}function e5(e){return"number"!=typeof e&&"boolean"!=typeof e||"number"==typeof e&&isNaN(e)?(z.X&&J.fF.warn(`[Profiling] Invalid sample rate. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):!0===e||!1===e||!(e<0)&&!(e>1)||(z.X&&J.fF.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1)}"object"==typeof e2&&null!==e2&&"getHighEntropyValues"in e2&&e2.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>{if(eY=e.platform||"",e1=e.architecture||"",e3=e.model||"",e0=e.platformVersion||"",e.fullVersionList?.length){let t=e.fullVersionList[e.fullVersionList.length-1];e9=`${t.brand} ${t.version}`}}).catch(e=>void 0);let e8=!1;function te(){let e=j.m9.Profiler;if("function"!=typeof e){z.X&&J.fF.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}try{return new e({sampleInterval:10,maxBufferSize:Math.floor(3e3)})}catch(e){z.X&&(J.fF.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),J.fF.log("[Profiling] Disabling profiling for current user session.")),e8=!0}}function tt(e){if(e8)return z.X&&J.fF.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return z.X&&J.fF.log("[Profiling] Discarding profile because root span was not sampled."),!1;let t=(0,I.s3)(),n=t?.getOptions();if(!n)return z.X&&J.fF.log("[Profiling] Profiling disabled, no options foun
1d."),!1;let r=n.profilesSampleRate;return e5(r)?r?!!(!0===r||Math.random()<r)||(z.X&&J.fF.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(r)})`),!1):(z.X&&J.fF.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1):(z.X&&J.fF.warn("[Profiling] Discarding profile because of invalid sample rate."),!1)}function tn(e){return void 0!==e.profilesSampleRate}let tr=new Map;function ti(e){let t;e7(e)&&(t=1e3*(0,eN.ph)());let n=te();if(!n)return;z.X&&J.fF.log(`[Profiling] started profiling span: ${(0,S.XU)(e).description}`);let r=(0,eg.DM)(),i=null;async function o(){if(e&&n){if(i){z.X&&J.fF.log("[Profiling] profile for:",(0,S.XU)(e).description,"already exists, returning early");return}return n.stop().then(t=>{if(a&&(j.m9.clearTimeout(a),a=void 0),z.X&&J.fF.log(`[Profiling] stopped profiling of span: ${(0,S.XU)(e).description}`),!t){z.X&&J.fF.log(`[Profiling] profiler returned null profile for: ${(0,S.XU)(e).description}`,"this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started");return}i=t,function(e,t){if(tr.set(e,t),tr.size>30){let e=tr.keys().next().value;void 0!==e&&tr.delete(e)}}(r,t)}).catch(e=>{z.X&&J.fF.log("[Profiling] error while stopping profiler:",e)})}}(0,I.nZ)().setContext("profile",{profile_id:r,start_timestamp:t});let a=j.m9.setTimeout(()=>{z.X&&J.fF.log("[Profiling] max profile duration elapsed, stopping profiling for:",(0,S.XU)(e).description),o()},3e4),s=e.end.bind(e);e.end=function(){return e?(o().then(()=>{s()},()=>{s()}),e):s()}}var to=n(8567);class ta{constructor(){this._client=void 0,this._profiler=void 0,this._chunkTimer=void 0,this._profilerId=void 0,this._isRunning=!1,this._sessionSampled=!1,this._lifecycleMode=void 0,this._activeRootSpanIds=new Set,this._rootSpanTimeouts=new Map}initialize(e){let t=e.getOptions().profileLifecycle,n=function(e){if(e8)return z.X&&J.fF.log("[Profiling] Profiling has been disabled for the duration of the current user session as the JS Profiler could not be started."),!1;if("trace"!==e.profileLifecycle&&"manual"!==e.profileLifecycle)return z.X&&J.fF.warn("[Profiling] Session not sampled. Invalid `profileLifecycle` option."),!1;let t=e.profileSessionSampleRate;return e5(t)?t?Math.random()<=t:(z.X&&J.fF.log("[Profiling] Discarding profile because profileSessionSampleRate is not defined or set to 0"),!1):(z.X&&J.fF.warn("[Profiling] Discarding profile because of invalid profileSessionSampleRate."),!1)}(e.getOptions());z.X&&J.fF.log(`[Profiling] Initializing profiler (lifecycle='${t}').`),!n&&z.X&&J.fF.log("[Profiling] Session not sampled. Skipping lifecycle profiler initialization."),this._profilerId=(0,eg.DM)(),this._client=e,this._sessionSampled=n,this._lifecycleMode=t,"trace"===t&&this._setupTraceLifecycleListeners(e)}start(){if("trace"===this._lifecycleMode){z.X&&J.fF.warn('[Profiling] `profileLifecycle` is set to "trace". Calls to `uiProfiler.start()` are ignored in trace mode.');return}if(this._isRunning){z.X&&J.fF.warn("[Profiling] Profile session is already running, `uiProfiler.start()` is a no-op.");return}if(!this._sessionSampled){z.X&&J.fF.warn("[Profiling] Session is not sampled, `uiProfiler.start()` is a no-op.");return}this._beginProfiling()}stop(){if("trace"===this._lifecycleMode){z.X&&J.fF.warn('[Profiling] `profileLifecycle` is set to "trace". Calls to `uiProfiler.stop()` are ignored in trace mode.');return}if(!this._isRunning){z.X&&J.fF.warn("[Profiling] Profiler is not running, `uiProfiler.stop()` is a no-op.");return}this._endProfiling()}notifyRootSpanActive(e){if("trace"!==this._lifecycleMode||!this._sessionSampled)return;let t=e.spanContext().spanId;if(!t||this._activeRootSpanIds.has(t))return;this._registerTraceRootSpan(t);let n=this._activeRootSpanIds.size;1===n&&(z.X&&J.fF.log("[Profiling] Detected already active root span during setup. Active root spans now:",n),this._beginProfiling())}_beginProfiling(){if(!this._isRunning){if(this._isRunning=!0,z.X&&J.fF.log("[Profiling] Started profiling with profiler ID:",this._profilerId),(0,I.lW)().setContext("profile",{profiler_id:this._profilerId}),this._startProfilerInstance(),!this._profiler){z.X&&J.fF.log("[Profiling] Failed to start JS Profiler; stopping."),this._resetProfilerInfo();return}this._startPeriodicChunking()}}_endProfiling(){this._isRunning&&(this._isRunning=!1,this._chunkTimer&&(clearTimeout(this._chunkTimer),this._chunkTimer=void 0),this._clearAllRootSpanTimeouts(),this._collectCurrentChunk().catch(e=>{z.X&&J.fF.error("[Profiling] Failed to collect current profile chunk on `stop()`:",e)}),"manual"===this._lifecycleMode&&(0,I.lW)().setContext("profile",{}))}_setupTraceLifecycleListeners(e){e.on("spanStart",e=>{if(!this._sessionSampled){z.X&&J.fF.log("[Profiling] Span not profiled because of negative sampling decision for user session.");return}if(e!==(0,S.Gx)(e))return;if(!e.isRecording()){z.X&&J.fF.log("[Profiling] Discarding profile because root span was not sampled.");return}let t=e.spanContext().spanId;if(!t||this._activeRootSpanIds.has(t))return;this._registerTraceRootSpan(t);let n=this._activeRootSpanIds.size;1===n&&(z.X&&J.fF.log(`[Profiling] Root span ${t} started. Profiling active while there are active root spans (count=${n}).`),this._beginProfiling())}),e.on("spanEnd",e=>{if(!this._sessionSampled)return;let t=e.spanContext().spanId;if(!t||!this._activeRootSpanIds.has(t))return;this._activeRootSpanIds.delete(t);let n=this._activeRootSpanIds.size;z.X&&J.fF.log(`[Profiling] Root span with ID ${t} ended. Will continue profiling for as long as there are active root spans (currently: ${n}).`),0===n&&(this._collectCurrentChunk().catch(e=>{z.X&&J.fF.error("[Profiling] Failed to collect current profile chunk on last `spanEnd`:",e)}),this._endProfiling())})}_resetProfilerInfo(){this._isRunning=!1,(0,I.lW)().setContext("profile",{})}
1_clearAllRootSpanTimeouts(){this._rootSpanTimeouts.forEach(e=>clearTimeout(e)),this._rootSpanTimeouts.clear()}_registerTraceRootSpan(e){this._activeRootSpanIds.add(e);let t=setTimeout(()=>this._onRootSpanTimeout(e),3e5);this._rootSpanTimeouts.set(e,t)}_startProfilerInstance(){if(this._profiler?.stopped===!1)return;let e=te();if(!e){z.X&&J.fF.log("[Profiling] Failed to start JS Profiler.");return}this._profiler=e}_startPeriodicChunking(){this._isRunning&&(this._chunkTimer=setTimeout(()=>{if(this._collectCurrentChunk().catch(e=>{z.X&&J.fF.error("[Profiling] Failed to collect current profile chunk during periodic chunking:",e)}),this._isRunning){if(this._startProfilerInstance(),!this._profiler){this._resetProfilerInfo();return}this._startPeriodicChunking()}},6e4))}_onRootSpanTimeout(e){this._rootSpanTimeouts.has(e)&&(this._rootSpanTimeouts.delete(e),this._activeRootSpanIds.has(e)&&(z.X&&J.fF.log(`[Profiling] Reached 5-minute timeout for root span ${e}. You likely started a manual root span that never called \`.end()\`.`),this._activeRootSpanIds.delete(e),0===this._activeRootSpanIds.size&&this._endProfiling()))}async _collectCurrentChunk(){let e=this._profiler;if(this._profiler=void 0,e)try{let t=await e.stop(),n=function(e,t,n){if(null==e)throw TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${e} instead.`);let r=function(e){let t=[];for(let n=0;n<e.frames.length;n++){let r=e.frames[n];r&&(t[n]={function:r.name,abs_path:"number"==typeof r.resourceId?e.resources[r.resourceId]:void 0,lineno:r.line,colno:r.column})}let n=[];for(let t=0;t<e.stacks.length;t++){let r=e.stacks[t];if(!r)continue;let i=[],o=r;for(;o;)i.push(o.frameId),o=void 0===o.parentId?void 0:e.stacks[o.parentId];n[t]=i}let r=(0,eN.Z1)(),i="number"==typeof performance.timeOrigin?performance.timeOrigin:r||0,o=i-(r||i),a=[];for(let t=0;t<e.samples.length;t++){let n=e.samples[t];if(!n)continue;let r=(i+(n.timestamp-o))/1e3;a[t]={stack_id:n.stackId??0,thread_id:eK,timestamp:r}}return{frames:t,stacks:n,samples:a,thread_metadata:{[eK]:{name:eQ}}}}(e),i=t.getOptions(),o=t.getSdkMetadata?.()?.sdk;return{chunk_id:(0,eg.DM)(),client_sdk:{name:o?.name??"sentry.javascript.browser",version:o?.version??"0.0.0"},profiler_id:n||(0,eg.DM)(),platform:"javascript",version:"2",release:i.release??"",environment:i.environment??"production",debug_meta:{images:e6(e.resources)},profile:r}}(t,this._client,this._profilerId),r=function(e){try{if(!e||"object"!=typeof e)return{reason:"chunk is not an object"};let t=e=>"string"==typeof e&&/^[a-f0-9]{32}$/.test(e);if(!t(e.profiler_id))return{reason:"missing or invalid profiler_id"};if(!t(e.chunk_id))return{reason:"missing or invalid chunk_id"};if(!e.client_sdk)return{reason:"missing client_sdk metadata"};let n=e.profile;if(!n)return{reason:"missing profile data"};if(!Array.isArray(n.frames)||!n.frames.length)return{reason:"profile has no frames"};if(!Array.isArray(n.stacks)||!n.stacks.length)return{reason:"profile has no stacks"};if(!Array.isArray(n.samples)||!n.samples.length)return{reason:"profile has no samples"};return{valid:!0}}catch(e){return{reason:`unknown validation error: ${e}`}}}(n);if("reason"in r){z.X&&J.fF.log("[Profiling] Discarding invalid profile chunk (this is probably a bug in the SDK):",r.reason);return}this._sendProfileChunk(n),z.X&&J.fF.log("[Profiling] Collected browser profile chunk.")}catch(e){z.X&&J.fF.log("[Profiling] Error while stopping JS Profiler for chunk:",e)}}_sendProfileChunk(e){let t=this._client,n=(0,eJ.HY)(t.getSdkMetadata?.()),r=t.getDsn(),i=t.getOptions().tunnel,o=(0,eJ.Jd)({event_id:(0,eg.DM)(),sent_at:new Date().toISOString(),...n&&{sdk:n},...!!i&&r&&{dsn:(0,to.RA)(r)}},[[{type:"profile_chunk",platform:"javascript"},e]]);t.sendEnvelope(o).then(null,e=>{z.X&&J.fF.error("Error while sending profile chunk envelope:",e)})}}let ts=(0,f._I)(()=>({name:"BrowserProfiling",setup(e){let t=e.getOptions(),n=new ta;if(tn(t)||t.profileLifecycle||(t.profileLifecycle="manual"),tn(t)&&!t.profilesSampleRate){z.X&&J.fF.log("[Profiling] Profiling disabled, no profiling options found.");return}let r=(0,S.HN)(),i=r&&(0,S.Gx)(r);if(tn(t)&&void 0!==t.profileSessionSampleRate&&z.X&&J.fF.warn("[Profiling] Both legacy profiling (`profilesSampleRate`) and UI profiling settings are defined. `profileSessionSampleRate` has no effect when legacy profiling is enabled."),tn(t))i&&e7(i)&&tt(i)&&ti(i),e.on("spanStart",e=>{e===(0,S.Gx)(e)&&tt(e)&&ti(e)}),e.on("beforeEnvelope",e=>{if(!tr.size)return;let t=function(e){let t=[];return(0,eJ.gv)(e,(e,n)=>{if("transaction"===n)for(let n=1;n<e.length;n++){let r=e[n];
1r?.contexts?.profile?.profile_id&&t.push(e[n])}}),t}(e);if(!t.length)return;let n=[];for(let e of t){var r,i,o,a;let t=e?.contexts,s=t?.profile?.profile_id,l=t?.profile?.start_timestamp;if("string"!=typeof s||!s){z.X&&J.fF.log("[Profiling] cannot find profile for a span without a profile context");continue}t?.profile&&delete t.profile;let u=function(e){let t=tr.get(e);return t&&tr.delete(e),t}(s);if(!u){z.X&&J.fF.log(`[Profiling] Could not retrieve profile for span: ${s}`);continue}let c=(r=s,i=l,o=u,a=e,(o.samples.length<2?(z.X&&J.fF.log("[Profiling] Discarding profile because it contains less than 2 samples"),1):!o.frames.length&&(z.X&&J.fF.log("[Profiling] Discarding profile because it contains no frames"),1))?null:function(e,t,n,r){if("transaction"!==r.type)throw TypeError("Profiling events may only be attached to transactions, this should never occur.");if(null==n)throw TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${n} instead.`);let i=function(e){let t=e.contexts?.trace?.trace_id;return("string"==typeof t&&32!==t.length&&z.X&&J.fF.log(`[Profiling] Invalid traceId: ${t} on profiled event`),"string"!=typeof t)?"":t}(r),o="thread_metadata"in n?n:function(e){let t;let n=0,r={samples:[],stacks:[],frames:[],thread_metadata:{[eK]:{name:eQ}}},i=e.samples[0];if(!i)return r;let o=i.timestamp,a=(0,eN.Z1)(),s="number"==typeof performance.timeOrigin?performance.timeOrigin:a||0,l=s-(a||s);return e.samples.forEach((i,a)=>{if(void 0===i.stackId){void 0===t&&(t=n,r.stacks[t]=[],n++),r.samples[a]={elapsed_since_start_ns:((i.timestamp+l-o)*1e6).toFixed(0),stack_id:t,thread_id:eK};return}let s=e.stacks[i.stackId],u=[];for(;s;){u.push(s.frameId);let t=e.frames[s.frameId];t&&void 0===r.frames[s.frameId]&&(r.frames[s.frameId]={function:t.name,abs_path:"number"==typeof t.resourceId?e.resources[t.resourceId]:void 0,lineno:t.line,colno:t.column}),s=void 0===s.parentId?void 0:e.stacks[s.parentId]}let c={elapsed_since_start_ns:((i.timestamp+l-o)*1e6).toFixed(0),stack_id:n,thread_id:eK};r.stacks[n]=u,r.samples[a]=c,n++}),r}(n),a=t||("number"==typeof r.start_timestamp?1e3*r.start_timestamp:1e3*(0,eN.ph)()),s="number"==typeof r.timestamp?1e3*r.timestamp:1e3*(0,eN.ph)();return{event_id:e,timestamp:new Date(a).toISOString(),platform:"javascript",version:"1",release:r.release||"",environment:r.environment||eG.J,runtime:{name:"javascript",version:j.m9.navigator.userAgent},os:{name:eY,version:e0,build_number:e9},device:{locale:e4,model:e3,manufacturer:e9,architecture:e1,is_emulator:!1},debug_meta:{images:e6(n.resources)},profile:o,transactions:[{name:r.transaction||"",id:r.event_id||(0,eg.DM)(),trace_id:i,active_thread_id:eK,relative_start_ns:"0",relative_end_ns:((s-a)*1e6).toFixed(0)}]}}(r,i,o,a));c&&n.push(c)}!function(e,t){if(t.length)for(let n of t)e[1].push([{type:"profile"},n])}(e,n)});else{let r=t.profileLifecycle;if(e.on("startUIProfiler",()=>n.start()),e.on("stopUIProfiler",()=>n.stop()),"manual"===r)n.initialize(e);else if("trace"===r){if(!(0,ej.f)(t)){z.X&&J.fF.warn("[Profiling] `profileLifecycle` is 'trace' but tracing is disabled. Set a `tracesSampleRate` or `tracesSampler` to enable span tracing.");return}n.initialize(e),i&&n.notifyRootSpanActive(i),j.m9.setTimeout(()=>{let e=(0,S.HN)(),t=e&&(0,S.Gx)(e);t&&n.notifyRootSpanActive(t)},0)}}},processEvent:e=>(e?.contexts?.profile&&e.contexts&&(e.contexts.trace?.trace_id&&(e.contexts.trace={...e.contexts.trace,data:{...e.contexts.trace.data??{},"thread.id":eK,"thread.name":eQ}}),e.spans?.forEach(e=>{e.data={...e.data||{},"thread.id":eK,"thread.name":eQ}})),e)}));var tl=n(69026);let tu=(0,f._I)((e={})=>{let t=e.sidecarUrl||"http://localhost:8969/stream";return{name:"SpotlightBrowser",setup:()=>{z.X&&J.fF.log("Using Sidecar URL",t)},processEvent:e=>"transaction"===e.type&&e.spans&&e.contexts?.trace&&"ui.action.click"===e.contexts.trace.op&&e.spans.some(({description:e})=>e?.includes("#sentry-spotlight"))?null:e,afterAllSetup:e=>{!function(e,t){let n=(0,tl.L2)("fetch"),r=0;e.on("beforeEnvelope",e=>{if(r>3){J.fF.warn("[Spotlight] Disabled Sentry -> Spotlight integration due to too many failed requests:",r);return}n(t,{method:"POST",body:(0,eJ.V$)(e),headers:{"Content-Type":"application/x-sentry-envelope"},mode:"cors"}).then(e=>{e.status>=200&&e.status<400&&(r=0)},e=>
1{r++,J.fF.error("Sentry SDK can't connect to Sidecar is it running? See: https://spotlightjs.com/sidecar/npx/",e)})})}(e,t)}}});var tc=n(9604),tf=n(95748);let td=(0,f._I)(()=>({name:"LaunchDarkly",processEvent:(e,t,n)=>(0,tf.Ah)(e)}));function tp(){return{name:"sentry-flag-auditor",type:"flag-used",synchronous:!0,method:(e,t,n)=>{(0,tf.HD)(e,t.value),(0,tf.EM)(e,t.value)}}}let th=(0,f._I)(()=>({name:"OpenFeature",processEvent:(e,t,n)=>(0,tf.Ah)(e)}));class tg{after(e,t){(0,tf.HD)(t.flagKey,t.value),(0,tf.EM)(t.flagKey,t.value)}error(e,t,n){(0,tf.HD)(e.flagKey,e.defaultValue),(0,tf.EM)(e.flagKey,e.defaultValue)}}var tm=n(46682);let ty=(0,f._I)(({featureFlagClientClass:e})=>({name:"Unleash",setupOnce(){let t=e.prototype;(0,tm.hl)(t,"isEnabled",tv)},processEvent:(e,t,n)=>(0,tf.Ah)(e)}));function tv(e){return function(...t){let n=t[0],r=e.apply(this,t);return"string"==typeof n&&"boolean"==typeof r?((0,tf.HD)(n,r),(0,tf.EM)(n,r)):z.X&&J.fF.error(`[Feature Flags] UnleashClient.isEnabled does not match expected signature. arg0: ${n} (${typeof n}), result: ${r} (${typeof r})`),r}}var t_=n(21333);let tb=({growthbookClass:e})=>(0,t_.X)({growthbookClass:e}),tk=(0,f._I)(({featureFlagClient:e})=>({name:"Statsig",setup(t){e.on("gate_evaluation",e=>{(0,tf.HD)(e.gate.name,e.gate.value),(0,tf.EM)(e.gate.name,e.gate.value)})}
1,processEvent:(e,t,n)=>(0,tf.Ah)(e)}));var tw=n(69647);let tP=(0,f._I)(({worker:e})=>({name:"WebWorker",setupOnce:()=>{(Array.isArray(e)?e:[e]).forEach(e=>tS(e))},addWorker:e=>tS(e)}));function tS(e){e.addEventListener("message",e=>{if(function(e){if(!(0,eE.PO)(e)||!0!==e._sentryMessage)return!1;let t="_sentryDebugIds"in e,n="_sentryModuleMetadata"in e,r="_sentryWorkerError"in e,i="_sentryWasmImages"in e;return!!((t||n||r||i)&&(!t||(0,eE.PO)(e._sentryDebugIds)||void 0===e._sentryDebugIds)&&(!n||(0,eE.PO)(e._sentryModuleMetadata)||void 0===e._sentryModuleMetadata)&&(!r||(0,eE.PO)(e._sentryWorkerError))&&(!i||Array.isArray(e._sentryWasmImages)&&e._sentryWasmImages.every(e=>(0,eE.PO)(e)&&"string"==typeof e.code_file)))}(e.data)){if(e.stopImmediatePropagation(),e.data._sentryDebugIds&&(z.X&&J.fF.log("Sentry debugId web worker message received",e.data),j.m9._sentryDebugIds={...e.data._sentryDebugIds,...j.m9._sentryDebugIds}),e.data._sentryModuleMetadata&&(z.X&&J.fF.log("Sentry module metadata web worker message received",e.data),j.m9._sentryModuleMetadata={...e.data._sentryModuleMetadata,...j.m9._sentryModuleMetadata}),e.data._sentryWasmImages){z.X&&J.fF.log("Sentry WASM images web worker message received",e.data);let t=j.m9._sentryWasmImages||[],n=e.data._sentryWasmImages.filter(e=>(0,eE.PO)(e)&&"string"==typeof e.code_file&&!t.some(t=>t.code_file===e.code_file));j.m9._sentryWasmImages=[...t,...n]}e.data._sentryWorkerError&&(z.X&&J.fF.log("Sentry worker rejection message received",e.data._sentryWorkerError),function(e){let t=(0,I.s3)();if(!t)return;let n=t.getOptions().stackParser,r=t.getOptions().attachStacktrace,i=e.reason,o=(0,eE.pt)(i)?(0,en.ge)(i):(0,Q.ME)(n,i,void 0,r,!0);o.level="error",e.filename&&(o.contexts={...o.contexts,worker:{filename:e.filename}}),(0,c.eN)(o,{originalException:i,mechanism:{handled:!1,type:"auto.browser.web_worker.onunhandledrejection"}}),z.X&&J.fF.log("Captured worker unhandled rejection",i)}(e.data._sentryWorkerError))}})}function tI({self:e}){e.postMessage({_sentryMessage:!0,_sentryDebugIds:e._sentryDebugIds??void 0,_sentryModuleMetadata:e._sentryModuleMetadata??void 0}),e.addEventListener("unhandledrejection",t=>{let n={reason:(0,en.YO)(t),filename:e.location?.href};e.postMessage({_sentryMessage:!0,_sentryWorkerError:n}),z.X&&J.fF.log("[Sentry Worker] Forwarding unhandled rejection to parent",n)}),z.X&&J.fF.log("[Sentry Worker] Registered worker with unhandled rejection handling")}},80307:function(e,t,n){n.d(t,{f:function(){return b}});var r=n(40945),i=n(99761),o=n(62713),a=n(90429),s=n(88600),l=n(51269),u=n(73743),c=n(40653),f=n(37680),d=n(73184),p=n(97795),h=n(66915),g=n(3369),m=n(34969),y=n(93128),v=n(43714),_=n(46328);let b=(0,o._I)((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&(0,r.e)(function(t){if((0,a.s3)()!==e)return;let n={category:"console",data:{arguments:t.args,logger:"console"},level:(0,f.V)(t.level),message:(0,d.nK)(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${(0,d.nK)(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}(0,s.n)(n,{input:t.args,level:t.level})}),t.dom&&(0,g.O)((n=t.dom,function(t){let r,i;if((0,a.s3)()!==e)return;let o="object"==typeof n?n.serializeAttribute:void 0,l="object"==typeof n&&"number"==typeof n.maxStringLength?n.maxStringLength:void 0;l&&l>1024&&(v.X&&u.fF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${l} was configured. Sentry will use 1024 instead.`),l=1024),"string"==typeof o&&(o=[o]);try{let e=t.event,n=e&&e.target?e.target:e;r=(0,c.Rt)(n,{keyAttrs:o,maxStringLength:l}),i=(0,c.iY)(n)}catch{r="<unknown>"}if(0===r.length)return;let f={category:`ui.${t.name}`,message:r};i&&(f.data={"ui.component_name":i}),(0,s.n)(f,{event:t.event,name:t.name,global:t.global})})),t.xhr&&(0,m.UK)(function(t){if((0,a.s3)()!==e)return;let{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[m.xU];if(!n||!r||!i)return;let{method:o,url:l,status_code:u,body:c}=i,f={xhr:t.xhr,input:c,startTimestamp:n,endTimestamp:r},d={category:"xhr",data:{method:o,url:l,status_code:u},type:"http",level:(0,p.B)(u)};e.emit("beforeOutgoingRequestBreadcrumb",d,f),(0,s.n)(d,f)}),t.fetch&&(0,i.Uf)(function(t){if((0,a.s3)()!==e)return;let{startTimestamp:n,endTimestamp:r}=t;
1if(!(!r||t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method)){if(t.fetchData.method,t.fetchData.url,t.error){let i=t.fetchData,o={data:t.error,input:t.args,startTimestamp:n,endTimestamp:r},a={category:"fetch",data:i,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",a,o),(0,s.n)(a,o)}else{let i=t.response,o={...t.fetchData,status_code:i?.status};t.fetchData.request_body_size,t.fetchData.response_body_size,i?.status;let a={input:t.args,response:i,startTimestamp:n,endTimestamp:r},l={category:"fetch",data:o,type:"http",level:(0,p.B)(o.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",l,a),(0,s.n)(l,a)}}}),t.history&&(0,y.a)(function(t){if((0,a.s3)()!==e)return;let n=t.from,r=t.to,i=(0,h.en)(_.m9.location.href),o=n?(0,h.en)(n):void 0,l=(0,h.en)(r);o?.path||(o=i),i.protocol===l.protocol&&i.host===l.host&&(r=l.relative),i.protocol===o.protocol&&i.host===o.host&&(n=o.relative),(0,s.n)({category:"navigation",data:{from:n,to:r}})}),t.sentry&&e.on("beforeSendEvent",function(t){(0,a.s3)()===e&&(0,s.n)({category:`sentry.${"transaction"===t.type?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:(0,l.jH)(t)},{event:t})})}}})},65454:function(e,t,n){n.d(t,{t:function(){return l}});var r=n(46682),i=n(62713),o=n(98007),a=n(46328);let s=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],l=(0,i._I)((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,r.hl)(a.m9,"setTimeout",u),t.setInterval&&(0,r.hl)(a.m9,"setInterval",u),t.requestAnimationFrame&&(0,r.hl)(a.m9,"requestAnimationFrame",c),t.XMLHttpRequest&&"XMLHttpRequest"in a.m9&&(0,r.hl)(XMLHttpRequest.prototype,"send",f);let e=t.eventTarget;e&&(Array.isArray(e)?e:s).forEach(e=>(function(e,t){let n=a.m9,i=n[e]?.prototype;i?.hasOwnProperty?.("addEventListener")&&((0,r.hl)(i,"addEventListener",function(n){return function(r,i,s){try{"function"==typeof i.handleEvent&&(i.handleEvent=(0,a.re)(i.handleEvent,{mechanism:{data:{handler:(0,o.$P)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&this&&"object"==typeof this&&"removeEventListener"in this&&"function"==typeof this.removeEventListener&&this.removeEventListener(r,i),n.apply(this,[r,(0,a.re)(i,{mechanism:{data:{handler:(0,o.$P)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),s])}}),(0,r.hl)(i,"removeEventListener",function(e){return function(t,n,r){try{let i=n.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch{}return e.call(this,t,n,r)}}))})(e,t))}}});function u(e){return function(...t){let n=t[0];return t[0]=(0,a.re)(n,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,o.$P)(e)}`}}),e.apply(this,t)}}function c(e){return function(t){return e.apply(this,[(0,a.re)(t,{mechanism:{data:{handler:(0,o.$P)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function f(e){return function(...t){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in n&&"function"==typeof n[e]&&(0,r.hl)(n,e,function(t){let n={mechanism:{data:{handler:(0,o.$P)(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},i=(0,r.HK)(t);return i&&(n.mechanism.data.handler=(0,o.$P)(i)),(0,a.re)(t,n)})}),e.apply(this,t)}}},24798:function(e,t,n){n.d(t,{O:function(){return c}});var r=n(62713),i=n(73743),o=n(98542),a=n(90429),s=n(93128),l=n(43714),u=n(46328);let c=(0,r._I)((e={})=>{let t=e.lifecycle??"route";return{name:"BrowserSession",setupOnce(){if(void 0===u.m9.document){l.X&&i.fF.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,o.yj)({ignoreDuration:!0}),(0,o.cg)();let e=(0,a.aF)(),n=e.getUser();e.addScopeListener(e=>{let t=e.getUser();
1(n?.id!==t?.id||n?.ip_address!==t?.ip_address)&&((0,o.cg)(),n=t)}),"route"===t&&(0,s.a)(({from:e,to:t})=>{e!==t&&((0,o.yj)({ignoreDuration:!0}),(0,o.cg)())})}}})},9604:function(e,t,n){n.d(t,{A:function(){return o}});var r=n(62713),i=n(46328);let o=(0,r._I)(()=>({name:"CultureContext",preprocessEvent(e){let t=function(){try{let e=i.m9.Intl;if(!e)return;let t=e.DateTimeFormat().resolvedOptions();return{locale:t.locale,timezone:t.timeZone,calendar:t.calendar}}catch{return}}();t&&(e.contexts={...e.contexts,culture:{...t,...e.contexts?.culture}})}}))},7270:function(e,t,n){n.d(t,{YO:function(){return y},ge:function(){return v},ks:function(){return m}});var r=n(62713),i=n(7954),o=n(90429),a=n(98542),s=n(68442),l=n(91974),u=n(40653),c=n(98007),f=n(73743),d=n(66915),p=n(43714),h=n(34408),g=n(46328);let m=(0,r._I)((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&((0,i.V)(t=>{let{stackParser:n,attachStacktrace:r}=b();if((0,o.s3)()!==e||(0,g.Wz)())return;let{msg:i,url:s,line:f,column:p,error:m}=t,y=function(e,t,n,r){let i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},f=s.frames=s.frames||[],p=((0,l.HD)(t)&&0!==t.length?t.startsWith("data:")?`<${(0,d.t4)(t,!1)}>`:t:void 0)??(0,u.l4)();return 0===f.length&&f.push({colno:r,filename:p,function:c.Fi,in_app:!0,lineno:n}),e}((0,h.ME)(n,m||i,void 0,r,!1),s,f,p);y.level="error",(0,a.eN)(y,{originalException:m,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),_("onerror")),t.onunhandledrejection&&((0,s.h)(t=>{let{stackParser:n,attachStacktrace:r}=b();if((0,o.s3)()!==e||(0,g.Wz)())return;let i=y(t),s=(0,l.pt)(i)?v(i):(0,h.ME)(n,i,void 0,r,!0);s.level="error",(0,a.eN)(s,{originalException:i,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),_("onunhandledrejection"))}}});function y(e){if((0,l.pt)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function v(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function _(e){p.X&&f.fF.log(`Global Handler attached: ${e}`)}function b(){let e=(0,o.s3)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}},50941:function(e,t,n){n.d(t,{s:function(){return o}});var r=n(62713),i=n(46328);let o=(0,r._I)(()=>({name:"HttpContext",preprocessEvent(e){if(!i.m9.navigator&&!i.m9.location&&!i.m9.document)return;let t=(0,i.PJ)(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}}))},27061:function(e,t,n){n.d(t,{O:function(){return a}});var r=n(36181),i=n(62713),o=n(34408);let a=(0,i._I)((e={})=>{let t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,i,a){let s=a.getOptions();(0,r.Z)(o.GJ,s.stackParser,n,t,e,i)}}})},1357:function(e,t,n){n.d(t,{j:function(){return u}});var r=n(73743),i=n(90429),o=n(98542),a=n(75079),s=n(43714),l=n(46328);function u(e={}){let t=l.m9.document,n=t?.head||t?.body;if(!n){s.X&&r.fF.error("[showReportDialog] Global document not defined");return}let u=(0,i.nZ)(),c=(0,i.s3)(),f=c?.getDsn();if(!f){s.X&&r.fF.error("[showReportDialog] DSN not configured");return}let d={...e,user:{...u.getUser(),...e.user},eventId:e.eventId||(0,o.eW)()},p=l.m9.document.createElement("script");p.async=!0,p.crossOrigin="anonymous",p.src=(0,a.h)(f,d);let{onLoad:h,onClose:g}=d;if(h&&(p.onload=h),g){let e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{g()}finally{l.m9.removeEventListener("message",e)}};l.m9.addEventListener("message",e)}n.appendChild(p)}},13498:function(e,t,n){n.d(t,{Eg:function(){return P},S1:function(){return w},lA:function(){return S},nV:function(){return k}});var r=n(74129),i=n(24630),o=n(325),a=n(19295),s=n(98007),l=n(62713),u=n(85170),c=n(84255),f=n(80307),d=n(65454),p=n(24798),h=n(9604),g=n(7270),m=n(50941),y=n(27061),v=n(35790),_=n(49722),b=n(92489);function k(e){return[(0,r.S)(),(0,i.C)(),(0,o.d)(),(0,d.t)(),(0,f.f)(),(0,g.ks)(),(0,y.O)(),(0,a.R)(),(0,m.s)(),(0,h.A)(),(0,p.O)()]}function w(e={}){let t=!e.skipBrowserExtensionCheck&&(0,b.g)(),n=null==e.defaultIntegrations?k():e.defaultIntegrations,r={...e,enabled:!t&&e.enabled,stackParser:(0,s.Sq)(e.stackParser||v.Dt),integrations:(0,l.m8)({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||_.f};return(0,u.M)(c.R,r)}function P(){}function S(e){e()}}}]);

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.