PageSourceSearch

https://www.gazin.com.br/_next/static/chunks/main-f54637260bec5e5a.js

js gazin.com.br collected 2026-09-24 18:03:39 UTC 424,593 bytes, 20 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8792],{48:(e,t,r)=>{"use strict";let n,i,o,a,s,l,u,c,d,f,p,h,m,g,_,y,v,b,S,E;r.r(t),r.d(t,{onRouterTransitionStart:()=>sH});var w,T=r(77628),R=r(56011),P=r(10051);function x(e,t,r=[t],n="npm"){let i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:r.map(e=>({name:`${n}:@sentry/${e}`,version:P.M})),version:P.M}),e._metadata=i}var O=r(18334),k=r(41419);let I=[];function C(e,t){for(let r of t)r?.afterAllSetup&&r.afterAllSetup(e)}function A(e,t,r){if(r[t.name]){k.T&&R.Yz.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,I.includes(t.name)||"function"!=typeof t.setupOnce||(t.setupOnce(),I.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,n)=>r(t,n,e))}if("function"==typeof t.processEvent){let r=t.processEvent.bind(t),n=Object.assign((t,n)=>r(t,n,e),{id:t.name});e.addEventProcessor(n)}k.T&&R.Yz.log(`Integration installed: ${t.name}`)}function M(e){let t=[];e.message&&t.push(e.message);try{let r=e.exception.values[e.exception.values.length-1];r?.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`))}catch{}return t}var N=r(98093),D=r(76076);let j=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/];function L(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:j],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function U(e){try{let t=[...e.exception?.values??[]].reverse().find(e=>e.mechanism?.parent_id===void 0&&e.stacktrace?.frames?.length),r=t?.stacktrace?.frames;return r?function(e=[]){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r&&"<anonymous>"!==r.filename&&"[native code]"!==r.filename)return r.filename||null}return null}(r):null}catch{return k.T&&R.Yz.error(`Cannot extract url for event ${(0,N.$X)(e)}`),null}}var z=r(92797),F=r(71830);let $=new WeakMap;var B=r(57510),H=r(83380);function Y(e,t){let r=(0,H.RV)(e),n=(0,H.RV)(t);if(!r&&!n)return!0;if(r&&!n||!r&&n||n.length!==r.length)return!1;for(let e=0;e<n.length;e++){let t=n[e],i=r[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function W(e,t){let r=e.fingerprint,n=t.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;try{return r.join("")===n.join("")}catch{return!1}}function q(e){return e.exception?.values?.[0]}var G=r(18760),X=r(38087),K=r(63442),J=r(46925),V=r(8708);function Q(e,t=[]){return[e,t]}function Z(e,t){for(let r of e[1]){let e=r[0].type;if(t(r,e))return!0}return!1}function ee(e){let t=(0,J.Se)(T.O);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}let et={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item",metric:"metric",trace_metric:"metric"};function er(e){if(!e?.sdk)return;let{name:t,version:r}=e.sdk;return{name:t,version:r}}function en(e,t,r,n){let i=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!r&&n&&{dsn:(0,K.SB)(n)},...i&&{trace:i}}}function ei(e){R.Yz.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`)}function eo(e,t){if(!t?.length||!e.description)return!1;for(let n of t){var r;
1if("string"==typeof(r=n)||r instanceof RegExp){if((0,D._c)(e.description,n))return k.T&&ei(e),!0;continue}if(!n.name&&!n.op)continue;let t=!n.name||(0,D._c)(e.description,n.name),i=!n.op||e.op&&(0,D._c)(e.op,n.op);if(t&&i)return k.T&&ei(e),!0}return!1}var ea=r(15806);function es(e,t=!1){let r={};for(let[n,i]of Object.entries(e??{})){let e=function(e,t){let{value:r,unit:n}="object"==typeof e&&null!=e&&!Array.isArray(e)&&Object.keys(e).includes("value")?e:{value:e,unit:void 0},i=function(e){let t="string"==typeof e?"string":"boolean"==typeof e?"boolean":"number"!=typeof e||Number.isNaN(e)?null:Number.isInteger(e)?"integer":"double";if(t)return{value:e,type:t}}(r),o=n&&"string"==typeof n?{unit:n}:{};if(i)return{...i,...o};if(!t||"skip-undefined"===t&&void 0===r)return;let a="";try{a=JSON.stringify(r)??""}catch{}return{value:a,type:"string",...o}}(i,t);e&&(r[n]=e)}return r}var el=r(50045),eu=r(57855),ec=r(82172),ed=r(9344);let ef={trace:1,debug:5,info:9,warn:13,error:17,fatal:21};function ep(e,t,r,n=!0){r&&(!e[t]||n)&&(e[t]=r)}function eh(e,t){var r;let n=e_(),i=(r=e,e_().get(r));void 0===i?n.set(e,[t]):i.length>=100?(eg(e,i),n.set(e,[t])):n.set(e,[...i,t])}function em(e,t=(0,z.o5)(),r=eh){let n=t?.getClient()??(0,z.KU)();if(!n){k.T&&R.Yz.warn("No client available to capture log.");return}let{release:i,environment:o,enableLogs:a=!1,beforeSendLog:s}=n.getOptions();if(!a){k.T&&R.Yz.warn("logging option not enabled, log will not be captured.");return}let[,l]=t?(0,z.v4)(t,()=>{let e=(0,ea.Bk)(),r=e?(0,ea.kX)(e):(0,z.vn)(t);return[e?(0,X.k1)(e):(0,X.ao)(n,t),r]}):[void 0,void 0],u={...e.attributes},{user:{id:c,email:d,username:f},attributes:p={}}=(0,eu.Om)((0,z.rm)(),t);ep(u,"user.id",c,!1),ep(u,"user.email",d,!1),ep(u,"user.name",f,!1),ep(u,"sentry.release",i),ep(u,"sentry.environment",o);let{name:h,version:m}=n.getSdkMetadata()?.sdk??{};ep(u,"sentry.sdk.name",h),ep(u,"sentry.sdk.version",m);let g=n.getIntegrationByName("Replay"),_=g?.getReplayId(!0);ep(u,"sentry.replay_id",_),_&&g?.getRecordingMode()==="buffer"&&ep(u,"sentry._internal.replay_is_buffering",!0);let y=e.message;if((0,el.NF)(y)){let{__sentry_template_string__:e,__sentry_template_values__:t=[]}=y;t?.length&&(u["sentry.message.template"]=e),t.forEach((e,t)=>{u[`sentry.message.parameter.${t}`]=e})}let v=(0,ec.f)(t);ep(u,"sentry.trace.parent_span_id",v?.spanContext().spanId);let b={...e,attributes:u};n.emit("beforeCaptureLog",b);let S=s?(0,R.pq)(()=>s(b)):b;if(!S){n.recordDroppedEvent("before_send","log_item",1),k.T&&R.Yz.warn("beforeSendLog returned null, log will not be captured.");return}let{level:E,message:w,attributes:T={},severityNumber:P}=S;r(n,{timestamp:(0,ed.zf)(),level:E,body:w,trace_id:l?.trace_id,severity_number:P??ef[E],attributes:{...es(p),...es(T,!0)}}),n.emit("afterCaptureLog",S)}function eg(e,t){var r;let n=t??(r=e,e_().get(r))??[];if(0===n.length)return;let i=e.getOptions(),o=function(e,t,r,n){let i={};return t?.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),r&&n&&(i.dsn=(0,K.SB)(n)),Q(i,[[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]])}(n,i._metadata,i.tunnel,e.getDsn());e_().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(o)}function e_(){return(0,J.BY)("clientToLogBufferMap",()=>new WeakMap)}function ey(e,t){var r;let n=t??(r=e,ev().get(r))??[];if(0===n.length)return;let i=e.getOptions(),o=function(e,t,r,n){let i={};return t?.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),r&&n&&(i.dsn=(0,K.SB)(n)),Q(i,[[{type:"trace_metric",item_count:e.length,content_type:"application/vnd.sentry.items.trace-metric+json"},{items:e}]])}(n,i._metadata,i.tunnel,e.getDsn());ev().set(e,[]),e.emit("flushMetrics"),e.sendEnvelope(o)}function ev(){return(0,J.BY)("clientToMetricBufferMap",()=>new WeakMap)}var eb=r(61293),eS=r(60963);let eE=Symbol.for("SentryBufferFullError");function ew(e=100){let t=new Set;return{get $(){return Array.from(t)},add:function(r){if(!(t.size<e))return(0,eS.xg)(eE);let n=r();return t.add(n),n.then(()=>{t.delete(n)},()=>{t.delete(n)}),n},drain:function(e){if(!t.size)return(0,eS.XW)(!0);let r=Promise.allSettled(Array.from(t)).then(()=>!0);return e?Promise.race([r,new Promise(t=>setTimeout(()=>t(!1),e))]):r}}}var eT=r(58934);function eR(e,t,r=(0,eT.Wk)()){return(e[t]||e.all||0)>r}function eP(e,{statusCode:t,headers:r},n=(0,eT.Wk)()){let i={...e},o=r?.["x-sentry-rate-limits"],a=r?.["retry-after"];if(o)for(let e of o.trim().split(",")){let[t,r,,,o]=e.split(":",5),a=parseInt(t,10),s=(isNaN(a)?60:a)*1e3;if(r)for(let e of r.split(";"))"metric_bucket"===e?(!o||o.split(";").includes("custom"))&&(i[e]=n+s):i[e]=n+s;else i.all=n+s}else a?i.all=n+function(e,t=(0,eT.Wk)()){let r=parseInt(`${e}`,10);if(!isNaN(r))return 1e3*r;let n=Date.parse(`${e}`);return isNaN(n)?6e4:n-t}(a,n):429===t&&(i.all=n+6e4);return i}
1var ex=r(55095),eO=r(25372),ek=r(83515);let eI="Not capturing exception because it's already been captured.",eC="Discarded session because of missing or non-string release",eA=Symbol.for("SentryInternalError"),eM=Symbol.for("SentryDoNotSendEventError");function eN(e){return{message:e,[eA]:!0}}function eD(e){return{message:e,[eM]:!0}}function ej(e){return!!e&&"object"==typeof e&&eA in e}function eL(e){return!!e&&"object"==typeof e&&eM in e}function eU(e,t,r,n,i){let o,a=0,s=!1;e.on(r,()=>{a=0,clearTimeout(o),s=!1}),e.on(t,t=>{(a+=n(t))>=8e5?i(e):s||(s=!0,o=setTimeout(()=>{i(e)},5e3))}),e.on("flush",()=>{i(e)})}class ez{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],this._promiseBuffer=ew(e.transportOptions?.bufferSize??64),e.dsn?this._dsn=(0,K.AD)(e.dsn):k.T&&R.Yz.warn("No DSN provided, client will not send events."),this._dsn){let t=function(e,t,r){return t||`${function(e){let t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}(e)}${e.projectId}/envelope/?${function(e,t){let r={sentry_version:"7"};return e.publicKey&&(r.sentry_key=e.publicKey),t&&(r.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(r).toString()}(e,r)}`}(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}this._options.enableLogs=this._options.enableLogs??this._options._experiments?.enableLogs,this._options.enableLogs&&eU(this,"afterCaptureLog","flushLogs",eY,eg),(this._options.enableMetrics??this._options._experiments?.enableMetrics??!0)&&eU(this,"afterCaptureMetric","flushMetrics",eH,ey)}captureException(e,t,r){let n=(0,N.eJ)();if((0,N.GR)(e))return k.T&&R.Yz.log(eI),n;let i={event_id:n,...t};return this._process(()=>this.eventFromException(e,i).then(e=>this._captureEvent(e,i,r)).then(e=>e),"error"),i.event_id}captureMessage(e,t,r,n){let i={event_id:(0,N.eJ)(),...r},o=(0,el.NF)(e)?e:String(e),a=(0,el.sO)(e),s=a?this.eventFromMessage(o,t,i):this.eventFromException(e,i);return this._process(()=>s.then(e=>this._captureEvent(e,i,n)),a?"unknown":"error"),i.event_id}captureEvent(e,t,r){let n=(0,N.eJ)();if(t?.originalException&&(0,N.GR)(t.originalException))return k.T&&R.Yz.log(eI),n;let i={event_id:n,...t},o=e.sdkProcessingMetadata||{},a=o.capturedSpanScope,s=o.capturedSpanIsolationScope,l=eF(e.type);return this._process(()=>this._captureEvent(e,i,a||r,s),l),i.event_id}captureSession(e){this.sendSession(e),(0,eb.qO)(e,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(e){let t=this._transport;if(!t)return!0;this.emit("flush");let r=await this._isClientDoneProcessing(e),n=await t.flush(e);return r&&n}async close(e){let t=await this.flush(e);return this.getOptions().enabled=!1,this.emit("close"),t}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){(this._isEnabled()||this._options.integrations.some(({name:e})=>e.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];A(this,e,this._integrations),t||C(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let r=function(e,t,r,n){let i=er(r),o=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){if(!t)return;let r=e.sdk||{};e.sdk={...r,name:r.name||t.name,version:r.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0}}(e,r?.sdk);let a=en(e,i,n,t);return delete e.sdkProcessingMetadata,Q(a,[[{type:o},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])r=function(e,t){let[r,n]=e;return[r,[...n,t]]}(r,function(e){let t="string"==typeof e.data?ee(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}(e));this.sendEnvelope(r).then(t=>
1this.emit("afterSendEvent",e,t))}sendSession(e){let{release:t,environment:r=G.U}=this._options;if("aggregates"in e){let n=e.attrs||{};if(!n.release&&!t){k.T&&R.Yz.warn(eC);return}n.release=n.release||t,n.environment=n.environment||r,e.attrs=n}else{if(!e.release&&!t){k.T&&R.Yz.warn(eC);return}e.release=e.release||t,e.environment=e.environment||r}this.emit("beforeSendSession",e);let n=function(e,t,r,n){let i=er(r);return Q({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!n&&t&&{dsn:(0,K.SB)(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(n)}recordDroppedEvent(e,t,r=1){if(this._options.sendClientReports){let n=`${e}:${t}`;k.T&&R.Yz.log(`Recording outcome: "${n}"${r>1?` (${r} times)`:""}`),this._outcomes[n]=(this._outcomes[n]||0)+r}}on(e,t){let r=this._hooks[e]=this._hooks[e]||new Set,n=(...e)=>t(...e);return r.add(n),()=>{r.delete(n)}}emit(e,...t){let r=this._hooks[e];r&&r.forEach(e=>e(...t))}async sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)try{return await this._transport.send(e)}catch(e){return k.T&&R.Yz.error("Error while sending envelope:",e),{}}return k.T&&R.Yz.error("Transport disabled"),{}}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,t){let r={};return t.forEach(t=>{t&&A(e,t,r)}),r}(this,e),C(this,e)}_updateSessionFromEvent(e,t){let r="fatal"===t.level,n=!1,i=t.exception?.values;if(i){for(let e of(n=!0,r=!1,i))if(e.mechanism?.handled===!1){r=!0;break}}let o="ok"===e.status;(o&&0===e.errors||o&&r)&&((0,eb.qO)(e,{...r&&{status:"crashed"},errors:e.errors||Number(n||r)}),this.captureSession(e))}async _isClientDoneProcessing(e){let t=0;for(;!e||t<e;){if(await new Promise(e=>setTimeout(e,1)),!this._numProcessing)return!0;t++}return!1}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,r,n){let i=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o?.length&&(t.integrations=o),this.emit("preprocessEvent",e,t),e.type||n.setLastEventId(e.event_id||t.event_id),(0,ek.mG)(i,e,t,r,this,n).then(e=>
1(null===e||(this.emit("postprocessEvent",e,t),e.contexts={trace:(0,z.vn)(r),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,X.ao)(this,r),...e.sdkProcessingMetadata}),e))}_captureEvent(e,t={},r=(0,z.o5)(),n=(0,z.rm)()){return k.T&&e$(e)&&R.Yz.log(`Captured error event \`${M(e)[0]||"<unknown>"}\``),this._processEvent(e,t,r,n).then(e=>e.event_id,e=>{k.T&&(eL(e)?R.Yz.log(e.message):ej(e)?R.Yz.warn(e.message):R.Yz.warn(e))})}_processEvent(e,t,r,n){let i=this.getOptions(),{sampleRate:o}=i,a=eB(e),s=e$(e),l=e.type||"error",u=`before send for type \`${l}\``,c=void 0===o?void 0:(0,eO.i)(o);if(s&&"number"==typeof c&&(0,eT.hY)()>c)return this.recordDroppedEvent("sample_rate","error"),(0,eS.xg)(eD(`Discarding event because it's not included in the random sample (sampling rate = ${o})`));let d=eF(e.type);return this._prepareEvent(e,t,r,n).then(e=>{if(null===e)throw this.recordDroppedEvent("event_processor",d),eD("An event processor returned `null`, will not send event.");return t.data&&!0===t.data.__sentry__?e:function(e,t){let r=`${t} must return \`null\` or a valid event.`;if((0,el.Qg)(e))return e.then(e=>{if(!(0,el.Qd)(e)&&null!==e)throw eN(r);return e},e=>{throw eN(`${t} rejected with ${e}`)});if(!(0,el.Qd)(e)&&null!==e)throw eN(r);return e}(function(e,t,r,n){let{beforeSend:i,beforeSendTransaction:o,beforeSendSpan:a,ignoreSpans:s}=t,l=r;if(e$(l)&&i)return i(l,n);if(eB(l)){if(a||s){let t=function(e){let{trace_id:t,parent_span_id:r,span_id:n,status:i,origin:o,data:a,op:s}=e.contexts?.trace??{};return{data:a??{},description:e.transaction,op:s,parent_span_id:r,span_id:n??"",start_timestamp:e.start_timestamp??0,status:i,timestamp:e.timestamp,trace_id:t??"",origin:o,profile_id:a?.[B.E1],exclusive_time:a?.[B.jG],measurements:e.measurements,is_segment:!0}}(l);if(s?.length&&eo(t,s))return null;if(a){let e=a(t);if(e)l=(0,ex.h)(r,{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[B.E1]:e.profile_id},...e.exclusive_time&&{[B.jG]:e.exclusive_time}}}},measurements:e.measurements});else(0,ea.xl)()}if(l.spans){let t=[],r=l.spans;for(let e of r){if(s?.length&&eo(e,s)){let t=e.parent_span_id,n=e.span_id;if(t)for(let e of r)e.parent_span_id===n&&(e.parent_span_id=t);continue}if(a){let r=a(e);r?t.push(r):((0,ea.xl)(),t.push(e))}else t.push(e)}let n=l.spans.length-t.length;n&&e.recordDroppedEvent("before_send","span",n),l.spans=t}}if(o){if(l.spans){let e=l.spans.length;l.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:e}}return o(l,n)}}return l}(this,i,e,t),u)}).then(i=>{if(null===i){if(this.recordDroppedEvent("before_send",d),a){let t=1+(e.spans||[]).length;this.recordDroppedEvent("before_send","span",t)}throw eD(`${u} returned \`null\`, will not send event.`)}let o=r.getSession()||n.getSession();if(s&&o&&this._updateSessionFromEvent(o,i),a){let e=(i.sdkProcessingMetadata?.spanCountBeforeProcessing||0)-(i.spans?i.spans.length:0);e>0&&this.recordDroppedEvent("before_send","span",e)}let l=i.transaction_info;return a&&l&&i.transaction!==e.transaction&&(i.transaction_info={...l,source:"custom"}),this.sendEvent(i,t),i}).then(null,e=>{if(eL(e)||ej(e))throw e;throw this.captureException(e,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:e}),eN(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
2Reason: ${e}`)})}_process(e,t){this._numProcessing++,this._promiseBuffer.add(e).then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e===eE&&this.recordDroppedEvent("queue_overflow",t),e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.entries(e).map(([e,t])=>{let[r,n]=e.split(":");return{reason:r,category:n,quantity:t}})}_flushOutcomes(){var e;k.T&&R.Yz.log("Flushing outcomes...");let t=this._clearOutcomes();if(0===t.length){k.T&&R.Yz.log("No outcomes to send");return}if(!this._dsn){k.T&&R.Yz.log("No dsn provided, will not send outcomes");return}k.T&&R.Yz.log("Sending outcomes:",t);let r=Q((e=this._options.tunnel&&(0,K.SB)(this._dsn))?{dsn:e}:{},[[{type:"client_report"},{timestamp:(0,ed.lu)(),discarded_events:t}]]);this.sendEnvelope(r)}}function eF(e){return"replay_event"===e?"replay":e||"error"}function e$(e){return void 0===e.type}function eB(e){return"transaction"===e.type}function eH(e){let t=0;return e.name&&(t+=2*e.name.length),(t+=8)+eW(e.attributes)}function eY(e){let t=0;return e.message&&(t+=2*e.message.length),t+eW(e.attributes)}function eW(e){if(!e)return 0;let t=0;
2return Object.values(e).forEach(e=>{Array.isArray(e)?t+=e.length*eq(e[0]):(0,el.sO)(e)?t+=eq(e):t+=100}),t}function eq(e){return"string"==typeof e?2*e.length:"number"==typeof e?8:4*("boolean"==typeof e)}function eG(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):void 0===e.ipAddress&&(e.ipAddress="{{auto}}")}function eX(e){return(0,el.bJ)(e)&&"__sentry_fetch_url_host__"in e&&"string"==typeof e.__sentry_fetch_url_host__?`${e.message} (${e.__sentry_fetch_url_host__})`:e.message}function eK(e,t){let r=eV(e,t),n={type:function(e){let t=e?.name;return!t&&eZ(e)?e.message&&Array.isArray(e.message)&&2==e.message.length?e.message[0]:"WebAssembly.Exception":t}(t),value:function(e){let t=e?.message;return eZ(e)?Array.isArray(e.message)&&2==e.message.length?e.message[1]:"wasm exception":t?t.error&&"string"==typeof t.error.message?eX(t.error):eX(e):"No error message"}(t)};return r.length&&(n.stacktrace={frames:r}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function eJ(e,t){return{exception:{values:[eK(e,t)]}}}function eV(e,t){var r,n;let i=t.stacktrace||t.stack||"",o=(r=t)&&eQ.test(r.message)?1:0,a="number"==typeof(n=t).framesToPop?n.framesToPop:0;try{return e(i,o,a)}catch{}return[]}let eQ=/Minified React error #\d+;/i;function eZ(e){return"undefined"!=typeof WebAssembly&&void 0!==WebAssembly.Exception&&e instanceof WebAssembly.Exception}function e0(e,t,r,n,i){let o;if((0,el.T2)(t)&&t.error)return eJ(e,t.error);if((0,el.BD)(t)||(0,el.W6)(t)){if("stack"in t)o=eJ(e,t);else{let i=t.name||((0,el.BD)(t)?"DOMError":"DOMException"),a=t.message?`${i}: ${t.message}`:i;o=e1(e,a,r,n),(0,N.gO)(o,a)}return"code"in t&&(o.tags={...o.tags,"DOMException.code":`${t.code}`}),o}return(0,el.bJ)(t)?eJ(e,t):((0,el.Qd)(t)||(0,el.xH)(t)?o=function(e,t,r,n){let i=(0,z.KU)(),o=i?.getOptions().normalizeDepth,a=function(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let r=e[t];if(r instanceof Error)return r}}(t),s={__serialized__:(0,V.cd)(t,o)};if(a)return{exception:{values:[eK(e,a)]},extra:s};let l={exception:{values:[{type:(0,el.xH)(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:t}){let r=(0,F.HF)(e),n=t?"promise rejection":"exception";if((0,el.T2)(e))return`Event \`ErrorEvent\` captured as ${n} with message \`${e.message}\``;if((0,el.xH)(e)){let t=function(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}(e);return`Event \`${t}\` (type=${e.type}) captured as ${n}`}return`Object captured as ${n} with keys: ${r}`}(t,{isUnhandledRejection:n})}]},extra:s};if(r){let t=eV(e,r);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,r,i):(o=e1(e,t,r,n),(0,N.gO)(o,`${t}`,void 0)),(0,N.M6)(o,{synthetic:!0}),o)}function e1(e,t,r,n){let i={};if(n&&r){let n=eV(e,r);n.length&&(i.exception={values:[{value:t,stacktrace:{frames:n}}]}),(0,N.M6)(i,{synthetic:!0})}if((0,el.NF)(t)){let{__sentry_template_string__:e,__sentry_template_values__:r}=t;return i.logentry={message:e,params:r},i}return i.message=t,i}var e2=r(69311);let e3=T.O,e5=0;function e4(e,t={}){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t)if("function"==typeof t)return t;else return e;if((0,F.sp)(e))return e}catch{return e}let r=function(...r){try{let n=r.map(e=>e4(e,t));return e.apply(this,n)}catch(e){throw e5++,setTimeout(()=>{e5--}),(0,z.v4)(n=>{n.addEventProcessor(e=>(t.mechanism&&((0,N.gO)(e,void 0,void 0),(0,N.M6)(e,t.mechanism)),e.extra={...e.extra,arguments:r},e)),(0,O.Cp)(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch{}(0,F.pO)(r,e),(0,F.my)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch{}return r}function e8(){let e=(0,e2.$N)(),{referrer:t}=e3.document||{},{userAgent:r}=e3.navigator||{};return{url:e,headers:{...t&&{Referer:t},...r&&{"User-Agent":r}}}}class e6 extends ez{constructor(e){var t;let r=(t=e,{release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:e3.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...t});x(r,"browser",["browser"],e3.SENTRY_SDK_SOURCE||"npm"),r._metadata?.sdk&&(r._metadata.sdk.settings={infer_ip:r.sendDefaultPii?"auto":"never",...r._metadata.sdk.settings}),super(r);let{sendDefaultPii:n,sendClientReports:i,enableLogs:o,_experiments:a,enableMetrics:s}=this._options,l=s??a?.enableMetrics??!0;e3.document&&(i||o||l)&&e3.document.addEventListener("visibilitychange",()=>{"hidden"===e3.document.visibilityState&&(i&&this._flushOutcomes(),o&&eg(this),l&&ey(this))}),n&&this.on("beforeSendSession",eG)}eventFromException(e,t){return function(e,t,r,n){let i=e0(e,t,r?.syntheticException||void 0,n);return(0,N.M6)(i),i.level="error",r?.event_id&&(i.event_id=r.event_id),(0,eS.XW)(i)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",r){return function(e,t,r="info",n,i){let o=e1(e,t,n?.syntheticException||void 0,i);return o.level=r,n?.event_id&&(o.event_id=n.event_id),(0,eS.XW)(o)}(this._options.stackParser,e,t,r,this._options.attachStacktrace)}_prepareEvent(e,t,r,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,r,n)}}let e7={},e9={};function te(e,t){e7[e]=e7[e]||[],e7[e].push(t)}function tt(e,t){if(!e9[e]){e9[e]=!0;try{t()}catch(t){k.T&&R.Yz.error(`Error while instrumenting ${e}`,t)}}}function tr(e,t){let r=e&&e7[e];if(r)for(let n of r)try{n(t)}catch(t){k.T&&R.Yz.error(`Error while triggering instrumentation handler.
3Type: ${e}
4Name: ${(0,H.qQ)(n)}
5Error:`,t)}}function tn(e){let t="console";te(t,e),tt(t,ti)}
5function ti(){"console"in T.O&&R.Ow.forEach(function(e){e in T.O.console&&(0,F.GS)(T.O.console,e,function(t){return R.Z9[e]=t,function(...t){tr("console",{args:t,level:e});let r=R.Z9[e];r?.apply(T.O.console,t)}})})}let to=T.O;function ta(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function ts(){if("string"==typeof EdgeRuntime)return!0;if(!function(){if(!("fetch"in to))return!1;try{return new Headers,new Request("data:,"),new Response,!0}catch{return!1}}())return!1;if(ta(to.fetch))return!0;let e=!1,t=to.document;if(t&&"function"==typeof t.createElement)try{let r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow?.fetch&&(e=ta(r.contentWindow.fetch)),t.head.removeChild(r)}catch(e){k.T&&R.Yz.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}function tl(e,t){let r="fetch";te(r,e),tt(r,()=>tu(void 0,t))}function tu(e,t=!1){(!t||ts())&&(0,F.GS)(T.O,"fetch",function(t){return function(...r){let n=Error(),{method:i,url:o}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,r]=e;return{url:tp(t),method:tf(r,"method")?String(r.method).toUpperCase():(0,el.ks)(t)&&tf(t,"method")?String(t.method).toUpperCase():"GET"}}let t=e[0];return{url:tp(t),method:tf(t,"method")?String(t.method).toUpperCase():"GET"}}(r),a={args:r,fetchData:{method:i,url:o},startTimestamp:1e3*(0,ed.zf)(),virtualError:n,headers:function(e){let[t,r]=e;try{if("object"==typeof r&&null!==r&&"headers"in r&&r.headers)return new Headers(r.headers);if((0,el.ks)(t))return new Headers(t.headers)}catch{}}(r)};return e||tr("fetch",{...a}),t.apply(T.O,r).then(async t=>(e?e(t):tr("fetch",{...a,endTimestamp:1e3*(0,ed.zf)(),response:t}),t),e=>{tr("fetch",{...a,endTimestamp:1e3*(0,ed.zf)(),error:e}),(0,el.bJ)(e)&&void 0===e.stack&&(e.stack=n.stack,(0,F.my)(e,"framesToPop",1));let t=(0,z.KU)(),r=t?.getOptions().enhanceFetchErrorMessages??"always";if(!1!==r&&e instanceof TypeError&&("Failed to fetch"===e.message||"Load failed"===e.message||"NetworkError when attempting to fetch resource."===e.message))try{let t=new URL(a.fetchData.url).host;"always"===r?e.message=`${e.message} (${t})`:(0,F.my)(e,"__sentry_fetch_url_host__",t)}catch{}throw e})}})}async function tc(e,t){if(e?.body){let r=e.body,n=r.getReader(),i=setTimeout(()=>{r.cancel().then(null,()=>{})},9e4),o=!0;for(;o;){let e;try{e=setTimeout(()=>{r.cancel().then(null,()=>{})},5e3);let{done:i}=await n.read();clearTimeout(e),i&&(t(),o=!1)}catch{o=!1}finally{clearTimeout(e)}}clearTimeout(i),n.releaseLock(),r.cancel().then(null,()=>{})}}function td(e){let t;try{t=e.clone()}catch{return}tc(t,()=>{tr("fetch-body-resolved",{endTimestamp:1e3*(0,ed.zf)(),response:e})})}function tf(e,t){return!!e&&"object"==typeof e&&!!e[t]}function tp(e){return"string"==typeof e?e:e?tf(e,"url")?e.url:e.toString?e.toString():"":""}function th(e,t){let r=(0,z.KU)(),n=(0,z.rm)();if(!r)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:o=100}=r.getOptions();if(o<=0)return;let a={timestamp:(0,ed.lu)(),...e},s=i?(0,R.pq)(()=>i(a,t)):a;null!==s&&(r.emit&&r.emit("beforeAddBreadcrumb",s,t),n.addBreadcrumb(s,o))}function tm(e){return"warn"===e?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}function tg(e){if(void 0!==e)return e>=400&&e<500?"warning":e>=500?"error":void 0}function t_(e){return"isRelative"in e}function ty(e,t){let r=0>=e.indexOf("://")&&0!==e.indexOf("//"),n=t??(r?"thismessage:/":void 0);try{if("canParse"in URL&&!URL.canParse(e,n))return;let t=new URL(e,n);if(r)return{isRelative:r,pathname:t.pathname,search:t.search,hash:t.hash};return t}catch{}}function tv(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let r=t[6]||"",n=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:n,relative:t[5]+r+n}}function tb(e){return e.split(/[?#]/,1)[0]}function tS(e,t=!0){if(e.startsWith("data:")){let r=e.match(/^data:([^;,]+)/),n=r?r[1]:"text/plain",i=e.includes(";base64,"),o=e.indexOf(","),a="";if(t&&-1!==o){let t=e.slice(o+1);a=t.length>10?`${t.slice(0,10)}... [truncated]`:t}return`data:${n}${i?",base64":""}${a?`,${a}`:""}`}return e}let tE=T.O;function tw(e){te("dom",e),tt("dom",tT)}function tT(){if(!tE.document)return;let e=tr.bind(null,"dom"),t=tR(e,!0);tE.document.addEventListener("click",t,!1),tE.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let r=tE[t]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,F.GS)(r,"addEventListener",function(t){return function(r,n,i){if("click"===r||"keypress"==r)try{let n=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=n[r]=n[r]||{refCount:0};if(!o.handler){let n=tR(e);o.handler=n,t.call(this,r,n,i)}o.refCount++}catch{}return t.call(this,r,n,i)}}),(0,F.GS)(r,"removeEventListener",function(e){return function(t,r,n){if("click"===t||"keypress"==t)try{let r=this.__sentry_instrumentation_handlers__||{},i=r[t];i&&(i.refCount--,i.refCount<=0&&(e.call(this,t,i.handler,n),i.handler=void 0,delete r[t]),0===Object.keys(r).length&&delete this.__sentry_instrumentation_handlers__)}catch{}return e.call(this,t,r,n)}}))})}function tR(e,t=!1){return r=>{var n;if(!r||r._sentryCaptured)return;let s=function(e){try{return e.target}catch{return null}}(r);if(n=r.type,"keypress"===n&&(!s?.tagName||"INPUT"!==s.tagName&&"TEXTAREA"!==s.tagName&&!s.isContentEditable&&1))return;(0,F.my)(r,"_sentryCaptured",!0),s&&!s._sentryId&&(0,F.my)(s,"_sentryId",(0,N.eJ)());let l="keypress"===r.type?"input":r.type;!function(e){if(e.type!==o)return!1;try{if(!e.target||e.target._sentryId!==a)return!1}catch{}return!0}(r)&&(e({event:r,name:l,global:t}),o=r.type,a=s?s._sentryId:void 0),clearTimeout(i),i=tE.setTimeout(()=>{a=void 0,o=void 0},1e3)}}let tP="__sentry_xhr_v3__";function tx(e){te("xhr",e),tt("xhr",tO)}function tO(){if(!tE.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(e,t,r){let n=Error(),i=1e3*(0,ed.zf)(),o=(0,el.Kg)(r[0])?r[0].toUpperCase():void 0,a=function(e){if((0,el.Kg)(e))return e;try{return e.toString()}catch{}}(r[1]);if(!o||!a)return e.apply(t,r);t[tP]={method:o,url:a,request_headers:{}}
5,"POST"===o&&a.match(/sentry_key/)&&(t.__sentry_own_request__=!0);let s=()=>{let e=t[tP];if(e&&4===t.readyState){try{e.status_code=t.status}catch{}tr("xhr",{endTimestamp:1e3*(0,ed.zf)(),startTimestamp:i,xhr:t,virtualError:n})}};return"onreadystatechange"in t&&"function"==typeof t.onreadystatechange?t.onreadystatechange=new Proxy(t.onreadystatechange,{apply:(e,t,r)=>(s(),e.apply(t,r))}):t.addEventListener("readystatechange",s),t.setRequestHeader=new Proxy(t.setRequestHeader,{apply(e,t,r){let[n,i]=r,o=t[tP];return o&&(0,el.Kg)(n)&&(0,el.Kg)(i)&&(o.request_headers[n.toLowerCase()]=i),e.apply(t,r)}}),e.apply(t,r)}}),e.send=new Proxy(e.send,{apply(e,t,r){let n=t[tP];return n&&(void 0!==r[0]&&(n.body=r[0]),tr("xhr",{startTimestamp:1e3*(0,ed.zf)(),xhr:t})),e.apply(t,r)}})}function tk(e){let t="history";te(t,e),tt(t,tI)}function tI(){function e(e){return function(...t){let r=t.length>2?t[2]:void 0;if(r){let n=s,i=function(e){try{return new URL(e,tE.location.origin).toString()}catch{return e}}(String(r));if(s=i,n===i)return e.apply(this,t);tr("history",{from:n,to:i})}return e.apply(this,t)}}tE.addEventListener("popstate",()=>{let e=tE.location.href,t=s;s=e,t!==e&&tr("history",{from:t,to:e})}),"history"in to&&to.history&&((0,F.GS)(tE.history,"pushState",e),(0,F.GS)(tE.history,"replaceState",e))}let tC="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,tA=["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"];function tM(e){return function(...t){let r=t[0];return t[0]=e4(r,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${(0,H.qQ)(e)}`}}),e.apply(this,t)}}function tN(e){return function(t){return e.apply(this,[e4(t,{mechanism:{data:{handler:(0,H.qQ)(e)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function tD(e){return function(...t){let r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in r&&"function"==typeof r[e]&&(0,F.GS)(r,e,function(t){let r={mechanism:{data:{handler:(0,H.qQ)(t)},handled:!1,type:`auto.browser.browserapierrors.xhr.${e}`}},n=(0,F.sp)(t);return n&&(r.mechanism.data.handler=(0,H.qQ)(n)),e4(t,r)})}),e.apply(this,t)}}let tj=null;function tL(e){let t="error";te(t,e),tt(t,tU)}function tU(){tj=T.O.onerror,T.O.onerror=function(e,t,r,n,i){return tr("error",{column:n,error:i,line:r,msg:e,url:t}),!!tj&&tj.apply(this,arguments)},T.O.onerror.__SENTRY_INSTRUMENTED__=!0}let tz=null;function tF(e){let t="unhandledrejection";te(t,e),tt(t,t$)}function t$(){tz=T.O.onunhandledrejection,T.O.onunhandledrejection=function(e){return tr("unhandledrejection",e),!tz||tz.apply(this,arguments)},T.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function tB(e){tC&&R.Yz.log(`Global Handler attached: ${e}`)}function tH(){let e=(0,z.KU)();return e?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function tY(e){return Array.isArray(e.errors)}function tW(e,t,r){e.mechanism={handled:!0,type:"auto.core.linked_errors",...tY(r)&&{is_exception_group:!0},...e.mechanism,exception_id:t}}function tq(e,t,r,n){e.mechanism={handled:!0,...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}function tG(e,t,r,n){let i={filename:e,function:"<anonymous>"===t?H.yF:t,in_app:!0};return void 0!==r&&(i.lineno=r),void 0!==n&&(i.colno=n),i}let tX=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,tK=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,tJ=/\((\S*)(?::(\d+))(?::(\d+))\)/,tV=/at (.+?) ?\(data:(.+?),/,tQ=[30,e=>{let t=e.match(tV);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};let r=tX.exec(e);if(r){let[,e,t,n]=r;return tG(e,H.yF,+t,+n)}let n=tK.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){let e=tJ.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=t3(n[1]||H.yF,n[2]);return tG(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],tZ=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,t0=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,t1=[50,e=>{let t=tZ.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=t0.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],r=t[1]||H.yF;return[r,e]=t3(r,e),tG(e,r,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],t2=(0,H.gd)(tQ,t1),t3=(e,t)=>
5{let r=-1!==e.indexOf("safari-extension"),n=-1!==e.indexOf("safari-web-extension");return r||n?[-1!==e.indexOf("@")?e.split("@")[0]:H.yF,r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},t5="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,t4={};function t8(e){let t=t4[e];if(t)return t;let r=tE[e];if(ta(r))return t4[e]=r.bind(tE);let n=tE.document;if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t);let i=t.contentWindow;i?.[e]&&(r=i[e]),n.head.removeChild(t)}catch(t){t5&&R.Yz.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return r?t4[e]=r.bind(tE):r}function t6(...e){return t8("setTimeout")(...e)}function t7(e,t=t8("fetch")){let r=0,n=0;async function i(i){let o=i.body.length;r+=o,n++;let a={body:i.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:r<=6e4&&n<15,...e.fetchOptions};try{let r=await t(e.url,a);return{statusCode:r.status,headers:{"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")}}}catch(e){throw t4.fetch=void 0,e}finally{r-=o,n--}}return function(e,t,r=ew(e.bufferSize||64)){let n={};return{send:function(i){let o=[];if(Z(i,(t,r)=>{let i=et[r];eR(n,i)?e.recordDroppedEvent("ratelimit_backoff",i):o.push(t)}),0===o.length)return Promise.resolve({});let a=Q(i[0],o),s=t=>{var r;if(r=["client_report"],Z(a,(e,t)=>r.includes(t))){k.T&&R.Yz.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);return}Z(a,(r,n)=>{e.recordDroppedEvent(t,et[n])})};return r.add(()=>t({body:function(e){let[t,r]=e,n=JSON.stringify(t);function i(e){"string"==typeof n?n="string"==typeof e?n+e:[ee(n),e]:n.push("string"==typeof e?ee(e):e)}for(let e of r){let[t,r]=e;if(i(`
6${JSON.stringify(t)}
7`),"string"==typeof r||r instanceof Uint8Array)i(r);else{let e;try{e=JSON.stringify(r)}catch{e=JSON.stringify((0,V.S8)(r))}i(e)}}return"string"==typeof n?n:function(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),r=0;for(let n of e)t.set(n,r),r+=n.length;return t}(n)}(a)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&k.T&&R.Yz.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),n=eP(n,e),e),e=>{throw s("network_error"),k.T&&R.Yz.error("Encountered error running transport request:",e),e})).then(e=>e,e=>{if(e===eE)return k.T&&R.Yz.error("Skipped sending event because buffer is full."),s("queue_overflow"),Promise.resolve({});throw e})},flush:e=>r.drain(e)}}(e,i,ew(e.bufferSize||40))}function t9(e){let t;return[((e={})=>({...((e={})=>{let t;return{name:"EventFilters",setup(r){t=L(e,r.getOptions())},processEvent:(r,n,i)=>(t||(t=L(e,i.getOptions())),!function(e,t){if(e.type){if("transaction"===e.type&&function(e,t){if(!t?.length)return!1;let r=e.transaction;return!!r&&(0,D.Xr)(r,t)}(e,t.ignoreTransactions))return k.T&&R.Yz.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
8Event: ${(0,N.$X)(e)}`),!0}else{var r,n,i;if(r=e,n=t.ignoreErrors,n?.length&&M(r).some(e=>(0,D.Xr)(e,n)))return k.T&&R.Yz.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
9Event: ${(0,N.$X)(e)}`),!0;if(i=e,i.exception?.values?.length&&!i.message&&!i.exception.values.some(e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))return k.T&&R.Yz.warn(`Event dropped due to not having an error message, error type or stacktrace.
10Event: ${(0,N.$X)(e)}`),!0;if(function(e,t){if(!t?.length)return!1;let r=U(e);return!!r&&(0,D.Xr)(r,t)}(e,t.denyUrls))return k.T&&R.Yz.warn(`Event dropped due to being matched by \`denyUrls\` option.
11Event: ${(0,N.$X)(e)}.
12Url: ${U(e)}`),!0;if(!function(e,t){if(!t?.length)return!0;let r=U(e);return!r||(0,D.Xr)(r,t)}(e,t.allowUrls))return k.T&&R.Yz.warn(`Event dropped due to not being matched by \`allowUrls\` option.
13Event: ${(0,N.$X)(e)}.
14Url: ${U(e)}`),!0}return!1}(r,t)?r:null)}})(e),name:"InboundFilters"}))(),{name:"FunctionToString",setupOnce(){n=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=(0,F.sp)(this),r=$.has((0,z.KU)())&&void 0!==t?t:this;return n.apply(r,e)}}catch{}},setup(e){$.set(e,!0)}},{name:"ConversationId",setup(e){e.on("spanStart",e=>{let t=(0,z.o5)().getScopeData(),r=(0,z.rm)().getScopeData(),n=t.conversationId||r.conversationId;n&&e.setAttribute(B.Fy,n)})}},((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,F.GS)(e3,"setTimeout",tM),t.setInterval&&(0,F.GS)(e3,"setInterval",tM),t.requestAnimationFrame&&(0,F.GS)(e3,"requestAnimationFrame",tN),t.XMLHttpRequest&&"XMLHttpRequest"in e3&&(0,F.GS)(XMLHttpRequest.prototype,"send",tD);let e=t.eventTarget;
14e&&(Array.isArray(e)?e:tA).forEach(e=>(function(e,t){let r=e3[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&((0,F.GS)(r,"addEventListener",function(r){return function(n,i,o){var a,s,l,u;try{a=i,"function"==typeof a.handleEvent&&(i.handleEvent=e4(i.handleEvent,{mechanism:{data:{handler:(0,H.qQ)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return t.unregisterOriginalCallbacks&&(s=this,l=n,u=i,s&&"object"==typeof s&&"removeEventListener"in s&&"function"==typeof s.removeEventListener&&s.removeEventListener(l,u)),r.apply(this,[n,e4(i,{mechanism:{data:{handler:(0,H.qQ)(i),target:e},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),o])}}),(0,F.GS)(r,"removeEventListener",function(e){return function(t,r,n){try{let i=r.__sentry_wrapped__;i&&e.call(this,t,i,n)}catch{}return e.call(this,t,r,n)}}))})(e,t))}}})(),((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var r,n,i,o,a,s,l;t.console&&tn((r=e,function(e){if((0,z.KU)()!==r)return;let t={category:"console",data:{arguments:e.args,logger:"console"},level:tm(e.level),message:(0,D.gt)(e.args," ")};if("assert"===e.level)if(!1!==e.args[0])return;else t.message=`Assertion failed: ${(0,D.gt)(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1);th(t,{input:e.args,level:e.level})})),t.dom&&tw((n=e,i=t.dom,function(e){let t,r;if((0,z.KU)()!==n)return;let o="object"==typeof i?i.serializeAttribute:void 0,a="object"==typeof i&&"number"==typeof i.maxStringLength?i.maxStringLength:void 0;a&&a>1024&&(tC&&R.Yz.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{var s;let n=e.event,i=(s=n)&&s.target?n.target:n;t=(0,e2.Hd)(i,{keyAttrs:o,maxStringLength:a}),r=(0,e2.xE)(i)}catch{t="<unknown>"}if(0===t.length)return;let l={category:`ui.${e.name}`,message:t};r&&(l.data={"ui.component_name":r}),th(l,{event:e.event,name:e.name,global:e.global})})),t.xhr&&tx((o=e,function(e){if((0,z.KU)()!==o)return;let{startTimestamp:t,endTimestamp:r}=e,n=e.xhr[tP];if(!t||!r||!n)return;let{method:i,url:a,status_code:s,body:l}=n,u={xhr:e.xhr,input:l,startTimestamp:t,endTimestamp:r},c={category:"xhr",data:{method:i,url:a,status_code:s},type:"http",level:tg(s)};o.emit("beforeOutgoingRequestBreadcrumb",c,u),th(c,u)})),t.fetch&&tl((a=e,function(e){if((0,z.KU)()!==a)return;let{startTimestamp:t,endTimestamp:r}=e;if(r&&(!e.fetchData.url.match(/sentry_key/)||"POST"!==e.fetchData.method))if(e.fetchData.method,e.fetchData.url,e.error){let n=e.fetchData,i={data:e.error,input:e.args,startTimestamp:t,endTimestamp:r},o={category:"fetch",data:n,level:"error",type:"http"};a.emit("beforeOutgoingRequestBreadcrumb",o,i),th(o,i)}else{let n=e.response,i={...e.fetchData,status_code:n?.status};e.fetchData.request_body_size,e.fetchData.response_body_size,n?.status;let o={input:e.args,response:n,startTimestamp:t,endTimestamp:r},s={category:"fetch",data:i,type:"http",level:tg(i.status_code)};a.emit("beforeOutgoingRequestBreadcrumb",s,o),th(s,o)}})),t.history&&tk((s=e,function(e){if((0,z.KU)()!==s)return;let t=e.from,r=e.to,n=tv(e3.location.href),i=t?tv(t):void 0,o=tv(r);i?.path||(i=n),n.protocol===o.protocol&&n.host===o.host&&(r=o.relative),n.protocol===i.protocol&&n.host===i.host&&(t=i.relative),th({category:"navigation",data:{from:t,to:r}})})),t.sentry&&e.on("beforeSendEvent",(l=e,function(e){(0,z.KU)()===l&&th({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,N.$X)(e)},{event:e})}))}}})(),((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){var r,n;t.onerror&&(r=e,tL(e=>{let{stackParser:t,attachStacktrace:n}=tH();if((0,z.KU)()!==r||e5>0)return;let{msg:i,url:o,line:a,column:s,error:l}=e,u=function(e,t,r,n){let i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],u=function(e){if((0,el.Kg)(e)&&0!==e.length)return e.startsWith("data:")?`<${tS(e,!1)}>`:e}(t)??(0,e2.$N)();return 0===l.length&&l.push({colno:n,filename:u,function:H.yF,in_app:!0,lineno:r}),e}(e0(t,l||i,void 0,n,!1),o,a,s);u.level="error",(0,O.r)(u,{originalException:l,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})}),tB("onerror")),t.onunhandledrejection&&(n=e,tF(e=>{var t;let{stackParser:r,attachStacktrace:i}=tH();if((0,z.KU)()!==n||e5>0)return;let o=function(e){if((0,el.sO)(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}(e),a=(0,el.sO)(o)?(t=o,{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(t)}`}]}}):e0(r,o,void 0,i,!0);a.level="error",(0,O.r)(a,{originalException:o,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})}),tB("onunhandledrejection"))}}})(),((e={})=>{let t=e.limit||5,r=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,n,i){!function(e,t,r,n,i,o){if(!i.exception?.values||!o||!(0,el.tH)(o.originalException,Error))return;let a=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;a&&(i.exception.values=function e(t,r,n,i,o,a,s,l){if(a.length>=n+1)return a;let u=[...a];if((0,el.tH)(i[o],Error)){tW(s,l,i);let a=t(r,i[o]),c=u.length;tq(a,o,c,l),u=e(t,r,n,i[o],o,[a,...u],a,c)}
14return tY(i)&&i.errors.forEach((a,c)=>{if((0,el.tH)(a,Error)){tW(s,l,i);let d=t(r,a),f=u.length;tq(d,`errors[${c}]`,f,l),u=e(t,r,n,a,o,[d,...u],d,f)}}),u}(e,t,n,o.originalException,r,i.exception.values,a,0))}(eK,i.getOptions().stackParser,r,t,e,n)}}})(),{name:"Dedupe",processEvent(e){if(e.type)return e;try{var r,n;if(r=e,(n=t)&&(function(e,t){let r=e.message,n=t.message;return(!!r||!!n)&&(!r||!!n)&&(!!r||!n)&&r===n&&!!W(e,t)&&!!Y(e,t)&&!0}(r,n)||function(e,t){let r=q(t),n=q(e);return!!r&&!!n&&r.type===n.type&&r.value===n.value&&!!W(e,t)&&!!Y(e,t)}(r,n)))return k.T&&R.Yz.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return t=e}},{name:"HttpContext",preprocessEvent(e){if(!e3.navigator&&!e3.location&&!e3.document)return;let t=e8(),r={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:r}}},{name:"BrowserSession",setupOnce(){if(void 0===e3.document){tC&&R.Yz.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}(0,O.J0)({ignoreDuration:!0}),(0,O.J5)(),tk(({from:e,to:t})=>{void 0!==e&&e!==t&&((0,O.J0)({ignoreDuration:!0}),(0,O.J5)())})}}]}var re=r(14232),rt=r(77704),rr=r(99742),rn=r(95837),ri=r(42252);class ro{constructor(e={}){this._traceId=e.traceId||(0,ri.e)(),this._spanId=e.spanId||(0,ri.Z)()}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:ea.CC}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,r){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}function ra(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let r=e.attributes||{},n=r[B.Sn],i=r[B.xc];"string"==typeof n&&"number"==typeof i&&(t[e.name]={value:i,unit:n})}),t}var rs=r(24437);class rl{constructor(e={}){this._traceId=e.traceId||(0,ri.e)(),this._spanId=e.spanId||(0,ri.Z)(),this._startTime=e.startTimestamp||(0,ed.zf)(),this._links=e.links,this._attributes={},this.setAttributes({[B.JD]:"manual",[B.uT]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this._links?this._links.push(e):this._links=[e],this}addLinks(e){return this._links?this._links.push(...e):this._links=e,this}recordException(e,t){}spanContext(){let{_spanId:e,_traceId:t,_sampled:r}=this;return{spanId:e,traceId:t,traceFlags:r?ea.aO:ea.CC}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach(t=>this.setAttribute(t,e[t])),this}updateStartTime(e){this._startTime=(0,ea.cI)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this.setAttribute(B.i_,"custom"),this}end(e){this._endTime||(this._endTime=(0,ea.cI)(e),function(e){if(!k.T)return;let{description:t="< unknown name >",op:r="< unknown op >"}=(0,ea.et)(e),{spanId:n}=e.spanContext(),i=(0,ea.zU)(e)===e,o=`[Tracing] Finishing "${r}" ${i?"root ":""}span "${t}" with ID ${n}`;R.Yz.log(o)}(this),this._onSpanEnded())}getSpanJSON(){return{data:this._attributes,description:this._name,op:this._attributes[B.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,ea.yW)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[B.JD],profile_id:this._attributes[B.E1],exclusive_time:this._attributes[B.jG],measurements:ra(this._events),is_segment:this._isStandaloneSpan&&(0,ea.zU)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,ea.zU)(this).spanContext().spanId:void 0,links:(0,ea.uU)(this._links)}}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,r){k.T&&R.Yz.log("[Tracing] Adding an event to span:",e);let n=ru(t)?t:r||(0,ed.zf)(),i=ru(t)?{}:t||{},o={name:e,time:(0,ea.cI)(n),attributes:i};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=(0,z.KU)();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===(0,ea.zU)(this)))return;if(this._isStandaloneSpan)return void(this._sampled?function(e){let t=(0,z.KU)();if(!t)return;let r=e[1];if(!r||0===r.length)return t.recordDroppedEvent("before_send","span");t.sendEnvelope(e)}(function(e,t){let r=(0,X.k1)(e[0]),n=t?.getDsn(),i=t?.getOptions().tunnel,o={sent_at:new Date().toISOString(),...!!r.trace_id&&!!r.public_key&&{trace:r},...!!i&&n&&{dsn:(0,K.SB)(n)}},{beforeSendSpan:a,ignoreSpans:s}=t?.getOptions()||{},l=s?.length?e.filter(e=>!eo((0,ea.et)(e),s)):e,u=e.length-l.length;u&&t?.recordDroppedEvent("before_send","span",u);let c=a?e=>{let t=(0,ea.et)(e),r=a(t);return r||((0,ea.xl)(),t)}:ea.et,d=[];for(let e of l){let t=c(e);t&&d.push([{type:"span"},t])}return Q(o,d)}([this],e)):(k.T&&R.Yz.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));let t=this._convertSpanToTransaction();t&&((0,rs.L)(this).scope||(0,z.o5)()).captureEvent(t)}_convertSpanToTransaction(){if(!rc((0,ea.et)(this)))return;this._name||(k.T&&R.Yz.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:t}=(0,rs.L)(this),r=e?.getScopeData().sdkProcessingMetadata?.normalizedRequest;if(!0!==this._sampled)return;let n=(0,ea.xO)(this).filter(e=>{var t;return e!==this&&!((t=e)instanceof rl&&t.isStandaloneSpan())}).map(e=>(0,ea.et)(e)).filter(rc),i=this._attributes[B.i_];
14delete this._attributes[B.Le],n.forEach(e=>{delete e.data[B.Le]});let o={contexts:{trace:(0,ea.Ck)(this)},spans:n.length>1e3?n.sort((e,t)=>e.start_timestamp-t.start_timestamp).slice(0,1e3):n,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,dynamicSamplingContext:(0,X.k1)(this)},request:r,...i&&{transaction_info:{source:i}}},a=ra(this._events);return a&&Object.keys(a).length&&(k.T&&R.Yz.log("[Measurements] Adding measurements to transaction event",JSON.stringify(a,void 0,2)),o.measurements=a),o}}function ru(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function rc(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}var rd=r(19674),rf=r(39132);let rp="__SENTRY_SUPPRESS_TRACING__";function rh(e){let t=ry();if(t.startInactiveSpan)return t.startInactiveSpan(e);let r=r_(e),{forceTransaction:n,parentSpan:i}=e;return(e.scope?t=>(0,z.v4)(e.scope,t):void 0!==i?e=>rm(i,e):e=>e())(()=>{let t=(0,z.o5)(),o=rb(t,i);return e.onlyIfParent&&!o?new ro:rg({parentSpan:o,spanArguments:r,forceTransaction:n,scope:t})})}function rm(e,t){let r=ry();return r.withActiveSpan?r.withActiveSpan(e,t):(0,z.v4)(r=>((0,ec.r)(r,e||void 0),t(r)))}function rg({parentSpan:e,spanArguments:t,forceTransaction:r,scope:n}){let i;if(!(0,rn.f)()){let n=new ro;if(r||!e){let e={sampled:"false",sample_rate:"0",transaction:t.name,...(0,X.k1)(n)};(0,X.LZ)(n,e)}return n}let o=(0,z.rm)();if(e&&!r)i=function(e,t,r){let{spanId:n,traceId:i}=e.spanContext(),o=!t.getScopeData().sdkProcessingMetadata[rp]&&(0,ea.pK)(e),a=o?new rl({...r,parentSpanId:n,traceId:i,sampled:o}):new ro({traceId:i});(0,ea.Hu)(e,a);let s=(0,z.KU)();return s&&(s.emit("spanStart",a),r.endTimestamp&&s.emit("spanEnd",a)),a}(e,n,t),(0,ea.Hu)(e,i);else if(e){let r=(0,X.k1)(e),{traceId:o,spanId:a}=e.spanContext(),s=(0,ea.pK)(e);i=rv({traceId:o,parentSpanId:a,...t},n,s),(0,X.LZ)(i,r)}else{let{traceId:e,dsc:r,parentSpanId:a,sampled:s}={...o.getPropagationContext(),...n.getPropagationContext()};i=rv({traceId:e,parentSpanId:a,...t},n,s),r&&(0,X.LZ)(i,r)}return!function(e){if(!k.T)return;let{description:t="< unknown name >",op:r="< unknown op >",parent_span_id:n}=(0,ea.et)(e),{spanId:i}=e.spanContext(),o=(0,ea.pK)(e),a=(0,ea.zU)(e),s=a===e,l=`[Tracing] Starting ${o?"sampled":"unsampled"} ${s?"root ":""}span`,u=[`op: ${r}`,`name: ${t}`,`ID: ${i}`];if(n&&u.push(`parent ID: ${n}`),!s){let{op:e,description:t}=(0,ea.et)(a);u.push(`root ID: ${a.spanContext().spanId}`),e&&u.push(`root op: ${e}`),t&&u.push(`root description: ${t}`)}R.Yz.log(`${l}
15  ${u.join("\n  ")}`)}(i),(0,rs.d)(i,n,o),i}function r_(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let r={...t};return r.startTimestamp=(0,ea.cI)(e.startTime),delete r.startTime,r}return t}function ry(){let e=(0,J.EU)();return(0,rf.h)(e)}function rv(e,t,r){let n=(0,z.KU)(),i=n?.getOptions()||{},{name:o=""}=e,a={spanAttributes:{...e.attributes},spanName:o,parentSampled:r};n?.emit("beforeSampling",a,{decision:!1});let s=a.parentSampled??r,l=a.spanAttributes,u=t.getPropagationContext(),[c,d,f]=t.getScopeData().sdkProcessingMetadata[rp]?[!1]:function(e,t,r){let n,i;if(!(0,rn.f)(e))return[!1];"function"==typeof e.tracesSampler?(n=e.tracesSampler({...t,inheritOrSampleWith:e=>"number"==typeof t.parentSampleRate?t.parentSampleRate:"boolean"==typeof t.parentSampled?Number(t.parentSampled):e}),i=!0):void 0!==t.parentSampled?n=t.parentSampled:void 0!==e.tracesSampleRate&&(n=e.tracesSampleRate,i=!0);let o=(0,eO.i)(n);if(void 0===o)return k.T&&R.Yz.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(n)} of type ${JSON.stringify(typeof n)}.`),[!1];if(!o)return k.T&&R.Yz.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,o,i];let a=r<o;return!a&&k.T&&R.Yz.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),[a,o,i]}(i,{name:o,parentSampled:s,attributes:l,parentSampleRate:(0,eO.i)(u.dsc?.sample_rate)},u.sampleRand),p=new rl({...e,attributes:{[B.i_]:"custom",[B.sy]:void 0!==d&&f?d:void 0,...l},sampled:c});return!c&&n&&(k.T&&R.Yz.log("[Tracing] Discarding root span because its trace was not chosen to be sampled."),n.recordDroppedEvent("sample_rate","transaction")),n&&n.emit("spanStart",p),p}function rb(e,t){if(t)return t;if(null===t)return;let r=(0,ec.f)(e);if(!r)return;let n=(0,z.KU)();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,ea.zU)(r):r}let rS={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3};function rE(e,t={}){let r,n=new Map,i=!1,o="externalFinish",a=!t.disableAutoFinish,s=[],{idleTimeout:l=rS.idleTimeout,finalTimeout:u=rS.finalTimeout,childSpanTimeout:c=rS.childSpanTimeout,beforeSpanEnd:d,trimIdleSpanEndTimestamp:f=!0}=t,p=(0,z.KU)();if(!p||!(0,rn.f)()){let e=new ro,t={sample_rate:"0",sampled:"false",...(0,X.k1)(e)};return(0,X.LZ)(e,t),e}let h=(0,z.o5)(),m=(0,ea.Bk)(),g=function(e){let t=rh(e);return(0,ec.r)((0,z.o5)(),t),k.T&&R.Yz.log("[Tracing] Started span is an i
15dle span"),t}(e);function _(){r&&(clearTimeout(r),r=void 0)}function y(e){_(),r=setTimeout(()=>{!i&&0===n.size&&a&&(o="idleTimeout",g.end(e))},l)}function v(e){r=setTimeout(()=>{!i&&a&&(o="heartbeatFailed",g.end(e))},c)}function b(e){i=!0,n.clear(),s.forEach(e=>e()),(0,ec.r)(h,m);let t=(0,ea.et)(g),{start_timestamp:r}=t;if(!r)return;t.data[B.fs]||g.setAttribute(B.fs,o);let a=t.status;a&&"unknown"!==a||g.setStatus({code:rd.F3}),R.Yz.log(`[Tracing] Idle span "${t.op}" finished`);let c=(0,ea.xO)(g).filter(e=>e!==g),d=0;c.forEach(t=>{t.isRecording()&&(t.setStatus({code:rd.TJ,message:"cancelled"}),t.end(e),k.T&&R.Yz.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));let{timestamp:r=0,start_timestamp:n=0}=(0,ea.et)(t),i=n<=e,o=r-n<=(u+l)/1e3;if(k.T){let e=JSON.stringify(t,void 0,2);i?o||R.Yz.log("[Tracing] Discarding span since it finished after idle span final timeout",e):R.Yz.log("[Tracing] Discarding span since it happened after idle span was finished",e)}(!o||!i)&&((0,ea.VS)(g,t),d++)}),d>0&&g.setAttribute("sentry.idle_span_discarded_spans",d)}return g.end=new Proxy(g.end,{apply(e,t,r){if(d&&d(g),t instanceof ro)return;let[n,...i]=r,o=n||(0,ed.zf)(),a=(0,ea.cI)(o),s=(0,ea.xO)(g).filter(e=>e!==g),l=(0,ea.et)(g);if(!s.length||!f)return b(a),Reflect.apply(e,t,[a,...i]);let c=p.getOptions().ignoreSpans,h=s?.reduce((e,t)=>{let r=(0,ea.et)(t);return!r.timestamp||c&&eo(r,c)?e:e?Math.max(e,r.timestamp):r.timestamp},void 0),m=l.start_timestamp,_=Math.min(m?m+u/1e3:1/0,Math.max(m||-1/0,Math.min(a,h||1/0)));return b(_),Reflect.apply(e,t,[_,...i])}}),s.push(p.on("spanStart",e=>{var t;!(i||e===g||(0,ea.et)(e).timestamp||e instanceof rl&&e.isStandaloneSpan())&&(0,ea.xO)(g).includes(e)&&(t=e.spanContext().spanId,_(),n.set(t,!0),v((0,ed.zf)()+c/1e3))})),s.push(p.on("spanEnd",e=>{if(!i){var t;t=e.spanContext().spanId,n.has(t)&&n.delete(t),0===n.size&&y((0,ed.zf)()+l/1e3)}})),s.push(p.on("idleSpanEnableAutoFinish",e=>{e===g&&(a=!0,y(),n.size&&v())})),t.disableAutoFinish||y(),setTimeout(()=>{i||(g.setStatus({code:rd.TJ,message:"deadline_exceeded"}),o="finalTimeout",g.end())},u),g}let rw=!1;var rT=r(35033);let rR=(e,t,r,n)=>{let i,o;return a=>{t.value>=0&&(a||n)&&((o=t.value-(i??0))||void 0===i)&&(i=t.value,t.delta=o,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,r),e(t))}},rP=(e=!0)=>{let t=tE.performance?.getEntriesByType?.("navigation")[0];if(!e||t&&t.responseStart>0&&t.responseStart<performance.now())return t},rx=()=>{let e=rP();return e?.activationStart??0};function rO(e,t,r){tE.document&&tE.addEventListener(e,t,r)}function rk(e,t,r){tE.document&&tE.removeEventListener(e,t,r)}let rI=-1,rC=new Set,rA=e=>{if(("pagehide"===e.type||tE.document?.visibilityState==="hidden")&&rI>-1){if("visibilitychange"===e.type||"pagehide"===e.type)for(let e of rC)e();isFinite(rI)||(rI="visibilitychange"===e.type?e.timeStamp:0,rk("prerenderingchange",rA,!0))}},rM=()=>{if(tE.document&&rI<0){let e=rx();rI=(tE.document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").filter(t=>"hidden"===t.name&&t.startTime>e)[0]?.startTime)??(tE.document?.visibilityState!=="hidden"||tE.document?.prerendering?1/0:0),rO("visibilitychange",rA,!0),rO("pagehide",rA,!0),rO("prerenderingchange",rA,!0)}return{get firstHiddenTime(){return rI},onHidden(e){rC.add(e)}}},rN=(e,t=-1)=>{let r=rP(),n="navigate";return r&&(tE.document?.prerendering||rx()>0?n="prerender":tE.document?.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,navigationType:n}},rD=new WeakMap;function rj(e,t){try{return rD.get(e)||rD.set(e,new t),rD.get(e)}catch(e){return new t}}class rL{constructor(){rL.prototype.__init.call(this),rL.prototype.__init2.call(this)}__init(){this._sessionValue=0}__init2(){this._sessionEntries=[]}_processEntry(e){if(e.hadRecentInput)return;let t=this._sessionEntries[0],r=this._sessionEntries[this._sessionEntries.length-1];this._sessionValue&&t&&r&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(this._sessionValue+=e.value,this._sessionEntries.push(e)):(this._sessionValue=e.value,this._sessionEntries=[e]),this._onAfterProcessingUnexpectedShift?.(e)}}let rU=(e,t,r={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let n=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return n.observe({type:e,buffered:!0,...r}),n}}catch{}},rz=e=>{let t=!1;return()=>{t||(e(),t=!0)}},rF=e=>{tE.document?.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},r$=[1800,3e3],rB=[.1,.25],rH=0,rY=1/0,rW=0,rq=e=>
15{e.forEach(e=>{e.interactionId&&(rY=Math.min(rY,e.interactionId),rH=(rW=Math.max(rW,e.interactionId))?(rW-rY)/7+1:0)})},rG=()=>l?rH:performance.interactionCount||0,rX=0;class rK{constructor(){rK.prototype.__init.call(this),rK.prototype.__init2.call(this)}__init(){this._longestInteractionList=[]}__init2(){this._longestInteractionMap=new Map}_resetInteractions(){rX=rG(),this._longestInteractionList.length=0,this._longestInteractionMap.clear()}_estimateP98LongestInteraction(){let e=Math.min(this._longestInteractionList.length-1,Math.floor((rG()-rX)/50));return this._longestInteractionList[e]}_processEntry(e){if(this._onBeforeProcessingEntry?.(e),!(e.interactionId||"first-input"===e.entryType))return;let t=this._longestInteractionList.at(-1),r=this._longestInteractionMap.get(e.interactionId);if(r||this._longestInteractionList.length<10||e.duration>t._latency){if(r?e.duration>r._latency?(r.entries=[e],r._latency=e.duration):e.duration===r._latency&&e.startTime===r.entries[0].startTime&&r.entries.push(e):(r={id:e.interactionId,entries:[e],_latency:e.duration},this._longestInteractionMap.set(r.id,r),this._longestInteractionList.push(r)),this._longestInteractionList.sort((e,t)=>t._latency-e._latency),this._longestInteractionList.length>10)for(let e of this._longestInteractionList.splice(10))this._longestInteractionMap.delete(e.id);this._onAfterProcessingINPCandidate?.(r)}}}let rJ=e=>{let t=tE.requestIdleCallback||tE.setTimeout;tE.document?.visibilityState==="hidden"?e():(rO("visibilitychange",e=rz(e),{once:!0,capture:!0}),rO("pagehide",e,{once:!0,capture:!0}),t(()=>{e(),rk("visibilitychange",e,{capture:!0}),rk("pagehide",e,{capture:!0})}))},rV=[200,500];class rQ{_processEntry(e){this._onBeforeProcessingEntry?.(e)}}let rZ=[2500,4e3],r0=[800,1800],r1=e=>{tE.document?.prerendering?rF(()=>r1(e)):tE.document?.readyState!=="complete"?addEventListener("load",()=>r1(e),!0):setTimeout(e)},r2={},r3={};function r5(e,t=!1){return nn("cls",e,r9,u,t)}function r4(e,t=!1){return nn("lcp",e,ne,c,t)}function r8(e){return nn("inp",e,nr,f)}function r6(e,t){return ni(e,t),r3[e]||(function(e){let t={};"event"===e&&(t.durationThreshold=0),rU(e,t=>{r7(e,{entries:t})},t)}(e),r3[e]=!0),no(e,t)}function r7(e,t){let r=r2[e];if(r?.length)for(let n of r)try{n(t)}catch(t){t5&&R.Yz.error(`Error while triggering instrumentation handler.
16Type: ${e}
17Name: ${(0,H.qQ)(n)}
18Error:`,t)}}function r9(){return((e,t={})=>{((e,t={})=>{rF(()=>{let r,n=rM(),i=rN("FCP"),o=rU("paint",e=>{for(let t of e)"first-contentful-paint"===t.name&&(o.disconnect(),t.startTime<n.firstHiddenTime&&(i.value=Math.max(t.startTime-rx(),0),i.entries.push(t),r(!0)))});o&&(r=rR(e,i,r$,t.reportAllChanges))})})(rz(()=>{let r,n=rN("CLS",0),i=rM(),o=rj(t,rL),a=e=>{for(let t of e)o._processEntry(t);o._sessionValue>n.value&&(n.value=o._sessionValue,n.entries=o._sessionEntries,r())},s=rU("layout-shift",a);s&&(r=rR(e,n,rB,t.reportAllChanges),i.onHidden(()=>{a(s.takeRecords()),r(!0)}),tE?.setTimeout?.(r))}))})(e=>{r7("cls",{metric:e}),u=e},{reportAllChanges:!0})}function ne(){return((e,t={})=>{rF(()=>{let r,n=rM(),i=rN("LCP"),o=rj(t,rQ),a=e=>{for(let a of(t.reportAllChanges||(e=e.slice(-1)),e))o._processEntry(a),a.startTime<n.firstHiddenTime&&(i.value=Math.max(a.startTime-rx(),0),i.entries=[a],r())},s=rU("largest-contentful-paint",a);if(s){r=rR(e,i,rZ,t.reportAllChanges);let n=rz(()=>{a(s.takeRecords()),s.disconnect(),r(!0)}),o=e=>{e.isTrusted&&(rJ(n),rk(e.type,o,{capture:!0}))};for(let e of["keydown","click","visibilitychange"])rO(e,o,{capture:!0})}})})(e=>{r7("lcp",{metric:e}),c=e},{reportAllChanges:!0})}function nt(){return((e,t={})=>{let r=rN("TTFB"),n=rR(e,r,r0,t.reportAllChanges);r1(()=>{let e=rP();e&&(r.value=Math.max(e.responseStart-rx(),0),r.entries=[e],n(!0))})})(e=>{r7("ttfb",{metric:e}),d=e})}function nr(){return((e,t={})=>{if(!(globalThis.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return;let r=rM();rF(()=>{let n;"interactionCount"in performance||l||(l=rU("event",rq,{type:"event",buffered:!0,durationThreshold:0}));let i=rN("INP"),o=rj(t,rK),a=e=>{rJ(()=>{for(let t of e)o._processEntry(t);
18let t=o._estimateP98LongestInteraction();t&&t._latency!==i.value&&(i.value=t._latency,i.entries=t.entries,n())})},s=rU("event",a,{durationThreshold:t.durationThreshold??40});n=rR(e,i,rV,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),r.onHidden(()=>{a(s.takeRecords()),n(!0)}))})})(e=>{r7("inp",{metric:e}),f=e})}function nn(e,t,r,n,i=!1){let o;return ni(e,t),r3[e]||(o=r(),r3[e]=!0),n&&t({metric:n}),no(e,t,i?o:void 0)}function ni(e,t){r2[e]=r2[e]||[],r2[e].push(t)}function no(e,t,r){return()=>{r&&r();let n=r2[e];if(!n)return;let i=n.indexOf(t);-1!==i&&n.splice(i,1)}}function na(e){return"number"==typeof e&&isFinite(e)}function ns(e,t,r,{...n}){let i=(0,ea.et)(e).start_timestamp;return i&&i>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),rm(e,()=>{let e=rh({startTime:t,...n});return e&&e.end(r),e})}function nl(e){let t,r=(0,z.KU)();if(!r)return;let{name:n,transaction:i,attributes:o,startTime:a}=e,{release:s,environment:l,sendDefaultPii:u}=r.getOptions(),c=r.getIntegrationByName("Replay"),d=c?.getReplayId(),f=(0,z.o5)(),p=f.getUser(),h=void 0!==p?p.email||p.id||p.ip_address:void 0;try{t=f.getScopeData().contexts.profile.profile_id}catch{}return rh({name:n,attributes:{release:s,environment:l,user:h||void 0,profile_id:t||void 0,replay_id:d||void 0,transaction:i,"user_agent.original":tE.navigator?.userAgent,"client.address":u?"{{auto}}":void 0,...o},startTime:a,experimental:{standalone:!0}})}function nu(){return tE.addEventListener&&tE.performance}function nc(e){return e/1e3}function nd(e){try{return PerformanceObserver.supportedEntryTypes.includes(e)}catch{return!1}}function nf(e,t){let r,n=!1;function i(e){!n&&r&&t(e,r),n=!0}let o=e=>{("pagehide"===e.type||tE.document?.visibilityState==="hidden")&&i("pagehide")};rO("visibilitychange",o,{capture:!0,once:!0}),rO("pagehide",o,{capture:!0,once:!0});let a=e.on("beforeStartNavigationSpan",(e,t)=>{t?.isRedirect||(i("navigation"),a(),s())}),s=e.on("afterStartPageLoadSpan",e=>{r=e.spanContext().spanId,s()})}function np(e){return e?(((0,ed.k3)()||performance.timeOrigin)+e)/1e3:e}function nh(e){let t={};if(void 0!=e.nextHopProtocol){let{name:r,version:n}=function(e){let t="unknown",r="unknown",n="";for(let i of e){if("/"===i){[t,r]=e.split("/");break}if(!isNaN(Number(i))){t="h"===n?"http":n,r=e.split(n)[1];break}n+=i}return n===e&&(t=n),{name:t,version:r}}(e.nextHopProtocol);t["network.protocol.version"]=n,t["network.protocol.name"]=r}return(0,ed.k3)()||nu()?.timeOrigin?Object.fromEntries(Object.entries({...t,"http.request.redirect_start":np(e.redirectStart),"http.request.redirect_end":np(e.redirectEnd),"http.request.worker_start":np(e.workerStart),"http.request.fetch_start":np(e.fetchStart),"http.request.domain_lookup_start":np(e.domainLookupStart),"http.request.domain_lookup_end":np(e.domainLookupEnd),"http.request.connect_start":np(e.connectStart),"http.request.secure_connection_start":np(e.secureConnectionStart),"http.request.connection_end":np(e.connectEnd),"http.request.request_start":np(e.requestStart),"http.request.response_start":np(e.responseStart),"http.request.response_end":np(e.responseEnd),"http.request.time_to_first_byte":null!=e.responseStart?e.responseStart/1e3:void 0}).filter(([,e])=>null!=e)):t}let nm=0,ng={};function n_(e,t,r,n,i=r){var o;let a=t["secureConnection"===(o=r)?"connectEnd":"fetch"===o?"domainLookupStart":`${o}End`],s=t[`${r}Start`];s&&a&&ns(e,n+nc(s),n+nc(a),{op:`browser.${i}`,name:t.name,attributes:{[B.JD]:"auto.ui.browser.metrics",..."redirect"===r&&null!=t.redirectCount?{"http.redirect_count":t.redirectCount}:{}}})}var ny=r(99742);function nv(){return"undefined"!=typeof window&&(!(!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==ny?ny:0))||function(){let e=T.O.process;return e?.type==="renderer"}())}let nb=[],nS=new Map,nE=new Map,nw={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"},nT=({metric:e})=>
18{if(void 0==e.value)return;let t=nc(e.value);if(t>60)return;let r=e.entries.find(t=>t.duration===e.value&&nw[t.name]);if(!r)return;let{interactionId:n}=r,i=nw[r.name],o=nc((0,ed.k3)()+r.startTime),a=(0,ea.Bk)(),s=a?(0,ea.zU)(a):void 0,l=null!=n?nS.get(n):void 0,u=l?.span||s,c=u?(0,ea.et)(u).description:(0,z.o5)().getScopeData().transactionName,d=nl({name:l?.elementName||(0,e2.Hd)(r.target),transaction:c,attributes:{[B.JD]:"auto.http.browser.inp",[B.uT]:`ui.interaction.${i}`,[B.jG]:r.duration},startTime:o});d&&(d.addEvent("inp",{[B.Sn]:"millisecond",[B.xc]:e.value}),d.end(o+t))},nR=({entries:e})=>{let t=(0,ea.Bk)(),r=t?(0,ea.zU)(t):void 0,n=r?(0,ea.et)(r).description:(0,z.o5)().getScopeData().transactionName;e.forEach(e=>{if(!e.identifier)return;let t=e.name,r=e.renderTime,i=e.loadTime,[o,a]=i?[nc(i),"load-time"]:r?[nc(r),"render-time"]:[(0,ed.zf)(),"entry-emission"],s="image-paint"===t?nc(Math.max(0,(r??0)-(i??0))):0,l={[B.JD]:"auto.ui.browser.elementtiming",[B.uT]:"ui.elementtiming",[B.i_]:"component","sentry.span_start_time_source":a,"sentry.transaction_name":n,"element.id":e.id,"element.type":e.element?.tagName?.toLowerCase()||"unknown","element.size":e.naturalWidth&&e.naturalHeight?`${e.naturalWidth}x${e.naturalHeight}`:void 0,"element.render_time":r,"element.load_time":i,"element.url":e.url||void 0,"element.identifier":e.identifier,"element.paint_type":t};!function(e,t){let r=ry();if(r.startSpan)return r.startSpan(e,t);let n=r_(e),{forceTransaction:i,parentSpan:o,scope:a}=e,s=a?.clone();(0,z.v4)(s,()=>{var r;return(void 0!==(r=o)?e=>rm(r,e):e=>e())(()=>{let r=(0,z.o5)(),a=rb(r,o),s=e.onlyIfParent&&!a?new ro:rg({parentSpan:a,spanArguments:n,forceTransaction:i,scope:r});return(0,ec.r)(r,s),function(e,t,r=()=>{},n=()=>{}){var i,o,a,s;let l;try{l=e()}catch(e){throw t(e),r(),e}return i=l,o=t,a=r,s=n,(0,el.Qg)(i)?i.then(e=>(a(),s(e),e),e=>{throw o(e),a(),e}):(a(),s(i),i)}(()=>t(s),()=>{let{status:e}=(0,ea.et)(s);s.isRecording()&&(!e||"ok"===e)&&s.setStatus({code:rd.TJ,message:"internal_error"})},()=>{s.end()})})})}({name:`element[${e.identifier}]`,attributes:l,startTime:o,onlyIfParent:!0},e=>{e.end(o+s)})})},nP="sentry_previous_trace";function nx(e){return 1===e.traceFlags}var nO=r(17253);function nk(e={}){let t=e.client||(0,z.KU)();if(!(0,O.Ol)()||!t)return{};let r=(0,J.EU)(),n=(0,rf.h)(r);if(n.getTraceData)return n.getTraceData(e);let i=e.scope||(0,z.o5)(),o=e.span||(0,ea.Bk)(),a=o?(0,ea.Qh)(o):function(e){let{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();return(0,rT.TC)(t,n,r)}(i),s=o?(0,X.k1)(o):(0,X.ao)(t,i),l=(0,nO.De)(s);if(!rT.MI.test(a))return R.Yz.warn("Invalid sentry-trace data. Cannot generate trace data"),{};let u={"sentry-trace":a,baggage:l};return e.propagateTraceparent&&(u.traceparent=o?(0,ea.G_)(o):function(e){let{traceId:t,sampled:r,propagationSpanId:n}=e.getPropagationContext();return(0,rT.Iy)(t,n,r)}(i)),u}function nI(e){return e.split(",").some(e=>e.trim().startsWith(nO.sv))}function nC(e,t,r,n){let i={url:tS(e),type:"fetch","http.method":r,[B.JD]:n,[B.uT]:"http.client"};return t&&(t_(t)||(i["http.url"]=tS(t.href),i["server.address"]=t.host),t.search&&(i["http.query"]=t.search),t.hash&&(i["http.fragment"]=t.hash)),i}let nA=Symbol.for("sentry__originalRequestBody");function nM(e){return new URLSearchParams(e).toString()}function nN(e,t=R.Yz){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[nM(e)];if(!e)return[void 0]}catch(r){return t5&&t.error(r,"Failed to serialize body",e),[void 0,"BODY_PARSE_ERROR"]}return t5&&t.log("Skipping network body because of body type",e),[void 0,"UNPARSEABLE_BODY_TYPE"]}function nD(e=[]){if(e.length>=2&&e[1]&&"object"==typeof e[1]&&"body"in e[1])return e[1].body;if(e.length>=1&&e[0]instanceof Request){let t=e[0][nA];if(void 0!==t)return t}}function nj(e){let t;try{t=e.getAllResponseHeaders()}catch(t){return t5&&R.Yz.error(t,"Failed to get xhr response headers",e),{}}return t?t.split("\r\n").reduce((e,t)=>{let[r,n]=t.split(": ");return n&&(e[r.toLowerCase()]=n),e},{}):{}}function nL(e){try{return new URL(e,e3.location.origin).href}catch{return}}function nU(e){try{return new Headers(e)}catch{return}}let nz=new WeakMap,nF=new Map,n$={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,trackFetchStreamPerformance:!1};function nB(e){let{url:t}=(0,ea.et)(e).data;if(!t||"string"!=typeof t)return;let r=r6("resource",({entries:n})=>
18{n.forEach(n=>{"resource"===n.entryType&&"initiatorType"in n&&"string"==typeof n.nextHopProtocol&&("fetch"===n.initiatorType||"xmlhttprequest"===n.initiatorType)&&n.name.endsWith(t)&&(e.setAttributes(nh(n)),setTimeout(r))})})}let nH={...rS,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,enableElementTiming:!0,ignoreResourceSpans:[],ignorePerformanceApiSpans:[],detectRedirects:!0,linkPreviousTrace:"in-memory",consistentTraceSampling:!1,enableReportPageLoaded:!1,_experiments:{},...n$};function nY(e,t,r){e.emit("startPageLoadSpan",t,r),(0,z.o5)().setTransactionName(t.name);let n=e[nG];return n&&e.emit("afterStartPageLoadSpan",n),n}function nW(e,t,r){let{url:n,isRedirect:i}=r||{};e.emit("beforeStartNavigationSpan",t,{isRedirect:i}),e.emit("startNavigationSpan",t,{isRedirect:i});let o=(0,z.o5)();return o.setTransactionName(t.name),n&&!i&&o.setSDKProcessingMetadata({normalizedRequest:{...e8(),url:n}}),e[nG]}function nq(e){let t=e3.document,r=t?.querySelector(`meta[name=${e}]`);return r?.getAttribute("content")||void 0}let nG="_sentry_idleSpan",nX=T.O,nK=null,nJ=new Map,nV=new Map;function nQ(e){let t=e.split("/").filter(Boolean),r=0;for(let e of t)if(e.startsWith(":")){let t=e.substring(1);t.endsWith("*?")?r+=1e3:t.endsWith("*")?r+=100:r+=10}return t.length>0&&(r+=1/t.length),r}function nZ(e){if(nJ.has(e))return nJ.get(e)??null;try{let t=new RegExp(e);return nJ.set(e,t),t}catch(t){return rt.T&&R.Yz.warn("Could not compile regex",{regexString:e,error:t}),null}}function n0(){if(!nX?._sentryRouteManifest||"string"!=typeof nX._sentryRouteManifest)return null;let e=nX._sentryRouteManifest;if(nK&&S===e)return nK;nJ.clear(),nV.clear();let t={staticRoutes:[],dynamicRoutes:[],isrRoutes:[]};try{if(t=JSON.parse(e),!Array.isArray(t.staticRoutes)||!Array.isArray(t.dynamicRoutes))return null;return nK=t,S=e,t}catch{return rt.T&&R.Yz.warn("Could not extract route manifest"),null}}let n1=e=>{let t=n0();if(!t)return;if(nV.has(e))return nV.get(e);let{staticRoutes:r,dynamicRoutes:n}=t;if(!Array.isArray(r)||!Array.isArray(n))return;let i=(function(e,t,r){let n=[];if(t.some(t=>t.path===e))return n;for(let t of r)if(t.regex){let r=nZ(t.regex);r?.test(e)&&n.push(t.path)}if(!e.startsWith("/:")){for(let t of r)if(t.hasOptionalPrefix&&t.regex){let r="/"===e?"/SENTRY_OPTIONAL_PREFIX":`/SENTRY_OPTIONAL_PREFIX${e}`,i=nZ(t.regex);i?.test(r)&&n.push(t.path)}}return n})(e,r,n).sort((e,t)=>nQ(e)-nQ(t))[0];return nV.set(e,i),i};var n2=r(99742);let n3="incomplete-app-router-transaction",n5="router-patch",n4={current:void 0},n8=T.O,n6=T.O;function n7(e){try{return new URL(e,"http://example.com/").pathname}catch{return"/"}}let n9=new WeakSet;function ie(e,t,r){n9.has(t)||(n9.add(t),["back","forward","push","replace"].forEach(n=>{t?.[n]&&(t[n]=new Proxy(t[n],{apply(t,i,o){if("router-patch"!==n5)return t.apply(i,o);let a=n3,s={[B.uT]:"navigation",[B.JD]:"auto.navigation.nextjs.app_router_instrumentation",[B.i_]:"url"},l=o[0],u=n2.env._sentryBasePath??n6._sentryBasePath,c=u&&"string"==typeof l&&!l.startsWith(u)?`${u}${l}`:l;"push"===n?(a=n7(c),s["navigation.type"]="router.push"):"replace"===n?(a=n7(c),s["navigation.type"]="router.replace"):"back"===n?s["navigation.type"]="router.back":"forward"===n&&(s["navigation.type"]="router.forward");let d=n1(a);return r.current=nW(e,{name:d??a,attributes:{...s,[B.i_]:d?"route":"url"}}),t.apply(i,o)}}))}))}var it=r(89099);let ir=it.events?it:it.default,ii=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function io(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let i=n>=0?e[n]:"/";i&&(t=`${i}/${t}`,r="/"===i.charAt(0))}return t=(function(e,t){let r=0;for(let t=e.length-1;t>=0;t--){let n=e[t];"."===n?e.splice(t,1):".."===n?(e.splice(t,1),r++):r&&(e.splice(t,1),r--)}if(t)for(;r--;)e.unshift("..");return e})(t.split("/").filter(e=>!!e),!r).join("/"),(r?"/":"")+t||"."}function ia(e){let t=0;for(;t<e.length&&""===e[t];t++);let r=e.length-1;for(;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}class is{constructor(e){this._maxSize=e,this._cache=new Map}get size(){return this._cache.size}get(e){let t=this._cache.get(e);if(void 0!==t)return this._cache.delete(e),this._cache.set(e,t),t}set(e,t){if(this._cache.size>=this._maxSize){let e=this._cache.keys().next().value;this._cache.delete(e)}this._cache.set(e,t)}remove(e){let t=this._cache.get(e);return t&&this._cache.delete(e),t}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let e=[];return this._cache.forEach(t=>e.push(t)),e}}let il=new is(100);var iu=r(99742);let ic=T.O;var id=r(99742);let ip=!1,ih=T.O;function im(e,t,r){var n,i,o;return"util"in T.O&&"function"==typeof T.O.util.format?T.O.util.format(...e):(n=e,i=t,o=r,n.map(e=>(0,el.sO)(e)?String(e):JSON.stringify((0,V.S8)(e,i,o))).join(" "))}let ig={[B.JD]:"auto.log.console"};function i_(e,t){var r,n;let i=t?.getDsn(),o=t?.getOptions().tunnel;return function(e,t){let r=ty(e);return!(!r||t_(r))&&!!t&&r.host.includes(t.host)&&/(^|&|\?)sentry_key=/.test(r.search)}(e,i)||(r=e,!!(n=o)&&iy(r)===iy(n))}function iy(e){return"/"===e[e.length-1]?e.slice(0,-1):e}let iv=T.O,ib="sentryReplaySession",iS="Unable to send Replay";var iE=Object.defineProperty,iw=(e,t,r)=>((e,t,r)=>t in e?iE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),iT=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(iT||{});function iR(e){let t=e?.host;return t?.shadowRoot===e}function iP(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function ix(e){try{var t;let r=e.rules||e.cssRules;return r?((t=Array.from(r,iO).join("")).includes(" background-clip: text;")&&!t.includes(" -webkit-background-clip: text;")&&(t=t.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),t):null}catch(e){return null}}function iO(e){let t;if("styleSheet"in e)try{t=ix(e.styleSheet)||function(e){let{cssText:t}=e;if(t.split('"').length<3)return t;let r=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?r.push("layer"):e.layerName&&r.push(`layer(${e.layerName})`),e.supportsText&&r.push(`supports(${e.supportsText})`),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(e){}else if("selectorText"in e){let t=e.cssText,r=e.selectorText.includes(":"),n="string"==typeof e.style.all&&e.style.all;if(n&&(t=function(e){let t="";for(let r=0;r<e.style.length;r++){let n=e.style,i=n[r],o=n.getPropertyPriority(i);t+=`${i}:${n.getPropertyValue(i)}${o?" !important":""};`}return`${e.selectorText} { ${t} }`}(e)),r&&(t=t.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2")),r||n)return t}return t||e.cssText}class ik{constructor(){iw(this,"idNodeMap",new Map),iw(this,"nodeMetaMap",new WeakMap)}getId(e){return e?this.getMeta(e)?.id??-1:-1}getNode(e){return this.idNodeMap.get(e)||null}getIds(){return Array.from(this.idNodeMap.keys())}getMeta(e){return this.nodeMetaMap.get(e)||null}removeNodeFromMap(e){let t=this.getId(e);
18this.idNodeMap.delete(t),e.childNodes&&e.childNodes.forEach(e=>this.removeNodeFromMap(e))}has(e){return this.idNodeMap.has(e)}hasNode(e){return this.nodeMetaMap.has(e)}add(e,t){let r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)}replace(e,t){let r=this.getNode(e);if(r){let e=this.nodeMetaMap.get(r);e&&this.nodeMetaMap.set(t,e)}this.idNodeMap.set(e,t)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function iI({maskInputOptions:e,tagName:t,type:r}){return"OPTION"===t&&(t="SELECT"),!!(e[t.toLowerCase()]||r&&e[r]||"password"===r||"INPUT"===t&&!r&&e.text)}function iC({isMasked:e,element:t,value:r,maskInputFn:n}){let i=r||"";return e?(n&&(i=n(i,t)),"*".repeat(i.length)):i}function iA(e){return e.toLowerCase()}function iM(e){return e.toUpperCase()}let iN="__rrweb_original__";function iD(e){let t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?iA(t):null}function ij(e,t,r){return"INPUT"===t&&("radio"===r||"checkbox"===r)?e.getAttribute("value")||"":e.value}function iL(e,t){let r;try{r=new URL(e,t??window.location.href)}catch(e){return null}let n=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return n?.[1]??null}let iU={};function iz(e){let t=iU[e];if(t)return t;let r=window.document,n=window[e];if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(n=i[e]),r.head.removeChild(t)}catch(e){}return iU[e]=n.bind(window)}function iF(...e){return iz("setTimeout")(...e)}function i$(...e){return iz("clearTimeout")(...e)}function iB(e){try{return e.contentDocument}catch(e){}}let iH=1,iY=RegExp("[^a-z0-9-_:]");function iW(){return iH++}let iq=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,iG=/^(?:[a-z+]+:)?\/\//i,iX=/^www\..*/i,iK=/^(data:)([^,]*),(.*)/i;function iJ(e,t){return(e||"").replace(iq,(e,r,n,i,o,a)=>{let s=n||o||a,l=r||i||"";if(!s)return e;if(iG.test(s)||iX.test(s)||iK.test(s))return`url(${l}${s}${l})`;if("/"===s[0])return`url(${l}${(t.indexOf("//")>-1?t.split("/").slice(0,3).join("/"):t.split("/")[0]).split("?")[0]+s}${l})`;let u=t.split("/"),c=s.split("/");for(let e of(u.pop(),c))if("."===e)continue;else".."===e?u.pop():u.push(e);return`url(${l}${u.join("/")}${l})`})}let iV=/^[^ \t\n\r\u000c]+/,iQ=/^[, \t\n\r\u000c]+/,iZ=new WeakMap;function i0(e,t){return t&&""!==t.trim()?i1(e,t):t}function i1(e,t){let r=iZ.get(e);if(r||(r=e.createElement("a"),iZ.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function i2(e,t,r,n,i,o,a){if(!n)return n;if("src"===r||"href"===r&&("use"!==t||"#"!==n[0])||"xlink:href"===r&&"#"!==n[0])return i0(e,n);if("background"===r&&("table"===t||"td"===t||"th"===t))return i0(e,n);if("srcset"===r)return function(e,t){if(""===t.trim())return t;let r=0;function n(e){let n,i=e.exec(t.substring(r));return i?(n=i[0],r+=n.length,n):""}let i=[];for(;n(iQ),!(r>=t.length);){let o=n(iV);if(","===o.slice(-1))o=i0(e,o.substring(0,o.length-1)),i.push(o);else{let n="";o=i0(e,o);let a=!1;for(;;){let e=t.charAt(r);if(""===e){i.push((o+n).trim());break}if(a)")"===e&&(a=!1);else if(","===e){r+=1,i.push((o+n).trim());break}else"("===e&&(a=!0);n+=e,r+=1}}}return i.join(", ")}(e,n);if("style"===r){let t=iJ(n,i1(e));return a&&a.size>0&&(t=function(e,t){if(!e||0===t.size)return e;try{let r=e.split(";"),n=[];for(let e of r){if(!(e=e.trim()))continue;let r=e.indexOf(":");if(-1===r){n.push(e);continue}let i=e.slice(0,r).trim();t.has(i)||n.push(e)}return n.join("; ")+(n.length>0&&e.endsWith(";")?";":"")}catch(t){return console.warn("Error filtering CSS properties:",t),e}}(t,a)),t}else if("object"===t&&"data"===r)return i0(e,n);return"function"==typeof o?o(r,n,i):n}function i3(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function i5(e,t,r=1/0,n=0){return!e||e.nodeType!==e.ELEMENT_NODE||n>r?-1:t(e)?n:i5(e.parentNode,t,r,n+1)}function i4(e,t){return r=>{if(null===r)return!1;try{if(e){if("string"==typeof e){if(r.matches(`.${e}`))return!0}else if(function(e,t){for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}return!1}(r,e))return!0}if(t&&r.matches(t))return!0;return!1}catch{return!1}}}function i8(e,t,r,n,i,o){try{let a=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(null===a)return!1;if("INPUT"===a.tagName){let e=a.getAttribute("autocomplete");if(["current-password","new-password","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc"].includes(e))return!0}let s=-1,l=-1;if(o){if((l=i5(a,i4(n,i)))<0)return!0;s=i5(a,i4(t,r),l>=0?l:1/0)}else{if((s=i5(a,i4(t,r)))<0)return!1;l=i5(a,i4(n,i),s>=0?s:1/0)}return s>=0?!(l>=0)||s<=l:!(l>=0)&&!!o}catch(e){}return!!o}function i6(e){return null==e?"":e.toLowerCase()}function i7(e,t){let r,{doc:n,mirror:i,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,skipChild:p=!1,inl
18ineStylesheet:h=!0,maskInputOptions:_={},maskAttributeFn:y,maskTextFn:v,maskInputFn:b,slimDOMOptions:S,dataURLOptions:E={},inlineImages:w=!1,recordCanvas:T=!1,onSerialize:R,onIframeLoad:P,iframeLoadTimeout:x=5e3,onBlockedImageLoad:O,onStylesheetLoad:k,stylesheetLoadTimeout:I=5e3,keepIframeSrcFn:C=()=>!1,newlyAddedElement:A=!1,ignoreCSSAttributes:M}=t,{preserveWhiteSpace:N=!0}=t,D=function(e,t){let{doc:r,mirror:n,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:s,maskAttributeFn:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:p,maskInputOptions:h={},maskTextFn:_,maskInputFn:y,dataURLOptions:v={},inlineImages:b,recordCanvas:S,keepIframeSrcFn:E,newlyAddedElement:w=!1,ignoreCSSAttributes:T}=t,R=function(e,t){if(!t.hasNode(e))return;let r=t.getId(e);return 1===r?void 0:r}(r,n);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:iT.Document,childNodes:[],compatMode:e.compatMode};return{type:iT.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:iT.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:R};case e.ELEMENT_NODE:return function(e,t){let r,{doc:n,blockClass:i,blockSelector:o,unblockSelector:a,inlineStylesheet:s,maskInputOptions:l={},maskAttributeFn:u,maskInputFn:c,dataURLOptions:d={},inlineImages:f,recordCanvas:p,keepIframeSrcFn:h,newlyAddedElement:_=!1,rootId:y,maskTextClass:v,unmaskTextClass:b,maskTextSelector:S,unmaskTextSelector:E,ignoreCSSAttributes:w}=t,T=function(e,t,r,n){try{if(n&&e.matches(n))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let r=e.classList.length;r--;){let n=e.classList[r];if(t.test(n))return!0}if(r)return e.matches(r)}catch(e){}return!1}(e,i,o,a),R=function(e){if(e instanceof HTMLFormElement)return"form";let t=iA(e.tagName);return iY.test(t)?"div":t}(e),P={},x=e.attributes.length;for(let t=0;t<x;t++){let r=e.attributes[t];r.name&&!i3(R,r.name,r.value)&&(P[r.name]=i2(n,R,iA(r.name),r.value,e,u,w))}if("link"===R&&s){let t=Array.from(n.styleSheets).find(t=>t.href===e.href),r=null;t&&(r=ix(t)),r&&(P.rel=null,P.href=null,P.crossorigin=null,P._cssText=iJ(r,t.href))}if("style"===R&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let t=ix(e.sheet);t&&(P._cssText=iJ(t,i1(n)))}if("input"===R||"textarea"===R||"select"===R||"option"===R){let t=iD(e),r=ij(e,iM(R),t),n=e.checked;if("submit"!==t&&"button"!==t&&r){let n=i8(e,v,S,b,E,iI({type:t,tagName:iM(R),maskInputOptions:l}));P.value=iC({isMasked:n,element:e,value:r,maskInputFn:c})}n&&(P.checked=n)}if("option"===R&&(e.selected&&!l.select?P.selected=!0:delete P.selected),"canvas"===R&&p){if("2d"===e.__context)!function(e){let t=e.getContext("2d");if(!t)return!0;for(let r=0;r<e.width;r+=50)for(let n=0;n<e.height;n+=50){let i=t.getImageData;if(new Uint32Array((iN in i?i[iN]:i).call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some(e=>0!==e))return!1}return!0}(e)&&(P.rr_dataURL=e.toDataURL(d.type,d.quality));else if(!("__context"in e)){let t=e.toDataURL(d.type,d.quality),r=n.createElement("canvas");r.width=e.width,r.height=e.height,t!==r.toDataURL(d.type,d.quality)&&(P.rr_dataURL=t)}}if("img"===R&&f){m||(g=(m=n.createElement("canvas")).getContext("2d"));let t=e.currentSrc||e.getAttribute("src")||"<unknown-src>",r=e.crossOrigin,i=()=>{e.removeEventListener("load",i);try{m.width=e.naturalWidth,m.height=e.naturalHeight,g.drawImage(e,0,0),P.rr_dataURL=m.toDataURL(d.type,d.quality)}catch(r){if("anonymous"!==e.crossOrigin){e.crossOrigin="anonymous",e.complete&&0!==e.naturalWidth?i():e.addEventListener("load",i);return}console.warn(`Cannot inline img src=${t}! Error: ${r}`)}"anonymous"===e.crossOrigin&&(r?P.crossOrigin=r:e.removeAttribute("crossorigin"))};e.complete&&0!==e.naturalWidth?i():e.addEventListener("load",i)}if(("audio"===R||"video"===R)&&(P.rr_mediaState=e.paused?"paused":"played",P.rr_mediaCurrentTime=e.currentTime),!_&&(e.scrollLeft&&(P.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(P.rr_scrollTop=e.scrollTop)),T){let{width:t,height:r}=e.getBoundingClientRect();P={class:P.class,rr_width:`${t}px`,rr_height:`${r}px`}}"iframe"!==R||h(P.src)||(T||iB(e)||(P.rr_src=P.src),delete P.src);try{customElements.get(R)&&(r=!0)}catch(e){}return{type:iT.Element,tagName:R,attributes:P,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:T,rootId:y,isCustom:r}}(e,{doc:r,blockClass:i,blockSelector:o,unblockSelector:a,inlineStylesheet:p,maskAttributeFn:l,maskInputOptions:h,maskInputFn:y,dataURLOptions:v,inlineImages:b,recordCanvas:S,keepIframeSrcFn:E,newlyAddedElement:w,rootId:R,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,ignoreCSSAttributes:T});case e.TEXT_NODE:return function(e,t){let{maskAllText:r,maskTextClass:n,unmaskTextClass:i,maskTextSelector:o,unmaskTextSelector:a,maskTextFn:s,maskInputOptions:l,maskInputFn:u,rootId:c}=t,d=e.parentNode&&e.parentNode.tagName,f=e.textContent,p="STYLE"===d||void 0,h="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(p&&f){try{e.nextSibling||e.previousSibling||e.parentNode.sheet?.cssRules&&(f=ix(e.parentNode.sheet))}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}f=iJ(f,i1(t.doc))}h&&(f="SCRIPT_PLACEHOLDER");let g=i8(e,n,o,i,a,r);return p||h||m||!f||!g||(f=s?s(f,e.parentElement):f.replace(/[\S]/g,"*")),m&&f&&(l.textarea||g)&&(f=u?u(f,e.parentNode):f.replace(/[\S]/g,"*")),"OPTION"===d&&f&&(f=iC({isMasked:i8(e,n,o,i,a,iI({type:null,tagName:d,maskInputOptions:l})),element:e,value:f,maskInputFn:u})),{type:iT.Text,textContent:f||"",isStyle:p,rootId:c}}(e,{doc:r,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,maskTextFn:_,maskInputOptions:h,maskInputFn:y,rootId:R});case e.CDATA_SECTION_NODE:return{type:iT.CDATA,textContent:"",rootId:R};case e.COMMENT_NODE:return{type:iT.Comment,textContent:e.textContent||"",rootId:R};default:return!1}}(e,{doc:n,mirror:i,blockClass:o,blockSelector:a,maskAllText:l,unblockSelector:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,inlineStylesheet:h,maskInputOptions:_,maskAttributeFn:y,maskTextFn:v,maskInputFn:b,dataURLOptions:E,inlineImages:w,recordCanvas:T,keepIframeSrcFn:C,newlyAddedElement:A,ignoreCSSAttributes:M});if(!D)return console.warn(e,"not serialized"),null;r=i.hasNode(e)?i.getId(e):!function(e,t){if(t.comment&&e.type===iT.Comment)return!0;
18if(e.type===iT.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===iL(e.attributes.href)))return!0;else if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(i6(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===i6(e.attributes.name)||"icon"===i6(e.attributes.rel)||"apple-touch-icon"===i6(e.attributes.rel)||"shortcut icon"===i6(e.attributes.rel))))return!0;else if("meta"===e.tagName){if(t.headMetaDescKeywords&&i6(e.attributes.name).match(/^description|keywords$/))return!0;else if(t.headMetaSocial&&(i6(e.attributes.property).match(/^(og|twitter|fb):/)||i6(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===i6(e.attributes.name)))return!0;else if(t.headMetaRobots&&("robots"===i6(e.attributes.name)||"googlebot"===i6(e.attributes.name)||"bingbot"===i6(e.attributes.name)))return!0;else if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(t.headMetaAuthorship&&("author"===i6(e.attributes.name)||"generator"===i6(e.attributes.name)||"framework"===i6(e.attributes.name)||"publisher"===i6(e.attributes.name)||"progid"===i6(e.attributes.name)||i6(e.attributes.property).match(/^article:/)||i6(e.attributes.property).match(/^product:/)))return!0;else if(t.headMetaVerification&&("google-site-verification"===i6(e.attributes.name)||"yandex-verification"===i6(e.attributes.name)||"csrf-token"===i6(e.attributes.name)||"p:domain_verify"===i6(e.attributes.name)||"verify-v1"===i6(e.attributes.name)||"verification"===i6(e.attributes.name)||"shopify-checkout-api-token"===i6(e.attributes.name)))return!0}}return!1}(D,S)&&(N||D.type!==iT.Text||D.isStyle||D.textContent.replace(/^\s+|\s+$/gm,"").length)?iW():-2;let j=Object.assign(D,{id:r});if(i.add(e,j),-2===r)return null;R&&R(e);let L=!p;if(j.type===iT.Element){L=L&&!j.needBlock;let t=e.shadowRoot;t&&iP(t)&&(j.isShadowHost=!0)}if((j.type===iT.Document||j.type===iT.Element)&&L){S.headWhitespace&&j.type===iT.Element&&"head"===j.tagName&&(N=!1);let t={doc:n,mirror:i,blockClass:o,blockSelector:a,maskAllText:l,unblockSelector:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,skipChild:p,inlineStylesheet:h,maskInputOptions:_,maskAttributeFn:y,maskTextFn:v,maskInputFn:b,slimDOMOptions:S,dataURLOptions:E,inlineImages:w,recordCanvas:T,preserveWhiteSpace:N,onSerialize:R,onIframeLoad:P,iframeLoadTimeout:x,onBlockedImageLoad:O,onStylesheetLoad:k,stylesheetLoadTimeout:I,keepIframeSrcFn:C,ignoreCSSAttributes:M};for(let r of e.childNodes?Array.from(e.childNodes):[]){let e=i7(r,t);e&&j.childNodes.push(e)}if(e.nodeType===e.ELEMENT_NODE&&e.shadowRoot)for(let r of Array.from(e.shadowRoot.childNodes)){let n=i7(r,t);n&&(iP(e.shadowRoot)&&(n.isShadow=!0),j.childNodes.push(n))}}if(e.parentNode&&iR(e.parentNode)&&iP(e.parentNode)&&(j.isShadow=!0),j.type!==iT.Element||"iframe"!==j.tagName||j.needBlock||function(e,t,r){let n,i=e.contentWindow;if(!i)return;let o=!1;try{n=i.document.readyState}catch(e){return}if("complete"!==n){let n=iF(()=>{o||(t(),o=!0)},r);e.addEventListener("load",()=>{i$(n),o=!0,t()});return}let a="about:blank";if(i.location.href!==a||e.src===a||""===e.src)return iF(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}(e,()=>{let t=iB(e);if(t&&P){let r=i7(t,{doc:t,mirror:i,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:_,maskAttributeFn:y,maskTextFn:v,maskInputFn:b,slimDOMOptions:S,dataURLOptions:E,inlineImages:w,recordCanvas:T,preserveWhiteSpace:N,onSerialize:R,onIframeLoad:P,iframeLoadTimeout:x,onStylesheetLoad:k,stylesheetLoadTimeout:I,keepIframeSrcFn:C,ignoreCSSAttributes:M});r&&P(e,r)}},x),j.type===iT.Element&&"img"===j.tagName&&!e.complete&&j.needBlock){let t=()=>{if(e.isConnected&&!e.complete&&O)try{let t=e.getBoundingClientRect();t.width>0&&t.height>0&&O(e,j,t)}catch(e){}e.removeEventListener("load",t)};e.isConnected&&e.addEventListener("load",t)}return j.type===iT.Element&&"link"===j.tagName&&"string"==typeof j.attributes.rel&&("stylesheet"===j.attributes.rel||"preload"===j.attributes.rel&&"string"==typeof j.attributes.href&&"css"===iL(j.attributes.href))&&function(e,t,r){let n,i=!1;try{n=e.sheet}catch(e){return}if(n)return;let o=iF(()=>{i||(t(),i=!0)},r);e.addEventListener("load",()=>{i$(o),i=!0,t()})}(e,()=>{if(k){let t=i7(e,{doc:n,mirror:i,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:d,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:h,maskInputOptions:_,maskAttributeFn:y,maskTextFn:v,maskInputFn:b,slimDOMOptions:S,dataURLOptions:E,inlineImages:w,recordCanvas:T,preserveWhiteSpace:N,onSerialize:R,onIframeLoad:P,iframeLoadTimeout:x,onStylesheetLoad:k,stylesheetLoadTimeout:I,keepIframeSrcFn:C,ignoreCSSAttributes:M});t&&k(e,t)}},I),j.type===iT.Element&&delete j.needBlock,j}function i9(e,t,r=document){let n={capture:!0,passive:!0};return r.addEventListener(e,t,n),()=>r.removeEventListener(e,t,n)}let oe="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",ot={map:{},getId:()=>(console.error(oe),-1),getNode:()=>(console.error(oe),null),removeNodeFromMap(){console.error(oe)},has:()=>(console.error(oe),!1),reset(){console.error(oe)}};function or(e,t,r={}){let n=null,i=0;return function(...o){let a=Date.now();i||!1!==r.leading||(i=a);let s=t-(a-i),l=this;s<=0||s>t?(n&&(function(...e){ov("clearTimeout")(...e)}
18(n),n=null),i=a,e.apply(l,o)):n||!1===r.trailing||(n=ob(()=>{i=!1===r.leading?0:Date.now(),n=null,e.apply(l,o)},s))}}function on(e,t,r){try{if(!(t in e))return()=>{};let n=e[t],i=r(n);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=i,()=>{e[t]=n}}catch{return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(ot=new Proxy(ot,{get:(e,t,r)=>("map"===t&&console.error(oe),Reflect.get(e,t,r))}));let oi=Date.now;function oo(e){let t=e.document;return{left:t.scrollingElement?t.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:t?.documentElement.scrollLeft||t?.body?.parentElement?.scrollLeft||t?.body?.scrollLeft||0,top:t.scrollingElement?t.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:t?.documentElement.scrollTop||t?.body?.parentElement?.scrollTop||t?.body?.scrollTop||0}}function oa(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function os(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function ol(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch(e){return null}}function ou(e,t,r,n,i){if(!e)return!1;let o=ol(e);if(!o)return!1;let a=i4(t,r);
18if(!i){let e=n&&o.matches(n);return a(o)&&!e}let s=i5(o,a),l=-1;return!(s<0)&&(n&&(l=i5(o,i4(null,n))),s>-1&&l<0||s<l)}function oc(e,t){return -2===t.getId(e)}function od(e){return!!e.changedTouches}function of(e,t){return!!("IFRAME"===e.nodeName&&t.getMeta(e))}function op(e,t){return!!("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function oh(e){return!!e?.shadowRoot}/[1-9][0-9]{12}/.test(Date.now().toString())||(oi=()=>new Date().getTime());class om{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return this.styleIDMap.get(e)??-1}has(e){return this.styleIDMap.has(e)}add(e,t){let r;return this.has(e)?this.getId(e):(r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r)}getStyle(e){return this.idStyleMap.get(e)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function og(e){let t=null;return e.getRootNode?.()?.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(t=e.getRootNode().host),t}function o_(e){let t=e.ownerDocument;return!!t&&(t.contains(e)||function(e){let t=e.ownerDocument;if(!t)return!1;let r=function(e){let t,r=e;for(;t=og(r);)r=t;return r}(e);return t.contains(r)}(e))}let oy={};function ov(e){let t=oy[e];if(t)return t;let r=window.document,n=window[e];if(r&&"function"==typeof r.createElement)try{let t=r.createElement("iframe");t.hidden=!0,r.head.appendChild(t);let i=t.contentWindow;i&&i[e]&&(n=i[e]),r.head.removeChild(t)}catch(e){}return oy[e]=n.bind(window)}function ob(...e){return ov("setTimeout")(...e)}var oS=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(oS||{}),oE=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(oE||{}),ow=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(ow||{}),oT=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(oT||{}),oR=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(oR||{});function oP(e){try{return e.contentDocument}catch(e){}}class ox{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error("Position outside of list range");let t=this.head;for(let r=0;r<e;r++)t=t?.next||null;return t}addNode(e){let t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&"__ln"in e.previousSibling){let r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&&(r.previous=t)}else if(e.nextSibling&&"__ln"in e.nextSibling&&e.nextSibling.__ln.previous){let r=e.nextSibling.__ln.previous;t.previous=r,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,r&&(r.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++}removeNode(e){let t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}let oO=(e,t)=>`${e}@${t}`;class ok{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>
18{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],t=new Set,r=new ox,n=e=>{let t=e,r=-2;for(;-2===r;)r=(t=t&&t.nextSibling)&&this.mirror.getId(t);return r},i=i=>{if(!i.parentNode||!o_(i))return;let o=iR(i.parentNode)?this.mirror.getId(og(i)):this.mirror.getId(i.parentNode),a=n(i);if(-1===o||-1===a)return r.addNode(i);let s=i7(i,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskAllText:this.maskAllText,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,unmaskTextClass:this.unmaskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskAttributeFn:this.maskAttributeFn,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{of(e,this.mirror)&&!ou(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&this.iframeManager.addIframe(e),op(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),oh(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,t)=>{ou(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)||(this.iframeManager.attachIframe(e,t),e.contentWindow&&this.canvasManager.addWindow(e.contentWindow),this.shadowDomManager.observeAttachShadow(e))},onStylesheetLoad:(e,t)=>{this.stylesheetManager.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:r,height:n})=>{this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${r}px`,height:`${n}px`}}}]})},ignoreCSSAttributes:this.ignoreCSSAttributes});s&&(e.push({parentId:o,nextId:a,node:s}),t.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!oC(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&i(e);for(let e of this.addedSet)oA(this.droppedSet,e)||oC(this.removes,e,this.mirror)?oA(this.movedSet,e)?i(e):this.droppedSet.add(e):i(e);let o=null;for(;r.length;){let e=null;if(o){let t=this.mirror.getId(o.value.parentNode),r=n(o.value);-1!==t&&-1!==r&&(e=o)}if(!e){let t=r.tail;for(;t;){let r=t;if(t=t.previous,r){let t=this.mirror.getId(r.value.parentNode);if(-1===n(r.value))continue;if(-1!==t){e=r;break}{let t=r.value;if(t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let n=t.parentNode.host;if(-1!==this.mirror.getId(n)){e=r;break}}}}}}if(!e){for(;r.head;)r.removeNode(r.head.value);break}o=e.previous,r.removeNode(e.value),i(e.value)}let a={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:t}=e;if("string"==typeof t.style){let r=JSON.stringify(e.styleDiff),n=JSON.stringify(e._unchangedStyles);r.length<t.style.length&&(r+n).split("var(").length===t.style.split("var(").length&&(t.style=e.styleDiff)}return{id:this.mirror.getId(e.node),attributes:t}}).filter(e=>!t.has(e.id)).filter(e=>this.mirror.has(e.id)),removes:this.removes,adds:e};(a.texts.length||a.attributes.length||a.removes.length||a.adds.length)&&(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))},this.processMutation=e=>{if(!oc(e.target,this.mirror))switch(e.type){case"characterData":{let t=e.target.textContent;ou(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||t===e.oldValue||this.texts.push({value:i8(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t,ol(e.target)):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{let t=e.target,r=e.attributeName,n=e.target.getAttribute(r);if("value"===r){let r=iD(t),i=t.tagName;n=ij(t,i,r);let o=iI({maskInputOptions:this.maskInputOptions,tagName:i,type:r});n=iC({isMasked:i8(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,o),element:t,value:n,maskInputFn:this.maskInputFn})}if(ou(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||n===e.oldValue)return;let i=this.attributeMap.get(e.target);
18if("IFRAME"===t.tagName&&"src"===r&&!this.keepIframeSrcFn(n)){if(oP(t))return;r="rr_src"}if(i||(i={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(i),this.attributeMap.set(e.target,i)),"type"===r&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!i3(t.tagName,r)&&(i.attributes[r]=i2(this.doc,iA(t.tagName),iA(r),n,t,this.maskAttributeFn),"style"===r)){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch(e){this.unattachedDoc=this.doc}let r=this.unattachedDoc.createElement("span");for(let n of(e.oldValue&&r.setAttribute("style",e.oldValue),Array.from(t.style))){let e=t.style.getPropertyValue(n),o=t.style.getPropertyPriority(n);e!==r.style.getPropertyValue(n)||o!==r.style.getPropertyPriority(n)?""===o?i.styleDiff[n]=e:i.styleDiff[n]=[e,o]:i._unchangedStyles[n]=[e,o]}for(let e of Array.from(r.style))""===t.style.getPropertyValue(e)&&(i.styleDiff[e]=!1)}break}case"childList":if(ou(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(t=>this.genAdds(t,e.target)),e.removedNodes.forEach(t=>{let r=this.mirror.getId(t),n=iR(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);ou(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||oc(t,this.mirror)||-1===this.mirror.getId(t)||(this.addedSet.has(t)?(oI(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===r||function e(t,r){if(iR(t))return!1;let n=r.getId(t);return!r.has(n)||(!t.parentNode||t.parentNode.nodeType!==t.DOCUMENT_NODE)&&(!t.parentNode||e(t.parentNode,r))}(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[oO(r,n)]?oI(this.movedSet,t):this.removes.push({parentId:n,id:r,isShadow:!!(iR(e.target)&&iP(e.target))||void 0})),this.mapRemoves.push(t))})}},this.genAdds=(e,t)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(oc(e,this.mirror))return;this.movedSet.add(e);let r=null;t&&this.mirror.hasNode(t)&&(r=this.mirror.getId(t)),r&&-1!==r&&(this.movedMap[oO(this.mirror.getId(e),r)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!ou(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes&&e.childNodes.forEach(e=>this.genAdds(e)),oh(e)&&e.shadowRoot.childNodes.forEach(t=>{this.processedNodeManager.add(t,this),this.genAdds(t,e)}))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskAllText","maskTextClass","unmaskTextClass","maskTextSelector","unmaskTextSelector","inlineStylesheet","maskInputOptions","maskAttributeFn","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager","ignoreCSSAttributes"].forEach(t=>{this[t]=e[t]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function oI(e,t){e.delete(t),t.childNodes?.forEach(t=>oI(e,t))}function oC(e,t,r){return 0!==e.length&&function(e,t,r){let n=t.parentNode;for(;n;){let t=r.getId(n);if(e.some(e=>e.id===t))return!0;n=n.parentNode}return!1}(e,t,r)}function oA(e,t){return 0!==e.size&&function e(t,r){let{parentNode:n}=r;return!!n&&(!!t.has(n)||e(t,n))}(e,t)}let oM=e=>_?(...t)=>{try{return e(...t)}catch(e){if(_&&!0===_(e))return()=>{};throw e}}:e,oN=[];function oD(e){try{if("composedPath"in e){let t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function oj(e,t){let r=new ok;oN.push(r),r.init(e);let n=window.MutationObserver||window.__rrMutationObserver,i=window?.Zone?.__symbol__?.("MutationObserver");i&&window[i]&&(n=window[i]);let o=new n(oM(t=>{e.onMutation&&!1===e.onMutation(t)||r.processMutations.bind(r)(t)}));return o.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}function oL({scrollCb:e,doc:t,mirror:r,blockClass:n,blockSelector:i,unblockSelector:o,sampling:a}){return i9("scroll",oM(or(oM(a=>{let s=oD(a);if(!s||ou(s,n,i,o,!0))return;let l=r.getId(s);if(s===t&&t.defaultView){let r=oo(t.defaultView);e({id:l,x:r.left,y:r.top})}else e({id:l,x:s.scrollLeft,y:s.scrollTop})}),a.scroll||100)),t)}let oU=["INPUT","TEXTAREA","SELECT"],oz=new WeakMap;function oF(e){var t=[];if(oY("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||oY("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||oY("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||oY("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){let r=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(r)}else if(e.parentStyleSheet){let r=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(r)}return t}function o$(e,t,r){let n,i;return e?(e.ownerNode?n=t.getId(e.ownerNode):i=r.getId(e),{styleId:i,id:n}):{}}function oB({mirror:e,stylesheetManager:t},r){let n=null;n="#document"===r.nodeName?e.getId(r):e.getId(r.host);let i="#document"===r.nodeName?r.defaultView?.Document:r.ownerDocument?.defaultView?.ShadowRoot,o=i?.prototype?Object.getOwnPropertyDescriptor(i?.prototype,"adoptedStyleSheets"):void 0;return null!==n&&-1!==n&&i&&o?(Object.defineProperty(r,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get(){return o.get?.call(this)},set(e){let r=o.set?.call(this,e);if(null!==n&&-1!==n)try{t.adoptStyleSheets(e,n)}catch(e){}return r}}),oM(()=>{Object.defineProperty(r,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get:o.get,set:o.set})})):()=>{}}function oH(e,t={}){let r,n=e.doc.defaultView;if(!n)return()=>{};e.recordDOM&&(r=oj(e,e.doc));let i=function({mousemoveCb:e,sampling:t,doc:r,mirror:n}){let i;if(!1===t.mousemove)return()=>{};let o="number"==typeof t.mousemove?t.mousemove:50,a="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500,s=[],l=or(oM(t=>{let r=Date.now()-i;e(s.map(e=>(e.timeOffset-=r,e)),t),s=[],i=null}),a),u=oM(or(oM(e=>
18{let t=oD(e),{clientX:r,clientY:o}=od(e)?e.changedTouches[0]:e;i||(i=oi()),s.push({x:r,y:o,id:n.getId(t),timeOffset:oi()-i}),l("undefined"!=typeof DragEvent&&e instanceof DragEvent?oE.Drag:e instanceof MouseEvent?oE.MouseMove:oE.TouchMove)}),o,{trailing:!1})),c=[i9("mousemove",u,r),i9("touchmove",u,r),i9("drag",u,r)];return oM(()=>{c.forEach(e=>e())})}(e),o=function({mouseInteractionCb:e,doc:t,mirror:r,blockClass:n,blockSelector:i,unblockSelector:o,sampling:a}){if(!1===a.mouseInteraction)return()=>{};let s=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,l=[],u=null;return Object.keys(ow).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEach(a=>{let s=iA(a),c=t=>{let s=oD(t);if(ou(s,n,i,o,!0))return;let l=null,c=a;if("pointerType"in t){switch(t.pointerType){case"mouse":l=oT.Mouse;break;case"touch":l=oT.Touch;break;case"pen":l=oT.Pen}l===oT.Touch?ow[a]===ow.MouseDown?c="TouchStart":ow[a]===ow.MouseUp&&(c="TouchEnd"):oT.Pen}else od(t)&&(l=oT.Touch);null!==l?(u=l,(c.startsWith("Touch")&&l===oT.Touch||c.startsWith("Mouse")&&l===oT.Mouse)&&(l=null)):ow[a]===ow.Click&&(l=u,u=null);let d=od(t)?t.changedTouches[0]:t;if(!d)return;let f=r.getId(s),{clientX:p,clientY:h}=d;oM(e)({type:ow[c],id:f,x:p,y:h,...null!==l&&{pointerType:l}})};if(window.PointerEvent)switch(ow[a]){case ow.MouseDown:case ow.MouseUp:s=s.replace("mouse","pointer");break;case ow.TouchStart:case ow.TouchEnd:return}l.push(i9(s,c,t))}),oM(()=>{l.forEach(e=>e())})}(e),a=oL(e),s=function({viewportResizeCb:e},{win:t}){let r=-1,n=-1;return i9("resize",oM(or(oM(()=>
18{let t=oa(),i=os();(r!==t||n!==i)&&(e({width:Number(i),height:Number(t)}),r=t,n=i)}),200)),t)}(e,{win:n}),l=function({inputCb:e,doc:t,mirror:r,blockClass:n,blockSelector:i,unblockSelector:o,ignoreClass:a,ignoreSelector:s,maskInputOptions:l,maskInputFn:u,sampling:c,userTriggeredOnInput:d,maskTextClass:f,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:m}){function g(e){let r=oD(e),c=e.isTrusted,g=r&&iM(r.tagName);if("OPTION"===g&&(r=r.parentElement),!r||!g||0>oU.indexOf(g)||ou(r,n,i,o,!0))return;let y=r;if(y.classList.contains(a)||s&&y.matches(s))return;let v=iD(r),b=ij(y,g,v),S=!1,E=iI({maskInputOptions:l,tagName:g,type:v}),w=i8(r,f,h,p,m,E);("radio"===v||"checkbox"===v)&&(S=r.checked),b=iC({isMasked:w,element:r,value:b,maskInputFn:u}),_(r,d?{text:b,isChecked:S,userTriggered:c}:{text:b,isChecked:S});let T=r.name;"radio"===v&&T&&S&&t.querySelectorAll(`input[type="radio"][name="${T}"]`).forEach(e=>{if(e!==r){let t=iC({isMasked:w,element:e,value:ij(e,g,v),maskInputFn:u});_(e,d?{text:t,isChecked:!S,userTriggered:!1}:{text:t,isChecked:!S})}})}function _(t,n){let i=oz.get(t);if(!i||i.text!==n.text||i.isChecked!==n.isChecked){oz.set(t,n);let i=r.getId(t);oM(e)({...n,id:i})}}let y=("last"===c.input?["change"]:["input","change"]).map(e=>i9(e,oM(g),t)),v=t.defaultView;if(!v)return()=>{y.forEach(e=>e())};let b=v.Object.getOwnPropertyDescriptor(v.HTMLInputElement.prototype,"value"),S=[[v.HTMLInputElement.prototype,"value"],[v.HTMLInputElement.prototype,"checked"],[v.HTMLSelectElement.prototype,"value"],[v.HTMLTextAreaElement.prototype,"value"],[v.HTMLSelectElement.prototype,"selectedIndex"],[v.HTMLOptionElement.prototype,"selected"]];return b&&b.set&&y.push(...S.map(e=>(function e(t,r,n,i,o=window){let a=o.Object.getOwnPropertyDescriptor(t,r);return o.Object.defineProperty(t,r,i?n:{set(e){ob(()=>{n.set.call(this,e)},0),a&&a.set&&a.set.call(this,e)}}),()=>e(t,r,a||{},!0)})(e[0],e[1],{set(){oM(g)({target:this,isTrusted:!1})}},!1,v))),oM(()=>{y.forEach(e=>e())})}(e),u=function({mediaInteractionCb:e,blockClass:t,blockSelector:r,unblockSelector:n,mirror:i,sampling:o,doc:a}){let s=oM(a=>or(oM(o=>{let s=oD(o);if(!s||ou(s,t,r,n,!0))return;let{currentTime:l,volume:u,muted:c,playbackRate:d}=s;e({type:a,id:i.getId(s),currentTime:l,volume:u,muted:c,playbackRate:d})}),o.media||500)),l=[i9("play",s(oR.Play),a),i9("pause",s(oR.Pause),a),i9("seeked",s(oR.Seeked),a),i9("volumechange",s(oR.VolumeChange),a),i9("ratechange",s(oR.RateChange),a)];return oM(()=>{l.forEach(e=>e())})}(e),c=()=>{},d=()=>{},f=()=>{},p=()=>{};e.recordDOM&&(c=function({styleSheetRuleCb:e,mirror:t,stylesheetManager:r},{win:n}){let i,o;if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};let a=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:oM((n,i,o)=>{let[a,s]=o,{id:l,styleId:u}=o$(i,t,r.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:a,index:s}]}),n.apply(i,o)})});let s=n.CSSStyleSheet.prototype.deleteRule;n.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:oM((n,i,o)=>{let[a]=o,{id:s,styleId:l}=o$(i,t,r.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:a}]}),n.apply(i,o)})}),n.CSSStyleSheet.prototype.replace&&(i=n.CSSStyleSheet.prototype.replace,n.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:oM((n,i,o)=>{let[a]=o,{id:s,styleId:l}=o$(i,t,r.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replace:a}),n.apply(i,o)})})),n.CSSStyleSheet.prototype.replaceSync&&(o=n.CSSStyleSheet.prototype.replaceSync,n.CSSStyleSheet.prototype.replaceSync=new Proxy(o,{apply:oM((n,i,o)=>{let[a]=o,{id:s,styleId:l}=o$(i,t,r.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replaceSync:a}),n.apply(i,o)})}));let l={};oW("CSSGroupingRule")?l.CSSGroupingRule=n.CSSGroupingRule:(oW("CSSMediaRule")&&(l.CSSMediaRule=n.CSSMediaRule),oW("CSSConditionRule")&&(l.CSSConditionRule=n.CSSConditionRule),oW("CSSSupportsRule")&&(l.CSSSupportsRule=n.CSSSupportsRule));let u={};return Object.entries(l).forEach(([n,i])=>{u[n]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(u[n].insertRule,{apply:oM((n,i,o)=>{let[a,s]=o,{id:l,styleId:u}=o$(i.parentStyleSheet,t,r.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:a,index:[...oF(i),s||0]}]}),n.apply(i,o)})}),i.prototype.deleteRule=new Proxy(u[n].deleteRule,{apply:oM((n,i,o)=>{let[a]=o,{id:s,styleId:l}=o$(i.parentStyleSheet,t,r.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:[...oF(i),a]}]}),n.apply(i,o)})})}),oM(()=>{n.CSSStyleSheet.prototype.insertRule=a,n.CSSStyleSheet.prototype.deleteRule=s,i&&(n.CSSStyleSheet.prototype.replace=i),o&&(n.CSSStyleSheet.prototype.replaceSync=o),Object.entries(l).forEach(([e,t])=>{t.prototype.insertRule=u[e].insertRule,t.prototype.deleteRule=u[e].deleteRule})})}(e,{win:n}),d=oB(e,e.doc),f=function({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:r,stylesheetManager:n},{win:i}){let o=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:oM((i,a,s)=>{let[l,u,c]=s;
18if(r.has(l))return o.apply(a,[l,u,c]);let{id:d,styleId:f}=o$(a.parentRule?.parentStyleSheet,t,n.styleMirror);return(d&&-1!==d||f&&-1!==f)&&e({id:d,styleId:f,set:{property:l,value:u,priority:c},index:oF(a.parentRule)}),i.apply(a,s)})});let a=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(a,{apply:oM((i,o,s)=>{let[l]=s;if(r.has(l))return a.apply(o,[l]);let{id:u,styleId:c}=o$(o.parentRule?.parentStyleSheet,t,n.styleMirror);return(u&&-1!==u||c&&-1!==c)&&e({id:u,styleId:c,remove:{property:l},index:oF(o.parentRule)}),i.apply(o,s)})}),oM(()=>{i.CSSStyleDeclaration.prototype.setProperty=o,i.CSSStyleDeclaration.prototype.removeProperty=a})}(e,{win:n}),e.collectFonts&&(p=function({fontCb:e,doc:t}){let r=t.defaultView;if(!r)return()=>{};let n=[],i=new WeakMap,o=r.FontFace;r.FontFace=function(e,t,r){let n=new o(e,t,r);return i.set(n,{family:e,buffer:"string"!=typeof t,descriptors:r,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};let a=on(t.fonts,"add",function(t){return function(r){return ob(oM(()=>{let t=i.get(r);t&&(e(t),i.delete(r))}),0),t.apply(this,[r])}});return n.push(()=>{r.FontFace=o}),n.push(a),oM(()=>{n.forEach(e=>e())})}(e)));let h=function(e){let{doc:t,mirror:r,blockClass:n,blockSelector:i,unblockSelector:o,selectionCb:a}=e,s=!0,l=oM(()=>{let e=t.getSelection();if(!e||s&&e?.isCollapsed)return;s=e.isCollapsed||!1;let l=[],u=e.rangeCount||0;for(let t=0;t<u;t++){let{startContainer:a,startOffset:s,endContainer:u,endOffset:c}=e.getRangeAt(t);ou(a,n,i,o,!0)||ou(u,n,i,o,!0)||l.push({start:r.getId(a),startOffset:s,end:r.getId(u),endOffset:c})}a({ranges:l})});return l(),i9("selectionchange",l)}(e),m=function({doc:e,customElementCb:t}){let r=e.defaultView;return r&&r.customElements?on(r.customElements,"define",function(e){return function(r,n,i){try{t({define:{name:r}})}catch(e){}return e.apply(this,[r,n,i])}}):()=>{}}(e),g=[];for(let t of e.plugins)g.push(t.observer(t.callback,n,t.options));return oM(()=>{oN.forEach(e=>e.reset()),r?.disconnect(),i(),o(),a(),s(),l(),u(),c(),d(),f(),p(),h(),m(),g.forEach(e=>e())})}function oY(e){return void 0!==window[e]}function oW(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class oq{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,t,r,n){let i=r||this.getIdToRemoteIdMap(e),o=n||this.getRemoteIdToIdMap(e),a=i.get(t);return a||(a=this.generateIdFn(),i.set(t,a),o.set(a,t)),a}getIds(e,t){let r=this.getIdToRemoteIdMap(e),n=this.getRemoteIdToIdMap(e);return t.map(t=>this.getId(e,t,r,n))}getRemoteId(e,t,r){let n=r||this.getRemoteIdToIdMap(e);if("number"!=typeof t)return t;let i=n.get(t);return i||-1}getRemoteIds(e,t){let r=this.getRemoteIdToIdMap(e);return t.map(t=>this.getRemoteId(e,t,r))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t}getRemoteIdToIdMap(e){let t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t}}class oG{constructor(){this.crossOriginIframeMirror=new oq(iW),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class oX{constructor(e){this.iframes=new WeakMap,this.crossOriginIframeMap=new WeakMap,this.crossOriginIframeMirror=new oq(iW),this.crossOriginIframeRootIdMap=new WeakMap,this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new oq(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&e.contentWindow?.addEventListener("message",this.handleMessage.bind(this)),this.loadListener?.(e);let r=oP(e);r&&r.adoptedStyleSheets&&r.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(r.adoptedStyleSheets,this.mirror.getId(r))}handleMessage(e){if("rrweb"!==e.data.type||e.origin!==e.data.origin||!e.source)return;let t=this.crossOriginIframeMap.get(e.source);if(!t)return;let r=this.transformCrossOriginEvent(t,e.data.event);r&&this.wrappedEmit(r,e.data.isCheckout)}transformCrossOriginEvent(e,t){switch(t.type){case oS.FullSnapshot:{this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);let r=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,r),this.patchRootIdOnNode(t.data.node,r),{timestamp:t.timestamp,type:oS.IncrementalSnapshot,data:{source:oE.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case oS.Meta:case oS.Load:case oS.DomContentLoaded:break;case oS.Plugin:return t;case oS.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case oS.IncrementalSnapshot:switch(t.data.source){case oE.Mutation:return t.data.adds.forEach(t=>{this.replaceIds(t,e,["parentId","nextId","previousId"]),this.replaceIdOnNode(t.node,e);let r=this.crossOriginIframeRootIdMap.get(e);r&&this.patchRootIdOnNode(t.node,r)}
18),t.data.removes.forEach(t=>{this.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(t=>{this.replaceIds(t,e,["id"])}),t.data.texts.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case oE.Drag:case oE.TouchMove:case oE.MouseMove:return t.data.positions.forEach(t=>{this.replaceIds(t,e,["id"])}),t;case oE.ViewportResize:return!1;case oE.MediaInteraction:case oE.MouseInteraction:case oE.Scroll:case oE.CanvasMutation:case oE.Input:return this.replaceIds(t.data,e,["id"]),t;case oE.StyleSheetRule:case oE.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case oE.Font:return t;case oE.Selection:return t.data.ranges.forEach(t=>{this.replaceIds(t,e,["start","end"])}),t;case oE.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),t.data.styles?.forEach(t=>{this.replaceStyleIds(t,e,["styleId"])}),t}}return!1}replace(e,t,r,n){for(let i of n)(Array.isArray(t[i])||"number"==typeof t[i])&&(Array.isArray(t[i])?t[i]=e.getIds(r,t[i]):t[i]=e.getId(r,t[i]));return t}replaceIds(e,t,r){return this.replace(this.crossOriginIframeMirror,e,t,r)}replaceStyleIds(e,t,r){return this.replace(this.crossOriginIframeStyleMirror,e,t,r)}replaceIdOnNode(e,t){this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(e=>{this.replaceIdOnNode(e,t)})}patchRootIdOnNode(e,t){e.type===iT.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(e=>{this.patchRootIdOnNode(e,t)})}}class oK{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class oJ{constructor(e){this.shadowDoms=new WeakSet,this.restoreHandlers=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(e,t){if(!iP(e)||this.shadowDoms.has(e))return;this.shadowDoms.add(e),this.bypassOptions.canvasManager.addShadowRoot(e);let r=oj({...this.bypassOptions,doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},e);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(oL({...this.bypassOptions,scrollCb:this.scrollCb,doc:e,mirror:this.mirror})),ob(()=>{e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,this.mirror.getId(e.host)),this.restoreHandlers.push(oB({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},e))},0)}observeAttachShadow(e){let t=oP(e),r=function(e){try{return e.contentWindow}catch(e){}}(e);t&&r&&this.patchAttachShadow(r.Element,t)}patchAttachShadow(e,t){let r=this;this.restoreHandlers.push(on(e.prototype,"attachShadow",function(e){return function(n){let i=e.call(this,n);return this.shadowRoot&&o_(this)&&r.addShadowRoot(this.shadowRoot,t),i}}))}reset(){this.restoreHandlers.forEach(e=>{try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet,this.bypassOptions.canvasManager.resetShadowRoots()}}for(var oV="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",oQ="undefined"==typeof Uint8Array?[]:new Uint8Array(256),oZ=0;oZ<oV.length;oZ++)oQ[oV.charCodeAt(oZ)]=oZ;class o0{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}addWindow(){}addShadowRoot(){}resetShadowRoots(){}}class o1{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new om,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,t){if(0===e.length)return;let r={id:t,styleIds:[]},n=[];for(let t of e){let e;this.styleMirror.has(t)?e=this.styleMirror.getId(t):(e=this.styleMirror.add(t),n.push({styleId:e,rules:Array.from(t.rules||CSSRule,(e,t)=>({rule:iO(e),index:t}))})),r.styleIds.push(e)}n.length>0&&(r.styles=n),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class o2{constructor(){this.nodeMap=new WeakMap,this.active=!1}inOtherBuffer(e,t){let r=this.nodeMap.get(e);return r&&Array.from(r).some(e=>e!==t)}add(e,t){this.active||(this.active=!0,function(...e){ov("requestAnimationFrame")(...e)}
18(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))}destroy(){}}try{if(2!==Array.from([1],e=>2*e)[0]){let e=document.createElement("iframe");document.body.appendChild(e),Array.from=e.contentWindow?.Array.from||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}let o3=new ik;function o5(e={}){let t,{emit:r,checkoutEveryNms:n,checkoutEveryNth:i,blockClass:o="rr-block",blockSelector:a=null,unblockSelector:s=null,ignoreClass:l="rr-ignore",ignoreSelector:u=null,maskAllText:c=!1,maskTextClass:d="rr-mask",unmaskTextClass:f=null,maskTextSelector:p=null,unmaskTextSelector:h=null,inlineStylesheet:m=!0,maskAllInputs:g,maskInputOptions:b,slimDOMOptions:S,maskAttributeFn:E,maskInputFn:w,maskTextFn:T,maxCanvasSize:R=null,packFn:P,sampling:x={},dataURLOptions:O={},mousemoveWait:k,recordDOM:I=!0,recordCanvas:C=!1,recordCrossOriginIframes:A=!1,recordAfter:M="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:N=!1,collectFonts:D=!1,inlineImages:j=!1,plugins:L,keepIframeSrcFn:U=()=>!1,ignoreCSSAttributes:z=new Set([]),errorHandler:F,onMutation:$,getCanvasManager:B}=e;_=F;let H=!A||window.parent===window,Y=!1;if(!H)try{window.parent.document&&(Y=!1)}catch(e){Y=!0}if(H&&!r)throw Error("emit function is required");if(!H&&!Y)return()=>{};void 0!==k&&void 0===x.mousemove&&(x.mousemove=k),o3.reset();let W=!0===g?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,radio:!0,checkbox:!0}:void 0!==b?b:{},q=!0===S||"all"===S?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===S,headMetaDescKeywords:"all"===S}:S||{};!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=(...e)=>{let t=e[0];if(!(0 in e))throw TypeError("1 argument is required");do if(this===t)return!0;while(t=t&&t.parentNode);return!1})}();let G=0,X=e=>{for(let t of L||[])t.eventProcessor&&(e=t.eventProcessor(e));return P&&!Y&&(e=P(e)),e};y=(e,o)=>{if(e.timestamp=oi(),oN[0]?.isFrozen()&&e.type!==oS.FullSnapshot&&(e.type!==oS.IncrementalSnapshot||e.data.source!==oE.Mutation)&&oN.forEach(e=>e.unfreeze()),H)r?.(X(e),o);else if(Y){let t={type:"rrweb",event:X(e),origin:window.location.origin,isCheckout:o};window.parent.postMessage(t,"*")}if(e.type===oS.FullSnapshot)t=e,G=0;else if(e.type===oS.IncrementalSnapshot){if(e.data.source===oE.Mutation&&e.data.isAttachIframe)return;G++;let r=i&&G>=i,o=n&&t&&e.timestamp-t.timestamp>n;(r||o)&&en(!0)}};let K=e=>{y({type:oS.IncrementalSnapshot,data:{source:oE.Mutation,...e}})},J=e=>y({type:oS.IncrementalSnapshot,data:{source:oE.Scroll,...e}}),V=e=>y({type:oS.IncrementalSnapshot,data:{source:oE.CanvasMutation,...e}}),Q=new o1({mutationCb:K,adoptedStyleSheetCb:e=>y({type:oS.IncrementalSnapshot,data:{source:oE.AdoptedStyleSheet,...e}})}),Z="boolean"==typeof __RRWEB_EXCLUDE_IFRAME__&&__RRWEB_EXCLUDE_IFRAME__?new oG:new oX({mirror:o3,mutationCb:K,stylesheetManager:Q,recordCrossOriginIframes:A,wrappedEmit:y});for(let e of L||[])e.getMirror&&e.getMirror({nodeMirror:o3,crossOriginIframeMirror:Z.crossOriginIframeMirror,crossOriginIframeStyleMirror:Z.crossOriginIframeStyleMirror});let ee=new o2,et=function(e,t){try{return e?e(t):new o0}catch{return console.warn("Unable to initialize CanvasManager"),new o0}}(B,{mirror:o3,win:window,mutationCb:e=>y({type:oS.IncrementalSnapshot,data:{source:oE.CanvasMutation,...e}}),recordCanvas:C,blockClass:o,blockSelector:a,unblockSelector:s,maxCanvasSize:R,sampling:x.canvas,dataURLOptions:O,errorHandler:F}),er="boolean"==typeof __RRWEB_EXCLUDE_SHADOW_DOM__&&__RRWEB_EXCLUDE_SHADOW_DOM__?new oK:new oJ({mutationCb:K,scrollCb:J,bypassOptions:{onMutation:$,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:c,maskTextClass:d,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:h,inlineStylesheet:m,maskInputOptions:W,dataURLOptions:O,maskAttributeFn:E,maskTextFn:T,maskInputFn:w,recordCanvas:C,inl
18ineImages:j,sampling:x,slimDOMOptions:q,iframeManager:Z,stylesheetManager:Q,canvasManager:et,keepIframeSrcFn:U,processedNodeManager:ee,ignoreCSSAttributes:z},mirror:o3}),en=(e=!1)=>{if(!I)return;y({type:oS.Meta,data:{href:window.location.href,width:os(),height:oa()}},e),Q.reset(),er.init(),oN.forEach(e=>e.lock());let t=function(e,t){let{mirror:r=new ik,blockClass:n="rr-block",blockSelector:i=null,unblockSelector:o=null,maskAllText:a=!1,maskTextClass:s="rr-mask",unmaskTextClass:l=null,maskTextSelector:u=null,unmaskTextSelector:c=null,inlineStylesheet:d=!0,inlineImages:f=!1,recordCanvas:p=!1,maskAllInputs:h=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:_,slimDOM:y=!1,dataURLOptions:v,preserveWhiteSpace:b,onSerialize:S,onIframeLoad:E,iframeLoadTimeout:w,onBlockedImageLoad:T,onStylesheetLoad:R,stylesheetLoadTimeout:P,keepIframeSrcFn:x=()=>!1,ignoreCSSAttributes:O=new Set([])}=t||{};return i7(e,{doc:e,mirror:r,blockClass:n,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:s,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:c,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===h?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0}:!1===h?{}:h,maskAttributeFn:m,maskTextFn:g,maskInputFn:_,slimDOMOptions:!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===y,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===y?{}:y,dataURLOptions:v,inlineImages:f,recordCanvas:p,preserveWhiteSpace:b,onSerialize:S,onIframeLoad:E,iframeLoadTimeout:w,onBlockedImageLoad:T,onStylesheetLoad:R,stylesheetLoadTimeout:P,keepIframeSrcFn:x,newlyAddedElement:!1,ignoreCSSAttributes:O})}(document,{mirror:o3,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:c,maskTextClass:d,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:h,inlineStylesheet:m,maskAllInputs:W,maskAttributeFn:E,maskInputFn:w,maskTextFn:T,slimDOM:q,dataURLOptions:O,recordCanvas:C,inlineImages:j,onSerialize:e=>{of(e,o3)&&Z.addIframe(e),op(e,o3)&&Q.trackLinkElement(e),oh(e)&&er.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{Z.attachIframe(e,t),e.contentWindow&&et.addWindow(e.contentWindow),er.observeAttachShadow(e)},onStylesheetLoad:(e,t)=>{Q.attachLinkElement(e,t)},onBlockedImageLoad:(e,t,{width:r,height:n})=>{K({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:{style:{width:`${r}px`,height:`${n}px`}}}]})},keepIframeSrcFn:U,ignoreCSSAttributes:z});if(!t)return console.warn("Failed to snapshot the document");y({type:oS.FullSnapshot,data:{node:t,initialOffset:oo(window)}}),oN.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Q.adoptStyleSheets(document.adoptedStyleSheets,o3.getId(document))};v=en;try{let e=[],t=e=>oM(oH)({onMutation:$,mutationCb:K,mousemoveCb:(e,t)=>y({type:oS.IncrementalSnapshot,data:{source:t,positions:e}}),mouseInteractionCb:e=>y({type:oS.IncrementalSnapshot,data:{source:oE.MouseInteraction,...e}}),scrollCb:J,viewportResizeCb:e=>y({type:oS.IncrementalSnapshot,data:{source:oE.ViewportResize,...e}}),inputCb:e=>y({type:oS.IncrementalSnapshot,data:{source:oE.Input,...e}}),mediaInteractionCb:e=>y({type:oS.IncrementalSnapshot,data:{source:oE.MediaInteraction,...e}}),styleSheetRuleCb:e=>y({type:oS.IncrementalSnapshot,data:{source:oE.StyleSheetRule,...e}}),styleDeclarationCb:e=>y({type:oS.IncrementalSnapshot,data:{source:oE.StyleDeclaration,...e}}),canvasMutationCb:V,fontCb:e=>y({type:oS.IncrementalSnapshot,data:{source:oE.Font,...e}}),selectionCb:e=>{y({type:oS.IncrementalSnapshot,data:{source:oE.Selection,...e}})},customElementCb:e=>{y({type:oS.IncrementalSnapshot,data:{source:oE.CustomElement,...e}})},blockClass:o,ignoreClass:l,ignoreSelector:u,maskAllText:c,maskTextClass:d,unmaskTextClass:f,maskTextSelector:p,unmaskTextSelector:h,maskInputOptions:W,inlineStylesheet:m,sampling:x,recordDOM:I,recordCanvas:C,inlineImages:j,userTriggeredOnInput:N,collectFonts:D,doc:e,maskAttributeFn:E,maskInputFn:w,maskTextFn:T,keepIframeSrcFn:U,blockSelector:a,unblockSelector:s,slimDOMOptions:q,dataURLOptions:O,mirror:o3,iframeManager:Z,stylesheetManager:Q,shadowDomManager:er,processedNodeManager:ee,canvasManager:et,ignoreCSSAttributes:z,plugins:L?.filter(e=>e.observer)?.map(e=>({observer:e.observer,options:e.options,callback:t=>y({type:oS.Plugin,data:{plugin:e.name,payload:t}}
18)}))||[]},{});Z.addLoadListener(r=>{try{e.push(t(r.contentDocument))}catch(e){console.warn(e)}});let r=()=>{en(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?r():(e.push(i9("DOMContentLoaded",()=>{y({type:oS.DomContentLoaded,data:{}}),"DOMContentLoaded"===M&&r()})),e.push(i9("load",()=>{y({type:oS.Load,data:{}}),"load"===M&&r()},window))),()=>{e.forEach(e=>e()),ee.destroy(),v=void 0,_=void 0}}catch(e){console.warn(e)}}function o4(e){return e>0x2540be3ff?e:1e3*e}function o8(e){return e>0x2540be3ff?e/1e3:e}function o6(e,t){"sentry.transaction"!==t.category&&(["ui.click","ui.input"].includes(t.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:oS.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:(0,V.S8)(t,10,1e3)}}),"console"===t.category)))}function o7(e){return e.closest("button,a")||e}function o9(e){let t=ae(e);return t&&t instanceof Element?o7(t):t}function ae(e){var t;return"object"==typeof(t=e)&&t&&"target"in t?e.target:e}o5.mirror=o3,o5.takeFullSnapshot=function(e){if(!v)throw Error("please take full snapshot after start recording");v(e)},!function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"}(w||(w={}));let at=new Set([oE.Mutation,oE.StyleSheetRule,oE.StyleDeclaration,oE.AdoptedStyleSheet,oE.CanvasMutation,oE.Selection,oE.MediaInteraction]);class ar{constructor(e,t,r=o6){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=t.timeout/1e3,this._threshold=t.threshold/1e3,this._scrollTimeout=t.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=t.ignoreSelector,this._addBreadcrumbEvent=r}addListeners(){var e;let t=(e=()=>{this._lastMutation=ai()},b||(b=[],(0,F.GS)(iv,"open",function(e){return function(...t){if(b)try{b.forEach(e=>e())}catch{}return e.apply(iv,t)}})),b.push(e),()=>{let t=b?b.indexOf(e):-1;t>-1&&b.splice(t,1)});this._teardown=()=>{t(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,t){var r,n,i;if(r=t,n=this._ignoreSelector,!an.includes(r.tagName)||"INPUT"===r.tagName&&!["submit","button"].includes(r.getAttribute("type")||"")||"A"===r.tagName&&(r.hasAttribute("download")||r.hasAttribute("target")&&"_self"!==r.getAttribute("target"))||n&&r.matches(n)||!((i=e).data&&"number"==typeof i.data.nodeId&&i.timestamp))return;let o={timestamp:o8(e.timestamp),clickBreadcrumb:e,clickCount:0,node:t};this._clicks.some(e=>e.node===o.node&&1>Math.abs(e.timestamp-o.timestamp))||(this._clicks.push(o),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=o8(e)}registerScroll(e=Date.now()){this._lastScroll=o8(e)}registerClick(e){let t=o7(e);this._handleMultiClick(t)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(t=>t.node===e)}_checkClicks(){let e=[],t=ai();for(let r of(this._clicks.forEach(r=>{!r.mutationAfter&&this._lastMutation&&(r.mutationAfter=r.timestamp<=this._lastMutation?this._lastMutation-r.timestamp:void 0),!r.scrollAfter&&this._lastScroll&&(r.scrollAfter=r.timestamp<=this._lastScroll?this._lastScroll-r.timestamp:void 0),r.timestamp+this._timeout<=t&&e.push(r)}),e)){let e=this._clicks.indexOf(r);e>-1&&(this._generateBreadcrumbs(r),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let t=this._replay,r=e.scrollAfter&&e.scrollAfter<=this._scrollTimeout,n=e.mutationAfter&&e.mutationAfter<=this._threshold,{clickCount:i,clickBreadcrumb:o}=e;if(!r&&!n){let r=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),n=r<1e3*this._timeout?"mutation":"timeout",a={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.slowClickDetected",data:{...o.data,url:iv.location.href,route:t.getCurrentRoute(),timeAfterClickMs:r,endReason:n,clickCount:i||1}};this._addBreadcrumbEvent(t,a);return}if(i>1){let e={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.multiClick",data:{...o.data,url:iv.location.href,route:t.getCurrentRoute(),clickCount:i,metric:!0}};this._addBreadcrumbEvent(t,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=t6(()=>this._checkClicks(),1e3)}}let an=["A","BUTTON","INPUT"];function ai(){return Date.now()/1e3}function ao(e){return{timestamp:Date.now()/1e3,type:"default",...e}}var aa=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(aa||{});let as=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]);function al(e,t){let r=o5.mirror.getId(e),n=r&&o5.mirror.getNode(r),i=n&&o5.mirror.getMeta(n),o=i&&i.type===aa.Element?i:null;return{message:t,data:o?{nodeId:r,node:{id:r,tagName:o.tagName,textContent:Array.from(o.childNodes).map(e=>
18e.type===aa.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:function(e){let t={};for(let r in!e["data-sentry-component"]&&e["data-sentry-element"]&&(e["data-sentry-component"]=e["data-sentry-element"]),e)if(as.has(r)){let n=r;("data-testid"===r||"data-test-id"===r)&&(n="testId"),t[n]=e[r]}return t}(o.attributes)}}:{}}}let au={resource:function(e){let{entryType:t,initiatorType:r,name:n,responseEnd:i,startTime:o,decodedBodySize:a,encodedBodySize:s,responseStatus:l,transferSize:u}=e;return["fetch","xmlhttprequest"].includes(r)?null:{type:`${t}.${r}`,start:af(o),end:af(i),name:n,data:{size:u,statusCode:l,decodedBodySize:a,encodedBodySize:s}}},paint:function(e){let{duration:t,entryType:r,name:n,startTime:i}=e,o=af(i);return{type:r,name:n,start:o,end:o+t,data:void 0}},navigation:function(e){let{entryType:t,name:r,decodedBodySize:n,duration:i,domComplete:o,encodedBodySize:a,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,domInteractive:u,loadEventStart:c,loadEventEnd:d,redirectCount:f,startTime:p,transferSize:h,type:m}=e;return 0===i?null:{type:`${t}.${m}`,start:af(p),end:af(o),name:r,data:{size:h,decodedBodySize:n,encodedBodySize:a,duration:i,domInteractive:u,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,loadEventStart:c,loadEventEnd:d,domComplete:o,redirectCount:f}}}};function ac(e,t){return({metric:r})=>void t.replayPerformanceEntries.push(e(r))}function ad(e){let t=au[e.entryType];return t?t(e):null}function af(e){return(((0,ed.k3)()||iv.performance.timeOrigin)+e)/1e3}function ap(e){let t=e.entries[e.entries.length-1];return ag(e,"largest-contentful-paint",t?.element?[t.element]:void 0)}function ah(e){let t=[],r=[];for(let n of e.entries)if(void 0!==n.sources){let e=[];for(let t of n.sources)if(t.node){r.push(t.node);let n=o5.mirror.getId(t.node);n&&e.push(n)}t.push({value:n.value,nodeIds:e.length?e:void 0})}return ag(e,"cumulative-layout-shift",r,t)}function am(e){let t=e.entries[e.entries.length-1];return ag(e,"interaction-to-next-paint",t?.target?[t.target]:void 0)}function ag(e,t,r,n){let i=e.value,o=e.rating,a=af(i);return{type:"web-vital",name:t,start:a,end:a,data:{value:i,size:i,rating:o,nodeIds:r?r.map(e=>o5.mirror.getId(e)):void 0,attributions:n}}}let a_="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,ay=["log","warn","error"],av="[Replay] ";function ab(e,t="info"){th({category:"console",data:{logger:"replay"},level:t,message:`${av}${e}`},{level:t})}let aS=function(){let e=!1,t=!1,r={exception:()=>void 0,infoTick:()=>void 0,setConfig:r=>{e=!!r.captureExceptions,t=!!r.traceInternals}};return a_?(ay.forEach(e=>{r[e]=(...r)=>{R.Yz[e](av,...r),t&&ab(r.join(""),tm(e))}}),r.exception=(n,...i)=>{i.length&&r.error&&r.error(...i),R.Yz.error(av,n),e?(0,O.Cp)(n,{mechanism:{handled:!0,type:"auto.function.replay.debug"}}):t&&ab(n,"error")},r.infoTick=(...e)=>{R.Yz.log(av,...e),t&&setTimeout(()=>ab(e[0]),0)}):ay.forEach(e=>{r[e]=()=>void 0}),r}();class aE extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class aw{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){let t=JSON.stringify(e).length;if(this._totalSize+=t,this._totalSize>2e7)throw new aE;this.events.push(e)}finish(){return new Promise(e=>{let t=this.events;this.clear(),e(JSON.stringify(t))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=this.events.map(e=>e.timestamp).sort()[0];return e?o4(e):null}}class aT{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,t)=>{this._worker.addEventListener("message",({data:r})=>{r.success?e():t()},{once:!0}),this._worker.addEventListener("error",e=>{t(e)},{once:!0})})),this._ensureReadyPromise}destroy(){a_&&aS.log("Destroying compression worker"),this._worker.terminate()}postMessage(e,t){let r=this._getAndIncrementId();return new Promise((n,i)=>{let o=({data:t})=>{if(t.method===e&&t.id===r){if(this._worker.removeEventListener("message",o),!t.success){a_&&aS.error("Error in compression worker: ",t.response),i(Error("Error in compression worker"));return}n(t.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:r,method:e,arg:t})})}_getAndIncrementId(){return this._id++}}class aR{constructor(e){this._worker=new aT(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this.waitForCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}
18addEvent(e){let t=o4(e.timestamp);(!this._earliestTimestamp||t<this._earliestTimestamp)&&(this._earliestTimestamp=t);let r=JSON.stringify(e);return(this._totalSize+=r.length,this._totalSize>2e7)?Promise.reject(new aE):this._sendEventToWorker(r)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,e=>{a_&&aS.exception(e,'Sending "clear" message to worker failed',e)})}getEarliestTimestamp(){return this._earliestTimestamp}_sendEventToWorker(e){return this._worker.postMessage("addEvent",e)}async _finishRequest(){let e=await this._worker.postMessage("finish");return this._earliestTimestamp=null,this._totalSize=0,e}}class aP{constructor(e){this._fallback=new aw,this._compression=new aR(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get waitForCheckout(){return this._used.waitForCheckout}get type(){return this._used.type}get hasEvents(){return this._used.hasEvents}get hasCheckout(){return this._used.hasCheckout}set hasCheckout(e){this._used.hasCheckout=e}set waitForCheckout(e){this._used.waitForCheckout=e}destroy(){this._fallback.destroy(),this._compression.destroy()}clear(){return this._used.clear()}getEarliestTimestamp(){return this._used.getEarliestTimestamp()}addEvent(e){return this._used.addEvent(e)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){a_&&aS.exception(e,"Failed to load the compression worker, falling back to simple buffer");return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:t,waitForCheckout:r}=this._fallback,n=[];for(let t of e)n.push(this._compression.addEvent(t));this._compression.hasCheckout=t,this._compression.waitForCheckout=r,this._used=this._compression;try{await Promise.all(n),this._fallback.clear()}catch(e){a_&&aS.exception(e,"Failed to add events when switching buffers.")}}}function ax(){try{return"sessionStorage"in iv&&!!iv.sessionStorage}catch{return!1}}function aO(e){return void 0!==e&&Math.random()<e}function ak(e){if(ax())try{iv.sessionStorage.setItem(ib,JSON.stringify(e))}catch{}}function aI(e){let t=Date.now(),r=e.id||(0,N.eJ)(),n=e.started||t,i=e.lastActivity||t,o=e.segmentId||0,a=e.sampled;return{id:r,started:n,lastActivity:i,segmentId:o,sampled:a,previousSessionId:e.previousSessionId,dirty:e.dirty||!1}}function aC({sessionSampleRate:e,allowBuffering:t,stickySession:r=!1},{previousSessionId:n}={}){let i=aI({sampled:aO(e)?"session":!!t&&"buffer",previousSessionId:n});return r&&ak(i),i}function aA(e,t,r=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=r}function aM(e,{maxReplayDuration:t,sessionIdleExpire:r,targetTime:n=Date.now()}){return aA(e.started,t,n)||aA(e.lastActivity,r,n)}function aN(e,{sessionIdleExpire:t,maxReplayDuration:r}){return!!aM(e,{sessionIdleExpire:t,maxReplayDuration:r})&&("buffer"!==e.sampled||0!==e.segmentId)}function aD({sessionIdleExpire:e,maxReplayDuration:t,previousSessionId:r},n){let i=n.stickySession&&function(){if(!ax())return null;try{let e=iv.sessionStorage.getItem(ib);if(!e)return null;let t=JSON.parse(e);return a_&&aS.infoTick("Loading existing session"),aI(t)}catch{return null}}();return i?aN(i,{sessionIdleExpire:e,maxReplayDuration:t})?(a_&&aS.infoTick("Session in sessionStorage is expired, creating new one..."),aC(n,{previousSessionId:i.id})):i:(a_&&aS.infoTick("Creating new session"),aC(n,{previousSessionId:r}))}function aj(e,t,r){return!!aU(e,t)&&(aL(e,t,r),!0)}async function aL(e,t,r){let{eventBuffer:n}=e;if(!n||n.waitForCheckout&&!r)return null;let i="buffer"===e.recordingMode;try{r&&i&&n.clear(),r&&(n.hasCheckout=!0,n.waitForCheckout=!1);let o=e.getOptions(),a=function(e,t){try{if("function"==typeof t&&e.type===oS.Custom)return t(e)}catch(e){return a_&&aS.exception(e,"An error occurred in the `beforeAddRecordingEvent` callback, skipping the event..."),null}return e}(t,o.beforeAddRecordingEvent);if(!a)return;return await n.addEvent(a)}
18catch(o){let t=o&&o instanceof aE,r=(0,z.KU)();if(r&&r.recordDroppedEvent(t?"buffer_overflow":"internal_sdk_error","replay"),t&&i)return n.clear(),n.waitForCheckout=!0,null;e.handleException(o),await e.stop({reason:t?"addEventSizeExceeded":"addEvent"})}}function aU(e,t){if(!e.eventBuffer||e.isPaused()||!e.isEnabled())return!1;let r=o4(t.timestamp);return!(r+e.timeouts.sessionIdlePause<Date.now())&&(!(r>e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(a_&&aS.infoTick(`Skipping event with timestamp ${r} because it is after maxReplayDuration`),!1))}function az(e){return"transaction"===e.type}function aF(e){return"feedback"===e.type}function a$(e){return!!e.category}function aB(){let e=(0,z.o5)().getPropagationContext().dsc;e&&delete e.replay_id;let t=(0,ea.Bk)();if(t){let e=(0,X.k1)(t);delete e.replay_id}}function aH(e,t){return t.map(({type:t,start:r,end:n,name:i,data:o})=>{let a=e.throttledAddEvent({type:oS.Custom,timestamp:r,data:{tag:"performanceSpan",payload:{op:t,description:i,startTimestamp:r,endTimestamp:n,data:o}}});return"string"==typeof a?Promise.resolve(null):a})}function aY(e,t){var r;e.isEnabled()&&null!==t&&(r=t.name,(!a_||!e.getOptions()._experiments.traceInternals)&&i_(r,(0,z.KU)())||e.addUpdate(()=>(aH(e,[t]),!0)))}function aW(e){if(!e)return;let t=new TextEncoder;try{if("string"==typeof e)return t.encode(e).length;if(e instanceof URLSearchParams)return t.encode(e.toString()).length;if(e instanceof FormData){let r=nM(e);return t.encode(r).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch{}}function aq(e){if(!e)return;let t=parseInt(e,10);return isNaN(t)?void 0:t}function aG(e,t){if(!e)return{headers:{},size:void 0,_meta:{warnings:[t]}};let r={...e._meta},n=r.warnings||[];return r.warnings=[...n,t],e._meta=r,e}function aX(e,t){if(!t)return null;let{startTimestamp:r,endTimestamp:n,url:i,method:o,statusCode:a,request:s,response:l}=t;return{type:e,start:r/1e3,end:n/1e3,name:i,data:{method:o,statusCode:a,request:s,response:l}}}function aK(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function aJ(e,t,r){if(!t&&0===Object.keys(e).length)return;if(!t)return{headers:e};if(!r)return{headers:e,size:t};let n={headers:e,size:t},{body:i,warnings:o}=function(e){if(!e||"string"!=typeof e)return{body:e};let t=e.length>15e4,r=function(e){let t=e[0],r=e[e.length-1];return"["===t&&"]"===r||"{"===t&&"}"===r}(e);if(t){let t=e.slice(0,15e4);return r?{body:t,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${t}…`,warnings:["TEXT_TRUNCATED"]}}if(r)try{return{body:JSON.parse(e)}}catch{}return{body:e}}(r);return n.body=i,o?.length&&(n._meta={warnings:o}),n}function aV(e,t){return Object.entries(e).reduce((r,[n,i])=>{let o=n.toLowerCase();return t.includes(o)&&e[n]&&(r[o]=i),r},{})}function aQ(e,t){let r=function(e,t=iv.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(iv.location.origin))return e;let r=new URL(e,t);if(r.origin!==new URL(t).origin)return e;let n=r.href;return!e.endsWith("/")&&n.endsWith("/")?n.slice(0,-1):n}(e);return(0,D.Xr)(r,t)}async function aZ(e,t,r){try{let n=await a0(e,t,r),i=aX("resource.fetch",n);aY(r.replay,i)}catch(e){a_&&aS.exception(e,"Failed to capture fetch breadcrumb")}}async function a0(e,t,r){let n=Date.now(),{startTimestamp:i=n,endTimestamp:o=n}=t,{url:a,method:s,status_code:l=0,request_body_size:u,response_body_size:c}=e.data,d=aQ(a,r.networkDetailAllowUrls)&&!aQ(a,r.networkDetailDenyUrls);return{startTimestamp:i,endTimestamp:o,url:a,method:s,statusCode:l,request:d?function({networkCaptureBodies:e,networkRequestHeaders:t},r,n){var i,o;let a=r?(i=r,o=t,1===i.length&&"string"!=typeof i[0]?a5(i[0],o):2===i.length?a5(i[1],o):{}):{};if(!e)return aJ(a,n,void 0);let[s,l]=nN(nD(r),aS),u=aJ(a,n,s);return l?aG(u,l):u}(r,t.input,u):aK(u),response:await a1(d,r,t.response,c)}}async function a1(e,{networkCaptureBodies:t,networkResponseHeaders:r},n,i){if(!e&&void 0!==i)return aK(i);let o=n?a3(n.headers,r):{};if(!n||!t&&void 0!==i)return aJ(o,i,void 0);let[a,s]=await a2(n),l=function(e,{networkCaptureBodies:t,responseBodySize:r,captureDetails:n,headers:i}){try{let o=e?.length&&void 0===r?aW(e):r;if(!n)return aK(o);if(t)return aJ(i,o,e);return aJ(i,o,void 0)}catch(e){return a_&&aS.exception(e,"Failed to serialize response body"),aJ(i,r,void 0)}}(a,{networkCaptureBodies:t,responseBodySize:i,captureDetails:e,headers:o});return s?aG(l,s):l}async function a2(e){let t=function(e){try{return e.clone()}catch(e){a_&&aS.exception(e,"Failed to clone response body")}}(e);if(!t)return[void 0,"BODY_PARSE_ERROR"];try{var r;return[await (r=t,new Promise((e,t)=>
18{let n=t6(()=>t(Error("Timeout while trying to read response body")),500);a4(r).then(t=>e(t),e=>t(e)).finally(()=>clearTimeout(n))}))]}catch(e){if(e instanceof Error&&e.message.indexOf("Timeout")>-1)return a_&&aS.warn("Parsing text body from response timed out"),[void 0,"BODY_PARSE_TIMEOUT"];return a_&&aS.exception(e,"Failed to get text body from response"),[void 0,"BODY_PARSE_ERROR"]}}function a3(e,t){let r={};return t.forEach(t=>{e.get(t)&&(r[t]=e.get(t))}),r}function a5(e,t){if(!e)return{};let r=e.headers;return r?r instanceof Headers?a3(r,t):Array.isArray(r)?{}:aV(r,t):{}}async function a4(e){return await e.text()}async function a8(e,t,r){try{let n=function(e,t,r){let n=Date.now(),{startTimestamp:i=n,endTimestamp:o=n,input:a,xhr:s}=t,{url:l,method:u,status_code:c=0,request_body_size:d,response_body_size:f}=e.data;if(!l)return null;if(!s||!aQ(l,r.networkDetailAllowUrls)||aQ(l,r.networkDetailDenyUrls)){let e=aK(d);return{startTimestamp:i,endTimestamp:o,url:l,method:u,statusCode:c,request:e,response:aK(f)}}let p=s[tP],h=p?aV(p.request_headers,r.networkRequestHeaders):{},m=aV(nj(s),r.networkResponseHeaders),[g,_]=r.networkCaptureBodies?nN(a,aS):[void 0],[y,v]=r.networkCaptureBodies?function(e){let t=[];try{return[e.responseText]}catch(e){t.push(e)}try{var r=e.response,n=e.responseType;try{if("string"==typeof r)return[r];if(r instanceof Document)return[r.body.outerHTML];if("json"===n&&r&&"object"==typeof r)return[JSON.stringify(r)];if(!r)return[void 0]}catch(e){return a_&&aS.exception(e,"Failed to serialize body",r),[void 0,"BODY_PARSE_ERROR"]}return a_&&aS.log("Skipping network body because of body type",r),[void 0,"UNPARSEABLE_BODY_TYPE"]}catch(e){t.push(e)}return a_&&aS.warn("Failed to get xhr response body",...t),[void 0]}(s):[void 0],b=aJ(h,d,g),S=aJ(m,f,y);return{startTimestamp:i,endTimestamp:o,url:l,method:u,statusCode:c,request:_?aG(b,_):b,response:v?aG(S,v):S}}(e,t,r),i=aX("resource.xhr",n);aY(r.replay,i)}catch(e){a_&&aS.exception(e,"Failed to capture xhr breadcrumb")}}async function a6(e){try{return Promise.all(aH(e,[function(e){let{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:r,usedJSHeapSize:n}}}}(iv.performance.memory)]))}catch{return[]}}let a7=T.O.navigator;async function a9({client:e,scope:t,replayId:r,event:n}){let i={event_id:r,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit("preprocessEvent",n,i);let o=await (0,ek.mG)(e.getOptions(),n,i,t,e,(0,z.rm)());if(!o)return null;e.emit("postprocessEvent",o,i),o.platform=o.platform||"javascript";let a=e.getSdkMetadata(),{name:s,version:l,settings:u}=a?.sdk||{};return o.sdk={...o.sdk,name:s||"sentry.javascript.unknown",version:l||"0.0.0",settings:u},o}async function se({recordingData:e,replayId:t,segmentId:r,eventContext:n,timestamp:i,session:o}){var a;let s,l=function({recordingData:e,headers:t}){let r,n=`${JSON.stringify(t)}
19`;if("string"==typeof e)r=`${n}${e}`;else{let t=new TextEncoder().encode(n);(r=new Uint8Array(t.length+e.length)).set(t),r.set(e,t.length)}return r}({recordingData:e,headers:{segment_id:r}}),{urls:u,errorIds:c,traceIds:d,initialTimestamp:f}=n,p=(0,z.KU)(),h=(0,z.o5)(),m=p?.getTransport(),g=p?.getDsn();if(!p||!m||!g||!o.sampled)return Promise.resolve({});let _={type:"replay_event",replay_start_timestamp:f/1e3,timestamp:i/1e3,error_ids:c,trace_ids:d,urls:u,replay_id:t,segment_id:r,replay_type:o.sampled},y=await a9({scope:h,client:p,replayId:t,event:_});if(!y)return p.recordDroppedEvent("event_processor","replay"),a_&&aS.log("An event processor returned `null`, will not send event."),Promise.resolve({});delete y.sdkProcessingMetadata;let v=(a=p.getOptions().tunnel,Q(en(y,er(y),a,g),[[{type:"replay_event"},y],[{type:"replay_recording",length:"string"==typeof l?new TextEncoder().encode(l).length:l.length},l]]));try{s=await m.send(v)}catch(t){let e=Error(iS);try{e.cause=t}catch{}throw e}let b=eP({},s);if(eR(b,"replay"))throw new sr(b);if("number"==typeof s.statusCode&&(s.statusCode<200||s.statusCode>=300))throw new st(s.statusCode);return s}
19class st extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class sr extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}class sn extends Error{constructor(){super("Session is too long, not sending replay")}}async function si(e,t={count:0,interval:5e3}){let{recordingData:r,onError:n}=e;if(r.length)try{return await se(e),!0}catch(r){if(r instanceof st||r instanceof sr)throw r;if((0,O.o)("Replays",{_retryCount:t.count}),n&&n(r),t.count>=3){let e=Error(`${iS} - max retries exceeded`);try{e.cause=r}catch{}throw e}return t.interval*=++t.count,new Promise((r,n)=>{t6(async()=>{try{await si(e,t),r(!0)}catch(e){n(e)}},t.interval)})}}let so="__THROTTLED";class sa{constructor({options:e,recordingOptions:t}){this.eventBuffer=null,this.performanceEntries=[],this.replayPerformanceEntries=[],this.recordingMode="session",this.timeouts={sessionIdlePause:3e5,sessionIdleExpire:9e5},this._lastActivity=Date.now(),this._isEnabled=!1,this._isPaused=!1,this._requiresManualStart=!1,this._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,r){let n,i,o,a=r?.maxWait?Math.max(r.maxWait,t):0,s=r?.setTimeoutImpl||setTimeout;function l(){return u(),n=e()}function u(){void 0!==i&&clearTimeout(i),void 0!==o&&clearTimeout(o),i=o=void 0}function c(){return i&&clearTimeout(i),i=s(l,t),a&&void 0===o&&(o=s(l,a)),n}return c.cancel=u,c.flush=function(){return void 0!==i||void 0!==o?l():n},c}(()=>this._flush(),this._options.flushMinDelay,{...{maxWait:this._options.flushMaxDelay},setTimeoutImpl:t6}),this._throttledAddEvent=function(e,t,r){let n=new Map,i=!1;return(...t)=>{let r=Math.floor(Date.now()/1e3),o=r-5;if(n.forEach((e,t)=>{t<o&&n.delete(t)}),[...n.values()].reduce((e,t)=>e+t,0)>=300){let e=i;return i=!0,e?"__SKIPPED":so}i=!1;let a=n.get(r)||0;return n.set(r,a+1),e(...t)}}((e,t)=>(function(e,t,r){return aU(e,t)?aL(e,t,r):Promise.resolve(null)})(this,e,t),0,0);let{slowClickTimeout:r,slowClickIgnoreSelectors:n}=this.getOptions(),i=r?{threshold:Math.min(3e3,r),timeout:r,scrollTimeout:300,ignoreSelector:n?n.join(","):""}:void 0;if(i&&(this.clickDetector=new ar(this,i)),a_){let t=e._experiments;aS.setConfig({captureExceptions:!!t.captureExceptions,traceInternals:!!t.traceInternals})}this._handleVisibilityChange=()=>{"visible"===iv.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()},this._handleWindowBlur=()=>{let e=ao({category:"ui.blur"});this._doChangeToBackgroundTasks(e)},this._handleWindowFocus=()=>{let e=ao({category:"ui.focus"});this._doChangeToForegroundTasks(e)},this._handleKeyboardEvent=e=>{!function(e,t){if(!e.isEnabled())return;e.updateUserActivity();let r=function(e){var t;let{metaKey:r,shiftKey:n,ctrlKey:i,altKey:o,key:a,target:s}=e;if(!s||"INPUT"===(t=s).tagName||"TEXTAREA"===t.tagName||t.isContentEditable||!a)return null;let l=r||i||o,u=1===a.length;if(!l&&u)return null;let c=(0,e2.Hd)(s,{maxStringLength:200})||"<unknown>",d=al(s,c);return ao({category:"ui.keyDown",message:c,data:{...d.data,metaKey:r,shiftKey:n,ctrlKey:i,altKey:o,key:a}})}(t);r&&o6(e,r)}(this,e)}}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}handleException(e){a_&&aS.exception(e),this._options.onError&&this._options.onError(e)}initializeSampling(e){let{errorSampleRate:t,sessionSampleRate:r}=this._options,n=t<=0&&r<=0;if(this._requiresManualStart=n,!n){if(this._initializeSessionForSampling(e),!this.session){a_&&aS.exception(Error("Unable to initialize and create session"));return}!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",a_&&aS.infoTick(`Starting replay in ${this.recordingMode} mode`),this._initializeRecording())}}start(){if(this._isEnabled&&"session"===this.recordingMode){a_&&aS.log("Recording is already in progress");return}if(this._isEnabled&&"buffer"===this.recordingMode){a_&&aS.log("Buffering is in progress, call `flush()` to save the replay");return}a_&&aS.infoTick("Starting replay in session mode"),this._updateUserActivity();let e=aD({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this.recordingMode="session",this._initializeRecording()}
19startBuffering(){if(this._isEnabled){a_&&aS.log("Buffering is in progress, call `flush()` to save the replay");return}a_&&aS.infoTick("Starting replay in buffer mode");let e=aD({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{var e;let t,r=this._canvas;this._stopRecording=o5({...this._recordingOptions,..."buffer"===this.recordingMode?{checkoutEveryNms:6e4}:this._options._experiments.continuousCheckout&&{checkoutEveryNms:Math.max(36e4,this._options._experiments.continuousCheckout)},emit:(e=this,t=!1,(r,n)=>{if(!e.checkAndHandleExpiredSession()){a_&&aS.warn("Received replay event after session expired.");return}let i=n||!t;t=!0,e.clickDetector&&function(e,t){try{var r;if(r=t,3!==r.type)return;let{source:n}=t.data;if(at.has(n)&&e.registerMutation(t.timestamp),n===oE.Scroll&&e.registerScroll(t.timestamp),t.data.source===oE.MouseInteraction){let{type:r,id:n}=t.data,i=o5.mirror.getNode(n);i instanceof HTMLElement&&r===ow.Click&&e.registerClick(i)}}catch{}}(e.clickDetector,r),e.addUpdate(()=>{var t;if("buffer"===e.recordingMode&&i&&e.setInitialState(),!aj(e,r,i))return!0;if(!i)return!1;let n=e.session;if(t=e,i&&t.session&&0===t.session.segmentId&&aj(t,function(e){let t=e.getOptions();return{type:oS.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:t.sessionSampleRate,errorSampleRate:t.errorSampleRate,useCompressionOption:t.useCompression,blockAllMedia:t.blockAllMedia,maskAllText:t.maskAllText,maskAllInputs:t.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:t.networkDetailAllowUrls.length>0,networkCaptureBodies:t.networkCaptureBodies,networkRequestHasHeaders:t.networkRequestHeaders.length>0,networkResponseHasHeaders:t.networkResponseHeaders.length>0}}}}(t),!1),"buffer"===e.recordingMode&&n&&e.eventBuffer&&!n.dirty){let t=e.eventBuffer.getEarliestTimestamp();t&&(a_&&aS.log(`Updating session start time to earliest event in buffer to ${new Date(t)}`),n.started=t,e.getOptions().stickySession&&ak(n))}return!!n?.previousSessionId||("session"===e.recordingMode&&e.flush(),!0)})}),.../iPhone|iPad|iPod/i.test(a7?.userAgent??"")||/Macintosh/i.test(a7?.userAgent??"")&&a7?.maxTouchPoints&&a7?.maxTouchPoints>1?{sampling:{mousemove:!1}}:{},onMutation:this._onMutationHandler.bind(this),...r?{recordCanvas:r.recordCanvas,getCanvasManager:r.getCanvasManager,sampling:r.sampling,dataURLOptions:r.dataURLOptions}:{}})}catch(e){this.handleException(e)}}stopRecording(){try{return this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0),!0}catch(e){return this.handleException(e),!1}}async stop({forceFlush:e=!1,reason:t}={}){if(this._isEnabled){this._isEnabled=!1,this.recordingMode="buffer";try{a_&&aS.log(`Stopping Replay${t?` triggered by ${t}`:""}`),aB(),this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer?.destroy(),this.eventBuffer=null,function(){if(ax())try{iv.sessionStorage.removeItem(ib)}catch{}}(),this.session=void 0}catch(e){this.handleException(e)}}}pause(){!this._isPaused&&(this._isPaused=!0,this.stopRecording(),a_&&aS.log("Pausing replay"))}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),a_&&aS.log("Resuming replay"))}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();let t=Date.now();a_&&aS.log("Converting buffer to session"),await this.flushImmediate();let r=this.stopRecording();e&&r&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this.session.dirty=!1,this._updateUserActivity(t),this._updateSessionActivity(t),this._maybeSaveSession()),this.startRecording())}addUpdate(e){let t=e();"buffer"!==this.recordingMode&&this._isEnabled&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),!this._stopRecording){if(!this._checkSession())return;this.resume();return}this.checkAndHandleExpiredSession(),this._updateSessionActivity()}updateUserActivity(){this._updateUserActivity(),this._updateSessionActivity()}conditionalFlush(){return"buffer"===this.recordingMode?Promise.resolve():this.flushImmediate()}flush(){return this._debouncedFlush()}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}cancelFlush(){this._debouncedFlush.cancel()}getSessionId(e){if(!e||this.session?.sampled!==!1)return this.session?.id}
19checkAndHandleExpiredSession(){return this._lastActivity&&aA(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled?void this.pause():!!this._checkSession()}setInitialState(){let e=`${iv.location.pathname}${iv.location.hash}${iv.location.search}`,t=`${iv.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=Date.now(),this._context.urls.push(t)}throttledAddEvent(e,t){let r=this._throttledAddEvent(e,t);if(r===so){let e=ao({category:"replay.throttled"});this.addUpdate(()=>!aj(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return r}getCurrentRoute(){let e=this.lastActiveSpan||(0,ea.Bk)(),t=e&&(0,ea.zU)(e),r=(t&&(0,ea.et)(t).data||{})[B.i_];if(t&&r&&["route","custom"].includes(r))return(0,ea.et)(t).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:t}){if(e&&window.Worker){let e=function(e){try{let t=e||function(){if("undefined"==typeof __SENTRY_EXCLUDE_REPLAY_WORKER__||!__SENTRY_EXCLUDE_REPLAY_WORKER__){let e=new Blob(['
vendor: 10,329 bytes, line 19
19var t=Uint8Array,n=Uint16Array,r=Int32Array,e=new t([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new t([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),s=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),a=function(t,e){for(var i=new n(31),s=0;s<31;++s)i[s]=e+=1<<t[s-1];var a=new r(i[30]);for(s=1;s<30;++s)for(var o=i[s];o<i[s+1];++o)a[o]=o-i[s]<<5|s;return{b:i,r:a}},o=a(e,2),h=o.b,f=o.r;h[28]=258,f[258]=28;for(var l=a(i,0).r,u=new n(32768),c=0;c<32768;++c){var v=(43690&c)>>1|(21845&c)<<1;v=(61680&(v=(52428&v)>>2|(13107&v)<<2))>>4|(3855&v)<<4,u[c]=((65280&v)>>8|(255&v)<<8)>>1}var d=function(t,r,e){for(var i=t.length,s=0,a=new n(r);s<i;++s)t[s]&&++a[t[s]-1];var o,h=new n(r);for(s=1;s<r;++s)h[s]=h[s-1]+a[s-1]<<1;if(e){o=new n(1<<r);var f=15-r;for(s=0;s<i;++s)if(t[s])for(var l=s<<4|t[s],c=r-t[s],v=h[t[s]-1]++<<c,d=v|(1<<c)-1;v<=d;++v)o[u[v]>>f]=l}else for(o=new n(i),s=0;s<i;++s)t[s]&&(o[s]=u[h[t[s]-1]++]>>15-t[s]);return o},p=new t(288);for(c=0;c<144;++c)p[c]=8;for(c=144;c<256;++c)p[c]=9;for(c=256;c<280;++c)p[c]=7;for(c=280;c<288;++c)p[c]=8;var g=new t(32);for(c=0;c<32;++c)g[c]=5;var w=d(p,9,0),y=d(g,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==e||e>n.length)&&(e=n.length),new t(n.subarray(r,e))},M=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],E=function(t,n,r){var e=new Error(n||M[t]);if(e.code=t,Error.captureStackTrace&&Error.captureStackTrace(e,E),!r)throw e;return e},z=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8},_=function(t,n,r){r<<=7&n;var e=n/8|0;t[e]|=r,t[e+1]|=r>>8,t[e+2]|=r>>16},x=function(r,e){for(var i=[],s=0;s<r.length;++s)r[s]&&i.push({s:s,f:r[s]});var a=i.length,o=i.slice();if(!a)return{t:F,l:0};if(1==a){var h=new t(i[0].s+1);return h[i[0].s]=1,{t:h,l:1}}i.sort(function(t,n){return t.f-n.f}),i.push({s:-1,f:25001});var f=i[0],l=i[1],u=0,c=1,v=2;for(i[0]={s:-1,f:f.f+l.f,l:f,r:l};c!=a-1;)f=i[i[u].f<i[v].f?u++:v++],l=i[u!=c&&i[u].f<i[v].f?u++:v++],i[c++]={s:-1,f:f.f+l.f,l:f,r:l};var d=o[0].s;for(s=1;s<a;++s)o[s].s>d&&(d=o[s].s);var p=new n(d+1),g=A(i[c-1],p,0);if(g>e){s=0;var w=0,y=g-e,m=1<<y;for(o.sort(function(t,n){return p[n.s]-p[t.s]||t.f-n.f});s<a;++s){var b=o[s].s;if(!(p[b]>e))break;w+=m-(1<<g-p[b]),p[b]=e}for(w>>=y;w>0;){var M=o[s].s;p[M]<e?w-=1<<e-p[M]++-1:++s}for(;s>=0&&w;--s){var E=o[s].s;p[E]==e&&(--p[E],++w)}g=e}return{t:new t(p),l:g}},A=function(t,n,r){return-1==t.s?Math.max(A(t.l,n,r+1),A(t.r,n,r+1)):n[t.s]=r},D=function(t){for(var r=t.length;r&&!t[--r];);for(var e=new n(++r),i=0,s=t[0],a=1,o=function(t){e[i++]=t},h=1;h<=r;++h)if(t[h]==s&&h!=r)++a;else{if(!s&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(s),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(s);a=1,s=t[h]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e<n.length;++e)r+=t[e]*n[e];return r},k=function(t,n,r){var e=r.length,i=m(n+2);t[i]=255&e,t[i+1]=e>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var s=0;s<e;++s)t[i+s+4]=r[s];return 8*(i+4+e)},U=function(t,r,a,o,h,f,l,u,c,v,m){z(r,m++,a),++h[256];for(var b=x(h,15),M=b.t,E=b.l,A=x(f,15),U=A.t,C=A.l,F=D(M),I=F.c,S=F.n,L=D(U),O=L.c,j=L.n,q=new n(19),B=0;B<I.length;++B)++q[31&I[B]];for(B=0;B<O.length;++B)++q[31&O[B]];for(var G=x(q,7),H=G.t,J=G.l,K=19;K>4&&!H[s[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(h,p)+T(f,g)+l,X=T(h,M)+T(f,U)+l+14+3*K+T(q,H)+2*q[16]+3*q[17]+7*q[18];if(c>=0&&V<=W&&V<=X)return k(r,m,t.subarray(c,c+v));if(z(r,m,1+(X<W)),m+=2,X<W){N=d(M,E,0),P=M,Q=d(U,C,0),R=U;var Y=d(H,J,0);z(r,m,S-257),z(r,m+5,j-1),z(r,m+10,K-4),m+=14;for(B=0;B<K;++B)z(r,m+3*B,H[s[B]]);m+=3*K;for(var Z=[I,O],$=0;$<2;++$){var tt=Z[$];for(B=0;B<tt.length;++B){var nt=31&tt[B];z(r,m,Y[nt]),m+=H[nt],nt>15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=w,P=p,Q=y,R=g;for(B=0;B<u;++B){var rt=o[B];if(rt>255){_(r,m,N[(nt=rt>>18&31)+257]),m+=P[nt+257],nt>7&&(z(r,m,rt>>23&31),m+=e[nt]);var et=31&rt;_(r,m,Q[et]),m+=R[et],et>3&&(_(r,m,rt>>5&8191),m+=i[et])}else _(r,m,N[rt]),m+=P[rt]}return _(r,m,N[256]),m+P[256]},C=new r([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),F=new t(0),I=function(){for(var t=new Int32Array(256),n=0;n<256;++n){for(var r=n,e=9;--e;)r=(1&r&&-306674912)^r>>>1;t[n]=r}return t}(),S=function(){var t=1,n=0;return{p:function(r){for(var e=t,i=n,s=0|r.length,a=0;a!=s;){for(var o=Math.min(a+2655,s);a<o;++a)i+=e+=r[a];e=(65535&e)+15*(e>>16),i=(65535&i)+15*(i>>16)}t=e,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},L=function(s,a,o,h,u){if(!u&&(u={l:1},a.dictionary)){var c=a.dictionary.subarray(-32768),v=new t(c.length+s.length);v.set(c),v.set(s,c.length),s=v,u.w=c.length}return function(s,a,o,h,u,c){var v=c.z||s.length,d=new t(h+v+5*(1+Math.ceil(v/7e3))+u),p=d.subarray(h,d.length-u),g=c.l,w=7&(c.r||0);if(a){w&&(p[0]=c.r>>3);for(var y=C[a-1],M=y>>13,E=8191&y,z=(1<<o)-1,_=c.p||new n(32768),x=c.h||new n(z+1),A=Math.ceil(o/3),D=2*A,T=function(t){return(s[t]^s[t+1]<<A^s[t+2]<<D)&z},F=new r(25e3),I=new n(288),S=new n(32),L=0,O=0,j=c.i||0,q=0,B=c.w||0,G=0;j+2<v;++j){var H=T(j),J=32767&j,K=x[H];if(_[J]=K,x[H]=J,B<=j){var N=v-j;if((L>7e3||q>24576)&&(N>423||!g)){w=U(s,p,0,F,I,S,O,q,G,j-G,w),q=L=O=0,G=j;for(var P=0;P<286;++P)I[P]=0;for(P=0;P<30;++P)S[P]=0}var Q=2,R=0,V=E,W=J-K&32767;if(N>2&&H==T(j-W))for(var X=Math.min(M,N)-1,Y=Math.min(32767,j),Z=Math.min(258,N);W<=Y&&--V&&J!=K;){if(s[j+Q]==s[j+Q-W]){for(var $=0;$<Z&&s[j+$]==s[j+$-W];++$);if($>Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;P<tt;++P){var rt=j-W+P&32767,et=rt-_[rt]&32767;et>nt&&(nt=et,K=rt)}}}W+=(J=K)-(K=_[J])&32767}if(R){F[q++]=268435456|f[Q]<<18|l[R];var it=31&f[Q],st=31&l[R];O+=e[it]+i[st],++I[257+it],++S[st],B=j+Q,++L}else F[q++]=s[j],++I[s[j]]}}for(j=Math.max(j,B);j<v;++j)F[q++]=s[j],++I[s[j]];w=U(s,p,g,F,I,S,O,q,G,j-G,w),g||(c.r=7&w|p[w/8|0]<<3,w-=7,c.h=x,c.p=_,c.i=j,c.w=B)}else{for(j=c.w||0;j<v+g;j+=65535){var at=j+65535;at>=v&&(p[w/8|0]=g,at=v),w=k(p,w+1,s.subarray(j,at))}c.i=v}return b(d,0,h+m(w)+u)}(s,null==a.level?6:a.level,null==a.mem?u.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(s.length)))):20:12+a.mem,o,h,u)},O=function(t,n,r){for(;r;++n)t[n]=r,r>>>=8},j=function(){function n(n,r){if("function"==typeof n&&(r=n,n={}),this.ondata=r,this.o=n||{},this.s={l:0,i:32768,w:32768,z:32768},this.b=new t(98304),this.o.dictionary){var e=this.o.dictionary.subarray(-32768);this.b.set(e,32768-e.length),this.s.i=32768-e.length}}return n.prototype.p=function(t,n){this.ondata(L(t,this.o,0,0,this.s),n)},n.prototype.push=function(n,r){this.ondata||E(5),this.s.l&&E(4);var e=n.length+this.s.z;if(e>this.b.length){if(e>2*this.b.length-32768){var i=new t(-32768&e);i.set(this.b.subarray(0,this.s.z)),this.b=i}var s=this.b.length-this.s.z;this.b.set(n.subarray(0,s),this.s.z),this.s.z=this.b.length,this.p(this.b,!1),this.b.set(this.b.subarray(-32768)),this.b.set(n.subarray(s),32768),this.s.z=n.length-s+32768,this.s.i=32766,this.s.w=32768}else this.b.set(n,this.s.z),this.s.z+=n.length;this.s.l=1&r,(this.s.z>this.s.w+8191||r)&&(this.p(this.b,r||!1),this.s.w=this.s.i,this.s.i-=2)},n.prototype.flush=function(){this.ondata||E(5),this.s.l&&E(4),this.p(this.b,!1),this.s.w=this.s.i,this.s.i-=2},n}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e<n.length;++e)r=I[255&r^n[e]]^r>>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,s=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),a=s.length;return function(t,n){var r=n.filename;if(t[0]=31,t[1]=139,t[2]=8,t[8]=n.level<2?4:9==n.level?2:0,t[9]=3,0!=n.mtime&&O(t,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),r){t[3]=8;for(var e=0;e<=r.length;++e)t[e+10]=r.charCodeAt(e)}}(s,n),O(s,a-8,r.d()),O(s,a-4,e),s}var B=function(){function t(t,n){this.c=S(),this.v=1,j.call(this,t,n)}return t.prototype.push=function(t,n){this.c.p(t),j.prototype.push.call(this,t,n)},t.prototype.p=function(t,n){var r=L(t,this.o,this.v&&(this.o.dictionary?6:2),n&&4,this.s);this.v&&(function(t,n){var r=n.level,e=0==r?0:r<6?1:9==r?3:2;if(t[0]=120,t[1]=e<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=S();i.p(n.dictionary),O(t,2,i.d())}}(r,this.o),this.v=0),n&&O(r,r.length-4,this.c.d()),this.ondata(r,n)},t.prototype.flush=function(){j.prototype.flush.call(this)},t}(),G="undefined"!=typeof TextEncoder&&new TextEncoder,H="undefined"!=typeof TextDecoder&&new TextDecoder;try{H.decode(F,{stream:!0})}catch(t){}var J=function(){function t(t){this.ondata=t}return t.prototype.push=function(t,n){this.ondata||E(5),this.d&&E(4),this.ondata(K(t),this.d=n||!1)},t}();function K(n,r){if(G)return G.encode(n);for(var e=n.length,i=new t(n.length+(n.length>>1)),s=0,a=function(t){i[s++]=t},o=0;o<e;++o){if(s+5>i.length){var h=new t(s+8+(e-o<<1));h.set(i),i=h}var f=n.charCodeAt(o);f<128||r?a(f):f<2048?(a(192|f>>6),a(128|63&f)):f>55295&&f<57344?(a(240|(f=65536+(1047552&f)|1023&n.charCodeAt(++o))>>18),a(128|f>>12&63),a(128|f>>6&63),a(128|63&f)):(a(224|f>>12),a(128|f>>6&63),a(128|63&f))}return b(i,0,s)}const N=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const n=this._hasEvents?",":"";this.stream.push(n+t),this._hasEvents=!0}finish(){this.stream.push("]",!0);const t=function(t){let n=0;for(const r of t)n+=r.length;const r=new Uint8Array(n);for(let n=0,e=0,i=t.length;n<i;n++){const i=t[n];r.set(i,e),e+=i.length}return r}(this._deflatedData);return this._init(),t}_init(){this._hasEvents=!1,this._deflatedData=[],this.deflate=new B,this.deflate.ondata=(t,n)=>{this._deflatedData.push(t)},this.stream=new J((t,n)=>{this.deflate.push(t,n)}),this.stream.push("[")}},P={clear:()=>{N.clear()},addEvent:t=>N.addEvent(t),finish:()=>N.finish(),compress:t=>function(t){return q(K(t))}(t)};addEventListener("message",function(t){const n=t.data.method,r=t.data.id,e=t.data.arg;if(n in P&&"function"==typeof P[n])try{const t=P[n](e);postMessage({id:r,method:n,success:!0,response:t})}catch(t){postMessage({id:r,method:n,success:!1,response:t.message}),console.error(t)}}),postMessage({id:void 0,method:"init",success:!0,response:void 0});
19']);return URL.createObjectURL(e)}return""}();if(!t)return;a_&&aS.log(`Using compression worker${e?` from ${e}`:""}`);let r=new Worker(t);return new aP(r)}catch(e){a_&&aS.exception(e,"Failed to create compression worker")}}(t);if(e)return e}return a_&&aS.log("Using simple buffer"),new aw}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_initializeSessionForSampling(e){let t=this._options.errorSampleRate>0,r=aD({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:t});this.session=r}_checkSession(){if(!this.session)return!1;let e=this.session;return!aN(e,{sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration})||(this._refreshSession(e),!1)}async _refreshSession(e){this._isEnabled&&(await this.stop({reason:"refresh session"}),this.initializeSampling(e.id))}_addListeners(){try{iv.document.addEventListener("visibilitychange",this._handleVisibilityChange),iv.addEventListener("blur",this._handleWindowBlur),iv.addEventListener("focus",this._handleWindowFocus),iv.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(!function(e){let t=(0,z.KU)();tw(t=>{var r,n;if(!e.isEnabled())return;let i=function(e){let{target:t,message:r}=function(e){let t,r="click"===e.name,n=null;try{n=r?o9(e.event):ae(e.event),t=(0,e2.Hd)(n,{maxStringLength:200})||"<unknown>"}catch{t="<unknown>"}return{target:n,message:t}}(e);return ao({category:`ui.${e.name}`,...al(t,r)})}(t);if(!i)return;let o="click"===t.name,a=o?t.event:void 0;o&&e.clickDetector&&a?.target&&!a.altKey&&!a.metaKey&&!a.ctrlKey&&!a.shiftKey&&(r=e.clickDetector,n=o9(t.event),r.handleClick(i,n)),o6(e,i)}),tk(t=>{if(!e.isEnabled())return;let r=function(e){let{from:t,to:r}=e,n=Date.now()/1e3;return{type:"navigation.push",start:n,end:n,name:r,data:{previous:t}}}(t);null!==r&&(e.getContext().urls.push(r.name),e.triggerUserActivity(),e.addUpdate(()=>(aH(e,[r]),!1)))});let r=(0,z.KU)();r&&r.on("beforeAddBreadcrumb",t=>(function(e,t){var r;if(!e.isEnabled()||!a$(t))return;let n=(r=t,!a$(r)||["fetch","xhr","sentry.event","sentry.transaction"].includes(r.category)||r.category.startsWith("ui.")?null:"console"===r.category?function(e){let t=e.data?.arguments;if(!Array.isArray(t)||0===t.length)return ao(e);let r=!1,n=t.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>5e3?(r=!0,`${e.slice(0,5e3)}…`):e;if("object"==typeof e)try{let t=(0,V.S8)(e,7);if(JSON.stringify(t).length>5e3)return r=!0,`${JSON.stringify(t,null,2).slice(0,5e3)}…`;return t}catch{}return e});return ao({...e,data:{...e.data,arguments:n,...r?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(r):ao(r));n&&o6(e,n)})(e,t));let n=(0,z.KU)();try{let{networkDetailAllowUrls:t,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:o,networkResponseHeaders:a}=e.getOptions(),s={replay:e,networkDetailAllowUrls:t,networkDetailDenyUrls:r,networkCaptureBodies:i,networkRequestHeaders:o,networkResponseHeaders:a};n&&n.on("beforeAddBreadcrumb",(e,t)=>(function(e,t,r){if(t.data)try{var n,i,o,a;if(n=t,"xhr"===n.category&&(i=r,i?.xhr)&&(!function(e,t){let{xhr:r,input:n}=t;if(!r)return;let i=aW(n),o=r.getResponseHeader("content-length")?aq(r.getResponseHeader("content-length")):function(e,t){try{let r="json"===t&&e&&"object"==typeof e?JSON.stringify(e):e;return aW(r)}catch{return}}(r.response,r.responseType);void 0!==i&&(e.data.request_body_size=i),void 0!==o&&(e.data.response_body_size=o)}(t,r),a8(t,r,e)),o=t,"fetch"===o.category&&(a=r,a?.response)){let{input:n,response:i}=r,o=aW(n?nD(n):void 0),a=i?aq(i.headers.get("content-length")):void 0;void 0!==o&&(t.data.request_body_size=o),void 0!==a&&(t.data.response_body_size=a),aZ(t,r,e)}}catch(e){a_&&aS.exception(e,"Error when enriching network breadcrumb")}})(s,e,t))}catch{}let i=Object.assign((t,r)=>
19{if(!e.isEnabled()||e.isPaused())return t;if("replay_event"===t.type)return delete t.breadcrumbs,t;if(t.type&&!az(t)&&!aF(t))return t;if(!e.checkAndHandleExpiredSession())return aB(),t;if(aF(t))return e.flush(),t.contexts.feedback.replay_id=e.getSessionId(),e.triggerUserActivity(),e.addUpdate(()=>!t.timestamp||(e.throttledAddEvent({type:oS.Custom,timestamp:1e3*t.timestamp,data:{tag:"breadcrumb",payload:{timestamp:t.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:t.event_id}}}}),!1)),t;if(!t.type&&t.exception?.values?.length&&r.originalException?.__rrweb__&&!e.getOptions()._experiments.captureExceptions)return a_&&aS.log("Ignoring error from rrweb internals",t),null;let n="buffer"===e.recordingMode&&t.message!==iS&&!!t.exception&&!t.type&&aO(e.getOptions().errorSampleRate);if((n||"session"===e.recordingMode)&&(t.tags={...t.tags,replayId:e.getSessionId()}),n&&"buffer"===e.recordingMode&&e.session?.sampled==="buffer"){let t=e.session;t.dirty=!0,e.getOptions().stickySession&&ak(t)}return t},{id:"Replay"});(0,O.SA)(i),t&&(t.on("beforeSendEvent",t=>{e.isEnabled()&&!t.type&&function(e,t){let r=t.exception?.values?.[0]?.value;"string"==typeof r&&(r.match(/(reactjs\.org\/docs\/error-decoder\.html\?invariant=|react\.dev\/errors\/)(418|419|422|423|425)/)||r.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&o6(e,ao({category:"replay.hydrate-error",data:{url:(0,e2.$N)()}}))}(e,t)}),t.on("afterSendEvent",(t,r)=>{if(!e.isEnabled()||t.type&&!az(t))return;let n=r.statusCode;if(n&&!(n<200)&&!(n>=300)){if(az(t))return void function(e,t){let r=e.getContext();t.contexts?.trace?.trace_id&&r.traceIds.size<100&&r.traceIds.add(t.contexts.trace.trace_id)}(e,t);!function(e,t){let r=e.getContext();if(t.event_id&&r.errorIds.size<100&&r.errorIds.add(t.event_id),"buffer"!==e.recordingMode||!t.tags||!t.tags.replayId)return;let{beforeErrorSampling:n}=e.getOptions();("function"!=typeof n||n(t))&&t6(async()=>{try{await e.sendBufferedReplayOrFlush()}catch(t){e.handleException(t)}})}(e,t)}}),t.on("createDsc",t=>{let r=e.getSessionId();r&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(t.replay_id=r)}),t.on("spanStart",t=>{e.lastActiveSpan=t}),t.on("spanEnd",t=>{e.lastActiveSpan=t}),t.on("beforeSendFeedback",async(t,r)=>{let n=e.getSessionId();r?.includeReplay&&e.isEnabled()&&n&&t.contexts?.feedback&&("api"===t.contexts.feedback.source&&await e.sendBufferedReplayOrFlush(),t.contexts.feedback.replay_id=n)}),t.on("openFeedbackWidget",async()=>{await e.sendBufferedReplayOrFlush()}))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this.handleException(e)}this._performanceCleanupCallback=function(e){function t(t){e.performanceEntries.includes(t)||e.performanceEntries.push(t)}function r({entries:e}){e.forEach(t)}let n=[];return["navigation","paint","resource"].forEach(e=>{n.push(r6(e,r))}),n.push(r4(ac(ap,e)),r5(ac(ah,e)),r8(ac(am,e))),()=>{n.forEach(e=>e())}}(this)}_removeListeners(){try{iv.document.removeEventListener("visibilitychange",this._handleVisibilityChange),iv.removeEventListener("blur",this._handleWindowBlur),iv.removeEventListener("focus",this._handleWindowFocus),iv.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this.handleException(e)}}_doChangeToBackgroundTasks(e){this.session&&(aM(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush()))}_doChangeToForegroundTasks(e){if(this.session){if(!this.checkAndHandleExpiredSession()){a_&&aS.log("Document has become active, but session has expired");return}e&&this._createCustomBreadcrumb(e)}}_updateUserActivity(e=Date.now()){this._lastActivity=e}_updateSessionActivity(e=Date.now()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate(()=>{this.throttledAddEvent({type:oS.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=this.performanceEntries.map(ad).filter(
19Boolean).concat(this.replayPerformanceEntries);if(this.performanceEntries=[],this.replayPerformanceEntries=[],this._requiresManualStart){let t=this._context.initialTimestamp/1e3;e=e.filter(e=>e.start>=t)}return Promise.all(aH(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:t}=this;if(!e||!t||this._requiresManualStart||e.segmentId)return;let r=t.getEarliestTimestamp();r&&r<this._context.initialTimestamp&&(this._context.initialTimestamp=r)}_popEventContext(){let e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds),traceIds:Array.from(this._context.traceIds),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){let e=this.getSessionId();if(!this.session||!this.eventBuffer||!e){a_&&aS.error("No session or eventBuffer found to flush.");return}if(await this._addPerformanceEntries(),this.eventBuffer?.hasEvents){if((await a6(this),this.eventBuffer)&&e===this.getSessionId())try{this._updateInitialTimestampFromEventBuffer();let t=Date.now();if(t-this._context.initialTimestamp>this._options.maxReplayDuration+3e4)throw new sn;let r=this._popEventContext(),n=this.session.segmentId++;this._maybeSaveSession();let i=await this.eventBuffer.finish();await si({replayId:e,recordingData:i,segmentId:n,eventContext:r,session:this.session,timestamp:t,onError:e=>this.handleException(e)})}catch(t){this.handleException(t),this.stop({reason:"sendReplay"});let e=(0,z.KU)();e&&e.recordDroppedEvent(t instanceof sr?"ratelimit_backoff":t instanceof sn?"invalid":"send_error","replay")}}}async _flush({force:e=!1}={}){if(!this._isEnabled&&!e)return;if(!this.checkAndHandleExpiredSession()){a_&&aS.error("Attempting to finish replay event after session expired.");return}if(!this.session)return;let t=this.session.started,r=Date.now()-t;this._debouncedFlush.cancel();let n=r<this._options.minReplayDuration,i=r>this._options.maxReplayDuration+5e3;if(n||i){a_&&aS.log(`Session duration (${Math.floor(r/1e3)}s) is too ${n?"short":"long"}, not sending replay.`),n&&this._debouncedFlush();return}let o=this.eventBuffer;o&&0===this.session.segmentId&&!o.hasCheckout&&a_&&aS.log("Flushing initial segment without checkout.");let a=!!this._flushLock;this._flushLock||(this._flushLock=this._runFlush());try{await this._flushLock}catch(e){this.handleException(e)}finally{this._flushLock=void 0,a&&this._debouncedFlush()}}_maybeSaveSession(){this.session&&this._options.stickySession&&ak(this.session)}_onMutationHandler(e){let{ignoreMutations:t}=this._options._experiments;if(t?.length&&e.some(e=>{let r=function(e){if(!e)return null;try{return e.nodeType===e.ELEMENT_NODE?e:e.parentElement}catch{return null}}(e.target),n=t.join(",");return r?.matches(n)}))return!1;let r=e.length,n=this._options.mutationLimit,i=this._options.mutationBreadcrumbLimit,o=n&&r>n;if(r>i||o){let e=ao({category:"replay.mutations",data:{count:r,limit:o}});this._createCustomBreadcrumb(e)}return!o||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}function ss(e,t){return[...e,...t].join(",")}let sl='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',su=["content-length","content-type","accept"],sc=Symbol.for("sentry__originalRequestBody"),sd=!1,sf=!1;class sp{constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,minReplayDuration:r=4999,maxReplayDuration:n=36e5,stickySession:i=!0,useCompression:o=!0,workerUrl:a,_experiments:s={},maskAllText:l=!0,maskAllInputs:u=!0,blockAllMedia:c=!0,mutationBreadcrumbLimit:d=750,mutationLimit:f=1e4,slowClickTimeout:p=7e3,slowClickIgnoreSelectors:h=[],networkDetailAllowUrls:m=[],networkDetailDenyUrls:g=[],networkCaptureBodies:_=!0,networkRequestHeaders:y=[],networkResponseHeaders:v=[],mask:b=[],maskAttributes:S=["title","placeholder","aria-label"],unmask:E=[],block:w=[],unblock:T=[],ignore:R=[],maskFn:P,beforeAddRecordingEvent:x,beforeErrorSampling:O,onError:k,attachRawBodyFromRequest:I=!1}={}){this.name="Replay";let C=function({mask:e,unmask:t,block:r,unblock:n,ignore:i}){return{maskTextSelector:ss(e,[".sentry-mask","[data-sentry-mask]"]),unmaskTextSelector:ss(t,[]),blockSelector:ss(r,[".sentry-block","[data-sentry-block]","base","iframe[srcdoc]:not
19([src])"]),unblockSelector:ss(n,[]),ignoreSelector:ss(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'])}}({mask:b,unmask:E,block:w,unblock:T,ignore:R});if(this._recordingOptions={maskAllInputs:u,maskAllText:l,maskInputOptions:{password:!0},maskTextFn:P,maskInputFn:P,maskAttributeFn:(e,t,r)=>(function({el:e,key:t,maskAttributes:r,maskAllText:n,privacyOptions:i,value:o}){return!n||i.unmaskTextSelector&&e.matches(i.unmaskTextSelector)?o:r.includes(t)||"value"===t&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?o.replace(/[\S]/g,"*"):o})({maskAttributes:S,maskAllText:l,privacyOptions:C,key:e,value:t,el:r}),...C,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch{}},recordCrossOriginIframes:!!s.recordCrossOriginIframes},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,minReplayDuration:Math.min(r,5e4),maxReplayDuration:Math.min(n,36e5),stickySession:i,useCompression:o,workerUrl:a,blockAllMedia:c,maskAllInputs:u,maskAllText:l,mutationBreadcrumbLimit:d,mutationLimit:f,slowClickTimeout:p,slowClickIgnoreSelectors:h,networkDetailAllowUrls:m,networkDetailDenyUrls:g,networkCaptureBodies:_,networkRequestHeaders:sh(y),networkResponseHeaders:sh(v),beforeAddRecordingEvent:x,beforeErrorSampling:O,onError:k,attachRawBodyFromRequest:I,_experiments:s},this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${sl}`:sl,this._recordingOptions.ignoreCSSAttributes=new Set(["background-image"])),this._isInitialized&&nv())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return sd}set _isInitialized(e){sd=e}afterAllSetup(e){nv()&&!this._replay&&(this._initialOptions.attachRawBodyFromRequest&&function(){if("undefined"==typeof Request||sf)return;let e=Request;try{let t=function(t,r){let n=new e(t,r);return r?.body!=null&&(n[sc]=r.body),n};t.prototype=e.prototype,T.O.Request=t,sf=!0}catch{}}(),this._setup(e),this._initialize(e))}start(){this._replay&&this._replay.start()}startBuffering(){this._replay&&this._replay.startBuffering()}stop(){return this._replay?this._replay.stop({forceFlush:"session"===this._replay.recordingMode}):Promise.resolve()}flush(e){return this._replay?this._replay.isEnabled()?this._replay.sendBufferedReplayOrFlush(e):(this._replay.start(),Promise.resolve()):Promise.resolve()}getReplayId(e){if(this._replay?.isEnabled())return this._replay.getSessionId(e)}getRecordingMode(){if(this._replay?.isEnabled())return this._replay.recordingMode}_initialize(e){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(e),this._replay.initializeSampling())}_setup(e){let t=function(e,t){let r=t.getOptions(),n={sessionSampleRate:0,errorSampleRate:0,...e},i=(0,eO.i)(r.replaysSessionSampleRate),o=(0,eO.i)(r.replaysOnErrorSampleRate);return null==i&&null==o&&(0,R.pq)(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),null!=i&&(n.sessionSampleRate=i),null!=o&&(n.errorSampleRate=o),n}(this._initialOptions,e);this._replay=new sa({options:t,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(e){try{let t=e.getIntegrationByName("ReplayCanvas");if(!t)return;this._replay._canvas=t.getOptions()}catch{}}}function sh(e){return[...su,...e.map(e=>e.toLowerCase())]}var sm=r(26175);let sg="window"in T.O&&T.O.window===T.O&&"undefined"==typeof importScripts,s_=String(0),sy=sg?"main":"worker",sv=e3.navigator,sb="",sS="",sE="",sw=sv?.userAgent||"",sT="",sR=sv?.language||sv?.languages?.[0]||"",sP=sv?.userAgentData;function sx(e){return"pageload"===(0,ea.et)(e).op}function sO(e){let t=(0,z.KU)(),r=t?.getOptions(),n=r?.stackParser;return n?(0,sm.i)(n,e):[]}function sk(e){return"number"!=typeof e&&"boolean"!=typeof e||"number"==typeof e&&isNaN(e)?(tC&&R.Yz.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)||(tC&&R.Yz.warn(`[Profiling] Invalid sample rate. Sample rate must be between 0 and 1. Got ${e}.`),!1)}(function(e){return"object"==typeof e&&null!==e&&"getHighEntropyValues"in e})(sP)&&sP.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>{if(sb=e.platform||"",sE=e.architecture||"",sT=e.model||"",sS=e.platformVersion||"",e.fullVersionList?.length){let t=e.fullVersionList[e.fullVersionList.length-1];sw=`${t.brand} ${t.version}`}}).catch(e=>void 0);let sI=!1;function sC(){let e=e3.Profiler;if("function"!=typeof e){tC&&R.Yz.log("[Profiling] Profiling is not supported by this browser, Profiler interface missing on window object.");return}let t=Math.floor(3e3);try{return new e({sampleInterval:10,maxBufferSize:t})}catch(e){tC&&(R.Yz.log("[Profiling] Failed to initialize the Profiling constructor, this is likely due to a missing 'Document-Policy': 'js-profiling' header."),R.Yz.log("[Profiling] Disabling profiling for current user session.")),sI=!0}}function sA(e){if(sI)return tC&&R.Yz.log("[Profiling] Profiling has been disabled for the duration of the current user session."),!1;if(!e.isRecording())return tC&&R.Yz.log("[Profiling] Discarding profile because root span was not sampled."),!1;let t=(0,z.KU)(),r=t?.getOptions();if(!r)return tC&&R.Yz.log("[Profiling] Profiling disabled, no options foun
19d."),!1;let n=r.profilesSampleRate;return sk(n)?n?!!(!0===n||Math.random()<n)||(tC&&R.Yz.log(`[Profiling] Discarding profile because it's not included in the random sample (sampling rate = ${Number(n)})`),!1):(tC&&R.Yz.log("[Profiling] Discarding profile because a negative sampling decision was inherited or profileSampleRate is set to 0"),!1):(tC&&R.Yz.warn("[Profiling] Discarding profile because of invalid sample rate."),!1)}function sM(e){return void 0!==e.profilesSampleRate}let sN=new Map;function sD(e){let t;sx(e)&&(t=1e3*(0,ed.zf)());let r=sC();if(!r)return;tC&&R.Yz.log(`[Profiling] started profiling span: ${(0,ea.et)(e).description}`);let n=(0,N.eJ)(),i=null;async function o(){if(e&&r){if(i){tC&&R.Yz.log("[Profiling] profile for:",(0,ea.et)(e).description,"already exists, returning early");return}return r.stop().then(t=>{if(a&&(e3.clearTimeout(a),a=void 0),tC&&R.Yz.log(`[Profiling] stopped profiling of span: ${(0,ea.et)(e).description}`),!t){tC&&R.Yz.log(`[Profiling] profiler returned null profile for: ${(0,ea.et)(e).description}`,"this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started");return}i=t;if(sN.set(n,t),sN.size>30){let e=sN.keys().next().value;void 0!==e&&sN.delete(e)}}).catch(e=>{tC&&R.Yz.log("[Profiling] error while stopping profiler:",e)})}}(0,z.o5)().setContext("profile",{profile_id:n,start_timestamp:t});let a=e3.setTimeout(()=>{tC&&R.Yz.log("[Profiling] max profile duration elapsed, stopping profiling for:",(0,ea.et)(e).description),o()},3e4),s=e.end.bind(e);e.end=function(){return e?(o().then(()=>{s()},()=>{s()}),e):s()}}class sj{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,r=function(e){if(sI)return tC&&R.Yz.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 tC&&R.Yz.warn("[Profiling] Session not sampled. Invalid `profileLifecycle` option."),!1;let t=e.profileSessionSampleRate;return sk(t)?t?Math.random()<=t:(tC&&R.Yz.log("[Profiling] Discarding profile because profileSessionSampleRate is not defined or set to 0"),!1):(tC&&R.Yz.warn("[Profiling] Discarding profile because of invalid profileSessionSampleRate."),!1)}(e.getOptions());tC&&R.Yz.log(`[Profiling] Initializing profiler (lifecycle='${t}').`),!r&&tC&&R.Yz.log("[Profiling] Session not sampled. Skipping lifecycle profiler initialization."),this._profilerId=(0,N.eJ)(),this._client=e,this._sessionSampled=r,this._lifecycleMode=t,"trace"===t&&this._setupTraceLifecycleListeners(e)}start(){if("trace"===this._lifecycleMode){tC&&R.Yz.warn('[Profiling] `profileLifecycle` is set to "trace". Calls to `uiProfiler.start()` are ignored in trace mode.');return}if(this._isRunning){tC&&R.Yz.warn("[Profiling] Profile session is already running, `uiProfiler.start()` is a no-op.");return}if(!this._sessionSampled){tC&&R.Yz.warn("[Profiling] Session is not sampled, `uiProfiler.start()` is a no-op.");return}this._beginProfiling()}stop(){if("trace"===this._lifecycleMode){tC&&R.Yz.warn('[Profiling] `profileLifecycle` is set to "trace". Calls to `uiProfiler.stop()` are ignored in trace mode.');return}if(!this._isRunning){tC&&R.Yz.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 r=this._activeRootSpanIds.size;1===r&&(tC&&R.Yz.log("[Profiling] Detected already active root span during setup. Active root spans now:",r),this._beginProfiling())}_beginProfiling(){if(!this._isRunning){if(this._isRunning=!0,tC&&R.Yz.log("[Profiling] Started profiling with profiler ID:",this._profilerId),(0,z.m6)().setContext("profile",{profiler_id:this._profilerId}),this._startProfilerInstance(),!this._profiler){tC&&R.Yz.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=>{tC&&R.Yz.error("[Profiling] Failed to collect current profile chunk on `stop()`:",e)}),"manual"===this._lifecycleMode&&(0,z.m6)().setContext("profile",{}))}_setupTraceLifecycleListeners(e){e.on("spanStart",e=>{if(!this._sessionSampled){tC&&R.Yz.log("[Profiling] Span not profiled because of negative sampling decision for user session.");return}if(e!==(0,ea.zU)(e))return;if(!e.isRecording()){tC&&R.Yz.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 r=this._activeRootSpanIds.size;1===r&&(tC&&R.Yz.log(`[Profiling] Root span ${t} started. Profiling active while there are active root spans (count=${r}).`),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 r=this._activeRootSpanIds.size;tC&&R.Yz.log(`[Profiling] Root span with ID ${t} ended. Will continue profiling for as long as there are active root spans (currently: ${r}).`),0===r&&(this._collectCurrentChunk().catch(e=>{tC&&R.Yz.error("[Profiling] Failed to collect current profile chunk on last `spanEnd`:",e)}),this._endProfiling())})}_resetProfilerInfo(){this._isRunning=!1,(0,z.m6)().setContext("profile",{})}
19_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=sC();if(!e){tC&&R.Yz.log("[Profiling] Failed to start JS Profiler.");return}this._profiler=e}_startPeriodicChunking(){this._isRunning&&(this._chunkTimer=setTimeout(()=>{if(this._collectCurrentChunk().catch(e=>{tC&&R.Yz.error("[Profiling] Failed to collect current profile chunk during periodic chunking:",e)}),this._isRunning){if(this._startProfilerInstance(),!this._profiler)return void this._resetProfilerInfo();this._startPeriodicChunking()}},6e4))}_onRootSpanTimeout(e){this._rootSpanTimeouts.has(e)&&(this._rootSpanTimeouts.delete(e),this._activeRootSpanIds.has(e)&&(tC&&R.Yz.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(),r=function(e,t,r){if(null==e)throw TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${e} instead.`);let n=function(e){let t=[];for(let r=0;r<e.frames.length;r++){let n=e.frames[r];n&&(t[r]={function:n.name,abs_path:"number"==typeof n.resourceId?e.resources[n.resourceId]:void 0,lineno:n.line,colno:n.column})}let r=[];for(let t=0;t<e.stacks.length;t++){let n=e.stacks[t];if(!n)continue;let i=[],o=n;for(;o;)i.push(o.frameId),o=void 0===o.parentId?void 0:e.stacks[o.parentId];r[t]=i}let n=(0,ed.k3)(),i="number"==typeof performance.timeOrigin?performance.timeOrigin:n||0,o=i-(n||i),a=[];for(let t=0;t<e.samples.length;t++){let r=e.samples[t];if(!r)continue;let n=(i+(r.timestamp-o))/1e3;a[t]={stack_id:r.stackId??0,thread_id:s_,timestamp:n}}return{frames:t,stacks:r,samples:a,thread_metadata:{[s_]:{name:sy}}}}(e),i=t.getOptions(),o=t.getSdkMetadata?.()?.sdk;return{chunk_id:(0,N.eJ)(),client_sdk:{name:o?.name??"sentry.javascript.browser",version:o?.version??"0.0.0"},profiler_id:r||(0,N.eJ)(),platform:"javascript",version:"2",release:i.release??"",environment:i.environment??"production",debug_meta:{images:sO(e.resources)},profile:n}}(t,this._client,this._profilerId),n=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 r=e.profile;if(!r)return{reason:"missing profile data"};if(!Array.isArray(r.frames)||!r.frames.length)return{reason:"profile has no frames"};if(!Array.isArray(r.stacks)||!r.stacks.length)return{reason:"profile has no stacks"};if(!Array.isArray(r.samples)||!r.samples.length)return{reason:"profile has no samples"};return{valid:!0}}catch(e){return{reason:`unknown validation error: ${e}`}}}(r);if("reason"in n){tC&&R.Yz.log("[Profiling] Discarding invalid profile chunk (this is probably a bug in the SDK):",n.reason);return}this._sendProfileChunk(r),tC&&R.Yz.log("[Profiling] Collected browser profile chunk.")}catch(e){tC&&R.Yz.log("[Profiling] Error while stopping JS Profiler for chunk:",e)}}_sendProfileChunk(e){let t=this._client,r=er(t.getSdkMetadata?.()),n=t.getDsn(),i=t.getOptions().tunnel,o=Q({event_id:(0,N.eJ)(),sent_at:new Date().toISOString(),...r&&{sdk:r},...!!i&&n&&{dsn:(0,K.SB)(n)}},[[{type:"profile_chunk",platform:"javascript"},e]]);t.sendEnvelope(o).then(null,e=>{tC&&R.Yz.error("Error while sending profile chunk envelope:",e)})}}function sL(e,t){let r,n=function(e){let t={};return e.forEach((e,r)=>{t[r]=e}),t}(t.headers);try{let t=n[e]||n[e.toLowerCase()]||void 0;t&&(r=sU(t))}catch{}return[n,r]}function sU(e){return e.split("; ").reduce((e,t)=>{let[r,n]=t.split("=");return r&&n&&(e[r]=n),e},{})}function sz(e,t,r){var n,i;return n=e.failedRequestStatusCodes,n.some(e=>"number"==typeof e?e===t:t>=e[0]&&t<=e[1])&&(i=e.failedRequestTargets,i.some(e=>"string"==typeof e?r.includes(e):e.test(r)))&&!i_(r,(0,z.KU)())}function sF(e){let t=(0,z.KU)(),r=t&&e.error&&e.error instanceof Error?e.error.stack:void 0,n=r&&t?t.getOptions().stackParser(r,0,1):void 0,i=`HTTP Client Error with status code: ${e.status}`,o={message:i,exception:{values:[{type:"Error",value:i,stacktrace:n?{frames:n}: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,N.M6)(o,{type:`auto.http.client.${e.type}`,handled:!1}),o}function s$(){let e=(0,z.KU)();return!!e&&!!e.getOptions().sendDefaultPii}var sB=r(50535);!function(e){ip&&(0,R.pq)(()=>{console.warn("[@sentry/nextjs] You are calling `Sentry.init()` more than once on the client. This can happen if you have both a `sentry.client.config.ts` and a `instrumentation-client.ts` file with `Sentry.init()` calls. It is recommended to call `Sentry.init()` once in `instrumentation-client.ts`.")}),ip=!0,!rt.T&&e.debug&&(0,R.pq)(()=>{console.warn("[@sentry/nextjs] You have enabled `debug: true`, but Sentry debug logging was removed from your bundle (likely via `withSentryConfig({ disableLogger: true })` / `webpack.treeshake.removeDebugLogging: true`). Set that option to `false` to see Sentry debug output.")}),("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&function(){e3.document&&function(e){let t=n1(e)||e,r=il.get(t);if(void 0!==r)return r;let n=n0();if(!n?.isrRoutes||!Array.isArray(n.isrRoutes)||0===n.isrRoutes.length)return il.set(t,!1),!1;let i=n.isrRoutes.includes(t);return il.set(t,i),i}(e3.location.pathname)&&(e("sentry-trace"),e("baggage"));function e(e){try{let t=e3.document.querySelector(`meta[name="${e}"]`);t&&t.remove()}catch{}}}();let t={environment:function(e){let t=e?rr.env.NEXT_PUBLIC_VERCEL_ENV:rr.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}(!0)||"production",defaultIntegrations:function(e){let t=t9(e);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&t.push(function(e={}){let t=((e={})=>{let t,r,n,i={name:void 0,source:void 0},o=e3.document,{enableInp:a,enableElementTiming:s,enableLongTask:l,enableLongAnimationFrame:u,_experiments:{enableInteractions:c,enableStandaloneClsSpans:f,enableStandaloneLcpSpans:m},beforeStartSpan:g,idleTimeout:_,finalTimeout:y,childSpanTimeout:v,markBackgroun
19dSpan:b,traceFetch:S,traceXHR:E,trackFetchStreamPerformance:w,shouldCreateSpanForRequest:P,enableHTTPTimings:x,ignoreResourceSpans:O,ignorePerformanceApiSpans:I,instrumentPageLoad:C,instrumentNavigation:A,detectRedirects:M,linkPreviousTrace:N,consistentTraceSampling:j,enableReportPageLoaded:L,onRequestSpanStart:U,onRequestSpanEnd:$}={...nH,...e};function H(e,r,a=!0){var s,l;let u="pageload"===r.op,c=r.name,d=g?g(r):r,b=d.attributes||{};if(c!==d.name&&(b[B.i_]="custom",d.attributes=b),!a){let e=(0,ed.lu)();rh({...d,startTime:e}).end(e);return}i.name=d.name,i.source=b[B.i_];let S=rE(d,{idleTimeout:_,finalTimeout:y,childSpanTimeout:v,disableAutoFinish:u,beforeSpanEnd:r=>{var i,o;t?.(),function(e,t){var r,n;let i=nu(),o=(0,ed.k3)();if(!i?.getEntries||!o)return;let a=nc(o),s=i.getEntries(),{op:l,start_timestamp:u}=(0,ea.et)(e);s.slice(nm).forEach(r=>{let n=nc(r.startTime),i=nc(Math.max(0,r.duration));if("navigation"!==l||!u||!(a+n<u))switch(r.entryType){case"navigation":var o,s,c;o=e,s=r,c=a,["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(e=>{n_(o,s,e,c)}),n_(o,s,"secureConnection",c,"TLS/SSL"),n_(o,s,"fetch",c,"cache"),n_(o,s,"domainLookup",c,"DNS"),function(e,t,r){let n=r+nc(t.requestStart),i=r+nc(t.responseEnd),o=r+nc(t.responseStart);t.responseEnd&&(ns(e,n,i,{op:"browser.request",name:t.name,attributes:{[B.JD]:"auto.ui.browser.metrics"}}),ns(e,o,i,{op:"browser.response",name:t.name,attributes:{[B.JD]:"auto.ui.browser.metrics"}}))}(o,s,c);break;case"mark":case"paint":case"measure":{!function(e,t,r,n,i,o){if(function(e){if(e?.entryType==="measure")try{return"Components ⚛"===e.detail.devtools.track}catch{return}}(t)||["mark","measure"].includes(t.entryType)&&(0,D.Xr)(t.name,o))return;let a=rP(!1),s=i+Math.max(r,nc(a?a.requestStart:0)),l=i+r,u=l+n,c={[B.JD]:"auto.resource.browser.metrics"};s!==l&&(c["sentry.browser.measure_happened_before_request"]=!0,c["sentry.browser.measure_start_time"]=s),function(e,t){try{let r=t.detail;if(!r)return;if("object"==typeof r){for(let[t,n]of Object.entries(r))if(n&&(0,el.sO)(n))e[`sentry.browser.measure.detail.${t}`]=n;else if(void 0!==n)try{e[`sentry.browser.measure.detail.${t}`]=JSON.stringify(n)}catch{}return}if((0,el.sO)(r)){e["sentry.browser.measure.detail"]=r;return}try{e["sentry.browser.measure.detail"]=JSON.stringify(r)}catch{}}catch{}}(c,t),s<=u&&ns(e,s,u,{name:t.name,op:t.entryType,attributes:c})}(e,r,n,i,a,t.ignorePerformanceApiSpans);let o=rM(),s=r.startTime<o.firstHiddenTime;"first-paint"===r.name&&s&&(ng.fp={value:r.startTime,unit:"millisecond"}),"first-contentful-paint"===r.name&&s&&(ng.fcp={value:r.startTime,unit:"millisecond"});break}case"resource":!function(e,t,r,n,i,o,a){var s,l;if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let u=t.initiatorType?`resource.${t.initiatorType}`:"resource.other";if(a?.includes(u))return;let c={[B.JD]:"auto.resource.browser.metrics"},d=tv(r);d.protocol&&(c["url.scheme"]=d.protocol.split(":").pop()),d.host&&(c["server.address"]=d.host),c["url.same_origin"]=r.includes(tE.location.origin),s=t,l=c,[["responseStatus","http.response.status_code"],["transferSize","http.response_transfer_size"],["encodedBodySize","http.response_content_length"],["decodedBodySize","http.decoded_response_content_length"],["renderBlockingStatus","resource.render_blocking_status"],["deliveryType","http.response_delivery_type"]].forEach(([e,t])=>{let r=s[e];null!=r&&("number"==typeof r&&r<0x7fffffff||"string"==typeof r)&&(l[t]=r)});let f={...c,...nh(t)},p=o+n;ns(e,p,p+i,{name:r.replace(tE.location.origin,""),op:u,attributes:f})}(e,r,r.name,n,i,a,t.ignoreResourceSpans)}}),nm=Math.max(s.length-1,0),function(e){let t=tE.navigator;if(!t)return;let r=t.connection;r&&(r.effectiveType&&e.setAttribute("effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute("connectionType",r.type),na(r.rtt)&&(ng["connection.rtt"]={value:r.rtt,unit:"millisecond"})),na(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),na(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}(e),"pageload"===l&&(function(e){let t=rP(!1);if(!t)return;let{responseStart:r,requestStart:n}=t;n<=r&&(e["ttfb.requestTime"]={value:r-n,unit:"millisecond"})}(ng),t.recordClsOnPageloadSpan||delete ng.cls,t.recordLcpOnPageloadSpan||delete ng.lcp,Object.entries(ng).forEach(([e,t])=>{!function(e,t,r,n=(0,ea.Bk)()){let i=n&&(0,ea.zU)(n);i&&(k.T&&R.Yz.log(`[Measurement] Setting measurement on root span: ${e} = ${t} ${r}`),i.addEvent(e,{[B.xc]:t,[B.Sn]:r}))}(e,t.value,t.unit)}),e.setAttribute("performance.timeOrigin",a),e.setAttribute("performance.activationStart",rx()),r=e,n=t,p&&n.recordLcpOnPageloadSpan&&(p.element&&r.setAttribute("lcp.element",(0,e2.Hd)(p.element)),p.id&&r.setAttribute("lcp.id",p.id),p.url&&r.setAttribute("lcp.url",p.url.trim().slice(0,200)),null!=p.loadTime&&r.setAttribute("lcp.loadTime",p.loadTime),null!=p.renderTime&&r.setAttribute("lcp.renderTime",p.renderTime),r.setAttribute("lcp.size",p.size)),h?.sources&&n.recordClsOnPageloadSpan&&h.sources.forEac
19h((e,t)=>r.setAttribute(`cls.source.${t+1}`,(0,e2.Hd)(e.node)))),p=void 0,h=void 0,ng={}}(r,{recordClsOnPageloadSpan:!f,recordLcpOnPageloadSpan:!m,ignoreResourceSpans:O,ignorePerformanceApiSpans:I}),i=e,o=void 0,(0,F.my)(i,nG,o);let a=(0,z.o5)(),s=a.getPropagationContext();a.setPropagationContext({...s,traceId:S.spanContext().traceId,sampled:(0,ea.pK)(S),dsc:(0,X.k1)(r)}),u&&(n=void 0)},trimIdleSpanEndTimestamp:!L});function E(){o&&["interactive","complete"].includes(o.readyState)&&e.emit("idleSpanEnableAutoFinish",S)}u&&L&&(n=S),s=e,l=S,(0,F.my)(s,nG,l),u&&!L&&o&&(o.addEventListener("readystatechange",()=>{E()}),E())}return{name:"BrowserTracing",setup(e){function i(){let e=(0,ea.Bk)(),t=e&&(0,ea.zU)(e);if(t){let e="internal_error";k.T&&R.Yz.log(`[Tracing] Root span: ${e} -> Global error occurred`),t.setStatus({code:rd.TJ,message:e})}}if(rw||(i.tag="sentry_tracingErrorCallback",rw=!0,tL(i),tF(i)),t=function({recordClsStandaloneSpans:e,recordLcpStandaloneSpans:t,client:r}){let n=nu();if(n&&(0,ed.k3)()){n.mark&&tE.performance.mark("sentry-tracing-init");let i=t?function(e){let t,r=0;if(!nd("largest-contentful-paint"))return;let n=r4(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(r=e.value,t=n)},!0);nf(e,(e,i)=>{(function(e,t,r,n){t5&&R.Yz.log(`Sending LCP span (${e})`);let i=nc(((0,ed.k3)()||0)+(t?.startTime||0)),o=(0,z.o5)().getScopeData().transactionName,a=t?(0,e2.Hd)(t.element):"Largest contentful paint",s={[B.JD]:"auto.http.browser.lcp",[B.uT]:"ui.webvital.lcp",[B.jG]:0,"sentry.pageload.span_id":r,"sentry.report_event":n};t&&(t.element&&(s["lcp.element"]=(0,e2.Hd)(t.element)),t.id&&(s["lcp.id"]=t.id),t.url&&(s["lcp.url"]=t.url),null!=t.loadTime&&(s["lcp.loadTime"]=t.loadTime),null!=t.renderTime&&(s["lcp.renderTime"]=t.renderTime),null!=t.size&&(s["lcp.size"]=t.size));let l=nl({name:a,transaction:o,attributes:s,startTime:i});l&&(l.addEvent("lcp",{[B.Sn]:"millisecond",[B.xc]:e}),l.end(i))})(r,t,i,e),n()})}(r):r4(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(ng.lcp={value:e.value,unit:"millisecond"},p=t)},!0),o=nn("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(ng.ttfb={value:e.value,unit:"millisecond"})},nt,d),a=e?function(e){let t,r=0;if(!nd("layout-shift"))return;let n=r5(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(r=e.value,t=n)},!0);nf(e,(e,i)=>{(function(e,t,r,n){t5&&R.Yz.log(`Sending CLS span (${e})`);let i=t?nc(((0,ed.k3)()||0)+t.startTime):(0,ed.zf)(),o=(0,z.o5)().getScopeData().transactionName,a=t?(0,e2.Hd)(t.sources[0]?.node):"Layout shift",s={[B.JD]:"auto.http.browser.cls",[B.uT]:"ui.webvital.cls",[B.jG]:0,"sentry.pageload.span_id":r,"sentry.report_event":n};t?.sources&&t.sources.forEach((e,t)=>{s[`cls.source.${t+1}`]=(0,e2.Hd)(e.node)});let l=nl({name:a,transaction:o,attributes:s,startTime:i});l&&(l.addEvent("cls",{[B.Sn]:"",[B.xc]:e}),l.end(i))})(r,t,i,e),n()})}(r):r5(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(ng.cls={value:e.value,unit:""},h=t)},!0);return()=>{i?.(),o(),a?.()}}return()=>void 0}({recordClsStandaloneSpans:f||!1,recordLcpStandaloneSpans:m||!1,client:e}),a&&function(){if(nu()&&(0,ed.k3)()){let e=r8(nT);()=>{e()}}}(),s&&nu()&&(0,ed.k3)()&&r6("element",nR),u&&T.O.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?new PerformanceObserver(e=>{let t=(0,ea.Bk)();if(t)for(let r of e.getEntries()){if(!r.scripts[0])continue;let e=nc((0,ed.k3)()+r.startTime),{start_timestamp:n,op:i}=(0,ea.et)(t);if("navigation"===i&&n&&e<n)continue;let o=nc(r.duration),a={[B.JD]:"auto.ui.browser.metrics"},{invoker:s,invokerType:l,sourceURL:u,sourceFunctionName:c,sourceCharPosition:d}=r.scripts[0];a["browser.script.invoker"]=s,a["browser.script.invoker_type"]=l,u&&(a["code.filepath"]=u),c&&(a["code.function"]=c),-1!==d&&(a["browser.script.source_char_position"]=d),ns(t,e,e+o,{name:"Main UI thread blocked",op:"ui.long-animation-frame",attributes:a})}}).observe({type:"long-animation-frame",buffered:!0}):l&&r6("longtask",({entries:e})=>{let t=(0,ea.Bk)();if(!t)return;let{op:r,start_timestamp:n}=(0,ea.et)(t);for(let i of e){let e=nc((0,ed.k3)()+i.startTime),o=nc(i.duration);"navigation"===r&&n&&e<n||ns(t,e,e+o,{name:"Main UI thread blocked",op:"ui.long-task",attributes:{[B.JD]:"auto.ui.browser.metrics"}})}}),c&&r6("event",({entries:e})=>{let t=(0,ea.Bk)();
19if(t){for(let r of e)if("click"===r.name){let e=nc((0,ed.k3)()+r.startTime),n=nc(r.duration),i={name:(0,e2.Hd)(r.target),op:`ui.interaction.${r.name}`,startTime:e,attributes:{[B.JD]:"auto.ui.browser.metrics"}},o=(0,e2.xE)(r.target);o&&(i.attributes["ui.component_name"]=o),ns(t,e,e+n,i)}}}),M&&o){let e=()=>{r=(0,ed.zf)()};addEventListener("click",e,{capture:!0}),addEventListener("keydown",e,{capture:!0,passive:!0})}function g(){let t=e[nG];t&&!(0,ea.et)(t).timestamp&&(tC&&R.Yz.log(`[Tracing] Finishing current active span with op: ${(0,ea.et)(t).op}`),t.setAttribute(B.fs,"cancelled"),t.end())}e.on("startNavigationSpan",(t,n)=>{if((0,z.KU)()!==e)return;if(n?.isRedirect){tC&&R.Yz.warn("[Tracing] Detected redirect, navigation span will not be the root span, but a child span."),H(e,{op:"navigation.redirect",...t},!1);return}r=void 0,g(),(0,z.rm)().setPropagationContext({traceId:(0,ri.e)(),sampleRand:Math.random(),propagationSpanId:(0,rn.f)()?void 0:(0,ri.Z)()});let i=(0,z.o5)();i.setPropagationContext({traceId:(0,ri.e)(),sampleRand:Math.random(),propagationSpanId:(0,rn.f)()?void 0:(0,ri.Z)()}),i.setSDKProcessingMetadata({normalizedRequest:void 0}),H(e,{op:"navigation",...t,parentSpan:null,forceTransaction:!0})}),e.on("startPageLoadSpan",(t,r={})=>{if((0,z.KU)()!==e)return;g();let n=r.sentryTrace||nq("sentry-trace"),i=r.baggage||nq("baggage"),o=(0,rT.kM)(n,i),a=(0,z.o5)();a.setPropagationContext(o),(0,rn.f)()||(a.getPropagationContext().propagationSpanId=(0,ri.Z)()),a.setSDKProcessingMetadata({normalizedRequest:e8()}),H(e,{op:"pageload",...t})}),e.on("endPageloadSpan",()=>{L&&n&&(n.setAttribute(B.fs,"reportPageLoaded"),n.end())})},afterAllSetup(e){var t,n,o,s,l;let u,d=(0,e2.$N)();if("off"!==N&&function(e,{linkPreviousTrace:t,consistentTraceSampling:r}){let n="session-storage"===t,i=n?function(){try{let e=e3.sessionStorage?.getItem(nP);return JSON.parse(e)}catch{return}}():void 0;e.on("spanStart",e=>{if((0,ea.zU)(e)!==e)return;let t=(0,z.o5)().getPropagationContext();i=function(e,t,r){let n=(0,ea.et)(t),i={spanContext:t.spanContext(),startTimestamp:n.start_timestamp,sampleRate:function(){try{return Number(r.dsc?.sample_rate)??Number(n.data?.[B.sy])}catch{return 0}}(),sampleRand:r.sampleRand};if(!e)return i;let o=e.spanContext;return o.traceId===n.trace_id?e:(Date.now()/1e3-e.startTimestamp<=3600&&(tC&&R.Yz.log(`Adding previous_trace \`${JSON.stringify(o)}\` link to span \`${JSON.stringify({op:n.op,...t.spanContext()})}\``),t.addLink({context:o,attributes:{[B.Lc]:"previous_trace"}}),t.setAttribute("sentry.previous_trace",`${o.traceId}-${o.spanId}-${+!!nx(o)}`)),i)}(i,e,t),n&&function(e){try{e3.sessionStorage.setItem(nP,JSON.stringify(e))}catch(e){tC&&R.Yz.warn("Could not store previous trace in sessionStorage",e)}}(i)});let o=!0;r&&e.on("beforeSampling",e=>{if(!i)return;let t=(0,z.o5)(),r=t.getPropagationContext();if(o&&r.parentSpanId){o=!1;return}t.setPropagationContext({...r,dsc:{...r.dsc,sample_rate:String(i.sampleRate),sampled:String(nx(i.spanContext))},sampleRand:i.sampleRand}),e.parentSampled=nx(i.spanContext),e.parentSampleRate=i.sampleRate,e.spanAttributes={...e.spanAttributes,[B.Ef]:i.sampleRate}})}(e,{linkPreviousTrace:N,consistentTraceSampling:j}),e3.location){if(C){let t=(0,ed.k3)();nY(e,{name:e3.location.pathname,startTime:t?t/1e3:void 0,attributes:{[B.i_]:"url",[B.JD]:"auto.pageload.browser"}})}A&&tk(({to:t,from:n})=>{if(void 0===n&&d?.indexOf(t)!==-1){d=void 0;return}d=void 0;let i=ty(t),o=e[nG],a=o&&M&&function(e,t){let r=(0,ea.et)(e),n=(0,ed.lu)();return!(n-r.start_timestamp>1.5)&&(!t||!(n-t<=1.5))}(o,r);nW(e,{name:i?.pathname||e3.location.pathname,attributes:{[B.i_]:"url",[B.JD]:"auto.navigation.browser"}},{url:t,isRedirect:a})})}b&&(e3.document?e3.document.addEventListener("visibilitychange",()=>{let e=(0,ea.Bk)();if(!e)return;let t=(0,ea.zU)(e);if(e3.document.hidden&&t){let e="cancelled",{op:r,status:n}=(0,ea.et)(t);tC&&R.Yz.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${r}`),n||t.setStatus({code:rd.TJ,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):tC&&R.Yz.warn("[Tracing] Could not set up background tab detection due to lack of global document")),c&&(t=e,n=_,o=y,s=v,l=i,e3.document&&addEventListener("click",()=>{let e="ui.action.click",r=t[nG];if(r&&["navigation","pageload"].includes((0,ea.et)(r).op)){tC&&R.Yz.warn(`[Tracing] Did not create ${e} span because a pageload or navigation span is in progress.`);return}if(u&&(u.setAttribute(B.fs,"interactionInterrupted"),u.end(),u=void 0),!l.name){tC&&R.Yz.warn(`[Tracing] Did not create ${e} transaction because _latestRouteName is missing.`);return}u=rE({name:l.name,op:e,attributes:{[B.i_]:l.source||"url"}},{idleTimeout:n,finalTimeout:o,childSpanTimeout:s}
19)},{capture:!0})),a&&function(){let e=Object.keys(nw);function t(e){let t=e.target;if(!t)return;let r=(0,e2.Hd)(t),n=Math.round(e.timeStamp);if(nE.set(n,r),nE.size>50){let e=nE.keys().next().value;void 0!==e&&nE.delete(e)}}nv()&&e.forEach(e=>{tE.addEventListener(e,t,{capture:!0,passive:!0})});let r=({entries:e})=>{let t=(0,ea.Bk)(),r=t&&(0,ea.zU)(t);e.forEach(e=>{if(!("duration"in e))return;let t=e.interactionId;if(null==t||nS.has(t))return;let n=e.target?(0,e2.Hd)(e.target):function(e){let t=Math.round(e.startTime),r=nE.get(t);if(!r)for(let e=-5;e<=5;e++){let n=nE.get(t+e);if(n){r=n;break}}return r||"<unknown>"}(e);if(nb.length>10){let e=nb.shift();nS.delete(e)}nb.push(t),nS.set(t,{span:r,elementName:n})})};r6("event",r),r6("first-input",r)}(),function(e,t){let{traceFetch:r,traceXHR:n,trackFetchStreamPerformance:i,shouldCreateSpanForRequest:o,enableHTTPTimings:a,tracePropagationTargets:s,onRequestSpanStart:l,onRequestSpanEnd:u}={...n$,...t},c="function"==typeof o?o:e=>!0,d=e=>(function(e,t){let r=(0,e2.$N)();if(r){let n,i;try{n=new URL(e,r),i=new URL(r).origin}catch{return!1}let o=n.origin===i;return t?(0,D.Xr)(n.toString(),t)||o&&(0,D.Xr)(n.pathname,t):o}{let r=!!e.match(/^\/(?!\/)/);return t?(0,D.Xr)(e,t):r}})(e,s),f={},p=e.getOptions().propagateTraceparent;r&&(e.addEventProcessor(e=>("transaction"===e.type&&e.spans&&e.spans.forEach(e=>{if("http.client"===e.op){let t=nF.get(e.span_id);t&&(e.timestamp=t/1e3,nF.delete(e.span_id))}}),e)),i&&function(e){let t="fetch-body-resolved";te(t,e),tt(t,()=>tu(td))}(e=>{if(e.response){let t=nz.get(e.response);t&&e.endTimestamp&&nF.set(t,e.endTimestamp)}}),tl(e=>{let t=function(e,t,r,n,i){if(!e.fetchData)return;let{method:o,url:a}=e.fetchData,s=(0,rn.f)()&&t(a);if(e.endTimestamp&&s){let t=e.fetchData.__span;if(!t)return;let r=n[t];r&&(function(e,t){if(t.response){(0,rd.N8)(e,t.response.status);let r=t.response?.headers?.get("content-length");if(r){let t=parseInt(r);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:rd.TJ,message:"internal_error"});e.end()}(r,e),function(e,t,r){let n="object"==typeof r&&null!==r?r.onRequestSpanEnd:void 0;n?.(e,{headers:t.response?.headers,error:t.error})}(r,e,i),delete n[t]);return}let{spanOrigin:l="auto.http.browser",propagateTraceparent:u=!1}="object"==typeof i?i:{spanOrigin:i},c=!!(0,ea.Bk)(),d=s&&c?rh(function(e,t,r){if(e.startsWith("data:")){let n=tS(e);return{name:`${t} ${n}`,attributes:nC(e,void 0,t,r)}}let n=ty(e),i=n?function(e){if(t_(e))return e.pathname;let t=new URL(e);return t.search="",t.hash="",["80","443"].includes(t.port)&&(t.port=""),t.password&&(t.password="%filtered%"),t.username&&(t.username="%filtered%"),t.toString()}(n):e;return{name:`${t} ${i}`,attributes:nC(e,n,t,r)}}(a,o,l)):new ro;if(e.fetchData.__span=d.spanContext().spanId,n[d.spanContext().spanId]=d,r(e.fetchData.url)){let t=e.args[0],r={...e.args[1]||{}},n=function(e,t,r,n){var i;let o=nk({span:r,propagateTraceparent:n}),a=o["sentry-trace"],s=o.baggage,l=o.traceparent;if(!a)return;let u=t.headers||((0,el.ks)(e)?e.headers:void 0);if(!u)return{...o};if(i=u,"undefined"!=typeof Headers&&(0,el.tH)(i,Headers)){let e=new Headers(u);if(e.get("sentry-trace")||e.set("sentry-trace",a),n&&l&&!e.get("traceparent")&&e.set("traceparent",l),s){let t=e.get("baggage");t?nI(t)||e.set("baggage",`${t},${s}`):e.set("baggage",s)}return e}if(Array.isArray(u)){let e=[...u];u.find(e=>"sentry-trace"===e[0])||e.push(["sentry-trace",a]),n&&l&&!u.find(e=>"traceparent"===e[0])&&e.push(["traceparent",l]);let t=u.find(e=>"baggage"===e[0]&&nI(e[1]));return s&&!t&&e.push(["baggage",s]),e}{let e="sentry-trace"in u?u["sentry-trace"]:void 0,t="traceparent"in u?u.traceparent:void 0,r="baggage"in u?u.baggage:void 0,i=r?Array.isArray(r)?[...r]:[r]:[],o=r&&(Array.isArray(r)?r.find(e=>nI(e)):nI(r));s&&!o&&i.push(s);let c={...u,"sentry-trace":e??a,baggage:i.length>0?i.join(","):void 0};return n&&l&&!t&&(c.traceparent=l),c}}(t,r,(0,rn.f)()&&c?d:void 0,u);n&&(e.args[1]=r,r.headers=n)}let f=(0,z.KU)();if(f){let t={input:e.args,response:e.response,startTimestamp:e.startTimestamp,endTimestamp:e.endTimestamp};f.emit("beforeOutgoingRequestSpan",d,t)}return d}(e,c,d,f,{propagateTraceparent:p,onRequestSpanEnd:u});if(e.response&&e.fetchData.__span&&nz.set(e.response,e.fetchData.__span),t){let r=nL(e.fetchData.url),n=r?tv(r).host:void 0;t.setAttributes({"http.url":r?tS(r):void 0,"server.address":n}),a&&nB(t),l?.(t,{headers:e.headers})}})),n&&tx(e=>{let t=function(e,t,r,n,i,o){let a=e.xhr,s=a?.[tP];if(!a||a.__sentry_own_request__||!s)return;let{url:l,method:u}=s,c=(0,rn.f)()&&t(l);if(e.endTimestamp&&c){let t=a.__sentry_xhr_span_id__;if(!t)return;let r=n[t];r&&void 0!==s.status_code&&((0,rd.N8)(r,s.status_code),r.end(),o?.(r,{headers:nU(nj(a)),error:e.error}),delete n[t]);return}
19let d=nL(l),f=d?tv(d):tv(l),p=tS(tb(l)),h=!!(0,ea.Bk)(),m=c&&h?rh({name:`${u} ${p}`,attributes:{url:tS(l),type:"xhr","http.method":u,"http.url":d?tS(d):void 0,"server.address":f?.host,[B.JD]:"auto.http.browser",[B.uT]:"http.client",...f?.search&&{"http.query":f?.search},...f?.hash&&{"http.fragment":f?.hash}}}):new ro;a.__sentry_xhr_span_id__=m.spanContext().spanId,n[a.__sentry_xhr_span_id__]=m,r(l)&&function(e,t,r){let{"sentry-trace":n,baggage:i,traceparent:o}=nk({span:t,propagateTraceparent:r});n&&function(e,t,r,n){let i=e.__sentry_xhr_v3__?.request_headers;if(!i?.["sentry-trace"]&&e.setRequestHeader)try{if(e.setRequestHeader("sentry-trace",t),n&&!i?.traceparent&&e.setRequestHeader("traceparent",n),r){let t=i?.baggage;t&&t.split(",").some(e=>e.trim().startsWith("sentry-"))||e.setRequestHeader("baggage",r)}}catch{}}(e,n,i,o)}(a,(0,rn.f)()&&h?m:void 0,i);let g=(0,z.KU)();return g&&g.emit("beforeOutgoingRequestSpan",m,e),m}(e,c,d,f,p,u);t&&(a&&nB(t),l?.(t,{headers:nU(e.xhr.__sentry_xhr_v3__?.request_headers)}))})}(e,{traceFetch:S,traceXHR:E,trackFetchStreamPerformance:w,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:P,enableHTTPTimings:x,onRequestSpanStart:U,onRequestSpanEnd:$})}}})({...e,instrumentNavigation:!1,instrumentPageLoad:!1,onRequestSpanStart(...t){let[r,{headers:n}]=t;return n?.get("next-router-prefetch")&&r?.setAttribute("http.request.prefetch",!0),e.onRequestSpanStart?.(...t)}}),{instrumentPageLoad:r=!0,instrumentNavigation:n=!0}=e;return{...t,afterAllSetup(e){n&&function(e){if(e3.document.getElementById("__NEXT_DATA__"))ir.events.on("routeChangeStart",t=>{let r,n,i=tb(t),o=function(e){let t=e3.__BUILD_MANIFEST?.sortedPages;if(t)return t.find(t=>{let r=function(e){let t=e.split("/"),r="";t[t.length-1]?.match(/^\[\[\.\.\..+\]\]$/)&&(t.pop(),r="(?:/(.+?))?");let n=t.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${n}${r}(?:/)?$`)}(t);return e.match(r)})}(i);o?(r=o,n="route"):(r=i,n="url"),nW(e,{name:r,attributes:{[B.uT]:"navigation",[B.JD]:"auto.navigation.nextjs.pages_router_instrumentation",[B.i_]:n}})});else{E=(t,r)=>{let n=n2.env._sentryBasePath??n6._sentryBasePath,i=new URL(n&&!t.startsWith(n)?`${n}${t}`:t,e3.location.href).pathname,o=n1(i),a=o??i;"router-patch"===n5&&(n5="transition-start-hook");let s=n4.current;s?(s.updateName(a),s.setAttributes({"navigation.type":`router.${r}`,[B.i_]:o?"route":"url"}),n4.current=void 0):nW(e,{name:a,attributes:{[B.uT]:"navigation",[B.JD]:"auto.navigation.nextjs.app_router_instrumentation",[B.i_]:o?"route":"url","navigation.type":`router.${r}`}})},e3.addEventListener("popstate",()=>{let t=n1(e3.location.pathname);n4.current?.isRecording()?(n4.current.updateName(t??e3.location.pathname),n4.current.setAttribute(B.i_,t?"route":"url")):n4.current=nW(e,{name:t??e3.location.pathname,attributes:{[B.JD]:"auto.navigation.nextjs.app_router_instrumentation",[B.i_]:t?"route":"url","navigation.type":"browser.popstate"}})});let t=!1,r=0,n=setInterval(()=>{r++;let i=n8?.next?.router??n8?.nd?.router;t||r>500?clearInterval(n):i&&(clearInterval(n),t=!0,ie(e,i,n4),["nd","next"].forEach(t=>{let r=n8[t];r&&(n8[t]=new Proxy(r,{set:(t,r,n)=>("router"===r&&"object"==typeof n&&null!==n&&ie(e,n,n4),t[r]=n,!0)}))}))},20)}}(e),t.afterAllSetup(e),r&&function(e){if(e3.document.getElementById("__NEXT_DATA__")){let{route:t,params:r,sentryTrace:n,baggage:i}=function(){let e,t=e3.document.getElementById("__NEXT_DATA__");if(t?.innerHTML)try{e=JSON.parse(t.innerHTML)}catch{rt.T&&R.Yz.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let r={},{page:n,query:i,props:o}=e;return r.route=n,r.params=i,o?.pageProps&&(r.sentryTrace=o.pageProps._sentryTraceData,r.baggage=o.pageProps._sentryBaggage),r}(),o=(0,nO.D0)(i),a=t||e3.location.pathname;o?.["sentry-transaction"]&&"/_error"===a&&(a=(a=o["sentry-transaction"]).replace(/^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|TRACE|CONNECT)\s+/i,""));let s=(0,ed.k3)();nY(e,{name:a,startTime:s?s/1e3:void 0,attributes:{[B.uT]:"pageload",[B.JD]:"auto.pageload.nextjs.pages_router_instrumentation",[B.i_]:t?"route":"url",...r&&e.getOptions().sendDefaultPii&&{...r}}},{sentryTrace:n,baggage:i})}else{let t=n1(e3.location.pathname),r=(0,ed.k3)();nY(e,{name:t??e3.location.pathname,startTime:r?r/1e3:void 0,attributes:{[B.uT]:"pageload",[B.JD]:"auto.pageload.nextjs.app_router_instrumentation",[B.i_]:t?"route":"url"}})}}(e)}}}());let r=id.env._sentryRewriteFramesAssetPrefixPath||ih._sentryRewriteFramesAssetPrefixPath||"",n=id.env._sentryAssetPrefix||ih._sentryAssetPrefix,i=id.env._sentryBasePath||ih._sentryBasePath,o="true"===id.env._experimentalThirdPartyOriginStackFrames||"true"===ih._experimentalThirdPartyOriginStackFrames;return t.push((({assetPrefix:e,basePath:t,rewriteFramesAssetPrefixPath:r,experimentalThirdPartyOriginStackFrames:n})=>({...((e={})=>{let t=e.root,r=e.prefix||"app:///",n="window"in T.O&&!!T.O.window,i=e.iteratee||function({isBrowser:e,root:t,prefix:r}){return n=>{if(!n.filename)return n;let i=/^[a-zA-Z]:\\/.test(n.filename)||n.filename.includes("\\")&&!n.filename.includes("/"),o=/^\//.test(n.filename);if(e){if(t){let e=n.filename;0===e.indexOf(t)&&(n.filename=e.replace(t,r))}}else if(i||o){let e=i?n.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):n.filename,o=t?function(e,t){e=io(e).slice(1),t=io(t).slice(1);let r=ia(e.split("/")),n=ia(t.split("/")),i=Math.min(r.length,n.length),o=i;for(let e=0;e<i;e++)if(r[e]!==n[e]){o=e;break}let a=[];for(let e=o;e<r.length;e++)a.push("..");return(a=a.concat(n.slice(o))).join("/")}(t,e):function(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,r=ii.exec(t);return r?r.slice(1):[]}(e)[2]||"";n.filename=`${r}${o}`}return n}}({isBrowser:n,root:t,prefix:r});return{name:"RewriteFrames",processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var t;return{...e,...e.stacktrace&&{stacktrace:{...t=e.stacktrace,frames:t?.frames?.map(e=>i(e))}}}})}}}catch{return e}}(t)),t}}})({iteratee:i=>{if(n){let r="undefined"!=typeof window&&window.location?window.location.origin:"";if(i.filename?.startsWith(r)&&!i.filename.endsWith(".js"))return i;if(e)i.filename?.startsWith(e)&&(i.filename=i.filename.replace(e,"app://"));else if(t)try{let{origin:e}=new URL(i.filename);e===r&&(i.filename=i.filename?.replace(e,"app://").replace(t,""))}catch{}}else try{let{origin:e}=new URL(i.filename);i.filename=i.filename?.replace(e,"app://").replace(r,"")}catch{}return n?(i.filename?.includes("/_next")&&(i.filename=decodeURI(i.filename)),i.filename?.match(/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(i.in_app=!1)):(i.filename?.startsWith("app:///_next")&&(i.filename=decodeURI(i.filename)),i.filename?.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(i.in_app=!1)),i}}),name:"NextjsClientStackFrameNormalization"}))({assetPrefix:n,basePath:i,rewriteFramesAssetPrefixPath:r,experimentalThirdPartyOriginStackFrames:o})),t}(e),release:id.env._sentryRelease||ih._sentryRelease,...e};!function(e){let t=iu.env._sentryRewritesTunnelPath||ic._sentryRewritesTunnelPath;if(t&&e.dsn){let r=(0,K.hH)(e.dsn);if(!r)return;let n=r.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(n){let i=n[1],o=n[2],a=`${t}?o=${i}&p=${r.projectId}`;o&&(a+=`&r=${o}`),e.tunnel=a,rt.T&&R.Yz.log(`Tunneling events to "${a}"`)}else rt.T&&R.Yz.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}(t),x(t,"nextjs",["nextjs","react"]),function(e){let t={...e};
19x(t,"react"),(0,O.o)("react",{version:re.version}),function(e={}){var t;let r=!e.skipBrowserExtensionCheck&&!!function(){if(void 0===e3.window||e3.nw)return!1;let e=e3.chrome||e3.browser;if(!e?.runtime?.id)return!1;let t=(0,e2.$N)();return!(e3===e3.top&&["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"].some(e=>t.startsWith(`${e}://`)))}()&&(tC&&(0,R.pq)(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0),n=null==e.defaultIntegrations?t9():e.defaultIntegrations,i={...e,enabled:!r&&e.enabled,stackParser:(0,H.vk)(e.stackParser||t2),integrations:function(e){let t,r=e.defaultIntegrations||[],n=e.integrations;if(r.forEach(e=>{e.isDefaultInstance=!0}),Array.isArray(n))t=[...r,...n];else if("function"==typeof n){let e=n(r);t=Array.isArray(e)?e:[e]}else t=r;let i={};return t.forEach(e=>{let{name:t}=e,r=i[t];r&&!r.isDefaultInstance&&e.isDefaultInstance||(i[t]=e)}),Object.values(i)}({integrations:e.integrations,defaultIntegrations:n}),transport:e.transport||t7};!0===i.debug&&(k.T?R.Yz.enable():(0,R.pq)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,z.o5)().update(i.initialScope);let o=new e6(i);t=o,(0,z.o5)().setClient(t),o.init()}(t)}(t);let r=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;r.id="NextClient404Filter",(0,O.SA)(r);let n=e=>"transaction"===e.type&&e.transaction===n3?null:e;n.id="IncompleteTransactionFilter",(0,O.SA)(n);let i=(e,t)=>{var r;return(r=t?.originalException,(0,el.bJ)(r)&&"string"==typeof r.digest&&r.digest.startsWith("NEXT_REDIRECT;")||e.exception?.values?.[0]?.value==="NEXT_REDIRECT")?null:e};i.id="NextRedirectErrorFilter",(0,O.SA)(i)}({dsn:sB._.sentry.dsn,environment:sB._.sentry.environment,tracesSampleRate:sB._.sentry.tracesSampleRateClient,profilesSampleRate:sB._.sentry.profilesSampleRateClient,denyUrls:[/graph\.facebook\.com/i,/connect\.facebook\.net\/en_US\/all\.js/i,/eatdifferent\.com\.woopra-ns\.com/i,/static\.woopra\.com\/js\/woopra\.js/i,/extensions\//i,/^chrome:\/\//i,/127\.0\.0\.1:4001\/isrunning/i,/webappstoolbarba\.texthelp\.com\//i,/metrics\.itunes\.apple\.com\.edgesuite\.net\//i],ignoreErrors:["TypeError: Failed to fetch","TypeError: NetworkError when attempting to fetch resource.","TypeError: Cancelled","TypeError: Load failed","Type error","e is not a function","Request aborted","NetworkError when attempting to fetch resource","AbortError: The operation was aborted.","TypeError: cancelado","Cannot read property '1' of null","AxiosError: Network Error","ResizeObserver loop limit exceeded","t.modules[p] is not a function","e.tracking.getPageid is not a function","Error: AbortError: Share canceled","AbortError: Share canceled","top.GLOBALS","originalCreateNotification","canvas.contentDocument","MyApp_RemoveAllHighlights","http://tt.epicplay.com","Can't find variable: ZiteReader","jigsaw is not defined","ComboSearch is not defined","http://loading.retry.widdit.com/","atomicFindClose","fb_xd_fragment","bmi_SafeAddOnload","EBCallBackMessageReceived","conduitPage"],debug:sB._.sentry.debugClient,replaysSessionSampleRate:sB._.sentry.sessionSampleRate/100,replaysOnErrorSampleRate:sB._.sentry.onErrorSampleRate/100,enableLogs:!0,integrations:[((e={})=>{let t=e.levels||R.Ow;return{name:"ConsoleLogs",setup(e){let{enableLogs:r,normalizeDepth:n=3,normalizeMaxBreadth:i=1e3}=e.getOptions();if(!r){k.T&&R.Yz.warn("`enableLogs` is not enabled, ConsoleLogs integration disabled");return}tn(({args:r,level:o})=>{var a;if((0,z.KU)()!==e||!t.includes(o))return;let s=r[0],l=r.slice(1);if("assert"===o){s||em({level:"error",message:l.length>0?`Assertion failed: ${im(l,n,i)}`:"Assertion failed",attributes:ig});return}let u="log"===o,c=r.length>1&&"string"==typeof r[0]&&(a=r[0],!/%[sdifocO]/.test(a)),d={...ig,...c?function(e,t){let r={},n=Array(t.length).fill("{}").join(" ");return r["sentry.message.template"]=`${e} ${n}`,t.forEach((e,t)=>{r[`sentry.message.parameter.${t}`]=e}),r}(s,l):{}};em({level:u?"info":o,message:im(r,n,i),severityNumber:u?10:void 0,attributes:d})})}}})({levels:["log","warn","error"]}),new sp({maskAllText:sB._.sentry.maskAllText,maskAllInputs:!0,blockAllMedia:sB._.sentry.blockAllMedia}),{name:"BrowserProfiling",setup(e){let t=e.getOptions(),r=new sj;if(sM(t)||t.profileLifecycle||(t.profileLifecycle="manual"),sM(t)&&!t.profilesSampleRate){tC&&R.Yz.log("[Profiling] Profiling disabled, no profiling options foun
19d.");return}let n=(0,ea.Bk)(),i=n&&(0,ea.zU)(n);if(sM(t)&&void 0!==t.profileSessionSampleRate&&tC&&R.Yz.warn("[Profiling] Both legacy profiling (`profilesSampleRate`) and UI profiling settings are defined. `profileSessionSampleRate` has no effect when legacy profiling is enabled."),sM(t))i&&sx(i)&&sA(i)&&sD(i),e.on("spanStart",e=>{e===(0,ea.zU)(e)&&sA(e)&&sD(e)}),e.on("beforeEnvelope",e=>{if(!sN.size)return;let t=function(e){let t=[];return Z(e,(e,r)=>{if("transaction"===r)for(let r=1;r<e.length;r++){let n=e[r];n?.contexts?.profile?.profile_id&&t.push(e[r])}}),t}(e);if(!t.length)return;let r=[];for(let e of t){let t=e?.contexts,n=t?.profile?.profile_id,i=t?.profile?.start_timestamp;if("string"!=typeof n||!n){tC&&R.Yz.log("[Profiling] cannot find profile for a span without a profile context");continue}t?.profile&&delete t.profile;let o=function(e){let t=sN.get(e);return t&&sN.delete(e),t}(n);if(!o){tC&&R.Yz.log(`[Profiling] Could not retrieve profile for span: ${n}`);continue}let a=function(e,t,r,n){if(!(r.samples.length<2?(tC&&R.Yz.log("[Profiling] Discarding profile because it contains less than 2 samples"),!1):!!r.frames.length||(tC&&R.Yz.log("[Profiling] Discarding profile because it contains no frames"),!1)))return null;if("transaction"!==n.type)throw TypeError("Profiling events may only be attached to transactions, this should never occur.");if(null==r)throw TypeError(`Cannot construct profiling event envelope without a valid profile. Got ${r} instead.`);let i=function(e){let t=e.contexts?.trace?.trace_id;return("string"==typeof t&&32!==t.length&&tC&&R.Yz.log(`[Profiling] Invalid traceId: ${t} on profiled event`),"string"!=typeof t)?"":t}(n),o="thread_metadata"in r?r:function(e){let t,r=0,n={samples:[],stacks:[],frames:[],thread_metadata:{[s_]:{name:sy}}},i=e.samples[0];if(!i)return n;let o=i.timestamp,a=(0,ed.k3)(),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=r,n.stacks[t]=[],r++),n.samples[a]={elapsed_since_start_ns:((i.timestamp+l-o)*1e6).toFixed(0),stack_id:t,thread_id:s_};return}let s=e.stacks[i.stackId],u=[];for(;s;){u.push(s.frameId);let t=e.frames[s.frameId];t&&void 0===n.frames[s.frameId]&&(n.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:r,thread_id:s_};n.stacks[r]=u,n.samples[a]=c,r++}),n}(r),a=t||("number"==typeof n.start_timestamp?1e3*n.start_timestamp:1e3*(0,ed.zf)()),s="number"==typeof n.timestamp?1e3*n.timestamp:1e3*(0,ed.zf)();return{event_id:e,timestamp:new Date(a).toISOString(),platform:"javascript",version:"1",release:n.release||"",environment:n.environment||G.U,runtime:{name:"javascript",version:e3.navigator.userAgent},os:{name:sb,version:sS,build_number:sw},device:{locale:sR,model:sT,manufacturer:sw,architecture:sE,is_emulator:!1},debug_meta:{images:sO(r.resources)},profile:o,transactions:[{name:n.transaction||"",id:n.event_id||(0,N.eJ)(),trace_id:i,active_thread_id:s_,relative_start_ns:"0",relative_end_ns:((s-a)*1e6).toFixed(0)}]}}(n,i,o,e);a&&r.push(a)}!function(e,t){if(t.length)for(let r of t)e[1].push([{type:"profile"},r])}(e,r)});else{let n=t.profileLifecycle;if(e.on("startUIProfiler",()=>r.start()),e.on("stopUIProfiler",()=>r.stop()),"manual"===n)r.initialize(e);else if("trace"===n){if(!(0,rn.f)(t)){tC&&R.Yz.warn("[Profiling] `profileLifecycle` is 'trace' but tracing is disabled. Set a `tracesSampleRate` or `tracesSampler` to enable span tracing.");return}r.initialize(e),i&&r.notifyRootSpanActive(i),e3.setTimeout(()=>{let e=(0,ea.Bk)(),t=e&&(0,ea.zU)(e);t&&r.notifyRootSpanActive(t)},0)}}},processEvent:e=>(function(e){return e?.contexts?.profile&&e.contexts&&(e.contexts.trace={...e.contexts?.trace??{},data:{...e.contexts?.trace?.data??{},"thread.id":s_,"thread.name":sy}},e.spans?.forEach(e=>{e.data={...e.data||{},"thread.id":s_,"thread.name":sy}})),e})(e)},((e={})=>{let t={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:"HttpClient",setup(e){var r,n,i,o;r=e,n=t,ts()&&tl(e=>{if((0,z.KU)()!==r)return;let{response:t,args:i,error:o,virtualError:a}=e,[s,l]=i;t&&function(e,t,r,n,i){if(sz(e,r.status,r.url)){var o,a;let e,s,l,u,c=(o=t,!(a=n)&&o instanceof Request||o instanceof Request&&o.bodyUsed?o:new Request
19(o,a));s$()&&([e,l]=sL("Cookie",c),[s,u]=sL("Set-Cookie",r));let d=sF({url:c.url,method:c.method,status:r.status,requestHeaders:e,responseHeaders:s,requestCookies:l,responseCookies:u,error:i,type:"fetch"});(0,O.r)(d)}}(n,s,t,l,o||a)},!1),i=e,o=t,"XMLHttpRequest"in T.O&&tx(e=>{if((0,z.KU)()!==i)return;let{error:t,virtualError:r}=e,n=e.xhr,a=n[tP];if(!a)return;let{method:s,request_headers:l}=a;try{!function(e,t,r,n,i){if(sz(e,t.status,t.responseURL)){let e,o,a;if(s$()){try{let e=t.getResponseHeader("Set-Cookie")||t.getResponseHeader("set-cookie")||void 0;e&&(o=sU(e))}catch{}try{a=function(e){let t=e.getAllResponseHeaders();return t?t.split("\r\n").reduce((e,t)=>{let[r,n]=t.split(": ");return r&&n&&(e[r]=n),e},{}):{}}(t)}catch{}e=n}let s=sF({url:t.responseURL,method:r,status:t.status,requestHeaders:e,responseHeaders:a,responseCookies:o,error:i,type:"xhr"});(0,O.r)(s)}}(o,n,s,l,t||r)}catch(e){tC&&R.Yz.warn("Error while extracting response event form XHR response",e)}})}}})()],sendDefaultPii:!0});let sH=function(e,t){E&&E(e,t)}},170:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return o},formatWithValidation:function(){return s},urlObjectKeys:function(){return a}});let n=r(88365)._(r(91490)),i=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,o=e.protocol||"",a=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return o&&!o.endsWith(":")&&(o+=":"),e.slashes||(!o||i.test(o))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),""+o+u+(a=a.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+s}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function s(e){return o(e)}},242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(64252)._(r(14232)).default.createContext(null)},1623:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=r(70464),i=r(62437);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},1677:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BailoutToCSRError:function(){return n},isBailoutToCSRError:function(){return i}});let r="BAILOUT_TO_CLIENT_SIDE_RENDERING";class n extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=r}}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}},1744:(e,t)=>{"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}function n(e){return e.startsWith("@")&&"@children"!==e}function i(e,t){if(e.includes(o)){let e=JSON.stringify(t);return"{}"!==e?o+"?"+e:o}return e}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DEFAULT_SEGMENT_KEY:function(){return a},PAGE_SEGMENT_KEY:function(){return o},addSearchParamsIfPageSegment:function(){return i},isGroupSegment:function(){return r},isParallelRouteSegment:function(){return n}});let o="__PAGE__",a="__DEFAULT__"},1768:(e,t)=>{"use strict";let r;function n(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
19dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2291:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathnameContextProviderAdapter:function(){return p},adaptForAppRouterInstance:function(){return c},adaptForPathParams:function(){return f},adaptForSearchParams:function(){return d}});let n=r(88365),i=r(37876),o=n._(r(14232)),a=r(88797),s=r(35847),l=r(31059),u=r(45700);function c(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},hmrRefresh(){},push(t,r){let{scroll:n}=void 0===r?{}:r;e.push(t,void 0,{scroll:n})},replace(t,r){let{scroll:n}=void 0===r?{}:r;e.replace(t,void 0,{scroll:n})},prefetch(t){e.prefetch(t)}}}function d(e){return e.isReady&&e.query?(0,l.asPathToSearchParams)(e.asPath):new URLSearchParams}function f(e){if(!e.isReady||!e.query)return null;let t={};for(let r of Object.keys((0,u.getRouteRegex)(e.pathname).groups))t[r]=e.query[r];return t}function p(e){let{children:t,router:r,...n}=e,l=(0,o.useRef)(n.isAutoExport),u=(0,o.useMemo)(()=>{let e,t=l.current;if(t&&(l.current=!1),(0,s.isDynamicRoute)(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return(0,i.jsx)(a.PathnameContext.Provider,{value:u,children:t})}},2326:(e,t)=>{"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},4818:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return i},extractInterceptionRouteInformation:function(){return a},isInterceptionRouteAppPath:function(){return o}});let n=r(7769),i=["(..)(..)","(.)","(..)","(...)"];function o(e){return void 0!==e.split("/").find(e=>i.find(t=>e.startsWith(t)))}function a(e){let t,r,o;for(let n of e.split("/"))if(r=i.find(e=>n.startsWith(e))){[t,o]=e.split(r,2);break}if(!t||!r||!o)throw Object.defineProperty(Error("Invalid interception route: "+e+". Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>"),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":o="/"===t?"/"+o:t+"/"+o;break;case"(..)":if("/"===t)throw Object.defineProperty(Error("Invalid interception route: "+e+". Cannot use (..) marker at the root level, use (.) instead."),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});o=t.split("/").slice(0,-1).concat(o).join("/");break;case"(...)":o="/"+o;break;case"(..)(..)":let a=t.split("/");if(a.length<=2)throw Object.defineProperty(Error("Invalid interception route: "+e+". Cannot use (..)(..) marker at the root level or one level up."),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});o=a.slice(0,-2).concat(o).join("/");break;default:throw Object.defineProperty(Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:t,interceptedRoute:o}}},6519:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(64252)._(r(25037));class i{end(e){if("ended"===this.state.state)throw Object.defineProperty(Error("Span has already ended"),"__NEXT_ERROR_CODE",{value:"E17",enumerable:!1,configurable:!0});this.state={state:"ended",endTime:null!=e?e:Date.now()},this.onSpanEnd(this)}constructor(e,t,r){var n,i;this.name=e,this.attributes=null!=(n=t.attributes)?n:{},this.startTime=null!=(i=t.startTime)?i:Date.now(),this.onSpanEnd=r,this.state={state:"inprogress"}}}class o{startSpan(e,t){return new i(e,t,this.handleSpanEnd)}onSpanEnd(e){return this._emitter.on("spanend",e),()=>{this._emitter.off("spanend",e)}}constructor(){this._emitter=(0,n.default)(),this.handleSpanEnd=e=>{this._emitter.emit("spanend",e)}}}let a=new o;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
19dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7769:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return o},normalizeRscURL:function(){return a}});let n=r(24444),i=r(1744);function o(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,i.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function a(e){return e.replace(/\.rsc($|\?)/,"$1")}},7965:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=r(64252)._(r(14232)).default.createContext({})},8708:(e,t,r)=>{"use strict";r.d(t,{S8:()=>a,cd:()=>function e(t,r=3,n=102400){let i=a(t,r);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>n?e(t,r-1,n):i}});var n=r(50045),i=r(71830),o=r(83380);function a(e,t=100,r=Infinity){try{return function e(t,r,a=Infinity,s=Infinity,l=function(){let e=new WeakSet;return[function(t){return!!e.has(t)||(e.add(t),!1)},function(t){e.delete(t)}]}()){let[u,c]=l;if(null==r||["boolean","string"].includes(typeof r)||"number"==typeof r&&Number.isFinite(r))return r;let d=function(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if((0,n.L2)(t))return(0,o.nY)(t);if((0,n.mE)(t))return"[SyntheticEvent]";if("number"==typeof t&&!Number.isFinite(t))return`[${t}]`;if("function"==typeof t)return`[Function: ${(0,o.qQ)(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let r=function(e){let t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}(t);if(/^HTML(\w*)Element$/.test(r))return`[HTMLElement: ${r}]`;return`[object ${r}]`}catch(e){return`**non-serializable** (${e})`}}(t,r);if(!d.startsWith("[object "))return d;if(r.__sentry_skip_normalization__)return r;let f="number"==typeof r.__sentry_override_normalization_depth__?r.__sentry_override_normalization_depth__:a;if(0===f)return d.replace("object ","");if(u(r))return"[Circular ~]";if(r&&"function"==typeof r.toJSON)try{let t=r.toJSON();return e("",t,f-1,s,l)}catch{}let p=Array.isArray(r)?[]:{},h=0,m=(0,i.W4)(r);for(let t in m){if(!Object.prototype.hasOwnProperty.call(m,t))continue;if(h>=s){p[t]="[MaxProperties ~]";break}let r=m[t];p[t]=e(t,r,f-1,s,l),h++}return c(r),p}("",e,t,r)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}},9094:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return o}});let n=r(90135),i=r(19783);function o(e,t){return(0,i.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9263:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=r(64252)._(r(14232)),i=r(89161),o=n.default.createContext(i.imageConfigDefault)},9344:(e,t,r)=>{"use strict";let n;r.d(t,{k3:()=>u,lu:()=>a,zf:()=>s});var i=r(58934),o=r(77628);function a(){return(0,i.Wk)()/1e3}function s(){return(n??(n=function(){let{performance:e}=o.O;if(!e?.now||!e.timeOrigin)return a;let t=e.timeOrigin;return()=>(t+(0,i.Qw)(()=>e.now()))/1e3}()))()}let l=null;function u(){return null===l&&(l=function(){let{performance:e}=o.O;if(!e?.now)return;let t=(0,i.Qw)(()=>e.now()),r=(0,i.Wk)(),n=e.timeOrigin;if("number"==typeof n&&3e5>Math.abs(n+t-r))return n;let a=e.timing?.navigationStart;return"number"==typeof a&&3e5>Math.abs(a+t-r)?a:r-t}()),l}},9831:(e,t)=>{"use strict";
19Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reportGlobalError",{enumerable:!0,get:function(){return r}});let r="function"==typeof reportError?reportError:e=>{globalThis.console.error(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},10051:(e,t,r)=>{"use strict";r.d(t,{M:()=>n});let n="10.38.0"},10337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});let n=r(90135),i=r(93590);function o(e,t,r,o){if(!t||t===r)return e;let a=e.toLowerCase();return!o&&((0,i.pathHasPrefix)(a,"/api")||(0,i.pathHasPrefix)(a,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},10494:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return i}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function i(e){return r.test(e)?e.replace(n,"\\$&"):e}},11677:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},isEqualNode:function(){return i}});let n=r(38461);function i(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}function o(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"])if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;else e.props.href=e.props["data-href"],e.props["data-href"]=void 0;let r=t[e.type]||[];r.push(e),t[e.type]=r});let r=t.title?t.title[0]:null,o="";if(r){let{children:e}=r.props;o="string"==typeof e?e:Array.isArray(e)?e.join(""):""}o!==document.title&&(document.title=o),["meta","base","link","style","script"].forEach(e=>{!function(e,t){let r=document.querySelector("head");if(!r)return;let o=new Set(r.querySelectorAll(""+e+"[data-next-head]"));if("meta"===e){let e=r.querySelector("meta[charset]");null!==e&&o.add(e)}let a=[];for(let e=0;e<t.length;e++){let r=function(e){let{type:t,props:r}=e,i=document.createElement(t);(0,n.setAttributesFromProps)(i,r);let{children:o,dangerouslySetInnerHTML:a}=r;return a?i.innerHTML=a.__html||"":o&&(i.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):""),i}(t[e]);r.setAttribute("data-next-head","");let s=!0;for(let e of o)if(i(e,r)){o.delete(e),s=!1;break}s&&a.push(r)}for(let e of o){var s;null==(s=e.parentNode)||s.removeChild(e)}for(let e of a)"meta"===e.tagName.toLowerCase()&&null!==e.getAttribute("charset")&&r.prepend(e),r.appendChild(e)}(e,t[e]||[])})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12962:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return i}});let n=r(34200);function i(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:i,hash:o}=(0,n.parsePath)(e);return""+r+t+i+o}},13281:(e,t)=>{"use strict";function r(e,t){return void 0===t&&(t=""),("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},13545:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return r}});let r=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|Skype
19UriPreview|Yeti|googleweblight/i},14643:(e,t)=>{"use strict";function r(e,t,r,n,o){let a=e[t];if(o&&o.has(t)?a=o.get(t):Array.isArray(a)?a=a.map(e=>encodeURIComponent(e)):"string"==typeof a&&(a=encodeURIComponent(a)),!a){let o="oc"===r;if("c"===r||o)return o?{param:t,value:null,type:r,treeSegment:[t,"",r]}:{param:t,value:a=n.split("/").slice(1).flatMap(t=>{var r;let n=i(t);return null!=(r=e[n.key])?r:n.key}),type:r,treeSegment:[t,a.join("/"),r]}}return{param:t,value:a,treeSegment:[t,Array.isArray(a)?a.join("/"):a,r],type:r}}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PARAMETER_PATTERN:function(){return n},getDynamicParam:function(){return r},parseMatchedParameter:function(){return o},parseParameter:function(){return i}});let n=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function i(e){let t=e.match(n);return t?o(t[2]):o(e)}function o(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}},15792:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRouterContext:function(){return i},GlobalLayoutRouterContext:function(){return a},LayoutRouterContext:function(){return o},MissingSlotContext:function(){return l},TemplateContext:function(){return s}});let n=r(64252)._(r(14232)),i=n.default.createContext(null),o=n.default.createContext(null),a=n.default.createContext(null),s=n.default.createContext(null),l=n.default.createContext(new Set)},15806:(e,t,r)=>{"use strict";r.d(t,{Bk:()=>N,CC:()=>m,Ck:()=>y,G_:()=>S,Hu:()=>I,Qh:()=>b,VS:()=>C,aO:()=>g,cI:()=>w,et:()=>R,kX:()=>v,pK:()=>P,uU:()=>E,xO:()=>A,xl:()=>D,yW:()=>x,zU:()=>M});var n=r(39132),i=r(46925),o=r(92797),a=r(57510),s=r(19674),l=r(24437),u=r(71830),c=r(42252),d=r(9344),f=r(35033),p=r(56011),h=r(82172);let m=0,g=1,_=!1;function y(e){let{spanId:t,traceId:r}=e.spanContext(),{data:n,op:i,parent_span_id:o,status:a,origin:s,links:l}=R(e);return{parent_span_id:o,span_id:t,trace_id:r,data:n,op:i,status:a,origin:s,links:l}}function v(e){let{spanId:t,traceId:r,isRemote:n}=e.spanContext(),i=n?t:R(e).parent_span_id,o=(0,l.L)(e).scope;return{parent_span_id:i,span_id:n?o?.getPropagationContext().propagationSpanId||(0,c.Z)():t,trace_id:r}}function b(e){let{traceId:t,spanId:r}=e.spanContext(),n=P(e);return(0,f.TC)(t,r,n)}function S(e){let{traceId:t,spanId:r}=e.spanContext(),n=P(e);return(0,f.Iy)(t,r,n)}function E(e){return e&&e.length>0?e.map(({context:{spanId:e,traceId:t,traceFlags:r,...n},attributes:i})=>({span_id:e,trace_id:t,sampled:r===g,attributes:i,...n})):void 0}function w(e){return"number"==typeof e?T(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?T(e.getTime()):(0,d.zf)()}function T(e){return e>0x2540be3ff?e/1e3:e}function R(e){var t;if("function"==typeof e.getSpanJSON)return e.getSpanJSON();let{spanId:r,traceId:n}=e.spanContext();if((t=e).attributes&&t.startTime&&t.name&&t.endTime&&t.status){let{attributes:t,startTime:i,name:o,endTime:s,status:l,links:u}=e;return{span_id:r,trace_id:n,data:t,description:o,parent_span_id:"parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0,start_timestamp:w(i),timestamp:w(s)||void 0,status:x(l),op:t[a.uT],origin:t[a.JD],links:E(u)}}return{span_id:r,trace_id:n,start_timestamp:0,data:{}}}function P(e){let{traceFlags:t}=e.spanContext();return t===g}function x(e){if(e&&e.code!==s.a3)return e.code===s.F3?"ok":e.message||"internal_error"}let O="_sentryChildSpans",k="_sentryRootSpan";function I(e,t){let r=e[k]||e;(0,u.my)(t,k,r),e[O]?e[O].add(t):(0,u.my)(e,O,new Set([t]))}function C(e,t){e[O]&&e[O].delete(t)}function A(e){let t=new Set;return!function e(r){if(!t.has(r)&&P(r))for(let n of(t.add(r),r[O]?Array.from(r[O]):[]))e(n)}(e),Array.from(t)}function M(e){return e[k]||e}function N(){let e=(0,i.EU)(),t=(0,n.h)(e);return t.getActiveSpan?t.getActiveSpan():(0,h.f)((0,o.o5)())}function D(){_||((0,p.pq)(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),_=!0)}},16296:(e,t,r)=>{"use strict";
19Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return o.default},createRouter:function(){return m},default:function(){return p},makePublicRouterInstance:function(){return g},useRouter:function(){return h},withRouter:function(){return l.default}});let n=r(64252),i=n._(r(14232)),o=n._(r(60826)),a=r(242),s=n._(r(66240)),l=n._(r(17477)),u={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],d=["push","replace","reload","back","prefetch","beforePopState"];function f(){if(!u.router)throw Object.defineProperty(Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return u.router}Object.defineProperty(u,"events",{get:()=>o.default.events}),c.forEach(e=>{Object.defineProperty(u,e,{get:()=>f()[e]})}),d.forEach(e=>{u[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return f()[e](...r)}}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{u.ready(()=>{o.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let i="on"+e.charAt(0).toUpperCase()+e.substring(1);if(u[i])try{u[i](...r)}catch(e){console.error("Error when running the Router event: "+i),console.error((0,s.default)(e)?e.message+"\n"+e.stack:e+"")}})})});let p=u;function h(){let e=i.default.useContext(a.RouterContext);if(!e)throw Object.defineProperty(Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted"),"__NEXT_ERROR_CODE",{value:"E509",enumerable:!1,configurable:!0});return e}function m(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.router=new o.default(...t),u.readyCallbacks.forEach(e=>e()),u.readyCallbacks=[],u.router}function g(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=o.default.events,d.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return e[r](...n)}}),t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},17253:(e,t,r)=>{"use strict";r.d(t,{D0:()=>c,De:()=>u,sv:()=>a,yD:()=>l});var n=r(41419),i=r(56011),o=r(50045);let a="sentry-",s=/^sentry-/;function l(e){let t=c(e);if(!t)return;let r=Object.entries(t).reduce((e,[t,r])=>(t.match(s)&&(e[t.slice(a.length)]=r),e),{});return Object.keys(r).length>0?r:void 0}function u(e){if(e){var t=Object.entries(e).reduce((e,[t,r])=>(r&&(e[`${a}${t}`]=r),e),{});return 0!==Object.keys(t).length?Object.entries(t).reduce((e,[t,r],o)=>{let a=`${encodeURIComponent(t)}=${encodeURIComponent(r)}`,s=0===o?a:`${e},${a}`;return s.length>8192?(n.T&&i.Yz.warn(`Not adding key: ${t} with val: ${r} to baggage header due to exceeding baggage size limits.`),e):s},""):void 0}}function c(e){if(e&&((0,o.Kg)(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce((e,t)=>(Object.entries(d(t)).forEach(([t,r])=>{e[t]=r}),e),{}):d(e)}function d(e){return e.split(",").map(e=>{let t=e.indexOf("=");return -1===t?[]:[e.slice(0,t),e.slice(t+1)].map(e=>{try{return decodeURIComponent(e.trim())}catch{return}})}).reduce((e,[t,r])=>(t&&r&&(e[t]=r),e),{})}},17477:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}}),r(64252);let n=r(37876);r(14232);let i=r(16296);function o(e){function t(t){return(0,n.jsx)(e,{router:(0,i.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
19dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},17892:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{APP_BUILD_MANIFEST:function(){return b},APP_CLIENT_INTERNALS:function(){return Z},APP_PATHS_MANIFEST:function(){return _},APP_PATH_ROUTES_MANIFEST:function(){return y},AdapterOutputType:function(){return o},BARREL_OPTIMIZATION_PREFIX:function(){return Y},BLOCKED_PAGES:function(){return z},BUILD_ID_FILE:function(){return U},BUILD_MANIFEST:function(){return v},CLIENT_PUBLIC_FILES_PATH:function(){return F},CLIENT_REFERENCE_MANIFEST:function(){return W},CLIENT_STATIC_FILES_PATH:function(){return $},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return et},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return V},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return Q},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return en},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return ei},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return ee},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return er},COMPILER_INDEXES:function(){return a},COMPILER_NAMES:function(){return i},CONFIG_FILES:function(){return L},DEFAULT_RUNTIME_WEBPACK:function(){return eo},DEFAULT_SANS_SERIF_FONT:function(){return ec},DEFAULT_SERIF_FONT:function(){return eu},DEV_CLIENT_MIDDLEWARE_MANIFEST:function(){return N},DEV_CLIENT_PAGES_MANIFEST:function(){return I},DYNAMIC_CSS_MANIFEST:function(){return J},EDGE_RUNTIME_WEBPACK:function(){return ea},EDGE_UNSUPPORTED_NODE_APIS:function(){return em},EXPORT_DETAIL:function(){return R},EXPORT_MARKER:function(){return T},FUNCTIONS_CONFIG_MANIFEST:function(){return S},IMAGES_MANIFEST:function(){return O},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return K},MIDDLEWARE_BUILD_MANIFEST:function(){return G},MIDDLEWARE_MANIFEST:function(){return C},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return X},MODERN_BROWSERSLIST_TARGET:function(){return n.default},NEXT_BUILTIN_DOCUMENT:function(){return H},NEXT_FONT_MANIFEST:function(){return w},PAGES_MANIFEST:function(){return m},PHASE_DEVELOPMENT_SERVER:function(){return f},PHASE_EXPORT:function(){return u},PHASE_INFO:function(){return h},PHASE_PRODUCTION_BUILD:function(){return c},PHASE_PRODUCTION_SERVER:function(){return d},PHASE_TEST:function(){return p},PRERENDER_MANIFEST:function(){return P},REACT_LOADABLE_MANIFEST:function(){return D},ROUTES_MANIFEST:function(){return x},RSC_MODULE_TYPES:function(){return eh},SERVER_DIRECTORY:function(){return j},SERVER_FILES_MANIFEST:function(){return k},SERVER_PROPS_ID:function(){return el},SERVER_REFERENCE_MANIFEST:function(){return q},STATIC_PROPS_ID:function(){return es},STATIC_STATUS_PAGES:function(){return ed},STRING_LITERAL_DROP_BUNDLE:function(){return B},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return E},SYSTEM_ENTRYPOINTS:function(){return eg},TRACE_OUTPUT_VERSION:function(){return ef},TURBOPACK_CLIENT_BUILD_MANIFEST:function(){return M},TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST:function(){return A},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return ep},UNDERSCORE_NOT_FOUND_ROUTE:function(){return s},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return l},WEBPACK_STATS:function(){return g}});let n=r(64252)._(r(47e3)),i={client:"client",server:"server",edgeServer:"edge-server"};var o=function(e){return e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.PRERENDER="PRERENDER",e.STATIC_FILE="STATIC_FILE",e.MIDDLEWARE="MIDDLEWARE",e}({});let a={[i.client]:0,[i.server]:1,[i.edgeServer]:2},s="/_not-found",l=""+s+"/page",u="phase-export",c="phase-production-build",d="phase-production-server",f="phase-development-server",p="phase-test",h="phase-info",m="pages-manifest.json",g
19="webpack-stats.json",_="app-paths-manifest.json",y="app-path-routes-manifest.json",v="build-manifest.json",b="app-build-manifest.json",S="functions-config-manifest.json",E="subresource-integrity-manifest",w="next-font-manifest",T="export-marker.json",R="export-detail.json",P="prerender-manifest.json",x="routes-manifest.json",O="images-manifest.json",k="required-server-files.json",I="_devPagesManifest.json",C="middleware-manifest.json",A="_clientMiddlewareManifest.json",M="client-build-manifest.json",N="_devMiddlewareManifest.json",D="react-loadable-manifest.json",j="server",L=["next.config.js","next.config.mjs","next.config.ts"],U="BUILD_ID",z=["/_document","/_app","/_error"],F="public",$="static",B="__NEXT_DROP_CLIENT_FILE__",H="__NEXT_BUILTIN_DOCUMENT__",Y="__barrel_optimize__",W="client-reference-manifest",q="server-reference-manifest",G="middleware-build-manifest",X="middleware-react-loadable-manifest",K="interception-route-rewrite-manifest",J="dynamic-css-manifest",V="main",Q=""+V+"-app",Z="app-pages-internals",ee="react-refresh",et="amp",er="webpack",en="polyfills",ei=Symbol(en),eo="webpack-runtime",ea="edge-runtime-webpack",es="__N_SSG",el="__N_SSP",eu={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},ec={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},ed=["/500"],ef=1,ep=6e3,eh={client:"client",server:"server"},em=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],eg=new Set([V,ee,et,Q]);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},18081:(e,t,r)=>{"use strict";r.d(t,{H:()=>h});var n=r(41419),i=r(61293),o=r(56011),a=r(50045),s=r(55095),l=r(98093),u=r(42252),c=r(58934),d=r(82172),f=r(76076),p=r(9344);class h{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:(0,u.e)(),sampleRand:(0,c.hY)()}}clone(){let e=new h;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,(0,d.r)(e,(0,d.f)(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,i.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,{tags:r,attributes:n,extra:i,user:o,contexts:s,level:l,fingerprint:u=[],propagationContext:c,conversationId:d}=(t instanceof h?t.getScopeData():(0,a.Qd)(t)?e:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...n},this._extra={...this._extra,...i},this._contexts={...this._contexts,...s},o&&Object.keys(o).length&&(this._user=o),l&&(this._level=l),u.length&&(this._fingerprint=u),c&&(this._propagationContext=c),d&&(this._conversationId=d),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,(0,d.r)(this,void 0),this._attachments=[],this.setPropagationContext({traceId:(0,u.e)(),sampleRand:(0,c.hY)()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let r="number"==typeof t?t:100;if(r<=0)return this;let n={timestamp:(0,p.lu)(),...e,message:e.message?(0,f.xv)(e.message,2048):e.message};return this._breadcrumbs.push(n),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,d.f)(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=(0,s.h)(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}
19captureException(e,t){let r=t?.event_id||(0,l.eJ)();if(!this._client)return n.T&&o.Yz.warn("No client configured on scope - will not capture exception!"),r;let i=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:i,...t,event_id:r},this),r}captureMessage(e,t,r){let i=r?.event_id||(0,l.eJ)();if(!this._client)return n.T&&o.Yz.warn("No client configured on scope - will not capture message!"),i;let a=r?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:a,...r,event_id:i},this),i}captureEvent(e,t){let r=t?.event_id||(0,l.eJ)();return this._client?this._client.captureEvent(e,{...t,event_id:r},this):n.T&&o.Yz.warn("No client configured on scope - will not capture event!"),r}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}},18334:(e,t,r)=>{"use strict";r.d(t,{Cp:()=>u,J0:()=>m,J5:()=>y,Ol:()=>p,SA:()=>h,bX:()=>f,o:()=>d,r:()=>c});var n=r(92797),i=r(41419),o=r(61293),a=r(56011),s=r(83515),l=r(77628);function u(e,t){return(0,n.o5)().captureException(e,(0,s.li)(t))}function c(e,t){return(0,n.o5)().captureEvent(e,t)}function d(e,t){(0,n.rm)().setContext(e,t)}async function f(e){let t=(0,n.KU)();return t?t.flush(e):(i.T&&a.Yz.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}function p(){let e=(0,n.KU)();return e?.getOptions().enabled!==!1&&!!e?.getTransport()}function h(e){(0,n.rm)().addEventProcessor(e)}function m(e){let t=(0,n.rm)(),r=(0,n.o5)(),{userAgent:i}=l.O.navigator||{},a=(0,o.fj)({user:r.getUser()||t.getUser(),...i&&{userAgent:i},...e}),s=t.getSession();return s?.status==="ok"&&(0,o.qO)(s,{status:"exited"}),g(),t.setSession(a),a}function g(){let e=(0,n.rm)(),t=(0,n.o5)().getSession()||e.getSession();t&&(0,o.Vu)(t),_(),e.setSession()}function _(){let e=(0,n.rm)(),t=(0,n.KU)(),r=e.getSession();r&&t&&t.captureSession(r)}function y(e=!1){if(e)return void g();_()}},18760:(e,t,r)=>{"use strict";r.d(t,{U:()=>n});let n="production"},19673:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return a}});let n=r(58116),i=r(34914),o=r(93590);function a(e,t){var r,a;let{basePath:s,i18n:l,trailingSlash:u}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):u};s&&(0,o.pathHasPrefix)(c.pathname,s)&&(c.pathname=(0,i.removePathPrefix)(c.pathname,s),c.basePath=s);let d=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");c.buildId=e[0],d="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(c.pathname=d)}if(l){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,n.normalizeLocalePath)(c.pathname,l.locales);c.locale=e.detectedLocale,c.pathname=null!=(a=e.pathname)?a:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(d):(0,n.normalizeLocalePath)(d,l.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},19674:(e,t,r)=>{"use strict";r.d(t,{F3:()=>i,N8:()=>a,TJ:()=>o,a3:()=>n});let n=0,i=1,o=2;function a(e,t){e.setAttribute("http.response.status_code",t);let r=function(e){if(e<400&&e>=100)return{code:i};if(e>=400&&e<500)switch(e){case 401:return{code:o,message:"unauthenticated"};case 403:return{code:o,message:"permission_denied"};case 404:return{code:o,message:"not_found"};case 409:return{code:o,message:"already_exists"};case 413:return{code:o,message:"failed_precondition"};case 429:return{code:o,message:"resource_exhausted"};case 499:return{code:o,message:"cancelled"};default:return{code:o,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:o,message:"unimplemented"};case 503:return{code:o,message:"unavailable"};case 504:return{code:o,message:"deadline_exceeded"}}return{code:o,message:"internal_error"}}(t);"unknown_error"!==r.message&&e.setStatus(r)}},19783:(e,t,r)=>{"use strict";
19Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return o}});let n=r(23964),i=r(34200),o=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:o}=(0,i.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+o};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},20125:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(19783);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},21291:()=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},22935:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=1e-4);let n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let n=function(e){let t=0;for(let r=0;r<e.length;r++)t=Math.imul(t^e.charCodeAt(r),0x5bd1e995),t^=t>>>13,t=Math.imul(t,0x5bd1e995);return t>>>0}(""+e+r)%this.numBits;t.push(n)}return t}constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},23964:(e,t)=>
19{"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},24437:(e,t,r)=>{"use strict";r.d(t,{L:()=>l,d:()=>s});var n=r(71830),i=r(77628);let o="_sentryScope",a="_sentryIsolationScope";function s(e,t,r){e&&((0,n.my)(e,a,function(e){try{let t=i.O.WeakRef;if("function"==typeof t)return new t(e)}catch{}return e}(r)),(0,n.my)(e,o,t))}function l(e){return{scope:e[o],isolationScope:function(e){if(e){if("object"==typeof e&&"deref"in e&&"function"==typeof e.deref)try{return e.deref()}catch{return}return e}}(e[a])}}},24444:(e,t)=>{"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},25037:(e,t)=>{"use strict";function r(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];(e[t]||[]).slice().map(e=>{e(...n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},25372:(e,t,r)=>{"use strict";function n(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t))&&!(t<0)&&!(t>1))return t}r.d(t,{i:()=>n})},26175:(e,t,r)=>{"use strict";let n,i,o,a;r.d(t,{i:()=>c,z:()=>u});var s=r(83380),l=r(77628);function u(e){let t=l.O._sentryDebugIds,r=l.O._debugIds;if(!t&&!r)return{};let s=t?Object.keys(t):[],u=r?Object.keys(r):[];if(a&&s.length===i&&u.length===o)return a;i=s.length,o=u.length,a={},n||(n={});let c=(t,r)=>{for(let i of t){let t=r[i],o=n?.[i];if(o&&a&&t)a[o[0]]=t,n&&(n[i]=[o[0],t]);else if(t){let r=e(i);for(let e=r.length-1;e>=0;e--){let o=r[e],s=o?.filename;if(s&&a&&n){a[s]=t,n[i]=[s,t];break}}}}};return t&&c(s,t),r&&c(u,r),a}function c(e,t){let r=u(e);if(!r)return[];let n=[];for(let e of t){let t=(0,s.Wt)(e);t&&r[t]&&n.push({type:"sourcemap",code_file:e,debug_id:r[t]})}return n}},26201:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},29269:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return d}});let n=r(64252),i=r(88365),o=r(37876),a=i._(r(14232)),s=n._(r(42226)),l=r(34461),u=r(7965),c=r(63169);function d(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(26201);let p=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(f,[]).reverse().concat(d(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let o=!0,a=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){a=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=p.length;e<t;e++){let t=p[e];if(i.props.hasOwnProperty(t))if("charSet"===t)r.has(t)?o=!1:r.add(t);else{let e=i.props[t],r=n[t]||new Set;("name"!==t||!a)&&r.has(e)?o=!1:(r.add(e),n[t]=r)}}}return o}}()).reverse().map((e,t)=>{let r=e.key||t;return a.default.cloneElement(e,{key:r})})}let m=function(e){let{children:t}=e,r=(0,a.useContext)(l.AmpStateContext),n=(0,a.useContext)(u.HeadManagerContext);return(0,o.jsx)(s.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
19dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29509:e=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var t={};(()=>{function e(e,t){void 0===t&&(t={});for(var r=function(e){for(var t=[],r=0;r<e.length;){var n=e[r];if("*"===n||"+"===n||"?"===n){t.push({type:"MODIFIER",index:r,value:e[r++]});continue}if("\\"===n){t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if("{"===n){t.push({type:"OPEN",index:r,value:e[r++]});continue}if("}"===n){t.push({type:"CLOSE",index:r,value:e[r++]});continue}if(":"===n){for(var i="",o=r+1;o<e.length;){var a=e.charCodeAt(o);if(a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122||95===a){i+=e[o++];continue}break}if(!i)throw TypeError("Missing parameter name at ".concat(r));t.push({type:"NAME",index:r,value:i}),r=o;continue}if("("===n){var s=1,l="",o=r+1;if("?"===e[o])throw TypeError('Pattern cannot start with "?" at '.concat(o));for(;o<e.length;){if("\\"===e[o]){l+=e[o++]+e[o++];continue}if(")"===e[o]){if(0==--s){o++;break}}else if("("===e[o]&&(s++,"?"!==e[o+1]))throw TypeError("Capturing groups are not allowed at ".concat(o));l+=e[o++]}if(s)throw TypeError("Unbalanced pattern at ".concat(r));if(!l)throw TypeError("Missing pattern at ".concat(r));t.push({type:"PATTERN",index:r,value:l}),r=o;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),n=t.prefixes,o=void 0===n?"./":n,a=t.delimiter,s=void 0===a?"/#?":a,l=[],u=0,c=0,d="",f=function(e){if(c<r.length&&r[c].type===e)return r[c++].value},p=function(e){var t=f(e);if(void 0!==t)return t;var n=r[c],i=n.type,o=n.index;throw TypeError("Unexpected ".concat(i," at ").concat(o,", expected ").concat(e))},h=function(){for(var e,t="";e=f("CHAR")||f("ESCAPED_CHAR");)t+=e;return t},m=function(e){for(var t=0;t<s.length;t++){var r=s[t];if(e.indexOf(r)>-1)return!0}return!1},g=function(e){var t=l[l.length-1],r=e||(t&&"string"==typeof t?t:"");if(t&&!r)throw TypeError('Must have text between two parameters, missing text after "'.concat(t.name,'"'));return!r||m(r)?"[^".concat(i(s),"]+?"):"(?:(?!".concat(i(r),")[^").concat(i(s),"])+?")};c<r.length;){var _=f("CHAR"),y=f("NAME"),v=f("PATTERN");if(y||v){var b=_||"";-1===o.indexOf(b)&&(d+=b,b=""),d&&(l.push(d),d=""),l.push({name:y||u++,prefix:b,suffix:"",pattern:v||g(b),modifier:f("MODIFIER")||""});continue}var S=_||f("ESCAPED_CHAR");if(S){d+=S;continue}if(d&&(l.push(d),d=""),f("OPEN")){var b=h(),E=f("NAME")||"",w=f("PATTERN")||"",T=h();p("CLOSE"),l.push({name:E||(w?u++:""),pattern:E&&!w?g(b):w,prefix:b,suffix:T,modifier:f("MODIFIER")||""});continue}p("END")}return l}function r(e,t){void 0===t&&(t={});var r=o(t),n=t.encode,i=void 0===n?function(e){return e}:n,a=t.validate,s=void 0===a||a,l=e.map(function(e){if("object"==typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),r)});return function(t){for(var r="",n=0;n<e.length;n++){var o=e[n];if("string"==typeof o){r+=o;continue}var a=t?t[o.name]:void 0,u="?"===o.modifier||"*"===o.modifier,c="*"===o.modifier||"+"===o.modifier;if(Array.isArray(a)){if(!c)throw TypeError('Expected "'.concat(o.name,'" to not repeat, but got an array'));if(0===a.length){if(u)continue;throw TypeError('Expected "'.concat(o.name,'" to not be empty'))}for(var d=0;d<a.length;d++){var f=i(a[d],o);if(s&&!l[n].test(f))throw TypeError('Expected all "'.concat(o.name,'" to match "').concat(o.pattern,'", but got "').concat(f,'"'));r+=o.prefix+f+o.suffix}continue}if("string"==typeof a||"number"==typeof a){var f=i(String(a),o);if(s&&!l[n].test(f))throw TypeError('Expected "'.concat(o.name,'" to match "').concat(o.pattern,'", but got "').concat(f,'"'));r+=o.prefix+f+o.suffix;continue}if(!u){var p=c?"an array":"a string";throw TypeError('Expected "'.concat(o.name,'" to be ').concat(p))}}return r}}function n(e,t,r){void 0===r&&(r={});var n=r.decode,i=void 0===n?function(e){return e}:n;return function(r){var n=e.exec(r);if(!n)return!1;for(var o=n[0],a=n.index,s=Object.create(null),l=1;l<n.length;l++)!function(e){if(void 0!==n[e]){var r=t[e-1];"*"===r.modifier||"+"===r.modifier?s[r.name]=n[e].split(r.prefix+r.suffix).map(function(e){return i(e,r)}):s[r.name]=i(n[e],r)}}(l);return{path:o,index:a,params:s}}}function i(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function o(e){return e&&e.sensitive?"":"i"}function a(e,t,r){void 0===r&&(r={});for(var n=r.strict,a=void 0!==n&&n,s=r.start,l=r.end,u=r.encode,c=void 0===u?function(e){return e}:u,d=r.delimiter,f=r.endsWith,p="[".concat(i(void 0===f?"":f),"]|$"),h="[".concat(i(void 0===d?"/#?":d),"]"),m=void 0===s||s?"^":"",g=0;g<e.length;g++){var _=e[g];if("string"==typeof _)m+=i(c(_));else{var y=i(c(_.prefix)),v=i(c(_.suffix));if(_.pattern)if(t&&t.push(_),y||v)if("+"===_.modifier||"*"===_.modifier){var b="*"===_.modifier?"?":"";m+="(?:".concat(y,"((?:").concat(_.pattern,")(?:").concat(v).concat(y,"(?:").concat(_.pattern,"))*)").concat(v,")").concat(b)}else m+="(?:".concat(y,"(").concat(_.pattern,")").concat(v,")").concat(_.modifier);else{if("+"===_.modifier||"*"===_.modifier)throw TypeError('Can not repeat "'.concat(_.name,'" without a prefix and suffix'));m+="(".concat(_.pattern,")").concat(_.modifier)}else m+="(?:".concat(y).concat(v,")").concat(_.modifier)}}if(void 0===l||l)a||(m+="".concat(h,"?")),m+=r.endsWith?"(?=".concat(p,")"):"$";else{var S=e[e.length-1],E="string"==typeof S?h.indexOf(S[S.length-1])>-1:void 0===S;a||(m+="(?:".concat(h,"(?=").concat(p,"))?")),E||(m+="(?=".concat(h,"|").concat(p,")"))}return new RegExp(m,o(r))}function s(t,r,n){if(t instanceof RegExp){var i;if(!r)return t;for(var l=/\((?:\?<(.*?)>)?(?!\?)/g,u=0,c=l.exec(t.source);c;)r.push({name:c[1]||u++,prefix:"",suffix:"",modifier:"",pattern:""}),c=l.exec(t.source);return t}return Array.isArray(t)?(i=t.map(function(e){return s(e,r,n).source}),new RegExp("(?:".concat(i.join("|"),")"),o(n))):a(e(t,n),r,n)}
19Object.defineProperty(t,"__esModule",{value:!0}),t.pathToRegexp=t.tokensToRegexp=t.regexpToFunction=t.match=t.tokensToFunction=t.compile=t.parse=void 0,t.parse=e,t.compile=function(t,n){return r(e(t,n),n)},t.tokensToFunction=r,t.match=function(e,t){var r=[];return n(s(e,r,t),r,t)},t.regexpToFunction=n,t.tokensToRegexp=a,t.pathToRegexp=s})(),e.exports=t})()},31059:(e,t)=>{"use strict";function r(e){return new URL(e,"http://n").searchParams}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"asPathToSearchParams",{enumerable:!0,get:function(){return r}})},32117:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{hasAdjacentParameterIssues:function(){return n},normalizeAdjacentParameters:function(){return i},normalizeTokensForRegexp:function(){return o},stripParameterSeparators:function(){return a}});let r="_NEXTSEP_";function n(e){return"string"==typeof e&&!!(/\/\(\.{1,3}\):[^/\s]+/.test(e)||/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(e))}function i(e){let t=e;return(t=t.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${r}:$2`)).replace(/:([^:/\s)]+)(?=:)/g,`:$1${r}`)}function o(e){return e.map(e=>"object"==typeof e&&null!==e&&"modifier"in e&&("*"===e.modifier||"+"===e.modifier)&&"prefix"in e&&"suffix"in e&&""===e.prefix&&""===e.suffix?{...e,prefix:"/"}:e)}function a(e){let t={};for(let[n,i]of Object.entries(e))"string"==typeof i?t[n]=i.replace(RegExp(`^${r}`),""):Array.isArray(i)?t[n]=i.map(e=>"string"==typeof e?e.replace(RegExp(`^${r}`),""):e):t[n]=i;return t}},32298:(e,t)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"encodeURIPath",{enumerable:!0,get:function(){return r}})},32721:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{isRecoverableError:function(){return l},onRecoverableError:function(){return u}});let n=r(64252),i=r(1677),o=n._(r(66240)),a=r(9831),s=new WeakSet;function l(e){return s.has(e)}let u=e=>{let t=(0,o.default)(e)&&"cause"in e?e.cause:e;(0,i.isBailoutToCSRError)(t)||(0,a.reportGlobalError)(t)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34200:(e,t)=>{"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r<t);return n||t>-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},34461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(64252)._(r(14232)).default.createContext({})},34914:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return i}});let n=r(93590);function i(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},35033:(e,t,r)=>{"use strict";r.d(t,{Iy:()=>c,MI:()=>s,TC:()=>u,kM:()=>l});
19var n=r(17253),i=r(25372),o=r(42252),a=r(58934);let s=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function l(e,t){let r=function(e){let t;if(!e)return;let r=e.match(s);if(r)return"1"===r[3]?t=!0:"0"===r[3]&&(t=!1),{traceId:r[1],parentSampled:t,parentSpanId:r[2]}}(e),l=(0,n.yD)(t);if(!r?.traceId)return{traceId:(0,o.e)(),sampleRand:(0,a.hY)()};let u=function(e,t){let r=(0,i.i)(t?.sample_rand);if(void 0!==r)return r;let n=(0,i.i)(t?.sample_rate);return n&&e?.parentSampled!==void 0?e.parentSampled?(0,a.hY)()*n:n+(0,a.hY)()*(1-n):(0,a.hY)()}(r,l);l&&(l.sample_rand=u.toString());let{traceId:c,parentSpanId:d,parentSampled:f}=r;return{traceId:c,parentSpanId:d,sampled:f,dsc:l||{},sampleRand:u}}function u(e=(0,o.e)(),t=(0,o.Z)(),r){let n="";return void 0!==r&&(n=r?"-1":"-0"),`${e}-${t}${n}`}function c(e=(0,o.e)(),t=(0,o.Z)(),r){return`00-${e}-${t}-${r?"01":"00"}`}},35847:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRouteObjects:function(){return n.getSortedRouteObjects},getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return i.isDynamicRoute}});let n=r(95269),i=r(89641)},36758:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return _},handleClientScriptLoad:function(){return h},initScriptLoader:function(){return m}});let n=r(64252),i=r(88365),o=r(37876),a=n._(r(98477)),s=i._(r(14232)),l=r(7965),u=r(38461),c=r(43273),d=new Map,f=new Set,p=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:i=null,dangerouslySetInnerHTML:o,children:s="",strategy:l="afterInteractive",onError:c,stylesheets:p}=e,h=r||t;if(h&&f.has(h))return;if(d.has(t)){f.add(h),d.get(t).then(n,c);return}let m=()=>{i&&i(),f.add(h)},g=document.createElement("script"),_=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),n&&n.call(this,t),m()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});o?(g.innerHTML=o.__html||"",m()):s?(g.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",m()):t&&(g.src=t,d.set(t,_)),(0,u.setAttributesFromProps)(g,e),"worker"===l&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",l),p&&(e=>{if(a.default.preinit)return e.forEach(e=>{a.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(p),document.body.appendChild(g)};function h(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>p(e))}):p(e)}function m(e){e.forEach(h),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function g(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:i=null,strategy:u="afterInteractive",onError:d,stylesheets:h,...m}=e,{updateScripts:g,scripts:_,getIsSsr:y,appDir:v,nonce:b}=(0,s.useContext)(l.HeadManagerContext);b=m.nonce||b;let S=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||r;S.current||(i&&e&&f.has(e)&&i(),S.current=!0)},[i,t,r]);let E=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{if(!E.current){if("afterInteractive"===u)p(e);else"lazyOnload"===u&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>p(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>p(e))}));E.current=!0}},[e,u]),("beforeInteractive"===u||"worker"===u)&&(g?(_[u]=(_[u]||[]).concat([{id:t,src:r,onLoad:n,onReady:i,onError:d,...m,nonce:b}]),g(_)):y&&y()?f.add(t||r):y&&!y()&&p({...e,nonce:b})),v){if(h&&h.forEach(e=>{a.default.preinit(e,{as:"style"})}),"beforeInteractive"===u)if(!r)return m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...m,id:t}])+")"}});else return a.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:b,crossOrigin:m.crossOrigin}:{as:"script",nonce:b,crossOrigin:m.crossOrigin}),(0,o.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+J
19SON.stringify([r,{...m,id:t}])+")"}});"afterInteractive"===u&&r&&a.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:b,crossOrigin:m.crossOrigin}:{as:"script",nonce:b,crossOrigin:m.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let _=g;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38087:(e,t,r)=>{"use strict";r.d(t,{LZ:()=>p,ao:()=>m,k1:()=>g});var n=r(18760),i=r(92797),o=r(57510),a=r(17253),s=r(63442),l=r(95837),u=r(71830),c=r(15806),d=r(24437);let f="_frozenDsc";function p(e,t){(0,u.my)(e,f,t)}function h(e,t){let r=t.getOptions(),{publicKey:i}=t.getDsn()||{},o={environment:r.environment||n.U,release:r.release,public_key:i,trace_id:e,org_id:(0,s.ul)(t)};return t.emit("createDsc",o),o}function m(e,t){let r=t.getPropagationContext();return r.dsc||h(r.traceId,e)}function g(e){let t=(0,i.KU)();if(!t)return{};let r=(0,c.zU)(e),n=(0,c.et)(r),s=n.data,u=r.spanContext().traceState,p=u?.get("sentry.sample_rate")??s[o.sy]??s[o.Ef];function m(e){return("number"==typeof p||"string"==typeof p)&&(e.sample_rate=`${p}`),e}let g=r[f];if(g)return m(g);let _=u?.get("sentry.dsc"),y=_&&(0,a.yD)(_);if(y)return m(y);let v=h(e.spanContext().traceId,t),b=s[o.i_],S=n.description;return"url"!==b&&S&&(v.transaction=S),(0,l.f)()&&(v.sampled=String((0,c.pK)(r)),v.sample_rand=u?.get("sentry.sample_rand")??(0,d.L)(r).scope?.getPropagationContext().sampleRand.toString()),m(v),t.emit("createDsc",v,r),v}},38461:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setAttributesFromProps",{enumerable:!0,get:function(){return o}});let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function i(e){return["async","defer","noModule"].includes(e)}function o(e,t){for(let[o,a]of Object.entries(t)){if(!t.hasOwnProperty(o)||n.includes(o)||void 0===a)continue;let s=r[o]||o.toLowerCase();"SCRIPT"===e.tagName&&i(s)?e[s]=!!a:e.setAttribute(s,String(a)),(!1===a||"SCRIPT"===e.tagName&&i(s)&&(!a||"false"===a))&&(e.setAttribute(s,""),e.removeAttribute(s))}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}});let r=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38811:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{HTTPAccessErrorStatus:function(){return r},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return i},getAccessFallbackErrorTypeByStatus:function(){return s},getAccessFallbackHTTPStatus:function(){return a},isHTTPAccessFallbackError:function(){return o}});let r={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},n=new Set(Object.values(r)),i="NEXT_HTTP_ERROR_FALLBACK";function o(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r]=e.digest.split(";");return t===i&&n.has(Number(r))}function a(e){return Number(e.digest.split(";")[1])}function s(e){switch(e){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39132:(e,t,r)=>{"use strict";r.d(t,{h:()=>d});var n=r(46925),i=r(18081),o=r(50045);class a{constructor(e,t){let r,n;r=e||new i.H,n=t||new i.H,this._stack=[{scope:r}],this._isolationScope=n}withScope(e){let t,r=this._pushScope();try{t=e(r)}catch(e){throw this._popScope(),e}return(0,o.Qg)(t)?t.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),t)}
19getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function s(){let e=(0,n.EU)(),t=(0,n.Se)(e);return t.stack=t.stack||new a((0,n.BY)("defaultCurrentScope",()=>new i.H),(0,n.BY)("defaultIsolationScope",()=>new i.H))}function l(e){return s().withScope(e)}function u(e,t){let r=s();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function c(e){return s().withScope(()=>e(s().getIsolationScope()))}function d(e){let t=(0,n.Se)(e);return t.acs?t.acs:{withIsolationScope:c,withScope:l,withSetScope:u,withSetIsolationScope:(e,t)=>c(t),getCurrentScope:()=>s().getScope(),getIsolationScope:()=>s().getIsolationScope()}}},39308:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_SUFFIX:function(){return h},APP_DIR_ALIAS:function(){return N},CACHE_ONE_YEAR:function(){return P},DOT_NEXT_ALIAS:function(){return A},ESLINT_DEFAULT_DIRS:function(){return ee},GSP_NO_RETURNED_VALUE:function(){return X},GSSP_COMPONENT_MEMBER_ERROR:function(){return V},GSSP_NO_RETURNED_VALUE:function(){return K},HTML_CONTENT_TYPE_HEADER:function(){return n},INFINITE_CACHE:function(){return x},INSTRUMENTATION_HOOK_FILENAME:function(){return I},JSON_CONTENT_TYPE_HEADER:function(){return i},MATCHED_PATH_HEADER:function(){return s},MIDDLEWARE_FILENAME:function(){return O},MIDDLEWARE_LOCATION_REGEXP:function(){return k},NEXT_BODY_SUFFIX:function(){return _},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return R},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return v},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return b},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return T},NEXT_CACHE_TAGS_HEADER:function(){return y},NEXT_CACHE_TAG_MAX_ITEMS:function(){return E},NEXT_CACHE_TAG_MAX_LENGTH:function(){return w},NEXT_DATA_SUFFIX:function(){return m},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return a},NEXT_META_SUFFIX:function(){return g},NEXT_QUERY_PARAM_PREFIX:function(){return o},NEXT_RESUME_HEADER:function(){return S},NON_STANDARD_NODE_ENV:function(){return Q},PAGES_DIR_ALIAS:function(){return C},PRERENDER_REVALIDATE_HEADER:function(){return l},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return u},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return B},ROOT_DIR_ALIAS:function(){return M},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return $},RSC_ACTION_ENCRYPTION_ALIAS:function(){return F},RSC_ACTION_PROXY_ALIAS:function(){return L},RSC_ACTION_VALIDATE_ALIAS:function(){return j},RSC_CACHE_WRAPPER_ALIAS:function(){return U},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return z},RSC_MOD_REF_PROXY_ALIAS:function(){return D},RSC_PREFETCH_SUFFIX:function(){return c},RSC_SEGMENTS_DIR_SUFFIX:function(){return d},RSC_SEGMENT_SUFFIX:function(){return f},RSC_SUFFIX:function(){return p},SERVER_PROPS_EXPORT_ERROR:function(){return G},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return Y},SERVER_PROPS_SSG_CONFLICT:function(){return W},SERVER_RUNTIME:function(){return et},SSG_FALLBACK_EXPORT_ERROR:function(){return Z},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return H},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return q},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return r},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return J},WEBPACK_LAYERS:function(){return en},WEBPACK_RESOURCE_QUERIES:function(){return ei}});let r="text/plain",n="text/html; charset=utf-8",i="application/json; charset=utf-8",o="nxtP",a="nxtI",s="x-matched-path",l="x-prerender-revalidate",u="x-prerender-revalidate-if-generated",c=".prefetch.rsc",d=".segments",f=".segment.rsc",p=".rsc",h=".action",m=".json",g=".meta",_=".body",y="x-next-cache-tags",v="x-next-revalidated-tags",b="x-next-revalidate-tag-token",S="next-resume",E=128,w=256,T=1024,R="_N_T_",P=31536e3,x=0xfffffffe,O="middleware",k=`(?:src/)?${O}`,I="instrumentation",C="private-next-pages",A="private-dot-next",M="private-next-root-dir",N="private-next-app-dir",D="private-next-rsc-mod-ref-proxy",j="private-next-rsc-action-validate",L="private-next-rsc-server-reference",U="private-next-rsc-cache-wrapper",z="private-next-rsc-track-dynamic-import",F="private-next-rsc-action-encryption",$="private-next-rsc-action-client-wrapper",B="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",H="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",Y="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",W="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",q="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",G="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",X="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",K="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",J="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",V="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",Q='You are using a non-standard "NODE_ENV" value in y
19our environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',Z="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",ee=["app","pages","components","lib","src"],et={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},er={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},en={...er,GROUP:{builtinReact:[er.reactServerComponents,er.actionBrowser],serverOnly:[er.reactServerComponents,er.actionBrowser,er.instrument,er.middleware],neutralTarget:[er.apiNode,er.apiEdge],clientOnly:[er.serverSideRendering,er.appPagesBrowser],bundled:[er.reactServerComponents,er.actionBrowser,er.serverSideRendering,er.appPagesBrowser,er.shared,er.instrument,er.middleware],appPages:[er.reactServerComponents,er.serverSideRendering,er.appPagesBrowser,er.actionBrowser]}},ei={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},40497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return o}});let n=r(38811),i=r(61481);function o(e){return(0,i.isRedirectError)(e)||(0,n.isHTTPAccessFallbackError)(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41419:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});let n="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},42226:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(14232),i=n.useLayoutEffect,o=n.useEffect;function a(e){let{headManager:t,reduceComponentsToState:r}=e;function a(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}return i(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},42252:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o,e:()=>i});var n=r(98093);function i(){return(0,n.eJ)()}function o(){return(0,n.eJ)().substring(16)}},43273:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},45700:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getNamedMiddlewareRegex:function(){return p},getNamedRouteRegex:function(){return f},getRouteRegex:function(){return u}});let n=r(39308),i=r(4818),o=r(10494),a=r(23964),s=r(14643);function l(e,t,r){let n={},l=1,u=[];for(let c of(0,a.removeTrailingSlash)(e).slice(1).split("/")){let e=i.INTERCEPTION_ROUTE_MARKERS.find(e=>c.startsWith(e)),a=c.match(s.PARAMETER_PATTERN);if(e&&a&&a[2]){let{key:t,optional:r,repeat:i}=(0,s.parseMatchedParameter)(a[2]);n[t]={pos:l++,repeat:i,optional:r},u.push("/"+(0,o.escapeStringRegexp)(e)+"([^/]+?)")}else if(a&&a[2]){let{key:e,repeat:t,optional:i}=(0,s.parseMatchedParameter)(a[2]);n[e]={pos:l++,repeat:t,optional:i},r&&a[1]&&u.push("/"+(0,o.escapeStringRegexp)(a[1]));let c=t?i?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";r&&a[1]&&(c=c.substring(1)),u.push(c)}else u.push("/"+(0,o.escapeStringRegexp)(c));t&&a&&a[3]&&u.push((0,o.escapeStringRegexp)(a[3]))}return{parameterizedRoute:u.join(""),groups:n}}function u(e,t){let{includeSuffix:r=!1,includePrefix:n=!1,excludeOptionalTrailingSlash:i=!1}=void 0===t?{}:t,{parameterizedRoute:o,groups:a}=l(e,r,n),s=o;
19return i||(s+="(?:/)?"),{re:RegExp("^"+s+"$"),groups:a}}function c(e){let t,{interceptionMarker:r,getSafeRouteKey:n,segment:i,routeKeys:a,keyPrefix:l,backreferenceDuplicateKeys:u}=e,{key:c,optional:d,repeat:f}=(0,s.parseMatchedParameter)(i),p=c.replace(/\W/g,"");l&&(p=""+l+p);let h=!1;(0===p.length||p.length>30)&&(h=!0),isNaN(parseInt(p.slice(0,1)))||(h=!0),h&&(p=n());let m=p in a;l?a[p]=""+l+c:a[p]=c;let g=r?(0,o.escapeStringRegexp)(r):"";return t=m&&u?"\\k<"+p+">":f?"(?<"+p+">.+?)":"(?<"+p+">[^/]+?)",d?"(?:/"+g+t+")?":"/"+g+t}function d(e,t,r,l,u){let d,f=(d=0,()=>{let e="",t=++d;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),p={},h=[];for(let d of(0,a.removeTrailingSlash)(e).slice(1).split("/")){let e=i.INTERCEPTION_ROUTE_MARKERS.some(e=>d.startsWith(e)),a=d.match(s.PARAMETER_PATTERN);if(e&&a&&a[2])h.push(c({getSafeRouteKey:f,interceptionMarker:a[1],segment:a[2],routeKeys:p,keyPrefix:t?n.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,backreferenceDuplicateKeys:u}));else if(a&&a[2]){l&&a[1]&&h.push("/"+(0,o.escapeStringRegexp)(a[1]));let e=c({getSafeRouteKey:f,segment:a[2],routeKeys:p,keyPrefix:t?n.NEXT_QUERY_PARAM_PREFIX:void 0,backreferenceDuplicateKeys:u});l&&a[1]&&(e=e.substring(1)),h.push(e)}else h.push("/"+(0,o.escapeStringRegexp)(d));r&&a&&a[3]&&h.push((0,o.escapeStringRegexp)(a[3]))}return{namedParameterizedRoute:h.join(""),routeKeys:p}}function f(e,t){var r,n,i;
19let o=d(e,t.prefixRouteKeys,null!=(r=t.includeSuffix)&&r,null!=(n=t.includePrefix)&&n,null!=(i=t.backreferenceDuplicateKeys)&&i),a=o.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(a+="(?:/)?"),{...u(e,t),namedRegex:"^"+a+"$",routeKeys:o.routeKeys}}function p(e,t){let{parameterizedRoute:r}=l(e,!1,!1),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:i}=d(e,!1,!1,!1,!1);return{namedRegex:"^"+i+(n?"(?:(/.*)?)":"")+"$"}}},46107:(e,t,r)=>{"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(62437),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},46843:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}});var r=function(e){return e[e.SeeOther=303]="SeeOther",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e}({});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},46925:(e,t,r)=>{"use strict";r.d(t,{BY:()=>s,EU:()=>o,Se:()=>a});var n=r(10051),i=r(77628);function o(){return a(i.O),i.O}function a(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||n.M,t[n.M]=t[n.M]||{}}function s(e,t,r=i.O){let o=r.__SENTRY__=r.__SENTRY__||{},a=o[n.M]=o[n.M]||{};return a[e]||(a[e]=t())}},47e3:e=>{"use strict";e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},50045:(e,t,r)=>{"use strict";r.d(t,{BD:()=>s,Kg:()=>u,L2:()=>v,NF:()=>c,Qd:()=>f,Qg:()=>g,T2:()=>a,W6:()=>l,bJ:()=>i,gd:()=>m,ks:()=>b,mE:()=>_,sO:()=>d,tH:()=>y,vq:()=>h,xH:()=>p});let n=Object.prototype.toString;function i(e){switch(n.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return y(e,Error)}}function o(e,t){return n.call(e)===`[object ${t}]`}function a(e){return o(e,"ErrorEvent")}function s(e){return o(e,"DOMError")}function l(e){return o(e,"DOMException")}function u(e){return o(e,"String")}function c(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||c(e)||"object"!=typeof e&&"function"!=typeof e}function f(e){return o(e,"Object")}function p(e){return"undefined"!=typeof Event&&y(e,Event)}function h(e){return"undefined"!=typeof Element&&y(e,Element)}function m(e){return o(e,"RegExp")}function g(e){return!!(e?.then&&"function"==typeof e.then)}function _(e){return f(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function y(e,t){try{return e instanceof t}catch{return!1}}function v(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue||e.__v_isVNode))}function b(e){return"undefined"!=typeof Request&&y(e,Request)}},50535:(e,t,r)=>{"use strict";r.d(t,{_:()=>l});var n,i,o,a,s=r(99742);let l={csp:{hash:s.env.NEXT_PUBLIC_CSP_SHA256_HASH,scriptSrcDomains:"*.taghike.com *.pinimg.com *.pensebig.com.br *.facebook.net *.trust-provider.com *.google.com *.googletagmanager.com *.google-analytics.com *.googleapis.com *.googleadservices.com *.youtube.com content.syndigo.com *.cloudfront.net *.lomadee.com *.campaign-lomadee.com *.creativecdn.com *.1worldsync.com *.facebook.com *.gazin.com.br *.zoom.com.br *.buscape.com.br *.hereapi.com *.clarity.ms *.conteudoespecial.com.br *.g.doubleclick.net *.browser-intake-datadoghq.com *.lomadee.com.br *.campaign-lomadee.com.br browser-intake-datadoghq.com smct.co *.smct.co smct.io *.smct.io *.amazonaws.com *.afilio.com.br",styleSrcDomains:"*.googleapis.com *.google.com *.googletagmanager.com  *.1worldsync.com *.conteudoespecial.com.br fonts.googleapis.com",connectSrcDomains:"*.taghike.com *.pinimg.com *.creativecdn.com *.google.com *.google.com.br *.google-analytics.com *.analytics.google.com *.googletagmanager.com *.chaordicsystems.com *.logs.datadoghq.com *.gazin.com.br *.googleapis.com content.syndigo.com *.g.doubleclick.net *.doubleclick.net *.syndigo.com *.syndigo.cloud *.rdstation.com.br *.hereapi.com *.1worldsync.com *.clarity.ms *.conteudoespecial.com.br *.browser-intake-datadoghq.com *.lomadee.com *.lomadee.com.br *.campaign-lomadee.com *.campaign-lomadee.com.br browser-intake-datadoghq.com *.adnxs.com *.pinterest.com *.tiktok.com *.dynaton.com.br *.googleadservices.com *.facebook.com *.tiktokw.us *.jsdelivr.net smct.co *.smct.co smct.io *.smct.io *.amazonaws.com *.afilio.com.br *.pinimg.com s.pinimg.com *.taghike.com taghike.com",fontSrcDomains:"*.typekit.net *.gstatic.
19com  *.1worldsync.com *.hereapi.com *.conteudoespecial.com.br smct.co *.smct.co smct.io *.smct.io *.amazonaws.com",frameSrcDomains:"*.doubleclick.net *.facebook.com *.facebook.net *.youtube.com *.creativecdn.com *.1worldsync.com *.xbox-interactive.com *.hereapi.com *.conteudoespecial.com.br *.googletagmanager.com *.pinterest.com smct.co *.smct.co smct.io *.smct.io *.amazonaws.com d2d7do8qaecbru.cloudfront.net *.afilio.com.br *.google.com *.google.com.br",imgSrcDomains:"*.blob.core.windows.net *.gazin.com.br *.google.com *.google.com.br *.google-analytics.com *.analytics.google.com *.googleapis.com *.googletagmanager.com  *.gstatic.com *.doubleclick.net *.facebook.com *.facebook.net *.syndigo.cloud *.syndigo.com *.1worldsync.com *.conteudoespecial.com.br *.bing.com *.clarity.ms *.adnxs.com *.creativecdn.com *.udmserve.net *.rubiconproject.com *.teads.tv *.toast.com *.1rx.io *.lijit.com *.media.net *.loopme.me *.tiktok.com smct.co *.smct.co smct.io *.smct.io *.amazonaws.com *.afilio.com.br yieldmo.com ads.yieldmo.com *.fwmrm.net user-sync.fwmrm.net ",workerSrcDomains:"*.gazin.com.br",mediaSrcDomains:"*.gazin.com.br *.gazin.com *.google.com *.youtube.com *.syndigo.com"},sentry:{dsn:"https://[email protected]/13",enabled:(null==(n=s.env.SENTRY_ENABLED)?void 0:n.toLowerCase())==="true",environment:"prod",org:"gazintech",authToken:"6a11edc274084aff1d5fe2d041e20d5fab226362dc78efa949cbc4c8d8931313",project:"frontend-next",sessionSampleRate:Number("10")||0,onErrorSampleRate:Number("100")||0,maskAllText:false,blockAllMedia:false,tracesSampleRateClient:Number(s.env.SENTRY_TRACE_SAMPLE_RATE_CLIENT)||.2,profilesSampleRateClient:Number(s.env.SENTRY_PROFILES_SAMPLE_RATE_CLIENT)||1,debugClient:(null==(i=s.env.SENTRY_DEBUG_CLIENT)?void 0:i.toLocaleLowerCase())==="true",tracesSampleRateServer:Number(s.env.SENTRY_TRACE_SAMPLE_RATE_SERVER)||.2,profilesSampleRateServer:Number(s.env.SENTRY_PROFILES_SAMPLE_RATE_SERVER)||1,debugServer:(null==(o=s.env.SENTRY_DEBUG_SERVER)?void 0:o.toLocaleLowerCase())==="true",tracesSampleRateEgde:Number(s.env.SENTRY_TRACE_SAMPLE_RATE_EDGE)||.2,debugEdge:(null==(a=s.env.SENTRY_DEBUG_EDGE)?void 0:a.toLocaleLowerCase())==="true"},datadog:{application_id:s.env.DATADOG_APPLICATION_ID,client_token:s.env.DATADOG_CLIENT_TOKEN,service:"gazin-b2c-frontend",env:"b2c-prod",browserRum:{enableBrowserRum:!1,applicationId:"65c76838-707b-4684-acbc-bcd0a3a65587",clientToken:"pub2eee8cd3220b18d0620d3cc7a683ff9c",site:"datadoghq.com",service:"ecommerce",version:"6.24.1",sessionSampleRate:Number("100"),sessionReplaySampleRate:Number("20")},browserLogs:{clientToken:"",site:""}},microsoftClarity:{projectId:"pgfeex8wx5"},minimoPercentualDesconto:Number("5")||5,minimumDiscountPrice:Number("99999")||100,isDarkTheme:!1,hereMapsApiKey:"ksO5tu_usVPjmh36ezIfh2E093b4PPrH8VLi2RKq9MY",sacApi:"https://sac-api.gazin.com.br/",sacToken:"VGyXStvqoLbaxvu3jQcz5GYmmfXIiLRq7YjYp4k2odtqOdobQHezR93a0loeZ8Wr"}},50802:(e,t)=>{"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},51467:(e,t,r)=>{"use strict";let n,i,o,a,s,l,u,c,d,f,p,h;Object.defineProperty(t,"__esModule",{value:!0});let m=r(88365);Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{emitter:function(){return B},hydrate:function(){return el},initialize:function(){return q},router:function(){return n},version:function(){return $}});let g=r(64252),_=r(37876);r(21291);let y=g._(r(14232)),v=g._(r(78944)),b=r(7965),S=g._(r(25037)),E=r(242),w=r(89238),T=r(89641),R=r(91490),P=r(92607),x=r(70464),O=r(95272),k=g._(r(11677)),I=g._(r(79990)),C=r(85496),A=r(16296),M=r(66240),N=r(9263),D=r(46107),j=r(62437),L=r(15792),U=r(2291),z=r(88797),F=r(32721);r(6519),r(40497);let $="15.5.7",B=(0,S.default)(),H=e=>[].slice.call(e),Y=!1;class W extends y.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(i.isFallback||i.nextExport&&((0,T.isDynamicRoute)(n.pathname)||location.search||Y)||i.props&&i.props.__N_SSG&&(location.search||Y))&&n.replace(n.pathname+"?"+String((0,R.assign)((0,R.urlQueryToSearchParams)(n.query),new URLSearchParams(location.search))),o,{_h:1,shallow:!i.isFallback&&!Y}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}async function q(e){void 0===e&&(e={}),i=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=i,h=i.defaultLocale;let t=i.assetPrefix||"";if(self.__next_set_public_path__(""+t+"/_next/"),(0,P.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:i.runtimeConfig||{}}),o=(0,x.getURL)(),(0,j.hasBasePath)(o)&&(o=(0,D.removeBasePath)(o)),i.scriptLoader){let{initScriptLoader:e}
19=r(36758);e(i.scriptLoader)}a=new I.default(i.buildId,t);let u=e=>{let[t,r]=e;return a.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>u(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=u,(l=(0,k.default)()).getIsSsr=()=>n.isSsr,s=document.getElementById("__next"),{assetPrefix:t}}function G(e,t){return(0,_.jsx)(e,{...t})}function X(e){var t;let{children:r}=e,i=y.default.useMemo(()=>(0,U.adaptForAppRouterInstance)(n),[]);return(0,_.jsx)(W,{fn:e=>J({App:d,err:e}).catch(e=>console.error("Error rendering page: ",e)),children:(0,_.jsx)(L.AppRouterContext.Provider,{value:i,children:(0,_.jsx)(z.SearchParamsContext.Provider,{value:(0,U.adaptForSearchParams)(n),children:(0,_.jsx)(U.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t,children:(0,_.jsx)(z.PathParamsContext.Provider,{value:(0,U.adaptForPathParams)(n),children:(0,_.jsx)(E.RouterContext.Provider,{value:(0,A.makePublicRouterInstance)(n),children:(0,_.jsx)(b.HeadManagerContext.Provider,{value:l,children:(0,_.jsx)(N.ImageConfigContext.Provider,{value:{deviceSizes:[200,640,750,828,1080,1280,1920],imageSizes:[16,32,48,64,96,128,256,384],qualities:[75,85,90,95,99],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},children:r})})})})})})})})}let K=e=>t=>{let r={...t,Component:p,err:i.err,router:n};return(0,_.jsx)(X,{children:G(e,r)})};function J(e){let{App:t,err:s}=e;return console.error(s),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),a.loadPage("/_error").then(n=>{let{page:i,styleSheets:o}=n;return(null==u?void 0:u.Component)===i?Promise.resolve().then(()=>m._(r(58123))).then(n=>Promise.resolve().then(()=>m._(r(51806))).then(r=>(e.App=t=r.default,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:i,styleSheets:o}}).then(r=>{var a;let{ErrorComponent:l,styleSheets:u}=r,c=K(t),d={Component:l,AppTree:c,router:n,ctx:{err:s,pathname:i.page,query:i.query,asPath:o,AppTree:c}};return Promise.resolve((null==(a=e.props)?void 0:a.err)?e.props:(0,x.loadGetInitialProps)(t,d)).then(t=>ea({...e,err:s,Component:l,styleSheets:u,props:t}))})}function V(e){let{callback:t}=e;return y.default.useLayoutEffect(()=>t(),[t]),null}let Q={navigationStart:"navigationStart",beforeRender:"beforeRender",afterRender:"afterRender",afterHydrate:"afterHydrate",routeChange:"routeChange"},Z={hydration:"Next.js-hydration",beforeHydration:"Next.js-before-hydration",routeChangeToRender:"Next.js-route-change-to-render",render:"Next.js-render"},ee=null,et=!0;function er(){[Q.beforeRender,Q.afterHydrate,Q.afterRender,Q.routeChange].forEach(e=>performance.clearMarks(e))}function en(){x.ST&&(performance.mark(Q.afterHydrate),performance.getEntriesByName(Q.beforeRender,"mark").length&&(performance.measure(Z.beforeHydration,Q.navigationStart,Q.beforeRender),performance.measure(Z.hydration,Q.beforeRender,Q.afterHydrate)),f&&performance.getEntriesByName(Z.hydration).forEach(f),er())}function ei(){if(!x.ST)return;performance.mark(Q.afterRender);let e=performance.getEntriesByName(Q.routeChange,"mark");e.length&&(performance.getEntriesByName(Q.beforeRender,"mark").length&&(performance.measure(Z.routeChangeToRender,e[0].name,Q.beforeRender),performance.measure(Z.render,Q.beforeRender,Q.afterRender),f&&(performance.getEntriesByName(Z.render).forEach(f),performance.getEntriesByName(Z.routeChangeToRender).forEach(f))),er(),[Z.routeChangeToRender,Z.render].forEach(e=>performance.clearMeasures(e)))}function eo(e){let{callbacks:t,children:r}=e;return y.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),r}function ea(e){let t,r,{App:i,Component:o,props:a,err:l}=e,d="initial"in e?void 0:e.styleSheets;o=o||u.Component;let f={...a=a||u.props,Component:o,err:l,router:n};u=f;let p=!1,h=new Promise((e,t)=>{c&&c(),r=()=>{c=null,e()},c=()=>{p=!0,c=null;let e=Object.defineProperty(Error("Cancel rendering route"),"__NEXT_ERROR_CODE",{value:"E503",enumerable:!1,configurable:!0});e.cancelled=!0,t(e)}});function m(){r()}!function(){if(!d)return;let e=new Set(H(document.querySelectorAll("style[data-n-href]")).map(e=>e.getAttribute("data-n-href"))),t=document.querySelector("noscript[data-n-css]"),r=null==t?void 0:t.getAttribute("data-n-css");d.forEach(t=>{let{href:n,text:i}=t;if(!e.has(n)){let e=document.createElement("style");e.setAttribute("data-n-href",n),e.setAttribute("media","x"),r&&e.setAttribute("nonce",r),document.head.appendChild(e),e.appendChild(document.createTextNode(i))}})}();let g=(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(V,{callback:function(){if(d&&!p){let e=new Set(d.map(e=>e.href)),t=H(document.querySelectorAll("style[data-n-href]")),r=t.map(e=>e.getAttribute("data-n-href"));for(let n=0;n<r.length;++n)e.has(r[n])?t[n].removeAttribute("media"):t[n].setAttribute("media","x");let n=document.querySelector("noscript[data-n-css]");
19n&&d.forEach(e=>{let{href:t}=e,r=document.querySelector('style[data-n-href="'+t+'"]');r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)}),H(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:r}=e.scroll;(0,w.disableSmoothScrollDuringRouteTransition)(()=>{window.scrollTo(t,r)})}}}),(0,_.jsxs)(X,{children:[G(i,f),(0,_.jsx)(O.Portal,{type:"next-route-announcer",children:(0,_.jsx)(C.RouteAnnouncer,{})})]})]});var b=s;x.ST&&performance.mark(Q.beforeRender);let S=(t=et?en:ei,(0,_.jsx)(eo,{callbacks:[t,m],children:g}));return ee?(0,y.default.startTransition)(()=>{ee.render(S)}):(ee=v.default.hydrateRoot(b,S,{onRecoverableError:F.onRecoverableError}),et=!1),h}async function es(e){if(e.err&&(void 0===e.Component||!e.isHydratePass))return void await J(e);try{await ea(e)}catch(r){let t=(0,M.getProperError)(r);if(t.cancelled)throw t;await J({...e,err:t})}}async function el(e){let t=i.err;try{let e=await a.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;d=t,r&&r.reportWebVitals&&(f=e=>{let t,{id:n,name:i,startTime:o,value:a,duration:s,entryType:l,entries:u,attribution:c}=e,d=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);u&&u.length&&(t=u[0].startTime);let f={id:n||d,name:i,startTime:o||t,value:null==a?s:a,label:"mark"===l||"measure"===l?"custom":"web-vital"};c&&(f.attribution=c),r.reportWebVitals(f)});let n=await a.routeLoader.whenEntrypoint(i.page);if("error"in n)throw n.error;p=n.component}catch(e){t=(0,M.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(i.dynamicIds),n=(0,A.createRouter)(i.page,i.query,o,{initialProps:i.props,pageLoader:a,App:d,Component:p,wrapApp:K,err:t,isFallback:!!i.isFallback,subscription:(e,t,r)=>es(Object.assign({},e,{App:t,scroll:r})),locale:i.locale,locales:i.locales,defaultLocale:h,domainLocales:i.domainLocales,isPreview:i.isPreview}),Y=await n._initialMatchesMiddlewarePromise;let r={App:d,initial:!0,Component:p,props:i.props,err:t,isHydratePass:!0};(null==e?void 0:e.beforeRender)&&await e.beforeRender(),es(r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},51659:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return o}});let n=r(70464),i=r(91490);function o(e,t,r){void 0===r&&(r=!0);let o=new URL((0,n.getLocationOrigin)()),a=t?new URL(t,o):e.startsWith(".")?new URL(window.location.href):o,{pathname:s,searchParams:l,search:u,hash:c,href:d,origin:f}=new URL(e,a);if(f!==o.origin)throw Object.defineProperty(Error("invariant: invalid relative URL, router received "+e),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{pathname:s,query:r?(0,i.searchParamsToUrlQuery)(l):void 0,search:u,hash:c,href:d.slice(f.length),slashes:void 0}}},51806:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(64252),i=r(37876),o=n._(r(14232)),a=r(70464);async function s(e){let{Component:t,ctx:r}=e;return{pageProps:await (0,a.loadGetInitialProps)(t,r)}}class l extends o.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,i.jsx)(e,{...t})}}l.origGetInitialProps=s,l.getInitialProps=s,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55095:(e,t,r)=>{"use strict";r.d(t,{h:()=>function e(t,r,n=2){if(!r||"object"!=typeof r||n<=0)return r;if(t&&0===Object.keys(r).length)return t;let i={...t};for(let t in r)Object.prototype.hasOwnProperty.call(r,t)&&(i[t]=e(i[t],r[t],n-1));return i}})},55824:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(78757),self.__next_set_public_path__=e=>{r.p=e},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
19dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},56011:(e,t,r)=>{"use strict";r.d(t,{Ow:()=>a,Yz:()=>f,Z9:()=>s,pq:()=>l});var n=r(46925),i=r(41419),o=r(77628);let a=["debug","info","warn","error","log","assert","trace"],s={};function l(e){if(!("console"in o.O))return e();let t=o.O.console,r={},n=Object.keys(s);n.forEach(e=>{let n=s[e];r[e]=t[e],t[e]=n});try{return e()}finally{n.forEach(e=>{t[e]=r[e]})}}function u(){return d().enabled}function c(e,...t){i.T&&u()&&l(()=>{o.O.console[e](`Sentry Logger [${e}]:`,...t)})}function d(){return i.T?(0,n.BY)("loggerSettings",()=>({enabled:!1})):{enabled:!1}}let f={enable:function(){d().enabled=!0},disable:function(){d().enabled=!1},isEnabled:u,log:function(...e){c("log",...e)},warn:function(...e){c("warn",...e)},error:function(...e){c("error",...e)}}},56902:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{safeCompile:function(){return a},safePathToRegexp:function(){return o},safeRegexpToFunction:function(){return s},safeRouteMatcher:function(){return l}});let n=r(29509),i=r(32117);function o(e,t,r){if("string"!=typeof e)return(0,n.pathToRegexp)(e,t,r);let o=(0,i.hasAdjacentParameterIssues)(e),a=o?(0,i.normalizeAdjacentParameters)(e):e;try{return(0,n.pathToRegexp)(a,t,r)}catch(a){if(!o)try{let o=(0,i.normalizeAdjacentParameters)(e);return(0,n.pathToRegexp)(o,t,r)}catch(e){}throw a}}function a(e,t){let r=(0,i.hasAdjacentParameterIssues)(e),o=r?(0,i.normalizeAdjacentParameters)(e):e;try{return(0,n.compile)(o,t)}catch(o){if(!r)try{let r=(0,i.normalizeAdjacentParameters)(e);return(0,n.compile)(r,t)}catch(e){}throw o}}function s(e,t){let r=(0,n.regexpToFunction)(e,t||[]);return e=>{let t=r(e);return!!t&&{...t,params:(0,i.stripParameterSeparators)(t.params)}}}function l(e){return t=>{let r=e(t);return!!r&&(0,i.stripParameterSeparators)(r)}}},57510:(e,t,r)=>{"use strict";r.d(t,{E1:()=>f,Ef:()=>o,Fy:()=>m,JD:()=>s,Lc:()=>h,Le:()=>d,Sn:()=>u,fs:()=>l,i_:()=>n,jG:()=>p,sy:()=>i,uT:()=>a,xc:()=>c});let n="sentry.source",i="sentry.sample_rate",o="sentry.previous_trace_sample_rate",a="sentry.op",s="sentry.origin",l="sentry.idle_span_finish_reason",u="sentry.measurement_unit",c="sentry.measurement_value",d="sentry.custom_span_name",f="sentry.profile_id",p="sentry.exclusive_time",h="sentry.link.type",m="gen_ai.conversation.id"},57855:(e,t,r)=>{"use strict";r.d(t,{Om:()=>c,e2:()=>s});var n=r(92797),i=r(38087),o=r(55095),a=r(15806);function s(e,t){var r,n,o,s;let{fingerprint:l,span:u,breadcrumbs:c,sdkProcessingMetadata:d}=t;(function(e,t){let{extra:r,tags:n,user:i,contexts:o,level:a,transactionName:s}=t;Object.keys(r).length&&(e.extra={...r,...e.extra}),Object.keys(n).length&&(e.tags={...n,...e.tags}),Object.keys(i).length&&(e.user={...i,...e.user}),Object.keys(o).length&&(e.contexts={...o,...e.contexts}),a&&(e.level=a),s&&"transaction"!==e.type&&(e.transaction=s)})(e,t),u&&function(e,t){e.contexts={trace:(0,a.kX)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,i.k1)(t),...e.sdkProcessingMetadata};let r=(0,a.zU)(t),n=(0,a.et)(r).description;n&&!e.transaction&&"transaction"===e.type&&(e.transaction=n)}(e,u),r=e,n=l,r.fingerprint=r.fingerprint?Array.isArray(r.fingerprint)?r.fingerprint:[r.fingerprint]:[],n&&(r.fingerprint=r.fingerprint.concat(n)),r.fingerprint.length||delete r.fingerprint,function(e,t){let r=[...e.breadcrumbs||[],...t];e.breadcrumbs=r.length?r:void 0}(e,c),o=e,s=d,o.sdkProcessingMetadata={...o.sdkProcessingMetadata,...s}}function l(e,t){let{extra:r,tags:n,attributes:i,user:a,contexts:s,level:l,sdkProcessingMetadata:c,breadcrumbs:d,fingerprint:f,eventProcessors:p,attachments:h,propagationContext:m,transactionName:g,span:_}=t;u(e,"extra",r),u(e,"tags",n),u(e,"attributes",i),u(e,"user",a),u(e,"contexts",s),e.sdkProcessingMetadata=(0,o.h)(e.sdkProcessingMetadata,c,2),l&&(e.level=l),g&&(e.transactionName=g),_&&(e.span=_),d.length&&(e.breadcrumbs=[...e.breadcrumbs,...d]),f.length&&(e.fingerprint=[...e.fingerprint,...f]),p.length&&(e.eventProcessors=[...e.eventProcessors,...p]),h.length&&(e.attachments=[...e.attachments,...h]
19),e.propagationContext={...e.propagationContext,...m}}function u(e,t,r){e[t]=(0,o.h)(e[t],r,1)}function c(e,t){let r=(0,n.m6)().getScopeData();return e&&l(r,e.getScopeData()),t&&l(r,t.getScopeData()),r}},58116:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let r=new WeakMap;function n(e,t){let n;if(!t)return{pathname:e};let i=r.get(t);i||(i=t.map(e=>e.toLowerCase()),r.set(t,i));let o=e.split("/",2);if(!o[1])return{pathname:e};let a=o[1].toLowerCase(),s=i.indexOf(a);return s<0?{pathname:e}:(n=t[s],{pathname:e=e.slice(n.length+1)||"/",detectedLocale:n})}},58123:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let n=r(64252),i=r(37876),o=n._(r(14232)),a=n._(r(29269)),s={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{req:t,res:r,err:n}=e;return{statusCode:r&&r.statusCode?r.statusCode:n?n.statusCode:404,hostname:window.location.hostname}}let u={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class c extends o.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||s[e]||"An unexpected error has occurred";return(0,i.jsxs)("div",{style:u.error,children:[(0,i.jsx)(a.default,{children:(0,i.jsx)("title",{children:e?e+": "+r:"Application error: a client-side exception has occurred"})}),(0,i.jsxs)("div",{style:u.desc,children:[(0,i.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,i.jsx)("h1",{className:"next-error-h1",style:u.h1,children:e}):null,(0,i.jsx)("div",{style:u.wrap,children:(0,i.jsxs)("h2",{style:u.h2,children:[this.props.title||e?r:(0,i.jsxs)(i.Fragment,{children:["Application error: a client-side exception has occurred"," ",!!this.props.hostname&&(0,i.jsxs)(i.Fragment,{children:["while loading ",this.props.hostname]})," ","(see the browser console for more information)"]}),"."]})})]})]})}}c.displayName="ErrorPage",c.getInitialProps=l,c.origGetInitialProps=l,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58340:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(55824),r(67647);let n=r(51467);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},(0,n.initialize)({}).then(()=>(0,n.hydrate)()).catch(console.error),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58934:(e,t,r)=>{"use strict";let n;r.d(t,{Qw:()=>o,Wk:()=>s,hY:()=>a});var i=r(77628);function o(e){if(void 0!==n)return n?n(e):e();let t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"),r=i.O;return t in r&&"function"==typeof r[t]?(n=r[t])(e):(n=null,e())}function a(){return o(()=>Math.random())}function s(){return o(()=>Date.now())}},59213:(e,t)=>{"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},60826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createKey:function(){return Y},default:function(){return G},matchesMiddleware:function(){return j}});let n=r(64252),i=r(88365),o=r(23964),a=r(96886),s=r(36758),l=i._(r(66240)
19),u=r(95153),c=r(58116),d=n._(r(25037)),f=r(70464),p=r(89641),h=r(51659),m=r(83333),g=r(45700),_=r(170);r(38570);let y=r(34200),v=r(20125),b=r(80122),S=r(46107),E=r(9094),w=r(62437),T=r(84727),R=r(2326),P=r(19673),x=r(62522),O=r(70565),k=r(1623),I=r(62877),C=r(83076),A=r(81479),M=r(89238),N=r(39308);function D(){return Object.assign(Object.defineProperty(Error("Route Cancelled"),"__NEXT_ERROR_CODE",{value:"E315",enumerable:!1,configurable:!0}),{cancelled:!0})}async function j(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,y.parsePath)(e.asPath),n=(0,w.hasBasePath)(r)?(0,S.removeBasePath)(r):r,i=(0,E.addBasePath)((0,v.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(i))}function L(e){let t=(0,f.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function U(e,t,r){let[n,i]=(0,T.resolveHref)(e,t,!0),o=(0,f.getLocationOrigin)(),a=n.startsWith(o),s=i&&i.startsWith(o);n=L(n),i=i?L(i):i;let l=a?n:(0,E.addBasePath)(n),u=r?L((0,T.resolveHref)(e,r)):i||n;return{url:l,as:s?u:(0,E.addBasePath)(u)}}function z(e,t){let r=(0,o.removeTrailingSlash)((0,u.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,p.isDynamicRoute)(t)&&(0,g.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,o.removeTrailingSlash)(e))}async function F(e){if(!await j(e)||!e.fetchData)return null;let t=await e.fetchData(),r=await function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},i=t.headers.get("x-nextjs-rewrite"),s=i||t.headers.get("x-nextjs-matched-path"),l=t.headers.get(N.MATCHED_PATH_HEADER);if(!l||s||l.includes("__next_data_catchall")||l.includes("/_error")||l.includes("/404")||(s=l),s){if(s.startsWith("/")){let t=(0,h.parseRelativeUrl)(s),l=(0,P.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),u=(0,o.removeTrailingSlash)(l.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,a.getClientBuildManifest)()]).then(o=>{let[a,{__rewrites:s}]=o,d=(0,v.addLocale)(l.pathname,l.locale);if((0,p.isDynamicRoute)(d)||!i&&a.includes((0,c.normalizeLocalePath)((0,S.removeBasePath)(d),r.router.locales).pathname)){let r=(0,P.getNextPathnameInfo)((0,h.parseRelativeUrl)(e).pathname,{nextConfig:n,parseData:!0});t.pathname=d=(0,E.addBasePath)(r.pathname)}if(!a.includes(u)){let e=z(u,a);e!==u&&(u=e)}let f=a.includes(u)?u:z((0,c.normalizeLocalePath)((0,S.removeBasePath)(t.pathname),r.router.locales).pathname,a);if((0,p.isDynamicRoute)(f)){let e=(0,m.getRouteMatcher)((0,g.getRouteRegex)(f))(d);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:f}})}let t=(0,y.parsePath)(e);return Promise.resolve({type:"redirect-external",destination:""+(0,x.formatNextPathnameInfo)({...(0,P.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""})+t.query+t.hash})}let u=t.headers.get("x-nextjs-redirect");if(u){if(u.startsWith("/")){let e=(0,y.parsePath)(u),t=(0,x.formatNextPathnameInfo)({...(0,P.getNextPathnameInfo)(e.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:u})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}let $=Symbol("SSG_DATA_NOT_FOUND");function B(e){try{return JSON.parse(e)}catch(e){return null}}function H(e){let{dataHref:t,inflightCache:r,isPrefetch:n,hasMiddleware:i,isServerRender:o,parseJSON:s,persist
19Cache:l,isBackground:u,unstable_skipClientCache:c}=e,{href:d}=new URL(t,window.location.href),f=e=>{var u;return(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(i=>!i.ok&&r>1&&i.status>=500?e(t,r-1,n):i)})(t,o?3:1,{headers:Object.assign({},n?{purpose:"prefetch"}:{},n&&i?{"x-middleware-prefetch":"1"}:{},{}),method:null!=(u=null==e?void 0:e.method)?u:"GET"}).then(r=>r.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:t,response:r,text:"",json:{},cacheKey:d}:r.text().then(e=>{if(!r.ok){if(i&&[301,302,307,308].includes(r.status))return{dataHref:t,response:r,text:e,json:{},cacheKey:d};if(404===r.status){var n;if(null==(n=B(e))?void 0:n.notFound)return{dataHref:t,json:{notFound:$},response:r,text:e,cacheKey:d}}let s=Object.defineProperty(Error("Failed to load static props"),"__NEXT_ERROR_CODE",{value:"E124",enumerable:!1,configurable:!0});throw o||(0,a.markAssetError)(s),s}return{dataHref:t,json:s?B(e):null,response:r,text:e,cacheKey:d}})).then(e=>(l&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete r[d],e)).catch(e=>{throw c||delete r[d],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,a.markAssetError)(e),e})};return c&&l?f({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(r[d]=Promise.resolve(e)),e)):void 0!==r[d]?r[d]:r[d
19]=f(u?{method:"HEAD"}:{})}function Y(){return Math.random().toString(36).slice(2,10)}function W(e){let{url:t,router:r}=e;if(t===(0,E.addBasePath)((0,v.addLocale)(r.asPath,r.locale)))throw Object.defineProperty(Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href),"__NEXT_ERROR_CODE",{value:"E282",enumerable:!1,configurable:!0});window.location.href=t}let q=e=>{let{route:t,router:r}=e,n=!1,i=r.clc=()=>{n=!0};return()=>{if(n){let e=Object.defineProperty(Error('Abort fetching component for route: "'+t+'"'),"__NEXT_ERROR_CODE",{value:"E483",enumerable:!1,configurable:!0});throw e.cancelled=!0,e}i===r.clc&&(r.clc=null)}};class G{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=U(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=U(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,n,i){{if(!this._bfl_s&&!this._bfl_d){let t,o,{BloomFilter:s}=r(22935);try{({__routerFilterStatic:t,__routerFilterDynamic:o}=await (0,a.getClientBuildManifest)())}catch(t){if(console.error(t),i)return!0;return W({url:(0,E.addBasePath)((0,v.addLocale)(e,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}(null==t?void 0:t.numHashes)&&(this._bfl_s=new s(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==o?void 0:o.numHashes)&&(this._bfl_d=new s(o.numItems,o.errorRate),this._bfl_d.import(o))}let c=!1,d=!1;for(let{as:r,allowMatchCurrent:a}of[{as:e},{as:t}])if(r){let t=(0,o.removeTrailingSlash)(new URL(r,"http://n").pathname),f=(0,E.addBasePath)((0,v.addLocale)(t,n||this.locale));if(a||t!==(0,o.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var s,l,u;for(let e of(c=c||!!(null==(s=this._bfl_s)?void 0:s.contains(t))||!!(null==(l=this._bfl_s)?void 0:l.contains(f)),[t,f])){let t=e.split("/");for(let e=0;!d&&e<t.length+1;e++){let r=t.slice(0,e).join("/");if(r&&(null==(u=this._bfl_d)?void 0:u.contains(r))){d=!0;break}}}if(c||d){if(i)return!0;return W({url:(0,E.addBasePath)((0,v.addLocale)(e,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,r,n,i){var u,c,d,T,R,P,x,I,M;let N,L;if(!(0,k.isLocalURL)(t))return W({url:t,router:this}),!1;let F=1===n._h;F||n.shallow||await this._bfl(r,void 0,n.locale);let B=F||n._shouldResolveHref||(0,y.parsePath)(t).pathname===(0,y.parsePath)(r).pathname,H={...this.state},Y=!0!==this.isReady;this.isReady=!0;let q=this.isSsr;if(F||(this.isSsr=!1),F&&this.clc)return!1;let X=H.locale;f.ST&&performance.mark("routeChange");let{shallow:K=!1,scroll:J=!0}=n,V={shallow:K};this._inFlightRoute&&this.clc&&(q||G.events.emit("routeChangeError",D(),this._inFlightRoute,V),this.clc(),this.clc=null),r=(0,E.addBasePath)((0,v.addLocale)((0,w.hasBasePath)(r)?(0,S.removeBasePath)(r):r,n.locale,this.defaultLocale));let Q=(0,b.removeLocale)((0,w.hasBasePath)(r)?(0,S.removeBasePath)(r):r,H.locale);this._inFlightRoute=r;let Z=X!==H.locale;if(!F&&this.onlyAHashChange(Q)&&!Z){H.asPath=Q,G.events.emit("hashChangeStart",r,V),this.changeState(e,t,r,{...n,scroll:!1}),J&&this.scrollToHash(Q);try{await this.set(H,this.components[H.route],null)}catch(e){throw(0,l.default)(e)&&e.cancelled&&G.events.emit("routeChangeError",e,Q,V),e}return G.events.emit("hashChangeComplete",r,V),!0}let ee=(0,h.parseRelativeUrl)(t),{pathname:et,query:er}=ee;try{[N,{__rewrites:L}]=await Promise.all([this.pageLoader.getPageList(),(0,a.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return W({url:r,router:this}),!1}this.urlIsNew(Q)||Z||(e="replaceState");let en=r;et=et?(0,o.removeTrailingSlash)((0,S.removeBasePath)(et)):et;let ei=(0,o.removeTrailingSlash)(et),eo=r.startsWith("/")&&(0,h.parseRelativeUrl)(r).pathname;if(null==(u=this.components[et])?void 0:u.__appRouter)return W({url:r,router:this}),new Promise(()=>{});let ea=!!(eo&&ei!==eo&&(!(0,p.isDynamicRoute)(ei)||!(0,m.getRouteMatcher)((0,g.getRouteRegex)(ei))(eo))),es=!n.shallow&&await j({asPath:r,locale:H.locale,router:this});if(F&&es&&(B=!1),B&&"/_error"!==et&&(n._shouldResolveHref=!0,ee.pathname=z(et,
19N),ee.pathname!==et&&(et=ee.pathname,ee.pathname=(0,E.addBasePath)(et),es||(t=(0,_.formatWithValidation)(ee)))),!(0,k.isLocalURL)(r))return W({url:r,router:this}),!1;en=(0,b.removeLocale)((0,S.removeBasePath)(en),H.locale),ei=(0,o.removeTrailingSlash)(et);let el=!1;if((0,p.isDynamicRoute)(ei)){let e=(0,h.parseRelativeUrl)(en),n=e.pathname,i=(0,g.getRouteRegex)(ei);el=(0,m.getRouteMatcher)(i)(n);let o=ei===n,a=o?(0,A.interpolateAs)(ei,n,er):{};if(el&&(!o||a.result))o?r=(0,_.formatWithValidation)(Object.assign({},e,{pathname:a.result,query:(0,C.omit)(er,a.params)})):Object.assign(er,el);else{let e=Object.keys(i.groups).filter(e=>!er[e]&&!i.groups[e].optional);if(e.length>0&&!es)throw Object.defineProperty(Error((o?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+n+") is incompatible with the `href` value ("+ei+"). ")+"Read more: https://nextjs.org/docs/messages/"+(o?"href-interpolation-failed":"incompatible-href-as")),"__NEXT_ERROR_CODE",{value:"E344",enumerable:!1,configurable:!0})}}F||G.events.emit("routeChangeStart",r,V);let eu="/404"===this.pathname||"/_error"===this.pathname;try{let o=await this.getRouteInfo({route:ei,pathname:et,query:er,as:r,resolvedAs:en,routeProps:V,locale:H.locale,isPreview:H.isPreview,hasMiddleware:es,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:F&&!this.isFallback,isMiddlewareRewrite:ea});if(F||n.shallow||await this._bfl(r,"resolvedAs"in o?o.resolvedAs:void 0,H.locale),"route"in o&&es){ei=et=o.route||ei,V.shallow||(er=Object.assign({},o.query||{},er));let e=(0,w.hasBasePath)(ee.pathname)?(0,S.removeBasePath)(ee.pathname):ee.pathname;if(el&&et!==e&&Object.keys(el).forEach(e=>{el&&er[e]===el[e]&&delete er[e]}),(0,p.isDynamicRoute)(et)){let e=!V.shallow&&o.resolvedAs?o.resolvedAs:(0,E.addBasePath)((0,v.addLocale)(new URL(r,location.href).pathname,H.locale),!0);(0,w.hasBasePath)(e)&&(e=(0,S.removeBasePath)(e));let t=(0,g.getRouteRegex)(et),n=(0,m.getRouteMatcher)(t)(new URL(e,location.href).pathname);n&&Object.assign(er,n)}}if("type"in o)if("redirect-internal"===o.type)return this.change(e,o.newUrl,o.newAs,n);else return W({url:o.destination,router:this}),new Promise(()=>{});let a=o.Component;if(a&&a.unstable_scriptLoader&&[].concat(a.unstable_scriptLoader()).forEach(e=>{(0,s.handleClientScriptLoad)(e.props)}),(o.__N_SSG||o.__N_SSP)&&o.props){if(o.props.pageProps&&o.props.pageProps.__N_REDIRECT){n.locale=!1;let t=o.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==o.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,h.parseRelativeUrl)(t);r.pathname=z(r.pathname,N);let{url:i,as:o}=U(this,t,t);return this.change(e,i,o,n)}return W({url:t,router:this}),new Promise(()=>{})}if(H.isPreview=!!o.props.__N_PREVIEW,o.props.notFound===$){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(o=await this.getRouteInfo({route:e,pathname:e,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:H.locale,isPreview:H.isPreview,isNotFound:!0}),"type"in o)throw Object.defineProperty(Error("Unexpected middleware effect on /404"),"__NEXT_ERROR_CODE",{value:"E158",enumerable:!1,configurable:!0})}}F&&"/_error"===this.pathname&&(null==(d=self.__NEXT_DATA__.props)||null==(c=d.pageProps)?void 0:c.statusCode)===500&&(null==(T=o.props)?void 0:T.pageProps)&&(o.props.pageProps.statusCode=500);let u=n.shallow&&H.route===(null!=(R=o.route)?R:ei),f=null!=(P=n.scroll)?P:!F&&!u,_=null!=i?i:f?{x:0,y:0}:null,y={...H,route:ei,pathname:et,query:er,asPath:Q,isFallback:!1};if(F&&eu){if(o=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:H.locale,isPreview:H.isPreview,isQueryUpdating:F&&!this.isFallback}),"type"in o)throw Object.defineProperty(Error("Unexpected middleware effect on "+this.pathname),"__NEXT_ERROR_CODE",{value:"E225",enumerable:!1,configurable:!0});"/_error"===this.pathname&&(null==(I=self.__NEXT_DATA__.props)||null==(x=I.pageProps)?void 0:x.statusCode)===500&&(null==(M=o.props)?void 0:M.pageProps)&&(o.props.pageProps.statusCode=500);try{await this.set(y,o,_)}catch(e){throw(0,l.default)(e)&&e.cancelled&&G.events.emit("routeChangeError",e,Q,V),e}return!0}if(G.events.emit("beforeHistoryChange",r,V),this.changeState(e,t,r,n),!(F&&!_&&!Y&&!Z&&(0,O.compareRouterStates)(y,this.state))){try{await this.set(y,o,_)}catch(e){if(e.cancelled)o.error=o.error||e;else throw e}if(o.error)throw F||G.events.emit("routeChangeError",o.error,Q,V),o.error;F||G.events.emit("routeChangeComplete",r,V),f&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,l.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,f.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:Y()},"",r))}async handleRouteInfoError(e,t,r,n,i,o){if(e.cancelled)throw e;
19if((0,a.isAssetError)(e)||o)throw G.events.emit("routeChangeError",e,n,i),W({url:n,router:this}),D();console.error(e);try{let n,{page:i,styleSheets:o}=await this.fetchComponent("/_error"),a={props:n,Component:i,styleSheets:o,err:e,error:e};if(!a.props)try{a.props=await this.getInitialProps(i,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),a.props={}}return a}catch(e){return this.handleRouteInfoError((0,l.default)(e)?e:Object.defineProperty(Error(e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}),t,r,n,i,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:n,as:i,resolvedAs:a,routeProps:s,locale:u,hasMiddleware:d,isPreview:f,unstable_skipClientCache:p,isQueryUpdating:h,isMiddlewareRewrite:m,isNotFound:g}=e,y=t;try{var v,b,E,w;let e=this.components[y];if(s.shallow&&e&&this.route===y)return e;let t=q({route:y,router:this});d&&(e=void 0);let l=!e||"initial"in e?void 0:e,T={dataHref:this.pageLoader.getDataHref({href:(0,_.formatWithValidation)({pathname:r,query:n}),skipInterpolation:!0,asPath:g?"/404":a,locale:u}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:h?this.sbc:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:p,isBackground:h},P=h&&!m?null:await F({fetchData:()=>H(T),asPath:g?"/404":a,locale:u,router:this}).catch(e=>{if(h)return null;throw e});if(P&&("/_error"===r||"/404"===r)&&(P.effect=void 0),h&&(P?P.json=self.__NEXT_DATA__.props:P={json:self.__NEXT_DATA__.props}),t(),(null==P||null==(v=P.effect)?void 0:v.type)==="redirect-internal"||(null==P||null==(b=P.effect)?void 0:b.type)==="redirect-external")return P.effect;if((null==P||null==(E=P.effect)?void 0:E.type)==="rewrite"){let t=(0,o.removeTrailingSlash)(P.effect.resolvedHref),i=await this.pageLoader.getPageList();if((!h||i.includes(t))&&(y=t,r=P.effect.resolvedHref,n={...n,...P.effect.parsedAs.query},a=(0,S.removeBasePath)((0,c.normalizeLocalePath)(P.effect.parsedAs.pathname,this.locales).pathname),e=this.components[y],s.shallow&&e&&this.route===y&&!d))return{...e,route:y}}if((0,R.isAPIRoute)(y))return W({url:i,router:this}),new Promise(()=>{});let x=l||await this.fetchComponent(y).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),O=null==P||null==(w=P.response)?void 0:w.headers.get("x-middleware-skip"),k=x.__N_SSG||x.__N_SSP;O&&(null==P?void 0:P.dataHref)&&delete this.sdc[P.dataHref];let{props:I,cacheKey:C}=await this._getData(async()=>{if(k){if((null==P?void 0:P.json)&&!O)return{cacheKey:P.cacheKey,props:P.json};let e=(null==P?void 0:P.dataHref)?P.dataHref:this.pageLoader.getDataHref({href:(0,_.formatWithValidation)({pathname:r,query:n}),asPath:a,locale:u}),t=await H({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:O?{}:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:p});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(x.Component,{pathname:r,query:n,asPath:i,locale:u,locales:this.locales,defaultLocale:this.defaultLocale})}});return x.__N_SSP&&T.dataHref&&C&&delete this.sdc[C],this.isPreview||!x.__N_SSG||h||H(Object.assign({},T,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),I.pageProps=Object.assign({},I.pageProps),x.props=I,x.route=y,x.query=n,x.resolvedAs=a,this.components[y]=x,x}catch(e){return this.handleRouteInfoError((0,l.getProperError)(e),r,n,i,s)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#",2),[n,i]=e.split("#",2);return!!i&&t===n&&r===i||t===n&&r!==i}scrollToHash(e){let[,t=""]=e.split("#",2);(0,M.disableSmoothScrollDuringRouteTransition)(()=>{if(""===t||"top"===t)return void window.scrollTo(0,0);let e=decodeURIComponent(t),r=document.getElementById(e);if(r)return void r.scrollIntoView();let n=document.getElementsByName(e)[0];n&&n.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,I.isBot)(window.navigator.userAgent))return;let n=(0,h.parseRelativeUrl)(e),i=n.pathname,{pathname:a,query:s}
19=n,l=a,u=await this.pageLoader.getPageList(),c=t,d=void 0!==r.locale?r.locale||void 0:this.locale,f=await j({asPath:t,locale:d,router:this});n.pathname=z(n.pathname,u),(0,p.isDynamicRoute)(n.pathname)&&(a=n.pathname,n.pathname=a,Object.assign(s,(0,m.getRouteMatcher)((0,g.getRouteRegex)(n.pathname))((0,y.parsePath)(t).pathname)||{}),f||(e=(0,_.formatWithValidation)(n)));let v=await F({fetchData:()=>H({dataHref:this.pageLoader.getDataHref({href:(0,_.formatWithValidation)({pathname:l,query:s}),skipInterpolation:!0,asPath:c,locale:d}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:d,router:this});if((null==v?void 0:v.effect.type)==="rewrite"&&(n.pathname=v.effect.resolvedHref,a=v.effect.resolvedHref,s={...s,...v.effect.parsedAs.query},c=v.effect.parsedAs.pathname,e=(0,_.formatWithValidation)(n)),(null==v?void 0:v.effect.type)==="redirect-external")return;let b=(0,o.removeTrailingSlash)(a);await this._bfl(t,c,r.locale,!0)&&(this.components[i]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(b).then(t=>!!t&&H({dataHref:(null==v?void 0:v.json)?null==v?void 0:v.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:d}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](b)])}async fetchComponent(e){let t=q({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Object.defineProperty(Error("Loading initial props cancelled"),"__NEXT_ERROR_CODE",{value:"E405",enumerable:!1,configurable:!0});throw e.cancelled=!0,e}return e})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,f.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,r,{initialProps:n,pageLoader:i,App:a,wrapApp:s,Component:l,err:u,subscription:c,isFallback:d,locale:m,locales:g,defaultLocale:y,domainLocales:v,isPreview:b}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=Y(),this.onPopState=e=>{let t,{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,_.formatWithValidation)({pathname:(0,E.addBasePath)(e),query:t}),(0,f.getURL)());return}if(n.__NA)return void window.location.reload();if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:i,as:o,options:a,key:s}=n;this._key=s;let{pathname:l}=(0,h.parseRelativeUrl)(i);(!this.isSsr||o!==(0,E.addBasePath)(this.asPath)||l!==(0,E.addBasePath)(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",i,o,Object.assign({},a,{shallow:a.shallow&&this._shallow,locale:a.locale||this.defaultLocale,_h:0}),t)};let S=(0,o.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[S]={Component:l,initial:!0,props:n,err:u,__N_SSG:n&&n.__N_SSG,__N_SSP:n&&n.__N_SSP}),this.components["/_app"]={Component:a,styleSheets:[]},this.events=G.events,this.pageLoader=i;let w=(0,p.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=s,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!w&&!self.location.search),this.state={route:S,pathname:e,query:t,asPath:w?e:r,isPreview:!!b,locale:void 0,isFallback:d},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!r.startsWith("//")){let n={locale:m},i=(0,f.getURL)();this._initialMatchesMiddlewarePromise=j({router:this,locale:m,asPath:i}).then(o=>(n._shouldResolveHref=r!==e,this.changeState("replaceState",o?i:(0,_.formatWithValidation)({pathname:(0,E.addBasePath)(e),query:t}),i,n),o))}window.addEventListener("popstate",this.onPopState)}}G.events=(0,d.default)()},60963:(e,t,r)=>{"use strict";r.d(t,{XW:()=>i,xg:()=>
19o});var n=r(50045);function i(e){return new a(t=>{t(e)})}function o(e){return new a((t,r)=>{r(e)})}class a{constructor(e){this._state=0,this._handlers=[],this._runExecutor(e)}then(e,t){return new a((r,n)=>{this._handlers.push([!1,t=>{if(e)try{r(e(t))}catch(e){n(e)}else r(t)},e=>{if(t)try{r(t(e))}catch(e){n(e)}else n(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new a((t,r)=>{let n,i;return this.then(t=>{i=!1,n=t,e&&e()},t=>{i=!0,n=t,e&&e()}).then(()=>{if(i)return void r(n);t(n)})})}_executeHandlers(){if(0===this._state)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(1===this._state&&e[1](this._value),2===this._state&&e[2](this._value),e[0]=!0)})}_runExecutor(e){let t=(e,t)=>{if(0===this._state){if((0,n.Qg)(t))return void t.then(r,i);this._state=e,this._value=t,this._executeHandlers()}},r=e=>{t(1,e)},i=e=>{t(2,e)};try{e(r,i)}catch(e){i(e)}}}},61293:(e,t,r)=>{"use strict";r.d(t,{Vu:()=>s,fj:()=>o,qO:()=>a});var n=r(98093),i=r(9344);function o(e){let t=(0,i.zf)(),r={sid:(0,n.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>{var e;return e=r,{sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}};return e&&a(r,e),r}function a(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,i.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,n.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function s(e,t){let r={};t?r={status:t}:"ok"===e.status&&(r={status:"exited"}),a(e,r)}},61481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{REDIRECT_ERROR_CODE:function(){return i},RedirectType:function(){return o},isRedirectError:function(){return a}});let n=r(46843),i="NEXT_REDIRECT";var o=function(e){return e.push="push",e.replace="replace",e}({});function a(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[r,o]=t,a=t.slice(2,-2).join(";"),s=Number(t.at(-2));return r===i&&("replace"===o||"push"===o)&&"string"==typeof a&&!isNaN(s)&&s in n.RedirectStatusCode}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},62437:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return i}});let n=r(93590);function i(e){return(0,n.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},62522:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let n=r(23964),i=r(90135),o=r(12962),a=r(10337);function s(e){let t=(0,a.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,i.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,i.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},62877:(e,t,r)=>{"use strict";
19Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{HTML_LIMITED_BOT_UA_RE:function(){return n.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return o},getBotType:function(){return l},isBot:function(){return s}});let n=r(13545),i=/Googlebot(?!-)|Googlebot$/i,o=n.HTML_LIMITED_BOT_UA_RE.source;function a(e){return n.HTML_LIMITED_BOT_UA_RE.test(e)}function s(e){return i.test(e)||a(e)}function l(e){return i.test(e)?"dom":a(e)?"html":void 0}},63169:(e,t)=>{"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},63442:(e,t,r)=>{"use strict";r.d(t,{AD:()=>d,SB:()=>s,hH:()=>l,ul:()=>c});var n=r(41419),i=r(56011);let o=/^o(\d+)\./,a=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;function s(e,t=!1){let{host:r,path:n,pass:i,port:o,projectId:a,protocol:l,publicKey:u}=e;return`${l}://${u}${t&&i?`:${i}`:""}@${r}${o?`:${o}`:""}/${n?`${n}/`:n}${a}`}function l(e){let t=a.exec(e);if(!t)return void(0,i.pq)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});let[r,n,o="",s="",l="",c=""]=t.slice(1),d="",f=c,p=f.split("/");if(p.length>1&&(d=p.slice(0,-1).join("/"),f=p.pop()),f){let e=f.match(/^\d+/);e&&(f=e[0])}return u({host:s,pass:o,path:d,projectId:f,port:l,protocol:r,publicKey:n})}function u(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function c(e){let t,r=e.getOptions(),{host:n}=e.getDsn()||{};return r.orgId?t=String(r.orgId):n&&(t=function(e){let t=e.match(o);return t?.[1]}(n)),t}function d(e){let t="string"==typeof e?l(e):u(e);if(t&&function(e){if(!n.T)return!0;let{port:t,projectId:r,protocol:o}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(i.Yz.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(r.match(/^\d+$/)?"http"!==o&&"https"!==o?(i.Yz.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):!(t&&isNaN(parseInt(t,10)))||(i.Yz.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(i.Yz.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1))}(t))return t}},64252:(e,t,r)=>{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:()=>n})},66240:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return i},getProperError:function(){return o}});let n=r(50802);function i(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function o(e){return i(e)?e:Object.defineProperty(Error((0,n.isPlainObject)(e)?function(e){let t=new WeakSet;return JSON.stringify(e,(e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return"[Circular]";t.add(r)}return r})}(e):e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},67647:(e,t,r)=>{"use strict";e.exports=r(48)},69311:(e,t,r)=>{"use strict";r.d(t,{$N:()=>a,Hd:()=>o,xE:()=>s});var n=r(50045);let i=r(77628).O;function o(e,t={}){if(!e)return"<unknown>";try{let r,o=e,a=[],s=0,l=0,u=Array.isArray(t)?t:t.keyAttrs,c=!Array.isArray(t)&&t.maxStringLength||80;for(;o&&s++<5&&(r=function(e,t){let r=[];if(!e?.tagName)return"";if(i.HTMLElement&&e instanceof HTMLElement&&e.dataset){if(e.dataset.sentryComponent)return e.dataset.sentryComponent;if(e.dataset.sentryElement)return e.dataset.sentryElement}r.push(e.tagName.toLowerCase());let o=t?.length?t.filter(t=>e.getAttribute(t)).map(t=>[t,e.getAttribute(t)]):null;if(o?.length)o.forEach(e=>{r.push(`[${e[0]}="${e[1]}"]`)});else{e.id&&r.push(`#${e.id}`);let t=e.className;if(t&&(0,n.Kg)(t))for(let e of t.split(/\s+/))r.push(`.${e}`)}for(let t of["aria-label","type","name","title","alt"]){let n=e.getAttribute(t);n&&r.push(`[${t}="${n}"]`)}return r.join("")}(o,u),"html"!==r&&(!(s>1)||!(l+3*a.length+r.length>=c)));)a.push(r),l+=r.length,o=o.parentNode;return a.reverse().join(" > ")}catch{return"<unknown>"}}function a(){try{return i.document.location.href}catch{return""}}function s(e){if(!i.HTMLElement)return null;let t=e;for(let e=0;e<5&&t;e++){if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}},70464:(e,t)=>
19{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return y},MissingStaticPage:function(){return _},NormalizeError:function(){return m},PageNotFoundError:function(){return g},SP:function(){return f},ST:function(){return p},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return a},getURL:function(){return s},isAbsoluteUrl:function(){return o},isResSent:function(){return u},loadGetInitialProps:function(){return d},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return v}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return r||(r=!0,t=e(...i)),t}}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,o=e=>i.test(e);function a(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function s(){let{href:e}=window.location,t=a();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function d(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await d(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&u(r))return n;if(!n)throw Object.defineProperty(Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let f="undefined"!=typeof performance,p=f&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);
19class h extends Error{}class m extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class _ extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function v(e){return JSON.stringify({message:e.message,stack:e.stack})}},70565:(e,t)=>{"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let i=r[n];if("query"===i){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let i=r[n];if(!t.query.hasOwnProperty(i)||e.query[i]!==t.query[i])return!1}}else if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},71830:(e,t,r)=>{"use strict";r.d(t,{GS:()=>s,HF:()=>h,W4:()=>d,my:()=>l,pO:()=>u,sp:()=>c});var n=r(41419),i=r(69311),o=r(56011),a=r(50045);function s(e,t,r){if(!(t in e))return;let i=e[t];if("function"!=typeof i)return;let a=r(i);"function"==typeof a&&u(a,i);try{e[t]=a}catch{n.T&&o.Yz.log(`Failed to replace method "${t}" in object`,e)}}function l(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{n.T&&o.Yz.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function u(e,t){try{let r=t.prototype||{};e.prototype=t.prototype=r,l(e,"__sentry_original__",t)}catch{}}function c(e){return e.__sentry_original__}function d(e){if((0,a.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...p(e)};if(!(0,a.xH)(e))return e;{let t={type:e.type,target:f(e.target),currentTarget:f(e.currentTarget),...p(e)};return"undefined"!=typeof CustomEvent&&(0,a.tH)(e,CustomEvent)&&(t.detail=e.detail),t}}function f(e){try{return(0,a.vq)(e)?(0,i.Hd)(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function p(e){if("object"!=typeof e||null===e)return{};{let t={};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}}function h(e){let t=Object.keys(d(e));return t.sort(),t[0]?t.join(", "):"[object has no keys]"}},76076:(e,t,r)=>{"use strict";r.d(t,{Xr:()=>l,_c:()=>s,gt:()=>a,xv:()=>o});var n=r(50045),i=r(83380);function o(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function a(e,t){if(!Array.isArray(e))return"";let r=[];for(let t=0;t<e.length;t++){let o=e[t];try{(0,n.L2)(o)?r.push((0,i.nY)(o)):r.push(String(o))}catch{r.push("[value cannot be serialized]")}}return r.join(t)}function s(e,t,r=!1){return!!(0,n.Kg)(e)&&((0,n.gd)(t)?t.test(e):!!(0,n.Kg)(t)&&(r?e===t:e.includes(t)))}function l(e,t=[],r=!1){return t.some(t=>s(e,t,r))}},77628:(e,t,r)=>{"use strict";r.d(t,{O:()=>n});let n=globalThis},77704:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});let n="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},78757:(e,t)=>{"use strict";function r(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return r}})},79990:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let n=r(64252),i=r(9094),o=r(81479),a=n._(r(13281)),s=r(20125),l=r(89641),u=r(51659),c=r(23964),d=r(96886);r(17892);class f{getPageList(){return(0,d.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[{missing:[{type:"header",key:"next-router-prefetch"},{type:"header",key:"purpose",value:"prefetch"}],regexp:"^(?:\\/(_next\\/data\\/[^/]{1,}))?(?:\\/((?!api|_next\\/static|_next\\/image|favicon.ico|produto).*))(\\.json)?[\\/#\\?]?$",originalSource:"/((?!api|_next/static|_next/image|favicon.ico|produto).*)"}],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:d,query:f,search:p}=(0,u.parseRelativeUrl)(r),{pathname:h}=(0,u.parseRelativeUrl)(t),m=(0,c.removeTrailingSlash)(d);if("/"!==m[0])throw Object.defineProperty(Error('Route name should start with a "/", got "'+m+'"'),"__NEXT_ERROR_CODE",{value:"E303",enumerable:!1,
19configurable:!0});var g=e.skipInterpolation?h:(0,l.isDynamicRoute)(m)?(0,o.interpolateAs)(d,h,f).result:m;let _=(0,a.default)((0,c.removeTrailingSlash)((0,s.addLocale)(g,n)),".json");return(0,i.addBasePath)("/_next/data/"+this.buildId+_+p,!0)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=(0,d.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},80122:(e,t,r)=>{"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return n}}),r(34200),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81479:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return o}});let n=r(83333),i=r(45700);function o(e,t,r){let o="",a=(0,i.getRouteRegex)(e),s=a.groups,l=(t!==e?(0,n.getRouteMatcher)(a)(t):"")||r;o=e;let u=Object.keys(s);return u.every(e=>{let t=l[e]||"",{repeat:r,optional:n}=s[e],i="["+(r?"...":"")+e+"]";return n&&(i=(t?"":"/")+"["+i+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in l)&&(o=o.replace(i,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(o=""),{params:u,result:o}}},82172:(e,t,r)=>{"use strict";r.d(t,{f:()=>a,r:()=>o});var n=r(71830);let i="_sentrySpan";function o(e,t){t?(0,n.my)(e,i,t):delete e[i]}function a(e){return e[i]}},83076:(e,t)=>{"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},83333:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(70464),i=r(56902);function o(e){let{re:t,groups:r}=e;return(0,i.safeRouteMatcher)(e=>{let i=t.exec(e);if(!i)return!1;let o=e=>{try{return decodeURIComponent(e)}catch(e){throw Object.defineProperty(new n.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},a={};for(let[e,t]of Object.entries(r)){let r=i[t.pos];void 0!==r&&(t.repeat?a[e]=r.split("/").map(e=>o(e)):a[e]=o(r))}return a})}},83380:(e,t,r)=>{"use strict";r.d(t,{RV:()=>d,Wt:()=>p,gd:()=>a,nY:()=>f,qQ:()=>c,vk:()=>s,yF:()=>n});let n="?",i=/\(error: (.*)\)/,o=/captureMessage|captureException/;function a(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,r=0,a=0)=>{let s=[],u=e.split("\n");for(let e=r;e<u.length;e++){let r=u[e];r.length>1024&&(r=r.slice(0,1024));let n=i.test(r)?r.replace(i,"$1"):r;if(!n.match(/\S*Error: /)){for(let e of t){let t=e(n);if(t){s.push(t);break}}if(s.length>=50+a)break}}var c=s.slice(a);if(!c.length)return[];let d=Array.from(c);return/sentryWrapped/.test(l(d).function||"")&&d.pop(),d.reverse(),o.test(l(d).function||"")&&(d.pop(),o.test(l(d).function||"")&&d.pop()),d.slice(0,50).map(e=>({...e,filename:e.filename||l(d).filename,function:e.function||n}))}}function s(e){return Array.isArray(e)?a(...e):e}function l(e){return e[e.length-1]||{}}let u="<anonymous>";function c(e){try{if(!e||"function"!=typeof e)return u;return e.name||u}catch{return u}}function d(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{}}}function f(e){return"__v_isVNode"in e&&e.__v_isVNode?"[VueVNode]":"[VueViewModel]"}function p(e){let t=e?.startsWith("file://")?e.slice(7):e;return t?.match(/\/[A-Z]:/)&&(t=t.slice(1)),t}},83515:(e,t,r)=>{"use strict";r.d(t,{li:()=>g,mG:()=>m});var n=r(18760),i=r(41419),o=r(56011),a=r(50045),s=r(60963),l=r(18081),u=r(26175),c=r(98093),d=r(8708),f=r(57855),p=r(76076),h=r(9344);function m(e,t,r,m,g,_){var y,v;let{normalizeDepth:b=3,normalizeMaxBreadth:S=1e3}
19=e,E={...t,event_id:t.event_id||r.event_id||(0,c.eJ)(),timestamp:t.timestamp||(0,h.lu)()},w=r.integrations||e.integrations.map(e=>e.name);(function(e,t){let{environment:r,release:i,dist:o,maxValueLength:a}=t;e.environment=e.environment||r||n.U,!e.release&&i&&(e.release=i),!e.dist&&o&&(e.dist=o);let s=e.request;s?.url&&a&&(s.url=(0,p.xv)(s.url,a)),a&&e.exception?.values?.forEach(e=>{e.value&&(e.value=(0,p.xv)(e.value,a))})})(E,e),y=E,(v=w).length>0&&(y.sdk=y.sdk||{},y.sdk.integrations=[...y.sdk.integrations||[],...v]),g&&g.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){let r=(0,u.z)(t);e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.filename&&(e.debug_id=r[e.filename])})})}(E,e.stackParser);let T=function(e,t){if(!t)return e;let r=e?e.clone():new l.H;return r.update(t),r}(m,r.captureContext);r.mechanism&&(0,c.M6)(E,r.mechanism);let R=g?g.getEventProcessors():[],P=(0,f.Om)(_,T),x=[...r.attachments||[],...P.attachments];return x.length&&(r.attachments=x),(0,f.e2)(E,P),(function(e,t,r,n=0){try{let l=function e(t,r,n,s){let l=n[s];if(!t||!l)return t;let u=l({...t},r);return(i.T&&null===u&&o.Yz.log(`Event processor "${l.id||"?"}" dropped event`),(0,a.Qg)(u))?u.then(t=>e(t,r,n,s+1)):e(u,r,n,s+1)}(t,r,e,n);return(0,a.Qg)(l)?l:(0,s.XW)(l)}catch(e){return(0,s.xg)(e)}})([...R,...P.eventProcessors],E,r).then(e=>(e&&function(e){let t={};if(e.exception?.values?.forEach(e=>{e.stacktrace?.frames?.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})}),0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let r=e.debug_meta.images;Object.entries(t).forEach(([e,t])=>{r.push({type:"sourcemap",code_file:e,debug_id:t})})}(e),"number"==typeof b&&b>0)?function(e,t,r){if(!e)return null;let n={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,d.S8)(e.data,t,r)}}))},...e.user&&{user:(0,d.S8)(e.user,t,r)},...e.contexts&&{contexts:(0,d.S8)(e.contexts,t,r)},...e.extra&&{extra:(0,d.S8)(e.extra,t,r)}};return e.contexts?.trace&&n.contexts&&(n.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(n.contexts.trace.data=(0,d.S8)(e.contexts.trace.data,t,r))),e.spans&&(n.spans=e.spans.map(e=>({...e,...e.data&&{data:(0,d.S8)(e.data,t,r)}}))),e.contexts?.flags&&n.contexts&&(n.contexts.flags=(0,d.S8)(e.contexts.flags,3,r)),n}(e,b,S):e)}function g(e){if(e){var t;return(t=e)instanceof l.H||"function"==typeof t||Object.keys(e).some(e=>_.includes(e))?{captureContext:e}:e}}let _=["user","level","extra","contexts","tags","fingerprint","propagationContext"]},84727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return p}});let n=r(91490),i=r(170),o=r(83076),a=r(70464),s=r(19783),l=r(1623),u=r(35847),c=r(81479),d=r(45700),f=r(83333);function p(e,t,r){let p,h="string"==typeof t?t:(0,i.formatWithValidation)(t),m=h.match(/^[a-z][a-z0-9+.-]*:\/\//i),g=m?h.slice(m[0].length):h;if((g.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+h+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,a.normalizeRepeatedSlashes)(g);h=(m?m[0]:"")+t}if(!(0,l.isLocalURL)(h))return r?[h]:h;try{let t=h.startsWith("#")?e.asPath:e.pathname;if(h.startsWith("?")&&(t=e.asPath,(0,u.isDynamicRoute)(e.pathname))){t=e.pathname;let r=(0,d.getRouteRegex)(e.pathname);(0,f.getRouteMatcher)(r)(e.asPath)||(t=e.asPath)}p=new URL(t,"http://n")}catch(e){p=new URL("/","http://n")}try{let e=new URL(h,p);e.pathname=(0,s.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:a,params:s}=(0,c.interpolateAs)(e.pathname,e.pathname,r);a&&(t=(0,i.formatWithValidation)({pathname:a,hash:e.hash,query:(0,o.omit)(r,s)}))}let a=e.origin===p.origin?e.href.slice(e.origin.length):e.href;return r?[a,t||a]:a}catch(e){return r?[h]:h}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
19dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},85496:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RouteAnnouncer:function(){return l},default:function(){return u}});let n=r(64252),i=r(37876),o=n._(r(14232)),a=r(16296),s={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},l=()=>{let{asPath:e}=(0,a.useRouter)(),[t,r]=o.default.useState(""),n=o.default.useRef(e);return o.default.useEffect(()=>{if(n.current!==e)if(n.current=e,document.title)r(document.title);else{var t;let n=document.querySelector("h1");r((null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent)||e)}},[e]),(0,i.jsx)("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:s,children:t})},u=l;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},88365:(e,t,r)=>{"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function i(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=e[a]}return i.default=e,r&&r.set(e,i),i}r.r(t),r.d(t,{_:()=>i})},88797:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathParamsContext:function(){return a},PathnameContext:function(){return o},SearchParamsContext:function(){return i}});let n=r(14232),i=(0,n.createContext)(null),o=(0,n.createContext)(null),a=(0,n.createContext)(null)},89099:(e,t,r)=>{e.exports=r(16296)},89161:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},89238:(e,t,r)=>{"use strict";function n(e,t){if(void 0===t&&(t={}),t.onlyHashChange)return void e();let r=document.documentElement;r.dataset.scrollBehavior;let n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"disableSmoothScrollDuringRouteTransition",{enumerable:!0,get:function(){return n}}),r(26201)},89641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return a}});let n=r(4818),i=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,o=/\/\[[^/]+\](?=\/|$)/;function a(e,t){return(void 0===t&&(t=!0),(0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),t)?o.test(e):i.test(e)}},90135:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return i}});let n=r(34200);function i(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:i,hash:o}=(0,n.parsePath)(e);return""+t+r+i+o}},91490:(e,t)=>{"use strict";function r(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function n(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.append(r,n(e));else t.set(r,n(i));return t}function o(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,n]of t.entries())e.append(r,n)}return e}
19Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return o},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return i}})},92607:(e,t)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return n},setConfig:function(){return i}});let n=()=>r;function i(e){r=e}},92797:(e,t,r)=>{"use strict";r.d(t,{KU:()=>d,m6:()=>u,o5:()=>s,rm:()=>l,v4:()=>c,vn:()=>f});var n=r(39132),i=r(46925),o=r(18081),a=r(42252);function s(){let e=(0,i.EU)();return(0,n.h)(e).getCurrentScope()}function l(){let e=(0,i.EU)();return(0,n.h)(e).getIsolationScope()}function u(){return(0,i.BY)("globalScope",()=>new o.H)}function c(...e){let t=(0,i.EU)(),r=(0,n.h)(t);if(2===e.length){let[t,n]=e;return t?r.withSetScope(t,n):r.withScope(n)}return r.withScope(e[0])}function d(){return s().getClient()}function f(e){let{traceId:t,parentSpanId:r,propagationSpanId:n}=e.getPropagationContext(),i={trace_id:t,span_id:n||(0,a.Z)()};return r&&(i.parent_span_id=r),i}},93590:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return i}});let n=r(34200);function i(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},95153:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return o}});let n=r(35847),i=r(59213);function o(e){let t=(0,i.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},95269:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRouteObjects:function(){return i},getSortedRoutes:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").'),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Object.defineProperty(Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let i=e[0];if(i.startsWith("[")&&i.endsWith("]")){let r=i.slice(1,-1),a=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),a=!0),r.startsWith("…"))throw Object.defineProperty(Error("Detected a three-dot character ('…') at ('"+r+"'). Did you mean ('...')?"),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Object.defineProperty(Error("Segment names may not start or end with extra brackets ('"+r+"')."),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(r.startsWith("."))throw Object.defineProperty(Error("Segment names may not start with erroneous periods ('"+r+"')."),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,
19configurable:!0});function o(e,r){if(null!==e&&e!==r)throw Object.defineProperty(Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"')."),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});t.forEach(e=>{if(e===r)throw Object.defineProperty(Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(e.replace(/\W/g,"")===i.replace(/\W/g,""))throw Object.defineProperty(Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),t.push(r)}if(n)if(a){if(null!=this.restSlugName)throw Object.defineProperty(Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).'),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});o(this.optionalRestSlugName,r),this.optionalRestSlugName=r,i="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").'),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});o(this.restSlugName,r),this.restSlugName=r,i="[...]"}else{if(a)throw Object.defineProperty(Error('Optional route parameters are not yet supported ("'+e[0]+'").'),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});o(this.slugName,r),this.slugName=r,i="[]"}}this.children.has(i)||this.children.set(i,new r),this.children.get(i)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}function i(e,t){let r={},i=[];for(let n=0;n<e.length;n++){let o=t(e[n]);r[o]=n,i[n]=o}return n(i).map(t=>e[r[t]])}},95272:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return o}});let n=r(14232),i=r(98477),o=e=>{let{children:t,type:r}=e,[o,a]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.createElement(r);return document.body.appendChild(e),a(e),()=>{document.body.removeChild(e)}},[r]),o?(0,i.createPortal)(t,o):null};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95837:(e,t,r)=>{"use strict";r.d(t,{f:()=>i});var n=r(92797);function i(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=e||(0,n.KU)()?.getOptions();return!!t&&(null!=t.tracesSampleRate||!!t.tracesSampler)}},96886:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createRouteLoader:function(){return g},getClientBuildManifest:function(){return h},isAssetError:function(){return c},markAssetError:function(){return u}}),r(64252),r(13281);let n=r(1768),i=r(43273),o=r(78757),a=r(32298);function s(e,t,r){let n,i=t.get(e);if(i)return"future"in i?i.future:Promise.resolve(i);let o=new Promise(e=>{n=e});return t.set(e,{resolve:n,future:o}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):o}let l=Symbol("ASSET_LOAD_ERROR");function u(e){return Object.defineProperty(e,l,{})}function c(e){return e&&l in e}let d=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),f=()=>(0,o.getDeploymentIdQueryOrEmptyString)();function p(e,t,r){return new Promise((n,o)=>{let a=!1;e.then(e=>{a=!0,n(e)}).catch(o),(0,i.requestIdleCallback)(()=>setTimeout(()=>{a||o(r)},t))})}function h(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):p(new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}),3800,u(Object.defineProperty(Error("Failed to load client build manifest"),"__NEXT_ERROR_CODE",{value:"E273",enumerable:!1,
19configurable:!0})))}function m(e,t){return h().then(r=>{if(!(t in r))throw u(Object.defineProperty(Error("Failed to lookup route: "+t),"__NEXT_ERROR_CODE",{value:"E446",enumerable:!1,configurable:!0}));let i=r[t].map(t=>e+"/_next/"+(0,a.encodeURIPath)(t));return{scripts:i.filter(e=>e.endsWith(".js")).map(e=>(0,n.__unsafeCreateTrustedScriptURL)(e)+f()),css:i.filter(e=>e.endsWith(".css")).map(e=>e+f())}})}function g(e){let t=new Map,r=new Map,n=new Map,o=new Map;function a(e){{var t;let n=r.get(e.toString());return n?n:document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(u(Object.defineProperty(Error("Failed to load script: "+e),"__NEXT_ERROR_CODE",{value:"E74",enumerable:!1,configurable:!0}))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n)}}function l(e){let t=n.get(e);return t||n.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Object.defineProperty(Error("Failed to load stylesheet: "+e),"__NEXT_ERROR_CODE",{value:"E189",enumerable:!1,configurable:!0});return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw u(e)})),t}return{whenEntrypoint:e=>s(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),o.delete(e))})}
19,loadRoute(r,n){return s(r,o,()=>{let i;return p(m(e,r).then(e=>{let{scripts:n,css:i}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(a)),Promise.all(i.map(l))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,u(Object.defineProperty(Error("Route did not complete loading: "+r),"__NEXT_ERROR_CODE",{value:"E12",enumerable:!1,configurable:!0}))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==i?void 0:i())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():m(e,t).then(e=>Promise.all(d?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,i)=>{let o='\n      link[rel="prefetch"][href^="'+t+'"],\n      link[rel="preload"][href^="'+t+'"],\n      script[src^="'+t+'"]';if(document.querySelector(o))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>i(u(Object.defineProperty(Error("Failed to prefetch: "+t),"__NEXT_ERROR_CODE",{value:"E268",enumerable:!1,configurable:!0}))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,i.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98093:(e,t,r)=>{"use strict";let n;r.d(t,{$X:()=>u,GR:()=>f,M6:()=>d,eJ:()=>s,gO:()=>c});var i=r(71830),o=r(58934),a=r(77628);function s(e=function(){let e=a.O;return e.crypto||e.msCrypto}()){try{if(e?.randomUUID)return(0,o.Qw)(()=>e.randomUUID()).replace(/-/g,"")}catch{}return n||(n="10000000100040008000100000000000"),n.replace(/[018]/g,e=>(e^(15&16*(0,o.hY)())>>e/4).toString(16))}function l(e){return e.exception?.values?.[0]}function u(e){let{message:t,event_id:r}=e;if(t)return t;let n=l(e);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"<unknown>":r||"<unknown>"}function c(e,t,r){let n=e.exception=e.exception||{},i=n.values=n.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=r||"Error")}function d(e,t){let r=l(e);if(!r)return;let n=r.mechanism;if(r.mechanism={type:"generic",handled:!0,...n,...t},t&&"data"in t){let e={...n?.data,...t.data};r.mechanism.data=e}}function f(e){if(function(e){try{return e.__sentry_captured__}catch{}}(e))return!0;try{(0,i.my)(e,"__sentry_captured__",!0)}catch{}return!1}},99742:e=>{var t,r,n,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var l=[],u=!1,c=-1;function d(){u&&n&&(u=!1,n.length?l=n.concat(l):c=-1,l.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(n=l,l=[];++c<t;)n&&n[c].run();c=-1,t=l.length}n=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new p(e,t)),1!==l.length||u||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},e=>{e.O(0,[6593],()=>e(e.s=58340)),_N_E=e.O()}]);
20//# sourceMappingURL=main-f54637260bec5e5a.js.map

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.