(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{40635:function(e,n,t){"use strict";let r,i,o,a,s,l,u,c,d,p,h,f,m,g,y,_,v,b,C,x,k,w,E,T,S,I,R,A,P,N;t.r(n),t.d(n,{Breadcrumbs:function(){return tk},BrowserClient:function(){return n2},BrowserProfilingIntegration:function(){return li},BrowserTracing:function(){return lX},Dedupe:function(){return tT},ErrorBoundary:function(){return l_},Feedback:function(){return a0},FunctionToString:function(){return ed},GlobalHandlers:function(){return tO},HttpContext:function(){return tj},Hub:function(){return et.Xb},InboundFilters:function(){return ey},Integrations:function(){return uL},LinkedErrors:function(){return tK},ModuleMetadata:function(){return eR},Profiler:function(){return lh},Replay:function(){return as},ReplayCanvas:function(){return aL},SDK_VERSION:function(){return Z.J},SEMANTIC_ATTRIBUTE_SENTRY_OP:function(){return eN},SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN:function(){return eO},SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE:function(){return eP},SEMANTIC_ATTRIBUTE_SENTRY_SOURCE:function(){return eA},Scope:function(){return eL.sX},TryCatch:function(){return t$},WINDOW:function(){return nK},addBreadcrumb:function(){return Y.n_},addEventProcessor:function(){return eQ},addGlobalEventProcessor:function(){return en.cc},addIntegration:function(){return ea},addTracingExtensions:function(){return nC},breadcrumbsIntegration:function(){return tx},browserApiErrorsIntegration:function(){return tH},browserProfilingIntegration:function(){return lr},browserTracingIntegration:function(){return l0},captureConsoleIntegration:function(){return a2},captureEvent:function(){return Y.eN},captureException:function(){return Y.Tb},captureMessage:function(){return Y.uT},captureSession:function(){return Y.cg},captureUnderscoreErrorException:function(){return l7},captureUserFeedback:function(){return t2},chromeStackLineParser:function(){return te},close:function(){return Y.xv},configureScope:function(){return Y.e},contextLinesIntegration:function(){return a4},continueTrace:function(){return nt},createReduxEnhancer:function(){return lC},createTransport:function(){return nw},createUserFeedbackEnvelope:function(){return n1},debugIntegration:function(){return a6},dedupeIntegration:function(){return a9},defaultIntegrations:function(){return tQ},defaultRequestInstrumentationOptions:function(){return sb},defaultStackLineParsers:function(){return tc},defaultStackParser:function(){return td},endSession:function(){return Y.TM},eventFromException:function(){return nY},eventFromMessage:function(){return nJ},exceptionFromError:function(){return nG},extraErrorDataIntegration:function(){return so},extractTraceparentData:function(){return e2},feedbackIntegration:function(){return aX},flush:function(){return Y.yl},forceLoad:function(){return tX},functionToStringIntegration:function(){return ec},geckoStackLineParser:function(){return tr},getActiveSpan:function(){return nn},getActiveTransaction:function(){return e1},getClient:function(){return Y.s3},getCurrentHub:function(){return et.Gd},getCurrentScope:function(){return Y.nZ},getDefaultIntegrations:function(){return tY},getHubFromCarrier:function(){return et.vi},getReplay:function(){return au},getSpanStatusFromHttpCode:function(){return nl},globalHandlersIntegration:function(){return tN},httpClientIntegration:function(){return ss},httpContextIntegration:function(){return tF},inboundFiltersIntegration:function(){return eg},init:function(){return uM},instrumentOutgoingRequests:function(){return sC},isInitialized:function(){return Y.dk},lastEventId:function(){return Y.eW},linkedErrorsIntegration:function(){return tU},makeBrowserOfflineTransport:function(){return sW},makeFetchTransport:function(){return n5},makeMain:function(){return et.pj},makeMultiplexedTransport:function(){return nS},makeXHRTransport:function(){return n4},metrics:function(){return nF},moduleMetadataIntegration:function(){return eI},nextRouterInstrumentation:function(){return lJ},onLoad:function(){return t0},onProfilingStartRouteTransaction:function(){return le},opera10StackLineParser:function(){return ts},opera11StackLineParser:function(){return tu},parameterize:function(){return nj},reactRouterV3BrowserTracingIntegration:function(){return lx},reactRouterV3Instrumentation:function(){return lk},reactRouterV4BrowserTracingIntegration:function(){return lE},reactRouterV4Instrumentation:function(){return lS},reactRouterV5BrowserTracingIntegration:function(){return lT},reactRouterV5Instrumentation:function(){return lI},reactRouterV6BrowserTracingIntegration:function(){return lO},reactRouterV6Instrumentation:function(){return lL},replayCanvasIntegration:function(){return aO},replayIntegration:function(){return aa},reportingObserverIntegration:function(){return sm},rewriteFramesIntegration:function(){return l4},sendFeedback:function(){return aH},sessionTimingIntegration:function(){return sy},setContext:function(){return Y.v},setCurrentClient:function(){return nB},setExtra:function(){return Y.sU},setExtras:function(){return Y.rJ},setHttpStatus:function(){return nc},setMeasurement:function(){return nU},setTag:function(){return Y.YA},setTags:function(){return Y.mG},setUser:function(){return Y.av},showReportDialog:function(){return tJ},spanStatusfromHttpCode:function(){return nu},startBrowserTracingNavigationSpan:function(){return sq},startBrowserTracingPageLoadSpan:function(){return sz},startInactiveSpan:function(){return ne},startSession:function(){return Y.yj},startSpan:function(){return e7},startSpanManual:function(){return e9},startTransaction:function(){return Y.Yr},trace:function(){return e6},useProfiler:function(){return lm},winjsStackLineParser:function(){return to},withActiveSpan:function(){return Y._d},withErrorBoundary:function(){return lv},withIsolationScope:function(){return Y.wi},withProfiler:function(){return lf},withScope:function(){return Y.$e},withSentryConfig:function(){return uF},withSentryGetServerSideProps:function(){return ub},withSentryGetStaticProps:function(){return uu},withSentryReactRouterV6Routing:function(){return lB},withSentryRouting:function(){return lA},withSentryServerSideAppGetInitialProps:function(){return uf},withSentryServerSideDocumentGetInitialProps:function(){return ug},withSentryServerSideErrorGetInitialProps:function(){return u_},withSentryServerSideGetInitialProps:function(){return up},withServerActionInstrumentation:function(){return uN},wrap:function(){return t1},wrapApiHandlerWithSentryVercelCrons:function(){return uI},wrapAppGetInitialPropsWithSentry:function(){return uh},wrapCreateBrowserRouter:function(){return lK},wrapDocumentGetInitialPropsWithSentry:function(){return um},wrapErrorGetInitialPropsWithSentry:function(){return uy},wrapGenerationFunctionWithSentry:function(){return uP},wrapGetInitialPropsWithSentry:function(){return ud},wrapGetServerSidePropsWithSentry:function(){return uv},wrapGetStaticPropsWithSentry:function(){return ul},wrapMiddlewareWithSentry:function(){return uR},wrapPageComponentWithSentry:function(){return uA},wrapRouteHandlerWithSentry:function(){return uS},wrapServerComponentWithSentry:function(){return uT},wrapUseRoutes:function(){return lU}});var O,L,M,D,F,j,B,U,K,z,q,H,$,V={};t.r(V),t.d(V,{FunctionToString:function(){return ed},InboundFilters:function(){return ey},LinkedErrors:function(){return ex}});var G={};t.r(G),t.d(G,{Breadcrumbs:function(){return tk},Dedupe:function(){return tT},GlobalHandlers:function(){return tO},HttpContext:function(){return tj},LinkedErrors:function(){return tK},TryCatch:function(){return t$}});var Z=t(42243);function W(e,n,t=[n],r="npm"){let i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${n}`,packages:t.map(e=>({name:`${r}:@sentry/${e}`,version:Z.J})),version:Z.J}),e._metadata=i}var Q=t(2108),Y=t(912),J=t(39578),X=t(49240),ee=t(58146),en=t(72373),et=t(31383);let er=[];function ei(e,n){for(let t of n)t&&t.afterAllSetup&&t.afterAllSetup(e)}function eo(e,n,t){if(t[n.name]){ee.X&&X.kg.log(`Integration skipped because it was already installed: ${n.name}`);return}if(t[n.name]=n,-1===er.indexOf(n.name)&&(n.setupOnce(en.cc,et.Gd),er.push(n.name)),n.setup&&"function"==typeof n.setup&&n.setup(e),e.on&&"function"==typeof n.preprocessEvent){let t=n.preprocessEvent.bind(n);e.on("preprocessEvent",(n,r)=>t(n,r,e))}if(e.addEventProcessor&&"function"==typeof n.processEvent){let t=n.processEvent.bind(n),r=Object.assign((n,r)=>t(n,r,e),{id:n.name});e.addEventProcessor(r)}ee.X&&X.kg.log(`Integration installed: ${n.name}`)}function ea(e){let n=(0,Y.s3)();if(!n||!n.addIntegration){ee.X&&X.kg.warn(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}n.addIntegration(e)}function es(e,n){return Object.assign(function(...e){return n(...e)},{id:e})}let el="FunctionToString",eu=new WeakMap,ec=()=>({name:el,setupOnce(){r=Function.prototype.toString;try{Function.prototype.toString=function(...e){let n=(0,Q.HK)(this),t=eu.has((0,Y.s3)())&&void 0!==n?n:this;return r.apply(t,e)}}catch(e){}},setup(e){eu.set(e,!0)}}),ed=es(el,ec);var ep=t(97740);let eh=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],ef=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],em="InboundFilters",eg=(e={})=>({name:em,setupOnce(){},processEvent:(n,t,r)=>{var i,o;return((i=function(e={},n={}){return{allowUrls:[...e.allowUrls||[],...n.allowUrls||[]],denyUrls:[...e.denyUrls||[],...n.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...n.ignoreErrors||[],...e.disableErrorDefaults?[]:eh],ignoreTransactions:[...e.ignoreTransactions||[],...n.ignoreTransactions||[],...e.disableTransactionDefaults?[]:ef],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,r.getOptions())).ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(n)?(ee.X&&X.kg.warn(`Event dropped due to being internal Sentry Error. Event: ${(0,J.jH)(n)}`),0):(o=i.ignoreErrors,!n.type&&o&&o.length&&(function(e){let n;let t=[];e.message&&t.push(e.message);try{n=e.exception.values[e.exception.values.length-1]}catch(e){}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),ee.X&&0===t.length&&X.kg.error(`Could not extract message for event ${(0,J.jH)(e)}`),t})(n).some(e=>(0,ep.U0)(e,o)))?(ee.X&&X.kg.warn(`Event dropped due to being matched by \`ignoreErrors\` option. Event: ${(0,J.jH)(n)}`),0):!function(e,n){if("transaction"!==e.type||!n||!n.length)return!1;let t=e.transaction;return!!t&&(0,ep.U0)(t,n)}(n,i.ignoreTransactions)?!function(e,n){if(!n||!n.length)return!1;let t=e_(e);return!!t&&(0,ep.U0)(t,n)}(n,i.denyUrls)?function(e,n){if(!n||!n.length)return!0;let t=e_(e);return!t||(0,ep.U0)(t,n)}(n,i.allowUrls)||(ee.X&&X.kg.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${(0,J.jH)(n)}. Url: ${e_(n)}`),0):(ee.X&&X.kg.warn(`Event dropped due to being matched by \`denyUrls\` option. Event: ${(0,J.jH)(n)}. Url: ${e_(n)}`),0):(ee.X&&X.kg.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. Event: ${(0,J.jH)(n)}`),0))?n:null}}),ey=es(em,eg);function e_(e){try{let n;try{n=e.exception.values[0].stacktrace.frames}catch(e){}return n?function(e=[]){for(let n=e.length-1;n>=0;n--){let t=e[n];if(t&&""!==t.filename&&"[native code]"!==t.filename)return t.filename||null}return null}(n):null}catch(n){return ee.X&&X.kg.error(`Cannot extract url for event ${(0,J.jH)(e)}`),null}}var ev=t(55443),eb=t(13950);let eC="LinkedErrors",ex=es(eC,(e={})=>{let n=e.limit||5,t=e.key||"cause";return{name:eC,setupOnce(){},preprocessEvent(e,r,i){let o=i.getOptions();(0,ev.Z)(eb.GJ,o.stackParser,o.maxValueLength,t,n,e,r)}}});var ek=t(51e3),ew=t(7493);let eE=new Map,eT=new Set,eS="ModuleMetadata",eI=()=>({name:eS,setupOnce(){},setup(e){"function"==typeof e.on&&e.on("beforeEnvelope",e=>{(0,ek.gv)(e,(e,n)=>{if("event"===n){let n=Array.isArray(e)?e[1]:void 0;n&&(!function(e){try{e.exception.values.forEach(e=>{if(e.stacktrace)for(let n of e.stacktrace.frames||[])delete n.module_metadata})}catch(e){}}(n),e[1]=n)}})})},processEvent:(e,n,t)=>(!function(e,n){try{n.exception.values.forEach(n=>{if(n.stacktrace)for(let r of n.stacktrace.frames||[]){var t;if(!r.filename)continue;let n=(t=r.filename,function(e){if(ew.GLOBAL_OBJ._sentryModuleMetadata)for(let n of Object.keys(ew.GLOBAL_OBJ._sentryModuleMetadata)){let t=ew.GLOBAL_OBJ._sentryModuleMetadata[n];if(!eT.has(n)){for(let r of(eT.add(n),e(n).reverse()))if(r.filename){eE.set(r.filename,t);break}}}}(e),eE.get(t));n&&(r.module_metadata=n)}})}catch(e){}}(t.getOptions().stackParser,e),e)}),eR=es(eS,eI),eA="sentry.source",eP="sentry.sample_rate",eN="sentry.op",eO="sentry.origin";var eL=t(53318),eM=t(45914),eD=t(72622),eF=t(82721),ej=t(59751);function eB(e){let n=e.protocol?`${e.protocol}:`:"",t=e.port?`:${e.port}`:"";return`${n}//${e.host}${t}${e.path?`/${e.path}`:""}/api/`}function eU(e,n={}){let t="string"==typeof n?n:n.tunnel,r="string"!=typeof n&&n._metadata?n._metadata.sdk:void 0;return t||`${eB(e)}${e.projectId}/envelope/?${(0,Q._j)({sentry_key:e.publicKey,sentry_version:"7",...r&&{sentry_client:`${r.name}/${r.version}`}})}`}function eK(e,n,t,r){var i;let o=(0,ek.HY)(t),a=e.type&&"replay_event"!==e.type?e.type:"event";(i=t&&t.sdk)&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||i.name,e.sdk.version=e.sdk.version||i.version,e.sdk.integrations=[...e.sdk.integrations||[],...i.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...i.packages||[]]);let s=(0,ek.Cd)(e,o,r,n);delete e.sdkProcessingMetadata;let l=[{type:a},e];return(0,ek.Jd)(s,[l])}let ez=[["\n","\\n"],["\r","\\r"],[" ","\\t"],["\\","\\\\"],["|","\\u{7c}"],[",","\\u{2c}"]];var eq=t(73980),eH=t(87797),e$=t(80952);let eV="Not capturing exception because it's already been captured.";class eG{constructor(e){if(this._options=e,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=(0,eM.vK)(e.dsn):ee.X&&X.kg.warn("No DSN provided, client will not send events."),this._dsn){let n=eU(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:n})}}captureException(e,n,t){if((0,J.YO)(e)){ee.X&&X.kg.log(eV);return}let r=n&&n.event_id;return this._process(this.eventFromException(e,n).then(e=>this._captureEvent(e,n,t)).then(e=>{r=e})),r}captureMessage(e,n,t,r){let i=t&&t.event_id,o=(0,eD.Le)(e)?e:String(e),a=(0,eD.pt)(e)?this.eventFromMessage(o,n,t):this.eventFromException(e,t);return this._process(a.then(e=>this._captureEvent(e,t,r)).then(e=>{i=e})),i}captureEvent(e,n,t){if(n&&n.originalException&&(0,J.YO)(n.originalException)){ee.X&&X.kg.log(eV);return}let r=n&&n.event_id,i=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,n,i||t).then(e=>{r=e})),r}captureSession(e){"string"!=typeof e.release?ee.X&&X.kg.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,eq.CT)(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let n=this._transport;return n?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(e).then(t=>n.flush(e).then(e=>t&&e))):(0,eF.WD)(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}setupIntegrations(e){(e&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(e){return this.getIntegrationByName(e)}getIntegrationByName(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(n){return ee.X&&X.kg.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){let n=this._integrations[e.name];eo(this,e,this._integrations),n||ei(this,[e])}sendEvent(e,n={}){this.emit("beforeSendEvent",e,n);let t=eK(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of n.attachments||[])t=(0,ek.BO)(t,(0,ek.zQ)(e,this._options.transportOptions&&this._options.transportOptions.textEncoder));let r=this._sendEnvelope(t);r&&r.then(n=>this.emit("afterSendEvent",e,n),null)}sendSession(e){let n=function(e,n,t,r){let i=(0,ek.HY)(t),o={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&n&&{dsn:(0,eM.RA)(n)}},a="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,ek.Jd)(o,[a])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}recordDroppedEvent(e,n,t){if(this._options.sendClientReports){let t=`${e}:${n}`;ee.X&&X.kg.log(`Adding outcome: "${t}"`),this._outcomes[t]=this._outcomes[t]+1||1}}captureAggregateMetrics(e){ee.X&&X.kg.log(`Flushing aggregated metrics, number of metrics: ${e.length}`);let n=function(e,n,t,r){let i={sent_at:new Date().toISOString()};t&&t.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),r&&n&&(i.dsn=(0,eM.RA)(n));let o=function(e){let n=function(e){let n="";for(let t of e){let e=Object.entries(t.tags),r=e.length>0?`|#${e.map(([e,n])=>`${e}:${n}`).join(",")}`:"";n+=`${t.name}@${t.unit}:${t.metric}|${t.metricType}${r}|T${t.timestamp} `}return n}(e);return[{type:"statsd",length:n.length},n]}(e);return(0,ek.Jd)(i,[o])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(n)}on(e,n){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(n)}emit(e,...n){this._hooks[e]&&this._hooks[e].forEach(e=>e(...n))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=function(e,n){let t={};return n.forEach(n=>{n&&eo(e,n,t)}),t}(this,e),ei(this,e),this._integrationsInitialized=!0}_updateSessionFromEvent(e,n){let t=!1,r=!1,i=n.exception&&n.exception.values;if(i)for(let e of(r=!0,i)){let n=e.mechanism;if(n&&!1===n.handled){t=!0;break}}let o="ok"===e.status;(o&&0===e.errors||o&&t)&&((0,eq.CT)(e,{...t&&{status:"crashed"},errors:e.errors||Number(r||t)}),this.captureSession(e))}_isClientDoneProcessing(e){return new eF.cW(n=>{let t=0,r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),n(!0)):(t+=1,e&&t>=e&&(clearInterval(r),n(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,n,t,r=(0,et.aF)()){let i=this.getOptions(),o=Object.keys(this._integrations);return!n.integrations&&o.length>0&&(n.integrations=o),this.emit("preprocessEvent",e,n),(0,e$.R)(i,e,n,t,this,r).then(e=>{if(null===e)return e;let n={...r.getPropagationContext(),...t?t.getPropagationContext():void 0};if(!(e.contexts&&e.contexts.trace)&&n){let{traceId:r,spanId:i,parentSpanId:o,dsc:a}=n;e.contexts={trace:{trace_id:r,span_id:i,parent_span_id:o},...e.contexts};let s=a||(0,eH._)(r,this,t);e.sdkProcessingMetadata={dynamicSamplingContext:s,...e.sdkProcessingMetadata}}return e})}_captureEvent(e,n={},t){return this._processEvent(e,n,t).then(e=>e.event_id,e=>{ee.X&&("log"===e.logLevel?X.kg.log(e.message):X.kg.warn(e))})}_processEvent(e,n,t){let r=this.getOptions(),{sampleRate:i}=r,o=eW(e),a=eZ(e),s=e.type||"error",l=`before send for type \`${s}\``;if(a&&"number"==typeof i&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",e),(0,eF.$2)(new ej.b(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));let u="replay_event"===s?"replay":s,c=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,n,t,c).then(t=>{if(null===t)throw this.recordDroppedEvent("event_processor",u,e),new ej.b("An event processor returned `null`, will not send event.","log");return n.data&&!0===n.data.__sentry__?t:function(e,n){let t=`${n} must return \`null\` or a valid event.`;if((0,eD.J8)(e))return e.then(e=>{if(!(0,eD.PO)(e)&&null!==e)throw new ej.b(t);return e},e=>{throw new ej.b(`${n} rejected with ${e}`)});if(!(0,eD.PO)(e)&&null!==e)throw new ej.b(t);return e}(function(e,n,t){let{beforeSend:r,beforeSendTransaction:i}=e;return eZ(n)&&r?r(n,t):eW(n)&&i?i(n,t):n}(r,t,n),l)}).then(r=>{if(null===r)throw this.recordDroppedEvent("before_send",u,e),new ej.b(`${l} returned \`null\`, will not send event.`,"log");let i=t&&t.getSession();!o&&i&&this._updateSessionFromEvent(i,r);let a=r.transaction_info;return o&&a&&r.transaction!==e.transaction&&(r.transaction_info={...a,source:"custom"}),this.sendEvent(r,n),r}).then(null,e=>{if(e instanceof ej.b)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new ej.b(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_sendEnvelope(e){if(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)return this._transport.send(e).then(null,e=>{ee.X&&X.kg.error("Error while sending event:",e)});ee.X&&X.kg.error("Transport disabled")}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.keys(e).map(n=>{let[t,r]=n.split(":");return{reason:t,category:r,quantity:e[n]}})}}function eZ(e){return void 0===e.type}function eW(e){return"transaction"===e.type}function eQ(e){let n=(0,Y.s3)();n&&n.addEventProcessor&&n.addEventProcessor(e)}var eY=t(84282),eJ=t(55516),eX=t(23370),e0=t(32527);function e1(e){return(e||(0,et.Gd)()).getScope().getTransaction()}let e2=e0.qG,e3=!1;function e5(){let e=e1();if(e){let n="internal_error";ee.X&&X.kg.log(`[Tracing] Transaction: ${n} -> Global error occured`),e.setStatus(n)}}e5.tag="sentry_tracingErrorCallback";var e4=t(39993);function e8(e,n,t=()=>{}){var r;let i;try{i=e()}catch(e){throw n(e),t(),e}return r=i,(0,eD.J8)(r)?r.then(e=>(t(),e),e=>{throw n(e),t(),e}):(t(),r)}function e6(e,n,t=()=>{},r=()=>{}){let i=(0,et.Gd)(),o=(0,Y.nZ)(),a=o.getSpan(),s=nr(i,{parentSpan:a,spanContext:ni(e),forceTransaction:!1,scope:o});return o.setSpan(s),e8(()=>n(s),e=>{s&&s.setStatus("internal_error"),t(e,s)},()=>{s&&s.end(),o.setSpan(a),r()})}function e7(e,n){let t=ni(e);return(0,et.Ok)(()=>(0,Y.$e)(e.scope,r=>{let i=(0,et.Gd)(),o=r.getSpan(),a=e.onlyIfParent&&!o?void 0:nr(i,{parentSpan:o,spanContext:t,forceTransaction:e.forceTransaction,scope:r});return e8(()=>n(a),()=>{if(a){let{status:e}=(0,eY.XU)(a);e&&"ok"!==e||a.setStatus("internal_error")}},()=>a&&a.end())}))}function e9(e,n){let t=ni(e);return(0,et.Ok)(()=>(0,Y.$e)(e.scope,r=>{let i=(0,et.Gd)(),o=r.getSpan(),a=e.onlyIfParent&&!o?void 0:nr(i,{parentSpan:o,spanContext:t,forceTransaction:e.forceTransaction,scope:r});function s(){a&&a.end()}return e8(()=>n(a,s),()=>{if(a&&a.isRecording()){let{status:e}=(0,eY.XU)(a);e&&"ok"!==e||a.setStatus("internal_error")}})}))}function ne(e){}function nn(){return(0,Y.nZ)().getSpan()}let nt=({sentryTrace:e,baggage:n},t)=>{let r=(0,Y.nZ)(),{traceparentData:i,dynamicSamplingContext:o,propagationContext:a}=(0,e0.KA)(e,n);r.setPropagationContext(a),ee.X&&i&&X.kg.log(`[Tracing] Continuing trace ${i.traceId}.`);let s={...i,metadata:(0,Q.Jr)({dynamicSamplingContext:o})};return t?(0,et.Ok)(()=>t(s)):s};function nr(e,{parentSpan:n,spanContext:t,forceTransaction:r,scope:i}){}function ni(e){if(e.startTime){let n={...e};return n.startTimestamp=(0,eY.$k)(e.startTime),delete n.startTime,n}return e}function no(e){return i?i.get(e):void 0}function na(e){let n=no(e);if(!n)return;let t={};for(let[,[e,r]]of n)t[e]||(t[e]=[]),t[e].push((0,Q.Jr)(r));return t}var ns=t(89553);function nl(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}(O=z||(z={})).Ok="ok",O.DeadlineExceeded="deadline_exceeded",O.Unauthenticated="unauthenticated",O.PermissionDenied="permission_denied",O.NotFound="not_found",O.ResourceExhausted="resource_exhausted",O.InvalidArgument="invalid_argument",O.Unimplemented="unimplemented",O.Unavailable="unavailable",O.InternalError="internal_error",O.UnknownError="unknown_error",O.Cancelled="cancelled",O.AlreadyExists="already_exists",O.FailedPrecondition="failed_precondition",O.Aborted="aborted",O.OutOfRange="out_of_range",O.DataLoss="data_loss";let nu=nl;function nc(e,n){e.setTag("http.status_code",String(n)),e.setData("http.response.status_code",n);let t=nl(n);"unknown_error"!==t&&e.setStatus(t)}class nd{constructor(e=1e3){this._maxlen=e,this.spans=[]}add(e){this.spans.length>this._maxlen?e.spanRecorder=void 0:this.spans.push(e)}}class np{constructor(e={}){this._traceId=e.traceId||(0,J.DM)(),this._spanId=e.spanId||(0,J.DM)().substring(16),this._startTime=e.startTimestamp||(0,e4.ph)(),this.tags=e.tags?{...e.tags}:{},this.data=e.data?{...e.data}:{},this.instrumenter=e.instrumenter||"sentry",this._attributes={},this.setAttributes({[eO]:e.origin||"manual",[eN]:e.op,...e.attributes}),this._name=e.name||e.description,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.status&&(this._status=e.status),e.endTimestamp&&(this._endTime=e.endTimestamp),void 0!==e.exclusiveTime&&(this._exclusiveTime=e.exclusiveTime),this._measurements=e.measurements?{...e.measurements}:{}}get name(){return this._name||""}set name(e){this.updateName(e)}get description(){return this._name}set description(e){this._name=e}get traceId(){return this._traceId}set traceId(e){this._traceId=e}get spanId(){return this._spanId}set spanId(e){this._spanId=e}set parentSpanId(e){this._parentSpanId=e}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(e){this._sampled=e}get attributes(){return this._attributes}set attributes(e){this._attributes=e}get startTimestamp(){return this._startTime}set startTimestamp(e){this._startTime=e}get endTimestamp(){return this._endTime}set endTimestamp(e){this._endTime=e}get status(){return this._status}set status(e){this._status=e}get op(){return this._attributes[eN]}set op(e){this.setAttribute(eN,e)}get origin(){return this._attributes[eO]}set origin(e){this.setAttribute(eO,e)}spanContext(){let{_spanId:e,_traceId:n,_sampled:t}=this;return{spanId:e,traceId:n,traceFlags:t?eY.i0:eY.ve}}startChild(e){let n=new np({...e,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});n.spanRecorder=this.spanRecorder,n.spanRecorder&&n.spanRecorder.add(n);let t=(0,ns.G)(this);if(n.transaction=t,ee.X&&t){let r=e&&e.op||"< unknown op >",i=(0,eY.XU)(n).description||"< unknown name >",o=t.spanContext().spanId,a=`[Tracing] Starting '${r}' span on transaction '${i}' (${o}).`;X.kg.log(a),this._logMessage=a}return n}setTag(e,n){return this.tags={...this.tags,[e]:n},this}setData(e,n){return this.data={...this.data,[e]:n},this}setAttribute(e,n){void 0===n?delete this._attributes[e]:this._attributes[e]=n}setAttributes(e){Object.keys(e).forEach(n=>this.setAttribute(n,e[n]))}setStatus(e){return this._status=e,this}setHttpStatus(e){return nc(this,e),this}setName(e){this.updateName(e)}updateName(e){return this._name=e,this}isSuccess(){return"ok"===this._status}finish(e){return this.end(e)}end(e){if(this._endTime)return;let n=(0,ns.G)(this);if(ee.X&&n&&n.spanContext().spanId!==this._spanId){let e=this._logMessage;e&&X.kg.log(e.replace("Starting","Finishing"))}this._endTime=(0,eY.$k)(e)}toTraceparent(){return(0,eY.Hb)(this)}toContext(){return(0,Q.Jr)({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(e){return this.data=e.data||{},this._name=e.name||e.description,this._endTime=e.endTimestamp,this.op=e.op,this._parentSpanId=e.parentSpanId,this._sampled=e.sampled,this._spanId=e.spanId||this._spanId,this._startTime=e.startTimestamp||this._startTime,this._status=e.status,this.tags=e.tags||{},this._traceId=e.traceId||this._traceId,this}getTraceContext(){return(0,eY.wy)(this)}getSpanJSON(){return(0,Q.Jr)({data:this._getData(),description:this._name,op:this._attributes[eN],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[eO],_metrics_summary:na(this),profile_id:this._attributes.profile_id,exclusive_time:this._exclusiveTime,measurements:Object.keys(this._measurements).length>0?this._measurements:void 0})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){let{data:e,_attributes:n}=this,t=Object.keys(e).length>0,r=Object.keys(n).length>0;return t||r?t&&r?{...e,...n}:t?e:n:void 0}}class nh extends np{constructor(e,n){super(e),this._contexts={},this._hub=n||(0,et.Gd)(),this._name=e.name||"",this._metadata={...e.metadata},this._trimEnd=e.trimEnd,this.transaction=this;let t=this._metadata.dynamicSamplingContext;t&&(this._frozenDynamicSamplingContext={...t})}get name(){return this._name}set name(e){this.setName(e)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[eA]&&{source:this._attributes[eA]},...this._attributes[eP]&&{sampleRate:this._attributes[eP]}}}set metadata(e){this._metadata=e}setName(e,n="custom"){this._name=e,this.setAttribute(eA,n)}updateName(e){return this._name=e,this}initSpanRecorder(e=1e3){this.spanRecorder||(this.spanRecorder=new nd(e)),this.spanRecorder.add(this)}setContext(e,n){null===n?delete this._contexts[e]:this._contexts[e]=n}setMeasurement(e,n,t=""){this._measurements[e]={value:n,unit:t}}setMetadata(e){this._metadata={...this._metadata,...e}}end(e){let n=(0,eY.$k)(e),t=this._finishTransaction(n);if(t)return this._hub.captureEvent(t)}toContext(){let e=super.toContext();return(0,Q.Jr)({...e,name:this._name,trimEnd:this._trimEnd})}updateWithContext(e){return super.updateWithContext(e),this._name=e.name||"",this._trimEnd=e.trimEnd,this}getDynamicSamplingContext(){return(0,eH.j)(this)}setHub(e){this._hub=e}getProfileId(){if(void 0!==this._contexts&&void 0!==this._contexts.profile)return this._contexts.profile.profile_id}_finishTransaction(e){if(void 0!==this._endTime)return;this._name||(ee.X&&X.kg.warn("Transaction has no name, falling back to ``."),this._name=""),super.end(e);let n=this._hub.getClient();if(n&&n.emit&&n.emit("finishTransaction",this),!0!==this._sampled){ee.X&&X.kg.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),n&&n.recordDroppedEvent("sample_rate","transaction");return}let t=this.spanRecorder?this.spanRecorder.spans.filter(e=>e!==this&&(0,eY.XU)(e).timestamp):[];if(this._trimEnd&&t.length>0){let e=t.map(e=>(0,eY.XU)(e).timestamp).filter(Boolean);this._endTime=e.reduce((e,n)=>e>n?e:n)}let{scope:r,isolationScope:i}={scope:this._sentryScope,isolationScope:this._sentryIsolationScope},{metadata:o}=this,{source:a}=o,s={contexts:{...this._contexts,trace:(0,eY.wy)(this)},spans:t,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...o,capturedSpanScope:r,capturedSpanIsolationScope:i,...(0,Q.Jr)({dynamicSamplingContext:(0,eH.j)(this)})},_metrics_summary:na(this),...a&&{transaction_info:{source:a}}};return Object.keys(this._measurements).length>0&&(ee.X&&X.kg.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),s.measurements=this._measurements),ee.X&&X.kg.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),s}}let nf={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3};class nm extends nd{constructor(e,n,t,r){super(r),this._pushActivity=e,this._popActivity=n,this.transactionSpanId=t}add(e){if(e.spanContext().spanId!==this.transactionSpanId){let n=e.end;e.end=(...t)=>(this._popActivity(e.spanContext().spanId),n.apply(e,t)),void 0===(0,eY.XU)(e).timestamp&&this._pushActivity(e.spanContext().spanId)}super.add(e)}}class ng extends nh{constructor(e,n,t=nf.idleTimeout,r=nf.finalTimeout,i=nf.heartbeatInterval,o=!1,a=!1){super(e,n),this._idleHub=n,this._idleTimeout=t,this._finalTimeout=r,this._heartbeatInterval=i,this._onScope=o,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason="externalFinish",this._autoFinishAllowed=!a,o&&(ee.X&&X.kg.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),n.getScope().setSpan(this)),a||this._restartIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason="finalTimeout",this.end())},this._finalTimeout)}end(e){let n=(0,eY.$k)(e);if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setAttribute("finishReason",this._finishReason),this.spanRecorder){for(let e of(ee.X&&X.kg.log("[Tracing] finishing IdleTransaction",new Date(1e3*n).toISOString(),this.op),this._beforeFinishCallbacks))e(this,n);this.spanRecorder.spans=this.spanRecorder.spans.filter(e=>{if(e.spanContext().spanId===this.spanContext().spanId)return!0;!(0,eY.XU)(e).timestamp&&(e.setStatus("cancelled"),e.end(n),ee.X&&X.kg.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)));let{start_timestamp:t,timestamp:r}=(0,eY.XU)(e),i=t&&t{this._finished||this._pushActivity(e)},e=>{this._finished||this._popActivity(e)},this.spanContext().spanId,e),ee.X&&X.kg.log("Starting heartbeat"),this._pingHeartbeat()),this.spanRecorder.add(this)}cancelIdleTimeout(e,{restartOnChildSpanChange:n}={restartOnChildSpanChange:!0}){this._idleTimeoutCanceledPermanently=!1===n,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason="cancelled",this.end(e)))}setFinishReason(e){this._finishReason=e}sendAutoFinishSignal(){this._autoFinishAllowed||(ee.X&&X.kg.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0)}_restartIdleTimeout(e){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason="idleTimeout",this.end(e))},this._idleTimeout)}_pushActivity(e){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),ee.X&&X.kg.log(`[Tracing] pushActivity: ${e}`),this.activities[e]=!0,ee.X&&X.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(e){if(this.activities[e]&&(ee.X&&X.kg.log(`[Tracing] popActivity ${e}`),delete this.activities[e],ee.X&&X.kg.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){let e=(0,e4.ph)();this._idleTimeoutCanceledPermanently?this._autoFinishAllowed&&(this._finishReason="cancelled",this.end(e)):this._restartIdleTimeout(e+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;let e=Object.keys(this.activities).join("");e===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=e,this._heartbeatCounter>=3?this._autoFinishAllowed&&(ee.X&&X.kg.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason="heartbeatFailed",this.end()):this._pingHeartbeat()}_pingHeartbeat(){ee.X&&X.kg.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function ny(e,n,t){return e.sampled=!1,e}function n_(){let e=this.getScope().getSpan();return e?{"sentry-trace":(0,eY.Hb)(e)}:{}}function nv(e,n){var t,r,i;let o=this.getClient(),a=o&&o.getOptions()||{},s=a.instrumenter||"sentry",l=e.instrumenter||"sentry";s!==l&&(ee.X&&X.kg.error(`A transaction was started with instrumenter=\`${l}\`, but the SDK is configured with the \`${s}\` instrumenter. The transaction will not be sampled. Please use the ${s} instrumentation to start transactions.`),e.sampled=!1);let u=new nh(e,this);return(t=u,r=0,i=(e.name,e.parentSampled,e.data,e.attributes),t.sampled=!1,u=t).isRecording()&&u.initSpanRecorder(a._experiments&&a._experiments.maxSpans),o&&o.emit&&o.emit("startTransaction",u),u}function nb(e,n,t,r,i,o,a,s=!1){var l,u,c;let d=e.getClient(),p=d&&d.getOptions()||{},h=new ng(n,e,t,r,a,i,s);return(l=h,u=0,c=(n.name,n.parentSampled,n.data,n.attributes),l.sampled=!1,h=l).isRecording()&&h.initSpanRecorder(p._experiments&&p._experiments.maxSpans),d&&d.emit&&d.emit("startTransaction",h),h}function nC(){let e=(0,et.cu)();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=nv),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=n_),e3||(e3=!0,(0,eJ.V)(e5),(0,eX.h)(e5)))}var nx=t(95001),nk=t(96026);function nw(e,n,t=(0,nx.x)(e.bufferSize||30)){let r={};function i(i){let o=[];if((0,ek.gv)(i,(n,t)=>{let i=(0,ek.mL)(t);if((0,nk.Q)(r,i)){let r=nE(n,t);e.recordDroppedEvent("ratelimit_backoff",i,r)}else o.push(n)}),0===o.length)return(0,eF.WD)();let a=(0,ek.Jd)(i[0],o),s=n=>{(0,ek.gv)(a,(t,r)=>{let i=nE(t,r);e.recordDroppedEvent(n,(0,ek.mL)(r),i)})};return t.add(()=>n({body:(0,ek.V$)(a,e.textEncoder)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&ee.X&&X.kg.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=(0,nk.WG)(r,e),e),e=>{throw s("network_error"),e})).then(e=>e,e=>{if(e instanceof ej.b)return ee.X&&X.kg.error("Skipped sending event because buffer is full."),s("queue_overflow"),(0,eF.WD)();throw e})}return i.__sentry__baseTransport__=!0,{send:i,flush:e=>t.drain(e)}}function nE(e,n){if("event"===n||"transaction"===n)return Array.isArray(e)?e[1]:void 0}function nT(e,n){let t;return(0,ek.gv)(e,(e,r)=>(n.includes(r)&&(t=Array.isArray(e)?e[1]:void 0),!!t)),t}function nS(e,n){return t=>{let r=e(t),i={};function o(n,r){let o=r?`${n}:${r}`:n;if(!i[o]){let a=(0,eM.U4)(n);if(!a)return;let s=eU(a);i[o]=r?(n=>{let t=e(n);return{send:async e=>{let n=nT(e,["event","transaction","profile","replay_event"]);return n&&(n.release=r),t.send(e)},flush:e=>t.flush(e)}})({...t,url:s}):e({...t,url:s})}return i[o]}return{send:async function(e){let t=n({envelope:e,getEvent:function(n){return nT(e,n&&n.length?n:["event"])}}).map(e=>"string"==typeof e?o(e,void 0):o(e.dsn,e.release)).filter(e=>!!e);return 0===t.length&&t.push(r),(await Promise.all(t.map(n=>n.send(e))))[0]},flush:async function(e){let n=[...Object.keys(i).map(e=>i[e]),r];return(await Promise.all(n.map(n=>n.flush(e)))).every(e=>e)}}}}class nI{constructor(e){this._value=e}get weight(){return 1}add(e){this._value+=e}toString(){return`${this._value}`}}class nR{constructor(e){this._last=e,this._min=e,this._max=e,this._sum=e,this._count=1}get weight(){return 5}add(e){this._last=e,ethis._max&&(this._max=e),this._sum+=e,this._count++}toString(){return`${this._last}:${this._min}:${this._max}:${this._sum}:${this._count}`}}class nA{constructor(e){this._value=[e]}get weight(){return this._value.length}add(e){this._value.push(e)}toString(){return this._value.join(":")}}class nP{constructor(e){this.first=e,this._value=new Set([e])}get weight(){return this._value.size}add(e){this._value.add(e)}toString(){return Array.from(this._value).map(e=>"string"==typeof e?function(e){let n=0;for(let t=0;t>>0}(e):e).join(":")}}let nN={c:nI,g:nR,d:nA,s:nP};class nO{constructor(e){this._client=e,this._buckets=new Map,this._interval=setInterval(()=>this.flush(),5e3)}add(e,n,t,r="none",o={},a=(0,e4.ph)()){let s=Math.floor(a),l=n.replace(/[^\w\-.]+/gi,"_"),u=function(e){let n={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t.replace(/[^\w\-./]+/gi,"")]=[...String(e[t])].reduce((e,n)=>e+function(e){for(let[n,t]of ez)if(e===n)return t;return e}(n),""));return n}(o),c=r.replace(/[^\w]+/gi,"_"),d=function(e,n,t,r){let i=Object.entries((0,Q.Jr)(r)).sort((e,n)=>e[0].localeCompare(n[0]));return`${e}${n}${t}${i}`}(e,l,c,u),p=this._buckets.get(d),h=p&&"s"===e?p.metric.weight:0;p?(p.metric.add(t),p.timestampe);this._client.captureAggregateMetrics(e)}this._buckets.clear()}}close(){clearInterval(this._interval),this.flush()}}let nL="MetricsAggregator",nM=()=>({name:nL,setupOnce(){},setup(e){e.metricsAggregator=new nO(e)}});function nD(e,n,t,r={}){let i=(0,Y.s3)(),o=(0,Y.nZ)();if(i){if(!i.metricsAggregator){ee.X&&X.kg.warn("No metrics aggregator enabled. Please add the MetricsAggregator integration to use metrics APIs");return}let{unit:a,tags:s,timestamp:l}=r,{release:u,environment:c}=i.getOptions(),d=o.getTransaction(),p={};u&&(p.release=u),c&&(p.environment=c),d&&(p.transaction=(0,eY.XU)(d).description||""),ee.X&&X.kg.log(`Adding value of ${t} to ${e} metric ${n}`),i.metricsAggregator.add(e,n,t,a,{...p,...s},l)}}let nF={increment:function(e,n=1,t){nD("c",e,n,t)},distribution:function(e,n,t){nD("d",e,n,t)},set:function(e,n,t){nD("s",e,n,t)},gauge:function(e,n,t){nD("g",e,n,t)},MetricsAggregator:es(nL,nM),metricsAggregatorIntegration:nM};function nj(e,...n){let t=new String(String.raw(e,...n));return t.__sentry_template_string__=e.join("\0").replace(/%/g,"%%").replace(/\0/g,"%s"),t.__sentry_template_values__=n,t}function nB(e){let n=(0,et.Gd)().getStackTop();n.client=e,n.scope.setClient(e)}function nU(e,n,t){let r=e1();r&&r.setMeasurement(e,n,t)}let nK=ew.GLOBAL_OBJ,nz=0;function nq(e,n={},t){if("function"!=typeof e)return e;try{let n=e.__sentry_wrapped__;if(n)return n;if((0,Q.HK)(e))return e}catch(n){return e}let r=function(){let r=Array.prototype.slice.call(arguments);try{t&&"function"==typeof t&&t.apply(this,arguments);let i=r.map(e=>nq(e,n));return e.apply(this,i)}catch(e){throw nz++,setTimeout(()=>{nz--}),(0,Y.$e)(t=>{t.addEventProcessor(e=>(n.mechanism&&((0,J.Db)(e,void 0,void 0),(0,J.EG)(e,n.mechanism)),e.extra={...e.extra,arguments:r},e)),(0,Y.Tb)(e)}),e}};try{for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n])}catch(e){}(0,Q.$Q)(r,e),(0,Q.xp)(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(e){}return r}var nH=t(69736),n$=t(36532),nV=t(81254);function nG(e,n){let t=nW(e,n),r={type:n&&n.name,value:function(e){let n=e&&e.message;return n?n.error&&"string"==typeof n.error.message?n.error.message:n:"No error message"}(n)};return t.length&&(r.stacktrace={frames:t}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function nZ(e,n){return{exception:{values:[nG(e,n)]}}}function nW(e,n){let t=n.stacktrace||n.stack||"",r=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(nQ.test(e.message))return 1}return 0}(n);try{return e(t,r)}catch(e){}return[]}let nQ=/Minified React error #\d+;/i;function nY(e,n,t,r){let i=nX(e,n,t&&t.syntheticException||void 0,r);return(0,J.EG)(i),i.level="error",t&&t.event_id&&(i.event_id=t.event_id),(0,eF.WD)(i)}function nJ(e,n,t="info",r,i){let o=n0(e,n,r&&r.syntheticException||void 0,i);return o.level=t,r&&r.event_id&&(o.event_id=r.event_id),(0,eF.WD)(o)}function nX(e,n,t,r,i){let o;if((0,eD.VW)(n)&&n.error)return nZ(e,n.error);if((0,eD.TX)(n)||(0,eD.fm)(n)){if("stack"in n)o=nZ(e,n);else{let i=n.name||((0,eD.TX)(n)?"DOMError":"DOMException"),a=n.message?`${i}: ${n.message}`:i;o=n0(e,a,t,r),(0,J.Db)(o,a)}return"code"in n&&(o.tags={...o.tags,"DOMException.code":`${n.code}`}),o}return(0,eD.VZ)(n)?nZ(e,n):((0,eD.PO)(n)||(0,eD.cO)(n)?o=function(e,n,t,r){let i=(0,Y.s3)(),o=i&&i.getOptions().normalizeDepth,a={exception:{values:[{type:(0,eD.cO)(n)?n.constructor.name:r?"UnhandledRejection":"Error",value:function(e,{isUnhandledRejection:n}){let t=(0,Q.zf)(e),r=n?"promise rejection":"exception";if((0,eD.VW)(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if((0,eD.cO)(e)){let n=function(e){try{let n=Object.getPrototypeOf(e);return n?n.constructor.name:void 0}catch(e){}}(e);return`Event \`${n}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${t}`}(n,{isUnhandledRejection:r})}]},extra:{__serialized__:(0,nV.Qy)(n,o)}};if(t){let n=nW(e,t);n.length&&(a.exception.values[0].stacktrace={frames:n})}return a}(e,n,t,i):(o=n0(e,n,t,r),(0,J.Db)(o,`${n}`,void 0)),(0,J.EG)(o,{synthetic:!0}),o)}function n0(e,n,t,r){let i={};if(r&&t){let r=nW(e,t);r.length&&(i.exception={values:[{value:n,stacktrace:{frames:r}}]})}if((0,eD.Le)(n)){let{__sentry_template_string__:e,__sentry_template_values__:t}=n;return i.logentry={message:e,params:t},i}return i.message=n,i}function n1(e,{metadata:n,tunnel:t,dsn:r}){let i={event_id:e.event_id,sent_at:new Date().toISOString(),...n&&n.sdk&&{sdk:{name:n.sdk.name,version:n.sdk.version}},...!!t&&!!r&&{dsn:(0,eM.RA)(r)}};return(0,ek.Jd)(i,[[{type:"user_report"},e]])}class n2 extends eG{constructor(e){W(e,"browser",["browser"],nK.SENTRY_SDK_SOURCE||(0,nH.S)()),super(e),e.sendClientReports&&nK.document&&nK.document.addEventListener("visibilitychange",()=>{"hidden"===nK.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,n){return nY(this._options.stackParser,e,n,this._options.attachStacktrace)}eventFromMessage(e,n="info",t){return nJ(this._options.stackParser,e,n,t,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return;let n=n1(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(n)}_prepareEvent(e,n,t){return e.platform=e.platform||"javascript",super._prepareEvent(e,n,t)}_flushOutcomes(){let e=this._clearOutcomes();if(0===e.length||!this._dsn)return;let n=(0,n$.y)(e,this._options.tunnel&&(0,eM.RA)(this._dsn));this._sendEnvelope(n)}}var n3=t(11599);function n5(e,n=function(){if(A)return A;if((0,n3.Du)(nK.fetch))return A=nK.fetch.bind(nK);let e=nK.document,n=nK.fetch;if(e&&"function"==typeof e.createElement)try{let t=e.createElement("iframe");t.hidden=!0,e.head.appendChild(t);let r=t.contentWindow;r&&r.fetch&&(n=r.fetch),e.head.removeChild(t)}catch(e){}return A=n.bind(nK)}()){let t=0,r=0;return nw(e,function(i){let o=i.body.length;t+=o,r++;let a={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:t<=6e4&&r<15,...e.fetchOptions};try{return n(e.url,a).then(e=>(t-=o,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return A=void 0,t-=o,r--,(0,eF.$2)(e)}})}function n4(e){return nw(e,function(n){return new eF.cW((t,r)=>{let i=new XMLHttpRequest;for(let n in i.onerror=r,i.onreadystatechange=()=>{4===i.readyState&&t({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",e.url),e.headers)Object.prototype.hasOwnProperty.call(e.headers,n)&&i.setRequestHeader(n,e.headers[n]);i.send(n.body)})})}var n8=t(90159);function n6(e,n,t,r){let i={filename:e,function:n,in_app:!0};return void 0!==t&&(i.lineno=t),void 0!==r&&(i.colno=r),i}let n7=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,n9=/\((\S*)(?::(\d+))(?::(\d+))\)/,te=[30,e=>{let n=n7.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){let e=n9.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}let[e,t]=tp(n[1]||"?",n[2]);return n6(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],tn=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,tt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,tr=[50,e=>{let n=tn.exec(e);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){let e=tt.exec(n[3]);e&&(n[1]=n[1]||"eval",n[3]=e[1],n[4]=e[2],n[5]="")}let e=n[3],t=n[1]||"?";return[t,e]=tp(t,e),n6(e,t,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}}],ti=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,to=[40,e=>{let n=ti.exec(e);return n?n6(n[2],n[1]||"?",+n[3],n[4]?+n[4]:void 0):void 0}],ta=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,ts=[10,e=>{let n=ta.exec(e);return n?n6(n[2],n[3]||"?",+n[1]):void 0}],tl=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,tu=[20,e=>{let n=tl.exec(e);return n?n6(n[5],n[3]||n[4]||"?",+n[1],+n[2]):void 0}],tc=[te,tr,to],td=(0,n8.pE)(...tc),tp=(e,n)=>{let t=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return t||r?[-1!==e.indexOf("@")?e.split("@")[0]:"?",t?`safari-extension:${n}`:`safari-web-extension:${n}`]:[e,n]};var th=t(93914),tf=t(79048),tm=t(43135),tg=t(172),ty=t(26154),t_=t(33370),tv=t(93936),tb=t(92319);let tC="Breadcrumbs",tx=(e={})=>{let n={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:tC,setupOnce(){},setup(e){var t;n.console&&(0,tf.e)(function(n){if((0,Y.s3)()!==e)return;let t={category:"console",data:{arguments:n.args,logger:"console"},level:(0,tv.VT)(n.level),message:(0,ep.nK)(n.args," ")};if("assert"===n.level){if(!1!==n.args[0])return;t.message=`Assertion failed: ${(0,ep.nK)(n.args.slice(1)," ")||"console.assert"}`,t.data.arguments=n.args.slice(1)}(0,Y.n_)(t,{input:n.args,level:n.level})}),n.dom&&(0,tm.O)((t=n.dom,function(n){let r,i;if((0,Y.s3)()!==e)return;let o="object"==typeof t?t.serializeAttribute:void 0,a="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>1024&&(a=1024),"string"==typeof o&&(o=[o]);try{let e=n.event,t=e&&e.target?e.target:e;r=(0,t_.Rt)(t,{keyAttrs:o,maxStringLength:a}),i=(0,t_.iY)(t)}catch(e){r=""}if(0===r.length)return;let s={category:`ui.${n.name}`,message:r};i&&(s.data={"ui.component_name":i}),(0,Y.n_)(s,{event:n.event,name:n.name,global:n.global})})),n.xhr&&(0,tg.UK)(function(n){if((0,Y.s3)()!==e)return;let{startTimestamp:t,endTimestamp:r}=n,i=n.xhr[tg.xU];if(!t||!r||!i)return;let{method:o,url:a,status_code:s,body:l}=i,u={xhr:n.xhr,input:l,startTimestamp:t,endTimestamp:r};(0,Y.n_)({category:"xhr",data:{method:o,url:a,status_code:s},type:"http"},u)}),n.fetch&&(0,ty.U)(function(n){if((0,Y.s3)()!==e)return;let{startTimestamp:t,endTimestamp:r}=n;if(!(!r||n.fetchData.url.match(/sentry_key/)&&"POST"===n.fetchData.method)){if(n.error){let e=n.fetchData,i={data:n.error,input:n.args,startTimestamp:t,endTimestamp:r};(0,Y.n_)({category:"fetch",data:e,level:"error",type:"http"},i)}else{let e=n.response,i={...n.fetchData,status_code:e&&e.status},o={input:n.args,response:e,startTimestamp:t,endTimestamp:r};(0,Y.n_)({category:"fetch",data:i,type:"http"},o)}}}),n.history&&(0,th.a)(function(n){if((0,Y.s3)()!==e)return;let t=n.from,r=n.to,i=(0,tb.en)(nK.location.href),o=t?(0,tb.en)(t):void 0,a=(0,tb.en)(r);o&&o.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),i.protocol===o.protocol&&i.host===o.host&&(t=o.relative),(0,Y.n_)({category:"navigation",data:{from:t,to:r}})}),n.sentry&&e.on&&e.on("beforeSendEvent",function(n){(0,Y.s3)()===e&&(0,Y.n_)({category:`sentry.${"transaction"===n.type?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:(0,J.jH)(n)},{event:n})})}}},tk=es(tC,tx),tw="Dedupe",tE=()=>{let e;return{name:tw,setupOnce(){},processEvent(n){if(n.type)return n;try{var t;if((t=e)&&(function(e,n){let t=e.message,r=n.message;return!!((t||r)&&(!t||r)&&(t||!r)&&t===r&&tI(e,n)&&tS(e,n))}(n,t)||function(e,n){let t=tR(n),r=tR(e);return!!(t&&r&&t.type===r.type&&t.value===r.value&&tI(e,n)&&tS(e,n))}(n,t)))return null}catch(e){}return e=n}}},tT=es(tw,tE);function tS(e,n){let t=tA(e),r=tA(n);if(!t&&!r)return!0;if(t&&!r||!t&&r||r.length!==t.length)return!1;for(let e=0;e{let n={onerror:!0,onunhandledrejection:!0,...e};return{name:tP,setupOnce(){Error.stackTraceLimit=50},setup(e){n.onerror&&(0,eJ.V)(n=>{let{stackParser:t,attachStacktrace:r}=tM();if((0,Y.s3)()!==e||nz>0)return;let{msg:i,url:o,line:a,column:s,error:l}=n,u=void 0===l&&(0,eD.HD)(i)?function(e,n,t,r){let i=(0,eD.VW)(e)?e.message:e,o="Error",a=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return a&&(o=a[1],i=a[2]),tL({exception:{values:[{type:o,value:i}]}},n,t,r)}(i,o,a,s):tL(nX(t,l||i,void 0,r,!1),o,a,s);u.level="error",(0,Y.eN)(u,{originalException:l,mechanism:{handled:!1,type:"onerror"}})}),n.onunhandledrejection&&(0,eX.h)(n=>{let{stackParser:t,attachStacktrace:r}=tM();if((0,Y.s3)()!==e||nz>0)return;let i=function(e){if((0,eD.pt)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(n),o=(0,eD.pt)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:nX(t,i,void 0,r,!0);o.level="error",(0,Y.eN)(o,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})})}}},tO=es(tP,tN);function tL(e,n,t,r){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=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(t,10))?void 0:t,d=(0,eD.HD)(n)&&n.length>0?n:(0,t_.l4)();return 0===l.length&&l.push({colno:u,filename:d,function:"?",in_app:!0,lineno:c}),e}function tM(){let e=(0,Y.s3)();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let tD="HttpContext",tF=()=>({name:tD,setupOnce(){},preprocessEvent(e){if(!nK.navigator&&!nK.location&&!nK.document)return;let n=e.request&&e.request.url||nK.location&&nK.location.href,{referrer:t}=nK.document||{},{userAgent:r}=nK.navigator||{},i={...e.request&&e.request.headers,...t&&{Referer:t},...r&&{"User-Agent":r}},o={...e.request,...n&&{url:n},headers:i};e.request=o}}),tj=es(tD,tF),tB="LinkedErrors",tU=(e={})=>{let n=e.limit||5,t=e.key||"cause";return{name:tB,setupOnce(){},preprocessEvent(e,r,i){let o=i.getOptions();(0,ev.Z)(nG,o.stackParser,o.maxValueLength,t,n,e,r)}}},tK=es(tB,tU),tz=["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"],tq="TryCatch",tH=(e={})=>{let n={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:tq,setupOnce(){n.setTimeout&&(0,Q.hl)(nK,"setTimeout",tV),n.setInterval&&(0,Q.hl)(nK,"setInterval",tV),n.requestAnimationFrame&&(0,Q.hl)(nK,"requestAnimationFrame",tG),n.XMLHttpRequest&&"XMLHttpRequest"in nK&&(0,Q.hl)(XMLHttpRequest.prototype,"send",tZ);let e=n.eventTarget;e&&(Array.isArray(e)?e:tz).forEach(tW)}}},t$=es(tq,tH);function tV(e){return function(...n){let t=n[0];return n[0]=nq(t,{mechanism:{data:{function:(0,n8.$P)(e)},handled:!1,type:"instrument"}}),e.apply(this,n)}}function tG(e){return function(n){return e.apply(this,[nq(n,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,n8.$P)(e)},handled:!1,type:"instrument"}})])}}function tZ(e){return function(...n){let t=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in t&&"function"==typeof t[e]&&(0,Q.hl)(t,e,function(n){let t={mechanism:{data:{function:e,handler:(0,n8.$P)(n)},handled:!1,type:"instrument"}},r=(0,Q.HK)(n);return r&&(t.mechanism.data.handler=(0,n8.$P)(r)),nq(n,t)})}),e.apply(this,n)}}function tW(e){let n=nK[e]&&nK[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,Q.hl)(n,"addEventListener",function(n){return function(t,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=nq(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,n8.$P)(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return n.apply(this,[t,nq(r,{mechanism:{data:{function:"addEventListener",handler:(0,n8.$P)(r),target:e},handled:!1,type:"instrument"}}),i])}}),(0,Q.hl)(n,"removeEventListener",function(e){return function(n,t,r){try{let i=t&&t.__sentry_wrapped__;i&&e.call(this,n,i,r)}catch(e){}return e.call(this,n,t,r)}}))}let tQ=[eg(),ec(),tH(),tx(),tN(),tU(),tE(),tF()];function tY(e){return[...tQ]}let tJ=(e={},n=(0,et.Gd)())=>{if(!nK.document)return;let{client:t,scope:r}=n.getStackTop(),i=e.dsn||t&&t.getDsn();if(!i)return;r&&(e.user={...r.getUser(),...e.user}),e.eventId||(e.eventId=n.lastEventId());let o=nK.document.createElement("script");o.async=!0,o.crossOrigin="anonymous",o.src=function(e,n){let t=(0,eM.vK)(e);if(!t)return"";let r=`${eB(t)}embed/error-page/`,i=`dsn=${(0,eM.RA)(t)}`;for(let e in n)if("dsn"!==e&&"onClose"!==e){if("user"===e){let e=n.user;if(!e)continue;e.name&&(i+=`&name=${encodeURIComponent(e.name)}`),e.email&&(i+=`&email=${encodeURIComponent(e.email)}`)}else i+=`&${encodeURIComponent(e)}=${encodeURIComponent(n[e])}`}return`${r}?${i}`}(i,e),e.onLoad&&(o.onload=e.onLoad);let{onClose:a}=e;if(a){let e=n=>{if("__sentry_reportdialog_closed__"===n.data)try{a()}finally{nK.removeEventListener("message",e)}};nK.addEventListener("message",e)}let s=nK.document.head||nK.document.body;s&&s.appendChild(o)};function tX(){}function t0(e){e()}function t1(e){return nq(e)()}function t2(e){let n=(0,Y.s3)();n&&n.captureUserFeedback(e)}var t3=t(96857),t5=t(52588);function t4(e,n){let t=n&&void 0!==n.getClient?n.getClient():n,r=t&&t.getDsn(),i=t&&t.getOptions().tunnel;return!!r&&e.includes(r.host)||!!i&&t8(e)===t8(i)}function t8(e){return"/"===e[e.length-1]?e.slice(0,-1):e}var t6=t(95e3);let t7=(e,n,t)=>{let r,i;return o=>{n.value>=0&&(o||t)&&((i=n.value-(r||0))||void 0===r)&&(r=n.value,n.delta=i,e(n))}},t9=ew.GLOBAL_OBJ,re=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,rn=()=>{let e=t9.performance.timing,n=t9.performance.navigation.type,t={entryType:"navigation",startTime:0,type:2==n?"back_forward":1===n?"reload":"navigate"};for(let n in e)"navigationStart"!==n&&"toJSON"!==n&&(t[n]=Math.max(e[n]-e.navigationStart,0));return t},rt=()=>t9.__WEB_VITALS_POLYFILL__?t9.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||rn()):t9.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],rr=()=>{let e=rt();return e&&e.activationStart||0},ri=(e,n)=>{let t=rt(),r="navigate";return t&&(r=t9.document&&t9.document.prerendering||rr()>0?"prerender":t.type.replace(/_/g,"-")),{name:e,value:void 0===n?-1:n,rating:"good",delta:0,entries:[],id:re(),navigationType:r}},ro=(e,n,t)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{n(e.getEntries())});return r.observe(Object.assign({type:e,buffered:!0},t||{})),r}}catch(e){}},ra=(e,n)=>{let t=r=>{("pagehide"===r.type||"hidden"===t9.document.visibilityState)&&(e(r),n&&(removeEventListener("visibilitychange",t,!0),removeEventListener("pagehide",t,!0)))};t9.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},rs=e=>{let n;let t=ri("CLS",0),r=0,i=[],o=e=>{e.forEach(e=>{if(!e.hadRecentInput){let o=i[0],a=i[i.length-1];r&&0!==i.length&&e.startTime-a.startTime<1e3&&e.startTime-o.startTime<5e3?(r+=e.value,i.push(e)):(r=e.value,i=[e]),r>t.value&&(t.value=r,t.entries=i,n&&n())}})},a=ro("layout-shift",o);if(a){n=t7(e,t);let r=()=>{o(a.takeRecords()),n(!0)};return ra(r),r}},rl=-1,ru=()=>{t9.document&&t9.document.visibilityState&&(rl="hidden"!==t9.document.visibilityState||t9.document.prerendering?1/0:0)},rc=()=>{ra(({timeStamp:e})=>{rl=e},!0)},rd=()=>(rl<0&&(ru(),rc()),{get firstHiddenTime(){return rl}}),rp=e=>{let n;let t=rd(),r=ri("FID"),i=e=>{e.startTime{e.forEach(i)},a=ro("first-input",o);n=t7(e,r),a&&ra(()=>{o(a.takeRecords()),a.disconnect()},!0)},rh=0,rf=1/0,rm=0,rg=e=>{e.forEach(e=>{e.interactionId&&(rf=Math.min(rf,e.interactionId),rh=(rm=Math.max(rm,e.interactionId))?(rm-rf)/7+1:0)})},ry=()=>o?rh:performance.interactionCount||0,r_=()=>{"interactionCount"in performance||o||(o=ro("event",rg,{type:"event",buffered:!0,durationThreshold:0}))},rv=()=>ry(),rb=[],rC={},rx=e=>{let n=rb[rb.length-1],t=rC[e.interactionId];if(t||rb.length<10||e.duration>n.latency){if(t)t.entries.push(e),t.latency=Math.max(t.latency,e.duration);else{let n={id:e.interactionId,latency:e.duration,entries:[e]};rC[n.id]=n,rb.push(n)}rb.sort((e,n)=>n.latency-e.latency),rb.splice(10).forEach(e=>{delete rC[e.id]})}},rk=()=>{let e=Math.min(rb.length-1,Math.floor(rv()/50));return rb[e]},rw=(e,n)=>{let t;n=n||{},r_();let r=ri("INP"),i=e=>{e.forEach(e=>{e.interactionId&&rx(e),"first-input"!==e.entryType||rb.some(n=>n.entries.some(n=>e.duration===n.duration&&e.startTime===n.startTime))||rx(e)});let n=rk();n&&n.latency!==r.value&&(r.value=n.latency,r.entries=n.entries,t())},o=ro("event",i,{durationThreshold:n.durationThreshold||40});t=t7(e,r,n.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),ra(()=>{i(o.takeRecords()),r.value<0&&rv()>0&&(r.value=0,r.entries=[]),t(!0)}))},rE={},rT=e=>{let n;let t=rd(),r=ri("LCP"),i=e=>{let i=e[e.length-1];if(i){let e=Math.max(i.startTime-rr(),0);e{rE[r.id]||(i(o.takeRecords()),o.disconnect(),rE[r.id]=!0,n(!0))};return["keydown","click"].forEach(e=>{t9.document&&addEventListener(e,t,{once:!0,capture:!0})}),ra(t,!0),t}},rS=e=>{t9.document&&(t9.document.prerendering?addEventListener("prerenderingchange",()=>rS(e),!0):"complete"!==t9.document.readyState?addEventListener("load",()=>rS(e),!0):setTimeout(e,0))},rI=(e,n)=>{n=n||{};let t=ri("TTFB"),r=t7(e,t,n.reportAllChanges);rS(()=>{let e=rt();if(e){if(t.value=Math.max(e.responseStart-rr(),0),t.value<0||t.value>performance.now())return;t.entries=[e],r(!0)}})},rR={},rA={};function rP(e,n=!1){return rB("lcp",e,rD,l,n)}function rN(e,n){return rU(e,n),rA[e]||(function(e){let n={};"event"===e&&(n.durationThreshold=0),ro(e,n=>{rO(e,{entries:n})},n)}(e),rA[e]=!0),rK(e,n)}function rO(e,n){let t=rR[e];if(t&&t.length)for(let e of t)try{e(n)}catch(e){}}function rL(){return rs(e=>{rO("cls",{metric:e}),a=e})}function rM(){return rp(e=>{rO("fid",{metric:e}),s=e})}function rD(){return rT(e=>{rO("lcp",{metric:e}),l=e})}function rF(){return rI(e=>{rO("ttfb",{metric:e}),u=e})}function rj(){return rw(e=>{rO("inp",{metric:e}),c=e})}function rB(e,n,t,r,i=!1){let o;return rU(e,n),rA[e]||(o=t(),rA[e]=!0),r&&n({metric:r}),rK(e,n,i?o:void 0)}function rU(e,n){rR[e]=rR[e]||[],rR[e].push(n)}function rK(e,n,t){return()=>{t&&t();let r=rR[e];if(!r)return;let i=r.indexOf(n);-1!==i&&r.splice(i,1)}}let rz=ew.GLOBAL_OBJ,rq="sentryReplaySession",rH="Unable to send Replay";function r$(e){let n;let t=e[0],r=1;for(;rt.call(n,...e)),n=void 0)}return t}function rV(e){let n=r$([e,"optionalAccess",e=>e.host]);return r$([n,"optionalAccess",e=>e.shadowRoot])===e}function rG(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function rZ(e){try{var n;let t=e.rules||e.cssRules;return t?((n=Array.from(t,rW).join("")).includes(" background-clip: text;")&&!n.includes(" -webkit-background-clip: text;")&&(n=n.replace(" background-clip: text;"," -webkit-background-clip: text; background-clip: text;")),n):null}catch(e){return null}}function rW(e){let n;if("styleSheet"in e)try{n=rZ(e.styleSheet)||function(e){let{cssText:n}=e;if(n.split('"').length<3)return n;let t=["@import",`url(${JSON.stringify(e.href)})`];return""===e.layerName?t.push("layer"):e.layerName&&t.push(`layer(${e.layerName})`),e.supportsText&&t.push(`supports(${e.supportsText})`),e.media.length&&t.push(e.media.mediaText),t.join(" ")+";"}(e)}catch(e){}else if("selectorText"in e&&e.selectorText.includes(":"))return e.cssText.replace(/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,"$1\\$2");return n||e.cssText}(L=q||(q={}))[L.Document=0]="Document",L[L.DocumentType=1]="DocumentType",L[L.Element=2]="Element",L[L.Text=3]="Text",L[L.CDATA=4]="CDATA",L[L.Comment=5]="Comment";class rQ{constructor(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}getId(e){var n;return e?(()=>-1,null!=(n=r$([this,"access",e=>e.getMeta,"call",n=>n(e),"optionalAccess",e=>e.id]))?n:-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 n=this.getId(e);this.idNodeMap.delete(n),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,n){let t=n.id;this.idNodeMap.set(t,e),this.nodeMetaMap.set(e,n)}replace(e,n){let t=this.getNode(e);if(t){let e=this.nodeMetaMap.get(t);e&&this.nodeMetaMap.set(n,e)}this.idNodeMap.set(e,n)}reset(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap}}function rY({maskInputOptions:e,tagName:n,type:t}){return"OPTION"===n&&(n="SELECT"),!!(e[n.toLowerCase()]||t&&e[t]||"password"===t||"INPUT"===n&&!t&&e.text)}function rJ({isMasked:e,element:n,value:t,maskInputFn:r}){let i=t||"";return e?(r&&(i=r(i,n)),"*".repeat(i.length)):i}function rX(e){return e.toLowerCase()}function r0(e){return e.toUpperCase()}let r1="__rrweb_original__";function r2(e){let n=e.type;return e.hasAttribute("data-rr-is-password")?"password":n?rX(n):null}function r3(e,n,t){return"INPUT"===n&&("radio"===t||"checkbox"===t)?e.getAttribute("value")||"":e.value}let r5=1,r4=RegExp("[^a-z0-9-_:]");function r8(){return r5++}let r6=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,r7=/^(?:[a-z+]+:)?\/\//i,r9=/^www\..*/i,ie=/^(data:)([^,]*),(.*)/i;function it(e,n){return(e||"").replace(r6,(e,t,r,i,o,a)=>{let s=r||o||a,l=t||i||"";if(!s)return e;if(r7.test(s)||r9.test(s)||ie.test(s))return`url(${l}${s}${l})`;if("/"===s[0])return`url(${l}${(n.indexOf("//")>-1?n.split("/").slice(0,3).join("/"):n.split("/")[0]).split("?")[0]+s}${l})`;let u=n.split("/"),c=s.split("/");for(let e of(u.pop(),c))"."!==e&&(".."===e?u.pop():u.push(e));return`url(${l}${u.join("/")}${l})`})}let ir=/^[^ \t\n\r\u000c]+/,ii=/^[, \t\n\r\u000c]+/;function io(e,n){if(!n||""===n.trim())return n;let t=e.createElement("a");return t.href=n,t.href}function ia(){let e=document.createElement("a");return e.href="",e.href}function is(e,n,t,r,i,o){return r?"src"!==t&&("href"!==t||"use"===n&&"#"===r[0])&&("xlink:href"!==t||"#"===r[0])&&("background"!==t||"table"!==n&&"td"!==n&&"th"!==n)?"srcset"===t?function(e,n){if(""===n.trim())return n;let t=0;function r(e){let r;let i=e.exec(n.substring(t));return i?(r=i[0],t+=r.length,r):""}let i=[];for(;r(ii),!(t>=n.length);){let o=r(ir);if(","===o.slice(-1))o=io(e,o.substring(0,o.length-1)),i.push(o);else{let r="";o=io(e,o);let a=!1;for(;;){let e=n.charAt(t);if(""===e){i.push((o+r).trim());break}if(a)")"===e&&(a=!1);else{if(","===e){t+=1,i.push((o+r).trim());break}"("===e&&(a=!0)}r+=e,t+=1}}}return i.join(", ")}(e,r):"style"===t?it(r,ia()):"object"===n&&"data"===t?io(e,r):"function"==typeof o?o(t,r,i):r:io(e,r):r}function il(e,n,t){return("video"===e||"audio"===e)&&"autoplay"===n}function iu(e,n,t=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>t?-1:n(e)?r:iu(e.parentNode,n,t,r+1)}function ic(e,n){return t=>{if(null===t)return!1;try{if(e){if("string"==typeof e){if(t.matches(`.${e}`))return!0}else if(function(e,n){for(let t=e.classList.length;t--;){let r=e.classList[t];if(n.test(r))return!0}return!1}(t,e))return!0}if(n&&t.matches(n))return!0;return!1}catch(e){return!1}}}function id(e,n,t,r,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=iu(a,ic(r,i)))<0)return!0;s=iu(a,ic(n,t),l>=0?l:1/0)}else{if((s=iu(a,ic(n,t)))<0)return!1;l=iu(a,ic(r,i),s>=0?s:1/0)}return s>=0?!(l>=0)||s<=l:!(l>=0)&&!!o}catch(e){}return!!o}function ip(e){return null==e?"":e.toLowerCase()}function ih(e,n){let t;let{doc:r,mirror:i,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:h,unmaskTextSelector:f,skipChild:m=!1,inlineStylesheet:g=!0,maskInputOptions:y={},maskAttributeFn:_,maskTextFn:v,maskInputFn:b,slimDOMOptions:C,dataURLOptions:x={},inlineImages:k=!1,recordCanvas:w=!1,onSerialize:E,onIframeLoad:T,iframeLoadTimeout:S=5e3,onStylesheetLoad:I,stylesheetLoadTimeout:R=5e3,keepIframeSrcFn:A=()=>!1,newlyAddedElement:P=!1}=n,{preserveWhiteSpace:N=!0}=n,O=function(e,n){let{doc:t,mirror:r,blockClass:i,blockSelector:o,unblockSelector:a,maskAllText:s,maskAttributeFn:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:h,unmaskTextSelector:f,inlineStylesheet:m,maskInputOptions:g={},maskTextFn:y,maskInputFn:_,dataURLOptions:v={},inlineImages:b,recordCanvas:C,keepIframeSrcFn:x,newlyAddedElement:k=!1}=n,w=function(e,n){if(!n.hasNode(e))return;let t=n.getId(e);return 1===t?void 0:t}(t,r);switch(e.nodeType){case e.DOCUMENT_NODE:if("CSS1Compat"!==e.compatMode)return{type:q.Document,childNodes:[],compatMode:e.compatMode};return{type:q.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:q.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:w};case e.ELEMENT_NODE:return function(e,n){let t;let{doc:r,blockClass:i,blockSelector:o,unblockSelector:a,inlineStylesheet:s,maskInputOptions:l={},maskAttributeFn:u,maskInputFn:c,dataURLOptions:h={},inlineImages:f,recordCanvas:m,keepIframeSrcFn:g,newlyAddedElement:y=!1,rootId:_,maskAllText:v,maskTextClass:b,unmaskTextClass:C,maskTextSelector:x,unmaskTextSelector:k}=n,w=function(e,n,t,r){try{if(r&&e.matches(r))return!1;if("string"==typeof n){if(e.classList.contains(n))return!0}else for(let t=e.classList.length;t--;){let r=e.classList[t];if(n.test(r))return!0}if(t)return e.matches(t)}catch(e){}return!1}(e,i,o,a),E=function(e){if(e instanceof HTMLFormElement)return"form";let n=rX(e.tagName);return r4.test(n)?"div":n}(e),T={},S=e.attributes.length;for(let n=0;nn.href===e.href),t=null;n&&(t=rZ(n)),t&&(delete T.rel,delete T.href,T._cssText=it(t,n.href))}if("style"===E&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){let n=rZ(e.sheet);n&&(T._cssText=it(n,ia()))}if("input"===E||"textarea"===E||"select"===E||"option"===E){let n=r2(e),t=r3(e,r0(E),n),r=e.checked;if("submit"!==n&&"button"!==n&&t){let r=id(e,b,x,C,k,rY({type:n,tagName:r0(E),maskInputOptions:l}));T.value=rJ({isMasked:r,element:e,value:t,maskInputFn:c})}r&&(T.checked=r)}if("option"===E&&(e.selected&&!l.select?T.selected=!0:delete T.selected),"canvas"===E&&m){if("2d"===e.__context)!function(e){let n=e.getContext("2d");if(!n)return!0;for(let t=0;t0!==e))return!1}return!0}(e)&&(T.rr_dataURL=e.toDataURL(h.type,h.quality));else if(!("__context"in e)){let n=e.toDataURL(h.type,h.quality),t=document.createElement("canvas");t.width=e.width,t.height=e.height,n!==t.toDataURL(h.type,h.quality)&&(T.rr_dataURL=n)}}if("img"===E&&f){d||(p=(d=r.createElement("canvas")).getContext("2d"));let n=e.crossOrigin;e.crossOrigin="anonymous";let t=()=>{e.removeEventListener("load",t);try{d.width=e.naturalWidth,d.height=e.naturalHeight,p.drawImage(e,0,0),T.rr_dataURL=d.toDataURL(h.type,h.quality)}catch(n){console.warn(`Cannot inline img src=${e.currentSrc}! Error: ${n}`)}n?T.crossOrigin=n:e.removeAttribute("crossorigin")};e.complete&&0!==e.naturalWidth?t():e.addEventListener("load",t)}if(("audio"===E||"video"===E)&&(T.rr_mediaState=e.paused?"paused":"played",T.rr_mediaCurrentTime=e.currentTime),!y&&(e.scrollLeft&&(T.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(T.rr_scrollTop=e.scrollTop)),w){let{width:n,height:t}=e.getBoundingClientRect();T={class:T.class,rr_width:`${n}px`,rr_height:`${t}px`}}"iframe"!==E||g(T.src)||(e.contentDocument||(T.rr_src=T.src),delete T.src);try{customElements.get(E)&&(t=!0)}catch(e){}return{type:q.Element,tagName:E,attributes:T,childNodes:[],isSVG:!!("svg"===e.tagName||e.ownerSVGElement)||void 0,needBlock:w,rootId:_,isCustom:t}}(e,{doc:t,blockClass:i,blockSelector:o,unblockSelector:a,inlineStylesheet:m,maskAttributeFn:l,maskInputOptions:g,maskInputFn:_,dataURLOptions:v,inlineImages:b,recordCanvas:C,keepIframeSrcFn:x,newlyAddedElement:k,rootId:w,maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:h,unmaskTextSelector:f});case e.TEXT_NODE:return function(e,n){let{maskAllText:t,maskTextClass:r,unmaskTextClass:i,maskTextSelector:o,unmaskTextSelector:a,maskTextFn:s,maskInputOptions:l,maskInputFn:u,rootId:c}=n,d=e.parentNode&&e.parentNode.tagName,p=e.textContent,h="STYLE"===d||void 0,f="SCRIPT"===d||void 0,m="TEXTAREA"===d||void 0;if(h&&p){try{e.nextSibling||e.previousSibling||r$([e,"access",e=>e.parentNode,"access",e=>e.sheet,"optionalAccess",e=>e.cssRules])&&(p=rZ(e.parentNode.sheet))}catch(n){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${n}`,e)}p=it(p,ia())}f&&(p="SCRIPT_PLACEHOLDER");let g=id(e,r,o,i,a,t);return h||f||m||!p||!g||(p=s?s(p):p.replace(/[\S]/g,"*")),m&&p&&(l.textarea||g)&&(p=u?u(p,e.parentNode):p.replace(/[\S]/g,"*")),"OPTION"===d&&p&&(p=rJ({isMasked:id(e,r,o,i,a,rY({type:null,tagName:d,maskInputOptions:l})),element:e,value:p,maskInputFn:u})),{type:q.Text,textContent:p||"",isStyle:h,rootId:c}}(e,{maskAllText:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:h,unmaskTextSelector:f,maskTextFn:y,maskInputOptions:g,maskInputFn:_,rootId:w});case e.CDATA_SECTION_NODE:return{type:q.CDATA,textContent:"",rootId:w};case e.COMMENT_NODE:return{type:q.Comment,textContent:e.textContent||"",rootId:w};default:return!1}}(e,{doc:r,mirror:i,blockClass:o,blockSelector:a,maskAllText:l,unblockSelector:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:h,unmaskTextSelector:f,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:_,maskTextFn:v,maskInputFn:b,dataURLOptions:x,inlineImages:k,recordCanvas:w,keepIframeSrcFn:A,newlyAddedElement:P});if(!O)return console.warn(e,"not serialized"),null;t=i.hasNode(e)?i.getId(e):!function(e,n){if(n.comment&&e.type===q.Comment)return!0;if(e.type===q.Element){if(n.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&e.attributes.href.endsWith(".js"))||n.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(ip(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===ip(e.attributes.name)||"icon"===ip(e.attributes.rel)||"apple-touch-icon"===ip(e.attributes.rel)||"shortcut icon"===ip(e.attributes.rel))))return!0;if("meta"===e.tagName){if(n.headMetaDescKeywords&&ip(e.attributes.name).match(/^description|keywords$/)||n.headMetaSocial&&(ip(e.attributes.property).match(/^(og|twitter|fb):/)||ip(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===ip(e.attributes.name)))return!0;if(n.headMetaRobots&&("robots"===ip(e.attributes.name)||"googlebot"===ip(e.attributes.name)||"bingbot"===ip(e.attributes.name)))return!0;if(n.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;else if(n.headMetaAuthorship&&("author"===ip(e.attributes.name)||"generator"===ip(e.attributes.name)||"framework"===ip(e.attributes.name)||"publisher"===ip(e.attributes.name)||"progid"===ip(e.attributes.name)||ip(e.attributes.property).match(/^article:/)||ip(e.attributes.property).match(/^product:/)))return!0;else if(n.headMetaVerification&&("google-site-verification"===ip(e.attributes.name)||"yandex-verification"===ip(e.attributes.name)||"csrf-token"===ip(e.attributes.name)||"p:domain_verify"===ip(e.attributes.name)||"verify-v1"===ip(e.attributes.name)||"verification"===ip(e.attributes.name)||"shopify-checkout-api-token"===ip(e.attributes.name)))return!0}}return!1}(O,C)&&(N||O.type!==q.Text||O.isStyle||O.textContent.replace(/^\s+|\s+$/gm,"").length)?r8():-2;let L=Object.assign(O,{id:t});if(i.add(e,L),-2===t)return null;E&&E(e);let M=!m;if(L.type===q.Element){M=M&&!L.needBlock,delete L.needBlock;let n=e.shadowRoot;n&&rG(n)&&(L.isShadowHost=!0)}if((L.type===q.Document||L.type===q.Element)&&M){C.headWhitespace&&L.type===q.Element&&"head"===L.tagName&&(N=!1);let n={doc:r,mirror:i,blockClass:o,blockSelector:a,maskAllText:l,unblockSelector:s,maskTextClass:u,unmaskTextClass:c,maskTextSelector:h,unmaskTextSelector:f,skipChild:m,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:_,maskTextFn:v,maskInputFn:b,slimDOMOptions:C,dataURLOptions:x,inlineImages:k,recordCanvas:w,preserveWhiteSpace:N,onSerialize:E,onIframeLoad:T,iframeLoadTimeout:S,onStylesheetLoad:I,stylesheetLoadTimeout:R,keepIframeSrcFn:A};for(let t of Array.from(e.childNodes)){let e=ih(t,n);e&&L.childNodes.push(e)}if(e.nodeType===e.ELEMENT_NODE&&e.shadowRoot)for(let t of Array.from(e.shadowRoot.childNodes)){let r=ih(t,n);r&&(rG(e.shadowRoot)&&(r.isShadow=!0),L.childNodes.push(r))}}return e.parentNode&&rV(e.parentNode)&&rG(e.parentNode)&&(L.isShadow=!0),L.type===q.Element&&"iframe"===L.tagName&&function(e,n,t){let r;let i=e.contentWindow;if(!i)return;let o=!1;try{r=i.document.readyState}catch(e){return}if("complete"!==r){let r=setTimeout(()=>{o||(n(),o=!0)},t);e.addEventListener("load",()=>{clearTimeout(r),o=!0,n()});return}let a="about:blank";if(i.location.href!==a||e.src===a||""===e.src)return setTimeout(n,0),e.addEventListener("load",n);e.addEventListener("load",n)}(e,()=>{let n=e.contentDocument;if(n&&T){let t=ih(n,{doc:n,mirror:i,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:h,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:_,maskTextFn:v,maskInputFn:b,slimDOMOptions:C,dataURLOptions:x,inlineImages:k,recordCanvas:w,preserveWhiteSpace:N,onSerialize:E,onIframeLoad:T,iframeLoadTimeout:S,onStylesheetLoad:I,stylesheetLoadTimeout:R,keepIframeSrcFn:A});t&&T(e,t)}},S),L.type===q.Element&&"link"===L.tagName&&"stylesheet"===L.attributes.rel&&function(e,n,t){let r,i=!1;try{r=e.sheet}catch(e){return}if(r)return;let o=setTimeout(()=>{i||(n(),i=!0)},t);e.addEventListener("load",()=>{clearTimeout(o),i=!0,n()})}(e,()=>{if(I){let n=ih(e,{doc:r,mirror:i,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:l,maskTextClass:u,unmaskTextClass:c,maskTextSelector:h,unmaskTextSelector:f,skipChild:!1,inlineStylesheet:g,maskInputOptions:y,maskAttributeFn:_,maskTextFn:v,maskInputFn:b,slimDOMOptions:C,dataURLOptions:x,inlineImages:k,recordCanvas:w,preserveWhiteSpace:N,onSerialize:E,onIframeLoad:T,iframeLoadTimeout:S,onStylesheetLoad:I,stylesheetLoadTimeout:R,keepIframeSrcFn:A});n&&I(e,n)}},R),L}function im(e){let n;let t=e[0],r=1;for(;rt.call(n,...e)),n=void 0)}return t}function ig(e,n,t=document){let r={capture:!0,passive:!0};return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)}let iy="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.",i_={map:{},getId:()=>(console.error(iy),-1),getNode:()=>(console.error(iy),null),removeNodeFromMap(){console.error(iy)},has:()=>(console.error(iy),!1),reset(){console.error(iy)}};function iv(e,n,t={}){let r=null,i=0;return function(...o){let a=Date.now();i||!1!==t.leading||(i=a);let s=n-(a-i),l=this;s<=0||s>n?(r&&(clearTimeout(r),r=null),i=a,e.apply(l,o)):r||!1===t.trailing||(r=setTimeout(()=>{i=!1===t.leading?0:Date.now(),r=null,e.apply(l,o)},s))}}function ib(e,n,t){try{if(!(n in e))return()=>{};let r=e[n],i=t(r);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[n]=i,()=>{e[n]=r}}catch(e){return()=>{}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(i_=new Proxy(i_,{get:(e,n,t)=>("map"===n&&console.error(iy),Reflect.get(e,n,t))}));let iC=Date.now;function ix(e){let n=e.document;return{left:n.scrollingElement?n.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:im([n,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollLeft])||im([n,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollLeft])||im([n,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollLeft])||0,top:n.scrollingElement?n.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:im([n,"optionalAccess",e=>e.documentElement,"access",e=>e.scrollTop])||im([n,"optionalAccess",e=>e.body,"optionalAccess",e=>e.parentElement,"optionalAccess",e=>e.scrollTop])||im([n,"optionalAccess",e=>e.body,"optionalAccess",e=>e.scrollTop])||0}}function ik(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function iw(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function iE(e,n,t,r,i){if(!e)return!1;let o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(!o)return!1;let a=ic(n,t);if(!i){let e=r&&o.matches(r);return a(o)&&!e}let s=iu(o,a),l=-1;return!(s<0)&&(r&&(l=iu(o,ic(null,r))),s>-1&&l<0||se.shadowRoot])}/[1-9][0-9]{12}/.test(Date.now().toString())||(iC=()=>new Date().getTime());class iP{constructor(){this.id=1,this.styleIDMap=new WeakMap,this.idStyleMap=new Map}getId(e){return(0,t3.h)(this.styleIDMap.get(e),()=>-1)}has(e){return this.styleIDMap.has(e)}add(e,n){let t;return this.has(e)?this.getId(e):(t=void 0===n?this.id++:n,this.styleIDMap.set(e,t),this.idStyleMap.set(t,e),t)}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 iN(e){let n=null;return im([e,"access",e=>e.getRootNode,"optionalCall",e=>e(),"optionalAccess",e=>e.nodeType])===Node.DOCUMENT_FRAGMENT_NODE&&e.getRootNode().host&&(n=e.getRootNode().host),n}var iO=((M=iO||{})[M.DomContentLoaded=0]="DomContentLoaded",M[M.Load=1]="Load",M[M.FullSnapshot=2]="FullSnapshot",M[M.IncrementalSnapshot=3]="IncrementalSnapshot",M[M.Meta=4]="Meta",M[M.Custom=5]="Custom",M[M.Plugin=6]="Plugin",M),iL=((D=iL||{})[D.Mutation=0]="Mutation",D[D.MouseMove=1]="MouseMove",D[D.MouseInteraction=2]="MouseInteraction",D[D.Scroll=3]="Scroll",D[D.ViewportResize=4]="ViewportResize",D[D.Input=5]="Input",D[D.TouchMove=6]="TouchMove",D[D.MediaInteraction=7]="MediaInteraction",D[D.StyleSheetRule=8]="StyleSheetRule",D[D.CanvasMutation=9]="CanvasMutation",D[D.Font=10]="Font",D[D.Log=11]="Log",D[D.Drag=12]="Drag",D[D.StyleDeclaration=13]="StyleDeclaration",D[D.Selection=14]="Selection",D[D.AdoptedStyleSheet=15]="AdoptedStyleSheet",D[D.CustomElement=16]="CustomElement",D),iM=((F=iM||{})[F.MouseUp=0]="MouseUp",F[F.MouseDown=1]="MouseDown",F[F.Click=2]="Click",F[F.ContextMenu=3]="ContextMenu",F[F.DblClick=4]="DblClick",F[F.Focus=5]="Focus",F[F.Blur=6]="Blur",F[F.TouchStart=7]="TouchStart",F[F.TouchMove_Departed=8]="TouchMove_Departed",F[F.TouchEnd=9]="TouchEnd",F[F.TouchCancel=10]="TouchCancel",F),iD=((j=iD||{})[j.Mouse=0]="Mouse",j[j.Pen=1]="Pen",j[j.Touch=2]="Touch",j);class iF{constructor(){this.length=0,this.head=null,this.tail=null}get(e){if(e>=this.length)throw Error("Position outside of list range");let n=this.head;for(let t=0;tt.call(n,...e)),n=void 0)}return t}([n,"optionalAccess",e=>e.next])||null;return n}addNode(e){let n={value:e,previous:null,next:null};if(e.__ln=n,e.previousSibling&&"__ln"in e.previousSibling){let t=e.previousSibling.__ln.next;n.next=t,n.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=n,t&&(t.previous=n)}else if(e.nextSibling&&"__ln"in e.nextSibling&&e.nextSibling.__ln.previous){let t=e.nextSibling.__ln.previous;n.previous=t,n.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=n,t&&(t.next=n)}else this.head&&(this.head.previous=n),n.next=this.head,this.head=n;null===n.next&&(this.tail=n),this.length++}removeNode(e){let n=e.__ln;this.head&&(n.previous?(n.previous.next=n.next,n.next?n.next.previous=n.previous:this.tail=n.previous):(this.head=n.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)}}let ij=(e,n)=>`${e}@${n}`;class iB{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;let e=[],n=new Set,t=new iF,r=e=>{let n=e,t=-2;for(;-2===t;)t=(n=n&&n.nextSibling)&&this.mirror.getId(n);return t},i=i=>{if(!i.parentNode||!function(e){let n=e.ownerDocument;return!!n&&(n.contains(e)||function(e){let n=e.ownerDocument;if(!n)return!1;let t=function(e){let n,t=e;for(;n=iN(t);)t=n;return t}(e);return n.contains(t)}(e))}(i))return;let o=rV(i.parentNode)?this.mirror.getId(iN(i)):this.mirror.getId(i.parentNode),a=r(i);if(-1===o||-1===a)return t.addNode(i);let s=ih(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=>{iI(e,this.mirror)&&this.iframeManager.addIframe(e),iR(e,this.mirror)&&this.stylesheetManager.trackLinkElement(e),iA(i)&&this.shadowDomManager.addShadowRoot(i.shadowRoot,this.doc)},onIframeLoad:(e,n)=>{this.iframeManager.attachIframe(e,n),this.shadowDomManager.observeAttachShadow(e)},onStylesheetLoad:(e,n)=>{this.stylesheetManager.attachLinkElement(e,n)}});s&&(e.push({parentId:o,nextId:a,node:s}),n.add(s.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(let e of this.movedSet)(!iK(this.removes,e,this.mirror)||this.movedSet.has(e.parentNode))&&i(e);for(let e of this.addedSet)iz(this.droppedSet,e)||iK(this.removes,e,this.mirror)?iz(this.movedSet,e)?i(e):this.droppedSet.add(e):i(e);let o=null;for(;t.length;){let e=null;if(o){let n=this.mirror.getId(o.value.parentNode),t=r(o.value);-1!==n&&-1!==t&&(e=o)}if(!e){let n=t.tail;for(;n;){let t=n;if(n=n.previous,t){let n=this.mirror.getId(t.value.parentNode);if(-1===r(t.value))continue;if(-1!==n){e=t;break}{let n=t.value;if(n.parentNode&&n.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let r=n.parentNode.host;if(-1!==this.mirror.getId(r)){e=t;break}}}}}}if(!e){for(;t.head;)t.removeNode(t.head.value);break}o=e.previous,t.removeNode(e.value),i(e.value)}let a={texts:this.texts.map(e=>({id:this.mirror.getId(e.node),value:e.value})).filter(e=>!n.has(e.id)).filter(e=>this.mirror.has(e.id)),attributes:this.attributes.map(e=>{let{attributes:n}=e;if("string"==typeof n.style){let t=JSON.stringify(e.styleDiff),r=JSON.stringify(e._unchangedStyles);t.length!n.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.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(a))},this.processMutation=e=>{let n;if(!iT(e.target,this.mirror)){try{n=document.implementation.createHTMLDocument()}catch(e){n=this.doc}switch(e.type){case"characterData":{let n=e.target.textContent;iE(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||n===e.oldValue||this.texts.push({value:id(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,this.maskAllText)&&n?this.maskTextFn?this.maskTextFn(n):n.replace(/[\S]/g,"*"):n,node:e.target});break}case"attributes":{let t=e.target,r=e.attributeName,i=e.target.getAttribute(r);if("value"===r){let n=r2(t),r=t.tagName;i=r3(t,r,n);let o=rY({maskInputOptions:this.maskInputOptions,tagName:r,type:n});i=rJ({isMasked:id(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextClass,this.unmaskTextSelector,o),element:t,value:i,maskInputFn:this.maskInputFn})}if(iE(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||i===e.oldValue)return;let o=this.attributes.find(n=>n.node===e.target);if("IFRAME"===t.tagName&&"src"===r&&!this.keepIframeSrcFn(i)){if(t.contentDocument)return;r="rr_src"}if(o||(o={node:e.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(o)),"type"===r&&"INPUT"===t.tagName&&"password"===(e.oldValue||"").toLowerCase()&&t.setAttribute("data-rr-is-password","true"),!il(t.tagName,r)&&(o.attributes[r]=is(this.doc,rX(t.tagName),rX(r),i,t,this.maskAttributeFn),"style"===r)){let r=n.createElement("span");for(let n of(e.oldValue&&r.setAttribute("style",e.oldValue),Array.from(t.style))){let e=t.style.getPropertyValue(n),i=t.style.getPropertyPriority(n);e!==r.style.getPropertyValue(n)||i!==r.style.getPropertyPriority(n)?""===i?o.styleDiff[n]=e:o.styleDiff[n]=[e,i]:o._unchangedStyles[n]=[e,i]}for(let e of Array.from(r.style))""===t.style.getPropertyValue(e)&&(o.styleDiff[e]=!1)}break}case"childList":if(iE(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!0))return;e.addedNodes.forEach(n=>this.genAdds(n,e.target)),e.removedNodes.forEach(n=>{let t=this.mirror.getId(n),r=rV(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);iE(e.target,this.blockClass,this.blockSelector,this.unblockSelector,!1)||iT(n,this.mirror)||-1===this.mirror.getId(n)||(this.addedSet.has(n)?(iU(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(e.target)&&-1===t||function e(n,t){if(rV(n))return!1;let r=t.getId(n);return!t.has(r)||(!n.parentNode||n.parentNode.nodeType!==n.DOCUMENT_NODE)&&(!n.parentNode||e(n.parentNode,t))}(e.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[ij(t,r)]?iU(this.movedSet,n):this.removes.push({parentId:r,id:t,isShadow:!!(rV(e.target)&&rG(e.target))||void 0})),this.mapRemoves.push(n))})}}},this.genAdds=(e,n)=>{if(!this.processedNodeManager.inOtherBuffer(e,this)&&!(this.addedSet.has(e)||this.movedSet.has(e))){if(this.mirror.hasNode(e)){if(iT(e,this.mirror))return;this.movedSet.add(e);let t=null;n&&this.mirror.hasNode(n)&&(t=this.mirror.getId(n)),t&&-1!==t&&(this.movedMap[ij(this.mirror.getId(e),t)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);!iE(e,this.blockClass,this.blockSelector,this.unblockSelector,!1)&&(e.childNodes.forEach(e=>this.genAdds(e)),iA(e)&&e.shadowRoot.childNodes.forEach(n=>{this.processedNodeManager.add(n,this),this.genAdds(n,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"].forEach(n=>{this[n]=e[n]})}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 iU(e,n){e.delete(n),n.childNodes.forEach(n=>iU(e,n))}function iK(e,n,t){return 0!==e.length&&function e(n,t,r){let{parentNode:i}=t;if(!i)return!1;let o=r.getId(i);return!!n.some(e=>e.id===o)||e(n,i,r)}(e,n,t)}function iz(e,n){return 0!==e.size&&function e(n,t){let{parentNode:r}=t;return!!r&&(!!n.has(r)||e(n,r))}(e,n)}let iq=e=>f?(...n)=>{try{return e(...n)}catch(e){if(f&&!0===f(e))return()=>{};throw e}}:e;function iH(e){let n;let t=e[0],r=1;for(;rt.call(n,...e)),n=void 0)}return t}let i$=[];function iV(e){try{if("composedPath"in e){let n=e.composedPath();if(n.length)return n[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}let iG=["INPUT","TEXTAREA","SELECT"],iZ=new WeakMap;function iW(e){var n;return n=[],iJ("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||iJ("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||iJ("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||iJ("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule?n.unshift(Array.from(e.parentRule.cssRules).indexOf(e)):e.parentStyleSheet&&n.unshift(Array.from(e.parentStyleSheet.cssRules).indexOf(e)),n}function iQ(e,n,t){let r,i;return e?(e.ownerNode?r=n.getId(e.ownerNode):i=t.getId(e),{styleId:i,id:r}):{}}function iY(e,n={}){let t=e.doc.defaultView;if(!t)return()=>{};let r=function(e,n){let t=new iB;i$.push(t),t.init(e);let r=window.MutationObserver||window.__rrMutationObserver,i=iH([window,"optionalAccess",e=>e.Zone,"optionalAccess",e=>e.__symbol__,"optionalCall",e=>e("MutationObserver")]);i&&window[i]&&(r=window[i]);let o=new r(iq(n=>{e.onMutation&&!1===e.onMutation(n)||t.processMutations.bind(t)(n)}));return o.observe(n,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),o}(e,e.doc),i=function({mousemoveCb:e,sampling:n,doc:t,mirror:r}){let i;if(!1===n.mousemove)return()=>{};let o="number"==typeof n.mousemove?n.mousemove:50,a="number"==typeof n.mousemoveCallback?n.mousemoveCallback:500,s=[],l=iv(iq(n=>{let t=Date.now()-i;e(s.map(e=>(e.timeOffset-=t,e)),n),s=[],i=null}),a),u=iq(iv(iq(e=>{let n=iV(e),{clientX:t,clientY:o}=iS(e)?e.changedTouches[0]:e;i||(i=iC()),s.push({x:t,y:o,id:r.getId(n),timeOffset:iC()-i}),l("undefined"!=typeof DragEvent&&e instanceof DragEvent?iL.Drag:e instanceof MouseEvent?iL.MouseMove:iL.TouchMove)}),o,{trailing:!1})),c=[ig("mousemove",u,t),ig("touchmove",u,t),ig("drag",u,t)];return iq(()=>{c.forEach(e=>e())})}(e),o=function({mouseInteractionCb:e,doc:n,mirror:t,blockClass:r,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,c=n=>a=>{let s=iV(a);if(iE(s,r,i,o,!0))return;let l=null,c=n;if("pointerType"in a){switch(a.pointerType){case"mouse":l=iD.Mouse;break;case"touch":l=iD.Touch;break;case"pen":l=iD.Pen}l===iD.Touch?iM[n]===iM.MouseDown?c="TouchStart":iM[n]===iM.MouseUp&&(c="TouchEnd"):iD.Pen}else iS(a)&&(l=iD.Touch);null!==l?(u=l,(c.startsWith("Touch")&&l===iD.Touch||c.startsWith("Mouse")&&l===iD.Mouse)&&(l=null)):iM[n]===iM.Click&&(l=u,u=null);let d=iS(a)?a.changedTouches[0]:a;if(!d)return;let p=t.getId(s),{clientX:h,clientY:f}=d;iq(e)({type:iM[c],id:p,x:h,y:f,...null!==l&&{pointerType:l}})};return Object.keys(iM).filter(e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]).forEach(e=>{let t=rX(e),r=c(e);if(window.PointerEvent)switch(iM[e]){case iM.MouseDown:case iM.MouseUp:t=t.replace("mouse","pointer");break;case iM.TouchStart:case iM.TouchEnd:return}l.push(ig(t,r,n))}),iq(()=>{l.forEach(e=>e())})}(e),a=function({scrollCb:e,doc:n,mirror:t,blockClass:r,blockSelector:i,unblockSelector:o,sampling:a}){return ig("scroll",iq(iv(iq(a=>{let s=iV(a);if(!s||iE(s,r,i,o,!0))return;let l=t.getId(s);if(s===n&&n.defaultView){let t=ix(n.defaultView);e({id:l,x:t.left,y:t.top})}else e({id:l,x:s.scrollLeft,y:s.scrollTop})}),a.scroll||100)),n)}(e),s=function({viewportResizeCb:e},{win:n}){let t=-1,r=-1;return ig("resize",iq(iv(iq(()=>{let n=ik(),i=iw();(t!==n||r!==i)&&(e({width:Number(i),height:Number(n)}),t=n,r=i)}),200)),n)}(e,{win:t}),l=function({inputCb:e,doc:n,mirror:t,blockClass:r,blockSelector:i,unblockSelector:o,ignoreClass:a,ignoreSelector:s,maskInputOptions:l,maskInputFn:u,sampling:c,userTriggeredOnInput:d,maskTextClass:p,unmaskTextClass:h,maskTextSelector:f,unmaskTextSelector:m}){function g(e){let t=iV(e),c=e.isTrusted,g=t&&r0(t.tagName);if("OPTION"===g&&(t=t.parentElement),!t||!g||0>iG.indexOf(g)||iE(t,r,i,o,!0))return;let _=t;if(_.classList.contains(a)||s&&_.matches(s))return;let v=r2(t),b=r3(_,g,v),C=!1,x=rY({maskInputOptions:l,tagName:g,type:v}),k=id(t,p,f,h,m,x);("radio"===v||"checkbox"===v)&&(C=t.checked),b=rJ({isMasked:k,element:t,value:b,maskInputFn:u}),y(t,d?{text:b,isChecked:C,userTriggered:c}:{text:b,isChecked:C});let w=t.name;"radio"===v&&w&&C&&n.querySelectorAll(`input[type="radio"][name="${w}"]`).forEach(e=>{if(e!==t){let n=rJ({isMasked:k,element:e,value:r3(e,g,v),maskInputFn:u});y(e,d?{text:n,isChecked:!C,userTriggered:!1}:{text:n,isChecked:!C})}})}function y(n,r){let i=iZ.get(n);if(!i||i.text!==r.text||i.isChecked!==r.isChecked){iZ.set(n,r);let i=t.getId(n);iq(e)({...r,id:i})}}let _=("last"===c.input?["change"]:["input","change"]).map(e=>ig(e,iq(g),n)),v=n.defaultView;if(!v)return()=>{_.forEach(e=>e())};let b=v.Object.getOwnPropertyDescriptor(v.HTMLInputElement.prototype,"value"),C=[[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&&_.push(...C.map(e=>(function e(n,t,r,i,o=window){let a=o.Object.getOwnPropertyDescriptor(n,t);return o.Object.defineProperty(n,t,i?r:{set(e){setTimeout(()=>{r.set.call(this,e)},0),a&&a.set&&a.set.call(this,e)}}),()=>e(n,t,a||{},!0)})(e[0],e[1],{set(){iq(g)({target:this,isTrusted:!1})}},!1,v))),iq(()=>{_.forEach(e=>e())})}(e),u=function({mediaInteractionCb:e,blockClass:n,blockSelector:t,unblockSelector:r,mirror:i,sampling:o,doc:a}){let s=iq(a=>iv(iq(o=>{let s=iV(o);if(!s||iE(s,n,t,r,!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=[ig("play",s(0),a),ig("pause",s(1),a),ig("seeked",s(2),a),ig("volumechange",s(3),a),ig("ratechange",s(4),a)];return iq(()=>{l.forEach(e=>e())})}(e),c=function({styleSheetRuleCb:e,mirror:n,stylesheetManager:t},{win:r}){let i,o;if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};let a=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:iq((r,i,o)=>{let[a,s]=o,{id:l,styleId:u}=iQ(i,n,t.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:a,index:s}]}),r.apply(i,o)})});let s=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:iq((r,i,o)=>{let[a]=o,{id:s,styleId:l}=iQ(i,n,t.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:a}]}),r.apply(i,o)})}),r.CSSStyleSheet.prototype.replace&&(i=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:iq((r,i,o)=>{let[a]=o,{id:s,styleId:l}=iQ(i,n,t.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replace:a}),r.apply(i,o)})})),r.CSSStyleSheet.prototype.replaceSync&&(o=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(o,{apply:iq((r,i,o)=>{let[a]=o,{id:s,styleId:l}=iQ(i,n,t.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,replaceSync:a}),r.apply(i,o)})}));let l={};iX("CSSGroupingRule")?l.CSSGroupingRule=r.CSSGroupingRule:(iX("CSSMediaRule")&&(l.CSSMediaRule=r.CSSMediaRule),iX("CSSConditionRule")&&(l.CSSConditionRule=r.CSSConditionRule),iX("CSSSupportsRule")&&(l.CSSSupportsRule=r.CSSSupportsRule));let u={};return Object.entries(l).forEach(([r,i])=>{u[r]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(u[r].insertRule,{apply:iq((r,i,o)=>{let[a,s]=o,{id:l,styleId:u}=iQ(i.parentStyleSheet,n,t.styleMirror);return(l&&-1!==l||u&&-1!==u)&&e({id:l,styleId:u,adds:[{rule:a,index:[...iW(i),s||0]}]}),r.apply(i,o)})}),i.prototype.deleteRule=new Proxy(u[r].deleteRule,{apply:iq((r,i,o)=>{let[a]=o,{id:s,styleId:l}=iQ(i.parentStyleSheet,n,t.styleMirror);return(s&&-1!==s||l&&-1!==l)&&e({id:s,styleId:l,removes:[{index:[...iW(i),a]}]}),r.apply(i,o)})})}),iq(()=>{r.CSSStyleSheet.prototype.insertRule=a,r.CSSStyleSheet.prototype.deleteRule=s,i&&(r.CSSStyleSheet.prototype.replace=i),o&&(r.CSSStyleSheet.prototype.replaceSync=o),Object.entries(l).forEach(([e,n])=>{n.prototype.insertRule=u[e].insertRule,n.prototype.deleteRule=u[e].deleteRule})})}(e,{win:t}),d=function({mirror:e,stylesheetManager:n},t){let r=null;r="#document"===t.nodeName?e.getId(t):e.getId(t.host);let i="#document"===t.nodeName?iH([t,"access",e=>e.defaultView,"optionalAccess",e=>e.Document]):iH([t,"access",e=>e.ownerDocument,"optionalAccess",e=>e.defaultView,"optionalAccess",e=>e.ShadowRoot]),o=iH([i,"optionalAccess",e=>e.prototype])?Object.getOwnPropertyDescriptor(iH([i,"optionalAccess",e=>e.prototype]),"adoptedStyleSheets"):void 0;return null!==r&&-1!==r&&i&&o?(Object.defineProperty(t,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get(){return iH([o,"access",e=>e.get,"optionalAccess",e=>e.call,"call",e=>e(this)])},set(e){let t=iH([o,"access",e=>e.set,"optionalAccess",e=>e.call,"call",n=>n(this,e)]);if(null!==r&&-1!==r)try{n.adoptStyleSheets(e,r)}catch(e){}return t}}),iq(()=>{Object.defineProperty(t,"adoptedStyleSheets",{configurable:o.configurable,enumerable:o.enumerable,get:o.get,set:o.set})})):()=>{}}(e,e.doc),p=function({styleDeclarationCb:e,mirror:n,ignoreCSSAttributes:t,stylesheetManager:r},{win:i}){let o=i.CSSStyleDeclaration.prototype.setProperty;i.CSSStyleDeclaration.prototype.setProperty=new Proxy(o,{apply:iq((i,a,s)=>{let[l,u,c]=s;if(t.has(l))return o.apply(a,[l,u,c]);let{id:d,styleId:p}=iQ(iH([a,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),n,r.styleMirror);return(d&&-1!==d||p&&-1!==p)&&e({id:d,styleId:p,set:{property:l,value:u,priority:c},index:iW(a.parentRule)}),i.apply(a,s)})});let a=i.CSSStyleDeclaration.prototype.removeProperty;return i.CSSStyleDeclaration.prototype.removeProperty=new Proxy(a,{apply:iq((i,o,s)=>{let[l]=s;if(t.has(l))return a.apply(o,[l]);let{id:u,styleId:c}=iQ(iH([o,"access",e=>e.parentRule,"optionalAccess",e=>e.parentStyleSheet]),n,r.styleMirror);return(u&&-1!==u||c&&-1!==c)&&e({id:u,styleId:c,remove:{property:l},index:iW(o.parentRule)}),i.apply(o,s)})}),iq(()=>{i.CSSStyleDeclaration.prototype.setProperty=o,i.CSSStyleDeclaration.prototype.removeProperty=a})}(e,{win:t}),h=e.collectFonts?function({fontCb:e,doc:n}){let t=n.defaultView;if(!t)return()=>{};let r=[],i=new WeakMap,o=t.FontFace;t.FontFace=function(e,n,t){let r=new o(e,n,t);return i.set(r,{family:e,buffer:"string"!=typeof n,descriptors:t,fontSource:"string"==typeof n?n:JSON.stringify(Array.from(new Uint8Array(n)))}),r};let a=ib(n.fonts,"add",function(n){return function(t){return setTimeout(iq(()=>{let n=i.get(t);n&&(e(n),i.delete(t))}),0),n.apply(this,[t])}});return r.push(()=>{t.FontFace=o}),r.push(a),iq(()=>{r.forEach(e=>e())})}(e):()=>{},f=function(e){let{doc:n,mirror:t,blockClass:r,blockSelector:i,unblockSelector:o,selectionCb:a}=e,s=!0,l=iq(()=>{let e=n.getSelection();if(!e||s&&iH([e,"optionalAccess",e=>e.isCollapsed]))return;s=e.isCollapsed||!1;let l=[],u=e.rangeCount||0;for(let n=0;n{}}(e),g=[];for(let n of e.plugins)g.push(n.observer(n.callback,t,n.options));return iq(()=>{i$.forEach(e=>e.reset()),r.disconnect(),i(),o(),a(),s(),l(),u(),c(),d(),p(),h(),f(),m(),g.forEach(e=>e())})}function iJ(e){return void 0!==window[e]}function iX(e){return!!(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class i0{constructor(e){this.generateIdFn=e,this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap}getId(e,n,t,r){let i=t||this.getIdToRemoteIdMap(e),o=r||this.getRemoteIdToIdMap(e),a=i.get(n);return a||(a=this.generateIdFn(),i.set(n,a),o.set(a,n)),a}getIds(e,n){let t=this.getIdToRemoteIdMap(e),r=this.getRemoteIdToIdMap(e);return n.map(n=>this.getId(e,n,t,r))}getRemoteId(e,n,t){let r=t||this.getRemoteIdToIdMap(e);return"number"!=typeof n?n:r.get(n)||-1}getRemoteIds(e,n){let t=this.getRemoteIdToIdMap(e);return n.map(n=>this.getRemoteId(e,n,t))}reset(e){if(!e){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)}getIdToRemoteIdMap(e){let n=this.iframeIdToRemoteIdMap.get(e);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(e,n)),n}getRemoteIdToIdMap(e){let n=this.iframeRemoteIdToIdMap.get(e);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(e,n)),n}}class i1{constructor(){this.crossOriginIframeMirror=new i0(r8),this.crossOriginIframeRootIdMap=new WeakMap}addIframe(){}addLoadListener(){}attachIframe(){}}class i2{init(){}addShadowRoot(){}observeAttachShadow(){}reset(){}}class i3{reset(){}freeze(){}unfreeze(){}lock(){}unlock(){}snapshot(){}}class i5{constructor(e){this.trackedLinkElements=new WeakSet,this.styleMirror=new iP,this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}attachLinkElement(e,n){"_cssText"in n.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(e)}trackLinkElement(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))}adoptStyleSheets(e,n){if(0===e.length)return;let t={id:n,styleIds:[]},r=[];for(let n of e){let e;this.styleMirror.has(n)?e=this.styleMirror.getId(n):(e=this.styleMirror.add(n),r.push({styleId:e,rules:Array.from(n.rules||CSSRule,(e,n)=>({rule:rW(e),index:n}))})),t.styleIds.push(e)}r.length>0&&(t.styles=r),this.adoptedStyleSheetCb(t)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(e){}}class i4{constructor(){this.nodeMap=new WeakMap,this.loop=!0,this.periodicallyClear()}periodicallyClear(){!function(...e){(function(){if(h)return h;let e=window.document,n=window.requestAnimationFrame;if(e&&"function"==typeof e.createElement)try{let t=e.createElement("iframe");t.hidden=!0,e.head.appendChild(t);let r=t.contentWindow;r&&r.requestAnimationFrame&&(n=r.requestAnimationFrame),e.head.removeChild(t)}catch(e){}return h=n.bind(window)})()(...e)}(()=>{this.clear(),this.loop&&this.periodicallyClear()})}inOtherBuffer(e,n){let t=this.nodeMap.get(e);return t&&Array.from(t).some(e=>e!==n)}add(e,n){this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(n))}clear(){this.nodeMap=new WeakMap}destroy(){this.loop=!1}}function i8(e){return e.timestamp=iC(),e}let i6=new rQ;function i7(e={}){let n;let{emit:t,checkoutEveryNms:r,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:p=null,maskTextSelector:h=null,unmaskTextSelector:g=null,inlineStylesheet:y=!0,maskAllInputs:_,maskInputOptions:v,slimDOMOptions:b,maskAttributeFn:C,maskInputFn:x,maskTextFn:k,maxCanvasSize:w=null,packFn:E,sampling:T={},dataURLOptions:S={},mousemoveWait:I,recordCanvas:R=!1,recordCrossOriginIframes:A=!1,recordAfter:P="DOMContentLoaded"===e.recordAfter?e.recordAfter:"load",userTriggeredOnInput:N=!1,collectFonts:O=!1,inlineImages:L=!1,plugins:M,keepIframeSrcFn:D=()=>!1,ignoreCSSAttributes:F=new Set([]),errorHandler:j,onMutation:B,getCanvasManager:U}=e;f=j;let K=!A||window.parent===window,z=!1;if(!K)try{window.parent.document&&(z=!1)}catch(e){z=!0}if(K&&!t)throw Error("emit function is required");void 0!==I&&void 0===T.mousemove&&(T.mousemove=I),i6.reset();let q=!0===_?{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!==v?v:{},H=!0===b||"all"===b?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===b,headMetaDescKeywords:"all"===b}:b||{};!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 n=e[0];if(!(0 in e))throw TypeError("1 argument is required");do if(this===n)return!0;while(n=n&&n.parentNode);return!1})}();let $=0,V=e=>{for(let n of M||[])n.eventProcessor&&(e=n.eventProcessor(e));return E&&!z&&(e=E(e)),e},G=(e,o)=>{if((0,t5.x)([i$,"access",e=>e[0],"optionalAccess",e=>e.isFrozen,"call",e=>e()])&&e.type!==iO.FullSnapshot&&!(e.type===iO.IncrementalSnapshot&&e.data.source===iL.Mutation)&&i$.forEach(e=>e.unfreeze()),K)(0,t5.x)([t,"optionalCall",n=>n(V(e),o)]);else if(z){let n={type:"rrweb",event:V(e),origin:window.location.origin,isCheckout:o};window.parent.postMessage(n,"*")}if(e.type===iO.FullSnapshot)n=e,$=0;else if(e.type===iO.IncrementalSnapshot){if(e.data.source===iL.Mutation&&e.data.isAttachIframe)return;$++;let t=i&&$>=i,o=r&&n&&e.timestamp-n.timestamp>r;(t||o)&&et(!0)}},Z=e=>{G(i8({type:iO.IncrementalSnapshot,data:{source:iL.Mutation,...e}}))},W=e=>G(i8({type:iO.IncrementalSnapshot,data:{source:iL.Scroll,...e}})),Q=e=>G(i8({type:iO.IncrementalSnapshot,data:{source:iL.CanvasMutation,...e}})),Y=new i5({mutationCb:Z,adoptedStyleSheetCb:e=>G(i8({type:iO.IncrementalSnapshot,data:{source:iL.AdoptedStyleSheet,...e}}))}),J=new i1;for(let e of M||[])e.getMirror&&e.getMirror({nodeMirror:i6,crossOriginIframeMirror:J.crossOriginIframeMirror,crossOriginIframeStyleMirror:J.crossOriginIframeStyleMirror});let X=new i4,ee=function(e,n){try{return e?e(n):new i3}catch(e){return console.warn("Unable to initialize CanvasManager"),new i3}}(U,{mirror:i6,win:window,mutationCb:e=>G(i8({type:iO.IncrementalSnapshot,data:{source:iL.CanvasMutation,...e}})),recordCanvas:R,blockClass:o,blockSelector:a,unblockSelector:s,maxCanvasSize:w,sampling:T.canvas,dataURLOptions:S,errorHandler:j}),en=new i2,et=(e=!1)=>{G(i8({type:iO.Meta,data:{href:window.location.href,width:iw(),height:ik()}}),e),Y.reset(),en.init(),i$.forEach(e=>e.lock());let n=function(e,n){let{mirror:t=new rQ,blockClass:r="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:p=!1,recordCanvas:h=!1,maskAllInputs:f=!1,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOM:_=!1,dataURLOptions:v,preserveWhiteSpace:b,onSerialize:C,onIframeLoad:x,iframeLoadTimeout:k,onStylesheetLoad:w,stylesheetLoadTimeout:E,keepIframeSrcFn:T=()=>!1}=n||{};return ih(e,{doc:e,mirror:t,blockClass:r,blockSelector:i,unblockSelector:o,maskAllText:a,maskTextClass:s,unmaskTextClass:l,maskTextSelector:u,unmaskTextSelector:c,skipChild:!1,inlineStylesheet:d,maskInputOptions:!0===f?{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===f?{}:f,maskAttributeFn:m,maskTextFn:g,maskInputFn:y,slimDOMOptions:!0===_||"all"===_?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===_,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===_?{}:_,dataURLOptions:v,inlineImages:p,recordCanvas:h,preserveWhiteSpace:b,onSerialize:C,onIframeLoad:x,iframeLoadTimeout:k,onStylesheetLoad:w,stylesheetLoadTimeout:E,keepIframeSrcFn:T,newlyAddedElement:!1})}(document,{mirror:i6,blockClass:o,blockSelector:a,unblockSelector:s,maskAllText:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:g,inlineStylesheet:y,maskAllInputs:q,maskAttributeFn:C,maskInputFn:x,maskTextFn:k,slimDOM:H,dataURLOptions:S,recordCanvas:R,inlineImages:L,onSerialize:e=>{iI(e,i6)&&J.addIframe(e),iR(e,i6)&&Y.trackLinkElement(e),iA(e)&&en.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,n)=>{J.attachIframe(e,n),en.observeAttachShadow(e)},onStylesheetLoad:(e,n)=>{Y.attachLinkElement(e,n)},keepIframeSrcFn:D});if(!n)return console.warn("Failed to snapshot the document");G(i8({type:iO.FullSnapshot,data:{node:n,initialOffset:ix(window)}})),i$.forEach(e=>e.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&Y.adoptStyleSheets(document.adoptedStyleSheets,i6.getId(document))};m=et;try{let e=[],n=e=>iq(iY)({onMutation:B,mutationCb:Z,mousemoveCb:(e,n)=>G(i8({type:iO.IncrementalSnapshot,data:{source:n,positions:e}})),mouseInteractionCb:e=>G(i8({type:iO.IncrementalSnapshot,data:{source:iL.MouseInteraction,...e}})),scrollCb:W,viewportResizeCb:e=>G(i8({type:iO.IncrementalSnapshot,data:{source:iL.ViewportResize,...e}})),inputCb:e=>G(i8({type:iO.IncrementalSnapshot,data:{source:iL.Input,...e}})),mediaInteractionCb:e=>G(i8({type:iO.IncrementalSnapshot,data:{source:iL.MediaInteraction,...e}})),styleSheetRuleCb:e=>G(i8({type:iO.IncrementalSnapshot,data:{source:iL.StyleSheetRule,...e}})),styleDeclarationCb:e=>G(i8({type:iO.IncrementalSnapshot,data:{source:iL.StyleDeclaration,...e}})),canvasMutationCb:Q,fontCb:e=>G(i8({type:iO.IncrementalSnapshot,data:{source:iL.Font,...e}})),selectionCb:e=>{G(i8({type:iO.IncrementalSnapshot,data:{source:iL.Selection,...e}}))},customElementCb:e=>{G(i8({type:iO.IncrementalSnapshot,data:{source:iL.CustomElement,...e}}))},blockClass:o,ignoreClass:l,ignoreSelector:u,maskAllText:c,maskTextClass:d,unmaskTextClass:p,maskTextSelector:h,unmaskTextSelector:g,maskInputOptions:q,inlineStylesheet:y,sampling:T,recordCanvas:R,inlineImages:L,userTriggeredOnInput:N,collectFonts:O,doc:e,maskAttributeFn:C,maskInputFn:x,maskTextFn:k,keepIframeSrcFn:D,blockSelector:a,unblockSelector:s,slimDOMOptions:H,dataURLOptions:S,mirror:i6,iframeManager:J,stylesheetManager:Y,shadowDomManager:en,processedNodeManager:X,canvasManager:ee,ignoreCSSAttributes:F,plugins:(0,t5.x)([M,"optionalAccess",e=>e.filter,"call",e=>e(e=>e.observer),"optionalAccess",e=>e.map,"call",e=>e(e=>({observer:e.observer,options:e.options,callback:n=>G(i8({type:iO.Plugin,data:{plugin:e.name,payload:n}}))}))])||[]},{});J.addLoadListener(t=>{try{e.push(n(t.contentDocument))}catch(e){console.warn(e)}});let t=()=>{et(),e.push(n(document))};return"interactive"===document.readyState||"complete"===document.readyState?t():(e.push(ig("DOMContentLoaded",()=>{G(i8({type:iO.DomContentLoaded,data:{}})),"DOMContentLoaded"===P&&t()})),e.push(ig("load",()=>{G(i8({type:iO.Load,data:{}})),"load"===P&&t()},window))),()=>{e.forEach(e=>e()),X.destroy(),m=void 0,f=void 0}}catch(e){console.warn(e)}}function i9(e){return e>9999999999?e:1e3*e}function oe(e){return e>9999999999?e/1e3:e}function on(e,n){"sentry.transaction"!==n.category&&(["ui.click","ui.input"].includes(n.category)?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate(()=>(e.throttledAddEvent({type:iO.Custom,timestamp:1e3*(n.timestamp||0),data:{tag:"breadcrumb",payload:(0,nV.Fv)(n,10,1e3)}}),"console"===n.category)))}function ot(e){return e.closest("button,a")||e}function or(e){let n=oi(e);return n&&n instanceof Element?ot(n):n}function oi(e){return"object"==typeof e&&e&&"target"in e?e.target:e}i7.mirror=i6,i7.takeFullSnapshot=function(e){if(!m)throw Error("please take full snapshot after start recording");m(e)};class oo{constructor(e,n,t=on){this._lastMutation=0,this._lastScroll=0,this._clicks=[],this._timeout=n.timeout/1e3,this._threshold=n.threshold/1e3,this._scollTimeout=n.scrollTimeout/1e3,this._replay=e,this._ignoreSelector=n.ignoreSelector,this._addBreadcrumbEvent=t}addListeners(){var e;let n=(e=()=>{this._lastMutation=os()},g||(g=[],(0,Q.hl)(rz,"open",function(e){return function(...n){if(g)try{g.forEach(e=>e())}catch(e){}return e.apply(rz,n)}})),g.push(e),()=>{let n=g?g.indexOf(e):-1;n>-1&&g.splice(n,1)});this._teardown=()=>{n(),this._clicks=[],this._lastMutation=0,this._lastScroll=0}}removeListeners(){this._teardown&&this._teardown(),this._checkClickTimeout&&clearTimeout(this._checkClickTimeout)}handleClick(e,n){var t;if(t=this._ignoreSelector,!oa.includes(n.tagName)||"INPUT"===n.tagName&&!["submit","button"].includes(n.getAttribute("type")||"")||"A"===n.tagName&&(n.hasAttribute("download")||n.hasAttribute("target")&&"_self"!==n.getAttribute("target"))||t&&n.matches(t)||!(e.data&&"number"==typeof e.data.nodeId&&e.timestamp))return;let r={timestamp:oe(e.timestamp),clickBreadcrumb:e,clickCount:0,node:n};this._clicks.some(e=>e.node===r.node&&1>Math.abs(e.timestamp-r.timestamp))||(this._clicks.push(r),1===this._clicks.length&&this._scheduleCheckClicks())}registerMutation(e=Date.now()){this._lastMutation=oe(e)}registerScroll(e=Date.now()){this._lastScroll=oe(e)}registerClick(e){let n=ot(e);this._handleMultiClick(n)}_handleMultiClick(e){this._getClicks(e).forEach(e=>{e.clickCount++})}_getClicks(e){return this._clicks.filter(n=>n.node===e)}_checkClicks(){let e=[],n=os();for(let t of(this._clicks.forEach(t=>{!t.mutationAfter&&this._lastMutation&&(t.mutationAfter=t.timestamp<=this._lastMutation?this._lastMutation-t.timestamp:void 0),!t.scrollAfter&&this._lastScroll&&(t.scrollAfter=t.timestamp<=this._lastScroll?this._lastScroll-t.timestamp:void 0),t.timestamp+this._timeout<=n&&e.push(t)}),e)){let e=this._clicks.indexOf(t);e>-1&&(this._generateBreadcrumbs(t),this._clicks.splice(e,1))}this._clicks.length&&this._scheduleCheckClicks()}_generateBreadcrumbs(e){let n=this._replay,t=e.scrollAfter&&e.scrollAfter<=this._scollTimeout,r=e.mutationAfter&&e.mutationAfter<=this._threshold,{clickCount:i,clickBreadcrumb:o}=e;if(!t&&!r){let t=1e3*Math.min(e.mutationAfter||this._timeout,this._timeout),r=t<1e3*this._timeout?"mutation":"timeout",a={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.slowClickDetected",data:{...o.data,url:rz.location.href,route:n.getCurrentRoute(),timeAfterClickMs:t,endReason:r,clickCount:i||1}};this._addBreadcrumbEvent(n,a);return}if(i>1){let e={type:"default",message:o.message,timestamp:o.timestamp,category:"ui.multiClick",data:{...o.data,url:rz.location.href,route:n.getCurrentRoute(),clickCount:i,metric:!0}};this._addBreadcrumbEvent(n,e)}}_scheduleCheckClicks(){this._checkClickTimeout&&clearTimeout(this._checkClickTimeout),this._checkClickTimeout=setTimeout(()=>this._checkClicks(),1e3)}}let oa=["A","BUTTON","INPUT"];function os(){return Date.now()/1e3}function ol(e){return{timestamp:Date.now()/1e3,type:"default",...e}}(B=H||(H={}))[B.Document=0]="Document",B[B.DocumentType=1]="DocumentType",B[B.Element=2]="Element",B[B.Text=3]="Text",B[B.CDATA=4]="CDATA",B[B.Comment=5]="Comment";let ou=new Set(["id","class","aria-label","role","name","alt","title","data-test-id","data-testid","disabled","aria-disabled","data-sentry-component"]),oc=e=>n=>{if(!e.isEnabled())return;let t=function(e){let{target:n,message:t}=function(e){let n;let t="click"===e.name,r=null;try{r=t?or(e.event):oi(e.event),n=(0,t_.Rt)(r,{maxStringLength:200})||""}catch(e){n=""}return{target:r,message:n}}(e);return ol({category:`ui.${e.name}`,...od(n,t)})}(n);if(!t)return;let r="click"===n.name,i=r?n.event:void 0;r&&e.clickDetector&&i&&i.target&&!i.altKey&&!i.metaKey&&!i.ctrlKey&&!i.shiftKey&&function(e,n,t){e.handleClick(n,t)}(e.clickDetector,t,or(n.event)),on(e,t)};function od(e,n){let t=i7.mirror.getId(e),r=t&&i7.mirror.getNode(t),i=r&&i7.mirror.getMeta(r),o=i&&i.type===H.Element?i:null;return{message:n,data:o?{nodeId:t,node:{id:t,tagName:o.tagName,textContent:Array.from(o.childNodes).map(e=>e.type===H.Text&&e.textContent).filter(Boolean).map(e=>e.trim()).join(""),attributes:function(e){let n={};for(let t in e)if(ou.has(t)){let r=t;("data-testid"===t||"data-test-id"===t)&&(r="testId"),n[r]=e[t]}return n}(o.attributes)}}:{}}}let op={resource:function(e){let{entryType:n,initiatorType:t,name:r,responseEnd:i,startTime:o,decodedBodySize:a,encodedBodySize:s,responseStatus:l,transferSize:u}=e;return["fetch","xmlhttprequest"].includes(t)?null:{type:`${n}.${t}`,start:of(o),end:of(i),name:r,data:{size:u,statusCode:l,decodedBodySize:a,encodedBodySize:s}}},paint:function(e){let{duration:n,entryType:t,name:r,startTime:i}=e,o=of(i);return{type:t,name:r,start:o,end:o+n,data:void 0}},navigation:function(e){let{entryType:n,name:t,decodedBodySize:r,duration:i,domComplete:o,encodedBodySize:a,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,domInteractive:u,loadEventStart:c,loadEventEnd:d,redirectCount:p,startTime:h,transferSize:f,type:m}=e;return 0===i?null:{type:`${n}.${m}`,start:of(h),end:of(o),name:t,data:{size:f,decodedBodySize:r,encodedBodySize:a,duration:i,domInteractive:u,domContentLoadedEventStart:s,domContentLoadedEventEnd:l,loadEventStart:c,loadEventEnd:d,domComplete:o,redirectCount:p}}}};function oh(e){return op[e.entryType]?op[e.entryType](e):null}function of(e){return((e4.Z1||rz.performance.timeOrigin)+e)/1e3}class om extends Error{constructor(){super("Event buffer exceeded maximum size of 20000000.")}}class og{constructor(){this.events=[],this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return this.events.length>0}get type(){return"sync"}destroy(){this.events=[]}async addEvent(e){let n=JSON.stringify(e).length;if(this._totalSize+=n,this._totalSize>2e7)throw new om;this.events.push(e)}finish(){return new Promise(e=>{let n=this.events;this.clear(),e(JSON.stringify(n))})}clear(){this.events=[],this._totalSize=0,this.hasCheckout=!1}getEarliestTimestamp(){let e=this.events.map(e=>e.timestamp).sort()[0];return e?i9(e):null}}class oy{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise((e,n)=>{this._worker.addEventListener("message",({data:t})=>{t.success?e():n()},{once:!0}),this._worker.addEventListener("error",e=>{n(e)},{once:!0})})),this._ensureReadyPromise}destroy(){this._worker.terminate()}postMessage(e,n){let t=this._getAndIncrementId();return new Promise((r,i)=>{let o=({data:n})=>{if(n.method===e&&n.id===t){if(this._worker.removeEventListener("message",o),!n.success){i(Error("Error in compression worker"));return}r(n.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:t,method:e,arg:n})})}_getAndIncrementId(){return this._id++}}class o_{constructor(e){this._worker=new oy(e),this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1}get hasEvents(){return!!this._earliestTimestamp}get type(){return"worker"}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}addEvent(e){let n=i9(e.timestamp);(!this._earliestTimestamp||n2e7)?Promise.reject(new om):this._sendEventToWorker(t)}finish(){return this._finishRequest()}clear(){this._earliestTimestamp=null,this._totalSize=0,this.hasCheckout=!1,this._worker.postMessage("clear").then(null,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 ov{constructor(e){this._fallback=new og,this._compression=new o_(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}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}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){return}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){let{events:e,hasCheckout:n}=this._fallback,t=[];for(let n of e)t.push(this._compression.addEvent(n));this._compression.hasCheckout=n,this._used=this._compression;try{await Promise.all(t)}catch(e){}}}function ob(){try{return"sessionStorage"in rz&&!!rz.sessionStorage}catch(e){return!1}}function oC(e){return void 0!==e&&Math.random()e.getContext().initialTimestamp+e.getOptions().maxReplayDuration)||(e.getOptions()._experiments.traceInternals,!1))}function oN(e){return"transaction"===e.type}function oO(e){return"feedback"===e.type}function oL(e){let n=function(){let e=(0,Y.s3)();if(!e)return!1;let n=e.getTransport();return!!n&&(n.send.__sentry__baseTransport__||!1)}();return(t,r)=>{if(!e.isEnabled()||t.type&&!oN(t))return;let i=r&&r.statusCode;if(!n||i&&!(i<200)&&!(i>=300)){if(oN(t)){!function(e,n){let t=e.getContext();n.contexts&&n.contexts.trace&&n.contexts.trace.trace_id&&t.traceIds.size<100&&t.traceIds.add(n.contexts.trace.trace_id)}(e,t);return}!function(e,n){let t=e.getContext();if(n.event_id&&t.errorIds.size<100&&t.errorIds.add(n.event_id),"buffer"!==e.recordingMode||!n.tags||!n.tags.replayId)return;let{beforeErrorSampling:r}=e.getOptions();("function"!=typeof r||r(n))&&setTimeout(()=>{e.sendBufferedReplayOrFlush()})}(e,t)}}}function oM(e,n){return n.map(({type:n,start:t,end:r,name:i,data:o})=>{let a=e.throttledAddEvent({type:iO.Custom,timestamp:t,data:{tag:"performanceSpan",payload:{op:n,description:i,startTimestamp:t,endTimestamp:r,data:o}}});return"string"==typeof a?Promise.resolve(null):a})}function oD(e,n){e.isEnabled()&&null!==n&&(t4(n.name,(0,Y.s3)())||e.addUpdate(()=>(oM(e,[n]),!0)))}function oF(e,n){if(e)try{if("string"==typeof e)return n.encode(e).length;if(e instanceof URLSearchParams)return n.encode(e.toString()).length;if(e instanceof FormData){let t=o$(e);return n.encode(t).length}if(e instanceof Blob)return e.size;if(e instanceof ArrayBuffer)return e.byteLength}catch(e){}}function oj(e){if(!e)return;let n=parseInt(e,10);return isNaN(n)?void 0:n}function oB(e){try{if("string"==typeof e)return[e];if(e instanceof URLSearchParams)return[e.toString()];if(e instanceof FormData)return[o$(e)];if(!e)return[void 0]}catch(e){return[void 0,"BODY_PARSE_ERROR"]}return[void 0,"UNPARSEABLE_BODY_TYPE"]}function oU(e,n){if(!e)return{headers:{},size:void 0,_meta:{warnings:[n]}};let t={...e._meta},r=t.warnings||[];return t.warnings=[...r,n],e._meta=t,e}function oK(e,n){if(!n)return null;let{startTimestamp:t,endTimestamp:r,url:i,method:o,statusCode:a,request:s,response:l}=n;return{type:e,start:t/1e3,end:r/1e3,name:i,data:(0,Q.Jr)({method:o,statusCode:a,request:s,response:l})}}function oz(e){return{headers:{},size:e,_meta:{warnings:["URL_SKIPPED"]}}}function oq(e,n,t){if(!n&&0===Object.keys(e).length)return;if(!n)return{headers:e};if(!t)return{headers:e,size:n};let r={headers:e,size:n},{body:i,warnings:o}=function(e){if(!e||"string"!=typeof e)return{body:e};let n=e.length>15e4,t=function(e){let n=e[0],t=e[e.length-1];return"["===n&&"]"===t||"{"===n&&"}"===t}(e);if(n){let n=e.slice(0,15e4);return t?{body:n,warnings:["MAYBE_JSON_TRUNCATED"]}:{body:`${n}…`,warnings:["TEXT_TRUNCATED"]}}if(t)try{return{body:JSON.parse(e)}}catch(e){}return{body:e}}(t);return r.body=i,o&&o.length>0&&(r._meta={warnings:o}),r}function oH(e,n){return Object.keys(e).reduce((t,r)=>{let i=r.toLowerCase();return n.includes(i)&&e[r]&&(t[i]=e[r]),t},{})}function o$(e){return new URLSearchParams(e).toString()}function oV(e,n){let t=function(e,n=rz.document.baseURI){if(e.startsWith("http://")||e.startsWith("https://")||e.startsWith(rz.location.origin))return e;let t=new URL(e,n);if(t.origin!==new URL(n).origin)return e;let r=t.href;return!e.endsWith("/")&&r.endsWith("/")?r.slice(0,-1):r}(e);return(0,ep.U0)(t,n)}async function oG(e,n,t){try{let r=await oZ(e,n,t),i=oK("resource.fetch",r);oD(t.replay,i)}catch(e){}}async function oZ(e,n,t){let r=Date.now(),{startTimestamp:i=r,endTimestamp:o=r}=n,{url:a,method:s,status_code:l=0,request_body_size:u,response_body_size:c}=e.data,d=oV(a,t.networkDetailAllowUrls)&&!oV(a,t.networkDetailDenyUrls);return{startTimestamp:i,endTimestamp:o,url:a,method:s,statusCode:l,request:d?function({networkCaptureBodies:e,networkRequestHeaders:n},t,r){let i=t?1===t.length&&"string"!=typeof t[0]?oX(t[0],n):2===t.length?oX(t[1],n):{}:{};if(!e)return oq(i,r,void 0);let[o,a]=oB(oY(t)),s=oq(i,r,o);return a?oU(s,a):s}(t,n.input,u):oz(u),response:await oW(d,t,n.response,c)}}async function oW(e,{networkCaptureBodies:n,textEncoder:t,networkResponseHeaders:r},i,o){if(!e&&void 0!==o)return oz(o);let a=i?oJ(i.headers,r):{};if(!i||!n&&void 0!==o)return oq(a,o,void 0);let[s,l]=await oQ(i),u=function(e,{networkCaptureBodies:n,textEncoder:t,responseBodySize:r,captureDetails:i,headers:o}){try{let a=e&&e.length&&void 0===r?oF(e,t):r;if(!i)return oz(a);if(n)return oq(o,a,e);return oq(o,a,void 0)}catch(e){return oq(o,r,void 0)}}(s,{networkCaptureBodies:n,textEncoder:t,responseBodySize:o,captureDetails:e,headers:a});return l?oU(u,l):u}async function oQ(e){let n=function(e){try{return e.clone()}catch(e){}}(e);if(!n)return[void 0,"BODY_PARSE_ERROR"];try{return[await new Promise((e,t)=>{let r=setTimeout(()=>t(Error("Timeout while trying to read response body")),500);o0(n).then(n=>e(n),e=>t(e)).finally(()=>clearTimeout(r))})]}catch(e){return[void 0,"BODY_PARSE_ERROR"]}}function oY(e=[]){if(2===e.length&&"object"==typeof e[1])return e[1].body}function oJ(e,n){let t={};return n.forEach(n=>{e.get(n)&&(t[n]=e.get(n))}),t}function oX(e,n){if(!e)return{};let t=e.headers;return t?t instanceof Headers?oJ(t,n):Array.isArray(t)?{}:oH(t,n):{}}async function o0(e){return await e.text()}async function o1(e,n,t){try{let r=function(e,n,t){let r=Date.now(),{startTimestamp:i=r,endTimestamp:o=r,input:a,xhr:s}=n,{url:l,method:u,status_code:c=0,request_body_size:d,response_body_size:p}=e.data;if(!l)return null;if(!s||!oV(l,t.networkDetailAllowUrls)||oV(l,t.networkDetailDenyUrls)){let e=oz(d);return{startTimestamp:i,endTimestamp:o,url:l,method:u,statusCode:c,request:e,response:oz(p)}}let h=s[tg.xU],f=h?oH(h.request_headers,t.networkRequestHeaders):{},m=oH(function(e){let n=e.getAllResponseHeaders();return n?n.split("\r\n").reduce((e,n)=>{let[t,r]=n.split(": ");return e[t.toLowerCase()]=r,e},{}):{}}(s),t.networkResponseHeaders),[g,y]=t.networkCaptureBodies?oB(a):[void 0],[_,v]=t.networkCaptureBodies?function(e){let n=[];try{return[e.responseText]}catch(e){n.push(e)}try{return function(e,n){try{if("string"==typeof e)return[e];if(e instanceof Document)return[e.body.outerHTML];if("json"===n&&e&&"object"==typeof e)return[JSON.stringify(e)];if(!e)return[void 0]}catch(e){return[void 0,"BODY_PARSE_ERROR"]}return[void 0,"UNPARSEABLE_BODY_TYPE"]}(e.response,e.responseType)}catch(e){n.push(e)}return[void 0]}(s):[void 0],b=oq(f,d,g),C=oq(m,p,_);return{startTimestamp:i,endTimestamp:o,url:l,method:u,statusCode:c,request:y?oU(b,y):b,response:v?oU(C,v):C}}(e,n,t),i=oK("resource.xhr",r);oD(t.replay,i)}catch(e){}}let o2=null,o3=e=>n=>{if(!e.isEnabled())return;let t=function(e){let n=e.getLastBreadcrumb&&e.getLastBreadcrumb();return o2!==n&&n?(o2=n,!n.category||["fetch","xhr","sentry.event","sentry.transaction"].includes(n.category)||n.category.startsWith("ui."))?null:"console"===n.category?function(e){let n=e.data&&e.data.arguments;if(!Array.isArray(n)||0===n.length)return ol(e);let t=!1,r=n.map(e=>{if(!e)return e;if("string"==typeof e)return e.length>5e3?(t=!0,`${e.slice(0,5e3)}…`):e;if("object"==typeof e)try{let n=(0,nV.Fv)(e,7);if(JSON.stringify(n).length>5e3)return t=!0,`${JSON.stringify(n,null,2).slice(0,5e3)}…`;return n}catch(e){}return e});return ol({...e,data:{...e.data,arguments:r,...t?{_meta:{warnings:["CONSOLE_ARG_TRUNCATED"]}}:{}}})}(n):ol(n):null}(n);t&&on(e,t)};async function o5(e){try{return Promise.all(oM(e,[function(e){let{jsHeapSizeLimit:n,totalJSHeapSize:t,usedJSHeapSize:r}=e,i=Date.now()/1e3;return{type:"memory",name:"memory",start:i,end:i,data:{memory:{jsHeapSizeLimit:n,totalJSHeapSize:t,usedJSHeapSize:r}}}}(rz.performance.memory)]))}catch(e){return[]}}async function o4({client:e,scope:n,replayId:t,event:r}){let i={event_id:t,integrations:"object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations)};e.emit&&e.emit("preprocessEvent",r,i);let o=await (0,e$.R)(e.getOptions(),r,i,n,e,(0,et.aF)());if(!o)return null;o.platform=o.platform||"javascript";let a=e.getSdkMetadata&&e.getSdkMetadata(),{name:s,version:l}=a&&a.sdk||{};return o.sdk={...o.sdk,name:s||"sentry.javascript.unknown",version:l||"0.0.0"},o}async function o8({recordingData:e,replayId:n,segmentId:t,eventContext:r,timestamp:i,session:o}){var a;let s;let l=function({recordingData:e,headers:n}){let t;let r=`${JSON.stringify(n)} `;if("string"==typeof e)t=`${r}${e}`;else{let n=new TextEncoder().encode(r);(t=new Uint8Array(n.length+e.length)).set(n),t.set(e,n.length)}return t}({recordingData:e,headers:{segment_id:t}}),{urls:u,errorIds:c,traceIds:d,initialTimestamp:p}=r,h=(0,Y.s3)(),f=(0,Y.nZ)(),m=h&&h.getTransport(),g=h&&h.getDsn();if(!h||!m||!g||!o.sampled)return;let y={type:"replay_event",replay_start_timestamp:p/1e3,timestamp:i/1e3,error_ids:c,trace_ids:d,urls:u,replay_id:n,segment_id:t,replay_type:o.sampled},_=await o4({scope:f,client:h,replayId:n,event:y});if(!_){h.recordDroppedEvent("event_processor","replay",y);return}delete _.sdkProcessingMetadata;let v=(a=h.getOptions().tunnel,(0,ek.Jd)((0,ek.Cd)(_,(0,ek.HY)(_),a,g),[[{type:"replay_event"},_],[{type:"replay_recording",length:"string"==typeof l?new TextEncoder().encode(l).length:l.length},l]]));try{s=await m.send(v)}catch(n){let e=Error(rH);try{e.cause=n}catch(e){}throw e}if(!s)return s;if("number"==typeof s.statusCode&&(s.statusCode<200||s.statusCode>=300))throw new o6(s.statusCode);let b=(0,nk.WG)({},s);if((0,nk.Q)(b,"replay"))throw new o7(b);return s}class o6 extends Error{constructor(e){super(`Transport returned status code ${e}`)}}class o7 extends Error{constructor(e){super("Rate limit hit"),this.rateLimits=e}}async function o9(e,n={count:0,interval:5e3}){let{recordingData:t,options:r}=e;if(t.length)try{return await o8(e),!0}catch(t){if(t instanceof o6||t instanceof o7)throw t;if((0,Y.v)("Replays",{_retryCount:n.count}),n.count>=3){let e=Error(`${rH} - max retries exceeded`);try{e.cause=t}catch(e){}throw e}return n.interval*=++n.count,new Promise((t,r)=>{setTimeout(async()=>{try{await o9(e,n),t(!0)}catch(e){r(e)}},n.interval)})}}let ae="__THROTTLED";class an{constructor({options:e,recordingOptions:n}){an.prototype.__init.call(this),an.prototype.__init2.call(this),an.prototype.__init3.call(this),an.prototype.__init4.call(this),an.prototype.__init5.call(this),an.prototype.__init6.call(this),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._hasInitializedCoreListeners=!1,this._context={errorIds:new Set,traceIds:new Set,urls:[],initialTimestamp:Date.now(),initialUrl:""},this._recordingOptions=n,this._options=e,this._debouncedFlush=function(e,n,t){let r,i,o;let a=t&&t.maxWait?Math.max(t.maxWait,n):0;function s(){return l(),r=e()}function l(){void 0!==i&&clearTimeout(i),void 0!==o&&clearTimeout(o),i=o=void 0}function u(){return i&&clearTimeout(i),i=setTimeout(s,n),a&&void 0===o&&(o=setTimeout(s,a)),r}return u.cancel=l,u.flush=function(){return void 0!==i||void 0!==o?s():r},u}(()=>this._flush(),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay}),this._throttledAddEvent=function(e,n,t){let r=new Map,i=e=>{let n=e-5;r.forEach((e,t)=>{t[...r.values()].reduce((e,n)=>e+n,0),a=!1;return(...n)=>{let t=Math.floor(Date.now()/1e3);if(i(t),o()>=300){let e=a;return a=!0,e?"__SKIPPED":ae}a=!1;let s=r.get(t)||0;return r.set(t,s+1),e(...n)}}((e,n)=>oP(this,e)?oA(this,e,n):Promise.resolve(null),0,0);let{slowClickTimeout:t,slowClickIgnoreSelectors:r}=this.getOptions(),i=t?{threshold:Math.min(3e3,t),timeout:t,scrollTimeout:300,ignoreSelector:r?r.join(","):""}:void 0;i&&(this.clickDetector=new oo(this,i))}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}isRecordingCanvas(){return!!this._canvas}getOptions(){return this._options}initializeSampling(e){let{errorSampleRate:n,sessionSampleRate:t}=this._options;if(!(n<=0)||!(t<=0)){if(this._initializeSessionForSampling(e),!this.session){this._handleException(Error("Unable to initialize and create session"));return}!1!==this.session.sampled&&(this.recordingMode="buffer"===this.session.sampled&&0===this.session.segmentId?"buffer":"session",this.recordingMode,this._options._experiments.traceInternals,this._initializeRecording())}}start(){if(this._isEnabled&&"session"===this.recordingMode)throw Error("Replay recording is already in progress");if(this._isEnabled&&"buffer"===this.recordingMode)throw Error("Replay buffering is in progress, call `flush()` to save the replay");this._options._experiments.traceInternals;let e=oI({maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:1,allowBuffering:!1});this.session=e,this._initializeRecording()}startBuffering(){if(this._isEnabled)throw Error("Replay recording is already in progress");this._options._experiments.traceInternals;let e=oI({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals},{stickySession:this._options.stickySession,sessionSampleRate:0,allowBuffering:!0});this.session=e,this.recordingMode="buffer",this._initializeRecording()}startRecording(){try{var e;let n;let t=this._canvas;this._stopRecording=i7({...this._recordingOptions,..."buffer"===this.recordingMode&&{checkoutEveryNms:6e4},emit:(e=this,n=!1,(t,r)=>{if(!e.checkAndHandleExpiredSession())return;let i=r||!n;n=!0,e.clickDetector&&function(e,n){try{if(3!==n.type)return;let{source:t}=n.data;if(t===iL.Mutation&&e.registerMutation(n.timestamp),t===iL.Scroll&&e.registerScroll(n.timestamp),n.data.source===iL.MouseInteraction){let{type:t,id:r}=n.data,i=i7.mirror.getNode(r);i instanceof HTMLElement&&t===iM.Click&&e.registerClick(i)}}catch(e){}}(e.clickDetector,t),e.addUpdate(()=>{if("buffer"===e.recordingMode&&i&&e.setInitialState(),!oR(e,t,i))return!0;if(!i)return!1;if(i&&e.session&&0===e.session.segmentId&&oR(e,function(e){let n=e.getOptions();return{type:iO.Custom,timestamp:Date.now(),data:{tag:"options",payload:{shouldRecordCanvas:e.isRecordingCanvas(),sessionSampleRate:n.sessionSampleRate,errorSampleRate:n.errorSampleRate,useCompressionOption:n.useCompression,blockAllMedia:n.blockAllMedia,maskAllText:n.maskAllText,maskAllInputs:n.maskAllInputs,useCompression:!!e.eventBuffer&&"worker"===e.eventBuffer.type,networkDetailHasUrls:n.networkDetailAllowUrls.length>0,networkCaptureBodies:n.networkCaptureBodies,networkRequestHasHeaders:n.networkRequestHeaders.length>0,networkResponseHasHeaders:n.networkResponseHeaders.length>0}}}}(e),!1),e.session&&e.session.previousSessionId)return!0;if("buffer"===e.recordingMode&&e.session&&e.eventBuffer){let n=e.eventBuffer.getEarliestTimestamp();n&&(e.getOptions()._experiments.traceInternals,e.session.started=n,e.getOptions().stickySession&&ok(e.session))}return"session"===e.recordingMode&&e.flush(),!0})}),onMutation:this._onMutationHandler,...t?{recordCanvas:t.recordCanvas,getCanvasManager:t.getCanvasManager,sampling:t.sampling,dataURLOptions:t.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:n}={}){if(this._isEnabled){this._isEnabled=!1;try{this._options._experiments.traceInternals,this._removeListeners(),this.stopRecording(),this._debouncedFlush.cancel(),e&&await this._flush({force:!0}),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,function(){if(ob())try{rz.sessionStorage.removeItem(rq)}catch(e){}}(),this.session=void 0}catch(e){this._handleException(e)}}}pause(){this._isPaused||(this._isPaused=!0,this.stopRecording(),this._options._experiments.traceInternals)}resume(){this._isPaused&&this._checkSession()&&(this._isPaused=!1,this.startRecording(),this._options._experiments.traceInternals)}async sendBufferedReplayOrFlush({continueRecording:e=!0}={}){if("session"===this.recordingMode)return this.flushImmediate();let n=Date.now();this._options._experiments.traceInternals,await this.flushImmediate();let t=this.stopRecording();e&&t&&"session"!==this.recordingMode&&(this.recordingMode="session",this.session&&(this._updateUserActivity(n),this._updateSessionActivity(n),this._maybeSaveSession()),this.startRecording())}addUpdate(e){let n=e();"buffer"!==this.recordingMode&&!0!==n&&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(){return this.session&&this.session.id}checkAndHandleExpiredSession(){if(this._lastActivity&&oE(this._lastActivity,this.timeouts.sessionIdlePause)&&this.session&&"session"===this.session.sampled){this.pause();return}return!!this._checkSession()}setInitialState(){let e=`${rz.location.pathname}${rz.location.hash}${rz.location.search}`,n=`${rz.location.origin}${e}`;this.performanceEntries=[],this.replayPerformanceEntries=[],this._clearContext(),this._context.initialUrl=n,this._context.initialTimestamp=Date.now(),this._context.urls.push(n)}throttledAddEvent(e,n){let t=this._throttledAddEvent(e,n);if(t===ae){let e=ol({category:"replay.throttled"});this.addUpdate(()=>!oR(this,{type:5,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e,metric:!0}}))}return t}getCurrentRoute(){let e=this.lastTransaction||(0,Y.nZ)().getTransaction(),n=(e&&(0,eY.XU)(e).data||{})[eA];if(e&&n&&["route","custom"].includes(n))return(0,eY.XU)(e).description}_initializeRecording(){this.setInitialState(),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e,workerUrl:n}){if(e&&window.Worker){let e=function(e){try{let n=e||("undefined"!=typeof __SENTRY_EXCLUDE_REPLAY_WORKER__&&__SENTRY_EXCLUDE_REPLAY_WORKER__?"":function(){let e=new Blob(['var 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]),a=new t([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(t,e){for(var i=new n(31),a=0;a<31;++a)i[a]=e+=1<>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,a=0,s=new n(r);a>h]=l}else for(o=new n(i),a=0;a>15-t[a]);return o},g=new t(288);for(c=0;c<144;++c)g[c]=8;for(c=144;c<256;++c)g[c]=9;for(c=256;c<280;++c)g[c]=7;for(c=280;c<288;++c)g[c]=8;var w=new t(32);for(c=0;c<32;++c)w[c]=5;var p=d(g,9,0),y=d(w,5,0),m=function(t){return(t+7)/8|0},b=function(n,r,e){return(null==r||r<0)&&(r=0),(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},A=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},_=function(r,e){for(var i=[],a=0;ad&&(d=o[a].s);var g=new n(d+1),w=x(i[c-1],g,0);if(w>e){a=0;var p=0,y=w-e,m=1<e))break;p+=m-(1<>=y;p>0;){var M=o[a].s;g[M]=0&&p;--a){var E=o[a].s;g[E]==e&&(--g[E],++p)}w=e}return{t:new t(g),l:w}},x=function(t,n,r){return-1==t.s?Math.max(x(t.l,n,r+1),x(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,a=t[0],s=1,o=function(t){e[i++]=t},f=1;f<=r;++f)if(t[f]==a&&f!=r)++s;else{if(!a&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(a),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(a);s=1,a=t[f]}return{c:e.subarray(0,i),n:r}},T=function(t,n){for(var r=0,e=0;e>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a4&&!H[a[K-1]];--K);var N,P,Q,R,V=v+5<<3,W=T(f,g)+T(h,w)+l,X=T(f,M)+T(h,C)+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+(X15&&(z(r,m,tt[B]>>5&127),m+=tt[B]>>12)}}}else N=p,P=g,Q=y,R=w;for(B=0;B255){A(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;A(r,m,Q[et]),m+=R[et],et>3&&(A(r,m,rt>>5&8191),m+=i[et])}else A(r,m,N[rt]),m+=P[rt]}return A(r,m,N[256]),m+P[256]},U=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,a=0|r.length,s=0;s!=a;){for(var o=Math.min(s+2655,a);s>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(a,s,o,f,u){if(!u&&(u={l:1},s.dictionary)){var c=s.dictionary.subarray(-32768),v=new t(c.length+a.length);v.set(c),v.set(a,c.length),a=v,u.w=c.length}return function(a,s,o,f,u,c){var v=c.z||a.length,d=new t(f+v+5*(1+Math.ceil(v/7e3))+u),g=d.subarray(f,d.length-u),w=c.l,p=7&(c.r||0);if(s){p&&(g[0]=c.r>>3);for(var y=U[s-1],M=y>>13,E=8191&y,z=(1<7e3||q>24576)&&(N>423||!w)){p=C(a,g,0,F,I,S,O,q,G,j-G,p),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(a[j+Q]==a[j+Q-W]){for(var $=0;$Q){if(Q=$,R=W,$>X)break;var tt=Math.min(W,$-2),nt=0;for(P=0;Pnt&&(nt=et,K=rt)}}}W+=(J=K)-(K=A[J])&32767}if(R){F[q++]=268435456|h[Q]<<18|l[R];var it=31&h[Q],at=31&l[R];O+=e[it]+i[at],++I[257+it],++S[at],B=j+Q,++L}else F[q++]=a[j],++I[a[j]]}}for(j=Math.max(j,B);j=v&&(g[p/8|0]=w,st=v),p=k(g,p+1,a.subarray(j,st))}c.i=v}return b(d,0,f+m(p)+u)}(a,null==s.level?6:s.level,null==s.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(a.length)))):12+s.mem,o,f,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 a=this.b.length-this.s.z;a&&(this.b.set(n.subarray(0,a),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(a),32768),this.s.z=n.length-a+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}();function q(t,n){n||(n={});var r=function(){var t=-1;return{p:function(n){for(var r=t,e=0;e>>8;t=r},d:function(){return~t}}}(),e=t.length;r.p(t);var i,a=L(t,n,10+((i=n).filename?i.filename.length+1:0),8),s=a.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)}}(a,n),O(a,s-8,r.d()),O(a,s-4,e),a}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}(),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(r){for(var e=new t(n.length),i=0;i>1)),o=0,f=function(t){s[o++]=t};for(i=0;is.length){var h=new t(o+8+(a-i<<1));h.set(s),s=h}var l=n.charCodeAt(i);l<128||r?f(l):l<2048?(f(192|l>>6),f(128|63&l)):l>55295&&l<57344?(f(240|(l=65536+(1047552&l)|1023&n.charCodeAt(++i))>>18),f(128|l>>12&63),f(128|l>>6&63),f(128|63&l)):(f(224|l>>12),f(128|l>>6&63),f(128|63&l))}return b(s,0,o)}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(let r=0,e=t.length;r{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});']);return URL.createObjectURL(e)}());if(!n)return;let t=new Worker(n);return new ov(t)}catch(e){}}(n);if(e)return e}return new og}({useCompression:this._options.useCompression,workerUrl:this._options.workerUrl}),this._removeListeners(),this._addListeners(),this._isEnabled=!0,this._isPaused=!1,this.startRecording()}_handleException(e){}_initializeSessionForSampling(e){let n=this._options.errorSampleRate>0,t=oI({sessionIdleExpire:this.timeouts.sessionIdleExpire,maxReplayDuration:this._options.maxReplayDuration,traceInternals:this._options._experiments.traceInternals,previousSessionId:e},{stickySession:this._options.stickySession,sessionSampleRate:this._options.sessionSampleRate,allowBuffering:n});this.session=t}_checkSession(){if(!this.session)return!1;let e=this.session;return!oS(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{rz.document.addEventListener("visibilitychange",this._handleVisibilityChange),rz.addEventListener("blur",this._handleWindowBlur),rz.addEventListener("focus",this._handleWindowFocus),rz.addEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.addListeners(),this._hasInitializedCoreListeners||(function(e){let n=(0,Y.nZ)(),t=(0,Y.s3)();n.addScopeListener(o3(e)),(0,tm.O)(oc(e)),(0,th.a)(n=>{if(!e.isEnabled())return;let t=function(e){let{from:n,to:t}=e,r=Date.now()/1e3;return{type:"navigation.push",start:r,end:r,name:t,data:{previous:n}}}(n);null!==t&&(e.getContext().urls.push(t.name),e.triggerUserActivity(),e.addUpdate(()=>(oM(e,[t]),!1)))}),function(e){let n=(0,Y.s3)();try{let t=new TextEncoder,{networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:o,networkRequestHeaders:a,networkResponseHeaders:s}=e.getOptions(),l={replay:e,textEncoder:t,networkDetailAllowUrls:r,networkDetailDenyUrls:i,networkCaptureBodies:o,networkRequestHeaders:a,networkResponseHeaders:s};n&&n.on?n.on("beforeAddBreadcrumb",(e,n)=>(function(e,n,t){if(n.data)try{var r,i;"xhr"===n.category&&(r=t)&&r.xhr&&(function(e,n,t){let{xhr:r,input:i}=n;if(!r)return;let o=oF(i,t.textEncoder),a=r.getResponseHeader("content-length")?oj(r.getResponseHeader("content-length")):function(e,n,t){try{let r="json"===n&&e&&"object"==typeof e?JSON.stringify(e):e;return oF(r,t)}catch(e){return}}(r.response,r.responseType,t.textEncoder);void 0!==o&&(e.data.request_body_size=o),void 0!==a&&(e.data.response_body_size=a)}(n,t,e),o1(n,t,e)),"fetch"===n.category&&(i=t)&&i.response&&(function(e,n,t){let{input:r,response:i}=n,o=oF(r?oY(r):void 0,t.textEncoder),a=i?oj(i.headers.get("content-length")):void 0;void 0!==o&&(e.data.request_body_size=o),void 0!==a&&(e.data.response_body_size=a)}(n,t,e),oG(n,t,e))}catch(e){}})(l,e,n)):((0,ty.U)(n=>{e.isEnabled()&&oD(e,function(e){let{startTimestamp:n,endTimestamp:t,fetchData:r,response:i}=e;if(!t)return null;let{method:o,url:a}=r;return{type:"resource.fetch",start:n/1e3,end:t/1e3,name:a,data:{method:o,statusCode:i?i.status:void 0}}}(n))}),(0,tg.UK)(n=>{e.isEnabled()&&oD(e,function(e){let{startTimestamp:n,endTimestamp:t,xhr:r}=e,i=r[tg.xU];if(!n||!t||!i)return null;let{method:o,url:a,status_code:s}=i;return void 0===a?null:{type:"resource.xhr",name:a,start:n/1e3,end:t/1e3,data:{method:o,statusCode:s}}}(n))}))}catch(e){}}(e);let r=function(e,n=!1){let t=n?oL(e):void 0;return Object.assign((n,r)=>e.isEnabled()?"replay_event"===n.type?(delete n.breadcrumbs,n):(!n.type||oN(n)||oO(n))&&e.checkAndHandleExpiredSession()?oO(n)?(e.flush(),n.contexts.feedback.replay_id=e.getSessionId(),e.triggerUserActivity(),e.addUpdate(()=>!n.timestamp||(e.throttledAddEvent({type:iO.Custom,timestamp:1e3*n.timestamp,data:{tag:"breadcrumb",payload:{timestamp:n.timestamp,type:"default",category:"sentry.feedback",data:{feedbackId:n.event_id}}}}),!1)),n):!n.type&&n.exception&&n.exception.values&&n.exception.values.length&&r.originalException&&r.originalException.__rrweb__&&!e.getOptions()._experiments.captureExceptions?null:(("buffer"===e.recordingMode&&n.message!==rH&&n.exception&&!n.type&&oC(e.getOptions().errorSampleRate)||"session"===e.recordingMode)&&(n.tags={...n.tags,replayId:e.getSessionId()}),t&&t(n,{statusCode:200}),n):n:n,{id:"Replay"})}(e,!(t&&t.on));t&&t.addEventProcessor?t.addEventProcessor(r):eQ(r),t&&t.on&&(t.on("beforeSendEvent",n=>{e.isEnabled()&&!n.type&&function(e,n){let t=n.exception&&n.exception.values&&n.exception.values[0].value;"string"==typeof t&&(t.match(/reactjs\.org\/docs\/error-decoder\.html\?invariant=(418|419|422|423|425)/)||t.match(/(does not match server-rendered HTML|Hydration failed because)/i))&&on(e,ol({category:"replay.hydrate-error"}))}(e,n)}),t.on("afterSendEvent",oL(e)),t.on("createDsc",n=>{let t=e.getSessionId();t&&e.isEnabled()&&"session"===e.recordingMode&&e.checkAndHandleExpiredSession()&&(n.replay_id=t)}),t.on("startTransaction",n=>{e.lastTransaction=n}),t.on("finishTransaction",n=>{e.lastTransaction=n}),t.on("beforeSendFeedback",(n,t)=>{let r=e.getSessionId();t&&t.includeReplay&&e.isEnabled()&&r&&n.contexts&&n.contexts.feedback&&(n.contexts.feedback.replay_id=r)}))}(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}this._performanceCleanupCallback=function(e){function n(n){e.performanceEntries.includes(n)||e.performanceEntries.push(n)}function t({entries:e}){e.forEach(n)}let r=[];return["navigation","paint","resource"].forEach(e=>{r.push(rN(e,t))}),r.push(rP(({metric:n})=>{e.replayPerformanceEntries.push(function(e){let n=e.entries,t=n[n.length-1],r=t?t.element:void 0,i=e.value,o=of(i);return{type:"largest-contentful-paint",name:"largest-contentful-paint",start:o,end:o,data:{value:i,size:i,nodeId:r?i7.mirror.getId(r):void 0}}}(n))})),()=>{r.forEach(e=>e())}}(this)}_removeListeners(){try{rz.document.removeEventListener("visibilitychange",this._handleVisibilityChange),rz.removeEventListener("blur",this._handleWindowBlur),rz.removeEventListener("focus",this._handleWindowFocus),rz.removeEventListener("keydown",this._handleKeyboardEvent),this.clickDetector&&this.clickDetector.removeListeners(),this._performanceCleanupCallback&&this._performanceCleanupCallback()}catch(e){this._handleException(e)}}__init(){this._handleVisibilityChange=()=>{"visible"===rz.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init2(){this._handleWindowBlur=()=>{let e=ol({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init3(){this._handleWindowFocus=()=>{let e=ol({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}__init4(){this._handleKeyboardEvent=e=>{!function(e,n){if(!e.isEnabled())return;e.updateUserActivity();let t=function(e){var n;let{metaKey:t,shiftKey:r,ctrlKey:i,altKey:o,key:a,target:s}=e;if(!s||"INPUT"===(n=s).tagName||"TEXTAREA"===n.tagName||n.isContentEditable||!a)return null;let l=t||i||o,u=1===a.length;if(!l&&u)return null;let c=(0,t_.Rt)(s,{maxStringLength:200})||"",d=od(s,c);return ol({category:"ui.keyDown",message:c,data:{...d.data,metaKey:t,shiftKey:r,ctrlKey:i,altKey:o,key:a}})}(n);t&&on(e,t)}(this,e)}}_doChangeToBackgroundTasks(e){!this.session||oT(this.session,{maxReplayDuration:this._options.maxReplayDuration,sessionIdleExpire:this.timeouts.sessionIdleExpire})||(e&&this._createCustomBreadcrumb(e),this.conditionalFlush())}_doChangeToForegroundTasks(e){this.session&&this.checkAndHandleExpiredSession()&&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:iO.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})})}_addPerformanceEntries(){let e=this.performanceEntries.map(oh).filter(Boolean).concat(this.replayPerformanceEntries);return this.performanceEntries=[],this.replayPerformanceEntries=[],Promise.all(oM(this,e))}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[]}_updateInitialTimestampFromEventBuffer(){let{session:e,eventBuffer:n}=this;if(!e||!n||e.segmentId)return;let t=n.getEarliestTimestamp();t&&tthis._options.maxReplayDuration+3e4)throw Error("Session is too long, not sending replay");let t=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession();let i=await this.eventBuffer.finish();await o9({replayId:e,recordingData:i,segmentId:r,eventContext:t,session:this.session,options:this.getOptions(),timestamp:n})}catch(n){this._handleException(n),this.stop({reason:"sendReplay"});let e=(0,Y.s3)();e&&e.recordDroppedEvent("send_error","replay")}}__init5(){this._flush=async({force:e=!1}={})=>{if(!this._isEnabled&&!e||!this.checkAndHandleExpiredSession()||!this.session)return;let n=this.session.started,t=Date.now()-n;this._debouncedFlush.cancel();let r=tthis._options.maxReplayDuration+5e3;if(r||i){this._options._experiments.traceInternals,r&&this._debouncedFlush();return}let o=this.eventBuffer;if(o&&0===this.session.segmentId&&!o.hasCheckout&&this._options._experiments.traceInternals,!this._flushLock){this._flushLock=this._runFlush(),await this._flushLock,this._flushLock=void 0;return}try{await this._flushLock}catch(e){}finally{this._debouncedFlush()}}}_maybeSaveSession(){this.session&&this._options.stickySession&&ok(this.session)}__init6(){this._onMutationHandler=e=>{let n=e.length,t=this._options.mutationLimit,r=this._options.mutationBreadcrumbLimit,i=t&&n>t;if(n>r||i){let e=ol({category:"replay.mutations",data:{count:n,limit:i}});this._createCustomBreadcrumb(e)}return!i||(this.stop({reason:"mutationLimit",forceFlush:"session"===this.recordingMode}),!1)}}}function at(e,n,t,r){let i=[...e,..."string"==typeof r?r.split(","):[],...n];return void 0!==t&&("string"==typeof t&&i.push(`.${t}`),(0,X.Cf)(()=>{console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")})),i.join(",")}let ar='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]',ai=["content-length","content-type","accept"],ao=!1,aa=e=>new as(e);class as{static __initStatic(){this.id="Replay"}constructor({flushMinDelay:e=5e3,flushMaxDelay:n=5500,minReplayDuration:t=4999,maxReplayDuration:r=36e5,stickySession:i=!0,useCompression:o=!0,workerUrl:a,_experiments:s={},sessionSampleRate:l,errorSampleRate:u,maskAllText:c=!0,maskAllInputs:d=!0,blockAllMedia:p=!0,mutationBreadcrumbLimit:h=750,mutationLimit:f=1e4,slowClickTimeout:m=7e3,slowClickIgnoreSelectors:g=[],networkDetailAllowUrls:y=[],networkDetailDenyUrls:_=[],networkCaptureBodies:v=!0,networkRequestHeaders:b=[],networkResponseHeaders:C=[],mask:x=[],maskAttributes:k=["title","placeholder"],unmask:w=[],block:E=[],unblock:T=[],ignore:S=[],maskFn:I,beforeAddRecordingEvent:R,beforeErrorSampling:A,blockClass:P,blockSelector:N,maskInputOptions:O,maskTextClass:L,maskTextSelector:M,ignoreClass:D}={}){this.name=as.id;let F=function({mask:e,unmask:n,block:t,unblock:r,ignore:i,blockClass:o,blockSelector:a,maskTextClass:s,maskTextSelector:l,ignoreClass:u}){let c={maskTextSelector:at(e,[".sentry-mask","[data-sentry-mask]"],s,l),unmaskTextSelector:at(n,[".sentry-unmask","[data-sentry-unmask]"]),blockSelector:at(t,[".sentry-block","[data-sentry-block]",'base[href="/"]'],o,a),unblockSelector:at(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:at(i,[".sentry-ignore","[data-sentry-ignore]",'input[type="file"]'],u)};return o instanceof RegExp&&(c.blockClass=o),s instanceof RegExp&&(c.maskTextClass=s),c}({mask:x,unmask:w,block:E,unblock:T,ignore:S,blockClass:P,blockSelector:N,maskTextClass:L,maskTextSelector:M,ignoreClass:D});if(this._recordingOptions={maskAllInputs:d,maskAllText:c,maskInputOptions:{...O||{},password:!0},maskTextFn:I,maskInputFn:I,maskAttributeFn:(e,n,t)=>(function({el:e,key:n,maskAttributes:t,maskAllText:r,privacyOptions:i,value:o}){return!r||i.unmaskTextSelector&&e.matches(i.unmaskTextSelector)?o:t.includes(n)||"value"===n&&"INPUT"===e.tagName&&["submit","button"].includes(e.getAttribute("type")||"")?o.replace(/[\S]/g,"*"):o})({maskAttributes:k,maskAllText:c,privacyOptions:F,key:e,value:n,el:t}),...F,slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,errorHandler:e=>{try{e.__rrweb__=!0}catch(e){}}},this._initialOptions={flushMinDelay:e,flushMaxDelay:n,minReplayDuration:Math.min(t,15e3),maxReplayDuration:Math.min(r,36e5),stickySession:i,sessionSampleRate:l,errorSampleRate:u,useCompression:o,workerUrl:a,blockAllMedia:p,maskAllInputs:d,maskAllText:c,mutationBreadcrumbLimit:h,mutationLimit:f,slowClickTimeout:m,slowClickIgnoreSelectors:g,networkDetailAllowUrls:y,networkDetailDenyUrls:_,networkCaptureBodies:v,networkRequestHeaders:al(b),networkResponseHeaders:al(C),beforeAddRecordingEvent:R,beforeErrorSampling:A,_experiments:s},"number"==typeof l&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration. This option is deprecated and will be removed soon. Instead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.: Sentry.init({ replaysSessionSampleRate: ${l} })`),this._initialOptions.sessionSampleRate=l),"number"==typeof u&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration. This option is deprecated and will be removed soon. Instead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.: Sentry.init({ replaysOnErrorSampleRate: ${u} })`),this._initialOptions.errorSampleRate=u),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${ar}`:ar),this._isInitialized&&(0,t6.j)())throw Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return ao}set _isInitialized(e){ao=e}setupOnce(){(0,t6.j)()&&(this._setup(),setTimeout(()=>this._initialize()))}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):Promise.resolve()}getReplayId(){if(this._replay&&this._replay.isEnabled())return this._replay.getSessionId()}_initialize(){this._replay&&(this._maybeLoadFromReplayCanvasIntegration(),this._replay.initializeSampling())}_setup(){let e=function(e){let n=(0,Y.s3)(),t=n&&n.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...(0,Q.Jr)(e)};return t?(null==e.sessionSampleRate&&null==e.errorSampleRate&&null==t.replaysSessionSampleRate&&null==t.replaysOnErrorSampleRate&&(0,X.Cf)(()=>{console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set.")}),"number"==typeof t.replaysSessionSampleRate&&(r.sessionSampleRate=t.replaysSessionSampleRate),"number"==typeof t.replaysOnErrorSampleRate&&(r.errorSampleRate=t.replaysOnErrorSampleRate)):(0,X.Cf)(()=>{console.warn("SDK client is not available.")}),r}(this._initialOptions);this._replay=new an({options:e,recordingOptions:this._recordingOptions})}_maybeLoadFromReplayCanvasIntegration(){try{let e=(0,Y.s3)().getIntegrationByName("ReplayCanvas");if(!e)return;this._replay._canvas=e.getOptions()}catch(e){}}}function al(e){return[...ai,...e.map(e=>e.toLowerCase())]}function au(){let e=(0,Y.s3)();return e&&e.getIntegrationByName&&e.getIntegrationByName("Replay")}function ac(e,n,t=1/0,r=0){return!e||e.nodeType!==e.ELEMENT_NODE||r>t?-1:n(e)?r:ac(e.parentNode,n,t,r+1)}function ad(e,n){return t=>{if(null===t)return!1;try{if(e){if("string"==typeof e){if(t.matches(`.${e}`))return!0}else if(function(e,n){for(let t=e.classList.length;t--;){let r=e.classList[t];if(n.test(r))return!0}return!1}(t,e))return!0}if(n&&t.matches(n))return!0;return!1}catch(e){return!1}}}as.__initStatic(),(U=$||($={}))[U.Document=0]="Document",U[U.DocumentType=1]="DocumentType",U[U.Element=2]="Element",U[U.Text=3]="Text",U[U.CDATA=4]="CDATA",U[U.Comment=5]="Comment";let ap="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.",ah={map:{},getId:()=>(console.error(ap),-1),getNode:()=>(console.error(ap),null),removeNodeFromMap(){console.error(ap)},has:()=>(console.error(ap),!1),reset(){console.error(ap)}};function af(e,n,t,r,i=window){let o=i.Object.getOwnPropertyDescriptor(e,n);return i.Object.defineProperty(e,n,r?t:{set(e){setTimeout(()=>{t.set.call(this,e)},0),o&&o.set&&o.set.call(this,e)}}),()=>af(e,n,o||{},!0)}function am(e,n,t){try{if(!(n in e))return()=>{};let r=e[n],i=t(r);return"function"==typeof i&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__rrweb_original__:{enumerable:!1,value:r}})),e[n]=i,()=>{e[n]=r}}catch(e){return()=>{}}}function ag(e,n,t,r,i){if(!e)return!1;let o=e.nodeType===e.ELEMENT_NODE?e:e.parentElement;if(!o)return!1;let a=ad(n,t);if(!i){let e=r&&o.matches(r);return a(o)&&!e}let s=ac(o,a),l=-1;return!(s<0)&&(r&&(l=ac(o,ad(null,r))),s>-1&&l<0||s("map"===n&&console.error(ap),Reflect.get(e,n,t))})),/[1-9][0-9]{12}/.test(Date.now().toString());var a_=((K=a_||{})[K["2D"]=0]="2D",K[K.WebGL=1]="WebGL",K[K.WebGL2=2]="WebGL2",K);let av=e=>_?(...n)=>{try{return e(...n)}catch(e){if(_&&!0===_(e))return()=>{};throw e}}:e;for(var ab="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",aC="undefined"==typeof Uint8Array?[]:new Uint8Array(256),ax=0;ax>2]+ab[(3&t[n])<<4|t[n+1]>>4]+ab[(15&t[n+1])<<2|t[n+2]>>6]+ab[63&t[n+2]];return r%3==2?i=i.substring(0,i.length-1)+"=":r%3==1&&(i=i.substring(0,i.length-2)+"=="),i};let aw=new Map,aE=(e,n,t)=>{let r;if(!e||!(aS(e,n)||"object"==typeof e))return;let i=e.constructor.name,o=((r=aw.get(t))||(r=new Map,aw.set(t,r)),r.has(i)||r.set(i,[]),r.get(i)),a=o.indexOf(e);return -1===a&&(a=o.length,o.push(e)),a},aT=(e,n,t)=>e.map(e=>(function e(n,t,r){if(n instanceof Array)return n.map(n=>e(n,t,r));if(null===n);else if(n instanceof Float32Array||n instanceof Float64Array||n instanceof Int32Array||n instanceof Uint32Array||n instanceof Uint8Array||n instanceof Uint16Array||n instanceof Int16Array||n instanceof Int8Array||n instanceof Uint8ClampedArray)return{rr_type:n.constructor.name,args:[Object.values(n)]};else if(n instanceof ArrayBuffer)return{rr_type:n.constructor.name,base64:ak(n)};else if(n instanceof DataView)return{rr_type:n.constructor.name,args:[e(n.buffer,t,r),n.byteOffset,n.byteLength]};else if(n instanceof HTMLImageElement){let e=n.constructor.name,{src:t}=n;return{rr_type:e,src:t}}else if(n instanceof HTMLCanvasElement)return{rr_type:"HTMLImageElement",src:n.toDataURL()};else if(n instanceof ImageData)return{rr_type:n.constructor.name,args:[e(n.data,t,r),n.width,n.height]};else if(aS(n,t)||"object"==typeof n)return{rr_type:n.constructor.name,index:aE(n,t,r)};return n})(e,n,t)),aS=(e,n)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(e=>"function"==typeof n[e]).find(t=>e instanceof n[t]);function aI(e,n,t,r,i){let o=[];try{let a=am(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(o,...a){if(!ag(this,n,t,r,!0)){let e="experimental-webgl"===o?"webgl":o;if("__context"in this||(this.__context=e),i&&["webgl","webgl2"].includes(e)){if(a[0]&&"object"==typeof a[0]){let e=a[0];e.preserveDrawingBuffer||(e.preserveDrawingBuffer=!0)}else a.splice(0,1,{preserveDrawingBuffer:!0})}}return e.apply(this,[o,...a])}});o.push(a)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{o.forEach(e=>e())}}function aR(e,n,t,r,i,o,a,s){let l=[];for(let a of Object.getOwnPropertyNames(e))if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(a))try{if("function"!=typeof e[a])continue;let u=am(e,a,function(e){return function(...l){let u=e.apply(this,l);if(aE(u,s,this),"tagName"in this.canvas&&!ag(this.canvas,r,i,o,!0)){let e=aT(l,s,this),r={type:n,property:a,args:e};t(this.canvas,r)}return u}});l.push(u)}catch(i){let r=af(e,a,{set(e){t(this.canvas,{type:n,property:a,args:[e],setter:!0})}});l.push(r)}return l}class aA{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=(e,n)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(n)};let{sampling:n="all",win:t,blockClass:r,blockSelector:i,unblockSelector:o,maxCanvasSize:a,recordCanvas:s,dataURLOptions:l,errorHandler:u}=e;if(this.mutationCb=e.mutationCb,this.mirror=e.mirror,this.options=e,u&&(_=u),e.enableManualSnapshot)return;av(()=>{s&&"all"===n&&this.initCanvasMutationObserver(t,r,i,o),s&&"number"==typeof n&&this.initCanvasFPSObserver(n,t,r,i,o,a,{dataURLOptions:l})})()}initCanvasFPSObserver(e,n,t,r,i,o,a){let s=aI(n,t,r,i,!0),l=this.takeSnapshot(!1,e,n,t,r,i,o,a.dataURLOptions);this.resetObservers=()=>{s(),cancelAnimationFrame(l)}}initCanvasMutationObserver(e,n,t,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();let i=aI(e,n,t,r,!1),o=function(e,n,t,r,i){let o=[];for(let a of Object.getOwnPropertyNames(n.CanvasRenderingContext2D.prototype))try{if("function"!=typeof n.CanvasRenderingContext2D.prototype[a])continue;let s=am(n.CanvasRenderingContext2D.prototype,a,function(o){return function(...s){return ag(this.canvas,t,r,i,!0)||setTimeout(()=>{let t=aT(s,n,this);e(this.canvas,{type:a_["2D"],property:a,args:t})},0),o.apply(this,s)}});o.push(s)}catch(r){let t=af(n.CanvasRenderingContext2D.prototype,a,{set(n){e(this.canvas,{type:a_["2D"],property:a,args:[n],setter:!0})}});o.push(t)}return()=>{o.forEach(e=>e())}}(this.processMutation.bind(this),e,n,t,r),a=function(e,n,t,r,i,o){let a=[];return a.push(...aR(n.WebGLRenderingContext.prototype,a_.WebGL,e,t,r,i,o,n)),void 0!==n.WebGL2RenderingContext&&a.push(...aR(n.WebGL2RenderingContext.prototype,a_.WebGL2,e,t,r,i,o,n)),()=>{a.forEach(e=>e())}}(this.processMutation.bind(this),e,n,t,r,this.mirror);this.resetObservers=()=>{i(),o(),a()}}snapshot(e){let{options:n}=this,t=this.takeSnapshot(!0,"all"===n.sampling?2:n.sampling||2,n.win,n.blockClass,n.blockSelector,n.unblockSelector,n.maxCanvasSize,n.dataURLOptions,e);this.resetObservers=()=>{cancelAnimationFrame(t)}}takeSnapshot(e,n,t,r,i,o,a,s,l){let u=new Map,c=new Worker(function(){let e=new Blob(['for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t="undefined"==typeof Uint8Array?[]:new Uint8Array(256),a=0;a<64;a++)t[e.charCodeAt(a)]=a;var n=function(t){var a,n=new Uint8Array(t),r=n.length,s="";for(a=0;a>2],s+=e[(3&n[a])<<4|n[a+1]>>4],s+=e[(15&n[a+1])<<2|n[a+2]>>6],s+=e[63&n[a+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s};const r=new Map,s=new Map;const i=self;i.onmessage=async function(e){if(!("OffscreenCanvas"in globalThis))return i.postMessage({id:e.data.id});{const{id:t,bitmap:a,width:o,height:f,maxCanvasSize:c,dataURLOptions:g}=e.data,u=async function(e,t,a){const r=e+"-"+t;if("OffscreenCanvas"in globalThis){if(s.has(r))return s.get(r);const i=new OffscreenCanvas(e,t);i.getContext("2d");const o=await i.convertToBlob(a),f=await o.arrayBuffer(),c=n(f);return s.set(r,c),c}return""}(o,f,g),[h,d]=function(e,t,a){if(!a)return[e,t];const[n,r]=a;if(e<=n&&t<=r)return[e,t];let s=e,i=t;return s>n&&(i=Math.floor(n*t/e),s=n),i>r&&(s=Math.floor(r*e/t),i=r),[s,i]}(o,f,c),l=new OffscreenCanvas(h,d),w=l.getContext("bitmaprenderer"),p=h===o&&d===f?a:await createImageBitmap(a,{resizeWidth:h,resizeHeight:d,resizeQuality:"low"});w.transferFromImageBitmap(p),a.close();const y=await l.convertToBlob(g),v=y.type,b=await y.arrayBuffer(),m=n(b);if(p.close(),!r.has(t)&&await u===m)return r.set(t,m),i.postMessage({id:t});if(r.get(t)===m)return i.postMessage({id:t});i.postMessage({id:t,type:v,base64:m,width:o,height:f}),r.set(t,m)}};']);return URL.createObjectURL(e)}());c.onmessage=e=>{let n=e.data,{id:t}=n;if(u.set(t,!1),!("base64"in n))return;let{base64:r,type:i,width:o,height:a}=n;this.mutationCb({id:t,type:a_["2D"],commands:[{property:"clearRect",args:[0,0,o,a]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:r}],type:i}]},0,0,o,a]}]})};let d=1e3/n,p=0,h=e=>{if(e)return[e];let n=[];return t.document.querySelectorAll("canvas").forEach(e=>{ag(e,r,i,o,!0)||n.push(e)}),n},f=n=>{if(p&&n-p{let t=this.mirror.getId(n);if(!u.get(t)&&n.width&&n.height){if(u.set(t,!0),!e&&["webgl","webgl2"].includes(n.__context)){let e=n.getContext(n.__context);!1===(0,t5.x)([e,"optionalAccess",e=>e.getContextAttributes,"call",e=>e(),"optionalAccess",e=>e.preserveDrawingBuffer])&&e.clear(e.COLOR_BUFFER_BIT)}createImageBitmap(n).then(e=>{c.postMessage({id:t,bitmap:e,width:n.width,height:n.height,dataURLOptions:s,maxCanvasSize:a},[e])}).catch(e=>{av(()=>{throw e})()})}}),ay(f)};return ay(f)}startPendingCanvasMutationFlusher(){ay(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){let e=n=>{this.rafStamps.latestId=n,ay(e)};ay(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((e,n)=>{let t=this.mirror.getId(n);this.flushPendingCanvasMutationFor(n,t)}),ay(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(e,n){if(this.frozen||this.locked)return;let t=this.pendingCanvasMutations.get(e);if(!t||-1===n)return;let r=t.map(e=>{let{type:n,...t}=e;return t}),{type:i}=t[0];this.mutationCb({id:n,type:i,commands:r}),this.pendingCanvasMutations.delete(e)}}let aP={low:{sampling:{canvas:1},dataURLOptions:{type:"image/webp",quality:.25}},medium:{sampling:{canvas:2},dataURLOptions:{type:"image/webp",quality:.4}},high:{sampling:{canvas:4},dataURLOptions:{type:"image/webp",quality:.5}}},aN="ReplayCanvas",aO=(e={})=>{let n;let[t,r]=e.maxCanvasSize||[],i={quality:e.quality||"medium",enableManualSnapshot:e.enableManualSnapshot,maxCanvasSize:[t?Math.min(t,1280):1280,r?Math.min(r,1280):1280]},o=new Promise(e=>n=e);return{name:aN,setupOnce(){},getOptions(){let{quality:e,enableManualSnapshot:t,maxCanvasSize:r}=i;return{enableManualSnapshot:t,recordCanvas:!0,getCanvasManager:e=>{let i=new aA({...e,enableManualSnapshot:t,maxCanvasSize:r,errorHandler:e=>{try{"object"==typeof e&&(e.__rrweb__=!0)}catch(e){}}});return n(i),i},...aP[e||"medium"]||aP.medium}},async snapshot(e){(await o).snapshot(e)}}},aL=es(aN,aO),aM=ew.GLOBAL_OBJ,aD="#ffffff",aF="inherit",aj="rgba(108, 95, 199, 1)",aB={fontFamily:"system-ui, 'Helvetica Neue', Arial, sans-serif",fontSize:"14px",background:aD,backgroundHover:"#f6f6f7",foreground:"#2b2233",border:"1.5px solid rgba(41, 35, 47, 0.13)",borderRadius:"12px",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",success:"#268d75",error:"#df3338",submitBackground:"rgba(88, 74, 192, 1)",submitBackgroundHover:aj,submitBorder:aj,submitOutlineFocus:"#29232f",submitForeground:aD,submitForegroundHover:aD,cancelBackground:"transparent",cancelBackgroundHover:"var(--background-hover)",cancelBorder:"var(--border)",cancelOutlineFocus:"var(--input-outline-focus)",cancelForeground:"var(--foreground)",cancelForegroundHover:"var(--foreground)",inputBackground:aF,inputForeground:aF,inputBorder:"var(--border)",inputOutlineFocus:aj,formBorderRadius:"20px",formContentBorderRadius:"6px"},aU={light:aB,dark:{...aB,background:"#29232f",backgroundHover:"#352f3b",foreground:"#ebe6ef",border:"1.5px solid rgba(235, 230, 239, 0.15)",success:"#2da98c",error:"#f55459"}},aK="widget";async function az({client:e,scope:n,event:t}){let r={};e.emit&&e.emit("preprocessEvent",t,r);let i=await (0,e$.R)(e.getOptions(),t,r,n,e,(0,et.aF)());return null===i?(e.recordDroppedEvent("event_processor","feedback",t),null):(i.platform=i.platform||"javascript",i)}async function aq({feedback:{message:e,email:n,name:t,source:r,url:i}},{includeReplay:o=!0}={}){let a=(0,Y.s3)(),s=a&&a.getTransport(),l=a&&a.getDsn();if(!a||!s||!l)return;let u={contexts:{feedback:{contact_email:n,name:t,message:e,url:i,source:r}},type:"feedback"};return(0,Y.$e)(async e=>{let n;e.clearBreadcrumbs(),["api",aK].includes(String(r))&&e.setLevel("info");let t=await az({scope:e,client:a,event:u});if(!t)return;a.emit&&a.emit("beforeSendFeedback",t,{includeReplay:!!o});let i=eK(t,l,a.getOptions()._metadata,a.getOptions().tunnel);try{n=await s.send(i)}catch(n){let e=Error("Unable to send Feedback");try{e.cause=n}catch(e){}throw e}if(n){if("number"==typeof n.statusCode&&(n.statusCode<200||n.statusCode>=300))throw Error("Unable to send Feedback");return n}})}function aH({name:e,email:n,message:t,source:r="api",url:i=(0,t_.l4)()},o={}){if(!t)throw Error("Unable to submit feedback with empty message");return aq({feedback:{name:e,email:n,message:t,url:i,source:r}},o)}function a$(e,n){return{...e,...n,themeDark:{...e.themeDark,...n.themeDark},themeLight:{...e.themeLight,...n.themeLight}}}function aV(e){return` --background: ${e.background}; --background-hover: ${e.backgroundHover}; --foreground: ${e.foreground}; --error: ${e.error}; --success: ${e.success}; --border: ${e.border}; --border-radius: ${e.borderRadius}; --box-shadow: ${e.boxShadow}; --submit-background: ${e.submitBackground}; --submit-background-hover: ${e.submitBackgroundHover}; --submit-border: ${e.submitBorder}; --submit-outline-focus: ${e.submitOutlineFocus}; --submit-foreground: ${e.submitForeground}; --submit-foreground-hover: ${e.submitForegroundHover}; --cancel-background: ${e.cancelBackground}; --cancel-background-hover: ${e.cancelBackgroundHover}; --cancel-border: ${e.cancelBorder}; --cancel-outline-focus: ${e.cancelOutlineFocus}; --cancel-foreground: ${e.cancelForeground}; --cancel-foreground-hover: ${e.cancelForegroundHover}; --input-background: ${e.inputBackground}; --input-foreground: ${e.inputForeground}; --input-border: ${e.inputBorder}; --input-outline-focus: ${e.inputOutlineFocus}; --form-border-radius: ${e.formBorderRadius}; --form-content-border-radius: ${e.formContentBorderRadius}; `}async function aG(e,n,t){if(e){e.hideError();try{return await aH({...n,source:aK},t)}catch(n){e&&e.showError("There was a problem submitting feedback, please wait and try again.")}}}function aZ(e,n){return Object.entries(n).forEach(([n,t])=>{e.setAttributeNS(null,n,t)}),e}function aW(e,n,...t){let r=aM.document.createElement(e);for(let e of(n&&Object.entries(n).forEach(([e,n])=>{"className"===e&&"string"==typeof n?r.setAttribute("class",n):"boolean"==typeof n&&n?r.setAttribute(e,""):"string"==typeof n?r.setAttribute(e,n):e.startsWith("on")&&"function"==typeof n&&r.addEventListener(e.substring(2).toLowerCase(),n)}),t))!function e(n,t){let r=aM.document;if(null!=t){if(Array.isArray(t))for(let r of t)e(n,r);else!1===t||("string"==typeof t?n.appendChild(r.createTextNode(t)):t instanceof Node?n.appendChild(t):n.appendChild(r.createTextNode(String(t))))}}(r,e);return r}function aQ(e,n){let t=e.get(n);return"string"==typeof t?t.trim():""}function aY({shadow:e,options:{shouldCreateActor:n=!0,...t},attachTo:r}){let i,o;let a=!1;async function s(n){if(!o)return;let r=[];if(t.isNameRequired&&!n.name&&r.push(t.nameLabel),t.isEmailRequired&&!n.email&&r.push(t.emailLabel),n.message||r.push(t.messageLabel),r.length>0){o.showError(`Please enter in the following required fields: ${r.join(", ")}`);return}if(!await aG(o,n)){t.onSubmitError&&t.onSubmitError();return}h(),function(){if(e)try{let n=function({message:e,onRemove:n}){function t(){r&&(r.remove(),n&&n())}let r=aW("div",{className:"success-message",onClick:t},function(){let e=e=>aM.document.createElementNS("http://www.w3.org/2000/svg",e),n=aZ(e("svg"),{class:"success-icon",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none"}),t=aZ(e("g"),{clipPath:"url(#clip0_57_156)"}),r=aZ(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),i=aZ(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173 10.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"});n.appendChild(t).append(i,r);let o=e("defs"),a=aZ(e("clipPath"),{id:"clip0_57_156"}),s=aZ(e("rect"),{width:"16",height:"16",fill:"white",transform:"translate(0 0.5)"});return a.appendChild(s),o.appendChild(a),n.appendChild(o).appendChild(a).appendChild(s),{get el(){return n}}}().el,e);return{el:r,remove:t}}({message:t.successMessageText,onRemove:()=>{r&&clearTimeout(r),u()}});if(!n.el)throw Error("Unable to show success message");e.appendChild(n.el);let r=setTimeout(()=>{n&&n.remove()},5e3)}catch(e){X.kg.error(e)}}(),t.onSubmitSuccess&&t.onSubmitSuccess()}function l(){let e=(0,Y.s3)(),n=e&&e.getIntegrationByName&&e.getIntegrationByName("Replay");n&&n.flush().catch(e=>{})}function u(){i&&i.show()}function c(){i&&i.hide()}function d(){try{if(o){o.open(),a=!0,t.onFormOpen&&t.onFormOpen(),l();return}let n=t.useSentryUser,r=(0,Y.nZ)(),i=r&&r.getUser();if(!(o=function({formTitle:e,showBranding:n,showName:t,showEmail:r,isNameRequired:i,isEmailRequired:o,colorScheme:a,defaultName:s,defaultEmail:l,onClosed:u,onCancel:c,onSubmit:d,...p}){let h=null;function f(){h&&(h.open=!1)}let{el:m,showError:g,hideError:y}=function({nameLabel:e,namePlaceholder:n,emailLabel:t,emailPlaceholder:r,messageLabel:i,messagePlaceholder:o,isRequiredLabel:a,cancelButtonLabel:s,submitButtonLabel:l,showName:u,showEmail:c,isNameRequired:d,isEmailRequired:p,defaultName:h,defaultEmail:f,onCancel:m,onSubmit:g}){let{el:y}=function({label:e}){return{el:aW("button",{type:"submit",className:"btn btn--primary","aria-label":e},e)}}({label:l}),_=aW("div",{className:"form__error-container form__error-container--hidden","aria-hidden":"true"}),v=aW("input",{id:"name",type:u?"text":"hidden","aria-hidden":u?"false":"true",name:"name",required:d,className:"form__input",placeholder:n,value:h}),b=aW("input",{id:"email",type:c?"text":"hidden","aria-hidden":c?"false":"true",name:"email",required:p,className:"form__input",placeholder:r,value:f}),C=aW("textarea",{id:"message",autoFocus:"true",rows:"5",name:"message",required:!0,className:"form__input form__input--textarea",placeholder:o}),x=aW("button",{type:"button",className:"btn btn--default","aria-label":s,onClick:e=>{m&&m(e)}},s),k=aW("form",{className:"form",onSubmit:function(e){if(e.preventDefault(),e.target instanceof HTMLFormElement)try{if(g){let n=new FormData(e.target),t={name:aQ(n,"name"),email:aQ(n,"email"),message:aQ(n,"message")};g(t)}}catch(e){}}},[_,u&&aW("label",{htmlFor:"name",className:"form__label"},[aW("span",{className:"form__label__text"},e,d&&aW("span",{className:"form__label__text--required"},` ${a}`)),v]),!u&&v,c&&aW("label",{htmlFor:"email",className:"form__label"},[aW("span",{className:"form__label__text"},t,p&&aW("span",{className:"form__label__text--required"},` ${a}`)),b]),!c&&b,aW("label",{htmlFor:"message",className:"form__label"},[aW("span",{className:"form__label__text"},i,aW("span",{className:"form__label__text--required"},` ${a}`)),C]),aW("div",{className:"btn-group"},[y,x])]);return{get el(){return k},showError:function(e){_.textContent=e,_.classList.remove("form__error-container--hidden"),_.setAttribute("aria-hidden","false")},hideError:function(){_.textContent="",_.classList.add("form__error-container--hidden"),_.setAttribute("aria-hidden","true")}}}({showEmail:r,showName:t,isEmailRequired:o,isNameRequired:i,defaultName:s,defaultEmail:l,onSubmit:d,onCancel:c,...p});return h=aW("dialog",{className:"dialog",open:!0,onClick:function(){f(),u&&u()}},aW("div",{className:"dialog__content",onClick:e=>{e.stopPropagation()}},aW("h2",{className:"dialog__header"},e,n&&aW("a",{className:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer"},function({colorScheme:e}){let n=e=>aM.document.createElementNS("http://www.w3.org/2000/svg",e),t=aZ(n("svg"),{class:"sentry-logo",width:"32",height:"30",viewBox:"0 0 72 66",fill:"none"}),r=aZ(n("path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"});t.append(r);let i=n("defs"),o=n("style");return o.textContent=` path { fill: ${"dark"===e?"#fff":"#362d59"}; }`,"system"===e&&(o.textContent+=` @media (prefers-color-scheme: dark) { path: { fill: '#fff'; } } `),i.append(o),t.append(i),{get el(){return t}}}({colorScheme:a}).el)),m)),{get el(){return h},showError:g,hideError:y,open:function(){h&&(h.open=!0)},close:f,checkIsOpen:function(){return h&&!0===h.open||!1}}}({colorScheme:t.colorScheme,showBranding:t.showBranding,showName:t.showName||t.isNameRequired,showEmail:t.showEmail||t.isEmailRequired,isNameRequired:t.isNameRequired,isEmailRequired:t.isEmailRequired,formTitle:t.formTitle,cancelButtonLabel:t.cancelButtonLabel,submitButtonLabel:t.submitButtonLabel,emailLabel:t.emailLabel,emailPlaceholder:t.emailPlaceholder,messageLabel:t.messageLabel,messagePlaceholder:t.messagePlaceholder,nameLabel:t.nameLabel,namePlaceholder:t.namePlaceholder,isRequiredLabel:t.isRequiredLabel,defaultName:n&&i&&i[n.name]||"",defaultEmail:n&&i&&i[n.email]||"",onClosed:()=>{u(),a=!1,t.onFormClose&&t.onFormClose()},onCancel:()=>{p(),u()},onSubmit:s})).el)throw Error("Unable to open Feedback dialog");e.appendChild(o.el),c(),t.onFormOpen&&t.onFormOpen(),l()}catch(e){X.kg.error(e)}}function p(){o&&(o.close(),a=!1,t.onFormClose&&t.onFormClose())}function h(){if(o){p();let e=o.el;e&&e.remove(),o=void 0}}function f(){a||d(),c()}return r?r.addEventListener("click",f):n&&(i=function({buttonLabel:e,onClick:n}){let t=aW("button",{type:"button",className:"widget__actor","aria-label":e,"aria-hidden":"false"},function(){let e=e=>aM.document.createElementNS("http://www.w3.org/2000/svg",e),n=aZ(e("svg"),{class:"feedback-icon",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"}),t=aZ(e("g"),{clipPath:"url(#clip0_57_80)"}),r=aZ(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.4556 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"});n.appendChild(t).appendChild(r);let i=e("defs"),o=aZ(e("clipPath"),{id:"clip0_57_80"}),a=aZ(e("rect"),{width:"20",height:"20",fill:"white"});return o.appendChild(a),i.appendChild(o),n.appendChild(i).appendChild(o).appendChild(a),{get el(){return n}}}().el,e?aW("span",{className:"widget__actor__text"},e):null);return t.addEventListener("click",function(e){n&&n(e)}),{get el(){return t},show:()=>{t.classList.remove("widget__actor--hidden"),t.setAttribute("aria-hidden","false")},hide:()=>{t.classList.add("widget__actor--hidden"),t.setAttribute("aria-hidden","true")}}}({buttonLabel:t.buttonLabel,onClick:f})).el&&e.appendChild(i.el),{get actor(){return i},get dialog(){return o},showActor:u,hideActor:c,removeActor:function(){i&&i.el&&i.el.remove()},openDialog:d,closeDialog:p,removeDialog:h}}let aJ=aM.document,aX=e=>new a0(e);class a0{static __initStatic(){this.id="Feedback"}constructor({autoInject:e=!0,id:n="sentry-feedback",isEmailRequired:t=!1,isNameRequired:r=!1,showBranding:i=!0,showEmail:o=!0,showName:a=!0,useSentryUser:s={email:"email",name:"username"},themeDark:l,themeLight:u,colorScheme:c="system",buttonLabel:d="Report a Bug",cancelButtonLabel:p="Cancel",submitButtonLabel:h="Send Bug Report",formTitle:f="Report a Bug",emailPlaceholder:m="your.email@example.org",emailLabel:g="Email",messagePlaceholder:y="What's the bug? What did you expect?",messageLabel:_="Description",namePlaceholder:v="Your Name",nameLabel:b="Name",isRequiredLabel:C="(required)",successMessageText:x="Thank you for your report!",onFormClose:k,onFormOpen:w,onSubmitError:E,onSubmitSuccess:T}={}){this.name=a0.id,this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1,this.options={autoInject:e,showBranding:i,id:n,isEmailRequired:t,isNameRequired:r,showEmail:o,showName:a,useSentryUser:s,colorScheme:c,themeDark:{...aU.dark,...l},themeLight:{...aU.light,...u},buttonLabel:d,cancelButtonLabel:p,submitButtonLabel:h,formTitle:f,emailLabel:g,emailPlaceholder:m,messageLabel:_,messagePlaceholder:y,nameLabel:b,namePlaceholder:v,isRequiredLabel:C,successMessageText:x,onFormClose:k,onFormOpen:w,onSubmitError:E,onSubmitSuccess:T}}setupOnce(){if((0,t6.j)())try{this._cleanupWidgetIfExists();let{autoInject:e}=this.options;if(!e)return;this._createWidget(this.options)}catch(e){}}openDialog(){this._widget||this._createWidget({...this.options,shouldCreateActor:!1}),this._widget&&this._widget.openDialog()}closeDialog(){this._widget&&this._widget.closeDialog()}attachTo(e,n){try{let t=a$(this.options,n||{});return this._ensureShadowHost(t,({shadow:n})=>{let r="string"==typeof e?aJ.querySelector(e):"function"==typeof e.addEventListener?e:null;if(!r)return null;let i=aY({shadow:n,options:t,attachTo:r});return this._widgets.add(i),this._widget||(this._widget=i),i})}catch(e){return null}}createWidget(e){try{return this._createWidget(a$(this.options,e||{}))}catch(e){return null}}removeWidget(e){if(!e)return!1;try{if(this._widgets.has(e))return e.removeActor(),e.removeDialog(),this._widgets.delete(e),this._widget===e&&(this._widget=null),!0}catch(e){}return!1}getWidget(){return this._widget}remove(){this._host&&this._host.remove(),this._initialize()}_initialize(){this._host=null,this._shadow=null,this._widget=null,this._widgets=new Set,this._hasInsertedActorStyles=!1}_cleanupWidgetIfExists(){this._host&&this.remove();let e=aJ.querySelector(`#${this.options.id}`);e&&e.remove()}_createWidget(e){return this._ensureShadowHost(e,({shadow:n})=>{let t=aY({shadow:n,options:e});return!this._hasInsertedActorStyles&&t.actor&&(n.appendChild(function(e){let n=e.createElement("style");return n.textContent=` .widget__actor { line-height: 25px; display: flex; align-items: center; gap: 8px; border-radius: var(--border-radius); cursor: pointer; font-family: inherit; font-size: var(--font-size); font-weight: 600; padding: 12px 16px; text-decoration: none; z-index: 9000; color: var(--foreground); background-color: var(--background); border: var(--border); box-shadow: var(--box-shadow); opacity: 1; transition: opacity 0.1s ease-in-out; } .widget__actor:hover { background-color: var(--background-hover); } .widget__actor svg { width: 16px; height: 16px; } .widget__actor--hidden { opacity: 0; pointer-events: none; visibility: hidden; } .widget__actor__text { } .feedback-icon path { fill: var(--foreground); } `,n}(aJ)),this._hasInsertedActorStyles=!0),this._widgets.add(t),this._widget||(this._widget=t),t})}_ensureShadowHost(e,n){let t=!1;if(!this._shadow||!this._host){let{id:n,colorScheme:r,themeLight:i,themeDark:o}=e,{shadow:a,host:s}=function({id:e,colorScheme:n,themeDark:t,themeLight:r}){try{let i=aM.document,o=i.createElement("div");o.id=e;let a=o.attachShadow({mode:"open"});return a.appendChild(function(e,n,t){let r=e.createElement("style");return r.textContent=` :host { --bottom: 1rem; --right: 1rem; --top: auto; --left: auto; --z-index: 100000; --font-family: ${t.light.fontFamily}; --font-size: ${t.light.fontSize}; position: fixed; left: var(--left); right: var(--right); bottom: var(--bottom); top: var(--top); z-index: var(--z-index); font-family: var(--font-family); font-size: var(--font-size); ${aV("dark"===n?t.dark:t.light)} } ${"system"===n?` @media (prefers-color-scheme: dark) { :host { ${aV(t.dark)} } }`:""} }`,r}(i,n,{dark:t,light:r})),a.appendChild(function(e){let n=e.createElement("style");return n.textContent=` .dialog { line-height: 25px; background-color: rgba(0, 0, 0, 0.05); border: none; position: fixed; inset: 0; z-index: 10000; width: 100vw; height: 100vh; display: flex; align-items: center; justify-content: center; opacity: 1; transition: opacity 0.2s ease-in-out; } .dialog:not([open]) { opacity: 0; pointer-events: none; visibility: hidden; } .dialog:not([open]) .dialog__content { transform: translate(0, -16px) scale(0.98); } .dialog__content { position: fixed; left: var(--left); right: var(--right); bottom: var(--bottom); top: var(--top); border: var(--border); border-radius: var(--form-border-radius); background-color: var(--background); color: var(--foreground); width: 320px; max-width: 100%; max-height: calc(100% - 2rem); display: flex; flex-direction: column; box-shadow: var(--box-shadow); transition: transform 0.2s ease-in-out; transform: translate(0, 0) scale(1); } .dialog__header { display: flex; align-items: center; justify-content: space-between; font-size: 20px; font-weight: 600; padding: 24px 24px 0 24px; margin: 0; margin-bottom: 16px; } .brand-link { display: inline-flex; } .error { color: var(--error); margin-bottom: 16px; } .form { display: grid; overflow: auto; flex-direction: column; gap: 16px; padding: 0 24px 24px; } .form__error-container { color: var(--error); } .form__error-container--hidden { display: none; } .form__label { display: flex; flex-direction: column; gap: 4px; margin: 0px; } .form__label__text { display: grid; gap: 4px; align-items: center; grid-auto-flow: column; grid-auto-columns: max-content; } .form__label__text--required { font-size: 0.85em; } .form__input { line-height: inherit; background-color: var(--input-background); box-sizing: border-box; border: var(--input-border); border-radius: var(--form-content-border-radius); color: var(--input-foreground); font-family: inherit; font-size: var(--font-size); font-weight: 500; padding: 6px 12px; } .form__input::placeholder { color: var(--input-foreground); opacity: 0.65; } .form__input:focus-visible { outline: 1px auto var(--input-outline-focus); } .form__input--textarea { font-family: inherit; resize: vertical; } .btn-group { display: grid; gap: 8px; margin-top: 8px; } .btn { line-height: inherit; border: var(--cancel-border); border-radius: var(--form-content-border-radius); cursor: pointer; font-family: inherit; font-size: var(--font-size); font-weight: 600; padding: 6px 16px; } .btn[disabled] { opacity: 0.6; pointer-events: none; } .btn--primary { background-color: var(--submit-background); border-color: var(--submit-border); color: var(--submit-foreground); } .btn--primary:hover { background-color: var(--submit-background-hover); color: var(--submit-foreground-hover); } .btn--primary:focus-visible { outline: 1px auto var(--submit-outline-focus); } .btn--default { background-color: var(--cancel-background); color: var(--cancel-foreground); font-weight: 500; } .btn--default:hover { background-color: var(--cancel-background-hover); color: var(--cancel-foreground-hover); } .btn--default:focus-visible { outline: 1px auto var(--cancel-outline-focus); } .success-message { background-color: var(--background); border: var(--border); border-radius: var(--border-radius); box-shadow: var(--box-shadow); font-weight: 600; color: var(--success); padding: 12px 24px; line-height: 25px; display: grid; align-items: center; grid-auto-flow: column; gap: 6px; cursor: default; } .success-icon path { fill: var(--success); } `,n}(i)),{shadow:a,host:o}}catch(e){throw X.kg.warn("[Feedback] Browser does not support shadow DOM API"),Error("Browser does not support shadow DOM API.")}}({id:n,colorScheme:r,themeLight:i,themeDark:o});this._shadow=a,this._host=s,t=!0}this._host.dataset.sentryFeedbackColorscheme=e.colorScheme;let r=n({shadow:this._shadow,host:this._host});return t&&aJ.body.appendChild(this._host),r}}a0.__initStatic();let a1="CaptureConsole",a2=(e={})=>{let n=e.levels||X.RU;return{name:a1,setupOnce(){},setup(e){"console"in ew.GLOBAL_OBJ&&(0,tf.e)(({args:t,level:r})=>{(0,Y.s3)()===e&&n.includes(r)&&function(e,n){let t={level:(0,tv.VT)(n),extra:{arguments:e}};(0,Y.$e)(r=>{if(r.addEventProcessor(e=>(e.logger="console",(0,J.EG)(e,{handled:!1,type:"console"}),e)),"assert"===n&&!1===e[0]){let n=`Assertion failed: ${(0,ep.nK)(e.slice(1)," ")||"console.assert"}`;r.setExtra("arguments",e.slice(1)),(0,Y.uT)(n,t);return}let i=e.find(e=>e instanceof Error);if("error"===n&&i){(0,Y.Tb)(i,t);return}let o=(0,ep.nK)(e," ");(0,Y.uT)(o,t)})}(t,r)})}}};es(a1,a2);let a3=ew.GLOBAL_OBJ,a5="ContextLines",a4=(e={})=>{let n=null!=e.frameContextLines?e.frameContextLines:7;return{name:a5,setupOnce(){},processEvent:e=>(function(e,n){let t=a3.document,r=a3.location&&(0,tb.rt)(a3.location.href);if(!t||!r)return e;let i=e.exception&&e.exception.values;if(!i||!i.length)return e;let o=t.documentElement.innerHTML;if(!o)return e;let a=["","",...o.split("\n"),""];return i.forEach(e=>{let t=e.stacktrace;t&&t.frames&&(t.frames=t.frames.map(e=>(e.filename===r&&e.lineno&&a.length&&(0,J.go)(a,e,n),e)))}),e})(e,n)}};es(a5,a4);let a8="Debug",a6=(e={})=>{let n={debugger:!1,stringify:!1,...e};return{name:a8,setupOnce(){},setup(e){e.on&&e.on("beforeSendEvent",(e,t)=>{n.debugger,(0,X.Cf)(()=>{n.stringify?(console.log(JSON.stringify(e,null,2)),t&&Object.keys(t).length&&console.log(JSON.stringify(t,null,2))):(console.log(e),t&&Object.keys(t).length&&console.log(t))})})}}};es(a8,a6);let a7="Dedupe",a9=()=>{let e;return{name:a7,setupOnce(){},processEvent(n){if(n.type)return n;try{var t;if((t=e)&&(function(e,n){let t=e.message,r=n.message;return!!((t||r)&&(!t||r)&&(t||!r)&&t===r&&sn(e,n)&&se(e,n))}(n,t)||function(e,n){let t=st(n),r=st(e);return!!(t&&r&&t.type===r.type&&t.value===r.value&&sn(e,n)&&se(e,n))}(n,t)))return null}catch(e){}return e=n}}};function se(e,n){let t=sr(e),r=sr(n);if(!t&&!r)return!0;if(t&&!r||!t&&r||r.length!==t.length)return!1;for(let e=0;e{let n=e.depth||3,t=e.captureErrorCause||!1;return{name:si,setupOnce(){},processEvent:(e,r)=>(function(e,n={},t,r){if(!n.originalException||!(0,eD.VZ)(n.originalException))return e;let i=n.originalException.name||n.originalException.constructor.name,o=function(e,n){try{let t=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],r={};for(let n of Object.keys(e)){if(-1!==t.indexOf(n))continue;let i=e[n];r[n]=(0,eD.VZ)(i)?i.toString():i}if(n&&void 0!==e.cause&&(r.cause=(0,eD.VZ)(e.cause)?e.cause.toString():e.cause),"function"==typeof e.toJSON){let n=e.toJSON();for(let e of Object.keys(n)){let t=n[e];r[e]=(0,eD.VZ)(t)?t.toString():t}}return r}catch(e){}return null}(n.originalException,r);if(o){let n={...e.contexts},r=(0,nV.Fv)(o,t);return(0,eD.PO)(r)&&((0,Q.xp)(r,"__sentry_skip_normalization__",!0),n[i]=r),{...e,contexts:n}}return e})(e,r,n,t)}};es(si,so);let sa="HttpClient",ss=(e={})=>{let n={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...e};return{name:sa,setupOnce(){},setup(e){(0,n3.t$)()&&(0,ty.U)(t=>{if((0,Y.s3)()!==e)return;let{response:r,args:i}=t,[o,a]=i;r&&function(e,n,t,r){if(su(e,t.status,t.url)){let e,i,o,a;let s=!r&&n instanceof Request||n instanceof Request&&n.bodyUsed?n:new Request(n,r);sd()&&([{headers:e,cookies:o},{headers:i,cookies:a}]=[{cookieHeader:"Cookie",obj:s},{cookieHeader:"Set-Cookie",obj:t}].map(({cookieHeader:e,obj:n})=>{let t;let r=function(e){let n={};return e.forEach((e,t)=>{n[t]=e}),n}(n.headers);try{let n=r[e]||r[e.toLowerCase()]||void 0;n&&(t=sl(n))}catch(e){}return{headers:r,cookies:t}}));let l=sc({url:s.url,method:s.method,status:t.status,requestHeaders:e,responseHeaders:i,requestCookies:o,responseCookies:a});(0,Y.eN)(l)}}(n,o,r,a)}),"XMLHttpRequest"in ew.GLOBAL_OBJ&&(0,tg.UK)(t=>{if((0,Y.s3)()!==e)return;let r=t.xhr,i=r[tg.xU];if(!i)return;let{method:o,request_headers:a}=i;try{!function(e,n,t,r){if(su(e,n.status,n.responseURL)){let e,i,o;if(sd()){try{let e=n.getResponseHeader("Set-Cookie")||n.getResponseHeader("set-cookie")||void 0;e&&(i=sl(e))}catch(e){}try{o=function(e){let n=e.getAllResponseHeaders();return n?n.split("\r\n").reduce((e,n)=>{let[t,r]=n.split(": ");return e[t]=r,e},{}):{}}(n)}catch(e){}e=r}let a=sc({url:n.responseURL,method:t,status:n.status,requestHeaders:e,responseHeaders:o,responseCookies:i});(0,Y.eN)(a)}}(n,r,o,a)}catch(e){}})}}};function sl(e){return e.split("; ").reduce((e,n)=>{let[t,r]=n.split("=");return e[t]=r,e},{})}function su(e,n,t){return e.failedRequestStatusCodes.some(e=>"number"==typeof e?e===n:n>=e[0]&&n<=e[1])&&e.failedRequestTargets.some(e=>"string"==typeof e?t.includes(e):e.test(t))&&!t4(t,(0,Y.s3)())}function sc(e){let n=`HTTP Client Error with status code: ${e.status}`,t={message:n,exception:{values:[{type:"Error",value:n}]},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 n=e["Content-Length"]||e["content-length"];if(n)return parseInt(n,10)}}(e.responseHeaders)}}};return(0,J.EG)(t,{type:"http.client",handled:!1}),t}function sd(){let e=(0,Y.s3)();return!!e&&!!e.getOptions().sendDefaultPii}es(sa,ss);let sp=ew.GLOBAL_OBJ,sh="ReportingObserver",sf=new WeakMap,sm=(e={})=>{let n=e.types||["crash","deprecation","intervention"];function t(e){if(sf.has((0,Y.s3)()))for(let n of e)(0,Y.$e)(e=>{e.setExtra("url",n.url);let t=`ReportingObserver [${n.type}]`,r="No details available";if(n.body){let t={};for(let e in n.body)t[e]=n.body[e];if(e.setExtra("body",t),"crash"===n.type){let e=n.body;r=[e.crashId||"",e.reason||""].join(" ").trim()||r}else r=n.body.message||r}(0,Y.uT)(`${t}: ${r}`)})}return{name:sh,setupOnce(){(0,n3.zb)()&&new sp.ReportingObserver(t,{buffered:!0,types:n}).observe()},setup(e){sf.set(e,!0)}}};es(sh,sm);let sg="SessionTiming",sy=()=>{let e=Date.now();return{name:sg,setupOnce(){},processEvent(n){let t=Date.now();return{...n,extra:{...n.extra,"session:start":e,"session:duration":t-e,"session:end":t}}}}};es(sg,sy);var s_=t(30113);let sv=["localhost",/^\/(?!\/)/],sb={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:sv,tracePropagationTargets:sv};function sC(e){let{traceFetch:n,traceXHR:t,tracePropagationTargets:r,tracingOrigins:i,shouldCreateSpanForRequest:o,enableHTTPTimings:a}={traceFetch:sb.traceFetch,traceXHR:sb.traceXHR,...e};n&&(0,ty.U)(e=>{let n=function(e,n,t,r,i="auto.http.browser"){}(0,0,0,0);if(n){let t=function(e){try{return new URL(e,t9.location.origin).href}catch(e){return}}(e.fetchData.url),r=t?(0,tb.en)(t).host:void 0;n.setAttributes({"http.url":t,"server.address":r})}a&&n&&sx(n)}),t&&(0,tg.UK)(e=>{let n=function(e,n,t,r){let i=e.xhr;i&&i[tg.xU]}(e,0,0,0);a&&n&&sx(n)})}function sx(e){let{url:n}=(0,eY.XU)(e).data||{};if(!n||"string"!=typeof n)return;let t=rN("resource",({entries:r})=>{r.forEach(r=>{"resource"===r.entryType&&"initiatorType"in r&&"string"==typeof r.nextHopProtocol&&("fetch"===r.initiatorType||"xmlhttprequest"===r.initiatorType)&&r.name.endsWith(n)&&((function(e){let{name:n,version:t}=function(e){let n="unknown",t="unknown",r="";for(let i of e){if("/"===i){[n,t]=e.split("/");break}if(!isNaN(Number(i))){n="h"===r?"http":r,t=e.split(r)[1];break}r+=i}return r===e&&(n=r),{name:n,version:t}}(e.nextHopProtocol),r=[];return(r.push(["network.protocol.version",t],["network.protocol.name",n]),e4.Z1)?[...r,["http.request.redirect_start",sk(e.redirectStart)],["http.request.fetch_start",sk(e.fetchStart)],["http.request.domain_lookup_start",sk(e.domainLookupStart)],["http.request.domain_lookup_end",sk(e.domainLookupEnd)],["http.request.connect_start",sk(e.connectStart)],["http.request.secure_connection_start",sk(e.secureConnectionStart)],["http.request.connection_end",sk(e.connectEnd)],["http.request.request_start",sk(e.requestStart)],["http.request.response_start",sk(e.responseStart)],["http.request.response_end",sk(e.responseEnd)]]:r})(r).forEach(n=>e.setAttribute(...n)),setTimeout(t))})})}function sk(e=0){return((e4.Z1||performance.timeOrigin)+e)/1e3}function sw(){t9.document&&t9.document.addEventListener("visibilitychange",()=>{let e=e1();if(t9.document.hidden&&e){let{op:n,status:t}=(0,eY.XU)(e);t||e.setStatus("cancelled"),e.setTag("visibilitychange","document.hidden"),e.end()}})}function sE(e){return[{type:"span"},e]}function sT(e){return"number"==typeof e&&isFinite(e)}function sS(e,{startTimestamp:n,...t}){return n&&e.startTimestamp>n&&(e.startTimestamp=n),e.startChild({startTimestamp:n,...t})}function sI(e){return e/1e3}function sR(){return t9&&t9.addEventListener&&t9.performance}let sA=0,sP={};function sN(){let e=sR();if(e&&e4.Z1){e.mark&&t9.performance.mark("sentry-tracing-init");let n=rB("fid",({metric:e})=>{let n=e.entries[e.entries.length-1];if(!n)return;let t=sI(e4.Z1),r=sI(n.startTime);sP.fid={value:e.value,unit:"millisecond"},sP["mark.fid"]={value:t+r,unit:"second"}},rM,s),t=function(e,n=!1){return rB("cls",e,rL,a,n)}(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(sP.cls={value:e.value,unit:""},b=n)},!0),r=rP(({metric:e})=>{let n=e.entries[e.entries.length-1];n&&(sP.lcp={value:e.value,unit:"millisecond"},v=n)},!0),i=rB("ttfb",({metric:e})=>{e.entries[e.entries.length-1]&&(sP.ttfb={value:e.value,unit:"millisecond"})},rF,u);return()=>{n(),t(),r(),i()}}return()=>void 0}function sO(){rN("longtask",({entries:e})=>{for(let n of e){let e=e1();if(!e)return;let t=sI(e4.Z1+n.startTime),r=sI(n.duration);e.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:t,endTimestamp:t+r})}})}function sL(){rN("event",({entries:e})=>{for(let n of e){let e=e1();if(!e)return;if("click"===n.name){let t=sI(e4.Z1+n.startTime),r=sI(n.duration),i={description:(0,t_.Rt)(n.target),op:`ui.interaction.${n.name}`,origin:"auto.ui.browser.metrics",startTimestamp:t,endTimestamp:t+r},o=(0,t_.iY)(n.target);o&&(i.attributes={"ui.component_name":o}),e.startChild(i)}}})}function sM(e,n){if(sR()&&e4.Z1){let n=rB("inp",({metric:n})=>{var t,r,i;if(void 0===n.value)return;let o=n.entries.find(e=>e.duration===n.value&&void 0!==sD[e.name]),a=(0,Y.s3)();if(!o||!a)return;let s=sD[o.name],l=a.getOptions(),u=sI(e4.Z1+o.startTime),c=sI(n.value),d=void 0!==o.interactionId?e[o.interactionId]:void 0;if(void 0===d)return;let{routeName:p,parentContext:h,activeTransaction:f,user:m,replayId:g}=d,y=void 0!==m?m.email||m.id||m.ip_address:void 0,_=void 0!==f?f.getProfileId():void 0,v=new np({startTimestamp:u,endTimestamp:u+c,op:`ui.interaction.${s}`,name:(0,t_.Rt)(o.target),attributes:{release:l.release,environment:l.environment,transaction:p,...void 0!==y&&""!==y?{user:y}:{},...void 0!==_?{profile_id:_}:{},...void 0!==g?{replay_id:g}:{}},exclusiveTime:n.value,measurements:{inp:{value:n.value,unit:"millisecond"}}}),b=(t=0,r=0,i=0,!1);if(b&&Math.random(){});return}},rj,c);return()=>{n()}}return()=>void 0}let sD={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"};function sF(e){let n=sR();if(!n||!t9.performance.getEntries||!e4.Z1)return;let t=sI(e4.Z1),r=n.getEntries(),{op:i,start_timestamp:o}=(0,eY.XU)(e);if(r.slice(sA).forEach(n=>{let r=sI(n.startTime),i=sI(n.duration);if("navigation"!==e.op||!o||!(t+r{sj(e,n,r,t)}),sj(e,n,"secureConnection",t,"TLS/SSL","connectEnd"),sj(e,n,"fetch",t,"cache","domainLookupStart"),sj(e,n,"domainLookup",t,"DNS"),n.responseEnd&&(sS(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:t+sI(n.requestStart),endTimestamp:t+sI(n.responseEnd)}),sS(e,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:t+sI(n.responseStart),endTimestamp:t+sI(n.responseEnd)}));break;case"mark":case"paint":case"measure":{(function(e,n,t,r,i){let o=i+t;sS(e,{description:n.name,endTimestamp:o+r,op:n.entryType,origin:"auto.resource.browser.metrics",startTimestamp:o})})(e,n,r,i,t);let o=rd(),a=n.startTime{if(!sP[e]||!o||t>=o)return;let n=Math.abs((t+sI(sP[e].value)-o)*1e3);sP[e].value=n});let n=sP["mark.fid"];n&&sP.fid&&(sS(e,{description:"first input delay",endTimestamp:n.value+sI(sP.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:n.value}),delete sP["mark.fid"]),"fcp"in sP||delete sP.cls,Object.keys(sP).forEach(e=>{nU(e,sP[e].value,sP[e].unit)}),v&&(v.element&&e.setTag("lcp.element",(0,t_.Rt)(v.element)),v.id&&e.setTag("lcp.id",v.id),v.url&&e.setTag("lcp.url",v.url.trim().slice(0,200)),e.setTag("lcp.size",v.size)),b&&b.sources&&b.sources.forEach((n,t)=>e.setTag(`cls.source.${t+1}`,(0,t_.Rt)(n.node)))}v=void 0,b=void 0,sP={}}function sj(e,n,t,r,i,o){let a=o?n[o]:n[`${t}End`],s=n[`${t}Start`];s&&a&&sS(e,{op:"browser",origin:"auto.browser.browser.metrics",description:i||t,startTimestamp:r+sI(s),endTimestamp:r+sI(a)})}function sB(e,n,t,r){let i=n[t];null!=i&&i<2147483647&&(e[r]=i)}let sU={...nf,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...sb},sK=(e={})=>{nC(),!e.tracePropagationTargets&&e.tracingOrigins&&(e.tracePropagationTargets=e.tracingOrigins);let n={...sU,...e},t=sN(),r={};n.enableInp&&sM(r,n.interactionsSampleRate),n.enableLongTask&&sO(),n._experiments.enableInteractions&&sL();let i={name:void 0,context:void 0};function o(e){let r;let o=(0,et.Gd)(),{beforeStartSpan:a,idleTimeout:s,finalTimeout:l,heartbeatInterval:u}=n,c="pageload"===e.op;if(c){let n=c?sH("sentry-trace"):"",t=c?sH("baggage"):void 0,{traceId:i,dsc:o,parentSpanId:a,sampled:s}=(0,e0.pT)(n,t);r={traceId:i,parentSpanId:a,parentSampled:s,...e,metadata:{...e.metadata,dynamicSamplingContext:o},trimEnd:!0}}else r={trimEnd:!0,...e};let d=a?a(r):r;d.metadata=d.name!==r.name?{...d.metadata,source:"custom"}:d.metadata,i.name=d.name,i.context=d,d.sampled;let{location:p}=t9,h=nb(o,d,s,l,!0,{location:p},u,c);return c&&t9.document&&(t9.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(t9.document.readyState)&&h.sendAutoFinishSignal()}),["interactive","complete"].includes(t9.document.readyState)&&h.sendAutoFinishSignal()),h.registerBeforeFinishCallback(e=>{t(),sF(e)}),h}return{name:"BrowserTracing",setupOnce:()=>{},afterAllSetup(e){let t;let a=e.getOptions(),{markBackgroundSpan:s,traceFetch:l,traceXHR:u,shouldCreateSpanForRequest:c,enableHTTPTimings:d,_experiments:p}=n,h=a&&a.tracePropagationTargets||n.tracePropagationTargets,f=t9.location&&t9.location.href;e.on&&(e.on("startNavigationSpan",e=>{t&&t.end(),t=o({op:"navigation",...e})}),e.on("startPageLoadSpan",e=>{t&&t.end(),t=o({op:"pageload",...e})})),n.instrumentPageLoad&&e.emit&&t9.location&&sz(e,{name:t9.location.pathname,startTimestamp:e4.Z1?e4.Z1/1e3:void 0,origin:"auto.pageload.browser",attributes:{[eA]:"url"}}),n.instrumentNavigation&&e.emit&&t9.location&&(0,th.a)(({to:n,from:t})=>{if(void 0===t&&f&&-1!==f.indexOf(n)){f=void 0;return}t!==n&&(f=void 0,sq(e,{name:t9.location.pathname,origin:"auto.navigation.browser",attributes:{[eA]:"url"}}))}),s&&sw(),p.enableInteractions&&function(e,n){let t;let r=()=>{let{idleTimeout:r,finalTimeout:i,heartbeatInterval:o}=e,a=e1();if(a&&a.op&&["navigation","pageload"].includes(a.op)||(t&&(t.setFinishReason("interactionInterrupted"),t.end(),t=void 0),!n.name))return;let{location:s}=t9,l={name:n.name,op:"ui.action.click",trimEnd:!0,data:{[eA]:n.context?function(e){let n=e.attributes&&e.attributes[eA],t=e.data&&e.data[eA],r=e.metadata&&e.metadata.source;return n||t||r}(n.context):"url"}};t=nb((0,et.Gd)(),l,r,i,!0,{location:s},o)};["click"].forEach(e=>{t9.document&&addEventListener(e,r,{once:!1,capture:!0})})}(n,i),n.enableInp&&function(e,n){let t=({entries:t})=>{let r=(0,Y.s3)(),i=void 0!==r&&void 0!==r.getIntegrationByName?r.getIntegrationByName("Replay"):void 0,o=void 0!==i?i.getReplayId():void 0,a=e1(),s=(0,Y.nZ)(),l=void 0!==s?s.getUser():void 0;t.forEach(t=>{if("duration"in t){let r=t.interactionId;if(void 0===r)return;let i=e[r],s=t.duration,u=t.startTime,c=Object.keys(e),d=c.length>0?c.reduce((n,t)=>e[n].duratione[n]).some(e=>e.duration===s&&e.startTime===u))&&r){if(i)i.duration=Math.max(i.duration,s);else if(c.length<10||void 0===d||s>e[d].duration){let t=n.name,i=n.context;t&&i&&(d&&Object.keys(e).length>=10&&delete e[d],e[r]={routeName:t,duration:s,parentContext:i,user:l,activeTransaction:a,replayId:o,startTime:u})}}}})};rN("event",t),rN("first-input",t)}(r,i),sC({traceFetch:l,traceXHR:u,tracePropagationTargets:h,shouldCreateSpanForRequest:c,enableHTTPTimings:d})},options:n}};function sz(e,n){if(!e.emit)return;e.emit("startPageLoadSpan",n);let t=nn();return"pageload"===(t&&(0,eY.XU)(t).op)?t:void 0}function sq(e,n){if(!e.emit)return;e.emit("startNavigationSpan",n);let t=nn();return"navigation"===(t&&(0,eY.XU)(t).op)?t:void 0}function sH(e){let n=(0,t_.qT)(`meta[name=${e}]`);return n?n.getAttribute("content"):void 0}function s$(e,n){ee.X&&X.kg.info(`[Offline]: ${e}`,n)}function sV(e){return new Promise((n,t)=>{e.oncomplete=e.onsuccess=()=>n(e.result),e.onabort=e.onerror=()=>t(e.error)})}function sG(e){return sV(e.getAllKeys())}function sZ(e){let n;function t(){return void 0==n&&(n=function(e,n){let t=indexedDB.open(e);t.onupgradeneeded=()=>t.result.createObjectStore(n);let r=sV(t);return e=>r.then(t=>e(t.transaction(n,"readwrite").objectStore(n)))}(e.dbName||"sentry-offline",e.storeName||"queue")),n}return{insert:async n=>{try{var r,i;let o=await (0,ek.V$)(n,e.textEncoder);await (r=t(),i=e.maxQueueSize||30,r(e=>sG(e).then(n=>{if(!(n.length>=i))return e.put(o,Math.max(...n,0)+1),sV(e.transaction)})))}catch(e){}},pop:async()=>{try{let n=await t()(e=>sG(e).then(n=>{if(0!==n.length)return sV(e.get(n[0])).then(t=>(e.delete(n[0]),sV(e.transaction).then(()=>t)))}));if(n)return(0,ek.f4)(n,e.textEncoder||new TextEncoder,e.textDecoder||new TextDecoder)}catch(e){}}}}function sW(e){var n;return n=n=>{let t;let r=e(n),i=n.createStore?n.createStore(n):void 0,o=5e3;function a(e){i&&(t&&clearTimeout(t),"number"!=typeof(t=setTimeout(async()=>{t=void 0;let e=await i.pop();e&&(s$("Attempting to send previously queued event"),l(e).catch(e=>{s$("Failed to retry sending",e)}))},e))&&t.unref&&t.unref())}function s(){t||(a(o),o=Math.min(2*o,36e5))}async function l(e){try{let n=await r.send(e),t=100;if(n){if(n.headers&&n.headers["retry-after"])t=(0,nk.JY)(n.headers["retry-after"]);else if((n.statusCode||0)>=400)return n}return a(t),o=5e3,n}catch(r){var t;if(i&&await (t=o,!(0,ek.R)(e,["replay_event","replay_recording","client_report"])&&(!n.shouldStore||n.shouldStore(e,r,t))))return await i.insert(e),s(),s$("Error sending. Event queued",r),{};throw r}}return n.flushAtStartup&&s(),{send:l,flush:e=>r.flush(e)}},e=>n({...e,createStore:sZ})}var sQ=t(16380);let sY=String(0),sJ="",sX="",s0="",s1=nK.navigator&&nK.navigator.userAgent||"",s2="",s3=nK.navigator&&nK.navigator.language||nK.navigator&&nK.navigator.languages&&nK.navigator.languages[0]||"",s5=nK.navigator&&nK.navigator.userAgentData;function s4(e){return"pageload"===e.op}"object"==typeof s5&&null!==s5&&"getHighEntropyValues"in s5&&s5.getHighEntropyValues(["architecture","model","platform","platformVersion","fullVersionList"]).then(e=>{if(sJ=e.platform||"",s0=e.architecture||"",s2=e.model||"",sX=e.platformVersion||"",e.fullVersionList&&e.fullVersionList.length>0){let n=e.fullVersionList[e.fullVersionList.length-1];s1=`${n.brand} ${n.version}`}}).catch(e=>void 0);let s8=new WeakMap,s6=!1;function s7(e){if(s6||!e.isRecording())return!1;let n=(0,Y.s3)(),t=n&&n.getOptions();if(!t)return!1;let r=t.profilesSampleRate;return!("number"!=typeof r&&"boolean"!=typeof r||"number"==typeof r&&isNaN(r))&&(!0===r||!1===r||!(r<0)&&!(r>1))&&!!r&&!!(!0===r||Math.random()(o&&(nK.clearTimeout(o),o=void 0),e&&function(e,n){if(s9.set(e,n),s9.size>30){let e=s9.keys().next().value;s9.delete(e)}}(r,e),null)).catch(e=>null):null}let o=nK.setTimeout(()=>{i()},3e4),a=e.end.bind(e);return e.end=function(){return e?(i().then(()=>{e.setContext("profile",{profile_id:r,start_timestamp:n}),a()},()=>{a()}),e):a()},e}let lt="BrowserProfiling",lr=()=>({name:lt,setupOnce(){},setup(e){let n=(0,Y.nZ)().getTransaction();if(n&&s4(n)&&s7(n)&&ln(n),"function"!=typeof e.on){X.kg.warn("[Profiling] Client does not support hooks, profiling will be disabled");return}e.on("startTransaction",e=>{s7(e)&&ln(e)}),e.on("beforeEnvelope",e=>{if(!s9.size)return;let n=function(e){let n=[];return(0,ek.gv)(e,(e,t)=>{if("transaction"===t)for(let t=1;t{let i;let a=n.get(r);a?i=a:(i=o(r),n.set(r,i));for(let n=i.length-1;n>=0;n--){let o=i[n],a=o&&o.filename;if(o&&a){e[a]=t[r];break}}return e},{}),l=[];for(let n of e)n&&s[n]&&l.push({type:"sourcemap",code_file:n,debug_id:s[n]});return l}(t.resources)},profile:o,transactions:[{name:r.transaction||"",id:r.event_id||(0,J.DM)(),trace_id:i,active_thread_id:sY,relative_start_ns:"0",relative_end_ns:((s-a)*1e6).toFixed(0)}]}}(r,i,o,a):null);c&&t.push(c)}!function(e,n){if(n.length)for(let t of n)e[1].push([{type:"profile"},t])}(e,t)})}}),li=es(lt,lr),lo={};nK.Sentry&&nK.Sentry.Integrations&&(lo=nK.Sentry.Integrations);let la={...lo,...V,...G};var ls=t(80845),ll=t.n(ls),lu=t(82201);let lc="ui.react.render",ld="ui.react.mount",lp="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/profiler.tsx";class lh extends lu.Component{static __initStatic(){this.defaultProps={disabled:!1,includeRender:!0,includeUpdates:!0}}constructor(e){super(e);let{name:n,disabled:t=!1}=this.props;if(t)return;this._mountSpan=ne({name:`<${n}>`,onlyIfParent:!0,op:ld,origin:"auto.ui.react.profiler",attributes:{"ui.component_name":n}})}componentDidMount(){this._mountSpan&&this._mountSpan.end()}shouldComponentUpdate({updateProps:e,includeUpdates:n=!0}){if(n&&this._mountSpan&&e!==this.props.updateProps){let n=Object.keys(e).filter(n=>e[n]!==this.props.updateProps[n]);if(n.length>0){let e=(0,e4.ph)();this._updateSpan=(0,Y._d)(this._mountSpan,()=>ne({name:`<${this.props.name}>`,onlyIfParent:!0,op:"ui.react.update",origin:"auto.ui.react.profiler",startTimestamp:e,attributes:{"ui.component_name":this.props.name,"ui.react.changed_props":n}}))}}return!0}componentDidUpdate(){this._updateSpan&&(this._updateSpan.end(),this._updateSpan=void 0)}componentWillUnmount(){let e=(0,e4.ph)(),{name:n,includeRender:t=!0}=this.props;if(this._mountSpan&&t){let t=(0,eY.XU)(this._mountSpan).timestamp;(0,Y._d)(this._mountSpan,()=>{let r=ne({onlyIfParent:!0,name:`<${n}>`,op:lc,origin:"auto.ui.react.profiler",startTimestamp:t,attributes:{"ui.component_name":n}});r&&r.end(e)})}}render(){return this.props.children}}function lf(e,n){let t=n&&n.name||e.displayName||e.name||"unknown",r=r=>lu.createElement(lh,{...n,name:t,updateProps:r,__self:this,__source:{fileName:lp,lineNumber:159}},lu.createElement(e,{...r,__self:this,__source:{fileName:lp,lineNumber:160}}));return r.displayName=`profiler(${t})`,ll()(r,e),r}function lm(e,n={disabled:!1,hasRenderSpan:!0}){let[t]=lu.useState(()=>{if(!n||!n.disabled)return ne({name:`<${e}>`,onlyIfParent:!0,op:ld,origin:"auto.ui.react.profiler",attributes:{"ui.component_name":e}})});lu.useEffect(()=>(t&&t.end(),()=>{if(t&&n.hasRenderSpan){let n=(0,eY.XU)(t).timestamp,r=(0,e4.ph)(),i=ne({name:`<${e}>`,onlyIfParent:!0,op:lc,origin:"auto.ui.react.profiler",startTimestamp:n,attributes:{"ui.component_name":e}});i&&i.end(r)}}),[])}lh.__initStatic();let lg="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/errorboundary.tsx",ly={componentStack:null,error:null,eventId:null};class l_ extends lu.Component{constructor(e){super(e),l_.prototype.__init.call(this),this.state=ly,this._openFallbackReportDialog=!0;let n=(0,Y.s3)();n&&n.on&&e.showDialog&&(this._openFallbackReportDialog=!1,n.on("afterSendEvent",n=>{n.type||n.event_id!==this._lastEventId||tJ({...e.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(e,{componentStack:n}){let{beforeCapture:t,onError:r,showDialog:i,dialogOptions:o}=this.props;(0,Y.$e)(a=>{if(function(e){let n=e.match(/^([^.]+)/);return null!==n&&parseInt(n[0])>=17}(lu.version)&&(0,eD.VZ)(e)){let t=Error(e.message);t.name=`React ErrorBoundary ${e.name}`,t.stack=n,function(e,n){let t=new WeakMap;!function e(n,r){if(!t.has(n)){if(n.cause)return t.set(n,!0),e(n.cause,r);n.cause=r}}(e,n)}(e,t)}t&&t(a,e,n);let s=(0,Y.Tb)(e,{captureContext:{contexts:{react:{componentStack:n}}},mechanism:{handled:!!this.props.fallback}});r&&r(e,n,s),i&&(this._lastEventId=s,this._openFallbackReportDialog&&tJ({...o,eventId:s})),this.setState({error:e,componentStack:n,eventId:s})})}componentDidMount(){let{onMount:e}=this.props;e&&e()}componentWillUnmount(){let{error:e,componentStack:n,eventId:t}=this.state,{onUnmount:r}=this.props;r&&r(e,n,t)}__init(){this.resetErrorBoundary=()=>{let{onReset:e}=this.props,{error:n,componentStack:t,eventId:r}=this.state;e&&e(n,t,r),this.setState(ly)}}render(){let{fallback:e,children:n}=this.props,t=this.state;if(t.error){let n;return(n="function"==typeof e?e({error:t.error,componentStack:t.componentStack,resetError:this.resetErrorBoundary,eventId:t.eventId}):e,lu.isValidElement(n))?n:null}return"function"==typeof n?n():n}}function lv(e,n){let t=e.displayName||e.name||"unknown",r=t=>lu.createElement(l_,{...n,__self:this,__source:{fileName:lg,lineNumber:240}},lu.createElement(e,{...t,__self:this,__source:{fileName:lg,lineNumber:241}}));return r.displayName=`errorBoundary(${t})`,ll()(r,e),r}let lb={attachReduxState:!0,actionTransformer:e=>e,stateTransformer:e=>e||null};function lC(e){let n={...lb,...e};return e=>(t,r)=>(n.attachReduxState&&(0,eL.lW)().addEventProcessor((e,n)=>{try{void 0===e.type&&"redux"===e.contexts.state.state.type&&(n.attachments=[...n.attachments||[],{filename:"redux_state.json",data:JSON.stringify(e.contexts.state.state.value)}])}catch(e){}return e}),e((e,r)=>{let i=t(e,r),o=(0,Y.nZ)(),a=n.actionTransformer(r);null!=a&&o.addBreadcrumb({category:"redux.action",data:a,type:"info"});let s=n.stateTransformer(i);if(null!=s){let e=(0,Y.s3)(),n=e&&e.getOptions(),t=n&&n.normalizeDepth||3,r={state:{type:"redux",value:s}};(0,Q.xp)(r,"__sentry_override_normalization_depth__",3+t),o.setContext("state",r)}else o.setContext("state",null);let{configureScopeWithState:l}=n;return"function"==typeof l&&l(o,i),i},r))}function lx(e){let n=sK({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:t,routes:r,match:i,instrumentPageLoad:o=!0,instrumentNavigation:a=!0}=e;return{...n,afterAllSetup(e){n.afterAllSetup(e);let s=lk(t,r,i);s(n=>{sz(e,n)},o,!1),s(n=>{sq(e,n)},!1,a)}}}function lk(e,n,t){return(r,i=!0,o=!0)=>{let a,s;i&&nK&&nK.location&&lw(n,nK.location,t,(e,n="url")=>{a=r({name:e,attributes:{[eN]:"pageload",[eO]:"auto.pageload.react.reactrouter_v3",[eA]:n}})}),o&&e.listen&&e.listen(e=>{("PUSH"===e.action||"POP"===e.action)&&(a&&a.end(),lw(n,e,t,(e,n="url")=>{a=r({name:e,attributes:{[eN]:"navigation",[eO]:"auto.navigation.react.reactrouter_v3",[eA]:n}})}))})}}function lw(e,n,t,r){let i=n.pathname;t({location:n,routes:e},(e,n,t)=>{if(e||!t)return r(i);let o=function(e){if(!Array.isArray(e)||0===e.length)return"";let n=e.filter(e=>!!e.path),t=-1;for(let e=n.length-1;e>=0;e--){let r=n[e];if(r.path&&r.path.startsWith("/")){t=e;break}}return n.slice(t).filter(({path:e})=>!!e).map(({path:e})=>e).join("")}(t.routes||[]);return 0===o.length||"/*"===o?r(i):r(i=o,"route")})}function lE(e){let n=sK({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:t,routes:r,matchPath:i,instrumentPageLoad:o=!0,instrumentNavigation:a=!0}=e;return{...n,afterAllSetup(e){n.afterAllSetup(e);let s=lS(t,r,i);s(n=>{sz(e,n)},o,!1),s(n=>{sq(e,n)},!1,a)}}}function lT(e){let n=sK({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{history:t,routes:r,matchPath:i}=e;return{...n,afterAllSetup(o){n.afterAllSetup(o);let a=lI(t,r,i);a(e=>{sz(o,e)},e.instrumentPageLoad,!1),a(e=>{sq(o,e)},!1,e.instrumentNavigation)}}}function lS(e,n,t){return lR(e,"reactrouter_v4",n,t)}function lI(e,n,t){return lR(e,"reactrouter_v5",n,t)}function lR(e,n,t=[],r){function i(e){if(0===t.length||!r)return[e,"url"];let n=function e(n,t,r,i=[]){return n.some(n=>{let o=n.path?r(t,n):i.length?i[i.length-1].match:{path:"/",url:"/",params:{},isExact:"/"===t};return o&&(i.push({route:n,match:o}),n.routes&&e(n.routes,t,r,i)),!!o}),i}(t,e,r);for(let e=0;e{let a=e&&e.location?e.location.pathname:nK&&nK.location?nK.location.pathname:void 0;if(r&&a){let[e,r]=i(a);C=t({name:e,attributes:{[eN]:"pageload",[eO]:`auto.pageload.react.${n}`,[eA]:r}})}o&&e.listen&&e.listen((e,r)=>{if(r&&("PUSH"===r||"POP"===r)){C&&C.end();let[r,o]=i(e.pathname);C=t({name:r,attributes:{[eN]:"navigation",[eO]:`auto.navigation.react.${n}`,[eA]:o}})}})}}function lA(e){let n=e.displayName||e.name,t=function(){if(C)return C;let e=nn(),n=e?(0,ns.G)(e):void 0;if(!n)return;let t=(0,eY.XU)(n).op;return"navigation"===t||"pageload"===t?n:void 0}(),r=n=>(t&&n&&n.computedMatch&&n.computedMatch.isExact&&(t.updateName(n.computedMatch.path),t.setAttribute(eA,"route")),lu.createElement(e,{...n,__self:this,__source:{fileName:"/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/reactrouter.tsx",lineNumber:277}}));return r.displayName=`sentryRoute(${n})`,ll()(r,e),r}let lP="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/reactrouterv6.tsx",lN=!1;function lO(e){let n=sK({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{useEffect:t,useLocation:r,useNavigationType:i,createRoutesFromChildren:o,matchRoutes:a,stripBasename:s,instrumentPageLoad:l=!0,instrumentNavigation:u=!0}=e;return{...n,afterAllSetup(e){n.afterAllSetup(e);let c=nK&&nK.location&&nK.location.pathname;l&&c&&sz(e,{name:c,attributes:{[eA]:"url",[eN]:"pageload",[eO]:"auto.pageload.react.reactrouter_v6"}}),k=t,w=r,E=i,S=a,T=o,lN=s||!1,I=n=>{sq(e,n)},R=u}}}function lL(e,n,t,r,i,o){return(a,s=!0,l=!0)=>{let u=nK&&nK.location&&nK.location.pathname;s&&u&&(x=a({name:u,attributes:{[eA]:"url",[eN]:"pageload",[eO]:"auto.pageload.react.reactrouter_v6"}})),k=e,w=n,E=t,S=i,T=r,lN=o||!1,I=a,R=l}}function lM(e,n){if(!n||"/"===n||!e.toLowerCase().startsWith(n.toLowerCase()))return e;let t=n.endsWith("/")?n.length-1:n.length,r=e.charAt(t);return r&&"/"!==r?e:e.slice(t)||"/"}function lD(e,n,t,r=""){if(!e||0===e.length)return[lN?lM(n.pathname,r):n.pathname,"url"];let i="";if(t)for(let e=0;e{let r=w(),i=E();return k(()=>{let e=T(t.children);n?(lF(lz(),r,e),n=!1):lj(r,e,i)},[r,i]),lu.createElement(e,{...t,__self:this,__source:{fileName:lP,lineNumber:329}})};return ll()(t,e),t}function lU(e){if(!k||!w||!E||!S||!I)return e;let n=!0,t=t=>{let{routes:r,locationArg:i}=t,o=e(r,i),a=w(),s=E(),l="string"==typeof i||i&&i.pathname?i:a;return k(()=>{let e="string"==typeof l?{pathname:l}:l;n?(lF(lz(),e,r),n=!1):lj(e,r,s)},[s,l]),o};return(e,n)=>lu.createElement(t,{routes:e,locationArg:n,__self:this,__source:{fileName:lP,lineNumber:386}})}function lK(e){return function(n,t){let r=e(n,t),i=t&&t.basename,o=lz();return"POP"===r.state.historyAction&&o&&lF(o,r.state.location,n,void 0,i),r.subscribe(e=>{let t=e.location;R&&("PUSH"===e.historyAction||"POP"===e.historyAction)&&lj(t,n,e.historyAction,void 0,i)}),r}}function lz(){if(x)return x;let e=nn(),n=e?(0,ns.G)(e):void 0;if(!n)return;let t=(0,eY.XU)(n).op;return"navigation"===t||"pageload"===t?n:void 0}var lq=t(74702);let lH={...nf,markBackgroundTransactions:!0,routingInstrumentation:function(e,n=!0,t=!0){let r;if(!t9||!t9.location)return;let i=t9.location.href;n&&(r=e({name:t9.location.pathname,startTimestamp:e4.Z1?e4.Z1/1e3:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}})),t&&(0,th.a)(({to:n,from:t})=>{if(void 0===t&&i&&-1!==i.indexOf(n)){i=void 0;return}t!==n&&(i=void 0,r&&r.end(),r=e({name:t9.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}}))})},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...sb};class l${constructor(e){this.name="BrowserTracing",this._hasSetTracePropagationTargets=!1,nC(),this.options={...lH,...e},void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),e&&!e.tracePropagationTargets&&e.tracingOrigins&&(this.options.tracePropagationTargets=e.tracingOrigins),this._collectWebVitals=sN(),this._interactionIdToRouteNameMapping={},this.options.enableInp&&sM(this._interactionIdToRouteNameMapping,this.options.interactionsSampleRate),this.options.enableLongTask&&sO(),this.options._experiments.enableInteractions&&sL(),this._latestRoute={name:void 0,context:void 0}}setupOnce(e,n){this._getCurrentHub=n;let t=n().getClient(),r=t&&t.getOptions(),{routingInstrumentation:i,startTransactionOnLocationChange:o,startTransactionOnPageLoad:a,markBackgroundTransactions:s,traceFetch:l,traceXHR:u,shouldCreateSpanForRequest:c,enableHTTPTimings:d,_experiments:p}=this.options,h=r&&r.tracePropagationTargets||this.options.tracePropagationTargets;i(e=>{let t=this._createRouteTransaction(e);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(t,e,n),t},a,o),s&&sw(),p.enableInteractions&&this._registerInteractionListener(),this.options.enableInp&&this._registerInpInteractionListener(),sC({traceFetch:l,traceXHR:u,tracePropagationTargets:h,shouldCreateSpanForRequest:c,enableHTTPTimings:d})}_createRouteTransaction(e){let n;if(!this._getCurrentHub)return;let t=this._getCurrentHub(),{beforeNavigate:r,idleTimeout:i,finalTimeout:o,heartbeatInterval:a}=this.options,s="pageload"===e.op;if(s){let t=s?lV("sentry-trace"):"",r=s?lV("baggage"):void 0,{traceId:i,dsc:o,parentSpanId:a,sampled:l}=(0,e0.pT)(t,r);n={traceId:i,parentSpanId:a,parentSampled:l,...e,metadata:{...e.metadata,dynamicSamplingContext:o},trimEnd:!0}}else n={trimEnd:!0,...e};let l="function"==typeof r?r(n):n,u=void 0===l?{...n,sampled:!1}:l;u.metadata=u.name!==n.name?{...u.metadata,source:"custom"}:u.metadata,this._latestRoute.name=u.name,this._latestRoute.context=u,u.sampled;let{location:c}=t9,d=nb(t,u,i,o,!0,{location:c},a,s);return s&&t9.document&&(t9.document.addEventListener("readystatechange",()=>{["interactive","complete"].includes(t9.document.readyState)&&d.sendAutoFinishSignal()}),["interactive","complete"].includes(t9.document.readyState)&&d.sendAutoFinishSignal()),d.registerBeforeFinishCallback(e=>{this._collectWebVitals(),sF(e)}),d}_registerInteractionListener(){let e;let n=()=>{let{idleTimeout:n,finalTimeout:t,heartbeatInterval:r}=this.options,i=e1();if(i&&i.op&&["navigation","pageload"].includes(i.op)||(e&&(e.setFinishReason("interactionInterrupted"),e.end(),e=void 0),!this._getCurrentHub)||!this._latestRoute.name)return;let o=this._getCurrentHub(),{location:a}=t9;e=nb(o,{name:this._latestRoute.name,op:"ui.action.click",trimEnd:!0,data:{[eA]:this._latestRoute.context?function(e){let n=e.attributes&&e.attributes[eA],t=e.data&&e.data[eA],r=e.metadata&&e.metadata.source;return n||t||r}(this._latestRoute.context):"url"}},n,t,!0,{location:a},r)};["click"].forEach(e=>{t9.document&&addEventListener(e,n,{once:!1,capture:!0})})}_registerInpInteractionListener(){let e=({entries:e})=>{let n=(0,Y.s3)(),t=void 0!==n&&void 0!==n.getIntegrationByName?n.getIntegrationByName("Replay"):void 0,r=void 0!==t?t.getReplayId():void 0,i=e1(),o=(0,Y.nZ)(),a=void 0!==o?o.getUser():void 0;e.forEach(e=>{if("duration"in e){let n=e.interactionId;if(void 0===n)return;let t=this._interactionIdToRouteNameMapping[n],o=e.duration,s=e.startTime,l=Object.keys(this._interactionIdToRouteNameMapping),u=l.length>0?l.reduce((e,n)=>this._interactionIdToRouteNameMapping[e].durationthis._interactionIdToRouteNameMapping[e]).some(e=>e.duration===o&&e.startTime===s))&&n){if(t)t.duration=Math.max(t.duration,o);else if(l.length<10||void 0===u||o>this._interactionIdToRouteNameMapping[u].duration){let e=this._latestRoute.name,t=this._latestRoute.context;e&&t&&(u&&Object.keys(this._interactionIdToRouteNameMapping).length>=10&&delete this._interactionIdToRouteNameMapping[u],this._interactionIdToRouteNameMapping[n]={routeName:e,duration:o,parentContext:t,user:a,activeTransaction:i,replayId:r,startTime:s})}}}})};rN("event",e),rN("first-input",e)}}function lV(e){let n=(0,t_.qT)(`meta[name=${e}]`);return n?n.getAttribute("content"):void 0}let lG={"routing.instrumentation":"next-app-router"};var lZ=t(55670),lW=t.n(lZ);let lQ={"routing.instrumentation":"next-pages-router"},lY=(0,Y.s3)();function lJ(e,n=!0,t=!0,r,i){nK.document.getElementById("__NEXT_DATA__")?function(e,n=!0,t=!0,r,i){let{route:o,params:a,sentryTrace:s,baggage:l}=function(){let e;let n=nK.document.getElementById("__NEXT_DATA__");if(n&&n.innerHTML)try{e=JSON.parse(n.innerHTML)}catch(e){}if(!e)return{};let t={},{page:r,query:i,props:o}=e;return t.route=r,t.params=i,o&&o.pageProps&&(t.sentryTrace=o.pageProps._sentryTraceData,t.baggage=o.pageProps._sentryBaggage),t}(),{traceparentData:u,dynamicSamplingContext:c,propagationContext:d}=(0,e0.KA)(s,l);if((0,Y.nZ)().setPropagationContext(d),N=o||nK.location.pathname,n){let n={name:N,op:"pageload",origin:"auto.pageload.nextjs.pages_router_instrumentation",tags:lQ,startTimestamp:e4.Z1?e4.Z1/1e3:void 0,...a&&lY&&lY.getOptions().sendDefaultPii&&{data:a},...u,metadata:{source:o?"route":"url",dynamicSamplingContext:u&&!c?{}:c}};P=e(n),r(n)}t&&lW().events.on("routeChangeStart",n=>{let t,r;let o=(0,tb.rt)(n),a=function(e){let n=(nK.__BUILD_MANIFEST||{}).sortedPages;if(n)return n.find(n=>{let t=function(e){let n=e.split("/"),t="";n[n.length-1].match(/^\[\[\.\.\..+\]\]$/)&&(n.pop(),t="(?:/(.+?))?");let r=n.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${r}${t}(?:/)?$`)}(n);return e.match(t)})}(o);a?(t=a,r="route"):(t=o,r="url");let s={...lQ,from:N};N=t,P&&P.end();let l={name:t,op:"navigation",origin:"auto.navigation.nextjs.pages_router_instrumentation",tags:s,metadata:{source:r}},u=e(l);if(i(l),u){let e=u.startChild({op:"ui.nextjs.route-change",origin:"auto.ui.nextjs.pages_router_instrumentation",description:"Next.js Route Change"}),n=()=>{e.end(),lW().events.off("routeChangeComplete",n)};lW().events.on("routeChangeComplete",n)}})}(e,n,t,r||(()=>void 0),i||(()=>void 0)):function(e,n=!0,t=!0,r,i){let o;let a=nK.location.pathname;if(n){let n={name:a,op:"pageload",origin:"auto.pageload.nextjs.app_router_instrumentation",tags:lG,startTimestamp:e4.Z1?e4.Z1/1e3:void 0,metadata:{source:"url"}};o=e(n),r(n)}t&&(0,ty.U)(n=>{if(void 0!==n.endTimestamp||"GET"!==n.fetchData.method)return;let t=function(e){if(!e[0]||"object"!=typeof e[0]||void 0===e[0].searchParams||!e[1]||"object"!=typeof e[1]||!("headers"in e[1]))return null;try{let n=e[0],t=e[1].headers;if("1"!==t.RSC||"1"===t["Next-Router-Prefetch"])return null;return{targetPathname:n.pathname}}catch(e){return null}}(n.args);if(null===t)return;let r=t.targetPathname,s={...lG,from:a};a=r,o&&o.end();let l={name:r,op:"navigation",origin:"auto.navigation.nextjs.app_router_instrumentation",tags:s,metadata:{source:"url"}};e(l),i(l)})}(e,n,t,r||(()=>void 0),i||(()=>void 0))}class lX extends l${constructor(e){super({tracingOrigins:[...sb.tracingOrigins,/^(api\/)/],routingInstrumentation:lJ,...e})}}function l0(e){let n=sK({tracingOrigins:[...sb.tracingOrigins,/^(api\/)/],...e,instrumentNavigation:!1,instrumentPageLoad:!1}),t={...n.options,instrumentPageLoad:!0,instrumentNavigation:!0,...e};return{...n,options:t,afterAllSetup(e){let r=n=>{sz(e,n)},i=n=>{sq(e,n)};lJ(()=>void 0,!1,t.instrumentNavigation,r,i),n.afterAllSetup(e),lJ(()=>void 0,t.instrumentPageLoad,!1,r,i)}}}var l1=t(45442);let l2="RewriteFrames",l3=(e={})=>{let n=e.root,t=e.prefix||"app:///",r=e.iteratee||(e=>{if(!e.filename)return e;let r=/^[a-zA-Z]:\\/.test(e.filename)||e.filename.includes("\\")&&!e.filename.includes("/"),i=/^\//.test(e.filename);if(r||i){let i=r?e.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):e.filename,o=n?(0,l1.Gf)(n,i):(0,l1.EZ)(i);e.filename=`${t}${o}`}return e});return{name:l2,setupOnce(){},processEvent(e){let n=e;return e.exception&&Array.isArray(e.exception.values)&&(n=function(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>{var n;return{...e,...e.stacktrace&&{stacktrace:{...n=e.stacktrace,frames:n&&n.frames&&n.frames.map(e=>r(e))}}}})}}}catch(n){return e}}(n)),n}}};es(l2,l3);let l5=ew.GLOBAL_OBJ,l4=e=>{let n=l5.__rewriteFramesAssetPrefixPath__||"";return l3({iteratee:e=>{try{let{origin:t}=new URL(e.filename);e.filename=(0,t5.x)([e,"access",e=>e.filename,"optionalAccess",e=>e.replace,"call",e=>e(t,"app://"),"access",e=>e.replace,"call",e=>e(n,"")])}catch(e){}return e.filename&&e.filename.startsWith("app:///_next")&&(e.filename=decodeURI(e.filename)),e.filename&&e.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(e.in_app=!1),e},...e})},l8=ew.GLOBAL_OBJ;async function l6(){try{await (0,Y.yl)(2e3)}catch(e){}}async function l7(e){let{req:n,res:t,err:r}=e,i=t&&t.statusCode||e.statusCode;if(i&&i<500||!e.pathname)return Promise.resolve();(0,Y.$e)(e=>{n&&e.setSDKProcessingMetadata({request:n}),(0,Y.Tb)(r||`_error.js called with falsy error (${r})`,{mechanism:{type:"instrument",handled:!1,data:{function:"_error.getInitialProps"}}})}),await l6()}var l9=t(26454),ue=t(74702);function un(){return ue.env.NEXT_PHASE===l9.PHASE_PRODUCTION_BUILD}var ut=t(74702);let ur=()=>!ut.env.LAMBDA_TASK_ROOT&&!ut.env.VERCEL;function ui(e){return e._sentrySpan}function uo(e){return async function(...n){try{return await e.apply(this,n)}catch(e){throw(0,Y.Tb)(e,{mechanism:{handled:!1}}),e}}}function ua(e,n,t,r){return async function(...i){return(0,Y.wi)(async o=>(o.setSDKProcessingMetadata({request:n}),nt({sentryTrace:n.headers&&(0,eD.HD)(n.headers["sentry-trace"])?n.headers["sentry-trace"]:void 0,baggage:(0,t5.x)([n,"access",e=>e.headers,"optionalAccess",e=>e.baggage])},()=>{let o=ui(n);if(!o&&(o=ne({name:r.requestedRouteName,op:"http.server",attributes:{[eO]:"auto.function.nextjs",[eA]:"route"}}))){var a,s;o.setStatus("ok"),a=o,n._sentrySpan=a,s=o,t.end&&!t.end.__sentry_original__&&(0,Q.hl)(t,"end",e=>function(...n){return s&&(nc(s,this.statusCode),s.end()),e.call(this,...n)})}let l=()=>e9({op:"function.nextjs",name:`${r.dataFetchingMethodName} (${r.dataFetcherRouteName})`,attributes:{[eO]:"auto.function.nextjs",[eA]:"route"}},async n=>{(0,t5.x)([n,"optionalAccess",e=>e.setStatus,"call",e=>e("ok")]);try{return await e.apply(this,i)}catch(e){throw(0,t5.x)([n,"optionalAccess",e=>e.setStatus,"call",e=>e("internal_error")]),(0,t5.x)([o,"optionalAccess",e=>e.setStatus,"call",e=>e("internal_error")]),e}finally{(0,t5.x)([n,"optionalAccess",e=>e.end,"call",e=>e()]),ur()||await l6()}});return o?(0,Y._d)(o,l):l()})))}}async function us(e,n,t){let{parameterizedRoute:r,dataFetchingMethodName:i}=t;return e7({op:"function.nextjs",name:`${i} (${r})`,attributes:{[eO]:"auto.function.nextjs",[eA]:"route"}},async t=>{(0,t5.x)([t,"optionalAccess",e=>e.setStatus,"call",e=>e("ok")]);try{return await e(...n)}catch(e){throw(0,t5.x)([t,"optionalAccess",e=>e.setStatus,"call",e=>e("internal_error")]),(0,Y.Tb)(e,{mechanism:{handled:!1}}),e}finally{(0,t5.x)([t,"optionalAccess",e=>e.end,"call",e=>e()]),ur()||await l6()}})}function ul(e,n){return new Proxy(e,{apply:(e,t,r)=>{if(un())return e.apply(t,r);nC();let i=uo(e),o=(0,t5.x)([Y.s3,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);return"sentry"===(0,t5.x)([o,"optionalAccess",e=>e.instrumenter])?us(i,r,{parameterizedRoute:n,dataFetchingMethodName:"getStaticProps"}):i.apply(t,r)}})}let uu=ul;var uc=t(18818);function ud(e){return new Proxy(e,{apply:async(e,n,t)=>{if(un())return e.apply(n,t);nC();let[r]=t,{req:i,res:o}=r,a=uo(e),s=(0,t5.x)([Y.s3,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);if(!i||!o||"sentry"!==(0,t5.x)([s,"optionalAccess",e=>e.instrumenter]))return a.apply(n,t);{let e=ua(a,i,o,{dataFetcherRouteName:r.pathname,requestedRouteName:r.pathname,dataFetchingMethodName:"getInitialProps"}),s=await (0,uc.x)(await e.apply(n,t),async()=>({})),l=nn(),u=(0,t3.h)(ui(i),()=>l?(0,ns.G)(l):void 0);if(u){s._sentryTraceData=(0,eY.Hb)(u);let e=(0,eH.j)(u);s._sentryBaggage=(0,s_.IQ)(e)}return s}}})}let up=ud;function uh(e){return new Proxy(e,{apply:async(e,n,t)=>{if(un())return e.apply(n,t);nC();let[r]=t,{req:i,res:o}=r.ctx,a=uo(e),s=(0,t5.x)([Y.s3,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);if(!i||!o||"sentry"!==(0,t5.x)([s,"optionalAccess",e=>e.instrumenter]))return a.apply(n,t);{let e=ua(a,i,o,{dataFetcherRouteName:"/_app",requestedRouteName:r.ctx.pathname,dataFetchingMethodName:"getInitialProps"}),s=await e.apply(n,t),l=nn(),u=(0,t3.h)(ui(i),()=>l?(0,ns.G)(l):void 0);if(s.pageProps||(s.pageProps={}),u){s.pageProps._sentryTraceData=(0,eY.Hb)(u);let e=(0,eH.j)(u);s.pageProps._sentryBaggage=(0,s_.IQ)(e)}return s}}})}let uf=uh;function um(e){return new Proxy(e,{apply:(e,n,t)=>{if(un())return e.apply(n,t);nC();let[r]=t,{req:i,res:o}=r,a=uo(e),s=(0,t5.x)([Y.s3,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);return i&&o&&"sentry"===(0,t5.x)([s,"optionalAccess",e=>e.instrumenter])?ua(a,i,o,{dataFetcherRouteName:"/_document",requestedRouteName:r.pathname,dataFetchingMethodName:"getInitialProps"}).apply(n,t):a.apply(n,t)}})}let ug=um;function uy(e){return new Proxy(e,{apply:async(e,n,t)=>{if(un())return e.apply(n,t);nC();let[r]=t,{req:i,res:o}=r,a=uo(e),s=(0,t5.x)([Y.s3,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);if(!i||!o||"sentry"!==(0,t5.x)([s,"optionalAccess",e=>e.instrumenter]))return a.apply(n,t);{let e=ua(a,i,o,{dataFetcherRouteName:"/_error",requestedRouteName:r.pathname,dataFetchingMethodName:"getInitialProps"}),s=await e.apply(n,t),l=nn(),u=(0,t3.h)(ui(i),()=>l?(0,ns.G)(l):void 0);if(u){s._sentryTraceData=(0,eY.Hb)(u);let e=(0,eH.j)(u);s._sentryBaggage=(0,s_.IQ)(e)}return s}}})}let u_=uy;function uv(e,n){return new Proxy(e,{apply:async(e,t,r)=>{if(un())return e.apply(t,r);nC();let[i]=r,{req:o,res:a}=i,s=uo(e),l=(0,t5.x)([Y.s3,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e()]);if("sentry"!==(0,t5.x)([l,"optionalAccess",e=>e.instrumenter]))return s.apply(t,r);{let e=ua(s,o,a,{dataFetcherRouteName:n,requestedRouteName:n,dataFetchingMethodName:"getServerSideProps"}),i=await e.apply(t,r);if(i&&"props"in i){let e=nn(),n=(0,t3.h)(ui(o),()=>e?(0,ns.G)(e):void 0);if(n){i.props._sentryTraceData=(0,eY.Hb)(n);let e=(0,eH.j)(n);i.props._sentryBaggage=(0,s_.IQ)(e)}}return i}}})}let ub=uv;var uC=t(19888);function ux(e){return(0,eD.VZ)(e)&&"NEXT_NOT_FOUND"===e.digest}function uk(e){return(0,eD.VZ)(e)&&"string"==typeof e.digest&&e.digest.startsWith("NEXT_REDIRECT;")}let uw=new WeakMap;function uE(e,n){return"object"==typeof e&&e?uw.get(e)||(uw.set(e,n),n):n}function uT(e,n){nC();let{componentRoute:t,componentType:r}=n;return new Proxy(e,{apply:(e,i,o)=>(0,Y.wi)(a=>{let s=n.headers?(0,uC.Zm)(n.headers):{};a.setSDKProcessingMetadata({request:{headers:s}});let l=(0,e0.pT)((0,t3.h)(n.sentryTraceHeader,()=>s["sentry-trace"]),(0,t3.h)(n.baggageHeader,()=>s.baggage)),u=uE(n.headers,l);return a.setPropagationContext(u),(0,Y.nZ)().setPropagationContext(u),e9({op:"function.nextjs",name:`${r} Server Component (${t})`,attributes:{[eA]:"component",[eO]:"auto.function.nextjs"}},n=>e8(()=>e.apply(i,o),e=>{ux(e)?(0,t5.x)([n,"optionalAccess",e=>e.setStatus,"call",e=>e("not_found")]):uk(e)?(0,t5.x)([n,"optionalAccess",e=>e.setStatus,"call",e=>e("ok")]):((0,t5.x)([n,"optionalAccess",e=>e.setStatus,"call",e=>e("internal_error")]),(0,Y.Tb)(e,{mechanism:{handled:!1}}))},()=>{(0,t5.x)([n,"optionalAccess",e=>e.end,"call",e=>e()]),l6()}))})})}function uS(e,n){nC();let{method:t,parameterizedRoute:r,baggageHeader:i,sentryTraceHeader:o,headers:a}=n;return new Proxy(e,{apply:(e,n,s)=>(0,Y.wi)(async l=>(l.setSDKProcessingMetadata({request:{headers:a?(0,uC.Zm)(a):void 0}}),nt({sentryTrace:(0,t3.h)((0,t3.h)(o,()=>(0,t5.x)([a,"optionalAccess",e=>e.get,"call",e=>e("sentry-trace")])),()=>void 0),baggage:(0,t3.h)(i,()=>(0,t5.x)([a,"optionalAccess",e=>e.get,"call",e=>e("baggage")]))},async()=>{try{return await e7({op:"http.server",name:`${t} ${r}`,attributes:{[eA]:"route",[eO]:"auto.function.nextjs"}},async t=>{let r=await e8(()=>e.apply(n,s),e=>{uk(e)||(0,Y.Tb)(e,{mechanism:{handled:!1}})});try{t&&nc(t,r.status)}catch(e){}return r})}finally{ur()||await l6()}})))})}function uI(e,n){return new Proxy(e,{apply:(e,t,r)=>(0,et.Ok)(()=>{let i;if(!r||!r[0])return e.apply(t,r);nC();let[o]=r,a="nextUrl"in o?o.nextUrl.pathname:o.url,s="nextUrl"in o?o.headers.get("user-agent"):o.headers["user-agent"];if(!n||!(0,t5.x)([s,"optionalAccess",e=>e.includes,"call",e=>e("vercel-cron")]))return e.apply(t,r);let l=n.find(e=>e.path===a);if(!l||!l.path||!l.schedule)return e.apply(t,r);let u=l.path,c=(0,Y.c)({monitorSlug:u,status:"in_progress"},{maxRuntime:720,schedule:{type:"crontab",value:l.schedule}}),d=Date.now()/1e3,p=()=>{(0,Y.c)({checkInId:c,monitorSlug:u,status:"error",duration:Date.now()/1e3-d})};try{i=e.apply(t,r)}catch(e){throw p(),e}return"object"==typeof i&&null!==i&&"then"in i?Promise.resolve(i).then(()=>{(0,Y.c)({checkInId:c,monitorSlug:u,status:"ok",duration:Date.now()/1e3-d})},()=>{p()}):(0,Y.c)({checkInId:c,monitorSlug:u,status:"ok",duration:Date.now()/1e3-d}),i})})}function uR(e){return new Proxy(e,{apply:(e,n,t)=>{var r;return(r={spanDescription:"middleware",spanOp:"middleware.nextjs",mechanismFunctionName:"withSentryMiddleware"},async function(...n){let t,i;nC();let o=n[0];return o instanceof Request&&(t=o.headers.get("sentry-trace")||"",i=o.headers.get("baggage")),nt({sentryTrace:t,baggage:i},()=>e7({name:r.spanDescription,op:r.spanOp,attributes:{[eA]:"route",[eO]:"auto.function.nextjs.withEdgeWrapping"},metadata:{request:o instanceof Request?(0,uC.se)(o):void 0}},async t=>{let i=await e8(()=>e.apply(this,n),e=>{(0,Y.Tb)(e,{mechanism:{type:"instrument",handled:!1,data:{function:r.mechanismFunctionName}}})});return t&&(i instanceof Response?nc(t,i.status):t.setStatus("ok")),i}).finally(()=>l6()))}).apply(n,t)}})}function uA(e){return(nC(),"function"==typeof e&&(0,t5.x)([e,"optionalAccess",e=>e.prototype,"optionalAccess",e=>e.isReactComponent]))?class extends e{render(...e){return(0,et.Ok)(()=>{let n=(0,Y.nZ)(),t="object"==typeof this.props&&null!==this.props&&"_sentryTraceData"in this.props&&"string"==typeof this.props._sentryTraceData?this.props._sentryTraceData:void 0;if(t){let e=(0,e0.qG)(t);n.setContext("trace",{span_id:(0,t5.x)([e,"optionalAccess",e=>e.parentSpanId]),trace_id:(0,t5.x)([e,"optionalAccess",e=>e.traceId])})}try{return super.render(...e)}catch(e){throw(0,Y.Tb)(e,{mechanism:{handled:!1}}),e}})}}:"function"==typeof e?new Proxy(e,{apply:(e,n,t)=>(0,et.Ok)(()=>{let r=(0,Y.nZ)(),i=(0,t5.x)([t,"optionalAccess",e=>e[0],"optionalAccess",e=>e._sentryTraceData]);if(i){let e=(0,e0.qG)(i);r.setContext("trace",{span_id:(0,t5.x)([e,"optionalAccess",e=>e.parentSpanId]),trace_id:(0,t5.x)([e,"optionalAccess",e=>e.traceId])})}try{return e.apply(n,t)}catch(e){throw(0,Y.Tb)(e,{mechanism:{handled:!1}}),e}})}):e}function uP(e,n){nC();let{requestAsyncStorage:t,componentRoute:r,componentType:i,generationFunctionIdentifier:o}=n;return new Proxy(e,{apply:(e,n,a)=>{let s,l;try{s=(0,t5.x)([t,"optionalAccess",e=>e.getStore,"call",e=>e(),"optionalAccess",e=>e.headers])}catch(e){}if((0,t5.x)([Y.s3,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e(),"access",e=>e.sendDefaultPii])){let e=a[0];l={params:e&&"object"==typeof e&&"params"in e?e.params:void 0,searchParams:e&&"object"==typeof e&&"searchParams"in e?e.searchParams:void 0}}return(0,Y.wi)(t=>{t.setSDKProcessingMetadata({request:{headers:s?(0,uC.Zm)(s):void 0}}),t.setExtra("route_data",l);let u=(0,e0.pT)((0,t3.h)((0,t5.x)([s,"optionalAccess",e=>e.get,"call",e=>e("sentry-trace")]),()=>void 0),(0,t5.x)([s,"optionalAccess",e=>e.get,"call",e=>e("baggage")])),c=uE(s,u);return t.setPropagationContext(c),(0,Y.nZ)().setPropagationContext(c),e9({op:"function.nextjs",name:`${i}.${o} (${r})`,data:l,attributes:{[eA]:"route",[eO]:"auto.function.nextjs"}},t=>e8(()=>e.apply(n,a),e=>{ux(e)?(0,t5.x)([t,"optionalAccess",e=>e.setStatus,"call",e=>e("not_found")]):uk(e)?(0,t5.x)([t,"optionalAccess",e=>e.setStatus,"call",e=>e("ok")]):((0,t5.x)([t,"optionalAccess",e=>e.setStatus,"call",e=>e("internal_error")]),(0,Y.Tb)(e,{mechanism:{handled:!1}}))},()=>{(0,t5.x)([t,"optionalAccess",e=>e.end,"call",e=>e()])}))})}})}function uN(...e){if("function"==typeof e[1]){let[n,t]=e;return uO(n,{},t)}{let[n,t,r]=e;return uO(n,t,r)}}async function uO(e,n,t){return nC(),(0,Y.wi)(r=>{let i,o;let a=(0,t5.x)([Y.s3,"call",e=>e(),"optionalAccess",e=>e.getOptions,"call",e=>e(),"access",e=>e.sendDefaultPii]),s={};try{i=(0,t3.h)((0,t5.x)([n,"access",e=>e.headers,"optionalAccess",e=>e.get,"call",e=>e("sentry-trace")]),()=>void 0),o=(0,t5.x)([n,"access",e=>e.headers,"optionalAccess",e=>e.get,"call",e=>e("baggage")]),(0,t5.x)([n,"access",e=>e.headers,"optionalAccess",e=>e.forEach,"call",e=>e((e,n)=>{s[n]=e})])}catch(e){}return r.setSDKProcessingMetadata({request:{headers:s}}),nt({sentryTrace:i,baggage:o},async()=>{try{return await e7({op:"function.server_action",name:`serverAction/${e}`,metadata:{source:"route"}},async e=>{let r=await e8(t,n=>{ux(n)?(0,t5.x)([e,"optionalAccess",e=>e.setStatus,"call",e=>e("not_found")]):uk(n)||((0,t5.x)([e,"optionalAccess",e=>e.setStatus,"call",e=>e("internal_error")]),(0,Y.Tb)(n,{mechanism:{handled:!1}}))});return(void 0!==n.recordResponse?n.recordResponse:a)&&(0,et.aF)().setExtra("server_action_result",r),n.formData&&n.formData.forEach((e,n)=>{(0,et.aF)().setExtra(`server_action_form_data.${n}`,"string"==typeof e?e:"[non-string value]")}),r})}finally{ur()||await l6()}})})}let uL={...la,BrowserTracing:lX};function uM(e){let n={environment:function(e){let n=e?lq.env.NEXT_PUBLIC_VERCEL_ENV:lq.env.VERCEL_ENV;return n?`vercel-${n}`:void 0}(!0)||"production",defaultIntegrations:[...tY(e),l4()],...e};(function(e){let{integrations:n}=e;n&&(Array.isArray(n)?e.integrations=uD(n):e.integrations=e=>uD(n(e)))})(n),function(e){let n=l8.__sentryRewritesTunnelPath__;if(n&&e.dsn){let t=(0,eM.U4)(e.dsn);if(!t)return;let r=t.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let i=r[1],o=r[2],a=`${n}?o=${i}&p=${t.projectId}`;o&&(a+=`&r=${o}`),e.tunnel=a}}}(n),W(n,"nextjs",["nextjs","react"]),function(e){let n={...e};W(n,"react"),function(e={}){void 0===e.defaultIntegrations&&(e.defaultIntegrations=tY()),void 0===e.release&&("string"==typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),nK.SENTRY_RELEASE&&nK.SENTRY_RELEASE.id&&(e.release=nK.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0),function(e,n){!0===n.debug&&(ee.X?X.kg.enable():(0,X.Cf)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,Y.nZ)().update(n.initialScope);let t=new e(n);nB(t),t.init?t.init():t.setupIntegrations&&t.setupIntegrations()}(n2,{...e,stackParser:(0,n8.Sq)(e.stackParser||td),integrations:function(e){let n=e.defaultIntegrations||[],t=e.integrations;n.forEach(e=>{e.isDefaultInstance=!0});let r=function(e){let n={};return e.forEach(e=>{let{name:t}=e,r=n[t];r&&!r.isDefaultInstance&&e.isDefaultInstance||(n[t]=e)}),Object.keys(n).map(e=>n[e])}(Array.isArray(t)?[...n,...t]:"function"==typeof t?(0,J.lE)(t(n)):n),i=function(e,n){for(let t=0;t"Debug"===e.name);if(-1!==i){let[e]=r.splice(i,1);r.push(e)}return r}(e),transport:e.transport||((0,n3.Ak)()?n5:n4)}),e.autoSessionTracking&&void 0!==nK.document&&((0,Y.yj)({ignoreDuration:!0}),(0,Y.cg)(),(0,th.a)(({from:e,to:n})=>{void 0!==e&&e!==n&&((0,Y.yj)({ignoreDuration:!0}),(0,Y.cg)())}))}(n)}(n);let t=(0,Y.nZ)();t.setTag("runtime","browser");let r=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;r.id="NextClient404Filter",t.addEventProcessor(r)}function uD(e){let n=e.find(e=>"BrowserTracing"===e.name);if(!n)return e;if(n.afterAllSetup&&n.options){let{options:t}=n;e[e.indexOf(n)]=l0(t)}if(!(n instanceof lX)){let t=n.options;delete t.routingInstrumentation,delete t.tracingOrigins,e[e.indexOf(n)]=new lX(t)}return e}function uF(e){return e}},75354:function(e,n,t){"use strict";t.d(n,{AS:function(){return p},Bj:function(){return u},QO:function(){return d},af:function(){return h},l5:function(){return l},lB:function(){return s},mU:function(){return a},nz:function(){return o},oK:function(){return c},xN:function(){return r},yA:function(){return i}}),t(80716),t(70870);var r={right:"_1agz5xb1 _1agz5xb0",left:"_1agz5xb2 _1agz5xb0",floatRight:"_1agz5xb3 _1agz5xb0",hideImage:"_1agz5xb0"},i="_1agz5xb0",o="_1agz5xbg",a="_1agz5xbh",s={square:"_1agz5xba",squareMobile:"_1agz5xbb",wide:"_1agz5xbc"},l="_1agz5xbf",u={right:"_1agz5xb6 _1agz5xb5",left:"_1agz5xb7 _1agz5xb5",floatRight:"_1agz5xb8 _1agz5xb5",hideImage:"_1agz5xb9"},c="_1agz5xb5",d="_1agz5xbi",p="_1agz5xbe",h="_1agz5xbd"},2354:function(e,n,t){"use strict";t.d(n,{Fp:function(){return i},MI:function(){return r},aS:function(){return o}}),t(16228);var r="fp8pvk1",i="fp8pvk2",o="fp8pvk0"},97456:function(e,n,t){"use strict";t.d(n,{aS:function(){return r},k$:function(){return a},w8:function(){return i},zs:function(){return o}}),t(86820);var r="a0d76n0",i="a0d76n1",o="a0d76n2",a="a0d76n3"},71343:function(e,n,t){"use strict";t.d(n,{BV:function(){return s},aS:function(){return i},er:function(){return r},sq:function(){return o},zs:function(){return a}}),t(6591);var r={1:"_1cz9p5m2",2:"_1cz9p5m3",3:"_1cz9p5m4"},i="_1cz9p5m0",o="_1cz9p5m5",a="_1cz9p5m1",s="_1cz9p5m6"},92015:function(e,n,t){"use strict";t.r(n),t.d(n,{srOnly:function(){return r}}),t(9237);var r="_142ra0g0"},22178:function(e,n,t){"use strict";t.r(n),t.d(n,{articleOffset:function(){return r},aspectRatio:function(){return i},blockSpacing:function(){return o},bodyBg:function(){return a},bodyPadding:function(){return s},bodyPaddingBottom:function(){return l},bodyPaddingTopLarge:function(){return u},bodyPaddingTopSmall:function(){return c},borderTop:function(){return d},fancyBorder:function(){return p},flexAppContainer:function(){return h},growContainer:function(){return f},hide:function(){return m},hideDesktop:function(){return g},hideScrollbar:function(){return y},hideTabletPlus:function(){return _},mainColumn:function(){return v},mainColumnDesktop:function(){return b},navigationOverhangPadding:function(){return C},navigationOverhangPaddingWithoutMobile:function(){return x},pipeSeparator:function(){return k},showDesktop:function(){return w},showTablet:function(){return E},showTabletPlus:function(){return T},singleColumn:function(){return S},spaceSeparator:function(){return I},standardSpacing:function(){return R}}),t(51510);var r="_1agbrixy",i={none:"_1agbrixt",square:"_1agbrixu",horizontal:"_1agbrixv",vertical:"_1agbrixw"},o={small:"_1agbrixh",large:"_1agbrixi",insetSmall:"_1agbrixj",insetLarge:"_1agbrixk"},a="_1agbrix0",s="_1agbrix8 _1agbrix9 _1agbrixa",l="_1agbrixa",u="_1agbrix9",c="_1agbrix8",d="_1agbrixz",p="_1agbrixx",h="_1agbrix1",f="_1agbrix2",m="_1agbrixs",g="_1agbrixo",y="_1agbrix10",_="_1agbrixl",v="_1agbrix3",b="_1agbrix4",C="_1agbrix7",x="_1agbrix6",k="_1agbrixq",w="_1agbrixp",E="_1agbrixn",T="_1agbrixm",S="_1agbrix5",I="_1agbrixr",R={xsmall:"_1agbrixc",small:"_1agbrixd",medium:"_1agbrixe",large:"_1agbrixf",xlarge:"_1agbrixg"}},87024:function(e,n,t){"use strict";t.r(n),t.d(n,{hangingPunctuation:function(){return r},ledeTextColor:function(){return i},linkStyles:function(){return o},metaText:function(){return a},metaTextVariant:function(){return s},paragraphSpacing:function(){return l},paragraphSpacingBetween:function(){return u}}),t(699);var r="xkp0cg7",i={standard:"xkp0cg8",fullWidth:"xkp0cg9",split:"xkp0cga",specialFullWidth:"xkp0cgb",specialSplit:"xkp0cgc",overlay:"xkp0cgd",brandedVertical:"xkp0cge",brandedFullWidth:"xkp0cgf",stream:"xkp0cgg"},o="xkp0cg0",a="xkp0cg3",s={box:"xkp0cg4 xkp0cg3",standard:"xkp0cg5 xkp0cg3",special:"xkp0cg6 xkp0cg3"},l="xkp0cg1",u="xkp0cg2"},68689:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return t(2570)}])},85369:function(e,n,t){"use strict";t.d(n,{Z:function(){return er}});var r=t(31561),i=t(35458),o=t(55670),a=t(82201);let s="undefined"!=typeof document?a.useLayoutEffect:()=>{};"undefined"!=typeof window&&window.document&&window.document.createElement;let l=e=>{var n;return null!==(n=null==e?void 0:e.ownerDocument)&&void 0!==n?n:document},u=e=>e&&"window"in e&&e.window===e?e:l(e).defaultView||window,c=new Map,d=new Set;function p(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let n=t=>{if(!e(t)||!t.target)return;let r=c.get(t.target);if(r&&(r.delete(t.propertyName),0===r.size&&(t.target.removeEventListener("transitioncancel",n),c.delete(t.target)),0===c.size)){for(let e of d)e();d.clear()}};document.body.addEventListener("transitionrun",t=>{if(!e(t)||!t.target)return;let r=c.get(t.target);r||(r=new Set,c.set(t.target,r),t.target.addEventListener("transitioncancel",n,{once:!0})),r.add(t.propertyName)}),document.body.addEventListener("transitionend",n)}"undefined"!=typeof document&&("loading"!==document.readyState?p():document.addEventListener("DOMContentLoaded",p)),"undefined"!=typeof document&&window.visualViewport,new WeakMap,a.createContext({register:()=>{}}).displayName="PressResponderContext";Symbol("linkClicked");let h=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);class f{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,n){this.nativeEvent=n,this.target=n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget,this.bubbles=n.bubbles,this.cancelable=n.cancelable,this.defaultPrevented=n.defaultPrevented,this.eventPhase=n.eventPhase,this.isTrusted=n.isTrusted,this.timeStamp=n.timeStamp,this.type=e}}function m(e){let n=(0,a.useRef)({isFocused:!1,observer:null});s(()=>{let e=n.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let t=function(e){let n=(0,a.useRef)(null);return s(()=>{n.current=e},[e]),(0,a.useCallback)((...e)=>{let t=n.current;return null==t?void 0:t(...e)},[])}(n=>{null==e||e(n)});return(0,a.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){n.current.isFocused=!0;let r=e.target;r.addEventListener("focusout",e=>{n.current.isFocused=!1,r.disabled&&t(new f("blur",e)),n.current.observer&&(n.current.observer.disconnect(),n.current.observer=null)},{once:!0}),n.current.observer=new MutationObserver(()=>{if(n.current.isFocused&&r.disabled){var e;null===(e=n.current.observer)||void 0===e||e.disconnect();let t=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}}),n.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[t])}let g=null,y=new Set,_=new Map,v=!1,b=!1,C={Tab:!0,Escape:!0};function x(e,n){for(let t of y)t(e,n)}function k(e){var n,t;v=!0,e.metaKey||(n=/^Mac/i,!("undefined"!=typeof window&&null!=window.navigator&&n.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform))&&e.altKey)||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(g="keyboard",x("keyboard",e))}function w(e){g="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(v=!0,x("pointer",e))}function E(e){var n,t;(0===e.mozInputSource&&e.isTrusted||((n=/Android/i,"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some(e=>n.test(e.brand)))||n.test(window.navigator.userAgent))&&e.pointerType)?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(v=!0,g="virtual")}function T(e){e.target!==window&&e.target!==document&&(v||b||(g="virtual",x("virtual",e)),v=!1,b=!1)}function S(){v=!1,b=!0}function I(e){if("undefined"==typeof window||_.get(u(e)))return;let n=u(e),t=l(e),r=n.HTMLElement.prototype.focus;n.HTMLElement.prototype.focus=function(){v=!0,r.apply(this,arguments)},t.addEventListener("keydown",k,!0),t.addEventListener("keyup",k,!0),t.addEventListener("click",E,!0),n.addEventListener("focus",T,!0),n.addEventListener("blur",S,!1),"undefined"!=typeof PointerEvent?(t.addEventListener("pointerdown",w,!0),t.addEventListener("pointermove",w,!0),t.addEventListener("pointerup",w,!0)):(t.addEventListener("mousedown",w,!0),t.addEventListener("mousemove",w,!0),t.addEventListener("mouseup",w,!0)),n.addEventListener("beforeunload",()=>{R(e)},{once:!0}),_.set(n,{focus:r})}let R=(e,n)=>{let t=u(e),r=l(e);n&&r.removeEventListener("DOMContentLoaded",n),_.has(t)&&(t.HTMLElement.prototype.focus=_.get(t).focus,r.removeEventListener("keydown",k,!0),r.removeEventListener("keyup",k,!0),r.removeEventListener("click",E,!0),t.removeEventListener("focus",T,!0),t.removeEventListener("blur",S,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",w,!0),r.removeEventListener("pointermove",w,!0),r.removeEventListener("pointerup",w,!0)):(r.removeEventListener("mousedown",w,!0),r.removeEventListener("mousemove",w,!0),r.removeEventListener("mouseup",w,!0)),_.delete(t))};function A(){return"pointer"!==g}"undefined"!=typeof document&&function(e){let n;let t=l(void 0);"loading"!==t.readyState?I(void 0):(n=()=>{I(void 0)},t.addEventListener("DOMContentLoaded",n)),()=>R(e,n)}();let P=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),N=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"];N.join(":not([hidden]),"),N.push('[tabindex]:not([tabindex="-1"]):not([disabled])'),N.join(':not([hidden]):not([tabindex="-1"]),');class O{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,n,t){let r=this.fastMap.get(null!=n?n:null);if(!r)return;let i=new L({scopeRef:e});r.addChild(i),i.parent=r,this.fastMap.set(e,i),t&&(i.nodeToRestore=t)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let n=this.fastMap.get(e);if(!n)return;let t=n.parent;for(let e of this.traverse())e!==n&&n.nodeToRestore&&e.nodeToRestore&&n.scopeRef&&n.scopeRef.current&&function(e,n){return!!e&&!!n&&n.some(n=>n.contains(e))}(e.nodeToRestore,n.scopeRef.current)&&(e.nodeToRestore=n.nodeToRestore);let r=n.children;t&&(t.removeChild(n),r.size>0&&r.forEach(e=>t&&t.addChild(e))),this.fastMap.delete(n.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let n of e.children)yield*this.traverse(n)}clone(){var e,n;let t=new O;for(let r of this.traverse())t.addTreeNode(r.scopeRef,null!==(n=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==n?n:null,r.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new L({scopeRef:null}),this.fastMap.set(null,this.root)}}class L{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}function M(e={}){var n,t,r;let{autoFocus:i=!1,isTextInput:o,within:s}=e,l=(0,a.useRef)({isFocused:!1,isFocusVisible:i||A()}),[c,d]=(0,a.useState)(!1),[p,h]=(0,a.useState)(()=>l.current.isFocused&&l.current.isFocusVisible),f=(0,a.useCallback)(()=>h(l.current.isFocused&&l.current.isFocusVisible),[]),g=(0,a.useCallback)(e=>{l.current.isFocused=e,d(e),f()},[f]);n=e=>{l.current.isFocusVisible=e,f()},t=[],r={isTextInput:o},I(),(0,a.useEffect)(()=>{let e=(e,t)=>{(function(e,n,t){var r;let i="undefined"!=typeof window?u(null==t?void 0:t.target).HTMLInputElement:HTMLInputElement,o="undefined"!=typeof window?u(null==t?void 0:t.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?u(null==t?void 0:t.target).HTMLElement:HTMLElement,s="undefined"!=typeof window?u(null==t?void 0:t.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==t?void 0:t.target)instanceof i&&!P.has(null==t?void 0:null===(r=t.target)||void 0===r?void 0:r.type)||(null==t?void 0:t.target)instanceof o||(null==t?void 0:t.target)instanceof a&&(null==t?void 0:t.target.isContentEditable))&&"keyboard"===n&&t instanceof s&&!C[t.key])})(!!(null==r?void 0:r.isTextInput),e,t)&&n(A())};return y.add(e),()=>{y.delete(e)}},t);let{focusProps:_}=function(e){let{isDisabled:n,onFocus:t,onBlur:r,onFocusChange:i}=e,o=(0,a.useCallback)(e=>{if(e.target===e.currentTarget)return r&&r(e),i&&i(!1),!0},[r,i]),s=m(o),l=(0,a.useCallback)(e=>{e.target===e.currentTarget&&document.activeElement===e.target&&(t&&t(e),i&&i(!0),s(e))},[i,t,s]);return{focusProps:{onFocus:!n&&(t||i||r)?l:void 0,onBlur:!n&&(r||i)?o:void 0}}}({isDisabled:s,onFocusChange:g}),{focusWithinProps:v}=function(e){let{isDisabled:n,onBlurWithin:t,onFocusWithin:r,onFocusWithinChange:i}=e,o=(0,a.useRef)({isFocusWithin:!1}),s=(0,a.useCallback)(e=>{o.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(o.current.isFocusWithin=!1,t&&t(e),i&&i(!1))},[t,i,o]),l=m(s),u=(0,a.useCallback)(e=>{o.current.isFocusWithin||document.activeElement!==e.target||(r&&r(e),i&&i(!0),o.current.isFocusWithin=!0,l(e))},[r,i,l]);return n?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:u,onBlur:s}}}({isDisabled:!s,onFocusWithinChange:g});return{isFocused:c,isFocusVisible:p,focusProps:s?v:_}}new O;var D=t(16934),F=t(92015);t(43723);let j=e=>{let{setPlan:n,currentPlan:t,value:o,frequency:s,setFrequency:l}=e,u=(0,a.useId)(),{isFocusVisible:c,focusProps:d}=M();return(0,r.jsxs)("div",{className:(0,i.Z)("b087eh3"),children:[(0,r.jsx)("input",{...d,className:(0,i.Z)("b087eh4",F.srOnly),name:"plan",type:"radio",checked:t===o,id:`option-${u}`,onChange:()=>{l(s),n(o)}}),(0,r.jsxs)("label",{className:(0,i.Z)("b087eh5",c&&"b087eh8",s===D.H$.annual&&"b087eh9"),htmlFor:`option-${u}`,children:[(0,r.jsx)("div",{className:"b087eh6",children:s===D.H$.monthly?"Monthly Membership":"Annual Membership"}),(0,r.jsx)("div",{className:"b087eh7",children:o.label})]})]})};var B=e=>{let{plan:n,setPlan:t,setFrequency:i}=e;return(0,r.jsxs)("fieldset",{className:"b087eh0",children:[(0,r.jsx)("legend",{className:"b087eh1",children:"Select a plan:"}),(0,r.jsxs)("div",{className:"b087eh2",children:[(0,r.jsx)(j,{setPlan:t,currentPlan:n,value:D.Ws.monthly[0],frequency:D.H$.monthly,setFrequency:i}),(0,r.jsx)(j,{setPlan:t,currentPlan:n,value:D.Ws.annual[0],frequency:D.H$.annual,setFrequency:i})]})]})},U=t(31994);t(94753);var K=({className:e,...n})=>{let{isFocusVisible:t,focusProps:o}=M();return(0,r.jsxs)("div",{className:(0,i.Z)("rq6lt10",e),children:[(0,r.jsx)("input",{...o,className:F.srOnly,type:"radio",...n}),(0,r.jsx)("label",{className:(0,i.Z)("rq6lt11",n.checked&&"rq6lt13",t&&"rq6lt12"),htmlFor:n.id,children:n.label})]})},z=t(98989),q=t(60699);t(51510),t(14480);var H="x0yt3j0",$="x0yt3j5",V=e=>{let{className:n="",viewBox:t="0 0 42 14"}=e;return(0,r.jsx)("svg",{className:n,width:"42",height:"14",viewBox:t,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.5 1C13.1693 1 12.8418 1.01283 12.5177 1.038L12.4403 0.0410045C12.7901 0.0138326 13.1435 0 13.5 0H14.5V1H13.5ZM18.5 1H16.5V0H18.5V1ZM22.5 1H20.5V0H22.5V1ZM26.5 1H24.5V0H26.5V1ZM30.5 1H28.5V0H30.5V1ZM34.5 1H32.5V0H34.5V1ZM38.5 1H36.5V0H38.5V1ZM41.5 1H40.5V0H41.5V1ZM10.5802 1.34272C9.93789 1.49641 9.31483 1.69969 8.71528 1.94831L8.33223 1.02458C8.98009 0.755929 9.65341 0.536247 10.3476 0.370171L10.5802 1.34272ZM6.96837 2.84008C6.40901 3.18358 5.87868 3.56991 5.38198 3.99453L4.73218 3.23443C5.26838 2.77604 5.84098 2.3589 6.44508 1.98793L6.96837 2.84008ZM3.99453 5.38198C3.56991 5.87868 3.18358 6.40901 2.84008 6.96837L1.98793 6.44508C2.3589 5.84098 2.77604 5.26838 3.23443 4.73218L3.99453 5.38198ZM1.94831 8.71528C1.69969 9.31483 1.49641 9.93789 1.34272 10.5802L0.37017 10.3476C0.536247 9.65341 0.755929 8.98009 1.02458 8.33223L1.94831 8.71528ZM1.038 12.5178C1.01283 12.8418 1 13.1693 1 13.5H0C0 13.1435 0.0138325 12.7901 0.0410044 12.4403L1.038 12.5178Z",fill:"black"})})},G=e=>{let{plan:n,setPlan:t,frequency:o,setFrequency:a,textInputOpen:s,setTextInputOpen:l,otherAmount:u,setOtherAmount:c}=e,d=function(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.offerDisplayId||`${e.label}-${e.recurringInterval}`;return(0,r.jsx)("div",{className:"x0yt3j1",children:(0,r.jsx)(K,{checked:n===e,label:e.label,id:o,onChange:()=>{t(e),l(i)}})},o)};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"x0yt3j2",children:[(0,r.jsxs)("div",{className:"x0yt3j9",children:[(0,r.jsx)("div",{className:"x0yt3jc",children:(0,r.jsxs)("div",{className:"x0yt3jd",children:[(0,r.jsx)(V,{className:"_1agbrixm x0yt3je"}),(0,r.jsx)(V,{viewBox:"0 0 10 14",className:"_1agbrixl x0yt3je"}),(0,r.jsx)("div",{className:"x0yt3jk",children:"Membership"}),(0,r.jsx)(V,{className:"_1agbrixm x0yt3jf"}),(0,r.jsx)(V,{viewBox:"0 0 10 14",className:"_1agbrixl x0yt3jf"})]})}),(0,r.jsxs)("div",{className:"x0yt3ja",children:[(0,r.jsx)(U.Z,{type:"button",className:(0,i.Z)("x0yt3j6 x0yt3j3 x0yt3j4",o===D.H$.monthly&&$),fullWidth:!0,displayType:"secondary",text:"Monthly",onClick:()=>a(D.H$.monthly)}),(0,r.jsx)(U.Z,{type:"button",className:(0,i.Z)("x0yt3j3 x0yt3j4",o===D.H$.annual&&$),fullWidth:!0,displayType:"secondary",text:"Annual",onClick:()=>a(D.H$.annual)})]})]}),(0,r.jsx)("div",{className:"x0yt3jb",children:(0,r.jsx)(U.Z,{type:"button",className:(0,i.Z)("x0yt3j8 x0yt3j3",o===D.H$.onetime&&$),fullWidth:!0,displayType:"secondary",text:"One-time",onClick:()=>a(D.H$.onetime)})})]}),(0,r.jsxs)("div",{className:"x0yt3jl",children:[(0,r.jsxs)("div",{className:(0,i.Z)(o===D.H$.monthly?H:q.F.layout.hide),children:[D.Ws.monthly.map(e=>d(e)),d(D.Ws.other[0],!0)]}),(0,r.jsxs)("div",{className:(0,i.Z)(o===D.H$.annual?H:q.F.layout.hide),children:[D.Ws.annual.map(e=>d(e)),d(D.Ws.other[1],!0)]}),(0,r.jsxs)("div",{className:(0,i.Z)(o===D.H$.onetime?H:q.F.layout.hide),children:[D.Ws.onetime.map(e=>d(e)),d(D.Ws.other[2],!0)]}),s&&(0,r.jsx)(z.Z,{hideLabel:!0,name:"otherTextInput",placeholder:"Other Amount",label:"Other Amount",type:"number",min:o===D.H$.annual?"50.00":"5.00",step:1,className:"x0yt3jm",value:u||"",onChange:e=>{let n=e.target.getAttribute("min"),t=e.target.value;if(""===t||t.length>=7)return;let r=Number(t);if(!isNaN(r)){if(n){let e=Number(n);r(0,r.jsxs)("svg",{width:t,height:i,viewBox:"0 0 14 12",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,r.jsx)("title",{children:"Expand"}),(0,r.jsx)("path",{fill:n,clipRule:"evenodd",d:"M13.408 1.85844L5.46241 11.5801L0.59375 5.62314L2.14233 4.35748L5.46241 8.4197L11.8594 0.592773L13.408 1.85844Z"})]}),Q=t(60355);t(67857);var Y="n0ju2m4",J={main:"n0ju2m8 n0ju2m7",cliff:"n0ju2m9 n0ju2m7"},X=t(68093),ee=t.n(X);let en="https://www.paypal.com/donate/?hosted_button_id=VSP4PYJX98SHL";var et=()=>{let[e,n]=(0,a.useState)(en);return(0,a.useEffect)(()=>{let e=new URL(window.location.toString()),t=window.location.pathname,r="";for(let[n,t]of e.searchParams.entries())(n.includes("itm_")||n.includes("utm_"))&&(r+=`__${n}=${t}`);let i=new URL(en);i.searchParams.append("custom",`${r}__referrer=${t}`),n(i.toString())},[]),(0,r.jsx)("a",{className:"n0ju2mb",href:e,target:"_blank",rel:"noreferrer",children:(0,r.jsx)(ee(),{src:"/static-assets/logos/paypal_logo.png",alt:"",width:"80",height:"25"})})},er=e=>{let n,{showCheckmarks:t=!0,generateAnalyticsEvent:s,cliff:l,redirectPath:u="/",additionalButtonParams:c}=e,[d,p]=(0,a.useState)(D.H$.monthly),[h,f]=(0,a.useState)(!1),[m,g]=(0,a.useState)(!l&&D.Ws.monthly.find(e=>e.default)||D.Ws.monthly[0]),y=(0,o.useRouter)(),_=(0,Z.z$)(),[v,b]=(0,a.useState)(null);(0,a.useEffect)(()=>{h||b(null)},[h]);let C=e=>{p(e);let n=D.Ws[e].find(e=>e.default)||D.Ws[e][0];f(!1),g(n)};(0,a.useEffect)(()=>(window.contributeSwitchFrequency=C,()=>{window.contributeSwitchFrequency=void 0}),[]),n=h&&!v?"Yes, I'll give":h&&v&&d===D.H$.onetime?`Yes, I'll give $${v}`:h&&v&&d===D.H$.monthly?`Join for $${v}/month`:h&&v&&d===D.H$.annual?`Join for $${v}/year`:d===D.H$.onetime?`Yes I'll give ${m.label}`:`Join for ${m.label}`;let x=h&&!v,k=(0,a.useCallback)(e=>{e.preventDefault(),s&&_?.emit(s(n));let{itm_campaign:t,itm_medium:r,itm_source:i}=y.query,o=["/support-now","/support-membership","/checkout"].some(e=>u.startsWith(e)),a={...c,redirectPath:o?"/":u};([D.H$.annual,D.H$.monthly].includes(d)||m.recurringInterval)&&(a.entitlement=D.Mg),m.offerDisplayId&&(a.offerDisplayId=m.offerDisplayId),m.productId&&(a.productId=m.productId),m.recurringInterval&&(a.recurringInterval=m.recurringInterval),v&&(a.otherUnitAmount=Math.round(100*v).toString()),t&&(a.itm_campaign=t),r&&(a.itm_medium=r),i&&(a.itm_source=i);let l=new URLSearchParams(a);window.location.href=`/checkout?${l.toString()}`},[c,_,n,s,v,m.offerDisplayId,m.productId,m.recurringInterval,d,y.query,u]);return(0,r.jsx)("form",{onSubmit:k,children:(0,r.jsxs)("div",{className:"n0ju2m0",children:[(0,r.jsx)(l?B:G,{frequency:d,setFrequency:C,plan:m,setPlan:g,textInputOpen:h,setTextInputOpen:f,otherAmount:v,setOtherAmount:b}),t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("hr",{className:"n0ju2m1"}),(0,r.jsx)("div",{className:"n0ju2m2",children:D.wh.map((e,n)=>{let t=d===D.H$.onetime&&e.membershipOnly;return(0,r.jsxs)("p",{className:(0,i.Z)("n0ju2m3",t&&"n0ju2m6"),children:[t?(0,r.jsx)(Q.Z,{className:Y,width:20,height:20}):(0,r.jsx)(W,{className:Y,width:20,height:20}),(0,r.jsx)("span",{className:"n0ju2m5",children:e.text})]},n)})})]}),(0,r.jsx)(U.Z,{fullWidth:!0,disabled:x,text:n,className:J[l?"cliff":"main"]}),(0,r.jsxs)("div",{className:"n0ju2ma",children:[(0,r.jsxs)("p",{children:["We accept credit card, Apple Pay, and Google Pay. ",(0,r.jsx)("br",{}),"You can also contribute via"]}),(0,r.jsx)(et,{})]})]})})}},8274:function(e,n,t){"use strict";t.r(n),t.d(n,{supportedBrowsersRegExp:function(){return r}});let r=/Edge?\/(12[2-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Firefox\/(12[3-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Chrom(ium|e)\/(109|1[1-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|(Maci|X1{2}).+ Version\/(17\.([3-9]|\d{2,})|(1[89]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(10[7-9]|1[1-9]\d|[2-9]\d{2}|\d{4,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(15[._]([6-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](12[3-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Mobile Safari.+OPR\/([89]\d|\d{3,})\.\d+\.\d+|Android.+Firefox\/(12[4-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(12[3-9]|1[3-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+(UC? ?Browser|UCWEB|U3)[ /]?(15\.([5-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+)\.\d+|SamsungBrowser\/(2[3-9]|[3-9]\d|\d{3,})\.\d+|Android.+MQ{2}Browser\/(14(\.(9|\d{2,})|)|(1[5-9]|[2-9]\d|\d{3,})(\.\d+|))(\.\d+|)|K[Aa][Ii]OS\/(2\.([5-9]|\d{2,})|([3-9]|\d{2,})\.\d+)(\.\d+|)/},16934:function(e,n,t){"use strict";var r,i;t.d(n,{H$:function(){return r},Mg:function(){return a},Ws:function(){return s},wh:function(){return l}});let o={Memberships:"b3d412ef-d59c-498e-9d02-86bc5aceb754",Contributions:"1e4965a3-a530-438f-a03e-fa955249faa7"};if(!o.Memberships||!o.Contributions)throw Error("Missing NEXT_PUBLIC_VOX_MEMBERSHIPS_PRODUCT_ID or NEXT_PUBLIC_VOX_CONTRIBUTIONS_PRODUCT_ID");let a="vox_memberships";(i=r||(r={})).monthly="monthly",i.annual="annual",i.onetime="onetime",i.other="other";let s={monthly:[{label:"$5/month",offerDisplayId:"vox-member-monthly-5"},{label:"$10/month",offerDisplayId:"vox-member-monthly-10",default:!0},{label:"$25/month",offerDisplayId:"vox-member-monthly-25"},{label:"$50/month",offerDisplayId:"vox-member-monthly-50"}],annual:[{label:"$50/year",offerDisplayId:"vox-member-yearly-50"},{label:"$100/year",offerDisplayId:"vox-member-yearly-100"},{label:"$150/year",offerDisplayId:"vox-member-yearly-150"},{label:"$200/year",offerDisplayId:"vox-member-yearly-200"}],onetime:[{label:"$25",offerDisplayId:"vox-one-time-contrib-25"},{label:"$50",offerDisplayId:"vox-one-time-contrib-50"},{label:"$100",offerDisplayId:"vox-one-time-contrib-100"},{label:"$250",offerDisplayId:"vox-one-time-contrib-250"}],other:[{label:"Other",productId:o.Memberships,recurringInterval:"month"},{label:"Other",productId:o.Memberships,recurringInterval:"year"},{label:"Other",productId:o.Contributions}]},l=[{text:"Support the Vox mission",membershipOnly:!1},{text:"Members-only stories",membershipOnly:!0},{text:"The Vox Explainer newsletter",membershipOnly:!0},{text:"Bonus podcasts and videos",membershipOnly:!0},{text:"The Highlight digital magazine",membershipOnly:!0}]},2570:function(e,n,t){"use strict";let r,i,o,a,s;t.r(n),t.d(n,{default:function(){return iE},reportWebVitals:function(){return ik}});var l,u,c,d,p=t(31561),h=t(68093),f=t.n(h),m=t(55670),g=t(82201),y=t(85369);let _="vox_article_readcount_count",v="vox_article_readcount_reset_date",b=()=>{let e=window.localStorage.getItem(v),n=e?new Date(Number(e)):null;return n&&!isNaN(n.getTime())?n:null},C=e=>{let n=e.setMonth(e.getMonth()+1);window.localStorage.setItem(v,n.toString())},x=()=>{let e=window.localStorage.getItem(_),n=e?Number(e):0;return isNaN(n)?1:n},k=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;window.localStorage.setItem(_,e.toString())},w=()=>{let e=1,n=new Date,t=b();return!t||n>t?(C(n),k()):k((e=x())+1),e};var E=t(47382),T=t(1855);t(51510),t(85677);var S="_1tzd3in4",I=()=>{let e=(0,m.useRouter)(),[n,t]=(0,g.useState)(1),r=(0,E.aC)(),i=r.user?r.user.entitlements.length>0:r.serverAuthState?.isEntitled;(0,g.useEffect)(()=>{t(w())},[]);let o=(0,g.createRef)();return((0,T.Z)(o,{event:"memberships_article_footer",memberships_article_footer:{cta:"Here at Vox",action:"view",position:"article_footer"}}),i)?null:(0,p.jsxs)("aside",{className:"_1tzd3in0 _1agbrixx",ref:o,children:[(0,p.jsxs)("p",{className:"_1tzd3in1",children:["You’ve read ",n," article",n>1?"s":""," in the last month"]}),(0,p.jsxs)("div",{className:"_1tzd3in2",children:[(0,p.jsxs)("div",{className:"_1tzd3in3",children:[(0,p.jsx)("p",{className:S,children:"Here at Vox, we believe in helping everyone understand our complicated world, so that we can all help to shape it. Our mission is to create clear, accessible journalism to empower understanding and action."}),(0,p.jsxs)("p",{className:S,children:["If you share our vision, please consider supporting our work by becoming a ",(0,p.jsx)("i",{children:"Vox Member"}),". Your support ensures Vox a stable, independent source of funding to underpin our journalism. If you are not ready to become a Member, even small contributions are meaningful in supporting a sustainable model for journalism."]}),(0,p.jsx)("p",{className:S,children:"Thank you for being part of our community."})]}),(0,p.jsxs)("div",{className:"_1tzd3in5",children:[(0,p.jsx)(f(),{src:"/static-assets/headshots/swati.png",alt:"Swati Sharma",width:59,height:69}),(0,p.jsxs)("div",{className:"_1tzd3in7",children:[(0,p.jsx)("p",{className:"_1tzd3in8",children:"Swati Sharma"}),(0,p.jsx)("p",{className:"_1tzd3in9",children:"Vox Editor-in-Chief"})]})]})]}),(0,p.jsx)(y.Z,{redirectPath:e.isReady?e.asPath:"/",showCheckmarks:!1,generateAnalyticsEvent:e=>({event:"memberships_article_footer",memberships_article_footer:{cta:e,action:`click_${e}`,position:"article_footer"}}),additionalButtonParams:{itm_campaign:"swati-launch-banner",itm_medium:"site",itm_source:"footer"}})]})},R={newslettersPageTitle:"Newsletters",newslettersPageDek:"We're like your friend who delights in doing obsessive research and explaining what we learned. Sign up to better understand our complicated world.",newslettersPageMetaDescription:"From Today, Explained to the Vox Crossword, our newsletters bring you the best of the day right to your inbox.",newslettersPage:[{variant:"standard",newsletters:null}]};let A={title:"Vox",description:"Vox is a general interest news site for the 21st century. Its mission: to help everyone understand our complicated world, so that we can all help shape it. In text, video and audio, our reporters explain politics, policy, world affairs, technology, culture, science, the climate crisis, money, health and everything else that matters. Our goal is to ensure that everyone, regardless of income or status, can access accurate information that empowers them.",additionalMetaTags:[{name:"viewport",content:"width=device-width, initial-scale=1, shrink-to-fit=no"},{name:"apple-mobile-web-app-title",content:"Vox"}],additionalLinkTags:[{rel:"alternate",type:"application/rss+xml",title:"Vox",href:"/rss/index.xml"}],facebook:{appId:"549923288395304"},openGraph:{images:[{url:"https://www.vox.com/static-assets/default-og-image.png"}],site_name:"Vox",type:"website",url:"https://www.vox.com/"},twitter:{site:"@voxdotcom",cardType:"summary_large_image"}},P={"@context":"https://schema.org","@type":"NewsMediaOrganization","@id":"https://www.vox.com/#publisher",name:"Vox",alternateName:"Vox.com",url:"https://www.vox.com",description:"Vox is a general interest news outlet founded in 2014 with a focus on explanatory journalism. Vox's staff of over 100 journalists and subject-matter experts research, report and produce articles, videos, and podcasts that make complex ideas accessible. Whether it’s policy, culture, the Supreme Court, meatless meat, political extremism, biodiversity, artificial intelligence, the climate crisis, or something else, we give context to what’s happening today. Our goal is to ensure that everyone, regardless of income or status, can access accurate information that empowers them.",logo:{"@type":"ImageObject",url:"https://platform.vox.com/wp-content/uploads/sites/2/2024/04/default-og-image.png?quality=90&strip=all&crop=0,0.13712291199202,100,99.725754176016",height:"624",width:"1200"},diversityPolicy:"https://diversity.voxmedia.com/",ethicsPolicy:"https://www.vox.com/2018/12/7/18113237/ethics-and-guidelines-at-vox-com",masthead:"https://www.vox.com/masthead",foundingDate:"2014-04-01",founder:[{"@type":"Person",name:"Ezra Klein"},{"@type":"Person",name:"Matt Yglesias"},{"@type":"Person",name:"Melissa Bell"}],employee:[{"@type":"Person",name:"Ian Millhiser"},{"@type":"Person",name:"Dylan Scott"},{"@type":"Person",name:"Dylan Matthews"},{"@type":"Person",name:"Sean Rameswaram"},{"@type":"Person",name:"Noel King"},{"@type":"Person",name:"Joss Fong"},{"@type":"Person",name:"Swati Sharma"},{"@type":"Person",name:"Marin Cogan"},{"@type":"Person",name:"Alex Abad-Santos"},{"@type":"Person",name:"Alissa Wilkinson"},{"@type":"Person",name:"Constance Grady"},{"@type":"Person",name:"Aja Romano"},{"@type":"Person",name:"Kelsey Piper"},{"@type":"Person",name:"Kenny Torrella"},{"@type":"Person",name:"Noam Hassenfeld"},{"@type":"Person",name:"Rebecca Leber"},{"@type":"Person",name:"Peter Kafka"},{"@type":"Person",name:"Rani Molla"},{"@type":"Person",name:"Zack Beauchamp"}],ownershipFundingInfo:"Vox is owned by Vox Media, the leading modern media company dedicated to high-quality journalism.",sameAs:["https://en.wikipedia.org/wiki/Vox_(website)","https://www.wikidata.org/wiki/Q20877087","https://www.facebook.com/Vox/","https://twitter.com/voxdotcom","https://www.instagram.com/voxdotcom","https://www.youtube.com/@Vox","www.tiktok.com/@voxdotcom","https://www.linkedin.com/company/vox-com/","https://www.threads.net/@voxdotcom"],knowsAbout:[{"@type":"Thing",name:"news"},{"@type":"Thing",name:"politics"},{"@type":"Thing",name:"science"},{"@type":"Thing",name:"culture"},{"@type":"Thing",name:"policy"},{"@type":"Thing",name:"elections"},{"@type":"Thing",name:"climate change"},{"@type":"Thing",name:"energy"},{"@type":"Thing",name:"business"},{"@type":"Thing",name:"economy"},{"@type":"Thing",name:"technology"},{"@type":"Thing",name:"video"},{"@type":"Thing",name:"podcasts"},{"@type":"Thing",name:"world news"},{"@type":"Thing",name:"entertainment"},{"@type":"Thing",name:"today explained"},{"@type":"Thing",name:"vox explained"},{"@type":"Thing",name:"politics news"},{"@type":"Thing",name:"business news"},{"@type":"Thing",name:"election news"},{"@type":"Thing",name:"trump news"},{"@type":"Thing",name:"movie reviews"},{"@type":"Thing",name:"tv reviews"},{"@type":"Thing",name:"climate change news"},{"@type":"Thing",name:"science news"},{"@type":"Thing",name:"technology news"},{"@type":"Thing",name:"media news"}],award:["News & Documentary Emmy 2019 Winner in Outstanding New Approaches: Arts, Lifestyle and Culture","Online Journalism Awards 2022 winner in Excellence in Audio Storytelling","Online Journalism Awards 2020 winner in Excellence in Video Storytelling","Online Journalism Awards 2020 winner in Climate Change Reporting","Online Journalism Awards 2022 winner in Topical Reporting, Olympics Coverage","Online Journalism Awards 2022 winner in 3M Trurth in Science Award","Webby Awards 2020 winner in Best News & Politics General Series for Today Explained","Webby Awards 2020 winner in Best Arts & Culture Podcast","Webby Awards 2020 winner in Best Video - How To, Explainer, and DIY","Webby Awards 2020 winner in Best Podcast - Interview/Talk Show for The Ezra Klein Show","Webby Awards 2020 winner in Best Video - News & Politics"]},N={"/":[P,{"@context":"https://schema.org","@type":"WebSite",url:"https://www.vox.com/",name:"Vox",potentialAction:{"@type":"SearchAction",target:{"@type":"EntryPoint",urlTemplate:"https://www.vox.com/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}],"/about-us":[P]},O={pagesCanonicalMap:{"/pages/masthead":"/masthead","/pages/about-us":"/about-us"},defaultOgImage:"/static-assets/default-og-image.png"};var L=t(7345);let M={...L.W.rJ,viewport:"all"},D={...L.W.rJ,style:{transform:"translateY(-4px)"},viewport:"desktop"},F={...L.W.rJ,viewport:"mobileAndTablet"},j={...L.W.rJ,style:{transform:"translateY(-4px)"},viewport:"desktop"},B={...L.W.rJ,viewport:"mobileAndTablet"},U={...L.W.Ym,viewport:"tabletAndDesktop"},K={...L.W.Ps,viewport:"mobile"},z={...L.W.Hh,viewport:"mobile"},q={...L.W.$I,viewport:"tabletAndDesktop"},H={...L.W.vD,viewport:"flexTabletAndDesktop"},$={...L.W.DL,viewport:"mobile"},V={...L.W.aX,viewport:"mobile"},G={...L.W.F0,viewport:"tablet"},Z={...L.W.Rl,viewport:"desktop"},W={...L.W.rJ,viewport:"all"},Q={...L.W.I_,viewport:"desktop"},Y={...L.W._x,viewport:"desktop"},J={...L.W.Yq,viewport:"mobile"},X={...L.W.Hb,viewport:"mobile"},ee={...L.W.cg,viewport:"tablet"},en={...L.W.zP,viewport:"tablet"},et={...L.W.cj,viewport:"desktop"},er={...L.W.FO,viewport:"desktop"},ei={...L.W.tO,viewport:"desktop"},eo={...L.W.L5,viewport:"desktop"},ea={...L.W.IK,viewport:"desktop"},es={...L.W.TR,viewport:"desktop"},el={...L.W.eu,viewport:"desktop"},eu={...L.W.X8,viewport:"desktop"},ec={...L.W.Mq,viewport:"desktop"},ed={...L.W.k_,viewport:"mobile"},ep={...L.W.pE,viewport:"tabletAndDesktop"},eh={...L.W.ke,viewport:"mobileAndTablet"},ef={...L.W.yO,viewport:"desktop"},em={...L.W.He,viewport:"desktop"},eg={...L.W.b6,viewport:"all"},ey={articleSponsorship:[{slotName:"article_sponsorship",...M}],articleSponsorshipHeadlineAboveMobileAndTablet:[{slotName:"article_sponsorship_headline_above_mobile_and_tablet",...F}],articleSponsorshipHeadlineAboveDesktop:[{slotName:"article_sponsorship_headline_above_desktop",...D}],articleSponsorshipWhiteMobileAndTablet:[{slotName:"article_sponsorship_white_mobile_and_tablet",...B}],articleSponsorshipWhiteDesktop:[{slotName:"article_sponsorship_white_desktop",...j}],athenaGamesHub:[{slotName:"athena_games_hub_mobile",...K},{slotName:"athena_games_hub_desktop_tablet",...U}],connatixRightRail:[{slotName:"connatix_right_rail",...ec}],frontpageSecondaryMobile:[{slotName:"frontpage_secondary_mobile",...z}],frontpageHeroDesktop:[{slotName:"frontpage_hero_desktop",...q}],networkRiverHomeTop:[{slotName:"mobile_network_river",...J},{slotName:"tablet_network_river",...ee},{slotName:"desktop_network_river",...et}],networkRiverHome:[{slotName:"mobile_network_river",...X},{slotName:"tablet_network_river",...en},{slotName:"desktop_network_river",...er}],networkRiverArticle:[{slotName:"mobile_network_river",...X},{slotName:"tablet_network_river",...en}],packageSponsorship:[{slotName:"package_sponsorship",...W}],rightRailNetworkRiver:[{slotName:"medium_rectangle_river",...ei}],rightRailNetworkRiverAboveNewsletter:[{slotName:"medium_rectangle_river",...eo}],leaderboardArticle:[{slotName:"tablet_leaderboard",...G},{slotName:"desktop_leaderboard_variable",...Z}],leaderboardAuthor:[{slotName:"tablet_leaderboard",...G},{slotName:"desktop_leaderboard_variable",...Z}],leaderboardHub:[{slotName:"mobile_leaderboard",...V},{slotName:"tablet_leaderboard",...G},{slotName:"desktop_leaderboard_variable",...Z}],leaderboardPackagedHub:[{slotName:"tablet_leaderboard",...G},{slotName:"desktop_leaderboard_variable",...Q}],leaderboardStream:[{slotName:"storystream_top_leaderboard_tablet",...G},{slotName:"storystream_top_leaderboard_desktop",...Y}],leaderboardTop:[{slotName:"leaderboard_top_tablet_desktop",...H}],medrecFrontpageHero:[{slotName:"medrec_frontpage_hero_mobile",...$}],outbrainPostMobile:[{slotName:"outbrain_post_mobile",...ed}],outbrainPostTabletAndDesktop:[{slotName:"outbrain_post_tablet_and_desktop",...ep}],topRightRailHub:[{slotName:"medium_rectangle_variable",...ea}],topRightRailArticle:[{slotName:"medium_rectangle_variable",...es}],bottomRightRail:[{slotName:"btf_medium_rectangle_variable",...el}],bottomRightRailHub:[{slotName:"btf_medium_rectangle_variable_hub",...el}],bottomRightRailArticle:[{slotName:"btf_medium_rectangle_variable_article",...eu}],specialSponsorshipRail:[{slotName:"medium_rectangle_gamestop",...ef}],specialSponsorshipBody:[{slotName:"medium_rectangle_gamestop",...eh}],featureExtendedSticky:[{slotName:"btf_medium_rectangle_variable_feature_extended_sticky",...em}],hubSponsorship:[{slotName:"hub_sponsorship",...eg}],articleStreamSponsorship:[{slotName:"article_sponsorship",...D},{slotName:"article_sponsorship_headline_above_mobile_and_tablet",...F}],leaderboardStreamWordpress:[{slotName:"mobile_leaderboard",...V},{slotName:"tablet_leaderboard",...G},{slotName:"desktop_leaderboard_variable",...Y}],leaderboardVideoGameWordpress:[{slotName:"mobile_leaderboard",...V},{slotName:"tablet_leaderboard",...G},{slotName:"desktop_leaderboard_variable",...Y}],leaderboardArticleWordpress:[{slotName:"mobile_leaderboard",...V},{slotName:"tablet_leaderboard",...G},{slotName:"desktop_leaderboard_variable",...Z}],leaderboardAuthorWordpress:[{slotName:"mobile_leaderboard",...V},{slotName:"tablet_leaderboard",...G},{slotName:"desktop_leaderboard_variable",...Z}]};var e_=t(912),ev=t(92309),eb=t(19738);let eC=e=>{let{children:n,serverAuthState:t}=e,[r,i]=(0,g.useState)(null),[o,a]=(0,g.useState)(!0);return(0,g.useEffect)(()=>{(async()=>{if("true"!==(0,eb.ej)(ev.n5)){a(!1);return}try{let e=await fetch("/api/auth/firebase-verify",{method:"post",headers:{"Content-Type":"application/json"},credentials:"same-origin"});if(e.ok){let n=await e.json();i(n.user??null)}else await fetch("/api/auth/firebase-logout")}catch(e){(0,e_.Tb)(e,{extra:{message:"Failed to verify identity session"}})}a(!1)})()},[]),(0,p.jsx)(E.ZP.Provider,{value:{authMethod:"identity",user:r,userLoading:o,setUser:e=>{i(e)},serverAuthState:t},children:n})};var ex=t(63525);let ek=function(e,n){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e[n];if(void 0===r){if(!t)return null;throw Error(`Header '${n}' is not defined.`)}if("string"!=typeof r)throw Error(`Header '${n}' is not a string.`);return r},ew=e=>Number(Number(ek(e,"vm-community-id",!0))),eE=e=>{let n=e;if(e.includes("Layout"))return"vm-duration-layout-query";e.includes("ProviderContainerQuery")&&(n=e.replace("ProviderContainer","")),e.includes("ContainerQuery")&&(n=e.replace("Container","")),e.includes("ArticleRecirc")&&(n=e.replace("Article",""));let t=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();return`vm-duration-${t}`};var eT=t(59510),eS=t(76553);async function eI(e){let n={isLoggedIn:!1,isEntitled:!1};if(!e.req||!e.res)return n;let{req:t}=e,{headers:r}=t,i=r["x-user-state"];if(i)return{isEntitled:"logged-in-entitled"===i||"logged-in-expired-entitlements"===i,isLoggedIn:"not-logged-in"!==i};"1"===r["fastly-client"]&&(0,e_.Tb)(Error("Missing `x-user-state` header from fastly"));let o=ew(r),{communityDomain:a}=(0,ex.Jx)(o),s="true"===(0,eb.qS)(t,ev.n5),l=(0,eb.qS)(t,ev.F);if(!s||!l)return n;let u=(0,eS.R2)(t,a).href;try{let e=await fetch(`${u}/auth/firebase-verify`,{method:"post",headers:{"Content-Type":"application/json",Cookie:r.cookie||""},body:JSON.stringify({skipEntitlementsRefresh:!0,skipZephrTokenGeneration:!0})});if(!e.ok)return eT.cM.error("Error verifying server auth state of user"),await fetch(`${u}/auth/firebase-logout`),n;{let n=await e.json();return{isLoggedIn:!!n.user,isEntitled:!!n.user&&n.user.entitlements.length>0}}}catch(e){return(0,e_.Tb)(e,{extra:{message:"Error checking server auth state"}}),await fetch(`${u}/auth/firebase-logout`),n}}var eR=t(35458),eA=t(92396),eP=t.n(eA),eN=t(37254),eO=t(86273),eL=t(24353),eM=t(92460);class eD{constructor(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(!(0,eM.C)())return;window.dataLayer=window.dataLayer||[],e&&window.dataLayer.push({"gtm.start":new Date().getTime(),event:"gtm.js"})}emit(e){window.dataLayer?.push(e)}VIEW_PUSH_DELAY=3e4;viewedProductQueue=[];viewedProductPushTimeout=null;viewedProductVisibilityChangeHandled=!1;unpublishedViewedProducts=()=>this.viewedProductQueue.filter(e=>!e.pushed);pushViewedProducts=()=>{let e=this.unpublishedViewedProducts();e.length&&(this.emit({event:"view_item",ecommerce:{items:e}}),this.viewedProductQueue=this.viewedProductQueue.map(e=>({...e,pushed:!0})),this.viewedProductPushTimeout=null)};productViewed(e){if(!(this.viewedProductQueue.filter(n=>n.item_name===e.item_name&&n.item_category2===e.item_category2).length>0)){if(this.viewedProductQueue.push(e),this.unpublishedViewedProducts().length>=15){this.pushViewedProducts();return}this.viewedProductPushTimeout||(this.viewedProductPushTimeout=setTimeout(this.pushViewedProducts,this.VIEW_PUSH_DELAY)),this.viewedProductVisibilityChangeHandled||(this.viewedProductVisibilityChangeHandled=!0,document.addEventListener("visibilitychange",this.pushViewedProducts))}}}var eF=t(11439),ej=t.n(eF),eB=t(66912),eU=t(31218),eK=(0,eU.n)(e=>{let{communityOrigin:n}=e,t=(0,m.useRouter)(),r="/"===t.asPath?n:`${n}${t.asPath}`,i=(0,g.useCallback)(()=>{window.Sailthru.init({customerId:eB.l$,isCustom:!0,autoTrackPageview:!1}),window.Sailthru.track("pageview",{url:r})},[r]);return(0,p.jsx)(ej(),{src:"https://ak.sail-horizon.com/spm/spm.v1.min.js",onLoad:i})},{context:"SailthruErrorBoundary"}),ez=e=>{let{containerID:n,communityOrigin:t}=e,r=(0,g.useMemo)(()=>`https://www.googletagmanager.com/gtm.js?id=${n}`,[n]);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(eK,{communityOrigin:t}),(0,p.jsx)(ej(),{src:r})]})};class eq extends eD{constructor(){super(!1)}emitMetric(e){let n=e.value;"CLS"===e.name&&(n=Math.round(1e3*e.value));let t={event:"web-vitals",eventAction:e.name,eventCategory:"Web Vitals",eventLabel:e.id,eventValue:n,nonInteraction:!0,transport:"beacon"};super.emit(t)}}class eH extends eD{constructor(){super(!1)}push(e){super.emit(e)}formatEvent(e){return function(e,n,t,r,i){e[0]instanceof Array&&(e=e[0]),"string"==typeof e[0]&&e[0].match(/send|_track/)&&e.shift(),e[0]===n.toLowerCase()&&e.shift();let o=0,a={};for(let n=0;n=0;if(r&&/^\{.*\}$/.test(n.data))try{t=JSON.parse(n.data)}catch(e){t=null}if(r&&t&&t[i]===o){if(t.id){let r=t.message===a;r&&l.hasOwnProperty(t.id)?e.end(t):r||u.hasOwnProperty(t.id)||(u[t.id]=!0,e.post(n.source,{message:a,value:p(n,t)||"success",id:t.id}))}else p(n,t)}},window.addEventListener("message",d)}return this},stopListening:function(){return d&&(window.removeEventListener("message",d),d=null),this},dispose:function(){t&&(clearInterval(t),this.stopListening())}}}}function eG(e,n,t){let r=null,i=!1,o=()=>{if(r){i=!0;return}e.call(t),r=setTimeout(function(){let e=i;r=null,i=!1,e&&o.call(t)},n)};return o}var eZ={els:[],_init:!1,_h:0,_t:0,_b:0,callElementsInViewport:function(){for(let e=this.els.length-1;e>=0;e--){let n=this.els[e];this.testElementInViewport(n.el,n.t)&&!n.fn.call(null,n.el)&&this.els.splice(e,1)}},testElementInViewport:function(e,n=0){let t=this._h;t||(t=this._h=window.innerHeight||document.documentElement.clientHeight);let r=this._t=n*t,i=this._b=t-r,o=e.getBoundingClientRect();return o.top>=r&&o.top<=i||o.bottom>=r&&o.bottom<=i},trackElement:function(e,n,t){let r=!0;this.testElementInViewport(e,t)&&(r=n(e)),r&&(this.els.push({el:e,fn:n,t:t}),this._init||(this._init=!0,window.addEventListener("scroll",eG(this.callElementsInViewport,200,this)),window.addEventListener("resize",eG(this.refresh,200,this))))},refresh:function(){this._h=0,this.callElementsInViewport()}};let eW=new eH,eQ=new eV;function eY(e){return new eJ(e)}eY.embedHost="",eY.selectAllEmbeds=function(){return document.querySelectorAll('iframe[src^="'+this.embedHost+'/embed"]')},eY.install=function(e){let n;if((0,eb.ej)(e$.lV))return;this.embedHost=e,this.log("install "+this.embedHost);let t=this.selectAllEmbeds();for(r?r.host=this.embedHost:r=eQ.create("volume",this.embedHost).on("analytics",(e,n)=>{eY.reportEvent(n)},this).on("pauseOthers",e=>{eY.postToAll("pause",void 0,e.source)},this).on("host",()=>({url:location.href,origin:location.origin,referrer:document.referrer,title:document.title,api:!0}),this).listen(),n=0;n{let n=/iframe/i.test(e.tagName)?e:e.querySelector("iframe");return n&&t.test(n.src)?n:null},i=r(),o=e.getAttribute("data-volume-uuid");if(o){let t=`${o}-${n}`;this.log("[tracking] "+t),eZ.trackElement(e,function(){if(i=i||r()){eY.log("[view] "+t);let e=i;setTimeout(()=>eY(e).request("view",document.title),100)}else eY.log("[view fallback] "+t),eY.reportEvent({eventCategory:"video",eventAction:["volume","view",n].join(":"),eventLabel:[document.title,e.getAttribute("data-volume-id")||o].join(" | "),nonInteraction:!0})},.1)}},eY.postToAll=function(e,n,t){let i=this.selectAllEmbeds();for(let o=0;o{let[e,n]=(0,g.useState)(!1);return((0,g.useEffect)(()=>{n(!0)},[]),e)?null:(0,p.jsx)("style",{children:` *, *::before, *::after { transition: none!important; } `})},e0=e=>{let{fonts:n}=e;if(!n)return null;let t=Object.entries(n).map(e=>{let[n,t]=e;return`${n}: ${t};`}).join("");return(0,p.jsx)("style",{dangerouslySetInnerHTML:{__html:` :root { ${t} } `}})},e1=t(86022),e2=t(27018),e3=({children:e,loopNavData:n})=>{let[t,r]=(0,g.useState)(!1),i=(0,g.useCallback)(()=>{r(!0)},[]),o=(0,g.useCallback)(()=>{r(!1)},[]);return(0,p.jsx)(e2.Z.Provider,{value:{loopNavData:n,isDrawerOpen:t,openDrawer:i,closeDrawer:o,drawerId:"loopnav-drawer"},children:e})},e5=e=>{let{nodeId:n,children:r}=e,{node:i}=(0,eO.useLazyLoadQuery)((void 0!==l||(l=t(59785)).hash&&"4c3e8c249bd5b267f0ed4e22d21e8d9d"!==l.hash&&console.error("The definition of 'LoopNavProviderContainerQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),l),{nodeId:n}),o=i.loopNav?{title:i.loopNav.title,sections:i.loopNav.items.map(e=>{let t=!1,r=e.items.map(e=>{let r={...e};return(e.listItemResourceId===n||e.permalink&&new URL(e.permalink).pathname===i.path)&&(r.current=!0,t=!0),r});return{...e,items:r,current:t}})}:null;return(0,p.jsx)(e3,{loopNavData:o,children:r})},e4=t(19675),e8=t(80646);let e6=[{name:"The Strategist",host:"nymag.com",path:"/strategist",url:"https://nymag.com/strategist"},{name:"Intelligencer",host:"nymag.com",path:"/intelligencer",url:"https://nymag.com/intelligencer"},{name:"New York Magazine",host:"nymag.com",url:"https://nymag.com/"},{name:"Vulture",host:"vulture.com",url:"https://www.vulture.com/"},{name:"Grub Street",host:"grubstreet.com",url:"https://www.grubstreet.com/"},{name:"The Cut",host:"thecut.com",url:"https://www.thecut.com/"},{name:"Curbed",host:"curbed.com",url:"https://www.curbed.com/"},{name:"Punch",host:"punchdrink.com",url:"https://www.punchdrink.com/"},{name:"Thrillist",host:"thrillist.com",url:"https://www.thrillist.com/"},{name:"The Dodo",host:"thedodo.com",url:"https://www.thedodo.com/"},{name:"Popsugar",host:"popsugar.com",url:"https://www.popsugar.com/"},{name:"Now This",host:"nowthisnews.com",url:"https://www.nowthisnews.com/"},{name:"The Verge",host:"theverge.com",url:"https://www.theverge.com/"},{name:"Eater",host:"eater.com",url:"https://www.eater.com/"},{name:"SBNation",host:"sbnation.com",url:"https://www.sbnation.com/"},{name:"Polygon",host:"polygon.com",url:"https://www.polygon.com/"}],e7=e=>e6.filter(n=>n.name!==e),e9={subscriptionProviderUrl:"https://vox.memberful.com"};var ne=t(78796),nn=({children:e,globalData:n})=>(0,p.jsx)(ne.Z.Provider,{value:n,children:e}),nt=t(72964),nr=e=>{let{children:n}=e,{breakingNewsBanner:r,wikiBanner:i,siteSettings:o,newsletters:a}=(0,eO.useLazyLoadQuery)((void 0!==u||(u=t(24353)).hash&&"8f8c886f12e1b973ab35589cfe8f0262"!==u.hash&&console.error("The definition of 'GlobalDataContainerQuery' appears to have changed. Run `relay-compiler` to update the generated files to receive the expected data."),u),{}),{placeholderImage:s,siteLogo:l,...c}=o,d=null;l&&(d={url:l.thumbnails.social.url,...(0,nt.P_)(l,l.thumbnails.social)});let h=null;return i&&((h={...i}).dek="We rely on readers like you to fund our journalism. Will you support our work and become a Vox Member today?"),(0,p.jsx)(nn,{globalData:{breakingNewsBanner:r,wikiBanner:h,siteSettings:{...c,placeholderImageUrl:{horizontal:s?.thumbnails.horizontal.url||"",vertical:s?.thumbnails.vertical.url||"",square:s?.thumbnails.square.url||"",social:s?.thumbnails.social.url||""},siteLogo:d},newsletters:a},children:n})},ni=t(36373),no=t(60857);class na extends Error{constructor(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(e),Error.captureStackTrace&&Error.captureStackTrace(this,na),this.name="DuetError",this.cause=n.cause,this.extra=n.extra,this.extraStringified=JSON.stringify(this.extra,null,2)}}var ns=t(74702),nl=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return async n=>{let t;let r={...n.fetchOpts},i={...n.fetchOpts.headers,Accept:"application/json"};"POST"===n.fetchOpts.method&&(r.body=JSON.stringify(n.operation),i["Content-Type"]="application/json"),r.headers={...r.headers,...i},"true"===ns.env.DEBUG_ENABLED&&eT.cM.debug(`GQL Curl Command for ${n.operation.operationName}: ${(0,no.ZP)(n.url,r)} `);let o=await fetch(n.url,r),a=await o.text();if(!o.ok)throw new na(`response wasn't ok, it was: ${o.status} ${a}`,{extra:{status:o.status,text:a}});try{t=JSON.parse(a)}catch(e){throw new na("Couldn't parse GraphQL Response JSON",{cause:e,extra:{text:a}})}return e.onHeaders&&e.onHeaders(o.headers,n.operation),t}};function nu(e){let{url:n,middleware:t,options:r={}}=e,i=nl(r),o=(function(e){if(0===e.length)return e=>e;let n=e[e.length-1],t=e.slice(0,-1);return e=>t.reduceRight((e,n)=>n(e),n(e))})(t)(i);return(e,t)=>{if(!e.id)throw Error("Missing request id");return ni.Observable.create(r=>{let i=o({url:n,fetchOpts:{method:"POST",headers:{}},request:e,operation:{operationName:e.name,variables:t}});if(!(0,ni.isPromise)(i)){r.next(i),r.complete();return}i.then(e=>{r.next(e),r.complete()},e=>{r.error(e),r.complete()})})}}var nc=function(){return e=>n=>{let t={"x-apollo-operation-name":n.request.name};return n.fetchOpts.headers={...n.fetchOpts.headers,...t},e(n)}},nd=function(e){let{name:n,commit:t}=e;if(!n&&!t)return e=>n=>e(n);let r={};return n&&(r["client-name"]=n),t&&(r["client-version"]=t.substring(0,7)),e=>n=>(n.fetchOpts.headers={...n.fetchOpts.headers,...r},e(n))},np=function(e){let{communityId:n}=e;if(!n)return e=>n=>e(n);let t={};return n&&(t["vm-community-id"]=n.toString()),e=>n=>(n.fetchOpts.headers={...n.fetchOpts.headers,...t},e(n))},nh=t(59619),nf=t.n(nh),nm=t(74702);let ng=nf()({enabled:"true"!==nm.env.DISABLE_GRAPHQL_LOGGING,browser:{write(e){try{console.log(JSON.stringify(e))}catch(e){e instanceof Error&&console.log(JSON.stringify(e,["name","message","stack"])),console.log(JSON.stringify({message:"Unknown error type"}))}}},level:nm.env.LOG_LEVEL||"info"}).child({name:"duet-framework"});var ny=e=>async n=>{let t=await e(n);if(t.errors){let e={operationName:n.operation.operationName,variables:n.operation.variables,errors:t.errors,hasData:!!t.data};if(!t.data||t.errors.length>0)throw new na("GraphQL Response with critical errors",{extra:e});ng.warn(e,"GraphQL Response with errors")}return t};/*! * Check if two objects or arrays are equal * (c) 2021 Chris Ferdinandi, MIT License, https://gomakethings.com * @param {*} obj1 The first item * @param {*} obj2 The second item * @return {Boolean} Returns true if they're equal in value */function n_(e,n){function t(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}let r=t(e);return r===t(n)&&("array"===r?function(){if(e.length!==n.length)return!1;for(let t=0;t{let n=[...e.responses];return e=>t=>{if("query"!==t.request.operationKind)return e(t);let r=n.findIndex(e=>e.operationName===t.operation.operationName&&n_(e.variables,t.operation.variables));if(-1===r)return e(t);let i=n[r];return n.splice(r,1),{data:i.data}}},nb=t(89211),nC=t.n(nb),nx=t(74702);function nk(e,n){let t=new ni.RecordSource(n),r=new ni.Store(t);return new ni.Environment({store:r,network:e,isServer:"undefined"==typeof window})}var nw=(e,n,t)=>(0,g.useMemo)(()=>{let{communityId:r}=t;return nk(function(e){let{hydrationData:n,communityId:t,token:r,origin:i}=e,o=function(e){let{hydrationData:n,communityId:t,token:r}=e,{NEXT_PUBLIC_APP_NAME:i}=nx.env;return[e=>n=>{if("subscription"===n.request.operationKind)throw Error("GraphQL subscriptions are not supported.");return n.fetchOpts.method="mutation"===n.request.operationKind?"POST":"GET","GET"===n.fetchOpts.method&&(n.url+=`?id=${n.request.id}&variables=${encodeURIComponent(nC()(n.operation.variables))}`),e(n)},nv(n),ny,e=>n=>{if(!r&&"undefined"==typeof window)throw new na(`Unexpected GraphQL network request for '${n.operation.operationName}'`,{extra:{operationName:n.operation.operationName,variables:n.operation.variables}});return r&&(n.fetchOpts.headers.Authorization=`Bearer ${r}`),e(n)},nd({name:i}),np({communityId:t}),nc()]}({hydrationData:n,communityId:t,token:r}),a="/api/graphql";return i&&(a=`${i}${a}`),ni.Network.create(nu({url:a,middleware:o}))}({hydrationData:e,communityId:r,token:n}))},[t,e,n]);let nE=e=>{let{keys:n,vmPrefix:t,duetPrefix:r=!0}=e;return n.map(e=>`${r?"d:":""}${t||""}${e}`)},nT=e=>{let{vmPrefix:n,pageKeys:t=[],queryResponseKeys:r=[]}=e,i=["all","duet"],o=nE({keys:i,vmPrefix:n,duetPrefix:!1}),a=[...i,...o,...r];return t.length&&a.push(...nE({keys:t,vmPrefix:n})),a},nS=e=>{let n=[];if(e&&"string"==typeof e["x-graphql-keys"]){let t=e["x-graphql-keys"].replace(/\S*(:graphql:)\S*/g,"").replace(/\s+/g," ").split(" ");n.push(...nE({keys:t}))}return n},nI=e=>{let{res:n,vmPrefix:t,cacheControl:r,maxAge:i,stale:o,preview:a,pageKeys:s=[],queryResponseKeys:l=[]}=e;if(a){n.setHeader("cache-control","no-cache, no-store, must-revalidate"),n.setHeader("surrogate-control","private, no-store");return}let u=nT({vmPrefix:t,pageKeys:s,queryResponseKeys:l}),c=n.getHeader("surrogate-key");c&&"string"==typeof c&&u.push(...c.split(" "));let d=(function(e,n){let t=`d:${n}`,r={default:{priority:100,priorityGroup:"default",sortLexicographically:!0},noPrefix:{priority:1,priorityGroup:"noPrefix",sortLexicographically:!0},vmPrefix:{priority:2,priorityGroup:"vmPrefix",sortLexicographically:!0},duetPageKey:{priority:3,priorityGroup:"duetPageKey",sortLexicographically:!0},queryId:{priority:4,priorityGroup:"queryId",sortLexicographically:!1},operation:{priority:5,priorityGroup:"operation",sortLexicographically:!1},operationLayout:{priority:6,priorityGroup:"operationLayout",sortLexicographically:!1},customKey:{priority:7,priorityGroup:"customKey",sortLexicographically:!0},resource:{priority:8,priorityGroup:"resource",sortLexicographically:!0},mediaResource:{priority:9,priorityGroup:"mediaResource",sortLexicographically:!0},list:{priority:10,priorityGroup:"list",sortLexicographically:!0}},i=e=>{if(e.startsWith(n))return r.vmPrefix;if(e.startsWith(t)){let n=e.replace(t,"");if(/^[0-9a-fA-F]+$/.test(n))return r.queryId;if(!n.includes(":"))return r.duetPageKey;if(n.startsWith("operation:"))return n.includes("LayoutQuery")?r.operationLayout:r.operation;if(n.startsWith("ck:"))return r.customKey;let[i,o]=n.split(":");return i&&o&&!isNaN(Number(o))?"image"===i||"volumeVideo"===i?r.mediaResource:r.resource:n.startsWith("list:")?r.list:r.default}return r.noPrefix};return e.sort((e,n)=>{let t=i(e),r=i(n);return t.priority===r.priority&&t.sortLexicographically?e.localeCompare(n):t.priority-r.priority})})([...new Set(u)],t).join(" ");n.setHeader("cache-control",r||"no-store"),n.setHeader("surrogate-control",`${i||"max-age=3600"}, ${o||"stale-while-revalidate=86400, stale-if-error=604800"}`),n.setHeader("surrogate-key",d)},nR=e=>{if("headers"in e){let n;if("function"==typeof e.headers.get&&(n=e.headers.get("vm-cache-bypass-wp")),"vm-cache-bypass-wp"in e.headers&&(n=e.headers["vm-cache-bypass-wp"]),n)return!0}let n="headers"in e&&"host"in e.headers?`http://${e.headers.host}`:e.url;return!!(e.url&&new URL(e.url,n).searchParams.get("bypassWpCache"))};var nA=function(e){let{bypassCache:n}=e;if(!n)return e=>n=>e(n);let t={};return t["vm-cache-bypass-wp"]="1",e=>n=>(n.fetchOpts.headers={...n.fetchOpts.headers,...t},e(n))},nP=function(e){let{active:n}=e;if(!n)return e=>n=>e(n);let t={};return t["fastly-debug"]="1",e=>n=>(n.fetchOpts.headers={...n.fetchOpts.headers,...t},e(n))},nN=function(e){let{userAgent:n}=e;if(!n)return e=>n=>e(n);let t={};return n&&(t["User-Agent"]=n),e=>n=>(n.fetchOpts.headers={...n.fetchOpts.headers,...t},e(n))};async function nO(e){if("undefined"==typeof crypto)return(await Promise.all([t.e(6400),t.e(9861)]).then(t.t.bind(t,11304,23))).createHash("sha256").update(e).digest("hex");let n=new TextEncoder().encode(e);return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256",n))).map(e=>e.toString(16).padStart(2,"0")).join("")}let nL=(()=>{let e={};return async n=>(n in e||(e[n]=await nO(n)),e[n])})();var nM=e=>n=>async t=>{if("query"!==t.request.operationKind||!t.request.id)return n(t);if(!(t.request.id in e))return eT.cM.debug(`---------! WARNING: Request for ${t.operation.operationName} not found in persisted data - are you using the correct query fetcher?`),n(t);let r=await nL(e[t.request.id]),{url:i,fetchOpts:{method:o}}=t;t.fetchOpts.method="GET";let a={queryId:r,operationName:t.operation.operationName,variables:t.operation.variables};t.url=function(e,n){let t=new URL(e);for(let[e,r]of Object.entries(n)){let n="string"==typeof r?r:JSON.stringify(r);t.searchParams.append(e,n)}return t.href}(i,a);let s=await n(t);return"errors"in s&&s.errors&&s.errors[0]&&"PersistedQueryNotFound"===s.errors[0].message?(t.url=i,t.fetchOpts.method=o,t.operation.extensions={...t.operation.extensions,persistedQuery:{version:1,sha256Hash:r}},t.operation.query=function(e,n){if(n.text)return n.text;if(!n.id)throw Error("no id or text on query");let t=e[n.id];if(!t)throw new na(`persisted query not found for id: ${n.id}`,{extra:{id:n.id}});return t}(e,t.request),n(t)):s},nD=t(74702),nF=t(50890).Buffer,nj=e=>n=>async t=>{if("query"!==t.request.operationKind)return n(t);let r=await n(t);return r.data&&e.responses.push({operationName:t.operation.operationName,variables:t.operation.variables,data:r.data}),r},nB=t(74702),nU=t(74702);function nK(e,n){return e+JSON.stringify(n)}class nz{responseHeaders={};constructor(e,n){let t=ew(n.headers),{communityApiUrl:r}=(0,e4.J)(t);this.communityId=t,this.hydration={responses:[]},this.environment=nk(function(e){let{hydrationData:n,persisted:t,communityApiUrl:r,userAgent:i,bypassCache:o,fastlyDebugHeader:a,options:s={}}=e,{WP_GRAPHQL_URL:l}=nU.env;if(!l)throw Error("WP_GRAPHQL_URL is not defined");let u=function(e){let{hydrationData:n,persisted:t,userAgent:r,bypassCache:i,fastlyDebugHeader:o}=e,{APP_NAME:a,VERSION:s}=nB.env;return[...null!==n?[nj(n)]:[],e=>async n=>{let t=Date.now(),r=await e(n);return ng.info({duration:Date.now()-t,url:n.url,id:n.request.id,operation:{operationName:n.operation.operationName,variables:n.operation.variables,extensions:n.operation.extensions},cache:n.cache},"GraphQL response"),r},ny,e=>n=>{let t=nD.env.WP_PLATFORM_API_TOKEN;if(!t)throw Error("WP_PLATFORM_API_TOKEN environment variable is required for basic auth middleware.");return n.fetchOpts.headers.Authorization=`Basic ${nF.from(`duet:${t}`).toString("base64")}`,e(n)},nd({name:a,commit:s}),nN({userAgent:r}),nA({bypassCache:i}),nP({active:o}),nc(),nM(t)]}({hydrationData:n,persisted:t,userAgent:i,bypassCache:o,fastlyDebugHeader:a});return ni.Network.create(nu({url:r||l,middleware:u,options:s}))}({hydrationData:this.hydration,persisted:e,communityApiUrl:r,userAgent:n.headers["user-agent"],bypassCache:nR(n),options:{onHeaders:(e,n)=>{let t=nK(n.operationName,n.variables);this.responseHeaders[t]={},e.forEach((e,n)=>this.responseHeaders[t][n]=e)}}}))}async fetchQuery(e){let{query:n,variables:t,durationHeaderKey:r}=e,i=(0,eT._E)(),o=await (0,ni.fetchQuery)(this.environment,n,t,{fetchPolicy:"network-only"}).toPromise(),a=(0,eT.Z9)(i),s=function(e){let n=e;if("default"in n&&(n=n.default),"function"==typeof n&&(n=n()),!("operation"in n))throw Error("Not a ConcreteRequest");return n}(n).operation.name,l=nK(s,t),u=l in this.responseHeaders?{...this.responseHeaders[l],"vm-duration-gql-query":a}:{},c=nS(u);return{response:o,headers:u,surrogateKeys:c,durationHeaderKey:r||eE(s),duration:a,discardHydration:()=>{let e=this.hydration.responses.findIndex(e=>!!(e.operationName===s&&n_(e.variables,t)));-1!==e&&this.hydration.responses.splice(e,1)}}}}try{i=t(10586)}catch(e){throw(0,e_.Tb)(e,{extra:{message:"could not load persisted queries"}}),e}var nq=i,nH=t(70341),n$=e=>{let{routeInfo:n,children:t}=e;return(0,p.jsx)(nH.Z.Provider,{value:{routeInfo:n},children:t})},nV=t(83419),nG=t(18881),nZ=e=>{let{seoSchemaConfigPathMap:n={}}=e,{base:t}=(0,nV.Z)(),r=n[t];return r?(0,p.jsx)(nG.Z,{schema:r}):null},nW=t(88321),nQ=({analyticsClient:e,volume:n,children:t})=>(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(nW.ZP.Provider,{value:{client:e,volume:n},children:t})}),nY=t(70810),nJ=({children:e,campaign:n})=>(0,p.jsx)(nY.Z.Provider,{value:{campaign:n},children:e}),nX=t(45293),n0=({children:e,adConfig:n,appConfig:t,networkConfig:r,communityConfig:i,crossPostConfig:o,coralConfig:a,newslettersConfig:s,customArticleFooter:l,subscriptionProviderConfig:u,seoConfig:c,parselyConfig:d,featureConfig:h})=>{let{siteSettings:{siteDomain:f}}=(0,ne.Q)(),m=`https://${f}`;return(0,p.jsx)(nX.Z.Provider,{value:{adConfig:n,appConfig:t,communityConfig:Object.assign(Object.assign({},i),{siteOrigin:m}),coralConfig:a,crossPostConfig:o,customArticleFooter:l,featureConfig:h,networkConfig:r,newslettersConfig:s,seoConfig:c,parselyConfig:d,subscriptionProviderConfig:u},children:e})},n1=t(42061),n2=e=>{let[n,t]=(0,g.useState)(!1),[r,i]=(0,g.useState)(!1),[o,a]=(0,g.useState)(!1),s=(0,g.useCallback)((e={})=>{i(!!e.disableTransition),t(!0)},[]),l=(0,g.useCallback)((e={})=>{i(!!e.disableTransition),t(!1),a(!1)},[]),u=(0,g.useCallback)(()=>{a(!0)},[]),c=(0,g.useMemo)(()=>({drawerId:"coral-drawer",isDrawerOpen:n,isDrawerPrerendered:o,isDrawerTransitionDisabled:r,openDrawer:s,closeDrawer:l,prerenderDrawer:u}),[l,n,o,r,s,u]);return(0,p.jsx)(n1.Z.Provider,{value:c,children:e.children})},n3=t(94523),n5=({className:e})=>(0,p.jsx)("svg",{className:e,width:"6",height:"10",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,p.jsx)("path",{d:"M1.1342 0.801025L5.33325 5.00008L1.1342 9.19914L0.333252 8.3982L3.73137 5.00008L0.333252 1.60197L1.1342 0.801025Z"})}),n4=t(60355),n8=t(98343),n6=t(85056),n7=t(60699),n9=t(92015);t(32983);var te=()=>{let{breakingNewsBanner:e}=(0,ne.Q)(),{campaign:n}=(0,nY.G)(),t=(0,nW.z$)(),r=(0,g.createRef)(),[i,o]=(0,g.useState)(!1);if((0,T.Z)(r,{event:"breaking_news_banner",breaking_news_banner:{name:e?.heading,action:"view",position:"breaking_news_banner"}}),n||!e)return null;let{content:a,buttonText:s,buttonUrl:l,heading:u}=e,c=s.toLowerCase().replace(/\s/g,"_");return(0,p.jsx)("div",{ref:r,className:(0,eR.Z)(n6.I.BreakingNewsBanner,"_2hw9j60",i?"_2hw9j67":""),children:(0,p.jsxs)("div",{className:(0,eR.Z)(n7.F.layout.mainColumn,"_2hw9j61"),children:[(0,p.jsx)("div",{className:"_2hw9j62",children:(0,p.jsxs)(n8.Z,{href:l,onClick:()=>t?.emit({event:"breaking_news_banner",breaking_news_banner:{name:u,action:`click_${c}`,position:"breaking_news_banner"}}),children:[a.map((e,n)=>(0,p.jsx)(n3.Z,{html:e.html,component:"span",className:"_2hw9j63"},n)),(0,p.jsx)("span",{className:"_2hw9j64",children:s}),(0,p.jsx)(n5,{className:"_2hw9j65"})]})}),(0,p.jsxs)("button",{onClick:()=>{o(!i)},children:[(0,p.jsx)("span",{className:n9.srOnly,children:"Close Banner"}),(0,p.jsx)(n4.Z,{className:"_2hw9j66"})]})]})})},tn=t(31994);t(24764);var tt=({anchorId:e,text:n="Skip to main content",className:t})=>(0,p.jsx)(tn.Z,{className:(0,eR.Z)(n6.I.SkipToContent,"_19riaqz0",t&&t),displayType:"secondary",href:`#${e}`,text:n}),tr=t(43158),ti=t(82830),to=t(46688),ta=({className:e,fill:n="currentColor",width:t=23,height:r=17})=>(0,p.jsxs)("svg",{width:t,height:r,className:e,viewBox:"0 0 23 17",xmlns:"http://www.w3.org/2000/svg",children:[(0,p.jsx)("line",{x1:"0.867188",y1:"1.53857",x2:"22.8672",y2:"1.53857",stroke:n,strokeWidth:"2"}),(0,p.jsx)("line",{x1:"0.867188",y1:"8.53857",x2:"22.8672",y2:"8.53857",stroke:n,strokeWidth:"2"}),(0,p.jsx)("line",{x1:"0.867188",y1:"15.5386",x2:"22.8672",y2:"15.5386",stroke:n,strokeWidth:"2"})]}),ts=t(46660);t(44646);var tl={normal:"_1ythw5z1 _1ythw5z0",branded:"_1ythw5z2 _1ythw5z0"},tu={normal:"_1ythw5z7 _1ythw5z6",branded:"_1ythw5z8 _1ythw5z6"},tc={normal:"_1ythw5zb _1ythw5za",branded:"_1ythw5zc _1ythw5za"},td=(0,eU.n)(({Logo:e,headline:n,isBranded:t=!1})=>{let{openDrawer:r,drawerId:i}=(0,ti.Q)(),o=(0,nW.z$)(),a=t?"branded":"normal";return(0,p.jsx)("nav",{"aria-label":"Navigation Bar",className:(0,eR.Z)(ts.Z.MinimalNav,tl[a]),children:(0,p.jsxs)("div",{className:"_1ythw5z3",children:[(0,p.jsx)("a",{href:"/","aria-label":"Click to visit the homepage",tabIndex:-1,className:"_1ythw5z5",children:(0,p.jsx)(e,{className:(0,eR.Z)(tu[a])})}),n&&(0,p.jsx)("div",{className:"_1ythw5z4",children:n}),(0,p.jsx)("div",{className:"_1ythw5z9",children:(0,p.jsx)("button",{onClick:()=>{r(),o?.emit({event:"navigation_click",navigation_click:{name:"minimal nav more button"}})},"aria-controls":i,"aria-label":"Open Drawer",children:(0,p.jsx)(ta,{className:(0,eR.Z)(tc[a])})})})]})})},{context:"MinimalNavErrorBoundary"}),tp=t(8900),th=t(7189),tf=t(84561);t(96500);var tm="g74ln82",tg="g74ln80",ty="g74ln81",t_="g74ln83",tv=()=>{let e=(0,E.RI)(),n=(0,nW.z$)(),[t,r]=(0,g.useState)(encodeURIComponent("/"));if((0,g.useEffect)(()=>{r(encodeURIComponent(window.location.pathname))},[]),e)return(0,p.jsx)("ul",{className:tg,children:(0,p.jsxs)("li",{className:ty,children:[(0,p.jsx)("a",{className:tm,href:`/users/${encodeURIComponent(e.username)}/edit_profile`,children:e.username}),(0,p.jsx)("div",{className:t_,children:" / "}),(0,p.jsx)("a",{className:tm,href:"/api/auth/logout",onClick:()=>{n?.emit({event:"authentication",authentication:{method:"logout"}})},children:"Log Out"})]})});let i=`/api/auth/login?redirectTo=${t}`;return(0,p.jsx)("ul",{className:tg,children:(0,p.jsxs)("li",{className:ty,children:[(0,p.jsx)("a",{className:tm,href:i,onClick:()=>{n?.emit({event:"authentication",authentication:{method:"log in"}})},children:"Login"}),(0,p.jsx)("div",{className:t_,children:" / "}),(0,p.jsx)("a",{className:tm,href:i,onClick:()=>{n?.emit({event:"authentication",authentication:{method:"sign up"}})},children:"Sign Up"})]})})};t(40127);var tb="_1by3cg32",tC="_1by3cg30",tx="_1by3cg31",tk="_1by3cg33",tw=()=>{let{user:e,setUser:n}=(0,E.aC)(),t=(0,nW.z$)(),[r,i]=(0,g.useState)(encodeURIComponent("/"));(0,g.useEffect)(()=>{i(encodeURIComponent(window.location.pathname))},[]);let o=async()=>{t?.emit({event:"authentication",authentication:{method:"logout"}}),await fetch("/api/auth/firebase-logout"),n(null)};if(e)return(0,p.jsx)("ul",{className:tC,children:(0,p.jsxs)("li",{className:tx,children:[(0,p.jsx)("a",{className:tb,href:"/account/profile",children:"Your Account"}),(0,p.jsx)("div",{className:tk,children:" / "}),(0,p.jsx)("button",{className:tb,onClick:()=>void o(),children:"Log Out"})]})});let a=`/auth/login?redirectTo=${r}`;return(0,p.jsx)("ul",{className:tC,children:(0,p.jsxs)("li",{className:tx,children:[(0,p.jsx)("a",{className:tb,href:a,onClick:()=>{t?.emit({event:"authentication",authentication:{method:"log in"}})},children:"Login"}),(0,p.jsx)("div",{className:tk,children:" / "}),(0,p.jsx)("a",{className:tb,href:a,onClick:()=>{t?.emit({event:"authentication",authentication:{method:"sign up"}})},children:"Sign Up"})]})})},tE=()=>{let{authMethod:e}=(0,E.aC)();return"chorus"===e?(0,p.jsx)(tv,{}):"identity"===e?(0,p.jsx)(tw,{}):null},tT=t(43323),tS=t(74241),tI=t(7654),tR=t(33782),tA=t(96267);let tP=null!=(c=g.useId)?c:function(){let e=(0,tA.H)(),[n,t]=g.useState(e?()=>tI.O.nextId():null);return(0,tR.e)(()=>{null===n&&t(tI.O.nextId())},[n]),null!=n?""+n:void 0};function tN(e){var n;if(e.type)return e.type;let t=null!=(n=e.as)?n:"button";if("string"==typeof t&&"button"===t.toLowerCase())return"button"}var tO=t(93618),tL=t(59790),tM=t(99146),tD=t(59582);let tF=null!=(d=g.startTransition)?d:function(e){e()};var tj=((o=tj||{}).Space=" ",o.Enter="Enter",o.Escape="Escape",o.Backspace="Backspace",o.Delete="Delete",o.ArrowLeft="ArrowLeft",o.ArrowUp="ArrowUp",o.ArrowRight="ArrowRight",o.ArrowDown="ArrowDown",o.Home="Home",o.End="End",o.PageUp="PageUp",o.PageDown="PageDown",o.Tab="Tab",o),tB=((a=tB||{})[a.Open=0]="Open",a[a.Closed=1]="Closed",a),tU=((s=tU||{})[s.ToggleDisclosure=0]="ToggleDisclosure",s[s.CloseDisclosure=1]="CloseDisclosure",s[s.SetButtonId=2]="SetButtonId",s[s.SetPanelId=3]="SetPanelId",s[s.LinkPanel=4]="LinkPanel",s[s.UnlinkPanel=5]="UnlinkPanel",s);let tK={0:e=>({...e,disclosureState:(0,tM.E)(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},4:e=>!0===e.linkedPanel?e:{...e,linkedPanel:!0},5:e=>!1===e.linkedPanel?e:{...e,linkedPanel:!1},2:(e,n)=>e.buttonId===n.buttonId?e:{...e,buttonId:n.buttonId},3:(e,n)=>e.panelId===n.panelId?e:{...e,panelId:n.panelId}},tz=(0,g.createContext)(null);function tq(e){let n=(0,g.useContext)(tz);if(null===n){let n=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,tq),n}return n}tz.displayName="DisclosureContext";let tH=(0,g.createContext)(null);tH.displayName="DisclosureAPIContext";let t$=(0,g.createContext)(null);function tV(e,n){return(0,tM.E)(n.type,tK,e,n)}t$.displayName="DisclosurePanelContext";let tG=g.Fragment,tZ=tD.AN.RenderStrategy|tD.AN.Static,tW=Object.assign((0,tD.yV)(function(e,n){let{defaultOpen:t=!1,...r}=e,i=(0,g.useRef)(null),o=(0,tO.T)(n,(0,tO.h)(e=>{i.current=e},void 0===e.as||e.as===g.Fragment)),a=(0,g.useRef)(null),s=(0,g.useRef)(null),l=(0,g.useReducer)(tV,{disclosureState:t?0:1,linkedPanel:!1,buttonRef:s,panelRef:a,buttonId:null,panelId:null}),[{disclosureState:u,buttonId:c},d]=l,p=(0,tS.z)(e=>{d({type:1});let n=tI.O.isServer?null:i instanceof Node?i.ownerDocument:null!=i&&i.hasOwnProperty("current")&&i.current instanceof Node?i.current.ownerDocument:document;if(!n||!c)return;let t=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:n.getElementById(c):n.getElementById(c);null==t||t.focus()}),h=(0,g.useMemo)(()=>({close:p}),[p]),f=(0,g.useMemo)(()=>({open:0===u,close:p}),[u,p]);return g.createElement(tz.Provider,{value:l},g.createElement(tH.Provider,{value:h},g.createElement(tL.up,{value:(0,tM.E)(u,{0:tL.ZM.Open,1:tL.ZM.Closed})},(0,tD.sY)({ourProps:{ref:o},theirProps:r,slot:f,defaultTag:tG,name:"Disclosure"}))))}),{Button:(0,tD.yV)(function(e,n){let t=tP(),{id:r=`headlessui-disclosure-button-${t}`,...i}=e,[o,a]=tq("Disclosure.Button"),s=(0,g.useContext)(t$),l=null!==s&&s===o.panelId,u=(0,g.useRef)(null),c=(0,tO.T)(u,n,l?null:o.buttonRef),d=(0,tD.Y2)();(0,g.useEffect)(()=>{if(!l)return a({type:2,buttonId:r}),()=>{a({type:2,buttonId:null})}},[r,a,l]);let p=(0,tS.z)(e=>{var n;if(l){if(1===o.disclosureState)return;switch(e.key){case tj.Space:case tj.Enter:e.preventDefault(),e.stopPropagation(),a({type:0}),null==(n=o.buttonRef.current)||n.focus()}}else switch(e.key){case tj.Space:case tj.Enter:e.preventDefault(),e.stopPropagation(),a({type:0})}}),h=(0,tS.z)(e=>{e.key===tj.Space&&e.preventDefault()}),f=(0,tS.z)(n=>{var t;(function(e){let n=e.parentElement,t=null;for(;n&&!(n instanceof HTMLFieldSetElement);)n instanceof HTMLLegendElement&&(t=n),n=n.parentElement;let r=(null==n?void 0:n.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let n=e.previousElementSibling;for(;null!==n;){if(n instanceof HTMLLegendElement)return!1;n=n.previousElementSibling}return!0}(t))&&r})(n.currentTarget)||e.disabled||(l?(a({type:0}),null==(t=o.buttonRef.current)||t.focus()):a({type:0}))}),m=(0,g.useMemo)(()=>({open:0===o.disclosureState}),[o]),y=function(e,n){let[t,r]=(0,g.useState)(()=>tN(e));return(0,tR.e)(()=>{r(tN(e))},[e.type,e.as]),(0,tR.e)(()=>{t||n.current&&n.current instanceof HTMLButtonElement&&!n.current.hasAttribute("type")&&r("button")},[t,n]),t}(e,u),_=l?{ref:c,type:y,onKeyDown:p,onClick:f}:{ref:c,id:r,type:y,"aria-expanded":0===o.disclosureState,"aria-controls":o.linkedPanel?o.panelId:void 0,onKeyDown:p,onKeyUp:h,onClick:f};return(0,tD.sY)({mergeRefs:d,ourProps:_,theirProps:i,slot:m,defaultTag:"button",name:"Disclosure.Button"})}),Panel:(0,tD.yV)(function(e,n){let t=tP(),{id:r=`headlessui-disclosure-panel-${t}`,...i}=e,[o,a]=tq("Disclosure.Panel"),{close:s}=function e(n){let t=(0,g.useContext)(tH);if(null===t){let t=Error(`<${n} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}("Disclosure.Panel"),l=(0,tD.Y2)(),u=(0,tO.T)(n,o.panelRef,e=>{tF(()=>a({type:e?4:5}))});(0,g.useEffect)(()=>(a({type:3,panelId:r}),()=>{a({type:3,panelId:null})}),[r,a]);let c=(0,tL.oJ)(),d=null!==c?(c&tL.ZM.Open)===tL.ZM.Open:0===o.disclosureState,p=(0,g.useMemo)(()=>({open:0===o.disclosureState,close:s}),[o,s]);return g.createElement(t$.Provider,{value:o.panelId},(0,tD.sY)({mergeRefs:l,ourProps:{ref:u,id:r},theirProps:i,slot:p,defaultTag:"div",features:tZ,visible:d,name:"Disclosure.Panel"}))})});var tQ=t(75817),tY=t(74795);t(22230),t(58201),t(82288);let tJ=({children:e})=>(0,p.jsx)("ul",{children:e});tJ.Item=({className:e,special:n,...t})=>(0,p.jsx)("li",{className:(0,eR.Z)(e,"fl1qjc0"),children:(0,p.jsx)("a",{...t,className:(0,eR.Z)("fl1qjc1",n&&"fl1qjc2"),children:t.children})}),tJ.Group=e=>(0,p.jsx)("li",{className:(0,eR.Z)(e.className,"_1i6dio50"),children:(0,p.jsx)(tW,{defaultOpen:e.defaultOpen,children:({open:n})=>(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(tW.Button,{className:(0,eR.Z)("_1i6dio51",n&&"_1i6dio53",e.special&&"_1i6dio52"),"aria-label":`${n?"Expand":"Collapse"} '${e.title}' Section`,children:[e.title,n?(0,p.jsx)(tQ.Z,{className:"_1i6dio54"}):(0,p.jsx)(tY.Z,{className:"_1i6dio54"})]}),(0,p.jsx)(tW.Panel,{static:!0,children:(0,p.jsx)("ul",{className:(0,eR.Z)(!n&&n7.F.layout.hide,"_1i6dio56"),children:e.children})})]})})}),tJ.GroupItem=({className:e,...n})=>(0,p.jsx)("li",{className:e,children:(0,p.jsx)("a",{...n,className:"llv8jq0",children:n.children})}),t(83539);var tX=({className:e,...n})=>(0,p.jsxs)("button",{className:(0,eR.Z)("al1lul0",e),...n,"aria-label":"Close Drawer",children:[(0,p.jsx)("span",{children:"close"}),(0,p.jsx)(n4.Z,{className:"al1lul1"})]});t(41992);var t0={standard:"_1yqd7kl7",auth:"_1yqd7kl8"},t1="_1yqd7kla",t2=({items:e,onClose:n,open:t,shortcutBar:r,endSection:i,showAuth:o,initialSearchFocus:a,storybookStatic:s,randomizeSearchPlaceholder:l=[]})=>{let{drawerId:u}=(0,ti.Q)(),c=(0,nW.z$)(),d=(0,g.useRef)(null),[h,f]=(0,g.useState)("Search"),{isDrawerOpen:m,closeDrawer:y}=(0,e2.D)();return(0,g.useEffect)(()=>{t&&m&&y()},[y,t,m]),(0,g.useEffect)(()=>{if(t&&l.length){let e=Math.floor(Math.random()*l.length);f(l[e])}},[t,l]),(0,p.jsx)(tf.Z,{drawerClassName:"_1yqd7kl0",drawerId:u,onClose:n,open:t,storybookStatic:s,initialFocusElement:a&&d.current,"aria-label":"Navigation Drawer",children:(0,p.jsxs)("div",{className:"_1yqd7kl5",children:[(0,p.jsxs)("div",{children:[(0,p.jsxs)("div",{children:[(0,p.jsx)("div",{className:"_1yqd7kl1",children:(0,p.jsx)(tX,{onClick:n,"aria-controls":u})}),(0,p.jsx)("div",{children:(0,p.jsx)("form",{onSubmit:e=>{e.preventDefault();let n=d.current?.value||null;n?window.location.href=`/search?q=${n}`:window.location.href="/search"},"aria-label":"Search Form",children:(0,p.jsx)(tp.Z,{inputClassName:"_1yqd7kl2",iconClassName:"_1yqd7kl3",ref:d,placeholder:h})})}),r,(0,p.jsx)("nav",{className:"_1yqd7kl4","aria-label":"Drawer Navigation",children:(0,p.jsx)(tJ,{children:e.map((e,n)=>0===e.subItems.length?(0,p.jsxs)(tJ.Item,{href:e.allLink?.url||e.url,target:e.allLink?.target||e.target,rel:"noreferrer",special:e.special,onClick:()=>(e.allLink?.url||e.url)&&c?.emit({event:"navigation_click",navigation_click:{name:e.allLink?.url||e.url}}),children:[e.title,("_blank"===e.target||e.allLink?.target==="_blank")&&(0,p.jsx)(th.Z,{className:"_1yqd7kl9"})]},n):(0,p.jsxs)(tJ.Group,{title:e.title,special:e.special,defaultOpen:e.defaultOpen,children:[e.allLink&&(0,p.jsxs)(tJ.GroupItem,{href:e.allLink.url,target:e.allLink.target,onClick:()=>e.allLink?.title&&c?.emit({event:"navigation_click",navigation_click:{name:e.allLink.title}}),children:[e.allLink.title,"_blank"===e.allLink.target&&(0,p.jsx)(th.Z,{className:t1})]}),e.subItems.map((e,n)=>(0,p.jsxs)(tJ.GroupItem,{href:e.url,target:e.target,onClick:()=>c?.emit({event:"navigation_click",navigation_click:{name:e.title}}),children:[e.title,"_blank"===e.target&&(0,p.jsx)(th.Z,{className:t1})]},n))]},n))})})]}),(0,p.jsx)("div",{children:i})]}),(0,p.jsx)("div",{className:"_1yqd7kl6"}),(0,p.jsxs)("div",{className:t0[o?"auth":"standard"],children:[o&&(0,p.jsx)(tE,{}),(0,p.jsx)(tT.Z,{})]})]})})},t3=t(77563);t(50882);var t5="_1bn7g9f8",t4="_1bn7g9f9",t8=t(44463),t6=t.n(t8),t7=t(95066),t9=t(69135),re=t(84563);t(84246);var rn="_7dgjqdp",rt="_7dgjqdm",rr="_7dgjqds",ri="_7dgjqdf",ro="_7dgjqdi",ra="_7dgjqdr",rs=({open:e,onClick:n,title:t,subTitle:r,transitionStatus:i,drawerId:o})=>(0,p.jsxs)("button",{className:"_7dgjqd6",onClick:n,"aria-expanded":e?"true":"false","aria-controls":o,"aria-label":`${e?"Expand":"Collapse"} Special Navigation`,title:`${t}${r?": "+r:""}`,children:[(0,p.jsxs)("span",{className:"_7dgjqd7",children:[(0,p.jsxs)("span",{className:(0,eR.Z)("_7dgjqd8",ra,(e||!r)&&"_7dgjqdt"),children:[t,r&&(0,p.jsx)("span",{className:"_7dgjqdb",children:": "})]}),r&&(0,p.jsx)(t9.Z,{component:"span",className:(0,eR.Z)("_7dgjqd9","_7dgjqdu",e&&"_7dgjqdv"),html:r})]}),(0,p.jsx)(re.Z,{className:(0,eR.Z)("_7dgjqda",ra,"entering"===i&&rr,"entered"===i&&rr)})]}),rl=t(73127),ru=t.n(rl),rc=t(67878),rd=t(90030),rp=({open:e=!1,permalink:n,text:t,onClick:r,sectionId:i,loopNavTitle:o})=>{let a=(0,nW.z$)();return n?(0,p.jsx)("a",{className:ri,href:n,onClick:()=>{a?.emit({event:"loopnav",loopnav:{action:"click",loopnav_name:o,url:n,variant:"hyperlink"}}),r()},children:t}):(0,p.jsxs)("button",{className:(0,eR.Z)(ri,e&&"_7dgjqdg"),onClick:r,"aria-expanded":e?"true":"false","aria-controls":i,"aria-label":`${e?"Expand":"Collapse"} '${t}' Section`,children:[(0,p.jsx)(t9.Z,{component:"span",className:"_7dgjqdh",html:t}),e?(0,p.jsx)(tQ.Z,{className:ro}):(0,p.jsx)(tY.Z,{className:ro})]})},rh=(0,g.forwardRef)(({text:e,items:n,onClick:t,open:r=!1,permalink:i,loopNavTitle:o},a)=>{let s=(0,g.useId)(),l=(0,nW.z$)();return(0,p.jsxs)("li",{className:r&&n?"_7dgjqde":"_7dgjqdd",children:[(0,p.jsx)(rp,{open:r,...0===(n?.length||0)?{permalink:i}:{},onClick:t,text:e,sectionId:s,loopNavTitle:o}),n&&(0,p.jsx)("ol",{className:(0,eR.Z)(!r&&n7.F.layout.hide,"_7dgjqdk"),id:s,children:n.map(({text:e,permalink:n,current:t})=>(0,p.jsx)("li",{...t?{ref:a}:{},className:(0,eR.Z)("_7dgjqdl",t&&"_7dgjqdn"),children:n?(0,p.jsx)("a",{onClick:()=>{l?.emit({event:"loopnav",loopnav:{action:"click",loopnav_name:o,url:n,variant:"dropdown"}})},className:rt,href:n,children:(0,p.jsx)(t9.Z,{component:"span",html:e})}):(0,p.jsx)(t9.Z,{className:rt,component:"span",html:e})},e))}),(0,p.jsx)("hr",{className:"_7dgjqdj"})]})}),rf=({transitionStatus:e,sections:n,initialOpenSectionTitle:t,loopNavTitle:r})=>{let[i,o]=(0,g.useState)(t),[a,s]=(0,g.useState)(!1),l=(0,g.useRef)(null),u=(0,g.useRef)(null),c=(0,g.useRef)(null),d=ru()(()=>{l.current&&s(l.current.offsetHeight-Array.from(l.current.querySelectorAll(`.${ri}`)).reduce((e,n)=>e+n.offsetHeight,0)>250)},300),h=()=>{if(!u.current)return;let e=(0,rd.wh)();u.current.scrollIntoView({behavior:"instant",block:e?"start":"center"})};return(0,g.useEffect)(()=>{l.current&&(d(),h(),new ResizeObserver(()=>{d()}).observe(l.current))},[e,d]),(0,g.useEffect)(()=>{c.current&&new MutationObserver(e=>{for(let n of e)"class"===n.attributeName&&(0,rc.setTimeout)(h,150)}).observe(c.current,{attributes:!0})},[]),(0,p.jsxs)("nav",{className:(0,eR.Z)("_7dgjqd5",a&&"_7dgjqd0"),"aria-label":"Drawer Navigation",ref:c,children:[(0,p.jsx)("div",{className:n7.F.accessibility.srOnly,children:(0,p.jsx)("div",{id:"loopnav-title",children:"Drawer"})}),(0,p.jsx)("ol",{className:"_7dgjqdc",ref:l,children:n.map(({text:e,items:n,permalink:t})=>{let a=i===e;return(0,p.jsx)(rh,{text:e,loopNavTitle:r,items:n,onClick:()=>{o(a?void 0:e)},open:a,permalink:t,ref:u},e)})})]})},rm=(0,eU.n)(({forceOpenLoopNav:e})=>{let{drawerId:n,isDrawerOpen:t,closeDrawer:r,openDrawer:i,loopNavData:o}=(0,e2.D)(),[a,s]=(0,g.useState)(!1),l=(0,g.useRef)(null),u=(0,nW.z$)();if(!o)return null;let{sections:c,title:d}=o,h=c.find(e=>e.current)||null,f=h?.text,m=()=>{t?r():(u?.emit({event:"loopnav",loopnav:{action:"click_dropdown",loopnav_name:d}}),i())};return(0,p.jsx)("div",{className:(0,eR.Z)(n6.I.LoopNav,"_7dgjqd1"),children:(0,p.jsx)(t7.ZP,{in:e||t,timeout:150,nodeRef:l,onEntered:()=>s(!0),onExited:()=>s(!1),children:i=>(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(rs,{open:e||t,drawerId:n,onClick:m,title:d,subTitle:f,transitionStatus:i}),(0,p.jsx)("div",{id:"animate-under-me",className:"_7dgjqdo"}),(0,p.jsx)("div",{id:n,ref:l,className:(0,eR.Z)("_7dgjqd2","exited"===i&&n7.F.layout.hide),onClick:e=>{e.currentTarget===e.target&&r()},onKeyUp:e=>{"Escape"===e.key&&r()},role:"dialog","aria-modal":"true","aria-labelledby":"loopnav-title",children:(0,p.jsx)("section",{className:(0,eR.Z)("_7dgjqd3",ra,"_7dgjqdw","entering"===i&&rn,"entered"===i&&"_7dgjqdq","exiting"===i&&rn),children:(0,p.jsx)(t6(),{active:a,focusTrapOptions:{escapeDeactivates:!1,clickOutsideDeactivates:!1,allowOutsideClick:!0},children:(0,p.jsx)("div",{className:"_7dgjqd4",children:(0,p.jsx)(rf,{transitionStatus:i,sections:c,initialOpenSectionTitle:f,loopNavTitle:d})})})})})]})})})},{context:"LoopNavErrorBoundary"}),rg=t(22178),ry=({Logo:e,MinimalLogo:n,hamburgerButton:t,forceOpenLoopNav:r,commentCount:i})=>(0,p.jsxs)("div",{className:(0,eR.Z)("_1bn7g9f4"),children:[(0,p.jsxs)("a",{href:"/","aria-label":"Click to visit the homepage",tabIndex:-1,className:"_1bn7g9f3",children:[(0,p.jsx)(e,{className:(0,eR.Z)(t5,n&&rg.hide&&rg.showTabletPlus)}),n&&(0,p.jsx)(n,{className:(0,eR.Z)(rg.hideTabletPlus)})]}),(0,p.jsx)(rm,{forceOpenLoopNav:r}),(0,p.jsxs)("div",{className:(0,eR.Z)(t4,"_1bn7g9fa"),children:[i,t]})]}),r_=t(36381),rv=({Logo:e,headline:n,isBranded:t=!1,hamburgerButton:r,campaign:i,commentCount:o})=>(0,p.jsxs)("div",{className:(0,eR.Z)("_1bn7g9f5 _1bn7g9f4"),children:[(0,p.jsx)("a",{href:"/","aria-label":"Click to visit the homepage",tabIndex:-1,className:"_1bn7g9f2",children:(0,p.jsx)(e,{className:(0,eR.Z)(t5)})}),n&&(0,p.jsx)("div",{className:"_1bn7g9f7",children:n}),(0,p.jsxs)("div",{className:t4,children:[i&&(0,p.jsx)(r_.Z,{campaign:i,imageClassName:(0,eR.Z)(t?"_1bn7g9fd":"_1bn7g9fc"),textClassName:(0,eR.Z)("_1bn7g9fe",t&&"_1bn7g9ff")}),o,r]})]}),rb=(0,eU.n)(({Logo:e,MinimalLogo:n,headline:t,isBranded:r=!1,forceSticky:i,forceOpenLoopNav:o,commentCountProps:a})=>{let[s,l]=(0,g.useState)(!1),{openDrawer:u,drawerId:c,addArticleRefSubscriber:d,stickyNavTriggerClassName:h}=(0,ti.Q)(),{campaign:f}=(0,nY.G)(),{loopNavData:m}=(0,e2.D)(),y=(0,nW.z$)(),_=m&&!r&&!f;(0,g.useEffect)(()=>{let e=new IntersectionObserver(([e])=>{if(e){let n=e.boundingClientRect.bottom<0;l(n),_&&n&&y?.emit({event:"loopnav",loopnav:{action:"view",loopnav_name:m.title}})}}),n=new IntersectionObserver(([e])=>{e&&l(e.boundingClientRect.top<0&&e.intersectionRect.top>0)},{rootMargin:"-100% 0px 0px 0px"}),t=d(t=>{if(!t||"undefined"==typeof IntersectionObserver)return;let r=t.querySelector(`.${h}`);t.getBoundingClientRect().bottom-r.getBoundingClientRect().bottom{t(),e.disconnect(),n.disconnect()}},[d,h,y,m?.title,_]);let v=a?.id,b=(0,p.jsxs)(p.Fragment,{children:[(_||v)&&(0,p.jsx)("span",{className:(0,eR.Z)("_1bn7g9fj",_&&!v&&n7.F.layout.hideTabletPlus)}),(0,p.jsx)("button",{onClick:()=>{u(),y?.emit({event:"navigation_click",navigation_click:{name:"sticky more button"}})},"aria-controls":c,"aria-label":"Open Drawer",className:(0,eR.Z)("_1bn7g9fg",r&&"_1bn7g9fh"),children:(0,p.jsx)(ta,{className:"_1bn7g9fb"})})]}),C=v?(0,p.jsx)(t3.Z,{className:(0,eR.Z)("_1bn7g9fi",_&&n7.F.layout.showTabletPlus),noText:!0,variant:"stickyNav",...a}):null;return(0,g.useEffect)(()=>{if(s)return document.body.classList.add(ts.Z.BodyStickyNav),()=>{document.body.classList.remove(ts.Z.BodyStickyNav)}},[s]),(0,p.jsx)("nav",{"aria-label":"Sticky Nav",className:(0,eR.Z)(ts.Z.StickyNav,"_1bn7g9f0",(i||s)&&"_1bn7g9f1"),children:_?(0,p.jsx)(ry,{Logo:e,MinimalLogo:n,hamburgerButton:b,forceOpenLoopNav:o,commentCount:C}):(0,p.jsx)(rv,{Logo:e,MinimalLogo:n,headline:t,isBranded:r,campaign:f,hamburgerButton:(!f||r)&&b,commentCount:C})})},{context:"StickyNavErrorBoundary"}),rC=e=>{let n=(0,tr.dj)("navigation"),{Logo:t,PrimaryLogo:r,drawerItems:i,pinnedItems:o,MinimalLogo:a,cta:s,stickyNavHeadline:l,drawer:u,variant:c,showAuth:d,linkMenu:h,rightMenuButtons:f,showStickyNavCommentCount:m,primaryNavigationComponent:y}=(0,to.Z)(e,n),{loopNavData:_}=(0,e2.D)(),{setOpenDrawerFn:v,setCloseDrawerFn:b}=(0,ti.Q)(),[C,x]=(0,g.useState)(!1),[k,w]=(0,g.useState)(!1),E=(0,g.useCallback)((e={})=>{w(!!e.initialSearchFocus),x(!0)},[]),T=()=>x(!1);return(0,g.useEffect)(()=>{v(E),b(T)},[]),(0,p.jsxs)(p.Fragment,{children:["minimal"===c||"branded"===c?(0,p.jsx)(td,{Logo:t,isBranded:"branded"===c}):(0,p.jsx)(y,{PrimaryLogo:r,Logo:t,items:o,cta:s,variant:c,showLinkLines:h.showLinkLines,linkClassName:h.linkClassName,rightMenuButtons:f}),(0,p.jsx)(t2,{items:i,open:C,onClose:T,shortcutBar:u.shortcutBar,endSection:u.endSection,randomizeSearchPlaceholder:u.randomizeSearchPlaceholder,showAuth:d,initialSearchFocus:k}),(e.stickyNav||_)&&(0,p.jsx)(rb,{Logo:t,MinimalLogo:a,headline:l,isBranded:"branded"===c,...m&&{commentCountProps:e.commentCountProps}})]})},rx=({children:e,componentConfig:n})=>(0,p.jsx)(tr.ZP.Provider,{value:n,children:e}),rk=({children:e})=>{let n=(0,g.useRef)([]),t=(0,g.useRef)(null),r=(0,g.useCallback)(e=>(e(t.current),n.current.push(e),()=>{let t=n.current.indexOf(e);t>=0&&n.current.splice(t,1)}),[n]),i=()=>{},o=()=>{},a=`drawer_${(0,g.useId)()}`;return(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(ti.Z.Provider,{value:{stickyNavTriggerClassName:"sticky-nav-trigger",articleRef:e=>{t.current=e,n.current.forEach(n=>n(e))},addArticleRefSubscriber:r,openDrawer:(...e)=>i(...e),setOpenDrawerFn:e=>{i=e},closeDrawer:(...e)=>o(...e),setCloseDrawerFn:e=>{o=e},drawerId:a},children:e})})},rw=t(26996);let rE="GTM-WQ5FM5W",rT=rE&&new eq,rS={pagesCanonicalMap:{},defaultOgImage:""},rI={tagsToInverse:[],enableTraining:!1},rR={useLiveStreamUpdates:!1};function rA(e){let{adConfig:n,AuthProvider:t,communityId:r,Component:i,componentConfig:o,customArticleFooter:a,defaultSEO:s,featureConfig:l=rR,fonts:u,Footer:c,hydration:d,Navigation:h,newslettersConfig:f,pageProps:m,parselyConfig:y=rI,preview:_,routeInfo:v,seoConfig:b=rS,seoSchemaConfigPathMap:C,token:x,serverAuthState:k}=(0,g.useMemo)(()=>e,[]);(0,g.useEffect)(()=>{window.history.replaceState(null,"",window.location.toString())},[]);let w=(0,g.useMemo)(()=>new eD,[]),{nodeId:E,appContainerClassName:T="",navProps:S={},hideNav:I,hideFooter:R,campaign:A=null,showBreakingNewsBanner:P,showWikiBanner:N,showLeaderboardTopAd:O}=m,M=(0,g.useMemo)(()=>(0,e4.J)(r),[r]),D=nw((0,g.useMemo)(()=>({responses:[...d.responses,...m.hydration?m.hydration.responses:[]]}),[d.responses,m.hydration]),x||m.token,M),F=(0,g.useMemo)(()=>e7(M.communityName),[M]),j=(0,g.useMemo)(()=>e=>(0,p.jsx)(eO.RelayEnvironmentProvider,{environment:D,children:(0,p.jsx)(n2,{children:(0,p.jsx)(nr,{children:(0,p.jsx)(t,{children:(0,p.jsx)(n0,{adConfig:n,appConfig:e$.eG,communityConfig:M,coralConfig:e8.vG,crossPostConfig:F,customArticleFooter:a,featureConfig:l,networkConfig:eB.$,newslettersConfig:f,parselyConfig:y,seoConfig:b,subscriptionProviderConfig:e9,children:(0,p.jsx)(n$,{routeInfo:v,children:(0,p.jsx)(nJ,{campaign:A,children:(0,p.jsx)(rx,{componentConfig:o,children:(0,p.jsx)(rk,{children:S.loopNav?.enable&&E?(0,p.jsx)(e5,{nodeId:E,children:e.children}):(0,p.jsx)(e3,{loopNavData:null,children:e.children})})})})})})})})})}),[t,n,A,M,o,F,a,D,l,S.loopNav?.enable,f,E,y,v,b]),B=(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(e0,{fonts:u}),(0,p.jsx)(eN.lX,{...s}),(0,p.jsx)(eX,{}),(0,p.jsx)(j,{children:(0,p.jsxs)("div",{className:(0,eR.Z)(ts.Z.AppContainer,"minimal"!==S.variant&&n7.F.layout.flexAppContainer,T),children:[!I&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(tt,{anchorId:"content"}),O&&(0,p.jsx)(L.Z,{adType:"leaderboardTop"}),P&&(0,p.jsx)(te,{}),h||(0,p.jsx)(rC,{variant:S.variant||"standard",stickyNav:S.stickyNav?.enable,stickyNavHeadline:S.stickyNav?.headline,commentCountProps:S.commentCountProps}),N&&!k?.isEntitled&&(0,p.jsx)(e1.Z,{template:S.template})]}),(0,p.jsx)(nZ,{seoSchemaConfigPathMap:C}),(0,p.jsx)(i,{...m}),R?null:c]})})]});return(B=(0,p.jsx)(eU.Z,{context:"AppErrorBoundary",layout:"App",children:B}),rE&&!_)?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(ez,{containerID:rE,communityOrigin:M.communityOrigin}),(0,p.jsx)(nQ,{analyticsClient:w,volume:eY,children:B})]}):B}rA.getInitialProps=async e=>{let{context:n,themes:t,defaultTheme:r,scripts:i,serverAuthState:o}=e,a=(0,eT._E)(),s=await eP().getInitialProps(n),{req:l,res:u,asPath:c}=n.ctx,d=c?(0,rw.bn)(c):{base:"",page:null};if(""===d.base&&console.warn("RouteInfo not available"),!l)throw Error("Expected a request object");let p=ew(l.headers),h=(0,eS.P6)(c),{vmPrefix:f}=(0,e4.J)(p),m=new nz(nq,l),g=await m.fetchQuery({query:eL.default,variables:{},durationHeaderKey:"vm-duration-global-data-query"});return u&&(function(e,n){n.forEach(n=>{let{durationHeaderKey:t,duration:r}=n;e.setHeader(t,r)})}(u,[g]),nI({res:u,preview:h,vmPrefix:f,queryResponseKeys:g.surrogateKeys}),u.setHeader("vm-duration-gip",(0,eT.Z9)(a)),u.setHeader("vm-app-path",c||"")),{...s,hydration:m.hydration,preview:h,themes:t,communityId:p,defaultTheme:r,routeInfo:d,scripts:i,serverAuthState:o}};var rP=t(66952),rN=t.n(rP),rO=t(71343);let rL={lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,showDek:!0},rM={contentBlockSize:"large",contentBlockVariation:"standard",imageAspectRatio:"wide",imageTreatment:null,imageOverlay:null,lowerMetaFirstComponent:"ContentBlockByline",lowerMetaSecondComponent:"Timestamp",lowerMetaThirdComponent:"CommentCount",mediaVariationIconPlacement:"thumbnail",showBorder:!1,showDek:!1,showScore:!1,upperMetaSecondComponent:null,upperMetaThirdComponent:null,componentContext:{river:{imageAspectRatio:"squareLarge",lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,showBorder:!0,showDek:!0,upperMetaSecondComponent:"Timestamp"},twoUpPatternFirst:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"large",contentBlockVariation:"standard",imageAspectRatio:"wide",showDek:!0},twoUpPatternSecond:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"large",contentBlockVariation:"standard",imageAspectRatio:"wide",showDek:!0},threeGridBigPattern:{lowerMetaSecondComponent:"CommentCount",lowerMetaThirdComponent:null,contentBlockSize:"large",contentBlockVariation:"special"},threeUpPatternLargeFirst:{...rL,imageAspectRatio:"square",extraImageStyles:rO.sq},threeUpPatternLargeSecond:{...rL,imageAspectRatio:"square",extraImageStyles:(0,eR.Z)(rO.BV,rO.sq)},threeUpPatternLargeThird:{...rL,imageAspectRatio:"square",extraImageStyles:(0,eR.Z)(rO.BV,rO.sq)},threeUpPatternFirst:{...rL,extraImageStyles:(0,eR.Z)(rO.BV,rO.sq)},threeUpPatternSecond:{...rL},threeUpPatternThird:{...rL},threeUpCategoryPillarLargeFirst:{...rL},threeUpCategoryPillarLargeSecond:{...rL},threeUpCategoryPillarLargeThird:{...rL},threeUpBigPattern:{lowerMetaSecondComponent:"CommentCount",lowerMetaThirdComponent:null},threeUpAltPatternLargeFirst:{...rL,overlap:!0},threeUpAltPatternLarge:{...rL,imageAspectRatio:"square"},threeUpAltPatternSmall:{...rL,overlap:!0},fourUpPattern:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"jumbo",showDek:!0},fourUpPatternDesktop:{lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,contentBlockSize:"jumbo",showDek:!0},sixUpPatternPrimarySquare:{contentBlockSize:"jumbo",lowerMetaSecondComponent:null,imageAspectRatio:"square",lowerMetaThirdComponent:null,overlap:!1,showDek:!0},sixUpPatternPrimaryWide:{contentBlockSize:"jumbo",lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,overlap:!0,showDek:!0},imageAndListPattern:{imageAspectRatio:"wide",imageOverlay:null,imageTreatment:"three"}}};var rD=t(55484);let rF={indent:!1,topSpacing:!1,header:!1,componentContext:{categoryPillar:{indent:!1},latestRecirc:{header:(0,p.jsx)(rD.Z,{title:"The Latest",headingLevel:"h2",size:"medium"})}}};var rj=t(83958),rB=t(2354),rU=t(97456),rK=t(82735);t(26320);var rz=t(94977);t(88953);var rq=e=>{let n=(0,tr.dj)("threeGridBigPattern",e.componentContext||""),{cardsData:t,gaComponentName:r="three_grid_big_pattern",mobileCardContext:i="threeGridPattern",desktopCardContext:o,showGridBorders:a=!1,mobileCardClassName:s,desktopCardClassName:l,desktopContainerClassName:u}=rN()({},n,e),{mobileContext:c,desktopContext:d}=(0,rK.A)(t.length,i,o),h=(e,n)=>(0,p.jsx)("div",{className:(0,eR.Z)(a&&rU.w8),children:(0,p.jsx)(rz.Z,{...e,componentContext:d[n],gaComponentName:r,imageTreatment:0===n||n%2==0?"two":"three",imageOverlay:0===n||n%2==0?"two":"three",className:l})},e.id),f=(e,n)=>(0,g.createElement)(rz.Z,{...e,key:e.id,componentContext:c[n],gaComponentName:r,extraContentBlockStyles:"_1vw4fnn1",imageTreatment:0===n||n%2==0?"two":"three",imageOverlay:0===n||n%2==0?"two":"three",className:(0,eR.Z)(n!==t.length-1&&n7.F.layout.standardSpacing.medium,s)}),m=[],y=[];return t.forEach((e,n)=>{m.push(h(e,n)),y.push(f(e,n))}),(0,p.jsxs)("div",{children:[(0,p.jsx)("div",{className:(0,eR.Z)("_1vw4fnn0",u),children:m}),(0,p.jsx)("div",{className:rU.zs,children:y})]})},rH=t(51065);t(57130);var r$=e=>{let n=(0,tr.dj)("threeGridOverflowPattern",e.componentContext||""),{cardsData:t,gaComponentName:r="three_grid_overflow_pattern",mobileCardContext:i="threeGridPattern",desktopCardContext:o,showGridBorders:a=!1,mobileCardClassName:s,desktopCardClassName:l,desktopContainerClassName:u}=rN()({},n,e),{mobileContext:c,desktopContext:d}=(0,rK.A)(t.length,i,o),h=(e,n)=>(0,p.jsx)("div",{className:(0,eR.Z)(a&&rU.w8),children:(0,p.jsx)(rH.Z,{...e,componentContext:d[n],gaComponentName:r,className:l})},e.id),f=(e,n)=>(0,p.jsx)("div",{className:(0,eR.Z)(n7.F.contentCard.fixedWidthCard),children:(0,p.jsx)(rH.Z,{...e,componentContext:c[n],gaComponentName:r,className:s})},e.id),m=[],g=[];return t.forEach((e,n)=>{m.push(h(e,n)),g.push(f(e,n))}),(0,p.jsxs)("div",{children:[(0,p.jsx)("div",{className:(0,eR.Z)("_1l63vww0",u),children:m}),(0,p.jsx)("div",{className:"_1l63vww2",children:(0,p.jsx)("div",{className:(0,eR.Z)("_1l63vww1",n7.F.layout.hideScrollbar),children:g})})]})},rV=t(96112),rG=t(42414);let rZ={MobilePattern:rG.Z,componentContext:{categoryPillarThreeUp:{MobilePattern:rV.Z,TabletPattern:rq,DesktopPattern:rG.Z},guidesSection:{MobilePattern:r$,TabletPattern:r$,DesktopPattern:e=>{let n=(0,tr.dj)("threeGridAltOverflowPattern",e.componentContext||""),{cardsData:t,gaComponentName:r="three_grid_alt_overflow_pattern",mobileCardContext:i="threeGridAltPattern",desktopCardContext:o,showGridBorders:a=!1,mobileCardClassName:s,desktopCardClassName:l,desktopContainerClassName:u}=rN()({},n,e),{mobileContext:c,desktopContext:d}=(0,rK.A)(t.length,i,o),h=(e,n)=>(0,p.jsx)("div",{className:(0,eR.Z)(rB.Fp,a&&rU.w8),children:(0,p.jsx)(rj.Z,{...e,componentContext:d[n],gaComponentName:r,className:(0,eR.Z)(rB.MI,l)})},e.id),f=(e,n)=>(0,g.createElement)(rj.Z,{...e,key:e.id,componentContext:c[n],gaComponentName:r,firstChild:0===n,lastChild:n===t.length-1,className:s}),m=[],y=[];return t.forEach((e,n)=>{m.push(h(e,n)),y.push(f(e,n))}),(0,p.jsxs)("div",{children:[(0,p.jsx)("div",{className:(0,eR.Z)("pjyg9o0",u),children:m}),(0,p.jsx)("div",{className:rU.zs,children:(0,p.jsx)("div",{className:(0,eR.Z)(rU.k$,n7.F.layout.hideScrollbar),children:y})})]})}},homepageSpotlight:{MobilePattern:rG.Z,TabletPattern:rq,DesktopPattern:rG.Z}}};var rW=({className:e})=>(0,p.jsxs)("svg",{width:"120",height:"58",viewBox:"0 0 120 58",fill:"black",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,p.jsx)("title",{children:"Vox"}),(0,p.jsx)("desc",{children:"Vox logo"}),(0,p.jsx)("path",{fill:"#fff200",d:"M155-6.7h123.8v115H155z"}),(0,p.jsx)("path",{d:"M55.1 77.5h1.7l.2-.8H35.6l-.2.8h3.1c2.7 0 4.9 1.9 4.9 5.6 0 2.1-.9 4.8-2.4 8.1l-13.9 30.7L23.7 82c-.3-3.1 1.3-4.5 4.8-4.5h2l.2-.8H.5l-.3.8h1.9c2.4 0 3.3 1.5 3.5 4.3l5.4 51.6h12.7L45 88.3c3.3-6.7 6.7-10.8 10.1-10.8zm-2.5 56.1c-1.9 0-3.1-.6-3.1-3.8 0-4 1.5-11.9 3.1-19.1.2 3.3 2.5 6.6 5.9 6.6.8 0 1.5-.1 2.2-.2-3.2 13.7-4.4 16.5-8.1 16.5zm60.6-27.1c4 0 6.6-3.3 6.6-7.1 0-3.2-2.3-5.6-5.6-5.6-5.9 0-8.7 4.7-13.6 13.3-1-5.4-3.5-12.4-9.7-12.4-7 0-15.1 10-22.5 16.2-3.4 2.9-7.1 4.7-10.1 4.7-3.1 0-4.9-3.1-4.9-8.6 2.2-9 3.3-11.3 6.7-11.3 2.3 0 3.3 1.3 3.3 4 0 2.9-.6 7.7-1.9 13.8 3.3-1 8.3-5.2 12.5-9.7-2.2-5.3-7-8.9-13.8-8.9-12.7 0-23.9 11.4-23.9 24.2 0 8.8 6.3 15.5 16.1 15.5 16.2 0 23-14 23-23.8 0-1.4-.1-2.4-.2-3.7 2.5-2.7 5.7-5.3 8.3-5.3 3 0 5.4 7.5 7.7 18.8-2.1 2.3-4.2 6.7-5.2 7.5-.4-4-3.1-6.5-6.6-6.5-4 0-6.7 3.8-6.7 7 0 3.6 2.5 6 5.8 6 6.9 0 8.8-6.5 13.1-12.3 1.3 6.2 4.4 12.3 9.7 12.3 6.3 0 12.1-5.4 15.1-9.2l-.6-.9c-1.9 1.9-3.8 3.1-6 3.1-3.9 0-6.7-8.4-8.8-18.6 1.3-1.7 3.3-6.1 4.7-7.7.9 1.8 2.9 5.2 7.5 5.2z",fill:"#fff"}),(0,p.jsx)("path",{d:"M55.1.9h1.7l.2-.8H35.6l-.2.8h3.1c2.7 0 4.9 1.9 4.9 5.6 0 2.1-.9 4.8-2.4 8.1L27.1 45.3 23.7 5.4C23.4 2.3 25 .9 28.5.9h2l.2-.8H.5L.2.9h1.9c2.4 0 3.3 1.5 3.5 4.3L11 56.8h12.7L45 11.7C48.3 5 51.7.9 55.1.9zM52.6 57c-1.9 0-3.1-.6-3.1-3.8 0-4 1.5-11.9 3.1-19.1.2 3.3 2.5 6.6 5.9 6.6.8 0 1.5-.1 2.2-.2C57.5 54.2 56.3 57 52.6 57zm60.6-27.1c4 0 6.6-3.3 6.6-7.1 0-3.2-2.3-5.6-5.6-5.6-5.9 0-8.7 4.7-13.6 13.3-1-5.4-3.5-12.4-9.7-12.4-7 0-15.1 10-22.5 16.2C65 37.2 61.3 39 58.3 39c-3.1 0-4.9-3.1-4.9-8.6 2.2-9 3.3-11.3 6.7-11.3 2.3 0 3.3 1.3 3.3 4 0 2.9-.6 7.7-1.9 13.8 3.3-1 8.3-5.2 12.5-9.7-2.2-5.3-7-8.9-13.8-8.9-12.7 0-23.9 11.4-23.9 24.2 0 8.8 6.3 15.5 16.1 15.5 16.2 0 23-14 23-23.8 0-1.4-.1-2.4-.2-3.7 2.5-2.7 5.7-5.3 8.3-5.3 3 0 5.4 7.5 7.7 18.8-2.1 2.3-4.2 6.7-5.2 7.5-.4-4-3.1-6.5-6.6-6.5-4 0-6.7 3.8-6.7 7 0 3.6 2.5 6 5.8 6 6.9 0 8.8-6.5 13.1-12.3C92.9 51.9 96 58 101.3 58c6.3 0 12.1-5.4 15.1-9.2l-.6-.9c-1.9 1.9-3.8 3.1-6 3.1-3.9 0-6.7-8.4-8.8-18.6 1.3-1.7 3.3-6.1 4.7-7.7.9 1.8 2.9 5.2 7.5 5.2zm133.7-13.4h2.1l.2-1h-26l-.2 1h3.8c3.3 0 6 2.3 6 6.8 0 2.6-1.1 5.8-2.9 9.8L213 70.4 208.7 22c-.4-3.8 1.6-5.5 5.8-5.5h2.4l.2-1h-36.7l-.4 1h2.3c2.9 0 4 1.8 4.3 5.2l6.6 62.7h15.4l25.9-54.8c4.2-8.1 8.3-13.1 12.4-13.1z"})]}),rQ=t(87791);t(21548);var rY=({Logo:e,rightMenuButtons:n,monochrome:t})=>{let r=(0,nW.z$)();return(0,p.jsx)("div",{className:(0,eR.Z)(t&&"_1771tfx1","_1771tfx0"),children:(0,p.jsxs)("div",{className:"_1771tfx2",children:[(0,p.jsx)("div",{className:(0,eR.Z)("_1771tfx3"),children:(0,p.jsxs)("a",{href:"/",onClick:()=>r?.emit({event:"navigation_click",navigation_click:{name:"front page"}}),children:[(0,p.jsx)("span",{className:n9.srOnly,children:"The homepage"}),(0,p.jsx)(e,{className:(0,eR.Z)("_1771tfx4",t&&"_1771tfxa")})]})}),(0,p.jsx)("div",{className:"_1771tfx5",children:(0,p.jsx)("div",{className:"_1771tfx6",children:(0,p.jsx)(n,{monochrome:t})})})]})})};t(96149);var rJ={regular:"p9cztz8 p9cztz7",special:"p9cztz9 p9cztz7"},rX={standard:"p9cztz5",homepage:"p9cztz6"},r0={standard:"p9cztz2 p9cztz1",homepage:"p9cztz3 p9cztz1"};t(77956);var r1={standard:"rr52vu1 rr52vu0",homepage:"rr52vu2 rr52vu0"};let r2=({children:e,variant:n})=>(0,p.jsx)("ul",{className:r1[n],children:e});r2.Link=({className:e,anchorClassName:n,contentClassName:t,special:r,children:i,style:o,showLinkLines:a,icon:s,variant:l,monochrome:u,...c})=>{let d=c.href?"a":"button";return(0,p.jsx)("li",{className:(0,eR.Z)(e,"p9cztz0",a&&r0[l]),children:(0,p.jsx)(d,{...c,className:(0,eR.Z)(n,"p9cztz4"),children:(0,p.jsxs)("span",{className:(0,eR.Z)(rX[l],rJ[r?"special":"regular"],u&&"p9cztza",t),style:o,children:[i,s&&(0,p.jsx)("span",{className:"p9cztzb",children:s})]})})})},t(77213);var r3={standard:"_1j2ggcbf _1j2ggcbe",homepage:"_1j2ggcbg _1j2ggcbe"},r5={standard:"_1j2ggcb1 _1j2ggcb0",monochrome:"_1j2ggcb2 _1j2ggcb0",homepage:"_1j2ggcb3 _1j2ggcb0"},r4={standard:"_1j2ggcbc _1j2ggcbb",homepage:"_1j2ggcbd _1j2ggcbb"},r8={standard:"_1j2ggcb8",homepage:"_1j2ggcb9"},r6={standard:"_1j2ggcb6 _1j2ggcb5",homepage:"_1j2ggcb7 _1j2ggcb5"},r7=({items:e,Logo:n,showLinkLines:t,linkClassName:r,variant:i,rightMenuButtons:o,monochrome:a})=>{let s=(0,nW.z$)(),l=(0,p.jsx)(r2,{variant:i,children:e.map((e,n)=>"title"in e?(0,p.jsx)(r2.Link,{className:r,href:e.url,showLinkLines:t,special:e.special,icon:e.icon,variant:i,monochrome:a,onClick:()=>s?.emit({event:"navigation_click",navigation_click:{name:e.title}}),children:e.title},n):e)});return(0,p.jsx)("div",{className:r5[a?"monochrome":i],children:(0,p.jsxs)("div",{className:"_1j2ggcb4",children:[(0,p.jsx)("div",{className:r6[i],children:(0,p.jsxs)("a",{href:"/",onClick:()=>s?.emit({event:"navigation_click",navigation_click:{name:"front page"}}),children:[(0,p.jsx)("span",{className:n9.srOnly,children:"The homepage"}),(0,p.jsx)(n,{className:(0,eR.Z)(a&&"_1j2ggcba",r8[i])})]})}),(0,p.jsx)("nav",{className:r4[i],"aria-label":"Top Navigation",children:l}),(0,p.jsx)("div",{className:r3[i],children:(0,p.jsx)(o,{variant:i,monochrome:a})})]})})};t(47040);var r9={navigation:"_16vlidu2",tablet:"_16vlidu3"};t(85827);var ie=function(e){let n=(0,nW.z$)(),{openDrawer:t,drawerId:r}=(0,ti.Q)();return(0,p.jsx)("button",{onClick:()=>{t(),n?.emit({event:"navigation_click",navigation_click:{name:"more button"}})},className:"hqwttv0","aria-controls":r,"aria-label":"Open Drawer",children:(0,p.jsx)(ta,{className:(0,eR.Z)("hqwttv1",e.monochrome&&"hqwttv2")})})},it=t(15984);t(77791),t(94948),t(1238);var ir=({monochrome:e})=>{let n=(0,nW.z$)(),{openDrawer:t,drawerId:r}=(0,ti.Q)();return(0,p.jsxs)("button",{onClick:()=>{t(),n?.emit({event:"navigation_click",navigation_click:{name:"more button"}})},className:"c481el0","aria-controls":r,"aria-label":"Open Drawer",children:[(0,p.jsx)("span",{className:"c481el1",children:"Menu"}),(0,p.jsx)("span",{className:(0,eR.Z)(e&&"c481el4","c481el2"),children:(0,p.jsx)(ta,{className:"c481el3"})})]})};t(15107);let ii={Logo:({className:e})=>(0,p.jsxs)("svg",{width:"245",height:"66",viewBox:"0 0 245 66",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,p.jsx)("path",{d:"M213.047 65.5386C193.725 65.5386 181.527 53.6071 181.527 33.1276V32.9495C181.527 12.4701 193.725 0.538574 213.047 0.538574C232.369 0.538574 244.568 12.4701 244.568 32.9495V33.1276C244.568 53.6071 232.369 65.5386 213.047 65.5386ZM213.047 50.2235C216.876 50.2235 218.835 46.8399 218.835 33.1276V32.9495C218.835 19.2372 216.876 15.8536 213.047 15.8536C209.219 15.8536 207.26 19.2372 207.26 32.9495V33.1276C207.26 46.8399 209.219 50.2235 213.047 50.2235Z",fill:"currentColor"}),(0,p.jsx)("path",{d:"M159.403 64.203L158.246 56.5454C155.663 62.6002 150.232 65.5386 142.307 65.5386C127.794 65.5386 116.485 55.566 116.485 33.1276V32.9495C116.485 13.4495 127.615 0.538574 148.362 0.538574C166.526 0.538574 175.252 7.75091 176.855 20.5728L155.129 22.5317C154.684 17.9906 152.458 15.8536 149.074 15.8536C144.088 15.8536 142.218 18.792 142.218 32.9495V33.1276C142.218 47.7304 143.999 50.7578 148.985 50.7578C152.191 50.7578 154.595 48.2646 154.595 43.8125V42.3879H147.026V27.7852H177.211V64.203H159.403Z",fill:"currentColor"}),(0,p.jsx)("path",{d:"M81.399 65.5386C62.077 65.5386 49.8784 53.6071 49.8784 33.1276V32.9495C49.8784 12.4701 62.077 0.538574 81.399 0.538574C100.721 0.538574 112.92 12.4701 112.92 32.9495V33.1276C112.92 53.6071 100.721 65.5386 81.399 65.5386ZM81.399 50.2235C85.2277 50.2235 87.1866 46.8399 87.1866 33.1276V32.9495C87.1866 19.2372 85.2277 15.8536 81.399 15.8536C77.5702 15.8536 75.6113 19.2372 75.6113 32.9495V33.1276C75.6113 46.8399 77.5702 50.2235 81.399 50.2235Z",fill:"currentColor"}),(0,p.jsx)("path",{d:"M0 64.2028V1.87402H24.6644V46.3946H48.2603V64.2028H0Z",fill:"currentColor"})]}),showAuth:!1,showStickyNavCommentCount:!1,drawer:{},primaryNavigationComponent:({items:e,PrimaryLogo:n,Logo:t,cta:r,variant:i,showLinkLines:o,linkClassName:a,rightMenuButtons:s})=>{let l=i.startsWith("monochrome");return(0,p.jsxs)("div",{children:[(0,p.jsx)("div",{className:"_16vlidu0",children:(0,p.jsx)(r7,{Logo:n||t,items:e,cta:r.desktop,variant:"homepage"===i?"homepage":"standard",showLinkLines:o,linkClassName:a,rightMenuButtons:s.desktop,monochrome:l})}),(0,p.jsx)("div",{className:"monochrome-minimal"===i?"_16vlidu4":r9.navigation,children:(0,p.jsx)(rY,{Logo:n||t,cta:r.mobile,rightMenuButtons:s.mobile,monochrome:l})}),"monochrome-minimal"===i&&(0,p.jsx)("div",{className:r9.tablet,children:(0,p.jsx)(td,{Logo:t})})]})},linkMenu:{showLinkLines:!1,linkClassName:"_14x5z6v0"},rightMenuButtons:{desktop:e=>(0,p.jsx)(ir,{...e}),mobile:e=>(0,p.jsx)(ie,{...e})},cta:{desktop:(0,p.jsx)(rQ.Z,{displayType:"primary",text:"Call to Action"}),mobile:(0,p.jsx)(({className:e,...n})=>(0,p.jsx)(it.Z,{className:(0,eR.Z)(e,"jv6cq40"),...n}),{text:"Call to Action"})},drawerItems:[{title:"Duet UI Docs",url:"https://duet-docs.voxops.net/packages/duet-ui/overview/index.html",subItems:[]}],pinnedItems:[{title:"Duet UI Docs",url:"https://duet-docs.voxops.net/packages/duet-ui/overview/index.html"}],componentContext:{}};t(47157);let io=(0,p.jsx)("button",{id:"ot-sdk-btn",className:(0,eR.Z)("m0kjex0","ot-sdk-show-settings"),suppressHydrationWarning:!0,children:"Cookie Settings"});var ia=({className:e="",width:n=20,height:t=20})=>(0,p.jsxs)("svg",{className:e,width:n,height:t,xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 49 49",children:[(0,p.jsx)("title",{children:"Crossword"}),(0,p.jsxs)("g",{transform:"matrix(1,0,0,1,-2,-1.6)",children:[(0,p.jsx)("g",{transform:"matrix(1.0083,0,0,1.0083,0.790041,0.591701)",children:(0,p.jsx)("rect",{x:"1.2",y:"1",width:"48.2",height:"48.2",fill:"white"})}),(0,p.jsx)("g",{transform:"matrix(1,0,0,1,1,0.8)",children:(0,p.jsx)("path",{d:"M1,0.8L1,49.4L49.6,49.4L49.6,0.8L1,0.8ZM3.7,3.5L23.8,3.5L23.8,23.9L3.7,23.9L3.7,3.5ZM46.9,46.7L26.5,46.7L26.5,26.6L46.9,26.6L46.9,46.7ZM46.9,23.9L26.5,23.9L26.5,3.5L46.9,3.5L46.9,23.9Z",fillRule:"nonzero"})})]})]}),is=t(83016),il=t(93049);t(40167);var iu={standard:"_4q5u9i0",wide:"_4q5u9i1"};let ic=({children:e})=>{let n=g.Children.count(e)>2?iu.wide:iu.standard;return(0,p.jsx)("nav",{className:n,"data-children":g.Children.count(e),children:(0,p.jsx)("ul",{className:"_4q5u9i2",children:e})})};ic.Item=({href:e,onClick:n,anchorClassName:t,listItemClassName:r,children:i})=>(0,p.jsx)("li",{className:(0,eR.Z)(r,"_4q5u9i3"),children:(0,p.jsx)("a",{href:e,className:(0,eR.Z)(t,"_4q5u9i4"),onClick:n,children:i})});var id=t(12310);t(24236);let ip={Logo:id.Z,showAuth:!0,linkMenu:{showLinkLines:!0,linkClassName:"_1ssspgd1"},cta:{desktop:null,mobile:null},drawer:{shortcutBar:(0,p.jsx)(()=>{let e=(0,nW.z$)(),n=n=>e?.emit({event:"navigation_click",navigation_click:{name:n}});return(0,p.jsxs)(ic,{children:[(0,p.jsxs)(ic.Item,{href:"/videos",onClick:()=>n("videos"),children:[(0,p.jsx)(il.Z,{width:22,height:14}),"Watch"]}),(0,p.jsxs)(ic.Item,{href:"/podcasts",onClick:()=>n("listen"),children:[(0,p.jsx)(is.Z,{width:22,height:17}),"Listen"]}),(0,p.jsxs)(ic.Item,{href:"/21523212/crossword-puzzles-free-daily-printable",onClick:()=>n("crossword"),children:[(0,p.jsx)(ia,{width:22,height:22}),"Play"]})]})},{}),endSection:(0,p.jsx)(()=>{let e=(0,nW.z$)(),n=(0,E.aC)();return(n.user?n.user.entitlements.length>0:n.serverAuthState?.isEntitled)?null:(0,p.jsx)(tn.Z,{className:"_1ssspgd0",displayType:"secondary",text:"Become a Member",href:"/support-now?itm_campaign=member-menu-nav&itm_medium=site&itm_source=navigation",onClick:()=>{e?.emit({event:"memberships_navigation",memberships_navigation:{action:"click",cta:"Become a Member",position:"navigation"}})},fullWidth:!0})},{})},pinnedItems:[{title:"Explainers",url:"/explainers"},{title:"Politics",url:"/politics"},{title:"Culture",url:"/culture"},{title:"Advice",url:"/advice"},{title:"Listen",url:"/podcasts",icon:(0,p.jsx)(is.Z,{}),special:!0},{title:"Watch",url:"/videos",icon:(0,p.jsx)(il.Z,{}),special:!0}],drawerItems:[{title:"Explainers",url:"/explainers",subItems:[]},{title:"Politics",url:"/politics",subItems:[]},{title:"Culture",url:"/culture",subItems:[]},{title:"Advice",url:"/advice",subItems:[]},{title:"Science",url:"/science",subItems:[]},{title:"Technology",url:"/technology",subItems:[]},{title:"Climate",url:"/climate",subItems:[]},{title:"Health",url:"/health",subItems:[]},{title:"Money",url:"/money",subItems:[]},{title:"Life",url:"/life",subItems:[]},{title:"Future Perfect",url:"/future-perfect",subItems:[]},{title:"Newsletters",url:"/newsletters",special:!0,subItems:[]}],componentContext:{}},ih=rN()({},{compactContentCard:{contentBlockSize:"medium",contentBlockVariation:"standard",imagePosition:"floatRight",imageAspectRatio:"squareMobile",lowerMetaFirstComponent:"ContentBlockByline",lowerMetaSecondComponent:"CommentCount",lowerMetaThirdComponent:null,mediaVariationIconPlacement:"thumbnail",showDek:!0,showScore:!1,upperMetaSecondComponent:"Timestamp",upperMetaThirdComponent:null,verticalCategory:!1,componentContext:{articleParentRecirc:{imagePosition:"left",showDek:!1,upperMetaFirstComponent:null,upperMetaSecondComponent:null},specialEvent:{contentBlockSize:"micro",imagePosition:"left",lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,showDek:!1,upperMetaFirstComponent:null,upperMetaSecondComponent:null},latestRecirc:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"hideImage",lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,mediaVariationIconPlacement:"title",showDek:!1,upperMetaFirstComponent:"Timestamp",upperMetaSecondComponent:null},threeUpPattern:{imagePosition:"floatRight",lowerMetaSecondComponent:null,upperMetaSecondComponent:null},fourUpPattern:{upperMetaSecondComponent:null},sixUpPatternTop:{imagePosition:"right",lowerMetaFirstComponent:null,showDek:!1,upperMetaSecondComponent:null},sixUpPatternBottom:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"hideImage",lowerMetaFirstComponent:null,mediaVariationIconPlacement:"title",showDek:!1,upperMetaSecondComponent:null},searchPage:{imagePosition:"right",lowerMetaFirstComponent:"ContentBlockByline",upperMetaFirstComponent:"Category",upperMetaSecondComponent:"Timestamp"},searchPageWithoutCategory:{imagePosition:"right",lowerMetaFirstComponent:"ContentBlockByline",upperMetaFirstComponent:"Timestamp",upperMetaSecondComponent:null},fiveGridPattern:{contentBlockSize:"micro",imagePosition:"right",lowerMetaFirstComponent:null,showDek:!1,upperMetaSecondComponent:null},fiveGridPackagePattern:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"right",lowerMetaFirstComponent:null,showDek:!1,upperMetaFirstComponent:"Category",upperMetaSecondComponent:null},fiveGridGameGuidesPattern:{contentBlockSize:"small",imagePosition:"right",lowerMetaFirstComponent:null,showDek:!1,upperMetaFirstComponent:null,upperMetaSecondComponent:null},podcastSection:{contentBlockSize:"small",imageAspectRatio:"square",imagePosition:"left",lowerMetaFirstComponent:null,showDek:!0,upperMetaFirstComponent:null,upperMetaSecondComponent:null},threeGridPattern:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"right",lowerMetaFirstComponent:null,showDek:!1,upperMetaSecondComponent:null},threeGridAltPattern:{contentBlockSize:"small",contentBlockVariation:"special",imagePosition:"left",lowerMetaFirstComponent:null,showDek:!1,upperMetaSecondComponent:null},guidesSection:{contentBlockSize:"micro",contentBlockVariation:"standard",imagePosition:"right",imageAspectRatio:"square",lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,showDek:!1,upperMetaSecondComponent:null,upperMetaFirstComponent:null},videoSection:{contentBlockSize:"medium",contentBlockVariation:"standard",imagePosition:"right",imageAspectRatio:"wide",lowerMetaFirstComponent:null,showDek:!1,upperMetaSecondComponent:null}}},contactForm:{forms:["tip","issue","suggestion","advertising","advertisingSupport","pressInquiryVox","security","personalData"],componentContext:{}},contentBlockMeta:{metaVariation:"standard",showAuthorBy:!0,componentContext:{prominentContentCardTwoUpPattern:{metaVariation:"box"},prominentContentCardThreeUpPattern:{metaVariation:"box"},compactContentCardThreeUpPattern:{metaVariation:"box"}}},disclaimer:{disclaimerText:"If you buy something from a link, Vox Media may earn a commission.",ethicsUrl:"https://www.voxmedia.com/ethics-statement",ethicsText:"See our ethics statement."},embed:{mediaContainerVariant:"standard",componentContext:{standard:{mediaContainerVariant:"standard"},stream:{mediaContainerVariant:"standard"}}},featureLede:{variant:"feature",textLocation:"right",showDek:!0,hasBackgroundImage:!1,componentContext:{split:{variant:"feature",textLocation:"right",backgroundFill:"solidFeatureSplit"},fullWidth:{variant:"feature",textLocation:"above",backgroundFill:"solidFeature"},specialSplit:{variant:"specialFeature",textLocation:"left",backgroundFill:"solidSpecialFeatureSplit"},specialFullWidth:{variant:"specialFeature",textLocation:"below",backgroundFill:"solidSpecialFeature"}}},footer:{Logo:rW,linkData:[],componentContext:{},showUpperContainer:!0,showBrandLinks:!0},headerPattern:rF,ledeImage:{mediaContainerVariant:"standard",hideCaptionCredit:!0,componentContext:{standard:{hideCaptionCredit:!1}}},metaCategory:{metaVariation:"standard",box:!1,listBox:!1,vertical:!1,categorySeparator:" /",componentContext:{standard:{metaVariation:"articleMetaStandard"},fullWidth:{metaVariation:"articleMetaStandard"},split:{metaVariation:"articleMetaStandard"},specialFullWidth:{metaVariation:"articleMetaSpecial",listBox:!0},specialSplit:{metaVariation:"articleMetaSpecialSplit",listBox:!0},overlay:{metaVariation:"articleMetaSpecial",listBox:!0},branded:{metaVariation:"articleMetaStandard"}}},metaTimestamp:{format:"hub",componentContext:{compactContentCardLatestRecirc:{format:"latestRecirc"}}},navigation:ii,prominentContentCard:rM,socialLinks:{linkData:{facebook:"https://www.facebook.com/voxmedia"},componentContext:{}},pageHeader:{borderBottom:!1,borderTop:!1,center:!1,className:"",classNameDescription:"",classNameLinks:"",classNameSubhead:"",classNameTitle:"",headingLevel:"h1",isBranded:!1,moreLinkIcon:null,paddingBottom:!1,size:"small",componentContext:{categoryPillar:{size:"large"}}},patternSwitcher:rZ,splitContentCard:{contentBlockSize:"small",contentBlockVariation:"standard",lowerMetaFirstComponent:null,lowerMetaSecondComponent:null,lowerMetaThirdComponent:null,mediaVariationIconPlacement:"thumbnail",showBorder:!1,showDek:!1,showScore:!1,upperMetaFirstComponent:"Category",upperMetaSecondComponent:null,upperMetaThirdComponent:null,verticalCategory:!1,componentContext:{fiveGridPattern:{contentBlockSize:"micro",upperMetaFirstComponent:null,lowerMetaFirstComponent:"ContentBlockByline"},fiveGridPackagePattern:{upperMetaFirstComponent:null,contentBlockSize:"small",contentBlockVariation:"special"},fiveGridGameGuidesPattern:{upperMetaFirstComponent:null,contentBlockSize:"small"},threeGridPattern:{contentBlockVariation:"special",upperMetaFirstComponent:null},threeGridArticleCategoryRecirc:{contentBlockVariation:"special",upperMetaFirstComponent:null}}},standardLede:{mediaAboveRightRail:!1,dekLocation:"top",metaLocation:"top",componentContext:{standardEntry:{noMargin:!1},streamEntry:{noMargin:!0}}},threeGridAltOverflowPattern:{cardsData:[],componentContext:{guidesSection:{mobileCardContext:"guidesSectionMobile",desktopCardContext:"guidesSection",showGridBorders:!0}}},threeGridBigPattern:{cardsData:[],componentContext:{categoryPillarThreeUp:{mobileCardContext:"threeUpCategoryPillarLargeFirst"},homepageSpotlight:{mobileCardContext:"threeUpCategoryPillarLargeFirst"}}},threeGridOverflowPattern:{cardsData:[],componentContext:{guidesSection:{mobileCardContext:"guidesSectionMobile",desktopCardContext:"guidesSection",showGridBorders:!0}}},threeUpPattern:{cardsData:[],componentContext:{categoryPillarThreeUp:{desktopCardContext:["threeUpCategoryPillarLargeFirst","threeUpCategoryPillarLargeSecond","threeUpCategoryPillarLargeThird"]},homepageSpotlight:{desktopCardContext:["threeUpCategoryPillarLargeFirst","threeUpCategoryPillarLargeSecond","threeUpCategoryPillarLargeSecond"],mobileCardContext:["threeUpCategoryPillarLargeSecond","threeUpCategoryPillarLargeFirst","threeUpCategoryPillarLargeSecond"]}}},videoEmbed:{mediaContainerVariant:"standard",componentContext:{standard:{mediaContainerVariant:"standard"},stream:{mediaContainerVariant:"standard"}}}},{compactContentCard:{lowerMetaSecondComponent:null,upperMetaThirdComponent:"MembersOnlyBadge"},footer:{Logo:rW,linkData:[[{title:"About us",href:"/about-us"},{title:"Our staff",href:"/masthead"},{title:"Ethics & Guidelines",href:"/2018/12/7/18113237/ethics-and-guidelines-at-vox-com"},{title:"How we make money",href:"/pages/funding"},{title:"Contact us",href:"/contact"},{title:"How to pitch Vox",href:"/pages/how-to-pitch-vox-pitching-guidelines"},{title:"Newsletters",href:"/newsletters"}],[{title:"Privacy Notice",href:"https://www.voxmedia.com/legal/privacy-notice"},{title:"Terms of Use",href:"https://www.voxmedia.com/legal/terms-of-use"},{title:"Cookie Policy",href:"https://www.voxmedia.com/legal/cookie-policy"},{component:io,title:"Consent Management",href:"about:blank"},{title:"Licensing",href:"https://www.voxmedia.com/pages/licensing"},{title:"Accessibility",href:"https://www.voxmedia.com/legal/accessibility"},{title:"Platform Status",href:"https://status.voxmedia.com"},{title:"Careers",href:"https://jobs.voxmedia.com/"}]],componentContext:{}},navigation:ip,prominentContentCard:{lowerMetaThirdComponent:null,upperMetaThirdComponent:"MembersOnlyBadge"},disclaimer:{disclaimerText:"If you buy something from a Vox link, Vox Media may earn a commission.",ethicsUrl:"https://www.vox.com/2018/12/7/18113237/ethics-and-guidelines-at-vox-com"},socialLinks:{linkData:{facebook:"https://www.facebook.com/vox",instagram:"https://www.instagram.com/voxdotcom",youtube:"https://www.youtube.com/voxdotcom",rss:"https://www.vox.com/rss/index.xml",tiktok:"https://www.tiktok.com/@vox"},componentContext:{}}});var im=t(64177);t(86445);var ig=t(27944),iy=t.n(ig),i_=t(31300),iv=t.n(i_),ib=t(18620),iC=t.n(ib);let ix={"--font-balto":iy().style.fontFamily,"--font-harriet":iv().style.fontFamily,"--font-roboto-mono":iC().style.fontFamily};t(16670),t(30255);let ik=function(e){rT&&rT.emitMetric(e)};function iw(e){return(0,p.jsx)(rA,{...e,adConfig:ey,AuthProvider:n=>{let{children:t,...r}=n;return(0,p.jsx)(eC,{...r,serverAuthState:e.serverAuthState,children:t})},componentConfig:ih,customArticleFooter:(0,p.jsx)(I,{}),defaultSEO:A,fonts:ix,Footer:(0,p.jsx)(im.Z,{}),newslettersConfig:R,seoConfig:O,seoSchemaConfigPathMap:N})}iw.getInitialProps=async e=>{let n=e.ctx,t=await eI(n);return rA.getInitialProps({context:e,themes:{voxLight:"_19dl57i0"},defaultTheme:"voxLight",serverAuthState:t})};var iE=iw},39075:function(e,n,t){var r=window;r.__sentryRewritesTunnelPath__=void 0,r.SENTRY_RELEASE={id:"owTJyg2jsFsrqv9jr2jub"},r.__sentryBasePath=void 0,r.__rewriteFramesAssetPrefixPath__="",t(62551)},62551:function(e,n,t){let{init:r}=t(40635),{supportedBrowsersRegExp:i}=t(8274),{baseConfig:o,getBeforeSend:a}=t(98876);r({...o,denyUrls:[/vox\.vip/i],beforeSend:a(i)})},44571:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Image",{enumerable:!0,get:function(){return v}});let r=t(65227),i=t(23926),o=t(31561),a=i._(t(82201)),s=r._(t(78098)),l=r._(t(5232)),u=t(97217),c=t(19811),d=t(57220);t(15597);let p=t(94994),h=r._(t(88685)),f={deviceSizes:[376,415,480,540,640,750,828,1080,1200,1440,1920,2048,2400],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(e,n,t,r,i,o,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==n&&i(!0),null==t?void 0:t.current){let n=new Event("load");Object.defineProperty(n,"target",{writable:!1,value:e});let r=!1,i=!1;t.current({...n,nativeEvent:n,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,n.preventDefault()},stopPropagation:()=>{i=!0,n.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function g(e){let[n,t]=a.version.split(".",2),r=parseInt(n,10),i=parseInt(t,10);return r>18||18===r&&i>=3?{fetchPriority:e}:{fetchpriority:e}}let y=(0,a.forwardRef)((e,n)=>{let{src:t,srcSet:r,sizes:i,height:s,width:l,decoding:u,className:c,style:d,fetchPriority:p,placeholder:h,loading:f,unoptimized:y,fill:_,onLoadRef:v,onLoadingCompleteRef:b,setBlurComplete:C,setShowAltText:x,sizesInput:k,onLoad:w,onError:E,...T}=e;return(0,o.jsx)("img",{...T,...g(p),loading:f,width:l,height:s,decoding:u,"data-nimg":_?"fill":"1",className:c,style:d,sizes:i,srcSet:r,src:t,ref:(0,a.useCallback)(e=>{n&&("function"==typeof n?n(e):"object"==typeof n&&(n.current=e)),e&&(E&&(e.src=e.src),e.complete&&m(e,h,v,b,C,y,k))},[t,h,v,b,C,E,y,k,n]),onLoad:e=>{m(e.currentTarget,h,v,b,C,y,k)},onError:e=>{x(!0),"empty"!==h&&C(!0),E&&E(e)}})});function _(e){let{isAppRouter:n,imgAttributes:t}=e,r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...g(t.fetchPriority)};return n&&s.default.preload?(s.default.preload(t.src,r),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let v=(0,a.forwardRef)((e,n)=>{let t=(0,a.useContext)(p.RouterContext),r=(0,a.useContext)(d.ImageConfigContext),i=(0,a.useMemo)(()=>{let e=f||r||c.imageConfigDefault,n=[...e.deviceSizes,...e.imageSizes].sort((e,n)=>e-n),t=e.deviceSizes.sort((e,n)=>e-n);return{...e,allSizes:n,deviceSizes:t}},[r]),{onLoad:s,onLoadingComplete:l}=e,m=(0,a.useRef)(s);(0,a.useEffect)(()=>{m.current=s},[s]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[v,b]=(0,a.useState)(!1),[C,x]=(0,a.useState)(!1),{props:k,meta:w}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:v,showAltText:C});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(y,{...k,unoptimized:w.unoptimized,placeholder:w.placeholder,fill:w.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:b,setShowAltText:x,sizesInput:e.sizes,ref:n}),w.priority?(0,o.jsx)(_,{isAppRouter:!t,imgAttributes:k}):null]})});("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),e.exports=n.default)},97217:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getImgProps",{enumerable:!0,get:function(){return s}}),t(15597);let r=t(65978),i=t(19811);function o(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,n){var t;let s,l,u,{src:c,sizes:d,unoptimized:p=!1,priority:h=!1,loading:f,className:m,quality:g,width:y,height:_,fill:v=!1,style:b,overrideSrc:C,onLoad:x,onLoadingComplete:k,placeholder:w="empty",blurDataURL:E,fetchPriority:T,layout:S,objectFit:I,objectPosition:R,lazyBoundary:A,lazyRoot:P,...N}=e,{imgConf:O,showAltText:L,blurComplete:M,defaultLoader:D}=n,F=O||i.imageConfigDefault;if("allSizes"in F)s=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,n)=>e-n),n=F.deviceSizes.sort((e,n)=>e-n);s={...F,allSizes:e,deviceSizes:n}}if(void 0===D)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let j=N.loader||D;delete N.loader,delete N.srcSet;let B="__next_img_default"in j;if(B){if("custom"===s.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=j;j=n=>{let{config:t,...r}=n;return e(r)}}if(S){"fill"===S&&(v=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[S];e&&(b={...b,...e});let n={responsive:"100vw",fill:"100vw"}[S];n&&!d&&(d=n)}let U="",K=a(y),z=a(_);if("object"==typeof(t=c)&&(o(t)||void 0!==t.src)){let e=o(c)?c.default:c;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(l=e.blurWidth,u=e.blurHeight,E=E||e.blurDataURL,U=e.src,!v){if(K||z){if(K&&!z){let n=K/e.width;z=Math.round(e.height*n)}else if(!K&&z){let n=z/e.height;K=Math.round(e.width*n)}}else K=e.width,z=e.height}}let q=!h&&("lazy"===f||void 0===f);(!(c="string"==typeof c?c:U)||c.startsWith("data:")||c.startsWith("blob:"))&&(p=!0,q=!1),s.unoptimized&&(p=!0),B&&c.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(p=!0),h&&(T="high");let H=a(g),$=Object.assign(v?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:I,objectPosition:R}:{},L?{}:{color:"transparent"},b),V=M||"empty"===w?null:"blur"===w?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:K,heightInt:z,blurWidth:l,blurHeight:u,blurDataURL:E||"",objectFit:$.objectFit})+'")':'url("'+w+'")',G=V?{backgroundSize:$.objectFit||"cover",backgroundPosition:$.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:V}:{},Z=function(e){let{config:n,src:t,unoptimized:r,width:i,quality:o,sizes:a,loader:s}=e;if(r)return{src:t,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,n,t){let{deviceSizes:r,allSizes:i}=e;if(t){let e=/(^|\s)(1?\d?\d)vw/g,n=[];for(let r;r=e.exec(t);r)n.push(parseInt(r[2]));if(n.length){let e=.01*Math.min(...n);return{widths:i.filter(n=>n>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof n?{widths:r,kind:"w"}:{widths:[...new Set([n,2*n].map(e=>i.find(n=>n>=e)||i[i.length-1]))],kind:"x"}}(n,i,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((e,r)=>s({config:n,src:t,quality:o,width:e})+" "+("w"===u?e:r+1)+u).join(", "),src:s({config:n,src:t,quality:o,width:l[c]})}}({config:s,src:c,unoptimized:p,width:K,quality:H,sizes:d,loader:j});return{props:{...N,loading:q?"lazy":f,fetchPriority:T,width:K,height:z,decoding:"async",className:m,style:{...$,...G},sizes:Z.sizes,srcSet:Z.srcSet,src:C||Z.src},meta:{unoptimized:p,priority:h,placeholder:w,fill:v}}}},65978:function(e,n){"use strict";function t(e){let{widthInt:n,heightInt:t,blurWidth:r,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=r?40*r:n,l=i?40*i:t,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"getImageBlurSvg",{enumerable:!0,get:function(){return t}})},78890:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e,n){for(var t in n)Object.defineProperty(e,t,{enumerable:!0,get:n[t]})}(n,{default:function(){return l},getImageProps:function(){return s}});let r=t(65227),i=t(97217),o=t(44571),a=r._(t(88685));function s(e){let{props:n}=(0,i.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[376,415,480,540,640,750,828,1080,1200,1440,1920,2048,2400],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,t]of Object.entries(n))void 0===t&&delete n[e];return{props:n}}let l=o.Image},88685:function(e,n){"use strict";function t(e){let{config:n,src:t,width:r,quality:i}=e;return n.path+"?url="+encodeURIComponent(t)+"&w="+r+"&q="+(i||75)}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}}),t.__next_img_default=!0;let r=t},68603:function(){},70870:function(){},48425:function(){},95407:function(){},14937:function(){},37994:function(){},56096:function(){},42420:function(){},75604:function(){},48743:function(){},32983:function(){},15779:function(){},94753:function(){},70312:function(){},77791:function(){},13278:function(){},24764:function(){},15119:function(){},80716:function(){},37e3:function(){},21858:function(){},70626:function(){},76858:function(){},57473:function(){},1916:function(){},99008:function(){},27484:function(){},16538:function(){},89964:function(){},10281:function(){},47157:function(){},84246:function(){},44646:function(){},41992:function(){},22230:function(){},58201:function(){},82288:function(){},83539:function(){},96500:function(){},40127:function(){},40167:function(){},47040:function(){},21548:function(){},85827:function(){},94948:function(){},77213:function(){},1238:function(){},77956:function(){},96149:function(){},50882:function(){},15107:function(){},24236:function(){},28082:function(){},99153:function(){},26320:function(){},16228:function(){},88953:function(){},57130:function(){},86820:function(){},41200:function(){},6591:function(){},9237:function(){},11827:function(){},16670:function(){},82012:function(){},51510:function(){},45002:function(){},51140:function(){},699:function(){},86445:function(){},85677:function(){},67857:function(){},43723:function(){},14480:function(){},30255:function(){},18620:function(e){e.exports={style:{fontFamily:"'__Roboto_Mono_e14b49', '__Roboto_Mono_Fallback_e14b49'"},className:"__className_e14b49",variable:"__variable_e14b49"}},27944:function(e){e.exports={style:{fontFamily:"'__balto_331ad4', '__balto_Fallback_331ad4', Arial, sans-serif"},className:"__className_331ad4",variable:"__variable_331ad4"}},31300:function(e){e.exports={style:{fontFamily:"'__harriet_cfe5a1', '__harriet_Fallback_cfe5a1', Georgia, serif"},className:"__className_cfe5a1",variable:"__variable_cfe5a1"}},16380:function(e,n,t){"use strict";t.d(n,{J:function(){return r}});let r="production"},58146:function(e,n,t){"use strict";t.d(n,{X:function(){return r}});let r=!1},72373:function(e,n,t){"use strict";t.d(n,{RP:function(){return function e(n,t,r,l=0){return new i.cW((i,u)=>{let c=n[l];if(null===t||"function"!=typeof c)i(t);else{let d=c({...t},r);s.X&&c.id&&null===d&&o.kg.log(`Event processor "${c.id}" dropped event`),(0,a.J8)(d)?d.then(t=>e(n,t,r,l+1).then(i)).then(null,u):e(n,d,r,l+1).then(i).then(null,u)}})}},cc:function(){return u},fH:function(){return l}});var r=t(7493),i=t(82721),o=t(49240),a=t(72622),s=t(58146);function l(){return(0,r.Y)("globalEventProcessors",()=>[])}function u(e){l().push(e)}},912:function(e,n,t){"use strict";t.d(n,{$e:function(){return x},TM:function(){return L},Tb:function(){return d},YA:function(){return b},Yr:function(){return E},_d:function(){return w},av:function(){return C},c:function(){return T},cg:function(){return D},dk:function(){return P},e:function(){return f},eN:function(){return h},eW:function(){return R},mG:function(){return v},nZ:function(){return N},n_:function(){return m},rJ:function(){return y},s3:function(){return A},sU:function(){return _},uT:function(){return p},v:function(){return g},wi:function(){return k},xv:function(){return I},yj:function(){return O},yl:function(){return S}});var r=t(49240),i=t(39578),o=t(7493),a=t(16380),s=t(58146),l=t(31383),u=t(73980),c=t(80952);function d(e,n){return(0,l.Gd)().captureException(e,(0,c.U0)(n))}function p(e,n){let t="string"==typeof n?n:void 0,r="string"!=typeof n?{captureContext:n}:void 0;return(0,l.Gd)().captureMessage(e,t,r)}function h(e,n){return(0,l.Gd)().captureEvent(e,n)}function f(e){(0,l.Gd)().configureScope(e)}function m(e,n){(0,l.Gd)().addBreadcrumb(e,n)}function g(e,n){(0,l.Gd)().setContext(e,n)}function y(e){(0,l.Gd)().setExtras(e)}function _(e,n){(0,l.Gd)().setExtra(e,n)}function v(e){(0,l.Gd)().setTags(e)}function b(e,n){(0,l.Gd)().setTag(e,n)}function C(e){(0,l.Gd)().setUser(e)}function x(...e){let n=(0,l.Gd)();if(2===e.length){let[t,r]=e;return t?n.withScope(()=>(n.getStackTop().scope=t,r(t))):n.withScope(r)}return n.withScope(e[0])}function k(e){return(0,l.Ok)(()=>e((0,l.aF)()))}function w(e,n){return x(t=>(t.setSpan(e),n(t)))}function E(e,n){return(0,l.Gd)().startTransaction({...e},n)}function T(e,n){let t=N(),o=A();if(o){if(o.captureCheckIn)return o.captureCheckIn(e,n,t);s.X&&r.kg.warn("Cannot capture check-in. Client does not support sending check-ins.")}else s.X&&r.kg.warn("Cannot capture check-in. No client defined.");return(0,i.DM)()}async function S(e){let n=A();return n?n.flush(e):(s.X&&r.kg.warn("Cannot flush events. No client defined."),Promise.resolve(!1))}async function I(e){let n=A();return n?n.close(e):(s.X&&r.kg.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))}function R(){return(0,l.Gd)().lastEventId()}function A(){return(0,l.Gd)().getClient()}function P(){return!!A()}function N(){return(0,l.Gd)().getScope()}function O(e){let n=A(),t=(0,l.aF)(),r=N(),{release:i,environment:s=a.J}=n&&n.getOptions()||{},{userAgent:c}=o.GLOBAL_OBJ.navigator||{},d=(0,u.Hv)({release:i,environment:s,user:r.getUser()||t.getUser(),...c&&{userAgent:c},...e}),p=t.getSession();return p&&"ok"===p.status&&(0,u.CT)(p,{status:"exited"}),L(),t.setSession(d),r.setSession(d),d}function L(){let e=(0,l.aF)(),n=N(),t=n.getSession()||e.getSession();t&&(0,u.RJ)(t),M(),e.setSession(),n.setSession()}function M(){let e=(0,l.aF)(),n=N(),t=A(),r=n.getSession()||e.getSession();r&&t&&t.captureSession&&t.captureSession(r)}function D(e=!1){if(e){L();return}M()}},31383:function(e,n,t){"use strict";t.d(n,{Gd:function(){return g},Ok:function(){return _},Xb:function(){return h},aF:function(){return y},cu:function(){return f},pj:function(){return m},vi:function(){return v}});var r=t(72622),i=t(39578),o=t(39993),a=t(49240),s=t(7493),l=t(16380),u=t(58146),c=t(53318),d=t(73980);let p=parseFloat(t(42243).J);class h{constructor(e,n,t,r=p){let i,o;this._version=r,n?i=n:(i=new c.sX).setClient(e),t?o=t:(o=new c.sX).setClient(e),this._stack=[{scope:i}],e&&this.bindClient(e),this._isolationScope=o}isOlderThan(e){return this._version(this.popScope(),e),e=>{throw this.popScope(),e}):(this.popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,n){let t=this._lastEventId=n&&n.event_id?n.event_id:(0,i.DM)(),r=Error("Sentry syntheticException");return this.getScope().captureException(e,{originalException:e,syntheticException:r,...n,event_id:t}),t}captureMessage(e,n,t){let r=this._lastEventId=t&&t.event_id?t.event_id:(0,i.DM)(),o=Error(e);return this.getScope().captureMessage(e,n,{originalException:e,syntheticException:o,...t,event_id:r}),r}captureEvent(e,n){let t=n&&n.event_id?n.event_id:(0,i.DM)();return e.type||(this._lastEventId=t),this.getScope().captureEvent(e,{...n,event_id:t}),t}lastEventId(){return this._lastEventId}addBreadcrumb(e,n){let{scope:t,client:r}=this.getStackTop();if(!r)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:s=100}=r.getOptions&&r.getOptions()||{};if(s<=0)return;let l={timestamp:(0,o.yW)(),...e},u=i?(0,a.Cf)(()=>i(l,n)):l;null!==u&&(r.emit&&r.emit("beforeAddBreadcrumb",u,n),t.addBreadcrumb(u,s))}setUser(e){this.getScope().setUser(e),this.getIsolationScope().setUser(e)}setTags(e){this.getScope().setTags(e),this.getIsolationScope().setTags(e)}setExtras(e){this.getScope().setExtras(e),this.getIsolationScope().setExtras(e)}setTag(e,n){this.getScope().setTag(e,n),this.getIsolationScope().setTag(e,n)}setExtra(e,n){this.getScope().setExtra(e,n),this.getIsolationScope().setExtra(e,n)}setContext(e,n){this.getScope().setContext(e,n),this.getIsolationScope().setContext(e,n)}configureScope(e){let{scope:n,client:t}=this.getStackTop();t&&e(n)}run(e){let n=m(this);try{e(this)}finally{m(n)}}getIntegration(e){let n=this.getClient();if(!n)return null;try{return n.getIntegration(e)}catch(n){return u.X&&a.kg.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,n){let t=this._callExtensionMethod("startTransaction",e,n);return u.X&&!t&&(this.getClient()?a.kg.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': Sentry.addTracingExtensions(); Sentry.init({...}); `):a.kg.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),t}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){let e=this.getStackTop().scope,n=e.getSession();n&&(0,d.RJ)(n),this._sendSessionUpdate(),e.setSession()}startSession(e){let{scope:n,client:t}=this.getStackTop(),{release:r,environment:i=l.J}=t&&t.getOptions()||{},{userAgent:o}=s.GLOBAL_OBJ.navigator||{},a=(0,d.Hv)({release:r,environment:i,user:n.getUser(),...o&&{userAgent:o},...e}),u=n.getSession&&n.getSession();return u&&"ok"===u.status&&(0,d.CT)(u,{status:"exited"}),this.endSession(),n.setSession(a),a}shouldSendDefaultPii(){let e=this.getClient(),n=e&&e.getOptions();return!!(n&&n.sendDefaultPii)}_sendSessionUpdate(){let{scope:e,client:n}=this.getStackTop(),t=e.getSession();t&&n&&n.captureSession&&n.captureSession(t)}_callExtensionMethod(e,...n){let t=f().__SENTRY__;if(t&&t.extensions&&"function"==typeof t.extensions[e])return t.extensions[e].apply(this,n);u.X&&a.kg.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function f(){return s.GLOBAL_OBJ.__SENTRY__=s.GLOBAL_OBJ.__SENTRY__||{extensions:{},hub:void 0},s.GLOBAL_OBJ}function m(e){let n=f(),t=v(n);return b(n,e),t}function g(){let e=f();if(e.__SENTRY__&&e.__SENTRY__.acs){let n=e.__SENTRY__.acs.getCurrentHub();if(n)return n}return function(e=f()){return(!(e&&e.__SENTRY__&&e.__SENTRY__.hub)||v(e).isOlderThan(p))&&b(e,new h),v(e)}(e)}function y(){return g().getIsolationScope()}function _(e,n={}){let t=f();return t.__SENTRY__&&t.__SENTRY__.acs?t.__SENTRY__.acs.runWithAsyncContext(e,n):e()}function v(e){return(0,s.Y)("hub",()=>new h,e)}function b(e,n){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=n,!0)}},53318:function(e,n,t){"use strict";let r;t.d(n,{lW:function(){return p},sX:function(){return d}});var i=t(72622),o=t(39993),a=t(39578),s=t(49240),l=t(72373),u=t(73980),c=t(16078);class d{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=h()}static clone(e){return e?e.clone():new d}clone(){let e=new d;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._span=this._span,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e}setClient(e){this._client=e}getClient(){return this._client}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,segment:void 0,username:void 0},this._session&&(0,u.CT)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,n){return this._tags={...this._tags,[e]:n},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,n){return this._extra={...this._extra,[e]:n},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,n){return null===n?delete this._contexts[e]:this._contexts[e]=n,this._notifyScopeListeners(),this}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let e=this._span;return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let n="function"==typeof e?e(this):e;if(n instanceof d){let e=n.getScopeData();this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&Object.keys(e.user).length&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint.length&&(this._fingerprint=e.fingerprint),n.getRequestSession()&&(this._requestSession=n.getRequestSession()),e.propagationContext&&(this._propagationContext=e.propagationContext)}else(0,i.PO)(n)&&(this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession),e.propagationContext&&(this._propagationContext=e.propagationContext));return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=h(),this}addBreadcrumb(e,n){let t="number"==typeof n?n:100;if(t<=0)return this;let r={timestamp:(0,o.yW)(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>t?i.slice(-t):i,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}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){let{_breadcrumbs:e,_attachments:n,_contexts:t,_tags:r,_extra:i,_user:o,_level:a,_fingerprint:s,_eventProcessors:l,_propagationContext:u,_sdkProcessingMetadata:c,_transactionName:d,_span:p}=this;return{breadcrumbs:e,attachments:n,contexts:t,tags:r,extra:i,user:o,level:a,fingerprint:s||[],eventProcessors:l,propagationContext:u,sdkProcessingMetadata:c,transactionName:d,span:p}}applyToEvent(e,n={},t=[]){(0,c.gi)(e,this.getScopeData());let r=[...t,...(0,l.fH)(),...this._eventProcessors];return(0,l.RP)(r,e,n)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,n){let t=n&&n.event_id?n.event_id:(0,a.DM)();if(!this._client)return s.kg.warn("No client configured on scope - will not capture exception!"),t;let r=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...n,event_id:t},this),t}captureMessage(e,n,t){let r=t&&t.event_id?t.event_id:(0,a.DM)();if(!this._client)return s.kg.warn("No client configured on scope - will not capture message!"),r;let i=Error(e);return this._client.captureMessage(e,n,{originalException:e,syntheticException:i,...t,event_id:r},this),r}captureEvent(e,n){let t=n&&n.event_id?n.event_id:(0,a.DM)();return this._client?this._client.captureEvent(e,{...n,event_id:t},this):s.kg.warn("No client configured on scope - will not capture event!"),t}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}function p(){return r||(r=new d),r}function h(){return{traceId:(0,a.DM)(),spanId:(0,a.DM)().substring(16)}}},73980:function(e,n,t){"use strict";t.d(n,{CT:function(){return s},Hv:function(){return a},RJ:function(){return l}});var r=t(39993),i=t(39578),o=t(2108);function a(e){let n=(0,r.ph)(),t={sid:(0,i.DM)(),init:!0,timestamp:n,started:n,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>(0,o.Jr)({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})};return e&&s(t,e),t}function s(e,n={}){if(!n.user||(!e.ipAddress&&n.user.ip_address&&(e.ipAddress=n.user.ip_address),e.did||n.did||(e.did=n.user.id||n.user.email||n.user.username)),e.timestamp=n.timestamp||(0,r.ph)(),n.abnormal_mechanism&&(e.abnormal_mechanism=n.abnormal_mechanism),n.ignoreDuration&&(e.ignoreDuration=n.ignoreDuration),n.sid&&(e.sid=32===n.sid.length?n.sid:(0,i.DM)()),void 0!==n.init&&(e.init=n.init),!e.did&&n.did&&(e.did=`${n.did}`),"number"==typeof n.started&&(e.started=n.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof n.duration)e.duration=n.duration;else{let n=e.timestamp-e.started;e.duration=n>=0?n:0}n.release&&(e.release=n.release),n.environment&&(e.environment=n.environment),!e.ipAddress&&n.ipAddress&&(e.ipAddress=n.ipAddress),!e.userAgent&&n.userAgent&&(e.userAgent=n.userAgent),"number"==typeof n.errors&&(e.errors=n.errors),n.status&&(e.status=n.status)}function l(e,n){let t={};n?t={status:n}:"ok"===e.status&&(t={status:"exited"}),s(e,t)}},87797:function(e,n,t){"use strict";t.d(n,{_:function(){return l},j:function(){return u}});var r=t(2108),i=t(16380),o=t(912),a=t(89553),s=t(84282);function l(e,n,t){let o=n.getOptions(),{publicKey:a}=n.getDsn()||{},{segment:s}=t&&t.getUser()||{},l=(0,r.Jr)({environment:o.environment||i.J,release:o.release,user_segment:s,public_key:a,trace_id:e});return n.emit&&n.emit("createDsc",l),l}function u(e){let n=(0,o.s3)();if(!n)return{};let t=l((0,s.XU)(e).trace_id||"",n,(0,o.nZ)()),r=(0,a.G)(e);if(!r)return t;let i=r&&r._frozenDynamicSamplingContext;if(i)return i;let{sampleRate:u,source:c}=r.metadata;null!=u&&(t.sample_rate=`${u}`);let d=(0,s.XU)(r);return c&&"url"!==c&&(t.transaction=d.description),t.sampled=String((0,s.Tt)(r)),n.emit&&n.emit("createDsc",t),t}},16078:function(e,n,t){"use strict";t.d(n,{gi:function(){return l},yo:function(){return u}});var r=t(2108),i=t(39578),o=t(87797),a=t(89553),s=t(84282);function l(e,n){let{fingerprint:t,span:l,breadcrumbs:u,sdkProcessingMetadata:c}=n;(function(e,n){let{extra:t,tags:i,user:o,contexts:a,level:s,transactionName:l}=n,u=(0,r.Jr)(t);u&&Object.keys(u).length&&(e.extra={...u,...e.extra});let c=(0,r.Jr)(i);c&&Object.keys(c).length&&(e.tags={...c,...e.tags});let d=(0,r.Jr)(o);d&&Object.keys(d).length&&(e.user={...d,...e.user});let p=(0,r.Jr)(a);p&&Object.keys(p).length&&(e.contexts={...p,...e.contexts}),s&&(e.level=s),l&&(e.transaction=l)})(e,n),l&&function(e,n){e.contexts={trace:(0,s.wy)(n),...e.contexts};let t=(0,a.G)(n);if(t){e.sdkProcessingMetadata={dynamicSamplingContext:(0,o.j)(n),...e.sdkProcessingMetadata};let r=(0,s.XU)(t).description;r&&(e.tags={transaction:r,...e.tags})}}(e,l),e.fingerprint=e.fingerprint?(0,i.lE)(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint,function(e,n){let t=[...e.breadcrumbs||[],...n];e.breadcrumbs=t.length?t:void 0}(e,u),e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...c}}function u(e,n){let{extra:t,tags:r,user:i,contexts:o,level:a,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:u,eventProcessors:d,attachments:p,propagationContext:h,transactionName:f,span:m}=n;c(e,"extra",t),c(e,"tags",r),c(e,"user",i),c(e,"contexts",o),c(e,"sdkProcessingMetadata",s),a&&(e.level=a),f&&(e.transactionName=f),m&&(e.span=m),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),d.length&&(e.eventProcessors=[...e.eventProcessors,...d]),p.length&&(e.attachments=[...e.attachments,...p]),e.propagationContext={...e.propagationContext,...h}}function c(e,n,t){if(t&&Object.keys(t).length)for(let r in e[n]={...e[n]},t)Object.prototype.hasOwnProperty.call(t,r)&&(e[n][r]=t[r])}},89553:function(e,n,t){"use strict";function r(e){return e.transaction}t.d(n,{G:function(){return r}})},80952:function(e,n,t){"use strict";t.d(n,{R:function(){return h},U0:function(){return m}});var r=t(39578),i=t(39993),o=t(97740),a=t(7493),s=t(81254),l=t(16380),u=t(72373),c=t(53318),d=t(16078),p=t(84282);function h(e,n,t,h,m,g){let{normalizeDepth:y=3,normalizeMaxBreadth:_=1e3}=e,v={...n,event_id:n.event_id||t.event_id||(0,r.DM)(),timestamp:n.timestamp||(0,i.yW)()},b=t.integrations||e.integrations.map(e=>e.name);(function(e,n){let{environment:t,release:r,dist:i,maxValueLength:a=250}=n;"environment"in e||(e.environment="environment"in n?t:l.J),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==i&&(e.dist=i),e.message&&(e.message=(0,o.$G)(e.message,a));let s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=(0,o.$G)(s.value,a));let u=e.request;u&&u.url&&(u.url=(0,o.$G)(u.url,a))})(v,e),b.length>0&&(v.sdk=v.sdk||{},v.sdk.integrations=[...v.sdk.integrations||[],...b]),void 0===n.type&&function(e,n){let t;let r=a.GLOBAL_OBJ._sentryDebugIds;if(!r)return;let i=f.get(n);i?t=i:(t=new Map,f.set(n,t));let o=Object.keys(r).reduce((e,i)=>{let o;let a=t.get(i);a?o=a:(o=n(i),t.set(i,o));for(let n=o.length-1;n>=0;n--){let t=o[n];if(t.filename){e[t.filename]=r[i];break}}return e},{});try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.filename&&(e.debug_id=o[e.filename])})})}catch(e){}}(v,e.stackParser);let C=function(e,n){if(!n)return e;let t=e?e.clone():new c.sX;return t.update(n),t}(h,t.captureContext);t.mechanism&&(0,r.EG)(v,t.mechanism);let x=m&&m.getEventProcessors?m.getEventProcessors():[],k=(0,c.lW)().getScopeData();if(g){let e=g.getScopeData();(0,d.yo)(k,e)}if(C){let e=C.getScopeData();(0,d.yo)(k,e)}let w=[...t.attachments||[],...k.attachments];w.length&&(t.attachments=w),(0,d.gi)(v,k);let E=[...x,...(0,u.fH)(),...k.eventProcessors];return(0,u.RP)(E,v,t).then(e=>(e&&function(e){let n={};try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.debug_id&&(e.abs_path?n[e.abs_path]=e.debug_id:e.filename&&(n[e.filename]=e.debug_id),delete e.debug_id)})})}catch(e){}if(0===Object.keys(n).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let t=e.debug_meta.images;Object.keys(n).forEach(e=>{t.push({type:"sourcemap",code_file:e,debug_id:n[e]})})}(e),"number"==typeof y&&y>0)?function(e,n,t){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:(0,s.Fv)(e.data,n,t)}}))},...e.user&&{user:(0,s.Fv)(e.user,n,t)},...e.contexts&&{contexts:(0,s.Fv)(e.contexts,n,t)},...e.extra&&{extra:(0,s.Fv)(e.extra,n,t)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,s.Fv)(e.contexts.trace.data,n,t))),e.spans&&(r.spans=e.spans.map(e=>{let r=(0,p.XU)(e).data;return r&&(e.data=(0,s.Fv)(r,n,t)),e})),r}(e,y,_):e)}let f=new WeakMap;function m(e){return e?e instanceof c.sX||"function"==typeof e||Object.keys(e).some(e=>g.includes(e))?{captureContext:e}:e:void 0}let g=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},84282:function(e,n,t){"use strict";t.d(n,{$k:function(){return c},Hb:function(){return u},Tt:function(){return h},XU:function(){return p},i0:function(){return s},ve:function(){return a},wy:function(){return l}});var r=t(2108),i=t(32527),o=t(39993);let a=0,s=1;function l(e){let{spanId:n,traceId:t}=e.spanContext(),{data:i,op:o,parent_span_id:a,status:s,tags:l,origin:u}=p(e);return(0,r.Jr)({data:i,op:o,parent_span_id:a,span_id:n,status:s,tags:l,trace_id:t,origin:u})}function u(e){let{traceId:n,spanId:t}=e.spanContext(),r=h(e);return(0,i.$p)(n,t,r)}function c(e){return"number"==typeof e?d(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?d(e.getTime()):(0,o.ph)()}function d(e){return e>9999999999?e/1e3:e}function p(e){return"function"==typeof e.getSpanJSON?e.getSpanJSON():"function"==typeof e.toJSON?e.toJSON():{}}function h(e){let{traceFlags:n}=e.spanContext();return!!(n&s)}},42243:function(e,n,t){"use strict";t.d(n,{J:function(){return r}});let r="7.112.2"},55443:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(72622),i=t(97740);function o(e,n,t=250,o,l,u,c){if(!u.exception||!u.exception.values||!c||!(0,r.V9)(c.originalException,Error))return;let d=u.exception.values.length>0?u.exception.values[u.exception.values.length-1]:void 0;d&&(u.exception.values=(function e(n,t,i,o,l,u,c,d){if(u.length>=i+1)return u;let p=[...u];if((0,r.V9)(o[l],Error)){a(c,d);let r=n(t,o[l]),u=p.length;s(r,l,u,d),p=e(n,t,i,o[l],l,[r,...p],r,u)}return Array.isArray(o.errors)&&o.errors.forEach((o,u)=>{if((0,r.V9)(o,Error)){a(c,d);let r=n(t,o),h=p.length;s(r,`errors[${u}]`,h,d),p=e(n,t,i,o,l,[r,...p],r,h)}}),p})(e,n,l,c.originalException,o,u.exception.values,d,0).map(e=>(e.value&&(e.value=(0,i.$G)(e.value,t)),e)))}function a(e,n){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:n}}function s(e,n,t,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:n,exception_id:t,parent_id:r}}},30113:function(e,n,t){"use strict";t.d(n,{EN:function(){return c},IQ:function(){return d},_3:function(){return u},bU:function(){return a},jm:function(){return l},lq:function(){return s}});var r=t(99104),i=t(72622),o=t(49240);let a="baggage",s="sentry-",l=/^sentry-/,u=8192;function c(e){if(!(0,i.HD)(e)&&!Array.isArray(e))return;let n={};if(Array.isArray(e))n=e.reduce((e,n)=>{let t=p(n);for(let n of Object.keys(t))e[n]=t[n];return e},{});else{if(!e)return;n=p(e)}let t=Object.entries(n).reduce((e,[n,t])=>(n.match(l)&&(e[n.slice(s.length)]=t),e),{});return Object.keys(t).length>0?t:void 0}function d(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[n,t],i)=>{let a=`${encodeURIComponent(n)}=${encodeURIComponent(t)}`,s=0===i?a:`${e},${a}`;return s.length>u?(r.X&&o.kg.warn(`Not adding key: ${n} with val: ${t} to baggage header due to exceeding baggage size limits.`),e):s},"")}(Object.entries(e).reduce((e,[n,t])=>(t&&(e[`${s}${n}`]=t),e),{}))}function p(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[n,t])=>(e[n]=t,e),{})}},33370:function(e,n,t){"use strict";t.d(n,{Rt:function(){return o},iY:function(){return l},l4:function(){return a},qT:function(){return s}});var r=t(72622);let i=(0,t(7493).R)();function o(e,n={}){if(!e)return"";try{let t,o=e,a=[],s=0,l=0,u=Array.isArray(n)?n:n.keyAttrs,c=!Array.isArray(n)&&n.maxStringLength||80;for(;o&&s++<5&&(t=function(e,n){let t,o,a,s,l;let u=[];if(!e||!e.tagName)return"";if(i.HTMLElement&&e instanceof HTMLElement&&e.dataset&&e.dataset.sentryComponent)return e.dataset.sentryComponent;u.push(e.tagName.toLowerCase());let c=n&&n.length?n.filter(n=>e.getAttribute(n)).map(n=>[n,e.getAttribute(n)]):null;if(c&&c.length)c.forEach(e=>{u.push(`[${e[0]}="${e[1]}"]`)});else if(e.id&&u.push(`#${e.id}`),(t=e.className)&&(0,r.HD)(t))for(l=0,o=t.split(/\s+/);l1)||!(l+3*a.length+t.length>=c)));)a.push(t),l+=t.length,o=o.parentNode;return a.reverse().join(" > ")}catch(e){return""}}function a(){try{return i.document.location.href}catch(e){return""}}function s(e){return i.document&&i.document.querySelector?i.document.querySelector(e):null}function l(e){if(!i.HTMLElement)return null;let n=e;for(let e=0;e<5&&n;e++){if(n instanceof HTMLElement&&n.dataset.sentryComponent)return n.dataset.sentryComponent;n=n.parentNode}return null}},18818:function(e,n,t){"use strict";t.d(n,{x:function(){return i}});var r=t(96857);async function i(e,n){return(0,r.h)(e,n)}},96857:function(e,n,t){"use strict";function r(e,n){return null!=e?e:n()}t.d(n,{h:function(){return r}})},52588:function(e,n,t){"use strict";function r(e){let n;let t=e[0],r=1;for(;rt.call(n,...e)),n=void 0)}return t}t.d(n,{x:function(){return r}})},36532:function(e,n,t){"use strict";t.d(n,{y:function(){return o}});var r=t(51e3),i=t(39993);function o(e,n,t){let o=[{type:"client_report"},{timestamp:t||(0,i.yW)(),discarded_events:e}];return(0,r.Jd)(n?{dsn:n}:{},[o])}},99104:function(e,n,t){"use strict";t.d(n,{X:function(){return r}});let r=!1},45914:function(e,n,t){"use strict";t.d(n,{RA:function(){return a},U4:function(){return s},vK:function(){return u}});var r=t(99104),i=t(49240);let o=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function a(e,n=!1){let{host:t,path:r,pass:i,port:o,projectId:a,protocol:s,publicKey:l}=e;return`${s}://${l}${n&&i?`:${i}`:""}@${t}${o?`:${o}`:""}/${r?`${r}/`:r}${a}`}function s(e){let n=o.exec(e);if(!n){(0,i.Cf)(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[t,r,a="",s,u="",c]=n.slice(1),d="",p=c,h=p.split("/");if(h.length>1&&(d=h.slice(0,-1).join("/"),p=h.pop()),p){let e=p.match(/^\d+/);e&&(p=e[0])}return l({host:s,pass:a,path:d,projectId:p,port:u,protocol:t,publicKey:r})}function l(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function u(e){let n="string"==typeof e?s(e):l(e);if(n&&function(e){if(!r.X)return!0;let{port:n,projectId:t,protocol:o}=e;return!["protocol","publicKey","host","projectId"].find(n=>!e[n]&&(i.kg.error(`Invalid Sentry Dsn: ${n} missing`),!0))&&(t.match(/^\d+$/)?"http"===o||"https"===o?!(n&&isNaN(parseInt(n,10)))||(i.kg.error(`Invalid Sentry Dsn: Invalid port ${n}`),!1):(i.kg.error(`Invalid Sentry Dsn: Invalid protocol ${o}`),!1):(i.kg.error(`Invalid Sentry Dsn: Invalid projectId ${t}`),!1))}(n))return n}},69736:function(e,n,t){"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function i(){return"npm"}t.d(n,{S:function(){return i},n:function(){return r}})},51e3:function(e,n,t){"use strict";t.d(n,{BO:function(){return s},Cd:function(){return y},HY:function(){return g},Jd:function(){return a},R:function(){return u},V$:function(){return d},f4:function(){return p},gv:function(){return l},mL:function(){return m},zQ:function(){return h}});var r=t(45914),i=t(81254),o=t(2108);function a(e,n=[]){return[e,n]}function s(e,n){let[t,r]=e;return[t,[...r,n]]}function l(e,n){for(let t of e[1]){let e=t[0].type;if(n(t,e))return!0}return!1}function u(e,n){return l(e,(e,t)=>n.includes(t))}function c(e,n){return(n||new TextEncoder).encode(e)}function d(e,n){let[t,r]=e,o=JSON.stringify(t);function a(e){"string"==typeof o?o="string"==typeof e?o+e:[c(o,n),e]:o.push("string"==typeof e?c(e,n):e)}for(let e of r){let[n,t]=e;if(a(` ${JSON.stringify(n)} `),"string"==typeof t||t instanceof Uint8Array)a(t);else{let e;try{e=JSON.stringify(t)}catch(n){e=JSON.stringify((0,i.Fv)(t))}a(e)}}return"string"==typeof o?o:function(e){let n=new Uint8Array(e.reduce((e,n)=>e+n.length,0)),t=0;for(let r of e)n.set(r,t),t+=r.length;return n}(o)}function p(e,n,t){let r="string"==typeof e?n.encode(e):e;function i(e){let n=r.subarray(0,e);return r=r.subarray(e+1),n}function o(){let e=r.indexOf(10);return e<0&&(e=r.length),JSON.parse(t.decode(i(e)))}let a=o(),s=[];for(;r.length;){let e=o(),n="number"==typeof e.length?e.length:void 0;s.push([e,n?i(n):o()])}return[a,s]}function h(e,n){let t="string"==typeof e.data?c(e.data,n):e.data;return[(0,o.Jr)({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}let f={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function m(e){return f[e]}function g(e){if(!e||!e.sdk)return;let{name:n,version:t}=e.sdk;return{name:n,version:t}}function y(e,n,t,i){let a=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...n&&{sdk:n},...!!t&&i&&{dsn:(0,r.RA)(i)},...a&&{trace:(0,o.Jr)({...a})}}}},59751:function(e,n,t){"use strict";t.d(n,{b:function(){return r}});class r extends Error{constructor(e,n="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}},13950:function(e,n,t){"use strict";t.d(n,{GJ:function(){return l},ME:function(){return u},aB:function(){return c},g:function(){return s}});var r=t(72622),i=t(39578),o=t(81254),a=t(2108);function s(e,n){return e(n.stack||"",1)}function l(e,n){let t={type:n.name||n.constructor.name,value:n.message},r=s(e,n);return r.length&&(t.stacktrace={frames:r}),t}function u(e,n,t,s){let u;let c="function"==typeof e?e().getClient():e,d=t,p=s&&s.data&&s.data.mechanism||{handled:!0,type:"generic"};if(!(0,r.VZ)(t)){if((0,r.PO)(t)){let e=c&&c.getOptions().normalizeDepth;u={__serialized__:(0,o.Qy)(t,e)};let n=function(e){if("name"in e&&"string"==typeof e.name){let n=`'${e.name}' captured as exception`;return"message"in e&&"string"==typeof e.message&&(n+=` with message '${e.message}'`),n}return"message"in e&&"string"==typeof e.message?e.message:`Object captured as exception with keys: ${(0,a.zf)(e)}`}(t);(d=s&&s.syntheticException||Error(n)).message=n}else(d=s&&s.syntheticException||Error(t)).message=t;p.synthetic=!0}let h={exception:{values:[l(n,d)]}};return u&&(h.extra=u),(0,i.Db)(h,void 0,void 0),(0,i.EG)(h,p),{...h,event_id:s&&s.event_id}}function c(e,n,t="info",i,o){let a={event_id:i&&i.event_id,level:t};if(o&&i&&i.syntheticException){let t=s(e,i.syntheticException);t.length&&(a.exception={values:[{value:n,stacktrace:{frames:t}}]})}if((0,r.Le)(n)){let{__sentry_template_string__:e,__sentry_template_values__:t}=n;return a.logentry={message:e,params:t},a}return a.message=n,a}},90335:function(e,n,t){"use strict";t.r(n),t.d(n,{BAGGAGE_HEADER_NAME:function(){return B.bU},CONSOLE_LEVELS:function(){return u.RU},DEFAULT_RETRY_AFTER:function(){return j.B1},DEFAULT_USER_INCLUDES:function(){return S.rC},GLOBAL_OBJ:function(){return s.GLOBAL_OBJ},LRUMap:function(){return Z},MAX_BAGGAGE_STRING_LENGTH:function(){return B._3},SENTRY_BAGGAGE_KEY_PREFIX:function(){return B.lq},SENTRY_BAGGAGE_KEY_PREFIX_REGEX:function(){return B.jm},SENTRY_XHR_DATA_KEY:function(){return g.xU},SentryError:function(){return a.b},SyncPromise:function(){return N.cW},TRACEPARENT_REGEXP:function(){return L.Ke},_asyncNullishCoalesce:function(){return W.x},_asyncOptionalChain:function(){return Q},_asyncOptionalChainDelete:function(){return Y},_browserPerformanceTimeOriginMode:function(){return O.mL},_nullishCoalesce:function(){return J.h},_optionalChain:function(){return X.x},_optionalChainDelete:function(){return ee},addClickKeypressInstrumentationHandler:function(){return d.O},addConsoleInstrumentationHandler:function(){return c.e},addContextToFrame:function(){return C.go},addExceptionMechanism:function(){return C.EG},addExceptionTypeValue:function(){return C.Db},addFetchInstrumentationHandler:function(){return p.U},addGlobalErrorInstrumentationHandler:function(){return h.V},addGlobalUnhandledRejectionInstrumentationHandler:function(){return f.h},addHistoryInstrumentationHandler:function(){return m.a},addInstrumentationHandler:function(){return y},addItemToEnvelope:function(){return D.BO},addNonEnumerableProperty:function(){return w.xp},addOrUpdateIntegration:function(){return K},addRequestDataToEvent:function(){return S.S6},addRequestDataToTransaction:function(){return S.dB},addXhrInstrumentationHandler:function(){return g.UK},applyAggregateErrorsToEvent:function(){return r.Z},arrayify:function(){return C.lE},baggageHeaderToDynamicSamplingContext:function(){return B.EN},basename:function(){return E.EZ},browserPerformanceTimeOrigin:function(){return O.Z1},callFrameToStackFrame:function(){return G},checkOrSetAlreadyCaught:function(){return C.YO},consoleSandbox:function(){return u.Cf},convertToPlainObject:function(){return w.Sh},createAttachmentEnvelopeItem:function(){return D.zQ},createClientReportEnvelope:function(){return F.y},createEnvelope:function(){return D.Jd},createEventEnvelopeHeaders:function(){return D.Cd},createStackParser:function(){return R.pE},dateTimestampInSeconds:function(){return O.yW},dirname:function(){return E.XX},disabledUntil:function(){return j.ns},dropUndefinedKeys:function(){return w.Jr},dsnFromString:function(){return o.U4},dsnToString:function(){return o.RA},dynamicRequire:function(){return x.l$},dynamicSamplingContextToSentryBaggageHeader:function(){return B.IQ},envelopeContainsItemType:function(){return D.R},envelopeItemTypeToDataCategory:function(){return D.mL},escapeStringForRegex:function(){return et},eventFromMessage:function(){return H.aB},eventFromUnknownInput:function(){return H.ME},exceptionFromError:function(){return H.GJ},extractExceptionKeysForMessage:function(){return w.zf},extractPathForTransaction:function(){return S.oA},extractRequestData:function(){return S.XQ},extractTraceparentData:function(){return L.qG},filenameIsInApp:function(){return $.h},fill:function(){return w.hl},forEachEnvelopeItem:function(){return D.gv},generateSentryTraceHeader:function(){return L.$p},getComponentName:function(){return i.iY},getDomElement:function(){return i.qT},getEventDescription:function(){return C.jH},getFunctionName:function(){return R.$P},getGlobalObject:function(){return s.R},getGlobalSingleton:function(){return s.Y},getLocationHref:function(){return i.l4},getNumberOfUrlSegments:function(){return U.$A},getOriginalFunction:function(){return w.HK},getSDKSource:function(){return M.S},getSanitizedUrlString:function(){return U.tF},getSdkMetadataForEnvelopeHeader:function(){return D.HY},htmlTreeAsString:function(){return i.Rt},isAbsolute:function(){return E.YP},isBrowser:function(){return v.j},isBrowserBundle:function(){return M.n},isDOMError:function(){return _.TX},isDOMException:function(){return _.fm},isElement:function(){return _.kK},isError:function(){return _.VZ},isErrorEvent:function(){return _.VW},isEvent:function(){return _.cO},isInstanceOf:function(){return _.V9},isMatchingPattern:function(){return A.zC},isNaN:function(){return _.i2},isNativeFetch:function(){return P.Du},isNodeEnv:function(){return x.KV},isParameterizedString:function(){return _.Le},isPlainObject:function(){return _.PO},isPrimitive:function(){return _.pt},isRateLimited:function(){return j.Q},isRegExp:function(){return _.Kj},isString:function(){return _.HD},isSyntheticEvent:function(){return _.Cy},isThenable:function(){return _.J8},isVueViewModel:function(){return _.y1},join:function(){return E.v_},loadModule:function(){return x.$y},logger:function(){return u.kg},makeDsn:function(){return o.vK},makeFifoCache:function(){return q},makePromiseBuffer:function(){return T.x},markFunctionWrapped:function(){return w.$Q},memoBuilder:function(){return b.i},nodeStackLineParser:function(){return R.Ep},normalize:function(){return k.Fv},normalizePath:function(){return E.AH},normalizeToSize:function(){return k.Qy},normalizeUrlToBase:function(){return k.C8},objectify:function(){return w.mz},originalConsoleMethods:function(){return u.LD},parseEnvelope:function(){return D.f4},parseRetryAfterHeader:function(){return j.JY},parseSemver:function(){return C.J4},parseStackFrames:function(){return H.g},parseUrl:function(){return U.en},propagationContextFromHeaders:function(){return L.pT},rejectedSyncPromise:function(){return N.$2},relative:function(){return E.Gf},resetInstrumentationHandlers:function(){return en.t4},resolve:function(){return E.DB},resolvedSyncPromise:function(){return N.WD},safeJoin:function(){return A.nK},serializeEnvelope:function(){return D.V$},severityFromString:function(){return I.En},severityLevelFromString:function(){return I.VT},snipLine:function(){return A.JM},stackParserFromStackParserOptions:function(){return R.Sq},stringMatchesSomePattern:function(){return A.U0},stripSentryFramesAndReverse:function(){return R.UV},stripUrlQueryAndFragment:function(){return U.rt},supportsDOMError:function(){return P.zO},supportsDOMException:function(){return P.fL},supportsErrorEvent:function(){return P.S$},supportsFetch:function(){return P.Ak},supportsHistory:function(){return er.B},supportsNativeFetch:function(){return P.t$},supportsReferrerPolicy:function(){return P.hv},supportsReportingObserver:function(){return P.zb},timestampInSeconds:function(){return O.ph},timestampWithMs:function(){return O._I},tracingContextFromHeaders:function(){return L.KA},truncate:function(){return A.$G},updateRateLimits:function(){return j.WG},urlEncode:function(){return w._j},uuid4:function(){return C.DM},validSeverityLevels:function(){return I.Tx},walk:function(){return k._p},watchdogTimer:function(){return V},winterCGHeadersToDict:function(){return S.Zm},winterCGRequestToRequestData:function(){return S.se}});var r=t(55443),i=t(33370),o=t(45914),a=t(59751),s=t(7493),l=t(99104),u=t(49240),c=t(79048),d=t(43135),p=t(26154),h=t(55516),f=t(23370),m=t(93914),g=t(172);function y(e,n){switch(e){case"console":return(0,c.e)(n);case"dom":return(0,d.O)(n);case"xhr":return(0,g.UK)(n);case"fetch":return(0,p.U)(n);case"history":return(0,m.a)(n);case"error":return(0,h.V)(n);case"unhandledrejection":return(0,f.h)(n);default:l.X&&u.kg.warn("unknown instrumentation type:",e)}}var _=t(72622),v=t(95e3),b=t(63474),C=t(39578),x=t(42940),k=t(81254),w=t(2108),E=t(45442),T=t(95001),S=t(19888),I=t(93936),R=t(90159),A=t(97740),P=t(11599),N=t(82721),O=t(39993),L=t(32527),M=t(69736),D=t(51e3),F=t(36532),j=t(96026),B=t(30113),U=t(92319);function K(e,n,t={}){return Array.isArray(n)?z(e,n,t):r=>{let i=n(r);return e.allowExclusionByUser&&!i.find(n=>n.name===e.name)?i:z(e,i,t)}}function z(e,n,t){let r=n.find(n=>n.name===e.name);if(r){for(let[e,n]of Object.entries(t))!function e(n,t,r){let i=t.match(/([a-z_]+)\.(.*)/i);null===i?n[t]=r:e(n[i[1]],i[2],r)}(r,e,n);return n}return[...n,e]}function q(e){let n=[],t={};return{add(r,i){for(;n.length>=e;){let e=n.shift();void 0!==e&&delete t[e]}t[r]&&this.delete(r),n.push(r),t[r]=i},clear(){t={},n=[]},get:e=>t[e],size:()=>n.length,delete(e){if(!t[e])return!1;delete t[e];for(let t=0;t{let e=i.getTimeMs();!1===o&&e>n+t&&(o=!0,a&&r()),e{i.reset()},enabled:e=>{a=e}}}function G(e,n,t){let r=n?n.replace(/^file:\/\//,""):void 0,i=e.location.columnNumber?e.location.columnNumber+1:void 0,o=e.location.lineNumber?e.location.lineNumber+1:void 0;return(0,w.Jr)({filename:r,module:t(r),function:e.functionName||"?",colno:i,lineno:o,in_app:r?(0,$.h)(r):void 0})}class Z{constructor(e){this._maxSize=e,this._cache=new Map}get size(){return this._cache.size}get(e){let n=this._cache.get(e);if(void 0!==n)return this._cache.delete(e),this._cache.set(e,n),n}set(e,n){this._cache.size>=this._maxSize&&this._cache.delete(this._cache.keys().next().value),this._cache.set(e,n)}remove(e){let n=this._cache.get(e);return n&&this._cache.delete(e),n}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let e=[];return this._cache.forEach(n=>e.push(n)),e}}var W=t(18818);async function Q(e){let n;let t=e[0],r=1;for(;rt.call(n,...e)),n=void 0)}return t}async function Y(e){let n=await Q(e);return null==n||n}var J=t(96857),X=t(52588);function ee(e){let n=(0,X.x)(e);return null==n||n}var en=t(26614);function et(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var er=t(96117)},26614:function(e,n,t){"use strict";t.d(n,{D2:function(){return c},Hj:function(){return l},rK:function(){return d},t4:function(){return u}});var r=t(99104),i=t(49240),o=t(90159);let a={},s={};function l(e,n){a[e]=a[e]||[],a[e].push(n)}function u(){Object.keys(a).forEach(e=>{a[e]=void 0})}function c(e,n){s[e]||(n(),s[e]=!0)}function d(e,n){let t=e&&a[e];if(t)for(let a of t)try{a(n)}catch(n){r.X&&i.kg.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${(0,o.$P)(a)} Error:`,n)}}},79048:function(e,n,t){"use strict";t.d(n,{e:function(){return s}});var r=t(49240),i=t(2108),o=t(7493),a=t(26614);function s(e){let n="console";(0,a.Hj)(n,e),(0,a.D2)(n,l)}function l(){"console"in o.GLOBAL_OBJ&&r.RU.forEach(function(e){e in o.GLOBAL_OBJ.console&&(0,i.hl)(o.GLOBAL_OBJ.console,e,function(n){return r.LD[e]=n,function(...n){(0,a.rK)("console",{args:n,level:e});let t=r.LD[e];t&&t.apply(o.GLOBAL_OBJ.console,n)}})})}},43135:function(e,n,t){"use strict";let r,i,o;t.d(n,{O:function(){return d}});var a=t(39578),s=t(2108),l=t(7493),u=t(26614);let c=l.GLOBAL_OBJ;function d(e){(0,u.Hj)("dom",e),(0,u.D2)("dom",p)}function p(){if(!c.document)return;let e=u.rK.bind(null,"dom"),n=h(e,!0);c.document.addEventListener("click",n,!1),c.document.addEventListener("keypress",n,!1),["EventTarget","Node"].forEach(n=>{let t=c[n]&&c[n].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&((0,s.hl)(t,"addEventListener",function(n){return function(t,r,i){if("click"===t||"keypress"==t)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},o=r[t]=r[t]||{refCount:0};if(!o.handler){let r=h(e);o.handler=r,n.call(this,t,r,i)}o.refCount++}catch(e){}return n.call(this,t,r,i)}}),(0,s.hl)(t,"removeEventListener",function(e){return function(n,t,r){if("click"===n||"keypress"==n)try{let t=this.__sentry_instrumentation_handlers__||{},i=t[n];i&&(i.refCount--,i.refCount<=0&&(e.call(this,n,i.handler,r),i.handler=void 0,delete t[n]),0===Object.keys(t).length&&delete this.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,n,t,r)}}))})}function h(e,n=!1){return t=>{if(!t||t._sentryCaptured)return;let l=function(e){try{return e.target}catch(e){return null}}(t);if("keypress"===t.type&&(!l||!l.tagName||"INPUT"!==l.tagName&&"TEXTAREA"!==l.tagName&&!l.isContentEditable))return;(0,s.xp)(t,"_sentryCaptured",!0),l&&!l._sentryId&&(0,s.xp)(l,"_sentryId",(0,a.DM)());let u="keypress"===t.type?"input":t.type;!function(e){if(e.type!==i)return!1;try{if(!e.target||e.target._sentryId!==o)return!1}catch(e){}return!0}(t)&&(e({event:t,name:u,global:n}),i=t.type,o=l?l._sentryId:void 0),clearTimeout(r),r=c.setTimeout(()=>{o=void 0,i=void 0},1e3)}}},26154:function(e,n,t){"use strict";t.d(n,{U:function(){return s}});var r=t(2108),i=t(11599),o=t(7493),a=t(26614);function s(e){let n="fetch";(0,a.Hj)(n,e),(0,a.D2)(n,l)}function l(){(0,i.t$)()&&(0,r.hl)(o.GLOBAL_OBJ,"fetch",function(e){return function(...n){let{method:t,url:r}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[n,t]=e;return{url:c(n),method:u(t,"method")?String(t.method).toUpperCase():"GET"}}let n=e[0];return{url:c(n),method:u(n,"method")?String(n.method).toUpperCase():"GET"}}(n),i={args:n,fetchData:{method:t,url:r},startTimestamp:Date.now()};return(0,a.rK)("fetch",{...i}),e.apply(o.GLOBAL_OBJ,n).then(e=>{let n={...i,endTimestamp:Date.now(),response:e};return(0,a.rK)("fetch",n),e},e=>{let n={...i,endTimestamp:Date.now(),error:e};throw(0,a.rK)("fetch",n),e})}})}function u(e,n){return!!e&&"object"==typeof e&&!!e[n]}function c(e){return"string"==typeof e?e:e?u(e,"url")?e.url:e.toString?e.toString():"":""}},55516:function(e,n,t){"use strict";t.d(n,{V:function(){return a}});var r=t(7493),i=t(26614);let o=null;function a(e){let n="error";(0,i.Hj)(n,e),(0,i.D2)(n,s)}function s(){o=r.GLOBAL_OBJ.onerror,r.GLOBAL_OBJ.onerror=function(e,n,t,r,a){return(0,i.rK)("error",{column:r,error:a,line:t,msg:e,url:n}),!!o&&!o.__SENTRY_LOADER__&&o.apply(this,arguments)},r.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}},23370:function(e,n,t){"use strict";t.d(n,{h:function(){return a}});var r=t(7493),i=t(26614);let o=null;function a(e){let n="unhandledrejection";(0,i.Hj)(n,e),(0,i.D2)(n,s)}function s(){o=r.GLOBAL_OBJ.onunhandledrejection,r.GLOBAL_OBJ.onunhandledrejection=function(e){return(0,i.rK)("unhandledrejection",e),!o||!!o.__SENTRY_LOADER__||o.apply(this,arguments)},r.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},93914:function(e,n,t){"use strict";let r;t.d(n,{a:function(){return u}});var i=t(2108),o=t(7493),a=t(96117),s=t(26614);let l=o.GLOBAL_OBJ;function u(e){let n="history";(0,s.Hj)(n,e),(0,s.D2)(n,c)}function c(){if(!(0,a.B)())return;let e=l.onpopstate;function n(e){return function(...n){let t=n.length>2?n[2]:void 0;if(t){let e=r,n=String(t);r=n,(0,s.rK)("history",{from:e,to:n})}return e.apply(this,n)}}l.onpopstate=function(...n){let t=l.location.href,i=r;if(r=t,(0,s.rK)("history",{from:i,to:t}),e)try{return e.apply(this,n)}catch(e){}},(0,i.hl)(l.history,"pushState",n),(0,i.hl)(l.history,"replaceState",n)}},172:function(e,n,t){"use strict";t.d(n,{UK:function(){return u},xU:function(){return l}});var r=t(72622),i=t(2108),o=t(7493),a=t(26614);let s=o.GLOBAL_OBJ,l="__sentry_xhr_v3__";function u(e){(0,a.Hj)("xhr",e),(0,a.D2)("xhr",c)}function c(){if(!s.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;(0,i.hl)(e,"open",function(e){return function(...n){let t=Date.now(),o=(0,r.HD)(n[0])?n[0].toUpperCase():void 0,s=function(e){if((0,r.HD)(e))return e;try{return e.toString()}catch(e){}}(n[1]);if(!o||!s)return e.apply(this,n);this[l]={method:o,url:s,request_headers:{}},"POST"===o&&s.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let u=()=>{let e=this[l];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}let n={args:[o,s],endTimestamp:Date.now(),startTimestamp:t,xhr:this};(0,a.rK)("xhr",n)}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,i.hl)(this,"onreadystatechange",function(e){return function(...n){return u(),e.apply(this,n)}}):this.addEventListener("readystatechange",u),(0,i.hl)(this,"setRequestHeader",function(e){return function(...n){let[t,i]=n,o=this[l];return o&&(0,r.HD)(t)&&(0,r.HD)(i)&&(o.request_headers[t.toLowerCase()]=i),e.apply(this,n)}}),e.apply(this,n)}}),(0,i.hl)(e,"send",function(e){return function(...n){let t=this[l];if(!t)return e.apply(this,n);void 0!==n[0]&&(t.body=n[0]);let r={args:[t.method,t.url],startTimestamp:Date.now(),xhr:this};return(0,a.rK)("xhr",r),e.apply(this,n)}})}},72622:function(e,n,t){"use strict";t.d(n,{Cy:function(){return y},HD:function(){return u},J8:function(){return g},Kj:function(){return m},Le:function(){return c},PO:function(){return p},TX:function(){return s},V9:function(){return v},VW:function(){return a},VZ:function(){return i},cO:function(){return h},fm:function(){return l},i2:function(){return _},kK:function(){return f},pt:function(){return d},y1:function(){return b}});let r=Object.prototype.toString;function i(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return v(e,Error)}}function o(e,n){return r.call(e)===`[object ${n}]`}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 p(e){return o(e,"Object")}function h(e){return"undefined"!=typeof Event&&v(e,Event)}function f(e){return"undefined"!=typeof Element&&v(e,Element)}function m(e){return o(e,"RegExp")}function g(e){return!!(e&&e.then&&"function"==typeof e.then)}function y(e){return p(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function _(e){return"number"==typeof e&&e!=e}function v(e,n){try{return e instanceof n}catch(e){return!1}}function b(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}},95e3:function(e,n,t){"use strict";t.d(n,{j:function(){return o}});var r=t(42940),i=t(7493);function o(){return"undefined"!=typeof window&&(!(0,r.KV)()||void 0!==i.GLOBAL_OBJ.process&&"renderer"===i.GLOBAL_OBJ.process.type)}},49240:function(e,n,t){"use strict";t.d(n,{Cf:function(){return s},LD:function(){return a},RU:function(){return o},kg:function(){return l}});var r=t(99104),i=t(7493);let o=["debug","info","warn","error","log","assert","trace"],a={};function s(e){if(!("console"in i.GLOBAL_OBJ))return e();let n=i.GLOBAL_OBJ.console,t={},r=Object.keys(a);r.forEach(e=>{let r=a[e];t[e]=n[e],n[e]=r});try{return e()}finally{r.forEach(e=>{n[e]=t[e]})}}let l=function(){let e=!1,n={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return r.X?o.forEach(t=>{n[t]=(...n)=>{e&&s(()=>{i.GLOBAL_OBJ.console[t](`Sentry Logger [${t}]:`,...n)})}}):o.forEach(e=>{n[e]=()=>void 0}),n}()},63474:function(e,n,t){"use strict";function r(){let e="function"==typeof WeakSet,n=e?new WeakSet:[];return[function(t){if(e)return!!n.has(t)||(n.add(t),!1);for(let e=0;e16*Math.random();try{if(n&&n.randomUUID)return n.randomUUID().replace(/-/g,"");n&&n.getRandomValues&&(t=()=>{let e=new Uint8Array(1);return n.getRandomValues(e),e[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}function s(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function l(e){let{message:n,event_id:t}=e;if(n)return n;let r=s(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||t||"":t||""}function u(e,n,t){let r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=n||""),o.type||(o.type=t||"Error")}function c(e,n){let t=s(e);if(!t)return;let r=t.mechanism;if(t.mechanism={type:"generic",handled:!0,...r,...n},n&&"data"in n){let e={...r&&r.data,...n.data};t.mechanism.data=e}}let d=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function p(e){let n=e.match(d)||[],t=parseInt(n[1],10),r=parseInt(n[2],10),i=parseInt(n[3],10);return{buildmetadata:n[5],major:isNaN(t)?void 0:t,minor:isNaN(r)?void 0:r,patch:isNaN(i)?void 0:i,prerelease:n[4]}}function h(e,n,t=5){if(void 0===n.lineno)return;let r=e.length,o=Math.max(Math.min(r-1,n.lineno-1),0);n.pre_context=e.slice(Math.max(0,o-t),o).map(e=>(0,i.JM)(e,0)),n.context_line=(0,i.JM)(e[Math.min(r-1,o)],n.colno||0),n.post_context=e.slice(Math.min(o+1,r),o+1+t).map(e=>(0,i.JM)(e,0))}function f(e){if(e&&e.__sentry_captured__)return!0;try{(0,r.xp)(e,"__sentry_captured__",!0)}catch(e){}return!1}function m(e){return Array.isArray(e)?e:[e]}},12618:function(e,n,t){"use strict";function r(e,n=!1){return!(n||e&&!e.startsWith("/")&&!e.match(/^[A-Z]:/)&&!e.startsWith(".")&&!e.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//))&&void 0!==e&&!e.includes("node_modules/")}function i(e){let n=/^\s*[-]{4,}$/,t=/at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;return i=>{let o=i.match(t);if(o){let n,t,i,a,s;if(o[1]){let e=(i=o[1]).lastIndexOf(".");if("."===i[e-1]&&e--,e>0){n=i.slice(0,e),t=i.slice(e+1);let r=n.indexOf(".Module");r>0&&(i=i.slice(r+1),n=n.slice(0,r))}a=void 0}t&&(a=n,s=t),""===t&&(s=void 0,i=void 0),void 0===i&&(s=s||"",i=a?`${a}.${s}`:s);let l=o[2]&&o[2].startsWith("file://")?o[2].slice(7):o[2],u="native"===o[5];return l&&l.match(/\/[A-Z]:/)&&(l=l.slice(1)),l||!o[5]||u||(l=o[5]),{filename:l,module:e?e(l):void 0,function:i,lineno:parseInt(o[3],10)||void 0,colno:parseInt(o[4],10)||void 0,in_app:r(l,u)}}if(i.match(n))return{filename:i}}}t.d(n,{d:function(){return i},h:function(){return r}})},42940:function(e,n,t){"use strict";t.d(n,{$y:function(){return s},KV:function(){return o},l$:function(){return a}});var r=t(69736);e=t.hmd(e);var i=t(74702);function o(){return!(0,r.n)()&&"[object process]"===Object.prototype.toString.call(void 0!==i?i:0)}function a(e,n){return e.require(n)}function s(n){let t;try{t=a(e,n)}catch(e){}try{let{cwd:r}=a(e,"process");t=a(e,`${r()}/node_modules/${n}`)}catch(e){}return t}},81254:function(e,n,t){"use strict";t.d(n,{C8:function(){return u},Fv:function(){return s},Qy:function(){return function e(n,t=3,r=102400){let i=s(n,t);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?e(n,t-1,r):i}},_p:function(){return l}});var r=t(72622),i=t(63474),o=t(2108),a=t(90159);function s(e,n=100,t=Infinity){try{return l("",e,n,t)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function l(e,n,s=Infinity,u=Infinity,c=(0,i.i)()){let[d,p]=c;if(null==n||["number","boolean","string"].includes(typeof n)&&!(0,r.i2)(n))return n;let h=function(e,n){try{if("domain"===e&&n&&"object"==typeof n&&n._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if(void 0!==t.g&&n===t.g)return"[Global]";if("undefined"!=typeof window&&n===window)return"[Window]";if("undefined"!=typeof document&&n===document)return"[Document]";if((0,r.y1)(n))return"[VueViewModel]";if((0,r.Cy)(n))return"[SyntheticEvent]";if("number"==typeof n&&n!=n)return"[NaN]";if("function"==typeof n)return`[Function: ${(0,a.$P)(n)}]`;if("symbol"==typeof n)return`[${String(n)}]`;if("bigint"==typeof n)return`[BigInt: ${String(n)}]`;let i=function(e){let n=Object.getPrototypeOf(e);return n?n.constructor.name:"null prototype"}(n);if(/^HTML(\w*)Element$/.test(i))return`[HTMLElement: ${i}]`;return`[object ${i}]`}catch(e){return`**non-serializable** (${e})`}}(e,n);if(!h.startsWith("[object "))return h;if(n.__sentry_skip_normalization__)return n;let f="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:s;if(0===f)return h.replace("object ","");if(d(n))return"[Circular ~]";if(n&&"function"==typeof n.toJSON)try{let e=n.toJSON();return l("",e,f-1,u,c)}catch(e){}let m=Array.isArray(n)?[]:{},g=0,y=(0,o.Sh)(n);for(let e in y){if(!Object.prototype.hasOwnProperty.call(y,e))continue;if(g>=u){m[e]="[MaxProperties ~]";break}let n=y[e];m[e]=l(e,n,f-1,u,c),g++}return p(n),m}function u(e,n){let t=n.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"),r=e;try{r=decodeURI(e)}catch(e){}return r.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(RegExp(`(file://)?/*${t}/*`,"ig"),"app:///")}},2108:function(e,n,t){"use strict";t.d(n,{$Q:function(){return c},HK:function(){return d},Jr:function(){return y},Sh:function(){return h},_j:function(){return p},hl:function(){return l},mz:function(){return _},xp:function(){return u},zf:function(){return g}});var r=t(33370),i=t(99104),o=t(72622),a=t(49240),s=t(97740);function l(e,n,t){if(!(n in e))return;let r=e[n],i=t(r);"function"==typeof i&&c(i,r),e[n]=i}function u(e,n,t){try{Object.defineProperty(e,n,{value:t,writable:!0,configurable:!0})}catch(t){i.X&&a.kg.log(`Failed to add non-enumerable property "${n}" to object`,e)}}function c(e,n){try{let t=n.prototype||{};e.prototype=n.prototype=t,u(e,"__sentry_original__",n)}catch(e){}}function d(e){return e.__sentry_original__}function p(e){return Object.keys(e).map(n=>`${encodeURIComponent(n)}=${encodeURIComponent(e[n])}`).join("&")}function h(e){if((0,o.VZ)(e))return{message:e.message,name:e.name,stack:e.stack,...m(e)};if(!(0,o.cO)(e))return e;{let n={type:e.type,target:f(e.target),currentTarget:f(e.currentTarget),...m(e)};return"undefined"!=typeof CustomEvent&&(0,o.V9)(e,CustomEvent)&&(n.detail=e.detail),n}}function f(e){try{return(0,o.kK)(e)?(0,r.Rt)(e):Object.prototype.toString.call(e)}catch(e){return""}}function m(e){if("object"!=typeof e||null===e)return{};{let n={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n}}function g(e,n=40){let t=Object.keys(h(e));if(t.sort(),!t.length)return"[object has no keys]";if(t[0].length>=n)return(0,s.$G)(t[0],n);for(let e=t.length;e>0;e--){let r=t.slice(0,e).join(", ");if(!(r.length>n)){if(e===t.length)return r;return(0,s.$G)(r,n)}}return""}function y(e){return function e(n,t){if(function(e){if(!(0,o.PO)(e))return!1;try{let n=Object.getPrototypeOf(e).constructor.name;return!n||"Object"===n}catch(e){return!0}}(n)){let r=t.get(n);if(void 0!==r)return r;let i={};for(let r of(t.set(n,i),Object.keys(n)))void 0!==n[r]&&(i[r]=e(n[r],t));return i}if(Array.isArray(n)){let r=t.get(n);if(void 0!==r)return r;let i=[];return t.set(n,i),n.forEach(n=>{i.push(e(n,t))}),i}return n}(e,new Map)}function _(e){let n;switch(!0){case null==e:n=new String(e);break;case"symbol"==typeof e||"bigint"==typeof e:n=Object(e);break;case(0,o.pt)(e):n=new e.constructor(e);break;default:n=e}return n}},45442:function(e,n,t){"use strict";function r(e,n){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];"."===r?e.splice(n,1):".."===r?(e.splice(n,1),t++):t&&(e.splice(n,1),t--)}if(n)for(;t--;t)e.unshift("..");return e}t.d(n,{AH:function(){return u},DB:function(){return a},EZ:function(){return h},Gf:function(){return l},XX:function(){return p},YP:function(){return c},v_:function(){return d}});let i=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function o(e){let n=e.length>1024?`${e.slice(-1024)}`:e,t=i.exec(n);return t?t.slice(1):[]}function a(...e){let n="",t=!1;for(let r=e.length-1;r>=-1&&!t;r--){let i=r>=0?e[r]:"/";i&&(n=`${i}/${n}`,t="/"===i.charAt(0))}return n=r(n.split("/").filter(e=>!!e),!t).join("/"),(t?"/":"")+n||"."}function s(e){let n=0;for(;n=0&&""===e[t];t--);return n>t?[]:e.slice(n,t-n+1)}function l(e,n){e=a(e).slice(1),n=a(n).slice(1);let t=s(e.split("/")),r=s(n.split("/")),i=Math.min(t.length,r.length),o=i;for(let e=0;e!!e),!n).join("/");return i||n||(i="."),i&&t&&(i+="/"),(n?"/":"")+i}function c(e){return"/"===e.charAt(0)}function d(...e){return u(e.join("/"))}function p(e){let n=o(e),t=n[0],r=n[1];return t||r?(r&&(r=r.slice(0,r.length-1)),t+r):"."}function h(e,n){let t=o(e)[2];return n&&t.slice(-1*n.length)===n&&(t=t.slice(0,t.length-n.length)),t}},95001:function(e,n,t){"use strict";t.d(n,{x:function(){return o}});var r=t(59751),i=t(82721);function o(e){let n=[];function t(e){return n.splice(n.indexOf(e),1)[0]}return{$:n,add:function(o){if(!(void 0===e||n.lengtht(a)).then(null,()=>t(a).then(null,()=>{})),a},drain:function(e){return new i.cW((t,r)=>{let o=n.length;if(!o)return t(!0);let a=setTimeout(()=>{e&&e>0&&t(!1)},e);n.forEach(e=>{(0,i.WD)(e).then(()=>{--o||(clearTimeout(a),t(!0))},r)})})}}}},96026:function(e,n,t){"use strict";t.d(n,{B1:function(){return r},JY:function(){return i},Q:function(){return a},WG:function(){return s},ns:function(){return o}});let r=6e4;function i(e,n=Date.now()){let t=parseInt(`${e}`,10);if(!isNaN(t))return 1e3*t;let i=Date.parse(`${e}`);return isNaN(i)?r:i-n}function o(e,n){return e[n]||e.all||0}function a(e,n,t=Date.now()){return o(e,n)>t}function s(e,{statusCode:n,headers:t},r=Date.now()){let o={...e},a=t&&t["x-sentry-rate-limits"],s=t&&t["retry-after"];if(a)for(let e of a.trim().split(",")){let[n,t,,,i]=e.split(":",5),a=parseInt(n,10),s=(isNaN(a)?60:a)*1e3;if(t)for(let e of t.split(";"))"metric_bucket"===e?(!i||i.split(";").includes("custom"))&&(o[e]=r+s):o[e]=r+s;else o.all=r+s}else s?o.all=r+i(s,r):429===n&&(o.all=r+6e4);return o}},19888:function(e,n,t){"use strict";t.d(n,{rC:function(){return c},S6:function(){return f},dB:function(){return d},oA:function(){return p},XQ:function(){return h},Zm:function(){return g},se:function(){return y}});var r=t(99104),i=t(72622),o=t(49240),a=t(81254),s=t(92319);let l={ip:!1,request:!0,transaction:!0,user:!0},u=["cookies","data","headers","method","query_string","url"],c=["id","username","email"];function d(e,n,t){if(e){if(!e.metadata.source||"url"===e.metadata.source){let[t,r]=p(n,{path:!0,method:!0});e.updateName(t),e.setMetadata({source:r})}e.setAttribute("url",n.originalUrl||n.url),n.baseUrl&&e.setAttribute("baseUrl",n.baseUrl),e.setData("query",m(n,t))}}function p(e,n={}){let t=e.method&&e.method.toUpperCase(),r="",i="url";n.customRoute||e.route?(r=n.customRoute||`${e.baseUrl||""}${e.route&&e.route.path}`,i="route"):(e.originalUrl||e.url)&&(r=(0,s.rt)(e.originalUrl||e.url||""));let o="";return n.method&&t&&(o+=t),n.method&&n.path&&(o+=" "),n.path&&r&&(o+=r),[o,i]}function h(e,n){let{include:t=u,deps:r}=n||{},o={},s=e.headers||{},l=e.method,c=s.host||e.hostname||e.host||"",d="https"===e.protocol||e.socket&&e.socket.encrypted?"https":"http",p=e.originalUrl||e.url||"",h=p.startsWith(d)?p:`${d}://${c}${p}`;return t.forEach(n=>{switch(n){case"headers":o.headers=s,t.includes("cookies")||delete o.headers.cookie;break;case"method":o.method=l;break;case"url":o.url=h;break;case"cookies":o.cookies=e.cookies||s.cookie&&function(e){let n={},t=0;for(;t{e&&n in e&&(t[n]=e[n])}),t}(n.user,r.user):{};Object.keys(t).length&&(e.user={...e.user,...t})}if(r.ip){let t=n.ip||n.socket&&n.socket.remoteAddress;t&&(e.user={...e.user,ip_address:t})}return r.transaction&&!e.transaction&&(e.transaction=function(e,n){switch(n){case"path":return p(e,{path:!0})[0];case"handler":return e.route&&e.route.stack&&e.route.stack[0]&&e.route.stack[0].name||"";default:{let n=e._reconstructedRoute?e._reconstructedRoute:void 0;return p(e,{path:!0,method:!0,customRoute:n})[0]}}}(n,r.transaction)),e}function m(e,n){let t=e.originalUrl||e.url||"";if(t){t.startsWith("/")&&(t=`http://dogs.are.great${t}`);try{return e.query||"undefined"!=typeof URL&&new URL(t).search.slice(1)||n&&n.url&&n.url.parse(t).query||void 0}catch(e){return}}}function g(e){let n={};try{e.forEach((e,t)=>{"string"==typeof e&&(n[t]=e)})}catch(e){r.X&&o.kg.warn("Sentry failed extracting headers from a request object. If you see this, please file an issue.")}return n}function y(e){let n=g(e.headers);return{method:e.method,url:e.url,headers:n}}},93936:function(e,n,t){"use strict";t.d(n,{En:function(){return i},Tx:function(){return r},VT:function(){return o}});let r=["fatal","error","warning","log","info","debug"];function i(e){return o(e)}function o(e){return"warn"===e?"warning":r.includes(e)?e:"log"}},90159:function(e,n,t){"use strict";t.d(n,{$P:function(){return c},Ep:function(){return d},Sq:function(){return s},UV:function(){return l},pE:function(){return a}});var r=t(12618);let i=/\(error: (.*)\)/,o=/captureMessage|captureException/;function a(...e){let n=e.sort((e,n)=>e[0]-n[0]).map(e=>e[1]);return(e,t=0)=>{let r=[],o=e.split("\n");for(let e=t;e1024)continue;let a=i.test(t)?t.replace(i,"$1"):t;if(!a.match(/\S*Error: /)){for(let e of n){let n=e(a);if(n){r.push(n);break}}if(r.length>=50)break}}return l(r)}}function s(e){return Array.isArray(e)?a(...e):e}function l(e){if(!e.length)return[];let n=Array.from(e);return/sentryWrapped/.test(n[n.length-1].function||"")&&n.pop(),n.reverse(),o.test(n[n.length-1].function||"")&&(n.pop(),o.test(n[n.length-1].function||"")&&n.pop()),n.slice(0,50).map(e=>({...e,filename:e.filename||n[n.length-1].filename,function:e.function||"?"}))}let u="";function c(e){try{if(!e||"function"!=typeof e)return u;return e.name||u}catch(e){return u}}function d(e){return[90,(0,r.d)(e)]}},97740:function(e,n,t){"use strict";t.d(n,{$G:function(){return i},JM:function(){return o},U0:function(){return l},nK:function(){return a},zC:function(){return s}});var r=t(72622);function i(e,n=0){return"string"!=typeof e||0===n?e:e.length<=n?e:`${e.slice(0,n)}...`}function o(e,n){let t=e,r=t.length;if(r<=150)return t;n>r&&(n=r);let i=Math.max(n-60,0);i<5&&(i=0);let o=Math.min(i+140,r);return o>r-5&&(o=r),o===r&&(i=Math.max(o-140,0)),t=t.slice(i,o),i>0&&(t=`'{snip} ${t}`),os(e,n,t))}},11599:function(e,n,t){"use strict";t.d(n,{Ak:function(){return u},Du:function(){return c},S$:function(){return a},fL:function(){return l},hv:function(){return h},t$:function(){return d},zO:function(){return s},zb:function(){return p}});var r=t(99104),i=t(49240);let o=(0,t(7493).R)();function a(){try{return new ErrorEvent(""),!0}catch(e){return!1}}function s(){try{return new DOMError(""),!0}catch(e){return!1}}function l(){try{return new DOMException(""),!0}catch(e){return!1}}function u(){if(!("fetch"in o))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function c(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function d(){if("string"==typeof EdgeRuntime)return!0;if(!u())return!1;if(c(o.fetch))return!0;let e=!1,n=o.document;if(n&&"function"==typeof n.createElement)try{let t=n.createElement("iframe");t.hidden=!0,n.head.appendChild(t),t.contentWindow&&t.contentWindow.fetch&&(e=c(t.contentWindow.fetch)),n.head.removeChild(t)}catch(e){r.X&&i.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}function p(){return"ReportingObserver"in o}function h(){if(!u())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(e){return!1}}},82721:function(e,n,t){"use strict";t.d(n,{$2:function(){return s},WD:function(){return a},cW:function(){return l}});var r,i,o=t(72622);function a(e){return new l(n=>{n(e)})}function s(e){return new l((n,t)=>{t(e)})}(r=i||(i={}))[r.PENDING=0]="PENDING",r[r.RESOLVED=1]="RESOLVED",r[r.REJECTED=2]="REJECTED";class l{constructor(e){l.prototype.__init.call(this),l.prototype.__init2.call(this),l.prototype.__init3.call(this),l.prototype.__init4.call(this),this._state=i.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,n){return new l((t,r)=>{this._handlers.push([!1,n=>{if(e)try{t(e(n))}catch(e){r(e)}else t(n)},e=>{if(n)try{t(n(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new l((n,t)=>{let r,i;return this.then(n=>{i=!1,r=n,e&&e()},n=>{i=!0,r=n,e&&e()}).then(()=>{if(i){t(r);return}n(r)})})}__init(){this._resolve=e=>{this._setResult(i.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(i.REJECTED,e)}}__init3(){this._setResult=(e,n)=>{if(this._state===i.PENDING){if((0,o.J8)(n)){n.then(this._resolve,this._reject);return}this._state=e,this._value=n,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===i.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===i.RESOLVED&&e[1](this._value),this._state===i.REJECTED&&e[2](this._value),e[0]=!0)})}}}},39993:function(e,n,t){"use strict";let r;t.d(n,{Z1:function(){return l},_I:function(){return s},mL:function(){return r},ph:function(){return a},yW:function(){return o}});var i=t(7493);function o(){return Date.now()/1e3}let a=function(){let{performance:e}=i.GLOBAL_OBJ;if(!e||!e.now)return o;let n=Date.now()-e.now(),t=void 0==e.timeOrigin?n:e.timeOrigin;return()=>(t+e.now())/1e3}(),s=a,l=(()=>{let{performance:e}=i.GLOBAL_OBJ;if(!e||!e.now){r="none";return}let n=e.now(),t=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-t):36e5,a=e.timing&&e.timing.navigationStart,s="number"==typeof a?Math.abs(a+n-t):36e5;return o<36e5||s<36e5?o<=s?(r="timeOrigin",e.timeOrigin):(r="navigationStart",a):(r="dateNow",t)})()},32527:function(e,n,t){"use strict";t.d(n,{$p:function(){return u},KA:function(){return s},Ke:function(){return o},pT:function(){return l},qG:function(){return a}});var r=t(30113),i=t(39578);let o=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function a(e){let n;if(!e)return;let t=e.match(o);if(t)return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}function s(e,n){let t=a(e),o=(0,r.EN)(n),{traceId:s,parentSpanId:l,parentSampled:u}=t||{};return t?{traceparentData:t,dynamicSamplingContext:o||{},propagationContext:{traceId:s||(0,i.DM)(),parentSpanId:l||(0,i.DM)().substring(16),spanId:(0,i.DM)().substring(16),sampled:u,dsc:o||{}}}:{traceparentData:t,dynamicSamplingContext:void 0,propagationContext:{traceId:s||(0,i.DM)(),spanId:(0,i.DM)().substring(16)}}}function l(e,n){let t=a(e),o=(0,r.EN)(n),{traceId:s,parentSpanId:l,parentSampled:u}=t||{};return t?{traceId:s||(0,i.DM)(),parentSpanId:l||(0,i.DM)().substring(16),spanId:(0,i.DM)().substring(16),sampled:u,dsc:o||{}}:{traceId:s||(0,i.DM)(),spanId:(0,i.DM)().substring(16)}}function u(e=(0,i.DM)(),n=(0,i.DM)().substring(16),t){let r="";return void 0!==t&&(r=t?"-1":"-0"),`${e}-${n}${r}`}},92319:function(e,n,t){"use strict";function r(e){if(!e)return{};let n=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!n)return{};let t=n[6]||"",r=n[8]||"";return{host:n[4],path:n[5],protocol:n[2],search:t,hash:r,relative:n[5]+t+r}}function i(e){return e.split(/[\?#]/,1)[0]}function o(e){return e.split(/\\?\//).filter(e=>e.length>0&&","!==e).length}function a(e){let{protocol:n,host:t,path:r}=e,i=t&&t.replace(/^.*@/,"[filtered]:[filtered]@").replace(/(:80)$/,"").replace(/(:443)$/,"")||"";return`${n?`${n}://`:""}${i}${r}`}t.d(n,{$A:function(){return o},en:function(){return r},rt:function(){return i},tF:function(){return a}})},96117:function(e,n,t){"use strict";t.d(n,{B:function(){return i}});let r=(0,t(7493).R)();function i(){let e=r.chrome,n=e&&e.app&&e.app.runtime,t="history"in r&&!!r.history.pushState&&!!r.history.replaceState;return!n&&t}},7493:function(e,n,t){"use strict";function r(e){return e&&e.Math==Math?e:void 0}t.d(n,{GLOBAL_OBJ:function(){return i},R:function(){return o},Y:function(){return a}});let i="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof t.g&&r(t.g)||function(){return this}()||{};function o(){return i}function a(e,n,t){let r=t||i,o=r.__SENTRY__=r.__SENTRY__||{};return o[e]||(o[e]=n())}},5730:function(e,n){"use strict";n.byteLength=function(e){var n=l(e),t=n[0],r=n[1];return(t+r)*3/4-r},n.toByteArray=function(e){var n,t,o=l(e),a=o[0],s=o[1],u=new i((a+s)*3/4-s),c=0,d=s>0?a-4:a;for(t=0;t>16&255,u[c++]=n>>8&255,u[c++]=255&n;return 2===s&&(n=r[e.charCodeAt(t)]<<2|r[e.charCodeAt(t+1)]>>4,u[c++]=255&n),1===s&&(n=r[e.charCodeAt(t)]<<10|r[e.charCodeAt(t+1)]<<4|r[e.charCodeAt(t+2)]>>2,u[c++]=n>>8&255,u[c++]=255&n),u},n.fromByteArray=function(e){for(var n,r=e.length,i=r%3,o=[],a=0,s=r-i;a>18&63]+t[i>>12&63]+t[i>>6&63]+t[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(t[(n=e[r-1])>>2]+t[n<<4&63]+"=="):2===i&&o.push(t[(n=(e[r-2]<<8)+e[r-1])>>10]+t[n>>4&63]+t[n<<2&63]+"="),o.join("")};for(var t=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");-1===t&&(t=n);var r=t===n?0:4-t%4;return[t,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},50890:function(e,n,t){"use strict";/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */let r=t(5730),i=t(429),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let n=new Uint8Array(e);return Object.setPrototypeOf(n,s.prototype),n}function s(e,n,t){if("number"==typeof e){if("string"==typeof n)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,n,t)}function l(e,n,t){if("string"==typeof e)return function(e,n){if(("string"!=typeof n||""===n)&&(n="utf8"),!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);let t=0|f(e,n),r=a(t),i=r.write(e,n);return i!==t&&(r=r.slice(0,i)),r}(e,n);if(ArrayBuffer.isView(e))return function(e){if(F(e,Uint8Array)){let n=new Uint8Array(e);return p(n.buffer,n.byteOffset,n.byteLength)}return d(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(F(e,SharedArrayBuffer)||e&&F(e.buffer,SharedArrayBuffer)))return p(e,n,t);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return s.from(r,n,t);let i=function(e){var n;if(s.isBuffer(e)){let n=0|h(e.length),t=a(n);return 0===t.length||e.copy(t,0,0,n),t}return void 0!==e.length?"number"!=typeof e.length||(n=e.length)!=n?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),n,t);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),a(e<0?0:0|h(e))}function d(e){let n=e.length<0?0:0|h(e.length),t=a(n);for(let r=0;r=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function f(e,n){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let t=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===t)return 0;let i=!1;for(;;)switch(n){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return L(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return M(e).length;default:if(i)return r?-1:L(e).length;n=(""+n).toLowerCase(),i=!0}}function m(e,n,t){let i=!1;if((void 0===n||n<0)&&(n=0),n>this.length||((void 0===t||t>this.length)&&(t=this.length),t<=0||(t>>>=0)<=(n>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,n,t){let r=e.length;(!n||n<0)&&(n=0),(!t||t<0||t>r)&&(t=r);let i="";for(let r=n;r2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),(o=t=+t)!=o&&(t=i?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(i)return -1;t=e.length-1}else if(t<0){if(!i)return -1;t=0}if("string"==typeof n&&(n=s.from(n,r)),s.isBuffer(n))return 0===n.length?-1:_(e,n,t,r,i);if("number"==typeof n)return(n&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,n,t):Uint8Array.prototype.lastIndexOf.call(e,n,t):_(e,[n],t,r,i);throw TypeError("val must be string, number or Buffer")}function _(e,n,t,r,i){let o,a=1,s=e.length,l=n.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||n.length<2)return -1;a=2,s/=2,l/=2,t/=2}function u(e,n){return 1===a?e[n]:e.readUInt16BE(n*a)}if(i){let r=-1;for(o=t;os&&(t=s-l),o=t;o>=0;o--){let t=!0;for(let r=0;r239?4:n>223?3:n>191?2:1;if(i+a<=t){let t,r,s,l;switch(a){case 1:n<128&&(o=n);break;case 2:(192&(t=e[i+1]))==128&&(l=(31&n)<<6|63&t)>127&&(o=l);break;case 3:t=e[i+1],r=e[i+2],(192&t)==128&&(192&r)==128&&(l=(15&n)<<12|(63&t)<<6|63&r)>2047&&(l<55296||l>57343)&&(o=l);break;case 4:t=e[i+1],r=e[i+2],s=e[i+3],(192&t)==128&&(192&r)==128&&(192&s)==128&&(l=(15&n)<<18|(63&t)<<12|(63&r)<<6|63&s)>65535&&l<1114112&&(o=l)}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(e){let n=e.length;if(n<=4096)return String.fromCharCode.apply(String,e);let t="",r=0;for(;rt)throw RangeError("Trying to access beyond buffer length")}function C(e,n,t,r,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(n>i||ne.length)throw RangeError("Index out of range")}function x(e,n,t,r,i){A(n,r,i,e,t,7);let o=Number(n&BigInt(4294967295));e[t++]=o,o>>=8,e[t++]=o,o>>=8,e[t++]=o,o>>=8,e[t++]=o;let a=Number(n>>BigInt(32)&BigInt(4294967295));return e[t++]=a,a>>=8,e[t++]=a,a>>=8,e[t++]=a,a>>=8,e[t++]=a,t}function k(e,n,t,r,i){A(n,r,i,e,t,7);let o=Number(n&BigInt(4294967295));e[t+7]=o,o>>=8,e[t+6]=o,o>>=8,e[t+5]=o,o>>=8,e[t+4]=o;let a=Number(n>>BigInt(32)&BigInt(4294967295));return e[t+3]=a,a>>=8,e[t+2]=a,a>>=8,e[t+1]=a,a>>=8,e[t]=a,t+8}function w(e,n,t,r,i,o){if(t+r>e.length||t<0)throw RangeError("Index out of range")}function E(e,n,t,r,o){return n=+n,t>>>=0,o||w(e,n,t,4,34028234663852886e22,-34028234663852886e22),i.write(e,n,t,r,23,4),t+4}function T(e,n,t,r,o){return n=+n,t>>>=0,o||w(e,n,t,8,17976931348623157e292,-17976931348623157e292),i.write(e,n,t,r,52,8),t+8}n.Buffer=s,n.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)},n.INSPECT_MAX_BYTES=50,n.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),n={foo:function(){return 42}};return Object.setPrototypeOf(n,Uint8Array.prototype),Object.setPrototypeOf(e,n),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,n,t){return l(e,n,t)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,n,t){return(u(e),e<=0)?a(e):void 0!==n?"string"==typeof t?a(e).fill(n,t):a(e).fill(n):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,n){if(F(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),F(n,Uint8Array)&&(n=s.from(n,n.offset,n.byteLength)),!s.isBuffer(e)||!s.isBuffer(n))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===n)return 0;let t=e.length,r=n.length;for(let i=0,o=Math.min(t,r);ir.length?(s.isBuffer(n)||(n=s.from(n)),n.copy(r,i)):Uint8Array.prototype.set.call(r,n,i);else if(s.isBuffer(n))n.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=n.length}return r},s.byteLength=f,s.prototype._isBuffer=!0,s.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let n=0;nt&&(e+=" ... "),""},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,n,t,r,i){if(F(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===n&&(n=0),void 0===t&&(t=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),n<0||t>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&n>=t)return 0;if(r>=i)return -1;if(n>=t)return 1;if(n>>>=0,t>>>=0,r>>>=0,i>>>=0,this===e)return 0;let o=i-r,a=t-n,l=Math.min(o,a),u=this.slice(r,i),c=e.slice(n,t);for(let e=0;e>>=0,isFinite(t)?(t>>>=0,void 0===r&&(r="utf8")):(r=t,t=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let p=this.length-n;if((void 0===t||t>p)&&(t=p),e.length>0&&(t<0||n<0)||n>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let h=!1;for(;;)switch(r){case"hex":return function(e,n,t,r){let i;t=Number(t)||0;let o=e.length-t;r?(r=Number(r))>o&&(r=o):r=o;let a=n.length;for(r>a/2&&(r=a/2),i=0;i>8,i.push(t%256),i.push(r);return i}(e,this.length-c),this,c,d);default:if(h)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),h=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,n){let t=this.length;e=~~e,n=void 0===n?t:~~n,e<0?(e+=t)<0&&(e=0):e>t&&(e=t),n<0?(n+=t)<0&&(n=0):n>t&&(n=t),n>>=0,n>>>=0,t||b(e,n,this.length);let r=this[e],i=1,o=0;for(;++o>>=0,n>>>=0,t||b(e,n,this.length);let r=this[e+--n],i=1;for(;n>0&&(i*=256);)r+=this[e+--n]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,n){return e>>>=0,n||b(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,n){return e>>>=0,n||b(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,n){return e>>>=0,n||b(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,n){return e>>>=0,n||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,n){return e>>>=0,n||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=B(function(e){P(e>>>=0,"offset");let n=this[e],t=this[e+7];(void 0===n||void 0===t)&&N(e,this.length-8);let r=n+256*this[++e]+65536*this[++e]+16777216*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+16777216*t;return BigInt(r)+(BigInt(i)<>>=0,"offset");let n=this[e],t=this[e+7];(void 0===n||void 0===t)&&N(e,this.length-8);let r=16777216*n+65536*this[++e]+256*this[++e]+this[++e],i=16777216*this[++e]+65536*this[++e]+256*this[++e]+t;return(BigInt(r)<>>=0,n>>>=0,t||b(e,n,this.length);let r=this[e],i=1,o=0;for(;++o=(i*=128)&&(r-=Math.pow(2,8*n)),r},s.prototype.readIntBE=function(e,n,t){e>>>=0,n>>>=0,t||b(e,n,this.length);let r=n,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*n)),o},s.prototype.readInt8=function(e,n){return(e>>>=0,n||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,n){e>>>=0,n||b(e,2,this.length);let t=this[e]|this[e+1]<<8;return 32768&t?4294901760|t:t},s.prototype.readInt16BE=function(e,n){e>>>=0,n||b(e,2,this.length);let t=this[e+1]|this[e]<<8;return 32768&t?4294901760|t:t},s.prototype.readInt32LE=function(e,n){return e>>>=0,n||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,n){return e>>>=0,n||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=B(function(e){P(e>>>=0,"offset");let n=this[e],t=this[e+7];return(void 0===n||void 0===t)&&N(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(t<<24))<>>=0,"offset");let n=this[e],t=this[e+7];return(void 0===n||void 0===t)&&N(e,this.length-8),(BigInt((n<<24)+65536*this[++e]+256*this[++e]+this[++e])<>>=0,n||b(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,n){return e>>>=0,n||b(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,n){return e>>>=0,n||b(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,n){return e>>>=0,n||b(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,n,t,r){if(e=+e,n>>>=0,t>>>=0,!r){let r=Math.pow(2,8*t)-1;C(this,e,n,t,r,0)}let i=1,o=0;for(this[n]=255&e;++o>>=0,t>>>=0,!r){let r=Math.pow(2,8*t)-1;C(this,e,n,t,r,0)}let i=t-1,o=1;for(this[n+i]=255&e;--i>=0&&(o*=256);)this[n+i]=e/o&255;return n+t},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,1,255,0),this[n]=255&e,n+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,2,65535,0),this[n]=255&e,this[n+1]=e>>>8,n+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,2,65535,0),this[n]=e>>>8,this[n+1]=255&e,n+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,4,4294967295,0),this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=255&e,n+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,4,4294967295,0),this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e,n+4},s.prototype.writeBigUInt64LE=B(function(e,n=0){return x(this,e,n,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeBigUInt64BE=B(function(e,n=0){return k(this,e,n,BigInt(0),BigInt("0xffffffffffffffff"))}),s.prototype.writeIntLE=function(e,n,t,r){if(e=+e,n>>>=0,!r){let r=Math.pow(2,8*t-1);C(this,e,n,t,r-1,-r)}let i=0,o=1,a=0;for(this[n]=255&e;++i>0)-a&255;return n+t},s.prototype.writeIntBE=function(e,n,t,r){if(e=+e,n>>>=0,!r){let r=Math.pow(2,8*t-1);C(this,e,n,t,r-1,-r)}let i=t-1,o=1,a=0;for(this[n+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[n+i+1]&&(a=1),this[n+i]=(e/o>>0)-a&255;return n+t},s.prototype.writeInt8=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,1,127,-128),e<0&&(e=255+e+1),this[n]=255&e,n+1},s.prototype.writeInt16LE=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,2,32767,-32768),this[n]=255&e,this[n+1]=e>>>8,n+2},s.prototype.writeInt16BE=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,2,32767,-32768),this[n]=e>>>8,this[n+1]=255&e,n+2},s.prototype.writeInt32LE=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,4,2147483647,-2147483648),this[n]=255&e,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24,n+4},s.prototype.writeInt32BE=function(e,n,t){return e=+e,n>>>=0,t||C(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e,n+4},s.prototype.writeBigInt64LE=B(function(e,n=0){return x(this,e,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeBigInt64BE=B(function(e,n=0){return k(this,e,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),s.prototype.writeFloatLE=function(e,n,t){return E(this,e,n,!0,t)},s.prototype.writeFloatBE=function(e,n,t){return E(this,e,n,!1,t)},s.prototype.writeDoubleLE=function(e,n,t){return T(this,e,n,!0,t)},s.prototype.writeDoubleBE=function(e,n,t){return T(this,e,n,!1,t)},s.prototype.copy=function(e,n,t,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(t||(t=0),r||0===r||(r=this.length),n>=e.length&&(n=e.length),n||(n=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-n>>=0,t=void 0===t?this.length:t>>>0,e||(e=0),"number"==typeof e)for(i=n;i=r+4;t-=3)n=`_${e.slice(t-3,t)}${n}`;return`${e.slice(0,t)}${n}`}function A(e,n,t,r,i,o){if(e>t||e3?0===n||n===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${n}${i} and <= ${t}${i}`,new S.ERR_OUT_OF_RANGE("value",r,e)}P(i,"offset"),(void 0===r[i]||void 0===r[i+o])&&N(i,r.length-(o+1))}function P(e,n){if("number"!=typeof e)throw new S.ERR_INVALID_ARG_TYPE(n,"number",e)}function N(e,n,t){if(Math.floor(e)!==e)throw P(e,t),new S.ERR_OUT_OF_RANGE(t||"offset","an integer",e);if(n<0)throw new S.ERR_BUFFER_OUT_OF_BOUNDS;throw new S.ERR_OUT_OF_RANGE(t||"offset",`>= ${t?1:0} and <= ${n}`,e)}I("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),I("ERR_INVALID_ARG_TYPE",function(e,n){return`The "${e}" argument must be of type number. Received type ${typeof n}`},TypeError),I("ERR_OUT_OF_RANGE",function(e,n,t){let r=`The value of "${e}" is out of range.`,i=t;return Number.isInteger(t)&&Math.abs(t)>4294967296?i=R(String(t)):"bigint"==typeof t&&(i=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(i=R(i)),i+="n"),r+=` It must be ${n}. Received ${i}`},RangeError);let O=/[^+/0-9A-Za-z-_]/g;function L(e,n){let t;n=n||1/0;let r=e.length,i=null,o=[];for(let a=0;a55295&&t<57344){if(!i){if(t>56319||a+1===r){(n-=3)>-1&&o.push(239,191,189);continue}i=t;continue}if(t<56320){(n-=3)>-1&&o.push(239,191,189),i=t;continue}t=(i-55296<<10|t-56320)+65536}else i&&(n-=3)>-1&&o.push(239,191,189);if(i=null,t<128){if((n-=1)<0)break;o.push(t)}else if(t<2048){if((n-=2)<0)break;o.push(t>>6|192,63&t|128)}else if(t<65536){if((n-=3)<0)break;o.push(t>>12|224,t>>6&63|128,63&t|128)}else if(t<1114112){if((n-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}else throw Error("Invalid code point")}return o}function M(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(O,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function D(e,n,t,r){let i;for(i=0;i=n.length)&&!(i>=e.length);++i)n[i+t]=e[i];return i}function F(e,n){return e instanceof n||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===n.name}let j=function(){let e="0123456789abcdef",n=Array(256);for(let t=0;t<16;++t){let r=16*t;for(let i=0;i<16;++i)n[r+i]=e[t]+e[i]}return n}();function B(e){return"undefined"==typeof BigInt?U:e}function U(){throw Error("BigInt not supported")}},51290:function(e,n,t){"use strict";var r=t(94337),i=t(35364),o=i(r("String.prototype.indexOf"));e.exports=function(e,n){var t=r(e,!!n);return"function"==typeof t&&o(e,".prototype.")>-1?i(t):t}},35364:function(e,n,t){"use strict";var r=t(90288),i=t(94337),o=t(31345),a=t(46285),s=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),u=i("%Reflect.apply%",!0)||r.call(l,s),c=t(12467),d=i("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var n=u(r,l,arguments);return o(n,1+d(0,e.length-(arguments.length-1)),!0)};var p=function(){return u(r,s,arguments)};c?c(e.exports,"apply",{value:p}):e.exports.apply=p},32990:function(e,n,t){"use strict";var r=t(12467),i=t(71186),o=t(46285),a=t(26923);e.exports=function(e,n,t){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof n&&"symbol"!=typeof n)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],d=!!a&&a(e,n);if(r)r(e,n,{configurable:null===u&&d?d.configurable:!u,enumerable:null===s&&d?d.enumerable:!s,value:t,writable:null===l&&d?d.writable:!l});else if(!c&&(s||l||u))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[n]=t}},12467:function(e,n,t){"use strict";var r=t(94337)("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch(e){r=!1}e.exports=r},68476:function(e){"use strict";e.exports=EvalError},8695:function(e){"use strict";e.exports=Error},52919:function(e){"use strict";e.exports=RangeError},78888:function(e){"use strict";e.exports=ReferenceError},71186:function(e){"use strict";e.exports=SyntaxError},46285:function(e){"use strict";e.exports=TypeError},34612:function(e){"use strict";e.exports=URIError},49150:function(e){"use strict";var n=[],t=[];e.exports=/** * Checks if two values are equal. Values may be primitives, arrays, or objects. * Returns true if both arguments have the same keys and values. * * @see http://underscorejs.org * @copyright 2009-2013 Jeremy Ashkenas, DocumentCloud Inc. * @license MIT */function(e,r){var i=n.length?n.pop():[],o=t.length?t.pop():[],a=function e(n,t,r,i){if(n===t)return 0!==n||1/n==1/t;if(null==n||null==t||"object"!=typeof n||"object"!=typeof t)return!1;var o=Object.prototype.toString,a=o.call(n);if(a!=o.call(t))return!1;switch(a){case"[object String]":return n==String(t);case"[object Number]":return!(isNaN(n)||isNaN(t))&&n==Number(t);case"[object Date]":case"[object Boolean]":return+n==+t;case"[object RegExp]":return n.source==t.source&&n.global==t.global&&n.multiline==t.multiline&&n.ignoreCase==t.ignoreCase}for(var s=r.length;s--;)if(r[s]==n)return i[s]==t;r.push(n),i.push(t);var l=0;if("[object Array]"===a){if((l=n.length)!==t.length)return!1;for(;l--;)if(!e(n[l],t[l],r,i))return!1}else{if(n.constructor!==t.constructor)return!1;if(n.hasOwnProperty("valueOf")&&t.hasOwnProperty("valueOf"))return n.valueOf()==t.valueOf();var u=Object.keys(n);if(u.length!=Object.keys(t).length)return!1;for(var c=0;c{let n=e.method;return n&&({GET:" -X GET",POST:" -X POST",PUT:" -X PUT",PATCH:" -X PATCH",DELETE:" -X DELETE",HEAD:" -X HEAD",OPTIONS:" -X OPTIONS"})[n.toUpperCase()]||""},r=e=>"function"==typeof Headers&&e instanceof Headers,i=(e,n)=>` -H "${e}: ${`${n}`.replace(/(\\|")/g,"\\$1")}"`,o=(e={})=>{let{headers:n}=e,t=!1,o="";return r(n)?n.forEach((e,n)=>{"content-length"!==n.toLocaleLowerCase()&&(o+=i(n,e)),"accept-encoding"===n.toLocaleLowerCase()&&(t=!0)}):n&&Object.keys(n).map(e=>{"content-length"!==e.toLocaleLowerCase()&&(o+=i(e,n[e])),"accept-encoding"===e.toLocaleLowerCase()&&(t=!0)}),{params:o,isEncode:t}};function a(e){return"string"==typeof e?e.replace(/'/g,"'\\''"):e}n.ZP=(e,n)=>{let r,i;"string"==typeof e||e instanceof URL?(r=e,i=n||{}):(r=(e||{}).url,i=e||{});let{body:s}=i,l=o(i);return`curl '${r}'${t(i)}${l.params||""}${s?"object"==typeof s?` --data-binary '${a(JSON.stringify(s))}'`:` --data-binary '${a(s)}'`:""}${l.isEncode?" --compressed":""}`}},44463:function(e,n,t){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,n){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e})(e,n)}function o(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e){var n=function(e,n){if("object"!==r(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!==r(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===r(n)?n:String(n)}var l=t(82201),u=t(20335),c=t(57379).createFocusTrap,d=t(72112).isFocusable,p=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&i(e,n)}(c,e);var n,t,u=(n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=a(c);return e=n?Reflect.construct(t,arguments,a(this).constructor):t.apply(this,arguments),function(e,n){if(n&&("object"===r(n)||"function"==typeof n))return n;if(void 0!==n)throw TypeError("Derived constructors may only return object or undefined");return o(e)}(this,e)});function c(e){!function(e,n){if(!(e instanceof n))throw TypeError("Cannot call a class as a function")}(this,c),n=o(i=u.call(this,e)),t="getNodeForOption",r=function(e){var n,t,r=null!==(n=this.internalOptions[e])&&void 0!==n?n:this.originalOptions[e];if("function"==typeof r){for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a element.");return l.cloneElement(n,{ref:function(t){var r=e.props.containerElements;n&&("function"==typeof n.ref?n.ref(t):n.ref&&(n.ref.current=t)),e.focusTrapElements=r||[t]}})}return null}}],function(e,n){for(var t=0;t0){var t=e[e.length-1];t!==n&&t.pause()}var r=e.indexOf(n);-1===r||e.splice(r,1),e.push(n)},s=function(e,n){var t=e.indexOf(n);-1!==t&&e.splice(t,1),e.length>0&&e[e.length-1].unpause()},l=function(e){return(null==e?void 0:e.key)==="Tab"||(null==e?void 0:e.keyCode)===9},u=function(e){return l(e)&&!e.shiftKey},c=function(e){return l(e)&&e.shiftKey},d=function(e){return setTimeout(e,0)},p=function(e,n){var t=-1;return e.every(function(e,r){return!n(e)||(t=r,!1)}),t},h=function(e){for(var n=arguments.length,t=Array(n>1?n-1:0),r=1;r1?t-1:0),o=1;o=0)e=i.activeElement;else{var n=_.tabbableGroups[0];e=n&&n.firstTabbableNode||C("fallbackFocus")}}if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},k=function(){if(_.containerGroups=_.containers.map(function(e){var n=(0,r.tabbable)(e,y.tabbableOptions),t=(0,r.focusable)(e,y.tabbableOptions),i=n.length>0?n[0]:void 0,o=n.length>0?n[n.length-1]:void 0,a=t.find(function(e){return(0,r.isTabbable)(e)}),s=t.slice().reverse().find(function(e){return(0,r.isTabbable)(e)}),l=!!n.find(function(e){return(0,r.getTabIndex)(e)>0});return{container:e,tabbableNodes:n,focusableNodes:t,posTabIndexesFound:l,firstTabbableNode:i,lastTabbableNode:o,firstDomTabbableNode:a,lastDomTabbableNode:s,nextTabbableNode:function(e){var i=!(arguments.length>1)||void 0===arguments[1]||arguments[1],o=n.indexOf(e);return o<0?i?t.slice(t.indexOf(e)+1).find(function(e){return(0,r.isTabbable)(e)}):t.slice(0,t.indexOf(e)).reverse().find(function(e){return(0,r.isTabbable)(e)}):n[o+(i?1:-1)]}}}),_.tabbableGroups=_.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),_.tabbableGroups.length<=0&&!C("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(_.containerGroups.find(function(e){return e.posTabIndexesFound})&&_.containerGroups.length>1)throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},w=function e(n){var t=n.activeElement;return t?t.shadowRoot&&null!==t.shadowRoot.activeElement?e(t.shadowRoot):t:void 0},E=function e(n){if(!1!==n&&n!==w(document)){if(!n||!n.focus){e(x());return}n.focus({preventScroll:!!y.preventScroll}),_.mostRecentlyFocusedNode=n,n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select&&n.select()}},T=function(e){var n=C("setReturnFocus",e);return n||!1!==n&&e},S=function(e){var n=e.target,t=e.event,i=e.isBackward,o=void 0!==i&&i;n=n||f(t),k();var a=null;if(_.tabbableGroups.length>0){var s=b(n,t),u=s>=0?_.containerGroups[s]:void 0;if(s<0)a=o?_.tabbableGroups[_.tabbableGroups.length-1].lastTabbableNode:_.tabbableGroups[0].firstTabbableNode;else if(o){var c=p(_.tabbableGroups,function(e){var t=e.firstTabbableNode;return n===t});if(c<0&&(u.container===n||(0,r.isFocusable)(n,y.tabbableOptions)&&!(0,r.isTabbable)(n,y.tabbableOptions)&&!u.nextTabbableNode(n,!1))&&(c=s),c>=0){var d=0===c?_.tabbableGroups.length-1:c-1,h=_.tabbableGroups[d];a=(0,r.getTabIndex)(n)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else l(t)||(a=u.nextTabbableNode(n,!1))}else{var m=p(_.tabbableGroups,function(e){var t=e.lastTabbableNode;return n===t});if(m<0&&(u.container===n||(0,r.isFocusable)(n,y.tabbableOptions)&&!(0,r.isTabbable)(n,y.tabbableOptions)&&!u.nextTabbableNode(n))&&(m=s),m>=0){var g=m===_.tabbableGroups.length-1?0:m+1,v=_.tabbableGroups[g];a=(0,r.getTabIndex)(n)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else l(t)||(a=u.nextTabbableNode(n))}}else a=C("fallbackFocus");return a},I=function(e){if(!(b(f(e),e)>=0)){if(h(y.clickOutsideDeactivates,e)){t.deactivate({returnFocus:y.returnFocusOnDeactivate});return}h(y.allowOutsideClick,e)||e.preventDefault()}},R=function(e){var n=f(e),t=b(n,e)>=0;if(t||n instanceof Document)t&&(_.mostRecentlyFocusedNode=n);else{e.stopImmediatePropagation();var i,o=!0;if(_.mostRecentlyFocusedNode){if((0,r.getTabIndex)(_.mostRecentlyFocusedNode)>0){var a=b(_.mostRecentlyFocusedNode),s=_.containerGroups[a].tabbableNodes;if(s.length>0){var l=s.findIndex(function(e){return e===_.mostRecentlyFocusedNode});l>=0&&(y.isKeyForward(_.recentNavEvent)?l+1=0&&(i=s[l-1],o=!1))}}else _.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return(0,r.getTabIndex)(e)>0})})||(o=!1)}else o=!1;o&&(i=S({target:_.mostRecentlyFocusedNode,isBackward:y.isKeyBackward(_.recentNavEvent)})),i?E(i):E(_.mostRecentlyFocusedNode||x())}_.recentNavEvent=void 0},A=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_.recentNavEvent=e;var t=S({event:e,isBackward:n});t&&(l(e)&&e.preventDefault(),E(t))},P=function(e){if(((null==e?void 0:e.key)==="Escape"||(null==e?void 0:e.key)==="Esc"||(null==e?void 0:e.keyCode)===27)&&!1!==h(y.escapeDeactivates,e)){e.preventDefault(),t.deactivate();return}(y.isKeyForward(e)||y.isKeyBackward(e))&&A(e,y.isKeyBackward(e))},N=function(e){b(f(e),e)>=0||h(y.clickOutsideDeactivates,e)||h(y.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},O=function(){if(_.active)return a(g,t),_.delayInitialFocusTimer=y.delayInitialFocus?d(function(){E(x())}):E(x()),i.addEventListener("focusin",R,!0),i.addEventListener("mousedown",I,{capture:!0,passive:!1}),i.addEventListener("touchstart",I,{capture:!0,passive:!1}),i.addEventListener("click",N,{capture:!0,passive:!1}),i.addEventListener("keydown",P,{capture:!0,passive:!1}),t},L=function(){if(_.active)return i.removeEventListener("focusin",R,!0),i.removeEventListener("mousedown",I,!0),i.removeEventListener("touchstart",I,!0),i.removeEventListener("click",N,!0),i.removeEventListener("keydown",P,!0),t},M="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===_.mostRecentlyFocusedNode})})&&E(x())}):void 0,D=function(){M&&(M.disconnect(),_.active&&!_.paused&&_.containers.map(function(e){M.observe(e,{subtree:!0,childList:!0})}))};return(t={get active(){return _.active},get paused(){return _.paused},activate:function(e){if(_.active)return this;var n=v(e,"onActivate"),t=v(e,"onPostActivate"),r=v(e,"checkCanFocusTrap");r||k(),_.active=!0,_.paused=!1,_.nodeFocusedBeforeActivation=i.activeElement,null==n||n();var o=function(){r&&k(),O(),D(),null==t||t()};return r?r(_.containers.concat()).then(o,o):o(),this},deactivate:function(e){if(!_.active)return this;var n=o({onDeactivate:y.onDeactivate,onPostDeactivate:y.onPostDeactivate,checkCanReturnFocus:y.checkCanReturnFocus},e);clearTimeout(_.delayInitialFocusTimer),_.delayInitialFocusTimer=void 0,L(),_.active=!1,_.paused=!1,D(),s(g,t);var r=v(n,"onDeactivate"),i=v(n,"onPostDeactivate"),a=v(n,"checkCanReturnFocus"),l=v(n,"returnFocus","returnFocusOnDeactivate");null==r||r();var u=function(){d(function(){l&&E(T(_.nodeFocusedBeforeActivation)),null==i||i()})};return l&&a?a(T(_.nodeFocusedBeforeActivation)).then(u,u):u(),this},pause:function(e){if(_.paused||!_.active)return this;var n=v(e,"onPause"),t=v(e,"onPostPause");return _.paused=!0,null==n||n(),L(),D(),null==t||t(),this},unpause:function(e){if(!_.paused||!_.active)return this;var n=v(e,"onUnpause"),t=v(e,"onPostUnpause");return _.paused=!1,null==n||n(),k(),O(),D(),null==t||t(),this},updateContainerElements:function(e){var n=[].concat(e).filter(Boolean);return _.containers=n.map(function(e){return"string"==typeof e?i.querySelector(e):e}),_.active&&k(),D(),this}}).updateContainerElements(e),t}},92726:function(e){"use strict";var n=Object.prototype.toString,t=Math.max,r=function(e,n){for(var t=[],r=0;r1&&"boolean"!=typeof n)throw new u('"allowMissing" argument must be a boolean');if(null===P(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=L(e),r=t.length>0?t[0]:"",i=M("%"+r+"%",n),o=i.name,a=i.value,s=!1,c=i.alias;c&&(r=c[0],I(t,S([0,1],c)));for(var d=1,p=!0;d=t.length){var y=h(a,f);a=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:a[f]}else p=T(a,f),a=a[f];p&&!s&&(C[o]=a)}}return a}},26923:function(e,n,t){"use strict";var r=t(94337)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},69186:function(e,n,t){"use strict";var r=t(12467),i=function(){return!!r};i.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},18523:function(e){"use strict";var n={__proto__:null,foo:{}},t=Object;e.exports=function(){return({__proto__:n}).foo===n.foo&&!(n instanceof t)}},89400:function(e,n,t){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=t(13442);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},13442:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},n=Symbol("test"),t=Object(n);if("string"==typeof n||"[object Symbol]"!==Object.prototype.toString.call(n)||"[object Symbol]"!==Object.prototype.toString.call(t))return!1;for(n in e[n]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,n);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},70252:function(e,n,t){"use strict";var r=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=t(90288);e.exports=o.call(r,i)},80845:function(e,n,t){"use strict";var r=t(20857),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(n,t,r){if("string"!=typeof t){if(f){var i=h(t);i&&i!==f&&e(n,i,r)}var a=c(t);d&&(a=a.concat(d(t)));for(var s=l(n),m=l(t),g=0;g */n.read=function(e,n,t,r,i){var o,a,s=8*i-r-1,l=(1<>1,c=-7,d=t?i-1:0,p=t?-1:1,h=e[n+d];for(d+=p,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[n+d],d+=p,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[n+d],d+=p,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,n,t,r,i,o){var a,s,l,u=8*o-i-1,c=(1<>1,p=23===i?5960464477539062e-23:0,h=r?0:o-1,f=r?1:-1,m=n<0||0===n&&1/n<0?1:0;for(isNaN(n=Math.abs(n))||n===1/0?(s=isNaN(n)?1:0,a=c):(a=Math.floor(Math.log(n)/Math.LN2),n*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+d>=1?n+=p/l:n+=p*Math.pow(2,1-d),n*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(n*l-1)*Math.pow(2,i),a+=d):(s=n*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[t+h]=255&s,h+=f,s/=256,i-=8);for(a=a<0;e[t+h]=255&a,h+=f,a/=256,u-=8);e[t+h-f]|=128*m}},78405:function(e){"use strict";e.exports=function(e,n,t,r,i,o,a,s){if(!e){var l;if(void 0===n)l=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[t,r,i,o,a,s],c=0;(l=Error(n.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},73724:function(e){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},89211:function(e,n,t){"use strict";var r=("undefined"!=typeof JSON?JSON:t(77906)).stringify,i=t(73724),o=t(94272),a=t(35364),s=t(51290),l=s("Array.prototype.join"),u=s("Array.prototype.push"),c=function(e,n){for(var t="",r=0;r1?arguments[1]:void 0,t=n&&n.space||"";"number"==typeof t&&(t=c(t," "));var s=!!n&&"boolean"==typeof n.cycles&&n.cycles,p=n&&n.replacer?a(n.replacer):d,h="function"==typeof n?n:n&&n.cmp,f=h&&function(e){var n=h.length>2&&function(n){return e[n]};return function(t,r){return h({key:t,value:e[t]},{key:r,value:e[r]},n?{__proto__:null,get:n}:void 0)}},m=[];return function e(n,a,d,h){var g=t?"\n"+c(h,t):"",y=t?": ":":";if(d&&d.toJSON&&"function"==typeof d.toJSON&&(d=d.toJSON()),void 0!==(d=p(n,a,d))){if("object"!=typeof d||null===d)return r(d);if(i(d)){for(var _=[],v=0;v="0"&&t<="9";)n+=t,a();if("."===t)for(n+=".";a()&&t>="0"&&t<="9";)n+=t;if("e"===t||"E"===t)for(n+=t,a(),("-"===t||"+"===t)&&(n+=t,a());t>="0"&&t<="9";)n+=t,a();return isFinite(e=Number(n))||o("Bad number"),e}function l(){var e,n,r,s="";if('"'===t)for(;a();){if('"'===t)return a(),s;if("\\"===t){if(a(),"u"===t){for(n=0,r=0;n<4&&isFinite(e=parseInt(a(),16));n+=1)r=16*r+e;s+=String.fromCharCode(r)}else if("string"==typeof i[t])s+=i[t];else break}else s+=t}o("Bad string")}function u(){for(;t&&t<=" ";)a()}function c(){switch(u(),t){case"{":return function(){var e,n={};if("{"===t){if(a("{"),u(),"}"===t)return a("}"),n;for(;t;){if(e=l(),u(),a(":"),Object.prototype.hasOwnProperty.call(n,e)&&o('Duplicate key "'+e+'"'),n[e]=c(),u(),"}"===t)return a("}"),n;a(","),u()}}o("Bad object")}();case"[":return function(){var e=[];if("["===t){if(a("["),u(),"]"===t)return a("]"),e;for(;t;){if(e.push(c()),u(),"]"===t)return a("]"),e;a(","),u()}}o("Bad array")}();case'"':return l();case"-":return s();default:return t>="0"&&t<="9"?s():function(){switch(t){case"t":return a("t"),a("r"),a("u"),a("e"),!0;case"f":return a("f"),a("a"),a("l"),a("s"),a("e"),!1;case"n":return a("n"),a("u"),a("l"),a("l"),null;default:o("Unexpected '"+t+"'")}}()}}e.exports=function(e,i){var a;return r=e,n=0,t=" ",a=c(),u(),t&&o("Syntax error"),"function"==typeof i?function e(n,t){var r,o,a=n[t];if(a&&"object"==typeof a)for(r in c)Object.prototype.hasOwnProperty.call(a,r)&&(void 0===(o=e(a,r))?delete a[r]:a[r]=o);return i.call(n,t,a)}({"":a},""):a}},4839:function(e){"use strict";var n,t,r,i=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,o={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function a(e){return i.lastIndex=0,i.test(e)?'"'+e.replace(i,function(e){var n=o[e];return"string"==typeof n?n:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}e.exports=function(e,i,o){var s;if(n="",t="","number"==typeof o)for(s=0;s1?t[o-1]:void 0,s=o>2?t[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(t[0],t[1],s)&&(a=o<3?void 0:a,o=1),n=Object(n);++r-1&&e%1==0&&e-1}},983:function(e,n,t){var r=t(90821);e.exports=function(e,n){var t=this.__data__,i=r(t,e);return i<0?(++this.size,t.push([e,n])):t[i][1]=n,this}},6093:function(e,n,t){var r=t(62430),i=t(4594),o=t(64642);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},34427:function(e,n,t){var r=t(46618);e.exports=function(e){var n=r(this,e).delete(e);return this.size-=n?1:0,n}},70748:function(e,n,t){var r=t(46618);e.exports=function(e){return r(this,e).get(e)}},284:function(e,n,t){var r=t(46618);e.exports=function(e){return r(this,e).has(e)}},801:function(e,n,t){var r=t(46618);e.exports=function(e,n){var t=r(this,e),i=t.size;return t.set(e,n),this.size+=t.size==i?0:1,this}},91043:function(e,n,t){var r=t(14725)(Object,"create");e.exports=r},86012:function(e){e.exports=function(e){var n=[];if(null!=e)for(var t in Object(e))n.push(t);return n}},96246:function(e,n,t){e=t.nmd(e);var r=t(23559),i=n&&!n.nodeType&&n,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},98055:function(e){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},69122:function(e){e.exports=function(e,n){return function(t){return e(n(t))}}},38043:function(e,n,t){var r=t(28391),i=Math.max;e.exports=function(e,n,t){return n=i(void 0===n?e.length-1:n,0),function(){for(var o=arguments,a=-1,s=i(o.length-n,0),l=Array(s);++a0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},92679:function(e,n,t){var r=t(4594);e.exports=function(){this.__data__=new r,this.size=0}},33589:function(e){e.exports=function(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t}},55798:function(e){e.exports=function(e){return this.__data__.get(e)}},65754:function(e){e.exports=function(e){return this.__data__.has(e)}},40347:function(e,n,t){var r=t(4594),i=t(64642),o=t(1193);e.exports=function(e,n){var t=this.__data__;if(t instanceof r){var a=t.__data__;if(!i||a.length<199)return a.push([e,n]),this.size=++t.size,this;t=this.__data__=new o(a)}return t.set(e,n),this.size=t.size,this}},80138:function(e){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},81417:function(e){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},30491:function(e){e.exports=function(e){return function(){return e}}},73127:function(e,n,t){var r=t(94704),i=t(24760),o=t(52093),a=Math.max,s=Math.min;e.exports=function(e,n,t){var l,u,c,d,p,h,f=0,m=!1,g=!1,y=!0;if("function"!=typeof e)throw TypeError("Expected a function");function _(n){var t=l,r=u;return l=u=void 0,f=n,d=e.apply(r,t)}function v(e){var t=e-h,r=e-f;return void 0===h||t>=n||t<0||g&&r>=c}function b(){var e,t,r,o=i();if(v(o))return C(o);p=setTimeout(b,(e=o-h,t=o-f,r=n-e,g?s(r,c-t):r))}function C(e){return(p=void 0,y&&l)?_(e):(l=u=void 0,d)}function x(){var e,t=i(),r=v(t);if(l=arguments,u=this,h=t,r){if(void 0===p)return f=e=h,p=setTimeout(b,n),m?_(e):d;if(g)return clearTimeout(p),p=setTimeout(b,n),_(h)}return void 0===p&&(p=setTimeout(b,n)),d}return n=o(n)||0,r(t)&&(m=!!t.leading,c=(g="maxWait"in t)?a(o(t.maxWait)||0,n):c,y="trailing"in t?!!t.trailing:y),x.cancel=function(){void 0!==p&&clearTimeout(p),f=0,l=h=u=p=void 0},x.flush=function(){return void 0===p?d:C(i())},x}},26333:function(e){e.exports=function(e,n){return e===n||e!=e&&n!=n}},84982:function(e,n,t){var r=t(23100),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);e.exports=function(e){return(e=r(e))&&o.test(e)?e.replace(i,"\\$&"):e}},53096:function(e){e.exports=function(e){return e}},32668:function(e,n,t){var r=t(48230),i=t(36231),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},75635:function(e){var n=Array.isArray;e.exports=n},81692:function(e,n,t){var r=t(24748),i=t(17365);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},54789:function(e,n,t){var r=t(81692),i=t(36231);e.exports=function(e){return i(e)&&r(e)}},45749:function(e,n,t){e=t.nmd(e);var r=t(47824),i=t(76768),o=n&&!n.nodeType&&n,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,l=s?s.isBuffer:void 0;e.exports=l||i},24748:function(e,n,t){var r=t(37913),i=t(94704);e.exports=function(e){if(!i(e))return!1;var n=r(e);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},17365:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},94704:function(e){e.exports=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)}},36231:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},14975:function(e,n,t){var r=t(37913),i=t(94594),o=t(36231),a=Object.prototype,s=Function.prototype.toString,l=a.hasOwnProperty,u=s.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var n=i(e);if(null===n)return!0;var t=l.call(n,"constructor")&&n.constructor;return"function"==typeof t&&t instanceof t&&s.call(t)==u}},23293:function(e,n,t){var r=t(37913),i=t(36231);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},7549:function(e,n,t){var r=t(21820),i=t(47365),o=t(96246),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},47544:function(e,n,t){var r=t(55207),i=t(80763),o=t(81692);e.exports=function(e){return o(e)?r(e,!0):i(e)}},66952:function(e,n,t){var r=t(85595),i=t(63155)(function(e,n,t){r(e,n,t)});e.exports=i},24760:function(e,n,t){var r=t(47824);e.exports=function(){return r.Date.now()}},76768:function(e){e.exports=function(){return!1}},52093:function(e,n,t){var r=t(37489),i=t(94704),o=t(23293),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=i(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var t=l.test(e);return t||u.test(e)?c(e.slice(2),t?2:8):s.test(e)?a:+e}},69166:function(e,n,t){var r=t(76035),i=t(47544);e.exports=function(e){return r(e,i(e))}},23100:function(e,n,t){var r=t(73486);e.exports=function(e){return null==e?"":r(e)}},37254:function(e,n,t){"use strict";t.d(n,{PB:function(){return m},lX:function(){return f}});var r=t(82201),i=t(59243),o=t.n(i);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(i[t]=e[t]);return i}var l=["keyOverride"],u=["crossOrigin"],c={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},d=function(e,n,t){void 0===n&&(n=[]);var i=void 0===t?{}:t,o=i.defaultWidth,a=i.defaultHeight;return n.reduce(function(n,t,i){return n.push(r.createElement("meta",{key:"og:"+e+":0"+i,property:"og:"+e,content:t.url})),t.alt&&n.push(r.createElement("meta",{key:"og:"+e+":alt0"+i,property:"og:"+e+":alt",content:t.alt})),t.secureUrl&&n.push(r.createElement("meta",{key:"og:"+e+":secure_url0"+i,property:"og:"+e+":secure_url",content:t.secureUrl.toString()})),t.type&&n.push(r.createElement("meta",{key:"og:"+e+":type0"+i,property:"og:"+e+":type",content:t.type.toString()})),t.width?n.push(r.createElement("meta",{key:"og:"+e+":width0"+i,property:"og:"+e+":width",content:t.width.toString()})):o&&n.push(r.createElement("meta",{key:"og:"+e+":width0"+i,property:"og:"+e+":width",content:o.toString()})),t.height?n.push(r.createElement("meta",{key:"og:"+e+":height"+i,property:"og:"+e+":height",content:t.height.toString()})):a&&n.push(r.createElement("meta",{key:"og:"+e+":height"+i,property:"og:"+e+":height",content:a.toString()})),n},[])},p=function(e){var n,t,i,o,p,h=[];e.titleTemplate&&(c.templateTitle=e.titleTemplate);var f="";e.title?(f=e.title,c.templateTitle&&(f=c.templateTitle.replace(/%s/g,function(){return f}))):e.defaultTitle&&(f=e.defaultTitle),f&&h.push(r.createElement("title",{key:"title"},f));var m=void 0===e.noindex?c.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,g=void 0===e.nofollow?c.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,y=e.norobots||c.norobots,_="";if(e.robotsProps){var v=e.robotsProps,b=v.nosnippet,C=v.maxSnippet,x=v.maxImagePreview,k=v.maxVideoPreview,w=v.noarchive,E=v.noimageindex,T=v.notranslate,S=v.unavailableAfter;_=(b?",nosnippet":"")+(C?",max-snippet:"+C:"")+(x?",max-image-preview:"+x:"")+(w?",noarchive":"")+(S?",unavailable_after:"+S:"")+(E?",noimageindex":"")+(k?",max-video-preview:"+k:"")+(T?",notranslate":"")}if(e.norobots&&(c.norobots=!0),m||g?(e.dangerouslySetAllPagesToNoIndex&&(c.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(c.nofollow=!0),h.push(r.createElement("meta",{key:"robots",name:"robots",content:(m?"noindex":"index")+","+(g?"nofollow":"follow")+_}))):(!y||_)&&h.push(r.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+_})),e.description&&h.push(r.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&h.push(r.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&h.push(r.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach(function(e){h.push(r.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&h.push(r.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&h.push(r.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&h.push(r.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&h.push(r.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(n=e.openGraph)&&n.title||f)&&h.push(r.createElement("meta",{key:"og:title",property:"og:title",content:(null==(o=e.openGraph)?void 0:o.title)||f})),(null!=(t=e.openGraph)&&t.description||e.description)&&h.push(r.createElement("meta",{key:"og:description",property:"og:description",content:(null==(p=e.openGraph)?void 0:p.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&h.push(r.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var I=e.openGraph.type.toLowerCase();h.push(r.createElement("meta",{key:"og:type",property:"og:type",content:I})),"profile"===I&&e.openGraph.profile?(e.openGraph.profile.firstName&&h.push(r.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&h.push(r.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&h.push(r.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&h.push(r.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===I&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach(function(e,n){h.push(r.createElement("meta",{key:"book:author:0"+n,property:"book:author",content:e}))}),e.openGraph.book.isbn&&h.push(r.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&h.push(r.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEach(function(e,n){h.push(r.createElement("meta",{key:"book:tag:0"+n,property:"book:tag",content:e}))})):"article"===I&&e.openGraph.article?(e.openGraph.article.publishedTime&&h.push(r.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&h.push(r.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&h.push(r.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach(function(e,n){h.push(r.createElement("meta",{key:"article:author:0"+n,property:"article:author",content:e}))}),e.openGraph.article.section&&h.push(r.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach(function(e,n){h.push(r.createElement("meta",{key:"article:tag:0"+n,property:"article:tag",content:e}))})):("video.movie"===I||"video.episode"===I||"video.tv_show"===I||"video.other"===I)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,n){e.profile&&h.push(r.createElement("meta",{key:"video:actor:0"+n,property:"video:actor",content:e.profile})),e.role&&h.push(r.createElement("meta",{key:"video:actor:role:0"+n,property:"video:actor:role",content:e.role}))}),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach(function(e,n){h.push(r.createElement("meta",{key:"video:director:0"+n,property:"video:director",content:e}))}),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach(function(e,n){h.push(r.createElement("meta",{key:"video:writer:0"+n,property:"video:writer",content:e}))}),e.openGraph.video.duration&&h.push(r.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&h.push(r.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEach(function(e,n){h.push(r.createElement("meta",{key:"video:tag:0"+n,property:"video:tag",content:e}))}),e.openGraph.video.series&&h.push(r.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(c.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(c.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&h.push.apply(h,d("image",e.openGraph.images,{defaultWidth:c.defaultOpenGraphImageWidth,defaultHeight:c.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(c.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(c.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&h.push.apply(h,d("video",e.openGraph.videos,{defaultWidth:c.defaultOpenGraphVideoWidth,defaultHeight:c.defaultOpenGraphVideoHeight})),e.openGraph.audio&&h.push.apply(h,d("audio",e.openGraph.audio)),e.openGraph.locale&&h.push(r.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&h.push(r.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&h.push(r.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var n,t,i=e.keyOverride,o=s(e,l);h.push(r.createElement("meta",a({key:"meta:"+(null!=(n=null!=(t=null!=i?i:o.name)?t:o.property)?n:o.httpEquiv)},o)))}),null!=(i=e.additionalLinkTags)&&i.length&&e.additionalLinkTags.forEach(function(e){var n,t=e.crossOrigin,i=s(e,u);h.push(r.createElement("link",a({key:"link"+(null!=(n=i.keyOverride)?n:i.href)+i.rel},i,{crossOrigin:"anonymous"===t||"use-credentials"===t||""===t?t:void 0})))}),h},h=function(e){return r.createElement(o(),null,p(e))},f=function(e){var n=e.title,t=e.titleTemplate,i=e.defaultTitle,o=e.themeColor,a=e.dangerouslySetAllPagesToNoIndex,s=e.dangerouslySetAllPagesToNoFollow,l=e.description,u=e.canonical,c=e.facebook,d=e.openGraph,p=e.additionalMetaTags,f=e.twitter,m=e.defaultOpenGraphImageWidth,g=e.defaultOpenGraphImageHeight,y=e.defaultOpenGraphVideoWidth,_=e.defaultOpenGraphVideoHeight,v=e.mobileAlternate,b=e.languageAlternates,C=e.additionalLinkTags,x=e.robotsProps,k=e.norobots;return r.createElement(h,{title:n,titleTemplate:t,defaultTitle:i,themeColor:o,dangerouslySetAllPagesToNoIndex:void 0!==a&&a,dangerouslySetAllPagesToNoFollow:void 0!==s&&s,description:l,canonical:u,facebook:c,openGraph:d,additionalMetaTags:p,twitter:f,defaultOpenGraphImageWidth:m,defaultOpenGraphImageHeight:g,defaultOpenGraphVideoWidth:y,defaultOpenGraphVideoHeight:_,mobileAlternate:v,languageAlternates:b,additionalLinkTags:C,robotsProps:x,norobots:k})},m=function(e){var n=e.title,t=e.themeColor,i=e.noindex,o=e.nofollow,a=e.robotsProps,s=e.description,l=e.canonical,u=e.openGraph,c=e.facebook,d=e.twitter,p=e.additionalMetaTags,f=e.titleTemplate,m=e.defaultTitle,g=e.mobileAlternate,y=e.languageAlternates,_=e.additionalLinkTags;return r.createElement(r.Fragment,null,r.createElement(h,{title:n,themeColor:t,noindex:i,nofollow:o,robotsProps:a,description:s,canonical:l,facebook:c,openGraph:u,additionalMetaTags:p,twitter:d,titleTemplate:f,defaultTitle:m,mobileAlternate:g,languageAlternates:y,additionalLinkTags:_}))};RegExp("["+Object.keys(Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"})).join("")+"]","g")},92396:function(e,n,t){e.exports=t(1822)},26454:function(e,n,t){e.exports=t(78338)},71580:function(e,n,t){var r=t(74702);"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//"),({189:function(){!function(e,n){"use strict";if(!e.setImmediate){var t,i,o,a,s,l=1,u={},c=!1,d=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);(p=p&&p.setTimeout?p:e,"[object process]"===({}).toString.call(e.process))?s=function(e){r.nextTick(function(){f(e)})}:function(){if(e.postMessage&&!e.importScripts){var n=!0,t=e.onmessage;return e.onmessage=function(){n=!1},e.postMessage("","*"),e.onmessage=t,n}}()?(t="setImmediate$"+Math.random()+"$",i=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&f(+n.data.slice(t.length))},e.addEventListener?e.addEventListener("message",i,!1):e.attachEvent("onmessage",i),s=function(n){e.postMessage(t+n,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){f(e.data)},s=function(e){o.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(a=d.documentElement,s=function(e){var n=d.createElement("script");n.onreadystatechange=function(){f(e),n.onreadystatechange=null,a.removeChild(n),n=null},a.appendChild(n)}):s=function(e){setTimeout(f,0,e)},p.setImmediate=function(e){"function"!=typeof e&&(e=Function(""+e));for(var n=Array(arguments.length-1),t=0;t=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},n))},r(505),n.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t.g&&t.g.setImmediate||this&&this.setImmediate,n.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t.g&&t.g.clearImmediate||this&&this.clearImmediate},505:function(e){"use strict";e.exports=t(71580)}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={exports:{}},a=!0;try{n[e].call(o.exports,o,o.exports,i),a=!1}finally{a&&delete r[e]}return o.exports}i.ab="//";var o=i(845);e.exports=o}()},59243:function(e,n,t){e.exports=t(5232)},68093:function(e,n,t){e.exports=t(78890)},55670:function(e,n,t){e.exports=t(10869)},11439:function(e,n,t){e.exports=t(63734)},15918:function(e,n,t){"use strict";var r;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=t(89404),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),u=s.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var n=e.constructor;return n&&n.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),f=function(e){if("undefined"==typeof window||!h)return d(e);try{return d(e)}catch(e){return!1}};r=function(e){var n=null!==e&&"object"==typeof e,t="[object Function]"===o.call(e),r=a(e),s=n&&"[object String]"===o.call(e),d=[];if(!n&&!t&&!r)throw TypeError("Object.keys called on a non-object");var p=u&&t;if(s&&e.length>0&&!i.call(e,0))for(var h=0;h0)for(var m=0;m=0&&"[object Function]"===n.call(e.callee)),r}},74702:function(e){var n,t,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{t="function"==typeof clearTimeout?clearTimeout:a}catch(e){t=a}}();var l=[],u=!1,c=-1;function d(){u&&r&&(u=!1,r.length?l=r.concat(l):c=-1,l.length&&p())}function p(){if(!u){var e=s(d);u=!0;for(var n=l.length;n;){for(r=l,l=[];++c1)for(var t=1;t-1?d:0,e.charCodeAt(h+1)){case 100:case 102:if(c>=l||null==t[c])break;d=l||null==t[c])break;d=l||void 0===t[c])break;d",d=h+2,h++;break}u+=i(t[c]),d=h+2,h++;break;case 115:if(c>=l)break;d0||r(!1),this._map=new Map}var n=e.prototype;return n.set=function(e,n){if(this._map.delete(e),this._map.set(e,n),this._map.size>this._capacity){var t=this._map.keys().next();t.done||this._map.delete(t.value)}},n.get=function(e){var n=this._map.get(e);return null!=n&&(this._map.delete(e),this._map.set(e,n)),n},n.has=function(e){return this._map.has(e)},n.delete=function(e){this._map.delete(e)},n.size=function(){return this._map.size},n.capacity=function(){return this._capacity-this._map.size},n.clear=function(){this._map.clear()},e}();e.exports={create:function(e){return new i(e)}}},93444:function(e,n,t){"use strict";var r=t(82201).createContext({wrapPrepareQueryResource:function(e){return e()}});e.exports=r},90224:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(13305)),o=r(t(8442)),a=t(10673),s=t(87848),l=t(78405),u=t(36373).isPromise;t(710);var c="store-or-network",d="store-and-network",p="function"==typeof WeakMap;function h(e){return void 0!==e.request.node.params.metadata.live}function f(e,n,t,r,i){var o=null!=t?t:h(n)?d:c,a=null!=r?r:e.UNSTABLE_getDefaultRenderPolicy(),s="".concat(o,"-").concat(a,"-").concat(n.request.identifier);return null!=i?"".concat(s,"-").concat(i):s}function m(e,n){var t={__id:e.fragment.dataID,__fragments:(0,o.default)({},e.fragment.node.name,e.request.variables),__fragmentOwner:e.request};return{cacheIdentifier:n,fragmentNode:e.request.node.fragment,fragmentRef:t,operation:e}}var g=2e5;function y(e,n,t,r,i,o){var a=h(n),l=r,u=i,c=new s(function(e){var t=e.retain(n);return{dispose:function(){a&&null!=u&&u.unsubscribe(),t.dispose(),o(d)}}}),d={cacheIdentifier:e,id:g++,processedPayloadsCount:0,operationAvailability:t,getValue:function(){return l},setValue:function(e){l=e},setNetworkSubscription:function(e){a&&null!=u&&u.unsubscribe(),u=e},temporaryRetain:function(e){return c.temporaryRetain(e)},permanentRetain:function(e){return c.permanentRetain(e)},releaseTemporaryRetain:function(){c.releaseTemporaryRetain()}};return d}var _=function(){function e(e){var n=this;(0,o.default)(this,"_clearCacheEntry",function(e){n._cache.delete(e.cacheIdentifier)}),this._environment=e,this._cache=a.create(1e3)}var n=e.prototype;return n.prepare=function(e,n,t,r,i,o,a){var s=f(this._environment,e,t,r,o);return this.prepareWithIdentifier(s,e,n,t,r,i,a)},n.prepareWithIdentifier=function(e,n,t,r,o,a,s){var l=this._environment,p=null!=r?r:h(n)?d:c,f=null!=o?o:l.UNSTABLE_getDefaultRenderPolicy(),m=this._cache.get(e),g=null,y=null!=m;null==m&&(m=this._fetchAndSaveQuery(e,n,t,p,f,s,(0,i.default)((0,i.default)({},a),{},{unsubscribe:function(e){null!=g&&g.dispose();var n=null==a?void 0:a.unsubscribe;n&&n(e)}}))),g=m.temporaryRetain(l);var _=m.getValue();if(u(_))throw l.__log({name:"suspense.query",fetchPolicy:p,isPromiseCached:y,operation:n,queryAvailability:m.operationAvailability,renderPolicy:f}),_;if(_ instanceof Error)throw _;return _},n.retain=function(e,n){var t=this._environment,r=e.cacheIdentifier,i=e.operation,o=this._getOrCreateCacheEntry(r,i,null,e,null),a=o.permanentRetain(t);return t.__log({name:"queryresource.retain",profilerContext:n,resourceID:o.id}),{dispose:function(){a.dispose()}}},n.releaseTemporaryRetain=function(e){var n=this._cache.get(e.cacheIdentifier);null!=n&&n.releaseTemporaryRetain()},n.TESTS_ONLY__getCacheEntry=function(e,n,t,r){var i=f(this._environment,e,n,t,r);return this._cache.get(i)},n._getOrCreateCacheEntry=function(e,n,t,r,i){var o=this._cache.get(e);return null==o&&(o=y(e,n,t,r,i,this._clearCacheEntry),this._cache.set(e,o)),o},n._fetchAndSaveQuery=function(e,n,t,r,o,a,s){var u=this,c=this._environment,d=c.check(n),p=d.status,f="available"===p,g=f||"partial"===o&&"stale"!==p,_=function(){};switch(r){case"store-only":C=!1,x=!0;break;case"store-or-network":C=!f,x=g;break;case"store-and-network":C=!0,x=g;break;default:C=!0,x=!1}if(x){var v=m(n,e),b=y(e,n,d,v,null,this._clearCacheEntry);this._cache.set(e,b)}if(C){var C,x,k,w=m(n,e);t.subscribe({start:function(t){k=t;var r=u._cache.get(e);r&&r.setNetworkSubscription(k);var o=null==s?void 0:s.start;o&&o((0,i.default)((0,i.default)({},t),{},{unsubscribe:function(){h(n)&&t.unsubscribe()}}))},next:function(){var t=u._getOrCreateCacheEntry(e,n,d,w,k);t.processedPayloadsCount+=1,t.setValue(w),_();var r=null==s?void 0:s.next;null!=r&&r(c.lookup(n.fragment))},error:function(t){var r=u._getOrCreateCacheEntry(e,n,d,t,k);0===r.processedPayloadsCount&&r.setValue(t),_(),k=null,r.setNetworkSubscription(null);var i=null==s?void 0:s.error;i&&i(t)},complete:function(){_(),k=null;var n=u._cache.get(e);n&&n.setNetworkSubscription(null);var t=null==s?void 0:s.complete;t&&t()},unsubscribe:null==s?void 0:s.unsubscribe});var E=this._cache.get(e);if(!E){var T=new Promise(function(e){_=e});T.displayName="Relay("+n.fragment.node.name+")",E=y(e,n,d,T,k,this._clearCacheEntry),this._cache.set(e,E)}}else{var S=null==s?void 0:s.complete;S&&S()}var I=this._cache.get(e);return null!=I||l(!1),c.__log({name:"queryresource.fetch",resourceID:I.id,operation:n,profilerContext:a,fetchPolicy:r,renderPolicy:o,queryAvailability:d,shouldFetch:C}),I},e}();function v(e){return new _(e)}var b=p?new WeakMap:new Map;e.exports={createQueryResource:v,getQueryResourceForEnvironment:function(e){var n=b.get(e);if(n)return n;var t=v(e);return b.set(e,t),t},getQueryCacheIdentifier:f}},95233:function(e,n,t){"use strict";var r=t(3155),i=t(82201),o=i.useMemo;e.exports=function(e){var n=e.children,t=e.environment,a=e.getEnvironmentForActor,s=o(function(){return{environment:t,getEnvironmentForActor:a}},[t,a]);return i.createElement(r.Provider,{value:s},n)}},87848:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(8442));t(710);var i=function(){function e(e){var n=this;(0,r.default)(this,"_retainCount",0),(0,r.default)(this,"_retainDisposable",null),(0,r.default)(this,"_releaseTemporaryRetain",null),this._retain=function(t){return n._retainCount++,1===n._retainCount&&(n._retainDisposable=e(t)),{dispose:function(){n._retainCount=Math.max(0,n._retainCount-1),0===n._retainCount&&null!=n._retainDisposable&&(n._retainDisposable.dispose(),n._retainDisposable=null)}}}}var n=e.prototype;return n.temporaryRetain=function(e){var n,t=this;if(e.isServer())return{dispose:function(){}};var r=this._retain(e),i=null,o=function(){clearTimeout(i),i=null,t._releaseTemporaryRetain=null,r.dispose()};return i=setTimeout(o,3e5),null===(n=this._releaseTemporaryRetain)||void 0===n||n.call(this),this._releaseTemporaryRetain=o,{dispose:function(){var e;null===(e=t._releaseTemporaryRetain)||void 0===e||e.call(t)}}},n.permanentRetain=function(e){var n=this._retain(e);return this.releaseTemporaryRetain(),n},n.releaseTemporaryRetain=function(){var e;null===(e=this._releaseTemporaryRetain)||void 0===e||e.call(this),this._releaseTemporaryRetain=null},n.getRetainCount=function(){return this._retainCount},e}();e.exports=i},77370:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(13305)),o=r(t(8442)),a=r(t(83718)),s=t(10673),l=t(90224).getQueryResourceForEnvironment,u=t(87848),c=t(78405),d=t(36373),p=d.__internal,h=p.fetchQuery,f=p.getPromiseForActiveRequest,m=d.RelayFeatureFlags,g=d.createOperationDescriptor,y=d.getFragmentIdentifier,_=d.getPendingOperationsForFragment,v=d.getSelector,b=d.getVariablesFromFragment,C=d.handlePotentialSnapshotErrors,x=d.isPromise,k=d.recycleNodesInto,w="function"==typeof WeakMap,E=Object.freeze([]);function T(e){return Array.isArray(e)?e.some(function(e){return e.isMissingData}):e.isMissingData}function S(e){return Array.isArray(e)?e.map(function(e){return e.missingLiveResolverFields}).filter(Boolean).flat():e.missingLiveResolverFields}function I(e,n,t){return Array.isArray(n)?{cacheKey:e,snapshot:n,data:n.map(function(e){return e.data}),isMissingData:T(n),storeEpoch:t}:{cacheKey:e,snapshot:n,data:n.data,isMissingData:T(n),storeEpoch:t}}var R=function(){function e(e){(0,o.default)(this,"_cache",new Map),(0,o.default)(this,"_retainCounts",new Map),this._environment=e}var n=e.prototype;return n.get=function(e){var n,t;return null!==(n=null===(t=this._cache.get(e))||void 0===t?void 0:t[0])&&void 0!==n?n:void 0},n.recordQueryResults=function(e,n){var t=this,r=this._cache.get(e);if(r){var i=r[0],o=r[1];n.forEach(function(e){i.push(e)}),o.temporaryRetain(this._environment)}else{var a=new u(function(){return t._retain(e)});this._cache.set(e,[n,a]),a.temporaryRetain(this._environment)}},n._retain=function(e){var n,t=this,r=(null!==(n=this._retainCounts.get(e))&&void 0!==n?n:0)+1;return this._retainCounts.set(e,r),{dispose:function(){var n,r=(null!==(n=t._retainCounts.get(e))&&void 0!==n?n:0)-1;r>0?t._retainCounts.set(e,r):(t._retainCounts.delete(e),t._cache.delete(e))}}},e}(),A=function(){function e(e){this._environment=e,this._cache=s.create(1e6),m.ENABLE_CLIENT_EDGES&&(this._clientEdgeQueryResultsCache=new R(e))}var n=e.prototype;return n.read=function(e,n,t,r){return this.readWithIdentifier(e,n,y(e,n),t,r)},n.readWithIdentifier=function(e,n,t,r,i){var o=this,s=this._environment;if(null==n)return{cacheKey:t,data:null,isMissingData:!1,snapshot:null,storeEpoch:0};var u=s.getStore().getEpoch();if((null==e?void 0:null===(M=e.metadata)||void 0===M?void 0:M.plural)===!0&&(Array.isArray(n)||c(!1),0===n.length))return{cacheKey:t,data:E,isMissingData:!1,snapshot:E,storeEpoch:u};var d=this._cache.get(t);if(null!=d){if("pending"===d.kind&&x(d.promise))throw s.__log({name:"suspense.fragment",data:d.result.data,fragment:e,isRelayHooks:!0,isMissingData:d.result.isMissingData,isPromiseCached:!0,pendingOperations:d.pendingOperations}),d.promise;if("done"===d.kind&&d.result.snapshot&&!(null!==(B=S(d.result.snapshot))&&void 0!==B&&B.length))return this._throwOrLogErrorsInSnapshot(d.result.snapshot),d.result.isMissingData&&s.__log({name:"fragmentresource.missing_data",data:d.result.data,fragment:e,isRelayHooks:!0,cached:!0}),d.result}var p=v(e,n);null!=p||c(!1);var h=null,g=null;if(m.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE&&null!=d&&"missing"===d.kind?(h=d.result,g=d.snapshot):h=I(t,g="PluralReaderSelector"===p.kind?p.selectors.map(function(e){return s.lookup(e)}):s.lookup(p),u),!h.isMissingData)return this._throwOrLogErrorsInSnapshot(g),this._cache.set(t,{kind:"done",result:h}),h;var y=null;if(m.ENABLE_CLIENT_EDGES&&(null===(D=e.metadata)||void 0===D?void 0:D.hasClientEdges)===!0&&(Array.isArray(_=g)?_.some(function(e){var n,t;return(null!==(n=null===(t=e.missingClientEdges)||void 0===t?void 0:t.length)&&void 0!==n?n:0)>0}):(null!==(b=null===(C=_.missingClientEdges)||void 0===C?void 0:C.length)&&void 0!==b?b:0)>0)){y=[];var _,b,C,k,w,T=l(this._environment),R=[];k=g,w=function(t){var r;null===(r=t.missingClientEdges)||void 0===r||r.forEach(function(t){var r,i=t.request,a=t.clientEdgeDestinationID,s=o._performClientEdgeQuery(T,e,n,i,a),l=s.queryResult,u=s.requestDescriptor;R.push(l),null===(r=y)||void 0===r||r.push(u)})},Array.isArray(k)?k.forEach(w):w(k),null!=this._clientEdgeQueryResultsCache||c(!1),this._clientEdgeQueryResultsCache.recordQueryResults(t,R)}var A=[];m.ENABLE_CLIENT_EDGES&&y&&(A=y.map(function(e){return f(o._environment,e)}).filter(Boolean));var P="PluralReaderSelector"===p.kind?p.selectors[0].owner:p.owner,N=this._getAndSavePromiseForFragmentRequestInFlight(t,e,P,h),O=null==N?void 0:N.promise,L=null!==(F=null===(j=S(g))||void 0===j?void 0:j.map(function(e){var n=e.liveStateID;return s.getStore().getLiveResolverPromise(n)}))&&void 0!==F?F:[];if(A.length||L.length||x(O)){s.__log({name:"suspense.fragment",data:h.data,fragment:e,isRelayHooks:!0,isPromiseCached:!1,isMissingData:h.isMissingData,pendingOperations:[].concat((0,a.default)(null!==(U=null==N?void 0:N.pendingOperations)&&void 0!==U?U:[]),(0,a.default)(null!==(K=y)&&void 0!==K?K:[]))});var M,D,F,j,B,U,K,z=[];if(A.length>0&&(z=z.concat(A)),L.length>0&&(z=z.concat(L)),z.length>0)throw O&&z.push(O),Promise.all(z);if(O)throw O}return m.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE&&h.isMissingData&&this._cache.set(t,{kind:"done",result:h}),this._throwOrLogErrorsInSnapshot(g),s.__log({name:"fragmentresource.missing_data",data:h.data,fragment:e,isRelayHooks:!0,cached:!1}),I(t,g,u)},n._performClientEdgeQuery=function(e,n,t,r,o){var a=b(n,t),s=g(r,(0,i.default)((0,i.default)({},a),{},{id:o}),{}),l=h(this._environment,s),u=e.prepare(s,l);return{requestDescriptor:s.request,queryResult:u}},n._throwOrLogErrorsInSnapshot=function(e){var n=this;Array.isArray(e)?e.forEach(function(e){C(n._environment,e.missingRequiredFields,e.relayResolverErrors,e.errorResponseFields)}):C(this._environment,e.missingRequiredFields,e.relayResolverErrors,e.errorResponseFields)},n.readSpec=function(e,n,t){var r={};for(var i in e)r[i]=this.read(e[i],n[i],t,i);return r},n.subscribe=function(e,n){var t=this,r=this._environment,i=e.cacheKey,o=e.snapshot;if(!o)return{dispose:function(){}};var a=this.checkMissedUpdates(e),s=a[0],u=a[1];s&&n();var d=[];if(Array.isArray(o)?(Array.isArray(u)||c(!1),u.forEach(function(e,o){d.push(r.subscribe(e,function(e){var a=r.getStore().getEpoch();t._updatePluralSnapshot(i,u,e,o,a),n()}))})):((null==u||Array.isArray(u))&&c(!1),d.push(r.subscribe(u,function(e){var o=r.getStore().getEpoch(),a=I(i,e,o);m.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE&&a.isMissingData?t._cache.set(i,{kind:"missing",result:a,snapshot:e}):t._cache.set(i,{kind:"done",result:I(i,e,o)}),n()}))),m.ENABLE_CLIENT_EDGES){var p,h,f=null!==(p=null===(h=this._clientEdgeQueryResultsCache)||void 0===h?void 0:h.get(i))&&void 0!==p?p:void 0;if(null!=f&&f.length){var g=l(this._environment);f.forEach(function(e){d.push(g.retain(e))})}}return{dispose:function(){d.forEach(function(e){return e.dispose()}),t._cache.delete(i)}}},n.subscribeSpec=function(e,n){var t=this,r=Object.keys(e).map(function(r){return t.subscribe(e[r],n)});return{dispose:function(){r.forEach(function(e){e.dispose()})}}},n.checkMissedUpdates=function(e){var n=this._environment,t=e.snapshot;if(!t)return[!1,null];var r=null;if(r=n.getStore().getEpoch(),e.storeEpoch===r)return[!1,e.snapshot];var o=e.cacheKey;if(Array.isArray(t)){var a=!1,s=[];if(t.forEach(function(e,t){var r=n.lookup(e.selector),o=e.data,l=k(o,r.data);l!==o&&(r=(0,i.default)((0,i.default)({},r),{},{data:l}),a=!0),s[t]=r}),a){var l=I(o,s,r);m.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE&&l.isMissingData?this._cache.set(o,{kind:"missing",result:l,snapshot:s}):this._cache.set(o,{kind:"done",result:l})}return[a,s]}var u=n.lookup(t.selector),c=t.data,d=k(c,u.data),p={data:d,isMissingData:u.isMissingData,missingClientEdges:u.missingClientEdges,missingLiveResolverFields:u.missingLiveResolverFields,seenRecords:u.seenRecords,selector:u.selector,missingRequiredFields:u.missingRequiredFields,relayResolverErrors:u.relayResolverErrors,errorResponseFields:u.errorResponseFields};if(d!==c){var h=I(o,p,r);m.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE&&h.isMissingData?this._cache.set(o,{kind:"missing",result:h,snapshot:p}):this._cache.set(o,{kind:"done",result:h})}return[d!==c,p]},n.checkMissedUpdatesSpec=function(e){var n=this;return Object.keys(e).some(function(t){return n.checkMissedUpdates(e[t])[0]})},n._getAndSavePromiseForFragmentRequestInFlight=function(e,n,t,r){var i=this,o=_(this._environment,n,t);if(null==o)return null;var a=o.promise,s=o.pendingOperations,l=a.then(function(){i._cache.delete(e)}).catch(function(n){i._cache.delete(e)});return l.displayName=a.displayName,this._cache.set(e,{kind:"pending",pendingOperations:s,promise:l,result:r}),{promise:l,pendingOperations:s}},n._updatePluralSnapshot=function(e,n,t,r,i){var o,s,l,u=this._cache.get(e);if(x(u)){t.selector.node.name,c(!1);return}var d=null==u?void 0:null===(l=u.result)||void 0===l?void 0:l.snapshot;if(d&&!Array.isArray(d)){t.selector.node.name,c(!1);return}var p=d?(0,a.default)(d):(0,a.default)(n);p[r]=t;var h=I(e,p,i);m.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE&&h.isMissingData?this._cache.set(e,{kind:"missing",result:h,snapshot:p}):this._cache.set(e,{kind:"done",result:h})},e}();function P(e){return new A(e)}var N=w?new WeakMap:new Map;e.exports={createFragmentResource:P,getFragmentResourceForEnvironment:function(e){var n=N.get(e);if(n)return n;var t=P(e);return N.set(e,t),t}}},70793:function(e,n,t){"use strict";var r=t(46845),i=t(92265),o=t(77370).getFragmentResourceForEnvironment,a=t(82201),s=a.useEffect,l=a.useState,u=t(36373),c=u.RelayFeatureFlags,d=u.getFragmentIdentifier;t(710),e.exports=function(e,n,t){var a=r(),u=o(a),p=i(!1),h=l(0)[1],f=d(e,n),m=u.readWithIdentifier(e,n,f,t),g=i(!0);function y(){!1!==p.current&&!1!==g.current&&h(function(e){return e+1})}return s(function(){p.current=!0;var e=u.subscribe(m,y);return function(){p.current=!1,e.dispose()}},[a,f]),c.LOG_MISSING_RECORDS_IN_PROD&&null!=n&&(void 0===m.data||Array.isArray(m.data)&&m.data.length>0&&m.data.every(function(e){return void 0===e})),{data:m.data,disableStoreUpdates:function(){g.current=!1},enableStoreUpdates:function(){g.current=!0,u.checkMissedUpdates(m)[0]&&y()}}}},74186:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(93444),o=t(90224).getQueryResourceForEnvironment,a=t(22788),s=t(82551),l=t(46845),u=t(77370).getFragmentResourceForEnvironment,c=t(70793),d=t(78405),p=t(82201),h=p.useCallback,f=p.useContext,m=p.useReducer,g=t(36373),y=g.__internal.fetchQuery,_=g.createOperationDescriptor,v=g.getFragmentIdentifier,b=g.getRefetchMetadata,C=g.getSelector,x=g.getValueAtPath;function k(e,n){switch(n.type){case"refetch":var t;return(0,r.default)((0,r.default)({},e),{},{fetchPolicy:n.fetchPolicy,mirroredEnvironment:null!==(t=n.refetchEnvironment)&&void 0!==t?t:e.mirroredEnvironment,onComplete:n.onComplete,refetchEnvironment:n.refetchEnvironment,refetchQuery:n.refetchQuery,renderPolicy:n.renderPolicy});case"reset":return{fetchPolicy:void 0,mirroredEnvironment:n.environment,mirroredFragmentIdentifier:n.fragmentIdentifier,onComplete:void 0,refetchQuery:null,renderPolicy:void 0};default:throw n.type,Error("useRefetchableFragmentNode: Unexpected action type")}}t(710),e.exports=function(e,n,t){var p,g,w=l(),E=b(e,t),T=E.refetchableRequest,S=E.fragmentRefPathInResponse,I=v(e,n),R=m(k,{fetchPolicy:void 0,mirroredEnvironment:w,mirroredFragmentIdentifier:I,onComplete:void 0,refetchEnvironment:null,refetchQuery:null,renderPolicy:void 0}),A=R[0],P=R[1],N=A.fetchPolicy,O=A.mirroredEnvironment,L=A.mirroredFragmentIdentifier,M=A.onComplete,D=A.refetchEnvironment,F=A.refetchQuery,j=A.renderPolicy,B=null!=D?D:w,U=o(B),K=u(B),z=f(i),q=B!==O||I!==L,H=s(T),$=H[0],V=H[1],G=H[2],Z=n,W=b(e,t).identifierInfo;if(q)P({type:"reset",environment:B,fragmentIdentifier:I}),G();else if(null!=F&&null!=$){var Q=function(e){M&&M(null!=e?e:null)},Y=null!=$.source?$.source:y(B,F),J=z.wrapPrepareQueryResource(function(){return U.prepare(F,Y,N,j,{error:Q,complete:function(){Q()}},$.fetchKey,z)}),X=K.read(J.fragmentNode,J.fragmentRef,t).data;null!=X||d(!1),Z=x(X,S)}var ee=c(e,Z,t),en=ee.data,et=ee.disableStoreUpdates,er=ee.enableStoreUpdates,ei=(p=a(),h(function(t,i){if(!0!==p.current)return{dispose:function(){}};var o,a,s,l,u,c,d=null==i?void 0:i.__environment,h=null==i?void 0:i.fetchPolicy,f=null==i?void 0:i.UNSTABLE_renderPolicy,m=null==i?void 0:i.onComplete,y=C(e,n);null==y?(o={},a={}):"PluralReaderSelector"===y.kind?(o=null!==(s=null===(l=y.selectors[0])||void 0===l?void 0:l.owner.variables)&&void 0!==s?s:{},a=null!==(u=null===(c=y.selectors[0])||void 0===c?void 0:c.variables)&&void 0!==u?u:{}):(o=y.owner.variables,a=y.variables);var v=(0,r.default)((0,r.default)((0,r.default)({},o),a),t);null==W||t.hasOwnProperty(W.identifierQueryVariableName)||(v[W.identifierQueryVariableName]=g);var b=_(T,v,{force:!0});return V(b.request.variables,{fetchPolicy:h,__environment:d,__nameForWarning:"refetch"}),P({type:"refetch",fetchPolicy:h,onComplete:m,refetchEnvironment:d,refetchQuery:b,renderPolicy:f}),{dispose:G}},[I,P,G,g=(null==W?void 0:W.identifierField)!=null&&null!=en&&"object"==typeof en?en[W.identifierField]:null,V]));return{fragmentData:en,fragmentRef:Z,refetch:ei,disableStoreUpdates:et,enableStoreUpdates:er}}},85901:function(e,n,t){"use strict";var r=t(29402).loadQuery;e.exports=function e(n,t,i){var o=null;null==t.root.getModuleIfRequired()&&(o=t.root.load());var a=t.getPreloadProps(i),s=a.queries,l=a.entryPoints,u=a.extraProps,c={},d={};null!=s&&Object.keys(s).forEach(function(e){var t=s[e],i=t.environmentProviderOptions,o=t.options,a=t.parameters,l=t.variables,u=n.getEnvironment(i);c[e]=r(u,a,l,{fetchPolicy:null==o?void 0:o.fetchPolicy,networkCacheConfig:null==o?void 0:o.networkCacheConfig,__nameForWarning:"loadEntryPoint"},i)}),null!=l&&Object.keys(l).forEach(function(t){var r=l[t];if(null!=r){var i=r.entryPoint,o=r.entryPointParams;d[t]=e(n,i,o)}});var p=!1;return{dispose:function(){p||(null!=c&&Object.values(c).forEach(function(e){(0,e.dispose)()}),null!=d&&Object.values(d).forEach(function(e){(0,e.dispose)()}),p=!0)},entryPoints:d,extraProps:null!=u?u:null,getComponent:function(){var e,n=t.root.getModuleIfRequired();if(null==n)throw o=null!==(e=o)&&void 0!==e?e:t.root.load();return null!=n.default?n.default:n},get isDisposed(){return p},queries:c,rootModuleID:t.root.getModuleId()}}},29402:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(78405),o=t(82201),a=t(36373),s=a.__internal.fetchQueryDeduped,l=a.Observable,u=a.PreloadableQueryRegistry,c=a.RelayFeatureFlags,d=a.ReplaySubject,p=a.createOperationDescriptor,h=a.getRequest,f=a.getRequestIdentifier;t(710);var m=null,g=100001;e.exports={loadQuery:function(e,n,t,a,m){null===(y=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===y||null===(_=y.ReactCurrentDispatcher)||void 0===_||_.current,g++;var y,_,v,b,C,x,k,w,E,T=null!==(v=null==a?void 0:a.fetchPolicy)&&void 0!==v?v:"store-or-network",S=(0,r.default)((0,r.default)({},null==a?void 0:a.networkCacheConfig),{},{force:!0}),I=!1,R=function(n,t){return I=!0,e.executeWithSource({operation:n,source:t})},A=new d,P=l.create(function(e){return A.subscribe(e)}),N=null,O=!1,L=function(n){O=!0;var r=new d;return C=(!0===c.ENABLE_LOAD_QUERY_REQUEST_DEDUPING?s(e,"raw-network-request-"+f(n,t),function(){return e.getNetwork().execute(n,t,S)}):e.getNetwork().execute(n,t,S)).subscribe({error:function(e){N=e,r.error(e)},next:function(e){r.next(e)},complete:function(){r.complete()}}).unsubscribe,l.create(function(e){var n=r.subscribe(e);return function(){n.unsubscribe(),C()}})},M=function(n,t){!0===c.ENABLE_LOAD_QUERY_REQUEST_DEDUPING&&(O=!0),x=s(e,n.request.identifier,t).subscribe({error:function(e){A.error(e)},next:function(e){A.next(e)},complete:function(){A.complete()}}).unsubscribe},D=function(n){var r=p(n,t,S);b=e.retain(r),"store-only"!==T&&("store-or-network"!==T||"available"!==e.check(r).status)&&M(r,function(){return R(r,L(n.params))})};if("PreloadableConcreteRequest"===n.kind){null!==(E=(k=n.params).id)||i(!1);var F=u.get(E);if(null!=F)D(F);else{var j="store-only"===T?null:L(k);w=u.onLoad(E,function(n){w();var r=p(n,t,S);b=e.retain(r),null!=j&&M(r,function(){return R(r,j)})}).dispose}}else{var B=h(n);E=null!=(k=B.params).cacheID?k.cacheID:k.id,D(B)}var U=!1,K=!1,z=!1,q=function(){K||(b&&b.dispose(),K=!0)},H=function(){z||(I?x&&x():C&&C(),w&&w(),z=!0)};return{kind:"PreloadedQuery",environment:e,environmentProviderOptions:m,dispose:function(){U||(q(),H(),U=!0)},releaseQuery:q,cancelNetworkRequest:H,fetchKey:g,id:E,get isDisposed(){return U||K},get networkError(){return N},name:k.name,networkCacheConfig:S,fetchPolicy:T,source:O?P:void 0,variables:t}},useTrackLoadQueryInRender:function(){if(null===m){var e,n;m=null===(e=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===e?void 0:null===(n=e.ReactCurrentDispatcher)||void 0===n?void 0:n.current}}}},7736:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(36972);e.exports=function(e,n,t){return i(e,n,(0,r.default)((0,r.default)({},t),{},{fetchPolicy:"store-only"}))}},53878:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(31681)),i=t(85901),o=t(29402).useTrackLoadQueryInRender,a=t(22788),s=t(82201),l=s.useCallback,u=s.useEffect,c=s.useRef,d=s.useState,p={kind:"NullEntryPointReference"};e.exports=function(e,n,t){o();var s,h,f,m,g=null!==(s=null==t?void 0:null===(h=t.TEST_ONLY__initialEntryPointData)||void 0===h?void 0:h.entryPointReference)&&void 0!==s?s:p,y=null!==(f=null==t?void 0:null===(m=t.TEST_ONLY__initialEntryPointData)||void 0===m?void 0:m.entryPointParams)&&void 0!==f?f:null,_=a(),v=c(new Set([g])),b=d(g),C=b[0],x=b[1],k=d(y),w=k[0],E=k[1],T=l(function(){if(_.current){var e={kind:"NullEntryPointReference"};v.current.add(e),x(e)}},[x,_]),S=l(function(t){if(_.current){var r=i(e,n,t);v.current.add(r),x(r),E(t)}},[e,n,x,_]),I=c(!1);return u(function(){return function(){I.current=!0}},[]),u(function(){if(!0===I.current){I.current=!1,"NullEntryPointReference"!==C.kind&&null!=w&&S(w);return}var e=v.current;if(_.current){var n,t=(0,r.default)(e);try{for(t.s();!(n=t.n()).done;){var i=n.value;if(i===C)break;e.delete(i),"NullEntryPointReference"!==i.kind&&i.dispose()}}catch(e){t.e(e)}finally{t.f()}}},[C,w,S,_]),u(function(){return function(){var e,n=(0,r.default)(v.current);try{for(n.s();!(e=n.n()).done;){var t=e.value;"NullEntryPointReference"!==t.kind&&t.dispose()}}catch(e){n.e(e)}finally{n.f()}}},[]),["NullEntryPointReference"===C.kind?null:C,S,T]}},10837:function(e,n,t){"use strict";var r=t(92265),i=t(82201),o=i.useCallback,a=i.useEffect;e.exports=function(){var e=r(null),n=r(!1),t=o(function(){null!=e.current&&(e.current.unsubscribe(),e.current=null),n.current=!1},[]),i=o(function(t){e.current=t,n.current=!0},[]),s=o(function(){e.current=null,n.current=!1},[]);return a(function(){return t},[t]),{isFetchingRef:n,startFetch:i,disposeFetch:t,completeFetch:s}}},57668:function(e,n,t){"use strict";var r=t(12034),i=t(70793),o=t(29402).useTrackLoadQueryInRender,a=t(28606);t(82201).useDebugValue;var s=t(36373).getFragment;e.exports=function(e,n){var t,l=r.get();return l?l.useFragment(e,n):(o(),a(t=s(e),"first argument of useFragment()"),i(t,n,"useFragment()").data)}},22788:function(e,n,t){"use strict";var r=t(82201),i=r.useEffect,o=r.useRef;e.exports=function(){var e=o(!0);return i(function(){return e.current=!0,function(){e.current=!1}},[]),e}},62744:function(e,n,t){"use strict";var r=t(46845),i=t(78405),o=t(82201),a=t(36373),s=a.__internal.getObservableForActiveRequest,l=a.getSelector,u=o.useEffect,c=o.useState,d=o.useMemo;e.exports=function(e,n){var t=r(),o=d(function(){var r=l(e,n);return null==r?null:("SingularReaderSelector"!==r.kind&&i(!1),s(t,r.owner))},[t,e,n]),a=c(null!=o),p=a[0],h=a[1];return u(function(){var e;if(h(null!=o),null!=o){var n=function(){h(!1)};e=o.subscribe({complete:n,error:n})}return function(){e&&e.unsubscribe()}},[o]),p}},36972:function(e,n,t){"use strict";var r=t(29402).useTrackLoadQueryInRender,i=t(43652),o=t(61738),a=t(46845),s=t(36373).__internal.fetchQuery;e.exports=function(e,n,t){r();var l=a(),u=o(e,n,t&&t.networkCacheConfig?t.networkCacheConfig:{force:!0});return i({componentDisplayName:"useLazyLoadQuery()",fetchKey:null==t?void 0:t.fetchKey,fetchObservable:s(l,u),fetchPolicy:null==t?void 0:t.fetchPolicy,query:u,renderPolicy:null==t?void 0:t.UNSTABLE_renderPolicy})}},43652:function(e,n,t){"use strict";var r=t(12034),i=t(70793),o=t(93444),a=t(90224),s=a.getQueryCacheIdentifier,l=a.getQueryResourceForEnvironment,u=t(10837),c=t(46845),d=t(82201),p=d.useContext,h=d.useEffect,f=d.useState,m=d.useRef;e.exports=function(e){var n,t,a,d=e.query,g=e.componentDisplayName,y=e.fetchObservable,_=e.fetchPolicy,v=e.fetchKey,b=e.renderPolicy,C=c(),x=p(o),k=l(C),w=f(0),E=w[0],T=w[1],S=u(),I=S.startFetch,R=S.completeFetch,A=s(C,d,_,b,"".concat(E,"-").concat(null!=v?v:"")),P=x.wrapPrepareQueryResource(function(){return k.prepareWithIdentifier(A,d,y,_,b,{start:I,complete:R,error:R},x)}),N=m(!1);return h(function(){return function(){N.current=!0}},[]),h(function(){if(!0===N.current){N.current=!1,T(function(e){return e+1});return}var e=k.retain(P,x);return function(){e.dispose()}},[C,A]),h(function(){k.releaseTemporaryRetain(P)}),n=P.fragmentNode,t=P.fragmentRef,(a=r.get())&&a.useFragment__internal?a.useFragment__internal(n,t,g):i(n,t,g).data}},99093:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(10837),o=t(22788),a=t(62744),s=t(46845),l=t(78405),u=t(82201),c=u.useCallback,d=u.useEffect,p=u.useState,h=t(36373),f=h.__internal.fetchQuery,m=h.ConnectionInterface,g=h.createOperationDescriptor,y=h.getPaginationVariables,_=h.getRefetchMetadata,v=h.getSelector,b=h.getValueAtPath;t(710),e.exports=function(e){var n=e.direction,t=e.fragmentNode,u=e.fragmentRef,h=e.fragmentIdentifier,C=e.fragmentData,x=e.connectionPathInFragmentData,k=e.paginationRequest,w=e.paginationMetadata,E=e.componentDisplayName,T=e.observer,S=e.onReset,I=s(),R=i(),A=R.isFetchingRef,P=R.startFetch,N=R.disposeFetch,O=R.completeFetch,L=_(t,E).identifierInfo,M=(null==L?void 0:L.identifierField)!=null&&null!=C&&"object"==typeof C?C[L.identifierField]:null,D=o(),F=p(I),j=F[0],B=F[1],U=p(h),K=U[0],z=U[1],q=a(t,u);(I!==j||h!==K)&&(N(),S(),B(I),z(h));var H=function(e,n,t,r){var i,o,a,s=m.get(),u=s.EDGES,c=s.PAGE_INFO,d=s.HAS_NEXT_PAGE,p=s.HAS_PREV_PAGE,h=s.END_CURSOR,f=s.START_CURSOR,g=b(t,r);if(null==g)return{cursor:null,hasMore:!1};"object"!=typeof g&&l(!1);var y=g[u],_=g[c];if(null==y||null==_)return{cursor:null,hasMore:!1};Array.isArray(y)||l(!1),"object"!=typeof _&&l(!1);var v="forward"===e?null!==(i=_[h])&&void 0!==i?i:null:null!==(o=_[f])&&void 0!==o?o:null;return null===v||"string"==typeof v||l(!1),a="forward"===e?null!=v&&!0===_[d]:null!=v&&!0===_[p],{cursor:v,hasMore:a}}(n,0,C,x),$=H.cursor,V=H.hasMore;return d(function(){return function(){N()}},[N]),[c(function(e,i){var o=null==i?void 0:i.onComplete;if(!0!==D.current)return{dispose:function(){}};var a=v(t,u);if(!0===A.current||null==C||q)return o&&o(null),{dispose:function(){}};null!=a&&"PluralReaderSelector"!==a.kind||l(!1);var s=a.owner.variables,c=a.variables,d=null==i?void 0:i.UNSTABLE_extraVariables,p=y(n,e,$,(0,r.default)((0,r.default)({},s),c),(0,r.default)({},d),w);return null!=L&&(p[L.identifierQueryVariableName]=M),f(I,g(k,p,{force:!0})).subscribe((0,r.default)((0,r.default)({},T),{},{start:function(e){P(e),T.start&&T.start(e)},complete:function(){O(),T.complete&&T.complete(),o&&o(null)},error:function(e){O(),T.error&&T.error(e),o&&o(e)}})),{dispose:N}},[I,M,n,$,P,N,O,A,q,C,t.name,u,E]),V,N]}},61738:function(e,n,t){"use strict";var r=t(91246),i=t(82201),o=t(36373),a=o.createOperationDescriptor,s=o.getRequest,l=i.useMemo;e.exports=function(e,n,t){var i=r(n),o=r(t||{});return l(function(){return a(s(e),i,o)},[e,i,o])}},91246:function(e,n,t){"use strict";var r=t(49150),i=t(82201).useState;e.exports=function(e){var n=i(e),t=n[0],o=n[1];return r(e,t)?t:(o(e),e)}},95085:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(22788),o=t(46845),a=t(82201),s=t(36373).commitMutation,l=a.useState,u=a.useEffect,c=a.useRef,d=a.useCallback;e.exports=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,t=o(),a=i(),p=c(t),h=c(e),f=c(new Set),m=l(!1),g=m[0],y=m[1],_=d(function(n){p.current===t&&h.current===e&&(f.current.delete(n),a.current&&y(f.current.size>0))},[t,a,e]);return u(function(){(p.current!==t||h.current!==e)&&(f.current=new Set,a.current&&y(!1),p.current=t,h.current=e)},[t,a,e]),[d(function(i){a.current&&y(!0);var o=n(t,(0,r.default)((0,r.default)({},i),{},{mutation:e,onCompleted:function(e,n){var t;_(o),null===(t=i.onCompleted)||void 0===t||t.call(i,e,n)},onError:function(e){var n;_(o),null===(n=i.onError)||void 0===n||n.call(i,e)},onUnsubscribe:function(){var e;_(o),null===(e=i.onUnsubscribe)||void 0===e||e.call(i)},onNext:function(){var e;null===(e=i.onNext)||void 0===e||e.call(i)}}));return f.current.add(o),o},[_,n,t,a,e]),g]}},25202:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(12034),o=t(74186),a=t(99093),s=t(28606),l=t(82201),u=l.useCallback,c=(l.useDebugValue,l.useState),d=t(36373),p=d.getFragment,h=d.getFragmentIdentifier,f=d.getPaginationMetadata;function m(e){var n=c(!1),t=n[0],i=n[1],o=a((0,r.default)((0,r.default)({},e),{},{observer:{start:function(){return i(!0)},complete:function(){return i(!1)},error:function(){return i(!1)}},onReset:function(){return i(!1)}}));return[o[0],o[1],t,o[2]]}e.exports=function(e,n){var t,a,l,c,d,g,y,_,v,b,C,x,k,w,E,T,S,I,R,A=i.get();return A?A.usePaginationFragment(e,n):(s(t=p(e),"first argument of usePaginationFragment()"),c=(l=f(t,a="usePaginationFragment()")).connectionPathInFragmentData,d=l.paginationRequest,g=l.paginationMetadata,_=(y=o(t,n,a)).fragmentData,v=y.fragmentRef,b=y.refetch,k=(x=m({componentDisplayName:a,connectionPathInFragmentData:c,direction:"backward",fragmentData:_,fragmentIdentifier:C=h(t,v),fragmentNode:t,fragmentRef:v,paginationMetadata:g,paginationRequest:d}))[0],w=x[1],E=x[2],T=x[3],I=(S=m({componentDisplayName:a,connectionPathInFragmentData:c,direction:"forward",fragmentData:_,fragmentIdentifier:C,fragmentNode:t,fragmentRef:v,paginationMetadata:g,paginationRequest:d}))[0],{data:_,loadNext:I,loadPrevious:k,hasNext:S[1],hasPrevious:w,isLoadingNext:S[2],isLoadingPrevious:E,refetch:u(function(e,n){return R(),T(),b(e,(0,r.default)((0,r.default)({},n),{},{__environment:void 0}))},[R=S[3],T,b])})}},50183:function(e,n,t){"use strict";var r=t(29402).useTrackLoadQueryInRender,i=t(43652),o=t(61738),a=t(46845),s=t(78405);t(82201).useDebugValue;var l=t(36373).__internal,u=l.fetchQueryDeduped,c=l.fetchQuery;t(710),e.exports=function(e,n,t){r();var l=a(),d=n.fetchKey,p=n.fetchPolicy,h=n.source,f=o(e,n.variables,n.networkCacheConfig);if("PreloadedQuery_DEPRECATED"===n.kind)f.request.node.params.name!==n.name&&s(!1),m={componentDisplayName:"usePreloadedQuery()",fetchKey:d,fetchObservable:u(l,f.request.identifier,function(){return l===n.environment&&null!=h?l.executeWithSource({operation:f,source:h}):l.execute({operation:f})}),fetchPolicy:p,query:f,renderPolicy:null==t?void 0:t.UNSTABLE_renderPolicy};else{var m,g,y=c(l,f);null!=h&&l===n.environment?g=h.ifEmpty(y):(n.environment,g=y),m={componentDisplayName:"usePreloadedQuery()",fetchObservable:g,fetchKey:d,fetchPolicy:p,query:f,renderPolicy:null==t?void 0:t.UNSTABLE_renderPolicy}}return i(m)}},82551:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(31681)),i=t(29402),o=i.loadQuery,a=i.useTrackLoadQueryInRender,s=t(22788),l=t(46845),u=t(82201),c=u.useCallback,d=u.useEffect,p=u.useRef,h=u.useState,f=t(36373).getRequest,m={kind:"NullQueryReference"};function g(e){return"PreloadableConcreteRequest"===e.kind?void 0!==e.params.metadata.live:void 0!==f(e).params.metadata.live}e.exports=function(e,n){var t=null!=n?n:m,i=l();a();var u=s(),f=p(new Set([t])),y=h(function(){return t}),_=y[0],v=y[1],b=h(function(){return t}),C=b[0],x=b[1];t!==C&&(f.current.add(t),x(t),v(t));var k=c(function(){u.current&&(f.current.add(m),v(m))},[u]),w=c(function(n,t){var r=null!=t&&t.hasOwnProperty("__environment")?{fetchPolicy:t.fetchPolicy,networkCacheConfig:t.networkCacheConfig,__nameForWarning:t.__nameForWarning}:t;if(u.current){var a,s=o(null!==(a=null==t?void 0:t.__environment)&&void 0!==a?a:i,e,n,r);f.current.add(s),v(s)}},[i,e,v,u]),E=p(!1);return d(function(){return function(){E.current=!0}},[]),d(function(){if(!0===E.current){E.current=!1,"NullQueryReference"!==_.kind&&w(_.variables,{fetchPolicy:_.fetchPolicy,networkCacheConfig:_.networkCacheConfig});return}var n=f.current;if(u.current){var t,i=(0,r.default)(n);try{for(i.s();!(t=i.n()).done;){var o=t.value;if(o===_)break;n.delete(o),"NullQueryReference"!==o.kind&&(g(e)?o.dispose&&o.dispose():o.releaseQuery&&o.releaseQuery())}}catch(e){i.e(e)}finally{i.f()}}},[_,u,w,e]),d(function(){return function(){var n,t=(0,r.default)(f.current);try{for(t.s();!(n=t.n()).done;){var i=n.value;"NullQueryReference"!==i.kind&&(g(e)?i.dispose&&i.dispose():i.releaseQuery&&i.releaseQuery())}}catch(e){t.e(e)}finally{t.f()}}},[e]),["NullQueryReference"===_.kind?null:_,w,k]}},55662:function(e,n,t){"use strict";var r=t(12034),i=t(74186),o=t(28606);t(82201).useDebugValue;var a=t(36373).getFragment;e.exports=function(e,n){var t,s,l=r.get();return l?l.useRefetchableFragment(e,n):(o(t=a(e),"first argument of useRefetchableFragment()"),[(s=i(t,n,"useRefetchableFragment()")).fragmentData,s.refetch])}},46845:function(e,n,t){"use strict";var r=t(3155),i=t(78405),o=t(82201).useContext;e.exports=function(){var e=o(r);return null!=e||i(!1),e.environment}},28606:function(e,n,t){"use strict";t(92265),t(710),e.exports=function(e,n){}},1708:function(e,n,t){"use strict";var r=t(46845),i=t(82201),o=i.useEffect,a=i.useRef;e.exports=function(e,n){var t=r(),i=a(null);return o(function(){var r=t.getStore(),o=r.lookupInvalidationState(e),a=r.subscribeToInvalidationState(o,n);return i.current=a,function(){return a.dispose()}},[Array.from(e).sort().join(""),n,t]),{dispose:function(){null!=i.current&&i.current.dispose()}}}},93327:function(e,n,t){"use strict";var r=t(46845),i=t(82201).useEffect,o=t(36373).requestSubscription;e.exports=function(e,n){var t=null!=n?n:o,a=r();i(function(){return t(a,e).dispose},[a,e,t])}},92265:function(e,n,t){"use strict";var r=t(82201).useMemo;e.exports=function(e){return r(function(){return{current:e}},[])}},95066:function(e,n,t){"use strict";t.d(n,{ZP:function(){return g}});var r=t(69937),i=t(98229),o=t(82201),a=t(78098),s={disabled:!1},l=t(34376),u="unmounted",c="exited",d="entering",p="entered",h="exiting",f=function(e){function n(n,t){r=e.call(this,n,t)||this;var r,i,o=t&&!t.isMounting?n.enter:n.appear;return r.appearStatus=null,n.in?o?(i=c,r.appearStatus=d):i=p:i=n.unmountOnExit||n.mountOnEnter?u:c,r.state={status:i},r.nextCallback=null,r}(0,i.Z)(n,e),n.getDerivedStateFromProps=function(e,n){return e.in&&n.status===u?{status:c}:null};var t=n.prototype;return t.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},t.componentDidUpdate=function(e){var n=null;if(e!==this.props){var t=this.state.status;this.props.in?t!==d&&t!==p&&(n=d):(t===d||t===p)&&(n=h)}this.updateStatus(!1,n)},t.componentWillUnmount=function(){this.cancelNextCallback()},t.getTimeouts=function(){var e,n,t,r=this.props.timeout;return e=n=t=r,null!=r&&"number"!=typeof r&&(e=r.exit,n=r.enter,t=void 0!==r.appear?r.appear:n),{exit:e,enter:n,appear:t}},t.updateStatus=function(e,n){if(void 0===e&&(e=!1),null!==n){if(this.cancelNextCallback(),n===d){if(this.props.unmountOnExit||this.props.mountOnEnter){var t=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);t&&t.scrollTop}this.performEnter(e)}else this.performExit()}else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:u})},t.performEnter=function(e){var n=this,t=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[a.findDOMNode(this),r],o=i[0],l=i[1],u=this.getTimeouts(),c=r?u.appear:u.enter;if(!e&&!t||s.disabled){this.safeSetState({status:p},function(){n.props.onEntered(o)});return}this.props.onEnter(o,l),this.safeSetState({status:d},function(){n.props.onEntering(o,l),n.onTransitionEnd(c,function(){n.safeSetState({status:p},function(){n.props.onEntered(o,l)})})})},t.performExit=function(){var e=this,n=this.props.exit,t=this.getTimeouts(),r=this.props.nodeRef?void 0:a.findDOMNode(this);if(!n||s.disabled){this.safeSetState({status:c},function(){e.props.onExited(r)});return}this.props.onExit(r),this.safeSetState({status:h},function(){e.props.onExiting(r),e.onTransitionEnd(t.exit,function(){e.safeSetState({status:c},function(){e.props.onExited(r)})})})},t.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},t.safeSetState=function(e,n){n=this.setNextCallback(n),this.setState(e,n)},t.setNextCallback=function(e){var n=this,t=!0;return this.nextCallback=function(r){t&&(t=!1,n.nextCallback=null,e(r))},this.nextCallback.cancel=function(){t=!1},this.nextCallback},t.onTransitionEnd=function(e,n){this.setNextCallback(n);var t=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(!t||r){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[t,this.nextCallback],o=i[0],s=i[1];this.props.addEndListener(o,s)}null!=e&&setTimeout(this.nextCallback,e)},t.render=function(){var e=this.state.status;if(e===u)return null;var n=this.props,t=n.children,i=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,(0,r.Z)(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o.createElement(l.Z.Provider,{value:null},"function"==typeof t?t(e,i):o.cloneElement(o.Children.only(t),i))},n}(o.Component);function m(){}f.contextType=l.Z,f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:m,onEntering:m,onEntered:m,onExit:m,onExiting:m,onExited:m},f.UNMOUNTED=u,f.EXITED=c,f.ENTERING=d,f.ENTERED=p,f.EXITING=h;var g=f},34376:function(e,n,t){"use strict";var r=t(82201);n.Z=r.createContext(null)},36373:function(e,n,t){e.exports=t(69352)},99741:function(e,n,t){"use strict";var r=t(30584),i=t(44451),o=t(78405);e.exports=function(e){switch(e){case"connection":return r;case"deleteRecord":return i.DeleteRecordHandler;case"deleteEdge":return i.DeleteEdgeHandler;case"appendEdge":return i.AppendEdgeHandler;case"prependEdge":return i.PrependEdgeHandler;case"appendNode":return i.AppendNodeHandler;case"prependNode":return i.PrependNodeHandler}o(!1)}},30584:function(e,n,t){"use strict";var r=t(13475).generateClientID,i=t(42597).getStableStorageKey,o=t(761),a=t(20137),s=t(78405);t(710);var l="connection",u="__connection_next_edge_index";function c(e,n,t){if(null==t)return t;var i=a.get().EDGES,o=n.getValue(u);"number"!=typeof o&&s(!1);var l=r(n.getDataID(),i,o),c=e.create(l,t.getType());return c.copyFieldsFrom(t),null==c.getValue("cursor")&&c.setValue(null,"cursor"),n.setValue(o+1,u),c}function d(e,n,t){for(var r=a.get().NODE,i=0;i0&&"LinkedField"===e.fragment.selections[0].kind?e.fragment.selections[0].name:null}e.exports={MutationTypes:o,RangeOperations:a,convert:function(e,n,t,o){var a=t?[t]:[],l=o?[o]:[];return e.forEach(function(e){switch(e.type){case"NODE_DELETE":var t,o,u=(t=e.deletedIDFieldName,(o=s(n))?function(e,n){var r=e.getRootField(o);if(r){var i=r.getValue(t);(Array.isArray(i)?i:[i]).forEach(function(n){n&&"string"==typeof n&&e.delete(n)})}}:null);u&&(a.push(u),l.push(u));break;case"RANGE_ADD":var c=function(e,n){var t=e.parentID,o=e.connectionInfo,a=e.edgeName;if(!t)return null;var l=s(n);return o&&l?function(e,n){var s=e.get(t);if(s){var u=e.getRootField(l);if(u){var c,d=u.getLinkedRecord(a),p=(0,r.default)(o);try{for(p.s();!(c=p.n()).done;){var h=c.value;if(d){var f=i.getConnection(s,h.key,h.filters);if(f){var m=i.buildConnectionEdge(e,f,d);if(m)switch(h.rangeBehavior){case"append":i.insertEdgeAfter(f,m);break;case"prepend":i.insertEdgeBefore(f,m)}}}}}catch(e){p.e(e)}finally{p.f()}}}}:null}(e,n);c&&(a.push(c),l.push(c));break;case"RANGE_DELETE":var d=function(e,n){var t=e.parentID,o=e.connectionKeys,a=e.pathToConnection,l=e.deletedIDFieldName;if(!t)return null;var u=s(n);return u?function(e,n){if(n){var s=[],c=n[u];if(c&&Array.isArray(l)){var d,p=(0,r.default)(l);try{for(p.s();!(d=p.n()).done;){var h=d.value;c&&"object"==typeof c&&(c=c[h])}}catch(e){p.e(e)}finally{p.f()}Array.isArray(c)?c.forEach(function(e){e&&e.id&&"object"==typeof e&&"string"==typeof e.id&&s.push(e.id)}):c&&c.id&&"string"==typeof c.id&&s.push(c.id)}else c&&"string"==typeof l&&"object"==typeof c&&("string"==typeof(c=c[l])?s.push(c):Array.isArray(c)&&c.forEach(function(e){"string"==typeof e&&s.push(e)}));(function(e,n,t,o,a){var s=o.get(e);if(s&&!(t.length<2)){for(var l=s,u=1;u0||o(!1),t>0||o(!1),this._responses=new Map,this._size=n,this._ttl=t}var n=e.prototype;return n.clear=function(){this._responses.clear()},n.get=function(e,n){var t=this,i=s(e,n);this._responses.forEach(function(e,n){e.fetchTime+t._ttl>=Date.now()||t._responses.delete(n)});var o=this._responses.get(i);return null==o?null:Array.isArray(o.payload)?o.payload.map(function(e){return(0,r.default)((0,r.default)({},e),{},{extensions:(0,r.default)((0,r.default)({},e.extensions),{},{cacheTimestamp:o.fetchTime})})}):(0,r.default)((0,r.default)({},o.payload),{},{extensions:(0,r.default)((0,r.default)({},o.payload.extensions),{},{cacheTimestamp:o.fetchTime})})},n.set=function(e,n,t){var r=Date.now(),i=s(e,n);if(this._responses.delete(i),this._responses.set(i,{fetchTime:r,payload:t}),this._responses.size>this._size){var o=this._responses.keys().next();o.done||this._responses.delete(o.value)}},e}();function s(e,n){return JSON.stringify(i({queryID:e,variables:n}))}e.exports=a},70113:function(e,n,t){"use strict";var r=t(64674);e.exports=function(e,n){return{execute:function(t,i,o,a){var s=r();return n.execute(t,i,o,a,function(n){e.__log({name:"network.info",networkRequestId:s,info:n})}).do({start:function(n){e.__log({name:"network.start",networkRequestId:s,params:t,variables:i,cacheConfig:o})},next:function(n){e.__log({name:"network.next",networkRequestId:s,response:n})},error:function(n){e.__log({name:"network.error",networkRequestId:s,error:n})},complete:function(){e.__log({name:"network.complete",networkRequestId:s})},unsubscribe:function(){e.__log({name:"network.unsubscribe",networkRequestId:s})}})}}}},13323:function(e,n,t){"use strict";var r=t(65070),i=t(78405);function o(e){var n=e;return"function"==typeof n?n=n():n.default&&(n=n.default),n}function a(e){var n=o(e);return"object"==typeof n&&null!==n&&n.kind===r.FRAGMENT}function s(e){var n=o(e);return"object"==typeof n&&null!==n&&n.kind===r.REQUEST}function l(e){var n=o(e);return"object"==typeof n&&null!==n&&n.kind===r.UPDATABLE_QUERY}function u(e){var n=o(e);return"object"==typeof n&&null!==n&&n.kind===r.INLINE_DATA_FRAGMENT}function c(e){var n=o(e);return a(n)||i(!1),n}t(710),e.exports={getFragment:c,getNode:o,getPaginationFragment:function(e){var n,t=c(e),r=null===(n=t.metadata)||void 0===n?void 0:n.refetch,i=null==r?void 0:r.connection;return null===r||"object"!=typeof r||null===i||"object"!=typeof i?null:t},getRefetchableFragment:function(e){var n,t=c(e),r=null===(n=t.metadata)||void 0===n?void 0:n.refetch;return null===r||"object"!=typeof r?null:t},getRequest:function(e){var n=o(e);return s(n)||i(!1),n},getUpdatableQuery:function(e){var n=o(e);return l(n)||i(!1),n},getInlineDataFragment:function(e){var n=o(e);return u(n)||i(!1),n},graphql:function(e){i(!1)},isFragment:a,isRequest:s,isUpdatableQuery:l,isInlineDataFragment:u}},33175:function(e){"use strict";var n=new(function(){function e(){this._preloadableQueries=new Map,this._callbacks=new Map}var n=e.prototype;return n.set=function(e,n){this._preloadableQueries.set(e,n);var t=this._callbacks.get(e);null!=t&&t.forEach(function(e){try{e(n)}catch(e){setTimeout(function(){throw e},0)}})},n.get=function(e){return this._preloadableQueries.get(e)},n.onLoad=function(e,n){var t,r=null!==(t=this._callbacks.get(e))&&void 0!==t?t:new Set;return r.add(n),this._callbacks.set(e,r),{dispose:function(){r.delete(n)}}},n.clear=function(){this._preloadableQueries.clear()},e}());e.exports=n},12970:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(6191),o=t(47788).createOperationDescriptor,a=t(98616),s=t(48926),l=t(13323).getRequest,u=t(78405);function c(e,n){return s.fetchQuery(e,n).map(function(){return e.lookup(n.fragment)})}e.exports=function(e,n,t,s){var d,p=l(n);"query"!==p.params.operationKind&&u(!1);var h=o(p,t,(0,r.default)({force:!0},null==s?void 0:s.networkCacheConfig)),f=null!==(d=null==s?void 0:s.fetchPolicy)&&void 0!==d?d:"network-only";function m(n){return a(e,n.missingRequiredFields,n.relayResolverErrors,n.errorResponseFields),n.data}switch(f){case"network-only":return c(e,h).map(m);case"store-or-network":if("available"===e.check(h).status)return i.from(e.lookup(h.fragment)).map(m);return c(e,h).map(m);default:throw Error("fetchQuery: Invalid fetchPolicy "+f)}}},48926:function(e,n,t){"use strict";var r=t(6191),i=t(81701),o=t(78405),a="function"==typeof WeakMap?new WeakMap:new Map;function s(e,n,t){return r.create(function(a){var s,l=u(e),d=l.get(n);return d||t().finally(function(){return l.delete(n)}).subscribe({start:function(e){d={identifier:n,subject:new i,subjectForInFlightStatus:new i,subscription:e,promise:null},l.set(n,d)},next:function(e){var t=c(l,n);t.subject.next(e),t.subjectForInFlightStatus.next(e)},error:function(e){var t=c(l,n);t.subject.error(e),t.subjectForInFlightStatus.error(e)},complete:function(){var e=c(l,n);e.subject.complete(),e.subjectForInFlightStatus.complete()},unsubscribe:function(e){var t=c(l,n);t.subject.unsubscribe(),t.subjectForInFlightStatus.unsubscribe()}}),null!=d||o(!1),(s=d,r.create(function(e){var n=s.subject.subscribe(e);return function(){n.unsubscribe();var e=l.get(s.identifier);if(e){var t=e.subscription;null!=t&&0===e.subject.getObserverCount()&&(t.unsubscribe(),l.delete(s.identifier))}}})).subscribe(a)})}function l(e,n,t){return r.create(function(n){var r=t.subjectForInFlightStatus.subscribe({error:n.error,next:function(r){if(!e.isRequestActive(t.identifier)){n.complete();return}n.next()},complete:n.complete,unsubscribe:n.complete});return function(){r.unsubscribe()}})}function u(e){var n=a.get(e);if(null!=n)return n;var t=new Map;return a.set(e,t),t}function c(e,n){var t=e.get(n);return null!=t||o(!1),t}e.exports={fetchQuery:function(e,n){return s(e,n.request.identifier,function(){return e.execute({operation:n})})},fetchQueryDeduped:s,getPromiseForActiveRequest:function(e,n){var t=u(e),r=t.get(n.identifier);return r&&e.isRequestActive(r.identifier)?new Promise(function(n,i){var o=!1;l(e,t,r).subscribe({complete:n,error:i,next:function(e){o&&n(e)}}),o=!0}):null},getObservableForActiveRequest:function(e,n){var t=u(e),r=t.get(n.identifier);return r&&e.isRequestActive(r.identifier)?l(e,t,r):null}}},82268:function(e,n,t){"use strict";var r=t(47788).createOperationDescriptor,i=t(13323).getRequest;e.exports=function(e,n,t,o){var a=i(n);if("query"!==a.params.operationKind)throw Error("fetchQuery: Expected query operation");var s=r(a,t,o);return e.execute({operation:s}).map(function(){return e.lookup(s.fragment).data}).toPromise()}},13475:function(e,n,t){"use strict";var r=t(97250),i=t(30055).intern,o="client:",a=0;e.exports={generateClientID:function(e,n,t){var a=(r.STRING_INTERN_LEVEL<=0?e:i(e,r.MAX_DATA_ID_LENGTH))+":"+n;return null!=t&&(a+=":"+t),0!==a.indexOf(o)&&(a=o+a),a},generateClientObjectClientID:function(e,n,t){var r="".concat(o).concat(e,":").concat(n);return null!=t&&(r+=":"+t),r},generateUniqueClientID:function(){return"".concat(o,"local:").concat(a++)},isClientID:function(e){return 0===e.indexOf(o)}}},72592:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(31681)),i=t(94740),o=t(92505),a=t(30534),s=t(65070),l=t(13475).isClientID,u=t(18402),c=t(72757),d=t(62818).getLocalVariables,p=t(12966),h=t(71600),f=h.EXISTENT,m=h.UNKNOWN,g=t(42597),y=t(88891),_=y.TYPE_SCHEMA_TYPE,v=y.generateTypeID,b=t(78405),C=s.ACTOR_CHANGE,x=s.CONDITION,k=s.CLIENT_COMPONENT,w=s.CLIENT_EXTENSION,E=s.CLIENT_EDGE_TO_CLIENT_OBJECT,T=s.DEFER,S=s.FRAGMENT_SPREAD,I=s.INLINE_FRAGMENT,R=s.LINKED_FIELD,A=s.LINKED_HANDLE,P=s.MODULE_IMPORT,N=s.RELAY_RESOLVER,O=s.RELAY_LIVE_RESOLVER,L=s.SCALAR_FIELD,M=s.SCALAR_HANDLE,D=s.STREAM,F=s.TYPE_DISCRIMINATOR,j=g.getModuleOperationKey,B=g.getStorageKey,U=g.getArgumentValues,K=function(){function e(e,n,t,r,i,o,a,s){this._getSourceForActor=e,this._getTargetForActor=n,this._getDataID=a,this._source=e(t),this._mutatorRecordSourceProxyCache=new Map;var l=this._getMutatorAndRecordProxyForActor(t),u=l[0],c=l[1];this._mostRecentlyInvalidatedAt=null,this._handlers=i,this._mutator=u,this._operationLoader=null!=o?o:null,this._recordSourceProxy=c,this._recordWasMissing=!1,this._variables=r,this._shouldProcessClientComponents=s}var n=e.prototype;return n._getMutatorAndRecordProxyForActor=function(e){var n=this._mutatorRecordSourceProxyCache.get(e);if(null==n){var t=this._getTargetForActor(e),r=new i(this._getSourceForActor(e),t),a=new o(r,this._getDataID,void 0,this._handlers);n=[r,a],this._mutatorRecordSourceProxyCache.set(e,n)}return n},n.check=function(e,n){return this._assignClientAbstractTypes(e),this._traverse(e,n),!0===this._recordWasMissing?{status:"missing",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}:{status:"available",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}},n._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||b(!1),this._variables[e]},n._handleMissing=function(){this._recordWasMissing=!0},n._handleMissingScalarField=function(e,n){if(!("id"===e.name&&null==e.alias&&l(n))){var t,i=void 0!=e.args?U(e.args,this._variables):{},o=(0,r.default)(this._handlers);try{for(o.s();!(t=o.n()).done;){var a=t.value;if("scalar"===a.kind){var s=a.handle(e,this._recordSourceProxy.get(n),i,this._recordSourceProxy);if(void 0!==s)return s}}}catch(e){o.e(e)}finally{o.f()}this._handleMissing()}},n._handleMissingLinkField=function(e,n){var t,i=void 0!=e.args?U(e.args,this._variables):{},o=(0,r.default)(this._handlers);try{for(o.s();!(t=o.n()).done;){var a=t.value;if("linked"===a.kind){var s=a.handle(e,this._recordSourceProxy.get(n),i,this._recordSourceProxy);if(void 0!==s&&(null===s||this._mutator.getStatus(s)===f))return s}}}catch(e){o.e(e)}finally{o.f()}this._handleMissing()},n._handleMissingPluralLinkField=function(e,n){var t,i=this,o=void 0!=e.args?U(e.args,this._variables):{},a=(0,r.default)(this._handlers);try{for(a.s();!(t=a.n()).done;){var s=t.value;if("pluralLinked"===s.kind){var l=s.handle(e,this._recordSourceProxy.get(n),o,this._recordSourceProxy);if(null!=l){if(l.every(function(e){return null!=e&&i._mutator.getStatus(e)===f}))return l}else if(null===l)return null}}}catch(e){a.e(e)}finally{a.f()}this._handleMissing()},n._traverse=function(e,n){var t=this._mutator.getStatus(n);if(t===m&&this._handleMissing(),t===f){var r=this._source.get(n),i=p.getInvalidationEpoch(r);null!=i&&(this._mostRecentlyInvalidatedAt=null!=this._mostRecentlyInvalidatedAt?Math.max(this._mostRecentlyInvalidatedAt,i):i),this._traverseSelections(e.selections,n)}},n._traverseSelections=function(e,n){var t=this;e.forEach(function(r){switch(r.kind){case L:t._checkScalar(r,n);break;case R:r.plural?t._checkPluralLink(r,n):t._checkLink(r,n);break;case C:t._checkActorChange(r.linkedField,n);break;case x:!!t._getVariableValue(r.condition)===r.passingValue&&t._traverseSelections(r.selections,n);break;case I:var i=r.abstractKey;if(null==i)t._mutator.getType(n)===r.type&&t._traverseSelections(r.selections,n);else{var o=t._mutator.getType(n);null!=o||b(!1);var a=v(o),s=t._mutator.getValue(a,i);!0===s?t._traverseSelections(r.selections,n):null==s&&t._handleMissing()}break;case A:var l=u(r,e,t._variables);l.plural?t._checkPluralLink(l,n):t._checkLink(l,n);break;case M:var p=c(r,e,t._variables);t._checkScalar(p,n);break;case P:t._checkModuleImport(r,n);break;case T:case D:t._traverseSelections(r.selections,n);break;case S:var h=t._variables;t._variables=d(t._variables,r.fragment.argumentDefinitions,r.args),t._traverseSelections(r.fragment.selections,n),t._variables=h;break;case w:var f=t._recordWasMissing;t._traverseSelections(r.selections,n),t._recordWasMissing=f;break;case F:var m=r.abstractKey,g=t._mutator.getType(n);null!=g||b(!1);var y=v(g);null==t._mutator.getValue(y,m)&&t._handleMissing();break;case k:if(!1===t._shouldProcessClientComponents)break;t._traverseSelections(r.fragment.selections,n);break;case N:case O:t._checkResolver(r,n);break;case E:t._checkResolver(r.backingField,n);break;default:b(!1)}})},n._checkResolver=function(e,n){e.fragment&&this._traverseSelections([e.fragment],n)},n._checkModuleImport=function(e,n){var t=this._operationLoader;null!==t||b(!1);var r=j(e.documentName),i=this._mutator.getValue(n,r);if(null==i){void 0===i&&this._handleMissing();return}var o=t.get(i);if(null!=o){var s=a(o),l=this._variables;this._variables=d(this._variables,s.argumentDefinitions,e.args),this._traverse(s,n),this._variables=l}else this._handleMissing()},n._checkScalar=function(e,n){var t=B(e,this._variables),r=this._mutator.getValue(n,t);void 0===r&&void 0!==(r=this._handleMissingScalarField(e,n))&&this._mutator.setValue(n,t,r)},n._checkLink=function(e,n){var t=B(e,this._variables),r=this._mutator.getLinkedRecordID(n,t);void 0===r&&(null!=(r=this._handleMissingLinkField(e,n))?this._mutator.setLinkedRecordID(n,t,r):null===r&&this._mutator.setValue(n,t,null)),null!=r&&this._traverse(e,r)},n._checkPluralLink=function(e,n){var t=this,r=B(e,this._variables),i=this._mutator.getLinkedRecordIDs(n,r);void 0===i&&(null!=(i=this._handleMissingPluralLinkField(e,n))?this._mutator.setLinkedRecordIDs(n,r,i):null===i&&this._mutator.setValue(n,r,null)),i&&i.forEach(function(n){null!=n&&t._traverse(e,n)})},n._checkActorChange=function(e,n){var t=B(e,this._variables),r=this._source.get(n),i=null!=r?p.getActorLinkedRecordID(r,t):r;if(null==i)void 0===i&&this._handleMissing();else{var o=i[0],a=i[1],s=this._source,l=this._mutator,u=this._recordSourceProxy,c=this._getMutatorAndRecordProxyForActor(o),d=c[0],h=c[1];this._source=this._getSourceForActor(o),this._mutator=d,this._recordSourceProxy=h,this._assignClientAbstractTypes(e),this._traverse(e,a),this._source=s,this._mutator=l,this._recordSourceProxy=u}},n._assignClientAbstractTypes=function(e){var n=e.clientAbstractTypes;if(null!=n)for(var t=0,i=Object.keys(n);t0?"active":"inactive";break;default:this._state,T(!1)}this._operationExecutions.set(this._operation.request.identifier,e)},n._schedule=function(e){var n=this,t=this._scheduler;if(null!=t){var r=this._nextSubscriptionId++;a.create(function(n){var r=t.schedule(function(){try{e(),n.complete()}catch(e){n.error(e)}});return function(){return t.cancel(r)}}).subscribe({complete:function(){return n._complete(r)},error:function(e){return n._error(e)},start:function(e){return n._start(r,e)}})}else e()},n._complete=function(e){this._subscriptions.delete(e),0===this._subscriptions.size&&(this.cancel(),this._sink.complete(),this._log({name:"execute.complete",executeId:this._executeId}))},n._error=function(e){this.cancel(),this._sink.error(e),this._log({name:"execute.error",executeId:this._executeId,error:e})},n._start=function(e,n){this._subscriptions.set(e,n),this._updateActiveState()},n._next=function(e,n){var t=this;this._schedule(function(){var e=p(function(){t._handleNext(n),t._maybeCompleteSubscriptionOperationTracking()})[0];t._log({name:"execute.next",executeId:t._executeId,response:n,duration:e})})},n._handleErrorResponse=function(e){var n=this,t=[];return e.forEach(function(e){if(null!==e.data||null==e.extensions||e.hasOwnProperty("errors")){if(null==e.data){var r=e.hasOwnProperty("errors")&&null!=e.errors?e.errors:null,i=r?r.map(function(e){return e.message}).join("\n"):"(No errors)",o=u.create("RelayNetwork","No data returned for operation `"+n._operation.request.node.params.name+"`, got error(s):\n"+i+"\n\nSee the error `source` property for more information.");throw o.source={errors:r,operation:n._operation.request.node,variables:n._operation.request.variables},o.stack,o}t.push(e)}}),t},n._handleOptimisticResponses=function(e){if(e.length>1)return e.some(function(e){var n;return(null===(n=e.extensions)||void 0===n?void 0:n.isOptimistic)===!0})&&T(!1),!1;var n,t=e[0],r=(null===(n=t.extensions)||void 0===n?void 0:n.isOptimistic)===!0;return r&&"started"!==this._state&&T(!1),!!r&&(this._processOptimisticResponse(t,null,this._treatMissingFieldsAsNull),this._sink.next(t),!0)},n._handleNext=function(e){if("completed"!==this._state){this._seenActors.clear();var n=Array.isArray(e)?e:[e],t=this._handleErrorResponse(n);if(0===t.length){n.some(function(e){var n;return(null===(n=e.extensions)||void 0===n?void 0:n.is_final)===!0})&&(this._state="loading_final",this._updateActiveState(),this._incrementalPayloadsPending=!1),this._sink.next(e);return}if(!this._handleOptimisticResponses(t)){var r,i,o=(r=[],i=[],t.forEach(function(e){if(null!=e.path||null!=e.label){var n=e.label,t=e.path;(null==n||null==t)&&T(!1),i.push({label:n,path:t,response:e})}else r.push(e)}),[r,i]),a=o[0],s=o[1],l=a.length>0;if(l){if(this._isSubscriptionOperation){var u=m();this._operation={request:this._operation.request,fragment:b(this._operation.fragment.node,u,this._operation.fragment.variables,this._operation.fragment.owner),root:v(this._operation.root.node,u,this._operation.root.variables)}}var c=this._processResponses(a);this._processPayloadFollowups(c)}if(s.length>0){var d=this._processIncrementalResponses(s);this._processPayloadFollowups(d)}this._isSubscriptionOperation&&(null==t[0].extensions?t[0].extensions={__relay_subscription_root_id:this._operation.fragment.dataID}:t[0].extensions.__relay_subscription_root_id=this._operation.fragment.dataID);var p=this._runPublishQueue(l?this._operation:void 0);l&&this._incrementalPayloadsPending&&this._retainData(),this._updateOperationTracker(p),this._sink.next(e)}}},n._processOptimisticResponse=function(e,n,t){var r=this;if(null!==this._optimisticUpdates&&T(!1),null!=e||null!=n){var i=[];if(e){var o=this._normalizeResponse(e,this._operation.root,k,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[],shouldProcessClientComponents:this._shouldProcessClientComponents,treatMissingFieldsAsNull:t});I(o),i.push({operation:this._operation,payload:o,updater:n}),this._processOptimisticFollowups(o,i)}else n&&i.push({operation:this._operation,payload:{errors:null,fieldPayloads:null,incrementalPlaceholders:null,followupPayloads:null,source:C.create(),isFinal:!1},updater:n});this._optimisticUpdates=i,i.forEach(function(e){return r._getPublishQueueAndSaveActor().applyUpdate(e)});var a=this._runPublishQueue();c.ENABLE_OPERATION_TRACKER_OPTIMISTIC_UPDATES&&this._updateOperationTracker(a)}},n._processOptimisticFollowups=function(e,n){if(e.followupPayloads&&e.followupPayloads.length){var t,r=e.followupPayloads,a=(0,i.default)(r);try{for(a.s();!(t=a.n()).done;){var s=t.value;switch(s.kind){case"ModuleImportPayload":var l=this._expectOperationLoader().get(s.operationReference);if(null==l)this._processAsyncOptimisticModuleImport(s);else{var u=this._processOptimisticModuleImport(l,s);n.push.apply(n,(0,o.default)(u))}break;case"ActorPayload":break;default:T(!1)}}}catch(e){a.e(e)}finally{a.f()}}},n._normalizeFollowupPayload=function(e,n){t="SplitOperation"===n.kind&&"ModuleImportPayload"===e.kind?g(e.variables,n.argumentDefinitions,e.args):e.variables;var t,r=v(n,e.dataID,t);return this._normalizeResponse({data:e.data},r,e.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:e.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents})},n._processOptimisticModuleImport=function(e,n){var t=l(e),r=[],i=this._normalizeFollowupPayload(n,t);return I(i),r.push({operation:this._operation,payload:i,updater:null}),this._processOptimisticFollowups(i,r),r},n._processAsyncOptimisticModuleImport=function(e){var n=this;this._expectOperationLoader().load(e.operationReference).then(function(t){if(null!=t&&"started"===n._state){var r,i=n._processOptimisticModuleImport(t,e);i.forEach(function(e){return n._getPublishQueueAndSaveActor().applyUpdate(e)}),null==n._optimisticUpdates||((r=n._optimisticUpdates).push.apply(r,(0,o.default)(i)),n._runPublishQueue())}})},n._processResponses=function(e){var n=this;return null!==this._optimisticUpdates&&(this._optimisticUpdates.forEach(function(e){n._getPublishQueueAndSaveActor().revertUpdate(e)}),this._optimisticUpdates=null),this._incrementalPayloadsPending=!1,this._incrementalResults.clear(),this._source.clear(),e.map(function(e){var t=n._normalizeResponse(e,n._operation.root,k,{actorIdentifier:n._actorIdentifier,getDataID:n._getDataID,path:[],treatMissingFieldsAsNull:n._treatMissingFieldsAsNull,shouldProcessClientComponents:n._shouldProcessClientComponents});return n._getPublishQueueAndSaveActor().commitPayload(n._operation,t,n._updater),t})},n._processPayloadFollowups=function(e){var n=this;"completed"!==this._state&&e.forEach(function(e){var t=e.incrementalPlaceholders,r=e.followupPayloads,i=e.isFinal;if(n._state=i?"loading_final":"loading_incremental",n._updateActiveState(),i&&(n._incrementalPayloadsPending=!1),r&&0!==r.length&&r.forEach(function(e){var t,r=n._actorIdentifier;n._actorIdentifier=null!==(t=e.actorIdentifier)&&void 0!==t?t:n._actorIdentifier,n._processFollowupPayload(e),n._actorIdentifier=r}),t&&0!==t.length&&(n._incrementalPayloadsPending="loading_final"!==n._state,t.forEach(function(t){var r,i=n._actorIdentifier;n._actorIdentifier=null!==(r=t.actorIdentifier)&&void 0!==r?r:n._actorIdentifier,n._processIncrementalPlaceholder(e,t),n._actorIdentifier=i}),n._isClientPayload||"loading_final"===n._state)){var o=[];t.forEach(function(e){"defer"===e.kind&&o.push(n._processDeferResponse(e.label,e.path,e,{data:e.data}))}),o.length>0&&n._processPayloadFollowups(o)}})},n._maybeCompleteSubscriptionOperationTracking=function(){this._isSubscriptionOperation&&0===this._pendingModulePayloadsCount&&!1===this._incrementalPayloadsPending&&this._completeOperationTracker()},n._processFollowupPayload=function(e){var n=this;switch(e.kind){case"ModuleImportPayload":var t=this._expectOperationLoader(),r=t.get(e.operationReference);if(null!=r)this._processFollowupPayloadWithNormalizationNode(e,l(r));else{var i=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var o=function(){n._pendingModulePayloadsCount--,n._maybeCompleteSubscriptionOperationTracking()},s=a.from(new Promise(function(n,r){t.load(e.operationReference).then(n,r)}));a.create(function(t){var r,i=s.subscribe({next:function(i){if(null!=i){var o=function(){try{var r=l(i),o=c.BATCH_ASYNC_MODULE_UPDATES_FN,a=null!=o&&n._pendingModulePayloadsCount>1,s=p(function(){if(n._handleFollowupPayload(e,r),a)n._scheduleAsyncStoreUpdate(o,t.complete);else{var i=n._runPublishQueue();n._updateOperationTracker(i)}})[0];n._log({name:"execute.async.module",executeId:n._executeId,operationName:r.name,duration:s}),a||t.complete()}catch(e){t.error(e)}},a=n._scheduler;null==a?o():r=a.schedule(o)}else t.complete()},error:t.error});return function(){i.unsubscribe(),null!=n._scheduler&&null!=r&&n._scheduler.cancel(r)}}).subscribe({complete:function(){n._complete(i),o()},error:function(e){n._error(e),o()},start:function(e){return n._start(i,e)}})}break;case"ActorPayload":this._processFollowupPayloadWithNormalizationNode(e,e.node);break;default:T(!1)}},n._processFollowupPayloadWithNormalizationNode=function(e,n){this._handleFollowupPayload(e,n),this._maybeCompleteSubscriptionOperationTracking()},n._handleFollowupPayload=function(e,n){var t=this._normalizeFollowupPayload(e,n);this._getPublishQueueAndSaveActor().commitPayload(this._operation,t),this._processPayloadFollowups([t])},n._processIncrementalPlaceholder=function(e,n){var t,r,i,o,a=n.label,s=n.path.map(String).join("."),l=this._incrementalResults.get(a);null==l&&(l=new Map,this._incrementalResults.set(a,l));var u=l.get(s),c=null!=u&&"response"===u.kind?u.responses:null;l.set(s,{kind:"placeholder",placeholder:n}),"stream"===n.kind?r=n.parentID:"defer"===n.kind?r=n.selector.dataID:T(!1);var p=e.source.get(r),h=(null!==(t=e.fieldPayloads)&&void 0!==t?t:[]).filter(function(e){var n=f(e.dataID,e.fieldKey);return e.dataID===r||n===r});null!=p||T(!1);var m=this._source.get(r);if(null!=m){i=y.update(m.record,p);var g=new Map,_=function(e){var n,t=null!==(n=JSON.stringify(d(e)))&&void 0!==n?n:"";g.set(t,e)};m.fieldPayloads.forEach(_),h.forEach(_),o=Array.from(g.values())}else i=p,o=h;if(this._source.set(r,{record:i,fieldPayloads:o}),null!=c){var v=this._processIncrementalResponses(c);this._processPayloadFollowups(v)}},n._processIncrementalResponses=function(e){var n=this,t=[];return e.forEach(function(e){var r=e.label,i=e.path,o=e.response,a=n._incrementalResults.get(r);if(null==a&&(a=new Map,n._incrementalResults.set(r,a)),-1!==r.indexOf("$defer$")){var s=i.map(String).join("."),l=a.get(s);if(null==l){l={kind:"response",responses:[e]},a.set(s,l);return}if("response"===l.kind){l.responses.push(e);return}var u=l.placeholder;"defer"!==u.kind&&T(!1),t.push(n._processDeferResponse(r,i,u,o))}else{var c=i.slice(0,-2).map(String).join("."),d=a.get(c);if(null==d){d={kind:"response",responses:[e]},a.set(c,d);return}if("response"===d.kind){d.responses.push(e);return}var p=d.placeholder;"stream"!==p.kind&&T(!1),t.push(n._processStreamResponse(r,i,p,o))}}),t},n._processDeferResponse=function(e,n,t,r){var i=t.selector.dataID,o=this._actorIdentifier;this._actorIdentifier=null!==(u=t.actorIdentifier)&&void 0!==u?u:this._actorIdentifier;var a=this._normalizeResponse(r,t.selector,t.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:t.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents});this._getPublishQueueAndSaveActor().commitPayload(this._operation,a);var s=this._source.get(i);null!=s||T(!1);var l=s.fieldPayloads;if(0!==l.length){var u,c,d={errors:null,fieldPayloads:l,incrementalPlaceholders:null,followupPayloads:null,source:C.create(),isFinal:(null===(c=r.extensions)||void 0===c?void 0:c.is_final)===!0};this._getPublishQueueAndSaveActor().commitPayload(this._operation,d)}return this._actorIdentifier=o,a},n._processStreamResponse=function(e,n,t,r){var i=t.parentID,a=t.node,s=t.variables,l=t.actorIdentifier,u=this._actorIdentifier;this._actorIdentifier=null!=l?l:this._actorIdentifier;var c=a.selections[0];null!=c&&"LinkedField"===c.kind&&!0===c.plural||T(!1);var d=this._normalizeStreamItem(r,i,c,s,n,t.path),p=d.fieldPayloads,h=d.itemID,f=d.itemIndex,m=d.prevIDs,g=d.relayPayload,y=d.storageKey;if(this._getPublishQueueAndSaveActor().commitPayload(this._operation,g,function(e){var n=e.get(i);if(null!=n){var t=n.getLinkedRecords(y);if(!(null==t||t.length!==m.length||t.some(function(e,n){return m[n]!==(e&&e.getDataID())}))){var r=(0,o.default)(t);r[f]=e.get(h),n.setLinkedRecords(r,y)}}}),0!==p.length){var _={errors:null,fieldPayloads:p,incrementalPlaceholders:null,followupPayloads:null,source:C.create(),isFinal:!1};this._getPublishQueueAndSaveActor().commitPayload(this._operation,_)}return this._actorIdentifier=u,g},n._normalizeStreamItem=function(e,n,t,r,i,a){var s,l,u,c,d=e.data;"object"!=typeof d&&T(!1);var p=null!==(s=t.alias)&&void 0!==s?s:t.name,h=E(t,r),m=this._source.get(n);null!=m||T(!1);var g=m.record,_=m.fieldPayloads,b=y.getLinkedRecordIDs(g,h);null!=b||T(!1);var C=i[i.length-1],x=parseInt(C,10);x===C&&x>=0||T(!1);var k=null!==(l=t.concreteType)&&void 0!==l?l:d[w];"string"!=typeof k&&T(!1);var S=null!==(u=null!==(c=this._getDataID(d,k))&&void 0!==c?c:null==b?void 0:b[x])&&void 0!==u?u:f(n,h,x);"string"!=typeof S&&T(!1);var I=v(t,S,r),R=y.clone(g),A=(0,o.default)(b);A[x]=S,y.setLinkedRecordIDs(R,h,A),this._source.set(n,{record:R,fieldPayloads:_});var P=this._normalizeResponse(e,I,k,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[].concat((0,o.default)(a),[p,String(x)]),treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents});return{fieldPayloads:_,itemID:S,itemIndex:x,prevIDs:b,relayPayload:P,storageKey:h}},n._scheduleAsyncStoreUpdate=function(e,n){var t=this;this._completeFns.push(n),null==this._asyncStoreUpdateDisposable&&(this._asyncStoreUpdateDisposable=e(function(){t._asyncStoreUpdateDisposable=null;var e=t._runPublishQueue();t._updateOperationTracker(e);var n,r=(0,i.default)(t._completeFns);try{for(r.s();!(n=r.n()).done;)(0,n.value)()}catch(e){r.e(e)}finally{r.f()}t._completeFns=[]}))},n._updateOperationTracker=function(e){null!=e&&e.length>0&&this._operationTracker.update(this._operation.request,new Set(e))},n._completeOperationTracker=function(){this._operationTracker.complete(this._operation.request)},n._getPublishQueueAndSaveActor=function(){return this._seenActors.add(this._actorIdentifier),this._getPublishQueue(this._actorIdentifier)},n._getActorsToVisit=function(){return 0===this._seenActors.size?new Set([this._actorIdentifier]):this._seenActors},n._runPublishQueue=function(e){var n,t=new Set,r=(0,i.default)(this._getActorsToVisit());try{for(r.s();!(n=r.n()).done;){var o=n.value;this._getPublishQueue(o).run(e).forEach(function(e){return t.add(e)})}}catch(e){r.e(e)}finally{r.f()}return Array.from(t)},n._retainData=function(){var e,n=(0,i.default)(this._getActorsToVisit());try{for(n.s();!(e=n.n()).done;){var t=e.value;this._retainDisposables.has(t)||this._retainDisposables.set(t,this._getStore(t).retain(this._operation))}}catch(e){n.e(e)}finally{n.f()}},n._disposeRetainedData=function(){var e,n=(0,i.default)(this._retainDisposables.values());try{for(n.s();!(e=n.n()).done;)e.value.dispose()}catch(e){n.e(e)}finally{n.f()}this._retainDisposables.clear()},n._expectOperationLoader=function(){var e=this._operationLoader;return e||T(!1),e},e}();function I(e){var n=e.incrementalPlaceholders;null!=n&&0!==n.length&&T(!1)}e.exports={execute:function(e){return new S(e)}}},62818:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(42597).getArgumentValues,o=t(78405);e.exports={getLocalVariables:function(e,n,t){if(null==n)return e;var o=(0,r.default)({},e),a=t?i(t,e):{};return n.forEach(function(e){var n,t=null!==(n=a[e.name])&&void 0!==n?n:e.defaultValue;o[e.name]=t}),o},getFragmentVariables:function(e,n,t){var i;return null==e.argumentDefinitions?t:(e.argumentDefinitions.forEach(function(e){if(!t.hasOwnProperty(e.name))switch(i=i||(0,r.default)({},t),e.kind){case"LocalArgument":i[e.name]=e.defaultValue;break;case"RootArgument":if(!n.hasOwnProperty(e.name)){i[e.name]=void 0;break}i[e.name]=n[e.name];break;default:o(!1)}}),i||t)},getOperationVariables:function(e,n,t){var r={};return e.argumentDefinitions.forEach(function(e){var n=e.defaultValue;null!=t[e.name]&&(n=t[e.name]),r[e.name]=n}),null!=n&&Object.keys(n).forEach(function(e){r[e]=n[e].get()}),r}}},831:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(13305)),o=r(t(85246)),a=r(t(31681)),s=r(t(88611)),l=r(t(39778)),u=r(t(83718)),c=["path","locations"],d=t(97250),p=Symbol("$SELF"),h=function(e){function n(n){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(t=e.call(this,n)||this).name="RelayFieldError",t.message=n,t.errors=r,t}return(0,s.default)(n,e),n}((0,l.default)(Error));e.exports={SELF:p,buildErrorTrie:function(e){if(null==e||!d.ENABLE_FIELD_ERROR_HANDLING)return null;var n,t=new Map,r=(0,a.default)(e);try{for(r.s();!(n=r.n()).done;){var i=n.value,s=i.path,l=(i.locations,(0,o.default)(i,c));if(null!=s){var u=s.length;if(0!==u){for(var h=u-1,f=t,m=0;m0&&this._scheduleUpdates(function(){t._publishQueue.commitSource(r),t._publishQueue.run()}),o},n._scheduleUpdates=function(e){var n=this._scheduler;null!=n?n.schedule(e):e()},n.execute=function(e){var n=this,t=e.operation;return this._execute({createSource:function(){return n.getNetwork().execute(t.request.node.params,t.request.variables,t.request.cacheConfig||{},null)},isClientPayload:!1,operation:t,optimisticConfig:null,updater:null})},n.executeSubscription=function(e){var n=this,t=e.operation,r=e.updater;return this._execute({createSource:function(){return n.getNetwork().execute(t.request.node.params,t.request.variables,t.request.cacheConfig||{},null)},isClientPayload:!1,operation:t,optimisticConfig:null,updater:r})},n.executeMutation=function(e){var n,t=this,i=e.operation,o=e.optimisticResponse,a=e.optimisticUpdater,s=e.updater,l=e.uploadables;return(o||a)&&(n={operation:i,response:o,updater:a}),this._execute({createSource:function(){return t.getNetwork().execute(i.request.node.params,i.request.variables,(0,r.default)((0,r.default)({},i.request.cacheConfig),{},{force:!0}),l)},isClientPayload:!1,operation:i,optimisticConfig:n,updater:s})},n.executeWithSource=function(e){var n=e.operation,t=e.source;return this._execute({createSource:function(){return t},isClientPayload:!1,operation:n,optimisticConfig:null,updater:null})},n.toJSON=function(){var e;return"RelayModernEnvironment(".concat(null!==(e=this.configName)&&void 0!==e?e:"",")")},n._execute=function(e){var n=this,t=e.createSource,r=e.isClientPayload,i=e.operation,o=e.optimisticConfig,u=e.updater,c=this._publishQueue,d=this._store;return l.create(function(e){var l=m.execute({actorIdentifier:a,getDataID:n._getDataID,isClientPayload:r,log:n.__log,operation:i,operationExecutions:n._operationExecutions,operationLoader:n._operationLoader,operationTracker:n._operationTracker,optimisticConfig:o,getPublishQueue:function(e){return s(e),c},scheduler:n._scheduler,shouldProcessClientComponents:n._shouldProcessClientComponents,sink:e,source:t(),getStore:function(e){return s(e),d},treatMissingFieldsAsNull:n._treatMissingFieldsAsNull,updater:u,normalizeResponse:n._normalizeResponse});return function(){return l.cancel()}})},e}();function v(){}_.prototype["@@RelayModernEnvironment"]=!0,e.exports=_},99794:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(13305)),o=r(t(8442)),a=t(20768),s=t(98616),l=t(85747),u=t(21679),c=t(97250),d=t(47788).createRequestDescriptor,p=t(90627),h=p.areEqualSelectors,f=p.createReaderSelector,m=p.getSelectorsFromObject,g=t(49150),y=t(78405);t(710);var _=function(){function e(e,n,t,r,i){var a=this;(0,o.default)(this,"_onChange",function(){a._stale=!0,"function"==typeof a._callback&&a._callback()}),this._callback=r,this._context=e,this._data={},this._fragments=n,this._props={},this._resolvers={},this._stale=!1,this._rootIsQueryRenderer=i,this.setProps(t)}var n=e.prototype;return n.dispose=function(){for(var e in this._resolvers)this._resolvers.hasOwnProperty(e)&&C(this._resolvers[e])},n.resolve=function(){if(this._stale){var e,n=this._data;for(var t in this._resolvers)if(this._resolvers.hasOwnProperty(t)){var r=this._resolvers[t],o=n[t];if(r){var a=r.resolve();(e||a!==o)&&((e=e||(0,i.default)({},n))[t]=a)}else{var s=this._props[t],u=void 0!==s?s:null;(e||!l(u,o))&&((e=e||(0,i.default)({},n))[t]=u)}}this._data=e||n,this._stale=!1}return this._data},n.setCallback=function(e,n){this._callback=n,!0===c.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&this.setProps(e)},n.setProps=function(e){this._props={};var n=m(this._fragments,e);for(var t in n)if(n.hasOwnProperty(t)){var r=n[t],i=this._resolvers[t];null==r?(null!=i&&i.dispose(),i=null):"PluralReaderSelector"===r.kind?null==i?i=new b(this._context.environment,this._rootIsQueryRenderer,r,null!=this._callback,this._onChange):(i instanceof b||y(!1),i.setSelector(r)):null==i?i=new v(this._context.environment,this._rootIsQueryRenderer,r,null!=this._callback,this._onChange):(i instanceof v||y(!1),i.setSelector(r)),this._props[t]=e[t],this._resolvers[t]=i}this._stale=!0},n.setVariables=function(e,n){for(var t in this._resolvers)if(this._resolvers.hasOwnProperty(t)){var r=this._resolvers[t];r&&r.setVariables(e,n)}this._stale=!0},e}(),v=function(){function e(e,n,t,r,i){var a=this;(0,o.default)(this,"_onChange",function(e){a._data=e.data,a._isMissingData=e.isMissingData,a._missingRequiredFields=e.missingRequiredFields,a._errorResponseFields=e.errorResponseFields,a._relayResolverErrors=e.relayResolverErrors,a._callback()});var s=e.lookup(t);this._callback=i,this._data=s.data,this._isMissingData=s.isMissingData,this._missingRequiredFields=s.missingRequiredFields,this._errorResponseFields=s.errorResponseFields,this._relayResolverErrors=s.relayResolverErrors,this._environment=e,this._rootIsQueryRenderer=n,this._selector=t,!0===c.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?r&&(this._subscription=e.subscribe(s,this._onChange)):this._subscription=e.subscribe(s,this._onChange)}var n=e.prototype;return n.dispose=function(){this._subscription&&(this._subscription.dispose(),this._subscription=null)},n.resolve=function(){if(!0===this._isMissingData){var e=a(this._environment,this._selector.node,this._selector.owner),n=null==e?void 0:e.promise;if(null!=n){if(this._rootIsQueryRenderer);else{var t,r=null!==(t=null==e?void 0:e.pendingOperations)&&void 0!==t?t:[];throw this._environment.__log({name:"suspense.fragment",data:this._data,fragment:this._selector.node,isRelayHooks:!1,isMissingData:this._isMissingData,isPromiseCached:!1,pendingOperations:r}),n}}}return s(this._environment,this._missingRequiredFields,this._relayResolverErrors,this._errorResponseFields),this._data},n.setSelector=function(e){if(!(null!=this._subscription&&h(e,this._selector))){this.dispose();var n=this._environment.lookup(e);this._data=u(this._data,n.data),this._isMissingData=n.isMissingData,this._missingRequiredFields=n.missingRequiredFields,this._errorResponseFields=n.errorResponseFields,this._relayResolverErrors=n.relayResolverErrors,this._selector=e,this._subscription=this._environment.subscribe(n,this._onChange)}},n.setVariables=function(e,n){if(!g(e,this._selector.variables)){var t=d(n,e),r=f(this._selector.node,this._selector.dataID,e,t);this.setSelector(r)}},e}(),b=function(){function e(e,n,t,r,i){var a=this;(0,o.default)(this,"_onChange",function(e){a._stale=!0,a._callback()}),this._callback=i,this._data=[],this._environment=e,this._resolvers=[],this._stale=!0,this._rootIsQueryRenderer=n,this._subscribeOnConstruction=r,this.setSelector(t)}var n=e.prototype;return n.dispose=function(){this._resolvers.forEach(C)},n.resolve=function(){if(this._stale){for(var e,n=this._data,t=0;tn.length;)this._resolvers.pop().dispose();for(var t=0;t3&&void 0!==arguments[3]?arguments[3]:l,o=e.operation,c=i(o,e.params.providedVariables,n),d=u(e,c,t);return{fragment:s(e.fragment,r,c,d),request:d,root:a(o,r,c)}},createRequestDescriptor:u}},12966:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(8442)),o=r(t(85246)),a=r(t(65199)),s=r(t(13305)),l=t(94412),u=t(13475),c=u.generateClientObjectClientID;u.isClientID;var d=t(7900).isSuspenseSentinel,p=t(42597),h=p.ACTOR_IDENTIFIER_KEY,f=p.ERRORS_KEY,m=p.ID_KEY,g=p.INVALIDATED_AT_KEY,y=p.REF_KEY,_=p.REFS_KEY,v=p.RELAY_RESOLVER_VALUE_KEY,b=(p.ROOT_ID,p.TYPENAME_KEY),C=t(49150),x=t(78405);function k(e,n){var t=e[n];return!t||"object"!=typeof t||(t.hasOwnProperty(y)||t.hasOwnProperty(_))&&x(!1),t}function w(e,n,t){var r=e[f];if(null!=t&&t.length>0)null==r?e[f]=(0,i.default)({},n,t):r[n]=t;else if(null!=r&&delete r[n]){for(var o in r)if(r.hasOwnProperty(o))return;delete e[f]}}t(710),e.exports={clone:function(e){return(0,s.default)({},e)},copyFields:function(e,n){for(var t in e)e.hasOwnProperty(t)&&t!==m&&t!==b&&(n[t]=e[t])},create:function(e,n){var t={};return t[m]=e,t[b]=n,t},freeze:function(e){l(e)},fromObject:function(e){return e},getDataID:function(e){return e[m]},getErrors:function(e,n){var t;return null===(t=e[f])||void 0===t?void 0:t[n]},getFields:function(e){return f in e?Object.keys(e).filter(function(e){return e!==f}):Object.keys(e)},getInvalidationEpoch:function(e){if(null==e)return null;var n=e[g];return"number"!=typeof n?null:n},getLinkedRecordID:function(e,n){var t=e[n];return null==t?t:("object"==typeof t&&t&&"string"==typeof t[y]||x(!1),t[y])},getLinkedRecordIDs:function(e,n){var t=e[n];return null==t?t:("object"==typeof t&&Array.isArray(t[_])||x(!1),t[_])},getType:function(e){return e[b]},getValue:k,hasValue:function(e,n){return n in e},hasLinkedRecordID:function(e,n){var t=e[n];return null!=t&&"object"==typeof t&&t&&"string"==typeof t[y]},hasLinkedRecordIDs:function(e,n){var t=e[n];return null!=t&&"object"==typeof t&&Array.isArray(t[_])&&t[_].every(function(e){return"string"==typeof e})},merge:function(e,n){if(!(f in e)&&!(f in n))return(0,s.default)((0,s.default)({},e),n);var t=e[f],r=(0,o.default)(e,[f].map(a.default)),i=n[f],l=(0,o.default)(n,[f].map(a.default)),u=(0,s.default)((0,s.default)({},r),l);if(null==t&&null==i)return u;var c={};for(var d in t)l.hasOwnProperty(d)||(c[d]=t[d]);for(var p in i)c[p]=i[p];for(var h in c){u[f]=c;break}return u},setErrors:w,setValue:function(e,n,t){e[n]=t},setLinkedRecordID:function(e,n,t){var r={};r[y]=t,e[n]=r},setLinkedRecordIDs:function(e,n,t){var r={};r[_]=t,e[n]=r},update:function(e,n){var t,r,i=e[f],o=n[f],a=null;if(null==i&&null==o){for(var l in n)(a||!C(e[l],n[l]))&&((a=null!==a?a:(0,s.default)({},e))[l]=n[l]);return null!==(r=a)&&void 0!==r?r:e}for(var u in n)if(u!==f){var c=n[u],d=null==o?void 0:o[u];if(null==a){var p=e[u],h=null==i?void 0:i[u];if(C(p,c)&&C(h,d))continue;a=(0,s.default)({},e),null!=i&&(a[f]=(0,s.default)({},i))}a[u]=c,w(a,u,d)}return null!==(t=a)&&void 0!==t?t:e},getActorLinkedRecordID:function(e,n){var t=e[n];return null==t?t:("object"==typeof t&&"string"==typeof t[y]&&null!=t[h]||x(!1),[t[h],t[y]])},setActorLinkedRecordID:function(e,n,t,r){var i={};i[y]=r,i[h]=t,e[n]=i},getResolverLinkedRecordID:function(e,n){var t=k(e,v);return null==t||d(t)?null:("object"==typeof t&&(t=t.id),"string"!=typeof t&&x(!1),c(n,t))},getResolverLinkedRecordIDs:function(e,n){var t=k(e,v);return null==t||d(t)?null:(Array.isArray(t)||x(!1),t.map(function(e){return null==e?null:("object"==typeof e&&(e=e.id),"string"!=typeof e&&x(!1),c(n,e))}))},toJSON:function(e){return e}}},90627:function(e,n,t){"use strict";var r=t(97250),i=t(62818).getFragmentVariables,o=t(42597),a=o.CLIENT_EDGE_TRAVERSAL_PATH,s=o.FRAGMENT_OWNER_KEY,l=o.FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,u=o.FRAGMENTS_KEY,c=o.ID_KEY,d=t(49150),p=t(78405);function h(e,n){("object"!=typeof n||null===n||Array.isArray(n))&&p(!1);var t=n[c],r=n[u],o=n[s],d=n[a];if("string"==typeof t&&"object"==typeof r&&null!==r&&"object"==typeof r[e.name]&&null!==r[e.name]&&"object"==typeof o&&null!==o&&(null==d||Array.isArray(d))){var h=r[e.name],f=i(e,o.variables,h);return x(e,t,f,o,!0===h[l],d)}return null}function f(e,n){var t=null;return(n.forEach(function(n,r){var i=null!=n?h(e,n):null;null!=i&&(t=t||[]).push(i)}),null==t)?null:{kind:"PluralReaderSelector",selectors:t}}function m(e,n){return null==n?n:e.metadata&&!0===e.metadata.plural?(Array.isArray(n)||p(!1),f(e,n)):(Array.isArray(n)&&p(!1),h(e,n))}function g(e,n){var t;return null==n?n:e.metadata&&!0===e.metadata.plural?(Array.isArray(n)||p(!1),t=null,n.forEach(function(n){var r=null!=n?y(e,n):null;null!=r&&(t=t||[]).push(r)}),t):(Array.isArray(n)&&p(!1),y(e,n))}function y(e,n){("object"!=typeof n||null===n||Array.isArray(n))&&p(!1);var t=n[c];return"string"==typeof t?t:null}function _(e,n){var t;return null==n?{}:(null===(t=e.metadata)||void 0===t?void 0:t.plural)===!0?(Array.isArray(n)||p(!1),b(e,n)):(Array.isArray(n)&&p(!1),v(e,n)||{})}function v(e,n){var t=h(e,n);return t?t.variables:null}function b(e,n){var t={};return n.forEach(function(n,r){if(null!=n){var i=v(e,n);null!=i&&Object.assign(t,i)}}),t}function C(e,n){var t,i;return e.dataID===n.dataID&&e.node===n.node&&d(e.variables,n.variables)&&((t=e.owner)===(i=n.owner)||t.identifier===i.identifier&&d(t.cacheConfig,i.cacheConfig))&&(!r.ENABLE_STRICT_EQUAL_SELECTORS||e.isWithinUnmatchedTypeRefinement===n.isWithinUnmatchedTypeRefinement&&function(e,n){if(e===n)return!0;if(null==e||null==n||e.length!==n.length)return!1;for(var t=e.length;t--;){var r=e[t],i=n[t];if(r!==i&&(null==r||null==i||r.clientEdgeDestinationID!==i.clientEdgeDestinationID||r.readerClientEdge!==i.readerClientEdge))return!1}return!0}(e.clientEdgeTraversalPath,n.clientEdgeTraversalPath))}function x(e,n,t,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5?arguments[5]:void 0;return{kind:"SingularReaderSelector",dataID:n,isWithinUnmatchedTypeRefinement:i,clientEdgeTraversalPath:null!=o?o:null,node:e,variables:t,owner:r}}t(710),e.exports={areEqualSelectors:function(e,n){return e===n||(null==e?null==n:null==n?null==e:"SingularReaderSelector"===e.kind&&"SingularReaderSelector"===n.kind?C(e,n):"PluralReaderSelector"===e.kind&&"PluralReaderSelector"===n.kind&&e.selectors.length===n.selectors.length&&e.selectors.every(function(e,t){return C(e,n.selectors[t])}))},createReaderSelector:x,createNormalizationSelector:function(e,n,t){return{dataID:n,node:e,variables:t}},getDataIDsFromFragment:g,getDataIDsFromObject:function(e,n){var t={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=n[r];t[r]=g(i,o)}return t},getSingularSelector:h,getPluralSelector:f,getSelector:m,getSelectorsFromObject:function(e,n){var t={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=n[r];t[r]=m(i,o)}return t},getVariablesFromSingularFragment:v,getVariablesFromPluralFragment:b,getVariablesFromFragment:_,getVariablesFromObject:function(e,n){var t={};for(var r in e)e.hasOwnProperty(r)&&Object.assign(t,_(e[r],n[r]));return t}}},21088:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(31681)),o=r(t(8442)),a=t(91387),s=a.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,l=a.assertInternalActorIdentifier;t(94412);var u=t(97250),c=t(29464),d=t(72592),p=t(99389),h=t(12966),f=t(3947),m=t(98662),g=t(74073),y=t(89297),_=t(42597),v=t(42597),b=v.ROOT_ID,C=v.ROOT_TYPE,x=t(55030).RecordResolverCache,k=t(78405),w=function(){function e(e,n){var t,r,i,a,s,l=this;(0,o.default)(this,"_gcStep",function(){l._gcRun&&(l._gcRun.next().done?l._gcRun=null:l._gcScheduler(l._gcStep))}),this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=null!==(t=null==n?void 0:n.gcReleaseBufferSize)&&void 0!==t?t:10,this._gcRun=null,this._gcScheduler=null!==(r=null==n?void 0:n.gcScheduler)&&void 0!==r?r:c,this._getDataID=null!==(i=null==n?void 0:n.getDataID)&&void 0!==i?i:p,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this.__log=null!==(a=null==n?void 0:n.log)&&void 0!==a?a:null,this._queryCacheExpirationTime=null==n?void 0:n.queryCacheExpirationTime,this._operationLoader=null!==(s=null==n?void 0:n.operationLoader)&&void 0!==s?s:null,this._optimisticSource=null,this._recordSource=e,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._resolverCache=new x(function(){return l._getMutableRecordSource()}),this._storeSubscriptions=new y(null==n?void 0:n.log,this._resolverCache),this._updatedRecordIDs=new Set,this._shouldProcessClientComponents=null==n?void 0:n.shouldProcessClientComponents,function(e){if(!e.has(b)){var n=h.create(b,C);e.set(b,n)}}(this._recordSource)}var n=e.prototype;return n.getSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},n._getMutableRecordSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},n.check=function(e,n){var t,r,i,o,a,u,c,p,h,f=e.root,m=this._getMutableRecordSource(),g=this._globalInvalidationEpoch,y=this._roots.get(e.request.identifier),_=null!=y?y.epoch:null;if(null!=g&&(null==_||_<=g))return{status:"stale"};var v=null!==(u=null==n?void 0:n.handlers)&&void 0!==u?u:[],b=null!==(c=null==n?void 0:n.getSourceForActor)&&void 0!==c?c:function(e){return l(e),m},C=null!==(p=null==n?void 0:n.getTargetForActor)&&void 0!==p?p:function(e){return l(e),m};return t=d.check(b,C,null!==(h=null==n?void 0:n.defaultActorIdentifier)&&void 0!==h?h:s,f,v,this._operationLoader,this._getDataID,this._shouldProcessClientComponents),r=null==y?void 0:y.fetchTime,i=this._queryCacheExpirationTime,o=t.mostRecentlyInvalidatedAt,a=t.status,"number"==typeof o&&(null==_||o>_)?{status:"stale"}:"missing"===a?{status:"missing"}:null!=r&&null!=i&&r<=Date.now()-i?{status:"stale"}:{status:"available",fetchTime:null!=r?r:null}},n.retain=function(e){var n=this,t=e.request.identifier,r=!1,i=this._roots.get(t);return null!=i?(0===i.refCount&&(this._releaseBuffer=this._releaseBuffer.filter(function(e){return e!==t})),i.refCount+=1):this._roots.set(t,{operation:e,refCount:1,epoch:null,fetchTime:null}),{dispose:function(){if(!r){r=!0;var e=n._roots.get(t);if(null!=e&&(e.refCount--,0===e.refCount)){var i=n._queryCacheExpirationTime;if(null!=e.fetchTime&&null!=i&&e.fetchTime<=Date.now()-i)n._roots.delete(t),n.scheduleGC();else if(n._releaseBuffer.push(t),n._releaseBuffer.length>n._gcReleaseBufferSize){var o=n._releaseBuffer.shift();n._roots.delete(o),n.scheduleGC()}}}}}},n.lookup=function(e){var n=this.getSource();return m.read(n,e,this._resolverCache)},n.notify=function(e,n){var t=this,r=this.__log;null!=r&&r({name:"store.notify.start",sourceOperation:e}),this._currentWriteEpoch++,!0===n&&(this._globalInvalidationEpoch=this._currentWriteEpoch),u.ENABLE_RELAY_RESOLVERS&&this._resolverCache.invalidateDataIDs(this._updatedRecordIDs);var i=this.getSource(),o=[];if(this._storeSubscriptions.updateSubscriptions(i,this._updatedRecordIDs,o,e),this._invalidationSubscriptions.forEach(function(e){t._updateInvalidationSubscription(e,!0===n)}),null!=r&&r({name:"store.notify.complete",sourceOperation:e,updatedRecordIDs:this._updatedRecordIDs,invalidatedRecordIDs:this._invalidatedRecordIDs}),this._updatedRecordIDs.clear(),this._invalidatedRecordIDs.clear(),null!=e){var a=e.request.identifier,s=this._roots.get(a);if(null!=s)s.epoch=this._currentWriteEpoch,s.fetchTime=Date.now();else if("query"===e.request.node.params.operationKind&&this._gcReleaseBufferSize>0&&this._releaseBuffer.length0&&(e._gcHoldCounter--,0===e._gcHoldCounter&&e._shouldScheduleGC&&(e.scheduleGC(),e._shouldScheduleGC=!1))}}},n.toJSON=function(){return"RelayModernStore()"},n.getEpoch=function(){return this._currentWriteEpoch},n.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},n.lookupInvalidationState=function(e){var n=this,t=new Map;return e.forEach(function(e){var r,i=n.getSource().get(e);t.set(e,null!==(r=h.getInvalidationEpoch(i))&&void 0!==r?r:null)}),t.set("global",this._globalInvalidationEpoch),{dataIDs:e,invalidations:t}},n.checkInvalidationState=function(e){var n=this.lookupInvalidationState(e.dataIDs).invalidations,t=e.invalidations;if(n.get("global")!==t.get("global"))return!0;var r,o=(0,i.default)(e.dataIDs);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(n.get(a)!==t.get(a))return!0}}catch(e){o.e(e)}finally{o.f()}return!1},n.subscribeToInvalidationState=function(e,n){var t=this,r={callback:n,invalidationState:e};return this._invalidationSubscriptions.add(r),{dispose:function(){t._invalidationSubscriptions.delete(r)}}},n._updateInvalidationSubscription=function(e,n){var t=this,r=e.callback,i=e.invalidationState.dataIDs;(n||i.some(function(e){return t._invalidatedRecordIDs.has(e)}))&&r()},n.snapshot=function(){null!=this._optimisticSource&&k(!1);var e=this.__log;null!=e&&e({name:"store.snapshot"}),this._storeSubscriptions.snapshotSubscriptions(this.getSource()),this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._optimisticSource=f.create(this.getSource())},n.restore=function(){null!=this._optimisticSource||k(!1);var e=this.__log;null!=e&&e({name:"store.restore"}),this._optimisticSource=null,this._shouldScheduleGC&&this.scheduleGC(),this._storeSubscriptions.restoreSubscriptions()},n.scheduleGC=function(){if(this._gcHoldCounter>0){this._shouldScheduleGC=!0;return}this._gcRun||(this._gcRun=this._collect(),this._gcScheduler(this._gcStep))},n.__gc=function(){if(null==this._optimisticSource)for(var e=this._collect();!e.next().done;);},n._collect=function*(){e:for(;;){var e,n=this._currentWriteEpoch,t=new Set,r=(0,i.default)(this._roots.values());try{for(r.s();!(e=r.n()).done;){var o=e.value.operation.root;if(g.mark(this._recordSource,o,t,this._operationLoader,this._shouldProcessClientComponents),yield,n!==this._currentWriteEpoch)continue e}}catch(e){r.e(e)}finally{r.f()}var a=this.__log;if(null!=a&&a({name:"store.gc",references:t}),0===t.size)this._recordSource.clear();else for(var s=this._recordSource.getRecordIDs(),l=0;l0?a.add(l):o.add(l))}}catch(e){s.e(e)}finally{s.f()}var c,d=(0,r.default)(o);try{for(d.s();!(c=d.n()).done;){var p=c.value;this._resolveOwnerResolvers(p),this._ownersToPendingOperations.delete(p)}}catch(e){d.e(e)}finally{d.f()}var h,f=(0,r.default)(a);try{for(f.s();!(h=f.n()).done;){var m=h.value;this._resolveOwnerResolvers(m)}}catch(e){f.e(e)}finally{f.f()}this._pendingOperationsToOwners.delete(n)}},n._resolveOwnerResolvers=function(e){var n=this._ownersToPendingPromise.get(e);null!=n&&n.resolve(),this._ownersToPendingPromise.delete(e)},n.getPendingOperationsAffectingOwner=function(e){var n,t=e.identifier,r=this._ownersToPendingOperations.get(t);if(null==r||0===r.size)return null;var o=this._ownersToPendingPromise.get(t);if(null!=o)return{promise:o.promise,pendingOperations:o.pendingOperations};var a=new Promise(function(e){n=e});null!=n||i(!1);var s=Array.from(r.values());return this._ownersToPendingPromise.set(t,{promise:a,resolve:n,pendingOperations:s}),{promise:a,pendingOperations:s}},e}();e.exports=o},3947:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(13305)),i=t(12966),o=t(26896),a=t(78405),s=i.fromObject(Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0})),l=function(){function e(e){this._base=e,this._sink=o.create()}var n=e.prototype;return n.has=function(e){return this._sink.has(e)?this._sink.get(e)!==s:this._base.has(e)},n.get=function(e){if(!this._sink.has(e))return this._base.get(e);var n=this._sink.get(e);if(n!==s)return n},n.getStatus=function(e){var n=this.get(e);return void 0===n?"UNKNOWN":null===n?"NONEXISTENT":"EXISTENT"},n.clear=function(){this._base=o.create(),this._sink.clear()},n.delete=function(e){this._sink.delete(e)},n.remove=function(e){this._sink.set(e,s)},n.set=function(e,n){this._sink.set(e,n)},n.getRecordIDs=function(){return Object.keys(this.toJSON())},n.size=function(){return Object.keys(this.toJSON()).length},n.toJSON=function(){var e=this,n=(0,r.default)({},this._base.toJSON());return this._sink.getRecordIDs().forEach(function(t){var r=e.get(t);void 0===r?delete n[t]:n[t]=i.toJSON(r)}),n},n.getOptimisticRecordIDs=function(){return new Set(this._sink.getRecordIDs())},e}();e.exports={create:function(e){return new l(e)},getOptimisticRecordIDs:function(e){return e instanceof l||a(!1),e.getOptimisticRecordIDs()}}},27738:function(e,n,t){"use strict";var r,i,o=t(94740),a=t(92505),s=t(91543),l=t(98662),u=t(26896),c=t(78405);t(710);var d=void 0!==t.g?t.g:"undefined"!=typeof window?window:void 0,p=null!==(r=null==d?void 0:null===(i=d.ErrorUtils)||void 0===i?void 0:i.applyWithGuard)&&void 0!==r?r:function(e,n,t,r,i){return e.apply(n,t)},h=function(){function e(e,n,t,r){this._hasStoreSnapshot=!1,this._handlerProvider=n||null,this._pendingBackupRebase=!1,this._pendingData=new Set,this._pendingOptimisticUpdates=new Set,this._store=e,this._appliedOptimisticUpdates=new Set,this._gcHold=null,this._getDataID=t,this._missingFieldHandlers=r}var n=e.prototype;return n.applyUpdate=function(e){(this._appliedOptimisticUpdates.has(e)||this._pendingOptimisticUpdates.has(e))&&c(!1),this._pendingOptimisticUpdates.add(e)},n.revertUpdate=function(e){this._pendingOptimisticUpdates.has(e)?this._pendingOptimisticUpdates.delete(e):this._appliedOptimisticUpdates.has(e)&&(this._pendingBackupRebase=!0,this._appliedOptimisticUpdates.delete(e))},n.revertAll=function(){this._pendingBackupRebase=!0,this._pendingOptimisticUpdates.clear(),this._appliedOptimisticUpdates.clear()},n.commitPayload=function(e,n,t){this._pendingBackupRebase=!0,this._pendingData.add({kind:"payload",operation:e,payload:n,updater:t})},n.commitUpdate=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"updater",updater:e})},n.commitSource=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"source",source:e})},n.run=function(e){var n=0===this._appliedOptimisticUpdates&&!!this._gcHold;if(!this._pendingBackupRebase&&0===this._pendingOptimisticUpdates.size&&!n)return[];this._pendingBackupRebase&&this._hasStoreSnapshot&&(this._store.restore(),this._hasStoreSnapshot=!1);var t=this._commitData();return(this._pendingOptimisticUpdates.size||this._pendingBackupRebase&&this._appliedOptimisticUpdates.size)&&(this._hasStoreSnapshot||(this._store.snapshot(),this._hasStoreSnapshot=!0),this._applyUpdates()),this._pendingBackupRebase=!1,this._appliedOptimisticUpdates.size>0?this._gcHold||(this._gcHold=this._store.holdGC()):this._gcHold&&(this._gcHold.dispose(),this._gcHold=null),this._store.notify(e,t)},n._publishSourceFromPayload=function(e){var n=this,t=e.payload,r=e.operation,i=e.updater,l=t.source,u=t.fieldPayloads,d=new o(this._store.getSource(),l),p=new a(d,this._getDataID,this._handlerProvider,this._missingFieldHandlers);if(u&&u.length&&u.forEach(function(e){var t=n._handlerProvider&&n._handlerProvider(e.handle);t||c(!1),t.update(p,e)}),i){var h=r.fragment;null!=h||c(!1),i(new s(d,p,h,this._missingFieldHandlers),f(l,h))}var m=p.getIDsMarkedForInvalidation();return this._store.publish(l,m),p.isStoreMarkedForInvalidation()},n._commitData=function(){var e=this;if(!this._pendingData.size)return!1;var n=!1;return this._pendingData.forEach(function(t){if("payload"===t.kind){var r=e._publishSourceFromPayload(t);n=n||r}else if("source"===t.kind){var i=t.source;e._store.publish(i)}else{var s=t.updater,l=u.create(),c=new a(new o(e._store.getSource(),l),e._getDataID,e._handlerProvider,e._missingFieldHandlers);p(s,null,[c],null,"RelayPublishQueue:commitData"),n=n||c.isStoreMarkedForInvalidation();var d=c.getIDsMarkedForInvalidation();e._store.publish(l,d)}}),this._pendingData.clear(),n},n._applyUpdates=function(){var e=this,n=u.create(),t=new o(this._store.getSource(),n),r=new a(t,this._getDataID,this._handlerProvider,this._missingFieldHandlers),i=function(n){if(n.storeUpdater)p(n.storeUpdater,null,[r],null,"RelayPublishQueue:applyUpdates");else{var i,o=n.operation,a=n.payload,l=n.updater,u=a.source,c=a.fieldPayloads;u&&r.publishSource(u,c),l&&(u&&(i=f(u,o.fragment)),p(l,null,[new s(t,r,o.fragment,e._missingFieldHandlers),i],null,"RelayPublishQueue:applyUpdates"))}};this._pendingBackupRebase&&this._appliedOptimisticUpdates.size&&this._appliedOptimisticUpdates.forEach(i),this._pendingOptimisticUpdates.size&&(this._pendingOptimisticUpdates.forEach(function(n){i(n),e._appliedOptimisticUpdates.add(n)}),this._pendingOptimisticUpdates.clear()),this._store.publish(n)},e}();function f(e,n){return l.read(e,n).data}e.exports=h},98662:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(8442)),o=r(t(31681)),a=r(t(83718)),s=t(65070),l=s.ACTOR_CHANGE,u=s.ALIASED_FRAGMENT_SPREAD,c=s.ALIASED_INLINE_FRAGMENT_SPREAD,d=s.CLIENT_EDGE_TO_CLIENT_OBJECT,p=s.CLIENT_EDGE_TO_SERVER_OBJECT,h=s.CLIENT_EXTENSION,f=s.CONDITION,m=s.DEFER,g=s.FRAGMENT_SPREAD,y=s.INLINE_DATA_FRAGMENT_SPREAD,_=s.INLINE_FRAGMENT,v=s.LINKED_FIELD,b=s.MODULE_IMPORT,C=s.RELAY_LIVE_RESOLVER,x=s.RELAY_RESOLVER,k=s.REQUIRED_FIELD,w=s.SCALAR_FIELD,E=s.STREAM,T=t(97250),S=t(7900).isSuspenseSentinel,I=t(62818),R=t(12966),A=t(42597),P=A.CLIENT_EDGE_TRAVERSAL_PATH,N=A.FRAGMENT_OWNER_KEY,O=A.FRAGMENT_PROP_NAME_KEY,L=A.FRAGMENTS_KEY,M=A.ID_KEY,D=A.MODULE_COMPONENT_KEY,F=A.ROOT_ID,j=A.getArgumentValues,B=A.getModuleComponentKey,U=A.getStorageKey,K=t(55030).NoopResolverCache,z=t(47554),q=z.RESOLVER_FRAGMENT_MISSING_DATA_SENTINEL,H=z.withResolverContext,$=t(88891).generateTypeID,V=t(78405);function G(e,n,t){return new Z(e,n,null!=t?t:new K).read()}var Z=function(){function e(e,n,t){var r;this._clientEdgeTraversalPath=T.ENABLE_CLIENT_EDGES&&null!==(r=n.clientEdgeTraversalPath)&&void 0!==r&&r.length?(0,a.default)(n.clientEdgeTraversalPath):[],this._missingClientEdges=[],this._missingLiveResolverFields=[],this._isMissingData=!1,this._isWithinUnmatchedTypeRefinement=!1,this._missingRequiredFields=null,this._errorResponseFields=null,this._owner=n.owner,this._recordSource=e,this._seenRecords=new Set,this._selector=n,this._variables=n.variables,this._resolverCache=t,this._resolverErrors=[],this._fragmentName=n.node.name,this._updatedDataIDs=new Set}var n=e.prototype;return n.read=function(){var e=this._selector,n=e.node,t=e.dataID,r=e.isWithinUnmatchedTypeRefinement,i=n.abstractKey,o=this._recordSource.get(t),a=!r;if(a&&null==i&&null!=o&&R.getType(o)!==n.type&&t!==F&&(a=!1),a&&null!=i&&null!=o){var s=this._implementsInterface(o,i);!1===s?a=!1:null==s&&(this._isMissingData=!0)}this._isWithinUnmatchedTypeRefinement=!a;var l=this._traverse(n,t,null);return this._updatedDataIDs.size>0&&(this._resolverCache.notifyUpdatedSubscribers(this._updatedDataIDs),this._updatedDataIDs.clear()),{data:l,isMissingData:this._isMissingData&&a,missingClientEdges:T.ENABLE_CLIENT_EDGES&&this._missingClientEdges.length?this._missingClientEdges:null,missingLiveResolverFields:this._missingLiveResolverFields,seenRecords:this._seenRecords,selector:this._selector,missingRequiredFields:this._missingRequiredFields,relayResolverErrors:this._resolverErrors,errorResponseFields:this._errorResponseFields}},n._maybeAddErrorResponseFields=function(e,n){if(T.ENABLE_FIELD_ERROR_HANDLING){var t=R.getErrors(e,n);if(null!=t){var r=this._fragmentName;null==this._errorResponseFields&&(this._errorResponseFields=[]);var i,a=(0,o.default)(t);try{for(a.s();!(i=a.n()).done;){var s,l=i.value;this._errorResponseFields.push({owner:r,path:(null!==(s=l.path)&&void 0!==s?s:[]).join("."),error:l})}}catch(e){a.e(e)}finally{a.f()}}}},n._markDataAsMissing=function(){if(this._isMissingData=!0,T.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.length){var e=this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1];null!==e&&this._missingClientEdges.push({request:e.readerClientEdge.operation,clientEdgeDestinationID:e.clientEdgeDestinationID})}},n._traverse=function(e,n,t){var r=this._recordSource.get(n);if(this._seenRecords.add(n),null==r)return void 0===r&&this._markDataAsMissing(),r;var i=t||{};return this._traverseSelections(e.selections,r,i)?i:null},n._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||V(!1),this._variables[e]},n._maybeReportUnexpectedNull=function(e,n){if((null===(t=this._missingRequiredFields)||void 0===t?void 0:t.action)!=="THROW"){var t,r=this._fragmentName;switch(n){case"THROW":this._missingRequiredFields={action:n,field:{path:e,owner:r}};return;case"LOG":null==this._missingRequiredFields?this._missingRequiredFields={action:n,fields:[{path:e,owner:r}]}:this._missingRequiredFields={action:n,fields:[].concat((0,a.default)(this._missingRequiredFields.fields),[{path:e,owner:r}])};return}}},n._traverseSelections=function(e,n,t){for(var r=0;rS||this._missingLiveResolverFields.length>0,T.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.pop(),!I)return!1;break;case E:if(!this._traverseSelections(i.selections,n,t))return!1;break;case l:this._readActorChange(i,n,t);break;case d:case p:if(T.ENABLE_CLIENT_EDGES)this._readClientEdge(i,n,t);else throw Error("Client edges are not yet supported.");break;default:V(!1)}}return!0},n._readRequiredField=function(e,n,t){switch(e.field.kind){case w:return this._readScalar(e.field,n,t);case v:if(e.field.plural)return this._readPluralLink(e.field,n,t);return this._readLink(e.field,n,t);case x:case C:if(!T.ENABLE_RELAY_RESOLVERS)throw Error("Relay Resolver fields are not yet supported.");return this._readResolverField(e.field,n,t);case d:case p:if(!T.ENABLE_RELAY_RESOLVERS)throw Error("Relay Resolver fields are not yet supported.");return this._readClientEdge(e.field,n,t);default:e.field.kind,V(!1)}},n._readResolverField=function(e,n,t){var r,i=R.getDataID(n),o=this._readResolverFieldImpl(e,i);return t[null!==(r=e.alias)&&void 0!==r?r:e.name]=o,o},n._readResolverFieldImpl=function(e,n){var t,r=this,o=e.fragment,a=function(e){return null!=t?{data:t.data,isMissingData:t.isMissingData}:{data:(t=G(r._recordSource,e,r._resolverCache)).data,isMissingData:t.isMissingData}},s=this._resolverCache.readFromCacheOrEvaluate(n,e,this._variables,function(){if(null!=o){var s={__id:n,__fragmentOwner:r._owner,__fragments:(0,i.default)({},o.name,o.args?j(o.args,r._variables):{})};return H({getDataForResolverFragment:a},function(){var n=W(e,r._variables,s),i=n[0],o=n[1];return{resolverResult:i,snapshot:t,error:o}})}var l=W(e,r._variables,null);return{resolverResult:l[0],snapshot:void 0,error:l[1]}},a),l=s[0],u=s[1],c=s[2],d=s[3],p=s[4],h=s[5];return this._propogateResolverMetadata(e.path,d,c,u,p,h),l},n._propogateResolverMetadata=function(e,n,t,r,i,a){if(null!=n){if(null!=n.missingRequiredFields&&this._addMissingRequiredFields(n.missingRequiredFields),null!=n.missingClientEdges){var s,l=(0,o.default)(n.missingClientEdges);try{for(l.s();!(s=l.n()).done;){var u=s.value;this._missingClientEdges.push(u)}}catch(e){l.e(e)}finally{l.f()}}if(null!=n.missingLiveResolverFields){this._isMissingData=this._isMissingData||n.missingLiveResolverFields.length>0;var c,d=(0,o.default)(n.missingLiveResolverFields);try{for(d.s();!(c=d.n()).done;){var p=c.value;this._missingLiveResolverFields.push(p)}}catch(e){d.e(e)}finally{d.f()}}var h,f=(0,o.default)(n.relayResolverErrors);try{for(f.s();!(h=f.n()).done;){var m=h.value;this._resolverErrors.push(m)}}catch(e){f.e(e)}finally{f.f()}this._isMissingData=this._isMissingData||n.isMissingData}if(t&&this._resolverErrors.push({field:{path:e,owner:this._fragmentName},error:t}),null!=r&&this._seenRecords.add(r),null!=i&&(this._isMissingData=!0,this._missingLiveResolverFields.push({path:"".concat(this._fragmentName,".").concat(e),liveStateID:i})),null!=a){var g,y=(0,o.default)(a);try{for(y.s();!(g=y.n()).done;){var _=g.value;this._updatedDataIDs.add(_)}}catch(e){y.e(e)}finally{y.f()}}},n._readClientEdge=function(e,n,t){var r,i=this,o=e.backingField;"ClientExtension"!==o.kind||V(!1);var a=null!==(r=o.alias)&&void 0!==r?r:o.name,s={};this._traverseSelections([o],n,s);var l=s[a];if(null==l||S(l))return t[a]=l,l;var u=e.linkedField.plural?(Array.isArray(l)||V(!1),{kind:"PluralConcrete",ids:l.map(function(e){return Q(e,"Expected this plural Client Edge Relay Resolver to return an array containing IDs or objects with shape {id}.")})}):{kind:"SingularConcrete",id:Q(l,"Expected this Client Edge Relay Resolver to return an ID of type `string` or an object with shape {id}.")};switch(u.kind){case"PluralConcrete":var c=function(e,n,t){if(e.kind===d){if(null!=e.backingField.normalizationInfo)return n;var r=e.concreteType;return null!=r||V(!1),n.map(function(e){return t.ensureClientRecord(e,r)})}V(!1)}(e,u.ids,this._resolverCache),p=c;if(null!=e.modelResolver){var h=e.modelResolver;p=c.map(function(e){return null!=i._readResolverFieldImpl(h,e)?e:null})}this._clientEdgeTraversalPath.push(null);var f=this._readLinkedIds(e.linkedField,p,n,t);return this._clientEdgeTraversalPath.pop(),t[a]=f,f;case"SingularConcrete":var m=function(e,n,t){if(e.kind!==d)return[n,{readerClientEdge:e,clientEdgeDestinationID:n}];if(null!=e.backingField.normalizationInfo)return[n,null];var r=e.concreteType;return null!=r||V(!1),[t.ensureClientRecord(n,r),null]}(e,u.id,this._resolverCache),g=m[0],y=m[1];if(null!=e.modelResolver&&null==this._readResolverFieldImpl(e.modelResolver,g))return t[a]=null,null;this._clientEdgeTraversalPath.push(y);var _=t[a];null==_||"object"==typeof _||V(!1);var v=this._traverse(e.linkedField,g,_);return this._clientEdgeTraversalPath.pop(),t[a]=v,v;default:u.kind}},n._readScalar=function(e,n,t){var r,i=null!==(r=e.alias)&&void 0!==r?r:e.name,o=U(e,this._variables),a=R.getValue(n,o);return null===a?this._maybeAddErrorResponseFields(n,o):void 0===a&&this._markDataAsMissing(),t[i]=a,a},n._readLink=function(e,n,t){var r,i=null!==(r=e.alias)&&void 0!==r?r:e.name,o=U(e,this._variables),a=R.getLinkedRecordID(n,o);if(null==a)return t[i]=a,null===a?this._maybeAddErrorResponseFields(n,o):void 0===a&&this._markDataAsMissing(),a;var s=t[i];null==s||"object"==typeof s||V(!1);var l=this._traverse(e,a,s);return t[i]=l,l},n._readActorChange=function(e,n,t){var r,i=null!==(r=e.alias)&&void 0!==r?r:e.name,o=U(e,this._variables),a=R.getActorLinkedRecordID(n,o);if(null==a)return t[i]=a,void 0===a?this._markDataAsMissing():null===a&&this._maybeAddErrorResponseFields(n,o),t[i];var s=a[0],l=a[1],u={};return this._createFragmentPointer(e.fragmentSpread,R.fromObject({__id:l}),u),t[i]={__fragmentRef:u,__viewer:s},t[i]},n._readPluralLink=function(e,n,t){var r=U(e,this._variables),i=R.getLinkedRecordIDs(n,r);return null===i&&this._maybeAddErrorResponseFields(n,r),this._readLinkedIds(e,i,n,t)},n._readLinkedIds=function(e,n,t,r){var i,o=this,a=null!==(i=e.alias)&&void 0!==i?i:e.name;if(null==n)return r[a]=n,void 0===n&&this._markDataAsMissing(),n;var s=r[a];null==s||Array.isArray(s)||V(!1);var l=s||[];return n.forEach(function(n,t){if(null==n){void 0===n&&o._markDataAsMissing(),l[t]=n;return}var r=l[t];null==r||"object"==typeof r||V(!1),l[t]=o._traverse(e,n,r)}),r[a]=l,l},n._readModuleImport=function(e,n,t){var r=B(e.documentName),i=R.getValue(n,r);if(null==i){void 0===i&&this._markDataAsMissing();return}this._createFragmentPointer({kind:"FragmentSpread",name:e.fragmentName,args:e.args},n,t),t[O]=e.fragmentPropName,t[D]=i},n._createAliasedFragmentSpread=function(e,n){var t=e.abstractKey;if(null==t){var r=R.getType(n);if(null==r||r!==e.type)return null}else{var i=this._implementsInterface(n,t);if(!1===i)return null;if(null==i){this._markDataAsMissing();return}}var o={};return this._createFragmentPointer(e.fragment,n,o),R.fromObject(o)},n._readInlineFragment=function(e,n,t){var r=e.abstractKey;if(null==r){var i=R.getType(n);if(null==i||i!==e.type)return null;if(!this._traverseSelections(e.selections,n,t))return!1}else{var o=this._implementsInterface(n,r),a=this._isMissingData,s=this._isWithinUnmatchedTypeRefinement;if(this._isWithinUnmatchedTypeRefinement=s||!1===o,this._traverseSelections(e.selections,n,t),this._isWithinUnmatchedTypeRefinement=s,!1===o){this._isMissingData=a;return}if(null==o)return this._markDataAsMissing(),null}return t},n._createFragmentPointer=function(e,n,t){var r=t[L];null==r&&(r=t[L]={}),"object"==typeof r&&null!=r||V(!1),null==t[M]&&(t[M]=R.getDataID(n)),r[e.name]=j(e.args,this._variables,this._isWithinUnmatchedTypeRefinement),t[N]=this._owner,T.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.length>0&&null!==this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1]&&(t[P]=(0,a.default)(this._clientEdgeTraversalPath))},n._createInlineDataOrResolverFragmentPointer=function(e,n,t){var r=t[L];null==r&&(r=t[L]={}),"object"==typeof r&&null!=r||V(!1),null==t[M]&&(t[M]=R.getDataID(n));var i={},o=this._fragmentName;this._fragmentName=e.name;var a=this._variables,s=e.args?j(e.args,this._variables):{};this._variables=I.getFragmentVariables(e,this._owner.variables,s),this._traverseSelections(e.selections,n,i),this._variables=a,this._fragmentName=o,r[e.name]=i},n._addMissingRequiredFields=function(e){if(null==this._missingRequiredFields){this._missingRequiredFields=e;return}if("THROW"!==this._missingRequiredFields.action){if("THROW"===e.action){this._missingRequiredFields=e;return}this._missingRequiredFields={action:"LOG",fields:[].concat((0,a.default)(this._missingRequiredFields.fields),(0,a.default)(e.fields))}}},n._implementsInterface=function(e,n){var t=R.getType(e),r=this._recordSource.get($(t));return null!=r?R.getValue(r,n):null},e}();function W(e,n,t){var r="function"==typeof e.resolverModule?e.resolverModule:e.resolverModule.default,i=null,o=null;try{var a=[];null!=e.fragment&&a.push(t);var s=e.args?j(e.args,n):void 0;a.push(s),i=r.apply(null,a)}catch(e){e===q?i=void 0:o=e}return[i,o]}function Q(e,n){return"string"==typeof e?e:"object"==typeof e&&null!=e&&"string"==typeof e.id?e.id:void V(!1)}e.exports={read:G}},26896:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(31681)),i=t(12966),o=t(71600),a=o.EXISTENT,s=o.NONEXISTENT,l=o.UNKNOWN,u=function(){function e(e){var n=this;this._records=new Map,null!=e&&Object.keys(e).forEach(function(t){var r=e[t],o=i.fromObject(r);n._records.set(t,o)})}e.create=function(n){return new e(n)};var n=e.prototype;return n.clear=function(){this._records=new Map},n.delete=function(e){this._records.set(e,null)},n.get=function(e){return this._records.get(e)},n.getRecordIDs=function(){return Array.from(this._records.keys())},n.getStatus=function(e){return this._records.has(e)?null==this._records.get(e)?s:a:l},n.has=function(e){return this._records.has(e)},n.remove=function(e){this._records.delete(e)},n.set=function(e,n){this._records.set(e,n)},n.size=function(){return this._records.size},n.toJSON=function(){var e,n={},t=(0,r.default)(this._records);try{for(t.s();!(e=t.n()).done;){var o=e.value,a=o[0],s=o[1];n[a]=i.toJSON(s)}}catch(e){t.e(e)}finally{t.f()}return n},e}();e.exports=u},71600:function(e){"use strict";e.exports={EXISTENT:"EXISTENT",NONEXISTENT:"NONEXISTENT",UNKNOWN:"UNKNOWN"}},74073:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(31681)),i=t(30534),o=t(65070),a=t(18402),s=t(94462),l=t(62818).getLocalVariables,u=t(12966),c=t(42597),d=t(88891).generateTypeID,p=t(78405),h=o.ACTOR_CHANGE,f=o.CONDITION,m=o.CLIENT_COMPONENT,g=o.CLIENT_EXTENSION,y=o.DEFER,_=o.FRAGMENT_SPREAD,v=o.INLINE_FRAGMENT,b=o.LINKED_FIELD,C=o.MODULE_IMPORT,x=o.LINKED_HANDLE,k=o.SCALAR_FIELD,w=o.SCALAR_HANDLE,E=o.STREAM,T=o.TYPE_DISCRIMINATOR,S=o.RELAY_RESOLVER,I=o.RELAY_LIVE_RESOLVER,R=o.CLIENT_EDGE_TO_CLIENT_OBJECT,A=c.getStorageKey,P=c.getModuleOperationKey,N=function(){function e(e,n,t,r,i){this._operationLoader=null!=r?r:null,this._operationName=null,this._recordSource=e,this._references=t,this._variables=n,this._shouldProcessClientComponents=i}var n=e.prototype;return n.mark=function(e,n){("Operation"===e.kind||"SplitOperation"===e.kind)&&(this._operationName=e.name),this._traverse(e,n)},n._traverse=function(e,n){this._references.add(n);var t=this._recordSource.get(n);null!=t&&this._traverseSelections(e.selections,t)},n._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||p(!1),this._variables[e]},n._traverseSelections=function(e,n){var t=this;e.forEach(function(r){switch(r.kind){case h:t._traverseLink(r.linkedField,n);break;case b:r.plural?t._traversePluralLink(r,n):t._traverseLink(r,n);break;case f:!!t._getVariableValue(r.condition)===r.passingValue&&t._traverseSelections(r.selections,n);break;case v:if(null==r.abstractKey){var i=u.getType(n);(null!=i&&i===r.type||i===c.ROOT_TYPE)&&t._traverseSelections(r.selections,n)}else{var o=d(u.getType(n));t._references.add(o),t._traverseSelections(r.selections,n)}break;case _:var s=t._variables;t._variables=l(t._variables,r.fragment.argumentDefinitions,r.args),t._traverseSelections(r.fragment.selections,n),t._variables=s;break;case x:var A=a(r,e,t._variables);A.plural?t._traversePluralLink(A,n):t._traverseLink(A,n);break;case y:case E:t._traverseSelections(r.selections,n);break;case k:case w:break;case T:var P=d(u.getType(n));t._references.add(P);break;case C:t._traverseModuleImport(r,n);break;case g:t._traverseSelections(r.selections,n);break;case m:if(!1===t._shouldProcessClientComponents)break;t._traverseSelections(r.fragment.selections,n);break;case S:case I:t._traverseResolverField(r,n);break;case R:t._traverseClientEdgeToClientObject(r,n);break;default:p(!1)}})},n._traverseClientEdgeToClientObject=function(e,n){var t=this._traverseResolverField(e.backingField,n);if(null!=t){var i=this._recordSource.get(t);if(null!=i){if(e.backingField.isOutputType){var o=s(i);if(null!=o){var a,l=(0,r.default)(o);try{for(l.s();!(a=l.n()).done;){var c=a.value;this._references.add(c)}}catch(e){l.e(e)}finally{l.f()}}}else{var d=e.linkedField,p=d.concreteType;if(null==p)return;if(d.plural){var h=u.getResolverLinkedRecordIDs(i,p);if(null!=h){var f,m=(0,r.default)(h);try{for(m.s();!(f=m.n()).done;){var g=f.value;null!=g&&this._traverse(d,g)}}catch(e){m.e(e)}finally{m.f()}}}else{var y=u.getResolverLinkedRecordID(i,p);null!=y&&this._traverse(d,y)}}}}},n._traverseResolverField=function(e,n){var t=A(e,this._variables),r=u.getLinkedRecordID(n,t);null!=r&&this._references.add(r);var i=e.fragment;return null!=i&&this._traverseSelections([i],n),r},n._traverseModuleImport=function(e,n){var t=this._operationLoader;null!==t||p(!1);var r=P(e.documentName),o=u.getValue(n,r);if(null!=o){var a=t.get(o);if(null!=a){var s=i(a),c=this._variables;this._variables=l(this._variables,s.argumentDefinitions,e.args),this._traverseSelections(s.selections,n),this._variables=c}}},n._traverseLink=function(e,n){var t=A(e,this._variables),r=u.getLinkedRecordID(n,t);null!=r&&this._traverse(e,r)},n._traversePluralLink=function(e,n){var t=this,r=A(e,this._variables),i=u.getLinkedRecordIDs(n,r);null!=i&&i.forEach(function(n){null!=n&&t._traverse(e,n)})},e}();e.exports={mark:function(e,n,t,r,i){var o=n.dataID,a=n.node;new N(e,n.variables,t,r,i).mark(a,o)}}},60443:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(31681)),o=r(t(83718)),a=t(71631),s=(a.ACTOR_IDENTIFIER_FIELD_NAME,a.getActorIdentifierFromPayload),l=t(65070),u=l.ACTOR_CHANGE,c=l.CLIENT_COMPONENT,d=l.CLIENT_EDGE_TO_CLIENT_OBJECT,p=l.CLIENT_EXTENSION,h=l.CONDITION,f=l.DEFER,m=l.FRAGMENT_SPREAD,g=l.INLINE_FRAGMENT,y=l.LINKED_FIELD,_=l.LINKED_HANDLE,v=l.MODULE_IMPORT,b=l.RELAY_LIVE_RESOLVER,C=l.RELAY_RESOLVER,x=l.SCALAR_FIELD,k=l.SCALAR_HANDLE,w=l.STREAM,E=l.TYPE_DISCRIMINATOR,T=t(13475),S=T.generateClientID;T.isClientID;var I=t(62818).getLocalVariables,R=t(831),A=R.buildErrorTrie,P=R.getErrorsByKey,N=R.getNestedErrorTrieByKey,O=t(12966),L=t(90627).createNormalizationSelector,M=t(42597),D=(M.ROOT_ID,M.TYPENAME_KEY),F=M.getArgumentValues,j=M.getHandleStorageKey,B=M.getModuleComponentKey,U=M.getModuleOperationKey,K=M.getStorageKey,z=t(88891),q=z.TYPE_SCHEMA_TYPE,H=z.generateTypeID;t(49150);var $=t(78405);t(710);var V=function(){function e(e,n,t){this._actorIdentifier=t.actorIdentifier,this._getDataId=t.getDataID,this._handleFieldPayloads=[],this._treatMissingFieldsAsNull=t.treatMissingFieldsAsNull,this._incrementalPlaceholders=[],this._isClientExtension=!1,this._isUnmatchedAbstractType=!1,this._followupPayloads=[],this._path=t.path?(0,o.default)(t.path):[],this._recordSource=e,this._variables=n,this._shouldProcessClientComponents=t.shouldProcessClientComponents}var n=e.prototype;return n.normalizeResponse=function(e,n,t,r){var i=this._recordSource.get(n);return i||$(!1),this._assignClientAbstractTypes(e),this._errorTrie=A(r),this._traverseSelections(e,i,t),{errors:r,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,followupPayloads:this._followupPayloads,source:this._recordSource,isFinal:!1}},n._assignClientAbstractTypes=function(e){var n=e.clientAbstractTypes;if(null!=n)for(var t=0,r=Object.keys(n);t-1})),t&&(d=null!=d?[t].concat((0,r.default)(d)):[t]),null===d)?c:f(c,h(d,n))},getStorageKey:function(e,n){if(e.storageKey)return e.storageKey;var t=function(e){if("RelayResolver"===e.kind||"RelayLiveResolver"===e.kind){var n,t;return null==e.args?null===(t=e.fragment)||void 0===t?void 0:t.args:(null===(n=e.fragment)||void 0===n?void 0:n.args)==null?e.args:e.args.concat(e.fragment.args)}return void 0===e.args?void 0:e.args}(e),r=e.name;return t&&0!==t.length?f(r,h(t,n)):r},getStableStorageKey:function(e,n){return f(e,a(n))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=m},55030:function(e,n,t){"use strict";var r=(0,t(32275).default)(t(31681)),i=t(21679),o=t(65070).RELAY_LIVE_RESOLVER,a=t(97250),s=t(95117),l=t(13475).generateClientID,u=t(12966),c=t(42597),d=c.RELAY_RESOLVER_ERROR_KEY,p=c.RELAY_RESOLVER_INVALIDATION_KEY,h=c.RELAY_RESOLVER_SNAPSHOT_KEY,f=c.RELAY_RESOLVER_VALUE_KEY,m=c.getStorageKey,g=t(78405);t(710);var y=new Set,_=function(){function e(){}var n=e.prototype;return n.readFromCacheOrEvaluate=function(e,n,t,r,i){n.kind!==o||g(!1);var a=r(),s=a.resolverResult,l=a.snapshot;return[s,void 0,a.error,l,void 0,void 0]},n.invalidateDataIDs=function(e){},n.ensureClientRecord=function(e,n){g(!1)},n.notifyUpdatedSubscribers=function(e){},e}();function v(e,n,t){var r=e.get(n);r||(r=new Set,e.set(n,r)),r.add(t)}var b=function(){function e(e){this._resolverIDToRecordIDs=new Map,this._recordIDToResolverIDs=new Map,this._getRecordSource=e}var n=e.prototype;return n.readFromCacheOrEvaluate=function(e,n,t,i,o){var c=this._getRecordSource(),p=c.get(e);null!=p||g(!1);var y=m(n,t),_=u.getLinkedRecordID(p,y),b=null==_?null:c.get(_);if(null==b||this._isInvalid(b,o)){_=null!==(T=_)&&void 0!==T?T:l(e,y),b=u.create(_,"__RELAY_RESOLVER__");var C=i();a.ENABLE_SHALLOW_FREEZE_RESOLVER_VALUES&&s(C.resolverResult),u.setValue(b,f,C.resolverResult),u.setValue(b,h,C.snapshot),u.setValue(b,d,C.error),c.set(_,b);var x=c.get(e);null!=x||g(!1);var k=u.clone(x);if(u.setLinkedRecordID(k,y,_),c.set(e,k),null!=n.fragment){var w=l(e,m(n.fragment,t));v(this._resolverIDToRecordIDs,w,_),v(this._recordIDToResolverIDs,e,w);var E=null===(S=C.snapshot)||void 0===S?void 0:S.seenRecords;if(null!=E){var T,S,I,R=(0,r.default)(E);try{for(R.s();!(I=R.n()).done;){var A=I.value;v(this._recordIDToResolverIDs,A,w)}}catch(e){R.e(e)}finally{R.f()}}}}var P=u.getValue(b,f),N=u.getValue(b,h);return[P,_,u.getValue(b,d),N,void 0,void 0]},n.invalidateDataIDs=function(e){for(var n=this._getRecordSource(),t=new Set,i=Array.from(e);i.length;){var o=i.pop();e.add(o);var a,s=(0,r.default)(null!==(u=this._recordIDToResolverIDs.get(o))&&void 0!==u?u:y);try{for(s.s();!(a=s.n()).done;){var l=a.value;if(!t.has(l)){var u,c,d=(0,r.default)(null!==(p=this._resolverIDToRecordIDs.get(l))&&void 0!==p?p:y);try{for(d.s();!(c=d.n()).done;){var p,h=c.value;this._markInvalidatedResolverRecord(h,n,e),t.has(h)||i.push(h)}}catch(e){d.e(e)}finally{d.f()}}}}catch(e){s.e(e)}finally{s.f()}}},n._markInvalidatedResolverRecord=function(e,n,t){var r=n.get(e);if(r){var i=u.clone(r);u.setValue(i,p,!0),n.set(e,i)}},n._isInvalid=function(e,n){if(!u.getValue(e,p))return!1;var t=u.getValue(e,h),r=null==t?void 0:t.data,o=null==t?void 0:t.selector;return null==r||null==o||i(r,n(o).data)!==r},n.ensureClientRecord=function(e,n){g(!1)},n.notifyUpdatedSubscribers=function(e){g(!1)},e}();e.exports={NoopResolverCache:_,RecordResolverCache:b}},47554:function(e,n,t){"use strict";var r=t(13323).getFragment,i=t(90627).getSelector,o=t(78405),a=[],s={};e.exports={readFragment:function(e,n){if(!a.length)throw Error("readFragment should be called only from within a Relay Resolver function.");var t=a[a.length-1],l=i(r(e),n);null!=l||o(!1),"SingularReaderSelector"!==l.kind&&o(!1);var u=t.getDataForResolverFragment(l,n),c=u.data;if(u.isMissingData)throw s;return c},withResolverContext:function(e,n){a.push(e);try{return n()}finally{a.pop()}},RESOLVER_FRAGMENT_MISSING_DATA_SENTINEL:s}},88891:function(e){"use strict";var n="client:__type:";e.exports={generateTypeID:function(e){return n+e},isTypeID:function(e){return 0===e.indexOf(n)},TYPE_SCHEMA_TYPE:"__TypeSchema"}},83927:function(e,n,t){"use strict";var r=(0,t(13475).generateClientID)(t(42597).ROOT_ID,"viewer");e.exports={VIEWER_ID:r,VIEWER_TYPE:"Viewer"}},18402:function(e,n,t){"use strict";var r=t(65070).LINKED_FIELD,i=t(42597).getHandleStorageKey,o=t(49150),a=t(78405);e.exports=function(e,n,t){var s=n.find(function(n){return n.kind===r&&n.name===e.name&&n.alias===e.alias&&o(n.args,e.args)});s&&s.kind===r||a(!1);var l=i(e,t);return{kind:"LinkedField",alias:s.alias,name:l,storageKey:l,args:null,concreteType:s.concreteType,plural:s.plural,selections:s.selections}}},72757:function(e,n,t){"use strict";var r=t(65070).SCALAR_FIELD,i=t(42597).getHandleStorageKey,o=t(49150),a=t(78405);e.exports=function(e,n,t){var s=n.find(function(n){return n.kind===r&&n.name===e.name&&n.alias===e.alias&&o(n.args,e.args)});s&&s.kind===r||a(!1);var l=i(e,t);return{kind:"ScalarField",alias:s.alias,name:l,storageKey:l,args:null}}},29078:function(e,n,t){"use strict";var r=t(99794);t(710),e.exports=function(e,n,t,i,o,a){return new r(e,t,i,a,o)}},20584:function(e,n,t){"use strict";var r,i,o=t(78405);e.exports=function(e){return r||(r=e.createContext(null),i=e),e!==i&&o(!1),r}},99389:function(e,n,t){"use strict";var r=t(83927),i=r.VIEWER_ID,o=r.VIEWER_TYPE;e.exports=function(e,n){return n===o&&null==e.id?i:e.id}},92222:function(e){"use strict";e.exports=function(e){}},7900:function(e){"use strict";var n=Object.freeze({__LIVE_RESOLVER_SUSPENSE_SENTINEL:!0});e.exports={isSuspenseSentinel:function(e){return e===n},suspenseSentinel:function(){return n}}},94462:function(e,n,t){"use strict";var r=t(12966),i=t(42597).RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,o=t(78405);e.exports=function(e){var n=r.getValue(e,i);return null==n?null:(n instanceof Set||o(!1),n)}},20653:function(e){"use strict";var n=Symbol.iterator;e.exports=function(e,t){for(var r=e[n](),i=r.next();!i.done;){var o=i.value;if(t.has(o))return!0;i=r.next()}return!1}},16527:function(e,n,t){"use strict";var r=t(42597).ROOT_ID,i=t(83927).VIEWER_ID,o=Symbol.iterator;e.exports=function(e,n){for(var t=e[o](),a=t.next();!a.done;){var s=a.value;if(n.has(s)&&s!==r&&s!==i)return!0;a=t.next()}return!1}},86407:function(e){"use strict";e.exports=function(e){return!!(e&&e["@@RelayModernEnvironment"])}},70390:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(13305)),o=r(t(12966)),a=r(t(26896)),s=r(t(60443));e.exports=function(e,n,t,r){var l,u=e.data,c=e.errors,d=a.default.create(),p=o.default.create(n.dataID,t);d.set(n.dataID,p);var h=s.default.normalize(d,n,u,r,c);return(0,i.default)((0,i.default)({},h),{},{isFinal:(null===(l=e.extensions)||void 0===l?void 0:l.is_final)===!0})}},88465:function(e,n,t){"use strict";var r=t(13323).getInlineDataFragment,i=t(42597).FRAGMENTS_KEY,o=t(78405);e.exports=function(e,n){var t,a=r(e);if(null==n)return n;"object"!=typeof n&&o(!1);var s=null===(t=n[i])||void 0===t?void 0:t[a.name];return null!=s||o(!1),s}},3434:function(e,n,t){"use strict";var r=t(72812),i=t(13323).getRequest,o=t(47788).createOperationDescriptor,a=t(90627).createReaderSelector;t(710),e.exports=function(e,n){var t=i(n.subscription);if("subscription"!==t.params.operationKind)throw Error("requestSubscription: Must use Subscription operation");var s=n.configs,l=n.onCompleted,u=n.onError,c=n.onNext,d=o(t,n.variables,n.cacheConfig),p=(s?r.convert(s,t,null,n.updater):n).updater;return{dispose:e.executeSubscription({operation:d,updater:p}).subscribe({next:function(n){if(null!=c){var t,r,i,o,s=d.fragment;"string"==typeof(t=Array.isArray(n)?null===(r=n[0])||void 0===r?void 0:null===(i=r.extensions)||void 0===i?void 0:i.__relay_subscription_root_id:null===(o=n.extensions)||void 0===o?void 0:o.__relay_subscription_root_id)&&(s=a(s.node,t,s.variables,s.owner)),c(e.lookup(s).data)}},error:u,complete:l}).unsubscribe}}},65070:function(e){"use strict";e.exports={ACTOR_CHANGE:"ActorChange",CONDITION:"Condition",CLIENT_COMPONENT:"ClientComponent",CLIENT_EDGE_TO_SERVER_OBJECT:"ClientEdgeToServerObject",CLIENT_EDGE_TO_CLIENT_OBJECT:"ClientEdgeToClientObject",CLIENT_EXTENSION:"ClientExtension",DEFER:"Defer",CONNECTION:"Connection",FRAGMENT:"Fragment",FRAGMENT_SPREAD:"FragmentSpread",INLINE_DATA_FRAGMENT_SPREAD:"InlineDataFragmentSpread",INLINE_DATA_FRAGMENT:"InlineDataFragment",INLINE_FRAGMENT:"InlineFragment",LINKED_FIELD:"LinkedField",LINKED_HANDLE:"LinkedHandle",LITERAL:"Literal",LIST_VALUE:"ListValue",LOCAL_ARGUMENT:"LocalArgument",MODULE_IMPORT:"ModuleImport",ALIASED_FRAGMENT_SPREAD:"AliasedFragmentSpread",ALIASED_INLINE_FRAGMENT_SPREAD:"AliasedInlineFragmentSpread",RELAY_RESOLVER:"RelayResolver",RELAY_LIVE_RESOLVER:"RelayLiveResolver",REQUIRED_FIELD:"RequiredField",OBJECT_VALUE:"ObjectValue",OPERATION:"Operation",REQUEST:"Request",ROOT_ARGUMENT:"RootArgument",SCALAR_FIELD:"ScalarField",SCALAR_HANDLE:"ScalarHandle",SPLIT_OPERATION:"SplitOperation",STREAM:"Stream",TYPE_DISCRIMINATOR:"TypeDiscriminator",UPDATABLE_QUERY:"UpdatableQuery",VARIABLE:"Variable"}},96048:function(e){"use strict";e.exports={DEFAULT_HANDLE_KEY:""}},20199:function(e){"use strict";function n(e,n,t){for(var r=arguments.length,i=Array(r>3?r-3:0),o=3;o2?r-2:0),o=2;o2?r-2:0),o=2;o0){for(var o=[],a=i.length-1;a>=0;a--){var s=i[a](e,r);o.unshift(s)}return{stop:function(e){o.forEach(function(n){return n(e)})}}}return t},attachProfileHandler:function(e,t){n.hasOwnProperty(e)||(n[e]=[]),n[e].push(t)},detachProfileHandler:function(e,t){var r,i;n.hasOwnProperty(e)&&-1!==(i=(r=n[e]).indexOf(t))&&r.splice(i,1)}}},81701:function(e,n,t){"use strict";var r=t(32275).default,i=r(t(31681)),o=r(t(8442)),a=t(6191),s=t(78405),l=function(){function e(){var e=this;(0,o.default)(this,"_complete",!1),(0,o.default)(this,"_events",[]),(0,o.default)(this,"_sinks",new Set),(0,o.default)(this,"_subscription",[]),this._observable=a.create(function(n){e._sinks.add(n);for(var t=e._events,r=0;r4294967295||l(n)!==n)throw new s("`length` must be a positive 32-bit integer");var t=arguments.length>2&&!!arguments[2],r=!0,u=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(r=!1),c&&!c.writable&&(u=!1)}return(r||u||!t)&&(o?i(e,"length",n,!0,!0):i(e,"length",n)),e}},72112:function(e,n,t){"use strict";t.r(n),t.d(n,{focusable:function(){return I},getTabIndex:function(){return h},isFocusable:function(){return P},isTabbable:function(){return R},tabbable:function(){return S}});/*! * tabbable 6.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],i=r.join(","),o="undefined"==typeof Element,a=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!o&&Element.prototype.getRootNode?function(e){var n;return null==e?void 0:null===(n=e.getRootNode)||void 0===n?void 0:n.call(e)}:function(e){return null==e?void 0:e.ownerDocument},l=function e(n,t){void 0===t&&(t=!0);var r,i=null==n?void 0:null===(r=n.getAttribute)||void 0===r?void 0:r.call(n,"inert");return""===i||"true"===i||t&&n&&e(n.parentNode)},u=function(e){var n,t=null==e?void 0:null===(n=e.getAttribute)||void 0===n?void 0:n.call(e,"contenteditable");return""===t||"true"===t},c=function(e,n,t){if(l(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(i));return n&&a.call(e,i)&&r.unshift(e),r=r.filter(t)},d=function e(n,t,r){for(var o=[],s=Array.from(n);s.length;){var u=s.shift();if(!l(u,!1)){if("SLOT"===u.tagName){var c=u.assignedElements(),d=e(c.length?c:u.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:u,candidates:d})}else{a.call(u,i)&&r.filter(u)&&(t||!n.includes(u))&&o.push(u);var p=u.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(u),h=!l(p,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(u));if(p&&h){var f=e(!0===p?u.children:p.children,!0,r);r.flatten?o.push.apply(o,f):o.push({scopeParent:u,candidates:f})}else s.unshift.apply(s,u.children)}}}return o},p=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},h=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||u(e))&&!p(e)?0:e.tabIndex},f=function(e,n){var t=h(e);return t<0&&n&&!p(e)?0:t},m=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},g=function(e){return"INPUT"===e.tagName},y=function(e,n){for(var t=0;tsummary:first-of-type")?e.parentElement:e;if(a.call(i,"details:not([open]) *"))return!0;if(t&&"full"!==t&&"legacy-full"!==t){if("non-zero-area"===t)return b(e)}else{if("function"==typeof r){for(var o=e;e;){var l=e.parentElement,u=s(e);if(l&&!l.shadowRoot&&!0===r(l))return b(e);e=e.assignedSlot?e.assignedSlot:l||u===e.ownerDocument?l:u.host}e=o}if(v(e))return!e.getClientRects().length;if("legacy-full"!==t)return!0}return!1},x=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var n=e.parentElement;n;){if("FIELDSET"===n.tagName&&n.disabled){for(var t=0;th(n))&&!!k(e,n)},E=function(e){var n=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(n)||n>=0},T=function e(n){var t=[],r=[];return n.forEach(function(n,i){var o=!!n.scopeParent,a=o?n.scopeParent:n,s=f(a,o),l=o?e(n.candidates):a;0===s?o?t.push.apply(t,l):t.push(a):r.push({documentOrder:i,tabIndex:s,item:n,isScope:o,content:l})}),r.sort(m).reduce(function(e,n){return n.isScope?e.push.apply(e,n.content):e.push(n.content),e},[]).concat(t)},S=function(e,n){return T((n=n||{}).getShadowRoot?d([e],n.includeContainer,{filter:w.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:E}):c(e,n.includeContainer,w.bind(null,n)))},I=function(e,n){return(n=n||{}).getShadowRoot?d([e],n.includeContainer,{filter:k.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):c(e,n.includeContainer,k.bind(null,n))},R=function(e,n){if(n=n||{},!e)throw Error("No node provided");return!1!==a.call(e,i)&&w(n,e)},A=r.concat("iframe").join(","),P=function(e,n){if(n=n||{},!e)throw Error("No node provided");return!1!==a.call(e,A)&&k(n,e)}},88321:function(e,n,t){"use strict";t.d(n,{ST:function(){return a},z$:function(){return o}});var r=t(82201);let i=(0,r.createContext)(null),o=()=>{let e=(0,r.useContext)(i);return e?e.client:null},a=()=>{let e=(0,r.useContext)(i);return e?e.volume:null};n.ZP=i},47382:function(e,n,t){"use strict";t.d(n,{RI:function(){return a},aC:function(){return o}});var r=t(82201);let i=(0,r.createContext)({authMethod:null,userLoading:!0,setUser:()=>{}});function o(){return(0,r.useContext)(i)}function a(){return(0,r.useContext)(i).viewer||null}n.ZP=i},70810:function(e,n,t){"use strict";t.d(n,{G:function(){return o}});var r=t(82201);let i=(0,r.createContext)(null),o=()=>{let e=(0,r.useContext)(i);if(!e)throw Error("Missing Campaign Context");return e};n.Z=i},45293:function(e,n,t){"use strict";t.d(n,{q:function(){return o}});var r=t(82201);let i=(0,r.createContext)(null),o=()=>{let e=(0,r.useContext)(i);if(!e)throw Error("Missing Config Context");return e};n.Z=i},42061:function(e,n,t){"use strict";t.d(n,{M:function(){return o}});var r=t(82201);let i=r.createContext({drawerId:"coral-drawer",isDrawerOpen:!1,isDrawerTransitionDisabled:!1,isDrawerPrerendered:!1,openDrawer:()=>{},closeDrawer:()=>{},prerenderDrawer:()=>{}}),o=()=>(0,r.useContext)(i);n.Z=i},78796:function(e,n,t){"use strict";t.d(n,{Q:function(){return o}});var r=t(82201);let i=(0,r.createContext)(null),o=()=>{let e=(0,r.useContext)(i);if(!e)throw Error("Missing Global Data Context");return e};n.Z=i},27018:function(e,n,t){"use strict";t.d(n,{D:function(){return o}});var r=t(82201);let i=(0,r.createContext)(null),o=()=>{let e=(0,r.useContext)(i);if(!e)throw Error("Missing Loop Nav Context");return e};n.Z=i},24353:function(e,n,t){"use strict";var r,i,o,a,s,l,u,c,d,p,h,f,m,g,y,_,v,b,C,x,k,w;t.r(n);let E=(o={alias:null,args:null,concreteType:"BannerType",kind:"LinkedField",name:"breakingNewsBanner",plural:!1,selections:i=[{alias:null,args:null,kind:"ScalarField",name:"buttonText",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"buttonUrl",storageKey:null},{alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"content",plural:!0,selections:r=[{alias:null,args:null,kind:"ScalarField",name:"html",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"heading",storageKey:null}],storageKey:null},a={alias:null,args:null,concreteType:"BannerType",kind:"LinkedField",name:"wikiBanner",plural:!1,selections:i,storageKey:null},s={alias:null,args:null,kind:"ScalarField",name:"siteDomain",storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"siteSlug",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"siteTitle",storageKey:null},h={alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[p={alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"horizontal",plural:!1,selections:d=[c={alias:null,args:null,kind:"ScalarField",name:"url",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"vertical",plural:!1,selections:d,storageKey:null},{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"square",plural:!1,selections:d,storageKey:null},{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"social",plural:!1,selections:d,storageKey:null}],storageKey:null},y={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},_={alias:null,args:null,kind:"ScalarField",name:"slug",storageKey:null},v={alias:null,args:null,kind:"ScalarField",name:"listId",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"default",storageKey:null},x={alias:null,args:null,kind:"ScalarField",name:"frequency",storageKey:null},w={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"GlobalDataContainerQuery",selections:[o,a,{alias:null,args:null,concreteType:"SiteSettingsType",kind:"LinkedField",name:"siteSettings",plural:!1,selections:[s,l,u,{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"placeholderImage",plural:!1,selections:[h],storageKey:null},{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"siteLogo",plural:!1,selections:[f={alias:null,args:null,kind:"ScalarField",name:"originalWidth",storageKey:null},m={alias:null,args:null,kind:"ScalarField",name:"originalHeight",storageKey:null},g={alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[{alias:null,args:null,concreteType:"ThumbnailType",kind:"LinkedField",name:"social",plural:!1,selections:[c,{alias:null,args:null,concreteType:"CoordinatesType",kind:"LinkedField",name:"cropCoordinates",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"height",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"width",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"NewsletterType",kind:"LinkedField",name:"newsletters",plural:!0,selections:[y,_,v,b,C={alias:null,args:null,concreteType:"RichTextType",kind:"LinkedField",name:"promoText",plural:!1,selections:r,storageKey:null},x,{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"image",plural:!1,selections:[k={alias:null,args:null,concreteType:"ThumbnailMapType",kind:"LinkedField",name:"thumbnails",plural:!1,selections:[p],storageKey:null}],storageKey:null}],storageKey:null}],type:"RootQuery",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"GlobalDataContainerQuery",selections:[o,a,{alias:null,args:null,concreteType:"SiteSettingsType",kind:"LinkedField",name:"siteSettings",plural:!1,selections:[s,l,u,{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"placeholderImage",plural:!1,selections:[h,w],storageKey:null},{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"siteLogo",plural:!1,selections:[f,m,g,w],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"NewsletterType",kind:"LinkedField",name:"newsletters",plural:!0,selections:[y,_,v,b,C,x,{alias:null,args:null,concreteType:"ImageResourceType",kind:"LinkedField",name:"image",plural:!1,selections:[k,w],storageKey:null}],storageKey:null}]},params:{id:"36af7669871246e90b8f2d319df2fc61",metadata:{},name:"GlobalDataContainerQuery",operationKind:"query",text:null}});E.hash="8f8c886f12e1b973ab35589cfe8f0262",n.default=E},59785:function(e,n,t){"use strict";var r,i,o,a,s,l,u,c,d,p,h;t.r(n);let f={fragment:{argumentDefinitions:r=[{defaultValue:null,kind:"LocalArgument",name:"nodeId"}],kind:"Fragment",metadata:null,name:"LoopNavProviderContainerQuery",selections:[{kind:"RequiredField",field:{alias:null,args:i=[{kind:"Variable",name:"id",variableName:"nodeId"}],concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[o={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:d=[a={alias:null,args:null,kind:"ScalarField",name:"path",storageKey:null},{alias:null,args:null,concreteType:"LoopNavResourceType",kind:"LinkedField",name:"loopNav",plural:!1,selections:[s={alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null},{alias:null,args:null,concreteType:"LoopNavListItemType",kind:"LinkedField",name:"items",plural:!0,selections:[l={alias:null,args:null,kind:"ScalarField",name:"listItemResourceId",storageKey:null},u={alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"permalink",storageKey:null},{alias:null,args:null,concreteType:"LoopNavListItemType",kind:"LinkedField",name:"items",plural:!0,selections:[l,c,u],storageKey:null}],storageKey:null}],storageKey:null}],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"},{kind:"InlineFragment",selections:d,type:"CategoryResourceType",abstractKey:null},{kind:"InlineFragment",selections:d,type:"VideoGameResourceType",abstractKey:null}],storageKey:null},action:"THROW",path:"node"}],type:"RootQuery",abstractKey:null},kind:"Request",operation:{argumentDefinitions:r,kind:"Operation",name:"LoopNavProviderContainerQuery",selections:[{alias:null,args:i,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[o,{kind:"InlineFragment",selections:h=[a,{alias:null,args:null,concreteType:"LoopNavResourceType",kind:"LinkedField",name:"loopNav",plural:!1,selections:[s,{alias:null,args:null,concreteType:"LoopNavListItemType",kind:"LinkedField",name:"items",plural:!0,selections:[l,u,c,{alias:null,args:null,concreteType:"LoopNavListItemType",kind:"LinkedField",name:"items",plural:!0,selections:[l,c,u,p={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null},p],storageKey:null},p],storageKey:null}],type:"FeedContentResourceInterface",abstractKey:"__isFeedContentResourceInterface"},{kind:"InlineFragment",selections:h,type:"CategoryResourceType",abstractKey:null},{kind:"InlineFragment",selections:h,type:"VideoGameResourceType",abstractKey:null},p],storageKey:null}]},params:{id:"529cad23f4ba104eb71ed003fb84403b",metadata:{},name:"LoopNavProviderContainerQuery",operationKind:"query",text:null}};f.hash="4c3e8c249bd5b267f0ed4e22d21e8d9d",n.default=f},86022:function(e,n,t){"use strict";t.d(n,{Z:function(){return y}});var r=t(70810),i=t(78796),o=t(31561),a=t(35458),s=t(82201),l=t(94523),u=t(31994),c=t(85056),d=t(31218),p=t(1855),h=t(60699),f=t(88321);t(9237),t(11827),t(82012),t(51510),t(45002),t(51140),t(699),t(99153);var m={fullWidth:"_1juo5fm0",square:"_1juo5fm1",standard:"_1juo5fm2",stream:"_1juo5fm3"},g=(0,d.n)(({wikiBanner:e,template:n,className:t})=>{let r=(0,s.createRef)();(0,p.Z)(r,{event:"memberships_wiki_banner",memberships_wiki_banner:{cta:e?.heading,action:"view",position:"wiki_banner"}});let i=(0,f.z$)();return e?(0,o.jsx)("div",{className:(0,a.Z)(c.I.WikiBanner,n&&m[n],t),ref:r,children:(0,o.jsxs)("div",{className:(0,a.Z)(h.F.layout.mainColumn,"_1juo5fm4 _1agbrixx"),children:[(0,o.jsx)("h2",{className:"_1juo5fm8",children:e.heading}),(0,o.jsxs)("div",{className:"_1juo5fm6",children:[(0,o.jsx)("div",{className:"_1juo5fm9",children:e.content.map((e,n)=>(0,o.jsx)(l.Z,{component:"p",html:e.html},n))}),(0,o.jsxs)("div",{className:"_1juo5fm7",children:[e.dek&&(0,o.jsx)(l.Z,{component:"p",html:e.dek,className:"_1juo5fma"}),(0,o.jsx)(u.Z,{className:"_1juo5fmb",href:e.buttonUrl,text:e.buttonText,onClick:()=>{i?.emit({event:"memberships_wiki_banner",memberships_wiki_banner:{cta:e.heading,action:`click_${e.buttonText}`,position:"wiki_banner"}})}})]})]})]})}):null},{context:"WikiBannerErrorBoundary"}),y=e=>{let{template:n,className:t}=e,{wikiBanner:a,breakingNewsBanner:s}=(0,i.Q)(),{campaign:l}=(0,r.G)();return l||s||!a?null:(0,o.jsx)(g,{className:t,template:n,wikiBanner:a})}},24860:function(e,n,t){"use strict";t.d(n,{$1:function(){return f},$Z:function(){return i},GH:function(){return a},GQ:function(){return m},In:function(){return c},J$:function(){return v},Jm:function(){return o},Ns:function(){return g},P3:function(){return p},WG:function(){return s},X5:function(){return l},eG:function(){return y},k5:function(){return d},lV:function(){return _},wb:function(){return r},y3:function(){return u},yN:function(){return h}});let r="DUET",i="DEV",o="?";Number.parseFloat("0");let a=15,s=10,l=40,u=15,c=40,d=25,p=15,h=10,f=15,m=15,g=7,y={deployEnv:"production",defaultBrandedContentDisclaimer:"This advertising content was produced in collaboration between Vox Creative and our sponsor, without involvement from Vox Media editorial staff."},_="_chorus_ccpa_consent_donotsell",v="This video contains sensitive or violent content"},98876:function(e,n,t){let{normalize:r}=t(90335),{SENTRY_SERVER_SAMPLE_RATE:i,SENTRY_CLIENT_SAMPLE_RATE:o}=t(87036),a="undefined"==typeof window,s=a?void 0:[window.location.origin];e.exports={baseConfig:{allowUrls:s,dsn:"https://dda62d08b807fc79b0fff14e1d7dd23d@o4507017844228096.ingest.us.sentry.io/4507272654159872",environment:"production",tracePropagationTargets:[],sampleRate:a?i:o,tracesSampleRate:0,autoSessionTracking:!1,sendClientReports:!1,normalizeDepth:10,normalizeMaxBreadth:1e3,ignoreErrors:[/hymnal-ad/i,/concert-ads/i,/prebid/i,/doubleclick/i,/amazon-adsystem/i,"NS_ERROR_NOT_INITIALIZED",/Blocked a restricted frame with origin "https:\/\/www\.vox\.com" from accessing another frame\./,/Initiator \(\[Video 18\]\) is not a Screen or a ScreenObject\. Analytics would be confused\./,/null is not an object \(evaluating 'top\.window'\)/,/null is not an object \(evaluating 'top\.document'\)/,/Cannot read properties of null \(reading 'document'\)/,/Cannot set properties of null \(setting 'title'\)/,/Cannot read properties of null \(reading 'offsetHeight'\)/,/top is null/,/myCustomTitle/i,/null is not an object \(evaluating 'myCustomTitle.title = api.getVideoDetails\(\).chapters\[api\.getChapterCurrentPosition\(\)\].title'\)/,/Cannot read properties of null \(reading 'window'\)/,/Load failed/,"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"]},getBeforeSend:e=>(n,i)=>{if(i.originalException?.extra&&(n.extra=n.extra||{},Object.assign(n.extra,i.originalException.extra),n.extra=r(n.extra,10,1e3)),a?console.error(JSON.stringify({...function(e,n){let{[n]:t,...r}=e;return r}(n,"sdkProcessingMetadata"),msg:n?.extra?.message||`${i.originalException?.message}`,errorMessage:`${i.originalException?.message}`,errorType:`${i.originalException?.name}`},void 0,2)):console.error(`Error: ${i.event_id}`),!a){let e=n.exception?.values?.[0]?.stacktrace?.frames||[],t=["vi-player","concert-ads"];for(let n of e)if(t.some(e=>n.filename.includes(e)))return null}return a||e.test(t.g.navigator.userAgent)?n:null}}},87036:function(e){e.exports={APP_NAME:"duet-network-vox",WP_ORIGIN:"https://platform.vox.com",SENTRY_CLIENT_SAMPLE_RATE:Number.parseFloat("0"),SENTRY_SERVER_SAMPLE_RATE:Number.parseFloat("0.10")}},19675:function(e,n,t){"use strict";t.d(n,{J:function(){return s}});var r=t(74702);let i=e=>`vx${e}:`,o={372:{communityName:"The Verge",domain:"www.theverge.com",vipDomain:"theverge.com",wpSiteId:2},405:{communityName:"Polygon",domain:"www.polygon.com",vipDomain:"polygon.com",wpSiteId:2},441:{communityName:"Vox",domain:"www.vox.com",vipDomain:"vox.com",wpSiteId:2}},a=e=>{let{targetEnv:n,vipDomain:t,fastlyProxySubdomain:r}=e,i="production"===n,o=i?`www.${t}`:`${n}.${t}`,a=i?`platform.${t}`:`platform.${n}.${t}`;return r&&(a=`${r}.${t}`),{vipCommunityDomain:o,vipCommunityApiDomain:a}},s=e=>{let n=o[e];if(!n)throw Error(`No community config found for communityId: ${e}`);let{communityName:t,vipDomain:s,wpSiteId:l}=n,u="true"===r.env.ENABLE_FASTLY_API_PROXY,{vipCommunityDomain:c,vipCommunityApiDomain:d}=a({targetEnv:"production",vipDomain:s,fastlyProxySubdomain:u&&r.env.WP_API_PROXY_SUBDOMAIN?.length?r.env.WP_API_PROXY_SUBDOMAIN:null}),p=`https://${c}`,h=`https://${d}`,f=`${h}${u?"/wp-api":""}/graphql`;return{communityApiOrigin:h,communityApiUrl:f,communityDomain:c,communityOrigin:p,communityId:e,communityName:t,siteOrigin:null,vmPrefix:i(l),voxCreativeCommunityId:641}}},80646:function(e,n,t){"use strict";t.d(n,{dm:function(){return u},vG:function(){return c}});var r=t(82201),i=t(7588),o=t(45293),a=t(31561),s=r.memo(e=>{let{id:n,chorusId:t,chorusUuid:s,url:l,noText:u}=e;(0,r.useEffect)(()=>{window.CoralCount?.reload()},[]);let{coralConfig:c}=(0,o.q)();if(!c)throw Error("missing coral config");let[d,p]=(0,r.useState)(""),{appConfig:{deployEnv:h},communityConfig:{communityOrigin:f}}=(0,o.q)(),m="production"!==h&&"pre-production"!==h;(0,r.useEffect)(()=>{m&&l&&p(l.replace(f,window.location.origin))},[l,f,m]);let g=(0,i.w)({chorusId:t,chorusUuid:s,id:n});return m&&!d?null:(0,a.jsx)("span",{className:"coral-count","data-coral-id":g,"data-coral-notext":!!u||void 0,"data-coral-url":d||l})});let l=t(74702).env.NEXT_PUBLIC_CORAL_CACHE_FINGERPRINT||"0",u="https://vox.coral.coralproject.net",c={enableLegacyID:!0,cacheFingerprint:l,origin:u,moderationEmail:"moderators@vox.com",CoralCount:s}},92309:function(e,n,t){"use strict";t.d(n,{F:function(){return r},PZ:function(){return i},n5:function(){return o}}),t(66912).CF;let r="duet:identitySession",i="pk_live_awV5oe2LqMkE22eXzhJsGF4k00XjeWV47d",o="duet:identityAuthenticated"},63525:function(e,n,t){"use strict";t.d(n,{Fg:function(){return i.Fg},GH:function(){return o.GH},J$:function(){return o.J$},Jx:function(){return r.J},P3:function(){return o.P3},k5:function(){return o.k5},yN:function(){return o.yN}});var r=t(19675),i=t(66912),o=t(24860)},66912:function(e,n,t){"use strict";t.d(n,{$:function(){return u},CF:function(){return a},Fg:function(){return l},l$:function(){return s}});var r=t(76553),i=t(87036);let o=Number("5"),a="Vox",s="8b24268154d89d965906f3fe03c3cb75",l=String("vx");(0,r.N3)("www.vox.com");let u={affiliateSubtagsSiteKey:l,appName:i.APP_NAME,networkId:o,networkName:a,organizationId:1,concertAds:{network:"vox",gam:"172968584"}}},7588:function(e,n,t){"use strict";t.d(n,{w:function(){return i}});var r=t(45293);function i(e){let{coralConfig:n}=(0,r.q)();if(!n)throw Error("missing coral config");return n.enableLegacyID&&e.chorusId?.toString()||e.chorusUuid||e.id}},70341:function(e,n,t){"use strict";let r=(0,t(82201).createContext)(null);n.Z=r},83419:function(e,n,t){"use strict";var r=t(82201),i=t(70341);n.Z=function(){let e=(0,r.useContext)(i.Z);if(!e||!e.routeInfo)throw Error("Make sure to use ");return e.routeInfo}},18881:function(e,n,t){"use strict";var r=t(59243),i=t.n(r),o=t(31561);n.Z=e=>{let{schema:n}=e;return(0,o.jsx)(i(),{children:(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}})})}},7345:function(e,n,t){"use strict";t.d(n,{Z:function(){return Z},W:function(){return r}});var r={};t.r(r),t.d(r,{Uh:function(){return s},rJ:function(){return l},Ps:function(){return u},Ym:function(){return c},X8:function(){return d},eu:function(){return p},Mq:function(){return h},He:function(){return f},oD:function(){return m},$I:function(){return g},Hh:function(){return y},b6:function(){return _},Rl:function(){return v},aX:function(){return b},F0:function(){return C},vD:function(){return x},DL:function(){return k},FO:function(){return w},cj:function(){return E},_E:function(){return T},Hb:function(){return S},Yq:function(){return I},zP:function(){return R},cg:function(){return A},k_:function(){return P},pE:function(){return N},I_:function(){return O},L5:function(){return L},tO:function(){return M},Dj:function(){return D},rS:function(){return F},bq:function(){return j},P:function(){return B},yr:function(){return U},Zc:function(){return K},yO:function(){return z},ke:function(){return q},_x:function(){return H},TR:function(){return $},IK:function(){return V}});var i=t(31561),o=t(35458),a=t(45293);t(68603);var s="_1ugw7dw0",l={containerClassName:"_1ugw7dw8",slotClassName:"_1ugw7dw9"},u={containerClassName:"_1ugw7dwg _1ugw7dw1",slotClassName:"_1ugw7dwh"},c={containerClassName:"_1ugw7dwe _1ugw7dw1",slotClassName:"_1ugw7dwf"},d={containerClassName:"_1ugw7dw1i",slotClassName:"_1ugw7dw1j"},p={containerClassName:"_1ugw7dw1g",slotClassName:"_1ugw7dw1h"},h={containerClassName:"_1ugw7dw1k",slotClassName:"_1ugw7dw1l"},f={containerClassName:"_1ugw7dw1u _1ugw7dw1"},m="_1ugw7dw24",g={containerClassName:"_1ugw7dwc",slotClassName:"_1ugw7dwd"},y={containerClassName:"_1ugw7dwa",slotClassName:"_1ugw7dwb"},_={containerClassName:"_1ugw7dw1v",slotClassName:"_1ugw7dw1w"},v={containerClassName:"_1ugw7dwq _1ugw7dw1",slotClassName:"_1ugw7dwr"},b={containerClassName:"_1ugw7dwm _1ugw7dw1",slotClassName:"_1ugw7dwn"},C={containerClassName:"_1ugw7dwo _1ugw7dw1",slotClassName:"_1ugw7dwp"},x={containerClassName:"_1ugw7dwi _1ugw7dw7",slotClassName:"_1ugw7dwj"},k={containerClassName:"_1ugw7dwk _1ugw7dw1",slotClassName:"_1ugw7dwl"},w={containerClassName:"_1ugw7dw16 _1ugw7dw2",slotClassName:"_1ugw7dw17"},E={containerClassName:"_1ugw7dw14 _1ugw7dw1",slotClassName:"_1ugw7dw15"},T="_1ugw7dw1x",S={containerClassName:"_1ugw7dwy _1ugw7dw1",slotClassName:"_1ugw7dwz"},I={containerClassName:"_1ugw7dww _1ugw7dw1",slotClassName:"_1ugw7dwx"},R={containerClassName:"_1ugw7dw12 _1ugw7dw2",slotClassName:"_1ugw7dw13"},A={containerClassName:"_1ugw7dw10 _1ugw7dw1",slotClassName:"_1ugw7dw11"},P={containerClassName:"_1ugw7dw1m _1ugw7dw6",slotClassName:"_1ugw7dw1n"},N={containerClassName:"_1ugw7dw1o _1ugw7dw6",slotClassName:"_1ugw7dw1p"},O={containerClassName:"_1ugw7dws _1ugw7dw1",slotClassName:"_1ugw7dwt"},L={containerClassName:"_1ugw7dw1a",slotClassName:"_1ugw7dw1b"},M={containerClassName:"_1ugw7dw18",slotClassName:"_1ugw7dw19"},D="_1ugw7dw1y",F="_1ugw7dw22",j="_1ugw7dw1z",B="_1ugw7dw21",U="_1ugw7dw20",K="_1ugw7dw23",z={containerClassName:"_1ugw7dw1s",slotClassName:"_1ugw7dw1t"},q={containerClassName:"_1ugw7dw1q _1ugw7dw1",slotClassName:"_1ugw7dw1r"},H={containerClassName:"_1ugw7dwu _1ugw7dw1",slotClassName:"_1ugw7dwv"},$={containerClassName:"_1ugw7dw1e",slotClassName:"_1ugw7dw1f"},V={containerClassName:"_1ugw7dw1c",slotClassName:"_1ugw7dw1d"};let G={all:D,mobile:j,tablet:U,mobileAndTablet:B,desktop:F,tabletAndDesktop:K,flexTabletAndDesktop:m};var Z=({adType:e})=>{let n=(0,a.q)().adConfig;return(0,i.jsx)(i.Fragment,{children:n[e]?.map(({containerClassName:n,slotClassName:t,style:r,slotName:a,viewport:l},u)=>i.jsx("div",{className:o.Z(n,s,G[l]),children:i.jsx("div",{style:r,className:o.Z(s,t,"networkRiverHome"===e&&T),"data-concert":a},a)},u))})}},94523:function(e,n,t){"use strict";var r=t(31561),i=t(35458),o=t(84982),a=t.n(o),s=t(82201),l=t(85056),u=t(45293);let c=(e,n)=>{let t=RegExp(`(href\\s*=\\s*['"])(${a()(n)})`,"gi");return"string"==typeof e?e.replace(t,"$1"):e};n.Z=({html:e,component:n="p",className:t,...o})=>{let{communityOrigin:a}=(0,u.q)().communityConfig,d=(0,s.useMemo)(()=>c(e,a),[e,a]),p={className:(0,i.Z)(l.I.DangerouslySetCMSMarkup,t),dangerouslySetInnerHTML:{__html:d},...o};return(0,r.jsx)(n,{...p})}},69135:function(e,n,t){"use strict";t.d(n,{Z:function(){return r.Z}});var r=t(94523)},12310:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(31561),i=({className:e})=>(0,r.jsxs)("svg",{width:"120",height:"58",viewBox:"0 0 120 58",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,r.jsx)("title",{children:"Vox"}),(0,r.jsx)("desc",{children:"Vox logo"}),(0,r.jsx)("path",{fill:"#fff200",d:"M155-6.7h123.8v115H155z"}),(0,r.jsx)("path",{d:"M55.1 77.5h1.7l.2-.8H35.6l-.2.8h3.1c2.7 0 4.9 1.9 4.9 5.6 0 2.1-.9 4.8-2.4 8.1l-13.9 30.7L23.7 82c-.3-3.1 1.3-4.5 4.8-4.5h2l.2-.8H.5l-.3.8h1.9c2.4 0 3.3 1.5 3.5 4.3l5.4 51.6h12.7L45 88.3c3.3-6.7 6.7-10.8 10.1-10.8zm-2.5 56.1c-1.9 0-3.1-.6-3.1-3.8 0-4 1.5-11.9 3.1-19.1.2 3.3 2.5 6.6 5.9 6.6.8 0 1.5-.1 2.2-.2-3.2 13.7-4.4 16.5-8.1 16.5zm60.6-27.1c4 0 6.6-3.3 6.6-7.1 0-3.2-2.3-5.6-5.6-5.6-5.9 0-8.7 4.7-13.6 13.3-1-5.4-3.5-12.4-9.7-12.4-7 0-15.1 10-22.5 16.2-3.4 2.9-7.1 4.7-10.1 4.7-3.1 0-4.9-3.1-4.9-8.6 2.2-9 3.3-11.3 6.7-11.3 2.3 0 3.3 1.3 3.3 4 0 2.9-.6 7.7-1.9 13.8 3.3-1 8.3-5.2 12.5-9.7-2.2-5.3-7-8.9-13.8-8.9-12.7 0-23.9 11.4-23.9 24.2 0 8.8 6.3 15.5 16.1 15.5 16.2 0 23-14 23-23.8 0-1.4-.1-2.4-.2-3.7 2.5-2.7 5.7-5.3 8.3-5.3 3 0 5.4 7.5 7.7 18.8-2.1 2.3-4.2 6.7-5.2 7.5-.4-4-3.1-6.5-6.6-6.5-4 0-6.7 3.8-6.7 7 0 3.6 2.5 6 5.8 6 6.9 0 8.8-6.5 13.1-12.3 1.3 6.2 4.4 12.3 9.7 12.3 6.3 0 12.1-5.4 15.1-9.2l-.6-.9c-1.9 1.9-3.8 3.1-6 3.1-3.9 0-6.7-8.4-8.8-18.6 1.3-1.7 3.3-6.1 4.7-7.7.9 1.8 2.9 5.2 7.5 5.2z",fill:"#fff"}),(0,r.jsx)("path",{d:"M55.1.9h1.7l.2-.8H35.6l-.2.8h3.1c2.7 0 4.9 1.9 4.9 5.6 0 2.1-.9 4.8-2.4 8.1L27.1 45.3 23.7 5.4C23.4 2.3 25 .9 28.5.9h2l.2-.8H.5L.2.9h1.9c2.4 0 3.3 1.5 3.5 4.3L11 56.8h12.7L45 11.7C48.3 5 51.7.9 55.1.9zM52.6 57c-1.9 0-3.1-.6-3.1-3.8 0-4 1.5-11.9 3.1-19.1.2 3.3 2.5 6.6 5.9 6.6.8 0 1.5-.1 2.2-.2C57.5 54.2 56.3 57 52.6 57zm60.6-27.1c4 0 6.6-3.3 6.6-7.1 0-3.2-2.3-5.6-5.6-5.6-5.9 0-8.7 4.7-13.6 13.3-1-5.4-3.5-12.4-9.7-12.4-7 0-15.1 10-22.5 16.2C65 37.2 61.3 39 58.3 39c-3.1 0-4.9-3.1-4.9-8.6 2.2-9 3.3-11.3 6.7-11.3 2.3 0 3.3 1.3 3.3 4 0 2.9-.6 7.7-1.9 13.8 3.3-1 8.3-5.2 12.5-9.7-2.2-5.3-7-8.9-13.8-8.9-12.7 0-23.9 11.4-23.9 24.2 0 8.8 6.3 15.5 16.1 15.5 16.2 0 23-14 23-23.8 0-1.4-.1-2.4-.2-3.7 2.5-2.7 5.7-5.3 8.3-5.3 3 0 5.4 7.5 7.7 18.8-2.1 2.3-4.2 6.7-5.2 7.5-.4-4-3.1-6.5-6.6-6.5-4 0-6.7 3.8-6.7 7 0 3.6 2.5 6 5.8 6 6.9 0 8.8-6.5 13.1-12.3C92.9 51.9 96 58 101.3 58c6.3 0 12.1-5.4 15.1-9.2l-.6-.9c-1.9 1.9-3.8 3.1-6 3.1-3.9 0-6.7-8.4-8.8-18.6 1.3-1.7 3.3-6.1 4.7-7.7.9 1.8 2.9 5.2 7.5 5.2zm133.7-13.4h2.1l.2-1h-26l-.2 1h3.8c3.3 0 6 2.3 6 6.8 0 2.6-1.1 5.8-2.9 9.8L213 70.4 208.7 22c-.4-3.8 1.6-5.5 5.8-5.5h2.4l.2-1h-36.7l-.4 1h2.3c2.9 0 4 1.8 4.3 5.2l6.6 62.7h15.4l25.9-54.8c4.2-8.1 8.3-13.1 12.4-13.1z"})]})},83958:function(e,n,t){"use strict";t.d(n,{Z:function(){return m}});var r=t(31561),i=t(35458),o=t(90945),a=t(78270),s=t(53130),l=t(38263),u=t(46660),c=t(43158),d=t(46688),p=t(60699),h=t(78796),f=t(75354),m=e=>{let{componentContext:n="compactContentCard"}=e,t=(0,c.kj)(["compactContentCard",n]),m=(0,c.dj)("compactContentCard",e.componentContext||""),{placeholderImageUrl:g}=(0,h.Q)().siteSettings,{adFlag:y,advertiserName:_,authors:v,category:b,chorusId:C,chorusUuid:x,commentUrl:k,contentBlockSize:w,contentBlockVariation:E,contentType:T,crossPostSource:S,crossPostUrl:I,dek:R,firstChild:A,gaComponentName:P,headline:N,id:O,imageAspectRatio:L,imagePosition:M,lastChild:D,live:F,lowerMetaFirstComponent:j,lowerMetaSecondComponent:B,lowerMetaThirdComponent:U,mediaVariation:K,mediaVariationIconPlacement:z,membersOnly:q,metaVariation:H,packageName:$,permalink:V,score:G,showAuthorBy:Z,showDek:W,showScore:Q,streamName:Y,postTemplate:J,priorityImage:X,thumbnails:ee,timestamp:en,upperMetaFirstComponent:et,upperMetaSecondComponent:er,upperMetaThirdComponent:ei,verticalCategory:eo}=(0,d.Z)(e,m),ea=et;return void 0===ea&&(ea=y?"ContentBlockAdvertiserFlag":$?"ContentBlockPackage":S?"ContentBlockCrossPost":F?"LiveBadge":"Category"),(0,r.jsxs)("div",{className:(0,i.Z)(u.Z.ContentCard,f.xN[M],e.className,p.F.contentCard.contentCardContainer,A&&f.mU,D&&f.QO),children:["hideImage"!==M&&(0,r.jsxs)("div",{className:(0,i.Z)(f.Bj[M],f.lB[L],f.l5),children:["wide"===L?(0,r.jsx)(s.Z,{sizes:"221px",src:ee?.horizontal||g.horizontal,priority:!!X,alt:N}):"square"===L?(0,r.jsx)("div",{children:(0,r.jsx)(s.Z,{sizes:"100px",src:ee?.square||g.square,priority:!!X,alt:N})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,{sizes:"100px",src:ee?.square||g.square,priority:!!X,alt:N,className:f.af}),(0,r.jsx)(s.Z,{sizes:"195px",src:ee?.horizontal||g.horizontal,priority:!!X,alt:N,className:f.AS})]}),K&&"thumbnail"===z&&(0,r.jsx)(l.Z,{placement:"thumbnail",variation:K}),G&&Q&&(0,r.jsx)(a.Z,{score:G})]}),(0,r.jsx)("div",{className:f.nz,children:(0,r.jsx)(o.Z,{adFlag:y,advertiserName:_,authors:v,category:b,chorusId:C,chorusUuid:x,commentUrl:k,componentContext:t,contentBlockSize:w,contentBlockVariation:E,contentType:T,crossPostSource:S,crossPostUrl:I,dek:R,gaComponentName:P,headline:N,id:O,live:F,lowerMetaFirstComponent:j,lowerMetaSecondComponent:B,lowerMetaThirdComponent:U,mediaVariation:K,mediaVariationIconPlacement:z,membersOnly:q,metaVariation:H,packageName:$,permalink:V,showAuthorBy:Z,showDek:W,streamName:Y,postTemplate:J,timestamp:en,upperMetaFirstComponent:ea,upperMetaSecondComponent:er,upperMetaThirdComponent:ei,verticalCategory:eo})})]})}},90945:function(e,n,t){"use strict";t.d(n,{Z:function(){return _}});var r=t(31561),i=t(35458),o=t(69135),a=t(38263),s=t(78819),l=t(98343),u=t(54188),c=t(60699),d=t(88321),p=t(92501),h=t(58534);t(48425);var f={micro:"_1neefeel _1neefeed _1neefeee",small:"_1neefeem _1neefeed _1neefeee",medium:"_1neefeen _1neefeed _1neefeee",large:"_1neefeeo _1neefeed _1neefeef",jumbo:"_1neefeep _1neefeed _1neefeef"},m={micro:"_1neefeeg _1neefeed _1neefeee",small:"_1neefeeh _1neefeed _1neefeee",medium:"_1neefeei _1neefeed _1neefeee",large:"_1neefeej _1neefeed _1neefeef",jumbo:"_1neefeek _1neefeed _1neefeef"},g={micro:"_1neefee7 _1neefee1",small:"_1neefee8 _1neefee1",medium:"_1neefee9 _1neefee1",large:"_1neefeea _1neefee1",jumbo:"_1neefeeb _1neefee1"},y={micro:"_1neefee2 _1neefee1",small:"_1neefee3 _1neefee1",medium:"_1neefee4 _1neefee1",large:"_1neefee5 _1neefee1",jumbo:"_1neefee6 _1neefee1"},_=({adFlag:e,advertiserName:n,authors:t,category:_,chorusId:v,chorusUuid:b,componentContext:C,commentUrl:x,contentBlockSize:k="medium",contentBlockVariation:w="standard",contentType:E,crossPostSource:T,dek:S,gaComponentName:I,headline:R,id:A,live:P,lowerMetaFirstComponent:N,lowerMetaSecondComponent:O,lowerMetaThirdComponent:L,mediaVariation:M,mediaVariationIconPlacement:D,membersOnly:F,metaVariation:j,packageName:B,permalink:U,showAuthorBy:K,showDek:z,streamName:q,postTemplate:H,timestamp:$,upperMetaFirstComponent:V,upperMetaSecondComponent:G,upperMetaThirdComponent:Z,verticalCategory:W})=>{let Q=(0,d.z$)(),Y={adFlag:e,advertiserName:n,authors:t,category:_,chorusId:v,chorusUuid:b,componentContext:C,commentUrl:x,contentType:E,crossPostSource:T,headline:R,id:A,live:P,membersOnly:F,metaVariation:j||w,packageName:B,permalink:U,showAuthorBy:K,streamName:q,timestamp:$},{metadata:J}=(0,u.r)();return(0,r.jsxs)("div",{className:(0,i.Z)(W?"_1neefee0":""),children:[W&&_&&(0,r.jsx)(s.Z,{metaVariation:j||w,category:_,vertical:!0}),(0,r.jsxs)("div",{children:[(V||G||Z)&&(0,r.jsx)(h.Z,{...Y,layout:"upper",firstComponent:V,secondComponent:G,thirdComponent:Z,contentBlockSize:k,componentContext:C}),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:(0,r.jsx)("div",{className:(0,i.Z)(c.F.text.hangingPunctuation,e?"_1neefeec":"special"===w?g[k]:y[k]),children:(0,r.jsxs)(l.Z,{href:U,className:c.F.contentCard.contentCardLink,onClick:()=>{Q?.emit({event:"article_click",article_click:{article_component_name:I,article_uri:U,article_title:R,author:t[0]?.name,page_type:p.C2(E,!!H),...J}})},children:[R,M&&"title"===D&&(0,r.jsxs)("span",{className:"_1neefeeq",children:["\uFEFF",(0,r.jsx)(a.Z,{placement:"title",variation:M})]})]})})}),z&&S&&(0,r.jsx)(o.Z,{html:S,className:"special"===w?f[k]:m[k]}),(N||O||L)&&(0,r.jsx)(h.Z,{...Y,layout:"lower",firstComponent:N,secondComponent:O,thirdComponent:L,contentBlockSize:k,componentContext:C})]})]})]})}},59195:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var r=t(31561),i=t(35458),o=t(60699),a=({label:e,icon:n,metaVariation:t="standard",className:a})=>(0,r.jsxs)("span",{className:(0,i.Z)(o.F.text.metaTextVariant[t],a),children:[n&&n,e]})},58534:function(e,n,t){"use strict";t.d(n,{Z:function(){return x}});var r=t(31561),i=t(35458);t(9237),t(11827),t(82012),t(51510),t(45002),t(51140),t(699),t(95407);var o=({className:e,advertiserName:n})=>(0,r.jsxs)("span",{className:(0,i.Z)("_1edt0x0 xkp0cg3",e),children:[(0,r.jsx)("span",{"data-native-ad-id":"preamble",children:"Advertiser Content From"}),(0,r.jsx)("span",{className:"_1edt0x1",children:n})]});t(14937);var a="u2goo40",s=({authors:e,className:n,showAuthorBy:t=!0})=>0===e.length?null:(0,r.jsxs)(r.Fragment,{children:[t&&(0,r.jsx)("span",{className:a,children:"By "}),(0,r.jsxs)("span",{className:(0,i.Z)("xkp0cg3",n),children:[e.slice(0,2).map((n,t)=>{let i=t===e.length-1;return(0,r.jsxs)("span",{children:[i&&2===e.length&&(0,r.jsx)("span",{className:a,children:" and "}),0!==t&&!i&&e.length>2&&", ",(0,r.jsx)("span",{children:n.name})]},t)}),e.length>2&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:a,children:" and "}),(0,r.jsx)("span",{children:`${e.length-2} more`})]})]})]}),l=t(7189),u=t(87024);t(37994);var c=({source:e,metaVariation:n="standard",className:t})=>(0,r.jsxs)("span",{className:(0,i.Z)(u.metaTextVariant[n],"_1lbeoq00",t),children:["From ",e,(0,r.jsx)(l.Z,{className:"_1lbeoq01"})]}),d=t(59195),p=t(78819),h=t(77563),f=t(68424),m=t(79348),g=t(54383),y=t(43158),_=t(46688),v=t(60699);t(56096);var b={micro:"_1k0riib _1k0rii0",small:"_1k0riib _1k0rii0",medium:"_1k0riib _1k0rii0",large:"_1k0riic _1k0rii0",jumbo:"_1k0riic _1k0rii0"},C={micro:"_1k0rii3 _1k0rii0",small:"_1k0rii3 _1k0rii0",medium:"_1k0rii3 _1k0rii0",large:"_1k0rii4 _1k0rii0",jumbo:"_1k0rii4 _1k0rii0"},x=e=>{let n=(0,y.dj)("contentBlockMeta",e.componentContext||""),{adFlag:t,advertiserName:a,authors:l,category:u,chorusId:x,chorusUuid:k,commentUrl:w,contentType:E,crossPostSource:T,firstComponent:S,headline:I,layout:R,live:A,membersOnly:P,metaVariation:N,packageName:O,permalink:L,secondComponent:M,showAuthorBy:D,streamName:F,thirdComponent:j,timestamp:B,id:U,contentBlockSize:K,componentContext:z}=(0,_.Z)(e,n),q=(e,n)=>{switch(e){case"ContentBlockByline":return(0,r.jsx)(s,{authors:l,showAuthorBy:D,className:n});case"Category":return u&&(0,r.jsx)(p.Z,{category:u,metaVariation:N,className:n});case"Timestamp":return B&&(0,r.jsx)(g.Z,{timestamp:B,className:n,componentContext:z});case"ContentBlockAdvertiserFlag":return t&&(0,r.jsx)(o,{advertiserName:a,className:n});case"CommentCount":return w&&I&&(0,r.jsx)(h.Z,{url:w,permalink:L,authorName:l[0]?.name||"",headline:I,contentType:E,id:U,chorusId:x||null,chorusUuid:k||null,className:n,variant:"contentCard",noText:!0});case"ContentBlockCrossPost":return T&&(0,r.jsx)(c,{source:T,metaVariation:N,className:n});case"ContentBlockPackage":return O&&(0,r.jsx)(d.Z,{label:O,metaVariation:N,className:(0,i.Z)("_1k0riia",n)});case"LiveBadge":return A&&(0,r.jsx)(f.Z,{variation:"card",className:n});case"ContentBlockStream":return F&&(0,r.jsx)(d.Z,{label:F,metaVariation:N,className:n});case"MembersOnlyBadge":return P&&(0,r.jsx)(m.Z,{className:"_1k0rii2"})}};return(0,r.jsxs)("div",{className:"upper"===R?C[K||"medium"]:b[K||"medium"],children:[!("lower"===R&&t)&&(0,r.jsx)(r.Fragment,{children:q(S)}),M&&!t&&(0,r.jsx)(r.Fragment,{children:q(M,"LiveBadge"===S?"_1k0rii1":v.F.layout.pipeSeparator)}),j&&!t&&(0,r.jsx)(r.Fragment,{children:q(j,v.F.layout.pipeSeparator)})]})}},78270:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(31561);t(42420);var i=({score:e})=>(0,r.jsxs)("div",{className:"_1dyajh00",children:[(0,r.jsx)("p",{className:"_1dyajh01",children:e}),(0,r.jsx)("p",{className:"_1dyajh02",children:"Score"})]})},28192:function(e,n,t){"use strict";t.d(n,{Z:function(){return y}});var r=t(31561),i=t(35458),o=t(90945),a=t(78270),s=t(53130),l=t(38263),u=t(46660),c=t(43158),d=t(46688),p=t(60699),h=t(78796);t(80716),t(75604);var f={square:"hd0te9g",squareLarge:"hd0te9h",wide:"hd0te9i"},m={one:"hd0te9b hd0te9a",two:"hd0te9c hd0te9a",three:"hd0te9d hd0te9a",four:"hd0te9e hd0te9a",five:"hd0te9f hd0te9a"},g={one:"hd0te95",two:"hd0te96",three:"hd0te97",four:"hd0te98",five:"hd0te99"},y=e=>{let{componentContext:n="river"}=e,t=(0,c.kj)(["prominentContentCard",n]),y=(0,c.dj)("prominentContentCard",n),{placeholderImageUrl:_}=(0,h.Q)().siteSettings,{adFlag:v,advertiserName:b,authors:C,category:x,chorusId:k,chorusUuid:w,className:E,commentUrl:T,contentBlockSize:S,contentBlockVariation:I,contentType:R,crossPostSource:A,dek:P,extraContentBlockStyles:N,extraImageStyles:O,gaComponentName:L,headline:M,id:D,imageAspectRatio:F,imageTreatment:j,imageOverlay:B,lastChild:U,live:K,lowerMetaFirstComponent:z,lowerMetaSecondComponent:q,lowerMetaThirdComponent:H,mediaVariation:$,mediaVariationIconPlacement:V,membersOnly:G,metaVariation:Z,overlap:W,packageName:Q,permalink:Y,postTemplate:J,priorityImage:X,score:ee,showAuthorBy:en,showBorder:et,showDek:er,showScore:ei,streamName:eo,thumbnails:ea,timestamp:es,upperMetaFirstComponent:el,upperMetaSecondComponent:eu,upperMetaThirdComponent:ec}=(0,d.Z)(e,y),ed=el;return void 0===ed&&(ed=v?"ContentBlockAdvertiserFlag":Q?"ContentBlockPackage":A?"ContentBlockCrossPost":K?"LiveBadge":"Category"),(0,r.jsxs)("div",{className:(0,i.Z)(u.Z.ContentCard,!U&&et?"hd0te91":"","hd0te90",p.F.contentCard.contentCardContainer,E),children:[(0,r.jsxs)("div",{className:(0,i.Z)("hd0te93",f[F],j&&g[j],B&&m[B],!j&&!B&&"hd0te94",O),children:["square"===F?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.Z,{src:ea?.horizontal||_.horizontal,alt:M,priority:!!X,sizes:"100vw",className:p.F.layout.hideTabletPlus}),(0,r.jsx)(s.Z,{src:ea?.square||_.square,alt:M,priority:!!X,sizes:"250px",className:p.F.layout.showTabletPlus})]}):(0,r.jsx)(s.Z,{src:ea?.horizontal||_.horizontal,alt:M,priority:!!X,sizes:"(max-width: 768px) 100vw, (max-width: 1180px) 50vw, 640px"}),$&&"thumbnail"===V&&(0,r.jsx)(l.Z,{placement:"thumbnail",variation:$,size:"large"}),ee&&ei&&(0,r.jsx)(a.Z,{score:ee})]}),(0,r.jsx)("div",{className:(0,i.Z)(W&&"hd0te9j"),children:(0,r.jsx)("div",{className:N||"hd0te92",children:(0,r.jsx)(o.Z,{adFlag:v,advertiserName:b,authors:C,category:x,chorusId:k,chorusUuid:w,commentUrl:T,componentContext:t,contentBlockSize:S,contentBlockVariation:I,contentType:R,crossPostSource:A,dek:P,gaComponentName:L,headline:M,id:D,live:K,lowerMetaFirstComponent:z,lowerMetaSecondComponent:q,lowerMetaThirdComponent:H,mediaVariation:$,mediaVariationIconPlacement:V,membersOnly:G,metaVariation:Z,packageName:Q,permalink:Y,postTemplate:J,showAuthorBy:en,showDek:er,streamName:eo,timestamp:es,upperMetaFirstComponent:ed,upperMetaSecondComponent:eu,upperMetaThirdComponent:ec})})})]})}},94977:function(e,n,t){"use strict";t.d(n,{Z:function(){return r.Z}});var r=t(28192)},51065:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var r=t(31561),i=t(35458),o=t(58534),a=t(90945),s=t(78270),l=t(53130),u=t(38263),c=t(43158),d=t(46688),p=t(60699),h=t(78796);t(48743);var f=e=>{let{componentContext:n="splitContentCard"}=e,t=(0,c.kj)(["splitContentCard",n]),f=(0,c.dj)("splitContentCard",n||""),{placeholderImageUrl:m}=(0,h.Q)().siteSettings,{adFlag:g,advertiserName:y,authors:_,category:v,chorusId:b,chorusUuid:C,className:x,contentBlockSize:k,contentBlockVariation:w,contentType:E,crossPostSource:T,crossPostUrl:S,dek:I,gaComponentName:R,headline:A,id:P,live:N,lowerMetaFirstComponent:O,lowerMetaSecondComponent:L,lowerMetaThirdComponent:M,mediaVariation:D,mediaVariationIconPlacement:F,metaVariation:j,packageName:B,permalink:U,postTemplate:K,score:z,showDek:q,showScore:H,streamName:$,thumbnails:V,timestamp:G,upperMetaFirstComponent:Z,upperMetaSecondComponent:W,upperMetaThirdComponent:Q,verticalCategory:Y}=(0,d.Z)(e,f);return(0,r.jsxs)("div",{className:(0,i.Z)("ap1uvv0",p.F.contentCard.contentCardContainer,x),children:[(0,r.jsx)(o.Z,{adFlag:g,advertiserName:y,authors:_,category:v,chorusId:b,chorusUuid:C,componentContext:n,contentType:E,crossPostSource:T,crossPostUrl:S,firstComponent:Z,headline:A,id:P,layout:"upper",live:N,metaVariation:j,packageName:B,permalink:U,secondComponent:W,streamName:$,thirdComponent:Q,timestamp:G}),(0,r.jsxs)("div",{className:"ap1uvv2",children:[(0,r.jsx)(l.Z,{sizes:"221px",src:V?.horizontal||m.horizontal,alt:A}),D&&"thumbnail"===F&&(0,r.jsx)(u.Z,{placement:"thumbnail",variation:D}),z&&H&&(0,r.jsx)(s.Z,{score:z})]}),(0,r.jsx)("div",{className:"ap1uvv1",children:(0,r.jsx)(a.Z,{adFlag:g,advertiserName:y,authors:_,category:v,chorusId:b,chorusUuid:C,componentContext:t,contentBlockSize:k,contentBlockVariation:w,contentType:E,crossPostSource:T,crossPostUrl:S,dek:I,gaComponentName:R,headline:A,id:P,live:N,lowerMetaFirstComponent:O,lowerMetaSecondComponent:L,lowerMetaThirdComponent:M,mediaVariation:D,mediaVariationIconPlacement:F,packageName:B,permalink:U,postTemplate:K,showDek:q,streamName:$,timestamp:G,verticalCategory:Y})})]})}},87791:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});var r=t(31561),i=t(35458),o=t(85056);t(15779);var a={primary:"bl2rg41 bl2rg40",secondary:"bl2rg42 bl2rg40",commerce:"bl2rg43 bl2rg40",account:"bl2rg44 bl2rg40",auth:"bl2rg45 bl2rg40"},s=({text:e,displayType:n="primary",className:t,iconLeft:s,iconRight:l,fullWidth:u,...c})=>(0,r.jsxs)("href"in c?"a":"button",{className:(0,i.Z)(o.I.Button,a[n],t&&t,u&&"bl2rg46"),...c,children:[s&&(0,r.jsx)("span",{children:s}),(0,r.jsx)("span",{children:e}),l&&(0,r.jsx)("span",{children:l})]})},31994:function(e,n,t){"use strict";t.d(n,{Z:function(){return r.Z}});var r=t(87791)},98989:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t(31561),i=t(35458),o=t(82201),a=t(85056),s=t(60699);t(9237),t(11827),t(82012),t(51510),t(45002),t(51140),t(699),t(70312);var l=(0,o.forwardRef)(({label:e,className:n,actionButton:t,id:l,hideLabel:u,inputClassName:c,actionButtonContainerClassName:d,...p},h)=>{let f=(0,o.useId)(),m=l||f;return(0,r.jsxs)("div",{className:(0,i.Z)(a.I.FormFieldText,"bwzmda0",n),children:[(0,r.jsx)("label",{htmlFor:m,className:(0,i.Z)("_1vr06930",u&&s.F.accessibility.srOnly),children:e}),(0,r.jsxs)("div",{className:"bwzmda1",children:[(0,r.jsx)("input",{id:l||m,ref:h,className:(0,i.Z)("_1vr06931",c),...p}),t&&(0,r.jsx)("span",{className:(0,i.Z)("bwzmda4",d),children:t})]})]})})},15984:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});var r=t(31561),i=t(35458),o=t(85056);t(77791);var a="fatpw52",s=({text:e,className:n,textClassName:t,iconLeft:s,iconRight:l,underlineIcon:u=!0,style:c,...d})=>(0,r.jsx)("href"in d?"a":"button",{className:"fatpw50",...d,children:(0,r.jsxs)("span",{className:(0,i.Z)(o.I.LinkButton,"fatpw51",u&&a,n),style:c,children:[s&&(0,r.jsx)("span",{children:s}),(0,r.jsx)("span",{className:(0,i.Z)(!u&&a,t),children:e}),l&&(0,r.jsx)("span",{children:l})]})})},8900:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t(31561),i=t(35458),o=t(82201),a=t(98989),s=({className:e,fill:n="currentColor",width:t=21,height:i=20})=>(0,r.jsx)("svg",{className:e,width:t,height:i,viewBox:"0 0 21 20",fill:n,xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6667 13.2093C12.6485 13.9936 11.357 14.4626 9.95174 14.4626C6.66468 14.4626 4 11.8966 4 8.7313C4 5.56599 6.66468 3 9.95174 3C13.2388 3 15.9035 5.56599 15.9035 8.7313C15.9035 10.0845 15.4164 11.3282 14.602 12.3087L17.5 15.0994L16.5648 16L13.6667 13.2093ZM5.32261 8.7313C5.32261 6.26939 7.39514 4.27362 9.95174 4.27362C12.5083 4.27362 14.5809 6.26939 14.5809 8.7313C14.5809 9.8776 14.1315 10.9228 13.3933 11.7126L13.0477 12.0454C12.2276 12.7563 11.1421 13.189 9.95174 13.189C7.39514 13.189 5.32261 11.1932 5.32261 8.7313Z",fill:n})});t(13278);var l=(0,o.forwardRef)(({iconClassName:e,inputClassName:n,inputContainerClassName:t,defaultValue:o,searchIconContainer:l,placeholder:u="Search"},c)=>(0,r.jsx)(a.Z,{name:"query",type:"text",label:"Search",spellCheck:"false",maxLength:255,autoComplete:"off",placeholder:u,className:(0,i.Z)(t,"iaa3me1"),inputClassName:(0,i.Z)(n,"iaa3me2"),ref:c,defaultValue:o,actionButtonContainerClassName:l,actionButton:(0,r.jsx)("button",{type:"submit","aria-label":"Submit Search",children:(0,r.jsx)(s,{className:(0,i.Z)(e,"iaa3me3")})}),hideLabel:!0,required:!0}))},83016:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="",width:t=13,height:i=10})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,viewBox:"0 0 13 10",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Audio"}),(0,r.jsx)("path",{d:"M6.648.463 3.471 3.212H.463v3.537h2.962l3.223 2.788V.463Z",fill:n}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.841.042c.165.075.27.24.27.421v9.074a.463.463 0 0 1-.766.35L3.253 7.212H.463A.463.463 0 0 1 0 6.749V3.212c0-.256.207-.463.463-.463h2.835L6.345.113a.463.463 0 0 1 .496-.071Zm-.656 1.434L3.774 3.562a.463.463 0 0 1-.303.113H.926v2.61h2.5c.11 0 .218.04.302.113l2.457 2.126V1.476ZM10.474.145c.2-.16.49-.128.65.071a7.65 7.65 0 0 1 0 9.583.463.463 0 0 1-.721-.58 6.725 6.725 0 0 0 0-8.423.463.463 0 0 1 .07-.65Zm-1.19 1.192a.463.463 0 0 1 .648.098 6.02 6.02 0 0 1 0 7.145.463.463 0 1 1-.745-.55 5.094 5.094 0 0 0 0-6.045.463.463 0 0 1 .098-.648ZM7.99 2.638a.463.463 0 0 1 .642.133 4.075 4.075 0 0 1 0 4.473.463.463 0 0 1-.775-.508 3.15 3.15 0 0 0 0-3.456.463.463 0 0 1 .133-.642Z",fill:n})]})},84563:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e,width:n=13,height:t=8})=>(0,r.jsx)("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",width:n,height:t,viewBox:"0 0 13 8",fill:"#131313",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M12.357 1.179 6.179 7.357 0 1.179 1.179 0l5 5 5-5 1.178 1.179Z",clipRule:"evenodd"})})},60355:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e,width:n=20,height:t=19,fill:i="currentColor"})=>(0,r.jsxs)("svg",{className:e,width:n,height:t,viewBox:"0 0 20 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Close"}),(0,r.jsx)("line",{x1:"1.70711",y1:"0.831956",x2:"18.6483",y2:"17.7731",stroke:i,strokeWidth:"2"}),(0,r.jsx)("line",{x1:"1.35149",y1:"17.7734",x2:"18.2927",y2:"0.832185",stroke:i,strokeWidth:"2"})]})},75817:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",width:n=29,height:t=30,fill:i="currentColor"})=>(0,r.jsxs)("svg",{className:e,width:n,height:t,viewBox:"0 0 29 30",fill:i,xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Collapse"}),(0,r.jsx)("line",{x1:"4",y1:"14.4805",x2:"26",y2:"14.4805",stroke:i,strokeWidth:"4"})]})},7189:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="",width:t=18,height:i=18})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"External Link"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.8999 0.400024H10.8999V4.40002H9.8999V2.10713L4.8999 7.10713L4.1928 6.40002L9.1928 1.40002H6.8999V0.400024ZM2.3999 2.90002C2.12604 2.90002 1.8999 3.12617 1.8999 3.40002V8.90002C1.8999 9.03263 1.95258 9.15981 2.04635 9.25358C2.14012 9.34735 2.26729 9.40002 2.3999 9.40002H7.8999C8.03251 9.40002 8.15969 9.34735 8.25346 9.25358C8.34722 9.15981 8.3999 9.03263 8.3999 8.90002V5.90002H9.3999V8.90002C9.3999 9.29785 9.24187 9.67938 8.96056 9.96068C8.67926 10.242 8.29773 10.4 7.8999 10.4H2.3999C2.00208 10.4 1.62055 10.242 1.33924 9.96068C1.05794 9.67938 0.899902 9.29785 0.899902 8.90002V3.40002C0.899902 2.57388 1.57376 1.90002 2.3999 1.90002H5.3999V2.90002H2.3999Z",fill:n})]})},74795:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",width:n="29",height:t="30",fill:i="currentColor"})=>(0,r.jsxs)("svg",{className:e,width:n,height:t,viewBox:"0 0 29 30",fill:i,xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Expand"}),(0,r.jsx)("line",{x1:"4",y1:"14.4805",x2:"26",y2:"14.4805",stroke:i,strokeWidth:"4"}),(0,r.jsx)("line",{x1:"15",y1:"3.48047",x2:"15",y2:"25.4805",stroke:i,strokeWidth:"4"})]})},425:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="",height:t=30,width:i=30})=>(0,r.jsxs)("svg",{className:e,height:t,width:i,viewBox:"-2 -1 16 16",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"RSS"}),(0,r.jsx)("path",{fill:n,d:"M3.772 10.864c0 .454-.159.84-.477 1.159a1.578 1.578 0 0 1-1.159.477c-.454 0-.84-.16-1.159-.477a1.578 1.578 0 0 1-.477-1.16c0-.454.16-.84.477-1.158a1.578 1.578 0 0 1 1.16-.478c.454 0 .84.16 1.158.478.318.318.477.704.477 1.159Zm4.363 1.048a.516.516 0 0 1-.144.409.502.502 0 0 1-.401.179H6.44a.524.524 0 0 1-.367-.14.519.519 0 0 1-.17-.354A5.3 5.3 0 0 0 4.33 8.669 5.3 5.3 0 0 0 .994 7.097a.519.519 0 0 1-.353-.17A.524.524 0 0 1 .5 6.56V5.41c0-.166.06-.3.179-.401a.497.497 0 0 1 .366-.145h.043a7.64 7.64 0 0 1 2.608.686c.83.383 1.565.899 2.207 1.547a7.536 7.536 0 0 1 1.546 2.207c.384.83.613 1.699.686 2.608Zm4.364.017a.493.493 0 0 1-.154.4.504.504 0 0 1-.392.171h-1.218a.532.532 0 0 1-.38-.15.51.51 0 0 1-.166-.361 9.53 9.53 0 0 0-.86-3.482 9.796 9.796 0 0 0-1.973-2.864A9.795 9.795 0 0 0 4.492 3.67a9.65 9.65 0 0 0-3.48-.869.51.51 0 0 1-.363-.166.522.522 0 0 1-.149-.37v-1.22C.5.886.557.755.67.653A.51.51 0 0 1 1.045.5h.026c1.488.074 2.913.415 4.274 1.023 1.36.608 2.569 1.443 3.625 2.505a11.948 11.948 0 0 1 2.506 3.627 11.83 11.83 0 0 1 1.022 4.274Z"})]})},93049:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="currentColor",width:t=13,height:i=8})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,viewBox:"0 0 13 8",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Video"}),(0,r.jsx)("path",{d:"M6.796.259H1.204C.66.259.217.786.217 1.436v5.128c0 .65.442 1.177.987 1.177h5.592c.545 0 .987-.527.987-1.177V1.436c0-.65-.442-1.177-.987-1.177Z",fill:n}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.204 0h5.592C7.46 0 8 .643 8 1.436v5.128C8 7.357 7.46 8 6.796 8H1.204C.54 8 0 7.357 0 6.564V1.436C0 .643.54 0 1.204 0Zm0 .259h5.592c.545 0 .987.527.987 1.177v5.128c0 .65-.442 1.177-.987 1.177H1.204c-.545 0-.987-.527-.987-1.177V1.436c0-.65.442-1.177.987-1.177Z",fill:n}),(0,r.jsx)("path",{d:"m9.037 3.08 3.527-2.034v5.91L9.037 4.922V3.08Z",fill:n}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.8 3.08c0-.09.047-.171.122-.215L12.45.832a.23.23 0 0 1 .235.003.247.247 0 0 1 .117.211v5.91a.247.247 0 0 1-.117.211.23.23 0 0 1-.235.003L8.922 5.136a.247.247 0 0 1-.121-.214V3.08Zm.237 1.842V3.08l3.527-2.034v5.91L9.037 4.922Z",fill:n})]})},90932:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="",width:t=40,height:i=40})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Facebook"}),(0,r.jsx)("path",{d:"M27.0174 21.7497L27.8495 16.3604H22.6403V12.8637C22.6403 11.3906 23.3668 9.95151 25.7019 9.95151H28.0714V5.36435C28.0714 5.36435 25.9212 5 23.866 5C19.5761 5 16.7707 7.57929 16.7707 12.2529V16.3604H12V21.7497H16.7707V34.7746C17.727 34.924 18.707 35 19.7055 35C20.704 35 21.6841 34.9214 22.6403 34.7746V21.7497H27.0174Z",fill:n})]})},11452:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="",width:t=40,height:i=40})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Instagram"}),(0,r.jsx)("path",{d:"M14.1274 6C9.65144 6 6 9.65144 6 14.1274V25.8726C6 30.3486 9.65144 34 14.1274 34H25.8726C30.3486 34 34 30.3486 34 25.8726V14.1274C34 9.65144 30.3486 6 25.8726 6H14.1274ZM14.1274 8.15385H25.8726C29.1833 8.15385 31.8462 10.8125 31.8462 14.1274V25.8726C31.8462 29.1833 29.1875 31.8462 25.8726 31.8462H14.1274C10.8167 31.8462 8.15385 29.1875 8.15385 25.8726V14.1274C8.15385 10.8167 10.8125 8.15385 14.1274 8.15385ZM28.0769 10.3077C27.1851 10.3077 26.4615 11.0313 26.4615 11.9231C26.4615 12.8149 27.1851 13.5385 28.0769 13.5385C28.9688 13.5385 29.6923 12.8149 29.6923 11.9231C29.6923 11.0313 28.9688 10.3077 28.0769 10.3077ZM20 12.4615C15.848 12.4615 12.4615 15.848 12.4615 20C12.4615 24.152 15.848 27.5385 20 27.5385C24.152 27.5385 27.5385 24.152 27.5385 20C27.5385 15.848 24.152 12.4615 20 12.4615ZM20 14.6154C22.9868 14.6154 25.3846 17.0132 25.3846 20C25.3846 22.9868 22.9868 25.3846 20 25.3846C17.0132 25.3846 14.6154 22.9868 14.6154 20C14.6154 17.0132 17.0132 14.6154 20 14.6154Z",fill:n})]})},98433:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="",width:t=40,height:i=40})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"TikTok"}),(0,r.jsx)("path",{d:"M34 17.1227C31.2476 17.1293 28.5627 16.2709 26.3247 14.669V25.8418C26.3239 27.9111 25.6914 29.9309 24.5117 31.6311C23.332 33.3312 21.6613 34.6307 19.7231 35.3558C17.7849 36.0808 15.6715 36.1969 13.6655 35.6885C11.6595 35.1801 9.85661 34.0714 8.49777 32.5107C7.13894 30.95 6.28899 29.0116 6.06156 26.9548C5.83414 24.898 6.24009 22.8208 7.22513 21.001C8.21016 19.1811 9.72734 17.7053 11.5738 16.771C13.4202 15.8366 15.5079 15.4882 17.5577 15.7724V21.3919C16.6197 21.0969 15.6125 21.1058 14.6799 21.4173C13.7472 21.7288 12.9369 22.3271 12.3645 23.1266C11.7922 23.9262 11.4871 24.8861 11.4929 25.8694C11.4987 26.8526 11.8151 27.8089 12.3968 28.6016C12.9785 29.3944 13.7958 29.983 14.7321 30.2836C15.6683 30.5841 16.6756 30.5811 17.6101 30.2751C18.5445 29.969 19.3584 29.3755 19.9354 28.5793C20.5124 27.7832 20.8231 26.825 20.8231 25.8418V4H26.3247C26.3208 4.46458 26.3598 4.92853 26.4409 5.38598C26.6321 6.40716 27.0296 7.37861 27.6091 8.24091C28.1886 9.10321 28.938 9.83822 29.8113 10.401C31.0538 11.2225 32.5105 11.6604 34 11.6601V17.1227Z",fill:n})]})},68117:function(e,n,t){"use strict";var r=t(31561);n.Z=({className:e="",fill:n="",width:t=40,height:i=40})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Twitter"}),(0,r.jsx)("path",{d:"M22.667 17.8573L33.0917 6H30.6217L21.5658 16.2934L14.3382 6H6L16.9321 21.5668L6 34H8.47L18.0274 23.1273L25.6618 34H34L22.667 17.8573ZM19.2828 21.7035L18.1735 20.1524L9.36075 7.82205H13.1552L20.2694 17.7768L21.3741 19.3278L30.6205 32.2667H26.8261L19.2828 21.7035Z",fill:n})]})},55484:function(e,n,t){"use strict";t.d(n,{Z:function(){return w}});var r=t(31561),i=t(35458),o=t(7345),a=t(69135),s=t(15984),l=t(85056),u=t(43158),c=t(82830),d=t(46688),p=t(60699),h=t(88321),f=t(45293),m=t(76553);t(15119);var g={xsmall:"_1yizdi85 _1yizdi86",small:"_1yizdi85 _1yizdi87",medium:"_1yizdi85 _1yizdi88",large:"_1yizdi85 _1yizdi89"},y={xsmall:"_1yizdi81",small:"_1yizdi82",medium:"_1yizdi83",large:"_1yizdi84"},_="_1yizdi8e",v={xsmall:"_1yizdi8t _1yizdi8s",small:"_1yizdi8u _1yizdi8s",medium:"_1yizdi8v _1yizdi8s",large:"_1yizdi8w",branded:"_1yizdi8x"},b={xsmall:"_1yizdi8z",small:"_1yizdi810",medium:"_1yizdi811",large:"_1yizdi812",branded:"_1yizdi813"},C={xsmall:"_1yizdi86",small:"_1yizdi87",medium:"_1yizdi88",large:"_1yizdi89"},x={xsmall:"_1yizdi8m _1yizdi8l",small:"_1yizdi8n _1yizdi8l",medium:"_1yizdi8o _1yizdi8l",large:"_1yizdi8p _1yizdi8l",branded:"_1yizdi8q _1yizdi8l"},k={xsmall:"_1yizdi8h _1yizdi8f",small:"_1yizdi8i _1yizdi8f",medium:"_1yizdi8j _1yizdi8f",large:"_1yizdi8k _1yizdi8f"},w=e=>{let n;let t=(0,h.z$)(),{stickyNavTriggerClassName:w}=(0,c.Q)(),{siteOrigin:E,communityOrigin:T}=(0,f.q)().communityConfig,S=(0,u.dj)("pageHeader",e.componentContext||""),{borderBottom:I,borderTop:R,center:A,className:P,classNameDescription:N,classNameLinks:O,classNameSubhead:L,classNameTitle:M,classNameMoreLink:D,description:F,headingLevel:j="h1",isBranded:B,links:U,moreLink:K,moreLinkIcon:z,paddingBottom:q,size:H="small",subhead:$,title:V,sponsorshipAdType:G}=(0,d.Z)(e,S);return n="string"==typeof F?[F]:F||[],(0,r.jsxs)("div",{className:(0,i.Z)("_1yizdi80",R&&y[H],I&&g[H],q&&C[H],P),children:[(0,r.jsxs)("div",{className:(0,i.Z)(k[H],G&&"_1yizdi8g"),children:[V&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.Z,{html:V,component:j,className:(0,i.Z)(x[H],B&&x.branded,A&&_,p.F.text.linkStyles,M)}),G&&(0,r.jsx)("div",{children:(0,r.jsx)(o.Z,{adType:G})})]}),K&&(0,r.jsx)("span",{className:(0,i.Z)("_1yizdi8y",D),children:(0,r.jsx)(s.Z,{href:K.url,text:K.text,iconRight:z,className:b[H]})})]}),$&&(0,r.jsx)(a.Z,{className:(0,i.Z)("_1yizdi8r",A&&_,L),html:$}),n.map((e,n)=>(0,r.jsx)(a.Z,{className:(0,i.Z)(l.I.EntryGroupDescription,v[H],B&&v.branded,p.F.text.paragraphSpacing,p.F.text.linkStyles,A&&_,N),html:e},n)),U&&U.length>0&&(0,r.jsx)("ul",{className:(0,i.Z)(O,"_1yizdi814",A&&"_1yizdi815"),children:U.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:(0,m.QW)(e.url,E||T),className:(0,i.Z)("_1yizdi816",e.highlight&&"_1yizdi817"),onClick:()=>t?.emit({event:"subnavigation_click",subnavigation_click:{name:e.text}}),children:e.text})},e.url))}),(0,r.jsx)("div",{className:w})]})}},36381:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(31561),i=t(35458);t(37e3);var o=({campaign:e,className:n,imageClassName:t="",textClassName:o=""})=>{let a=e?.advertiserPreamble||"Advertisement Content from";return e?(0,r.jsxs)("div",{className:(0,i.Z)("_87ia840",n),children:[(0,r.jsxs)("div",{className:(0,i.Z)("_87ia841",o),children:[e.campaignDisclaimer?(0,r.jsx)("span",{className:"_87ia846",children:a}):(0,r.jsx)("span",{children:a}),e.campaignDisclaimer&&(0,r.jsx)("div",{className:"_87ia847",children:e.campaignDisclaimer})]}),(0,r.jsx)("div",{className:(0,i.Z)("_87ia844",t),children:(0,r.jsx)("a",{href:e.advertiserClickthroughUrl?e.advertiserClickthroughUrl:"/",children:e.campaignAdvertiserDarkImage||e.campaignAdvertiserLightImage?(0,r.jsx)("div",{className:"_87ia842",children:(0,r.jsx)("img",{className:"_87ia843",src:e.campaignAdvertiserDarkImage||e.campaignAdvertiserLightImage,alt:e.advertiserName?`${e.advertiserName} logo`:"Campaign Logo"})}):(0,r.jsx)("span",{className:"_87ia845",children:e.advertiserName})})})]}):null}},33005:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var r=t(31561),i=t(35458),o=t(68093),a=t.n(o);function s({src:e,width:n}){try{let t=new URL(e).pathname.split("/");if("wp-content"===t[1])return function({src:e,width:n}){let t=new URL(e);return t.searchParams.set("w",n.toString()),t.toString()}({src:e,width:n});return e}catch(n){return e}}t(21858);let l="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mN8+R8AAtcB6oaHtZcAAAAASUVORK5CYII=";var u=({sizes:e,placeholder:n="blur",blurDataURL:t=l,className:o,...u})=>{let c=u.fill||!(u.height&&u.width);return(0,r.jsx)(a(),{...u,fill:c,className:(0,i.Z)(o,c&&"mvmjsc0"),blurDataURL:t,placeholder:n,sizes:e,loader:s,"data-chromatic":"ignore"})}},53130:function(e,n,t){"use strict";t.d(n,{Z:function(){return r.Z}});var r=t(33005)},38263:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var r=t(31561),i=t(83016),o=({className:e="",fill:n="",width:t=40,height:i=40})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",children:[(0,r.jsx)("title",{children:"Play"}),(0,r.jsx)("path",{d:"m35.011 21.54-24.03 13.68c-1.052.527-2.104.176-2.806-.701 0-.35-.175-.702-.175-1.052V6.105C8 4.877 8.877 4 9.93 4c.35 0 .701.175 1.052.35l24.03 13.682c1.051.526 1.227 1.754.7 2.806-.175.35-.35.526-.7.702Z",fill:n})]}),a=t(93049);t(70626);var s={small:"_102m78f2 _102m78f1",large:"_102m78f3 _102m78f1"},l={small:"_102m78f5 _102m78f4",large:"_102m78f6 _102m78f4"},u=({variation:e,placement:n,size:t="small"})=>{if("title"===n){let n="video"===e?a.Z:i.Z;return(0,r.jsx)(n,{className:"_102m78f0"})}{let n="video"===e?o:i.Z;return(0,r.jsx)("div",{className:s[t],children:(0,r.jsx)(n,{className:l[t]})})}}},78819:function(e,n,t){"use strict";t.d(n,{o:function(){return p},Z:function(){return d}});var r=t(31561),i=t(35458),o=t(43158),a=t(46688),s=t(88321);t(77791),t(9237),t(11827),t(82012),t(51510),t(45002),t(51140),t(699),t(76858);var l="_1g6d7eu0 xkp0cg4 xkp0cg3",u={standard:"_1g6d7euc",wide:"_1g6d7eud"},c={standard:"_1g6d7eu1 xkp0cg5 xkp0cg3",box:"_1g6d7eu0 xkp0cg4 xkp0cg3",special:"_1g6d7eu3 xkp0cg6 xkp0cg3",articleMetaStandard:"_1g6d7eu4 xkp0cg3",articleMetaFeature:"_1g6d7eu5 xkp0cg3",articleMetaFeatureSplit:"_1g6d7eu6 xkp0cg3",articleMetaSpecial:"_1g6d7eu7 xkp0cg3",articleMetaSpecialSplit:"_1g6d7eu8 xkp0cg3",linkButton:"fatpw51 fatpw52"},d=e=>{let{category:n,className:t,componentContext:u,path:d}=e,p=(0,s.z$)(),h=(0,o.dj)("metaCategory",u||""),{box:f,metaVariation:m="standard",vertical:g}=(0,a.Z)(e,h),y=(0,i.Z)(c[m],f&&l,g&&"_1g6d7eub",t);return d?(0,r.jsx)("a",{href:d,onClick:()=>p?.emit({event:"hub_click",hub_click:{hub_name:n}}),className:y,children:n}):(0,r.jsx)("span",{className:y,children:n})},p=e=>{let{categories:n,componentContext:t,variant:s="standard"}=e,p=(0,o.dj)("metaCategory",t||""),{box:h,categorySeparator:f=" /",listBox:m=!1,metaVariation:g="standard",vertical:y}=(0,a.Z)(e,p);return(0,r.jsx)("ul",{className:(0,i.Z)(u[s],m&&l),children:n.map((e,o)=>(0,r.jsxs)("li",{className:(0,i.Z)("linkButton"===g&&"_1g6d7eua fatpw50"),children:[(0,r.jsx)(d,{...e,vertical:y,box:h,metaVariation:g,componentContext:t}),o(0,r.jsxs)("svg",{className:e,width:n,height:t,fill:i,viewBox:o,xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Comments"}),(0,r.jsx)("desc",{children:"Comment Icon Bubble"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.8999 2.10001C2.76729 2.10001 2.64012 2.15268 2.54635 2.24645C2.45258 2.34022 2.3999 2.4674 2.3999 2.60001V9.3929L3.6928 8.10001H9.8999C10.0325 8.10001 10.1597 8.04733 10.2535 7.95356C10.3472 7.85979 10.3999 7.73261 10.3999 7.60001V2.60001C10.3999 2.4674 10.3472 2.34022 10.2535 2.24645C10.1597 2.15268 10.0325 2.10001 9.8999 2.10001H2.8999ZM1.83924 1.53935C2.12055 1.25804 2.50208 1.10001 2.8999 1.10001H9.8999C10.2977 1.10001 10.6793 1.25804 10.9606 1.53935C11.2419 1.82065 11.3999 2.20218 11.3999 2.60001V7.60001C11.3999 7.99783 11.2419 8.37936 10.9606 8.66067C10.6793 8.94197 10.2977 9.10001 9.8999 9.10001H4.10701L1.3999 11.8071V2.60001C1.3999 2.20218 1.55794 1.82065 1.83924 1.53935Z",fill:"#131313"})]}),s=t(98343),l=t(85056),u=t(88321),c=t(45293),d=t(42061);t(15779),t(57473);var p={lede:"_7y2gng0",contentCard:"_7y2gng1",stickyNav:"_7y2gng2",button:"_7y2gng3 bl2rg42 bl2rg40 bl2rg46"},h=o.memo(({url:e,noText:n,authorName:t,headline:o,contentType:h,id:f,chorusUuid:m,chorusId:g,permalink:y,className:_,variant:v="lede"})=>{let{coralConfig:b}=(0,c.q)(),{prerenderDrawer:C}=(0,d.M)(),x=(0,u.z$)();if(!b)throw Error("missing coral config");return(0,r.jsx)("span",{className:(0,i.Z)(p[v],_),children:(0,r.jsxs)(s.Z,{href:e,className:(0,i.Z)(l.I.CommentsLink,"_7y2gng4"),onMouseEnter:C,onClick:()=>{switch(v){case"lede":x?.emit({event:"coral_comment",coral_comment:{action:"drawer_open_lead"}});return;case"button":x?.emit({event:"coral_comment",coral_comment:{action:"drawer_open_footer"}});return;case"stickyNav":x?.emit({event:"coral_comment",coral_comment:{action:"drawer_open_nav"}});return;default:x?.emit({event:"article_click",article_click:{article_uri:e,article_title:o,author:t,page_type:h}});return}},children:["contentCard"===v&&(0,r.jsx)(a,{width:12,height:12,viewBox:"0 0 12 12",className:"_7y2gng5"}),(0,r.jsx)(b.CoralCount,{id:f,chorusUuid:m,chorusId:g,url:y,noText:n})]})})})},68424:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var r=t(31561),i=t(35458);t(1916);var o={lede:"ujex71 ujex70",card:"ujex72 ujex70"},a=({badgeOrientation:e="horizontal",variation:n="lede",className:t})=>(0,r.jsx)("span",{className:(0,i.Z)(o[n],"vertical"===e&&"ujex73",t),children:"LIVE"})},79348:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});var r=t(31561),i=t(35458),o=t(59195);t(99008);var a={card:"_1onxz3m1 _1onxz3m0",lede:"_1onxz3m2 _1onxz3m0"},s=({leadLayout:e,variant:n="card",className:t})=>{let s=["fullWidth","split"].includes(e);return(0,r.jsx)("span",{className:t,children:(0,r.jsx)(o.Z,{label:"Member\xa0Exclusive",icon:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"10",fill:"none",className:"_1onxz3m4","aria-hidden":"true",children:(0,r.jsx)("path",{fill:"#000",d:"m5.5 0 1.123 3.455h3.632L7.316 5.59 8.44 9.045 5.5 6.91 2.561 9.045 3.684 5.59.744 3.455h3.633L5.5 0Z"})}),className:(0,i.Z)(a[n],s&&"_1onxz3m3"),metaVariation:"box"})})}},54383:function(e,n,t){"use strict";t.d(n,{Z:function(){return x}});var r=t(31561),i=t(35458),o=t(85056),a=t(43158),s=t(46688);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,n){if(n.length1?"s":"")+" required, but only "+n.length+" present")}function c(e){return u(1,arguments),(!!function(e){return u(1,arguments),e instanceof Date||"object"===l(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)||"number"==typeof e)&&!isNaN(Number(function(e){u(1,arguments);var n=Object.prototype.toString.call(e);return e instanceof Date||"object"===l(e)&&"[object Date]"===n?new Date(e.getTime()):"number"==typeof e||"[object Number]"===n?new Date(e):(("string"==typeof e||"[object String]"===n)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}(e)))}function d(e,n,t){var r,i;return u(1,arguments),void 0===n||"locale"in n?t=n:i=n,new Intl.DateTimeFormat(null===(r=t)||void 0===r?void 0:r.locale,i).format(e)}let p=e=>c(e)?d(e,{year:"numeric",month:"short",day:"numeric"},{locale:"en-US"}):"",h=e=>c(e)?d(e,{month:"short",day:"numeric"},{locale:"en-US"}):"",f=e=>c(e)?d(e,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",timeZoneName:"short"},{locale:"en-US"}):"",m=e=>c(e)?d(e,{hour:"numeric",minute:"numeric",timeZoneName:"short"},{locale:"en-US"}):"",g=(e,n)=>new Intl.RelativeTimeFormat("en-US",{numeric:"auto"}).format(e,n),y=e=>{let n=new Date;return n.getFullYear()===e.getFullYear()&&n.getMonth()===e.getMonth()&&n.getDate()===e.getDate()},_=e=>{if(!e.length)return"";let n=new Date,t=new Date(e),r=n.getTime()-t.getTime(),i=y(t);if(!(t instanceof Date)||isNaN(t.valueOf()))return"";if(r<1e3)return"Now";if(r<6e4)return g(Math.floor(-1*r/1e3),"seconds");if(r<12e4)return"A minute ago";if(r<36e5)return g(Math.floor(-1*r/6e4),"minutes");if(r<54e5)return"An hour ago";if(r<108e5)return"Two hours ago";else if(i)return m(t);else if(n.getFullYear()-t.getFullYear()>0)return p(t);else return h(t)},v=e=>{if(!e.length)return"";let n=new Date(e);return!(n instanceof Date)||isNaN(n.valueOf())?"":f(n)},b=e=>d(new Date(e),{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",timeZoneName:"short"},{locale:"en-US"});t(9237),t(11827),t(82012),t(51510),t(45002),t(51140),t(699),t(27484);var C={hub:"_1rf9w8o2 _1rf9w8o0 xkp0cg3",lede:"_1rf9w8o3 _1rf9w8o1 _1rf9w8o0 xkp0cg3",stream:"_1rf9w8o4 _1rf9w8o1 _1rf9w8o0 xkp0cg3",latestRecirc:"_1rf9w8o5 _1rf9w8o0 xkp0cg3"},x=({timestamp:e,className:n,children:t,componentContext:l,...u})=>{let c=(0,a.dj)("metaTimestamp",l||""),{format:d}=(0,s.Z)(u,c),p=({hub:_,lede:b,stream:v,latestRecirc:_})[d](e);return(0,r.jsxs)("span",{className:(0,i.Z)(o.I.Timestamp,C[d],n),children:[t,(0,r.jsx)("time",{dateTime:e,suppressHydrationWarning:!0,children:p})]})}},84561:function(e,n,t){"use strict";let r;t.d(n,{Z:function(){return B}});var i=t(31561),o=t(82201);function a(){let e=[],n={addEventListener:(e,t,r,i)=>(e.addEventListener(t,r,i),n.add(()=>e.removeEventListener(t,r,i))),requestAnimationFrame(...e){let t=requestAnimationFrame(...e);return n.add(()=>cancelAnimationFrame(t))},nextFrame:(...e)=>n.requestAnimationFrame(()=>n.requestAnimationFrame(...e)),setTimeout(...e){let t=setTimeout(...e);return n.add(()=>clearTimeout(t))},microTask(...e){var t;let r={current:!0};return t=()=>{r.current&&e[0]()},"function"==typeof queueMicrotask?queueMicrotask(t):Promise.resolve().then(t).catch(e=>setTimeout(()=>{throw e})),n.add(()=>{r.current=!1})},style(e,n,t){let r=e.style.getPropertyValue(n);return Object.assign(e.style,{[n]:t}),this.add(()=>{Object.assign(e.style,{[n]:r})})},group(e){let n=a();return e(n),this.add(()=>n.dispose())},add:n=>(e.push(n),()=>{let t=e.indexOf(n);if(t>=0)for(let n of e.splice(t,1))n()}),dispose(){for(let n of e.splice(0))n()}};return n}function s(){let[e]=(0,o.useState)(a);return(0,o.useEffect)(()=>()=>e.dispose(),[e]),e}var l=t(74241),u=t(33782);function c(){let e=(0,o.useRef)(!1);return(0,u.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var d=t(1072),p=t(96267),h=t(93618),f=t(99146);function m(e,...n){e&&n.length>0&&e.classList.add(...n)}function g(e,...n){e&&n.length>0&&e.classList.remove(...n)}var y=t(59790),_=t(8933),v=t(59582);function b(e=""){return e.split(/\s+/).filter(e=>e.length>1)}let C=(0,o.createContext)(null);C.displayName="TransitionContext";var x=((r=x||{}).Visible="visible",r.Hidden="hidden",r);let k=(0,o.createContext)(null);function w(e){return"children"in e?w(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function E(e,n){let t=(0,d.E)(e),r=(0,o.useRef)([]),i=c(),a=s(),u=(0,l.z)((e,n=v.l4.Hidden)=>{let o=r.current.findIndex(({el:n})=>n===e);-1!==o&&((0,f.E)(n,{[v.l4.Unmount](){r.current.splice(o,1)},[v.l4.Hidden](){r.current[o].state="hidden"}}),a.microTask(()=>{var e;!w(r)&&i.current&&(null==(e=t.current)||e.call(t))}))}),p=(0,l.z)(e=>{let n=r.current.find(({el:n})=>n===e);return n?"visible"!==n.state&&(n.state="visible"):r.current.push({el:e,state:"visible"}),()=>u(e,v.l4.Unmount)}),h=(0,o.useRef)([]),m=(0,o.useRef)(Promise.resolve()),g=(0,o.useRef)({enter:[],leave:[],idle:[]}),y=(0,l.z)((e,t,r)=>{h.current.splice(0),n&&(n.chains.current[t]=n.chains.current[t].filter(([n])=>n!==e)),null==n||n.chains.current[t].push([e,new Promise(e=>{h.current.push(e)})]),null==n||n.chains.current[t].push([e,new Promise(e=>{Promise.all(g.current[t].map(([e,n])=>n)).then(()=>e())})]),"enter"===t?m.current=m.current.then(()=>null==n?void 0:n.wait.current).then(()=>r(t)):r(t)}),_=(0,l.z)((e,n,t)=>{Promise.all(g.current[n].splice(0).map(([e,n])=>n)).then(()=>{var e;null==(e=h.current.shift())||e()}).then(()=>t(n))});return(0,o.useMemo)(()=>({children:r,register:p,unregister:u,onStart:y,onStop:_,wait:m,chains:g}),[p,u,r,y,_,g,m])}function T(){}k.displayName="NestingContext";let S=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function I(e){var n;let t={};for(let r of S)t[r]=null!=(n=e[r])?n:T;return t}let R=v.AN.RenderStrategy,A=(0,v.yV)(function(e,n){let{show:t,appear:r=!1,unmount:i=!0,...a}=e,s=(0,o.useRef)(null),c=(0,h.T)(s,n);(0,p.H)();let d=(0,y.oJ)();if(void 0===t&&null!==d&&(t=(d&y.ZM.Open)===y.ZM.Open),![!0,!1].includes(t))throw Error("A is used but it is missing a `show={true | false}` prop.");let[f,m]=(0,o.useState)(t?"visible":"hidden"),g=E(()=>{m("hidden")}),[_,b]=(0,o.useState)(!0),x=(0,o.useRef)([t]);(0,u.e)(()=>{!1!==_&&x.current[x.current.length-1]!==t&&(x.current.push(t),b(!1))},[x,t]);let T=(0,o.useMemo)(()=>({show:t,appear:r,initial:_}),[t,r,_]);(0,o.useEffect)(()=>{if(t)m("visible");else if(w(g)){let e=s.current;if(!e)return;let n=e.getBoundingClientRect();0===n.x&&0===n.y&&0===n.width&&0===n.height&&m("hidden")}else m("hidden")},[t,g]);let S={unmount:i},I=(0,l.z)(()=>{var n;_&&b(!1),null==(n=e.beforeEnter)||n.call(e)}),A=(0,l.z)(()=>{var n;_&&b(!1),null==(n=e.beforeLeave)||n.call(e)});return o.createElement(k.Provider,{value:g},o.createElement(C.Provider,{value:T},(0,v.sY)({ourProps:{...S,as:o.Fragment,children:o.createElement(P,{ref:c,...S,...a,beforeEnter:I,beforeLeave:A})},theirProps:{},defaultTag:o.Fragment,features:R,visible:"visible"===f,name:"Transition"})))}),P=(0,v.yV)(function(e,n){var t,r,i;let x;let{beforeEnter:T,afterEnter:S,beforeLeave:A,afterLeave:P,enter:N,enterFrom:O,enterTo:L,entered:M,leave:D,leaveFrom:F,leaveTo:j,...B}=e,U=(0,o.useRef)(null),K=(0,h.T)(U,n),z=null==(t=B.unmount)||t?v.l4.Unmount:v.l4.Hidden,{show:q,appear:H,initial:$}=function(){let e=(0,o.useContext)(C);if(null===e)throw Error("A is used but it is missing a parent or .");return e}(),[V,G]=(0,o.useState)(q?"visible":"hidden"),Z=function(){let e=(0,o.useContext)(k);if(null===e)throw Error("A is used but it is missing a parent or .");return e}(),{register:W,unregister:Q}=Z;(0,o.useEffect)(()=>W(U),[W,U]),(0,o.useEffect)(()=>{if(z===v.l4.Hidden&&U.current){if(q&&"visible"!==V){G("visible");return}return(0,f.E)(V,{hidden:()=>Q(U),visible:()=>W(U)})}},[V,U,W,Q,q,z]);let Y=(0,d.E)({base:b(B.className),enter:b(N),enterFrom:b(O),enterTo:b(L),entered:b(M),leave:b(D),leaveFrom:b(F),leaveTo:b(j)}),J=(i={beforeEnter:T,afterEnter:S,beforeLeave:A,afterLeave:P},x=(0,o.useRef)(I(i)),(0,o.useEffect)(()=>{x.current=I(i)},[i]),x),X=(0,p.H)();(0,o.useEffect)(()=>{if(X&&"visible"===V&&null===U.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[U,V,X]);let ee=H&&q&&$,en=X&&(!$||H)?q?"enter":"leave":"idle",et=function(e=0){let[n,t]=(0,o.useState)(e),r=c(),i=(0,o.useCallback)(e=>{r.current&&t(n=>n|e)},[n,r]),a=(0,o.useCallback)(e=>!!(n&e),[n]);return{flags:n,addFlag:i,hasFlag:a,removeFlag:(0,o.useCallback)(e=>{r.current&&t(n=>n&~e)},[t,r]),toggleFlag:(0,o.useCallback)(e=>{r.current&&t(n=>n^e)},[t])}}(0),er=(0,l.z)(e=>(0,f.E)(e,{enter:()=>{et.addFlag(y.ZM.Opening),J.current.beforeEnter()},leave:()=>{et.addFlag(y.ZM.Closing),J.current.beforeLeave()},idle:()=>{}})),ei=(0,l.z)(e=>(0,f.E)(e,{enter:()=>{et.removeFlag(y.ZM.Opening),J.current.afterEnter()},leave:()=>{et.removeFlag(y.ZM.Closing),J.current.afterLeave()},idle:()=>{}})),eo=E(()=>{G("hidden"),Q(U)},Z),ea=(0,o.useRef)(!1);!function({immediate:e,container:n,direction:t,classes:r,onStart:i,onStop:o}){let l=c(),p=s(),h=(0,d.E)(t);(0,u.e)(()=>{e&&(h.current="enter")},[e]),(0,u.e)(()=>{let e=a();p.add(e.dispose);let t=n.current;if(t&&"idle"!==h.current&&l.current){var s,u,c;let n,l,d,p,y,_,v;return e.dispose(),i.current(h.current),e.add((s=r.current,u="enter"===h.current,c=()=>{e.dispose(),o.current(h.current)},l=u?"enter":"leave",d=a(),p=void 0!==c?(n={called:!1},(...e)=>{if(!n.called)return n.called=!0,c(...e)}):()=>{},"enter"===l&&(t.removeAttribute("hidden"),t.style.display=""),y=(0,f.E)(l,{enter:()=>s.enter,leave:()=>s.leave}),_=(0,f.E)(l,{enter:()=>s.enterTo,leave:()=>s.leaveTo}),v=(0,f.E)(l,{enter:()=>s.enterFrom,leave:()=>s.leaveFrom}),g(t,...s.base,...s.enter,...s.enterTo,...s.enterFrom,...s.leave,...s.leaveFrom,...s.leaveTo,...s.entered),m(t,...s.base,...y,...v),d.nextFrame(()=>{g(t,...s.base,...y,...v),m(t,...s.base,...y,..._),function(e,n){let t=a();if(!e)return t.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[o,s]=[r,i].map(e=>{let[n=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,n)=>n-e);return n}),l=o+s;if(0!==l){t.group(t=>{t.setTimeout(()=>{n(),t.dispose()},l),t.addEventListener(e,"transitionrun",e=>{e.target===e.currentTarget&&t.dispose()})});let r=t.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(n(),r())})}else n();t.add(()=>n()),t.dispose}(t,()=>(g(t,...s.base,...y),m(t,...s.base,...s.entered),p()))}),d.dispose)),e.dispose}},[t])}({immediate:ee,container:U,classes:Y,direction:en,onStart:(0,d.E)(e=>{ea.current=!0,eo.onStart(U,e,er)}),onStop:(0,d.E)(e=>{ea.current=!1,eo.onStop(U,e,ei),"leave"!==e||w(eo)||(G("hidden"),Q(U))})});let es=B;return ee?es={...es,className:(0,_.A)(B.className,...Y.current.enter,...Y.current.enterFrom)}:ea.current&&(es.className=(0,_.A)(B.className,null==(r=U.current)?void 0:r.className),""===es.className&&delete es.className),o.createElement(k.Provider,{value:eo},o.createElement(y.up,{value:(0,f.E)(V,{visible:y.ZM.Open,hidden:y.ZM.Closed})|et.flags},(0,v.sY)({ourProps:{ref:K},theirProps:es,defaultTag:"div",features:R,visible:"visible"===V,name:"Transition.Child"})))}),N=(0,v.yV)(function(e,n){let t=null!==(0,o.useContext)(C),r=null!==(0,y.oJ)();return o.createElement(o.Fragment,null,!t&&r?o.createElement(A,{ref:n,...e}):o.createElement(P,{ref:n,...e}))}),O=Object.assign(A,{Child:N,Root:A});var L=t(35458),M=t(44463),D=t.n(M),F=t(60699);t(16538);var j="xmuitp2",B=({children:e,drawerId:n,drawerClassName:t,onClose:r,open:a,storybookStatic:s,initialFocusElement:l,"aria-label":u,scrollToTop:c=!0,disableTransition:d})=>{let p=(0,o.useRef)(l);p.current=l;let[h,f]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{a&&c&&document.getElementById(`${n}-scroll`)?.scrollTo({top:0})},[n,a,c]),(0,i.jsx)(O.Root,{show:a,as:o.Fragment,unmount:!1,children:(0,i.jsx)("div",{className:(0,L.Z)("xmuitp0",s&&j),id:n,onClick:e=>{e.currentTarget===e.target&&r()},onKeyUp:e=>{"Escape"===e.key&&r()},role:"dialog","aria-modal":"true","aria-labelledby":`${n}-title`,children:(0,i.jsx)(O.Child,{as:o.Fragment,className:d?"xmuitp3":void 0,enter:"xmuitp4",enterFrom:"xmuitp5",enterTo:"xmuitp6",leave:"xmuitp7",leaveFrom:"xmuitp8",leaveTo:"xmuitp9",unmount:!1,afterEnter:()=>f(!0),afterLeave:()=>f(!1),children:(0,i.jsxs)("section",{className:(0,L.Z)("xmuitp1",t,s&&j),id:`${n}-scroll`,children:[(0,i.jsx)("div",{className:F.F.accessibility.srOnly,children:(0,i.jsx)("div",{id:`${n}-title`,children:u})}),(0,i.jsx)(D(),{active:h,focusTrapOptions:{escapeDeactivates:!1,clickOutsideDeactivates:!1,allowOutsideClick:!0,preventScroll:!0,initialFocus:()=>p.current?p.current:void 0},children:(0,i.jsx)("div",{children:e})})]})})})})}},64177:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var r=t(31561),i=t(35458),o=t(43323),a=t(46660),s=t(43158),l=t(46688),u=t(88321),c=t(82201),d=t(98343);t(10281);var p="_1ujku672",h=({linkData:e,showBrandLinks:n=!0})=>{let t=(0,u.z$)();return(0,r.jsx)("div",{className:"_1ujku670",children:e&&e.map((e,o)=>{if(0!==o||n)return(0,r.jsx)(c.Fragment,{children:(0,r.jsx)("ul",{className:(0,i.Z)("_1ujku671",0===o&&"_1ujku674"),children:e.map((e,n)=>e.component?(0,r.jsx)("li",{className:p,children:e.component},n):e.title&&e.href?(0,r.jsx)("li",{className:p,children:(0,r.jsx)(d.Z,{className:"_1ujku673",onClick:()=>t?.emit({event:"footer_click",footer_click:{name:e.title}}),rel:"nofollow",href:e.href,children:e.title})},n):void 0)})},o)})})};t(89964);var f=e=>{let n=(0,u.z$)(),t=(0,s.dj)("footer"),{className:c,Logo:d,linkData:p,showUpperContainer:f,showBrandLinks:m}=(0,l.Z)(e,t);return(0,r.jsx)("footer",{className:(0,i.Z)(a.Z.Footer,c),children:(0,r.jsx)("div",{className:"_149cuuw0",children:(0,r.jsxs)("div",{className:"_149cuuw1",children:[f&&(0,r.jsxs)("div",{className:"_149cuuw3 _149cuuw2",children:[(0,r.jsx)("a",{href:"/",onClick:()=>n?.emit({event:"footer_click",footer_click:{name:"Logo"}}),children:(0,r.jsx)(d,{className:"_149cuuw4"})}),(0,r.jsx)("div",{className:"_149cuuw5 _149cuuw2",children:(0,r.jsx)(o.Z,{})})]}),(0,r.jsx)(h,{showBrandLinks:m,linkData:p}),(0,r.jsxs)("p",{className:"_149cuuw6",children:["\xa9 ",new Date().getFullYear()," ",(0,r.jsx)("a",{rel:"nofollow",href:"https://www.voxmedia.com",children:"Vox Media"}),", LLC. All Rights Reserved"]})]})})})}},98343:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var r=t(31561),i=t(45293),o=t(76553),a=({href:e,suppressHydrationWarning:n=!1,...t})=>{let{siteOrigin:a,communityOrigin:s}=(0,i.q)().communityConfig;return(0,r.jsx)("a",{...t,href:(0,o.QW)(e,a||s),suppressHydrationWarning:n,className:t.className,children:t.children})}},43323:function(e,n,t){"use strict";t.d(n,{Z:function(){return g}});var r=t(31561),i=t(35458),o=t(425),a=t(90932),s=t(11452),l=t(98433),u=t(68117),c=({className:e="",fill:n="",width:t=40,height:i=40})=>(0,r.jsxs)("svg",{className:e,width:t,height:i,viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("title",{children:"Youtube"}),(0,r.jsx)("path",{d:"M33.4148 12.0057C33.0928 10.8232 32.1436 9.891 30.9396 9.57475C28.7556 9 20 9 20 9C20 9 11.2444 9 9.0604 9.57475C7.8564 9.891 6.9072 10.8232 6.5852 12.0057C6 14.1507 6 20 6 20C6 20 6 25.8492 6.5852 27.9942C6.9072 29.1767 7.8564 30.109 9.0604 30.4253C11.2444 31 20 31 20 31C20 31 28.7556 31 30.9396 30.4253C32.145 30.109 33.0928 29.1767 33.4148 27.9942C34 25.8492 34 20 34 20C34 20 34 14.1507 33.4148 12.0057ZM17.2 24.763V15.237L25.6 20L17.2 24.763Z",fill:n})]}),d=t(43158),p=t(46688),h=t(88321);t(28082);var f="_1y2f8pg2",m="_1y2f8pg1",g=e=>{let n=(0,d.dj)("socialLinks"),t=(0,h.z$)(),{className:g,linkData:y}=(0,p.Z)(e,n),_=e=>t?.emit({event:"navigation_click",navigation_click:{name:e}});return(0,r.jsxs)("ul",{className:(0,i.Z)("_1y2f8pg0",g),children:[y.facebook&&(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:y.facebook,className:(0,i.Z)(m),onClick:()=>_("facebook"),rel:"nofollow",children:(0,r.jsx)(a.Z,{className:f})})}),y.twitter&&(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:y.twitter,className:(0,i.Z)(m),onClick:()=>_("twitter"),rel:"nofollow",children:(0,r.jsx)(u.Z,{className:f})})}),y.instagram&&(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:y.instagram,className:(0,i.Z)(m),onClick:()=>_("instagram"),rel:"nofollow",children:(0,r.jsx)(s.Z,{className:f})})}),y.youtube&&(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:y.youtube,className:(0,i.Z)(m),onClick:()=>_("youtube"),rel:"nofollow",children:(0,r.jsx)(c,{className:f})})}),y.rss&&(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:y.rss,className:(0,i.Z)(m),onClick:()=>_("rss"),rel:"nofollow",children:(0,r.jsx)(o.Z,{className:f})})}),y.tiktok&&(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:y.tiktok,className:(0,i.Z)(m),onClick:()=>_("tiktok"),rel:"nofollow",children:(0,r.jsx)(l.Z,{className:f})})})]})}},96112:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});var r=t(31561),i=t(83958),o=t(28192);t(41200);var a={1:"vy7vxs2",2:"vy7vxs3",3:"vy7vxs4"},s=({cardsData:e,gaComponentName:n="three_up_alt_pattern",className:t})=>{let s=(e,t)=>{let i="1"===t;return(0,r.jsx)("div",{className:a[t],children:(0,r.jsx)(o.Z,{...e,componentContext:i?"threeUpAltPatternLargeFirst":"threeUpAltPatternLarge",contentBlockSize:i?"large":"medium",gaComponentName:n})},e.id)},l=(e,t)=>{let s="1"===t,l=s?"large":"medium";return s?(0,r.jsx)("div",{className:a[t],children:(0,r.jsx)(o.Z,{...e,componentContext:"threeUpAltPatternSmall",contentBlockSize:l,gaComponentName:n,showBorder:!0})},e.id):(0,r.jsx)("div",{className:a[t],children:(0,r.jsx)(i.Z,{...e,componentContext:"threeUpPattern",contentBlockSize:l,gaComponentName:n,lastChild:"3"===t})},e.id)},u=[],c=[];return e.forEach((e,n)=>{let t=n+1;u.push(s(e,t.toString())),c.push(l(e,t.toString()))}),(0,r.jsxs)("div",{className:t,children:[(0,r.jsx)("div",{className:"vy7vxs0",children:u}),(0,r.jsx)("div",{className:"vy7vxs1",children:c})]})}},42414:function(e,n,t){"use strict";t.d(n,{Z:function(){return h}});var r=t(31561),i=t(35458),o=t(66952),a=t.n(o),s=t(28192),l=t(43158),u=t(82735),c=t(71343);let d=["threeUpPatternLargeFirst","threeUpPatternLargeSecond","threeUpPatternLargeThird"],p=["threeUpPatternFirst","threeUpPatternSecond","threeUpPatternThird"];var h=e=>{let n=(0,l.dj)("threeUpPattern",e.componentContext||""),{cardsData:t,mobileCardContext:o=p,desktopCardContext:h=d,gaComponentName:f="three_up_pattern",desktopContainerClassName:m,className:g}=a()({},n,e),{mobileContext:y,desktopContext:_}=(0,u.A)(t.length,o,h),v=e=>c.er[(e+1).toString()]||c.er["1"],b=(e,n)=>(0,r.jsx)("div",{className:v(n),children:(0,r.jsx)(s.Z,{...e,componentContext:_[n],gaComponentName:f})},e.id),C=(e,n)=>(0,r.jsx)("div",{className:v(n),children:(0,r.jsx)(s.Z,{...e,componentContext:y[n],gaComponentName:f})},e.id),x=[],k=[];return t.forEach((e,n)=>{x.push(b(e,n)),k.push(C(e,n))}),(0,r.jsxs)("div",{className:g,children:[(0,r.jsx)("div",{className:(0,i.Z)(c.aS,m),children:x}),(0,r.jsx)("div",{className:c.zs,children:k})]})}},46660:function(e,n){"use strict";n.Z={Accordion:"duet--article--accordion",ActionBox:"duet--article--action-box",ArticleByline:"duet--article--article-byline",ArticleGallery:"duet--article--gallery",ArticleGroups:"duet--article--article-groups",ArticleRecirc:"duet--layout--article-recirc",Blockquote:"duet--article--blockquote",BlockPlacement:"duet--article--block-placement",BrandedContentDisclaimer:"duet--article--branded-content-disclaimer",BrandedContentSponsor:"duet--cta--branded-content-sponsor",BrandedLede:"duet--ledes--branded-lede",BreakerByline:"duet--recirculation--breaker-byline",BreakingNewsBanner:"duet--cta--breaking-news-banner",Button:"duet--cta--button",LinkButton:"duet--cta--link-button",Caption:"duet--media--caption",CommentsLink:"duet--article--comments-link",ContactForm:"duet--article--contact-form",ArticleCommentsButton:"duet--article--comments-button",ContentWarning:"duet--media--content-warning",ContentCardGroup:"duet--content-cards--content-card-group",ContentCardPlayButton:"duet--content-cards--content-card-play-button",ContentCardScore:"duet--content-cards--content-card-score",ContentCardStreamLabel:"duet--content-cards--content-card-stream-label",CookieBanner:"duet--cta--cookie-banner",CuratedShowcaseCards:"duet--layout--curated-showcase-cards",DangerouslySetCMSMarkup:"duet--article--dangerously-set-cms-markup",Disclaimer:"duet--article--disclaimer",Divider:"duet--article--divider",Embed:"duet--media--embed",ArticleBody:"duet--layout--entry-body",ArticleBodyContainer:"duet--layout--entry-body-container",EntryImage:"duet--layout--entry-image",FeatureDek:"duet--article--feature-dek",FeatureHeadline:"duet--article--feature-headline",FeatureLede:"duet--ledes--feature-lede",SpecialFeatureLede:"duet--ledes--special-feature-lede",FeatureLedeOverlay:"duet--ledes--feature-lede-overlay",Footer:"duet--navigation--footer",Header:"duet--layout--header",HeaderPattern:"duet--layout--header-pattern",Highlight:"duet--article--highlight",GroupBreaker:"duet--recirculation--group-breaker",ImageComparison:"duet--article--image-comparison",ImageGalleryImage:"duet--article--image-gallery-image",ImageGalleryFourUp:"duet--article--image-gallery-four-up",ImageGalleryThreeUpBottom:"duet--article--image-gallery-three-up-bottom",ImageGalleryThreeUpTop:"duet--article--image-gallery-three-up-top",ImageGalleryTwoUp:"duet--article--image-gallery-two-up",LeadParagraph:"duet--article--lead-paragraph",LedeBackground:"duet--article--lede-background",ListBreakerCompact:"duet--recirculation--list-breaker-compact",ListBreakerStandard:"duet--recirculation--list-breaker-standard",FormFieldSelect:"duet--cta--form-field-select",FormFieldText:"duet--cta--form-field-text",FormFieldTextarea:"duet--cta--form-field-textarea",MetadataStrip:"duet--meta--metadata-strip",MinimalNav:"duet--navigation--minimal-nav",Navigation:"duet--navigation--navigation",NavigationDrawer:"duet--navigation--navigation-drawer",Newsletter:"duet--cta--newsletter",OrderedList:"duet--article--ordered-list",PackageLede:"duet--ledes--package-lede",Pagination:"duet--navigation--pagination",PodcastSection:"duet--media--podcast-section",ProductCard:"duet--article--product-card",ProductGrid:"duet--article--product-grid",Pullquote:"duet--article--article-pullquote",QuickLinks:"duet--cta--quick-links",Rail:"duet--layout--rail",Rating:"duet--article--rating",ReadMoreWrapper:"duet--cta--read-more-wrapper",RecommendedArticles:"duet--recirculation--recommended-articles",Related:"duet--article--related",River:"duet--layout--river",RiverContainer:"duet--layout--river-container",RelatedList:"duet--recirculation--related-list",PatternSwitcher:"duet--layout--pattern-switcher",Scorecard:"duet--article--scorecard",ShareButtons:"duet--article--share-buttons",ShowcaseCard:"duet--content-cards--showcase-card",StreamHighlights:"duet--navigation--stream-highlights",RightRailRecirc:"duet--recirculation--right-rail-recirc",SkipToContent:"duet--cta--skip-to-content",StandaloneLink:"duet--navigation--standalone-link",StandardDivider:"duet--layout--standard-divider",StandardHeading:"duet--article--standard-heading",StandardLede:"duet--ledes--standard-lede",StandardLedeBottom:"duet--ledes--standard-lede-bottom",StandardParagraph:"duet--article--standard-paragraph",StickyNav:"duet--navigation--sticky-nav",StorystreamHeader:"duet--recirculation--storystream-header",StorystreamHeaderBeacon:"duet--recirculation--storystream-header-beacon",StreamLede:"duet--ledes--stream-lede",Table:"duet--article--table",TableOfContents:"duet--article--table-of-contents",Timestamp:"duet--article--timestamp",Toggle:"duet--cta--toggle",UnorderedList:"duet--article--unordered-list",UtilityBar:"duet--navigation-utility-bar",VideoEmbed:"duet--media--video-embed",VideoSection:"duet--media--video-section",FeaturedVideoSection:"duet--media--featured-video-section",WikiBanner:"duet--navigation--wiki-banner",LoopNav:"duet--navigation--loop-nav",AuthorProfileLayout:"duet--page-layout--author",BrandedArticleContainer:"duet--page-layout--branded-article",CategoryLayout:"duet--page-layout--category",EmbedStoryLayout:"duet--page-layout--embed-story",EntryLayout:"duet--page-layout--entry",EntryBodySidebar:"duet--article--sidebar",EntryGroupLayout:"duet--page-layout--group",EntryGroupHubLayout:"duet--page-layout--group-hub",EntryRailComponents:"duet--article--rail",FeatureArticleContainer:"duet--page-layout--feature-article",FrontPageArchiveLayout:"duet--page-layout--front-page-archive",FrontPageLayout:"duet--page-layout--front-page",FullArchiveLayout:"duet--page-layout--full-archive",VideoGamePageLayout:"duet--page-layout--gamepage",HeroContainer:"duet--article--hero",HomepageLayout:"duet--page-layout--homepage",HomepageArchiveLayout:"duet--page-layout--homepage-archive",LedeHeadlineOverlay:"duet--article--lede-headline-overlay",LedeImage:"duet--article--lede-image",LedeSplit:"duet--article--lede-split",NativeAdLinkset:"duet--ad--native-ad-linkset",NativeAdRail:"duet--ad--native-ad-rail",NativeAdContentLink:"duet--ad--native-content-link",NewslettersPageCard:"duet--cta--newsletters-page-card",NewslettersPagePanel:"duet--cta--newsletters-page-panel",PackageContainer:"duet--page-layout--package",PackageLayout:"duet--page-layout--package",PageLayout:"duet--page-layout--page",PostLayout:"duet--page-layout--post",QuickPostContainer:"duet--page-layout--quick-post",StandardArticleContainer:"duet--page-layout--standard-article",StreamLayout:"duet--page-layout--stream",AppContainer:"duet--app",BodyStickyNav:"duet--sticky-nav",ArticleBodyComponent:"duet--article--article-body-component",ArticleBodyComponentContainer:"duet--article--article-body-component-container",ArticleDateAndComments:"duet--article--date-and-comments",ArticleLede:"duet--article--lede",ContentCard:"duet--content-cards--content-card",EntryGroupDescription:"duet--group--description",LedeHeadlineAboveBlurple:"duet--article--lede-headline-above-blurple",LedeHeadlineAboveFranklin:"duet--article--lede-headline-above-franklin",MoreStories:"duet--article--more-stories",PackageLandingPageToc:"duet--article--package-toc"}},85056:function(e,n,t){"use strict";t.d(n,{j:function(){return r},I:function(){return i.Z}});let r={mobile:0,productCard:335,productCardDesktop:550,river:700,tablet:768,navigation:901,desktop:1180};var i=t(46660)},54188:function(e,n,t){"use strict";t.d(n,{r:function(){return o}});var r=t(82201);let i=(0,r.createContext)({metadata:{}}),o=()=>(0,r.useContext)(i);n.Z=i},43158:function(e,n,t){"use strict";t.d(n,{dj:function(){return s},kj:function(){return l}});var r=t(66952),i=t.n(r),o=t(82201);let a=(0,o.createContext)(null),s=(e,n="")=>{let t=(0,o.useContext)(a);if(!t)throw Error("Missing ComponentConfig Context");let{componentContext:r,...s}=t[e];return r?.[n]?i()({},s,r[n]):s},l=e=>{let[n,...t]=e;return[n,...t.map(e=>`${e.charAt(0).toUpperCase()}${e.slice(1)}`)].join("")};n.ZP=a},82830:function(e,n,t){"use strict";t.d(n,{Q:function(){return o}});var r=t(82201);let i=(0,r.createContext)(null),o=()=>{let e=(0,r.useContext)(i);if(!e)throw Error("Missing Navigation Context");return e};n.Z=i},31218:function(e,n,t){"use strict";t.d(n,{n:function(){return s}});var r=t(31561),i=t(912),o=t(82201);class a extends o.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,n){(0,i.Tb)(e,{tags:{context:this.props.context,layout:this.props.layout||null,captureMethod:"ErrorBoundary"},extra:{componentStack:n.componentStack}})}render(){return this.state.hasError?null:this.props.children}}function s(e,n){return t=>(0,r.jsx)(a,{...n,children:(0,r.jsx)(e,{...t})})}n.Z=a},1855:function(e,n,t){"use strict";var r=t(82201),i=t(88321);n.Z=(e,n)=>{let t=(0,i.z$)();(0,r.useEffect)(()=>{let r=e.current;if(!r||"undefined"==typeof IntersectionObserver)return;let i=new IntersectionObserver(([e])=>{e?.isIntersecting&&(t?.emit(n),i.unobserve(r))});return i.observe(r),()=>{i.unobserve(r)}},[t,e,n])}},46688:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(82201);function i(e){return Array.isArray(e)||(0,r.isValidElement)(e)||"function"==typeof e||"object"!=typeof e||null==e||"constructor"in e&&e.constructor!==Object.prototype.constructor}function o(e,n){return(0,r.useMemo)(()=>(function e(n,t){let r={...n};return Object.keys(t).forEach(o=>{if(!(o in r)||void 0===r[o]){r[o]=t[o];return}!(i(n[o])||i(t[o]))&&function e(n,t){let r=Object.keys(n);for(let o of Object.keys(t))if(!r.includes(o)||void 0===n[o]||!i(t[o])&&!i(n[o])&&e(n[o],t[o]))return!0;return!1}(n[o],t[o])&&(r[o]=e(r[o],t[o]))}),r})(e,n),[...Object.values(e),...Object.values(n)])}},60699:function(e,n,t){"use strict";t.d(n,{F:function(){return N}});var r={};t.r(r),t.d(r,{contentCardContainer:function(){return l},contentCardLink:function(){return u},fixedWidthCard:function(){return c}});var i={};t.r(i),t.d(i,{formLabel:function(){return d},inputBase:function(){return p}});var o={};t.r(o),t.d(o,{bodyPadding:function(){return f},emailRequirements:function(){return m},error:function(){return g},errorContainer:function(){return y},errorField:function(){return _},finePrint:function(){return v},form:function(){return b},formButton:function(){return C},formInfo:function(){return x},heading:function(){return k},inputGroup:function(){return w},loginContainer:function(){return E}});var a={};t.r(a),t.d(a,{actionButton:function(){return T},dl:function(){return S},h2:function(){return I},h3:function(){return R},labeledData:function(){return A},spinner:function(){return P}});var s=t(92015);t(11827);var l="qcd9z0",u="qcd9z1",c="qcd9z2";t(82012);var d="_1vr06930",p="_1vr06931",h=t(22178);t(45002);var f="kxm6ik0",m="kxm6ik2",g="kxm6ik9",y="kxm6ika",_="kxm6ikb",v="kxm6ik8",b="kxm6ik3",C="kxm6ik6",x="kxm6ik7",k="kxm6ik5",w="kxm6ik4",E="kxm6ik1";t(51140);var T="p8j69x6",S="p8j69x2",I="p8j69x3",R="p8j69x4",A="p8j69x5",P="p8j69x1";let N={accessibility:s,contentCard:r,form:i,layout:h,login:o,membership:a,text:t(87024)}},82735:function(e,n,t){"use strict";t.d(n,{A:function(){return r}});let r=(e,n,t)=>{let r=Array.isArray(n)?n:Array(e).fill(n),i=t&&Array.isArray(t)?t:t?Array(e).fill(t):r;return{mobileContext:r,desktopContext:i}}},92501:function(e,n,t){"use strict";t.d(n,{C2:function(){return o},Yw:function(){return r},h8:function(){return i}});let r="selectItemAnalytics",i=e=>(e.displayName=r,e),o=(e,n)=>"post"===e&&n?"feature":"post"===e?"story":e},92460:function(e,n,t){"use strict";t.d(n,{C:function(){return r}});let r=()=>"undefined"!=typeof window},19738:function(e,n,t){"use strict";t.d(n,{ej:function(){return r},qS:function(){return i}});let r=e=>{let n=`${e}=`;return decodeURIComponent(document.cookie).split("; ").reduce((e,t)=>0===t.indexOf(n)?t.substring(n.length):e,"")},i=(e,n)=>{let t=e.headers.cookie;if(t)return t.split("; ").reduce((e,t)=>{let r=t.split("=");return r[0]===n?decodeURIComponent(r[1]||""):e},void 0)}},90030:function(e,n,t){"use strict";t.d(n,{b1:function(){return r},bt:function(){return o},wh:function(){return i}});let r=()=>"ontouchstart"in window||window.navigator.maxTouchPoints>0,i=()=>{let e=!!window.screen.orientation&&window.screen.orientation.angle||window.orientation||0;return 90===e||270===e||window.screen.height/BlackBerry|webOS|iPhone|IEMobile|Android|Windows Phone|iPad|iPod/i.test(window.navigator.userAgent)},72964:function(e,n,t){"use strict";t.d(n,{Hx:function(){return r},P_:function(){return i},ex:function(){return o}});let r=1200,i=(e,n)=>{let{originalWidth:t,originalHeight:r}=e,{width:i,height:o}=n.cropCoordinates;return{width:Math.floor(i/100*t),height:Math.floor(o/100*r)}},o=({url:e,width:n,quality:t})=>{let r=new URL(e);return n&&r.searchParams.set("w",n.toString()),t&&r.searchParams.set("quality",t.toString()),r.toString()}},59510:function(e,n,t){"use strict";t.d(n,{Z9:function(){return u},_E:function(){return s},cM:function(){return a}});var r=t(59619),i=t.n(r),o=t(74702);let a=i()({browser:{write(e){try{console.log(JSON.stringify(e))}catch(e){e instanceof Error&&console.log(JSON.stringify(e,["name","message","stack"])),console.log(JSON.stringify({message:"Unknown error type"}))}}},level:o.env.LOG_LEVEL||"true"===o.env.DEBUG_ENABLED?"debug":"info"}),s=()=>"undefined"!=typeof performance?performance.now():Date.now(),l=e=>"undefined"!=typeof performance?performance.now()-e:Date.now()-e,u=(e,n="ms")=>{let t=l(e),r="s"===n;return(r?t/1e3:t).toFixed(r?2:0)}},26996:function(e,n,t){"use strict";t.d(n,{FS:function(){return i},bn:function(){return a},xs:function(){return o},yS:function(){return s}});let r=/^(.*)\/archives\/([0-9]+)\/?(\?.*)?$/;function i(e){return`archives/${e}`}function o(e){return"/"!==e[e.length-1]?`${e}/`:e}function a(e){var n,t;let i;let o=new URL(e,"http://localhost"),a=(n=o.pathname,i=null,(i=n.match(r))?{base:i[1],page:Number.parseInt(i[2])}:null);return{base:"/"!==(t=a?a.base:o.pathname)[0]?`/${t}`:t,page:a?a.page:null}}function s(e){return`/archives/${e.category?e.category+"/":""}${e.year}/${e.month||1}/${e.pageNumber||1}`}},76553:function(e,n,t){"use strict";t.d(n,{N3:function(){return o},P6:function(){return s},QW:function(){return i},R2:function(){return l}});var r=t(74702);let i=(e,n)=>{let t=new URL(e,n);return t.origin===n?`${t.pathname}${t.search}${t.hash}`:e};function o(e){let n=e.split(".");return n.length>2?`${n[n.length-2]}.${n[n.length-1]}`:e}let a=e=>new URLSearchParams(new URL("https://example.com"+e).search),s=e=>!!e&&"true"===a(e).get("preview"),l=(e,n)=>{let t="/api";return r.env.INTERNAL_SERVICE_ORIGIN?new URL(t,r.env.INTERNAL_SERVICE_ORIGIN):function({req:e,path:n,communityDomain:t}){let r="https"===function(e,n){let t=`x-forwarded-${n}`;return"string"!=typeof e.headers[t]?null:e.headers[t].split(",")[0]}(e,"proto")?"https":"http",i=function(e,n){if(!e.headers.host)throw Error("missing host header");let t="string"==typeof e.headers["x-duet-forwarded-host"]&&e.headers["x-duet-forwarded-host"];return t&&o(t)===o(n)?t:e.headers.host}(e,t);return new URL(n,`${r}://${i}`)}({req:e,path:t,communityDomain:n})}},89161:function(e){e.exports=function(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==t.return||t.return()}finally{if(l)throw a}}}},e.exports.__esModule=!0,e.exports.default=e.exports},8442:function(e,n,t){var r=t(65199);e.exports=function(e,n,t){return(n=r(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e},e.exports.__esModule=!0,e.exports.default=e.exports},90130:function(e){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(i[t]=e[t]);return i},e.exports.__esModule=!0,e.exports.default=e.exports},12732:function(e){function n(t,r){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},83718:function(e,n,t){var r=t(93464),i=t(81006),o=t(84838),a=t(17363);e.exports=function(e){return r(e)||i(e)||o(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},15534:function(e,n,t){var r=t(14606).default;e.exports=function(e,n){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,n||"default");if("object"!=r(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},65199:function(e,n,t){var r=t(14606).default,i=t(15534);e.exports=function(e){var n=i(e,"string");return"symbol"==r(n)?n:n+""},e.exports.__esModule=!0,e.exports.default=e.exports},14606:function(e){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},84838:function(e,n,t){var r=t(89161);e.exports=function(e,n){if(e){if("string"==typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,n)}},e.exports.__esModule=!0,e.exports.default=e.exports},39778:function(e,n,t){var r=t(97102),i=t(12732),o=t(23704),a=t(29592);function s(n){var t="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return a(e,arguments,r(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),i(n,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(n)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},59619:function(e,n,t){"use strict";let r=t(34281);e.exports=c;let i=function(){function e(e){return void 0!==e&&e}try{if("undefined"!=typeof globalThis)return globalThis;return Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch(n){return e(self)||e(window)||e(this)||{}}}().console||{};function o(e,n){return"silent"===e?1/0:n.levels.values[e]}let a=Symbol("pino.logFuncs"),s=Symbol("pino.hierarchy"),l={error:"log",fatal:"error",warn:"error",info:"log",debug:"log",trace:"log"};function u(e,n){let t={logger:n,parent:e[s]};n[s]=t}function c(e){var n,t;(e=e||{}).browser=e.browser||{};let r=e.browser.transmit;if(r&&"function"!=typeof r.send)throw Error("pino: transmit option must have a send function");let s=e.browser.write||i;e.browser.write&&(e.browser.asObject=!0);let f=e.serializers||{},m=Array.isArray(n=e.browser.serialize)?n.filter(function(e){return"!stdSerializers.err"!==e}):!0===n&&Object.keys(f),g=e.browser.serialize;Array.isArray(e.browser.serialize)&&e.browser.serialize.indexOf("!stdSerializers.err")>-1&&(g=!1);let b=Object.keys(e.customLevels||{}),C=["error","fatal","warn","info","debug","trace"].concat(b);"function"==typeof s&&C.forEach(function(e){s[e]=s}),(!1===e.enabled||e.browser.disabled)&&(e.level="silent");let x=e.level||"info",k=Object.create(s);k.log||(k.log=y),function(e,n,t){let r={};n.forEach(e=>{r[e]=t[e]?t[e]:i[e]||i[l[e]||"log"]||y}),e[a]=r}(k,C,s),u({},k),Object.defineProperty(k,"levelVal",{get:function(){return o(this.level,this)}}),Object.defineProperty(k,"level",{get:function(){return this._level},set:function(e){if("silent"!==e&&!this.levels.values[e])throw Error("unknown level "+e);this._level=e,d(this,w,k,"error"),d(this,w,k,"fatal"),d(this,w,k,"warn"),d(this,w,k,"info"),d(this,w,k,"debug"),d(this,w,k,"trace"),b.forEach(e=>{d(this,w,k,e)})}});let w={transmit:r,serialize:m,asObject:e.browser.asObject,formatters:e.browser.formatters,levels:C,timestamp:"function"==typeof(t=e).timestamp?t.timestamp:!1===t.timestamp?_:v};return k.levels=function(e){let n=e.customLevels||{};return{values:Object.assign({},c.levels.values,n),labels:Object.assign({},c.levels.labels,function(e){let n={};return Object.keys(e).forEach(function(t){n[e[t]]=t}),n}(n))}}(e),k.level=x,k.setMaxListeners=k.getMaxListeners=k.emit=k.addListener=k.on=k.prependListener=k.once=k.prependOnceListener=k.removeListener=k.removeAllListeners=k.listeners=k.listenerCount=k.eventNames=k.write=k.flush=y,k.serializers=f,k._serialize=m,k._stdErrSerialize=g,k.child=function(n,t){if(!n)throw Error("missing bindings for child Pino");t=t||{},m&&n.serializers&&(t.serializers=n.serializers);let i=t.serializers;if(m&&i){var o=Object.assign({},f,i),a=!0===e.browser.serialize?Object.keys(o):m;delete n.serializers,p([n],a,o,this._stdErrSerialize)}function s(e){this._childLevel=(0|e._childLevel)+1,this.bindings=n,o&&(this.serializers=o,this._serialize=a),r&&(this._logEvent=h([].concat(e._logEvent.bindings,n)))}s.prototype=this;let l=new s(this);return u(this,l),l.level=this.level,l},r&&(k._logEvent=h()),k}function d(e,n,t,l){var u,c;if(Object.defineProperty(e,l,{value:o(e.level,t)>o(l,t)?y:t[a][l],writable:!0,enumerable:!0,configurable:!0}),!n.transmit&&e[l]===y)return;e[l]=(u=e[a][l],function(){let a=n.timestamp(),s=Array(arguments.length),c=Object.getPrototypeOf&&Object.getPrototypeOf(this)===i?i:this;for(var d=0;de.levels.values[n],log:s=e=>e}=o;e._serialize&&p(t,e._serialize,e.serializers,e._stdErrSerialize);let l=t.slice(),u=l[0],c={};i&&(c.time=i),c.level=a(n,e.levels.values[n]);let d=(0|e._childLevel)+1;if(d<1&&(d=1),null!==u&&"object"==typeof u){for(;d--&&"object"==typeof l[0];)Object.assign(c,l.shift());u=l.length?r(l.shift(),l):void 0}else"string"==typeof u&&(u=r(l.shift(),l));return void 0!==u&&(c.msg=u),s(c)}(this,l,s,a,n.formatters)):u.apply(c,s),n.transmit){let r=n.transmit.level||e._level,i=t.levels.values[r],u=t.levels.values[l];if(u-1&&r in t&&(e[i][r]=t[r](e[i][r]))}function h(e){return{ts:0,messages:[],bindings:e||[],level:{label:"",value:0}}}function f(e){let n={type:e.constructor.name,msg:e.message,stack:e.stack};for(let t in e)void 0===n[t]&&(n[t]=e[t]);return n}function m(){return{}}function g(e){return e}function y(){}function _(){return!1}function v(){return Date.now()}c.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},c.stdSerializers={mapHttpRequest:m,mapHttpResponse:m,wrapRequestSerializer:g,wrapResponseSerializer:g,wrapErrorSerializer:g,req:m,res:m,err:f,errWithCause:f},c.stdTimeFunctions=Object.assign({},{nullTime:_,epochTime:v,unixTime:function(){return Math.round(Date.now()/1e3)},isoTime:function(){return new Date(Date.now()).toISOString()}}),e.exports.default=c,e.exports.pino=c},98229:function(e,n,t){"use strict";function r(e,n){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e})(e,n)}function i(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,r(e,n)}t.d(n,{Z:function(){return i}})},69937:function(e,n,t){"use strict";function r(e,n){if(null==e)return{};var t,r,i={},o=Object.keys(e);for(r=0;r=0||(i[t]=e[t]);return i}t.d(n,{Z:function(){return r}})},74241:function(e,n,t){"use strict";t.d(n,{z:function(){return o}});var r=t(82201),i=t(1072);let o=function(e){let n=(0,i.E)(e);return r.useCallback((...e)=>n.current(...e),[n])}},33782:function(e,n,t){"use strict";t.d(n,{e:function(){return o}});var r=t(82201),i=t(7654);let o=(e,n)=>{i.O.isServer?(0,r.useEffect)(e,n):(0,r.useLayoutEffect)(e,n)}},1072:function(e,n,t){"use strict";t.d(n,{E:function(){return o}});var r=t(82201),i=t(33782);function o(e){let n=(0,r.useRef)(e);return(0,i.e)(()=>{n.current=e},[e]),n}},96267:function(e,n,t){"use strict";t.d(n,{H:function(){return a}});var r,i=t(82201),o=t(7654);function a(){let e;let n=(e="undefined"==typeof document,(0,(r||(r=t.t(i,2))).useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[a,s]=i.useState(o.O.isHandoffComplete);return a&&!1===o.O.isHandoffComplete&&s(!1),i.useEffect(()=>{!0!==a&&s(!0)},[a]),i.useEffect(()=>o.O.handoff(),[]),!n&&a}},93618:function(e,n,t){"use strict";t.d(n,{T:function(){return s},h:function(){return a}});var r=t(82201),i=t(74241);let o=Symbol();function a(e,n=!0){return Object.assign(e,{[o]:n})}function s(...e){let n=(0,r.useRef)(e);(0,r.useEffect)(()=>{n.current=e},[e]);let t=(0,i.z)(e=>{for(let t of n.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return e.every(e=>null==e||(null==e?void 0:e[o]))?void 0:t}},59790:function(e,n,t){"use strict";let r;t.d(n,{ZM:function(){return a},oJ:function(){return s},up:function(){return l}});var i=t(82201);let o=(0,i.createContext)(null);o.displayName="OpenClosedContext";var a=((r=a||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function s(){return(0,i.useContext)(o)}function l({value:e,children:n}){return i.createElement(o.Provider,{value:e},n)}},8933:function(e,n,t){"use strict";function r(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}t.d(n,{A:function(){return r}})},7654:function(e,n,t){"use strict";t.d(n,{O:function(){return s}});var r=Object.defineProperty,i=(e,n,t)=>n in e?r(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,o=(e,n,t)=>(i(e,"symbol"!=typeof n?n+"":n,t),t);class a{constructor(){o(this,"current",this.detect()),o(this,"handoffState","pending"),o(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}let s=new a},99146:function(e,n,t){"use strict";function r(e,n,...t){if(e in n){let r=n[e];return"function"==typeof r?r(...t):r}let i=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,r),i}t.d(n,{E:function(){return r}})},59582:function(e,n,t){"use strict";let r,i;t.d(n,{AN:function(){return l},Y2:function(){return p},l4:function(){return u},sY:function(){return c},yV:function(){return m}});var o=t(82201),a=t(8933),s=t(99146),l=((r=l||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),u=((i=u||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function c({ourProps:e,theirProps:n,slot:t,defaultTag:r,features:i,visible:o=!0,name:a,mergeRefs:l}){l=null!=l?l:h;let u=f(n,e);if(o)return d(u,t,r,a,l);let c=null!=i?i:0;if(2&c){let{static:e=!1,...n}=u;if(e)return d(n,t,r,a,l)}if(1&c){let{unmount:e=!0,...n}=u;return(0,s.E)(e?0:1,{0:()=>null,1:()=>d({...n,hidden:!0,style:{display:"none"}},t,r,a,l)})}return d(u,t,r,a,l)}function d(e,n={},t,r,i){let{as:s=t,children:l,refName:u="ref",...c}=y(e,["unmount","static"]),d=void 0!==e.ref?{[u]:e.ref}:{},p="function"==typeof l?l(n):l;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(n));let h={};if(n){let e=!1,t=[];for(let[r,i]of Object.entries(n))"boolean"==typeof i&&(e=!0),!0===i&&t.push(r);e&&(h["data-headlessui-state"]=t.join(" "))}if(s===o.Fragment&&Object.keys(g(c)).length>0){if(!(0,o.isValidElement)(p)||Array.isArray(p)&&p.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).map(e=>` - ${e}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(` `)].join(` `));let e=p.props,n="function"==typeof(null==e?void 0:e.className)?(...n)=>(0,a.A)(null==e?void 0:e.className(...n),c.className):(0,a.A)(null==e?void 0:e.className,c.className);return(0,o.cloneElement)(p,Object.assign({},f(p.props,g(y(c,["ref"]))),h,d,{ref:i(p.ref,d.ref)},n?{className:n}:{}))}return(0,o.createElement)(s,Object.assign({},y(c,["ref"]),s!==o.Fragment&&d,s!==o.Fragment&&h),p)}function p(){let e=(0,o.useRef)([]),n=(0,o.useCallback)(n=>{for(let t of e.current)null!=t&&("function"==typeof t?t(n):t.current=n)},[]);return(...t)=>{if(!t.every(e=>null==e))return e.current=t,n}}function h(...e){return e.every(e=>null==e)?void 0:n=>{for(let t of e)null!=t&&("function"==typeof t?t(n):t.current=n)}}function f(...e){if(0===e.length)return{};if(1===e.length)return e[0];let n={},t={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=t[e]||(t[e]=[]),t[e].push(r[e])):n[e]=r[e];if(n.disabled||n["aria-disabled"])return Object.assign(n,Object.fromEntries(Object.keys(t).map(e=>[e,void 0])));for(let e in t)Object.assign(n,{[e](n,...r){for(let i of t[e]){if((n instanceof Event||(null==n?void 0:n.nativeEvent)instanceof Event)&&n.defaultPrevented)return;i(n,...r)}}});return n}function m(e){var n;return Object.assign((0,o.forwardRef)(e),{displayName:null!=(n=e.displayName)?n:e.name})}function g(e){let n=Object.assign({},e);for(let e in n)void 0===n[e]&&delete n[e];return n}function y(e,n=[]){let t=Object.assign({},e);for(let e of n)e in t&&delete t[e];return t}},35458:function(e,n,t){"use strict";n.Z=function(){for(var e,n,t=0,r="",i=arguments.length;t