const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-Da0wzJ6v.js","assets/index-C04BQlBQ.css"])))=>i.map(i=>d[i]); (function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new n.Error().stack;r&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[r]="16bc1d7b-4106-4b8e-946a-1b65836c1f60",n._sentryDebugIdIdentifier="sentry-dbid-16bc1d7b-4106-4b8e-946a-1b65836c1f60")}catch{}})();var Yg=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};Yg.SENTRY_RELEASE={id:"74ced69364183dfa60da1ce47808af76c7cfec97"};(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))l(a);new MutationObserver(a=>{for(const f of a)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&l(d)}).observe(document,{childList:!0,subtree:!0});function i(a){const f={};return a.integrity&&(f.integrity=a.integrity),a.referrerPolicy&&(f.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?f.credentials="include":a.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function l(a){if(a.ep)return;a.ep=!0;const f=i(a);fetch(a.href,f)}})();function Up(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var cu={exports:{}},mo={},fu={exports:{}},re={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var hd;function Xg(){if(hd)return re;hd=1;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),d=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),k=Symbol.iterator;function C(v){return v===null||typeof v!="object"?null:(v=k&&v[k]||v["@@iterator"],typeof v=="function"?v:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M=Object.assign,U={};function N(v,I,q){this.props=v,this.context=I,this.refs=U,this.updater=q||x}N.prototype.isReactComponent={},N.prototype.setState=function(v,I){if(typeof v!="object"&&typeof v!="function"&&v!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,v,I,"setState")},N.prototype.forceUpdate=function(v){this.updater.enqueueForceUpdate(this,v,"forceUpdate")};function Z(){}Z.prototype=N.prototype;function $(v,I,q){this.props=v,this.context=I,this.refs=U,this.updater=q||x}var A=$.prototype=new Z;A.constructor=$,M(A,N.prototype),A.isPureReactComponent=!0;var j=Array.isArray,W=Object.prototype.hasOwnProperty,G={current:null},ee={key:!0,ref:!0,__self:!0,__source:!0};function pe(v,I,q){var ie,ne={},me=null,ue=null;if(I!=null)for(ie in I.ref!==void 0&&(ue=I.ref),I.key!==void 0&&(me=""+I.key),I)W.call(I,ie)&&!ee.hasOwnProperty(ie)&&(ne[ie]=I[ie]);var fe=arguments.length-2;if(fe===1)ne.children=q;else if(1"u"||__SENTRY_DEBUG__,de=globalThis,zn="10.17.0";function ss(){return ls(de),de}function ls(n){const r=n.__SENTRY__=n.__SENTRY__||{};return r.version=r.version||zn,r[zn]=r[zn]||{}}function ko(n,r,i=de){const l=i.__SENTRY__=i.__SENTRY__||{},a=l[zn]=l[zn]||{};return a[n]||(a[n]=r())}const ey=["debug","info","warn","error","log","assert","trace"],ty="Sentry Logger ",Xi={};function Cr(n){if(!("console"in de))return n();const r=de.console,i={},l=Object.keys(Xi);l.forEach(a=>{const f=Xi[a];i[a]=r[a],r[a]=f});try{return n()}finally{l.forEach(a=>{r[a]=i[a]})}}function ny(){Ju().enabled=!0}function ry(){Ju().enabled=!1}function $p(){return Ju().enabled}function oy(...n){Xu("log",...n)}function iy(...n){Xu("warn",...n)}function sy(...n){Xu("error",...n)}function Xu(n,...r){te&&$p()&&Cr(()=>{de.console[n](`${ty}[${n}]:`,...r)})}function Ju(){return te?ko("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const J={enable:ny,disable:ry,isEnabled:$p,log:oy,warn:iy,error:sy},Vp=50,$n="?",vd=/\(error: (.*)\)/,Sd=/captureMessage|captureException/;function Bp(...n){const r=n.sort((i,l)=>i[0]-l[0]).map(i=>i[1]);return(i,l=0,a=0)=>{const f=[],d=i.split(` `);for(let m=l;m1024&&(h=h.slice(0,1024));const y=vd.test(h)?h.replace(vd,"$1"):h;if(!y.match(/\S*Error: /)){for(const E of r){const k=E(y);if(k){f.push(k);break}}if(f.length>=Vp+a)break}}return uy(f.slice(a))}}function ly(n){return Array.isArray(n)?Bp(...n):n}function uy(n){if(!n.length)return[];const r=Array.from(n);return/sentryWrapped/.test(zi(r).function||"")&&r.pop(),r.reverse(),Sd.test(zi(r).function||"")&&(r.pop(),Sd.test(zi(r).function||"")&&r.pop()),r.slice(0,Vp).map(i=>({...i,filename:i.filename||zi(r).filename,function:i.function||$n}))}function zi(n){return n[n.length-1]||{}}const du="";function yn(n){try{return!n||typeof n!="function"?du:n.name||du}catch{return du}}function Ed(n){const r=n.exception;if(r){const i=[];try{return r.values.forEach(l=>{l.stacktrace.frames&&i.push(...l.stacktrace.frames)}),i}catch{return}}}const qi={},wd={};function Wn(n,r){qi[n]=qi[n]||[],qi[n].push(r)}function Gn(n,r){if(!wd[n]){wd[n]=!0;try{r()}catch(i){te&&J.error(`Error while instrumenting ${n}`,i)}}}function Ct(n,r){const i=n&&qi[n];if(i)for(const l of i)try{l(r)}catch(a){te&&J.error(`Error while triggering instrumentation handler. Type: ${n} Name: ${yn(l)} Error:`,a)}}let pu=null;function ay(n){const r="error";Wn(r,n),Gn(r,cy)}function cy(){pu=de.onerror,de.onerror=function(n,r,i,l,a){return Ct("error",{column:l,error:a,line:i,msg:n,url:r}),pu?pu.apply(this,arguments):!1},de.onerror.__SENTRY_INSTRUMENTED__=!0}let mu=null;function fy(n){const r="unhandledrejection";Wn(r,n),Gn(r,dy)}function dy(){mu=de.onunhandledrejection,de.onunhandledrejection=function(n){return Ct("unhandledrejection",n),mu?mu.apply(this,arguments):!0},de.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const Hp=Object.prototype.toString;function Zu(n){switch(Hp.call(n)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return _n(n,Error)}}function Tr(n,r){return Hp.call(n)===`[object ${r}]`}function bp(n){return Tr(n,"ErrorEvent")}function kd(n){return Tr(n,"DOMError")}function py(n){return Tr(n,"DOMException")}function Gt(n){return Tr(n,"String")}function ea(n){return typeof n=="object"&&n!==null&&"__sentry_template_string__"in n&&"__sentry_template_values__"in n}function ta(n){return n===null||ea(n)||typeof n!="object"&&typeof n!="function"}function _o(n){return Tr(n,"Object")}function us(n){return typeof Event<"u"&&_n(n,Event)}function my(n){return typeof Element<"u"&&_n(n,Element)}function hy(n){return Tr(n,"RegExp")}function Po(n){return!!(n?.then&&typeof n.then=="function")}function gy(n){return _o(n)&&"nativeEvent"in n&&"preventDefault"in n&&"stopPropagation"in n}function _n(n,r){try{return n instanceof r}catch{return!1}}function Wp(n){return!!(typeof n=="object"&&n!==null&&(n.__isVue||n._isVue))}function yy(n){return typeof Request<"u"&&_n(n,Request)}const na=de,_y=80;function Gp(n,r={}){if(!n)return"";try{let i=n;const l=5,a=[];let f=0,d=0;const m=" > ",h=m.length;let y;const E=Array.isArray(r)?r:r.keyAttrs,k=!Array.isArray(r)&&r.maxStringLength||_y;for(;i&&f++1&&d+a.length*h+y.length>=k));)a.push(y),d+=y.length,i=i.parentNode;return a.reverse().join(m)}catch{return""}}function vy(n,r){const i=n,l=[];if(!i?.tagName)return"";if(na.HTMLElement&&i instanceof HTMLElement&&i.dataset){if(i.dataset.sentryComponent)return i.dataset.sentryComponent;if(i.dataset.sentryElement)return i.dataset.sentryElement}l.push(i.tagName.toLowerCase());const a=r?.length?r.filter(d=>i.getAttribute(d)).map(d=>[d,i.getAttribute(d)]):null;if(a?.length)a.forEach(d=>{l.push(`[${d[0]}="${d[1]}"]`)});else{i.id&&l.push(`#${i.id}`);const d=i.className;if(d&&Gt(d)){const m=d.split(/\s+/);for(const h of m)l.push(`.${h}`)}}const f=["aria-label","type","name","title","alt"];for(const d of f){const m=i.getAttribute(d);m&&l.push(`[${d}="${m}"]`)}return l.join("")}function ra(){try{return na.document.location.href}catch{return""}}function Sy(n){if(!na.HTMLElement)return null;let r=n;const i=5;for(let l=0;lKi(n,l,i))}function ot(n,r,i){if(!(r in n))return;const l=n[r];if(typeof l!="function")return;const a=i(l);typeof a=="function"&&qp(a,l);try{n[r]=a}catch{te&&J.log(`Failed to replace method "${r}" in object`,n)}}function Vn(n,r,i){try{Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0})}catch{te&&J.log(`Failed to add non-enumerable property "${r}" to object`,n)}}function qp(n,r){try{const i=r.prototype||{};n.prototype=r.prototype=i,Vn(n,"__sentry_original__",r)}catch{}}function oa(n){return n.__sentry_original__}function Kp(n){if(Zu(n))return{message:n.message,name:n.name,stack:n.stack,...Td(n)};if(us(n)){const r={type:n.type,target:Cd(n.target),currentTarget:Cd(n.currentTarget),...Td(n)};return typeof CustomEvent<"u"&&_n(n,CustomEvent)&&(r.detail=n.detail),r}else return n}function Cd(n){try{return my(n)?Gp(n):Object.prototype.toString.call(n)}catch{return""}}function Td(n){if(typeof n=="object"&&n!==null){const r={};for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i]);return r}else return{}}function Ey(n,r=40){const i=Object.keys(Kp(n));i.sort();const l=i[0];if(!l)return"[object has no keys]";if(l.length>=r)return Ji(l,r);for(let a=i.length;a>0;a--){const f=i.slice(0,a).join(", ");if(!(f.length>r))return a===i.length?f:Ji(f,r)}return""}function wy(){const n=de;return n.crypto||n.msCrypto}function mt(n=wy()){let r=()=>Math.random()*16;try{if(n?.randomUUID)return n.randomUUID().replace(/-/g,"");n?.getRandomValues&&(r=()=>{const i=new Uint8Array(1);return n.getRandomValues(i),i[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,i=>(i^(r()&15)>>i/4).toString(16))}function Qp(n){return n.exception?.values?.[0]}function Fn(n){const{message:r,event_id:i}=n;if(r)return r;const l=Qp(n);return l?l.type&&l.value?`${l.type}: ${l.value}`:l.type||l.value||i||"":i||""}function Ou(n,r,i){const l=n.exception=n.exception||{},a=l.values=l.values||[],f=a[0]=a[0]||{};f.value||(f.value=r||""),f.type||(f.type="Error")}function vr(n,r){const i=Qp(n);if(!i)return;const l={type:"generic",handled:!0},a=i.mechanism;if(i.mechanism={...l,...a,...r},r&&"data"in r){const f={...a?.data,...r.data};i.mechanism.data=f}}function xd(n){if(ky(n))return!0;try{Vn(n,"__sentry_captured__",!0)}catch{}return!1}function ky(n){try{return n.__sentry_captured__}catch{}}const Yp=1e3;function Co(){return Date.now()/Yp}function Py(){const{performance:n}=de;if(!n?.now||!n.timeOrigin)return Co;const r=n.timeOrigin;return()=>(r+n.now())/Yp}let Rd;function qt(){return(Rd??(Rd=Py()))()}function Cy(n){const r=qt(),i={sid:mt(),init:!0,timestamp:r,started:r,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>xy(i)};return n&&Sr(i,n),i}function Sr(n,r={}){if(r.user&&(!n.ipAddress&&r.user.ip_address&&(n.ipAddress=r.user.ip_address),!n.did&&!r.did&&(n.did=r.user.id||r.user.email||r.user.username)),n.timestamp=r.timestamp||qt(),r.abnormal_mechanism&&(n.abnormal_mechanism=r.abnormal_mechanism),r.ignoreDuration&&(n.ignoreDuration=r.ignoreDuration),r.sid&&(n.sid=r.sid.length===32?r.sid:mt()),r.init!==void 0&&(n.init=r.init),!n.did&&r.did&&(n.did=`${r.did}`),typeof r.started=="number"&&(n.started=r.started),n.ignoreDuration)n.duration=void 0;else if(typeof r.duration=="number")n.duration=r.duration;else{const i=n.timestamp-n.started;n.duration=i>=0?i:0}r.release&&(n.release=r.release),r.environment&&(n.environment=r.environment),!n.ipAddress&&r.ipAddress&&(n.ipAddress=r.ipAddress),!n.userAgent&&r.userAgent&&(n.userAgent=r.userAgent),typeof r.errors=="number"&&(n.errors=r.errors),r.status&&(n.status=r.status)}function Ty(n,r){let i={};n.status==="ok"&&(i={status:"exited"}),Sr(n,i)}function xy(n){return{sid:`${n.sid}`,init:n.init,started:new Date(n.started*1e3).toISOString(),timestamp:new Date(n.timestamp*1e3).toISOString(),status:n.status,errors:n.errors,did:typeof n.did=="number"||typeof n.did=="string"?`${n.did}`:void 0,duration:n.duration,abnormal_mechanism:n.abnormal_mechanism,attrs:{release:n.release,environment:n.environment,ip_address:n.ipAddress,user_agent:n.userAgent}}}function To(n,r,i=2){if(!r||typeof r!="object"||i<=0)return r;if(n&&Object.keys(r).length===0)return n;const l={...n};for(const a in r)Object.prototype.hasOwnProperty.call(r,a)&&(l[a]=To(l[a],r[a],i-1));return l}function Id(){return mt()}function Xp(){return mt().substring(16)}const Nu="_sentrySpan";function Od(n,r){r?Vn(n,Nu,r):delete n[Nu]}function Nd(n){return n[Nu]}const Ry=100;class Qt{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Id(),sampleRand:Math.random()}}clone(){const r=new Qt;return r._breadcrumbs=[...this._breadcrumbs],r._tags={...this._tags},r._extra={...this._extra},r._contexts={...this._contexts},this._contexts.flags&&(r._contexts.flags={values:[...this._contexts.flags.values]}),r._user=this._user,r._level=this._level,r._session=this._session,r._transactionName=this._transactionName,r._fingerprint=this._fingerprint,r._eventProcessors=[...this._eventProcessors],r._attachments=[...this._attachments],r._sdkProcessingMetadata={...this._sdkProcessingMetadata},r._propagationContext={...this._propagationContext},r._client=this._client,r._lastEventId=this._lastEventId,Od(r,Nd(this)),r}setClient(r){this._client=r}setLastEventId(r){this._lastEventId=r}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(r){this._scopeListeners.push(r)}addEventProcessor(r){return this._eventProcessors.push(r),this}setUser(r){return this._user=r||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Sr(this._session,{user:r}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(r){return this._tags={...this._tags,...r},this._notifyScopeListeners(),this}setTag(r,i){return this._tags={...this._tags,[r]:i},this._notifyScopeListeners(),this}setExtras(r){return this._extra={...this._extra,...r},this._notifyScopeListeners(),this}setExtra(r,i){return this._extra={...this._extra,[r]:i},this._notifyScopeListeners(),this}setFingerprint(r){return this._fingerprint=r,this._notifyScopeListeners(),this}setLevel(r){return this._level=r,this._notifyScopeListeners(),this}setTransactionName(r){return this._transactionName=r,this._notifyScopeListeners(),this}setContext(r,i){return i===null?delete this._contexts[r]:this._contexts[r]=i,this._notifyScopeListeners(),this}setSession(r){return r?this._session=r:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(r){if(!r)return this;const i=typeof r=="function"?r(this):r,l=i instanceof Qt?i.getScopeData():_o(i)?r:void 0,{tags:a,extra:f,user:d,contexts:m,level:h,fingerprint:y=[],propagationContext:E}=l||{};return this._tags={...this._tags,...a},this._extra={...this._extra,...f},this._contexts={...this._contexts,...m},d&&Object.keys(d).length&&(this._user=d),h&&(this._level=h),y.length&&(this._fingerprint=y),E&&(this._propagationContext=E),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._session=void 0,Od(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Id(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(r,i){const l=typeof i=="number"?i:Ry;if(l<=0)return this;const a={timestamp:Co(),...r,message:r.message?Ji(r.message,2048):r.message};return this._breadcrumbs.push(a),this._breadcrumbs.length>l&&(this._breadcrumbs=this._breadcrumbs.slice(-l),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(r){return this._attachments.push(r),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Nd(this)}}setSDKProcessingMetadata(r){return this._sdkProcessingMetadata=To(this._sdkProcessingMetadata,r,2),this}setPropagationContext(r){return this._propagationContext=r,this}getPropagationContext(){return this._propagationContext}captureException(r,i){const l=i?.event_id||mt();if(!this._client)return te&&J.warn("No client configured on scope - will not capture exception!"),l;const a=new Error("Sentry syntheticException");return this._client.captureException(r,{originalException:r,syntheticException:a,...i,event_id:l},this),l}captureMessage(r,i,l){const a=l?.event_id||mt();if(!this._client)return te&&J.warn("No client configured on scope - will not capture message!"),a;const f=new Error(r);return this._client.captureMessage(r,i,{originalException:r,syntheticException:f,...l,event_id:a},this),a}captureEvent(r,i){const l=i?.event_id||mt();return this._client?(this._client.captureEvent(r,{...i,event_id:l},this),l):(te&&J.warn("No client configured on scope - will not capture event!"),l)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(r=>{r(this)}),this._notifyingListeners=!1)}}function Iy(){return ko("defaultCurrentScope",()=>new Qt)}function Oy(){return ko("defaultIsolationScope",()=>new Qt)}class Ny{constructor(r,i){let l;r?l=r:l=new Qt;let a;i?a=i:a=new Qt,this._stack=[{scope:l}],this._isolationScope=a}withScope(r){const i=this._pushScope();let l;try{l=r(i)}catch(a){throw this._popScope(),a}return Po(l)?l.then(a=>(this._popScope(),a),a=>{throw this._popScope(),a}):(this._popScope(),l)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const r=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:r}),r}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function Er(){const n=ss(),r=ls(n);return r.stack=r.stack||new Ny(Iy(),Oy())}function Ly(n){return Er().withScope(n)}function Dy(n,r){const i=Er();return i.withScope(()=>(i.getStackTop().scope=n,r(n)))}function Ld(n){return Er().withScope(()=>n(Er().getIsolationScope()))}function Ay(){return{withIsolationScope:Ld,withScope:Ly,withSetScope:Dy,withSetIsolationScope:(n,r)=>Ld(r),getCurrentScope:()=>Er().getScope(),getIsolationScope:()=>Er().getIsolationScope()}}function ia(n){const r=ls(n);return r.acs?r.acs:Ay()}function En(){const n=ss();return ia(n).getCurrentScope()}function xr(){const n=ss();return ia(n).getIsolationScope()}function My(){return ko("globalScope",()=>new Qt)}function jy(...n){const r=ss(),i=ia(r);if(n.length===2){const[l,a]=n;return l?i.withSetScope(l,a):i.withScope(a)}return i.withScope(n[0])}function He(){return En().getClient()}function Fy(n){const r=n.getPropagationContext(),{traceId:i,parentSpanId:l,propagationSpanId:a}=r,f={trace_id:i,span_id:a||Xp()};return l&&(f.parent_span_id=l),f}const zy="sentry.source",Uy="sentry.sample_rate",$y="sentry.previous_trace_sample_rate",Vy="sentry.op",By="sentry.origin",Jp="sentry.profile_id",Zp="sentry.exclusive_time",Hy=0,by=1,Wy="_sentryScope",Gy="_sentryIsolationScope";function qy(n){if(n){if(typeof n=="object"&&"deref"in n&&typeof n.deref=="function")try{return n.deref()}catch{return}return n}}function em(n){const r=n;return{scope:r[Wy],isolationScope:qy(r[Gy])}}const Ky="sentry-",Qy=/^sentry-/;function Yy(n){const r=Xy(n);if(!r)return;const i=Object.entries(r).reduce((l,[a,f])=>{if(a.match(Qy)){const d=a.slice(Ky.length);l[d]=f}return l},{});if(Object.keys(i).length>0)return i}function Xy(n){if(!(!n||!Gt(n)&&!Array.isArray(n)))return Array.isArray(n)?n.reduce((r,i)=>{const l=Dd(i);return Object.entries(l).forEach(([a,f])=>{r[a]=f}),r},{}):Dd(n)}function Dd(n){return n.split(",").map(r=>r.split("=").map(i=>{try{return decodeURIComponent(i.trim())}catch{return}})).reduce((r,[i,l])=>(i&&l&&(r[i]=l),r),{})}const Jy=/^o(\d+)\./,Zy=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function e_(n){return n==="http"||n==="https"}function cs(n,r=!1){const{host:i,path:l,pass:a,port:f,projectId:d,protocol:m,publicKey:h}=n;return`${m}://${h}${r&&a?`:${a}`:""}@${i}${f?`:${f}`:""}/${l&&`${l}/`}${d}`}function t_(n){const r=Zy.exec(n);if(!r){Cr(()=>{console.error(`Invalid Sentry Dsn: ${n}`)});return}const[i,l,a="",f="",d="",m=""]=r.slice(1);let h="",y=m;const E=y.split("/");if(E.length>1&&(h=E.slice(0,-1).join("/"),y=E.pop()),y){const k=y.match(/^\d+/);k&&(y=k[0])}return tm({host:f,pass:a,path:h,projectId:y,port:d,protocol:i,publicKey:l})}function tm(n){return{protocol:n.protocol,publicKey:n.publicKey||"",pass:n.pass||"",host:n.host,port:n.port||"",path:n.path||"",projectId:n.projectId}}function n_(n){if(!te)return!0;const{port:r,projectId:i,protocol:l}=n;return["protocol","publicKey","host","projectId"].find(d=>n[d]?!1:(J.error(`Invalid Sentry Dsn: ${d} missing`),!0))?!1:i.match(/^\d+$/)?e_(l)?r&&isNaN(parseInt(r,10))?(J.error(`Invalid Sentry Dsn: Invalid port ${r}`),!1):!0:(J.error(`Invalid Sentry Dsn: Invalid protocol ${l}`),!1):(J.error(`Invalid Sentry Dsn: Invalid projectId ${i}`),!1)}function r_(n){return n.match(Jy)?.[1]}function o_(n){const r=n.getOptions(),{host:i}=n.getDsn()||{};let l;return r.orgId?l=String(r.orgId):i&&(l=r_(i)),l}function i_(n){const r=typeof n=="string"?t_(n):tm(n);if(!(!r||!n_(r)))return r}function s_(n){if(typeof n=="boolean")return Number(n);const r=typeof n=="string"?parseFloat(n):n;if(!(typeof r!="number"||isNaN(r)||r<0||r>1))return r}const nm=1;let Ad=!1;function l_(n){const{spanId:r,traceId:i,isRemote:l}=n.spanContext(),a=l?r:sa(n).parent_span_id,f=em(n).scope,d=l?f?.getPropagationContext().propagationSpanId||Xp():r;return{parent_span_id:a,span_id:d,trace_id:i}}function u_(n){if(n&&n.length>0)return n.map(({context:{spanId:r,traceId:i,traceFlags:l,...a},attributes:f})=>({span_id:r,trace_id:i,sampled:l===nm,attributes:f,...a}))}function Md(n){return typeof n=="number"?jd(n):Array.isArray(n)?n[0]+n[1]/1e9:n instanceof Date?jd(n.getTime()):qt()}function jd(n){return n>9999999999?n/1e3:n}function sa(n){if(c_(n))return n.getSpanJSON();const{spanId:r,traceId:i}=n.spanContext();if(a_(n)){const{attributes:l,startTime:a,name:f,endTime:d,status:m,links:h}=n,y="parentSpanId"in n?n.parentSpanId:"parentSpanContext"in n?n.parentSpanContext?.spanId:void 0;return{span_id:r,trace_id:i,data:l,description:f,parent_span_id:y,start_timestamp:Md(a),timestamp:Md(d)||void 0,status:d_(m),op:l[Vy],origin:l[By],links:u_(h)}}return{span_id:r,trace_id:i,start_timestamp:0,data:{}}}function a_(n){const r=n;return!!r.attributes&&!!r.startTime&&!!r.name&&!!r.endTime&&!!r.status}function c_(n){return typeof n.getSpanJSON=="function"}function f_(n){const{traceFlags:r}=n.spanContext();return r===nm}function d_(n){if(!(!n||n.code===Hy))return n.code===by?"ok":n.message||"unknown_error"}const p_="_sentryRootSpan";function rm(n){return n[p_]||n}function Fd(){Ad||(Cr(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.")}),Ad=!0)}function m_(n){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const r=He()?.getOptions();return!!r&&(r.tracesSampleRate!=null||!!r.tracesSampler)}function zd(n){J.log(`Ignoring span ${n.op} - ${n.description} because it matches \`ignoreSpans\`.`)}function Ud(n,r){if(!r?.length||!n.description)return!1;for(const i of r){if(g_(i)){if(Ki(n.description,i))return te&&zd(n),!0;continue}if(!i.name&&!i.op)continue;const l=i.name?Ki(n.description,i.name):!0,a=i.op?n.op&&Ki(n.op,i.op):!0;if(l&&a)return te&&zd(n),!0}return!1}function h_(n,r){const i=r.parent_span_id,l=r.span_id;if(i)for(const a of n)a.parent_span_id===l&&(a.parent_span_id=i)}function g_(n){return typeof n=="string"||n instanceof RegExp}const la="production",y_="_frozenDsc";function om(n,r){const i=r.getOptions(),{publicKey:l}=r.getDsn()||{},a={environment:i.environment||la,release:i.release,public_key:l,trace_id:n,org_id:o_(r)};return r.emit("createDsc",a),a}function __(n,r){const i=r.getPropagationContext();return i.dsc||om(i.traceId,n)}function v_(n){const r=He();if(!r)return{};const i=rm(n),l=sa(i),a=l.data,f=i.spanContext().traceState,d=f?.get("sentry.sample_rate")??a[Uy]??a[$y];function m(M){return(typeof d=="number"||typeof d=="string")&&(M.sample_rate=`${d}`),M}const h=i[y_];if(h)return m(h);const y=f?.get("sentry.dsc"),E=y&&Yy(y);if(E)return m(E);const k=om(n.spanContext().traceId,r),C=a[zy],x=l.description;return C!=="url"&&x&&(k.transaction=x),m_()&&(k.sampled=String(f_(i)),k.sample_rand=f?.get("sentry.sample_rand")??em(i).scope?.getPropagationContext().sampleRand.toString()),m(k),r.emit("createDsc",k,i),k}function Wt(n,r=100,i=1/0){try{return Lu("",n,r,i)}catch(l){return{ERROR:`**non-serializable** (${l})`}}}function im(n,r=3,i=100*1024){const l=Wt(n,r);return k_(l)>i?im(n,r-1,i):l}function Lu(n,r,i=1/0,l=1/0,a=P_()){const[f,d]=a;if(r==null||["boolean","string"].includes(typeof r)||typeof r=="number"&&Number.isFinite(r))return r;const m=S_(n,r);if(!m.startsWith("[object "))return m;if(r.__sentry_skip_normalization__)return r;const h=typeof r.__sentry_override_normalization_depth__=="number"?r.__sentry_override_normalization_depth__:i;if(h===0)return m.replace("object ","");if(f(r))return"[Circular ~]";const y=r;if(y&&typeof y.toJSON=="function")try{const x=y.toJSON();return Lu("",x,h-1,l,a)}catch{}const E=Array.isArray(r)?[]:{};let k=0;const C=Kp(r);for(const x in C){if(!Object.prototype.hasOwnProperty.call(C,x))continue;if(k>=l){E[x]="[MaxProperties ~]";break}const M=C[x];E[x]=Lu(x,M,h-1,l,a),k++}return d(r),E}function S_(n,r){try{if(n==="domain"&&r&&typeof r=="object"&&r._events)return"[Domain]";if(n==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&r===global)return"[Global]";if(typeof window<"u"&&r===window)return"[Window]";if(typeof document<"u"&&r===document)return"[Document]";if(Wp(r))return"[VueViewModel]";if(gy(r))return"[SyntheticEvent]";if(typeof r=="number"&&!Number.isFinite(r))return`[${r}]`;if(typeof r=="function")return`[Function: ${yn(r)}]`;if(typeof r=="symbol")return`[${String(r)}]`;if(typeof r=="bigint")return`[BigInt: ${String(r)}]`;const i=E_(r);return/^HTML(\w*)Element$/.test(i)?`[HTMLElement: ${i}]`:`[object ${i}]`}catch(i){return`**non-serializable** (${i})`}}function E_(n){const r=Object.getPrototypeOf(n);return r?.constructor?r.constructor.name:"null prototype"}function w_(n){return~-encodeURI(n).split(/%..|./).length}function k_(n){return w_(JSON.stringify(n))}function P_(){const n=new WeakSet;function r(l){return n.has(l)?!0:(n.add(l),!1)}function i(l){n.delete(l)}return[r,i]}function xo(n,r=[]){return[n,r]}function C_(n,r){const[i,l]=n;return[i,[...l,r]]}function $d(n,r){const i=n[1];for(const l of i){const a=l[0].type;if(r(l,a))return!0}return!1}function Du(n){const r=ls(de);return r.encodePolyfill?r.encodePolyfill(n):new TextEncoder().encode(n)}function T_(n){const[r,i]=n;let l=JSON.stringify(r);function a(f){typeof l=="string"?l=typeof f=="string"?l+f:[Du(l),f]:l.push(typeof f=="string"?Du(f):f)}for(const f of i){const[d,m]=f;if(a(` ${JSON.stringify(d)} `),typeof m=="string"||m instanceof Uint8Array)a(m);else{let h;try{h=JSON.stringify(m)}catch{h=JSON.stringify(Wt(m))}a(h)}}return typeof l=="string"?l:x_(l)}function x_(n){const r=n.reduce((a,f)=>a+f.length,0),i=new Uint8Array(r);let l=0;for(const a of n)i.set(a,l),l+=a.length;return i}function R_(n){const r=typeof n.data=="string"?Du(n.data):n.data;return[{type:"attachment",length:r.length,filename:n.filename,content_type:n.contentType,attachment_type:n.attachmentType},r]}const I_={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item"};function Vd(n){return I_[n]}function sm(n){if(!n?.sdk)return;const{name:r,version:i}=n.sdk;return{name:r,version:i}}function O_(n,r,i,l){const a=n.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:n.event_id,sent_at:new Date().toISOString(),...r&&{sdk:r},...!!i&&l&&{dsn:cs(l)},...a&&{trace:a}}}function N_(n,r){if(!r)return n;const i=n.sdk||{};return n.sdk={...i,name:i.name||r.name,version:i.version||r.version,integrations:[...n.sdk?.integrations||[],...r.integrations||[]],packages:[...n.sdk?.packages||[],...r.packages||[]],settings:n.sdk?.settings||r.settings?{...n.sdk?.settings,...r.settings}:void 0},n}function L_(n,r,i,l){const a=sm(i),f={sent_at:new Date().toISOString(),...a&&{sdk:a},...!!l&&r&&{dsn:cs(r)}},d="aggregates"in n?[{type:"sessions"},n]:[{type:"session"},n.toJSON()];return xo(f,[d])}function D_(n,r,i,l){const a=sm(i),f=n.type&&n.type!=="replay_event"?n.type:"event";N_(n,i?.sdk);const d=O_(n,a,l,r);return delete n.sdkProcessingMetadata,xo(d,[[{type:f},n]])}const hu=0,Bd=1,Hd=2;function fs(n){return new vo(r=>{r(n)})}function ua(n){return new vo((r,i)=>{i(n)})}class vo{constructor(r){this._state=hu,this._handlers=[],this._runExecutor(r)}then(r,i){return new vo((l,a)=>{this._handlers.push([!1,f=>{if(!r)l(f);else try{l(r(f))}catch(d){a(d)}},f=>{if(!i)a(f);else try{l(i(f))}catch(d){a(d)}}]),this._executeHandlers()})}catch(r){return this.then(i=>i,r)}finally(r){return new vo((i,l)=>{let a,f;return this.then(d=>{f=!1,a=d,r&&r()},d=>{f=!0,a=d,r&&r()}).then(()=>{if(f){l(a);return}i(a)})})}_executeHandlers(){if(this._state===hu)return;const r=this._handlers.slice();this._handlers=[],r.forEach(i=>{i[0]||(this._state===Bd&&i[1](this._value),this._state===Hd&&i[2](this._value),i[0]=!0)})}_runExecutor(r){const i=(f,d)=>{if(this._state===hu){if(Po(d)){d.then(l,a);return}this._state=f,this._value=d,this._executeHandlers()}},l=f=>{i(Bd,f)},a=f=>{i(Hd,f)};try{r(l,a)}catch(f){a(f)}}}function A_(n,r,i,l=0){try{const a=Au(r,i,n,l);return Po(a)?a:fs(a)}catch(a){return ua(a)}}function Au(n,r,i,l){const a=i[l];if(!n||!a)return n;const f=a({...n},r);return te&&f===null&&J.log(`Event processor "${a.id||"?"}" dropped event`),Po(f)?f.then(d=>Au(d,r,i,l+1)):Au(f,r,i,l+1)}function M_(n,r){const{fingerprint:i,span:l,breadcrumbs:a,sdkProcessingMetadata:f}=r;j_(n,r),l&&U_(n,l),$_(n,i),F_(n,a),z_(n,f)}function bd(n,r){const{extra:i,tags:l,user:a,contexts:f,level:d,sdkProcessingMetadata:m,breadcrumbs:h,fingerprint:y,eventProcessors:E,attachments:k,propagationContext:C,transactionName:x,span:M}=r;Ui(n,"extra",i),Ui(n,"tags",l),Ui(n,"user",a),Ui(n,"contexts",f),n.sdkProcessingMetadata=To(n.sdkProcessingMetadata,m,2),d&&(n.level=d),x&&(n.transactionName=x),M&&(n.span=M),h.length&&(n.breadcrumbs=[...n.breadcrumbs,...h]),y.length&&(n.fingerprint=[...n.fingerprint,...y]),E.length&&(n.eventProcessors=[...n.eventProcessors,...E]),k.length&&(n.attachments=[...n.attachments,...k]),n.propagationContext={...n.propagationContext,...C}}function Ui(n,r,i){n[r]=To(n[r],i,1)}function j_(n,r){const{extra:i,tags:l,user:a,contexts:f,level:d,transactionName:m}=r;Object.keys(i).length&&(n.extra={...i,...n.extra}),Object.keys(l).length&&(n.tags={...l,...n.tags}),Object.keys(a).length&&(n.user={...a,...n.user}),Object.keys(f).length&&(n.contexts={...f,...n.contexts}),d&&(n.level=d),m&&n.type!=="transaction"&&(n.transaction=m)}function F_(n,r){const i=[...n.breadcrumbs||[],...r];n.breadcrumbs=i.length?i:void 0}function z_(n,r){n.sdkProcessingMetadata={...n.sdkProcessingMetadata,...r}}function U_(n,r){n.contexts={trace:l_(r),...n.contexts},n.sdkProcessingMetadata={dynamicSamplingContext:v_(r),...n.sdkProcessingMetadata};const i=rm(r),l=sa(i).description;l&&!n.transaction&&n.type==="transaction"&&(n.transaction=l)}function $_(n,r){n.fingerprint=n.fingerprint?Array.isArray(n.fingerprint)?n.fingerprint:[n.fingerprint]:[],r&&(n.fingerprint=n.fingerprint.concat(r)),n.fingerprint.length||delete n.fingerprint}let $i,Wd,Vi;function V_(n){const r=de._sentryDebugIds;if(!r)return{};const i=Object.keys(r);return Vi&&i.length===Wd||(Wd=i.length,Vi=i.reduce((l,a)=>{$i||($i={});const f=$i[a];if(f)l[f[0]]=f[1];else{const d=n(a);for(let m=d.length-1;m>=0;m--){const y=d[m]?.filename,E=r[a];if(y&&E){l[y]=E,$i[a]=[y,E];break}}}return l},{})),Vi}function B_(n,r,i,l,a,f){const{normalizeDepth:d=3,normalizeMaxBreadth:m=1e3}=n,h={...r,event_id:r.event_id||i.event_id||mt(),timestamp:r.timestamp||Co()},y=i.integrations||n.integrations.map(N=>N.name);H_(h,n),G_(h,y),a&&a.emit("applyFrameMetadata",r),r.type===void 0&&b_(h,n.stackParser);const E=K_(l,i.captureContext);i.mechanism&&vr(h,i.mechanism);const k=a?a.getEventProcessors():[],C=My().getScopeData();if(f){const N=f.getScopeData();bd(C,N)}if(E){const N=E.getScopeData();bd(C,N)}const x=[...i.attachments||[],...C.attachments];x.length&&(i.attachments=x),M_(h,C);const M=[...k,...C.eventProcessors];return A_(M,h,i).then(N=>(N&&W_(N),typeof d=="number"&&d>0?q_(N,d,m):N))}function H_(n,r){const{environment:i,release:l,dist:a,maxValueLength:f=250}=r;n.environment=n.environment||i||la,!n.release&&l&&(n.release=l),!n.dist&&a&&(n.dist=a);const d=n.request;d?.url&&(d.url=Ji(d.url,f))}function b_(n,r){const i=V_(r);n.exception?.values?.forEach(l=>{l.stacktrace?.frames?.forEach(a=>{a.filename&&(a.debug_id=i[a.filename])})})}function W_(n){const r={};if(n.exception?.values?.forEach(l=>{l.stacktrace?.frames?.forEach(a=>{a.debug_id&&(a.abs_path?r[a.abs_path]=a.debug_id:a.filename&&(r[a.filename]=a.debug_id),delete a.debug_id)})}),Object.keys(r).length===0)return;n.debug_meta=n.debug_meta||{},n.debug_meta.images=n.debug_meta.images||[];const i=n.debug_meta.images;Object.entries(r).forEach(([l,a])=>{i.push({type:"sourcemap",code_file:l,debug_id:a})})}function G_(n,r){r.length>0&&(n.sdk=n.sdk||{},n.sdk.integrations=[...n.sdk.integrations||[],...r])}function q_(n,r,i){if(!n)return null;const l={...n,...n.breadcrumbs&&{breadcrumbs:n.breadcrumbs.map(a=>({...a,...a.data&&{data:Wt(a.data,r,i)}}))},...n.user&&{user:Wt(n.user,r,i)},...n.contexts&&{contexts:Wt(n.contexts,r,i)},...n.extra&&{extra:Wt(n.extra,r,i)}};return n.contexts?.trace&&l.contexts&&(l.contexts.trace=n.contexts.trace,n.contexts.trace.data&&(l.contexts.trace.data=Wt(n.contexts.trace.data,r,i))),n.spans&&(l.spans=n.spans.map(a=>({...a,...a.data&&{data:Wt(a.data,r,i)}}))),n.contexts?.flags&&l.contexts&&(l.contexts.flags=Wt(n.contexts.flags,3,i)),l}function K_(n,r){if(!r)return n;const i=n?n.clone():new Qt;return i.update(r),i}function Q_(n,r){return En().captureException(n,void 0)}function lm(n,r){return En().captureEvent(n,r)}function Y_(n,r){xr().setContext(n,r)}function Gd(n){const r=xr(),i=En(),{userAgent:l}=de.navigator||{},a=Cy({user:i.getUser()||r.getUser(),...l&&{userAgent:l},...n}),f=r.getSession();return f?.status==="ok"&&Sr(f,{status:"exited"}),um(),r.setSession(a),a}function um(){const n=xr(),i=En().getSession()||n.getSession();i&&Ty(i),am(),n.setSession()}function am(){const n=xr(),r=He(),i=n.getSession();i&&r&&r.captureSession(i)}function qd(n=!1){if(n){um();return}am()}const X_="7";function J_(n){const r=n.protocol?`${n.protocol}:`:"",i=n.port?`:${n.port}`:"";return`${r}//${n.host}${i}${n.path?`/${n.path}`:""}/api/`}function Z_(n){return`${J_(n)}${n.projectId}/envelope/`}function ev(n,r){const i={sentry_version:X_};return n.publicKey&&(i.sentry_key=n.publicKey),r&&(i.sentry_client=`${r.name}/${r.version}`),new URLSearchParams(i).toString()}function tv(n,r,i){return r||`${Z_(n)}?${ev(n,i)}`}const Kd=[];function nv(n){const r={};return n.forEach(i=>{const{name:l}=i,a=r[l];a&&!a.isDefaultInstance&&i.isDefaultInstance||(r[l]=i)}),Object.values(r)}function rv(n){const r=n.defaultIntegrations||[],i=n.integrations;r.forEach(a=>{a.isDefaultInstance=!0});let l;if(Array.isArray(i))l=[...r,...i];else if(typeof i=="function"){const a=i(r);l=Array.isArray(a)?a:[a]}else l=r;return nv(l)}function ov(n,r){const i={};return r.forEach(l=>{l&&cm(n,l,i)}),i}function Qd(n,r){for(const i of r)i?.afterAllSetup&&i.afterAllSetup(n)}function cm(n,r,i){if(i[r.name]){te&&J.log(`Integration skipped because it was already installed: ${r.name}`);return}if(i[r.name]=r,Kd.indexOf(r.name)===-1&&typeof r.setupOnce=="function"&&(r.setupOnce(),Kd.push(r.name)),r.setup&&typeof r.setup=="function"&&r.setup(n),typeof r.preprocessEvent=="function"){const l=r.preprocessEvent.bind(r);n.on("preprocessEvent",(a,f)=>l(a,f,n))}if(typeof r.processEvent=="function"){const l=r.processEvent.bind(r),a=Object.assign((f,d)=>l(f,d,n),{id:r.name});n.addEventProcessor(a)}te&&J.log(`Integration installed: ${r.name}`)}function iv(n,r,i){const l=[{type:"client_report"},{timestamp:Co(),discarded_events:n}];return xo(r?{dsn:r}:{},[l])}function fm(n){const r=[];n.message&&r.push(n.message);try{const i=n.exception.values[n.exception.values.length-1];i?.value&&(r.push(i.value),i.type&&r.push(`${i.type}: ${i.value}`))}catch{}return r}function sv(n){const{trace_id:r,parent_span_id:i,span_id:l,status:a,origin:f,data:d,op:m}=n.contexts?.trace??{};return{data:d??{},description:n.transaction,op:m,parent_span_id:i,span_id:l??"",start_timestamp:n.start_timestamp??0,status:a,timestamp:n.timestamp,trace_id:r??"",origin:f,profile_id:d?.[Jp],exclusive_time:d?.[Zp],measurements:n.measurements,is_segment:!0}}function lv(n){return{type:"transaction",timestamp:n.timestamp,start_timestamp:n.start_timestamp,transaction:n.description,contexts:{trace:{trace_id:n.trace_id,span_id:n.span_id,parent_span_id:n.parent_span_id,op:n.op,status:n.status,origin:n.origin,data:{...n.data,...n.profile_id&&{[Jp]:n.profile_id},...n.exclusive_time&&{[Zp]:n.exclusive_time}}}},measurements:n.measurements}}const Yd="Not capturing exception because it's already been captured.",Xd="Discarded session because of missing or non-string release",dm=Symbol.for("SentryInternalError"),pm=Symbol.for("SentryDoNotSendEventError");function Qi(n){return{message:n,[dm]:!0}}function gu(n){return{message:n,[pm]:!0}}function Jd(n){return!!n&&typeof n=="object"&&dm in n}function Zd(n){return!!n&&typeof n=="object"&&pm in n}class uv{constructor(r){if(this._options=r,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],r.dsn?this._dsn=i_(r.dsn):te&&J.warn("No DSN provided, client will not send events."),this._dsn){const i=tv(this._dsn,r.tunnel,r._metadata?r._metadata.sdk:void 0);this._transport=r.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...r.transportOptions,url:i})}}captureException(r,i,l){const a=mt();if(xd(r))return te&&J.log(Yd),a;const f={event_id:a,...i};return this._process(this.eventFromException(r,f).then(d=>this._captureEvent(d,f,l))),f.event_id}captureMessage(r,i,l,a){const f={event_id:mt(),...l},d=ea(r)?r:String(r),m=ta(r)?this.eventFromMessage(d,i,f):this.eventFromException(r,f);return this._process(m.then(h=>this._captureEvent(h,f,a))),f.event_id}captureEvent(r,i,l){const a=mt();if(i?.originalException&&xd(i.originalException))return te&&J.log(Yd),a;const f={event_id:a,...i},d=r.sdkProcessingMetadata||{},m=d.capturedSpanScope,h=d.capturedSpanIsolationScope;return this._process(this._captureEvent(r,f,m||l,h)),f.event_id}captureSession(r){this.sendSession(r),Sr(r,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}async flush(r){const i=this._transport;if(!i)return!0;this.emit("flush");const l=await this._isClientDoneProcessing(r),a=await i.flush(r);return l&&a}async close(r){const i=await this.flush(r);return this.getOptions().enabled=!1,this.emit("close"),i}getEventProcessors(){return this._eventProcessors}addEventProcessor(r){this._eventProcessors.push(r)}init(){(this._isEnabled()||this._options.integrations.some(({name:r})=>r.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(r){return this._integrations[r]}addIntegration(r){const i=this._integrations[r.name];cm(this,r,this._integrations),i||Qd(this,[r])}sendEvent(r,i={}){this.emit("beforeSendEvent",r,i);let l=D_(r,this._dsn,this._options._metadata,this._options.tunnel);for(const a of i.attachments||[])l=C_(l,R_(a));this.sendEnvelope(l).then(a=>this.emit("afterSendEvent",r,a))}sendSession(r){const{release:i,environment:l=la}=this._options;if("aggregates"in r){const f=r.attrs||{};if(!f.release&&!i){te&&J.warn(Xd);return}f.release=f.release||i,f.environment=f.environment||l,r.attrs=f}else{if(!r.release&&!i){te&&J.warn(Xd);return}r.release=r.release||i,r.environment=r.environment||l}this.emit("beforeSendSession",r);const a=L_(r,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(a)}recordDroppedEvent(r,i,l=1){if(this._options.sendClientReports){const a=`${r}:${i}`;te&&J.log(`Recording outcome: "${a}"${l>1?` (${l} times)`:""}`),this._outcomes[a]=(this._outcomes[a]||0)+l}}on(r,i){const l=this._hooks[r]=this._hooks[r]||new Set,a=(...f)=>i(...f);return l.add(a),()=>{l.delete(a)}}emit(r,...i){const l=this._hooks[r];l&&l.forEach(a=>a(...i))}async sendEnvelope(r){if(this.emit("beforeEnvelope",r),this._isEnabled()&&this._transport)try{return await this._transport.send(r)}catch(i){return te&&J.error("Error while sending envelope:",i),{}}return te&&J.error("Transport disabled"),{}}_setupIntegrations(){const{integrations:r}=this._options;this._integrations=ov(this,r),Qd(this,r)}_updateSessionFromEvent(r,i){let l=i.level==="fatal",a=!1;const f=i.exception?.values;if(f){a=!0;for(const h of f)if(h.mechanism?.handled===!1){l=!0;break}}const d=r.status==="ok";(d&&r.errors===0||d&&l)&&(Sr(r,{...l&&{status:"crashed"},errors:r.errors||Number(a||l)}),this.captureSession(r))}async _isClientDoneProcessing(r){let i=0;for(;!r||isetTimeout(l,1)),!this._numProcessing)return!0;i++}return!1}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(r,i,l,a){const f=this.getOptions(),d=Object.keys(this._integrations);return!i.integrations&&d?.length&&(i.integrations=d),this.emit("preprocessEvent",r,i),r.type||a.setLastEventId(r.event_id||i.event_id),B_(f,r,i,l,this,a).then(m=>{if(m===null)return m;this.emit("postprocessEvent",m,i),m.contexts={trace:Fy(l),...m.contexts};const h=__(this,l);return m.sdkProcessingMetadata={dynamicSamplingContext:h,...m.sdkProcessingMetadata},m})}_captureEvent(r,i={},l=En(),a=xr()){return te&&Mu(r)&&J.log(`Captured error event \`${fm(r)[0]||""}\``),this._processEvent(r,i,l,a).then(f=>f.event_id,f=>{te&&(Zd(f)?J.log(f.message):Jd(f)?J.warn(f.message):J.warn(f))})}_processEvent(r,i,l,a){const f=this.getOptions(),{sampleRate:d}=f,m=mm(r),h=Mu(r),y=r.type||"error",E=`before send for type \`${y}\``,k=typeof d>"u"?void 0:s_(d);if(h&&typeof k=="number"&&Math.random()>k)return this.recordDroppedEvent("sample_rate","error"),ua(gu(`Discarding event because it's not included in the random sample (sampling rate = ${d})`));const C=y==="replay_event"?"replay":y;return this._prepareEvent(r,i,l,a).then(x=>{if(x===null)throw this.recordDroppedEvent("event_processor",C),gu("An event processor returned `null`, will not send event.");if(i.data&&i.data.__sentry__===!0)return x;const U=cv(this,f,x,i);return av(U,E)}).then(x=>{if(x===null){if(this.recordDroppedEvent("before_send",C),m){const Z=1+(r.spans||[]).length;this.recordDroppedEvent("before_send","span",Z)}throw gu(`${E} returned \`null\`, will not send event.`)}const M=l.getSession()||a.getSession();if(h&&M&&this._updateSessionFromEvent(M,x),m){const N=x.sdkProcessingMetadata?.spanCountBeforeProcessing||0,Z=x.spans?x.spans.length:0,$=N-Z;$>0&&this.recordDroppedEvent("before_send","span",$)}const U=x.transaction_info;if(m&&U&&x.transaction!==r.transaction){const N="custom";x.transaction_info={...U,source:N}}return this.sendEvent(x,i),x}).then(null,x=>{throw Zd(x)||Jd(x)?x:(this.captureException(x,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:x}),Qi(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. Reason: ${x}`))})}_process(r){this._numProcessing++,r.then(i=>(this._numProcessing--,i),i=>(this._numProcessing--,i))}_clearOutcomes(){const r=this._outcomes;return this._outcomes={},Object.entries(r).map(([i,l])=>{const[a,f]=i.split(":");return{reason:a,category:f,quantity:l}})}_flushOutcomes(){te&&J.log("Flushing outcomes...");const r=this._clearOutcomes();if(r.length===0){te&&J.log("No outcomes to send");return}if(!this._dsn){te&&J.log("No dsn provided, will not send outcomes");return}te&&J.log("Sending outcomes:",r);const i=iv(r,this._options.tunnel&&cs(this._dsn));this.sendEnvelope(i)}}function av(n,r){const i=`${r} must return \`null\` or a valid event.`;if(Po(n))return n.then(l=>{if(!_o(l)&&l!==null)throw Qi(i);return l},l=>{throw Qi(`${r} rejected with ${l}`)});if(!_o(n)&&n!==null)throw Qi(i);return n}function cv(n,r,i,l){const{beforeSend:a,beforeSendTransaction:f,beforeSendSpan:d,ignoreSpans:m}=r;let h=i;if(Mu(h)&&a)return a(h,l);if(mm(h)){if(d||m){const y=sv(h);if(m?.length&&Ud(y,m))return null;if(d){const E=d(y);E?h=To(i,lv(E)):Fd()}if(h.spans){const E=[],k=h.spans;for(const x of k){if(m?.length&&Ud(x,m)){h_(k,x);continue}if(d){const M=d(x);M?E.push(M):(Fd(),E.push(x))}else E.push(x)}const C=h.spans.length-E.length;C&&n.recordDroppedEvent("before_send","span",C),h.spans=E}}if(f){if(h.spans){const y=h.spans.length;h.sdkProcessingMetadata={...i.sdkProcessingMetadata,spanCountBeforeProcessing:y}}return f(h,l)}}return h}function Mu(n){return n.type===void 0}function mm(n){return n.type==="transaction"}function fv(n){return[{type:"log",item_count:n.length,content_type:"application/vnd.sentry.items.log+json"},{items:n}]}function dv(n,r,i,l){const a={};return r?.sdk&&(a.sdk={name:r.sdk.name,version:r.sdk.version}),i&&l&&(a.dsn=cs(l)),xo(a,[fv(n)])}function yu(n,r){const i=pv(n)??[];if(i.length===0)return;const l=n.getOptions(),a=dv(i,l._metadata,l.tunnel,n.getDsn());hm().set(n,[]),n.emit("flushLogs"),n.sendEnvelope(a)}function pv(n){return hm().get(n)}function hm(){return ko("clientToLogBufferMap",()=>new WeakMap)}function mv(n,r){r.debug===!0&&(te?J.enable():Cr(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),En().update(r.initialScope);const l=new n(r);return hv(l),l.init(),l}function hv(n){En().setClient(n)}const gm=Symbol.for("SentryBufferFullError");function gv(n=100){const r=new Set;function i(){return r.sizel(m),()=>l(m)),m}function f(d){if(!r.size)return fs(!0);const m=Promise.allSettled(Array.from(r)).then(()=>!0);if(!d)return m;const h=[m,new Promise(y=>setTimeout(()=>y(!1),d))];return Promise.race(h)}return{get $(){return Array.from(r)},add:a,drain:f}}const yv=60*1e3;function _v(n,r=Date.now()){const i=parseInt(`${n}`,10);if(!isNaN(i))return i*1e3;const l=Date.parse(`${n}`);return isNaN(l)?yv:l-r}function vv(n,r){return n[r]||n.all||0}function Sv(n,r,i=Date.now()){return vv(n,r)>i}function Ev(n,{statusCode:r,headers:i},l=Date.now()){const a={...n},f=i?.["x-sentry-rate-limits"],d=i?.["retry-after"];if(f)for(const m of f.trim().split(",")){const[h,y,,,E]=m.split(":",5),k=parseInt(h,10),C=(isNaN(k)?60:k)*1e3;if(!y)a.all=l+C;else for(const x of y.split(";"))x==="metric_bucket"?(!E||E.split(";").includes("custom"))&&(a[x]=l+C):a[x]=l+C}else d?a.all=l+_v(d,l):r===429&&(a.all=l+60*1e3);return a}const wv=64;function kv(n,r,i=gv(n.bufferSize||wv)){let l={};const a=d=>i.drain(d);function f(d){const m=[];if($d(d,(k,C)=>{const x=Vd(C);Sv(l,x)?n.recordDroppedEvent("ratelimit_backoff",x):m.push(k)}),m.length===0)return Promise.resolve({});const h=xo(d[0],m),y=k=>{$d(h,(C,x)=>{n.recordDroppedEvent(k,Vd(x))})},E=()=>r({body:T_(h)}).then(k=>(k.statusCode!==void 0&&(k.statusCode<200||k.statusCode>=300)&&te&&J.warn(`Sentry responded with status code ${k.statusCode} to sent event.`),l=Ev(l,k),k),k=>{throw y("network_error"),te&&J.error("Encountered error running transport request:",k),k});return i.add(E).then(k=>k,k=>{if(k===gm)return te&&J.error("Skipped sending event because buffer is full."),y("queue_overflow"),Promise.resolve({});throw k})}return{send:f,flush:a}}function _u(n){if(!n)return{};const r=n.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!r)return{};const i=r[6]||"",l=r[8]||"";return{host:r[4],path:r[5],protocol:r[2],search:i,hash:l,relative:r[5]+i+l}}function Pv(n){"aggregates"in n?n.attrs?.ip_address===void 0&&(n.attrs={...n.attrs,ip_address:"{{auto}}"}):n.ipAddress===void 0&&(n.ipAddress="{{auto}}")}function ym(n,r,i=[r],l="npm"){const a=n._metadata||{};a.sdk||(a.sdk={name:`sentry.javascript.${r}`,packages:i.map(f=>({name:`${l}:@sentry/${f}`,version:zn})),version:zn}),n._metadata=a}const Cv=100;function Bn(n,r){const i=He(),l=xr();if(!i)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:f=Cv}=i.getOptions();if(f<=0)return;const m={timestamp:Co(),...n},h=a?Cr(()=>a(m,r)):m;h!==null&&(i.emit&&i.emit("beforeAddBreadcrumb",h,r),l.addBreadcrumb(h,f))}let ep;const Tv="FunctionToString",tp=new WeakMap,xv=(()=>({name:Tv,setupOnce(){ep=Function.prototype.toString;try{Function.prototype.toString=function(...n){const r=oa(this),i=tp.has(He())&&r!==void 0?r:this;return ep.apply(i,n)}}catch{}},setup(n){tp.set(n,!0)}})),Rv=xv,Iv=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],Ov="EventFilters",Nv=(n={})=>{let r;return{name:Ov,setup(i){const l=i.getOptions();r=np(n,l)},processEvent(i,l,a){if(!r){const f=a.getOptions();r=np(n,f)}return Dv(i,r)?null:i}}},Lv=((n={})=>({...Nv(n),name:"InboundFilters"}));function np(n={},r={}){return{allowUrls:[...n.allowUrls||[],...r.allowUrls||[]],denyUrls:[...n.denyUrls||[],...r.denyUrls||[]],ignoreErrors:[...n.ignoreErrors||[],...r.ignoreErrors||[],...n.disableErrorDefaults?[]:Iv],ignoreTransactions:[...n.ignoreTransactions||[],...r.ignoreTransactions||[]]}}function Dv(n,r){if(n.type){if(n.type==="transaction"&&Mv(n,r.ignoreTransactions))return te&&J.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. Event: ${Fn(n)}`),!0}else{if(Av(n,r.ignoreErrors))return te&&J.warn(`Event dropped due to being matched by \`ignoreErrors\` option. Event: ${Fn(n)}`),!0;if(Uv(n))return te&&J.warn(`Event dropped due to not having an error message, error type or stacktrace. Event: ${Fn(n)}`),!0;if(jv(n,r.denyUrls))return te&&J.warn(`Event dropped due to being matched by \`denyUrls\` option. Event: ${Fn(n)}. Url: ${Zi(n)}`),!0;if(!Fv(n,r.allowUrls))return te&&J.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${Fn(n)}. Url: ${Zi(n)}`),!0}return!1}function Av(n,r){return r?.length?fm(n).some(i=>as(i,r)):!1}function Mv(n,r){if(!r?.length)return!1;const i=n.transaction;return i?as(i,r):!1}function jv(n,r){if(!r?.length)return!1;const i=Zi(n);return i?as(i,r):!1}function Fv(n,r){if(!r?.length)return!0;const i=Zi(n);return i?as(i,r):!0}function zv(n=[]){for(let r=n.length-1;r>=0;r--){const i=n[r];if(i&&i.filename!==""&&i.filename!=="[native code]")return i.filename||null}return null}function Zi(n){try{const i=[...n.exception?.values??[]].reverse().find(l=>l.mechanism?.parent_id===void 0&&l.stacktrace?.frames?.length)?.stacktrace?.frames;return i?zv(i):null}catch{return te&&J.error(`Cannot extract url for event ${Fn(n)}`),null}}function Uv(n){return n.exception?.values?.length?!n.message&&!n.exception.values.some(r=>r.stacktrace||r.type&&r.type!=="Error"||r.value):!1}function $v(n,r,i,l,a,f){if(!a.exception?.values||!f||!_n(f.originalException,Error))return;const d=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;d&&(a.exception.values=ju(n,r,l,f.originalException,i,a.exception.values,d,0))}function ju(n,r,i,l,a,f,d,m){if(f.length>=i+1)return f;let h=[...f];if(_n(l[a],Error)){rp(d,m);const y=n(r,l[a]),E=h.length;op(y,a,E,m),h=ju(n,r,i,l[a],a,[y,...h],y,E)}return Array.isArray(l.errors)&&l.errors.forEach((y,E)=>{if(_n(y,Error)){rp(d,m);const k=n(r,y),C=h.length;op(k,`errors[${E}]`,C,m),h=ju(n,r,i,y,a,[k,...h],k,C)}}),h}function rp(n,r){n.mechanism={handled:!0,type:"auto.core.linked_errors",...n.mechanism,...n.type==="AggregateError"&&{is_exception_group:!0},exception_id:r}}function op(n,r,i,l){n.mechanism={handled:!0,...n.mechanism,type:"chained",source:r,exception_id:i,parent_id:l}}function Vv(n){const r="console";Wn(r,n),Gn(r,Bv)}function Bv(){"console"in de&&ey.forEach(function(n){n in de.console&&ot(de.console,n,function(r){return Xi[n]=r,function(...i){Ct("console",{args:i,level:n}),Xi[n]?.apply(de.console,i)}})})}function Hv(n){return n==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(n)?n:"log"}const bv="Dedupe",Wv=(()=>{let n;return{name:bv,processEvent(r){if(r.type)return r;try{if(qv(r,n))return te&&J.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return n=r}}}),Gv=Wv;function qv(n,r){return r?!!(Kv(n,r)||Qv(n,r)):!1}function Kv(n,r){const i=n.message,l=r.message;return!(!i&&!l||i&&!l||!i&&l||i!==l||!vm(n,r)||!_m(n,r))}function Qv(n,r){const i=ip(r),l=ip(n);return!(!i||!l||i.type!==l.type||i.value!==l.value||!vm(n,r)||!_m(n,r))}function _m(n,r){let i=Ed(n),l=Ed(r);if(!i&&!l)return!0;if(i&&!l||!i&&l||(i=i,l=l,l.length!==i.length))return!1;for(let a=0;a=400&&n<500?"warning":n>=500?"error":void 0}const So=de;function Yv(){return"history"in So&&!!So.history}function Xv(){if(!("fetch"in So))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function Fu(n){return n&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(n.toString())}function Jv(){if(typeof EdgeRuntime=="string")return!0;if(!Xv())return!1;if(Fu(So.fetch))return!0;let n=!1;const r=So.document;if(r&&typeof r.createElement=="function")try{const i=r.createElement("iframe");i.hidden=!0,r.head.appendChild(i),i.contentWindow?.fetch&&(n=Fu(i.contentWindow.fetch)),r.head.removeChild(i)}catch(i){te&&J.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",i)}return n}function Zv(n,r){const i="fetch";Wn(i,n),Gn(i,()=>e0(void 0,r))}function e0(n,r=!1){r&&!Jv()||ot(de,"fetch",function(i){return function(...l){const a=new Error,{method:f,url:d}=t0(l),m={args:l,fetchData:{method:f,url:d},startTimestamp:qt()*1e3,virtualError:a,headers:n0(l)};return Ct("fetch",{...m}),i.apply(de,l).then(async h=>(Ct("fetch",{...m,endTimestamp:qt()*1e3,response:h}),h),h=>{if(Ct("fetch",{...m,endTimestamp:qt()*1e3,error:h}),Zu(h)&&h.stack===void 0&&(h.stack=a.stack,Vn(h,"framesToPop",1)),h instanceof TypeError&&(h.message==="Failed to fetch"||h.message==="Load failed"||h.message==="NetworkError when attempting to fetch resource."))try{const y=new URL(m.fetchData.url);h.message=`${h.message} (${y.host})`}catch{}throw h})}})}function zu(n,r){return!!n&&typeof n=="object"&&!!n[r]}function sp(n){return typeof n=="string"?n:n?zu(n,"url")?n.url:n.toString?n.toString():"":""}function t0(n){if(n.length===0)return{method:"GET",url:""};if(n.length===2){const[i,l]=n;return{url:sp(i),method:zu(l,"method")?String(l.method).toUpperCase():"GET"}}const r=n[0];return{url:sp(r),method:zu(r,"method")?String(r.method).toUpperCase():"GET"}}function n0(n){const[r,i]=n;try{if(typeof i=="object"&&i!==null&&"headers"in i&&i.headers)return new Headers(i.headers);if(yy(r))return new Headers(r.headers)}catch{}}function r0(){return"npm"}const Ce=de;let Uu=0;function Em(){return Uu>0}function o0(){Uu++,setTimeout(()=>{Uu--})}function wr(n,r={}){function i(a){return typeof a=="function"}if(!i(n))return n;try{const a=n.__sentry_wrapped__;if(a)return typeof a=="function"?a:n;if(oa(n))return n}catch{return n}const l=function(...a){try{const f=a.map(d=>wr(d,r));return n.apply(this,f)}catch(f){throw o0(),jy(d=>{d.addEventProcessor(m=>(r.mechanism&&(Ou(m,void 0),vr(m,r.mechanism)),m.extra={...m.extra,arguments:a},m)),Q_(f)}),f}};try{for(const a in n)Object.prototype.hasOwnProperty.call(n,a)&&(l[a]=n[a])}catch{}qp(l,n),Vn(n,"__sentry_wrapped__",l);try{Object.getOwnPropertyDescriptor(l,"name").configurable&&Object.defineProperty(l,"name",{get(){return n.name}})}catch{}return l}function i0(){const n=ra(),{referrer:r}=Ce.document||{},{userAgent:i}=Ce.navigator||{},l={...r&&{Referer:r},...i&&{"User-Agent":i}};return{url:n,headers:l}}function aa(n,r){const i=ca(n,r),l={type:c0(r),value:f0(r)};return i.length&&(l.stacktrace={frames:i}),l.type===void 0&&l.value===""&&(l.value="Unrecoverable error caught"),l}function s0(n,r,i,l){const f=He()?.getOptions().normalizeDepth,d=g0(r),m={__serialized__:im(r,f)};if(d)return{exception:{values:[aa(n,d)]},extra:m};const h={exception:{values:[{type:us(r)?r.constructor.name:l?"UnhandledRejection":"Error",value:m0(r,{isUnhandledRejection:l})}]},extra:m};if(i){const y=ca(n,i);y.length&&(h.exception.values[0].stacktrace={frames:y})}return h}function vu(n,r){return{exception:{values:[aa(n,r)]}}}function ca(n,r){const i=r.stacktrace||r.stack||"",l=u0(r),a=a0(r);try{return n(i,l,a)}catch{}return[]}const l0=/Minified React error #\d+;/i;function u0(n){return n&&l0.test(n.message)?1:0}function a0(n){return typeof n.framesToPop=="number"?n.framesToPop:0}function wm(n){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?n instanceof WebAssembly.Exception:!1}function c0(n){const r=n?.name;return!r&&wm(n)?n.message&&Array.isArray(n.message)&&n.message.length==2?n.message[0]:"WebAssembly.Exception":r}function f0(n){const r=n?.message;return wm(n)?Array.isArray(n.message)&&n.message.length==2?n.message[1]:"wasm exception":r?r.error&&typeof r.error.message=="string"?r.error.message:r:"No error message"}function d0(n,r,i,l){const a=i?.syntheticException||void 0,f=fa(n,r,a,l);return vr(f),f.level="error",i?.event_id&&(f.event_id=i.event_id),fs(f)}function p0(n,r,i="info",l,a){const f=l?.syntheticException||void 0,d=$u(n,r,f,a);return d.level=i,l?.event_id&&(d.event_id=l.event_id),fs(d)}function fa(n,r,i,l,a){let f;if(bp(r)&&r.error)return vu(n,r.error);if(kd(r)||py(r)){const d=r;if("stack"in r)f=vu(n,r);else{const m=d.name||(kd(d)?"DOMError":"DOMException"),h=d.message?`${m}: ${d.message}`:m;f=$u(n,h,i,l),Ou(f,h)}return"code"in d&&(f.tags={...f.tags,"DOMException.code":`${d.code}`}),f}return Zu(r)?vu(n,r):_o(r)||us(r)?(f=s0(n,r,i,a),vr(f,{synthetic:!0}),f):(f=$u(n,r,i,l),Ou(f,`${r}`),vr(f,{synthetic:!0}),f)}function $u(n,r,i,l){const a={};if(l&&i){const f=ca(n,i);f.length&&(a.exception={values:[{value:r,stacktrace:{frames:f}}]}),vr(a,{synthetic:!0})}if(ea(r)){const{__sentry_template_string__:f,__sentry_template_values__:d}=r;return a.logentry={message:f,params:d},a}return a.message=r,a}function m0(n,{isUnhandledRejection:r}){const i=Ey(n),l=r?"promise rejection":"exception";return bp(n)?`Event \`ErrorEvent\` captured as ${l} with message \`${n.message}\``:us(n)?`Event \`${h0(n)}\` (type=${n.type}) captured as ${l}`:`Object captured as ${l} with keys: ${i}`}function h0(n){try{const r=Object.getPrototypeOf(n);return r?r.constructor.name:void 0}catch{}}function g0(n){for(const r in n)if(Object.prototype.hasOwnProperty.call(n,r)){const i=n[r];if(i instanceof Error)return i}}const y0=5e3;class _0 extends uv{constructor(r){const i=v0(r),l=Ce.SENTRY_SDK_SOURCE||r0();ym(i,"browser",["browser"],l),i._metadata?.sdk&&(i._metadata.sdk.settings={infer_ip:i.sendDefaultPii?"auto":"never",...i._metadata.sdk.settings}),super(i);const{sendDefaultPii:a,sendClientReports:f,enableLogs:d}=this._options;Ce.document&&(f||d)&&Ce.document.addEventListener("visibilitychange",()=>{Ce.document.visibilityState==="hidden"&&(f&&this._flushOutcomes(),d&&yu(this))}),d&&(this.on("flush",()=>{yu(this)}),this.on("afterCaptureLog",()=>{this._logFlushIdleTimeout&&clearTimeout(this._logFlushIdleTimeout),this._logFlushIdleTimeout=setTimeout(()=>{yu(this)},y0)})),a&&this.on("beforeSendSession",Pv)}eventFromException(r,i){return d0(this._options.stackParser,r,i,this._options.attachStacktrace)}eventFromMessage(r,i="info",l){return p0(this._options.stackParser,r,i,l,this._options.attachStacktrace)}_prepareEvent(r,i,l,a){return r.platform=r.platform||"javascript",super._prepareEvent(r,i,l,a)}}function v0(n){return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:Ce.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...n}}const S0=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Be=de,E0=1e3;let lp,Vu,Bu;function w0(n){Wn("dom",n),Gn("dom",k0)}function k0(){if(!Be.document)return;const n=Ct.bind(null,"dom"),r=up(n,!0);Be.document.addEventListener("click",r,!1),Be.document.addEventListener("keypress",r,!1),["EventTarget","Node"].forEach(i=>{const a=Be[i]?.prototype;a?.hasOwnProperty?.("addEventListener")&&(ot(a,"addEventListener",function(f){return function(d,m,h){if(d==="click"||d=="keypress")try{const y=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},E=y[d]=y[d]||{refCount:0};if(!E.handler){const k=up(n);E.handler=k,f.call(this,d,k,h)}E.refCount++}catch{}return f.call(this,d,m,h)}}),ot(a,"removeEventListener",function(f){return function(d,m,h){if(d==="click"||d=="keypress")try{const y=this.__sentry_instrumentation_handlers__||{},E=y[d];E&&(E.refCount--,E.refCount<=0&&(f.call(this,d,E.handler,h),E.handler=void 0,delete y[d]),Object.keys(y).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return f.call(this,d,m,h)}}))})}function P0(n){if(n.type!==Vu)return!1;try{if(!n.target||n.target._sentryId!==Bu)return!1}catch{}return!0}function C0(n,r){return n!=="keypress"?!1:r?.tagName?!(r.tagName==="INPUT"||r.tagName==="TEXTAREA"||r.isContentEditable):!0}function up(n,r=!1){return i=>{if(!i||i._sentryCaptured)return;const l=T0(i);if(C0(i.type,l))return;Vn(i,"_sentryCaptured",!0),l&&!l._sentryId&&Vn(l,"_sentryId",mt());const a=i.type==="keypress"?"input":i.type;P0(i)||(n({event:i,name:a,global:r}),Vu=i.type,Bu=l?l._sentryId:void 0),clearTimeout(lp),lp=Be.setTimeout(()=>{Bu=void 0,Vu=void 0},E0)}}function T0(n){try{return n.target}catch{return null}}let Bi;function km(n){const r="history";Wn(r,n),Gn(r,x0)}function x0(){if(Be.addEventListener("popstate",()=>{const r=Be.location.href,i=Bi;if(Bi=r,i===r)return;Ct("history",{from:i,to:r})}),!Yv())return;function n(r){return function(...i){const l=i.length>2?i[2]:void 0;if(l){const a=Bi,f=R0(String(l));if(Bi=f,a===f)return r.apply(this,i);Ct("history",{from:a,to:f})}return r.apply(this,i)}}ot(Be.history,"pushState",n),ot(Be.history,"replaceState",n)}function R0(n){try{return new URL(n,Be.location.origin).toString()}catch{return n}}const Yi={};function I0(n){const r=Yi[n];if(r)return r;let i=Be[n];if(Fu(i))return Yi[n]=i.bind(Be);const l=Be.document;if(l&&typeof l.createElement=="function")try{const a=l.createElement("iframe");a.hidden=!0,l.head.appendChild(a);const f=a.contentWindow;f?.[n]&&(i=f[n]),l.head.removeChild(a)}catch(a){S0&&J.warn(`Could not create sandbox iframe for ${n} check, bailing to window.${n}: `,a)}return i&&(Yi[n]=i.bind(Be))}function O0(n){Yi[n]=void 0}const ho="__sentry_xhr_v3__";function N0(n){Wn("xhr",n),Gn("xhr",L0)}function L0(){if(!Be.XMLHttpRequest)return;const n=XMLHttpRequest.prototype;n.open=new Proxy(n.open,{apply(r,i,l){const a=new Error,f=qt()*1e3,d=Gt(l[0])?l[0].toUpperCase():void 0,m=D0(l[1]);if(!d||!m)return r.apply(i,l);i[ho]={method:d,url:m,request_headers:{}},d==="POST"&&m.match(/sentry_key/)&&(i.__sentry_own_request__=!0);const h=()=>{const y=i[ho];if(y&&i.readyState===4){try{y.status_code=i.status}catch{}const E={endTimestamp:qt()*1e3,startTimestamp:f,xhr:i,virtualError:a};Ct("xhr",E)}};return"onreadystatechange"in i&&typeof i.onreadystatechange=="function"?i.onreadystatechange=new Proxy(i.onreadystatechange,{apply(y,E,k){return h(),y.apply(E,k)}}):i.addEventListener("readystatechange",h),i.setRequestHeader=new Proxy(i.setRequestHeader,{apply(y,E,k){const[C,x]=k,M=E[ho];return M&&Gt(C)&&Gt(x)&&(M.request_headers[C.toLowerCase()]=x),y.apply(E,k)}}),r.apply(i,l)}}),n.send=new Proxy(n.send,{apply(r,i,l){const a=i[ho];if(!a)return r.apply(i,l);l[0]!==void 0&&(a.body=l[0]);const f={startTimestamp:qt()*1e3,xhr:i};return Ct("xhr",f),r.apply(i,l)}})}function D0(n){if(Gt(n))return n;try{return n.toString()}catch{}}function A0(n,r=I0("fetch")){let i=0,l=0;async function a(f){const d=f.body.length;i+=d,l++;const m={body:f.body,method:"POST",referrerPolicy:"strict-origin",headers:n.headers,keepalive:i<=6e4&&l<15,...n.fetchOptions};try{const h=await r(n.url,m);return{statusCode:h.status,headers:{"x-sentry-rate-limits":h.headers.get("X-Sentry-Rate-Limits"),"retry-after":h.headers.get("Retry-After")}}}catch(h){throw O0("fetch"),h}finally{i-=d,l--}}return kv(n,a)}const M0=30,j0=50;function Hu(n,r,i,l){const a={filename:n,function:r===""?$n:r,in_app:!0};return i!==void 0&&(a.lineno=i),l!==void 0&&(a.colno=l),a}const F0=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,z0=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,U0=/\((\S*)(?::(\d+))(?::(\d+))\)/,$0=/at (.+?) ?\(data:(.+?),/,V0=n=>{const r=n.match($0);if(r)return{filename:``,function:r[1]};const i=F0.exec(n);if(i){const[,a,f,d]=i;return Hu(a,$n,+f,+d)}const l=z0.exec(n);if(l){if(l[2]&&l[2].indexOf("eval")===0){const m=U0.exec(l[2]);m&&(l[2]=m[1],l[3]=m[2],l[4]=m[3])}const[f,d]=Pm(l[1]||$n,l[2]);return Hu(d,f,l[3]?+l[3]:void 0,l[4]?+l[4]:void 0)}},B0=[M0,V0],H0=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,b0=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,W0=n=>{const r=H0.exec(n);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){const f=b0.exec(r[3]);f&&(r[1]=r[1]||"eval",r[3]=f[1],r[4]=f[2],r[5]="")}let l=r[3],a=r[1]||$n;return[a,l]=Pm(a,l),Hu(l,a,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}},G0=[j0,W0],q0=[B0,G0],K0=Bp(...q0),Pm=(n,r)=>{const i=n.indexOf("safari-extension")!==-1,l=n.indexOf("safari-web-extension")!==-1;return i||l?[n.indexOf("@")!==-1?n.split("@")[0]:$n,i?`safari-extension:${r}`:`safari-web-extension:${r}`]:[n,r]},ds=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Hi=1024,Q0="Breadcrumbs",Y0=((n={})=>{const r={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...n};return{name:Q0,setup(i){r.console&&Vv(eS(i)),r.dom&&w0(Z0(i,r.dom)),r.xhr&&N0(tS(i)),r.fetch&&Zv(nS(i)),r.history&&km(rS(i)),r.sentry&&i.on("beforeSendEvent",J0(i))}}}),X0=Y0;function J0(n){return function(i){He()===n&&Bn({category:`sentry.${i.type==="transaction"?"transaction":"event"}`,event_id:i.event_id,level:i.level,message:Fn(i)},{event:i})}}function Z0(n,r){return function(l){if(He()!==n)return;let a,f,d=typeof r=="object"?r.serializeAttribute:void 0,m=typeof r=="object"&&typeof r.maxStringLength=="number"?r.maxStringLength:void 0;m&&m>Hi&&(ds&&J.warn(`\`dom.maxStringLength\` cannot exceed ${Hi}, but a value of ${m} was configured. Sentry will use ${Hi} instead.`),m=Hi),typeof d=="string"&&(d=[d]);try{const y=l.event,E=oS(y)?y.target:y;a=Gp(E,{keyAttrs:d,maxStringLength:m}),f=Sy(E)}catch{a=""}if(a.length===0)return;const h={category:`ui.${l.name}`,message:a};f&&(h.data={"ui.component_name":f}),Bn(h,{event:l.event,name:l.name,global:l.global})}}function eS(n){return function(i){if(He()!==n)return;const l={category:"console",data:{arguments:i.args,logger:"console"},level:Hv(i.level),message:Pd(i.args," ")};if(i.level==="assert")if(i.args[0]===!1)l.message=`Assertion failed: ${Pd(i.args.slice(1)," ")||"console.assert"}`,l.data.arguments=i.args.slice(1);else return;Bn(l,{input:i.args,level:i.level})}}function tS(n){return function(i){if(He()!==n)return;const{startTimestamp:l,endTimestamp:a}=i,f=i.xhr[ho];if(!l||!a||!f)return;const{method:d,url:m,status_code:h,body:y}=f,E={method:d,url:m,status_code:h},k={xhr:i.xhr,input:y,startTimestamp:l,endTimestamp:a},C={category:"xhr",data:E,type:"http",level:Sm(h)};n.emit("beforeOutgoingRequestBreadcrumb",C,k),Bn(C,k)}}function nS(n){return function(i){if(He()!==n)return;const{startTimestamp:l,endTimestamp:a}=i;if(a&&!(i.fetchData.url.match(/sentry_key/)&&i.fetchData.method==="POST"))if(i.fetchData.method,i.fetchData.url,i.error){const f=i.fetchData,d={data:i.error,input:i.args,startTimestamp:l,endTimestamp:a},m={category:"fetch",data:f,level:"error",type:"http"};n.emit("beforeOutgoingRequestBreadcrumb",m,d),Bn(m,d)}else{const f=i.response,d={...i.fetchData,status_code:f?.status};i.fetchData.request_body_size,i.fetchData.response_body_size,f?.status;const m={input:i.args,response:f,startTimestamp:l,endTimestamp:a},h={category:"fetch",data:d,type:"http",level:Sm(d.status_code)};n.emit("beforeOutgoingRequestBreadcrumb",h,m),Bn(h,m)}}}function rS(n){return function(i){if(He()!==n)return;let l=i.from,a=i.to;const f=_u(Ce.location.href);let d=l?_u(l):void 0;const m=_u(a);d?.path||(d=f),f.protocol===m.protocol&&f.host===m.host&&(a=m.relative),f.protocol===d.protocol&&f.host===d.host&&(l=d.relative),Bn({category:"navigation",data:{from:l,to:a}})}}function oS(n){return!!n&&!!n.target}const iS=["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"],sS="BrowserApiErrors",lS=((n={})=>{const r={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...n};return{name:sS,setupOnce(){r.setTimeout&&ot(Ce,"setTimeout",ap),r.setInterval&&ot(Ce,"setInterval",ap),r.requestAnimationFrame&&ot(Ce,"requestAnimationFrame",aS),r.XMLHttpRequest&&"XMLHttpRequest"in Ce&&ot(XMLHttpRequest.prototype,"send",cS);const i=r.eventTarget;i&&(Array.isArray(i)?i:iS).forEach(a=>fS(a,r))}}}),uS=lS;function ap(n){return function(...r){const i=r[0];return r[0]=wr(i,{mechanism:{handled:!1,type:`auto.browser.browserapierrors.${yn(n)}`}}),n.apply(this,r)}}function aS(n){return function(r){return n.apply(this,[wr(r,{mechanism:{data:{handler:yn(n)},handled:!1,type:"auto.browser.browserapierrors.requestAnimationFrame"}})])}}function cS(n){return function(...r){const i=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(a=>{a in i&&typeof i[a]=="function"&&ot(i,a,function(f){const d={mechanism:{data:{handler:yn(f)},handled:!1,type:`auto.browser.browserapierrors.xhr.${a}`}},m=oa(f);return m&&(d.mechanism.data.handler=yn(m)),wr(f,d)})}),n.apply(this,r)}}function fS(n,r){const l=Ce[n]?.prototype;l?.hasOwnProperty?.("addEventListener")&&(ot(l,"addEventListener",function(a){return function(f,d,m){try{dS(d)&&(d.handleEvent=wr(d.handleEvent,{mechanism:{data:{handler:yn(d),target:n},handled:!1,type:"auto.browser.browserapierrors.handleEvent"}}))}catch{}return r.unregisterOriginalCallbacks&&pS(this,f,d),a.apply(this,[f,wr(d,{mechanism:{data:{handler:yn(d),target:n},handled:!1,type:"auto.browser.browserapierrors.addEventListener"}}),m])}}),ot(l,"removeEventListener",function(a){return function(f,d,m){try{const h=d.__sentry_wrapped__;h&&a.call(this,f,h,m)}catch{}return a.call(this,f,d,m)}}))}function dS(n){return typeof n.handleEvent=="function"}function pS(n,r,i){n&&typeof n=="object"&&"removeEventListener"in n&&typeof n.removeEventListener=="function"&&n.removeEventListener(r,i)}const mS=()=>({name:"BrowserSession",setupOnce(){if(typeof Ce.document>"u"){ds&&J.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Gd({ignoreDuration:!0}),qd(),km(({from:n,to:r})=>{n!==void 0&&n!==r&&(Gd({ignoreDuration:!0}),qd())})}}),hS="GlobalHandlers",gS=((n={})=>{const r={onerror:!0,onunhandledrejection:!0,...n};return{name:hS,setupOnce(){Error.stackTraceLimit=50},setup(i){r.onerror&&(_S(i),cp("onerror")),r.onunhandledrejection&&(vS(i),cp("onunhandledrejection"))}}}),yS=gS;function _S(n){ay(r=>{const{stackParser:i,attachStacktrace:l}=Cm();if(He()!==n||Em())return;const{msg:a,url:f,line:d,column:m,error:h}=r,y=wS(fa(i,h||a,void 0,l,!1),f,d,m);y.level="error",lm(y,{originalException:h,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function vS(n){fy(r=>{const{stackParser:i,attachStacktrace:l}=Cm();if(He()!==n||Em())return;const a=SS(r),f=ta(a)?ES(a):fa(i,a,void 0,l,!0);f.level="error",lm(f,{originalException:a,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function SS(n){if(ta(n))return n;try{if("reason"in n)return n.reason;if("detail"in n&&"reason"in n.detail)return n.detail.reason}catch{}return n}function ES(n){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(n)}`}]}}}function wS(n,r,i,l){const a=n.exception=n.exception||{},f=a.values=a.values||[],d=f[0]=f[0]||{},m=d.stacktrace=d.stacktrace||{},h=m.frames=m.frames||[],y=l,E=i,k=kS(r)??ra();return h.length===0&&h.push({colno:y,filename:k,function:$n,in_app:!0,lineno:E}),n}function cp(n){ds&&J.log(`Global Handler attached: ${n}`)}function Cm(){return He()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function kS(n){if(!(!Gt(n)||n.length===0)){if(n.startsWith("data:")){const r=n.match(/^data:([^;]+)/),i=r?r[1]:"text/javascript",l=n.includes("base64,");return``}return n.slice(0,1024)}}const PS=()=>({name:"HttpContext",preprocessEvent(n){if(!Ce.navigator&&!Ce.location&&!Ce.document)return;const r=i0(),i={...r.headers,...n.request?.headers};n.request={...r,...n.request,headers:i}}}),CS="cause",TS=5,xS="LinkedErrors",RS=((n={})=>{const r=n.limit||TS,i=n.key||CS;return{name:xS,preprocessEvent(l,a,f){const d=f.getOptions();$v(aa,d.stackParser,i,r,l,a)}}}),IS=RS;function OS(){return NS()?(ds&&Cr(()=>{console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}),!0):!1}function NS(){if(typeof Ce.window>"u")return!1;const n=Ce;if(n.nw||!(n.chrome||n.browser)?.runtime?.id)return!1;const i=ra(),l=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(Ce===Ce.top&&l.some(f=>i.startsWith(`${f}://`)))}function LS(n){return[Lv(),Rv(),uS(),X0(),yS(),IS(),Gv(),PS(),mS()]}function DS(n={}){const r=!n.skipBrowserExtensionCheck&&OS(),i={...n,enabled:r?!1:n.enabled,stackParser:ly(n.stackParser||K0),integrations:rv({integrations:n.integrations,defaultIntegrations:n.defaultIntegrations==null?LS():n.defaultIntegrations}),transport:n.transport||A0};return mv(_0,i)}var Mt=is();const AS=Up(Mt);function MS(n){const r={...n};return ym(r,"react"),Y_("react",{version:Mt.version}),DS(r)}var bi={},Su={exports:{}},Xe={},Eu={exports:{}},wu={};/** * @license React * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var fp;function jS(){return fp||(fp=1,(function(n){function r(F,Y){var v=F.length;F.push(Y);e:for(;0>>1,q=F[I];if(0>>1;Ia(me,v))uea(fe,me)?(F[I]=fe,F[ue]=v,I=ue):(F[I]=me,F[ne]=v,I=ne);else if(uea(fe,v))F[I]=fe,F[ue]=v,I=ue;else break e}}return Y}function a(F,Y){var v=F.sortIndex-Y.sortIndex;return v!==0?v:F.id-Y.id}if(typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var d=Date,m=d.now();n.unstable_now=function(){return d.now()-m}}var h=[],y=[],E=1,k=null,C=3,x=!1,M=!1,U=!1,N=typeof setTimeout=="function"?setTimeout:null,Z=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function A(F){for(var Y=i(y);Y!==null;){if(Y.callback===null)l(y);else if(Y.startTime<=F)l(y),Y.sortIndex=Y.expirationTime,r(h,Y);else break;Y=i(y)}}function j(F){if(U=!1,A(F),!M)if(i(h)!==null)M=!0,be(W);else{var Y=i(y);Y!==null&&Ee(j,Y.startTime-F)}}function W(F,Y){M=!1,U&&(U=!1,Z(pe),pe=-1),x=!0;var v=C;try{for(A(Y),k=i(h);k!==null&&(!(k.expirationTime>Y)||F&&!wn());){var I=k.callback;if(typeof I=="function"){k.callback=null,C=k.priorityLevel;var q=I(k.expirationTime<=Y);Y=n.unstable_now(),typeof q=="function"?k.callback=q:k===i(h)&&l(h),A(Y)}else l(h);k=i(h)}if(k!==null)var ie=!0;else{var ne=i(y);ne!==null&&Ee(j,ne.startTime-Y),ie=!1}return ie}finally{k=null,C=v,x=!1}}var G=!1,ee=null,pe=-1,Tt=5,ht=-1;function wn(){return!(n.unstable_now()-htF||125I?(F.sortIndex=v,r(y,F),i(h)===null&&F===i(y)&&(U?(Z(pe),pe=-1):U=!0,Ee(j,v-I))):(F.sortIndex=q,r(h,F),M||x||(M=!0,be(W))),F},n.unstable_shouldYield=wn,n.unstable_wrapCallback=function(F){var Y=C;return function(){var v=C;C=Y;try{return F.apply(this,arguments)}finally{C=v}}}})(wu)),wu}var dp;function FS(){return dp||(dp=1,Eu.exports=jS()),Eu.exports}/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var pp;function zS(){if(pp)return Xe;pp=1;var n=is(),r=FS();function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=1;o"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,y=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,E={},k={};function C(e){return h.call(k,e)?!0:h.call(E,e)?!1:y.test(e)?k[e]=!0:(E[e]=!0,!1)}function x(e,t,o,s){if(o!==null&&o.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return s?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function M(e,t,o,s){if(t===null||typeof t>"u"||x(e,t,o,s))return!0;if(s)return!1;if(o!==null)switch(o.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function U(e,t,o,s,u,c,p){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=s,this.attributeNamespace=u,this.mustUseProperty=o,this.propertyName=e,this.type=t,this.sanitizeURL=c,this.removeEmptyString=p}var N={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){N[e]=new U(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];N[t]=new U(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){N[e]=new U(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){N[e]=new U(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){N[e]=new U(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){N[e]=new U(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){N[e]=new U(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){N[e]=new U(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){N[e]=new U(e,5,!1,e.toLowerCase(),null,!1,!1)});var Z=/[\-:]([a-z])/g;function $(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Z,$);N[t]=new U(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Z,$);N[t]=new U(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Z,$);N[t]=new U(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){N[e]=new U(e,1,!1,e.toLowerCase(),null,!1,!1)}),N.xlinkHref=new U("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){N[e]=new U(e,1,!1,e.toLowerCase(),null,!0,!0)});function A(e,t,o,s){var u=N.hasOwnProperty(t)?N[t]:null;(u!==null?u.type!==0:s||!(2g||u[p]!==c[g]){var _=` `+u[p].replace(" at new "," at ");return e.displayName&&_.includes("")&&(_=_.replace("",e.displayName)),_}while(1<=p&&0<=g);break}}}finally{ie=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?q(e):""}function me(e){switch(e.tag){case 5:return q(e.type);case 16:return q("Lazy");case 13:return q("Suspense");case 19:return q("SuspenseList");case 0:case 2:case 15:return e=ne(e.type,!1),e;case 11:return e=ne(e.type.render,!1),e;case 1:return e=ne(e.type,!0),e;default:return""}}function ue(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ee:return"Fragment";case G:return"Portal";case Tt:return"Profiler";case pe:return"StrictMode";case Ze:return"Suspense";case gt:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case wn:return(e.displayName||"Context")+".Consumer";case ht:return(e._context.displayName||"Context")+".Provider";case xt:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Rt:return t=e.displayName||null,t!==null?t:ue(e.type)||"Memo";case be:t=e._payload,e=e._init;try{return ue(e(t))}catch{}}return null}function fe(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ue(t);case 8:return t===pe?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ae(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function We(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Zm(e){var t=We(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),s=""+e[t];if(!e.hasOwnProperty(t)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var u=o.get,c=o.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return u.call(this)},set:function(p){s=""+p,c.call(this,p)}}),Object.defineProperty(e,t,{enumerable:o.enumerable}),{getValue:function(){return s},setValue:function(p){s=""+p},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ro(e){e._valueTracker||(e._valueTracker=Zm(e))}function va(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var o=t.getValue(),s="";return e&&(s=We(e)?e.checked?"true":"false":e.value),e=s,e!==o?(t.setValue(e),!0):!1}function Io(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ys(e,t){var o=t.checked;return v({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??e._wrapperState.initialChecked})}function Sa(e,t){var o=t.defaultValue==null?"":t.defaultValue,s=t.checked!=null?t.checked:t.defaultChecked;o=ae(t.value!=null?t.value:o),e._wrapperState={initialChecked:s,initialValue:o,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ea(e,t){t=t.checked,t!=null&&A(e,"checked",t,!1)}function _s(e,t){Ea(e,t);var o=ae(t.value),s=t.type;if(o!=null)s==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(s==="submit"||s==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?vs(e,t.type,o):t.hasOwnProperty("defaultValue")&&vs(e,t.type,ae(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function wa(e,t,o){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var s=t.type;if(!(s!=="submit"&&s!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,o||t===e.value||(e.value=t),e.defaultValue=t}o=e.name,o!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,o!==""&&(e.name=o)}function vs(e,t,o){(t!=="number"||Io(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var Rr=Array.isArray;function qn(e,t,o,s){if(e=e.options,t){t={};for(var u=0;u"+t.valueOf().toString()+"",t=Oo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ir(e,t){if(t){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=t;return}}e.textContent=t}var Or={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},eh=["Webkit","ms","Moz","O"];Object.keys(Or).forEach(function(e){eh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Or[t]=Or[e]})});function Ra(e,t,o){return t==null||typeof t=="boolean"||t===""?"":o||typeof t!="number"||t===0||Or.hasOwnProperty(e)&&Or[e]?(""+t).trim():t+"px"}function Ia(e,t){e=e.style;for(var o in t)if(t.hasOwnProperty(o)){var s=o.indexOf("--")===0,u=Ra(o,t[o],s);o==="float"&&(o="cssFloat"),s?e.setProperty(o,u):e[o]=u}}var th=v({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ws(e,t){if(t){if(th[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(i(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(i(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(t.style!=null&&typeof t.style!="object")throw Error(i(62))}}function ks(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ps=null;function Cs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ts=null,Kn=null,Qn=null;function Oa(e){if(e=Jr(e)){if(typeof Ts!="function")throw Error(i(280));var t=e.stateNode;t&&(t=Zo(t),Ts(e.stateNode,e.type,t))}}function Na(e){Kn?Qn?Qn.push(e):Qn=[e]:Kn=e}function La(){if(Kn){var e=Kn,t=Qn;if(Qn=Kn=null,Oa(e),t)for(e=0;e>>=0,e===0?32:31-(dh(e)/ph|0)|0}var Mo=64,jo=4194304;function Ar(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Fo(e,t){var o=e.pendingLanes;if(o===0)return 0;var s=0,u=e.suspendedLanes,c=e.pingedLanes,p=o&268435455;if(p!==0){var g=p&~u;g!==0?s=Ar(g):(c&=p,c!==0&&(s=Ar(c)))}else p=o&~u,p!==0?s=Ar(p):c!==0&&(s=Ar(c));if(s===0)return 0;if(t!==0&&t!==s&&(t&u)===0&&(u=s&-s,c=t&-t,u>=c||u===16&&(c&4194240)!==0))return t;if((s&4)!==0&&(s|=o&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=s;0o;o++)t.push(e);return t}function Mr(e,t,o){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-yt(t),e[t]=o}function yh(e,t){var o=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var s=e.eventTimes;for(e=e.expirationTimes;0=Hr),sc=" ",lc=!1;function uc(e,t){switch(e){case"keyup":return Wh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ac(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Jn=!1;function qh(e,t){switch(e){case"compositionend":return ac(t);case"keypress":return t.which!==32?null:(lc=!0,sc);case"textInput":return e=t.data,e===sc&&lc?null:e;default:return null}}function Kh(e,t){if(Jn)return e==="compositionend"||!bs&&uc(e,t)?(e=ec(),Bo=zs=tn=null,Jn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:o,offset:t-e};e=s}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=gc(o)}}function _c(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_c(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function vc(){for(var e=window,t=Io();t instanceof e.HTMLIFrameElement;){try{var o=typeof t.contentWindow.location.href=="string"}catch{o=!1}if(o)e=t.contentWindow;else break;t=Io(e.document)}return t}function qs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function rg(e){var t=vc(),o=e.focusedElem,s=e.selectionRange;if(t!==o&&o&&o.ownerDocument&&_c(o.ownerDocument.documentElement,o)){if(s!==null&&qs(o)){if(t=s.start,e=s.end,e===void 0&&(e=t),"selectionStart"in o)o.selectionStart=t,o.selectionEnd=Math.min(e,o.value.length);else if(e=(t=o.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var u=o.textContent.length,c=Math.min(s.start,u);s=s.end===void 0?c:Math.min(s.end,u),!e.extend&&c>s&&(u=s,s=c,c=u),u=yc(o,c);var p=yc(o,s);u&&p&&(e.rangeCount!==1||e.anchorNode!==u.node||e.anchorOffset!==u.offset||e.focusNode!==p.node||e.focusOffset!==p.offset)&&(t=t.createRange(),t.setStart(u.node,u.offset),e.removeAllRanges(),c>s?(e.addRange(t),e.extend(p.node,p.offset)):(t.setEnd(p.node,p.offset),e.addRange(t)))}}for(t=[],e=o;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o=document.documentMode,Zn=null,Ks=null,qr=null,Qs=!1;function Sc(e,t,o){var s=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Qs||Zn==null||Zn!==Io(s)||(s=Zn,"selectionStart"in s&&qs(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),qr&&Gr(qr,s)||(qr=s,s=Yo(Ks,"onSelect"),0or||(e.current=ll[or],ll[or]=null,or--)}function he(e,t){or++,ll[or]=e.current,e.current=t}var sn={},je=on(sn),Ge=on(!1),Cn=sn;function ir(e,t){var o=e.type.contextTypes;if(!o)return sn;var s=e.stateNode;if(s&&s.__reactInternalMemoizedUnmaskedChildContext===t)return s.__reactInternalMemoizedMaskedChildContext;var u={},c;for(c in o)u[c]=t[c];return s&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=u),u}function qe(e){return e=e.childContextTypes,e!=null}function ei(){ye(Ge),ye(je)}function Mc(e,t,o){if(je.current!==sn)throw Error(i(168));he(je,t),he(Ge,o)}function jc(e,t,o){var s=e.stateNode;if(t=t.childContextTypes,typeof s.getChildContext!="function")return o;s=s.getChildContext();for(var u in s)if(!(u in t))throw Error(i(108,fe(e)||"Unknown",u));return v({},o,s)}function ti(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sn,Cn=je.current,he(je,e),he(Ge,Ge.current),!0}function Fc(e,t,o){var s=e.stateNode;if(!s)throw Error(i(169));o?(e=jc(e,t,Cn),s.__reactInternalMemoizedMergedChildContext=e,ye(Ge),ye(je),he(je,e)):ye(Ge),he(Ge,o)}var zt=null,ni=!1,ul=!1;function zc(e){zt===null?zt=[e]:zt.push(e)}function hg(e){ni=!0,zc(e)}function ln(){if(!ul&&zt!==null){ul=!0;var e=0,t=ce;try{var o=zt;for(ce=1;e>=p,u-=p,Ut=1<<32-yt(t)+u|o<X?(Ne=Q,Q=null):Ne=Q.sibling;var le=R(w,Q,P[X],D);if(le===null){Q===null&&(Q=Ne);break}e&&Q&&le.alternate===null&&t(w,Q),S=c(le,S,X),K===null?b=le:K.sibling=le,K=le,Q=Ne}if(X===P.length)return o(w,Q),_e&&xn(w,X),b;if(Q===null){for(;XX?(Ne=Q,Q=null):Ne=Q.sibling;var gn=R(w,Q,le.value,D);if(gn===null){Q===null&&(Q=Ne);break}e&&Q&&gn.alternate===null&&t(w,Q),S=c(gn,S,X),K===null?b=gn:K.sibling=gn,K=gn,Q=Ne}if(le.done)return o(w,Q),_e&&xn(w,X),b;if(Q===null){for(;!le.done;X++,le=P.next())le=L(w,le.value,D),le!==null&&(S=c(le,S,X),K===null?b=le:K.sibling=le,K=le);return _e&&xn(w,X),b}for(Q=s(w,Q);!le.done;X++,le=P.next())le=z(Q,w,X,le.value,D),le!==null&&(e&&le.alternate!==null&&Q.delete(le.key===null?X:le.key),S=c(le,S,X),K===null?b=le:K.sibling=le,K=le);return e&&Q.forEach(function(Qg){return t(w,Qg)}),_e&&xn(w,X),b}function Pe(w,S,P,D){if(typeof P=="object"&&P!==null&&P.type===ee&&P.key===null&&(P=P.props.children),typeof P=="object"&&P!==null){switch(P.$$typeof){case W:e:{for(var b=P.key,K=S;K!==null;){if(K.key===b){if(b=P.type,b===ee){if(K.tag===7){o(w,K.sibling),S=u(K,P.props.children),S.return=w,w=S;break e}}else if(K.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===be&&Jc(b)===K.type){o(w,K.sibling),S=u(K,P.props),S.ref=Zr(w,K,P),S.return=w,w=S;break e}o(w,K);break}else t(w,K);K=K.sibling}P.type===ee?(S=Mn(P.props.children,w.mode,D,P.key),S.return=w,w=S):(D=Oi(P.type,P.key,P.props,null,w.mode,D),D.ref=Zr(w,S,P),D.return=w,w=D)}return p(w);case G:e:{for(K=P.key;S!==null;){if(S.key===K)if(S.tag===4&&S.stateNode.containerInfo===P.containerInfo&&S.stateNode.implementation===P.implementation){o(w,S.sibling),S=u(S,P.children||[]),S.return=w,w=S;break e}else{o(w,S);break}else t(w,S);S=S.sibling}S=iu(P,w.mode,D),S.return=w,w=S}return p(w);case be:return K=P._init,Pe(w,S,K(P._payload),D)}if(Rr(P))return B(w,S,P,D);if(Y(P))return H(w,S,P,D);fi(w,P)}return typeof P=="string"&&P!==""||typeof P=="number"?(P=""+P,S!==null&&S.tag===6?(o(w,S.sibling),S=u(S,P),S.return=w,w=S):(o(w,S),S=ou(P,w.mode,D),S.return=w,w=S),p(w)):o(w,S)}return Pe}var fr=Zc(!0),ef=Zc(!1),eo={},Nt=on(eo),to=on(eo),no=on(eo);function In(e){if(e===eo)throw Error(i(174));return e}function wl(e,t){switch(he(no,t),he(to,e),he(Nt,eo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Es(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Es(t,e)}ye(Nt),he(Nt,t)}function dr(){ye(Nt),ye(to),ye(no)}function tf(e){In(no.current);var t=In(Nt.current),o=Es(t,e.type);t!==o&&(he(to,e),he(Nt,o))}function kl(e){to.current===e&&(ye(Nt),ye(to))}var ve=on(0);function di(e){for(var t=e;t!==null;){if(t.tag===13){var o=t.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Pl=[];function Cl(){for(var e=0;eo?o:4,e(!0);var s=Tl.transition;Tl.transition={};try{e(!1),t()}finally{ce=o,Tl.transition=s}}function Sf(){return ft().memoizedState}function vg(e,t,o){var s=pn(e);if(o={lane:s,action:o,hasEagerState:!1,eagerState:null,next:null},Ef(e))wf(t,o);else if(o=bc(e,t,o,s),o!==null){var u=Ve();kt(o,e,s,u),kf(o,t,s)}}function Sg(e,t,o){var s=pn(e),u={lane:s,action:o,hasEagerState:!1,eagerState:null,next:null};if(Ef(e))wf(t,u);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var p=t.lastRenderedState,g=c(p,o);if(u.hasEagerState=!0,u.eagerState=g,_t(g,p)){var _=t.interleaved;_===null?(u.next=u,_l(t)):(u.next=_.next,_.next=u),t.interleaved=u;return}}catch{}finally{}o=bc(e,t,u,s),o!==null&&(u=Ve(),kt(o,e,s,u),kf(o,t,s))}}function Ef(e){var t=e.alternate;return e===Se||t!==null&&t===Se}function wf(e,t){ro=mi=!0;var o=e.pending;o===null?t.next=t:(t.next=o.next,o.next=t),e.pending=t}function kf(e,t,o){if((o&4194240)!==0){var s=t.lanes;s&=e.pendingLanes,o|=s,t.lanes=o,Ds(e,o)}}var yi={readContext:ct,useCallback:Fe,useContext:Fe,useEffect:Fe,useImperativeHandle:Fe,useInsertionEffect:Fe,useLayoutEffect:Fe,useMemo:Fe,useReducer:Fe,useRef:Fe,useState:Fe,useDebugValue:Fe,useDeferredValue:Fe,useTransition:Fe,useMutableSource:Fe,useSyncExternalStore:Fe,useId:Fe,unstable_isNewReconciler:!1},Eg={readContext:ct,useCallback:function(e,t){return Lt().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:df,useImperativeHandle:function(e,t,o){return o=o!=null?o.concat([e]):null,hi(4194308,4,hf.bind(null,t,e),o)},useLayoutEffect:function(e,t){return hi(4194308,4,e,t)},useInsertionEffect:function(e,t){return hi(4,2,e,t)},useMemo:function(e,t){var o=Lt();return t=t===void 0?null:t,e=e(),o.memoizedState=[e,t],e},useReducer:function(e,t,o){var s=Lt();return t=o!==void 0?o(t):t,s.memoizedState=s.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},s.queue=e,e=e.dispatch=vg.bind(null,Se,e),[s.memoizedState,e]},useRef:function(e){var t=Lt();return e={current:e},t.memoizedState=e},useState:cf,useDebugValue:Dl,useDeferredValue:function(e){return Lt().memoizedState=e},useTransition:function(){var e=cf(!1),t=e[0];return e=_g.bind(null,e[1]),Lt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,o){var s=Se,u=Lt();if(_e){if(o===void 0)throw Error(i(407));o=o()}else{if(o=t(),Oe===null)throw Error(i(349));(On&30)!==0||of(s,t,o)}u.memoizedState=o;var c={value:o,getSnapshot:t};return u.queue=c,df(lf.bind(null,s,c,e),[e]),s.flags|=2048,so(9,sf.bind(null,s,c,o,t),void 0,null),o},useId:function(){var e=Lt(),t=Oe.identifierPrefix;if(_e){var o=$t,s=Ut;o=(s&~(1<<32-yt(s)-1)).toString(32)+o,t=":"+t+"R"+o,o=oo++,0<\/script>",e=e.removeChild(e.firstChild)):typeof s.is=="string"?e=p.createElement(o,{is:s.is}):(e=p.createElement(o),o==="select"&&(p=e,s.multiple?p.multiple=!0:s.size&&(p.size=s.size))):e=p.createElementNS(e,o),e[Ot]=t,e[Xr]=s,$f(e,t,!1,!1),t.stateNode=e;e:{switch(p=ks(o,s),o){case"dialog":ge("cancel",e),ge("close",e),u=s;break;case"iframe":case"object":case"embed":ge("load",e),u=s;break;case"video":case"audio":for(u=0;ugr&&(t.flags|=128,s=!0,lo(c,!1),t.lanes=4194304)}else{if(!s)if(e=di(p),e!==null){if(t.flags|=128,s=!0,o=e.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),lo(c,!0),c.tail===null&&c.tailMode==="hidden"&&!p.alternate&&!_e)return ze(t),null}else 2*ke()-c.renderingStartTime>gr&&o!==1073741824&&(t.flags|=128,s=!0,lo(c,!1),t.lanes=4194304);c.isBackwards?(p.sibling=t.child,t.child=p):(o=c.last,o!==null?o.sibling=p:t.child=p,c.last=p)}return c.tail!==null?(t=c.tail,c.rendering=t,c.tail=t.sibling,c.renderingStartTime=ke(),t.sibling=null,o=ve.current,he(ve,s?o&1|2:o&1),t):(ze(t),null);case 22:case 23:return tu(),s=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==s&&(t.flags|=8192),s&&(t.mode&1)!==0?(rt&1073741824)!==0&&(ze(t),t.subtreeFlags&6&&(t.flags|=8192)):ze(t),null;case 24:return null;case 25:return null}throw Error(i(156,t.tag))}function Ig(e,t){switch(cl(t),t.tag){case 1:return qe(t.type)&&ei(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return dr(),ye(Ge),ye(je),Cl(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return kl(t),null;case 13:if(ye(ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));ur()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ye(ve),null;case 4:return dr(),null;case 10:return gl(t.type._context),null;case 22:case 23:return tu(),null;case 24:return null;default:return null}}var Si=!1,Ue=!1,Og=typeof WeakSet=="function"?WeakSet:Set,V=null;function mr(e,t){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(s){we(e,t,s)}else o.current=null}function Hl(e,t,o){try{o()}catch(s){we(e,t,s)}}var Hf=!1;function Ng(e,t){if(tl=$o,e=vc(),qs(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var s=o.getSelection&&o.getSelection();if(s&&s.rangeCount!==0){o=s.anchorNode;var u=s.anchorOffset,c=s.focusNode;s=s.focusOffset;try{o.nodeType,c.nodeType}catch{o=null;break e}var p=0,g=-1,_=-1,T=0,O=0,L=e,R=null;t:for(;;){for(var z;L!==o||u!==0&&L.nodeType!==3||(g=p+u),L!==c||s!==0&&L.nodeType!==3||(_=p+s),L.nodeType===3&&(p+=L.nodeValue.length),(z=L.firstChild)!==null;)R=L,L=z;for(;;){if(L===e)break t;if(R===o&&++T===u&&(g=p),R===c&&++O===s&&(_=p),(z=L.nextSibling)!==null)break;L=R,R=L.parentNode}L=z}o=g===-1||_===-1?null:{start:g,end:_}}else o=null}o=o||{start:0,end:0}}else o=null;for(nl={focusedElem:e,selectionRange:o},$o=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var B=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(B!==null){var H=B.memoizedProps,Pe=B.memoizedState,w=t.stateNode,S=w.getSnapshotBeforeUpdate(t.elementType===t.type?H:St(t.type,H),Pe);w.__reactInternalSnapshotBeforeUpdate=S}break;case 3:var P=t.stateNode.containerInfo;P.nodeType===1?P.textContent="":P.nodeType===9&&P.documentElement&&P.removeChild(P.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(D){we(t,t.return,D)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return B=Hf,Hf=!1,B}function uo(e,t,o){var s=t.updateQueue;if(s=s!==null?s.lastEffect:null,s!==null){var u=s=s.next;do{if((u.tag&e)===e){var c=u.destroy;u.destroy=void 0,c!==void 0&&Hl(t,o,c)}u=u.next}while(u!==s)}}function Ei(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var o=t=t.next;do{if((o.tag&e)===e){var s=o.create;o.destroy=s()}o=o.next}while(o!==t)}}function bl(e){var t=e.ref;if(t!==null){var o=e.stateNode;switch(e.tag){case 5:e=o;break;default:e=o}typeof t=="function"?t(e):t.current=e}}function bf(e){var t=e.alternate;t!==null&&(e.alternate=null,bf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ot],delete t[Xr],delete t[sl],delete t[pg],delete t[mg])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Wf(e){return e.tag===5||e.tag===3||e.tag===4}function Gf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Wf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Wl(e,t,o){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?o.nodeType===8?o.parentNode.insertBefore(e,t):o.insertBefore(e,t):(o.nodeType===8?(t=o.parentNode,t.insertBefore(e,o)):(t=o,t.appendChild(e)),o=o._reactRootContainer,o!=null||t.onclick!==null||(t.onclick=Jo));else if(s!==4&&(e=e.child,e!==null))for(Wl(e,t,o),e=e.sibling;e!==null;)Wl(e,t,o),e=e.sibling}function Gl(e,t,o){var s=e.tag;if(s===5||s===6)e=e.stateNode,t?o.insertBefore(e,t):o.appendChild(e);else if(s!==4&&(e=e.child,e!==null))for(Gl(e,t,o),e=e.sibling;e!==null;)Gl(e,t,o),e=e.sibling}var Le=null,Et=!1;function cn(e,t,o){for(o=o.child;o!==null;)qf(e,t,o),o=o.sibling}function qf(e,t,o){if(It&&typeof It.onCommitFiberUnmount=="function")try{It.onCommitFiberUnmount(Ao,o)}catch{}switch(o.tag){case 5:Ue||mr(o,t);case 6:var s=Le,u=Et;Le=null,cn(e,t,o),Le=s,Et=u,Le!==null&&(Et?(e=Le,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):Le.removeChild(o.stateNode));break;case 18:Le!==null&&(Et?(e=Le,o=o.stateNode,e.nodeType===8?il(e.parentNode,o):e.nodeType===1&&il(e,o),$r(e)):il(Le,o.stateNode));break;case 4:s=Le,u=Et,Le=o.stateNode.containerInfo,Et=!0,cn(e,t,o),Le=s,Et=u;break;case 0:case 11:case 14:case 15:if(!Ue&&(s=o.updateQueue,s!==null&&(s=s.lastEffect,s!==null))){u=s=s.next;do{var c=u,p=c.destroy;c=c.tag,p!==void 0&&((c&2)!==0||(c&4)!==0)&&Hl(o,t,p),u=u.next}while(u!==s)}cn(e,t,o);break;case 1:if(!Ue&&(mr(o,t),s=o.stateNode,typeof s.componentWillUnmount=="function"))try{s.props=o.memoizedProps,s.state=o.memoizedState,s.componentWillUnmount()}catch(g){we(o,t,g)}cn(e,t,o);break;case 21:cn(e,t,o);break;case 22:o.mode&1?(Ue=(s=Ue)||o.memoizedState!==null,cn(e,t,o),Ue=s):cn(e,t,o);break;default:cn(e,t,o)}}function Kf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new Og),t.forEach(function(s){var u=$g.bind(null,e,s);o.has(s)||(o.add(s),s.then(u,u))})}}function wt(e,t){var o=t.deletions;if(o!==null)for(var s=0;su&&(u=p),s&=~c}if(s=u,s=ke()-s,s=(120>s?120:480>s?480:1080>s?1080:1920>s?1920:3e3>s?3e3:4320>s?4320:1960*Dg(s/1960))-s,10e?16:e,dn===null)var s=!1;else{if(e=dn,dn=null,Ti=0,(se&6)!==0)throw Error(i(331));var u=se;for(se|=4,V=e.current;V!==null;){var c=V,p=c.child;if((V.flags&16)!==0){var g=c.deletions;if(g!==null){for(var _=0;_ke()-Ql?Dn(e,0):Kl|=o),Ye(e,t)}function ld(e,t){t===0&&((e.mode&1)===0?t=1:(t=jo,jo<<=1,(jo&130023424)===0&&(jo=4194304)));var o=Ve();e=Vt(e,t),e!==null&&(Mr(e,t,o),Ye(e,o))}function Ug(e){var t=e.memoizedState,o=0;t!==null&&(o=t.retryLane),ld(e,o)}function $g(e,t){var o=0;switch(e.tag){case 13:var s=e.stateNode,u=e.memoizedState;u!==null&&(o=u.retryLane);break;case 19:s=e.stateNode;break;default:throw Error(i(314))}s!==null&&s.delete(t),ld(e,o)}var ud;ud=function(e,t,o){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ge.current)Ke=!0;else{if((e.lanes&o)===0&&(t.flags&128)===0)return Ke=!1,xg(e,t,o);Ke=(e.flags&131072)!==0}else Ke=!1,_e&&(t.flags&1048576)!==0&&Uc(t,oi,t.index);switch(t.lanes=0,t.tag){case 2:var s=t.type;vi(e,t),e=t.pendingProps;var u=ir(t,je.current);cr(t,o),u=Rl(null,t,s,e,u,o);var c=Il();return t.flags|=1,typeof u=="object"&&u!==null&&typeof u.render=="function"&&u.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,qe(s)?(c=!0,ti(t)):c=!1,t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,vl(t),u.updater=ci,t.stateNode=u,u._reactInternals=t,El(t,s,e,o),t=Fl(null,t,s,!0,c,o)):(t.tag=0,_e&&c&&al(t),$e(null,t,u,o),t=t.child),t;case 16:s=t.elementType;e:{switch(vi(e,t),e=t.pendingProps,u=s._init,s=u(s._payload),t.type=s,u=t.tag=Bg(s),e=St(s,e),u){case 0:t=jl(null,t,s,e,o);break e;case 1:t=Af(null,t,s,e,o);break e;case 11:t=If(null,t,s,e,o);break e;case 14:t=Of(null,t,s,St(s.type,e),o);break e}throw Error(i(306,s,""))}return t;case 0:return s=t.type,u=t.pendingProps,u=t.elementType===s?u:St(s,u),jl(e,t,s,u,o);case 1:return s=t.type,u=t.pendingProps,u=t.elementType===s?u:St(s,u),Af(e,t,s,u,o);case 3:e:{if(Mf(t),e===null)throw Error(i(387));s=t.pendingProps,c=t.memoizedState,u=c.element,Wc(e,t),ai(t,s,null,o);var p=t.memoizedState;if(s=p.element,c.isDehydrated)if(c={element:s,isDehydrated:!1,cache:p.cache,pendingSuspenseBoundaries:p.pendingSuspenseBoundaries,transitions:p.transitions},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){u=pr(Error(i(423)),t),t=jf(e,t,s,o,u);break e}else if(s!==u){u=pr(Error(i(424)),t),t=jf(e,t,s,o,u);break e}else for(nt=rn(t.stateNode.containerInfo.firstChild),tt=t,_e=!0,vt=null,o=ef(t,null,s,o),t.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(ur(),s===u){t=Ht(e,t,o);break e}$e(e,t,s,o)}t=t.child}return t;case 5:return tf(t),e===null&&dl(t),s=t.type,u=t.pendingProps,c=e!==null?e.memoizedProps:null,p=u.children,rl(s,u)?p=null:c!==null&&rl(s,c)&&(t.flags|=32),Df(e,t),$e(e,t,p,o),t.child;case 6:return e===null&&dl(t),null;case 13:return Ff(e,t,o);case 4:return wl(t,t.stateNode.containerInfo),s=t.pendingProps,e===null?t.child=fr(t,null,s,o):$e(e,t,s,o),t.child;case 11:return s=t.type,u=t.pendingProps,u=t.elementType===s?u:St(s,u),If(e,t,s,u,o);case 7:return $e(e,t,t.pendingProps,o),t.child;case 8:return $e(e,t,t.pendingProps.children,o),t.child;case 12:return $e(e,t,t.pendingProps.children,o),t.child;case 10:e:{if(s=t.type._context,u=t.pendingProps,c=t.memoizedProps,p=u.value,he(si,s._currentValue),s._currentValue=p,c!==null)if(_t(c.value,p)){if(c.children===u.children&&!Ge.current){t=Ht(e,t,o);break e}}else for(c=t.child,c!==null&&(c.return=t);c!==null;){var g=c.dependencies;if(g!==null){p=c.child;for(var _=g.firstContext;_!==null;){if(_.context===s){if(c.tag===1){_=Bt(-1,o&-o),_.tag=2;var T=c.updateQueue;if(T!==null){T=T.shared;var O=T.pending;O===null?_.next=_:(_.next=O.next,O.next=_),T.pending=_}}c.lanes|=o,_=c.alternate,_!==null&&(_.lanes|=o),yl(c.return,o,t),g.lanes|=o;break}_=_.next}}else if(c.tag===10)p=c.type===t.type?null:c.child;else if(c.tag===18){if(p=c.return,p===null)throw Error(i(341));p.lanes|=o,g=p.alternate,g!==null&&(g.lanes|=o),yl(p,o,t),p=c.sibling}else p=c.child;if(p!==null)p.return=c;else for(p=c;p!==null;){if(p===t){p=null;break}if(c=p.sibling,c!==null){c.return=p.return,p=c;break}p=p.return}c=p}$e(e,t,u.children,o),t=t.child}return t;case 9:return u=t.type,s=t.pendingProps.children,cr(t,o),u=ct(u),s=s(u),t.flags|=1,$e(e,t,s,o),t.child;case 14:return s=t.type,u=St(s,t.pendingProps),u=St(s.type,u),Of(e,t,s,u,o);case 15:return Nf(e,t,t.type,t.pendingProps,o);case 17:return s=t.type,u=t.pendingProps,u=t.elementType===s?u:St(s,u),vi(e,t),t.tag=1,qe(s)?(e=!0,ti(t)):e=!1,cr(t,o),Yc(t,s,u),El(t,s,u,o),Fl(null,t,s,!0,e,o);case 19:return Uf(e,t,o);case 22:return Lf(e,t,o)}throw Error(i(156,t.tag))};function ad(e,t){return $a(e,t)}function Vg(e,t,o,s){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function pt(e,t,o,s){return new Vg(e,t,o,s)}function ru(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Bg(e){if(typeof e=="function")return ru(e)?1:0;if(e!=null){if(e=e.$$typeof,e===xt)return 11;if(e===Rt)return 14}return 2}function hn(e,t){var o=e.alternate;return o===null?(o=pt(e.tag,t,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=t,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&14680064,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,t=e.dependencies,o.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function Oi(e,t,o,s,u,c){var p=2;if(s=e,typeof e=="function")ru(e)&&(p=1);else if(typeof e=="string")p=5;else e:switch(e){case ee:return Mn(o.children,u,c,t);case pe:p=8,u|=8;break;case Tt:return e=pt(12,o,t,u|2),e.elementType=Tt,e.lanes=c,e;case Ze:return e=pt(13,o,t,u),e.elementType=Ze,e.lanes=c,e;case gt:return e=pt(19,o,t,u),e.elementType=gt,e.lanes=c,e;case Ee:return Ni(o,u,c,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ht:p=10;break e;case wn:p=9;break e;case xt:p=11;break e;case Rt:p=14;break e;case be:p=16,s=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return t=pt(p,o,t,u),t.elementType=e,t.type=s,t.lanes=c,t}function Mn(e,t,o,s){return e=pt(7,e,s,t),e.lanes=o,e}function Ni(e,t,o,s){return e=pt(22,e,s,t),e.elementType=Ee,e.lanes=o,e.stateNode={isHidden:!1},e}function ou(e,t,o){return e=pt(6,e,null,t),e.lanes=o,e}function iu(e,t,o){return t=pt(4,e.children!==null?e.children:[],e.key,t),t.lanes=o,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hg(e,t,o,s,u){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ls(0),this.expirationTimes=Ls(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ls(0),this.identifierPrefix=s,this.onRecoverableError=u,this.mutableSourceEagerHydrationData=null}function su(e,t,o,s,u,c,p,g,_){return e=new Hg(e,t,o,g,_),t===1?(t=1,c===!0&&(t|=8)):t=0,c=pt(3,null,null,t),e.current=c,c.stateNode=e,c.memoizedState={element:s,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},vl(c),e}function bg(e,t,o){var s=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Su.exports=zS(),Su.exports}var hp;function $S(){if(hp)return bi;hp=1;var n=US();return bi.createRoot=n.createRoot,bi.hydrateRoot=n.hydrateRoot,bi}var VS=$S();const BS=Up(VS),HS="modulepreload",bS=function(n){return"/"+n},gp={},oe=function(r,i,l){let a=Promise.resolve();if(i&&i.length>0){let h=function(y){return Promise.all(y.map(E=>Promise.resolve(E).then(k=>({status:"fulfilled",value:k}),k=>({status:"rejected",reason:k}))))};document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),m=d?.nonce||d?.getAttribute("nonce");a=h(i.map(y=>{if(y=bS(y),y in gp)return;gp[y]=!0;const E=y.endsWith(".css"),k=E?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${y}"]${k}`))return;const C=document.createElement("link");if(C.rel=E?"stylesheet":HS,E||(C.as="script"),C.crossOrigin="",C.href=y,m&&C.setAttribute("nonce",m),document.head.appendChild(C),E)return new Promise((x,M)=>{C.addEventListener("load",x),C.addEventListener("error",()=>M(new Error(`Unable to preload CSS for ${y}`)))})}))}function f(d){const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=d,window.dispatchEvent(m),!m.defaultPrevented)throw d}return a.then(d=>{for(const m of d||[])m.status==="rejected"&&f(m.reason);return r().catch(f)})};var ku={exports:{}},Pu={};/** * @license React * use-sync-external-store-with-selector.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var yp;function WS(){if(yp)return Pu;yp=1;var n=is();function r(h,y){return h===y&&(h!==0||1/h===1/y)||h!==h&&y!==y}var i=typeof Object.is=="function"?Object.is:r,l=n.useSyncExternalStore,a=n.useRef,f=n.useEffect,d=n.useMemo,m=n.useDebugValue;return Pu.useSyncExternalStoreWithSelector=function(h,y,E,k,C){var x=a(null);if(x.current===null){var M={hasValue:!1,value:null};x.current=M}else M=x.current;x=d(function(){function N(W){if(!Z){if(Z=!0,$=W,W=k(W),C!==void 0&&M.hasValue){var G=M.value;if(C(G,W))return A=G}return A=W}if(G=A,i($,W))return G;var ee=k(W);return C!==void 0&&C(G,ee)?G:($=W,A=ee)}var Z=!1,$,A,j=E===void 0?null:E;return[function(){return N(y())},j===null?void 0:function(){return N(j())}]},[y,E,k,C]);var U=l(h,x[0],x[1]);return f(function(){M.hasValue=!0,M.value=U},[U]),m(U),U},Pu}var _p;function GS(){return _p||(_p=1,ku.exports=WS()),ku.exports}var qS=GS(),it=AS,vp=Symbol.for("react-redux-context"),Sp=typeof globalThis<"u"?globalThis:{};function KS(){if(!it.createContext)return{};const n=Sp[vp]??(Sp[vp]=new Map);let r=n.get(it.createContext);return r||(r=it.createContext(null),n.set(it.createContext,r)),r}var vn=KS(),QS=()=>{throw new Error("uSES not initialized!")};function da(n=vn){return function(){return it.useContext(n)}}var Tm=da(),xm=QS,YS=n=>{xm=n},XS=(n,r)=>n===r;function JS(n=vn){const r=n===vn?Tm:da(n),i=(l,a={})=>{const{equalityFn:f=XS,devModeChecks:d={}}=typeof a=="function"?{equalityFn:a}:a,{store:m,subscription:h,getServerState:y,stabilityCheck:E,identityFunctionCheck:k}=r();it.useRef(!0);const C=it.useCallback({[l.name](M){return l(M)}}[l.name],[l,E,d.stabilityCheck]),x=xm(h.addNestedSub,m.getState,y||m.getState,C,f);return it.useDebugValue(x),x};return Object.assign(i,{withTypes:()=>i}),i}var go=JS();function ZS(n){n()}function eE(){let n=null,r=null;return{clear(){n=null,r=null},notify(){ZS(()=>{let i=n;for(;i;)i.callback(),i=i.next})},get(){const i=[];let l=n;for(;l;)i.push(l),l=l.next;return i},subscribe(i){let l=!0;const a=r={callback:i,next:null,prev:r};return a.prev?a.prev.next=a:n=a,function(){!l||n===null||(l=!1,a.next?a.next.prev=a.prev:r=a.prev,a.prev?a.prev.next=a.next:n=a.next)}}}}var Ep={notify(){},get:()=>[]};function tE(n,r){let i,l=Ep,a=0,f=!1;function d(U){E();const N=l.subscribe(U);let Z=!1;return()=>{Z||(Z=!0,N(),k())}}function m(){l.notify()}function h(){M.onStateChange&&M.onStateChange()}function y(){return f}function E(){a++,i||(i=n.subscribe(h),l=eE())}function k(){a--,i&&a===0&&(i(),i=void 0,l.clear(),l=Ep)}function C(){f||(f=!0,E())}function x(){f&&(f=!1,k())}const M={addNestedSub:d,notifyNestedSubs:m,handleChangeWrapper:h,isSubscribed:y,trySubscribe:C,tryUnsubscribe:x,getListeners:()=>l};return M}var nE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",rE=nE?it.useLayoutEffect:it.useEffect;function oE({store:n,context:r,children:i,serverState:l,stabilityCheck:a="once",identityFunctionCheck:f="once"}){const d=it.useMemo(()=>{const y=tE(n);return{store:n,subscription:y,getServerState:l?()=>l:void 0,stabilityCheck:a,identityFunctionCheck:f}},[n,l,a,f]),m=it.useMemo(()=>n.getState(),[n]);rE(()=>{const{subscription:y}=d;return y.onStateChange=y.notifyNestedSubs,y.trySubscribe(),m!==n.getState()&&y.notifyNestedSubs(),()=>{y.tryUnsubscribe(),y.onStateChange=void 0}},[d,m]);const h=r||vn;return it.createElement(h.Provider,{value:d},i)}var iE=oE;function Rm(n=vn){const r=n===vn?Tm:da(n),i=()=>{const{store:l}=r();return l};return Object.assign(i,{withTypes:()=>i}),i}var sE=Rm();function lE(n=vn){const r=n===vn?sE:Rm(n),i=()=>r().dispatch;return Object.assign(i,{withTypes:()=>i}),i}var pa=lE();YS(qS.useSyncExternalStoreWithSelector);const s1=n=>n.variants.find(i=>i.available===!0)||n.variants[0],l1=(n,r,i,l)=>{const a=n.variants.map(y=>y.available),f=n.variants.map(y=>y.option1),d=n.variants.map(y=>y.option2),m=n.variants.map(y=>y.option3);let h=!1;return f.map((y,E)=>{i.position===1?f[E]===l&&a[E]&&(h=!0):i.position===2?y===r.option1&&d[E]===l&&a[E]&&(h=!0):i.position===3&&y===r.option1&&m[E]===l&&a[E]&&(h=!0)}),h},u1=(n,r,i,l)=>{const a=n.variants;let f;if(i===1){for(let d=0;d{const i={...{languageCodeOnly:!1},...n},l=navigator.languages===void 0?[navigator.language]:navigator.languages;if(l)return l.map(a=>{const f=a.trim();return i.languageCodeOnly?f.split(/-|_/)[0]:f})},uE=()=>(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i))!==null,jt=(n,r={})=>{window.parent.postMessage({event:n,data:r},"*")},c1=()=>{jt("storista:get_cart")},wp=(n,r,i={})=>{jt("storista:event",{event_name:n,widget_id:r.id,team_id:r.team_id,params:i})},f1=(n,r)=>{jt("storista:get_products",{post_id:n,products:r})},Im=async(n,r,i)=>{const{storefront_key:l}=n.team,a=new URLSearchParams(window.location.search).get("shop");if(!l||!a)throw new Error("Missing storefront_key or shop parameter");const f=await fetch(`https://${a}/api/2025-07/graphql.json`,{method:"POST",headers:{"Content-Type":"application/json","X-Shopify-Storefront-Access-Token":l},body:JSON.stringify({query:r,variables:i})});if(!f.ok)throw new Error(`HTTP error! status: ${f.status}`);const d=await f.json();if(d.errors)throw new Error(`GraphQL errors: ${JSON.stringify(d.errors)}`);return d},Om=n=>{const r=n.sellingPlanGroups?n.sellingPlanGroups.edges.map(({node:C})=>({name:C.name,app_name:C.appName,selling_plans:C.sellingPlans.edges.map(({node:x})=>{const M=U=>{const N={order_count:U.orderCount};return U.adjustmentValue.__typename==="SellingPlanFixedAmountPriceAdjustment"?(N.adjustment_type="fixed_amount",N.adjustment_amount=Math.round(parseFloat(U.adjustmentValue.adjustmentAmount.amount)*100)):U.adjustmentValue.__typename==="SellingPlanFixedPriceAdjustment"?(N.adjustment_type="price",N.adjustment_price=Math.round(parseFloat(U.adjustmentValue.price.amount)*100)):U.adjustmentValue.__typename==="SellingPlanPercentagePriceAdjustment"&&(N.adjustment_type="percentage",N.adjustment_percentage=U.adjustmentValue.adjustmentPercentage),N};return{id:parseInt(x.id.split("/").pop()),name:x.name,description:x.description,recurring_deliveries:x.recurringDeliveries,price_adjustments:x.priceAdjustments.map(M),billing_policy:x.billingPolicy?{interval:x.billingPolicy.interval,interval_count:x.billingPolicy.intervalCount}:null,delivery_policy:x.deliveryPolicy?{interval:x.deliveryPolicy.interval,interval_count:x.deliveryPolicy.intervalCount}:null}})})):[],i=n.variants?.edges.map(({node:C},x)=>{const M=C.selectedOptions.reduce((N,Z,$)=>(N[`option${$+1}`]=Z.value,N),{}),U=C.sellingPlanAllocations?C.sellingPlanAllocations.edges.map(({node:N})=>({selling_plan_id:parseInt(N.sellingPlan.id.split("/").pop()),price_adjustments:{compare_at_price:N.priceAdjustments.compareAtPrice?Math.round(parseFloat(N.priceAdjustments.compareAtPrice.amount)*100):null,per_delivery_price:N.priceAdjustments.perDeliveryPrice?Math.round(parseFloat(N.priceAdjustments.perDeliveryPrice.amount)*100):null,price:N.priceAdjustments.price?Math.round(parseFloat(N.priceAdjustments.price.amount)*100):null}})):[];return{id:parseInt(C.id.split("/").pop()),product_id:parseInt(n.id.split("/").pop()),title:C.title,price:Math.round(parseFloat(C.price.amount)*100),available:C.availableForSale,selling_plan_allocations:U,...M,featured_media:C.image?{id:parseInt(C.image.id.split("/").pop()),position:x+1,src:C.image.url,alt:C.image.altText,width:C.image.width,height:C.image.height}:null}}),l=n.options?.map((C,x)=>({id:parseInt(C.id.split("/").pop()),name:C.name,position:x+1,values:C.optionValues.map(M=>M.name),optionValues:C.optionValues})),a=n.media?.edges.filter(({node:C})=>C.mediaContentType==="IMAGE").map(({node:C},x)=>C.image?{id:parseInt(C.id.split("/").pop()),position:x+1,media_type:"image",src:C.image.url,alt:C.image.altText,width:C.image.width,height:C.image.height,aspect_ratio:C.image.width/C.image.height}:null).filter(Boolean),f=n.priceRange?Math.round(parseFloat(n.priceRange.minVariantPrice.amount)*100):0,d=n.priceRange?Math.round(parseFloat(n.priceRange.maxVariantPrice.amount)*100):0,m=d!==f,h=n.compareAtPriceRange?Math.round(parseFloat(n.compareAtPriceRange.minVariantPrice.amount)*100):0,y=n.compareAtPriceRange?Math.round(parseFloat(n.compareAtPriceRange.maxVariantPrice.amount)*100):0,E=y!==h;let k=null;return n.rating&&(k=JSON.parse(n.rating.value)),{id:parseInt(n.id.split("/").pop()),title:n.title,handle:n.handle,description:n.descriptionHtml,available:n.availableForSale,featured_image:n.featuredImage?n.featuredImage.url:null,compare_at_price_varies:E,compare_at_price_max:y,compare_at_price_min:h,currency:n.priceRange.minVariantPrice.currencyCode,price:f,price_min:f,price_max:d,price_varies:m,selling_plan_groups:r,variants:i,options:l,media:a,rating:k}},d1=async(n,r)=>{const i=r.map(h=>h.gid),l=new URLSearchParams(window.location.search),f=n.team.storefront_key&&n.team.integrations?.includes("ratings")?`rating: metafield(namespace: "reviews", key: "rating") { value }`:"",d=` query getProducts($ids: [ID!]!) @inContext(country: ${l.get("country")} language: ${l.get("lng").toUpperCase()}) { nodes(ids: $ids) { ... on Product { id title handle descriptionHtml availableForSale compareAtPriceRange { minVariantPrice { amount currencyCode } maxVariantPrice { amount currencyCode } } priceRange { minVariantPrice { amount currencyCode } maxVariantPrice { amount currencyCode } } ${f} featuredImage { id url altText width height } options { id name values optionValues { name swatch { color image { previewImage { url } } } } } sellingPlanGroups(first: 10) { edges { node { name sellingPlans(first: 20) { edges { node { id name description priceAdjustments { adjustmentValue { ... on SellingPlanFixedAmountPriceAdjustment { adjustmentAmount { amount currencyCode } } ... on SellingPlanFixedPriceAdjustment { price { amount currencyCode } } ... on SellingPlanPercentagePriceAdjustment { adjustmentPercentage } } orderCount } recurringDeliveries billingPolicy { ... on SellingPlanRecurringBillingPolicy { interval intervalCount } } deliveryPolicy { ... on SellingPlanRecurringDeliveryPolicy { interval intervalCount } } } } } } } } variants(first: 50) { edges { node { id title availableForSale price { amount currencyCode } selectedOptions { name value } image { id url altText width height } sellingPlanAllocations(first: 20) { edges { node { priceAdjustments { compareAtPrice { amount currencyCode } perDeliveryPrice { amount currencyCode } price { amount currencyCode } } sellingPlan { id } } } } } } } media(first: 20) { edges { node { mediaContentType ... on MediaImage { id image { id url altText width height } } } } } } } } `,m={ids:i.map(h=>`${h}`)};try{return(await Im(n,d,m)).data.nodes.filter(E=>E&&E.id).map(Om)}catch(h){throw console.error("Error fetching products from Storefront API:",h),h}},p1=n=>{jt("storista:get_recommendations",{product_id:n})},m1=async(n,r)=>{const i=new URLSearchParams(window.location.search),l=` query getProductRecommendations($productId: ID!) @inContext(country: ${i.get("country")} language: ${i.get("lng").toUpperCase()}) { productRecommendations(productId: $productId) { id title handle description availableForSale compareAtPriceRange { minVariantPrice { amount currencyCode } maxVariantPrice { amount currencyCode } } priceRange { minVariantPrice { amount currencyCode } maxVariantPrice { amount currencyCode } } featuredImage { id url altText width height } } } `,a={productId:`gid://shopify/Product/${r}`};try{return{products:(await Im(n,l,a)).data.productRecommendations.filter(m=>m&&m.id).map(Om)}}catch(f){throw console.error("Error fetching recommendations from Storefront API:",f),f}},h1=()=>{jt("storista:redirect_to_cart")},g1=(n,r)=>{jt("storista:redirect_to_url",{url:n,isBlankOpen:r})},y1=(n,r)=>{jt("storista:session_storage",{key:n,value:r})},_1=(n,r,i)=>{jt("storista:add_to_cart",{widget_id:n,variant_id:r,selling_plan:i})},aE=()=>{jt("storista:ready")};function Ae(n){return`Minified Redux error #${n}; visit https://redux.js.org/Errors?code=${n} for the full message or use the non-minified dev environment for full errors. `}var cE=typeof Symbol=="function"&&Symbol.observable||"@@observable",kp=cE,Cu=()=>Math.random().toString(36).substring(7).split("").join("."),fE={INIT:`@@redux/INIT${Cu()}`,REPLACE:`@@redux/REPLACE${Cu()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Cu()}`},es=fE;function ma(n){if(typeof n!="object"||n===null)return!1;let r=n;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(n)===r||Object.getPrototypeOf(n)===null}function Nm(n,r,i){if(typeof n!="function")throw new Error(Ae(2));if(typeof r=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(Ae(0));if(typeof r=="function"&&typeof i>"u"&&(i=r,r=void 0),typeof i<"u"){if(typeof i!="function")throw new Error(Ae(1));return i(Nm)(n,r)}let l=n,a=r,f=new Map,d=f,m=0,h=!1;function y(){d===f&&(d=new Map,f.forEach((N,Z)=>{d.set(Z,N)}))}function E(){if(h)throw new Error(Ae(3));return a}function k(N){if(typeof N!="function")throw new Error(Ae(4));if(h)throw new Error(Ae(5));let Z=!0;y();const $=m++;return d.set($,N),function(){if(Z){if(h)throw new Error(Ae(6));Z=!1,y(),d.delete($),f=null}}}function C(N){if(!ma(N))throw new Error(Ae(7));if(typeof N.type>"u")throw new Error(Ae(8));if(typeof N.type!="string")throw new Error(Ae(17));if(h)throw new Error(Ae(9));try{h=!0,a=l(a,N)}finally{h=!1}return(f=d).forEach($=>{$()}),N}function x(N){if(typeof N!="function")throw new Error(Ae(10));l=N,C({type:es.REPLACE})}function M(){const N=k;return{subscribe(Z){if(typeof Z!="object"||Z===null)throw new Error(Ae(11));function $(){const j=Z;j.next&&j.next(E())}return $(),{unsubscribe:N($)}},[kp](){return this}}}return C({type:es.INIT}),{dispatch:C,subscribe:k,getState:E,replaceReducer:x,[kp]:M}}function dE(n){Object.keys(n).forEach(r=>{const i=n[r];if(typeof i(void 0,{type:es.INIT})>"u")throw new Error(Ae(12));if(typeof i(void 0,{type:es.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ae(13))})}function pE(n){const r=Object.keys(n),i={};for(let f=0;f"u")throw m&&m.type,new Error(Ae(14));y[k]=M,h=h||M!==x}return h=h||l.length!==Object.keys(d).length,h?y:d}}function ts(...n){return n.length===0?r=>r:n.length===1?n[0]:n.reduce((r,i)=>(...l)=>r(i(...l)))}function mE(...n){return r=>(i,l)=>{const a=r(i,l);let f=()=>{throw new Error(Ae(15))};const d={getState:a.getState,dispatch:(h,...y)=>f(h,...y)},m=n.map(h=>h(d));return f=ts(...m)(a.dispatch),{...a,dispatch:f}}}function hE(n){return ma(n)&&"type"in n&&typeof n.type=="string"}var Lm=Symbol.for("immer-nothing"),Pp=Symbol.for("immer-draftable"),st=Symbol.for("immer-state");function Pt(n,...r){throw new Error(`[Immer] minified error nr: ${n}. Full error at: https://bit.ly/3cXEKWf`)}var kr=Object.getPrototypeOf;function Sn(n){return!!n&&!!n[st]}function Yt(n){return n?Dm(n)||Array.isArray(n)||!!n[Pp]||!!n.constructor?.[Pp]||ms(n)||hs(n):!1}var gE=Object.prototype.constructor.toString();function Dm(n){if(!n||typeof n!="object")return!1;const r=kr(n);if(r===null)return!0;const i=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return i===Object?!0:typeof i=="function"&&Function.toString.call(i)===gE}function ns(n,r){ps(n)===0?Reflect.ownKeys(n).forEach(i=>{r(i,n[i],n)}):n.forEach((i,l)=>r(l,i,n))}function ps(n){const r=n[st];return r?r.type_:Array.isArray(n)?1:ms(n)?2:hs(n)?3:0}function bu(n,r){return ps(n)===2?n.has(r):Object.prototype.hasOwnProperty.call(n,r)}function Am(n,r,i){const l=ps(n);l===2?n.set(r,i):l===3?n.add(i):n[r]=i}function yE(n,r){return n===r?n!==0||1/n===1/r:n!==n&&r!==r}function ms(n){return n instanceof Map}function hs(n){return n instanceof Set}function jn(n){return n.copy_||n.base_}function Wu(n,r){if(ms(n))return new Map(n);if(hs(n))return new Set(n);if(Array.isArray(n))return Array.prototype.slice.call(n);if(!r&&Dm(n))return kr(n)?{...n}:Object.assign(Object.create(null),n);const i=Object.getOwnPropertyDescriptors(n);delete i[st];let l=Reflect.ownKeys(i);for(let a=0;a1&&(n.set=n.add=n.clear=n.delete=_E),Object.freeze(n),r&&Object.entries(n).forEach(([i,l])=>ha(l,!0))),n}function _E(){Pt(2)}function gs(n){return Object.isFrozen(n)}var vE={};function Hn(n){const r=vE[n];return r||Pt(0,n),r}var Eo;function Mm(){return Eo}function SE(n,r){return{drafts_:[],parent_:n,immer_:r,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Cp(n,r){r&&(Hn("Patches"),n.patches_=[],n.inversePatches_=[],n.patchListener_=r)}function Gu(n){qu(n),n.drafts_.forEach(EE),n.drafts_=null}function qu(n){n===Eo&&(Eo=n.parent_)}function Tp(n){return Eo=SE(Eo,n)}function EE(n){const r=n[st];r.type_===0||r.type_===1?r.revoke_():r.revoked_=!0}function xp(n,r){r.unfinalizedDrafts_=r.drafts_.length;const i=r.drafts_[0];return n!==void 0&&n!==i?(i[st].modified_&&(Gu(r),Pt(4)),Yt(n)&&(n=rs(r,n),r.parent_||os(r,n)),r.patches_&&Hn("Patches").generateReplacementPatches_(i[st].base_,n,r.patches_,r.inversePatches_)):n=rs(r,i,[]),Gu(r),r.patches_&&r.patchListener_(r.patches_,r.inversePatches_),n!==Lm?n:void 0}function rs(n,r,i){if(gs(r))return r;const l=r[st];if(!l)return ns(r,(a,f)=>Rp(n,l,r,a,f,i)),r;if(l.scope_!==n)return r;if(!l.modified_)return os(n,l.base_,!0),l.base_;if(!l.finalized_){l.finalized_=!0,l.scope_.unfinalizedDrafts_--;const a=l.copy_;let f=a,d=!1;l.type_===3&&(f=new Set(a),a.clear(),d=!0),ns(f,(m,h)=>Rp(n,l,a,m,h,i,d)),os(n,a,!1),i&&n.patches_&&Hn("Patches").generatePatches_(l,i,n.patches_,n.inversePatches_)}return l.copy_}function Rp(n,r,i,l,a,f,d){if(Sn(a)){const m=f&&r&&r.type_!==3&&!bu(r.assigned_,l)?f.concat(l):void 0,h=rs(n,a,m);if(Am(i,l,h),Sn(h))n.canAutoFreeze_=!1;else return}else d&&i.add(a);if(Yt(a)&&!gs(a)){if(!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1)return;rs(n,a),(!r||!r.scope_.parent_)&&typeof l!="symbol"&&Object.prototype.propertyIsEnumerable.call(i,l)&&os(n,a)}}function os(n,r,i=!1){!n.parent_&&n.immer_.autoFreeze_&&n.canAutoFreeze_&&ha(r,i)}function wE(n,r){const i=Array.isArray(n),l={type_:i?1:0,scope_:r?r.scope_:Mm(),modified_:!1,finalized_:!1,assigned_:{},parent_:r,base_:n,draft_:null,copy_:null,revoke_:null,isManual_:!1};let a=l,f=ga;i&&(a=[l],f=wo);const{revoke:d,proxy:m}=Proxy.revocable(a,f);return l.draft_=m,l.revoke_=d,m}var ga={get(n,r){if(r===st)return n;const i=jn(n);if(!bu(i,r))return kE(n,i,r);const l=i[r];return n.finalized_||!Yt(l)?l:l===Tu(n.base_,r)?(xu(n),n.copy_[r]=Qu(l,n)):l},has(n,r){return r in jn(n)},ownKeys(n){return Reflect.ownKeys(jn(n))},set(n,r,i){const l=jm(jn(n),r);if(l?.set)return l.set.call(n.draft_,i),!0;if(!n.modified_){const a=Tu(jn(n),r),f=a?.[st];if(f&&f.base_===i)return n.copy_[r]=i,n.assigned_[r]=!1,!0;if(yE(i,a)&&(i!==void 0||bu(n.base_,r)))return!0;xu(n),Ku(n)}return n.copy_[r]===i&&(i!==void 0||r in n.copy_)||Number.isNaN(i)&&Number.isNaN(n.copy_[r])||(n.copy_[r]=i,n.assigned_[r]=!0),!0},deleteProperty(n,r){return Tu(n.base_,r)!==void 0||r in n.base_?(n.assigned_[r]=!1,xu(n),Ku(n)):delete n.assigned_[r],n.copy_&&delete n.copy_[r],!0},getOwnPropertyDescriptor(n,r){const i=jn(n),l=Reflect.getOwnPropertyDescriptor(i,r);return l&&{writable:!0,configurable:n.type_!==1||r!=="length",enumerable:l.enumerable,value:i[r]}},defineProperty(){Pt(11)},getPrototypeOf(n){return kr(n.base_)},setPrototypeOf(){Pt(12)}},wo={};ns(ga,(n,r)=>{wo[n]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}});wo.deleteProperty=function(n,r){return wo.set.call(this,n,r,void 0)};wo.set=function(n,r,i){return ga.set.call(this,n[0],r,i,n[0])};function Tu(n,r){const i=n[st];return(i?jn(i):n)[r]}function kE(n,r,i){const l=jm(r,i);return l?"value"in l?l.value:l.get?.call(n.draft_):void 0}function jm(n,r){if(!(r in n))return;let i=kr(n);for(;i;){const l=Object.getOwnPropertyDescriptor(i,r);if(l)return l;i=kr(i)}}function Ku(n){n.modified_||(n.modified_=!0,n.parent_&&Ku(n.parent_))}function xu(n){n.copy_||(n.copy_=Wu(n.base_,n.scope_.immer_.useStrictShallowCopy_))}var PE=class{constructor(n){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(r,i,l)=>{if(typeof r=="function"&&typeof i!="function"){const f=i;i=r;const d=this;return function(h=f,...y){return d.produce(h,E=>i.call(this,E,...y))}}typeof i!="function"&&Pt(6),l!==void 0&&typeof l!="function"&&Pt(7);let a;if(Yt(r)){const f=Tp(this),d=Qu(r,void 0);let m=!0;try{a=i(d),m=!1}finally{m?Gu(f):qu(f)}return Cp(f,l),xp(a,f)}else if(!r||typeof r!="object"){if(a=i(r),a===void 0&&(a=r),a===Lm&&(a=void 0),this.autoFreeze_&&ha(a,!0),l){const f=[],d=[];Hn("Patches").generateReplacementPatches_(r,a,f,d),l(f,d)}return a}else Pt(1,r)},this.produceWithPatches=(r,i)=>{if(typeof r=="function")return(d,...m)=>this.produceWithPatches(d,h=>r(h,...m));let l,a;return[this.produce(r,i,(d,m)=>{l=d,a=m}),l,a]},typeof n?.autoFreeze=="boolean"&&this.setAutoFreeze(n.autoFreeze),typeof n?.useStrictShallowCopy=="boolean"&&this.setUseStrictShallowCopy(n.useStrictShallowCopy)}createDraft(n){Yt(n)||Pt(8),Sn(n)&&(n=Fm(n));const r=Tp(this),i=Qu(n,void 0);return i[st].isManual_=!0,qu(r),i}finishDraft(n,r){const i=n&&n[st];(!i||!i.isManual_)&&Pt(9);const{scope_:l}=i;return Cp(l,r),xp(void 0,l)}setAutoFreeze(n){this.autoFreeze_=n}setUseStrictShallowCopy(n){this.useStrictShallowCopy_=n}applyPatches(n,r){let i;for(i=r.length-1;i>=0;i--){const a=r[i];if(a.path.length===0&&a.op==="replace"){n=a.value;break}}i>-1&&(r=r.slice(i+1));const l=Hn("Patches").applyPatches_;return Sn(n)?l(n,r):this.produce(n,a=>l(a,r))}};function Qu(n,r){const i=ms(n)?Hn("MapSet").proxyMap_(n,r):hs(n)?Hn("MapSet").proxySet_(n,r):wE(n,r);return(r?r.scope_:Mm()).drafts_.push(i),i}function Fm(n){return Sn(n)||Pt(10,n),zm(n)}function zm(n){if(!Yt(n)||gs(n))return n;const r=n[st];let i;if(r){if(!r.modified_)return r.base_;r.finalized_=!0,i=Wu(n,r.scope_.immer_.useStrictShallowCopy_)}else i=Wu(n,!0);return ns(i,(l,a)=>{Am(i,l,zm(a))}),r&&(r.finalized_=!1),i}var lt=new PE,Um=lt.produce;lt.produceWithPatches.bind(lt);lt.setAutoFreeze.bind(lt);lt.setUseStrictShallowCopy.bind(lt);lt.applyPatches.bind(lt);lt.createDraft.bind(lt);lt.finishDraft.bind(lt);function CE(n,r=`expected a function, instead received ${typeof n}`){if(typeof n!="function")throw new TypeError(r)}function TE(n,r=`expected an object, instead received ${typeof n}`){if(typeof n!="object")throw new TypeError(r)}function xE(n,r="expected all items to be functions, instead received the following types: "){if(!n.every(i=>typeof i=="function")){const i=n.map(l=>typeof l=="function"?`function ${l.name||"unnamed"}()`:typeof l).join(", ");throw new TypeError(`${r}[${i}]`)}}var Ip=n=>Array.isArray(n)?n:[n];function RE(n){const r=Array.isArray(n[0])?n[0]:n;return xE(r,"createSelector expects all input-selectors to be functions, but received the following types: "),r}function IE(n,r){const i=[],{length:l}=n;for(let a=0;a{i=Wi(),d.resetResultsCount()},d.resultsCount=()=>f,d.resetResultsCount=()=>{f=0},d}function $m(n,...r){const i=typeof n=="function"?{memoize:n,memoizeOptions:r}:n,l=(...a)=>{let f=0,d=0,m,h={},y=a.pop();typeof y=="object"&&(h=y,y=a.pop()),CE(y,`createSelector expects an output function after the inputs, but received: [${typeof y}]`);const E={...i,...h},{memoize:k,memoizeOptions:C=[],argsMemoize:x=ya,argsMemoizeOptions:M=[]}=E,U=Ip(C),N=Ip(M),Z=RE(a),$=k(function(){return f++,y.apply(null,arguments)},...U),A=x(function(){d++;const W=IE(Z,arguments);return m=$.apply(null,W),m},...N);return Object.assign(A,{resultFunc:y,memoizedResultFunc:$,dependencies:Z,dependencyRecomputations:()=>d,resetDependencyRecomputations:()=>{d=0},lastResult:()=>m,recomputations:()=>f,resetRecomputations:()=>{f=0},memoize:k,argsMemoize:x})};return Object.assign(l,{withTypes:()=>l}),l}var DE=$m(ya),AE=Object.assign((n,r=DE)=>{TE(n,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof n}`);const i=Object.keys(n),l=i.map(f=>n[f]);return r(l,(...f)=>f.reduce((d,m,h)=>(d[i[h]]=m,d),{}))},{withTypes:()=>AE});function Vm(n){return({dispatch:i,getState:l})=>a=>f=>typeof f=="function"?f(i,l,n):a(f)}var ME=Vm(),jE=Vm,FE=(...n)=>{const r=$m(...n),i=Object.assign((...l)=>{const a=r(...l),f=(d,...m)=>a(Sn(d)?Fm(d):d,...m);return Object.assign(f,a),f},{withTypes:()=>i});return i};FE(ya);var zE=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ts:ts.apply(null,arguments)},UE=n=>n&&typeof n.match=="function";function Kt(n,r){function i(...l){if(r){let a=r(...l);if(!a)throw new Error(Je(0));return{type:n,payload:a.payload,..."meta"in a&&{meta:a.meta},..."error"in a&&{error:a.error}}}return{type:n,payload:l[0]}}return i.toString=()=>`${n}`,i.type=n,i.match=l=>hE(l)&&l.type===n,i}var Bm=class yo extends Array{constructor(...r){super(...r),Object.setPrototypeOf(this,yo.prototype)}static get[Symbol.species](){return yo}concat(...r){return super.concat.apply(this,r)}prepend(...r){return r.length===1&&Array.isArray(r[0])?new yo(...r[0].concat(this)):new yo(...r.concat(this))}};function Np(n){return Yt(n)?Um(n,()=>{}):n}function Lp(n,r,i){if(n.has(r)){let a=n.get(r);return i.update&&(a=i.update(a,r,n),n.set(r,a)),a}if(!i.insert)throw new Error(Je(10));const l=i.insert(r,n);return n.set(r,l),l}function $E(n){return typeof n=="boolean"}var VE=()=>function(r){const{thunk:i=!0,immutableCheck:l=!0,serializableCheck:a=!0,actionCreatorCheck:f=!0}=r??{};let d=new Bm;return i&&($E(i)?d.push(ME):d.push(jE(i.extraArgument))),d},BE="RTK_autoBatch",Hm=n=>r=>{setTimeout(r,n)},HE=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Hm(10),bE=(n={type:"raf"})=>r=>(...i)=>{const l=r(...i);let a=!0,f=!1,d=!1;const m=new Set,h=n.type==="tick"?queueMicrotask:n.type==="raf"?HE:n.type==="callback"?n.queueNotification:Hm(n.timeout),y=()=>{d=!1,f&&(f=!1,m.forEach(E=>E()))};return Object.assign({},l,{subscribe(E){const k=()=>a&&E(),C=l.subscribe(k);return m.add(E),()=>{C(),m.delete(E)}},dispatch(E){try{return a=!E?.meta?.[BE],f=!a,f&&(d||(d=!0,h(y))),l.dispatch(E)}finally{a=!0}}})},WE=n=>function(i){const{autoBatch:l=!0}=i??{};let a=new Bm(n);return l&&a.push(bE(typeof l=="object"?l:void 0)),a};function GE(n){const r=VE(),{reducer:i=void 0,middleware:l,devTools:a=!0,preloadedState:f=void 0,enhancers:d=void 0}=n||{};let m;if(typeof i=="function")m=i;else if(ma(i))m=pE(i);else throw new Error(Je(1));let h;typeof l=="function"?h=l(r):h=r();let y=ts;a&&(y=zE({trace:!1,...typeof a=="object"&&a}));const E=mE(...h),k=WE(E);let C=typeof d=="function"?d(k):k();const x=y(...C);return Nm(m,f,x)}function bm(n){const r={},i=[];let l;const a={addCase(f,d){const m=typeof f=="string"?f:f.type;if(!m)throw new Error(Je(28));if(m in r)throw new Error(Je(29));return r[m]=d,a},addMatcher(f,d){return i.push({matcher:f,reducer:d}),a},addDefaultCase(f){return l=f,a}};return n(a),[r,i,l]}function qE(n){return typeof n=="function"}function KE(n,r){let[i,l,a]=bm(r),f;if(qE(n))f=()=>Np(n());else{const m=Np(n);f=()=>m}function d(m=f(),h){let y=[i[h.type],...l.filter(({matcher:E})=>E(h)).map(({reducer:E})=>E)];return y.filter(E=>!!E).length===0&&(y=[a]),y.reduce((E,k)=>{if(k)if(Sn(E)){const x=k(E,h);return x===void 0?E:x}else{if(Yt(E))return Um(E,C=>k(C,h));{const C=k(E,h);if(C===void 0){if(E===null)return E;throw new Error(Je(9))}return C}}return E},m)}return d.getInitialState=f,d}var QE="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Wm=(n=21)=>{let r="",i=n;for(;i--;)r+=QE[Math.random()*64|0];return r},YE=(n,r)=>UE(n)?n.match(r):n(r);function XE(...n){return r=>n.some(i=>YE(i,r))}var JE=["name","message","stack","code"],Ru=class{constructor(n,r){this.payload=n,this.meta=r}_type},Dp=class{constructor(n,r){this.payload=n,this.meta=r}_type},ZE=n=>{if(typeof n=="object"&&n!==null){const r={};for(const i of JE)typeof n[i]=="string"&&(r[i]=n[i]);return r}return{message:String(n)}},ew=(()=>{function n(r,i,l){const a=Kt(r+"/fulfilled",(h,y,E,k)=>({payload:h,meta:{...k||{},arg:E,requestId:y,requestStatus:"fulfilled"}})),f=Kt(r+"/pending",(h,y,E)=>({payload:void 0,meta:{...E||{},arg:y,requestId:h,requestStatus:"pending"}})),d=Kt(r+"/rejected",(h,y,E,k,C)=>({payload:k,error:(l&&l.serializeError||ZE)(h||"Rejected"),meta:{...C||{},arg:E,requestId:y,rejectedWithValue:!!k,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"}}));function m(h){return(y,E,k)=>{const C=l?.idGenerator?l.idGenerator(h):Wm(),x=new AbortController;let M,U;function N($){U=$,x.abort()}const Z=(async function(){let $;try{let j=l?.condition?.(h,{getState:E,extra:k});if(nw(j)&&(j=await j),j===!1||x.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const W=new Promise((G,ee)=>{M=()=>{ee({name:"AbortError",message:U||"Aborted"})},x.signal.addEventListener("abort",M)});y(f(C,h,l?.getPendingMeta?.({requestId:C,arg:h},{getState:E,extra:k}))),$=await Promise.race([W,Promise.resolve(i(h,{dispatch:y,getState:E,extra:k,requestId:C,signal:x.signal,abort:N,rejectWithValue:(G,ee)=>new Ru(G,ee),fulfillWithValue:(G,ee)=>new Dp(G,ee)})).then(G=>{if(G instanceof Ru)throw G;return G instanceof Dp?a(G.payload,C,h,G.meta):a(G,C,h)})])}catch(j){$=j instanceof Ru?d(null,C,h,j.payload,j.meta):d(j,C,h)}finally{M&&x.signal.removeEventListener("abort",M)}return l&&!l.dispatchConditionRejection&&d.match($)&&$.meta.condition||y($),$})();return Object.assign(Z,{abort:N,requestId:C,arg:h,unwrap(){return Z.then(tw)}})}}return Object.assign(m,{pending:f,rejected:d,fulfilled:a,settled:XE(d,a),typePrefix:r})}return n.withTypes=()=>n,n})();function tw(n){if(n.meta&&n.meta.rejectedWithValue)throw n.payload;if(n.error)throw n.error;return n.payload}function nw(n){return n!==null&&typeof n=="object"&&typeof n.then=="function"}var rw=Symbol.for("rtk-slice-createasyncthunk");function ow(n,r){return`${n}/${r}`}function iw({creators:n}={}){const r=n?.asyncThunk?.[rw];return function(l){const{name:a,reducerPath:f=a}=l;if(!a)throw new Error(Je(11));const d=(typeof l.reducers=="function"?l.reducers(lw()):l.reducers)||{},m=Object.keys(d),h={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},y={addCase($,A){const j=typeof $=="string"?$:$.type;if(!j)throw new Error(Je(12));if(j in h.sliceCaseReducersByType)throw new Error(Je(13));return h.sliceCaseReducersByType[j]=A,y},addMatcher($,A){return h.sliceMatchers.push({matcher:$,reducer:A}),y},exposeAction($,A){return h.actionCreators[$]=A,y},exposeCaseReducer($,A){return h.sliceCaseReducersByName[$]=A,y}};m.forEach($=>{const A=d[$],j={reducerName:$,type:ow(a,$),createNotation:typeof l.reducers=="function"};aw(A)?fw(j,A,y,r):uw(j,A,y)});function E(){const[$={},A=[],j=void 0]=typeof l.extraReducers=="function"?bm(l.extraReducers):[l.extraReducers],W={...$,...h.sliceCaseReducersByType};return KE(l.initialState,G=>{for(let ee in W)G.addCase(ee,W[ee]);for(let ee of h.sliceMatchers)G.addMatcher(ee.matcher,ee.reducer);for(let ee of A)G.addMatcher(ee.matcher,ee.reducer);j&&G.addDefaultCase(j)})}const k=$=>$,C=new Map;let x;function M($,A){return x||(x=E()),x($,A)}function U(){return x||(x=E()),x.getInitialState()}function N($,A=!1){function j(G){let ee=G[$];return typeof ee>"u"&&A&&(ee=U()),ee}function W(G=k){const ee=Lp(C,A,{insert:()=>new WeakMap});return Lp(ee,G,{insert:()=>{const pe={};for(const[Tt,ht]of Object.entries(l.selectors??{}))pe[Tt]=sw(ht,G,U,A);return pe}})}return{reducerPath:$,getSelectors:W,get selectors(){return W(j)},selectSlice:j}}const Z={name:a,reducer:M,actions:h.actionCreators,caseReducers:h.sliceCaseReducersByName,getInitialState:U,...N(f),injectInto($,{reducerPath:A,...j}={}){const W=A??f;return $.inject({reducerPath:W,reducer:M},j),{...Z,...N(W,!0)}}};return Z}}function sw(n,r,i,l){function a(f,...d){let m=r(f);return typeof m>"u"&&l&&(m=i()),n(m,...d)}return a.unwrapped=n,a}var Gm=iw();function lw(){function n(r,i){return{_reducerDefinitionType:"asyncThunk",payloadCreator:r,...i}}return n.withTypes=()=>n,{reducer(r){return Object.assign({[r.name](...i){return r(...i)}}[r.name],{_reducerDefinitionType:"reducer"})},preparedReducer(r,i){return{_reducerDefinitionType:"reducerWithPrepare",prepare:r,reducer:i}},asyncThunk:n}}function uw({type:n,reducerName:r,createNotation:i},l,a){let f,d;if("reducer"in l){if(i&&!cw(l))throw new Error(Je(17));f=l.reducer,d=l.prepare}else f=l;a.addCase(n,f).exposeCaseReducer(r,f).exposeAction(r,d?Kt(n,d):Kt(n))}function aw(n){return n._reducerDefinitionType==="asyncThunk"}function cw(n){return n._reducerDefinitionType==="reducerWithPrepare"}function fw({type:n,reducerName:r},i,l,a){if(!a)throw new Error(Je(18));const{payloadCreator:f,fulfilled:d,pending:m,rejected:h,settled:y,options:E}=i,k=a(n,f,E);l.exposeAction(r,k),d&&l.addCase(k.fulfilled,d),m&&l.addCase(k.pending,m),h&&l.addCase(k.rejected,h),y&&l.addMatcher(k.settled,y),l.exposeCaseReducer(r,{fulfilled:d||Gi,pending:m||Gi,rejected:h||Gi,settled:y||Gi})}function Gi(){}var dw=(n,r)=>{if(typeof n!="function")throw new Error(Je(32))},_a="listenerMiddleware",pw=n=>{let{type:r,actionCreator:i,matcher:l,predicate:a,effect:f}=n;if(r)a=Kt(r).match;else if(i)r=i.type,a=i.match;else if(l)a=l;else if(!a)throw new Error(Je(21));return dw(f),{predicate:a,type:r,effect:f}},mw=Object.assign(n=>{const{type:r,predicate:i,effect:l}=pw(n);return{id:Wm(),effect:l,type:r,predicate:i,pending:new Set,unsubscribe:()=>{throw new Error(Je(22))}}},{withTypes:()=>mw}),hw=Object.assign(Kt(`${_a}/add`),{withTypes:()=>hw});Kt(`${_a}/removeAll`);var gw=Object.assign(Kt(`${_a}/remove`),{withTypes:()=>gw});function Je(n){return`Minified Redux Toolkit error #${n}; visit https://redux-toolkit.js.org/Errors?code=${n} for the full message or use the non-minified dev environment for full errors. `}const yw="application/json",qm="Content-Type",_r=Symbol(),Km=Symbol();function Ap(n={}){var r;return(r=Object.entries(n).find(([i])=>i.toLowerCase()===qm.toLowerCase()))===null||r===void 0?void 0:r[1]}function Mp(n){return/^application\/.*json.*/.test(n)}const Un=function(n,r,i=!1){return Object.entries(r).reduce((l,[a,f])=>{const d=n[a];return Array.isArray(d)&&Array.isArray(f)?l[a]=i?[...d,...f]:f:typeof d=="object"&&typeof f=="object"?l[a]=Un(d,f,i):l[a]=f,l},{...n})},Pr={options:{},errorType:"text",polyfills:{},polyfill(n,r=!0,i=!1,...l){const a=this.polyfills[n]||(typeof self<"u"?self[n]:null)||(typeof global<"u"?global[n]:null);if(r&&!a)throw new Error(n+" is not defined");return i&&a?new a(...l):a}};function _w(n,r=!1){Pr.options=r?n:Un(Pr.options,n)}function vw(n,r=!1){Pr.polyfills=r?n:Un(Pr.polyfills,n)}function Sw(n){Pr.errorType=n}const Ew=n=>r=>n.reduceRight((i,l)=>l(i),r)||r;class Qm extends Error{}const ww=n=>{const r=Object.create(null);n=n._addons.reduce((A,j)=>j.beforeRequest&&j.beforeRequest(A,n._options,r)||A,n);const{_url:i,_options:l,_config:a,_catchers:f,_resolvers:d,_middlewares:m,_addons:h}=n,y=new Map(f),E=Un(a.options,l);let k=i;const C=Ew(m)((A,j)=>(k=A,a.polyfill("fetch")(A,j)))(i,E),x=new Error,M=C.catch(A=>{throw{[_r]:A}}).then(A=>{var j;if(!A.ok){const W=new Qm;if(W.cause=x,W.stack=W.stack+` CAUSE: `+x.stack,W.response=A,W.status=A.status,W.url=k,A.type==="opaque")throw W;const G=a.errorType==="json"||((j=A.headers.get("Content-Type"))===null||j===void 0?void 0:j.split(";")[0])==="application/json";return(a.errorType?G?A.text():A[a.errorType]():Promise.resolve(A.body)).then(pe=>{throw W.message=typeof pe=="string"?pe:A.statusText,pe&&(G&&typeof pe=="string"?(W.text=pe,W.json=JSON.parse(pe)):W[a.errorType]=pe),W})}return A}),U=A=>A.catch(j=>{const W=Object.prototype.hasOwnProperty.call(j,_r),G=W?j[_r]:j,ee=G?.status&&y.get(G.status)||y.get(G?.name)||W&&y.has(_r)&&y.get(_r);if(ee)return ee(G,n);const pe=y.get(Km);if(pe)return pe(G,n);throw G}),N=A=>j=>U(A?M.then(W=>W&&W[A]()).then(W=>j?j(W):W):M.then(W=>j?j(W):W)),Z={_wretchReq:n,_fetchReq:C,_sharedState:r,res:N(null),json:N("json"),blob:N("blob"),formData:N("formData"),arrayBuffer:N("arrayBuffer"),text:N("text"),error(A,j){return y.set(A,j),this},badRequest(A){return this.error(400,A)},unauthorized(A){return this.error(401,A)},forbidden(A){return this.error(403,A)},notFound(A){return this.error(404,A)},timeout(A){return this.error(408,A)},internalError(A){return this.error(500,A)},fetchError(A){return this.error(_r,A)}},$=h.reduce((A,j)=>({...A,...typeof j.resolver=="function"?j.resolver(A):j.resolver}),Z);return d.reduce((A,j)=>j(A,n),$)},kw={_url:"",_options:{},_config:Pr,_catchers:new Map,_resolvers:[],_deferred:[],_middlewares:[],_addons:[],addon(n){return{...this,_addons:[...this._addons,n],...n.wretch}},errorType(n){return{...this,_config:{...this._config,errorType:n}}},polyfills(n,r=!1){return{...this,_config:{...this._config,polyfills:r?n:Un(this._config.polyfills,n)}}},url(n,r=!1){if(r)return{...this,_url:n};const i=this._url.split("?");return{...this,_url:i.length>1?i[0]+n+"?"+i[1]:this._url+n}},options(n,r=!1){return{...this,_options:r?n:Un(this._options,n)}},headers(n){const r=n?Array.isArray(n)?Object.fromEntries(n):"entries"in n?Object.fromEntries(n.entries()):n:{};return{...this,_options:Un(this._options,{headers:r})}},accept(n){return this.headers({Accept:n})},content(n){return this.headers({[qm]:n})},auth(n){return this.headers({Authorization:n})},catcher(n,r){const i=new Map(this._catchers);return i.set(n,r),{...this,_catchers:i}},catcherFallback(n){return this.catcher(Km,n)},resolve(n,r=!1){return{...this,_resolvers:r?[n]:[...this._resolvers,n]}},defer(n,r=!1){return{...this,_deferred:r?[n]:[...this._deferred,n]}},middlewares(n,r=!1){return{...this,_middlewares:r?n:[...this._middlewares,...n]}},fetch(n=this._options.method,r="",i=null){let l=this.url(r).options({method:n});const a=Ap(l._options.headers),f=this._config.polyfill("FormData",!1),d=typeof i=="object"&&!(f&&i instanceof f)&&(!l._options.headers||!a||Mp(a));return l=i?d?l.json(i,a):l.body(i):l,ww(l._deferred.reduce((m,h)=>h(m,m._url,m._options),l))},get(n=""){return this.fetch("GET",n)},delete(n=""){return this.fetch("DELETE",n)},put(n,r=""){return this.fetch("PUT",r,n)},post(n,r=""){return this.fetch("POST",r,n)},patch(n,r=""){return this.fetch("PATCH",r,n)},head(n=""){return this.fetch("HEAD",n)},opts(n=""){return this.fetch("OPTIONS",n)},body(n){return{...this,_options:{...this._options,body:n}}},json(n,r){const i=Ap(this._options.headers);return this.content(r||Mp(i)&&i||yw).body(JSON.stringify(n))}};function bn(n="",r={}){return{...kw,_url:n,_options:r}}bn.default=bn;bn.options=_w;bn.errorType=Sw;bn.polyfills=vw;bn.WretchError=Qm;function jp(n){return typeof n<"u"?n:""}const Pw=(n,r,i,l,a)=>{let f;if(typeof r=="string")f=r;else{const m=a.polyfill("URLSearchParams",!0,!0);for(const h in r){const y=r[h];if(!(l&&y==null))if(r[h]instanceof Array)for(const E of y)m.append(h,jp(E));else m.append(h,jp(y))}f=m.toString()}const d=n.split("?");return f?i||d.length<2?d[0]+"?"+f:n+"&"+f:i?d[0]:n},Cw={wretch:{query(n,r=!1,i=!1){return{...this,_url:Pw(this._url,n,r,i,this._config)}}}},At=new URLSearchParams(window.location.search),Tw=()=>uE()?!0:At.get("shop")==="nookywalls.myshopify.com",xw={widget:null,currentIndex:0,initialIndex:0,isPaused:!1,isShareOpen:!1,isVolumeMuted:!0,isGlobalMuted:!0,mode:At.get("mode")||"",tapToUnmuteVisible:!0,posts:[],post:null,products:[],isLoading:!1,isLoaded:!1,productMode:"list",selectedProduct:null,lastProduct:null,isProductsLoading:!1,relatedProducts:null,productsExpanded:!1,team_id:null,url:At.get("url"),shop:At.get("shop"),root:At.get("root")||"/",currency:At.get("currency")||"USD",cart:null,isAddingToCart:!1,addedToCart:!1,showVideoLoader:!1,isOpenPlayer:!1,tapToUnmuteVisibleOnce:!1,isLoadingTranslations:!0,currentVariantOption:null,selectedSellingPlanId:null,isOneTimePurchase:!0,durations:{}},Yu=ew("player/loadWidget",async n=>{let r={widget_id:n.widget_id};return n.automated&&(r.page_type=n.page_type,r.id=n.id),await bn("https://api.storista.io/worker/v3/widgets/").addon(Cw).query(r).get().json()}),Ym=Gm({name:"player",initialState:xw,reducers:{setInitialIndex:(n,r)=>{n.currentIndex=r.payload,n.initialIndex=r.payload},updateProducts:(n,r)=>{const{post_id:i,products:l}=r.payload;i===n.posts[n.currentIndex].id&&(n.products=l,n.products.length===1?(n.productMode="view",n.selectedProduct=n.products[0],n.currentVariantOption=n.products[0]?.variants[0]?.option1):(n.productMode="list",n.selectedProduct=null),n.isProductsLoading=!1)},selectProduct:(n,r)=>{r.payload?(n.productMode="view",n.selectedProduct=r.payload,n.currentVariantOption=r.payload.variants[0]?.option1,n.lastProduct=null):n.productMode==="related"?(n.productMode="view",n.selectedProduct=n.lastProduct):n.productMode==="view"&&(n.productMode="list",n.selectedProduct=null)},selectRelatedProduct:(n,r)=>{n.productMode="related",n.lastProduct=n.selectedProduct,n.selectedProduct=r.payload},setRelatedProducts:(n,r)=>{const{product_id:i,products:l}=r.payload;n.selectedProduct?.id===i&&(n.relatedProducts=l.products.filter(a=>a.id!==9520589865236))},updateState:(n,r)=>{n.currentIndex=r.payload,n.productsExpanded=!!n.posts[r.payload].products?.length||!!n.widget.product,n.post=n.posts[r.payload],wp("impression",n.widget,{post_id:n.posts[r.payload].id,post_type:n.posts[r.payload].post_type,post_media_type:n.posts[r.payload].media_type}),n.widget.product||(n.products=null)},togglePaused:n=>{n.isPaused=!n.isPaused},setPause:(n,r)=>{n.isPaused=r.payload},toggleShare:n=>{n.isShareOpen=!n.isShareOpen},toggleVolume:n=>{n.isVolumeMuted=!n.isVolumeMuted},setIsMuted:(n,r)=>{n.isVolumeMuted=r.payload},setTapToUnmuteVisible:(n,r)=>{n.tapToUnmuteVisible=r.payload},updateCart:(n,r)=>{n.cart=r.payload},startAddToCart:n=>{n.isAddingToCart=!0,n.addedToCart=!1},addedToCart:n=>{n.isAddingToCart=!1,n.addedToCart=!0},toggleGlobalMute:n=>{n.isGlobalMuted=!n.isGlobalMuted},updateDuration:(n,r)=>{n.durations[r.payload.id]=r.payload.duration},trackWatch:(n,r)=>{const{widget:i}=r.payload,l=i.data[0].stories.filter(d=>d.id===r.payload.id)[0],a=l.media_type==="video"?n.durations[r.payload.id]:5;if(!a)return;const f=r.payload.progress;wp("watch",i,{duration:Number(a.toFixed(2)),post_id:l.id,progress:Number(f.toFixed(2)),post_type:l.post_type,post_media_type:l.media_type})},clearState:n=>{n.isTransitioning=!1,n.translateY=-100,n.isPaused=!1,n.isShareOpen=!1,n.isVolumeMuted=Tw(),n.currentIndex=0,n.initialIndex=0,n.posts=[],n.post=null,n.products=[],n.productMode="list",n.selectedProduct=null,n.lastProduct=null,n.isProductsLoading=!1,n.relatedProducts=null,n.productsExpanded=!1,n.team_id=null,n.widget=null,n.url=At.get("url"),n.shop=At.get("shop"),n.root=At.get("root")||"/",n.currency=At.get("currency")||"USD",n.cart=null,n.isAddingToCart=!1,n.addedToCart=!1,n.isLoading=!1,n.isLoaded=!1},close:n=>{n.currentIndex=0,n.initialIndex=0,n.tapToUnmuteVisible=!0,n.tapToUnmuteVisibleOnce=!1,n.isVolumeMuted=!0,n.isGlobalMuted=!0,n.isOpenPlayer=!1,n.posts=[],n.post=null,n.products=[],n.productMode="list",n.selectedProduct=null,n.lastProduct=null,n.isProductsLoading=!1,n.relatedProducts=null,n.isPaused=!1,n.isLoading=!1,n.isLoaded=!1,n.team_id=null,n.widget=null},setIsOpenPlayer:(n,r)=>{n.isOpenPlayer=r.payload},setTapToUnmuteVisibleOnce:(n,r)=>{n.tapToUnmuteVisibleOnce=r.payload},setCurrentVariantOption:(n,r)=>{n.currentVariantOption=r.payload},setSelectedSellingPlanId:(n,r)=>{n.isOneTimePurchase&&(n.isOneTimePurchase=!1),n.selectedSellingPlanId=r.payload},setIsOneTimePurchase:(n,r)=>{n.selectedSellingPlanId&&(n.selectedSellingPlanId=null),n.isOneTimePurchase=r.payload}},extraReducers:n=>{n.addCase(Yu.pending,r=>{r.isLoading=!0}),n.addCase(Yu.fulfilled,(r,i)=>{r.widget=i.payload,r.team_id=r.widget.team_id,i.payload.style?.product?.disable_sound&&(r.tapToUnmuteVisible=!1),i.payload.data[0]?.stories?.length===2||i.payload.data[0]?.stories?.length===3?r.posts=[...i.payload.data[0].stories,...i.payload.data[0].stories]:r.posts=i.payload.data[0].stories,r.products=null,r.post=r.posts[0],r.productsExpanded=r.posts[r.currentIndex].products&&r.posts[r.currentIndex].products.length||r.widget.product,r.isLoading=!1,r.isLoaded=!0})}}),{setInitialIndex:Rw,togglePaused:v1,toggleShare:S1,toggleVolume:E1,setTapToUnmuteVisible:w1,updateProducts:Iw,selectProduct:k1,selectRelatedProduct:P1,setRelatedProducts:Ow,setIsMuted:C1,updateCart:Nw,startAddToCart:T1,addedToCart:Lw,updateState:x1,close:Dw,setPause:R1,toggleGlobalMute:I1,setIsOpenPlayer:Aw,setTapToUnmuteVisibleOnce:O1,trackWatch:N1,updateDuration:L1,setCurrentVariantOption:D1,setSelectedSellingPlanId:A1,setIsOneTimePurchase:M1}=Ym.actions,Mw=Ym.reducer,jw=({children:n})=>{const r=pa();return Mt.useLayoutEffect(()=>{const i=window.addEventListener("message",l=>{switch(l.data.event){case"storista:cart":{r(Nw(l.data.data));break}case"storista:cart_updated":{r(Lw());break}case"storista:products":{r(Iw(l.data.data));break}case"storista:start":{r(Yu(l.data)),r(Rw(l.data.index));break}case"storista:recommendations":{r(Ow(l.data.data));break}case"storista:request_to_close":{r(Dw()),jt("storista:close");break}}});return()=>{window.removeEventListener("message",i)}},[]),Me.jsx(Me.Fragment,{children:n})},j1=n=>n.player.initialIndex,F1=n=>n.player.mode,z1=n=>n.player.isPaused,U1=n=>n.player.tapToUnmuteVisible,$1=n=>n.player.tapToUnmuteVisibleOnce,V1=n=>n.player.isVolumeMuted,B1=n=>n.player.isShareOpen,H1=n=>n.player.isProductsLoading,b1=n=>n.player.selectedProduct,W1=n=>n.player.products,G1=n=>n.player.relatedProducts,q1=n=>n.player.productMode,K1=n=>n.player.widget?.id,Q1=n=>n.player.widget?.team,Fw=n=>n.player.isLoading,zw=n=>n.player.isLoaded,Y1=n=>n.player.posts,X1=n=>n.player.post,J1=n=>n.player.post?.id,Z1=n=>n.player.widget?.team_id,ek=n=>n.player.widget?.features,tk=n=>n.player.productsExpanded,nk=n=>n.player.url,rk=n=>n.player.shop,ok=n=>n.player.root,ik=n=>n.player.currency,sk=n=>n.player.widget?.style,lk=n=>n.player.widget,uk=n=>n.player.cart,ak=n=>n.player.isAddingToCart,ck=n=>n.player.addedToCart,fk=n=>n.player.isGlobalMuted,dk=n=>n.player.post?.products,pk=n=>n.player.widget?.product,Uw=n=>n.player.isOpenPlayer,mk=n=>n.player.currentIndex,hk=n=>n.player.widget?.team.integrations,gk=n=>n.player.widget?.team.storefront_key,yk=n=>n.player.widget?.style?.product||{},Xm=n=>n.player.selectedProduct?.variants,$w=n=>n.player.selectedProduct?.selling_plan_groups,Vw=n=>{const r=Xm(n),i=n.player.currentVariantOption;return r?r.find(l=>l.option1===i):null},Bw=n=>{const r=Vw(n);return r?r.selling_plan_allocations:null},_k=n=>{const r=Xm(n),i=n.player.currentVariantOption,l=$w(n);if(!r)return null;const a=r.find(d=>d.option1===i);return l.find(d=>d.id===a?.selling_plan_allocations[0]?.selling_plan_group_id)||null},Hw=n=>n.player.selectedSellingPlanId,vk=n=>n.player.isOneTimePurchase,Sk=n=>{const r=Hw(n),i=Bw(n);return r?i.find(a=>a.selling_plan_id===r).price:void 0},bw=n=>n.translation.isLoadingTranslations,Ww=(n,r,i)=>{const l=n[r];return l?typeof l=="function"?l():Promise.resolve(l):new Promise((a,f)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(f.bind(null,new Error("Unknown variable dynamic import: "+r+(r.split("/").length!==i?". Note that variables only represent file names one level deep.":""))))})},Gw={isLoadingTranslations:!0},Jm=Gm({name:"translation",initialState:Gw,reducers:{setIsLoadingTranslations:(n,r)=>{n.isLoadingTranslations=r.payload}}}),{setIsLoadingTranslations:Fp}=Jm.actions,qw=Jm.reducer,Kw=Mt.createContext(void 0),Qw=new URLSearchParams(window.location.search),Yw=({children:n})=>{const r=pa(),i=Qw.get("lng"),[l,a]=Mt.useState();return Mt.useLayoutEffect(()=>{(async function(){r(Fp(!0));try{const d=await Ww(Object.assign({"../locales/bg.json":()=>oe(()=>import("./bg-CRz-pfm2.js"),[]),"../locales/cs.json":()=>oe(()=>import("./cs-CJG-jKsp.js"),[]),"../locales/da.json":()=>oe(()=>import("./da-D9jSM4aK.js"),[]),"../locales/de.json":()=>oe(()=>import("./de-ISk2aBDV.js"),[]),"../locales/el.json":()=>oe(()=>import("./el-BD9htR4K.js"),[]),"../locales/en.json":()=>oe(()=>import("./en-oC9WCxIf.js"),[]),"../locales/es.json":()=>oe(()=>import("./es-BJYO3RiE.js"),[]),"../locales/et.json":()=>oe(()=>import("./et-BdICyrFo.js"),[]),"../locales/fi.json":()=>oe(()=>import("./fi-BJ9LQ4ck.js"),[]),"../locales/fr.json":()=>oe(()=>import("./fr-CcZmpiPU.js"),[]),"../locales/ge.json":()=>oe(()=>import("./ge-BKKquRJH.js"),[]),"../locales/he.json":()=>oe(()=>import("./he-Dsv_tP-R.js"),[]),"../locales/hr.json":()=>oe(()=>import("./hr-dlijXAE_.js"),[]),"../locales/hu.json":()=>oe(()=>import("./hu-BX4xLZI8.js"),[]),"../locales/id.json":()=>oe(()=>import("./id-DVXajckW.js"),[]),"../locales/it.json":()=>oe(()=>import("./it-DLGb2qnk.js"),[]),"../locales/ja.json":()=>oe(()=>import("./ja-CM9MEMJ7.js"),[]),"../locales/ko.json":()=>oe(()=>import("./ko-CqooOQLA.js"),[]),"../locales/lt.json":()=>oe(()=>import("./lt-Cx_G3E7r.js"),[]),"../locales/nb.json":()=>oe(()=>import("./nb-CmXlF3Zv.js"),[]),"../locales/nl.json":()=>oe(()=>import("./nl-DPo3QpRm.js"),[]),"../locales/pl.json":()=>oe(()=>import("./pl-_aKepaiq.js"),[]),"../locales/pt-BR.json":()=>oe(()=>import("./pt-BR-CHyn9T0s.js"),[]),"../locales/pt-PT.json":()=>oe(()=>import("./pt-PT-SX8KwGKY.js"),[]),"../locales/ro.json":()=>oe(()=>import("./ro-BDPh6Pjz.js"),[]),"../locales/ru.json":()=>oe(()=>import("./ru-DLgf5tta.js"),[]),"../locales/sk.json":()=>oe(()=>import("./sk-A2myl-Rr.js"),[]),"../locales/sl.json":()=>oe(()=>import("./sl-BQGnokMD.js"),[]),"../locales/sv.json":()=>oe(()=>import("./sv-CCfLGR_D.js"),[]),"../locales/th.json":()=>oe(()=>import("./th-B887TZSL.js"),[]),"../locales/tr.json":()=>oe(()=>import("./tr-96iFXsoP.js"),[]),"../locales/vi.json":()=>oe(()=>import("./vi-CKzSzo6G.js"),[]),"../locales/zh-CN.json":()=>oe(()=>import("./zh-CN-CL8__4T2.js"),[]),"../locales/zh-TW.json":()=>oe(()=>import("./zh-TW-5jpu3Mpb.js"),[])}),`../locales/${i}.json`,3);a(d.default)}catch(d){console.error("Error loading translations:",d);const m=await oe(()=>import("./en-oC9WCxIf.js"),[]);a(m.default)}finally{r(Fp(!1))}})()},[i]),Me.jsx(Kw.Provider,{value:{translations:l},children:n})},Xw="data:image/svg+xml,%3csvg%20viewBox='0%200%2044%2044'%20xmlns='http://www.w3.org/2000/svg'%20fill='white'%3e%3cpath%20d='M15.542%201.487A21.507%2021.507%200%2000.5%2022c0%2011.874%209.626%2021.5%2021.5%2021.5%209.847%200%2018.364-6.675%2020.809-16.072a1.5%201.5%200%2000-2.904-.756C37.803%2034.755%2030.473%2040.5%2022%2040.5%2011.783%2040.5%203.5%2032.217%203.5%2022c0-8.137%205.3-15.247%2012.942-17.65a1.5%201.5%200%2010-.9-2.863z'%20/%3e%3c/svg%3e",Jw="data:image/svg+xml,%3csvg%20width='1042'%20height='1000'%20viewBox='0%200%201042%201000'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M806.931%20812.975C965.003%20671.437%201048.1%20486.979%201041.65%20328.086L323.151%20520.525L289.002%20393.133C269.725%20321.219%20336.482%20255.165%20409.167%20274.233L585.445%20320.477C760.317%20366.353%20872.605%20318.884%201015.89%20231.995C1000.87%20175.942%20982.262%20138.337%20956.458%20110.091C798.542%20-62.76%20475.565%20-28.3155%20235.069%20187.025C76.7125%20328.818%20-6.39827%20513.685%200.384643%20672.771L838.362%20448.332L536.804%20750.376C483.395%20803.217%20392.54%20779.376%20373.263%20707.462L348.552%20615.281L28.011%20799.933C41.884%20832.748%2060.9969%20863.042%2085.5425%20889.909C243.458%201062.76%20566.435%201028.32%20806.931%20812.975Z'%20fill='white'/%3e%3c/svg%3e",Zw=GE({reducer:{player:Mw,translation:qw}}),e1="WXqopW_loaderContainer",Iu={loaderContainer:e1},t1=Mt.lazy(()=>oe(()=>import("./index-Da0wzJ6v.js"),__vite__mapDeps([0,1]))),n1=()=>{const n=document.createElement("style");n.textContent="@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');",document.head.appendChild(n);const r=document.querySelector(":root");r.style.fontFamily='"Bricolage Grotesque", sans-serif'},r1=new URLSearchParams(window.location.search);r1.get("shop")==="hirestreet-prod.myshopify.com"&&n1();const zp=()=>{const n=go(a=>a.player.shop);let r={},i=Jw,l={};return n==="vitta-gold.myshopify.com"?(r={backgroundColor:"#291504"},i="/logo-vittagold.png",l={width:"100px"}):n==="the-next-decor.myshopify.com"?(i="/logo-nextdecor.png",l={width:"100px"}):n==="sthani-store.myshopify.com"?(i="/logo-sthani.png",l={width:"50px"}):n==="d7f63b.myshopify.com"?(i="/logo-theshreekama.png",l={width:"200px"}):n==="ever-pretty-uk.myshopify.com"||n==="ever-pretty-usa.myshopify.com"||n==="ever-pretty-fr.myshopify.com"?(i="/logo-everpretty2.png",l={width:"200px",height:"40px"}):n==="the-skincare-edit-united-arab-emirates.myshopify.com"?(i=Xw,l={width:"48px",height:"48px",animation:"rotation 700ms linear infinite",fill:"#fff"}):n==="9x1eax-aj.myshopify.com"&&(i="/lyfering.png",l={width:"200px",height:"40px"}),Me.jsx("div",{className:`${Iu.playerContainer} ${n==="iugaactive.myshopify.com"?Iu.container08:""}`,style:r,children:Me.jsx("div",{className:Iu.loaderContainer,children:i!==""&&Me.jsx("img",{src:i,style:l,alt:"logo"})})})},o1=()=>{const n=pa(),r=go(zw),i=go(Fw),l=go(Uw),a=go(bw);return Mt.useEffect(()=>{!i&&r&&!a&&n(Aw(!0))},[i,r,a]),l?Me.jsx(Me.Fragment,{children:l&&Me.jsx(Mt.Suspense,{fallback:Me.jsx(zp,{}),children:Me.jsx(t1,{})})}):Me.jsx(zp,{})};function i1(){return Mt.useEffect(()=>{aE()},[]),Me.jsx(iE,{store:Zw,children:Me.jsx(Yw,{children:Me.jsx(jw,{children:Me.jsx(o1,{})})})})}MS({dsn:"https://490b7fc9771ab3e02897f96d894e81c6@o354795.ingest.us.sentry.io/4507007210422272",sendDefaultPii:!0,ignoreErrors:["AbortError","NotAllowedError",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/],sampleRate:.2});BS.createRoot(document.getElementById("app")).render(Me.jsx(i1,{}));export{J1 as $,rk as A,l1 as B,hk as C,gk as D,uE as E,q1 as F,ak as G,ck as H,uk as I,ok as J,X1 as K,F1 as L,Sk as M,s1 as N,D1 as O,u1 as P,wp as Q,h1 as R,c1 as S,Kw as T,T1 as U,y1 as V,_1 as W,sk as X,W1 as Y,H1 as Z,pk as _,Mt as a,dk as a0,ek as a1,k1 as a2,R1 as a3,d1 as a4,Iw as a5,f1 as a6,V1 as a7,N1 as a8,L1 as a9,nk as aa,K1 as ab,S1 as ac,B1 as ad,fk as ae,U1 as af,$1 as ag,z1 as ah,Dw as ai,jt as aj,w1 as ak,E1 as al,I1 as am,tk as an,Y1 as ao,j1 as ap,mk as aq,C1 as ar,x1 as as,O1 as at,Q1 as au,v1 as av,g1 as b,go as c,Vw as d,Bw as e,_k as f,Up as g,Hw as h,vk as i,Me as j,A1 as k,M1 as l,AS as m,a1 as n,ik as o,yk as p,G1 as q,US as r,b1 as s,m1 as t,pa as u,Ow as v,lk as w,p1 as x,P1 as y,Z1 as z};