Files
Magic-Garden-Bot/main.js
2025-12-09 23:21:09 +00:00

1978 lines
4.0 MiB
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0bfce9d6-c384-5c20-91e8-45295915557a")}catch(e){}}();
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-BSQ3YlOQ.js","assets/index-CaRmL4Xm.js","assets/browserAll-HS7J0lNe.js","assets/webworkerAll-DMAIa0vJ.js","assets/colorToUniform-DmtBy-2V.js","assets/WebGPURenderer-CI4xI9YZ.js","assets/SharedSystems-Dt0JnMBx.js","assets/WebGLRenderer-DISq39B4.js","assets/AvocadoMiniView-CeAPLSjh.js","assets/BreadClaimButton-DraiAgGK.js","assets/confetti-CmUKzuZZ.js","assets/LycheeView-CB_ykFTZ.js","assets/MangoView-CsPn1sRp.js","assets/pluralize-BvZf0BXN.js","assets/NectarineView-DFzKnPH3.js","assets/useAuthenticatedUserId-DCPU3wIi.js","assets/more-horizontal-D4uks53K.js","assets/OrangeView-BohHNra6.js","assets/PurchaseModal-HYT6IHAF.js","assets/index-CEc8lD4r.js","assets/PeachView-BCMXEsC8.js","assets/chunk-Z6RXEUPO-Ct0C92Ip.js","assets/KiwiView-BzVPVyPR.js","assets/Timer-F0hy8vEG.js","assets/DynamicPlaceholderInput-fwYowslf.js","assets/TrioView-DFVfeLgD.js","assets/ChooseContentPack-DCSZvVY9.js","assets/Wiggle-3j78_9Il.js","assets/ContentPackButton-jR_SY58Q.js","assets/getPlayerName-BJI-IYf-.js","assets/hooks-QrNkjtlO.js","assets/GuavaView-Cl87g5hY.js","assets/checkAndModifyImageURLForDiscord-CzthxcAJ.js","assets/Icon_Voted-CDCWFBFe.js","assets/ScoreScreen-Czzmd_pc.js","assets/Scoreboard-DsnQIsTB.js","assets/HoneydewView-CKHAMuh7.js","assets/FarkleberryView-C_ysdR8g.js","assets/AvocadoView-C4-WD4Sw.js","assets/useMcAnimation-DWytllD0.js","assets/DurianView-CBFEGFOc.js","assets/JalapenoView-B2WgKdaE.js"])))=>i.map(i=>d[i]);
var vDe=Object.defineProperty;var TDe=(e,t,r)=>t in e?vDe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ht=(e,t,r)=>TDe(e,typeof t!="symbol"?t+"":t,r);import{aq as Hr,ar as yr,as as oh,at as Ii,au as SDe,av as xDe,aw as Bw,ax as Kle,ay as Xle,az as Qle,aA as wDe,aB as _De,aC as nT,aD as NY,aE as PF,aF as qY,aG as lh,aH as ADe,aI as Jle,aJ as CDe,aK as EDe,aL as PDe,aM as jF,aN as Zle,aO as tS,aP as ece,aQ as zY,aR as jDe,aS as RDe,aT as yR,aU as IDe,aV as RF,aW as WY,aX as rs,aY as tce,aZ as jp,a_ as Nw,a$ as vR,b0 as rce,b1 as Ga,b2 as HY,b3 as ODe,b4 as f5,b5 as rS,b6 as UY,b7 as MDe,b8 as GY,b9 as xm,ba as nce,bb as TR,bc as kDe,bd as ice,be as VY,bf as DDe,bg as YY,bh as IF,bi as LDe,bj as FDe,bk as Ln,bl as _y,bm as $De,bn as Km,bo as qw,bp as BDe,bq as NDe,br as m5,bs as KY,bt as XY,bu as ace,bv as sce,bw as oce,bx as qDe,by as zDe,bz as WDe,r as j,bA as lce,bB as OF,bC as cce,bD as QY,bE as uce,bF as HDe,bG as UDe,bH as GDe,j as f,bI as VDe,bJ as YDe,F as Ld,bK as dce,bL as KDe,bM as XDe,bN as QDe,bO as JDe,bP as nS,bQ as ZDe,bR as eLe,bS as tLe,R as Se,bT as pce,bU as hce,bV as rLe,bW as nLe,bX as iLe,al as iS,c as Yt,o as vn,bY as aLe,bZ as fr,b_ as p8,aj as Kr,am as fce,b$ as sLe,ak as zw,c0 as oLe,c1 as lLe,c2 as cLe,c3 as MF,c4 as kF,c5 as mce,c6 as uLe,c7 as dLe,c8 as JY,c9 as DF,ca as gce,a3 as bce,v as xo,X as Me,W as k0,g as ft,s as jo,cb as yce,cc as vce,p as Jt,an as Pe,cd as Tce,N as Fl,ce as J7,O as zh,l as Jc,ad as p1,cf as g5,cg as Sce,a7 as LF,ch as wm,q as Qr,ci as gd,cj as tr,ck as xce,cl as Z7,cm as ev,i as Wh,K as ga,Y as wce,a4 as Ww,h as pLe,cn as Tt,co as qc,a9 as f0,cp as hLe,x as lu,a8 as FF,aa as Hw,cq as _ce,cr as fLe,cs as mLe,ct as Ace,cu as Cce,ah as SR,cv as $F,I as _m,a0 as $l,cw as xR,b as Ece,cx as gLe,cy as BF,cz as iT,cA as aS,cB as bLe,cC as yLe,cD as vLe,cE as Pce,cF as jce,cG as gr,cH as TLe,cI as SLe,H as ra,V as Ea,cJ as Rce,cK as Ice,a5 as Oce,m as xLe,d as Uw,cL as wLe,cM as _Le,cN as ALe,cO as ZY,cP as CLe,cQ as Mce,cR as ELe,cS as Gw,n as kce,cT as Dce,cU as Mp,cV as Lce,cW as eK,cX as Fce,cY as $ce,cZ as PLe,c_ as jLe,c$ as Hh,d0 as RLe,a6 as NF,d1 as pa,d2 as ILe,d3 as Fd,u as fn,d4 as qF,d5 as Am,a as Uh,d6 as Bce,d7 as OLe,d8 as h1,t as zF,ag as bd,d9 as ch,G as Nce,da as MLe,db as WF,J as sS,z as Ay,ap as tv,dc as rv,dd as Vw,de as kLe,df as DLe,dg as nv,dh as $d,di as iv,dj as Ro,dk as Bd,dl as LLe,dm as HF,dn as Yw,dp as qce,dq as Kw,dr as zce,ds as FLe,dt as Xw,du as Wce,dv as $Le,dw as Hce,dx as BLe,dy as NLe,dz as qLe,dA as UF,dB as Qw,dC as Jw,dD as GF,dE as Uce,dF as zLe,dG as WLe,dH as Gce,dI as HLe,dJ as VF,dK as Vce,dL as ULe,dM as GLe,dN as VLe,dO as YLe,dP as YF,dQ as Pl,dR as KLe,A as XLe,B as Zw,ae as Yce,dS as KF,dT as QLe,a2 as JLe,dU as ZLe,dV as eFe,dW as Kce,dX as XF,Z as Xce,dY as QF,dZ as tFe,d_ as rFe,E as nFe,d$ as JF,e0 as Qce,e1 as iFe,e2 as Jce,e3 as aFe,e4 as sFe,f as oFe,e5 as Zce,e6 as lFe,e7 as eue,e8 as cFe,e9 as uFe,ea as h8,eb as dFe,ec as pFe,ed as ZF,U as e6,ee as t6,ef as tue,eg as wR,$ as hFe,eh as fFe,ei as mFe,ej as _R,ek as gFe,el as bFe,em as yFe,en as vFe,eo as TFe,ep as SFe,eq as xFe,er as wFe,es as _Fe,et as AFe,eu as CFe,ev as rue,ew as f1,ex as nue,ey as AR,ez as EFe,w as PFe,eA as tK,eB as r6,eC as jFe,eD as av,eE as RFe,eF as IFe,eG as rK,eH as OFe,eI as MFe,eJ as kFe,eK as DFe,eL as LFe,eM as FFe,eN as iue,eO as nK,eP as $Fe,eQ as iK,eR as aK}from"./index-CaRmL4Xm.js";const aT={},sK={};function Gh(e,t){aT[e]=aT[e]||[],aT[e].push(t)}function Vh(e,t){if(!sK[e]){sK[e]=!0;try{t()}catch(r){Hr&&yr.error(`Error while instrumenting ${e}`,r)}}}function mo(e,t){const r=e&&aT[e];if(r)for(const n of r)try{n(t)}catch(i){Hr&&yr.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${oh(n)}
Error:`,i)}}let f8=null;function BFe(e){const t="error";Gh(t,e),Vh(t,NFe)}function NFe(){f8=Ii.onerror,Ii.onerror=function(e,t,r,n,i){return mo("error",{column:n,error:i,line:r,msg:e,url:t}),f8?f8.apply(this,arguments):!1},Ii.onerror.__SENTRY_INSTRUMENTED__=!0}let m8=null;function qFe(e){const t="unhandledrejection";Gh(t,e),Vh(t,zFe)}function zFe(){m8=Ii.onunhandledrejection,Ii.onunhandledrejection=function(e){return mo("unhandledrejection",e),m8?m8.apply(this,arguments):!0},Ii.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function WFe(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(!(typeof t!="number"||isNaN(t)||t<0||t>1))return t}function sv(e,t=[]){return[e,t]}function HFe(e,t){const[r,n]=e;return[r,[...n,t]]}function oK(e,t){const r=e[1];for(const n of r){const i=n[0].type;if(t(n,i))return!0}return!1}function CR(e){const t=xDe(Ii);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function UFe(e){const[t,r]=e;let n=JSON.stringify(t);function i(a){typeof n=="string"?n=typeof a=="string"?n+a:[CR(n),a]:n.push(typeof a=="string"?CR(a):a)}for(const a of r){const[s,o]=a;if(i(`
${JSON.stringify(s)}
`),typeof o=="string"||o instanceof Uint8Array)i(o);else{let l;try{l=JSON.stringify(o)}catch(c){l=JSON.stringify(SDe(o))}i(l)}}return typeof n=="string"?n:GFe(n)}function GFe(e){const t=e.reduce((i,a)=>i+a.length,0),r=new Uint8Array(t);let n=0;for(const i of e)r.set(i,n),n+=i.length;return r}function VFe(e){const t=typeof e.data=="string"?CR(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const YFe={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 lK(e){return YFe[e]}function aue(e){if(!(e!=null&&e.sdk))return;const{name:t,version:r}=e.sdk;return{name:t,version:r}}function KFe(e,t,r,n){var a;const i=(a=e.sdkProcessingMetadata)==null?void 0:a.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!r&&n&&{dsn:Bw(n)},...i&&{trace:i}}}function XFe(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function QFe(e,t,r,n){const i=aue(r),a={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!n&&t&&{dsn:Bw(t)}},s="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return sv(a,[s])}function JFe(e,t,r,n){const i=aue(r),a=e.type&&e.type!=="replay_event"?e.type:"event";XFe(e,r==null?void 0:r.sdk);const s=KFe(e,i,n,t);return delete e.sdkProcessingMetadata,sv(s,[[{type:a},e]])}const cK=[];function ZFe(e){const t={};return e.forEach(r=>{const{name:n}=r,i=t[n];i&&!i.isDefaultInstance&&r.isDefaultInstance||(t[n]=r)}),Object.values(t)}function e$e(e){const t=e.defaultIntegrations||[],r=e.integrations;t.forEach(i=>{i.isDefaultInstance=!0});let n;if(Array.isArray(r))n=[...t,...r];else if(typeof r=="function"){const i=r(t);n=Array.isArray(i)?i:[i]}else n=t;return ZFe(n)}function t$e(e,t){const r={};return t.forEach(n=>{n&&sue(e,n,r)}),r}function uK(e,t){for(const r of t)r!=null&&r.afterAllSetup&&r.afterAllSetup(e)}function sue(e,t,r){if(r[t.name]){Hr&&yr.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,cK.indexOf(t.name)===-1&&typeof t.setupOnce=="function"&&(t.setupOnce(),cK.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(i,a)=>n(i,a,e))}if(typeof t.processEvent=="function"){const n=t.processEvent.bind(t),i=Object.assign((a,s)=>n(a,s,e),{id:t.name});e.addEventProcessor(i)}Hr&&yr.log(`Integration installed: ${t.name}`)}function r$e(e,t,r){const n=[{type:"client_report"},{timestamp:Kle(),discarded_events:e}];return sv(t?{dsn:t}:{},[n])}function oue(e){const t=[];e.message&&t.push(e.message);try{const r=e.exception.values[e.exception.values.length-1];r!=null&&r.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`))}catch(r){}return t}function n$e(e){var l,c,u;const{trace_id:t,parent_span_id:r,span_id:n,status:i,origin:a,data:s,op:o}=(c=(l=e.contexts)==null?void 0:l.trace)!=null?c:{};return{data:s!=null?s:{},description:e.transaction,op:o,parent_span_id:r,span_id:n!=null?n:"",start_timestamp:(u=e.start_timestamp)!=null?u:0,status:i,timestamp:e.timestamp,trace_id:t!=null?t:"",origin:a,profile_id:s==null?void 0:s[Qle],exclusive_time:s==null?void 0:s[Xle],measurements:e.measurements,is_segment:!0}}function i$e(e){return{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[Qle]:e.profile_id},...e.exclusive_time&&{[Xle]:e.exclusive_time}}}},measurements:e.measurements}}const dK="Not capturing exception because it's already been captured.",pK="Discarded session because of missing or non-string release",lue=Symbol.for("SentryInternalError"),cue=Symbol.for("SentryDoNotSendEventError");function sT(e){return{message:e,[lue]:!0}}function g8(e){return{message:e,[cue]:!0}}function hK(e){return!!e&&typeof e=="object"&&lue in e}function fK(e){return!!e&&typeof e=="object"&&cue in e}class a$e{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=wDe(t.dsn):Hr&&yr.warn("No DSN provided, client will not send events."),this._dsn){const r=_De(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:r})}}captureException(t,r,n){const i=nT();if(NY(t))return Hr&&yr.log(dK),i;const a={event_id:i,...r};return this._process(this.eventFromException(t,a).then(s=>this._captureEvent(s,a,n))),a.event_id}captureMessage(t,r,n,i){const a={event_id:nT(),...n},s=ece(t)?t:String(t),o=PF(t)?this.eventFromMessage(s,r,a):this.eventFromException(t,a);return this._process(o.then(l=>this._captureEvent(l,a,i))),a.event_id}captureEvent(t,r,n){const i=nT();if(r!=null&&r.originalException&&NY(r.originalException))return Hr&&yr.log(dK),i;const a={event_id:i,...r},s=t.sdkProcessingMetadata||{},o=s.capturedSpanScope,l=s.capturedSpanIsolationScope;return this._process(this._captureEvent(t,a,o||n,l)),a.event_id}captureSession(t){this.sendSession(t),qY(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const r=this._transport;return r?(this.emit("flush"),this._isClientDoneProcessing(t).then(n=>r.flush(t).then(i=>n&&i))):lh(!0)}close(t){return this.flush(t).then(r=>(this.getOptions().enabled=!1,this.emit("close"),r))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const r=this._integrations[t.name];sue(this,t,this._integrations),r||uK(this,[t])}sendEvent(t,r={}){this.emit("beforeSendEvent",t,r);let n=JFe(t,this._dsn,this._options._metadata,this._options.tunnel);for(const a of r.attachments||[])n=HFe(n,VFe(a));const i=this.sendEnvelope(n);i&&i.then(a=>this.emit("afterSendEvent",t,a),null)}sendSession(t){const{release:r,environment:n=ADe}=this._options;if("aggregates"in t){const a=t.attrs||{};if(!a.release&&!r){Hr&&yr.warn(pK);return}a.release=a.release||r,a.environment=a.environment||n,t.attrs=a}else{if(!t.release&&!r){Hr&&yr.warn(pK);return}t.release=t.release||r,t.environment=t.environment||n}this.emit("beforeSendSession",t);const i=QFe(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(i)}recordDroppedEvent(t,r,n=1){if(this._options.sendClientReports){const i=`${t}:${r}`;Hr&&yr.log(`Recording outcome: "${i}"${n>1?` (${n} times)`:""}`),this._outcomes[i]=(this._outcomes[i]||0)+n}}on(t,r){const n=this._hooks[t]=this._hooks[t]||[];return n.push(r),()=>{const i=n.indexOf(r);i>-1&&n.splice(i,1)}}emit(t,...r){const n=this._hooks[t];n&&n.forEach(i=>i(...r))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,r=>(Hr&&yr.error("Error while sending envelope:",r),r)):(Hr&&yr.error("Transport disabled"),lh({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=t$e(this,t),uK(this,t)}_updateSessionFromEvent(t,r){var l;let n=r.level==="fatal",i=!1;const a=(l=r.exception)==null?void 0:l.values;if(a){i=!0;for(const c of a){const u=c.mechanism;if((u==null?void 0:u.handled)===!1){n=!0;break}}}const s=t.status==="ok";(s&&t.errors===0||s&&n)&&(qY(t,{...n&&{status:"crashed"},errors:t.errors||Number(i||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new Jle(r=>{let n=0;const i=1,a=setInterval(()=>{this._numProcessing==0?(clearInterval(a),r(!0)):(n+=i,t&&n>=t&&(clearInterval(a),r(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,r,n,i){const a=this.getOptions(),s=Object.keys(this._integrations);return!r.integrations&&(s!=null&&s.length)&&(r.integrations=s),this.emit("preprocessEvent",t,r),t.type||i.setLastEventId(t.event_id||r.event_id),CDe(a,t,r,n,this,i).then(o=>{if(o===null)return o;this.emit("postprocessEvent",o,r),o.contexts={trace:EDe(n),...o.contexts};const l=PDe(this,n);return o.sdkProcessingMetadata={dynamicSamplingContext:l,...o.sdkProcessingMetadata},o})}_captureEvent(t,r={},n=jF(),i=Zle()){return Hr&&ER(t)&&yr.log(`Captured error event \`${oue(t)[0]||"<unknown>"}\``),this._processEvent(t,r,n,i).then(a=>a.event_id,a=>{Hr&&(fK(a)?yr.log(a.message):hK(a)?yr.warn(a.message):yr.warn(a))})}_processEvent(t,r,n,i){const a=this.getOptions(),{sampleRate:s}=a,o=uue(t),l=ER(t),c=t.type||"error",u=`before send for type \`${c}\``,d=typeof s>"u"?void 0:WFe(s);if(l&&typeof d=="number"&&Math.random()>d)return this.recordDroppedEvent("sample_rate","error"),tS(g8(`Discarding event because it's not included in the random sample (sampling rate = ${s})`));const h=c==="replay_event"?"replay":c;return this._prepareEvent(t,r,n,i).then(p=>{if(p===null)throw this.recordDroppedEvent("event_processor",h),g8("An event processor returned `null`, will not send event.");if(r.data&&r.data.__sentry__===!0)return p;const g=o$e(this,a,p,r);return s$e(g,u)}).then(p=>{var b;if(p===null){if(this.recordDroppedEvent("before_send",h),o){const v=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",v)}throw g8(`${u} returned \`null\`, will not send event.`)}const m=n.getSession()||i.getSession();if(l&&m&&this._updateSessionFromEvent(m,p),o){const y=((b=p.sdkProcessingMetadata)==null?void 0:b.spanCountBeforeProcessing)||0,v=p.spans?p.spans.length:0,S=y-v;S>0&&this.recordDroppedEvent("before_send","span",S)}const g=p.transaction_info;if(o&&g&&p.transaction!==t.transaction){const y="custom";p.transaction_info={...g,source:y}}return this.sendEvent(p,r),p}).then(null,p=>{throw fK(p)||hK(p)?p:(this.captureException(p,{data:{__sentry__:!0},originalException:p}),sT(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
Reason: ${p}`))})}_process(t){this._numProcessing++,t.then(r=>(this._numProcessing--,r),r=>(this._numProcessing--,r))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([r,n])=>{const[i,a]=r.split(":");return{reason:i,category:a,quantity:n}})}_flushOutcomes(){Hr&&yr.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){Hr&&yr.log("No outcomes to send");return}if(!this._dsn){Hr&&yr.log("No dsn provided, will not send outcomes");return}Hr&&yr.log("Sending outcomes:",t);const r=r$e(t,this._options.tunnel&&Bw(this._dsn));this.sendEnvelope(r)}}function s$e(e,t){const r=`${t} must return \`null\` or a valid event.`;if(RDe(e))return e.then(n=>{if(!yR(n)&&n!==null)throw sT(r);return n},n=>{throw sT(`${t} rejected with ${n}`)});if(!yR(e)&&e!==null)throw sT(r);return e}function o$e(e,t,r,n){const{beforeSend:i,beforeSendTransaction:a,beforeSendSpan:s}=t;let o=r;if(ER(o)&&i)return i(o,n);if(uue(o)){if(s){const l=s(n$e(o));if(l?o=jDe(r,i$e(l)):zY(),o.spans){const c=[];for(const u of o.spans){const d=s(u);d?c.push(d):(zY(),c.push(u))}o.spans=c}}if(a){if(o.spans){const l=o.spans.length;o.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:l}}return a(o,n)}}return o}function ER(e){return e.type===void 0}function uue(e){return e.type==="transaction"}function l$e(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}function c$e(e,t,r,n){const i={};return t!=null&&t.sdk&&(i.sdk={name:t.sdk.name,version:t.sdk.version}),r&&n&&(i.dsn=Bw(n)),sv(i,[l$e(e)])}function b8(e,t){var a;const r=(a=u$e(e))!=null?a:[];if(r.length===0)return;const n=e.getOptions(),i=c$e(r,n._metadata,n.tunnel,e.getDsn());due().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(i)}function u$e(e){return due().get(e)}function due(){return IDe("clientToLogBufferMap",()=>new WeakMap)}function d$e(e,t){t.debug===!0&&(Hr?yr.enable():RF(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),jF().update(t.initialScope);const n=new e(t);return p$e(n),n.init(),n}function p$e(e){jF().setClient(e)}const pue=Symbol.for("SentryBufferFullError");function h$e(e){const t=[];function r(){return e===void 0||t.length<e}function n(s){return t.splice(t.indexOf(s),1)[0]||Promise.resolve(void 0)}function i(s){if(!r())return tS(pue);const o=s();return t.indexOf(o)===-1&&t.push(o),o.then(()=>n(o)).then(null,()=>n(o).then(null,()=>{})),o}function a(s){return new Jle((o,l)=>{let c=t.length;if(!c)return o(!0);const u=setTimeout(()=>{s&&s>0&&o(!1)},s);t.forEach(d=>{lh(d).then(()=>{--c||(clearTimeout(u),o(!0))},l)})})}return{$:t,add:i,drain:a}}const f$e=60*1e3;function m$e(e,t=Date.now()){const r=parseInt(`${e}`,10);if(!isNaN(r))return r*1e3;const n=Date.parse(`${e}`);return isNaN(n)?f$e:n-t}function g$e(e,t){return e[t]||e.all||0}function b$e(e,t,r=Date.now()){return g$e(e,t)>r}function y$e(e,{statusCode:t,headers:r},n=Date.now()){const i={...e},a=r==null?void 0:r["x-sentry-rate-limits"],s=r==null?void 0:r["retry-after"];if(a)for(const o of a.trim().split(",")){const[l,c,,,u]=o.split(":",5),d=parseInt(l,10),h=(isNaN(d)?60:d)*1e3;if(!c)i.all=n+h;else for(const p of c.split(";"))p==="metric_bucket"?(!u||u.split(";").includes("custom"))&&(i[p]=n+h):i[p]=n+h}else s?i.all=n+m$e(s,n):t===429&&(i.all=n+60*1e3);return i}const v$e=64;function T$e(e,t,r=h$e(e.bufferSize||v$e)){let n={};const i=s=>r.drain(s);function a(s){const o=[];if(oK(s,(d,h)=>{const p=lK(h);b$e(n,p)?e.recordDroppedEvent("ratelimit_backoff",p):o.push(d)}),o.length===0)return lh({});const l=sv(s[0],o),c=d=>{oK(l,(h,p)=>{e.recordDroppedEvent(d,lK(p))})},u=()=>t({body:UFe(l)}).then(d=>(d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&Hr&&yr.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),n=y$e(n,d),d),d=>{throw c("network_error"),Hr&&yr.error("Encountered error running transport request:",d),d});return r.add(u).then(d=>d,d=>{if(d===pue)return Hr&&yr.error("Skipped sending event because buffer is full."),c("queue_overflow"),lh({});throw d})}return{send:a,flush:i}}function S$e(e){var t;((t=e.user)==null?void 0:t.ip_address)===void 0&&(e.user={...e.user,ip_address:"{{auto}}"})}function x$e(e){var t;"aggregates"in e?((t=e.attrs)==null?void 0:t.ip_address)===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):e.ipAddress===void 0&&(e.ipAddress="{{auto}}")}function hue(e,t,r=[t],n="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:r.map(a=>({name:`${n}:@sentry/${a}`,version:WY})),version:WY}),e._metadata=i}const w$e=100;function uh(e,t){const r=rs(),n=Zle();if(!r)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:a=w$e}=r.getOptions();if(a<=0)return;const o={timestamp:Kle(),...e},l=i?RF(()=>i(o,t)):o;l!==null&&(r.emit&&r.emit("beforeAddBreadcrumb",l,t),n.addBreadcrumb(l,a))}let mK;const _$e="FunctionToString",gK=new WeakMap,A$e=(()=>({name:_$e,setupOnce(){mK=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=tce(this),r=gK.has(rs())&&t!==void 0?t:this;return mK.apply(r,e)}}catch(e){}},setup(e){gK.set(e,!0)}})),C$e=A$e,E$e=[/^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$/],P$e="EventFilters",j$e=(e={})=>{let t;return{name:P$e,setup(r){const n=r.getOptions();t=bK(e,n)},processEvent(r,n,i){if(!t){const a=i.getOptions();t=bK(e,a)}return I$e(r,t)?null:r}}},R$e=((e={})=>({...j$e(e),name:"InboundFilters"}));function bK(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:E$e],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function I$e(e,t){if(e.type){if(e.type==="transaction"&&M$e(e,t.ignoreTransactions))return Hr&&yr.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
Event: ${jp(e)}`),!0}else{if(O$e(e,t.ignoreErrors))return Hr&&yr.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${jp(e)}`),!0;if(F$e(e))return Hr&&yr.warn(`Event dropped due to not having an error message, error type or stacktrace.
Event: ${jp(e)}`),!0;if(k$e(e,t.denyUrls))return Hr&&yr.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${jp(e)}.
Url: ${oS(e)}`),!0;if(!D$e(e,t.allowUrls))return Hr&&yr.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${jp(e)}.
Url: ${oS(e)}`),!0}return!1}function O$e(e,t){return t!=null&&t.length?oue(e).some(r=>Nw(r,t)):!1}function M$e(e,t){if(!(t!=null&&t.length))return!1;const r=e.transaction;return r?Nw(r,t):!1}function k$e(e,t){if(!(t!=null&&t.length))return!1;const r=oS(e);return r?Nw(r,t):!1}function D$e(e,t){if(!(t!=null&&t.length))return!0;const r=oS(e);return r?Nw(r,t):!0}function L$e(e=[]){for(let t=e.length-1;t>=0;t--){const r=e[t];if(r&&r.filename!=="<anonymous>"&&r.filename!=="[native code]")return r.filename||null}return null}function oS(e){var t,r,n;try{const i=[...(r=(t=e.exception)==null?void 0:t.values)!=null?r:[]].reverse().find(s=>{var o,l,c;return((o=s.mechanism)==null?void 0:o.parent_id)===void 0&&((c=(l=s.stacktrace)==null?void 0:l.frames)==null?void 0:c.length)}),a=(n=i==null?void 0:i.stacktrace)==null?void 0:n.frames;return a?L$e(a):null}catch(i){return Hr&&yr.error(`Cannot extract url for event ${jp(e)}`),null}}function F$e(e){var t,r;return(r=(t=e.exception)==null?void 0:t.values)!=null&&r.length?!e.message&&!e.exception.values.some(n=>n.stacktrace||n.type&&n.type!=="Error"||n.value):!1}function $$e(e,t,r,n,i,a){var o;if(!((o=i.exception)!=null&&o.values)||!a||!vR(a.originalException,Error))return;const s=i.exception.values.length>0?i.exception.values[i.exception.values.length-1]:void 0;s&&(i.exception.values=PR(e,t,n,a.originalException,r,i.exception.values,s,0))}function PR(e,t,r,n,i,a,s,o){if(a.length>=r+1)return a;let l=[...a];if(vR(n[i],Error)){yK(s,o);const c=e(t,n[i]),u=l.length;vK(c,i,u,o),l=PR(e,t,r,n[i],i,[c,...l],c,u)}return Array.isArray(n.errors)&&n.errors.forEach((c,u)=>{if(vR(c,Error)){yK(s,o);const d=e(t,c),h=l.length;vK(d,`errors[${u}]`,h,o),l=PR(e,t,r,c,i,[d,...l],d,h)}}),l}function yK(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function vK(e,t,r,n){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}function fue(e){const t="console";Gh(t,e),Vh(t,B$e)}function B$e(){"console"in Ii&&rce.forEach(function(e){e in Ii.console&&Ga(Ii.console,e,function(t){return HY[e]=t,function(...r){mo("console",{args:r,level:e});const i=HY[e];i==null||i.apply(Ii.console,r)}})})}function mue(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const N$e="CaptureConsole",q$e=((e={})=>{var n;const t=e.levels||rce,r=(n=e.handled)!=null?n:!0;return{name:N$e,setup(i){"console"in Ii&&fue(({args:a,level:s})=>{rs()!==i||!t.includes(s)||W$e(a,s,r)})}}}),z$e=q$e;function W$e(e,t,r){const n={level:mue(t),extra:{arguments:e}};ODe(i=>{if(i.addEventProcessor(o=>(o.logger="console",f5(o,{handled:r,type:"console"}),o)),t==="assert"){if(!e[0]){const o=`Assertion failed: ${rS(e.slice(1)," ")||"console.assert"}`;i.setExtra("arguments",e.slice(1)),UY(o,n)}return}const a=e.find(o=>o instanceof Error);if(a){MDe(a,n);return}const s=rS(e," ");UY(s,n)})}const H$e="Dedupe",U$e=(()=>{let e;return{name:H$e,processEvent(t){if(t.type)return t;try{if(V$e(t,e))return Hr&&yr.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(r){}return e=t}}}),G$e=U$e;function V$e(e,t){return t?!!(Y$e(e,t)||K$e(e,t)):!1}function Y$e(e,t){const r=e.message,n=t.message;return!(!r&&!n||r&&!n||!r&&n||r!==n||!bue(e,t)||!gue(e,t))}function K$e(e,t){const r=TK(t),n=TK(e);return!(!r||!n||r.type!==n.type||r.value!==n.value||!bue(e,t)||!gue(e,t))}function gue(e,t){let r=GY(e),n=GY(t);if(!r&&!n)return!0;if(r&&!n||!r&&n||(r=r,n=n,n.length!==r.length))return!1;for(let i=0;i<n.length;i++){const a=n[i],s=r[i];if(a.filename!==s.filename||a.lineno!==s.lineno||a.colno!==s.colno||a.function!==s.function)return!1}return!0}function bue(e,t){let r=e.fingerprint,n=t.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;r=r,n=n;try{return r.join("")===n.join("")}catch(i){return!1}}function TK(e){var t,r;return(r=(t=e.exception)==null?void 0:t.values)==null?void 0:r[0]}function y8(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const r=t[6]||"",n=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:n,relative:t[5]+r+n}}function yue(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const b5=Ii;function X$e(){return"history"in b5&&!!b5.history}function Q$e(){if(!("fetch"in b5))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function jR(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function J$e(){var r;if(typeof EdgeRuntime=="string")return!0;if(!Q$e())return!1;if(jR(b5.fetch))return!0;let e=!1;const t=b5.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),(r=n.contentWindow)!=null&&r.fetch&&(e=jR(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){Hr&&yr.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function Z$e(e,t){const r="fetch";Gh(r,e),Vh(r,()=>eBe(void 0,t))}function eBe(e,t=!1){t&&!J$e()||Ga(Ii,"fetch",function(r){return function(...n){const i=new Error,{method:a,url:s}=tBe(n),o={args:n,fetchData:{method:a,url:s},startTimestamp:xm()*1e3,virtualError:i,headers:rBe(n)};return mo("fetch",{...o}),r.apply(Ii,n).then(async l=>(mo("fetch",{...o,endTimestamp:xm()*1e3,response:l}),l),l=>{if(mo("fetch",{...o,endTimestamp:xm()*1e3,error:l}),nce(l)&&l.stack===void 0&&(l.stack=i.stack,TR(l,"framesToPop",1)),l instanceof TypeError&&(l.message==="Failed to fetch"||l.message==="Load failed"||l.message==="NetworkError when attempting to fetch resource."))try{const c=new URL(o.fetchData.url);l.message=`${l.message} (${c.host})`}catch(c){}throw l})}})}function RR(e,t){return!!e&&typeof e=="object"&&!!e[t]}function SK(e){return typeof e=="string"?e:e?RR(e,"url")?e.url:e.toString?e.toString():"":""}function tBe(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[r,n]=e;return{url:SK(r),method:RR(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:SK(t),method:RR(t,"method")?String(t.method).toUpperCase():"GET"}}function rBe(e){const[t,r]=e;try{if(typeof r=="object"&&r!==null&&"headers"in r&&r.headers)return new Headers(r.headers);if(kDe(t))return new Headers(t.headers)}catch(n){}}function nBe(){return"npm"}function e$(e,t){const r=t$(e,t),n={type:lBe(t),value:cBe(t)};return r.length&&(n.stacktrace={frames:r}),n.type===void 0&&n.value===""&&(n.value="Unrecoverable error caught"),n}function iBe(e,t,r,n){const i=rs(),a=i==null?void 0:i.getOptions().normalizeDepth,s=fBe(t),o={__serialized__:LDe(t,a)};if(s)return{exception:{values:[e$(e,s)]},extra:o};const l={exception:{values:[{type:IF(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:pBe(t,{isUnhandledRejection:n})}]},extra:o};if(r){const c=t$(e,r);c.length&&(l.exception.values[0].stacktrace={frames:c})}return l}function v8(e,t){return{exception:{values:[e$(e,t)]}}}function t$(e,t){const r=t.stacktrace||t.stack||"",n=sBe(t),i=oBe(t);try{return e(r,n,i)}catch(a){}return[]}const aBe=/Minified React error #\d+;/i;function sBe(e){return e&&aBe.test(e.message)?1:0}function oBe(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function vue(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function lBe(e){const t=e==null?void 0:e.name;return!t&&vue(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function cBe(e){const t=e==null?void 0:e.message;return vue(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function uBe(e,t,r,n){const i=(r==null?void 0:r.syntheticException)||void 0,a=r$(e,t,i,n);return f5(a),a.level="error",r!=null&&r.event_id&&(a.event_id=r.event_id),lh(a)}function dBe(e,t,r="info",n,i){const a=(n==null?void 0:n.syntheticException)||void 0,s=IR(e,t,a,i);return s.level=r,n!=null&&n.event_id&&(s.event_id=n.event_id),lh(s)}function r$(e,t,r,n,i){let a;if(ice(t)&&t.error)return v8(e,t.error);if(VY(t)||DDe(t)){const s=t;if("stack"in t)a=v8(e,t);else{const o=s.name||(VY(s)?"DOMError":"DOMException"),l=s.message?`${o}: ${s.message}`:o;a=IR(e,l,r,n),YY(a,l)}return"code"in s&&(a.tags={...a.tags,"DOMException.code":`${s.code}`}),a}return nce(t)?v8(e,t):yR(t)||IF(t)?(a=iBe(e,t,r,i),f5(a,{synthetic:!0}),a):(a=IR(e,t,r,n),YY(a,`${t}`),f5(a,{synthetic:!0}),a)}function IR(e,t,r,n){const i={};if(n&&r){const a=t$(e,r);a.length&&(i.exception={values:[{value:t,stacktrace:{frames:a}}]}),f5(i,{synthetic:!0})}if(ece(t)){const{__sentry_template_string__:a,__sentry_template_values__:s}=t;return i.logentry={message:a,params:s},i}return i.message=t,i}function pBe(e,{isUnhandledRejection:t}){const r=FDe(e),n=t?"promise rejection":"exception";return ice(e)?`Event \`ErrorEvent\` captured as ${n} with message \`${e.message}\``:IF(e)?`Event \`${hBe(e)}\` (type=${e.type}) captured as ${n}`:`Object captured as ${n} with keys: ${r}`}function hBe(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(t){}}function fBe(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const r=e[t];if(r instanceof Error)return r}}const mBe=5e3;class gBe extends a$e{constructor(t){const r=bBe(t),n=Ln.SENTRY_SDK_SOURCE||nBe();hue(r,"browser",["browser"],n),super(r);const{sendDefaultPii:i,sendClientReports:a,enableLogs:s,_experiments:o}=this._options,l=s!=null?s:o==null?void 0:o.enableLogs;Ln.document&&(a||l)&&Ln.document.addEventListener("visibilitychange",()=>{Ln.document.visibilityState==="hidden"&&(a&&this._flushOutcomes(),l&&b8(this))}),l&&(this.on("flush",()=>{b8(this)}),this.on("afterCaptureLog",()=>{this._logFlushIdleTimeout&&clearTimeout(this._logFlushIdleTimeout),this._logFlushIdleTimeout=setTimeout(()=>{b8(this)},mBe)})),i&&(this.on("postprocessEvent",S$e),this.on("beforeSendSession",x$e))}eventFromException(t,r){return uBe(this._options.stackParser,t,r,this._options.attachStacktrace)}eventFromMessage(t,r="info",n){return dBe(this._options.stackParser,t,r,n,this._options.attachStacktrace)}_prepareEvent(t,r,n,i){return t.platform=t.platform||"javascript",super._prepareEvent(t,r,n,i)}}function bBe(e){var t;return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:(t=Ln.SENTRY_RELEASE)==null?void 0:t.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}const yBe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Xi=Ii,vBe=1e3;let xK,OR,MR;function TBe(e){Gh("dom",e),Vh("dom",SBe)}function SBe(){if(!Xi.document)return;const e=mo.bind(null,"dom"),t=wK(e,!0);Xi.document.addEventListener("click",t,!1),Xi.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(r=>{var a,s;const i=(a=Xi[r])==null?void 0:a.prototype;(s=i==null?void 0:i.hasOwnProperty)!=null&&s.call(i,"addEventListener")&&(Ga(i,"addEventListener",function(o){return function(l,c,u){if(l==="click"||l=="keypress")try{const d=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},h=d[l]=d[l]||{refCount:0};if(!h.handler){const p=wK(e);h.handler=p,o.call(this,l,p,u)}h.refCount++}catch(d){}return o.call(this,l,c,u)}}),Ga(i,"removeEventListener",function(o){return function(l,c,u){if(l==="click"||l=="keypress")try{const d=this.__sentry_instrumentation_handlers__||{},h=d[l];h&&(h.refCount--,h.refCount<=0&&(o.call(this,l,h.handler,u),h.handler=void 0,delete d[l]),Object.keys(d).length===0&&delete this.__sentry_instrumentation_handlers__)}catch(d){}return o.call(this,l,c,u)}}))})}function xBe(e){if(e.type!==OR)return!1;try{if(!e.target||e.target._sentryId!==MR)return!1}catch(t){}return!0}function wBe(e,t){return e!=="keypress"?!1:t!=null&&t.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function wK(e,t=!1){return r=>{if(!r||r._sentryCaptured)return;const n=_Be(r);if(wBe(r.type,n))return;TR(r,"_sentryCaptured",!0),n&&!n._sentryId&&TR(n,"_sentryId",nT());const i=r.type==="keypress"?"input":r.type;xBe(r)||(e({event:r,name:i,global:t}),OR=r.type,MR=n?n._sentryId:void 0),clearTimeout(xK),xK=Xi.setTimeout(()=>{MR=void 0,OR=void 0},vBe)}}function _Be(e){try{return e.target}catch(t){return null}}let F2;function Tue(e){const t="history";Gh(t,e),Vh(t,ABe)}function ABe(){if(Xi.addEventListener("popstate",()=>{const t=Xi.location.href,r=F2;if(F2=t,r===t)return;mo("history",{from:r,to:t})}),!X$e())return;function e(t){return function(...r){const n=r.length>2?r[2]:void 0;if(n){const i=F2,a=CBe(String(n));if(F2=a,i===a)return t.apply(this,r);mo("history",{from:i,to:a})}return t.apply(this,r)}}Ga(Xi.history,"pushState",e),Ga(Xi.history,"replaceState",e)}function CBe(e){try{return new URL(e,Xi.location.origin).toString()}catch(t){return e}}const oT={};function EBe(e){const t=oT[e];if(t)return t;let r=Xi[e];if(jR(r))return oT[e]=r.bind(Xi);const n=Xi.document;if(n&&typeof n.createElement=="function")try{const i=n.createElement("iframe");i.hidden=!0,n.head.appendChild(i);const a=i.contentWindow;a!=null&&a[e]&&(r=a[e]),n.head.removeChild(i)}catch(i){yBe&&yr.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,i)}return r&&(oT[e]=r.bind(Xi))}function _K(e){oT[e]=void 0}const Nb="__sentry_xhr_v3__";function PBe(e){Gh("xhr",e),Vh("xhr",jBe)}function jBe(){if(!Xi.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,r,n){const i=new Error,a=xm()*1e3,s=_y(n[0])?n[0].toUpperCase():void 0,o=RBe(n[1]);if(!s||!o)return t.apply(r,n);r[Nb]={method:s,url:o,request_headers:{}},s==="POST"&&o.match(/sentry_key/)&&(r.__sentry_own_request__=!0);const l=()=>{const c=r[Nb];if(c&&r.readyState===4){try{c.status_code=r.status}catch(d){}const u={endTimestamp:xm()*1e3,startTimestamp:a,xhr:r,virtualError:i};mo("xhr",u)}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?r.onreadystatechange=new Proxy(r.onreadystatechange,{apply(c,u,d){return l(),c.apply(u,d)}}):r.addEventListener("readystatechange",l),r.setRequestHeader=new Proxy(r.setRequestHeader,{apply(c,u,d){const[h,p]=d,m=u[Nb];return m&&_y(h)&&_y(p)&&(m.request_headers[h.toLowerCase()]=p),c.apply(u,d)}}),t.apply(r,n)}}),e.send=new Proxy(e.send,{apply(t,r,n){const i=r[Nb];if(!i)return t.apply(r,n);n[0]!==void 0&&(i.body=n[0]);const a={startTimestamp:xm()*1e3,xhr:r};return mo("xhr",a),t.apply(r,n)}})}function RBe(e){if(_y(e))return e;try{return e.toString()}catch(t){}}function IBe(e,t=EBe("fetch")){let r=0,n=0;function i(a){const s=a.body.length;r+=s,n++;const o={body:a.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:r<=6e4&&n<15,...e.fetchOptions};if(!t)return _K("fetch"),tS("No fetch implementation available");try{return t(e.url,o).then(l=>(r-=s,n--,{statusCode:l.status,headers:{"x-sentry-rate-limits":l.headers.get("X-Sentry-Rate-Limits"),"retry-after":l.headers.get("Retry-After")}}))}catch(l){return _K("fetch"),r-=s,n--,tS(l)}}return T$e(e,i)}const OBe=30,MBe=50;function kR(e,t,r,n){const i={filename:e,function:t==="<anonymous>"?Km:t,in_app:!0};return r!==void 0&&(i.lineno=r),n!==void 0&&(i.colno=n),i}const kBe=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,DBe=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,LBe=/\((\S*)(?::(\d+))(?::(\d+))\)/,FBe=e=>{const t=kBe.exec(e);if(t){const[,n,i,a]=t;return kR(n,Km,+i,+a)}const r=DBe.exec(e);if(r){if(r[2]&&r[2].indexOf("eval")===0){const s=LBe.exec(r[2]);s&&(r[2]=s[1],r[3]=s[2],r[4]=s[3])}const[i,a]=Sue(r[1]||Km,r[2]);return kR(a,i,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}},$Be=[OBe,FBe],BBe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,NBe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,qBe=e=>{const t=BBe.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const a=NBe.exec(t[3]);a&&(t[1]=t[1]||"eval",t[3]=a[1],t[4]=a[2],t[5]="")}let n=t[3],i=t[1]||Km;return[i,n]=Sue(i,n),kR(n,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},zBe=[MBe,qBe],WBe=[$Be,zBe],HBe=$De(...WBe),Sue=(e,t)=>{const r=e.indexOf("safari-extension")!==-1,n=e.indexOf("safari-web-extension")!==-1;return r||n?[e.indexOf("@")!==-1?e.split("@")[0]:Km,r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},$2=1024,UBe="Breadcrumbs",GBe=((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:UBe,setup(r){t.console&&fue(XBe(r)),t.dom&&TBe(KBe(r,t.dom)),t.xhr&&PBe(QBe(r)),t.fetch&&Z$e(JBe(r)),t.history&&Tue(ZBe(r)),t.sentry&&r.on("beforeSendEvent",YBe(r))}}}),VBe=GBe;function YBe(e){return function(r){rs()===e&&uh({category:`sentry.${r.type==="transaction"?"transaction":"event"}`,event_id:r.event_id,level:r.level,message:jp(r)},{event:r})}}function KBe(e,t){return function(n){if(rs()!==e)return;let i,a,s=typeof t=="object"?t.serializeAttribute:void 0,o=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;o&&o>$2&&(qw&&yr.warn(`\`dom.maxStringLength\` cannot exceed ${$2}, but a value of ${o} was configured. Sentry will use ${$2} instead.`),o=$2),typeof s=="string"&&(s=[s]);try{const c=n.event,u=eNe(c)?c.target:c;i=BDe(u,{keyAttrs:s,maxStringLength:o}),a=NDe(u)}catch(c){i="<unknown>"}if(i.length===0)return;const l={category:`ui.${n.name}`,message:i};a&&(l.data={"ui.component_name":a}),uh(l,{event:n.event,name:n.name,global:n.global})}}function XBe(e){return function(r){if(rs()!==e)return;const n={category:"console",data:{arguments:r.args,logger:"console"},level:mue(r.level),message:rS(r.args," ")};if(r.level==="assert")if(r.args[0]===!1)n.message=`Assertion failed: ${rS(r.args.slice(1)," ")||"console.assert"}`,n.data.arguments=r.args.slice(1);else return;uh(n,{input:r.args,level:r.level})}}function QBe(e){return function(r){if(rs()!==e)return;const{startTimestamp:n,endTimestamp:i}=r,a=r.xhr[Nb];if(!n||!i||!a)return;const{method:s,url:o,status_code:l,body:c}=a,u={method:s,url:o,status_code:l},d={xhr:r.xhr,input:c,startTimestamp:n,endTimestamp:i},h={category:"xhr",data:u,type:"http",level:yue(l)};e.emit("beforeOutgoingRequestBreadcrumb",h,d),uh(h,d)}}function JBe(e){return function(r){if(rs()!==e)return;const{startTimestamp:n,endTimestamp:i}=r;if(i&&!(r.fetchData.url.match(/sentry_key/)&&r.fetchData.method==="POST"))if(r.fetchData.method,r.fetchData.url,r.error){const a=r.fetchData,s={data:r.error,input:r.args,startTimestamp:n,endTimestamp:i},o={category:"fetch",data:a,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",o,s),uh(o,s)}else{const a=r.response,s={...r.fetchData,status_code:a==null?void 0:a.status};r.fetchData.request_body_size,r.fetchData.response_body_size,a==null||a.status;const o={input:r.args,response:a,startTimestamp:n,endTimestamp:i},l={category:"fetch",data:s,type:"http",level:yue(s.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",l,o),uh(l,o)}}}function ZBe(e){return function(r){if(rs()!==e)return;let n=r.from,i=r.to;const a=y8(Ln.location.href);let s=n?y8(n):void 0;const o=y8(i);s!=null&&s.path||(s=a),a.protocol===o.protocol&&a.host===o.host&&(i=o.relative),a.protocol===s.protocol&&a.host===s.host&&(n=s.relative),uh({category:"navigation",data:{from:n,to:i}})}}function eNe(e){return!!e&&!!e.target}const tNe=["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"],rNe="BrowserApiErrors",nNe=((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:rNe,setupOnce(){t.setTimeout&&Ga(Ln,"setTimeout",AK),t.setInterval&&Ga(Ln,"setInterval",AK),t.requestAnimationFrame&&Ga(Ln,"requestAnimationFrame",aNe),t.XMLHttpRequest&&"XMLHttpRequest"in Ln&&Ga(XMLHttpRequest.prototype,"send",sNe);const r=t.eventTarget;r&&(Array.isArray(r)?r:tNe).forEach(i=>oNe(i,t))}}}),iNe=nNe;function AK(e){return function(...t){const r=t[0];return t[0]=m5(r,{mechanism:{data:{function:oh(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function aNe(e){return function(t){return e.apply(this,[m5(t,{mechanism:{data:{function:"requestAnimationFrame",handler:oh(e)},handled:!1,type:"instrument"}})])}}function sNe(e){return function(...t){const r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in r&&typeof r[i]=="function"&&Ga(r,i,function(a){const s={mechanism:{data:{function:i,handler:oh(a)},handled:!1,type:"instrument"}},o=tce(a);return o&&(s.mechanism.data.handler=oh(o)),m5(a,s)})}),e.apply(this,t)}}function oNe(e,t){var i,a;const n=(i=Ln[e])==null?void 0:i.prototype;(a=n==null?void 0:n.hasOwnProperty)!=null&&a.call(n,"addEventListener")&&(Ga(n,"addEventListener",function(s){return function(o,l,c){try{lNe(l)&&(l.handleEvent=m5(l.handleEvent,{mechanism:{data:{function:"handleEvent",handler:oh(l),target:e},handled:!1,type:"instrument"}}))}catch(u){}return t.unregisterOriginalCallbacks&&cNe(this,o,l),s.apply(this,[o,m5(l,{mechanism:{data:{function:"addEventListener",handler:oh(l),target:e},handled:!1,type:"instrument"}}),c])}}),Ga(n,"removeEventListener",function(s){return function(o,l,c){try{const u=l.__sentry_wrapped__;u&&s.call(this,o,u,c)}catch(u){}return s.call(this,o,l,c)}}))}function lNe(e){return typeof e.handleEvent=="function"}function cNe(e,t,r){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,r)}const uNe=()=>({name:"BrowserSession",setupOnce(){if(typeof Ln.document>"u"){qw&&yr.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}KY({ignoreDuration:!0}),XY(),Tue(({from:e,to:t})=>{e!==void 0&&e!==t&&(KY({ignoreDuration:!0}),XY())})}}),dNe="GlobalHandlers",pNe=((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:dNe,setupOnce(){Error.stackTraceLimit=50},setup(r){t.onerror&&(fNe(r),CK("onerror")),t.onunhandledrejection&&(mNe(r),CK("onunhandledrejection"))}}}),hNe=pNe;function fNe(e){BFe(t=>{const{stackParser:r,attachStacktrace:n}=xue();if(rs()!==e||ace())return;const{msg:i,url:a,line:s,column:o,error:l}=t,c=yNe(r$(r,l||i,void 0,n,!1),a,s,o);c.level="error",sce(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})})}function mNe(e){qFe(t=>{const{stackParser:r,attachStacktrace:n}=xue();if(rs()!==e||ace())return;const i=gNe(t),a=PF(i)?bNe(i):r$(r,i,void 0,n,!0);a.level="error",sce(a,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function gNe(e){if(PF(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(t){}return e}function bNe(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function yNe(e,t,r,n){const i=e.exception=e.exception||{},a=i.values=i.values||[],s=a[0]=a[0]||{},o=s.stacktrace=s.stacktrace||{},l=o.frames=o.frames||[],c=n,u=r,d=_y(t)&&t.length>0?t:oce();return l.length===0&&l.push({colno:c,filename:d,function:Km,in_app:!0,lineno:u}),e}function CK(e){qw&&yr.log(`Global Handler attached: ${e}`)}function xue(){const e=rs();return(e==null?void 0:e.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}const vNe=()=>({name:"HttpContext",preprocessEvent(e){var n;if(!Ln.navigator&&!Ln.location&&!Ln.document)return;const t=qDe(),r={...t.headers,...(n=e.request)==null?void 0:n.headers};e.request={...t,...e.request,headers:r}}}),TNe="cause",SNe=5,xNe="LinkedErrors",wNe=((e={})=>{const t=e.limit||SNe,r=e.key||TNe;return{name:xNe,preprocessEvent(n,i,a){const s=a.getOptions();$$e(e$,s.stackParser,r,t,n,i)}}}),_Ne=wNe;function ANe(){return CNe()?(qw&&RF(()=>{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 CNe(){var a;if(typeof Ln.window>"u")return!1;const e=Ln;if(e.nw)return!1;const t=e.chrome||e.browser;if(!((a=t==null?void 0:t.runtime)!=null&&a.id))return!1;const r=oce(),n=["chrome-extension","moz-extension","ms-browser-extension","safari-web-extension"];return!(Ln===Ln.top&&n.some(s=>r.startsWith(`${s}://`)))}function ENe(e){return[R$e(),C$e(),iNe(),VBe(),hNe(),_Ne(),G$e(),vNe(),uNe()]}function PNe(e={}){const t=!e.skipBrowserExtensionCheck&&ANe(),r={...e,enabled:t?!1:e.enabled,stackParser:zDe(e.stackParser||HBe),integrations:e$e({integrations:e.integrations,defaultIntegrations:e.defaultIntegrations==null?ENe():e.defaultIntegrations}),transport:e.transport||IBe};return d$e(gBe,r)}function jNe(e){const t={...e};return hue(t,"react"),WDe("react",{version:j.version}),PNe(t)}var T8={exports:{}},qr={};/** @license React v16.13.1
* react-is.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 EK;function RNe(){if(EK)return qr;EK=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,o=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function S(w){if(typeof w=="object"&&w!==null){var A=w.$$typeof;switch(A){case t:switch(w=w.type,w){case l:case c:case n:case a:case i:case d:return w;default:switch(w=w&&w.$$typeof,w){case o:case u:case m:case p:case s:return w;default:return A}}case r:return A}}}function x(w){return S(w)===c}return qr.AsyncMode=l,qr.ConcurrentMode=c,qr.ContextConsumer=o,qr.ContextProvider=s,qr.Element=t,qr.ForwardRef=u,qr.Fragment=n,qr.Lazy=m,qr.Memo=p,qr.Portal=r,qr.Profiler=a,qr.StrictMode=i,qr.Suspense=d,qr.isAsyncMode=function(w){return x(w)||S(w)===l},qr.isConcurrentMode=x,qr.isContextConsumer=function(w){return S(w)===o},qr.isContextProvider=function(w){return S(w)===s},qr.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},qr.isForwardRef=function(w){return S(w)===u},qr.isFragment=function(w){return S(w)===n},qr.isLazy=function(w){return S(w)===m},qr.isMemo=function(w){return S(w)===p},qr.isPortal=function(w){return S(w)===r},qr.isProfiler=function(w){return S(w)===a},qr.isStrictMode=function(w){return S(w)===i},qr.isSuspense=function(w){return S(w)===d},qr.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===n||w===c||w===a||w===i||w===d||w===h||typeof w=="object"&&w!==null&&(w.$$typeof===m||w.$$typeof===p||w.$$typeof===s||w.$$typeof===o||w.$$typeof===u||w.$$typeof===b||w.$$typeof===y||w.$$typeof===v||w.$$typeof===g)},qr.typeOf=S,qr}var PK;function INe(){return PK||(PK=1,T8.exports=RNe()),T8.exports}var S8,jK;function ONe(){if(jK)return S8;jK=1;var e=INe(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[e.ForwardRef]=n,a[e.Memo]=i;function s(m){return e.isMemo(m)?i:a[m.$$typeof]||t}var o=Object.defineProperty,l=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;function p(m,g,b){if(typeof g!="string"){if(h){var y=d(g);y&&y!==h&&p(m,y,b)}var v=l(g);c&&(v=v.concat(c(g)));for(var S=s(m),x=s(g),w=0;w<v.length;++w){var A=v[w];if(!r[A]&&!(b&&b[A])&&!(x&&x[A])&&!(S&&S[A])){var _=u(g,A);try{o(m,A,_)}catch(C){}}}}return m}return S8=p,S8}ONe();var RK=function(t,r){var n=arguments;if(r==null||!HDe.call(r,"css"))return j.createElement.apply(void 0,n);var i=n.length,a=new Array(i);a[0]=UDe,a[1]=GDe(t,r);for(var s=2;s<i;s++)a[s]=n[s];return j.createElement.apply(null,a)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(RK||(RK={}));var n6=lce(function(e,t){var r=e.styles,n=OF([r],void 0,j.useContext(cce)),i=j.useRef();return QY(function(){var a=t.key+"-global",s=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,l=document.querySelector('style[data-emotion="'+a+" "+n.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),l!==null&&(o=!0,l.setAttribute("data-emotion",a),s.hydrate([l])),i.current=[s,o],function(){s.flush()}},[t]),QY(function(){var a=i.current,s=a[0],o=a[1];if(o){a[1]=!1;return}if(n.next!==void 0&&uce(t,n.next,!0),s.tags.length){var l=s.tags[s.tags.length-1].nextElementSibling;s.before=l,s.flush()}t.insert("",n,s,!1)},[t,n.name]),null});function MNe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return OF(t)}function Io(){var e=MNe.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var wue=String.raw,_ue=wue`
:root,
:host {
--chakra-vh: 100vh;
}
@supports (height: -webkit-fill-available) {
:root,
:host {
--chakra-vh: -webkit-fill-available;
}
}
@supports (height: -moz-fill-available) {
:root,
:host {
--chakra-vh: -moz-fill-available;
}
}
@supports (height: 100dvh) {
:root,
:host {
--chakra-vh: 100dvh;
}
}
`,kNe=()=>f.jsx(n6,{styles:_ue}),DNe=({scope:e=""})=>f.jsx(n6,{styles:wue`
html {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
font-family: system-ui, sans-serif;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
touch-action: manipulation;
}
body {
position: relative;
min-height: 100%;
margin: 0;
font-feature-settings: "kern";
}
${e} :where(*, *::before, *::after) {
border-width: 0;
border-style: solid;
box-sizing: border-box;
word-wrap: break-word;
}
main {
display: block;
}
${e} hr {
border-top-width: 1px;
box-sizing: content-box;
height: 0;
overflow: visible;
}
${e} :where(pre, code, kbd,samp) {
font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 1em;
}
${e} a {
background-color: transparent;
color: inherit;
text-decoration: inherit;
}
${e} abbr[title] {
border-bottom: none;
text-decoration: underline;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}
${e} :where(b, strong) {
font-weight: bold;
}
${e} small {
font-size: 80%;
}
${e} :where(sub,sup) {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
${e} sub {
bottom: -0.25em;
}
${e} sup {
top: -0.5em;
}
${e} img {
border-style: none;
}
${e} :where(button, input, optgroup, select, textarea) {
font-family: inherit;
font-size: 100%;
line-height: 1.15;
margin: 0;
}
${e} :where(button, input) {
overflow: visible;
}
${e} :where(button, select) {
text-transform: none;
}
${e} :where(
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner
) {
border-style: none;
padding: 0;
}
${e} fieldset {
padding: 0.35em 0.75em 0.625em;
}
${e} legend {
box-sizing: border-box;
color: inherit;
display: table;
max-width: 100%;
padding: 0;
white-space: normal;
}
${e} progress {
vertical-align: baseline;
}
${e} textarea {
overflow: auto;
}
${e} :where([type="checkbox"], [type="radio"]) {
box-sizing: border-box;
padding: 0;
}
${e} input[type="number"]::-webkit-inner-spin-button,
${e} input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none !important;
}
${e} input[type="number"] {
-moz-appearance: textfield;
}
${e} input[type="search"] {
-webkit-appearance: textfield;
outline-offset: -2px;
}
${e} input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none !important;
}
${e} ::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit;
}
${e} details {
display: block;
}
${e} summary {
display: list-item;
}
template {
display: none;
}
[hidden] {
display: none !important;
}
${e} :where(
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre
) {
margin: 0;
}
${e} button {
background: transparent;
padding: 0;
}
${e} fieldset {
margin: 0;
padding: 0;
}
${e} :where(ol, ul) {
margin: 0;
padding: 0;
}
${e} textarea {
resize: vertical;
}
${e} :where(button, [role="button"]) {
cursor: pointer;
}
${e} button::-moz-focus-inner {
border: 0 !important;
}
${e} table {
border-collapse: collapse;
}
${e} :where(h1, h2, h3, h4, h5, h6) {
font-size: inherit;
font-weight: inherit;
}
${e} :where(button, input, optgroup, select, textarea) {
padding: 0;
line-height: inherit;
color: inherit;
}
${e} :where(img, svg, video, canvas, audio, iframe, embed, object) {
display: block;
}
${e} :where(img, video) {
max-width: 100%;
height: auto;
}
[data-js-focus-visible]
:focus:not([data-focus-visible-added]):not(
[data-focus-visible-disabled]
) {
outline: none;
box-shadow: none;
}
${e} select::-ms-expand {
display: none;
}
${_ue}
`});function LNe(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function jn(e={}){const{name:t,strict:r=!0,hookName:n="useContext",providerName:i="Provider",errorMessage:a,defaultValue:s}=e,o=j.createContext(s);o.displayName=t;function l(){var c;const u=j.useContext(o);if(!u&&r){const d=new Error(a!=null?a:LNe(n,i));throw d.name="ContextError",(c=Error.captureStackTrace)==null||c.call(Error,d,l),d}return u}return[o.Provider,l,o]}var[FNe,$Ne]=jn({strict:!1,name:"PortalManagerContext"});function Aue(e){const{children:t,zIndex:r}=e;return f.jsx(FNe,{value:{zIndex:r},children:t})}Aue.displayName="PortalManager";var zc=globalThis!=null&&globalThis.document?j.useLayoutEffect:j.useEffect,i6=VDe(),[Cue,BNe]=jn({strict:!1,name:"PortalContext"}),n$="chakra-portal",NNe=".chakra-portal",qNe=e=>f.jsx("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),zNe=e=>{const{appendToParentPortal:t,children:r}=e,[n,i]=j.useState(null),a=j.useRef(null),[,s]=j.useState({});j.useEffect(()=>s({}),[]);const o=BNe(),l=$Ne();zc(()=>{if(!n)return;const u=n.ownerDocument,d=t&&o!=null?o:u.body;if(!d)return;a.current=u.createElement("div"),a.current.className=n$,d.appendChild(a.current),s({});const h=a.current;return()=>{d.contains(h)&&d.removeChild(h)}},[n]);const c=l!=null&&l.zIndex?f.jsx(qNe,{zIndex:l==null?void 0:l.zIndex,children:r}):r;return a.current?i6.createPortal(f.jsx(Cue,{value:a.current,children:c}),a.current):f.jsx("span",{ref:u=>{u&&i(u)}})},WNe=e=>{const{children:t,containerRef:r,appendToParentPortal:n}=e,i=r.current,a=i!=null?i:typeof window<"u"?document.body:void 0,s=j.useMemo(()=>{const l=i==null?void 0:i.ownerDocument.createElement("div");return l&&(l.className=n$),l},[i]),[,o]=j.useState({});return zc(()=>o({}),[]),zc(()=>{if(!(!s||!a))return a.appendChild(s),()=>{a.removeChild(s)}},[s,a]),a&&s?i6.createPortal(f.jsx(Cue,{value:n?s:null,children:t}),s):null};function cu(e){const t={appendToParentPortal:!0,...e},{containerRef:r,...n}=t;return r?f.jsx(WNe,{containerRef:r,...n}):f.jsx(zNe,{...n})}cu.className=n$;cu.selector=NNe;cu.displayName="Portal";var B2={light:"chakra-ui-light",dark:"chakra-ui-dark"};function HNe(e={}){const{preventTransition:t=!0}=e,r={setDataset:n=>{const i=t?r.preventTransition():void 0;document.documentElement.dataset.theme=n,document.documentElement.style.colorScheme=n,i==null||i()},setClassName(n){document.body.classList.add(n?B2.dark:B2.light),document.body.classList.remove(n?B2.light:B2.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(n){var i;return((i=r.query().matches)!=null?i:n==="dark")?"dark":"light"},addListener(n){const i=r.query(),a=s=>{n(s.matches?"dark":"light")};return typeof i.addListener=="function"?i.addListener(a):i.addEventListener("change",a),()=>{typeof i.removeListener=="function"?i.removeListener(a):i.removeEventListener("change",a)}},preventTransition(){const n=document.createElement("style");return n.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(n),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(n)})})}}};return r}var UNe="chakra-ui-color-mode";function GNe(e){return{ssr:!1,type:"localStorage",get(t){if(!(globalThis!=null&&globalThis.document))return t;let r;try{r=localStorage.getItem(e)||t}catch(n){}return r||t},set(t){try{localStorage.setItem(e,t)}catch(r){}}}}var VNe=GNe(UNe),IK=()=>{};function OK(e,t){return e.type==="cookie"&&e.ssr?e.get(t):t}function Eue(e){const{value:t,children:r,options:{useSystemColorMode:n,initialColorMode:i,disableTransitionOnChange:a}={},colorModeManager:s=VNe}=e,o=i==="dark"?"dark":"light",[l,c]=j.useState(()=>OK(s,o)),[u,d]=j.useState(()=>OK(s)),{getSystemTheme:h,setClassName:p,setDataset:m,addListener:g}=j.useMemo(()=>HNe({preventTransition:a}),[a]),b=i==="system"&&!l?u:l,y=j.useCallback(x=>{const w=x==="system"?h():x;c(w),p(w==="dark"),m(w),s.set(w)},[s,h,p,m]);zc(()=>{i==="system"&&d(h())},[]),j.useEffect(()=>{const x=s.get();if(x){y(x);return}if(i==="system"){y("system");return}y(o)},[s,o,i,y]);const v=j.useCallback(()=>{y(b==="dark"?"light":"dark")},[b,y]);j.useEffect(()=>{if(n)return g(y)},[n,g,y]);const S=j.useMemo(()=>({colorMode:t!=null?t:b,toggleColorMode:t?IK:v,setColorMode:t?IK:y,forced:t!==void 0}),[b,v,y,t]);return f.jsx(YDe.Provider,{value:S,children:r})}Eue.displayName="ColorModeProvider";function YNe(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var KNe=YNe();function XNe(e,t){const r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}function QNe(e,t,r,n){const i=typeof t=="string"?t.split("."):[t];for(n=0;n<i.length&&e;n+=1)e=e[i[n]];return e===void 0?r:e}var JNe=e=>{const t=new WeakMap;return(n,i,a,s)=>{if(typeof n>"u")return e(n,i,a);t.has(n)||t.set(n,new Map);const o=t.get(n);if(o.has(i))return o.get(i);const l=e(n,i,a,s);return o.set(i,l),l}},Pue=JNe(QNe);function jue(e,t){const r={};return Object.keys(e).forEach(n=>{const i=e[n];t(i,n,e)&&(r[n]=i)}),r}var Rue=e=>jue(e,t=>t!=null);function ZNe(e){return typeof e=="function"}function Iue(e,...t){return ZNe(e)?e(...t):e}function Hnr(...e){return function(r){e.some(n=>(n==null||n(r),r==null?void 0:r.defaultPrevented))}}var x8,MK;function eqe(){if(MK)return x8;MK=1;var e=typeof Element<"u",t=typeof Map=="function",r=typeof Set=="function",n=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(a,s){if(a===s)return!0;if(a&&s&&typeof a=="object"&&typeof s=="object"){if(a.constructor!==s.constructor)return!1;var o,l,c;if(Array.isArray(a)){if(o=a.length,o!=s.length)return!1;for(l=o;l--!==0;)if(!i(a[l],s[l]))return!1;return!0}var u;if(t&&a instanceof Map&&s instanceof Map){if(a.size!==s.size)return!1;for(u=a.entries();!(l=u.next()).done;)if(!s.has(l.value[0]))return!1;for(u=a.entries();!(l=u.next()).done;)if(!i(l.value[1],s.get(l.value[0])))return!1;return!0}if(r&&a instanceof Set&&s instanceof Set){if(a.size!==s.size)return!1;for(u=a.entries();!(l=u.next()).done;)if(!s.has(l.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(s)){if(o=a.length,o!=s.length)return!1;for(l=o;l--!==0;)if(a[l]!==s[l])return!1;return!0}if(a.constructor===RegExp)return a.source===s.source&&a.flags===s.flags;if(a.valueOf!==Object.prototype.valueOf&&typeof a.valueOf=="function"&&typeof s.valueOf=="function")return a.valueOf()===s.valueOf();if(a.toString!==Object.prototype.toString&&typeof a.toString=="function"&&typeof s.toString=="function")return a.toString()===s.toString();if(c=Object.keys(a),o=c.length,o!==Object.keys(s).length)return!1;for(l=o;l--!==0;)if(!Object.prototype.hasOwnProperty.call(s,c[l]))return!1;if(e&&a instanceof Element)return!1;for(l=o;l--!==0;)if(!((c[l]==="_owner"||c[l]==="__v"||c[l]==="__o")&&a.$$typeof)&&!i(a[c[l]],s[c[l]]))return!1;return!0}return a!==a&&s!==s}return x8=function(s,o){try{return i(s,o)}catch(l){if((l.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw l}},x8}var tqe=eqe();const rqe=Ld(tqe);function Oue(e,t={}){var r;const{styleConfig:n,...i}=t,{theme:a,colorMode:s}=dce(),o=e?Pue(a,`components.${e}`):void 0,l=n||o,c=KDe({theme:a,colorMode:s},(r=l==null?void 0:l.defaultProps)!=null?r:{},Rue(XNe(i,["children"]))),u=j.useRef({});if(l){const h=XDe(l)(c);rqe(u.current,h)||(u.current=h)}return u.current}function Oo(e,t={}){return Oue(e,t)}function qs(e,t={}){return Oue(e,t)}var nqe=new Set([...QDe,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),iqe=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function aqe(e){return iqe.has(e)||!nqe.has(e)}function sqe(e,...t){if(e==null)throw new TypeError("Cannot convert undefined or null to object");const r={...e};for(const n of t)if(n!=null)for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&(i in r&&delete r[i],r[i]=n[i]);return r}function Mue(e){const t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}var oqe=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,lqe=JDe(function(e){return oqe.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),cqe=lqe,uqe=function(t){return t!=="theme"},kK=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?cqe:uqe},DK=function(t,r,n){var i;if(r){var a=r.shouldForwardProp;i=t.__emotion_forwardProp&&a?function(s){return t.__emotion_forwardProp(s)&&a(s)}:a}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},dqe=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return eLe(r,n,i),tLe(function(){return uce(r,n,i)}),null},pqe=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,a,s;r!==void 0&&(a=r.label,s=r.target);var o=DK(t,r,n),l=o||kK(i),c=!l("as");return function(){var u=arguments,d=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push("label:"+a+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var h=u[0];d.push(h[0]);for(var p=u.length,m=1;m<p;m++)d.push(u[m],h[m])}var g=lce(function(b,y,v){var S=c&&b.as||i,x="",w=[],A=b;if(b.theme==null){A={};for(var _ in b)A[_]=b[_];A.theme=j.useContext(cce)}typeof b.className=="string"?x=ZDe(y.registered,w,b.className):b.className!=null&&(x=b.className+" ");var C=OF(d.concat(w),y.registered,A);x+=y.key+"-"+C.name,s!==void 0&&(x+=" "+s);var E=c&&o===void 0?kK(S):l,R={};for(var P in b)c&&P==="as"||E(P)&&(R[P]=b[P]);return R.className=x,v&&(R.ref=v),j.createElement(j.Fragment,null,j.createElement(dqe,{cache:y,serialized:C,isStringTag:typeof S=="string"}),j.createElement(S,R))});return g.displayName=a!==void 0?a:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=i,g.__emotion_styles=d,g.__emotion_forwardProp=o,Object.defineProperty(g,"toString",{value:function(){return"."+s}}),g.withComponent=function(b,y){var v=e(b,nS({},r,y,{shouldForwardProp:DK(g,y,!0)}));return v.apply(void 0,d)},g}},hqe=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],lS=pqe.bind(null);hqe.forEach(function(e){lS[e]=lS(e)});var LK,fqe=(LK=lS.default)!=null?LK:lS,mqe=({baseStyle:e})=>t=>{const{theme:r,css:n,__css:i,sx:a,...s}=t,o=jue(s,(d,h)=>rLe(h)),l=Iue(e,t),c=sqe({},i,l,Rue(o),a),u=hce(c)(t.theme);return n?[u,n]:u};function w8(e,t){const{baseStyle:r,...n}=t!=null?t:{};n.shouldForwardProp||(n.shouldForwardProp=aqe);const i=mqe({baseStyle:r}),a=fqe(e,n)(i);return Se.forwardRef(function(l,c){const{colorMode:u,forced:d}=pce();return Se.createElement(a,{ref:c,"data-theme":d?u:void 0,...l})})}function gqe(){const e=new Map;return new Proxy(w8,{apply(t,r,n){return w8(...n)},get(t,r){return e.has(r)||e.set(r,w8(r)),e.get(r)}})}var et=gqe();function yt(e){return j.forwardRef(e)}function kue(e={}){const{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,i=j.createContext(void 0);i.displayName=n;function a(){var s;const o=j.useContext(i);if(!o&&t){const l=new Error(r);throw l.name="ContextError",(s=Error.captureStackTrace)==null||s.call(Error,l,a),l}return o}return[i.Provider,a,i]}function bqe(e){const{cssVarsRoot:t,theme:r,children:n}=e,i=j.useMemo(()=>nLe(r),[r]);return f.jsxs(iLe,{theme:i,children:[f.jsx(yqe,{root:t}),n]})}function yqe({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return f.jsx(n6,{styles:r=>({[t]:r.__cssVars})})}kue({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function vqe(e){return kue({name:`${e}StylesContext`,errorMessage:`useStyles: "styles" is undefined. Seems you forgot to wrap the components in "<${e} />" `})}function Tqe(){const{colorMode:e}=pce();return f.jsx(n6,{styles:t=>{const r=Pue(t,"styles.global"),n=Iue(r,{theme:t,colorMode:e});return n?hce(n)(t):void 0}})}var Due=j.createContext({getDocument(){return document},getWindow(){return window}});Due.displayName="EnvironmentContext";function Lue(e){const{children:t,environment:r,disabled:n}=e,i=j.useRef(null),a=j.useMemo(()=>r||{getDocument:()=>{var o,l;return(l=(o=i.current)==null?void 0:o.ownerDocument)!=null?l:document},getWindow:()=>{var o,l;return(l=(o=i.current)==null?void 0:o.ownerDocument.defaultView)!=null?l:window}},[r]),s=!n||!r;return f.jsxs(Due.Provider,{value:a,children:[t,s&&f.jsx("span",{id:"__chakra_env",hidden:!0,ref:i})]})}Lue.displayName="EnvironmentProvider";var Sqe=e=>{const{children:t,colorModeManager:r,portalZIndex:n,resetScope:i,resetCSS:a=!0,theme:s={},environment:o,cssVarsRoot:l,disableEnvironment:c,disableGlobalStyle:u}=e,d=f.jsx(Lue,{environment:o,disabled:c,children:t});return f.jsx(bqe,{theme:s,cssVarsRoot:l,children:f.jsxs(Eue,{colorModeManager:r,options:s.config,children:[a?f.jsx(DNe,{scope:i}):f.jsx(kNe,{}),!u&&f.jsx(Tqe,{}),n?f.jsx(Aue,{zIndex:n,children:d}):d]})})},xqe=(e,t)=>e.find(r=>r.id===t);function FK(e,t){const r=Fue(e,t),n=r?e[r].findIndex(i=>i.id===t):-1;return{position:r,index:n}}function Fue(e,t){for(const[r,n]of Object.entries(e))if(xqe(n,t))return r}function wqe(e){const t=e.includes("right"),r=e.includes("left");let n="center";return t&&(n="flex-end"),r&&(n="flex-start"),{display:"flex",flexDirection:"column",alignItems:n}}function _qe(e){const r=e==="top"||e==="bottom"?"0 auto":void 0,n=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,i=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,a=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",s=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:r,top:n,bottom:i,right:a,left:s}}function go(e,t=[]){const r=j.useRef(e);return j.useEffect(()=>{r.current=e}),j.useCallback((...n)=>{var i;return(i=r.current)==null?void 0:i.call(r,...n)},t)}function Aqe(e,t){const r=go(e);j.useEffect(()=>{if(t==null)return;let n=null;return n=window.setTimeout(()=>{r()},t),()=>{n&&window.clearTimeout(n)}},[t,r])}function Xm(e,t){const r=j.useRef(!1),n=j.useRef(!1);j.useEffect(()=>{if(r.current&&n.current)return e();n.current=!0},t),j.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[])}const i$=j.createContext({});function Yh(e){const t=j.useRef(null);return t.current===null&&(t.current=e()),t.current}const a$=typeof window<"u",a6=a$?j.useLayoutEffect:j.useEffect,ov=j.createContext(null);function s$(e,t){e.indexOf(t)===-1&&e.push(t)}function s6(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}const Zc=(e,t,r)=>r>t?t:r<e?e:r;let o$=()=>{};const jl={},$ue=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Bue(e){return typeof e=="object"&&e!==null}const Nue=e=>/^0[^.\s]+$/u.test(e);function l$(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ss=e=>e,Cqe=(e,t)=>r=>t(e(r)),lv=(...e)=>e.reduce(Cqe),Qm=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n};class c${constructor(){this.subscriptions=[]}add(t){return s$(this.subscriptions,t),()=>s6(this.subscriptions,t)}notify(t,r,n){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,r,n);else for(let a=0;a<i;a++){const s=this.subscriptions[a];s&&s(t,r,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const bo=e=>e*1e3,yl=e=>e/1e3;function que(e,t){return t?e*(1e3/t):0}const Eqe=(e,t,r)=>{const n=t-e;return((r-e)%n+n)%n+e},zue=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,Pqe=1e-7,jqe=12;function Rqe(e,t,r,n,i){let a,s,o=0;do s=t+(r-t)/2,a=zue(s,n,i)-e,a>0?r=s:t=s;while(Math.abs(a)>Pqe&&++o<jqe);return s}function cv(e,t,r,n){if(e===t&&r===n)return Ss;const i=a=>Rqe(a,0,1,e,r);return a=>a===0||a===1?a:zue(i(a),t,n)}const Wue=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Hue=e=>t=>1-e(1-t),Uue=cv(.33,1.53,.69,.99),u$=Hue(Uue),Gue=Wue(u$),Vue=e=>(e*=2)<1?.5*u$(e):.5*(2-Math.pow(2,-10*(e-1))),d$=e=>1-Math.sin(Math.acos(e)),Yue=Hue(d$),Kue=Wue(d$),Iqe=cv(.42,0,1,1),Oqe=cv(0,0,.58,1),Xue=cv(.42,0,.58,1),Que=e=>Array.isArray(e)&&typeof e[0]!="number";function Jue(e,t){return Que(e)?e[Eqe(0,e.length,t)]:e}const Zue=e=>Array.isArray(e)&&typeof e[0]=="number",Mqe={linear:Ss,easeIn:Iqe,easeInOut:Xue,easeOut:Oqe,circIn:d$,circInOut:Kue,circOut:Yue,backIn:u$,backInOut:Gue,backOut:Uue,anticipate:Vue},kqe=e=>typeof e=="string",$K=e=>{if(Zue(e)){o$(e.length===4);const[t,r,n,i]=e;return cv(t,r,n,i)}else if(kqe(e))return Mqe[e];return e},N2=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Dqe(e,t){let r=new Set,n=new Set,i=!1,a=!1;const s=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function l(u){s.has(u)&&(c.schedule(u),e()),u(o)}const c={schedule:(u,d=!1,h=!1)=>{const m=h&&i?r:n;return d&&s.add(u),m.has(u)||m.add(u),u},cancel:u=>{n.delete(u),s.delete(u)},process:u=>{if(o=u,i){a=!0;return}i=!0,[r,n]=[n,r],r.forEach(l),r.clear(),i=!1,a&&(a=!1,c.process(u))}};return c}const Lqe=40;function ede(e,t){let r=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},a=()=>r=!0,s=N2.reduce((S,x)=>(S[x]=Dqe(a),S),{}),{setup:o,read:l,resolveKeyframes:c,preUpdate:u,update:d,preRender:h,render:p,postRender:m}=s,g=()=>{const S=jl.useManualTiming?i.timestamp:performance.now();r=!1,jl.useManualTiming||(i.delta=n?1e3/60:Math.max(Math.min(S-i.timestamp,Lqe),1)),i.timestamp=S,i.isProcessing=!0,o.process(i),l.process(i),c.process(i),u.process(i),d.process(i),h.process(i),p.process(i),m.process(i),i.isProcessing=!1,r&&t&&(n=!1,e(g))},b=()=>{r=!0,n=!0,i.isProcessing||e(g)};return{schedule:N2.reduce((S,x)=>{const w=s[x];return S[x]=(A,_=!1,C=!1)=>(r||b(),w.schedule(A,_,C)),S},{}),cancel:S=>{for(let x=0;x<N2.length;x++)s[N2[x]].cancel(S)},state:i,steps:s}}const{schedule:m0,cancel:eu,state:ii,steps:_8}=ede(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ss,!0);let lT;function Fqe(){lT=void 0}const ba={now:()=>(lT===void 0&&ba.set(ii.isProcessing||jl.useManualTiming?ii.timestamp:performance.now()),lT),set:e=>{lT=e,queueMicrotask(Fqe)}},tde=e=>t=>typeof t=="string"&&t.startsWith(e),p$=tde("--"),$qe=tde("var(--"),h$=e=>$qe(e)?Bqe.test(e.split("/*")[0].trim()):!1,Bqe=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,m1={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},y5={...m1,transform:e=>Zc(0,1,e)},q2={...m1,default:1},Cy=e=>Math.round(e*1e5)/1e5,f$=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Nqe(e){return e==null}const qqe=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,m$=(e,t)=>r=>!!(typeof r=="string"&&qqe.test(r)&&r.startsWith(e)||t&&!Nqe(r)&&Object.prototype.hasOwnProperty.call(r,t)),rde=(e,t,r)=>n=>{if(typeof n!="string")return n;const[i,a,s,o]=n.match(f$);return{[e]:parseFloat(i),[t]:parseFloat(a),[r]:parseFloat(s),alpha:o!==void 0?parseFloat(o):1}},zqe=e=>Zc(0,255,e),A8={...m1,transform:e=>Math.round(zqe(e))},kp={test:m$("rgb","red"),parse:rde("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+A8.transform(e)+", "+A8.transform(t)+", "+A8.transform(r)+", "+Cy(y5.transform(n))+")"};function Wqe(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}const DR={test:m$("#"),parse:Wqe,transform:kp.transform},uv=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ku=uv("deg"),vl=uv("%"),$t=uv("px"),Hqe=uv("vh"),Uqe=uv("vw"),BK={...vl,parse:e=>vl.parse(e)/100,transform:e=>vl.transform(e*100)},Vf={test:m$("hsl","hue"),parse:rde("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+vl.transform(Cy(t))+", "+vl.transform(Cy(r))+", "+Cy(y5.transform(n))+")"},wn={test:e=>kp.test(e)||DR.test(e)||Vf.test(e),parse:e=>kp.test(e)?kp.parse(e):Vf.test(e)?Vf.parse(e):DR.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?kp.transform(e):Vf.transform(e),getAnimatableNone:e=>{const t=wn.parse(e);return t.alpha=0,wn.transform(t)}},Gqe=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Vqe(e){var t,r;return isNaN(e)&&typeof e=="string"&&(((t=e.match(f$))==null?void 0:t.length)||0)+(((r=e.match(Gqe))==null?void 0:r.length)||0)>0}const nde="number",ide="color",Yqe="var",Kqe="var(",NK="${}",Xqe=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function v5(e){const t=e.toString(),r=[],n={color:[],number:[],var:[]},i=[];let a=0;const o=t.replace(Xqe,l=>(wn.test(l)?(n.color.push(a),i.push(ide),r.push(wn.parse(l))):l.startsWith(Kqe)?(n.var.push(a),i.push(Yqe),r.push(l)):(n.number.push(a),i.push(nde),r.push(parseFloat(l))),++a,NK)).split(NK);return{values:r,split:o,indexes:n,types:i}}function ade(e){return v5(e).values}function sde(e){const{split:t,types:r}=v5(e),n=t.length;return i=>{let a="";for(let s=0;s<n;s++)if(a+=t[s],i[s]!==void 0){const o=r[s];o===nde?a+=Cy(i[s]):o===ide?a+=wn.transform(i[s]):a+=i[s]}return a}}const Qqe=e=>typeof e=="number"?0:wn.test(e)?wn.getAnimatableNone(e):e;function Jqe(e){const t=ade(e);return sde(e)(t.map(Qqe))}const yd={test:Vqe,parse:ade,createTransformer:sde,getAnimatableNone:Jqe};function C8(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Zqe({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let i=0,a=0,s=0;if(!t)i=a=s=r;else{const o=r<.5?r*(1+t):r+t-r*t,l=2*r-o;i=C8(l,o,e+1/3),a=C8(l,o,e),s=C8(l,o,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(s*255),alpha:n}}function cS(e,t){return r=>r>0?t:e}const O0=(e,t,r)=>e+(t-e)*r,E8=(e,t,r)=>{const n=e*e,i=r*(t*t-n)+n;return i<0?0:Math.sqrt(i)},eze=[DR,kp,Vf],tze=e=>eze.find(t=>t.test(e));function qK(e){const t=tze(e);if(!t)return!1;let r=t.parse(e);return t===Vf&&(r=Zqe(r)),r}const zK=(e,t)=>{const r=qK(e),n=qK(t);if(!r||!n)return cS(e,t);const i={...r};return a=>(i.red=E8(r.red,n.red,a),i.green=E8(r.green,n.green,a),i.blue=E8(r.blue,n.blue,a),i.alpha=O0(r.alpha,n.alpha,a),kp.transform(i))},LR=new Set(["none","hidden"]);function rze(e,t){return LR.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function nze(e,t){return r=>O0(e,t,r)}function g$(e){return typeof e=="number"?nze:typeof e=="string"?h$(e)?cS:wn.test(e)?zK:sze:Array.isArray(e)?ode:typeof e=="object"?wn.test(e)?zK:ize:cS}function ode(e,t){const r=[...e],n=r.length,i=e.map((a,s)=>g$(a)(a,t[s]));return a=>{for(let s=0;s<n;s++)r[s]=i[s](a);return r}}function ize(e,t){const r={...e,...t},n={};for(const i in r)e[i]!==void 0&&t[i]!==void 0&&(n[i]=g$(e[i])(e[i],t[i]));return i=>{for(const a in n)r[a]=n[a](i);return r}}function aze(e,t){var i;const r=[],n={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){const s=t.types[a],o=e.indexes[s][n[s]],l=(i=e.values[o])!=null?i:0;r[a]=l,n[s]++}return r}const sze=(e,t)=>{const r=yd.createTransformer(t),n=v5(e),i=v5(t);return n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length?LR.has(e)&&!i.values.length||LR.has(t)&&!n.values.length?rze(e,t):lv(ode(aze(n,i),i.values),r):cS(e,t)};function lde(e,t,r){return typeof e=="number"&&typeof t=="number"&&typeof r=="number"?O0(e,t,r):g$(e)(e,t)}const oze=e=>{const t=({timestamp:r})=>e(r);return{start:(r=!0)=>m0.update(t,r),stop:()=>eu(t),now:()=>ii.isProcessing?ii.timestamp:ba.now()}},cde=(e,t,r=10)=>{let n="";const i=Math.max(Math.round(t/r),2);for(let a=0;a<i;a++)n+=Math.round(e(a/(i-1))*1e4)/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},uS=2e4;function b$(e){let t=0;const r=50;let n=e.next(t);for(;!n.done&&t<uS;)t+=r,n=e.next(t);return t>=uS?1/0:t}function ude(e,t=100,r){const n=r({...e,keyframes:[0,t]}),i=Math.min(b$(n),uS);return{type:"keyframes",ease:a=>n.next(i*a).value/t,duration:yl(i)}}const lze=5;function dde(e,t,r){const n=Math.max(t-lze,0);return que(r-e(n),t-n)}const J0={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},P8=.001;function cze({duration:e=J0.duration,bounce:t=J0.bounce,velocity:r=J0.velocity,mass:n=J0.mass}){let i,a,s=1-t;s=Zc(J0.minDamping,J0.maxDamping,s),e=Zc(J0.minDuration,J0.maxDuration,yl(e)),s<1?(i=c=>{const u=c*s,d=u*e,h=u-r,p=FR(c,s),m=Math.exp(-d);return P8-h/p*m},a=c=>{const d=c*s*e,h=d*r+r,p=Math.pow(s,2)*Math.pow(c,2)*e,m=Math.exp(-d),g=FR(Math.pow(c,2),s);return(-i(c)+P8>0?-1:1)*((h-p)*m)/g}):(i=c=>{const u=Math.exp(-c*e),d=(c-r)*e+1;return-P8+u*d},a=c=>{const u=Math.exp(-c*e),d=(r-c)*(e*e);return u*d});const o=5/e,l=dze(i,a,o);if(e=bo(e),isNaN(l))return{stiffness:J0.stiffness,damping:J0.damping,duration:e};{const c=Math.pow(l,2)*n;return{stiffness:c,damping:s*2*Math.sqrt(n*c),duration:e}}}const uze=12;function dze(e,t,r){let n=r;for(let i=1;i<uze;i++)n=n-e(n)/t(n);return n}function FR(e,t){return e*Math.sqrt(1-t*t)}const pze=["duration","bounce"],hze=["stiffness","damping","mass"];function WK(e,t){return t.some(r=>e[r]!==void 0)}function fze(e){let t={velocity:J0.velocity,stiffness:J0.stiffness,damping:J0.damping,mass:J0.mass,isResolvedFromDuration:!1,...e};if(!WK(e,hze)&&WK(e,pze))if(e.visualDuration){const r=e.visualDuration,n=2*Math.PI/(r*1.2),i=n*n,a=2*Zc(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:J0.mass,stiffness:i,damping:a}}else{const r=cze(e);t={...t,...r,mass:J0.mass},t.isResolvedFromDuration=!0}return t}function T5(e=J0.visualDuration,t=J0.bounce){const r=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:n,restDelta:i}=r;const a=r.keyframes[0],s=r.keyframes[r.keyframes.length-1],o={done:!1,value:a},{stiffness:l,damping:c,mass:u,duration:d,velocity:h,isResolvedFromDuration:p}=fze({...r,velocity:-yl(r.velocity||0)}),m=h||0,g=c/(2*Math.sqrt(l*u)),b=s-a,y=yl(Math.sqrt(l/u)),v=Math.abs(b)<5;n||(n=v?J0.restSpeed.granular:J0.restSpeed.default),i||(i=v?J0.restDelta.granular:J0.restDelta.default);let S;if(g<1){const w=FR(y,g);S=A=>{const _=Math.exp(-g*y*A);return s-_*((m+g*y*b)/w*Math.sin(w*A)+b*Math.cos(w*A))}}else if(g===1)S=w=>s-Math.exp(-y*w)*(b+(m+y*b)*w);else{const w=y*Math.sqrt(g*g-1);S=A=>{const _=Math.exp(-g*y*A),C=Math.min(w*A,300);return s-_*((m+g*y*b)*Math.sinh(C)+w*b*Math.cosh(C))/w}}const x={calculatedDuration:p&&d||null,next:w=>{const A=S(w);if(p)o.done=w>=d;else{let _=w===0?m:0;g<1&&(_=w===0?bo(m):dde(S,w,A));const C=Math.abs(_)<=n,E=Math.abs(s-A)<=i;o.done=C&&E}return o.value=o.done?s:A,o},toString:()=>{const w=Math.min(b$(x),uS),A=cde(_=>x.next(w*_).value,w,30);return w+"ms "+A},toTransition:()=>{}};return x}T5.applyToOptions=e=>{const t=ude(e,100,T5);return e.ease=t.ease,e.duration=bo(t.duration),e.type="keyframes",e};function $R({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:s,min:o,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],h={done:!1,value:d},p=C=>o!==void 0&&C<o||l!==void 0&&C>l,m=C=>o===void 0?l:l===void 0||Math.abs(o-C)<Math.abs(l-C)?o:l;let g=r*t;const b=d+g,y=s===void 0?b:s(b);y!==b&&(g=y-d);const v=C=>-g*Math.exp(-C/n),S=C=>y+v(C),x=C=>{const E=v(C),R=S(C);h.done=Math.abs(E)<=c,h.value=h.done?y:R};let w,A;const _=C=>{p(h.value)&&(w=C,A=T5({keyframes:[h.value,m(h.value)],velocity:dde(S,C,h.value),damping:i,stiffness:a,restDelta:c,restSpeed:u}))};return _(0),{calculatedDuration:null,next:C=>{let E=!1;return!A&&w===void 0&&(E=!0,x(C),_(C)),w!==void 0&&C>=w?A.next(C-w):(!E&&x(C),h)}}}function mze(e,t,r){const n=[],i=r||jl.mix||lde,a=e.length-1;for(let s=0;s<a;s++){let o=i(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||Ss:t;o=lv(l,o)}n.push(o)}return n}function pde(e,t,{clamp:r=!0,ease:n,mixer:i}={}){const a=e.length;if(o$(a===t.length),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=mze(t,n,i),l=o.length,c=u=>{if(s&&u<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(u<e[d+1]);d++);const h=Qm(e[d],e[d+1],u);return o[d](h)};return r?u=>c(Zc(e[0],e[a-1],u)):c}function hde(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const i=Qm(0,t,n);e.push(O0(r,1,i))}}function fde(e){const t=[0];return hde(t,e.length-1),t}function gze(e,t){return e.map(r=>r*t)}function bze(e,t){return e.map(()=>t||Xue).splice(0,e.length-1)}function Ey({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const i=Que(n)?n.map($K):$K(n),a={done:!1,value:t[0]},s=gze(r&&r.length===t.length?r:fde(t),e),o=pde(s,t,{ease:Array.isArray(i)?i:bze(t,i)});return{calculatedDuration:e,next:l=>(a.value=o(l),a.done=l>=e,a)}}const yze=e=>e!==null;function y$(e,{repeat:t,repeatType:r="loop"},n,i=1){const a=e.filter(yze),o=i<0||t&&r!=="loop"&&t%2===1?0:a.length-1;return!o||n===void 0?a[o]:n}const vze={decay:$R,inertia:$R,tween:Ey,keyframes:Ey,spring:T5};function mde(e){typeof e.type=="string"&&(e.type=vze[e.type])}class v${constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,r){return this.finished.then(t,r)}}const Tze=e=>e/100;class o6 extends v${constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var n,i;const{motionValue:r}=this.options;r&&r.updatedAt!==ba.now()&&this.tick(ba.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(n=this.options).onStop)==null||i.call(n))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;mde(t);const{type:r=Ey,repeat:n=0,repeatDelay:i=0,repeatType:a,velocity:s=0}=t;let{keyframes:o}=t;const l=r||Ey;l!==Ey&&typeof o[0]!="number"&&(this.mixKeyframes=lv(Tze,lde(o[0],o[1])),o=[0,100]);const c=l({...t,keyframes:o});a==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...o].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=b$(c));const{calculatedDuration:u}=c;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=c}updateTime(t){const r=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=r}tick(t,r=!1){const{generator:n,totalDuration:i,mixKeyframes:a,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:l}=this;if(this.startTime===null)return n.next(0);const{delay:c=0,keyframes:u,repeat:d,repeatType:h,repeatDelay:p,type:m,onUpdate:g,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),r?this.currentTime=t:this.updateTime(t);const y=this.currentTime-c*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>i;this.currentTime=Math.max(y,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let S=this.currentTime,x=n;if(d){const C=Math.min(this.currentTime,i)/o;let E=Math.floor(C),R=C%1;!R&&C>=1&&(R=1),R===1&&E--,E=Math.min(E,d+1),!!(E%2)&&(h==="reverse"?(R=1-R,p&&(R-=p/o)):h==="mirror"&&(x=s)),S=Zc(0,1,R)*o}const w=v?{done:!1,value:u[0]}:x.next(S);a&&(w.value=a(w.value));let{done:A}=w;!v&&l!==null&&(A=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const _=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&A);return _&&m!==$R&&(w.value=y$(u,this.options,b,this.speed)),g&&g(w.value),_&&this.finish(),w}then(t,r){return this.finished.then(t,r)}get duration(){return yl(this.calculatedDuration)}get time(){return yl(this.currentTime)}set time(t){var r;t=bo(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(r=this.driver)==null||r.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(ba.now());const r=this.playbackSpeed!==t;this.playbackSpeed=t,r&&(this.time=yl(this.currentTime))}play(){var i,a;if(this.isStopped)return;const{driver:t=oze,startTime:r}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),(a=(i=this.options).onPlay)==null||a.call(i);const n=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=n):this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime||(this.startTime=r!=null?r:n),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(ba.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,r;this.notifyFinished(),this.teardown(),this.state="finished",(r=(t=this.options).onComplete)==null||r.call(t)}cancel(){var t,r;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(r=(t=this.options).onCancel)==null||r.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var r;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(r=this.driver)==null||r.stop(),t.observe(this)}}function Sze(e){var t;for(let r=1;r<e.length;r++)(t=e[r])!=null||(e[r]=e[r-1])}const Dp=e=>e*180/Math.PI,BR=e=>{const t=Dp(Math.atan2(e[1],e[0]));return NR(t)},xze={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:BR,rotateZ:BR,skewX:e=>Dp(Math.atan(e[1])),skewY:e=>Dp(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},NR=e=>(e=e%360,e<0&&(e+=360),e),HK=BR,UK=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),GK=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),wze={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:UK,scaleY:GK,scale:e=>(UK(e)+GK(e))/2,rotateX:e=>NR(Dp(Math.atan2(e[6],e[5]))),rotateY:e=>NR(Dp(Math.atan2(-e[2],e[0]))),rotateZ:HK,rotate:HK,skewX:e=>Dp(Math.atan(e[4])),skewY:e=>Dp(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function qR(e){return e.includes("scale")?1:0}function zR(e,t){if(!e||e==="none")return qR(t);const r=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,i;if(r)n=wze,i=r;else{const o=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=xze,i=o}if(!i)return qR(t);const a=n[t],s=i[1].split(",").map(Aze);return typeof a=="function"?a(s):s[a]}const _ze=(e,t)=>{const{transform:r="none"}=getComputedStyle(e);return zR(r,t)};function Aze(e){return parseFloat(e.trim())}const g1=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],b1=new Set(g1),VK=e=>e===m1||e===$t,Cze=new Set(["x","y","z"]),Eze=g1.filter(e=>!Cze.has(e));function Pze(e){const t=[];return Eze.forEach(r=>{const n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}const Hp={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>zR(t,"x"),y:(e,{transform:t})=>zR(t,"y")};Hp.translateX=Hp.x;Hp.translateY=Hp.y;const Up=new Set;let WR=!1,HR=!1,UR=!1;function gde(){if(HR){const e=Array.from(Up).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),r=new Map;t.forEach(n=>{const i=Pze(n);i.length&&(r.set(n,i),n.render())}),e.forEach(n=>n.measureInitialState()),t.forEach(n=>{n.render();const i=r.get(n);i&&i.forEach(([a,s])=>{var o;(o=n.getValue(a))==null||o.set(s)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}HR=!1,WR=!1,Up.forEach(e=>e.complete(UR)),Up.clear()}function bde(){Up.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(HR=!0)})}function jze(){UR=!0,bde(),gde(),UR=!1}class T${constructor(t,r,n,i,a,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=r,this.name=n,this.motionValue=i,this.element=a,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Up.add(this),WR||(WR=!0,m0.read(bde),m0.resolveKeyframes(gde))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:r,element:n,motionValue:i}=this;if(t[0]===null){const a=i==null?void 0:i.get(),s=t[t.length-1];if(a!==void 0)t[0]=a;else if(n&&r){const o=n.readValue(r,s);o!=null&&(t[0]=o)}t[0]===void 0&&(t[0]=s),i&&a===void 0&&i.set(t[0])}Sze(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Up.delete(this)}cancel(){this.state==="scheduled"&&(Up.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Rze=e=>e.startsWith("--");function Ize(e,t,r){Rze(t)?e.style.setProperty(t,r):e.style[t]=r}const Oze=l$(()=>window.ScrollTimeline!==void 0),Mze={};function kze(e,t){const r=l$(e);return()=>{var n;return(n=Mze[t])!=null?n:r()}}const yde=kze(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),qb=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,YK={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:qb([0,.65,.55,1]),circOut:qb([.55,0,1,.45]),backIn:qb([.31,.01,.66,-.59]),backOut:qb([.33,1.53,.69,.99])};function vde(e,t){if(e)return typeof e=="function"?yde()?cde(e,t):"ease-out":Zue(e)?qb(e):Array.isArray(e)?e.map(r=>vde(r,t)||YK.easeOut):YK[e]}function Dze(e,t,r,{delay:n=0,duration:i=300,repeat:a=0,repeatType:s="loop",ease:o="easeOut",times:l}={},c=void 0){const u={[t]:r};l&&(u.offset=l);const d=vde(o,i);Array.isArray(d)&&(u.easing=d);const h={delay:n,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:a+1,direction:s==="reverse"?"alternate":"normal"};return c&&(h.pseudoElement=c),e.animate(u,h)}function S$(e){return typeof e=="function"&&"applyToOptions"in e}function Lze({type:e,...t}){var r,n;return S$(e)&&yde()?e.applyToOptions(t):((r=t.duration)!=null||(t.duration=300),(n=t.ease)!=null||(t.ease="easeOut"),t)}class Fze extends v${constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:r,name:n,keyframes:i,pseudoElement:a,allowFlatten:s=!1,finalKeyframe:o,onComplete:l}=t;this.isPseudoElement=!!a,this.allowFlatten=s,this.options=t,o$(typeof t.type!="string");const c=Lze(t);this.animation=Dze(r,n,i,c,a),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){const u=y$(i,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(u):Ize(r,n,u),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,r;(r=(t=this.animation).finish)==null||r.call(t)}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var t,r;this.isPseudoElement||(r=(t=this.animation).commitStyles)==null||r.call(t)}get duration(){var r,n;const t=((n=(r=this.animation.effect)==null?void 0:r.getComputedTiming)==null?void 0:n.call(r).duration)||0;return yl(Number(t))}get time(){return yl(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=bo(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:r}){var n;return this.allowFlatten&&((n=this.animation.effect)==null||n.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&Oze()?(this.animation.timeline=t,Ss):r(this)}}const Tde={anticipate:Vue,backInOut:Gue,circInOut:Kue};function $ze(e){return e in Tde}function Bze(e){typeof e.ease=="string"&&$ze(e.ease)&&(e.ease=Tde[e.ease])}const KK=10;class Nze extends Fze{constructor(t){Bze(t),mde(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){var c;const{motionValue:r,onUpdate:n,onComplete:i,element:a,...s}=this.options;if(!r)return;if(t!==void 0){r.set(t);return}const o=new o6({...s,autoplay:!1}),l=bo((c=this.finishedTime)!=null?c:this.time);r.setWithVelocity(o.sample(l-KK).value,o.sample(l).value,KK),o.stop()}}const XK=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(yd.test(e)||e==="0")&&!e.startsWith("url("));function qze(e){const t=e[0];if(e.length===1)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function zze(e,t,r,n){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const a=e[e.length-1],s=XK(i,t),o=XK(a,t);return!s||!o?!1:qze(e)||(r==="spring"||S$(r))&&n}function GR(e){e.duration=0,e.type}const Wze=new Set(["opacity","clipPath","filter","transform"]),Hze=l$(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Uze(e){var u;const{motionValue:t,name:r,repeatDelay:n,repeatType:i,damping:a,type:s}=e;if(!(((u=t==null?void 0:t.owner)==null?void 0:u.current)instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=t.owner.getProps();return Hze()&&r&&Wze.has(r)&&(r!=="transform"||!c)&&!l&&!n&&i!=="mirror"&&a!==0&&s!=="inertia"}const Gze=40;class Vze extends v${constructor({autoplay:t=!0,delay:r=0,type:n="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:s="loop",keyframes:o,name:l,motionValue:c,element:u,...d}){var m;super(),this.stop=()=>{var g,b;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(b=this.keyframeResolver)==null||b.cancel()},this.createdAt=ba.now();const h={autoplay:t,delay:r,type:n,repeat:i,repeatDelay:a,repeatType:s,name:l,motionValue:c,element:u,...d},p=(u==null?void 0:u.KeyframeResolver)||T$;this.keyframeResolver=new p(o,(g,b,y)=>this.onKeyframesResolved(g,b,h,!y),l,c,u),(m=this.keyframeResolver)==null||m.scheduleResolve()}onKeyframesResolved(t,r,n,i){this.keyframeResolver=void 0;const{name:a,type:s,velocity:o,delay:l,isHandoff:c,onUpdate:u}=n;this.resolvedAt=ba.now(),zze(t,a,s,o)||((jl.instantAnimations||!l)&&(u==null||u(y$(t,n,r))),t[0]=t[t.length-1],GR(n),n.repeat=0);const h={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Gze?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:r,...n,keyframes:t},p=!c&&Uze(h)?new Nze({...h,element:h.motionValue.owner.current}):new o6(h);p.finished.then(()=>this.notifyFinished()).catch(Ss),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}get finished(){return this._animation?this.animation.finished:this._finished}then(t,r){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),jze()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}class Yze{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,r){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=r}attachTimeline(t){const r=this.animations.map(n=>n.attachTimeline(t));return()=>{r.forEach((n,i)=>{n&&n(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let r=0;r<this.animations.length;r++)t=Math.max(t,this.animations[r].duration);return t}runAll(t){this.animations.forEach(r=>r[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class Kze extends Yze{then(t,r){return this.finished.finally(t).then(()=>{})}}const Xze=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Qze(e){const t=Xze.exec(e);if(!t)return[,];const[,r,n,i]=t;return[`--${r!=null?r:n}`,i]}function Sde(e,t,r=1){const[n,i]=Qze(e);if(!n)return;const a=window.getComputedStyle(t).getPropertyValue(n);if(a){const s=a.trim();return $ue(s)?parseFloat(s):s}return h$(i)?Sde(i,t,r+1):i}function x$(e,t){var r,n;return(n=(r=e==null?void 0:e[t])!=null?r:e==null?void 0:e.default)!=null?n:e}const xde=new Set(["width","height","top","left","right","bottom",...g1]),Jze={test:e=>e==="auto",parse:e=>e},wde=e=>t=>t.test(e),_de=[m1,$t,vl,ku,Uqe,Hqe,Jze],QK=e=>_de.find(wde(e));function Zze(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Nue(e):!0}const eWe=new Set(["brightness","contrast","saturate","opacity"]);function tWe(e){const[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(f$)||[];if(!n)return e;const i=r.replace(n,"");let a=eWe.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+i+")"}const rWe=/\b([a-z-]*)\(.*?\)/gu,VR={...yd,getAnimatableNone:e=>{const t=e.match(rWe);return t?t.map(tWe).join(" "):e}},JK={...m1,transform:Math.round},nWe={rotate:ku,rotateX:ku,rotateY:ku,rotateZ:ku,scale:q2,scaleX:q2,scaleY:q2,scaleZ:q2,skew:ku,skewX:ku,skewY:ku,distance:$t,translateX:$t,translateY:$t,translateZ:$t,x:$t,y:$t,z:$t,perspective:$t,transformPerspective:$t,opacity:y5,originX:BK,originY:BK,originZ:$t},w$={borderWidth:$t,borderTopWidth:$t,borderRightWidth:$t,borderBottomWidth:$t,borderLeftWidth:$t,borderRadius:$t,radius:$t,borderTopLeftRadius:$t,borderTopRightRadius:$t,borderBottomRightRadius:$t,borderBottomLeftRadius:$t,width:$t,maxWidth:$t,height:$t,maxHeight:$t,top:$t,right:$t,bottom:$t,left:$t,padding:$t,paddingTop:$t,paddingRight:$t,paddingBottom:$t,paddingLeft:$t,margin:$t,marginTop:$t,marginRight:$t,marginBottom:$t,marginLeft:$t,backgroundPositionX:$t,backgroundPositionY:$t,...nWe,zIndex:JK,fillOpacity:y5,strokeOpacity:y5,numOctaves:JK},iWe={...w$,color:wn,backgroundColor:wn,outlineColor:wn,fill:wn,stroke:wn,borderColor:wn,borderTopColor:wn,borderRightColor:wn,borderBottomColor:wn,borderLeftColor:wn,filter:VR,WebkitFilter:VR},Ade=e=>iWe[e];function Cde(e,t){let r=Ade(e);return r!==VR&&(r=yd),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const aWe=new Set(["auto","none","0"]);function sWe(e,t,r){let n=0,i;for(;n<e.length&&!i;){const a=e[n];typeof a=="string"&&!aWe.has(a)&&v5(a).values.length&&(i=e[n]),n++}if(i&&r)for(const a of t)e[a]=Cde(r,i)}class oWe extends T${constructor(t,r,n,i,a){super(t,r,n,i,a,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:r,name:n}=this;if(!r||!r.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let c=t[l];if(typeof c=="string"&&(c=c.trim(),h$(c))){const u=Sde(c,r.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=c)}}if(this.resolveNoneKeyframes(),!xde.has(n)||t.length!==2)return;const[i,a]=t,s=QK(i),o=QK(a);if(s!==o)if(VK(s)&&VK(o))for(let l=0;l<t.length;l++){const c=t[l];typeof c=="string"&&(t[l]=parseFloat(c))}else Hp[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:r}=this,n=[];for(let i=0;i<t.length;i++)(t[i]===null||Zze(t[i]))&&n.push(i);n.length&&sWe(t,n,r)}measureInitialState(){const{element:t,unresolvedKeyframes:r,name:n}=this;if(!t||!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Hp[n](t.measureViewportBox(),window.getComputedStyle(t.current)),r[0]=this.measuredOrigin;const i=r[r.length-1];i!==void 0&&t.getValue(n,i).jump(i,!1)}measureEndState(){var o;const{element:t,name:r,unresolvedKeyframes:n}=this;if(!t||!t.current)return;const i=t.getValue(r);i&&i.jump(this.measuredOrigin,!1);const a=n.length-1,s=n[a];n[a]=Hp[r](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),(o=this.removedTransforms)!=null&&o.length&&this.removedTransforms.forEach(([l,c])=>{t.getValue(l).set(c)}),this.resolveNoneKeyframes()}}function Ede(e,t,r){var n;if(e instanceof EventTarget)return[e];if(typeof e=="string"){let i=document;const a=(n=r==null?void 0:r[e])!=null?n:i.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}const Pde=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function jde(e){return Bue(e)&&"offsetHeight"in e}const ZK=30,lWe=e=>!isNaN(parseFloat(e)),Py={current:void 0};class cWe{constructor(t,r={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{var a;const i=ba.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&((a=this.events.change)==null||a.notify(this.current),this.dependents))for(const s of this.dependents)s.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=r.owner}setCurrent(t){this.current=t,this.updatedAt=ba.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=lWe(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,r){this.events[t]||(this.events[t]=new c$);const n=this.events[t].add(r);return t==="change"?()=>{n(),m0.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,r){this.passiveEffect=t,this.stopPassiveEffect=r}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,r,n){this.set(r),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,r=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,r&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return Py.current&&Py.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=ba.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>ZK)return 0;const r=Math.min(this.updatedAt-this.prevUpdatedAt,ZK);return que(parseFloat(this.current)-parseFloat(this.prevFrameValue),r)}start(t){return this.stop(),new Promise(r=>{this.hasAnimated=!0,this.animation=t(r),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,r;(t=this.dependents)==null||t.clear(),(r=this.events.destroy)==null||r.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function dh(e,t){return new cWe(e,t)}const{schedule:_$}=ede(queueMicrotask,!1),Js={x:!1,y:!1};function Rde(){return Js.x||Js.y}function uWe(e){return e==="x"||e==="y"?Js[e]?null:(Js[e]=!0,()=>{Js[e]=!1}):Js.x||Js.y?null:(Js.x=Js.y=!0,()=>{Js.x=Js.y=!1})}function Ide(e,t){const r=Ede(e),n=new AbortController,i={passive:!0,...t,signal:n.signal};return[r,i,()=>n.abort()]}function eX(e){return!(e.pointerType==="touch"||Rde())}function dWe(e,t,r={}){const[n,i,a]=Ide(e,r),s=o=>{if(!eX(o))return;const{target:l}=o,c=t(l,o);if(typeof c!="function"||!l)return;const u=d=>{eX(d)&&(c(d),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return n.forEach(o=>{o.addEventListener("pointerenter",s,i)}),a}const Ode=(e,t)=>t?e===t?!0:Ode(e,t.parentElement):!1,A$=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,pWe=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function hWe(e){return pWe.has(e.tagName)||e.tabIndex!==-1}const cT=new WeakSet;function tX(e){return t=>{t.key==="Enter"&&e(t)}}function j8(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const fWe=(e,t)=>{const r=e.currentTarget;if(!r)return;const n=tX(()=>{if(cT.has(r))return;j8(r,"down");const i=tX(()=>{j8(r,"up")}),a=()=>j8(r,"cancel");r.addEventListener("keyup",i,t),r.addEventListener("blur",a,t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)};function rX(e){return A$(e)&&!Rde()}function mWe(e,t,r={}){const[n,i,a]=Ide(e,r),s=o=>{const l=o.currentTarget;if(!rX(o))return;cT.add(l);const c=t(l,o),u=(p,m)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",h),cT.has(l)&&cT.delete(l),rX(p)&&typeof c=="function"&&c(p,{success:m})},d=p=>{u(p,l===window||l===document||r.useGlobalTarget||Ode(l,p.target))},h=p=>{u(p,!1)};window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",h,i)};return n.forEach(o=>{(r.useGlobalTarget?window:o).addEventListener("pointerdown",s,i),jde(o)&&(o.addEventListener("focus",c=>fWe(c,i)),!hWe(o)&&!o.hasAttribute("tabindex")&&(o.tabIndex=0))}),a}function C$(e){return Bue(e)&&"ownerSVGElement"in e}function Mde(e){return C$(e)&&e.tagName==="svg"}function gWe(...e){const t=!Array.isArray(e[0]),r=t?0:-1,n=e[0+r],i=e[1+r],a=e[2+r],s=e[3+r],o=pde(i,a,s);return t?o(n):o}const cn=e=>!!(e&&e.getVelocity);function bWe(e,t,r){const n=e.get();let i=null,a=n,s;const o=typeof n=="string"?n.replace(/[\d.-]/g,""):void 0,l=()=>{i&&(i.stop(),i=null)},c=()=>{l(),i=new o6({keyframes:[iX(e.get()),iX(a)],velocity:e.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...r,onUpdate:s})};if(e.attach((u,d)=>(a=u,s=h=>d(nX(h,o)),m0.postRender(c),e.get()),l),cn(t)){const u=t.on("change",h=>e.set(nX(h,o))),d=e.on("destroy",u);return()=>{u(),d()}}return l}function nX(e,t){return t?e+t:e}function iX(e){return typeof e=="number"?e:parseFloat(e)}const yWe=[..._de,wn,yd],vWe=e=>yWe.find(wde(e)),dv=j.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class TWe extends j.Component{getSnapshotBeforeUpdate(t){const r=this.props.childRef.current;if(r&&t.isPresent&&!this.props.isPresent){const n=r.offsetParent,i=jde(n)&&n.offsetWidth||0,a=this.props.sizeRef.current;a.height=r.offsetHeight||0,a.width=r.offsetWidth||0,a.top=r.offsetTop,a.left=r.offsetLeft,a.right=i-a.width-a.left}return null}componentDidUpdate(){}render(){return this.props.children}}function SWe({children:e,isPresent:t,anchorX:r,root:n}){const i=j.useId(),a=j.useRef(null),s=j.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:o}=j.useContext(dv);return j.useInsertionEffect(()=>{const{width:l,height:c,top:u,left:d,right:h}=s.current;if(t||!a.current||!l||!c)return;const p=r==="left"?`left: ${d}`:`right: ${h}`;a.current.dataset.motionPopId=i;const m=document.createElement("style");o&&(m.nonce=o);const g=n!=null?n:document.head;return g.appendChild(m),m.sheet&&m.sheet.insertRule(`
[data-motion-pop-id="${i}"] {
position: absolute !important;
width: ${l}px !important;
height: ${c}px !important;
${p}px !important;
top: ${u}px !important;
}
`),()=>{g.contains(m)&&g.removeChild(m)}},[t]),f.jsx(TWe,{isPresent:t,childRef:a,sizeRef:s,children:j.cloneElement(e,{ref:a})})}const xWe=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:i,presenceAffectsLayout:a,mode:s,anchorX:o,root:l})=>{const c=Yh(wWe),u=j.useId();let d=!0,h=j.useMemo(()=>(d=!1,{id:u,initial:t,isPresent:r,custom:i,onExitComplete:p=>{c.set(p,!0);for(const m of c.values())if(!m)return;n&&n()},register:p=>(c.set(p,!1),()=>c.delete(p))}),[r,c,n]);return a&&d&&(h={...h}),j.useMemo(()=>{c.forEach((p,m)=>c.set(m,!1))},[r]),j.useEffect(()=>{!r&&!c.size&&n&&n()},[r]),s==="popLayout"&&(e=f.jsx(SWe,{isPresent:r,anchorX:o,root:l,children:e})),f.jsx(ov.Provider,{value:h,children:e})};function wWe(){return new Map}function E$(e=!0){const t=j.useContext(ov);if(t===null)return[!0,null];const{isPresent:r,onExitComplete:n,register:i}=t,a=j.useId();j.useEffect(()=>{if(e)return i(a)},[e]);const s=j.useCallback(()=>e&&n&&n(a),[a,n,e]);return!r&&n?[!1,s]:[!0]}function _We(){return AWe(j.useContext(ov))}function AWe(e){return e===null?!0:e.isPresent}const z2=e=>e.key||"";function aX(e){const t=[];return j.Children.forEach(e,r=>{j.isValidElement(r)&&t.push(r)}),t}const bi=({children:e,custom:t,initial:r=!0,onExitComplete:n,presenceAffectsLayout:i=!0,mode:a="sync",propagate:s=!1,anchorX:o="left",root:l})=>{const[c,u]=E$(s),d=j.useMemo(()=>aX(e),[e]),h=s&&!c?[]:d.map(z2),p=j.useRef(!0),m=j.useRef(d),g=Yh(()=>new Map),[b,y]=j.useState(d),[v,S]=j.useState(d);a6(()=>{p.current=!1,m.current=d;for(let A=0;A<v.length;A++){const _=z2(v[A]);h.includes(_)?g.delete(_):g.get(_)!==!0&&g.set(_,!1)}},[v,h.length,h.join("-")]);const x=[];if(d!==b){let A=[...d];for(let _=0;_<v.length;_++){const C=v[_],E=z2(C);h.includes(E)||(A.splice(_,0,C),x.push(C))}return a==="wait"&&x.length&&(A=x),S(aX(A)),y(d),null}const{forceRender:w}=j.useContext(i$);return f.jsx(f.Fragment,{children:v.map(A=>{const _=z2(A),C=s&&!c?!1:d===v||h.includes(_),E=()=>{if(g.has(_))g.set(_,!0);else return;let R=!0;g.forEach(P=>{P||(R=!1)}),R&&(w==null||w(),S(m.current),s&&(u==null||u()),n&&n())};return f.jsx(xWe,{isPresent:C,initial:!p.current||r?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:l,onExitComplete:C?void 0:E,anchorX:o,children:A},_)})})},kde=j.createContext({strict:!1}),sX={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Jm={};for(const e in sX)Jm[e]={isEnabled:t=>sX[e].some(r=>!!t[r])};function CWe(e){for(const t in e)Jm[t]={...Jm[t],...e[t]}}const EWe=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function dS(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||EWe.has(e)}let Dde=e=>!dS(e);function PWe(e){typeof e=="function"&&(Dde=t=>t.startsWith("on")?!dS(t):e(t))}try{PWe(require("@emotion/is-prop-valid").default)}catch(e){}function jWe(e,t,r){const n={};for(const i in e)i==="values"&&typeof e.values=="object"||(Dde(i)||r===!0&&dS(i)||!t&&!dS(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}const l6=j.createContext({});function c6(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function S5(e){return typeof e=="string"||Array.isArray(e)}const P$=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],j$=["initial",...P$];function u6(e){return c6(e.animate)||j$.some(t=>S5(e[t]))}function Lde(e){return!!(u6(e)||e.variants)}function RWe(e,t){if(u6(e)){const{initial:r,animate:n}=e;return{initial:r===!1||S5(r)?r:void 0,animate:S5(n)?n:void 0}}return e.inherit!==!1?t:{}}function IWe(e){const{initial:t,animate:r}=RWe(e,j.useContext(l6));return j.useMemo(()=>({initial:t,animate:r}),[oX(t),oX(r)])}function oX(e){return Array.isArray(e)?e.join(" "):e}const x5={};function OWe(e){for(const t in e)x5[t]=e[t],p$(t)&&(x5[t].isCSSVariable=!0)}function Fde(e,{layout:t,layoutId:r}){return b1.has(e)||e.startsWith("origin")||(t||r!==void 0)&&(!!x5[e]||e==="opacity")}const MWe={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},kWe=g1.length;function DWe(e,t,r){let n="",i=!0;for(let a=0;a<kWe;a++){const s=g1[a],o=e[s];if(o===void 0)continue;let l=!0;if(typeof o=="number"?l=o===(s.startsWith("scale")?1:0):l=parseFloat(o)===0,!l||r){const c=Pde(o,w$[s]);if(!l){i=!1;const u=MWe[s]||s;n+=`${u}(${c}) `}r&&(t[s]=c)}}return n=n.trim(),r?n=r(t,i?"":n):i&&(n="none"),n}function R$(e,t,r){const{style:n,vars:i,transformOrigin:a}=e;let s=!1,o=!1;for(const l in t){const c=t[l];if(b1.has(l)){s=!0;continue}else if(p$(l)){i[l]=c;continue}else{const u=Pde(c,w$[l]);l.startsWith("origin")?(o=!0,a[l]=u):n[l]=u}}if(t.transform||(s||r?n.transform=DWe(t,e.transform,r):n.transform&&(n.transform="none")),o){const{originX:l="50%",originY:c="50%",originZ:u=0}=a;n.transformOrigin=`${l} ${c} ${u}`}}const I$=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function $de(e,t,r){for(const n in t)!cn(t[n])&&!Fde(n,r)&&(e[n]=t[n])}function LWe({transformTemplate:e},t){return j.useMemo(()=>{const r=I$();return R$(r,t,e),Object.assign({},r.vars,r.style)},[t])}function FWe(e,t){const r=e.style||{},n={};return $de(n,r,e),Object.assign(n,LWe(e,t)),n}function $We(e,t){const r={},n=FWe(e,t);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r}const BWe={offset:"stroke-dashoffset",array:"stroke-dasharray"},NWe={offset:"strokeDashoffset",array:"strokeDasharray"};function qWe(e,t,r=1,n=0,i=!0){e.pathLength=1;const a=i?BWe:NWe;e[a.offset]=$t.transform(-n);const s=$t.transform(t),o=$t.transform(r);e[a.array]=`${s} ${o}`}function Bde(e,{attrX:t,attrY:r,attrScale:n,pathLength:i,pathSpacing:a=1,pathOffset:s=0,...o},l,c,u){var p,m;if(R$(e,o,c),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:h}=e;d.transform&&(h.transform=d.transform,delete d.transform),(h.transform||d.transformOrigin)&&(h.transformOrigin=(p=d.transformOrigin)!=null?p:"50% 50%",delete d.transformOrigin),h.transform&&(h.transformBox=(m=u==null?void 0:u.transformBox)!=null?m:"fill-box",delete d.transformBox),t!==void 0&&(d.x=t),r!==void 0&&(d.y=r),n!==void 0&&(d.scale=n),i!==void 0&&qWe(d,i,a,s,!1)}const Nde=()=>({...I$(),attrs:{}}),qde=e=>typeof e=="string"&&e.toLowerCase()==="svg";function zWe(e,t,r,n){const i=j.useMemo(()=>{const a=Nde();return Bde(a,t,qde(n),e.transformTemplate,e.style),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};$de(a,e.style,e),i.style={...a,...i.style}}return i}const WWe=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function O$(e){return typeof e!="string"||e.includes("-")?!1:!!(WWe.indexOf(e)>-1||/[A-Z]/u.test(e))}function HWe(e,t,r,{latestValues:n},i,a=!1){const o=(O$(e)?zWe:$We)(t,n,i,e),l=jWe(t,typeof e=="string",a),c=e!==j.Fragment?{...l,...o,ref:r}:{},{children:u}=t,d=j.useMemo(()=>cn(u)?u.get():u,[u]);return j.createElement(e,{...c,children:d})}function lX(e){const t=[{},{}];return e==null||e.values.forEach((r,n)=>{t[0][n]=r.get(),t[1][n]=r.getVelocity()}),t}function M$(e,t,r,n){if(typeof t=="function"){const[i,a]=lX(n);t=t(r!==void 0?r:e.custom,i,a)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,a]=lX(n);t=t(r!==void 0?r:e.custom,i,a)}return t}function uT(e){return cn(e)?e.get():e}function UWe({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,i){return{latestValues:GWe(r,n,i,e),renderState:t()}}function GWe(e,t,r,n){const i={},a=n(e,{});for(const h in a)i[h]=uT(a[h]);let{initial:s,animate:o}=e;const l=u6(e),c=Lde(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),o===void 0&&(o=t.animate));let u=r?r.initial===!1:!1;u=u||s===!1;const d=u?o:s;if(d&&typeof d!="boolean"&&!c6(d)){const h=Array.isArray(d)?d:[d];for(let p=0;p<h.length;p++){const m=M$(e,h[p]);if(m){const{transitionEnd:g,transition:b,...y}=m;for(const v in y){let S=y[v];if(Array.isArray(S)){const x=u?S.length-1:0;S=S[x]}S!==null&&(i[v]=S)}for(const v in g)i[v]=g[v]}}}return i}const zde=e=>(t,r)=>{const n=j.useContext(l6),i=j.useContext(ov),a=()=>UWe(e,t,n,i);return r?a():Yh(a)};function k$(e,t,r){var a;const{style:n}=e,i={};for(const s in n)(cn(n[s])||t.style&&cn(t.style[s])||Fde(s,e)||((a=r==null?void 0:r.getValue(s))==null?void 0:a.liveStyle)!==void 0)&&(i[s]=n[s]);return i}const VWe=zde({scrapeMotionValuesFromProps:k$,createRenderState:I$});function Wde(e,t,r){const n=k$(e,t,r);for(const i in e)if(cn(e[i])||cn(t[i])){const a=g1.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[a]=e[i]}return n}const YWe=zde({scrapeMotionValuesFromProps:Wde,createRenderState:Nde}),KWe=Symbol.for("motionComponentSymbol");function Yf(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function XWe(e,t,r){return j.useCallback(n=>{n&&e.onMount&&e.onMount(n),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):Yf(r)&&(r.current=n))},[t])}const D$=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),QWe="framerAppearId",Hde="data-"+D$(QWe),Ude=j.createContext({});function JWe(e,t,r,n,i){var g,b;const{visualElement:a}=j.useContext(l6),s=j.useContext(kde),o=j.useContext(ov),l=j.useContext(dv).reducedMotion,c=j.useRef(null);n=n||s.renderer,!c.current&&n&&(c.current=n(e,{visualState:t,parent:a,props:r,presenceContext:o,blockInitialAnimation:o?o.initial===!1:!1,reducedMotionConfig:l}));const u=c.current,d=j.useContext(Ude);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&ZWe(c.current,r,i,d);const h=j.useRef(!1);j.useInsertionEffect(()=>{u&&h.current&&u.update(r,o)});const p=r[Hde],m=j.useRef(!!p&&!((g=window.MotionHandoffIsComplete)!=null&&g.call(window,p))&&((b=window.MotionHasOptimisedAnimation)==null?void 0:b.call(window,p)));return a6(()=>{u&&(h.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),m.current&&u.animationState&&u.animationState.animateChanges())}),j.useEffect(()=>{u&&(!m.current&&u.animationState&&u.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var y;(y=window.MotionHandoffMarkAsComplete)==null||y.call(window,p)}),m.current=!1),u.enteringChildren=void 0)}),u}function ZWe(e,t,r,n){const{layoutId:i,layout:a,drag:s,dragConstraints:o,layoutScroll:l,layoutRoot:c,layoutCrossfade:u}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:Gde(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!s||o&&Yf(o),visualElement:e,animationType:typeof a=="string"?a:"both",initialPromotionConfig:n,crossfade:u,layoutScroll:l,layoutRoot:c})}function Gde(e){if(e)return e.options.allowProjection!==!1?e.projection:Gde(e.parent)}function R8(e,{forwardMotionProps:t=!1}={},r,n){var o,l;r&&CWe(r);const i=O$(e)?YWe:VWe;function a(c,u){let d;const h={...j.useContext(dv),...c,layoutId:eHe(c)},{isStatic:p}=h,m=IWe(c),g=i(c,p);if(!p&&a$){tHe();const b=rHe(h);d=b.MeasureLayout,m.visualElement=JWe(e,g,h,n,b.ProjectionNode)}return f.jsxs(l6.Provider,{value:m,children:[d&&m.visualElement?f.jsx(d,{visualElement:m.visualElement,...h}):null,HWe(e,c,XWe(g,m.visualElement,u),g,p,t)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${(l=(o=e.displayName)!=null?o:e.name)!=null?l:""})`}`;const s=j.forwardRef(a);return s[KWe]=e,s}function eHe({layoutId:e}){const t=j.useContext(i$).id;return t&&e!==void 0?t+"-"+e:e}function tHe(e,t){j.useContext(kde).strict}function rHe(e){const{drag:t,layout:r}=Jm;if(!t&&!r)return{};const n={...t,...r};return{MeasureLayout:t!=null&&t.isEnabled(e)||r!=null&&r.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}function nHe(e,t){if(typeof Proxy>"u")return R8;const r=new Map,n=(a,s)=>R8(a,s,e,t),i=(a,s)=>n(a,s);return new Proxy(i,{get:(a,s)=>s==="create"?n:(r.has(s)||r.set(s,R8(s,void 0,e,t)),r.get(s))})}function Vde({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function iHe({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function aHe(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function I8(e){return e===void 0||e===1}function YR({scale:e,scaleX:t,scaleY:r}){return!I8(e)||!I8(t)||!I8(r)}function gp(e){return YR(e)||Yde(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Yde(e){return cX(e.x)||cX(e.y)}function cX(e){return e&&e!=="0%"}function pS(e,t,r){const n=e-r,i=t*n;return r+i}function uX(e,t,r,n,i){return i!==void 0&&(e=pS(e,i,n)),pS(e,r,n)+t}function KR(e,t=0,r=1,n,i){e.min=uX(e.min,t,r,n,i),e.max=uX(e.max,t,r,n,i)}function Kde(e,{x:t,y:r}){KR(e.x,t.translate,t.scale,t.originPoint),KR(e.y,r.translate,r.scale,r.originPoint)}const dX=.999999999999,pX=1.0000000000001;function sHe(e,t,r,n=!1){const i=r.length;if(!i)return;t.x=t.y=1;let a,s;for(let o=0;o<i;o++){a=r[o],s=a.projectionDelta;const{visualElement:l}=a.options;l&&l.props.style&&l.props.style.display==="contents"||(n&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Xf(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Kde(e,s)),n&&gp(a.latestValues)&&Xf(e,a.latestValues))}t.x<pX&&t.x>dX&&(t.x=1),t.y<pX&&t.y>dX&&(t.y=1)}function Kf(e,t){e.min=e.min+t,e.max=e.max+t}function hX(e,t,r,n,i=.5){const a=O0(e.min,e.max,i);KR(e,t,r,a,n)}function Xf(e,t){hX(e.x,t.x,t.scaleX,t.scale,t.originX),hX(e.y,t.y,t.scaleY,t.scale,t.originY)}function Xde(e,t){return Vde(aHe(e.getBoundingClientRect(),t))}function oHe(e,t,r){const n=Xde(e,r),{scroll:i}=t;return i&&(Kf(n.x,i.offset.x),Kf(n.y,i.offset.y)),n}const fX=()=>({translate:0,scale:1,origin:0,originPoint:0}),Qf=()=>({x:fX(),y:fX()}),mX=()=>({min:0,max:0}),X0=()=>({x:mX(),y:mX()}),XR={current:null},Qde={current:!1};function lHe(){if(Qde.current=!0,!!a$)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>XR.current=e.matches;e.addEventListener("change",t),t()}else XR.current=!1}const w5=new WeakMap;function cHe(e,t,r){for(const n in t){const i=t[n],a=r[n];if(cn(i))e.addValue(n,i);else if(cn(a))e.addValue(n,dh(i,{owner:e}));else if(a!==i)if(e.hasValue(n)){const s=e.getValue(n);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(n);e.addValue(n,dh(s!==void 0?s:i,{owner:e}))}}for(const n in r)t[n]===void 0&&e.removeValue(n);return t}const gX=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Jde{scrapeMotionValuesFromProps(t,r,n){return{}}constructor({parent:t,props:r,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:a,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=T$,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=ba.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,m0.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=r.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=r,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=o,this.blockInitialAnimation=!!a,this.isControllingVariants=u6(r),this.isVariantNode=Lde(r),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...d}=this.scrapeMotionValuesFromProps(r,{},this);for(const h in d){const p=d[h];l[h]!==void 0&&cn(p)&&p.set(l[h])}}mount(t){var r;this.current=t,w5.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,i)=>this.bindToMotionValue(i,n)),Qde.current||lHe(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:XR.current,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var t;this.projection&&this.projection.unmount(),eu(this.notifyUpdate),eu(this.render),this.valueSubscriptions.forEach(r=>r()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const n=this.features[r];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){var r;this.children.add(t),(r=this.enteringChildren)!=null||(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,r){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const n=b1.has(t);n&&this.onBindTransform&&this.onBindTransform();const i=r.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&m0.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let a;window.MotionCheckAppearSync&&(a=window.MotionCheckAppearSync(this,t,r)),this.valueSubscriptions.set(t,()=>{i(),a&&a(),r.owner&&r.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Jm){const r=Jm[t];if(!r)continue;const{isEnabled:n,Feature:i}=r;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){const a=this.features[t];a.isMounted?a.update():(a.mount(),a.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):X0()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,r){this.latestValues[t]=r}update(t,r){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=r;for(let n=0;n<gX.length;n++){const i=gX[n];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const a="on"+i,s=t[a];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=cHe(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const r=this.getClosestVariantNode();if(r)return r.variantChildren&&r.variantChildren.add(t),()=>r.variantChildren.delete(t)}addValue(t,r){const n=this.values.get(t);r!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,r),this.values.set(t,r),this.latestValues[t]=r.get())}removeValue(t){this.values.delete(t);const r=this.valueSubscriptions.get(t);r&&(r(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,r){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&r!==void 0&&(n=dh(r===null?void 0:r,{owner:this}),this.addValue(t,n)),n}readValue(t,r){var i;let n=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(i=this.getBaseTargetFromProps(this.props,t))!=null?i:this.readValueFromInstance(this.current,t,this.options);return n!=null&&(typeof n=="string"&&($ue(n)||Nue(n))?n=parseFloat(n):!vWe(n)&&yd.test(r)&&(n=Cde(t,r)),this.setBaseTarget(t,cn(n)?n.get():n)),cn(n)?n.get():n}setBaseTarget(t,r){this.baseTarget[t]=r}getBaseTarget(t){var a;const{initial:r}=this.props;let n;if(typeof r=="string"||typeof r=="object"){const s=M$(this.props,r,(a=this.presenceContext)==null?void 0:a.custom);s&&(n=s[t])}if(r&&n!==void 0)return n;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!cn(i)?i:this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,r){return this.events[t]||(this.events[t]=new c$),this.events[t].add(r)}notify(t,...r){this.events[t]&&this.events[t].notify(...r)}scheduleRenderMicrotask(){_$.render(this.render)}}class Zde extends Jde{constructor(){super(...arguments),this.KeyframeResolver=oWe}sortInstanceNodePosition(t,r){return t.compareDocumentPosition(r)&2?1:-1}getBaseTargetFromProps(t,r){return t.style?t.style[r]:void 0}removeValueFromRenderState(t,{vars:r,style:n}){delete r[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;cn(t)&&(this.childSubscription=t.on("change",r=>{this.current&&(this.current.textContent=`${r}`)}))}}function epe(e,{style:t,vars:r},n,i){const a=e.style;let s;for(s in t)a[s]=t[s];i==null||i.applyProjectionStyles(a,n);for(s in r)a.setProperty(s,r[s])}function uHe(e){return window.getComputedStyle(e)}class tpe extends Zde{constructor(){super(...arguments),this.type="html",this.renderInstance=epe}readValueFromInstance(t,r){var n;if(b1.has(r))return(n=this.projection)!=null&&n.isProjecting?qR(r):_ze(t,r);{const i=uHe(t),a=(p$(r)?i.getPropertyValue(r):i[r])||0;return typeof a=="string"?a.trim():a}}measureInstanceViewportBox(t,{transformPagePoint:r}){return Xde(t,r)}build(t,r,n){R$(t,r,n.transformTemplate)}scrapeMotionValuesFromProps(t,r,n){return k$(t,r,n)}}const rpe=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function dHe(e,t,r,n){epe(e,t,void 0,n);for(const i in t.attrs)e.setAttribute(rpe.has(i)?i:D$(i),t.attrs[i])}class npe extends Zde{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=X0}getBaseTargetFromProps(t,r){return t[r]}readValueFromInstance(t,r){if(b1.has(r)){const n=Ade(r);return n&&n.default||0}return r=rpe.has(r)?r:D$(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,r,n){return Wde(t,r,n)}build(t,r,n){Bde(t,r,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,r,n,i){dHe(t,r,n,i)}mount(t){this.isSVGTag=qde(t.tagName),super.mount(t)}}const pHe=(e,t)=>O$(e)?new npe(t):new tpe(t,{allowProjection:e!==j.Fragment});function Cm(e,t,r){const n=e.getProps();return M$(n,t,r!==void 0?r:n.custom,e)}const QR=e=>Array.isArray(e);function hHe(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,dh(r))}function fHe(e){return QR(e)?e[e.length-1]||0:e}function L$(e,t){const r=Cm(e,t);let{transitionEnd:n={},transition:i={},...a}=r||{};a={...a,...n};for(const s in a){const o=fHe(a[s]);hHe(e,s,o)}}function mHe(e){return!!(cn(e)&&e.add)}function JR(e,t){const r=e.getValue("willChange");if(mHe(r))return r.add(t);if(!r&&jl.WillChange){const n=new jl.WillChange("auto");e.addValue("willChange",n),n.add(t)}}function ipe(e){return e.props[Hde]}const gHe=e=>e!==null;function bHe(e,{repeat:t,repeatType:r="loop"},n){const i=e.filter(gHe),a=t&&r!=="loop"&&t%2===1?0:i.length-1;return i[a]}const yHe={type:"spring",stiffness:500,damping:25,restSpeed:10},vHe=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),THe={type:"keyframes",duration:.8},SHe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},xHe=(e,{keyframes:t})=>t.length>2?THe:b1.has(e)?e.startsWith("scale")?vHe(t[1]):yHe:SHe;function wHe({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:a,repeatType:s,repeatDelay:o,from:l,elapsed:c,...u}){return!!Object.keys(u).length}const F$=(e,t,r,n={},i,a)=>s=>{const o=x$(n,e)||{},l=o.delay||n.delay||0;let{elapsed:c=0}=n;c=c-bo(l);const u={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-c,onUpdate:h=>{t.set(h),o.onUpdate&&o.onUpdate(h)},onComplete:()=>{s(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:a?void 0:i};wHe(o)||Object.assign(u,xHe(e,u)),u.duration&&(u.duration=bo(u.duration)),u.repeatDelay&&(u.repeatDelay=bo(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(GR(u),u.delay===0&&(d=!0)),(jl.instantAnimations||jl.skipAnimations)&&(d=!0,GR(u),u.delay=0),u.allowFlatten=!o.type&&!o.ease,d&&!a&&t.get()!==void 0){const h=bHe(u.keyframes,o);if(h!==void 0){m0.update(()=>{u.onUpdate(h),u.onComplete()});return}}return o.isSync?new o6(u):new Vze(u)};function _He({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&t[r]!==!0;return t[r]=!1,n}function $$(e,t,{delay:r=0,transitionOverride:n,type:i}={}){var u;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...o}=t;n&&(a=n);const l=[],c=i&&e.animationState&&e.animationState.getState()[i];for(const d in o){const h=e.getValue(d,(u=e.latestValues[d])!=null?u:null),p=o[d];if(p===void 0||c&&_He(c,d))continue;const m={delay:r,...x$(a||{},d)},g=h.get();if(g!==void 0&&!h.isAnimating&&!Array.isArray(p)&&p===g&&!m.velocity)continue;let b=!1;if(window.MotionHandoffAnimation){const v=ipe(e);if(v){const S=window.MotionHandoffAnimation(v,d,m0);S!==null&&(m.startTime=S,b=!0)}}JR(e,d),h.start(F$(d,h,p,e.shouldReduceMotion&&xde.has(d)?{type:!1}:m,e,b));const y=h.animation;y&&l.push(y)}return s&&Promise.all(l).then(()=>{m0.update(()=>{s&&L$(e,s)})}),l}function ape(e,t,r,n=0,i=1){const a=Array.from(e).sort((c,u)=>c.sortNodePosition(u)).indexOf(t),s=e.size,o=(s-1)*n;return typeof r=="function"?r(a,s):i===1?a*n:o-a*n}function ZR(e,t,r={}){var l;const n=Cm(e,t,r.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);const a=n?()=>Promise.all($$(e,n,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:h}=i;return AHe(e,t,c,u,d,h,r)}:()=>Promise.resolve(),{when:o}=i;if(o){const[c,u]=o==="beforeChildren"?[a,s]:[s,a];return c().then(()=>u())}else return Promise.all([a(),s(r.delay)])}function AHe(e,t,r=0,n=0,i=0,a=1,s){const o=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),o.push(ZR(l,t,{...s,delay:r+(typeof n=="function"?0:n)+ape(e.variantChildren,l,n,i,a)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(o)}function spe(e,t,r={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){const i=t.map(a=>ZR(e,a,r));n=Promise.all(i)}else if(typeof t=="string")n=ZR(e,t,r);else{const i=typeof t=="function"?Cm(e,t,r.custom):t;n=Promise.all($$(e,i,r))}return n.then(()=>{e.notify("AnimationComplete",t)})}function ope(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}const CHe=j$.length;function lpe(e){if(!e)return;if(!e.isControllingVariants){const r=e.parent?lpe(e.parent)||{}:{};return e.props.initial!==void 0&&(r.initial=e.props.initial),r}const t={};for(let r=0;r<CHe;r++){const n=j$[r],i=e.props[n];(S5(i)||i===!1)&&(t[n]=i)}return t}const EHe=[...P$].reverse(),PHe=P$.length;function jHe(e){return t=>Promise.all(t.map(({animation:r,options:n})=>spe(e,r,n)))}function RHe(e){let t=jHe(e),r=bX(),n=!0;const i=l=>(c,u)=>{var h;const d=Cm(e,u,l==="exit"?(h=e.presenceContext)==null?void 0:h.custom:void 0);if(d){const{transition:p,transitionEnd:m,...g}=d;c={...c,...g,...m}}return c};function a(l){t=l(e)}function s(l){const{props:c}=e,u=lpe(e.parent)||{},d=[],h=new Set;let p={},m=1/0;for(let b=0;b<PHe;b++){const y=EHe[b],v=r[y],S=c[y]!==void 0?c[y]:u[y],x=S5(S),w=y===l?v.isActive:null;w===!1&&(m=b);let A=S===u[y]&&S!==c[y]&&x;if(A&&n&&e.manuallyAnimateOnMount&&(A=!1),v.protectedKeys={...p},!v.isActive&&w===null||!S&&!v.prevProp||c6(S)||typeof S=="boolean")continue;const _=IHe(v.prevProp,S);let C=_||y===l&&v.isActive&&!A&&x||b>m&&x,E=!1;const R=Array.isArray(S)?S:[S];let P=R.reduce(i(y),{});w===!1&&(P={});const{prevResolvedValues:O={}}=v,k={...O,...P},I=F=>{C=!0,h.has(F)&&(E=!0,h.delete(F)),v.needsAnimating[F]=!0;const $=e.getValue(F);$&&($.liveStyle=!1)};for(const F in k){const $=P[F],Y=O[F];if(p.hasOwnProperty(F))continue;let he=!1;QR($)&&QR(Y)?he=!ope($,Y):he=$!==Y,he?$!=null?I(F):h.add(F):$!==void 0&&h.has(F)?I(F):v.protectedKeys[F]=!0}v.prevProp=S,v.prevResolvedValues=P,v.isActive&&(p={...p,...P}),n&&e.blockInitialAnimation&&(C=!1);const M=A&&_;C&&(!M||E)&&d.push(...R.map(F=>{const $={type:y};if(typeof F=="string"&&n&&!M&&e.manuallyAnimateOnMount&&e.parent){const{parent:Y}=e,he=Cm(Y,F);if(Y.enteringChildren&&he){const{delayChildren:fe}=he.transition||{};$.delay=ape(Y.enteringChildren,e,fe)}}return{animation:F,options:$}}))}if(h.size){const b={};if(typeof c.initial!="boolean"){const y=Cm(e,Array.isArray(c.initial)?c.initial[0]:c.initial);y&&y.transition&&(b.transition=y.transition)}h.forEach(y=>{const v=e.getBaseTarget(y),S=e.getValue(y);S&&(S.liveStyle=!0),b[y]=v!=null?v:null}),d.push({animation:b})}let g=!!d.length;return n&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(g=!1),n=!1,g?t(d):Promise.resolve()}function o(l,c){var d;if(r[l].isActive===c)return Promise.resolve();(d=e.variantChildren)==null||d.forEach(h=>{var p;return(p=h.animationState)==null?void 0:p.setActive(l,c)}),r[l].isActive=c;const u=s(l);for(const h in r)r[h].protectedKeys={};return u}return{animateChanges:s,setActive:o,setAnimateFunction:a,getState:()=>r,reset:()=>{r=bX(),n=!0}}}function IHe(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!ope(t,e):!1}function sp(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function bX(){return{animate:sp(!0),whileInView:sp(),whileHover:sp(),whileTap:sp(),whileDrag:sp(),whileFocus:sp(),exit:sp()}}class Nd{constructor(t){this.isMounted=!1,this.node=t}update(){}}class OHe extends Nd{constructor(t){super(t),t.animationState||(t.animationState=RHe(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();c6(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:r}=this.node.prevProps||{};t!==r&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let MHe=0;class kHe extends Nd{constructor(){super(...arguments),this.id=MHe++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;const i=this.node.animationState.setActive("exit",!t);r&&!t&&i.then(()=>{r(this.id)})}mount(){const{register:t,onExitComplete:r}=this.node.presenceContext||{};r&&r(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const DHe={animation:{Feature:OHe},exit:{Feature:kHe}};function _5(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}function pv(e){return{point:{x:e.pageX,y:e.pageY}}}const LHe=e=>t=>A$(t)&&e(t,pv(t));function jy(e,t,r,n){return _5(e,t,LHe(r),n)}const cpe=1e-4,FHe=1-cpe,$He=1+cpe,upe=.01,BHe=0-upe,NHe=0+upe;function Qi(e){return e.max-e.min}function qHe(e,t,r){return Math.abs(e-t)<=r}function yX(e,t,r,n=.5){e.origin=n,e.originPoint=O0(t.min,t.max,e.origin),e.scale=Qi(r)/Qi(t),e.translate=O0(r.min,r.max,e.origin)-e.originPoint,(e.scale>=FHe&&e.scale<=$He||isNaN(e.scale))&&(e.scale=1),(e.translate>=BHe&&e.translate<=NHe||isNaN(e.translate))&&(e.translate=0)}function Ry(e,t,r,n){yX(e.x,t.x,r.x,n?n.originX:void 0),yX(e.y,t.y,r.y,n?n.originY:void 0)}function vX(e,t,r){e.min=r.min+t.min,e.max=e.min+Qi(t)}function zHe(e,t,r){vX(e.x,t.x,r.x),vX(e.y,t.y,r.y)}function TX(e,t,r){e.min=t.min-r.min,e.max=e.min+Qi(t)}function Iy(e,t,r){TX(e.x,t.x,r.x),TX(e.y,t.y,r.y)}function ps(e){return[e("x"),e("y")]}const dpe=({current:e})=>e?e.ownerDocument.defaultView:null,SX=(e,t)=>Math.abs(e-t);function WHe(e,t){const r=SX(e.x,t.x),n=SX(e.y,t.y);return Math.sqrt(r**2+n**2)}class ppe{constructor(t,r,{transformPagePoint:n,contextWindow:i=window,dragSnapToOrigin:a=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=M8(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,m=WHe(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!p&&!m)return;const{point:g}=h,{timestamp:b}=ii;this.history.push({...g,timestamp:b});const{onStart:y,onMove:v}=this.handlers;p||(y&&y(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,h)},this.handlePointerMove=(h,p)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=O8(p,this.transformPagePoint),m0.update(this.updatePoint,!0)},this.handlePointerUp=(h,p)=>{this.end();const{onEnd:m,onSessionEnd:g,resumeAnimation:b}=this.handlers;if(this.dragSnapToOrigin&&b&&b(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=M8(h.type==="pointercancel"?this.lastMoveEventInfo:O8(p,this.transformPagePoint),this.history);this.startEvent&&m&&m(h,y),g&&g(h,y)},!A$(t))return;this.dragSnapToOrigin=a,this.handlers=r,this.transformPagePoint=n,this.distanceThreshold=s,this.contextWindow=i||window;const o=pv(t),l=O8(o,this.transformPagePoint),{point:c}=l,{timestamp:u}=ii;this.history=[{...c,timestamp:u}];const{onSessionStart:d}=r;d&&d(t,M8(l,this.history)),this.removeListeners=lv(jy(this.contextWindow,"pointermove",this.handlePointerMove),jy(this.contextWindow,"pointerup",this.handlePointerUp),jy(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),eu(this.updatePoint)}}function O8(e,t){return t?{point:t(e.point)}:e}function xX(e,t){return{x:e.x-t.x,y:e.y-t.y}}function M8({point:e},t){return{point:e,delta:xX(e,hpe(t)),offset:xX(e,HHe(t)),velocity:UHe(t,.1)}}function HHe(e){return e[0]}function hpe(e){return e[e.length-1]}function UHe(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const i=hpe(e);for(;r>=0&&(n=e[r],!(i.timestamp-n.timestamp>bo(t)));)r--;if(!n)return{x:0,y:0};const a=yl(i.timestamp-n.timestamp);if(a===0)return{x:0,y:0};const s={x:(i.x-n.x)/a,y:(i.y-n.y)/a};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function GHe(e,{min:t,max:r},n){return t!==void 0&&e<t?e=n?O0(t,e,n.min):Math.max(e,t):r!==void 0&&e>r&&(e=n?O0(r,e,n.max):Math.min(e,r)),e}function wX(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function VHe(e,{top:t,left:r,bottom:n,right:i}){return{x:wX(e.x,r,i),y:wX(e.y,t,n)}}function _X(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function YHe(e,t){return{x:_X(e.x,t.x),y:_X(e.y,t.y)}}function KHe(e,t){let r=.5;const n=Qi(e),i=Qi(t);return i>n?r=Qm(t.min,t.max-n,e.min):n>i&&(r=Qm(e.min,e.max-i,t.min)),Zc(0,1,r)}function XHe(e,t){const r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}const eI=.35;function QHe(e=eI){return e===!1?e=0:e===!0&&(e=eI),{x:AX(e,"left","right"),y:AX(e,"top","bottom")}}function AX(e,t,r){return{min:CX(e,t),max:CX(e,r)}}function CX(e,t){return typeof e=="number"?e:e[t]||0}const JHe=new WeakMap;class ZHe{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=X0(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:r=!1,distanceThreshold:n}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const a=d=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),r&&this.snapToCursor(pv(d).point)},s=(d,h)=>{const{drag:p,dragPropagation:m,onDragStart:g}=this.getProps();if(p&&!m&&(this.openDragLock&&this.openDragLock(),this.openDragLock=uWe(p),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ps(y=>{let v=this.getAxisMotionValue(y).get()||0;if(vl.test(v)){const{projection:S}=this.visualElement;if(S&&S.layout){const x=S.layout.layoutBox[y];x&&(v=Qi(x)*(parseFloat(v)/100))}}this.originPoint[y]=v}),g&&m0.postRender(()=>g(d,h)),JR(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},o=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h;const{dragPropagation:p,dragDirectionLock:m,onDirectionLock:g,onDrag:b}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:y}=h;if(m&&this.currentDirection===null){this.currentDirection=eUe(y),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",h.point,y),this.updateAxis("y",h.point,y),this.visualElement.render(),b&&b(d,h)},l=(d,h)=>{this.latestPointerEvent=d,this.latestPanInfo=h,this.stop(d,h),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>ps(d=>{var h;return this.getAnimationState(d)==="paused"&&((h=this.getAxisMotionValue(d).animation)==null?void 0:h.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new ppe(t,{onSessionStart:a,onStart:s,onMove:o,onSessionEnd:l,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:n,contextWindow:dpe(this.visualElement)})}stop(t,r){const n=t||this.latestPointerEvent,i=r||this.latestPanInfo,a=this.isDragging;if(this.cancel(),!a||!i||!n)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:o}=this.getProps();o&&m0.postRender(()=>o(n,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:r}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),r&&r.setActive("whileDrag",!1)}updateAxis(t,r,n){const{drag:i}=this.getProps();if(!n||!W2(t,i,this.currentDirection))return;const a=this.getAxisMotionValue(t);let s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=GHe(s,this.constraints[t],this.elastic[t])),a.set(s)}resolveConstraints(){var a;const{dragConstraints:t,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(a=this.visualElement.projection)==null?void 0:a.layout,i=this.constraints;t&&Yf(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=VHe(n.layoutBox,t):this.constraints=!1,this.elastic=QHe(r),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&ps(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=XHe(n.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!Yf(t))return!1;const n=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const a=oHe(n,i.root,this.visualElement.getTransformPagePoint());let s=YHe(i.layout.layoutBox,a);if(r){const o=r(iHe(s));this.hasMutatedConstraints=!!o,o&&(s=Vde(o))}return s}startAnimation(t){const{drag:r,dragMomentum:n,dragElastic:i,dragTransition:a,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{},c=ps(u=>{if(!W2(u,r,this.currentDirection))return;let d=l&&l[u]||{};s&&(d={min:0,max:0});const h=i?200:1e6,p=i?40:1e7,m={type:"inertia",velocity:n?t[u]:0,bounceStiffness:h,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...a,...d};return this.startAxisValueAnimation(u,m)});return Promise.all(c).then(o)}startAxisValueAnimation(t,r){const n=this.getAxisMotionValue(t);return JR(this.visualElement,t),n.start(F$(t,n,0,r,this.visualElement,!1))}stopAnimation(){ps(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){ps(t=>{var r;return(r=this.getAxisMotionValue(t).animation)==null?void 0:r.pause()})}getAnimationState(t){var r;return(r=this.getAxisMotionValue(t).animation)==null?void 0:r.state}getAxisMotionValue(t){const r=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),i=n[r];return i||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){ps(r=>{const{drag:n}=this.getProps();if(!W2(r,n,this.currentDirection))return;const{projection:i}=this.visualElement,a=this.getAxisMotionValue(r);if(i&&i.layout){const{min:s,max:o}=i.layout.layoutBox[r];a.set(t[r]-O0(s,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:r}=this.getProps(),{projection:n}=this.visualElement;if(!Yf(r)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};ps(s=>{const o=this.getAxisMotionValue(s);if(o&&this.constraints!==!1){const l=o.get();i[s]=KHe({min:l,max:l},this.constraints[s])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),ps(s=>{if(!W2(s,t,null))return;const o=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];o.set(O0(l,c,i[s]))})}addListeners(){if(!this.visualElement.current)return;JHe.set(this.visualElement,this);const t=this.visualElement.current,r=jy(t,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),n=()=>{const{dragConstraints:l}=this.getProps();Yf(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,a=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),m0.read(n);const s=_5(window,"resize",()=>this.scalePositionWithinConstraints()),o=i.addEventListener("didUpdate",(({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(ps(u=>{const d=this.getAxisMotionValue(u);d&&(this.originPoint[u]+=l[u].translate,d.set(d.get()+l[u].translate))}),this.visualElement.render())}));return()=>{s(),r(),a(),o&&o()}}getProps(){const t=this.visualElement.getProps(),{drag:r=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:a=!1,dragElastic:s=eI,dragMomentum:o=!0}=t;return{...t,drag:r,dragDirectionLock:n,dragPropagation:i,dragConstraints:a,dragElastic:s,dragMomentum:o}}}function W2(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function eUe(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class tUe extends Nd{constructor(t){super(t),this.removeGroupControls=Ss,this.removeListeners=Ss,this.controls=new ZHe(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ss}unmount(){this.removeGroupControls(),this.removeListeners()}}const EX=e=>(t,r)=>{e&&m0.postRender(()=>e(t,r))};class rUe extends Nd{constructor(){super(...arguments),this.removePointerDownListener=Ss}onPointerDown(t){this.session=new ppe(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:dpe(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:r,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:EX(t),onStart:EX(r),onMove:n,onEnd:(a,s)=>{delete this.session,i&&m0.postRender(()=>i(a,s))}}}mount(){this.removePointerDownListener=jy(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const dT={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function PX(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const rb={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if($t.test(e))e=parseFloat(e);else return e;const r=PX(e,t.target.x),n=PX(e,t.target.y);return`${r}% ${n}%`}},nUe={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,i=yd.parse(e);if(i.length>5)return n;const a=yd.createTransformer(e),s=typeof i[0]!="number"?1:0,o=r.x.scale*t.x,l=r.y.scale*t.y;i[0+s]/=o,i[1+s]/=l;const c=O0(o,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=c),typeof i[3+s]=="number"&&(i[3+s]/=c),a(i)}};let k8=!1;class iUe extends j.Component{componentDidMount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n,layoutId:i}=this.props,{projection:a}=t;OWe(aUe),a&&(r.group&&r.group.add(a),n&&n.register&&i&&n.register(a),k8&&a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),dT.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:r,visualElement:n,drag:i,isPresent:a}=this.props,{projection:s}=n;return s&&(s.isPresent=a,k8=!0,i||t.layoutDependency!==r||r===void 0||t.isPresent!==a?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||m0.postRender(()=>{const o=s.getStack();(!o||!o.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),_$.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:r,switchLayoutGroup:n}=this.props,{projection:i}=t;k8=!0,i&&(i.scheduleCheckAfterUnmount(),r&&r.group&&r.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function fpe(e){const[t,r]=E$(),n=j.useContext(i$);return f.jsx(iUe,{...e,layoutGroup:n,switchLayoutGroup:j.useContext(Ude),isPresent:t,safeToRemove:r})}const aUe={borderRadius:{...rb,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rb,borderTopRightRadius:rb,borderBottomLeftRadius:rb,borderBottomRightRadius:rb,boxShadow:nUe};function mpe(e,t,r){const n=cn(e)?e:dh(e);return n.start(F$("",n,t,r)),n.animation}const sUe=(e,t)=>e.depth-t.depth;class oUe{constructor(){this.children=[],this.isDirty=!1}add(t){s$(this.children,t),this.isDirty=!0}remove(t){s6(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(sUe),this.isDirty=!1,this.children.forEach(t)}}function lUe(e,t){const r=ba.now(),n=({timestamp:i})=>{const a=i-r;a>=t&&(eu(n),e(a-t))};return m0.setup(n,!0),()=>eu(n)}const gpe=["TopLeft","TopRight","BottomLeft","BottomRight"],cUe=gpe.length,jX=e=>typeof e=="string"?parseFloat(e):e,RX=e=>typeof e=="number"||$t.test(e);function uUe(e,t,r,n,i,a){var s,o,l,c;i?(e.opacity=O0(0,(s=r.opacity)!=null?s:1,dUe(n)),e.opacityExit=O0((o=t.opacity)!=null?o:1,0,pUe(n))):a&&(e.opacity=O0((l=t.opacity)!=null?l:1,(c=r.opacity)!=null?c:1,n));for(let u=0;u<cUe;u++){const d=`border${gpe[u]}Radius`;let h=IX(t,d),p=IX(r,d);if(h===void 0&&p===void 0)continue;h||(h=0),p||(p=0),h===0||p===0||RX(h)===RX(p)?(e[d]=Math.max(O0(jX(h),jX(p),n),0),(vl.test(p)||vl.test(h))&&(e[d]+="%")):e[d]=p}(t.rotate||r.rotate)&&(e.rotate=O0(t.rotate||0,r.rotate||0,n))}function IX(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const dUe=bpe(0,.5,Yue),pUe=bpe(.5,.95,Ss);function bpe(e,t,r){return n=>n<e?0:n>t?1:r(Qm(e,t,n))}function OX(e,t){e.min=t.min,e.max=t.max}function cs(e,t){OX(e.x,t.x),OX(e.y,t.y)}function MX(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function kX(e,t,r,n,i){return e-=t,e=pS(e,1/r,n),i!==void 0&&(e=pS(e,1/i,n)),e}function hUe(e,t=0,r=1,n=.5,i,a=e,s=e){if(vl.test(t)&&(t=parseFloat(t),t=O0(s.min,s.max,t/100)-s.min),typeof t!="number")return;let o=O0(a.min,a.max,n);e===a&&(o-=t),e.min=kX(e.min,t,r,o,i),e.max=kX(e.max,t,r,o,i)}function DX(e,t,[r,n,i],a,s){hUe(e,t[r],t[n],t[i],t.scale,a,s)}const fUe=["x","scaleX","originX"],mUe=["y","scaleY","originY"];function LX(e,t,r,n){DX(e.x,t,fUe,r?r.x:void 0,n?n.x:void 0),DX(e.y,t,mUe,r?r.y:void 0,n?n.y:void 0)}function FX(e){return e.translate===0&&e.scale===1}function ype(e){return FX(e.x)&&FX(e.y)}function $X(e,t){return e.min===t.min&&e.max===t.max}function gUe(e,t){return $X(e.x,t.x)&&$X(e.y,t.y)}function BX(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function vpe(e,t){return BX(e.x,t.x)&&BX(e.y,t.y)}function NX(e){return Qi(e.x)/Qi(e.y)}function qX(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class bUe{constructor(){this.members=[]}add(t){s$(this.members,t),t.scheduleRender()}remove(t){if(s6(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const r=this.members[this.members.length-1];r&&this.promote(r)}}relegate(t){const r=this.members.findIndex(i=>t===i);if(r===0)return!1;let n;for(let i=r;i>=0;i--){const a=this.members[i];if(a.isPresent!==!1){n=a;break}}return n?(this.promote(n),!0):!1}promote(t,r){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,r&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:r,resumingFrom:n}=t;r.onExitComplete&&r.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function yUe(e,t,r){let n="";const i=e.x.translate/t.x,a=e.y.translate/t.y,s=(r==null?void 0:r.z)||0;if((i||a||s)&&(n=`translate3d(${i}px, ${a}px, ${s}px) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{transformPerspective:c,rotate:u,rotateX:d,rotateY:h,skewX:p,skewY:m}=r;c&&(n=`perspective(${c}px) ${n}`),u&&(n+=`rotate(${u}deg) `),d&&(n+=`rotateX(${d}deg) `),h&&(n+=`rotateY(${h}deg) `),p&&(n+=`skewX(${p}deg) `),m&&(n+=`skewY(${m}deg) `)}const o=e.x.scale*t.x,l=e.y.scale*t.y;return(o!==1||l!==1)&&(n+=`scale(${o}, ${l})`),n||"none"}const D8=["","X","Y","Z"],vUe=1e3;let TUe=0;function L8(e,t,r,n){const{latestValues:i}=t;i[e]&&(r[e]=i[e],t.setStaticValue(e,0),n&&(n[e]=0))}function Tpe(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const r=ipe(t);if(window.MotionHasOptimisedAnimation(r,"transform")){const{layout:i,layoutId:a}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",m0,!(i||a))}const{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&Tpe(n)}function Spe({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(s={},o=t==null?void 0:t()){this.id=TUe++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(wUe),this.nodes.forEach(EUe),this.nodes.forEach(PUe),this.nodes.forEach(_Ue)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=o?o.root||o:this,this.path=o?[...o.path,o]:[],this.parent=o,this.depth=o?o.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new oUe)}addEventListener(s,o){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new c$),this.eventHandlers.get(s).add(o)}notifyListeners(s,...o){const l=this.eventHandlers.get(s);l&&l.notify(...o)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=C$(s)&&!Mde(s),this.instance=s;const{layoutId:o,layout:l,visualElement:c}=this.options;if(c&&!c.current&&c.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||o)&&(this.isLayoutDirty=!0),e){let u,d=0;const h=()=>this.root.updateBlockedByResize=!1;m0.read(()=>{d=window.innerWidth}),e(s,()=>{const p=window.innerWidth;p!==d&&(d=p,this.root.updateBlockedByResize=!0,u&&u(),u=lUe(h,250),dT.hasAnimatedSinceResize&&(dT.hasAnimatedSinceResize=!1,this.nodes.forEach(HX)))})}o&&this.root.registerSharedNode(o,this),this.options.animate!==!1&&c&&(o||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d,hasRelativeLayoutChanged:h,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||c.getDefaultTransition()||MUe,{onLayoutAnimationStart:g,onLayoutAnimationComplete:b}=c.getProps(),y=!this.targetLayout||!vpe(this.targetLayout,p),v=!d&&h;if(this.options.layoutRoot||this.resumeFrom||v||d&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const S={...x$(m,"layout"),onPlay:g,onComplete:b};(c.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S),this.setAnimationOrigin(u,v)}else d||HX(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),eu(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(jUe),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Tpe(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const d=this.path[u];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:o,layout:l}=this.options;if(o===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(zX);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(WX);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(CUe),this.nodes.forEach(SUe),this.nodes.forEach(xUe)):this.nodes.forEach(WX),this.clearAllSnapshots();const o=ba.now();ii.delta=Zc(0,1e3/60,o-ii.timestamp),ii.timestamp=o,ii.isProcessing=!0,_8.update.process(ii),_8.preRender.process(ii),_8.render.process(ii),ii.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,_$.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(AUe),this.sharedNodes.forEach(RUe)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,m0.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){m0.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Qi(this.snapshot.measuredBox.x)&&!Qi(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=X0(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:o}=this.options;o&&o.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let o=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(o=!1),o&&this.instance){const l=n(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,o=this.projectionDelta&&!ype(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;s&&this.instance&&(o||gp(this.latestValues)||u)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const o=this.measurePageBox();let l=this.removeElementScroll(o);return s&&(l=this.removeTransform(l)),kUe(l),{animationId:this.root.animationId,measuredBox:o,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var c;const{visualElement:s}=this.options;if(!s)return X0();const o=s.measureViewportBox();if(!(((c=this.scroll)==null?void 0:c.wasRoot)||this.path.some(DUe))){const{scroll:u}=this.root;u&&(Kf(o.x,u.offset.x),Kf(o.y,u.offset.y))}return o}removeElementScroll(s){var l;const o=X0();if(cs(o,s),(l=this.scroll)!=null&&l.wasRoot)return o;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:d,options:h}=u;u!==this.root&&d&&h.layoutScroll&&(d.wasRoot&&cs(o,s),Kf(o.x,d.offset.x),Kf(o.y,d.offset.y))}return o}applyTransform(s,o=!1){const l=X0();cs(l,s);for(let c=0;c<this.path.length;c++){const u=this.path[c];!o&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Xf(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),gp(u.latestValues)&&Xf(l,u.latestValues)}return gp(this.latestValues)&&Xf(l,this.latestValues),l}removeTransform(s){const o=X0();cs(o,s);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!gp(c.latestValues))continue;YR(c.latestValues)&&c.updateSnapshot();const u=X0(),d=c.measurePageBox();cs(u,d),LX(o,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return gp(this.latestValues)&&LX(o,this.latestValues),o}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ii.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var h;const o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==o;if(!(s||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(h=this.parent)!=null&&h.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:d}=this.options;if(!(!this.layout||!(u||d))){if(this.resolvedRelativeTargetAt=ii.timestamp,!this.targetDelta&&!this.relativeTarget){const p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=X0(),this.relativeTargetOrigin=X0(),Iy(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),cs(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=X0(),this.targetWithTransforms=X0()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),zHe(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):cs(this.target,this.layout.layoutBox),Kde(this.target,this.targetDelta)):cs(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const p=this.getClosestProjectingParent();p&&!!p.resumingFrom==!!this.resumingFrom&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=X0(),this.relativeTargetOrigin=X0(),Iy(this.relativeTargetOrigin,this.target,p.target),cs(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||YR(this.parent.latestValues)||Yde(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var m;const s=this.getLead(),o=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||(m=this.parent)!=null&&m.isProjectionDirty)&&(l=!1),o&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===ii.timestamp&&(l=!1),l)return;const{layout:c,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||u))return;cs(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,h=this.treeScale.y;sHe(this.layoutCorrected,this.treeScale,this.path,o),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=X0());const{target:p}=s;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(MX(this.prevProjectionDelta.x,this.projectionDelta.x),MX(this.prevProjectionDelta.y,this.projectionDelta.y)),Ry(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==h||!qX(this.projectionDelta.x,this.prevProjectionDelta.x)||!qX(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var o;if((o=this.options.visualElement)==null||o.scheduleRender(),s){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Qf(),this.projectionDelta=Qf(),this.projectionDeltaWithTransform=Qf()}setAnimationOrigin(s,o=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},d=Qf();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!o;const h=X0(),p=l?l.source:void 0,m=this.layout?this.layout.source:void 0,g=p!==m,b=this.getStack(),y=!b||b.members.length<=1,v=!!(g&&!y&&this.options.crossfade===!0&&!this.path.some(OUe));this.animationProgress=0;let S;this.mixTargetDelta=x=>{const w=x/1e3;UX(d.x,s.x,w),UX(d.y,s.y,w),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Iy(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),IUe(this.relativeTarget,this.relativeTargetOrigin,h,w),S&&gUe(this.relativeTarget,S)&&(this.isProjectionDirty=!1),S||(S=X0()),cs(S,this.relativeTarget)),g&&(this.animationValues=u,uUe(u,c,this.latestValues,w,v,y)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){var o,l,c;this.notifyListeners("animationStart"),(o=this.currentAnimation)==null||o.stop(),(c=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||c.stop(),this.pendingAnimation&&(eu(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=m0.update(()=>{dT.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=dh(0)),this.currentAnimation=mpe(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:u=>{this.mixTargetDelta(u),s.onUpdate&&s.onUpdate(u)},onStop:()=>{},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(vUe),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:o,target:l,layout:c,latestValues:u}=s;if(!(!o||!l||!c)){if(this!==s&&this.layout&&c&&xpe(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||X0();const d=Qi(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const h=Qi(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+h}cs(o,l),Xf(o,u),Ry(this.projectionDeltaWithTransform,this.layoutCorrected,o,u)}}registerSharedNode(s,o){this.sharedNodes.has(s)||this.sharedNodes.set(s,new bUe),this.sharedNodes.get(s).add(o);const c=o.options.initialPromotionConfig;o.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(o):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var o;const{layoutId:s}=this.options;return s?((o=this.getStack())==null?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:s}=this.options;return s?(o=this.getStack())==null?void 0:o.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:o,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),o&&this.setOptions({transition:o})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let o=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(o=!0),!o)return;const c={};l.z&&L8("z",s,c,this.animationValues);for(let u=0;u<D8.length;u++)L8(`rotate${D8[u]}`,s,c,this.animationValues),L8(`skew${D8[u]}`,s,c,this.animationValues);s.render();for(const u in c)s.setStaticValue(u,c[u]),this.animationValues&&(this.animationValues[u]=c[u]);s.scheduleRender()}applyProjectionStyles(s,o){var m,g;if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=uT(o==null?void 0:o.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none";return}const c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=uT(o==null?void 0:o.pointerEvents)||""),this.hasProjected&&!gp(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=c.animationValues||c.latestValues;this.applyTransformsToTarget();let d=yUe(this.projectionDeltaWithTransform,this.treeScale,u);l&&(d=l(u,d)),s.transform=d;const{x:h,y:p}=this.projectionDelta;s.transformOrigin=`${h.origin*100}% ${p.origin*100}% 0`,c.animationValues?s.opacity=c===this?(g=(m=u.opacity)!=null?m:this.latestValues.opacity)!=null?g:1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=c===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const b in x5){if(u[b]===void 0)continue;const{correct:y,applyTo:v,isCSSVariable:S}=x5[b],x=d==="none"?u[b]:y(u[b],c);if(v){const w=v.length;for(let A=0;A<w;A++)s[v[A]]=x}else S?this.options.visualElement.renderState.vars[b]=x:s[b]=x}this.options.layoutId&&(s.pointerEvents=c===this?uT(o==null?void 0:o.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var o;return(o=s.currentAnimation)==null?void 0:o.stop()}),this.root.nodes.forEach(zX),this.root.sharedNodes.clear()}}}function SUe(e){e.updateLayout()}function xUe(e){var r;const t=((r=e.resumeFrom)==null?void 0:r.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:i}=e.layout,{animationType:a}=e.options,s=t.source!==e.layout.source;a==="size"?ps(d=>{const h=s?t.measuredBox[d]:t.layoutBox[d],p=Qi(h);h.min=n[d].min,h.max=h.min+p}):xpe(a,t.layoutBox,n)&&ps(d=>{const h=s?t.measuredBox[d]:t.layoutBox[d],p=Qi(n[d]);h.max=h.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const o=Qf();Ry(o,n,t.layoutBox);const l=Qf();s?Ry(l,e.applyTransform(i,!0),t.measuredBox):Ry(l,n,t.layoutBox);const c=!ype(o);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:h,layout:p}=d;if(h&&p){const m=X0();Iy(m,t.layoutBox,h.layoutBox);const g=X0();Iy(g,n,p.layoutBox),vpe(m,g)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=m,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:l,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function wUe(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function _Ue(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function AUe(e){e.clearSnapshot()}function zX(e){e.clearMeasurements()}function WX(e){e.isLayoutDirty=!1}function CUe(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function HX(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function EUe(e){e.resolveTargetDelta()}function PUe(e){e.calcProjection()}function jUe(e){e.resetSkewAndRotation()}function RUe(e){e.removeLeadSnapshot()}function UX(e,t,r){e.translate=O0(t.translate,0,r),e.scale=O0(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function GX(e,t,r,n){e.min=O0(t.min,r.min,n),e.max=O0(t.max,r.max,n)}function IUe(e,t,r,n){GX(e.x,t.x,r.x,n),GX(e.y,t.y,r.y,n)}function OUe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const MUe={duration:.45,ease:[.4,0,.1,1]},VX=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),YX=VX("applewebkit/")&&!VX("chrome/")?Math.round:Ss;function KX(e){e.min=YX(e.min),e.max=YX(e.max)}function kUe(e){KX(e.x),KX(e.y)}function xpe(e,t,r){return e==="position"||e==="preserve-aspect"&&!qHe(NX(t),NX(r),.2)}function DUe(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const LUe=Spe({attachResizeListener:(e,t)=>_5(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),F8={current:void 0},wpe=Spe({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!F8.current){const e=new LUe({});e.mount(window),e.setOptions({layoutScroll:!0}),F8.current=e}return F8.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),FUe={pan:{Feature:rUe},drag:{Feature:tUe,ProjectionNode:wpe,MeasureLayout:fpe}};function XX(e,t,r){const{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover",r==="Start");const i="onHover"+r,a=n[i];a&&m0.postRender(()=>a(t,pv(t)))}class $Ue extends Nd{mount(){const{current:t}=this.node;t&&(this.unmount=dWe(t,(r,n)=>(XX(this.node,n,"Start"),i=>XX(this.node,i,"End"))))}unmount(){}}class BUe extends Nd{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(r){t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=lv(_5(this.node.current,"focus",()=>this.onFocus()),_5(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function QX(e,t,r){const{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap",r==="Start");const i="onTap"+(r==="End"?"":r),a=n[i];a&&m0.postRender(()=>a(t,pv(t)))}class NUe extends Nd{mount(){const{current:t}=this.node;t&&(this.unmount=mWe(t,(r,n)=>(QX(this.node,n,"Start"),(i,{success:a})=>QX(this.node,i,a?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const tI=new WeakMap,$8=new WeakMap,qUe=e=>{const t=tI.get(e.target);t&&t(e)},zUe=e=>{e.forEach(qUe)};function WUe({root:e,...t}){const r=e||document;$8.has(r)||$8.set(r,{});const n=$8.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(zUe,{root:e,...t})),n[i]}function HUe(e,t,r){const n=WUe(t);return tI.set(e,r),n.observe(e),()=>{tI.delete(e),n.unobserve(e)}}const UUe={some:0,all:1};class GUe extends Nd{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:r,margin:n,amount:i="some",once:a}=t,s={root:r?r.current:void 0,rootMargin:n,threshold:typeof i=="number"?i:UUe[i]},o=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,a&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:d}=this.node.getProps(),h=c?u:d;h&&h(l)};return HUe(this.node.current,s,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:r}=this.node;["amount","margin","root"].some(VUe(t,r))&&this.startObserver()}unmount(){}}function VUe({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}const YUe={inView:{Feature:GUe},tap:{Feature:NUe},focus:{Feature:BUe},hover:{Feature:$Ue}},KUe={layout:{ProjectionNode:wpe,MeasureLayout:fpe}},XUe={...DHe,...YUe,...FUe,...KUe},Rn=nHe(XUe,pHe);function Zm(e){const t=Yh(()=>dh(e)),{isStatic:r}=j.useContext(dv);if(r){const[,n]=j.useState(e);j.useEffect(()=>t.on("change",n),[])}return t}function B$(e,t){const r=Zm(t()),n=()=>r.set(t());return n(),a6(()=>{const i=()=>m0.preRender(n,!1,!0),a=e.map(s=>s.on("change",i));return()=>{a.forEach(s=>s()),eu(n)}}),r}function QUe(e,...t){const r=e.length;function n(){let i="";for(let a=0;a<r;a++){i+=e[a];const s=t[a];s&&(i+=cn(s)?s.get():s)}return i}return B$(t.filter(cn),n)}function JUe(e){Py.current=[],e();const t=B$(Py.current,e);return Py.current=void 0,t}function _pe(e,t,r,n){if(typeof e=="function")return JUe(e);const i=typeof t=="function"?t:gWe(t,r,n);return Array.isArray(e)?JX(e,i):JX([e],([a])=>i(a))}function JX(e,t){const r=Yh(()=>[]);return B$(e,()=>{r.length=0;const n=e.length;for(let i=0;i<n;i++)r[i]=e[i].get();return t(r)})}function ZUe(e,t={}){const{isStatic:r}=j.useContext(dv),n=()=>cn(e)?e.get():e;if(r)return _pe(n);const i=Zm(n());return j.useInsertionEffect(()=>bWe(i,e,t),[i,JSON.stringify(t)]),i}function eGe(e){e.values.forEach(t=>t.stop())}function rI(e,t){[...t].reverse().forEach(n=>{const i=e.getVariant(n);i&&L$(e,i),e.variantChildren&&e.variantChildren.forEach(a=>{rI(a,t)})})}function tGe(e,t){if(Array.isArray(t))return rI(e,t);if(typeof t=="string")return rI(e,[t]);L$(e,t)}function rGe(){const e=new Set,t={subscribe(r){return e.add(r),()=>void e.delete(r)},start(r,n){const i=[];return e.forEach(a=>{i.push(spe(a,r,{transitionOverride:n}))}),Promise.all(i)},set(r){return e.forEach(n=>{tGe(n,r)})},stop(){e.forEach(r=>{eGe(r)})},mount(){return()=>{t.stop()}}};return t}function N$(e){return typeof e=="object"&&!Array.isArray(e)}function Ape(e,t,r,n){return typeof e=="string"&&N$(t)?Ede(e,r,n):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function nGe(e,t,r){return e*(t+1)}function ZX(e,t,r,n){var i;return typeof t=="number"?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):t==="<"?r:t.startsWith("<")?Math.max(0,r+parseFloat(t.slice(1))):(i=n.get(t))!=null?i:e}function iGe(e,t,r){for(let n=0;n<e.length;n++){const i=e[n];i.at>t&&i.at<r&&(s6(e,i),n--)}}function aGe(e,t,r,n,i,a){iGe(e,i,a);for(let s=0;s<t.length;s++)e.push({value:t[s],at:O0(i,a,n[s]),easing:Jue(r,s)})}function sGe(e,t){for(let r=0;r<e.length;r++)e[r]=e[r]/(t+1)}function oGe(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}const lGe="easeInOut";function cGe(e,{defaultTransition:t={},...r}={},n,i){const a=t.duration||.3,s=new Map,o=new Map,l={},c=new Map;let u=0,d=0,h=0;for(let p=0;p<e.length;p++){const m=e[p];if(typeof m=="string"){c.set(m,d);continue}else if(!Array.isArray(m)){c.set(m.name,ZX(d,m.at,u,c));continue}let[g,b,y={}]=m;y.at!==void 0&&(d=ZX(d,y.at,u,c));let v=0;const S=(x,w,A,_=0,C=0)=>{const E=uGe(x),{delay:R=0,times:P=fde(E),type:O="keyframes",repeat:k,repeatType:I,repeatDelay:M=0,...D}=w;let{ease:F=t.ease||"easeOut",duration:$}=w;const Y=typeof R=="function"?R(_,C):R,he=E.length,fe=S$(O)?O:i==null?void 0:i[O||"keyframes"];if(he<=2&&fe){let ie=100;if(he===2&&hGe(E)){const Le=E[1]-E[0];ie=Math.abs(Le)}const J={...D};$!==void 0&&(J.duration=bo($));const we=ude(J,ie,fe);F=we.ease,$=we.duration}$!=null||($=a);const U=d+Y;P.length===1&&P[0]===0&&(P[1]=1);const W=P.length-E.length;if(W>0&&hde(P,W),E.length===1&&E.unshift(null),k){$=nGe($,k);const ie=[...E],J=[...P];F=Array.isArray(F)?[...F]:[F];const we=[...F];for(let Le=0;Le<k;Le++){E.push(...ie);for(let Ye=0;Ye<ie.length;Ye++)P.push(J[Ye]+(Le+1)),F.push(Ye===0?"linear":Jue(we,Ye-1))}sGe(P,k)}const H=U+$;aGe(A,E,F,P,U,H),v=Math.max(Y+$,v),h=Math.max(H,h)};if(cn(g)){const x=eQ(g,o);S(b,y,tQ("default",x))}else{const x=Ape(g,b,n,l),w=x.length;for(let A=0;A<w;A++){b=b,y=y;const _=x[A],C=eQ(_,o);for(const E in b)S(b[E],dGe(y,E),tQ(E,C),A,w)}}u=d,d+=v}return o.forEach((p,m)=>{for(const g in p){const b=p[g];b.sort(oGe);const y=[],v=[],S=[];for(let w=0;w<b.length;w++){const{at:A,value:_,easing:C}=b[w];y.push(_),v.push(Qm(0,h,A)),S.push(C||"easeOut")}v[0]!==0&&(v.unshift(0),y.unshift(y[0]),S.unshift(lGe)),v[v.length-1]!==1&&(v.push(1),y.push(null)),s.has(m)||s.set(m,{keyframes:{},transition:{}});const x=s.get(m);x.keyframes[g]=y,x.transition[g]={...t,duration:h,ease:S,times:v,...r}}}),s}function eQ(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function tQ(e,t){return t[e]||(t[e]=[]),t[e]}function uGe(e){return Array.isArray(e)?e:[e]}function dGe(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}const pGe=e=>typeof e=="number",hGe=e=>e.every(pGe);function fGe(e,t){return e in t}class mGe extends Jde{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,r){if(fGe(r,t)){const n=t[r];if(typeof n=="string"||typeof n=="number")return n}}getBaseTargetFromProps(){}removeValueFromRenderState(t,r){delete r.output[t]}measureInstanceViewportBox(){return X0()}build(t,r){Object.assign(t.output,r)}renderInstance(t,{output:r}){Object.assign(t,r)}sortInstanceNodePosition(){return 0}}function gGe(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},r=C$(e)&&!Mde(e)?new npe(t):new tpe(t);r.mount(e),w5.set(e,r)}function bGe(e){const t={presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}},r=new mGe(t);r.mount(e),w5.set(e,r)}function yGe(e,t){return cn(e)||typeof e=="number"||typeof e=="string"&&!N$(t)}function Cpe(e,t,r,n){const i=[];if(yGe(e,t))i.push(mpe(e,N$(t)&&t.default||t,r&&(r.default||r)));else{const a=Ape(e,t,n),s=a.length;for(let o=0;o<s;o++){const l=a[o],c=l instanceof Element?gGe:bGe;w5.has(l)||c(l);const u=w5.get(l),d={...r};"delay"in d&&typeof d.delay=="function"&&(d.delay=d.delay(o,s)),i.push(...$$(u,{...t,transition:d},{}))}}return i}function vGe(e,t,r){const n=[];return cGe(e,t,r,{spring:T5}).forEach(({keyframes:a,transition:s},o)=>{n.push(...Cpe(o,a,s))}),n}function TGe(e){return Array.isArray(e)&&e.some(Array.isArray)}function SGe(e){function t(r,n,i){let a=[];return TGe(r)?a=vGe(r,n,e):a=Cpe(r,n,i,e),new Kze(a)}return t}const ph=SGe();function Epe(){const e=Yh(rGe);return a6(e.mount,[]),e}const Gnr=Epe;class xGe{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,r){this.componentControls.forEach(n=>{n.start(t.nativeEvent||t,r)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const wGe=()=>new xGe;function _Ge(){return Yh(wGe)}var AGe={initial:e=>{const{position:t}=e,r=["top","bottom"].includes(t)?"y":"x";let n=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(n=1),{opacity:0,[r]:n*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},Ppe=j.memo(e=>{const{id:t,message:r,onCloseComplete:n,onRequestRemove:i,requestClose:a=!1,position:s="bottom",duration:o=5e3,containerStyle:l,motionVariants:c=AGe,toastSpacing:u="0.5rem"}=e,[d,h]=j.useState(o),p=_We();Xm(()=>{p||n==null||n()},[p]),Xm(()=>{h(o)},[o]);const m=()=>h(null),g=()=>h(o),b=()=>{p&&i()};j.useEffect(()=>{p&&a&&i()},[p,a,i]),Aqe(b,d);const y=j.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:u,...l}),[l,u]),v=j.useMemo(()=>wqe(s),[s]);return f.jsx(Rn.div,{layout:!0,className:"chakra-toast",variants:c,initial:"initial",animate:"animate",exit:"exit",onHoverStart:m,onHoverEnd:g,custom:{position:s},style:v,children:f.jsx(et.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:y,children:iS(r,{id:t,onClose:b})})})});Ppe.displayName="ToastComponent";function CGe(e,t){var r;const n=e!=null?e:"bottom",a={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[n];return(r=a==null?void 0:a[t])!=null?r:n}var rQ={path:f.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[f.jsx("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),f.jsx("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),f.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},G0=yt((e,t)=>{const{as:r,viewBox:n,color:i="currentColor",focusable:a=!1,children:s,className:o,__css:l,...c}=e,u=Yt("chakra-icon",o),d=Oo("Icon",e),h={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:i,...l,...d},p={ref:t,focusable:a,className:u,__css:h},m=n!=null?n:rQ.viewBox;if(r&&typeof r!="string")return f.jsx(et.svg,{as:r,...p,...c});const g=s!=null?s:rQ.path;return f.jsx(et.svg,{verticalAlign:"middle",viewBox:m,...p,...c,children:g})});G0.displayName="Icon";function y1(e){const{viewBox:t="0 0 24 24",d:r,displayName:n,defaultProps:i={}}=e,a=j.Children.toArray(e.path),s=yt((o,l)=>f.jsx(G0,{ref:l,viewBox:t,...i,...o,children:a.length?a:f.jsx("path",{fill:"currentColor",d:r})}));return s.displayName=n,s}function EGe(e){return f.jsx(G0,{viewBox:"0 0 24 24",...e,children:f.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})}function PGe(e){return f.jsx(G0,{viewBox:"0 0 24 24",...e,children:f.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})}function nQ(e){return f.jsx(G0,{viewBox:"0 0 24 24",...e,children:f.jsx("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var jGe=Io({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),v1=yt((e,t)=>{const r=Oo("Spinner",e),{label:n="Loading...",thickness:i="2px",speed:a="0.45s",emptyColor:s="transparent",className:o,...l}=vn(e),c=Yt("chakra-spinner",o),u={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:s,borderLeftColor:s,animation:`${jGe} ${a} linear infinite`,...r};return f.jsx(et.div,{ref:t,__css:u,className:c,...l,children:n&&f.jsx(et.span,{srOnly:!0,children:n})})});v1.displayName="Spinner";var[RGe,q$]=jn({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[IGe,z$]=jn({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),jpe={info:{icon:PGe,colorScheme:"blue"},warning:{icon:nQ,colorScheme:"orange"},success:{icon:EGe,colorScheme:"green"},error:{icon:nQ,colorScheme:"red"},loading:{icon:v1,colorScheme:"blue"}};function OGe(e){return jpe[e].colorScheme}function MGe(e){return jpe[e].icon}var W$=yt(function(t,r){const n=z$(),{status:i}=q$(),a={display:"inline",...n.description};return f.jsx(et.div,{ref:r,"data-status":i,...t,className:Yt("chakra-alert__desc",t.className),__css:a})});W$.displayName="AlertDescription";function Rpe(e){const{status:t}=q$(),r=MGe(t),n=z$(),i=t==="loading"?n.spinner:n.icon;return f.jsx(et.span,{display:"inherit","data-status":t,...e,className:Yt("chakra-alert__icon",e.className),__css:i,children:e.children||f.jsx(r,{h:"100%",w:"100%"})})}Rpe.displayName="AlertIcon";var H$=yt(function(t,r){const n=z$(),{status:i}=q$();return f.jsx(et.div,{ref:r,"data-status":i,...t,className:Yt("chakra-alert__title",t.className),__css:n.title})});H$.displayName="AlertTitle";var U$=yt(function(t,r){var n;const{status:i="info",addRole:a=!0,...s}=vn(t),o=(n=t.colorScheme)!=null?n:OGe(i),l=qs("Alert",{...t,colorScheme:o}),c={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...l.container};return f.jsx(RGe,{value:{status:i},children:f.jsx(IGe,{value:l,children:f.jsx(et.div,{"data-status":i,role:a?"alert":void 0,ref:r,...s,className:Yt("chakra-alert",t.className),__css:c})})})});U$.displayName="Alert";function kGe(e){return f.jsx(G0,{focusable:"false","aria-hidden":!0,...e,children:f.jsx("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}var yi=yt(function(t,r){const n=Oo("CloseButton",t),{children:i,isDisabled:a,__css:s,...o}=vn(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return f.jsx(et.button,{type:"button","aria-label":"Close",ref:r,disabled:a,__css:{...l,...n,...s},...o,children:i||f.jsx(kGe,{width:"1em",height:"1em"})})});yi.displayName="CloseButton";var DGe={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},nl=LGe(DGe);function LGe(e){let t=e;const r=new Set,n=i=>{t=i(t),r.forEach(a=>a())};return{getState:()=>t,subscribe:i=>(r.add(i),()=>{n(()=>e),r.delete(i)}),removeToast:(i,a)=>{n(s=>({...s,[a]:s[a].filter(o=>o.id!=i)}))},notify:(i,a)=>{const s=FGe(i,a),{position:o,id:l}=s;return n(c=>{var u,d;const p=o.includes("top")?[s,...(u=c[o])!=null?u:[]]:[...(d=c[o])!=null?d:[],s];return{...c,[o]:p}}),l},update:(i,a)=>{i&&n(s=>{const o={...s},{position:l,index:c}=FK(o,i);return l&&c!==-1&&(o[l][c]={...o[l][c],...a,message:Ipe(a)}),o})},closeAll:({positions:i}={})=>{n(a=>{const s=["bottom","bottom-right","bottom-left","top","top-left","top-right"];return(i!=null?i:s).reduce((l,c)=>(l[c]=a[c].map(u=>({...u,requestClose:!0})),l),{...a})})},close:i=>{n(a=>{const s=Fue(a,i);return s?{...a,[s]:a[s].map(o=>o.id==i?{...o,requestClose:!0}:o)}:a})},isActive:i=>!!FK(nl.getState(),i).position}}var iQ=0;function FGe(e,t={}){var r,n;iQ+=1;const i=(r=t.id)!=null?r:iQ,a=(n=t.position)!=null?n:"bottom";return{id:i,message:e,position:a,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>nl.removeToast(String(i),a),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}var $Ge=e=>{const{status:t,variant:r="solid",id:n,title:i,isClosable:a,onClose:s,description:o,colorScheme:l,icon:c}=e,u=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return f.jsxs(U$,{addRole:!1,status:t,variant:r,id:u==null?void 0:u.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[f.jsx(Rpe,{children:c}),f.jsxs(et.div,{flex:"1",maxWidth:"100%",children:[i&&f.jsx(H$,{id:u==null?void 0:u.title,children:i}),o&&f.jsx(W$,{id:u==null?void 0:u.description,display:"block",children:o})]}),a&&f.jsx(yi,{size:"sm",onClick:s,position:"absolute",insetEnd:1,top:1})]})};function Ipe(e={}){const{render:t,toastComponent:r=$Ge}=e;return i=>typeof t=="function"?t({...i,...e}):f.jsx(r,{...i,...e})}function BGe(e,t){const r=i=>{var a;return{...t,...i,position:CGe((a=i==null?void 0:i.position)!=null?a:t==null?void 0:t.position,e)}},n=i=>{const a=r(i),s=Ipe(a);return nl.notify(s,a)};return n.update=(i,a)=>{nl.update(i,r(a))},n.promise=(i,a)=>{const s=n({...a.loading,status:"loading",duration:null});i.then(o=>n.update(s,{status:"success",duration:5e3,...iS(a.success,o)})).catch(o=>n.update(s,{status:"error",duration:5e3,...iS(a.error,o)}))},n.closeAll=nl.closeAll,n.close=nl.close,n.isActive=nl.isActive,n}var[NGe,qGe]=jn({name:"ToastOptionsContext",strict:!1}),zGe=e=>{const t=j.useSyncExternalStore(nl.subscribe,nl.getState,nl.getState),{motionVariants:r,component:n=Ppe,portalProps:i}=e,s=Object.keys(t).map(o=>{const l=t[o];return f.jsx("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${o}`,id:`chakra-toast-manager-${o}`,style:_qe(o),children:f.jsx(bi,{initial:!1,children:l.map(c=>f.jsx(n,{motionVariants:r,...c},c.id))})},o)});return f.jsx(cu,{...i,children:s})};function Ope(e){const{theme:t}=dce(),r=qGe();return j.useMemo(()=>BGe(t.direction,{...r,...e}),[e,t.direction,r])}var WGe=e=>function({children:r,theme:n=e,toastOptions:i,...a}){return f.jsxs(Sqe,{theme:n,...a,children:[f.jsx(NGe,{value:i==null?void 0:i.defaultOptions,children:r}),f.jsx(zGe,{...i})]})},Mpe=WGe(aLe),HGe=Object.defineProperty,UGe=(e,t,r)=>t in e?HGe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Y0=(e,t,r)=>(UGe(e,typeof t!="symbol"?t+"":t,r),r);function aQ(e){return e.sort((t,r)=>{const n=t.compareDocumentPosition(r);if(n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(n&Node.DOCUMENT_POSITION_DISCONNECTED||n&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}var GGe=e=>typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function sQ(e,t,r){let n=e+1;return r&&n>=t&&(n=0),n}function oQ(e,t,r){let n=e-1;return r&&n<0&&(n=t),n}var nI=typeof window<"u"?j.useLayoutEffect:j.useEffect,hS=e=>e,VGe=class{constructor(){Y0(this,"descendants",new Map),Y0(this,"register",e=>{if(e!=null)return GGe(e)?this.registerNode(e):t=>{this.registerNode(t,e)}}),Y0(this,"unregister",e=>{this.descendants.delete(e);const t=aQ(Array.from(this.descendants.keys()));this.assignIndex(t)}),Y0(this,"destroy",()=>{this.descendants.clear()}),Y0(this,"assignIndex",e=>{this.descendants.forEach(t=>{const r=e.indexOf(t.node);t.index=r,t.node.dataset.index=t.index.toString()})}),Y0(this,"count",()=>this.descendants.size),Y0(this,"enabledCount",()=>this.enabledValues().length),Y0(this,"values",()=>Array.from(this.descendants.values()).sort((t,r)=>t.index-r.index)),Y0(this,"enabledValues",()=>this.values().filter(e=>!e.disabled)),Y0(this,"item",e=>{if(this.count()!==0)return this.values()[e]}),Y0(this,"enabledItem",e=>{if(this.enabledCount()!==0)return this.enabledValues()[e]}),Y0(this,"first",()=>this.item(0)),Y0(this,"firstEnabled",()=>this.enabledItem(0)),Y0(this,"last",()=>this.item(this.descendants.size-1)),Y0(this,"lastEnabled",()=>{const e=this.enabledValues().length-1;return this.enabledItem(e)}),Y0(this,"indexOf",e=>{var t,r;return e&&(r=(t=this.descendants.get(e))==null?void 0:t.index)!=null?r:-1}),Y0(this,"enabledIndexOf",e=>e==null?-1:this.enabledValues().findIndex(t=>t.node.isSameNode(e))),Y0(this,"next",(e,t=!0)=>{const r=sQ(e,this.count(),t);return this.item(r)}),Y0(this,"nextEnabled",(e,t=!0)=>{const r=this.item(e);if(!r)return;const n=this.enabledIndexOf(r.node),i=sQ(n,this.enabledCount(),t);return this.enabledItem(i)}),Y0(this,"prev",(e,t=!0)=>{const r=oQ(e,this.count()-1,t);return this.item(r)}),Y0(this,"prevEnabled",(e,t=!0)=>{const r=this.item(e);if(!r)return;const n=this.enabledIndexOf(r.node),i=oQ(n,this.enabledCount()-1,t);return this.enabledItem(i)}),Y0(this,"registerNode",(e,t)=>{if(!e||this.descendants.has(e))return;const r=Array.from(this.descendants.keys()).concat(e),n=aQ(r);t!=null&&t.disabled&&(t.disabled=!!t.disabled);const i={node:e,index:-1,...t};this.descendants.set(e,i),this.assignIndex(n)})}};function YGe(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch(r){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function na(...e){return t=>{e.forEach(r=>{YGe(r,t)})}}function KGe(...e){return j.useMemo(()=>na(...e),e)}function XGe(){const e=j.useRef(new VGe);return nI(()=>()=>e.current.destroy()),e.current}var[QGe,kpe]=jn({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});function JGe(e){const t=kpe(),[r,n]=j.useState(-1),i=j.useRef(null);nI(()=>()=>{i.current&&t.unregister(i.current)},[]),nI(()=>{if(!i.current)return;const s=Number(i.current.dataset.index);r!=s&&!Number.isNaN(s)&&n(s)});const a=hS(e?t.register(e):t.register);return{descendants:t,index:r,enabledIndex:t.enabledIndexOf(i.current),register:na(a,i)}}function Dpe(){return[hS(QGe),()=>hS(kpe()),()=>XGe(),i=>JGe(i)]}function ZGe(e){const{value:t,defaultValue:r,onChange:n,shouldUpdate:i=(h,p)=>h!==p}=e,a=go(n),s=go(i),[o,l]=j.useState(r),c=t!==void 0,u=c?t:o,d=go(h=>{const m=typeof h=="function"?h(u):h;s(u,m)&&(c||l(m),a(m))},[c,a,u,s]);return[u,d]}var iI={easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},nb={slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function aI(e){var t;switch((t=e==null?void 0:e.direction)!=null?t:"right"){case"right":return nb.slideRight;case"left":return nb.slideLeft;case"bottom":return nb.slideDown;case"top":return nb.slideUp;default:return nb.slideRight}}var Gp={enter:{duration:.2,ease:iI.easeOut},exit:{duration:.1,ease:iI.easeIn}},Wc={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.exit})},eVe={enter:({transition:e,transitionEnd:t,delay:r}={})=>{var n;return{opacity:1,transition:(n=e==null?void 0:e.enter)!=null?n:Wc.enter(Gp.enter,r),transitionEnd:t==null?void 0:t.enter}},exit:({transition:e,transitionEnd:t,delay:r}={})=>{var n;return{opacity:0,transition:(n=e==null?void 0:e.exit)!=null?n:Wc.exit(Gp.exit,r),transitionEnd:t==null?void 0:t.exit}}},Lpe={initial:"exit",animate:"enter",exit:"exit",variants:eVe},tVe=j.forwardRef(function(t,r){const{unmountOnExit:n,in:i,className:a,transition:s,transitionEnd:o,delay:l,...c}=t,u=i||n?"enter":"exit",d=n?i&&n:!0,h={transition:s,transitionEnd:o,delay:l};return f.jsx(bi,{custom:h,children:d&&f.jsx(Rn.div,{ref:r,className:Yt("chakra-fade",a),custom:h,...Lpe,animate:u,...c})})});tVe.displayName="Fade";var rVe={exit:({reverse:e,initialScale:t,transition:r,transitionEnd:n,delay:i})=>{var a;return{opacity:0,...e?{scale:t,transitionEnd:n==null?void 0:n.exit}:{transitionEnd:{scale:t,...n==null?void 0:n.exit}},transition:(a=r==null?void 0:r.exit)!=null?a:Wc.exit(Gp.exit,i)}},enter:({transitionEnd:e,transition:t,delay:r})=>{var n;return{opacity:1,scale:1,transition:(n=t==null?void 0:t.enter)!=null?n:Wc.enter(Gp.enter,r),transitionEnd:e==null?void 0:e.enter}}},Fpe={initial:"exit",animate:"enter",exit:"exit",variants:rVe},nVe=j.forwardRef(function(t,r){const{unmountOnExit:n,in:i,reverse:a=!0,initialScale:s=.95,className:o,transition:l,transitionEnd:c,delay:u,...d}=t,h=n?i&&n:!0,p=i||n?"enter":"exit",m={initialScale:s,reverse:a,transition:l,transitionEnd:c,delay:u};return f.jsx(bi,{custom:m,children:h&&f.jsx(Rn.div,{ref:r,className:Yt("chakra-offset-slide",o),...Fpe,animate:p,custom:m,...d})})});nVe.displayName="ScaleFade";var iVe={initial:({offsetX:e,offsetY:t,transition:r,transitionEnd:n,delay:i})=>{var a;return{opacity:0,x:e,y:t,transition:(a=r==null?void 0:r.exit)!=null?a:Wc.exit(Gp.exit,i),transitionEnd:n==null?void 0:n.exit}},enter:({transition:e,transitionEnd:t,delay:r})=>{var n;return{opacity:1,x:0,y:0,transition:(n=e==null?void 0:e.enter)!=null?n:Wc.enter(Gp.enter,r),transitionEnd:t==null?void 0:t.enter}},exit:({offsetY:e,offsetX:t,transition:r,transitionEnd:n,reverse:i,delay:a})=>{var s;const o={x:t,y:e};return{opacity:0,transition:(s=r==null?void 0:r.exit)!=null?s:Wc.exit(Gp.exit,a),...i?{...o,transitionEnd:n==null?void 0:n.exit}:{transitionEnd:{...o,...n==null?void 0:n.exit}}}}},zb={initial:"initial",animate:"enter",exit:"exit",variants:iVe},aVe=j.forwardRef(function(t,r){const{unmountOnExit:n,in:i,reverse:a=!0,className:s,offsetX:o=0,offsetY:l=8,transition:c,transitionEnd:u,delay:d,...h}=t,p=n?i&&n:!0,m=i||n?"enter":"exit",g={offsetX:o,offsetY:l,reverse:a,transition:c,transitionEnd:u,delay:d};return f.jsx(bi,{custom:g,children:p&&f.jsx(Rn.div,{ref:r,className:Yt("chakra-offset-slide",s),custom:g,...zb,animate:m,...h})})});aVe.displayName="SlideFade";var lQ={exit:{duration:.15,ease:iI.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},sVe={exit:({direction:e,transition:t,transitionEnd:r,delay:n})=>{var i;const{exit:a}=aI({direction:e});return{...a,transition:(i=t==null?void 0:t.exit)!=null?i:Wc.exit(lQ.exit,n),transitionEnd:r==null?void 0:r.exit}},enter:({direction:e,transitionEnd:t,transition:r,delay:n})=>{var i;const{enter:a}=aI({direction:e});return{...a,transition:(i=r==null?void 0:r.enter)!=null?i:Wc.enter(lQ.enter,n),transitionEnd:t==null?void 0:t.enter}}},$pe=j.forwardRef(function(t,r){const{direction:n="right",style:i,unmountOnExit:a,in:s,className:o,transition:l,transitionEnd:c,delay:u,motionProps:d,...h}=t,p=aI({direction:n}),m=Object.assign({position:"fixed"},p.position,i),g=a?s&&a:!0,b=s||a?"enter":"exit",y={transitionEnd:c,transition:l,direction:n,delay:u};return f.jsx(bi,{custom:y,children:g&&f.jsx(Rn.div,{...h,ref:r,initial:"exit",className:Yt("chakra-slide",o),animate:b,exit:"exit",custom:y,variants:sVe,style:m,...d})})});$pe.displayName="Slide";var sI=yt(function(t,r){const{htmlWidth:n,htmlHeight:i,alt:a,...s}=t;return f.jsx("img",{width:n,height:i,ref:r,alt:a,...s})});sI.displayName="NativeImage";function oVe(e){const{loading:t,src:r,srcSet:n,onLoad:i,onError:a,crossOrigin:s,sizes:o,ignoreFallback:l}=e,[c,u]=j.useState("pending");j.useEffect(()=>{u(r?"loading":"pending")},[r]);const d=j.useRef(),h=j.useCallback(()=>{if(!r)return;p();const m=new Image;m.src=r,s&&(m.crossOrigin=s),n&&(m.srcset=n),o&&(m.sizes=o),t&&(m.loading=t),m.onload=g=>{p(),u("loaded"),i==null||i(g)},m.onerror=g=>{p(),u("failed"),a==null||a(g)},d.current=m},[r,s,n,o,i,a,t]),p=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return zc(()=>{if(!l)return c==="loading"&&h(),()=>{p()}},[c,h,l]),l?"loaded":c}var lVe=(e,t)=>e!=="loaded"&&t==="beforeLoadOrError"||e==="failed"&&t==="onError";function cVe(e,t=[]){const r=Object.assign({},e);for(const n of t)n in r&&delete r[n];return r}var p0=yt(function(t,r){const{fallbackSrc:n,fallback:i,src:a,srcSet:s,align:o,fit:l,loading:c,ignoreFallback:u,crossOrigin:d,fallbackStrategy:h="beforeLoadOrError",referrerPolicy:p,...m}=t,g=n!==void 0||i!==void 0,b=c!=null||u||!g,y=oVe({...t,crossOrigin:d,ignoreFallback:b}),v=lVe(y,h),S={ref:r,objectFit:l,objectPosition:o,...b?m:cVe(m,["onError","onLoad"])};return v?i||f.jsx(et.img,{as:sI,className:"chakra-image__placeholder",src:n,...S}):f.jsx(et.img,{as:sI,src:a,srcSet:s,crossOrigin:d,loading:c,referrerPolicy:p,className:"chakra-image",...S})});p0.displayName="Image";function d6(e){return j.Children.toArray(e).filter(t=>j.isValidElement(t))}var[Vnr,uVe]=jn({strict:!1,name:"ButtonGroupContext"});function dVe(e){const[t,r]=j.useState(!e);return{ref:j.useCallback(a=>{a&&r(a.tagName==="BUTTON")},[]),type:t?"button":void 0}}function oI(e){const{children:t,className:r,...n}=e,i=j.isValidElement(t)?j.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,a=Yt("chakra-button__icon",r);return f.jsx(et.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...n,className:a,children:i})}oI.displayName="ButtonIcon";function lI(e){const{label:t,placement:r,spacing:n="0.5rem",children:i=f.jsx(v1,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:s,...o}=e,l=Yt("chakra-button__spinner",a),c=r==="start"?"marginEnd":"marginStart",u=j.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[c]:t?n:0,fontSize:"1em",lineHeight:"normal",...s}),[s,t,c,n]);return f.jsx(et.div,{className:l,...o,__css:u,children:i})}lI.displayName="ButtonSpinner";var Xe=yt((e,t)=>{const r=uVe(),n=Oo("Button",{...r,...e}),{isDisabled:i=r==null?void 0:r.isDisabled,isLoading:a,isActive:s,children:o,leftIcon:l,rightIcon:c,loadingText:u,iconSpacing:d="0.5rem",type:h,spinner:p,spinnerPlacement:m="start",className:g,as:b,...y}=vn(e),v=j.useMemo(()=>{const A={...n==null?void 0:n._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...n,...!!r&&{_focus:A}}},[n,r]),{ref:S,type:x}=dVe(b),w={rightIcon:c,leftIcon:l,iconSpacing:d,children:o};return f.jsxs(et.button,{ref:KGe(t,S),as:b,type:h!=null?h:x,"data-active":fr(s),"data-loading":fr(a),__css:v,className:Yt("chakra-button",g),...y,disabled:i||a,children:[a&&m==="start"&&f.jsx(lI,{className:"chakra-button__spinner--start",label:u,placement:"start",spacing:d,children:p}),a?u||f.jsx(et.span,{opacity:0,children:f.jsx(cQ,{...w})}):f.jsx(cQ,{...w}),a&&m==="end"&&f.jsx(lI,{className:"chakra-button__spinner--end",label:u,placement:"end",spacing:d,children:p})]})});Xe.displayName="Button";function cQ(e){const{leftIcon:t,rightIcon:r,children:n,iconSpacing:i}=e;return f.jsxs(f.Fragment,{children:[t&&f.jsx(oI,{marginEnd:i,children:t}),n,r&&f.jsx(oI,{marginStart:i,children:r})]})}var Gr=yt((e,t)=>{const{icon:r,children:n,isRound:i,"aria-label":a,...s}=e,o=r||n,l=j.isValidElement(o)?j.cloneElement(o,{"aria-hidden":!0,focusable:!1}):null;return f.jsx(Xe,{padding:"0",borderRadius:i?"full":void 0,ref:t,"aria-label":a,...s,children:l})});Gr.displayName="IconButton";var[pVe]=vqe("Card"),Bpe=yt(function(t,r){const{className:n,children:i,direction:a="column",justify:s,align:o,...l}=vn(t),c=qs("Card",t);return f.jsx(et.div,{ref:r,className:Yt("chakra-card",n),__css:{display:"flex",flexDirection:a,justifyContent:s,alignItems:o,position:"relative",minWidth:0,wordWrap:"break-word",...c.container},...l,children:f.jsx(pVe,{value:c,children:i})})}),[Ynr,hVe]=jn({name:"CheckboxGroupContext",strict:!1});function fVe(e){const[t,r]=j.useState(e),[n,i]=j.useState(!1);return e!==t&&(i(!0),r(e)),n}function mVe(e){return f.jsx(et.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e,children:f.jsx("polyline",{points:"1.5 6 4.5 9 10.5 1"})})}function gVe(e){return f.jsx(et.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e,children:f.jsx("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function bVe(e){const{isIndeterminate:t,isChecked:r,...n}=e,i=t?gVe:mVe;return r||t?f.jsx(et.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:f.jsx(i,{...n})}):null}var[yVe,vVe]=jn({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "<FormControl />" `}),[TVe,Npe]=jn({strict:!1,name:"FormControlContext"});function SVe(e){const{id:t,isRequired:r,isInvalid:n,isDisabled:i,isReadOnly:a,...s}=e,o=j.useId(),l=t||`field-${o}`,c=`${l}-label`,u=`${l}-feedback`,d=`${l}-helptext`,[h,p]=j.useState(!1),[m,g]=j.useState(!1),[b,y]=j.useState(!1),v=j.useCallback((_={},C=null)=>({id:d,..._,ref:na(C,E=>{E&&g(!0)})}),[d]),S=j.useCallback((_={},C=null)=>({..._,ref:C,"data-focus":fr(b),"data-disabled":fr(i),"data-invalid":fr(n),"data-readonly":fr(a),id:_.id!==void 0?_.id:c,htmlFor:_.htmlFor!==void 0?_.htmlFor:l}),[l,i,b,n,a,c]),x=j.useCallback((_={},C=null)=>({id:u,..._,ref:na(C,E=>{E&&p(!0)}),"aria-live":"polite"}),[u]),w=j.useCallback((_={},C=null)=>({..._,...s,ref:C,role:"group","data-focus":fr(b),"data-disabled":fr(i),"data-invalid":fr(n),"data-readonly":fr(a)}),[s,i,b,n,a]),A=j.useCallback((_={},C=null)=>({..._,ref:C,role:"presentation","aria-hidden":!0,children:_.children||"*"}),[]);return{isRequired:!!r,isInvalid:!!n,isReadOnly:!!a,isDisabled:!!i,isFocused:!!b,onFocus:()=>y(!0),onBlur:()=>y(!1),hasFeedbackText:h,setHasFeedbackText:p,hasHelpText:m,setHasHelpText:g,id:l,labelId:c,feedbackId:u,helpTextId:d,htmlProps:s,getHelpTextProps:v,getErrorMessageProps:x,getRootProps:w,getLabelProps:S,getRequiredIndicatorProps:A}}var qpe=yt(function(t,r){const n=qs("Form",t),i=vn(t),{getRootProps:a,htmlProps:s,...o}=SVe(i),l=Yt("chakra-form-control",t.className);return f.jsx(TVe,{value:o,children:f.jsx(yVe,{value:n,children:f.jsx(et.div,{...a({},r),className:l,__css:n.container})})})});qpe.displayName="FormControl";var xVe=yt(function(t,r){const n=Npe(),i=vVe(),a=Yt("chakra-form__helper-text",t.className);return f.jsx(et.div,{...n==null?void 0:n.getHelpTextProps(t,r),__css:i.helperText,className:a})});xVe.displayName="FormHelperText";function G$(e){const{isDisabled:t,isInvalid:r,isReadOnly:n,isRequired:i,...a}=zpe(e);return{...a,disabled:t,readOnly:n,required:i,"aria-invalid":p8(r),"aria-required":p8(i),"aria-readonly":p8(n)}}function zpe(e){var t,r,n;const i=Npe(),{id:a,disabled:s,readOnly:o,required:l,isRequired:c,isInvalid:u,isReadOnly:d,isDisabled:h,onFocus:p,onBlur:m,...g}=e,b=e["aria-describedby"]?[e["aria-describedby"]]:[];return i!=null&&i.hasFeedbackText&&(i!=null&&i.isInvalid)&&b.push(i.feedbackId),i!=null&&i.hasHelpText&&b.push(i.helpTextId),{...g,"aria-describedby":b.join(" ")||void 0,id:a!=null?a:i==null?void 0:i.id,isDisabled:(t=s!=null?s:h)!=null?t:i==null?void 0:i.isDisabled,isReadOnly:(r=o!=null?o:d)!=null?r:i==null?void 0:i.isReadOnly,isRequired:(n=l!=null?l:c)!=null?n:i==null?void 0:i.isRequired,isInvalid:u!=null?u:i==null?void 0:i.isInvalid,onFocus:Kr(i==null?void 0:i.onFocus,p),onBlur:Kr(i==null?void 0:i.onBlur,m)}}var wVe={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},_Ve=()=>typeof document<"u",uQ=!1,hv=null,hh=!1,cI=!1,uI=new Set;function V$(e,t){uI.forEach(r=>r(e,t))}var AVe=typeof window<"u"&&window.navigator!=null?/^Mac/.test(window.navigator.platform):!1;function CVe(e){return!(e.metaKey||!AVe&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function dQ(e){hh=!0,CVe(e)&&(hv="keyboard",V$("keyboard",e))}function gf(e){if(hv="pointer",e.type==="mousedown"||e.type==="pointerdown"){hh=!0;const t=e.composedPath?e.composedPath()[0]:e.target;let r=!1;try{r=t.matches(":focus-visible")}catch(n){}if(r)return;V$("pointer",e)}}function EVe(e){return e.mozInputSource===0&&e.isTrusted?!0:e.detail===0&&!e.pointerType}function PVe(e){EVe(e)&&(hh=!0,hv="virtual")}function jVe(e){e.target===window||e.target===document||(!hh&&!cI&&(hv="virtual",V$("virtual",e)),hh=!1,cI=!1)}function RVe(){hh=!1,cI=!0}function pQ(){return hv!=="pointer"}function IVe(){if(!_Ve()||uQ)return;const{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...r){hh=!0,e.apply(this,r)},document.addEventListener("keydown",dQ,!0),document.addEventListener("keyup",dQ,!0),document.addEventListener("click",PVe,!0),window.addEventListener("focus",jVe,!0),window.addEventListener("blur",RVe,!1),typeof PointerEvent<"u"?(document.addEventListener("pointerdown",gf,!0),document.addEventListener("pointermove",gf,!0),document.addEventListener("pointerup",gf,!0)):(document.addEventListener("mousedown",gf,!0),document.addEventListener("mousemove",gf,!0),document.addEventListener("mouseup",gf,!0)),uQ=!0}function OVe(e){IVe(),e(pQ());const t=()=>e(pQ());return uI.add(t),()=>{uI.delete(t)}}function MVe(e,t=[]){const r=Object.assign({},e);for(const n of t)n in r&&delete r[n];return r}function Wpe(e={}){const t=zpe(e),{isDisabled:r,isReadOnly:n,isRequired:i,isInvalid:a,id:s,onBlur:o,onFocus:l,"aria-describedby":c}=t,{defaultChecked:u,isChecked:d,isFocusable:h,onChange:p,isIndeterminate:m,name:g,value:b,tabIndex:y=void 0,"aria-label":v,"aria-labelledby":S,"aria-invalid":x,...w}=e,A=MVe(w,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),_=go(p),C=go(o),E=go(l),[R,P]=j.useState(!1),[O,k]=j.useState(!1),[I,M]=j.useState(!1),[D,F]=j.useState(!1);j.useEffect(()=>OVe(P),[]);const $=j.useRef(null),[Y,he]=j.useState(!0),[fe,U]=j.useState(!!u),W=d!==void 0,H=W?d:fe,ie=j.useCallback(le=>{if(n||r){le.preventDefault();return}W||U(H?le.target.checked:m?!0:le.target.checked),_==null||_(le)},[n,r,H,W,m,_]);zc(()=>{$.current&&($.current.indeterminate=!!m)},[m]),Xm(()=>{r&&k(!1)},[r,k]),zc(()=>{const le=$.current;if(!(le!=null&&le.form))return;const Te=()=>{U(!!u)};return le.form.addEventListener("reset",Te),()=>{var be;return(be=le.form)==null?void 0:be.removeEventListener("reset",Te)}},[]);const J=r&&!h,we=j.useCallback(le=>{le.key===" "&&F(!0)},[F]),Le=j.useCallback(le=>{le.key===" "&&F(!1)},[F]);zc(()=>{if(!$.current)return;$.current.checked!==H&&U($.current.checked)},[$.current]);const Ye=j.useCallback((le={},Te=null)=>{const be=ze=>{O&&ze.preventDefault(),F(!0)};return{...le,ref:Te,"data-active":fr(D),"data-hover":fr(I),"data-checked":fr(H),"data-focus":fr(O),"data-focus-visible":fr(O&&R),"data-indeterminate":fr(m),"data-disabled":fr(r),"data-invalid":fr(a),"data-readonly":fr(n),"aria-hidden":!0,onMouseDown:Kr(le.onMouseDown,be),onMouseUp:Kr(le.onMouseUp,()=>F(!1)),onMouseEnter:Kr(le.onMouseEnter,()=>M(!0)),onMouseLeave:Kr(le.onMouseLeave,()=>M(!1))}},[D,H,r,O,R,I,m,a,n]),oe=j.useCallback((le={},Te=null)=>({...le,ref:Te,"data-active":fr(D),"data-hover":fr(I),"data-checked":fr(H),"data-focus":fr(O),"data-focus-visible":fr(O&&R),"data-indeterminate":fr(m),"data-disabled":fr(r),"data-invalid":fr(a),"data-readonly":fr(n)}),[D,H,r,O,R,I,m,a,n]),X=j.useCallback((le={},Te=null)=>({...A,...le,ref:na(Te,be=>{be&&he(be.tagName==="LABEL")}),onClick:Kr(le.onClick,()=>{var be;Y||((be=$.current)==null||be.click(),requestAnimationFrame(()=>{var ze;(ze=$.current)==null||ze.focus({preventScroll:!0})}))}),"data-disabled":fr(r),"data-checked":fr(H),"data-invalid":fr(a)}),[A,r,H,a,Y]),se=j.useCallback((le={},Te=null)=>({...le,ref:na($,Te),type:"checkbox",name:g,value:b,id:s,tabIndex:y,onChange:Kr(le.onChange,ie),onBlur:Kr(le.onBlur,C,()=>k(!1)),onFocus:Kr(le.onFocus,E,()=>k(!0)),onKeyDown:Kr(le.onKeyDown,we),onKeyUp:Kr(le.onKeyUp,Le),required:i,checked:H,disabled:J,readOnly:n,"aria-label":v,"aria-labelledby":S,"aria-invalid":x?!!x:a,"aria-describedby":c,"aria-disabled":r,style:wVe}),[g,b,s,ie,C,E,we,Le,i,H,J,n,v,S,x,a,c,r,y]),Ce=j.useCallback((le={},Te=null)=>({...le,ref:Te,onMouseDown:Kr(le.onMouseDown,kVe),"data-disabled":fr(r),"data-checked":fr(H),"data-invalid":fr(a)}),[H,r,a]);return{state:{isInvalid:a,isFocused:O,isChecked:H,isActive:D,isHovered:I,isIndeterminate:m,isDisabled:r,isReadOnly:n,isRequired:i},getRootProps:X,getCheckboxProps:Ye,getIndicatorProps:oe,getInputProps:se,getLabelProps:Ce,htmlProps:A}}function kVe(e){e.preventDefault(),e.stopPropagation()}var DVe={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},LVe={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},FVe=Io({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),$Ve=Io({from:{opacity:0},to:{opacity:1}}),BVe=Io({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),Hpe=yt(function(t,r){const n=hVe(),i={...n,...t},a=qs("Checkbox",i),s=vn(t),{spacing:o="0.5rem",className:l,children:c,iconColor:u,iconSize:d,icon:h=f.jsx(bVe,{}),isChecked:p,isDisabled:m=n==null?void 0:n.isDisabled,onChange:g,inputProps:b,...y}=s;let v=p;n!=null&&n.value&&s.value&&(v=n.value.includes(s.value));let S=g;n!=null&&n.onChange&&s.value&&(S=fce(n.onChange,g));const{state:x,getInputProps:w,getCheckboxProps:A,getLabelProps:_,getRootProps:C}=Wpe({...y,isDisabled:m,isChecked:v,onChange:S}),E=fVe(x.isChecked),R=j.useMemo(()=>({animation:E?x.isIndeterminate?`${$Ve} 20ms linear, ${BVe} 200ms linear`:`${FVe} 200ms linear`:void 0,fontSize:d,color:u,...a.icon}),[u,d,E,x.isIndeterminate,a.icon]),P=j.cloneElement(h,{__css:R,isIndeterminate:x.isIndeterminate,isChecked:x.isChecked});return f.jsxs(et.label,{__css:{...LVe,...a.container},className:Yt("chakra-checkbox",l),...C(),children:[f.jsx("input",{className:"chakra-checkbox__input",...w(b,r)}),f.jsx(et.span,{__css:{...DVe,...a.control},className:"chakra-checkbox__control",...A(),children:P}),c&&f.jsx(et.span,{className:"chakra-checkbox__label",..._(),__css:{marginStart:o,...a.label},children:c})]})});Hpe.displayName="Checkbox";function Oy(e,t,r,n){const i=go(r);return j.useEffect(()=>{const a=typeof e=="function"?e():e!=null?e:document;if(!(!r||!a))return a.addEventListener(t,i,n),()=>{a.removeEventListener(t,i,n)}},[t,e,n,i,r]),()=>{const a=typeof e=="function"?e():e!=null?e:document;a==null||a.removeEventListener(t,i,n)}}function NVe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var B8={exports:{}},N8,hQ;function qVe(){if(hQ)return N8;hQ=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return N8=e,N8}var q8,fQ;function zVe(){if(fQ)return q8;fQ=1;var e=qVe();function t(){}function r(){}return r.resetWarningCache=t,q8=function(){function n(s,o,l,c,u,d){if(d!==e){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}n.isRequired=n;function i(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a},q8}var mQ;function WVe(){return mQ||(mQ=1,B8.exports=zVe()()),B8.exports}var HVe=WVe();const Re=Ld(HVe);var dI="data-focus-lock",Upe="data-focus-lock-disabled",UVe="data-no-focus-lock",GVe="data-autofocus-inside",VVe="data-no-autofocus";function z8(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function YVe(e,t){var r=j.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=t,r.facade}var KVe=typeof window<"u"?j.useLayoutEffect:j.useEffect,gQ=new WeakMap;function Gpe(e,t){var r=YVe(null,function(n){return e.forEach(function(i){return z8(i,n)})});return KVe(function(){var n=gQ.get(r);if(n){var i=new Set(n),a=new Set(e),s=r.current;i.forEach(function(o){a.has(o)||z8(o,null)}),a.forEach(function(o){i.has(o)||z8(o,s)})}gQ.set(r,e)},[e]),r}var W8={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},il=function(){return il=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},il.apply(this,arguments)};function Vpe(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function XVe(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}function Ype(e){return e}function Kpe(e,t){t===void 0&&(t=Ype);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var s=t(a,n);return r.push(s),function(){r=r.filter(function(o){return o!==s})}},assignSyncMedium:function(a){for(n=!0;r.length;){var s=r;r=[],s.forEach(a)}r={push:function(o){return a(o)},filter:function(){return r}}},assignMedium:function(a){n=!0;var s=[];if(r.length){var o=r;r=[],o.forEach(a),s=r}var l=function(){var u=s;s=[],u.forEach(a)},c=function(){return Promise.resolve().then(l)};c(),r={push:function(u){s.push(u),c()},filter:function(u){return s=s.filter(u),r}}}};return i}function Y$(e,t){return t===void 0&&(t=Ype),Kpe(e,t)}function Xpe(e){e===void 0&&(e={});var t=Kpe(null);return t.options=il({async:!0,ssr:!1},e),t}var Qpe=function(e){var t=e.sideCar,r=Vpe(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return j.createElement(n,il({},r))};Qpe.isSideCarExport=!0;function QVe(e,t){return e.useMedium(t),Qpe}var Jpe=Y$({},function(e){var t=e.target,r=e.currentTarget;return{target:t,currentTarget:r}}),Zpe=Y$(),JVe=Y$(),ZVe=Xpe({async:!0,ssr:typeof document<"u"}),eYe=j.createContext(void 0),tYe=[],K$=j.forwardRef(function(t,r){var n,i=j.useState(),a=i[0],s=i[1],o=j.useRef(),l=j.useRef(!1),c=j.useRef(null),u=j.useState({}),d=u[1],h=t.children,p=t.disabled,m=p===void 0?!1:p,g=t.noFocusGuards,b=g===void 0?!1:g,y=t.persistentFocus,v=y===void 0?!1:y,S=t.crossFrame,x=S===void 0?!0:S,w=t.autoFocus,A=w===void 0?!0:w;t.allowTextSelection;var _=t.group,C=t.className,E=t.whiteList,R=t.hasPositiveIndices,P=t.shards,O=P===void 0?tYe:P,k=t.as,I=k===void 0?"div":k,M=t.lockProps,D=M===void 0?{}:M,F=t.sideCar,$=t.returnFocus,Y=$===void 0?!1:$,he=t.focusOptions,fe=t.onActivation,U=t.onDeactivation,W=j.useState({}),H=W[0],ie=j.useCallback(function(Te){var be=Te.captureFocusRestore;if(!c.current){var ze,Ze=(ze=document)==null?void 0:ze.activeElement;c.current=Ze,Ze!==document.body&&(c.current=be(Ze))}o.current&&fe&&fe(o.current),l.current=!0,d()},[fe]),J=j.useCallback(function(){l.current=!1,U&&U(o.current),d()},[U]),we=j.useCallback(function(Te){var be=c.current;if(be){var ze=(typeof be=="function"?be():be)||document.body,Ze=typeof Y=="function"?Y(ze):Y;if(Ze){var St=typeof Ze=="object"?Ze:void 0;c.current=null,Te?Promise.resolve().then(function(){return ze.focus(St)}):ze.focus(St)}}},[Y]),Le=j.useCallback(function(Te){l.current&&Jpe.useMedium(Te)},[]),Ye=Zpe.useMedium,oe=j.useCallback(function(Te){o.current!==Te&&(o.current=Te,s(Te))},[]),X=nS((n={},n[Upe]=m&&"disabled",n[dI]=_,n),D),se=b!==!0,Ce=se&&b!=="tail",ce=Gpe([r,oe]),le=j.useMemo(function(){return{observed:o,shards:O,enabled:!m,active:l.current}},[m,l.current,O,a]);return Se.createElement(j.Fragment,null,se&&[Se.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:m?-1:0,style:W8}),R?Se.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:m?-1:1,style:W8}):null],!m&&Se.createElement(F,{id:H,sideCar:ZVe,observed:a,disabled:m,persistentFocus:v,crossFrame:x,autoFocus:A,whiteList:E,shards:O,onActivation:ie,onDeactivation:J,returnFocus:we,focusOptions:he,noFocusGuards:b}),Se.createElement(I,nS({ref:ce},X,{className:C,onBlur:Ye,onFocus:Le}),Se.createElement(eYe.Provider,{value:le},h)),Ce&&Se.createElement("div",{"data-focus-guard":!0,tabIndex:m?-1:0,style:W8}))});K$.propTypes={};function pI(e,t){return pI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},pI(e,t)}function rYe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,pI(e,t)}function A5(e){"@babel/helpers - typeof";return A5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},A5(e)}function nYe(e,t){if(A5(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(A5(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function iYe(e){var t=nYe(e,"string");return A5(t)=="symbol"?t:t+""}function aYe(e,t,r){return(t=iYe(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sYe(e,t){function r(n){return n.displayName||n.name||"Component"}return function(i){var a=[],s;function o(){s=e(a.map(function(c){return c.props})),t(s)}var l=(function(c){rYe(u,c);function u(){return c.apply(this,arguments)||this}u.peek=function(){return s};var d=u.prototype;return d.componentDidMount=function(){a.push(this),o()},d.componentDidUpdate=function(){o()},d.componentWillUnmount=function(){var p=a.indexOf(this);a.splice(p,1),o()},d.render=function(){return Se.createElement(i,this.props)},u})(j.PureComponent);return aYe(l,"displayName","SideEffect("+r(i)+")"),l}}var Bl=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t},fh=function(e){return Array.isArray(e)?e:[e]},ehe=function(e){return Array.isArray(e)?e[0]:e},oYe=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},the=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},rhe=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},lYe=function(e){return e.hasAttribute("inert")},cYe=function(e,t){return!e||rhe(e)||!oYe(e)&&!lYe(e)&&t(the(e))},nhe=function(e,t){var r=e.get(t);if(r!==void 0)return r;var n=cYe(t,nhe.bind(void 0,e));return e.set(t,n),n},uYe=function(e,t){return e&&!rhe(e)?hYe(e)?t(the(e)):!1:!0},ihe=function(e,t){var r=e.get(t);if(r!==void 0)return r;var n=uYe(t,ihe.bind(void 0,e));return e.set(t,n),n},ahe=function(e){return e.dataset},dYe=function(e){return e.tagName==="BUTTON"},she=function(e){return e.tagName==="INPUT"},ohe=function(e){return she(e)&&e.type==="radio"},pYe=function(e){return!((she(e)||dYe(e))&&(e.type==="hidden"||e.disabled))},hYe=function(e){var t=e.getAttribute(VVe);return![!0,"true",""].includes(t)},X$=function(e){var t;return!!(e&&(!((t=ahe(e))===null||t===void 0)&&t.focusGuard))},hI=function(e){return!X$(e)},fYe=function(e){return!!e},mYe=function(e,t){var r=Math.max(0,e.tabIndex),n=Math.max(0,t.tabIndex),i=r-n,a=e.index-t.index;if(i){if(!r)return 1;if(!n)return-1}return i||a},gYe=function(e){return e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex},Q$=function(e,t,r){return Bl(e).map(function(n,i){var a=gYe(n);return{node:n,index:i,tabIndex:r&&a===-1?(n.dataset||{}).focusGuard?0:-1:a}}).filter(function(n){return!t||n.tabIndex>=0}).sort(mYe)},bYe=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],J$=bYe.join(","),yYe="".concat(J$,", [data-focus-guard]"),lhe=function(e,t){return Bl((e.shadowRoot||e).children).reduce(function(r,n){return r.concat(n.matches(t?yYe:J$)?[n]:[],lhe(n))},[])},vYe=function(e,t){var r;return e instanceof HTMLIFrameElement&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?eg([e.contentDocument.body],t):[e]},eg=function(e,t){return e.reduce(function(r,n){var i,a=lhe(n,t),s=(i=[]).concat.apply(i,a.map(function(o){return vYe(o,t)}));return r.concat(s,n.parentNode?Bl(n.parentNode.querySelectorAll(J$)).filter(function(o){return o===n}):[])},[])},TYe=function(e){var t=e.querySelectorAll("[".concat(GVe,"]"));return Bl(t).map(function(r){return eg([r])}).reduce(function(r,n){return r.concat(n)},[])},Z$=function(e,t){return Bl(e).filter(function(r){return nhe(t,r)}).filter(function(r){return pYe(r)})},bQ=function(e,t){return t===void 0&&(t=new Map),Bl(e).filter(function(r){return ihe(t,r)})},eB=function(e,t,r){return Q$(Z$(eg(e,r),t),!0,r)},C5=function(e,t){return Q$(Z$(eg(e),t),!1)},SYe=function(e,t){return Z$(TYe(e),t)},Vp=function(e,t){return e.shadowRoot?Vp(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:Bl(e.children).some(function(r){var n;if(r instanceof HTMLIFrameElement){var i=(n=r.contentDocument)===null||n===void 0?void 0:n.body;return i?Vp(i,t):!1}return Vp(r,t)})},xYe=function(e){for(var t=new Set,r=e.length,n=0;n<r;n+=1)for(var i=n+1;i<r;i+=1){var a=e[n].compareDocumentPosition(e[i]);(a&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(s,o){return!t.has(o)})},che=function(e){return e.parentNode?che(e.parentNode):e},tB=function(e){var t=fh(e);return t.filter(Boolean).reduce(function(r,n){var i=n.getAttribute(dI);return r.push.apply(r,i?xYe(Bl(che(n).querySelectorAll("[".concat(dI,'="').concat(i,'"]:not([').concat(Upe,'="disabled"])')))):[n]),r},[])},wYe=function(e){try{return e()}catch(t){return}},E5=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?E5(t.shadowRoot):t instanceof HTMLIFrameElement&&wYe(function(){return t.contentWindow.document})?E5(t.contentWindow.document):t}},_Ye=function(e,t){return e===t},AYe=function(e,t){return!!Bl(e.querySelectorAll("iframe")).some(function(r){return _Ye(r,t)})},uhe=function(e,t){return t===void 0&&(t=E5(ehe(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:tB(e).some(function(r){return Vp(r,t)||AYe(r,t)})},CYe=function(e){e===void 0&&(e=document);var t=E5(e);return t?Bl(e.querySelectorAll("[".concat(UVe,"]"))).some(function(r){return Vp(r,t)}):!1},EYe=function(e,t){return t.filter(ohe).filter(function(r){return r.name===e.name}).filter(function(r){return r.checked})[0]||e},rB=function(e,t){return ohe(e)&&e.name?EYe(e,t):e},PYe=function(e){var t=new Set;return e.forEach(function(r){return t.add(rB(r,e))}),e.filter(function(r){return t.has(r)})},yQ=function(e){return e[0]&&e.length>1?rB(e[0],e):e[0]},vQ=function(e,t){return e.indexOf(rB(t,e))},fI="NEW_FOCUS",jYe=function(e,t,r,n,i){var a=e.length,s=e[0],o=e[a-1],l=X$(n);if(!(n&&e.indexOf(n)>=0)){var c=n!==void 0?r.indexOf(n):-1,u=i?r.indexOf(i):c,d=i?e.indexOf(i):-1;if(c===-1)return d!==-1?d:fI;if(d===-1)return fI;var h=c-u,p=r.indexOf(s),m=r.indexOf(o),g=PYe(r),b=n!==void 0?g.indexOf(n):-1,y=i?g.indexOf(i):b,v=g.filter(function(C){return C.tabIndex>=0}),S=n!==void 0?v.indexOf(n):-1,x=i?v.indexOf(i):S,w=S>=0&&x>=0?x-S:y-b;if(!h&&d>=0||t.length===0)return d;var A=vQ(e,t[0]),_=vQ(e,t[t.length-1]);if(c<=p&&l&&Math.abs(h)>1)return _;if(c>=m&&l&&Math.abs(h)>1)return A;if(h&&Math.abs(w)>1)return d;if(c<=p)return _;if(c>m)return A;if(h)return Math.abs(h)>1?d:(a+d+h)%a}},RYe=function(e){return function(t){var r,n=(r=ahe(t))===null||r===void 0?void 0:r.autofocus;return t.autofocus||n!==void 0&&n!=="false"||e.indexOf(t)>=0}},TQ=function(e,t,r){var n=e.map(function(a){var s=a.node;return s}),i=bQ(n.filter(RYe(r)));return i&&i.length?yQ(i):yQ(bQ(t))},mI=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&mI(e.parentNode.host||e.parentNode,t),t},H8=function(e,t){for(var r=mI(e),n=mI(t),i=0;i<r.length;i+=1){var a=r[i];if(n.indexOf(a)>=0)return a}return!1},dhe=function(e,t,r){var n=fh(e),i=fh(t),a=n[0],s=!1;return i.filter(Boolean).forEach(function(o){s=H8(s||o,o)||s,r.filter(Boolean).forEach(function(l){var c=H8(a,l);c&&(!s||Vp(c,s)?s=c:s=H8(c,s))})}),s},SQ=function(e,t){return e.reduce(function(r,n){return r.concat(SYe(n,t))},[])},IYe=function(e,t){var r=new Map;return t.forEach(function(n){return r.set(n.node,n)}),e.map(function(n){return r.get(n)}).filter(fYe)},OYe=function(e,t){var r=E5(fh(e).length>0?document:ehe(e).ownerDocument),n=tB(e).filter(hI),i=dhe(r||e,e,n),a=new Map,s=C5(n,a),o=s.filter(function(m){var g=m.node;return hI(g)});if(o[0]){var l=C5([i],a).map(function(m){var g=m.node;return g}),c=IYe(l,o),u=c.map(function(m){var g=m.node;return g}),d=c.filter(function(m){var g=m.tabIndex;return g>=0}).map(function(m){var g=m.node;return g}),h=jYe(u,d,l,r,t);if(h===fI){var p=TQ(s,d,SQ(n,a))||TQ(s,u,SQ(n,a));if(p)return{node:p};console.warn("focus-lock: cannot find any node to move focus into");return}return h===void 0?h:c[h]}},MYe=function(e){var t=tB(e).filter(hI),r=dhe(e,e,t),n=Q$(eg([r],!0),!0,!0),i=eg(t,!1);return n.map(function(a){var s=a.node,o=a.index;return{node:s,index:o,lockItem:i.indexOf(s)>=0,guard:X$(s)}})},nB=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},U8=0,G8=!1,phe=function(e,t,r){r===void 0&&(r={});var n=OYe(e,t);if(!G8&&n){if(U8>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),G8=!0,setTimeout(function(){G8=!1},1);return}U8++,nB(n.node,r.focusOptions),U8--}};function ib(e){if(!e)return null;if(typeof WeakRef>"u")return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(t==null?void 0:t.deref())||null}}var kYe=function(e){if(!e)return null;for(var t=[],r=e;r&&r!==document.body;)t.push({current:ib(r),parent:ib(r.parentElement),left:ib(r.previousElementSibling),right:ib(r.nextElementSibling)}),r=r.parentElement;return{element:ib(e),stack:t,ownerDocument:e.ownerDocument}},DYe=function(e){var t,r,n,i,a;if(e)for(var s=e.stack,o=e.ownerDocument,l=new Map,c=0,u=s;c<u.length;c++){var d=u[c],h=(t=d.parent)===null||t===void 0?void 0:t.call(d);if(h&&o.contains(h)){for(var p=(r=d.left)===null||r===void 0?void 0:r.call(d),m=d.current(),g=h.contains(m)?m:void 0,b=(n=d.right)===null||n===void 0?void 0:n.call(d),y=eB([h],l),v=(a=(i=g!=null?g:p==null?void 0:p.nextElementSibling)!==null&&i!==void 0?i:b)!==null&&a!==void 0?a:p;v;){for(var S=0,x=y;S<x.length;S++){var w=x[S];if(v!=null&&v.contains(w.node))return w.node}v=v.nextElementSibling}if(y.length)return y[0].node}}},hhe=function(e){var t=kYe(e);return function(){return DYe(t)}},LYe=function(e,t,r){if(!e||!t)return console.error("no element or scope given"),{};var n=fh(t);if(n.every(function(s){return!Vp(s,e)}))return console.error("Active element is not contained in the scope"),{};var i=r?eB(n,new Map):C5(n,new Map),a=i.findIndex(function(s){var o=s.node;return o===e});if(a!==-1)return{prev:i[a-1],next:i[a+1],first:i[0],last:i[i.length-1]}},FYe=function(e,t){var r=t?eB(fh(e),new Map):C5(fh(e),new Map);return{first:r[0],last:r[r.length-1]}},$Ye=function(e){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},e)},fhe=function(e,t,r){t===void 0&&(t={});var n=$Ye(t),i=LYe(e,n.scope,n.onlyTabbable);if(i){var a=r(i,n.cycle);a&&nB(a.node,n.focusOptions)}},BYe=function(e,t){t===void 0&&(t={}),fhe(e,t,function(r,n){var i=r.next,a=r.first;return i||n&&a})},NYe=function(e,t){t===void 0&&(t={}),fhe(e,t,function(r,n){var i=r.prev,a=r.last;return i||n&&a})},mhe=function(e,t,r){var n,i=FYe(e,(n=t.onlyTabbable)!==null&&n!==void 0?n:!0),a=i[r];a&&nB(a.node,t.focusOptions)},qYe=function(e,t){t===void 0&&(t={}),mhe(e,t,"first")},zYe=function(e,t){t===void 0&&(t={}),mhe(e,t,"last")};function iB(e){setTimeout(e,1)}var WYe=function(t){return t&&"current"in t?t.current:t},ghe=function(){return document&&document.activeElement===document.body},HYe=function(){return ghe()||CYe()},Em=null,da=null,xQ=function(){return null},Pm=null,P5=!1,aB=!1,UYe=function(){return!0},GYe=function(t){return(Em.whiteList||UYe)(t)},VYe=function(t,r){Pm={observerNode:t,portaledElement:r}},YYe=function(t){return Pm&&Pm.portaledElement===t};function wQ(e,t,r,n){var i=null,a=e;do{var s=n[a];if(s.guard)s.node.dataset.focusAutoGuard&&(i=s);else if(s.lockItem){if(a!==e)return;i=null}else break}while((a+=r)!==t);i&&(i.node.tabIndex=0)}var KYe=function(t){return t?!!P5:P5==="meanwhile"},XYe=function e(t,r,n){return r&&(r.host===t&&(!r.activeElement||n.contains(r.activeElement))||r.parentNode&&e(t,r.parentNode,n))},QYe=function(t,r){return r.some(function(n){return XYe(t,n,n)})},bhe=function(t){return C5(t,new Map)},JYe=function(t){return!bhe([t.parentNode]).some(function(r){return r.node===t})},fS=function(){var t=!1;if(Em){var r=Em,n=r.observed,i=r.persistentFocus,a=r.autoFocus,s=r.shards,o=r.crossFrame,l=r.focusOptions,c=r.noFocusGuards,u=n||Pm&&Pm.portaledElement;if(ghe()&&da&&da!==document.body&&(!document.body.contains(da)||JYe(da))){var d=xQ();d&&d.focus()}var h=document&&document.activeElement;if(u){var p=[u].concat(s.map(WYe).filter(Boolean)),m=function(){if(!KYe(o)||!c||!da||aB)return!1;var S=bhe(p),x=S.findIndex(function(w){var A=w.node;return A===da});return x===0||x===S.length-1};if((!h||GYe(h))&&(i||m()||!HYe()||!da&&a)&&(u&&!(uhe(p)||h&&QYe(h,p)||YYe(h))&&(document&&!da&&h&&!a?(h.blur&&h.blur(),document.body.focus()):(t=phe(p,da,{focusOptions:l}),Pm={})),da=document&&document.activeElement,da!==document.body&&(xQ=hhe(da)),P5=!1),document&&h!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var g=document&&document.activeElement,b=MYe(p),y=b.map(function(v){var S=v.node;return S}).indexOf(g);y>-1&&(b.filter(function(v){var S=v.guard,x=v.node;return S&&x.dataset.focusAutoGuard}).forEach(function(v){var S=v.node;return S.removeAttribute("tabIndex")}),wQ(y,b.length,1,b),wQ(y,-1,-1,b))}}}return t},yhe=function(t){fS()&&t&&(t.stopPropagation(),t.preventDefault())},sB=function(){return iB(fS)},ZYe=function(t){var r=t.target,n=t.currentTarget;n.contains(r)||VYe(n,r)},eKe=function(){return null},vhe=function(){aB=!0},The=function(){aB=!1,P5="just",iB(function(){P5="meanwhile"})},tKe=function(){document.addEventListener("focusin",yhe),document.addEventListener("focusout",sB),window.addEventListener("focus",vhe),window.addEventListener("blur",The)},rKe=function(){document.removeEventListener("focusin",yhe),document.removeEventListener("focusout",sB),window.removeEventListener("focus",vhe),window.removeEventListener("blur",The)};function nKe(e){return e.filter(function(t){var r=t.disabled;return!r})}var She={moveFocusInside:phe,focusInside:uhe,focusNextElement:BYe,focusPrevElement:NYe,focusFirstElement:qYe,focusLastElement:zYe,captureFocusRestore:hhe};function iKe(e){var t=e.slice(-1)[0];t&&!Em&&tKe();var r=Em,n=r&&t&&t.id===r.id;Em=t,r&&!n&&(r.onDeactivation(),e.filter(function(i){var a=i.id;return a===r.id}).length||r.returnFocus(!t)),t?(da=null,(!n||r.observed!==t.observed)&&t.onActivation(She),fS(),iB(fS)):(rKe(),da=null)}Jpe.assignSyncMedium(ZYe);Zpe.assignMedium(sB);JVe.assignMedium(function(e){return e(She)});const aKe=sYe(nKe,iKe)(eKe);var gI=j.forwardRef(function(t,r){return Se.createElement(K$,nS({sideCar:aKe,ref:r},t))}),xhe=K$.propTypes||{};xhe.sideCar;NVe(xhe,["sideCar"]);gI.propTypes={};function whe(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function oB(e){var t;if(!whe(e))return!1;const r=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof r.HTMLElement}function sKe(e){var t,r;return(r=(t=_he(e))==null?void 0:t.defaultView)!=null?r:window}function _he(e){return whe(e)?e.ownerDocument:document}function oKe(e){return _he(e).activeElement}function lKe(e){const t=e.ownerDocument.defaultView||window,{overflow:r,overflowX:n,overflowY:i}=t.getComputedStyle(e);return/auto|scroll|overlay|hidden/.test(r+i+n)}function cKe(e){return e.localName==="html"?e:e.assignedSlot||e.parentElement||e.ownerDocument.documentElement}function Ahe(e){return["html","body","#document"].includes(e.localName)?e.ownerDocument.body:oB(e)&&lKe(e)?e:Ahe(cKe(e))}var Che=e=>e.hasAttribute("tabindex"),uKe=e=>Che(e)&&e.tabIndex===-1;function dKe(e){return!!e.getAttribute("disabled")||!!e.getAttribute("aria-disabled")}function Ehe(e){return e.parentElement&&Ehe(e.parentElement)?!0:e.hidden}function pKe(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function Phe(e){if(!oB(e)||Ehe(e)||dKe(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const n={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in n?n[t]():pKe(e)?!0:Che(e)}function hKe(e){return e?oB(e)&&Phe(e)&&!uKe(e):!1}var fKe=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],mKe=fKe.join(),gKe=e=>e.offsetWidth>0&&e.offsetHeight>0;function jhe(e){const t=Array.from(e.querySelectorAll(mKe));return t.unshift(e),t.filter(r=>Phe(r)&&gKe(r))}var _Q,bKe=(_Q=gI.default)!=null?_Q:gI,Rhe=e=>{const{initialFocusRef:t,finalFocusRef:r,contentRef:n,restoreFocus:i,children:a,isDisabled:s,autoFocus:o,persistentFocus:l,lockFocusAcrossFrames:c}=e,u=j.useCallback(()=>{t!=null&&t.current?t.current.focus():n!=null&&n.current&&jhe(n.current).length===0&&requestAnimationFrame(()=>{var m;(m=n.current)==null||m.focus()})},[t,n]),d=j.useCallback(()=>{var p;(p=r==null?void 0:r.current)==null||p.focus()},[r]),h=i&&!r;return f.jsx(bKe,{crossFrame:c,persistentFocus:l,autoFocus:o,disabled:s,onActivation:u,onDeactivation:d,returnFocus:h,children:a})};Rhe.displayName="FocusLock";var yKe=KNe?j.useLayoutEffect:j.useEffect;function vKe(e,t=[]){const r=j.useRef(e);return yKe(()=>{r.current=e}),j.useCallback((...n)=>{var i;return(i=r.current)==null?void 0:i.call(r,...n)},t)}function TKe(e,t){const r=vKe(e);j.useEffect(()=>{let n=null;const i=()=>r();return n=window.setInterval(i,t),()=>{n&&window.clearInterval(n)}},[t,r])}var V8,AQ;function SKe(){return AQ||(AQ=1,V8=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||r.forEach(function(i){e.addRange(i)}),t&&t.focus()}}),V8}var Y8,CQ;function xKe(){if(CQ)return Y8;CQ=1;var e=SKe(),t={"text/plain":"Text","text/html":"Url",default:"Text"},r="Copy to clipboard: #{key}, Enter";function n(a){var s=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return a.replace(/#{\s*key\s*}/g,s)}function i(a,s){var o,l,c,u,d,h,p=!1;s||(s={}),o=s.debug||!1;try{c=e(),u=document.createRange(),d=document.getSelection(),h=document.createElement("span"),h.textContent=a,h.ariaHidden="true",h.style.all="unset",h.style.position="fixed",h.style.top=0,h.style.clip="rect(0, 0, 0, 0)",h.style.whiteSpace="pre",h.style.webkitUserSelect="text",h.style.MozUserSelect="text",h.style.msUserSelect="text",h.style.userSelect="text",h.addEventListener("copy",function(g){if(g.stopPropagation(),s.format)if(g.preventDefault(),typeof g.clipboardData>"u"){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var b=t[s.format]||t.default;window.clipboardData.setData(b,a)}else g.clipboardData.clearData(),g.clipboardData.setData(s.format,a);s.onCopy&&(g.preventDefault(),s.onCopy(g.clipboardData))}),document.body.appendChild(h),u.selectNodeContents(h),d.addRange(u);var m=document.execCommand("copy");if(!m)throw new Error("copy command was unsuccessful");p=!0}catch(g){o&&console.error("unable to copy using execCommand: ",g),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(s.format||"text",a),s.onCopy&&s.onCopy(window.clipboardData),p=!0}catch(b){o&&console.error("unable to copy using clipboardData: ",b),o&&console.error("falling back to prompt"),l=n("message"in s?s.message:r),window.prompt(l,a)}}finally{d&&(typeof d.removeRange=="function"?d.removeRange(u):d.removeAllRanges()),h&&document.body.removeChild(h),c()}return p}return Y8=i,Y8}var wKe=xKe();const _Ke=Ld(wKe);function Ihe(e,t={}){const[r,n]=j.useState(!1),[i,a]=j.useState(e);j.useEffect(()=>a(e),[e]);const{timeout:s=1500,...o}=typeof t=="number"?{timeout:t}:t,l=j.useCallback(()=>{const c=_Ke(i,o);n(c)},[i,o]);return j.useEffect(()=>{let c=null;return r&&(c=window.setTimeout(()=>{n(!1)},s)),()=>{c&&window.clearTimeout(c)}},[s,r]),{value:i,setValue:a,onCopy:l,hasCopied:r}}var[AKe,CKe]=jn({name:"InputGroupStylesContext",errorMessage:`useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in "<InputGroup />" `}),Ohe=yt(function(t,r){const n=qs("Input",t),{children:i,className:a,...s}=vn(t),o=Yt("chakra-input__group",a),l={},c=d6(i),u=n.field;c.forEach(h=>{var p,m;n&&(u&&h.type.id==="InputLeftElement"&&(l.paddingStart=(p=u.height)!=null?p:u.h),u&&h.type.id==="InputRightElement"&&(l.paddingEnd=(m=u.height)!=null?m:u.h),h.type.id==="InputRightAddon"&&(l.borderEndRadius=0),h.type.id==="InputLeftAddon"&&(l.borderStartRadius=0))});const d=c.map(h=>{var p,m;const g=Mue({size:((p=h.props)==null?void 0:p.size)||t.size,variant:((m=h.props)==null?void 0:m.variant)||t.variant});return h.type.id!=="Input"?j.cloneElement(h,g):j.cloneElement(h,Object.assign(g,l,h.props))});return f.jsx(et.div,{className:o,ref:r,__css:{width:"100%",display:"flex",position:"relative",isolation:"isolate",...n.group},"data-group":!0,...s,children:f.jsx(AKe,{value:n,children:d})})});Ohe.displayName="InputGroup";var EKe=et("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),p6=yt(function(t,r){var n,i;const{placement:a="left",...s}=t,o=CKe(),l=o.field,u={[a==="left"?"insetStart":"insetEnd"]:"0",width:(n=l==null?void 0:l.height)!=null?n:l==null?void 0:l.h,height:(i=l==null?void 0:l.height)!=null?i:l==null?void 0:l.h,fontSize:l==null?void 0:l.fontSize,...o.element};return f.jsx(EKe,{ref:r,__css:u,...s})});p6.id="InputElement";p6.displayName="InputElement";var Mhe=yt(function(t,r){const{className:n,...i}=t,a=Yt("chakra-input__left-element",n);return f.jsx(p6,{ref:r,placement:"left",className:a,...i})});Mhe.id="InputLeftElement";Mhe.displayName="InputLeftElement";var lB=yt(function(t,r){const{className:n,...i}=t,a=Yt("chakra-input__right-element",n);return f.jsx(p6,{ref:r,placement:"right",className:a,...i})});lB.id="InputRightElement";lB.displayName="InputRightElement";var cB=yt(function(t,r){const{htmlSize:n,...i}=t,a=qs("Input",i),s=vn(i),o=G$(s),l=Yt("chakra-input",t.className);return f.jsx(et.input,{size:n,...o,__css:a.field,ref:r,className:l})});cB.displayName="Input";cB.id="Input";var mS=yt(function(t,r){const n=Oo("Link",t),{className:i,isExternal:a,...s}=vn(t);return f.jsx(et.a,{target:a?"_blank":void 0,rel:a?"noopener":void 0,ref:r,className:Yt("chakra-link",i),...s,__css:n})});mS.displayName="Link";var[PKe,khe]=jn({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "<List />" `}),h6=yt(function(t,r){const n=qs("List",t),{children:i,styleType:a="none",stylePosition:s,spacing:o,...l}=vn(t),c=d6(i),d=o?{"& > *:not(style) ~ *:not(style)":{mt:o}}:{};return f.jsx(PKe,{value:n,children:f.jsx(et.ul,{ref:r,listStyleType:a,listStylePosition:s,role:"list",__css:{...n.container,...d},...l,children:c})})});h6.displayName="List";var Dhe=yt((e,t)=>{const{as:r,...n}=e;return f.jsx(h6,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...n})});Dhe.displayName="OrderedList";var jKe=yt(function(t,r){const{as:n,...i}=t;return f.jsx(h6,{ref:r,as:"ul",styleType:"initial",marginStart:"1em",...i})});jKe.displayName="UnorderedList";var My=yt(function(t,r){const n=khe();return f.jsx(et.li,{ref:r,...t,__css:n.item})});My.displayName="ListItem";var RKe=yt(function(t,r){const n=khe();return f.jsx(G0,{ref:r,role:"presentation",...t,__css:n.icon})});RKe.displayName="ListIcon";var fv=yt(function(t,r){const{templateAreas:n,gap:i,rowGap:a,columnGap:s,column:o,row:l,autoFlow:c,autoRows:u,templateRows:d,autoColumns:h,templateColumns:p,...m}=t,g={display:"grid",gridTemplateAreas:n,gridGap:i,gridRowGap:a,gridColumnGap:s,gridAutoColumns:h,gridColumn:o,gridRow:l,gridAutoFlow:c,gridAutoRows:u,gridTemplateRows:d,gridTemplateColumns:p};return f.jsx(et.div,{ref:r,__css:g,...m})});fv.displayName="Grid";function uB(e,t){return Array.isArray(e)?e.map(r=>r===null?null:t(r)):sLe(e)?Object.keys(e).reduce((r,n)=>(r[n]=t(e[n]),r),{}):e!=null?t(e):null}var Lhe=yt(function(t,r){const{columns:n,spacingX:i,spacingY:a,spacing:s,minChildWidth:o,...l}=t,c=zw(),u=o?OKe(o,c):MKe(n);return f.jsx(fv,{ref:r,gap:s,columnGap:i,rowGap:a,templateColumns:u,...l})});Lhe.displayName="SimpleGrid";function IKe(e){return typeof e=="number"?`${e}px`:e}function OKe(e,t){return uB(e,r=>{const n=oLe("sizes",r,IKe(r))(t);return r===null?null:`repeat(auto-fit, minmax(${n}, 1fr))`})}function MKe(e){return uB(e,t=>t===null?null:`repeat(${t}, minmax(0, 1fr))`)}var ue=yt(function(t,r){const n=Oo("Text",t),{className:i,align:a,decoration:s,casing:o,...l}=vn(t),c=Mue({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return f.jsx(et.p,{ref:r,className:Yt("chakra-text",t.className),...c,...l,__css:n})});ue.displayName="Text";var Fhe=e=>f.jsx(et.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});Fhe.displayName="StackItem";function kKe(e){const{spacing:t,direction:r}=e,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":uB(r,i=>n[i])}}var ky=yt((e,t)=>{const{isInline:r,direction:n,align:i,justify:a,spacing:s="0.5rem",wrap:o,children:l,divider:c,className:u,shouldWrapChildren:d,...h}=e,p=r?"row":n!=null?n:"column",m=j.useMemo(()=>kKe({spacing:s,direction:p}),[s,p]),g=!!c,b=!d&&!g,y=j.useMemo(()=>{const S=d6(l);return b?S:S.map((x,w)=>{const A=typeof x.key<"u"?x.key:w,_=w+1===S.length,E=d?f.jsx(Fhe,{children:x},A):x;if(!g)return E;const R=j.cloneElement(c,{__css:m}),P=_?null:R;return f.jsxs(j.Fragment,{children:[E,P]},A)})},[c,m,g,b,d,l]),v=Yt("chakra-stack",u);return f.jsx(et.div,{ref:t,display:"flex",alignItems:i,justifyContent:a,flexDirection:p,flexWrap:o,gap:g?void 0:s,className:v,...h,children:y})});ky.displayName="Stack";var dB=yt((e,t)=>f.jsx(ky,{align:"center",...e,direction:"column",ref:t}));dB.displayName="VStack";var _n=yt(function(t,r){const n=Oo("Heading",t),{className:i,...a}=vn(t);return f.jsx(et.h2,{ref:r,className:Yt("chakra-heading",t.className),...a,__css:n})});_n.displayName="Heading";var Ne=et("div");Ne.displayName="Box";var $he=yt(function(t,r){const{size:n,centerContent:i=!0,...a}=t,s=i?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return f.jsx(Ne,{ref:r,boxSize:n,__css:{...s,flexShrink:0,flexGrow:0},...a})});$he.displayName="Square";var mv=yt(function(t,r){const{size:n,...i}=t;return f.jsx($he,{size:n,ref:r,borderRadius:"9999px",...i})});mv.displayName="Circle";var js=et("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});js.displayName="Center";var DKe={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}};yt(function(t,r){const{axis:n="both",...i}=t;return f.jsx(et.div,{ref:r,__css:DKe[n],...i,position:"absolute"})});var Bhe=yt(function(t,r){const n=Oo("Code",t),{className:i,...a}=vn(t);return f.jsx(et.code,{ref:r,className:Yt("chakra-code",t.className),...a,__css:{display:"inline-block",...n}})});Bhe.displayName="Code";var Zo=yt(function(t,r){const{borderLeftWidth:n,borderBottomWidth:i,borderTopWidth:a,borderRightWidth:s,borderWidth:o,borderStyle:l,borderColor:c,...u}=Oo("Divider",t),{className:d,orientation:h="horizontal",__css:p,...m}=vn(t),g={vertical:{borderLeftWidth:n||s||o||"1px",height:"100%"},horizontal:{borderBottomWidth:i||a||o||"1px",width:"100%"}};return f.jsx(et.hr,{ref:r,"aria-orientation":h,...m,__css:{...u,border:"0",borderColor:c,borderStyle:l,...g[h],...p},className:Yt("chakra-divider",d)})});Zo.displayName="Divider";var f6=yt(function(t,r){const{direction:n,align:i,justify:a,wrap:s,basis:o,grow:l,shrink:c,...u}=t,d={display:"flex",flexDirection:n,alignItems:i,justifyContent:a,flexWrap:s,flexBasis:o,flexGrow:l,flexShrink:c};return f.jsx(et.div,{ref:r,__css:d,...u})});f6.displayName="Flex";function LKe(e){const{key:t}=e;return t.length===1||t.length>1&&/[^a-zA-Z0-9]/.test(t)}function FKe(e={}){const{timeout:t=300,preventDefault:r=()=>!0}=e,[n,i]=j.useState([]),a=j.useRef(),s=()=>{a.current&&(clearTimeout(a.current),a.current=null)},o=()=>{s(),a.current=setTimeout(()=>{i([]),a.current=null},t)};j.useEffect(()=>s,[]);function l(c){return u=>{if(u.key==="Backspace"){const d=[...n];d.pop(),i(d);return}if(LKe(u)){const d=n.concat(u.key);r(u)&&(u.preventDefault(),u.stopPropagation()),i(d),c(d.join("")),o()}}}return l}function $Ke(e,t,r,n){if(t==null)return n;if(!n)return e.find(s=>r(s).toLowerCase().startsWith(t.toLowerCase()));const i=e.filter(a=>r(a).toLowerCase().startsWith(t.toLowerCase()));if(i.length>0){let a;return i.includes(n)?(a=i.indexOf(n)+1,a===i.length&&(a=0),i[a]):(a=e.indexOf(i[0]),e[a])}return n}function BKe(){const e=j.useRef(new Map),t=e.current,r=j.useCallback((i,a,s,o)=>{e.current.set(s,{type:a,el:i,options:o}),i.addEventListener(a,s,o)},[]),n=j.useCallback((i,a,s,o)=>{i.removeEventListener(a,s,o),e.current.delete(s)},[]);return j.useEffect(()=>()=>{t.forEach((i,a)=>{n(i.el,i.type,a,i.options)})},[n,t]),{add:r,remove:n}}function K8(e){const t=e.target,{tagName:r,isContentEditable:n}=t;return r!=="INPUT"&&r!=="TEXTAREA"&&n!==!0}function NKe(e={}){const{ref:t,isDisabled:r,isFocusable:n,clickOnEnter:i=!0,clickOnSpace:a=!0,onMouseDown:s,onMouseUp:o,onClick:l,onKeyDown:c,onKeyUp:u,tabIndex:d,onMouseOver:h,onMouseLeave:p,...m}=e,[g,b]=j.useState(!0),[y,v]=j.useState(!1),S=BKe(),x=F=>{F&&F.tagName!=="BUTTON"&&b(!1)},w=g?d:d||0,A=r&&!n,_=j.useCallback(F=>{if(r){F.stopPropagation(),F.preventDefault();return}F.currentTarget.focus(),l==null||l(F)},[r,l]),C=j.useCallback(F=>{y&&K8(F)&&(F.preventDefault(),F.stopPropagation(),v(!1),S.remove(document,"keyup",C,!1))},[y,S]),E=j.useCallback(F=>{if(c==null||c(F),r||F.defaultPrevented||F.metaKey||!K8(F.nativeEvent)||g)return;const $=i&&F.key==="Enter";a&&F.key===" "&&(F.preventDefault(),v(!0)),$&&(F.preventDefault(),F.currentTarget.click()),S.add(document,"keyup",C,!1)},[r,g,c,i,a,S,C]),R=j.useCallback(F=>{if(u==null||u(F),r||F.defaultPrevented||F.metaKey||!K8(F.nativeEvent)||g)return;a&&F.key===" "&&(F.preventDefault(),v(!1),F.currentTarget.click())},[a,g,r,u]),P=j.useCallback(F=>{F.button===0&&(v(!1),S.remove(document,"mouseup",P,!1))},[S]),O=j.useCallback(F=>{if(F.button!==0)return;if(r){F.stopPropagation(),F.preventDefault();return}g||v(!0),F.currentTarget.focus({preventScroll:!0}),S.add(document,"mouseup",P,!1),s==null||s(F)},[r,g,s,S,P]),k=j.useCallback(F=>{F.button===0&&(g||v(!1),o==null||o(F))},[o,g]),I=j.useCallback(F=>{if(r){F.preventDefault();return}h==null||h(F)},[r,h]),M=j.useCallback(F=>{y&&(F.preventDefault(),v(!1)),p==null||p(F)},[y,p]),D=na(t,x);return g?{...m,ref:D,type:"button","aria-disabled":A?void 0:r,disabled:A,onClick:_,onMouseDown:s,onMouseUp:o,onKeyUp:u,onKeyDown:c,onMouseOver:h,onMouseLeave:p}:{...m,ref:D,role:"button","data-active":fr(y),"aria-disabled":r?"true":void 0,tabIndex:A?void 0:w,onClick:_,onMouseDown:O,onMouseUp:k,onKeyUp:R,onKeyDown:E,onMouseOver:I,onMouseLeave:M}}function qKe(e){const t=e.current;if(!t)return!1;const r=oKe(t);return!r||t.contains(r)?!1:!!hKe(r)}function zKe(e,t){const{shouldFocus:r,visible:n,focusRef:i}=t,a=r&&!n;Xm(()=>{if(!a||qKe(e))return;const s=(i==null?void 0:i.current)||e.current;let o;if(s)return o=requestAnimationFrame(()=>{s.focus({preventScroll:!0})}),()=>{cancelAnimationFrame(o)}},[a,e,i])}var WKe={preventScroll:!0,shouldFocus:!1};function Knr(e,t=WKe){const{focusRef:r,preventScroll:n,shouldFocus:i,visible:a}=t,s=HKe(e)?e.current:e,o=i&&a,l=j.useRef(o),c=j.useRef(a);zc(()=>{!c.current&&a&&(l.current=o),c.current=a},[a,o]);const u=j.useCallback(()=>{if(!(!a||!s||!l.current)&&(l.current=!1,!s.contains(document.activeElement)))if(r!=null&&r.current)requestAnimationFrame(()=>{var d;(d=r.current)==null||d.focus({preventScroll:n})});else{const d=jhe(s);d.length>0&&requestAnimationFrame(()=>{d[0].focus({preventScroll:n})})}},[a,n,s,r]);Xm(()=>{u()},[u]),Oy(s,"transitionend",u)}function HKe(e){return"current"in e}var bf=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),si={arrowShadowColor:bf("--popper-arrow-shadow-color"),arrowSize:bf("--popper-arrow-size","8px"),arrowSizeHalf:bf("--popper-arrow-size-half"),arrowBg:bf("--popper-arrow-bg"),transformOrigin:bf("--popper-transform-origin"),arrowOffset:bf("--popper-arrow-offset")};function UKe(e){if(e.includes("top"))return"1px 1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 0px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 0px 0 var(--popper-arrow-shadow-color)"}var GKe={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},VKe=e=>GKe[e],EQ={scroll:!0,resize:!0};function YKe(e){let t;return typeof e=="object"?t={enabled:!0,options:{...EQ,...e}}:t={enabled:e,options:EQ},t}var KKe={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{const t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},XKe={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{PQ(e)},effect:({state:e})=>()=>{PQ(e)}},PQ=e=>{e.elements.popper.style.setProperty(si.transformOrigin.var,VKe(e.placement))},QKe={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{JKe(e)}},JKe=e=>{var t;if(!e.placement)return;const r=ZKe(e.placement);if((t=e.elements)!=null&&t.arrow&&r){Object.assign(e.elements.arrow.style,{[r.property]:r.value,width:si.arrowSize.varRef,height:si.arrowSize.varRef,zIndex:-1});const n={[si.arrowSizeHalf.var]:`calc(${si.arrowSize.varRef} / 2 - 1px)`,[si.arrowOffset.var]:`calc(${si.arrowSizeHalf.varRef} * -1)`};for(const i in n)e.elements.arrow.style.setProperty(i,n[i])}},ZKe=e=>{if(e.startsWith("top"))return{property:"bottom",value:si.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:si.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:si.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:si.arrowOffset.varRef}},eXe={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{jQ(e)},effect:({state:e})=>()=>{jQ(e)}},jQ=e=>{if(!e.elements.arrow)return;const t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;const r=UKe(e.placement);r&&t.style.setProperty("--popper-arrow-default-shadow",r),Object.assign(t.style,{transform:"rotate(45deg)",background:si.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},tXe={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},rXe={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function nXe(e,t="ltr"){var r,n;const i=((r=tXe[e])==null?void 0:r[t])||e;return t==="ltr"?i:(n=rXe[e])!=null?n:i}var Sa="top",Rs="bottom",Is="right",xa="left",pB="auto",gv=[Sa,Rs,Is,xa],tg="start",j5="end",iXe="clippingParents",Nhe="viewport",ab="popper",aXe="reference",RQ=gv.reduce(function(e,t){return e.concat([t+"-"+tg,t+"-"+j5])},[]),qhe=[].concat(gv,[pB]).reduce(function(e,t){return e.concat([t,t+"-"+tg,t+"-"+j5])},[]),sXe="beforeRead",oXe="read",lXe="afterRead",cXe="beforeMain",uXe="main",dXe="afterMain",pXe="beforeWrite",hXe="write",fXe="afterWrite",mXe=[sXe,oXe,lXe,cXe,uXe,dXe,pXe,hXe,fXe];function Rl(e){return e?(e.nodeName||"").toLowerCase():null}function Za(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function mh(e){var t=Za(e).Element;return e instanceof t||e instanceof Element}function xs(e){var t=Za(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function hB(e){if(typeof ShadowRoot>"u")return!1;var t=Za(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function gXe(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},a=t.elements[r];!xs(a)||!Rl(a)||(Object.assign(a.style,n),Object.keys(i).forEach(function(s){var o=i[s];o===!1?a.removeAttribute(s):a.setAttribute(s,o===!0?"":o)}))})}function bXe(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],a=t.attributes[n]||{},s=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),o=s.reduce(function(l,c){return l[c]="",l},{});!xs(i)||!Rl(i)||(Object.assign(i.style,o),Object.keys(a).forEach(function(l){i.removeAttribute(l)}))})}}const yXe={name:"applyStyles",enabled:!0,phase:"write",fn:gXe,effect:bXe,requires:["computeStyles"]};function Tl(e){return e.split("-")[0]}var Yp=Math.max,gS=Math.min,rg=Math.round;function bI(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function zhe(){return!/^((?!chrome|android).)*safari/i.test(bI())}function ng(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,a=1;t&&xs(e)&&(i=e.offsetWidth>0&&rg(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&rg(n.height)/e.offsetHeight||1);var s=mh(e)?Za(e):window,o=s.visualViewport,l=!zhe()&&r,c=(n.left+(l&&o?o.offsetLeft:0))/i,u=(n.top+(l&&o?o.offsetTop:0))/a,d=n.width/i,h=n.height/a;return{width:d,height:h,top:u,right:c+d,bottom:u+h,left:c,x:c,y:u}}function fB(e){var t=ng(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Whe(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&hB(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function tu(e){return Za(e).getComputedStyle(e)}function vXe(e){return["table","td","th"].indexOf(Rl(e))>=0}function qd(e){return((mh(e)?e.ownerDocument:e.document)||window.document).documentElement}function m6(e){return Rl(e)==="html"?e:e.assignedSlot||e.parentNode||(hB(e)?e.host:null)||qd(e)}function IQ(e){return!xs(e)||tu(e).position==="fixed"?null:e.offsetParent}function TXe(e){var t=/firefox/i.test(bI()),r=/Trident/i.test(bI());if(r&&xs(e)){var n=tu(e);if(n.position==="fixed")return null}var i=m6(e);for(hB(i)&&(i=i.host);xs(i)&&["html","body"].indexOf(Rl(i))<0;){var a=tu(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function bv(e){for(var t=Za(e),r=IQ(e);r&&vXe(r)&&tu(r).position==="static";)r=IQ(r);return r&&(Rl(r)==="html"||Rl(r)==="body"&&tu(r).position==="static")?t:r||TXe(e)||t}function mB(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Dy(e,t,r){return Yp(e,gS(t,r))}function SXe(e,t,r){var n=Dy(e,t,r);return n>r?r:n}function Hhe(){return{top:0,right:0,bottom:0,left:0}}function Uhe(e){return Object.assign({},Hhe(),e)}function Ghe(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var xXe=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Uhe(typeof t!="number"?t:Ghe(t,gv))};function wXe(e){var t,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,o=Tl(r.placement),l=mB(o),c=[xa,Is].indexOf(o)>=0,u=c?"height":"width";if(!(!a||!s)){var d=xXe(i.padding,r),h=fB(a),p=l==="y"?Sa:xa,m=l==="y"?Rs:Is,g=r.rects.reference[u]+r.rects.reference[l]-s[l]-r.rects.popper[u],b=s[l]-r.rects.reference[l],y=bv(a),v=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,S=g/2-b/2,x=d[p],w=v-h[u]-d[m],A=v/2-h[u]/2+S,_=Dy(x,A,w),C=l;r.modifiersData[n]=(t={},t[C]=_,t.centerOffset=_-A,t)}}function _Xe(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||Whe(t.elements.popper,i)&&(t.elements.arrow=i))}const AXe={name:"arrow",enabled:!0,phase:"main",fn:wXe,effect:_Xe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ig(e){return e.split("-")[1]}var CXe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function EXe(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:rg(r*i)/i||0,y:rg(n*i)/i||0}}function OQ(e){var t,r=e.popper,n=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,o=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=s.x,p=h===void 0?0:h,m=s.y,g=m===void 0?0:m,b=typeof u=="function"?u({x:p,y:g}):{x:p,y:g};p=b.x,g=b.y;var y=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),S=xa,x=Sa,w=window;if(c){var A=bv(r),_="clientHeight",C="clientWidth";if(A===Za(r)&&(A=qd(r),tu(A).position!=="static"&&o==="absolute"&&(_="scrollHeight",C="scrollWidth")),A=A,i===Sa||(i===xa||i===Is)&&a===j5){x=Rs;var E=d&&A===w&&w.visualViewport?w.visualViewport.height:A[_];g-=E-n.height,g*=l?1:-1}if(i===xa||(i===Sa||i===Rs)&&a===j5){S=Is;var R=d&&A===w&&w.visualViewport?w.visualViewport.width:A[C];p-=R-n.width,p*=l?1:-1}}var P=Object.assign({position:o},c&&CXe),O=u===!0?EXe({x:p,y:g},Za(r)):{x:p,y:g};if(p=O.x,g=O.y,l){var k;return Object.assign({},P,(k={},k[x]=v?"0":"",k[S]=y?"0":"",k.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",k))}return Object.assign({},P,(t={},t[x]=v?g+"px":"",t[S]=y?p+"px":"",t.transform="",t))}function PXe(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,a=r.adaptive,s=a===void 0?!0:a,o=r.roundOffsets,l=o===void 0?!0:o,c={placement:Tl(t.placement),variation:ig(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,OQ(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,OQ(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const jXe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:PXe,data:{}};var H2={passive:!0};function RXe(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=i===void 0?!0:i,s=n.resize,o=s===void 0?!0:s,l=Za(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(u){u.addEventListener("scroll",r.update,H2)}),o&&l.addEventListener("resize",r.update,H2),function(){a&&c.forEach(function(u){u.removeEventListener("scroll",r.update,H2)}),o&&l.removeEventListener("resize",r.update,H2)}}const IXe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:RXe,data:{}};var OXe={left:"right",right:"left",bottom:"top",top:"bottom"};function pT(e){return e.replace(/left|right|bottom|top/g,function(t){return OXe[t]})}var MXe={start:"end",end:"start"};function MQ(e){return e.replace(/start|end/g,function(t){return MXe[t]})}function gB(e){var t=Za(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function bB(e){return ng(qd(e)).left+gB(e).scrollLeft}function kXe(e,t){var r=Za(e),n=qd(e),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,o=0,l=0;if(i){a=i.width,s=i.height;var c=zhe();(c||!c&&t==="fixed")&&(o=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:o+bB(e),y:l}}function DXe(e){var t,r=qd(e),n=gB(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=Yp(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Yp(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),o=-n.scrollLeft+bB(e),l=-n.scrollTop;return tu(i||r).direction==="rtl"&&(o+=Yp(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:s,x:o,y:l}}function yB(e){var t=tu(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Vhe(e){return["html","body","#document"].indexOf(Rl(e))>=0?e.ownerDocument.body:xs(e)&&yB(e)?e:Vhe(m6(e))}function Ly(e,t){var r;t===void 0&&(t=[]);var n=Vhe(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),a=Za(n),s=i?[a].concat(a.visualViewport||[],yB(n)?n:[]):n,o=t.concat(s);return i?o:o.concat(Ly(m6(s)))}function yI(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function LXe(e,t){var r=ng(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function kQ(e,t,r){return t===Nhe?yI(kXe(e,r)):mh(t)?LXe(t,r):yI(DXe(qd(e)))}function FXe(e){var t=Ly(m6(e)),r=["absolute","fixed"].indexOf(tu(e).position)>=0,n=r&&xs(e)?bv(e):e;return mh(n)?t.filter(function(i){return mh(i)&&Whe(i,n)&&Rl(i)!=="body"}):[]}function $Xe(e,t,r,n){var i=t==="clippingParents"?FXe(e):[].concat(t),a=[].concat(i,[r]),s=a[0],o=a.reduce(function(l,c){var u=kQ(e,c,n);return l.top=Yp(u.top,l.top),l.right=gS(u.right,l.right),l.bottom=gS(u.bottom,l.bottom),l.left=Yp(u.left,l.left),l},kQ(e,s,n));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Yhe(e){var t=e.reference,r=e.element,n=e.placement,i=n?Tl(n):null,a=n?ig(n):null,s=t.x+t.width/2-r.width/2,o=t.y+t.height/2-r.height/2,l;switch(i){case Sa:l={x:s,y:t.y-r.height};break;case Rs:l={x:s,y:t.y+t.height};break;case Is:l={x:t.x+t.width,y:o};break;case xa:l={x:t.x-r.width,y:o};break;default:l={x:t.x,y:t.y}}var c=i?mB(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(a){case tg:l[c]=l[c]-(t[u]/2-r[u]/2);break;case j5:l[c]=l[c]+(t[u]/2-r[u]/2);break}}return l}function R5(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,a=r.strategy,s=a===void 0?e.strategy:a,o=r.boundary,l=o===void 0?iXe:o,c=r.rootBoundary,u=c===void 0?Nhe:c,d=r.elementContext,h=d===void 0?ab:d,p=r.altBoundary,m=p===void 0?!1:p,g=r.padding,b=g===void 0?0:g,y=Uhe(typeof b!="number"?b:Ghe(b,gv)),v=h===ab?aXe:ab,S=e.rects.popper,x=e.elements[m?v:h],w=$Xe(mh(x)?x:x.contextElement||qd(e.elements.popper),l,u,s),A=ng(e.elements.reference),_=Yhe({reference:A,element:S,placement:i}),C=yI(Object.assign({},S,_)),E=h===ab?C:A,R={top:w.top-E.top+y.top,bottom:E.bottom-w.bottom+y.bottom,left:w.left-E.left+y.left,right:E.right-w.right+y.right},P=e.modifiersData.offset;if(h===ab&&P){var O=P[i];Object.keys(R).forEach(function(k){var I=[Is,Rs].indexOf(k)>=0?1:-1,M=[Sa,Rs].indexOf(k)>=0?"y":"x";R[k]+=O[M]*I})}return R}function BXe(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,a=r.rootBoundary,s=r.padding,o=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?qhe:l,u=ig(n),d=u?o?RQ:RQ.filter(function(m){return ig(m)===u}):gv,h=d.filter(function(m){return c.indexOf(m)>=0});h.length===0&&(h=d);var p=h.reduce(function(m,g){return m[g]=R5(e,{placement:g,boundary:i,rootBoundary:a,padding:s})[Tl(g)],m},{});return Object.keys(p).sort(function(m,g){return p[m]-p[g]})}function NXe(e){if(Tl(e)===pB)return[];var t=pT(e);return[MQ(e),t,MQ(t)]}function qXe(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,a=i===void 0?!0:i,s=r.altAxis,o=s===void 0?!0:s,l=r.fallbackPlacements,c=r.padding,u=r.boundary,d=r.rootBoundary,h=r.altBoundary,p=r.flipVariations,m=p===void 0?!0:p,g=r.allowedAutoPlacements,b=t.options.placement,y=Tl(b),v=y===b,S=l||(v||!m?[pT(b)]:NXe(b)),x=[b].concat(S).reduce(function(H,ie){return H.concat(Tl(ie)===pB?BXe(t,{placement:ie,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:g}):ie)},[]),w=t.rects.reference,A=t.rects.popper,_=new Map,C=!0,E=x[0],R=0;R<x.length;R++){var P=x[R],O=Tl(P),k=ig(P)===tg,I=[Sa,Rs].indexOf(O)>=0,M=I?"width":"height",D=R5(t,{placement:P,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),F=I?k?Is:xa:k?Rs:Sa;w[M]>A[M]&&(F=pT(F));var $=pT(F),Y=[];if(a&&Y.push(D[O]<=0),o&&Y.push(D[F]<=0,D[$]<=0),Y.every(function(H){return H})){E=P,C=!1;break}_.set(P,Y)}if(C)for(var he=m?3:1,fe=function(ie){var J=x.find(function(we){var Le=_.get(we);if(Le)return Le.slice(0,ie).every(function(Ye){return Ye})});if(J)return E=J,"break"},U=he;U>0;U--){var W=fe(U);if(W==="break")break}t.placement!==E&&(t.modifiersData[n]._skip=!0,t.placement=E,t.reset=!0)}}const zXe={name:"flip",enabled:!0,phase:"main",fn:qXe,requiresIfExists:["offset"],data:{_skip:!1}};function DQ(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function LQ(e){return[Sa,Is,Rs,xa].some(function(t){return e[t]>=0})}function WXe(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,s=R5(t,{elementContext:"reference"}),o=R5(t,{altBoundary:!0}),l=DQ(s,n),c=DQ(o,i,a),u=LQ(l),d=LQ(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const HXe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:WXe};function UXe(e,t,r){var n=Tl(e),i=[xa,Sa].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=a[0],o=a[1];return s=s||0,o=(o||0)*i,[xa,Is].indexOf(n)>=0?{x:o,y:s}:{x:s,y:o}}function GXe(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=i===void 0?[0,0]:i,s=qhe.reduce(function(u,d){return u[d]=UXe(d,t.rects,a),u},{}),o=s[t.placement],l=o.x,c=o.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=s}const VXe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:GXe};function YXe(e){var t=e.state,r=e.name;t.modifiersData[r]=Yhe({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const KXe={name:"popperOffsets",enabled:!0,phase:"read",fn:YXe,data:{}};function XXe(e){return e==="x"?"y":"x"}function QXe(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=i===void 0?!0:i,s=r.altAxis,o=s===void 0?!1:s,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,d=r.padding,h=r.tether,p=h===void 0?!0:h,m=r.tetherOffset,g=m===void 0?0:m,b=R5(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),y=Tl(t.placement),v=ig(t.placement),S=!v,x=mB(y),w=XXe(x),A=t.modifiersData.popperOffsets,_=t.rects.reference,C=t.rects.popper,E=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,R=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(A){if(a){var k,I=x==="y"?Sa:xa,M=x==="y"?Rs:Is,D=x==="y"?"height":"width",F=A[x],$=F+b[I],Y=F-b[M],he=p?-C[D]/2:0,fe=v===tg?_[D]:C[D],U=v===tg?-C[D]:-_[D],W=t.elements.arrow,H=p&&W?fB(W):{width:0,height:0},ie=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Hhe(),J=ie[I],we=ie[M],Le=Dy(0,_[D],H[D]),Ye=S?_[D]/2-he-Le-J-R.mainAxis:fe-Le-J-R.mainAxis,oe=S?-_[D]/2+he+Le+we+R.mainAxis:U+Le+we+R.mainAxis,X=t.elements.arrow&&bv(t.elements.arrow),se=X?x==="y"?X.clientTop||0:X.clientLeft||0:0,Ce=(k=P==null?void 0:P[x])!=null?k:0,ce=F+Ye-Ce-se,le=F+oe-Ce,Te=Dy(p?gS($,ce):$,F,p?Yp(Y,le):Y);A[x]=Te,O[x]=Te-F}if(o){var be,ze=x==="x"?Sa:xa,Ze=x==="x"?Rs:Is,St=A[w],Ut=w==="y"?"height":"width",Rt=St+b[ze],Dt=St-b[Ze],nt=[Sa,xa].indexOf(y)!==-1,Pr=(be=P==null?void 0:P[w])!=null?be:0,q=nt?Rt:St-_[Ut]-C[Ut]-Pr+R.altAxis,K=nt?St+_[Ut]+C[Ut]-Pr-R.altAxis:Dt,pe=p&&nt?SXe(q,St,K):Dy(p?q:Rt,St,p?K:Dt);A[w]=pe,O[w]=pe-St}t.modifiersData[n]=O}}const JXe={name:"preventOverflow",enabled:!0,phase:"main",fn:QXe,requiresIfExists:["offset"]};function ZXe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function eQe(e){return e===Za(e)||!xs(e)?gB(e):ZXe(e)}function tQe(e){var t=e.getBoundingClientRect(),r=rg(t.width)/e.offsetWidth||1,n=rg(t.height)/e.offsetHeight||1;return r!==1||n!==1}function rQe(e,t,r){r===void 0&&(r=!1);var n=xs(t),i=xs(t)&&tQe(t),a=qd(t),s=ng(e,i,r),o={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Rl(t)!=="body"||yB(a))&&(o=eQe(t)),xs(t)?(l=ng(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=bB(a))),{x:s.left+o.scrollLeft-l.x,y:s.top+o.scrollTop-l.y,width:s.width,height:s.height}}function nQe(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function i(a){r.add(a.name);var s=[].concat(a.requires||[],a.requiresIfExists||[]);s.forEach(function(o){if(!r.has(o)){var l=t.get(o);l&&i(l)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||i(a)}),n}function iQe(e){var t=nQe(e);return mXe.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function aQe(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function sQe(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var FQ={placement:"bottom",modifiers:[],strategy:"absolute"};function $Q(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function oQe(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,a=i===void 0?FQ:i;return function(o,l,c){c===void 0&&(c=a);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},FQ,a),modifiersData:{},elements:{reference:o,popper:l},attributes:{},styles:{}},d=[],h=!1,p={state:u,setOptions:function(y){var v=typeof y=="function"?y(u.options):y;g(),u.options=Object.assign({},a,u.options,v),u.scrollParents={reference:mh(o)?Ly(o):o.contextElement?Ly(o.contextElement):[],popper:Ly(l)};var S=iQe(sQe([].concat(n,u.options.modifiers)));return u.orderedModifiers=S.filter(function(x){return x.enabled}),m(),p.update()},forceUpdate:function(){if(!h){var y=u.elements,v=y.reference,S=y.popper;if($Q(v,S)){u.rects={reference:rQe(v,bv(S),u.options.strategy==="fixed"),popper:fB(S)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(R){return u.modifiersData[R.name]=Object.assign({},R.data)});for(var x=0;x<u.orderedModifiers.length;x++){if(u.reset===!0){u.reset=!1,x=-1;continue}var w=u.orderedModifiers[x],A=w.fn,_=w.options,C=_===void 0?{}:_,E=w.name;typeof A=="function"&&(u=A({state:u,options:C,name:E,instance:p})||u)}}}},update:aQe(function(){return new Promise(function(b){p.forceUpdate(),b(u)})}),destroy:function(){g(),h=!0}};if(!$Q(o,l))return p;p.setOptions(c).then(function(b){!h&&c.onFirstUpdate&&c.onFirstUpdate(b)});function m(){u.orderedModifiers.forEach(function(b){var y=b.name,v=b.options,S=v===void 0?{}:v,x=b.effect;if(typeof x=="function"){var w=x({state:u,name:y,instance:p,options:S}),A=function(){};d.push(w||A)}})}function g(){d.forEach(function(b){return b()}),d=[]}return p}}var lQe=[IXe,KXe,jXe,yXe,VXe,zXe,JXe,AXe,HXe],cQe=oQe({defaultModifiers:lQe});function Khe(e={}){const{enabled:t=!0,modifiers:r,placement:n="bottom",strategy:i="absolute",arrowPadding:a=8,eventListeners:s=!0,offset:o,gutter:l=8,flip:c=!0,boundary:u="clippingParents",preventOverflow:d=!0,matchWidth:h,direction:p="ltr"}=e,m=j.useRef(null),g=j.useRef(null),b=j.useRef(null),y=nXe(n,p),v=j.useRef(()=>{}),S=j.useCallback(()=>{var R;!t||!m.current||!g.current||((R=v.current)==null||R.call(v),b.current=cQe(m.current,g.current,{placement:y,modifiers:[eXe,QKe,XKe,{...KKe,enabled:!!h},{name:"eventListeners",...YKe(s)},{name:"arrow",options:{padding:a}},{name:"offset",options:{offset:o!=null?o:[0,l]}},{name:"flip",enabled:!!c,options:{padding:8}},{name:"preventOverflow",enabled:!!d,options:{boundary:u}},...r!=null?r:[]],strategy:i}),b.current.forceUpdate(),v.current=b.current.destroy)},[y,t,r,h,s,a,o,l,c,d,u,i]);j.useEffect(()=>()=>{var R;!m.current&&!g.current&&((R=b.current)==null||R.destroy(),b.current=null)},[]);const x=j.useCallback(R=>{m.current=R,S()},[S]),w=j.useCallback((R={},P=null)=>({...R,ref:na(x,P)}),[x]),A=j.useCallback(R=>{g.current=R,S()},[S]),_=j.useCallback((R={},P=null)=>({...R,ref:na(A,P),style:{...R.style,position:i,minWidth:h?void 0:"max-content",inset:"0 auto auto 0"}}),[i,A,h]),C=j.useCallback((R={},P=null)=>{const{size:O,shadowColor:k,bg:I,style:M,...D}=R;return{...D,ref:P,"data-popper-arrow":"",style:uQe(R)}},[]),E=j.useCallback((R={},P=null)=>({...R,ref:P,"data-popper-arrow-inner":""}),[]);return{update(){var R;(R=b.current)==null||R.update()},forceUpdate(){var R;(R=b.current)==null||R.forceUpdate()},transformOrigin:si.transformOrigin.varRef,referenceRef:x,popperRef:A,getPopperProps:_,getArrowProps:C,getArrowInnerProps:E,getReferenceProps:w}}function uQe(e){const{size:t,shadowColor:r,bg:n,style:i}=e,a={...i,position:"absolute"};return t&&(a["--popper-arrow-size"]=t),r&&(a["--popper-arrow-shadow-color"]=r),n&&(a["--popper-arrow-bg"]=n),a}function Xhe(e={}){const{onClose:t,onOpen:r,isOpen:n,id:i}=e,a=go(r),s=go(t),[o,l]=j.useState(e.defaultIsOpen||!1),c=n!==void 0?n:o,u=n!==void 0,d=j.useId(),h=i!=null?i:`disclosure-${d}`,p=j.useCallback(()=>{u||l(!1),s==null||s()},[u,s]),m=j.useCallback(()=>{u||l(!0),a==null||a()},[u,a]),g=j.useCallback(()=>{c?p():m()},[c,m,p]);function b(v={}){return{...v,"aria-expanded":c,"aria-controls":h,onClick(S){var x;(x=v.onClick)==null||x.call(v,S),g()}}}function y(v={}){return{...v,hidden:!c,id:h}}return{isOpen:c,onOpen:m,onClose:p,onToggle:g,isControlled:u,getButtonProps:b,getDisclosureProps:y}}function dQe(e){const{ref:t,handler:r,enabled:n=!0}=e,i=go(r),s=j.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;j.useEffect(()=>{if(!n)return;const o=d=>{X8(d,t)&&(s.isPointerDown=!0)},l=d=>{if(s.ignoreEmulatedMouseEvents){s.ignoreEmulatedMouseEvents=!1;return}s.isPointerDown&&r&&X8(d,t)&&(s.isPointerDown=!1,i(d))},c=d=>{s.ignoreEmulatedMouseEvents=!0,r&&s.isPointerDown&&X8(d,t)&&(s.isPointerDown=!1,i(d))},u=Qhe(t.current);return u.addEventListener("mousedown",o,!0),u.addEventListener("mouseup",l,!0),u.addEventListener("touchstart",o,!0),u.addEventListener("touchend",c,!0),()=>{u.removeEventListener("mousedown",o,!0),u.removeEventListener("mouseup",l,!0),u.removeEventListener("touchstart",o,!0),u.removeEventListener("touchend",c,!0)}},[r,t,i,s,n])}function X8(e,t){var r;const n=e.target;return n&&!Qhe(n).contains(n)?!1:!((r=t.current)!=null&&r.contains(n))}function Qhe(e){var t;return(t=e==null?void 0:e.ownerDocument)!=null?t:document}function pQe(e){const{isOpen:t,ref:r}=e,[n,i]=j.useState(t),[a,s]=j.useState(!1);return j.useEffect(()=>{a||(i(t),s(!0))},[t,a,n]),Oy(()=>r.current,"animationend",()=>{i(t)}),{present:!(t?!1:!n),onComplete(){var l;const c=sKe(r.current),u=new c.CustomEvent("animationend",{bubbles:!0});(l=r.current)==null||l.dispatchEvent(u)}}}function Jhe(e){const{wasSelected:t,enabled:r,isSelected:n,mode:i="unmount"}=e;return!!(!r||n||i==="keepMounted"&&t)}var[hQe,fQe,mQe]=Dpe(),[gQe,g6]=jn({strict:!1,name:"MenuContext"});function bQe(e,...t){const r=j.useId(),n=e||r;return j.useMemo(()=>t.map(i=>`${i}-${n}`),[n,t])}function yQe(e){var t;return(t=e==null?void 0:e.ownerDocument)!=null?t:document}function vQe(e={}){const{id:t,closeOnSelect:r=!0,closeOnBlur:n=!0,initialFocusRef:i,autoSelect:a=!0,isLazy:s,isOpen:o,defaultIsOpen:l,onClose:c,onOpen:u,placement:d="bottom-start",lazyBehavior:h="unmount",direction:p,computePositionOnMount:m=!1,...g}=e,b=j.useRef(null),y=j.useRef(null),v=mQe(),S=j.useCallback(()=>{requestAnimationFrame(()=>{var W;(W=b.current)==null||W.focus({preventScroll:!1})})},[]),x=j.useCallback(()=>{const W=setTimeout(()=>{var H;if(i)(H=i.current)==null||H.focus();else{const ie=v.firstEnabled();ie&&k(ie.index)}});$.current.add(W)},[v,i]),w=j.useCallback(()=>{const W=setTimeout(()=>{const H=v.lastEnabled();H&&k(H.index)});$.current.add(W)},[v]),A=j.useCallback(()=>{u==null||u(),a?x():S()},[a,x,S,u]),{isOpen:_,onOpen:C,onClose:E,onToggle:R}=Xhe({isOpen:o,defaultIsOpen:l,onClose:c,onOpen:A});dQe({enabled:_&&n,ref:b,handler:W=>{var H;(H=y.current)!=null&&H.contains(W.target)||E()}});const P=Khe({...g,enabled:_||m,placement:d,direction:p}),[O,k]=j.useState(-1);Xm(()=>{_||k(-1)},[_]),zKe(b,{focusRef:y,visible:_,shouldFocus:!0});const I=pQe({isOpen:_,ref:b}),[M,D]=bQe(t,"menu-button","menu-list"),F=j.useCallback(()=>{C(),S()},[C,S]),$=j.useRef(new Set([]));j.useEffect(()=>{const W=$.current;return()=>{W.forEach(H=>clearTimeout(H)),W.clear()}},[]);const Y=j.useCallback(()=>{C(),x()},[x,C]),he=j.useCallback(()=>{C(),w()},[C,w]),fe=j.useCallback(()=>{var W,H;const ie=yQe(b.current),J=(W=b.current)==null?void 0:W.contains(ie.activeElement);if(!(_&&!J))return;const Le=(H=v.item(O))==null?void 0:H.node;Le==null||Le.focus({preventScroll:!0})},[_,O,v]),U=j.useRef(null);return{openAndFocusMenu:F,openAndFocusFirstItem:Y,openAndFocusLastItem:he,onTransitionEnd:fe,unstable__animationState:I,descendants:v,popper:P,buttonId:M,menuId:D,forceUpdate:P.forceUpdate,orientation:"vertical",isOpen:_,onToggle:R,onOpen:C,onClose:E,menuRef:b,buttonRef:y,focusedIndex:O,closeOnSelect:r,closeOnBlur:n,autoSelect:a,setFocusedIndex:k,isLazy:s,lazyBehavior:h,initialFocusRef:i,rafId:U}}function TQe(e={},t=null){const r=g6(),{onToggle:n,popper:i,openAndFocusFirstItem:a,openAndFocusLastItem:s}=r,o=j.useCallback(l=>{const c=l.key,d={Enter:a,ArrowDown:a,ArrowUp:s}[c];d&&(l.preventDefault(),l.stopPropagation(),d(l))},[a,s]);return{...e,ref:na(r.buttonRef,t,i.referenceRef),id:r.buttonId,"data-active":fr(r.isOpen),"aria-expanded":r.isOpen,"aria-haspopup":"menu","aria-controls":r.menuId,onClick:Kr(e.onClick,n),onKeyDown:Kr(e.onKeyDown,o)}}function BQ(e){var t;return wQe(e)&&!!((t=e==null?void 0:e.getAttribute("role"))!=null&&t.startsWith("menuitem"))}function SQe(e={},t=null){const r=g6();if(!r)throw new Error("useMenuContext: context is undefined. Seems you forgot to wrap component within <Menu>");const{focusedIndex:n,setFocusedIndex:i,menuRef:a,isOpen:s,onClose:o,menuId:l,isLazy:c,lazyBehavior:u,unstable__animationState:d}=r,h=fQe(),p=FKe({preventDefault:y=>y.key!==" "&&BQ(y.target)}),m=j.useCallback(y=>{if(!y.currentTarget.contains(y.target))return;const v=y.key,x={Tab:A=>A.preventDefault(),Escape:o,ArrowDown:()=>{const A=h.nextEnabled(n);A&&i(A.index)},ArrowUp:()=>{const A=h.prevEnabled(n);A&&i(A.index)}}[v];if(x){y.preventDefault(),x(y);return}const w=p(A=>{const _=$Ke(h.values(),A,C=>{var E,R;return(R=(E=C==null?void 0:C.node)==null?void 0:E.textContent)!=null?R:""},h.item(n));if(_){const C=h.indexOf(_.node);i(C)}});BQ(y.target)&&w(y)},[h,n,p,o,i]),g=j.useRef(!1);s&&(g.current=!0);const b=Jhe({wasSelected:g.current,enabled:c,mode:u,isSelected:d.present});return{...e,ref:na(a,t),children:b?e.children:null,tabIndex:-1,role:"menu",id:l,style:{...e.style,transformOrigin:"var(--popper-transform-origin)"},"aria-orientation":"vertical",onKeyDown:Kr(e.onKeyDown,m)}}function xQe(e={}){const{popper:t,isOpen:r}=g6();return t.getPopperProps({...e,style:{visibility:r?"visible":"hidden",...e.style}})}function wQe(e){var t;if(!_Qe(e))return!1;const r=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof r.HTMLElement}function _Qe(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}var[AQe,Zhe]=jn({name:"MenuStylesContext",errorMessage:`useMenuStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Menu />" `}),efe=e=>{const{children:t}=e,r=qs("Menu",e),n=vn(e),{direction:i}=zw(),{descendants:a,...s}=vQe({...n,direction:i}),o=j.useMemo(()=>s,[s]),{isOpen:l,onClose:c,forceUpdate:u}=o;return f.jsx(hQe,{value:a,children:f.jsx(gQe,{value:o,children:f.jsx(AQe,{value:r,children:iS(t,{isOpen:l,onClose:c,forceUpdate:u})})})})};efe.displayName="Menu";var CQe={enter:{visibility:"visible",opacity:1,scale:1,transition:{duration:.2,ease:[.4,0,.2,1]}},exit:{transitionEnd:{visibility:"hidden"},opacity:0,scale:.8,transition:{duration:.1,easings:"easeOut"}}},EQe=et(Rn.div),tfe=yt(function(t,r){var n,i;const{rootProps:a,motionProps:s,...o}=t,{isOpen:l,onTransitionEnd:c,unstable__animationState:u}=g6(),d=SQe(o,r),h=xQe(a),p=Zhe();return f.jsx(et.div,{...h,__css:{zIndex:(i=t.zIndex)!=null?i:(n=p.list)==null?void 0:n.zIndex},children:f.jsx(EQe,{variants:CQe,initial:!1,animate:l?"enter":"exit",__css:{outline:0,...p.list},...s,className:Yt("chakra-menu__menu-list",d.className),...d,onUpdate:c,onAnimationComplete:fce(u.onComplete,d.onAnimationComplete)})})});tfe.displayName="MenuList";var PQe=yt((e,t)=>{const r=Zhe();return f.jsx(et.button,{ref:t,...e,__css:{display:"inline-flex",appearance:"none",alignItems:"center",outline:0,...r.button}})}),rfe=yt((e,t)=>{const{children:r,as:n,...i}=e,a=TQe(i,t),s=n||PQe;return f.jsx(s,{...a,className:Yt("chakra-menu__menu-button",e.className),children:f.jsx(et.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0},children:e.children})})});rfe.displayName="MenuButton";var jQe={slideInBottom:{...zb,custom:{offsetY:16,reverse:!0}},slideInRight:{...zb,custom:{offsetX:16,reverse:!0}},slideInTop:{...zb,custom:{offsetY:-16,reverse:!0}},slideInLeft:{...zb,custom:{offsetX:-16,reverse:!0}},scale:{...Fpe,custom:{initialScale:.95,reverse:!0}},none:{}},RQe=et(Rn.section),IQe=e=>jQe[e||"none"],nfe=j.forwardRef((e,t)=>{const{preset:r,motionProps:n=IQe(r),...i}=e;return f.jsx(RQe,{ref:t,...n,...i})});nfe.displayName="ModalTransition";var OQe=Object.defineProperty,MQe=(e,t,r)=>t in e?OQe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,kQe=(e,t,r)=>(MQe(e,t+"",r),r),DQe=class{constructor(){kQe(this,"modals"),this.modals=new Map}add(e){return this.modals.set(e,this.modals.size+1),this.modals.size}remove(e){this.modals.delete(e)}isTopModal(e){return e?this.modals.get(e)===this.modals.size:!1}},vI=new DQe;function ife(e,t){const[r,n]=j.useState(0);return j.useEffect(()=>{const i=e.current;if(i){if(t){const a=vI.add(i);n(a)}return()=>{vI.remove(i),n(0)}}},[t,e]),r}var LQe=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},yf=new WeakMap,U2=new WeakMap,G2={},Q8=0,afe=function(e){return e&&(e.host||afe(e.parentNode))},FQe=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=afe(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},$Qe=function(e,t,r,n){var i=FQe(t,Array.isArray(e)?e:[e]);G2[r]||(G2[r]=new WeakMap);var a=G2[r],s=[],o=new Set,l=new Set(i),c=function(d){!d||o.has(d)||(o.add(d),c(d.parentNode))};i.forEach(c);var u=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(h){if(o.has(h))u(h);else try{var p=h.getAttribute(n),m=p!==null&&p!=="false",g=(yf.get(h)||0)+1,b=(a.get(h)||0)+1;yf.set(h,g),a.set(h,b),s.push(h),g===1&&m&&U2.set(h,!0),b===1&&h.setAttribute(r,"true"),m||h.setAttribute(n,"true")}catch(y){console.error("aria-hidden: cannot operate on ",h,y)}})};return u(t),o.clear(),Q8++,function(){s.forEach(function(d){var h=yf.get(d)-1,p=a.get(d)-1;yf.set(d,h),a.set(d,p),h||(U2.has(d)||d.removeAttribute(n),U2.delete(d)),p||d.removeAttribute(r)}),Q8--,Q8||(yf=new WeakMap,yf=new WeakMap,U2=new WeakMap,G2={})}},BQe=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=LQe(e);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),$Qe(n,i,r,"aria-hidden")):function(){return null}};function NQe(e){const{isOpen:t,onClose:r,id:n,closeOnOverlayClick:i=!0,closeOnEsc:a=!0,useInert:s=!0,onOverlayClick:o,onEsc:l}=e,c=j.useRef(null),u=j.useRef(null),[d,h,p]=zQe(n,"chakra-modal","chakra-modal--header","chakra-modal--body");qQe(c,t&&s);const m=ife(c,t),g=j.useRef(null),b=j.useCallback(E=>{g.current=E.target},[]),y=j.useCallback(E=>{E.key==="Escape"&&(E.stopPropagation(),a&&(r==null||r()),l==null||l())},[a,r,l]),[v,S]=j.useState(!1),[x,w]=j.useState(!1),A=j.useCallback((E={},R=null)=>({role:"dialog",...E,ref:na(R,c),id:d,tabIndex:-1,"aria-modal":!0,"aria-labelledby":v?h:void 0,"aria-describedby":x?p:void 0,onClick:Kr(E.onClick,P=>P.stopPropagation())}),[p,x,d,h,v]),_=j.useCallback(E=>{E.stopPropagation(),g.current===E.target&&vI.isTopModal(c.current)&&(i&&(r==null||r()),o==null||o())},[r,i,o]),C=j.useCallback((E={},R=null)=>({...E,ref:na(R,u),onClick:Kr(E.onClick,_),onKeyDown:Kr(E.onKeyDown,y),onMouseDown:Kr(E.onMouseDown,b)}),[y,b,_]);return{isOpen:t,onClose:r,headerId:h,bodyId:p,setBodyMounted:w,setHeaderMounted:S,dialogRef:c,overlayRef:u,getDialogProps:A,getDialogContainerProps:C,index:m}}function qQe(e,t){const r=e.current;j.useEffect(()=>{if(!(!e.current||!t))return BQe(e.current)},[t,e,r])}function zQe(e,...t){const r=j.useId(),n=e||r;return j.useMemo(()=>t.map(i=>`${i}-${n}`),[n,t])}var[WQe,Kh]=jn({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Modal />" `}),[HQe,vd]=jn({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),Pa=e=>{const t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale",lockFocusAcrossFrames:!0,...e},{portalProps:r,children:n,autoFocus:i,trapFocus:a,initialFocusRef:s,finalFocusRef:o,returnFocusOnClose:l,blockScrollOnMount:c,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:p,onCloseComplete:m}=t,g=qs("Modal",t),y={...NQe(t),autoFocus:i,trapFocus:a,initialFocusRef:s,finalFocusRef:o,returnFocusOnClose:l,blockScrollOnMount:c,allowPinchZoom:u,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:p};return f.jsx(HQe,{value:y,children:f.jsx(WQe,{value:g,children:f.jsx(bi,{onExitComplete:m,children:y.isOpen&&f.jsx(cu,{...r,children:n})})})})};Pa.displayName="Modal";var hT="right-scroll-bar-position",fT="width-before-scroll-bar",UQe="with-scroll-bars-hidden",GQe="--removed-body-scroll-bar-size",sfe=Xpe(),J8=function(){},b6=j.forwardRef(function(e,t){var r=j.useRef(null),n=j.useState({onScrollCapture:J8,onWheelCapture:J8,onTouchMoveCapture:J8}),i=n[0],a=n[1],s=e.forwardProps,o=e.children,l=e.className,c=e.removeScrollBar,u=e.enabled,d=e.shards,h=e.sideCar,p=e.noRelative,m=e.noIsolation,g=e.inert,b=e.allowPinchZoom,y=e.as,v=y===void 0?"div":y,S=e.gapMode,x=Vpe(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=h,A=Gpe([r,t]),_=il(il({},x),i);return j.createElement(j.Fragment,null,u&&j.createElement(w,{sideCar:sfe,removeScrollBar:c,shards:d,noRelative:p,noIsolation:m,inert:g,setCallbacks:a,allowPinchZoom:!!b,lockRef:r,gapMode:S}),s?j.cloneElement(j.Children.only(o),il(il({},_),{ref:A})):j.createElement(v,il({},_,{className:l,ref:A}),o))});b6.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};b6.classNames={fullWidth:fT,zeroRight:hT};var VQe=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function YQe(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=VQe();return t&&e.setAttribute("nonce",t),e}function KQe(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function XQe(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var QQe=function(){var e=0,t=null;return{add:function(r){e==0&&(t=YQe())&&(KQe(t,r),XQe(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},JQe=function(){var e=QQe();return function(t,r){j.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},ofe=function(){var e=JQe(),t=function(r){var n=r.styles,i=r.dynamic;return e(n,i),null};return t},ZQe={left:0,top:0,right:0,gap:0},Z8=function(e){return parseInt(e||"",10)||0},eJe=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[Z8(r),Z8(n),Z8(i)]},tJe=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return ZQe;var t=eJe(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},rJe=ofe(),jm="data-scroll-locked",nJe=function(e,t,r,n){var i=e.left,a=e.top,s=e.right,o=e.gap;return r===void 0&&(r="margin"),`
.`.concat(UQe,` {
overflow: hidden `).concat(n,`;
padding-right: `).concat(o,"px ").concat(n,`;
}
body[`).concat(jm,`] {
overflow: hidden `).concat(n,`;
overscroll-behavior: contain;
`).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
padding-left: `.concat(i,`px;
padding-top: `).concat(a,`px;
padding-right: `).concat(s,`px;
margin-left:0;
margin-top:0;
margin-right: `).concat(o,"px ").concat(n,`;
`),r==="padding"&&"padding-right: ".concat(o,"px ").concat(n,";")].filter(Boolean).join(""),`
}
.`).concat(hT,` {
right: `).concat(o,"px ").concat(n,`;
}
.`).concat(fT,` {
margin-right: `).concat(o,"px ").concat(n,`;
}
.`).concat(hT," .").concat(hT,` {
right: 0 `).concat(n,`;
}
.`).concat(fT," .").concat(fT,` {
margin-right: 0 `).concat(n,`;
}
body[`).concat(jm,`] {
`).concat(GQe,": ").concat(o,`px;
}
`)},NQ=function(){var e=parseInt(document.body.getAttribute(jm)||"0",10);return isFinite(e)?e:0},iJe=function(){j.useEffect(function(){return document.body.setAttribute(jm,(NQ()+1).toString()),function(){var e=NQ()-1;e<=0?document.body.removeAttribute(jm):document.body.setAttribute(jm,e.toString())}},[])},aJe=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=n===void 0?"margin":n;iJe();var a=j.useMemo(function(){return tJe(i)},[i]);return j.createElement(rJe,{styles:nJe(a,!t,i,r?"":"!important")})},TI=!1;if(typeof window<"u")try{var V2=Object.defineProperty({},"passive",{get:function(){return TI=!0,!0}});window.addEventListener("test",V2,V2),window.removeEventListener("test",V2,V2)}catch(e){TI=!1}var vf=TI?{passive:!1}:!1,sJe=function(e){return e.tagName==="TEXTAREA"},lfe=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!sJe(e)&&r[t]==="visible")},oJe=function(e){return lfe(e,"overflowY")},lJe=function(e){return lfe(e,"overflowX")},qQ=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=cfe(e,n);if(i){var a=ufe(e,n),s=a[1],o=a[2];if(s>o)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},cJe=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},uJe=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},cfe=function(e,t){return e==="v"?oJe(t):lJe(t)},ufe=function(e,t){return e==="v"?cJe(t):uJe(t)},dJe=function(e,t){return e==="h"&&t==="rtl"?-1:1},pJe=function(e,t,r,n,i){var a=dJe(e,window.getComputedStyle(t).direction),s=a*n,o=r.target,l=t.contains(o),c=!1,u=s>0,d=0,h=0;do{if(!o)break;var p=ufe(e,o),m=p[0],g=p[1],b=p[2],y=g-b-a*m;(m||y)&&cfe(e,o)&&(d+=y,h+=m);var v=o.parentNode;o=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!l&&o!==document.body||l&&(t.contains(o)||t===o));return(u&&Math.abs(d)<1||!u&&Math.abs(h)<1)&&(c=!0),c},Y2=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},zQ=function(e){return[e.deltaX,e.deltaY]},WQ=function(e){return e&&"current"in e?e.current:e},hJe=function(e,t){return e[0]===t[0]&&e[1]===t[1]},fJe=function(e){return`
.block-interactivity-`.concat(e,` {pointer-events: none;}
.allow-interactivity-`).concat(e,` {pointer-events: all;}
`)},mJe=0,Tf=[];function gJe(e){var t=j.useRef([]),r=j.useRef([0,0]),n=j.useRef(),i=j.useState(mJe++)[0],a=j.useState(ofe)[0],s=j.useRef(e);j.useEffect(function(){s.current=e},[e]),j.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var g=XVe([e.lockRef.current],(e.shards||[]).map(WQ),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var o=j.useCallback(function(g,b){if("touches"in g&&g.touches.length===2||g.type==="wheel"&&g.ctrlKey)return!s.current.allowPinchZoom;var y=Y2(g),v=r.current,S="deltaX"in g?g.deltaX:v[0]-y[0],x="deltaY"in g?g.deltaY:v[1]-y[1],w,A=g.target,_=Math.abs(S)>Math.abs(x)?"h":"v";if("touches"in g&&_==="h"&&A.type==="range")return!1;var C=qQ(_,A);if(!C)return!0;if(C?w=_:(w=_==="v"?"h":"v",C=qQ(_,A)),!C)return!1;if(!n.current&&"changedTouches"in g&&(S||x)&&(n.current=w),!w)return!0;var E=n.current||w;return pJe(E,b,g,E==="h"?S:x)},[]),l=j.useCallback(function(g){var b=g;if(!(!Tf.length||Tf[Tf.length-1]!==a)){var y="deltaY"in b?zQ(b):Y2(b),v=t.current.filter(function(w){return w.name===b.type&&(w.target===b.target||b.target===w.shadowParent)&&hJe(w.delta,y)})[0];if(v&&v.should){b.cancelable&&b.preventDefault();return}if(!v){var S=(s.current.shards||[]).map(WQ).filter(Boolean).filter(function(w){return w.contains(b.target)}),x=S.length>0?o(b,S[0]):!s.current.noIsolation;x&&b.cancelable&&b.preventDefault()}}},[]),c=j.useCallback(function(g,b,y,v){var S={name:g,delta:b,target:y,should:v,shadowParent:bJe(y)};t.current.push(S),setTimeout(function(){t.current=t.current.filter(function(x){return x!==S})},1)},[]),u=j.useCallback(function(g){r.current=Y2(g),n.current=void 0},[]),d=j.useCallback(function(g){c(g.type,zQ(g),g.target,o(g,e.lockRef.current))},[]),h=j.useCallback(function(g){c(g.type,Y2(g),g.target,o(g,e.lockRef.current))},[]);j.useEffect(function(){return Tf.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",l,vf),document.addEventListener("touchmove",l,vf),document.addEventListener("touchstart",u,vf),function(){Tf=Tf.filter(function(g){return g!==a}),document.removeEventListener("wheel",l,vf),document.removeEventListener("touchmove",l,vf),document.removeEventListener("touchstart",u,vf)}},[]);var p=e.removeScrollBar,m=e.inert;return j.createElement(j.Fragment,null,m?j.createElement(a,{styles:fJe(i)}):null,p?j.createElement(aJe,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function bJe(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const yJe=QVe(sfe,gJe);var dfe=j.forwardRef(function(e,t){return j.createElement(b6,il({},e,{ref:t,sideCar:yJe}))});dfe.classNames=b6.classNames;function pfe(e){const{autoFocus:t,trapFocus:r,dialogRef:n,initialFocusRef:i,blockScrollOnMount:a,allowPinchZoom:s,finalFocusRef:o,returnFocusOnClose:l,preserveScrollBarGap:c,lockFocusAcrossFrames:u,isOpen:d}=vd(),[h,p]=E$();j.useEffect(()=>{!h&&p&&setTimeout(p)},[h,p]);const m=ife(n,d);return f.jsx(Rhe,{autoFocus:t,isDisabled:!r,initialFocusRef:i,finalFocusRef:o,restoreFocus:l,contentRef:n,lockFocusAcrossFrames:u,children:f.jsx(dfe,{removeScrollBar:!c,allowPinchZoom:s,enabled:m===1&&a,forwardProps:!0,children:e.children})})}var uu=yt((e,t)=>{const{className:r,children:n,containerProps:i,motionProps:a,...s}=e,{getDialogProps:o,getDialogContainerProps:l}=vd(),c=o(s,t),u=l(i),d=Yt("chakra-modal__content",r),h=Kh(),p={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...h.dialog},m={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...h.dialogContainer},{motionPreset:g}=vd();return f.jsx(pfe,{children:f.jsx(et.div,{...u,className:"chakra-modal__content-container",tabIndex:-1,__css:m,children:f.jsx(nfe,{preset:g,motionProps:a,className:d,...c,__css:p,children:n})})})});uu.displayName="ModalContent";function y6(e){const{leastDestructiveRef:t,...r}=e;return f.jsx(Pa,{...r,initialFocusRef:t})}var v6=yt((e,t)=>f.jsx(uu,{ref:t,role:"alertdialog",...e})),[vJe,TJe]=jn(),SJe={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function xJe(e,t){var r,n;if(e)return(n=(r=SJe[e])==null?void 0:r[t])!=null?n:e}function wJe(e){var t;const{isOpen:r,onClose:n,placement:i="right",children:a,...s}=e,o=zw(),l=(t=o.components)==null?void 0:t.Drawer,c=xJe(i,o.direction);return f.jsx(vJe,{value:{placement:c},children:f.jsx(Pa,{isOpen:r,onClose:n,styleConfig:l,...s,children:a})})}var _Je=et($pe),hfe=yt((e,t)=>{const{className:r,children:n,motionProps:i,containerProps:a,...s}=e,{getDialogProps:o,getDialogContainerProps:l,isOpen:c}=vd(),u=o(s,t),d=l(a),h=Yt("chakra-modal__content",r),p=Kh(),m={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...p.dialog},g={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...p.dialogContainer},{placement:b}=TJe();return f.jsx(pfe,{children:f.jsx(et.div,{...d,className:"chakra-modal__content-container",__css:g,children:f.jsx(_Je,{motionProps:i,direction:b,in:c,className:h,...u,__css:m,children:n})})})});hfe.displayName="DrawerContent";var ffe=yt((e,t)=>{const{className:r,...n}=e,i=Yt("chakra-modal__footer",r),s={display:"flex",alignItems:"center",justifyContent:"flex-end",...Kh().footer};return f.jsx(et.footer,{ref:t,...n,__css:s,className:i})});ffe.displayName="ModalFooter";var yv=yt((e,t)=>{const{className:r,...n}=e,{headerId:i,setHeaderMounted:a}=vd();j.useEffect(()=>(a(!0),()=>a(!1)),[a]);const s=Yt("chakra-modal__header",r),l={flex:0,...Kh().header};return f.jsx(et.header,{ref:t,className:s,id:i,...n,__css:l})});yv.displayName="ModalHeader";var AJe=et(Rn.div),vi=yt((e,t)=>{const{className:r,transition:n,motionProps:i,...a}=e,s=Yt("chakra-modal__overlay",r),l={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...Kh().overlay},{motionPreset:c}=vd(),d=i||(c==="none"?{}:Lpe);return f.jsx(AJe,{...d,__css:l,ref:t,className:s,...a})});vi.displayName="ModalOverlay";var vv=yt((e,t)=>{const{className:r,...n}=e,{bodyId:i,setBodyMounted:a}=vd();j.useEffect(()=>(a(!0),()=>a(!1)),[a]);const s=Yt("chakra-modal__body",r),o=Kh();return f.jsx(et.div,{ref:t,className:s,id:i,...n,__css:o.body})});vv.displayName="ModalBody";var T1=yt((e,t)=>{const{onClick:r,className:n,...i}=e,{onClose:a}=vd(),s=Yt("chakra-modal__close-btn",n),o=Kh();return f.jsx(yi,{ref:t,__css:o.closeButton,className:s,onClick:Kr(r,l=>{l.stopPropagation(),a()}),...i})});T1.displayName="ModalCloseButton";var mfe=yt(function(t,r){const{children:n,placeholder:i,className:a,...s}=t;return f.jsxs(et.select,{...s,ref:r,className:Yt("chakra-select",a),children:[i&&f.jsx("option",{value:"",children:i}),n]})});mfe.displayName="SelectField";function CJe(e,t){const r={},n={};for(const[i,a]of Object.entries(e))t.includes(i)?r[i]=a:n[i]=a;return[r,n]}var bS=yt((e,t)=>{var r;const n=qs("Select",e),{rootProps:i,placeholder:a,icon:s,color:o,height:l,h:c,minH:u,minHeight:d,iconColor:h,iconSize:p,...m}=vn(e),[g,b]=CJe(m,lLe),y=G$(b),v={width:"100%",height:"fit-content",position:"relative",color:o},S={paddingEnd:"2rem",...n.field,_focus:{zIndex:"unset",...(r=n.field)==null?void 0:r._focus}};return f.jsxs(et.div,{className:"chakra-select__wrapper",__css:v,...g,...i,children:[f.jsx(mfe,{ref:t,height:c!=null?c:l,minH:u!=null?u:d,placeholder:a,...y,__css:S,children:e.children}),f.jsx(gfe,{"data-disabled":fr(y.disabled),...(h||o)&&{color:h||o},__css:n.icon,...p&&{fontSize:p},children:s})]})});bS.displayName="Select";var EJe=e=>f.jsx("svg",{viewBox:"0 0 24 24",...e,children:f.jsx("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),PJe=et("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),gfe=e=>{const{children:t=f.jsx(EJe,{}),...r}=e,n=j.cloneElement(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return f.jsx(PJe,{...r,className:"chakra-select__icon-wrapper",children:j.isValidElement(t)?n:null})};gfe.displayName="SelectIcon";var SI=yt(function(t,r){const n=qs("Switch",t),{spacing:i="0.5rem",children:a,...s}=vn(t),{getIndicatorProps:o,getInputProps:l,getCheckboxProps:c,getRootProps:u,getLabelProps:d}=Wpe(s),h=j.useMemo(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...n.container}),[n.container]),p=j.useMemo(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...n.track}),[n.track]),m=j.useMemo(()=>({userSelect:"none",marginStart:i,...n.label}),[i,n.label]);return f.jsxs(et.label,{...u(),className:Yt("chakra-switch",t.className),__css:h,children:[f.jsx("input",{className:"chakra-switch__input",...l({},r)}),f.jsx(et.span,{...c(),className:"chakra-switch__track",__css:p,children:f.jsx(et.span,{__css:n.thumb,className:"chakra-switch__thumb",...o()})}),a&&f.jsx(et.span,{className:"chakra-switch__label",...d(),__css:m,children:a})]})});SI.displayName="Switch";var[jJe,RJe,IJe,OJe]=Dpe();function MJe(e){var t;const{defaultIndex:r,onChange:n,index:i,isManual:a,isLazy:s,lazyBehavior:o="unmount",orientation:l="horizontal",direction:c="ltr",...u}=e,[d,h]=j.useState(r!=null?r:0),[p,m]=ZGe({defaultValue:r!=null?r:0,value:i,onChange:n});j.useEffect(()=>{i!=null&&h(i)},[i]);const g=IJe(),b=j.useId();return{id:`tabs-${(t=e.id)!=null?t:b}`,selectedIndex:p,focusedIndex:d,setSelectedIndex:m,setFocusedIndex:h,isManual:a,isLazy:s,lazyBehavior:o,orientation:l,descendants:g,direction:c,htmlProps:u}}var[kJe,T6]=jn({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />"});function DJe(e){const{focusedIndex:t,orientation:r,direction:n}=T6(),i=RJe(),a=j.useCallback(s=>{const o=()=>{var v;const S=i.nextEnabled(t);S&&((v=S.node)==null||v.focus())},l=()=>{var v;const S=i.prevEnabled(t);S&&((v=S.node)==null||v.focus())},c=()=>{var v;const S=i.firstEnabled();S&&((v=S.node)==null||v.focus())},u=()=>{var v;const S=i.lastEnabled();S&&((v=S.node)==null||v.focus())},d=r==="horizontal",h=r==="vertical",p=s.key,m=n==="ltr"?"ArrowLeft":"ArrowRight",g=n==="ltr"?"ArrowRight":"ArrowLeft",y={[m]:()=>d&&l(),[g]:()=>d&&o(),ArrowDown:()=>h&&o(),ArrowUp:()=>h&&l(),Home:c,End:u}[p];y&&(s.preventDefault(),y(s))},[i,t,r,n]);return{...e,role:"tablist","aria-orientation":r,onKeyDown:Kr(e.onKeyDown,a)}}function LJe(e){const{isDisabled:t=!1,isFocusable:r=!1,...n}=e,{setSelectedIndex:i,isManual:a,id:s,setFocusedIndex:o,selectedIndex:l}=T6(),{index:c,register:u}=OJe({disabled:t&&!r}),d=c===l,h=()=>{i(c)},p=()=>{o(c),!a&&!(t&&r)&&i(c)};return{...NKe({...n,ref:na(u,e.ref),isDisabled:t,isFocusable:r,onClick:Kr(e.onClick,h)}),id:bfe(s,c),role:"tab",tabIndex:d?0:-1,type:"button","aria-selected":d,"aria-controls":yfe(s,c),onFocus:t?void 0:Kr(e.onFocus,p)}}var[FJe,$Je]=jn({});function BJe(e){const t=T6(),{id:r,selectedIndex:n}=t,a=d6(e.children).map((s,o)=>j.createElement(FJe,{key:o,value:{isSelected:o===n,id:yfe(r,o),tabId:bfe(r,o),selectedIndex:n}},s));return{...e,children:a}}function NJe(e){const{children:t,...r}=e,{isLazy:n,lazyBehavior:i}=T6(),{isSelected:a,id:s,tabId:o}=$Je(),l=j.useRef(!1);a&&(l.current=!0);const c=Jhe({wasSelected:l.current,isSelected:a,enabled:n,mode:i});return{tabIndex:0,...r,children:c?t:null,role:"tabpanel","aria-labelledby":o,hidden:!a,id:s}}function bfe(e,t){return`${e}--tab-${t}`}function yfe(e,t){return`${e}--tabpanel-${t}`}var[qJe,S6]=jn({name:"TabsStylesContext",errorMessage:`useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Tabs />" `}),vB=yt(function(t,r){const n=qs("Tabs",t),{children:i,className:a,...s}=vn(t),{htmlProps:o,descendants:l,...c}=MJe(s),u=j.useMemo(()=>c,[c]),{isFitted:d,...h}=o,p={position:"relative",...n.root};return f.jsx(jJe,{value:l,children:f.jsx(kJe,{value:u,children:f.jsx(qJe,{value:n,children:f.jsx(et.div,{className:Yt("chakra-tabs",a),ref:r,...h,__css:p,children:i})})})})});vB.displayName="Tabs";var TB=yt(function(t,r){const n=DJe({...t,ref:r}),a={display:"flex",...S6().tablist};return f.jsx(et.div,{...n,className:Yt("chakra-tabs__tablist",t.className),__css:a})});TB.displayName="TabList";var Rp=yt(function(t,r){const n=NJe({...t,ref:r}),i=S6();return f.jsx(et.div,{outline:"0",...n,className:Yt("chakra-tabs__tab-panel",t.className),__css:i.tabpanel})});Rp.displayName="TabPanel";var SB=yt(function(t,r){const n=BJe(t),i=S6();return f.jsx(et.div,{...n,width:"100%",ref:r,className:Yt("chakra-tabs__tab-panels",t.className),__css:i.tabpanels})});SB.displayName="TabPanels";var Ip=yt(function(t,r){const n=S6(),i=LJe({...t,ref:r}),a={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...n.tab};return f.jsx(et.button,{...i,className:Yt("chakra-tabs__tab",t.className),__css:a})});Ip.displayName="Tab";function zJe(e,t=[]){const r=Object.assign({},e);for(const n of t)n in r&&delete r[n];return r}var WJe=["h","minH","height","minHeight"],xB=yt((e,t)=>{const r=Oo("Textarea",e),{className:n,rows:i,...a}=vn(e),s=G$(a),o=i?zJe(r,WJe):r;return f.jsx(et.textarea,{ref:t,rows:i,...s,className:Yt("chakra-textarea",n),__css:o})});xB.displayName="Textarea";var HJe={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},xI=e=>{var t;return((t=e.current)==null?void 0:t.ownerDocument)||document},mT=e=>{var t,r;return((r=(t=e.current)==null?void 0:t.ownerDocument)==null?void 0:r.defaultView)||window};function UJe(e={}){const{openDelay:t=0,closeDelay:r=0,closeOnClick:n=!0,closeOnMouseDown:i,closeOnScroll:a,closeOnPointerDown:s=i,closeOnEsc:o=!0,onOpen:l,onClose:c,placement:u,id:d,isOpen:h,defaultIsOpen:p,arrowSize:m=10,arrowShadowColor:g,arrowPadding:b,modifiers:y,isDisabled:v,gutter:S,offset:x,direction:w,...A}=e,{isOpen:_,onOpen:C,onClose:E}=Xhe({isOpen:h,defaultIsOpen:p,onOpen:l,onClose:c}),{referenceRef:R,getPopperProps:P,getArrowInnerProps:O,getArrowProps:k}=Khe({enabled:_,placement:u,arrowPadding:b,modifiers:y,gutter:S,offset:x,direction:w}),I=j.useId(),D=`tooltip-${d!=null?d:I}`,F=j.useRef(null),$=j.useRef(),Y=j.useCallback(()=>{$.current&&(clearTimeout($.current),$.current=void 0)},[]),he=j.useRef(),fe=j.useCallback(()=>{he.current&&(clearTimeout(he.current),he.current=void 0)},[]),U=j.useCallback(()=>{fe(),E()},[E,fe]),W=GJe(F,U),H=j.useCallback(()=>{if(!v&&!$.current){_&&W();const se=mT(F);$.current=se.setTimeout(C,t)}},[W,v,_,C,t]),ie=j.useCallback(()=>{Y();const se=mT(F);he.current=se.setTimeout(U,r)},[r,U,Y]),J=j.useCallback(()=>{_&&n&&ie()},[n,ie,_]),we=j.useCallback(()=>{_&&s&&ie()},[s,ie,_]),Le=j.useCallback(se=>{_&&se.key==="Escape"&&ie()},[_,ie]);Oy(()=>xI(F),"keydown",o?Le:void 0),Oy(()=>{if(!a)return null;const se=F.current;if(!se)return null;const Ce=Ahe(se);return Ce.localName==="body"?mT(F):Ce},"scroll",()=>{_&&a&&U()},{passive:!0,capture:!0}),j.useEffect(()=>{v&&(Y(),_&&E())},[v,_,E,Y]),j.useEffect(()=>()=>{Y(),fe()},[Y,fe]),Oy(()=>F.current,"pointerleave",ie);const Ye=j.useCallback((se={},Ce=null)=>({...se,ref:na(F,Ce,R),onPointerEnter:Kr(se.onPointerEnter,le=>{le.pointerType!=="touch"&&H()}),onClick:Kr(se.onClick,J),onPointerDown:Kr(se.onPointerDown,we),onFocus:Kr(se.onFocus,H),onBlur:Kr(se.onBlur,ie),"aria-describedby":_?D:void 0}),[H,ie,we,_,D,J,R]),oe=j.useCallback((se={},Ce=null)=>P({...se,style:{...se.style,[si.arrowSize.var]:m?`${m}px`:void 0,[si.arrowShadowColor.var]:g}},Ce),[P,m,g]),X=j.useCallback((se={},Ce=null)=>{const ce={...se.style,position:"relative",transformOrigin:si.transformOrigin.varRef};return{ref:Ce,...A,...se,id:D,role:"tooltip",style:ce}},[A,D]);return{isOpen:_,show:H,hide:ie,getTriggerProps:Ye,getTooltipProps:X,getTooltipPositionerProps:oe,getArrowProps:k,getArrowInnerProps:O}}var eC="chakra-ui:close-tooltip";function GJe(e,t){return j.useEffect(()=>{const r=xI(e);return r.addEventListener(eC,t),()=>r.removeEventListener(eC,t)},[t,e]),()=>{const r=xI(e),n=mT(e);r.dispatchEvent(new n.CustomEvent(eC))}}function VJe(e,t=[]){const r=Object.assign({},e);for(const n of t)n in r&&delete r[n];return r}function YJe(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}var KJe=et(Rn.div),vfe=yt((e,t)=>{var r,n;const i=Oo("Tooltip",e),a=vn(e),s=zw(),{children:o,label:l,shouldWrapChildren:c,"aria-label":u,hasArrow:d,bg:h,portalProps:p,background:m,backgroundColor:g,bgColor:b,motionProps:y,...v}=a,S=(n=(r=m!=null?m:g)!=null?r:h)!=null?n:b;if(S){i.bg=S;const P=cLe(s,"colors",S);i[si.arrowBg.var]=P}const x=UJe({...v,direction:s.direction}),w=typeof o=="string"||c;let A;if(w)A=f.jsx(et.span,{display:"inline-block",tabIndex:0,...x.getTriggerProps(),children:o});else{const P=j.Children.only(o);A=j.cloneElement(P,x.getTriggerProps(P.props,P.ref))}const _=!!u,C=x.getTooltipProps({},t),E=_?VJe(C,["role","id"]):C,R=YJe(C,["role","id"]);return l?f.jsxs(f.Fragment,{children:[A,f.jsx(bi,{children:x.isOpen&&f.jsx(cu,{...p,children:f.jsx(et.div,{...x.getTooltipPositionerProps(),__css:{zIndex:i.zIndex,pointerEvents:"none"},children:f.jsxs(KJe,{variants:HJe,initial:"exit",animate:"enter",exit:"exit",...y,...E,__css:i,children:[l,_&&f.jsx(et.span,{srOnly:!0,...R,children:u}),d&&f.jsx(et.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:f.jsx(et.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:i.bg}})})]})})})})]}):f.jsx(f.Fragment,{children:o})});vfe.displayName="Tooltip";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function XJe(e){return MF.includes(e)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Tfe(e){const t=e.avatar,[r,n,i,a]=t;if(!r||!n||!i||!a)throw new Error(`Invalid avatar: ${JSON.stringify(t)}`);return{color:e.color,avatarBottom:r,avatarMid:n,avatarTop:i,avatarExpression:a}}function QJe(e){return{color:XJe(e.color)?e.color:"Purple",avatar:[e.avatarBottom,e.avatarMid,e.avatarTop,e.avatarExpression]}}const Ju=e=>typeof e=="string",JJe=e=>typeof e=="function",HQ=new Map,Sfe="en";function wB(e){return[...Array.isArray(e)?e:[e],Sfe]}function _B(e,t,r){const n=wB(e);r||(r="default");let i;if(typeof r=="string")switch(i={day:"numeric",month:"short",year:"numeric"},r){case"full":i.weekday="long";case"long":i.month="long";break;case"short":i.month="numeric";break}else i=r;return yS(()=>vS("date",n,r),()=>new Intl.DateTimeFormat(n,i)).format(Ju(t)?new Date(t):t)}function ZJe(e,t,r){let n;if(r||(r="default"),typeof r=="string")switch(n={second:"numeric",minute:"numeric",hour:"numeric"},r){case"full":case"long":n.timeZoneName="short";break;case"short":delete n.second}else n=r;return _B(e,t,n)}function wI(e,t,r){const n=wB(e);return yS(()=>vS("number",n,r),()=>new Intl.NumberFormat(n,r)).format(t)}function UQ(e,t,r,{offset:n=0,...i}){var o,l;const a=wB(e),s=t?yS(()=>vS("plural-ordinal",a),()=>new Intl.PluralRules(a,{type:"ordinal"})):yS(()=>vS("plural-cardinal",a),()=>new Intl.PluralRules(a,{type:"cardinal"}));return(l=(o=i[r])!=null?o:i[s.select(r-n)])!=null?l:i.other}function yS(e,t){const r=e();let n=HQ.get(r);return n||(n=t(),HQ.set(r,n)),n}function vS(e,t,r){const n=t.join("-");return`${e}-${n}-${JSON.stringify(r)}`}const xfe=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,wfe=e=>e.replace(/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g,(t,r,n)=>{if(r){const i=parseInt(r,16);return String.fromCharCode(i)}else{const i=parseInt(n,16);return String.fromCharCode(i)}}),_fe="%__lingui_octothorpe__%",eZe=(e,t,r={})=>{const n=t||e,i=s=>typeof s=="object"?s:r[s],a=(s,o)=>{const l=Object.keys(r).length?i("number"):void 0,c=wI(n,s,l);return o.replace(new RegExp(_fe,"g"),c)};return{plural:(s,o)=>{const{offset:l=0}=o,c=UQ(n,!1,s,o);return a(s-l,c)},selectordinal:(s,o)=>{const{offset:l=0}=o,c=UQ(n,!0,s,o);return a(s-l,c)},select:tZe,number:(s,o)=>wI(n,s,i(o)||{style:o}),date:(s,o)=>_B(n,s,i(o)||o),time:(s,o)=>ZJe(n,s,i(o)||o)}},tZe=(e,t)=>{var r;return(r=t[e])!=null?r:t.other};function rZe(e,t,r){return(n={},i)=>{const a=eZe(t,r,i),s=(l,c=!1)=>Array.isArray(l)?l.reduce((u,d)=>{if(d==="#"&&c)return u+_fe;if(Ju(d))return u+d;const[h,p,m]=d;let g={};p==="plural"||p==="selectordinal"||p==="select"?Object.entries(m).forEach(([y,v])=>{g[y]=s(v,p==="plural"||p==="selectordinal")}):g=m;let b;if(p){const y=a[p];b=y(n[h],g)}else b=n[h];return b==null?u:u+b},""):l,o=s(e);return Ju(o)&&xfe.test(o)?wfe(o):Ju(o)?o:o?String(o):""}}var nZe=Object.defineProperty,iZe=(e,t,r)=>t in e?nZe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,aZe=(e,t,r)=>(iZe(e,t+"",r),r);let sZe=class{constructor(){aZe(this,"_events",{})}on(t,r){var i;var n;return(i=(n=this._events)[t])!=null||(n[t]=[]),this._events[t].push(r),()=>this.removeListener(t,r)}removeListener(t,r){const n=this._getListeners(t);if(!n)return;const i=n.indexOf(r);~i&&n.splice(i,1)}emit(t,...r){const n=this._getListeners(t);n&&n.map(i=>i.apply(this,r))}_getListeners(t){const r=this._events[t];return Array.isArray(r)?r:!1}};var oZe=Object.defineProperty,lZe=(e,t,r)=>t in e?oZe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,op=(e,t,r)=>(lZe(e,typeof t!="symbol"?t+"":t,r),r);class cZe extends sZe{constructor(t){var r;super(),op(this,"_locale",""),op(this,"_locales"),op(this,"_localeData",{}),op(this,"_messages",{}),op(this,"_missing"),op(this,"_messageCompiler"),op(this,"t",this._.bind(this)),t.missing!=null&&(this._missing=t.missing),t.messages!=null&&this.load(t.messages),t.localeData!=null&&this.loadLocaleData(t.localeData),(typeof t.locale=="string"||t.locales)&&this.activate((r=t.locale)!=null?r:Sfe,t.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){var t;return(t=this._messages[this._locale])!=null?t:{}}get localeData(){var t;return(t=this._localeData[this._locale])!=null?t:{}}_loadLocaleData(t,r){const n=this._localeData[t];n?Object.assign(n,r):this._localeData[t]=r}setMessagesCompiler(t){return this._messageCompiler=t,this}loadLocaleData(t,r){typeof t=="string"?this._loadLocaleData(t,r):Object.keys(t).forEach(n=>this._loadLocaleData(n,t[n])),this.emit("change")}_load(t,r){const n=this._messages[t];n?Object.assign(n,r):this._messages[t]=r}load(t,r){typeof t=="string"&&typeof r=="object"?this._load(t,r):Object.entries(t).forEach(([n,i])=>this._load(n,i)),this.emit("change")}loadAndActivate({locale:t,locales:r,messages:n}){this._locale=t,this._locales=r||void 0,this._messages[this._locale]=n,this.emit("change")}activate(t,r){this._locale=t,this._locales=r,this.emit("change")}_(t,r,n){if(!this.locale)throw new Error("Lingui: Attempted to call a translation function without setting a locale.\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\nThis issue may also occur due to a race condition in your initialization logic.");let i=n==null?void 0:n.message;t||(t=""),Ju(t)||(r=t.values||r,i=t.message,t=t.id);const a=this.messages[t],s=a===void 0,o=this._missing;if(o&&s)return JJe(o)?o(this._locale,t):o;s&&this.emit("missing",{id:t,locale:this._locale});let l=a||i||t;return Ju(l)&&(this._messageCompiler?l=this._messageCompiler(l):console.warn(`Uncompiled message detected! Message:
> ${l}
That means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used.
ICU features such as interpolation and plurals will not work properly for that message.
Please compile your catalog first.
`)),Ju(l)&&xfe.test(l)?wfe(l):Ju(l)?l:rZe(l,this._locale,this._locales)(r,n==null?void 0:n.formats)}date(t,r){return _B(this._locales||this._locale,t,r)}number(t,r){return wI(this._locales||this._locale,t,r)}}function uZe(e={}){return new cZe(e)}const Ee=uZe(),dZe=/<([a-zA-Z0-9]+)>([\s\S]*?)<\/\1>|<([a-zA-Z0-9]+)\/>/,pZe={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,menuitem:!0};function Afe(e,t={}){const r=hZe(0,"$lingui$"),n=e.split(dZe);if(n.length===1)return e;const i=[],a=n.shift();a&&i.push(a);for(const[s,o,l]of Cfe(n)){let c=typeof s<"u"?t[s]:void 0;(!c||pZe[c.type]&&o)&&(console.error(c?`${c.type} is a void element tag therefore it must have no children`:`Can't use element at index '${s}' as it is not declared in the original translation`),c=Se.createElement(Se.Fragment)),Array.isArray(c)&&(c=Se.createElement(Se.Fragment,{},c)),i.push(Se.cloneElement(c,{key:r()},o?Afe(o,t):c.props.children)),l&&i.push(l)}return i.length===1?i[0]:i}function Cfe(e){if(!e.length)return[];const[t,r,n,i]=e.slice(0,4);return[[t||n,r||"",i]].concat(Cfe(e.slice(4,e.length)))}const hZe=(e=0,t="")=>()=>`${t}_${e++}`;function fZe(e){const{render:t,component:r,id:n,message:i,formats:a,lingui:{i18n:s,defaultComponent:o}}=e,l={...e.values},c={...e.components};l&&Object.keys(l).forEach(g=>{const b=Object.keys(c).length;typeof l[g]=="string"||typeof l[g]=="number"||(c[b]=Se.createElement(Se.Fragment,null,l[g]),l[g]=`<${b}/>`)});const u=s&&typeof s._=="function"?s._(n,l,{message:i,formats:a}):n,d=u?Afe(u,c):null;if(t===null||r===null)return d;const h=o||mZe,p={id:n,message:i,translation:d,children:d};if(t&&r)console.error("You can't use both `component` and `render` prop at the same time. `component` is ignored.");else if(t&&typeof t!="function")console.error(`Invalid value supplied to prop \`render\`. It must be a function, provided ${t}`);else if(r&&typeof r!="function")return console.error(`Invalid value supplied to prop \`component\`. It must be a React component, provided ${r}`),Se.createElement(h,p,d);if(typeof t=="function")return t(p);const m=r||h;return Se.createElement(m,p,d)}const mZe=({children:e})=>Se.createElement(Se.Fragment,null,e),Efe=Se.createContext(null),Pfe=e=>Se.useContext(Efe);function Pt(){return Pfe()}function gZe({i18n:e,defaultComponent:t,children:r}){const n=Se.useRef(e.locale),i=Se.useCallback(()=>({i18n:e,defaultComponent:t,_:e.t.bind(e)}),[e,t]),[a,s]=Se.useState(i());return Se.useEffect(()=>{const o=()=>{n.current=e.locale,s(i())},l=e.on("change",o);return n.current!==e.locale&&o(),l},[e,i]),n.current?Se.createElement(Efe.Provider,{value:a},r):null}function L(e){const t=Pfe();return Se.createElement(fZe,{...e,lingui:t})}/*!
*
* detectIncognito v1.6.1
*
* https://github.com/Joe12387/detectIncognito
*
* MIT License
*
* Copyright (c) 2021 - 2025 Joe Rutkowski <Joe@dreggle.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
* Please keep this comment intact in order to properly abide by the MIT License.
*
**/var _I={d:(e,t)=>{for(var r in t)_I.o(t,r)&&!_I.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},AB={};_I.d(AB,{A:()=>bZe,k:()=>CB});var sb=function(e,t,r,n){return new(r||(r=Promise))(function(i,a){function s(c){try{l(n.next(c))}catch(u){a(u)}}function o(c){try{l(n.throw(c))}catch(u){a(u)}}function l(c){var u;c.done?i(c.value):(u=c.value,u instanceof r?u:new r(function(d){d(u)})).then(s,o)}l((n=n.apply(e,[])).next())})},ob=function(e,t){var r,n,i,a,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(l){return function(c){return(function(u){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(s=0)),s;)try{if(r=1,n&&(i=2&u[0]?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return s.label++,{value:u[1],done:!1};case 5:s.label++,n=u[1],u=[0];continue;case 7:u=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||u[0]!==6&&u[0]!==2)){s=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){s.label=u[1];break}if(u[0]===6&&s.label<i[1]){s.label=i[1],i=u;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(u);break}i[2]&&s.ops.pop(),s.trys.pop();continue}u=t.call(e,s)}catch(d){u=[6,d],n=0}finally{r=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}})([l,c])}}};function CB(){return sb(this,void 0,Promise,function(){return ob(this,function(e){switch(e.label){case 0:return[4,new Promise(function(t,r){var n="Unknown",i=!1;function a(h){i||(i=!0,t({isPrivate:h,browserName:n}))}function s(){var h=0,p=parseInt("-1");try{p.toFixed(p)}catch(m){h=m.message.length}return h}function o(){return sb(this,void 0,void 0,function(){var h,p;return ob(this,function(m){switch(m.label){case 0:return m.trys.push([0,2,,3]),[4,navigator.storage.getDirectory()];case 1:return m.sent(),a(!1),[3,3];case 2:return h=m.sent(),p=h instanceof Error&&typeof h.message=="string"?h.message:String(h),a(p.includes("unknown transient reason")),[3,3];case 3:return[2]}})})}function l(){var h;return sb(this,void 0,Promise,function(){return ob(this,function(p){switch(p.label){case 0:return typeof((h=navigator.storage)===null||h===void 0?void 0:h.getDirectory)!="function"?[3,2]:[4,o()];case 1:return p.sent(),[3,3];case 2:navigator.maxTouchPoints!==void 0?(function(){var m=String(Math.random());try{var g=indexedDB.open(m,1);g.onupgradeneeded=function(b){var y=b.target.result,v=function(S){a(S)};try{y.createObjectStore("t",{autoIncrement:!0}).put(new Blob),v(!1)}catch(S){(S instanceof Error&&typeof S.message=="string"?S.message:String(S)).includes("are not yet supported")?v(!0):v(!1)}finally{y.close(),indexedDB.deleteDatabase(m)}},g.onerror=function(){return a(!1)}}catch(b){a(!1)}})():(function(){var m=window.openDatabase,g=window.localStorage;try{m(null,null,null,null)}catch(b){return void a(!0)}try{g.setItem("test","1"),g.removeItem("test")}catch(b){return void a(!0)}a(!1)})(),p.label=3;case 3:return[2]}})})}function c(){navigator.webkitTemporaryStorage.queryUsageAndQuota(function(h,p){var m=Math.round(p/1048576),g=2*Math.round((function(){var b,y,v,S=window;return(v=(y=(b=S==null?void 0:S.performance)===null||b===void 0?void 0:b.memory)===null||y===void 0?void 0:y.jsHeapSizeLimit)!==null&&v!==void 0?v:1073741824})()/1048576);a(m<g)},function(h){r(new Error("detectIncognito somehow failed to query storage quota: "+h.message))})}function u(){self.Promise!==void 0&&self.Promise.allSettled!==void 0?c():(0,window.webkitRequestFileSystem)(0,1,function(){a(!1)},function(){a(!0)})}function d(){var h;return sb(this,void 0,Promise,function(){var p,m;return ob(this,function(g){switch(g.label){case 0:if(typeof((h=navigator.storage)===null||h===void 0?void 0:h.getDirectory)!="function")return[3,4];g.label=1;case 1:return g.trys.push([1,3,,4]),[4,navigator.storage.getDirectory()];case 2:return g.sent(),a(!1),[3,4];case 3:return p=g.sent(),m=p instanceof Error&&typeof p.message=="string"?p.message:String(p),a(m.includes("Security error")),[2];case 4:return a(navigator.serviceWorker===void 0),[2]}})})}(function(){return sb(this,void 0,Promise,function(){return ob(this,function(h){switch(h.label){case 0:return s()!==44&&s()!==43?[3,2]:(n="Safari",[4,l()]);case 1:return h.sent(),[3,6];case 2:return s()!==51?[3,3]:(p=navigator.userAgent,n=p.match(/Chrome/)?navigator.brave!==void 0?"Brave":p.match(/Edg/)?"Edge":p.match(/OPR/)?"Opera":"Chrome":"Chromium",u(),[3,6]);case 3:return s()!==25?[3,5]:(n="Firefox",[4,d()]);case 4:return h.sent(),[3,6];case 5:navigator.msSaveBlob!==void 0?(n="Internet Explorer",a(window.indexedDB===void 0)):r(new Error("detectIncognito cannot determine the browser")),h.label=6;case 6:return[2]}var p})})})().catch(r)})];case 1:return[2,e.sent()]}})})}typeof window<"u"&&(window.detectIncognito=CB);const bZe=CB;AB.A;const yZe=AB.k;var vZe=" daum[ /]| deusu/|(?:^|[^g])news(?!sapphire)|(?<! (?:channel/|google/))google(?!(app|/google| pixel))|(?<! cu)bots?(?:\\b|_)|(?<!(?:lib))http|(?<![hg]m)score|(?<!cam)scan|@[a-z][\\w-]+\\.|\\(\\)|\\.com\\b|\\btime/|\\||^<|^[\\w \\.\\-\\(?:\\):%]+(?:/v?\\d+(?:\\.\\d+)?(?:\\.\\d{1,10})*?)?(?:,|$)|^[^ ]{50,}$|^\\d+\\b|^\\w*search\\b|^\\w+/[\\w\\(\\)]*$|^active|^ad muncher|^amaya|^avsdevicesdk/|^azure|^biglotron|^bot|^bw/|^clamav[ /]|^client/|^cobweb/|^custom|^ddg[_-]android|^discourse|^dispatch/\\d|^downcast/|^duckduckgo|^email|^facebook|^getright/|^gozilla/|^hobbit|^hotzonu|^hwcdn/|^igetter/|^jeode/|^jetty/|^jigsaw|^microsoft bits|^movabletype|^mozilla/\\d\\.\\d\\s[\\w\\.-]+$|^mozilla/\\d\\.\\d\\s\\(compatible;?(?:\\s\\w+\\/\\d+\\.\\d+)?\\)$|^navermailapp|^netsurf|^offline|^openai/|^owler|^php|^postman|^python|^rank|^read|^reed|^rest|^rss|^snapchat|^space bison|^svn|^swcd |^taringa|^thumbor/|^track|^w3c|^webbandit/|^webcopier|^wget|^whatsapp|^wordpress|^xenu link sleuth|^yahoo|^yandex|^zdm/\\d|^zoom marketplace/|agent|analyzer|archive|ask jeeves/teoma|audit|bit\\.ly/|bluecoat drtr|browsex|burpcollaborator|capture|catch|check\\b|checker|chrome-lighthouse|chromeframe|classifier|cloudflare|convertify|crawl|cypress/|dareboost|datanyze|dejaclick|detect|dmbrowser|download|evc-batch/|exaleadcloudview|feed|fetcher|firephp|functionize|grab|headless|httrack|hubspot marketing grader|hydra|ibisbrowser|infrawatch|insight|inspect|iplabel|java(?!;)|library|linkcheck|mail\\.ru/|manager|measure|neustar wpm|node|nutch|offbyone|onetrust|optimize|pageburst|pagespeed|parser|perl|phantomjs|pingdom|powermarks|preview|proxy|ptst[ /]\\d|retriever|rexx;|rigor|rss\\b|scrape|server|sogou|sparkler/|speedcurve|spider|splash|statuscake|supercleaner|synapse|synthetic|tools|torrent|transcoder|url|validator|virtuoso|wappalyzer|webglance|webkit2png|whatcms/|xtate/",TZe=/bot|crawl|http|lighthouse|scan|search|spider/i,lb;function SZe(){if(lb instanceof RegExp)return lb;try{lb=new RegExp(vZe,"i")}catch(e){lb=TZe}return lb}function xZe(e){return!!e&&SZe().test(e)}var De=typeof window<"u"?window:void 0,ya=typeof globalThis<"u"?globalThis:De,jfe=Array.prototype,GQ=jfe.forEach,VQ=jfe.indexOf,Va=ya==null?void 0:ya.navigator,ct=ya==null?void 0:ya.document,fa=ya==null?void 0:ya.location,AI=ya==null?void 0:ya.fetch,CI=ya!=null&&ya.XMLHttpRequest&&"withCredentials"in new ya.XMLHttpRequest?ya.XMLHttpRequest:void 0,YQ=ya==null?void 0:ya.AbortController,ha=Va==null?void 0:Va.userAgent,Ot=De!=null?De:{},_c={DEBUG:!1,LIB_VERSION:"1.266.0"};function st(){return st=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},st.apply(null,arguments)}function Rfe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var wZe=["$snapshot","$pageview","$pageleave","$set","survey dismissed","survey sent","survey shown","$identify","$groupidentify","$create_alias","$$client_ingestion_warning","$web_experiment_applied","$feature_enrollment_update","$feature_flag_called"];function dr(e,t){return e.indexOf(t)!==-1}var x6=function(e){return e.trim()},EI=function(e){return e.replace(/^\$/,"")},_Ze=Array.isArray,Ife=Object.prototype,Ofe=Ife.hasOwnProperty,w6=Ife.toString,w0=_Ze||function(e){return w6.call(e)==="[object Array]"},ws=e=>typeof e=="function",sn=e=>e===Object(e)&&!w0(e),Jf=e=>{if(sn(e)){for(var t in e)if(Ofe.call(e,t))return!1;return!0}return!1},rt=e=>e===void 0,on=e=>w6.call(e)=="[object String]",PI=e=>on(e)&&e.trim().length===0,zd=e=>e===null,Dr=e=>rt(e)||zd(e),ji=e=>w6.call(e)=="[object Number]",sl=e=>w6.call(e)==="[object Boolean]",AZe=e=>e instanceof FormData,CZe=e=>dr(wZe,e),EZe=[!0,"true",1,"1","yes"],tC=e=>dr(EZe,e),PZe=[!1,"false",0,"0","no"];function Ya(e,t,r,n,i){return t>r&&(n.warn("min cannot be greater than max."),t=r),ji(e)?e>r?(n.warn(" cannot be greater than max: "+r+". Using max value instead."),r):e<t?(n.warn(" cannot be less than min: "+t+". Using min value instead."),t):e:(n.warn(" must be a number. using max or fallback. max: "+r+", fallback: "+i),Ya(i||r,t,r,n))}let Mfe=class{stop(){this.t&&(clearInterval(this.t),this.t=void 0)}constructor(t){this.i=t,this.o={},this.h=()=>{Object.keys(this.o).forEach((r=>{var n=this.m(r)+this.S;n>=this.$?delete this.o[r]:this.k(r,n)}))},this.m=r=>this.o[String(r)],this.k=(r,n)=>{this.o[String(r)]=n},this.consumeRateLimit=r=>{var n,i=(n=this.m(r))!=null?n:this.$;if((i=Math.max(i-1,0))===0)return!0;this.k(r,i);var a,s=i===0;return s&&((a=this.I)==null||a.call(this,r)),s},this.I=this.i.I,this.$=Ya(this.i.bucketSize,0,100,this.i.P),this.S=Ya(this.i.refillRate,0,this.$,this.i.P),this.R=Ya(this.i.refillInterval,0,864e5,this.i.P),this.t=setInterval((()=>{this.h()}),this.R)}};var kfe=e=>{var t={T:function(r){if(De&&(_c.DEBUG||Ot.POSTHOG_DEBUG)&&!rt(De.console)&&De.console){for(var n=("__rrweb_original__"in De.console[r])?De.console[r].__rrweb_original__:De.console[r],i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];n(e,...a)}},info:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.T("log",...n)},warn:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.T("warn",...n)},error:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t.T("error",...n)},critical:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];console.error(e,...n)},uninitializedWarning:r=>{t.error("You must initialize PostHog before calling "+r)},createLogger:r=>kfe(e+" "+r)};return t},ot=kfe("[PostHog.js]"),qn=ot.createLogger,jZe=qn("[ExternalScriptsLoader]"),KQ=(e,t,r)=>{if(e.config.disable_external_dependency_loading)return jZe.warn(t+" was requested but loading of external scripts is disabled."),r("Loading of external scripts is disabled");var n=ct==null?void 0:ct.querySelectorAll("script");if(n){for(var i,a=function(){if(n[s].src===t){var l=n[s];return l.__posthog_loading_callback_fired?{v:r()}:(l.addEventListener("load",(c=>{l.__posthog_loading_callback_fired=!0,r(void 0,c)})),l.onerror=c=>r(c),{v:void 0})}},s=0;s<n.length;s++)if(i=a())return i.v}var o=()=>{if(!ct)return r("document not found");var l=ct.createElement("script");if(l.type="text/javascript",l.crossOrigin="anonymous",l.src=t,l.onload=d=>{l.__posthog_loading_callback_fired=!0,r(void 0,d)},l.onerror=d=>r(d),e.config.prepare_external_dependency_script&&(l=e.config.prepare_external_dependency_script(l)),!l)return r("prepare_external_dependency_script returned null");var c,u=ct.querySelectorAll("body > script");u.length>0?(c=u[0].parentNode)==null||c.insertBefore(l,u[0]):ct.body.appendChild(l)};ct!=null&&ct.body?o():ct==null||ct.addEventListener("DOMContentLoaded",o)};Ot.__PosthogExtensions__=Ot.__PosthogExtensions__||{},Ot.__PosthogExtensions__.loadExternalDependency=(e,t,r)=>{var n="/static/"+t+".js?v="+e.version;if(t==="remote-config"&&(n="/array/"+e.config.token+"/config.js"),t==="toolbar"){var i=3e5;n=n+"&t="+Math.floor(Date.now()/i)*i}var a=e.requestRouter.endpointFor("assets",n);KQ(e,a,r)},Ot.__PosthogExtensions__.loadSiteApp=(e,t,r)=>{var n=e.requestRouter.endpointFor("api",t);KQ(e,n,r)};var TS={};function sd(e,t,r){if(w0(e)){if(GQ&&e.forEach===GQ)e.forEach(t,r);else if("length"in e&&e.length===+e.length){for(var n=0,i=e.length;n<i;n++)if(n in e&&t.call(r,e[n],n)===TS)return}}}function n0(e,t,r){if(!Dr(e)){if(w0(e))return sd(e,t,r);if(AZe(e)){for(var n of e.entries())if(t.call(r,n[1],n[0])===TS)return}else for(var i in e)if(Ofe.call(e,i)&&t.call(r,e[i],i)===TS)return}}var bn=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return sd(r,(function(i){for(var a in i)i[a]!==void 0&&(e[a]=i[a])})),e},_6=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return sd(r,(function(i){sd(i,(function(a){e.push(a)}))})),e};function gT(e){for(var t=Object.keys(e),r=t.length,n=new Array(r);r--;)n[r]=[t[r],e[t[r]]];return n}var XQ=function(e){try{return e()}catch(t){return}},RZe=function(e){return function(){try{for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.apply(this,r)}catch(i){ot.critical("Implementation error. Please turn on debug mode and open a ticket on https://app.posthog.com/home#panel=support%3Asupport%3A."),ot.critical(i)}}},EB=function(e){var t={};return n0(e,(function(r,n){(on(r)&&r.length>0||ji(r))&&(t[n]=r)})),t};function IZe(e,t){return r=e,n=a=>on(a)&&!zd(t)?a.slice(0,t):a,i=new Set,(function a(s,o){return s!==Object(s)?n?n(s,o):s:i.has(s)?void 0:(i.add(s),w0(s)?(l=[],sd(s,(c=>{l.push(a(c))}))):(l={},n0(s,((c,u)=>{i.has(c)||(l[u]=a(c,u))}))),l);var l})(r);var r,n,i}var OZe=["herokuapp.com","vercel.app","netlify.app"];function MZe(e){var t=e==null?void 0:e.hostname;if(!on(t))return!1;var r=t.split(".").slice(-2).join(".");for(var n of OZe)if(r===n)return!1;return!0}function Dfe(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return e[r]}function N0(e,t,r,n){var{capture:i=!1,passive:a=!0}=n!=null?n:{};e==null||e.addEventListener(t,r,{capture:i,passive:a})}var Lfe="$people_distinct_id",Wb="__alias",Hb="__timers",QQ="$autocapture_disabled_server_side",jI="$heatmaps_enabled_server_side",JQ="$exception_capture_enabled_server_side",RI="$error_tracking_suppression_rules",ZQ="$error_tracking_capture_extension_exceptions",eJ="$web_vitals_enabled_server_side",Ffe="$dead_clicks_enabled_server_side",tJ="$web_vitals_allowed_metrics",I5="$session_recording_enabled_server_side",rJ="$console_log_recording_enabled_server_side",nJ="$session_recording_network_payload_capture",iJ="$session_recording_masking",aJ="$session_recording_canvas_recording",sJ="$replay_sample_rate",oJ="$replay_minimum_duration",SS="$replay_script_config",xS="$sesid",Ub="$session_is_sampled",II="$session_recording_url_trigger_activated_session",OI="$session_recording_event_trigger_activated_session",Zf="$enabled_feature_flags",Gb="$early_access_features",MI="$feature_flag_details",Vb="$stored_person_properties",bp="$stored_group_properties",kI="$surveys",K2="$surveys_activated",wS="$flag_call_reported",Tc="$user_state",DI="$client_session_props",LI="$capture_rate_limit",FI="$initial_campaign_params",$I="$initial_referrer_info",_S="$initial_person_info",AS="$epp",$fe="__POSTHOG_TOOLBAR__",cb="$posthog_cookieless",kZe=[Lfe,Wb,"__cmpns",Hb,I5,jI,xS,Zf,RI,Tc,Gb,MI,bp,Vb,kI,wS,DI,LI,FI,$I,AS,_S];function lJ(e){return e instanceof Element&&(e.id===$fe||!(e.closest==null||!e.closest(".toolbar-global-fade-container")))}function A6(e){return!!e&&e.nodeType===1}function od(e,t){return!!e&&!!e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function Bfe(e){return!!e&&e.nodeType===3}function Nfe(e){return!!e&&e.nodeType===11}function PB(e){return e?x6(e).split(/\s+/):[]}function cJ(e){var t=De==null?void 0:De.location.href;return!!(t&&e&&e.some((r=>t.match(r))))}function CS(e){var t="";switch(typeof e.className){case"string":t=e.className;break;case"object":t=(e.className&&"baseVal"in e.className?e.className.baseVal:null)||e.getAttribute("class")||"";break;default:t=""}return PB(t)}function qfe(e){return Dr(e)?null:x6(e).split(/(\s+)/).filter((t=>ag(t))).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}function C6(e){var t="";return NI(e)&&!Hfe(e)&&e.childNodes&&e.childNodes.length&&n0(e.childNodes,(function(r){var n;Bfe(r)&&r.textContent&&(t+=(n=qfe(r.textContent))!==null&&n!==void 0?n:"")})),x6(t)}function zfe(e){return rt(e.target)?e.srcElement||null:(t=e.target)!=null&&t.shadowRoot?e.composedPath()[0]||null:e.target||null;var t}var BI=["a","button","form","input","select","textarea","label"];function Wfe(e){var t=e.parentNode;return!(!t||!A6(t))&&t}function DZe(e,t,r,n,i){var a,s,o;if(r===void 0&&(r=void 0),!De||!e||od(e,"html")||!A6(e)||(a=r)!=null&&a.url_allowlist&&!cJ(r.url_allowlist)||(s=r)!=null&&s.url_ignorelist&&cJ(r.url_ignorelist))return!1;if((o=r)!=null&&o.dom_event_allowlist){var l=r.dom_event_allowlist;if(l&&!l.some((b=>t.type===b)))return!1}for(var c=!1,u=[e],d=!0,h=e;h.parentNode&&!od(h,"body");)if(Nfe(h.parentNode))u.push(h.parentNode.host),h=h.parentNode.host;else{if(!(d=Wfe(h)))break;if(n||BI.indexOf(d.tagName.toLowerCase())>-1)c=!0;else{var p=De.getComputedStyle(d);p&&p.getPropertyValue("cursor")==="pointer"&&(c=!0)}u.push(d),h=d}if(!(function(b,y){var v=y==null?void 0:y.element_allowlist;if(rt(v))return!0;var S,x=function(A){if(v.some((_=>A.tagName.toLowerCase()===_)))return{v:!0}};for(var w of b)if(S=x(w))return S.v;return!1})(u,r)||!(function(b,y){var v=y==null?void 0:y.css_selector_allowlist;if(rt(v))return!0;var S,x=function(A){if(v.some((_=>A.matches(_))))return{v:!0}};for(var w of b)if(S=x(w))return S.v;return!1})(u,r))return!1;var m=De.getComputedStyle(e);if(m&&m.getPropertyValue("cursor")==="pointer"&&t.type==="click")return!0;var g=e.tagName.toLowerCase();switch(g){case"html":return!1;case"form":return(i||["submit"]).indexOf(t.type)>=0;case"input":case"select":case"textarea":return(i||["change","click"]).indexOf(t.type)>=0;default:return c?(i||["click"]).indexOf(t.type)>=0:(i||["click"]).indexOf(t.type)>=0&&(BI.indexOf(g)>-1||e.getAttribute("contenteditable")==="true")}}function NI(e){for(var t=e;t.parentNode&&!od(t,"body");t=t.parentNode){var r=CS(t);if(dr(r,"ph-sensitive")||dr(r,"ph-no-capture"))return!1}if(dr(CS(e),"ph-include"))return!0;var n=e.type||"";if(on(n))switch(n.toLowerCase()){case"hidden":case"password":return!1}var i=e.name||e.id||"";return!(on(i)&&/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(i.replace(/[^a-zA-Z0-9]/g,"")))}function Hfe(e){return!!(od(e,"input")&&!["button","checkbox","submit","reset"].includes(e.type)||od(e,"select")||od(e,"textarea")||e.getAttribute("contenteditable")==="true")}var Ufe="(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11})",LZe=new RegExp("^(?:"+Ufe+")$"),FZe=new RegExp(Ufe),Gfe="\\d{3}-?\\d{2}-?\\d{4}",$Ze=new RegExp("^("+Gfe+")$"),BZe=new RegExp("("+Gfe+")");function ag(e,t){return t===void 0&&(t=!0),!(Dr(e)||on(e)&&(e=x6(e),(t?LZe:FZe).test((e||"").replace(/[- ]/g,""))||(t?$Ze:BZe).test(e)))}function Vfe(e){var t=C6(e);return ag(t=(t+" "+Yfe(e)).trim())?t:""}function Yfe(e){var t="";return e&&e.childNodes&&e.childNodes.length&&n0(e.childNodes,(function(r){var n;if(r&&((n=r.tagName)==null?void 0:n.toLowerCase())==="span")try{var i=C6(r);t=(t+" "+i).trim(),r.childNodes&&r.childNodes.length&&(t=(t+" "+Yfe(r)).trim())}catch(a){ot.error("[AutoCapture]",a)}})),t}function NZe(e){return(function(t){var r=t.map((n=>{var i,a,s="";if(n.tag_name&&(s+=n.tag_name),n.attr_class)for(var o of(n.attr_class.sort(),n.attr_class))s+="."+o.replace(/"/g,"");var l=st({},n.text?{text:n.text}:{},{"nth-child":(i=n.nth_child)!==null&&i!==void 0?i:0,"nth-of-type":(a=n.nth_of_type)!==null&&a!==void 0?a:0},n.href?{href:n.href}:{},n.attr_id?{attr_id:n.attr_id}:{},n.attributes),c={};return gT(l).sort(((u,d)=>{var[h]=u,[p]=d;return h.localeCompare(p)})).forEach((u=>{var[d,h]=u;return c[uJ(d.toString())]=uJ(h.toString())})),s+=":",s+=gT(c).map((u=>{var[d,h]=u;return d+'="'+h+'"'})).join("")}));return r.join(";")})((function(t){return t.map((r=>{var n,i,a={text:(n=r.$el_text)==null?void 0:n.slice(0,400),tag_name:r.tag_name,href:(i=r.attr__href)==null?void 0:i.slice(0,2048),attr_class:qZe(r),attr_id:r.attr__id,nth_child:r.nth_child,nth_of_type:r.nth_of_type,attributes:{}};return gT(r).filter((s=>{var[o]=s;return o.indexOf("attr__")===0})).forEach((s=>{var[o,l]=s;return a.attributes[o]=l})),a}))})(e))}function uJ(e){return e.replace(/"|\\"/g,'\\"')}function qZe(e){var t=e.attr__class;return t?w0(t)?t:PB(t):void 0}class Kfe{constructor(){this.clicks=[]}isRageClick(t,r,n){var i=this.clicks[this.clicks.length-1];if(i&&Math.abs(t-i.x)+Math.abs(r-i.y)<30&&n-i.timestamp<1e3){if(this.clicks.push({x:t,y:r,timestamp:n}),this.clicks.length===3)return!0}else this.clicks=[{x:t,y:r,timestamp:n}];return!1}}var rC="$copy_autocapture",Ic=(function(e){return e.GZipJS="gzip-js",e.Base64="base64",e})({}),zZe=["fatal","error","warning","log","info","debug"],WZe=["localhost","127.0.0.1"],sg=e=>{var t=ct==null?void 0:ct.createElement("a");return rt(t)?null:(t.href=e,t)},HZe=function(e,t){var r,n;t===void 0&&(t="&");var i=[];return n0(e,(function(a,s){rt(a)||rt(s)||s==="undefined"||(r=encodeURIComponent((o=>o instanceof File)(a)?a.name:a.toString()),n=encodeURIComponent(s),i[i.length]=n+"="+r)})),i.join(t)},ES=function(e,t){for(var r,n=((e.split("#")[0]||"").split(/\?(.*)/)[1]||"").replace(/^\?+/g,"").split("&"),i=0;i<n.length;i++){var a=n[i].split("=");if(a[0]===t){r=a;break}}if(!w0(r)||r.length<2)return"";var s=r[1];try{s=decodeURIComponent(s)}catch(o){ot.error("Skipping decoding for malformed query param: "+s)}return s.replace(/\+/g," ")},jB=function(e,t,r){if(!e||!t||!t.length)return e;for(var n=e.split("#"),i=n[0]||"",a=n[1],s=i.split("?"),o=s[1],l=s[0],c=(o||"").split("&"),u=[],d=0;d<c.length;d++){var h=c[d].split("=");w0(h)&&(t.includes(h[0])?u.push(h[0]+"="+r):u.push(c[d]))}var p=l;return o!=null&&(p+="?"+u.join("&")),a!=null&&(p+="#"+a),p},PS=function(e,t){var r=e.match(new RegExp(t+"=([^&]*)"));return r?r[1]:null},dJ=qn("[AutoCapture]");function nC(e,t){return t.length>e?t.slice(0,e)+"...":t}function UZe(e){if(e.previousElementSibling)return e.previousElementSibling;var t=e;do t=t.previousSibling;while(t&&!A6(t));return t}function GZe(e,t,r,n){var i=e.tagName.toLowerCase(),a={tag_name:i};BI.indexOf(i)>-1&&!r&&(i.toLowerCase()==="a"||i.toLowerCase()==="button"?a.$el_text=nC(1024,Vfe(e)):a.$el_text=nC(1024,C6(e)));var s=CS(e);s.length>0&&(a.classes=s.filter((function(u){return u!==""}))),n0(e.attributes,(function(u){var d;if((!Hfe(e)||["name","id","class","aria-label"].indexOf(u.name)!==-1)&&(n==null||!n.includes(u.name))&&!t&&ag(u.value)&&(d=u.name,!on(d)||d.substring(0,10)!=="_ngcontent"&&d.substring(0,7)!=="_nghost")){var h=u.value;u.name==="class"&&(h=PB(h).join(" ")),a["attr__"+u.name]=nC(1024,h)}}));for(var o=1,l=1,c=e;c=UZe(c);)o++,c.tagName===e.tagName&&l++;return a.nth_child=o,a.nth_of_type=l,a}function VZe(e,t){for(var r,n,{e:i,maskAllElementAttributes:a,maskAllText:s,elementAttributeIgnoreList:o,elementsChainAsString:l}=t,c=[e],u=e;u.parentNode&&!od(u,"body");)Nfe(u.parentNode)?(c.push(u.parentNode.host),u=u.parentNode.host):(c.push(u.parentNode),u=u.parentNode);var d,h=[],p={},m=!1,g=!1;if(n0(c,(x=>{var w=NI(x);x.tagName.toLowerCase()==="a"&&(m=x.getAttribute("href"),m=w&&m&&ag(m)&&m),dr(CS(x),"ph-no-capture")&&(g=!0),h.push(GZe(x,a,s,o));var A=(function(_){if(!NI(_))return{};var C={};return n0(_.attributes,(function(E){if(E.name&&E.name.indexOf("data-ph-capture-attribute")===0){var R=E.name.replace("data-ph-capture-attribute-",""),P=E.value;R&&P&&ag(P)&&(C[R]=P)}})),C})(x);bn(p,A)})),g)return{props:{},explicitNoCapture:g};if(s||(e.tagName.toLowerCase()==="a"||e.tagName.toLowerCase()==="button"?h[0].$el_text=Vfe(e):h[0].$el_text=C6(e)),m){var b,y;h[0].attr__href=m;var v=(b=sg(m))==null?void 0:b.host,S=De==null||(y=De.location)==null?void 0:y.host;v&&S&&v!==S&&(d=m)}return{props:bn({$event_type:i.type,$ce_version:1},l?{}:{$elements:h},{$elements_chain:NZe(h)},(r=h[0])!=null&&r.$el_text?{$el_text:(n=h[0])==null?void 0:n.$el_text}:{},d&&i.type==="click"?{$external_click_url:d}:{},p)}}class YZe{constructor(t){this.C=!1,this.M=null,this.rageclicks=new Kfe,this.O=!1,this.instance=t,this.F=null}get A(){var t,r,n=sn(this.instance.config.autocapture)?this.instance.config.autocapture:{};return n.url_allowlist=(t=n.url_allowlist)==null?void 0:t.map((i=>new RegExp(i))),n.url_ignorelist=(r=n.url_ignorelist)==null?void 0:r.map((i=>new RegExp(i))),n}D(){if(this.isBrowserSupported()){if(De&&ct){var t=n=>{n=n||(De==null?void 0:De.event);try{this.j(n)}catch(i){dJ.error("Failed to capture event",i)}};if(N0(ct,"submit",t,{capture:!0}),N0(ct,"change",t,{capture:!0}),N0(ct,"click",t,{capture:!0}),this.A.capture_copied_text){var r=n=>{n=n||(De==null?void 0:De.event),this.j(n,rC)};N0(ct,"copy",r,{capture:!0}),N0(ct,"cut",r,{capture:!0})}}}else dJ.info("Disabling Automatic Event Collection because this browser is not supported")}startIfEnabled(){this.isEnabled&&!this.C&&(this.D(),this.C=!0)}onRemoteConfig(t){t.elementsChainAsString&&(this.O=t.elementsChainAsString),this.instance.persistence&&this.instance.persistence.register({[QQ]:!!t.autocapture_opt_out}),this.M=!!t.autocapture_opt_out,this.startIfEnabled()}setElementSelectors(t){this.F=t}getElementSelectors(t){var r,n=[];return(r=this.F)==null||r.forEach((i=>{var a=ct==null?void 0:ct.querySelectorAll(i);a==null||a.forEach((s=>{t===s&&n.push(i)}))})),n}get isEnabled(){var t,r,n=(t=this.instance.persistence)==null?void 0:t.props[QQ],i=this.M;if(zd(i)&&!sl(n)&&!this.instance.L())return!1;var a=(r=this.M)!==null&&r!==void 0?r:!!n;return!!this.instance.config.autocapture&&!a}j(t,r){if(r===void 0&&(r="$autocapture"),this.isEnabled){var n,i=zfe(t);Bfe(i)&&(i=i.parentNode||null),r==="$autocapture"&&t.type==="click"&&t instanceof MouseEvent&&this.instance.config.rageclick&&(n=this.rageclicks)!=null&&n.isRageClick(t.clientX,t.clientY,new Date().getTime())&&this.j(t,"$rageclick");var a=r===rC;if(i&&DZe(i,t,this.A,a,a?["copy","cut"]:void 0)){var{props:s,explicitNoCapture:o}=VZe(i,{e:t,maskAllElementAttributes:this.instance.config.mask_all_element_attributes,maskAllText:this.instance.config.mask_all_text,elementAttributeIgnoreList:this.A.element_attribute_ignorelist,elementsChainAsString:this.O});if(o)return!1;var l=this.getElementSelectors(i);if(l&&l.length>0&&(s.$element_selectors=l),r===rC){var c,u=qfe(De==null||(c=De.getSelection())==null?void 0:c.toString()),d=t.type||"clipboard";if(!u)return!1;s.$selected_content=u,s.$copy_type=d}return this.instance.capture(r,s),!0}}}isBrowserSupported(){return ws(ct==null?void 0:ct.querySelectorAll)}}Math.trunc||(Math.trunc=function(e){return e<0?Math.ceil(e):Math.floor(e)}),Number.isInteger||(Number.isInteger=function(e){return ji(e)&&isFinite(e)&&Math.floor(e)===e});var pJ="0123456789abcdef";class jS{constructor(t){if(this.bytes=t,t.length!==16)throw new TypeError("not 128-bit length")}static fromFieldsV7(t,r,n,i){if(!Number.isInteger(t)||!Number.isInteger(r)||!Number.isInteger(n)||!Number.isInteger(i)||t<0||r<0||n<0||i<0||t>0xffffffffffff||r>4095||n>1073741823||i>4294967295)throw new RangeError("invalid field value");var a=new Uint8Array(16);return a[0]=t/Math.pow(2,40),a[1]=t/Math.pow(2,32),a[2]=t/Math.pow(2,24),a[3]=t/Math.pow(2,16),a[4]=t/Math.pow(2,8),a[5]=t,a[6]=112|r>>>8,a[7]=r,a[8]=128|n>>>24,a[9]=n>>>16,a[10]=n>>>8,a[11]=n,a[12]=i>>>24,a[13]=i>>>16,a[14]=i>>>8,a[15]=i,new jS(a)}toString(){for(var t="",r=0;r<this.bytes.length;r++)t=t+pJ.charAt(this.bytes[r]>>>4)+pJ.charAt(15&this.bytes[r]),r!==3&&r!==5&&r!==7&&r!==9||(t+="-");if(t.length!==36)throw new Error("Invalid UUIDv7 was generated");return t}clone(){return new jS(this.bytes.slice(0))}equals(t){return this.compareTo(t)===0}compareTo(t){for(var r=0;r<16;r++){var n=this.bytes[r]-t.bytes[r];if(n!==0)return Math.sign(n)}return 0}}class KZe{constructor(){this.N=0,this.U=0,this.q=new XZe}generate(){var t=this.generateOrAbort();if(rt(t)){this.N=0;var r=this.generateOrAbort();if(rt(r))throw new Error("Could not generate UUID after timestamp reset");return r}return t}generateOrAbort(){var t=Date.now();if(t>this.N)this.N=t,this.B();else{if(!(t+1e4>this.N))return;this.U++,this.U>4398046511103&&(this.N++,this.B())}return jS.fromFieldsV7(this.N,Math.trunc(this.U/Math.pow(2,30)),this.U&Math.pow(2,30)-1,this.q.nextUint32())}B(){this.U=1024*this.q.nextUint32()+(1023&this.q.nextUint32())}}var hJ,Xfe=e=>{if(typeof UUIDV7_DENY_WEAK_RNG<"u"&&UUIDV7_DENY_WEAK_RNG)throw new Error("no cryptographically strong RNG available");for(var t=0;t<e.length;t++)e[t]=65536*Math.trunc(65536*Math.random())+Math.trunc(65536*Math.random());return e};De&&!rt(De.crypto)&&crypto.getRandomValues&&(Xfe=e=>crypto.getRandomValues(e));class XZe{constructor(){this.H=new Uint32Array(8),this.W=1/0}nextUint32(){return this.W>=this.H.length&&(Xfe(this.H),this.W=0),this.H[this.W++]}}var Zu=()=>QZe().toString(),QZe=()=>(hJ||(hJ=new KZe)).generate(),ub="",JZe=/[a-z0-9][a-z0-9-]+\.[a-z]{2,}$/i;function ZZe(e,t){if(t){var r=(function(i,a){if(a===void 0&&(a=ct),ub)return ub;if(!a||["localhost","127.0.0.1"].includes(i))return"";for(var s=i.split("."),o=Math.min(s.length,8),l="dmn_chk_"+Zu();!ub&&o--;){var c=s.slice(o).join("."),u=l+"=1;domain=."+c+";path=/";a.cookie=u+";max-age=3",a.cookie.includes(l)&&(a.cookie=u+";max-age=0",ub=c)}return ub})(e);if(!r){var n=(i=>{var a=i.match(JZe);return a?a[0]:""})(e);n!==r&&ot.info("Warning: cookie subdomain discovery mismatch",n,r),r=n}return r?"; domain=."+r:""}return""}var Sl={G:()=>!!ct,J:function(e){ot.error("cookieStore error: "+e)},V:function(e){if(ct){try{for(var t=e+"=",r=ct.cookie.split(";").filter((a=>a.length)),n=0;n<r.length;n++){for(var i=r[n];i.charAt(0)==" ";)i=i.substring(1,i.length);if(i.indexOf(t)===0)return decodeURIComponent(i.substring(t.length,i.length))}}catch(a){}return null}},K:function(e){var t;try{t=JSON.parse(Sl.V(e))||{}}catch(r){}return t},Y:function(e,t,r,n,i){if(ct)try{var a="",s="",o=ZZe(ct.location.hostname,n);if(r){var l=new Date;l.setTime(l.getTime()+24*r*60*60*1e3),a="; expires="+l.toUTCString()}i&&(s="; secure");var c=e+"="+encodeURIComponent(JSON.stringify(t))+a+"; SameSite=Lax; path=/"+o+s;return c.length>3686.4&&ot.warn("cookieStore warning: large cookie, len="+c.length),ct.cookie=c,c}catch(u){return}},X:function(e,t){if(ct!=null&&ct.cookie)try{Sl.Y(e,"",-1,t)}catch(r){return}}},iC=null,Dn={G:function(){if(!zd(iC))return iC;var e=!0;if(rt(De))e=!1;else try{var t="__mplssupport__";Dn.Y(t,"xyz"),Dn.V(t)!=='"xyz"'&&(e=!1),Dn.X(t)}catch(r){e=!1}return e||ot.error("localStorage unsupported; falling back to cookie store"),iC=e,e},J:function(e){ot.error("localStorage error: "+e)},V:function(e){try{return De==null?void 0:De.localStorage.getItem(e)}catch(t){Dn.J(t)}return null},K:function(e){try{return JSON.parse(Dn.V(e))||{}}catch(t){}return null},Y:function(e,t){try{De==null||De.localStorage.setItem(e,JSON.stringify(t))}catch(r){Dn.J(r)}},X:function(e){try{De==null||De.localStorage.removeItem(e)}catch(t){Dn.J(t)}}},eet=["distinct_id",xS,Ub,AS,_S],X2=st({},Dn,{K:function(e){try{var t={};try{t=Sl.K(e)||{}}catch(n){}var r=bn(t,JSON.parse(Dn.V(e)||"{}"));return Dn.Y(e,r),r}catch(n){}return null},Y:function(e,t,r,n,i,a){try{Dn.Y(e,t,void 0,void 0,a);var s={};eet.forEach((o=>{t[o]&&(s[o]=t[o])})),Object.keys(s).length&&Sl.Y(e,s,r,n,i,a)}catch(o){Dn.J(o)}},X:function(e,t){try{De==null||De.localStorage.removeItem(e),Sl.X(e,t)}catch(r){Dn.J(r)}}}),Q2={},tet={G:function(){return!0},J:function(e){ot.error("memoryStorage error: "+e)},V:function(e){return Q2[e]||null},K:function(e){return Q2[e]||null},Y:function(e,t){Q2[e]=t},X:function(e){delete Q2[e]}},lp=null,ai={G:function(){if(!zd(lp))return lp;if(lp=!0,rt(De))lp=!1;else try{var e="__support__";ai.Y(e,"xyz"),ai.V(e)!=='"xyz"'&&(lp=!1),ai.X(e)}catch(t){lp=!1}return lp},J:function(e){ot.error("sessionStorage error: ",e)},V:function(e){try{return De==null?void 0:De.sessionStorage.getItem(e)}catch(t){ai.J(t)}return null},K:function(e){try{return JSON.parse(ai.V(e))||null}catch(t){}return null},Y:function(e,t){try{De==null||De.sessionStorage.setItem(e,JSON.stringify(t))}catch(r){ai.J(r)}},X:function(e){try{De==null||De.sessionStorage.removeItem(e)}catch(t){ai.J(t)}}},Sc=(function(e){return e[e.PENDING=-1]="PENDING",e[e.DENIED=0]="DENIED",e[e.GRANTED=1]="GRANTED",e})({});let ret=class{constructor(t){this._instance=t}get A(){return this._instance.config}get consent(){return this.Z()?Sc.DENIED:this.tt}isOptedOut(){return this.A.cookieless_mode==="always"||this.consent===Sc.DENIED||this.consent===Sc.PENDING&&(this.A.opt_out_capturing_by_default||this.A.cookieless_mode==="on_reject")}isOptedIn(){return!this.isOptedOut()}isExplicitlyOptedOut(){return this.consent===Sc.DENIED}optInOut(t){this.it.Y(this.et,t?1:0,this.A.cookie_expiration,this.A.cross_subdomain_cookie,this.A.secure_cookie)}reset(){this.it.X(this.et,this.A.cross_subdomain_cookie)}get et(){var{token:t,opt_out_capturing_cookie_prefix:r,consent_persistence_name:n}=this._instance.config;return n||(r?r+t:"__ph_opt_in_out_"+t)}get tt(){var t=this.it.V(this.et);return tC(t)?Sc.GRANTED:dr(PZe,t)?Sc.DENIED:Sc.PENDING}get it(){if(!this.rt){var t=this.A.opt_out_capturing_persistence_type;this.rt=t==="localStorage"?Dn:Sl;var r=t==="localStorage"?Sl:Dn;r.V(this.et)&&(this.rt.V(this.et)||this.optInOut(tC(r.V(this.et))),r.X(this.et,this.A.cross_subdomain_cookie))}return this.rt}Z(){return!!this.A.respect_dnt&&!!Dfe([Va==null?void 0:Va.doNotTrack,Va==null?void 0:Va.msDoNotTrack,Ot.doNotTrack],(t=>tC(t)))}};var J2=qn("[Dead Clicks]"),net=()=>!0,iet=e=>{var t,r=!((t=e.instance.persistence)==null||!t.get_property(Ffe)),n=e.instance.config.capture_dead_clicks;return sl(n)?n:r};let Qfe=class{get lazyLoadedDeadClicksAutocapture(){return this.st}constructor(t,r,n){this.instance=t,this.isEnabled=r,this.onCapture=n,this.startIfEnabled()}onRemoteConfig(t){this.instance.persistence&&this.instance.persistence.register({[Ffe]:t==null?void 0:t.captureDeadClicks}),this.startIfEnabled()}startIfEnabled(){this.isEnabled(this)&&this.nt((()=>{this.ot()}))}nt(t){var r,n;(r=Ot.__PosthogExtensions__)!=null&&r.initDeadClicksAutocapture&&t(),(n=Ot.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this.instance,"dead-clicks-autocapture",(i=>{i?J2.error("failed to load script",i):t()}))}ot(){var t;if(ct){if(!this.st&&(t=Ot.__PosthogExtensions__)!=null&&t.initDeadClicksAutocapture){var r=sn(this.instance.config.capture_dead_clicks)?this.instance.config.capture_dead_clicks:{};r.__onCapture=this.onCapture,this.st=Ot.__PosthogExtensions__.initDeadClicksAutocapture(this.instance,r),this.st.start(ct),J2.info("starting...")}}else J2.error("`document` not found. Cannot start.")}stop(){this.st&&(this.st.stop(),this.st=void 0,J2.info("stopping..."))}};var db=qn("[ExceptionAutocapture]");let aet=class{constructor(t){var r,n,i;this.lt=()=>{var a;if(De&&this.isEnabled&&(a=Ot.__PosthogExtensions__)!=null&&a.errorWrappingFunctions){var s=Ot.__PosthogExtensions__.errorWrappingFunctions.wrapOnError,o=Ot.__PosthogExtensions__.errorWrappingFunctions.wrapUnhandledRejection,l=Ot.__PosthogExtensions__.errorWrappingFunctions.wrapConsoleError;try{!this.ht&&this.A.capture_unhandled_errors&&(this.ht=s(this.captureException.bind(this))),!this.ut&&this.A.capture_unhandled_rejections&&(this.ut=o(this.captureException.bind(this))),!this.dt&&this.A.capture_console_errors&&(this.dt=l(this.captureException.bind(this)))}catch(c){db.error("failed to start",c),this.vt()}}},this._instance=t,this.ct=!((r=this._instance.persistence)==null||!r.props[JQ]),this.A=this.ft(),this.gt=new Mfe({refillRate:(n=this._instance.config.error_tracking.__exceptionRateLimiterRefillRate)!==null&&n!==void 0?n:1,bucketSize:(i=this._instance.config.error_tracking.__exceptionRateLimiterBucketSize)!==null&&i!==void 0?i:10,refillInterval:1e4,P:db}),this.startIfEnabled()}ft(){var t=this._instance.config.capture_exceptions,r={capture_unhandled_errors:!1,capture_unhandled_rejections:!1,capture_console_errors:!1};return sn(t)?r=st({},r,t):(rt(t)?this.ct:t)&&(r=st({},r,{capture_unhandled_errors:!0,capture_unhandled_rejections:!0})),r}get isEnabled(){return this.A.capture_console_errors||this.A.capture_unhandled_errors||this.A.capture_unhandled_rejections}startIfEnabled(){this.isEnabled&&(db.info("enabled"),this.nt(this.lt))}nt(t){var r,n;(r=Ot.__PosthogExtensions__)!=null&&r.errorWrappingFunctions&&t(),(n=Ot.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,"exception-autocapture",(i=>{if(i)return db.error("failed to load script",i);t()}))}vt(){var t,r,n;(t=this.ht)==null||t.call(this),this.ht=void 0,(r=this.ut)==null||r.call(this),this.ut=void 0,(n=this.dt)==null||n.call(this),this.dt=void 0}onRemoteConfig(t){var r=t.autocaptureExceptions;this.ct=!!r||!1,this.A=this.ft(),this._instance.persistence&&this._instance.persistence.register({[JQ]:this.ct}),this.startIfEnabled()}captureException(t){var r,n=this._instance.requestRouter.endpointFor("ui");t.$exception_personURL=n+"/project/"+this._instance.config.token+"/person/"+this._instance.get_distinct_id();var i=(r=t.$exception_list[0].type)!==null&&r!==void 0?r:"Exception";this.gt.consumeRateLimit(i)?db.info("Skipping exception capture because of client rate limiting.",{exception:t.$exception_list[0].type}):this._instance.exceptions.sendExceptionEvent(t)}};function Jfe(e){return!rt(Event)&&Zfe(e,Event)}function Zfe(e,t){try{return e instanceof t}catch(r){return!1}}function eme(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object DOMError]":return!0;default:return Zfe(e,Error)}}function bT(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"}function aC(e){return bT(e,"DOMError")}var fJ=/\(error: (.*)\)/,mJ=50,em="?";function sC(e,t,r,n){var i={platform:"web:javascript",filename:e,function:t==="<anonymous>"?em:t,in_app:!0};return rt(r)||(i.lineno=r),rt(n)||(i.colno=n),i}var set=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,oet=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,cet=/\((\S*)(?::(\d+))(?::(\d+))\)/,uet=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,det=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,pet=(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.sort(((i,a)=>i[0]-a[0])).map((i=>i[1]));return function(i,a){a===void 0&&(a=0);for(var s=[],o=i.split(`
`),l=a;l<o.length;l++){var c=o[l];if(!(c.length>1024)){var u=fJ.test(c)?c.replace(fJ,"$1"):c;if(!u.match(/\S*Error: /)){for(var d of n){var h=d(u);if(h){s.push(h);break}}if(s.length>=mJ)break}}}return(function(p){if(!p.length)return[];var m=Array.from(p);return m.reverse(),m.slice(0,mJ).map((g=>st({},g,{filename:g.filename||het(m).filename,function:g.function||em})))})(s)}})([30,e=>{var t=set.exec(e);if(t){var[,r,n,i]=t;return sC(r,em,+n,+i)}var a=oet.exec(e);if(a){if(a[2]&&a[2].indexOf("eval")===0){var s=cet.exec(a[2]);s&&(a[2]=s[1],a[3]=s[2],a[4]=s[3])}var[o,l]=bJ(a[1]||em,a[2]);return sC(l,o,a[3]?+a[3]:void 0,a[4]?+a[4]:void 0)}}],[50,e=>{var t=uet.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){var r=det.exec(t[3]);r&&(t[1]=t[1]||"eval",t[3]=r[1],t[4]=r[2],t[5]="")}var n=t[3],i=t[1]||em;return[i,n]=bJ(i,n),sC(n,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]);function het(e){return e[e.length-1]||{}}var Z2,gJ,oC,bJ=(e,t)=>{var r=e.indexOf("safari-extension")!==-1,n=e.indexOf("safari-web-extension")!==-1;return r||n?[e.indexOf("@")!==-1?e.split("@")[0]:em,r?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]},fet=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;function RB(e,t){t===void 0&&(t=0);var r=e.stacktrace||e.stack||"",n=(function(s){return s&&met.test(s.message)?1:0})(e);try{var i=pet,a=(function(s,o){var l=(function(c){var u=globalThis._posthogChunkIds;if(!u)return{};var d=Object.keys(u);return oC&&d.length===gJ||(gJ=d.length,oC=d.reduce(((h,p)=>{Z2||(Z2={});var m=Z2[p];if(m)h[m[0]]=m[1];else for(var g=c(p),b=g.length-1;b>=0;b--){var y=g[b],v=y==null?void 0:y.filename,S=u[p];if(v&&S){h[v]=S,Z2[p]=[v,S];break}}return h}),{})),oC})(o);return s.forEach((c=>{c.filename&&(c.chunk_id=l[c.filename])})),s})(i(r,n),i);return a.slice(0,a.length-t)}catch(s){}return[]}var met=/Minified React error #\d+;/i;function get(e,t){var r,n,i=RB(e),a=(r=t==null?void 0:t.handled)===null||r===void 0||r,s=(n=t==null?void 0:t.synthetic)!==null&&n!==void 0&&n;return{type:t!=null&&t.overrideExceptionType?t.overrideExceptionType:e.name,value:(function(o){var l=o.message;return l.error&&typeof l.error.message=="string"?String(l.error.message):String(l)})(e),stacktrace:{frames:i,type:"raw"},mechanism:{handled:a,synthetic:s}}}function tme(e,t){var r=get(e,t);return e.cause&&eme(e.cause)&&e.cause!==e?[r,...tme(e.cause,{handled:t==null?void 0:t.handled,synthetic:t==null?void 0:t.synthetic})]:[r]}function lC(e,t){return{$exception_list:tme(e,t),$exception_level:"error"}}function cC(e,t){var r,n,i,a=(r=t==null?void 0:t.handled)===null||r===void 0||r,s=(n=t==null?void 0:t.synthetic)===null||n===void 0||n,o={type:t!=null&&t.overrideExceptionType?t.overrideExceptionType:(i=t==null?void 0:t.defaultExceptionType)!==null&&i!==void 0?i:"Error",value:e||(t==null?void 0:t.defaultExceptionMessage),mechanism:{handled:a,synthetic:s}};if(t!=null&&t.syntheticException){var l=RB(t.syntheticException,1);l.length&&(o.stacktrace={frames:l,type:"raw"})}return{$exception_list:[o],$exception_level:"error"}}function bet(e){return on(e)&&!PI(e)&&zZe.indexOf(e)>=0}function yet(e,t){var r,n,i=(r=t==null?void 0:t.handled)===null||r===void 0||r,a=(n=t==null?void 0:t.synthetic)===null||n===void 0||n,s=t!=null&&t.overrideExceptionType?t.overrideExceptionType:Jfe(e)?e.constructor.name:"Error",o="Non-Error 'exception' captured with keys: "+(function(u,d){d===void 0&&(d=40);var h=Object.keys(u);if(h.sort(),!h.length)return"[object has no keys]";for(var p=h.length;p>0;p--){var m=h.slice(0,p).join(", ");if(!(m.length>d))return p===h.length||m.length<=d?m:m.slice(0,d)+"..."}return""})(e),l={type:s,value:o,mechanism:{handled:i,synthetic:a}};if(t!=null&&t.syntheticException){var c=RB(t==null?void 0:t.syntheticException,1);c.length&&(l.stacktrace={frames:c,type:"raw"})}return{$exception_list:[l],$exception_level:bet(e.level)?e.level:"error"}}function vet(e,t){var{error:r,event:n}=e,i={$exception_list:[]},a=r||n;if(aC(a)||(function(h){return bT(h,"DOMException")})(a)){var s=a;if((function(h){return"stack"in h})(a))i=lC(a,t);else{var o=s.name||(aC(s)?"DOMError":"DOMException"),l=s.message?o+": "+s.message:o;i=cC(l,st({},t,{overrideExceptionType:aC(s)?"DOMError":"DOMException",defaultExceptionMessage:l}))}return"code"in s&&(i.$exception_DOMException_code=""+s.code),i}if((function(h){return bT(h,"ErrorEvent")})(a)&&a.error)return lC(a.error,t);if(eme(a))return lC(a,t);if((function(h){return bT(h,"Object")})(a)||Jfe(a))return yet(a,t);if(rt(r)&&on(n)){var c="Error",u=n,d=n.match(fet);return d&&(c=d[1],u=d[2]),cC(u,st({},t,{overrideExceptionType:c,defaultExceptionMessage:u}))}return cC(a,t)}function yJ(e,t,r){try{if(!(t in e))return()=>{};var n=e[t],i=r(n);return ws(i)&&(i.prototype=i.prototype||{},Object.defineProperties(i,{__posthog_wrapped__:{enumerable:!1,value:!0}})),e[t]=i,()=>{e[t]=n}}catch(a){return()=>{}}}let Tet=class{constructor(t){var r;this._instance=t,this._t=(De==null||(r=De.location)==null?void 0:r.pathname)||""}get isEnabled(){return this._instance.config.capture_pageview==="history_change"}startIfEnabled(){this.isEnabled&&(ot.info("History API monitoring enabled, starting..."),this.monitorHistoryChanges())}stop(){this.bt&&this.bt(),this.bt=void 0,ot.info("History API monitoring stopped")}monitorHistoryChanges(){var t,r;if(De&&De.history){var n=this;(t=De.history.pushState)!=null&&t.__posthog_wrapped__||yJ(De.history,"pushState",(i=>function(a,s,o){i.call(this,a,s,o),n.yt("pushState")})),(r=De.history.replaceState)!=null&&r.__posthog_wrapped__||yJ(De.history,"replaceState",(i=>function(a,s,o){i.call(this,a,s,o),n.yt("replaceState")})),this.wt()}}yt(t){try{var r,n=De==null||(r=De.location)==null?void 0:r.pathname;if(!n)return;n!==this._t&&this.isEnabled&&this._instance.capture("$pageview",{navigation_type:t}),this._t=n}catch(i){ot.error("Error capturing "+t+" pageview",i)}}wt(){if(!this.bt){var t=()=>{this.yt("popstate")};N0(De,"popstate",t),this.bt=()=>{De&&De.removeEventListener("popstate",t)}}}};function RS(e){var t,r;return((t=JSON.stringify(e,(r=[],function(n,i){if(sn(i)){for(;r.length>0&&r[r.length-1]!==this;)r.pop();return r.includes(i)?"[Circular]":(r.push(i),i)}return i})))==null?void 0:t.length)||0}function qI(e,t){if(t===void 0&&(t=66060288e-1),e.size>=t&&e.data.length>1){var r=Math.floor(e.data.length/2),n=e.data.slice(0,r),i=e.data.slice(r);return[qI({size:RS(n),data:n,sessionId:e.sessionId,windowId:e.windowId}),qI({size:RS(i),data:i,sessionId:e.sessionId,windowId:e.windowId})].flatMap((a=>a))}return[e]}var xc=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(xc||{}),eo=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(eo||{}),zI="[SessionRecording]",WI="redacted",e3={initiatorTypes:["audio","beacon","body","css","early-hint","embed","fetch","frame","iframe","icon","image","img","input","link","navigation","object","ping","script","track","video","xmlhttprequest"],maskRequestFn:e=>e,recordHeaders:!1,recordBody:!1,recordInitialRequests:!1,recordPerformance:!1,performanceEntryTypeToObserve:["first-input","navigation","paint","resource"],payloadSizeLimitBytes:1e6,payloadHostDenyList:[".lr-ingest.io",".ingest.sentry.io",".clarity.ms","analytics.google.com","bam.nr-data.net"]},xet=["authorization","x-forwarded-for","authorization","cookie","set-cookie","x-api-key","x-real-ip","remote-addr","forwarded","proxy-authorization","x-csrf-token","x-csrftoken","x-xsrf-token"],wet=["password","secret","passwd","api_key","apikey","auth","credentials","mysql_pwd","privatekey","private_key","token"],_et=["/s/","/e/","/i/"];function vJ(e,t,r,n){if(Dr(e))return e;var i=(t==null?void 0:t["content-length"])||(function(a){return new Blob([a]).size})(e);return on(i)&&(i=parseInt(i)),i>r?zI+" "+n+" body too large to record ("+i+" bytes)":e}function TJ(e,t){if(Dr(e))return e;var r=e;return ag(r,!1)||(r=zI+" "+t+" body "+WI),n0(wet,(n=>{var i,a;(i=r)!=null&&i.length&&((a=r)==null?void 0:a.indexOf(n))!==-1&&(r=zI+" "+t+" body "+WI+" as might contain: "+n)})),r}var Aet=(e,t)=>{var r,n,i,a={payloadSizeLimitBytes:e3.payloadSizeLimitBytes,performanceEntryTypeToObserve:[...e3.performanceEntryTypeToObserve],payloadHostDenyList:[...t.payloadHostDenyList||[],...e3.payloadHostDenyList]},s=e.session_recording.recordHeaders!==!1&&t.recordHeaders,o=e.session_recording.recordBody!==!1&&t.recordBody,l=e.capture_performance!==!1&&t.recordPerformance,c=(r=a,i=Math.min(1e6,(n=r.payloadSizeLimitBytes)!==null&&n!==void 0?n:1e6),h=>(h!=null&&h.requestBody&&(h.requestBody=vJ(h.requestBody,h.requestHeaders,i,"Request")),h!=null&&h.responseBody&&(h.responseBody=vJ(h.responseBody,h.responseHeaders,i,"Response")),h)),u=h=>{return c(((g,b)=>{var y,v=sg(g.name),S=b.indexOf("http")===0?(y=sg(b))==null?void 0:y.pathname:b;S==="/"&&(S="");var x=v==null?void 0:v.pathname.replace(S||"","");if(!(v&&x&&_et.some((w=>x.indexOf(w)===0))))return g})((m=(p=h).requestHeaders,Dr(m)||n0(Object.keys(m!=null?m:{}),(g=>{xet.includes(g.toLowerCase())&&(m[g]=WI)})),p),e.api_host));var p,m},d=ws(e.session_recording.maskNetworkRequestFn);return d&&ws(e.session_recording.maskCapturedNetworkRequestFn)&&ot.warn("Both `maskNetworkRequestFn` and `maskCapturedNetworkRequestFn` are defined. `maskNetworkRequestFn` will be ignored."),d&&(e.session_recording.maskCapturedNetworkRequestFn=h=>{var p=e.session_recording.maskNetworkRequestFn({url:h.name});return st({},h,{name:p==null?void 0:p.url})}),a.maskRequestFn=ws(e.session_recording.maskCapturedNetworkRequestFn)?h=>{var p,m=u(h);return m&&(p=e.session_recording.maskCapturedNetworkRequestFn==null?void 0:e.session_recording.maskCapturedNetworkRequestFn(m))!==null&&p!==void 0?p:void 0}:h=>(function(p){if(!rt(p))return p.requestBody=TJ(p.requestBody,"Request"),p.responseBody=TJ(p.responseBody,"Response"),p})(u(h)),st({},e3,a,{recordHeaders:s,recordBody:o,recordPerformance:l,recordInitialRequests:l})};let Cet=class{constructor(t,r){var n,i;r===void 0&&(r={}),this.St={},this.$t=a=>{if(!this.St[a]){var s,o;this.St[a]=!0;var l=this.xt(a);(s=(o=this.i).onBlockedNode)==null||s.call(o,a,l)}},this.kt=a=>{var s=this.xt(a);if((s==null?void 0:s.nodeName)!=="svg"&&s instanceof Element){var o=s.closest("svg");if(o)return[this._rrweb.mirror.getId(o),o]}return[a,s]},this.xt=a=>this._rrweb.mirror.getNode(a),this.Et=a=>{var s,o,l,c,u,d,h,p;return((s=(o=a.removes)==null?void 0:o.length)!==null&&s!==void 0?s:0)+((l=(c=a.attributes)==null?void 0:c.length)!==null&&l!==void 0?l:0)+((u=(d=a.texts)==null?void 0:d.length)!==null&&u!==void 0?u:0)+((h=(p=a.adds)==null?void 0:p.length)!==null&&h!==void 0?h:0)},this.throttleMutations=a=>{if(a.type!==3||a.data.source!==0)return a;var s=a.data,o=this.Et(s);s.attributes&&(s.attributes=s.attributes.filter((c=>{var[u]=this.kt(c.id);return!this.gt.consumeRateLimit(u)&&c})));var l=this.Et(s);return l!==0||o===l?a:void 0},this._rrweb=t,this.i=r,this.gt=new Mfe({bucketSize:(n=this.i.bucketSize)!==null&&n!==void 0?n:100,refillRate:(i=this.i.refillRate)!==null&&i!==void 0?i:10,refillInterval:1e3,I:this.$t,P:ot})}};var _s=Uint8Array,va=Uint16Array,og=Uint32Array,IB=new _s([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),OB=new _s([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),SJ=new _s([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),rme=function(e,t){for(var r=new va(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];var i=new og(r[30]);for(n=1;n<30;++n)for(var a=r[n];a<r[n+1];++a)i[a]=a-r[n]<<5|n;return[r,i]},nme=rme(IB,2),Eet=nme[0],HI=nme[1];Eet[28]=258,HI[258]=28;for(var xJ=rme(OB,0)[1],ime=new va(32768),_0=0;_0<32768;++_0){var cp=(43690&_0)>>>1|(21845&_0)<<1;cp=(61680&(cp=(52428&cp)>>>2|(13107&cp)<<2))>>>4|(3855&cp)<<4,ime[_0]=((65280&cp)>>>8|(255&cp)<<8)>>>1}var Fy=function(e,t,r){for(var n=e.length,i=0,a=new va(t);i<n;++i)++a[e[i]-1];var s,o=new va(t);for(i=0;i<t;++i)o[i]=o[i-1]+a[i-1]<<1;for(s=new va(n),i=0;i<n;++i)s[i]=ime[o[e[i]-1]++]>>>15-e[i];return s},gh=new _s(288);for(_0=0;_0<144;++_0)gh[_0]=8;for(_0=144;_0<256;++_0)gh[_0]=9;for(_0=256;_0<280;++_0)gh[_0]=7;for(_0=280;_0<288;++_0)gh[_0]=8;var IS=new _s(32);for(_0=0;_0<32;++_0)IS[_0]=5;var Pet=Fy(gh,9),jet=Fy(IS,5),ame=function(e){return(e/8>>0)+(7&e&&1)},sme=function(e,t,r){(r==null||r>e.length)&&(r=e.length);var n=new(e instanceof va?va:e instanceof og?og:_s)(r-t);return n.set(e.subarray(t,r)),n},tc=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8},pb=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},uC=function(e,t){for(var r=[],n=0;n<e.length;++n)e[n]&&r.push({s:n,f:e[n]});var i=r.length,a=r.slice();if(!i)return[new _s(0),0];if(i==1){var s=new _s(r[0].s+1);return s[r[0].s]=1,[s,1]}r.sort((function(w,A){return w.f-A.f})),r.push({s:-1,f:25001});var o=r[0],l=r[1],c=0,u=1,d=2;for(r[0]={s:-1,f:o.f+l.f,l:o,r:l};u!=i-1;)o=r[r[c].f<r[d].f?c++:d++],l=r[c!=u&&r[c].f<r[d].f?c++:d++],r[u++]={s:-1,f:o.f+l.f,l:o,r:l};var h=a[0].s;for(n=1;n<i;++n)a[n].s>h&&(h=a[n].s);var p=new va(h+1),m=UI(r[u-1],p,0);if(m>t){n=0;var g=0,b=m-t,y=1<<b;for(a.sort((function(w,A){return p[A.s]-p[w.s]||w.f-A.f}));n<i;++n){var v=a[n].s;if(!(p[v]>t))break;g+=y-(1<<m-p[v]),p[v]=t}for(g>>>=b;g>0;){var S=a[n].s;p[S]<t?g-=1<<t-p[S]++-1:++n}for(;n>=0&&g;--n){var x=a[n].s;p[x]==t&&(--p[x],++g)}m=t}return[new _s(p),m]},UI=function(e,t,r){return e.s==-1?Math.max(UI(e.l,t,r+1),UI(e.r,t,r+1)):t[e.s]=r},wJ=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new va(++t),n=0,i=e[0],a=1,s=function(l){r[n++]=l},o=1;o<=t;++o)if(e[o]==i&&o!=t)++a;else{if(!i&&a>2){for(;a>138;a-=138)s(32754);a>2&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(i),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}for(;a--;)s(i);a=1,i=e[o]}return[r.subarray(0,n),t]},hb=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},GI=function(e,t,r){var n=r.length,i=ame(t+2);e[i]=255&n,e[i+1]=n>>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var a=0;a<n;++a)e[i+a+4]=r[a];return 8*(i+4+n)},_J=function(e,t,r,n,i,a,s,o,l,c,u){tc(t,u++,r),++i[256];for(var d=uC(i,15),h=d[0],p=d[1],m=uC(a,15),g=m[0],b=m[1],y=wJ(h),v=y[0],S=y[1],x=wJ(g),w=x[0],A=x[1],_=new va(19),C=0;C<v.length;++C)_[31&v[C]]++;for(C=0;C<w.length;++C)_[31&w[C]]++;for(var E=uC(_,7),R=E[0],P=E[1],O=19;O>4&&!R[SJ[O-1]];--O);var k,I,M,D,F=c+5<<3,$=hb(i,gh)+hb(a,IS)+s,Y=hb(i,h)+hb(a,g)+s+14+3*O+hb(_,R)+(2*_[16]+3*_[17]+7*_[18]);if(F<=$&&F<=Y)return GI(t,u,e.subarray(l,l+c));if(tc(t,u,1+(Y<$)),u+=2,Y<$){k=Fy(h,p),I=h,M=Fy(g,b),D=g;var he=Fy(R,P);for(tc(t,u,S-257),tc(t,u+5,A-1),tc(t,u+10,O-4),u+=14,C=0;C<O;++C)tc(t,u+3*C,R[SJ[C]]);u+=3*O;for(var fe=[v,w],U=0;U<2;++U){var W=fe[U];for(C=0;C<W.length;++C){var H=31&W[C];tc(t,u,he[H]),u+=R[H],H>15&&(tc(t,u,W[C]>>>5&127),u+=W[C]>>>12)}}}else k=Pet,I=gh,M=jet,D=IS;for(C=0;C<o;++C)if(n[C]>255){H=n[C]>>>18&31,pb(t,u,k[H+257]),u+=I[H+257],H>7&&(tc(t,u,n[C]>>>23&31),u+=IB[H]);var ie=31&n[C];pb(t,u,M[ie]),u+=D[ie],ie>3&&(pb(t,u,n[C]>>>5&8191),u+=OB[ie])}else pb(t,u,k[n[C]]),u+=I[n[C]];return pb(t,u,k[256]),u+I[256]},Ret=new og([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Iet=(function(){for(var e=new og(256),t=0;t<256;++t){for(var r=t,n=9;--n;)r=(1&r&&3988292384)^r>>>1;e[t]=r}return e})(),Oet=function(){var e=4294967295;return{p:function(t){for(var r=e,n=0;n<t.length;++n)r=Iet[255&r^t[n]]^r>>>8;e=r},d:function(){return 4294967295^e}}},Met=function(e,t,r,n,i){return(function(a,s,o,l,c,u){var d=a.length,h=new _s(l+d+5*(1+Math.floor(d/7e3))+c),p=h.subarray(l,h.length-c),m=0;if(!s||d<8)for(var g=0;g<=d;g+=65535){var b=g+65535;b<d?m=GI(p,m,a.subarray(g,b)):(p[g]=u,m=GI(p,m,a.subarray(g,d)))}else{for(var y=Ret[s-1],v=y>>>13,S=8191&y,x=(1<<o)-1,w=new va(32768),A=new va(x+1),_=Math.ceil(o/3),C=2*_,E=function(be){return(a[be]^a[be+1]<<_^a[be+2]<<C)&x},R=new og(25e3),P=new va(288),O=new va(32),k=0,I=0,M=(g=0,0),D=0,F=0;g<d;++g){var $=E(g),Y=32767&g,he=A[$];if(w[Y]=he,A[$]=Y,D<=g){var fe=d-g;if((k>7e3||M>24576)&&fe>423){m=_J(a,p,0,R,P,O,I,M,F,g-F,m),M=k=I=0,F=g;for(var U=0;U<286;++U)P[U]=0;for(U=0;U<30;++U)O[U]=0}var W=2,H=0,ie=S,J=Y-he&32767;if(fe>2&&$==E(g-J))for(var we=Math.min(v,fe)-1,Le=Math.min(32767,g),Ye=Math.min(258,fe);J<=Le&&--ie&&Y!=he;){if(a[g+W]==a[g+W-J]){for(var oe=0;oe<Ye&&a[g+oe]==a[g+oe-J];++oe);if(oe>W){if(W=oe,H=J,oe>we)break;var X=Math.min(J,oe-2),se=0;for(U=0;U<X;++U){var Ce=g-J+U+32768&32767,ce=Ce-w[Ce]+32768&32767;ce>se&&(se=ce,he=Ce)}}}J+=(Y=he)-(he=w[Y])+32768&32767}if(H){R[M++]=268435456|HI[W]<<18|xJ[H];var le=31&HI[W],Te=31&xJ[H];I+=IB[le]+OB[Te],++P[257+le],++O[Te],D=g+W,++k}else R[M++]=a[g],++P[a[g]]}}m=_J(a,p,u,R,P,O,I,M,F,g-F,m)}return sme(h,0,l+ame(m)+c)})(e,t.level==null?6:t.level,t.mem==null?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,r,n,!0)},VI=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8},ket=function(e,t){var r=t.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=t.level<2?4:t.level==9?2:0,e[9]=3,t.mtime!=0&&VI(e,4,Math.floor(new Date(t.mtime||Date.now())/1e3)),r){e[3]=8;for(var n=0;n<=r.length;++n)e[n+10]=r.charCodeAt(n)}},Det=function(e){return 10+(e.filename&&e.filename.length+1||0)};function ome(e,t){t===void 0&&(t={});var r=Oet(),n=e.length;r.p(e);var i=Met(e,t,Det(t),8),a=i.length;return ket(i,t),VI(i,a-8,r.d()),VI(i,a-4,n),i}function lme(e,t){var r=e.length;if(typeof TextEncoder<"u")return new TextEncoder().encode(e);for(var n=new _s(e.length+(e.length>>>1)),i=0,a=function(c){n[i++]=c},s=0;s<r;++s){if(i+5>n.length){var o=new _s(i+8+(r-s<<1));o.set(n),n=o}var l=e.charCodeAt(s);l<128||t?a(l):l<2048?(a(192|l>>>6),a(128|63&l)):l>55295&&l<57344?(a(240|(l=65536+(1047552&l)|1023&e.charCodeAt(++s))>>>18),a(128|l>>>12&63),a(128|l>>>6&63),a(128|63&l)):(a(224|l>>>12),a(128|l>>>6&63),a(128|63&l))}return sme(n,0,i)}function Let(e,t){return(function(r){for(var n=0,i=0;i<r.length;i++)n=(n<<5)-n+r.charCodeAt(i),n|=0;return Math.abs(n)})(e)%100<Ya(100*t,0,100,ot)}var Td="disabled",MB="sampled",OS="active",bh="buffering",kB="paused",DB="trigger",xl=DB+"_activated",ki=DB+"_pending",Il=DB+"_"+Td;function AJ(e,t){return t.some((r=>r.matching==="regex"&&new RegExp(r.url).test(e)))}let cme=class{constructor(t){this.It=t}triggerStatus(t){var r=this.It.map((n=>n.triggerStatus(t)));return r.includes(xl)?xl:r.includes(ki)?ki:Il}stop(){this.It.forEach((t=>t.stop()))}},ume=class{constructor(t){this.It=t}triggerStatus(t){var r=new Set;for(var n of this.It)r.add(n.triggerStatus(t));switch(r.delete(Il),r.size){case 0:return Il;case 1:return Array.from(r)[0];default:return ki}}stop(){this.It.forEach((t=>t.stop()))}},Fet=class{triggerStatus(){return ki}stop(){}},$et=class{constructor(t){this.Pt=[],this.Rt=[],this.urlBlocked=!1,this._instance=t}onRemoteConfig(t){var r,n;this.Pt=((r=t.sessionRecording)==null?void 0:r.urlTriggers)||[],this.Rt=((n=t.sessionRecording)==null?void 0:n.urlBlocklist)||[]}Tt(t){var r;return this.Pt.length===0?Il:((r=this._instance)==null?void 0:r.get_property(II))===t?xl:ki}triggerStatus(t){var r=this.Tt(t),n=r===xl?xl:r===ki?ki:Il;return this._instance.register_for_session({$sdk_debug_replay_url_trigger_status:n}),n}checkUrlTriggerConditions(t,r,n){if(De!==void 0&&De.location.href){var i=De.location.href,a=this.urlBlocked,s=AJ(i,this.Rt);a&&s||(s&&!a?t():!s&&a&&r(),AJ(i,this.Pt)&&n("url"))}}stop(){}},Bet=class{constructor(t){this.linkedFlag=null,this.linkedFlagSeen=!1,this.Ct=()=>{},this._instance=t}triggerStatus(){var t=ki;return Dr(this.linkedFlag)&&(t=Il),this.linkedFlagSeen&&(t=xl),this._instance.register_for_session({$sdk_debug_replay_linked_flag_trigger_status:t}),t}onRemoteConfig(t,r){var n;if(this.linkedFlag=((n=t.sessionRecording)==null?void 0:n.linkedFlag)||null,!Dr(this.linkedFlag)&&!this.linkedFlagSeen){var i=on(this.linkedFlag)?this.linkedFlag:this.linkedFlag.flag,a=on(this.linkedFlag)?null:this.linkedFlag.variant;this.Ct=this._instance.onFeatureFlags(((s,o)=>{var l=!1;if(sn(o)&&i in o){var c=o[i];l=sl(c)?c===!0:a?c===a:!!c}this.linkedFlagSeen=l,l&&r(i,a)}))}}stop(){this.Ct()}},Net=class{constructor(t){this.Mt=[],this._instance=t}onRemoteConfig(t){var r;this.Mt=((r=t.sessionRecording)==null?void 0:r.eventTriggers)||[]}Ot(t){var r;return this.Mt.length===0?Il:((r=this._instance)==null?void 0:r.get_property(OI))===t?xl:ki}triggerStatus(t){var r=this.Ot(t),n=r===xl?xl:r===ki?ki:Il;return this._instance.register_for_session({$sdk_debug_replay_event_trigger_status:n}),n}stop(){}};function qet(e){return e.isRecordingEnabled?bh:Td}function zet(e){if(!e.receivedFlags)return bh;if(!e.isRecordingEnabled)return Td;if(e.urlTriggerMatching.urlBlocked)return kB;var t=e.isSampled===!0,r=new cme([e.eventTriggerMatching,e.urlTriggerMatching,e.linkedFlagMatching]).triggerStatus(e.sessionId);return t?MB:r===xl?OS:r===ki?bh:e.isSampled===!1?Td:OS}function Wet(e){if(!e.receivedFlags)return bh;if(!e.isRecordingEnabled)return Td;if(e.urlTriggerMatching.urlBlocked)return kB;var t=new ume([e.eventTriggerMatching,e.urlTriggerMatching,e.linkedFlagMatching]).triggerStatus(e.sessionId),r=t!==Il,n=sl(e.isSampled);return r&&t===ki?bh:r&&t===Il||n&&!e.isSampled?Td:e.isSampled===!0?MB:OS}var Yb="[SessionRecording]",Hn=qn(Yb);function t3(){var e;return Ot==null||(e=Ot.__PosthogExtensions__)==null||(e=e.rrweb)==null?void 0:e.record}var Het=3e5,Uet=[eo.MouseMove,eo.MouseInteraction,eo.Scroll,eo.ViewportResize,eo.Input,eo.TouchMove,eo.MediaInteraction,eo.Drag],CJ=e=>({rrwebMethod:e,enqueuedAt:Date.now(),attempt:1});function up(e){return(function(t,r){for(var n="",i=0;i<t.length;){var a=t[i++];n+=String.fromCharCode(a)}return n})(ome(lme(JSON.stringify(e))))}function EJ(e){return e.type===xc.Custom&&e.data.tag==="sessionIdle"}let PJ=class{get sessionId(){return this.Ft}get At(){return this._instance.config.session_recording.session_idle_threshold_ms||3e5}get started(){return this.Dt}get jt(){if(!this._instance.sessionManager)throw new Error(Yb+" must be started with a valid sessionManager.");return this._instance.sessionManager}get Lt(){var t,r;return this.Nt.triggerStatus(this.sessionId)===ki?6e4:(t=(r=this._instance.config.session_recording)==null?void 0:r.full_snapshot_interval_millis)!==null&&t!==void 0?t:Het}get zt(){var t=this._instance.get_property(Ub);return sl(t)?t:null}get Ut(){var t,r,n=(t=this.H)==null?void 0:t.data[((r=this.H)==null?void 0:r.data.length)-1],{sessionStartTimestamp:i}=this.jt.checkAndGetSessionAndWindowId(!0);return n?n.timestamp-i:null}get qt(){var t=!!this._instance.get_property(I5),r=!this._instance.config.disable_session_recording;return De&&t&&r}get Bt(){var t=!!this._instance.get_property(rJ),r=this._instance.config.enable_recording_console_log;return r!=null?r:t}get Ht(){var t,r,n,i,a,s,o=this._instance.config.session_recording.captureCanvas,l=this._instance.get_property(aJ),c=(t=(r=o==null?void 0:o.recordCanvas)!==null&&r!==void 0?r:l==null?void 0:l.enabled)!==null&&t!==void 0&&t,u=(n=(i=o==null?void 0:o.canvasFps)!==null&&i!==void 0?i:l==null?void 0:l.fps)!==null&&n!==void 0?n:4,d=(a=(s=o==null?void 0:o.canvasQuality)!==null&&s!==void 0?s:l==null?void 0:l.quality)!==null&&a!==void 0?a:.4;if(typeof d=="string"){var h=parseFloat(d);d=isNaN(h)?.4:h}return{enabled:c,fps:Ya(u,0,12,Hn.createLogger("canvas recording fps"),4),quality:Ya(d,0,1,Hn.createLogger("canvas recording quality"),.4)}}get Wt(){var t,r,n=this._instance.get_property(nJ),i={recordHeaders:(t=this._instance.config.session_recording)==null?void 0:t.recordHeaders,recordBody:(r=this._instance.config.session_recording)==null?void 0:r.recordBody},a=(i==null?void 0:i.recordHeaders)||(n==null?void 0:n.recordHeaders),s=(i==null?void 0:i.recordBody)||(n==null?void 0:n.recordBody),o=sn(this._instance.config.capture_performance)?this._instance.config.capture_performance.network_timing:this._instance.config.capture_performance,l=!!(sl(o)?o:n!=null&&n.capturePerformance);return a||s||l?{recordHeaders:a,recordBody:s,recordPerformance:l}:void 0}get Gt(){var t,r,n,i,a,s,o=this._instance.get_property(iJ),l={maskAllInputs:(t=this._instance.config.session_recording)==null?void 0:t.maskAllInputs,maskTextSelector:(r=this._instance.config.session_recording)==null?void 0:r.maskTextSelector,blockSelector:(n=this._instance.config.session_recording)==null?void 0:n.blockSelector},c=(i=l==null?void 0:l.maskAllInputs)!==null&&i!==void 0?i:o==null?void 0:o.maskAllInputs,u=(a=l==null?void 0:l.maskTextSelector)!==null&&a!==void 0?a:o==null?void 0:o.maskTextSelector,d=(s=l==null?void 0:l.blockSelector)!==null&&s!==void 0?s:o==null?void 0:o.blockSelector;return rt(c)&&rt(u)&&rt(d)?void 0:{maskAllInputs:c==null||c,maskTextSelector:u,blockSelector:d}}get Jt(){var t=this._instance.get_property(sJ);return ji(t)?t:null}get Vt(){var t=this._instance.get_property(oJ);return ji(t)?t:null}get status(){return this.Kt?this.Yt({receivedFlags:this.Kt,isRecordingEnabled:this.qt,isSampled:this.zt,urlTriggerMatching:this.Xt,eventTriggerMatching:this.Qt,linkedFlagMatching:this.Zt,sessionId:this.sessionId}):bh}constructor(t){if(this.Yt=qet,this.Kt=!1,this.ti=[],this.ii="unknown",this.ei=Date.now(),this.Nt=new Fet,this.ri=void 0,this.si=void 0,this.ni=void 0,this.oi=void 0,this.ai=void 0,this._forceAllowLocalhostNetworkCapture=!1,this.li=()=>{this.hi()},this.ui=()=>{this.tryAddCustomEvent("browser offline",{})},this.di=()=>{this.tryAddCustomEvent("browser online",{})},this.vi=()=>{if(ct!=null&&ct.visibilityState){var i="window "+ct.visibilityState;this.tryAddCustomEvent(i,{})}},this._instance=t,this.Dt=!1,this.ci="/s/",this.fi=void 0,this.Kt=!1,!this._instance.sessionManager)throw Hn.error("started without valid sessionManager"),new Error(Yb+" started without valid sessionManager. This is a bug.");if(this._instance.config.cookieless_mode==="always")throw new Error(Yb+' cannot be used with cookieless_mode="always"');this.Zt=new Bet(this._instance),this.Xt=new $et(this._instance),this.Qt=new Net(this._instance);var{sessionId:r,windowId:n}=this.jt.checkAndGetSessionAndWindowId();this.Ft=r,this.pi=n,this.H=this.gi(),this.At>=this.jt.sessionTimeoutMs&&Hn.warn("session_idle_threshold_ms ("+this.At+") is greater than the session timeout ("+this.jt.sessionTimeoutMs+"). Session will never be detected as idle")}startIfEnabledOrStop(t){this.qt?(this.mi(t),N0(De,"beforeunload",this.li),N0(De,"offline",this.ui),N0(De,"online",this.di),N0(De,"visibilitychange",this.vi),this.bi(),this.yi(),Dr(this.ri)&&(this.ri=this._instance.on("eventCaptured",(r=>{try{if(r.event==="$pageview"){var n=r!=null&&r.properties.$current_url?this.wi(r==null?void 0:r.properties.$current_url):"";if(!n)return;this.tryAddCustomEvent("$pageview",{href:n})}}catch(i){Hn.error("Could not add $pageview to rrweb session",i)}}))),this.si||(this.si=this.jt.onSessionId(((r,n,i)=>{var a,s;i&&(this.tryAddCustomEvent("$session_id_change",{sessionId:r,windowId:n,changeReason:i}),(a=this._instance)==null||(a=a.persistence)==null||a.unregister(OI),(s=this._instance)==null||(s=s.persistence)==null||s.unregister(II))})))):this.stopRecording()}stopRecording(){var t,r,n,i;this.Dt&&this.fi&&(this.fi(),this.fi=void 0,this.Dt=!1,De==null||De.removeEventListener("beforeunload",this.li),De==null||De.removeEventListener("offline",this.ui),De==null||De.removeEventListener("online",this.di),De==null||De.removeEventListener("visibilitychange",this.vi),this.gi(),clearInterval(this.Si),(t=this.ri)==null||t.call(this),this.ri=void 0,(r=this.ai)==null||r.call(this),this.ai=void 0,(n=this.si)==null||n.call(this),this.si=void 0,(i=this.oi)==null||i.call(this),this.oi=void 0,this.Qt.stop(),this.Xt.stop(),this.Zt.stop(),Hn.info("stopped"))}$i(){var t;(t=this._instance.persistence)==null||t.unregister(Ub)}xi(t){var r,n=this.Ft!==t,i=this.Jt;if(ji(i)){var a=this.zt,s=n||!sl(a),o=s?Let(t,i):a;s&&(o?this.ki(MB):Hn.warn("Sample rate ("+i+") has determined that this sessionId ("+t+") will not be sent to the server."),this.tryAddCustomEvent("samplingDecisionMade",{sampleRate:i,isSampled:o})),(r=this._instance.persistence)==null||r.register({[Ub]:o})}else this.$i()}onRemoteConfig(t){var r,n,i,a;this.tryAddCustomEvent("$remote_config_received",t),this.Ei(t),(r=t.sessionRecording)!=null&&r.endpoint&&(this.ci=(a=t.sessionRecording)==null?void 0:a.endpoint),this.bi(),((n=t.sessionRecording)==null?void 0:n.triggerMatchType)==="any"?(this.Yt=zet,this.Nt=new cme([this.Qt,this.Xt])):(this.Yt=Wet,this.Nt=new ume([this.Qt,this.Xt])),this._instance.register_for_session({$sdk_debug_replay_remote_trigger_matching_config:(i=t.sessionRecording)==null?void 0:i.triggerMatchType}),this.Xt.onRemoteConfig(t),this.Qt.onRemoteConfig(t),this.Zt.onRemoteConfig(t,((s,o)=>{this.ki("linked_flag_matched",{flag:s,variant:o})})),this.Kt=!0,this.startIfEnabledOrStop()}bi(){ji(this.Jt)&&Dr(this.oi)&&(this.oi=this.jt.onSessionId((t=>{this.xi(t)})))}Ei(t){if(this._instance.persistence){var r,n=this._instance.persistence,i=()=>{var a,s,o,l,c,u,d,h,p,m=(a=t.sessionRecording)==null?void 0:a.sampleRate,g=Dr(m)?null:parseFloat(m);Dr(g)&&this.$i();var b=(s=t.sessionRecording)==null?void 0:s.minimumDurationMilliseconds;n.register({[I5]:!!t.sessionRecording,[rJ]:(o=t.sessionRecording)==null?void 0:o.consoleLogRecordingEnabled,[nJ]:st({capturePerformance:t.capturePerformance},(l=t.sessionRecording)==null?void 0:l.networkPayloadCapture),[iJ]:(c=t.sessionRecording)==null?void 0:c.masking,[aJ]:{enabled:(u=t.sessionRecording)==null?void 0:u.recordCanvas,fps:(d=t.sessionRecording)==null?void 0:d.canvasFps,quality:(h=t.sessionRecording)==null?void 0:h.canvasQuality},[sJ]:g,[oJ]:rt(b)?null:b,[SS]:(p=t.sessionRecording)==null?void 0:p.scriptConfig})};i(),(r=this.ni)==null||r.call(this),this.ni=this.jt.onSessionId(i)}}log(t,r){var n;r===void 0&&(r="log"),(n=this._instance.sessionRecording)==null||n.onRRwebEmit({type:6,data:{plugin:"rrweb/console@1",payload:{level:r,trace:[],payload:[JSON.stringify(t)]}},timestamp:Date.now()})}mi(t){if(!rt(Object.assign)&&!rt(Array.from)&&!(this.Dt||this._instance.config.disable_session_recording||this._instance.consent.isOptedOut())){var r;this.Dt=!0,this.jt.checkAndGetSessionAndWindowId(),t3()?this.Ii():(r=Ot.__PosthogExtensions__)==null||r.loadExternalDependency==null||r.loadExternalDependency(this._instance,this.Pi,(n=>{if(n)return Hn.error("could not load recorder",n);this.Ii()})),Hn.info("starting"),this.status===OS&&this.ki(t||"recording_initialized")}}get Pi(){var t;return((t=this._instance)==null||(t=t.persistence)==null||(t=t.get_property(SS))==null?void 0:t.script)||"recorder"}Ri(t){var r;return t.type===3&&Uet.indexOf((r=t.data)==null?void 0:r.source)!==-1}Ti(t){var r=this.Ri(t);r||this.ii||t.timestamp-this.ei>this.At&&(this.ii=!0,clearInterval(this.Si),this.tryAddCustomEvent("sessionIdle",{eventTimestamp:t.timestamp,lastActivityTimestamp:this.ei,threshold:this.At,bufferLength:this.H.data.length,bufferSize:this.H.size}),this.hi());var n=!1;if(r&&(this.ei=t.timestamp,this.ii)){var i=this.ii==="unknown";this.ii=!1,i||(this.tryAddCustomEvent("sessionNoLongerIdle",{reason:"user activity",type:t.type}),n=!0)}if(!this.ii){var{windowId:a,sessionId:s}=this.jt.checkAndGetSessionAndWindowId(!r,t.timestamp),o=this.Ft!==s,l=this.pi!==a;this.pi=a,this.Ft=s,o||l?(this.stopRecording(),this.startIfEnabledOrStop("session_id_changed")):n&&this.Ci()}}Mi(t){try{return t.rrwebMethod(),!0}catch(r){return this.ti.length<10?this.ti.push({enqueuedAt:t.enqueuedAt||Date.now(),attempt:t.attempt++,rrwebMethod:t.rrwebMethod}):Hn.warn("could not emit queued rrweb event.",r,t),!1}}tryAddCustomEvent(t,r){return this.Mi(CJ((()=>t3().addCustomEvent(t,r))))}Oi(){return this.Mi(CJ((()=>t3().takeFullSnapshot())))}Ii(){var t,r,n,i,a={blockClass:"ph-no-capture",blockSelector:void 0,ignoreClass:"ph-ignore-input",maskTextClass:"ph-mask",maskTextSelector:void 0,maskTextFn:void 0,maskAllInputs:!0,maskInputOptions:{password:!0},maskInputFn:void 0,slimDOMOptions:{},collectFonts:!1,inlineStylesheet:!0,recordCrossOriginIframes:!1},s=this._instance.config.session_recording;for(var[o,l]of Object.entries(s||{}))o in a&&(o==="maskInputOptions"?a.maskInputOptions=st({password:!0},l):a[o]=l);this.Ht&&this.Ht.enabled&&(a.recordCanvas=!0,a.sampling={canvas:this.Ht.fps},a.dataURLOptions={type:"image/webp",quality:this.Ht.quality}),this.Gt&&(a.maskAllInputs=(r=this.Gt.maskAllInputs)===null||r===void 0||r,a.maskTextSelector=(n=this.Gt.maskTextSelector)!==null&&n!==void 0?n:void 0,a.blockSelector=(i=this.Gt.blockSelector)!==null&&i!==void 0?i:void 0);var c=t3();if(c){this.Fi=(t=this.Fi)!==null&&t!==void 0?t:new Cet(c,{refillRate:this._instance.config.session_recording.__mutationThrottlerRefillRate,bucketSize:this._instance.config.session_recording.__mutationThrottlerBucketSize,onBlockedNode:(d,h)=>{var p="Too many mutations on node '"+d+"'. Rate limiting. This could be due to SVG animations or something similar";Hn.info(p,{node:h}),this.log(Yb+" "+p,"warn")}});var u=this.Ai();this.fi=c(st({emit:d=>{this.onRRwebEmit(d)},plugins:u},a)),this.ei=Date.now(),this.ii=sl(this.ii)?this.ii:"unknown",this.tryAddCustomEvent("$session_options",{sessionRecordingOptions:a,activePlugins:u.map((d=>d==null?void 0:d.name))}),this.tryAddCustomEvent("$posthog_config",{config:this._instance.config})}else Hn.error("onScriptLoaded was called but rrwebRecord is not available. This indicates something has gone wrong.")}Ci(){if(this.Si&&clearInterval(this.Si),this.ii!==!0){var t=this.Lt;t&&(this.Si=setInterval((()=>{this.Oi()}),t))}}Ai(){var t,r,n=[],i=(t=Ot.__PosthogExtensions__)==null||(t=t.rrwebPlugins)==null?void 0:t.getRecordConsolePlugin;i&&this.Bt&&n.push(i());var a=(r=Ot.__PosthogExtensions__)==null||(r=r.rrwebPlugins)==null?void 0:r.getRecordNetworkPlugin;return this.Wt&&ws(a)&&(!WZe.includes(location.hostname)||this._forceAllowLocalhostNetworkCapture?n.push(a(Aet(this._instance.config,this.Wt))):Hn.info("NetworkCapture not started because we are on localhost.")),n}onRRwebEmit(t){var r;if(this.Di(),t&&sn(t)){if(t.type===xc.Meta){var n=this.wi(t.data.href);if(this.ji=n,!n)return;t.data.href=n}else this.Li();if(this.Xt.checkUrlTriggerConditions((()=>this.Ni()),(()=>this.zi()),(h=>this.Ui(h))),!this.Xt.urlBlocked||(i=t).type===xc.Custom&&i.data.tag==="recording paused"){var i;t.type===xc.FullSnapshot&&this.Ci(),t.type===xc.FullSnapshot&&this.Kt&&this.Nt.triggerStatus(this.sessionId)===ki&&this.gi();var a=this.Fi?this.Fi.throttleMutations(t):t;if(a){var s=(function(h){var p=h;if(p&&sn(p)&&p.type===6&&sn(p.data)&&p.data.plugin==="rrweb/console@1"){p.data.payload.payload.length>10&&(p.data.payload.payload=p.data.payload.payload.slice(0,10),p.data.payload.payload.push("...[truncated]"));for(var m=[],g=0;g<p.data.payload.payload.length;g++)p.data.payload.payload[g]&&p.data.payload.payload[g].length>2e3?m.push(p.data.payload.payload[g].slice(0,2e3)+"...[truncated]"):m.push(p.data.payload.payload[g]);return p.data.payload.payload=m,h}return h})(a);if(this.Ti(s),this.ii!==!0||EJ(s)){if(EJ(s)){var o=s.data.payload;if(o){var l=o.lastActivityTimestamp,c=o.threshold;s.timestamp=l+c}}var u=(r=this._instance.config.session_recording.compress_events)===null||r===void 0||r?(function(h){if(RS(h)<1024)return h;try{if(h.type===xc.FullSnapshot)return st({},h,{data:up(h.data),cv:"2024-10"});if(h.type===xc.IncrementalSnapshot&&h.data.source===eo.Mutation)return st({},h,{cv:"2024-10",data:st({},h.data,{texts:up(h.data.texts),attributes:up(h.data.attributes),removes:up(h.data.removes),adds:up(h.data.adds)})});if(h.type===xc.IncrementalSnapshot&&h.data.source===eo.StyleSheetRule)return st({},h,{cv:"2024-10",data:st({},h.data,{adds:h.data.adds?up(h.data.adds):void 0,removes:h.data.removes?up(h.data.removes):void 0})})}catch(p){Hn.error("could not compress event - will use uncompressed event",p)}return h})(s):s,d={$snapshot_bytes:RS(u),$snapshot_data:u,$session_id:this.Ft,$window_id:this.pi};this.status!==Td?this.qi(d):this.gi()}}}}}Li(){if(!this._instance.config.capture_pageview&&De){var t=this.wi(De.location.href);this.ji!==t&&(this.tryAddCustomEvent("$url_changed",{href:t}),this.ji=t)}}Di(){if(this.ti.length){var t=[...this.ti];this.ti=[],t.forEach((r=>{Date.now()-r.enqueuedAt<=2e3&&this.Mi(r)}))}}wi(t){var r=this._instance.config.session_recording;if(r.maskNetworkRequestFn){var n,i={url:t};return(n=i=r.maskNetworkRequestFn(i))==null?void 0:n.url}return t}gi(){return this.H={size:0,data:[],sessionId:this.Ft,windowId:this.pi},this.H}hi(){this.Bi&&(clearTimeout(this.Bi),this.Bi=void 0);var t=this.Vt,r=this.Ut,n=ji(r)&&r>=0,i=ji(t)&&n&&r<t;return this.status===bh||this.status===kB||this.status===Td||i?(this.Bi=setTimeout((()=>{this.hi()}),2e3),this.H):(this.H.data.length>0&&qI(this.H).forEach((a=>{this.Hi({$snapshot_bytes:a.size,$snapshot_data:a.data,$session_id:a.sessionId,$window_id:a.windowId,$lib:"web",$lib_version:_c.LIB_VERSION})})),this.gi())}qi(t){var r,n=2+(((r=this.H)==null?void 0:r.data.length)||0);!this.ii&&(this.H.size+t.$snapshot_bytes+n>943718.4||this.H.sessionId!==this.Ft)&&(this.H=this.hi()),this.H.size+=t.$snapshot_bytes,this.H.data.push(t.$snapshot_data),this.Bi||this.ii||(this.Bi=setTimeout((()=>{this.hi()}),2e3))}Hi(t){this._instance.capture("$snapshot",t,{_url:this._instance.requestRouter.endpointFor("api",this.ci),_noTruncate:!0,_batchKey:"recordings",skip_client_rate_limiting:!0})}Ui(t){var r;this.Nt.triggerStatus(this.sessionId)===ki&&((r=this._instance)==null||(r=r.persistence)==null||r.register({[t==="url"?II:OI]:this.Ft}),this.hi(),this.ki(t+"_trigger_matched"))}Ni(){this.Xt.urlBlocked||(this.Xt.urlBlocked=!0,clearInterval(this.Si),Hn.info("recording paused due to URL blocker"),this.tryAddCustomEvent("recording paused",{reason:"url blocker"}))}zi(){this.Xt.urlBlocked&&(this.Xt.urlBlocked=!1,this.Oi(),this.Ci(),this.tryAddCustomEvent("recording resumed",{reason:"left blocked url"}),Hn.info("recording resumed"))}yi(){this.Qt.Mt.length!==0&&Dr(this.ai)&&(this.ai=this._instance.on("eventCaptured",(t=>{try{this.Qt.Mt.includes(t.event)&&this.Ui("event")}catch(r){Hn.error("Could not activate event trigger",r)}})))}overrideLinkedFlag(){this.Zt.linkedFlagSeen=!0,this.Oi(),this.ki("linked_flag_overridden")}overrideSampling(){var t;(t=this._instance.persistence)==null||t.register({[Ub]:!0}),this.Oi(),this.ki("sampling_overridden")}overrideTrigger(t){this.Ui(t)}ki(t,r){this._instance.register_for_session({$session_recording_start_reason:t}),Hn.info(t.replace("_"," "),r),dr(["recording_initialized","session_id_changed"],t)||this.tryAddCustomEvent(t,r)}get sdkDebugProperties(){var{sessionStartTimestamp:t}=this.jt.checkAndGetSessionAndWindowId(!0);return{$recording_status:this.status,$sdk_debug_replay_internal_buffer_length:this.H.data.length,$sdk_debug_replay_internal_buffer_size:this.H.size,$sdk_debug_current_session_duration:this.Ut,$sdk_debug_session_start:t}}};var dC=qn("[SegmentIntegration]");function Get(e,t){var r=e.config.segment;if(!r)return t();(function(n,i){var a=n.config.segment;if(!a)return i();var s=l=>{var c=()=>l.anonymousId()||Zu();n.config.get_device_id=c,l.id()&&(n.register({distinct_id:l.id(),$device_id:c()}),n.persistence.set_property(Tc,"identified")),i()},o=a.user();"then"in o&&ws(o.then)?o.then((l=>s(l))):s(o)})(e,(()=>{r.register((n=>{Promise&&Promise.resolve||dC.warn("This browser does not have Promise support, and can not use the segment integration");var i=(a,s)=>{if(!s)return a;a.event.userId||a.event.anonymousId===n.get_distinct_id()||(dC.info("No userId set, resetting PostHog"),n.reset()),a.event.userId&&a.event.userId!==n.get_distinct_id()&&(dC.info("UserId set, identifying with PostHog"),n.identify(a.event.userId));var o=n.calculateEventProperties(s,a.event.properties);return a.event.properties=Object.assign({},o,a.event.properties),a};return{name:"PostHog JS",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:a=>i(a,a.event.event),page:a=>i(a,"$pageview"),identify:a=>i(a,"$identify"),screen:a=>i(a,"$screen")}})(e)).then((()=>{t()}))}))}var dme="posthog-js";function pme(e,t){var{organization:r,projectId:n,prefix:i,severityAllowList:a=["error"],sendExceptionsToPostHog:s=!0}=t===void 0?{}:t;return o=>{var l,c,u,d,h;if(!(a==="*"||a.includes(o.level))||!e.__loaded)return o;o.tags||(o.tags={});var p=e.requestRouter.endpointFor("ui","/project/"+e.config.token+"/person/"+e.get_distinct_id());o.tags["PostHog Person URL"]=p,e.sessionRecordingStarted()&&(o.tags["PostHog Recording URL"]=e.get_session_replay_url({withTimestamp:!0}));var m=((l=o.exception)==null?void 0:l.values)||[],g=m.map((y=>st({},y,{stacktrace:y.stacktrace?st({},y.stacktrace,{type:"raw",frames:(y.stacktrace.frames||[]).map((v=>st({},v,{platform:"web:javascript"})))}):void 0}))),b={$exception_message:((c=m[0])==null?void 0:c.value)||o.message,$exception_type:(u=m[0])==null?void 0:u.type,$exception_personURL:p,$exception_level:o.level,$exception_list:g,$sentry_event_id:o.event_id,$sentry_exception:o.exception,$sentry_exception_message:((d=m[0])==null?void 0:d.value)||o.message,$sentry_exception_type:(h=m[0])==null?void 0:h.type,$sentry_tags:o.tags};return r&&n&&(b.$sentry_url=(i||"https://sentry.io/organizations/")+r+"/issues/?project="+n+"&query="+o.event_id),s&&e.exceptions.sendExceptionEvent(b),o}}let Vet=class{constructor(t,r,n,i,a,s){this.name=dme,this.setupOnce=function(o){o(pme(t,{organization:r,projectId:n,prefix:i,severityAllowList:a,sendExceptionsToPostHog:s==null||s}))}}};var Yet=De!=null&&De.location?PS(De.location.hash,"__posthog")||PS(location.hash,"state"):null,jJ="_postHogToolbarParams",RJ=qn("[Toolbar]"),Du=(function(e){return e[e.UNINITIALIZED=0]="UNINITIALIZED",e[e.LOADING=1]="LOADING",e[e.LOADED=2]="LOADED",e})(Du||{});let Ket=class{constructor(t){this.instance=t}Wi(t){Ot.ph_toolbar_state=t}Gi(){var t;return(t=Ot.ph_toolbar_state)!==null&&t!==void 0?t:Du.UNINITIALIZED}maybeLoadToolbar(t,r,n){if(t===void 0&&(t=void 0),r===void 0&&(r=void 0),n===void 0&&(n=void 0),!De||!ct)return!1;t=t!=null?t:De.location,n=n!=null?n:De.history;try{if(!r){try{De.localStorage.setItem("test","test"),De.localStorage.removeItem("test")}catch(o){return!1}r=De==null?void 0:De.localStorage}var i,a=Yet||PS(t.hash,"__posthog")||PS(t.hash,"state"),s=a?XQ((()=>JSON.parse(atob(decodeURIComponent(a)))))||XQ((()=>JSON.parse(decodeURIComponent(a)))):null;return s&&s.action==="ph_authorize"?((i=s).source="url",i&&Object.keys(i).length>0&&(s.desiredHash?t.hash=s.desiredHash:n?n.replaceState(n.state,"",t.pathname+t.search):t.hash="")):((i=JSON.parse(r.getItem(jJ)||"{}")).source="localstorage",delete i.userIntent),!(!i.token||this.instance.config.token!==i.token)&&(this.loadToolbar(i),!0)}catch(o){return!1}}Ji(t){var r=Ot.ph_load_toolbar||Ot.ph_load_editor;!Dr(r)&&ws(r)?r(t,this.instance):RJ.warn("No toolbar load function found")}loadToolbar(t){var r=!(ct==null||!ct.getElementById($fe));if(!De||r)return!1;var n=this.instance.requestRouter.region==="custom"&&this.instance.config.advanced_disable_toolbar_metrics,i=st({token:this.instance.config.token},t,{apiURL:this.instance.requestRouter.endpointFor("ui")},n?{instrument:!1}:{});if(De.localStorage.setItem(jJ,JSON.stringify(st({},i,{source:void 0}))),this.Gi()===Du.LOADED)this.Ji(i);else if(this.Gi()===Du.UNINITIALIZED){var a;this.Wi(Du.LOADING),(a=Ot.__PosthogExtensions__)==null||a.loadExternalDependency==null||a.loadExternalDependency(this.instance,"toolbar",(s=>{if(s)return RJ.error("[Toolbar] Failed to load",s),void this.Wi(Du.UNINITIALIZED);this.Wi(Du.LOADED),this.Ji(i)})),N0(De,"turbolinks:load",(()=>{this.Wi(Du.UNINITIALIZED),this.loadToolbar(i)}))}return!0}Vi(t){return this.loadToolbar(t)}maybeLoadEditor(t,r,n){return t===void 0&&(t=void 0),r===void 0&&(r=void 0),n===void 0&&(n=void 0),this.maybeLoadToolbar(t,r,n)}};var Xet=qn("[TracingHeaders]");let Qet=class{constructor(t){this.Ki=void 0,this.Yi=void 0,this.lt=()=>{var r,n;rt(this.Ki)&&((r=Ot.__PosthogExtensions__)==null||(r=r.tracingHeadersPatchFns)==null||r._patchXHR(this._instance.config.__add_tracing_headers||[],this._instance.get_distinct_id(),this._instance.sessionManager)),rt(this.Yi)&&((n=Ot.__PosthogExtensions__)==null||(n=n.tracingHeadersPatchFns)==null||n._patchFetch(this._instance.config.__add_tracing_headers||[],this._instance.get_distinct_id(),this._instance.sessionManager))},this._instance=t}nt(t){var r,n;(r=Ot.__PosthogExtensions__)!=null&&r.tracingHeadersPatchFns&&t(),(n=Ot.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,"tracing-headers",(i=>{if(i)return Xet.error("failed to load script",i);t()}))}startIfEnabledOrStop(){var t,r;this._instance.config.__add_tracing_headers?this.nt(this.lt):((t=this.Ki)==null||t.call(this),(r=this.Yi)==null||r.call(this),this.Ki=void 0,this.Yi=void 0)}};var Cu=qn("[Web Vitals]"),IJ=9e5;let Jet=class{constructor(t){var r;this.Xi=!1,this.C=!1,this.H={url:void 0,metrics:[],firstMetricTimestamp:void 0},this.Qi=()=>{clearTimeout(this.Zi),this.H.metrics.length!==0&&(this._instance.capture("$web_vitals",this.H.metrics.reduce(((n,i)=>st({},n,{["$web_vitals_"+i.name+"_event"]:st({},i),["$web_vitals_"+i.name+"_value"]:i.value})),{})),this.H={url:void 0,metrics:[],firstMetricTimestamp:void 0})},this.te=n=>{var i,a=(i=this._instance.sessionManager)==null?void 0:i.checkAndGetSessionAndWindowId(!0);if(rt(a))Cu.error("Could not read session ID. Dropping metrics!");else{this.H=this.H||{url:void 0,metrics:[],firstMetricTimestamp:void 0};var s=this.ie();rt(s)||(Dr(n==null?void 0:n.name)||Dr(n==null?void 0:n.value)?Cu.error("Invalid metric received",n):this.ee&&n.value>=this.ee?Cu.error("Ignoring metric with value >= "+this.ee,n):(this.H.url!==s&&(this.Qi(),this.Zi=setTimeout(this.Qi,this.flushToCaptureTimeoutMs)),rt(this.H.url)&&(this.H.url=s),this.H.firstMetricTimestamp=rt(this.H.firstMetricTimestamp)?Date.now():this.H.firstMetricTimestamp,n.attribution&&n.attribution.interactionTargetElement&&(n.attribution.interactionTargetElement=void 0),this.H.metrics.push(st({},n,{$current_url:s,$session_id:a.sessionId,$window_id:a.windowId,timestamp:Date.now()})),this.H.metrics.length===this.allowedMetrics.length&&this.Qi()))}},this.lt=()=>{var n,i,a,s,o=Ot.__PosthogExtensions__;rt(o)||rt(o.postHogWebVitalsCallbacks)||({onLCP:n,onCLS:i,onFCP:a,onINP:s}=o.postHogWebVitalsCallbacks),n&&i&&a&&s?(this.allowedMetrics.indexOf("LCP")>-1&&n(this.te.bind(this)),this.allowedMetrics.indexOf("CLS")>-1&&i(this.te.bind(this)),this.allowedMetrics.indexOf("FCP")>-1&&a(this.te.bind(this)),this.allowedMetrics.indexOf("INP")>-1&&s(this.te.bind(this)),this.C=!0):Cu.error("web vitals callbacks not loaded - not starting")},this._instance=t,this.Xi=!((r=this._instance.persistence)==null||!r.props[eJ]),this.startIfEnabled()}get allowedMetrics(){var t,r,n=sn(this._instance.config.capture_performance)?(t=this._instance.config.capture_performance)==null?void 0:t.web_vitals_allowed_metrics:void 0;return rt(n)?((r=this._instance.persistence)==null?void 0:r.props[tJ])||["CLS","FCP","INP","LCP"]:n}get flushToCaptureTimeoutMs(){return(sn(this._instance.config.capture_performance)?this._instance.config.capture_performance.web_vitals_delayed_flush_ms:void 0)||5e3}get ee(){var t=sn(this._instance.config.capture_performance)&&ji(this._instance.config.capture_performance.__web_vitals_max_value)?this._instance.config.capture_performance.__web_vitals_max_value:IJ;return 0<t&&t<=6e4?IJ:t}get isEnabled(){var t=fa==null?void 0:fa.protocol;if(t!=="http:"&&t!=="https:")return Cu.info("Web Vitals are disabled on non-http/https protocols"),!1;var r=sn(this._instance.config.capture_performance)?this._instance.config.capture_performance.web_vitals:sl(this._instance.config.capture_performance)?this._instance.config.capture_performance:void 0;return sl(r)?r:this.Xi}startIfEnabled(){this.isEnabled&&!this.C&&(Cu.info("enabled, starting..."),this.nt(this.lt))}onRemoteConfig(t){var r=sn(t.capturePerformance)&&!!t.capturePerformance.web_vitals,n=sn(t.capturePerformance)?t.capturePerformance.web_vitals_allowed_metrics:void 0;this._instance.persistence&&(this._instance.persistence.register({[eJ]:r}),this._instance.persistence.register({[tJ]:n})),this.Xi=r,this.startIfEnabled()}nt(t){var r,n;(r=Ot.__PosthogExtensions__)!=null&&r.postHogWebVitalsCallbacks&&t(),(n=Ot.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,"web-vitals",(i=>{i?Cu.error("failed to load script",i):t()}))}ie(){var t=De?De.location.href:void 0;return t||Cu.error("Could not determine current URL"),t}};var Zet=qn("[Heatmaps]");function OJ(e){return sn(e)&&"clientX"in e&&"clientY"in e&&ji(e.clientX)&&ji(e.clientY)}let ett=class{constructor(t){var r;this.rageclicks=new Kfe,this.Xi=!1,this.C=!1,this.re=null,this.instance=t,this.Xi=!((r=this.instance.persistence)==null||!r.props[jI])}get flushIntervalMilliseconds(){var t=5e3;return sn(this.instance.config.capture_heatmaps)&&this.instance.config.capture_heatmaps.flush_interval_milliseconds&&(t=this.instance.config.capture_heatmaps.flush_interval_milliseconds),t}get isEnabled(){return rt(this.instance.config.capture_heatmaps)?rt(this.instance.config.enable_heatmaps)?this.Xi:this.instance.config.enable_heatmaps:this.instance.config.capture_heatmaps!==!1}startIfEnabled(){if(this.isEnabled){if(this.C)return;Zet.info("starting..."),this.se(),this.re=setInterval(this.ne.bind(this),this.flushIntervalMilliseconds)}else{var t,r;clearInterval((t=this.re)!==null&&t!==void 0?t:void 0),(r=this.oe)==null||r.stop(),this.getAndClearBuffer()}}onRemoteConfig(t){var r=!!t.heatmaps;this.instance.persistence&&this.instance.persistence.register({[jI]:r}),this.Xi=r,this.startIfEnabled()}getAndClearBuffer(){var t=this.H;return this.H=void 0,t}ae(t){this.le(t.originalEvent,"deadclick")}se(){De&&ct&&(N0(De,"beforeunload",this.ne.bind(this)),N0(ct,"click",(t=>this.le(t||(De==null?void 0:De.event))),{capture:!0}),N0(ct,"mousemove",(t=>this.he(t||(De==null?void 0:De.event))),{capture:!0}),this.oe=new Qfe(this.instance,net,this.ae.bind(this)),this.oe.startIfEnabled(),this.C=!0)}ue(t,r){var n=this.instance.scrollManager.scrollY(),i=this.instance.scrollManager.scrollX(),a=this.instance.scrollManager.scrollElement(),s=(function(o,l,c){for(var u=o;u&&A6(u)&&!od(u,"body");){if(u===c)return!1;if(dr(l,De==null?void 0:De.getComputedStyle(u).position))return!0;u=Wfe(u)}return!1})(zfe(t),["fixed","sticky"],a);return{x:t.clientX+(s?0:i),y:t.clientY+(s?0:n),target_fixed:s,type:r}}le(t,r){var n;if(r===void 0&&(r="click"),!lJ(t.target)&&OJ(t)){var i=this.ue(t,r);(n=this.rageclicks)!=null&&n.isRageClick(t.clientX,t.clientY,new Date().getTime())&&this.de(st({},i,{type:"rageclick"})),this.de(i)}}he(t){!lJ(t.target)&&OJ(t)&&(clearTimeout(this.ve),this.ve=setTimeout((()=>{this.de(this.ue(t,"mousemove"))}),500))}de(t){if(De){var r=De.location.href;this.H=this.H||{},this.H[r]||(this.H[r]=[]),this.H[r].push(t)}}ne(){this.H&&!Jf(this.H)&&this.instance.capture("$$heatmap",{$heatmap_data:this.getAndClearBuffer()})}},ttt=class{constructor(t){this._instance=t}doPageView(t,r){var n,i=this.ce(t,r);return this.fe={pathname:(n=De==null?void 0:De.location.pathname)!==null&&n!==void 0?n:"",pageViewId:r,timestamp:t},this._instance.scrollManager.resetContext(),i}doPageLeave(t){var r;return this.ce(t,(r=this.fe)==null?void 0:r.pageViewId)}doEvent(){var t;return{$pageview_id:(t=this.fe)==null?void 0:t.pageViewId}}ce(t,r){var n=this.fe;if(!n)return{$pageview_id:r};var i={$pageview_id:r,$prev_pageview_id:n.pageViewId},a=this._instance.scrollManager.getContext();if(a&&!this._instance.config.disable_scroll_properties){var{maxScrollHeight:s,lastScrollY:o,maxScrollY:l,maxContentHeight:c,lastContentY:u,maxContentY:d}=a;if(!(rt(s)||rt(o)||rt(l)||rt(c)||rt(u)||rt(d))){s=Math.ceil(s),o=Math.ceil(o),l=Math.ceil(l),c=Math.ceil(c),u=Math.ceil(u),d=Math.ceil(d);var h=s<=1?1:Ya(o/s,0,1,ot),p=s<=1?1:Ya(l/s,0,1,ot),m=c<=1?1:Ya(u/c,0,1,ot),g=c<=1?1:Ya(d/c,0,1,ot);i=bn(i,{$prev_pageview_last_scroll:o,$prev_pageview_last_scroll_percentage:h,$prev_pageview_max_scroll:l,$prev_pageview_max_scroll_percentage:p,$prev_pageview_last_content:u,$prev_pageview_last_content_percentage:m,$prev_pageview_max_content:d,$prev_pageview_max_content_percentage:g})}}return n.pathname&&(i.$prev_pageview_pathname=n.pathname),n.timestamp&&(i.$prev_pageview_duration=(t.getTime()-n.timestamp.getTime())/1e3),i}};var rtt=function(e){var t,r,n,i,a="";for(t=r=0,n=(e=(e+"").replace(/\r\n/g,`
`).replace(/\r/g,`
`)).length,i=0;i<n;i++){var s=e.charCodeAt(i),o=null;s<128?r++:o=s>127&&s<2048?String.fromCharCode(s>>6|192,63&s|128):String.fromCharCode(s>>12|224,s>>6&63|128,63&s|128),zd(o)||(r>t&&(a+=e.substring(t,r)),a+=o,t=r=i+1)}return r>t&&(a+=e.substring(t,e.length)),a},ntt=!!CI||!!AI,MJ="text/plain",MS=(e,t)=>{var[r,n]=e.split("?"),i=st({},t);n==null||n.split("&").forEach((s=>{var[o]=s.split("=");delete i[o]}));var a=HZe(i);return r+"?"+(a=a?(n?n+"&":"")+a:n)},Kb=(e,t)=>JSON.stringify(e,((r,n)=>typeof n=="bigint"?n.toString():n),t),pC=e=>{var{data:t,compression:r}=e;if(t){if(r===Ic.GZipJS){var n=ome(lme(Kb(t)),{mtime:0}),i=new Blob([n],{type:MJ});return{contentType:MJ,body:i,estimatedSize:i.size}}if(r===Ic.Base64){var a=(function(l){var c,u,d,h,p,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",g=0,b=0,y="",v=[];if(!l)return l;l=rtt(l);do c=(p=l.charCodeAt(g++)<<16|l.charCodeAt(g++)<<8|l.charCodeAt(g++))>>18&63,u=p>>12&63,d=p>>6&63,h=63&p,v[b++]=m.charAt(c)+m.charAt(u)+m.charAt(d)+m.charAt(h);while(g<l.length);switch(y=v.join(""),l.length%3){case 1:y=y.slice(0,-2)+"==";break;case 2:y=y.slice(0,-1)+"="}return y})(Kb(t)),s=(l=>"data="+encodeURIComponent(typeof l=="string"?l:Kb(l)))(a);return{contentType:"application/x-www-form-urlencoded",body:s,estimatedSize:new Blob([s]).size}}var o=Kb(t);return{contentType:"application/json",body:o,estimatedSize:new Blob([o]).size}}},yT=[];AI&&yT.push({transport:"fetch",method:e=>{var t,r,{contentType:n,body:i,estimatedSize:a}=(t=pC(e))!==null&&t!==void 0?t:{},s=new Headers;n0(e.headers,(function(u,d){s.append(d,u)})),n&&s.append("Content-Type",n);var o=e.url,l=null;if(YQ){var c=new YQ;l={signal:c.signal,timeout:setTimeout((()=>c.abort()),e.timeout)}}AI(o,st({method:(e==null?void 0:e.method)||"GET",headers:s,keepalive:e.method==="POST"&&(a||0)<52428.8,body:i,signal:(r=l)==null?void 0:r.signal},e.fetchOptions)).then((u=>u.text().then((d=>{var h={statusCode:u.status,text:d};if(u.status===200)try{h.json=JSON.parse(d)}catch(p){ot.error(p)}e.callback==null||e.callback(h)})))).catch((u=>{ot.error(u),e.callback==null||e.callback({statusCode:0,text:u})})).finally((()=>l?clearTimeout(l.timeout):null))}}),CI&&yT.push({transport:"XHR",method:e=>{var t,r=new CI;r.open(e.method||"GET",e.url,!0);var{contentType:n,body:i}=(t=pC(e))!==null&&t!==void 0?t:{};n0(e.headers,(function(a,s){r.setRequestHeader(s,a)})),n&&r.setRequestHeader("Content-Type",n),e.timeout&&(r.timeout=e.timeout),e.disableXHRCredentials||(r.withCredentials=!0),r.onreadystatechange=()=>{if(r.readyState===4){var a={statusCode:r.status,text:r.responseText};if(r.status===200)try{a.json=JSON.parse(r.responseText)}catch(s){}e.callback==null||e.callback(a)}},r.send(i)}}),Va!=null&&Va.sendBeacon&&yT.push({transport:"sendBeacon",method:e=>{var t=MS(e.url,{beacon:"1"});try{var r,{contentType:n,body:i}=(r=pC(e))!==null&&r!==void 0?r:{},a=typeof i=="string"?new Blob([i],{type:n}):i;Va.sendBeacon(t,a)}catch(s){}}});var lg=function(e,t){if(!(function(r){try{new RegExp(r)}catch(n){return!1}return!0})(t))return!1;try{return new RegExp(t).test(e)}catch(r){return!1}};function kJ(e,t,r){return Kb({distinct_id:e,userPropertiesToSet:t,userPropertiesToSetOnce:r})}var itt={exact:(e,t)=>t.some((r=>e.some((n=>r===n)))),is_not:(e,t)=>t.every((r=>e.every((n=>r!==n)))),regex:(e,t)=>t.some((r=>e.some((n=>lg(r,n))))),not_regex:(e,t)=>t.every((r=>e.every((n=>!lg(r,n))))),icontains:(e,t)=>t.map(r3).some((r=>e.map(r3).some((n=>r.includes(n))))),not_icontains:(e,t)=>t.map(r3).every((r=>e.map(r3).every((n=>!r.includes(n)))))},r3=e=>e.toLowerCase(),DJ=qn("[Error tracking]");let att=class{constructor(t){var r,n;this.pe=[],this._instance=t,this.pe=(r=(n=this._instance.persistence)==null?void 0:n.get_property(RI))!==null&&r!==void 0?r:[]}onRemoteConfig(t){var r,n,i,a=(r=(n=t.errorTracking)==null?void 0:n.suppressionRules)!==null&&r!==void 0?r:[],s=(i=t.errorTracking)==null?void 0:i.captureExtensionExceptions;this.pe=a,this._instance.persistence&&this._instance.persistence.register({[RI]:this.pe,[ZQ]:s})}get ge(){var t,r=!!this._instance.get_property(ZQ),n=this._instance.config.error_tracking.captureExtensionExceptions;return(t=n!=null?n:r)!==null&&t!==void 0&&t}sendExceptionEvent(t){if(this._e(t))DJ.info("Skipping exception capture because a suppression rule matched");else{if(this.ge||!this.me(t))return this._instance.capture("$exception",t,{_noTruncate:!0,_batchKey:"exceptionEvent"});DJ.info("Skipping exception capture because it was thrown by an extension")}}_e(t){var r=t.$exception_list;if(!r||!w0(r)||r.length===0)return!1;var n=r.reduce(((i,a)=>{var{type:s,value:o}=a;return on(s)&&s.length>0&&i.$exception_types.push(s),on(o)&&o.length>0&&i.$exception_values.push(o),i}),{$exception_types:[],$exception_values:[]});return this.pe.some((i=>{var a=i.values.map((s=>{var o,l=itt[s.operator],c=w0(s.value)?s.value:[s.value],u=(o=n[s.key])!==null&&o!==void 0?o:[];return c.length>0&&l(c,u)}));return i.type==="OR"?a.some(Boolean):a.every(Boolean)}))}me(t){var r=t.$exception_list;return!(!r||!w0(r))&&r.flatMap((n=>{var i,a;return(i=(a=n.stacktrace)==null?void 0:a.frames)!==null&&i!==void 0?i:[]})).some((n=>n.filename&&n.filename.startsWith("chrome-extension://")))}};var As="Mobile",kS="iOS",ol="Android",O5="Tablet",hme=ol+" "+O5,fme="iPad",mme="Apple",gme=mme+" Watch",M5="Safari",cg="BlackBerry",bme="Samsung",yme=bme+"Browser",vme=bme+" Internet",yh="Chrome",stt=yh+" OS",Tme=yh+" "+kS,LB="Internet Explorer",Sme=LB+" "+As,FB="Opera",ott=FB+" Mini",$B="Edge",xme="Microsoft "+$B,Rm="Firefox",wme=Rm+" "+kS,k5="Nintendo",D5="PlayStation",Im="Xbox",_me=ol+" "+As,Ame=As+" "+M5,Xb="Windows",YI=Xb+" Phone",LJ="Nokia",KI="Ouya",Cme="Generic",ltt=Cme+" "+As.toLowerCase(),Eme=Cme+" "+O5.toLowerCase(),XI="Konqueror",Yi="(\\d+(\\.\\d+)?)",hC=new RegExp("Version/"+Yi),ctt=new RegExp(Im,"i"),utt=new RegExp(D5+" \\w+","i"),dtt=new RegExp(k5+" \\w+","i"),BB=new RegExp(cg+"|PlayBook|BB10","i"),ptt={"NT3.51":"NT 3.11","NT4.0":"NT 4.0","5.0":"2000",5.1:"XP",5.2:"XP","6.0":"Vista",6.1:"7",6.2:"8",6.3:"8.1",6.4:"10","10.0":"10"},htt=(e,t)=>t&&dr(t,mme)||(function(r){return dr(r,M5)&&!dr(r,yh)&&!dr(r,ol)})(e),Pme=function(e,t){return t=t||"",dr(e," OPR/")&&dr(e,"Mini")?ott:dr(e," OPR/")?FB:BB.test(e)?cg:dr(e,"IE"+As)||dr(e,"WPDesktop")?Sme:dr(e,yme)?vme:dr(e,$B)||dr(e,"Edg/")?xme:dr(e,"FBIOS")?"Facebook "+As:dr(e,"UCWEB")||dr(e,"UCBrowser")?"UC Browser":dr(e,"CriOS")?Tme:dr(e,"CrMo")||dr(e,yh)?yh:dr(e,ol)&&dr(e,M5)?_me:dr(e,"FxiOS")?wme:dr(e.toLowerCase(),XI.toLowerCase())?XI:htt(e,t)?dr(e,As)?Ame:M5:dr(e,Rm)?Rm:dr(e,"MSIE")||dr(e,"Trident/")?LB:dr(e,"Gecko")?Rm:""},ftt={[Sme]:[new RegExp("rv:"+Yi)],[xme]:[new RegExp($B+"?\\/"+Yi)],[yh]:[new RegExp("("+yh+"|CrMo)\\/"+Yi)],[Tme]:[new RegExp("CriOS\\/"+Yi)],"UC Browser":[new RegExp("(UCBrowser|UCWEB)\\/"+Yi)],[M5]:[hC],[Ame]:[hC],[FB]:[new RegExp("(Opera|OPR)\\/"+Yi)],[Rm]:[new RegExp(Rm+"\\/"+Yi)],[wme]:[new RegExp("FxiOS\\/"+Yi)],[XI]:[new RegExp("Konqueror[:/]?"+Yi,"i")],[cg]:[new RegExp(cg+" "+Yi),hC],[_me]:[new RegExp("android\\s"+Yi,"i")],[vme]:[new RegExp(yme+"\\/"+Yi)],[LB]:[new RegExp("(rv:|MSIE )"+Yi)],Mozilla:[new RegExp("rv:"+Yi)]},mtt=function(e,t){var r=Pme(e,t),n=ftt[r];if(rt(n))return null;for(var i=0;i<n.length;i++){var a=n[i],s=e.match(a);if(s)return parseFloat(s[s.length-2])}return null},FJ=[[new RegExp(Im+"; "+Im+" (.*?)[);]","i"),e=>[Im,e&&e[1]||""]],[new RegExp(k5,"i"),[k5,""]],[new RegExp(D5,"i"),[D5,""]],[BB,[cg,""]],[new RegExp(Xb,"i"),(e,t)=>{if(/Phone/.test(t)||/WPDesktop/.test(t))return[YI,""];if(new RegExp(As).test(t)&&!/IEMobile\b/.test(t))return[Xb+" "+As,""];var r=/Windows NT ([0-9.]+)/i.exec(t);if(r&&r[1]){var n=r[1],i=ptt[n]||"";return/arm/i.test(t)&&(i="RT"),[Xb,i]}return[Xb,""]}],[/((iPhone|iPad|iPod).*?OS (\d+)_(\d+)_?(\d+)?|iPhone)/,e=>{if(e&&e[3]){var t=[e[3],e[4],e[5]||"0"];return[kS,t.join(".")]}return[kS,""]}],[/(watch.*\/(\d+\.\d+\.\d+)|watch os,(\d+\.\d+),)/i,e=>{var t="";return e&&e.length>=3&&(t=rt(e[2])?e[3]:e[2]),["watchOS",t]}],[new RegExp("("+ol+" (\\d+)\\.(\\d+)\\.?(\\d+)?|"+ol+")","i"),e=>{if(e&&e[2]){var t=[e[2],e[3],e[4]||"0"];return[ol,t.join(".")]}return[ol,""]}],[/Mac OS X (\d+)[_.](\d+)[_.]?(\d+)?/i,e=>{var t=["Mac OS X",""];if(e&&e[1]){var r=[e[1],e[2],e[3]||"0"];t[1]=r.join(".")}return t}],[/Mac/i,["Mac OS X",""]],[/CrOS/,[stt,""]],[/Linux|debian/i,["Linux",""]]],$J=function(e){return dtt.test(e)?k5:utt.test(e)?D5:ctt.test(e)?Im:new RegExp(KI,"i").test(e)?KI:new RegExp("("+YI+"|WPDesktop)","i").test(e)?YI:/iPad/.test(e)?fme:/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(watch)(?: ?os[,/]|\d,\d\/)[\d.]+/i.test(e)?gme:BB.test(e)?cg:/(kobo)\s(ereader|touch)/i.test(e)?"Kobo":new RegExp(LJ,"i").test(e)?LJ:/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i.test(e)||/(kf[a-z]+)( bui|\)).+silk\//i.test(e)?"Kindle Fire":/(Android|ZTE)/i.test(e)?!new RegExp(As).test(e)||/(9138B|TB782B|Nexus [97]|pixel c|HUAWEISHT|BTV|noble nook|smart ultra 6)/i.test(e)?/pixel[\daxl ]{1,6}/i.test(e)&&!/pixel c/i.test(e)||/(huaweimed-al00|tah-|APA|SM-G92|i980|zte|U304AA)/i.test(e)||/lmy47v/i.test(e)&&!/QTAQZ3/i.test(e)?ol:hme:ol:new RegExp("(pda|"+As+")","i").test(e)?ltt:new RegExp(O5,"i").test(e)&&!new RegExp(O5+" pc","i").test(e)?Eme:""},n3="https?://(.*)",E6=["gclid","gclsrc","dclid","gbraid","wbraid","fbclid","msclkid","twclid","li_fat_id","igshid","ttclid","rdt_cid","epik","qclid","sccid","irclid","_kx"],gtt=_6(["utm_source","utm_medium","utm_campaign","utm_content","utm_term","gad_source","mc_cid"],E6),NB="<masked>",btt=["li_fat_id"];function jme(e,t,r){if(!ct)return{};var n,i=t?_6([],E6,r||[]):[],a=Rme(jB(ct.URL,i,NB),e),s=(n={},n0(btt,(function(o){var l=Sl.V(o);n[o]=l||null})),n);return bn(s,a)}function Rme(e,t){var r=gtt.concat(t||[]),n={};return n0(r,(function(i){var a=ES(e,i);n[i]=a||null})),n}function Ime(e){var t=(function(a){return a?a.search(n3+"google.([^/?]*)")===0?"google":a.search(n3+"bing.com")===0?"bing":a.search(n3+"yahoo.com")===0?"yahoo":a.search(n3+"duckduckgo.com")===0?"duckduckgo":null:null})(e),r=t!="yahoo"?"q":"p",n={};if(!zd(t)){n.$search_engine=t;var i=ct?ES(ct.referrer,r):"";i.length&&(n.ph_keyword=i)}return n}function BJ(){return navigator.language||navigator.userLanguage}function Ome(){return(ct==null?void 0:ct.referrer)||"$direct"}function Mme(e,t){var r=e?_6([],E6,t||[]):[],n=fa==null?void 0:fa.href.substring(0,1e3);return{r:Ome().substring(0,1e3),u:n?jB(n,r,NB):void 0}}function kme(e){var t,{r,u:n}=e,i={$referrer:r,$referring_domain:r==null?void 0:r=="$direct"?"$direct":(t=sg(r))==null?void 0:t.host};if(n){i.$current_url=n;var a=sg(n);i.$host=a==null?void 0:a.host,i.$pathname=a==null?void 0:a.pathname;var s=Rme(n);bn(i,s)}if(r){var o=Ime(r);bn(i,o)}return i}function Dme(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return}}function ytt(){try{return new Date().getTimezoneOffset()}catch(e){return}}function vtt(e,t){if(!ha)return{};var r,n,i,a=e?_6([],E6,t||[]):[],[s,o]=(function(l){for(var c=0;c<FJ.length;c++){var[u,d]=FJ[c],h=u.exec(l),p=h&&(ws(d)?d(h,l):d);if(p)return p}return["",""]})(ha);return bn(EB({$os:s,$os_version:o,$browser:Pme(ha,navigator.vendor),$device:$J(ha),$device_type:(n=ha,i=$J(n),i===fme||i===hme||i==="Kobo"||i==="Kindle Fire"||i===Eme?O5:i===k5||i===Im||i===D5||i===KI?"Console":i===gme?"Wearable":i?As:"Desktop"),$timezone:Dme(),$timezone_offset:ytt()}),{$current_url:jB(fa==null?void 0:fa.href,a,NB),$host:fa==null?void 0:fa.host,$pathname:fa==null?void 0:fa.pathname,$raw_user_agent:ha.length>1e3?ha.substring(0,997)+"...":ha,$browser_version:mtt(ha,navigator.vendor),$browser_language:BJ(),$browser_language_prefix:(r=BJ(),typeof r=="string"?r.split("-")[0]:void 0),$screen_height:De==null?void 0:De.screen.height,$screen_width:De==null?void 0:De.screen.width,$viewport_height:De==null?void 0:De.innerHeight,$viewport_width:De==null?void 0:De.innerWidth,$lib:"web",$lib_version:_c.LIB_VERSION,$insert_id:Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10),$time:Date.now()/1e3})}var Ho=qn("[FeatureFlags]"),fC="$active_feature_flags",Sf="$override_feature_flags",NJ="$feature_flag_payloads",fb="$override_feature_flag_payloads",qJ="$feature_flag_request_id",zJ=e=>{var t={};for(var[r,n]of gT(e||{}))n&&(t[r]=n);return t},Ttt=e=>{var t=e.flags;return t?(e.featureFlags=Object.fromEntries(Object.keys(t).map((r=>{var n;return[r,(n=t[r].variant)!==null&&n!==void 0?n:t[r].enabled]}))),e.featureFlagPayloads=Object.fromEntries(Object.keys(t).filter((r=>t[r].enabled)).filter((r=>{var n;return(n=t[r].metadata)==null?void 0:n.payload})).map((r=>{var n;return[r,(n=t[r].metadata)==null?void 0:n.payload]})))):Ho.warn("Using an older version of the feature flags endpoint. Please upgrade your PostHog server to the latest version"),e},Stt=(function(e){return e.FeatureFlags="feature_flags",e.Recordings="recordings",e})({});let xtt=class{constructor(t){this.be=!1,this.ye=!1,this.we=!1,this.Se=!1,this.$e=!1,this.xe=!1,this.ke=!1,this._instance=t,this.featureFlagEventHandlers=[]}flags(){if(this._instance.config.__preview_remote_config)this.xe=!0;else{var t=!this.Ee&&(this._instance.config.advanced_disable_feature_flags||this._instance.config.advanced_disable_feature_flags_on_first_load);this.Ie({disableFlags:t})}}get hasLoadedFlags(){return this.ye}getFlags(){return Object.keys(this.getFlagVariants())}getFlagsWithDetails(){var t=this._instance.get_property(MI),r=this._instance.get_property(Sf),n=this._instance.get_property(fb);if(!n&&!r)return t||{};var i=bn({},t||{}),a=[...new Set([...Object.keys(n||{}),...Object.keys(r||{})])];for(var s of a){var o,l,c=i[s],u=r==null?void 0:r[s],d=rt(u)?(o=c==null?void 0:c.enabled)!==null&&o!==void 0&&o:!!u,h=rt(u)?c.variant:typeof u=="string"?u:void 0,p=n==null?void 0:n[s],m=st({},c,{enabled:d,variant:d?h!=null?h:c==null?void 0:c.variant:void 0});d!==(c==null?void 0:c.enabled)&&(m.original_enabled=c==null?void 0:c.enabled),h!==(c==null?void 0:c.variant)&&(m.original_variant=c==null?void 0:c.variant),p&&(m.metadata=st({},c==null?void 0:c.metadata,{payload:p,original_payload:c==null||(l=c.metadata)==null?void 0:l.payload})),i[s]=m}return this.be||(Ho.warn(" Overriding feature flag details!",{flagDetails:t,overriddenPayloads:n,finalDetails:i}),this.be=!0),i}getFlagVariants(){var t=this._instance.get_property(Zf),r=this._instance.get_property(Sf);if(!r)return t||{};for(var n=bn({},t),i=Object.keys(r),a=0;a<i.length;a++)n[i[a]]=r[i[a]];return this.be||(Ho.warn(" Overriding feature flags!",{enabledFlags:t,overriddenFlags:r,finalFlags:n}),this.be=!0),n}getFlagPayloads(){var t=this._instance.get_property(NJ),r=this._instance.get_property(fb);if(!r)return t||{};for(var n=bn({},t||{}),i=Object.keys(r),a=0;a<i.length;a++)n[i[a]]=r[i[a]];return this.be||(Ho.warn(" Overriding feature flag payloads!",{flagPayloads:t,overriddenPayloads:r,finalPayloads:n}),this.be=!0),n}reloadFeatureFlags(){this.Se||this._instance.config.advanced_disable_feature_flags||this.Ee||(this.Ee=setTimeout((()=>{this.Ie()}),5))}Pe(){clearTimeout(this.Ee),this.Ee=void 0}ensureFlagsLoaded(){this.ye||this.we||this.Ee||this.reloadFeatureFlags()}setAnonymousDistinctId(t){this.$anon_distinct_id=t}setReloadingPaused(t){this.Se=t}Ie(t){var r;if(this.Pe(),!this._instance.L())if(this.we)this.$e=!0;else{var n={token:this._instance.config.token,distinct_id:this._instance.get_distinct_id(),groups:this._instance.getGroups(),$anon_distinct_id:this.$anon_distinct_id,person_properties:st({},((r=this._instance.persistence)==null?void 0:r.get_initial_props())||{},this._instance.get_property(Vb)||{}),group_properties:this._instance.get_property(bp)};(t!=null&&t.disableFlags||this._instance.config.advanced_disable_feature_flags)&&(n.disable_flags=!0);var i=this._instance.config.__preview_remote_config,a=i?"/flags/?v=2":"/flags/?v=2&config=true",s=this._instance.config.advanced_only_evaluate_survey_feature_flags?"&only_evaluate_survey_feature_flags=true":"",o=this._instance.requestRouter.endpointFor("api",a+s);i&&(n.timezone=Dme()),this.we=!0,this._instance.Re({method:"POST",url:o,data:n,compression:this._instance.config.disable_compression?void 0:Ic.Base64,timeout:this._instance.config.feature_flag_request_timeout_ms,callback:l=>{var c,u,d=!0;if(l.statusCode===200&&(this.$e||(this.$anon_distinct_id=void 0),d=!1),this.we=!1,this.xe||(this.xe=!0,this._instance.Te((u=l.json)!==null&&u!==void 0?u:{})),!n.disable_flags||this.$e)if(this.ke=!d,l.json&&(c=l.json.quotaLimited)!=null&&c.includes(Stt.FeatureFlags))Ho.warn("You have hit your feature flags quota limit, and will not be able to load feature flags until the quota is reset. Please visit https://posthog.com/docs/billing/limits-alerts to learn more.");else{var h;n.disable_flags||this.receivedFeatureFlags((h=l.json)!==null&&h!==void 0?h:{},d),this.$e&&(this.$e=!1,this.Ie())}}})}}getFeatureFlag(t,r){if(r===void 0&&(r={}),this.ye||this.getFlags()&&this.getFlags().length>0){var n=this.getFlagVariants()[t],i=""+n,a=this._instance.get_property(qJ)||void 0,s=this._instance.get_property(wS)||{};if((r.send_event||!("send_event"in r))&&(!(t in s)||!s[t].includes(i))){var o,l,c,u,d,h,p,m,g;w0(s[t])?s[t].push(i):s[t]=[i],(o=this._instance.persistence)==null||o.register({[wS]:s});var b=this.getFeatureFlagDetails(t),y={$feature_flag:t,$feature_flag_response:n,$feature_flag_payload:this.getFeatureFlagPayload(t)||null,$feature_flag_request_id:a,$feature_flag_bootstrapped_response:((l=this._instance.config.bootstrap)==null||(l=l.featureFlags)==null?void 0:l[t])||null,$feature_flag_bootstrapped_payload:((c=this._instance.config.bootstrap)==null||(c=c.featureFlagPayloads)==null?void 0:c[t])||null,$used_bootstrap_value:!this.ke};rt(b==null||(u=b.metadata)==null?void 0:u.version)||(y.$feature_flag_version=b.metadata.version);var v,S=(d=b==null||(h=b.reason)==null?void 0:h.description)!==null&&d!==void 0?d:b==null||(p=b.reason)==null?void 0:p.code;S&&(y.$feature_flag_reason=S),b!=null&&(m=b.metadata)!=null&&m.id&&(y.$feature_flag_id=b.metadata.id),rt(b==null?void 0:b.original_variant)&&rt(b==null?void 0:b.original_enabled)||(y.$feature_flag_original_response=rt(b.original_variant)?b.original_enabled:b.original_variant),b!=null&&(g=b.metadata)!=null&&g.original_payload&&(y.$feature_flag_original_payload=b==null||(v=b.metadata)==null?void 0:v.original_payload),this._instance.capture("$feature_flag_called",y)}return n}Ho.warn('getFeatureFlag for key "'+t+`" failed. Feature flags didn't load in time.`)}getFeatureFlagDetails(t){return this.getFlagsWithDetails()[t]}getFeatureFlagPayload(t){return this.getFlagPayloads()[t]}getRemoteConfigPayload(t,r){var n=this._instance.config.token;this._instance.Re({method:"POST",url:this._instance.requestRouter.endpointFor("api","/flags/?v=2&config=true"),data:{distinct_id:this._instance.get_distinct_id(),token:n},compression:this._instance.config.disable_compression?void 0:Ic.Base64,timeout:this._instance.config.feature_flag_request_timeout_ms,callback:i=>{var a,s=(a=i.json)==null?void 0:a.featureFlagPayloads;r((s==null?void 0:s[t])||void 0)}})}isFeatureEnabled(t,r){if(r===void 0&&(r={}),this.ye||this.getFlags()&&this.getFlags().length>0){var n=this.getFeatureFlag(t,r);return rt(n)?void 0:!!n}Ho.warn('isFeatureEnabled for key "'+t+`" failed. Feature flags didn't load in time.`)}addFeatureFlagsHandler(t){this.featureFlagEventHandlers.push(t)}removeFeatureFlagsHandler(t){this.featureFlagEventHandlers=this.featureFlagEventHandlers.filter((r=>r!==t))}receivedFeatureFlags(t,r){if(this._instance.persistence){this.ye=!0;var n=this.getFlagVariants(),i=this.getFlagPayloads(),a=this.getFlagsWithDetails();(function(s,o,l,c,u){l===void 0&&(l={}),c===void 0&&(c={}),u===void 0&&(u={});var d=Ttt(s),h=d.flags,p=d.featureFlags,m=d.featureFlagPayloads;if(p){var g=s.requestId;if(w0(p)){Ho.warn("v1 of the feature flags endpoint is deprecated. Please use the latest version.");var b={};if(p)for(var y=0;y<p.length;y++)b[p[y]]=!0;o&&o.register({[fC]:p,[Zf]:b})}else{var v=p,S=m,x=h;s.errorsWhileComputingFlags&&(v=st({},l,v),S=st({},c,S),x=st({},u,x)),o&&o.register(st({[fC]:Object.keys(zJ(v)),[Zf]:v||{},[NJ]:S||{},[MI]:x||{}},g?{[qJ]:g}:{}))}}})(t,this._instance.persistence,n,i,a),this.Ce(r)}}override(t,r){r===void 0&&(r=!1),Ho.warn("override is deprecated. Please use overrideFeatureFlags instead."),this.overrideFeatureFlags({flags:t,suppressWarning:r})}overrideFeatureFlags(t){if(!this._instance.__loaded||!this._instance.persistence)return Ho.uninitializedWarning("posthog.featureFlags.overrideFeatureFlags");if(t===!1)return this._instance.persistence.unregister(Sf),this._instance.persistence.unregister(fb),void this.Ce();if(t&&typeof t=="object"&&("flags"in t||"payloads"in t)){var r,n=t;if(this.be=!!((r=n.suppressWarning)!==null&&r!==void 0&&r),"flags"in n){if(n.flags===!1)this._instance.persistence.unregister(Sf);else if(n.flags)if(w0(n.flags)){for(var i={},a=0;a<n.flags.length;a++)i[n.flags[a]]=!0;this._instance.persistence.register({[Sf]:i})}else this._instance.persistence.register({[Sf]:n.flags})}return"payloads"in n&&(n.payloads===!1?this._instance.persistence.unregister(fb):n.payloads&&this._instance.persistence.register({[fb]:n.payloads})),void this.Ce()}this.Ce()}onFeatureFlags(t){if(this.addFeatureFlagsHandler(t),this.ye){var{flags:r,flagVariants:n}=this.Me();t(r,n)}return()=>this.removeFeatureFlagsHandler(t)}updateEarlyAccessFeatureEnrollment(t,r,n){var i,a=(this._instance.get_property(Gb)||[]).find((c=>c.flagKey===t)),s={["$feature_enrollment/"+t]:r},o={$feature_flag:t,$feature_enrollment:r,$set:s};a&&(o.$early_access_feature_name=a.name),n&&(o.$feature_enrollment_stage=n),this._instance.capture("$feature_enrollment_update",o),this.setPersonPropertiesForFlags(s,!1);var l=st({},this.getFlagVariants(),{[t]:r});(i=this._instance.persistence)==null||i.register({[fC]:Object.keys(zJ(l)),[Zf]:l}),this.Ce()}getEarlyAccessFeatures(t,r,n){r===void 0&&(r=!1);var i=this._instance.get_property(Gb),a=n?"&"+n.map((s=>"stage="+s)).join("&"):"";if(i&&!r)return t(i);this._instance.Re({url:this._instance.requestRouter.endpointFor("api","/api/early_access_features/?token="+this._instance.config.token+a),method:"GET",callback:s=>{var o,l;if(s.json){var c=s.json.earlyAccessFeatures;return(o=this._instance.persistence)==null||o.unregister(Gb),(l=this._instance.persistence)==null||l.register({[Gb]:c}),t(c)}}})}Me(){var t=this.getFlags(),r=this.getFlagVariants();return{flags:t.filter((n=>r[n])),flagVariants:Object.keys(r).filter((n=>r[n])).reduce(((n,i)=>(n[i]=r[i],n)),{})}}Ce(t){var{flags:r,flagVariants:n}=this.Me();this.featureFlagEventHandlers.forEach((i=>i(r,n,{errorsLoading:t})))}setPersonPropertiesForFlags(t,r){r===void 0&&(r=!0);var n=this._instance.get_property(Vb)||{};this._instance.register({[Vb]:st({},n,t)}),r&&this._instance.reloadFeatureFlags()}resetPersonPropertiesForFlags(){this._instance.unregister(Vb)}setGroupPropertiesForFlags(t,r){r===void 0&&(r=!0);var n=this._instance.get_property(bp)||{};Object.keys(n).length!==0&&Object.keys(n).forEach((i=>{n[i]=st({},n[i],t[i]),delete t[i]})),this._instance.register({[bp]:st({},n,t)}),r&&this._instance.reloadFeatureFlags()}resetGroupPropertiesForFlags(t){if(t){var r=this._instance.get_property(bp)||{};this._instance.register({[bp]:st({},r,{[t]:{}})})}else this._instance.unregister(bp)}reset(){this.ye=!1,this.we=!1,this.Se=!1,this.$e=!1,this.xe=!1,this.ke=!1,this.$anon_distinct_id=void 0,this.Pe(),this.be=!1}};var wtt=["cookie","localstorage","localstorage+cookie","sessionstorage","memory"];let mC=class{constructor(t,r){this.A=t,this.props={},this.Oe=!1,this.Fe=(n=>{var i="";return n.token&&(i=n.token.replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")),n.persistence_name?"ph_"+n.persistence_name:"ph_"+i+"_posthog"})(t),this.it=this.Ae(t),this.load(),t.debug&&ot.info("Persistence loaded",t.persistence,st({},this.props)),this.update_config(t,t,r),this.save()}isDisabled(){return!!this.De}Ae(t){wtt.indexOf(t.persistence.toLowerCase())===-1&&(ot.critical("Unknown persistence type "+t.persistence+"; falling back to localStorage+cookie"),t.persistence="localStorage+cookie");var r=t.persistence.toLowerCase();return r==="localstorage"&&Dn.G()?Dn:r==="localstorage+cookie"&&X2.G()?X2:r==="sessionstorage"&&ai.G()?ai:r==="memory"?tet:r==="cookie"?Sl:X2.G()?X2:Sl}properties(){var t={};return n0(this.props,(function(r,n){if(n===Zf&&sn(r))for(var i=Object.keys(r),a=0;a<i.length;a++)t["$feature/"+i[a]]=r[i[a]];else o=n,l=!1,(zd(s=kZe)?l:VQ&&s.indexOf===VQ?s.indexOf(o)!=-1:(n0(s,(function(c){if(l||(l=c===o))return TS})),l))||(t[n]=r);var s,o,l})),t}load(){if(!this.De){var t=this.it.K(this.Fe);t&&(this.props=bn({},t))}}save(){this.De||this.it.Y(this.Fe,this.props,this.je,this.Le,this.Ne,this.A.debug)}remove(){this.it.X(this.Fe,!1),this.it.X(this.Fe,!0)}clear(){this.remove(),this.props={}}register_once(t,r,n){if(sn(t)){rt(r)&&(r="None"),this.je=rt(n)?this.ze:n;var i=!1;if(n0(t,((a,s)=>{this.props.hasOwnProperty(s)&&this.props[s]!==r||(this.props[s]=a,i=!0)})),i)return this.save(),!0}return!1}register(t,r){if(sn(t)){this.je=rt(r)?this.ze:r;var n=!1;if(n0(t,((i,a)=>{t.hasOwnProperty(a)&&this.props[a]!==i&&(this.props[a]=i,n=!0)})),n)return this.save(),!0}return!1}unregister(t){t in this.props&&(delete this.props[t],this.save())}update_campaign_params(){if(!this.Oe){var t=jme(this.A.custom_campaign_params,this.A.mask_personal_data_properties,this.A.custom_personal_data_properties);Jf(EB(t))||this.register(t),this.Oe=!0}}update_search_keyword(){var t;this.register((t=ct==null?void 0:ct.referrer)?Ime(t):{})}update_referrer_info(){var t;this.register_once({$referrer:Ome(),$referring_domain:ct!=null&&ct.referrer&&((t=sg(ct.referrer))==null?void 0:t.host)||"$direct"},void 0)}set_initial_person_info(){this.props[FI]||this.props[$I]||this.register_once({[_S]:Mme(this.A.mask_personal_data_properties,this.A.custom_personal_data_properties)},void 0)}get_initial_props(){var t={};n0([$I,FI],(s=>{var o=this.props[s];o&&n0(o,(function(l,c){t["$initial_"+EI(c)]=l}))}));var r,n,i=this.props[_S];if(i){var a=(r=kme(i),n={},n0(r,(function(s,o){n["$initial_"+EI(o)]=s})),n);bn(t,a)}return t}safe_merge(t){return n0(this.props,(function(r,n){n in t||(t[n]=r)})),t}update_config(t,r,n){if(this.ze=this.je=t.cookie_expiration,this.set_disabled(t.disable_persistence||!!n),this.set_cross_subdomain(t.cross_subdomain_cookie),this.set_secure(t.secure_cookie),t.persistence!==r.persistence){var i=this.Ae(t),a=this.props;this.clear(),this.it=i,this.props=a,this.save()}}set_disabled(t){this.De=t,this.De?this.remove():this.save()}set_cross_subdomain(t){t!==this.Le&&(this.Le=t,this.remove(),this.save())}set_secure(t){t!==this.Ne&&(this.Ne=t,this.remove(),this.save())}set_event_timer(t,r){var n=this.props[Hb]||{};n[t]=r,this.props[Hb]=n,this.save()}remove_event_timer(t){var r=(this.props[Hb]||{})[t];return rt(r)||(delete this.props[Hb][t],this.save()),r}get_property(t){return this.props[t]}set_property(t,r){this.props[t]=r,this.save()}};(function(e){return e.Button="button",e.Tab="tab",e.Selector="selector",e})({});(function(e){return e.TopLeft="top_left",e.TopRight="top_right",e.TopCenter="top_center",e.MiddleLeft="middle_left",e.MiddleRight="middle_right",e.MiddleCenter="middle_center",e.Left="left",e.Center="center",e.Right="right",e.NextToTrigger="next_to_trigger",e})({});var gC=(function(e){return e.Popover="popover",e.API="api",e.Widget="widget",e.ExternalSurvey="external_survey",e})({});(function(e){return e.Open="open",e.MultipleChoice="multiple_choice",e.SingleChoice="single_choice",e.Rating="rating",e.Link="link",e})({});(function(e){return e.NextQuestion="next_question",e.End="end",e.ResponseBased="response_based",e.SpecificQuestion="specific_question",e})({});(function(e){return e.Once="once",e.Recurring="recurring",e.Always="always",e})({});var bC=(function(e){return e.SHOWN="survey shown",e.DISMISSED="survey dismissed",e.SENT="survey sent",e})({}),WJ=(function(e){return e.SURVEY_ID="$survey_id",e.SURVEY_NAME="$survey_name",e.SURVEY_RESPONSE="$survey_response",e.SURVEY_ITERATION="$survey_iteration",e.SURVEY_ITERATION_START_DATE="$survey_iteration_start_date",e.SURVEY_PARTIALLY_COMPLETED="$survey_partially_completed",e.SURVEY_SUBMISSION_ID="$survey_submission_id",e.SURVEY_QUESTIONS="$survey_questions",e.SURVEY_COMPLETED="$survey_completed",e})({}),Lme=(function(e){return e.Popover="popover",e.Inline="inline",e})({});let Fme=class{constructor(){this.Ue={},this.Ue={}}on(t,r){return this.Ue[t]||(this.Ue[t]=[]),this.Ue[t].push(r),()=>{this.Ue[t]=this.Ue[t].filter((n=>n!==r))}}emit(t,r){for(var n of this.Ue[t]||[])n(r);for(var i of this.Ue["*"]||[])i(t,r)}},_tt=class Of{constructor(t){this.qe=new Fme,this.Be=(r,n)=>this.He(r,n)&&this.We(r,n)&&this.Ge(r,n),this.He=(r,n)=>n==null||!n.event||(r==null?void 0:r.event)===(n==null?void 0:n.event),this._instance=t,this.Je=new Set,this.Ve=new Set}init(){var t;if(!rt((t=this._instance)==null?void 0:t.Ke)){var r;(r=this._instance)==null||r.Ke(((n,i)=>{this.on(n,i)}))}}register(t){var r,n;if(!rt((r=this._instance)==null?void 0:r.Ke)&&(t.forEach((s=>{var o,l;(o=this.Ve)==null||o.add(s),(l=s.steps)==null||l.forEach((c=>{var u;(u=this.Je)==null||u.add((c==null?void 0:c.event)||"")}))})),(n=this._instance)!=null&&n.autocapture)){var i,a=new Set;t.forEach((s=>{var o;(o=s.steps)==null||o.forEach((l=>{l!=null&&l.selector&&a.add(l==null?void 0:l.selector)}))})),(i=this._instance)==null||i.autocapture.setElementSelectors(a)}}on(t,r){var n;r!=null&&t.length!=0&&(this.Je.has(t)||this.Je.has(r==null?void 0:r.event))&&this.Ve&&((n=this.Ve)==null?void 0:n.size)>0&&this.Ve.forEach((i=>{this.Ye(r,i)&&this.qe.emit("actionCaptured",i.name)}))}Xe(t){this.onAction("actionCaptured",(r=>t(r)))}Ye(t,r){if((r==null?void 0:r.steps)==null)return!1;for(var n of r.steps)if(this.Be(t,n))return!0;return!1}onAction(t,r){return this.qe.on(t,r)}We(t,r){if(r!=null&&r.url){var n,i=t==null||(n=t.properties)==null?void 0:n.$current_url;if(!i||typeof i!="string"||!Of.Qe(i,r==null?void 0:r.url,(r==null?void 0:r.url_matching)||"contains"))return!1}return!0}static Qe(t,r,n){switch(n){case"regex":return!!De&&lg(t,r);case"exact":return r===t;case"contains":var i=Of.Ze(r).replace(/_/g,".").replace(/%/g,".*");return lg(t,i);default:return!1}}static Ze(t){return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}Ge(t,r){if((r!=null&&r.href||r!=null&&r.tag_name||r!=null&&r.text)&&!this.tr(t).some((a=>!(r!=null&&r.href&&!Of.Qe(a.href||"",r==null?void 0:r.href,(r==null?void 0:r.href_matching)||"exact"))&&(r==null||!r.tag_name||a.tag_name===(r==null?void 0:r.tag_name))&&!(r!=null&&r.text&&!Of.Qe(a.text||"",r==null?void 0:r.text,(r==null?void 0:r.text_matching)||"exact")&&!Of.Qe(a.$el_text||"",r==null?void 0:r.text,(r==null?void 0:r.text_matching)||"exact")))))return!1;if(r!=null&&r.selector){var n,i=t==null||(n=t.properties)==null?void 0:n.$element_selectors;if(!i||!i.includes(r==null?void 0:r.selector))return!1}return!0}tr(t){return(t==null?void 0:t.properties.$elements)==null?[]:t==null?void 0:t.properties.$elements}};var h0=qn("[Surveys]"),QI="seenSurvey_",Att=(e,t)=>{var r="$survey_"+t+"/"+e.id;return e.current_iteration&&e.current_iteration>0&&(r="$survey_"+t+"/"+e.id+"/"+e.current_iteration),r},HJ=e=>{var t=""+QI+e.id;return e.current_iteration&&e.current_iteration>0&&(t=""+QI+e.id+"_"+e.current_iteration),t},Ctt=[gC.Popover,gC.Widget,gC.API],Ett={ignoreConditions:!1,ignoreDelay:!1,displayType:Lme.Popover};let Ptt=class{constructor(t){this._instance=t,this.ir=new Map,this.er=new Map}register(t){var r;rt((r=this._instance)==null?void 0:r.Ke)||(this.rr(t),this.sr(t))}sr(t){var r=t.filter((n=>{var i,a;return((i=n.conditions)==null?void 0:i.actions)&&((a=n.conditions)==null||(a=a.actions)==null||(a=a.values)==null?void 0:a.length)>0}));r.length!==0&&(this.nr==null&&(this.nr=new _tt(this._instance),this.nr.init(),this.nr.Xe((n=>{this.onAction(n)}))),r.forEach((n=>{var i,a,s,o,l;n.conditions&&(i=n.conditions)!=null&&i.actions&&(a=n.conditions)!=null&&(a=a.actions)!=null&&a.values&&((s=n.conditions)==null||(s=s.actions)==null||(s=s.values)==null?void 0:s.length)>0&&((o=this.nr)==null||o.register(n.conditions.actions.values),(l=n.conditions)==null||(l=l.actions)==null||(l=l.values)==null||l.forEach((c=>{if(c&&c.name){var u=this.er.get(c.name);u&&u.push(n.id),this.er.set(c.name,u||[n.id])}})))})))}rr(t){var r;t.filter((n=>{var i,a;return((i=n.conditions)==null?void 0:i.events)&&((a=n.conditions)==null||(a=a.events)==null||(a=a.values)==null?void 0:a.length)>0})).length!==0&&((r=this._instance)==null||r.Ke(((n,i)=>{this.onEvent(n,i)})),t.forEach((n=>{var i;(i=n.conditions)==null||(i=i.events)==null||(i=i.values)==null||i.forEach((a=>{if(a&&a.name){var s=this.ir.get(a.name);s&&s.push(n.id),this.ir.set(a.name,s||[n.id])}}))})))}onEvent(t,r){var n,i=((n=this._instance)==null||(n=n.persistence)==null?void 0:n.props[K2])||[];if(t==="survey shown"&&r&&i.length>0){var a;h0.info("survey event matched, removing survey from activated surveys",{event:t,eventPayload:r,existingActivatedSurveys:i});var s=r==null||(a=r.properties)==null?void 0:a.$survey_id;if(s){var o=i.indexOf(s);o>=0&&(i.splice(o,1),this.ar(i))}}else this.ir.has(t)&&(h0.info("survey event matched, updating activated surveys",{event:t,surveys:this.ir.get(t)}),this.ar(i.concat(this.ir.get(t)||[])))}onAction(t){var r,n=((r=this._instance)==null||(r=r.persistence)==null?void 0:r.props[K2])||[];this.er.has(t)&&this.ar(n.concat(this.er.get(t)||[]))}ar(t){var r;(r=this._instance)==null||(r=r.persistence)==null||r.register({[K2]:[...new Set(t)]})}getSurveys(){var t,r=(t=this._instance)==null||(t=t.persistence)==null?void 0:t.props[K2];return r||[]}getEventToSurveys(){return this.ir}lr(){return this.nr}},jtt=class{constructor(t){this.hr=void 0,this._surveyManager=null,this.ur=!1,this.dr=!1,this.vr=[],this._instance=t,this._surveyEventReceiver=null}onRemoteConfig(t){if(!this._instance.config.disable_surveys){var r=t.surveys;if(Dr(r))return h0.warn("Flags not loaded yet. Not loading surveys.");var n=w0(r);this.hr=n?r.length>0:r,h0.info("flags response received, isSurveysEnabled: "+this.hr),this.loadIfEnabled()}}reset(){localStorage.removeItem("lastSeenSurveyDate");for(var t=[],r=0;r<localStorage.length;r++){var n=localStorage.key(r);(n!=null&&n.startsWith(QI)||n!=null&&n.startsWith("inProgressSurvey_"))&&t.push(n)}t.forEach((i=>localStorage.removeItem(i)))}loadIfEnabled(){if(!this._surveyManager)if(this.dr)h0.info("Already initializing surveys, skipping...");else if(this._instance.config.disable_surveys)h0.info("Disabled. Not loading surveys.");else if(this._instance.config.cookieless_mode&&this._instance.consent.isOptedOut())h0.info("Not loading surveys in cookieless mode without consent.");else{var t=Ot==null?void 0:Ot.__PosthogExtensions__;if(t){if(!rt(this.hr)||this._instance.config.advanced_enable_surveys){var r=this.hr||this._instance.config.advanced_enable_surveys;this.dr=!0;try{var n=t.generateSurveys;if(n)return void this.cr(n,r);var i=t.loadExternalDependency;if(!i)return void this.pr("PostHog loadExternalDependency extension not found.");i(this._instance,"surveys",(a=>{a||!t.generateSurveys?this.pr("Could not load surveys script",a):this.cr(t.generateSurveys,r)}))}catch(a){throw this.pr("Error initializing surveys",a),a}finally{this.dr=!1}}}else h0.error("PostHog Extensions not found.")}}cr(t,r){this._surveyManager=t(this._instance,r),this._surveyEventReceiver=new Ptt(this._instance),h0.info("Surveys loaded successfully"),this.gr({isLoaded:!0})}pr(t,r){h0.error(t,r),this.gr({isLoaded:!1,error:t})}onSurveysLoaded(t){return this.vr.push(t),this._surveyManager&&this.gr({isLoaded:!0}),()=>{this.vr=this.vr.filter((r=>r!==t))}}getSurveys(t,r){if(r===void 0&&(r=!1),this._instance.config.disable_surveys)return h0.info("Disabled. Not loading surveys."),t([]);var n=this._instance.get_property(kI);if(n&&!r)return t(n,{isLoaded:!0});if(this.ur)return t([],{isLoaded:!1,error:"Surveys are already being loaded"});try{this.ur=!0,this._instance.Re({url:this._instance.requestRouter.endpointFor("api","/api/surveys/?token="+this._instance.config.token),method:"GET",timeout:this._instance.config.surveys_request_timeout_ms,callback:i=>{var a;this.ur=!1;var s=i.statusCode;if(s!==200||!i.json){var o="Surveys API could not be loaded, status: "+s;return h0.error(o),t([],{isLoaded:!1,error:o})}var l,c=i.json.surveys||[],u=c.filter((d=>(function(h){return!(!h.start_date||h.end_date)})(d)&&((function(h){var p;return!((p=h.conditions)==null||(p=p.events)==null||(p=p.values)==null||!p.length)})(d)||(function(h){var p;return!((p=h.conditions)==null||(p=p.actions)==null||(p=p.values)==null||!p.length)})(d))));return u.length>0&&((l=this._surveyEventReceiver)==null||l.register(u)),(a=this._instance.persistence)==null||a.register({[kI]:c}),t(c,{isLoaded:!0})}})}catch(i){throw this.ur=!1,i}}gr(t){for(var r of this.vr)try{if(!t.isLoaded)return r([],t);this.getSurveys(r)}catch(n){h0.error("Error in survey callback",n)}}getActiveMatchingSurveys(t,r){if(r===void 0&&(r=!1),!Dr(this._surveyManager))return this._surveyManager.getActiveMatchingSurveys(t,r);h0.warn("init was not called")}_r(t){var r=null;return this.getSurveys((n=>{var i;r=(i=n.find((a=>a.id===t)))!==null&&i!==void 0?i:null})),r}mr(t){if(Dr(this._surveyManager))return{eligible:!1,reason:"SDK is not enabled or survey functionality is not yet loaded"};var r=typeof t=="string"?this._r(t):t;return r?this._surveyManager.checkSurveyEligibility(r):{eligible:!1,reason:"Survey not found"}}canRenderSurvey(t){if(Dr(this._surveyManager))return h0.warn("init was not called"),{visible:!1,disabledReason:"SDK is not enabled or survey functionality is not yet loaded"};var r=this.mr(t);return{visible:r.eligible,disabledReason:r.reason}}canRenderSurveyAsync(t,r){return Dr(this._surveyManager)?(h0.warn("init was not called"),Promise.resolve({visible:!1,disabledReason:"SDK is not enabled or survey functionality is not yet loaded"})):new Promise((n=>{this.getSurveys((i=>{var a,s=(a=i.find((l=>l.id===t)))!==null&&a!==void 0?a:null;if(s){var o=this.mr(s);n({visible:o.eligible,disabledReason:o.reason})}else n({visible:!1,disabledReason:"Survey not found"})}),r)}))}renderSurvey(t,r){var n;if(Dr(this._surveyManager))h0.warn("init was not called");else{var i=typeof t=="string"?this._r(t):t;if(i!=null&&i.id)if(Ctt.includes(i.type)){var a=ct==null?void 0:ct.querySelector(r);if(a)return(n=i.appearance)!=null&&n.surveyPopupDelaySeconds?(h0.info("Rendering survey "+i.id+" with delay of "+i.appearance.surveyPopupDelaySeconds+" seconds"),void setTimeout((()=>{var s,o;h0.info("Rendering survey "+i.id+" with delay of "+((s=i.appearance)==null?void 0:s.surveyPopupDelaySeconds)+" seconds"),(o=this._surveyManager)==null||o.renderSurvey(i,a),h0.info("Survey "+i.id+" rendered")}),1e3*i.appearance.surveyPopupDelaySeconds)):void this._surveyManager.renderSurvey(i,a);h0.warn("Survey element not found")}else h0.warn("Surveys of type "+i.type+" cannot be rendered in the app");else h0.warn("Survey not found")}}displaySurvey(t,r){var n;if(Dr(this._surveyManager))h0.warn("init was not called");else{var i=this._r(t);if(i){var a=i;if((n=i.appearance)!=null&&n.surveyPopupDelaySeconds&&r.ignoreDelay&&(a=st({},i,{appearance:st({},i.appearance,{surveyPopupDelaySeconds:0})})),r.ignoreConditions===!1){var s=this.canRenderSurvey(i);if(!s.visible)return void h0.warn("Survey is not eligible to be displayed: ",s.disabledReason)}r.displayType!==Lme.Inline?this._surveyManager.handlePopoverSurvey(a):this.renderSurvey(a,r.selector)}else h0.warn("Survey not found")}}};var UJ=qn("[RateLimiter]");let Rtt=class{constructor(t){var r,n;this.serverLimits={},this.lastEventRateLimited=!1,this.checkForLimiting=i=>{var a=i.text;if(a&&a.length)try{(JSON.parse(a).quota_limited||[]).forEach((s=>{UJ.info((s||"events")+" is quota limited."),this.serverLimits[s]=new Date().getTime()+6e4}))}catch(s){return void UJ.warn('could not rate limit - continuing. Error: "'+(s==null?void 0:s.message)+'"',{text:a})}},this.instance=t,this.captureEventsPerSecond=((r=t.config.rate_limiting)==null?void 0:r.events_per_second)||10,this.captureEventsBurstLimit=Math.max(((n=t.config.rate_limiting)==null?void 0:n.events_burst_limit)||10*this.captureEventsPerSecond,this.captureEventsPerSecond),this.lastEventRateLimited=this.clientRateLimitContext(!0).isRateLimited}clientRateLimitContext(t){var r,n,i;t===void 0&&(t=!1);var a=new Date().getTime(),s=(r=(n=this.instance.persistence)==null?void 0:n.get_property(LI))!==null&&r!==void 0?r:{tokens:this.captureEventsBurstLimit,last:a};s.tokens+=(a-s.last)/1e3*this.captureEventsPerSecond,s.last=a,s.tokens>this.captureEventsBurstLimit&&(s.tokens=this.captureEventsBurstLimit);var o=s.tokens<1;return o||t||(s.tokens=Math.max(0,s.tokens-1)),!o||this.lastEventRateLimited||t||this.instance.capture("$$client_ingestion_warning",{$$client_ingestion_warning_message:"posthog-js client rate limited. Config is set to "+this.captureEventsPerSecond+" events per second and "+this.captureEventsBurstLimit+" events burst limit."},{skip_client_rate_limiting:!0}),this.lastEventRateLimited=o,(i=this.instance.persistence)==null||i.set_property(LI,s),{isRateLimited:o,remainingTokens:s.tokens}}isServerRateLimited(t){var r=this.serverLimits[t||"events"]||!1;return r!==!1&&new Date().getTime()<r}};var dp=qn("[RemoteConfig]");let Itt=class{constructor(t){this._instance=t}get remoteConfig(){var t;return(t=Ot._POSTHOG_REMOTE_CONFIG)==null||(t=t[this._instance.config.token])==null?void 0:t.config}br(t){var r,n;(r=Ot.__PosthogExtensions__)!=null&&r.loadExternalDependency?(n=Ot.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,"remote-config",(()=>t(this.remoteConfig))):(dp.error("PostHog Extensions not found. Cannot load remote config."),t())}yr(t){this._instance.Re({method:"GET",url:this._instance.requestRouter.endpointFor("assets","/array/"+this._instance.config.token+"/config"),callback:r=>{t(r.json)}})}load(){try{if(this.remoteConfig)return dp.info("Using preloaded remote config",this.remoteConfig),void this.Te(this.remoteConfig);if(this._instance.L())return void dp.warn("Remote config is disabled. Falling back to local config.");this.br((t=>{if(!t)return dp.info("No config found after loading remote JS config. Falling back to JSON."),void this.yr((r=>{this.Te(r)}));this.Te(t)}))}catch(t){dp.error("Error loading remote config",t)}}Te(t){t?this._instance.config.__preview_remote_config?(this._instance.Te(t),t.hasFeatureFlags!==!1&&this._instance.featureFlags.ensureFlagsLoaded()):dp.info("__preview_remote_config is disabled. Logging config instead",t):dp.error("Failed to fetch remote config from PostHog.")}};var JI=3e3;let Ott=class{constructor(t,r){this.wr=!0,this.Sr=[],this.$r=Ya((r==null?void 0:r.flush_interval_ms)||JI,250,5e3,ot.createLogger("flush interval"),JI),this.kr=t}enqueue(t){this.Sr.push(t),this.Er||this.Ir()}unload(){this.Pr();var t=this.Sr.length>0?this.Rr():{},r=Object.values(t);[...r.filter((n=>n.url.indexOf("/e")===0)),...r.filter((n=>n.url.indexOf("/e")!==0))].map((n=>{this.kr(st({},n,{transport:"sendBeacon"}))}))}enable(){this.wr=!1,this.Ir()}Ir(){var t=this;this.wr||(this.Er=setTimeout((()=>{if(this.Pr(),this.Sr.length>0){var r=this.Rr(),n=function(){var a=r[i],s=new Date().getTime();a.data&&w0(a.data)&&n0(a.data,(o=>{o.offset=Math.abs(o.timestamp-s),delete o.timestamp})),t.kr(a)};for(var i in r)n()}}),this.$r))}Pr(){clearTimeout(this.Er),this.Er=void 0}Rr(){var t={};return n0(this.Sr,(r=>{var n,i=r,a=(i?i.batchKey:null)||i.url;rt(t[a])&&(t[a]=st({},i,{data:[]})),(n=t[a].data)==null||n.push(i.data)})),this.Sr=[],t}};var Mtt=["retriesPerformedSoFar"];let ktt=class{constructor(t){this.Tr=!1,this.Cr=3e3,this.Sr=[],this._instance=t,this.Sr=[],this.Mr=!0,!rt(De)&&"onLine"in De.navigator&&(this.Mr=De.navigator.onLine,N0(De,"online",(()=>{this.Mr=!0,this.ne()})),N0(De,"offline",(()=>{this.Mr=!1})))}get length(){return this.Sr.length}retriableRequest(t){var{retriesPerformedSoFar:r}=t,n=Rfe(t,Mtt);ji(r)&&r>0&&(n.url=MS(n.url,{retry_count:r})),this._instance.Re(st({},n,{callback:i=>{i.statusCode!==200&&(i.statusCode<400||i.statusCode>=500)&&(r!=null?r:0)<10?this.Or(st({retriesPerformedSoFar:r},n)):n.callback==null||n.callback(i)}}))}Or(t){var r=t.retriesPerformedSoFar||0;t.retriesPerformedSoFar=r+1;var n=(function(s){var o=3e3*Math.pow(2,s),l=o/2,c=Math.min(18e5,o),u=(Math.random()-.5)*(c-l);return Math.ceil(c+u)})(r),i=Date.now()+n;this.Sr.push({retryAt:i,requestOptions:t});var a="Enqueued failed request for retry in "+n;navigator.onLine||(a+=" (Browser is offline)"),ot.warn(a),this.Tr||(this.Tr=!0,this.Fr())}Fr(){this.Ar&&clearTimeout(this.Ar),this.Ar=setTimeout((()=>{this.Mr&&this.Sr.length>0&&this.ne(),this.Fr()}),this.Cr)}ne(){var t=Date.now(),r=[],n=this.Sr.filter((a=>a.retryAt<t||(r.push(a),!1)));if(this.Sr=r,n.length>0)for(var{requestOptions:i}of n)this.retriableRequest(i)}unload(){for(var{requestOptions:t}of(this.Ar&&(clearTimeout(this.Ar),this.Ar=void 0),this.Sr))try{this._instance.Re(st({},t,{transport:"sendBeacon"}))}catch(r){ot.error(r)}this.Sr=[]}},Dtt=class{constructor(t){this.Dr=()=>{var r,n,i,a;this.jr||(this.jr={});var s=this.scrollElement(),o=this.scrollY(),l=s?Math.max(0,s.scrollHeight-s.clientHeight):0,c=o+((s==null?void 0:s.clientHeight)||0),u=(s==null?void 0:s.scrollHeight)||0;this.jr.lastScrollY=Math.ceil(o),this.jr.maxScrollY=Math.max(o,(r=this.jr.maxScrollY)!==null&&r!==void 0?r:0),this.jr.maxScrollHeight=Math.max(l,(n=this.jr.maxScrollHeight)!==null&&n!==void 0?n:0),this.jr.lastContentY=c,this.jr.maxContentY=Math.max(c,(i=this.jr.maxContentY)!==null&&i!==void 0?i:0),this.jr.maxContentHeight=Math.max(u,(a=this.jr.maxContentHeight)!==null&&a!==void 0?a:0)},this._instance=t}getContext(){return this.jr}resetContext(){var t=this.jr;return setTimeout(this.Dr,0),t}startMeasuringScrollPosition(){N0(De,"scroll",this.Dr,{capture:!0}),N0(De,"scrollend",this.Dr,{capture:!0}),N0(De,"resize",this.Dr)}scrollElement(){if(!this._instance.config.scroll_root_selector)return De==null?void 0:De.document.documentElement;var t=w0(this._instance.config.scroll_root_selector)?this._instance.config.scroll_root_selector:[this._instance.config.scroll_root_selector];for(var r of t){var n=De==null?void 0:De.document.querySelector(r);if(n)return n}}scrollY(){if(this._instance.config.scroll_root_selector){var t=this.scrollElement();return t&&t.scrollTop||0}return De&&(De.scrollY||De.pageYOffset||De.document.documentElement.scrollTop)||0}scrollX(){if(this._instance.config.scroll_root_selector){var t=this.scrollElement();return t&&t.scrollLeft||0}return De&&(De.scrollX||De.pageXOffset||De.document.documentElement.scrollLeft)||0}};var Ltt=e=>Mme(e==null?void 0:e.config.mask_personal_data_properties,e==null?void 0:e.config.custom_personal_data_properties);let GJ=class{constructor(t,r,n,i){this.Lr=a=>{var s=this.Nr();if(!s||s.sessionId!==a){var o={sessionId:a,props:this.zr(this._instance)};this.Ur.register({[DI]:o})}},this._instance=t,this.qr=r,this.Ur=n,this.zr=i||Ltt,this.qr.onSessionId(this.Lr)}Nr(){return this.Ur.props[DI]}getSetOnceProps(){var t,r=(t=this.Nr())==null?void 0:t.props;return r?"r"in r?kme(r):{$referring_domain:r.referringDomain,$pathname:r.initialPathName,utm_source:r.utm_source,utm_campaign:r.utm_campaign,utm_medium:r.utm_medium,utm_content:r.utm_content,utm_term:r.utm_term}:{}}getSessionProps(){var t={};return n0(EB(this.getSetOnceProps()),((r,n)=>{n==="$current_url"&&(n="url"),t["$session_entry_"+EI(n)]=r})),t}};var yC=qn("[SessionId]");let VJ=class{constructor(t,r,n){var i;if(this.Br=[],this.Hr=(u,d)=>Math.abs(u-d)>this.sessionTimeoutMs,!t.persistence)throw new Error("SessionIdManager requires a PostHogPersistence instance");if(t.config.cookieless_mode==="always")throw new Error('SessionIdManager cannot be used with cookieless_mode="always"');this.A=t.config,this.Ur=t.persistence,this.pi=void 0,this.Ft=void 0,this._sessionStartTimestamp=null,this._sessionActivityTimestamp=null,this.Wr=r||Zu,this.Gr=n||Zu;var a=this.A.persistence_name||this.A.token,s=this.A.session_idle_timeout_seconds||1800;if(this._sessionTimeoutMs=1e3*Ya(s,60,36e3,yC.createLogger("session_idle_timeout_seconds"),1800),t.register({$configured_session_timeout_ms:this._sessionTimeoutMs}),this.Jr(),this.Vr="ph_"+a+"_window_id",this.Kr="ph_"+a+"_primary_window_exists",this.Yr()){var o=ai.K(this.Vr),l=ai.K(this.Kr);o&&!l?this.pi=o:ai.X(this.Vr),ai.Y(this.Kr,!0)}if((i=this.A.bootstrap)!=null&&i.sessionID)try{var c=(u=>{var d=u.replace(/-/g,"");if(d.length!==32)throw new Error("Not a valid UUID");if(d[12]!=="7")throw new Error("Not a UUIDv7");return parseInt(d.substring(0,12),16)})(this.A.bootstrap.sessionID);this.Xr(this.A.bootstrap.sessionID,new Date().getTime(),c)}catch(u){yC.error("Invalid sessionID in bootstrap",u)}this.Qr()}get sessionTimeoutMs(){return this._sessionTimeoutMs}onSessionId(t){return rt(this.Br)&&(this.Br=[]),this.Br.push(t),this.Ft&&t(this.Ft,this.pi),()=>{this.Br=this.Br.filter((r=>r!==t))}}Yr(){return this.A.persistence!=="memory"&&!this.Ur.De&&ai.G()}Zr(t){t!==this.pi&&(this.pi=t,this.Yr()&&ai.Y(this.Vr,t))}ts(){return this.pi?this.pi:this.Yr()?ai.K(this.Vr):null}Xr(t,r,n){t===this.Ft&&r===this._sessionActivityTimestamp&&n===this._sessionStartTimestamp||(this._sessionStartTimestamp=n,this._sessionActivityTimestamp=r,this.Ft=t,this.Ur.register({[xS]:[r,t,n]}))}es(){if(this.Ft&&this._sessionActivityTimestamp&&this._sessionStartTimestamp)return[this._sessionActivityTimestamp,this.Ft,this._sessionStartTimestamp];var t=this.Ur.props[xS];return w0(t)&&t.length===2&&t.push(t[0]),t||[0,null,0]}resetSessionId(){this.Xr(null,null,null)}Qr(){N0(De,"beforeunload",(()=>{this.Yr()&&ai.X(this.Kr)}),{capture:!1})}checkAndGetSessionAndWindowId(t,r){if(t===void 0&&(t=!1),r===void 0&&(r=null),this.A.cookieless_mode==="always")throw new Error('checkAndGetSessionAndWindowId should not be called with cookieless_mode="always"');var n=r||new Date().getTime(),[i,a,s]=this.es(),o=this.ts(),l=ji(s)&&s>0&&Math.abs(n-s)>864e5,c=!1,u=!a,d=!t&&this.Hr(n,i);u||d||l?(a=this.Wr(),o=this.Gr(),yC.info("new session ID generated",{sessionId:a,windowId:o,changeReason:{noSessionId:u,activityTimeout:d,sessionPastMaximumLength:l}}),s=n,c=!0):o||(o=this.Gr(),c=!0);var h=i===0||!t||l?n:i,p=s===0?new Date().getTime():s;return this.Zr(o),this.Xr(a,h,p),t||this.Jr(),c&&this.Br.forEach((m=>m(a,o,c?{noSessionId:u,activityTimeout:d,sessionPastMaximumLength:l}:void 0))),{sessionId:a,windowId:o,sessionStartTimestamp:p,changeReason:c?{noSessionId:u,activityTimeout:d,sessionPastMaximumLength:l}:void 0,lastActivityTimestamp:i}}Jr(){clearTimeout(this.rs),this.rs=setTimeout((()=>{var[t]=this.es();this.Hr(new Date().getTime(),t)&&this.resetSessionId()}),1.1*this.sessionTimeoutMs)}};var Ftt=["$set_once","$set"],Eu=qn("[SiteApps]");class $tt{constructor(t){this._instance=t,this.ss=[],this.apps={}}get isEnabled(){return!!this._instance.config.opt_in_site_apps}ns(t,r){if(r){var n=this.globalsForEvent(r);this.ss.push(n),this.ss.length>1e3&&(this.ss=this.ss.slice(10))}}get siteAppLoaders(){var t;return(t=Ot._POSTHOG_REMOTE_CONFIG)==null||(t=t[this._instance.config.token])==null?void 0:t.siteApps}init(){if(this.isEnabled){var t=this._instance.Ke(this.ns.bind(this));this.os=()=>{t(),this.ss=[],this.os=void 0}}}globalsForEvent(t){var r,n,i,a,s,o,l;if(!t)throw new Error("Event payload is required");var c={},u=this._instance.get_property("$groups")||[],d=this._instance.get_property("$stored_group_properties")||{};for(var[h,p]of Object.entries(d))c[h]={id:u[h],type:h,properties:p};var{$set_once:m,$set:g}=t;return{event:st({},Rfe(t,Ftt),{properties:st({},t.properties,g?{$set:st({},(r=(n=t.properties)==null?void 0:n.$set)!==null&&r!==void 0?r:{},g)}:{},m?{$set_once:st({},(i=(a=t.properties)==null?void 0:a.$set_once)!==null&&i!==void 0?i:{},m)}:{}),elements_chain:(s=(o=t.properties)==null?void 0:o.$elements_chain)!==null&&s!==void 0?s:"",distinct_id:(l=t.properties)==null?void 0:l.distinct_id}),person:{properties:this._instance.get_property("$stored_person_properties")},groups:c}}setupSiteApp(t){var r=this.apps[t.id],n=()=>{var o;!r.errored&&this.ss.length&&(Eu.info("Processing "+this.ss.length+" events for site app with id "+t.id),this.ss.forEach((l=>r.processEvent==null?void 0:r.processEvent(l))),r.processedBuffer=!0),Object.values(this.apps).every((l=>l.processedBuffer||l.errored))&&((o=this.os)==null||o.call(this))},i=!1,a=o=>{r.errored=!o,r.loaded=!0,Eu.info("Site app with id "+t.id+" "+(o?"loaded":"errored")),i&&n()};try{var{processEvent:s}=t.init({posthog:this._instance,callback:o=>{a(o)}});s&&(r.processEvent=s),i=!0}catch(o){Eu.error("Error while initializing PostHog app with config id "+t.id,o),a(!1)}if(i&&r.loaded)try{n()}catch(o){Eu.error("Error while processing buffered events PostHog app with config id "+t.id,o),r.errored=!0}}ls(){var t=this.siteAppLoaders||[];for(var r of t)this.apps[r.id]={id:r.id,loaded:!1,errored:!1,processedBuffer:!1};for(var n of t)this.setupSiteApp(n)}hs(t){if(Object.keys(this.apps).length!==0){var r=this.globalsForEvent(t);for(var n of Object.values(this.apps))try{n.processEvent==null||n.processEvent(r)}catch(i){Eu.error("Error while processing event "+t.event+" for site app "+n.id,i)}}}onRemoteConfig(t){var r,n,i,a=this;if((r=this.siteAppLoaders)!=null&&r.length)return this.isEnabled?(this.ls(),void this._instance.on("eventCaptured",(c=>this.hs(c)))):void Eu.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.');if((n=this.os)==null||n.call(this),(i=t.siteApps)!=null&&i.length)if(this.isEnabled){var s=function(c){var u;Ot["__$$ph_site_app_"+c]=a._instance,(u=Ot.__PosthogExtensions__)==null||u.loadSiteApp==null||u.loadSiteApp(a._instance,l,(d=>{if(d)return Eu.error("Error while initializing PostHog app with config id "+c,d)}))};for(var{id:o,url:l}of t.siteApps)s(o)}else Eu.error('PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed.')}}var Btt=["amazonbot","amazonproductbot","app.hypefactors.com","applebot","archive.org_bot","awariobot","backlinksextendedbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","dataforseobot","deepscan","duckduckbot","facebookexternal","facebookcatalog","http://yandex.com/bots","hubspot","ia_archiver","leikibot","linkedinbot","meta-externalagent","mj12bot","msnbot","nessus","petalbot","pinterest","prerender","rogerbot","screaming frog","sebot-wa","sitebulb","slackbot","slurp","trendictionbot","turnitin","twitterbot","vercel-screenshot","vercelbot","yahoo! slurp","yandexbot","zoombot","bot.htm","bot.php","(bot;","bot/","crawler","ahrefsbot","ahrefssiteaudit","semrushbot","siteauditbot","splitsignalbot","gptbot","oai-searchbot","chatgpt-user","perplexitybot","better uptime bot","sentryuptimebot","uptimerobot","headlesschrome","cypress","google-hoteladsverifier","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleother","google-cloudvertexbot","googleweblight","mediapartners-google","storebot-google","google-inspectiontool","bytespider"],YJ=function(e,t){if(!e)return!1;var r=e.toLowerCase();return Btt.concat(t||[]).some((n=>{var i=n.toLowerCase();return r.indexOf(i)!==-1}))},$me=function(e,t){if(!e)return!1;var r=e.userAgent;if(r&&YJ(r,t))return!0;try{var n=e==null?void 0:e.userAgentData;if(n!=null&&n.brands&&n.brands.some((i=>YJ(i==null?void 0:i.brand,t))))return!0}catch(i){}return!!e.webdriver},Qb=(function(e){return e.US="us",e.EU="eu",e.CUSTOM="custom",e})({}),KJ="i.posthog.com";class Ntt{constructor(t){this.us={},this.instance=t}get apiHost(){var t=this.instance.config.api_host.trim().replace(/\/$/,"");return t==="https://app.posthog.com"?"https://us.i.posthog.com":t}get uiHost(){var t,r=(t=this.instance.config.ui_host)==null?void 0:t.replace(/\/$/,"");return r||(r=this.apiHost.replace("."+KJ,".posthog.com")),r==="https://app.posthog.com"?"https://us.posthog.com":r}get region(){return this.us[this.apiHost]||(/https:\/\/(app|us|us-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this.us[this.apiHost]=Qb.US:/https:\/\/(eu|eu-assets)(\.i)?\.posthog\.com/i.test(this.apiHost)?this.us[this.apiHost]=Qb.EU:this.us[this.apiHost]=Qb.CUSTOM),this.us[this.apiHost]}endpointFor(t,r){if(r===void 0&&(r=""),r&&(r=r[0]==="/"?r:"/"+r),t==="ui")return this.uiHost+r;if(this.region===Qb.CUSTOM)return this.apiHost+r;var n=KJ+r;switch(t){case"assets":return"https://"+this.region+"-assets."+n;case"api":return"https://"+this.region+"."+n}}}var qtt={icontains:(e,t)=>!!De&&t.href.toLowerCase().indexOf(e.toLowerCase())>-1,not_icontains:(e,t)=>!!De&&t.href.toLowerCase().indexOf(e.toLowerCase())===-1,regex:(e,t)=>!!De&&lg(t.href,e),not_regex:(e,t)=>!!De&&!lg(t.href,e),exact:(e,t)=>t.href===e,is_not:(e,t)=>t.href!==e};class _i{constructor(t){var r=this;this.getWebExperimentsAndEvaluateDisplayLogic=function(n){n===void 0&&(n=!1),r.getWebExperiments((i=>{_i.ds("retrieved web experiments from the server"),r.vs=new Map,i.forEach((a=>{if(a.feature_flag_key){var s;r.vs&&(_i.ds("setting flag key ",a.feature_flag_key," to web experiment ",a),(s=r.vs)==null||s.set(a.feature_flag_key,a));var o=r._instance.getFeatureFlag(a.feature_flag_key);on(o)&&a.variants[o]&&r.cs(a.name,o,a.variants[o].transforms)}else if(a.variants)for(var l in a.variants){var c=a.variants[l];_i.fs(c)&&r.cs(a.name,l,c.transforms)}}))}),n)},this._instance=t,this._instance.onFeatureFlags((n=>{this.onFeatureFlags(n)}))}onFeatureFlags(t){if(this._is_bot())_i.ds("Refusing to render web experiment since the viewer is a likely bot");else if(!this._instance.config.disable_web_experiments){if(Dr(this.vs))return this.vs=new Map,this.loadIfEnabled(),void this.previewWebExperiment();_i.ds("applying feature flags",t),t.forEach((r=>{var n;if(this.vs&&(n=this.vs)!=null&&n.has(r)){var i,a=this._instance.getFeatureFlag(r),s=(i=this.vs)==null?void 0:i.get(r);a&&s!=null&&s.variants[a]&&this.cs(s.name,a,s.variants[a].transforms)}}))}}previewWebExperiment(){var t=_i.getWindowLocation();if(t!=null&&t.search){var r=ES(t==null?void 0:t.search,"__experiment_id"),n=ES(t==null?void 0:t.search,"__experiment_variant");r&&n&&(_i.ds("previewing web experiments "+r+" && "+n),this.getWebExperiments((i=>{this.ps(parseInt(r),n,i)}),!1,!0))}}loadIfEnabled(){this._instance.config.disable_web_experiments||this.getWebExperimentsAndEvaluateDisplayLogic()}getWebExperiments(t,r,n){if(this._instance.config.disable_web_experiments&&!n)return t([]);var i=this._instance.get_property("$web_experiments");if(i&&!r)return t(i);this._instance.Re({url:this._instance.requestRouter.endpointFor("api","/api/web_experiments/?token="+this._instance.config.token),method:"GET",callback:a=>{if(a.statusCode!==200||!a.json)return t([]);var s=a.json.experiments||[];return t(s)}})}ps(t,r,n){var i=n.filter((a=>a.id===t));i&&i.length>0&&(_i.ds("Previewing web experiment ["+i[0].name+"] with variant ["+r+"]"),this.cs(i[0].name,r,i[0].variants[r].transforms))}static fs(t){return!Dr(t.conditions)&&_i.gs(t)&&_i._s(t)}static gs(t){var r;if(Dr(t.conditions)||Dr((r=t.conditions)==null?void 0:r.url))return!0;var n,i,a,s=_i.getWindowLocation();return!!s&&((n=t.conditions)==null||!n.url||qtt[(i=(a=t.conditions)==null?void 0:a.urlMatchType)!==null&&i!==void 0?i:"icontains"](t.conditions.url,s))}static getWindowLocation(){return De==null?void 0:De.location}static _s(t){var r;if(Dr(t.conditions)||Dr((r=t.conditions)==null?void 0:r.utm))return!0;var n=jme();if(n.utm_source){var i,a,s,o,l,c,u,d,h=(i=t.conditions)==null||(i=i.utm)==null||!i.utm_campaign||((a=t.conditions)==null||(a=a.utm)==null?void 0:a.utm_campaign)==n.utm_campaign,p=(s=t.conditions)==null||(s=s.utm)==null||!s.utm_source||((o=t.conditions)==null||(o=o.utm)==null?void 0:o.utm_source)==n.utm_source,m=(l=t.conditions)==null||(l=l.utm)==null||!l.utm_medium||((c=t.conditions)==null||(c=c.utm)==null?void 0:c.utm_medium)==n.utm_medium,g=(u=t.conditions)==null||(u=u.utm)==null||!u.utm_term||((d=t.conditions)==null||(d=d.utm)==null?void 0:d.utm_term)==n.utm_term;return h&&m&&g&&p}return!1}static ds(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];ot.info("[WebExperiments] "+t,n)}cs(t,r,n){this._is_bot()?_i.ds("Refusing to render web experiment since the viewer is a likely bot"):r!=="control"?n.forEach((i=>{if(i.selector){var a;_i.ds("applying transform of variant "+r+" for experiment "+t+" ",i);var s=(a=document)==null?void 0:a.querySelectorAll(i.selector);s==null||s.forEach((o=>{var l=o;i.html&&(l.innerHTML=i.html),i.css&&l.setAttribute("style",i.css)}))}})):_i.ds("Control variants leave the page unmodified.")}_is_bot(){return Va&&this._instance?$me(Va,this._instance.config.custom_blocked_useragents):void 0}}var ztt=qn("[PostHog ExternalIntegrations]"),Wtt={intercom:"intercom-integration",crispChat:"crisp-chat-integration"};class Htt{constructor(t){this._instance=t}nt(t,r){var n;(n=Ot.__PosthogExtensions__)==null||n.loadExternalDependency==null||n.loadExternalDependency(this._instance,t,(i=>{if(i)return ztt.error("failed to load script",i);r()}))}startIfEnabledOrStop(){var t=this,r=function(s){var o,l,c;!i||(o=Ot.__PosthogExtensions__)!=null&&(o=o.integrations)!=null&&o[s]||t.nt(Wtt[s],(()=>{var u;(u=Ot.__PosthogExtensions__)==null||(u=u.integrations)==null||(u=u[s])==null||u.start(t._instance)})),!i&&(l=Ot.__PosthogExtensions__)!=null&&(l=l.integrations)!=null&&l[s]&&((c=Ot.__PosthogExtensions__)==null||(c=c.integrations)==null||(c=c[s])==null||c.stop())};for(var[n,i]of Object.entries((a=this._instance.config.integrations)!==null&&a!==void 0?a:{})){var a;r(n)}}}var ZI="[SessionRecording]",i3=qn(ZI);class Utt{get started(){var t;return!((t=this.bs)==null||!t.isStarted)}get status(){var t;return((t=this.bs)==null?void 0:t.status)||"lazy_loading"}constructor(t){if(this._forceAllowLocalhostNetworkCapture=!1,this._instance=t,!this._instance.sessionManager)throw i3.error("started without valid sessionManager"),new Error(ZI+" started without valid sessionManager. This is a bug.");if(this._instance.config.cookieless_mode==="always")throw new Error(ZI+' cannot be used with cookieless_mode="always"')}get qt(){var t=!!this._instance.get_property(I5),r=!this._instance.config.disable_session_recording,n=this._instance.config.disable_session_recording||this._instance.consent.isOptedOut();return De&&t&&r&&!n}startIfEnabledOrStop(t){var r;if(!this.qt||(r=this.bs)==null||!r.isStarted){var n=!rt(Object.assign)&&!rt(Array.from);this.qt&&n?(this.ys(t),i3.info("starting")):this.stopRecording()}}ys(t){var r,n,i;this.qt&&(Ot!=null&&(r=Ot.__PosthogExtensions__)!=null&&(r=r.rrweb)!=null&&r.record&&(n=Ot.__PosthogExtensions__)!=null&&n.initSessionRecording?this.Ii(t):(i=Ot.__PosthogExtensions__)==null||i.loadExternalDependency==null||i.loadExternalDependency(this._instance,this.Pi,(a=>{if(a)return i3.error("could not load recorder",a);this.Ii(t)})))}stopRecording(){var t;(t=this.bs)==null||t.stop()}onRemoteConfig(t){this.ws=t;var r,n=this._instance.persistence;n&&n.register({[I5]:!!t.sessionRecording,[SS]:(r=t.sessionRecording)==null?void 0:r.scriptConfig}),this.bs?(this.bs.onRemoteConfig(t),this.ws=void 0):this.ys(),this.startIfEnabledOrStop()}log(t,r){var n;r===void 0&&(r="log"),(n=this.bs)!=null&&n.log?this.bs.log(t,r):i3.warn("log called before recorder was ready")}get Pi(){var t;return((t=this._instance)==null||(t=t.persistence)==null||(t=t.get_property(SS))==null?void 0:t.script)||"lazy-recorder"}Ii(t){var r,n;if((r=Ot.__PosthogExtensions__)==null||!r.initSessionRecording)throw Error("Called on script loaded before session recording is available");this.bs||(this.bs=(n=Ot.__PosthogExtensions__)==null?void 0:n.initSessionRecording(this._instance),this.bs._forceAllowLocalhostNetworkCapture=this._forceAllowLocalhostNetworkCapture,this.ws&&(this.bs.onRemoteConfig(this.ws),this.ws=void 0)),this.bs.start(t)}onRRwebEmit(t){var r;(r=this.bs)==null||r.onRRwebEmit==null||r.onRRwebEmit(t)}overrideLinkedFlag(){var t;(t=this.bs)==null||t.overrideLinkedFlag()}overrideSampling(){var t;(t=this.bs)==null||t.overrideSampling()}overrideTrigger(t){var r;(r=this.bs)==null||r.overrideTrigger(t)}get sdkDebugProperties(){var t;return((t=this.bs)==null?void 0:t.sdkDebugProperties)||{$recording_status:this.status}}tryAddCustomEvent(t,r){var n;return!((n=this.bs)==null||!n.tryAddCustomEvent(t,r))}}var $y={},eO=()=>{},Mf="posthog",Bme=!ntt&&(ha==null?void 0:ha.indexOf("MSIE"))===-1&&(ha==null?void 0:ha.indexOf("Mozilla"))===-1,XJ=e=>{var t;return{api_host:"https://us.i.posthog.com",ui_host:null,token:"",autocapture:!0,rageclick:!0,cross_subdomain_cookie:MZe(ct==null?void 0:ct.location),persistence:"localStorage+cookie",persistence_name:"",loaded:eO,save_campaign_params:!0,custom_campaign_params:[],custom_blocked_useragents:[],save_referrer:!0,capture_pageview:e!=="2025-05-24"||"history_change",capture_pageleave:"if_capture_pageview",defaults:e!=null?e:"unset",debug:fa&&on(fa==null?void 0:fa.search)&&fa.search.indexOf("__posthog_debug=true")!==-1||!1,cookie_expiration:365,upgrade:!1,disable_session_recording:!1,disable_persistence:!1,disable_web_experiments:!0,disable_surveys:!1,disable_surveys_automatic_display:!1,disable_external_dependency_loading:!1,enable_recording_console_log:void 0,secure_cookie:(De==null||(t=De.location)==null?void 0:t.protocol)==="https:",ip:!1,opt_out_capturing_by_default:!1,opt_out_persistence_by_default:!1,opt_out_useragent_filter:!1,opt_out_capturing_persistence_type:"localStorage",consent_persistence_name:null,opt_out_capturing_cookie_prefix:null,opt_in_site_apps:!1,property_denylist:[],respect_dnt:!1,sanitize_properties:null,request_headers:{},request_batching:!0,properties_string_max_length:65535,session_recording:{},mask_all_element_attributes:!1,mask_all_text:!1,mask_personal_data_properties:!1,custom_personal_data_properties:[],advanced_disable_flags:!1,advanced_disable_decide:!1,advanced_disable_feature_flags:!1,advanced_disable_feature_flags_on_first_load:!1,advanced_only_evaluate_survey_feature_flags:!1,advanced_enable_surveys:!1,advanced_disable_toolbar_metrics:!1,feature_flag_request_timeout_ms:3e3,surveys_request_timeout_ms:1e4,on_request_error:r=>{var n="Bad HTTP status: "+r.statusCode+" "+r.text;ot.error(n)},get_device_id:r=>r,capture_performance:void 0,name:"posthog",bootstrap:{},disable_compression:!1,session_idle_timeout_seconds:1800,person_profiles:"identified_only",before_send:void 0,request_queue_config:{flush_interval_ms:JI},error_tracking:{},_onCapture:eO,__preview_eager_load_replay:!0}},QJ=e=>{var t={};rt(e.process_person)||(t.person_profiles=e.process_person),rt(e.xhr_headers)||(t.request_headers=e.xhr_headers),rt(e.cookie_name)||(t.persistence_name=e.cookie_name),rt(e.disable_cookie)||(t.disable_persistence=e.disable_cookie),rt(e.store_google)||(t.save_campaign_params=e.store_google),rt(e.verbose)||(t.debug=e.verbose);var r=bn({},t,e);return w0(e.property_blacklist)&&(rt(e.property_denylist)?r.property_denylist=e.property_blacklist:w0(e.property_denylist)?r.property_denylist=[...e.property_blacklist,...e.property_denylist]:ot.error("Invalid value for property_denylist config: "+e.property_denylist)),r};class Gtt{constructor(){this.__forceAllowLocalhost=!1}get Ss(){return this.__forceAllowLocalhost}set Ss(t){ot.error("WebPerformanceObserver is deprecated and has no impact on network capture. Use `_forceAllowLocalhostNetworkCapture` on `posthog.sessionRecording`"),this.__forceAllowLocalhost=t}}class P6{get decideEndpointWasHit(){var t,r;return(t=(r=this.featureFlags)==null?void 0:r.hasLoadedFlags)!==null&&t!==void 0&&t}get flagsEndpointWasHit(){var t,r;return(t=(r=this.featureFlags)==null?void 0:r.hasLoadedFlags)!==null&&t!==void 0&&t}constructor(){this.webPerformance=new Gtt,this.$s=!1,this.version=_c.LIB_VERSION,this.xs=new Fme,this._calculate_event_properties=this.calculateEventProperties.bind(this),this.config=XJ(),this.SentryIntegration=Vet,this.sentryIntegration=t=>(function(r,n){var i=pme(r,n);return{name:dme,processEvent:a=>i(a)}})(this,t),this.__request_queue=[],this.__loaded=!1,this.analyticsDefaultEndpoint="/e/",this.ks=!1,this.Es=null,this.Is=null,this.Ps=null,this.featureFlags=new xtt(this),this.toolbar=new Ket(this),this.scrollManager=new Dtt(this),this.pageViewManager=new ttt(this),this.surveys=new jtt(this),this.experiments=new _i(this),this.exceptions=new att(this),this.rateLimiter=new Rtt(this),this.requestRouter=new Ntt(this),this.consent=new ret(this),this.externalIntegrations=new Htt(this),this.people={set:(t,r,n)=>{var i=on(t)?{[t]:r}:t;this.setPersonProperties(i),n==null||n({})},set_once:(t,r,n)=>{var i=on(t)?{[t]:r}:t;this.setPersonProperties(void 0,i),n==null||n({})}},this.on("eventCaptured",(t=>ot.info('send "'+(t==null?void 0:t.event)+'"',t)))}init(t,r,n){if(n&&n!==Mf){var i,a=(i=$y[n])!==null&&i!==void 0?i:new P6;return a._init(t,r,n),$y[n]=a,$y[Mf][n]=a,a}return this._init(t,r,n)}_init(t,r,n){var i,a;if(r===void 0&&(r={}),rt(t)||PI(t))return ot.critical("PostHog was initialized without a token. This likely indicates a misconfiguration. Please check the first argument passed to posthog.init()"),this;if(this.__loaded)return ot.warn("You have already initialized PostHog! Re-initializing is a no-op"),this;this.__loaded=!0,this.config={},this.Rs=r,this.Ts=[],r.person_profiles&&(this.Is=r.person_profiles),this.set_config(bn({},XJ(r.defaults),QJ(r),{name:n,token:t})),this.config.on_xhr_error&&ot.error("on_xhr_error is deprecated. Use on_request_error instead"),this.compression=r.disable_compression?void 0:Ic.GZipJS;var s=this.Cs();this.persistence=new mC(this.config,s),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new mC(st({},this.config,{persistence:"sessionStorage"}),s);var o=st({},this.persistence.props),l=st({},this.sessionPersistence.props);this.register({$initialization_time:new Date().toISOString()}),this.Ms=new Ott((S=>this.Os(S)),this.config.request_queue_config),this.Fs=new ktt(this),this.__request_queue=[];var c=this.config.cookieless_mode==="always"||this.config.cookieless_mode==="on_reject"&&this.consent.isExplicitlyOptedOut();if(c||(this.sessionManager=new VJ(this),this.sessionPropsManager=new GJ(this,this.sessionManager,this.persistence)),new Qet(this).startIfEnabledOrStop(),this.siteApps=new $tt(this),(i=this.siteApps)==null||i.init(),c||(this.config.__preview_eager_load_replay?this.sessionRecording=new PJ(this):this.sessionRecording=new Utt(this),this.sessionRecording.startIfEnabledOrStop()),this.config.disable_scroll_properties||this.scrollManager.startMeasuringScrollPosition(),this.autocapture=new YZe(this),this.autocapture.startIfEnabled(),this.surveys.loadIfEnabled(),this.heatmaps=new ett(this),this.heatmaps.startIfEnabled(),this.webVitalsAutocapture=new Jet(this),this.exceptionObserver=new aet(this),this.exceptionObserver.startIfEnabled(),this.deadClicksAutocapture=new Qfe(this,iet),this.deadClicksAutocapture.startIfEnabled(),this.historyAutocapture=new Tet(this),this.historyAutocapture.startIfEnabled(),_c.DEBUG=_c.DEBUG||this.config.debug,_c.DEBUG&&ot.info("Starting in debug mode",{this:this,config:r,thisC:st({},this.config),p:o,s:l}),((a=r.bootstrap)==null?void 0:a.distinctID)!==void 0){var u,d,h=this.config.get_device_id(Zu()),p=(u=r.bootstrap)!=null&&u.isIdentifiedID?h:r.bootstrap.distinctID;this.persistence.set_property(Tc,(d=r.bootstrap)!=null&&d.isIdentifiedID?"identified":"anonymous"),this.register({distinct_id:r.bootstrap.distinctID,$device_id:p})}if(this.As()){var m,g,b=Object.keys(((m=r.bootstrap)==null?void 0:m.featureFlags)||{}).filter((S=>{var x;return!((x=r.bootstrap)==null||(x=x.featureFlags)==null||!x[S])})).reduce(((S,x)=>{var w;return S[x]=((w=r.bootstrap)==null||(w=w.featureFlags)==null?void 0:w[x])||!1,S}),{}),y=Object.keys(((g=r.bootstrap)==null?void 0:g.featureFlagPayloads)||{}).filter((S=>b[S])).reduce(((S,x)=>{var w,A;return(w=r.bootstrap)!=null&&(w=w.featureFlagPayloads)!=null&&w[x]&&(S[x]=(A=r.bootstrap)==null||(A=A.featureFlagPayloads)==null?void 0:A[x]),S}),{});this.featureFlags.receivedFeatureFlags({featureFlags:b,featureFlagPayloads:y})}if(c)this.register_once({distinct_id:cb,$device_id:null},"");else if(!this.get_distinct_id()){var v=this.config.get_device_id(Zu());this.register_once({distinct_id:v,$device_id:v},""),this.persistence.set_property(Tc,"anonymous")}return N0(De,"onpagehide"in self?"pagehide":"unload",this._handle_unload.bind(this),{passive:!1}),this.toolbar.maybeLoadToolbar(),r.segment?Get(this,(()=>this.Ds())):this.Ds(),ws(this.config._onCapture)&&this.config._onCapture!==eO&&(ot.warn("onCapture is deprecated. Please use `before_send` instead"),this.on("eventCaptured",(S=>this.config._onCapture(S.event,S)))),this.config.ip&&ot.warn('The `ip` config option has NO EFFECT AT ALL and has been deprecated. Use a custom transformation or "Discard IP data" project setting instead. See https://posthog.com/tutorials/web-redact-properties#hiding-customer-ip-address for more information.'),this}Te(t){var r,n,i,a,s,o,l,c;if(!ct||!ct.body)return ot.info("document not ready yet, trying again in 500 milliseconds..."),void setTimeout((()=>{this.Te(t)}),500);this.compression=void 0,t.supportedCompression&&!this.config.disable_compression&&(this.compression=dr(t.supportedCompression,Ic.GZipJS)?Ic.GZipJS:dr(t.supportedCompression,Ic.Base64)?Ic.Base64:void 0),(r=t.analytics)!=null&&r.endpoint&&(this.analyticsDefaultEndpoint=t.analytics.endpoint),this.set_config({person_profiles:this.Is?this.Is:"identified_only"}),(n=this.siteApps)==null||n.onRemoteConfig(t),(i=this.sessionRecording)==null||i.onRemoteConfig(t),(a=this.autocapture)==null||a.onRemoteConfig(t),(s=this.heatmaps)==null||s.onRemoteConfig(t),this.surveys.onRemoteConfig(t),(o=this.webVitalsAutocapture)==null||o.onRemoteConfig(t),(l=this.exceptionObserver)==null||l.onRemoteConfig(t),this.exceptions.onRemoteConfig(t),(c=this.deadClicksAutocapture)==null||c.onRemoteConfig(t)}Ds(){try{this.config.loaded(this)}catch(t){ot.critical("`loaded` function failed",t)}this.js(),this.config.capture_pageview&&setTimeout((()=>{(this.consent.isOptedIn()||this.config.cookieless_mode==="always")&&this.Ls()}),1),new Itt(this).load(),this.featureFlags.flags()}js(){var t;this.is_capturing()&&this.config.request_batching&&((t=this.Ms)==null||t.enable())}_dom_loaded(){this.is_capturing()&&sd(this.__request_queue,(t=>this.Os(t))),this.__request_queue=[],this.js()}_handle_unload(){var t,r;this.config.request_batching?(this.Ns()&&this.capture("$pageleave"),(t=this.Ms)==null||t.unload(),(r=this.Fs)==null||r.unload()):this.Ns()&&this.capture("$pageleave",null,{transport:"sendBeacon"})}Re(t){this.__loaded&&(Bme?this.__request_queue.push(t):this.rateLimiter.isServerRateLimited(t.batchKey)||(t.transport=t.transport||this.config.api_transport,t.url=MS(t.url,{ip:this.config.ip?1:0}),t.headers=st({},this.config.request_headers),t.compression=t.compression==="best-available"?this.compression:t.compression,t.disableXHRCredentials=this.config.__preview_disable_xhr_credentials,this.config.__preview_disable_beacon&&(t.disableTransport=["sendBeacon"]),t.fetchOptions=t.fetchOptions||this.config.fetch_options,(r=>{var n,i,a,s=st({},r);s.timeout=s.timeout||6e4,s.url=MS(s.url,{_:new Date().getTime().toString(),ver:_c.LIB_VERSION,compression:s.compression});var o=(n=s.transport)!==null&&n!==void 0?n:"fetch",l=yT.filter((u=>!s.disableTransport||!u.transport||!s.disableTransport.includes(u.transport))),c=(i=(a=Dfe(l,(u=>u.transport===o)))==null?void 0:a.method)!==null&&i!==void 0?i:l[0].method;if(!c)throw new Error("No available transport method");c(s)})(st({},t,{callback:r=>{var n,i;this.rateLimiter.checkForLimiting(r),r.statusCode>=400&&((n=(i=this.config).on_request_error)==null||n.call(i,r)),t.callback==null||t.callback(r)}}))))}Os(t){this.Fs?this.Fs.retriableRequest(t):this.Re(t)}_execute_array(t){var r,n=[],i=[],a=[];sd(t,(o=>{o&&(r=o[0],w0(r)?a.push(o):ws(o)?o.call(this):w0(o)&&r==="alias"?n.push(o):w0(o)&&r.indexOf("capture")!==-1&&ws(this[r])?a.push(o):i.push(o))}));var s=function(o,l){sd(o,(function(c){if(w0(c[0])){var u=l;n0(c,(function(d){u=u[d[0]].apply(u,d.slice(1))}))}else this[c[0]].apply(this,c.slice(1))}),l)};s(n,this),s(i,this),s(a,this)}As(){var t,r;return((t=this.config.bootstrap)==null?void 0:t.featureFlags)&&Object.keys((r=this.config.bootstrap)==null?void 0:r.featureFlags).length>0||!1}push(t){this._execute_array([t])}capture(t,r,n){var i;if(this.__loaded&&this.persistence&&this.sessionPersistence&&this.Ms){if(this.is_capturing())if(!rt(t)&&on(t)){if(this.config.opt_out_useragent_filter||!this._is_bot()){var a=n!=null&&n.skip_client_rate_limiting?void 0:this.rateLimiter.clientRateLimitContext();if(a==null||!a.isRateLimited){r!=null&&r.$current_url&&!on(r==null?void 0:r.$current_url)&&(ot.error("Invalid `$current_url` property provided to `posthog.capture`. Input must be a string. Ignoring provided value."),r==null||delete r.$current_url),this.sessionPersistence.update_search_keyword(),this.config.save_campaign_params&&this.sessionPersistence.update_campaign_params(),this.config.save_referrer&&this.sessionPersistence.update_referrer_info(),(this.config.save_campaign_params||this.config.save_referrer)&&this.persistence.set_initial_person_info();var s=new Date,o=(n==null?void 0:n.timestamp)||s,l=Zu(),c={uuid:l,event:t,properties:this.calculateEventProperties(t,r||{},o,l)};a&&(c.properties.$lib_rate_limit_remaining_tokens=a.remainingTokens),n!=null&&n.$set&&(c.$set=n==null?void 0:n.$set);var u,d=this.zs(n==null?void 0:n.$set_once);if(d&&(c.$set_once=d),(c=IZe(c,n!=null&&n._noTruncate?null:this.config.properties_string_max_length)).timestamp=o,rt(n==null?void 0:n.timestamp)||(c.properties.$event_time_override_provided=!0,c.properties.$event_time_override_system_time=s),t===bC.DISMISSED||t===bC.SENT){var h=r==null?void 0:r[WJ.SURVEY_ID],p=r==null?void 0:r[WJ.SURVEY_ITERATION];u={id:h,current_iteration:p},localStorage.getItem(HJ(u))||localStorage.setItem(HJ(u),"true"),c.$set=st({},c.$set,{[Att({id:h,current_iteration:p},t===bC.SENT?"responded":"dismissed")]:!0})}var m=st({},c.properties.$set,c.$set);if(Jf(m)||this.setPersonPropertiesForFlags(m),!Dr(this.config.before_send)){var g=this.Us(c);if(!g)return;c=g}this.xs.emit("eventCaptured",c);var b={method:"POST",url:(i=n==null?void 0:n._url)!==null&&i!==void 0?i:this.requestRouter.endpointFor("api",this.analyticsDefaultEndpoint),data:c,compression:"best-available",batchKey:n==null?void 0:n._batchKey};return!this.config.request_batching||n&&(n==null||!n._batchKey)||n!=null&&n.send_instantly?this.Os(b):this.Ms.enqueue(b),c}ot.critical("This capture call is ignored due to client rate limiting.")}}else ot.error("No event name provided to posthog.capture")}else ot.uninitializedWarning("posthog.capture")}Ke(t){return this.on("eventCaptured",(r=>t(r.event,r)))}calculateEventProperties(t,r,n,i,a){if(n=n||new Date,!this.persistence||!this.sessionPersistence)return r;var s=a?void 0:this.persistence.remove_event_timer(t),o=st({},r);if(o.token=this.config.token,o.$config_defaults=this.config.defaults,(this.config.cookieless_mode=="always"||this.config.cookieless_mode=="on_reject"&&this.consent.isExplicitlyOptedOut())&&(o.$cookieless_mode=!0),t==="$snapshot"){var l=st({},this.persistence.properties(),this.sessionPersistence.properties());return o.distinct_id=l.distinct_id,(!on(o.distinct_id)&&!ji(o.distinct_id)||PI(o.distinct_id))&&ot.error("Invalid distinct_id for replay event. This indicates a bug in your implementation"),o}var c,u=vtt(this.config.mask_personal_data_properties,this.config.custom_personal_data_properties);if(this.sessionManager){var{sessionId:d,windowId:h}=this.sessionManager.checkAndGetSessionAndWindowId(a,n.getTime());o.$session_id=d,o.$window_id=h}this.sessionPropsManager&&bn(o,this.sessionPropsManager.getSessionProps());try{var p;this.sessionRecording&&bn(o,this.sessionRecording.sdkDebugProperties),o.$sdk_debug_retry_queue_size=(p=this.Fs)==null?void 0:p.length}catch(y){o.$sdk_debug_error_capturing_properties=String(y)}if(this.requestRouter.region===Qb.CUSTOM&&(o.$lib_custom_api_host=this.config.api_host),c=t!=="$pageview"||a?t!=="$pageleave"||a?this.pageViewManager.doEvent():this.pageViewManager.doPageLeave(n):this.pageViewManager.doPageView(n,i),o=bn(o,c),t==="$pageview"&&ct&&(o.title=ct.title),!rt(s)){var m=n.getTime()-s;o.$duration=parseFloat((m/1e3).toFixed(3))}ha&&this.config.opt_out_useragent_filter&&(o.$browser_type=this._is_bot()?"bot":"browser"),(o=bn({},u,this.persistence.properties(),this.sessionPersistence.properties(),o)).$is_identified=this._isIdentified(),w0(this.config.property_denylist)?n0(this.config.property_denylist,(function(y){delete o[y]})):ot.error("Invalid value for property_denylist config: "+this.config.property_denylist+" or property_blacklist config: "+this.config.property_blacklist);var g=this.config.sanitize_properties;g&&(ot.error("sanitize_properties is deprecated. Use before_send instead"),o=g(o,t));var b=this.qs();return o.$process_person_profile=b,b&&!a&&this.Bs("_calculate_event_properties"),o}zs(t){var r;if(!this.persistence||!this.qs()||this.$s)return t;var n=this.persistence.get_initial_props(),i=(r=this.sessionPropsManager)==null?void 0:r.getSetOnceProps(),a=bn({},n,i||{},t||{}),s=this.config.sanitize_properties;return s&&(ot.error("sanitize_properties is deprecated. Use before_send instead"),a=s(a,"$set_once")),this.$s=!0,Jf(a)?void 0:a}register(t,r){var n;(n=this.persistence)==null||n.register(t,r)}register_once(t,r,n){var i;(i=this.persistence)==null||i.register_once(t,r,n)}register_for_session(t){var r;(r=this.sessionPersistence)==null||r.register(t)}unregister(t){var r;(r=this.persistence)==null||r.unregister(t)}unregister_for_session(t){var r;(r=this.sessionPersistence)==null||r.unregister(t)}Hs(t,r){this.register({[t]:r})}getFeatureFlag(t,r){return this.featureFlags.getFeatureFlag(t,r)}getFeatureFlagPayload(t){var r=this.featureFlags.getFeatureFlagPayload(t);try{return JSON.parse(r)}catch(n){return r}}isFeatureEnabled(t,r){return this.featureFlags.isFeatureEnabled(t,r)}reloadFeatureFlags(){this.featureFlags.reloadFeatureFlags()}updateEarlyAccessFeatureEnrollment(t,r,n){this.featureFlags.updateEarlyAccessFeatureEnrollment(t,r,n)}getEarlyAccessFeatures(t,r,n){return r===void 0&&(r=!1),this.featureFlags.getEarlyAccessFeatures(t,r,n)}on(t,r){return this.xs.on(t,r)}onFeatureFlags(t){return this.featureFlags.onFeatureFlags(t)}onSurveysLoaded(t){return this.surveys.onSurveysLoaded(t)}onSessionId(t){var r,n;return(r=(n=this.sessionManager)==null?void 0:n.onSessionId(t))!==null&&r!==void 0?r:()=>{}}getSurveys(t,r){r===void 0&&(r=!1),this.surveys.getSurveys(t,r)}getActiveMatchingSurveys(t,r){r===void 0&&(r=!1),this.surveys.getActiveMatchingSurveys(t,r)}renderSurvey(t,r){this.surveys.renderSurvey(t,r)}displaySurvey(t,r){r===void 0&&(r=Ett),this.surveys.displaySurvey(t,r)}canRenderSurvey(t){return this.surveys.canRenderSurvey(t)}canRenderSurveyAsync(t,r){return r===void 0&&(r=!1),this.surveys.canRenderSurveyAsync(t,r)}identify(t,r,n){if(!this.__loaded||!this.persistence)return ot.uninitializedWarning("posthog.identify");if(ji(t)&&(t=t.toString(),ot.warn("The first argument to posthog.identify was a number, but it should be a string. It has been converted to a string.")),t)if(["distinct_id","distinctid"].includes(t.toLowerCase()))ot.critical('The string "'+t+'" was set in posthog.identify which indicates an error. This ID should be unique to the user and not a hardcoded string.');else if(t!==cb){if(this.Bs("posthog.identify")){var i=this.get_distinct_id();if(this.register({$user_id:t}),!this.get_property("$device_id")){var a=i;this.register_once({$had_persisted_distinct_id:!0,$device_id:a},"")}t!==i&&t!==this.get_property(Wb)&&(this.unregister(Wb),this.register({distinct_id:t}));var s=(this.persistence.get_property(Tc)||"anonymous")==="anonymous";t!==i&&s?(this.persistence.set_property(Tc,"identified"),this.setPersonPropertiesForFlags(st({},n||{},r||{}),!1),this.capture("$identify",{distinct_id:t,$anon_distinct_id:i},{$set:r||{},$set_once:n||{}}),this.Ps=kJ(t,r,n),this.featureFlags.setAnonymousDistinctId(i)):(r||n)&&this.setPersonProperties(r,n),t!==i&&(this.reloadFeatureFlags(),this.unregister(wS))}}else ot.critical('The string "'+cb+'" was set in posthog.identify which indicates an error. This ID is only used as a sentinel value.');else ot.error("Unique user id has not been set in posthog.identify")}setPersonProperties(t,r){if((t||r)&&this.Bs("posthog.setPersonProperties")){var n=kJ(this.get_distinct_id(),t,r);this.Ps!==n?(this.setPersonPropertiesForFlags(st({},r||{},t||{})),this.capture("$set",{$set:t||{},$set_once:r||{}}),this.Ps=n):ot.info("A duplicate setPersonProperties call was made with the same properties. It has been ignored.")}}group(t,r,n){if(t&&r){if(this.Bs("posthog.group")){var i=this.getGroups();i[t]!==r&&this.resetGroupPropertiesForFlags(t),this.register({$groups:st({},i,{[t]:r})}),n&&(this.capture("$groupidentify",{$group_type:t,$group_key:r,$group_set:n}),this.setGroupPropertiesForFlags({[t]:n})),i[t]===r||n||this.reloadFeatureFlags()}}else ot.error("posthog.group requires a group type and group key")}resetGroups(){this.register({$groups:{}}),this.resetGroupPropertiesForFlags(),this.reloadFeatureFlags()}setPersonPropertiesForFlags(t,r){r===void 0&&(r=!0),this.featureFlags.setPersonPropertiesForFlags(t,r)}resetPersonPropertiesForFlags(){this.featureFlags.resetPersonPropertiesForFlags()}setGroupPropertiesForFlags(t,r){r===void 0&&(r=!0),this.Bs("posthog.setGroupPropertiesForFlags")&&this.featureFlags.setGroupPropertiesForFlags(t,r)}resetGroupPropertiesForFlags(t){this.featureFlags.resetGroupPropertiesForFlags(t)}reset(t){var r,n,i,a;if(ot.info("reset"),!this.__loaded)return ot.uninitializedWarning("posthog.reset");var s=this.get_property("$device_id");if(this.consent.reset(),(r=this.persistence)==null||r.clear(),(n=this.sessionPersistence)==null||n.clear(),this.surveys.reset(),this.featureFlags.reset(),(i=this.persistence)==null||i.set_property(Tc,"anonymous"),(a=this.sessionManager)==null||a.resetSessionId(),this.Ps=null,this.config.cookieless_mode==="always")this.register_once({distinct_id:cb,$device_id:null},"");else{var o=this.config.get_device_id(Zu());this.register_once({distinct_id:o,$device_id:t?o:s},"")}this.register({$last_posthog_reset:new Date().toISOString()},1)}get_distinct_id(){return this.get_property("distinct_id")}getGroups(){return this.get_property("$groups")||{}}get_session_id(){var t,r;return(t=(r=this.sessionManager)==null?void 0:r.checkAndGetSessionAndWindowId(!0).sessionId)!==null&&t!==void 0?t:""}get_session_replay_url(t){if(!this.sessionManager)return"";var{sessionId:r,sessionStartTimestamp:n}=this.sessionManager.checkAndGetSessionAndWindowId(!0),i=this.requestRouter.endpointFor("ui","/project/"+this.config.token+"/replay/"+r);if(t!=null&&t.withTimestamp&&n){var a,s=(a=t.timestampLookBack)!==null&&a!==void 0?a:10;if(!n)return i;i+="?t="+Math.max(Math.floor((new Date().getTime()-n)/1e3)-s,0)}return i}alias(t,r){return t===this.get_property(Lfe)?(ot.critical("Attempting to create alias for existing People user - aborting."),-2):this.Bs("posthog.alias")?(rt(r)&&(r=this.get_distinct_id()),t!==r?(this.Hs(Wb,t),this.capture("$create_alias",{alias:t,distinct_id:r})):(ot.warn("alias matches current distinct_id - skipping api call."),this.identify(t),-1)):void 0}set_config(t){var r=st({},this.config);if(sn(t)){var n,i,a,s,o;bn(this.config,QJ(t));var l=this.Cs();(n=this.persistence)==null||n.update_config(this.config,r,l),this.sessionPersistence=this.config.persistence==="sessionStorage"||this.config.persistence==="memory"?this.persistence:new mC(st({},this.config,{persistence:"sessionStorage"}),l),Dn.G()&&Dn.V("ph_debug")==="true"&&(this.config.debug=!0),this.config.debug&&(_c.DEBUG=!0,ot.info("set_config",{config:t,oldConfig:r,newConfig:st({},this.config)})),(i=this.sessionRecording)==null||i.startIfEnabledOrStop(),(a=this.autocapture)==null||a.startIfEnabled(),(s=this.heatmaps)==null||s.startIfEnabled(),this.surveys.loadIfEnabled(),this.Ws(),(o=this.externalIntegrations)==null||o.startIfEnabledOrStop()}}startSessionRecording(t){var r=t===!0,n={sampling:r||!(t==null||!t.sampling),linked_flag:r||!(t==null||!t.linked_flag),url_trigger:r||!(t==null||!t.url_trigger),event_trigger:r||!(t==null||!t.event_trigger)};if(Object.values(n).some(Boolean)){var i,a,s,o,l;(i=this.sessionManager)==null||i.checkAndGetSessionAndWindowId(),n.sampling&&((a=this.sessionRecording)==null||a.overrideSampling()),n.linked_flag&&((s=this.sessionRecording)==null||s.overrideLinkedFlag()),n.url_trigger&&((o=this.sessionRecording)==null||o.overrideTrigger("url")),n.event_trigger&&((l=this.sessionRecording)==null||l.overrideTrigger("event"))}this.set_config({disable_session_recording:!1})}stopSessionRecording(){this.set_config({disable_session_recording:!0})}sessionRecordingStarted(){var t;return!((t=this.sessionRecording)==null||!t.started)}captureException(t,r){var n=new Error("PostHog syntheticException");return this.exceptions.sendExceptionEvent(st({},vet((i=>i instanceof Error)(t)?{error:t,event:t.message}:{event:t},{syntheticException:n}),r))}loadToolbar(t){return this.toolbar.loadToolbar(t)}get_property(t){var r;return(r=this.persistence)==null?void 0:r.props[t]}getSessionProperty(t){var r;return(r=this.sessionPersistence)==null?void 0:r.props[t]}toString(){var t,r=(t=this.config.name)!==null&&t!==void 0?t:Mf;return r!==Mf&&(r=Mf+"."+r),r}_isIdentified(){var t,r;return((t=this.persistence)==null?void 0:t.get_property(Tc))==="identified"||((r=this.sessionPersistence)==null?void 0:r.get_property(Tc))==="identified"}qs(){var t,r;return!(this.config.person_profiles==="never"||this.config.person_profiles==="identified_only"&&!this._isIdentified()&&Jf(this.getGroups())&&((t=this.persistence)==null||(t=t.props)==null||!t[Wb])&&((r=this.persistence)==null||(r=r.props)==null||!r[AS]))}Ns(){return this.config.capture_pageleave===!0||this.config.capture_pageleave==="if_capture_pageview"&&(this.config.capture_pageview===!0||this.config.capture_pageview==="history_change")}createPersonProfile(){this.qs()||this.Bs("posthog.createPersonProfile")&&this.setPersonProperties({},{})}Bs(t){return this.config.person_profiles==="never"?(ot.error(t+' was called, but process_person is set to "never". This call will be ignored.'),!1):(this.Hs(AS,!0),!0)}Cs(){if(this.config.cookieless_mode==="always")return!0;var t=this.consent.isOptedOut(),r=this.config.opt_out_persistence_by_default||this.config.cookieless_mode==="on_reject";return this.config.disable_persistence||t&&!!r}Ws(){var t,r,n,i,a=this.Cs();return((t=this.persistence)==null?void 0:t.De)!==a&&((n=this.persistence)==null||n.set_disabled(a)),((r=this.sessionPersistence)==null?void 0:r.De)!==a&&((i=this.sessionPersistence)==null||i.set_disabled(a)),a}opt_in_capturing(t){if(this.config.cookieless_mode!=="always"){var r;this.config.cookieless_mode==="on_reject"&&this.consent.isExplicitlyOptedOut()&&(this.reset(!0),this.sessionManager=new VJ(this),this.persistence&&(this.sessionPropsManager=new GJ(this,this.sessionManager,this.persistence)),this.sessionRecording=new PJ(this),this.sessionRecording.startIfEnabledOrStop()),this.consent.optInOut(!0),this.Ws(),this.config.cookieless_mode=="on_reject"&&this.surveys.loadIfEnabled(),(rt(t==null?void 0:t.captureEventName)||t!=null&&t.captureEventName)&&this.capture((r=t==null?void 0:t.captureEventName)!==null&&r!==void 0?r:"$opt_in",t==null?void 0:t.captureProperties,{send_instantly:!0}),this.config.capture_pageview&&this.Ls()}else ot.warn('Consent opt in/out is not valid with cookieless_mode="always" and will be ignored')}opt_out_capturing(){var t;this.config.cookieless_mode!=="always"?(this.config.cookieless_mode==="on_reject"&&this.consent.isOptedIn()&&this.reset(!0),this.consent.optInOut(!1),this.Ws(),this.config.cookieless_mode==="on_reject"&&(this.register({distinct_id:cb,$device_id:null}),this.sessionManager=void 0,this.sessionPropsManager=void 0,(t=this.sessionRecording)==null||t.stopRecording(),this.sessionRecording=void 0,this.Ls())):ot.warn('Consent opt in/out is not valid with cookieless_mode="always" and will be ignored')}has_opted_in_capturing(){return this.consent.isOptedIn()}has_opted_out_capturing(){return this.consent.isOptedOut()}get_explicit_consent_status(){var t=this.consent.consent;return t===Sc.GRANTED?"granted":t===Sc.DENIED?"denied":"pending"}is_capturing(){return this.config.cookieless_mode==="always"||(this.config.cookieless_mode==="on_reject"?this.consent.isExplicitlyOptedOut()||this.consent.isOptedIn():!this.has_opted_out_capturing())}clear_opt_in_out_capturing(){this.consent.reset(),this.Ws()}_is_bot(){return Va?$me(Va,this.config.custom_blocked_useragents):void 0}Ls(){ct&&(ct.visibilityState==="visible"?this.ks||(this.ks=!0,this.capture("$pageview",{title:ct.title},{send_instantly:!0}),this.Es&&(ct.removeEventListener("visibilitychange",this.Es),this.Es=null)):this.Es||(this.Es=this.Ls.bind(this),N0(ct,"visibilitychange",this.Es)))}debug(t){t===!1?(De==null||De.console.log("You've disabled debug mode."),localStorage&&localStorage.removeItem("ph_debug"),this.set_config({debug:!1})):(De==null||De.console.log("You're now in debug mode. All calls to PostHog will be logged in your console.\nYou can disable this with `posthog.debug(false)`."),localStorage&&localStorage.setItem("ph_debug","true"),this.set_config({debug:!0}))}L(){var t,r,n,i,a,s,o,l=this.Rs||{};return"advanced_disable_flags"in l?!!l.advanced_disable_flags:this.config.advanced_disable_flags!==!1?!!this.config.advanced_disable_flags:this.config.advanced_disable_decide===!0?(ot.warn("Config field 'advanced_disable_decide' is deprecated. Please use 'advanced_disable_flags' instead. The old field will be removed in a future major version."),!0):(n="advanced_disable_decide",i=!1,a=ot,s=(r="advanced_disable_flags")in(t=l)&&!rt(t[r]),o=n in t&&!rt(t[n]),s?t[r]:o?(a&&a.warn("Config field '"+n+"' is deprecated. Please use '"+r+"' instead. The old field will be removed in a future major version."),t[n]):i)}Us(t){if(Dr(this.config.before_send))return t;var r=w0(this.config.before_send)?this.config.before_send:[this.config.before_send],n=t;for(var i of r){if(n=i(n),Dr(n)){var a="Event '"+t.event+"' was rejected in beforeSend function";return CZe(t.event)?ot.warn(a+". This can cause unexpected behavior."):ot.info(a),null}n.properties&&!Jf(n.properties)||ot.warn("Event '"+t.event+"' has no properties after beforeSend function, this is likely an error.")}return n}getPageViewId(){var t;return(t=this.pageViewManager.fe)==null?void 0:t.pageViewId}captureTraceFeedback(t,r){this.capture("$ai_feedback",{$ai_trace_id:String(t),$ai_feedback_text:r})}captureTraceMetric(t,r,n){this.capture("$ai_metric",{$ai_trace_id:String(t),$ai_metric_name:r,$ai_metric_value:String(n)})}}(function(e,t){for(var r=0;r<t.length;r++)e.prototype[t[r]]=RZe(e.prototype[t[r]])})(P6,["identify"]);var JJ,Qn=(JJ=$y[Mf]=new P6,(function(){function e(){e.done||(e.done=!0,Bme=!1,n0($y,(function(t){t._dom_loaded()})))}ct!=null&&ct.addEventListener?ct.readyState==="complete"?e():N0(ct,"DOMContentLoaded",e,{capture:!1}):De&&ot.error("Browser doesn't support `document.addEventListener` so PostHog couldn't be initialized")})(),JJ);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Vtt={components:{Button:kF({variants:{primary:{bg:"Pink.Dark",color:"MagicWhite"},secondary:{bg:"Neutral.DarkGrey",color:"Neutral.TrueWhite"}}})}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ytt={};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ktt={};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Xtt={components:{Button:kF({variants:{primary:{bg:"Yellow.Dark",color:"MagicBlack"}}})}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Qtt={};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Jtt={};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ztt={};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ert={};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const trt={components:{Button:kF({variants:{primary:{bg:"Blue.Magic",color:"MagicWhite"},secondary:{bg:"Blue.Pastel",color:"Neutral.Black"}}})}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const rrt={"Room.Quinoa":ert,"Room.Kiwi":Jtt,"Room.Trio":trt,"Room.Honeydew":Qtt,"Room.Farkleberry":Ytt,"Room.Durian":Xtt,"Room.Avocado":Vtt,"Room.Guava":Ktt,"Room.Lobby":Ztt,Room:mce};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const qB=e=>{const t=uLe();let r="";const n=t.map((i,a)=>(r=a===0?i:`${r}.${i}`,rrt[r]||{}));return f.jsx(Mpe,{theme:dLe(...n,{config:{initialColorMode:"dark"}}),...e})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function zB(e){const{children:t,scope:r}=e,n=j.useContext(JY),i=n?[...n,r]:[r];return f.jsx(JY.Provider,{value:i,children:t})}function tO(){return tO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tO.apply(this,arguments)}function nrt(e,t){if(e==null)return{};var r=irt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function irt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var ug=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=nrt(e,["color","size"]);return Se.createElement("svg",tO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}),Se.createElement("line",{x1:"12",y1:"9",x2:"12",y2:"13"}),Se.createElement("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"}))});ug.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};ug.displayName="AlertTriangle";function rO(){return rO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rO.apply(this,arguments)}function art(e,t){if(e==null)return{};var r=srt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function srt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var WB=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=art(e,["color","size"]);return Se.createElement("svg",rO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),Se.createElement("polyline",{points:"19 12 12 19 5 12"}))});WB.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};WB.displayName="ArrowDown";function nO(){return nO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nO.apply(this,arguments)}function ort(e,t){if(e==null)return{};var r=lrt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function lrt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var j6=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=ort(e,["color","size"]);return Se.createElement("svg",nO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("line",{x1:"19",y1:"12",x2:"5",y2:"12"}),Se.createElement("polyline",{points:"12 19 5 12 12 5"}))});j6.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};j6.displayName="ArrowLeft";function iO(){return iO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},iO.apply(this,arguments)}function crt(e,t){if(e==null)return{};var r=urt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function urt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var R6=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=crt(e,["color","size"]);return Se.createElement("svg",iO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),Se.createElement("polyline",{points:"12 5 19 12 12 19"}))});R6.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};R6.displayName="ArrowRight";function aO(){return aO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},aO.apply(this,arguments)}function drt(e,t){if(e==null)return{};var r=prt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function prt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var HB=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=drt(e,["color","size"]);return Se.createElement("svg",aO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("path",{d:"M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"}),Se.createElement("path",{d:"M13.73 21a2 2 0 0 1-3.46 0"}))});HB.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};HB.displayName="Bell";function sO(){return sO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sO.apply(this,arguments)}function hrt(e,t){if(e==null)return{};var r=frt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function frt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var UB=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=hrt(e,["color","size"]);return Se.createElement("svg",sO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),Se.createElement("polyline",{points:"22 4 12 14.01 9 11.01"}))});UB.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};UB.displayName="CheckCircle";function oO(){return oO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},oO.apply(this,arguments)}function mrt(e,t){if(e==null)return{};var r=grt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function grt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var I6=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=mrt(e,["color","size"]);return Se.createElement("svg",oO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("polyline",{points:"20 6 9 17 4 12"}))});I6.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};I6.displayName="Check";function lO(){return lO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lO.apply(this,arguments)}function brt(e,t){if(e==null)return{};var r=yrt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function yrt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var GB=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=brt(e,["color","size"]);return Se.createElement("svg",lO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("polyline",{points:"15 18 9 12 15 6"}))});GB.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};GB.displayName="ChevronLeft";function cO(){return cO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},cO.apply(this,arguments)}function vrt(e,t){if(e==null)return{};var r=Trt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Trt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var VB=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=vrt(e,["color","size"]);return Se.createElement("svg",cO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("polyline",{points:"9 18 15 12 9 6"}))});VB.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};VB.displayName="ChevronRight";function uO(){return uO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},uO.apply(this,arguments)}function Srt(e,t){if(e==null)return{};var r=xrt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function xrt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var O6=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=Srt(e,["color","size"]);return Se.createElement("svg",uO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("path",{d:"M12 20h9"}),Se.createElement("path",{d:"M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"}))});O6.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};O6.displayName="Edit3";function dO(){return dO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},dO.apply(this,arguments)}function wrt(e,t){if(e==null)return{};var r=_rt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function _rt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var YB=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=wrt(e,["color","size"]);return Se.createElement("svg",dO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),Se.createElement("polyline",{points:"15 3 21 3 21 9"}),Se.createElement("line",{x1:"10",y1:"14",x2:"21",y2:"3"}))});YB.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};YB.displayName="ExternalLink";function pO(){return pO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pO.apply(this,arguments)}function Art(e,t){if(e==null)return{};var r=Crt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Crt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var KB=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=Art(e,["color","size"]);return Se.createElement("svg",pO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("polyline",{points:"20 12 20 22 4 22 4 12"}),Se.createElement("rect",{x:"2",y:"7",width:"20",height:"5"}),Se.createElement("line",{x1:"12",y1:"22",x2:"12",y2:"7"}),Se.createElement("path",{d:"M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7z"}),Se.createElement("path",{d:"M12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z"}))});KB.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};KB.displayName="Gift";function hO(){return hO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hO.apply(this,arguments)}function Ert(e,t){if(e==null)return{};var r=Prt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Prt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var Tv=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=Ert(e,["color","size"]);return Se.createElement("svg",hO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("path",{d:"M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"}))});Tv.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};Tv.displayName="Heart";function fO(){return fO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fO.apply(this,arguments)}function jrt(e,t){if(e==null)return{};var r=Rrt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Rrt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var XB=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=jrt(e,["color","size"]);return Se.createElement("svg",fO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("path",{d:"M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"}),Se.createElement("polyline",{points:"9 22 9 12 15 12 15 22"}))});XB.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};XB.displayName="Home";function mO(){return mO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},mO.apply(this,arguments)}function Irt(e,t){if(e==null)return{};var r=Ort(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Ort(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var Sv=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=Irt(e,["color","size"]);return Se.createElement("svg",mO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("circle",{cx:"12",cy:"12",r:"10"}),Se.createElement("line",{x1:"12",y1:"16",x2:"12",y2:"12"}),Se.createElement("line",{x1:"12",y1:"8",x2:"12.01",y2:"8"}))});Sv.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};Sv.displayName="Info";function gO(){return gO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gO.apply(this,arguments)}function Mrt(e,t){if(e==null)return{};var r=krt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function krt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var M6=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=Mrt(e,["color","size"]);return Se.createElement("svg",gO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("polyline",{points:"15 3 21 3 21 9"}),Se.createElement("polyline",{points:"9 21 3 21 3 15"}),Se.createElement("line",{x1:"21",y1:"3",x2:"14",y2:"10"}),Se.createElement("line",{x1:"3",y1:"21",x2:"10",y2:"14"}))});M6.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};M6.displayName="Maximize2";function bO(){return bO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bO.apply(this,arguments)}function Drt(e,t){if(e==null)return{};var r=Lrt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Lrt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var QB=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=Drt(e,["color","size"]);return Se.createElement("svg",bO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"}))});QB.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};QB.displayName="Maximize";function yO(){return yO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yO.apply(this,arguments)}function Frt(e,t){if(e==null)return{};var r=$rt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function $rt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var JB=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=Frt(e,["color","size"]);return Se.createElement("svg",yO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),Se.createElement("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),Se.createElement("line",{x1:"3",y1:"18",x2:"21",y2:"18"}))});JB.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};JB.displayName="Menu";function vO(){return vO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vO.apply(this,arguments)}function Brt(e,t){if(e==null)return{};var r=Nrt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Nrt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var k6=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=Brt(e,["color","size"]);return Se.createElement("svg",vO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("path",{d:"M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"}))});k6.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};k6.displayName="MessageCircle";function TO(){return TO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},TO.apply(this,arguments)}function qrt(e,t){if(e==null)return{};var r=zrt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function zrt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var D6=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=qrt(e,["color","size"]);return Se.createElement("svg",TO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("polyline",{points:"4 14 10 14 10 20"}),Se.createElement("polyline",{points:"20 10 14 10 14 4"}),Se.createElement("line",{x1:"14",y1:"10",x2:"21",y2:"3"}),Se.createElement("line",{x1:"3",y1:"21",x2:"10",y2:"14"}))});D6.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};D6.displayName="Minimize2";function SO(){return SO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},SO.apply(this,arguments)}function Wrt(e,t){if(e==null)return{};var r=Hrt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Hrt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var L6=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=Wrt(e,["color","size"]);return Se.createElement("svg",SO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("path",{d:"M9 18V5l12-2v13"}),Se.createElement("circle",{cx:"6",cy:"18",r:"3"}),Se.createElement("circle",{cx:"18",cy:"16",r:"3"}))});L6.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};L6.displayName="Music";function xO(){return xO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},xO.apply(this,arguments)}function Urt(e,t){if(e==null)return{};var r=Grt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Grt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var ZB=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=Urt(e,["color","size"]);return Se.createElement("svg",xO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("line",{x1:"16.5",y1:"9.4",x2:"7.5",y2:"4.21"}),Se.createElement("path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"}),Se.createElement("polyline",{points:"3.27 6.96 12 12.01 20.73 6.96"}),Se.createElement("line",{x1:"12",y1:"22.08",x2:"12",y2:"12"}))});ZB.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};ZB.displayName="Package";function wO(){return wO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wO.apply(this,arguments)}function Vrt(e,t){if(e==null)return{};var r=Yrt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Yrt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var eN=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=Vrt(e,["color","size"]);return Se.createElement("svg",wO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("rect",{x:"6",y:"4",width:"4",height:"16"}),Se.createElement("rect",{x:"14",y:"4",width:"4",height:"16"}))});eN.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};eN.displayName="Pause";function _O(){return _O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_O.apply(this,arguments)}function Krt(e,t){if(e==null)return{};var r=Xrt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Xrt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var F6=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=Krt(e,["color","size"]);return Se.createElement("svg",_O({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),Se.createElement("line",{x1:"5",y1:"12",x2:"19",y2:"12"}))});F6.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};F6.displayName="Plus";function AO(){return AO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},AO.apply(this,arguments)}function Qrt(e,t){if(e==null)return{};var r=Jrt(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Jrt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var $6=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=Qrt(e,["color","size"]);return Se.createElement("svg",AO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("polyline",{points:"1 4 1 10 7 10"}),Se.createElement("path",{d:"M3.51 15a9 9 0 1 0 2.13-9.36L1 10"}))});$6.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};$6.displayName="RotateCcw";function CO(){return CO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},CO.apply(this,arguments)}function Zrt(e,t){if(e==null)return{};var r=e0t(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function e0t(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var tN=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=Zrt(e,["color","size"]);return Se.createElement("svg",CO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("polyline",{points:"23 4 23 10 17 10"}),Se.createElement("path",{d:"M20.49 15a9 9 0 1 1-2.12-9.36L23 10"}))});tN.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};tN.displayName="RotateCw";function EO(){return EO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},EO.apply(this,arguments)}function t0t(e,t){if(e==null)return{};var r=r0t(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function r0t(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var rN=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=t0t(e,["color","size"]);return Se.createElement("svg",EO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),Se.createElement("polygon",{points:"22 2 15 22 11 13 2 9 22 2"}))});rN.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};rN.displayName="Send";function PO(){return PO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},PO.apply(this,arguments)}function n0t(e,t){if(e==null)return{};var r=i0t(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function i0t(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var B6=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=n0t(e,["color","size"]);return Se.createElement("svg",PO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("circle",{cx:"12",cy:"12",r:"3"}),Se.createElement("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"}))});B6.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};B6.displayName="Settings";function jO(){return jO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},jO.apply(this,arguments)}function a0t(e,t){if(e==null)return{};var r=s0t(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function s0t(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var nN=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=a0t(e,["color","size"]);return Se.createElement("svg",jO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"}),Se.createElement("polyline",{points:"16 6 12 2 8 6"}),Se.createElement("line",{x1:"12",y1:"2",x2:"12",y2:"15"}))});nN.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};nN.displayName="Share";function RO(){return RO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},RO.apply(this,arguments)}function o0t(e,t){if(e==null)return{};var r=l0t(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function l0t(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var iN=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=o0t(e,["color","size"]);return Se.createElement("svg",RO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("path",{d:"M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z"}),Se.createElement("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),Se.createElement("path",{d:"M16 10a4 4 0 0 1-8 0"}))});iN.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};iN.displayName="ShoppingBag";function IO(){return IO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},IO.apply(this,arguments)}function c0t(e,t){if(e==null)return{};var r=u0t(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function u0t(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var N6=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=c0t(e,["color","size"]);return Se.createElement("svg",IO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("polyline",{points:"16 3 21 3 21 8"}),Se.createElement("line",{x1:"4",y1:"20",x2:"21",y2:"3"}),Se.createElement("polyline",{points:"21 16 21 21 16 21"}),Se.createElement("line",{x1:"15",y1:"15",x2:"21",y2:"21"}),Se.createElement("line",{x1:"4",y1:"4",x2:"9",y2:"9"}))});N6.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};N6.displayName="Shuffle";function OO(){return OO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},OO.apply(this,arguments)}function d0t(e,t){if(e==null)return{};var r=p0t(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function p0t(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var aN=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=d0t(e,["color","size"]);return Se.createElement("svg",OO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("polygon",{points:"19 20 9 12 19 4 19 20"}),Se.createElement("line",{x1:"5",y1:"19",x2:"5",y2:"5"}))});aN.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};aN.displayName="SkipBack";function MO(){return MO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},MO.apply(this,arguments)}function h0t(e,t){if(e==null)return{};var r=f0t(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function f0t(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var sN=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=h0t(e,["color","size"]);return Se.createElement("svg",MO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("polygon",{points:"5 4 15 12 5 20 5 4"}),Se.createElement("line",{x1:"19",y1:"5",x2:"19",y2:"19"}))});sN.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};sN.displayName="SkipForward";function kO(){return kO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},kO.apply(this,arguments)}function m0t(e,t){if(e==null)return{};var r=g0t(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function g0t(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var oN=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=m0t(e,["color","size"]);return Se.createElement("svg",kO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"}))});oN.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};oN.displayName="Star";function DO(){return DO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},DO.apply(this,arguments)}function b0t(e,t){if(e==null)return{};var r=y0t(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function y0t(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var lN=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=b0t(e,["color","size"]);return Se.createElement("svg",DO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("polyline",{points:"3 6 5 6 21 6"}),Se.createElement("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}),Se.createElement("line",{x1:"10",y1:"11",x2:"10",y2:"17"}),Se.createElement("line",{x1:"14",y1:"11",x2:"14",y2:"17"}))});lN.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};lN.displayName="Trash2";function LO(){return LO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},LO.apply(this,arguments)}function v0t(e,t){if(e==null)return{};var r=T0t(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function T0t(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var q6=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=v0t(e,["color","size"]);return Se.createElement("svg",LO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),Se.createElement("circle",{cx:"9",cy:"7",r:"4"}),Se.createElement("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"}),Se.createElement("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"}))});q6.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};q6.displayName="Users";function FO(){return FO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},FO.apply(this,arguments)}function S0t(e,t){if(e==null)return{};var r=x0t(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function x0t(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var cN=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=S0t(e,["color","size"]);return Se.createElement("svg",FO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"}),Se.createElement("path",{d:"M15.54 8.46a5 5 0 0 1 0 7.07"}))});cN.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};cN.displayName="Volume1";function $O(){return $O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$O.apply(this,arguments)}function w0t(e,t){if(e==null)return{};var r=_0t(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function _0t(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var uN=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=w0t(e,["color","size"]);return Se.createElement("svg",$O({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("polygon",{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"}),Se.createElement("line",{x1:"23",y1:"9",x2:"17",y2:"15"}),Se.createElement("line",{x1:"17",y1:"9",x2:"23",y2:"15"}))});uN.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};uN.displayName="VolumeX";function BO(){return BO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},BO.apply(this,arguments)}function A0t(e,t){if(e==null)return{};var r=C0t(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function C0t(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var du=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=A0t(e,["color","size"]);return Se.createElement("svg",BO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),Se.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))});du.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};du.displayName="X";function NO(){return NO=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},NO.apply(this,arguments)}function E0t(e,t){if(e==null)return{};var r=P0t(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function P0t(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var dN=j.forwardRef(function(e,t){var r=e.color,n=r===void 0?"currentColor":r,i=e.size,a=i===void 0?24:i,s=E0t(e,["color","size"]);return Se.createElement("svg",NO({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),Se.createElement("polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2"}))});dN.propTypes={color:Re.string,size:Re.oneOfType([Re.string,Re.number])};dN.displayName="Zap";const j0t="/version/436ff68/assets/Jamie%20Bathgate%20-%20Marigolds%20in%20May-CuogBac8.webm",R0t="/version/436ff68/assets/Thumbnail_QuestionGame-BINV466N.webp",I0t="/version/436ff68/assets/Wallpaper_QuestionGame-C2psBv_N.webp",O0t="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbYAAAFEBAMAAAC5fQZRAAAAAXNSR0IArs4c6QAAACdQTFRF9fX1R3BM9/f3AQEB3t7e4ODgwMDApaWlioqKbm1tUlFRNjU1GBcXi2TqcQAAAAZ0Uk5T/wAjQJj+q+L+RAAAC3ZJREFUeNrs3Dtv01AYxvEHqc6lMOCqfIBK8D0IEvsBUUSgQyakVB2ygjJkQirqkAWFQzNkjjxk4aqsaRv7+VDI59h1uAy9KGp19PyGXJw3tv+2orMFcW77KULyohXnkD88RGielG3bCE/Lt20ZhCfacW2PEKLncYwwb5u7cYgfIEzPYsSPEaaNGFsI1Q5CXAC8Fu4jVHcQ6s8N2Ai6LczVLRdBRERERERERERERERERERERERERERERERERERERERERERERERERERERERE1uvlW4TqPXmGW6dtrUGhYe0Al3KXnABokkyRq5MnuC36pEFhk5xdqa1/3tYIrm0ebluN5K/pDbc1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N9x1YpUL6a7ldDGr9Gt2ruS9yM39Gy+D7x7+SwwcxwtjAhzbb64Y9fn68S9eQ+2RIvid90crvKJMFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfHSk+4NTM/qGUuVW0m5fUqp8Rl9RqtyhEaXKiEap3nC3rNvXlCZ3rdsozRUuG1m3RCfurnW7nebE2WlbZ7cUl4E74painFWzbmsjlvuWUuI7VhutWbdUsW63R2mybt1Snbg165boxK2zW6ITt8ZuaU7cunNLUs6qiVt6l6VI/Q+l4gQfDA5u3wAAAABJRU5ErkJggg==",M0t="/version/436ff68/assets/Slide1-DCEDAiTa.png",k0t="/version/436ff68/assets/Slide2-Cs2l9Ccp.png",D0t="/version/436ff68/assets/Slide3-BEmUKkPY.png",L0t="/version/436ff68/assets/Slide4-CpD2eEgf.png",F0t="/version/436ff68/assets/Slide5-DytjbSuE.png";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const $0t={type:"Party",name:f.jsx(L,{id:"+j3qnQ"}),primaryAccentColor:"#cc295a",secondaryAccentColor:"Red.Pastel",thumbnailImage:R0t,wallpaperImage:I0t,music:j0t,taglines:[f.jsx(L,{id:"u0Oj7F"}),f.jsx(L,{id:"/Ws1nn"})],elevatorPitch:f.jsx(f.Fragment,{children:f.jsx(L,{id:"p2xLOp"})}),description:f.jsx(f.Fragment,{children:f.jsx(L,{id:"LWJUnn",components:{0:f.jsx(js,{my:"24px"}),1:f.jsx(p0,{src:O0t,alt:"If I were a vegatable, what would I be?",width:"219px",height:"158px"})}})}),quickBits:[{emoji:"⏱️",text:f.jsx(L,{id:"uxYfKd"})},{emoji:"👥",text:f.jsx(L,{id:"cCjo79"})},{emoji:"🎤",text:f.jsx(L,{id:"oCMVk3"})}],minPlayers:3,howToSlides:[{text:f.jsx(L,{id:"Afvtm8"}),img:M0t},{text:f.jsx(L,{id:"iQ1VRs"}),img:k0t},{text:f.jsx(L,{id:"59faGr"}),img:D0t},{text:f.jsx(L,{id:"ogpiy9"}),img:L0t},{text:f.jsx(L,{id:"quA5v/"}),img:F0t}]},B0t="/version/436ff68/assets/Thumbnail_BigQuestion-CcSk_nFw.webp",N0t="/version/436ff68/assets/Wallpaper_BigQuestion-CIxKNTIK.webp";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const q0t={type:"Daily",name:f.jsx(L,{id:"rk5ytU"}),primaryAccentColor:"Yellow.Dark",secondaryAccentColor:"Yellow.Pastel",thumbnailImage:B0t,minPlayers:1,wallpaperImage:N0t},z0t="/version/436ff68/assets/T.%20Bless%20_%20the%20Professionals%20-%20Secret%20Agent%20T-D5iZBk4h.webm",W0t="/version/436ff68/assets/Thumbnail_SpyGame-CIipPbGb.webp",H0t="/version/436ff68/assets/Wallpaper_SpyGame-C5UAjJYV.webp",U0t="/version/436ff68/assets/durian-gamedetails-image-CJMFlLfA.png",G0t="/version/436ff68/assets/Slide1-B5zR96eH.png",V0t="/version/436ff68/assets/Slide2-DDMH_Sua.png",Y0t="/version/436ff68/assets/Slide3-CMUsM1t4.png",K0t="/version/436ff68/assets/Slide4-BZKCmqsI.png",X0t="/version/436ff68/assets/Slide5-D9GvtBd2.png";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Q0t={type:"Party",name:f.jsx(L,{id:"EsKaBC"}),primaryAccentColor:"Yellow.Dark",secondaryAccentColor:"Yellow.Pastel",thumbnailImage:W0t,wallpaperImage:H0t,music:z0t,taglines:[f.jsx(L,{id:"UtqF0e"}),f.jsx(L,{id:"5tK0NB"})],description:f.jsx(f.Fragment,{children:f.jsx(L,{id:"3HvmwD",components:{0:f.jsx("br",{}),1:f.jsx("br",{}),2:f.jsx(js,{my:"24px"}),3:f.jsx(p0,{src:U0t,alt:"Example game screen",width:"169px",height:"236px"})}})}),elevatorPitch:f.jsx(f.Fragment,{children:f.jsx(L,{id:"Y+YOJy"})}),quickBits:[{emoji:"⏱️",text:f.jsx(L,{id:"zANqO+"})},{emoji:"👥",text:f.jsx(L,{id:"cCjo79"})}],minPlayers:3,howToSlides:[{text:f.jsx(L,{id:"Lktm7j"}),img:G0t},{text:f.jsx(L,{id:"nSo82d"}),img:V0t},{text:f.jsx(L,{id:"1alfR4"}),img:Y0t},{text:f.jsx(L,{id:"xHuXO4"}),img:K0t},{text:f.jsx(L,{id:"ZRK9Vi"}),img:X0t}]},J0t="/version/436ff68/assets/Skipp%20Whitman%20-%20Patience%20-%20Instrumental%20Version-CRFOU6Hd.webm",Z0t="/version/436ff68/assets/GameDetailsImage1-B_eRqMdc.png",ent="/version/436ff68/assets/Thumbnail_Farkleberry-34IxP58V.jpg",tnt="/version/436ff68/assets/Slide0-Daee3PfW.png",rnt="/version/436ff68/assets/Slide1-CFZ_p9yR.png",nnt="/version/436ff68/assets/Slide2-MMwkZh1h.png";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const int={type:"Party",name:f.jsx(L,{id:"L2xxyz"}),primaryAccentColor:"Orange.Tangerine",secondaryAccentColor:"Orange.Pastel",thumbnailImage:ent,taglines:[f.jsx(L,{id:"ZOenET"}),f.jsx(L,{id:"GbW+F7"}),f.jsx(L,{id:"djq7NN"})],music:J0t,elevatorPitch:f.jsx(f.Fragment,{children:f.jsx(L,{id:"ORLIvY",components:{0:f.jsx("em",{})}})}),description:f.jsxs(f.Fragment,{children:[f.jsx(L,{id:"mwc3QN"}),f.jsx(js,{my:"24px",children:f.jsx(p0,{src:Z0t,alt:"Stack of cards",width:"214px",height:"228px"})}),f.jsx(L,{id:"l5IS8O"})]}),minPlayers:1,quickBits:[{emoji:"⏱️",text:f.jsx(L,{id:"IPsUCe"})},{emoji:"💭",text:f.jsx(L,{id:"ZOenET"})},{emoji:"🏆",text:f.jsx(L,{id:"h1+zA7"})}],howToSlides:[{text:f.jsx(L,{id:"15DZlU"}),img:tnt},{text:f.jsx(L,{id:"Qco1D4"}),img:rnt},{text:f.jsx(L,{id:"Ul6oYp"}),img:nnt}]},Nme="/version/436ff68/assets/Skipp%20Whitman%20-%20Awkward%20-%20Instrumental%20Version-BoQzg80S.webm",ant="/version/436ff68/assets/Thumbnail_PictureGame-B4qLjEuO.webp",snt="/version/436ff68/assets/Wallpaper_PictureGame-XcQHwmp0.webp",ont="/version/436ff68/assets/guava-gamedetails-image-Calj982s.png",lnt="/version/436ff68/assets/Slide1-5phrE_7_.png",cnt="/version/436ff68/assets/Slide2-CLqOtQM7.png",unt="/version/436ff68/assets/Slide3-B2fjYHQe.png";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const dnt={type:"Party",name:f.jsx(L,{id:"J/X87J"}),primaryAccentColor:"Green.Magic",secondaryAccentColor:"Green.Pastel",thumbnailImage:ant,wallpaperImage:snt,music:Nme,taglines:[f.jsx(L,{id:"HR7UqL"}),f.jsx(L,{id:"GkviEB"})],description:f.jsx(L,{id:"Ec47VD",components:{0:f.jsx("br",{}),1:f.jsx("br",{}),2:f.jsx(js,{my:"24px"}),3:f.jsx(p0,{src:ont,alt:"Which picture best pairs with the word?",width:"169px",height:"236px"})}}),elevatorPitch:f.jsx(L,{id:"0J+WMC"}),quickBits:[{emoji:"⏱️",text:f.jsx(L,{id:"zANqO+"})},{emoji:"👥",text:f.jsx(L,{id:"DellFI"})}],minPlayers:2,howToSlides:[{text:f.jsx(L,{id:"TYGKfD"}),img:lnt},{text:f.jsx(L,{id:"Pacrl3"}),img:cnt},{text:f.jsx(L,{id:"MWN0Mz"}),img:unt}]},pnt="/version/436ff68/assets/Thumbnail_PhotoBomb-CKVQd0Sg.webp",hnt="/version/436ff68/assets/Wallpaper_PhotoBomb-PoKnah0i.webp",fnt="/version/436ff68/assets/Slide1-Er_cQCO1.png",mnt="/version/436ff68/assets/Slide2-COlOIYDI.png",gnt="/version/436ff68/assets/Slide3-CkvDxZ3z.png",bnt="/version/436ff68/assets/Slide4-Cyqc0B2u.png";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ynt={type:"Party",name:f.jsx(L,{id:"gbu7VC"}),primaryAccentColor:"Purple.Magic",secondaryAccentColor:"Purple.Pastel",thumbnailImage:pnt,wallpaperImage:hnt,music:Nme,taglines:[f.jsx(L,{id:"7ynSWw"}),f.jsx(L,{id:"zYtLKd"})],description:f.jsx(L,{id:"7eIL/5"}),elevatorPitch:f.jsx(L,{id:"b7xZ3n"}),quickBits:[{emoji:"⏱️",text:f.jsx(L,{id:"zANqO+"})},{emoji:"👥",text:f.jsx(L,{id:"cCjo79"})}],minPlayers:3,howToSlides:[{img:fnt,imgAlt:f.jsx(L,{id:"Ik/rrN"}),isFullScreenImage:!0},{img:mnt,imgAlt:f.jsx(L,{id:"xby+pF"}),isFullScreenImage:!0},{img:gnt,imgAlt:f.jsx(L,{id:"4l7YZ6"}),isFullScreenImage:!0},{img:bnt,imgAlt:f.jsx(L,{id:"vl+mhZ"}),isFullScreenImage:!0}]},qme="/version/436ff68/assets/Amit%20Sagie%20-%20Chariot-CUO9YR5c.webm",vnt="/version/436ff68/assets/Thumbnail_HugeManatees-DHwaFWzc.webp",Tnt="/version/436ff68/assets/Wallpaper_HugeManatees-Dj_Pgr1B.webp",Snt="/version/436ff68/assets/Slide1-C0LzX6Nz.png",xnt="/version/436ff68/assets/Slide2-wBO4LrTw.png",wnt="/version/436ff68/assets/Slide3-Cl5-UEOL.png",_nt="/version/436ff68/assets/Slide4-CJwbAwwM.png";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ant={type:"Party",name:f.jsx(L,{id:"337zQ6"}),primaryAccentColor:"Purple.Dark",secondaryAccentColor:"Purple.Pastel",thumbnailImage:vnt,wallpaperImage:Tnt,music:qme,taglines:[f.jsx(L,{id:"gP4zt7"}),f.jsx(L,{id:"zrW+sy"})],description:"",elevatorPitch:f.jsx(L,{id:"Mj/AlS"}),minPlayers:1,quickBits:[{emoji:"⏱️",text:f.jsx(L,{id:"zANqO+"})},{emoji:"👥",text:f.jsx(L,{id:"gBQbOU"})}],howToSlides:[{img:Snt,imgAlt:f.jsx(L,{id:"eKwrtB"}),isFullScreenImage:!0},{img:xnt,imgAlt:f.jsx(L,{id:"Z3Vb3u"}),isFullScreenImage:!0},{img:wnt,imgAlt:f.jsx(L,{id:"823KUS"}),isFullScreenImage:!0},{img:_nt,imgAlt:f.jsx(L,{id:"8wkCbR"}),isFullScreenImage:!0}]},Cnt="/version/436ff68/assets/Thumbnail_Infinicards-CrZpCkTv.webp",Ent="/version/436ff68/assets/Wallpaper_Infinicards-MJDV3xYD.webp";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Pnt={type:"Party",name:f.jsx(L,{id:"SA7g6P"}),primaryAccentColor:"Purple.Dark",secondaryAccentColor:"Purple.Pastel",thumbnailImage:Cnt,wallpaperImage:Ent,music:qme,taglines:[f.jsx(L,{id:"gP4zt7"}),f.jsx(L,{id:"zrW+sy"})],description:"",elevatorPitch:f.jsx(L,{id:"1zHdk8"}),minPlayers:1,quickBits:[{emoji:"⏱️",text:f.jsx(L,{id:"zANqO+"})},{emoji:"👥",text:f.jsx(L,{id:"gBQbOU"})}],requiresOpenAI:!0},jnt="/version/436ff68/assets/Thumbnail_GreatMinds-BXo5i20m.webp",Rnt="/version/436ff68/assets/Wallpaper_GreatMinds-D1CpN8jr.webp";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Int={type:"Daily",name:f.jsx(L,{id:"R6yj/H"}),primaryAccentColor:"Orange.Light",secondaryAccentColor:"Orange.Pastel",thumbnailImage:jnt,minPlayers:1,wallpaperImage:Rnt},Ont="/version/436ff68/assets/Thumbnail_SpyGame-CIipPbGb.webp",Mnt="/version/436ff68/assets/Wallpaper_GlobalPoll-Dbe5maxK.webp";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const knt={type:"Daily",name:f.jsx(L,{id:"GnSd34"}),primaryAccentColor:"Green.Dark",secondaryAccentColor:"Green.Pastel",thumbnailImage:Ont,minPlayers:1,wallpaperImage:Mnt},Dnt="/version/436ff68/assets/Thumbnail_King-DaHUhNut.webp",Lnt="/version/436ff68/assets/Wallpaper_King-DiiNAoJ6.webp";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Fnt={type:"Daily",name:f.jsx(L,{id:"8sil91"}),primaryAccentColor:"Purple.Dark",secondaryAccentColor:"Purple.Pastel",thumbnailImage:Dnt,minPlayers:1,wallpaperImage:Lnt},$nt="/version/436ff68/assets/Thumbnail_SlopMachine-xoLv6q0S.webp",Bnt="/version/436ff68/assets/Wallpaper_SlopMachine-913So567.webp";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Nnt={type:"Daily",name:f.jsx(L,{id:"aE0ULJ"}),primaryAccentColor:"Orange.Dark",secondaryAccentColor:"Orange.Pastel",thumbnailImage:$nt,minPlayers:1,wallpaperImage:Bnt},qnt="/version/436ff68/assets/Dan%20Mayo%20-%20The%20Harvest-CFFiRWy7.webm",znt="/version/436ff68/assets/Thumbnail_MiningGame-KqJzTgJP.webp",Wnt="/version/436ff68/assets/Wallpaper_MiningGame-CodnCXmG.webp";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Hnt={type:"Daily",name:f.jsx(L,{id:"tWbmWD"}),primaryAccentColor:"Blue.Dark",secondaryAccentColor:"Blue.Pastel",thumbnailImage:znt,wallpaperImage:Wnt,minPlayers:1,music:qnt},Unt="/version/436ff68/assets/Thumbnail_MagicGarden-Bt2_o1pu.webp",Gnt="/version/436ff68/assets/Wallpaper_GardenGame-Bwj5Xk8a.webp";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Vnt={type:"Grind",name:f.jsx(L,{id:"mfFlbI"}),primaryAccentColor:"Green.Dark",secondaryAccentColor:"Green.Pastel",thumbnailImage:Unt,wallpaperImage:Gnt,minPlayers:1,taglines:[f.jsx(L,{id:"cIsyes"}),f.jsx(L,{id:"QaPrSE"})],elevatorPitch:f.jsx(f.Fragment,{children:f.jsx(L,{id:"Zy/ZhB"})})},Ynt="/version/436ff68/assets/MooveKa%20-%20Busy%20Day%20Ahead-DmFELhbi.webm",Knt="/version/436ff68/assets/Thumbnail_RockTacToe-PDRlnxlA.webp",Xnt="/version/436ff68/assets/Wallpaper_RockTacToe-D5CFztdH.webp",Qnt="/version/436ff68/assets/Slide1-BOYJIrPV.png",Jnt="/version/436ff68/assets/Slide2-BGSALt4v.png",Znt="/version/436ff68/assets/Slide3-CBqU9vuS.png",eit="/version/436ff68/assets/Slide4-CA4Iehe_.png";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const tit={type:"Party",name:f.jsx(L,{id:"/lNOuJ"}),primaryAccentColor:"Blue.Magic",secondaryAccentColor:"Blue.Pastel",thumbnailImage:Knt,wallpaperImage:Xnt,music:Ynt,taglines:[f.jsx(L,{id:"alIh7h"}),f.jsx(L,{id:"P1X5p3"})],description:f.jsx(L,{id:"Bi0djo"}),elevatorPitch:f.jsx(L,{id:"4GIN2F"}),minPlayers:1,howToSlides:[{img:Qnt,imgAlt:f.jsx(L,{id:"TZbhq/"}),isFullScreenImage:!0},{img:Jnt,imgAlt:f.jsx(L,{id:"eMOH+M"}),isFullScreenImage:!0},{img:Znt,imgAlt:f.jsx(L,{id:"KmZ2tv"}),isFullScreenImage:!0},{img:eit,imgAlt:f.jsx(L,{id:"LSywZv"}),isFullScreenImage:!0}],quickBits:[{emoji:"⏱️",text:f.jsx(L,{id:"gzBIFK"})},{emoji:"👥",text:f.jsx(L,{id:"DellFI"})},{emoji:"♟️",text:f.jsx(L,{id:"nRF0PP"})}]};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Zi={Jalapeno:Ant,Kiwi:Pnt,Trio:tit,Honeydew:ynt,Farkleberry:int,Durian:Q0t,Avocado:$0t,Guava:dnt,AvocadoMini:q0t,Lychee:Int,Mango:knt,Nectarine:Fnt,Orange:Nnt,Peach:Hnt,Quinoa:Vnt};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function zt(e){DF.getInstance().sendMessage({scopePath:["Room","Quinoa"],...e})}const rit="/version/436ff68/assets/Wallpaper_Lobby_Day-VmDlOzZN.webp",nit="/version/436ff68/assets/Wallpaper_Lobby_Night-CS35-ThA.webp";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const z=j.forwardRef(({children:e,col:t,auto:r,autoW:n,autoH:i,orient:a,...s},o)=>{const l=s.flexDirection||s.flexDir||s.direction||t?"column":"row",{justify:c,align:u}=j.useMemo(()=>iit(a,l),[a,l]),d=s.wrap==="nowrap"?void 0:u;return f.jsx(f6,{ref:o,className:"McFlex",flexDir:l,justify:c,align:u,alignContent:d,w:r||n?"auto":"100%",h:r||i?"auto":"100%",...s,children:e})});z.displayName="McFlex";function iit(e="",t="row"){let r="center",n="center";return e.split(" ").forEach(a=>{switch(a){case"top":t==="row"?n="flex-start":r="flex-start";break;case"bottom":t==="row"?n="flex-end":r="flex-end";break;case"left":t==="row"?r="flex-start":n="flex-start";break;case"right":t==="row"?r="flex-end":n="flex-end";break;case"space-between":case"space-around":case"space-evenly":r=a;break;case"stretch":n=a;break}}),{justify:r,align:n}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const bt=j.forwardRef(({children:e,auto:t,autoW:r,autoH:n,...i},a)=>f.jsx(fv,{ref:a,className:"McGrid",w:t||r?"auto":"100%",h:t||n?"auto":"100%",...i,children:e}));bt.displayName="McGrid";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Cn=Rn.create(Ne),jir=Rn.create(_n),ait=Rn.create(ue),zme=Rn.create(f6),qO=Rn.create(p0);Rn.create(fv);Rn.create("video");const Wme=Rn.create(Xe),Ol=Rn.create(z),sit=Rn.create(bt);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const pN=({gameName:e,brightness:t=1,renderInPortal:r=!1})=>{var s,o;if(r&&(typeof window>"u"||!(document!=null&&document.body)))return null;let n;e==="Lobby"?n=gce()?nit:rit:n=(o=(s=Zi[e])==null?void 0:s.wallpaperImage)!=null?o:"";const i=1-t,a=f.jsx(bi,{children:f.jsx(Ol,{position:"absolute",...r&&{height:"100lvh",top:"0",left:"0",right:"0",bottom:"0",zIndex:"-2",pointerEvents:"none"},children:f.jsx(z,{className:"BackgroundImage",sx:{background:`linear-gradient(to bottom, rgba(0, 0, 0, ${i}), rgba(0, 0, 0, ${i})), url("${n}")`,backgroundPosition:e==="Lobby"?"bottom":"center",backgroundSize:"cover"}})},e)});return r?i6.createPortal(a,document.body):a};function ZJ(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function hN(e={},t={}){const r=["__proto__","constructor","prototype"];Object.keys(t).filter(n=>r.indexOf(n)<0).forEach(n=>{typeof e[n]>"u"?e[n]=t[n]:ZJ(t[n])&&ZJ(e[n])&&Object.keys(t[n]).length>0&&hN(e[n],t[n])})}const Hme={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function wl(){const e=typeof document<"u"?document:{};return hN(e,Hme),e}const oit={document:Hme,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function la(){const e=typeof window<"u"?window:{};return hN(e,oit),e}function lit(e=""){return e.trim().split(" ").filter(t=>!!t.trim())}function cit(e){const t=e;Object.keys(t).forEach(r=>{try{t[r]=null}catch(n){}try{delete t[r]}catch(n){}})}function Ume(e,t=0){return setTimeout(e,t)}function DS(){return Date.now()}function uit(e){const t=la();let r;return t.getComputedStyle&&(r=t.getComputedStyle(e,null)),!r&&e.currentStyle&&(r=e.currentStyle),r||(r=e.style),r}function dit(e,t="x"){const r=la();let n,i,a;const s=uit(e);return r.WebKitCSSMatrix?(i=s.transform||s.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(o=>o.replace(",",".")).join(", ")),a=new r.WebKitCSSMatrix(i==="none"?"":i)):(a=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=a.toString().split(",")),t==="x"&&(r.WebKitCSSMatrix?i=a.m41:n.length===16?i=parseFloat(n[12]):i=parseFloat(n[4])),t==="y"&&(r.WebKitCSSMatrix?i=a.m42:n.length===16?i=parseFloat(n[13]):i=parseFloat(n[5])),i||0}function a3(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function pit(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function za(...e){const t=Object(e[0]),r=["__proto__","constructor","prototype"];for(let n=1;n<e.length;n+=1){const i=e[n];if(i!=null&&!pit(i)){const a=Object.keys(Object(i)).filter(s=>r.indexOf(s)<0);for(let s=0,o=a.length;s<o;s+=1){const l=a[s],c=Object.getOwnPropertyDescriptor(i,l);c!==void 0&&c.enumerable&&(a3(t[l])&&a3(i[l])?i[l].__swiper__?t[l]=i[l]:za(t[l],i[l]):!a3(t[l])&&a3(i[l])?(t[l]={},i[l].__swiper__?t[l]=i[l]:za(t[l],i[l])):t[l]=i[l])}}}return t}function s3(e,t,r){e.style.setProperty(t,r)}function Gme({swiper:e,targetPosition:t,side:r}){const n=la(),i=-e.translate;let a=null,s;const o=e.params.speed;e.wrapperEl.style.scrollSnapType="none",n.cancelAnimationFrame(e.cssModeFrameID);const l=t>i?"next":"prev",c=(d,h)=>l==="next"&&d>=h||l==="prev"&&d<=h,u=()=>{s=new Date().getTime(),a===null&&(a=s);const d=Math.max(Math.min((s-a)/o,1),0),h=.5-Math.cos(d*Math.PI)/2;let p=i+h*(t-i);if(c(p,t)&&(p=t),e.wrapperEl.scrollTo({[r]:p}),c(p,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[r]:p})}),n.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=n.requestAnimationFrame(u)};u()}function ll(e,t=""){const r=la(),n=[...e.children];return r.HTMLSlotElement&&e instanceof HTMLSlotElement&&n.push(...e.assignedElements()),t?n.filter(i=>i.matches(t)):n}function hit(e,t){const r=[t];for(;r.length>0;){const n=r.shift();if(e===n)return!0;r.push(...n.children,...n.shadowRoot?n.shadowRoot.children:[],...n.assignedElements?n.assignedElements():[])}}function fit(e,t){const r=la();let n=t.contains(e);return!n&&r.HTMLSlotElement&&t instanceof HTMLSlotElement&&(n=[...t.assignedElements()].includes(e),n||(n=hit(e,t))),n}function LS(e){try{console.warn(e);return}catch(t){}}function FS(e,t=[]){const r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:lit(t)),r}function mit(e,t){const r=[];for(;e.previousElementSibling;){const n=e.previousElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function git(e,t){const r=[];for(;e.nextElementSibling;){const n=e.nextElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function ed(e,t){return la().getComputedStyle(e,null).getPropertyValue(t)}function $S(e){let t=e,r;if(t){for(r=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(r+=1);return r}}function Vme(e,t){const r=[];let n=e.parentElement;for(;n;)t?n.matches(t)&&r.push(n):r.push(n),n=n.parentElement;return r}function zO(e,t,r){const n=la();return e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom"))}function rc(e){return(Array.isArray(e)?e:[e]).filter(t=>!!t)}function BS(e,t=""){typeof trustedTypes<"u"?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:r=>r}).createHTML(t):e.innerHTML=t}function bit(e,t,r,n){return e.params.createElements&&Object.keys(n).forEach(i=>{if(!r[i]&&r.auto===!0){let a=ll(e.el,`.${n[i]}`)[0];a||(a=FS("div",n[i]),a.className=n[i],e.el.append(a)),r[i]=a,t[i]=a}}),r}function mb(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function yit({swiper:e,extendParams:t,on:r,emit:n}){const i="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:y=>y,formatFractionTotal:y=>y,bulletClass:`${i}-bullet`,bulletActiveClass:`${i}-bullet-active`,modifierClass:`${i}-`,currentClass:`${i}-current`,totalClass:`${i}-total`,hiddenClass:`${i}-hidden`,progressbarFillClass:`${i}-progressbar-fill`,progressbarOppositeClass:`${i}-progressbar-opposite`,clickableClass:`${i}-clickable`,lockClass:`${i}-lock`,horizontalClass:`${i}-horizontal`,verticalClass:`${i}-vertical`,paginationDisabledClass:`${i}-disabled`}}),e.pagination={el:null,bullets:[]};let a,s=0;function o(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function l(y,v){const{bulletActiveClass:S}=e.params.pagination;y&&(y=y[`${v==="prev"?"previous":"next"}ElementSibling`],y&&(y.classList.add(`${S}-${v}`),y=y[`${v==="prev"?"previous":"next"}ElementSibling`],y&&y.classList.add(`${S}-${v}-${v}`)))}function c(y,v,S){if(y=y%S,v=v%S,v===y+1)return"next";if(v===y-1)return"previous"}function u(y){const v=y.target.closest(mb(e.params.pagination.bulletClass));if(!v)return;y.preventDefault();const S=$S(v)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===S)return;const x=c(e.realIndex,S,e.slides.length);x==="next"?e.slideNext():x==="previous"?e.slidePrev():e.slideToLoop(S)}else e.slideTo(S)}function d(){const y=e.rtl,v=e.params.pagination;if(o())return;let S=e.pagination.el;S=rc(S);let x,w;const A=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,_=e.params.loop?Math.ceil(A/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(w=e.previousRealIndex||0,x=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(x=e.snapIndex,w=e.previousSnapIndex):(w=e.previousIndex||0,x=e.activeIndex||0),v.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const C=e.pagination.bullets;let E,R,P;if(v.dynamicBullets&&(a=zO(C[0],e.isHorizontal()?"width":"height"),S.forEach(O=>{O.style[e.isHorizontal()?"width":"height"]=`${a*(v.dynamicMainBullets+4)}px`}),v.dynamicMainBullets>1&&w!==void 0&&(s+=x-(w||0),s>v.dynamicMainBullets-1?s=v.dynamicMainBullets-1:s<0&&(s=0)),E=Math.max(x-s,0),R=E+(Math.min(C.length,v.dynamicMainBullets)-1),P=(R+E)/2),C.forEach(O=>{const k=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(I=>`${v.bulletActiveClass}${I}`)].map(I=>typeof I=="string"&&I.includes(" ")?I.split(" "):I).flat();O.classList.remove(...k)}),S.length>1)C.forEach(O=>{const k=$S(O);k===x?O.classList.add(...v.bulletActiveClass.split(" ")):e.isElement&&O.setAttribute("part","bullet"),v.dynamicBullets&&(k>=E&&k<=R&&O.classList.add(...`${v.bulletActiveClass}-main`.split(" ")),k===E&&l(O,"prev"),k===R&&l(O,"next"))});else{const O=C[x];if(O&&O.classList.add(...v.bulletActiveClass.split(" ")),e.isElement&&C.forEach((k,I)=>{k.setAttribute("part",I===x?"bullet-active":"bullet")}),v.dynamicBullets){const k=C[E],I=C[R];for(let M=E;M<=R;M+=1)C[M]&&C[M].classList.add(...`${v.bulletActiveClass}-main`.split(" "));l(k,"prev"),l(I,"next")}}if(v.dynamicBullets){const O=Math.min(C.length,v.dynamicMainBullets+4),k=(a*O-a)/2-P*a,I=y?"right":"left";C.forEach(M=>{M.style[e.isHorizontal()?I:"top"]=`${k}px`})}}S.forEach((C,E)=>{if(v.type==="fraction"&&(C.querySelectorAll(mb(v.currentClass)).forEach(R=>{R.textContent=v.formatFractionCurrent(x+1)}),C.querySelectorAll(mb(v.totalClass)).forEach(R=>{R.textContent=v.formatFractionTotal(_)})),v.type==="progressbar"){let R;v.progressbarOpposite?R=e.isHorizontal()?"vertical":"horizontal":R=e.isHorizontal()?"horizontal":"vertical";const P=(x+1)/_;let O=1,k=1;R==="horizontal"?O=P:k=P,C.querySelectorAll(mb(v.progressbarFillClass)).forEach(I=>{I.style.transform=`translate3d(0,0,0) scaleX(${O}) scaleY(${k})`,I.style.transitionDuration=`${e.params.speed}ms`})}v.type==="custom"&&v.renderCustom?(BS(C,v.renderCustom(e,x+1,_)),E===0&&n("paginationRender",C)):(E===0&&n("paginationRender",C),n("paginationUpdate",C)),e.params.watchOverflow&&e.enabled&&C.classList[e.isLocked?"add":"remove"](v.lockClass)})}function h(){const y=e.params.pagination;if(o())return;const v=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let S=e.pagination.el;S=rc(S);let x="";if(y.type==="bullets"){let w=e.params.loop?Math.ceil(v/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&w>v&&(w=v);for(let A=0;A<w;A+=1)y.renderBullet?x+=y.renderBullet.call(e,A,y.bulletClass):x+=`<${y.bulletElement} ${e.isElement?'part="bullet"':""} class="${y.bulletClass}"></${y.bulletElement}>`}y.type==="fraction"&&(y.renderFraction?x=y.renderFraction.call(e,y.currentClass,y.totalClass):x=`<span class="${y.currentClass}"></span> / <span class="${y.totalClass}"></span>`),y.type==="progressbar"&&(y.renderProgressbar?x=y.renderProgressbar.call(e,y.progressbarFillClass):x=`<span class="${y.progressbarFillClass}"></span>`),e.pagination.bullets=[],S.forEach(w=>{y.type!=="custom"&&BS(w,x||""),y.type==="bullets"&&e.pagination.bullets.push(...w.querySelectorAll(mb(y.bulletClass)))}),y.type!=="custom"&&n("paginationRender",S[0])}function p(){e.params.pagination=bit(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const y=e.params.pagination;if(!y.el)return;let v;typeof y.el=="string"&&e.isElement&&(v=e.el.querySelector(y.el)),!v&&typeof y.el=="string"&&(v=[...document.querySelectorAll(y.el)]),v||(v=y.el),!(!v||v.length===0)&&(e.params.uniqueNavElements&&typeof y.el=="string"&&Array.isArray(v)&&v.length>1&&(v=[...e.el.querySelectorAll(y.el)],v.length>1&&(v=v.find(S=>Vme(S,".swiper")[0]===e.el))),Array.isArray(v)&&v.length===1&&(v=v[0]),Object.assign(e.pagination,{el:v}),v=rc(v),v.forEach(S=>{y.type==="bullets"&&y.clickable&&S.classList.add(...(y.clickableClass||"").split(" ")),S.classList.add(y.modifierClass+y.type),S.classList.add(e.isHorizontal()?y.horizontalClass:y.verticalClass),y.type==="bullets"&&y.dynamicBullets&&(S.classList.add(`${y.modifierClass}${y.type}-dynamic`),s=0,y.dynamicMainBullets<1&&(y.dynamicMainBullets=1)),y.type==="progressbar"&&y.progressbarOpposite&&S.classList.add(y.progressbarOppositeClass),y.clickable&&S.addEventListener("click",u),e.enabled||S.classList.add(y.lockClass)}))}function m(){const y=e.params.pagination;if(o())return;let v=e.pagination.el;v&&(v=rc(v),v.forEach(S=>{S.classList.remove(y.hiddenClass),S.classList.remove(y.modifierClass+y.type),S.classList.remove(e.isHorizontal()?y.horizontalClass:y.verticalClass),y.clickable&&(S.classList.remove(...(y.clickableClass||"").split(" ")),S.removeEventListener("click",u))})),e.pagination.bullets&&e.pagination.bullets.forEach(S=>S.classList.remove(...y.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const y=e.params.pagination;let{el:v}=e.pagination;v=rc(v),v.forEach(S=>{S.classList.remove(y.horizontalClass,y.verticalClass),S.classList.add(e.isHorizontal()?y.horizontalClass:y.verticalClass)})}),r("init",()=>{e.params.pagination.enabled===!1?b():(p(),h(),d())}),r("activeIndexChange",()=>{typeof e.snapIndex>"u"&&d()}),r("snapIndexChange",()=>{d()}),r("snapGridLengthChange",()=>{h(),d()}),r("destroy",()=>{m()}),r("enable disable",()=>{let{el:y}=e.pagination;y&&(y=rc(y),y.forEach(v=>v.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),r("lock unlock",()=>{d()}),r("click",(y,v)=>{const S=v.target,x=rc(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&x&&x.length>0&&!S.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&S===e.navigation.nextEl||e.navigation.prevEl&&S===e.navigation.prevEl))return;const w=x[0].classList.contains(e.params.pagination.hiddenClass);n(w===!0?"paginationShow":"paginationHide"),x.forEach(A=>A.classList.toggle(e.params.pagination.hiddenClass))}});const g=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:y}=e.pagination;y&&(y=rc(y),y.forEach(v=>v.classList.remove(e.params.pagination.paginationDisabledClass))),p(),h(),d()},b=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:y}=e.pagination;y&&(y=rc(y),y.forEach(v=>v.classList.add(e.params.pagination.paginationDisabledClass))),m()};Object.assign(e.pagination,{enable:g,disable:b,render:h,update:d,init:p,destroy:m})}function vit({swiper:e,extendParams:t,on:r,emit:n,params:i}){e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,s,o=i&&i.autoplay?i.autoplay.delay:3e3,l=i&&i.autoplay?i.autoplay.delay:3e3,c,u=new Date().getTime(),d,h,p,m,g,b,y;function v(F){!e||e.destroyed||!e.wrapperEl||F.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",v),!(y||F.detail&&F.detail.bySwiperTouchMove)&&E())}const S=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?d=!0:d&&(l=c,d=!1);const F=e.autoplay.paused?c:u+l-new Date().getTime();e.autoplay.timeLeft=F,n("autoplayTimeLeft",F,F/o),s=requestAnimationFrame(()=>{S()})},x=()=>{let F;return e.virtual&&e.params.virtual.enabled?F=e.slides.find(Y=>Y.classList.contains("swiper-slide-active")):F=e.slides[e.activeIndex],F?parseInt(F.getAttribute("data-swiper-autoplay"),10):void 0},w=F=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),S();let $=typeof F>"u"?e.params.autoplay.delay:F;o=e.params.autoplay.delay,l=e.params.autoplay.delay;const Y=x();!Number.isNaN(Y)&&Y>0&&typeof F>"u"&&($=Y,o=Y,l=Y),c=$;const he=e.params.speed,fe=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(he,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,he,!0,!0),n("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(he,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,he,!0,!0),n("autoplay")),e.params.cssMode&&(u=new Date().getTime(),requestAnimationFrame(()=>{w()})))};return $>0?(clearTimeout(a),a=setTimeout(()=>{fe()},$)):requestAnimationFrame(()=>{fe()}),$},A=()=>{u=new Date().getTime(),e.autoplay.running=!0,w(),n("autoplayStart")},_=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(s),n("autoplayStop")},C=(F,$)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),F||(b=!0);const Y=()=>{n("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",v):E()};if(e.autoplay.paused=!0,$){g&&(c=e.params.autoplay.delay),g=!1,Y();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-u),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),Y())},E=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(u=new Date().getTime(),b?(b=!1,w(c)):w(),e.autoplay.paused=!1,n("autoplayResume"))},R=()=>{if(e.destroyed||!e.autoplay.running)return;const F=wl();F.visibilityState==="hidden"&&(b=!0,C(!0)),F.visibilityState==="visible"&&E()},P=F=>{F.pointerType==="mouse"&&(b=!0,y=!0,!(e.animating||e.autoplay.paused)&&C(!0))},O=F=>{F.pointerType==="mouse"&&(y=!1,e.autoplay.paused&&E())},k=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",P),e.el.addEventListener("pointerleave",O))},I=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",P),e.el.removeEventListener("pointerleave",O))},M=()=>{wl().addEventListener("visibilitychange",R)},D=()=>{wl().removeEventListener("visibilitychange",R)};r("init",()=>{e.params.autoplay.enabled&&(k(),M(),A())}),r("destroy",()=>{I(),D(),e.autoplay.running&&_()}),r("_freeModeStaticRelease",()=>{(p||b)&&E()}),r("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?_():C(!0,!0)}),r("beforeTransitionStart",(F,$,Y)=>{e.destroyed||!e.autoplay.running||(Y||!e.params.autoplay.disableOnInteraction?C(!0,!0):_())}),r("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){_();return}h=!0,p=!1,b=!1,m=setTimeout(()=>{b=!0,p=!0,C(!0)},200)}}),r("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!h)){if(clearTimeout(m),clearTimeout(a),e.params.autoplay.disableOnInteraction){p=!1,h=!1;return}p&&e.params.cssMode&&E(),p=!1,h=!1}}),r("slideChange",()=>{e.destroyed||!e.autoplay.running||(g=!0)}),Object.assign(e.autoplay,{start:A,stop:_,pause:C,resume:E})}let vC;function Tit(){const e=la(),t=wl();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function Yme(){return vC||(vC=Tit()),vC}let TC;function Sit({userAgent:e}={}){const t=Yme(),r=la(),n=r.navigator.platform,i=e||r.navigator.userAgent,a={ios:!1,android:!1},s=r.screen.width,o=r.screen.height,l=i.match(/(Android);?[\s\/]+([\d.]+)?/);let c=i.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const u=i.match(/(iPod)(.*OS\s([\d_]+))?/),d=!c&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h=n==="Win32";let p=n==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&p&&t.touch&&m.indexOf(`${s}x${o}`)>=0&&(c=i.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),p=!1),l&&!h&&(a.os="android",a.android=!0),(c||d||u)&&(a.os="ios",a.ios=!0),a}function Kme(e={}){return TC||(TC=Sit(e)),TC}let SC;function xit(){const e=la(),t=Kme();let r=!1;function n(){const o=e.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(n()){const o=String(e.navigator.userAgent);if(o.includes("Version/")){const[l,c]=o.split("Version/")[1].split(" ")[0].split(".").map(u=>Number(u));r=l<16||l===16&&c<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),a=n(),s=a||i&&t.ios;return{isSafari:r||a,needPerspectiveFix:r,need3dFix:s,isWebView:i}}function Xme(){return SC||(SC=xit()),SC}function wit({swiper:e,on:t,emit:r}){const n=la();let i=null,a=null;const s=()=>{!e||e.destroyed||!e.initialized||(r("beforeResize"),r("resize"))},o=()=>{!e||e.destroyed||!e.initialized||(i=new ResizeObserver(u=>{a=n.requestAnimationFrame(()=>{const{width:d,height:h}=e;let p=d,m=h;u.forEach(({contentBoxSize:g,contentRect:b,target:y})=>{y&&y!==e.el||(p=b?b.width:(g[0]||g).inlineSize,m=b?b.height:(g[0]||g).blockSize)}),(p!==d||m!==h)&&s()})}),i.observe(e.el))},l=()=>{a&&n.cancelAnimationFrame(a),i&&i.unobserve&&e.el&&(i.unobserve(e.el),i=null)},c=()=>{!e||e.destroyed||!e.initialized||r("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof n.ResizeObserver<"u"){o();return}n.addEventListener("resize",s),n.addEventListener("orientationchange",c)}),t("destroy",()=>{l(),n.removeEventListener("resize",s),n.removeEventListener("orientationchange",c)})}function _it({swiper:e,extendParams:t,on:r,emit:n}){const i=[],a=la(),s=(c,u={})=>{const d=a.MutationObserver||a.WebkitMutationObserver,h=new d(p=>{if(e.__preventObserver__)return;if(p.length===1){n("observerUpdate",p[0]);return}const m=function(){n("observerUpdate",p[0])};a.requestAnimationFrame?a.requestAnimationFrame(m):a.setTimeout(m,0)});h.observe(c,{attributes:typeof u.attributes>"u"?!0:u.attributes,childList:e.isElement||(typeof u.childList>"u"?!0:u).childList,characterData:typeof u.characterData>"u"?!0:u.characterData}),i.push(h)},o=()=>{if(e.params.observer){if(e.params.observeParents){const c=Vme(e.hostEl);for(let u=0;u<c.length;u+=1)s(c[u])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},l=()=>{i.forEach(c=>{c.disconnect()}),i.splice(0,i.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",o),r("destroy",l)}var Ait={on(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed||typeof t!="function")return n;const i=r?"unshift":"push";return e.split(" ").forEach(a=>{n.eventsListeners[a]||(n.eventsListeners[a]=[]),n.eventsListeners[a][i](t)}),n},once(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed||typeof t!="function")return n;function i(...a){n.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(n,a)}return i.__emitterProxy=t,n.on(e,i,r)},onAny(e,t){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;const n=t?"unshift":"push";return r.eventsAnyListeners.indexOf(e)<0&&r.eventsAnyListeners[n](e),r},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;const r=t.eventsAnyListeners.indexOf(e);return r>=0&&t.eventsAnyListeners.splice(r,1),t},off(e,t){const r=this;return!r.eventsListeners||r.destroyed||!r.eventsListeners||e.split(" ").forEach(n=>{typeof t>"u"?r.eventsListeners[n]=[]:r.eventsListeners[n]&&r.eventsListeners[n].forEach((i,a)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&r.eventsListeners[n].splice(a,1)})}),r},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let r,n,i;return typeof e[0]=="string"||Array.isArray(e[0])?(r=e[0],n=e.slice(1,e.length),i=t):(r=e[0].events,n=e[0].data,i=e[0].context||t),n.unshift(i),(Array.isArray(r)?r:r.split(" ")).forEach(s=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(o=>{o.apply(i,[s,...n])}),t.eventsListeners&&t.eventsListeners[s]&&t.eventsListeners[s].forEach(o=>{o.apply(i,n)})}),t}};function Cit(){const e=this;let t,r;const n=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=n.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?r=e.params.height:r=n.clientHeight,!(t===0&&e.isHorizontal()||r===0&&e.isVertical())&&(t=t-parseInt(ed(n,"padding-left")||0,10)-parseInt(ed(n,"padding-right")||0,10),r=r-parseInt(ed(n,"padding-top")||0,10)-parseInt(ed(n,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(r)&&(r=0),Object.assign(e,{width:t,height:r,size:e.isHorizontal()?t:r}))}function Eit(){const e=this;function t(R,P){return parseFloat(R.getPropertyValue(e.getDirectionLabel(P))||0)}const r=e.params,{wrapperEl:n,slidesEl:i,rtlTranslate:a,wrongRTL:s}=e,o=e.virtual&&r.virtual.enabled,l=o?e.virtual.slides.length:e.slides.length,c=ll(i,`.${e.params.slideClass}, swiper-slide`),u=o?e.virtual.slides.length:c.length;let d=[];const h=[],p=[];let m=r.slidesOffsetBefore;typeof m=="function"&&(m=r.slidesOffsetBefore.call(e));let g=r.slidesOffsetAfter;typeof g=="function"&&(g=r.slidesOffsetAfter.call(e));const b=e.snapGrid.length,y=e.slidesGrid.length,v=e.size-m-g;let S=r.spaceBetween,x=-m,w=0,A=0;if(typeof v>"u")return;typeof S=="string"&&S.indexOf("%")>=0?S=parseFloat(S.replace("%",""))/100*v:typeof S=="string"&&(S=parseFloat(S)),e.virtualSize=-S-m-g,c.forEach(R=>{a?R.style.marginLeft="":R.style.marginRight="",R.style.marginBottom="",R.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(s3(n,"--swiper-centered-offset-before",""),s3(n,"--swiper-centered-offset-after",""));const _=r.grid&&r.grid.rows>1&&e.grid;_?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();let C;const E=r.slidesPerView==="auto"&&r.breakpoints&&Object.keys(r.breakpoints).filter(R=>typeof r.breakpoints[R].slidesPerView<"u").length>0;for(let R=0;R<u;R+=1){C=0;const P=c[R];if(!(P&&(_&&e.grid.updateSlide(R,P,c),ed(P,"display")==="none"))){if(o&&r.slidesPerView==="auto")r.virtual.slidesPerViewAutoSlideSize&&(C=r.virtual.slidesPerViewAutoSlideSize),C&&P&&(r.roundLengths&&(C=Math.floor(C)),P.style[e.getDirectionLabel("width")]=`${C}px`);else if(r.slidesPerView==="auto"){E&&(P.style[e.getDirectionLabel("width")]="");const O=getComputedStyle(P),k=P.style.transform,I=P.style.webkitTransform;if(k&&(P.style.transform="none"),I&&(P.style.webkitTransform="none"),r.roundLengths)C=e.isHorizontal()?zO(P,"width"):zO(P,"height");else{const M=t(O,"width"),D=t(O,"padding-left"),F=t(O,"padding-right"),$=t(O,"margin-left"),Y=t(O,"margin-right"),he=O.getPropertyValue("box-sizing");if(he&&he==="border-box")C=M+$+Y;else{const{clientWidth:fe,offsetWidth:U}=P;C=M+D+F+$+Y+(U-fe)}}k&&(P.style.transform=k),I&&(P.style.webkitTransform=I),r.roundLengths&&(C=Math.floor(C))}else C=(v-(r.slidesPerView-1)*S)/r.slidesPerView,r.roundLengths&&(C=Math.floor(C)),P&&(P.style[e.getDirectionLabel("width")]=`${C}px`);P&&(P.swiperSlideSize=C),p.push(C),r.centeredSlides?(x=x+C/2+w/2+S,w===0&&R!==0&&(x=x-v/2-S),R===0&&(x=x-v/2-S),Math.abs(x)<1/1e3&&(x=0),r.roundLengths&&(x=Math.floor(x)),A%r.slidesPerGroup===0&&d.push(x),h.push(x)):(r.roundLengths&&(x=Math.floor(x)),(A-Math.min(e.params.slidesPerGroupSkip,A))%e.params.slidesPerGroup===0&&d.push(x),h.push(x),x=x+C+S),e.virtualSize+=C+S,w=C,A+=1}}if(e.virtualSize=Math.max(e.virtualSize,v)+g,a&&s&&(r.effect==="slide"||r.effect==="coverflow")&&(n.style.width=`${e.virtualSize+S}px`),r.setWrapperSize&&(n.style[e.getDirectionLabel("width")]=`${e.virtualSize+S}px`),_&&e.grid.updateWrapperSize(C,d),!r.centeredSlides){const R=[];for(let P=0;P<d.length;P+=1){let O=d[P];r.roundLengths&&(O=Math.floor(O)),d[P]<=e.virtualSize-v&&R.push(O)}d=R,Math.floor(e.virtualSize-v)-Math.floor(d[d.length-1])>1&&d.push(e.virtualSize-v)}if(o&&r.loop){const R=p[0]+S;if(r.slidesPerGroup>1){const P=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/r.slidesPerGroup),O=R*r.slidesPerGroup;for(let k=0;k<P;k+=1)d.push(d[d.length-1]+O)}for(let P=0;P<e.virtual.slidesBefore+e.virtual.slidesAfter;P+=1)r.slidesPerGroup===1&&d.push(d[d.length-1]+R),h.push(h[h.length-1]+R),e.virtualSize+=R}if(d.length===0&&(d=[0]),S!==0){const R=e.isHorizontal()&&a?"marginLeft":e.getDirectionLabel("marginRight");c.filter((P,O)=>!r.cssMode||r.loop?!0:O!==c.length-1).forEach(P=>{P.style[R]=`${S}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let R=0;p.forEach(O=>{R+=O+(S||0)}),R-=S;const P=R>v?R-v:0;d=d.map(O=>O<=0?-m:O>P?P+g:O)}if(r.centerInsufficientSlides){let R=0;p.forEach(O=>{R+=O+(S||0)}),R-=S;const P=(m||0)+(g||0);if(R+P<v){const O=(v-R-P)/2;d.forEach((k,I)=>{d[I]=k-O}),h.forEach((k,I)=>{h[I]=k+O})}}if(Object.assign(e,{slides:c,snapGrid:d,slidesGrid:h,slidesSizesGrid:p}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){s3(n,"--swiper-centered-offset-before",`${-d[0]}px`),s3(n,"--swiper-centered-offset-after",`${e.size/2-p[p.length-1]/2}px`);const R=-e.snapGrid[0],P=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(O=>O+R),e.slidesGrid=e.slidesGrid.map(O=>O+P)}if(u!==l&&e.emit("slidesLengthChange"),d.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==y&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!o&&!r.cssMode&&(r.effect==="slide"||r.effect==="fade")){const R=`${r.containerModifierClass}backface-hidden`,P=e.el.classList.contains(R);u<=r.maxBackfaceHiddenSlides?P||e.el.classList.add(R):P&&e.el.classList.remove(R)}}function Pit(e){const t=this,r=[],n=t.virtual&&t.params.virtual.enabled;let i=0,a;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const s=o=>n?t.slides[t.getSlideIndexByData(o)]:t.slides[o];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(o=>{r.push(o)});else for(a=0;a<Math.ceil(t.params.slidesPerView);a+=1){const o=t.activeIndex+a;if(o>t.slides.length&&!n)break;r.push(s(o))}else r.push(s(t.activeIndex));for(a=0;a<r.length;a+=1)if(typeof r[a]<"u"){const o=r[a].offsetHeight;i=o>i?o:i}(i||i===0)&&(t.wrapperEl.style.height=`${i}px`)}function jit(){const e=this,t=e.slides,r=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=(e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop)-r-e.cssOverflowAdjustment()}const eZ=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)};function Rit(e=this&&this.translate||0){const t=this,r=t.params,{slides:n,rtlTranslate:i,snapGrid:a}=t;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&t.updateSlidesOffset();let s=-e;i&&(s=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let o=r.spaceBetween;typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*t.size:typeof o=="string"&&(o=parseFloat(o));for(let l=0;l<n.length;l+=1){const c=n[l];let u=c.swiperSlideOffset;r.cssMode&&r.centeredSlides&&(u-=n[0].swiperSlideOffset);const d=(s+(r.centeredSlides?t.minTranslate():0)-u)/(c.swiperSlideSize+o),h=(s-a[0]+(r.centeredSlides?t.minTranslate():0)-u)/(c.swiperSlideSize+o),p=-(s-u),m=p+t.slidesSizesGrid[l],g=p>=0&&p<=t.size-t.slidesSizesGrid[l],b=p>=0&&p<t.size-1||m>1&&m<=t.size||p<=0&&m>=t.size;b&&(t.visibleSlides.push(c),t.visibleSlidesIndexes.push(l)),eZ(c,b,r.slideVisibleClass),eZ(c,g,r.slideFullyVisibleClass),c.progress=i?-d:d,c.originalProgress=i?-h:h}}function Iit(e){const t=this;if(typeof e>"u"){const u=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*u||0}const r=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:a,isEnd:s,progressLoop:o}=t;const l=a,c=s;if(n===0)i=0,a=!0,s=!0;else{i=(e-t.minTranslate())/n;const u=Math.abs(e-t.minTranslate())<1,d=Math.abs(e-t.maxTranslate())<1;a=u||i<=0,s=d||i>=1,u&&(i=0),d&&(i=1)}if(r.loop){const u=t.getSlideIndexByData(0),d=t.getSlideIndexByData(t.slides.length-1),h=t.slidesGrid[u],p=t.slidesGrid[d],m=t.slidesGrid[t.slidesGrid.length-1],g=Math.abs(e);g>=h?o=(g-h)/m:o=(g+m-p)/m,o>1&&(o-=1)}Object.assign(t,{progress:i,progressLoop:o,isBeginning:a,isEnd:s}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),a&&!l&&t.emit("reachBeginning toEdge"),s&&!c&&t.emit("reachEnd toEdge"),(l&&!a||c&&!s)&&t.emit("fromEdge"),t.emit("progress",i)}const xC=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)};function Oit(){const e=this,{slides:t,params:r,slidesEl:n,activeIndex:i}=e,a=e.virtual&&r.virtual.enabled,s=e.grid&&r.grid&&r.grid.rows>1,o=d=>ll(n,`.${r.slideClass}${d}, swiper-slide${d}`)[0];let l,c,u;if(a)if(r.loop){let d=i-e.virtual.slidesBefore;d<0&&(d=e.virtual.slides.length+d),d>=e.virtual.slides.length&&(d-=e.virtual.slides.length),l=o(`[data-swiper-slide-index="${d}"]`)}else l=o(`[data-swiper-slide-index="${i}"]`);else s?(l=t.find(d=>d.column===i),u=t.find(d=>d.column===i+1),c=t.find(d=>d.column===i-1)):l=t[i];l&&(s||(u=git(l,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!u&&(u=t[0]),c=mit(l,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!c===0&&(c=t[t.length-1]))),t.forEach(d=>{xC(d,d===l,r.slideActiveClass),xC(d,d===u,r.slideNextClass),xC(d,d===c,r.slidePrevClass)}),e.emitSlidesClasses()}const vT=(e,t)=>{if(!e||e.destroyed||!e.params)return;const r=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,n=t.closest(r());if(n){let i=n.querySelector(`.${e.params.lazyPreloaderClass}`);!i&&e.isElement&&(n.shadowRoot?i=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(i=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},wC=(e,t)=>{if(!e.slides[t])return;const r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},WO=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const r=e.slides.length;if(!r||!t||t<0)return;t=Math.min(t,r);const n=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=i,o=[s-t];o.push(...Array.from({length:t}).map((l,c)=>s+n+c)),e.slides.forEach((l,c)=>{o.includes(l.column)&&wC(e,c)});return}const a=i+n-1;if(e.params.rewind||e.params.loop)for(let s=i-t;s<=a+t;s+=1){const o=(s%r+r)%r;(o<i||o>a)&&wC(e,o)}else for(let s=Math.max(i-t,0);s<=Math.min(a+t,r-1);s+=1)s!==i&&(s>a||s<i)&&wC(e,s)};function Mit(e){const{slidesGrid:t,params:r}=e,n=e.rtlTranslate?e.translate:-e.translate;let i;for(let a=0;a<t.length;a+=1)typeof t[a+1]<"u"?n>=t[a]&&n<t[a+1]-(t[a+1]-t[a])/2?i=a:n>=t[a]&&n<t[a+1]&&(i=a+1):n>=t[a]&&(i=a);return r.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function kit(e){const t=this,r=t.rtlTranslate?t.translate:-t.translate,{snapGrid:n,params:i,activeIndex:a,realIndex:s,snapIndex:o}=t;let l=e,c;const u=p=>{let m=p-t.virtual.slidesBefore;return m<0&&(m=t.virtual.slides.length+m),m>=t.virtual.slides.length&&(m-=t.virtual.slides.length),m};if(typeof l>"u"&&(l=Mit(t)),n.indexOf(r)>=0)c=n.indexOf(r);else{const p=Math.min(i.slidesPerGroupSkip,l);c=p+Math.floor((l-p)/i.slidesPerGroup)}if(c>=n.length&&(c=n.length-1),l===a&&!t.params.loop){c!==o&&(t.snapIndex=c,t.emit("snapIndexChange"));return}if(l===a&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=u(l);return}const d=t.grid&&i.grid&&i.grid.rows>1;let h;if(t.virtual&&i.virtual.enabled&&i.loop)h=u(l);else if(d){const p=t.slides.find(g=>g.column===l);let m=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(m)&&(m=Math.max(t.slides.indexOf(p),0)),h=Math.floor(m/i.grid.rows)}else if(t.slides[l]){const p=t.slides[l].getAttribute("data-swiper-slide-index");p?h=parseInt(p,10):h=l}else h=l;Object.assign(t,{previousSnapIndex:o,snapIndex:c,previousRealIndex:s,realIndex:h,previousIndex:a,activeIndex:l}),t.initialized&&WO(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==h&&t.emit("realIndexChange"),t.emit("slideChange"))}function Dit(e,t){const r=this,n=r.params;let i=e.closest(`.${n.slideClass}, swiper-slide`);!i&&r.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(o=>{!i&&o.matches&&o.matches(`.${n.slideClass}, swiper-slide`)&&(i=o)});let a=!1,s;if(i){for(let o=0;o<r.slides.length;o+=1)if(r.slides[o]===i){a=!0,s=o;break}}if(i&&a)r.clickedSlide=i,r.virtual&&r.params.virtual.enabled?r.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):r.clickedIndex=s;else{r.clickedSlide=void 0,r.clickedIndex=void 0;return}n.slideToClickedSlide&&r.clickedIndex!==void 0&&r.clickedIndex!==r.activeIndex&&r.slideToClickedSlide()}var Lit={updateSize:Cit,updateSlides:Eit,updateAutoHeight:Pit,updateSlidesOffset:jit,updateSlidesProgress:Rit,updateProgress:Iit,updateSlidesClasses:Oit,updateActiveIndex:kit,updateClickedSlide:Dit};function Fit(e=this.isHorizontal()?"x":"y"){const t=this,{params:r,rtlTranslate:n,translate:i,wrapperEl:a}=t;if(r.virtualTranslate)return n?-i:i;if(r.cssMode)return i;let s=dit(a,e);return s+=t.cssOverflowAdjustment(),n&&(s=-s),s||0}function $it(e,t){const r=this,{rtlTranslate:n,params:i,wrapperEl:a,progress:s}=r;let o=0,l=0;const c=0;r.isHorizontal()?o=n?-e:e:l=e,i.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),r.previousTranslate=r.translate,r.translate=r.isHorizontal()?o:l,i.cssMode?a[r.isHorizontal()?"scrollLeft":"scrollTop"]=r.isHorizontal()?-o:-l:i.virtualTranslate||(r.isHorizontal()?o-=r.cssOverflowAdjustment():l-=r.cssOverflowAdjustment(),a.style.transform=`translate3d(${o}px, ${l}px, ${c}px)`);let u;const d=r.maxTranslate()-r.minTranslate();d===0?u=0:u=(e-r.minTranslate())/d,u!==s&&r.updateProgress(e),r.emit("setTranslate",r.translate,t)}function Bit(){return-this.snapGrid[0]}function Nit(){return-this.snapGrid[this.snapGrid.length-1]}function qit(e=0,t=this.params.speed,r=!0,n=!0,i){const a=this,{params:s,wrapperEl:o}=a;if(a.animating&&s.preventInteractionOnTransition)return!1;const l=a.minTranslate(),c=a.maxTranslate();let u;if(n&&e>l?u=l:n&&e<c?u=c:u=e,a.updateProgress(u),s.cssMode){const d=a.isHorizontal();if(t===0)o[d?"scrollLeft":"scrollTop"]=-u;else{if(!a.support.smoothScroll)return Gme({swiper:a,targetPosition:-u,side:d?"left":"top"}),!0;o.scrollTo({[d?"left":"top"]:-u,behavior:"smooth"})}return!0}return t===0?(a.setTransition(0),a.setTranslate(u),r&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(u),r&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(h){!a||a.destroyed||h.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,a.animating=!1,r&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}var zit={getTranslate:Fit,setTranslate:$it,minTranslate:Bit,maxTranslate:Nit,translateTo:qit};function Wit(e,t){const r=this;r.params.cssMode||(r.wrapperEl.style.transitionDuration=`${e}ms`,r.wrapperEl.style.transitionDelay=e===0?"0ms":""),r.emit("setTransition",e,t)}function Qme({swiper:e,runCallbacks:t,direction:r,step:n}){const{activeIndex:i,previousIndex:a}=e;let s=r;s||(i>a?s="next":i<a?s="prev":s="reset"),e.emit(`transition${n}`),t&&s==="reset"?e.emit(`slideResetTransition${n}`):t&&i!==a&&(e.emit(`slideChangeTransition${n}`),s==="next"?e.emit(`slideNextTransition${n}`):e.emit(`slidePrevTransition${n}`))}function Hit(e=!0,t){const r=this,{params:n}=r;n.cssMode||(n.autoHeight&&r.updateAutoHeight(),Qme({swiper:r,runCallbacks:e,direction:t,step:"Start"}))}function Uit(e=!0,t){const r=this,{params:n}=r;r.animating=!1,!n.cssMode&&(r.setTransition(0),Qme({swiper:r,runCallbacks:e,direction:t,step:"End"}))}var Git={setTransition:Wit,transitionStart:Hit,transitionEnd:Uit};function Vit(e=0,t,r=!0,n,i){typeof e=="string"&&(e=parseInt(e,10));const a=this;let s=e;s<0&&(s=0);const{params:o,snapGrid:l,slidesGrid:c,previousIndex:u,activeIndex:d,rtlTranslate:h,wrapperEl:p,enabled:m}=a;if(!m&&!n&&!i||a.destroyed||a.animating&&o.preventInteractionOnTransition)return!1;typeof t>"u"&&(t=a.params.speed);const g=Math.min(a.params.slidesPerGroupSkip,s);let b=g+Math.floor((s-g)/a.params.slidesPerGroup);b>=l.length&&(b=l.length-1);const y=-l[b];if(o.normalizeSlideIndex)for(let _=0;_<c.length;_+=1){const C=-Math.floor(y*100),E=Math.floor(c[_]*100),R=Math.floor(c[_+1]*100);typeof c[_+1]<"u"?C>=E&&C<R-(R-E)/2?s=_:C>=E&&C<R&&(s=_+1):C>=E&&(s=_)}if(a.initialized&&s!==d&&(!a.allowSlideNext&&(h?y>a.translate&&y>a.minTranslate():y<a.translate&&y<a.minTranslate())||!a.allowSlidePrev&&y>a.translate&&y>a.maxTranslate()&&(d||0)!==s))return!1;s!==(u||0)&&r&&a.emit("beforeSlideChangeStart"),a.updateProgress(y);let v;s>d?v="next":s<d?v="prev":v="reset";const S=a.virtual&&a.params.virtual.enabled;if(!(S&&i)&&(h&&-y===a.translate||!h&&y===a.translate))return a.updateActiveIndex(s),o.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),o.effect!=="slide"&&a.setTranslate(y),v!=="reset"&&(a.transitionStart(r,v),a.transitionEnd(r,v)),!1;if(o.cssMode){const _=a.isHorizontal(),C=h?y:-y;if(t===0)S&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),S&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[_?"scrollLeft":"scrollTop"]=C})):p[_?"scrollLeft":"scrollTop"]=C,S&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1});else{if(!a.support.smoothScroll)return Gme({swiper:a,targetPosition:C,side:_?"left":"top"}),!0;p.scrollTo({[_?"left":"top"]:C,behavior:"smooth"})}return!0}const A=Xme().isSafari;return S&&!i&&A&&a.isElement&&a.virtual.update(!1,!1,s),a.setTransition(t),a.setTranslate(y),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,n),a.transitionStart(r,v),t===0?a.transitionEnd(r,v):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(C){!a||a.destroyed||C.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(r,v))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0}function Yit(e=0,t,r=!0,n){typeof e=="string"&&(e=parseInt(e,10));const i=this;if(i.destroyed)return;typeof t>"u"&&(t=i.params.speed);const a=i.grid&&i.params.grid&&i.params.grid.rows>1;let s=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)s=s+i.virtual.slidesBefore;else{let o;if(a){const g=s*i.params.grid.rows;o=i.slides.find(b=>b.getAttribute("data-swiper-slide-index")*1===g).column}else o=i.getSlideIndexByData(s);const l=a?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:c,slidesOffsetBefore:u,slidesOffsetAfter:d}=i.params,h=c||!!u||!!d;let p=i.params.slidesPerView;p==="auto"?p=i.slidesPerViewDynamic():(p=Math.ceil(parseFloat(i.params.slidesPerView,10)),h&&p%2===0&&(p=p+1));let m=l-o<p;if(h&&(m=m||o<Math.ceil(p/2)),n&&h&&i.params.slidesPerView!=="auto"&&!a&&(m=!1),m){const g=h?o<i.activeIndex?"prev":"next":o-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:g,slideTo:!0,activeSlideIndex:g==="next"?o+1:o-l+1,slideRealIndex:g==="next"?i.realIndex:void 0})}if(a){const g=s*i.params.grid.rows;s=i.slides.find(b=>b.getAttribute("data-swiper-slide-index")*1===g).column}else s=i.getSlideIndexByData(s)}return requestAnimationFrame(()=>{i.slideTo(s,t,r,n)}),i}function Kit(e,t=!0,r){const n=this,{enabled:i,params:a,animating:s}=n;if(!i||n.destroyed)return n;typeof e>"u"&&(e=n.params.speed);let o=a.slidesPerGroup;a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<a.slidesPerGroupSkip?1:o,c=n.virtual&&a.virtual.enabled;if(a.loop){if(s&&!c&&a.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&a.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+l,e,t,r)}),!0}return a.rewind&&n.isEnd?n.slideTo(0,e,t,r):n.slideTo(n.activeIndex+l,e,t,r)}function Xit(e,t=!0,r){const n=this,{params:i,snapGrid:a,slidesGrid:s,rtlTranslate:o,enabled:l,animating:c}=n;if(!l||n.destroyed)return n;typeof e>"u"&&(e=n.params.speed);const u=n.virtual&&i.virtual.enabled;if(i.loop){if(c&&!u&&i.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const d=o?n.translate:-n.translate;function h(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}const p=h(d),m=a.map(v=>h(v)),g=i.freeMode&&i.freeMode.enabled;let b=a[m.indexOf(p)-1];if(typeof b>"u"&&(i.cssMode||g)){let v;a.forEach((S,x)=>{p>=S&&(v=x)}),typeof v<"u"&&(b=g?a[v]:a[v>0?v-1:v])}let y=0;if(typeof b<"u"&&(y=s.indexOf(b),y<0&&(y=n.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(y=y-n.slidesPerViewDynamic("previous",!0)+1,y=Math.max(y,0))),i.rewind&&n.isBeginning){const v=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(v,e,t,r)}else if(i.loop&&n.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{n.slideTo(y,e,t,r)}),!0;return n.slideTo(y,e,t,r)}function Qit(e,t=!0,r){const n=this;if(!n.destroyed)return typeof e>"u"&&(e=n.params.speed),n.slideTo(n.activeIndex,e,t,r)}function Jit(e,t=!0,r,n=.5){const i=this;if(i.destroyed)return;typeof e>"u"&&(e=i.params.speed);let a=i.activeIndex;const s=Math.min(i.params.slidesPerGroupSkip,a),o=s+Math.floor((a-s)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[o]){const c=i.snapGrid[o],u=i.snapGrid[o+1];l-c>(u-c)*n&&(a+=i.params.slidesPerGroup)}else{const c=i.snapGrid[o-1],u=i.snapGrid[o];l-c<=(u-c)*n&&(a-=i.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,i.slidesGrid.length-1),i.slideTo(a,e,t,r)}function Zit(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:r}=e,n=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let i=e.getSlideIndexWhenGrid(e.clickedIndex),a;const s=e.isElement?"swiper-slide":`.${t.slideClass}`,o=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;a=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(a):i>(o?(e.slides.length-n)/2-(e.params.grid.rows-1):e.slides.length-n)?(e.loopFix(),i=e.getSlideIndex(ll(r,`${s}[data-swiper-slide-index="${a}"]`)[0]),Ume(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var eat={slideTo:Vit,slideToLoop:Yit,slideNext:Kit,slidePrev:Xit,slideReset:Qit,slideToClosest:Jit,slideToClickedSlide:Zit};function tat(e,t){const r=this,{params:n,slidesEl:i}=r;if(!n.loop||r.virtual&&r.params.virtual.enabled)return;const a=()=>{ll(i,`.${n.slideClass}, swiper-slide`).forEach((m,g)=>{m.setAttribute("data-swiper-slide-index",g)})},s=()=>{const p=ll(i,`.${n.slideBlankClass}`);p.forEach(m=>{m.remove()}),p.length>0&&(r.recalcSlides(),r.updateSlides())},o=r.grid&&n.grid&&n.grid.rows>1;n.loopAddBlankSlides&&(n.slidesPerGroup>1||o)&&s();const l=n.slidesPerGroup*(o?n.grid.rows:1),c=r.slides.length%l!==0,u=o&&r.slides.length%n.grid.rows!==0,d=p=>{for(let m=0;m<p;m+=1){const g=r.isElement?FS("swiper-slide",[n.slideBlankClass]):FS("div",[n.slideClass,n.slideBlankClass]);r.slidesEl.append(g)}};if(c){if(n.loopAddBlankSlides){const p=l-r.slides.length%l;d(p),r.recalcSlides(),r.updateSlides()}else LS("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");a()}else if(u){if(n.loopAddBlankSlides){const p=n.grid.rows-r.slides.length%n.grid.rows;d(p),r.recalcSlides(),r.updateSlides()}else LS("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");a()}else a();const h=n.centeredSlides||!!n.slidesOffsetBefore||!!n.slidesOffsetAfter;r.loopFix({slideRealIndex:e,direction:h?void 0:"next",initial:t})}function rat({slideRealIndex:e,slideTo:t=!0,direction:r,setTranslate:n,activeSlideIndex:i,initial:a,byController:s,byMousewheel:o}={}){const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:c,allowSlidePrev:u,allowSlideNext:d,slidesEl:h,params:p}=l,{centeredSlides:m,slidesOffsetBefore:g,slidesOffsetAfter:b,initialSlide:y}=p,v=m||!!g||!!b;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&p.virtual.enabled){t&&(!v&&l.snapIndex===0?l.slideTo(l.virtual.slides.length,0,!1,!0):v&&l.snapIndex<p.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0)),l.allowSlidePrev=u,l.allowSlideNext=d,l.emit("loopFix");return}let S=p.slidesPerView;S==="auto"?S=l.slidesPerViewDynamic():(S=Math.ceil(parseFloat(p.slidesPerView,10)),v&&S%2===0&&(S=S+1));const x=p.slidesPerGroupAuto?S:p.slidesPerGroup;let w=v?Math.max(x,Math.ceil(S/2)):x;w%x!==0&&(w+=x-w%x),w+=p.loopAdditionalSlides,l.loopedSlides=w;const A=l.grid&&p.grid&&p.grid.rows>1;c.length<S+w||l.params.effect==="cards"&&c.length<S+w*2?LS("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):A&&p.grid.fill==="row"&&LS("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const _=[],C=[],E=A?Math.ceil(c.length/p.grid.rows):c.length,R=a&&E-y<S&&!v;let P=R?y:l.activeIndex;typeof i>"u"?i=l.getSlideIndex(c.find($=>$.classList.contains(p.slideActiveClass))):P=i;const O=r==="next"||!r,k=r==="prev"||!r;let I=0,M=0;const F=(A?c[i].column:i)+(v&&typeof n>"u"?-S/2+.5:0);if(F<w){I=Math.max(w-F,x);for(let $=0;$<w-F;$+=1){const Y=$-Math.floor($/E)*E;if(A){const he=E-Y-1;for(let fe=c.length-1;fe>=0;fe-=1)c[fe].column===he&&_.push(fe)}else _.push(E-Y-1)}}else if(F+S>E-w){M=Math.max(F-(E-w*2),x),R&&(M=Math.max(M,S-E+y+1));for(let $=0;$<M;$+=1){const Y=$-Math.floor($/E)*E;A?c.forEach((he,fe)=>{he.column===Y&&C.push(fe)}):C.push(Y)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),l.params.effect==="cards"&&c.length<S+w*2&&(C.includes(i)&&C.splice(C.indexOf(i),1),_.includes(i)&&_.splice(_.indexOf(i),1)),k&&_.forEach($=>{c[$].swiperLoopMoveDOM=!0,h.prepend(c[$]),c[$].swiperLoopMoveDOM=!1}),O&&C.forEach($=>{c[$].swiperLoopMoveDOM=!0,h.append(c[$]),c[$].swiperLoopMoveDOM=!1}),l.recalcSlides(),p.slidesPerView==="auto"?l.updateSlides():A&&(_.length>0&&k||C.length>0&&O)&&l.slides.forEach(($,Y)=>{l.grid.updateSlide(Y,$,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),t){if(_.length>0&&k){if(typeof e>"u"){const $=l.slidesGrid[P],he=l.slidesGrid[P+I]-$;o?l.setTranslate(l.translate-he):(l.slideTo(P+Math.ceil(I),0,!1,!0),n&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-he,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-he))}else if(n){const $=A?_.length/p.grid.rows:_.length;l.slideTo(l.activeIndex+$,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(C.length>0&&O)if(typeof e>"u"){const $=l.slidesGrid[P],he=l.slidesGrid[P-M]-$;o?l.setTranslate(l.translate-he):(l.slideTo(P-M,0,!1,!0),n&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-he,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-he))}else{const $=A?C.length/p.grid.rows:C.length;l.slideTo(l.activeIndex-$,0,!1,!0)}}if(l.allowSlidePrev=u,l.allowSlideNext=d,l.controller&&l.controller.control&&!s){const $={slideRealIndex:e,direction:r,setTranslate:n,activeSlideIndex:i,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(Y=>{!Y.destroyed&&Y.params.loop&&Y.loopFix({...$,slideTo:Y.params.slidesPerView===p.slidesPerView?t:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...$,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView?t:!1})}l.emit("loopFix")}function nat(){const e=this,{params:t,slidesEl:r}=e;if(!t.loop||!r||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const n=[];e.slides.forEach(i=>{const a=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;n[a]=i}),e.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),n.forEach(i=>{r.append(i)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var iat={loopCreate:tat,loopFix:rat,loopDestroy:nat};function aat(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const r=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function sat(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var oat={setGrabCursor:aat,unsetGrabCursor:sat};function lat(e,t=this){function r(n){if(!n||n===wl()||n===la())return null;n.assignedSlot&&(n=n.assignedSlot);const i=n.closest(e);return!i&&!n.getRootNode?null:i||r(n.getRootNode().host)}return r(t)}function tZ(e,t,r){const n=la(),{params:i}=e,a=i.edgeSwipeDetection,s=i.edgeSwipeThreshold;return a&&(r<=s||r>=n.innerWidth-s)?a==="prevent"?(t.preventDefault(),!0):!1:!0}function cat(e){const t=this,r=wl();let n=e;n.originalEvent&&(n=n.originalEvent);const i=t.touchEventsData;if(n.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==n.pointerId)return;i.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(i.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){tZ(t,n,n.targetTouches[0].pageX);return}const{params:a,touches:s,enabled:o}=t;if(!o||!a.simulateTouch&&n.pointerType==="mouse"||t.animating&&a.preventInteractionOnTransition)return;!t.animating&&a.cssMode&&a.loop&&t.loopFix();let l=n.target;if(a.touchEventsTarget==="wrapper"&&!fit(l,t.wrapperEl)||"which"in n&&n.which===3||"button"in n&&n.button>0||i.isTouched&&i.isMoved)return;const c=!!a.noSwipingClass&&a.noSwipingClass!=="",u=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&u&&(l=u[0]);const d=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,h=!!(n.target&&n.target.shadowRoot);if(a.noSwiping&&(h?lat(d,l):l.closest(d))){t.allowClick=!0;return}if(a.swipeHandler&&!l.closest(a.swipeHandler))return;s.currentX=n.pageX,s.currentY=n.pageY;const p=s.currentX,m=s.currentY;if(!tZ(t,n,p))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=p,s.startY=m,i.touchStartTime=DS(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(i.allowThresholdMove=!1);let g=!0;l.matches(i.focusableElements)&&(g=!1,l.nodeName==="SELECT"&&(i.isTouched=!1)),r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==l&&(n.pointerType==="mouse"||n.pointerType!=="mouse"&&!l.matches(i.focusableElements))&&r.activeElement.blur();const b=g&&t.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||b)&&!l.isContentEditable&&n.preventDefault(),a.freeMode&&a.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",n)}function uat(e){const t=wl(),r=this,n=r.touchEventsData,{params:i,touches:a,rtlTranslate:s,enabled:o}=r;if(!o||!i.simulateTouch&&e.pointerType==="mouse")return;let l=e;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(n.touchId!==null||l.pointerId!==n.pointerId))return;let c;if(l.type==="touchmove"){if(c=[...l.changedTouches].find(w=>w.identifier===n.touchId),!c||c.identifier!==n.touchId)return}else c=l;if(!n.isTouched){n.startMoving&&n.isScrolling&&r.emit("touchMoveOpposite",l);return}const u=c.pageX,d=c.pageY;if(l.preventedByNestedSwiper){a.startX=u,a.startY=d;return}if(!r.allowTouchMove){l.target.matches(n.focusableElements)||(r.allowClick=!1),n.isTouched&&(Object.assign(a,{startX:u,startY:d,currentX:u,currentY:d}),n.touchStartTime=DS());return}if(i.touchReleaseOnEdges&&!i.loop)if(r.isVertical()){if(d<a.startY&&r.translate<=r.maxTranslate()||d>a.startY&&r.translate>=r.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else{if(s&&(u>a.startX&&-r.translate<=r.maxTranslate()||u<a.startX&&-r.translate>=r.minTranslate()))return;if(!s&&(u<a.startX&&r.translate<=r.maxTranslate()||u>a.startX&&r.translate>=r.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(n.focusableElements)&&t.activeElement!==l.target&&l.pointerType!=="mouse"&&t.activeElement.blur(),t.activeElement&&l.target===t.activeElement&&l.target.matches(n.focusableElements)){n.isMoved=!0,r.allowClick=!1;return}n.allowTouchCallbacks&&r.emit("touchMove",l),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=u,a.currentY=d;const h=a.currentX-a.startX,p=a.currentY-a.startY;if(r.params.threshold&&Math.sqrt(h**2+p**2)<r.params.threshold)return;if(typeof n.isScrolling>"u"){let w;r.isHorizontal()&&a.currentY===a.startY||r.isVertical()&&a.currentX===a.startX?n.isScrolling=!1:h*h+p*p>=25&&(w=Math.atan2(Math.abs(p),Math.abs(h))*180/Math.PI,n.isScrolling=r.isHorizontal()?w>i.touchAngle:90-w>i.touchAngle)}if(n.isScrolling&&r.emit("touchMoveOpposite",l),typeof n.startMoving>"u"&&(a.currentX!==a.startX||a.currentY!==a.startY)&&(n.startMoving=!0),n.isScrolling||l.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;r.allowClick=!1,!i.cssMode&&l.cancelable&&l.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&l.stopPropagation();let m=r.isHorizontal()?h:p,g=r.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;i.oneWayMovement&&(m=Math.abs(m)*(s?1:-1),g=Math.abs(g)*(s?1:-1)),a.diff=m,m*=i.touchRatio,s&&(m=-m,g=-g);const b=r.touchesDirection;r.swipeDirection=m>0?"prev":"next",r.touchesDirection=g>0?"prev":"next";const y=r.params.loop&&!i.cssMode,v=r.touchesDirection==="next"&&r.allowSlideNext||r.touchesDirection==="prev"&&r.allowSlidePrev;if(!n.isMoved){if(y&&v&&r.loopFix({direction:r.swipeDirection}),n.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){const w=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});r.wrapperEl.dispatchEvent(w)}n.allowMomentumBounce=!1,i.grabCursor&&(r.allowSlideNext===!0||r.allowSlidePrev===!0)&&r.setGrabCursor(!0),r.emit("sliderFirstMove",l)}if(new Date().getTime(),i._loopSwapReset!==!1&&n.isMoved&&n.allowThresholdMove&&b!==r.touchesDirection&&y&&v&&Math.abs(m)>=1){Object.assign(a,{startX:u,startY:d,currentX:u,currentY:d,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}r.emit("sliderMove",l),n.isMoved=!0,n.currentTranslate=m+n.startTranslate;let S=!0,x=i.resistanceRatio;if(i.touchReleaseOnEdges&&(x=0),m>0?(y&&v&&n.allowThresholdMove&&n.currentTranslate>(i.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]-(i.slidesPerView!=="auto"&&r.slides.length-i.slidesPerView>=2?r.slidesSizesGrid[r.activeIndex+1]+r.params.spaceBetween:0)-r.params.spaceBetween:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>r.minTranslate()&&(S=!1,i.resistance&&(n.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+n.startTranslate+m)**x))):m<0&&(y&&v&&n.allowThresholdMove&&n.currentTranslate<(i.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]+r.params.spaceBetween+(i.slidesPerView!=="auto"&&r.slides.length-i.slidesPerView>=2?r.slidesSizesGrid[r.slidesSizesGrid.length-1]+r.params.spaceBetween:0):r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-(i.slidesPerView==="auto"?r.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),n.currentTranslate<r.maxTranslate()&&(S=!1,i.resistance&&(n.currentTranslate=r.maxTranslate()+1-(r.maxTranslate()-n.startTranslate-m)**x))),S&&(l.preventedByNestedSwiper=!0),!r.allowSlideNext&&r.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!r.allowSlidePrev&&r.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!r.allowSlidePrev&&!r.allowSlideNext&&(n.currentTranslate=n.startTranslate),i.threshold>0)if(Math.abs(m)>i.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,n.currentTranslate=n.startTranslate,a.diff=r.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY;return}}else{n.currentTranslate=n.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&r.freeMode||i.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(n.currentTranslate),r.setTranslate(n.currentTranslate))}function dat(e){const t=this,r=t.touchEventsData;let n=e;n.originalEvent&&(n=n.originalEvent);let i;if(n.type==="touchend"||n.type==="touchcancel"){if(i=[...n.changedTouches].find(w=>w.identifier===r.touchId),!i||i.identifier!==r.touchId)return}else{if(r.touchId!==null||n.pointerId!==r.pointerId)return;i=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(t.browser.isSafari||t.browser.isWebView)))return;r.pointerId=null,r.touchId=null;const{params:s,touches:o,rtlTranslate:l,slidesGrid:c,enabled:u}=t;if(!u||!s.simulateTouch&&n.pointerType==="mouse")return;if(r.allowTouchCallbacks&&t.emit("touchEnd",n),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&s.grabCursor&&t.setGrabCursor(!1),r.isMoved=!1,r.startMoving=!1;return}s.grabCursor&&r.isMoved&&r.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const d=DS(),h=d-r.touchStartTime;if(t.allowClick){const w=n.path||n.composedPath&&n.composedPath();t.updateClickedSlide(w&&w[0]||n.target,w),t.emit("tap click",n),h<300&&d-r.lastClickTime<300&&t.emit("doubleTap doubleClick",n)}if(r.lastClickTime=DS(),Ume(()=>{t.destroyed||(t.allowClick=!0)}),!r.isTouched||!r.isMoved||!t.swipeDirection||o.diff===0&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset){r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;return}r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;let p;if(s.followFinger?p=l?t.translate:-t.translate:p=-r.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:p});return}const m=p>=-t.maxTranslate()&&!t.params.loop;let g=0,b=t.slidesSizesGrid[0];for(let w=0;w<c.length;w+=w<s.slidesPerGroupSkip?1:s.slidesPerGroup){const A=w<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;typeof c[w+A]<"u"?(m||p>=c[w]&&p<c[w+A])&&(g=w,b=c[w+A]-c[w]):(m||p>=c[w])&&(g=w,b=c[c.length-1]-c[c.length-2])}let y=null,v=null;s.rewind&&(t.isBeginning?v=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(y=0));const S=(p-c[g])/b,x=g<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(h>s.longSwipesMs){if(!s.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(S>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?y:g+x):t.slideTo(g)),t.swipeDirection==="prev"&&(S>1-s.longSwipesRatio?t.slideTo(g+x):v!==null&&S<0&&Math.abs(S)>s.longSwipesRatio?t.slideTo(v):t.slideTo(g))}else{if(!s.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(n.target===t.navigation.nextEl||n.target===t.navigation.prevEl)?n.target===t.navigation.nextEl?t.slideTo(g+x):t.slideTo(g):(t.swipeDirection==="next"&&t.slideTo(y!==null?y:g+x),t.swipeDirection==="prev"&&t.slideTo(v!==null?v:g))}}function rZ(){const e=this,{params:t,el:r}=e;if(r&&r.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:i,snapGrid:a}=e,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const o=s&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!o?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=n,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function pat(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function hat(){const e=this,{wrapperEl:t,rtlTranslate:r,enabled:n}=e;if(!n)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let i;const a=e.maxTranslate()-e.minTranslate();a===0?i=0:i=(e.translate-e.minTranslate())/a,i!==e.progress&&e.updateProgress(r?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function fat(e){const t=this;vT(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function mat(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const Jme=(e,t)=>{const r=wl(),{params:n,el:i,wrapperEl:a,device:s}=e,o=!!n.nested,l=t==="on"?"addEventListener":"removeEventListener",c=t;!i||typeof i=="string"||(r[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:o}),i[l]("touchstart",e.onTouchStart,{passive:!1}),i[l]("pointerdown",e.onTouchStart,{passive:!1}),r[l]("touchmove",e.onTouchMove,{passive:!1,capture:o}),r[l]("pointermove",e.onTouchMove,{passive:!1,capture:o}),r[l]("touchend",e.onTouchEnd,{passive:!0}),r[l]("pointerup",e.onTouchEnd,{passive:!0}),r[l]("pointercancel",e.onTouchEnd,{passive:!0}),r[l]("touchcancel",e.onTouchEnd,{passive:!0}),r[l]("pointerout",e.onTouchEnd,{passive:!0}),r[l]("pointerleave",e.onTouchEnd,{passive:!0}),r[l]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[l]("click",e.onClick,!0),n.cssMode&&a[l]("scroll",e.onScroll),n.updateOnWindowResize?e[c](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",rZ,!0):e[c]("observerUpdate",rZ,!0),i[l]("load",e.onLoad,{capture:!0}))};function gat(){const e=this,{params:t}=e;e.onTouchStart=cat.bind(e),e.onTouchMove=uat.bind(e),e.onTouchEnd=dat.bind(e),e.onDocumentTouchStart=mat.bind(e),t.cssMode&&(e.onScroll=hat.bind(e)),e.onClick=pat.bind(e),e.onLoad=fat.bind(e),Jme(e,"on")}function bat(){Jme(this,"off")}var yat={attachEvents:gat,detachEvents:bat};const nZ=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function vat(){const e=this,{realIndex:t,initialized:r,params:n,el:i}=e,a=n.breakpoints;if(!a||a&&Object.keys(a).length===0)return;const s=wl(),o=n.breakpointsBase==="window"||!n.breakpointsBase?n.breakpointsBase:"container",l=["window","container"].includes(n.breakpointsBase)||!n.breakpointsBase?e.el:s.querySelector(n.breakpointsBase),c=e.getBreakpoint(a,o,l);if(!c||e.currentBreakpoint===c)return;const d=(c in a?a[c]:void 0)||e.originalParams,h=nZ(e,n),p=nZ(e,d),m=e.params.grabCursor,g=d.grabCursor,b=n.enabled;h&&!p?(i.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!h&&p&&(i.classList.add(`${n.containerModifierClass}grid`),(d.grid.fill&&d.grid.fill==="column"||!d.grid.fill&&n.grid.fill==="column")&&i.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),m&&!g?e.unsetGrabCursor():!m&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(A=>{if(typeof d[A]>"u")return;const _=n[A]&&n[A].enabled,C=d[A]&&d[A].enabled;_&&!C&&e[A].disable(),!_&&C&&e[A].enable()});const y=d.direction&&d.direction!==n.direction,v=n.loop&&(d.slidesPerView!==n.slidesPerView||y),S=n.loop;y&&r&&e.changeDirection(),za(e.params,d);const x=e.params.enabled,w=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),b&&!x?e.disable():!b&&x&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",d),r&&(v?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!S&&w?(e.loopCreate(t),e.updateSlides()):S&&!w&&e.loopDestroy()),e.emit("breakpoint",d)}function Tat(e,t="window",r){if(!e||t==="container"&&!r)return;let n=!1;const i=la(),a=t==="window"?i.innerHeight:r.clientHeight,s=Object.keys(e).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const l=parseFloat(o.substr(1));return{value:a*l,point:o}}return{value:o,point:o}});s.sort((o,l)=>parseInt(o.value,10)-parseInt(l.value,10));for(let o=0;o<s.length;o+=1){const{point:l,value:c}=s[o];t==="window"?i.matchMedia(`(min-width: ${c}px)`).matches&&(n=l):c<=r.clientWidth&&(n=l)}return n||"max"}var Sat={setBreakpoint:vat,getBreakpoint:Tat};function xat(e,t){const r=[];return e.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(i=>{n[i]&&r.push(t+i)}):typeof n=="string"&&r.push(t+n)}),r}function wat(){const e=this,{classNames:t,params:r,rtl:n,el:i,device:a}=e,s=xat(["initialized",r.direction,{"free-mode":e.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:n},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&r.grid.fill==="column"},{android:a.android},{ios:a.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);t.push(...s),i.classList.add(...t),e.emitContainerClasses()}function _at(){const e=this,{el:t,classNames:r}=e;!t||typeof t=="string"||(t.classList.remove(...r),e.emitContainerClasses())}var Aat={addClasses:wat,removeClasses:_at};function Cat(){const e=this,{isLocked:t,params:r}=e,{slidesOffsetBefore:n}=r;if(n){const i=e.slides.length-1,a=e.slidesGrid[i]+e.slidesSizesGrid[i]+n*2;e.isLocked=e.size>a}else e.isLocked=e.snapGrid.length===1;r.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),r.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var Eat={checkOverflow:Cat},HO={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Pat(e,t){return function(n={}){const i=Object.keys(n)[0],a=n[i];if(typeof a!="object"||a===null){za(t,n);return}if(e[i]===!0&&(e[i]={enabled:!0}),i==="navigation"&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),!(i in e&&"enabled"in a)){za(t,n);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),za(t,n)}}const _C={eventsEmitter:Ait,update:Lit,translate:zit,transition:Git,slide:eat,loop:iat,grabCursor:oat,events:yat,breakpoints:Sat,checkOverflow:Eat,classes:Aat},AC={};let fN=class hc{constructor(...t){let r,n;t.length===1&&t[0].constructor&&Object.prototype.toString.call(t[0]).slice(8,-1)==="Object"?n=t[0]:[r,n]=t,n||(n={}),n=za({},n),r&&!n.el&&(n.el=r);const i=wl();if(n.el&&typeof n.el=="string"&&i.querySelectorAll(n.el).length>1){const l=[];return i.querySelectorAll(n.el).forEach(c=>{const u=za({},n,{el:c});l.push(new hc(u))}),l}const a=this;a.__swiper__=!0,a.support=Yme(),a.device=Kme({userAgent:n.userAgent}),a.browser=Xme(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],n.modules&&Array.isArray(n.modules)&&a.modules.push(...n.modules);const s={};a.modules.forEach(l=>{l({params:n,swiper:a,extendParams:Pat(n,s),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const o=za({},HO,s);return a.params=za({},o,AC,n),a.originalParams=za({},a.params),a.passedParams=za({},n),a.params&&a.params.on&&Object.keys(a.params.on).forEach(l=>{a.on(l,a.params.on[l])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:r,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:r,params:n}=this,i=ll(r,`.${n.slideClass}, swiper-slide`),a=$S(i[0]);return $S(t)-a}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find(r=>r.getAttribute("data-swiper-slide-index")*1===t))}getSlideIndexWhenGrid(t){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?t=Math.floor(t/this.params.grid.rows):this.params.grid.fill==="row"&&(t=t%Math.ceil(this.slides.length/this.params.grid.rows))),t}recalcSlides(){const t=this,{slidesEl:r,params:n}=t;t.slides=ll(r,`.${n.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,r){const n=this;t=Math.min(Math.max(t,0),1);const i=n.minTranslate(),s=(n.maxTranslate()-i)*t+i;n.translateTo(s,typeof r>"u"?0:r),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const r=t.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",r.join(" "))}getSlideClasses(t){const r=this;return r.destroyed?"":t.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(r.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const r=[];t.slides.forEach(n=>{const i=t.getSlideClasses(n);r.push({slideEl:n,classNames:i}),t.emit("_slideClass",n,i)}),t.emit("_slideClasses",r)}slidesPerViewDynamic(t="current",r=!1){const n=this,{params:i,slides:a,slidesGrid:s,slidesSizesGrid:o,size:l,activeIndex:c}=n;let u=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let d=a[c]?Math.ceil(a[c].swiperSlideSize):0,h;for(let p=c+1;p<a.length;p+=1)a[p]&&!h&&(d+=Math.ceil(a[p].swiperSlideSize),u+=1,d>l&&(h=!0));for(let p=c-1;p>=0;p-=1)a[p]&&!h&&(d+=a[p].swiperSlideSize,u+=1,d>l&&(h=!0))}else if(t==="current")for(let d=c+1;d<a.length;d+=1)(r?s[d]+o[d]-s[c]<l:s[d]-s[c]<l)&&(u+=1);else for(let d=c-1;d>=0;d-=1)s[c]-s[d]<l&&(u+=1);return u}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:r,params:n}=t;n.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(s=>{s.complete&&vT(t,s)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function i(){const s=t.rtlTranslate?t.translate*-1:t.translate,o=Math.min(Math.max(s,t.maxTranslate()),t.minTranslate());t.setTranslate(o),t.updateActiveIndex(),t.updateSlidesClasses()}let a;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&t.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&t.isEnd&&!n.centeredSlides){const s=t.virtual&&n.virtual.enabled?t.virtual.slides:t.slides;a=t.slideTo(s.length-1,0,!1,!0)}else a=t.slideTo(t.activeIndex,0,!1,!0);a||i()}n.watchOverflow&&r!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,r=!0){const n=this,i=n.params.direction;return t||(t=i==="horizontal"?"vertical":"horizontal"),t===i||t!=="horizontal"&&t!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${i}`),n.el.classList.add(`${n.params.containerModifierClass}${t}`),n.emitContainerClasses(),n.params.direction=t,n.slides.forEach(a=>{t==="vertical"?a.style.width="":a.style.height=""}),n.emit("changeDirection"),r&&n.update()),n}changeLanguageDirection(t){const r=this;r.rtl&&t==="rtl"||!r.rtl&&t==="ltr"||(r.rtl=t==="rtl",r.rtlTranslate=r.params.direction==="horizontal"&&r.rtl,r.rtl?(r.el.classList.add(`${r.params.containerModifierClass}rtl`),r.el.dir="rtl"):(r.el.classList.remove(`${r.params.containerModifierClass}rtl`),r.el.dir="ltr"),r.update())}mount(t){const r=this;if(r.mounted)return!0;let n=t||r.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=r,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===r.params.swiperElementNodeName.toUpperCase()&&(r.isElement=!0);const i=()=>`.${(r.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(i()):ll(n,i())[0];return!s&&r.params.createElements&&(s=FS("div",r.params.wrapperClass),n.append(s),ll(n,`.${r.params.slideClass}`).forEach(o=>{s.append(o)})),Object.assign(r,{el:n,wrapperEl:s,slidesEl:r.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:s,hostEl:r.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||ed(n,"direction")==="rtl",rtlTranslate:r.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||ed(n,"direction")==="rtl"),wrongRTL:ed(s,"display")==="-webkit-box"}),!0}init(t){const r=this;if(r.initialized||r.mount(t)===!1)return r;r.emit("beforeInit"),r.params.breakpoints&&r.setBreakpoint(),r.addClasses(),r.updateSize(),r.updateSlides(),r.params.watchOverflow&&r.checkOverflow(),r.params.grabCursor&&r.enabled&&r.setGrabCursor(),r.params.loop&&r.virtual&&r.params.virtual.enabled?r.slideTo(r.params.initialSlide+r.virtual.slidesBefore,0,r.params.runCallbacksOnInit,!1,!0):r.slideTo(r.params.initialSlide,0,r.params.runCallbacksOnInit,!1,!0),r.params.loop&&r.loopCreate(void 0,!0),r.attachEvents();const i=[...r.el.querySelectorAll('[loading="lazy"]')];return r.isElement&&i.push(...r.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(a=>{a.complete?vT(r,a):a.addEventListener("load",s=>{vT(r,s.target)})}),WO(r),r.initialized=!0,WO(r),r.emit("init"),r.emit("afterInit"),r}destroy(t=!0,r=!0){const n=this,{params:i,el:a,wrapperEl:s,slides:o}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),r&&(n.removeClasses(),a&&typeof a!="string"&&a.removeAttribute("style"),s&&s.removeAttribute("style"),o&&o.length&&o.forEach(l=>{l.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(l=>{n.off(l)}),t!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),cit(n)),n.destroyed=!0),null}static extendDefaults(t){za(AC,t)}static get extendedDefaults(){return AC}static get defaults(){return HO}static installModule(t){hc.prototype.__modules__||(hc.prototype.__modules__=[]);const r=hc.prototype.__modules__;typeof t=="function"&&r.indexOf(t)<0&&r.push(t)}static use(t){return Array.isArray(t)?(t.forEach(r=>hc.installModule(r)),hc):(hc.installModule(t),hc)}};Object.keys(_C).forEach(e=>{Object.keys(_C[e]).forEach(t=>{fN.prototype[t]=_C[e][t]})});fN.use([wit,_it]);const Zme=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function vh(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function Om(e,t){const r=["__proto__","constructor","prototype"];Object.keys(t).filter(n=>r.indexOf(n)<0).forEach(n=>{typeof e[n]>"u"?e[n]=t[n]:vh(t[n])&&vh(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:Om(e[n],t[n]):e[n]=t[n]})}function ege(e={}){return e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function tge(e={}){return e.pagination&&typeof e.pagination.el>"u"}function rge(e={}){return e.scrollbar&&typeof e.scrollbar.el>"u"}function nge(e=""){const t=e.split(" ").map(n=>n.trim()).filter(n=>!!n),r=[];return t.forEach(n=>{r.indexOf(n)<0&&r.push(n)}),r.join(" ")}function jat(e=""){return e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function Rat({swiper:e,slides:t,passedParams:r,changedParams:n,nextEl:i,prevEl:a,scrollbarEl:s,paginationEl:o}){const l=n.filter(C=>C!=="children"&&C!=="direction"&&C!=="wrapperClass"),{params:c,pagination:u,navigation:d,scrollbar:h,virtual:p,thumbs:m}=e;let g,b,y,v,S,x,w,A;n.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&!r.thumbs.swiper.destroyed&&c.thumbs&&(!c.thumbs.swiper||c.thumbs.swiper.destroyed)&&(g=!0),n.includes("controller")&&r.controller&&r.controller.control&&c.controller&&!c.controller.control&&(b=!0),n.includes("pagination")&&r.pagination&&(r.pagination.el||o)&&(c.pagination||c.pagination===!1)&&u&&!u.el&&(y=!0),n.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||s)&&(c.scrollbar||c.scrollbar===!1)&&h&&!h.el&&(v=!0),n.includes("navigation")&&r.navigation&&(r.navigation.prevEl||a)&&(r.navigation.nextEl||i)&&(c.navigation||c.navigation===!1)&&d&&!d.prevEl&&!d.nextEl&&(S=!0);const _=C=>{e[C]&&(e[C].destroy(),C==="navigation"?(e.isElement&&(e[C].prevEl.remove(),e[C].nextEl.remove()),c[C].prevEl=void 0,c[C].nextEl=void 0,e[C].prevEl=void 0,e[C].nextEl=void 0):(e.isElement&&e[C].el.remove(),c[C].el=void 0,e[C].el=void 0))};n.includes("loop")&&e.isElement&&(c.loop&&!r.loop?x=!0:!c.loop&&r.loop?w=!0:A=!0),l.forEach(C=>{if(vh(c[C])&&vh(r[C]))Object.assign(c[C],r[C]),(C==="navigation"||C==="pagination"||C==="scrollbar")&&"enabled"in r[C]&&!r[C].enabled&&_(C);else{const E=r[C];(E===!0||E===!1)&&(C==="navigation"||C==="pagination"||C==="scrollbar")?E===!1&&_(C):c[C]=r[C]}}),l.includes("controller")&&!b&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),n.includes("children")&&t&&p&&c.virtual.enabled?(p.slides=t,p.update(!0)):n.includes("virtual")&&p&&c.virtual.enabled&&(t&&(p.slides=t),p.update(!0)),n.includes("children")&&t&&c.loop&&(A=!0),g&&m.init()&&m.update(!0),b&&(e.controller.control=c.controller.control),y&&(e.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-pagination"),o.part.add("pagination"),e.el.appendChild(o)),o&&(c.pagination.el=o),u.init(),u.render(),u.update()),v&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(c.scrollbar.el=s),h.init(),h.updateSize(),h.setTranslate()),S&&(e.isElement&&((!i||typeof i=="string")&&(i=document.createElement("div"),i.classList.add("swiper-button-next"),BS(i,e.navigation.arrowSvg),i.part.add("button-next"),e.el.appendChild(i)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),BS(a,e.navigation.arrowSvg),a.part.add("button-prev"),e.el.appendChild(a))),i&&(c.navigation.nextEl=i),a&&(c.navigation.prevEl=a),d.init(),d.update()),n.includes("allowSlideNext")&&(e.allowSlideNext=r.allowSlideNext),n.includes("allowSlidePrev")&&(e.allowSlidePrev=r.allowSlidePrev),n.includes("direction")&&e.changeDirection(r.direction,!1),(x||A)&&e.loopDestroy(),(w||A)&&e.loopCreate(),e.update()}function Iat(e={},t=!0){const r={on:{}},n={},i={};Om(r,HO),r._emitClasses=!0,r.init=!1;const a={},s=Zme.map(l=>l.replace(/_/,"")),o=Object.assign({},e);return Object.keys(o).forEach(l=>{typeof e[l]>"u"||(s.indexOf(l)>=0?vh(e[l])?(r[l]={},i[l]={},Om(r[l],e[l]),Om(i[l],e[l])):(r[l]=e[l],i[l]=e[l]):l.search(/on[A-Z]/)===0&&typeof e[l]=="function"?t?n[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:r.on[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:a[l]=e[l])}),["navigation","pagination","scrollbar"].forEach(l=>{r[l]===!0&&(r[l]={}),r[l]===!1&&delete r[l]}),{params:r,passedParams:i,rest:a,events:n}}function Oat({el:e,nextEl:t,prevEl:r,paginationEl:n,scrollbarEl:i,swiper:a},s){ege(s)&&t&&r&&(a.params.navigation.nextEl=t,a.originalParams.navigation.nextEl=t,a.params.navigation.prevEl=r,a.originalParams.navigation.prevEl=r),tge(s)&&n&&(a.params.pagination.el=n,a.originalParams.pagination.el=n),rge(s)&&i&&(a.params.scrollbar.el=i,a.originalParams.scrollbar.el=i),a.init(e)}function Mat(e,t,r,n,i){const a=[];if(!t)return a;const s=l=>{a.indexOf(l)<0&&a.push(l)};if(r&&n){const l=n.map(i),c=r.map(i);l.join("")!==c.join("")&&s("children"),n.length!==r.length&&s("children")}return Zme.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in e&&l in t)if(vh(e[l])&&vh(t[l])){const c=Object.keys(e[l]),u=Object.keys(t[l]);c.length!==u.length?s(l):(c.forEach(d=>{e[l][d]!==t[l][d]&&s(l)}),u.forEach(d=>{e[l][d]!==t[l][d]&&s(l)}))}else e[l]!==t[l]&&s(l)}),a}const kat=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function NS(){return NS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},NS.apply(this,arguments)}function ige(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function age(e){const t=[];return Se.Children.toArray(e).forEach(r=>{ige(r)?t.push(r):r.props&&r.props.children&&age(r.props.children).forEach(n=>t.push(n))}),t}function Dat(e){const t=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return Se.Children.toArray(e).forEach(n=>{if(ige(n))t.push(n);else if(n.props&&n.props.slot&&r[n.props.slot])r[n.props.slot].push(n);else if(n.props&&n.props.children){const i=age(n.props.children);i.length>0?i.forEach(a=>t.push(a)):r["container-end"].push(n)}else r["container-end"].push(n)}),{slides:t,slots:r}}function Lat(e,t,r){if(!r)return null;const n=u=>{let d=u;return u<0?d=t.length+u:d>=t.length&&(d=d-t.length),d},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${r.offset}px`}:{top:`${r.offset}px`},{from:a,to:s}=r,o=e.params.loop?-t.length:0,l=e.params.loop?t.length*2:t.length,c=[];for(let u=o;u<l;u+=1)u>=a&&u<=s&&c.push(t[n(u)]);return c.map((u,d)=>Se.cloneElement(u,{swiper:e,style:i,key:u.props.virtualIndex||u.key||`slide-${d}`}))}function By(e,t){return typeof window>"u"?j.useEffect(e,t):j.useLayoutEffect(e,t)}const iZ=j.createContext(null),sge=j.createContext(null),Fat=()=>j.useContext(sge),oge=j.forwardRef(({className:e,tag:t="div",wrapperTag:r="div",children:n,onSwiper:i,...a}={},s)=>{let o=!1;const[l,c]=j.useState("swiper"),[u,d]=j.useState(null),[h,p]=j.useState(!1),m=j.useRef(!1),g=j.useRef(null),b=j.useRef(null),y=j.useRef(null),v=j.useRef(null),S=j.useRef(null),x=j.useRef(null),w=j.useRef(null),A=j.useRef(null),{params:_,passedParams:C,rest:E,events:R}=Iat(a),{slides:P,slots:O}=Dat(n),k=()=>{p(!h)};Object.assign(_.on,{_containerClasses($,Y){c(Y)}});const I=()=>{Object.assign(_.on,R),o=!0;const $={..._};if(delete $.wrapperClass,b.current=new fN($),b.current.virtual&&b.current.params.virtual.enabled){b.current.virtual.slides=P;const Y={cache:!1,slides:P,renderExternal:d,renderExternalUpdate:!1};Om(b.current.params.virtual,Y),Om(b.current.originalParams.virtual,Y)}};g.current||I(),b.current&&b.current.on("_beforeBreakpoint",k);const M=()=>{o||!R||!b.current||Object.keys(R).forEach($=>{b.current.on($,R[$])})},D=()=>{!R||!b.current||Object.keys(R).forEach($=>{b.current.off($,R[$])})};j.useEffect(()=>()=>{b.current&&b.current.off("_beforeBreakpoint",k)}),j.useEffect(()=>{!m.current&&b.current&&(b.current.emitSlidesClasses(),m.current=!0)}),By(()=>{if(s&&(s.current=g.current),!!g.current)return b.current.destroyed&&I(),Oat({el:g.current,nextEl:S.current,prevEl:x.current,paginationEl:w.current,scrollbarEl:A.current,swiper:b.current},_),i&&!b.current.destroyed&&i(b.current),()=>{b.current&&!b.current.destroyed&&b.current.destroy(!0,!1)}},[]),By(()=>{M();const $=Mat(C,y.current,P,v.current,Y=>Y.key);return y.current=C,v.current=P,$.length&&b.current&&!b.current.destroyed&&Rat({swiper:b.current,slides:P,passedParams:C,changedParams:$,nextEl:S.current,prevEl:x.current,scrollbarEl:A.current,paginationEl:w.current}),()=>{D()}}),By(()=>{kat(b.current)},[u]);function F(){return _.virtual?Lat(b.current,P,u):P.map(($,Y)=>Se.cloneElement($,{swiper:b.current,swiperSlideIndex:Y}))}return Se.createElement(t,NS({ref:g,className:nge(`${l}${e?` ${e}`:""}`)},E),Se.createElement(sge.Provider,{value:b.current},O["container-start"],Se.createElement(r,{className:jat(_.wrapperClass)},O["wrapper-start"],F(),O["wrapper-end"]),ege(_)&&Se.createElement(Se.Fragment,null,Se.createElement("div",{ref:x,className:"swiper-button-prev"}),Se.createElement("div",{ref:S,className:"swiper-button-next"})),rge(_)&&Se.createElement("div",{ref:A,className:"swiper-scrollbar"}),tge(_)&&Se.createElement("div",{ref:w,className:"swiper-pagination"}),O["container-end"]))});oge.displayName="Swiper";const lge=j.forwardRef(({tag:e="div",children:t,className:r="",swiper:n,zoom:i,lazy:a,virtualIndex:s,swiperSlideIndex:o,...l}={},c)=>{const u=j.useRef(null),[d,h]=j.useState("swiper-slide"),[p,m]=j.useState(!1);function g(S,x,w){x===u.current&&h(w)}By(()=>{if(typeof o<"u"&&(u.current.swiperSlideIndex=o),c&&(c.current=u.current),!(!u.current||!n)){if(n.destroyed){d!=="swiper-slide"&&h("swiper-slide");return}return n.on("_slideClass",g),()=>{n&&n.off("_slideClass",g)}}}),By(()=>{n&&u.current&&!n.destroyed&&h(n.getSlideClasses(u.current))},[n]);const b={isActive:d.indexOf("swiper-slide-active")>=0,isVisible:d.indexOf("swiper-slide-visible")>=0,isPrev:d.indexOf("swiper-slide-prev")>=0,isNext:d.indexOf("swiper-slide-next")>=0},y=()=>typeof t=="function"?t(b):t,v=()=>{m(!0)};return Se.createElement(e,NS({ref:u,className:nge(`${d}${r?` ${r}`:""}`),"data-swiper-slide-index":s,onLoad:v},l),i&&Se.createElement(iZ.Provider,{value:b},Se.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof i=="number"?i:void 0},y(),a&&!p&&Se.createElement("div",{className:"swiper-lazy-preloader"}))),!i&&Se.createElement(iZ.Provider,{value:b},y(),a&&!p&&Se.createElement("div",{className:"swiper-lazy-preloader"})))});lge.displayName="SwiperSlide";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const cge=({onClick:e,asComponent:t,right:r,...n})=>{const i=t===null?void 0:T1;return f.jsx(Gr,{icon:f.jsx(du,{size:"32px"}),as:i,onClick:()=>e==null?void 0:e(),"aria-label":Ee._({id:"yz7wBu"}),"data-testid":"system-drawer-close-button",variant:"translucentOutlineButton",position:"absolute",top:"10px",left:r?void 0:"10px",right:r,zIndex:2,...n})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const $at=({slide:e})=>{var t;return f.jsx(z,{children:f.jsx(p0,{src:e.img,alt:(t=e.imgAlt)==null?void 0:t.toString(),w:"100%",h:"100%",objectFit:"fill"})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Bat=({slide:e})=>{var t;return f.jsxs(z,{col:!0,orient:"top",h:"82%",mt:"20%",position:"relative",children:[f.jsx(_n,{size:{base:"xs",sm:"sm",md:"md",lg:"lg"},px:6,pt:"0px",children:e.text}),f.jsx(z,{overflow:"hidden",pb:6,children:f.jsx(p0,{mx:"auto",maxWidth:"80%",maxHeight:"70%",width:"auto",height:"auto",objectFit:"contain",src:e.img,alt:(t=e.imgAlt)==null?void 0:t.toString()})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const uge=(e,t,r)=>{const[n,i]=j.useState({x:1,y:1});j.useLayoutEffect(()=>{if(r.current){const{width:o,height:l}=r.current.getBoundingClientRect();if(o>0&&l>0){const c=1+1.75*t/o,u=1+1.75*t/l;i({x:c,y:u})}}},[t,r.current]);const a=j.useMemo(()=>Io`
0%, 100% {
transform: scale(1, 1);
}
50% {
transform: scale(${n.x}, ${n.y});
}
`,[n.x,n.y]);return e?`${a} 1.5s ease-in-out infinite`:void 0};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Nat=({progress:e,progressColor:t,bg:r})=>f.jsx(Ne,{position:"absolute",width:"100%",height:"100%",overflow:"hidden",borderRadius:"inherit",children:f.jsx(Ne,{position:"absolute",bg:t||r,zIndex:-1,filter:t?void 0:"brightness(1.3)",transition:e===0?"none":"all 1s linear",width:"100%",height:"100%",clipPath:`inset(0 ${100-e*100}% 0 0)`})}),xv=({bg:e,backgroundColor:t,isRound:r=!1,isDisabled:n,isGlowing:i=!0,progress:a,progressColor:s,glowBackgroundColor:o,glowOpacity:l=.5,glowSize:c=10,sx:u,children:d,...h})=>{const p=j.useRef(null),m=bce(o||t||e||"Red.Magic",l),g=i&&!n,b=uge(g,c,p);return r&&(h.width=h.width||"48px",h.height=h.height||"48px"),f.jsxs(Xe,{ref:p,zIndex:0,bg:t||e,isDisabled:n,borderRadius:r?"full":void 0,position:"relative",...h,sx:{...u,...g&&{_before:{content:'""',position:"absolute",zIndex:-1,top:0,left:0,right:0,bottom:0,borderRadius:"inherit",bg:m,animation:b,willChange:"transform"}}},children:[a!==void 0&&f.jsx(Nat,{progress:a,progressColor:s,bg:t||e}),d]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const qat=({parentSwiper:e,shouldLoop:t=!1,iconColor:r="MagicBlack",...n})=>{const i=Fat();return f.jsx(xv,{bg:"MagicWhite",isRound:!0,"aria-label":Ee._({id:"iH8pgl"}),onClick:()=>{i.isEnd?(t&&i.slideTo(0),e==null||e.slideNext()):i.slideNext()},position:"absolute",right:"25px",bottom:"calc(5% - 15px)",zIndex:11,...n,children:f.jsx(Ne,{color:r,children:i.isEnd?f.jsx($6,{}):f.jsx(R6,{strokeWidth:"2px"})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const zat=({howToSlides:e,onClose:t})=>{const[r,n]=j.useState(null),[i,a]=j.useState(0),s=j.useRef(null),o=j.useRef(null),l=j.useCallback((c,u,d)=>{if(!s.current)return;if(o.current===null){const m=s.current.getBBox().width/2;o.current=2*Math.PI*m}const h=o.current;s.current.style.strokeDasharray=`${h*(1-d)} ${h}`,a(c.activeIndex)},[]);return j.useEffect(()=>{r&&(r.slideTo(0,1),r.autoplay.start())},[]),e?f.jsx(z,{maxW:"300px",auto:!0,my:"20px",children:f.jsxs(oge,{style:{border:"4px solid transparent",backgroundImage:"linear-gradient(#1b2c34, #24181e), linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05))",backgroundOrigin:"border-box",backgroundClip:"content-box, border-box",borderRadius:"15px",boxShadow:"0px 4px 20px rgba(17, 16, 28, 0.5)",overflow:"hidden","--swiper-pagination-bottom":"91%","--swiper-pagination-width":"auto !important","--swiper-pagination-color":"#ffffff","--swiper-pagination-bullet-inactive-color":"#ffffff","--swiper-pagination-bullet-inactive-opacity":".25","--swiper-pagination-bullet-size":"10px","--swiper-pagination-bullet-horizontal-gap":"12px"},allowTouchMove:!0,onSwiper:c=>n(c),preventClicks:!1,preventClicksPropagation:!1,autoplay:{delay:6e3,disableOnInteraction:!1},pagination:{clickable:!0},modules:[vit,yit],onAutoplayTimeLeft:l,className:"howToPlaySwiper",children:[f.jsx(cge,{onClick:t,asComponent:null,right:"10px"}),e.map((c,u)=>f.jsx(lge,{children:c.isFullScreenImage?f.jsx($at,{slide:c}):f.jsx(Bat,{slide:c})},u)),f.jsxs(Ne,{style:{position:"absolute",left:r?`calc(10px + ${i*34}px)`:"0",bottom:"91%",zIndex:10,width:"44px",height:"44px",display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",transform:"translateY(22%)"},children:[f.jsx("svg",{ref:s,style:{position:"absolute",width:"100%",height:"100%",strokeWidth:"2px",stroke:"#FFF8B7",fill:"none",transform:"rotate(-90deg)"},children:f.jsx("circle",{cx:"22",cy:"22",r:"20"})}),f.jsx("svg",{style:{position:"absolute",width:"100%",height:"100%"},children:f.jsx("circle",{cx:"22",cy:"22",r:"16",fill:"#FFF8B7"})}),f.jsx(ue,{position:"absolute",color:"Black",fontWeight:"bold",fontSize:"md",children:i+1})]}),f.jsx(qat,{shouldLoop:!0,isGlowing:!1,p:"0",height:"40px",width:"40px",right:"15px",bg:"Black",iconColor:"MagicWhite"})]})}):null};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const mN=()=>f.jsx("div",{});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Sr=({children:e,showOnDesktopOnly:t=!1,keepOpenOnDesktopClick:r=!1,keepOpenOnMobileClick:n=!1,...i})=>{var l;const[a,s]=j.useState(!1),o=c=>{s(u=>!u)};return f.jsx(vfe,{isOpen:(l=i.isOpen)!=null?l:a&&(t?xo:!0),mx:1,openDelay:200,...i,children:j.cloneElement(e,{onClick:c=>{if(e.props.onClick&&e.props.onClick(c),xo){if(r)return;a&&(c.stopPropagation(),s(!1))}else{if(n)return;o()}},onMouseEnter:c=>{e.props.onMouseEnter&&e.props.onMouseEnter(c),a||s(!0)},onMouseLeave:c=>{e.props.onMouseLeave&&e.props.onMouseLeave(c),s(!1)}})})};var Wat=y1({d:"M23.384,21.619,16.855,15.09a9.284,9.284,0,1,0-1.768,1.768l6.529,6.529a1.266,1.266,0,0,0,1.768,0A1.251,1.251,0,0,0,23.384,21.619ZM2.75,9.5a6.75,6.75,0,1,1,6.75,6.75A6.758,6.758,0,0,1,2.75,9.5Z",displayName:"SearchIcon"}),Hat=y1({d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm0,19a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,12,19Zm1.6-6.08a1,1,0,0,0-.6.917,1,1,0,1,1-2,0,3,3,0,0,1,1.8-2.75A2,2,0,1,0,10,9.255a1,1,0,1,1-2,0,4,4,0,1,1,5.6,3.666Z",displayName:"QuestionIcon"}),Uat=y1({displayName:"QuestionOutlineIcon",path:f.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[f.jsx("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),f.jsx("path",{fill:"none",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),f.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]})}),gN=y1({displayName:"ExternalLinkIcon",path:f.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",children:[f.jsx("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),f.jsx("path",{d:"M15 3h6v6"}),f.jsx("path",{d:"M10 14L21 3"})]})}),UO=y1({d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",displayName:"CopyIcon"}),Gat=y1({viewBox:"0 0 14 14",path:f.jsx("g",{fill:"currentColor",children:f.jsx("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"})})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Vat({onClick:e,color:t,isOpen:r}){const{_:n}=Pt();return f.jsx(Sr,{label:n({id:"dO3ybz"}),placement:"bottom",showOnDesktopOnly:!0,children:f.jsx(Gr,{"aria-label":n({id:"dO3ybz"}),icon:r?f.jsx(Hat,{color:t,boxSize:"23px"}):f.jsx(Uat,{color:t,boxSize:"23px"}),variant:"blank",px:1.5,onClick:e})})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Yat={isOpen:!1,title:"",message:"",okText:"OK",okTextVariant:"solid",cancelText:"Cancel",cancelVariant:"solid",onConfirm:()=>{},onCancel:()=>{},onDismiss:()=>{}},Lp=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/components/ConfirmationDialog/confirmationDialogAtom.ts/confirmationDialogAtom",Me(Yat));Lp.debugLabel="confirmationDialogAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Wd=()=>{const e=k0(Lp);return r=>{e({...r,isOpen:!0,onConfirm:()=>{var n;(n=r.onConfirm)==null||n.call(r),e(i=>({...i,isOpen:!1}))},onCancel:()=>{var n;(n=r.onCancel)==null||n.call(r),e(i=>({...i,isOpen:!1}))},onDismiss:()=>{var n;(n=r.onDismiss)==null||n.call(r),e(i=>({...i,isOpen:!1}))}})}},{set:o3}=ft();function dge(e){o3(Lp,{...e,isOpen:!0,onConfirm:()=>{var t;(t=e.onConfirm)==null||t.call(e),o3(Lp,r=>({...r,isOpen:!1}))},onCancel:()=>{var t;(t=e.onCancel)==null||t.call(e),o3(Lp,r=>({...r,isOpen:!1}))},onDismiss:()=>{var t;(t=e.onDismiss)==null||t.call(e),o3(Lp,r=>({...r,isOpen:!1}))}})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const pge=()=>{const e=Wd(),t=jo(),{_:r}=Pt();return()=>new Promise(i=>{e({title:r({id:"6foA8n"}),okText:r({id:"M1EDyx"}),cancelText:r({id:"3HLBoV"}),cancelBackground:"Purple.Magic",okButtonColor:"Neutral.DarkGrey",isCentered:!0,onConfirm:()=>{t({type:"RequestGame",name:"Lobby"}),i(!0)},onCancel:()=>i(!1),onDismiss:()=>i(!1)})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Kat=e=>{const t=new Date,r=e.getTime()-t.getTime();if(r<=0)return"0h 0m";const n=Math.floor(r/(1e3*60*60)),i=Math.floor(r%(1e3*60*60)/(1e3*60));return`${n}h ${i}m`},Rir=()=>{const e=new Date,t=new Date(e);return t.setUTCHours(24,0,0,0),Kat(t)},Xat=()=>{const{_:e}=Pt();return(t,r)=>{const n=Qat(r,t);return n===0?e({id:"ecUA8p"}):n===1?e({id:"y/0uwd"}):t.toLocaleDateString("en-US",{month:"short",day:"numeric",timeZone:"UTC"})}},Qat=(e,t)=>{const r=new Date(e);return r.setUTCHours(0,0,0,0),(r.getTime()-t.getTime())/(1e3*3600*24)};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Nl=()=>yce().width<vce.md;function Jat(){return window.innerWidth<vce.md}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const aZ=({direction:e,onClick:t,isDisabled:r,isVisible:n})=>{const i=Nl(),a=()=>{Jt(e==="left"?"Button_Backward_01":"Button_Forward_01"),t()};return f.jsx(Gr,{"aria-label":Ee._({id:"A3ft5A",values:{0:e==="left"?Ee._({id:"DHhJ7s"}):Ee._({id:"hXzOVo"})}}),icon:e==="left"?f.jsx(j6,{size:i?16:20,strokeWidth:2}):f.jsx(R6,{size:i?16:20,strokeWidth:2}),onClick:a,variant:"ghost",isDisabled:r,visibility:n?"visible":"hidden",color:"MagicBlack",px:0,minW:{base:"20px",sm:"30px"}})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Zat=({currentDate:e,dateToday:t,onClickLeft:r,onClickRight:n,canGoLeft:i,canGoRight:a,onDoubleClick:s})=>{const o=Xat(),l=()=>{Jt("Button_Forward_01"),s==null||s()};return f.jsxs(z,{autoW:!0,bg:"MagicWhite",borderRadius:"20px",children:[f.jsx(aZ,{direction:"left",onClick:r,isDisabled:!i,isVisible:i}),f.jsx(z,{w:{base:"60px",sm:"70px"},onDoubleClick:l,cursor:"pointer",children:f.jsx(ue,{fontSize:{base:"2xs",sm:"xs"},fontWeight:"bold",color:"MagicBlack",textTransform:"uppercase",children:o(e,t)})}),f.jsx(aZ,{direction:"right",onClick:n,isDisabled:!a,isVisible:a})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const est=({children:e,gameName:t,dateData:r,overflowY:n="auto",additionalHeaderElement:i,...a})=>{const{name:s,primaryAccentColor:o,howToSlides:l}=Zi[t],c=j.useRef(null),u=Pe(Tce),d=Fl(),h=J7(),[p,m]=j.useState(!1),[g,b]=j.useState(!1),[y,v]=j.useState(!1),S=jo(),x=pge(),{_:w}=Pt(),A=async()=>{await x()},_=zh(),C=j.useMemo(()=>Jc.debounce(()=>{if(!c.current)return;const{scrollHeight:O,clientHeight:k}=c.current;m(O>k)},250),[]);j.useEffect(()=>{if(!c.current)return;const O=new MutationObserver(C);return O.observe(c.current,{childList:!0,subtree:!0}),window.addEventListener("resize",C),C(),()=>{O.disconnect(),window.removeEventListener("resize",C)}},[]);const E=o,R=p1(E),P=d!=="Lobby"&&Zi[d].type==="Party";return f.jsx(zB,{scope:t,children:f.jsx(qB,{children:f.jsx(j.Suspense,{fallback:f.jsx(mN,{}),children:f.jsxs(z,{col:!0,borderRadius:"10px",overflow:"hidden",borderWidth:"3px",borderColor:E,maxW:u?"100%":"1300px",...a,children:[f.jsxs(z,{autoH:!0,bg:E,pl:2,pb:1,gap:1,children:[f.jsx(z,{orient:"left",pl:1,children:f.jsx(ue,{size:{base:"sm",md:"md"},fontWeight:"extrabold",lineHeight:"1",textTransform:"uppercase",color:R,children:s})}),r&&f.jsx(Zat,{...r}),l&&f.jsx(Vat,{color:R,isOpen:g,onClick:()=>{Jt("Button_Main_01"),b(!g)}}),i,_&&f.jsx(Xe,{size:"xs",onClick:()=>zt({type:"Dev"}),children:"Dev"}),P&&f.jsxs(efe,{isOpen:y,onClose:()=>{Jt("Button_Main_01"),v(!1)},placement:"bottom-end",children:[f.jsx(Sr,{label:w({id:"ph8xaI"}),placement:"bottom",showOnDesktopOnly:!0,children:f.jsx(rfe,{as:Gr,variant:"blank","aria-label":w({id:"ph8xaI"}),icon:f.jsx(B6,{color:R,strokeWidth:1.5}),onClick:()=>{Jt("Button_Main_01"),v(!y)}})}),f.jsx(tfe,{backdropFilter:"blur(50px)",bg:"transparent",border:"none",borderRadius:"10px",mr:"-30px",px:4,py:2,w:"auto",zIndex:"GameWindowModal",children:f.jsxs(z,{col:!0,gap:2,children:[f.jsx(Xe,{px:0,size:"sm",onClick:()=>void A(),color:"Orange.Pastel",backgroundColor:"rgba(24, 23, 23, 0.40)",borderRadius:"10px",width:"100%",border:"1px solid",borderColor:"Orange.Pastel",children:f.jsx(L,{id:"M1EDyx"})})," ",f.jsx(Xe,{px:0,size:"sm",onClick:()=>{S({type:"RestartGame",name:t})},color:"Red.Pastel",borderColor:"Red.Pastel",backgroundColor:"rgba(24, 23, 23, 0.40)",borderRadius:"10px",width:"100%",border:"1px solid",children:f.jsx(L,{id:"VXWY6e"})})]})})]}),u&&f.jsx(Sr,{label:w({id:"OueVS2"}),placement:"bottom",showOnDesktopOnly:!0,children:f.jsx(Gr,{px:1,variant:"blank","aria-label":w({id:"OueVS2"}),icon:f.jsx(D6,{color:R,strokeWidth:1.5}),onClick:()=>{Jt("Button_Main_01"),g5(!1)}})}),!u&&f.jsx(Sr,{label:w({id:"k8XBBS"}),placement:"bottom",showOnDesktopOnly:!0,children:f.jsx(Gr,{px:1,variant:"blank","aria-label":w({id:"k8XBBS"}),icon:f.jsx(M6,{color:R,strokeWidth:1.5}),onClick:()=>{Jt("Button_Main_01"),g5(!0)}})}),d==="Quinoa"&&h==="Quinoa"&&f.jsx(Sr,{label:w({id:"3qkggm"}),placement:"bottom",showOnDesktopOnly:!0,children:f.jsx(Gr,{pr:1,variant:"blank","aria-label":w({id:"3qkggm"}),icon:f.jsx(QB,{color:R,strokeWidth:1.5}),onClick:()=>{Jt("Button_Main_01"),Sce(!1)}})})]}),f.jsxs(z,{overflow:"hidden",position:"relative",children:[f.jsx(z,{position:"absolute",top:0,left:0,zIndex:"BackgroundImage",children:f.jsx(pN,{gameName:t,brightness:.6})}),f.jsx(z,{ref:c,overflowY:g?"auto":n,overflowX:"hidden",orient:p?"top":"center",sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},children:g&&l?f.jsx(zat,{howToSlides:l,onClose:()=>b(!1)}):e})]})]})})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const tst=({color:e="MagicWhite",strokeColor:t="MagicBlack",strokeWidth:r=4,shadowHeight:n="auto",children:i,...a})=>{const s=j.useRef(null),o=j.useRef(null),[l,c]=j.useState(!1);j.useEffect(()=>{const d=new ResizeObserver(()=>{c(p=>!p)}),h=document.getElementById("AppWrapper");return h&&d.observe(h),()=>{d.disconnect()}},[]),j.useLayoutEffect(()=>{if(!o.current||!s.current)return;const d=o.current,p=s.current.cloneNode(!0);p.style.visibility="hidden",d.appendChild(p);const{width:m,height:g}=p.getBBox();d.removeChild(p),d.setAttribute("width",m.toString()),d.setAttribute("height",g.toString())},[i,r,l]),n==="auto"&&(n=r*.667);const u=`strokeshadow-height-${n}`;return f.jsxs(et.svg,{ref:o,xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet",paintOrder:"stroke fill",overflow:"visible",fill:e,stroke:t,strokeLinejoin:"round",strokeWidth:r,dominantBaseline:"mathematical",...a,children:[f.jsx("defs",{children:f.jsxs("filter",{id:u,x:"-50%",y:"-50%",width:"300%",height:"300%",children:[f.jsx("feOffset",{result:"offOut",in:"SourceAlpha",dx:"0",dy:n}),f.jsx("feGaussianBlur",{result:"blurOut",in:"offOut",stdDeviation:"0"}),f.jsx("feFlood",{floodColor:"rgba(0,0,0,0.25)",result:"floodOut"}),f.jsx("feComposite",{in:"floodOut",in2:"blurOut",operator:"in",result:"shadowOut"}),f.jsx("feBlend",{in:"SourceGraphic",in2:"shadowOut",mode:"normal"})]})}),f.jsx(et.text,{ref:s,filter:`url(#${u})`,x:"50%",y:"50%",textAnchor:"middle",dominantBaseline:"middle",children:i})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const rst=({color:e="MagicWhite",strokeColor:t="MagicBlack",strokeWidth:r=4,shadowHeight:n="auto",children:i,...a})=>{const[s]=LF("colors",[t]),o=n==="auto"?r*.667:n;return f.jsxs(et.span,{position:"relative",display:"inline-block",lineHeight:"1",fontWeight:"700",mb:"4px",...a,children:[o&&o!==0?f.jsx(et.span,{"aria-hidden":"true",sx:{position:"absolute",transform:`translateY(${o}px)`,color:"transparent",WebkitTextStrokeWidth:`${r}px`,WebkitTextStrokeColor:"rgba(0,0,0,.25)",pointerEvents:"none"},children:i}):null,f.jsx(et.span,{position:"absolute","aria-hidden":"true",color:e,sx:{WebkitTextStrokeWidth:`${r}px`,WebkitTextStrokeColor:s!=null?s:t,paintOrder:"stroke fill"},children:i}),i]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const nst=123,ist="userAgentData"in navigator&&!!navigator.userAgentData.brands.find(({brand:e,version:t})=>e==="Chromium"&&Number(t)>=nst),Nn=({children:e,...t})=>ist?f.jsx(rst,{...t,children:e}):f.jsx(tst,{...t,children:e});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const z6=()=>{var e;return(e=Pe(wm))!=null?e:!0};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const hge=500,pu=()=>yce().height<hge;function ast(){return window.innerHeight<hge}var l3=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fge(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var CC={exports:{}},sZ;function sst(){return sZ||(sZ=1,(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function i(l,c,u){this.fn=l,this.context=c,this.once=u||!1}function a(l,c,u,d,h){if(typeof u!="function")throw new TypeError("The listener must be a function");var p=new i(u,d||l,h),m=r?r+c:c;return l._events[m]?l._events[m].fn?l._events[m]=[l._events[m],p]:l._events[m].push(p):(l._events[m]=p,l._eventsCount++),l}function s(l,c){--l._eventsCount===0?l._events=new n:delete l._events[c]}function o(){this._events=new n,this._eventsCount=0}o.prototype.eventNames=function(){var c=[],u,d;if(this._eventsCount===0)return c;for(d in u=this._events)t.call(u,d)&&c.push(r?d.slice(1):d);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(u)):c},o.prototype.listeners=function(c){var u=r?r+c:c,d=this._events[u];if(!d)return[];if(d.fn)return[d.fn];for(var h=0,p=d.length,m=new Array(p);h<p;h++)m[h]=d[h].fn;return m},o.prototype.listenerCount=function(c){var u=r?r+c:c,d=this._events[u];return d?d.fn?1:d.length:0},o.prototype.emit=function(c,u,d,h,p,m){var g=r?r+c:c;if(!this._events[g])return!1;var b=this._events[g],y=arguments.length,v,S;if(b.fn){switch(b.once&&this.removeListener(c,b.fn,void 0,!0),y){case 1:return b.fn.call(b.context),!0;case 2:return b.fn.call(b.context,u),!0;case 3:return b.fn.call(b.context,u,d),!0;case 4:return b.fn.call(b.context,u,d,h),!0;case 5:return b.fn.call(b.context,u,d,h,p),!0;case 6:return b.fn.call(b.context,u,d,h,p,m),!0}for(S=1,v=new Array(y-1);S<y;S++)v[S-1]=arguments[S];b.fn.apply(b.context,v)}else{var x=b.length,w;for(S=0;S<x;S++)switch(b[S].once&&this.removeListener(c,b[S].fn,void 0,!0),y){case 1:b[S].fn.call(b[S].context);break;case 2:b[S].fn.call(b[S].context,u);break;case 3:b[S].fn.call(b[S].context,u,d);break;case 4:b[S].fn.call(b[S].context,u,d,h);break;default:if(!v)for(w=1,v=new Array(y-1);w<y;w++)v[w-1]=arguments[w];b[S].fn.apply(b[S].context,v)}}return!0},o.prototype.on=function(c,u,d){return a(this,c,u,d,!1)},o.prototype.once=function(c,u,d){return a(this,c,u,d,!0)},o.prototype.removeListener=function(c,u,d,h){var p=r?r+c:c;if(!this._events[p])return this;if(!u)return s(this,p),this;var m=this._events[p];if(m.fn)m.fn===u&&(!h||m.once)&&(!d||m.context===d)&&s(this,p);else{for(var g=0,b=[],y=m.length;g<y;g++)(m[g].fn!==u||h&&!m[g].once||d&&m[g].context!==d)&&b.push(m[g]);b.length?this._events[p]=b.length===1?b[0]:b:s(this,p)}return this},o.prototype.removeAllListeners=function(c){var u;return c?(u=r?r+c:c,this._events[u]&&s(this,u)):(this._events=new n,this._eventsCount=0),this},o.prototype.off=o.prototype.removeListener,o.prototype.addListener=o.prototype.on,o.prefixed=r,o.EventEmitter=o,e.exports=o})(CC)),CC.exports}var ost=sst(),lst=fge(ost),Cr;(function(e){e.assertEqual=i=>i;function t(i){}e.assertIs=t;function r(i){throw new Error}e.assertNever=r,e.arrayToEnum=i=>{const a={};for(const s of i)a[s]=s;return a},e.getValidEnumValues=i=>{const a=e.objectKeys(i).filter(o=>typeof i[i[o]]!="number"),s={};for(const o of a)s[o]=i[o];return e.objectValues(s)},e.objectValues=i=>e.objectKeys(i).map(function(a){return i[a]}),e.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const a=[];for(const s in i)Object.prototype.hasOwnProperty.call(i,s)&&a.push(s);return a},e.find=(i,a)=>{for(const s of i)if(a(s))return s},e.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function n(i,a=" | "){return i.map(s=>typeof s=="string"?`'${s}'`:s).join(a)}e.joinValues=n,e.jsonStringifyReplacer=(i,a)=>typeof a=="bigint"?a.toString():a})(Cr||(Cr={}));var GO;(function(e){e.mergeShapes=(t,r)=>({...t,...r})})(GO||(GO={}));const dt=Cr.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Ku=e=>{switch(typeof e){case"undefined":return dt.undefined;case"string":return dt.string;case"number":return isNaN(e)?dt.nan:dt.number;case"boolean":return dt.boolean;case"function":return dt.function;case"bigint":return dt.bigint;case"symbol":return dt.symbol;case"object":return Array.isArray(e)?dt.array:e===null?dt.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?dt.promise:typeof Map<"u"&&e instanceof Map?dt.map:typeof Set<"u"&&e instanceof Set?dt.set:typeof Date<"u"&&e instanceof Date?dt.date:dt.object;default:return dt.unknown}},Ge=Cr.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),cst=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class Xa extends Error{constructor(t){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const r=t||function(a){return a.message},n={_errors:[]},i=a=>{for(const s of a.issues)if(s.code==="invalid_union")s.unionErrors.map(i);else if(s.code==="invalid_return_type")i(s.returnTypeError);else if(s.code==="invalid_arguments")i(s.argumentsError);else if(s.path.length===0)n._errors.push(r(s));else{let o=n,l=0;for(;l<s.path.length;){const c=s.path[l];l===s.path.length-1?(o[c]=o[c]||{_errors:[]},o[c]._errors.push(r(s))):o[c]=o[c]||{_errors:[]},o=o[c],l++}}};return i(this),n}static assert(t){if(!(t instanceof Xa))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Cr.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=r=>r.message){const r={},n=[];for(const i of this.issues)i.path.length>0?(r[i.path[0]]=r[i.path[0]]||[],r[i.path[0]].push(t(i))):n.push(t(i));return{formErrors:n,fieldErrors:r}}get formErrors(){return this.flatten()}}Xa.create=e=>new Xa(e);const dg=(e,t)=>{let r;switch(e.code){case Ge.invalid_type:e.received===dt.undefined?r="Required":r=`Expected ${e.expected}, received ${e.received}`;break;case Ge.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,Cr.jsonStringifyReplacer)}`;break;case Ge.unrecognized_keys:r=`Unrecognized key(s) in object: ${Cr.joinValues(e.keys,", ")}`;break;case Ge.invalid_union:r="Invalid input";break;case Ge.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${Cr.joinValues(e.options)}`;break;case Ge.invalid_enum_value:r=`Invalid enum value. Expected ${Cr.joinValues(e.options)}, received '${e.received}'`;break;case Ge.invalid_arguments:r="Invalid function arguments";break;case Ge.invalid_return_type:r="Invalid function return type";break;case Ge.invalid_date:r="Invalid date";break;case Ge.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:Cr.assertNever(e.validation):e.validation!=="regex"?r=`Invalid ${e.validation}`:r="Invalid";break;case Ge.too_small:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:r="Invalid input";break;case Ge.too_big:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?r=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:r="Invalid input";break;case Ge.custom:r="Invalid input";break;case Ge.invalid_intersection_types:r="Intersection results could not be merged";break;case Ge.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case Ge.not_finite:r="Number must be finite";break;default:r=t.defaultError,Cr.assertNever(e)}return{message:r}};let mge=dg;function ust(e){mge=e}function qS(){return mge}const zS=e=>{const{data:t,path:r,errorMaps:n,issueData:i}=e,a=[...r,...i.path||[]],s={...i,path:a};if(i.message!==void 0)return{...i,path:a,message:i.message};let o="";const l=n.filter(c=>!!c).slice().reverse();for(const c of l)o=c(s,{data:t,defaultError:o}).message;return{...i,path:a,message:o}},dst=[];function at(e,t){const r=qS(),n=zS({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===dg?void 0:dg].filter(i=>!!i)});e.common.issues.push(n)}class Ni{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,r){const n=[];for(const i of r){if(i.status==="aborted")return Nt;i.status==="dirty"&&t.dirty(),n.push(i.value)}return{status:t.value,value:n}}static async mergeObjectAsync(t,r){const n=[];for(const i of r){const a=await i.key,s=await i.value;n.push({key:a,value:s})}return Ni.mergeObjectSync(t,n)}static mergeObjectSync(t,r){const n={};for(const i of r){const{key:a,value:s}=i;if(a.status==="aborted"||s.status==="aborted")return Nt;a.status==="dirty"&&t.dirty(),s.status==="dirty"&&t.dirty(),a.value!=="__proto__"&&(typeof s.value<"u"||i.alwaysSet)&&(n[a.value]=s.value)}return{status:t.value,value:n}}}const Nt=Object.freeze({status:"aborted"}),tm=e=>({status:"dirty",value:e}),ia=e=>({status:"valid",value:e}),VO=e=>e.status==="aborted",YO=e=>e.status==="dirty",L5=e=>e.status==="valid",F5=e=>typeof Promise<"u"&&e instanceof Promise;function WS(e,t,r,n){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function gge(e,t,r,n,i){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,r),r}var _t;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(_t||(_t={}));var Jb,Zb;class Ml{constructor(t,r,n,i){this._cachedPath=[],this.parent=t,this.data=r,this._path=n,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const oZ=(e,t)=>{if(L5(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const r=new Xa(e.common.issues);return this._error=r,this._error}}};function er(e){if(!e)return{};const{errorMap:t,invalid_type_error:r,required_error:n,description:i}=e;if(t&&(r||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(s,o)=>{var l,c;const{message:u}=e;return s.code==="invalid_enum_value"?{message:u!=null?u:o.defaultError}:typeof o.data>"u"?{message:(l=u!=null?u:n)!==null&&l!==void 0?l:o.defaultError}:s.code!=="invalid_type"?{message:o.defaultError}:{message:(c=u!=null?u:r)!==null&&c!==void 0?c:o.defaultError}},description:i}}class ar{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return Ku(t.data)}_getOrReturnCtx(t,r){return r||{common:t.parent.common,data:t.data,parsedType:Ku(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Ni,ctx:{common:t.parent.common,data:t.data,parsedType:Ku(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const r=this._parse(t);if(F5(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(t){const r=this._parse(t);return Promise.resolve(r)}parse(t,r){const n=this.safeParse(t,r);if(n.success)return n.data;throw n.error}safeParse(t,r){var n;const i={common:{issues:[],async:(n=r==null?void 0:r.async)!==null&&n!==void 0?n:!1,contextualErrorMap:r==null?void 0:r.errorMap},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ku(t)},a=this._parseSync({data:t,path:i.path,parent:i});return oZ(i,a)}async parseAsync(t,r){const n=await this.safeParseAsync(t,r);if(n.success)return n.data;throw n.error}async safeParseAsync(t,r){const n={common:{issues:[],contextualErrorMap:r==null?void 0:r.errorMap,async:!0},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Ku(t)},i=this._parse({data:t,path:n.path,parent:n}),a=await(F5(i)?i:Promise.resolve(i));return oZ(n,a)}refine(t,r){const n=i=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(i):r;return this._refinement((i,a)=>{const s=t(i),o=()=>a.addIssue({code:Ge.custom,...n(i)});return typeof Promise<"u"&&s instanceof Promise?s.then(l=>l?!0:(o(),!1)):s?!0:(o(),!1)})}refinement(t,r){return this._refinement((n,i)=>t(n)?!0:(i.addIssue(typeof r=="function"?r(n,i):r),!1))}_refinement(t){return new wo({schema:this,typeName:Ft.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return _l.create(this,this._def)}nullable(){return _d.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return yo.create(this,this._def)}promise(){return hg.create(this,this._def)}or(t){return q5.create([this,t],this._def)}and(t){return z5.create(this,t,this._def)}transform(t){return new wo({...er(this._def),schema:this,typeName:Ft.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const r=typeof t=="function"?t:()=>t;return new V5({...er(this._def),innerType:this,defaultValue:r,typeName:Ft.ZodDefault})}brand(){return new bN({typeName:Ft.ZodBranded,type:this,...er(this._def)})}catch(t){const r=typeof t=="function"?t:()=>t;return new Y5({...er(this._def),innerType:this,catchValue:r,typeName:Ft.ZodCatch})}describe(t){const r=this.constructor;return new r({...this._def,description:t})}pipe(t){return wv.create(this,t)}readonly(){return K5.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const pst=/^c[^\s-]{8,}$/i,hst=/^[0-9a-z]+$/,fst=/^[0-9A-HJKMNP-TV-Z]{26}$/,mst=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,gst=/^[a-z0-9_-]{21}$/i,bst=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,yst=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,vst="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let EC;const Tst=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Sst=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,xst=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,bge="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",wst=new RegExp(`^${bge}$`);function yge(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function _st(e){return new RegExp(`^${yge(e)}$`)}function vge(e){let t=`${bge}T${yge(e)}`;const r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,new RegExp(`^${t}$`)}function Ast(e,t){return!!((t==="v4"||!t)&&Tst.test(e)||(t==="v6"||!t)&&Sst.test(e))}class uo extends ar{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==dt.string){const a=this._getOrReturnCtx(t);return at(a,{code:Ge.invalid_type,expected:dt.string,received:a.parsedType}),Nt}const n=new Ni;let i;for(const a of this._def.checks)if(a.kind==="min")t.data.length<a.value&&(i=this._getOrReturnCtx(t,i),at(i,{code:Ge.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),n.dirty());else if(a.kind==="max")t.data.length>a.value&&(i=this._getOrReturnCtx(t,i),at(i,{code:Ge.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),n.dirty());else if(a.kind==="length"){const s=t.data.length>a.value,o=t.data.length<a.value;(s||o)&&(i=this._getOrReturnCtx(t,i),s?at(i,{code:Ge.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):o&&at(i,{code:Ge.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),n.dirty())}else if(a.kind==="email")yst.test(t.data)||(i=this._getOrReturnCtx(t,i),at(i,{validation:"email",code:Ge.invalid_string,message:a.message}),n.dirty());else if(a.kind==="emoji")EC||(EC=new RegExp(vst,"u")),EC.test(t.data)||(i=this._getOrReturnCtx(t,i),at(i,{validation:"emoji",code:Ge.invalid_string,message:a.message}),n.dirty());else if(a.kind==="uuid")mst.test(t.data)||(i=this._getOrReturnCtx(t,i),at(i,{validation:"uuid",code:Ge.invalid_string,message:a.message}),n.dirty());else if(a.kind==="nanoid")gst.test(t.data)||(i=this._getOrReturnCtx(t,i),at(i,{validation:"nanoid",code:Ge.invalid_string,message:a.message}),n.dirty());else if(a.kind==="cuid")pst.test(t.data)||(i=this._getOrReturnCtx(t,i),at(i,{validation:"cuid",code:Ge.invalid_string,message:a.message}),n.dirty());else if(a.kind==="cuid2")hst.test(t.data)||(i=this._getOrReturnCtx(t,i),at(i,{validation:"cuid2",code:Ge.invalid_string,message:a.message}),n.dirty());else if(a.kind==="ulid")fst.test(t.data)||(i=this._getOrReturnCtx(t,i),at(i,{validation:"ulid",code:Ge.invalid_string,message:a.message}),n.dirty());else if(a.kind==="url")try{new URL(t.data)}catch(s){i=this._getOrReturnCtx(t,i),at(i,{validation:"url",code:Ge.invalid_string,message:a.message}),n.dirty()}else a.kind==="regex"?(a.regex.lastIndex=0,a.regex.test(t.data)||(i=this._getOrReturnCtx(t,i),at(i,{validation:"regex",code:Ge.invalid_string,message:a.message}),n.dirty())):a.kind==="trim"?t.data=t.data.trim():a.kind==="includes"?t.data.includes(a.value,a.position)||(i=this._getOrReturnCtx(t,i),at(i,{code:Ge.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),n.dirty()):a.kind==="toLowerCase"?t.data=t.data.toLowerCase():a.kind==="toUpperCase"?t.data=t.data.toUpperCase():a.kind==="startsWith"?t.data.startsWith(a.value)||(i=this._getOrReturnCtx(t,i),at(i,{code:Ge.invalid_string,validation:{startsWith:a.value},message:a.message}),n.dirty()):a.kind==="endsWith"?t.data.endsWith(a.value)||(i=this._getOrReturnCtx(t,i),at(i,{code:Ge.invalid_string,validation:{endsWith:a.value},message:a.message}),n.dirty()):a.kind==="datetime"?vge(a).test(t.data)||(i=this._getOrReturnCtx(t,i),at(i,{code:Ge.invalid_string,validation:"datetime",message:a.message}),n.dirty()):a.kind==="date"?wst.test(t.data)||(i=this._getOrReturnCtx(t,i),at(i,{code:Ge.invalid_string,validation:"date",message:a.message}),n.dirty()):a.kind==="time"?_st(a).test(t.data)||(i=this._getOrReturnCtx(t,i),at(i,{code:Ge.invalid_string,validation:"time",message:a.message}),n.dirty()):a.kind==="duration"?bst.test(t.data)||(i=this._getOrReturnCtx(t,i),at(i,{validation:"duration",code:Ge.invalid_string,message:a.message}),n.dirty()):a.kind==="ip"?Ast(t.data,a.version)||(i=this._getOrReturnCtx(t,i),at(i,{validation:"ip",code:Ge.invalid_string,message:a.message}),n.dirty()):a.kind==="base64"?xst.test(t.data)||(i=this._getOrReturnCtx(t,i),at(i,{validation:"base64",code:Ge.invalid_string,message:a.message}),n.dirty()):Cr.assertNever(a);return{status:n.value,value:t.data}}_regex(t,r,n){return this.refinement(i=>t.test(i),{validation:r,code:Ge.invalid_string,..._t.errToObj(n)})}_addCheck(t){return new uo({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",..._t.errToObj(t)})}url(t){return this._addCheck({kind:"url",..._t.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",..._t.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",..._t.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",..._t.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",..._t.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",..._t.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",..._t.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",..._t.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",..._t.errToObj(t)})}datetime(t){var r,n;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(r=t==null?void 0:t.offset)!==null&&r!==void 0?r:!1,local:(n=t==null?void 0:t.local)!==null&&n!==void 0?n:!1,..._t.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,..._t.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",..._t.errToObj(t)})}regex(t,r){return this._addCheck({kind:"regex",regex:t,..._t.errToObj(r)})}includes(t,r){return this._addCheck({kind:"includes",value:t,position:r==null?void 0:r.position,..._t.errToObj(r==null?void 0:r.message)})}startsWith(t,r){return this._addCheck({kind:"startsWith",value:t,..._t.errToObj(r)})}endsWith(t,r){return this._addCheck({kind:"endsWith",value:t,..._t.errToObj(r)})}min(t,r){return this._addCheck({kind:"min",value:t,..._t.errToObj(r)})}max(t,r){return this._addCheck({kind:"max",value:t,..._t.errToObj(r)})}length(t,r){return this._addCheck({kind:"length",value:t,..._t.errToObj(r)})}nonempty(t){return this.min(1,_t.errToObj(t))}trim(){return new uo({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new uo({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new uo({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get minLength(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxLength(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}uo.create=e=>{var t;return new uo({checks:[],typeName:Ft.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...er(e)})};function Cst(e,t){const r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,i=r>n?r:n,a=parseInt(e.toFixed(i).replace(".","")),s=parseInt(t.toFixed(i).replace(".",""));return a%s/Math.pow(10,i)}class Sd extends ar{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==dt.number){const a=this._getOrReturnCtx(t);return at(a,{code:Ge.invalid_type,expected:dt.number,received:a.parsedType}),Nt}let n;const i=new Ni;for(const a of this._def.checks)a.kind==="int"?Cr.isInteger(t.data)||(n=this._getOrReturnCtx(t,n),at(n,{code:Ge.invalid_type,expected:"integer",received:"float",message:a.message}),i.dirty()):a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(n=this._getOrReturnCtx(t,n),at(n,{code:Ge.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(n=this._getOrReturnCtx(t,n),at(n,{code:Ge.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="multipleOf"?Cst(t.data,a.value)!==0&&(n=this._getOrReturnCtx(t,n),at(n,{code:Ge.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):a.kind==="finite"?Number.isFinite(t.data)||(n=this._getOrReturnCtx(t,n),at(n,{code:Ge.not_finite,message:a.message}),i.dirty()):Cr.assertNever(a);return{status:i.value,value:t.data}}gte(t,r){return this.setLimit("min",t,!0,_t.toString(r))}gt(t,r){return this.setLimit("min",t,!1,_t.toString(r))}lte(t,r){return this.setLimit("max",t,!0,_t.toString(r))}lt(t,r){return this.setLimit("max",t,!1,_t.toString(r))}setLimit(t,r,n,i){return new Sd({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:_t.toString(i)}]})}_addCheck(t){return new Sd({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:_t.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:_t.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:_t.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:_t.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:_t.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:_t.toString(r)})}finite(t){return this._addCheck({kind:"finite",message:_t.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:_t.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:_t.toString(t)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Cr.isInteger(t.value))}get isFinite(){let t=null,r=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(r===null||n.value>r)&&(r=n.value):n.kind==="max"&&(t===null||n.value<t)&&(t=n.value)}return Number.isFinite(r)&&Number.isFinite(t)}}Sd.create=e=>new Sd({checks:[],typeName:Ft.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...er(e)});class xd extends ar{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==dt.bigint){const a=this._getOrReturnCtx(t);return at(a,{code:Ge.invalid_type,expected:dt.bigint,received:a.parsedType}),Nt}let n;const i=new Ni;for(const a of this._def.checks)a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(n=this._getOrReturnCtx(t,n),at(n,{code:Ge.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(n=this._getOrReturnCtx(t,n),at(n,{code:Ge.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="multipleOf"?t.data%a.value!==BigInt(0)&&(n=this._getOrReturnCtx(t,n),at(n,{code:Ge.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):Cr.assertNever(a);return{status:i.value,value:t.data}}gte(t,r){return this.setLimit("min",t,!0,_t.toString(r))}gt(t,r){return this.setLimit("min",t,!1,_t.toString(r))}lte(t,r){return this.setLimit("max",t,!0,_t.toString(r))}lt(t,r){return this.setLimit("max",t,!1,_t.toString(r))}setLimit(t,r,n,i){return new xd({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:_t.toString(i)}]})}_addCheck(t){return new xd({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:_t.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:_t.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:_t.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:_t.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:_t.toString(r)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}xd.create=e=>{var t;return new xd({checks:[],typeName:Ft.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...er(e)})};class $5 extends ar{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==dt.boolean){const n=this._getOrReturnCtx(t);return at(n,{code:Ge.invalid_type,expected:dt.boolean,received:n.parsedType}),Nt}return ia(t.data)}}$5.create=e=>new $5({typeName:Ft.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...er(e)});class Th extends ar{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==dt.date){const a=this._getOrReturnCtx(t);return at(a,{code:Ge.invalid_type,expected:dt.date,received:a.parsedType}),Nt}if(isNaN(t.data.getTime())){const a=this._getOrReturnCtx(t);return at(a,{code:Ge.invalid_date}),Nt}const n=new Ni;let i;for(const a of this._def.checks)a.kind==="min"?t.data.getTime()<a.value&&(i=this._getOrReturnCtx(t,i),at(i,{code:Ge.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),n.dirty()):a.kind==="max"?t.data.getTime()>a.value&&(i=this._getOrReturnCtx(t,i),at(i,{code:Ge.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),n.dirty()):Cr.assertNever(a);return{status:n.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Th({...this._def,checks:[...this._def.checks,t]})}min(t,r){return this._addCheck({kind:"min",value:t.getTime(),message:_t.toString(r)})}max(t,r){return this._addCheck({kind:"max",value:t.getTime(),message:_t.toString(r)})}get minDate(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t!=null?new Date(t):null}}Th.create=e=>new Th({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:Ft.ZodDate,...er(e)});class HS extends ar{_parse(t){if(this._getType(t)!==dt.symbol){const n=this._getOrReturnCtx(t);return at(n,{code:Ge.invalid_type,expected:dt.symbol,received:n.parsedType}),Nt}return ia(t.data)}}HS.create=e=>new HS({typeName:Ft.ZodSymbol,...er(e)});class B5 extends ar{_parse(t){if(this._getType(t)!==dt.undefined){const n=this._getOrReturnCtx(t);return at(n,{code:Ge.invalid_type,expected:dt.undefined,received:n.parsedType}),Nt}return ia(t.data)}}B5.create=e=>new B5({typeName:Ft.ZodUndefined,...er(e)});class N5 extends ar{_parse(t){if(this._getType(t)!==dt.null){const n=this._getOrReturnCtx(t);return at(n,{code:Ge.invalid_type,expected:dt.null,received:n.parsedType}),Nt}return ia(t.data)}}N5.create=e=>new N5({typeName:Ft.ZodNull,...er(e)});class pg extends ar{constructor(){super(...arguments),this._any=!0}_parse(t){return ia(t.data)}}pg.create=e=>new pg({typeName:Ft.ZodAny,...er(e)});class Kp extends ar{constructor(){super(...arguments),this._unknown=!0}_parse(t){return ia(t.data)}}Kp.create=e=>new Kp({typeName:Ft.ZodUnknown,...er(e)});class ru extends ar{_parse(t){const r=this._getOrReturnCtx(t);return at(r,{code:Ge.invalid_type,expected:dt.never,received:r.parsedType}),Nt}}ru.create=e=>new ru({typeName:Ft.ZodNever,...er(e)});class US extends ar{_parse(t){if(this._getType(t)!==dt.undefined){const n=this._getOrReturnCtx(t);return at(n,{code:Ge.invalid_type,expected:dt.void,received:n.parsedType}),Nt}return ia(t.data)}}US.create=e=>new US({typeName:Ft.ZodVoid,...er(e)});class yo extends ar{_parse(t){const{ctx:r,status:n}=this._processInputParams(t),i=this._def;if(r.parsedType!==dt.array)return at(r,{code:Ge.invalid_type,expected:dt.array,received:r.parsedType}),Nt;if(i.exactLength!==null){const s=r.data.length>i.exactLength.value,o=r.data.length<i.exactLength.value;(s||o)&&(at(r,{code:s?Ge.too_big:Ge.too_small,minimum:o?i.exactLength.value:void 0,maximum:s?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),n.dirty())}if(i.minLength!==null&&r.data.length<i.minLength.value&&(at(r,{code:Ge.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),n.dirty()),i.maxLength!==null&&r.data.length>i.maxLength.value&&(at(r,{code:Ge.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),n.dirty()),r.common.async)return Promise.all([...r.data].map((s,o)=>i.type._parseAsync(new Ml(r,s,r.path,o)))).then(s=>Ni.mergeArray(n,s));const a=[...r.data].map((s,o)=>i.type._parseSync(new Ml(r,s,r.path,o)));return Ni.mergeArray(n,a)}get element(){return this._def.type}min(t,r){return new yo({...this._def,minLength:{value:t,message:_t.toString(r)}})}max(t,r){return new yo({...this._def,maxLength:{value:t,message:_t.toString(r)}})}length(t,r){return new yo({...this._def,exactLength:{value:t,message:_t.toString(r)}})}nonempty(t){return this.min(1,t)}}yo.create=(e,t)=>new yo({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ft.ZodArray,...er(t)});function kf(e){if(e instanceof B0){const t={};for(const r in e.shape){const n=e.shape[r];t[r]=_l.create(kf(n))}return new B0({...e._def,shape:()=>t})}else return e instanceof yo?new yo({...e._def,type:kf(e.element)}):e instanceof _l?_l.create(kf(e.unwrap())):e instanceof _d?_d.create(kf(e.unwrap())):e instanceof kl?kl.create(e.items.map(t=>kf(t))):e}class B0 extends ar{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),r=Cr.objectKeys(t);return this._cached={shape:t,keys:r}}_parse(t){if(this._getType(t)!==dt.object){const c=this._getOrReturnCtx(t);return at(c,{code:Ge.invalid_type,expected:dt.object,received:c.parsedType}),Nt}const{status:n,ctx:i}=this._processInputParams(t),{shape:a,keys:s}=this._getCached(),o=[];if(!(this._def.catchall instanceof ru&&this._def.unknownKeys==="strip"))for(const c in i.data)s.includes(c)||o.push(c);const l=[];for(const c of s){const u=a[c],d=i.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new Ml(i,d,i.path,c)),alwaysSet:c in i.data})}if(this._def.catchall instanceof ru){const c=this._def.unknownKeys;if(c==="passthrough")for(const u of o)l.push({key:{status:"valid",value:u},value:{status:"valid",value:i.data[u]}});else if(c==="strict")o.length>0&&(at(i,{code:Ge.unrecognized_keys,keys:o}),n.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const u of o){const d=i.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new Ml(i,d,i.path,u)),alwaysSet:u in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const c=[];for(const u of l){const d=await u.key,h=await u.value;c.push({key:d,value:h,alwaysSet:u.alwaysSet})}return c}).then(c=>Ni.mergeObjectSync(n,c)):Ni.mergeObjectSync(n,l)}get shape(){return this._def.shape()}strict(t){return _t.errToObj,new B0({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(r,n)=>{var i,a,s,o;const l=(s=(a=(i=this._def).errorMap)===null||a===void 0?void 0:a.call(i,r,n).message)!==null&&s!==void 0?s:n.defaultError;return r.code==="unrecognized_keys"?{message:(o=_t.errToObj(t).message)!==null&&o!==void 0?o:l}:{message:l}}}:{}})}strip(){return new B0({...this._def,unknownKeys:"strip"})}passthrough(){return new B0({...this._def,unknownKeys:"passthrough"})}extend(t){return new B0({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new B0({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Ft.ZodObject})}setKey(t,r){return this.augment({[t]:r})}catchall(t){return new B0({...this._def,catchall:t})}pick(t){const r={};return Cr.objectKeys(t).forEach(n=>{t[n]&&this.shape[n]&&(r[n]=this.shape[n])}),new B0({...this._def,shape:()=>r})}omit(t){const r={};return Cr.objectKeys(this.shape).forEach(n=>{t[n]||(r[n]=this.shape[n])}),new B0({...this._def,shape:()=>r})}deepPartial(){return kf(this)}partial(t){const r={};return Cr.objectKeys(this.shape).forEach(n=>{const i=this.shape[n];t&&!t[n]?r[n]=i:r[n]=i.optional()}),new B0({...this._def,shape:()=>r})}required(t){const r={};return Cr.objectKeys(this.shape).forEach(n=>{if(t&&!t[n])r[n]=this.shape[n];else{let a=this.shape[n];for(;a instanceof _l;)a=a._def.innerType;r[n]=a}}),new B0({...this._def,shape:()=>r})}keyof(){return Tge(Cr.objectKeys(this.shape))}}B0.create=(e,t)=>new B0({shape:()=>e,unknownKeys:"strip",catchall:ru.create(),typeName:Ft.ZodObject,...er(t)});B0.strictCreate=(e,t)=>new B0({shape:()=>e,unknownKeys:"strict",catchall:ru.create(),typeName:Ft.ZodObject,...er(t)});B0.lazycreate=(e,t)=>new B0({shape:e,unknownKeys:"strip",catchall:ru.create(),typeName:Ft.ZodObject,...er(t)});class q5 extends ar{_parse(t){const{ctx:r}=this._processInputParams(t),n=this._def.options;function i(a){for(const o of a)if(o.result.status==="valid")return o.result;for(const o of a)if(o.result.status==="dirty")return r.common.issues.push(...o.ctx.common.issues),o.result;const s=a.map(o=>new Xa(o.ctx.common.issues));return at(r,{code:Ge.invalid_union,unionErrors:s}),Nt}if(r.common.async)return Promise.all(n.map(async a=>{const s={...r,common:{...r.common,issues:[]},parent:null};return{result:await a._parseAsync({data:r.data,path:r.path,parent:s}),ctx:s}})).then(i);{let a;const s=[];for(const l of n){const c={...r,common:{...r.common,issues:[]},parent:null},u=l._parseSync({data:r.data,path:r.path,parent:c});if(u.status==="valid")return u;u.status==="dirty"&&!a&&(a={result:u,ctx:c}),c.common.issues.length&&s.push(c.common.issues)}if(a)return r.common.issues.push(...a.ctx.common.issues),a.result;const o=s.map(l=>new Xa(l));return at(r,{code:Ge.invalid_union,unionErrors:o}),Nt}}get options(){return this._def.options}}q5.create=(e,t)=>new q5({options:e,typeName:Ft.ZodUnion,...er(t)});const fc=e=>e instanceof H5?fc(e.schema):e instanceof wo?fc(e.innerType()):e instanceof U5?[e.value]:e instanceof wd?e.options:e instanceof G5?Cr.objectValues(e.enum):e instanceof V5?fc(e._def.innerType):e instanceof B5?[void 0]:e instanceof N5?[null]:e instanceof _l?[void 0,...fc(e.unwrap())]:e instanceof _d?[null,...fc(e.unwrap())]:e instanceof bN||e instanceof K5?fc(e.unwrap()):e instanceof Y5?fc(e._def.innerType):[];class W6 extends ar{_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==dt.object)return at(r,{code:Ge.invalid_type,expected:dt.object,received:r.parsedType}),Nt;const n=this.discriminator,i=r.data[n],a=this.optionsMap.get(i);return a?r.common.async?a._parseAsync({data:r.data,path:r.path,parent:r}):a._parseSync({data:r.data,path:r.path,parent:r}):(at(r,{code:Ge.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),Nt)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,r,n){const i=new Map;for(const a of r){const s=fc(a.shape[t]);if(!s.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const o of s){if(i.has(o))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(o)}`);i.set(o,a)}}return new W6({typeName:Ft.ZodDiscriminatedUnion,discriminator:t,options:r,optionsMap:i,...er(n)})}}function KO(e,t){const r=Ku(e),n=Ku(t);if(e===t)return{valid:!0,data:e};if(r===dt.object&&n===dt.object){const i=Cr.objectKeys(t),a=Cr.objectKeys(e).filter(o=>i.indexOf(o)!==-1),s={...e,...t};for(const o of a){const l=KO(e[o],t[o]);if(!l.valid)return{valid:!1};s[o]=l.data}return{valid:!0,data:s}}else if(r===dt.array&&n===dt.array){if(e.length!==t.length)return{valid:!1};const i=[];for(let a=0;a<e.length;a++){const s=e[a],o=t[a],l=KO(s,o);if(!l.valid)return{valid:!1};i.push(l.data)}return{valid:!0,data:i}}else return r===dt.date&&n===dt.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class z5 extends ar{_parse(t){const{status:r,ctx:n}=this._processInputParams(t),i=(a,s)=>{if(VO(a)||VO(s))return Nt;const o=KO(a.value,s.value);return o.valid?((YO(a)||YO(s))&&r.dirty(),{status:r.value,value:o.data}):(at(n,{code:Ge.invalid_intersection_types}),Nt)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([a,s])=>i(a,s)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}z5.create=(e,t,r)=>new z5({left:e,right:t,typeName:Ft.ZodIntersection,...er(r)});class kl extends ar{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==dt.array)return at(n,{code:Ge.invalid_type,expected:dt.array,received:n.parsedType}),Nt;if(n.data.length<this._def.items.length)return at(n,{code:Ge.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Nt;!this._def.rest&&n.data.length>this._def.items.length&&(at(n,{code:Ge.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());const a=[...n.data].map((s,o)=>{const l=this._def.items[o]||this._def.rest;return l?l._parse(new Ml(n,s,n.path,o)):null}).filter(s=>!!s);return n.common.async?Promise.all(a).then(s=>Ni.mergeArray(r,s)):Ni.mergeArray(r,a)}get items(){return this._def.items}rest(t){return new kl({...this._def,rest:t})}}kl.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new kl({items:e,typeName:Ft.ZodTuple,rest:null,...er(t)})};class W5 extends ar{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==dt.object)return at(n,{code:Ge.invalid_type,expected:dt.object,received:n.parsedType}),Nt;const i=[],a=this._def.keyType,s=this._def.valueType;for(const o in n.data)i.push({key:a._parse(new Ml(n,o,n.path,o)),value:s._parse(new Ml(n,n.data[o],n.path,o)),alwaysSet:o in n.data});return n.common.async?Ni.mergeObjectAsync(r,i):Ni.mergeObjectSync(r,i)}get element(){return this._def.valueType}static create(t,r,n){return r instanceof ar?new W5({keyType:t,valueType:r,typeName:Ft.ZodRecord,...er(n)}):new W5({keyType:uo.create(),valueType:t,typeName:Ft.ZodRecord,...er(r)})}}class GS extends ar{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==dt.map)return at(n,{code:Ge.invalid_type,expected:dt.map,received:n.parsedType}),Nt;const i=this._def.keyType,a=this._def.valueType,s=[...n.data.entries()].map(([o,l],c)=>({key:i._parse(new Ml(n,o,n.path,[c,"key"])),value:a._parse(new Ml(n,l,n.path,[c,"value"]))}));if(n.common.async){const o=new Map;return Promise.resolve().then(async()=>{for(const l of s){const c=await l.key,u=await l.value;if(c.status==="aborted"||u.status==="aborted")return Nt;(c.status==="dirty"||u.status==="dirty")&&r.dirty(),o.set(c.value,u.value)}return{status:r.value,value:o}})}else{const o=new Map;for(const l of s){const c=l.key,u=l.value;if(c.status==="aborted"||u.status==="aborted")return Nt;(c.status==="dirty"||u.status==="dirty")&&r.dirty(),o.set(c.value,u.value)}return{status:r.value,value:o}}}}GS.create=(e,t,r)=>new GS({valueType:t,keyType:e,typeName:Ft.ZodMap,...er(r)});class Sh extends ar{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==dt.set)return at(n,{code:Ge.invalid_type,expected:dt.set,received:n.parsedType}),Nt;const i=this._def;i.minSize!==null&&n.data.size<i.minSize.value&&(at(n,{code:Ge.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),r.dirty()),i.maxSize!==null&&n.data.size>i.maxSize.value&&(at(n,{code:Ge.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),r.dirty());const a=this._def.valueType;function s(l){const c=new Set;for(const u of l){if(u.status==="aborted")return Nt;u.status==="dirty"&&r.dirty(),c.add(u.value)}return{status:r.value,value:c}}const o=[...n.data.values()].map((l,c)=>a._parse(new Ml(n,l,n.path,c)));return n.common.async?Promise.all(o).then(l=>s(l)):s(o)}min(t,r){return new Sh({...this._def,minSize:{value:t,message:_t.toString(r)}})}max(t,r){return new Sh({...this._def,maxSize:{value:t,message:_t.toString(r)}})}size(t,r){return this.min(t,r).max(t,r)}nonempty(t){return this.min(1,t)}}Sh.create=(e,t)=>new Sh({valueType:e,minSize:null,maxSize:null,typeName:Ft.ZodSet,...er(t)});class Mm extends ar{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==dt.function)return at(r,{code:Ge.invalid_type,expected:dt.function,received:r.parsedType}),Nt;function n(o,l){return zS({data:o,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,qS(),dg].filter(c=>!!c),issueData:{code:Ge.invalid_arguments,argumentsError:l}})}function i(o,l){return zS({data:o,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,qS(),dg].filter(c=>!!c),issueData:{code:Ge.invalid_return_type,returnTypeError:l}})}const a={errorMap:r.common.contextualErrorMap},s=r.data;if(this._def.returns instanceof hg){const o=this;return ia(async function(...l){const c=new Xa([]),u=await o._def.args.parseAsync(l,a).catch(p=>{throw c.addIssue(n(l,p)),c}),d=await Reflect.apply(s,this,u);return await o._def.returns._def.type.parseAsync(d,a).catch(p=>{throw c.addIssue(i(d,p)),c})})}else{const o=this;return ia(function(...l){const c=o._def.args.safeParse(l,a);if(!c.success)throw new Xa([n(l,c.error)]);const u=Reflect.apply(s,this,c.data),d=o._def.returns.safeParse(u,a);if(!d.success)throw new Xa([i(u,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new Mm({...this._def,args:kl.create(t).rest(Kp.create())})}returns(t){return new Mm({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,r,n){return new Mm({args:t||kl.create([]).rest(Kp.create()),returns:r||Kp.create(),typeName:Ft.ZodFunction,...er(n)})}}class H5 extends ar{get schema(){return this._def.getter()}_parse(t){const{ctx:r}=this._processInputParams(t);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}}H5.create=(e,t)=>new H5({getter:e,typeName:Ft.ZodLazy,...er(t)});class U5 extends ar{_parse(t){if(t.data!==this._def.value){const r=this._getOrReturnCtx(t);return at(r,{received:r.data,code:Ge.invalid_literal,expected:this._def.value}),Nt}return{status:"valid",value:t.data}}get value(){return this._def.value}}U5.create=(e,t)=>new U5({value:e,typeName:Ft.ZodLiteral,...er(t)});function Tge(e,t){return new wd({values:e,typeName:Ft.ZodEnum,...er(t)})}class wd extends ar{constructor(){super(...arguments),Jb.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const r=this._getOrReturnCtx(t),n=this._def.values;return at(r,{expected:Cr.joinValues(n),received:r.parsedType,code:Ge.invalid_type}),Nt}if(WS(this,Jb)||gge(this,Jb,new Set(this._def.values)),!WS(this,Jb).has(t.data)){const r=this._getOrReturnCtx(t),n=this._def.values;return at(r,{received:r.data,code:Ge.invalid_enum_value,options:n}),Nt}return ia(t.data)}get options(){return this._def.values}get enum(){const t={};for(const r of this._def.values)t[r]=r;return t}get Values(){const t={};for(const r of this._def.values)t[r]=r;return t}get Enum(){const t={};for(const r of this._def.values)t[r]=r;return t}extract(t,r=this._def){return wd.create(t,{...this._def,...r})}exclude(t,r=this._def){return wd.create(this.options.filter(n=>!t.includes(n)),{...this._def,...r})}}Jb=new WeakMap;wd.create=Tge;class G5 extends ar{constructor(){super(...arguments),Zb.set(this,void 0)}_parse(t){const r=Cr.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(t);if(n.parsedType!==dt.string&&n.parsedType!==dt.number){const i=Cr.objectValues(r);return at(n,{expected:Cr.joinValues(i),received:n.parsedType,code:Ge.invalid_type}),Nt}if(WS(this,Zb)||gge(this,Zb,new Set(Cr.getValidEnumValues(this._def.values))),!WS(this,Zb).has(t.data)){const i=Cr.objectValues(r);return at(n,{received:n.data,code:Ge.invalid_enum_value,options:i}),Nt}return ia(t.data)}get enum(){return this._def.values}}Zb=new WeakMap;G5.create=(e,t)=>new G5({values:e,typeName:Ft.ZodNativeEnum,...er(t)});class hg extends ar{unwrap(){return this._def.type}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==dt.promise&&r.common.async===!1)return at(r,{code:Ge.invalid_type,expected:dt.promise,received:r.parsedType}),Nt;const n=r.parsedType===dt.promise?r.data:Promise.resolve(r.data);return ia(n.then(i=>this._def.type.parseAsync(i,{path:r.path,errorMap:r.common.contextualErrorMap})))}}hg.create=(e,t)=>new hg({type:e,typeName:Ft.ZodPromise,...er(t)});class wo extends ar{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ft.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:r,ctx:n}=this._processInputParams(t),i=this._def.effect||null,a={addIssue:s=>{at(n,s),s.fatal?r.abort():r.dirty()},get path(){return n.path}};if(a.addIssue=a.addIssue.bind(a),i.type==="preprocess"){const s=i.transform(n.data,a);if(n.common.async)return Promise.resolve(s).then(async o=>{if(r.value==="aborted")return Nt;const l=await this._def.schema._parseAsync({data:o,path:n.path,parent:n});return l.status==="aborted"?Nt:l.status==="dirty"||r.value==="dirty"?tm(l.value):l});{if(r.value==="aborted")return Nt;const o=this._def.schema._parseSync({data:s,path:n.path,parent:n});return o.status==="aborted"?Nt:o.status==="dirty"||r.value==="dirty"?tm(o.value):o}}if(i.type==="refinement"){const s=o=>{const l=i.refinement(o,a);if(n.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return o};if(n.common.async===!1){const o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return o.status==="aborted"?Nt:(o.status==="dirty"&&r.dirty(),s(o.value),{status:r.value,value:o.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>o.status==="aborted"?Nt:(o.status==="dirty"&&r.dirty(),s(o.value).then(()=>({status:r.value,value:o.value}))))}if(i.type==="transform")if(n.common.async===!1){const s=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!L5(s))return s;const o=i.transform(s.value,a);if(o instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:o}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(s=>L5(s)?Promise.resolve(i.transform(s.value,a)).then(o=>({status:r.value,value:o})):s);Cr.assertNever(i)}}wo.create=(e,t,r)=>new wo({schema:e,typeName:Ft.ZodEffects,effect:t,...er(r)});wo.createWithPreprocess=(e,t,r)=>new wo({schema:t,effect:{type:"preprocess",transform:e},typeName:Ft.ZodEffects,...er(r)});class _l extends ar{_parse(t){return this._getType(t)===dt.undefined?ia(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}_l.create=(e,t)=>new _l({innerType:e,typeName:Ft.ZodOptional,...er(t)});class _d extends ar{_parse(t){return this._getType(t)===dt.null?ia(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}_d.create=(e,t)=>new _d({innerType:e,typeName:Ft.ZodNullable,...er(t)});class V5 extends ar{_parse(t){const{ctx:r}=this._processInputParams(t);let n=r.data;return r.parsedType===dt.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:r.path,parent:r})}removeDefault(){return this._def.innerType}}V5.create=(e,t)=>new V5({innerType:e,typeName:Ft.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...er(t)});class Y5 extends ar{_parse(t){const{ctx:r}=this._processInputParams(t),n={...r,common:{...r.common,issues:[]}},i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return F5(i)?i.then(a=>({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new Xa(n.common.issues)},input:n.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new Xa(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}Y5.create=(e,t)=>new Y5({innerType:e,typeName:Ft.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...er(t)});class VS extends ar{_parse(t){if(this._getType(t)!==dt.nan){const n=this._getOrReturnCtx(t);return at(n,{code:Ge.invalid_type,expected:dt.nan,received:n.parsedType}),Nt}return{status:"valid",value:t.data}}}VS.create=e=>new VS({typeName:Ft.ZodNaN,...er(e)});const Est=Symbol("zod_brand");class bN extends ar{_parse(t){const{ctx:r}=this._processInputParams(t),n=r.data;return this._def.type._parse({data:n,path:r.path,parent:r})}unwrap(){return this._def.type}}class wv extends ar{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.common.async)return(async()=>{const a=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return a.status==="aborted"?Nt:a.status==="dirty"?(r.dirty(),tm(a.value)):this._def.out._parseAsync({data:a.value,path:n.path,parent:n})})();{const i=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return i.status==="aborted"?Nt:i.status==="dirty"?(r.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:n.path,parent:n})}}static create(t,r){return new wv({in:t,out:r,typeName:Ft.ZodPipeline})}}class K5 extends ar{_parse(t){const r=this._def.innerType._parse(t),n=i=>(L5(i)&&(i.value=Object.freeze(i.value)),i);return F5(r)?r.then(i=>n(i)):n(r)}unwrap(){return this._def.innerType}}K5.create=(e,t)=>new K5({innerType:e,typeName:Ft.ZodReadonly,...er(t)});function yN(e,t={},r){return e?pg.create().superRefine((n,i)=>{var a,s;if(!e(n)){const o=typeof t=="function"?t(n):typeof t=="string"?{message:t}:t,l=(s=(a=o.fatal)!==null&&a!==void 0?a:r)!==null&&s!==void 0?s:!0,c=typeof o=="string"?{message:o}:o;i.addIssue({code:"custom",...c,fatal:l})}}):pg.create()}const Pst={object:B0.lazycreate};var Ft;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Ft||(Ft={}));const jst=(e,t={message:`Input not instance of ${e.name}`})=>yN(r=>r instanceof e,t),ve=uo.create,At=Sd.create,Rst=VS.create,Sge=xd.create,Bt=$5.create,Ist=Th.create,Ost=HS.create,Mst=B5.create,H6=N5.create,kst=pg.create,X5=Kp.create,Dst=ru.create,Lst=US.create,_r=yo.create,Je=B0.create,Fst=B0.strictCreate,vN=q5.create,$st=W6.create,Bst=z5.create,Nst=kl.create,qst=W5.create,zst=GS.create,Wst=Sh.create,Hst=Mm.create,Ust=H5.create,Q0=U5.create,Gst=wd.create,S1=G5.create,Vst=hg.create,lZ=wo.create,xge=_l.create,Yst=_d.create,wge=wo.createWithPreprocess,Kst=wv.create,Xst=()=>ve().optional(),Qst=()=>At().optional(),Jst=()=>Bt().optional(),Zst={string:(e=>uo.create({...e,coerce:!0})),number:(e=>Sd.create({...e,coerce:!0})),boolean:(e=>$5.create({...e,coerce:!0})),bigint:(e=>xd.create({...e,coerce:!0})),date:(e=>Th.create({...e,coerce:!0}))},eot=Nt;var me=Object.freeze({__proto__:null,defaultErrorMap:dg,setErrorMap:ust,getErrorMap:qS,makeIssue:zS,EMPTY_PATH:dst,addIssueToContext:at,ParseStatus:Ni,INVALID:Nt,DIRTY:tm,OK:ia,isAborted:VO,isDirty:YO,isValid:L5,isAsync:F5,get util(){return Cr},get objectUtil(){return GO},ZodParsedType:dt,getParsedType:Ku,ZodType:ar,datetimeRegex:vge,ZodString:uo,ZodNumber:Sd,ZodBigInt:xd,ZodBoolean:$5,ZodDate:Th,ZodSymbol:HS,ZodUndefined:B5,ZodNull:N5,ZodAny:pg,ZodUnknown:Kp,ZodNever:ru,ZodVoid:US,ZodArray:yo,ZodObject:B0,ZodUnion:q5,ZodDiscriminatedUnion:W6,ZodIntersection:z5,ZodTuple:kl,ZodRecord:W5,ZodMap:GS,ZodSet:Sh,ZodFunction:Mm,ZodLazy:H5,ZodLiteral:U5,ZodEnum:wd,ZodNativeEnum:G5,ZodPromise:hg,ZodEffects:wo,ZodTransformer:wo,ZodOptional:_l,ZodNullable:_d,ZodDefault:V5,ZodCatch:Y5,ZodNaN:VS,BRAND:Est,ZodBranded:bN,ZodPipeline:wv,ZodReadonly:K5,custom:yN,Schema:ar,ZodSchema:ar,late:Pst,get ZodFirstPartyTypeKind(){return Ft},coerce:Zst,any:kst,array:_r,bigint:Sge,boolean:Bt,date:Ist,discriminatedUnion:$st,effect:lZ,enum:Gst,function:Hst,instanceof:jst,intersection:Bst,lazy:Ust,literal:Q0,map:zst,nan:Rst,nativeEnum:S1,never:Dst,null:H6,nullable:Yst,number:At,object:Je,oboolean:Jst,onumber:Qst,optional:xge,ostring:Xst,pipeline:Kst,preprocess:wge,promise:Vst,record:qst,set:Wst,strictObject:Fst,string:ve,symbol:Ost,transformer:lZ,tuple:Nst,undefined:Mst,union:vN,unknown:X5,void:Lst,NEVER:eot,ZodIssueCode:Ge,quotelessJson:cst,ZodError:Xa}),PC={exports:{}},cZ;function tot(){return cZ||(cZ=1,(function(e){var t=(function(r){var n=1e7,i=7,a=9007199254740992,s=m(a),o="0123456789abcdefghijklmnopqrstuvwxyz",l=typeof BigInt=="function";function c(q,K,pe,ye){return typeof q>"u"?c[0]:typeof K<"u"?+K==10&&!pe?nt(q):be(q,K,pe,ye):nt(q)}function u(q,K){this.value=q,this.sign=K,this.isSmall=!1}u.prototype=Object.create(c.prototype);function d(q){this.value=q,this.sign=q<0,this.isSmall=!0}d.prototype=Object.create(c.prototype);function h(q){this.value=q}h.prototype=Object.create(c.prototype);function p(q){return-a<q&&q<a}function m(q){return q<1e7?[q]:q<1e14?[q%1e7,Math.floor(q/1e7)]:[q%1e7,Math.floor(q/1e7)%1e7,Math.floor(q/1e14)]}function g(q){b(q);var K=q.length;if(K<4&&he(q,s)<0)switch(K){case 0:return 0;case 1:return q[0];case 2:return q[0]+q[1]*n;default:return q[0]+(q[1]+q[2]*n)*n}return q}function b(q){for(var K=q.length;q[--K]===0;);q.length=K+1}function y(q){for(var K=new Array(q),pe=-1;++pe<q;)K[pe]=0;return K}function v(q){return q>0?Math.floor(q):Math.ceil(q)}function S(q,K){var pe=q.length,ye=K.length,ke=new Array(pe),je=0,qe=n,Fe,We;for(We=0;We<ye;We++)Fe=q[We]+K[We]+je,je=Fe>=qe?1:0,ke[We]=Fe-je*qe;for(;We<pe;)Fe=q[We]+je,je=Fe===qe?1:0,ke[We++]=Fe-je*qe;return je>0&&ke.push(je),ke}function x(q,K){return q.length>=K.length?S(q,K):S(K,q)}function w(q,K){var pe=q.length,ye=new Array(pe),ke=n,je,qe;for(qe=0;qe<pe;qe++)je=q[qe]-ke+K,K=Math.floor(je/ke),ye[qe]=je-K*ke,K+=1;for(;K>0;)ye[qe++]=K%ke,K=Math.floor(K/ke);return ye}u.prototype.add=function(q){var K=nt(q);if(this.sign!==K.sign)return this.subtract(K.negate());var pe=this.value,ye=K.value;return K.isSmall?new u(w(pe,Math.abs(ye)),this.sign):new u(x(pe,ye),this.sign)},u.prototype.plus=u.prototype.add,d.prototype.add=function(q){var K=nt(q),pe=this.value;if(pe<0!==K.sign)return this.subtract(K.negate());var ye=K.value;if(K.isSmall){if(p(pe+ye))return new d(pe+ye);ye=m(Math.abs(ye))}return new u(w(ye,Math.abs(pe)),pe<0)},d.prototype.plus=d.prototype.add,h.prototype.add=function(q){return new h(this.value+nt(q).value)},h.prototype.plus=h.prototype.add;function A(q,K){var pe=q.length,ye=K.length,ke=new Array(pe),je=0,qe=n,Fe,We;for(Fe=0;Fe<ye;Fe++)We=q[Fe]-je-K[Fe],We<0?(We+=qe,je=1):je=0,ke[Fe]=We;for(Fe=ye;Fe<pe;Fe++){if(We=q[Fe]-je,We<0)We+=qe;else{ke[Fe++]=We;break}ke[Fe]=We}for(;Fe<pe;Fe++)ke[Fe]=q[Fe];return b(ke),ke}function _(q,K,pe){var ye;return he(q,K)>=0?ye=A(q,K):(ye=A(K,q),pe=!pe),ye=g(ye),typeof ye=="number"?(pe&&(ye=-ye),new d(ye)):new u(ye,pe)}function C(q,K,pe){var ye=q.length,ke=new Array(ye),je=-K,qe=n,Fe,We;for(Fe=0;Fe<ye;Fe++)We=q[Fe]+je,je=Math.floor(We/qe),We%=qe,ke[Fe]=We<0?We+qe:We;return ke=g(ke),typeof ke=="number"?(pe&&(ke=-ke),new d(ke)):new u(ke,pe)}u.prototype.subtract=function(q){var K=nt(q);if(this.sign!==K.sign)return this.add(K.negate());var pe=this.value,ye=K.value;return K.isSmall?C(pe,Math.abs(ye),this.sign):_(pe,ye,this.sign)},u.prototype.minus=u.prototype.subtract,d.prototype.subtract=function(q){var K=nt(q),pe=this.value;if(pe<0!==K.sign)return this.add(K.negate());var ye=K.value;return K.isSmall?new d(pe-ye):C(ye,Math.abs(pe),pe>=0)},d.prototype.minus=d.prototype.subtract,h.prototype.subtract=function(q){return new h(this.value-nt(q).value)},h.prototype.minus=h.prototype.subtract,u.prototype.negate=function(){return new u(this.value,!this.sign)},d.prototype.negate=function(){var q=this.sign,K=new d(-this.value);return K.sign=!q,K},h.prototype.negate=function(){return new h(-this.value)},u.prototype.abs=function(){return new u(this.value,!1)},d.prototype.abs=function(){return new d(Math.abs(this.value))},h.prototype.abs=function(){return new h(this.value>=0?this.value:-this.value)};function E(q,K){var pe=q.length,ye=K.length,ke=pe+ye,je=y(ke),qe=n,Fe,We,Ct,Wt,It;for(Ct=0;Ct<pe;++Ct){Wt=q[Ct];for(var nr=0;nr<ye;++nr)It=K[nr],Fe=Wt*It+je[Ct+nr],We=Math.floor(Fe/qe),je[Ct+nr]=Fe-We*qe,je[Ct+nr+1]+=We}return b(je),je}function R(q,K){var pe=q.length,ye=new Array(pe),ke=n,je=0,qe,Fe;for(Fe=0;Fe<pe;Fe++)qe=q[Fe]*K+je,je=Math.floor(qe/ke),ye[Fe]=qe-je*ke;for(;je>0;)ye[Fe++]=je%ke,je=Math.floor(je/ke);return ye}function P(q,K){for(var pe=[];K-- >0;)pe.push(0);return pe.concat(q)}function O(q,K){var pe=Math.max(q.length,K.length);if(pe<=30)return E(q,K);pe=Math.ceil(pe/2);var ye=q.slice(pe),ke=q.slice(0,pe),je=K.slice(pe),qe=K.slice(0,pe),Fe=O(ke,qe),We=O(ye,je),Ct=O(x(ke,ye),x(qe,je)),Wt=x(x(Fe,P(A(A(Ct,Fe),We),pe)),P(We,2*pe));return b(Wt),Wt}function k(q,K){return-.012*q-.012*K+15e-6*q*K>0}u.prototype.multiply=function(q){var K=nt(q),pe=this.value,ye=K.value,ke=this.sign!==K.sign,je;if(K.isSmall){if(ye===0)return c[0];if(ye===1)return this;if(ye===-1)return this.negate();if(je=Math.abs(ye),je<n)return new u(R(pe,je),ke);ye=m(je)}return k(pe.length,ye.length)?new u(O(pe,ye),ke):new u(E(pe,ye),ke)},u.prototype.times=u.prototype.multiply;function I(q,K,pe){return q<n?new u(R(K,q),pe):new u(E(K,m(q)),pe)}d.prototype._multiplyBySmall=function(q){return p(q.value*this.value)?new d(q.value*this.value):I(Math.abs(q.value),m(Math.abs(this.value)),this.sign!==q.sign)},u.prototype._multiplyBySmall=function(q){return q.value===0?c[0]:q.value===1?this:q.value===-1?this.negate():I(Math.abs(q.value),this.value,this.sign!==q.sign)},d.prototype.multiply=function(q){return nt(q)._multiplyBySmall(this)},d.prototype.times=d.prototype.multiply,h.prototype.multiply=function(q){return new h(this.value*nt(q).value)},h.prototype.times=h.prototype.multiply;function M(q){var K=q.length,pe=y(K+K),ye=n,ke,je,qe,Fe,We;for(qe=0;qe<K;qe++){Fe=q[qe],je=0-Fe*Fe;for(var Ct=qe;Ct<K;Ct++)We=q[Ct],ke=2*(Fe*We)+pe[qe+Ct]+je,je=Math.floor(ke/ye),pe[qe+Ct]=ke-je*ye;pe[qe+K]=je}return b(pe),pe}u.prototype.square=function(){return new u(M(this.value),!1)},d.prototype.square=function(){var q=this.value*this.value;return p(q)?new d(q):new u(M(m(Math.abs(this.value))),!1)},h.prototype.square=function(q){return new h(this.value*this.value)};function D(q,K){var pe=q.length,ye=K.length,ke=n,je=y(K.length),qe=K[ye-1],Fe=Math.ceil(ke/(2*qe)),We=R(q,Fe),Ct=R(K,Fe),Wt,It,nr,L0,P0,Ia,Oa;for(We.length<=pe&&We.push(0),Ct.push(0),qe=Ct[ye-1],It=pe-ye;It>=0;It--){for(Wt=ke-1,We[It+ye]!==qe&&(Wt=Math.floor((We[It+ye]*ke+We[It+ye-1])/qe)),nr=0,L0=0,Ia=Ct.length,P0=0;P0<Ia;P0++)nr+=Wt*Ct[P0],Oa=Math.floor(nr/ke),L0+=We[It+P0]-(nr-Oa*ke),nr=Oa,L0<0?(We[It+P0]=L0+ke,L0=-1):(We[It+P0]=L0,L0=0);for(;L0!==0;){for(Wt-=1,nr=0,P0=0;P0<Ia;P0++)nr+=We[It+P0]-ke+Ct[P0],nr<0?(We[It+P0]=nr+ke,nr=0):(We[It+P0]=nr,nr=1);L0+=nr}je[It]=Wt}return We=$(We,Fe)[0],[g(je),g(We)]}function F(q,K){for(var pe=q.length,ye=K.length,ke=[],je=[],qe=n,Fe,We,Ct,Wt,It;pe;){if(je.unshift(q[--pe]),b(je),he(je,K)<0){ke.push(0);continue}We=je.length,Ct=je[We-1]*qe+je[We-2],Wt=K[ye-1]*qe+K[ye-2],We>ye&&(Ct=(Ct+1)*qe),Fe=Math.ceil(Ct/Wt);do{if(It=R(K,Fe),he(It,je)<=0)break;Fe--}while(Fe);ke.push(Fe),je=A(je,It)}return ke.reverse(),[g(ke),g(je)]}function $(q,K){var pe=q.length,ye=y(pe),ke=n,je,qe,Fe,We;for(Fe=0,je=pe-1;je>=0;--je)We=Fe*ke+q[je],qe=v(We/K),Fe=We-qe*K,ye[je]=qe|0;return[ye,Fe|0]}function Y(q,K){var pe,ye=nt(K);if(l)return[new h(q.value/ye.value),new h(q.value%ye.value)];var ke=q.value,je=ye.value,qe;if(je===0)throw new Error("Cannot divide by zero");if(q.isSmall)return ye.isSmall?[new d(v(ke/je)),new d(ke%je)]:[c[0],q];if(ye.isSmall){if(je===1)return[q,c[0]];if(je==-1)return[q.negate(),c[0]];var Fe=Math.abs(je);if(Fe<n){pe=$(ke,Fe),qe=g(pe[0]);var We=pe[1];return q.sign&&(We=-We),typeof qe=="number"?(q.sign!==ye.sign&&(qe=-qe),[new d(qe),new d(We)]):[new u(qe,q.sign!==ye.sign),new d(We)]}je=m(Fe)}var Ct=he(ke,je);if(Ct===-1)return[c[0],q];if(Ct===0)return[c[q.sign===ye.sign?1:-1],c[0]];ke.length+je.length<=200?pe=D(ke,je):pe=F(ke,je),qe=pe[0];var Wt=q.sign!==ye.sign,It=pe[1],nr=q.sign;return typeof qe=="number"?(Wt&&(qe=-qe),qe=new d(qe)):qe=new u(qe,Wt),typeof It=="number"?(nr&&(It=-It),It=new d(It)):It=new u(It,nr),[qe,It]}u.prototype.divmod=function(q){var K=Y(this,q);return{quotient:K[0],remainder:K[1]}},h.prototype.divmod=d.prototype.divmod=u.prototype.divmod,u.prototype.divide=function(q){return Y(this,q)[0]},h.prototype.over=h.prototype.divide=function(q){return new h(this.value/nt(q).value)},d.prototype.over=d.prototype.divide=u.prototype.over=u.prototype.divide,u.prototype.mod=function(q){return Y(this,q)[1]},h.prototype.mod=h.prototype.remainder=function(q){return new h(this.value%nt(q).value)},d.prototype.remainder=d.prototype.mod=u.prototype.remainder=u.prototype.mod,u.prototype.pow=function(q){var K=nt(q),pe=this.value,ye=K.value,ke,je,qe;if(ye===0)return c[1];if(pe===0)return c[0];if(pe===1)return c[1];if(pe===-1)return K.isEven()?c[1]:c[-1];if(K.sign)return c[0];if(!K.isSmall)throw new Error("The exponent "+K.toString()+" is too large.");if(this.isSmall&&p(ke=Math.pow(pe,ye)))return new d(v(ke));for(je=this,qe=c[1];ye&!0&&(qe=qe.times(je),--ye),ye!==0;)ye/=2,je=je.square();return qe},d.prototype.pow=u.prototype.pow,h.prototype.pow=function(q){var K=nt(q),pe=this.value,ye=K.value,ke=BigInt(0),je=BigInt(1),qe=BigInt(2);if(ye===ke)return c[1];if(pe===ke)return c[0];if(pe===je)return c[1];if(pe===BigInt(-1))return K.isEven()?c[1]:c[-1];if(K.isNegative())return new h(ke);for(var Fe=this,We=c[1];(ye&je)===je&&(We=We.times(Fe),--ye),ye!==ke;)ye/=qe,Fe=Fe.square();return We},u.prototype.modPow=function(q,K){if(q=nt(q),K=nt(K),K.isZero())throw new Error("Cannot take modPow with modulus 0");var pe=c[1],ye=this.mod(K);for(q.isNegative()&&(q=q.multiply(c[-1]),ye=ye.modInv(K));q.isPositive();){if(ye.isZero())return c[0];q.isOdd()&&(pe=pe.multiply(ye).mod(K)),q=q.divide(2),ye=ye.square().mod(K)}return pe},h.prototype.modPow=d.prototype.modPow=u.prototype.modPow;function he(q,K){if(q.length!==K.length)return q.length>K.length?1:-1;for(var pe=q.length-1;pe>=0;pe--)if(q[pe]!==K[pe])return q[pe]>K[pe]?1:-1;return 0}u.prototype.compareAbs=function(q){var K=nt(q),pe=this.value,ye=K.value;return K.isSmall?1:he(pe,ye)},d.prototype.compareAbs=function(q){var K=nt(q),pe=Math.abs(this.value),ye=K.value;return K.isSmall?(ye=Math.abs(ye),pe===ye?0:pe>ye?1:-1):-1},h.prototype.compareAbs=function(q){var K=this.value,pe=nt(q).value;return K=K>=0?K:-K,pe=pe>=0?pe:-pe,K===pe?0:K>pe?1:-1},u.prototype.compare=function(q){if(q===1/0)return-1;if(q===-1/0)return 1;var K=nt(q),pe=this.value,ye=K.value;return this.sign!==K.sign?K.sign?1:-1:K.isSmall?this.sign?-1:1:he(pe,ye)*(this.sign?-1:1)},u.prototype.compareTo=u.prototype.compare,d.prototype.compare=function(q){if(q===1/0)return-1;if(q===-1/0)return 1;var K=nt(q),pe=this.value,ye=K.value;return K.isSmall?pe==ye?0:pe>ye?1:-1:pe<0!==K.sign?pe<0?-1:1:pe<0?1:-1},d.prototype.compareTo=d.prototype.compare,h.prototype.compare=function(q){if(q===1/0)return-1;if(q===-1/0)return 1;var K=this.value,pe=nt(q).value;return K===pe?0:K>pe?1:-1},h.prototype.compareTo=h.prototype.compare,u.prototype.equals=function(q){return this.compare(q)===0},h.prototype.eq=h.prototype.equals=d.prototype.eq=d.prototype.equals=u.prototype.eq=u.prototype.equals,u.prototype.notEquals=function(q){return this.compare(q)!==0},h.prototype.neq=h.prototype.notEquals=d.prototype.neq=d.prototype.notEquals=u.prototype.neq=u.prototype.notEquals,u.prototype.greater=function(q){return this.compare(q)>0},h.prototype.gt=h.prototype.greater=d.prototype.gt=d.prototype.greater=u.prototype.gt=u.prototype.greater,u.prototype.lesser=function(q){return this.compare(q)<0},h.prototype.lt=h.prototype.lesser=d.prototype.lt=d.prototype.lesser=u.prototype.lt=u.prototype.lesser,u.prototype.greaterOrEquals=function(q){return this.compare(q)>=0},h.prototype.geq=h.prototype.greaterOrEquals=d.prototype.geq=d.prototype.greaterOrEquals=u.prototype.geq=u.prototype.greaterOrEquals,u.prototype.lesserOrEquals=function(q){return this.compare(q)<=0},h.prototype.leq=h.prototype.lesserOrEquals=d.prototype.leq=d.prototype.lesserOrEquals=u.prototype.leq=u.prototype.lesserOrEquals,u.prototype.isEven=function(){return(this.value[0]&1)===0},d.prototype.isEven=function(){return(this.value&1)===0},h.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},u.prototype.isOdd=function(){return(this.value[0]&1)===1},d.prototype.isOdd=function(){return(this.value&1)===1},h.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},u.prototype.isPositive=function(){return!this.sign},d.prototype.isPositive=function(){return this.value>0},h.prototype.isPositive=d.prototype.isPositive,u.prototype.isNegative=function(){return this.sign},d.prototype.isNegative=function(){return this.value<0},h.prototype.isNegative=d.prototype.isNegative,u.prototype.isUnit=function(){return!1},d.prototype.isUnit=function(){return Math.abs(this.value)===1},h.prototype.isUnit=function(){return this.abs().value===BigInt(1)},u.prototype.isZero=function(){return!1},d.prototype.isZero=function(){return this.value===0},h.prototype.isZero=function(){return this.value===BigInt(0)},u.prototype.isDivisibleBy=function(q){var K=nt(q);return K.isZero()?!1:K.isUnit()?!0:K.compareAbs(2)===0?this.isEven():this.mod(K).isZero()},h.prototype.isDivisibleBy=d.prototype.isDivisibleBy=u.prototype.isDivisibleBy;function fe(q){var K=q.abs();if(K.isUnit())return!1;if(K.equals(2)||K.equals(3)||K.equals(5))return!0;if(K.isEven()||K.isDivisibleBy(3)||K.isDivisibleBy(5))return!1;if(K.lesser(49))return!0}function U(q,K){for(var pe=q.prev(),ye=pe,ke=0,je,qe,Fe;ye.isEven();)ye=ye.divide(2),ke++;e:for(qe=0;qe<K.length;qe++)if(!q.lesser(K[qe])&&(Fe=t(K[qe]).modPow(ye,q),!(Fe.isUnit()||Fe.equals(pe)))){for(je=ke-1;je!=0;je--){if(Fe=Fe.square().mod(q),Fe.isUnit())return!1;if(Fe.equals(pe))continue e}return!1}return!0}u.prototype.isPrime=function(q){var K=fe(this);if(K!==r)return K;var pe=this.abs(),ye=pe.bitLength();if(ye<=64)return U(pe,[2,3,5,7,11,13,17,19,23,29,31,37]);for(var ke=Math.log(2)*ye.toJSNumber(),je=Math.ceil(q===!0?2*Math.pow(ke,2):ke),qe=[],Fe=0;Fe<je;Fe++)qe.push(t(Fe+2));return U(pe,qe)},h.prototype.isPrime=d.prototype.isPrime=u.prototype.isPrime,u.prototype.isProbablePrime=function(q,K){var pe=fe(this);if(pe!==r)return pe;for(var ye=this.abs(),ke=q===r?5:q,je=[],qe=0;qe<ke;qe++)je.push(t.randBetween(2,ye.minus(2),K));return U(ye,je)},h.prototype.isProbablePrime=d.prototype.isProbablePrime=u.prototype.isProbablePrime,u.prototype.modInv=function(q){for(var K=t.zero,pe=t.one,ye=nt(q),ke=this.abs(),je,qe,Fe;!ke.isZero();)je=ye.divide(ke),qe=K,Fe=ye,K=pe,ye=ke,pe=qe.subtract(je.multiply(pe)),ke=Fe.subtract(je.multiply(ke));if(!ye.isUnit())throw new Error(this.toString()+" and "+q.toString()+" are not co-prime");return K.compare(0)===-1&&(K=K.add(q)),this.isNegative()?K.negate():K},h.prototype.modInv=d.prototype.modInv=u.prototype.modInv,u.prototype.next=function(){var q=this.value;return this.sign?C(q,1,this.sign):new u(w(q,1),this.sign)},d.prototype.next=function(){var q=this.value;return q+1<a?new d(q+1):new u(s,!1)},h.prototype.next=function(){return new h(this.value+BigInt(1))},u.prototype.prev=function(){var q=this.value;return this.sign?new u(w(q,1),!0):C(q,1,this.sign)},d.prototype.prev=function(){var q=this.value;return q-1>-a?new d(q-1):new u(s,!0)},h.prototype.prev=function(){return new h(this.value-BigInt(1))};for(var W=[1];2*W[W.length-1]<=n;)W.push(2*W[W.length-1]);var H=W.length,ie=W[H-1];function J(q){return Math.abs(q)<=n}u.prototype.shiftLeft=function(q){var K=nt(q).toJSNumber();if(!J(K))throw new Error(String(K)+" is too large for shifting.");if(K<0)return this.shiftRight(-K);var pe=this;if(pe.isZero())return pe;for(;K>=H;)pe=pe.multiply(ie),K-=H-1;return pe.multiply(W[K])},h.prototype.shiftLeft=d.prototype.shiftLeft=u.prototype.shiftLeft,u.prototype.shiftRight=function(q){var K,pe=nt(q).toJSNumber();if(!J(pe))throw new Error(String(pe)+" is too large for shifting.");if(pe<0)return this.shiftLeft(-pe);for(var ye=this;pe>=H;){if(ye.isZero()||ye.isNegative()&&ye.isUnit())return ye;K=Y(ye,ie),ye=K[1].isNegative()?K[0].prev():K[0],pe-=H-1}return K=Y(ye,W[pe]),K[1].isNegative()?K[0].prev():K[0]},h.prototype.shiftRight=d.prototype.shiftRight=u.prototype.shiftRight;function we(q,K,pe){K=nt(K);for(var ye=q.isNegative(),ke=K.isNegative(),je=ye?q.not():q,qe=ke?K.not():K,Fe=0,We=0,Ct=null,Wt=null,It=[];!je.isZero()||!qe.isZero();)Ct=Y(je,ie),Fe=Ct[1].toJSNumber(),ye&&(Fe=ie-1-Fe),Wt=Y(qe,ie),We=Wt[1].toJSNumber(),ke&&(We=ie-1-We),je=Ct[0],qe=Wt[0],It.push(pe(Fe,We));for(var nr=pe(ye?1:0,ke?1:0)!==0?t(-1):t(0),L0=It.length-1;L0>=0;L0-=1)nr=nr.multiply(ie).add(t(It[L0]));return nr}u.prototype.not=function(){return this.negate().prev()},h.prototype.not=d.prototype.not=u.prototype.not,u.prototype.and=function(q){return we(this,q,function(K,pe){return K&pe})},h.prototype.and=d.prototype.and=u.prototype.and,u.prototype.or=function(q){return we(this,q,function(K,pe){return K|pe})},h.prototype.or=d.prototype.or=u.prototype.or,u.prototype.xor=function(q){return we(this,q,function(K,pe){return K^pe})},h.prototype.xor=d.prototype.xor=u.prototype.xor;var Le=1<<30,Ye=(n&-n)*(n&-n)|Le;function oe(q){var K=q.value,pe=typeof K=="number"?K|Le:typeof K=="bigint"?K|BigInt(Le):K[0]+K[1]*n|Ye;return pe&-pe}function X(q,K){if(K.compareTo(q)<=0){var pe=X(q,K.square(K)),ye=pe.p,ke=pe.e,je=ye.multiply(K);return je.compareTo(q)<=0?{p:je,e:ke*2+1}:{p:ye,e:ke*2}}return{p:t(1),e:0}}u.prototype.bitLength=function(){var q=this;return q.compareTo(t(0))<0&&(q=q.negate().subtract(t(1))),q.compareTo(t(0))===0?t(0):t(X(q,t(2)).e).add(t(1))},h.prototype.bitLength=d.prototype.bitLength=u.prototype.bitLength;function se(q,K){return q=nt(q),K=nt(K),q.greater(K)?q:K}function Ce(q,K){return q=nt(q),K=nt(K),q.lesser(K)?q:K}function ce(q,K){if(q=nt(q).abs(),K=nt(K).abs(),q.equals(K))return q;if(q.isZero())return K;if(K.isZero())return q;for(var pe=c[1],ye,ke;q.isEven()&&K.isEven();)ye=Ce(oe(q),oe(K)),q=q.divide(ye),K=K.divide(ye),pe=pe.multiply(ye);for(;q.isEven();)q=q.divide(oe(q));do{for(;K.isEven();)K=K.divide(oe(K));q.greater(K)&&(ke=K,K=q,q=ke),K=K.subtract(q)}while(!K.isZero());return pe.isUnit()?q:q.multiply(pe)}function le(q,K){return q=nt(q).abs(),K=nt(K).abs(),q.divide(ce(q,K)).multiply(K)}function Te(q,K,pe){q=nt(q),K=nt(K);var ye=pe||Math.random,ke=Ce(q,K),je=se(q,K),qe=je.subtract(ke).add(1);if(qe.isSmall)return ke.add(Math.floor(ye()*qe));for(var Fe=St(qe,n).value,We=[],Ct=!0,Wt=0;Wt<Fe.length;Wt++){var It=Ct?Fe[Wt]+(Wt+1<Fe.length?Fe[Wt+1]/n:0):n,nr=v(ye()*It);We.push(nr),nr<Fe[Wt]&&(Ct=!1)}return ke.add(c.fromArray(We,n,!1))}var be=function(q,K,pe,ye){pe=pe||o,q=String(q),ye||(q=q.toLowerCase(),pe=pe.toLowerCase());var ke=q.length,je,qe=Math.abs(K),Fe={};for(je=0;je<pe.length;je++)Fe[pe[je]]=je;for(je=0;je<ke;je++){var We=q[je];if(We!=="-"&&We in Fe&&Fe[We]>=qe){if(We==="1"&&qe===1)continue;throw new Error(We+" is not a valid digit in base "+K+".")}}K=nt(K);var Ct=[],Wt=q[0]==="-";for(je=Wt?1:0;je<q.length;je++){var We=q[je];if(We in Fe)Ct.push(nt(Fe[We]));else if(We==="<"){var It=je;do je++;while(q[je]!==">"&&je<q.length);Ct.push(nt(q.slice(It+1,je)))}else throw new Error(We+" is not a valid character")}return ze(Ct,K,Wt)};function ze(q,K,pe){var ye=c[0],ke=c[1],je;for(je=q.length-1;je>=0;je--)ye=ye.add(q[je].times(ke)),ke=ke.times(K);return pe?ye.negate():ye}function Ze(q,K){return K=K||o,q<K.length?K[q]:"<"+q+">"}function St(q,K){if(K=t(K),K.isZero()){if(q.isZero())return{value:[0],isNegative:!1};throw new Error("Cannot convert nonzero numbers to base 0.")}if(K.equals(-1)){if(q.isZero())return{value:[0],isNegative:!1};if(q.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-q.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var pe=Array.apply(null,Array(q.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return pe.unshift([1]),{value:[].concat.apply([],pe),isNegative:!1}}var ye=!1;if(q.isNegative()&&K.isPositive()&&(ye=!0,q=q.abs()),K.isUnit())return q.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(q.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:ye};for(var ke=[],je=q,qe;je.isNegative()||je.compareAbs(K)>=0;){qe=je.divmod(K),je=qe.quotient;var Fe=qe.remainder;Fe.isNegative()&&(Fe=K.minus(Fe).abs(),je=je.next()),ke.push(Fe.toJSNumber())}return ke.push(je.toJSNumber()),{value:ke.reverse(),isNegative:ye}}function Ut(q,K,pe){var ye=St(q,K);return(ye.isNegative?"-":"")+ye.value.map(function(ke){return Ze(ke,pe)}).join("")}u.prototype.toArray=function(q){return St(this,q)},d.prototype.toArray=function(q){return St(this,q)},h.prototype.toArray=function(q){return St(this,q)},u.prototype.toString=function(q,K){if(q===r&&(q=10),q!==10||K)return Ut(this,q,K);for(var pe=this.value,ye=pe.length,ke=String(pe[--ye]),je="0000000",qe;--ye>=0;)qe=String(pe[ye]),ke+=je.slice(qe.length)+qe;var Fe=this.sign?"-":"";return Fe+ke},d.prototype.toString=function(q,K){return q===r&&(q=10),q!=10||K?Ut(this,q,K):String(this.value)},h.prototype.toString=d.prototype.toString,h.prototype.toJSON=u.prototype.toJSON=d.prototype.toJSON=function(){return this.toString()},u.prototype.valueOf=function(){return parseInt(this.toString(),10)},u.prototype.toJSNumber=u.prototype.valueOf,d.prototype.valueOf=function(){return this.value},d.prototype.toJSNumber=d.prototype.valueOf,h.prototype.valueOf=h.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};function Rt(q){if(p(+q)){var K=+q;if(K===v(K))return l?new h(BigInt(K)):new d(K);throw new Error("Invalid integer: "+q)}var pe=q[0]==="-";pe&&(q=q.slice(1));var ye=q.split(/e/i);if(ye.length>2)throw new Error("Invalid integer: "+ye.join("e"));if(ye.length===2){var ke=ye[1];if(ke[0]==="+"&&(ke=ke.slice(1)),ke=+ke,ke!==v(ke)||!p(ke))throw new Error("Invalid integer: "+ke+" is not a valid exponent.");var je=ye[0],qe=je.indexOf(".");if(qe>=0&&(ke-=je.length-qe-1,je=je.slice(0,qe)+je.slice(qe+1)),ke<0)throw new Error("Cannot include negative exponent part for integers");je+=new Array(ke+1).join("0"),q=je}var Fe=/^([0-9][0-9]*)$/.test(q);if(!Fe)throw new Error("Invalid integer: "+q);if(l)return new h(BigInt(pe?"-"+q:q));for(var We=[],Ct=q.length,Wt=i,It=Ct-Wt;Ct>0;)We.push(+q.slice(It,Ct)),It-=Wt,It<0&&(It=0),Ct-=Wt;return b(We),new u(We,pe)}function Dt(q){if(l)return new h(BigInt(q));if(p(q)){if(q!==v(q))throw new Error(q+" is not an integer.");return new d(q)}return Rt(q.toString())}function nt(q){return typeof q=="number"?Dt(q):typeof q=="string"?Rt(q):typeof q=="bigint"?new h(q):q}for(var Pr=0;Pr<1e3;Pr++)c[Pr]=nt(Pr),Pr>0&&(c[-Pr]=nt(-Pr));return c.one=c[1],c.zero=c[0],c.minusOne=c[-1],c.max=se,c.min=Ce,c.gcd=ce,c.lcm=le,c.isInstance=function(q){return q instanceof u||q instanceof d||q instanceof h},c.randBetween=Te,c.fromArray=function(q,K,pe){return ze(q.map(nt),nt(K||10),pe)},c})();e.hasOwnProperty("exports")&&(e.exports=t)})(PC)),PC.exports}var rot=tot(),not=fge(rot);const _ge=64,XO=16,Xu=_ge/XO;function iot(){try{return!0}catch(e){return!1}}function aot(e,t,r){let n=0;for(let i=0;i<r;i++){const a=e[t+i];if(a===void 0)break;n+=a*16**i}return n}function Age(e){const t=[];for(let r=0;r<e.length;r++){let n=Number(e[r]);for(let i=0;n||i<t.length;i++)n+=(t[i]||0)*10,t[i]=n%16,n=(n-t[i])/16}return t}function sot(e){const t=Age(e),r=Array(Xu);for(let n=0;n<Xu;n++)r[Xu-1-n]=aot(t,n*Xu,Xu);return r}class tl{static fromString(t){return new tl(sot(t),t)}static fromBit(t){const r=Array(Xu),n=Math.floor(t/XO);for(let i=0;i<Xu;i++)r[Xu-1-i]=i===n?1<<t-n*XO:0;return new tl(r)}constructor(t,r){this.parts=t,this.str=r}and({parts:t}){return new tl(this.parts.map((r,n)=>r&t[n]))}or({parts:t}){return new tl(this.parts.map((r,n)=>r|t[n]))}xor({parts:t}){return new tl(this.parts.map((r,n)=>r^t[n]))}not(){return new tl(this.parts.map(t=>~t))}equals({parts:t}){return this.parts.every((r,n)=>r===t[n])}toString(){if(this.str!=null)return this.str;const t=new Array(_ge/4);return this.parts.forEach((r,n)=>{const i=Age(r.toString());for(let a=0;a<4;a++)t[a+n*4]=i[3-a]||0}),this.str=not.fromArray(t,16).toString()}toJSON(){return this.toString()}}const Hd=iot();Hd&&BigInt.prototype.toJSON==null&&(BigInt.prototype.toJSON=function(){return this.toString()});const c3={},Cge=Hd?function(t){return BigInt(t)}:function(t){return t instanceof tl?t:(typeof t=="number"&&(t=t.toString()),c3[t]!=null||(c3[t]=tl.fromString(t)),c3[t])},oi=Cge(0),U6=Hd?function(t=oi,r=oi){return t&r}:function(t=oi,r=oi){return t.and(r)},Ege=Hd?function(t=oi,r=oi){return t|r}:function(t=oi,r=oi){return t.or(r)},oot=Hd?function(t=oi,r=oi){return t^r}:function(t=oi,r=oi){return t.xor(r)},lot=Hd?function(t=oi){return~t}:function(t=oi){return t.not()},TN=Hd?function(t,r){return t===r}:function(t,r){return t==null||r==null?t==r:t.equals(r)};function cot(...e){let t=e[0];for(let r=1;r<e.length;r++)t=Ege(t,e[r]);return t}function uot(e,t){return TN(U6(e,t),t)}function dot(e,t){return!TN(U6(e,t),oi)}function pot(e,t){return t===oi?e:Ege(e,t)}function hot(e,t){return t===oi?e:oot(e,U6(e,t))}const fot=Hd?function(t){return BigInt(1)<<BigInt(t)}:function(t){return tl.fromBit(t)};var Lt={combine:cot,add:pot,remove:hot,filter:U6,invert:lot,has:uot,hasAny:dot,equals:TN,deserialize:Cge,getFlag:fot},QO;(function(e){e[e.CLOSE_NORMAL=1e3]="CLOSE_NORMAL",e[e.CLOSE_UNSUPPORTED=1003]="CLOSE_UNSUPPORTED",e[e.CLOSE_ABNORMAL=1006]="CLOSE_ABNORMAL",e[e.INVALID_CLIENTID=4e3]="INVALID_CLIENTID",e[e.INVALID_ORIGIN=4001]="INVALID_ORIGIN",e[e.RATELIMITED=4002]="RATELIMITED",e[e.TOKEN_REVOKED=4003]="TOKEN_REVOKED",e[e.INVALID_VERSION=4004]="INVALID_VERSION",e[e.INVALID_ENCODING=4005]="INVALID_ENCODING"})(QO||(QO={}));var JO;(function(e){e[e.INVALID_PAYLOAD=4e3]="INVALID_PAYLOAD",e[e.INVALID_COMMAND=4002]="INVALID_COMMAND",e[e.INVALID_GUILD=4003]="INVALID_GUILD",e[e.INVALID_EVENT=4004]="INVALID_EVENT",e[e.INVALID_CHANNEL=4005]="INVALID_CHANNEL",e[e.INVALID_PERMISSIONS=4006]="INVALID_PERMISSIONS",e[e.INVALID_CLIENTID=4007]="INVALID_CLIENTID",e[e.INVALID_ORIGIN=4008]="INVALID_ORIGIN",e[e.INVALID_TOKEN=4009]="INVALID_TOKEN",e[e.INVALID_USER=4010]="INVALID_USER"})(JO||(JO={}));var ZO;(function(e){e.LANDSCAPE="landscape",e.PORTRAIT="portrait"})(ZO||(ZO={}));var Ac;(function(e){e.MOBILE="mobile",e.DESKTOP="desktop"})(Ac||(Ac={}));const Iir=Object.freeze({CREATE_INSTANT_INVITE:Lt.getFlag(0),KICK_MEMBERS:Lt.getFlag(1),BAN_MEMBERS:Lt.getFlag(2),ADMINISTRATOR:Lt.getFlag(3),MANAGE_CHANNELS:Lt.getFlag(4),MANAGE_GUILD:Lt.getFlag(5),ADD_REACTIONS:Lt.getFlag(6),VIEW_AUDIT_LOG:Lt.getFlag(7),PRIORITY_SPEAKER:Lt.getFlag(8),STREAM:Lt.getFlag(9),VIEW_CHANNEL:Lt.getFlag(10),SEND_MESSAGES:Lt.getFlag(11),SEND_TTS_MESSAGES:Lt.getFlag(12),MANAGE_MESSAGES:Lt.getFlag(13),EMBED_LINKS:Lt.getFlag(14),ATTACH_FILES:Lt.getFlag(15),READ_MESSAGE_HISTORY:Lt.getFlag(16),MENTION_EVERYONE:Lt.getFlag(17),USE_EXTERNAL_EMOJIS:Lt.getFlag(18),VIEW_GUILD_INSIGHTS:Lt.getFlag(19),CONNECT:Lt.getFlag(20),SPEAK:Lt.getFlag(21),MUTE_MEMBERS:Lt.getFlag(22),DEAFEN_MEMBERS:Lt.getFlag(23),MOVE_MEMBERS:Lt.getFlag(24),USE_VAD:Lt.getFlag(25),CHANGE_NICKNAME:Lt.getFlag(26),MANAGE_NICKNAMES:Lt.getFlag(27),MANAGE_ROLES:Lt.getFlag(28),MANAGE_WEBHOOKS:Lt.getFlag(29),MANAGE_GUILD_EXPRESSIONS:Lt.getFlag(30),USE_APPLICATION_COMMANDS:Lt.getFlag(31),REQUEST_TO_SPEAK:Lt.getFlag(32),MANAGE_EVENTS:Lt.getFlag(33),MANAGE_THREADS:Lt.getFlag(34),CREATE_PUBLIC_THREADS:Lt.getFlag(35),CREATE_PRIVATE_THREADS:Lt.getFlag(36),USE_EXTERNAL_STICKERS:Lt.getFlag(37),SEND_MESSAGES_IN_THREADS:Lt.getFlag(38),USE_EMBEDDED_ACTIVITIES:Lt.getFlag(39),MODERATE_MEMBERS:Lt.getFlag(40),VIEW_CREATOR_MONETIZATION_ANALYTICS:Lt.getFlag(41),USE_SOUNDBOARD:Lt.getFlag(42),CREATE_GUILD_EXPRESSIONS:Lt.getFlag(43),CREATE_EVENTS:Lt.getFlag(44),USE_EXTERNAL_SOUNDS:Lt.getFlag(45),SEND_VOICE_MESSAGES:Lt.getFlag(46),SEND_POLLS:Lt.getFlag(49),USE_EXTERNAL_APPS:Lt.getFlag(50)}),uZ=-1,mot=250;function qi(e){return wge(t=>{var r;const[n]=(r=Object.entries(e).find(([,i])=>i===t))!==null&&r!==void 0?r:[];return t!=null&&n===void 0?e.UNHANDLED:t},ve().or(At()))}function Pge(e){const t=yN().transform(r=>{const n=e.safeParse(r);return n.success?n.data:e._def.defaultValue()});return t.overlayType=e,t}const got=me.object({image_url:me.string()}).describe('Response for "INITIATE_IMAGE_UPLOAD" Command'),bot=me.object({mediaUrl:me.string().max(1024)}).describe('Request for "OPEN_SHARE_MOMENT_DIALOG" Command'),yot=me.object({access_token:me.union([me.string(),me.null()]).optional()}).describe('Request for "AUTHENTICATE" Command'),jge=me.object({access_token:me.string(),user:me.object({username:me.string(),discriminator:me.string(),id:me.string(),avatar:me.union([me.string(),me.null()]).optional(),public_flags:me.number(),global_name:me.union([me.string(),me.null()]).optional()}),scopes:me.array(Pge(me.enum(["identify","email","connections","guilds","guilds.join","guilds.members.read","guilds.channels.read","gdm.join","bot","rpc","rpc.notifications.read","rpc.voice.read","rpc.voice.write","rpc.video.read","rpc.video.write","rpc.screenshare.read","rpc.screenshare.write","rpc.activities.write","webhook.incoming","messages.read","applications.builds.upload","applications.builds.read","applications.commands","applications.commands.permissions.update","applications.commands.update","applications.store.update","applications.entitlements","activities.read","activities.write","activities.invites.write","relationships.read","relationships.write","voice","dm_channels.read","role_connections.write","presences.read","presences.write","openid","dm_channels.messages.read","dm_channels.messages.write","gateway.connect","account.global_name.update","payment_sources.country_code","sdk.social_layer_presence","sdk.social_layer","lobbies.write","application_identities.write"]).or(me.literal(-1)).default(-1))),expires:me.string(),application:me.object({description:me.string(),icon:me.union([me.string(),me.null()]).optional(),id:me.string(),rpc_origins:me.array(me.string()).optional(),name:me.string()})}).describe('Response for "AUTHENTICATE" Command'),Rge=me.object({participants:me.array(me.object({id:me.string(),username:me.string(),global_name:me.union([me.string(),me.null()]).optional(),discriminator:me.string(),avatar:me.union([me.string(),me.null()]).optional(),flags:me.number(),bot:me.boolean(),avatar_decoration_data:me.union([me.object({asset:me.string(),skuId:me.string().optional(),expiresAt:me.number().optional()}),me.null()]).optional(),premium_type:me.union([me.number(),me.null()]).optional(),nickname:me.string().optional()}))}).describe('Response for "GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS" Command'),vot=me.object({command:me.string(),options:me.array(me.object({name:me.string(),value:me.string()})).optional(),content:me.string().max(2e3).optional(),require_launch_channel:me.boolean().optional(),preview_image:me.object({height:me.number(),url:me.string(),width:me.number()}).optional(),components:me.array(me.object({type:me.literal(1),components:me.array(me.object({type:me.literal(2),style:me.number().gte(1).lte(5),label:me.string().max(80).optional(),custom_id:me.string().max(100).describe("Developer-defined identifier for the button; max 100 characters").optional()})).max(5).optional()})).optional(),pid:me.number().optional()}).describe('Request for "SHARE_INTERACTION" Command'),Tot=me.object({success:me.boolean()}).describe('Response for "SHARE_INTERACTION" Command'),Sot=me.object({custom_id:me.string().max(64).optional(),message:me.string().max(1e3),link_id:me.string().max(64).optional()}).describe('Request for "SHARE_LINK" Command'),xot=me.object({success:me.boolean(),didCopyLink:me.boolean(),didSendMessage:me.boolean()}).describe('Response for "SHARE_LINK" Command'),Ige=me.object({relationships:me.array(me.object({type:me.number(),user:me.object({id:me.string(),username:me.string(),global_name:me.union([me.string(),me.null()]).optional(),discriminator:me.string(),avatar:me.union([me.string(),me.null()]).optional(),flags:me.number(),bot:me.boolean(),avatar_decoration_data:me.union([me.object({asset:me.string(),skuId:me.string().optional(),expiresAt:me.number().optional()}),me.null()]).optional(),premium_type:me.union([me.number(),me.null()]).optional()}),presence:me.object({status:me.string(),activity:me.union([me.object({session_id:me.string().optional(),type:me.number().optional(),name:me.string(),url:me.union([me.string(),me.null()]).optional(),application_id:me.string().optional(),status_display_type:me.number().optional(),state:me.string().optional(),state_url:me.string().optional(),details:me.string().optional(),details_url:me.string().optional(),emoji:me.union([me.object({name:me.string(),id:me.union([me.string(),me.null()]).optional(),animated:me.union([me.boolean(),me.null()]).optional()}),me.null()]).optional(),assets:me.object({large_image:me.string().optional(),large_text:me.string().optional(),large_url:me.string().optional(),small_image:me.string().optional(),small_text:me.string().optional(),small_url:me.string().optional()}).optional(),timestamps:me.object({start:me.number().optional(),end:me.number().optional()}).optional(),party:me.object({id:me.string().optional(),size:me.array(me.number()).min(2).max(2).optional(),privacy:me.number().optional()}).optional(),secrets:me.object({match:me.string().optional(),join:me.string().optional()}).optional(),sync_id:me.string().optional(),created_at:me.number().optional(),instance:me.boolean().optional(),flags:me.number().optional(),metadata:me.object({}).optional(),platform:me.string().optional(),supported_platforms:me.array(me.string()).optional(),buttons:me.array(me.string()).optional(),hangStatus:me.string().optional()}),me.null()]).optional()}).optional()}))}).describe('Response for "GET_RELATIONSHIPS" Command'),wot=me.object({user_id:me.string(),content:me.string().min(0).max(1024).optional()}).describe('Request for "INVITE_USER_EMBEDDED" Command'),_ot=me.object({id:me.string().max(64)}).describe('Request for "GET_USER" Command'),Aot=me.union([me.object({id:me.string(),username:me.string(),global_name:me.union([me.string(),me.null()]).optional(),discriminator:me.string(),avatar:me.union([me.string(),me.null()]).optional(),flags:me.number(),bot:me.boolean(),avatar_decoration_data:me.union([me.object({asset:me.string(),skuId:me.string().optional(),expiresAt:me.number().optional()}),me.null()]).optional(),premium_type:me.union([me.number(),me.null()]).optional()}),me.null()]),Cot=me.object({quest_id:me.string()}).describe('Request for "GET_QUEST_ENROLLMENT_STATUS" Command'),Eot=me.object({quest_id:me.string(),is_enrolled:me.boolean(),enrolled_at:me.union([me.string(),me.null()]).optional()}).describe('Response for "GET_QUEST_ENROLLMENT_STATUS" Command'),Pot=me.object({quest_id:me.string()}).describe('Request for "QUEST_START_TIMER" Command'),jot=me.object({success:me.boolean()}).describe('Response for "QUEST_START_TIMER" Command');var j0;(function(e){e.INITIATE_IMAGE_UPLOAD="INITIATE_IMAGE_UPLOAD",e.OPEN_SHARE_MOMENT_DIALOG="OPEN_SHARE_MOMENT_DIALOG",e.AUTHENTICATE="AUTHENTICATE",e.GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS="GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS",e.SHARE_INTERACTION="SHARE_INTERACTION",e.SHARE_LINK="SHARE_LINK",e.GET_RELATIONSHIPS="GET_RELATIONSHIPS",e.INVITE_USER_EMBEDDED="INVITE_USER_EMBEDDED",e.GET_USER="GET_USER",e.GET_QUEST_ENROLLMENT_STATUS="GET_QUEST_ENROLLMENT_STATUS",e.QUEST_START_TIMER="QUEST_START_TIMER"})(j0||(j0={}));const dZ=me.object({}).optional().nullable(),jC=me.void(),Oge={[j0.INITIATE_IMAGE_UPLOAD]:{request:jC,response:got},[j0.OPEN_SHARE_MOMENT_DIALOG]:{request:bot,response:dZ},[j0.AUTHENTICATE]:{request:yot,response:jge},[j0.GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS]:{request:jC,response:Rge},[j0.SHARE_INTERACTION]:{request:vot,response:Tot},[j0.SHARE_LINK]:{request:Sot,response:xot},[j0.GET_RELATIONSHIPS]:{request:jC,response:Ige},[j0.INVITE_USER_EMBEDDED]:{request:wot,response:dZ},[j0.GET_USER]:{request:_ot,response:Aot},[j0.GET_QUEST_ENROLLMENT_STATUS]:{request:Cot,response:Eot},[j0.QUEST_START_TIMER]:{request:Pot,response:jot}},Rot="DISPATCH";var gt;(function(e){e.AUTHORIZE="AUTHORIZE",e.GET_GUILDS="GET_GUILDS",e.GET_GUILD="GET_GUILD",e.GET_CHANNEL="GET_CHANNEL",e.GET_CHANNELS="GET_CHANNELS",e.SELECT_VOICE_CHANNEL="SELECT_VOICE_CHANNEL",e.SELECT_TEXT_CHANNEL="SELECT_TEXT_CHANNEL",e.SUBSCRIBE="SUBSCRIBE",e.UNSUBSCRIBE="UNSUBSCRIBE",e.CAPTURE_SHORTCUT="CAPTURE_SHORTCUT",e.SET_CERTIFIED_DEVICES="SET_CERTIFIED_DEVICES",e.SET_ACTIVITY="SET_ACTIVITY",e.GET_SKUS="GET_SKUS",e.GET_ENTITLEMENTS="GET_ENTITLEMENTS",e.GET_SKUS_EMBEDDED="GET_SKUS_EMBEDDED",e.GET_ENTITLEMENTS_EMBEDDED="GET_ENTITLEMENTS_EMBEDDED",e.START_PURCHASE="START_PURCHASE",e.SET_CONFIG="SET_CONFIG",e.SEND_ANALYTICS_EVENT="SEND_ANALYTICS_EVENT",e.USER_SETTINGS_GET_LOCALE="USER_SETTINGS_GET_LOCALE",e.OPEN_EXTERNAL_LINK="OPEN_EXTERNAL_LINK",e.ENCOURAGE_HW_ACCELERATION="ENCOURAGE_HW_ACCELERATION",e.CAPTURE_LOG="CAPTURE_LOG",e.SET_ORIENTATION_LOCK_STATE="SET_ORIENTATION_LOCK_STATE",e.OPEN_INVITE_DIALOG="OPEN_INVITE_DIALOG",e.GET_PLATFORM_BEHAVIORS="GET_PLATFORM_BEHAVIORS",e.GET_CHANNEL_PERMISSIONS="GET_CHANNEL_PERMISSIONS",e.AUTHENTICATE="AUTHENTICATE",e.GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS="GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS",e.GET_QUEST_ENROLLMENT_STATUS="GET_QUEST_ENROLLMENT_STATUS",e.GET_RELATIONSHIPS="GET_RELATIONSHIPS",e.GET_USER="GET_USER",e.INITIATE_IMAGE_UPLOAD="INITIATE_IMAGE_UPLOAD",e.INVITE_USER_EMBEDDED="INVITE_USER_EMBEDDED",e.OPEN_SHARE_MOMENT_DIALOG="OPEN_SHARE_MOMENT_DIALOG",e.QUEST_START_TIMER="QUEST_START_TIMER",e.SHARE_INTERACTION="SHARE_INTERACTION",e.SHARE_LINK="SHARE_LINK"})(gt||(gt={}));const x1=Je({cmd:ve(),data:X5(),evt:H6(),nonce:ve()}).passthrough(),Iot=Object.assign(Object.assign({},jge.shape.scopes.element.overlayType._def.innerType.options[0].Values),{UNHANDLED:-1});qi(Iot);const Oot=Ige.shape.relationships.element,Ad=Je({id:ve(),username:ve(),discriminator:ve(),global_name:ve().optional().nullable(),avatar:ve().optional().nullable(),avatar_decoration_data:Je({asset:ve(),sku_id:ve().optional()}).nullable(),bot:Bt(),flags:At().optional().nullable(),premium_type:At().optional().nullable()}),SN=Je({user:Ad,nick:ve().optional().nullable(),roles:_r(ve()),joined_at:ve(),deaf:Bt(),mute:Bt()}),Mot=Je({user_id:ve(),nick:ve().optional().nullable(),guild_id:ve(),avatar:ve().optional().nullable(),avatar_decoration_data:Je({asset:ve(),sku_id:ve().optional().nullable()}).optional().nullable(),color_string:ve().optional().nullable()}),xN=Je({id:ve(),name:ve().optional().nullable(),roles:_r(ve()).optional().nullable(),user:Ad.optional().nullable(),require_colons:Bt().optional().nullable(),managed:Bt().optional().nullable(),animated:Bt().optional().nullable(),available:Bt().optional().nullable()}),Mge=Je({mute:Bt(),deaf:Bt(),self_mute:Bt(),self_deaf:Bt(),suppress:Bt()}),kge=Je({mute:Bt(),nick:ve(),user:Ad,voice_state:Mge,volume:At()}),kot={UNHANDLED:-1,IDLE:"idle",DND:"dnd",ONLINE:"online",OFFLINE:"offline"},u3=qi(kot),Ny=Je({name:ve(),type:At(),url:ve().optional().nullable(),created_at:At().optional().nullable(),timestamps:Je({start:At(),end:At()}).partial().optional().nullable(),application_id:ve().optional().nullable(),details:ve().optional().nullable(),details_url:ve().url().optional().nullable(),state:ve().optional().nullable(),state_url:ve().url().optional().nullable(),emoji:xN.optional().nullable(),party:Je({id:ve().optional().nullable(),size:_r(At()).optional().nullable()}).optional().nullable(),assets:Je({large_image:ve().nullable(),large_text:ve().nullable(),large_url:ve().url().optional().nullable(),small_image:ve().nullable(),small_text:ve().nullable(),small_url:ve().url().optional().nullable()}).partial().optional().nullable(),secrets:Je({join:ve(),match:ve()}).partial().optional().nullable(),instance:Bt().optional().nullable(),flags:At().optional().nullable()}),Dot={UNHANDLED:-1,ROLE:0,MEMBER:1},Lot=Je({id:ve(),type:qi(Dot),allow:ve(),deny:ve()}),Dge={UNHANDLED:-1,DM:1,GROUP_DM:3,GUILD_TEXT:0,GUILD_VOICE:2,GUILD_CATEGORY:4,GUILD_ANNOUNCEMENT:5,GUILD_STORE:6,ANNOUNCEMENT_THREAD:10,PUBLIC_THREAD:11,PRIVATE_THREAD:12,GUILD_STAGE_VOICE:13,GUILD_DIRECTORY:14,GUILD_FORUM:15},Lge=Je({id:ve(),type:qi(Dge),guild_id:ve().optional().nullable(),position:At().optional().nullable(),permission_overwrites:_r(Lot).optional().nullable(),name:ve().optional().nullable(),topic:ve().optional().nullable(),nsfw:Bt().optional().nullable(),last_message_id:ve().optional().nullable(),bitrate:At().optional().nullable(),user_limit:At().optional().nullable(),rate_limit_per_user:At().optional().nullable(),recipients:_r(Ad).optional().nullable(),icon:ve().optional().nullable(),owner_id:ve().optional().nullable(),application_id:ve().optional().nullable(),parent_id:ve().optional().nullable(),last_pin_timestamp:ve().optional().nullable()}),Fot=Je({user:Ad,guild_id:ve(),status:u3,activities:_r(Ny),client_status:Je({desktop:u3,mobile:u3,web:u3}).partial()}),$ot=Je({id:ve(),name:ve(),color:At(),hoist:Bt(),position:At(),permissions:ve(),managed:Bt(),mentionable:Bt()});Je({id:ve(),name:ve(),owner_id:ve(),icon:ve().nullable(),icon_hash:ve().optional().nullable(),splash:ve().nullable(),discovery_splash:ve().nullable(),owner:Bt().optional().nullable(),permissions:ve().optional().nullable(),region:ve(),afk_channel_id:ve().nullable(),afk_timeout:At(),widget_enabled:Bt().optional().nullable(),widget_channel_id:ve().optional().nullable(),verification_level:At(),default_message_notifications:At(),explicit_content_filter:At(),roles:_r($ot),emojis:_r(xN),features:_r(ve()),mfa_level:At(),application_id:ve().nullable(),system_channel_id:ve().nullable(),system_channel_flags:At(),rules_channel_id:ve().nullable(),joined_at:ve().optional().nullable(),large:Bt().optional().nullable(),unavailable:Bt().optional().nullable(),member_count:At().optional().nullable(),voice_states:_r(Mge).optional().nullable(),members:_r(SN).optional().nullable(),channels:_r(Lge).optional().nullable(),presences:_r(Fot).optional().nullable(),max_presences:At().optional().nullable(),max_members:At().optional().nullable(),vanity_url_code:ve().nullable(),description:ve().nullable(),banner:ve().nullable(),premium_tier:At(),premium_subscription_count:At().optional().nullable(),preferred_locale:ve(),public_updates_channel_id:ve().nullable(),max_video_channel_users:At().optional().nullable(),approximate_member_count:At().optional().nullable(),approximate_presence_count:At().optional().nullable()});const Bot=Je({id:ve(),guild_id:ve(),type:At(),name:ve()}),Not=Je({id:ve(),filename:ve(),size:At(),url:ve(),proxy_url:ve(),height:At().optional().nullable(),width:At().optional().nullable()}),qot=Je({text:ve(),icon_url:ve().optional().nullable(),proxy_icon_url:ve().optional().nullable()}),eM=Je({url:ve().optional().nullable(),proxy_url:ve().optional().nullable(),height:At().optional().nullable(),width:At().optional().nullable()}),zot=eM.omit({proxy_url:!0}),Wot=Je({name:ve().optional().nullable(),url:ve().optional().nullable()}),Hot=Je({name:ve().optional().nullable(),url:ve().optional().nullable(),icon_url:ve().optional().nullable(),proxy_icon_url:ve().optional().nullable()}),Uot=Je({name:ve(),value:ve(),inline:Bt()}),Got=Je({title:ve().optional().nullable(),type:ve().optional().nullable(),description:ve().optional().nullable(),url:ve().optional().nullable(),timestamp:ve().optional().nullable(),color:At().optional().nullable(),footer:qot.optional().nullable(),image:eM.optional().nullable(),thumbnail:eM.optional().nullable(),video:zot.optional().nullable(),provider:Wot.optional().nullable(),author:Hot.optional().nullable(),fields:_r(Uot).optional().nullable()}),Vot=Je({count:At(),me:Bt(),emoji:xN}),Yot=Je({type:At(),party_id:ve().optional().nullable()}),Kot=Je({id:ve(),cover_image:ve().optional().nullable(),description:ve(),icon:ve().optional().nullable(),name:ve()}),Xot=Je({message_id:ve().optional().nullable(),channel_id:ve().optional().nullable(),guild_id:ve().optional().nullable()}),Qot=Je({id:ve(),channel_id:ve(),guild_id:ve().optional().nullable(),author:Ad.optional().nullable(),member:SN.optional().nullable(),content:ve(),timestamp:ve(),edited_timestamp:ve().optional().nullable(),tts:Bt(),mention_everyone:Bt(),mentions:_r(Ad),mention_roles:_r(ve()),mention_channels:_r(Bot),attachments:_r(Not),embeds:_r(Got),reactions:_r(Vot).optional().nullable(),nonce:vN([ve(),At()]).optional().nullable(),pinned:Bt(),webhook_id:ve().optional().nullable(),type:At(),activity:Yot.optional().nullable(),application:Kot.optional().nullable(),message_reference:Xot.optional().nullable(),flags:At().optional().nullable(),stickers:_r(X5()).optional().nullable(),referenced_message:X5().optional().nullable()}),Jot=Je({id:ve(),name:ve()}),Zot={UNHANDLED:-1,KEYBOARD_KEY:0,MOUSE_BUTTON:1,KEYBOARD_MODIFIER_KEY:2,GAMEPAD_BUTTON:3},Fge=Je({type:qi(Zot),code:At(),name:ve()}),elt={UNHANDLED:-1,PUSH_TO_TALK:"PUSH_TO_TALK",VOICE_ACTIVITY:"VOICE_ACTIVITY"},tlt=Je({type:qi(elt),auto_threshold:Bt(),threshold:At(),shortcut:_r(Fge),delay:At()}),pZ=Je({device_id:ve(),volume:At(),available_devices:_r(Jot)}),rlt={UNHANDLED:-1,AUDIO_INPUT:"AUDIO_INPUT",AUDIO_OUTPUT:"AUDIO_OUTPUT",VIDEO_INPUT:"VIDEO_INPUT"};Je({type:qi(rlt),id:ve(),vendor:Je({name:ve(),url:ve()}),model:Je({name:ve(),url:ve()}),related:_r(ve()),echo_cancellation:Bt().optional().nullable(),noise_suppression:Bt().optional().nullable(),automatic_gain_control:Bt().optional().nullable(),hardware_mute:Bt().optional().nullable()});const nlt={UNHANDLED:-1,APPLICATION:1,DLC:2,CONSUMABLE:3,BUNDLE:4,SUBSCRIPTION:5},ilt=Je({id:ve(),name:ve(),type:qi(nlt),price:Je({amount:At(),currency:ve()}),application_id:ve(),flags:At(),release_date:ve().nullable()}),alt={UNHANDLED:-1,PURCHASE:1,PREMIUM_SUBSCRIPTION:2,DEVELOPER_GIFT:3,TEST_MODE_PURCHASE:4,FREE_PURCHASE:5,USER_GIFT:6,PREMIUM_PURCHASE:7},wN=Je({id:ve(),sku_id:ve(),application_id:ve(),user_id:ve(),gift_code_flags:At(),type:qi(alt),gifter_user_id:ve().optional().nullable(),branches:_r(ve()).optional().nullable(),starts_at:ve().optional().nullable(),ends_at:ve().optional().nullable(),parent_id:ve().optional().nullable(),consumed:Bt().optional().nullable(),deleted:Bt().optional().nullable(),gift_code_batch_id:ve().optional().nullable()}),slt={UNHANDLED:-1,UNLOCKED:1,PORTRAIT:2,LANDSCAPE:3};qi(slt);const olt={UNHANDLED:-1,NOMINAL:0,FAIR:1,SERIOUS:2,CRITICAL:3},llt=qi(olt),$ge={UNHANDLED:-1,PORTRAIT:0,LANDSCAPE:1};qi($ge);const Bge={UNHANDLED:-1,FOCUSED:0,PIP:1,GRID:2};qi(Bge);const _N="ERROR";var hr;(function(e){e.READY="READY",e.VOICE_STATE_UPDATE="VOICE_STATE_UPDATE",e.SPEAKING_START="SPEAKING_START",e.SPEAKING_STOP="SPEAKING_STOP",e.ACTIVITY_LAYOUT_MODE_UPDATE="ACTIVITY_LAYOUT_MODE_UPDATE",e.ORIENTATION_UPDATE="ORIENTATION_UPDATE",e.CURRENT_USER_UPDATE="CURRENT_USER_UPDATE",e.CURRENT_GUILD_MEMBER_UPDATE="CURRENT_GUILD_MEMBER_UPDATE",e.ENTITLEMENT_CREATE="ENTITLEMENT_CREATE",e.THERMAL_STATE_UPDATE="THERMAL_STATE_UPDATE",e.ACTIVITY_INSTANCE_PARTICIPANTS_UPDATE="ACTIVITY_INSTANCE_PARTICIPANTS_UPDATE",e.RELATIONSHIP_UPDATE="RELATIONSHIP_UPDATE",e.ACTIVITY_JOIN="ACTIVITY_JOIN",e.QUEST_ENROLLMENT_STATUS_UPDATE="QUEST_ENROLLMENT_STATUS_UPDATE"})(hr||(hr={}));const Ai=x1.extend({evt:S1(hr),nonce:ve().nullable(),cmd:Q0(Rot),data:Je({}).passthrough()}),Nge=x1.extend({evt:Q0(_N),data:Je({code:At(),message:ve().optional()}).passthrough(),cmd:S1(gt),nonce:ve().nullable()}),clt=Ai.extend({evt:ve()}),ult=vN([Ai,clt,Nge]);function dlt(e){const t=e.evt;if(!(t in hr))throw new Error(`Unrecognized event type ${e.evt}`);return plt[t].payload.parse(e)}const plt={[hr.READY]:{payload:Ai.extend({evt:Q0(hr.READY),data:Je({v:At(),config:Je({cdn_host:ve().optional(),api_endpoint:ve(),environment:ve()}),user:Je({id:ve(),username:ve(),discriminator:ve(),avatar:ve().optional()}).optional()})})},[hr.VOICE_STATE_UPDATE]:{payload:Ai.extend({evt:Q0(hr.VOICE_STATE_UPDATE),data:kge}),subscribeArgs:Je({channel_id:ve()})},[hr.SPEAKING_START]:{payload:Ai.extend({evt:Q0(hr.SPEAKING_START),data:Je({lobby_id:ve().optional(),channel_id:ve().optional(),user_id:ve()})}),subscribeArgs:Je({lobby_id:ve().nullable().optional(),channel_id:ve().nullable().optional()})},[hr.SPEAKING_STOP]:{payload:Ai.extend({evt:Q0(hr.SPEAKING_STOP),data:Je({lobby_id:ve().optional(),channel_id:ve().optional(),user_id:ve()})}),subscribeArgs:Je({lobby_id:ve().nullable().optional(),channel_id:ve().nullable().optional()})},[hr.ACTIVITY_LAYOUT_MODE_UPDATE]:{payload:Ai.extend({evt:Q0(hr.ACTIVITY_LAYOUT_MODE_UPDATE),data:Je({layout_mode:qi(Bge)})})},[hr.ORIENTATION_UPDATE]:{payload:Ai.extend({evt:Q0(hr.ORIENTATION_UPDATE),data:Je({screen_orientation:qi($ge),orientation:S1(ZO)})})},[hr.CURRENT_USER_UPDATE]:{payload:Ai.extend({evt:Q0(hr.CURRENT_USER_UPDATE),data:Ad})},[hr.CURRENT_GUILD_MEMBER_UPDATE]:{payload:Ai.extend({evt:Q0(hr.CURRENT_GUILD_MEMBER_UPDATE),data:Mot}),subscribeArgs:Je({guild_id:ve()})},[hr.ENTITLEMENT_CREATE]:{payload:Ai.extend({evt:Q0(hr.ENTITLEMENT_CREATE),data:Je({entitlement:wN})})},[hr.THERMAL_STATE_UPDATE]:{payload:Ai.extend({evt:Q0(hr.THERMAL_STATE_UPDATE),data:Je({thermal_state:llt})})},[hr.ACTIVITY_INSTANCE_PARTICIPANTS_UPDATE]:{payload:Ai.extend({evt:Q0(hr.ACTIVITY_INSTANCE_PARTICIPANTS_UPDATE),data:Je({participants:Rge.shape.participants})})},[hr.RELATIONSHIP_UPDATE]:{payload:Ai.extend({evt:Q0(hr.RELATIONSHIP_UPDATE),data:Oot})},[hr.ACTIVITY_JOIN]:{payload:Ai.extend({evt:Q0(hr.ACTIVITY_JOIN),data:Je({applicationId:ve(),secret:ve()})})},[hr.QUEST_ENROLLMENT_STATUS_UPDATE]:{payload:Ai.extend({evt:Q0(hr.QUEST_ENROLLMENT_STATUS_UPDATE),data:Je({quest_id:ve(),is_enrolled:Bt(),enrolled_at:ve().date()})})}};function hlt(e,t){throw t}const G6=Je({}).nullable(),qge=Je({code:ve()}),flt=Je({guilds:_r(Je({id:ve(),name:ve()}))}),mlt=Je({id:ve(),name:ve(),icon_url:ve().optional(),members:_r(SN)}),fg=Je({id:ve(),type:qi(Dge),guild_id:ve().optional().nullable(),name:ve().optional().nullable(),topic:ve().optional().nullable(),bitrate:At().optional().nullable(),user_limit:At().optional().nullable(),position:At().optional().nullable(),voice_states:_r(kge),messages:_r(Qot)}),glt=Je({channels:_r(Lge)});fg.nullable();const blt=fg.nullable(),ylt=fg.nullable();Je({input:pZ,output:pZ,mode:tlt,automatic_gain_control:Bt(),echo_cancellation:Bt(),noise_suppression:Bt(),qos:Bt(),silence_warning:Bt(),deaf:Bt(),mute:Bt()});const vlt=Je({evt:ve()}),Tlt=Je({shortcut:Fge}),zge=Ny,Wge=Je({skus:_r(ilt)}),Hge=Je({entitlements:_r(wN)}),Uge=_r(wN).nullable(),Gge=Je({use_interactive_pip:Bt()}),Vge=Je({locale:ve()}),Yge=Je({enabled:Bt()}),Kge=Je({permissions:Sge().or(ve())}),Xge=Pge(Je({opened:Bt().or(H6())}).default({opened:null})),Qge=Je({iosKeyboardResizesView:xge(Bt())}),Slt=x1.extend({cmd:S1(gt),evt:H6()});function xlt({cmd:e,data:t}){switch(e){case gt.AUTHORIZE:return qge.parse(t);case gt.CAPTURE_SHORTCUT:return Tlt.parse(t);case gt.ENCOURAGE_HW_ACCELERATION:return Yge.parse(t);case gt.GET_CHANNEL:return fg.parse(t);case gt.GET_CHANNELS:return glt.parse(t);case gt.GET_CHANNEL_PERMISSIONS:return Kge.parse(t);case gt.GET_GUILD:return mlt.parse(t);case gt.GET_GUILDS:return flt.parse(t);case gt.GET_PLATFORM_BEHAVIORS:return Qge.parse(t);case gt.GET_CHANNEL:return fg.parse(t);case gt.SELECT_TEXT_CHANNEL:return ylt.parse(t);case gt.SELECT_VOICE_CHANNEL:return blt.parse(t);case gt.SET_ACTIVITY:return zge.parse(t);case gt.GET_SKUS_EMBEDDED:return Wge.parse(t);case gt.GET_ENTITLEMENTS_EMBEDDED:return Hge.parse(t);case gt.SET_CONFIG:return Gge.parse(t);case gt.START_PURCHASE:return Uge.parse(t);case gt.SUBSCRIBE:case gt.UNSUBSCRIBE:return vlt.parse(t);case gt.USER_SETTINGS_GET_LOCALE:return Vge.parse(t);case gt.OPEN_EXTERNAL_LINK:return Xge.parse(t);case gt.SET_ORIENTATION_LOCK_STATE:case gt.SET_CERTIFIED_DEVICES:case gt.SEND_ANALYTICS_EVENT:case gt.OPEN_INVITE_DIALOG:case gt.CAPTURE_LOG:case gt.GET_SKUS:case gt.GET_ENTITLEMENTS:return G6.parse(t);case gt.AUTHENTICATE:case gt.GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS:case gt.GET_QUEST_ENROLLMENT_STATUS:case gt.GET_RELATIONSHIPS:case gt.GET_USER:case gt.INITIATE_IMAGE_UPLOAD:case gt.INVITE_USER_EMBEDDED:case gt.OPEN_SHARE_MOMENT_DIALOG:case gt.QUEST_START_TIMER:case gt.SHARE_INTERACTION:case gt.SHARE_LINK:const{response:r}=Oge[e];return r.parse(t);default:hlt(e,new Error(`Unrecognized command ${e}`))}}function wlt(e){return Object.assign(Object.assign({},e),{data:xlt(e)})}Je({frame_id:ve(),platform:S1(Ac).optional().nullable()});Je({v:Q0(1),encoding:Q0("json").optional(),client_id:ve(),frame_id:ve()});const _lt=Je({code:At(),message:ve().optional()}),Alt=Je({evt:ve().nullable(),nonce:ve().nullable(),data:X5().nullable(),cmd:ve()}).passthrough();function Clt(e){const t=Alt.parse(e);return t.evt!=null?t.evt===_N?Nge.parse(t):dlt(ult.parse(t)):wlt(Slt.passthrough().parse(t))}function ja(e,t,r,n=()=>{}){const i=x1.extend({cmd:Q0(t),data:r});return async a=>{const s=await e({cmd:t,args:a,transfer:n(a)});return i.parse(s).data}}function Mo(e,t=()=>{}){const r=Oge[e].response,n=x1.extend({cmd:Q0(e),data:r});return i=>async a=>{const s=await i({cmd:e,args:a,transfer:t(a)});return n.parse(s).data}}const Elt=e=>ja(e,gt.AUTHORIZE,qge),Plt=e=>ja(e,gt.CAPTURE_LOG,G6),jlt=e=>ja(e,gt.ENCOURAGE_HW_ACCELERATION,Yge),Rlt=e=>ja(e,gt.GET_CHANNEL,fg),Ilt=e=>ja(e,gt.GET_ENTITLEMENTS_EMBEDDED,Hge),Olt=e=>ja(e,gt.GET_SKUS_EMBEDDED,Wge),Mlt=e=>ja(e,gt.GET_CHANNEL_PERMISSIONS,Kge),klt=e=>ja(e,gt.GET_PLATFORM_BEHAVIORS,Qge),Dlt=e=>ja(e,gt.OPEN_EXTERNAL_LINK,Xge),Llt=e=>ja(e,gt.OPEN_INVITE_DIALOG,G6);Ny.pick({state:!0,state_url:!0,details:!0,details_url:!0,timestamps:!0,assets:!0,party:!0,secrets:!0,instance:!0,type:!0}).extend({type:Ny.shape.type.optional(),instance:Ny.shape.instance.optional()}).nullable();const Flt=e=>ja(e,gt.SET_ACTIVITY,zge),$lt=e=>ja(e,gt.SET_CONFIG,Gge);function Blt({sendCommand:e,cmd:t,response:r,fallbackTransform:n,transferTransform:i=()=>{}}){const a=x1.extend({cmd:Q0(t),data:r});return async s=>{try{const o=await e({cmd:t,args:s,transfer:i(s)});return a.parse(o).data}catch(o){if(o.code===JO.INVALID_PAYLOAD){const l=n(s),c=await e({cmd:t,args:l,transfer:i(l)});return a.parse(c).data}else throw o}}}const Nlt=e=>({lock_state:e.lock_state,picture_in_picture_lock_state:e.picture_in_picture_lock_state}),qlt=e=>Blt({sendCommand:e,cmd:gt.SET_ORIENTATION_LOCK_STATE,response:G6,fallbackTransform:Nlt}),zlt=e=>ja(e,gt.START_PURCHASE,Uge),Wlt=e=>ja(e,gt.USER_SETTINGS_GET_LOCALE,Vge),Hlt=Mo(j0.AUTHENTICATE),hZ=Mo(j0.GET_ACTIVITY_INSTANCE_CONNECTED_PARTICIPANTS),Ult=Mo(j0.GET_QUEST_ENROLLMENT_STATUS),Glt=Mo(j0.GET_RELATIONSHIPS),Vlt=Mo(j0.GET_USER),Ylt=Mo(j0.INITIATE_IMAGE_UPLOAD),Klt=Mo(j0.INVITE_USER_EMBEDDED),Xlt=Mo(j0.OPEN_SHARE_MOMENT_DIALOG),Qlt=Mo(j0.QUEST_START_TIMER),Jlt=Mo(j0.SHARE_INTERACTION),Zlt=Mo(j0.SHARE_LINK);function ect(e){return{authorize:Elt(e),captureLog:Plt(e),encourageHardwareAcceleration:jlt(e),getChannel:Rlt(e),getChannelPermissions:Mlt(e),getEntitlements:Ilt(e),getPlatformBehaviors:klt(e),getSkus:Olt(e),openExternalLink:Dlt(e),openInviteDialog:Llt(e),setActivity:Flt(e),setConfig:$lt(e),setOrientationLockState:qlt(e),startPurchase:zlt(e),userSettingsGetLocale:Wlt(e),getInstanceConnectedParticipants:hZ(e),authenticate:Hlt(e),getActivityInstanceConnectedParticipants:hZ(e),getQuestEnrollmentStatus:Ult(e),getRelationships:Glt(e),getUser:Vlt(e),initiateImageUpload:Ylt(e),inviteUserEmbedded:Klt(e),openShareMomentDialog:Xlt(e),questStartTimer:Qlt(e),shareInteraction:Jlt(e),shareLink:Zlt(e)}}class tct extends Error{constructor(t,r=""){super(r),this.code=t,this.message=r,this.name="Discord SDK Error"}}function rct(){return{disableConsoleLogOverride:!1}}const nct=["log","warn","debug","info","error"];function ict(e,t,r){const n=e[t],i=e;n&&(e[t]=function(){const a=[].slice.call(arguments),s=""+a.join(" ");r(t,s),n.apply(i,a)})}var act="2.4.0";const sct=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var fZ={randomUUID:sct};let RC;const oct=new Uint8Array(16);function lct(){if(!RC){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");RC=crypto.getRandomValues.bind(crypto)}return RC(oct)}const ri=[];for(let e=0;e<256;++e)ri.push((e+256).toString(16).slice(1));function cct(e,t=0){return(ri[e[t+0]]+ri[e[t+1]]+ri[e[t+2]]+ri[e[t+3]]+"-"+ri[e[t+4]]+ri[e[t+5]]+"-"+ri[e[t+6]]+ri[e[t+7]]+"-"+ri[e[t+8]]+ri[e[t+9]]+"-"+ri[e[t+10]]+ri[e[t+11]]+ri[e[t+12]]+ri[e[t+13]]+ri[e[t+14]]+ri[e[t+15]]).toLowerCase()}function mZ(e,t,r){var i,a,s;if(fZ.randomUUID&&!e)return fZ.randomUUID();e=e||{};const n=(s=(a=e.random)!=null?a:(i=e.rng)==null?void 0:i.call(e))!=null?s:lct();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=n[6]&15|64,n[8]=n[8]&63|128,cct(n)}var wc;(function(e){e[e.HANDSHAKE=0]="HANDSHAKE",e[e.FRAME=1]="FRAME",e[e.CLOSE=2]="CLOSE",e[e.HELLO=3]="HELLO"})(wc||(wc={}));const uct=new Set(dct());function dct(){return typeof window>"u"?[]:[window.location.origin,"https://discord.com","https://discordapp.com","https://ptb.discord.com","https://ptb.discordapp.com","https://canary.discord.com","https://canary.discordapp.com","https://staging.discord.co","http://localhost:3333","https://pax.discord.com","null"]}function pct(){var e;return[(e=window.parent.opener)!==null&&e!==void 0?e:window.parent,document.referrer?document.referrer:"*"]}class Oir{getTransfer(t){var r;switch(t.cmd){case gt.SUBSCRIBE:case gt.UNSUBSCRIBE:return;default:return(r=t.transfer)!==null&&r!==void 0?r:void 0}}constructor(t,r){if(this.sdkVersion=act,this.mobileAppVersion=null,this.source=null,this.sourceOrigin="",this.eventBus=new lst,this.pendingCommands=new Map,this.sendCommand=o=>{var l;if(this.source==null)throw new Error("Attempting to send message before initialization");const c=mZ();return(l=this.source)===null||l===void 0||l.postMessage([wc.FRAME,Object.assign(Object.assign({},o),{nonce:c})],this.sourceOrigin,this.getTransfer(o)),new Promise((d,h)=>{this.pendingCommands.set(c,{resolve:d,reject:h})})},this.commands=ect(this.sendCommand),this.handleMessage=o=>{if(!uct.has(o.origin))return;const l=o.data;if(!Array.isArray(l))return;const[c,u]=l;switch(c){case wc.HELLO:return;case wc.CLOSE:return this.handleClose(u);case wc.HANDSHAKE:return this.handleHandshake();case wc.FRAME:return this.handleFrame(u);default:throw new Error("Invalid message format")}},this.isReady=!1,this.clientId=t,this.configuration=r!=null?r:rct(),typeof window<"u"&&window.addEventListener("message",this.handleMessage),typeof window>"u"){this.frameId="",this.instanceId="",this.customId=null,this.referrerId=null,this.platform=Ac.DESKTOP,this.guildId=null,this.channelId=null,this.locationId=null;return}const n=new URLSearchParams(this._getSearch()),i=n.get("frame_id");if(!i)throw new Error("frame_id query param is not defined");this.frameId=i;const a=n.get("instance_id");if(!a)throw new Error("instance_id query param is not defined");this.instanceId=a;const s=n.get("platform");if(s){if(s!==Ac.DESKTOP&&s!==Ac.MOBILE)throw new Error(`Invalid query param "platform" of "${s}". Valid values are "${Ac.DESKTOP}" or "${Ac.MOBILE}"`)}else throw new Error("platform query param is not defined");this.platform=s,this.customId=n.get("custom_id"),this.referrerId=n.get("referrer_id"),this.guildId=n.get("guild_id"),this.channelId=n.get("channel_id"),this.locationId=n.get("location_id"),this.mobileAppVersion=n.get("mobile_app_version"),[this.source,this.sourceOrigin]=pct(),this.addOnReadyListener(),this.handshake()}close(t,r){var n;window.removeEventListener("message",this.handleMessage);const i=mZ();(n=this.source)===null||n===void 0||n.postMessage([wc.CLOSE,{code:t,message:r,nonce:i}],this.sourceOrigin)}async subscribe(t,r,...n){const[i]=n,a=this.eventBus.listenerCount(t),s=this.eventBus.on(t,r);return Object.values(hr).includes(t)&&t!==hr.READY&&a===0&&await this.sendCommand({cmd:gt.SUBSCRIBE,args:i,evt:t}),s}async unsubscribe(t,r,...n){const[i]=n;return t!==hr.READY&&this.eventBus.listenerCount(t)===1&&await this.sendCommand({cmd:gt.UNSUBSCRIBE,evt:t,args:i}),this.eventBus.off(t,r)}async ready(){this.isReady||await new Promise(t=>{this.eventBus.once(hr.READY,t)})}parseMajorMobileVersion(){if(this.mobileAppVersion&&this.mobileAppVersion.includes("."))try{return parseInt(this.mobileAppVersion.split(".")[0])}catch(t){return uZ}return uZ}handshake(){var t;const r={v:1,encoding:"json",client_id:this.clientId,frame_id:this.frameId},n=this.parseMajorMobileVersion();(this.platform===Ac.DESKTOP||n>=mot)&&(r.sdk_version=this.sdkVersion),(t=this.source)===null||t===void 0||t.postMessage([wc.HANDSHAKE,r],this.sourceOrigin)}addOnReadyListener(){this.eventBus.once(hr.READY,()=>{this.overrideConsoleLogging(),this.isReady=!0})}overrideConsoleLogging(){if(this.configuration.disableConsoleLogOverride)return;const t=(r,n)=>{this.commands.captureLog({level:r,message:n})};nct.forEach(r=>{ict(console,r,t)})}handleClose(t){_lt.parse(t)}handleHandshake(){}handleFrame(t){var r,n;let i;try{i=Clt(t)}catch(a){console.error("Failed to parse",t),console.error(a);return}if(i.cmd==="DISPATCH")this.eventBus.emit(i.evt,i.data);else{if(i.evt===_N){if(i.nonce!=null){(r=this.pendingCommands.get(i.nonce))===null||r===void 0||r.reject(i.data),this.pendingCommands.delete(i.nonce);return}this.eventBus.emit("error",new tct(i.data.code,i.data.message))}if(i.nonce==null){console.error("Missing nonce",t);return}(n=this.pendingCommands.get(i.nonce))===null||n===void 0||n.resolve(i),this.pendingCommands.delete(i.nonce)}}_getSearch(){return typeof window>"u"?"":window.location.search}}var w1=1e9,hct={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},CN,M0=!0,Os="[DecimalError] ",Xp=Os+"Invalid argument: ",AN=Os+"Exponent out of range: ",_1=Math.floor,yp=Math.pow,fct=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,Ha,Vn=1e7,y0=7,Jge=9007199254740991,YS=_1(Jge/y0),pt={};pt.absoluteValue=pt.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e};pt.comparedTo=pt.cmp=function(e){var t,r,n,i,a=this;if(e=new a.constructor(e),a.s!==e.s)return a.s||-e.s;if(a.e!==e.e)return a.e>e.e^a.s<0?1:-1;for(n=a.d.length,i=e.d.length,t=0,r=n<i?n:i;t<r;++t)if(a.d[t]!==e.d[t])return a.d[t]>e.d[t]^a.s<0?1:-1;return n===i?0:n>i^a.s<0?1:-1};pt.decimalPlaces=pt.dp=function(){var e=this,t=e.d.length-1,r=(t-e.e)*y0;if(t=e.d[t],t)for(;t%10==0;t/=10)r--;return r<0?0:r};pt.dividedBy=pt.div=function(e){return Hc(this,new this.constructor(e))};pt.dividedToIntegerBy=pt.idiv=function(e){var t=this,r=t.constructor;return u0(Hc(t,new r(e),0,1),r.precision)};pt.equals=pt.eq=function(e){return!this.cmp(e)};pt.exponent=function(){return En(this)};pt.greaterThan=pt.gt=function(e){return this.cmp(e)>0};pt.greaterThanOrEqualTo=pt.gte=function(e){return this.cmp(e)>=0};pt.isInteger=pt.isint=function(){return this.e>this.d.length-2};pt.isNegative=pt.isneg=function(){return this.s<0};pt.isPositive=pt.ispos=function(){return this.s>0};pt.isZero=function(){return this.s===0};pt.lessThan=pt.lt=function(e){return this.cmp(e)<0};pt.lessThanOrEqualTo=pt.lte=function(e){return this.cmp(e)<1};pt.logarithm=pt.log=function(e){var t,r=this,n=r.constructor,i=n.precision,a=i+5;if(e===void 0)e=new n(10);else if(e=new n(e),e.s<1||e.eq(Ha))throw Error(Os+"NaN");if(r.s<1)throw Error(Os+(r.s?"NaN":"-Infinity"));return r.eq(Ha)?new n(0):(M0=!1,t=Hc(Q5(r,a),Q5(e,a),a),M0=!0,u0(t,i))};pt.minus=pt.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?t1e(t,e):Zge(t,(e.s=-e.s,e))};pt.modulo=pt.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(e=new n(e),!e.s)throw Error(Os+"NaN");return r.s?(M0=!1,t=Hc(r,e,0,1).times(e),M0=!0,r.minus(t)):u0(new n(r),i)};pt.naturalExponential=pt.exp=function(){return e1e(this)};pt.naturalLogarithm=pt.ln=function(){return Q5(this)};pt.negated=pt.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e};pt.plus=pt.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?Zge(t,e):t1e(t,(e.s=-e.s,e))};pt.precision=pt.sd=function(e){var t,r,n,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(Xp+e);if(t=En(i)+1,n=i.d.length-1,r=n*y0+1,n=i.d[n],n){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return e&&t>r?t:r};pt.squareRoot=pt.sqrt=function(){var e,t,r,n,i,a,s,o=this,l=o.constructor;if(o.s<1){if(!o.s)return new l(0);throw Error(Os+"NaN")}for(e=En(o),M0=!1,i=Math.sqrt(+o),i==0||i==1/0?(t=cl(o.d),(t.length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=_1((e+1)/2)-(e<0||e%2),i==1/0?t="5e"+e:(t=i.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),n=new l(t)):n=new l(i.toString()),r=l.precision,i=s=r+3;;)if(a=n,n=a.plus(Hc(o,a,s+2)).times(.5),cl(a.d).slice(0,s)===(t=cl(n.d)).slice(0,s)){if(t=t.slice(s-3,s+1),i==s&&t=="4999"){if(u0(a,r+1,0),a.times(a).eq(o)){n=a;break}}else if(t!="9999")break;s+=4}return M0=!0,u0(n,r)};pt.times=pt.mul=function(e){var t,r,n,i,a,s,o,l,c,u=this,d=u.constructor,h=u.d,p=(e=new d(e)).d;if(!u.s||!e.s)return new d(0);for(e.s*=u.s,r=u.e+e.e,l=h.length,c=p.length,l<c&&(a=h,h=p,p=a,s=l,l=c,c=s),a=[],s=l+c,n=s;n--;)a.push(0);for(n=c;--n>=0;){for(t=0,i=l+n;i>n;)o=a[i]+p[n]*h[i-n-1]+t,a[i--]=o%Vn|0,t=o/Vn|0;a[i]=(a[i]+t)%Vn|0}for(;!a[--s];)a.pop();return t?++r:a.shift(),e.d=a,e.e=r,M0?u0(e,d.precision):e};pt.toDecimalPlaces=pt.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(Dl(e,0,w1),t===void 0?t=n.rounding:Dl(t,0,8),u0(r,e+En(r)+1,t))};pt.toExponential=function(e,t){var r,n=this,i=n.constructor;return e===void 0?r=xh(n,!0):(Dl(e,0,w1),t===void 0?t=i.rounding:Dl(t,0,8),n=u0(new i(n),e+1,t),r=xh(n,!0,e+1)),r};pt.toFixed=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?xh(i):(Dl(e,0,w1),t===void 0?t=a.rounding:Dl(t,0,8),n=u0(new a(i),e+En(i)+1,t),r=xh(n.abs(),!1,e+En(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)};pt.toInteger=pt.toint=function(){var e=this,t=e.constructor;return u0(new t(e),En(e)+1,t.rounding)};pt.toNumber=function(){return+this};pt.toPower=pt.pow=function(e){var t,r,n,i,a,s,o=this,l=o.constructor,c=12,u=+(e=new l(e));if(!e.s)return new l(Ha);if(o=new l(o),!o.s){if(e.s<1)throw Error(Os+"Infinity");return o}if(o.eq(Ha))return o;if(n=l.precision,e.eq(Ha))return u0(o,n);if(t=e.e,r=e.d.length-1,s=t>=r,a=o.s,s){if((r=u<0?-u:u)<=Jge){for(i=new l(Ha),t=Math.ceil(n/y0+4),M0=!1;r%2&&(i=i.times(o),bZ(i.d,t)),r=_1(r/2),r!==0;)o=o.times(o),bZ(o.d,t);return M0=!0,e.s<0?new l(Ha).div(i):u0(i,n)}}else if(a<0)throw Error(Os+"NaN");return a=a<0&&e.d[Math.max(t,r)]&1?-1:1,o.s=1,M0=!1,i=e.times(Q5(o,n+c)),M0=!0,i=e1e(i),i.s=a,i};pt.toPrecision=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?(r=En(i),n=xh(i,r<=a.toExpNeg||r>=a.toExpPos)):(Dl(e,1,w1),t===void 0?t=a.rounding:Dl(t,0,8),i=u0(new a(i),e,t),r=En(i),n=xh(i,e<=r||r<=a.toExpNeg,e)),n};pt.toSignificantDigits=pt.tosd=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(Dl(e,1,w1),t===void 0?t=n.rounding:Dl(t,0,8)),u0(new n(r),e,t)};pt.toString=pt.valueOf=pt.val=pt.toJSON=pt[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=En(e),r=e.constructor;return xh(e,t<=r.toExpNeg||t>=r.toExpPos)};function Zge(e,t){var r,n,i,a,s,o,l,c,u=e.constructor,d=u.precision;if(!e.s||!t.s)return t.s||(t=new u(e)),M0?u0(t,d):t;if(l=e.d,c=t.d,s=e.e,i=t.e,l=l.slice(),a=s-i,a){for(a<0?(n=l,a=-a,o=c.length):(n=c,i=s,o=l.length),s=Math.ceil(d/y0),o=s>o?s+1:o+1,a>o&&(a=o,n.length=1),n.reverse();a--;)n.push(0);n.reverse()}for(o=l.length,a=c.length,o-a<0&&(a=o,n=c,c=l,l=n),r=0;a;)r=(l[--a]=l[a]+c[a]+r)/Vn|0,l[a]%=Vn;for(r&&(l.unshift(r),++i),o=l.length;l[--o]==0;)l.pop();return t.d=l,t.e=i,M0?u0(t,d):t}function Dl(e,t,r){if(e!==~~e||e<t||e>r)throw Error(Xp+e)}function cl(e){var t,r,n,i=e.length-1,a="",s=e[0];if(i>0){for(a+=s,t=1;t<i;t++)n=e[t]+"",r=y0-n.length,r&&(a+=zu(r)),a+=n;s=e[t],n=s+"",r=y0-n.length,r&&(a+=zu(r))}else if(s===0)return"0";for(;s%10===0;)s/=10;return a+s}var Hc=(function(){function e(n,i){var a,s=0,o=n.length;for(n=n.slice();o--;)a=n[o]*i+s,n[o]=a%Vn|0,s=a/Vn|0;return s&&n.unshift(s),n}function t(n,i,a,s){var o,l;if(a!=s)l=a>s?1:-1;else for(o=l=0;o<a;o++)if(n[o]!=i[o]){l=n[o]>i[o]?1:-1;break}return l}function r(n,i,a){for(var s=0;a--;)n[a]-=s,s=n[a]<i[a]?1:0,n[a]=s*Vn+n[a]-i[a];for(;!n[0]&&n.length>1;)n.shift()}return function(n,i,a,s){var o,l,c,u,d,h,p,m,g,b,y,v,S,x,w,A,_,C,E=n.constructor,R=n.s==i.s?1:-1,P=n.d,O=i.d;if(!n.s)return new E(n);if(!i.s)throw Error(Os+"Division by zero");for(l=n.e-i.e,_=O.length,w=P.length,p=new E(R),m=p.d=[],c=0;O[c]==(P[c]||0);)++c;if(O[c]>(P[c]||0)&&--l,a==null?v=a=E.precision:s?v=a+(En(n)-En(i))+1:v=a,v<0)return new E(0);if(v=v/y0+2|0,c=0,_==1)for(u=0,O=O[0],v++;(c<w||u)&&v--;c++)S=u*Vn+(P[c]||0),m[c]=S/O|0,u=S%O|0;else{for(u=Vn/(O[0]+1)|0,u>1&&(O=e(O,u),P=e(P,u),_=O.length,w=P.length),x=_,g=P.slice(0,_),b=g.length;b<_;)g[b++]=0;C=O.slice(),C.unshift(0),A=O[0],O[1]>=Vn/2&&++A;do u=0,o=t(O,g,_,b),o<0?(y=g[0],_!=b&&(y=y*Vn+(g[1]||0)),u=y/A|0,u>1?(u>=Vn&&(u=Vn-1),d=e(O,u),h=d.length,b=g.length,o=t(d,g,h,b),o==1&&(u--,r(d,_<h?C:O,h))):(u==0&&(o=u=1),d=O.slice()),h=d.length,h<b&&d.unshift(0),r(g,d,b),o==-1&&(b=g.length,o=t(O,g,_,b),o<1&&(u++,r(g,_<b?C:O,b))),b=g.length):o===0&&(u++,g=[0]),m[c++]=u,o&&g[0]?g[b++]=P[x]||0:(g=[P[x]],b=1);while((x++<w||g[0]!==void 0)&&v--)}return m[0]||m.shift(),p.e=l,u0(p,s?a+En(p)+1:a)}})();function e1e(e,t){var r,n,i,a,s,o,l=0,c=0,u=e.constructor,d=u.precision;if(En(e)>16)throw Error(AN+En(e));if(!e.s)return new u(Ha);for(M0=!1,o=d,s=new u(.03125);e.abs().gte(.1);)e=e.times(s),c+=5;for(n=Math.log(yp(2,c))/Math.LN10*2+5|0,o+=n,r=i=a=new u(Ha),u.precision=o;;){if(i=u0(i.times(e),o),r=r.times(++l),s=a.plus(Hc(i,r,o)),cl(s.d).slice(0,o)===cl(a.d).slice(0,o)){for(;c--;)a=u0(a.times(a),o);return u.precision=d,t==null?(M0=!0,u0(a,d)):a}a=s}}function En(e){for(var t=e.e*y0,r=e.d[0];r>=10;r/=10)t++;return t}function IC(e,t,r){if(t>e.LN10.sd())throw M0=!0,r&&(e.precision=r),Error(Os+"LN10 precision limit exceeded");return u0(new e(e.LN10),t)}function zu(e){for(var t="";e--;)t+="0";return t}function Q5(e,t){var r,n,i,a,s,o,l,c,u,d=1,h=10,p=e,m=p.d,g=p.constructor,b=g.precision;if(p.s<1)throw Error(Os+(p.s?"NaN":"-Infinity"));if(p.eq(Ha))return new g(0);if(t==null?(M0=!1,c=b):c=t,p.eq(10))return t==null&&(M0=!0),IC(g,c);if(c+=h,g.precision=c,r=cl(m),n=r.charAt(0),a=En(p),Math.abs(a)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)p=p.times(e),r=cl(p.d),n=r.charAt(0),d++;a=En(p),n>1?(p=new g("0."+r),a++):p=new g(n+"."+r.slice(1))}else return l=IC(g,c+2,b).times(a+""),p=Q5(new g(n+"."+r.slice(1)),c-h).plus(l),g.precision=b,t==null?(M0=!0,u0(p,b)):p;for(o=s=p=Hc(p.minus(Ha),p.plus(Ha),c),u=u0(p.times(p),c),i=3;;){if(s=u0(s.times(u),c),l=o.plus(Hc(s,new g(i),c)),cl(l.d).slice(0,c)===cl(o.d).slice(0,c))return o=o.times(2),a!==0&&(o=o.plus(IC(g,c+2,b).times(a+""))),o=Hc(o,new g(d),c),g.precision=b,t==null?(M0=!0,u0(o,b)):o;o=l,i+=2}}function gZ(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;)++n;for(i=t.length;t.charCodeAt(i-1)===48;)--i;if(t=t.slice(n,i),t){if(i-=n,r=r-n-1,e.e=_1(r/y0),e.d=[],n=(r+1)%y0,r<0&&(n+=y0),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=y0;n<i;)e.d.push(+t.slice(n,n+=y0));t=t.slice(n),n=y0-t.length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),M0&&(e.e>YS||e.e<-YS))throw Error(AN+r)}else e.s=0,e.e=0,e.d=[0];return e}function u0(e,t,r){var n,i,a,s,o,l,c,u,d=e.d;for(s=1,a=d[0];a>=10;a/=10)s++;if(n=t-s,n<0)n+=y0,i=t,c=d[u=0];else{if(u=Math.ceil((n+1)/y0),a=d.length,u>=a)return e;for(c=a=d[u],s=1;a>=10;a/=10)s++;n%=y0,i=n-y0+s}if(r!==void 0&&(a=yp(10,s-i-1),o=c/a%10|0,l=t<0||d[u+1]!==void 0||c%a,l=r<4?(o||l)&&(r==0||r==(e.s<0?3:2)):o>5||o==5&&(r==4||l||r==6&&(n>0?i>0?c/yp(10,s-i):0:d[u-1])%10&1||r==(e.s<0?8:7))),t<1||!d[0])return l?(a=En(e),d.length=1,t=t-a-1,d[0]=yp(10,(y0-t%y0)%y0),e.e=_1(-t/y0)||0):(d.length=1,d[0]=e.e=e.s=0),e;if(n==0?(d.length=u,a=1,u--):(d.length=u+1,a=yp(10,y0-n),d[u]=i>0?(c/yp(10,s-i)%yp(10,i)|0)*a:0),l)for(;;)if(u==0){(d[0]+=a)==Vn&&(d[0]=1,++e.e);break}else{if(d[u]+=a,d[u]!=Vn)break;d[u--]=0,a=1}for(n=d.length;d[--n]===0;)d.pop();if(M0&&(e.e>YS||e.e<-YS))throw Error(AN+En(e));return e}function t1e(e,t){var r,n,i,a,s,o,l,c,u,d,h=e.constructor,p=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),M0?u0(t,p):t;if(l=e.d,d=t.d,n=t.e,c=e.e,l=l.slice(),s=c-n,s){for(u=s<0,u?(r=l,s=-s,o=d.length):(r=d,n=c,o=l.length),i=Math.max(Math.ceil(p/y0),o)+2,s>i&&(s=i,r.length=1),r.reverse(),i=s;i--;)r.push(0);r.reverse()}else{for(i=l.length,o=d.length,u=i<o,u&&(o=i),i=0;i<o;i++)if(l[i]!=d[i]){u=l[i]<d[i];break}s=0}for(u&&(r=l,l=d,d=r,t.s=-t.s),o=l.length,i=d.length-o;i>0;--i)l[o++]=0;for(i=d.length;i>s;){if(l[--i]<d[i]){for(a=i;a&&l[--a]===0;)l[a]=Vn-1;--l[a],l[i]+=Vn}l[i]-=d[i]}for(;l[--o]===0;)l.pop();for(;l[0]===0;l.shift())--n;return l[0]?(t.d=l,t.e=n,M0?u0(t,p):t):new h(0)}function xh(e,t,r){var n,i=En(e),a=cl(e.d),s=a.length;return t?(r&&(n=r-s)>0?a=a.charAt(0)+"."+a.slice(1)+zu(n):s>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(i<0?"e":"e+")+i):i<0?(a="0."+zu(-i-1)+a,r&&(n=r-s)>0&&(a+=zu(n))):i>=s?(a+=zu(i+1-s),r&&(n=r-i-1)>0&&(a=a+"."+zu(n))):((n=i+1)<s&&(a=a.slice(0,n)+"."+a.slice(n)),r&&(n=r-s)>0&&(i+1===s&&(a+="."),a+=zu(n))),e.s<0?"-"+a:a}function bZ(e,t){if(e.length>t)return e.length=t,!0}function r1e(e){var t,r,n;function i(a){var s=this;if(!(s instanceof i))return new i(a);if(s.constructor=i,a instanceof i){s.s=a.s,s.e=a.e,s.d=(a=a.d)?a.slice():a;return}if(typeof a=="number"){if(a*0!==0)throw Error(Xp+a);if(a>0)s.s=1;else if(a<0)a=-a,s.s=-1;else{s.s=0,s.e=0,s.d=[0];return}if(a===~~a&&a<1e7){s.e=0,s.d=[a];return}return gZ(s,a.toString())}else if(typeof a!="string")throw Error(Xp+a);if(a.charCodeAt(0)===45?(a=a.slice(1),s.s=-1):s.s=1,fct.test(a))gZ(s,a);else throw Error(Xp+a)}if(i.prototype=pt,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=r1e,i.config=i.set=mct,e===void 0&&(e={}),e)for(n=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t<n.length;)e.hasOwnProperty(r=n[t++])||(e[r]=this[r]);return i.config(e),i}function mct(e){if(!e||typeof e!="object")throw Error(Os+"Object expected");var t,r,n,i=["precision",1,w1,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if((n=e[r=i[t]])!==void 0)if(_1(n)===n&&n>=i[t+1]&&n<=i[t+2])this[r]=n;else throw Error(Xp+r+": "+n);if((n=e[r="LN10"])!==void 0)if(n==Math.LN10)this[r]=new this(n);else throw Error(Xp+r+": "+n);return this}var CN=r1e(hct);Ha=new CN(1);var gct=CN,xe;(function(e){e.AED="aed",e.AFN="afn",e.ALL="all",e.AMD="amd",e.ANG="ang",e.AOA="aoa",e.ARS="ars",e.AUD="aud",e.AWG="awg",e.AZN="azn",e.BAM="bam",e.BBD="bbd",e.BDT="bdt",e.BGN="bgn",e.BHD="bhd",e.BIF="bif",e.BMD="bmd",e.BND="bnd",e.BOB="bob",e.BOV="bov",e.BRL="brl",e.BSD="bsd",e.BTN="btn",e.BWP="bwp",e.BYN="byn",e.BYR="byr",e.BZD="bzd",e.CAD="cad",e.CDF="cdf",e.CHE="che",e.CHF="chf",e.CHW="chw",e.CLF="clf",e.CLP="clp",e.CNY="cny",e.COP="cop",e.COU="cou",e.CRC="crc",e.CUC="cuc",e.CUP="cup",e.CVE="cve",e.CZK="czk",e.DJF="djf",e.DKK="dkk",e.DOP="dop",e.DZD="dzd",e.EGP="egp",e.ERN="ern",e.ETB="etb",e.EUR="eur",e.FJD="fjd",e.FKP="fkp",e.GBP="gbp",e.GEL="gel",e.GHS="ghs",e.GIP="gip",e.GMD="gmd",e.GNF="gnf",e.GTQ="gtq",e.GYD="gyd",e.HKD="hkd",e.HNL="hnl",e.HRK="hrk",e.HTG="htg",e.HUF="huf",e.IDR="idr",e.ILS="ils",e.INR="inr",e.IQD="iqd",e.IRR="irr",e.ISK="isk",e.JMD="jmd",e.JOD="jod",e.JPY="jpy",e.KES="kes",e.KGS="kgs",e.KHR="khr",e.KMF="kmf",e.KPW="kpw",e.KRW="krw",e.KWD="kwd",e.KYD="kyd",e.KZT="kzt",e.LAK="lak",e.LBP="lbp",e.LKR="lkr",e.LRD="lrd",e.LSL="lsl",e.LTL="ltl",e.LVL="lvl",e.LYD="lyd",e.MAD="mad",e.MDL="mdl",e.MGA="mga",e.MKD="mkd",e.MMK="mmk",e.MNT="mnt",e.MOP="mop",e.MRO="mro",e.MUR="mur",e.MVR="mvr",e.MWK="mwk",e.MXN="mxn",e.MXV="mxv",e.MYR="myr",e.MZN="mzn",e.NAD="nad",e.NGN="ngn",e.NIO="nio",e.NOK="nok",e.NPR="npr",e.NZD="nzd",e.OMR="omr",e.PAB="pab",e.PEN="pen",e.PGK="pgk",e.PHP="php",e.PKR="pkr",e.PLN="pln",e.PYG="pyg",e.QAR="qar",e.RON="ron",e.RSD="rsd",e.RUB="rub",e.RWF="rwf",e.SAR="sar",e.SBD="sbd",e.SCR="scr",e.SDG="sdg",e.SEK="sek",e.SGD="sgd",e.SHP="shp",e.SLL="sll",e.SOS="sos",e.SRD="srd",e.SSP="ssp",e.STD="std",e.SVC="svc",e.SYP="syp",e.SZL="szl",e.THB="thb",e.TJS="tjs",e.TMT="tmt",e.TND="tnd",e.TOP="top",e.TRY="try",e.TTD="ttd",e.TWD="twd",e.TZS="tzs",e.UAH="uah",e.UGX="ugx",e.USD="usd",e.USN="usn",e.USS="uss",e.UYI="uyi",e.UYU="uyu",e.UZS="uzs",e.VEF="vef",e.VND="vnd",e.VUV="vuv",e.WST="wst",e.XAF="xaf",e.XAG="xag",e.XAU="xau",e.XBA="xba",e.XBB="xbb",e.XBC="xbc",e.XBD="xbd",e.XCD="xcd",e.XDR="xdr",e.XFU="xfu",e.XOF="xof",e.XPD="xpd",e.XPF="xpf",e.XPT="xpt",e.XSU="xsu",e.XTS="xts",e.XUA="xua",e.YER="yer",e.ZAR="zar",e.ZMW="zmw",e.ZWL="zwl"})(xe||(xe={}));const bct={[xe.AED]:2,[xe.AFN]:2,[xe.ALL]:2,[xe.AMD]:2,[xe.ANG]:2,[xe.AOA]:2,[xe.ARS]:2,[xe.AUD]:2,[xe.AWG]:2,[xe.AZN]:2,[xe.BAM]:2,[xe.BBD]:2,[xe.BDT]:2,[xe.BGN]:2,[xe.BHD]:3,[xe.BIF]:0,[xe.BMD]:2,[xe.BND]:2,[xe.BOB]:2,[xe.BOV]:2,[xe.BRL]:2,[xe.BSD]:2,[xe.BTN]:2,[xe.BWP]:2,[xe.BYR]:0,[xe.BYN]:2,[xe.BZD]:2,[x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R]:2,[xe.RON]:2,[xe.RSD]:2,[xe.RUB]:2,[xe.RWF]:0,[xe.SAR]:2,[xe.SBD]:2,[xe.SCR]:2,[xe.SDG]:2,[xe.SEK]:2,[xe.SGD]:2,[xe.SHP]:2,[xe.SLL]:2,[xe.SOS]:2,[xe.SRD]:2,[xe.SSP]:2,[xe.STD]:2,[xe.SVC]:2,[xe.SYP]:2,[xe.SZL]:2,[xe.THB]:2,[xe.TJS]:2,[xe.TMT]:2,[xe.TND]:3,[xe.TOP]:2,[xe.TRY]:2,[xe.TTD]:2,[xe.TWD]:2,[xe.TZS]:2,[xe.UAH]:2,[xe.UGX]:0,[xe.USD]:2,[xe.USN]:2,[xe.USS]:2,[xe.UYI]:0,[xe.UYU]:2,[xe.UZS]:2,[xe.VEF]:2,[xe.VND]:0,[xe.VUV]:0,[xe.WST]:2,[xe.XAF]:0,[xe.XAG]:0,[xe.XAU]:0,[xe.XBA]:0,[xe.XBB]:0,[xe.XBC]:0,[xe.XBD]:0,[xe.XCD]:2,[xe.XDR]:0,[xe.XFU]:0,[xe.XOF]:0,[xe.XPD]:0,[xe.XPF]:0,[xe.XPT]:0,[xe.XSU]:0,[xe.XTS]:0,[xe.XUA]:0,[xe.YER]:2,[xe.ZAR]:2,[xe.ZMW]:2,[xe.ZWL]:2};function yct(e,t="en-US"){const{amount:r,currency:n}=e;return Intl.NumberFormat(t,{style:"currency",currency:n}).format(vct(r,n))}function vct(e,t){const r=bct[t];return r==null?(console.warn(`Unexpected currency ${t}`),e):new gct(e).dividedBy(10**r).toNumber()}var Tct={formatPrice:yct},ey={exports:{}};ey.exports;var yZ;function Sct(){return yZ||(yZ=1,(function(e,t){var r=200,n="Expected a function",i="__lodash_hash_undefined__",a=1,s=2,o=9007199254740991,l="[object Arguments]",c="[object Array]",u="[object Boolean]",d="[object Date]",h="[object Error]",p="[object Function]",m="[object GeneratorFunction]",g="[object Map]",b="[object Number]",y="[object Object]",v="[object Promise]",S="[object RegExp]",x="[object Set]",w="[object String]",A="[object Symbol]",_="[object WeakMap]",C="[object ArrayBuffer]",E="[object DataView]",R="[object Float32Array]",P="[object Float64Array]",O="[object Int8Array]",k="[object Int16Array]",I="[object Int32Array]",M="[object Uint8Array]",D="[object Uint8ClampedArray]",F="[object Uint16Array]",$="[object Uint32Array]",Y=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,he=/^\w*$/,fe=/^\./,U=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,W=/[\\^$.*+?()[\]{}|]/g,H=/\\(\\)?/g,ie=/^\[object .+?Constructor\]$/,J=/^(?:0|[1-9]\d*)$/,we={};we[R]=we[P]=we[O]=we[k]=we[I]=we[M]=we[D]=we[F]=we[$]=!0,we[l]=we[c]=we[C]=we[u]=we[E]=we[d]=we[h]=we[p]=we[g]=we[b]=we[y]=we[S]=we[x]=we[w]=we[_]=!1;var Le=typeof l3=="object"&&l3&&l3.Object===Object&&l3,Ye=typeof self=="object"&&self&&self.Object===Object&&self,oe=Le||Ye||Function("return this")(),X=t&&!t.nodeType&&t,se=X&&!0&&e&&!e.nodeType&&e,Ce=se&&se.exports===X,ce=Ce&&Le.process,le=(function(){try{return ce&&ce.binding("util")}catch(G){}})(),Te=le&&le.isTypedArray;function be(G,de){for(var $e=-1,Qe=G?G.length:0;++$e<Qe&&de(G[$e],$e,G)!==!1;);return G}function ze(G,de){for(var $e=-1,Qe=G?G.length:0;++$e<Qe;)if(de(G[$e],$e,G))return!0;return!1}function Ze(G){return function(de){return de==null?void 0:de[G]}}function St(G,de){for(var $e=-1,Qe=Array(G);++$e<G;)Qe[$e]=de($e);return Qe}function Ut(G){return function(de){return G(de)}}function Rt(G,de){return G==null?void 0:G[de]}function Dt(G){var de=!1;if(G!=null&&typeof G.toString!="function")try{de=!!(G+"")}catch($e){}return de}function nt(G){var de=-1,$e=Array(G.size);return G.forEach(function(Qe,Gt){$e[++de]=[Gt,Qe]}),$e}function Pr(G,de){return function($e){return G(de($e))}}function q(G){var de=-1,$e=Array(G.size);return G.forEach(function(Qe){$e[++de]=Qe}),$e}var K=Array.prototype,pe=Function.prototype,ye=Object.prototype,ke=oe["__core-js_shared__"],je=(function(){var G=/[^.]+$/.exec(ke&&ke.keys&&ke.keys.IE_PROTO||"");return G?"Symbol(src)_1."+G:""})(),qe=pe.toString,Fe=ye.hasOwnProperty,We=ye.toString,Ct=RegExp("^"+qe.call(Fe).replace(W,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Wt=oe.Symbol,It=oe.Uint8Array,nr=Pr(Object.getPrototypeOf,Object),L0=Object.create,P0=ye.propertyIsEnumerable,Ia=K.splice,Oa=Pr(Object.keys,Object),Gs=ff(oe,"DataView"),Ma=ff(oe,"Map"),Vs=ff(oe,"Promise"),Ys=ff(oe,"Set"),Ks=ff(oe,"WeakMap"),V=ff(Object,"create"),Kl=ip(Gs),Gi=ip(Ma),Xs=ip(Vs),bke=ip(Ys),yke=ip(Ks),E2=Wt?Wt.prototype:void 0,s8=E2?E2.valueOf:void 0,PY=E2?E2.toString:void 0;function np(G){var de=-1,$e=G?G.length:0;for(this.clear();++de<$e;){var Qe=G[de];this.set(Qe[0],Qe[1])}}function vke(){this.__data__=V?V(null):{}}function Tke(G){return this.has(G)&&delete this.__data__[G]}function Ske(G){var de=this.__data__;if(V){var $e=de[G];return $e===i?void 0:$e}return Fe.call(de,G)?de[G]:void 0}function xke(G){var de=this.__data__;return V?de[G]!==void 0:Fe.call(de,G)}function wke(G,de){var $e=this.__data__;return $e[G]=V&&de===void 0?i:de,this}np.prototype.clear=vke,np.prototype.delete=Tke,np.prototype.get=Ske,np.prototype.has=xke,np.prototype.set=wke;function Xl(G){var de=-1,$e=G?G.length:0;for(this.clear();++de<$e;){var Qe=G[de];this.set(Qe[0],Qe[1])}}function _ke(){this.__data__=[]}function Ake(G){var de=this.__data__,$e=j2(de,G);if($e<0)return!1;var Qe=de.length-1;return $e==Qe?de.pop():Ia.call(de,$e,1),!0}function Cke(G){var de=this.__data__,$e=j2(de,G);return $e<0?void 0:de[$e][1]}function Eke(G){return j2(this.__data__,G)>-1}function Pke(G,de){var $e=this.__data__,Qe=j2($e,G);return Qe<0?$e.push([G,de]):$e[Qe][1]=de,this}Xl.prototype.clear=_ke,Xl.prototype.delete=Ake,Xl.prototype.get=Cke,Xl.prototype.has=Eke,Xl.prototype.set=Pke;function Ql(G){var de=-1,$e=G?G.length:0;for(this.clear();++de<$e;){var Qe=G[de];this.set(Qe[0],Qe[1])}}function jke(){this.__data__={hash:new np,map:new(Ma||Xl),string:new np}}function Rke(G){return R2(this,G).delete(G)}function Ike(G){return R2(this,G).get(G)}function Oke(G){return R2(this,G).has(G)}function Mke(G,de){return R2(this,G).set(G,de),this}Ql.prototype.clear=jke,Ql.prototype.delete=Rke,Ql.prototype.get=Ike,Ql.prototype.has=Oke,Ql.prototype.set=Mke;function P2(G){var de=-1,$e=G?G.length:0;for(this.__data__=new Ql;++de<$e;)this.add(G[de])}function kke(G){return this.__data__.set(G,i),this}function Dke(G){return this.__data__.has(G)}P2.prototype.add=P2.prototype.push=kke,P2.prototype.has=Dke;function Jl(G){this.__data__=new Xl(G)}function Lke(){this.__data__=new Xl}function Fke(G){return this.__data__.delete(G)}function $ke(G){return this.__data__.get(G)}function Bke(G){return this.__data__.has(G)}function Nke(G,de){var $e=this.__data__;if($e instanceof Xl){var Qe=$e.__data__;if(!Ma||Qe.length<r-1)return Qe.push([G,de]),this;$e=this.__data__=new Ql(Qe)}return $e.set(G,de),this}Jl.prototype.clear=Lke,Jl.prototype.delete=Fke,Jl.prototype.get=$ke,Jl.prototype.has=Bke,Jl.prototype.set=Nke;function qke(G,de){var $e=Zl(G)||LY(G)?St(G.length,String):[],Qe=$e.length,Gt=!!Qe;for(var xt in G)Fe.call(G,xt)&&!(Gt&&(xt=="length"||OY(xt,Qe)))&&$e.push(xt);return $e}function j2(G,de){for(var $e=G.length;$e--;)if(DY(G[$e][0],de))return $e;return-1}function zke(G){return mf(G)?L0(G):{}}var Wke=nDe();function Hke(G,de){return G&&Wke(G,de,k2)}function jY(G,de){de=I2(de,G)?[de]:RY(de);for(var $e=0,Qe=de.length;G!=null&&$e<Qe;)G=G[O2(de[$e++])];return $e&&$e==Qe?G:void 0}function Uke(G){return We.call(G)}function Gke(G,de){return G!=null&&de in Object(G)}function o8(G,de,$e,Qe,Gt){return G===de?!0:G==null||de==null||!mf(G)&&!M2(de)?G!==G&&de!==de:Vke(G,de,o8,$e,Qe,Gt)}function Vke(G,de,$e,Qe,Gt,xt){var ur=Zl(G),mn=Zl(de),V0=c,xi=c;ur||(V0=_u(G),V0=V0==l?y:V0),mn||(xi=_u(de),xi=xi==l?y:xi);var ca=V0==y&&!Dt(G),ua=xi==y&&!Dt(de),Vi=V0==xi;if(Vi&&!ca)return xt||(xt=new Jl),ur||$Y(G)?IY(G,de,$e,Qe,Gt,xt):iDe(G,de,V0,$e,Qe,Gt,xt);if(!(Gt&s)){var os=ca&&Fe.call(G,"__wrapped__"),ls=ua&&Fe.call(de,"__wrapped__");if(os||ls){var Au=os?G.value():G,ec=ls?de.value():de;return xt||(xt=new Jl),$e(Au,ec,Qe,Gt,xt)}}return Vi?(xt||(xt=new Jl),aDe(G,de,$e,Qe,Gt,xt)):!1}function Yke(G,de,$e,Qe){var Gt=$e.length,xt=Gt;if(G==null)return!xt;for(G=Object(G);Gt--;){var ur=$e[Gt];if(ur[2]?ur[1]!==G[ur[0]]:!(ur[0]in G))return!1}for(;++Gt<xt;){ur=$e[Gt];var mn=ur[0],V0=G[mn],xi=ur[1];if(ur[2]){if(V0===void 0&&!(mn in G))return!1}else{var ca=new Jl,ua;if(!(ua===void 0?o8(xi,V0,Qe,a|s,ca):ua))return!1}}return!0}function Kke(G){if(!mf(G)||cDe(G))return!1;var de=c8(G)||Dt(G)?Ct:ie;return de.test(ip(G))}function Xke(G){return M2(G)&&u8(G.length)&&!!we[We.call(G)]}function Qke(G){return typeof G=="function"?G:G==null?bDe:typeof G=="object"?Zl(G)?eDe(G[0],G[1]):Zke(G):yDe(G)}function Jke(G){if(!uDe(G))return Oa(G);var de=[];for(var $e in Object(G))Fe.call(G,$e)&&$e!="constructor"&&de.push($e);return de}function Zke(G){var de=sDe(G);return de.length==1&&de[0][2]?kY(de[0][0],de[0][1]):function($e){return $e===G||Yke($e,G,de)}}function eDe(G,de){return I2(G)&&MY(de)?kY(O2(G),de):function($e){var Qe=fDe($e,G);return Qe===void 0&&Qe===de?mDe($e,G):o8(de,Qe,void 0,a|s)}}function tDe(G){return function(de){return jY(de,G)}}function rDe(G){if(typeof G=="string")return G;if(d8(G))return PY?PY.call(G):"";var de=G+"";return de=="0"&&1/G==-1/0?"-0":de}function RY(G){return Zl(G)?G:dDe(G)}function nDe(G){return function(de,$e,Qe){for(var Gt=-1,xt=Object(de),ur=Qe(de),mn=ur.length;mn--;){var V0=ur[++Gt];if($e(xt[V0],V0,xt)===!1)break}return de}}function IY(G,de,$e,Qe,Gt,xt){var ur=Gt&s,mn=G.length,V0=de.length;if(mn!=V0&&!(ur&&V0>mn))return!1;var xi=xt.get(G);if(xi&&xt.get(de))return xi==de;var ca=-1,ua=!0,Vi=Gt&a?new P2:void 0;for(xt.set(G,de),xt.set(de,G);++ca<mn;){var os=G[ca],ls=de[ca];if(Qe)var Au=ur?Qe(ls,os,ca,de,G,xt):Qe(os,ls,ca,G,de,xt);if(Au!==void 0){if(Au)continue;ua=!1;break}if(Vi){if(!ze(de,function(ec,ap){if(!Vi.has(ap)&&(os===ec||$e(os,ec,Qe,Gt,xt)))return Vi.add(ap)})){ua=!1;break}}else if(!(os===ls||$e(os,ls,Qe,Gt,xt))){ua=!1;break}}return xt.delete(G),xt.delete(de),ua}function iDe(G,de,$e,Qe,Gt,xt,ur){switch($e){case E:if(G.byteLength!=de.byteLength||G.byteOffset!=de.byteOffset)return!1;G=G.buffer,de=de.buffer;case C:return!(G.byteLength!=de.byteLength||!Qe(new It(G),new It(de)));case u:case d:case b:return DY(+G,+de);case h:return G.name==de.name&&G.message==de.message;case S:case w:return G==de+"";case g:var mn=nt;case x:var V0=xt&s;if(mn||(mn=q),G.size!=de.size&&!V0)return!1;var xi=ur.get(G);if(xi)return xi==de;xt|=a,ur.set(G,de);var ca=IY(mn(G),mn(de),Qe,Gt,xt,ur);return ur.delete(G),ca;case A:if(s8)return s8.call(G)==s8.call(de)}return!1}function aDe(G,de,$e,Qe,Gt,xt){var ur=Gt&s,mn=k2(G),V0=mn.length,xi=k2(de),ca=xi.length;if(V0!=ca&&!ur)return!1;for(var ua=V0;ua--;){var Vi=mn[ua];if(!(ur?Vi in de:Fe.call(de,Vi)))return!1}var os=xt.get(G);if(os&&xt.get(de))return os==de;var ls=!0;xt.set(G,de),xt.set(de,G);for(var Au=ur;++ua<V0;){Vi=mn[ua];var ec=G[Vi],ap=de[Vi];if(Qe)var BY=ur?Qe(ap,ec,Vi,de,G,xt):Qe(ec,ap,Vi,G,de,xt);if(!(BY===void 0?ec===ap||$e(ec,ap,Qe,Gt,xt):BY)){ls=!1;break}Au||(Au=Vi=="constructor")}if(ls&&!Au){var D2=G.constructor,L2=de.constructor;D2!=L2&&"constructor"in G&&"constructor"in de&&!(typeof D2=="function"&&D2 instanceof D2&&typeof L2=="function"&&L2 instanceof L2)&&(ls=!1)}return xt.delete(G),xt.delete(de),ls}function R2(G,de){var $e=G.__data__;return lDe(de)?$e[typeof de=="string"?"string":"hash"]:$e.map}function sDe(G){for(var de=k2(G),$e=de.length;$e--;){var Qe=de[$e],Gt=G[Qe];de[$e]=[Qe,Gt,MY(Gt)]}return de}function ff(G,de){var $e=Rt(G,de);return Kke($e)?$e:void 0}var _u=Uke;(Gs&&_u(new Gs(new ArrayBuffer(1)))!=E||Ma&&_u(new Ma)!=g||Vs&&_u(Vs.resolve())!=v||Ys&&_u(new Ys)!=x||Ks&&_u(new Ks)!=_)&&(_u=function(G){var de=We.call(G),$e=de==y?G.constructor:void 0,Qe=$e?ip($e):void 0;if(Qe)switch(Qe){case Kl:return E;case Gi:return g;case Xs:return v;case bke:return x;case yke:return _}return de});function oDe(G,de,$e){de=I2(de,G)?[de]:RY(de);for(var Qe,Gt=-1,ur=de.length;++Gt<ur;){var xt=O2(de[Gt]);if(!(Qe=G!=null&&$e(G,xt)))break;G=G[xt]}if(Qe)return Qe;var ur=G?G.length:0;return!!ur&&u8(ur)&&OY(xt,ur)&&(Zl(G)||LY(G))}function OY(G,de){return de=de==null?o:de,!!de&&(typeof G=="number"||J.test(G))&&G>-1&&G%1==0&&G<de}function I2(G,de){if(Zl(G))return!1;var $e=typeof G;return $e=="number"||$e=="symbol"||$e=="boolean"||G==null||d8(G)?!0:he.test(G)||!Y.test(G)||de!=null&&G in Object(de)}function lDe(G){var de=typeof G;return de=="string"||de=="number"||de=="symbol"||de=="boolean"?G!=="__proto__":G===null}function cDe(G){return!!je&&je in G}function uDe(G){var de=G&&G.constructor,$e=typeof de=="function"&&de.prototype||ye;return G===$e}function MY(G){return G===G&&!mf(G)}function kY(G,de){return function($e){return $e==null?!1:$e[G]===de&&(de!==void 0||G in Object($e))}}var dDe=l8(function(G){G=hDe(G);var de=[];return fe.test(G)&&de.push(""),G.replace(U,function($e,Qe,Gt,xt){de.push(Gt?xt.replace(H,"$1"):Qe||$e)}),de});function O2(G){if(typeof G=="string"||d8(G))return G;var de=G+"";return de=="0"&&1/G==-1/0?"-0":de}function ip(G){if(G!=null){try{return qe.call(G)}catch(de){}try{return G+""}catch(de){}}return""}function l8(G,de){if(typeof G!="function"||de&&typeof de!="function")throw new TypeError(n);var $e=function(){var Qe=arguments,Gt=de?de.apply(this,Qe):Qe[0],xt=$e.cache;if(xt.has(Gt))return xt.get(Gt);var ur=G.apply(this,Qe);return $e.cache=xt.set(Gt,ur),ur};return $e.cache=new(l8.Cache||Ql),$e}l8.Cache=Ql;function DY(G,de){return G===de||G!==G&&de!==de}function LY(G){return pDe(G)&&Fe.call(G,"callee")&&(!P0.call(G,"callee")||We.call(G)==l)}var Zl=Array.isArray;function FY(G){return G!=null&&u8(G.length)&&!c8(G)}function pDe(G){return M2(G)&&FY(G)}function c8(G){var de=mf(G)?We.call(G):"";return de==p||de==m}function u8(G){return typeof G=="number"&&G>-1&&G%1==0&&G<=o}function mf(G){var de=typeof G;return!!G&&(de=="object"||de=="function")}function M2(G){return!!G&&typeof G=="object"}function d8(G){return typeof G=="symbol"||M2(G)&&We.call(G)==A}var $Y=Te?Ut(Te):Xke;function hDe(G){return G==null?"":rDe(G)}function fDe(G,de,$e){var Qe=G==null?void 0:jY(G,de);return Qe===void 0?$e:Qe}function mDe(G,de){return G!=null&&oDe(G,de,Gke)}function k2(G){return FY(G)?qke(G):Jke(G)}function gDe(G,de,$e){var Qe=Zl(G)||$Y(G);if(de=Qke(de),$e==null)if(Qe||mf(G)){var Gt=G.constructor;Qe?$e=Zl(G)?new Gt:[]:$e=c8(Gt)?zke(nr(G)):{}}else $e={};return(Qe?be:Hke)(G,function(xt,ur,mn){return de($e,xt,ur,mn)}),$e}function bDe(G){return G}function yDe(G){return I2(G)?Ze(O2(G)):tDe(G)}e.exports=gDe})(ey,ey.exports)),ey.exports}Sct();globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};async function EN(){if(!Qr)return null;const e=ft().get(gd);if(!e)return console.warn("Running in Discord but Discord SDK not initialized"),null;const{PermissionUtils:t,Permissions:r}=await tr(async()=>{const{PermissionUtils:n,Permissions:i}=await import("./index-BSQ3YlOQ.js");return{PermissionUtils:n,Permissions:i}},__vite__mapDeps([0,1]));try{const{permissions:n}=await e.commands.getChannelPermissions();return{discordSdk:e,PermissionUtils:t,Permissions:r,permissions:n}}catch(n){return console.warn("Failed to get channel permissions",n),null}}async function n1e(){const e=await EN();if(!e)return!1;const{PermissionUtils:t,Permissions:r,permissions:n}=e;return t.can(r.CREATE_INSTANT_INVITE,n)}async function xct(){try{const e=await EN();if(!e)return;const{discordSdk:t}=e;await n1e()?await t.commands.openInviteDialog():console.warn("User does not have CREATE_INSTANT_INVITE permissions")}catch(e){console.warn("Error opening invite dialog:",e)}}async function Al(e){var r;if(!Qr)return!1;const t=await((r=ft().get(gd))==null?void 0:r.commands.openExternalLink({url:e}));return!!(t!=null&&t.opened)}function J5(e){if(!Qr)return;const t=ft().get(gd);if(!t){console.warn("Discord SDK not initialized");return}t.close(QO.CLOSE_NORMAL,e)}const Mir=async e=>{const t=ft().get(xce);if(t)try{const n=await(await fetch(e)).blob(),i=await n.arrayBuffer(),a=n.type,s=new File([i],"shareable.png",{type:a}),o=new FormData;o.append("file",s);const d=(await(await fetch(`https://discord.com/api/v10/applications/${Z7}/attachment`,{method:"POST",body:o,headers:{Authorization:`Bearer ${t}`}})).json()).attachment.url,h=await EN();if(!h)return;const{discordSdk:p}=h;await p.commands.openShareMomentDialog({mediaUrl:d})}catch(r){console.warn("Error sharing to Discord:",r)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function wct(){return ev(e=>e.timer)}function i1e(){return ev(e=>e.isGameStarting)}function a1e(){return ev(e=>e.gameVotes)}function _ct(){var r;const e=Wh();return(r=a1e()[e])!=null?r:null}function PN(){return ev(e=>e.selectedGame)}function Act(){const e=Wd(),t=jo(),r=PN(),n=ga().root_bypassMinPlayersCheck,i=wce(),a=Ww(),s=pLe(),o=r?Zi[r].minPlayers:0,l=n||i>=o,{_:c}=Pt(),[u,d]=j.useState(!1);j.useEffect(()=>{Tt==="discord"&&n1e().then(p=>{d(p)})},[Tt]);const h=j.useCallback(()=>{if(r&&Zi[r].type!=="Daily"){if(Zi[r].requiresOpenAI&&!s){e({title:c({id:"HUGX+L"}),content:f.jsx(z,{col:!0,children:f.jsx(ue,{fontSize:"md",children:f.jsx(L,{id:"E/feFg",components:{0:f.jsx("strong",{}),1:f.jsx("br",{})}})})}),okText:c({id:"zga9sT"}),onConfirm:()=>{}});return}t({type:"RequestGame",name:r})}},[r,u]);return j.useCallback(()=>{if(r){if(!l){e({title:c({id:"KDFJxW"}),isCentered:!0,content:f.jsx(z,{col:!0,children:f.jsx(ue,{w:"95%",fontSize:"md",children:f.jsx(L,{id:"ohT0qJ",values:{minPlayers:o},components:{0:f.jsx("b",{})}})})}),okText:u?c({id:"3qRXD/"}):null,okButtonColor:"Purple.Magic",onConfirm:()=>{Tt==="discord"&&u?xct().catch(p=>{console.error("Error opening Discord invite dialog:",p)}):a("party-invite")},cancelVariant:"outlineInverse",cancelColor:"MagicBlack",cancelBackground:"Transparent",cancelText:c({id:"NJBgkP"}),onCancel:()=>h()});return}h()}},[r,l])}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Cct({description:e,onClose:t,isClosable:r,variant:n,children:i,title:a,status:s,icon:o}){return f.jsxs(U$,{className:"DismissableAlert",size:"md",backgroundColor:s==="error"?"Red.Magic":void 0,color:s==="error"?"MagicWhite":void 0,variant:n!=null?n:"DismissableAlert",children:[i||f.jsx(z,{alignItems:"flex-start",children:f.jsxs(z,{col:!0,alignItems:"flex-start",gap:"10px",children:[f.jsxs(z,{gap:"10px",justifyContent:"space-between",children:[o,a&&f.jsx(H$,{children:a})]}),e&&f.jsx(W$,{children:e})]})}),r&&f.jsx(du,{onClick:t,size:"28px",strokeWidth:"2.5px",pointerEvents:"all"})]})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const OC="SystemHeaderToast";function vZ(e){return e.content&&(e.icon||e.title||e.description)&&console.error("Cannot use content with icon/title/description. It's one or the other."),function(t){return f.jsx(Cct,{...t,children:e.content})}}const TZ=2e3;function Xh(){const e=Ope(),t=ga().root_keepToastsOnScreen,r=j.useRef(TZ),n=j.useCallback(a=>{const s={variant:"SystemHeaderToast",isClosable:!0,position:"top-right",duration:t?null:r.current,id:OC,containerStyle:{width:"100vw",maxWidth:"unset",minWidth:"unset",justifyContent:"space-between",margin:0,height:"var(--system-header-height)"},...a,render:vZ(a)};e.isActive(OC)?(r.current+=1e3,e.update(OC,{...s,duration:r.current})):(r.current=TZ,e(s))},[e,t]),i=j.useCallback(a=>{const s={variant:"DismissableAlert",isClosable:!0,position:"top",duration:t?null:4e3,containerStyle:{width:"100%",maxWidth:"unset",minWidth:"unset",justifyContent:"space-between",pointerEvents:"none"},...a,render:vZ(a)};e(s)},[e,t]);return{sendSystemToast:n,sendToast:i}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function _v(e,t="State Machine 1",r={}){const n=o=>{var l;return(l=e==null?void 0:e.stateMachineInputs(t))==null?void 0:l.find(c=>c.name===o)},i=o=>{const l=n(o);return l==null?void 0:l.value},a=(o,l)=>{const c=n(o);c&&(c.value=l)},s=o=>{const l=n(o);l&&l.fire()};return j.useEffect(()=>{e&&Object.entries(r).forEach(([o,l])=>{a(o,l)})},[e,...Object.values(r)]),{getInput:i,setInput:a,fireTrigger:s}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};var ul=(e=>(e.Idle="idle",e.Deciding="deciding",e.Locked="locked",e.Leading="leading",e.Losing="losing",e.Won="won",e.LookingUp="lookingUp",e.LookingDown="lookingDown",e.Pop="pop",e.Holding="holding",e))(ul||{});const Ect=Object.values(ul);function s1e(e){return Ect.indexOf(e)}const o1e=["Expression_Alarmed.png","Expression_Annoyed.png","Expression_Bashful.png","Expression_Calm3.png","Expression_Crying.png","Expression_Cute.png","Expression_Derpy.png","Expression_Happy.png","Expression_Mad.png","Expression_Pouty.png","Expression_Shocked.png","Expression_Thinking.png","Expression_Tired.png","Expression_Loopy.png","Expression_SoHappy.png","Expression_Vampire.png","Expression_Stressed.png"];var or=(e=>(e.Talking="talking",e.JoinGame="joingame",e.JoinGameNoPop="joinGameNoPop",e.LeaveGame="leaveGame",e.Teleport="teleport",e.Walk="walk",e.Water="water",e.WaterGold="waterGold",e.Harvest="harvest",e.PotPlant="potPlant",e.PickupObject="pickupObject",e.DropObject="dropObject",e.DisappearReappear="disappearReappear",e.Dig="dig",e))(or||{}),KS=(e=>(e.Talking="talking",e.PopIn="popIn",e.isRickrolling="isRickrolling",e))(KS||{});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const SZ={};async function d3(e,t,r=!0){if(!t)return;let n=SZ[t];if(!n){const i=r?qc(t):t;if(!i){console.error(`setAvatarImage: no URL for ${t}`);return}const a=await fetch(i);if(!a.ok){console.warn(`setAvatarImage: Failed to fetch avatar image: non-OK status ${a.status} ${a.statusText} for ${t} from ${i}`);return}let s;try{s=await a.arrayBuffer()}catch(o){console.warn(`setAvatarImage: Failed to fetch avatar image: arrayBuffer() threw an error for ${t} from ${i}`,{originalError:o});return}if(s.byteLength===0){console.warn(`setAvatarImage: Empty arrayBuffer for ${t} from ${i}`);return}try{n=await f0.decodeImage(new Uint8Array(s))}catch(o){console.warn(`setAvatarImage: Failed to decode avatar image: decodeImage() threw an error for ${t} from ${i}`,{originalError:o});return}SZ[t]=n}try{e.setRenderImage(n)}catch(i){console.warn(`setAvatarImage: Failed to set render image for ${t}:`,{originalError:i})}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Pct=({avatar:e,playerId:t,discordAvatarUrl:r,animation:n,isSpeaking:i,isSilenced:a,popIn:s=!0,isWearingCrown:o=!1,isSittingThrone:l=!1,playerEmoteData:c,onRiveReady:u})=>{const[d,h]=j.useState(!1),p=hLe(),[m,g]=j.useState();j.useEffect(()=>{if(!t){console.info("[RiveAvatar] Empty playerId, skipping avatar loading");return}const v=e[2]==="Top_DiscordPopsicle.png"?t+"-popsicle":t;p.getOrFetch(v).then(S=>{const[x,w,A]=e;return S.imageAssets.Top&&d3(S.imageAssets.Top,A).catch(console.warn),S.imageAssets.Mid&&d3(S.imageAssets.Mid,w).catch(console.warn),S.imageAssets.Bottom&&d3(S.imageAssets.Bottom,x).catch(console.warn),S.imageAssets.DiscordAvatarPlaceholder&&A==="Top_DiscordPopsicle.png"&&d3(S.imageAssets.DiscordAvatarPlaceholder,r!=null?r:void 0,!1).catch(console.warn),g(S)}).catch(console.error)},[p,t]);const{rive:b,RiveComponent:y}=lu(m?{riveFile:m.riveFile,stateMachines:"State Machine 1",artboard:"AvatarElements",layout:new f0.Layout({fit:f0.Fit.Cover,alignment:f0.Alignment.Center}),autoplay:!0}:null);return j.useEffect(()=>{b&&(u==null||u(b))},[b,u]),_v(b,"State Machine 1",{animation:s1e(n),expression:o1e.indexOf(e[3]),talking:i,isSilenced:a,isWearingShades:e[4]==="FaceProp_Shades.png",isWearingCrown:o,isSittingThrone:l,isRickrolling:e[2]==="Top_Custom_ForbiddenMethod.png",emoteType:c.emoteType,popIn:s}),j.useEffect(()=>{b&&(s&&Jt("Player_Appears_01"),h(!0))},[b,s]),FF(()=>{b&&b.resizeDrawingSurfaceToCanvas()},2e3),f.jsx(Ne,{w:"100%",h:"100%",visibility:d?void 0:"hidden",children:f.jsx(y,{})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const l1e=({avatar:e,discordAvatarUrl:t})=>f.jsxs(z,{position:"relative",children:[e.map(r=>f.jsx(p0,{src:qc(r),alt:"Avatar Element",position:"absolute",w:"100%",h:"100%"},r)),e[2]==="Top_DiscordPopsicle.png"&&t&&f.jsx(p0,{src:t,alt:"Discord Avatar",position:"absolute",w:"20%",h:"20%",transform:"translate(-2%, -155%) rotate(-8deg)"})]});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const jct={xl:"300px",lg:"160px",marge:"120px",md:"80px",sm:"60px",xs:"40px",chip:"40px"},Qh=({playerOrId:e,size:t="md",avatarOverride:r,animation:n=ul.Idle,canEmote:i=!0,doNotIncrementRefCount:a=!1,shouldRenderStaticAvatar:s=!1,forceNonStaticAvatar:o=!1,isSpeakingOverride:l,onStaticAvatarChange:c,popIn:u=!0,isWearingCrown:d=!1,isSittingThrone:h=!1,onRiveReady:p,...m})=>{const g=j.useRef(null),b=Hw(e),y=_ce(e),v=fLe((b==null?void 0:b.id)||""),S=mLe(),x=Ace(),w=ga().testing_alwaysUseStaticAvatars,A=zh(),{sendToast:_}=Xh(),C=!xo&&Qr,[E,R]=j.useState(!1);j.useEffect(()=>{R(C&&!o||!S||s||w||x)},[C,o,S,s,w,x]),j.useEffect(()=>{c==null||c(E)},[E,c]);const{retain:P,release:O}=Cce((b==null?void 0:b.id)||"");j.useEffect(()=>((()=>{const Y=g.current;(typeof(Y==null?void 0:Y.checkVisibility)=="function"?Y.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}):!1)&&!E&&!a?P():O()})(),()=>{O()}),void 0);const k=SR(t,"md"),I=jct[k];if(!b)return null;const M=r||b.cosmetic.avatar,{emoteData:D}=b,F=M.join(",");return f.jsx(Ne,{className:"Avatar",ref:g,position:"relative",w:I,h:I,onContextMenu:$=>{if(A&&xo){$.preventDefault();try{navigator.clipboard.writeText(b.id),_({title:"User ID copied",description:`Copied ID: ${b.id}.`,status:"success"})}catch(Y){_({title:"Error copying ID",description:"Failed to copy user ID.",status:"error"})}}},...m,children:f.jsxs(Ne,{position:"absolute",w:"200%",h:"200%",transform:"translate(-25%, -36%)",children:[E&&f.jsx(Ne,{w:"100%",h:"100%",transform:"translateY(15%)",children:f.jsx(l1e,{avatar:M,discordAvatarUrl:b.discordAvatarUrl})}),!E&&f.jsx($F,{onError:($,Y)=>{console.warn("[Avatar] Rive error triggered fallback to static avatar",$,Y),R(!0)},children:f.jsx(Pct,{avatar:M,playerId:b.id,discordAvatarUrl:b.discordAvatarUrl,animation:n,isSpeaking:l||y,isSilenced:v,playerEmoteData:i?D:{emoteType:_m.Idle},isWearingCrown:d,isSittingThrone:h,popIn:u,onRiveReady:p},F)})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const c1e=({containerProps:e,avatarProps:t})=>{const r=Hw(t.playerOrId);if(!r)return null;const{backgroundColor:n}=$l(r.cosmetic.color);return f.jsx(z,{position:"relative",background:n,borderRadius:"full",overflow:"hidden",h:"42px",w:"42px",...e,children:f.jsx(Ne,{position:"absolute",top:1,children:f.jsx(Qh,{shouldRenderStaticAvatar:!0,size:"xs",...t})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Rct=({hoverBg:e,hoverBoxShadow:t,children:r,sx:n,...i})=>f.jsx(Xe,{h:"100%",w:"125px",boxShadow:"0px 4px 20px 0px #FFE29633",size:"md",textColor:"MagicBlack",px:"10px",mt:3,flexDirection:"column",sx:{"&:hover":{bg:e||"linear-gradient(90deg, #FFFFFF, #000000)",boxShadow:t||"0px 4px 20px 0px #FFE29633"},...n},...i,children:r});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Ict({...e}){const t=Act();return f.jsx(Rct,{h:"35px","data-testid":"play-game-button",...e,py:0,bg:"linear-gradient(90deg, #FFE296, #DF9FF5)",hoverBg:"linear-gradient(90deg, #FFE296 30%, #d0a9dd)",hoverBoxShadow:"0px 4px 20px 0px #FFE29666",onClick:t,children:f.jsx(L,{id:"T91vKp"})})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Oct=({gameName:e})=>{const{thumbnailImage:t,secondaryAccentColor:r,elevatorPitch:n,taglines:i}=Zi[e],a=bce(r),o=ga().root_gameStatuses[e],l=pu();return f.jsxs(Xe,{"aria-label":Ee._({id:"/XaC1o",values:{gameName:e}}),variant:"blank",cursor:"default",position:"relative",filter:o===xR.ComingSoon?"brightness(0.7)":"",borderRadius:"20px",borderBottom:"6px solid rgba(86, 75, 75, 0.814)",boxShadow:"0 6px 0 rgba(0, 0, 0, 0.183)",w:"100%",h:"100%",overflow:"hidden",children:[f.jsx(p0,{position:"absolute",top:"0",left:"0",src:t,objectFit:"cover",objectPosition:"middle",alt:`${e} Thumbnail`,borderRadius:"20px",zIndex:-1}),f.jsx(z,{orient:"bottom",children:f.jsxs(z,{autoH:!0,col:!0,bg:"rgba(46, 48, 64, 0.7)",children:[f.jsx(_n,{pt:4,px:2,fontFamily:"shrikhand",fontSize:l?"lg":"2xl",children:Zi[e].name}),f.jsx(z,{py:{base:1.5,md:2},px:{base:8,md:16},autoH:!0,children:f.jsx(ue,{align:"center",fontSize:l?"12px":"16px",fontWeight:"light",children:n})}),f.jsx(z,{pb:6,autoH:!0,children:f.jsx(ue,{color:a,fontWeight:"bold",fontSize:"xs",children:i==null?void 0:i.map((c,u)=>f.jsxs(f.Fragment,{children:[u>0&&" • ",c]},u))})})]})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Mct=({gameName:e})=>{const t=i1e(),r=PN(),n=_ct(),i=z6(),a=Ece(),s=r===e,l=s||n===e&&!t,c=a1e(),u=Object.entries(c).filter(([,p])=>p===e),d=Fl(),h=pu();return a?f.jsxs(z,{orient:"top",autoH:!0,col:!0,position:"relative",gap:3,p:4,children:[f.jsxs(Ne,{position:"relative",aspectRatio:"1/1",maxW:h?"250px":"350px",maxH:h?"250px":"350px",children:[f.jsx(Oct,{gameName:e}),!t&&f.jsx(bt,{templateColumns:`repeat(${u.length}, minmax(auto, 42px))`,pr:5,position:"absolute",bottom:"-21px",h:"42px",children:u.map(([p,m])=>f.jsx(Cn,{children:f.jsx(c1e,{avatarProps:{playerOrId:p},containerProps:{position:"absolute"}})},`${p}-${m}`))})]}),l&&f.jsx(Ol,{visibility:t?"hidden":"visible",gap:2,pt:2,children:i?f.jsx(Ict,{}):f.jsx(ue,{fontSize:"sm",fontWeight:"bold",children:s?f.jsx(L,{id:"HaZG2s"}):d==="Lobby"?f.jsx(L,{id:"r2fW7L"}):f.jsx(L,{id:"7xGYDh",values:{0:Zi[d].name}})})})]}):null};var Et=(e=>(e.Application="application",e.WebGLPipes="webgl-pipes",e.WebGLPipesAdaptor="webgl-pipes-adaptor",e.WebGLSystem="webgl-system",e.WebGPUPipes="webgpu-pipes",e.WebGPUPipesAdaptor="webgpu-pipes-adaptor",e.WebGPUSystem="webgpu-system",e.CanvasSystem="canvas-system",e.CanvasPipesAdaptor="canvas-pipes-adaptor",e.CanvasPipes="canvas-pipes",e.Asset="asset",e.LoadParser="load-parser",e.ResolveParser="resolve-parser",e.CacheParser="cache-parser",e.DetectionParser="detection-parser",e.MaskEffect="mask-effect",e.BlendMode="blend-mode",e.TextureSource="texture-source",e.Environment="environment",e.ShapeBuilder="shape-builder",e.Batcher="batcher",e))(Et||{});const tM=e=>{if(typeof e=="function"||typeof e=="object"&&e.extension){if(!e.extension)throw new Error("Extension class must have an extension object");e={...typeof e.extension!="object"?{type:e.extension}:e.extension,ref:e}}if(typeof e=="object")e={...e};else throw new Error("Invalid extension type");return typeof e.type=="string"&&(e.type=[e.type]),e},p3=(e,t)=>{var r;return(r=tM(e).priority)!=null?r:t},pi={_addHandlers:{},_removeHandlers:{},_queue:{},remove(...e){return e.map(tM).forEach(t=>{t.type.forEach(r=>{var n,i;return(i=(n=this._removeHandlers)[r])==null?void 0:i.call(n,t)})}),this},add(...e){return e.map(tM).forEach(t=>{t.type.forEach(r=>{var a,s;const n=this._addHandlers,i=this._queue;n[r]?(s=n[r])==null||s.call(n,t):(i[r]=i[r]||[],(a=i[r])==null||a.push(t))})}),this},handle(e,t,r){var s;const n=this._addHandlers,i=this._removeHandlers;if(n[e]||i[e])throw new Error(`Extension type ${e} already has a handler`);n[e]=t,i[e]=r;const a=this._queue;return a[e]&&((s=a[e])==null||s.forEach(o=>t(o)),delete a[e]),this},handleByMap(e,t){return this.handle(e,r=>{r.name&&(t[r.name]=r.ref)},r=>{r.name&&delete t[r.name]})},handleByNamedList(e,t,r=-1){return this.handle(e,n=>{t.findIndex(a=>a.name===n.name)>=0||(t.push({name:n.name,value:n.ref}),t.sort((a,s)=>p3(s.value,r)-p3(a.value,r)))},n=>{const i=t.findIndex(a=>a.name===n.name);i!==-1&&t.splice(i,1)})},handleByList(e,t,r=-1){return this.handle(e,n=>{t.includes(n.ref)||(t.push(n.ref),t.sort((i,a)=>p3(a,r)-p3(i,r)))},n=>{const i=t.indexOf(n.ref);i!==-1&&t.splice(i,1)})},mixin(e,...t){for(const r of t)Object.defineProperties(e.prototype,Object.getOwnPropertyDescriptors(r))}},kct={extension:{type:Et.Environment,name:"browser",priority:-1},test:()=>!0,load:async()=>{await tr(()=>import("./browserAll-HS7J0lNe.js"),__vite__mapDeps([2,3,4,1]))}},Dct={extension:{type:Et.Environment,name:"webworker",priority:0},test:()=>typeof self<"u"&&self.WorkerGlobalScope!==void 0,load:async()=>{await tr(()=>import("./webworkerAll-DMAIa0vJ.js"),__vite__mapDeps([3,4,1]))}};class Pi{constructor(t,r,n){this._x=r||0,this._y=n||0,this._observer=t}clone(t){return new Pi(t!=null?t:this._observer,this._x,this._y)}set(t=0,r=t){return(this._x!==t||this._y!==r)&&(this._x=t,this._y=r,this._observer._onUpdate(this)),this}copyFrom(t){return(this._x!==t.x||this._y!==t.y)&&(this._x=t.x,this._y=t.y,this._observer._onUpdate(this)),this}copyTo(t){return t.set(this._x,this._y),t}equals(t){return t.x===this._x&&t.y===this._y}toString(){return`[pixi.js/math:ObservablePoint x=${this._x} y=${this._y} scope=${this._observer}]`}get x(){return this._x}set x(t){this._x!==t&&(this._x=t,this._observer._onUpdate(this))}get y(){return this._y}set y(t){this._y!==t&&(this._y=t,this._observer._onUpdate(this))}}var MC={exports:{}},xZ;function Lct(){return xZ||(xZ=1,(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function i(l,c,u){this.fn=l,this.context=c,this.once=u||!1}function a(l,c,u,d,h){if(typeof u!="function")throw new TypeError("The listener must be a function");var p=new i(u,d||l,h),m=r?r+c:c;return l._events[m]?l._events[m].fn?l._events[m]=[l._events[m],p]:l._events[m].push(p):(l._events[m]=p,l._eventsCount++),l}function s(l,c){--l._eventsCount===0?l._events=new n:delete l._events[c]}function o(){this._events=new n,this._eventsCount=0}o.prototype.eventNames=function(){var c=[],u,d;if(this._eventsCount===0)return c;for(d in u=this._events)t.call(u,d)&&c.push(r?d.slice(1):d);return Object.getOwnPropertySymbols?c.concat(Object.getOwnPropertySymbols(u)):c},o.prototype.listeners=function(c){var u=r?r+c:c,d=this._events[u];if(!d)return[];if(d.fn)return[d.fn];for(var h=0,p=d.length,m=new Array(p);h<p;h++)m[h]=d[h].fn;return m},o.prototype.listenerCount=function(c){var u=r?r+c:c,d=this._events[u];return d?d.fn?1:d.length:0},o.prototype.emit=function(c,u,d,h,p,m){var g=r?r+c:c;if(!this._events[g])return!1;var b=this._events[g],y=arguments.length,v,S;if(b.fn){switch(b.once&&this.removeListener(c,b.fn,void 0,!0),y){case 1:return b.fn.call(b.context),!0;case 2:return b.fn.call(b.context,u),!0;case 3:return b.fn.call(b.context,u,d),!0;case 4:return b.fn.call(b.context,u,d,h),!0;case 5:return b.fn.call(b.context,u,d,h,p),!0;case 6:return b.fn.call(b.context,u,d,h,p,m),!0}for(S=1,v=new Array(y-1);S<y;S++)v[S-1]=arguments[S];b.fn.apply(b.context,v)}else{var x=b.length,w;for(S=0;S<x;S++)switch(b[S].once&&this.removeListener(c,b[S].fn,void 0,!0),y){case 1:b[S].fn.call(b[S].context);break;case 2:b[S].fn.call(b[S].context,u);break;case 3:b[S].fn.call(b[S].context,u,d);break;case 4:b[S].fn.call(b[S].context,u,d,h);break;default:if(!v)for(w=1,v=new Array(y-1);w<y;w++)v[w-1]=arguments[w];b[S].fn.apply(b[S].context,v)}}return!0},o.prototype.on=function(c,u,d){return a(this,c,u,d,!1)},o.prototype.once=function(c,u,d){return a(this,c,u,d,!0)},o.prototype.removeListener=function(c,u,d,h){var p=r?r+c:c;if(!this._events[p])return this;if(!u)return s(this,p),this;var m=this._events[p];if(m.fn)m.fn===u&&(!h||m.once)&&(!d||m.context===d)&&s(this,p);else{for(var g=0,b=[],y=m.length;g<y;g++)(m[g].fn!==u||h&&!m[g].once||d&&m[g].context!==d)&&b.push(m[g]);b.length?this._events[p]=b.length===1?b[0]:b:s(this,p)}return this},o.prototype.removeAllListeners=function(c){var u;return c?(u=r?r+c:c,this._events[u]&&s(this,u)):(this._events=new n,this._eventsCount=0),this},o.prototype.off=o.prototype.removeListener,o.prototype.addListener=o.prototype.on,o.prefixed=r,o.EventEmitter=o,e.exports=o})(MC)),MC.exports}var Fct=Lct();const ko=Ld(Fct),$ct=Math.PI*2,Bct=180/Math.PI,Nct=Math.PI/180;class Oi{constructor(t=0,r=0){this.x=0,this.y=0,this.x=t,this.y=r}clone(){return new Oi(this.x,this.y)}copyFrom(t){return this.set(t.x,t.y),this}copyTo(t){return t.set(this.x,this.y),t}equals(t){return t.x===this.x&&t.y===this.y}set(t=0,r=t){return this.x=t,this.y=r,this}toString(){return`[pixi.js/math:Point x=${this.x} y=${this.y}]`}static get shared(){return kC.x=0,kC.y=0,kC}}const kC=new Oi;class vr{constructor(t=1,r=0,n=0,i=1,a=0,s=0){this.array=null,this.a=t,this.b=r,this.c=n,this.d=i,this.tx=a,this.ty=s}fromArray(t){this.a=t[0],this.b=t[1],this.c=t[3],this.d=t[4],this.tx=t[2],this.ty=t[5]}set(t,r,n,i,a,s){return this.a=t,this.b=r,this.c=n,this.d=i,this.tx=a,this.ty=s,this}toArray(t,r){this.array||(this.array=new Float32Array(9));const n=r||this.array;return t?(n[0]=this.a,n[1]=this.b,n[2]=0,n[3]=this.c,n[4]=this.d,n[5]=0,n[6]=this.tx,n[7]=this.ty,n[8]=1):(n[0]=this.a,n[1]=this.c,n[2]=this.tx,n[3]=this.b,n[4]=this.d,n[5]=this.ty,n[6]=0,n[7]=0,n[8]=1),n}apply(t,r){r=r||new Oi;const n=t.x,i=t.y;return r.x=this.a*n+this.c*i+this.tx,r.y=this.b*n+this.d*i+this.ty,r}applyInverse(t,r){r=r||new Oi;const n=this.a,i=this.b,a=this.c,s=this.d,o=this.tx,l=this.ty,c=1/(n*s+a*-i),u=t.x,d=t.y;return r.x=s*c*u+-a*c*d+(l*a-o*s)*c,r.y=n*c*d+-i*c*u+(-l*n+o*i)*c,r}translate(t,r){return this.tx+=t,this.ty+=r,this}scale(t,r){return this.a*=t,this.d*=r,this.c*=t,this.b*=r,this.tx*=t,this.ty*=r,this}rotate(t){const r=Math.cos(t),n=Math.sin(t),i=this.a,a=this.c,s=this.tx;return this.a=i*r-this.b*n,this.b=i*n+this.b*r,this.c=a*r-this.d*n,this.d=a*n+this.d*r,this.tx=s*r-this.ty*n,this.ty=s*n+this.ty*r,this}append(t){const r=this.a,n=this.b,i=this.c,a=this.d;return this.a=t.a*r+t.b*i,this.b=t.a*n+t.b*a,this.c=t.c*r+t.d*i,this.d=t.c*n+t.d*a,this.tx=t.tx*r+t.ty*i+this.tx,this.ty=t.tx*n+t.ty*a+this.ty,this}appendFrom(t,r){const n=t.a,i=t.b,a=t.c,s=t.d,o=t.tx,l=t.ty,c=r.a,u=r.b,d=r.c,h=r.d;return this.a=n*c+i*d,this.b=n*u+i*h,this.c=a*c+s*d,this.d=a*u+s*h,this.tx=o*c+l*d+r.tx,this.ty=o*u+l*h+r.ty,this}setTransform(t,r,n,i,a,s,o,l,c){return this.a=Math.cos(o+c)*a,this.b=Math.sin(o+c)*a,this.c=-Math.sin(o-l)*s,this.d=Math.cos(o-l)*s,this.tx=t-(n*this.a+i*this.c),this.ty=r-(n*this.b+i*this.d),this}prepend(t){const r=this.tx;if(t.a!==1||t.b!==0||t.c!==0||t.d!==1){const n=this.a,i=this.c;this.a=n*t.a+this.b*t.c,this.b=n*t.b+this.b*t.d,this.c=i*t.a+this.d*t.c,this.d=i*t.b+this.d*t.d}return this.tx=r*t.a+this.ty*t.c+t.tx,this.ty=r*t.b+this.ty*t.d+t.ty,this}decompose(t){const r=this.a,n=this.b,i=this.c,a=this.d,s=t.pivot,o=-Math.atan2(-i,a),l=Math.atan2(n,r),c=Math.abs(o+l);return c<1e-5||Math.abs($ct-c)<1e-5?(t.rotation=l,t.skew.x=t.skew.y=0):(t.rotation=0,t.skew.x=o,t.skew.y=l),t.scale.x=Math.sqrt(r*r+n*n),t.scale.y=Math.sqrt(i*i+a*a),t.position.x=this.tx+(s.x*r+s.y*i),t.position.y=this.ty+(s.x*n+s.y*a),t}invert(){const t=this.a,r=this.b,n=this.c,i=this.d,a=this.tx,s=t*i-r*n;return this.a=i/s,this.b=-r/s,this.c=-n/s,this.d=t/s,this.tx=(n*this.ty-i*a)/s,this.ty=-(t*this.ty-r*a)/s,this}isIdentity(){return this.a===1&&this.b===0&&this.c===0&&this.d===1&&this.tx===0&&this.ty===0}identity(){return this.a=1,this.b=0,this.c=0,this.d=1,this.tx=0,this.ty=0,this}clone(){const t=new vr;return t.a=this.a,t.b=this.b,t.c=this.c,t.d=this.d,t.tx=this.tx,t.ty=this.ty,t}copyTo(t){return t.a=this.a,t.b=this.b,t.c=this.c,t.d=this.d,t.tx=this.tx,t.ty=this.ty,t}copyFrom(t){return this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.tx=t.tx,this.ty=t.ty,this}equals(t){return t.a===this.a&&t.b===this.b&&t.c===this.c&&t.d===this.d&&t.tx===this.tx&&t.ty===this.ty}toString(){return`[pixi.js:Matrix a=${this.a} b=${this.b} c=${this.c} d=${this.d} tx=${this.tx} ty=${this.ty}]`}static get IDENTITY(){return zct.identity()}static get shared(){return qct.identity()}}const qct=new vr,zct=new vr,vp=[1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1,0,1],Tp=[0,1,1,1,0,-1,-1,-1,0,1,1,1,0,-1,-1,-1],Sp=[0,-1,-1,-1,0,1,1,1,0,1,1,1,0,-1,-1,-1],xp=[1,1,0,-1,-1,-1,0,1,-1,-1,0,1,1,1,0,-1],rM=[],u1e=[],h3=Math.sign;function Wct(){for(let e=0;e<16;e++){const t=[];rM.push(t);for(let r=0;r<16;r++){const n=h3(vp[e]*vp[r]+Sp[e]*Tp[r]),i=h3(Tp[e]*vp[r]+xp[e]*Tp[r]),a=h3(vp[e]*Sp[r]+Sp[e]*xp[r]),s=h3(Tp[e]*Sp[r]+xp[e]*xp[r]);for(let o=0;o<16;o++)if(vp[o]===n&&Tp[o]===i&&Sp[o]===a&&xp[o]===s){t.push(o);break}}}for(let e=0;e<16;e++){const t=new vr;t.set(vp[e],Tp[e],Sp[e],xp[e],0,0),u1e.push(t)}}Wct();const t0={E:0,SE:1,S:2,SW:3,W:4,NW:5,N:6,NE:7,MIRROR_VERTICAL:8,MAIN_DIAGONAL:10,MIRROR_HORIZONTAL:12,REVERSE_DIAGONAL:14,uX:e=>vp[e],uY:e=>Tp[e],vX:e=>Sp[e],vY:e=>xp[e],inv:e=>e&8?e&15:-e&7,add:(e,t)=>rM[e][t],sub:(e,t)=>rM[e][t0.inv(t)],rotate180:e=>e^4,isVertical:e=>(e&3)===2,byDirection:(e,t)=>Math.abs(e)*2<=Math.abs(t)?t>=0?t0.S:t0.N:Math.abs(t)*2<=Math.abs(e)?e>0?t0.E:t0.W:t>0?e>0?t0.SE:t0.SW:e>0?t0.NE:t0.NW,matrixAppendRotationInv:(e,t,r=0,n=0)=>{const i=u1e[t0.inv(t)];i.tx=r,i.ty=n,e.append(i)},transformRectCoords:(e,t,r,n)=>{const{x:i,y:a,width:s,height:o}=e,{x:l,y:c,width:u,height:d}=t;return r===t0.E?(n.set(i+l,a+c,s,o),n):r===t0.S?n.set(u-a-o+l,i+c,o,s):r===t0.W?n.set(u-i-s+l,d-a-o+c,s,o):r===t0.N?n.set(a+l,d-i-s+c,o,s):n.set(i+l,a+c,s,o)}},f3=[new Oi,new Oi,new Oi,new Oi];class un{constructor(t=0,r=0,n=0,i=0){this.type="rectangle",this.x=Number(t),this.y=Number(r),this.width=Number(n),this.height=Number(i)}get left(){return this.x}get right(){return this.x+this.width}get top(){return this.y}get bottom(){return this.y+this.height}isEmpty(){return this.left===this.right||this.top===this.bottom}static get EMPTY(){return new un(0,0,0,0)}clone(){return new un(this.x,this.y,this.width,this.height)}copyFromBounds(t){return this.x=t.minX,this.y=t.minY,this.width=t.maxX-t.minX,this.height=t.maxY-t.minY,this}copyFrom(t){return this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height,this}copyTo(t){return t.copyFrom(this),t}contains(t,r){return this.width<=0||this.height<=0?!1:t>=this.x&&t<this.x+this.width&&r>=this.y&&r<this.y+this.height}strokeContains(t,r,n,i=.5){const{width:a,height:s}=this;if(a<=0||s<=0)return!1;const o=this.x,l=this.y,c=n*(1-i),u=n-c,d=o-c,h=o+a+c,p=l-c,m=l+s+c,g=o+u,b=o+a-u,y=l+u,v=l+s-u;return t>=d&&t<=h&&r>=p&&r<=m&&!(t>g&&t<b&&r>y&&r<v)}intersects(t,r){if(!r){const C=this.x<t.x?t.x:this.x;if((this.right>t.right?t.right:this.right)<=C)return!1;const R=this.y<t.y?t.y:this.y;return(this.bottom>t.bottom?t.bottom:this.bottom)>R}const n=this.left,i=this.right,a=this.top,s=this.bottom;if(i<=n||s<=a)return!1;const o=f3[0].set(t.left,t.top),l=f3[1].set(t.left,t.bottom),c=f3[2].set(t.right,t.top),u=f3[3].set(t.right,t.bottom);if(c.x<=o.x||l.y<=o.y)return!1;const d=Math.sign(r.a*r.d-r.b*r.c);if(d===0||(r.apply(o,o),r.apply(l,l),r.apply(c,c),r.apply(u,u),Math.max(o.x,l.x,c.x,u.x)<=n||Math.min(o.x,l.x,c.x,u.x)>=i||Math.max(o.y,l.y,c.y,u.y)<=a||Math.min(o.y,l.y,c.y,u.y)>=s))return!1;const h=d*(l.y-o.y),p=d*(o.x-l.x),m=h*n+p*a,g=h*i+p*a,b=h*n+p*s,y=h*i+p*s;if(Math.max(m,g,b,y)<=h*o.x+p*o.y||Math.min(m,g,b,y)>=h*u.x+p*u.y)return!1;const v=d*(o.y-c.y),S=d*(c.x-o.x),x=v*n+S*a,w=v*i+S*a,A=v*n+S*s,_=v*i+S*s;return!(Math.max(x,w,A,_)<=v*o.x+S*o.y||Math.min(x,w,A,_)>=v*u.x+S*u.y)}pad(t=0,r=t){return this.x-=t,this.y-=r,this.width+=t*2,this.height+=r*2,this}fit(t){const r=Math.max(this.x,t.x),n=Math.min(this.x+this.width,t.x+t.width),i=Math.max(this.y,t.y),a=Math.min(this.y+this.height,t.y+t.height);return this.x=r,this.width=Math.max(n-r,0),this.y=i,this.height=Math.max(a-i,0),this}ceil(t=1,r=.001){const n=Math.ceil((this.x+this.width-r)*t)/t,i=Math.ceil((this.y+this.height-r)*t)/t;return this.x=Math.floor((this.x+r)*t)/t,this.y=Math.floor((this.y+r)*t)/t,this.width=n-this.x,this.height=i-this.y,this}scale(t,r=t){return this.x*=t,this.y*=r,this.width*=t,this.height*=r,this}enlarge(t){const r=Math.min(this.x,t.x),n=Math.max(this.x+this.width,t.x+t.width),i=Math.min(this.y,t.y),a=Math.max(this.y+this.height,t.y+t.height);return this.x=r,this.width=n-r,this.y=i,this.height=a-i,this}getBounds(t){return t||(t=new un),t.copyFrom(this),t}containsRect(t){if(this.width<=0||this.height<=0)return!1;const r=t.x,n=t.y,i=t.x+t.width,a=t.y+t.height;return r>=this.x&&r<this.x+this.width&&n>=this.y&&n<this.y+this.height&&i>=this.x&&i<this.x+this.width&&a>=this.y&&a<this.y+this.height}set(t,r,n,i){return this.x=t,this.y=r,this.width=n,this.height=i,this}toString(){return`[pixi.js/math:Rectangle x=${this.x} y=${this.y} width=${this.width} height=${this.height}]`}}const DC={default:-1};function dn(e="default"){return DC[e]===void 0&&(DC[e]=-1),++DC[e]}const wZ=new Set,r0="8.0.0",Hct="8.3.4",rm={quiet:!1,noColor:!1},mr=(e,t,r=3)=>{if(rm.quiet||wZ.has(t))return;let n=new Error().stack;const i=`${t}
Deprecated since v${e}`,a=typeof console.groupCollapsed=="function"&&!rm.noColor;typeof n>"u"?console.warn("PixiJS Deprecation Warning: ",i):(n=n.split(`
`).splice(r).join(`
`),a?(console.groupCollapsed("%cPixiJS Deprecation Warning: %c%s","color:#614108;background:#fffbe6","font-weight:normal;color:#614108;background:#fffbe6",i),console.warn(n),console.groupEnd()):(console.warn("PixiJS Deprecation Warning: ",i),console.warn(n))),wZ.add(t)};Object.defineProperties(mr,{quiet:{get:()=>rm.quiet,set:e=>{rm.quiet=e},enumerable:!0,configurable:!1},noColor:{get:()=>rm.noColor,set:e=>{rm.noColor=e},enumerable:!0,configurable:!1}});const d1e=()=>{};function XS(e){return e+=e===0?1:0,--e,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e+1}function _Z(e){return!(e&e-1)&&!!e}function p1e(e){const t={};for(const r in e)e[r]!==void 0&&(t[r]=e[r]);return t}const AZ=Object.create(null);function Uct(e){const t=AZ[e];return t===void 0&&(AZ[e]=dn("resource")),t}const h1e=class f1e extends ko{constructor(t={}){var r,n,i,a,s,o,l;super(),this._resourceType="textureSampler",this._touched=0,this._maxAnisotropy=1,this.destroyed=!1,t={...f1e.defaultOptions,...t},this.addressMode=t.addressMode,this.addressModeU=(r=t.addressModeU)!=null?r:this.addressModeU,this.addressModeV=(n=t.addressModeV)!=null?n:this.addressModeV,this.addressModeW=(i=t.addressModeW)!=null?i:this.addressModeW,this.scaleMode=t.scaleMode,this.magFilter=(a=t.magFilter)!=null?a:this.magFilter,this.minFilter=(s=t.minFilter)!=null?s:this.minFilter,this.mipmapFilter=(o=t.mipmapFilter)!=null?o:this.mipmapFilter,this.lodMinClamp=t.lodMinClamp,this.lodMaxClamp=t.lodMaxClamp,this.compare=t.compare,this.maxAnisotropy=(l=t.maxAnisotropy)!=null?l:1}set addressMode(t){this.addressModeU=t,this.addressModeV=t,this.addressModeW=t}get addressMode(){return this.addressModeU}set wrapMode(t){mr(r0,"TextureStyle.wrapMode is now TextureStyle.addressMode"),this.addressMode=t}get wrapMode(){return this.addressMode}set scaleMode(t){this.magFilter=t,this.minFilter=t,this.mipmapFilter=t}get scaleMode(){return this.magFilter}set maxAnisotropy(t){this._maxAnisotropy=Math.min(t,16),this._maxAnisotropy>1&&(this.scaleMode="linear")}get maxAnisotropy(){return this._maxAnisotropy}get _resourceId(){return this._sharedResourceId||this._generateResourceId()}update(){this.emit("change",this),this._sharedResourceId=null}_generateResourceId(){const t=`${this.addressModeU}-${this.addressModeV}-${this.addressModeW}-${this.magFilter}-${this.minFilter}-${this.mipmapFilter}-${this.lodMinClamp}-${this.lodMaxClamp}-${this.compare}-${this._maxAnisotropy}`;return this._sharedResourceId=Uct(t),this._resourceId}destroy(){this.destroyed=!0,this.emit("destroy",this),this.emit("change",this),this.removeAllListeners()}};h1e.defaultOptions={addressMode:"clamp-to-edge",scaleMode:"linear"};let QS=h1e;const m1e=class g1e extends ko{constructor(t={}){var r,n,i;super(),this.options=t,this.uid=dn("textureSource"),this._resourceType="textureSource",this._resourceId=dn("resource"),this.uploadMethodId="unknown",this._resolution=1,this.pixelWidth=1,this.pixelHeight=1,this.width=1,this.height=1,this.sampleCount=1,this.mipLevelCount=1,this.autoGenerateMipmaps=!1,this.format="rgba8unorm",this.dimension="2d",this.antialias=!1,this._touched=0,this._batchTick=-1,this._textureBindLocation=-1,t={...g1e.defaultOptions,...t},this.label=(r=t.label)!=null?r:"",this.resource=t.resource,this.autoGarbageCollect=t.autoGarbageCollect,this._resolution=t.resolution,t.width?this.pixelWidth=t.width*this._resolution:this.pixelWidth=this.resource&&(n=this.resourceWidth)!=null?n:1,t.height?this.pixelHeight=t.height*this._resolution:this.pixelHeight=this.resource&&(i=this.resourceHeight)!=null?i:1,this.width=this.pixelWidth/this._resolution,this.height=this.pixelHeight/this._resolution,this.format=t.format,this.dimension=t.dimensions,this.mipLevelCount=t.mipLevelCount,this.autoGenerateMipmaps=t.autoGenerateMipmaps,this.sampleCount=t.sampleCount,this.antialias=t.antialias,this.alphaMode=t.alphaMode,this.style=new QS(p1e(t)),this.destroyed=!1,this._refreshPOT()}get source(){return this}get style(){return this._style}set style(t){var r,n;this.style!==t&&((r=this._style)==null||r.off("change",this._onStyleChange,this),this._style=t,(n=this._style)==null||n.on("change",this._onStyleChange,this),this._onStyleChange())}set maxAnisotropy(t){this._style.maxAnisotropy=t}get maxAnisotropy(){return this._style.maxAnisotropy}get addressMode(){return this._style.addressMode}set addressMode(t){this._style.addressMode=t}get repeatMode(){return this._style.addressMode}set repeatMode(t){this._style.addressMode=t}get magFilter(){return this._style.magFilter}set magFilter(t){this._style.magFilter=t}get minFilter(){return this._style.minFilter}set minFilter(t){this._style.minFilter=t}get mipmapFilter(){return this._style.mipmapFilter}set mipmapFilter(t){this._style.mipmapFilter=t}get lodMinClamp(){return this._style.lodMinClamp}set lodMinClamp(t){this._style.lodMinClamp=t}get lodMaxClamp(){return this._style.lodMaxClamp}set lodMaxClamp(t){this._style.lodMaxClamp=t}_onStyleChange(){this.emit("styleChange",this)}update(){if(this.resource){const t=this._resolution;if(this.resize(this.resourceWidth/t,this.resourceHeight/t))return}this.emit("update",this)}destroy(){this.destroyed=!0,this.emit("destroy",this),this.emit("change",this),this._style&&(this._style.destroy(),this._style=null),this.uploadMethodId=null,this.resource=null,this.removeAllListeners()}unload(){this._resourceId=dn("resource"),this.emit("change",this),this.emit("unload",this)}get resourceWidth(){const{resource:t}=this;return t.naturalWidth||t.videoWidth||t.displayWidth||t.width}get resourceHeight(){const{resource:t}=this;return t.naturalHeight||t.videoHeight||t.displayHeight||t.height}get resolution(){return this._resolution}set resolution(t){this._resolution!==t&&(this._resolution=t,this.width=this.pixelWidth/t,this.height=this.pixelHeight/t)}resize(t,r,n){n||(n=this._resolution),t||(t=this.width),r||(r=this.height);const i=Math.round(t*n),a=Math.round(r*n);return this.width=i/n,this.height=a/n,this._resolution=n,this.pixelWidth===i&&this.pixelHeight===a?!1:(this._refreshPOT(),this.pixelWidth=i,this.pixelHeight=a,this.emit("resize",this),this._resourceId=dn("resource"),this.emit("change",this),!0)}updateMipmaps(){this.autoGenerateMipmaps&&this.mipLevelCount>1&&this.emit("updateMipmaps",this)}set wrapMode(t){this._style.wrapMode=t}get wrapMode(){return this._style.wrapMode}set scaleMode(t){this._style.scaleMode=t}get scaleMode(){return this._style.scaleMode}_refreshPOT(){this.isPowerOfTwo=_Z(this.pixelWidth)&&_Z(this.pixelHeight)}static test(t){throw new Error("Unimplemented")}};m1e.defaultOptions={resolution:1,format:"bgra8unorm",alphaMode:"premultiply-alpha-on-upload",dimensions:"2d",mipLevelCount:1,autoGenerateMipmaps:!1,sampleCount:1,antialias:!1,autoGarbageCollect:!1};let Do=m1e;class jN extends Do{constructor(t){const r=t.resource||new Float32Array(t.width*t.height*4);let n=t.format;n||(r instanceof Float32Array?n="rgba32float":r instanceof Int32Array||r instanceof Uint32Array?n="rgba32uint":r instanceof Int16Array||r instanceof Uint16Array?n="rgba16uint":(r instanceof Int8Array,n="bgra8unorm")),super({...t,resource:r,format:n}),this.uploadMethodId="buffer"}static test(t){return t instanceof Int8Array||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array}}jN.extension=Et.TextureSource;const CZ=new vr;class Gct{constructor(t,r){this.mapCoord=new vr,this.uClampFrame=new Float32Array(4),this.uClampOffset=new Float32Array(2),this._textureID=-1,this._updateID=0,this.clampOffset=0,typeof r>"u"?this.clampMargin=t.width<10?0:.5:this.clampMargin=r,this.isSimple=!1,this.texture=t}get texture(){return this._texture}set texture(t){var r;this.texture!==t&&((r=this._texture)==null||r.removeListener("update",this.update,this),this._texture=t,this._texture.addListener("update",this.update,this),this.update())}multiplyUvs(t,r){r===void 0&&(r=t);const n=this.mapCoord;for(let i=0;i<t.length;i+=2){const a=t[i],s=t[i+1];r[i]=a*n.a+s*n.c+n.tx,r[i+1]=a*n.b+s*n.d+n.ty}return r}update(){const t=this._texture;this._updateID++;const r=t.uvs;this.mapCoord.set(r.x1-r.x0,r.y1-r.y0,r.x3-r.x0,r.y3-r.y0,r.x0,r.y0);const n=t.orig,i=t.trim;i&&(CZ.set(n.width/i.width,0,0,n.height/i.height,-i.x/i.width,-i.y/i.height),this.mapCoord.append(CZ));const a=t.source,s=this.uClampFrame,o=this.clampMargin/a._resolution,l=this.clampOffset/a._resolution;return s[0]=(t.frame.x+o+l)/a.width,s[1]=(t.frame.y+o+l)/a.height,s[2]=(t.frame.x+t.frame.width-o+l)/a.width,s[3]=(t.frame.y+t.frame.height-o+l)/a.height,this.uClampOffset[0]=this.clampOffset/a.pixelWidth,this.uClampOffset[1]=this.clampOffset/a.pixelHeight,this.isSimple=t.frame.width===a.width&&t.frame.height===a.height&&t.rotate===0,!0}}class cr extends ko{constructor({source:t,label:r,frame:n,orig:i,trim:a,defaultAnchor:s,defaultBorders:o,rotate:l,dynamic:c}={}){var u;if(super(),this.uid=dn("texture"),this.uvs={x0:0,y0:0,x1:0,y1:0,x2:0,y2:0,x3:0,y3:0},this.frame=new un,this.noFrame=!1,this.dynamic=!1,this.isTexture=!0,this.label=r,this.source=(u=t==null?void 0:t.source)!=null?u:new Do,this.noFrame=!n,n)this.frame.copyFrom(n);else{const{width:d,height:h}=this._source;this.frame.width=d,this.frame.height=h}this.orig=i||this.frame,this.trim=a,this.rotate=l!=null?l:0,this.defaultAnchor=s,this.defaultBorders=o,this.destroyed=!1,this.dynamic=c||!1,this.updateUvs()}set source(t){this._source&&this._source.off("resize",this.update,this),this._source=t,t.on("resize",this.update,this),this.emit("update",this)}get source(){return this._source}get textureMatrix(){return this._textureMatrix||(this._textureMatrix=new Gct(this)),this._textureMatrix}get width(){return this.orig.width}get height(){return this.orig.height}updateUvs(){const{uvs:t,frame:r}=this,{width:n,height:i}=this._source,a=r.x/n,s=r.y/i,o=r.width/n,l=r.height/i;let c=this.rotate;if(c){const u=o/2,d=l/2,h=a+u,p=s+d;c=t0.add(c,t0.NW),t.x0=h+u*t0.uX(c),t.y0=p+d*t0.uY(c),c=t0.add(c,2),t.x1=h+u*t0.uX(c),t.y1=p+d*t0.uY(c),c=t0.add(c,2),t.x2=h+u*t0.uX(c),t.y2=p+d*t0.uY(c),c=t0.add(c,2),t.x3=h+u*t0.uX(c),t.y3=p+d*t0.uY(c)}else t.x0=a,t.y0=s,t.x1=a+o,t.y1=s,t.x2=a+o,t.y2=s+l,t.x3=a,t.y3=s+l}destroy(t=!1){this._source&&t&&(this._source.destroy(),this._source=null),this._textureMatrix=null,this.destroyed=!0,this.emit("destroy",this),this.removeAllListeners()}update(){this.noFrame&&(this.frame.width=this._source.width,this.frame.height=this._source.height),this.updateUvs(),this.emit("update",this)}get baseTexture(){return mr(r0,"Texture.baseTexture is now Texture.source"),this._source}}cr.EMPTY=new cr({label:"EMPTY",source:new Do({label:"EMPTY"})});cr.EMPTY.destroy=d1e;cr.WHITE=new cr({source:new jN({resource:new Uint8Array([255,255,255,255]),width:1,height:1,alphaMode:"premultiply-alpha-on-upload",label:"WHITE"}),label:"WHITE"});cr.WHITE.destroy=d1e;function Vct(e,t,r){const{width:n,height:i}=r.orig,a=r.trim;if(a){const s=a.width,o=a.height;e.minX=a.x-t._x*n,e.maxX=e.minX+s,e.minY=a.y-t._y*i,e.maxY=e.minY+o}else e.minX=-t._x*n,e.maxX=e.minX+n,e.minY=-t._y*i,e.maxY=e.minY+i}const EZ=new vr;class _o{constructor(t=1/0,r=1/0,n=-1/0,i=-1/0){this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0,this.matrix=EZ,this.minX=t,this.minY=r,this.maxX=n,this.maxY=i}isEmpty(){return this.minX>this.maxX||this.minY>this.maxY}get rectangle(){this._rectangle||(this._rectangle=new un);const t=this._rectangle;return this.minX>this.maxX||this.minY>this.maxY?(t.x=0,t.y=0,t.width=0,t.height=0):t.copyFromBounds(this),t}clear(){return this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0,this.matrix=EZ,this}set(t,r,n,i){this.minX=t,this.minY=r,this.maxX=n,this.maxY=i}addFrame(t,r,n,i,a){a||(a=this.matrix);const s=a.a,o=a.b,l=a.c,c=a.d,u=a.tx,d=a.ty;let h=this.minX,p=this.minY,m=this.maxX,g=this.maxY,b=s*t+l*r+u,y=o*t+c*r+d;b<h&&(h=b),y<p&&(p=y),b>m&&(m=b),y>g&&(g=y),b=s*n+l*r+u,y=o*n+c*r+d,b<h&&(h=b),y<p&&(p=y),b>m&&(m=b),y>g&&(g=y),b=s*t+l*i+u,y=o*t+c*i+d,b<h&&(h=b),y<p&&(p=y),b>m&&(m=b),y>g&&(g=y),b=s*n+l*i+u,y=o*n+c*i+d,b<h&&(h=b),y<p&&(p=y),b>m&&(m=b),y>g&&(g=y),this.minX=h,this.minY=p,this.maxX=m,this.maxY=g}addRect(t,r){this.addFrame(t.x,t.y,t.x+t.width,t.y+t.height,r)}addBounds(t,r){this.addFrame(t.minX,t.minY,t.maxX,t.maxY,r)}addBoundsMask(t){this.minX=this.minX>t.minX?this.minX:t.minX,this.minY=this.minY>t.minY?this.minY:t.minY,this.maxX=this.maxX<t.maxX?this.maxX:t.maxX,this.maxY=this.maxY<t.maxY?this.maxY:t.maxY}applyMatrix(t){const r=this.minX,n=this.minY,i=this.maxX,a=this.maxY,{a:s,b:o,c:l,d:c,tx:u,ty:d}=t;let h=s*r+l*n+u,p=o*r+c*n+d;this.minX=h,this.minY=p,this.maxX=h,this.maxY=p,h=s*i+l*n+u,p=o*i+c*n+d,this.minX=h<this.minX?h:this.minX,this.minY=p<this.minY?p:this.minY,this.maxX=h>this.maxX?h:this.maxX,this.maxY=p>this.maxY?p:this.maxY,h=s*r+l*a+u,p=o*r+c*a+d,this.minX=h<this.minX?h:this.minX,this.minY=p<this.minY?p:this.minY,this.maxX=h>this.maxX?h:this.maxX,this.maxY=p>this.maxY?p:this.maxY,h=s*i+l*a+u,p=o*i+c*a+d,this.minX=h<this.minX?h:this.minX,this.minY=p<this.minY?p:this.minY,this.maxX=h>this.maxX?h:this.maxX,this.maxY=p>this.maxY?p:this.maxY}fit(t){return this.minX<t.left&&(this.minX=t.left),this.maxX>t.right&&(this.maxX=t.right),this.minY<t.top&&(this.minY=t.top),this.maxY>t.bottom&&(this.maxY=t.bottom),this}fitBounds(t,r,n,i){return this.minX<t&&(this.minX=t),this.maxX>r&&(this.maxX=r),this.minY<n&&(this.minY=n),this.maxY>i&&(this.maxY=i),this}pad(t,r=t){return this.minX-=t,this.maxX+=t,this.minY-=r,this.maxY+=r,this}ceil(){return this.minX=Math.floor(this.minX),this.minY=Math.floor(this.minY),this.maxX=Math.ceil(this.maxX),this.maxY=Math.ceil(this.maxY),this}clone(){return new _o(this.minX,this.minY,this.maxX,this.maxY)}scale(t,r=t){return this.minX*=t,this.minY*=r,this.maxX*=t,this.maxY*=r,this}get x(){return this.minX}set x(t){const r=this.maxX-this.minX;this.minX=t,this.maxX=t+r}get y(){return this.minY}set y(t){const r=this.maxY-this.minY;this.minY=t,this.maxY=t+r}get width(){return this.maxX-this.minX}set width(t){this.maxX=this.minX+t}get height(){return this.maxY-this.minY}set height(t){this.maxY=this.minY+t}get left(){return this.minX}get right(){return this.maxX}get top(){return this.minY}get bottom(){return this.maxY}get isPositive(){return this.maxX-this.minX>0&&this.maxY-this.minY>0}get isValid(){return this.minX+this.minY!==1/0}addVertexData(t,r,n,i){let a=this.minX,s=this.minY,o=this.maxX,l=this.maxY;i||(i=this.matrix);const c=i.a,u=i.b,d=i.c,h=i.d,p=i.tx,m=i.ty;for(let g=r;g<n;g+=2){const b=t[g],y=t[g+1],v=c*b+d*y+p,S=u*b+h*y+m;a=v<a?v:a,s=S<s?S:s,o=v>o?v:o,l=S>l?S:l}this.minX=a,this.minY=s,this.maxX=o,this.maxY=l}containsPoint(t,r){return this.minX<=t&&this.minY<=r&&this.maxX>=t&&this.maxY>=r}toString(){return`[pixi.js:Bounds minX=${this.minX} minY=${this.minY} maxX=${this.maxX} maxY=${this.maxY} width=${this.width} height=${this.height}]`}copyFrom(t){return this.minX=t.minX,this.minY=t.minY,this.maxX=t.maxX,this.maxY=t.maxY,this}}var Yct={grad:.9,turn:360,rad:360/(2*Math.PI)},nc=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Yn=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Ts=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},b1e=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},PZ=function(e){return{r:Ts(e.r,0,255),g:Ts(e.g,0,255),b:Ts(e.b,0,255),a:Ts(e.a)}},LC=function(e){return{r:Yn(e.r),g:Yn(e.g),b:Yn(e.b),a:Yn(e.a,3)}},Kct=/^#([0-9a-f]{3,8})$/i,m3=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},y1e=function(e){var t=e.r,r=e.g,n=e.b,i=e.a,a=Math.max(t,r,n),s=a-Math.min(t,r,n),o=s?a===t?(r-n)/s:a===r?2+(n-t)/s:4+(t-r)/s:0;return{h:60*(o<0?o+6:o),s:a?s/a*100:0,v:a/255*100,a:i}},v1e=function(e){var t=e.h,r=e.s,n=e.v,i=e.a;t=t/360*6,r/=100,n/=100;var a=Math.floor(t),s=n*(1-r),o=n*(1-(t-a)*r),l=n*(1-(1-t+a)*r),c=a%6;return{r:255*[n,o,s,s,l,n][c],g:255*[l,n,n,o,s,s][c],b:255*[s,s,l,n,n,o][c],a:i}},jZ=function(e){return{h:b1e(e.h),s:Ts(e.s,0,100),l:Ts(e.l,0,100),a:Ts(e.a)}},RZ=function(e){return{h:Yn(e.h),s:Yn(e.s),l:Yn(e.l),a:Yn(e.a,3)}},IZ=function(e){return v1e((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},qy=function(e){return{h:(t=y1e(e)).h,s:(i=(200-(r=t.s))*(n=t.v)/100)>0&&i<200?r*n/100/(i<=100?i:200-i)*100:0,l:i/2,a:t.a};var t,r,n,i},Xct=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Qct=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Jct=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Zct=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,nM={string:[[function(e){var t=Kct.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Yn(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Yn(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=Jct.exec(e)||Zct.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:PZ({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=Xct.exec(e)||Qct.exec(e);if(!t)return null;var r,n,i=jZ({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(Yct[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return IZ(i)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,i=e.a,a=i===void 0?1:i;return nc(t)&&nc(r)&&nc(n)?PZ({r:Number(t),g:Number(r),b:Number(n),a:Number(a)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,i=e.a,a=i===void 0?1:i;if(!nc(t)||!nc(r)||!nc(n))return null;var s=jZ({h:Number(t),s:Number(r),l:Number(n),a:Number(a)});return IZ(s)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,i=e.a,a=i===void 0?1:i;if(!nc(t)||!nc(r)||!nc(n))return null;var s=(function(o){return{h:b1e(o.h),s:Ts(o.s,0,100),v:Ts(o.v,0,100),a:Ts(o.a)}})({h:Number(t),s:Number(r),v:Number(n),a:Number(a)});return v1e(s)},"hsv"]]},OZ=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},eut=function(e){return typeof e=="string"?OZ(e.trim(),nM.string):typeof e=="object"&&e!==null?OZ(e,nM.object):[null,void 0]},FC=function(e,t){var r=qy(e);return{h:r.h,s:Ts(r.s+100*t,0,100),l:r.l,a:r.a}},$C=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},MZ=function(e,t){var r=qy(e);return{h:r.h,s:r.s,l:Ts(r.l+100*t,0,100),a:r.a}},iM=(function(){function e(t){this.parsed=eut(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Yn($C(this.rgba),2)},e.prototype.isDark=function(){return $C(this.rgba)<.5},e.prototype.isLight=function(){return $C(this.rgba)>=.5},e.prototype.toHex=function(){return t=LC(this.rgba),r=t.r,n=t.g,i=t.b,s=(a=t.a)<1?m3(Yn(255*a)):"","#"+m3(r)+m3(n)+m3(i)+s;var t,r,n,i,a,s},e.prototype.toRgb=function(){return LC(this.rgba)},e.prototype.toRgbString=function(){return t=LC(this.rgba),r=t.r,n=t.g,i=t.b,(a=t.a)<1?"rgba("+r+", "+n+", "+i+", "+a+")":"rgb("+r+", "+n+", "+i+")";var t,r,n,i,a},e.prototype.toHsl=function(){return RZ(qy(this.rgba))},e.prototype.toHslString=function(){return t=RZ(qy(this.rgba)),r=t.h,n=t.s,i=t.l,(a=t.a)<1?"hsla("+r+", "+n+"%, "+i+"%, "+a+")":"hsl("+r+", "+n+"%, "+i+"%)";var t,r,n,i,a},e.prototype.toHsv=function(){return t=y1e(this.rgba),{h:Yn(t.h),s:Yn(t.s),v:Yn(t.v),a:Yn(t.a,3)};var t},e.prototype.invert=function(){return Uo({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),Uo(FC(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),Uo(FC(this.rgba,-t))},e.prototype.grayscale=function(){return Uo(FC(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),Uo(MZ(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),Uo(MZ(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?Uo({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):Yn(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=qy(this.rgba);return typeof t=="number"?Uo({h:t,s:r.s,l:r.l,a:r.a}):Yn(r.h)},e.prototype.isEqual=function(t){return this.toHex()===Uo(t).toHex()},e})(),Uo=function(e){return e instanceof iM?e:new iM(e)},kZ=[],tut=function(e){e.forEach(function(t){kZ.indexOf(t)<0&&(t(iM,nM),kZ.push(t))})};function rut(e,t){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},n={};for(var i in r)n[r[i]]=i;var a={};e.prototype.toName=function(s){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var o,l,c=n[this.toHex()];if(c)return c;if(s!=null&&s.closest){var u=this.toRgb(),d=1/0,h="black";if(!a.length)for(var p in r)a[p]=new e(r[p]).toRgb();for(var m in r){var g=(o=u,l=a[m],Math.pow(o.r-l.r,2)+Math.pow(o.g-l.g,2)+Math.pow(o.b-l.b,2));g<d&&(d=g,h=m)}return h}},t.string.push([function(s){var o=s.toLowerCase(),l=o==="transparent"?"#0000":r[o];return l?new e(l).toRgb():null},"name"])}tut([rut]);const mg=class ty{constructor(t=16777215){this._value=null,this._components=new Float32Array(4),this._components.fill(1),this._int=16777215,this.value=t}get red(){return this._components[0]}get green(){return this._components[1]}get blue(){return this._components[2]}get alpha(){return this._components[3]}setValue(t){return this.value=t,this}set value(t){if(t instanceof ty)this._value=this._cloneSource(t._value),this._int=t._int,this._components.set(t._components);else{if(t===null)throw new Error("Cannot set Color#value to null");(this._value===null||!this._isSourceEqual(this._value,t))&&(this._value=this._cloneSource(t),this._normalize(this._value))}}get value(){return this._value}_cloneSource(t){return typeof t=="string"||typeof t=="number"||t instanceof Number||t===null?t:Array.isArray(t)||ArrayBuffer.isView(t)?t.slice(0):typeof t=="object"&&t!==null?{...t}:t}_isSourceEqual(t,r){const n=typeof t;if(n!==typeof r)return!1;if(n==="number"||n==="string"||t instanceof Number)return t===r;if(Array.isArray(t)&&Array.isArray(r)||ArrayBuffer.isView(t)&&ArrayBuffer.isView(r))return t.length!==r.length?!1:t.every((a,s)=>a===r[s]);if(t!==null&&r!==null){const a=Object.keys(t),s=Object.keys(r);return a.length!==s.length?!1:a.every(o=>t[o]===r[o])}return t===r}toRgba(){const[t,r,n,i]=this._components;return{r:t,g:r,b:n,a:i}}toRgb(){const[t,r,n]=this._components;return{r:t,g:r,b:n}}toRgbaString(){const[t,r,n]=this.toUint8RgbArray();return`rgba(${t},${r},${n},${this.alpha})`}toUint8RgbArray(t){const[r,n,i]=this._components;return this._arrayRgb||(this._arrayRgb=[]),t||(t=this._arrayRgb),t[0]=Math.round(r*255),t[1]=Math.round(n*255),t[2]=Math.round(i*255),t}toArray(t){this._arrayRgba||(this._arrayRgba=[]),t||(t=this._arrayRgba);const[r,n,i,a]=this._components;return t[0]=r,t[1]=n,t[2]=i,t[3]=a,t}toRgbArray(t){this._arrayRgb||(this._arrayRgb=[]),t||(t=this._arrayRgb);const[r,n,i]=this._components;return t[0]=r,t[1]=n,t[2]=i,t}toNumber(){return this._int}toBgrNumber(){const[t,r,n]=this.toUint8RgbArray();return(n<<16)+(r<<8)+t}toLittleEndianNumber(){const t=this._int;return(t>>16)+(t&65280)+((t&255)<<16)}multiply(t){const[r,n,i,a]=ty._temp.setValue(t)._components;return this._components[0]*=r,this._components[1]*=n,this._components[2]*=i,this._components[3]*=a,this._refreshInt(),this._value=null,this}premultiply(t,r=!0){return r&&(this._components[0]*=t,this._components[1]*=t,this._components[2]*=t),this._components[3]=t,this._refreshInt(),this._value=null,this}toPremultiplied(t,r=!0){if(t===1)return(255<<24)+this._int;if(t===0)return r?0:this._int;let n=this._int>>16&255,i=this._int>>8&255,a=this._int&255;return r&&(n=n*t+.5|0,i=i*t+.5|0,a=a*t+.5|0),(t*255<<24)+(n<<16)+(i<<8)+a}toHex(){const t=this._int.toString(16);return`#${"000000".substring(0,6-t.length)+t}`}toHexa(){const r=Math.round(this._components[3]*255).toString(16);return this.toHex()+"00".substring(0,2-r.length)+r}setAlpha(t){return this._components[3]=this._clamp(t),this}_normalize(t){let r,n,i,a;if((typeof t=="number"||t instanceof Number)&&t>=0&&t<=16777215){const s=t;r=(s>>16&255)/255,n=(s>>8&255)/255,i=(s&255)/255,a=1}else if((Array.isArray(t)||t instanceof Float32Array)&&t.length>=3&&t.length<=4)t=this._clamp(t),[r,n,i,a=1]=t;else if((t instanceof Uint8Array||t instanceof Uint8ClampedArray)&&t.length>=3&&t.length<=4)t=this._clamp(t,0,255),[r,n,i,a=255]=t,r/=255,n/=255,i/=255,a/=255;else if(typeof t=="string"||typeof t=="object"){if(typeof t=="string"){const o=ty.HEX_PATTERN.exec(t);o&&(t=`#${o[2]}`)}const s=Uo(t);s.isValid()&&({r,g:n,b:i,a}=s.rgba,r/=255,n/=255,i/=255)}if(r!==void 0)this._components[0]=r,this._components[1]=n,this._components[2]=i,this._components[3]=a,this._refreshInt();else throw new Error(`Unable to convert color ${t}`)}_refreshInt(){this._clamp(this._components);const[t,r,n]=this._components;this._int=(t*255<<16)+(r*255<<8)+(n*255|0)}_clamp(t,r=0,n=1){return typeof t=="number"?Math.min(Math.max(t,r),n):(t.forEach((i,a)=>{t[a]=Math.min(Math.max(i,r),n)}),t)}static isColorLike(t){return typeof t=="number"||typeof t=="string"||t instanceof Number||t instanceof ty||Array.isArray(t)||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Float32Array||t.r!==void 0&&t.g!==void 0&&t.b!==void 0||t.r!==void 0&&t.g!==void 0&&t.b!==void 0&&t.a!==void 0||t.h!==void 0&&t.s!==void 0&&t.l!==void 0||t.h!==void 0&&t.s!==void 0&&t.l!==void 0&&t.a!==void 0||t.h!==void 0&&t.s!==void 0&&t.v!==void 0||t.h!==void 0&&t.s!==void 0&&t.v!==void 0&&t.a!==void 0}};mg.shared=new mg;mg._temp=new mg;mg.HEX_PATTERN=/^(#|0x)?(([a-f0-9]{3}){1,2}([a-f0-9]{2})?)$/i;let Bn=mg;const nut={cullArea:null,cullable:!1,cullableChildren:!0};let BC=0;const DZ=500;function A0(...e){BC!==DZ&&(BC++,BC===DZ?console.warn("PixiJS Warning: too many warnings, no more warnings will be reported to the console by PixiJS."):console.warn("PixiJS Warning: ",...e))}const Av={_registeredResources:new Set,register(e){this._registeredResources.add(e)},unregister(e){this._registeredResources.delete(e)},release(){this._registeredResources.forEach(e=>e.clear())},get registeredCount(){return this._registeredResources.size},isRegistered(e){return this._registeredResources.has(e)},reset(){this._registeredResources.clear()}};class iut{constructor(t,r){this._pool=[],this._count=0,this._index=0,this._classType=t,r&&this.prepopulate(r)}prepopulate(t){for(let r=0;r<t;r++)this._pool[this._index++]=new this._classType;this._count+=t}get(t){var n;let r;return this._index>0?r=this._pool[--this._index]:r=new this._classType,(n=r.init)==null||n.call(r,t),r}return(t){var r;(r=t.reset)==null||r.call(t),this._pool[this._index++]=t}get totalSize(){return this._count}get totalFree(){return this._index}get totalUsed(){return this._count-this._index}clear(){if(this._pool.length>0&&this._pool[0].destroy)for(let t=0;t<this._index;t++)this._pool[t].destroy();this._pool.length=0,this._count=0,this._index=0}}class aut{constructor(){this._poolsByClass=new Map}prepopulate(t,r){this.getPool(t).prepopulate(r)}get(t,r){return this.getPool(t).get(r)}return(t){this.getPool(t.constructor).return(t)}getPool(t){return this._poolsByClass.has(t)||this._poolsByClass.set(t,new iut(t)),this._poolsByClass.get(t)}stats(){const t={};return this._poolsByClass.forEach(r=>{const n=t[r._classType.name]?r._classType.name+r._classType.ID:r._classType.name;t[n]={free:r.totalFree,used:r.totalUsed,size:r.totalSize}}),t}clear(){this._poolsByClass.forEach(t=>t.clear()),this._poolsByClass.clear()}}const Cs=new aut;Av.register(Cs);const sut={get isCachedAsTexture(){var e;return!!((e=this.renderGroup)!=null&&e.isCachedAsTexture)},cacheAsTexture(e){typeof e=="boolean"&&e===!1?this.disableRenderGroup():(this.enableRenderGroup(),this.renderGroup.enableCacheAsTexture(e===!0?{}:e))},updateCacheTexture(){var e;(e=this.renderGroup)==null||e.updateCacheTexture()},get cacheAsBitmap(){return this.isCachedAsTexture},set cacheAsBitmap(e){mr("v8.6.0","cacheAsBitmap is deprecated, use cacheAsTexture instead."),this.cacheAsTexture(e)}};function out(e,t,r){const n=e.length;let i;if(t>=n||r===0)return;r=t+r>n?n-t:r;const a=n-r;for(i=t;i<a;++i)e[i]=e[i+r];e.length=a}const lut={allowChildren:!0,removeChildren(e=0,t){var a;const r=t!=null?t:this.children.length,n=r-e,i=[];if(n>0&&n<=r){for(let o=r-1;o>=e;o--){const l=this.children[o];l&&(i.push(l),l.parent=null)}out(this.children,e,r);const s=this.renderGroup||this.parentRenderGroup;s&&s.removeChildren(i);for(let o=0;o<i.length;++o){const l=i[o];(a=l.parentRenderLayer)==null||a.detach(l),this.emit("childRemoved",l,this,o),i[o].emit("removed",this)}return i.length>0&&this._didViewChangeTick++,i}else if(n===0&&this.children.length===0)return i;throw new RangeError("removeChildren: numeric values are outside the acceptable range.")},removeChildAt(e){const t=this.getChildAt(e);return this.removeChild(t)},getChildAt(e){if(e<0||e>=this.children.length)throw new Error(`getChildAt: Index (${e}) does not exist.`);return this.children[e]},setChildIndex(e,t){if(t<0||t>=this.children.length)throw new Error(`The index ${t} supplied is out of bounds ${this.children.length}`);this.getChildIndex(e),this.addChildAt(e,t)},getChildIndex(e){const t=this.children.indexOf(e);if(t===-1)throw new Error("The supplied Container must be a child of the caller");return t},addChildAt(e,t){this.allowChildren||mr(r0,"addChildAt: Only Containers will be allowed to add children in v8.0.0");const{children:r}=this;if(t<0||t>r.length)throw new Error(`${e}addChildAt: The index ${t} supplied is out of bounds ${r.length}`);if(e.parent){const i=e.parent.children.indexOf(e);if(e.parent===this&&i===t)return e;i!==-1&&e.parent.children.splice(i,1)}t===r.length?r.push(e):r.splice(t,0,e),e.parent=this,e.didChange=!0,e._updateFlags=15;const n=this.renderGroup||this.parentRenderGroup;return n&&n.addChild(e),this.sortableChildren&&(this.sortDirty=!0),this.emit("childAdded",e,this,t),e.emit("added",this),e},swapChildren(e,t){if(e===t)return;const r=this.getChildIndex(e),n=this.getChildIndex(t);this.children[r]=t,this.children[n]=e;const i=this.renderGroup||this.parentRenderGroup;i&&(i.structureDidChange=!0),this._didContainerChangeTick++},removeFromParent(){var e;(e=this.parent)==null||e.removeChild(this)},reparentChild(...e){return e.length===1?this.reparentChildAt(e[0],this.children.length):(e.forEach(t=>this.reparentChildAt(t,this.children.length)),e[0])},reparentChildAt(e,t){if(e.parent===this)return this.setChildIndex(e,t),e;const r=e.worldTransform.clone();e.removeFromParent(),this.addChildAt(e,t);const n=this.worldTransform.clone();return n.invert(),r.prepend(n),e.setFromMatrix(r),e},replaceChild(e,t){e.updateLocalTransform(),this.addChildAt(t,this.getChildIndex(e)),t.setFromMatrix(e.localTransform),t.updateLocalTransform(),this.removeChild(e)}},cut={collectRenderables(e,t,r){this.parentRenderLayer&&this.parentRenderLayer!==r||this.globalDisplayStatus<7||!this.includeInBuild||(this.sortableChildren&&this.sortChildren(),this.isSimple?this.collectRenderablesSimple(e,t,r):this.renderGroup?t.renderPipes.renderGroup.addRenderGroup(this.renderGroup,e):this.collectRenderablesWithEffects(e,t,r))},collectRenderablesSimple(e,t,r){const n=this.children,i=n.length;for(let a=0;a<i;a++)n[a].collectRenderables(e,t,r)},collectRenderablesWithEffects(e,t,r){const{renderPipes:n}=t;for(let i=0;i<this.effects.length;i++){const a=this.effects[i];n[a.pipe].push(a,this,e)}this.collectRenderablesSimple(e,t,r);for(let i=this.effects.length-1;i>=0;i--){const a=this.effects[i];n[a.pipe].pop(a,this,e)}}};class LZ{constructor(){this.pipe="filter",this.priority=1}destroy(){for(let t=0;t<this.filters.length;t++)this.filters[t].destroy();this.filters=null,this.filterArea=null}}class uut{constructor(){this._effectClasses=[],this._tests=[],this._initialized=!1}init(){this._initialized||(this._initialized=!0,this._effectClasses.forEach(t=>{this.add({test:t.test,maskClass:t})}))}add(t){this._tests.push(t)}getMaskEffect(t){this._initialized||this.init();for(let r=0;r<this._tests.length;r++){const n=this._tests[r];if(n.test(t))return Cs.get(n.maskClass,t)}return t}returnMaskEffect(t){Cs.return(t)}}const aM=new uut;pi.handleByList(Et.MaskEffect,aM._effectClasses);const dut={_maskEffect:null,_maskOptions:{inverse:!1},_filterEffect:null,effects:[],_markStructureAsChanged(){const e=this.renderGroup||this.parentRenderGroup;e&&(e.structureDidChange=!0)},addEffect(e){this.effects.indexOf(e)===-1&&(this.effects.push(e),this.effects.sort((r,n)=>r.priority-n.priority),this._markStructureAsChanged(),this._updateIsSimple())},removeEffect(e){const t=this.effects.indexOf(e);t!==-1&&(this.effects.splice(t,1),this._markStructureAsChanged(),this._updateIsSimple())},set mask(e){const t=this._maskEffect;(t==null?void 0:t.mask)!==e&&(t&&(this.removeEffect(t),aM.returnMaskEffect(t),this._maskEffect=null),e!=null&&(this._maskEffect=aM.getMaskEffect(e),this.addEffect(this._maskEffect)))},get mask(){var e;return(e=this._maskEffect)==null?void 0:e.mask},setMask(e){this._maskOptions={...this._maskOptions,...e},e.mask&&(this.mask=e.mask),this._markStructureAsChanged()},set filters(e){var a;!Array.isArray(e)&&e&&(e=[e]);const t=this._filterEffect||(this._filterEffect=new LZ);e=e;const r=(e==null?void 0:e.length)>0,n=((a=t.filters)==null?void 0:a.length)>0,i=r!==n;e=Array.isArray(e)?e.slice(0):e,t.filters=Object.freeze(e),i&&(r?this.addEffect(t):(this.removeEffect(t),t.filters=e!=null?e:null))},get filters(){var e;return(e=this._filterEffect)==null?void 0:e.filters},set filterArea(e){this._filterEffect||(this._filterEffect=new LZ),this._filterEffect.filterArea=e},get filterArea(){var e;return(e=this._filterEffect)==null?void 0:e.filterArea}},put={label:null,get name(){return mr(r0,"Container.name property has been removed, use Container.label instead"),this.label},set name(e){mr(r0,"Container.name property has been removed, use Container.label instead"),this.label=e},getChildByName(e,t=!1){return this.getChildByLabel(e,t)},getChildByLabel(e,t=!1){const r=this.children;for(let n=0;n<r.length;n++){const i=r[n];if(i.label===e||e instanceof RegExp&&e.test(i.label))return i}if(t)for(let n=0;n<r.length;n++){const a=r[n].getChildByLabel(e,!0);if(a)return a}return null},getChildrenByLabel(e,t=!1,r=[]){const n=this.children;for(let i=0;i<n.length;i++){const a=n[i];(a.label===e||e instanceof RegExp&&e.test(a.label))&&r.push(a)}if(t)for(let i=0;i<n.length;i++)n[i].getChildrenByLabel(e,!0,r);return r}},Ji=Cs.getPool(vr),Uc=Cs.getPool(_o),hut=new vr,fut={getFastGlobalBounds(e,t){t||(t=new _o),t.clear(),this._getGlobalBoundsRecursive(!!e,t,this.parentRenderLayer),t.isValid||t.set(0,0,0,0);const r=this.renderGroup||this.parentRenderGroup;return t.applyMatrix(r.worldTransform),t},_getGlobalBoundsRecursive(e,t,r){let n=t;if(e&&this.parentRenderLayer&&this.parentRenderLayer!==r||this.localDisplayStatus!==7||!this.measurable)return;const i=!!this.effects.length;if((this.renderGroup||i)&&(n=Uc.get().clear()),this.boundsArea)t.addRect(this.boundsArea,this.worldTransform);else{if(this.renderPipeId){const s=this.bounds;n.addFrame(s.minX,s.minY,s.maxX,s.maxY,this.groupTransform)}const a=this.children;for(let s=0;s<a.length;s++)a[s]._getGlobalBoundsRecursive(e,n,r)}if(i){let a=!1;const s=this.renderGroup||this.parentRenderGroup;for(let o=0;o<this.effects.length;o++)this.effects[o].addBounds&&(a||(a=!0,n.applyMatrix(s.worldTransform)),this.effects[o].addBounds(n,!0));a&&n.applyMatrix(s.worldTransform.copyTo(hut).invert()),t.addBounds(n),Uc.return(n)}else this.renderGroup&&(t.addBounds(n,this.relativeGroupTransform),Uc.return(n))}};function T1e(e,t,r){r.clear();let n,i;return e.parent?t?n=e.parent.worldTransform:(i=Ji.get().identity(),n=RN(e,i)):n=vr.IDENTITY,S1e(e,r,n,t),i&&Ji.return(i),r.isValid||r.set(0,0,0,0),r}function S1e(e,t,r,n){var o,l;if(!e.visible||!e.measurable)return;let i;n?i=e.worldTransform:(e.updateLocalTransform(),i=Ji.get(),i.appendFrom(e.localTransform,r));const a=t,s=!!e.effects.length;if(s&&(t=Uc.get().clear()),e.boundsArea)t.addRect(e.boundsArea,i);else{const c=e.bounds;c&&!c.isEmpty()&&(t.matrix=i,t.addBounds(c));for(let u=0;u<e.children.length;u++)S1e(e.children[u],t,i,n)}if(s){for(let c=0;c<e.effects.length;c++)(l=(o=e.effects[c]).addBounds)==null||l.call(o,t);a.addBounds(t,vr.IDENTITY),Uc.return(t)}n||Ji.return(i)}function RN(e,t){const r=e.parent;return r&&(RN(r,t),r.updateLocalTransform(),t.append(r.localTransform)),t}function x1e(e,t){if(e===16777215||!t)return t;if(t===16777215||!e)return e;const r=e>>16&255,n=e>>8&255,i=e&255,a=t>>16&255,s=t>>8&255,o=t&255,l=r*a/255|0,c=n*s/255|0,u=i*o/255|0;return(l<<16)+(c<<8)+u}const FZ=16777215;function $Z(e,t){return e===FZ?t:t===FZ?e:x1e(e,t)}function TT(e){return((e&255)<<16)+(e&65280)+(e>>16&255)}const mut={getGlobalAlpha(e){if(e)return this.renderGroup?this.renderGroup.worldAlpha:this.parentRenderGroup?this.parentRenderGroup.worldAlpha*this.alpha:this.alpha;let t=this.alpha,r=this.parent;for(;r;)t*=r.alpha,r=r.parent;return t},getGlobalTransform(e=new vr,t){if(t)return e.copyFrom(this.worldTransform);this.updateLocalTransform();const r=RN(this,Ji.get().identity());return e.appendFrom(this.localTransform,r),Ji.return(r),e},getGlobalTint(e){if(e)return this.renderGroup?TT(this.renderGroup.worldColor):this.parentRenderGroup?TT($Z(this.localColor,this.parentRenderGroup.worldColor)):this.tint;let t=this.localColor,r=this.parent;for(;r;)t=$Z(t,r.localColor),r=r.parent;return TT(t)}};function w1e(e,t,r){return t.clear(),r||(r=vr.IDENTITY),_1e(e,t,r,e,!0),t.isValid||t.set(0,0,0,0),t}function _1e(e,t,r,n,i){var l,c;let a;if(i)a=Ji.get(),a=r.copyTo(a);else{if(!e.visible||!e.measurable)return;e.updateLocalTransform();const u=e.localTransform;a=Ji.get(),a.appendFrom(u,r)}const s=t,o=!!e.effects.length;if(o&&(t=Uc.get().clear()),e.boundsArea)t.addRect(e.boundsArea,a);else{e.renderPipeId&&(t.matrix=a,t.addBounds(e.bounds));const u=e.children;for(let d=0;d<u.length;d++)_1e(u[d],t,a,n,!1)}if(o){for(let u=0;u<e.effects.length;u++)(c=(l=e.effects[u]).addLocalBounds)==null||c.call(l,t,n);s.addBounds(t,vr.IDENTITY),Uc.return(t)}Ji.return(a)}function A1e(e,t){const r=e.children;for(let n=0;n<r.length;n++){const i=r[n],a=i.uid,s=(i._didViewChangeTick&65535)<<16|i._didContainerChangeTick&65535,o=t.index;(t.data[o]!==a||t.data[o+1]!==s)&&(t.data[t.index]=a,t.data[t.index+1]=s,t.didChange=!0),t.index=o+2,i.children.length&&A1e(i,t)}return t.didChange}const gut=new vr,but={_localBoundsCacheId:-1,_localBoundsCacheData:null,_setWidth(e,t){const r=Math.sign(this.scale.x)||1;t!==0?this.scale.x=e/t*r:this.scale.x=r},_setHeight(e,t){const r=Math.sign(this.scale.y)||1;t!==0?this.scale.y=e/t*r:this.scale.y=r},getLocalBounds(){this._localBoundsCacheData||(this._localBoundsCacheData={data:[],index:1,didChange:!1,localBounds:new _o});const e=this._localBoundsCacheData;return e.index=1,e.didChange=!1,e.data[0]!==this._didViewChangeTick&&(e.didChange=!0,e.data[0]=this._didViewChangeTick),A1e(this,e),e.didChange&&w1e(this,e.localBounds,gut),e.localBounds},getBounds(e,t){return T1e(this,e,t||new _o)}},yut={_onRender:null,set onRender(e){const t=this.renderGroup||this.parentRenderGroup;if(!e){this._onRender&&(t==null||t.removeOnRender(this)),this._onRender=null;return}this._onRender||t==null||t.addOnRender(this),this._onRender=e},get onRender(){return this._onRender}},vut={_zIndex:0,sortDirty:!1,sortableChildren:!1,get zIndex(){return this._zIndex},set zIndex(e){this._zIndex!==e&&(this._zIndex=e,this.depthOfChildModified())},depthOfChildModified(){this.parent&&(this.parent.sortableChildren=!0,this.parent.sortDirty=!0),this.parentRenderGroup&&(this.parentRenderGroup.structureDidChange=!0)},sortChildren(){this.sortDirty&&(this.sortDirty=!1,this.children.sort(Tut))}};function Tut(e,t){return e._zIndex-t._zIndex}const Sut={getGlobalPosition(e=new Oi,t=!1){return this.parent?this.parent.toGlobal(this._position,e,t):(e.x=this._position.x,e.y=this._position.y),e},toGlobal(e,t,r=!1){const n=this.getGlobalTransform(Ji.get(),r);return t=n.apply(e,t),Ji.return(n),t},toLocal(e,t,r,n){t&&(e=t.toGlobal(e,r,n));const i=this.getGlobalTransform(Ji.get(),n);return r=i.applyInverse(e,r),Ji.return(i),r}};class C1e{constructor(){this.uid=dn("instructionSet"),this.instructions=[],this.instructionSize=0,this.renderables=[],this.gcTick=0}reset(){this.instructionSize=0}destroy(){this.instructions.length=0,this.renderables.length=0,this.renderPipes=null,this.gcTick=0}add(t){this.instructions[this.instructionSize++]=t}log(){this.instructions.length=this.instructionSize,console.table(this.instructions,["type","action"])}}let xut=0;class wut{constructor(t){this._poolKeyHash=Object.create(null),this._texturePool={},this.textureOptions=t||{},this.enableFullScreen=!1,this.textureStyle=new QS(this.textureOptions)}createTexture(t,r,n){const i=new Do({...this.textureOptions,width:t,height:r,resolution:1,antialias:n,autoGarbageCollect:!1});return new cr({source:i,label:`texturePool_${xut++}`})}getOptimalTexture(t,r,n=1,i){let a=Math.ceil(t*n-1e-6),s=Math.ceil(r*n-1e-6);a=XS(a),s=XS(s);const o=(a<<17)+(s<<1)+(i?1:0);this._texturePool[o]||(this._texturePool[o]=[]);let l=this._texturePool[o].pop();return l||(l=this.createTexture(a,s,i)),l.source._resolution=n,l.source.width=a/n,l.source.height=s/n,l.source.pixelWidth=a,l.source.pixelHeight=s,l.frame.x=0,l.frame.y=0,l.frame.width=t,l.frame.height=r,l.updateUvs(),this._poolKeyHash[l.uid]=o,l}getSameSizeTexture(t,r=!1){const n=t.source;return this.getOptimalTexture(t.width,t.height,n._resolution,r)}returnTexture(t,r=!1){const n=this._poolKeyHash[t.uid];r&&(t.source.style=this.textureStyle),this._texturePool[n].push(t)}clear(t){if(t=t!==!1,t)for(const r in this._texturePool){const n=this._texturePool[r];if(n)for(let i=0;i<n.length;i++)n[i].destroy(!0)}this._texturePool={}}}const E1e=new wut;Av.register(E1e);class _ut{constructor(){this.renderPipeId="renderGroup",this.root=null,this.canBundle=!1,this.renderGroupParent=null,this.renderGroupChildren=[],this.worldTransform=new vr,this.worldColorAlpha=4294967295,this.worldColor=16777215,this.worldAlpha=1,this.childrenToUpdate=Object.create(null),this.updateTick=0,this.gcTick=0,this.childrenRenderablesToUpdate={list:[],index:0},this.structureDidChange=!0,this.instructionSet=new C1e,this._onRenderContainers=[],this.textureNeedsUpdate=!0,this.isCachedAsTexture=!1,this._matrixDirty=7}init(t){this.root=t,t._onRender&&this.addOnRender(t),t.didChange=!0;const r=t.children;for(let n=0;n<r.length;n++){const i=r[n];i._updateFlags=15,this.addChild(i)}}enableCacheAsTexture(t={}){this.textureOptions=t,this.isCachedAsTexture=!0,this.textureNeedsUpdate=!0}disableCacheAsTexture(){this.isCachedAsTexture=!1,this.texture&&(E1e.returnTexture(this.texture,!0),this.texture=null)}updateCacheTexture(){this.textureNeedsUpdate=!0;const t=this._parentCacheAsTextureRenderGroup;t&&!t.textureNeedsUpdate&&t.updateCacheTexture()}reset(){this.renderGroupChildren.length=0;for(const t in this.childrenToUpdate){const r=this.childrenToUpdate[t];r.list.fill(null),r.index=0}this.childrenRenderablesToUpdate.index=0,this.childrenRenderablesToUpdate.list.fill(null),this.root=null,this.updateTick=0,this.structureDidChange=!0,this._onRenderContainers.length=0,this.renderGroupParent=null,this.disableCacheAsTexture()}get localTransform(){return this.root.localTransform}addRenderGroupChild(t){t.renderGroupParent&&t.renderGroupParent._removeRenderGroupChild(t),t.renderGroupParent=this,this.renderGroupChildren.push(t)}_removeRenderGroupChild(t){const r=this.renderGroupChildren.indexOf(t);r>-1&&this.renderGroupChildren.splice(r,1),t.renderGroupParent=null}addChild(t){if(this.structureDidChange=!0,t.parentRenderGroup=this,t.updateTick=-1,t.parent===this.root?t.relativeRenderGroupDepth=1:t.relativeRenderGroupDepth=t.parent.relativeRenderGroupDepth+1,t.didChange=!0,this.onChildUpdate(t),t.renderGroup){this.addRenderGroupChild(t.renderGroup);return}t._onRender&&this.addOnRender(t);const r=t.children;for(let n=0;n<r.length;n++)this.addChild(r[n])}removeChild(t){if(this.structureDidChange=!0,t._onRender&&(t.renderGroup||this.removeOnRender(t)),t.parentRenderGroup=null,t.renderGroup){this._removeRenderGroupChild(t.renderGroup);return}const r=t.children;for(let n=0;n<r.length;n++)this.removeChild(r[n])}removeChildren(t){for(let r=0;r<t.length;r++)this.removeChild(t[r])}onChildUpdate(t){let r=this.childrenToUpdate[t.relativeRenderGroupDepth];r||(r=this.childrenToUpdate[t.relativeRenderGroupDepth]={index:0,list:[]}),r.list[r.index++]=t}updateRenderable(t){t.globalDisplayStatus<7||(this.instructionSet.renderPipes[t.renderPipeId].updateRenderable(t),t.didViewUpdate=!1)}onChildViewUpdate(t){this.childrenRenderablesToUpdate.list[this.childrenRenderablesToUpdate.index++]=t}get isRenderable(){return this.root.localDisplayStatus===7&&this.worldAlpha>0}addOnRender(t){this._onRenderContainers.push(t)}removeOnRender(t){this._onRenderContainers.splice(this._onRenderContainers.indexOf(t),1)}runOnRender(t){for(let r=0;r<this._onRenderContainers.length;r++)this._onRenderContainers[r]._onRender(t)}destroy(){this.disableCacheAsTexture(),this.renderGroupParent=null,this.root=null,this.childrenRenderablesToUpdate=null,this.childrenToUpdate=null,this.renderGroupChildren=null,this._onRenderContainers=null,this.instructionSet=null}getChildren(t=[]){const r=this.root.children;for(let n=0;n<r.length;n++)this._getChildren(r[n],t);return t}_getChildren(t,r=[]){if(r.push(t),t.renderGroup)return r;const n=t.children;for(let i=0;i<n.length;i++)this._getChildren(n[i],r);return r}invalidateMatrices(){this._matrixDirty=7}get inverseWorldTransform(){return(this._matrixDirty&1)===0?this._inverseWorldTransform:(this._matrixDirty&=-2,this._inverseWorldTransform||(this._inverseWorldTransform=new vr),this._inverseWorldTransform.copyFrom(this.worldTransform).invert())}get textureOffsetInverseTransform(){return(this._matrixDirty&2)===0?this._textureOffsetInverseTransform:(this._matrixDirty&=-3,this._textureOffsetInverseTransform||(this._textureOffsetInverseTransform=new vr),this._textureOffsetInverseTransform.copyFrom(this.inverseWorldTransform).translate(-this._textureBounds.x,-this._textureBounds.y))}get inverseParentTextureTransform(){if((this._matrixDirty&4)===0)return this._inverseParentTextureTransform;this._matrixDirty&=-5;const t=this._parentCacheAsTextureRenderGroup;return t?(this._inverseParentTextureTransform||(this._inverseParentTextureTransform=new vr),this._inverseParentTextureTransform.copyFrom(this.worldTransform).prepend(t.inverseWorldTransform).translate(-t._textureBounds.x,-t._textureBounds.y)):this.worldTransform}get cacheToLocalTransform(){return this.isCachedAsTexture?this.textureOffsetInverseTransform:this._parentCacheAsTextureRenderGroup?this._parentCacheAsTextureRenderGroup.textureOffsetInverseTransform:null}}function Aut(e,t,r={}){for(const n in t)!r[n]&&t[n]!==void 0&&(e[n]=t[n])}const NC=new Pi(null),g3=new Pi(null),qC=new Pi(null,1,1),b3=new Pi(null),BZ=1,Cut=2,zC=4;class Ud extends ko{constructor(t={}){var r,n;super(),this.uid=dn("renderable"),this._updateFlags=15,this.renderGroup=null,this.parentRenderGroup=null,this.parentRenderGroupIndex=0,this.didChange=!1,this.didViewUpdate=!1,this.relativeRenderGroupDepth=0,this.children=[],this.parent=null,this.includeInBuild=!0,this.measurable=!0,this.isSimple=!0,this.updateTick=-1,this.localTransform=new vr,this.relativeGroupTransform=new vr,this.groupTransform=this.relativeGroupTransform,this.destroyed=!1,this._position=new Pi(this,0,0),this._scale=qC,this._pivot=g3,this._origin=b3,this._skew=NC,this._cx=1,this._sx=0,this._cy=0,this._sy=1,this._rotation=0,this.localColor=16777215,this.localAlpha=1,this.groupAlpha=1,this.groupColor=16777215,this.groupColorAlpha=4294967295,this.localBlendMode="inherit",this.groupBlendMode="normal",this.localDisplayStatus=7,this.globalDisplayStatus=7,this._didContainerChangeTick=0,this._didViewChangeTick=0,this._didLocalTransformChangeId=-1,this.effects=[],Aut(this,t,{children:!0,parent:!0,effects:!0}),(r=t.children)==null||r.forEach(i=>this.addChild(i)),(n=t.parent)==null||n.addChild(this)}static mixin(t){mr("8.8.0","Container.mixin is deprecated, please use extensions.mixin instead."),pi.mixin(Ud,t)}set _didChangeId(t){this._didViewChangeTick=t>>12&4095,this._didContainerChangeTick=t&4095}get _didChangeId(){return this._didContainerChangeTick&4095|(this._didViewChangeTick&4095)<<12}addChild(...t){if(this.allowChildren||mr(r0,"addChild: Only Containers will be allowed to add children in v8.0.0"),t.length>1){for(let i=0;i<t.length;i++)this.addChild(t[i]);return t[0]}const r=t[0],n=this.renderGroup||this.parentRenderGroup;return r.parent===this?(this.children.splice(this.children.indexOf(r),1),this.children.push(r),n&&(n.structureDidChange=!0),r):(r.parent&&r.parent.removeChild(r),this.children.push(r),this.sortableChildren&&(this.sortDirty=!0),r.parent=this,r.didChange=!0,r._updateFlags=15,n&&n.addChild(r),this.emit("childAdded",r,this,this.children.length-1),r.emit("added",this),this._didViewChangeTick++,r._zIndex!==0&&r.depthOfChildModified(),r)}removeChild(...t){if(t.length>1){for(let i=0;i<t.length;i++)this.removeChild(t[i]);return t[0]}const r=t[0],n=this.children.indexOf(r);return n>-1&&(this._didViewChangeTick++,this.children.splice(n,1),this.renderGroup?this.renderGroup.removeChild(r):this.parentRenderGroup&&this.parentRenderGroup.removeChild(r),r.parentRenderLayer&&r.parentRenderLayer.detach(r),r.parent=null,this.emit("childRemoved",r,this,n),r.emit("removed",this)),r}_onUpdate(t){t&&t===this._skew&&this._updateSkew(),this._didContainerChangeTick++,!this.didChange&&(this.didChange=!0,this.parentRenderGroup&&this.parentRenderGroup.onChildUpdate(this))}set isRenderGroup(t){!!this.renderGroup!==t&&(t?this.enableRenderGroup():this.disableRenderGroup())}get isRenderGroup(){return!!this.renderGroup}enableRenderGroup(){if(this.renderGroup)return;const t=this.parentRenderGroup;t==null||t.removeChild(this),this.renderGroup=Cs.get(_ut,this),this.groupTransform=vr.IDENTITY,t==null||t.addChild(this),this._updateIsSimple()}disableRenderGroup(){if(!this.renderGroup)return;const t=this.parentRenderGroup;t==null||t.removeChild(this),Cs.return(this.renderGroup),this.renderGroup=null,this.groupTransform=this.relativeGroupTransform,t==null||t.addChild(this),this._updateIsSimple()}_updateIsSimple(){this.isSimple=!this.renderGroup&&this.effects.length===0}get worldTransform(){return this._worldTransform||(this._worldTransform=new vr),this.renderGroup?this._worldTransform.copyFrom(this.renderGroup.worldTransform):this.parentRenderGroup&&this._worldTransform.appendFrom(this.relativeGroupTransform,this.parentRenderGroup.worldTransform),this._worldTransform}get x(){return this._position.x}set x(t){this._position.x=t}get y(){return this._position.y}set y(t){this._position.y=t}get position(){return this._position}set position(t){this._position.copyFrom(t)}get rotation(){return this._rotation}set rotation(t){this._rotation!==t&&(this._rotation=t,this._onUpdate(this._skew))}get angle(){return this.rotation*Bct}set angle(t){this.rotation=t*Nct}get pivot(){return this._pivot===g3&&(this._pivot=new Pi(this,0,0)),this._pivot}set pivot(t){this._pivot===g3&&(this._pivot=new Pi(this,0,0),this._origin!==b3&&A0("Setting both a pivot and origin on a Container is not recommended. This can lead to unexpected behavior if not handled carefully.")),typeof t=="number"?this._pivot.set(t):this._pivot.copyFrom(t)}get skew(){return this._skew===NC&&(this._skew=new Pi(this,0,0)),this._skew}set skew(t){this._skew===NC&&(this._skew=new Pi(this,0,0)),this._skew.copyFrom(t)}get scale(){return this._scale===qC&&(this._scale=new Pi(this,1,1)),this._scale}set scale(t){this._scale===qC&&(this._scale=new Pi(this,0,0)),typeof t=="string"&&(t=parseFloat(t)),typeof t=="number"?this._scale.set(t):this._scale.copyFrom(t)}get origin(){return this._origin===b3&&(this._origin=new Pi(this,0,0)),this._origin}set origin(t){this._origin===b3&&(this._origin=new Pi(this,0,0),this._pivot!==g3&&A0("Setting both a pivot and origin on a Container is not recommended. This can lead to unexpected behavior if not handled carefully.")),typeof t=="number"?this._origin.set(t):this._origin.copyFrom(t)}get width(){return Math.abs(this.scale.x*this.getLocalBounds().width)}set width(t){const r=this.getLocalBounds().width;this._setWidth(t,r)}get height(){return Math.abs(this.scale.y*this.getLocalBounds().height)}set height(t){const r=this.getLocalBounds().height;this._setHeight(t,r)}getSize(t){t||(t={});const r=this.getLocalBounds();return t.width=Math.abs(this.scale.x*r.width),t.height=Math.abs(this.scale.y*r.height),t}setSize(t,r){var i;const n=this.getLocalBounds();typeof t=="object"?(r=(i=t.height)!=null?i:t.width,t=t.width):r!=null||(r=t),t!==void 0&&this._setWidth(t,n.width),r!==void 0&&this._setHeight(r,n.height)}_updateSkew(){const t=this._rotation,r=this._skew;this._cx=Math.cos(t+r._y),this._sx=Math.sin(t+r._y),this._cy=-Math.sin(t-r._x),this._sy=Math.cos(t-r._x)}updateTransform(t){return this.position.set(typeof t.x=="number"?t.x:this.position.x,typeof t.y=="number"?t.y:this.position.y),this.scale.set(typeof t.scaleX=="number"?t.scaleX||1:this.scale.x,typeof t.scaleY=="number"?t.scaleY||1:this.scale.y),this.rotation=typeof t.rotation=="number"?t.rotation:this.rotation,this.skew.set(typeof t.skewX=="number"?t.skewX:this.skew.x,typeof t.skewY=="number"?t.skewY:this.skew.y),this.pivot.set(typeof t.pivotX=="number"?t.pivotX:this.pivot.x,typeof t.pivotY=="number"?t.pivotY:this.pivot.y),this.origin.set(typeof t.originX=="number"?t.originX:this.origin.x,typeof t.originY=="number"?t.originY:this.origin.y),this}setFromMatrix(t){t.decompose(this)}updateLocalTransform(){const t=this._didContainerChangeTick;if(this._didLocalTransformChangeId===t)return;this._didLocalTransformChangeId=t;const r=this.localTransform,n=this._scale,i=this._pivot,a=this._origin,s=this._position,o=n._x,l=n._y,c=i._x,u=i._y,d=-a._x,h=-a._y;r.a=this._cx*o,r.b=this._sx*o,r.c=this._cy*l,r.d=this._sy*l,r.tx=s._x-(c*r.a+u*r.c)+(d*r.a+h*r.c)-d,r.ty=s._y-(c*r.b+u*r.d)+(d*r.b+h*r.d)-h}set alpha(t){t!==this.localAlpha&&(this.localAlpha=t,this._updateFlags|=BZ,this._onUpdate())}get alpha(){return this.localAlpha}set tint(t){const n=Bn.shared.setValue(t!=null?t:16777215).toBgrNumber();n!==this.localColor&&(this.localColor=n,this._updateFlags|=BZ,this._onUpdate())}get tint(){return TT(this.localColor)}set blendMode(t){this.localBlendMode!==t&&(this.parentRenderGroup&&(this.parentRenderGroup.structureDidChange=!0),this._updateFlags|=Cut,this.localBlendMode=t,this._onUpdate())}get blendMode(){return this.localBlendMode}get visible(){return!!(this.localDisplayStatus&2)}set visible(t){const r=t?2:0;(this.localDisplayStatus&2)!==r&&(this.parentRenderGroup&&(this.parentRenderGroup.structureDidChange=!0),this._updateFlags|=zC,this.localDisplayStatus^=2,this._onUpdate())}get culled(){return!(this.localDisplayStatus&4)}set culled(t){const r=t?0:4;(this.localDisplayStatus&4)!==r&&(this.parentRenderGroup&&(this.parentRenderGroup.structureDidChange=!0),this._updateFlags|=zC,this.localDisplayStatus^=4,this._onUpdate())}get renderable(){return!!(this.localDisplayStatus&1)}set renderable(t){const r=t?1:0;(this.localDisplayStatus&1)!==r&&(this._updateFlags|=zC,this.localDisplayStatus^=1,this.parentRenderGroup&&(this.parentRenderGroup.structureDidChange=!0),this._onUpdate())}get isRenderable(){return this.localDisplayStatus===7&&this.groupAlpha>0}destroy(t=!1){var i;if(this.destroyed)return;this.destroyed=!0;let r;if(this.children.length&&(r=this.removeChildren(0,this.children.length)),this.removeFromParent(),this.parent=null,this._maskEffect=null,this._filterEffect=null,this.effects=null,this._position=null,this._scale=null,this._pivot=null,this._origin=null,this._skew=null,this.emit("destroyed",this),this.removeAllListeners(),(typeof t=="boolean"?t:t==null?void 0:t.children)&&r)for(let a=0;a<r.length;++a)r[a].destroy(t);(i=this.renderGroup)==null||i.destroy(),this.renderGroup=null}}pi.mixin(Ud,lut,fut,Sut,yut,but,dut,put,vut,nut,sut,mut,cut);class P1e extends Ud{constructor(t){super(t),this.canBundle=!0,this.allowChildren=!1,this._roundPixels=0,this._lastUsed=-1,this._gpuData=Object.create(null),this._bounds=new _o(0,1,0,0),this._boundsDirty=!0}get bounds(){return this._boundsDirty?(this.updateBounds(),this._boundsDirty=!1,this._bounds):this._bounds}get roundPixels(){return!!this._roundPixels}set roundPixels(t){this._roundPixels=t?1:0}containsPoint(t){const r=this.bounds,{x:n,y:i}=t;return n>=r.minX&&n<=r.maxX&&i>=r.minY&&i<=r.maxY}onViewUpdate(){if(this._didViewChangeTick++,this._boundsDirty=!0,this.didViewUpdate)return;this.didViewUpdate=!0;const t=this.renderGroup||this.parentRenderGroup;t&&t.onChildViewUpdate(this)}destroy(t){var r,n;super.destroy(t),this._bounds=null;for(const i in this._gpuData)(n=(r=this._gpuData[i]).destroy)==null||n.call(r);this._gpuData=null}collectRenderablesSimple(t,r,n){const{renderPipes:i}=r;i.blendMode.pushBlendMode(this,this.groupBlendMode,t),i[this.renderPipeId].addRenderable(this,t),this.didViewUpdate=!1;const s=this.children,o=s.length;for(let l=0;l<o;l++)s[l].collectRenderables(t,r,n);i.blendMode.popBlendMode(t)}}let sM=class oM extends P1e{constructor(t=cr.EMPTY){t instanceof cr&&(t={texture:t});const{texture:r=cr.EMPTY,anchor:n,roundPixels:i,width:a,height:s,...o}=t;super({label:"Sprite",...o}),this.renderPipeId="sprite",this.batched=!0,this._visualBounds={minX:0,maxX:1,minY:0,maxY:0},this._anchor=new Pi({_onUpdate:()=>{this.onViewUpdate()}}),n?this.anchor=n:r.defaultAnchor&&(this.anchor=r.defaultAnchor),this.texture=r,this.allowChildren=!1,this.roundPixels=i!=null?i:!1,a!==void 0&&(this.width=a),s!==void 0&&(this.height=s)}static from(t,r=!1){return t instanceof cr?new oM(t):new oM(cr.from(t,r))}set texture(t){t||(t=cr.EMPTY);const r=this._texture;r!==t&&(r&&r.dynamic&&r.off("update",this.onViewUpdate,this),t.dynamic&&t.on("update",this.onViewUpdate,this),this._texture=t,this._width&&this._setWidth(this._width,this._texture.orig.width),this._height&&this._setHeight(this._height,this._texture.orig.height),this.onViewUpdate())}get texture(){return this._texture}get visualBounds(){return Vct(this._visualBounds,this._anchor,this._texture),this._visualBounds}get sourceBounds(){return mr("8.6.1","Sprite.sourceBounds is deprecated, use visualBounds instead."),this.visualBounds}updateBounds(){const t=this._anchor,r=this._texture,n=this._bounds,{width:i,height:a}=r.orig;n.minX=-t._x*i,n.maxX=n.minX+i,n.minY=-t._y*a,n.maxY=n.minY+a}destroy(t=!1){if(super.destroy(t),typeof t=="boolean"?t:t==null?void 0:t.texture){const n=typeof t=="boolean"?t:t==null?void 0:t.textureSource;this._texture.destroy(n)}this._texture=null,this._visualBounds=null,this._bounds=null,this._anchor=null,this._gpuData=null}get anchor(){return this._anchor}set anchor(t){typeof t=="number"?this._anchor.set(t):this._anchor.copyFrom(t)}get width(){return Math.abs(this.scale.x)*this._texture.orig.width}set width(t){this._setWidth(t,this._texture.orig.width),this._width=t}get height(){return Math.abs(this.scale.y)*this._texture.orig.height}set height(t){this._setHeight(t,this._texture.orig.height),this._height=t}getSize(t){return t||(t={}),t.width=Math.abs(this.scale.x)*this._texture.orig.width,t.height=Math.abs(this.scale.y)*this._texture.orig.height,t}setSize(t,r){var n;typeof t=="object"?(r=(n=t.height)!=null?n:t.width,t=t.width):r!=null||(r=t),t!==void 0&&this._setWidth(t,this._texture.orig.width),r!==void 0&&this._setHeight(r,this._texture.orig.height)}};const Eut=new _o;function j1e(e,t,r){const n=Eut;e.measurable=!0,T1e(e,r,n),t.addBoundsMask(n),e.measurable=!1}function R1e(e,t,r){const n=Uc.get();e.measurable=!0;const i=Ji.get().identity(),a=I1e(e,r,i);w1e(e,n,a),e.measurable=!1,t.addBoundsMask(n),Ji.return(i),Uc.return(n)}function I1e(e,t,r){return e?(e!==t&&(I1e(e.parent,t,r),e.updateLocalTransform(),r.append(e.localTransform)),r):(A0("Mask bounds, renderable is not inside the root container"),r)}class O1e{constructor(t){this.priority=0,this.inverse=!1,this.pipe="alphaMask",t!=null&&t.mask&&this.init(t.mask)}init(t){this.mask=t,this.renderMaskToTexture=!(t instanceof sM),this.mask.renderable=this.renderMaskToTexture,this.mask.includeInBuild=!this.renderMaskToTexture,this.mask.measurable=!1}reset(){this.mask.measurable=!0,this.mask=null}addBounds(t,r){this.inverse||j1e(this.mask,t,r)}addLocalBounds(t,r){R1e(this.mask,t,r)}containsPoint(t,r){const n=this.mask;return r(n,t)}destroy(){this.reset()}static test(t){return t instanceof sM}}O1e.extension=Et.MaskEffect;class M1e{constructor(t){this.priority=0,this.pipe="colorMask",t!=null&&t.mask&&this.init(t.mask)}init(t){this.mask=t}destroy(){}static test(t){return typeof t=="number"}}M1e.extension=Et.MaskEffect;class k1e{constructor(t){this.priority=0,this.pipe="stencilMask",t!=null&&t.mask&&this.init(t.mask)}init(t){this.mask=t,this.mask.includeInBuild=!1,this.mask.measurable=!1}reset(){this.mask.measurable=!0,this.mask.includeInBuild=!0,this.mask=null}addBounds(t,r){j1e(this.mask,t,r)}addLocalBounds(t,r){R1e(this.mask,t,r)}containsPoint(t,r){const n=this.mask;return r(n,t)}destroy(){this.reset()}static test(t){return t instanceof Ud}}k1e.extension=Et.MaskEffect;const Put={createCanvas:(e,t)=>{const r=document.createElement("canvas");return r.width=e,r.height=t,r},createImage:()=>new Image,getCanvasRenderingContext2D:()=>CanvasRenderingContext2D,getWebGLRenderingContext:()=>WebGLRenderingContext,getNavigator:()=>navigator,getBaseUrl:()=>{var e;return(e=document.baseURI)!=null?e:window.location.href},getFontFaceSet:()=>document.fonts,fetch:(e,t)=>fetch(e,t),parseXML:e=>new DOMParser().parseFromString(e,"text/xml")};let NZ=Put;const C0={get(){return NZ},set(e){NZ=e}};class D1e extends Do{constructor(t){t.resource||(t.resource=C0.get().createCanvas()),t.width||(t.width=t.resource.width,t.autoDensity||(t.width/=t.resolution)),t.height||(t.height=t.resource.height,t.autoDensity||(t.height/=t.resolution)),super(t),this.uploadMethodId="image",this.autoDensity=t.autoDensity,this.resizeCanvas(),this.transparent=!!t.transparent}resizeCanvas(){this.autoDensity&&"style"in this.resource&&(this.resource.style.width=`${this.width}px`,this.resource.style.height=`${this.height}px`),(this.resource.width!==this.pixelWidth||this.resource.height!==this.pixelHeight)&&(this.resource.width=this.pixelWidth,this.resource.height=this.pixelHeight)}resize(t=this.width,r=this.height,n=this._resolution){const i=super.resize(t,r,n);return i&&this.resizeCanvas(),i}static test(t){return globalThis.HTMLCanvasElement&&t instanceof HTMLCanvasElement||globalThis.OffscreenCanvas&&t instanceof OffscreenCanvas}get context2D(){return this._context2D||(this._context2D=this.resource.getContext("2d"))}}D1e.extension=Et.TextureSource;class wh extends Do{constructor(t){super(t),this.uploadMethodId="image",this.autoGarbageCollect=!0}static test(t){return globalThis.HTMLImageElement&&t instanceof HTMLImageElement||typeof ImageBitmap<"u"&&t instanceof ImageBitmap||globalThis.VideoFrame&&t instanceof VideoFrame}}wh.extension=Et.TextureSource;var JS=(e=>(e[e.INTERACTION=50]="INTERACTION",e[e.HIGH=25]="HIGH",e[e.NORMAL=0]="NORMAL",e[e.LOW=-25]="LOW",e[e.UTILITY=-50]="UTILITY",e))(JS||{});class WC{constructor(t,r=null,n=0,i=!1){this.next=null,this.previous=null,this._destroyed=!1,this._fn=t,this._context=r,this.priority=n,this._once=i}match(t,r=null){return this._fn===t&&this._context===r}emit(t){this._fn&&(this._context?this._fn.call(this._context,t):this._fn(t));const r=this.next;return this._once&&this.destroy(!0),this._destroyed&&(this.next=null),r}connect(t){this.previous=t,t.next&&(t.next.previous=this),this.next=t.next,t.next=this}destroy(t=!1){this._destroyed=!0,this._fn=null,this._context=null,this.previous&&(this.previous.next=this.next),this.next&&(this.next.previous=this.previous);const r=this.next;return this.next=t?null:r,this.previous=null,r}}const L1e=class ka{constructor(){this.autoStart=!1,this.deltaTime=1,this.lastTime=-1,this.speed=1,this.started=!1,this._requestId=null,this._maxElapsedMS=100,this._minElapsedMS=0,this._protected=!1,this._lastFrame=-1,this._head=new WC(null,null,1/0),this.deltaMS=1/ka.targetFPMS,this.elapsedMS=1/ka.targetFPMS,this._tick=t=>{this._requestId=null,this.started&&(this.update(t),this.started&&this._requestId===null&&this._head.next&&(this._requestId=requestAnimationFrame(this._tick)))}}_requestIfNeeded(){this._requestId===null&&this._head.next&&(this.lastTime=performance.now(),this._lastFrame=this.lastTime,this._requestId=requestAnimationFrame(this._tick))}_cancelIfNeeded(){this._requestId!==null&&(cancelAnimationFrame(this._requestId),this._requestId=null)}_startIfPossible(){this.started?this._requestIfNeeded():this.autoStart&&this.start()}add(t,r,n=JS.NORMAL){return this._addListener(new WC(t,r,n))}addOnce(t,r,n=JS.NORMAL){return this._addListener(new WC(t,r,n,!0))}_addListener(t){let r=this._head.next,n=this._head;if(!r)t.connect(n);else{for(;r;){if(t.priority>r.priority){t.connect(n);break}n=r,r=r.next}t.previous||t.connect(n)}return this._startIfPossible(),this}remove(t,r){let n=this._head.next;for(;n;)n.match(t,r)?n=n.destroy():n=n.next;return this._head.next||this._cancelIfNeeded(),this}get count(){if(!this._head)return 0;let t=0,r=this._head;for(;r=r.next;)t++;return t}start(){this.started||(this.started=!0,this._requestIfNeeded())}stop(){this.started&&(this.started=!1,this._cancelIfNeeded())}destroy(){if(!this._protected){this.stop();let t=this._head.next;for(;t;)t=t.destroy(!0);this._head.destroy(),this._head=null}}update(t=performance.now()){let r;if(t>this.lastTime){if(r=this.elapsedMS=t-this.lastTime,r>this._maxElapsedMS&&(r=this._maxElapsedMS),r*=this.speed,this._minElapsedMS){const a=t-this._lastFrame|0;if(a<this._minElapsedMS)return;this._lastFrame=t-a%this._minElapsedMS}this.deltaMS=r,this.deltaTime=this.deltaMS*ka.targetFPMS;const n=this._head;let i=n.next;for(;i;)i=i.emit(this);n.next||this._cancelIfNeeded()}else this.deltaTime=this.deltaMS=this.elapsedMS=0;this.lastTime=t}get FPS(){return 1e3/this.elapsedMS}get minFPS(){return 1e3/this._maxElapsedMS}set minFPS(t){const r=Math.min(this.maxFPS,t),n=Math.min(Math.max(0,r)/1e3,ka.targetFPMS);this._maxElapsedMS=1/n}get maxFPS(){return this._minElapsedMS?Math.round(1e3/this._minElapsedMS):0}set maxFPS(t){if(t===0)this._minElapsedMS=0;else{const r=Math.max(this.minFPS,t);this._minElapsedMS=1/(r/1e3)}}static get shared(){if(!ka._shared){const t=ka._shared=new ka;t.autoStart=!0,t._protected=!0}return ka._shared}static get system(){if(!ka._system){const t=ka._system=new ka;t.autoStart=!0,t._protected=!0}return ka._system}};L1e.targetFPMS=.06;let td=L1e,gb;async function F1e(){return gb!=null||(gb=(async()=>{var s;const t=C0.get().createCanvas(1,1).getContext("webgl");if(!t)return"premultiply-alpha-on-upload";const r=await new Promise(o=>{const l=document.createElement("video");l.onloadeddata=()=>o(l),l.onerror=()=>o(null),l.autoplay=!1,l.crossOrigin="anonymous",l.preload="auto",l.src="data:video/webm;base64,GkXfo59ChoEBQveBAULygQRC84EIQoKEd2VibUKHgQJChYECGFOAZwEAAAAAAAHTEU2bdLpNu4tTq4QVSalmU6yBoU27i1OrhBZUrmtTrIHGTbuMU6uEElTDZ1OsggEXTbuMU6uEHFO7a1OsggG97AEAAAAAAABZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVSalmoCrXsYMPQkBNgIRMYXZmV0GETGF2ZkSJiEBEAAAAAAAAFlSua8yuAQAAAAAAAEPXgQFzxYgAAAAAAAAAAZyBACK1nIN1bmSIgQCGhVZfVlA5g4EBI+ODhAJiWgDglLCBArqBApqBAlPAgQFVsIRVuYEBElTDZ9Vzc9JjwItjxYgAAAAAAAAAAWfInEWjh0VOQ09ERVJEh49MYXZjIGxpYnZweC12cDlnyKJFo4hEVVJBVElPTkSHlDAwOjAwOjAwLjA0MDAwMDAwMAAAH0O2dcfngQCgwqGggQAAAIJJg0IAABAAFgA4JBwYSgAAICAAEb///4r+AAB1oZ2mm+6BAaWWgkmDQgAAEAAWADgkHBhKAAAgIABIQBxTu2uRu4+zgQC3iveBAfGCAXHwgQM=",l.load()});if(!r)return"premultiply-alpha-on-upload";const n=t.createTexture();t.bindTexture(t.TEXTURE_2D,n);const i=t.createFramebuffer();t.bindFramebuffer(t.FRAMEBUFFER,i),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,n,0),t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1),t.pixelStorei(t.UNPACK_COLORSPACE_CONVERSION_WEBGL,t.NONE),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,r);const a=new Uint8Array(4);return t.readPixels(0,0,1,1,t.RGBA,t.UNSIGNED_BYTE,a),t.deleteFramebuffer(i),t.deleteTexture(n),(s=t.getExtension("WEBGL_lose_context"))==null||s.loseContext(),a[0]<=a[3]?"premultiplied-alpha":"premultiply-alpha-on-upload"})()),gb}const V6=class $1e extends Do{constructor(t){var r;super(t),this.isReady=!1,this.uploadMethodId="video",t={...$1e.defaultOptions,...t},this._autoUpdate=!0,this._isConnectedToTicker=!1,this._updateFPS=t.updateFPS||0,this._msToNextUpdate=0,this.autoPlay=t.autoPlay!==!1,this.alphaMode=(r=t.alphaMode)!=null?r:"premultiply-alpha-on-upload",this._videoFrameRequestCallback=this._videoFrameRequestCallback.bind(this),this._videoFrameRequestCallbackHandle=null,this._load=null,this._resolve=null,this._reject=null,this._onCanPlay=this._onCanPlay.bind(this),this._onCanPlayThrough=this._onCanPlayThrough.bind(this),this._onError=this._onError.bind(this),this._onPlayStart=this._onPlayStart.bind(this),this._onPlayStop=this._onPlayStop.bind(this),this._onSeeked=this._onSeeked.bind(this),t.autoLoad!==!1&&this.load()}updateFrame(){if(!this.destroyed){if(this._updateFPS){const t=td.shared.elapsedMS*this.resource.playbackRate;this._msToNextUpdate=Math.floor(this._msToNextUpdate-t)}(!this._updateFPS||this._msToNextUpdate<=0)&&(this._msToNextUpdate=this._updateFPS?Math.floor(1e3/this._updateFPS):0),this.isValid&&this.update()}}_videoFrameRequestCallback(){this.updateFrame(),this.destroyed?this._videoFrameRequestCallbackHandle=null:this._videoFrameRequestCallbackHandle=this.resource.requestVideoFrameCallback(this._videoFrameRequestCallback)}get isValid(){return!!this.resource.videoWidth&&!!this.resource.videoHeight}async load(){if(this._load)return this._load;const t=this.resource,r=this.options;return(t.readyState===t.HAVE_ENOUGH_DATA||t.readyState===t.HAVE_FUTURE_DATA)&&t.width&&t.height&&(t.complete=!0),t.addEventListener("play",this._onPlayStart),t.addEventListener("pause",this._onPlayStop),t.addEventListener("seeked",this._onSeeked),this._isSourceReady()?this._mediaReady():(r.preload||t.addEventListener("canplay",this._onCanPlay),t.addEventListener("canplaythrough",this._onCanPlayThrough),t.addEventListener("error",this._onError,!0)),this.alphaMode=await F1e(),this._load=new Promise((n,i)=>{this.isValid?n(this):(this._resolve=n,this._reject=i,r.preloadTimeoutMs!==void 0&&(this._preloadTimeout=setTimeout(()=>{this._onError(new ErrorEvent(`Preload exceeded timeout of ${r.preloadTimeoutMs}ms`))})),t.load())}),this._load}_onError(t){this.resource.removeEventListener("error",this._onError,!0),this.emit("error",t),this._reject&&(this._reject(t),this._reject=null,this._resolve=null)}_isSourcePlaying(){const t=this.resource;return!t.paused&&!t.ended}_isSourceReady(){return this.resource.readyState>2}_onPlayStart(){this.isValid||this._mediaReady(),this._configureAutoUpdate()}_onPlayStop(){this._configureAutoUpdate()}_onSeeked(){this._autoUpdate&&!this._isSourcePlaying()&&(this._msToNextUpdate=0,this.updateFrame(),this._msToNextUpdate=0)}_onCanPlay(){this.resource.removeEventListener("canplay",this._onCanPlay),this._mediaReady()}_onCanPlayThrough(){this.resource.removeEventListener("canplaythrough",this._onCanPlay),this._preloadTimeout&&(clearTimeout(this._preloadTimeout),this._preloadTimeout=void 0),this._mediaReady()}_mediaReady(){const t=this.resource;this.isValid&&(this.isReady=!0,this.resize(t.videoWidth,t.videoHeight)),this._msToNextUpdate=0,this.updateFrame(),this._msToNextUpdate=0,this._resolve&&(this._resolve(this),this._resolve=null,this._reject=null),this._isSourcePlaying()?this._onPlayStart():this.autoPlay&&this.resource.play()}destroy(){this._configureAutoUpdate();const t=this.resource;t&&(t.removeEventListener("play",this._onPlayStart),t.removeEventListener("pause",this._onPlayStop),t.removeEventListener("seeked",this._onSeeked),t.removeEventListener("canplay",this._onCanPlay),t.removeEventListener("canplaythrough",this._onCanPlayThrough),t.removeEventListener("error",this._onError,!0),t.pause(),t.src="",t.load()),super.destroy()}get autoUpdate(){return this._autoUpdate}set autoUpdate(t){t!==this._autoUpdate&&(this._autoUpdate=t,this._configureAutoUpdate())}get updateFPS(){return this._updateFPS}set updateFPS(t){t!==this._updateFPS&&(this._updateFPS=t,this._configureAutoUpdate())}_configureAutoUpdate(){this._autoUpdate&&this._isSourcePlaying()?!this._updateFPS&&this.resource.requestVideoFrameCallback?(this._isConnectedToTicker&&(td.shared.remove(this.updateFrame,this),this._isConnectedToTicker=!1,this._msToNextUpdate=0),this._videoFrameRequestCallbackHandle===null&&(this._videoFrameRequestCallbackHandle=this.resource.requestVideoFrameCallback(this._videoFrameRequestCallback))):(this._videoFrameRequestCallbackHandle!==null&&(this.resource.cancelVideoFrameCallback(this._videoFrameRequestCallbackHandle),this._videoFrameRequestCallbackHandle=null),this._isConnectedToTicker||(td.shared.add(this.updateFrame,this),this._isConnectedToTicker=!0,this._msToNextUpdate=0)):(this._videoFrameRequestCallbackHandle!==null&&(this.resource.cancelVideoFrameCallback(this._videoFrameRequestCallbackHandle),this._videoFrameRequestCallbackHandle=null),this._isConnectedToTicker&&(td.shared.remove(this.updateFrame,this),this._isConnectedToTicker=!1,this._msToNextUpdate=0))}static test(t){return globalThis.HTMLVideoElement&&t instanceof HTMLVideoElement}};V6.extension=Et.TextureSource;V6.defaultOptions={...Do.defaultOptions,autoLoad:!0,autoPlay:!0,updateFPS:0,crossorigin:!0,loop:!1,muted:!0,playsinline:!0,preload:!1};V6.MIME_TYPES={ogv:"video/ogg",mov:"video/quicktime",m4v:"video/mp4"};let zy=V6;const oo=(e,t,r=!1)=>(Array.isArray(e)||(e=[e]),t?e.map(n=>typeof n=="string"||r?t(n):n):e);class jut{constructor(){this._parsers=[],this._cache=new Map,this._cacheMap=new Map}reset(){this._cacheMap.clear(),this._cache.clear()}has(t){return this._cache.has(t)}get(t){const r=this._cache.get(t);return r||A0(`[Assets] Asset id ${t} was not found in the Cache`),r}set(t,r){const n=oo(t);let i;for(let l=0;l<this.parsers.length;l++){const c=this.parsers[l];if(c.test(r)){i=c.getCacheableAssets(n,r);break}}const a=new Map(Object.entries(i||{}));i||n.forEach(l=>{a.set(l,r)});const s=[...a.keys()],o={cacheKeys:s,keys:n};n.forEach(l=>{this._cacheMap.set(l,o)}),s.forEach(l=>{const c=i?i[l]:r;this._cache.has(l)&&this._cache.get(l)!==c&&A0("[Cache] already has key:",l),this._cache.set(l,a.get(l))})}remove(t){if(!this._cacheMap.has(t)){A0(`[Assets] Asset id ${t} was not found in the Cache`);return}const r=this._cacheMap.get(t);r.cacheKeys.forEach(i=>{this._cache.delete(i)}),r.keys.forEach(i=>{this._cacheMap.delete(i)})}get parsers(){return this._parsers}}const x0=new jut,lM=[];pi.handleByList(Et.TextureSource,lM);function B1e(e={}){const t=e&&e.resource,r=t?e.resource:e,n=t?e:{resource:e};for(let i=0;i<lM.length;i++){const a=lM[i];if(a.test(r))return new a(n)}throw new Error(`Could not find a source type for resource: ${n.resource}`)}function Rut(e={},t=!1){const r=e&&e.resource,n=r?e.resource:e,i=r?e:{resource:e};if(!t&&x0.has(n))return x0.get(n);const a=new cr({source:B1e(i)});return a.on("destroy",()=>{x0.has(n)&&x0.remove(n)}),t||x0.set(n,a),a}function Iut(e,t=!1){return typeof e=="string"?x0.get(e):e instanceof Do?new cr({source:e}):Rut(e,t)}cr.from=Iut;Do.from=B1e;pi.add(O1e,M1e,k1e,zy,wh,D1e,jN);var Gd=(e=>(e[e.Low=0]="Low",e[e.Normal=1]="Normal",e[e.High=2]="High",e))(Gd||{});function Qs(e){if(typeof e!="string")throw new TypeError(`Path must be a string. Received ${JSON.stringify(e)}`)}function bb(e){return e.split("?")[0].split("#")[0]}function Out(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Mut(e,t,r){return e.replace(new RegExp(Out(t),"g"),r)}function kut(e,t){let r="",n=0,i=-1,a=0,s=-1;for(let o=0;o<=e.length;++o){if(o<e.length)s=e.charCodeAt(o);else{if(s===47)break;s=47}if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(r.length<2||n!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){const l=r.lastIndexOf("/");if(l!==r.length-1){l===-1?(r="",n=0):(r=r.slice(0,l),n=r.length-1-r.lastIndexOf("/")),i=o,a=0;continue}}else if(r.length===2||r.length===1){r="",n=0,i=o,a=0;continue}}}else r.length>0?r+=`/${e.slice(i+1,o)}`:r=e.slice(i+1,o),n=o-i-1;i=o,a=0}else s===46&&a!==-1?++a:a=-1}return r}const Qa={toPosix(e){return Mut(e,"\\","/")},isUrl(e){return/^https?:/.test(this.toPosix(e))},isDataUrl(e){return/^data:([a-z]+\/[a-z0-9-+.]+(;[a-z0-9-.!#$%*+.{}|~`]+=[a-z0-9-.!#$%*+.{}()_|~`]+)*)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s<>]*?)$/i.test(e)},isBlobUrl(e){return e.startsWith("blob:")},hasProtocol(e){return/^[^/:]+:/.test(this.toPosix(e))},getProtocol(e){Qs(e),e=this.toPosix(e);const t=/^file:\/\/\//.exec(e);if(t)return t[0];const r=/^[^/:]+:\/{0,2}/.exec(e);return r?r[0]:""},toAbsolute(e,t,r){if(Qs(e),this.isDataUrl(e)||this.isBlobUrl(e))return e;const n=bb(this.toPosix(t!=null?t:C0.get().getBaseUrl())),i=bb(this.toPosix(r!=null?r:this.rootname(n)));return e=this.toPosix(e),e.startsWith("/")?Qa.join(i,e.slice(1)):this.isAbsolute(e)?e:this.join(n,e)},normalize(e){if(Qs(e),e.length===0)return".";if(this.isDataUrl(e)||this.isBlobUrl(e))return e;e=this.toPosix(e);let t="";const r=e.startsWith("/");this.hasProtocol(e)&&(t=this.rootname(e),e=e.slice(t.length));const n=e.endsWith("/");return e=kut(e),e.length>0&&n&&(e+="/"),r?`/${e}`:t+e},isAbsolute(e){return Qs(e),e=this.toPosix(e),this.hasProtocol(e)?!0:e.startsWith("/")},join(...e){var r;if(e.length===0)return".";let t;for(let n=0;n<e.length;++n){const i=e[n];if(Qs(i),i.length>0)if(t===void 0)t=i;else{const a=(r=e[n-1])!=null?r:"";this.joinExtensions.includes(this.extname(a).toLowerCase())?t+=`/../${i}`:t+=`/${i}`}}return t===void 0?".":this.normalize(t)},dirname(e){if(Qs(e),e.length===0)return".";e=this.toPosix(e);let t=e.charCodeAt(0);const r=t===47;let n=-1,i=!0;const a=this.getProtocol(e),s=e;e=e.slice(a.length);for(let o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),t===47){if(!i){n=o;break}}else i=!1;return n===-1?r?"/":this.isUrl(s)?a+e:a:r&&n===1?"//":a+e.slice(0,n)},rootname(e){Qs(e),e=this.toPosix(e);let t="";if(e.startsWith("/")?t="/":t=this.getProtocol(e),this.isUrl(e)){const r=e.indexOf("/",t.length);r!==-1?t=e.slice(0,r):t=e,t.endsWith("/")||(t+="/")}return t},basename(e,t){Qs(e),t&&Qs(t),e=bb(this.toPosix(e));let r=0,n=-1,i=!0,a;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";let s=t.length-1,o=-1;for(a=e.length-1;a>=0;--a){const l=e.charCodeAt(a);if(l===47){if(!i){r=a+1;break}}else o===-1&&(i=!1,o=a+1),s>=0&&(l===t.charCodeAt(s)?--s===-1&&(n=a):(s=-1,n=o))}return r===n?n=o:n===-1&&(n=e.length),e.slice(r,n)}for(a=e.length-1;a>=0;--a)if(e.charCodeAt(a)===47){if(!i){r=a+1;break}}else n===-1&&(i=!1,n=a+1);return n===-1?"":e.slice(r,n)},extname(e){Qs(e),e=bb(this.toPosix(e));let t=-1,r=0,n=-1,i=!0,a=0;for(let s=e.length-1;s>=0;--s){const o=e.charCodeAt(s);if(o===47){if(!i){r=s+1;break}continue}n===-1&&(i=!1,n=s+1),o===46?t===-1?t=s:a!==1&&(a=1):t!==-1&&(a=-1)}return t===-1||n===-1||a===0||a===1&&t===n-1&&t===r+1?"":e.slice(t,n)},parse(e){Qs(e);const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;e=bb(this.toPosix(e));let r=e.charCodeAt(0);const n=this.isAbsolute(e);let i;t.root=this.rootname(e),n||this.hasProtocol(e)?i=1:i=0;let a=-1,s=0,o=-1,l=!0,c=e.length-1,u=0;for(;c>=i;--c){if(r=e.charCodeAt(c),r===47){if(!l){s=c+1;break}continue}o===-1&&(l=!1,o=c+1),r===46?a===-1?a=c:u!==1&&(u=1):a!==-1&&(u=-1)}return a===-1||o===-1||u===0||u===1&&a===o-1&&a===s+1?o!==-1&&(s===0&&n?t.base=t.name=e.slice(1,o):t.base=t.name=e.slice(s,o)):(s===0&&n?(t.name=e.slice(1,a),t.base=e.slice(1,o)):(t.name=e.slice(s,a),t.base=e.slice(s,o)),t.ext=e.slice(a,o)),t.dir=this.dirname(e),t},sep:"/",delimiter:":",joinExtensions:[".html"]};function N1e(e,t,r,n,i){const a=t[r];for(let s=0;s<a.length;s++){const o=a[s];r<t.length-1?N1e(e.replace(n[r],o),t,r+1,n,i):i.push(e.replace(n[r],o))}}function Dut(e){const t=/\{(.*?)\}/g,r=e.match(t),n=[];if(r){const i=[];r.forEach(a=>{const s=a.substring(1,a.length-1).split(",");i.push(s)}),N1e(e,i,0,r,n)}else n.push(e);return n}const ZS=e=>!Array.isArray(e);class A1{constructor(){this._defaultBundleIdentifierOptions={connector:"-",createBundleAssetId:(t,r)=>`${t}${this._bundleIdConnector}${r}`,extractAssetIdFromBundle:(t,r)=>r.replace(`${t}${this._bundleIdConnector}`,"")},this._bundleIdConnector=this._defaultBundleIdentifierOptions.connector,this._createBundleAssetId=this._defaultBundleIdentifierOptions.createBundleAssetId,this._extractAssetIdFromBundle=this._defaultBundleIdentifierOptions.extractAssetIdFromBundle,this._assetMap={},this._preferredOrder=[],this._parsers=[],this._resolverHash={},this._bundles={}}setBundleIdentifier(t){var r,n,i;if(this._bundleIdConnector=(r=t.connector)!=null?r:this._bundleIdConnector,this._createBundleAssetId=(n=t.createBundleAssetId)!=null?n:this._createBundleAssetId,this._extractAssetIdFromBundle=(i=t.extractAssetIdFromBundle)!=null?i:this._extractAssetIdFromBundle,this._extractAssetIdFromBundle("foo",this._createBundleAssetId("foo","bar"))!=="bar")throw new Error("[Resolver] GenerateBundleAssetId are not working correctly")}prefer(...t){t.forEach(r=>{this._preferredOrder.push(r),r.priority||(r.priority=Object.keys(r.params))}),this._resolverHash={}}set basePath(t){this._basePath=t}get basePath(){return this._basePath}set rootPath(t){this._rootPath=t}get rootPath(){return this._rootPath}get parsers(){return this._parsers}reset(){this.setBundleIdentifier(this._defaultBundleIdentifierOptions),this._assetMap={},this._preferredOrder=[],this._resolverHash={},this._rootPath=null,this._basePath=null,this._manifest=null,this._bundles={},this._defaultSearchParams=null}setDefaultSearchParams(t){if(typeof t=="string")this._defaultSearchParams=t;else{const r=t;this._defaultSearchParams=Object.keys(r).map(n=>`${encodeURIComponent(n)}=${encodeURIComponent(r[n])}`).join("&")}}getAlias(t){const{alias:r,src:n}=t;return oo(r||n,a=>typeof a=="string"?a:Array.isArray(a)?a.map(s=>{var o;return(o=s==null?void 0:s.src)!=null?o:s}):a!=null&&a.src?a.src:a,!0)}addManifest(t){this._manifest&&A0("[Resolver] Manifest already exists, this will be overwritten"),this._manifest=t,t.bundles.forEach(r=>{this.addBundle(r.name,r.assets)})}addBundle(t,r){const n=[];let i=r;Array.isArray(r)||(i=Object.entries(r).map(([a,s])=>typeof s=="string"||Array.isArray(s)?{alias:a,src:s}:{alias:a,...s})),i.forEach(a=>{const s=a.src,o=a.alias;let l;if(typeof o=="string"){const c=this._createBundleAssetId(t,o);n.push(c),l=[o,c]}else{const c=o.map(u=>this._createBundleAssetId(t,u));n.push(...c),l=[...o,...c]}this.add({...a,alias:l,src:s})}),this._bundles[t]=n}add(t){const r=[];Array.isArray(t)?r.push(...t):r.push(t);let n;n=a=>{this.hasKey(a)&&A0(`[Resolver] already has key: ${a} overwriting`)},oo(r).forEach(a=>{const{src:s}=a;let{data:o,format:l,loadParser:c,parser:u}=a;const d=oo(s).map(m=>typeof m=="string"?Dut(m):Array.isArray(m)?m:[m]),h=this.getAlias(a);Array.isArray(h)?h.forEach(n):n(h);const p=[];d.forEach(m=>{m.forEach(g=>{var y,v,S,x;let b={};if(typeof g!="object"){b.src=g;for(let w=0;w<this._parsers.length;w++){const A=this._parsers[w];if(A.test(g)){b=A.parse(g);break}}}else o=(y=g.data)!=null?y:o,l=(v=g.format)!=null?v:l,(g.loadParser||g.parser)&&(c=(S=g.loadParser)!=null?S:c,u=(x=g.parser)!=null?x:u),b={...b,...g};if(!h)throw new Error(`[Resolver] alias is undefined for this asset: ${b.src}`);b=this._buildResolvedAsset(b,{aliases:h,data:o,format:l,loadParser:c,parser:u}),p.push(b)})}),h.forEach(m=>{this._assetMap[m]=p})})}resolveBundle(t){const r=ZS(t);t=oo(t);const n={};return t.forEach(i=>{const a=this._bundles[i];if(a){const s=this.resolve(a),o={};for(const l in s){const c=s[l];o[this._extractAssetIdFromBundle(i,l)]=c}n[i]=o}}),r?n[t[0]]:n}resolveUrl(t){const r=this.resolve(t);if(typeof t!="string"){const n={};for(const i in r)n[i]=r[i].src;return n}return r.src}resolve(t){const r=ZS(t);t=oo(t);const n={};return t.forEach(i=>{if(!this._resolverHash[i])if(this._assetMap[i]){let a=this._assetMap[i];const s=this._getPreferredOrder(a);s==null||s.priority.forEach(o=>{s.params[o].forEach(l=>{const c=a.filter(u=>u[o]?u[o]===l:!1);c.length&&(a=c)})}),this._resolverHash[i]=a[0]}else this._resolverHash[i]=this._buildResolvedAsset({alias:[i],src:i},{});n[i]=this._resolverHash[i]}),r?n[t[0]]:n}hasKey(t){return!!this._assetMap[t]}hasBundle(t){return!!this._bundles[t]}_getPreferredOrder(t){for(let r=0;r<t.length;r++){const n=t[r],i=this._preferredOrder.find(a=>a.params.format.includes(n.format));if(i)return i}return this._preferredOrder[0]}_appendDefaultSearchParams(t){if(!this._defaultSearchParams)return t;const r=/\?/.test(t)?"&":"?";return`${t}${r}${this._defaultSearchParams}`}_buildResolvedAsset(t,r){var l,c;const{aliases:n,data:i,loadParser:a,parser:s,format:o}=r;return(this._basePath||this._rootPath)&&(t.src=Qa.toAbsolute(t.src,this._basePath,this._rootPath)),t.alias=(l=n!=null?n:t.alias)!=null?l:[t.src],t.src=this._appendDefaultSearchParams(t.src),t.data={...i||{},...t.data},t.loadParser=a!=null?a:t.loadParser,t.parser=s!=null?s:t.parser,t.format=(c=o!=null?o:t.format)!=null?c:Lut(t.src),t}}A1.RETINA_PREFIX=/@([0-9\.]+)x/;function Lut(e){return e.split(".").pop().split("?").shift().split("#").shift()}const cM=(e,t)=>{const r=t.split("?")[1];return r&&(e+=`?${r}`),e},q1e=class ry{constructor(t,r){this.linkedSheets=[];let n=t;(t==null?void 0:t.source)instanceof Do&&(n={texture:t,data:r});const{texture:i,data:a,cachePrefix:s=""}=n;this.cachePrefix=s,this._texture=i instanceof cr?i:null,this.textureSource=i.source,this.textures={},this.animations={},this.data=a;const o=parseFloat(a.meta.scale);o?(this.resolution=o,i.source.resolution=this.resolution):this.resolution=i.source._resolution,this._frames=this.data.frames,this._frameKeys=Object.keys(this._frames),this._batchIndex=0,this._callback=null}parse(){return new Promise(t=>{this._callback=t,this._batchIndex=0,this._frameKeys.length<=ry.BATCH_SIZE?(this._processFrames(0),this._processAnimations(),this._parseComplete()):this._nextBatch()})}_processFrames(t){let r=t;const n=ry.BATCH_SIZE;for(;r-t<n&&r<this._frameKeys.length;){const i=this._frameKeys[r],a=this._frames[i],s=a.frame;if(s){let o=null,l=null;const c=a.trimmed!==!1&&a.sourceSize?a.sourceSize:a.frame,u=new un(0,0,Math.floor(c.w)/this.resolution,Math.floor(c.h)/this.resolution);a.rotated?o=new un(Math.floor(s.x)/this.resolution,Math.floor(s.y)/this.resolution,Math.floor(s.h)/this.resolution,Math.floor(s.w)/this.resolution):o=new un(Math.floor(s.x)/this.resolution,Math.floor(s.y)/this.resolution,Math.floor(s.w)/this.resolution,Math.floor(s.h)/this.resolution),a.trimmed!==!1&&a.spriteSourceSize&&(l=new un(Math.floor(a.spriteSourceSize.x)/this.resolution,Math.floor(a.spriteSourceSize.y)/this.resolution,Math.floor(s.w)/this.resolution,Math.floor(s.h)/this.resolution)),this.textures[i]=new cr({source:this.textureSource,frame:o,orig:u,trim:l,rotate:a.rotated?2:0,defaultAnchor:a.anchor,defaultBorders:a.borders,label:i.toString()})}r++}}_processAnimations(){const t=this.data.animations||{};for(const r in t){this.animations[r]=[];for(let n=0;n<t[r].length;n++){const i=t[r][n];this.animations[r].push(this.textures[i])}}}_parseComplete(){const t=this._callback;this._callback=null,this._batchIndex=0,t.call(this,this.textures)}_nextBatch(){this._processFrames(this._batchIndex*ry.BATCH_SIZE),this._batchIndex++,setTimeout(()=>{this._batchIndex*ry.BATCH_SIZE<this._frameKeys.length?this._nextBatch():(this._processAnimations(),this._parseComplete())},0)}destroy(t=!1){var r;for(const n in this.textures)this.textures[n].destroy();this._frames=null,this._frameKeys=null,this.data=null,this.textures=null,t&&((r=this._texture)==null||r.destroy(),this.textureSource.destroy()),this._texture=null,this.textureSource=null,this.linkedSheets=[]}};q1e.BATCH_SIZE=1e3;let qZ=q1e;const Fut=["jpg","png","jpeg","avif","webp","basis","etc2","bc7","bc6h","bc5","bc4","bc3","bc2","bc1","eac","astc"];function z1e(e,t,r){const n={};if(e.forEach(i=>{n[i]=t}),Object.keys(t.textures).forEach(i=>{n[`${t.cachePrefix}${i}`]=t.textures[i]}),!r){const i=Qa.dirname(e[0]);t.linkedSheets.forEach((a,s)=>{const o=z1e([`${i}/${t.data.meta.related_multi_packs[s]}`],a,!0);Object.assign(n,o)})}return n}const $ut={extension:Et.Asset,cache:{test:e=>e instanceof qZ,getCacheableAssets:(e,t)=>z1e(e,t,!1)},resolver:{extension:{type:Et.ResolveParser,name:"resolveSpritesheet"},test:e=>{const r=e.split("?")[0].split("."),n=r.pop(),i=r.pop();return n==="json"&&Fut.includes(i)},parse:e=>{var r,n;const t=e.split(".");return{resolution:parseFloat((n=(r=A1.RETINA_PREFIX.exec(e))==null?void 0:r[1])!=null?n:"1"),format:t[t.length-2],src:e}}},loader:{name:"spritesheetLoader",id:"spritesheet",extension:{type:Et.LoadParser,priority:Gd.Normal,name:"spritesheetLoader"},async testParse(e,t){return Qa.extname(t.src).toLowerCase()===".json"&&!!e.frames},async parse(e,t,r){var d,h,p;const{texture:n,imageFilename:i,textureOptions:a,cachePrefix:s}=(d=t==null?void 0:t.data)!=null?d:{};let o=Qa.dirname(t.src);o&&o.lastIndexOf("/")!==o.length-1&&(o+="/");let l;if(n instanceof cr)l=n;else{const m=cM(o+(i!=null?i:e.meta.image),t.src);l=(await r.load([{src:m,data:a}]))[m]}const c=new qZ({texture:l.source,data:e,cachePrefix:s});await c.parse();const u=(h=e==null?void 0:e.meta)==null?void 0:h.related_multi_packs;if(Array.isArray(u)){const m=[];for(const b of u){if(typeof b!="string")continue;let y=o+b;(p=t.data)!=null&&p.ignoreMultiPack||(y=cM(y,t.src),m.push(r.load({src:y,data:{textureOptions:a,ignoreMultiPack:!0}})))}const g=await Promise.all(m);c.linkedSheets=g,g.forEach(b=>{b.linkedSheets=[c].concat(c.linkedSheets.filter(y=>y!==b))})}return c},async unload(e,t,r){await r.unload(e.textureSource._sourceOrigin),e.destroy(!1)}}};pi.add($ut);const HC=Object.create(null),zZ=Object.create(null);function IN(e,t){let r=zZ[e];return r===void 0&&(HC[t]===void 0&&(HC[t]=1),zZ[e]=r=HC[t]++),r}let xf;function W1e(){return(!xf||xf!=null&&xf.isContextLost())&&(xf=C0.get().createCanvas().getContext("webgl",{})),xf}let y3;function But(){if(!y3){y3="mediump";const e=W1e();e&&e.getShaderPrecisionFormat&&(y3=e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).precision?"highp":"mediump")}return y3}function Nut(e,t,r){return t?e:r?(e=e.replace("out vec4 finalColor;",""),`
#ifdef GL_ES // This checks if it is WebGL1
#define in varying
#define finalColor gl_FragColor
#define texture texture2D
#endif
${e}
`):`
#ifdef GL_ES // This checks if it is WebGL1
#define in attribute
#define out varying
#endif
${e}
`}function qut(e,t,r){const n=r?t.maxSupportedFragmentPrecision:t.maxSupportedVertexPrecision;if(e.substring(0,9)!=="precision"){let i=r?t.requestedFragmentPrecision:t.requestedVertexPrecision;return i==="highp"&&n!=="highp"&&(i="mediump"),`precision ${i} float;
${e}`}else if(n!=="highp"&&e.substring(0,15)==="precision highp")return e.replace("precision highp","precision mediump");return e}function zut(e,t){return t?`#version 300 es
${e}`:e}const Wut={},Hut={};function Uut(e,{name:t="pixi-program"},r=!0){t=t.replace(/\s+/g,"-"),t+=r?"-fragment":"-vertex";const n=r?Wut:Hut;return n[t]?(n[t]++,t+=`-${n[t]}`):n[t]=1,e.indexOf("#define SHADER_NAME")!==-1?e:`${`#define SHADER_NAME ${t}`}
${e}`}function Gut(e,t){return t?e.replace("#version 300 es",""):e}const UC={stripVersion:Gut,ensurePrecision:qut,addProgramDefines:Nut,setProgramName:Uut,insertVersion:zut},yb=Object.create(null),H1e=class uM{constructor(t){t={...uM.defaultOptions,...t};const r=t.fragment.indexOf("#version 300 es")!==-1,n={stripVersion:r,ensurePrecision:{requestedFragmentPrecision:t.preferredFragmentPrecision,requestedVertexPrecision:t.preferredVertexPrecision,maxSupportedVertexPrecision:"highp",maxSupportedFragmentPrecision:But()},setProgramName:{name:t.name},addProgramDefines:r,insertVersion:r};let i=t.fragment,a=t.vertex;Object.keys(UC).forEach(s=>{const o=n[s];i=UC[s](i,o,!0),a=UC[s](a,o,!1)}),this.fragment=i,this.vertex=a,this.transformFeedbackVaryings=t.transformFeedbackVaryings,this._key=IN(`${this.vertex}:${this.fragment}`,"gl-program")}destroy(){this.fragment=null,this.vertex=null,this._attributeData=null,this._uniformData=null,this._uniformBlockData=null,this.transformFeedbackVaryings=null,yb[this._cacheKey]=null}static from(t){const r=`${t.vertex}:${t.fragment}`;return yb[r]||(yb[r]=new uM(t),yb[r]._cacheKey=r),yb[r]}};H1e.defaultOptions={preferredVertexPrecision:"highp",preferredFragmentPrecision:"mediump"};let U1e=H1e;const WZ={uint8x2:{size:2,stride:2,normalised:!1},uint8x4:{size:4,stride:4,normalised:!1},sint8x2:{size:2,stride:2,normalised:!1},sint8x4:{size:4,stride:4,normalised:!1},unorm8x2:{size:2,stride:2,normalised:!0},unorm8x4:{size:4,stride:4,normalised:!0},snorm8x2:{size:2,stride:2,normalised:!0},snorm8x4:{size:4,stride:4,normalised:!0},uint16x2:{size:2,stride:4,normalised:!1},uint16x4:{size:4,stride:8,normalised:!1},sint16x2:{size:2,stride:4,normalised:!1},sint16x4:{size:4,stride:8,normalised:!1},unorm16x2:{size:2,stride:4,normalised:!0},unorm16x4:{size:4,stride:8,normalised:!0},snorm16x2:{size:2,stride:4,normalised:!0},snorm16x4:{size:4,stride:8,normalised:!0},float16x2:{size:2,stride:4,normalised:!1},float16x4:{size:4,stride:8,normalised:!1},float32:{size:1,stride:4,normalised:!1},float32x2:{size:2,stride:8,normalised:!1},float32x3:{size:3,stride:12,normalised:!1},float32x4:{size:4,stride:16,normalised:!1},uint32:{size:1,stride:4,normalised:!1},uint32x2:{size:2,stride:8,normalised:!1},uint32x3:{size:3,stride:12,normalised:!1},uint32x4:{size:4,stride:16,normalised:!1},sint32:{size:1,stride:4,normalised:!1},sint32x2:{size:2,stride:8,normalised:!1},sint32x3:{size:3,stride:12,normalised:!1},sint32x4:{size:4,stride:16,normalised:!1}};function Vut(e){var t;return(t=WZ[e])!=null?t:WZ.float32}const Yut={f32:"float32","vec2<f32>":"float32x2","vec3<f32>":"float32x3","vec4<f32>":"float32x4",vec2f:"float32x2",vec3f:"float32x3",vec4f:"float32x4",i32:"sint32","vec2<i32>":"sint32x2","vec3<i32>":"sint32x3","vec4<i32>":"sint32x4",u32:"uint32","vec2<u32>":"uint32x2","vec3<u32>":"uint32x3","vec4<u32>":"uint32x4",bool:"uint32","vec2<bool>":"uint32x2","vec3<bool>":"uint32x3","vec4<bool>":"uint32x4"};function Kut({source:e,entryPoint:t}){var i;const r={},n=e.indexOf(`fn ${t}`);if(n!==-1){const a=e.indexOf("->",n);if(a!==-1){const s=e.substring(n,a),o=/@location\((\d+)\)\s+([a-zA-Z0-9_]+)\s*:\s*([a-zA-Z0-9_<>]+)(?:,|\s|$)/g;let l;for(;(l=o.exec(s))!==null;){const c=(i=Yut[l[3]])!=null?i:"float32";r[l[2]]={location:parseInt(l[1],10),format:c,stride:Vut(c).stride,offset:0,instance:!1,start:0}}}}return r}function GC(e){var d,h,p;const t=/(^|[^/])@(group|binding)\(\d+\)[^;]+;/g,r=/@group\((\d+)\)/,n=/@binding\((\d+)\)/,i=/var(<[^>]+>)? (\w+)/,a=/:\s*(\w+)/,s=/struct\s+(\w+)\s*{([^}]+)}/g,o=/(\w+)\s*:\s*([\w\<\>]+)/g,l=/struct\s+(\w+)/,c=(d=e.match(t))==null?void 0:d.map(m=>({group:parseInt(m.match(r)[1],10),binding:parseInt(m.match(n)[1],10),name:m.match(i)[2],isUniform:m.match(i)[1]==="<uniform>",type:m.match(a)[1]}));if(!c)return{groups:[],structs:[]};const u=(p=(h=e.match(s))==null?void 0:h.map(m=>{const g=m.match(l)[1],b=m.match(o).reduce((y,v)=>{const[S,x]=v.split(":");return y[S.trim()]=x.trim(),y},{});return b?{name:g,members:b}:null}).filter(({name:m})=>c.some(g=>g.type===m)))!=null?p:[];return{groups:c,structs:u}}var ny=(e=>(e[e.VERTEX=1]="VERTEX",e[e.FRAGMENT=2]="FRAGMENT",e[e.COMPUTE=4]="COMPUTE",e))(ny||{});function Xut({groups:e}){const t=[];for(let r=0;r<e.length;r++){const n=e[r];t[n.group]||(t[n.group]=[]),n.isUniform?t[n.group].push({binding:n.binding,visibility:ny.VERTEX|ny.FRAGMENT,buffer:{type:"uniform"}}):n.type==="sampler"?t[n.group].push({binding:n.binding,visibility:ny.FRAGMENT,sampler:{type:"filtering"}}):n.type==="texture_2d"&&t[n.group].push({binding:n.binding,visibility:ny.FRAGMENT,texture:{sampleType:"float",viewDimension:"2d",multisampled:!1}})}return t}function Qut({groups:e}){const t=[];for(let r=0;r<e.length;r++){const n=e[r];t[n.group]||(t[n.group]={}),t[n.group][n.name]=n.binding}return t}function Jut(e,t){const r=new Set,n=new Set,i=[...e.structs,...t.structs].filter(s=>r.has(s.name)?!1:(r.add(s.name),!0)),a=[...e.groups,...t.groups].filter(s=>{const o=`${s.name}-${s.binding}`;return n.has(o)?!1:(n.add(o),!0)});return{structs:i,groups:a}}const vb=Object.create(null);class Y6{constructor(t){var o,l;this._layoutKey=0,this._attributeLocationsKey=0;const{fragment:r,vertex:n,layout:i,gpuLayout:a,name:s}=t;if(this.name=s,this.fragment=r,this.vertex=n,r.source===n.source){const c=GC(r.source);this.structsAndGroups=c}else{const c=GC(n.source),u=GC(r.source);this.structsAndGroups=Jut(c,u)}this.layout=i!=null?i:Qut(this.structsAndGroups),this.gpuLayout=a!=null?a:Xut(this.structsAndGroups),this.autoAssignGlobalUniforms=((o=this.layout[0])==null?void 0:o.globalUniforms)!==void 0,this.autoAssignLocalUniforms=((l=this.layout[1])==null?void 0:l.localUniforms)!==void 0,this._generateProgramKey()}_generateProgramKey(){const{vertex:t,fragment:r}=this,n=t.source+r.source+t.entryPoint+r.entryPoint;this._layoutKey=IN(n,"program")}get attributeData(){var t;return(t=this._attributeData)!=null||(this._attributeData=Kut(this.vertex)),this._attributeData}destroy(){this.gpuLayout=null,this.layout=null,this.structsAndGroups=null,this.fragment=null,this.vertex=null,vb[this._cacheKey]=null}static from(t){const r=`${t.vertex.source}:${t.fragment.source}:${t.fragment.entryPoint}:${t.vertex.entryPoint}`;return vb[r]||(vb[r]=new Y6(t),vb[r]._cacheKey=r),vb[r]}}const G1e=["f32","i32","vec2<f32>","vec3<f32>","vec4<f32>","mat2x2<f32>","mat3x3<f32>","mat4x4<f32>","mat3x2<f32>","mat4x2<f32>","mat2x3<f32>","mat4x3<f32>","mat2x4<f32>","mat3x4<f32>","vec2<i32>","vec3<i32>","vec4<i32>"],Zut=G1e.reduce((e,t)=>(e[t]=!0,e),{});function edt(e,t){switch(e){case"f32":return 0;case"vec2<f32>":return new Float32Array(2*t);case"vec3<f32>":return new Float32Array(3*t);case"vec4<f32>":return new Float32Array(4*t);case"mat2x2<f32>":return new Float32Array([1,0,0,1]);case"mat3x3<f32>":return new Float32Array([1,0,0,0,1,0,0,0,1]);case"mat4x4<f32>":return new Float32Array([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}return null}const V1e=class Y1e{constructor(t,r){var i,a;this._touched=0,this.uid=dn("uniform"),this._resourceType="uniformGroup",this._resourceId=dn("resource"),this.isUniformGroup=!0,this._dirtyId=0,this.destroyed=!1,r={...Y1e.defaultOptions,...r},this.uniformStructures=t;const n={};for(const s in t){const o=t[s];if(o.name=s,o.size=(i=o.size)!=null?i:1,!Zut[o.type]){const l=o.type.match(/^array<(\w+(?:<\w+>)?),\s*(\d+)>$/);if(l){const[,c,u]=l;throw new Error(`Uniform type ${o.type} is not supported. Use type: '${c}', size: ${u} instead.`)}throw new Error(`Uniform type ${o.type} is not supported. Supported uniform types are: ${G1e.join(", ")}`)}(a=o.value)!=null||(o.value=edt(o.type,o.size)),n[s]=o.value}this.uniforms=n,this._dirtyId=1,this.ubo=r.ubo,this.isStatic=r.isStatic,this._signature=IN(Object.keys(n).map(s=>`${s}-${t[s].type}`).join("-"),"uniform-group")}update(){this._dirtyId++}};V1e.defaultOptions={ubo:!1,isStatic:!1};let K1e=V1e;class ST{constructor(t){this.resources=Object.create(null),this._dirty=!0;let r=0;for(const n in t){const i=t[n];this.setResource(i,r++)}this._updateKey()}_updateKey(){if(!this._dirty)return;this._dirty=!1;const t=[];let r=0;for(const n in this.resources)t[r++]=this.resources[n]._resourceId;this._key=t.join("|")}setResource(t,r){var i,a;const n=this.resources[r];t!==n&&(n&&((i=t.off)==null||i.call(t,"change",this.onResourceChange,this)),(a=t.on)==null||a.call(t,"change",this.onResourceChange,this),this.resources[r]=t,this._dirty=!0)}getResource(t){return this.resources[t]}_touch(t){const r=this.resources;for(const n in r)r[n]._touched=t}destroy(){var r;const t=this.resources;for(const n in t){const i=t[n];(r=i==null?void 0:i.off)==null||r.call(i,"change",this.onResourceChange,this)}this.resources=null}onResourceChange(t){if(this._dirty=!0,t.destroyed){const r=this.resources;for(const n in r)r[n]===t&&(r[n]=null)}else this._updateKey()}}var dM=(e=>(e[e.WEBGL=1]="WEBGL",e[e.WEBGPU=2]="WEBGPU",e[e.BOTH=3]="BOTH",e))(dM||{});class ON extends ko{constructor(t){super(),this.uid=dn("shader"),this._uniformBindMap=Object.create(null),this._ownedBindGroups=[];let{gpuProgram:r,glProgram:n,groups:i,resources:a,compatibleRenderers:s,groupMap:o}=t;this.gpuProgram=r,this.glProgram=n,s===void 0&&(s=0,r&&(s|=dM.WEBGPU),n&&(s|=dM.WEBGL)),this.compatibleRenderers=s;const l={};if(!a&&!i&&(a={}),a&&i)throw new Error("[Shader] Cannot have both resources and groups");if(!r&&i&&!o)throw new Error("[Shader] No group map or WebGPU shader provided - consider using resources instead.");if(!r&&i&&o)for(const c in o)for(const u in o[c]){const d=o[c][u];l[d]={group:c,binding:u,name:d}}else if(r&&i&&!o){const c=r.structsAndGroups.groups;o={},c.forEach(u=>{o[u.group]=o[u.group]||{},o[u.group][u.binding]=u.name,l[u.name]=u})}else if(a){i={},o={},r&&r.structsAndGroups.groups.forEach(d=>{o[d.group]=o[d.group]||{},o[d.group][d.binding]=d.name,l[d.name]=d});let c=0;for(const u in a)l[u]||(i[99]||(i[99]=new ST,this._ownedBindGroups.push(i[99])),l[u]={group:99,binding:c,name:u},o[99]=o[99]||{},o[99][c]=u,c++);for(const u in a){const d=u;let h=a[u];!h.source&&!h._resourceType&&(h=new K1e(h));const p=l[d];p&&(i[p.group]||(i[p.group]=new ST,this._ownedBindGroups.push(i[p.group])),i[p.group].setResource(h,p.binding))}}this.groups=i,this._uniformBindMap=o,this.resources=this._buildResourceAccessor(i,l)}addResource(t,r,n){var i,a;(i=this._uniformBindMap)[r]||(i[r]={}),(a=this._uniformBindMap[r])[n]||(a[n]=t),this.groups[r]||(this.groups[r]=new ST,this._ownedBindGroups.push(this.groups[r]))}_buildResourceAccessor(t,r){const n={};for(const i in r){const a=r[i];Object.defineProperty(n,a.name,{get(){return t[a.group].getResource(a.binding)},set(s){t[a.group].setResource(s,a.binding)}})}return n}destroy(t=!1){var r,n;this.emit("destroy",this),t&&((r=this.gpuProgram)==null||r.destroy(),(n=this.glProgram)==null||n.destroy()),this.gpuProgram=null,this.glProgram=null,this.removeAllListeners(),this._uniformBindMap=null,this._ownedBindGroups.forEach(i=>{i.destroy()}),this._ownedBindGroups=null,this.resources=null,this.groups=null}static from(t){const{gpu:r,gl:n,...i}=t;let a,s;return r&&(a=Y6.from(r)),n&&(s=U1e.from(n)),new ON({gpuProgram:a,glProgram:s,...i})}}const pM=[];pi.handleByNamedList(Et.Environment,pM);async function tdt(e){if(!e)for(let t=0;t<pM.length;t++){const r=pM[t];if(r.value.test()){await r.value.load();return}}}let Tb;function rdt(){if(typeof Tb=="boolean")return Tb;try{Tb=new Function("param1","param2","param3","return param1[param2] === param3;")({a:"b"},"a","b")===!0}catch(e){Tb=!1}return Tb}function HZ(e,t,r=2){const n=t&&t.length,i=n?t[0]*r:e.length;let a=X1e(e,0,i,r,!0);const s=[];if(!a||a.next===a.prev)return s;let o,l,c;if(n&&(a=odt(e,t,a,r)),e.length>80*r){o=e[0],l=e[1];let u=o,d=l;for(let h=r;h<i;h+=r){const p=e[h],m=e[h+1];p<o&&(o=p),m<l&&(l=m),p>u&&(u=p),m>d&&(d=m)}c=Math.max(u-o,d-l),c=c!==0?32767/c:0}return Z5(a,s,r,o,l,c,0),s}function X1e(e,t,r,n,i){let a;if(i===ydt(e,t,r,n)>0)for(let s=t;s<r;s+=n)a=UZ(s/n|0,e[s],e[s+1],a);else for(let s=r-n;s>=t;s-=n)a=UZ(s/n|0,e[s],e[s+1],a);return a&&gg(a,a.next)&&(t7(a),a=a.next),a}function _h(e,t){if(!e)return e;t||(t=e);let r=e,n;do if(n=!1,!r.steiner&&(gg(r,r.next)||q0(r.prev,r,r.next)===0)){if(t7(r),r=t=r.prev,r===r.next)break;n=!0}else r=r.next;while(n||r!==t);return t}function Z5(e,t,r,n,i,a,s){if(!e)return;!s&&a&&pdt(e,n,i,a);let o=e;for(;e.prev!==e.next;){const l=e.prev,c=e.next;if(a?idt(e,n,i,a):ndt(e)){t.push(l.i,e.i,c.i),t7(e),e=c.next,o=c.next;continue}if(e=c,e===o){s?s===1?(e=adt(_h(e),t),Z5(e,t,r,n,i,a,2)):s===2&&sdt(e,t,r,n,i,a):Z5(_h(e),t,r,n,i,a,1);break}}}function ndt(e){const t=e.prev,r=e,n=e.next;if(q0(t,r,n)>=0)return!1;const i=t.x,a=r.x,s=n.x,o=t.y,l=r.y,c=n.y,u=Math.min(i,a,s),d=Math.min(o,l,c),h=Math.max(i,a,s),p=Math.max(o,l,c);let m=n.next;for(;m!==t;){if(m.x>=u&&m.x<=h&&m.y>=d&&m.y<=p&&iy(i,o,a,l,s,c,m.x,m.y)&&q0(m.prev,m,m.next)>=0)return!1;m=m.next}return!0}function idt(e,t,r,n){const i=e.prev,a=e,s=e.next;if(q0(i,a,s)>=0)return!1;const o=i.x,l=a.x,c=s.x,u=i.y,d=a.y,h=s.y,p=Math.min(o,l,c),m=Math.min(u,d,h),g=Math.max(o,l,c),b=Math.max(u,d,h),y=hM(p,m,t,r,n),v=hM(g,b,t,r,n);let S=e.prevZ,x=e.nextZ;for(;S&&S.z>=y&&x&&x.z<=v;){if(S.x>=p&&S.x<=g&&S.y>=m&&S.y<=b&&S!==i&&S!==s&&iy(o,u,l,d,c,h,S.x,S.y)&&q0(S.prev,S,S.next)>=0||(S=S.prevZ,x.x>=p&&x.x<=g&&x.y>=m&&x.y<=b&&x!==i&&x!==s&&iy(o,u,l,d,c,h,x.x,x.y)&&q0(x.prev,x,x.next)>=0))return!1;x=x.nextZ}for(;S&&S.z>=y;){if(S.x>=p&&S.x<=g&&S.y>=m&&S.y<=b&&S!==i&&S!==s&&iy(o,u,l,d,c,h,S.x,S.y)&&q0(S.prev,S,S.next)>=0)return!1;S=S.prevZ}for(;x&&x.z<=v;){if(x.x>=p&&x.x<=g&&x.y>=m&&x.y<=b&&x!==i&&x!==s&&iy(o,u,l,d,c,h,x.x,x.y)&&q0(x.prev,x,x.next)>=0)return!1;x=x.nextZ}return!0}function adt(e,t){let r=e;do{const n=r.prev,i=r.next.next;!gg(n,i)&&J1e(n,r,r.next,i)&&e7(n,i)&&e7(i,n)&&(t.push(n.i,r.i,i.i),t7(r),t7(r.next),r=e=i),r=r.next}while(r!==e);return _h(r)}function sdt(e,t,r,n,i,a){let s=e;do{let o=s.next.next;for(;o!==s.prev;){if(s.i!==o.i&&mdt(s,o)){let l=Z1e(s,o);s=_h(s,s.next),l=_h(l,l.next),Z5(s,t,r,n,i,a,0),Z5(l,t,r,n,i,a,0);return}o=o.next}s=s.next}while(s!==e)}function odt(e,t,r,n){const i=[];for(let a=0,s=t.length;a<s;a++){const o=t[a]*n,l=a<s-1?t[a+1]*n:e.length,c=X1e(e,o,l,n,!1);c===c.next&&(c.steiner=!0),i.push(fdt(c))}i.sort(ldt);for(let a=0;a<i.length;a++)r=cdt(i[a],r);return r}function ldt(e,t){let r=e.x-t.x;if(r===0&&(r=e.y-t.y,r===0)){const n=(e.next.y-e.y)/(e.next.x-e.x),i=(t.next.y-t.y)/(t.next.x-t.x);r=n-i}return r}function cdt(e,t){const r=udt(e,t);if(!r)return t;const n=Z1e(r,e);return _h(n,n.next),_h(r,r.next)}function udt(e,t){let r=t;const n=e.x,i=e.y;let a=-1/0,s;if(gg(e,r))return r;do{if(gg(e,r.next))return r.next;if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){const d=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(d<=n&&d>a&&(a=d,s=r.x<r.next.x?r:r.next,d===n))return s}r=r.next}while(r!==t);if(!s)return null;const o=s,l=s.x,c=s.y;let u=1/0;r=s;do{if(n>=r.x&&r.x>=l&&n!==r.x&&Q1e(i<c?n:a,i,l,c,i<c?a:n,i,r.x,r.y)){const d=Math.abs(i-r.y)/(n-r.x);e7(r,e)&&(d<u||d===u&&(r.x>s.x||r.x===s.x&&ddt(s,r)))&&(s=r,u=d)}r=r.next}while(r!==o);return s}function ddt(e,t){return q0(e.prev,e,t.prev)<0&&q0(t.next,e,e.next)<0}function pdt(e,t,r,n){let i=e;do i.z===0&&(i.z=hM(i.x,i.y,t,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next;while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,hdt(i)}function hdt(e){let t,r=1;do{let n=e,i;e=null;let a=null;for(t=0;n;){t++;let s=n,o=0;for(let c=0;c<r&&(o++,s=s.nextZ,!!s);c++);let l=r;for(;o>0||l>0&&s;)o!==0&&(l===0||!s||n.z<=s.z)?(i=n,n=n.nextZ,o--):(i=s,s=s.nextZ,l--),a?a.nextZ=i:e=i,i.prevZ=a,a=i;n=s}a.nextZ=null,r*=2}while(t>1);return e}function hM(e,t,r,n,i){return e=(e-r)*i|0,t=(t-n)*i|0,e=(e|e<<8)&16711935,e=(e|e<<4)&252645135,e=(e|e<<2)&858993459,e=(e|e<<1)&1431655765,t=(t|t<<8)&16711935,t=(t|t<<4)&252645135,t=(t|t<<2)&858993459,t=(t|t<<1)&1431655765,e|t<<1}function fdt(e){let t=e,r=e;do(t.x<r.x||t.x===r.x&&t.y<r.y)&&(r=t),t=t.next;while(t!==e);return r}function Q1e(e,t,r,n,i,a,s,o){return(i-s)*(t-o)>=(e-s)*(a-o)&&(e-s)*(n-o)>=(r-s)*(t-o)&&(r-s)*(a-o)>=(i-s)*(n-o)}function iy(e,t,r,n,i,a,s,o){return!(e===s&&t===o)&&Q1e(e,t,r,n,i,a,s,o)}function mdt(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!gdt(e,t)&&(e7(e,t)&&e7(t,e)&&bdt(e,t)&&(q0(e.prev,e,t.prev)||q0(e,t.prev,t))||gg(e,t)&&q0(e.prev,e,e.next)>0&&q0(t.prev,t,t.next)>0)}function q0(e,t,r){return(t.y-e.y)*(r.x-t.x)-(t.x-e.x)*(r.y-t.y)}function gg(e,t){return e.x===t.x&&e.y===t.y}function J1e(e,t,r,n){const i=T3(q0(e,t,r)),a=T3(q0(e,t,n)),s=T3(q0(r,n,e)),o=T3(q0(r,n,t));return!!(i!==a&&s!==o||i===0&&v3(e,r,t)||a===0&&v3(e,n,t)||s===0&&v3(r,e,n)||o===0&&v3(r,t,n))}function v3(e,t,r){return t.x<=Math.max(e.x,r.x)&&t.x>=Math.min(e.x,r.x)&&t.y<=Math.max(e.y,r.y)&&t.y>=Math.min(e.y,r.y)}function T3(e){return e>0?1:e<0?-1:0}function gdt(e,t){let r=e;do{if(r.i!==e.i&&r.next.i!==e.i&&r.i!==t.i&&r.next.i!==t.i&&J1e(r,r.next,e,t))return!0;r=r.next}while(r!==e);return!1}function e7(e,t){return q0(e.prev,e,e.next)<0?q0(e,t,e.next)>=0&&q0(e,e.prev,t)>=0:q0(e,t,e.prev)<0||q0(e,e.next,t)<0}function bdt(e,t){let r=e,n=!1;const i=(e.x+t.x)/2,a=(e.y+t.y)/2;do r.y>a!=r.next.y>a&&r.next.y!==r.y&&i<(r.next.x-r.x)*(a-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next;while(r!==e);return n}function Z1e(e,t){const r=fM(e.i,e.x,e.y),n=fM(t.i,t.x,t.y),i=e.next,a=t.prev;return e.next=t,t.prev=e,r.next=i,i.prev=r,n.next=r,r.prev=n,a.next=n,n.prev=a,n}function UZ(e,t,r,n){const i=fM(e,t,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function t7(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function fM(e,t,r){return{i:e,x:t,y:r,prev:null,next:null,z:0,prevZ:null,nextZ:null,steiner:!1}}function ydt(e,t,r,n){let i=0;for(let a=t,s=r-n;a<r;a+=n)i+=(e[s]-e[a])*(e[a+1]+e[s+1]),s=a;return i}const vdt=HZ.default||HZ;var ebe=(e=>(e[e.NONE=0]="NONE",e[e.COLOR=16384]="COLOR",e[e.STENCIL=1024]="STENCIL",e[e.DEPTH=256]="DEPTH",e[e.COLOR_DEPTH=16640]="COLOR_DEPTH",e[e.COLOR_STENCIL=17408]="COLOR_STENCIL",e[e.DEPTH_STENCIL=1280]="DEPTH_STENCIL",e[e.ALL=17664]="ALL",e))(ebe||{});class Tdt{constructor(t){this.items=[],this._name=t}emit(t,r,n,i,a,s,o,l){const{name:c,items:u}=this;for(let d=0,h=u.length;d<h;d++)u[d][c](t,r,n,i,a,s,o,l);return this}add(t){return t[this._name]&&(this.remove(t),this.items.push(t)),this}remove(t){const r=this.items.indexOf(t);return r!==-1&&this.items.splice(r,1),this}contains(t){return this.items.indexOf(t)!==-1}removeAll(){return this.items.length=0,this}destroy(){this.removeAll(),this.items=null,this._name=null}get empty(){return this.items.length===0}get name(){return this._name}}const Sdt=["init","destroy","contextChange","resolutionChange","resetState","renderEnd","renderStart","render","update","postrender","prerender"],tbe=class rbe extends ko{constructor(t){var n;super(),this.uid=dn("renderer"),this.runners=Object.create(null),this.renderPipes=Object.create(null),this._initOptions={},this._systemsHash=Object.create(null),this.type=t.type,this.name=t.name,this.config=t;const r=[...Sdt,...(n=this.config.runners)!=null?n:[]];this._addRunners(...r),this._unsafeEvalCheck()}async init(t={}){const r=t.skipExtensionImports===!0?!0:t.manageImports===!1;await tdt(r),this._addSystems(this.config.systems),this._addPipes(this.config.renderPipes,this.config.renderPipeAdaptors);for(const n in this._systemsHash)t={...this._systemsHash[n].constructor.defaultOptions,...t};t={...rbe.defaultOptions,...t},this._roundPixels=t.roundPixels?1:0;for(let n=0;n<this.runners.init.items.length;n++)await this.runners.init.items[n].init(t);this._initOptions=t}render(t,r){var i,a;let n=t;if(n instanceof Ud&&(n={container:n},r&&(mr(r0,"passing a second argument is deprecated, please use render options instead"),n.target=r.renderTexture)),n.target||(n.target=this.view.renderTarget),n.target===this.view.renderTarget&&(this._lastObjectRendered=n.container,(i=n.clearColor)!=null||(n.clearColor=this.background.colorRgba),(a=n.clear)!=null||(n.clear=this.background.clearBeforeRender)),n.clearColor){const s=Array.isArray(n.clearColor)&&n.clearColor.length===4;n.clearColor=s?n.clearColor:Bn.shared.setValue(n.clearColor).toArray()}n.transform||(n.container.updateLocalTransform(),n.transform=n.container.localTransform),n.container.visible&&(n.container.enableRenderGroup(),this.runners.prerender.emit(n),this.runners.renderStart.emit(n),this.runners.render.emit(n),this.runners.renderEnd.emit(n),this.runners.postrender.emit(n))}resize(t,r,n){const i=this.view.resolution;this.view.resize(t,r,n),this.emit("resize",this.view.screen.width,this.view.screen.height,this.view.resolution),n!==void 0&&n!==i&&this.runners.resolutionChange.emit(n)}clear(t={}){var s;const r=this;t.target||(t.target=r.renderTarget.renderTarget),t.clearColor||(t.clearColor=this.background.colorRgba),(s=t.clear)!=null||(t.clear=ebe.ALL);const{clear:n,clearColor:i,target:a}=t;Bn.shared.setValue(i!=null?i:this.background.colorRgba),r.renderTarget.clear(a,n,Bn.shared.toArray())}get resolution(){return this.view.resolution}set resolution(t){this.view.resolution=t,this.runners.resolutionChange.emit(t)}get width(){return this.view.texture.frame.width}get height(){return this.view.texture.frame.height}get canvas(){return this.view.canvas}get lastObjectRendered(){return this._lastObjectRendered}get renderingToScreen(){return this.renderTarget.renderingToScreen}get screen(){return this.view.screen}_addRunners(...t){t.forEach(r=>{this.runners[r]=new Tdt(r)})}_addSystems(t){let r;for(r in t){const n=t[r];this._addSystem(n.value,n.name)}}_addSystem(t,r){const n=new t(this);if(this[r])throw new Error(`Whoops! The name "${r}" is already in use`);this[r]=n,this._systemsHash[r]=n;for(const i in this.runners)this.runners[i].add(n);return this}_addPipes(t,r){const n=r.reduce((i,a)=>(i[a.name]=a.value,i),{});t.forEach(i=>{const a=i.value,s=i.name,o=n[s];this.renderPipes[s]=new a(this,o?new o:null),this.runners.destroy.add(this.renderPipes[s])})}destroy(t=!1){this.runners.destroy.items.reverse(),this.runners.destroy.emit(t),Object.values(this.runners).forEach(r=>{r.destroy()}),(t===!0||typeof t=="object"&&t.releaseGlobalResources)&&Av.release(),this._systemsHash=null,this.renderPipes=null}generateTexture(t){return this.textureGenerator.generateTexture(t)}get roundPixels(){return!!this._roundPixels}_unsafeEvalCheck(){if(!rdt())throw new Error("Current environment does not allow unsafe-eval, please use pixi.js/unsafe-eval module to enable support.")}resetState(){this.runners.resetState.emit()}};tbe.defaultOptions={resolution:1,failIfMajorPerformanceCaveat:!1,roundPixels:!1};let nbe=tbe,S3;function ibe(e){return S3!==void 0||(S3=(()=>{var r;const t={stencil:!0,failIfMajorPerformanceCaveat:e!=null?e:nbe.defaultOptions.failIfMajorPerformanceCaveat};try{if(!C0.get().getWebGLRenderingContext())return!1;let i=C0.get().createCanvas().getContext("webgl",t);const a=!!((r=i==null?void 0:i.getContextAttributes())!=null&&r.stencil);if(i){const s=i.getExtension("WEBGL_lose_context");s&&s.loseContext()}return i=null,a}catch(n){return!1}})()),S3}let x3;async function xdt(e={}){return x3!==void 0||(x3=await(async()=>{const t=C0.get().getNavigator().gpu;if(!t)return!1;try{return await(await t.requestAdapter(e)).requestDevice(),!0}catch(r){return!1}})()),x3}const GZ=["webgl","webgpu","canvas"];async function wdt(e){var a;let t=[];e.preference?(t.push(e.preference),GZ.forEach(s=>{s!==e.preference&&t.push(s)})):t=GZ.slice();let r,n={};for(let s=0;s<t.length;s++){const o=t[s];if(o==="webgpu"&&await xdt()){const{WebGPURenderer:l}=await tr(async()=>{const{WebGPURenderer:c}=await import("./WebGPURenderer-CI4xI9YZ.js");return{WebGPURenderer:c}},__vite__mapDeps([5,4,6,1]));r=l,n={...e,...e.webgpu};break}else if(o==="webgl"&&ibe((a=e.failIfMajorPerformanceCaveat)!=null?a:nbe.defaultOptions.failIfMajorPerformanceCaveat)){const{WebGLRenderer:l}=await tr(async()=>{const{WebGLRenderer:c}=await import("./WebGLRenderer-DISq39B4.js");return{WebGLRenderer:c}},__vite__mapDeps([7,4,6,1]));r=l,n={...e,...e.webgl};break}else if(o==="canvas")throw n={...e},new Error("CanvasRenderer is not yet implemented")}if(delete n.webgpu,delete n.webgl,!r)throw new Error("No available renderer for the current environment");const i=new r;return await i.init(n),i}const abe="8.13.2";class sbe{static init(){var t;(t=globalThis.__PIXI_APP_INIT__)==null||t.call(globalThis,this,abe)}static destroy(){}}sbe.extension=Et.Application;class _dt{constructor(t){this._renderer=t}init(){var t;(t=globalThis.__PIXI_RENDERER_INIT__)==null||t.call(globalThis,this._renderer,abe)}destroy(){this._renderer=null}}_dt.extension={type:[Et.WebGLSystem,Et.WebGPUSystem],name:"initHook",priority:-10};const obe=class mM{constructor(...t){this.stage=new Ud,t[0]!==void 0&&mr(r0,"Application constructor options are deprecated, please use Application.init() instead.")}async init(t){t={...t},this.renderer=await wdt(t),mM._plugins.forEach(r=>{r.init.call(this,t)})}render(){this.renderer.render({container:this.stage})}get canvas(){return this.renderer.canvas}get view(){return mr(r0,"Application.view is deprecated, please use Application.canvas instead."),this.renderer.canvas}get screen(){return this.renderer.screen}destroy(t=!1,r=!1){const n=mM._plugins.slice(0);n.reverse(),n.forEach(i=>{i.destroy.call(this)}),this.stage.destroy(r),this.stage=null,this.renderer.destroy(t),this.renderer=null}};obe._plugins=[];let lbe=obe;pi.handleByList(Et.Application,lbe._plugins);pi.add(sbe);class cbe extends ko{constructor(){super(...arguments),this.chars=Object.create(null),this.lineHeight=0,this.fontFamily="",this.fontMetrics={fontSize:0,ascent:0,descent:0},this.baseLineOffset=0,this.distanceField={type:"none",range:0},this.pages=[],this.applyFillAsTint=!0,this.baseMeasurementFontSize=100,this.baseRenderedFontSize=100}get font(){return mr(r0,"BitmapFont.font is deprecated, please use BitmapFont.fontFamily instead."),this.fontFamily}get pageTextures(){return mr(r0,"BitmapFont.pageTextures is deprecated, please use BitmapFont.pages instead."),this.pages}get size(){return mr(r0,"BitmapFont.size is deprecated, please use BitmapFont.fontMetrics.fontSize instead."),this.fontMetrics.fontSize}get distanceFieldRange(){return mr(r0,"BitmapFont.distanceFieldRange is deprecated, please use BitmapFont.distanceField.range instead."),this.distanceField.range}get distanceFieldType(){return mr(r0,"BitmapFont.distanceFieldType is deprecated, please use BitmapFont.distanceField.type instead."),this.distanceField.type}destroy(t=!1){var r;this.emit("destroy",this),this.removeAllListeners();for(const n in this.chars)(r=this.chars[n].texture)==null||r.destroy();this.chars=null,t&&(this.pages.forEach(n=>n.texture.destroy(!0)),this.pages=null)}}/**
* tiny-lru
*
* @copyright 2025 Jason Mulligan <jason.mulligan@avoidwork.com>
* @license BSD-3-Clause
* @version 11.4.5
*/class Adt{constructor(t=0,r=0,n=!1){this.first=null,this.items=Object.create(null),this.last=null,this.max=t,this.resetTtl=n,this.size=0,this.ttl=r}clear(){return this.first=null,this.items=Object.create(null),this.last=null,this.size=0,this}delete(t){if(this.has(t)){const r=this.items[t];delete this.items[t],this.size--,r.prev!==null&&(r.prev.next=r.next),r.next!==null&&(r.next.prev=r.prev),this.first===r&&(this.first=r.next),this.last===r&&(this.last=r.prev)}return this}entries(t=this.keys()){return t.map(r=>[r,this.get(r)])}evict(t=!1){if(t||this.size>0){const r=this.first;delete this.items[r.key],--this.size===0?(this.first=null,this.last=null):(this.first=r.next,this.first.prev=null)}return this}expiresAt(t){let r;return this.has(t)&&(r=this.items[t].expiry),r}get(t){const r=this.items[t];if(r!==void 0){if(this.ttl>0&&r.expiry<=Date.now()){this.delete(t);return}return this.moveToEnd(r),r.value}}has(t){return t in this.items}moveToEnd(t){this.last!==t&&(t.prev!==null&&(t.prev.next=t.next),t.next!==null&&(t.next.prev=t.prev),this.first===t&&(this.first=t.next),t.prev=this.last,t.next=null,this.last!==null&&(this.last.next=t),this.last=t,this.first===null&&(this.first=t))}keys(){const t=[];let r=this.first;for(;r!==null;)t.push(r.key),r=r.next;return t}setWithEvicted(t,r,n=this.resetTtl){let i=null;if(this.has(t))this.set(t,r,!0,n);else{this.max>0&&this.size===this.max&&(i={...this.first},this.evict(!0));let a=this.items[t]={expiry:this.ttl>0?Date.now()+this.ttl:this.ttl,key:t,prev:this.last,next:null,value:r};++this.size===1?this.first=a:this.last.next=a,this.last=a}return i}set(t,r,n=!1,i=this.resetTtl){let a=this.items[t];return n||a!==void 0?(a.value=r,n===!1&&i&&(a.expiry=this.ttl>0?Date.now()+this.ttl:this.ttl),this.moveToEnd(a)):(this.max>0&&this.size===this.max&&this.evict(!0),a=this.items[t]={expiry:this.ttl>0?Date.now()+this.ttl:this.ttl,key:t,prev:this.last,next:null,value:r},++this.size===1?this.first=a:this.last.next=a,this.last=a),this}values(t=this.keys()){return t.map(r=>this.get(r))}}function ube(e=1e3,t=0,r=!1){if(isNaN(e)||e<0)throw new TypeError("Invalid max value");if(isNaN(t)||t<0)throw new TypeError("Invalid ttl value");if(typeof r!="boolean")throw new TypeError("Invalid resetTtl value");return new Adt(e,t,r)}const Cdt=["serif","sans-serif","monospace","cursive","fantasy","system-ui"];function gM(e){const t=typeof e.fontSize=="number"?`${e.fontSize}px`:e.fontSize;let r=e.fontFamily;Array.isArray(e.fontFamily)||(r=e.fontFamily.split(","));for(let n=r.length-1;n>=0;n--){let i=r[n].trim();!/([\"\'])[^\'\"]+\1/.test(i)&&!Cdt.includes(i)&&(i=`"${i}"`),r[n]=i}return`${e.fontStyle} ${e.fontVariant} ${e.fontWeight} ${t} ${r.join(",")}`}const VC={willReadFrequently:!0},Lo=class vt{static get experimentalLetterSpacingSupported(){let t=vt._experimentalLetterSpacingSupported;if(t===void 0){const r=C0.get().getCanvasRenderingContext2D().prototype;t=vt._experimentalLetterSpacingSupported="letterSpacing"in r||"textLetterSpacing"in r}return t}constructor(t,r,n,i,a,s,o,l,c){this.text=t,this.style=r,this.width=n,this.height=i,this.lines=a,this.lineWidths=s,this.lineHeight=o,this.maxLineWidth=l,this.fontProperties=c}static measureText(t=" ",r,n=vt._canvas,i=r.wordWrap){var v;const a=`${t}-${r.styleKey}-wordWrap-${i}`;if(vt._measurementCache.has(a))return vt._measurementCache.get(a);const s=gM(r),o=vt.measureFont(s);o.fontSize===0&&(o.fontSize=r.fontSize,o.ascent=r.fontSize);const l=vt.__context;l.font=s;const u=(i?vt._wordWrap(t,r,n):t).split(/(?:\r\n|\r|\n)/),d=new Array(u.length);let h=0;for(let S=0;S<u.length;S++){const x=vt._measureText(u[S],r.letterSpacing,l);d[S]=x,h=Math.max(h,x)}const p=((v=r._stroke)==null?void 0:v.width)||0;let m=h+p;r.dropShadow&&(m+=r.dropShadow.distance);const g=r.lineHeight||o.fontSize;let b=Math.max(g,o.fontSize+p)+(u.length-1)*(g+r.leading);r.dropShadow&&(b+=r.dropShadow.distance);const y=new vt(t,r,m,b,u,d,g+r.leading,h,o);return vt._measurementCache.set(a,y),y}static _measureText(t,r,n){let i=!1;vt.experimentalLetterSpacingSupported&&(vt.experimentalLetterSpacing?(n.letterSpacing=`${r}px`,n.textLetterSpacing=`${r}px`,i=!0):(n.letterSpacing="0px",n.textLetterSpacing="0px"));const a=n.measureText(t);let s=a.width;const o=-a.actualBoundingBoxLeft;let c=a.actualBoundingBoxRight-o;if(s>0)if(i)s-=r,c-=r;else{const u=(vt.graphemeSegmenter(t).length-1)*r;s+=u,c+=u}return Math.max(s,c)}static _wordWrap(t,r,n=vt._canvas){const i=n.getContext("2d",VC);let a=0,s="",o="";const l=Object.create(null),{letterSpacing:c,whiteSpace:u}=r,d=vt._collapseSpaces(u),h=vt._collapseNewlines(u);let p=!d;const m=r.wordWrapWidth+c,g=vt._tokenize(t);for(let b=0;b<g.length;b++){let y=g[b];if(vt._isNewline(y)){if(!h){o+=vt._addLine(s),p=!d,s="",a=0;continue}y=" "}if(d){const S=vt.isBreakingSpace(y),x=vt.isBreakingSpace(s[s.length-1]);if(S&&x)continue}const v=vt._getFromCache(y,c,l,i);if(v>m)if(s!==""&&(o+=vt._addLine(s),s="",a=0),vt.canBreakWords(y,r.breakWords)){const S=vt.wordWrapSplit(y);for(let x=0;x<S.length;x++){let w=S[x],A=w,_=1;for(;S[x+_];){const E=S[x+_];if(!vt.canBreakChars(A,E,y,x,r.breakWords))w+=E;else break;A=E,_++}x+=_-1;const C=vt._getFromCache(w,c,l,i);C+a>m&&(o+=vt._addLine(s),p=!1,s="",a=0),s+=w,a+=C}}else{s.length>0&&(o+=vt._addLine(s),s="",a=0);const S=b===g.length-1;o+=vt._addLine(y,!S),p=!1,s="",a=0}else v+a>m&&(p=!1,o+=vt._addLine(s),s="",a=0),(s.length>0||!vt.isBreakingSpace(y)||p)&&(s+=y,a+=v)}return o+=vt._addLine(s,!1),o}static _addLine(t,r=!0){return t=vt._trimRight(t),t=r?`${t}
`:t,t}static _getFromCache(t,r,n,i){let a=n[t];return typeof a!="number"&&(a=vt._measureText(t,r,i)+r,n[t]=a),a}static _collapseSpaces(t){return t==="normal"||t==="pre-line"}static _collapseNewlines(t){return t==="normal"}static _trimRight(t){if(typeof t!="string")return"";for(let r=t.length-1;r>=0;r--){const n=t[r];if(!vt.isBreakingSpace(n))break;t=t.slice(0,-1)}return t}static _isNewline(t){return typeof t!="string"?!1:vt._newlines.includes(t.charCodeAt(0))}static isBreakingSpace(t,r){return typeof t!="string"?!1:vt._breakingSpaces.includes(t.charCodeAt(0))}static _tokenize(t){const r=[];let n="";if(typeof t!="string")return r;for(let i=0;i<t.length;i++){const a=t[i],s=t[i+1];if(vt.isBreakingSpace(a,s)||vt._isNewline(a)){n!==""&&(r.push(n),n=""),a==="\r"&&s===`
`?(r.push(`\r
`),i++):r.push(a);continue}n+=a}return n!==""&&r.push(n),r}static canBreakWords(t,r){return r}static canBreakChars(t,r,n,i,a){return!0}static wordWrapSplit(t){return vt.graphemeSegmenter(t)}static measureFont(t){if(vt._fonts[t])return vt._fonts[t];const r=vt._context;r.font=t;const n=r.measureText(vt.METRICS_STRING+vt.BASELINE_SYMBOL),i={ascent:n.actualBoundingBoxAscent,descent:n.actualBoundingBoxDescent,fontSize:n.actualBoundingBoxAscent+n.actualBoundingBoxDescent};return vt._fonts[t]=i,i}static clearMetrics(t=""){t?delete vt._fonts[t]:vt._fonts={}}static get _canvas(){if(!vt.__canvas){let t;try{const r=new OffscreenCanvas(0,0),n=r.getContext("2d",VC);if(n!=null&&n.measureText)return vt.__canvas=r,r;t=C0.get().createCanvas()}catch(r){t=C0.get().createCanvas()}t.width=t.height=10,vt.__canvas=t}return vt.__canvas}static get _context(){return vt.__context||(vt.__context=vt._canvas.getContext("2d",VC)),vt.__context}};Lo.METRICS_STRING="|ÉqÅ";Lo.BASELINE_SYMBOL="M";Lo.BASELINE_MULTIPLIER=1.4;Lo.HEIGHT_MULTIPLIER=2;Lo.graphemeSegmenter=(()=>{if(typeof(Intl==null?void 0:Intl.Segmenter)=="function"){const e=new Intl.Segmenter;return t=>{const r=e.segment(t),n=[];let i=0;for(const a of r)n[i++]=a.segment;return n}}return e=>[...e]})();Lo.experimentalLetterSpacing=!1;Lo._fonts={};Lo._newlines=[10,13];Lo._breakingSpaces=[9,32,8192,8193,8194,8195,8196,8197,8198,8200,8201,8202,8287,12288];Lo._measurementCache=ube(1e3);let xT=Lo;const VZ=[{offset:0,color:"white"},{offset:1,color:"black"}],MN=class bM{constructor(...t){var i;this.uid=dn("fillGradient"),this._tick=0,this.type="linear",this.colorStops=[];let r=Edt(t);r={...r.type==="radial"?bM.defaultRadialOptions:bM.defaultLinearOptions,...p1e(r)},this._textureSize=r.textureSize,this._wrapMode=r.wrapMode,r.type==="radial"?(this.center=r.center,this.outerCenter=(i=r.outerCenter)!=null?i:this.center,this.innerRadius=r.innerRadius,this.outerRadius=r.outerRadius,this.scale=r.scale,this.rotation=r.rotation):(this.start=r.start,this.end=r.end),this.textureSpace=r.textureSpace,this.type=r.type,r.colorStops.forEach(a=>{this.addColorStop(a.offset,a.color)})}addColorStop(t,r){return this.colorStops.push({offset:t,color:Bn.shared.setValue(r).toHexa()}),this}buildLinearGradient(){if(this.texture)return;let{x:t,y:r}=this.start,{x:n,y:i}=this.end,a=n-t,s=i-r;const o=a<0||s<0;if(this._wrapMode==="clamp-to-edge"){if(a<0){const b=t;t=n,n=b,a*=-1}if(s<0){const b=r;r=i,i=b,s*=-1}}const l=this.colorStops.length?this.colorStops:VZ,c=this._textureSize,{canvas:u,context:d}=KZ(c,1),h=o?d.createLinearGradient(this._textureSize,0,0,0):d.createLinearGradient(0,0,this._textureSize,0);YZ(h,l),d.fillStyle=h,d.fillRect(0,0,c,1),this.texture=new cr({source:new wh({resource:u,addressMode:this._wrapMode})});const p=Math.sqrt(a*a+s*s),m=Math.atan2(s,a),g=new vr;g.scale(p/c,1),g.rotate(m),g.translate(t,r),this.textureSpace==="local"&&g.scale(c,c),this.transform=g}buildGradient(){this.texture||this._tick++,this.type==="linear"?this.buildLinearGradient():this.buildRadialGradient()}buildRadialGradient(){if(this.texture)return;const t=this.colorStops.length?this.colorStops:VZ,r=this._textureSize,{canvas:n,context:i}=KZ(r,r),{x:a,y:s}=this.center,{x:o,y:l}=this.outerCenter,c=this.innerRadius,u=this.outerRadius,d=o-u,h=l-u,p=r/(u*2),m=(a-d)*p,g=(s-h)*p,b=i.createRadialGradient(m,g,c*p,(o-d)*p,(l-h)*p,u*p);YZ(b,t),i.fillStyle=t[t.length-1].color,i.fillRect(0,0,r,r),i.fillStyle=b,i.translate(m,g),i.rotate(this.rotation),i.scale(1,this.scale),i.translate(-m,-g),i.fillRect(0,0,r,r),this.texture=new cr({source:new wh({resource:n,addressMode:this._wrapMode})});const y=new vr;y.scale(1/p,1/p),y.translate(d,h),this.textureSpace==="local"&&y.scale(r,r),this.transform=y}destroy(){var t;(t=this.texture)==null||t.destroy(!0),this.texture=null,this.transform=null,this.colorStops=[],this.start=null,this.end=null,this.center=null,this.outerCenter=null}get styleKey(){return`fill-gradient-${this.uid}-${this._tick}`}};MN.defaultLinearOptions={start:{x:0,y:0},end:{x:0,y:1},colorStops:[],textureSpace:"local",type:"linear",textureSize:256,wrapMode:"clamp-to-edge"};MN.defaultRadialOptions={center:{x:.5,y:.5},innerRadius:0,outerRadius:.5,colorStops:[],scale:1,textureSpace:"local",type:"radial",textureSize:256,wrapMode:"clamp-to-edge"};let nu=MN;function YZ(e,t){for(let r=0;r<t.length;r++){const n=t[r];e.addColorStop(n.offset,n.color)}}function KZ(e,t){const r=C0.get().createCanvas(e,t),n=r.getContext("2d");return{canvas:r,context:n}}function Edt(e){var r,n;let t=(r=e[0])!=null?r:{};return(typeof t=="number"||e[1])&&(mr("8.5.2","use options object instead"),t={type:"linear",start:{x:e[0],y:e[1]},end:{x:e[2],y:e[3]},textureSpace:e[4],textureSize:(n=e[5])!=null?n:nu.defaultLinearOptions.textureSize}),t}const XZ={repeat:{addressModeU:"repeat",addressModeV:"repeat"},"repeat-x":{addressModeU:"repeat",addressModeV:"clamp-to-edge"},"repeat-y":{addressModeU:"clamp-to-edge",addressModeV:"repeat"},"no-repeat":{addressModeU:"clamp-to-edge",addressModeV:"clamp-to-edge"}};class K6{constructor(t,r){this.uid=dn("fillPattern"),this._tick=0,this.transform=new vr,this.texture=t,this.transform.scale(1/t.frame.width,1/t.frame.height),r&&(t.source.style.addressModeU=XZ[r].addressModeU,t.source.style.addressModeV=XZ[r].addressModeV)}setTransform(t){const r=this.texture;this.transform.copyFrom(t),this.transform.invert(),this.transform.scale(1/r.frame.width,1/r.frame.height),this._tick++}get texture(){return this._texture}set texture(t){this._texture!==t&&(this._texture=t,this._tick++)}get styleKey(){return`fill-pattern-${this.uid}-${this._tick}`}destroy(){this.texture.destroy(!0),this.texture=null}}var YC,QZ;function Pdt(){if(QZ)return YC;QZ=1,YC=r;var e={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},t=/([astvzqmhlc])([^astvzqmhlc]*)/ig;function r(a){var s=[];return a.replace(t,function(o,l,c){var u=l.toLowerCase();for(c=i(c),u=="m"&&c.length>2&&(s.push([l].concat(c.splice(0,2))),u="l",l=l=="m"?"l":"L");;){if(c.length==e[u])return c.unshift(l),s.push(c);if(c.length<e[u])throw new Error("malformed path data");s.push([l].concat(c.splice(0,e[u])))}}),s}var n=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/ig;function i(a){var s=a.match(n);return s?s.map(Number):[]}return YC}var jdt=Pdt();const Rdt=Ld(jdt);function Idt(e,t){const r=Rdt(e),n=[];let i=null,a=0,s=0;for(let o=0;o<r.length;o++){const l=r[o],c=l[0],u=l;switch(c){case"M":a=u[1],s=u[2],t.moveTo(a,s);break;case"m":a+=u[1],s+=u[2],t.moveTo(a,s);break;case"H":a=u[1],t.lineTo(a,s);break;case"h":a+=u[1],t.lineTo(a,s);break;case"V":s=u[1],t.lineTo(a,s);break;case"v":s+=u[1],t.lineTo(a,s);break;case"L":a=u[1],s=u[2],t.lineTo(a,s);break;case"l":a+=u[1],s+=u[2],t.lineTo(a,s);break;case"C":a=u[5],s=u[6],t.bezierCurveTo(u[1],u[2],u[3],u[4],a,s);break;case"c":t.bezierCurveTo(a+u[1],s+u[2],a+u[3],s+u[4],a+u[5],s+u[6]),a+=u[5],s+=u[6];break;case"S":a=u[3],s=u[4],t.bezierCurveToShort(u[1],u[2],a,s);break;case"s":t.bezierCurveToShort(a+u[1],s+u[2],a+u[3],s+u[4]),a+=u[3],s+=u[4];break;case"Q":a=u[3],s=u[4],t.quadraticCurveTo(u[1],u[2],a,s);break;case"q":t.quadraticCurveTo(a+u[1],s+u[2],a+u[3],s+u[4]),a+=u[3],s+=u[4];break;case"T":a=u[1],s=u[2],t.quadraticCurveToShort(a,s);break;case"t":a+=u[1],s+=u[2],t.quadraticCurveToShort(a,s);break;case"A":a=u[6],s=u[7],t.arcToSvg(u[1],u[2],u[3],u[4],u[5],a,s);break;case"a":a+=u[6],s+=u[7],t.arcToSvg(u[1],u[2],u[3],u[4],u[5],a,s);break;case"Z":case"z":t.closePath(),n.length>0&&(i=n.pop(),i?(a=i.startX,s=i.startY):(a=0,s=0)),i=null;break;default:A0(`Unknown SVG path command: ${c}`)}c!=="Z"&&c!=="z"&&i===null&&(i={startX:a,startY:s},n.push(i))}return t}class kN{constructor(t=0,r=0,n=0){this.type="circle",this.x=t,this.y=r,this.radius=n}clone(){return new kN(this.x,this.y,this.radius)}contains(t,r){if(this.radius<=0)return!1;const n=this.radius*this.radius;let i=this.x-t,a=this.y-r;return i*=i,a*=a,i+a<=n}strokeContains(t,r,n,i=.5){if(this.radius===0)return!1;const a=this.x-t,s=this.y-r,o=this.radius,l=(1-i)*n,c=Math.sqrt(a*a+s*s);return c<=o+l&&c>o-(n-l)}getBounds(t){return t||(t=new un),t.x=this.x-this.radius,t.y=this.y-this.radius,t.width=this.radius*2,t.height=this.radius*2,t}copyFrom(t){return this.x=t.x,this.y=t.y,this.radius=t.radius,this}copyTo(t){return t.copyFrom(this),t}toString(){return`[pixi.js/math:Circle x=${this.x} y=${this.y} radius=${this.radius}]`}}class DN{constructor(t=0,r=0,n=0,i=0){this.type="ellipse",this.x=t,this.y=r,this.halfWidth=n,this.halfHeight=i}clone(){return new DN(this.x,this.y,this.halfWidth,this.halfHeight)}contains(t,r){if(this.halfWidth<=0||this.halfHeight<=0)return!1;let n=(t-this.x)/this.halfWidth,i=(r-this.y)/this.halfHeight;return n*=n,i*=i,n+i<=1}strokeContains(t,r,n,i=.5){const{halfWidth:a,halfHeight:s}=this;if(a<=0||s<=0)return!1;const o=n*(1-i),l=n-o,c=a-l,u=s-l,d=a+o,h=s+o,p=t-this.x,m=r-this.y,g=p*p/(c*c)+m*m/(u*u),b=p*p/(d*d)+m*m/(h*h);return g>1&&b<=1}getBounds(t){return t||(t=new un),t.x=this.x-this.halfWidth,t.y=this.y-this.halfHeight,t.width=this.halfWidth*2,t.height=this.halfHeight*2,t}copyFrom(t){return this.x=t.x,this.y=t.y,this.halfWidth=t.halfWidth,this.halfHeight=t.halfHeight,this}copyTo(t){return t.copyFrom(this),t}toString(){return`[pixi.js/math:Ellipse x=${this.x} y=${this.y} halfWidth=${this.halfWidth} halfHeight=${this.halfHeight}]`}}function Odt(e,t,r,n,i,a){const s=e-r,o=t-n,l=i-r,c=a-n,u=s*l+o*c,d=l*l+c*c;let h=-1;d!==0&&(h=u/d);let p,m;h<0?(p=r,m=n):h>1?(p=i,m=a):(p=r+h*l,m=n+h*c);const g=e-p,b=t-m;return g*g+b*b}let Mdt,kdt;class Wy{constructor(...t){this.type="polygon";let r=Array.isArray(t[0])?t[0]:t;if(typeof r[0]!="number"){const n=[];for(let i=0,a=r.length;i<a;i++)n.push(r[i].x,r[i].y);r=n}this.points=r,this.closePath=!0}isClockwise(){let t=0;const r=this.points,n=r.length;for(let i=0;i<n;i+=2){const a=r[i],s=r[i+1],o=r[(i+2)%n],l=r[(i+3)%n];t+=(o-a)*(l+s)}return t<0}containsPolygon(t){const r=this.getBounds(Mdt),n=t.getBounds(kdt);if(!r.containsRect(n))return!1;const i=t.points;for(let a=0;a<i.length;a+=2){const s=i[a],o=i[a+1];if(!this.contains(s,o))return!1}return!0}clone(){const t=this.points.slice(),r=new Wy(t);return r.closePath=this.closePath,r}contains(t,r){let n=!1;const i=this.points.length/2;for(let a=0,s=i-1;a<i;s=a++){const o=this.points[a*2],l=this.points[a*2+1],c=this.points[s*2],u=this.points[s*2+1];l>r!=u>r&&t<(c-o)*((r-l)/(u-l))+o&&(n=!n)}return n}strokeContains(t,r,n,i=.5){const a=n*n,s=a*(1-i),o=a-s,{points:l}=this,c=l.length-(this.closePath?0:2);for(let u=0;u<c;u+=2){const d=l[u],h=l[u+1],p=l[(u+2)%l.length],m=l[(u+3)%l.length],g=Odt(t,r,d,h,p,m),b=Math.sign((p-d)*(r-h)-(m-h)*(t-d));if(g<=(b<0?o:s))return!0}return!1}getBounds(t){t||(t=new un);const r=this.points;let n=1/0,i=-1/0,a=1/0,s=-1/0;for(let o=0,l=r.length;o<l;o+=2){const c=r[o],u=r[o+1];n=c<n?c:n,i=c>i?c:i,a=u<a?u:a,s=u>s?u:s}return t.x=n,t.width=i-n,t.y=a,t.height=s-a,t}copyFrom(t){return this.points=t.points.slice(),this.closePath=t.closePath,this}copyTo(t){return t.copyFrom(this),t}toString(){return`[pixi.js/math:PolygoncloseStroke=${this.closePath}points=${this.points.reduce((t,r)=>`${t}, ${r}`,"")}]`}get lastX(){return this.points[this.points.length-2]}get lastY(){return this.points[this.points.length-1]}get x(){return mr("8.11.0","Polygon.lastX is deprecated, please use Polygon.lastX instead."),this.points[this.points.length-2]}get y(){return mr("8.11.0","Polygon.y is deprecated, please use Polygon.lastY instead."),this.points[this.points.length-1]}get startX(){return this.points[0]}get startY(){return this.points[1]}}const w3=(e,t,r,n,i,a,s)=>{const o=e-r,l=t-n,c=Math.sqrt(o*o+l*l);return c>=i-a&&c<=i+s};class LN{constructor(t=0,r=0,n=0,i=0,a=20){this.type="roundedRectangle",this.x=t,this.y=r,this.width=n,this.height=i,this.radius=a}getBounds(t){return t||(t=new un),t.x=this.x,t.y=this.y,t.width=this.width,t.height=this.height,t}clone(){return new LN(this.x,this.y,this.width,this.height,this.radius)}copyFrom(t){return this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height,this}copyTo(t){return t.copyFrom(this),t}contains(t,r){if(this.width<=0||this.height<=0)return!1;if(t>=this.x&&t<=this.x+this.width&&r>=this.y&&r<=this.y+this.height){const n=Math.max(0,Math.min(this.radius,Math.min(this.width,this.height)/2));if(r>=this.y+n&&r<=this.y+this.height-n||t>=this.x+n&&t<=this.x+this.width-n)return!0;let i=t-(this.x+n),a=r-(this.y+n);const s=n*n;if(i*i+a*a<=s||(i=t-(this.x+this.width-n),i*i+a*a<=s)||(a=r-(this.y+this.height-n),i*i+a*a<=s)||(i=t-(this.x+n),i*i+a*a<=s))return!0}return!1}strokeContains(t,r,n,i=.5){const{x:a,y:s,width:o,height:l,radius:c}=this,u=n*(1-i),d=n-u,h=a+c,p=s+c,m=o-c*2,g=l-c*2,b=a+o,y=s+l;return(t>=a-u&&t<=a+d||t>=b-d&&t<=b+u)&&r>=p&&r<=p+g||(r>=s-u&&r<=s+d||r>=y-d&&r<=y+u)&&t>=h&&t<=h+m?!0:t<h&&r<p&&w3(t,r,h,p,c,d,u)||t>b-c&&r<p&&w3(t,r,b-c,p,c,d,u)||t>b-c&&r>y-c&&w3(t,r,b-c,y-c,c,d,u)||t<h&&r>y-c&&w3(t,r,h,y-c,c,d,u)}toString(){return`[pixi.js/math:RoundedRectangle x=${this.x} y=${this.y}width=${this.width} height=${this.height} radius=${this.radius}]`}}const dbe={};function Ddt(e,t,r){let n=2166136261;for(let i=0;i<t;i++)n^=e[i].uid,n=Math.imul(n,16777619),n>>>=0;return dbe[n]||Ldt(e,t,n,r)}function Ldt(e,t,r,n){const i={};let a=0;for(let o=0;o<n;o++){const l=o<t?e[o]:cr.EMPTY.source;i[a++]=l.source,i[a++]=l.style}const s=new ST(i);return dbe[r]=s,s}class JZ{constructor(t){typeof t=="number"?this.rawBinaryData=new ArrayBuffer(t):t instanceof Uint8Array?this.rawBinaryData=t.buffer:this.rawBinaryData=t,this.uint32View=new Uint32Array(this.rawBinaryData),this.float32View=new Float32Array(this.rawBinaryData),this.size=this.rawBinaryData.byteLength}get int8View(){return this._int8View||(this._int8View=new Int8Array(this.rawBinaryData)),this._int8View}get uint8View(){return this._uint8View||(this._uint8View=new Uint8Array(this.rawBinaryData)),this._uint8View}get int16View(){return this._int16View||(this._int16View=new Int16Array(this.rawBinaryData)),this._int16View}get int32View(){return this._int32View||(this._int32View=new Int32Array(this.rawBinaryData)),this._int32View}get float64View(){return this._float64Array||(this._float64Array=new Float64Array(this.rawBinaryData)),this._float64Array}get bigUint64View(){return this._bigUint64Array||(this._bigUint64Array=new BigUint64Array(this.rawBinaryData)),this._bigUint64Array}view(t){return this[`${t}View`]}destroy(){this.rawBinaryData=null,this._int8View=null,this._uint8View=null,this._int16View=null,this.uint16View=null,this._int32View=null,this.uint32View=null,this.float32View=null}static sizeOf(t){switch(t){case"int8":case"uint8":return 1;case"int16":case"uint16":return 2;case"int32":case"uint32":case"float32":return 4;default:throw new Error(`${t} isn't a valid view type`)}}}function ZZ(e,t){const r=e.byteLength/8|0,n=new Float64Array(e,0,r);new Float64Array(t,0,r).set(n);const a=e.byteLength-r*8;if(a>0){const s=new Uint8Array(e,r*8,a);new Uint8Array(t,r*8,a).set(s)}}const Fdt={normal:"normal-npm",add:"add-npm",screen:"screen-npm"};var $dt=(e=>(e[e.DISABLED=0]="DISABLED",e[e.RENDERING_MASK_ADD=1]="RENDERING_MASK_ADD",e[e.MASK_ACTIVE=2]="MASK_ACTIVE",e[e.INVERSE_MASK_ACTIVE=3]="INVERSE_MASK_ACTIVE",e[e.RENDERING_MASK_REMOVE=4]="RENDERING_MASK_REMOVE",e[e.NONE=5]="NONE",e))($dt||{});function eee(e,t){return t.alphaMode==="no-premultiply-alpha"&&Fdt[e]||e}const Bdt=["precision mediump float;","void main(void){","float test = 0.1;","%forloop%","gl_FragColor = vec4(0.0);","}"].join(`
`);function Ndt(e){let t="";for(let r=0;r<e;++r)r>0&&(t+=`
else `),r<e-1&&(t+=`if(test == ${r}.0){}`);return t}function qdt(e,t){if(e===0)throw new Error("Invalid value of `0` passed to `checkMaxIfStatementsInShader`");const r=t.createShader(t.FRAGMENT_SHADER);try{for(;;){const n=Bdt.replace(/%forloop%/gi,Ndt(e));if(t.shaderSource(r,n),t.compileShader(r),!t.getShaderParameter(r,t.COMPILE_STATUS))e=e/2|0;else break}}finally{t.deleteShader(r)}return e}let wf=null;function zdt(){var t;if(wf)return wf;const e=W1e();return wf=e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS),wf=qdt(wf,e),(t=e.getExtension("WEBGL_lose_context"))==null||t.loseContext(),wf}class Wdt{constructor(){this.ids=Object.create(null),this.textures=[],this.count=0}clear(){for(let t=0;t<this.count;t++){const r=this.textures[t];this.textures[t]=null,this.ids[r.uid]=null}this.count=0}}class Hdt{constructor(){this.renderPipeId="batch",this.action="startBatch",this.start=0,this.size=0,this.textures=new Wdt,this.blendMode="normal",this.topology="triangle-strip",this.canBundle=!0}destroy(){this.textures=null,this.gpuBindGroup=null,this.bindGroup=null,this.batcher=null}}const Hy=[];let ex=0;Av.register({clear:()=>{if(Hy.length>0)for(const e of Hy)e&&e.destroy();Hy.length=0,ex=0}});function tee(){return ex>0?Hy[--ex]:new Hdt}function ree(e){Hy[ex++]=e}let Sb=0;const pbe=class hbe{constructor(t){this.uid=dn("batcher"),this.dirty=!0,this.batchIndex=0,this.batches=[],this._elements=[],t={...hbe.defaultOptions,...t},t.maxTextures||(mr("v8.8.0","maxTextures is a required option for Batcher now, please pass it in the options"),t.maxTextures=zdt());const{maxTextures:r,attributesInitialSize:n,indicesInitialSize:i}=t;this.attributeBuffer=new JZ(n*4),this.indexBuffer=new Uint16Array(i),this.maxTextures=r}begin(){this.elementSize=0,this.elementStart=0,this.indexSize=0,this.attributeSize=0;for(let t=0;t<this.batchIndex;t++)ree(this.batches[t]);this.batchIndex=0,this._batchIndexStart=0,this._batchIndexSize=0,this.dirty=!0}add(t){this._elements[this.elementSize++]=t,t._indexStart=this.indexSize,t._attributeStart=this.attributeSize,t._batcher=this,this.indexSize+=t.indexSize,this.attributeSize+=t.attributeSize*this.vertexSize}checkAndUpdateTexture(t,r){const n=t._batch.textures.ids[r._source.uid];return!n&&n!==0?!1:(t._textureId=n,t.texture=r,!0)}updateElement(t){this.dirty=!0;const r=this.attributeBuffer;t.packAsQuad?this.packQuadAttributes(t,r.float32View,r.uint32View,t._attributeStart,t._textureId):this.packAttributes(t,r.float32View,r.uint32View,t._attributeStart,t._textureId)}break(t){const r=this._elements;if(!r[this.elementStart])return;let n=tee(),i=n.textures;i.clear();const a=r[this.elementStart];let s=eee(a.blendMode,a.texture._source),o=a.topology;this.attributeSize*4>this.attributeBuffer.size&&this._resizeAttributeBuffer(this.attributeSize*4),this.indexSize>this.indexBuffer.length&&this._resizeIndexBuffer(this.indexSize);const l=this.attributeBuffer.float32View,c=this.attributeBuffer.uint32View,u=this.indexBuffer;let d=this._batchIndexSize,h=this._batchIndexStart,p="startBatch";const m=this.maxTextures;for(let g=this.elementStart;g<this.elementSize;++g){const b=r[g];r[g]=null;const v=b.texture._source,S=eee(b.blendMode,v),x=s!==S||o!==b.topology;if(v._batchTick===Sb&&!x){b._textureId=v._textureBindLocation,d+=b.indexSize,b.packAsQuad?(this.packQuadAttributes(b,l,c,b._attributeStart,b._textureId),this.packQuadIndex(u,b._indexStart,b._attributeStart/this.vertexSize)):(this.packAttributes(b,l,c,b._attributeStart,b._textureId),this.packIndex(b,u,b._indexStart,b._attributeStart/this.vertexSize)),b._batch=n;continue}v._batchTick=Sb,(i.count>=m||x)&&(this._finishBatch(n,h,d-h,i,s,o,t,p),p="renderBatch",h=d,s=S,o=b.topology,n=tee(),i=n.textures,i.clear(),++Sb),b._textureId=v._textureBindLocation=i.count,i.ids[v.uid]=i.count,i.textures[i.count++]=v,b._batch=n,d+=b.indexSize,b.packAsQuad?(this.packQuadAttributes(b,l,c,b._attributeStart,b._textureId),this.packQuadIndex(u,b._indexStart,b._attributeStart/this.vertexSize)):(this.packAttributes(b,l,c,b._attributeStart,b._textureId),this.packIndex(b,u,b._indexStart,b._attributeStart/this.vertexSize))}i.count>0&&(this._finishBatch(n,h,d-h,i,s,o,t,p),h=d,++Sb),this.elementStart=this.elementSize,this._batchIndexStart=h,this._batchIndexSize=d}_finishBatch(t,r,n,i,a,s,o,l){t.gpuBindGroup=null,t.bindGroup=null,t.action=l,t.batcher=this,t.textures=i,t.blendMode=a,t.topology=s,t.start=r,t.size=n,++Sb,this.batches[this.batchIndex++]=t,o.add(t)}finish(t){this.break(t)}ensureAttributeBuffer(t){t*4<=this.attributeBuffer.size||this._resizeAttributeBuffer(t*4)}ensureIndexBuffer(t){t<=this.indexBuffer.length||this._resizeIndexBuffer(t)}_resizeAttributeBuffer(t){const r=Math.max(t,this.attributeBuffer.size*2),n=new JZ(r);ZZ(this.attributeBuffer.rawBinaryData,n.rawBinaryData),this.attributeBuffer=n}_resizeIndexBuffer(t){const r=this.indexBuffer;let n=Math.max(t,r.length*1.5);n+=n%2;const i=n>65535?new Uint32Array(n):new Uint16Array(n);if(i.BYTES_PER_ELEMENT!==r.BYTES_PER_ELEMENT)for(let a=0;a<r.length;a++)i[a]=r[a];else ZZ(r.buffer,i.buffer);this.indexBuffer=i}packQuadIndex(t,r,n){t[r]=n+0,t[r+1]=n+1,t[r+2]=n+2,t[r+3]=n+0,t[r+4]=n+2,t[r+5]=n+3}packIndex(t,r,n,i){const a=t.indices,s=t.indexSize,o=t.indexOffset,l=t.attributeOffset;for(let c=0;c<s;c++)r[n++]=i+a[c+o]-l}destroy(){if(this.batches!==null){for(let t=0;t<this.batches.length;t++)ree(this.batches[t]);this.batches=null;for(let t=0;t<this._elements.length;t++)this._elements[t]&&(this._elements[t]._batch=null);this._elements=null,this.indexBuffer=null,this.attributeBuffer.destroy(),this.attributeBuffer=null}}};pbe.defaultOptions={maxTextures:null,attributesInitialSize:4,indicesInitialSize:6};let Udt=pbe;var ma=(e=>(e[e.MAP_READ=1]="MAP_READ",e[e.MAP_WRITE=2]="MAP_WRITE",e[e.COPY_SRC=4]="COPY_SRC",e[e.COPY_DST=8]="COPY_DST",e[e.INDEX=16]="INDEX",e[e.VERTEX=32]="VERTEX",e[e.UNIFORM=64]="UNIFORM",e[e.STORAGE=128]="STORAGE",e[e.INDIRECT=256]="INDIRECT",e[e.QUERY_RESOLVE=512]="QUERY_RESOLVE",e[e.STATIC=1024]="STATIC",e))(ma||{});let r7=class extends ko{constructor(t){let{data:r,size:n}=t;const{usage:i,label:a,shrinkToFit:s}=t;super(),this.uid=dn("buffer"),this._resourceType="buffer",this._resourceId=dn("resource"),this._touched=0,this._updateID=1,this._dataInt32=null,this.shrinkToFit=!0,this.destroyed=!1,r instanceof Array&&(r=new Float32Array(r)),this._data=r,n!=null||(n=r==null?void 0:r.byteLength);const o=!!r;this.descriptor={size:n,usage:i,mappedAtCreation:o,label:a},this.shrinkToFit=s!=null?s:!0}get data(){return this._data}set data(t){this.setDataWithSize(t,t.length,!0)}get dataInt32(){return this._dataInt32||(this._dataInt32=new Int32Array(this.data.buffer)),this._dataInt32}get static(){return!!(this.descriptor.usage&ma.STATIC)}set static(t){t?this.descriptor.usage|=ma.STATIC:this.descriptor.usage&=~ma.STATIC}setDataWithSize(t,r,n){if(this._updateID++,this._updateSize=r*t.BYTES_PER_ELEMENT,this._data===t){n&&this.emit("update",this);return}const i=this._data;if(this._data=t,this._dataInt32=null,!i||i.length!==t.length){!this.shrinkToFit&&i&&t.byteLength<i.byteLength?n&&this.emit("update",this):(this.descriptor.size=t.byteLength,this._resourceId=dn("resource"),this.emit("change",this));return}n&&this.emit("update",this)}update(t){this._updateSize=t!=null?t:this._updateSize,this._updateID++,this.emit("update",this)}destroy(){this.destroyed=!0,this.emit("destroy",this),this.emit("change",this),this._data=null,this.descriptor=null,this.removeAllListeners()}};function fbe(e,t){if(!(e instanceof r7)){let r=t?ma.INDEX:ma.VERTEX;e instanceof Array&&(t?(e=new Uint32Array(e),r=ma.INDEX|ma.COPY_DST):(e=new Float32Array(e),r=ma.VERTEX|ma.COPY_DST)),e=new r7({data:e,label:t?"index-mesh-buffer":"vertex-mesh-buffer",usage:r})}return e}function Gdt(e,t,r){const n=e.getAttribute(t);if(!n)return r.minX=0,r.minY=0,r.maxX=0,r.maxY=0,r;const i=n.buffer.data;let a=1/0,s=1/0,o=-1/0,l=-1/0;const c=i.BYTES_PER_ELEMENT,u=(n.offset||0)/c,d=(n.stride||8)/c;for(let h=u;h<i.length;h+=d){const p=i[h],m=i[h+1];p>o&&(o=p),m>l&&(l=m),p<a&&(a=p),m<s&&(s=m)}return r.minX=a,r.minY=s,r.maxX=o,r.maxY=l,r}function Vdt(e){return(e instanceof r7||Array.isArray(e)||e.BYTES_PER_ELEMENT)&&(e={buffer:e}),e.buffer=fbe(e.buffer,!1),e}class Ydt extends ko{constructor(t={}){var a;super(),this.uid=dn("geometry"),this._layoutKey=0,this.instanceCount=1,this._bounds=new _o,this._boundsDirty=!0;const{attributes:r,indexBuffer:n,topology:i}=t;if(this.buffers=[],this.attributes={},r)for(const s in r)this.addAttribute(s,r[s]);this.instanceCount=(a=t.instanceCount)!=null?a:1,n&&this.addIndex(n),this.topology=i||"triangle-list"}onBufferUpdate(){this._boundsDirty=!0,this.emit("update",this)}getAttribute(t){return this.attributes[t]}getIndex(){return this.indexBuffer}getBuffer(t){return this.getAttribute(t).buffer}getSize(){for(const t in this.attributes){const r=this.attributes[t];return r.buffer.data.length/(r.stride/4||r.size)}return 0}addAttribute(t,r){const n=Vdt(r);this.buffers.indexOf(n.buffer)===-1&&(this.buffers.push(n.buffer),n.buffer.on("update",this.onBufferUpdate,this),n.buffer.on("change",this.onBufferUpdate,this)),this.attributes[t]=n}addIndex(t){this.indexBuffer=fbe(t,!0),this.buffers.push(this.indexBuffer)}get bounds(){return this._boundsDirty?(this._boundsDirty=!1,Gdt(this,"aPosition",this._bounds)):this._bounds}destroy(t=!1){this.emit("destroy",this),this.removeAllListeners(),t&&this.buffers.forEach(r=>r.destroy()),this.attributes=null,this.buffers=null,this.indexBuffer=null,this._bounds=null}}const Kdt=new Float32Array(1),Xdt=new Uint32Array(1);class Qdt extends Ydt{constructor(){const r=new r7({data:Kdt,label:"attribute-batch-buffer",usage:ma.VERTEX|ma.COPY_DST,shrinkToFit:!1}),n=new r7({data:Xdt,label:"index-batch-buffer",usage:ma.INDEX|ma.COPY_DST,shrinkToFit:!1}),i=24;super({attributes:{aPosition:{buffer:r,format:"float32x2",stride:i,offset:0},aUV:{buffer:r,format:"float32x2",stride:i,offset:8},aColor:{buffer:r,format:"unorm8x4",stride:i,offset:16},aTextureIdAndRound:{buffer:r,format:"uint16x2",stride:i,offset:20}},indexBuffer:n})}}function nee(e,t,r){if(e)for(const n in e){const i=n.toLocaleLowerCase(),a=t[i];if(a){let s=e[n];n==="header"&&(s=s.replace(/@in\s+[^;]+;\s*/g,"").replace(/@out\s+[^;]+;\s*/g,"")),r&&a.push(`//----${r}----//`),a.push(s)}else A0(`${n} placement hook does not exist in shader`)}}const Jdt=/\{\{(.*?)\}\}/g;function iee(e){var n,i;const t={};return((i=(n=e.match(Jdt))==null?void 0:n.map(a=>a.replace(/[{()}]/g,"")))!=null?i:[]).forEach(a=>{t[a]=[]}),t}function aee(e,t){let r;const n=/@in\s+([^;]+);/g;for(;(r=n.exec(e))!==null;)t.push(r[1])}function see(e,t,r=!1){const n=[];aee(t,n),e.forEach(o=>{o.header&&aee(o.header,n)});const i=n;r&&i.sort();const a=i.map((o,l)=>` @location(${l}) ${o},`).join(`
`);let s=t.replace(/@in\s+[^;]+;\s*/g,"");return s=s.replace("{{in}}",`
${a}
`),s}function oee(e,t){let r;const n=/@out\s+([^;]+);/g;for(;(r=n.exec(e))!==null;)t.push(r[1])}function Zdt(e){const r=/\b(\w+)\s*:/g.exec(e);return r?r[1]:""}function ept(e){const t=/@.*?\s+/g;return e.replace(t,"")}function tpt(e,t){const r=[];oee(t,r),e.forEach(l=>{l.header&&oee(l.header,r)});let n=0;const i=r.sort().map(l=>l.indexOf("builtin")>-1?l:`@location(${n++}) ${l}`).join(`,
`),a=r.sort().map(l=>` var ${ept(l)};`).join(`
`),s=`return VSOutput(
${r.sort().map(l=>` ${Zdt(l)}`).join(`,
`)});`;let o=t.replace(/@out\s+[^;]+;\s*/g,"");return o=o.replace("{{struct}}",`
${i}
`),o=o.replace("{{start}}",`
${a}
`),o=o.replace("{{return}}",`
${s}
`),o}function lee(e,t){let r=e;for(const n in t){const i=t[n];i.join(`
`).length?r=r.replace(`{{${n}}}`,`//-----${n} START-----//
${i.join(`
`)}
//----${n} FINISH----//`):r=r.replace(`{{${n}}}`,"")}return r}const rd=Object.create(null),KC=new Map;let rpt=0;function npt({template:e,bits:t}){const r=mbe(e,t);if(rd[r])return rd[r];const{vertex:n,fragment:i}=apt(e,t);return rd[r]=gbe(n,i,t),rd[r]}function ipt({template:e,bits:t}){const r=mbe(e,t);return rd[r]||(rd[r]=gbe(e.vertex,e.fragment,t)),rd[r]}function apt(e,t){const r=t.map(s=>s.vertex).filter(s=>!!s),n=t.map(s=>s.fragment).filter(s=>!!s);let i=see(r,e.vertex,!0);i=tpt(r,i);const a=see(n,e.fragment,!0);return{vertex:i,fragment:a}}function mbe(e,t){return t.map(r=>(KC.has(r)||KC.set(r,rpt++),KC.get(r))).sort((r,n)=>r-n).join("-")+e.vertex+e.fragment}function gbe(e,t,r){const n=iee(e),i=iee(t);return r.forEach(a=>{nee(a.vertex,n,a.name),nee(a.fragment,i,a.name)}),{vertex:lee(e,n),fragment:lee(t,i)}}const spt=`
@in aPosition: vec2<f32>;
@in aUV: vec2<f32>;
@out @builtin(position) vPosition: vec4<f32>;
@out vUV : vec2<f32>;
@out vColor : vec4<f32>;
{{header}}
struct VSOutput {
{{struct}}
};
@vertex
fn main( {{in}} ) -> VSOutput {
var worldTransformMatrix = globalUniforms.uWorldTransformMatrix;
var modelMatrix = mat3x3<f32>(
1.0, 0.0, 0.0,
0.0, 1.0, 0.0,
0.0, 0.0, 1.0
);
var position = aPosition;
var uv = aUV;
{{start}}
vColor = vec4<f32>(1., 1., 1., 1.);
{{main}}
vUV = uv;
var modelViewProjectionMatrix = globalUniforms.uProjectionMatrix * worldTransformMatrix * modelMatrix;
vPosition = vec4<f32>((modelViewProjectionMatrix * vec3<f32>(position, 1.0)).xy, 0.0, 1.0);
vColor *= globalUniforms.uWorldColorAlpha;
{{end}}
{{return}}
};
`,opt=`
@in vUV : vec2<f32>;
@in vColor : vec4<f32>;
{{header}}
@fragment
fn main(
{{in}}
) -> @location(0) vec4<f32> {
{{start}}
var outColor:vec4<f32>;
{{main}}
var finalColor:vec4<f32> = outColor * vColor;
{{end}}
return finalColor;
};
`,lpt=`
in vec2 aPosition;
in vec2 aUV;
out vec4 vColor;
out vec2 vUV;
{{header}}
void main(void){
mat3 worldTransformMatrix = uWorldTransformMatrix;
mat3 modelMatrix = mat3(
1.0, 0.0, 0.0,
0.0, 1.0, 0.0,
0.0, 0.0, 1.0
);
vec2 position = aPosition;
vec2 uv = aUV;
{{start}}
vColor = vec4(1.);
{{main}}
vUV = uv;
mat3 modelViewProjectionMatrix = uProjectionMatrix * worldTransformMatrix * modelMatrix;
gl_Position = vec4((modelViewProjectionMatrix * vec3(position, 1.0)).xy, 0.0, 1.0);
vColor *= uWorldColorAlpha;
{{end}}
}
`,cpt=`
in vec4 vColor;
in vec2 vUV;
out vec4 finalColor;
{{header}}
void main(void) {
{{start}}
vec4 outColor;
{{main}}
finalColor = outColor * vColor;
{{end}}
}
`,upt={name:"global-uniforms-bit",vertex:{header:`
struct GlobalUniforms {
uProjectionMatrix:mat3x3<f32>,
uWorldTransformMatrix:mat3x3<f32>,
uWorldColorAlpha: vec4<f32>,
uResolution: vec2<f32>,
}
@group(0) @binding(0) var<uniform> globalUniforms : GlobalUniforms;
`}},dpt={name:"global-uniforms-bit",vertex:{header:`
uniform mat3 uProjectionMatrix;
uniform mat3 uWorldTransformMatrix;
uniform vec4 uWorldColorAlpha;
uniform vec2 uResolution;
`}};function ppt({bits:e,name:t}){const r=npt({template:{fragment:opt,vertex:spt},bits:[upt,...e]});return Y6.from({name:t,vertex:{source:r.vertex,entryPoint:"main"},fragment:{source:r.fragment,entryPoint:"main"}})}function hpt({bits:e,name:t}){return new U1e({name:t,...ipt({template:{vertex:lpt,fragment:cpt},bits:[dpt,...e]})})}const fpt={name:"color-bit",vertex:{header:`
@in aColor: vec4<f32>;
`,main:`
vColor *= vec4<f32>(aColor.rgb * aColor.a, aColor.a);
`}},mpt={name:"color-bit",vertex:{header:`
in vec4 aColor;
`,main:`
vColor *= vec4(aColor.rgb * aColor.a, aColor.a);
`}},XC={};function gpt(e){const t=[];if(e===1)t.push("@group(1) @binding(0) var textureSource1: texture_2d<f32>;"),t.push("@group(1) @binding(1) var textureSampler1: sampler;");else{let r=0;for(let n=0;n<e;n++)t.push(`@group(1) @binding(${r++}) var textureSource${n+1}: texture_2d<f32>;`),t.push(`@group(1) @binding(${r++}) var textureSampler${n+1}: sampler;`)}return t.join(`
`)}function bpt(e){const t=[];if(e===1)t.push("outColor = textureSampleGrad(textureSource1, textureSampler1, vUV, uvDx, uvDy);");else{t.push("switch vTextureId {");for(let r=0;r<e;r++)r===e-1?t.push(" default:{"):t.push(` case ${r}:{`),t.push(` outColor = textureSampleGrad(textureSource${r+1}, textureSampler${r+1}, vUV, uvDx, uvDy);`),t.push(" break;}");t.push("}")}return t.join(`
`)}function ypt(e){return XC[e]||(XC[e]={name:"texture-batch-bit",vertex:{header:`
@in aTextureIdAndRound: vec2<u32>;
@out @interpolate(flat) vTextureId : u32;
`,main:`
vTextureId = aTextureIdAndRound.y;
`,end:`
if(aTextureIdAndRound.x == 1)
{
vPosition = vec4<f32>(roundPixels(vPosition.xy, globalUniforms.uResolution), vPosition.zw);
}
`},fragment:{header:`
@in @interpolate(flat) vTextureId: u32;
${gpt(e)}
`,main:`
var uvDx = dpdx(vUV);
var uvDy = dpdy(vUV);
${bpt(e)}
`}}),XC[e]}const QC={};function vpt(e){const t=[];for(let r=0;r<e;r++)r>0&&t.push("else"),r<e-1&&t.push(`if(vTextureId < ${r}.5)`),t.push("{"),t.push(` outColor = texture(uTextures[${r}], vUV);`),t.push("}");return t.join(`
`)}function Tpt(e){return QC[e]||(QC[e]={name:"texture-batch-bit",vertex:{header:`
in vec2 aTextureIdAndRound;
out float vTextureId;
`,main:`
vTextureId = aTextureIdAndRound.y;
`,end:`
if(aTextureIdAndRound.x == 1.)
{
gl_Position.xy = roundPixels(gl_Position.xy, uResolution);
}
`},fragment:{header:`
in float vTextureId;
uniform sampler2D uTextures[${e}];
`,main:`
${vpt(e)}
`}}),QC[e]}const Spt={name:"round-pixels-bit",vertex:{header:`
fn roundPixels(position: vec2<f32>, targetSize: vec2<f32>) -> vec2<f32>
{
return (floor(((position * 0.5 + 0.5) * targetSize) + 0.5) / targetSize) * 2.0 - 1.0;
}
`}},xpt={name:"round-pixels-bit",vertex:{header:`
vec2 roundPixels(vec2 position, vec2 targetSize)
{
return (floor(((position * 0.5 + 0.5) * targetSize) + 0.5) / targetSize) * 2.0 - 1.0;
}
`}},cee={};function wpt(e){let t=cee[e];if(t)return t;const r=new Int32Array(e);for(let n=0;n<e;n++)r[n]=n;return t=cee[e]=new K1e({uTextures:{value:r,type:"i32",size:e}},{isStatic:!0}),t}class _pt extends ON{constructor(t){const r=hpt({name:"batch",bits:[mpt,Tpt(t),xpt]}),n=ppt({name:"batch",bits:[fpt,ypt(t),Spt]});super({glProgram:r,gpuProgram:n,resources:{batchSamplers:wpt(t)}})}}let xb=null;const bbe=class ybe extends Udt{constructor(t){super(t),this.geometry=new Qdt,this.name=ybe.extension.name,this.vertexSize=6,xb!=null||(xb=new _pt(t.maxTextures)),this.shader=xb}packAttributes(t,r,n,i,a){const s=a<<16|t.roundPixels&65535,o=t.transform,l=o.a,c=o.b,u=o.c,d=o.d,h=o.tx,p=o.ty,{positions:m,uvs:g}=t,b=t.color,y=t.attributeOffset,v=y+t.attributeSize;for(let S=y;S<v;S++){const x=S*2,w=m[x],A=m[x+1];r[i++]=l*w+u*A+h,r[i++]=d*A+c*w+p,r[i++]=g[x],r[i++]=g[x+1],n[i++]=b,n[i++]=s}}packQuadAttributes(t,r,n,i,a){const s=t.texture,o=t.transform,l=o.a,c=o.b,u=o.c,d=o.d,h=o.tx,p=o.ty,m=t.bounds,g=m.maxX,b=m.minX,y=m.maxY,v=m.minY,S=s.uvs,x=t.color,w=a<<16|t.roundPixels&65535;r[i+0]=l*b+u*v+h,r[i+1]=d*v+c*b+p,r[i+2]=S.x0,r[i+3]=S.y0,n[i+4]=x,n[i+5]=w,r[i+6]=l*g+u*v+h,r[i+7]=d*v+c*g+p,r[i+8]=S.x1,r[i+9]=S.y1,n[i+10]=x,n[i+11]=w,r[i+12]=l*g+u*y+h,r[i+13]=d*y+c*g+p,r[i+14]=S.x2,r[i+15]=S.y2,n[i+16]=x,n[i+17]=w,r[i+18]=l*b+u*y+h,r[i+19]=d*y+c*b+p,r[i+20]=S.x3,r[i+21]=S.y3,n[i+22]=x,n[i+23]=w}};bbe.extension={type:[Et.Batcher],name:"default"};let Apt=bbe;function Cpt(e,t,r,n,i,a,s,o=null){let l=0;r*=t,i*=a;const c=o.a,u=o.b,d=o.c,h=o.d,p=o.tx,m=o.ty;for(;l<s;){const g=e[r],b=e[r+1];n[i]=c*g+d*b+p,n[i+1]=u*g+h*b+m,i+=a,r+=t,l++}}function Ept(e,t,r,n){let i=0;for(t*=r;i<n;)e[t]=0,e[t+1]=0,t+=r,i++}function vbe(e,t,r,n,i){const a=t.a,s=t.b,o=t.c,l=t.d,c=t.tx,u=t.ty;r||(r=0),n||(n=2),i||(i=e.length/n-r);let d=r*n;for(let h=0;h<i;h++){const p=e[d],m=e[d+1];e[d]=a*p+o*m+c,e[d+1]=s*p+l*m+u,d+=n}}const Ppt=new vr;class Tbe{constructor(){this.packAsQuad=!1,this.batcherName="default",this.topology="triangle-list",this.applyTransform=!0,this.roundPixels=0,this._batcher=null,this._batch=null}get uvs(){return this.geometryData.uvs}get positions(){return this.geometryData.vertices}get indices(){return this.geometryData.indices}get blendMode(){return this.renderable&&this.applyTransform?this.renderable.groupBlendMode:"normal"}get color(){const t=this.baseColor,r=t>>16|t&65280|(t&255)<<16,n=this.renderable;return n?x1e(r,n.groupColor)+(this.alpha*n.groupAlpha*255<<24):r+(this.alpha*255<<24)}get transform(){var t;return((t=this.renderable)==null?void 0:t.groupTransform)||Ppt}copyTo(t){t.indexOffset=this.indexOffset,t.indexSize=this.indexSize,t.attributeOffset=this.attributeOffset,t.attributeSize=this.attributeSize,t.baseColor=this.baseColor,t.alpha=this.alpha,t.texture=this.texture,t.geometryData=this.geometryData,t.topology=this.topology}reset(){this.applyTransform=!0,this.renderable=null,this.topology="triangle-list"}destroy(){this.renderable=null,this.texture=null,this.geometryData=null,this._batcher=null,this._batch=null}}const n7={extension:{type:Et.ShapeBuilder,name:"circle"},build(e,t){let r,n,i,a,s,o;if(e.type==="circle"){const x=e;if(s=o=x.radius,s<=0)return!1;r=x.x,n=x.y,i=a=0}else if(e.type==="ellipse"){const x=e;if(s=x.halfWidth,o=x.halfHeight,s<=0||o<=0)return!1;r=x.x,n=x.y,i=a=0}else{const x=e,w=x.width/2,A=x.height/2;r=x.x+w,n=x.y+A,s=o=Math.max(0,Math.min(x.radius,Math.min(w,A))),i=w-s,a=A-o}if(i<0||a<0)return!1;const l=Math.ceil(2.3*Math.sqrt(s+o)),c=l*8+(i?4:0)+(a?4:0);if(c===0)return!1;if(l===0)return t[0]=t[6]=r+i,t[1]=t[3]=n+a,t[2]=t[4]=r-i,t[5]=t[7]=n-a,!0;let u=0,d=l*4+(i?2:0)+2,h=d,p=c,m=i+s,g=a,b=r+m,y=r-m,v=n+g;if(t[u++]=b,t[u++]=v,t[--d]=v,t[--d]=y,a){const x=n-g;t[h++]=y,t[h++]=x,t[--p]=x,t[--p]=b}for(let x=1;x<l;x++){const w=Math.PI/2*(x/l),A=i+Math.cos(w)*s,_=a+Math.sin(w)*o,C=r+A,E=r-A,R=n+_,P=n-_;t[u++]=C,t[u++]=R,t[--d]=R,t[--d]=E,t[h++]=E,t[h++]=P,t[--p]=P,t[--p]=C}m=i,g=a+o,b=r+m,y=r-m,v=n+g;const S=n-g;return t[u++]=b,t[u++]=v,t[--p]=S,t[--p]=b,i&&(t[u++]=y,t[u++]=v,t[--p]=S,t[--p]=y),!0},triangulate(e,t,r,n,i,a){if(e.length===0)return;let s=0,o=0;for(let u=0;u<e.length;u+=2)s+=e[u],o+=e[u+1];s/=e.length/2,o/=e.length/2;let l=n;t[l*r]=s,t[l*r+1]=o;const c=l++;for(let u=0;u<e.length;u+=2)t[l*r]=e[u],t[l*r+1]=e[u+1],u>0&&(i[a++]=l,i[a++]=c,i[a++]=l-1),l++;i[a++]=c+1,i[a++]=c,i[a++]=l-1}},jpt={...n7,extension:{...n7.extension,name:"ellipse"}},Rpt={...n7,extension:{...n7.extension,name:"roundedRectangle"}},Sbe=1e-4,uee=1e-4;function Ipt(e){const t=e.length;if(t<6)return 1;let r=0;for(let n=0,i=e[t-2],a=e[t-1];n<t;n+=2){const s=e[n],o=e[n+1];r+=(s-i)*(o+a),i=s,a=o}return r<0?-1:1}function dee(e,t,r,n,i,a,s,o){const l=e-r*i,c=t-n*i,u=e+r*a,d=t+n*a;let h,p;s?(h=n,p=-r):(h=-n,p=r);const m=l+h,g=c+p,b=u+h,y=d+p;return o.push(m,g),o.push(b,y),2}function pp(e,t,r,n,i,a,s,o){const l=r-e,c=n-t;let u=Math.atan2(l,c),d=Math.atan2(i-e,a-t);o&&u<d?u+=Math.PI*2:!o&&u>d&&(d+=Math.PI*2);let h=u;const p=d-u,m=Math.abs(p),g=Math.sqrt(l*l+c*c),b=(15*m*Math.sqrt(g)/Math.PI>>0)+1,y=p/b;if(h+=y,o){s.push(e,t),s.push(r,n);for(let v=1,S=h;v<b;v++,S+=y)s.push(e,t),s.push(e+Math.sin(S)*g,t+Math.cos(S)*g);s.push(e,t),s.push(i,a)}else{s.push(r,n),s.push(e,t);for(let v=1,S=h;v<b;v++,S+=y)s.push(e+Math.sin(S)*g,t+Math.cos(S)*g),s.push(e,t);s.push(i,a),s.push(e,t)}return b*2}function Opt(e,t,r,n,i,a){const s=Sbe;if(e.length===0)return;const o=t;let l=o.alignment;if(t.alignment!==.5){let Y=Ipt(e);l=(l-.5)*Y+.5}const c=new Oi(e[0],e[1]),u=new Oi(e[e.length-2],e[e.length-1]),d=n,h=Math.abs(c.x-u.x)<s&&Math.abs(c.y-u.y)<s;if(d){e=e.slice(),h&&(e.pop(),e.pop(),u.set(e[e.length-2],e[e.length-1]));const Y=(c.x+u.x)*.5,he=(u.y+c.y)*.5;e.unshift(Y,he),e.push(Y,he)}const p=i,m=e.length/2;let g=e.length;const b=p.length/2,y=o.width/2,v=y*y,S=o.miterLimit*o.miterLimit;let x=e[0],w=e[1],A=e[2],_=e[3],C=0,E=0,R=-(w-_),P=x-A,O=0,k=0,I=Math.sqrt(R*R+P*P);R/=I,P/=I,R*=y,P*=y;const M=l,D=(1-M)*2,F=M*2;d||(o.cap==="round"?g+=pp(x-R*(D-F)*.5,w-P*(D-F)*.5,x-R*D,w-P*D,x+R*F,w+P*F,p,!0)+2:o.cap==="square"&&(g+=dee(x,w,R,P,D,F,!0,p))),p.push(x-R*D,w-P*D),p.push(x+R*F,w+P*F);for(let Y=1;Y<m-1;++Y){x=e[(Y-1)*2],w=e[(Y-1)*2+1],A=e[Y*2],_=e[Y*2+1],C=e[(Y+1)*2],E=e[(Y+1)*2+1],R=-(w-_),P=x-A,I=Math.sqrt(R*R+P*P),R/=I,P/=I,R*=y,P*=y,O=-(_-E),k=A-C,I=Math.sqrt(O*O+k*k),O/=I,k/=I,O*=y,k*=y;const he=A-x,fe=w-_,U=A-C,W=E-_,H=he*U+fe*W,ie=fe*U-W*he,J=ie<0;if(Math.abs(ie)<.001*Math.abs(H)){p.push(A-R*D,_-P*D),p.push(A+R*F,_+P*F),H>=0&&(o.join==="round"?g+=pp(A,_,A-R*D,_-P*D,A-O*D,_-k*D,p,!1)+4:g+=2,p.push(A-O*F,_-k*F),p.push(A+O*D,_+k*D));continue}const we=(-R+x)*(-P+_)-(-R+A)*(-P+w),Le=(-O+C)*(-k+_)-(-O+A)*(-k+E),Ye=(he*Le-U*we)/ie,oe=(W*we-fe*Le)/ie,X=(Ye-A)*(Ye-A)+(oe-_)*(oe-_),se=A+(Ye-A)*D,Ce=_+(oe-_)*D,ce=A-(Ye-A)*F,le=_-(oe-_)*F,Te=Math.min(he*he+fe*fe,U*U+W*W),be=J?D:F,ze=Te+be*be*v;X<=ze?o.join==="bevel"||X/v>S?(J?(p.push(se,Ce),p.push(A+R*F,_+P*F),p.push(se,Ce),p.push(A+O*F,_+k*F)):(p.push(A-R*D,_-P*D),p.push(ce,le),p.push(A-O*D,_-k*D),p.push(ce,le)),g+=2):o.join==="round"?J?(p.push(se,Ce),p.push(A+R*F,_+P*F),g+=pp(A,_,A+R*F,_+P*F,A+O*F,_+k*F,p,!0)+4,p.push(se,Ce),p.push(A+O*F,_+k*F)):(p.push(A-R*D,_-P*D),p.push(ce,le),g+=pp(A,_,A-R*D,_-P*D,A-O*D,_-k*D,p,!1)+4,p.push(A-O*D,_-k*D),p.push(ce,le)):(p.push(se,Ce),p.push(ce,le)):(p.push(A-R*D,_-P*D),p.push(A+R*F,_+P*F),o.join==="round"?J?g+=pp(A,_,A+R*F,_+P*F,A+O*F,_+k*F,p,!0)+2:g+=pp(A,_,A-R*D,_-P*D,A-O*D,_-k*D,p,!1)+2:o.join==="miter"&&X/v<=S&&(J?(p.push(ce,le),p.push(ce,le)):(p.push(se,Ce),p.push(se,Ce)),g+=2),p.push(A-O*D,_-k*D),p.push(A+O*F,_+k*F),g+=2)}x=e[(m-2)*2],w=e[(m-2)*2+1],A=e[(m-1)*2],_=e[(m-1)*2+1],R=-(w-_),P=x-A,I=Math.sqrt(R*R+P*P),R/=I,P/=I,R*=y,P*=y,p.push(A-R*D,_-P*D),p.push(A+R*F,_+P*F),d||(o.cap==="round"?g+=pp(A-R*(D-F)*.5,_-P*(D-F)*.5,A-R*D,_-P*D,A+R*F,_+P*F,p,!1)+2:o.cap==="square"&&(g+=dee(A,_,R,P,D,F,!1,p)));const $=uee*uee;for(let Y=b;Y<g+b-2;++Y)x=p[Y*2],w=p[Y*2+1],A=p[(Y+1)*2],_=p[(Y+1)*2+1],C=p[(Y+2)*2],E=p[(Y+2)*2+1],!(Math.abs(x*(_-E)+A*(E-w)+C*(w-_))<$)&&a.push(Y,Y+1,Y+2)}function Mpt(e,t,r,n){const i=Sbe;if(e.length===0)return;const a=e[0],s=e[1],o=e[e.length-2],l=e[e.length-1],c=t||Math.abs(a-o)<i&&Math.abs(s-l)<i,u=r,d=e.length/2,h=u.length/2;for(let p=0;p<d;p++)u.push(e[p*2]),u.push(e[p*2+1]);for(let p=0;p<d-1;p++)n.push(h+p,h+p+1);c&&n.push(h+d-1,h)}function xbe(e,t,r,n,i,a,s){const o=vdt(e,t,2);if(!o)return;for(let c=0;c<o.length;c+=3)a[s++]=o[c]+i,a[s++]=o[c+1]+i,a[s++]=o[c+2]+i;let l=i*n;for(let c=0;c<e.length;c+=2)r[l]=e[c],r[l+1]=e[c+1],l+=n}const kpt=[],Dpt={extension:{type:Et.ShapeBuilder,name:"polygon"},build(e,t){for(let r=0;r<e.points.length;r++)t[r]=e.points[r];return!0},triangulate(e,t,r,n,i,a){xbe(e,kpt,t,r,n,i,a)}},Lpt={extension:{type:Et.ShapeBuilder,name:"rectangle"},build(e,t){const r=e,n=r.x,i=r.y,a=r.width,s=r.height;return a>0&&s>0?(t[0]=n,t[1]=i,t[2]=n+a,t[3]=i,t[4]=n+a,t[5]=i+s,t[6]=n,t[7]=i+s,!0):!1},triangulate(e,t,r,n,i,a){let s=0;n*=r,t[n+s]=e[0],t[n+s+1]=e[1],s+=r,t[n+s]=e[2],t[n+s+1]=e[3],s+=r,t[n+s]=e[6],t[n+s+1]=e[7],s+=r,t[n+s]=e[4],t[n+s+1]=e[5],s+=r;const o=n/r;i[a++]=o,i[a++]=o+1,i[a++]=o+2,i[a++]=o+1,i[a++]=o+3,i[a++]=o+2}},Fpt={extension:{type:Et.ShapeBuilder,name:"triangle"},build(e,t){return t[0]=e.x,t[1]=e.y,t[2]=e.x2,t[3]=e.y2,t[4]=e.x3,t[5]=e.y3,!0},triangulate(e,t,r,n,i,a){let s=0;n*=r,t[n+s]=e[0],t[n+s+1]=e[1],s+=r,t[n+s]=e[2],t[n+s+1]=e[3],s+=r,t[n+s]=e[4],t[n+s+1]=e[5];const o=n/r;i[a++]=o,i[a++]=o+1,i[a++]=o+2}},$pt=new vr,Bpt=new un;function Npt(e,t,r,n){const i=t.matrix?e.copyFrom(t.matrix).invert():e.identity();if(t.textureSpace==="local"){const s=r.getBounds(Bpt);t.width&&s.pad(t.width);const{x:o,y:l}=s,c=1/s.width,u=1/s.height,d=-o*c,h=-l*u,p=i.a,m=i.b,g=i.c,b=i.d;i.a*=c,i.b*=c,i.c*=u,i.d*=u,i.tx=d*p+h*g+i.tx,i.ty=d*m+h*b+i.ty}else i.translate(t.texture.frame.x,t.texture.frame.y),i.scale(1/t.texture.source.width,1/t.texture.source.height);const a=t.texture.source.style;return!(t.fill instanceof nu)&&a.addressMode==="clamp-to-edge"&&(a.addressMode="repeat",a.update()),n&&i.append($pt.copyFrom(n).invert()),i}const X6={};pi.handleByMap(Et.ShapeBuilder,X6);pi.add(Lpt,Dpt,Fpt,n7,jpt,Rpt);const qpt=new un,zpt=new vr;function Wpt(e,t){const{geometryData:r,batches:n}=t;n.length=0,r.indices.length=0,r.vertices.length=0,r.uvs.length=0;for(let i=0;i<e.instructions.length;i++){const a=e.instructions[i];if(a.action==="texture")Hpt(a.data,n,r);else if(a.action==="fill"||a.action==="stroke"){const s=a.action==="stroke",o=a.data.path.shapePath,l=a.data.style,c=a.data.hole;s&&c&&pee(c.shapePath,l,!0,n,r),c&&(o.shapePrimitives[o.shapePrimitives.length-1].holes=c.shapePath.shapePrimitives),pee(o,l,s,n,r)}}}function Hpt(e,t,r){const n=[],i=X6.rectangle,a=qpt;a.x=e.dx,a.y=e.dy,a.width=e.dw,a.height=e.dh;const s=e.transform;if(!i.build(a,n))return;const{vertices:o,uvs:l,indices:c}=r,u=c.length,d=o.length/2;s&&vbe(n,s),i.triangulate(n,o,2,d,c,u);const h=e.image,p=h.uvs;l.push(p.x0,p.y0,p.x1,p.y1,p.x3,p.y3,p.x2,p.y2);const m=Cs.get(Tbe);m.indexOffset=u,m.indexSize=c.length-u,m.attributeOffset=d,m.attributeSize=o.length/2-d,m.baseColor=e.style,m.alpha=e.alpha,m.texture=h,m.geometryData=r,t.push(m)}function pee(e,t,r,n,i){const{vertices:a,uvs:s,indices:o}=i;e.shapePrimitives.forEach(({shape:l,transform:c,holes:u})=>{var S;const d=[],h=X6[l.type];if(!h.build(l,d))return;const p=o.length,m=a.length/2;let g="triangle-list";if(c&&vbe(d,c),r){const x=(S=l.closePath)!=null?S:!0,w=t;w.pixelLine?(Mpt(d,x,a,o),g="line-list"):Opt(d,w,!1,x,a,o)}else if(u){const x=[],w=d.slice();Upt(u).forEach(_=>{x.push(w.length/2),w.push(..._)}),xbe(w,x,a,2,m,o,p)}else h.triangulate(d,a,2,m,o,p);const b=s.length/2,y=t.texture;if(y!==cr.WHITE){const x=Npt(zpt,t,l,c);Cpt(a,2,m,s,b,2,a.length/2-m,x)}else Ept(s,b,2,a.length/2-m);const v=Cs.get(Tbe);v.indexOffset=p,v.indexSize=o.length-p,v.attributeOffset=m,v.attributeSize=a.length/2-m,v.baseColor=t.color,v.alpha=t.alpha,v.texture=y,v.geometryData=i,v.topology=g,n.push(v)})}function Upt(e){const t=[];for(let r=0;r<e.length;r++){const n=e[r].shape,i=[];X6[n.type].build(n,i)&&t.push(i)}return t}class Gpt{constructor(){this.batches=[],this.geometryData={vertices:[],uvs:[],indices:[]}}}class Vpt{constructor(){this.instructions=new C1e}init(t){this.batcher=new Apt({maxTextures:t}),this.instructions.reset()}get geometry(){return mr(Hct,"GraphicsContextRenderData#geometry is deprecated, please use batcher.geometry instead."),this.batcher.geometry}destroy(){this.batcher.destroy(),this.instructions.destroy(),this.batcher=null,this.instructions=null}}const FN=class yM{constructor(t){this._gpuContextHash={},this._graphicsDataContextHash=Object.create(null),this._renderer=t,t.renderableGC.addManagedHash(this,"_gpuContextHash"),t.renderableGC.addManagedHash(this,"_graphicsDataContextHash")}init(t){var r;yM.defaultOptions.bezierSmoothness=(r=t==null?void 0:t.bezierSmoothness)!=null?r:yM.defaultOptions.bezierSmoothness}getContextRenderData(t){return this._graphicsDataContextHash[t.uid]||this._initContextRenderData(t)}updateGpuContext(t){let r=this._gpuContextHash[t.uid]||this._initContext(t);if(t.dirty){r?this._cleanGraphicsContextData(t):r=this._initContext(t),Wpt(t,r);const n=t.batchMode;t.customShader||n==="no-batch"?r.isBatchable=!1:n==="auto"?r.isBatchable=r.geometryData.vertices.length<400:r.isBatchable=!0,t.dirty=!1}return r}getGpuContext(t){return this._gpuContextHash[t.uid]||this._initContext(t)}_initContextRenderData(t){const r=Cs.get(Vpt,{maxTextures:this._renderer.limits.maxBatchableTextures}),{batches:n,geometryData:i}=this._gpuContextHash[t.uid],a=i.vertices.length,s=i.indices.length;for(let u=0;u<n.length;u++)n[u].applyTransform=!1;const o=r.batcher;o.ensureAttributeBuffer(a),o.ensureIndexBuffer(s),o.begin();for(let u=0;u<n.length;u++){const d=n[u];o.add(d)}o.finish(r.instructions);const l=o.geometry;l.indexBuffer.setDataWithSize(o.indexBuffer,o.indexSize,!0),l.buffers[0].setDataWithSize(o.attributeBuffer.float32View,o.attributeSize,!0);const c=o.batches;for(let u=0;u<c.length;u++){const d=c[u];d.bindGroup=Ddt(d.textures.textures,d.textures.count,this._renderer.limits.maxBatchableTextures)}return this._graphicsDataContextHash[t.uid]=r,r}_initContext(t){const r=new Gpt;return r.context=t,this._gpuContextHash[t.uid]=r,t.on("destroy",this.onGraphicsContextDestroy,this),this._gpuContextHash[t.uid]}onGraphicsContextDestroy(t){this._cleanGraphicsContextData(t),t.off("destroy",this.onGraphicsContextDestroy,this),this._gpuContextHash[t.uid]=null}_cleanGraphicsContextData(t){const r=this._gpuContextHash[t.uid];r.isBatchable||this._graphicsDataContextHash[t.uid]&&(Cs.return(this.getContextRenderData(t)),this._graphicsDataContextHash[t.uid]=null),r.batches&&r.batches.forEach(n=>{Cs.return(n)})}destroy(){for(const t in this._gpuContextHash)this._gpuContextHash[t]&&this.onGraphicsContextDestroy(this._gpuContextHash[t].context)}};FN.extension={type:[Et.WebGLSystem,Et.WebGPUSystem,Et.CanvasSystem],name:"graphicsContext"};FN.defaultOptions={bezierSmoothness:.5};let wbe=FN;const Ypt=8,_3=11920929e-14,Kpt=1;function _be(e,t,r,n,i,a,s,o,l,c){const d=Math.min(.99,Math.max(0,c!=null?c:wbe.defaultOptions.bezierSmoothness));let h=(Kpt-d)/1;return h*=h,Xpt(t,r,n,i,a,s,o,l,e,h),e}function Xpt(e,t,r,n,i,a,s,o,l,c){vM(e,t,r,n,i,a,s,o,l,c,0),l.push(s,o)}function vM(e,t,r,n,i,a,s,o,l,c,u){if(u>Ypt)return;const d=(e+r)/2,h=(t+n)/2,p=(r+i)/2,m=(n+a)/2,g=(i+s)/2,b=(a+o)/2,y=(d+p)/2,v=(h+m)/2,S=(p+g)/2,x=(m+b)/2,w=(y+S)/2,A=(v+x)/2;if(u>0){let _=s-e,C=o-t;const E=Math.abs((r-s)*C-(n-o)*_),R=Math.abs((i-s)*C-(a-o)*_);if(E>_3&&R>_3){if((E+R)*(E+R)<=c*(_*_+C*C)){l.push(w,A);return}}else if(E>_3){if(E*E<=c*(_*_+C*C)){l.push(w,A);return}}else if(R>_3){if(R*R<=c*(_*_+C*C)){l.push(w,A);return}}else if(_=w-(e+s)/2,C=A-(t+o)/2,_*_+C*C<=c){l.push(w,A);return}}vM(e,t,d,h,y,v,w,A,l,c,u+1),vM(w,A,S,x,g,b,s,o,l,c,u+1)}const Qpt=8,Jpt=11920929e-14,Zpt=1;function eht(e,t,r,n,i,a,s,o){const c=Math.min(.99,Math.max(0,o!=null?o:wbe.defaultOptions.bezierSmoothness));let u=(Zpt-c)/1;return u*=u,tht(t,r,n,i,a,s,e,u),e}function tht(e,t,r,n,i,a,s,o){TM(s,e,t,r,n,i,a,o,0),s.push(i,a)}function TM(e,t,r,n,i,a,s,o,l){if(l>Qpt)return;const c=(t+n)/2,u=(r+i)/2,d=(n+a)/2,h=(i+s)/2,p=(c+d)/2,m=(u+h)/2;let g=a-t,b=s-r;const y=Math.abs((n-a)*b-(i-s)*g);if(y>Jpt){if(y*y<=o*(g*g+b*b)){e.push(p,m);return}}else if(g=p-(t+a)/2,b=m-(r+s)/2,g*g+b*b<=o){e.push(p,m);return}TM(e,t,r,c,u,p,m,o,l+1),TM(e,p,m,d,h,a,s,o,l+1)}function Abe(e,t,r,n,i,a,s,o){let l=Math.abs(i-a);(!s&&i>a||s&&a>i)&&(l=2*Math.PI-l),o||(o=Math.max(6,Math.floor(6*Math.pow(n,1/3)*(l/Math.PI)))),o=Math.max(o,3);let c=l/o,u=i;c*=s?-1:1;for(let d=0;d<o+1;d++){const h=Math.cos(u),p=Math.sin(u),m=t+h*n,g=r+p*n;e.push(m,g),u+=c}}function rht(e,t,r,n,i,a){const s=e[e.length-2],l=e[e.length-1]-r,c=s-t,u=i-r,d=n-t,h=Math.abs(l*d-c*u);if(h<1e-8||a===0){(e[e.length-2]!==t||e[e.length-1]!==r)&&e.push(t,r);return}const p=l*l+c*c,m=u*u+d*d,g=l*u+c*d,b=a*Math.sqrt(p)/h,y=a*Math.sqrt(m)/h,v=b*g/p,S=y*g/m,x=b*d+y*c,w=b*u+y*l,A=c*(y+v),_=l*(y+v),C=d*(b+S),E=u*(b+S),R=Math.atan2(_-w,A-x),P=Math.atan2(E-w,C-x);Abe(e,x+t,w+r,a,R,P,c*u>d*l)}const Uy=Math.PI*2,JC={centerX:0,centerY:0,ang1:0,ang2:0},ZC=({x:e,y:t},r,n,i,a,s,o,l)=>{e*=r,t*=n;const c=i*e-a*t,u=a*e+i*t;return l.x=c+s,l.y=u+o,l};function nht(e,t){const r=t===-1.5707963267948966?-.551915024494:1.3333333333333333*Math.tan(t/4),n=t===1.5707963267948966?.551915024494:r,i=Math.cos(e),a=Math.sin(e),s=Math.cos(e+t),o=Math.sin(e+t);return[{x:i-a*n,y:a+i*n},{x:s+o*n,y:o-s*n},{x:s,y:o}]}const hee=(e,t,r,n)=>{const i=e*n-t*r<0?-1:1;let a=e*r+t*n;return a>1&&(a=1),a<-1&&(a=-1),i*Math.acos(a)},iht=(e,t,r,n,i,a,s,o,l,c,u,d,h)=>{const p=Math.pow(i,2),m=Math.pow(a,2),g=Math.pow(u,2),b=Math.pow(d,2);let y=p*m-p*b-m*g;y<0&&(y=0),y/=p*b+m*g,y=Math.sqrt(y)*(s===o?-1:1);const v=y*i/a*d,S=y*-a/i*u,x=c*v-l*S+(e+r)/2,w=l*v+c*S+(t+n)/2,A=(u-v)/i,_=(d-S)/a,C=(-u-v)/i,E=(-d-S)/a,R=hee(1,0,A,_);let P=hee(A,_,C,E);o===0&&P>0&&(P-=Uy),o===1&&P<0&&(P+=Uy),h.centerX=x,h.centerY=w,h.ang1=R,h.ang2=P};function aht(e,t,r,n,i,a,s,o=0,l=0,c=0){if(a===0||s===0)return;const u=Math.sin(o*Uy/360),d=Math.cos(o*Uy/360),h=d*(t-n)/2+u*(r-i)/2,p=-u*(t-n)/2+d*(r-i)/2;if(h===0&&p===0)return;a=Math.abs(a),s=Math.abs(s);const m=Math.pow(h,2)/Math.pow(a,2)+Math.pow(p,2)/Math.pow(s,2);m>1&&(a*=Math.sqrt(m),s*=Math.sqrt(m)),iht(t,r,n,i,a,s,l,c,u,d,h,p,JC);let{ang1:g,ang2:b}=JC;const{centerX:y,centerY:v}=JC;let S=Math.abs(b)/(Uy/4);Math.abs(1-S)<1e-7&&(S=1);const x=Math.max(Math.ceil(S),1);b/=x;let w=e[e.length-2],A=e[e.length-1];const _={x:0,y:0};for(let C=0;C<x;C++){const E=nht(g,b),{x:R,y:P}=ZC(E[0],a,s,d,u,y,v,_),{x:O,y:k}=ZC(E[1],a,s,d,u,y,v,_),{x:I,y:M}=ZC(E[2],a,s,d,u,y,v,_);_be(e,w,A,R,P,O,k,I,M),w=I,A=M,g+=b}}function sht(e,t,r){var s;const n=(o,l)=>{const c=l.x-o.x,u=l.y-o.y,d=Math.sqrt(c*c+u*u),h=c/d,p=u/d;return{len:d,nx:h,ny:p}},i=(o,l)=>{o===0?e.moveTo(l.x,l.y):e.lineTo(l.x,l.y)};let a=t[t.length-1];for(let o=0;o<t.length;o++){const l=t[o%t.length],c=(s=l.radius)!=null?s:r;if(c<=0){i(o,l),a=l;continue}const u=t[(o+1)%t.length],d=n(l,a),h=n(l,u);if(d.len<1e-4||h.len<1e-4){i(o,l),a=l;continue}let p=Math.asin(d.nx*h.ny-d.ny*h.nx),m=1,g=!1;d.nx*h.nx-d.ny*-h.ny<0?p<0?p=Math.PI+p:(p=Math.PI-p,m=-1,g=!0):p>0&&(m=-1,g=!0);const b=p/2;let y,v=Math.abs(Math.cos(b)*c/Math.sin(b));v>Math.min(d.len/2,h.len/2)?(v=Math.min(d.len/2,h.len/2),y=Math.abs(v*Math.sin(b)/Math.cos(b))):y=c;const S=l.x+h.nx*v+-h.ny*y*m,x=l.y+h.ny*v+h.nx*y*m,w=Math.atan2(d.ny,d.nx)+Math.PI/2*m,A=Math.atan2(h.ny,h.nx)-Math.PI/2*m;o===0&&e.moveTo(S+Math.cos(w)*y,x+Math.sin(w)*y),e.arc(S,x,y,w,A,g),a=l}}function oht(e,t,r,n){var o;const i=(l,c)=>Math.sqrt((l.x-c.x)**2+(l.y-c.y)**2),a=(l,c,u)=>({x:l.x+(c.x-l.x)*u,y:l.y+(c.y-l.y)*u}),s=t.length;for(let l=0;l<s;l++){const c=t[(l+1)%s],u=(o=c.radius)!=null?o:r;if(u<=0){l===0?e.moveTo(c.x,c.y):e.lineTo(c.x,c.y);continue}const d=t[l],h=t[(l+2)%s],p=i(d,c);let m;if(p<1e-4)m=c;else{const y=Math.min(p/2,u);m=a(c,d,y/p)}const g=i(h,c);let b;if(g<1e-4)b=c;else{const y=Math.min(g/2,u);b=a(c,h,y/g)}l===0?e.moveTo(m.x,m.y):e.lineTo(m.x,m.y),e.quadraticCurveTo(c.x,c.y,b.x,b.y,n)}}const lht=new un;class cht{constructor(t){this.shapePrimitives=[],this._currentPoly=null,this._bounds=new _o,this._graphicsPath2D=t,this.signed=t.checkForHoles}moveTo(t,r){return this.startPoly(t,r),this}lineTo(t,r){this._ensurePoly();const n=this._currentPoly.points,i=n[n.length-2],a=n[n.length-1];return(i!==t||a!==r)&&n.push(t,r),this}arc(t,r,n,i,a,s){this._ensurePoly(!1);const o=this._currentPoly.points;return Abe(o,t,r,n,i,a,s),this}arcTo(t,r,n,i,a){this._ensurePoly();const s=this._currentPoly.points;return rht(s,t,r,n,i,a),this}arcToSvg(t,r,n,i,a,s,o){const l=this._currentPoly.points;return aht(l,this._currentPoly.lastX,this._currentPoly.lastY,s,o,t,r,n,i,a),this}bezierCurveTo(t,r,n,i,a,s,o){this._ensurePoly();const l=this._currentPoly;return _be(this._currentPoly.points,l.lastX,l.lastY,t,r,n,i,a,s,o),this}quadraticCurveTo(t,r,n,i,a){this._ensurePoly();const s=this._currentPoly;return eht(this._currentPoly.points,s.lastX,s.lastY,t,r,n,i,a),this}closePath(){return this.endPoly(!0),this}addPath(t,r){this.endPoly(),r&&!r.isIdentity()&&(t=t.clone(!0),t.transform(r));const n=this.shapePrimitives,i=n.length;for(let a=0;a<t.instructions.length;a++){const s=t.instructions[a];this[s.action](...s.data)}if(t.checkForHoles&&n.length-i>1){let a=null;for(let s=i;s<n.length;s++){const o=n[s];if(o.shape.type==="polygon"){const l=o.shape,c=a==null?void 0:a.shape;c&&c.containsPolygon(l)?(a.holes||(a.holes=[]),a.holes.push(o),n.copyWithin(s,s+1),n.length--,s--):a=o}}}return this}finish(t=!1){this.endPoly(t)}rect(t,r,n,i,a){return this.drawShape(new un(t,r,n,i),a),this}circle(t,r,n,i){return this.drawShape(new kN(t,r,n),i),this}poly(t,r,n){const i=new Wy(t);return i.closePath=r,this.drawShape(i,n),this}regularPoly(t,r,n,i,a=0,s){i=Math.max(i|0,3);const o=-1*Math.PI/2+a,l=Math.PI*2/i,c=[];for(let u=0;u<i;u++){const d=o-u*l;c.push(t+n*Math.cos(d),r+n*Math.sin(d))}return this.poly(c,!0,s),this}roundPoly(t,r,n,i,a,s=0,o){if(i=Math.max(i|0,3),a<=0)return this.regularPoly(t,r,n,i,s);const l=n*Math.sin(Math.PI/i)-.001;a=Math.min(a,l);const c=-1*Math.PI/2+s,u=Math.PI*2/i,d=(i-2)*Math.PI/i/2;for(let h=0;h<i;h++){const p=h*u+c,m=t+n*Math.cos(p),g=r+n*Math.sin(p),b=p+Math.PI+d,y=p-Math.PI-d,v=m+a*Math.cos(b),S=g+a*Math.sin(b),x=m+a*Math.cos(y),w=g+a*Math.sin(y);h===0?this.moveTo(v,S):this.lineTo(v,S),this.quadraticCurveTo(m,g,x,w,o)}return this.closePath()}roundShape(t,r,n=!1,i){return t.length<3?this:(n?oht(this,t,r,i):sht(this,t,r),this.closePath())}filletRect(t,r,n,i,a){if(a===0)return this.rect(t,r,n,i);const s=Math.min(n,i)/2,o=Math.min(s,Math.max(-s,a)),l=t+n,c=r+i,u=o<0?-o:0,d=Math.abs(o);return this.moveTo(t,r+d).arcTo(t+u,r+u,t+d,r,d).lineTo(l-d,r).arcTo(l-u,r+u,l,r+d,d).lineTo(l,c-d).arcTo(l-u,c-u,t+n-d,c,d).lineTo(t+d,c).arcTo(t+u,c-u,t,c-d,d).closePath()}chamferRect(t,r,n,i,a,s){if(a<=0)return this.rect(t,r,n,i);const o=Math.min(a,Math.min(n,i)/2),l=t+n,c=r+i,u=[t+o,r,l-o,r,l,r+o,l,c-o,l-o,c,t+o,c,t,c-o,t,r+o];for(let d=u.length-1;d>=2;d-=2)u[d]===u[d-2]&&u[d-1]===u[d-3]&&u.splice(d-1,2);return this.poly(u,!0,s)}ellipse(t,r,n,i,a){return this.drawShape(new DN(t,r,n,i),a),this}roundRect(t,r,n,i,a,s){return this.drawShape(new LN(t,r,n,i,a),s),this}drawShape(t,r){return this.endPoly(),this.shapePrimitives.push({shape:t,transform:r}),this}startPoly(t,r){let n=this._currentPoly;return n&&this.endPoly(),n=new Wy,n.points.push(t,r),this._currentPoly=n,this}endPoly(t=!1){const r=this._currentPoly;return r&&r.points.length>2&&(r.closePath=t,this.shapePrimitives.push({shape:r})),this._currentPoly=null,this}_ensurePoly(t=!0){if(!this._currentPoly&&(this._currentPoly=new Wy,t)){const r=this.shapePrimitives[this.shapePrimitives.length-1];if(r){let n=r.shape.x,i=r.shape.y;if(r.transform&&!r.transform.isIdentity()){const a=r.transform,s=n;n=a.a*n+a.c*i+a.tx,i=a.b*s+a.d*i+a.ty}this._currentPoly.points.push(n,i)}else this._currentPoly.points.push(0,0)}}buildPath(){const t=this._graphicsPath2D;this.shapePrimitives.length=0,this._currentPoly=null;for(let r=0;r<t.instructions.length;r++){const n=t.instructions[r];this[n.action](...n.data)}this.finish()}get bounds(){const t=this._bounds;t.clear();const r=this.shapePrimitives;for(let n=0;n<r.length;n++){const i=r[n],a=i.shape.getBounds(lht);i.transform?t.addRect(a,i.transform):t.addRect(a)}return t}}class Gc{constructor(t,r=!1){var n;this.instructions=[],this.uid=dn("graphicsPath"),this._dirty=!0,this.checkForHoles=r,typeof t=="string"?Idt(t,this):this.instructions=(n=t==null?void 0:t.slice())!=null?n:[]}get shapePath(){return this._shapePath||(this._shapePath=new cht(this)),this._dirty&&(this._dirty=!1,this._shapePath.buildPath()),this._shapePath}addPath(t,r){return t=t.clone(),this.instructions.push({action:"addPath",data:[t,r]}),this._dirty=!0,this}arc(...t){return this.instructions.push({action:"arc",data:t}),this._dirty=!0,this}arcTo(...t){return this.instructions.push({action:"arcTo",data:t}),this._dirty=!0,this}arcToSvg(...t){return this.instructions.push({action:"arcToSvg",data:t}),this._dirty=!0,this}bezierCurveTo(...t){return this.instructions.push({action:"bezierCurveTo",data:t}),this._dirty=!0,this}bezierCurveToShort(t,r,n,i,a){const s=this.instructions[this.instructions.length-1],o=this.getLastPoint(Oi.shared);let l=0,c=0;if(!s||s.action!=="bezierCurveTo")l=o.x,c=o.y;else{l=s.data[2],c=s.data[3];const u=o.x,d=o.y;l=u+(u-l),c=d+(d-c)}return this.instructions.push({action:"bezierCurveTo",data:[l,c,t,r,n,i,a]}),this._dirty=!0,this}closePath(){return this.instructions.push({action:"closePath",data:[]}),this._dirty=!0,this}ellipse(...t){return this.instructions.push({action:"ellipse",data:t}),this._dirty=!0,this}lineTo(...t){return this.instructions.push({action:"lineTo",data:t}),this._dirty=!0,this}moveTo(...t){return this.instructions.push({action:"moveTo",data:t}),this}quadraticCurveTo(...t){return this.instructions.push({action:"quadraticCurveTo",data:t}),this._dirty=!0,this}quadraticCurveToShort(t,r,n){const i=this.instructions[this.instructions.length-1],a=this.getLastPoint(Oi.shared);let s=0,o=0;if(!i||i.action!=="quadraticCurveTo")s=a.x,o=a.y;else{s=i.data[0],o=i.data[1];const l=a.x,c=a.y;s=l+(l-s),o=c+(c-o)}return this.instructions.push({action:"quadraticCurveTo",data:[s,o,t,r,n]}),this._dirty=!0,this}rect(t,r,n,i,a){return this.instructions.push({action:"rect",data:[t,r,n,i,a]}),this._dirty=!0,this}circle(t,r,n,i){return this.instructions.push({action:"circle",data:[t,r,n,i]}),this._dirty=!0,this}roundRect(...t){return this.instructions.push({action:"roundRect",data:t}),this._dirty=!0,this}poly(...t){return this.instructions.push({action:"poly",data:t}),this._dirty=!0,this}regularPoly(...t){return this.instructions.push({action:"regularPoly",data:t}),this._dirty=!0,this}roundPoly(...t){return this.instructions.push({action:"roundPoly",data:t}),this._dirty=!0,this}roundShape(...t){return this.instructions.push({action:"roundShape",data:t}),this._dirty=!0,this}filletRect(...t){return this.instructions.push({action:"filletRect",data:t}),this._dirty=!0,this}chamferRect(...t){return this.instructions.push({action:"chamferRect",data:t}),this._dirty=!0,this}star(t,r,n,i,a,s,o){a||(a=i/2);const l=-1*Math.PI/2+s,c=n*2,u=Math.PI*2/c,d=[];for(let h=0;h<c;h++){const p=h%2?a:i,m=h*u+l;d.push(t+p*Math.cos(m),r+p*Math.sin(m))}return this.poly(d,!0,o),this}clone(t=!1){const r=new Gc;if(r.checkForHoles=this.checkForHoles,!t)r.instructions=this.instructions.slice();else for(let n=0;n<this.instructions.length;n++){const i=this.instructions[n];r.instructions.push({action:i.action,data:i.data.slice()})}return r}clear(){return this.instructions.length=0,this._dirty=!0,this}transform(t){if(t.isIdentity())return this;const r=t.a,n=t.b,i=t.c,a=t.d,s=t.tx,o=t.ty;let l=0,c=0,u=0,d=0,h=0,p=0,m=0,g=0;for(let b=0;b<this.instructions.length;b++){const y=this.instructions[b],v=y.data;switch(y.action){case"moveTo":case"lineTo":l=v[0],c=v[1],v[0]=r*l+i*c+s,v[1]=n*l+a*c+o;break;case"bezierCurveTo":u=v[0],d=v[1],h=v[2],p=v[3],l=v[4],c=v[5],v[0]=r*u+i*d+s,v[1]=n*u+a*d+o,v[2]=r*h+i*p+s,v[3]=n*h+a*p+o,v[4]=r*l+i*c+s,v[5]=n*l+a*c+o;break;case"quadraticCurveTo":u=v[0],d=v[1],l=v[2],c=v[3],v[0]=r*u+i*d+s,v[1]=n*u+a*d+o,v[2]=r*l+i*c+s,v[3]=n*l+a*c+o;break;case"arcToSvg":l=v[5],c=v[6],m=v[0],g=v[1],v[0]=r*m+i*g,v[1]=n*m+a*g,v[5]=r*l+i*c+s,v[6]=n*l+a*c+o;break;case"circle":v[4]=wb(v[3],t);break;case"rect":v[4]=wb(v[4],t);break;case"ellipse":v[8]=wb(v[8],t);break;case"roundRect":v[5]=wb(v[5],t);break;case"addPath":v[0].transform(t);break;case"poly":v[2]=wb(v[2],t);break;default:A0("unknown transform action",y.action);break}}return this._dirty=!0,this}get bounds(){return this.shapePath.bounds}getLastPoint(t){let r=this.instructions.length-1,n=this.instructions[r];if(!n)return t.x=0,t.y=0,t;for(;n.action==="closePath";){if(r--,r<0)return t.x=0,t.y=0,t;n=this.instructions[r]}switch(n.action){case"moveTo":case"lineTo":t.x=n.data[0],t.y=n.data[1];break;case"quadraticCurveTo":t.x=n.data[2],t.y=n.data[3];break;case"bezierCurveTo":t.x=n.data[4],t.y=n.data[5];break;case"arc":case"arcToSvg":t.x=n.data[5],t.y=n.data[6];break;case"addPath":n.data[0].getLastPoint(t);break}return t}}function wb(e,t){return e?e.prepend(t):t.clone()}function K0(e,t,r){const n=e.getAttribute(t);return n?Number(n):r}function uht(e,t){const r=e.querySelectorAll("defs");for(let n=0;n<r.length;n++){const i=r[n];for(let a=0;a<i.children.length;a++){const s=i.children[a];switch(s.nodeName.toLowerCase()){case"lineargradient":t.defs[s.id]=dht(s);break;case"radialgradient":t.defs[s.id]=pht();break}}}}function dht(e){const t=K0(e,"x1",0),r=K0(e,"y1",0),n=K0(e,"x2",1),i=K0(e,"y2",0),a=e.getAttribute("gradientUnits")||"objectBoundingBox",s=new nu(t,r,n,i,a==="objectBoundingBox"?"local":"global");for(let o=0;o<e.children.length;o++){const l=e.children[o],c=K0(l,"offset",0),u=Bn.shared.setValue(l.getAttribute("stop-color")).toNumber();s.addColorStop(c,u)}return s}function pht(e){return A0("[SVG Parser] Radial gradients are not yet supported"),new nu(0,0,1,0)}function fee(e){const t=e.match(/url\s*\(\s*['"]?\s*#([^'"\s)]+)\s*['"]?\s*\)/i);return t?t[1]:""}const mee={fill:{type:"paint",default:0},"fill-opacity":{type:"number",default:1},stroke:{type:"paint",default:0},"stroke-width":{type:"number",default:1},"stroke-opacity":{type:"number",default:1},"stroke-linecap":{type:"string",default:"butt"},"stroke-linejoin":{type:"string",default:"miter"},"stroke-miterlimit":{type:"number",default:10},"stroke-dasharray":{type:"string",default:"none"},"stroke-dashoffset":{type:"number",default:0},opacity:{type:"number",default:1}};function Cbe(e,t){const r=e.getAttribute("style"),n={},i={},a={strokeStyle:n,fillStyle:i,useFill:!1,useStroke:!1};for(const s in mee){const o=e.getAttribute(s);o&&gee(t,a,s,o.trim())}if(r){const s=r.split(";");for(let o=0;o<s.length;o++){const l=s[o].trim(),[c,u]=l.split(":");mee[c]&&gee(t,a,c,u.trim())}}return{strokeStyle:a.useStroke?n:null,fillStyle:a.useFill?i:null,useFill:a.useFill,useStroke:a.useStroke}}function gee(e,t,r,n){switch(r){case"stroke":if(n!=="none"){if(n.startsWith("url(")){const i=fee(n);t.strokeStyle.fill=e.defs[i]}else t.strokeStyle.color=Bn.shared.setValue(n).toNumber();t.useStroke=!0}break;case"stroke-width":t.strokeStyle.width=Number(n);break;case"fill":if(n!=="none"){if(n.startsWith("url(")){const i=fee(n);t.fillStyle.fill=e.defs[i]}else t.fillStyle.color=Bn.shared.setValue(n).toNumber();t.useFill=!0}break;case"fill-opacity":t.fillStyle.alpha=Number(n);break;case"stroke-opacity":t.strokeStyle.alpha=Number(n);break;case"opacity":t.fillStyle.alpha=Number(n),t.strokeStyle.alpha=Number(n);break}}function hht(e){if(e.length<=2)return!0;const t=e.map(o=>o.area).sort((o,l)=>l-o),[r,n]=t,i=t[t.length-1],a=r/n,s=n/i;return!(a>3&&s<2)}function fht(e){return e.split(/(?=[Mm])/).filter(n=>n.trim().length>0)}function mht(e){const t=e.match(/[-+]?[0-9]*\.?[0-9]+/g);if(!t||t.length<4)return 0;const r=t.map(Number),n=[],i=[];for(let u=0;u<r.length;u+=2)u+1<r.length&&(n.push(r[u]),i.push(r[u+1]));if(n.length===0||i.length===0)return 0;const a=Math.min(...n),s=Math.max(...n),o=Math.min(...i),l=Math.max(...i);return(s-a)*(l-o)}function bee(e,t){const r=new Gc(e,!1);for(const n of r.instructions)t.instructions.push(n)}function ght(e,t){if(typeof e=="string"){const s=document.createElement("div");s.innerHTML=e.trim(),e=s.querySelector("svg")}const r={context:t,defs:{},path:new Gc};uht(e,r);const n=e.children,{fillStyle:i,strokeStyle:a}=Cbe(e,r);for(let s=0;s<n.length;s++){const o=n[s];o.nodeName.toLowerCase()!=="defs"&&Ebe(o,r,i,a)}return t}function Ebe(e,t,r,n){const i=e.children,{fillStyle:a,strokeStyle:s}=Cbe(e,t);a&&r?r={...r,...a}:a&&(r=a),s&&n?n={...n,...s}:s&&(n=s);const o=!r&&!n;o&&(r={color:0});let l,c,u,d,h,p,m,g,b,y,v,S,x,w,A,_,C;switch(e.nodeName.toLowerCase()){case"path":{w=e.getAttribute("d");const E=e.getAttribute("fill-rule"),R=fht(w),P=E==="evenodd",O=R.length>1;if(P&&O){const I=R.map(D=>({path:D,area:mht(D)}));if(I.sort((D,F)=>F.area-D.area),R.length>3||!hht(I))for(let D=0;D<I.length;D++){const F=I[D],$=D===0;t.context.beginPath();const Y=new Gc(void 0,!0);bee(F.path,Y),t.context.path(Y),$?(r&&t.context.fill(r),n&&t.context.stroke(n)):t.context.cut()}else for(let D=0;D<I.length;D++){const F=I[D],$=D%2===1;t.context.beginPath();const Y=new Gc(void 0,!0);bee(F.path,Y),t.context.path(Y),$?t.context.cut():(r&&t.context.fill(r),n&&t.context.stroke(n))}}else{const I=E?E==="evenodd":!0;A=new Gc(w,I),t.context.path(A),r&&t.context.fill(r),n&&t.context.stroke(n)}break}case"circle":m=K0(e,"cx",0),g=K0(e,"cy",0),b=K0(e,"r",0),t.context.ellipse(m,g,b,b),r&&t.context.fill(r),n&&t.context.stroke(n);break;case"rect":l=K0(e,"x",0),c=K0(e,"y",0),_=K0(e,"width",0),C=K0(e,"height",0),y=K0(e,"rx",0),v=K0(e,"ry",0),y||v?t.context.roundRect(l,c,_,C,y||v):t.context.rect(l,c,_,C),r&&t.context.fill(r),n&&t.context.stroke(n);break;case"ellipse":m=K0(e,"cx",0),g=K0(e,"cy",0),y=K0(e,"rx",0),v=K0(e,"ry",0),t.context.beginPath(),t.context.ellipse(m,g,y,v),r&&t.context.fill(r),n&&t.context.stroke(n);break;case"line":u=K0(e,"x1",0),d=K0(e,"y1",0),h=K0(e,"x2",0),p=K0(e,"y2",0),t.context.beginPath(),t.context.moveTo(u,d),t.context.lineTo(h,p),n&&t.context.stroke(n);break;case"polygon":x=e.getAttribute("points"),S=x.match(/\d+/g).map(E=>parseInt(E,10)),t.context.poly(S,!0),r&&t.context.fill(r),n&&t.context.stroke(n);break;case"polyline":x=e.getAttribute("points"),S=x.match(/\d+/g).map(E=>parseInt(E,10)),t.context.poly(S,!1),n&&t.context.stroke(n);break;case"g":case"svg":break;default:{A0(`[SVG parser] <${e.nodeName}> elements unsupported`);break}}o&&(r=null);for(let E=0;E<i.length;E++)Ebe(i[E],t,r,n)}function bht(e){return Bn.isColorLike(e)}function yee(e){return e instanceof K6}function vee(e){return e instanceof nu}function yht(e){return e instanceof cr}function vht(e,t,r){const n=Bn.shared.setValue(t!=null?t:0);return e.color=n.toNumber(),e.alpha=n.alpha===1?r.alpha:n.alpha,e.texture=cr.WHITE,{...r,...e}}function Tht(e,t,r){return e.texture=t,{...r,...e}}function Tee(e,t,r){return e.fill=t,e.color=16777215,e.texture=t.texture,e.matrix=t.transform,{...r,...e}}function See(e,t,r){return t.buildGradient(),e.fill=t,e.color=16777215,e.texture=t.texture,e.matrix=t.transform,e.textureSpace=t.textureSpace,{...r,...e}}function Sht(e,t){const r={...t,...e},n=Bn.shared.setValue(r.color);return r.alpha*=n.alpha,r.color=n.toNumber(),r}function Fp(e,t){if(e==null)return null;const r={},n=e;return bht(e)?vht(r,e,t):yht(e)?Tht(r,e,t):yee(e)?Tee(r,e,t):vee(e)?See(r,e,t):n.fill&&yee(n.fill)?Tee(n,n.fill,t):n.fill&&vee(n.fill)?See(n,n.fill,t):Sht(n,t)}function tx(e,t){const{width:r,alignment:n,miterLimit:i,cap:a,join:s,pixelLine:o,...l}=t,c=Fp(e,l);return c?{width:r,alignment:n,miterLimit:i,cap:a,join:s,pixelLine:o,...c}:null}const xht=new Oi,xee=new vr,$N=class Go extends ko{constructor(){super(...arguments),this.uid=dn("graphicsContext"),this.dirty=!0,this.batchMode="auto",this.instructions=[],this._activePath=new Gc,this._transform=new vr,this._fillStyle={...Go.defaultFillStyle},this._strokeStyle={...Go.defaultStrokeStyle},this._stateStack=[],this._tick=0,this._bounds=new _o,this._boundsDirty=!0}clone(){const t=new Go;return t.batchMode=this.batchMode,t.instructions=this.instructions.slice(),t._activePath=this._activePath.clone(),t._transform=this._transform.clone(),t._fillStyle={...this._fillStyle},t._strokeStyle={...this._strokeStyle},t._stateStack=this._stateStack.slice(),t._bounds=this._bounds.clone(),t._boundsDirty=!0,t}get fillStyle(){return this._fillStyle}set fillStyle(t){this._fillStyle=Fp(t,Go.defaultFillStyle)}get strokeStyle(){return this._strokeStyle}set strokeStyle(t){this._strokeStyle=tx(t,Go.defaultStrokeStyle)}setFillStyle(t){return this._fillStyle=Fp(t,Go.defaultFillStyle),this}setStrokeStyle(t){return this._strokeStyle=Fp(t,Go.defaultStrokeStyle),this}texture(t,r,n,i,a,s){return this.instructions.push({action:"texture",data:{image:t,dx:n||0,dy:i||0,dw:a||t.frame.width,dh:s||t.frame.height,transform:this._transform.clone(),alpha:this._fillStyle.alpha,style:r?Bn.shared.setValue(r).toNumber():16777215}}),this.onUpdate(),this}beginPath(){return this._activePath=new Gc,this}fill(t,r){let n;const i=this.instructions[this.instructions.length-1];return this._tick===0&&i&&i.action==="stroke"?n=i.data.path:n=this._activePath.clone(),n?(t!=null&&(r!==void 0&&typeof t=="number"&&(mr(r0,"GraphicsContext.fill(color, alpha) is deprecated, use GraphicsContext.fill({ color, alpha }) instead"),t={color:t,alpha:r}),this._fillStyle=Fp(t,Go.defaultFillStyle)),this.instructions.push({action:"fill",data:{style:this.fillStyle,path:n}}),this.onUpdate(),this._initNextPathLocation(),this._tick=0,this):this}_initNextPathLocation(){const{x:t,y:r}=this._activePath.getLastPoint(Oi.shared);this._activePath.clear(),this._activePath.moveTo(t,r)}stroke(t){let r;const n=this.instructions[this.instructions.length-1];return this._tick===0&&n&&n.action==="fill"?r=n.data.path:r=this._activePath.clone(),r?(t!=null&&(this._strokeStyle=tx(t,Go.defaultStrokeStyle)),this.instructions.push({action:"stroke",data:{style:this.strokeStyle,path:r}}),this.onUpdate(),this._initNextPathLocation(),this._tick=0,this):this}cut(){for(let t=0;t<2;t++){const r=this.instructions[this.instructions.length-1-t],n=this._activePath.clone();if(r&&(r.action==="stroke"||r.action==="fill"))if(r.data.hole)r.data.hole.addPath(n);else{r.data.hole=n;break}}return this._initNextPathLocation(),this}arc(t,r,n,i,a,s){this._tick++;const o=this._transform;return this._activePath.arc(o.a*t+o.c*r+o.tx,o.b*t+o.d*r+o.ty,n,i,a,s),this}arcTo(t,r,n,i,a){this._tick++;const s=this._transform;return this._activePath.arcTo(s.a*t+s.c*r+s.tx,s.b*t+s.d*r+s.ty,s.a*n+s.c*i+s.tx,s.b*n+s.d*i+s.ty,a),this}arcToSvg(t,r,n,i,a,s,o){this._tick++;const l=this._transform;return this._activePath.arcToSvg(t,r,n,i,a,l.a*s+l.c*o+l.tx,l.b*s+l.d*o+l.ty),this}bezierCurveTo(t,r,n,i,a,s,o){this._tick++;const l=this._transform;return this._activePath.bezierCurveTo(l.a*t+l.c*r+l.tx,l.b*t+l.d*r+l.ty,l.a*n+l.c*i+l.tx,l.b*n+l.d*i+l.ty,l.a*a+l.c*s+l.tx,l.b*a+l.d*s+l.ty,o),this}closePath(){var t;return this._tick++,(t=this._activePath)==null||t.closePath(),this}ellipse(t,r,n,i){return this._tick++,this._activePath.ellipse(t,r,n,i,this._transform.clone()),this}circle(t,r,n){return this._tick++,this._activePath.circle(t,r,n,this._transform.clone()),this}path(t){return this._tick++,this._activePath.addPath(t,this._transform.clone()),this}lineTo(t,r){this._tick++;const n=this._transform;return this._activePath.lineTo(n.a*t+n.c*r+n.tx,n.b*t+n.d*r+n.ty),this}moveTo(t,r){this._tick++;const n=this._transform,i=this._activePath.instructions,a=n.a*t+n.c*r+n.tx,s=n.b*t+n.d*r+n.ty;return i.length===1&&i[0].action==="moveTo"?(i[0].data[0]=a,i[0].data[1]=s,this):(this._activePath.moveTo(a,s),this)}quadraticCurveTo(t,r,n,i,a){this._tick++;const s=this._transform;return this._activePath.quadraticCurveTo(s.a*t+s.c*r+s.tx,s.b*t+s.d*r+s.ty,s.a*n+s.c*i+s.tx,s.b*n+s.d*i+s.ty,a),this}rect(t,r,n,i){return this._tick++,this._activePath.rect(t,r,n,i,this._transform.clone()),this}roundRect(t,r,n,i,a){return this._tick++,this._activePath.roundRect(t,r,n,i,a,this._transform.clone()),this}poly(t,r){return this._tick++,this._activePath.poly(t,r,this._transform.clone()),this}regularPoly(t,r,n,i,a=0,s){return this._tick++,this._activePath.regularPoly(t,r,n,i,a,s),this}roundPoly(t,r,n,i,a,s){return this._tick++,this._activePath.roundPoly(t,r,n,i,a,s),this}roundShape(t,r,n,i){return this._tick++,this._activePath.roundShape(t,r,n,i),this}filletRect(t,r,n,i,a){return this._tick++,this._activePath.filletRect(t,r,n,i,a),this}chamferRect(t,r,n,i,a,s){return this._tick++,this._activePath.chamferRect(t,r,n,i,a,s),this}star(t,r,n,i,a=0,s=0){return this._tick++,this._activePath.star(t,r,n,i,a,s,this._transform.clone()),this}svg(t){return this._tick++,ght(t,this),this}restore(){const t=this._stateStack.pop();return t&&(this._transform=t.transform,this._fillStyle=t.fillStyle,this._strokeStyle=t.strokeStyle),this}save(){return this._stateStack.push({transform:this._transform.clone(),fillStyle:{...this._fillStyle},strokeStyle:{...this._strokeStyle}}),this}getTransform(){return this._transform}resetTransform(){return this._transform.identity(),this}rotate(t){return this._transform.rotate(t),this}scale(t,r=t){return this._transform.scale(t,r),this}setTransform(t,r,n,i,a,s){return t instanceof vr?(this._transform.set(t.a,t.b,t.c,t.d,t.tx,t.ty),this):(this._transform.set(t,r,n,i,a,s),this)}transform(t,r,n,i,a,s){return t instanceof vr?(this._transform.append(t),this):(xee.set(t,r,n,i,a,s),this._transform.append(xee),this)}translate(t,r=t){return this._transform.translate(t,r),this}clear(){return this._activePath.clear(),this.instructions.length=0,this.resetTransform(),this.onUpdate(),this}onUpdate(){this._boundsDirty=!0,!this.dirty&&(this.emit("update",this,16),this.dirty=!0)}get bounds(){if(!this._boundsDirty)return this._bounds;this._boundsDirty=!1;const t=this._bounds;t.clear();for(let r=0;r<this.instructions.length;r++){const n=this.instructions[r],i=n.action;if(i==="fill"){const a=n.data;t.addBounds(a.path.bounds)}else if(i==="texture"){const a=n.data;t.addFrame(a.dx,a.dy,a.dx+a.dw,a.dy+a.dh,a.transform)}if(i==="stroke"){const a=n.data,s=a.style.alignment,o=a.style.width*(1-s),l=a.path.bounds;t.addFrame(l.minX-o,l.minY-o,l.maxX+o,l.maxY+o)}}return t}containsPoint(t){var i;if(!this.bounds.containsPoint(t.x,t.y))return!1;const r=this.instructions;let n=!1;for(let a=0;a<r.length;a++){const s=r[a],o=s.data,l=o.path;if(!s.action||!l)continue;const c=o.style,u=l.shapePath.shapePrimitives;for(let d=0;d<u.length;d++){const h=u[d].shape;if(!c||!h)continue;const p=u[d].transform,m=p?p.applyInverse(t,xht):t;if(s.action==="fill")n=h.contains(m.x,m.y);else{const b=c;n=h.strokeContains(m.x,m.y,b.width,b.alignment)}const g=o.hole;if(g){const b=(i=g.shapePath)==null?void 0:i.shapePrimitives;if(b)for(let y=0;y<b.length;y++)b[y].shape.contains(m.x,m.y)&&(n=!1)}if(n)return!0}}return n}destroy(t=!1){if(this._stateStack.length=0,this._transform=null,this.emit("destroy",this),this.removeAllListeners(),typeof t=="boolean"?t:t==null?void 0:t.texture){const n=typeof t=="boolean"?t:t==null?void 0:t.textureSource;this._fillStyle.texture&&(this._fillStyle.fill&&"uid"in this._fillStyle.fill?this._fillStyle.fill.destroy():this._fillStyle.texture.destroy(n)),this._strokeStyle.texture&&(this._strokeStyle.fill&&"uid"in this._strokeStyle.fill?this._strokeStyle.fill.destroy():this._strokeStyle.texture.destroy(n))}this._fillStyle=null,this._strokeStyle=null,this.instructions=null,this._activePath=null,this._bounds=null,this._stateStack=null,this.customShader=null,this._transform=null}};$N.defaultFillStyle={color:16777215,alpha:1,texture:cr.WHITE,matrix:null,fill:null,textureSpace:"local"};$N.defaultStrokeStyle={width:1,color:16777215,alpha:1,alignment:.5,miterLimit:10,cap:"butt",join:"miter",texture:cr.WHITE,matrix:null,fill:null,textureSpace:"local",pixelLine:!1};let bs=$N;const BN=class Df extends ko{constructor(t={}){super(),this.uid=dn("textStyle"),this._tick=0,wht(t);const r={...Df.defaultTextStyle,...t};for(const n in r){const i=n;this[i]=r[n]}this.update(),this._tick=0}get align(){return this._align}set align(t){this._align=t,this.update()}get breakWords(){return this._breakWords}set breakWords(t){this._breakWords=t,this.update()}get dropShadow(){return this._dropShadow}set dropShadow(t){t!==null&&typeof t=="object"?this._dropShadow=this._createProxy({...Df.defaultDropShadow,...t}):this._dropShadow=t?this._createProxy({...Df.defaultDropShadow}):null,this.update()}get fontFamily(){return this._fontFamily}set fontFamily(t){this._fontFamily=t,this.update()}get fontSize(){return this._fontSize}set fontSize(t){typeof t=="string"?this._fontSize=parseInt(t,10):this._fontSize=t,this.update()}get fontStyle(){return this._fontStyle}set fontStyle(t){this._fontStyle=t.toLowerCase(),this.update()}get fontVariant(){return this._fontVariant}set fontVariant(t){this._fontVariant=t,this.update()}get fontWeight(){return this._fontWeight}set fontWeight(t){this._fontWeight=t,this.update()}get leading(){return this._leading}set leading(t){this._leading=t,this.update()}get letterSpacing(){return this._letterSpacing}set letterSpacing(t){this._letterSpacing=t,this.update()}get lineHeight(){return this._lineHeight}set lineHeight(t){this._lineHeight=t,this.update()}get padding(){return this._padding}set padding(t){this._padding=t,this.update()}get filters(){return this._filters}set filters(t){this._filters=Object.freeze(t),this.update()}get trim(){return this._trim}set trim(t){this._trim=t,this.update()}get textBaseline(){return this._textBaseline}set textBaseline(t){this._textBaseline=t,this.update()}get whiteSpace(){return this._whiteSpace}set whiteSpace(t){this._whiteSpace=t,this.update()}get wordWrap(){return this._wordWrap}set wordWrap(t){this._wordWrap=t,this.update()}get wordWrapWidth(){return this._wordWrapWidth}set wordWrapWidth(t){this._wordWrapWidth=t,this.update()}get fill(){return this._originalFill}set fill(t){t!==this._originalFill&&(this._originalFill=t,this._isFillStyle(t)&&(this._originalFill=this._createProxy({...bs.defaultFillStyle,...t},()=>{this._fill=Fp({...this._originalFill},bs.defaultFillStyle)})),this._fill=Fp(t===0?"black":t,bs.defaultFillStyle),this.update())}get stroke(){return this._originalStroke}set stroke(t){t!==this._originalStroke&&(this._originalStroke=t,this._isFillStyle(t)&&(this._originalStroke=this._createProxy({...bs.defaultStrokeStyle,...t},()=>{this._stroke=tx({...this._originalStroke},bs.defaultStrokeStyle)})),this._stroke=tx(t,bs.defaultStrokeStyle),this.update())}update(){this._tick++,this.emit("update",this)}reset(){const t=Df.defaultTextStyle;for(const r in t)this[r]=t[r]}get styleKey(){return`${this.uid}-${this._tick}`}clone(){return new Df({align:this.align,breakWords:this.breakWords,dropShadow:this._dropShadow?{...this._dropShadow}:null,fill:this._fill,fontFamily:this.fontFamily,fontSize:this.fontSize,fontStyle:this.fontStyle,fontVariant:this.fontVariant,fontWeight:this.fontWeight,leading:this.leading,letterSpacing:this.letterSpacing,lineHeight:this.lineHeight,padding:this.padding,stroke:this._stroke,textBaseline:this.textBaseline,whiteSpace:this.whiteSpace,wordWrap:this.wordWrap,wordWrapWidth:this.wordWrapWidth,filters:this._filters?[...this._filters]:void 0})}_getFinalPadding(){let t=0;if(this._filters)for(let r=0;r<this._filters.length;r++)t+=this._filters[r].padding;return Math.max(this._padding,t)}destroy(t=!1){var n,i,a,s;if(this.removeAllListeners(),typeof t=="boolean"?t:t==null?void 0:t.texture){const o=typeof t=="boolean"?t:t==null?void 0:t.textureSource;(n=this._fill)!=null&&n.texture&&this._fill.texture.destroy(o),(i=this._originalFill)!=null&&i.texture&&this._originalFill.texture.destroy(o),(a=this._stroke)!=null&&a.texture&&this._stroke.texture.destroy(o),(s=this._originalStroke)!=null&&s.texture&&this._originalStroke.texture.destroy(o)}this._fill=null,this._stroke=null,this.dropShadow=null,this._originalStroke=null,this._originalFill=null}_createProxy(t,r){return new Proxy(t,{set:(n,i,a)=>(n[i]=a,r==null||r(i,a),this.update(),!0)})}_isFillStyle(t){return(t!=null?t:null)!==null&&!(Bn.isColorLike(t)||t instanceof nu||t instanceof K6)}};BN.defaultDropShadow={alpha:1,angle:Math.PI/6,blur:0,color:"black",distance:5};BN.defaultTextStyle={align:"left",breakWords:!1,dropShadow:null,fill:"black",fontFamily:"Arial",fontSize:26,fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",leading:0,letterSpacing:0,lineHeight:0,padding:0,stroke:null,textBaseline:"alphabetic",trim:!1,whiteSpace:"pre",wordWrap:!1,wordWrapWidth:100};let rx=BN;function wht(e){var r,n,i,a,s;const t=e;if(typeof t.dropShadow=="boolean"&&t.dropShadow){const o=rx.defaultDropShadow;e.dropShadow={alpha:(r=t.dropShadowAlpha)!=null?r:o.alpha,angle:(n=t.dropShadowAngle)!=null?n:o.angle,blur:(i=t.dropShadowBlur)!=null?i:o.blur,color:(a=t.dropShadowColor)!=null?a:o.color,distance:(s=t.dropShadowDistance)!=null?s:o.distance}}if(t.strokeThickness!==void 0){mr(r0,"strokeThickness is now a part of stroke");const o=t.stroke;let l={};if(Bn.isColorLike(o))l.color=o;else if(o instanceof nu||o instanceof K6)l.fill=o;else if(Object.hasOwnProperty.call(o,"color")||Object.hasOwnProperty.call(o,"fill"))l=o;else throw new Error("Invalid stroke value.");e.stroke={...l,width:t.strokeThickness}}if(Array.isArray(t.fillGradientStops)){if(mr(r0,"gradient fill is now a fill pattern: `new FillGradient(...)`"),!Array.isArray(t.fill)||t.fill.length===0)throw new Error("Invalid fill value. Expected an array of colors for gradient fill.");t.fill.length!==t.fillGradientStops.length&&A0("The number of fill colors must match the number of fill gradient stops.");const o=new nu({start:{x:0,y:0},end:{x:0,y:1},textureSpace:"local"}),l=t.fillGradientStops.slice(),c=t.fill.map(u=>Bn.shared.setValue(u).toNumber());l.forEach((u,d)=>{o.addColorStop(u,c[d])}),e.fill={fill:o}}}class _ht{constructor(t){this._canvasPool=Object.create(null),this.canvasOptions=t||{},this.enableFullScreen=!1}_createCanvasAndContext(t,r){const n=C0.get().createCanvas();n.width=t,n.height=r;const i=n.getContext("2d");return{canvas:n,context:i}}getOptimalCanvasAndContext(t,r,n=1){t=Math.ceil(t*n-1e-6),r=Math.ceil(r*n-1e-6),t=XS(t),r=XS(r);const i=(t<<17)+(r<<1);this._canvasPool[i]||(this._canvasPool[i]=[]);let a=this._canvasPool[i].pop();return a||(a=this._createCanvasAndContext(t,r)),a}returnCanvasAndContext(t){const r=t.canvas,{width:n,height:i}=r,a=(n<<17)+(i<<1);t.context.resetTransform(),t.context.clearRect(0,0,n,i),this._canvasPool[a].push(t)}clear(){this._canvasPool={}}}const SM=new _ht;Av.register(SM);const wee=1e5;function _ee(e,t,r,n=0){var i;if(e.texture===cr.WHITE&&!e.fill)return Bn.shared.setValue(e.color).setAlpha((i=e.alpha)!=null?i:1).toHexa();if(e.fill){if(e.fill instanceof K6){const a=e.fill,s=t.createPattern(a.texture.source.resource,"repeat"),o=a.transform.copyTo(vr.shared);return o.scale(a.texture.frame.width,a.texture.frame.height),s.setTransform(o),s}else if(e.fill instanceof nu){const a=e.fill,s=a.type==="linear",o=a.textureSpace==="local";let l=1,c=1;o&&r&&(l=r.width+n,c=r.height+n);let u,d=!1;if(s){const{start:h,end:p}=a;u=t.createLinearGradient(h.x*l,h.y*c,p.x*l,p.y*c),d=Math.abs(p.x-h.x)<Math.abs((p.y-h.y)*.1)}else{const{center:h,innerRadius:p,outerCenter:m,outerRadius:g}=a;u=t.createRadialGradient(h.x*l,h.y*c,p*l,m.x*l,m.y*c,g*l)}if(d&&o&&r){const h=r.lineHeight/c;for(let p=0;p<r.lines.length;p++){const m=(p*r.lineHeight+n/2)/c;a.colorStops.forEach(g=>{const b=m+g.offset*h;u.addColorStop(Math.floor(b*wee)/wee,Bn.shared.setValue(g.color).toHex())})}}else a.colorStops.forEach(h=>{u.addColorStop(h.offset,Bn.shared.setValue(h.color).toHex())});return u}}else{const a=t.createPattern(e.texture.source.resource,"repeat"),s=e.matrix.copyTo(vr.shared);return s.scale(e.texture.frame.width,e.texture.frame.height),a.setTransform(s),a}return A0("FillStyle not recognised",e),"red"}const Pbe=class jbe extends cbe{constructor(t){var s,o,l;super(),this.resolution=1,this.pages=[],this._padding=0,this._measureCache=Object.create(null),this._currentChars=[],this._currentX=0,this._currentY=0,this._currentMaxCharHeight=0,this._currentPageIndex=-1,this._skipKerning=!1;const r={...jbe.defaultOptions,...t};this._textureSize=r.textureSize,this._mipmap=r.mipmap;const n=r.style.clone();r.overrideFill&&(n._fill.color=16777215,n._fill.alpha=1,n._fill.texture=cr.WHITE,n._fill.fill=null),this.applyFillAsTint=r.overrideFill;const i=n.fontSize;n.fontSize=this.baseMeasurementFontSize;const a=gM(n);r.overrideSize?n._stroke&&(n._stroke.width*=this.baseRenderedFontSize/i):n.fontSize=this.baseRenderedFontSize=i,this._style=n,this._skipKerning=(s=r.skipKerning)!=null?s:!1,this.resolution=(o=r.resolution)!=null?o:1,this._padding=(l=r.padding)!=null?l:4,r.textureStyle&&(this._textureStyle=r.textureStyle instanceof QS?r.textureStyle:new QS(r.textureStyle)),this.fontMetrics=xT.measureFont(a),this.lineHeight=n.lineHeight||this.fontMetrics.fontSize||n.fontSize}ensureCharacters(t){var b,y,v,S;const r=xT.graphemeSegmenter(t).filter(x=>!this._currentChars.includes(x)).filter((x,w,A)=>A.indexOf(x)===w);if(!r.length)return;this._currentChars=[...this._currentChars,...r];let n;this._currentPageIndex===-1?n=this._nextPage():n=this.pages[this._currentPageIndex];let{canvas:i,context:a}=n.canvasAndContext,s=n.texture.source;const o=this._style;let l=this._currentX,c=this._currentY,u=this._currentMaxCharHeight;const d=this.baseRenderedFontSize/this.baseMeasurementFontSize,h=this._padding*d;let p=!1;const m=i.width/this.resolution,g=i.height/this.resolution;for(let x=0;x<r.length;x++){const w=r[x],A=xT.measureText(w,o,i,!1);A.lineHeight=A.height;const _=A.width*d,C=Math.ceil((o.fontStyle==="italic"?2:1)*_),E=A.height*d,R=C+h*2,P=E+h*2;if(p=!1,w!==`
`&&w!=="\r"&&w!==" "&&w!==" "&&(p=!0,u=Math.ceil(Math.max(P,u))),l+R>m&&(c+=u,u=P,l=0,c+u>g)){s.update();const k=this._nextPage();i=k.canvasAndContext.canvas,a=k.canvasAndContext.context,s=k.texture.source,l=0,c=0,u=0}const O=_/d-((y=(b=o.dropShadow)==null?void 0:b.distance)!=null?y:0)-((S=(v=o._stroke)==null?void 0:v.width)!=null?S:0);if(this.chars[w]={id:w.codePointAt(0),xOffset:-this._padding,yOffset:-this._padding,xAdvance:O,kerning:{}},p){this._drawGlyph(a,A,l+h,c+h,d,o);const k=s.width*d,I=s.height*d,M=new un(l/k*s.width,c/I*s.height,R/k*s.width,P/I*s.height);this.chars[w].texture=new cr({source:s,frame:M}),l+=Math.ceil(R)}}s.update(),this._currentX=l,this._currentY=c,this._currentMaxCharHeight=u,this._skipKerning&&this._applyKerning(r,a)}get pageTextures(){return mr(r0,"BitmapFont.pageTextures is deprecated, please use BitmapFont.pages instead."),this.pages}_applyKerning(t,r){const n=this._measureCache;for(let i=0;i<t.length;i++){const a=t[i];for(let s=0;s<this._currentChars.length;s++){const o=this._currentChars[s];let l=n[a];l||(l=n[a]=r.measureText(a).width);let c=n[o];c||(c=n[o]=r.measureText(o).width);let u=r.measureText(a+o).width,d=u-(l+c);d&&(this.chars[a].kerning[o]=d),u=r.measureText(a+o).width,d=u-(l+c),d&&(this.chars[o].kerning[a]=d)}}}_nextPage(){this._currentPageIndex++;const t=this.resolution,r=SM.getOptimalCanvasAndContext(this._textureSize,this._textureSize,t);this._setupContext(r.context,this._style,t);const n=t*(this.baseRenderedFontSize/this.baseMeasurementFontSize),i=new cr({source:new wh({resource:r.canvas,resolution:n,alphaMode:"premultiply-alpha-on-upload",autoGenerateMipmaps:this._mipmap})});this._textureStyle&&(i.source.style=this._textureStyle);const a={canvasAndContext:r,texture:i};return this.pages[this._currentPageIndex]=a,a}_setupContext(t,r,n){var s;r.fontSize=this.baseRenderedFontSize,t.scale(n,n),t.font=gM(r),r.fontSize=this.baseMeasurementFontSize,t.textBaseline=r.textBaseline;const i=r._stroke,a=(s=i==null?void 0:i.width)!=null?s:0;if(i&&(t.lineWidth=a,t.lineJoin=i.join,t.miterLimit=i.miterLimit,t.strokeStyle=_ee(i,t)),r._fill&&(t.fillStyle=_ee(r._fill,t)),r.dropShadow){const o=r.dropShadow,l=Bn.shared.setValue(o.color).toArray(),c=o.blur*n,u=o.distance*n;t.shadowColor=`rgba(${l[0]*255},${l[1]*255},${l[2]*255},${o.alpha})`,t.shadowBlur=c,t.shadowOffsetX=Math.cos(o.angle)*u,t.shadowOffsetY=Math.sin(o.angle)*u}else t.shadowColor="black",t.shadowBlur=0,t.shadowOffsetX=0,t.shadowOffsetY=0}_drawGlyph(t,r,n,i,a,s){var S;const o=r.text,l=r.fontProperties,c=s._stroke,u=((S=c==null?void 0:c.width)!=null?S:0)*a,d=n+u/2,h=i-u/2,p=l.descent*a,m=r.lineHeight*a;let g=!1;s.stroke&&u&&(g=!0,t.strokeText(o,d,h+m-p));const{shadowBlur:b,shadowOffsetX:y,shadowOffsetY:v}=t;s._fill&&(g&&(t.shadowBlur=0,t.shadowOffsetX=0,t.shadowOffsetY=0),t.fillText(o,d,h+m-p)),g&&(t.shadowBlur=b,t.shadowOffsetX=y,t.shadowOffsetY=v)}destroy(){super.destroy();for(let t=0;t<this.pages.length;t++){const{canvasAndContext:r,texture:n}=this.pages[t];SM.returnCanvasAndContext(r),n.destroy(!0)}this.pages=null}};Pbe.defaultOptions={textureSize:512,style:new rx,mipmap:!0};let Aee=Pbe;function Aht(e,t,r,n){const i={width:0,height:0,offsetY:0,scale:t.fontSize/r.baseMeasurementFontSize,lines:[{width:0,charPositions:[],spaceWidth:0,spacesIndex:[],chars:[]}]};i.offsetY=r.baseLineOffset;let a=i.lines[0],s=null,o=!0;const l={width:0,start:0,index:0,positions:[],chars:[]},c=r.baseMeasurementFontSize/t.fontSize,u=t.letterSpacing*c,d=t.wordWrapWidth*c,h=t.lineHeight?t.lineHeight*c:r.lineHeight,p=t.wordWrap&&t.breakWords,m=y=>{const v=a.width;for(let S=0;S<l.index;S++){const x=y.positions[S];a.chars.push(y.chars[S]),a.charPositions.push(x+v)}a.width+=y.width,o=!1,l.width=0,l.index=0,l.chars.length=0},g=()=>{let y=a.chars.length-1;if(n){let v=a.chars[y];for(;v===" ";)a.width-=r.chars[v].xAdvance,v=a.chars[--y]}i.width=Math.max(i.width,a.width),a={width:0,charPositions:[],chars:[],spaceWidth:0,spacesIndex:[]},o=!0,i.lines.push(a),i.height+=h},b=y=>y-u>d;for(let y=0;y<e.length+1;y++){let v;const S=y===e.length;S||(v=e[y]);const x=r.chars[v]||r.chars[" "];if(/(?:\s)/.test(v)||v==="\r"||v===`
`||S){if(!o&&t.wordWrap&&b(a.width+l.width)?(g(),m(l),S||a.charPositions.push(0)):(l.start=a.width,m(l),S||a.charPositions.push(0)),v==="\r"||v===`
`)g();else if(!S){const C=x.xAdvance+(x.kerning[s]||0)+u;a.width+=C,a.spaceWidth=C,a.spacesIndex.push(a.charPositions.length),a.chars.push(v)}}else{const _=x.kerning[s]||0,C=x.xAdvance+_+u;p&&b(a.width+l.width+C)&&(m(l),g()),l.positions[l.index++]=l.width+_,l.chars.push(v),l.width+=C}s=v}return g(),t.align==="center"?Cht(i):t.align==="right"?Eht(i):t.align==="justify"&&Pht(i),i}function Cht(e){for(let t=0;t<e.lines.length;t++){const r=e.lines[t],n=e.width/2-r.width/2;for(let i=0;i<r.charPositions.length;i++)r.charPositions[i]+=n}}function Eht(e){for(let t=0;t<e.lines.length;t++){const r=e.lines[t],n=e.width-r.width;for(let i=0;i<r.charPositions.length;i++)r.charPositions[i]+=n}}function Pht(e){const t=e.width;for(let r=0;r<e.lines.length;r++){const n=e.lines[r];let i=0,a=n.spacesIndex[i++],s=0;const o=n.spacesIndex.length,c=(t-n.width)/o;for(let u=0;u<n.charPositions.length;u++)u===a&&(a=n.spacesIndex[i++],s+=c),n.charPositions[u]+=s}}function jht(e){if(e==="")return[];typeof e=="string"&&(e=[e]);const t=[];for(let r=0,n=e.length;r<n;r++){const i=e[r];if(Array.isArray(i)){if(i.length!==2)throw new Error(`[BitmapFont]: Invalid character range length, expecting 2 got ${i.length}.`);if(i[0].length===0||i[1].length===0)throw new Error("[BitmapFont]: Invalid character delimiter.");const a=i[0].charCodeAt(0),s=i[1].charCodeAt(0);if(s<a)throw new Error("[BitmapFont]: Invalid character range.");for(let o=a,l=s;o<=l;o++)t.push(String.fromCharCode(o))}else t.push(...Array.from(i))}if(t.length===0)throw new Error("[BitmapFont]: Empty set when resolving characters.");return t}let A3=0;class Rht{constructor(){this.ALPHA=[["a","z"],["A","Z"]," "],this.NUMERIC=[["0","9"]],this.ALPHANUMERIC=[["a","z"],["A","Z"],["0","9"]," "],this.ASCII=[[" ","~"]],this.defaultOptions={chars:this.ALPHANUMERIC,resolution:1,padding:4,skipKerning:!1,textureStyle:null},this.measureCache=ube(1e3)}getFont(t,r){var s;let n=`${r.fontFamily}-bitmap`,i=!0;if(r._fill.fill&&!r._stroke?(n+=r._fill.fill.styleKey,i=!1):(r._stroke||r.dropShadow)&&(n=`${r.styleKey}-bitmap`,i=!1),!x0.has(n)){const o=Object.create(r);o.lineHeight=0;const l=new Aee({style:o,overrideFill:i,overrideSize:!0,...this.defaultOptions});A3++,A3>50&&A0("BitmapText",`You have dynamically created ${A3} bitmap fonts, this can be inefficient. Try pre installing your font styles using \`BitmapFont.install({name:"style1", style})\``),l.once("destroy",()=>{A3--,x0.remove(n)}),x0.set(n,l)}const a=x0.get(n);return(s=a.ensureCharacters)==null||s.call(a,t),a}getLayout(t,r,n=!0){const i=this.getFont(t,r),a=`${t}-${r.styleKey}-${n}`;if(this.measureCache.has(a))return this.measureCache.get(a);const s=xT.graphemeSegmenter(t),o=Aht(s,r,i,n);return this.measureCache.set(a,o),o}measureText(t,r,n=!0){return this.getLayout(t,r,n)}install(...t){var c,u,d,h,p;let r=t[0];typeof r=="string"&&(r={name:r,style:t[1],chars:(c=t[2])==null?void 0:c.chars,resolution:(u=t[2])==null?void 0:u.resolution,padding:(d=t[2])==null?void 0:d.padding,skipKerning:(h=t[2])==null?void 0:h.skipKerning},mr(r0,"BitmapFontManager.install(name, style, options) is deprecated, use BitmapFontManager.install({name, style, ...options})"));const n=r==null?void 0:r.name;if(!n)throw new Error("[BitmapFontManager] Property `name` is required.");r={...this.defaultOptions,...r};const i=r.style,a=i instanceof rx?i:new rx(i),s=(p=r.dynamicFill)!=null?p:this._canUseTintForStyle(a),o=new Aee({style:a,overrideFill:s,skipKerning:r.skipKerning,padding:r.padding,resolution:r.resolution,overrideSize:!1,textureStyle:r.textureStyle}),l=jht(r.chars);return o.ensureCharacters(l.join("")),x0.set(`${n}-bitmap`,o),o.once("destroy",()=>x0.remove(`${n}-bitmap`)),o}uninstall(t){const r=`${t}-bitmap`,n=x0.get(r);n&&n.destroy()}_canUseTintForStyle(t){return!t._stroke&&(!t.dropShadow||t.dropShadow.color===0)&&!t._fill.fill&&t._fill.color===16777215}}const Cee=new Rht;class Rbe extends cbe{constructor(t,r){var a;super();const{textures:n,data:i}=t;Object.keys(i.pages).forEach(s=>{const o=i.pages[parseInt(s,10)],l=n[o.id];this.pages.push({texture:l})}),Object.keys(i.chars).forEach(s=>{var p;const o=i.chars[s],{frame:l,source:c,rotate:u}=n[o.page],d=t0.transformRectCoords(o,l,u,new un),h=new cr({frame:d,orig:new un(0,0,o.width,o.height),source:c,rotate:u});this.chars[s]={id:s.codePointAt(0),xOffset:o.xOffset,yOffset:o.yOffset,xAdvance:o.xAdvance,kerning:(p=o.kerning)!=null?p:{},texture:h}}),this.baseRenderedFontSize=i.fontSize,this.baseMeasurementFontSize=i.fontSize,this.fontMetrics={ascent:0,descent:0,fontSize:i.fontSize},this.baseLineOffset=i.baseLineOffset,this.lineHeight=i.lineHeight,this.fontFamily=i.fontFamily,this.distanceField=(a=i.distanceField)!=null?a:{type:"none",range:0},this.url=r}destroy(){super.destroy();for(let t=0;t<this.pages.length;t++){const{texture:r}=this.pages[t];r.destroy(!0)}this.pages=null}static install(t){Cee.install(t)}static uninstall(t){Cee.uninstall(t)}}const e9={test(e){return typeof e=="string"&&e.startsWith("info face=")},parse(e){var d,h,p;const t=e.match(/^[a-z]+\s+.+$/gm),r={info:[],common:[],page:[],char:[],chars:[],kerning:[],kernings:[],distanceField:[]};for(const m in t){const g=t[m].match(/^[a-z]+/gm)[0],b=t[m].match(/[a-zA-Z]+=([^\s"']+|"([^"]*)")/gm),y={};for(const v in b){const S=b[v].split("="),x=S[0],w=S[1].replace(/"/gm,""),A=parseFloat(w),_=isNaN(A)?w:A;y[x]=_}r[g].push(y)}const n={chars:{},pages:[],lineHeight:0,fontSize:0,fontFamily:"",distanceField:null,baseLineOffset:0},[i]=r.info,[a]=r.common,[s]=(d=r.distanceField)!=null?d:[];s&&(n.distanceField={range:parseInt(s.distanceRange,10),type:s.fieldType}),n.fontSize=parseInt(i.size,10),n.fontFamily=i.face,n.lineHeight=parseInt(a.lineHeight,10);const o=r.page;for(let m=0;m<o.length;m++)n.pages.push({id:parseInt(o[m].id,10)||0,file:o[m].file});const l={};n.baseLineOffset=n.lineHeight-parseInt(a.base,10);const c=r.char;for(let m=0;m<c.length;m++){const g=c[m],b=parseInt(g.id,10);let y=(p=(h=g.letter)!=null?h:g.char)!=null?p:String.fromCharCode(b);y==="space"&&(y=" "),l[b]=y,n.chars[y]={id:b,page:parseInt(g.page,10)||0,x:parseInt(g.x,10),y:parseInt(g.y,10),width:parseInt(g.width,10),height:parseInt(g.height,10),xOffset:parseInt(g.xoffset,10),yOffset:parseInt(g.yoffset,10),xAdvance:parseInt(g.xadvance,10),kerning:{}}}const u=r.kerning||[];for(let m=0;m<u.length;m++){const g=parseInt(u[m].first,10),b=parseInt(u[m].second,10),y=parseInt(u[m].amount,10);n.chars[l[b]].kerning[l[g]]=y}return n}},Eee={test(e){const t=e;return typeof t!="string"&&"getElementsByTagName"in t&&t.getElementsByTagName("page").length&&t.getElementsByTagName("info")[0].getAttribute("face")!==null},parse(e){var c,u;const t={chars:{},pages:[],lineHeight:0,fontSize:0,fontFamily:"",distanceField:null,baseLineOffset:0},r=e.getElementsByTagName("info")[0],n=e.getElementsByTagName("common")[0],i=e.getElementsByTagName("distanceField")[0];i&&(t.distanceField={type:i.getAttribute("fieldType"),range:parseInt(i.getAttribute("distanceRange"),10)});const a=e.getElementsByTagName("page"),s=e.getElementsByTagName("char"),o=e.getElementsByTagName("kerning");t.fontSize=parseInt(r.getAttribute("size"),10),t.fontFamily=r.getAttribute("face"),t.lineHeight=parseInt(n.getAttribute("lineHeight"),10);for(let d=0;d<a.length;d++)t.pages.push({id:parseInt(a[d].getAttribute("id"),10)||0,file:a[d].getAttribute("file")});const l={};t.baseLineOffset=t.lineHeight-parseInt(n.getAttribute("base"),10);for(let d=0;d<s.length;d++){const h=s[d],p=parseInt(h.getAttribute("id"),10);let m=(u=(c=h.getAttribute("letter"))!=null?c:h.getAttribute("char"))!=null?u:String.fromCharCode(p);m==="space"&&(m=" "),l[p]=m,t.chars[m]={id:p,page:parseInt(h.getAttribute("page"),10)||0,x:parseInt(h.getAttribute("x"),10),y:parseInt(h.getAttribute("y"),10),width:parseInt(h.getAttribute("width"),10),height:parseInt(h.getAttribute("height"),10),xOffset:parseInt(h.getAttribute("xoffset"),10),yOffset:parseInt(h.getAttribute("yoffset"),10),xAdvance:parseInt(h.getAttribute("xadvance"),10),kerning:{}}}for(let d=0;d<o.length;d++){const h=parseInt(o[d].getAttribute("first"),10),p=parseInt(o[d].getAttribute("second"),10),m=parseInt(o[d].getAttribute("amount"),10);t.chars[l[p]].kerning[l[h]]=m}return t}},Pee={test(e){return typeof e=="string"&&e.includes("<font>")?Eee.test(C0.get().parseXML(e)):!1},parse(e){return Eee.parse(C0.get().parseXML(e))}},Iht=[".xml",".fnt"],Oht={extension:{type:Et.CacheParser,name:"cacheBitmapFont"},test:e=>e instanceof Rbe,getCacheableAssets(e,t){const r={};return e.forEach(n=>{r[n]=t,r[`${n}-bitmap`]=t}),r[`${t.fontFamily}-bitmap`]=t,r}},Mht={extension:{type:Et.LoadParser,priority:Gd.Normal},name:"loadBitmapFont",id:"bitmap-font",test(e){return Iht.includes(Qa.extname(e).toLowerCase())},async testParse(e){return e9.test(e)||Pee.test(e)},async parse(e,t,r){const n=e9.test(e)?e9.parse(e):Pee.parse(e),{src:i}=t,{pages:a}=n,s=[],o=n.distanceField?{scaleMode:"linear",alphaMode:"premultiply-alpha-on-upload",autoGenerateMipmaps:!1,resolution:1}:{};for(let d=0;d<a.length;++d){const h=a[d].file;let p=Qa.join(Qa.dirname(i),h);p=cM(p,i),s.push({src:p,data:o})}const l=await r.load(s),c=s.map(d=>l[d.src]);return new Rbe({data:n,textures:c},i)},async load(e,t){return await(await C0.get().fetch(e)).text()},async unload(e,t,r){await Promise.all(e.pages.map(n=>r.unload(n.texture.source._sourceOrigin))),e.destroy()}};class kht{constructor(t,r=!1){this._loader=t,this._assetList=[],this._isLoading=!1,this._maxConcurrent=1,this.verbose=r}add(t){t.forEach(r=>{this._assetList.push(r)}),this.verbose&&console.log("[BackgroundLoader] assets: ",this._assetList),this._isActive&&!this._isLoading&&this._next()}async _next(){if(this._assetList.length&&this._isActive){this._isLoading=!0;const t=[],r=Math.min(this._assetList.length,this._maxConcurrent);for(let n=0;n<r;n++)t.push(this._assetList.pop());await this._loader.load(t),this._isLoading=!1,this._next()}}get active(){return this._isActive}set active(t){this._isActive!==t&&(this._isActive=t,t&&!this._isLoading&&this._next())}}const Dht={extension:{type:Et.CacheParser,name:"cacheTextureArray"},test:e=>Array.isArray(e)&&e.every(t=>t instanceof cr),getCacheableAssets:(e,t)=>{const r={};return e.forEach(n=>{t.forEach((i,a)=>{r[n+(a===0?"":a+1)]=i})}),r}};async function Ibe(e){if("Image"in globalThis)return new Promise(t=>{const r=new Image;r.onload=()=>{t(!0)},r.onerror=()=>{t(!1)},r.src=e});if("createImageBitmap"in globalThis&&"fetch"in globalThis){try{const t=await(await fetch(e)).blob();await createImageBitmap(t)}catch(t){return!1}return!0}return!1}const Lht={extension:{type:Et.DetectionParser,priority:1},test:async()=>Ibe("data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAAB0AAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAIAAAACAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQ0MAAAAABNjb2xybmNseAACAAIAAYAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAACVtZGF0EgAKCBgANogQEAwgMg8f8D///8WfhwB8+ErK42A="),add:async e=>[...e,"avif"],remove:async e=>e.filter(t=>t!=="avif")},jee=["png","jpg","jpeg"],Fht={extension:{type:Et.DetectionParser,priority:-1},test:()=>Promise.resolve(!0),add:async e=>[...e,...jee],remove:async e=>e.filter(t=>!jee.includes(t))},$ht="WorkerGlobalScope"in globalThis&&globalThis instanceof globalThis.WorkerGlobalScope;function Q6(e){return $ht?!1:document.createElement("video").canPlayType(e)!==""}const Bht={extension:{type:Et.DetectionParser,priority:0},test:async()=>Q6("video/mp4"),add:async e=>[...e,"mp4","m4v"],remove:async e=>e.filter(t=>t!=="mp4"&&t!=="m4v")},Nht={extension:{type:Et.DetectionParser,priority:0},test:async()=>Q6("video/ogg"),add:async e=>[...e,"ogv"],remove:async e=>e.filter(t=>t!=="ogv")},qht={extension:{type:Et.DetectionParser,priority:0},test:async()=>Q6("video/webm"),add:async e=>[...e,"webm"],remove:async e=>e.filter(t=>t!=="webm")},zht={extension:{type:Et.DetectionParser,priority:0},test:async()=>Ibe("data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA="),add:async e=>[...e,"webp"],remove:async e=>e.filter(t=>t!=="webp")};class Wht{constructor(){this._parsers=[],this._parsersValidated=!1,this.parsers=new Proxy(this._parsers,{set:(t,r,n)=>(this._parsersValidated=!1,t[r]=n,!0)}),this.promiseCache={}}reset(){this._parsersValidated=!1,this.promiseCache={}}_getLoadPromiseAndParser(t,r){const n={promise:null,parser:null};return n.promise=(async()=>{var s,o;let i=null,a=null;if((r.parser||r.loadParser)&&(a=this._parserHash[r.parser||r.loadParser],r.loadParser&&A0(`[Assets] "loadParser" is deprecated, use "parser" instead for ${t}`),a||A0(`[Assets] specified load parser "${r.parser||r.loadParser}" not found while loading ${t}`)),!a){for(let l=0;l<this.parsers.length;l++){const c=this.parsers[l];if(c.load&&((s=c.test)!=null&&s.call(c,t,r,this))){a=c;break}}if(!a)return A0(`[Assets] ${t} could not be loaded as we don't know how to parse it, ensure the correct parser has been added`),null}i=await a.load(t,r,this),n.parser=a;for(let l=0;l<this.parsers.length;l++){const c=this.parsers[l];c.parse&&c.parse&&await((o=c.testParse)==null?void 0:o.call(c,i,r,this))&&(i=await c.parse(i,r,this)||i,n.parser=c)}return i})(),n}async load(t,r){this._parsersValidated||this._validateParsers();let n=0;const i={},a=ZS(t),s=oo(t,c=>({alias:[c],src:c,data:{}})),o=s.length,l=s.map(async c=>{const u=Qa.toAbsolute(c.src);if(!i[c.src])try{this.promiseCache[u]||(this.promiseCache[u]=this._getLoadPromiseAndParser(u,c)),i[c.src]=await this.promiseCache[u].promise,r&&r(++n/o)}catch(d){throw delete this.promiseCache[u],delete i[c.src],new Error(`[Loader.load] Failed to load ${u}.
${d}`)}});return await Promise.all(l),a?i[s[0].src]:i}async unload(t){const n=oo(t,i=>({alias:[i],src:i})).map(async i=>{var o,l;const a=Qa.toAbsolute(i.src),s=this.promiseCache[a];if(s){const c=await s.promise;delete this.promiseCache[a],await((l=(o=s.parser)==null?void 0:o.unload)==null?void 0:l.call(o,c,i,this))}});await Promise.all(n)}_validateParsers(){this._parsersValidated=!0,this._parserHash=this._parsers.filter(t=>t.name||t.id).reduce((t,r)=>(!r.name&&!r.id?A0("[Assets] parser should have an id"):(t[r.name]||t[r.id])&&A0(`[Assets] parser id conflict "${r.id}"`),t[r.name]=r,r.id&&(t[r.id]=r),t),{})}}function C1(e,t){if(Array.isArray(t)){for(const r of t)if(e.startsWith(`data:${r}`))return!0;return!1}return e.startsWith(`data:${t}`)}function E1(e,t){const r=e.split("?")[0],n=Qa.extname(r).toLowerCase();return Array.isArray(t)?t.includes(n):n===t}const Hht=".json",Uht="application/json",Ght={extension:{type:Et.LoadParser,priority:Gd.Low},name:"loadJson",id:"json",test(e){return C1(e,Uht)||E1(e,Hht)},async load(e){return await(await C0.get().fetch(e)).json()}},Vht=".txt",Yht="text/plain",Kht={name:"loadTxt",id:"text",extension:{type:Et.LoadParser,priority:Gd.Low,name:"loadTxt"},test(e){return C1(e,Yht)||E1(e,Vht)},async load(e){return await(await C0.get().fetch(e)).text()}},Xht=["normal","bold","100","200","300","400","500","600","700","800","900"],Qht=[".ttf",".otf",".woff",".woff2"],Jht=["font/ttf","font/otf","font/woff","font/woff2"],Zht=/^(--|-?[A-Z_])[0-9A-Z_-]*$/i;function eft(e){const t=Qa.extname(e),i=Qa.basename(e,t).replace(/(-|_)/g," ").toLowerCase().split(" ").map(o=>o.charAt(0).toUpperCase()+o.slice(1));let a=i.length>0;for(const o of i)if(!o.match(Zht)){a=!1;break}let s=i.join(" ");return a||(s=`"${s.replace(/[\\"]/g,"\\$&")}"`),s}const tft=/^[0-9A-Za-z%:/?#\[\]@!\$&'()\*\+,;=\-._~]*$/;function rft(e){return tft.test(e)?e:encodeURI(e)}const nft={extension:{type:Et.LoadParser,priority:Gd.Low},name:"loadWebFont",id:"web-font",test(e){return C1(e,Jht)||E1(e,Qht)},async load(e,t){var n,i,a,s,o,l;const r=C0.get().getFontFaceSet();if(r){const c=[],u=(i=(n=t.data)==null?void 0:n.family)!=null?i:eft(e),d=(o=(s=(a=t.data)==null?void 0:a.weights)==null?void 0:s.filter(p=>Xht.includes(p)))!=null?o:["normal"],h=(l=t.data)!=null?l:{};for(let p=0;p<d.length;p++){const m=d[p],g=new FontFace(u,`url(${rft(e)})`,{...h,weight:m});await g.load(),r.add(g),c.push(g)}return x0.has(`${u}-and-url`)?x0.get(`${u}-and-url`).entries.push({url:e,faces:c}):x0.set(`${u}-and-url`,{entries:[{url:e,faces:c}]}),c.length===1?c[0]:c}return A0("[loadWebFont] FontFace API is not supported. Skipping loading font"),null},unload(e){const t=Array.isArray(e)?e:[e],r=t[0].family,n=x0.get(`${r}-and-url`),i=n.entries.find(a=>a.faces.some(s=>t.indexOf(s)!==-1));i.faces=i.faces.filter(a=>t.indexOf(a)===-1),i.faces.length===0&&(n.entries=n.entries.filter(a=>a!==i)),t.forEach(a=>{C0.get().getFontFaceSet().delete(a)}),n.entries.length===0&&x0.remove(`${r}-and-url`)}};function NN(e,t=1){var n;const r=(n=A1.RETINA_PREFIX)==null?void 0:n.exec(e);return r?parseFloat(r[1]):t}function qN(e,t,r){e.label=r,e._sourceOrigin=r;const n=new cr({source:e,label:r}),i=()=>{delete t.promiseCache[r],x0.has(r)&&x0.remove(r)};return n.source.once("destroy",()=>{t.promiseCache[r]&&(A0("[Assets] A TextureSource managed by Assets was destroyed instead of unloaded! Use Assets.unload() instead of destroying the TextureSource."),i())}),n.once("destroy",()=>{e.destroyed||(A0("[Assets] A Texture managed by Assets was destroyed instead of unloaded! Use Assets.unload() instead of destroying the Texture."),i())}),n}const ift=".svg",aft="image/svg+xml",sft={extension:{type:Et.LoadParser,priority:Gd.Low,name:"loadSVG"},name:"loadSVG",id:"svg",config:{crossOrigin:"anonymous",parseAsGraphicsContext:!1},test(e){return C1(e,aft)||E1(e,ift)},async load(e,t,r){var n,i;return((i=(n=t.data)==null?void 0:n.parseAsGraphicsContext)!=null?i:this.config.parseAsGraphicsContext)?lft(e):oft(e,t,r,this.config.crossOrigin)},unload(e){e.destroy(!0)}};async function oft(e,t,r,n){var b,y,v,S,x,w;const i=await C0.get().fetch(e),a=C0.get().createImage();a.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(await i.text())}`,a.crossOrigin=n,await a.decode();const s=(y=(b=t.data)==null?void 0:b.width)!=null?y:a.width,o=(S=(v=t.data)==null?void 0:v.height)!=null?S:a.height,l=((x=t.data)==null?void 0:x.resolution)||NN(e),c=Math.ceil(s*l),u=Math.ceil(o*l),d=C0.get().createCanvas(c,u),h=d.getContext("2d");h.imageSmoothingEnabled=!0,h.imageSmoothingQuality="high",h.drawImage(a,0,0,s*l,o*l);const{parseAsGraphicsContext:p,...m}=(w=t.data)!=null?w:{},g=new wh({resource:d,alphaMode:"premultiply-alpha-on-upload",resolution:l,...m});return qN(g,r,e)}async function lft(e){const r=await(await C0.get().fetch(e)).text(),n=new bs;return n.svg(r),n}const cft=`(function () {
'use strict';
const WHITE_PNG = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO+ip1sAAAAASUVORK5CYII=";
async function checkImageBitmap() {
try {
if (typeof createImageBitmap !== "function")
return false;
const response = await fetch(WHITE_PNG);
const imageBlob = await response.blob();
const imageBitmap = await createImageBitmap(imageBlob);
return imageBitmap.width === 1 && imageBitmap.height === 1;
} catch (_e) {
return false;
}
}
void checkImageBitmap().then((result) => {
self.postMessage(result);
});
})();
`;let km=null,xM=class{constructor(){km||(km=URL.createObjectURL(new Blob([cft],{type:"application/javascript"}))),this.worker=new Worker(km)}};xM.revokeObjectURL=function(){km&&(URL.revokeObjectURL(km),km=null)};const uft=`(function () {
'use strict';
async function loadImageBitmap(url, alphaMode) {
const response = await fetch(url);
if (!response.ok) {
throw new Error(\`[WorkerManager.loadImageBitmap] Failed to fetch \${url}: \${response.status} \${response.statusText}\`);
}
const imageBlob = await response.blob();
return alphaMode === "premultiplied-alpha" ? createImageBitmap(imageBlob, { premultiplyAlpha: "none" }) : createImageBitmap(imageBlob);
}
self.onmessage = async (event) => {
try {
const imageBitmap = await loadImageBitmap(event.data.data[0], event.data.data[1]);
self.postMessage({
data: imageBitmap,
uuid: event.data.uuid,
id: event.data.id
}, [imageBitmap]);
} catch (e) {
self.postMessage({
error: e,
uuid: event.data.uuid,
id: event.data.id
});
}
};
})();
`;let Dm=null;class Obe{constructor(){Dm||(Dm=URL.createObjectURL(new Blob([uft],{type:"application/javascript"}))),this.worker=new Worker(Dm)}}Obe.revokeObjectURL=function(){Dm&&(URL.revokeObjectURL(Dm),Dm=null)};let Ree=0,t9;class dft{constructor(){this._initialized=!1,this._createdWorkers=0,this._workerPool=[],this._queue=[],this._resolveHash={}}isImageBitmapSupported(){return this._isImageBitmapSupported!==void 0?this._isImageBitmapSupported:(this._isImageBitmapSupported=new Promise(t=>{const{worker:r}=new xM;r.addEventListener("message",n=>{r.terminate(),xM.revokeObjectURL(),t(n.data)})}),this._isImageBitmapSupported)}loadImageBitmap(t,r){var n;return this._run("loadImageBitmap",[t,(n=r==null?void 0:r.data)==null?void 0:n.alphaMode])}async _initWorkers(){this._initialized||(this._initialized=!0)}_getWorker(){t9===void 0&&(t9=navigator.hardwareConcurrency||4);let t=this._workerPool.pop();return!t&&this._createdWorkers<t9&&(this._createdWorkers++,t=new Obe().worker,t.addEventListener("message",r=>{this._complete(r.data),this._returnWorker(r.target),this._next()})),t}_returnWorker(t){this._workerPool.push(t)}_complete(t){t.error!==void 0?this._resolveHash[t.uuid].reject(t.error):this._resolveHash[t.uuid].resolve(t.data),this._resolveHash[t.uuid]=null}async _run(t,r){await this._initWorkers();const n=new Promise((i,a)=>{this._queue.push({id:t,arguments:r,resolve:i,reject:a})});return this._next(),n}_next(){if(!this._queue.length)return;const t=this._getWorker();if(!t)return;const r=this._queue.pop(),n=r.id;this._resolveHash[Ree]={resolve:r.resolve,reject:r.reject},t.postMessage({data:r.arguments,uuid:Ree++,id:n})}reset(){this._workerPool.forEach(t=>t.terminate()),this._workerPool.length=0,Object.values(this._resolveHash).forEach(({reject:t})=>{t==null||t(new Error("WorkerManager destroyed"))}),this._resolveHash={},this._queue.length=0,this._initialized=!1,this._createdWorkers=0}}const Iee=new dft,pft=[".jpeg",".jpg",".png",".webp",".avif"],hft=["image/jpeg","image/png","image/webp","image/avif"];async function fft(e,t){var i;const r=await C0.get().fetch(e);if(!r.ok)throw new Error(`[loadImageBitmap] Failed to fetch ${e}: ${r.status} ${r.statusText}`);const n=await r.blob();return((i=t==null?void 0:t.data)==null?void 0:i.alphaMode)==="premultiplied-alpha"?createImageBitmap(n,{premultiplyAlpha:"none"}):createImageBitmap(n)}const Mbe={name:"loadTextures",id:"texture",extension:{type:Et.LoadParser,priority:Gd.High,name:"loadTextures"},config:{preferWorkers:!0,preferCreateImageBitmap:!0,crossOrigin:"anonymous"},test(e){return C1(e,hft)||E1(e,pft)},async load(e,t,r){var a;let n=null;globalThis.createImageBitmap&&this.config.preferCreateImageBitmap?this.config.preferWorkers&&await Iee.isImageBitmapSupported()?n=await Iee.loadImageBitmap(e,t):n=await fft(e,t):n=await new Promise((s,o)=>{n=C0.get().createImage(),n.crossOrigin=this.config.crossOrigin,n.src=e,n.complete?s(n):(n.onload=()=>{s(n)},n.onerror=o)});const i=new wh({resource:n,alphaMode:"premultiply-alpha-on-upload",resolution:((a=t.data)==null?void 0:a.resolution)||NN(e),...t.data});return qN(i,r,e)},unload(e){e.destroy(!0)}},mft=[".mp4",".m4v",".webm",".ogg",".ogv",".h264",".avi",".mov"];let r9,n9;function gft(e,t,r){r===void 0&&!t.startsWith("data:")?e.crossOrigin=yft(t):r!==!1&&(e.crossOrigin=typeof r=="string"?r:"anonymous")}function bft(e){return new Promise((t,r)=>{e.addEventListener("canplaythrough",n),e.addEventListener("error",i),e.load();function n(){a(),t()}function i(s){a(),r(s)}function a(){e.removeEventListener("canplaythrough",n),e.removeEventListener("error",i)}})}function yft(e,t=globalThis.location){if(e.startsWith("data:"))return"";t||(t=globalThis.location);const r=new URL(e,document.baseURI);return r.hostname!==t.hostname||r.port!==t.port||r.protocol!==t.protocol?"anonymous":""}function vft(){const e=[],t=[];for(const r of mft){const n=zy.MIME_TYPES[r.substring(1)]||`video/${r.substring(1)}`;Q6(n)&&(e.push(r),t.includes(n)||t.push(n))}return{validVideoExtensions:e,validVideoMime:t}}const Tft={name:"loadVideo",id:"video",extension:{type:Et.LoadParser,name:"loadVideo"},test(e){if(!r9||!n9){const{validVideoExtensions:n,validVideoMime:i}=vft();r9=n,n9=i}const t=C1(e,n9),r=E1(e,r9);return t||r},async load(e,t,r){var l,c;const n={...zy.defaultOptions,resolution:((l=t.data)==null?void 0:l.resolution)||NN(e),alphaMode:((c=t.data)==null?void 0:c.alphaMode)||await F1e(),...t.data},i=document.createElement("video"),a={preload:n.autoLoad!==!1?"auto":void 0,"webkit-playsinline":n.playsinline!==!1?"":void 0,playsinline:n.playsinline!==!1?"":void 0,muted:n.muted===!0?"":void 0,loop:n.loop===!0?"":void 0,autoplay:n.autoPlay!==!1?"":void 0};Object.keys(a).forEach(u=>{const d=a[u];d!==void 0&&i.setAttribute(u,d)}),n.muted===!0&&(i.muted=!0),gft(i,e,n.crossorigin);const s=document.createElement("source");let o;if(n.mime)o=n.mime;else if(e.startsWith("data:"))o=e.slice(5,e.indexOf(";"));else if(!e.startsWith("blob:")){const u=e.split("?")[0].slice(e.lastIndexOf(".")+1).toLowerCase();o=zy.MIME_TYPES[u]||`video/${u}`}return s.src=e,o&&(s.type=o),new Promise(u=>{const d=async()=>{const h=new zy({...n,resource:i});i.removeEventListener("canplay",d),t.data.preload&&await bft(i),u(qN(h,r,e))};n.preload&&!n.autoPlay&&i.load(),i.addEventListener("canplay",d),i.appendChild(s)})},unload(e){e.destroy(!0)}},kbe={extension:{type:Et.ResolveParser,name:"resolveTexture"},test:Mbe.test,parse:e=>{var t,r;return{resolution:parseFloat((r=(t=A1.RETINA_PREFIX.exec(e))==null?void 0:t[1])!=null?r:"1"),format:e.split(".").pop(),src:e}}},Sft={extension:{type:Et.ResolveParser,priority:-2,name:"resolveJson"},test:e=>A1.RETINA_PREFIX.test(e)&&e.endsWith(".json"),parse:kbe.parse};class xft{constructor(){this._detections=[],this._initialized=!1,this.resolver=new A1,this.loader=new Wht,this.cache=x0,this._backgroundLoader=new kht(this.loader),this._backgroundLoader.active=!0,this.reset()}async init(t={}){var a,s,o;if(this._initialized){A0("[Assets]AssetManager already initialized, did you load before calling this Assets.init()?");return}if(this._initialized=!0,t.defaultSearchParams&&this.resolver.setDefaultSearchParams(t.defaultSearchParams),t.basePath&&(this.resolver.basePath=t.basePath),t.bundleIdentifier&&this.resolver.setBundleIdentifier(t.bundleIdentifier),t.manifest){let l=t.manifest;typeof l=="string"&&(l=await this.load(l)),this.resolver.addManifest(l)}const r=(s=(a=t.texturePreference)==null?void 0:a.resolution)!=null?s:1,n=typeof r=="number"?[r]:r,i=await this._detectFormats({preferredFormats:(o=t.texturePreference)==null?void 0:o.format,skipDetections:t.skipDetections,detections:this._detections});this.resolver.prefer({params:{format:i,resolution:n}}),t.preferences&&this.setPreferences(t.preferences)}add(t){this.resolver.add(t)}async load(t,r){this._initialized||await this.init();const n=ZS(t),i=oo(t).map(o=>{if(typeof o!="string"){const l=this.resolver.getAlias(o);return l.some(c=>!this.resolver.hasKey(c))&&this.add(o),Array.isArray(l)?l[0]:l}return this.resolver.hasKey(o)||this.add({alias:o,src:o}),o}),a=this.resolver.resolve(i),s=await this._mapLoadToResolve(a,r);return n?s[i[0]]:s}addBundle(t,r){this.resolver.addBundle(t,r)}async loadBundle(t,r){this._initialized||await this.init();let n=!1;typeof t=="string"&&(n=!0,t=[t]);const i=this.resolver.resolveBundle(t),a={},s=Object.keys(i);let o=0,l=0;const c=()=>{r==null||r(++o/l)},u=s.map(d=>{const h=i[d],p=Object.values(h),m=[...new Set(p.flat())];return l+=m.length,this._mapLoadToResolve(h,c).then(g=>{a[d]=g})});return await Promise.all(u),n?a[t[0]]:a}async backgroundLoad(t){this._initialized||await this.init(),typeof t=="string"&&(t=[t]);const r=this.resolver.resolve(t);this._backgroundLoader.add(Object.values(r))}async backgroundLoadBundle(t){this._initialized||await this.init(),typeof t=="string"&&(t=[t]);const r=this.resolver.resolveBundle(t);Object.values(r).forEach(n=>{this._backgroundLoader.add(Object.values(n))})}reset(){this.resolver.reset(),this.loader.reset(),this.cache.reset(),this._initialized=!1}get(t){if(typeof t=="string")return x0.get(t);const r={};for(let n=0;n<t.length;n++)r[n]=x0.get(t[n]);return r}async _mapLoadToResolve(t,r){const n=[...new Set(Object.values(t))];this._backgroundLoader.active=!1;const i=await this.loader.load(n,r);this._backgroundLoader.active=!0;const a={};return n.forEach(s=>{const o=i[s.src],l=[s.src];s.alias&&l.push(...s.alias),l.forEach(c=>{a[c]=o}),x0.set(l,o)}),a}async unload(t){this._initialized||await this.init();const r=oo(t).map(i=>typeof i!="string"?i.src:i),n=this.resolver.resolve(r);await this._unloadFromResolved(n)}async unloadBundle(t){this._initialized||await this.init(),t=oo(t);const r=this.resolver.resolveBundle(t),n=Object.keys(r).map(i=>this._unloadFromResolved(r[i]));await Promise.all(n)}async _unloadFromResolved(t){const r=Object.values(t);r.forEach(n=>{x0.remove(n.src)}),await this.loader.unload(r)}async _detectFormats(t){let r=[];t.preferredFormats&&(r=Array.isArray(t.preferredFormats)?t.preferredFormats:[t.preferredFormats]);for(const n of t.detections)t.skipDetections||await n.test()?r=await n.add(r):t.skipDetections||(r=await n.remove(r));return r=r.filter((n,i)=>r.indexOf(n)===i),r}get detections(){return this._detections}setPreferences(t){this.loader.parsers.forEach(r=>{r.config&&Object.keys(r.config).filter(n=>n in t).forEach(n=>{r.config[n]=t[n]})})}}const Ua=new xft;pi.handleByList(Et.LoadParser,Ua.loader.parsers).handleByList(Et.ResolveParser,Ua.resolver.parsers).handleByList(Et.CacheParser,Ua.cache.parsers).handleByList(Et.DetectionParser,Ua.detections);pi.add(Dht,Fht,Lht,zht,Bht,Nht,qht,Ght,Kht,nft,sft,Mbe,Tft,Mht,Oht,kbe,Sft);const Oee={loader:Et.LoadParser,resolver:Et.ResolveParser,cache:Et.CacheParser,detection:Et.DetectionParser};pi.handle(Et.Asset,e=>{const t=e.ref;Object.entries(Oee).filter(([r])=>!!t[r]).forEach(([r,n])=>{var i;return pi.add(Object.assign(t[r],{extension:(i=t[r].extension)!=null?i:n}))})},e=>{const t=e.ref;Object.keys(Oee).filter(r=>!!t[r]).forEach(r=>pi.remove(t[r]))});class nx extends P1e{constructor(t){t instanceof bs&&(t={context:t});const{context:r,roundPixels:n,...i}=t||{};super({label:"Graphics",...i}),this.renderPipeId="graphics",r?this._context=r:this._context=this._ownedContext=new bs,this._context.on("update",this.onViewUpdate,this),this.didViewUpdate=!0,this.allowChildren=!1,this.roundPixels=n!=null?n:!1}set context(t){t!==this._context&&(this._context.off("update",this.onViewUpdate,this),this._context=t,this._context.on("update",this.onViewUpdate,this),this.onViewUpdate())}get context(){return this._context}get bounds(){return this._context.bounds}updateBounds(){}containsPoint(t){return this._context.containsPoint(t)}destroy(t){this._ownedContext&&!t?this._ownedContext.destroy(t):(t===!0||(t==null?void 0:t.context)===!0)&&this._context.destroy(t),this._ownedContext=null,this._context=null,super.destroy(t)}_callContextMethod(t,r){return this.context[t](...r),this}setFillStyle(...t){return this._callContextMethod("setFillStyle",t)}setStrokeStyle(...t){return this._callContextMethod("setStrokeStyle",t)}fill(...t){return this._callContextMethod("fill",t)}stroke(...t){return this._callContextMethod("stroke",t)}texture(...t){return this._callContextMethod("texture",t)}beginPath(){return this._callContextMethod("beginPath",[])}cut(){return this._callContextMethod("cut",[])}arc(...t){return this._callContextMethod("arc",t)}arcTo(...t){return this._callContextMethod("arcTo",t)}arcToSvg(...t){return this._callContextMethod("arcToSvg",t)}bezierCurveTo(...t){return this._callContextMethod("bezierCurveTo",t)}closePath(){return this._callContextMethod("closePath",[])}ellipse(...t){return this._callContextMethod("ellipse",t)}circle(...t){return this._callContextMethod("circle",t)}path(...t){return this._callContextMethod("path",t)}lineTo(...t){return this._callContextMethod("lineTo",t)}moveTo(...t){return this._callContextMethod("moveTo",t)}quadraticCurveTo(...t){return this._callContextMethod("quadraticCurveTo",t)}rect(...t){return this._callContextMethod("rect",t)}roundRect(...t){return this._callContextMethod("roundRect",t)}poly(...t){return this._callContextMethod("poly",t)}regularPoly(...t){return this._callContextMethod("regularPoly",t)}roundPoly(...t){return this._callContextMethod("roundPoly",t)}roundShape(...t){return this._callContextMethod("roundShape",t)}filletRect(...t){return this._callContextMethod("filletRect",t)}chamferRect(...t){return this._callContextMethod("chamferRect",t)}star(...t){return this._callContextMethod("star",t)}svg(...t){return this._callContextMethod("svg",t)}restore(...t){return this._callContextMethod("restore",t)}save(){return this._callContextMethod("save",[])}getTransform(){return this.context.getTransform()}resetTransform(){return this._callContextMethod("resetTransform",[])}rotateTransform(...t){return this._callContextMethod("rotate",t)}scaleTransform(...t){return this._callContextMethod("scale",t)}setTransform(...t){return this._callContextMethod("setTransform",t)}transform(...t){return this._callContextMethod("transform",t)}translateTransform(...t){return this._callContextMethod("translate",t)}clear(){return this._callContextMethod("clear",[])}get fillStyle(){return this._context.fillStyle}set fillStyle(t){this._context.fillStyle=t}get strokeStyle(){return this._context.strokeStyle}set strokeStyle(t){this._context.strokeStyle=t}clone(t=!1){return t?new nx(this._context.clone()):(this._ownedContext=null,new nx(this._context))}lineStyle(t,r,n){mr(r0,"Graphics#lineStyle is no longer needed. Use Graphics#setStrokeStyle to set the stroke style.");const i={};return t&&(i.width=t),r&&(i.color=r),n&&(i.alpha=n),this.context.strokeStyle=i,this}beginFill(t,r){mr(r0,"Graphics#beginFill is no longer needed. Use Graphics#fill to fill the shape with the desired style.");const n={};return t!==void 0&&(n.color=t),r!==void 0&&(n.alpha=r),this.context.fillStyle=n,this}endFill(){mr(r0,"Graphics#endFill is no longer needed. Use Graphics#fill to fill the shape with the desired style."),this.context.fill();const t=this.context.strokeStyle;return(t.width!==bs.defaultStrokeStyle.width||t.color!==bs.defaultStrokeStyle.color||t.alpha!==bs.defaultStrokeStyle.alpha)&&this.context.stroke(),this}drawCircle(...t){return mr(r0,"Graphics#drawCircle has been renamed to Graphics#circle"),this._callContextMethod("circle",t)}drawEllipse(...t){return mr(r0,"Graphics#drawEllipse has been renamed to Graphics#ellipse"),this._callContextMethod("ellipse",t)}drawPolygon(...t){return mr(r0,"Graphics#drawPolygon has been renamed to Graphics#poly"),this._callContextMethod("poly",t)}drawRect(...t){return mr(r0,"Graphics#drawRect has been renamed to Graphics#rect"),this._callContextMethod("rect",t)}drawRoundedRect(...t){return mr(r0,"Graphics#drawRoundedRect has been renamed to Graphics#roundRect"),this._callContextMethod("roundRect",t)}drawStar(...t){return mr(r0,"Graphics#drawStar has been renamed to Graphics#star"),this._callContextMethod("star",t)}}class ix extends sM{constructor(...t){let r=t[0];Array.isArray(t[0])&&(r={textures:t[0],autoUpdate:t[1]});const{animationSpeed:n=1,autoPlay:i=!1,autoUpdate:a=!0,loop:s=!0,onComplete:o=null,onFrameChange:l=null,onLoop:c=null,textures:u,updateAnchor:d=!1,...h}=r,[p]=u;super({...h,texture:p instanceof cr?p:p.texture}),this._textures=null,this._durations=null,this._autoUpdate=a,this._isConnectedToTicker=!1,this.animationSpeed=n,this.loop=s,this.updateAnchor=d,this.onComplete=o,this.onFrameChange=l,this.onLoop=c,this._currentTime=0,this._playing=!1,this._previousFrame=null,this.textures=u,i&&this.play()}stop(){this._playing&&(this._playing=!1,this._autoUpdate&&this._isConnectedToTicker&&(td.shared.remove(this.update,this),this._isConnectedToTicker=!1))}play(){this._playing||(this._playing=!0,this._autoUpdate&&!this._isConnectedToTicker&&(td.shared.add(this.update,this,JS.HIGH),this._isConnectedToTicker=!0))}gotoAndStop(t){this.stop(),this.currentFrame=t}gotoAndPlay(t){this.currentFrame=t,this.play()}update(t){if(!this._playing)return;const r=t.deltaTime,n=this.animationSpeed*r,i=this.currentFrame;if(this._durations!==null){let a=this._currentTime%1*this._durations[this.currentFrame];for(a+=n/60*1e3;a<0;)this._currentTime--,a+=this._durations[this.currentFrame];const s=Math.sign(this.animationSpeed*r);for(this._currentTime=Math.floor(this._currentTime);a>=this._durations[this.currentFrame];)a-=this._durations[this.currentFrame]*s,this._currentTime+=s;this._currentTime+=a/this._durations[this.currentFrame]}else this._currentTime+=n;this._currentTime<0&&!this.loop?(this.gotoAndStop(0),this.onComplete&&this.onComplete()):this._currentTime>=this._textures.length&&!this.loop?(this.gotoAndStop(this._textures.length-1),this.onComplete&&this.onComplete()):i!==this.currentFrame&&(this.loop&&this.onLoop&&(this.animationSpeed>0&&this.currentFrame<i||this.animationSpeed<0&&this.currentFrame>i)&&this.onLoop(),this._updateTexture())}_updateTexture(){const t=this.currentFrame;this._previousFrame!==t&&(this._previousFrame=t,this.texture=this._textures[t],this.updateAnchor&&this.texture.defaultAnchor&&this.anchor.copyFrom(this.texture.defaultAnchor),this.onFrameChange&&this.onFrameChange(this.currentFrame))}destroy(t=!1){if(typeof t=="boolean"?t:t==null?void 0:t.texture){const n=typeof t=="boolean"?t:t==null?void 0:t.textureSource;this._textures.forEach(i=>{this.texture!==i&&i.destroy(n)})}this._textures=[],this._durations=null,this.stop(),super.destroy(t),this.onComplete=null,this.onFrameChange=null,this.onLoop=null}static fromFrames(t){const r=[];for(let n=0;n<t.length;++n)r.push(cr.from(t[n]));return new ix(r)}static fromImages(t){const r=[];for(let n=0;n<t.length;++n)r.push(cr.from(t[n]));return new ix(r)}get totalFrames(){return this._textures.length}get textures(){return this._textures}set textures(t){if(t[0]instanceof cr)this._textures=t,this._durations=null;else{this._textures=[],this._durations=[];for(let r=0;r<t.length;r++)this._textures.push(t[r].texture),this._durations.push(t[r].time)}this._previousFrame=null,this.gotoAndStop(0),this._updateTexture()}get currentFrame(){let t=Math.floor(this._currentTime)%this._textures.length;return t<0&&(t+=this._textures.length),t}set currentFrame(t){if(t<0||t>this.totalFrames-1)throw new Error(`[AnimatedSprite]: Invalid frame index value ${t}, expected to be between 0 and totalFrames ${this.totalFrames}.`);const r=this.currentFrame;this._currentTime=t,r!==this.currentFrame&&this._updateTexture()}get playing(){return this._playing}get autoUpdate(){return this._autoUpdate}set autoUpdate(t){t!==this._autoUpdate&&(this._autoUpdate=t,!this._autoUpdate&&this._isConnectedToTicker?(td.shared.remove(this.update,this),this._isConnectedToTicker=!1):this._autoUpdate&&!this._isConnectedToTicker&&this._playing&&(td.shared.add(this.update,this),this._isConnectedToTicker=!0))}}pi.add(kct,Dct);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};class wft{constructor(t){ht(this,"id","rive-image");this.lowLevelRive=t}test(t,r){var i;return((i=r==null?void 0:r.data)==null?void 0:i.rive)===!0}async load(t){const r=await gLe(t);return new Promise((n,i)=>{this.lowLevelRive.decodeImage(new Uint8Array(r),a=>{a?n(a):i(new Error(`[RiveImageAssetLoaderParser] Failed to decode image for ${t}`))})})}unload(t){t.unref()}}var ic;function _ft(e){var t,r,n;return{lang:(t=e==null?void 0:e.lang)!=null?t:ic==null?void 0:ic.lang,message:e==null?void 0:e.message,abortEarly:(r=e==null?void 0:e.abortEarly)!=null?r:ic==null?void 0:ic.abortEarly,abortPipeEarly:(n=e==null?void 0:e.abortPipeEarly)!=null?n:ic==null?void 0:ic.abortPipeEarly}}var i9;function Aft(e){return i9==null?void 0:i9.get(e)}var a9;function Cft(e){return a9==null?void 0:a9.get(e)}var s9;function Eft(e,t){var r;return(r=s9==null?void 0:s9.get(e))==null?void 0:r.get(t)}function i7(e){var r,n,i;const t=typeof e;return t==="string"?`"${e}"`:t==="number"||t==="bigint"||t==="boolean"?`${e}`:t==="object"||t==="function"?(i=e&&((n=(r=Object.getPrototypeOf(e))==null?void 0:r.constructor)==null?void 0:n.name))!=null?i:"null":t}function hi(e,t,r,n,i){var d,h,p,m,g,b,y,v;const a=i&&"input"in i?i.input:r.value,s=(h=(d=i==null?void 0:i.expected)!=null?d:e.expects)!=null?h:null,o=(p=i==null?void 0:i.received)!=null?p:i7(a),l={kind:e.kind,type:e.type,input:a,expected:s,received:o,message:`Invalid ${t}: ${s?`Expected ${s} but r`:"R"}eceived ${o}`,requirement:e.requirement,path:i==null?void 0:i.path,issues:i==null?void 0:i.issues,lang:n.lang,abortEarly:n.abortEarly,abortPipeEarly:n.abortPipeEarly},c=e.kind==="schema",u=(v=(y=(b=(g=(m=i==null?void 0:i.message)!=null?m:e.message)!=null?g:Eft(e.reference,l.lang))!=null?b:c?Cft(l.lang):null)!=null?y:n.message)!=null?v:Aft(l.lang);u!==void 0&&(l.message=typeof u=="function"?u(l):u),c&&(r.typed=!1),r.issues?r.issues.push(l):r.issues=[l]}function zs(e){return{version:1,vendor:"valibot",validate(t){return e["~run"]({value:t},_ft())}}}function Pft(e,t){return Object.hasOwn(e,t)&&t!=="__proto__"&&t!=="prototype"&&t!=="constructor"}function zN(e,t){var n;const r=[...new Set(e)];return r.length>1?`(${r.join(` ${t} `)})`:(n=r[0])!=null?n:"never"}function kr(e,t){return{kind:"validation",type:"min_value",reference:kr,async:!1,expects:`>=${e instanceof Date?e.toJSON():i7(e)}`,requirement:e,message:t,"~run"(r,n){return r.typed&&!(r.value>=this.requirement)&&hi(this,"value",r,n,{received:r.value instanceof Date?r.value.toJSON():i7(r.value)}),r}}}function ld(e){return{kind:"validation",type:"safe_integer",reference:ld,async:!1,expects:null,requirement:Number.isSafeInteger,message:e,"~run"(t,r){return t.typed&&!this.requirement(t.value)&&hi(this,"safe integer",t,r),t}}}function Dbe(e,t,r){return typeof e.fallback=="function"?e.fallback(t,r):e.fallback}function WN(e,t,r){return typeof e.default=="function"?e.default(t,r):e.default}function wr(e,t){return{kind:"schema",type:"array",reference:wr,expects:"Array",async:!1,item:e,message:t,get"~standard"(){return zs(this)},"~run"(r,n){var a;const i=r.value;if(Array.isArray(i)){r.typed=!0,r.value=[];for(let s=0;s<i.length;s++){const o=i[s],l=this.item["~run"]({value:o},n);if(l.issues){const c={type:"array",origin:"value",input:i,key:s,value:o};for(const u of l.issues)u.path?u.path.unshift(c):u.path=[c],(a=r.issues)==null||a.push(u);if(r.issues||(r.issues=l.issues),n.abortEarly){r.typed=!1;break}}l.typed||(r.typed=!1),r.value.push(l.value)}}else hi(this,"type",r,n);return r}}}function ut(e,t){return{kind:"schema",type:"literal",reference:ut,expects:i7(e),async:!1,literal:e,message:t,get"~standard"(){return zs(this)},"~run"(r,n){return r.value===this.literal?r.typed=!0:hi(this,"type",r,n),r}}}function Cv(e,t){return{kind:"schema",type:"nullable",reference:Cv,expects:`(${e.expects} | null)`,async:!1,wrapped:e,default:t,get"~standard"(){return zs(this)},"~run"(r,n){return r.value===null&&(this.default!==void 0&&(r.value=WN(this,r,n)),r.value===null)?(r.typed=!0,r):this.wrapped["~run"](r,n)}}}function Ht(e){return{kind:"schema",type:"number",reference:Ht,expects:"number",async:!1,message:e,get"~standard"(){return zs(this)},"~run"(t,r){return typeof t.value=="number"&&!isNaN(t.value)?t.typed=!0:hi(this,"type",t,r),t}}}function it(e,t){return{kind:"schema",type:"object",reference:it,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return zs(this)},"~run"(r,n){var a;const i=r.value;if(i&&typeof i=="object"){r.typed=!0,r.value={};for(const s in this.entries){const o=this.entries[s];if(s in i||(o.type==="exact_optional"||o.type==="optional"||o.type==="nullish")&&o.default!==void 0){const l=s in i?i[s]:WN(o),c=o["~run"]({value:l},n);if(c.issues){const u={type:"object",origin:"value",input:i,key:s,value:l};for(const d of c.issues)d.path?d.path.unshift(u):d.path=[u],(a=r.issues)==null||a.push(d);if(r.issues||(r.issues=c.issues),n.abortEarly){r.typed=!1;break}}c.typed||(r.typed=!1),r.value[s]=c.value}else if(o.fallback!==void 0)r.value[s]=Dbe(o);else if(o.type!=="exact_optional"&&o.type!=="optional"&&o.type!=="nullish"&&(hi(this,"key",r,n,{input:void 0,expected:`"${s}"`,path:[{type:"object",origin:"key",input:i,key:s,value:i[s]}]}),n.abortEarly))break}}else hi(this,"type",r,n);return r}}}function Pn(e,t){return{kind:"schema",type:"picklist",reference:Pn,expects:zN(e.map(i7),"|"),async:!1,options:e,message:t,get"~standard"(){return zs(this)},"~run"(r,n){return this.options.includes(r.value)?r.typed=!0:hi(this,"type",r,n),r}}}function es(e,t,r){return{kind:"schema",type:"record",reference:es,expects:"Object",async:!1,key:e,value:t,message:r,get"~standard"(){return zs(this)},"~run"(n,i){var s,o;const a=n.value;if(a&&typeof a=="object"){n.typed=!0,n.value={};for(const l in a)if(Pft(a,l)){const c=a[l],u=this.key["~run"]({value:l},i);if(u.issues){const h={type:"object",origin:"key",input:a,key:l,value:c};for(const p of u.issues)p.path=[h],(s=n.issues)==null||s.push(p);if(n.issues||(n.issues=u.issues),i.abortEarly){n.typed=!1;break}}const d=this.value["~run"]({value:c},i);if(d.issues){const h={type:"object",origin:"value",input:a,key:l,value:c};for(const p of d.issues)p.path?p.path.unshift(h):p.path=[h],(o=n.issues)==null||o.push(p);if(n.issues||(n.issues=d.issues),i.abortEarly){n.typed=!1;break}}(!u.typed||!d.typed)&&(n.typed=!1),u.typed&&(n.value[u.value]=d.value)}}else hi(this,"type",n,i);return n}}}function e0(e,t){return{kind:"schema",type:"strict_object",reference:e0,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return zs(this)},"~run"(r,n){var a;const i=r.value;if(i&&typeof i=="object"){r.typed=!0,r.value={};for(const s in this.entries){const o=this.entries[s];if(s in i||(o.type==="exact_optional"||o.type==="optional"||o.type==="nullish")&&o.default!==void 0){const l=s in i?i[s]:WN(o),c=o["~run"]({value:l},n);if(c.issues){const u={type:"object",origin:"value",input:i,key:s,value:l};for(const d of c.issues)d.path?d.path.unshift(u):d.path=[u],(a=r.issues)==null||a.push(d);if(r.issues||(r.issues=c.issues),n.abortEarly){r.typed=!1;break}}c.typed||(r.typed=!1),r.value[s]=c.value}else if(o.fallback!==void 0)r.value[s]=Dbe(o);else if(o.type!=="exact_optional"&&o.type!=="optional"&&o.type!=="nullish"&&(hi(this,"key",r,n,{input:void 0,expected:`"${s}"`,path:[{type:"object",origin:"key",input:i,key:s,value:i[s]}]}),n.abortEarly))break}if(!r.issues||!n.abortEarly){for(const s in i)if(!(s in this.entries)){hi(this,"key",r,n,{input:s,expected:"never",path:[{type:"object",origin:"key",input:i,key:s,value:i[s]}]});break}}}else hi(this,"type",r,n);return r}}}function Ms(e){return{kind:"schema",type:"string",reference:Ms,expects:"string",async:!1,message:e,get"~standard"(){return zs(this)},"~run"(t,r){return typeof t.value=="string"?t.typed=!0:hi(this,"type",t,r),t}}}function Mee(e){let t;if(e)for(const r of e)t?t.push(...r.issues):t=r.issues;return t}function ni(e,t){return{kind:"schema",type:"union",reference:ni,expects:zN(e.map(r=>r.expects),"|"),async:!1,options:e,message:t,get"~standard"(){return zs(this)},"~run"(r,n){let i,a,s;for(const o of this.options){const l=o["~run"]({value:r.value},n);if(l.typed)if(l.issues)a?a.push(l):a=[l];else{i=l;break}else s?s.push(l):s=[l]}if(i)return i;if(a){if(a.length===1)return a[0];hi(this,"type",r,n,{issues:Mee(a)}),r.typed=!0}else{if((s==null?void 0:s.length)===1)return s[0];hi(this,"type",r,n,{issues:Mee(s)})}return r}}}function Lbe(e,t,r){return{kind:"schema",type:"variant",reference:Lbe,expects:"Object",async:!1,key:e,options:t,message:r,get"~standard"(){return zs(this)},"~run"(n,i){const a=n.value;if(a&&typeof a=="object"){let s,o=0,l=this.key,c=[];const u=(d,h)=>{for(const p of d.options){if(p.type==="variant")u(p,new Set(h).add(p.key));else{let m=!0,g=0;for(const b of h){const y=p.entries[b];if(b in a?y["~run"]({typed:!1,value:a[b]},{abortEarly:!0}).issues:y.type!=="exact_optional"&&y.type!=="optional"&&y.type!=="nullish"){m=!1,l!==b&&(o<g||o===g&&b in a&&!(l in a))&&(o=g,l=b,c=[]),l===b&&c.push(p.entries[b].expects);break}g++}if(m){const b=p["~run"]({value:a},i);(!s||!s.typed&&b.typed)&&(s=b)}}if(s&&!s.issues)break}};if(u(this,new Set([this.key])),s)return s;hi(this,"type",n,i,{input:a[l],expected:zN(c,"|"),path:[{type:"object",origin:"value",input:a,key:l,value:a[l]}]})}else hi(this,"type",n,i);return n}}}function Br(...e){return{...e[0],pipe:e,get"~standard"(){return zs(this)},"~run"(t,r){for(const n of e)if(n.kind!=="metadata"){if(t.issues&&(n.kind==="schema"||n.kind==="transformation")){t.typed=!1;break}(!t.issues||!r.abortEarly&&!r.abortPipeEarly)&&(t=n["~run"](t,r))}return t}}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};var yn=(e=>(e.Map="map",e.Plants="plants",e.TallPlants="tallplants",e.Seeds="seeds",e.Items="items",e.Animations="animations",e.Mutations="mutations",e.MutationOverlays="mutation-overlays",e.Pets="pets",e.Decor="decor",e))(yn||{});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function jft(e,t){return{type:"tile",spritesheet:e,index:t}}function Fo(e,t){return Jc.mapValues(t,r=>jft(e,r))}const Ba=Fo(yn.Map,{Dirt1:6,Dirt2:7,Dirt3:8,Bush1:28,Bush2:38,BushHomer:48,Sky0:24,Sky1:25,Sky2:26,Sky3:27,Sky4:35,Sky5:36,Sky6:37,Sky7:45,Sky8:46,Sky9:47}),mt=Fo(yn.Plants,{Empty:0,DirtPatch:1,SproutFlower:2,SproutVegetable:3,SproutFruit:4,SproutVine:5,StemFlower:6,Trellis:7,Daffodil:11,Tulip:12,Sunflower:13,Lily:14,Starweaver:15,Chrysanthemum:16,AloePlant:17,Aloe:18,Blueberry:21,Banana:22,Strawberry:23,Mango:24,Grape:25,Watermelon:26,Lemon:27,Apple:28,Pear:29,Pineapple:30,Pepper:31,Tomato:32,BabyCarrot:33,Carrot:34,Pumpkin:35,Corn:36,FavaBean:37,Cacao:38,PalmTreeTop:39,BushyTree:40,Coconut:41,MushroomPlant:42,PassionFruit:43,DragonFruit:44,Lychee:45,Mushroom:46,BurrosTail:47,Echeveria:49,Delphinium:50,DawnCelestialCrop:51,MoonCelestialCrop:52,Camellia:57,Hedge:58,FlowerBush:59,Squash:60}),jr=Fo(yn.TallPlants,{Empty:0,Bamboo:1,PalmTree:2,DawnCelestialPlatform:3,DawnCelestialPlant:4,DawnCelestialPlantActive:5,DawnCelestialPlatformTopmostLayer:6,Cactus:7,Tree:8,MoonCelestialPlatform:9,MoonCelestialPlant:10,MoonCelestialPlantActive:11,StarweaverPlatform:13,StarweaverPlant:14,CacaoTree:15}),Qt=Fo(yn.Seeds,{Empty:0,Daffodil:1,Tulip:2,Sunflower:3,Starweaver:6,DawnCelestial:7,MoonCelestial:8,Blueberry:11,Banana:12,Strawberry:13,Mango:14,Grape:15,Watermelon:16,Lemon:17,Apple:18,Pear:19,Lily:20,Pepper:21,Tomato:22,Carrot:23,Pumpkin:25,Corn:26,Peach:27,FavaBean:28,Cacao:29,Delphinium:30,Bamboo:41,Coconut:31,Mushroom:32,PassionFruit:33,DragonFruit:34,Lychee:35,BurrosTail:37,Aloe:39,Echeveria:40,Cactus:42,Camellia:48,Chrysanthemum:49,Squash:50}),rr=Fo(yn.Items,{Empty:0,Coin:1,Shovel:2,PlanterPot:6,InventoryBag:7,WateringCan:9,MoneyBag:11,RainbowPotion:14,GoldPotion:15,WetPotion:16,ChilledPotion:17,FrozenPotion:18,DawnlitPotion:19,AmberlitPotion:20,JournalStamp:22,Donut:23,ToolsRestocked:24,SeedsRestocked:25,EggsRestocked:26,DecorRestocked:27,Leaderboard:28,Stats:29,ActivityLog:30,ChatBubble:39,ArrowKeys:41,Touchpad:42}),ay=Fo(yn.Animations,{Rain:10,Frost:20,Sunny:30,AmberMoon:40,Dawn:50}),ax=Fo(yn.Animations,{MoonCelestialActivationTile:91,DawnCelestialActivationTile:92}),xn=Fo(yn.Pets,{Bee:1,Chicken:2,Bunny:3,Turtle:4,Capybara:5,Cow:6,Pig:7,Butterfly:8,Snail:9,Worm:10,CommonEgg:11,UncommonEgg:12,RareEgg:13,LegendaryEgg:14,MythicalEgg:15,DivineEgg:16,CelestialEgg:17,Squirrel:18,Goat:19,Dragonfly:20,Turkey:29,Peacock:30}),Lu=Fo(yn.Mutations,{Wet:1,Chilled:2,Frozen:3,Puddle:5,Dawnlit:11,Amberlit:12,Dawncharged:13,Ambercharged:14,jackOLanternEyesDark0:21,jackOLanternEyesDark1:22,jackOLanternEyesDark2:23,jackOLanternEyesDark3:24,jackOLanternEyesDark4:25,jackOLanternEyesDark5:26,jackOLanternEyesDark6:27,jackOLanternEyesDark7:28,jackOLanternEyesDark8:29,jackOLanternEyesDark9:30,jackOLanternMouthDark0:31,jackOLanternMouthDark1:32,jackOLanternMouthDark2:33,jackOLanternMouthDark3:34,jackOLanternMouthDark4:35,jackOLanternMouthDark5:36,jackOLanternMouthDark6:37,jackOLanternMouthDark7:38,jackOLanternMouthDark8:39,jackOLanternMouthDark9:40,jackOLanternEyesLight0:41,jackOLanternEyesLight1:42,jackOLanternEyesLight2:43,jackOLanternEyesLight3:44,jackOLanternEyesLight4:45,jackOLanternEyesLight5:46,jackOLanternEyesLight6:47,jackOLanternEyesLight7:48,jackOLanternEyesLight8:49,jackOLanternEyesLight9:50,jackOLanternMouthLight0:51,jackOLanternMouthLight1:52,jackOLanternMouthLight2:53,jackOLanternMouthLight3:54,jackOLanternMouthLight4:55,jackOLanternMouthLight5:56,jackOLanternMouthLight6:57,jackOLanternMouthLight7:58,jackOLanternMouthLight8:59,jackOLanternMouthLight9:60}),Rft=Fo(yn.MutationOverlays,{WetTallPlant:1,ChilledTallPlant:2,FrozenTallPlant:3,Wet:4,Chilled:5,Frozen:6,Dawnlit:7,Amberlit:8,Dawncharged:9,Ambercharged:10}),Ke=Fo(yn.Decor,{SmallRock:11,MediumRock:21,LargeRock:31,WoodPedestal:4,WoodBench:13,WoodBenchBackwards:14,WoodBenchSideways:24,WoodBucketPedestal:34,WoodLampPost:23,WoodStool:63,WoodArch:33,WoodArchSide:43,WoodBridge:34,WoodBridgeSideways:44,WoodOwl:53,WoodGardenBox:74,Birdhouse:54,WoodWindmill:64,StonePedestal:6,StoneBench:15,StoneBenchSideways:26,StoneBucketPedestal:16,StoneLampPost:25,StoneColumn:26,StoneArch:35,StoneArchSideways:45,StoneBridge:36,StoneBridgeSideways:46,StoneGnome:55,StoneGardenBox:66,StoneBirdBath:56,MarblePedestal:8,MarbleBench:17,MarbleBenchBackwards:18,MarbleBenchSideways:28,MarbleBucketPedestal:58,MarbleLampPost:27,MarbleColumn:68,MarbleArch:37,MarbleArchSideways:47,MarbleBridge:38,MarbleBridgeSideways:48,MarbleBlobling:57,MarbleFountain:58,MarbleGardenBox:78,MiniFairyCottage:50,MiniFairyForge:40,MiniFairyKeep:60,MiniWizardTower:68,HayBale:29,HayBaleSideways:39,StrawScarecrow:49,Cauldron:59,SmallGravestone:69,SmallGravestoneSideways:70,MediumGravestone:79,MediumGravestoneSideways:80,LargeGravestone:89,LargeGravestoneSideways:90,PetHutch:30});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ift=e=>typeof e=="object"&&e!==null&&"type"in e&&e.type==="tile";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};var Be=(e=>(e.Common="Common",e.Uncommon="Uncommon",e.Rare="Rare",e.Legendary="Legendary",e.Mythic="Mythical",e.Divine="Divine",e.Celestial="Celestial",e))(Be||{});const Oft=Object.values(Be);[...Oft].reverse();globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const C3=new Date("2025-11-07T01:00:00.000Z"),zi={SmallRock:{tileRef:Ke.SmallRock,name:"Small Garden Rock",coinPrice:1e3,creditPrice:2,rarity:Be.Common,baseTileScale:1,isOneTimePurchase:!1},MediumRock:{tileRef:Ke.MediumRock,name:"Medium Garden Rock",coinPrice:2500,creditPrice:5,rarity:Be.Common,baseTileScale:1,isOneTimePurchase:!1},LargeRock:{tileRef:Ke.LargeRock,name:"Large Garden Rock",coinPrice:5e3,creditPrice:10,rarity:Be.Common,baseTileScale:1,isOneTimePurchase:!1},HayBale:{tileRef:Ke.HayBale,rotationVariants:{90:{tileRef:Ke.HayBaleSideways,flipH:!0},180:{tileRef:Ke.HayBale,flipH:!0},270:{tileRef:Ke.HayBaleSideways}},name:"Hay Bale",coinPrice:7e3,creditPrice:12,rarity:Be.Common,baseTileScale:1.8,isOneTimePurchase:!1,nudgeY:-.42},SmallGravestone:{tileRef:Ke.SmallGravestone,rotationVariants:{90:{tileRef:Ke.SmallGravestoneSideways,flipH:!0,baseTileScale:1.12,nudgeY:-.32},180:{tileRef:Ke.SmallGravestone,flipH:!0},270:{tileRef:Ke.SmallGravestoneSideways,baseTileScale:1.12,nudgeY:-.32}},name:"Small Gravestone",coinPrice:8e3,creditPrice:12,rarity:Be.Common,baseTileScale:1,isOneTimePurchase:!1,nudgeY:-.38,expiryDate:C3},WoodBench:{tileRef:Ke.WoodBench,rotationVariants:{90:{tileRef:Ke.WoodBenchSideways,flipH:!0,baseTileScale:1.46,nudgeY:-.3},180:{tileRef:Ke.WoodBenchBackwards},270:{tileRef:Ke.WoodBenchSideways,baseTileScale:1.46,nudgeY:-.3}},name:"Wood Bench",coinPrice:1e4,creditPrice:15,rarity:Be.Common,baseTileScale:1,isOneTimePurchase:!1,nudgeY:-.3,avatarNudgeY:-.18},WoodArch:{tileRef:Ke.WoodArch,rotationVariants:{90:{tileRef:Ke.WoodArchSide,flipH:!0,baseTileScale:2.1,nudgeY:-.48},180:{tileRef:Ke.WoodArch,flipH:!0},270:{tileRef:Ke.WoodArchSide,baseTileScale:2.1,nudgeY:-.48}},name:"Wood Arch",coinPrice:2e4,creditPrice:25,rarity:Be.Common,baseTileScale:1.53,isOneTimePurchase:!1,nudgeY:-.5},WoodBridge:{tileRef:Ke.WoodBridge,rotationVariants:{90:{tileRef:Ke.WoodBridgeSideways,flipH:!0,baseTileScale:1.7,nudgeY:-.28},180:{tileRef:Ke.WoodBridge,flipH:!0},270:{tileRef:Ke.WoodBridgeSideways,baseTileScale:1.7,nudgeY:-.28}},name:"Wood Bridge",coinPrice:4e4,creditPrice:35,rarity:Be.Common,baseTileScale:1.22,isOneTimePurchase:!1,nudgeY:-.35,avatarNudgeY:-.44},WoodLampPost:{tileRef:Ke.WoodLampPost,name:"Wood Lamp Post",coinPrice:8e4,creditPrice:49,rarity:Be.Common,baseTileScale:1.5,isOneTimePurchase:!1,nudgeY:-.6},WoodOwl:{tileRef:Ke.WoodOwl,name:"Wood Owl",coinPrice:9e4,creditPrice:59,rarity:Be.Common,baseTileScale:1.3,isOneTimePurchase:!1,nudgeY:-.4},WoodBirdhouse:{tileRef:Ke.Birdhouse,name:"Wood Birdhouse",coinPrice:1e5,creditPrice:69,rarity:Be.Common,baseTileScale:1.5,isOneTimePurchase:!1,nudgeY:-.6},WoodWindmill:{tileRef:Ke.WoodWindmill,name:"Wood Windmill",coinPrice:5e5,creditPrice:74,rarity:Be.Common,baseTileScale:1.5,isOneTimePurchase:!1,nudgeY:-.47},MediumGravestone:{tileRef:Ke.MediumGravestone,rotationVariants:{90:{tileRef:Ke.MediumGravestoneSideways,flipH:!0,baseTileScale:1.32,nudgeY:-.33},180:{tileRef:Ke.MediumGravestone,flipH:!0},270:{tileRef:Ke.MediumGravestoneSideways,baseTileScale:1.32,nudgeY:-.33}},name:"Medium Gravestone",coinPrice:5e5,creditPrice:72,rarity:Be.Uncommon,baseTileScale:1.2,isOneTimePurchase:!1,nudgeY:-.45,expiryDate:C3},StoneBench:{tileRef:Ke.StoneBench,rotationVariants:{90:{tileRef:Ke.StoneBenchSideways,flipH:!0,baseTileScale:1.47,nudgeY:-.3},180:{tileRef:Ke.StoneBench,flipH:!0},270:{tileRef:Ke.StoneBenchSideways,baseTileScale:1.47,nudgeY:-.3}},name:"Stone Bench",coinPrice:1e6,creditPrice:75,rarity:Be.Uncommon,baseTileScale:1,isOneTimePurchase:!1,nudgeY:-.3,avatarNudgeY:-.18},StoneArch:{tileRef:Ke.StoneArch,rotationVariants:{90:{tileRef:Ke.StoneArchSideways,flipH:!0,baseTileScale:2.1,nudgeY:-.44},180:{tileRef:Ke.StoneArch,flipH:!0},270:{tileRef:Ke.StoneArchSideways,baseTileScale:2.1,nudgeY:-.44}},name:"Stone Arch",coinPrice:4e6,creditPrice:124,rarity:Be.Uncommon,baseTileScale:1.53,isOneTimePurchase:!1,nudgeY:-.5},StoneBridge:{tileRef:Ke.StoneBridge,rotationVariants:{90:{tileRef:Ke.StoneBridgeSideways,flipH:!0,baseTileScale:1.7,nudgeY:-.28},180:{tileRef:Ke.StoneBridge,flipH:!0},270:{tileRef:Ke.StoneBridgeSideways,baseTileScale:1.7,nudgeY:-.28}},name:"Stone Bridge",coinPrice:5e6,creditPrice:179,rarity:Be.Uncommon,baseTileScale:1.22,isOneTimePurchase:!1,nudgeY:-.35,avatarNudgeY:-.44},StoneLampPost:{tileRef:Ke.StoneLampPost,name:"Stone Lamp Post",coinPrice:8e6,creditPrice:199,rarity:Be.Uncommon,baseTileScale:1.5,isOneTimePurchase:!1,nudgeY:-.6},StoneGnome:{tileRef:Ke.StoneGnome,name:"Stone Gnome",coinPrice:9e6,creditPrice:219,rarity:Be.Uncommon,baseTileScale:1.3,isOneTimePurchase:!1,nudgeY:-.4},StoneBirdbath:{tileRef:Ke.StoneBirdBath,name:"Stone Birdbath",coinPrice:1e7,creditPrice:249,rarity:Be.Uncommon,baseTileScale:1.2,isOneTimePurchase:!1,nudgeY:-.46},LargeGravestone:{tileRef:Ke.LargeGravestone,rotationVariants:{90:{tileRef:Ke.LargeGravestoneSideways,flipH:!0,nudgeY:-.39,baseTileScale:1.5},180:{tileRef:Ke.LargeGravestone,flipH:!0},270:{tileRef:Ke.LargeGravestoneSideways,nudgeY:-.39,baseTileScale:1.5}},name:"Large Gravestone",coinPrice:5e7,creditPrice:299,rarity:Be.Rare,baseTileScale:1.4,isOneTimePurchase:!1,nudgeY:-.51,expiryDate:C3},MarbleBench:{tileRef:Ke.MarbleBench,rotationVariants:{90:{tileRef:Ke.MarbleBenchSideways,flipH:!0,baseTileScale:1.55,nudgeY:-.35},180:{tileRef:Ke.MarbleBenchBackwards},270:{tileRef:Ke.MarbleBenchSideways,baseTileScale:1.55,nudgeY:-.35}},name:"Marble Bench",coinPrice:75e6,creditPrice:329,rarity:Be.Rare,baseTileScale:1,isOneTimePurchase:!1,nudgeY:-.3,avatarNudgeY:-.18},MarbleArch:{tileRef:Ke.MarbleArch,rotationVariants:{90:{tileRef:Ke.MarbleArchSideways,flipH:!0,baseTileScale:2.38,nudgeY:-.57},180:{tileRef:Ke.MarbleArch,flipH:!0},270:{tileRef:Ke.MarbleArchSideways,baseTileScale:2.38,nudgeY:-.57}},name:"Marble Arch",coinPrice:1e8,creditPrice:349,rarity:Be.Rare,baseTileScale:1.53,isOneTimePurchase:!1,nudgeY:-.5},MarbleBridge:{tileRef:Ke.MarbleBridge,rotationVariants:{90:{tileRef:Ke.MarbleBridgeSideways,flipH:!0,baseTileScale:1.7,nudgeY:-.28},180:{tileRef:Ke.MarbleBridge,flipH:!0},270:{tileRef:Ke.MarbleBridgeSideways,baseTileScale:1.7,nudgeY:-.28}},name:"Marble Bridge",coinPrice:15e7,creditPrice:379,rarity:Be.Rare,baseTileScale:1.22,isOneTimePurchase:!1,nudgeY:-.35,avatarNudgeY:-.44},MarbleLampPost:{tileRef:Ke.MarbleLampPost,name:"Marble Lamp Post",coinPrice:2e8,creditPrice:399,rarity:Be.Rare,baseTileScale:1.5,isOneTimePurchase:!1,nudgeY:-.6},MarbleBlobling:{tileRef:Ke.MarbleBlobling,name:"Marble Blobling",coinPrice:3e8,creditPrice:429,rarity:Be.Rare,baseTileScale:1.5,isOneTimePurchase:!1,nudgeY:-.56},MarbleFountain:{tileRef:Ke.MarbleFountain,name:"Marble Fountain",coinPrice:45e7,creditPrice:449,rarity:Be.Rare,baseTileScale:1.5,isOneTimePurchase:!1,nudgeY:-.3},MiniFairyCottage:{tileRef:Ke.MiniFairyCottage,name:"Mini Fairy Cottage",coinPrice:5e8,creditPrice:549,rarity:Be.Rare,baseTileScale:1.1,isOneTimePurchase:!1,nudgeY:-.37},Cauldron:{tileRef:Ke.Cauldron,name:"Cauldron",coinPrice:666e6,creditPrice:666,rarity:Be.Legendary,baseTileScale:1.5,isOneTimePurchase:!1,nudgeY:-.25,expiryDate:C3},StrawScarecrow:{tileRef:Ke.StrawScarecrow,name:"Straw Scarecrow",coinPrice:1e9,creditPrice:599,rarity:Be.Legendary,baseTileScale:1.8,isOneTimePurchase:!1,nudgeY:-.65},MiniFairyForge:{tileRef:Ke.MiniFairyForge,name:"Mini Fairy Forge",coinPrice:5e9,creditPrice:979,rarity:Be.Legendary,baseTileScale:1,isOneTimePurchase:!1,nudgeY:-.3},MiniFairyKeep:{tileRef:Ke.MiniFairyKeep,name:"Mini Fairy Keep",coinPrice:25e9,creditPrice:1249,rarity:Be.Mythic,baseTileScale:1.05,isOneTimePurchase:!1,nudgeY:-.33},MiniWizardTower:{tileRef:Ke.MiniWizardTower,name:"Mini Wizard Tower",coinPrice:75e9,creditPrice:1379,rarity:Be.Mythic,baseTileScale:1.8,isOneTimePurchase:!1,nudgeY:-.59},PetHutch:{tileRef:Ke.PetHutch,name:"Pet Hutch",coinPrice:8e10,creditPrice:499,rarity:Be.Divine,baseTileScale:2.1,nudgeY:-.45,isOneTimePurchase:!0}},Mft=Object.keys(zi),J6=Pn(Mft);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const wt={Worm:{tileRef:xn.Worm,name:"Worm",coinsToFullyReplenishHunger:500,innateAbilityWeights:{SeedFinderI:50,ProduceEater:50},baseTileScale:.6,maxScale:2,maturitySellPrice:5e3,matureWeight:.1,moveProbability:.1,hoursToMature:12,rarity:Be.Common,tileTransformOrigin:"bottom",nudgeY:-.25,diet:["Carrot","Strawberry","Aloe","Tomato","Apple"]},Snail:{tileRef:xn.Snail,name:"Snail",coinsToFullyReplenishHunger:1e3,innateAbilityWeights:{CoinFinderI:100},baseTileScale:.6,maxScale:2,maturitySellPrice:1e4,matureWeight:.15,moveProbability:.01,hoursToMature:12,rarity:Be.Common,tileTransformOrigin:"bottom",diet:["Blueberry","Tomato","Corn","Daffodil","Chrysanthemum"],nudgeY:-.25},Bee:{tileRef:xn.Bee,name:"Bee",coinsToFullyReplenishHunger:1500,innateAbilityWeights:{ProduceScaleBoost:50,ProduceMutationBoost:50},baseTileScale:.6,maxScale:2.5,maturitySellPrice:3e4,matureWeight:.2,moveProbability:.5,hoursToMature:12,rarity:Be.Common,diet:["Strawberry","Blueberry","Daffodil","Lily","Chrysanthemum"]},Chicken:{tileRef:xn.Chicken,name:"Chicken",coinsToFullyReplenishHunger:3e3,innateAbilityWeights:{EggGrowthBoost:80,PetRefund:20},baseTileScale:.8,maxScale:2,maturitySellPrice:5e4,matureWeight:3,moveProbability:.2,hoursToMature:24,rarity:Be.Uncommon,tileTransformOrigin:"bottom",nudgeY:-.2,diet:["Aloe","Corn","Watermelon","Pumpkin"]},Bunny:{tileRef:xn.Bunny,name:"Bunny",coinsToFullyReplenishHunger:750,innateAbilityWeights:{CoinFinderII:60,SellBoostI:40},baseTileScale:.7,maxScale:2,maturitySellPrice:75e3,matureWeight:2,moveProbability:.3,hoursToMature:24,rarity:Be.Uncommon,tileTransformOrigin:"bottom",nudgeY:-.2,diet:["Carrot","Strawberry","Blueberry","OrangeTulip","Apple"]},Dragonfly:{tileRef:xn.Dragonfly,name:"Dragonfly",coinsToFullyReplenishHunger:250,innateAbilityWeights:{HungerRestore:70,PetMutationBoost:30},baseTileScale:.6,maxScale:2.5,maturitySellPrice:15e4,matureWeight:.2,moveProbability:.7,hoursToMature:24,rarity:Be.Uncommon,tileTransformOrigin:"center",diet:["Apple","OrangeTulip","Echeveria"]},Pig:{tileRef:xn.Pig,name:"Pig",coinsToFullyReplenishHunger:5e4,innateAbilityWeights:{SellBoostII:30,PetAgeBoost:30,PetHatchSizeBoost:30},baseTileScale:1,maxScale:2.5,maturitySellPrice:5e5,matureWeight:200,moveProbability:.2,hoursToMature:72,rarity:Be.Rare,tileTransformOrigin:"bottom",nudgeY:-.15,diet:["Watermelon","Pumpkin","Mushroom","Bamboo"]},Cow:{tileRef:xn.Cow,name:"Cow",coinsToFullyReplenishHunger:25e3,innateAbilityWeights:{SeedFinderII:30,HungerBoost:30,PlantGrowthBoost:30},baseTileScale:1.1,maxScale:2.5,maturitySellPrice:1e6,matureWeight:600,moveProbability:.1,hoursToMature:72,rarity:Be.Rare,tileTransformOrigin:"bottom",nudgeY:-.15,diet:["Coconut","Banana","BurrosTail","Mushroom"]},Turkey:{tileRef:xn.Turkey,name:"Turkey",coinsToFullyReplenishHunger:500,innateAbilityWeights:{RainDance:60,EggGrowthBoostII_NEW:35,DoubleHatch:5},baseTileScale:1,maxScale:2.5,maturitySellPrice:3e6,matureWeight:10,moveProbability:.25,hoursToMature:72,rarity:Be.Rare,tileTransformOrigin:"bottom",nudgeY:-.15,diet:["FavaBean","Corn","Squash"]},Squirrel:{tileRef:xn.Squirrel,name:"Squirrel",coinsToFullyReplenishHunger:15e3,innateAbilityWeights:{CoinFinderIII:70,SellBoostIII:20,PetMutationBoostII:10},baseTileScale:.6,maxScale:2,maturitySellPrice:5e6,matureWeight:.5,moveProbability:.4,hoursToMature:100,rarity:Be.Legendary,tileTransformOrigin:"bottom",nudgeY:-.1,diet:["Pumpkin","Banana","Grape"]},Turtle:{tileRef:xn.Turtle,name:"Turtle",coinsToFullyReplenishHunger:1e5,innateAbilityWeights:{HungerRestoreII:25,HungerBoostII:25,PlantGrowthBoostII:25,EggGrowthBoostII:25},baseTileScale:1,maxScale:2.5,maturitySellPrice:1e7,matureWeight:150,moveProbability:.05,hoursToMature:100,rarity:Be.Legendary,tileTransformOrigin:"bottom",nudgeY:-.15,diet:["Watermelon","BurrosTail","Bamboo","Pepper"]},Goat:{tileRef:xn.Goat,name:"Goat",coinsToFullyReplenishHunger:2e4,innateAbilityWeights:{PetHatchSizeBoostII:10,PetAgeBoostII:40,PetXpBoost:40},baseTileScale:1,maxScale:2,maturitySellPrice:2e7,matureWeight:100,moveProbability:.2,hoursToMature:100,rarity:Be.Legendary,tileTransformOrigin:"bottom",nudgeY:-.1,diet:["Pumpkin","Coconut","Pepper","Camellia","PassionFruit"]},Butterfly:{tileRef:xn.Butterfly,name:"Butterfly",coinsToFullyReplenishHunger:25e3,innateAbilityWeights:{ProduceScaleBoostII:40,ProduceMutationBoostII:40,SeedFinderIII:20},baseTileScale:.6,maxScale:2.5,maturitySellPrice:5e7,matureWeight:.2,moveProbability:.6,hoursToMature:144,rarity:Be.Mythic,tileTransformOrigin:"center",diet:["Daffodil","Lily","Grape","Lemon","Sunflower"]},Peacock:{tileRef:xn.Peacock,name:"Peacock",coinsToFullyReplenishHunger:1e5,innateAbilityWeights:{SellBoostIV:40,PetXpBoostII:50,PetRefundII:10},baseTileScale:1.2,maxScale:2.5,maturitySellPrice:1e8,matureWeight:5,moveProbability:.2,hoursToMature:144,rarity:Be.Mythic,tileTransformOrigin:"bottom",nudgeY:-.1,diet:["Cactus","Sunflower","Lychee"]},Capybara:{tileRef:xn.Capybara,name:"Capybara",coinsToFullyReplenishHunger:15e4,innateAbilityWeights:{DoubleHarvest:50,ProduceRefund:50},baseTileScale:1,maxScale:2.5,maturitySellPrice:2e8,matureWeight:50,moveProbability:.2,hoursToMature:144,rarity:Be.Mythic,tileTransformOrigin:"bottom",nudgeY:-.1,diet:["Lemon","PassionFruit","DragonFruit","Lychee"]}},Fbe=Object.keys(wt),Z6=Pn(Fbe);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const An={CommonEgg:{tileRef:xn.CommonEgg,name:"Common Egg",coinPrice:1e5,creditPrice:19,rarity:Be.Common,initialTileScale:.3,baseTileScale:.8,secondsToHatch:600,faunaSpawnWeights:{Worm:60,Snail:35,Bee:5}},UncommonEgg:{tileRef:xn.UncommonEgg,name:"Uncommon Egg",coinPrice:1e6,creditPrice:48,rarity:Be.Uncommon,initialTileScale:.3,baseTileScale:.8,secondsToHatch:3600,faunaSpawnWeights:{Chicken:65,Bunny:25,Dragonfly:10}},RareEgg:{tileRef:xn.RareEgg,name:"Rare Egg",coinPrice:1e7,creditPrice:99,rarity:Be.Rare,initialTileScale:.3,baseTileScale:.8,secondsToHatch:21600,faunaSpawnWeights:{Pig:80,Cow:15,Turkey:5}},LegendaryEgg:{tileRef:xn.LegendaryEgg,name:"Legendary Egg",coinPrice:1e8,creditPrice:249,rarity:Be.Legendary,initialTileScale:.3,baseTileScale:.8,secondsToHatch:43200,faunaSpawnWeights:{Squirrel:60,Turtle:30,Goat:10}},MythicalEgg:{tileRef:xn.MythicalEgg,name:"Mythical Egg",coinPrice:1e9,creditPrice:599,rarity:Be.Mythic,initialTileScale:.3,baseTileScale:.8,secondsToHatch:86400,faunaSpawnWeights:{Butterfly:75,Capybara:5,Peacock:20}}},kft=Object.keys(An),Op=Pn(kft);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Vc={ProduceScaleBoost:{name:"Crop Size Boost I",trigger:"continuous",baseProbability:.3,baseParameters:{scaleIncreasePercentage:6}},ProduceScaleBoostII:{name:"Crop Size Boost II",trigger:"continuous",baseProbability:.4,baseParameters:{scaleIncreasePercentage:10}},DoubleHarvest:{name:"Double Harvest",trigger:"harvest",baseProbability:5,baseParameters:{}},DoubleHatch:{name:"Double Hatch",trigger:"hatchEgg",baseProbability:3,baseParameters:{}},ProduceEater:{name:"Crop Eater",trigger:"continuous",baseProbability:60,baseParameters:{cropSellPriceIncreasePercentage:150}},SellBoostI:{name:"Sell Boost I",trigger:"sellAllCrops",baseProbability:10,baseParameters:{cropSellPriceIncreasePercentage:20}},SellBoostII:{name:"Sell Boost II",trigger:"sellAllCrops",baseProbability:12,baseParameters:{cropSellPriceIncreasePercentage:30}},SellBoostIII:{name:"Sell Boost III",trigger:"sellAllCrops",baseProbability:14,baseParameters:{cropSellPriceIncreasePercentage:40}},SellBoostIV:{name:"Sell Boost IV",trigger:"sellAllCrops",baseProbability:16,baseParameters:{cropSellPriceIncreasePercentage:50}},ProduceRefund:{name:"Crop Refund",trigger:"sellAllCrops",baseProbability:20,baseParameters:{}},PlantGrowthBoost:{name:"Plant Growth Boost I",trigger:"continuous",baseProbability:24,baseParameters:{plantGrowthReductionMinutes:3}},PlantGrowthBoostII:{name:"Plant Growth Boost II",trigger:"continuous",baseProbability:27,baseParameters:{plantGrowthReductionMinutes:5}},ProduceMutationBoost:{name:"Crop Mutation Boost I",trigger:"continuous",baseParameters:{mutationChanceIncreasePercentage:10}},ProduceMutationBoostII:{name:"Crop Mutation Boost II",trigger:"continuous",baseParameters:{mutationChanceIncreasePercentage:15}},PetMutationBoost:{name:"Pet Mutation Boost I",trigger:"hatchEgg",baseParameters:{mutationChanceIncreasePercentage:7}},PetMutationBoostII:{name:"Pet Mutation Boost II",trigger:"hatchEgg",baseParameters:{mutationChanceIncreasePercentage:10}},GoldGranter:{name:"Gold Granter",trigger:"continuous",baseProbability:.72,baseParameters:{grantedMutations:["Gold"]}},RainbowGranter:{name:"Rainbow Granter",trigger:"continuous",baseProbability:.72,baseParameters:{grantedMutations:["Rainbow"]}},RainDance:{name:"Rain Granter",trigger:"continuous",baseProbability:10,baseParameters:{grantedMutations:["Wet"]}},EggGrowthBoost:{name:"Egg Growth Boost I",trigger:"continuous",baseProbability:21,baseParameters:{eggGrowthTimeReductionMinutes:7}},EggGrowthBoostII_NEW:{name:"Egg Growth Boost II",trigger:"continuous",baseProbability:24,baseParameters:{eggGrowthTimeReductionMinutes:9}},EggGrowthBoostII:{name:"Egg Growth Boost III",trigger:"continuous",baseProbability:27,baseParameters:{eggGrowthTimeReductionMinutes:11}},PetAgeBoost:{name:"Hatch XP Boost I",trigger:"hatchEgg",baseProbability:50,baseParameters:{bonusXp:8e3}},PetAgeBoostII:{name:"Hatch XP Boost II",trigger:"hatchEgg",baseProbability:60,baseParameters:{bonusXp:12e3}},PetHatchSizeBoost:{name:"Max Strength Boost I",trigger:"hatchEgg",baseProbability:12,baseParameters:{maxStrengthIncreasePercentage:2.4}},PetHatchSizeBoostII:{name:"Max Strength Boost II",trigger:"hatchEgg",baseProbability:14,baseParameters:{maxStrengthIncreasePercentage:3.5}},PetXpBoost:{name:"XP Boost I",trigger:"continuous",baseProbability:30,baseParameters:{bonusXp:300}},PetXpBoostII:{name:"XP Boost II",trigger:"continuous",baseProbability:35,baseParameters:{bonusXp:400}},HungerRestore:{name:"Hunger Restore I",trigger:"continuous",baseProbability:12,baseParameters:{hungerRestorePercentage:30}},HungerRestoreII:{name:"Hunger Restore II",trigger:"continuous",baseProbability:14,baseParameters:{hungerRestorePercentage:35}},HungerBoost:{name:"Hunger Boost I",trigger:"continuous",baseParameters:{hungerDepletionRateDecreasePercentage:12}},HungerBoostII:{name:"Hunger Boost II",trigger:"continuous",baseParameters:{hungerDepletionRateDecreasePercentage:16}},PetRefund:{name:"Pet Refund I",trigger:"sellPet",baseProbability:5,baseParameters:{}},PetRefundII:{name:"Pet Refund II",trigger:"sellPet",baseProbability:7,baseParameters:{}},Copycat:{name:"Copycat",trigger:"continuous",baseProbability:1,baseParameters:{}},CoinFinderI:{name:"Coin Finder I",trigger:"continuous",baseProbability:35,baseParameters:{baseMaxCoinsFindable:12e4}},CoinFinderII:{name:"Coin Finder II",trigger:"continuous",baseProbability:13,baseParameters:{baseMaxCoinsFindable:12e5}},CoinFinderIII:{name:"Coin Finder III",trigger:"continuous",baseProbability:6,baseParameters:{baseMaxCoinsFindable:1e7}},SeedFinderI:{name:"Seed Finder I",trigger:"continuous",baseProbability:40,baseParameters:{}},SeedFinderII:{name:"Seed Finder II",trigger:"continuous",baseProbability:20,baseParameters:{}},SeedFinderIII:{name:"Seed Finder III",trigger:"continuous",baseProbability:10,baseParameters:{}},SeedFinderIV:{name:"Seed Finder IV",trigger:"continuous",baseProbability:.01,baseParameters:{}}},e4=Object.keys(Vc),HN=Pn(e4);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};var Fn=(e=>(e.Rain="Rain",e.Frost="Frost",e.Dawn="Dawn",e.AmberMoon="AmberMoon",e))(Fn||{});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const UN={Rain:{durationMinutes:5,type:"primary",tileRef:ay.Rain,name:"Rain",animationInfo:{frames:9,row:0,fps:24},mutator:{mutation:"Wet",chancePerMinutePerCrop:7},randomTimeSlots:{minFrequencyMinutes:20,maxFrequencyMinutes:35},possibleEvolutions:[{weatherId:Fn.Frost,chance:.25}]},Frost:{type:"secondary",tileRef:ay.Frost,name:"Frost",animationInfo:{frames:9,row:1,fps:24},mutator:{mutation:"Chilled",chancePerMinutePerCrop:7}},Dawn:{durationMinutes:10,type:"primary",name:"Dawn",tileRef:ay.Dawn,animationInfo:{frames:9,row:4,fps:10,restFrames:300},mutator:{mutation:"Dawnlit",chancePerMinutePerCrop:1},fixedTimeSlots:[0,48,96,144,192,240],possibleEvolutions:[{weatherId:Fn.AmberMoon,chance:.33}]},AmberMoon:{type:"secondary",name:"Amber Moon",tileRef:ay.AmberMoon,animationInfo:{frames:9,row:3,fps:10,restFrames:300},mutator:{mutation:"Ambershine",chancePerMinutePerCrop:1}}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};var Vt=(e=>(e.Single="Single",e.Multiple="Multiple",e))(Vt||{});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const tt={Carrot:{seed:{tileRef:Qt.Carrot,name:"Carrot Seed",coinPrice:10,creditPrice:7,rarity:Be.Common},plant:{tileRef:mt.BabyCarrot,name:"Carrot Plant",harvestType:Vt.Single,baseTileScale:.7},crop:{tileRef:mt.Carrot,name:"Carrot",baseSellPrice:20,baseWeight:.1,baseTileScale:.6,maxScale:3}},Strawberry:{seed:{tileRef:Qt.Strawberry,name:"Strawberry Seed",coinPrice:50,creditPrice:21,rarity:Be.Common},plant:{tileRef:mt.SproutFruit,name:"Strawberry Plant",harvestType:Vt.Multiple,slotOffsets:[{x:-.2,y:-.1,rotation:0},{x:.175,y:-.2,rotation:0},{x:-.18,y:.22,rotation:0},{x:.2,y:.2,rotation:0},{x:.01,y:.01,rotation:0}],secondsToMature:70,baseTileScale:1,rotateSlotOffsetsRandomly:!0},crop:{tileRef:mt.Strawberry,name:"Strawberry",baseSellPrice:14,baseWeight:.05,baseTileScale:.25,maxScale:2}},Aloe:{seed:{tileRef:Qt.Aloe,name:"Aloe Seed",coinPrice:135,creditPrice:18,rarity:Be.Common},plant:{tileRef:mt.AloePlant,name:"Aloe Plant",harvestType:Vt.Single,baseTileScale:.9},crop:{tileRef:mt.Aloe,name:"Aloe",baseSellPrice:310,baseWeight:1.5,baseTileScale:.7,maxScale:2.5}},FavaBean:{seed:{tileRef:Qt.FavaBean,name:"Fava Bean",coinPrice:250,creditPrice:30,rarity:Be.Uncommon},plant:{tileRef:mt.SproutFlower,name:"Fava Bean Plant",harvestType:Vt.Multiple,slotOffsets:[{x:-.1,y:.15,rotation:35},{x:-.23,y:.22,rotation:35},{x:.05,y:.3,rotation:35},{x:.18,y:.25,rotation:35},{x:.22,y:-.02,rotation:35},{x:.1,y:-.15,rotation:35},{x:-.1,y:-.17,rotation:35},{x:-.25,y:-.11,rotation:35}],secondsToMature:900,baseTileScale:1.1,rotateSlotOffsetsRandomly:!0},crop:{tileRef:mt.FavaBean,name:"Fava Bean Pod",baseSellPrice:30,baseWeight:.03,baseTileScale:.3,maxScale:3}},Delphinium:{seed:{tileRef:Qt.Delphinium,name:"Delphinium Seed",coinPrice:300,creditPrice:12,rarity:Be.Uncommon},plant:{tileRef:mt.Delphinium,name:"Delphinium Plant",harvestType:Vt.Single,baseTileScale:.8,tileTransformOrigin:"bottom",nudgeY:-.43,nudgeYMultiplier:.05},crop:{tileRef:mt.Delphinium,name:"Delphinium",baseSellPrice:530,baseWeight:.02,baseTileScale:.8,maxScale:3}},Blueberry:{seed:{tileRef:Qt.Blueberry,name:"Blueberry Seed",coinPrice:400,creditPrice:49,rarity:Be.Uncommon},plant:{tileRef:mt.SproutFruit,name:"Blueberry Plant",harvestType:Vt.Multiple,slotOffsets:[{x:-.2,y:-.1,rotation:0},{x:.175,y:-.2,rotation:0},{x:-.18,y:.22,rotation:0},{x:.2,y:.2,rotation:0},{x:.01,y:.01,rotation:0}],secondsToMature:105,baseTileScale:1,rotateSlotOffsetsRandomly:!0},crop:{tileRef:mt.Blueberry,name:"Blueberry",baseSellPrice:23,baseWeight:.01,baseTileScale:.25,maxScale:2}},Apple:{seed:{tileRef:Qt.Apple,name:"Apple Seed",coinPrice:500,creditPrice:67,rarity:Be.Uncommon,unavailableSurfaces:["discord"]},plant:{tileRef:jr.Tree,name:"Apple Tree",harvestType:Vt.Multiple,slotOffsets:[{x:-.35,y:-2.4,rotation:0},{x:-.5,y:-2,rotation:0},{x:.1,y:-2.2,rotation:0},{x:-.2,y:-1.65,rotation:0},{x:.55,y:-1.9,rotation:0},{x:.3,y:-1.7,rotation:0},{x:.4,y:.1,rotation:0}],secondsToMature:360*60,baseTileScale:3,rotateSlotOffsetsRandomly:!0,tileTransformOrigin:"bottom",nudgeY:-.25},crop:{tileRef:mt.Apple,name:"Apple",baseSellPrice:73,baseWeight:.18,baseTileScale:.5,maxScale:2}},OrangeTulip:{seed:{tileRef:Qt.Tulip,name:"Tulip Seed",coinPrice:600,creditPrice:14,rarity:Be.Uncommon},plant:{tileRef:mt.Tulip,name:"Tulip Plant",harvestType:Vt.Single,baseTileScale:.5},crop:{tileRef:mt.Tulip,name:"Tulip",baseSellPrice:767,baseWeight:.01,baseTileScale:.5,maxScale:3}},Tomato:{seed:{tileRef:Qt.Tomato,name:"Tomato Seed",coinPrice:800,creditPrice:79,rarity:Be.Uncommon},plant:{tileRef:mt.SproutVine,name:"Tomato Plant",harvestType:Vt.Multiple,slotOffsets:[{x:-.3,y:-.3,rotation:0},{x:.3,y:.3,rotation:0}],secondsToMature:1100,baseTileScale:1,rotateSlotOffsetsRandomly:!1},crop:{tileRef:mt.Tomato,name:"Tomato",baseSellPrice:27,baseWeight:.3,baseTileScale:.33,maxScale:2}},Daffodil:{seed:{tileRef:Qt.Daffodil,name:"Daffodil Seed",coinPrice:1e3,creditPrice:19,rarity:Be.Rare},plant:{tileRef:mt.Daffodil,name:"Daffodil Plant",harvestType:Vt.Single,baseTileScale:.5},crop:{tileRef:mt.Daffodil,name:"Daffodil",baseSellPrice:1090,baseWeight:.01,baseTileScale:.5,maxScale:3}},Corn:{seed:{tileRef:Qt.Corn,name:"Corn Kernel",coinPrice:1300,creditPrice:135,rarity:Be.Rare},plant:{tileRef:mt.SproutVegetable,name:"Corn Plant",harvestType:Vt.Multiple,slotOffsets:[{x:0,y:-.1,rotation:0}],secondsToMature:130,baseTileScale:1,rotateSlotOffsetsRandomly:!1},crop:{tileRef:mt.Corn,name:"Corn",baseSellPrice:36,baseWeight:1.2,baseTileScale:.7,maxScale:2}},Watermelon:{seed:{tileRef:Qt.Watermelon,name:"Watermelon Seed",coinPrice:2500,creditPrice:195,rarity:Be.Rare},plant:{tileRef:mt.Watermelon,name:"Watermelon Plant",harvestType:Vt.Single,baseTileScale:.8},crop:{tileRef:mt.Watermelon,name:"Watermelon",baseSellPrice:2708,baseWeight:4.5,baseTileScale:.8,maxScale:3}},Pumpkin:{seed:{tileRef:Qt.Pumpkin,name:"Pumpkin Seed",coinPrice:3e3,creditPrice:210,rarity:Be.Rare},plant:{tileRef:mt.Pumpkin,name:"Pumpkin Plant",harvestType:Vt.Single,baseTileScale:.8},crop:{tileRef:mt.Pumpkin,name:"Pumpkin",baseSellPrice:3700,baseWeight:6,baseTileScale:.8,maxScale:3}},Echeveria:{seed:{tileRef:Qt.Echeveria,name:"Echeveria Cutting",coinPrice:4200,creditPrice:113,rarity:Be.Rare},plant:{tileRef:mt.Echeveria,name:"Echeveria Plant",harvestType:Vt.Single,baseTileScale:.8},crop:{tileRef:mt.Echeveria,name:"Echeveria",baseSellPrice:4600,baseWeight:.8,baseTileScale:.8,maxScale:2.75}},Coconut:{seed:{tileRef:Qt.Coconut,name:"Coconut Seed",coinPrice:6e3,creditPrice:235,rarity:Be.Legendary},plant:{tileRef:jr.PalmTree,name:"Coconut Tree",harvestType:Vt.Multiple,slotOffsets:[{x:-.2,y:-2.6,rotation:0},{x:-.3,y:-2.4,rotation:0},{x:.2,y:-2.5,rotation:0},{x:-.25,y:-2.1,rotation:0},{x:0,y:-2.3,rotation:0},{x:.3,y:-2.2,rotation:0},{x:.05,y:-2,rotation:0}],secondsToMature:720*60,baseTileScale:3,rotateSlotOffsetsRandomly:!0,tileTransformOrigin:"bottom",nudgeY:-.35},crop:{tileRef:mt.Coconut,name:"Coconut",baseSellPrice:302,baseWeight:5,baseTileScale:.25,maxScale:3}},Banana:{seed:{tileRef:Qt.Banana,name:"Banana Seed",coinPrice:7500,creditPrice:199,rarity:Be.Legendary,getCanSpawnInGuild:e=>{const t=e.slice(-1),r=parseInt(t,10);return!isNaN(r)&&r%2===0},unavailableSurfaces:["web"]},plant:{tileRef:jr.PalmTree,name:"Banana Plant",harvestType:Vt.Multiple,slotOffsets:[{x:-.3,y:-1.7,rotation:10},{x:-.2,y:-1.7,rotation:-10},{x:-.1,y:-1.7,rotation:-30},{x:0,y:-1.7,rotation:-50},{x:.1,y:-1.7,rotation:-70}],secondsToMature:14400,baseTileScale:2.5,rotateSlotOffsetsRandomly:!1,tileTransformOrigin:"bottom",nudgeY:-.4},crop:{tileRef:mt.Banana,name:"Banana",baseSellPrice:1750,baseWeight:.12,baseTileScale:.5,maxScale:1.7}},Lily:{seed:{tileRef:Qt.Lily,name:"Lily Seed",coinPrice:2e4,creditPrice:34,rarity:Be.Legendary},plant:{tileRef:mt.Lily,name:"Lily Plant",harvestType:Vt.Single,baseTileScale:.75,nudgeY:-.1},crop:{tileRef:mt.Lily,name:"Lily",baseSellPrice:20123,baseWeight:.02,baseTileScale:.5,maxScale:2.75}},Camellia:{seed:{tileRef:Qt.Camellia,name:"Camellia Seed",coinPrice:55e3,creditPrice:289,rarity:Be.Legendary},plant:{tileRef:mt.Hedge,name:"Camellia Hedge",harvestType:Vt.Multiple,slotOffsets:[{x:0,y:-.9,rotation:0},{x:-.28,y:-.6,rotation:0},{x:.28,y:-.6,rotation:0},{x:-.35,y:-.2,rotation:0},{x:.32,y:-.2,rotation:0},{x:-.3,y:.25,rotation:0},{x:.28,y:.25,rotation:0},{x:0,y:0,rotation:0}],secondsToMature:1440*60,baseTileScale:2,nudgeY:-.4,tileTransformOrigin:"bottom",nudgeYMultiplier:.5,rotateSlotOffsetsRandomly:!0},crop:{tileRef:mt.Camellia,name:"Camellia",baseSellPrice:4875,baseWeight:.3,baseTileScale:.4,maxScale:2.5}},Squash:{seed:{tileRef:Qt.Squash,name:"Squash Seed",coinPrice:55e3,creditPrice:199,rarity:Be.Legendary},plant:{tileRef:mt.SproutFlower,name:"Squash Plant",harvestType:Vt.Multiple,slotOffsets:[{x:-.08,y:.2,rotation:35},{x:.2,y:0,rotation:35},{x:-.2,y:-.1,rotation:35}],secondsToMature:1500,baseTileScale:1.2,rotateSlotOffsetsRandomly:!0},crop:{tileRef:mt.Squash,name:"Squash",baseSellPrice:3500,baseWeight:.3,baseTileScale:.4,maxScale:2.5}},BurrosTail:{seed:{tileRef:Qt.BurrosTail,name:"Burro's Tail Cutting",coinPrice:93e3,creditPrice:338,rarity:Be.Legendary},plant:{tileRef:mt.Trellis,name:"Burro's Tail Plant",harvestType:Vt.Multiple,slotOffsets:[{x:-.13,y:-.1,rotation:0},{x:.17,y:.13,rotation:0}],secondsToMature:1800,baseTileScale:.8,rotateSlotOffsetsRandomly:!1},crop:{tileRef:mt.BurrosTail,name:"Burro's Tail",baseSellPrice:6e3,baseWeight:.4,baseTileScale:.4,maxScale:2.5}},Mushroom:{seed:{tileRef:Qt.Mushroom,name:"Mushroom Spore",coinPrice:15e4,creditPrice:249,rarity:Be.Mythic},plant:{tileRef:mt.MushroomPlant,name:"Mushroom Plant",harvestType:Vt.Single,baseTileScale:.8},crop:{tileRef:mt.Mushroom,name:"Mushroom",baseSellPrice:16e4,baseWeight:25,baseTileScale:.65,maxScale:3.5}},Cactus:{seed:{tileRef:Qt.Cactus,name:"Cactus Seed",coinPrice:25e4,creditPrice:250,rarity:Be.Mythic},plant:{tileRef:jr.Cactus,name:"Cactus Plant",harvestType:Vt.Single,baseTileScale:2.5,tileTransformOrigin:"bottom",nudgeY:-.4,nudgeYMultiplier:.3},crop:{tileRef:jr.Cactus,name:"Cactus",baseSellPrice:261e3,baseWeight:1500,baseTileScale:2.5,maxScale:1.8}},Bamboo:{seed:{tileRef:Qt.Bamboo,name:"Bamboo Seed",coinPrice:4e5,creditPrice:300,rarity:Be.Mythic},plant:{tileRef:jr.Bamboo,name:"Bamboo Plant",harvestType:Vt.Single,baseTileScale:2.5,tileTransformOrigin:"bottom",nudgeY:-.45,nudgeYMultiplier:.3},crop:{tileRef:jr.Bamboo,name:"Bamboo Shoot",baseSellPrice:5e5,baseWeight:1,baseTileScale:2.5,maxScale:2}},Chrysanthemum:{seed:{tileRef:Qt.Chrysanthemum,name:"Chrysanthemum Seed",coinPrice:67e4,creditPrice:567,rarity:Be.Mythic},plant:{tileRef:mt.FlowerBush,name:"Chrysanthemum Bush",harvestType:Vt.Multiple,slotOffsets:[{x:0,y:0,rotation:0},{x:-.28,y:.22,rotation:0},{x:.28,y:.22,rotation:0},{x:0,y:.33,rotation:0},{x:-.25,y:-.2,rotation:0},{x:.25,y:-.2,rotation:0},{x:0,y:-.28,rotation:0}],secondsToMature:1440*60,baseTileScale:1,rotateSlotOffsetsRandomly:!1},crop:{tileRef:mt.Chrysanthemum,name:"Chrysanthemum",baseSellPrice:18e3,baseWeight:.01,baseTileScale:.3,maxScale:2.75}},Grape:{seed:{tileRef:Qt.Grape,name:"Grape Seed",coinPrice:85e4,creditPrice:599,rarity:Be.Mythic,getCanSpawnInGuild:e=>e.endsWith("1"),unavailableSurfaces:["web"]},plant:{tileRef:mt.SproutVine,name:"Grape Plant",harvestType:Vt.Multiple,slotOffsets:[{x:0,y:0,rotation:0}],secondsToMature:1440*60,baseTileScale:1,rotateSlotOffsetsRandomly:!0},crop:{tileRef:mt.Grape,name:"Grape",baseSellPrice:12500,baseWeight:3,baseTileScale:.5,maxScale:2}},Pepper:{seed:{tileRef:Qt.Pepper,name:"Pepper Seed",coinPrice:1e6,creditPrice:629,rarity:Be.Divine},plant:{tileRef:mt.SproutVine,name:"Pepper Plant",harvestType:Vt.Multiple,slotOffsets:[{x:-.02,y:.219,rotation:0},{x:.172,y:.172,rotation:0},{x:-.172,y:.137,rotation:0},{x:.168,y:-.035,rotation:0},{x:-.082,y:-.047,rotation:0},{x:-.207,y:-.074,rotation:0},{x:.18,y:-.176,rotation:0},{x:-.273,y:-.195,rotation:0},{x:-.074,y:-.25,rotation:0}],secondsToMature:560,baseTileScale:1,rotateSlotOffsetsRandomly:!0},crop:{tileRef:mt.Pepper,name:"Pepper",baseSellPrice:7220,baseWeight:.5,baseTileScale:.3,maxScale:2}},Lemon:{seed:{tileRef:Qt.Lemon,name:"Lemon Seed",coinPrice:2e6,creditPrice:500,rarity:Be.Divine,getCanSpawnInGuild:e=>e.endsWith("2"),unavailableSurfaces:["web"]},plant:{tileRef:jr.Tree,name:"Lemon Tree",harvestType:Vt.Multiple,slotOffsets:[{x:-.5,y:-1.5,rotation:0},{x:.4,y:-1.6,rotation:0},{x:-.3,y:-1.18,rotation:0},{x:.2,y:-1.2,rotation:0},{x:.01,y:-1.5,rotation:0},{x:-.05,y:-1.8,rotation:0}],secondsToMature:720*60,baseTileScale:2.3,rotateSlotOffsetsRandomly:!0,tileTransformOrigin:"bottom",nudgeY:-.25},crop:{tileRef:mt.Lemon,name:"Lemon",baseSellPrice:1e4,baseWeight:.5,baseTileScale:.25,maxScale:3}},PassionFruit:{seed:{tileRef:Qt.PassionFruit,name:"Passion Fruit Seed",coinPrice:275e4,creditPrice:679,rarity:Be.Divine},plant:{tileRef:mt.SproutVine,name:"Passion Fruit Plant",harvestType:Vt.Multiple,slotOffsets:[{x:-.3,y:-.3,rotation:0},{x:.3,y:.3,rotation:0}],secondsToMature:1440*60,baseTileScale:1.1,rotateSlotOffsetsRandomly:!1},crop:{tileRef:mt.PassionFruit,name:"Passion Fruit",baseSellPrice:24500,baseWeight:9.5,baseTileScale:.35,maxScale:2}},DragonFruit:{seed:{tileRef:Qt.DragonFruit,name:"Dragon Fruit Seed",coinPrice:5e6,creditPrice:715,rarity:Be.Divine},plant:{tileRef:mt.PalmTreeTop,name:"Dragon Fruit Plant",harvestType:Vt.Multiple,slotOffsets:[{x:-.3,y:-.4,rotation:0},{x:-.4,y:-.05,rotation:0},{x:.36,y:-.3,rotation:0},{x:-.25,y:.3,rotation:0},{x:0,y:-.1,rotation:0},{x:.4,y:.1,rotation:0},{x:.1,y:.2,rotation:0}],secondsToMature:600,baseTileScale:1.6,rotateSlotOffsetsRandomly:!0},crop:{tileRef:mt.DragonFruit,name:"Dragon Fruit",baseSellPrice:24500,baseWeight:8.4,baseTileScale:.4,maxScale:2}},Cacao:{seed:{tileRef:Qt.Cacao,name:"Cacao Bean",coinPrice:1e7,creditPrice:750,rarity:Be.Divine},plant:{tileRef:jr.CacaoTree,name:"Cacao Plant",harvestType:Vt.Multiple,slotOffsets:[{x:.28,y:-1.17,rotation:20},{x:-.3,y:-1.07,rotation:20},{x:-.05,y:-1.42,rotation:20},{x:.45,y:-1.67,rotation:20},{x:-.5,y:-1.57,rotation:20},{x:-.05,y:-1.87,rotation:20}],secondsToMature:1440*60,baseTileScale:2.8,rotateSlotOffsetsRandomly:!0,tileTransformOrigin:"bottom",nudgeY:-.32},crop:{tileRef:mt.Cacao,name:"Cacao Fruit",baseSellPrice:7e4,baseWeight:.5,baseTileScale:.4,maxScale:2.5}},Lychee:{seed:{tileRef:Qt.Lychee,name:"Lychee Pit",coinPrice:25e6,creditPrice:819,rarity:Be.Divine,getCanSpawnInGuild:e=>e.endsWith("2"),unavailableSurfaces:["web"]},plant:{tileRef:mt.BushyTree,name:"Lychee Plant",harvestType:Vt.Multiple,slotOffsets:[{x:-.4,y:-.1,rotation:0},{x:.3,y:-.2,rotation:0},{x:-.3,y:.22,rotation:0},{x:.2,y:.2,rotation:0},{x:.01,y:-.1,rotation:0},{x:-.2,y:-.3,rotation:0}],secondsToMature:1440*60,baseTileScale:1.2,rotateSlotOffsetsRandomly:!0},crop:{tileRef:mt.Lychee,name:"Lychee Fruit",baseSellPrice:5e4,baseWeight:9,baseTileScale:.2,maxScale:2}},Sunflower:{seed:{tileRef:Qt.Sunflower,name:"Sunflower Seed",coinPrice:1e8,creditPrice:900,rarity:Be.Divine},plant:{tileRef:mt.StemFlower,name:"Sunflower Plant",harvestType:Vt.Multiple,slotOffsets:[{x:.01,y:-.6,rotation:0}],secondsToMature:1440*60,rotateSlotOffsetsRandomly:!1,tileTransformOrigin:"bottom",baseTileScale:.8,nudgeY:-.35},crop:{tileRef:mt.Sunflower,name:"Sunflower",baseSellPrice:75e4,baseWeight:10,baseTileScale:.5,maxScale:2.5}},Starweaver:{seed:{tileRef:Qt.Starweaver,name:"Starweaver Pod",coinPrice:1e9,creditPrice:1e3,rarity:Be.Celestial},plant:{tileRef:jr.StarweaverPlant,name:"Starweaver Plant",harvestType:Vt.Multiple,slotOffsets:[{x:0,y:-.918,rotation:0}],secondsToMature:1440*60,baseTileScale:1.5,rotateSlotOffsetsRandomly:!1,nudgeY:-.27,tileTransformOrigin:"bottom",immatureTileRef:jr.StarweaverPlatform,isFixedScale:!0,growingAnimationTiles:{frames:10,row:8,fps:20,nudgeY:-.2}},crop:{tileRef:mt.Starweaver,name:"Starweaver Fruit",baseSellPrice:1e7,baseWeight:10,baseTileScale:.6,maxScale:2}},DawnCelestial:{seed:{tileRef:Qt.DawnCelestial,name:"Dawnbinder Pod",coinPrice:1e10,creditPrice:1129,rarity:Be.Celestial},plant:{tileRef:jr.DawnCelestialPlant,name:"Dawnbinder",harvestType:Vt.Multiple,secondsToMature:1440*60,slotOffsets:[{x:-.015,y:-.95,rotation:0}],baseTileScale:2.3,rotateSlotOffsetsRandomly:!1,tileTransformOrigin:"bottom",nudgeY:-.2,abilities:["DawnKisser"],activeState:{tileRef:jr.DawnCelestialPlantActive,weatherRequirement:Fn.Dawn,activeAnimationTiles:{frames:10,row:6,fps:20,nudgeY:-.1}},topmostLayerTileRef:jr.DawnCelestialPlatformTopmostLayer,immatureTileRef:jr.DawnCelestialPlatform,isFixedScale:!0,growingAnimationTiles:{frames:10,row:8,fps:20,nudgeY:-.2}},crop:{tileRef:mt.DawnCelestialCrop,name:"Dawnbinder Bulb",baseSellPrice:11e6,baseWeight:6,baseTileScale:.4,maxScale:2.5,transformOrigin:"top"}},MoonCelestial:{seed:{tileRef:Qt.MoonCelestial,name:"Moonbinder Pod",coinPrice:5e10,creditPrice:1249,rarity:Be.Celestial},plant:{tileRef:jr.MoonCelestialPlant,name:"Moonbinder",harvestType:Vt.Multiple,slotOffsets:[{x:.01,y:-1.81,rotation:0},{x:-.26,y:-.82,rotation:-20},{x:.23,y:-1,rotation:20}],secondsToMature:1440*60,baseTileScale:2.5,rotateSlotOffsetsRandomly:!1,tileTransformOrigin:"bottom",nudgeY:-.2,abilities:["MoonKisser"],activeState:{tileRef:jr.MoonCelestialPlantActive,weatherRequirement:Fn.AmberMoon,activeAnimationTiles:{frames:10,row:6,fps:20,nudgeY:-.1}},immatureTileRef:jr.MoonCelestialPlatform,isFixedScale:!0,growingAnimationTiles:{frames:10,row:8,fps:20,nudgeY:-.2}},crop:{tileRef:mt.MoonCelestialCrop,name:"Moonbinder Bulb",baseSellPrice:11e6,baseWeight:2,baseTileScale:.4,maxScale:2,transformOrigin:"bottom"}}},$be=Object.keys(tt),lo=Pn($be);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const bg={MoonKisser:{name:"Amberbinder",trigger:"weather",baseParameters:{mutationChancePerMinute:25,requiredWeather:Fn.AmberMoon,sourceMutation:"Ambershine",targetMutation:"Ambercharged",tileRadius:1,activationTileRef:ax.MoonCelestialActivationTile}},DawnKisser:{name:"Dawnbinder",trigger:"weather",baseParameters:{mutationChancePerMinute:25,requiredWeather:Fn.Dawn,sourceMutation:"Dawnlit",targetMutation:"Dawncharged",tileRadius:1,activationTileRef:ax.DawnCelestialActivationTile}}},Dft=Object.keys(bg);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};var ne=(e=>(e.Seed="Seed",e.Produce="Produce",e.Plant="Plant",e.Tool="Tool",e.Pet="Pet",e.Egg="Egg",e.Decor="Decor",e))(ne||{});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};var jt=(e=>(e.firstPlayerMove="firstPlayerMove",e.firstItemSelect="firstItemSelect",e.firstSeedPlant="firstSeedPlant",e.firstCropHarvest="firstCropHarvest",e.firstCropSell="firstCropSell",e.firstSeedPurchase="firstSeedPurchase",e.secondSeedPurchase="secondSeedPurchase",e.secondSeedPlant="secondSeedPlant",e.thirdSeedPlant="thirdSeedPlant",e.weatherIntroduction="weatherIntroduction",e))(jt||{});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Lft={firstPlayerMove:{name:"First Move",description:"Move around your garden for the first time",trigger:"move"},firstItemSelect:{name:"First Item Select",description:"Select your first item from inventory",trigger:"pickupObject"},firstSeedPlant:{name:"First Plant",description:"Plant your first seed in your garden",trigger:"plantSeed",prerequisites:[jt.firstItemSelect]},firstCropHarvest:{name:"First Harvest",description:"Harvest your first crop from your garden",trigger:"harvest",prerequisites:[jt.firstSeedPlant]},firstCropSell:{name:"First Sale",description:"Sell your first crop",trigger:"sellAllCrops",prerequisites:[jt.firstCropHarvest]},firstSeedPurchase:{name:"First Seed Purchase",description:"Purchase your first seed from the shop",trigger:"purchaseSeed",prerequisites:[jt.firstCropSell]},secondSeedPurchase:{name:"Second Seed Purchase",description:"Purchase your second seed from the shop",trigger:"purchaseSeed",prerequisites:[jt.firstSeedPurchase]},secondSeedPlant:{name:"Second Plant",description:"Plant your second seed in your garden",trigger:"plantSeed",prerequisites:[jt.secondSeedPurchase]},thirdSeedPlant:{name:"Third Plant",description:"Plant your third seed in your garden",trigger:"plantSeed",prerequisites:[jt.secondSeedPlant]},weatherIntroduction:{name:"Weather Introduction",description:"Learn about the weather",trigger:"checkWeatherStatus",prerequisites:[jt.thirdSeedPlant]}},Fft=Object.values(jt),$ft=Pn(Fft),Bft=Object.entries(Lft);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const wa={WateringCan:{tileRef:rr.WateringCan,name:"Watering Can",coinPrice:5e3,creditPrice:2,rarity:Be.Common,isOneTimePurchase:!1,baseTileScale:.6,maxInventoryQuantity:99},PlanterPot:{tileRef:rr.PlanterPot,name:"Planter Pot",coinPrice:25e3,creditPrice:5,rarity:Be.Common,isOneTimePurchase:!1,baseTileScale:.8},WetPotion:{tileRef:rr.WetPotion,name:"Wet Potion",coinPrice:1/0,creditPrice:1/0,rarity:Be.Common,isOneTimePurchase:!0,baseTileScale:1,grantedMutation:"Wet"},ChilledPotion:{tileRef:rr.ChilledPotion,name:"Chilled Potion",coinPrice:1/0,creditPrice:1/0,rarity:Be.Common,isOneTimePurchase:!0,baseTileScale:1,grantedMutation:"Chilled"},DawnlitPotion:{tileRef:rr.DawnlitPotion,name:"Dawnlit Potion",coinPrice:1/0,creditPrice:1/0,rarity:Be.Uncommon,isOneTimePurchase:!0,baseTileScale:1,grantedMutation:"Dawnlit"},Shovel:{tileRef:rr.Shovel,name:"Garden Shovel",coinPrice:1e6,creditPrice:100,rarity:Be.Uncommon,isOneTimePurchase:!0,baseTileScale:.7},FrozenPotion:{tileRef:rr.FrozenPotion,name:"Frozen Potion",coinPrice:1/0,creditPrice:1/0,rarity:Be.Rare,isOneTimePurchase:!0,baseTileScale:1,grantedMutation:"Frozen"},AmberlitPotion:{tileRef:rr.AmberlitPotion,name:"Amberlit Potion",coinPrice:1/0,creditPrice:1/0,rarity:Be.Rare,isOneTimePurchase:!0,baseTileScale:1,grantedMutation:"Ambershine"},GoldPotion:{tileRef:rr.GoldPotion,name:"Gold Potion",coinPrice:1/0,creditPrice:1/0,rarity:Be.Legendary,isOneTimePurchase:!0,baseTileScale:1,grantedMutation:"Gold"},RainbowPotion:{tileRef:rr.RainbowPotion,name:"Rainbow Potion",coinPrice:1/0,creditPrice:1/0,rarity:Be.Celestial,isOneTimePurchase:!0,baseTileScale:1,grantedMutation:"Rainbow"}},Nft=Object.keys(wa),wM=Pn(Nft);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ev=["Normal","Wet","Chilled","Frozen","Dawnlit","Ambershine","Gold","Rainbow","Dawncharged","Ambercharged","Max Weight"],Pv=["Normal","Gold","Rainbow","Max Weight"];globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ah={Gold:{name:"Gold",baseChance:.01,coinMultiplier:25},Rainbow:{name:"Rainbow",baseChance:.001,coinMultiplier:50},Wet:{name:"Wet",baseChance:0,coinMultiplier:2,tileRef:Lu.Wet},Chilled:{name:"Chilled",baseChance:0,coinMultiplier:2,tileRef:Lu.Chilled},Frozen:{name:"Frozen",baseChance:0,coinMultiplier:10,tileRef:Lu.Frozen},Dawnlit:{name:"Dawnlit",baseChance:0,coinMultiplier:2,tileRef:Lu.Dawnlit},Ambershine:{name:"Amberlit",baseChance:0,coinMultiplier:5,tileRef:Lu.Amberlit},Dawncharged:{name:"Dawnbound",baseChance:0,coinMultiplier:3,tileRef:Lu.Dawncharged},Ambercharged:{name:"Amberbound",baseChance:0,coinMultiplier:6,tileRef:Lu.Ambercharged}},a7=Object.keys(Ah),Qp=Pn(a7);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const qft=6;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};var Ri=(e=>(e.Coins="coins",e.Credits="credits",e))(Ri||{});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const jv={Carnival25K:{name:"25K Celebration Carnival Stand",description:"Limited-time slot machine to celebrate 25K Discord members.",expiryDate:new Date("2025-10-29T00:00:00.000Z"),cost:{type:ne.Seed,species:"Carrot",amount:25},prizes:[{name:"750 Coins",tileRef:rr.Coin,type:Ri.Coins,amount:750,probabilityWeight:12,rarity:Be.Common},{name:"Aloe Seed (×3)",tileRef:Qt.Aloe,type:ne.Seed,species:"Aloe",amount:3,probabilityWeight:12,rarity:Be.Common},{name:"Delphinium Seed (×2)",tileRef:Qt.Delphinium,type:ne.Seed,species:"Delphinium",amount:2,probabilityWeight:12,rarity:Be.Common},{name:"Tulip Seed (×2)",tileRef:Qt.Tulip,type:ne.Seed,species:"OrangeTulip",amount:2,probabilityWeight:12,rarity:Be.Common},{name:"2500 Coins",tileRef:rr.Coin,type:Ri.Coins,amount:2500,probabilityWeight:9,rarity:Be.Uncommon},{name:"Wet Potion",tileRef:rr.WetPotion,type:ne.Tool,toolId:"WetPotion",amount:1,probabilityWeight:9,rarity:Be.Uncommon},{name:"Pumpkin Seed",tileRef:Qt.Pumpkin,type:ne.Seed,species:"Pumpkin",amount:1,probabilityWeight:9,rarity:Be.Uncommon},{name:"Daffodil Seed",tileRef:Qt.Daffodil,type:ne.Seed,species:"Daffodil",amount:1,probabilityWeight:6,rarity:Be.Rare},{name:"Planter Pot",tileRef:rr.PlanterPot,type:ne.Tool,toolId:"PlanterPot",amount:1,probabilityWeight:6,rarity:Be.Rare},{name:"Chilled Potion",tileRef:rr.ChilledPotion,type:ne.Tool,toolId:"ChilledPotion",amount:1,probabilityWeight:6,rarity:Be.Rare},{name:"Squash Seed",tileRef:Qt.Squash,type:ne.Seed,species:"Squash",amount:1,probabilityWeight:2,rarity:Be.Legendary},{name:"Frozen Potion",tileRef:rr.FrozenPotion,type:ne.Tool,toolId:"FrozenPotion",amount:1,probabilityWeight:2,rarity:Be.Legendary},{name:"Dawnlit Potion",tileRef:rr.DawnlitPotion,type:ne.Tool,toolId:"DawnlitPotion",amount:1,probabilityWeight:1.2,rarity:Be.Legendary},{name:"Amberlit Potion",tileRef:rr.AmberlitPotion,type:ne.Tool,toolId:"AmberlitPotion",amount:1,probabilityWeight:1.2,rarity:Be.Legendary},{name:"Grape Seed",tileRef:Qt.Grape,type:ne.Seed,species:"Grape",amount:1,probabilityWeight:.2,rarity:Be.Mythic},{name:"Straw Scarecrow",tileRef:Ke.StrawScarecrow,type:ne.Decor,decorId:"StrawScarecrow",amount:1,probabilityWeight:.2,rarity:Be.Mythic},{name:"Gold Potion",tileRef:rr.GoldPotion,type:ne.Tool,toolId:"GoldPotion",amount:1,probabilityWeight:.1,rarity:Be.Divine},{name:"Mini Fairy Forge",tileRef:Ke.MiniFairyForge,type:ne.Decor,decorId:"MiniFairyForge",amount:1,probabilityWeight:.1,rarity:Be.Divine}]}},zft=Object.keys(jv),Bbe=Pn(zft);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const $r={numSeedsPlanted:{name:"Seeds Planted",description:"Total number of seeds planted"},numCropsHarvested:{name:"Crops Harvested",description:"Total number of crops harvested"},numPlantsPotted:{name:"Plants Potted",description:"Total number of plants potted"},numPlantsWatered:{name:"Plants Watered",description:"Total number of plants watered"},numPlantsDestroyed:{name:"Plants Destroyed",description:"Total number of plants destroyed"},numEggsHatched:{name:"Eggs Hatched",description:"Total number of eggs hatched"},numPetsSold:{name:"Pets Sold",description:"Total number of pets sold"},numDecorPurchased:{name:"Decor Purchased",description:"Total number of decor items purchased"},numDecorDestroyed:{name:"Decor Destroyed",description:"Total number of decor items destroyed"},totalEarningsSellCrops:{name:"Crop Earnings",description:"Total coins earned from selling crops"},totalEarningsSellPet:{name:"Pet Earnings",description:"Total coins earned from selling pets"},totalHungerReplenished:{name:"Hunger Replenished",description:"Total amount of hunger replenished"},secondsSavedWaterPlants:{name:"Time Saved: Water Plants",description:"Total time saved from watering plants"},secondsSavedInstaGrowPlants:{name:"Time Saved: Insta-Grow Plants",description:"Total time saved from insta-growing plants"},secondsSavedInstaGrowEggs:{name:"Time Saved: Insta-Grow Eggs",description:"Total time saved from insta-growing eggs"}},Wft=Object.keys($r),Hft=Pn(Wft);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Nbe={CoinFinderI:{name:"Coin Finder I",description:"Number of times Coin Finder I triggered"},CoinFinderII:{name:"Coin Finder II",description:"Number of times Coin Finder II triggered"},CoinFinderIII:{name:"Coin Finder III",description:"Number of times Coin Finder III triggered"},HungerRestore:{name:"Hunger Restore I",description:"Number of times Hunger Restore I triggered"},HungerRestoreII:{name:"Hunger Restore II",description:"Number of times Hunger Restore II triggered"},DoubleHarvest:{name:"Double Harvest",description:"Number of times Double Harvest triggered"},SeedFinderI:{name:"Seed Finder I",description:"Number of times Seed Finder I triggered"},SeedFinderII:{name:"Seed Finder II",description:"Number of times Seed Finder II triggered"},SeedFinderIII:{name:"Seed Finder III",description:"Number of times Seed Finder III triggered"},SeedFinderIV:{name:"Seed Finder IV",description:"Number of times Seed Finder IV triggered"},ProduceRefund:{name:"Crop Refund",description:"Number of times Crop Refund triggered"},SellBoostI:{name:"Sell Boost I",description:"Number of times Sell Boost I triggered"},SellBoostII:{name:"Sell Boost II",description:"Number of times Sell Boost II triggered"},SellBoostIII:{name:"Sell Boost III",description:"Number of times Sell Boost III triggered"},SellBoostIV:{name:"Sell Boost IV",description:"Number of times Sell Boost IV triggered"},PetXpBoost:{name:"XP Boost I",description:"Number of times XP Boost I triggered"},PetXpBoostII:{name:"XP Boost II",description:"Number of times XP Boost II triggered"},HungerBoost:{name:"Hunger Boost I",description:"Number of times Hunger Boost I triggered",isHidden:!0},HungerBoostII:{name:"Hunger Boost II",description:"Number of times Hunger Boost II triggered",isHidden:!0},PetRefund:{name:"Pet Refund I",description:"Number of times Pet Refund I triggered"},PetRefundII:{name:"Pet Refund II",description:"Number of times Pet Refund II triggered"},PetAgeBoost:{name:"Hatch XP Boost I",description:"Number of times Hatch XP Boost I triggered"},PetAgeBoostII:{name:"Hatch XP Boost II",description:"Number of times Hatch XP Boost II triggered"},EggGrowthBoost:{name:"Egg Growth Boost I",description:"Number of times Egg Growth Boost I triggered"},EggGrowthBoostII_NEW:{name:"Egg Growth Boost II",description:"Number of times Egg Growth Boost II triggered"},EggGrowthBoostII:{name:"Egg Growth Boost III",description:"Number of times Egg Growth Boost III triggered"},PetHatchSizeBoost:{name:"Max Strength Boost I",description:"Number of times Max Strength Boost I triggered"},PetHatchSizeBoostII:{name:"Max Strength Boost II",description:"Number of times Max Strength Boost II triggered"},Copycat:{name:"Copycat",description:"Number of times Copycat triggered"},DoubleHatch:{name:"Double Hatch",description:"Number of times Double Hatch triggered"},ProduceScaleBoost:{name:"Crop Size Boost I",description:"Number of times Crop Size Boost I triggered"},ProduceScaleBoostII:{name:"Crop Size Boost II",description:"Number of times Crop Size Boost II triggered"},PlantGrowthBoost:{name:"Plant Growth Boost I",description:"Number of times Plant Growth Boost I triggered"},PlantGrowthBoostII:{name:"Plant Growth Boost II",description:"Number of times Plant Growth Boost II triggered"},GoldGranter:{name:"Gold Granter",description:"Number of times Gold Granter triggered"},RainbowGranter:{name:"Rainbow Granter",description:"Number of times Rainbow Granter triggered"},RainDance:{name:"Rain Granter",description:"Number of times Rain Granter triggered"},ProduceEater:{name:"Crop Eater",description:"Number of times Crop Eater triggered"},totalCoinsFound:{name:"Total Coins Found",description:"Total coins earned from all Coin Finder abilities"},totalSellBoostBonusCoins:{name:"Total Bonus Coins from Sell Boost",description:"Total bonus coins earned from all Sell Boost abilities"},totalCoinsFromProduceEater:{name:"Total Coins from Crop Eater",description:"Total coins earned from Crop Eater ability"},totalHungerRestored:{name:"Total Hunger Restored",description:"Total hunger restored by Hunger Restore abilities"},totalHungerBoosted:{name:"Total Hunger Boosted",description:"Total hunger gained from Hunger Boost abilities"},totalXpBoosted:{name:"Total XP Boosted During Growth",description:"Total XP gained from Pet XP Boost abilities"},totalHatchXpBoosted:{name:"Total XP Boosted During Hatching",description:"Total XP gained from Pet Age Boost abilities"},secondsReducedPlantGrowth:{name:"Time Saved: Plant Growth Boost",description:"Total time saved from Plant Growth Boost abilities",formatAsTime:!0},secondsReducedEggGrowth:{name:"Time Saved: Egg Growth Boost",description:"Total time saved from Egg Growth Boost abilities",formatAsTime:!0}},Uft=Object.keys(Nbe),Gft=Pn(Uft);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const qbe={MoonKisser:{name:"Amberbinder",description:"Number of times Amberbinder triggered"},DawnKisser:{name:"Dawnbinder",description:"Number of times Dawnbinder triggered"}},zbe=Object.keys(qbe),Vft=Pn(zbe);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};var GN=(e=>(e[e.V1=1]="V1",e[e.V2=2]="V2",e[e.V3=3]="V3",e[e.V4=4]="V4",e[e.V5=5]="V5",e[e.V6=6]="V6",e[e.V7=7]="V7",e[e.V8=8]="V8",e[e.V9=9]="V9",e[e.V10=10]="V10",e[e.V11=11]="V11",e[e.Current=11]="Current",e))(GN||{});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const _b=Pn(Object.values(Ri)),kt=Br(Ht(),kr(0));var Jn=(e=>(e.Seed="seed",e.Egg="egg",e.Tool="tool",e.Decor="decor",e))(Jn||{});const Yft=Pn(Object.values(Jn)),Kft=Pn([0,-360,90,-90,180,-180,270,-270]),Tn=e0({id:Ms(),petSpecies:Z6,name:Cv(Ms()),xp:Br(Ht(),kr(0)),hunger:Br(Ht(),kr(0)),mutations:wr(Qp),targetScale:Br(Ht(),kr(0)),abilities:wr(HN)}),nm=e0({species:lo,startTime:kt,endTime:kt,targetScale:Br(Ht(),kr(0)),mutations:wr(Qp)}),Lf=e0({id:Ms(),species:lo,itemType:ut(ne.Produce),scale:Br(Ht(),kr(0)),mutations:wr(Qp)}),Xft=e0({species:lo,itemType:ut(ne.Seed),quantity:Br(Ht(),kr(1))}),Qft=e0({toolId:wM,itemType:ut(ne.Tool),quantity:Br(Ht(),kr(1))}),Jft=e0({id:Ms(),species:lo,itemType:ut(ne.Plant),slots:wr(nm),plantedAt:kt,maturedAt:kt}),Zft=e0({eggId:Op,itemType:ut(ne.Egg),quantity:Br(Ht(),kr(1))}),Ff=e0({id:Ms(),itemType:ut(ne.Pet),petSpecies:Z6,name:Cv(Ms()),xp:Br(Ht(),kr(0)),hunger:Br(Ht(),kr(0)),mutations:wr(Qp),targetScale:Br(Ht(),kr(0)),abilities:wr(HN)}),emt=e0({decorId:J6,itemType:ut(ne.Decor),quantity:Br(Ht(),kr(1))}),Wbe=ni([Lf,Xft,Qft,Jft,Zft,Ff,emt]),tmt=e0({decorId:J6,items:wr(Wbe)}),rmt=wr(tmt),nmt=wr(Ms()),imt=e0({items:wr(Wbe),storages:rmt,favoritedItemIds:nmt}),wT=e0({objectType:ut("plant"),species:lo,slots:wr(nm),plantedAt:kt,maturedAt:kt}),amt=e0({objectType:ut("egg"),eggId:Op,plantedAt:kt,maturedAt:kt}),Hbe=e0({objectType:ut("decor"),decorId:J6,rotation:Kft}),_M=ni([wT,amt,Hbe]),smt=ni([Hbe]),omt=e0({tileObjects:es(Ms(),_M),boardwalkTileObjects:es(Ms(),smt)}),E3=Cv(e0({purchasedAt:kt})),lmt=e0({seed:E3,egg:E3,tool:E3,decor:E3}),P3=Cv(e0({createdAt:kt,purchases:es(Ms(),Br(Ht(),ld(),kr(1)))})),cmt=e0({seed:P3,egg:P3,tool:P3,decor:P3}),umt=e0({variant:Pn(Ev),createdAt:kt}),dmt=e0({variant:Pn(Pv),createdAt:kt}),pmt=e0({ability:HN,createdAt:kt}),hmt=e0({variantsLogged:wr(umt)}),fmt=e0({variantsLogged:wr(dmt),abilitiesLogged:wr(pmt)}),mmt=e0({produce:es(lo,hmt),pets:es(Z6,fmt)}),gmt=es(Bbe,e0({numPlays:Br(Ht(),ld(),kr(0)),prizesWon:es(Ms(),Br(Ht(),ld(),kr(0)))})),bmt=es(Hft,Ht()),ymt=es(Gft,Ht()),vmt=es(Vft,Ht()),Tmt=e0({player:bmt,slotMachine:gmt,petAbility:ymt,plantAbility:vmt}),Smt=Lbe("action",[it({action:ut("plantSeed"),timestamp:kt,parameters:it({speciesIds:wr(lo)})}),it({action:ut("harvest"),timestamp:kt,parameters:it({crops:wr(Lf)})}),it({action:ut("potPlant"),timestamp:kt,parameters:it({plant:wT})}),it({action:ut("plantGardenPlant"),timestamp:kt,parameters:it({plant:wT})}),it({action:ut("waterPlant"),timestamp:kt,parameters:it({plant:wT,numTimes:Br(Ht(),kr(1)),secondsReduced:Ht()})}),it({action:ut("plantEgg"),timestamp:kt,parameters:it({eggIds:wr(Op)})}),it({action:ut("hatchEgg"),timestamp:kt,parameters:it({eggId:Op,pet:Ff})}),it({action:ut("feedPet"),timestamp:kt,parameters:it({pet:Tn,crops:wr(Lf)})}),it({action:ut("removeGardenObject"),timestamp:kt,parameters:it({gardenObject:_M})}),it({action:ut("purchaseSeed"),timestamp:kt,parameters:it({speciesIds:wr(lo),currency:_b,purchasePrice:Ht()})}),it({action:ut("purchaseEgg"),timestamp:kt,parameters:it({eggIds:wr(Op),currency:_b,purchasePrice:Ht()})}),it({action:ut("purchaseTool"),timestamp:kt,parameters:it({toolIds:wr(wM),currency:_b,purchasePrice:Ht()})}),it({action:ut("purchaseDecor"),timestamp:kt,parameters:it({decorIds:wr(J6),currency:_b,purchasePrice:Ht()})}),it({action:ut("sellAllCrops"),timestamp:kt,parameters:it({totalValue:Ht(),bonusMultiplier:Ht(),cropsSold:wr(Lf)})}),it({action:ut("sellPet"),timestamp:kt,parameters:it({pet:Ff,totalValue:Ht()})}),it({action:ut("logItems"),timestamp:kt,parameters:it({newCropVariants:es(lo,wr(Pn(Ev))),newPetVariants:es(Z6,wr(Pn(Pv)))})}),it({action:ut("instaGrow"),timestamp:kt,parameters:it({gardenObject:_M,secondsSaved:Ht(),cost:Ht()})}),it({action:ut("mutationPotion"),timestamp:kt,parameters:it({growSlot:nm,toolId:wM})}),it({action:ut("customRestock"),timestamp:kt,parameters:it({shopType:Yft,currency:_b,purchasePrice:Ht()})}),it({action:ut("spinSlotMachine"),timestamp:kt,parameters:it({slotMachineId:Bbe,prizeId:Br(Ht(),ld(),kr(0))})}),it({action:ni([ut("CoinFinderI"),ut("CoinFinderII"),ut("CoinFinderIII")]),timestamp:kt,parameters:it({pet:Tn,coinsFound:Br(Ht(),kr(0))})}),it({action:ni([ut("SeedFinderI"),ut("SeedFinderII"),ut("SeedFinderIII"),ut("SeedFinderIV")]),timestamp:kt,parameters:it({pet:Tn,speciesId:lo})}),it({action:ni([ut("HungerRestore"),ut("HungerRestoreII")]),timestamp:kt,parameters:it({pet:Tn,targetPet:Tn,hungerRestoreAmount:Br(Ht(),kr(0))})}),it({action:ut("DoubleHarvest"),timestamp:kt,parameters:it({pet:Tn,harvestedCrop:Lf})}),it({action:ut("DoubleHatch"),timestamp:kt,parameters:it({pet:Tn,extraPet:Ff})}),it({action:ut("ProduceRefund"),timestamp:kt,parameters:it({pet:Tn,cropsRefunded:wr(Lf)})}),it({action:ni([ut("SellBoostI"),ut("SellBoostII"),ut("SellBoostIII"),ut("SellBoostIV")]),timestamp:kt,parameters:it({pet:Tn,bonusCoins:Br(Ht(),kr(0))})}),it({action:ni([ut("PetXpBoost"),ut("PetXpBoostII")]),timestamp:kt,parameters:it({pet:Tn,bonusXp:Br(Ht(),kr(0)),petsAffected:wr(Tn)})}),it({action:ni([ut("PetRefund"),ut("PetRefundII")]),timestamp:kt,parameters:it({pet:Tn,eggId:Op})}),it({action:ni([ut("PetAgeBoost"),ut("PetAgeBoostII")]),timestamp:kt,parameters:it({pet:Tn,targetPet:Ff,bonusXp:Br(Ht(),kr(0))})}),it({action:ni([ut("EggGrowthBoost"),ut("EggGrowthBoostII_NEW"),ut("EggGrowthBoostII")]),timestamp:kt,parameters:it({pet:Tn,secondsReduced:Br(Ht(),kr(0)),eggsAffected:wr(Op)})}),it({action:ni([ut("PetHatchSizeBoost"),ut("PetHatchSizeBoostII")]),timestamp:kt,parameters:it({pet:Tn,targetPet:Ff,strengthIncrease:Br(Ht(),kr(0))})}),it({action:ni([ut("ProduceScaleBoost"),ut("ProduceScaleBoostII")]),timestamp:kt,parameters:it({pet:Tn,scaleIncreasePercentage:Br(Ht(),kr(0)),numPlantsAffected:Br(Ht(),ld(),kr(0))})}),it({action:ni([ut("PlantGrowthBoost"),ut("PlantGrowthBoostII")]),timestamp:kt,parameters:it({pet:Tn,secondsReduced:Br(Ht(),kr(0)),numPlantsAffected:Br(Ht(),ld(),kr(0))})}),it({action:ni([ut("GoldGranter"),ut("RainbowGranter"),ut("RainDance")]),timestamp:kt,parameters:it({pet:Tn,growSlot:nm,mutation:Qp})}),it({action:ut("ProduceEater"),timestamp:kt,parameters:it({pet:Tn,growSlot:nm,sellPrice:Br(Ht(),kr(0))})}),it({action:ni([ut("MoonKisser"),ut("DawnKisser")]),timestamp:kt,parameters:it({speciesId:lo,growSlotsAffected:wr(nm),targetMutation:Qp,sourceMutation:Qp})})]),xmt=wr(Smt);GN.V11;function wmt(){return{schemaVersion:GN.V11,coinsCount:0,inventory:{items:[{species:"Carrot",itemType:ne.Seed,quantity:1}],storages:[],favoritedItemIds:[]},petSlots:[],garden:{tileObjects:{},boardwalkTileObjects:{}},customRestocks:{seed:null,egg:null,tool:null,decor:null},shopPurchases:{seed:null,egg:null,tool:null,decor:null},journal:{produce:{},pets:{}},tasksCompleted:[],stats:{player:{},slotMachine:{},petAbility:{},plantAbility:{}},activityLogs:[]}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const _mt=.1,Amt={[Jn.Seed]:{creditPrice:19,intervalSeconds:300},[Jn.Egg]:{creditPrice:39,intervalSeconds:900},[Jn.Tool]:{creditPrice:13,intervalSeconds:600},[Jn.Decor]:{creditPrice:49,intervalSeconds:3600}},Cmt=300,Emt=11/3600,s7=0,AM=-360,Pmt=25;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function jmt(e,t){if(e.objectType==="plant"){const r=Math.max(...e.slots.map(n=>n.endTime));return Math.ceil(Math.max(0,(r-t)/1e3))}return Math.ceil(Math.max(0,(e.maturedAt-t)/1e3))}function Rmt(e,t){const r=jmt(e,t);return Math.ceil(r*Emt)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Imt=12,Omt=3600,Ube=3600,o9=80,CM=100,VN=30;function t4(e,t){const{maxScale:r}=wt[e];if(t<=1)return o9;if(t>=r)return CM;const n=(t-1)/(r-1),i=o9+(CM-o9)*n;return Math.floor(i)}function Gbe(e,t){return t4(e,t)-VN}const Vbe=e=>{const{hoursToMature:t}=wt[e];return VN/t};function Cd({speciesId:e,xp:t,targetScale:r}){const n=t/Ube,i=Vbe(e),a=Math.min(i*n,VN),o=Gbe(e,r)+a;return Math.floor(o)}function Ybe({speciesId:e,xp:t,targetScale:r}){return Cd({speciesId:e,xp:t,targetScale:r})/CM}function kee({strength:e,speciesId:t,targetScale:r}){const n=Gbe(t,r),i=e-n;if(i<=0)return 0;const a=Vbe(t);return i/a*Ube}function Jh({speciesId:e,xp:t,targetScale:r}){const n=Cd({speciesId:e,xp:t,targetScale:r}),i=t4(e,r);return n/i*r}function Mmt(e){return e/Omt}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const kmt=40,Dmt=JSON.parse('[{"class":"Override","data":[4,2,1,1,2,1,5,2,1,3,2,4,1,1,2,1,1,5,1,2,1,3,1,5,1,2,3,1,1,1,2,1,1,2,1,5,1,1,2,1,1,2,1,5,1,1,2,1,1,2,1,1,5,1,2,1,5,1,1,3,4,1,2,1,2,4,3,2,1,1,5,1,4,1,5,2,5,1,1,3,1,1,3,2,4,2,2,3,1,4,3,1,1,5,1,2,3,1,4,1,2,1,3,4,2,1,1,4,1,2,3,5,1,2,1,2,4,1,2,1,2,3,1,1,1,1,4,5,2,2,2,1,1,2,1,2,3,1,2,1,1,1,4,3,2,1,1,2,1,4,3,2,1,1,5,2,1,1,3,2,4,4,3,1,2,2,2,4,1,1,1,1,2,3,2,2,1,1,5,2,1,2,4,1,1,1,2,5,1,3,1,2,1,1,2,2,2,1,5,4,1,2,1,2,1,5,2,2,2,5,2,4,2,1,2,1,2,1,4,1,2,5,2,1,1,2,2,1,2,2,2,2,1,4,1,2,3,5,1,2,1,1,1,1,3,1,2,3,2,1,1,2,2,1,2,1,1,1,2,1,2,2,2,2,1,2,1,1,2,2,1,2,2,2,1,2,1,2,2,2,2,2,2,2,2,2,2,2,1,2,2,1,2,2,2,2,2,2,1,2,1,1,2,1,2,2,2,2,1,2,2,1,2,2,1,2,1,2,2,2,2,1,1,1,1,2,1,1,1,2,1,1,1,1,1,1,1,1,2,2,2,1,1,2,1,1,2,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3221225550,3221225560,3221225560,3221225562,3221225560,3221225560,1073741902,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3221225550,1073741912,1073741912,3221225562,1073741912,1073741912,1073741902,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3221225550,1073741912,1073741912,1073741914,1073741912,1073741912,1073741902,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,89,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2147483726,88,90,88,78,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,89,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,89,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2147483671,21,21,22,22,22,23,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,89,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2147483726,78,2147483726,88,88,88,78,0,0,2147483726,88,90,88,78,0,2147483726,88,88,88,78,2147483726,88,78,38,73,73,73,73,73,73,73,73,73,73,22,2147483652,73,73,73,3758096388,22,73,73,73,73,73,73,28,0,2147483726,88,88,88,78,2147483726,88,88,88,78,2147483726,88,88,88,90,88,78,2147483726,88,88,88,78,2147483726,88,88,78,0,0,0,0,0,2147483671,21,21,22,21,22,22,21,21,22,21,21,21,22,21,21,21,21,22,21,22,21,21,22,21,22,21,21,21,22,21,21,22,21,21,22,73,0,0,0,73,22,21,21,22,21,21,21,21,22,21,21,22,21,22,21,21,22,21,21,22,21,22,21,21,21,21,22,21,21,21,21,21,22,21,21,23,0,0,0,0,48,22,21,21,21,21,22,21,21,21,21,21,22,21,21,22,21,22,21,21,22,21,22,21,21,21,22,21,22,21,22,21,21,21,22,22,73,79,80,2147483727,73,22,22,21,21,21,22,21,22,21,21,22,21,21,21,22,21,21,22,21,21,22,21,22,21,22,21,21,21,22,21,22,21,21,22,21,2147483696,0,0,0,0,0,3221225550,3221225560,3221225560,1073741902,3221225550,3221225560,3221225560,3221225560,1073741902,3221225550,3221225560,3221225562,3221225560,3221225560,1073741902,3221225550,3221225560,1073741902,3221225550,3221225560,1073741902,3221225550,3221225560,3221225560,3221225560,1073741902,0,39,73,73,73,73,73,73,22,1073741828,73,73,73,4,22,73,73,73,73,73,73,38,0,3221225550,1073741912,1073741902,3221225550,1073741912,1073741912,1073741902,3221225550,1073741912,1073741912,1073741912,1073741902,3221225550,1073741912,1073741914,1073741912,1073741912,1073741902,3221225550,1073741912,1073741902,3221225550,1073741912,1073741912,1073741912,1073741902,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,89,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,48,22,22,22,21,22,2147483696,0,0,0,0,73,73,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,89,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,89,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3221225550,1073741912,3221225562,1073741912,1073741902,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,89,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2147483726,2147483736,88,90,88,2147483736,78,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2147483726,88,88,90,88,88,78,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2147483726,88,88,90,88,88,78,0,0,0,0,0,0,0,0,0,0,0,0,0,0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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"height":40,"id":9,"locked":true,"name":"Paths","opacity":1,"type":"tilelayer","visible":true,"width":81,"x":0,"y":0},{"class":"Stack","data":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,14,14,14,14,14,14,14,14,14,14,0,0,0,14,14,14,14,14,14,14,14,14,14,2147483663,0,15,14,14,14,14,14,14,14,14,14,14,0,0,0,14,14,14,14,14,14,14,14,14,14,2147483663,0,15,14,14,14,14,14,14,14,14,14,14,0,0,0,14,14,14,14,14,14,14,14,14,14,2147483663,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,16,14,14,14,14,14,14,14,14,14,14,0,0,0,14,14,14,14,14,14,14,14,14,14,2147483664,0,16,14,14,14,14,14,14,14,14,14,14,0,0,0,14,14,14,14,14,14,14,14,14,14,2147483664,0,16,14,14,14,14,14,14,14,14,14,14,0,0,0,14,14,14,14,14,14,14,14,14,14,2147483664,0,0,0,0,0,0,0,0,0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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,14,14,14,14,14,14,14,14,14,14,0,0,0,14,14,14,14,14,14,14,14,14,14,2147483663,0,15,14,14,14,14,14,14,14,14,14,14,0,0,0,14,14,14,14,14,14,14,14,14,14,2147483663,0,15,14,14,14,14,14,14,14,14,14,14,0,0,0,14,14,14,14,14,14,14,14,14,14,2147483663,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,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0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,16,14,14,14,14,14,14,14,14,14,14,0,0,0,14,14,14,14,14,14,14,14,14,14,2147483664,0,16,14,14,14,14,14,14,14,14,14,14,0,0,0,14,14,14,14,14,14,14,14,14,14,2147483664,0,16,14,14,14,14,14,14,14,14,14,14,0,0,0,14,14,14,14,14,14,14,14,14,14,2147483664,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"height":40,"id":4,"locked":true,"name":"Fence","opacity":1,"type":"tilelayer","visible":true,"width":81,"x":0,"y":0},{"class":"Override","data":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"height":40,"id":49,"locked":true,"name":"BoardwalkTiles-05","opacity":1,"type":"tilelayer","visible":false,"width":81,"x":0,"y":0},{"class":"GardenSpawnTile","data":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0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,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"height":40,"id":14,"locked":true,"name":"DirtTiles-03","opacity":1,"type":"tilelayer","visible":false,"width":81,"x":0,"y":0},{"class":"BoardwalkTiles","data":[0,0,0,0,0,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"height":40,"id":13,"locked":true,"name":"DirtTiles-02","opacity":1,"type":"tilelayer","visible":false,"width":81,"x":0,"y":0},{"class":"BoardwalkTiles","data":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,50,50,50,50,50,50,50,50,50,0,50,50,50,50,50,50,50,50,50,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"height":40,"id":40,"locked":true,"name":"GardenSpawnTile-00","opacity":1,"type":"tilelayer","visible":false,"width":81,"x":0,"y":0}]'),Lmt=81,Fmt={height:kmt,layers:Dmt,width:Lmt};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const $mt=["seedShop","eggShop","toolShop","decorShop","sellCropsShop","sellPetShop","collectorsClub","wishingWell","shopsCenter"],Bmt=new Set([mt.DirtPatch,Ke.WoodBench,Ke.WoodBenchSideways,Ke.StoneBench,Ke.StoneBenchSideways,Ke.MarbleBench,Ke.MarbleBenchSideways,Ke.MarbleBenchBackwards,Ke.WoodBridge,Ke.WoodBridgeSideways,Ke.StoneBridge,Ke.StoneBridgeSideways,Ke.MarbleBridge,Ke.MarbleBridgeSideways,ax.MoonCelestialActivationTile,ax.DawnCelestialActivationTile]),Nmt=new Set([mt.DragonFruit,mt.PalmTreeTop]),qmt=2147483648,zmt=1073741824,Wmt=536870912,Jp={up:{x:0,y:-1},down:{x:0,y:1},left:{x:-1,y:0},right:{x:1,y:0}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Zh(e,t,r){return t+r*e.cols}function el(e,t){return{x:t%e.cols,y:Math.floor(t/e.cols)}}function EM(e,t,r,n){switch(t){case"Dirt":{const i=e.userSlotIdxAndDirtTileIdxToGlobalTileIdx[r];return i&&n<i.length?i[n]:void 0}case"Boardwalk":{const i=e.userSlotIdxAndBoardwalkTileIdxToGlobalTileIdx[r];return i&&n<i.length?i[n]:void 0}default:return}}function Kbe({map:e,tileType:t,tileIndex:r,userSlotIdx:n,includeSelf:i=!1,tileRadius:a=1}){const s=EM(e,t,n,r);if(s===void 0)return[];const o=el(e,s),l=[];for(let c=-a;c<=a;c++)for(let u=-a;u<=a;u++){if(!i&&c===0&&u===0)continue;const d=o.x+c,h=o.y+u;if(d<0||d>=e.cols||h<0||h>=e.rows)continue;const p=Zh(e,d,h);if(e.globalTileIdxToDirtTile[p]){const g=e.globalTileIdxToDirtTile[p].dirtTileIdx;l.push({tileType:"Dirt",tileIndex:g})}else if(e.globalTileIdxToBoardwalk[p]){const g=e.globalTileIdxToBoardwalk[p].boardwalkTileIdx;l.push({tileType:"Boardwalk",tileIndex:g})}}return l}function YN(e,t){const r=e.spawnTiles[t];if(r)return el(e,r)}function Hmt(e){const t=e&536870911,r=(e&qmt)!==0,n=(e&zmt)!==0,i=(e&Wmt)!==0;return{tileId:t,flipH:r,flipV:n,flipD:i}}function Dee(e){return{type:"tile",spritesheet:yn.Map,index:e}}function Umt(e){return Bmt.has(e)}function Gmt(e){return Nmt.has(e)}function Vmt(e,t){if(Gmt(e))return!1;const n=1.25;return typeof(t==null?void 0:t.scale)=="number"&&t.scale>=n||typeof(t==null?void 0:t.parentTileInfo)=="object"&&typeof t.parentTileInfo.scale=="number"&&t.parentTileInfo.scale>=n}function Ur(e,t){const{tileId:r,flipH:n,flipV:i,flipD:a}=Hmt(e.index),s=Umt(e),o=Vmt(e,t);return{tileId:r-1,scale:1,nudgeX:0,nudgeY:0,rotation:0,flipH:n,flipV:i,flipD:a,mutations:[],spritesheet:e.spritesheet,transformOrigin:"center",isDisabled:!1,isUnknown:!1,opacity:1,isObscuring:o,isBackgroundObject:s,...t}}function Ymt(){const e={};for(const t of $mt)e[t]={spawnTileIdx:[],activationTilesIdxs:[]};return e}function Kmt(){const{width:e,height:t,layers:r}=Fmt,n={},i=[],a=[],s=[],o={},l={},c=new Set,u=Ymt();for(let h=0;h<e*t;h++){let p=[];for(const m of r){const g=m.data[h];if(g>0&&m.class)switch(m.class){case"Override":p=[Ur(Dee(g))];break;case"Stack":p.push(Ur(Dee(g)));break;case"DirtTiles":{const b=parseInt(m.name.split("-")[1]);a[b]||(a[b]=[]),a[b].push(h),o[h]={userSlotIdx:b,dirtTileIdx:a[b].length-1};break}case"BoardwalkTiles":{const b=parseInt(m.name.split("-")[1]);s[b]||(s[b]=[]),s[b].push(h),l[h]={userSlotIdx:b,boardwalkTileIdx:s[b].length-1};break}case"GardenSpawnTile":{i.push(h);break}case"Spawn":{const b=m.name;b in u?u[b].spawnTileIdx.push(h):console.error(`(Spawn) Unknown building name: ${b}`);break}case"BuildingActivation":{const b=m.name;b in u?u[b].activationTilesIdxs.push(h):console.error(`(BuildingActivation) Unknown building name: ${b}`);break}case"Collision":{c.add(h);break}}}n[h]=p}return{cols:e,rows:t,imageTiles:n,spawnTiles:i,userSlotIdxAndDirtTileIdxToGlobalTileIdx:a,userSlotIdxAndBoardwalkTileIdxToGlobalTileIdx:s,globalTileIdxToDirtTile:o,globalTileIdxToBoardwalk:l,collisionTiles:c,locations:u}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function dl(e){const t=e/1e3;if(t<0)return"0s";const r=t/3600,n=t%3600/60,i=t%60,a=Math.floor(r),s=Math.floor(n),o=Math.floor(i);if(a>0){const l=[`${a}h`];return s>0&&l.push(`${s}m`),o>0&&l.push(`${o}s`),l.join(" ")}else{if(s>0)return o>0?`${s}m ${o}s`:`${s}m`;if(o>0)return`${o}s`;if(i!==0)return"<1s"}return"0s"}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const a0=(e,t=Jc.isEqual)=>BF(Me(e),r=>r,t);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ti=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/avatarAtoms.ts/avatarTriggerAnimationAtom",Me(null));ti.debugLabel="avatarTriggerAnimationAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const v0=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/positionAtoms.ts/positionAtom",Me(null));v0.debugLabel="positionAtom";const sx=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/positionAtoms.ts/lastPositionInMyGardenAtom",Me(null));sx.debugLabel="lastPositionInMyGardenAtom";const Gy=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/positionAtoms.ts/playerDirectionAtom",Me(null));Gy.debugLabel="playerDirectionAtom";const Lee="/version/436ff68/assets/Liam%20Mansfield%20-%20A%20Little%20Curious-DC6ya4aE.webm",Xmt="/version/436ff68/assets/Music_AmberMoon_01-DmuppiOK.webm",Qmt="/version/436ff68/assets/Music_Dawn_01-vDnt7eGU.webm",Jmt="/version/436ff68/assets/Music_Rain_01-CTxsvae-.webm",Zmt="/version/436ff68/assets/Music_Snow_01-CWkTMA6c.webm";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const KN={};function Xbe(e){iT||aS||bLe({audioCache:KN,url:e,volumeAtom:Pce,muteAtom:jce,options:{loop:!0}})}function PM(){vLe(KN,Pce,jce)}function XN(){yLe({audioCache:KN,shouldClearCache:!0})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const E0=(e,t,r)=>{const n=Math.floor(Math.random()*t)+1,a=`${e.slice(0,-2)}${n.toString().padStart(2,"0")}`;Jt(a,r)},egt=e=>({Bee:"Pet_Bee_01",Bunny:"Pet_Rabbit_01",Capybara:"Pet_Capybara_01",Chicken:"Pet_Chicken_01",Cow:"Pet_Cow_01",Goat:"Pet_Goat_01",Pig:"Pet_Pig_01",Snail:"Pet_Snail_01",Squirrel:"Pet_Squirrel_01",Turtle:"Pet_Turtle_01",Worm:"Pet_Worm_01",Butterfly:"Pet_Butterfly_01"})[e]||null,QN=e=>{const t=egt(e);t&&Jt(t)},tgt=e=>{switch(e){case Fn.Rain:return"Farm_Rain_01";case Fn.Frost:return"Farm_Snow_01";case Fn.Dawn:return"Dawn_Ambience_01";case Fn.AmberMoon:return"AmberMoon_Ambience_01";case null:return"Farm_Ambience_01";default:return"Farm_Ambience_01"}},rgt=e=>{if(aS)return;const t=tgt(e);t&&Jt(t,{loop:!0})},ngt=e=>{switch(e){case Fn.Rain:return Jmt;case Fn.Frost:return Zmt;case Fn.Dawn:return Qmt;case Fn.AmberMoon:return Xmt;case null:return Lee;default:return Lee}},igt=e=>{const t=ngt(e);t&&Xbe(t)},r4=e=>{E0("CoinBuy_01",4,e)},agt=e=>{E0("DonutBuy_01",4,e)},n4=e=>{E0("PlantSeed_01",3,e)},Qbe=e=>{E0("Harvest_01",4,e)},Fee=e=>{E0("Garden_Footstep_01",4,e)},Vy=e=>{E0("Object_PickUp_01",1,e)},Yy=e=>{E0("Object_Drop_01",1,e)},Jbe=e=>{E0("WateringCan_Speedup_01",1,e)},ox=e=>{E0("Break_Dirt_01",1,e)},sgt=e=>{E0("Pet_Hungry_01",1,e)},ogt=e=>{E0("Pet_EffectActive_01",1,e)},i4=e=>{E0("ShopRestocked_01",1,e)},lgt=e=>{E0("ShopsRestocked_01",1,e)},Zbe=e=>{E0("LevelUp_01",1,e)},eye=e=>{E0("Score_PlusOne_01",1,e)},tye=e=>{E0("Shop_Open_01",1,e)},rye=e=>{E0("Decor_Place_01",1,e)},cgt=e=>{E0("Decor_Flip_01",1,e)},nye=e=>{E0("Decor_Rotate_01",1,e)},ugt=e=>{E0("Journal_Opens_01",1,e)},dgt=e=>{E0("Journal_Closes_01",1,e)},$ee=e=>{E0("Journal_NextPage_01",1,e)},pgt=e=>{E0("Journal_Stamped_01",3,e),E0("CollectGem_01",1,e)},hgt=e=>{E0("Plant_Matures_01",3,e)},fgt=JSON.parse('{"boardwalkTileObjects":{},"tileObjects":{"10":{"slots":[{"endTime":1750714773664,"species":"Tomato","mutations":[],"startTime":1750714733664,"targetScale":1.000010661752049},{"endTime":1750714794557,"species":"Tomato","mutations":[],"startTime":1750714754099,"targetScale":1.011469947247592}],"species":"Tomato","maturedAt":1750109363654,"plantedAt":1750108263654,"objectType":"plant"},"11":{"slots":[{"endTime":1750714780128,"species":"Tomato","mutations":[],"startTime":1750714740128,"targetScale":1.000000799616577},{"endTime":1750714800675,"species":"Tomato","mutations":[],"startTime":1750714760647,"targetScale":1.000718049711245}],"species":"Tomato","maturedAt":1750109364230,"plantedAt":1750108264230,"objectType":"plant"},"30":{"slots":[{"endTime":1750714765598,"species":"OrangeTulip","mutations":[],"startTime":1750714759598,"targetScale":1.000016285000759}],"species":"OrangeTulip","maturedAt":1750714759598,"plantedAt":1750714759598,"objectType":"plant"},"50":{"slots":[{"endTime":1750714712948,"species":"OrangeTulip","mutations":[],"startTime":1750714706948,"targetScale":1.000011942342671}],"species":"OrangeTulip","maturedAt":1750714706948,"plantedAt":1750714706948,"objectType":"plant"},"70":{"slots":[{"endTime":1750714712195,"species":"OrangeTulip","mutations":[],"startTime":1750714706194,"targetScale":1.00017752941162}],"species":"OrangeTulip","maturedAt":1750714706194,"plantedAt":1750714706194,"objectType":"plant"},"88":{"slots":[{"endTime":1750115843618,"species":"Daffodil","mutations":[],"startTime":1750115787268,"targetScale":1.127}],"species":"Daffodil","maturedAt":1750115787268,"plantedAt":1750115787268,"objectType":"plant"},"90":{"slots":[{"endTime":1750385833104,"species":"OrangeTulip","mutations":[],"startTime":1750385826649,"targetScale":1.075868519724507}],"species":"OrangeTulip","maturedAt":1750385826649,"plantedAt":1750385826649,"objectType":"plant"},"91":{"slots":[{"endTime":1750383477938,"species":"Daffodil","mutations":[],"startTime":1750383427938,"targetScale":1.000001367699327}],"species":"Daffodil","maturedAt":1750383427938,"plantedAt":1750383427938,"objectType":"plant"},"92":{"slots":[{"endTime":1750383434989,"species":"OrangeTulip","mutations":[],"startTime":1750383428986,"targetScale":1.000616057827923}],"species":"OrangeTulip","maturedAt":1750383428986,"plantedAt":1750383428986,"objectType":"plant"},"93":{"slots":[{"endTime":1750383435765,"species":"OrangeTulip","mutations":[],"startTime":1750383429428,"targetScale":1.056184922155829}],"species":"OrangeTulip","maturedAt":1750383429428,"plantedAt":1750383429428,"objectType":"plant"},"94":{"slots":[{"endTime":1750383436357,"species":"OrangeTulip","mutations":[],"startTime":1750383430357,"targetScale":1.000002594696294}],"species":"OrangeTulip","maturedAt":1750383430357,"plantedAt":1750383430357,"objectType":"plant"},"95":{"slots":[{"endTime":1750383436575,"species":"OrangeTulip","mutations":[],"startTime":1750383430573,"targetScale":1.000475765889765}],"species":"OrangeTulip","maturedAt":1750383430573,"plantedAt":1750383430573,"objectType":"plant"},"96":{"slots":[{"endTime":1750383437619,"species":"OrangeTulip","mutations":[],"startTime":1750383431534,"targetScale":1.014299030689386}],"species":"OrangeTulip","maturedAt":1750383431534,"plantedAt":1750383431534,"objectType":"plant"},"110":{"slots":[{"endTime":1750385832399,"species":"OrangeTulip","mutations":[],"startTime":1750385825509,"targetScale":1.148342860920672}],"species":"OrangeTulip","maturedAt":1750385825509,"plantedAt":1750385825509,"objectType":"plant"},"111":{"slots":[{"endTime":1750382710497,"species":"Tomato","mutations":[],"startTime":1750382643913,"targetScale":1.664605969970001},{"endTime":1750382702479,"species":"Tomato","mutations":[],"startTime":1750382623670,"targetScale":1.970232411646578}],"species":"Tomato","maturedAt":1750200880453,"plantedAt":1750199780453,"objectType":"plant"},"112":{"slots":[{"endTime":1750458504335,"species":"Tomato","mutations":[],"startTime":1750458464335,"targetScale":1.00000008145013},{"endTime":1750458524443,"species":"Tomato","mutations":[],"startTime":1750458484443,"targetScale":1.000000160661838}],"species":"Tomato","maturedAt":1750223101173,"plantedAt":1750222001173,"objectType":"plant"},"115":{"slots":[{"endTime":1750383436812,"species":"OrangeTulip","mutations":[],"startTime":1750383430811,"targetScale":1.00018059487964}],"species":"OrangeTulip","maturedAt":1750383430811,"plantedAt":1750383430811,"objectType":"plant"},"125":{"slots":[{"endTime":1750458477842,"species":"Tomato","mutations":[],"startTime":1750458437842,"targetScale":1.000013278068888},{"endTime":1750458497983,"species":"Tomato","mutations":[],"startTime":1750458457983,"targetScale":1.000001894544782}],"species":"Tomato","maturedAt":1750320372828,"plantedAt":1750319272828,"objectType":"plant"},"126":{"slots":[{"endTime":1750458500221,"species":"Tomato","mutations":[],"startTime":1750458459702,"targetScale":1.012999314726691},{"endTime":1750458479592,"species":"Tomato","mutations":[],"startTime":1750458439592,"targetScale":1.000000039004695}],"species":"Tomato","maturedAt":1750118220094,"plantedAt":1750117120094,"objectType":"plant"},"127":{"slots":[{"endTime":1750458501113,"species":"Tomato","mutations":[],"startTime":1750458461113,"targetScale":1.000000019780605},{"endTime":1750458505546,"species":"Tomato","mutations":[],"startTime":1750458441108,"targetScale":1.610964477307628}],"species":"Tomato","maturedAt":1750107958599,"plantedAt":1750106858599,"objectType":"plant"},"128":{"slots":[{"endTime":1750458523897,"species":"Tomato","mutations":[],"startTime":1750458469923,"targetScale":1.349370092568196},{"endTime":1750458522589,"species":"Tomato","mutations":[],"startTime":1750458449757,"targetScale":1.820811686915605}],"species":"Tomato","maturedAt":1750107955167,"plantedAt":1750106855167,"objectType":"plant"},"129":{"slots":[{"endTime":1750458508700,"species":"Tomato","mutations":[],"startTime":1750458468700,"targetScale":1.000000263433065},{"endTime":1750458488524,"species":"Tomato","mutations":[],"startTime":1750458448523,"targetScale":1.000032802353086}],"species":"Tomato","maturedAt":1750107954364,"plantedAt":1750106854364,"objectType":"plant"},"130":{"slots":[{"endTime":1750319397678,"species":"Strawberry","mutations":[],"startTime":1750319385917,"targetScale":1.176155446345448},{"endTime":1750319415797,"species":"Strawberry","mutations":[],"startTime":1750319395917,"targetScale":1.988027248375126},{"endTime":1750319415917,"species":"Strawberry","mutations":[],"startTime":1750319405917,"targetScale":1.000017277986668},{"endTime":1750319429057,"species":"Strawberry","mutations":[],"startTime":1750319415917,"targetScale":1.314034506113133},{"endTime":1750319445489,"species":"Strawberry","mutations":[],"startTime":1750319425917,"targetScale":1.957247627401133}],"species":"Strawberry","maturedAt":1750319385917,"plantedAt":1750319315917,"objectType":"plant"},"131":{"slots":[{"endTime":1750382612216,"species":"Strawberry","mutations":[],"startTime":1750382602088,"targetScale":1.012888548369349},{"endTime":1750382606949,"species":"Strawberry","mutations":[],"startTime":1750382596949,"targetScale":1.000064622754578},{"endTime":1750382601331,"species":"Strawberry","mutations":[],"startTime":1750382581471,"targetScale":1.986045335187377},{"endTime":1750382596620,"species":"Strawberry","mutations":[],"startTime":1750382586620,"targetScale":1.000000137094549},{"endTime":1750382611567,"species":"Strawberry","mutations":[],"startTime":1750382591755,"targetScale":1.98129874915591}],"species":"Strawberry","maturedAt":1750319386324,"plantedAt":1750319316324,"objectType":"plant"},"132":{"slots":[{"endTime":1750319396938,"species":"Strawberry","mutations":[],"startTime":1750319386930,"targetScale":1.000897545019238},{"endTime":1750319406930,"species":"Strawberry","mutations":[],"startTime":1750319396930,"targetScale":1.000001191261545},{"endTime":1750319416969,"species":"Strawberry","mutations":[],"startTime":1750319406930,"targetScale":1.003910437592879},{"endTime":1750319427144,"species":"Strawberry","mutations":[],"startTime":1750319416930,"targetScale":1.021463968879748},{"endTime":1750319437591,"species":"Strawberry","mutations":[],"startTime":1750319426930,"targetScale":1.066155800589843}],"species":"Strawberry","maturedAt":1750319386930,"plantedAt":1750319316930,"objectType":"plant"},"133":{"slots":[{"endTime":1750695441365,"species":"Strawberry","mutations":[],"startTime":1750695431365,"targetScale":1.000000205291466},{"endTime":1750695436614,"species":"Strawberry","mutations":[],"startTime":1750695426132,"targetScale":1.048235199953225},{"endTime":1750695446625,"species":"Strawberry","mutations":[],"startTime":1750695436528,"targetScale":1.009796132508838},{"endTime":1750695439560,"species":"Strawberry","mutations":[],"startTime":1750695420858,"targetScale":1.870208625884412},{"endTime":1750695452405,"species":"Strawberry","mutations":[],"startTime":1750695441722,"targetScale":1.068328161485427}],"species":"Strawberry","maturedAt":1750319387558,"plantedAt":1750319317558,"objectType":"plant"},"134":{"slots":[{"endTime":1750695496054,"species":"Blueberry","mutations":[],"startTime":1750695473244,"targetScale":1.036831574068343},{"endTime":1750695461805,"species":"Blueberry","mutations":[],"startTime":1750695439804,"targetScale":1.000058206307662},{"endTime":1750695450656,"species":"Blueberry","mutations":[],"startTime":1750695428656,"targetScale":1.000000057881766},{"endTime":1750695472951,"species":"Blueberry","mutations":[],"startTime":1750695450951,"targetScale":1.000000059585939},{"endTime":1750695484127,"species":"Blueberry","mutations":[],"startTime":1750695462108,"targetScale":1.000872114922536}],"species":"Blueberry","maturedAt":1750199920053,"plantedAt":1750199815053,"objectType":"plant"},"135":{"slots":[{"endTime":1750359172977,"species":"Strawberry","mutations":[],"startTime":1750359162961,"targetScale":1.001626576960677},{"endTime":1750359178116,"species":"Strawberry","mutations":[],"startTime":1750359168116,"targetScale":1.00000003874703},{"endTime":1750359183295,"species":"Strawberry","mutations":[],"startTime":1750359173295,"targetScale":1.000005898026814},{"endTime":1750382592943,"species":"Strawberry","mutations":[],"startTime":1750382582940,"targetScale":1.000386415533588},{"endTime":1750359202041,"species":"Strawberry","mutations":[],"startTime":1750359192041,"targetScale":1.00000006621411}],"species":"Strawberry","maturedAt":1750319388260,"plantedAt":1750319318260,"objectType":"plant"},"137":{"slots":[{"endTime":1750359179990,"species":"Carrot","mutations":[],"startTime":1750359173480,"targetScale":1.001658923623701}],"species":"Carrot","maturedAt":1750359173480,"plantedAt":1750359173480,"objectType":"plant"},"145":{"slots":[{"endTime":1750320412482,"species":"Tomato","mutations":[],"startTime":1750320372481,"targetScale":1.000043669331271},{"endTime":1750320452782,"species":"Tomato","mutations":[],"startTime":1750320412481,"targetScale":1.007542366295718}],"species":"Tomato","maturedAt":1750320372481,"plantedAt":1750319272481,"objectType":"plant"},"146":{"slots":[{"endTime":1750319335534,"species":"Tomato","mutations":[],"startTime":1750319295534,"targetScale":1.000000032218425},{"endTime":1750319343724,"species":"Tomato","mutations":[],"startTime":1750319275144,"targetScale":1.714512588267779}],"species":"Tomato","maturedAt":1750118216859,"plantedAt":1750117116859,"objectType":"plant"},"147":{"slots":[{"endTime":1750458527147,"species":"Tomato","mutations":[],"startTime":1750458464083,"targetScale":1.576615956345249},{"endTime":1750458483941,"species":"Tomato","mutations":[],"startTime":1750458443922,"targetScale":1.000494566901712}],"species":"Tomato","maturedAt":1750109192692,"plantedAt":1750108092692,"objectType":"plant"},"148":{"slots":[{"endTime":1750710547780,"species":"Tomato","mutations":[],"startTime":1750710507645,"targetScale":1.003390289730529},{"endTime":1750710527504,"species":"Tomato","mutations":[],"startTime":1750710487504,"targetScale":1.000000011501154}],"species":"Tomato","maturedAt":1750109193090,"plantedAt":1750108093090,"objectType":"plant"},"149":{"slots":[{"endTime":1750458487057,"species":"Tomato","mutations":[],"startTime":1750458447057,"targetScale":1.000008621937351},{"endTime":1750458507229,"species":"Tomato","mutations":[],"startTime":1750458467224,"targetScale":1.000130392785979}],"species":"Tomato","maturedAt":1750109194810,"plantedAt":1750108094810,"objectType":"plant"},"150":{"slots":[{"endTime":1750710499828,"species":"Strawberry","mutations":[],"startTime":1750710489821,"targetScale":1.000789842906773},{"endTime":1750710494650,"species":"Strawberry","mutations":[],"startTime":1750710484650,"targetScale":1.000009838737054},{"endTime":1750710504962,"species":"Strawberry","mutations":[],"startTime":1750710494962,"targetScale":1.000003065309009},{"endTime":1750710489493,"species":"Strawberry","mutations":[],"startTime":1750710479493,"targetScale":1.000000401259799},{"endTime":1750710491557,"species":"Strawberry","mutations":[],"startTime":1750710474339,"targetScale":1.721837943681733}],"species":"Strawberry","maturedAt":1750115677790,"plantedAt":1750115607790,"objectType":"plant"},"151":{"slots":[{"endTime":1750710514164,"species":"Strawberry","mutations":[],"startTime":1750710496482,"targetScale":1.768270550428103},{"endTime":1750710486448,"species":"Strawberry","mutations":[],"startTime":1750710475850,"targetScale":1.059806505403956},{"endTime":1750710501336,"species":"Strawberry","mutations":[],"startTime":1750710491336,"targetScale":1.000000004892289},{"endTime":1750710491031,"species":"Strawberry","mutations":[],"startTime":1750710481023,"targetScale":1.000857843349304},{"endTime":1750710496185,"species":"Strawberry","mutations":[],"startTime":1750710486185,"targetScale":1.000005266188021}],"species":"Strawberry","maturedAt":1750115678331,"plantedAt":1750115608331,"objectType":"plant"},"152":{"slots":[{"endTime":1750391051625,"species":"Strawberry","mutations":[],"startTime":1750391041614,"targetScale":1.001143952436376},{"endTime":1750391046440,"species":"Strawberry","mutations":[],"startTime":1750391036440,"targetScale":1.000000014210468},{"endTime":1750391030946,"species":"Strawberry","mutations":[],"startTime":1750391020946,"targetScale":1.000000138063524},{"endTime":1750391041366,"species":"Strawberry","mutations":[],"startTime":1750391031282,"targetScale":1.008468567099308},{"endTime":1750391036116,"species":"Strawberry","mutations":[],"startTime":1750391026116,"targetScale":1.0000469985776}],"species":"Strawberry","maturedAt":1750115679073,"plantedAt":1750115609073,"objectType":"plant"},"153":{"slots":[{"endTime":1750319303730,"species":"Strawberry","mutations":[],"startTime":1750319293723,"targetScale":1.000710964850012},{"endTime":1750319314079,"species":"Strawberry","mutations":[],"startTime":1750319304077,"targetScale":1.000296238521056},{"endTime":1750319298564,"species":"Strawberry","mutations":[],"startTime":1750319288564,"targetScale":1.000008032613188},{"endTime":1750319320569,"species":"Strawberry","mutations":[],"startTime":1750319309253,"targetScale":1.131679469413878},{"endTime":1750319308901,"species":"Strawberry","mutations":[],"startTime":1750319298901,"targetScale":1.000059439169612}],"species":"Strawberry","maturedAt":1750115679456,"plantedAt":1750115609456,"objectType":"plant"},"154":{"slots":[{"endTime":1750319309938,"species":"Strawberry","mutations":[],"startTime":1750319299938,"targetScale":1.000070089338264},{"endTime":1750319315092,"species":"Strawberry","mutations":[],"startTime":1750319305092,"targetScale":1.000000009202546},{"endTime":1750319304775,"species":"Strawberry","mutations":[],"startTime":1750319294761,"targetScale":1.001450917994013},{"endTime":1750319320284,"species":"Strawberry","mutations":[],"startTime":1750319310284,"targetScale":1.000000134476285},{"endTime":1750319299587,"species":"Strawberry","mutations":[],"startTime":1750319289587,"targetScale":1.000000590454566}],"species":"Strawberry","maturedAt":1750117195379,"plantedAt":1750117125379,"objectType":"plant"},"155":{"slots":[{"endTime":1750359181006,"species":"Strawberry","mutations":[],"startTime":1750359162131,"targetScale":1.887554162939699},{"endTime":1750359177516,"species":"Strawberry","mutations":[],"startTime":1750359167491,"targetScale":1.002596652109834},{"endTime":1750319419152,"species":"Strawberry","mutations":[],"startTime":1750319408837,"targetScale":1.031587204086954},{"endTime":1750359167186,"species":"Strawberry","mutations":[],"startTime":1750359156947,"targetScale":1.023905098037725},{"endTime":1750319438837,"species":"Strawberry","mutations":[],"startTime":1750319428837,"targetScale":1.000000109018939}],"species":"Strawberry","maturedAt":1750319388837,"plantedAt":1750319318837,"objectType":"plant"},"165":{"slots":[{"endTime":1750391111702,"species":"Corn","mutations":[],"startTime":1750391081702,"targetScale":1.000001785958286}],"species":"Corn","maturedAt":1750319370560,"plantedAt":1750319240560,"objectType":"plant"},"166":{"slots":[{"endTime":1750391111575,"species":"Corn","mutations":[],"startTime":1750391081356,"targetScale":1.007310048196114}],"species":"Corn","maturedAt":1750319369038,"plantedAt":1750319239038,"objectType":"plant"},"167":{"slots":[{"endTime":1750391111010,"species":"Corn","mutations":[],"startTime":1750391081010,"targetScale":1.000002984013744}],"species":"Corn","maturedAt":1750319368553,"plantedAt":1750319238553,"objectType":"plant"},"168":{"slots":[{"endTime":1750695457561,"species":"Corn","mutations":[],"startTime":1750695423445,"targetScale":1.137226486704228}],"species":"Corn","maturedAt":1750319368029,"plantedAt":1750319238029,"objectType":"plant"},"169":{"slots":[{"endTime":1750391146115,"species":"Blueberry","mutations":[],"startTime":1750391123120,"targetScale":1.04525036867299},{"endTime":1750391108937,"species":"Blueberry","mutations":[],"startTime":1750391086936,"targetScale":1.000079995868413},{"endTime":1750391120078,"species":"Blueberry","mutations":[],"startTime":1750391098078,"targetScale":1.000000350761504},{"endTime":1750391097810,"species":"Blueberry","mutations":[],"startTime":1750391075809,"targetScale":1.000051153592928},{"endTime":1750391135006,"species":"Blueberry","mutations":[],"startTime":1750391111949,"targetScale":1.0480589065451}],"species":"Blueberry","maturedAt":1750108683590,"plantedAt":1750108578590,"objectType":"plant"},"170":{"slots":[{"endTime":1750319317128,"species":"Blueberry","mutations":[],"startTime":1750319295128,"targetScale":1.000001261291316},{"endTime":1750458480499,"species":"Blueberry","mutations":[],"startTime":1750458457499,"targetScale":1.045456357215897},{"endTime":1750458490811,"species":"Blueberry","mutations":[],"startTime":1750458468810,"targetScale":1.000057004649547},{"endTime":1750695454310,"species":"Blueberry","mutations":[],"startTime":1750695431447,"targetScale":1.039266881304387},{"endTime":1750695442246,"species":"Blueberry","mutations":[],"startTime":1750695420246,"targetScale":1.000007392499937}],"species":"Blueberry","maturedAt":1750107181105,"plantedAt":1750107076105,"objectType":"plant"},"171":{"slots":[{"endTime":1750695497325,"species":"Blueberry","mutations":[],"startTime":1750695465237,"targetScale":1.458572764308455},{"endTime":1750695464960,"species":"Blueberry","mutations":[],"startTime":1750695442960,"targetScale":1.000001246704737},{"endTime":1750695453810,"species":"Blueberry","mutations":[],"startTime":1750695431810,"targetScale":1.000000038834248},{"endTime":1750695442615,"species":"Blueberry","mutations":[],"startTime":1750695420615,"targetScale":1.000015065642759},{"endTime":1750695476107,"species":"Blueberry","mutations":[],"startTime":1750695454107,"targetScale":1.000006105202572}],"species":"Blueberry","maturedAt":1750106721907,"plantedAt":1750106616907,"objectType":"plant"},"172":{"slots":[{"endTime":1750695488129,"species":"Blueberry","mutations":[],"startTime":1750695466129,"targetScale":1.000000079352407},{"endTime":1750695484585,"species":"Blueberry","mutations":[],"startTime":1750695454990,"targetScale":1.345231061084465},{"endTime":1750695465830,"species":"Blueberry","mutations":[],"startTime":1750695443830,"targetScale":1.000000655275663},{"endTime":1750695443541,"species":"Blueberry","mutations":[],"startTime":1750695421541,"targetScale":1.000000677370212},{"endTime":1750695472527,"species":"Blueberry","mutations":[],"startTime":1750695432690,"targetScale":1.810782955726435}],"species":"Blueberry","maturedAt":1750107181999,"plantedAt":1750107076999,"objectType":"plant"},"173":{"slots":[{"endTime":1750458519284,"species":"Blueberry","mutations":[],"startTime":1750458484742,"targetScale":1.570108906386719},{"endTime":1750458495517,"species":"Blueberry","mutations":[],"startTime":1750458473512,"targetScale":1.000230003986308},{"endTime":1750391125081,"species":"Blueberry","mutations":[],"startTime":1750391102865,"targetScale":1.009825937116377},{"endTime":1750458487221,"species":"Blueberry","mutations":[],"startTime":1750458462405,"targetScale":1.128045248821195},{"endTime":1750458473162,"species":"Blueberry","mutations":[],"startTime":1750458451162,"targetScale":1.000005451151214}],"species":"Blueberry","maturedAt":1750108703909,"plantedAt":1750108598909,"objectType":"plant"},"174":{"slots":[{"endTime":1750319310960,"species":"Strawberry","mutations":[],"startTime":1750319300960,"targetScale":1.000071566513796},{"endTime":1750319305787,"species":"Strawberry","mutations":[],"startTime":1750319295787,"targetScale":1.000000055002654},{"endTime":1750319316142,"species":"Strawberry","mutations":[],"startTime":1750319306142,"targetScale":1.000000032597037},{"endTime":1750319300607,"species":"Strawberry","mutations":[],"startTime":1750319290596,"targetScale":1.001174896182493},{"endTime":1750458455917,"species":"Strawberry","mutations":[],"startTime":1750458445915,"targetScale":1.000224277189018}],"species":"Strawberry","maturedAt":1750115680518,"plantedAt":1750115610518,"objectType":"plant"},"175":{"slots":[{"endTime":1750199995043,"species":"Strawberry","mutations":[],"startTime":1750199985043,"targetScale":1.000006978915706},{"endTime":1750199990130,"species":"Strawberry","mutations":[],"startTime":1750199979884,"targetScale":1.024611808424769},{"endTime":1750199984847,"species":"Strawberry","mutations":[],"startTime":1750199974766,"targetScale":1.008199204639926},{"endTime":1750200000701,"species":"Strawberry","mutations":[],"startTime":1750199990194,"targetScale":1.050726757015746},{"endTime":1750200005351,"species":"Strawberry","mutations":[],"startTime":1750199995345,"targetScale":1.000699462635252}],"species":"Strawberry","maturedAt":1750117198226,"plantedAt":1750117128226,"objectType":"plant"},"176":{"slots":[{"endTime":1750199995989,"species":"Strawberry","mutations":[],"startTime":1750199985989,"targetScale":1.000018540404576},{"endTime":1750200001154,"species":"Strawberry","mutations":[],"startTime":1750199991149,"targetScale":1.000515357896691},{"endTime":1750199985699,"species":"Strawberry","mutations":[],"startTime":1750199975691,"targetScale":1.000844511754287},{"endTime":1750200006272,"species":"Strawberry","mutations":[],"startTime":1750199996272,"targetScale":1.000004825613471},{"endTime":1750199990859,"species":"Strawberry","mutations":[],"startTime":1750199980859,"targetScale":1.000000637785436}],"species":"Strawberry","maturedAt":1750117199042,"plantedAt":1750117129042,"objectType":"plant"},"177":{"slots":[{"endTime":1750359181085,"species":"Carrot","mutations":[],"startTime":1750359174472,"targetScale":1.0175165823392}],"species":"Carrot","maturedAt":1750359174472,"plantedAt":1750359174472,"objectType":"plant"},"188":{"slots":[{"endTime":1750319344625,"species":"Tomato","mutations":[],"startTime":1750319300836,"targetScale":1.094733041983871},{"endTime":1750319325040,"species":"Tomato","mutations":[],"startTime":1750319280678,"targetScale":1.109074345792134}],"species":"Tomato","maturedAt":1750201060850,"plantedAt":1750199960850,"objectType":"plant"},"189":{"slots":[{"endTime":1750319341470,"species":"Tomato","mutations":[],"startTime":1750319301470,"targetScale":1.000000362535051},{"endTime":1750319321354,"species":"Tomato","mutations":[],"startTime":1750319281336,"targetScale":1.000466349251871}],"species":"Tomato","maturedAt":1750119274018,"plantedAt":1750118174018,"objectType":"plant"},"190":{"slots":[{"endTime":1750382631552,"species":"Strawberry","mutations":[],"startTime":1750382621552,"targetScale":1.000000037028163},{"endTime":1750382634306,"species":"Strawberry","mutations":[],"startTime":1750382616410,"targetScale":1.789631215631957},{"endTime":1750382646929,"species":"Strawberry","mutations":[],"startTime":1750382636914,"targetScale":1.001500328343151},{"endTime":1750382640984,"species":"Strawberry","mutations":[],"startTime":1750382626694,"targetScale":1.429064374842533},{"endTime":1750382641805,"species":"Strawberry","mutations":[],"startTime":1750382631805,"targetScale":1.00000173862709}],"species":"Strawberry","maturedAt":1750106361326,"plantedAt":1750106291326,"objectType":"plant"},"191":{"slots":[{"endTime":1750382620880,"species":"Strawberry","mutations":[],"startTime":1750382610880,"targetScale":1.00000053501656},{"endTime":1750382631129,"species":"Strawberry","mutations":[],"startTime":1750382621129,"targetScale":1.000003397030171},{"endTime":1750382605302,"species":"Strawberry","mutations":[],"startTime":1750382595302,"targetScale":1.000078965324103},{"endTime":1750382626015,"species":"Strawberry","mutations":[],"startTime":1750382616015,"targetScale":1.000007468090423},{"endTime":1750382618083,"species":"Strawberry","mutations":[],"startTime":1750382605748,"targetScale":1.23357011771621}],"species":"Strawberry","maturedAt":1750106386865,"plantedAt":1750106316865,"objectType":"plant"},"192":{"slots":[{"endTime":1750391035056,"species":"Strawberry","mutations":[],"startTime":1750391025056,"targetScale":1.000000158422422},{"endTime":1750695441812,"species":"Strawberry","mutations":[],"startTime":1750695431812,"targetScale":1.000011887277697},{"endTime":1750695431528,"species":"Strawberry","mutations":[],"startTime":1750695421528,"targetScale":1.000000409893518},{"endTime":1750695440291,"species":"Strawberry","mutations":[],"startTime":1750695426664,"targetScale":1.362798933270857},{"endTime":1750695426407,"species":"Strawberry","mutations":[],"startTime":1750695416384,"targetScale":1.002336520658691}],"species":"Strawberry","maturedAt":1750106553510,"plantedAt":1750106483510,"objectType":"plant"},"193":{"slots":[{"endTime":1750391092062,"species":"Strawberry","mutations":[],"startTime":1750391080274,"targetScale":1.178889394162631},{"endTime":1750391104177,"species":"Strawberry","mutations":[],"startTime":1750391085451,"targetScale":1.87265046890956},{"endTime":1750391100662,"species":"Strawberry","mutations":[],"startTime":1750391090614,"targetScale":1.004867214461161},{"endTime":1750391085604,"species":"Strawberry","mutations":[],"startTime":1750391075083,"targetScale":1.052119155029785},{"endTime":1750391109095,"species":"Strawberry","mutations":[],"startTime":1750391095726,"targetScale":1.336956226540885}],"species":"Strawberry","maturedAt":1750106504721,"plantedAt":1750106434721,"objectType":"plant"},"194":{"slots":[{"endTime":1750319260788,"species":"Strawberry","mutations":[],"startTime":1750319245187,"targetScale":1.560198778959666},{"endTime":1750319252358,"species":"Strawberry","mutations":[],"startTime":1750319240048,"targetScale":1.231012707473444},{"endTime":1750319239745,"species":"Strawberry","mutations":[],"startTime":1750319229745,"targetScale":1.000057151069615},{"endTime":1750319248419,"species":"Strawberry","mutations":[],"startTime":1750319234904,"targetScale":1.35152768326756},{"endTime":1750319235075,"species":"Strawberry","mutations":[],"startTime":1750319224591,"targetScale":1.048425235573878}],"species":"Strawberry","maturedAt":1750107219873,"plantedAt":1750107149873,"objectType":"plant"},"195":{"slots":[{"endTime":1750199730027,"species":"Strawberry","mutations":[],"startTime":1750199720027,"targetScale":1.000000332859617},{"endTime":1750199745477,"species":"Strawberry","mutations":[],"startTime":1750199735456,"targetScale":1.002159106447504},{"endTime":1750199735170,"species":"Strawberry","mutations":[],"startTime":1750199725169,"targetScale":1.000123153003939},{"endTime":1750199724861,"species":"Strawberry","mutations":[],"startTime":1750199714861,"targetScale":1.000000030733663},{"endTime":1750199746107,"species":"Strawberry","mutations":[],"startTime":1750199730319,"targetScale":1.578839547774955}],"species":"Strawberry","maturedAt":1750107217388,"plantedAt":1750107147388,"objectType":"plant"},"196":{"slots":[{"endTime":1750199741200,"species":"Strawberry","mutations":[],"startTime":1750199731200,"targetScale":1.000000109134058},{"endTime":1750199731133,"species":"Strawberry","mutations":[],"startTime":1750199720937,"targetScale":1.019668868148938},{"endTime":1750199746351,"species":"Strawberry","mutations":[],"startTime":1750199736351,"targetScale":1.000000036873763},{"endTime":1750199742765,"species":"Strawberry","mutations":[],"startTime":1750199726071,"targetScale":1.669461674116508},{"endTime":1750199725812,"species":"Strawberry","mutations":[],"startTime":1750199715804,"targetScale":1.000831901379221}],"species":"Strawberry","maturedAt":1750107221267,"plantedAt":1750107151267,"objectType":"plant"},"197":{"slots":[{"endTime":1750199747245,"species":"Strawberry","mutations":[],"startTime":1750199737245,"targetScale":1.000000000395009},{"endTime":1750199742394,"species":"Strawberry","mutations":[],"startTime":1750199732034,"targetScale":1.036003289514418},{"endTime":1750199726696,"species":"Strawberry","mutations":[],"startTime":1750199716696,"targetScale":1.000014610313016},{"endTime":1750199744882,"species":"Strawberry","mutations":[],"startTime":1750199727002,"targetScale":1.788004009653622},{"endTime":1750199741441,"species":"Strawberry","mutations":[],"startTime":1750199721832,"targetScale":1.960913745137581}],"species":"Strawberry","maturedAt":1750107221792,"plantedAt":1750107151792,"objectType":"plant"},"198":{"slots":[{"endTime":1750199738094,"species":"Strawberry","mutations":[],"startTime":1750199727917,"targetScale":1.017734346822923},{"endTime":1750199727646,"species":"Strawberry","mutations":[],"startTime":1750199717645,"targetScale":1.000109598833574},{"endTime":1750199748892,"species":"Strawberry","mutations":[],"startTime":1750199738207,"targetScale":1.068588984436679},{"endTime":1750199743168,"species":"Strawberry","mutations":[],"startTime":1750199733058,"targetScale":1.01104974518763},{"endTime":1750382595009,"species":"Strawberry","mutations":[],"startTime":1750382584958,"targetScale":1.005104965106179}],"species":"Strawberry","maturedAt":1750107223172,"plantedAt":1750107153172,"objectType":"plant"}}}'),mgt={items:[{id:"0",scale:1.000000470151607,species:"Watermelon",itemType:"Produce",mutations:[]},{id:"1",scale:2.941781181309254,species:"Watermelon",itemType:"Produce",mutations:[]},{id:"2",scale:2.750416845614447,species:"Watermelon",itemType:"Produce",mutations:[]},{id:"3",scale:1.977927758517342,species:"Watermelon",itemType:"Produce",mutations:[]},{id:"4",scale:1.000387188315321,species:"Watermelon",itemType:"Produce",mutations:[]},{id:"5",scale:2.114563988789659,species:"OrangeTulip",itemType:"Produce",mutations:[]},{id:"6",scale:1.001381639722801,species:"OrangeTulip",itemType:"Produce",mutations:[]},{id:"7",scale:1.694864086828263,species:"OrangeTulip",itemType:"Produce",mutations:[]},{id:"8",scale:1.05269116224477,species:"OrangeTulip",itemType:"Produce",mutations:[]},{id:"9",scale:1.000000448280209,species:"OrangeTulip",itemType:"Produce",mutations:[]}],favoritedItemIds:[]},ggt=7549,bgt={seed:null,egg:null,tool:null},ygt=3,vgt={seed:null,egg:null,tool:null},Tgt=[],Sgt={produceJournal:{},petJournal:{}},xgt={garden:fgt,inventory:mgt,coinsCount:ggt,customRestocks:bgt,schemaVersion:ygt,shopPurchases:vgt,petSlots:Tgt,journal:Sgt},wgt=JSON.parse('{"boardwalkTileObjects":{},"tileObjects":{"0":{"slots":[{"endTime":1750731779106,"species":"Carrot","mutations":[],"startTime":1750731772606,"targetScale":1.000003058381324}],"species":"Carrot","maturedAt":1750731772606,"plantedAt":1750731772606,"objectType":"plant"},"1":{"slots":[{"endTime":1750731780136,"species":"Carrot","mutations":[],"startTime":1750731773633,"targetScale":1.000506364399127}],"species":"Carrot","maturedAt":1750731773633,"plantedAt":1750731773633,"objectType":"plant"},"2":{"slots":[{"endTime":1750731780965,"species":"Carrot","mutations":[],"startTime":1750731774453,"targetScale":1.001877283028231}],"species":"Carrot","maturedAt":1750731774453,"plantedAt":1750731774453,"objectType":"plant"},"3":{"slots":[{"endTime":1750731783016,"species":"Carrot","mutations":[],"startTime":1750731775297,"targetScale":1.187540096171194}],"species":"Carrot","maturedAt":1750731775297,"plantedAt":1750731775297,"objectType":"plant"},"4":{"slots":[{"endTime":1750731782652,"species":"Carrot","mutations":[],"startTime":1750731776136,"targetScale":1.002507403117606}],"species":"Carrot","maturedAt":1750731776136,"plantedAt":1750731776136,"objectType":"plant"},"5":{"slots":[{"endTime":1750731785569,"species":"Carrot","mutations":[],"startTime":1750731776929,"targetScale":1.329364737504389}],"species":"Carrot","maturedAt":1750731776929,"plantedAt":1750731776929,"objectType":"plant"},"6":{"slots":[{"endTime":1750731784276,"species":"Carrot","mutations":[],"startTime":1750731777776,"targetScale":1.000032290815698}],"species":"Carrot","maturedAt":1750731777776,"plantedAt":1750731777776,"objectType":"plant"},"7":{"slots":[{"endTime":1750731785227,"species":"Carrot","mutations":[],"startTime":1750731778590,"targetScale":1.021221643256581}],"species":"Carrot","maturedAt":1750731778590,"plantedAt":1750731778590,"objectType":"plant"},"8":{"slots":[{"endTime":1750731787902,"species":"Carrot","mutations":[],"startTime":1750731779554,"targetScale":1.284364084371936}],"species":"Carrot","maturedAt":1750731779554,"plantedAt":1750731779554,"objectType":"plant"},"10":{"slots":[{"endTime":1750732605316,"species":"Coconut","mutations":[],"startTime":1750729005316,"targetScale":1.000000200846367},{"endTime":1750745160072,"species":"Coconut","mutations":[],"startTime":1750735010725,"targetScale":2.819263257725092},{"endTime":1750745811379,"species":"Coconut","mutations":[],"startTime":1750742211378,"targetScale":1.000000421592},{"endTime":1750744011202,"species":"Coconut","mutations":[],"startTime":1750740411198,"targetScale":1.00000114818485},{"endTime":1750742343165,"species":"Coconut","mutations":[],"startTime":1750738610975,"targetScale":1.036719454595639},{"endTime":1750740611738,"species":"Coconut","mutations":[],"startTime":1750736810941,"targetScale":1.05577717465748},{"endTime":1750730815324,"species":"Coconut","mutations":[],"startTime":1750727203107,"targetScale":1.003393682755095}],"species":"Coconut","maturedAt":1750659299607,"plantedAt":1750616099607,"objectType":"plant"},"11":{"slots":[{"endTime":1750732605860,"species":"Coconut","mutations":[],"startTime":1750729004625,"targetScale":1.000343121018962},{"endTime":1750746091627,"species":"Coconut","mutations":[],"startTime":1750736813522,"targetScale":2.577251547008229},{"endTime":1750734636421,"species":"Coconut","mutations":[],"startTime":1750727204455,"targetScale":2.064435206511066},{"endTime":1750745814027,"species":"Coconut","mutations":[],"startTime":1750742213995,"targetScale":1.000008895697375},{"endTime":1750741881122,"species":"Coconut","mutations":[],"startTime":1750735013303,"targetScale":1.907727596902824},{"endTime":1750742269459,"species":"Coconut","mutations":[],"startTime":1750738613658,"targetScale":1.015500533458261},{"endTime":1750744013781,"species":"Coconut","mutations":[],"startTime":1750740413781,"targetScale":1.000000164577835}],"species":"Coconut","maturedAt":1750600921692,"plantedAt":1750557721692,"objectType":"plant"},"12":{"slots":[{"endTime":1750744102088,"species":"Coconut","mutations":[],"startTime":1750740415396,"targetScale":1.024081301722602},{"endTime":1750742215215,"species":"Coconut","mutations":[],"startTime":1750738615202,"targetScale":1.000003736294212},{"endTime":1750745815544,"species":"Coconut","mutations":[],"startTime":1750742215512,"targetScale":1.000008984483023},{"endTime":1750731993877,"species":"Coconut","mutations":[],"startTime":1750727208224,"targetScale":1.329348173507788},{"endTime":1750741376519,"species":"Coconut","mutations":[],"startTime":1750735014818,"targetScale":1.767139263198648},{"endTime":1750732614644,"species":"Coconut","mutations":[],"startTime":1750729008403,"targetScale":1.001733621506046},{"endTime":1750740415036,"species":"Coconut","mutations":[],"startTime":1750736815032,"targetScale":1.000001201742177}],"species":"Coconut","maturedAt":1750659301279,"plantedAt":1750616101279,"objectType":"plant"},"13":{"slots":[{"endTime":1750738621764,"species":"Coconut","mutations":[],"startTime":1750735016334,"targetScale":1.001508547409407},{"endTime":1750745818035,"species":"Coconut","mutations":[],"startTime":1750742216905,"targetScale":1.000314060555606},{"endTime":1750742366182,"species":"Coconut","mutations":[],"startTime":1750738616671,"targetScale":1.041531074696524},{"endTime":1750730810348,"species":"Coconut","mutations":[],"startTime":1750727210348,"targetScale":1.000000210520673},{"endTime":1750744913425,"species":"Coconut","mutations":[],"startTime":1750740416769,"targetScale":1.24907125936684},{"endTime":1750732650926,"species":"Coconut","mutations":[],"startTime":1750729010483,"targetScale":1.011234363940224},{"endTime":1750740416560,"species":"Coconut","mutations":[],"startTime":1750736816555,"targetScale":1.000001598841351}],"species":"Coconut","maturedAt":1750663649768,"plantedAt":1750620449768,"objectType":"plant"},"14":{"slots":[{"endTime":1750742218675,"species":"Coconut","mutations":[],"startTime":1750738618395,"targetScale":1.000077840474101},{"endTime":1750745818791,"species":"Coconut","mutations":[],"startTime":1750742218789,"targetScale":1.000000605921775},{"endTime":1750732613259,"species":"Coconut","mutations":[],"startTime":1750729012638,"targetScale":1.000172626896638},{"endTime":1750744018607,"species":"Coconut","mutations":[],"startTime":1750740418556,"targetScale":1.000014215996732},{"endTime":1750740418245,"species":"Coconut","mutations":[],"startTime":1750736818242,"targetScale":1.000000891995618},{"endTime":1750732342985,"species":"Coconut","mutations":[],"startTime":1750727212489,"targetScale":1.425137862641404},{"endTime":1750743531015,"species":"Coconut","mutations":[],"startTime":1750735018007,"targetScale":2.36472448925158}],"species":"Coconut","maturedAt":1750664821626,"plantedAt":1750621621626,"objectType":"plant"},"15":{"slots":[{"endTime":1750745823382,"species":"Coconut","mutations":[],"startTime":1750742223372,"targetScale":1.000002800871762},{"endTime":1750742223070,"species":"Coconut","mutations":[],"startTime":1750738623057,"targetScale":1.000003649303105},{"endTime":1750732636183,"species":"Coconut","mutations":[],"startTime":1750729034882,"targetScale":1.000361412064269},{"endTime":1750732160163,"species":"Coconut","mutations":[],"startTime":1750725434477,"targetScale":1.868246282968711},{"endTime":1750730736040,"species":"Coconut","mutations":[],"startTime":1750720013649,"targetScale":2.978442142545406},{"endTime":1750744023564,"species":"Coconut","mutations":[],"startTime":1750740423193,"targetScale":1.000103255276242},{"endTime":1750730834697,"species":"Coconut","mutations":[],"startTime":1750727234695,"targetScale":1.000000627338931}],"species":"Coconut","maturedAt":1750664822751,"plantedAt":1750621622751,"objectType":"plant"},"16":{"slots":[{"endTime":1750745825627,"species":"Coconut","mutations":[],"startTime":1750742225583,"targetScale":1.000012313137449},{"endTime":1750742225234,"species":"Coconut","mutations":[],"startTime":1750738625234,"targetScale":1.000000231284969},{"endTime":1750738956638,"species":"Coconut","mutations":[],"startTime":1750729036824,"targetScale":2.755504021564387},{"endTime":1750730836623,"species":"Coconut","mutations":[],"startTime":1750727236622,"targetScale":1.000000378714496},{"endTime":1750744456493,"species":"Coconut","mutations":[],"startTime":1750740425379,"targetScale":1.119753914093895},{"endTime":1750746471512,"species":"Coconut","mutations":[],"startTime":1750742786400,"targetScale":1.023642442684793},{"endTime":1750732513049,"species":"Coconut","mutations":[],"startTime":1750721836080,"targetScale":2.965824845577159}],"species":"Coconut","maturedAt":1750679516280,"plantedAt":1750636316280,"objectType":"plant"},"17":{"slots":[{"endTime":1750732638667,"species":"Coconut","mutations":[],"startTime":1750729038386,"targetScale":1.000078077690076},{"endTime":1750744033225,"species":"Coconut","mutations":[],"startTime":1750740431880,"targetScale":1.000373615550749},{"endTime":1750730851421,"species":"Coconut","mutations":[],"startTime":1750727238192,"targetScale":1.003674984730702},{"endTime":1750742231725,"species":"Coconut","mutations":[],"startTime":1750738631725,"targetScale":1.000000036231195},{"endTime":1750740433830,"species":"Coconut","mutations":[],"startTime":1750736831563,"targetScale":1.000629880248054},{"endTime":1750746211883,"species":"Coconut","mutations":[],"startTime":1750742232091,"targetScale":1.105497975023769},{"endTime":1750730980657,"species":"Coconut","mutations":[],"startTime":1750725438053,"targetScale":1.539612330725431}],"species":"Coconut","maturedAt":1750684253618,"plantedAt":1750641053618,"objectType":"plant"},"18":{"slots":[{"endTime":1750742240244,"species":"Coconut","mutations":[],"startTime":1750738633431,"targetScale":1.001892553644783},{"endTime":1750745834252,"species":"Coconut","mutations":[],"startTime":1750742233796,"targetScale":1.000126721609268},{"endTime":1750738906572,"species":"Coconut","mutations":[],"startTime":1750735033232,"targetScale":1.075927790853529},{"endTime":1750744033583,"species":"Coconut","mutations":[],"startTime":1750740433583,"targetScale":1.00000015161613},{"endTime":1750740433430,"species":"Coconut","mutations":[],"startTime":1750736833328,"targetScale":1.000028576709525},{"endTime":1750732640061,"species":"Coconut","mutations":[],"startTime":1750729039924,"targetScale":1.000038300845798},{"endTime":1750730839676,"species":"Coconut","mutations":[],"startTime":1750727239675,"targetScale":1.000000440591913}],"species":"Coconut","maturedAt":1750687293203,"plantedAt":1750644093203,"objectType":"plant"},"19":{"slots":[{"endTime":1750744344559,"species":"Coconut","mutations":[],"startTime":1750740435270,"targetScale":1.0859136197692},{"endTime":1750730841824,"species":"Coconut","mutations":[],"startTime":1750727241823,"targetScale":1.000000522144839},{"endTime":1750745835470,"species":"Coconut","mutations":[],"startTime":1750742235470,"targetScale":1.000000066741273},{"endTime":1750749401236,"species":"Coconut","mutations":[],"startTime":1750738635082,"targetScale":2.990598567348991},{"endTime":1750742880789,"species":"Coconut","mutations":[],"startTime":1750736834873,"targetScale":1.679421268443951},{"endTime":1750737427899,"species":"Coconut","mutations":[],"startTime":1750733827894,"targetScale":1.000001399546985},{"endTime":1750738228813,"species":"Coconut","mutations":[],"startTime":1750729042003,"targetScale":2.551891886320499}],"species":"Coconut","maturedAt":1750687293850,"plantedAt":1750644093850,"objectType":"plant"},"20":{"slots":[{"endTime":1750731062975,"species":"Carrot","mutations":[],"startTime":1750731056475,"targetScale":1.000088878534631}],"species":"Carrot","maturedAt":1750731056475,"plantedAt":1750731056475,"objectType":"plant"},"21":{"slots":[{"endTime":1750731064527,"species":"Carrot","mutations":[],"startTime":1750731058027,"targetScale":1.00012239551676}],"species":"Carrot","maturedAt":1750731058027,"plantedAt":1750731058027,"objectType":"plant"},"22":{"slots":[{"endTime":1750731064375,"species":"Carrot","mutations":[],"startTime":1750731056161,"targetScale":1.263741145528014}],"species":"Carrot","maturedAt":1750731056161,"plantedAt":1750731056161,"objectType":"plant"},"23":{"slots":[{"endTime":1750731062411,"species":"Carrot","mutations":[],"startTime":1750731055911,"targetScale":1.000007044080966}],"species":"Carrot","maturedAt":1750731055911,"plantedAt":1750731055911,"objectType":"plant"},"24":{"slots":[{"endTime":1750731065537,"species":"Carrot","mutations":[],"startTime":1750731059034,"targetScale":1.000585788761496}],"species":"Carrot","maturedAt":1750731059034,"plantedAt":1750731059034,"objectType":"plant"},"25":{"slots":[{"endTime":1750731062015,"species":"Carrot","mutations":[],"startTime":1750731055494,"targetScale":1.003367763219719}],"species":"Carrot","maturedAt":1750731055494,"plantedAt":1750731055494,"objectType":"plant"},"26":{"slots":[{"endTime":1750731068145,"species":"Carrot","mutations":[],"startTime":1750731055289,"targetScale":1.977936609557151}],"species":"Carrot","maturedAt":1750731055289,"plantedAt":1750731055289,"objectType":"plant"},"27":{"slots":[{"endTime":1750731066575,"species":"Carrot","mutations":[],"startTime":1750731059907,"targetScale":1.025865160237716}],"species":"Carrot","maturedAt":1750731059907,"plantedAt":1750731059907,"objectType":"plant"},"28":{"slots":[{"endTime":1750731071874,"species":"Carrot","mutations":[],"startTime":1750731055047,"targetScale":2.588777688185648}],"species":"Carrot","maturedAt":1750731055047,"plantedAt":1750731055047,"objectType":"plant"},"29":{"slots":[{"endTime":1750731071940,"species":"Carrot","mutations":[],"startTime":1750731054582,"targetScale":2.670536508404401}],"species":"Carrot","maturedAt":1750731054582,"plantedAt":1750731054582,"objectType":"plant"},"39":{"slots":[{"endTime":1750771651869,"species":"Coconut","mutations":[],"startTime":1750767978153,"targetScale":1.020476903443147},{"endTime":1750775284436,"species":"Coconut","mutations":[],"startTime":1750771578153,"targetScale":1.029523074905488},{"endTime":1750778778306,"species":"Coconut","mutations":[],"startTime":1750775178153,"targetScale":1.000042710002608},{"endTime":1750782470999,"species":"Coconut","mutations":[],"startTime":1750778778153,"targetScale":1.025790744051704},{"endTime":1750785978168,"species":"Coconut","mutations":[],"startTime":1750782378153,"targetScale":1.000004345065228},{"endTime":1750789578154,"species":"Coconut","mutations":[],"startTime":1750785978153,"targetScale":1.00000034829972},{"endTime":1750793244933,"species":"Coconut","mutations":[],"startTime":1750789578153,"targetScale":1.018550184846423}],"species":"Coconut","maturedAt":1750764378153,"plantedAt":1750721178153,"objectType":"plant"},"40":{"slots":[{"endTime":1750731057539,"species":"Carrot","mutations":[],"startTime":1750731051038,"targetScale":1.000198669260451}],"species":"Carrot","maturedAt":1750731051038,"plantedAt":1750731051038,"objectType":"plant"},"41":{"slots":[{"endTime":1750731057846,"species":"Carrot","mutations":[],"startTime":1750731051346,"targetScale":1.000000312858098}],"species":"Carrot","maturedAt":1750731051346,"plantedAt":1750731051346,"objectType":"plant"},"42":{"slots":[{"endTime":1750731071124,"species":"Carrot","mutations":[],"startTime":1750731064619,"targetScale":1.000850091614647}],"species":"Carrot","maturedAt":1750731064619,"plantedAt":1750731064619,"objectType":"plant"},"43":{"slots":[{"endTime":1750731058260,"species":"Carrot","mutations":[],"startTime":1750731051748,"targetScale":1.001848966931033}],"species":"Carrot","maturedAt":1750731051748,"plantedAt":1750731051748,"objectType":"plant"},"44":{"slots":[{"endTime":1750731059432,"species":"Carrot","mutations":[],"startTime":1750731051956,"targetScale":1.150165154627117}],"species":"Carrot","maturedAt":1750731051956,"plantedAt":1750731051956,"objectType":"plant"},"45":{"slots":[{"endTime":1750731066878,"species":"Carrot","mutations":[],"startTime":1750731052158,"targetScale":2.264668365689204}],"species":"Carrot","maturedAt":1750731052158,"plantedAt":1750731052158,"objectType":"plant"},"46":{"slots":[{"endTime":1750731058919,"species":"Carrot","mutations":[],"startTime":1750731052403,"targetScale":1.002567057703729}],"species":"Carrot","maturedAt":1750731052403,"plantedAt":1750731052403,"objectType":"plant"},"47":{"slots":[{"endTime":1750731067840,"species":"Carrot","mutations":[],"startTime":1750731061335,"targetScale":1.000873487340723}],"species":"Carrot","maturedAt":1750731061335,"plantedAt":1750731061335,"objectType":"plant"},"48":{"slots":[{"endTime":1750731059326,"species":"Carrot","mutations":[],"startTime":1750731052826,"targetScale":1.000010992157893}],"species":"Carrot","maturedAt":1750731052826,"plantedAt":1750731052826,"objectType":"plant"},"49":{"slots":[{"endTime":1750731059594,"species":"Carrot","mutations":[],"startTime":1750731053093,"targetScale":1.000186442568588}],"species":"Carrot","maturedAt":1750731053093,"plantedAt":1750731053093,"objectType":"plant"},"50":{"slots":[{"endTime":1750730376012,"species":"Blueberry","mutations":[],"startTime":1750730353375,"targetScale":1.028982006312979},{"endTime":1750730374357,"species":"Blueberry","mutations":[],"startTime":1750730330994,"targetScale":1.971087762577577},{"endTime":1750730341827,"species":"Blueberry","mutations":[],"startTime":1750730319821,"targetScale":1.000311157684995},{"endTime":1750730386556,"species":"Blueberry","mutations":[],"startTime":1750730364552,"targetScale":1.000210228814378},{"endTime":1750730364202,"species":"Blueberry","mutations":[],"startTime":1750730342202,"targetScale":1.000018304945423}],"species":"Blueberry","maturedAt":1750352426167,"plantedAt":1750352321167,"objectType":"plant"},"51":{"slots":[{"endTime":1750730387752,"species":"Blueberry","mutations":[],"startTime":1750730365748,"targetScale":1.000214626470958},{"endTime":1750730376583,"species":"Blueberry","mutations":[],"startTime":1750730354583,"targetScale":1.000001213411081},{"endTime":1750730343034,"species":"Blueberry","mutations":[],"startTime":1750730321034,"targetScale":1.000023784741083},{"endTime":1750730365658,"species":"Blueberry","mutations":[],"startTime":1750730343413,"targetScale":1.011158200753071},{"endTime":1750730355576,"species":"Blueberry","mutations":[],"startTime":1750730332249,"targetScale":1.060349338949432}],"species":"Blueberry","maturedAt":1750352528155,"plantedAt":1750352423155,"objectType":"plant"},"52":{"slots":[{"endTime":1750730355600,"species":"Blueberry","mutations":[],"startTime":1750730333600,"targetScale":1.000000052857773},{"endTime":1750730366773,"species":"Blueberry","mutations":[],"startTime":1750730344773,"targetScale":1.000000079355294},{"endTime":1750730344456,"species":"Blueberry","mutations":[],"startTime":1750730322456,"targetScale":1.000024599945977},{"endTime":1750730389169,"species":"Blueberry","mutations":[],"startTime":1750730367149,"targetScale":1.000924897363408},{"endTime":1750730380514,"species":"Blueberry","mutations":[],"startTime":1750730355948,"targetScale":1.116652620348017}],"species":"Blueberry","maturedAt":1750352529603,"plantedAt":1750352424603,"objectType":"plant"},"53":{"slots":[{"endTime":1750730345903,"species":"Blueberry","mutations":[],"startTime":1750730323582,"targetScale":1.014631539794027},{"endTime":1750730390366,"species":"Blueberry","mutations":[],"startTime":1750730368348,"targetScale":1.000835873143707},{"endTime":1750730356812,"species":"Blueberry","mutations":[],"startTime":1750730334812,"targetScale":1.000005639569827},{"endTime":1750730379165,"species":"Blueberry","mutations":[],"startTime":1750730357165,"targetScale":1.000037299240684},{"endTime":1750730379538,"species":"Blueberry","mutations":[],"startTime":1750730345985,"targetScale":1.525165057610671}],"species":"Blueberry","maturedAt":1750352887304,"plantedAt":1750352782304,"objectType":"plant"},"54":{"slots":[{"endTime":1750730369346,"species":"Blueberry","mutations":[],"startTime":1750730347346,"targetScale":1.000007676403644},{"endTime":1750730380581,"species":"Blueberry","mutations":[],"startTime":1750730358548,"targetScale":1.001539149691229},{"endTime":1750730374676,"species":"Blueberry","mutations":[],"startTime":1750730336157,"targetScale":1.750907575959932},{"endTime":1750730391620,"species":"Blueberry","mutations":[],"startTime":1750730369620,"targetScale":1.000003086793268},{"endTime":1750730346950,"species":"Blueberry","mutations":[],"startTime":1750730324946,"targetScale":1.000182404764709}],"species":"Blueberry","maturedAt":1750352888136,"plantedAt":1750352783136,"objectType":"plant"},"55":{"slots":[{"endTime":1750730389267,"species":"Blueberry","mutations":[],"startTime":1750730360392,"targetScale":1.312540790851372},{"endTime":1750730371165,"species":"Blueberry","mutations":[],"startTime":1750730349165,"targetScale":1.000000339719694},{"endTime":1750730362039,"species":"Blueberry","mutations":[],"startTime":1750730326786,"targetScale":1.60242268890234},{"endTime":1750730360235,"species":"Blueberry","mutations":[],"startTime":1750730337964,"targetScale":1.012330875856625},{"endTime":1750730412878,"species":"Blueberry","mutations":[],"startTime":1750730371547,"targetScale":1.878716029812253}],"species":"Blueberry","maturedAt":1750352889276,"plantedAt":1750352784276,"objectType":"plant"},"56":{"slots":[{"endTime":1750730372999,"species":"Blueberry","mutations":[],"startTime":1750730350528,"targetScale":1.021444513541086},{"endTime":1750730394891,"species":"Blueberry","mutations":[],"startTime":1750730372891,"targetScale":1.000000030628613},{"endTime":1750730350901,"species":"Blueberry","mutations":[],"startTime":1750730327997,"targetScale":1.041097134668605},{"endTime":1750730383722,"species":"Blueberry","mutations":[],"startTime":1750730361687,"targetScale":1.001596527648544},{"endTime":1750730367413,"species":"Blueberry","mutations":[],"startTime":1750730339324,"targetScale":1.276793191000485}],"species":"Blueberry","maturedAt":1750356182502,"plantedAt":1750356077502,"objectType":"plant"},"57":{"slots":[{"endTime":1750730362954,"species":"Blueberry","mutations":[],"startTime":1750730340950,"targetScale":1.000222015341875},{"endTime":1750730415417,"species":"Blueberry","mutations":[],"startTime":1750730374548,"targetScale":1.857722058045357},{"endTime":1750730405761,"species":"Blueberry","mutations":[],"startTime":1750730363334,"targetScale":1.928521551242349},{"endTime":1750730374157,"species":"Blueberry","mutations":[],"startTime":1750730352157,"targetScale":1.000035321225736},{"endTime":1750730351754,"species":"Blueberry","mutations":[],"startTime":1750730329754,"targetScale":1.000000002730538}],"species":"Blueberry","maturedAt":1750356183035,"plantedAt":1750356078035,"objectType":"plant"},"58":{"slots":[{"endTime":1750730375923,"species":"Blueberry","mutations":[],"startTime":1750730353916,"targetScale":1.000327939687035},{"endTime":1750730353523,"species":"Blueberry","mutations":[],"startTime":1750730331523,"targetScale":1.000000001784873},{"endTime":1750730365553,"species":"Blueberry","mutations":[],"startTime":1750730342688,"targetScale":1.039326824240889},{"endTime":1750730417611,"species":"Blueberry","mutations":[],"startTime":1750730376307,"targetScale":1.87749996367868},{"endTime":1750730387165,"species":"Blueberry","mutations":[],"startTime":1750730365121,"targetScale":1.002022241192894}],"species":"Blueberry","maturedAt":1750356183644,"plantedAt":1750356078644,"objectType":"plant"},"59":{"slots":[{"endTime":1750730355001,"species":"Blueberry","mutations":[],"startTime":1750730332997,"targetScale":1.000204476589174},{"endTime":1750730401824,"species":"Blueberry","mutations":[],"startTime":1750730377810,"targetScale":1.091576482738112},{"endTime":1750730377383,"species":"Blueberry","mutations":[],"startTime":1750730355377,"targetScale":1.000286079836379},{"endTime":1750730366203,"species":"Blueberry","mutations":[],"startTime":1750730344203,"targetScale":1.00001002492959},{"endTime":1750730388716,"species":"Blueberry","mutations":[],"startTime":1750730366716,"targetScale":1.000000113724017}],"species":"Blueberry","maturedAt":1750356184328,"plantedAt":1750356079328,"objectType":"plant"},"60":{"slots":[{"endTime":1750731055751,"species":"Carrot","mutations":[],"startTime":1750731048319,"targetScale":1.143477593248881}],"species":"Carrot","maturedAt":1750731048319,"plantedAt":1750731048319,"objectType":"plant"},"61":{"slots":[{"endTime":1750731072673,"species":"Carrot","mutations":[],"startTime":1750731066173,"targetScale":1.000008783495687}],"species":"Carrot","maturedAt":1750731066173,"plantedAt":1750731066173,"objectType":"plant"},"62":{"slots":[{"endTime":1750731054620,"species":"Carrot","mutations":[],"startTime":1750731048113,"targetScale":1.001198928118548}],"species":"Carrot","maturedAt":1750731048113,"plantedAt":1750731048113,"objectType":"plant"},"63":{"slots":[{"endTime":1750731054172,"species":"Carrot","mutations":[],"startTime":1750731047663,"targetScale":1.001419991767563}],"species":"Carrot","maturedAt":1750731047663,"plantedAt":1750731047663,"objectType":"plant"},"64":{"slots":[{"endTime":1750731053964,"species":"Carrot","mutations":[],"startTime":1750731047464,"targetScale":1.000001382313408}],"species":"Carrot","maturedAt":1750731047464,"plantedAt":1750731047464,"objectType":"plant"},"65":{"slots":[{"endTime":1750731056769,"species":"Carrot","mutations":[],"startTime":1750731047266,"targetScale":1.46213532657443}],"species":"Carrot","maturedAt":1750731047266,"plantedAt":1750731047266,"objectType":"plant"},"66":{"slots":[{"endTime":1750731053671,"species":"Carrot","mutations":[],"startTime":1750731047021,"targetScale":1.023107355300882}],"species":"Carrot","maturedAt":1750731047021,"plantedAt":1750731047021,"objectType":"plant"},"67":{"slots":[{"endTime":1750731069284,"species":"Carrot","mutations":[],"startTime":1750731062784,"targetScale":1.000000309141792}],"species":"Carrot","maturedAt":1750731062784,"plantedAt":1750731062784,"objectType":"plant"},"68":{"slots":[{"endTime":1750731053269,"species":"Carrot","mutations":[],"startTime":1750731046767,"targetScale":1.000403412191447}],"species":"Carrot","maturedAt":1750731046767,"plantedAt":1750731046767,"objectType":"plant"},"69":{"slots":[{"endTime":1750731052505,"species":"Carrot","mutations":[],"startTime":1750731046005,"targetScale":1.000000339551129}],"species":"Carrot","maturedAt":1750731046005,"plantedAt":1750731046005,"objectType":"plant"},"70":{"slots":[{"endTime":1750730394287,"species":"Blueberry","mutations":[],"startTime":1750730371206,"targetScale":1.049176932589345},{"endTime":1750730370811,"species":"Blueberry","mutations":[],"startTime":1750730348811,"targetScale":1.00001559457985},{"endTime":1750730415734,"species":"Blueberry","mutations":[],"startTime":1750730393601,"targetScale":1.006079254161989},{"endTime":1750730404485,"species":"Blueberry","mutations":[],"startTime":1750730382427,"targetScale":1.002657376671355},{"endTime":1750730382004,"species":"Blueberry","mutations":[],"startTime":1750730360004,"targetScale":1.000014134607176}],"species":"Blueberry","maturedAt":1750560160846,"plantedAt":1750560055846,"objectType":"plant"},"71":{"slots":[{"endTime":1750730376182,"species":"Blueberry","mutations":[],"startTime":1750730346896,"targetScale":1.331203979520065},{"endTime":1750730380125,"species":"Blueberry","mutations":[],"startTime":1750730358125,"targetScale":1.000016587812526},{"endTime":1750730413773,"species":"Blueberry","mutations":[],"startTime":1750730391772,"targetScale":1.000070514562015},{"endTime":1750730402576,"species":"Blueberry","mutations":[],"startTime":1750730380563,"targetScale":1.000630283733137},{"endTime":1750730411216,"species":"Blueberry","mutations":[],"startTime":1750730369343,"targetScale":1.903337344685061}],"species":"Blueberry","maturedAt":1750560161426,"plantedAt":1750560056426,"objectType":"plant"},"72":{"slots":[{"endTime":1750730412443,"species":"Blueberry","mutations":[],"startTime":1750730390438,"targetScale":1.000264530471359},{"endTime":1750730413050,"species":"Blueberry","mutations":[],"startTime":1750730379232,"targetScale":1.537211195101656},{"endTime":1750730390008,"species":"Blueberry","mutations":[],"startTime":1750730368002,"targetScale":1.000275327026867},{"endTime":1750730367601,"species":"Blueberry","mutations":[],"startTime":1750730345601,"targetScale":1.000000133748867},{"endTime":1750730378805,"species":"Blueberry","mutations":[],"startTime":1750730356805,"targetScale":1.00000000264629}],"species":"Blueberry","maturedAt":1750560161915,"plantedAt":1750560056915,"objectType":"plant"},"73":{"slots":[{"endTime":1750730377324,"species":"Blueberry","mutations":[],"startTime":1750730355324,"targetScale":1.000000862822397},{"endTime":1750730410907,"species":"Blueberry","mutations":[],"startTime":1750730388907,"targetScale":1.000001651650125},{"endTime":1750730394540,"species":"Blueberry","mutations":[],"startTime":1750730366534,"targetScale":1.27302696140839},{"endTime":1750730399703,"species":"Blueberry","mutations":[],"startTime":1750730377703,"targetScale":1.000000040262851},{"endTime":1750730371423,"species":"Blueberry","mutations":[],"startTime":1750730344101,"targetScale":1.24193705568478}],"species":"Blueberry","maturedAt":1750560162370,"plantedAt":1750560057370,"objectType":"plant"},"74":{"slots":[{"endTime":1750730377959,"species":"Blueberry","mutations":[],"startTime":1750730353621,"targetScale":1.106275739595264},{"endTime":1750730409248,"species":"Blueberry","mutations":[],"startTime":1750730387246,"targetScale":1.000093364377509},{"endTime":1750730364457,"species":"Blueberry","mutations":[],"startTime":1750730342457,"targetScale":1.000000036042301},{"endTime":1750730398041,"species":"Blueberry","mutations":[],"startTime":1750730376041,"targetScale":1.000007758483766},{"endTime":1750730386804,"species":"Blueberry","mutations":[],"startTime":1750730364804,"targetScale":1.000000102456148}],"species":"Blueberry","maturedAt":1750560499696,"plantedAt":1750560394696,"objectType":"plant"},"75":{"slots":[{"endTime":1750730407597,"species":"Blueberry","mutations":[],"startTime":1750730385597,"targetScale":1.000002178455534},{"endTime":1750730399988,"species":"Blueberry","mutations":[],"startTime":1750730374386,"targetScale":1.163747375766476},{"endTime":1750730362826,"species":"Blueberry","mutations":[],"startTime":1750730340826,"targetScale":1.000000306459621},{"endTime":1750730390756,"species":"Blueberry","mutations":[],"startTime":1750730363185,"targetScale":1.253230806360779},{"endTime":1750730374012,"species":"Blueberry","mutations":[],"startTime":1750730352012,"targetScale":1.000026988882511}],"species":"Blueberry","maturedAt":1750560776192,"plantedAt":1750560671192,"objectType":"plant"},"76":{"slots":[{"endTime":1750730405843,"species":"Blueberry","mutations":[],"startTime":1750730383843,"targetScale":1.000018150598125},{"endTime":1750730383468,"species":"Blueberry","mutations":[],"startTime":1750730361468,"targetScale":1.000034600958934},{"endTime":1750730361085,"species":"Blueberry","mutations":[],"startTime":1750730339040,"targetScale":1.002071566816993},{"endTime":1750730394656,"species":"Blueberry","mutations":[],"startTime":1750730372656,"targetScale":1.000037543968843},{"endTime":1750730372321,"species":"Blueberry","mutations":[],"startTime":1750730350295,"targetScale":1.001210491497877}],"species":"Blueberry","maturedAt":1750560776822,"plantedAt":1750560671822,"objectType":"plant"},"77":{"slots":[{"endTime":1750730422100,"species":"Blueberry","mutations":[],"startTime":1750730382591,"targetScale":1.795866311777471},{"endTime":1750730373194,"species":"Blueberry","mutations":[],"startTime":1750730349016,"targetScale":1.099028177457445},{"endTime":1750730399848,"species":"Blueberry","mutations":[],"startTime":1750730360236,"targetScale":1.800560521349654},{"endTime":1750730359824,"species":"Blueberry","mutations":[],"startTime":1750730337824,"targetScale":1.000000257689598},{"endTime":1750730414603,"species":"Blueberry","mutations":[],"startTime":1750730371417,"targetScale":1.963010343497172}],"species":"Blueberry","maturedAt":1750561163156,"plantedAt":1750561058156,"objectType":"plant"},"78":{"slots":[{"endTime":1750730389505,"species":"Blueberry","mutations":[],"startTime":1750730358339,"targetScale":1.416679313625547},{"endTime":1750730402859,"species":"Blueberry","mutations":[],"startTime":1750730380699,"targetScale":1.007279888200119},{"endTime":1750730357917,"species":"Blueberry","mutations":[],"startTime":1750730335911,"targetScale":1.00029595538127},{"endTime":1750730391537,"species":"Blueberry","mutations":[],"startTime":1750730369537,"targetScale":1.000000412367783},{"endTime":1750730387379,"species":"Blueberry","mutations":[],"startTime":1750730347121,"targetScale":1.829916153703811}],"species":"Blueberry","maturedAt":1750561163718,"plantedAt":1750561058718,"objectType":"plant"},"79":{"slots":[{"endTime":1750730379118,"species":"Blueberry","mutations":[],"startTime":1750730357118,"targetScale":1.000000967726097},{"endTime":1750730367911,"species":"Blueberry","mutations":[],"startTime":1750730345911,"targetScale":1.00000001684494},{"endTime":1750730401502,"species":"Blueberry","mutations":[],"startTime":1750730379502,"targetScale":1.000000004950244},{"endTime":1750730356692,"species":"Blueberry","mutations":[],"startTime":1750730334692,"targetScale":1.000020673527936},{"endTime":1750730390370,"species":"Blueberry","mutations":[],"startTime":1750730368331,"targetScale":1.001791019370379}],"species":"Blueberry","maturedAt":1750561393593,"plantedAt":1750561288593,"objectType":"plant"},"80":{"slots":[{"endTime":1750731081104,"species":"Carrot","mutations":[],"startTime":1750731067392,"targetScale":2.109586020922553}],"species":"Carrot","maturedAt":1750731067392,"plantedAt":1750731067392,"objectType":"plant"},"81":{"slots":[{"endTime":1750731074381,"species":"Carrot","mutations":[],"startTime":1750731067835,"targetScale":1.00722432926724}],"species":"Carrot","maturedAt":1750731067835,"plantedAt":1750731067835,"objectType":"plant"},"82":{"slots":[{"endTime":1750731762718,"species":"Carrot","mutations":[],"startTime":1750731756218,"targetScale":1.000000023134163}],"species":"Carrot","maturedAt":1750731756218,"plantedAt":1750731756218,"objectType":"plant"},"83":{"slots":[{"endTime":1750731074978,"species":"Carrot","mutations":[],"startTime":1750731068478,"targetScale":1.000012798003465}],"species":"Carrot","maturedAt":1750731068478,"plantedAt":1750731068478,"objectType":"plant"},"84":{"slots":[{"endTime":1750731075357,"species":"Carrot","mutations":[],"startTime":1750731068748,"targetScale":1.01689319217908}],"species":"Carrot","maturedAt":1750731068748,"plantedAt":1750731068748,"objectType":"plant"},"85":{"slots":[{"endTime":1750731075863,"species":"Carrot","mutations":[],"startTime":1750731069363,"targetScale":1.000070946005874}],"species":"Carrot","maturedAt":1750731069363,"plantedAt":1750731069363,"objectType":"plant"},"86":{"slots":[{"endTime":1750731765816,"species":"Carrot","mutations":[],"startTime":1750731759288,"targetScale":1.004393935931044}],"species":"Carrot","maturedAt":1750731759288,"plantedAt":1750731759288,"objectType":"plant"},"87":{"slots":[{"endTime":1750731082214,"species":"Carrot","mutations":[],"startTime":1750731069643,"targetScale":1.934152404411449}],"species":"Carrot","maturedAt":1750731069643,"plantedAt":1750731069643,"objectType":"plant"},"88":{"slots":[{"endTime":1750731077422,"species":"Carrot","mutations":[],"startTime":1750731070915,"targetScale":1.001078649793424}],"species":"Carrot","maturedAt":1750731070915,"plantedAt":1750731070915,"objectType":"plant"},"89":{"slots":[{"endTime":1750731768665,"species":"Carrot","mutations":[],"startTime":1750731761199,"targetScale":1.148761396577682}],"species":"Carrot","maturedAt":1750731761199,"plantedAt":1750731761199,"objectType":"plant"},"100":{"slots":[{"endTime":1750731777102,"species":"Carrot","mutations":[],"startTime":1750731769871,"targetScale":1.11250079893846}],"species":"Carrot","maturedAt":1750731769871,"plantedAt":1750731769871,"objectType":"plant"},"101":{"slots":[{"endTime":1750731775631,"species":"Carrot","mutations":[],"startTime":1750731769128,"targetScale":1.000540324633507}],"species":"Carrot","maturedAt":1750731769128,"plantedAt":1750731769128,"objectType":"plant"},"102":{"slots":[{"endTime":1750731774886,"species":"Carrot","mutations":[],"startTime":1750731768386,"targetScale":1.000000277510469}],"species":"Carrot","maturedAt":1750731768386,"plantedAt":1750731768386,"objectType":"plant"},"103":{"slots":[{"endTime":1750731776636,"species":"Carrot","mutations":[],"startTime":1750731767653,"targetScale":1.382143859211979}],"species":"Carrot","maturedAt":1750731767653,"plantedAt":1750731767653,"objectType":"plant"},"104":{"slots":[{"endTime":1750731773358,"species":"Carrot","mutations":[],"startTime":1750731766858,"targetScale":1.000001150011547}],"species":"Carrot","maturedAt":1750731766858,"plantedAt":1750731766858,"objectType":"plant"},"105":{"slots":[{"endTime":1750731776972,"species":"Carrot","mutations":[],"startTime":1750731766092,"targetScale":1.673905877359915}],"species":"Carrot","maturedAt":1750731766092,"plantedAt":1750731766092,"objectType":"plant"},"106":{"slots":[{"endTime":1750731772219,"species":"Carrot","mutations":[],"startTime":1750731765290,"targetScale":1.066114339681214}],"species":"Carrot","maturedAt":1750731765290,"plantedAt":1750731765290,"objectType":"plant"},"107":{"slots":[{"endTime":1750731771018,"species":"Carrot","mutations":[],"startTime":1750731764489,"targetScale":1.00458824716893}],"species":"Carrot","maturedAt":1750731764489,"plantedAt":1750731764489,"objectType":"plant"},"108":{"slots":[{"endTime":1750731770099,"species":"Carrot","mutations":[],"startTime":1750731763547,"targetScale":1.008074870366968}],"species":"Carrot","maturedAt":1750731763547,"plantedAt":1750731763547,"objectType":"plant"},"109":{"slots":[{"endTime":1750731769332,"species":"Carrot","mutations":[],"startTime":1750731762832,"targetScale":1.000000161112549}],"species":"Carrot","maturedAt":1750731762832,"plantedAt":1750731762832,"objectType":"plant"},"110":{"slots":[{"endTime":1750734491037,"species":"Pepper","mutations":[],"startTime":1750733888518,"targetScale":1.004199929624524},{"endTime":1750732066330,"species":"Pepper","mutations":[],"startTime":1750731465064,"targetScale":1.002111207887195},{"endTime":1750732367828,"species":"Pepper","mutations":[],"startTime":1750731765304,"targetScale":1.004206787670701},{"endTime":1750732665526,"species":"Pepper","mutations":[],"startTime":1750732065526,"targetScale":1.00000000016304},{"endTime":1750735219835,"species":"Pepper","mutations":[],"startTime":1750734489114,"targetScale":1.217869845976647},{"endTime":1750734963964,"species":"Pepper","mutations":[],"startTime":1750733774318,"targetScale":1.982743733454436},{"endTime":1750733646722,"species":"Pepper","mutations":[],"startTime":1750733046722,"targetScale":1.000000107551193},{"endTime":1750734073965,"species":"Pepper","mutations":[],"startTime":1750733473960,"targetScale":1.000008728540542},{"endTime":1750734807018,"species":"Pepper","mutations":[],"startTime":1750734188707,"targetScale":1.030519114456163}],"species":"Pepper","maturedAt":1750721200696,"plantedAt":1750720640696,"objectType":"plant"},"111":{"slots":[{"endTime":1750732668067,"species":"Pepper","mutations":[],"startTime":1750732068067,"targetScale":1.000000061401595},{"endTime":1750732367919,"species":"Pepper","mutations":[],"startTime":1750731767913,"targetScale":1.000010542388786},{"endTime":1750733775592,"species":"Pepper","mutations":[],"startTime":1750733175590,"targetScale":1.000003745588236},{"endTime":1750734792854,"species":"Pepper","mutations":[],"startTime":1750734191508,"targetScale":1.002244171621679},{"endTime":1750734512796,"species":"Pepper","mutations":[],"startTime":1750733891328,"targetScale":1.035780225943595},{"endTime":1750734129340,"species":"Pepper","mutations":[],"startTime":1750733475793,"targetScale":1.089245547914892},{"endTime":1750735091869,"species":"Pepper","mutations":[],"startTime":1750734491868,"targetScale":1.000001715619982},{"endTime":1750732067750,"species":"Pepper","mutations":[],"startTime":1750731467714,"targetScale":1.000061516412609},{"endTime":1750734376003,"species":"Pepper","mutations":[],"startTime":1750733776003,"targetScale":1.000000030902176}],"species":"Pepper","maturedAt":1750721202086,"plantedAt":1750720642086,"objectType":"plant"},"120":{"slots":[{"endTime":1750730308223,"species":"Corn","mutations":[],"startTime":1750730262584,"targetScale":1.521323690269765}],"species":"Corn","maturedAt":1750359779051,"plantedAt":1750359649051,"objectType":"plant"},"121":{"slots":[{"endTime":1750730293085,"species":"Corn","mutations":[],"startTime":1750730262394,"targetScale":1.023047650488333}],"species":"Corn","maturedAt":1750359779835,"plantedAt":1750359649835,"objectType":"plant"},"122":{"slots":[{"endTime":1750730292182,"species":"Corn","mutations":[],"startTime":1750730262182,"targetScale":1.000002481101063}],"species":"Corn","maturedAt":1750360697007,"plantedAt":1750360567007,"objectType":"plant"},"123":{"slots":[{"endTime":1750730292038,"species":"Corn","mutations":[],"startTime":1750730261990,"targetScale":1.001613423564526}],"species":"Corn","maturedAt":1750360697542,"plantedAt":1750360567542,"objectType":"plant"},"124":{"slots":[{"endTime":1750730291773,"species":"Corn","mutations":[],"startTime":1750730261585,"targetScale":1.00628452915456}],"species":"Corn","maturedAt":1750360697959,"plantedAt":1750360567959,"objectType":"plant"},"125":{"slots":[{"endTime":1750730308172,"species":"Corn","mutations":[],"startTime":1750730264705,"targetScale":1.448900072868046}],"species":"Corn","maturedAt":1750360698421,"plantedAt":1750360568421,"objectType":"plant"},"126":{"slots":[{"endTime":1750730291454,"species":"Corn","mutations":[],"startTime":1750730261080,"targetScale":1.012471707725462}],"species":"Corn","maturedAt":1750464943386,"plantedAt":1750464813386,"objectType":"plant"},"127":{"slots":[{"endTime":1750730290788,"species":"Corn","mutations":[],"startTime":1750730260788,"targetScale":1.000000119774545}],"species":"Corn","maturedAt":1750464943940,"plantedAt":1750464813940,"objectType":"plant"},"128":{"slots":[{"endTime":1750730290523,"species":"Corn","mutations":[],"startTime":1750730260523,"targetScale":1.000001246595532}],"species":"Corn","maturedAt":1750464944581,"plantedAt":1750464814581,"objectType":"plant"},"129":{"slots":[{"endTime":1750730290116,"species":"Corn","mutations":[],"startTime":1750730260116,"targetScale":1.000013835867311}],"species":"Corn","maturedAt":1750464969608,"plantedAt":1750464839608,"objectType":"plant"},"133":{"slots":[{"endTime":1750731155785,"species":"Daffodil","mutations":[],"startTime":1750731041688,"targetScale":2.281955033589364}],"species":"Daffodil","maturedAt":1750731041688,"plantedAt":1750731041688,"objectType":"plant"},"134":{"slots":[{"endTime":1750731092225,"species":"Daffodil","mutations":[],"startTime":1750731042225,"targetScale":1.000013112731707}],"species":"Daffodil","maturedAt":1750731042225,"plantedAt":1750731042225,"objectType":"plant"},"135":{"slots":[{"endTime":1750731092706,"species":"Daffodil","mutations":[],"startTime":1750731042706,"targetScale":1.000008780235697}],"species":"Daffodil","maturedAt":1750731042706,"plantedAt":1750731042706,"objectType":"plant"},"136":{"slots":[{"endTime":1750731093118,"species":"Daffodil","mutations":[],"startTime":1750731043118,"targetScale":1.000000259488419}],"species":"Daffodil","maturedAt":1750731043118,"plantedAt":1750731043118,"objectType":"plant"},"140":{"slots":[{"endTime":1750730301501,"species":"Corn","mutations":[],"startTime":1750730268376,"targetScale":1.104179277203537}],"species":"Corn","maturedAt":1750358598098,"plantedAt":1750358468098,"objectType":"plant"},"141":{"slots":[{"endTime":1750730301297,"species":"Corn","mutations":[],"startTime":1750730268209,"targetScale":1.102938567931066}],"species":"Corn","maturedAt":1750358597614,"plantedAt":1750358467614,"objectType":"plant"},"142":{"slots":[{"endTime":1750730298512,"species":"Corn","mutations":[],"startTime":1750730267965,"targetScale":1.018251383538256}],"species":"Corn","maturedAt":1750358597161,"plantedAt":1750358467161,"objectType":"plant"},"143":{"slots":[{"endTime":1750730298676,"species":"Corn","mutations":[],"startTime":1750730267791,"targetScale":1.029506739954956}],"species":"Corn","maturedAt":1750358596622,"plantedAt":1750358466622,"objectType":"plant"},"144":{"slots":[{"endTime":1750730297548,"species":"Corn","mutations":[],"startTime":1750730267548,"targetScale":1.000002998050358}],"species":"Corn","maturedAt":1750354688168,"plantedAt":1750354558168,"objectType":"plant"},"145":{"slots":[{"endTime":1750730323813,"species":"Corn","mutations":[],"startTime":1750730270172,"targetScale":1.78804178610051}],"species":"Corn","maturedAt":1750354686610,"plantedAt":1750354556610,"objectType":"plant"},"146":{"slots":[{"endTime":1750730297324,"species":"Corn","mutations":[],"startTime":1750730267324,"targetScale":1.000002184547963}],"species":"Corn","maturedAt":1750354685909,"plantedAt":1750354555909,"objectType":"plant"},"147":{"slots":[{"endTime":1750730297150,"species":"Corn","mutations":[],"startTime":1750730267056,"targetScale":1.003152086052573}],"species":"Corn","maturedAt":1750354387700,"plantedAt":1750354257700,"objectType":"plant"},"148":{"slots":[{"endTime":1750730303531,"species":"Corn","mutations":[],"startTime":1750730273531,"targetScale":1.000001189480992}],"species":"Corn","maturedAt":1750354386521,"plantedAt":1750354256521,"objectType":"plant"},"149":{"slots":[{"endTime":1750730296410,"species":"Corn","mutations":[],"startTime":1750730266410,"targetScale":1.000026822838137}],"species":"Corn","maturedAt":1750354385477,"plantedAt":1750354255477,"objectType":"plant"},"160":{"slots":[{"endTime":1750730307879,"species":"Tomato","mutations":[],"startTime":1750730267844,"targetScale":1.000876084474477},{"endTime":1750730287621,"species":"Tomato","mutations":[],"startTime":1750730247621,"targetScale":1.000000002676868}],"species":"Tomato","maturedAt":1750355564064,"plantedAt":1750354464064,"objectType":"plant"},"161":{"slots":[{"endTime":1750730306738,"species":"Tomato","mutations":[],"startTime":1750730266738,"targetScale":1.000024226778253},{"endTime":1750730286560,"species":"Tomato","mutations":[],"startTime":1750730246560,"targetScale":1.000000098637507}],"species":"Tomato","maturedAt":1750561487079,"plantedAt":1750560387079,"objectType":"plant"},"162":{"slots":[{"endTime":1750730325029,"species":"Tomato","mutations":[],"startTime":1750730265673,"targetScale":1.483920899487905},{"endTime":1750730291927,"species":"Tomato","mutations":[],"startTime":1750730245496,"targetScale":1.160798580295954}],"species":"Tomato","maturedAt":1750561488590,"plantedAt":1750560388590,"objectType":"plant"},"163":{"slots":[{"endTime":1750730304647,"species":"Tomato","mutations":[],"startTime":1750730264612,"targetScale":1.000887744616021},{"endTime":1750730284595,"species":"Tomato","mutations":[],"startTime":1750730244491,"targetScale":1.002610953048145}],"species":"Tomato","maturedAt":1750561767285,"plantedAt":1750560667285,"objectType":"plant"},"164":{"slots":[{"endTime":1750730303531,"species":"Tomato","mutations":[],"startTime":1750730263528,"targetScale":1.000082525564262},{"endTime":1750730283370,"species":"Tomato","mutations":[],"startTime":1750730243370,"targetScale":1.000000036416295}],"species":"Tomato","maturedAt":1750562170280,"plantedAt":1750561070280,"objectType":"plant"},"165":{"slots":[{"endTime":1750730302341,"species":"Tomato","mutations":[],"startTime":1750730262327,"targetScale":1.000366005534167},{"endTime":1750730282166,"species":"Tomato","mutations":[],"startTime":1750730242166,"targetScale":1.00000071966093}],"species":"Tomato","maturedAt":1750562171957,"plantedAt":1750561071957,"objectType":"plant"},"166":{"slots":[{"endTime":1750730321251,"species":"Tomato","mutations":[],"startTime":1750730261327,"targetScale":1.498112859191018},{"endTime":1750730288547,"species":"Tomato","mutations":[],"startTime":1750730240997,"targetScale":1.188770669030101}],"species":"Tomato","maturedAt":1750562381503,"plantedAt":1750561281503,"objectType":"plant"},"167":{"slots":[{"endTime":1750730305351,"species":"Tomato","mutations":[],"startTime":1750730260019,"targetScale":1.133319057146013},{"endTime":1750730279888,"species":"Tomato","mutations":[],"startTime":1750730239860,"targetScale":1.000710294966034}],"species":"Tomato","maturedAt":1750597977144,"plantedAt":1750596877144,"objectType":"plant"},"168":{"slots":[{"endTime":1750730313867,"species":"Tomato","mutations":[],"startTime":1750730238802,"targetScale":1.876648092159216},{"endTime":1750730299013,"species":"Tomato","mutations":[],"startTime":1750730259012,"targetScale":1.000029062064611}],"species":"Tomato","maturedAt":1750597978072,"plantedAt":1750596878072,"objectType":"plant"},"169":{"slots":[{"endTime":1750730311506,"species":"Tomato","mutations":[],"startTime":1750730238110,"targetScale":1.834917809529011},{"endTime":1750730309926,"species":"Tomato","mutations":[],"startTime":1750730258290,"targetScale":1.290923512667893}],"species":"Tomato","maturedAt":1750597979160,"plantedAt":1750596879160,"objectType":"plant"},"170":{"slots":[{"endTime":1750730292705,"species":"Strawberry","mutations":[],"startTime":1750730282703,"targetScale":1.000218631915254},{"endTime":1750730292120,"species":"Strawberry","mutations":[],"startTime":1750730277567,"targetScale":1.455384815931993},{"endTime":1750730298806,"species":"Strawberry","mutations":[],"startTime":1750730287901,"targetScale":1.090592820033686},{"endTime":1750730282636,"species":"Strawberry","mutations":[],"startTime":1750730272340,"targetScale":1.02963782221567},{"endTime":1750730308977,"species":"Strawberry","mutations":[],"startTime":1750730294904,"targetScale":1.40733428401237}],"species":"Strawberry","maturedAt":1750560200113,"plantedAt":1750560130113,"objectType":"plant"},"171":{"slots":[{"endTime":1750730293703,"species":"Strawberry","mutations":[],"startTime":1750730283703,"targetScale":1.000000057496078},{"endTime":1750730298914,"species":"Strawberry","mutations":[],"startTime":1750730288903,"targetScale":1.001185687432713},{"endTime":1750730305876,"species":"Strawberry","mutations":[],"startTime":1750730295876,"targetScale":1.000054600710656},{"endTime":1750730288533,"species":"Strawberry","mutations":[],"startTime":1750730278533,"targetScale":1.000000254776907},{"endTime":1750730283321,"species":"Strawberry","mutations":[],"startTime":1750730273321,"targetScale":1.000000189502048}],"species":"Strawberry","maturedAt":1750560200839,"plantedAt":1750560130839,"objectType":"plant"},"172":{"slots":[{"endTime":1750730302285,"species":"Strawberry","mutations":[],"startTime":1750730292285,"targetScale":1.000001265032057},{"endTime":1750730307455,"species":"Strawberry","mutations":[],"startTime":1750730297455,"targetScale":1.000078930350219},{"endTime":1750730292828,"species":"Strawberry","mutations":[],"startTime":1750730281919,"targetScale":1.090948211546535},{"endTime":1750730287710,"species":"Strawberry","mutations":[],"startTime":1750730276750,"targetScale":1.096069839966261},{"endTime":1750730297098,"species":"Strawberry","mutations":[],"startTime":1750730287098,"targetScale":1.000001831651782}],"species":"Strawberry","maturedAt":1750560201368,"plantedAt":1750560131368,"objectType":"plant"},"173":{"slots":[{"endTime":1750730309306,"species":"Strawberry","mutations":[],"startTime":1750730299305,"targetScale":1.000163588454101},{"endTime":1750730303518,"species":"Strawberry","mutations":[],"startTime":1750730283709,"targetScale":1.980999092208174},{"endTime":1750730303073,"species":"Strawberry","mutations":[],"startTime":1750730288891,"targetScale":1.418202464239309},{"endTime":1750730288564,"species":"Strawberry","mutations":[],"startTime":1750730278564,"targetScale":1.000016756802503},{"endTime":1750730304104,"species":"Strawberry","mutations":[],"startTime":1750730294104,"targetScale":1.000007981771257}],"species":"Strawberry","maturedAt":1750560467706,"plantedAt":1750560397706,"objectType":"plant"},"174":{"slots":[{"endTime":1750730310575,"species":"Strawberry","mutations":[],"startTime":1750730300575,"targetScale":1.000000148885906},{"endTime":1750730300184,"species":"Strawberry","mutations":[],"startTime":1750730290184,"targetScale":1.000000174708439},{"endTime":1750730289744,"species":"Strawberry","mutations":[],"startTime":1750730279744,"targetScale":1.000000464322208},{"endTime":1750730305345,"species":"Strawberry","mutations":[],"startTime":1750730295345,"targetScale":1.000000984851707},{"endTime":1750730304010,"species":"Strawberry","mutations":[],"startTime":1750730284976,"targetScale":1.903400636494867}],"species":"Strawberry","maturedAt":1750560468605,"plantedAt":1750560398605,"objectType":"plant"},"175":{"slots":[{"endTime":1750730312548,"species":"Strawberry","mutations":[],"startTime":1750730302548,"targetScale":1.000000003279632},{"endTime":1750730297203,"species":"Strawberry","mutations":[],"startTime":1750730287009,"targetScale":1.019462190059561},{"endTime":1750730307332,"species":"Strawberry","mutations":[],"startTime":1750730297332,"targetScale":1.000000227587613},{"endTime":1750730303011,"species":"Strawberry","mutations":[],"startTime":1750730292155,"targetScale":1.085677746397278},{"endTime":1750730291858,"species":"Strawberry","mutations":[],"startTime":1750730281858,"targetScale":1.000000000150461}],"species":"Strawberry","maturedAt":1750560469407,"plantedAt":1750560399407,"objectType":"plant"},"176":{"slots":[{"endTime":1750730299494,"species":"Strawberry","mutations":[],"startTime":1750730288600,"targetScale":1.089409292052182},{"endTime":1750730303778,"species":"Strawberry","mutations":[],"startTime":1750730293778,"targetScale":1.000055183723055},{"endTime":1750730313134,"species":"Strawberry","mutations":[],"startTime":1750730298981,"targetScale":1.415304340366398},{"endTime":1750730297120,"species":"Strawberry","mutations":[],"startTime":1750730283458,"targetScale":1.366233256851071},{"endTime":1750730315033,"species":"Strawberry","mutations":[],"startTime":1750730304165,"targetScale":1.08689358612796}],"species":"Strawberry","maturedAt":1750560744900,"plantedAt":1750560674900,"objectType":"plant"},"177":{"slots":[{"endTime":1750730315625,"species":"Strawberry","mutations":[],"startTime":1750730305583,"targetScale":1.004202973411251},{"endTime":1750730305207,"species":"Strawberry","mutations":[],"startTime":1750730295207,"targetScale":1.000004020992421},{"endTime":1750730294845,"species":"Strawberry","mutations":[],"startTime":1750730284845,"targetScale":1.000007739622867},{"endTime":1750730300074,"species":"Strawberry","mutations":[],"startTime":1750730290074,"targetScale":1.000034382372058},{"endTime":1750730313361,"species":"Strawberry","mutations":[],"startTime":1750730300403,"targetScale":1.295809575963945}],"species":"Strawberry","maturedAt":1750560745564,"plantedAt":1750560675564,"objectType":"plant"},"178":{"slots":[{"endTime":1750730301710,"species":"Strawberry","mutations":[],"startTime":1750730291705,"targetScale":1.000598466438617},{"endTime":1750730313463,"species":"Strawberry","mutations":[],"startTime":1750730296925,"targetScale":1.653892602961323},{"endTime":1750730312069,"species":"Strawberry","mutations":[],"startTime":1750730302069,"targetScale":1.000000018135325},{"endTime":1750730296969,"species":"Strawberry","mutations":[],"startTime":1750730286532,"targetScale":1.043770761553581},{"endTime":1750730317258,"species":"Strawberry","mutations":[],"startTime":1750730307258,"targetScale":1.000000332242887}],"species":"Strawberry","maturedAt":1750560746160,"plantedAt":1750560676160,"objectType":"plant"},"179":{"slots":[{"endTime":1750730318707,"species":"Strawberry","mutations":[],"startTime":1750730308707,"targetScale":1.000016142752351},{"endTime":1750730303168,"species":"Strawberry","mutations":[],"startTime":1750730293168,"targetScale":1.000002446659874},{"endTime":1750730308325,"species":"Strawberry","mutations":[],"startTime":1750730298325,"targetScale":1.000000042092222},{"endTime":1750730313519,"species":"Strawberry","mutations":[],"startTime":1750730303519,"targetScale":1.000000856378275},{"endTime":1750730301488,"species":"Strawberry","mutations":[],"startTime":1750730287947,"targetScale":1.35415047554113}],"species":"Strawberry","maturedAt":1750561132517,"plantedAt":1750561062517,"objectType":"plant"},"180":{"slots":[{"endTime":1750730309365,"species":"Tomato","mutations":[],"startTime":1750730269365,"targetScale":1.000001745882729},{"endTime":1750730289164,"species":"Tomato","mutations":[],"startTime":1750730249155,"targetScale":1.000246125412518}],"species":"Tomato","maturedAt":1750355562844,"plantedAt":1750354462844,"objectType":"plant"},"181":{"slots":[{"endTime":1750730290081,"species":"Tomato","mutations":[],"startTime":1750730250049,"targetScale":1.000818897000384},{"endTime":1750730310242,"species":"Tomato","mutations":[],"startTime":1750730270241,"targetScale":1.000045644616362}],"species":"Tomato","maturedAt":1750355284576,"plantedAt":1750354184576,"objectType":"plant"},"182":{"slots":[{"endTime":1750730311151,"species":"Tomato","mutations":[],"startTime":1750730271137,"targetScale":1.000361957850401},{"endTime":1750730318747,"species":"Tomato","mutations":[],"startTime":1750730250959,"targetScale":1.694714760779851}],"species":"Tomato","maturedAt":1750355283408,"plantedAt":1750354183408,"objectType":"plant"},"183":{"slots":[{"endTime":1750730291996,"species":"Tomato","mutations":[],"startTime":1750730251996,"targetScale":1.000000002319324},{"endTime":1750730312193,"species":"Tomato","mutations":[],"startTime":1750730272193,"targetScale":1.000001279393295}],"species":"Tomato","maturedAt":1750354792283,"plantedAt":1750353692283,"objectType":"plant"},"184":{"slots":[{"endTime":1750730314031,"species":"Tomato","mutations":[],"startTime":1750730273203,"targetScale":1.020717953343505},{"endTime":1750730293088,"species":"Tomato","mutations":[],"startTime":1750730253053,"targetScale":1.000890327890572}],"species":"Tomato","maturedAt":1750354790879,"plantedAt":1750353690879,"objectType":"plant"},"185":{"slots":[{"endTime":1750730314206,"species":"Tomato","mutations":[],"startTime":1750730274206,"targetScale":1.000000013257348},{"endTime":1750730294027,"species":"Tomato","mutations":[],"startTime":1750730254027,"targetScale":1.000000047945633}],"species":"Tomato","maturedAt":1750354610992,"plantedAt":1750353510992,"objectType":"plant"},"186":{"slots":[{"endTime":1750730315079,"species":"Tomato","mutations":[],"startTime":1750730275079,"targetScale":1.000009395835628},{"endTime":1750730298269,"species":"Tomato","mutations":[],"startTime":1750730254591,"targetScale":1.091958299721828}],"species":"Tomato","maturedAt":1750354167458,"plantedAt":1750353067458,"objectType":"plant"},"187":{"slots":[{"endTime":1750730317332,"species":"Tomato","mutations":[],"startTime":1750730277291,"targetScale":1.001034654852828},{"endTime":1750730295943,"species":"Tomato","mutations":[],"startTime":1750730255943,"targetScale":1.000000037523038}],"species":"Tomato","maturedAt":1750354166412,"plantedAt":1750353066412,"objectType":"plant"},"188":{"slots":[{"endTime":1750730318876,"species":"Tomato","mutations":[],"startTime":1750730278680,"targetScale":1.004907834516864},{"endTime":1750730298528,"species":"Tomato","mutations":[],"startTime":1750730258528,"targetScale":1.000008642028454}],"species":"Tomato","maturedAt":1750353876722,"plantedAt":1750352776722,"objectType":"plant"},"189":{"slots":[{"endTime":1750730299598,"species":"Tomato","mutations":[],"startTime":1750730259598,"targetScale":1.00000155349761},{"endTime":1750730319851,"species":"Tomato","mutations":[],"startTime":1750730279740,"targetScale":1.002778293337464}],"species":"Tomato","maturedAt":1750353605779,"plantedAt":1750352505779,"objectType":"plant"},"190":{"slots":[{"endTime":1750730315970,"species":"Strawberry","mutations":[],"startTime":1750730305085,"targetScale":1.088540470534863},{"endTime":1750730330595,"species":"Strawberry","mutations":[],"startTime":1750730320591,"targetScale":1.000482393471179},{"endTime":1750730320517,"species":"Strawberry","mutations":[],"startTime":1750730310305,"targetScale":1.021236325260289},{"endTime":1750730335818,"species":"Strawberry","mutations":[],"startTime":1750730325818,"targetScale":1.000000657886817},{"endTime":1750730325484,"species":"Strawberry","mutations":[],"startTime":1750730315483,"targetScale":1.000178009550305}],"species":"Strawberry","maturedAt":1750352016685,"plantedAt":1750351946685,"objectType":"plant"},"191":{"slots":[{"endTime":1750730329293,"species":"Strawberry","mutations":[],"startTime":1750730319293,"targetScale":1.000000106542157},{"endTime":1750730334534,"species":"Strawberry","mutations":[],"startTime":1750730324527,"targetScale":1.000728488344591},{"endTime":1750730319081,"species":"Strawberry","mutations":[],"startTime":1750730308927,"targetScale":1.015490717277278},{"endTime":1750730313716,"species":"Strawberry","mutations":[],"startTime":1750730303716,"targetScale":1.000000316251588},{"endTime":1750730324115,"species":"Strawberry","mutations":[],"startTime":1750730314115,"targetScale":1.000013249728487}],"species":"Strawberry","maturedAt":1750352072409,"plantedAt":1750352002409,"objectType":"plant"},"192":{"slots":[{"endTime":1750730336869,"species":"Strawberry","mutations":[],"startTime":1750730318038,"targetScale":1.883117793506421},{"endTime":1750730333217,"species":"Strawberry","mutations":[],"startTime":1750730323217,"targetScale":1.000023633474855},{"endTime":1750730312465,"species":"Strawberry","mutations":[],"startTime":1750730302465,"targetScale":1.000007429215678},{"endTime":1750730317676,"species":"Strawberry","mutations":[],"startTime":1750730307676,"targetScale":1.000000277416046},{"endTime":1750730323781,"species":"Strawberry","mutations":[],"startTime":1750730312826,"targetScale":1.095520934062862}],"species":"Strawberry","maturedAt":1750352237267,"plantedAt":1750352167267,"objectType":"plant"},"193":{"slots":[{"endTime":1750730331881,"species":"Strawberry","mutations":[],"startTime":1750730321880,"targetScale":1.000124781976313},{"endTime":1750730321520,"species":"Strawberry","mutations":[],"startTime":1750730311519,"targetScale":1.000141043251527},{"endTime":1750730311211,"species":"Strawberry","mutations":[],"startTime":1750730301211,"targetScale":1.000086549037578},{"endTime":1750730326705,"species":"Strawberry","mutations":[],"startTime":1750730316699,"targetScale":1.0006087697727},{"endTime":1750730316349,"species":"Strawberry","mutations":[],"startTime":1750730306349,"targetScale":1.000000038297925}],"species":"Strawberry","maturedAt":1750352239790,"plantedAt":1750352169790,"objectType":"plant"},"194":{"slots":[{"endTime":1750730333914,"species":"Strawberry","mutations":[],"startTime":1750730315524,"targetScale":1.839058813765848},{"endTime":1750730330754,"species":"Strawberry","mutations":[],"startTime":1750730320754,"targetScale":1.000001103205129},{"endTime":1750730320434,"species":"Strawberry","mutations":[],"startTime":1750730310335,"targetScale":1.009979431800531},{"endTime":1750730313571,"species":"Strawberry","mutations":[],"startTime":1750730299954,"targetScale":1.361713630907659},{"endTime":1750730323633,"species":"Strawberry","mutations":[],"startTime":1750730305148,"targetScale":1.848588135302224}],"species":"Strawberry","maturedAt":1750352841531,"plantedAt":1750352771531,"objectType":"plant"},"195":{"slots":[{"endTime":1750730313604,"species":"Strawberry","mutations":[],"startTime":1750730303604,"targetScale":1.000001124512146},{"endTime":1750730329146,"species":"Strawberry","mutations":[],"startTime":1750730319139,"targetScale":1.00077782015373},{"endTime":1750730308815,"species":"Strawberry","mutations":[],"startTime":1750730298428,"targetScale":1.038731670432463},{"endTime":1750730318793,"species":"Strawberry","mutations":[],"startTime":1750730308793,"targetScale":1.000000127345331},{"endTime":1750730324560,"species":"Strawberry","mutations":[],"startTime":1750730314016,"targetScale":1.054407896318066}],"species":"Strawberry","maturedAt":1750353127503,"plantedAt":1750353057503,"objectType":"plant"},"196":{"slots":[{"endTime":1750730307231,"species":"Strawberry","mutations":[],"startTime":1750730297230,"targetScale":1.000189939599735},{"endTime":1750730322837,"species":"Strawberry","mutations":[],"startTime":1750730312837,"targetScale":1.000041011305649},{"endTime":1750730314324,"species":"Strawberry","mutations":[],"startTime":1750730302448,"targetScale":1.187682357007088},{"endTime":1750730317625,"species":"Strawberry","mutations":[],"startTime":1750730307625,"targetScale":1.000001956071428},{"endTime":1750730328015,"species":"Strawberry","mutations":[],"startTime":1750730318012,"targetScale":1.000309860467639}],"species":"Strawberry","maturedAt":1750353129058,"plantedAt":1750353059058,"objectType":"plant"},"197":{"slots":[{"endTime":1750730326629,"species":"Strawberry","mutations":[],"startTime":1750730316627,"targetScale":1.000255843594221},{"endTime":1750730321461,"species":"Strawberry","mutations":[],"startTime":1750730311461,"targetScale":1.000000002056648},{"endTime":1750730321102,"species":"Strawberry","mutations":[],"startTime":1750730306278,"targetScale":1.482486895215732},{"endTime":1750730305889,"species":"Strawberry","mutations":[],"startTime":1750730295889,"targetScale":1.000010650046586},{"endTime":1750730311117,"species":"Strawberry","mutations":[],"startTime":1750730301116,"targetScale":1.000137259643851}],"species":"Strawberry","maturedAt":1750358064019,"plantedAt":1750357994019,"objectType":"plant"},"198":{"slots":[{"endTime":1750730309745,"species":"Strawberry","mutations":[],"startTime":1750730299725,"targetScale":1.002066815476309},{"endTime":1750730323146,"species":"Strawberry","mutations":[],"startTime":1750730304869,"targetScale":1.827769984762533},{"endTime":1750730304783,"species":"Strawberry","mutations":[],"startTime":1750730294552,"targetScale":1.02313118068996},{"endTime":1750730320078,"species":"Strawberry","mutations":[],"startTime":1750730310078,"targetScale":1.000008121767333},{"endTime":1750730325266,"species":"Strawberry","mutations":[],"startTime":1750730315264,"targetScale":1.000224500950332}],"species":"Strawberry","maturedAt":1750358064526,"plantedAt":1750357994526,"objectType":"plant"},"199":{"slots":[{"endTime":1750730304821,"species":"Strawberry","mutations":[],"startTime":1750730294805,"targetScale":1.001652466390603},{"endTime":1750730309996,"species":"Strawberry","mutations":[],"startTime":1750730299996,"targetScale":1.000010841911398},{"endTime":1750730322322,"species":"Strawberry","mutations":[],"startTime":1750730312322,"targetScale":1.000000047220643},{"endTime":1750730318315,"species":"Strawberry","mutations":[],"startTime":1750730305193,"targetScale":1.312221126191852},{"endTime":1750730301105,"species":"Strawberry","mutations":[],"startTime":1750730289588,"targetScale":1.15174404394314}],"species":"Strawberry","maturedAt":1750358467238,"plantedAt":1750358397238,"objectType":"plant"}}}'),_gt={items:[],favoritedItemIds:[]},Agt=1040385,Cgt={seed:null,egg:null,tool:null},Egt=3,Pgt={seed:null,egg:null,tool:null},jgt=[],Rgt={produceJournal:{},petJournal:{}},Igt={garden:wgt,inventory:_gt,coinsCount:Agt,customRestocks:Cgt,schemaVersion:Egt,shopPurchases:Pgt,petSlots:jgt,journal:Rgt},Ogt=JSON.parse('{"boardwalkTileObjects":{},"tileObjects":{"0":{"slots":[{"endTime":1756382886827,"species":"Sunflower","mutations":[],"startTime":1756364886724,"targetScale":1.00000576863046}],"species":"Sunflower","maturedAt":1754888147156,"plantedAt":1754801747156,"objectType":"plant"},"1":{"slots":[{"endTime":1756382896770,"species":"Sunflower","mutations":[],"startTime":1756364885523,"targetScale":1.0006248567501}],"species":"Sunflower","maturedAt":1755048963581,"plantedAt":1754962563581,"objectType":"plant"},"2":{"slots":[{"endTime":1756356846249,"species":"Pepper","mutations":["Wet"],"startTime":1756356172523,"targetScale":1.12287759348282},{"endTime":1756358874023,"species":"Pepper","mutations":["Wet"],"startTime":1756358274023,"targetScale":1.000000403931959},{"endTime":1756357072872,"species":"Pepper","mutations":["Wet"],"startTime":1756356472829,"targetScale":1.000072314198725},{"endTime":1756359174323,"species":"Pepper","mutations":["Frozen"],"startTime":1756358574323,"targetScale":1.000000199450987},{"endTime":1756357375546,"species":"Pepper","mutations":["Wet"],"startTime":1756356773015,"targetScale":1.004219823051739},{"endTime":1756357674758,"species":"Pepper","mutations":["Frozen"],"startTime":1756357073130,"targetScale":1.002714967334225},{"endTime":1756358503591,"species":"Pepper","mutations":["Chilled"],"startTime":1756357373325,"targetScale":1.883777726058281},{"endTime":1756358274253,"species":"Pepper","mutations":[],"startTime":1756357673426,"targetScale":1.001378496682419},{"endTime":1756358573623,"species":"Pepper","mutations":["Wet"],"startTime":1756357973623,"targetScale":1.000000329705829}],"species":"Pepper","maturedAt":1755137749033,"plantedAt":1755138989033,"objectType":"plant"},"3":{"slots":[{"endTime":1756273618017,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756271971609,"targetScale":1.829343064775717},{"endTime":1756355539757,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756354639716,"targetScale":1.000046452254671},{"endTime":1756356800605,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756355091438,"targetScale":1.899075290689105},{"endTime":1756356442313,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756355542313,"targetScale":1.00000000040033},{"endTime":1756356898391,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756355992913,"targetScale":1.00608693378591},{"endTime":1756357793913,"species":"DragonFruit","mutations":["Gold","Wet"],"startTime":1756356893913,"targetScale":1.000000151566578},{"endTime":1756357343317,"species":"DragonFruit","mutations":["Wet"],"startTime":1756356443313,"targetScale":1.000005483558232}],"species":"DragonFruit","maturedAt":1755922844440,"plantedAt":1755922244440,"objectType":"plant"},"4":{"slots":[{"endTime":1756362331714,"species":"Banana","mutations":["Wet"],"startTime":1756357831714,"targetScale":1.000000000675615},{"endTime":1756366958811,"species":"Banana","mutations":[],"startTime":1756362201305,"targetScale":1.057223703027818},{"endTime":1756368954231,"species":"Banana","mutations":[],"startTime":1756364454157,"targetScale":1.000016477607954},{"endTime":1756374146737,"species":"Banana","mutations":[],"startTime":1756369505979,"targetScale":1.031279557852846},{"endTime":1756371819187,"species":"Banana","mutations":[],"startTime":1756367246577,"targetScale":1.016135767157313}],"species":"Banana","maturedAt":1754297403802,"plantedAt":1754283003802,"objectType":"plant"},"5":{"slots":[{"endTime":1756374012566,"species":"Banana","mutations":[],"startTime":1756369508777,"targetScale":1.000842164780406},{"endTime":1756371275679,"species":"Banana","mutations":[],"startTime":1756366707277,"targetScale":1.015200524683552},{"endTime":1756362330140,"species":"Banana","mutations":[],"startTime":1756357830140,"targetScale":1.000000012408945},{"endTime":1756373515165,"species":"Banana","mutations":[],"startTime":1756368959177,"targetScale":1.012441910632029},{"endTime":1756368956059,"species":"Banana","mutations":[],"startTime":1756364456046,"targetScale":1.000002902226894}],"species":"Banana","maturedAt":1754295330990,"plantedAt":1754280930990,"objectType":"plant"},"6":{"slots":[{"endTime":1756356903831,"species":"DragonFruit","mutations":[],"startTime":1756355999457,"targetScale":1.00486086610544},{"endTime":1756356467338,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756355548715,"targetScale":1.020692649471022},{"endTime":1756357350119,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756356450119,"targetScale":1.00000025975404},{"endTime":1756357832752,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756356901113,"targetScale":1.035154526983189},{"endTime":1756283984601,"species":"DragonFruit","mutations":["Wet","Dawnlit"],"startTime":1756283084495,"targetScale":1.000118064505256},{"endTime":1756356301606,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756354647481,"targetScale":1.837917223273218},{"endTime":1756355999101,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756355098216,"targetScale":1.000983560680481}],"species":"DragonFruit","maturedAt":1755922841629,"plantedAt":1755922241629,"objectType":"plant"},"7":{"slots":[{"endTime":1756358277232,"species":"Tomato","mutations":["Chilled"],"startTime":1756358198278,"targetScale":1.973864732239379},{"endTime":1756359745678,"species":"Tomato","mutations":[],"startTime":1756359705678,"targetScale":1.000006885680427}],"species":"Tomato","maturedAt":1754357650910,"plantedAt":1754356550910,"objectType":"plant"},"8":{"slots":[{"endTime":1756307243131,"species":"Sunflower","mutations":["Wet"],"startTime":1756289243131,"targetScale":1.000000038970482}],"species":"Sunflower","maturedAt":1755830663848,"plantedAt":1755744263848,"objectType":"plant"},"9":{"slots":[{"endTime":1756380448496,"species":"Sunflower","mutations":[],"startTime":1756362324597,"targetScale":1.006883281380623}],"species":"Sunflower","maturedAt":1755965656482,"plantedAt":1755879256482,"objectType":"plant"},"10":{"slots":[{"endTime":1756293857715,"species":"Sunflower","mutations":["Wet"],"startTime":1756249972651,"targetScale":2.438059132986259}],"species":"Sunflower","maturedAt":1754713349375,"plantedAt":1754626949375,"objectType":"plant"},"11":{"slots":[{"endTime":1756306378540,"species":"Sunflower","mutations":["Wet"],"startTime":1756288364595,"targetScale":1.000774742942972}],"species":"Sunflower","maturedAt":1755977494274,"plantedAt":1755891094274,"objectType":"plant"},"12":{"slots":[{"endTime":1756285792685,"species":"PassionFruit","mutations":["Wet"],"startTime":1756280727195,"targetScale":1.8761076546541},{"endTime":1756361287777,"species":"PassionFruit","mutations":["Wet"],"startTime":1756358587777,"targetScale":1.000000004685198}],"species":"PassionFruit","maturedAt":1755064852333,"plantedAt":1754978452333,"objectType":"plant"},"13":{"slots":[{"endTime":1756361130429,"species":"Grape","mutations":[],"startTime":1756360143678,"targetScale":1.096390772541582}],"species":"Grape","maturedAt":1755977517892,"plantedAt":1755891117892,"objectType":"plant"},"14":{"slots":[{"endTime":1756371244109,"species":"Banana","mutations":[],"startTime":1756366712880,"targetScale":1.006939965653909},{"endTime":1756363145352,"species":"Banana","mutations":[],"startTime":1756358645328,"targetScale":1.000005396351387},{"endTime":1756370397148,"species":"Banana","mutations":[],"startTime":1756364462138,"targetScale":1.318891230572729},{"endTime":1756367299230,"species":"Banana","mutations":[],"startTime":1756362211782,"targetScale":1.130544090148783},{"endTime":1756374017018,"species":"Banana","mutations":[],"startTime":1756369512377,"targetScale":1.001031434641208}],"species":"Banana","maturedAt":1754297452226,"plantedAt":1754283052226,"objectType":"plant"},"15":{"slots":[{"endTime":1756359478475,"species":"Banana","mutations":["Wet"],"startTime":1756354972215,"targetScale":1.001391265282887},{"endTime":1756373466987,"species":"Banana","mutations":[],"startTime":1756368966983,"targetScale":1.000000933092332},{"endTime":1756368965779,"species":"Banana","mutations":[],"startTime":1756364465779,"targetScale":1.000000007614316},{"endTime":1756371220816,"species":"Banana","mutations":[],"startTime":1756366716313,"targetScale":1.001000837470863},{"endTime":1756365266325,"species":"Banana","mutations":[],"startTime":1756358381514,"targetScale":1.529958096344106}],"species":"Banana","maturedAt":1754295766327,"plantedAt":1754281366327,"objectType":"plant"},"16":{"slots":[{"endTime":1756360504677,"species":"Grape","mutations":[],"startTime":1756359604677,"targetScale":1.000000014545161}],"species":"Grape","maturedAt":1754617523319,"plantedAt":1754531123319,"objectType":"plant"},"17":{"slots":[{"endTime":1756361331177,"species":"PassionFruit","mutations":[],"startTime":1756358631177,"targetScale":1.000000224632028},{"endTime":1756362681177,"species":"PassionFruit","mutations":[],"startTime":1756359981177,"targetScale":1.000000102082648}],"species":"PassionFruit","maturedAt":1754532369969,"plantedAt":1754445969969,"objectType":"plant"},"18":{"slots":[{"endTime":1756360551261,"species":"Sunflower","mutations":[],"startTime":1756342551260,"targetScale":1.000000056305742}],"species":"Sunflower","maturedAt":1754708192489,"plantedAt":1754621792489,"objectType":"plant"},"19":{"slots":[{"endTime":1756384292297,"species":"Sunflower","mutations":[],"startTime":1756366290777,"targetScale":1.000084498713597}],"species":"Sunflower","maturedAt":1754713873033,"plantedAt":1754627473033,"objectType":"plant"},"20":{"slots":[{"endTime":1756359591337,"species":"Grape","mutations":[],"startTime":1756358649979,"targetScale":1.04595428119027}],"species":"Grape","maturedAt":1754619025853,"plantedAt":1754532625853,"objectType":"plant"},"21":{"slots":[{"endTime":1756356465252,"species":"DragonFruit","mutations":["Wet"],"startTime":1756355565176,"targetScale":1.000085387076019},{"endTime":1756358662198,"species":"DragonFruit","mutations":[],"startTime":1756356918614,"targetScale":1.937315775823309},{"endTime":1756356916217,"species":"DragonFruit","mutations":["Wet"],"startTime":1756356016217,"targetScale":1.000000523980595},{"endTime":1756357367906,"species":"DragonFruit","mutations":["Wet"],"startTime":1756356467513,"targetScale":1.000436775572207},{"endTime":1756096946448,"species":"DragonFruit","mutations":["Gold","Frozen","Dawnlit"],"startTime":1756095433013,"targetScale":1.681594445455934},{"endTime":1756356285662,"species":"DragonFruit","mutations":["Wet"],"startTime":1756354664028,"targetScale":1.801815927116598},{"endTime":1756356014871,"species":"DragonFruit","mutations":["Wet"],"startTime":1756355114870,"targetScale":1.000001388506344}],"species":"DragonFruit","maturedAt":1755548054026,"plantedAt":1755547454026,"objectType":"plant"},"22":{"slots":[{"endTime":1756358566824,"species":"Lychee","mutations":["Chilled"],"startTime":1756356766824,"targetScale":1.000000004040792},{"endTime":1756360367925,"species":"Lychee","mutations":["Wet"],"startTime":1756358567925,"targetScale":1.000000107900473},{"endTime":1756359467182,"species":"Lychee","mutations":["Chilled"],"startTime":1756357667181,"targetScale":1.000000671413355},{"endTime":1756361268621,"species":"Lychee","mutations":[],"startTime":1756359468424,"targetScale":1.000109954791462},{"endTime":1756362182046,"species":"Lychee","mutations":[],"startTime":1756360368924,"targetScale":1.007290499807005},{"endTime":1756363069326,"species":"Lychee","mutations":[],"startTime":1756361269324,"targetScale":1.000001516483003}],"species":"Lychee","maturedAt":1756194758421,"plantedAt":1756108358421,"objectType":"plant"},"23":{"slots":[{"endTime":1756383044743,"species":"Sunflower","mutations":[],"startTime":1756364889025,"targetScale":1.008651011426013}],"species":"Sunflower","maturedAt":1755634448085,"plantedAt":1755548048085,"objectType":"plant"},"24":{"slots":[{"endTime":1756362506109,"species":"Lemon","mutations":[],"startTime":1756358906100,"targetScale":1.000002503510932},{"endTime":1756364306805,"species":"Lemon","mutations":[],"startTime":1756360706777,"targetScale":1.000007856363471},{"endTime":1756366688422,"species":"Lemon","mutations":[],"startTime":1756362507977,"targetScale":1.161234925278826},{"endTime":1756367925436,"species":"Lemon","mutations":[],"startTime":1756364308377,"targetScale":1.004738680695241},{"endTime":1756369708989,"species":"Lemon","mutations":[],"startTime":1756366108977,"targetScale":1.000003471791813},{"endTime":1756371509602,"species":"Lemon","mutations":["Gold"],"startTime":1756367909578,"targetScale":1.000006829324598}],"species":"Lemon","maturedAt":1755276636028,"plantedAt":1755233436028,"objectType":"plant"},"25":{"slots":[{"endTime":1756369767228,"species":"Lemon","mutations":[],"startTime":1756366111977,"targetScale":1.015347561766626},{"endTime":1756364311184,"species":"Lemon","mutations":[],"startTime":1756360711177,"targetScale":1.000001979346982},{"endTime":1756366890988,"species":"Lemon","mutations":[],"startTime":1756362511777,"targetScale":1.216447767837723},{"endTime":1756367911971,"species":"Lemon","mutations":[],"startTime":1756364311777,"targetScale":1.000054018383282},{"endTime":1756362511219,"species":"Lemon","mutations":[],"startTime":1756358910977,"targetScale":1.000067404982433},{"endTime":1756371512377,"species":"Lemon","mutations":[],"startTime":1756367912377,"targetScale":1.000000179443996}],"species":"Lemon","maturedAt":1754582624058,"plantedAt":1754539424058,"objectType":"plant"},"26":{"slots":[{"endTime":1756381150338,"species":"Sunflower","mutations":[],"startTime":1756362963613,"targetScale":1.010373631904611}],"species":"Sunflower","maturedAt":1754799920354,"plantedAt":1754715920354,"objectType":"plant"},"27":{"slots":[{"endTime":1756359555719,"species":"Lychee","mutations":["Wet"],"startTime":1756357703123,"targetScale":1.02922025934549},{"endTime":1756360422849,"species":"Lychee","mutations":[],"startTime":1756358603555,"targetScale":1.010719196680631},{"endTime":1756361304264,"species":"Lychee","mutations":[],"startTime":1756359504117,"targetScale":1.000081701500934},{"endTime":1756358604184,"species":"Lychee","mutations":[],"startTime":1756356802523,"targetScale":1.000923291252585},{"endTime":1756363920072,"species":"Lychee","mutations":[],"startTime":1756360404557,"targetScale":1.953064113101386},{"endTime":1756184986195,"species":"Lychee","mutations":["Gold","Frozen"],"startTime":1756183186191,"targetScale":1.000002332841001}],"species":"Lychee","maturedAt":1754627434306,"plantedAt":1754541034306,"objectType":"plant"},"28":{"slots":[{"endTime":1756357708328,"species":"DragonFruit","mutations":[],"startTime":1756356808325,"targetScale":1.000004179357314},{"endTime":1756358159128,"species":"DragonFruit","mutations":["Wet"],"startTime":1756357259126,"targetScale":1.000002279847132},{"endTime":1756358611511,"species":"DragonFruit","mutations":["Wet"],"startTime":1756357709525,"targetScale":1.002207333708946},{"endTime":1756359811267,"species":"DragonFruit","mutations":[],"startTime":1756358160225,"targetScale":1.834491402957328},{"endTime":1756359669298,"species":"DragonFruit","mutations":["Wet"],"startTime":1756358610924,"targetScale":1.175971364115378},{"endTime":1756357257987,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756356357984,"targetScale":1.000004134318279},{"endTime":1756359961448,"species":"DragonFruit","mutations":[],"startTime":1756359061394,"targetScale":1.000060676477418}],"species":"DragonFruit","maturedAt":1754361970787,"plantedAt":1754361370787,"objectType":"plant"},"29":{"slots":[{"endTime":1756360506977,"species":"Grape","mutations":["Chilled"],"startTime":1756359606977,"targetScale":1.00000060660922}],"species":"Grape","maturedAt":1756004252154,"plantedAt":1755917852154,"objectType":"plant"},"30":{"slots":[{"endTime":1756361042204,"species":"Grape","mutations":[],"startTime":1756360142177,"targetScale":1.00003017735696}],"species":"Grape","maturedAt":1755973907101,"plantedAt":1755887507101,"objectType":"plant"},"31":{"slots":[{"endTime":1756358576398,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756357676377,"targetScale":1.000023878433499},{"endTime":1756359026577,"species":"DragonFruit","mutations":[],"startTime":1756358126577,"targetScale":1.00000005038089},{"endTime":1756359476777,"species":"DragonFruit","mutations":["Wet"],"startTime":1756358576777,"targetScale":1.000000010455278},{"endTime":1756359927688,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756359026977,"targetScale":1.000790682002825},{"endTime":1756360378219,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756359476978,"targetScale":1.001379352640186},{"endTime":1756360827277,"species":"DragonFruit","mutations":[],"startTime":1756359927277,"targetScale":1.000000069326993},{"endTime":1756361470791,"species":"DragonFruit","mutations":[],"startTime":1756360377577,"targetScale":1.214683141116077}],"species":"DragonFruit","maturedAt":1754620544084,"plantedAt":1754619944084,"objectType":"plant"},"32":{"slots":[{"endTime":1756360080212,"species":"Lychee","mutations":[],"startTime":1756358130577,"targetScale":1.083130781178682},{"endTime":1756360831219,"species":"Lychee","mutations":["Chilled"],"startTime":1756359031177,"targetScale":1.000023453863375},{"endTime":1756362801593,"species":"Lychee","mutations":[],"startTime":1756359931577,"targetScale":1.594453555324849},{"endTime":1756362632579,"species":"Lychee","mutations":[],"startTime":1756360832577,"targetScale":1.000001122687743},{"endTime":1756363533224,"species":"Lychee","mutations":[],"startTime":1756361732977,"targetScale":1.000137281382852},{"endTime":1756364433377,"species":"Lychee","mutations":[],"startTime":1756362633377,"targetScale":1.000000026431067}],"species":"Lychee","maturedAt":1755886446966,"plantedAt":1755800046966,"objectType":"plant"},"33":{"slots":[{"endTime":1756359992132,"species":"Lychee","mutations":[],"startTime":1756358140977,"targetScale":1.028419605953265},{"endTime":1756360841347,"species":"Lychee","mutations":["Chilled"],"startTime":1756359041347,"targetScale":1.000000126700211},{"endTime":1756362796937,"species":"Lychee","mutations":[],"startTime":1756359941782,"targetScale":1.586197765841838},{"endTime":1756362690248,"species":"Lychee","mutations":[],"startTime":1756360842001,"targetScale":1.026804206816747},{"endTime":1756364184962,"species":"Lychee","mutations":[],"startTime":1756361742252,"targetScale":1.357061569854139},{"endTime":1756365201414,"species":"Lychee","mutations":[],"startTime":1756362642280,"targetScale":1.421741199642405}],"species":"Lychee","maturedAt":1756241698059,"plantedAt":1756155298059,"objectType":"plant"},"34":{"slots":[{"endTime":1756359943478,"species":"Lychee","mutations":["Frozen"],"startTime":1756358143478,"targetScale":1.000000037479087},{"endTime":1756362413022,"species":"Lychee","mutations":[],"startTime":1756359044077,"targetScale":1.871636537874097},{"endTime":1756364139473,"species":"Lychee","mutations":[],"startTime":1756360844877,"targetScale":1.830331149208727},{"endTime":1756361744686,"species":"Lychee","mutations":[],"startTime":1756359944677,"targetScale":1.000005372232796},{"endTime":1756363551946,"species":"Lychee","mutations":[],"startTime":1756361745334,"targetScale":1.003673554312498},{"endTime":1756366180890,"species":"Lychee","mutations":[],"startTime":1756362645379,"targetScale":1.964173078051368}],"species":"Lychee","maturedAt":1756273159998,"plantedAt":1756186759998,"objectType":"plant"},"35":{"slots":[{"endTime":1756360847304,"species":"Lychee","mutations":[],"startTime":1756359047248,"targetScale":1.000031170843961},{"endTime":1756360238302,"species":"Lychee","mutations":["Chilled"],"startTime":1756358146978,"targetScale":1.161847082238937},{"endTime":1756361747612,"species":"Lychee","mutations":[],"startTime":1756359947479,"targetScale":1.000074368148338},{"endTime":1756362811493,"species":"Lychee","mutations":[],"startTime":1756360847781,"targetScale":1.090951637498302},{"endTime":1756363548177,"species":"Lychee","mutations":[],"startTime":1756361748177,"targetScale":1.000000045409996},{"endTime":1756366203059,"species":"Lychee","mutations":[],"startTime":1756362648677,"targetScale":1.974656777162537}],"species":"Lychee","maturedAt":1756273161212,"plantedAt":1756186761212,"objectType":"plant"},"36":{"slots":[{"endTime":1756359950186,"species":"Lychee","mutations":["Chilled"],"startTime":1756358150177,"targetScale":1.000005417595859},{"endTime":1756361401550,"species":"Lychee","mutations":["Wet"],"startTime":1756359050377,"targetScale":1.306207768332607},{"endTime":1756361891277,"species":"Lychee","mutations":[],"startTime":1756359950551,"targetScale":1.078181196593038},{"endTime":1756363171615,"species":"Lychee","mutations":[],"startTime":1756360850977,"targetScale":1.28924338780681},{"endTime":1756363597680,"species":"Lychee","mutations":[],"startTime":1756361751177,"targetScale":1.025835164683152},{"endTime":1756364451377,"species":"Lychee","mutations":[],"startTime":1756362651377,"targetScale":1.000000093742211}],"species":"Lychee","maturedAt":1756241688118,"plantedAt":1756155288118,"objectType":"plant"},"37":{"slots":[{"endTime":1756361275565,"species":"Lychee","mutations":[],"startTime":1756359082701,"targetScale":1.218258021544711},{"endTime":1756359982279,"species":"Lychee","mutations":["Frozen"],"startTime":1756358182279,"targetScale":1.000000109482435},{"endTime":1756361786840,"species":"Lychee","mutations":["Wet"],"startTime":1756359983177,"targetScale":1.002035460624056},{"endTime":1756362689604,"species":"Lychee","mutations":[],"startTime":1756360883377,"targetScale":1.003459485925589},{"endTime":1756363594745,"species":"Lychee","mutations":[],"startTime":1756361783977,"targetScale":1.005982529293937},{"endTime":1756364484283,"species":"Lychee","mutations":[],"startTime":1756362684277,"targetScale":1.000003535531197}],"species":"Lychee","maturedAt":1755880454494,"plantedAt":1755800054494,"objectType":"plant"},"38":{"slots":[{"endTime":1756358669824,"species":"DragonFruit","mutations":[],"startTime":1756357736093,"targetScale":1.037479323221973},{"endTime":1756275070042,"species":"DragonFruit","mutations":["Gold","Frozen"],"startTime":1756274169861,"targetScale":1.000201424767518},{"endTime":1756359477871,"species":"DragonFruit","mutations":["Wet"],"startTime":1756358187034,"targetScale":1.434263814330956},{"endTime":1756360916850,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756359988877,"targetScale":1.031081892998771},{"endTime":1756361331592,"species":"DragonFruit","mutations":["Wet"],"startTime":1756359538377,"targetScale":1.992462192003758},{"endTime":1756359537684,"species":"DragonFruit","mutations":[],"startTime":1756358637677,"targetScale":1.000008878216647},{"endTime":1756359987994,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756359087977,"targetScale":1.000019720496224}],"species":"DragonFruit","maturedAt":1754804959546,"plantedAt":1754804359546,"objectType":"plant"},"39":{"slots":[{"endTime":1756361045983,"species":"Grape","mutations":["Wet"],"startTime":1756360145983,"targetScale":1.000000138618585}],"species":"Grape","maturedAt":1756004216545,"plantedAt":1755917816545,"objectType":"plant"},"40":{"slots":[{"endTime":1756282199319,"species":"Pepper","mutations":["Ambershine","Frozen"],"startTime":1756281094796,"targetScale":1.840872018579814},{"endTime":1755845843828,"species":"Pepper","mutations":["Gold","Frozen"],"startTime":1755845243785,"targetScale":1.000071829503751},{"endTime":1756281996487,"species":"Pepper","mutations":["Frozen"],"startTime":1756281396196,"targetScale":1.000485516382108},{"endTime":1756282298800,"species":"Pepper","mutations":["Wet"],"startTime":1756281696884,"targetScale":1.003194271892485},{"endTime":1756244391247,"species":"Pepper","mutations":["Frozen"],"startTime":1756243791247,"targetScale":1.000000378568044},{"endTime":1755971458789,"species":"Pepper","mutations":["Gold","Frozen"],"startTime":1755970858785,"targetScale":1.000008200387042},{"endTime":1756234125379,"species":"Pepper","mutations":["Wet"],"startTime":1756233454052,"targetScale":1.118878384191241},{"endTime":1756244695903,"species":"Pepper","mutations":["Frozen"],"startTime":1756244095070,"targetScale":1.00138878951258},{"endTime":1756354571172,"species":"Pepper","mutations":["Frozen"],"startTime":1756353537837,"targetScale":1.722225917603744}],"species":"Pepper","maturedAt":1755229713270,"plantedAt":1755229153270,"objectType":"plant"},"41":{"slots":[{"endTime":1756358682371,"species":"Lychee","mutations":["Wet"],"startTime":1756356763149,"targetScale":1.06623447943373},{"endTime":1756360124858,"species":"Lychee","mutations":[],"startTime":1756357663401,"targetScale":1.367476360463074},{"endTime":1756360368891,"species":"Lychee","mutations":["Frozen"],"startTime":1756358563623,"targetScale":1.002926949911416},{"endTime":1756361271000,"species":"Lychee","mutations":[],"startTime":1756359463824,"targetScale":1.00398683270181},{"endTime":1756362806050,"species":"Lychee","mutations":[],"startTime":1756360363937,"targetScale":1.35672992664123},{"endTime":1756363064119,"species":"Lychee","mutations":[],"startTime":1756361264114,"targetScale":1.000003316802712}],"species":"Lychee","maturedAt":1755848192228,"plantedAt":1755761792228,"objectType":"plant"},"42":{"slots":[{"endTime":1756382884026,"species":"Sunflower","mutations":[],"startTime":1756364884026,"targetScale":1.000000054931096}],"species":"Sunflower","maturedAt":1755048961203,"plantedAt":1754962561203,"objectType":"plant"},"43":{"slots":[{"endTime":1756360060238,"species":"Grape","mutations":["Chilled"],"startTime":1756358647277,"targetScale":1.569957452175989}],"species":"Grape","maturedAt":1756004243471,"plantedAt":1755917843471,"objectType":"plant"},"44":{"slots":[{"endTime":1756306695451,"species":"Sunflower","mutations":["Wet"],"startTime":1756288158895,"targetScale":1.029808711712778}],"species":"Sunflower","maturedAt":1754970038978,"plantedAt":1754883638978,"objectType":"plant"},"45":{"slots":[{"endTime":1756306158567,"species":"Sunflower","mutations":["Frozen"],"startTime":1756288158397,"targetScale":1.000009454671766}],"species":"Sunflower","maturedAt":1755830718195,"plantedAt":1755744318195,"objectType":"plant"},"46":{"slots":[{"endTime":1756514217539,"species":"Mushroom","mutations":[],"startTime":1756232186334,"targetScale":3.264250064489971}],"species":"Mushroom","maturedAt":1756232186334,"plantedAt":1756232186334,"objectType":"plant"},"47":{"slots":[{"endTime":1756384658969,"species":"Sunflower","mutations":[],"startTime":1756342567479,"targetScale":2.338416123148932}],"species":"Sunflower","maturedAt":1755977491593,"plantedAt":1755891091593,"objectType":"plant"},"48":{"slots":[{"endTime":1756358617478,"species":"Lychee","mutations":["Wet"],"startTime":1756356815326,"targetScale":1.001195773174602},{"endTime":1756360364883,"species":"Lychee","mutations":["Wet"],"startTime":1756357715473,"targetScale":1.47189455149175},{"endTime":1756360415642,"species":"Lychee","mutations":["Frozen"],"startTime":1756358615625,"targetScale":1.00000999427739},{"endTime":1756361315785,"species":"Lychee","mutations":[],"startTime":1756359515728,"targetScale":1.0000316788569},{"endTime":1756362220076,"species":"Lychee","mutations":[],"startTime":1756360415890,"targetScale":1.002326088381798},{"endTime":1756363116598,"species":"Lychee","mutations":[],"startTime":1756361316118,"targetScale":1.000266812444014}],"species":"Lychee","maturedAt":1754710524497,"plantedAt":1754624124497,"objectType":"plant"},"49":{"slots":[{"endTime":1756243246930,"species":"Tomato","mutations":["Gold","Frozen"],"startTime":1756243206930,"targetScale":1.000000235889147},{"endTime":1756359749536,"species":"Tomato","mutations":["Frozen"],"startTime":1756359708177,"targetScale":1.033996544180919}],"species":"Tomato","maturedAt":1754357654086,"plantedAt":1754356554086,"objectType":"plant"},"50":{"slots":[{"endTime":1756444948625,"species":"Lychee","mutations":[],"startTime":1756443148625,"targetScale":1.000000158534286},{"endTime":1756445848625,"species":"Lychee","mutations":[],"startTime":1756444048625,"targetScale":1.000000031646223},{"endTime":1756447037204,"species":"Lychee","mutations":[],"startTime":1756444948625,"targetScale":1.160322002557695},{"endTime":1756447709379,"species":"Lychee","mutations":[],"startTime":1756445848625,"targetScale":1.033752706523755},{"endTime":1756448549009,"species":"Lychee","mutations":[],"startTime":1756446748625,"targetScale":1.000213579723491},{"endTime":1756449448657,"species":"Lychee","mutations":[],"startTime":1756447648625,"targetScale":1.000018297661684}],"species":"Lychee","maturedAt":1756442248625,"plantedAt":1756355848625,"objectType":"plant"},"51":{"slots":[{"endTime":1756364424977,"species":"Lychee","mutations":[],"startTime":1756362624977,"targetScale":1.000000299220089},{"endTime":1756359922177,"species":"Lychee","mutations":["Wet"],"startTime":1756358122177,"targetScale":1.000000023376189},{"endTime":1756360830959,"species":"Lychee","mutations":["Chilled"],"startTime":1756359022877,"targetScale":1.004490350279966},{"endTime":1756361723285,"species":"Lychee","mutations":[],"startTime":1756359923251,"targetScale":1.000019425268026},{"endTime":1756364031034,"species":"Lychee","mutations":[],"startTime":1756360823977,"targetScale":1.781698573561765},{"endTime":1756363524586,"species":"Lychee","mutations":[],"startTime":1756361724577,"targetScale":1.000005205774769}],"species":"Lychee","maturedAt":1754690426491,"plantedAt":1754604026491,"objectType":"plant"},"52":{"slots":[{"endTime":1756308098167,"species":"Sunflower","mutations":["Frozen"],"startTime":1756290097897,"targetScale":1.000015006550728}],"species":"Sunflower","maturedAt":1754802318104,"plantedAt":1754715918104,"objectType":"plant"},"53":{"slots":[{"endTime":1756367151798,"species":"Lemon","mutations":[],"startTime":1756362657877,"targetScale":1.248311495382386},{"endTime":1756194585421,"species":"Lemon","mutations":["Rainbow","Frozen","Ambershine"],"startTime":1756190786900,"targetScale":1.05514472766544},{"endTime":1756362661574,"species":"Lemon","mutations":[],"startTime":1756359056777,"targetScale":1.001332606747213},{"endTime":1756372581168,"species":"Lemon","mutations":[],"startTime":1756364458077,"targetScale":2.256414277343047},{"endTime":1756369860614,"species":"Lemon","mutations":[],"startTime":1756366258677,"targetScale":1.000538255456124},{"endTime":1756364459085,"species":"Lemon","mutations":[],"startTime":1756360857377,"targetScale":1.000474536985219}],"species":"Lemon","maturedAt":1755963086101,"plantedAt":1755919886101,"objectType":"plant"},"54":{"slots":[{"endTime":1756364463377,"species":"Coconut","mutations":[],"startTime":1756360863377,"targetScale":1.000000049058646},{"endTime":1756366718648,"species":"Coconut","mutations":[],"startTime":1756362663777,"targetScale":1.126353067034527},{"endTime":1756368077977,"species":"Coconut","mutations":[],"startTime":1756364477977,"targetScale":1.000000043101073},{"endTime":1756369878133,"species":"Coconut","mutations":[],"startTime":1756366278092,"targetScale":1.000011661839362},{"endTime":1756371695848,"species":"Coconut","mutations":[],"startTime":1756368078224,"targetScale":1.004895584058077},{"endTime":1756358747915,"species":"Coconut","mutations":["Chilled"],"startTime":1756355147915,"targetScale":1.000000252703095},{"endTime":1756373478397,"species":"Coconut","mutations":[],"startTime":1756369878377,"targetScale":1.000005578900499}],"species":"Coconut","maturedAt":1754325671242,"plantedAt":1754282471242,"objectType":"plant"},"55":{"slots":[{"endTime":1756362674479,"species":"Coconut","mutations":[],"startTime":1756359074477,"targetScale":1.000000747484703},{"endTime":1756364474677,"species":"Coconut","mutations":[],"startTime":1756360874677,"targetScale":1.000000056751016},{"endTime":1756366275180,"species":"Coconut","mutations":[],"startTime":1756362674977,"targetScale":1.00005639841511},{"endTime":1756368106445,"species":"Coconut","mutations":[],"startTime":1756364474977,"targetScale":1.008741263598282},{"endTime":1756369875192,"species":"Coconut","mutations":[],"startTime":1756366275177,"targetScale":1.000004286990938},{"endTime":1756371675378,"species":"Coconut","mutations":[],"startTime":1756368075377,"targetScale":1.000000326493858},{"endTime":1756373475577,"species":"Coconut","mutations":[],"startTime":1756369875577,"targetScale":1.000000111891041}],"species":"Coconut","maturedAt":1755962567023,"plantedAt":1755919367023,"objectType":"plant"},"56":{"slots":[{"endTime":1756358755187,"species":"Lemon","mutations":["Wet"],"startTime":1756355155187,"targetScale":1.000000000601961},{"endTime":1756373239358,"species":"Lemon","mutations":[],"startTime":1756362652977,"targetScale":2.940661640823572},{"endTime":1756368057476,"species":"Lemon","mutations":[],"startTime":1756364453277,"targetScale":1.00116648533487},{"endTime":1756369853841,"species":"Lemon","mutations":[],"startTime":1756366253577,"targetScale":1.000073422190204},{"endTime":1756365938848,"species":"Lemon","mutations":[],"startTime":1756360852977,"targetScale":1.412742160954258},{"endTime":1756373445235,"species":"Lemon","mutations":[],"startTime":1756368053777,"targetScale":1.497627230324608}],"species":"Lemon","maturedAt":1755958585140,"plantedAt":1755919885140,"objectType":"plant"},"57":{"slots":[{"endTime":1756272670803,"species":"Sunflower","mutations":["Frozen"],"startTime":1756253008392,"targetScale":1.092356217476545}],"species":"Sunflower","maturedAt":1754708191349,"plantedAt":1754621791349,"objectType":"plant"},"58":{"slots":[{"endTime":1756359993987,"species":"Lychee","mutations":["Frozen"],"startTime":1756358193987,"targetScale":1.000000004299852},{"endTime":1756360934569,"species":"Lychee","mutations":["Frozen"],"startTime":1756359094977,"targetScale":1.021995612625645},{"endTime":1756361795388,"species":"Lychee","mutations":["Wet"],"startTime":1756359995388,"targetScale":1.000000152936904},{"endTime":1756362714434,"species":"Lychee","mutations":[],"startTime":1756360895482,"targetScale":1.010529252710613},{"endTime":1756365041423,"species":"Lychee","mutations":[],"startTime":1756361795680,"targetScale":1.803190700224774},{"endTime":1756364495840,"species":"Lychee","mutations":[],"startTime":1756362695840,"targetScale":1.00000024125378}],"species":"Lychee","maturedAt":1754690424834,"plantedAt":1754604024834,"objectType":"plant"},"59":{"slots":[{"endTime":1756357594125,"species":"Pepper","mutations":["Frozen"],"startTime":1756356994125,"targetScale":1.000001074358495},{"endTime":1756357894125,"species":"Pepper","mutations":[],"startTime":1756357294125,"targetScale":1.000000004109384},{"endTime":1756358197140,"species":"Pepper","mutations":[],"startTime":1756357594125,"targetScale":1.005025263185535},{"endTime":1756358570222,"species":"Pepper","mutations":["Chilled"],"startTime":1756357894125,"targetScale":1.126828589890187},{"endTime":1756358794128,"species":"Pepper","mutations":[],"startTime":1756358194125,"targetScale":1.000005417546966},{"endTime":1756359094126,"species":"Pepper","mutations":["Chilled"],"startTime":1756358494125,"targetScale":1.000002785720813},{"endTime":1756359394151,"species":"Pepper","mutations":["Wet"],"startTime":1756358794125,"targetScale":1.000043796689317},{"endTime":1756359696102,"species":"Pepper","mutations":["Wet"],"startTime":1756359094125,"targetScale":1.003295196986126},{"endTime":1756360246950,"species":"Pepper","mutations":[],"startTime":1756359394125,"targetScale":1.421376351748465}],"species":"Pepper","maturedAt":1756356694125,"plantedAt":1756356134125,"objectType":"plant"},"60":{"slots":[{"endTime":1756362074516,"species":"PassionFruit","mutations":["Wet"],"startTime":1756356930616,"targetScale":1.905148203700129},{"endTime":1756358315595,"species":"PassionFruit","mutations":[],"startTime":1756355580323,"targetScale":1.013063771637596}],"species":"PassionFruit","maturedAt":1756053094372,"plantedAt":1755966694372,"objectType":"plant"},"61":{"slots":[{"endTime":1756355580164,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756354671315,"targetScale":1.009833124955309},{"endTime":1756358276059,"species":"DragonFruit","mutations":[],"startTime":1756357376018,"targetScale":1.000046526126001},{"endTime":1756356022913,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756355122913,"targetScale":1.000000032465152},{"endTime":1756356484438,"species":"DragonFruit","mutations":["Wet"],"startTime":1756355573813,"targetScale":1.011805796198531},{"endTime":1756357374717,"species":"DragonFruit","mutations":["Wet"],"startTime":1756356474717,"targetScale":1.000000028308094},{"endTime":1756356926598,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756356024513,"targetScale":1.002317470143584},{"endTime":1756358294800,"species":"DragonFruit","mutations":[],"startTime":1756356925410,"targetScale":1.521544907926962}],"species":"DragonFruit","maturedAt":1756108778422,"plantedAt":1756108178422,"objectType":"plant"},"62":{"slots":[{"endTime":1756237022413,"species":"Bamboo","mutations":["Wet"],"startTime":1756193816333,"targetScale":1.000140763195612}],"species":"Bamboo","maturedAt":1756193816333,"plantedAt":1756193816333,"objectType":"plant"},"63":{"slots":[{"endTime":1756369480697,"species":"Mushroom","mutations":[],"startTime":1756279142095,"targetScale":1.045585682710689}],"species":"Mushroom","maturedAt":1756279142095,"plantedAt":1756279142095,"objectType":"plant"},"64":{"slots":[{"endTime":1756264857342,"species":"Mushroom","mutations":["Frozen"],"startTime":1756178455511,"targetScale":1.000021196458943}],"species":"Mushroom","maturedAt":1756178455511,"plantedAt":1756178455511,"objectType":"plant"},"65":{"slots":[{"endTime":1756343389409,"species":"Bamboo","mutations":["Frozen"],"startTime":1756280958931,"targetScale":1.445149972176182}],"species":"Bamboo","maturedAt":1756280958931,"plantedAt":1756280958931,"objectType":"plant"},"66":{"slots":[{"endTime":1756318603570,"species":"Mushroom","mutations":["Frozen"],"startTime":1756232203550,"targetScale":1.000000237881278}],"species":"Mushroom","maturedAt":1756232203550,"plantedAt":1756232203550,"objectType":"plant"},"67":{"slots":[{"endTime":1756479975292,"species":"Mushroom","mutations":[],"startTime":1756232201950,"targetScale":2.867747021500471}],"species":"Mushroom","maturedAt":1756232201950,"plantedAt":1756232201950,"objectType":"plant"},"68":{"slots":[{"endTime":1756283060418,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756281321196,"targetScale":1.932469903753777},{"endTime":1756357267723,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756356367723,"targetScale":1.000000271193308},{"endTime":1756357719734,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756356819725,"targetScale":1.000010664802226},{"endTime":1756358191176,"species":"DragonFruit","mutations":[],"startTime":1756357272424,"targetScale":1.020835598609112},{"endTime":1756235063296,"species":"DragonFruit","mutations":["Gold","Frozen"],"startTime":1756234137660,"targetScale":1.02848502571077},{"endTime":1756358623232,"species":"DragonFruit","mutations":[],"startTime":1756357723226,"targetScale":1.000007619944335},{"endTime":1756359073803,"species":"DragonFruit","mutations":[],"startTime":1756358173765,"targetScale":1.000042574543836}],"species":"DragonFruit","maturedAt":1756152291657,"plantedAt":1756151691657,"objectType":"plant"},"69":{"slots":[{"endTime":1756359977219,"species":"PassionFruit","mutations":["Wet"],"startTime":1756357277123,"targetScale":1.00003586070086},{"endTime":1756361327324,"species":"PassionFruit","mutations":[],"startTime":1756358627323,"targetScale":1.00000049048476}],"species":"PassionFruit","maturedAt":1754614050257,"plantedAt":1754527650257,"objectType":"plant"},"70":{"slots":[{"endTime":1756361477699,"species":"PassionFruit","mutations":[],"startTime":1756358543277,"targetScale":1.086823247056881},{"endTime":1756364183189,"species":"PassionFruit","mutations":[],"startTime":1756359893777,"targetScale":1.588671167701326}],"species":"PassionFruit","maturedAt":1755897864625,"plantedAt":1755811464625,"objectType":"plant"},"71":{"slots":[{"endTime":1756358567377,"species":"DragonFruit","mutations":["Wet"],"startTime":1756357667377,"targetScale":1.000000169826288},{"endTime":1756359335900,"species":"DragonFruit","mutations":[],"startTime":1756358117579,"targetScale":1.353690505982428},{"endTime":1756359467992,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756358567928,"targetScale":1.000071490198963},{"endTime":1756360368877,"species":"DragonFruit","mutations":[],"startTime":1756359468877,"targetScale":1.000000309712721},{"endTime":1756359923154,"species":"DragonFruit","mutations":[],"startTime":1756359018577,"targetScale":1.005086347842799},{"endTime":1756183219820,"species":"DragonFruit","mutations":["Gold","Frozen","Dawnlit"],"startTime":1756181577491,"targetScale":1.824810059440181},{"endTime":1756360820154,"species":"DragonFruit","mutations":[],"startTime":1756359919577,"targetScale":1.000641275471787}],"species":"DragonFruit","maturedAt":1756178877491,"plantedAt":1756178277491,"objectType":"plant"},"72":{"slots":[{"endTime":1756368114444,"species":"Cactus","mutations":[],"startTime":1756359114378,"targetScale":1.000007334020378}],"species":"Cactus","maturedAt":1756359114378,"plantedAt":1756359114378,"objectType":"plant"},"73":{"slots":[{"endTime":1756384423950,"species":"Sunflower","mutations":[],"startTime":1756366422064,"targetScale":1.000104828890084}],"species":"Sunflower","maturedAt":1756239261659,"plantedAt":1756153761659,"objectType":"plant"},"74":{"slots":[{"endTime":1756290208436,"species":"Cactus","mutations":["Frozen"],"startTime":1756279268614,"targetScale":1.215535834204369}],"species":"Cactus","maturedAt":1756279268614,"plantedAt":1756279268614,"objectType":"plant"},"75":{"slots":[{"endTime":1756374859283,"species":"Cactus","mutations":[],"startTime":1756359112177,"targetScale":1.749678471454572}],"species":"Cactus","maturedAt":1756359112177,"plantedAt":1756359112177,"objectType":"plant"},"76":{"slots":[{"endTime":1756269411841,"species":"Sunflower","mutations":["Wet"],"startTime":1756249163860,"targetScale":1.124887870711702}],"species":"Sunflower","maturedAt":1756240163860,"plantedAt":1756153763860,"objectType":"plant"},"77":{"slots":[{"endTime":1756342682456,"species":"Cactus","mutations":["Frozen"],"startTime":1756333672050,"targetScale":1.001156287814787}],"species":"Cactus","maturedAt":1756333672050,"plantedAt":1756333672050,"objectType":"plant"},"78":{"slots":[{"endTime":1756360902674,"species":"DragonFruit","mutations":[],"startTime":1756359997176,"targetScale":1.006108965481837},{"endTime":1756358646619,"species":"DragonFruit","mutations":["Wet"],"startTime":1756357746619,"targetScale":1.000000013216931},{"endTime":1756361347304,"species":"DragonFruit","mutations":[],"startTime":1756360447304,"targetScale":1.000000020536408},{"endTime":1756359096681,"species":"DragonFruit","mutations":["Wet"],"startTime":1756358196679,"targetScale":1.000002987969659},{"endTime":1756359553219,"species":"DragonFruit","mutations":[],"startTime":1756358646873,"targetScale":1.007051747676546},{"endTime":1756359996980,"species":"DragonFruit","mutations":["Wet"],"startTime":1756359096977,"targetScale":1.000003872595422},{"endTime":1756360447263,"species":"DragonFruit","mutations":[],"startTime":1756359546981,"targetScale":1.000314200562059}],"species":"DragonFruit","maturedAt":1756178888668,"plantedAt":1756178288668,"objectType":"plant"},"79":{"slots":[{"endTime":1756361348100,"species":"PassionFruit","mutations":[],"startTime":1756358648077,"targetScale":1.00000859292538},{"endTime":1756362698457,"species":"PassionFruit","mutations":[],"startTime":1756359998277,"targetScale":1.000066849708563}],"species":"PassionFruit","maturedAt":1755904256094,"plantedAt":1755817856094,"objectType":"plant"},"80":{"slots":[{"endTime":1756357386718,"species":"DragonFruit","mutations":["Wet"],"startTime":1756356486718,"targetScale":1.000000073453799},{"endTime":1756358447311,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756356936815,"targetScale":1.678329646805237},{"endTime":1756356041126,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756355133210,"targetScale":1.008796317545493},{"endTime":1756356675337,"species":"DragonFruit","mutations":["Wet"],"startTime":1756355583519,"targetScale":1.213132033666183},{"endTime":1756354606880,"species":"DragonFruit","mutations":[],"startTime":1756353698014,"targetScale":1.009851675142026},{"endTime":1756357052583,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756356034713,"targetScale":1.130967770813001},{"endTime":1756358287005,"species":"DragonFruit","mutations":[],"startTime":1756357387005,"targetScale":1.000000179493979}],"species":"DragonFruit","maturedAt":1755898625191,"plantedAt":1755898025191,"objectType":"plant"},"81":{"slots":[{"endTime":1756359546268,"species":"Grape","mutations":["Frozen"],"startTime":1756358642977,"targetScale":1.003657705455985}],"species":"Grape","maturedAt":1755897854461,"plantedAt":1755811454461,"objectType":"plant"},"82":{"slots":[{"endTime":1756307411665,"species":"Bamboo","mutations":["Frozen"],"startTime":1756264211664,"targetScale":1.000000036192311}],"species":"Bamboo","maturedAt":1756264211664,"plantedAt":1756264211664,"objectType":"plant"},"83":{"slots":[{"endTime":1756310985481,"species":"Bamboo","mutations":["Frozen"],"startTime":1756264214365,"targetScale":1.082664727358141}],"species":"Bamboo","maturedAt":1756264214365,"plantedAt":1756264214365,"objectType":"plant"},"84":{"slots":[{"endTime":1756325576358,"species":"Bamboo","mutations":["Wet"],"startTime":1756279154098,"targetScale":1.074589374337347}],"species":"Bamboo","maturedAt":1756279154098,"plantedAt":1756279154098,"objectType":"plant"},"85":{"slots":[{"endTime":1756322361694,"species":"Bamboo","mutations":["Wet","Ambershine"],"startTime":1756279156295,"targetScale":1.000124997488934}],"species":"Bamboo","maturedAt":1756279156295,"plantedAt":1756279156295,"objectType":"plant"},"86":{"slots":[{"endTime":1756307417394,"species":"Bamboo","mutations":["Frozen"],"startTime":1756264217353,"targetScale":1.000000955196095}],"species":"Bamboo","maturedAt":1756264217353,"plantedAt":1756264217353,"objectType":"plant"},"87":{"slots":[{"endTime":1756278165631,"species":"Bamboo","mutations":["Ambershine","Wet"],"startTime":1756231034270,"targetScale":1.091003732440787}],"species":"Bamboo","maturedAt":1756231034270,"plantedAt":1756232234270,"objectType":"plant"},"88":{"slots":[{"endTime":1756359540177,"species":"Grape","mutations":["Wet"],"startTime":1756358639881,"targetScale":1.000329913929583}],"species":"Grape","maturedAt":1755283583090,"plantedAt":1755197183090,"objectType":"plant"},"89":{"slots":[{"endTime":1756357280943,"species":"DragonFruit","mutations":["Wet"],"startTime":1756356380187,"targetScale":1.000840177144902},{"endTime":1756359534523,"species":"DragonFruit","mutations":[],"startTime":1756358634523,"targetScale":1.000000114908634},{"endTime":1756358990060,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756357280925,"targetScale":1.899039353775166},{"endTime":1756357801085,"species":"DragonFruit","mutations":["Wet"],"startTime":1756356830608,"targetScale":1.07830879918256},{"endTime":1756107315982,"species":"DragonFruit","mutations":["Gold","Frozen","Ambershine"],"startTime":1756106415977,"targetScale":1.000006149242463},{"endTime":1756358721884,"species":"DragonFruit","mutations":[],"startTime":1756357731724,"targetScale":1.100178863727409},{"endTime":1756359873856,"species":"DragonFruit","mutations":[],"startTime":1756358183523,"targetScale":1.878148453590813}],"species":"DragonFruit","maturedAt":1755903967040,"plantedAt":1755903367040,"objectType":"plant"},"90":{"slots":[{"endTime":1756359004528,"species":"DragonFruit","mutations":[],"startTime":1756358091683,"targetScale":1.014273162809092},{"endTime":1756359441826,"species":"DragonFruit","mutations":[],"startTime":1756358541826,"targetScale":1.000000026088402},{"endTime":1756359891977,"species":"DragonFruit","mutations":["Wet"],"startTime":1756358991977,"targetScale":1.000000759443081},{"endTime":1756361071189,"species":"DragonFruit","mutations":["Wet"],"startTime":1756359441978,"targetScale":1.810235512700443},{"endTime":1756358541424,"species":"DragonFruit","mutations":["Wet"],"startTime":1756357641394,"targetScale":1.000033905840731},{"endTime":1756360793024,"species":"DragonFruit","mutations":[],"startTime":1756359892277,"targetScale":1.000830983132824},{"endTime":1756361269852,"species":"DragonFruit","mutations":[],"startTime":1756360342377,"targetScale":1.030528499403473}],"species":"DragonFruit","maturedAt":1755898633117,"plantedAt":1755898033117,"objectType":"plant"},"91":{"slots":[{"endTime":1756365073461,"species":"Grape","mutations":[],"startTime":1756364137377,"targetScale":1.040093399515592}],"species":"Grape","maturedAt":1755902775157,"plantedAt":1755816375157,"objectType":"plant"},"92":{"slots":[{"endTime":1756450077302,"species":"Mushroom","mutations":[],"startTime":1756363668977,"targetScale":1.000096364921964}],"species":"Mushroom","maturedAt":1756363668977,"plantedAt":1756363668977,"objectType":"plant"},"93":{"slots":[{"endTime":1756369331178,"species":"Cactus","mutations":[],"startTime":1756359108777,"targetScale":1.135822387246243}],"species":"Cactus","maturedAt":1756359108777,"plantedAt":1756359108777,"objectType":"plant"},"94":{"slots":[{"endTime":1756288261021,"species":"Cactus","mutations":["Frozen"],"startTime":1756279260999,"targetScale":1.000002517525286}],"species":"Cactus","maturedAt":1756279260999,"plantedAt":1756279260999,"objectType":"plant"},"95":{"slots":[{"endTime":1756369333086,"species":"Cactus","mutations":[],"startTime":1756357496524,"targetScale":1.315173568950645}],"species":"Cactus","maturedAt":1756357496524,"plantedAt":1756357496524,"objectType":"plant"},"96":{"slots":[{"endTime":1756368063946,"species":"Cactus","mutations":[],"startTime":1756359063879,"targetScale":1.000007550323842}],"species":"Cactus","maturedAt":1756359063879,"plantedAt":1756359063879,"objectType":"plant"},"97":{"slots":[{"endTime":1756368061929,"species":"Cactus","mutations":[],"startTime":1756359057981,"targetScale":1.000438726217992}],"species":"Cactus","maturedAt":1756359057981,"plantedAt":1756359057981,"objectType":"plant"},"98":{"slots":[{"endTime":1756365039377,"species":"Grape","mutations":[],"startTime":1756364139377,"targetScale":1.000000952393518}],"species":"Grape","maturedAt":1755902528923,"plantedAt":1755816128923,"objectType":"plant"},"99":{"slots":[{"endTime":1756358651649,"species":"DragonFruit","mutations":[],"startTime":1756357749077,"targetScale":1.002858364306149},{"endTime":1756359099477,"species":"DragonFruit","mutations":[],"startTime":1756358199477,"targetScale":1.000000910548396},{"endTime":1756359550714,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756358649677,"targetScale":1.001152344786951},{"endTime":1756361693244,"species":"DragonFruit","mutations":[],"startTime":1756360000077,"targetScale":1.881297031195198},{"endTime":1756360679363,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756359099677,"targetScale":1.755207695193085},{"endTime":1756361353387,"species":"DragonFruit","mutations":[],"startTime":1756360450277,"targetScale":1.003456168934224},{"endTime":1756360450129,"species":"DragonFruit","mutations":[],"startTime":1756359549883,"targetScale":1.000274000730149}],"species":"DragonFruit","maturedAt":1755983036773,"plantedAt":1755982436773,"objectType":"plant"},"100":{"slots":[{"endTime":1756355590759,"species":"DragonFruit","mutations":[],"startTime":1756354687725,"targetScale":1.003371216944047},{"endTime":1756356037920,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756355137919,"targetScale":1.000002074692179},{"endTime":1756356488121,"species":"DragonFruit","mutations":["Wet"],"startTime":1756355588044,"targetScale":1.000086314561657},{"endTime":1756357388328,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756356488328,"targetScale":1.000000266688189},{"endTime":1756357805263,"species":"DragonFruit","mutations":[],"startTime":1756356038217,"targetScale":1.963385503647417},{"endTime":1756357838432,"species":"DragonFruit","mutations":["Wet"],"startTime":1756356938432,"targetScale":1.000000245643368},{"endTime":1756358298406,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756357388615,"targetScale":1.010879847742879}],"species":"DragonFruit","maturedAt":1755829546425,"plantedAt":1755828946425,"objectType":"plant"},"101":{"slots":[{"endTime":1756281375914,"species":"Grape","mutations":["Frozen"],"startTime":1756279612595,"targetScale":1.959243545192873}],"species":"Grape","maturedAt":1755897849721,"plantedAt":1755811449721,"objectType":"plant"},"102":{"slots":[{"endTime":1756444078781,"species":"Mushroom","mutations":[],"startTime":1756357678578,"targetScale":1.000002357455116}],"species":"Mushroom","maturedAt":1756357678578,"plantedAt":1756357678578,"objectType":"plant"},"103":{"slots":[{"endTime":1756409257844,"species":"Bamboo","mutations":[],"startTime":1756361293977,"targetScale":1.110274710376631}],"species":"Bamboo","maturedAt":1756361293977,"plantedAt":1756361293977,"objectType":"plant"},"104":{"slots":[{"endTime":1756400644379,"species":"Bamboo","mutations":[],"startTime":1756357356377,"targetScale":1.002037099576531}],"species":"Bamboo","maturedAt":1756357356377,"plantedAt":1756357356377,"objectType":"plant"},"105":{"slots":[{"endTime":1756307407046,"species":"Bamboo","mutations":["Frozen"],"startTime":1756264207046,"targetScale":1.0000000196334}],"species":"Bamboo","maturedAt":1756264207046,"plantedAt":1756264207046,"objectType":"plant"},"106":{"slots":[{"endTime":1756404496381,"species":"Bamboo","mutations":[],"startTime":1756361285477,"targetScale":1.000252411204666}],"species":"Bamboo","maturedAt":1756361285477,"plantedAt":1756361285477,"objectType":"plant"},"107":{"slots":[{"endTime":1756359311142,"species":"Mushroom","mutations":["Gold","Frozen"],"startTime":1756263620196,"targetScale":1.10753410075519}],"species":"Mushroom","maturedAt":1756263620196,"plantedAt":1756279220196,"objectType":"plant"},"108":{"slots":[{"endTime":1756359569108,"species":"Grape","mutations":[],"startTime":1756358638480,"targetScale":1.034032036166626}],"species":"Grape","maturedAt":1755281770853,"plantedAt":1755195670853,"objectType":"plant"},"109":{"slots":[{"endTime":1756357396980,"species":"DragonFruit","mutations":[],"startTime":1756356385770,"targetScale":1.123567699387952},{"endTime":1756357736189,"species":"DragonFruit","mutations":[],"startTime":1756356836015,"targetScale":1.00019439687916},{"endTime":1756358186148,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756357286127,"targetScale":1.000024315523602},{"endTime":1756358636366,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756357736366,"targetScale":1.000000069877803},{"endTime":1756359103089,"species":"DragonFruit","mutations":["Wet"],"startTime":1756358186366,"targetScale":1.018581986810473},{"endTime":1756359671910,"species":"DragonFruit","mutations":["Wet"],"startTime":1756358636525,"targetScale":1.150428828050656},{"endTime":1756360835038,"species":"DragonFruit","mutations":[],"startTime":1756359086698,"targetScale":1.942600213704498}],"species":"DragonFruit","maturedAt":1755903972570,"plantedAt":1755903372570,"objectType":"plant"},"110":{"slots":[{"endTime":1756361236952,"species":"DragonFruit","mutations":["Gold"],"startTime":1756360336577,"targetScale":1.000416756905877},{"endTime":1756358981377,"species":"DragonFruit","mutations":["Wet"],"startTime":1756358081377,"targetScale":1.000000005316682},{"endTime":1756359433963,"species":"DragonFruit","mutations":["Wet"],"startTime":1756358531777,"targetScale":1.002429344393828},{"endTime":1756360780678,"species":"DragonFruit","mutations":[],"startTime":1756358982577,"targetScale":1.997890287073302},{"endTime":1756360469011,"species":"DragonFruit","mutations":["Wet"],"startTime":1756359434577,"targetScale":1.149372145763252},{"endTime":1756360785469,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756359885469,"targetScale":1.000000012235839},{"endTime":1756358530963,"species":"DragonFruit","mutations":["Wet"],"startTime":1756357630942,"targetScale":1.000024426280939}],"species":"DragonFruit","maturedAt":1755982863773,"plantedAt":1755982263773,"objectType":"plant"},"111":{"slots":[{"endTime":1756359564822,"species":"Grape","mutations":["Frozen"],"startTime":1756358664778,"targetScale":1.000049646467559}],"species":"Grape","maturedAt":1755902593697,"plantedAt":1755816193697,"objectType":"plant"},"112":{"slots":[{"endTime":1756355247866,"species":"Aloe","mutations":["Frozen"],"startTime":1756355171724,"targetScale":1.692059849359369}],"species":"Aloe","maturedAt":1756355171724,"plantedAt":1756355171724,"objectType":"plant"},"113":{"slots":[{"endTime":1756353645376,"species":"Carrot","mutations":["Frozen"],"startTime":1756353638876,"targetScale":1.00000001077991}],"species":"Carrot","maturedAt":1756353638876,"plantedAt":1756353638876,"objectType":"plant"},"114":{"slots":[{"endTime":1756371186209,"species":"Cactus","mutations":[],"startTime":1756359106681,"targetScale":1.342169828097963}],"species":"Cactus","maturedAt":1756359106681,"plantedAt":1756359106681,"objectType":"plant"},"115":{"slots":[{"endTime":1756288250195,"species":"Cactus","mutations":["Wet"],"startTime":1756279250195,"targetScale":1.00000006757034}],"species":"Cactus","maturedAt":1756279250195,"plantedAt":1756279250195,"objectType":"plant"},"116":{"slots":[{"endTime":1756371475551,"species":"Cactus","mutations":[],"startTime":1756359102177,"targetScale":1.374819361708628}],"species":"Cactus","maturedAt":1756359102177,"plantedAt":1756359102177,"objectType":"plant"},"117":{"slots":[{"endTime":1756365433970,"species":"Cactus","mutations":[],"startTime":1756356416343,"targetScale":1.00195863890398}],"species":"Cactus","maturedAt":1756356416343,"plantedAt":1756356416343,"objectType":"plant"},"118":{"slots":[{"endTime":1756360496598,"species":"Grape","mutations":["Frozen"],"startTime":1756359596477,"targetScale":1.000135170782168}],"species":"Grape","maturedAt":1755902537339,"plantedAt":1755816137339,"objectType":"plant"},"119":{"slots":[{"endTime":1756360931611,"species":"DragonFruit","mutations":[],"startTime":1756360004177,"targetScale":1.030482942805568},{"endTime":1756358653080,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756357753080,"targetScale":1.000000001755272},{"endTime":1756359855026,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756358203377,"targetScale":1.835166229263107},{"endTime":1756359560029,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756358653577,"targetScale":1.007169683104419},{"endTime":1756360669009,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756359103777,"targetScale":1.7391475700784},{"endTime":1756361354378,"species":"DragonFruit","mutations":["Wet"],"startTime":1756360454377,"targetScale":1.000001161206692},{"endTime":1756360453978,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756359553977,"targetScale":1.00000216053121}],"species":"DragonFruit","maturedAt":1756153969555,"plantedAt":1756153369555,"objectType":"plant"},"120":{"slots":[{"endTime":1756358367439,"species":"PassionFruit","mutations":["Chilled"],"startTime":1756355594916,"targetScale":1.026860479025255},{"endTime":1756359646028,"species":"PassionFruit","mutations":["Chilled"],"startTime":1756356945313,"targetScale":1.000265145773356}],"species":"PassionFruit","maturedAt":1754455102269,"plantedAt":1754368702269,"objectType":"plant"},"121":{"slots":[{"endTime":1756359668177,"species":"Daffodil","mutations":["Wet"],"startTime":1756359618177,"targetScale":1.000000487127263}],"species":"Daffodil","maturedAt":1756359618177,"plantedAt":1756359618177,"objectType":"plant"},"122":{"slots":[{"endTime":1756404500802,"species":"Bamboo","mutations":[],"startTime":1756361297177,"targetScale":1.000083912909544}],"species":"Bamboo","maturedAt":1756361297177,"plantedAt":1756361297177,"objectType":"plant"},"123":{"slots":[{"endTime":1756318620438,"species":"Bamboo","mutations":["Wet"],"startTime":1756232231157,"targetScale":1.999751885810511}],"species":"Bamboo","maturedAt":1756232231157,"plantedAt":1756232231157,"objectType":"plant"},"124":{"slots":[{"endTime":1756322349913,"species":"Bamboo","mutations":["Frozen"],"startTime":1756279148895,"targetScale":1.000023566919553}],"species":"Bamboo","maturedAt":1756279148895,"plantedAt":1756279148895,"objectType":"plant"},"125":{"slots":[{"endTime":1756275749458,"species":"Bamboo","mutations":["Wet"],"startTime":1756232214555,"targetScale":1.0077523880842}],"species":"Bamboo","maturedAt":1756232214555,"plantedAt":1756232214555,"objectType":"plant"},"126":{"slots":[{"endTime":1756110423784,"species":"Watermelon","mutations":["Gold","Frozen","Ambershine"],"startTime":1756108373624,"targetScale":2.847445495638082}],"species":"Watermelon","maturedAt":1756108373624,"plantedAt":1756108373624,"objectType":"plant"},"127":{"slots":[{"endTime":1756318595611,"species":"Mushroom","mutations":["Frozen"],"startTime":1756232195022,"targetScale":1.00000682420681}],"species":"Mushroom","maturedAt":1756232195022,"plantedAt":1756232195022,"objectType":"plant"},"128":{"slots":[{"endTime":1756359536917,"species":"Grape","mutations":["Wet"],"startTime":1756358636913,"targetScale":1.000004505113246}],"species":"Grape","maturedAt":1756004232254,"plantedAt":1755917832254,"objectType":"plant"},"129":{"slots":[{"endTime":1756359988929,"species":"PassionFruit","mutations":["Chilled"],"startTime":1756357288925,"targetScale":1.000001595050007},{"endTime":1756363916803,"species":"PassionFruit","mutations":[],"startTime":1756358639130,"targetScale":1.954693908207674}],"species":"PassionFruit","maturedAt":1755890017268,"plantedAt":1755803617268,"objectType":"plant"},"130":{"slots":[{"endTime":1756362578644,"species":"PassionFruit","mutations":[],"startTime":1756359878177,"targetScale":1.000173308578003},{"endTime":1756361220497,"species":"PassionFruit","mutations":["Wet"],"startTime":1756358520477,"targetScale":1.000007707330714}],"species":"PassionFruit","maturedAt":1754531887861,"plantedAt":1754445487861,"objectType":"plant"},"131":{"slots":[{"endTime":1756415094589,"species":"Lychee","mutations":[],"startTime":1756413265369,"targetScale":1.016233423650314},{"endTime":1756415966755,"species":"Lychee","mutations":[],"startTime":1756414165369,"targetScale":1.000770445523845},{"endTime":1756416865369,"species":"Lychee","mutations":[],"startTime":1756415065369,"targetScale":1.000000293341997},{"endTime":1756417765392,"species":"Lychee","mutations":[],"startTime":1756415965369,"targetScale":1.000013030821815},{"endTime":1756418777321,"species":"Lychee","mutations":[],"startTime":1756416865369,"targetScale":1.062195586730297},{"endTime":1756419567618,"species":"Lychee","mutations":[],"startTime":1756417765369,"targetScale":1.001249566100227}],"species":"Lychee","maturedAt":1756412365369,"plantedAt":1756333465369,"objectType":"plant"},"132":{"slots":[{"endTime":1756359025759,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756358107777,"targetScale":1.019980515878999},{"endTime":1756358556600,"species":"DragonFruit","mutations":["Wet"],"startTime":1756357656577,"targetScale":1.000026450463382},{"endTime":1756359458193,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756358558177,"targetScale":1.000018453184889},{"endTime":1756359910581,"species":"DragonFruit","mutations":[],"startTime":1756359010577,"targetScale":1.000004674569841},{"endTime":1756360361585,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756359461177,"targetScale":1.000453690088482},{"endTime":1756361071960,"species":"DragonFruit","mutations":["Wet"],"startTime":1756359911777,"targetScale":1.289092893519024},{"endTime":1756362130987,"species":"DragonFruit","mutations":[],"startTime":1756360362577,"targetScale":1.964900166214036}],"species":"DragonFruit","maturedAt":1756337275389,"plantedAt":1756336675389,"objectType":"plant"},"133":{"slots":[{"endTime":1756361938577,"species":"OrangeTulip","mutations":["Gold"],"startTime":1756361930577,"targetScale":1.000000042086349}],"species":"OrangeTulip","maturedAt":1756361930577,"plantedAt":1756361930577,"objectType":"plant"},"134":{"slots":[{"endTime":1756368104905,"species":"Cactus","mutations":[],"startTime":1756359104782,"targetScale":1.000013696704663}],"species":"Cactus","maturedAt":1756359104782,"plantedAt":1756359104782,"objectType":"plant"},"135":{"slots":[{"endTime":1756255552761,"species":"Cactus","mutations":["Frozen"],"startTime":1756246552751,"targetScale":1.000001190339317}],"species":"Cactus","maturedAt":1756246552751,"plantedAt":1756246552751,"objectType":"plant"},"136":{"slots":[{"endTime":1756270986852,"species":"Cactus","mutations":["Wet"],"startTime":1756261830565,"targetScale":1.017365233857089}],"species":"Cactus","maturedAt":1756261830565,"plantedAt":1756264230565,"objectType":"plant"},"137":{"slots":[{"endTime":1756359319198,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756357766797,"targetScale":1.72489020645475},{"endTime":1756359121418,"species":"DragonFruit","mutations":["Wet"],"startTime":1756358216977,"targetScale":1.004934930451572},{"endTime":1756359566984,"species":"DragonFruit","mutations":[],"startTime":1756358666983,"targetScale":1.000001340861432},{"endTime":1756360020929,"species":"DragonFruit","mutations":[],"startTime":1756359117078,"targetScale":1.004279761584338},{"endTime":1756360469423,"species":"DragonFruit","mutations":[],"startTime":1756359567278,"targetScale":1.002383771295995},{"endTime":1756360917478,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756360017478,"targetScale":1.000000009473423},{"endTime":1756361367826,"species":"DragonFruit","mutations":["Rainbow","Wet"],"startTime":1756360467777,"targetScale":1.000055042569776}],"species":"DragonFruit","maturedAt":1756337305545,"plantedAt":1756336705545,"objectType":"plant"},"138":{"slots":[{"endTime":1756444914735,"species":"Lychee","mutations":[],"startTime":1756443114424,"targetScale":1.000172809645454},{"endTime":1756445838899,"species":"Lychee","mutations":[],"startTime":1756444014424,"targetScale":1.013597569882171},{"endTime":1756446714800,"species":"Lychee","mutations":[],"startTime":1756444914424,"targetScale":1.000209017936723},{"endTime":1756448659466,"species":"Lychee","mutations":[],"startTime":1756445814424,"targetScale":1.580579266972986},{"endTime":1756448514424,"species":"Lychee","mutations":[],"startTime":1756446714424,"targetScale":1.000000151943967},{"endTime":1756449414721,"species":"Lychee","mutations":[],"startTime":1756447614424,"targetScale":1.000165154714736}],"species":"Lychee","maturedAt":1756442214424,"plantedAt":1756355814424,"objectType":"plant"},"139":{"slots":[{"endTime":1756361357417,"species":"PassionFruit","mutations":[],"startTime":1756358657377,"targetScale":1.000014976340408},{"endTime":1756362726657,"species":"PassionFruit","mutations":[],"startTime":1756360007577,"targetScale":1.007066901830771}],"species":"PassionFruit","maturedAt":1755064855920,"plantedAt":1754978455920,"objectType":"plant"},"140":{"slots":[{"endTime":1756359652971,"species":"PassionFruit","mutations":["Wet"],"startTime":1756356946113,"targetScale":1.002540220358995},{"endTime":1756358295713,"species":"PassionFruit","mutations":["Wet"],"startTime":1756355595713,"targetScale":1.000000027850132}],"species":"PassionFruit","maturedAt":1755044243193,"plantedAt":1754957843193,"objectType":"plant"},"141":{"slots":[{"endTime":1756361321486,"species":"Lychee","mutations":[],"startTime":1756358770382,"targetScale":1.417280404065249},{"endTime":1756356964730,"species":"Lychee","mutations":["Wet"],"startTime":1756355164730,"targetScale":1.000000111476302},{"endTime":1756357865539,"species":"Lychee","mutations":[],"startTime":1756356065538,"targetScale":1.000001069032323},{"endTime":1756360404561,"species":"Lychee","mutations":[],"startTime":1756356966218,"targetScale":1.910190900675804},{"endTime":1756279558463,"species":"Lychee","mutations":["Wet"],"startTime":1756275996611,"targetScale":1.978807167154037},{"endTime":1756359672493,"species":"Lychee","mutations":["Chilled"],"startTime":1756357866634,"targetScale":1.003255047546147}],"species":"Lychee","maturedAt":1754710527600,"plantedAt":1754624127600,"objectType":"plant"},"142":{"slots":[{"endTime":1756348678443,"species":"Watermelon","mutations":["Wet"],"startTime":1756347787796,"targetScale":1.23701080937286}],"species":"Watermelon","maturedAt":1756347787796,"plantedAt":1756348387796,"objectType":"plant"},"143":{"slots":[{"endTime":1756358149360,"species":"Pumpkin","mutations":["Wet"],"startTime":1756356048489,"targetScale":1.000415038148546}],"species":"Pumpkin","maturedAt":1756356048489,"plantedAt":1756356048489,"objectType":"plant"},"144":{"slots":[{"endTime":1756445576354,"species":"Bamboo","mutations":[],"startTime":1756361306177,"targetScale":1.950698542816894}],"species":"Bamboo","maturedAt":1756361306177,"plantedAt":1756361306177,"objectType":"plant"},"145":{"slots":[{"endTime":1756358455334,"species":"Pumpkin","mutations":["Wet"],"startTime":1756356037525,"targetScale":1.151337888822625}],"species":"Pumpkin","maturedAt":1756356037525,"plantedAt":1756356037525,"objectType":"plant"},"146":{"slots":[{"endTime":1756355229527,"species":"Aloe","mutations":["Frozen"],"startTime":1756355161923,"targetScale":1.502328742535931}],"species":"Aloe","maturedAt":1756355161923,"plantedAt":1756355161923,"objectType":"plant"},"147":{"slots":[{"endTime":1756094330329,"species":"Watermelon","mutations":["Rainbow","Frozen"],"startTime":1756093610323,"targetScale":1.000009672633113}],"species":"Watermelon","maturedAt":1756093610323,"plantedAt":1756093610323,"objectType":"plant"},"148":{"slots":[{"endTime":1756358646200,"species":"Lychee","mutations":["Wet"],"startTime":1756356845424,"targetScale":1.000431164453357},{"endTime":1756360737824,"species":"Lychee","mutations":[],"startTime":1756358920877,"targetScale":1.009415090748134},{"endTime":1756361621978,"species":"Lychee","mutations":["Wet"],"startTime":1756359821977,"targetScale":1.000000722787619},{"endTime":1756363423277,"species":"Lychee","mutations":[],"startTime":1756361623277,"targetScale":1.00000002855448},{"endTime":1756362536564,"species":"Lychee","mutations":[],"startTime":1756360722676,"targetScale":1.007715854687468},{"endTime":1756288134991,"species":"Lychee","mutations":["Gold","Frozen"],"startTime":1756286289249,"targetScale":1.025412444129603}],"species":"Lychee","maturedAt":1755902598288,"plantedAt":1755816198288,"objectType":"plant"},"149":{"slots":[{"endTime":1756357390226,"species":"Pepper","mutations":["Wet"],"startTime":1756356240525,"targetScale":1.916168594390674},{"endTime":1756357445754,"species":"Pepper","mutations":["Wet"],"startTime":1756356841131,"targetScale":1.007705476435022},{"endTime":1756357140926,"species":"Pepper","mutations":[],"startTime":1756356540925,"targetScale":1.000002668792413},{"endTime":1756357742807,"species":"Pepper","mutations":["Wet"],"startTime":1756357141425,"targetScale":1.002304000889117},{"endTime":1756358041728,"species":"Pepper","mutations":["Frozen"],"startTime":1756357441723,"targetScale":1.000008964594515},{"endTime":1756358345149,"species":"Pepper","mutations":["Wet"],"startTime":1756357741723,"targetScale":1.005710791592362},{"endTime":1756358642050,"species":"Pepper","mutations":["Wet"],"startTime":1756358042025,"targetScale":1.000042904925996},{"endTime":1756358942323,"species":"Pepper","mutations":["Wet"],"startTime":1756358342323,"targetScale":1.000000476486289},{"endTime":1756359385799,"species":"Pepper","mutations":["Frozen"],"startTime":1756358642458,"targetScale":1.238902380696282}],"species":"Pepper","maturedAt":1754362076623,"plantedAt":1754361516623,"objectType":"plant"},"150":{"slots":[{"endTime":1756358067777,"species":"Pepper","mutations":[],"startTime":1756357467777,"targetScale":1.000000036858709},{"endTime":1756358877092,"species":"Pepper","mutations":["Chilled"],"startTime":1756357767977,"targetScale":1.848525680036373},{"endTime":1756358668003,"species":"Pepper","mutations":["Wet"],"startTime":1756358067977,"targetScale":1.000043792889468},{"endTime":1756358988838,"species":"Pepper","mutations":[],"startTime":1756358368377,"targetScale":1.034101675120743},{"endTime":1756359714266,"species":"Pepper","mutations":[],"startTime":1756358668577,"targetScale":1.742816528332218},{"endTime":1756359568577,"species":"Pepper","mutations":[],"startTime":1756358968577,"targetScale":1.000000295553773},{"endTime":1756359868777,"species":"Pepper","mutations":[],"startTime":1756359268777,"targetScale":1.000000540074531},{"endTime":1756360168977,"species":"Pepper","mutations":["Frozen"],"startTime":1756359568977,"targetScale":1.000000048192005},{"endTime":1756361035021,"species":"Pepper","mutations":[],"startTime":1756359869177,"targetScale":1.943074578584152}],"species":"Pepper","maturedAt":1755903958139,"plantedAt":1755903398139,"objectType":"plant"},"151":{"slots":[{"endTime":1756366828958,"species":"Lemon","mutations":[],"startTime":1756358999152,"targetScale":2.174946118638145},{"endTime":1756364704055,"species":"Lemon","mutations":[],"startTime":1756360799777,"targetScale":1.084521737540789},{"endTime":1756366200177,"species":"Lemon","mutations":[],"startTime":1756362600177,"targetScale":1.000000026251999},{"endTime":1756369801010,"species":"Lemon","mutations":[],"startTime":1756366200977,"targetScale":1.000009339328381},{"endTime":1756374163567,"species":"Lemon","mutations":[],"startTime":1756368001477,"targetScale":1.71169166834256},{"endTime":1756368002102,"species":"Lemon","mutations":[],"startTime":1756364400722,"targetScale":1.000383420328652}],"species":"Lemon","maturedAt":1755374715839,"plantedAt":1755331515839,"objectType":"plant"},"152":{"slots":[{"endTime":1756358425382,"species":"OrangeTulip","mutations":["Frozen"],"startTime":1756358401477,"targetScale":2.988214425240093}],"species":"OrangeTulip","maturedAt":1756358401477,"plantedAt":1756358401477,"objectType":"plant"},"153":{"slots":[{"endTime":1756364617771,"species":"DragonFruit","mutations":[],"startTime":1756363076252,"targetScale":1.712799735021926},{"endTime":1756364426400,"species":"DragonFruit","mutations":[],"startTime":1756363526252,"targetScale":1.000164954375181},{"endTime":1756364876258,"species":"DragonFruit","mutations":[],"startTime":1756363976252,"targetScale":1.000007048865968},{"endTime":1756365326883,"species":"DragonFruit","mutations":[],"startTime":1756364426252,"targetScale":1.000701164262235},{"endTime":1756365776397,"species":"DragonFruit","mutations":[],"startTime":1756364876252,"targetScale":1.000161216423029},{"endTime":1756366290238,"species":"DragonFruit","mutations":[],"startTime":1756365326252,"targetScale":1.071096652171614},{"endTime":1756366676343,"species":"DragonFruit","mutations":[],"startTime":1756365776252,"targetScale":1.000101373293159}],"species":"DragonFruit","maturedAt":1756362626252,"plantedAt":1756362026252,"objectType":"plant"},"154":{"slots":[{"endTime":1756363990092,"species":"DragonFruit","mutations":[],"startTime":1756363078637,"targetScale":1.012727798202776},{"endTime":1756364428638,"species":"DragonFruit","mutations":[],"startTime":1756363528637,"targetScale":1.000001840429702},{"endTime":1756364878637,"species":"DragonFruit","mutations":[],"startTime":1756363978637,"targetScale":1.000000183739176},{"endTime":1756365328658,"species":"DragonFruit","mutations":[],"startTime":1756364428637,"targetScale":1.0000236656347},{"endTime":1756365778643,"species":"DragonFruit","mutations":[],"startTime":1756364878637,"targetScale":1.000007182310737},{"endTime":1756366252493,"species":"DragonFruit","mutations":[],"startTime":1756365328637,"targetScale":1.026506837750009},{"endTime":1756366753372,"species":"DragonFruit","mutations":["Gold"],"startTime":1756365778637,"targetScale":1.083039282701445}],"species":"DragonFruit","maturedAt":1756362628637,"plantedAt":1756362028637,"objectType":"plant"},"155":{"slots":[{"endTime":1756339006435,"species":"Watermelon","mutations":["Wet"],"startTime":1756338258345,"targetScale":1.039014041997096}],"species":"Watermelon","maturedAt":1756338258345,"plantedAt":1756338258345,"objectType":"plant"},"156":{"slots":[{"endTime":1756317557233,"species":"Watermelon","mutations":["Wet"],"startTime":1756315856407,"targetScale":2.362258703728771}],"species":"Watermelon","maturedAt":1756315856407,"plantedAt":1756315856407,"objectType":"plant"},"157":{"slots":[{"endTime":1756362720057,"species":"Lemon","mutations":[],"startTime":1756359114577,"targetScale":1.001522263050686},{"endTime":1756364514579,"species":"Lemon","mutations":[],"startTime":1756360914577,"targetScale":1.000000599728402},{"endTime":1756366345134,"species":"Lemon","mutations":[],"startTime":1756362714820,"targetScale":1.008420706904469},{"endTime":1756369914978,"species":"Lemon","mutations":[],"startTime":1756366314978,"targetScale":1.000000090743882},{"endTime":1756368116203,"species":"Lemon","mutations":[],"startTime":1756364514978,"targetScale":1.000340523536884},{"endTime":1756376024329,"species":"Lemon","mutations":[],"startTime":1756368115477,"targetScale":2.196903561459612}],"species":"Lemon","maturedAt":1755279974197,"plantedAt":1755236774197,"objectType":"plant"},"158":{"slots":[{"endTime":1756369701023,"species":"Lemon","mutations":[],"startTime":1756364508986,"targetScale":1.442232582259589},{"endTime":1756362708703,"species":"Lemon","mutations":[],"startTime":1756359108679,"targetScale":1.000006889943083},{"endTime":1756365544689,"species":"Lemon","mutations":[],"startTime":1756360908779,"targetScale":1.287752792760224},{"endTime":1756373232358,"species":"Lemon","mutations":[],"startTime":1756362708934,"targetScale":2.923173507588702},{"endTime":1756371512222,"species":"Lemon","mutations":[],"startTime":1756366311446,"targetScale":1.444660123121271},{"endTime":1756371762571,"species":"Lemon","mutations":[],"startTime":1756368112883,"targetScale":1.013802235434289}],"species":"Lemon","maturedAt":1755282094097,"plantedAt":1755238894097,"objectType":"plant"},"159":{"slots":[{"endTime":1756358872880,"species":"Pepper","mutations":["Gold","Frozen"],"startTime":1756358264377,"targetScale":1.014171953581996},{"endTime":1756359164880,"species":"Pepper","mutations":["Wet"],"startTime":1756358564878,"targetScale":1.000003799032392},{"endTime":1756359465319,"species":"Pepper","mutations":["Frozen"],"startTime":1756358865303,"targetScale":1.000026997684936},{"endTime":1756359765578,"species":"Pepper","mutations":["Frozen"],"startTime":1756359165578,"targetScale":1.000000080332884},{"endTime":1756358563943,"species":"Pepper","mutations":["Frozen"],"startTime":1756357963877,"targetScale":1.000111032980165},{"endTime":1756360153806,"species":"Pepper","mutations":["Wet"],"startTime":1756359465878,"targetScale":1.146546685371394},{"endTime":1756234727239,"species":"Pepper","mutations":["Gold","Frozen"],"startTime":1756234119852,"targetScale":1.012312728537501},{"endTime":1756360422391,"species":"Pepper","mutations":[],"startTime":1756359766578,"targetScale":1.093021902664478},{"endTime":1756358264372,"species":"Pepper","mutations":["Frozen"],"startTime":1756357663377,"targetScale":1.001658670660733}],"species":"Pepper","maturedAt":1755822112348,"plantedAt":1755821552348,"objectType":"plant"},"160":{"slots":[{"endTime":1756175861376,"species":"Mushroom","mutations":["Gold","Frozen"],"startTime":1756089454523,"targetScale":1.000079328565642}],"species":"Mushroom","maturedAt":1756089454523,"plantedAt":1756093654523,"objectType":"plant"},"161":{"slots":[{"endTime":1756358154561,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756356507966,"targetScale":1.829551102818426},{"endTime":1756357148058,"species":"DragonFruit","mutations":[],"startTime":1756356057019,"targetScale":1.21226641994961},{"endTime":1756357861178,"species":"DragonFruit","mutations":[],"startTime":1756356958616,"targetScale":1.002847703200024},{"endTime":1756355968399,"species":"DragonFruit","mutations":["Gold","Frozen"],"startTime":1756354179077,"targetScale":1.988136643600122},{"endTime":1756354818968,"species":"DragonFruit","mutations":["Wet"],"startTime":1756353726927,"targetScale":1.213379833013877},{"endTime":1756019631325,"species":"DragonFruit","mutations":["Gold","Frozen","Dawnlit"],"startTime":1756017872488,"targetScale":1.954263464480835},{"endTime":1756355530501,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756354630501,"targetScale":1.000000322770726}],"species":"DragonFruit","maturedAt":1754620529921,"plantedAt":1754619929921,"objectType":"plant"},"162":{"slots":[{"endTime":1756234512970,"species":"Lychee","mutations":["Rainbow","Frozen","Dawnlit"],"startTime":1756232712950,"targetScale":1.000011482697679},{"endTime":1756358773376,"species":"Lychee","mutations":["Wet"],"startTime":1756356973103,"targetScale":1.000152081478293},{"endTime":1756359678158,"species":"Lychee","mutations":["Wet"],"startTime":1756357873781,"targetScale":1.002432031344499},{"endTime":1756356868515,"species":"Lychee","mutations":["Chilled"],"startTime":1756355068514,"targetScale":1.000000951423643},{"endTime":1756355966696,"species":"Lychee","mutations":["Wet"],"startTime":1756354166225,"targetScale":1.000262160245014},{"endTime":1756360597154,"species":"Lychee","mutations":[],"startTime":1756358774418,"targetScale":1.012631223857052}],"species":"Lychee","maturedAt":1754627435703,"plantedAt":1754541035703,"objectType":"plant"},"163":{"slots":[{"endTime":1756392709538,"species":"Sunflower","mutations":[],"startTime":1756362898413,"targetScale":1.656173643508911}],"species":"Sunflower","maturedAt":1756193753979,"plantedAt":1756107353979,"objectType":"plant"},"164":{"slots":[{"endTime":1756193833722,"species":"Blueberry","mutations":["Gold","Frozen"],"startTime":1756193803333,"targetScale":1.381329910395597},{"endTime":1756266175921,"species":"Blueberry","mutations":["Frozen"],"startTime":1756266144014,"targetScale":1.45034303172423},{"endTime":1756193853144,"species":"Blueberry","mutations":["Frozen"],"startTime":1756193831144,"targetScale":1.000000003993948},{"endTime":1756247967864,"species":"Blueberry","mutations":["Dawnlit","Frozen"],"startTime":1756247945864,"targetScale":1.000000177731694},{"endTime":1756353320846,"species":"Blueberry","mutations":["Frozen"],"startTime":1756353298844,"targetScale":1.000101621198768}],"species":"Blueberry","maturedAt":1755881934707,"plantedAt":1755881829707,"objectType":"plant"},"165":{"slots":[{"endTime":1756348507216,"species":"Blueberry","mutations":["Wet"],"startTime":1756348476718,"targetScale":1.38627382533498},{"endTime":1756268105610,"species":"Blueberry","mutations":["Frozen"],"startTime":1756268083610,"targetScale":1.000000074724741},{"endTime":1756348511421,"species":"Blueberry","mutations":["Frozen"],"startTime":1756348489064,"targetScale":1.016255088257623},{"endTime":1756348522584,"species":"Blueberry","mutations":["Frozen"],"startTime":1756348500584,"targetScale":1.000017825836631},{"endTime":1756268157777,"species":"Blueberry","mutations":["Frozen"],"startTime":1756268117380,"targetScale":1.836236630689979}],"species":"Blueberry","maturedAt":1755881933207,"plantedAt":1755881828207,"objectType":"plant"},"166":{"slots":[{"endTime":1756281317707,"species":"Sunflower","mutations":["Wet","Ambershine"],"startTime":1756246998850,"targetScale":1.906603218679449}],"species":"Sunflower","maturedAt":1755955611807,"plantedAt":1755869211807,"objectType":"plant"},"167":{"slots":[{"endTime":1756359787685,"species":"Lychee","mutations":["Wet"],"startTime":1756357987577,"targetScale":1.000060369380026},{"endTime":1756362098661,"species":"Lychee","mutations":[],"startTime":1756358887577,"targetScale":1.783935940087971},{"endTime":1756361936033,"species":"Lychee","mutations":[],"startTime":1756359787977,"targetScale":1.193364673716273},{"endTime":1756362487996,"species":"Lychee","mutations":["Wet"],"startTime":1756360687977,"targetScale":1.000010834354132},{"endTime":1756363390759,"species":"Lychee","mutations":[],"startTime":1756361588177,"targetScale":1.001434940355677},{"endTime":1756364288477,"species":"Lychee","mutations":[],"startTime":1756362488477,"targetScale":1.000000418199144}],"species":"Lychee","maturedAt":1756190821922,"plantedAt":1756104421922,"objectType":"plant"},"168":{"slots":[{"endTime":1756358928334,"species":"DragonFruit","mutations":["Wet"],"startTime":1756358028329,"targetScale":1.0000065032947},{"endTime":1756359384237,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756358478679,"targetScale":1.006176102109706},{"endTime":1755827014280,"species":"DragonFruit","mutations":["Gold","Frozen"],"startTime":1755826114280,"targetScale":1.000000078538962},{"endTime":1756360283298,"species":"DragonFruit","mutations":["Wet"],"startTime":1756359379677,"targetScale":1.004023388119585},{"endTime":1756359847274,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756358928977,"targetScale":1.020330510118145},{"endTime":1756360730569,"species":"DragonFruit","mutations":[],"startTime":1756359830496,"targetScale":1.000081560338035},{"endTime":1756358477968,"species":"DragonFruit","mutations":["Wet"],"startTime":1756357577968,"targetScale":1.000000186878462}],"species":"DragonFruit","maturedAt":1755747718687,"plantedAt":1755747118687,"objectType":"plant"},"169":{"slots":[{"endTime":1756358568630,"species":"Pepper","mutations":["Gold","Wet"],"startTime":1756357432895,"targetScale":1.892892654810963},{"endTime":1755825962399,"species":"Pepper","mutations":["Gold","Frozen","Dawnlit"],"startTime":1755825362079,"targetScale":1.000533509862823},{"endTime":1756358410498,"species":"Pepper","mutations":["Frozen"],"startTime":1756357733077,"targetScale":1.129035262550441},{"endTime":1756359836017,"species":"Pepper","mutations":["Chilled"],"startTime":1756359235477,"targetScale":1.000901470296787},{"endTime":1756358637455,"species":"Pepper","mutations":["Frozen"],"startTime":1756358033677,"targetScale":1.006296706859681},{"endTime":1756358993770,"species":"Pepper","mutations":["Chilled"],"startTime":1756358333977,"targetScale":1.099655767330319},{"endTime":1756359236603,"species":"Pepper","mutations":["Chilled"],"startTime":1756358634477,"targetScale":1.003543431511804},{"endTime":1756359534993,"species":"Pepper","mutations":["Frozen"],"startTime":1756358934977,"targetScale":1.000026900422595},{"endTime":1756360136024,"species":"Pepper","mutations":["Chilled"],"startTime":1756359536023,"targetScale":1.000001690309647}],"species":"Pepper","maturedAt":1754617216001,"plantedAt":1754616656001,"objectType":"plant"},"170":{"slots":[{"endTime":1756358063625,"species":"Pepper","mutations":[],"startTime":1756357463625,"targetScale":1.000000002601649},{"endTime":1756358363977,"species":"Pepper","mutations":[],"startTime":1756357763977,"targetScale":1.000000643034214},{"endTime":1756358674882,"species":"Pepper","mutations":["Wet"],"startTime":1756358064377,"targetScale":1.017509795518676},{"endTime":1756156377827,"species":"Pepper","mutations":["Gold","Frozen","Ambershine"],"startTime":1756155767055,"targetScale":1.0179537259466},{"endTime":1756359265027,"species":"Pepper","mutations":[],"startTime":1756358664977,"targetScale":1.000083411061884},{"endTime":1756358964845,"species":"Pepper","mutations":["Wet"],"startTime":1756358364777,"targetScale":1.00011351227429},{"endTime":1756359890056,"species":"Pepper","mutations":[],"startTime":1756358965377,"targetScale":1.541133064654248},{"endTime":1756359865578,"species":"Pepper","mutations":["Chilled"],"startTime":1756359265577,"targetScale":1.000002052703927},{"endTime":1756360167456,"species":"Pepper","mutations":[],"startTime":1756359566377,"targetScale":1.00179982824182}],"species":"Pepper","maturedAt":1754358291568,"plantedAt":1754357731568,"objectType":"plant"},"171":{"slots":[{"endTime":1756358681377,"species":"DragonFruit","mutations":[],"startTime":1756357610577,"targetScale":1.189778597101415},{"endTime":1756359762666,"species":"DragonFruit","mutations":[],"startTime":1756358060777,"targetScale":1.890988115259048},{"endTime":1756359866504,"species":"DragonFruit","mutations":[],"startTime":1756358960977,"targetScale":1.006142221057204},{"endTime":1756359412820,"species":"DragonFruit","mutations":[],"startTime":1756358510977,"targetScale":1.002048222057989},{"endTime":1756360311262,"species":"DragonFruit","mutations":[],"startTime":1756359411177,"targetScale":1.000095531541894},{"endTime":1756360762723,"species":"DragonFruit","mutations":[],"startTime":1756359861377,"targetScale":1.001495559898634},{"endTime":1756361493156,"species":"DragonFruit","mutations":[],"startTime":1756360311577,"targetScale":1.312865964708386}],"species":"DragonFruit","maturedAt":1755548177144,"plantedAt":1755547577144,"objectType":"plant"},"172":{"slots":[{"endTime":1756361195958,"species":"Lychee","mutations":[],"startTime":1756358058382,"targetScale":1.743098226636443},{"endTime":1756360758680,"species":"Lychee","mutations":["Chilled"],"startTime":1756358958677,"targetScale":1.000001995435802},{"endTime":1756361676072,"species":"Lychee","mutations":["Wet"],"startTime":1756359858777,"targetScale":1.009608517671519},{"endTime":1756365212673,"species":"Lychee","mutations":[],"startTime":1756361659177,"targetScale":1.97416488991735},{"endTime":1756362558987,"species":"Lychee","mutations":[],"startTime":1756360758977,"targetScale":1.000005615304308},{"endTime":1756364470580,"species":"Lychee","mutations":[],"startTime":1756362559277,"targetScale":1.061835431462539}],"species":"Lychee","maturedAt":1756239130682,"plantedAt":1756152730682,"objectType":"plant"},"173":{"slots":[{"endTime":1756384407369,"species":"Sunflower","mutations":[],"startTime":1756366407245,"targetScale":1.000006893093639}],"species":"Sunflower","maturedAt":1755929559385,"plantedAt":1755843159385,"objectType":"plant"},"174":{"slots":[{"endTime":1756086633809,"species":"Blueberry","mutations":["Gold","Frozen"],"startTime":1756086611809,"targetScale":1.00000568286873},{"endTime":1756232391981,"species":"Blueberry","mutations":["Dawnlit","Frozen"],"startTime":1756232348260,"targetScale":1.987319168649283},{"endTime":1756232400450,"species":"Blueberry","mutations":["Dawnlit","Frozen"],"startTime":1756232378450,"targetScale":1.000012217235464},{"endTime":1756266189165,"species":"Blueberry","mutations":["Frozen"],"startTime":1756266167165,"targetScale":1.000000860884329},{"endTime":1756266201572,"species":"Blueberry","mutations":["Frozen"],"startTime":1756266179572,"targetScale":1.00000022577747}],"species":"Blueberry","maturedAt":1755063647549,"plantedAt":1755063542549,"objectType":"plant"},"175":{"slots":[{"endTime":1755237170297,"species":"Strawberry","mutations":["Gold","Frozen","Ambershine"],"startTime":1755237160297,"targetScale":1.000000279916894},{"endTime":1756244483258,"species":"Strawberry","mutations":["Frozen"],"startTime":1756244473258,"targetScale":1.000032168964907},{"endTime":1756184964515,"species":"Strawberry","mutations":["Frozen"],"startTime":1756184954499,"targetScale":1.001660592857582},{"endTime":1756244494513,"species":"Strawberry","mutations":["Frozen"],"startTime":1756244479251,"targetScale":1.526235834388838},{"endTime":1756244495150,"species":"Strawberry","mutations":["Ambershine","Frozen"],"startTime":1756244485150,"targetScale":1.00000026857573}],"species":"Strawberry","maturedAt":1755063614395,"plantedAt":1755063544395,"objectType":"plant"},"176":{"slots":[{"endTime":1756384329300,"species":"Sunflower","mutations":[],"startTime":1756366320177,"targetScale":1.000506840754663}],"species":"Sunflower","maturedAt":1755929552889,"plantedAt":1755843152889,"objectType":"plant"},"177":{"slots":[{"endTime":1756363625455,"species":"Lychee","mutations":[],"startTime":1756361824177,"targetScale":1.000710300698201},{"endTime":1756362666761,"species":"Lychee","mutations":["Wet"],"startTime":1756359122977,"targetScale":1.968769288009653},{"endTime":1756361911797,"species":"Lychee","mutations":[],"startTime":1756360023180,"targetScale":1.049231680632686},{"endTime":1756360113489,"species":"Lychee","mutations":["Wet"],"startTime":1756358221777,"targetScale":1.050951651008363},{"endTime":1756362723625,"species":"Lychee","mutations":[],"startTime":1756360923624,"targetScale":1.000000620367169},{"endTime":1756239207992,"species":"Lychee","mutations":["Gold","Frozen","Dawnlit"],"startTime":1756237407989,"targetScale":1.000001827480857}],"species":"Lychee","maturedAt":1756177726724,"plantedAt":1756093726724,"objectType":"plant"},"178":{"slots":[{"endTime":1756358677132,"species":"DragonFruit","mutations":[],"startTime":1756357775777,"targetScale":1.001506130005893},{"endTime":1756359137613,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756358226377,"targetScale":1.012484837062014},{"endTime":1756359576977,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756358676977,"targetScale":1.000000122024967},{"endTime":1756360027378,"species":"DragonFruit","mutations":[],"startTime":1756359127377,"targetScale":1.000001327830152},{"endTime":1756360795519,"species":"DragonFruit","mutations":[],"startTime":1756359577777,"targetScale":1.353046925327644},{"endTime":1756361673921,"species":"DragonFruit","mutations":["Wet"],"startTime":1756360028177,"targetScale":1.82860531932131},{"endTime":1756361379750,"species":"DragonFruit","mutations":["Wet"],"startTime":1756360478777,"targetScale":1.001081510509636}],"species":"DragonFruit","maturedAt":1754976049954,"plantedAt":1754975449954,"objectType":"plant"},"179":{"slots":[{"endTime":1756358230355,"species":"Pepper","mutations":[],"startTime":1756357630177,"targetScale":1.000296841353827},{"endTime":1756358568382,"species":"Pepper","mutations":["Frozen"],"startTime":1756357968377,"targetScale":1.000009944909561},{"endTime":1756358869256,"species":"Pepper","mutations":["Chilled"],"startTime":1756358268781,"targetScale":1.000792740775191},{"endTime":1756359168949,"species":"Pepper","mutations":[],"startTime":1756358568948,"targetScale":1.000002024614596},{"endTime":1756360677828,"species":"Pepper","mutations":[],"startTime":1756360070979,"targetScale":1.011416459769337},{"endTime":1756359485175,"species":"Pepper","mutations":[],"startTime":1756358869377,"targetScale":1.026330824354604},{"endTime":1756359776338,"species":"Pepper","mutations":[],"startTime":1756359169977,"targetScale":1.010601853222198},{"endTime":1756360070453,"species":"Pepper","mutations":[],"startTime":1756359470452,"targetScale":1.000002521703734},{"endTime":1756360370766,"species":"Pepper","mutations":[],"startTime":1756359770579,"targetScale":1.000313032233836}],"species":"Pepper","maturedAt":1754974642983,"plantedAt":1754974082983,"objectType":"plant"},"180":{"slots":[{"endTime":1756404340220,"species":"Sunflower","mutations":[],"startTime":1756363253517,"targetScale":2.282594642067425}],"species":"Sunflower","maturedAt":1755965625282,"plantedAt":1755879225282,"objectType":"plant"},"181":{"slots":[{"endTime":1756306416907,"species":"Sunflower","mutations":["Wet"],"startTime":1756288416895,"targetScale":1.000000668649059}],"species":"Sunflower","maturedAt":1756009946693,"plantedAt":1755923546693,"objectType":"plant"},"182":{"slots":[{"endTime":1756358328093,"species":"PassionFruit","mutations":["Wet"],"startTime":1756355628081,"targetScale":1.000004450817479},{"endTime":1756192620995,"species":"PassionFruit","mutations":["Rainbow","Frozen","Ambershine"],"startTime":1756189920995,"targetScale":1.000000218984166}],"species":"PassionFruit","maturedAt":1755904248049,"plantedAt":1755817848049,"objectType":"plant"},"183":{"slots":[{"endTime":1756356979935,"species":"Lychee","mutations":["Frozen"],"startTime":1756355179866,"targetScale":1.00003865581813},{"endTime":1756358787106,"species":"Lychee","mutations":[],"startTime":1756356980916,"targetScale":1.00343929686939},{"endTime":1756358089705,"species":"Lychee","mutations":["Wet"],"startTime":1756356080433,"targetScale":1.11626239319466},{"endTime":1756359681327,"species":"Lychee","mutations":["Wet"],"startTime":1756357881315,"targetScale":1.000006805835962},{"endTime":1756360582483,"species":"Lychee","mutations":["Wet"],"startTime":1756358782115,"targetScale":1.000204900827147},{"endTime":1756361482753,"species":"Lychee","mutations":[],"startTime":1756359682714,"targetScale":1.00002185247204}],"species":"Lychee","maturedAt":1756273163070,"plantedAt":1756186763070,"objectType":"plant"},"184":{"slots":[{"endTime":1755968395825,"species":"DragonFruit","mutations":["Gold","Frozen"],"startTime":1755967495400,"targetScale":1.000472239297139},{"endTime":1756356537417,"species":"DragonFruit","mutations":["Wet"],"startTime":1756355637417,"targetScale":1.000000065135103},{"endTime":1756356086879,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756355186878,"targetScale":1.000002092184829},{"endTime":1756355635236,"species":"DragonFruit","mutations":[],"startTime":1756354735216,"targetScale":1.000022804362451},{"endTime":1756356988569,"species":"DragonFruit","mutations":["Wet"],"startTime":1756356088275,"targetScale":1.000327521900054},{"endTime":1756357439531,"species":"DragonFruit","mutations":[],"startTime":1756356539531,"targetScale":1.000000091139948},{"endTime":1756357890319,"species":"DragonFruit","mutations":[],"startTime":1756356990215,"targetScale":1.000115703215745}],"species":"DragonFruit","maturedAt":1755236053358,"plantedAt":1755235453358,"objectType":"plant"},"185":{"slots":[{"endTime":1756357901508,"species":"DragonFruit","mutations":["Wet"],"startTime":1756357001505,"targetScale":1.000003357850039},{"endTime":1756354647810,"species":"DragonFruit","mutations":["Wet"],"startTime":1756353747808,"targetScale":1.000003011109035},{"endTime":1756180507785,"species":"DragonFruit","mutations":["Gold","Frozen"],"startTime":1756179175564,"targetScale":1.480246607735195},{"endTime":1756356997050,"species":"DragonFruit","mutations":["Wet"],"startTime":1756356097049,"targetScale":1.000001173643618},{"endTime":1756356094908,"species":"DragonFruit","mutations":["Gold","Chilled"],"startTime":1756355194907,"targetScale":1.000001811266162},{"endTime":1756357182072,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756355645431,"targetScale":1.707379299683839},{"endTime":1756357448422,"species":"DragonFruit","mutations":["Wet"],"startTime":1756356548188,"targetScale":1.000260555051937}],"species":"DragonFruit","maturedAt":1755236054959,"plantedAt":1755235454959,"objectType":"plant"},"186":{"slots":[{"endTime":1756358417868,"species":"PassionFruit","mutations":["Wet"],"startTime":1756355655302,"targetScale":1.023172685385361},{"endTime":1756184310322,"species":"PassionFruit","mutations":["Frozen","Dawnlit"],"startTime":1756178955271,"targetScale":1.983352503618998}],"species":"PassionFruit","maturedAt":1755324648197,"plantedAt":1755238248197,"objectType":"plant"},"187":{"slots":[{"endTime":1756356708212,"species":"Pepper","mutations":["Chilled"],"startTime":1756356108119,"targetScale":1.000156499668833},{"endTime":1756357008631,"species":"Pepper","mutations":["Chilled"],"startTime":1756356408314,"targetScale":1.000528719025466},{"endTime":1756357991801,"species":"Pepper","mutations":["Wet"],"startTime":1756357390977,"targetScale":1.001373793421718},{"endTime":1756358600766,"species":"Pepper","mutations":["Wet"],"startTime":1756357991877,"targetScale":1.01481566266327},{"endTime":1756358291406,"species":"Pepper","mutations":[],"startTime":1756357691377,"targetScale":1.000048540510733},{"endTime":1756358892377,"species":"Pepper","mutations":["Chilled"],"startTime":1756358292377,"targetScale":1.000000037416514},{"endTime":1756356663216,"species":"Pepper","mutations":[],"startTime":1756355507815,"targetScale":1.925669385181108},{"endTime":1756359192879,"species":"Pepper","mutations":["Frozen"],"startTime":1756358592877,"targetScale":1.000004943328166},{"endTime":1756359493296,"species":"Pepper","mutations":["Chilled"],"startTime":1756358893177,"targetScale":1.000199402671286}],"species":"Pepper","maturedAt":1754970012417,"plantedAt":1754969452417,"objectType":"plant"},"188":{"slots":[{"endTime":1756358339579,"species":"Pepper","mutations":[],"startTime":1756357739579,"targetScale":1.000000136300942},{"endTime":1755881381749,"species":"Pepper","mutations":["Gold","Frozen","Dawnlit"],"startTime":1755880186875,"targetScale":1.991457399716202},{"endTime":1756358640008,"species":"Pepper","mutations":["Chilled"],"startTime":1756358039977,"targetScale":1.000052661215329},{"endTime":1756358940677,"species":"Pepper","mutations":[],"startTime":1756358340677,"targetScale":1.000001425652468},{"endTime":1755827440697,"species":"Pepper","mutations":["Gold","Frozen"],"startTime":1755826266980,"targetScale":1.956195946028691},{"endTime":1756360049003,"species":"Pepper","mutations":["Wet"],"startTime":1756359241977,"targetScale":1.345044183820338},{"endTime":1756359541401,"species":"Pepper","mutations":["Wet"],"startTime":1756358941380,"targetScale":1.000035797105499},{"endTime":1756359241277,"species":"Pepper","mutations":[],"startTime":1756358641077,"targetScale":1.000333846839463},{"endTime":1756358063642,"species":"Pepper","mutations":["Wet"],"startTime":1756357439366,"targetScale":1.040461249040745}],"species":"Pepper","maturedAt":1754627499707,"plantedAt":1754626939707,"objectType":"plant"},"189":{"slots":[{"endTime":1756361960255,"species":"Corn","mutations":[],"startTime":1756361929877,"targetScale":1.012629105717041}],"species":"Corn","maturedAt":1754531556043,"plantedAt":1754531426043,"objectType":"plant"},"190":{"slots":[{"endTime":1756361979832,"species":"Corn","mutations":[],"startTime":1756361928577,"targetScale":1.708519627095051}],"species":"Corn","maturedAt":1754531554981,"plantedAt":1754531424981,"objectType":"plant"},"191":{"slots":[{"endTime":1756358064257,"species":"Pepper","mutations":["Frozen"],"startTime":1756357452777,"targetScale":1.01913464133168},{"endTime":1756358654645,"species":"Pepper","mutations":["Wet"],"startTime":1756358053377,"targetScale":1.002114348401171},{"endTime":1756358353019,"species":"Pepper","mutations":["Chilled"],"startTime":1756357752977,"targetScale":1.000071063394059},{"endTime":1756188874498,"species":"Pepper","mutations":["Gold","Frozen","Dawnlit"],"startTime":1756188274498,"targetScale":1.000000971653763},{"endTime":1756359253977,"species":"Pepper","mutations":["Frozen"],"startTime":1756358653977,"targetScale":1.00000046535436},{"endTime":1756358953788,"species":"Pepper","mutations":["Chilled"],"startTime":1756358353777,"targetScale":1.000019646103606},{"endTime":1756359559868,"species":"Pepper","mutations":[],"startTime":1756358954177,"targetScale":1.009485467751197},{"endTime":1756360407143,"species":"Pepper","mutations":["Frozen"],"startTime":1756359555277,"targetScale":1.419777122179861},{"endTime":1756359855011,"species":"Pepper","mutations":["Wet"],"startTime":1756359254677,"targetScale":1.000558192977521}],"species":"Pepper","maturedAt":1754367647428,"plantedAt":1754367087428,"objectType":"plant"},"192":{"slots":[{"endTime":1756361206777,"species":"PassionFruit","mutations":[],"startTime":1756358506777,"targetScale":1.000000043246327},{"endTime":1756362556977,"species":"PassionFruit","mutations":[],"startTime":1756359856977,"targetScale":1.000000007904499}],"species":"PassionFruit","maturedAt":1755044267871,"plantedAt":1754957867871,"objectType":"plant"},"193":{"slots":[{"endTime":1756362079752,"species":"BurrosTail","mutations":[],"startTime":1756361967177,"targetScale":1.125753483163566},{"endTime":1756362117577,"species":"BurrosTail","mutations":[],"startTime":1756362017577,"targetScale":1.000000350729342}],"species":"BurrosTail","maturedAt":1755224961078,"plantedAt":1755223161078,"objectType":"plant"},"194":{"slots":[{"endTime":1756358833076,"species":"DragonFruit","mutations":["Wet"],"startTime":1756357847478,"targetScale":1.095109365516908},{"endTime":1756359651641,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756358749977,"targetScale":1.001849026700303},{"endTime":1756359198305,"species":"DragonFruit","mutations":[],"startTime":1756358298305,"targetScale":1.000000079609065},{"endTime":1756360410638,"species":"DragonFruit","mutations":[],"startTime":1756359200961,"targetScale":1.344086560753821},{"endTime":1756283824938,"species":"DragonFruit","mutations":["Gold","Frozen","Dawnlit"],"startTime":1756282068213,"targetScale":1.951916739258714},{"endTime":1756360551678,"species":"DragonFruit","mutations":["Chilled"],"startTime":1756359651678,"targetScale":1.000000561824162},{"endTime":1756245811253,"species":"DragonFruit","mutations":["Gold","Frozen","Dawnlit"],"startTime":1756244911252,"targetScale":1.000001188250978}],"species":"DragonFruit","maturedAt":1754983546813,"plantedAt":1754982946813,"objectType":"plant"},"195":{"slots":[{"endTime":1756282961460,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756281170997,"targetScale":1.989403687997292},{"endTime":1756274263674,"species":"DragonFruit","mutations":["Frozen"],"startTime":1756272475411,"targetScale":1.986959374238268},{"endTime":1756358738288,"species":"DragonFruit","mutations":["Wet"],"startTime":1756357837379,"targetScale":1.001010350522296},{"endTime":1756360550137,"species":"DragonFruit","mutations":["Gold","Wet"],"startTime":1756359643677,"targetScale":1.007178150998241},{"endTime":1756359191379,"species":"DragonFruit","mutations":[],"startTime":1756358291379,"targetScale":1.000000007854088},{"endTime":1756359642808,"species":"DragonFruit","mutations":[],"startTime":1756358742777,"targetScale":1.000034461700249},{"endTime":1756360093177,"species":"DragonFruit","mutations":[],"startTime":1756359193177,"targetScale":1.000000083438383}],"species":"DragonFruit","maturedAt":1754983544840,"plantedAt":1754982944840,"objectType":"plant"},"196":{"slots":[{"endTime":1756358352379,"species":"BurrosTail","mutations":["Gold","Wet"],"startTime":1756358252379,"targetScale":1.000000236564246},{"endTime":1756359436695,"species":"BurrosTail","mutations":[],"startTime":1756359189474,"targetScale":2.472215146561756}],"species":"BurrosTail","maturedAt":1755224962278,"plantedAt":1755223162278,"objectType":"plant"},"197":{"slots":[{"endTime":1755831327315,"species":"PassionFruit","mutations":["Gold","Frozen"],"startTime":1755826030722,"targetScale":1.961701160918368},{"endTime":1756361432578,"species":"PassionFruit","mutations":[],"startTime":1756358732577,"targetScale":1.000000467841227}],"species":"PassionFruit","maturedAt":1755141098398,"plantedAt":1755054698398,"objectType":"plant"},"198":{"slots":[{"endTime":1756358574499,"species":"Pepper","mutations":[],"startTime":1756357974499,"targetScale":1.000000508028283},{"endTime":1756358273985,"species":"Pepper","mutations":[],"startTime":1756357673977,"targetScale":1.000014860655158},{"endTime":1756358875177,"species":"Pepper","mutations":[],"startTime":1756358275177,"targetScale":1.000001664682317},{"endTime":1755971199481,"species":"Pepper","mutations":["Gold","Frozen","Ambershine"],"startTime":1755970599481,"targetScale":1.000000909466935},{"endTime":1756105460064,"species":"Pepper","mutations":["Gold","Frozen"],"startTime":1756104859183,"targetScale":1.001468941573944},{"endTime":1756359175543,"species":"Pepper","mutations":["Wet"],"startTime":1756358575529,"targetScale":1.000024785604695},{"endTime":1756359475900,"species":"Pepper","mutations":[],"startTime":1756358875778,"targetScale":1.000203660923527},{"endTime":1756359790088,"species":"Pepper","mutations":[],"startTime":1756359176277,"targetScale":1.023019965152612},{"endTime":1756360082536,"species":"Pepper","mutations":["Frozen"],"startTime":1756359476686,"targetScale":1.009750294144262}],"species":"Pepper","maturedAt":1754361883862,"plantedAt":1754361323862,"objectType":"plant"},"199":{"slots":[{"endTime":1756273442530,"species":"Sunflower","mutations":["Wet"],"startTime":1756249978053,"targetScale":1.303582062897952}],"species":"Sunflower","maturedAt":1755066331604,"plantedAt":1754979931604,"objectType":"plant"}}}'),Mgt={pets:{Pig:{variantsLogged:[{variant:"Normal",createdAt:1754593402377}],abilitiesLogged:[{ability:"SellBoostII",createdAt:1754593402377},{ability:"PetAgeBoost",createdAt:1754593402377}]},Worm:{variantsLogged:[{variant:"Normal",createdAt:1756246359828}],abilitiesLogged:[{ability:"ProduceEater",createdAt:1756246359828}]},Bunny:{variantsLogged:[{variant:"Normal",createdAt:1754803559058}],abilitiesLogged:[{ability:"CoinFinderII",createdAt:1754803559058}]},Snail:{variantsLogged:[{variant:"Normal",createdAt:1756264119027}],abilitiesLogged:[{ability:"CoinFinderI",createdAt:1756264119027}]},Chicken:{variantsLogged:[{variant:"Normal",createdAt:1754543882468}],abilitiesLogged:[{ability:"EggGrowthBoost",createdAt:1754543882468}]},Squirrel:{variantsLogged:[{variant:"Normal",createdAt:1755982176571}],abilitiesLogged:[{ability:"CoinFinderIII",createdAt:1755982176571}]},Butterfly:{variantsLogged:[{variant:"Normal",createdAt:1756245022987}],abilitiesLogged:[{ability:"SeedFinderIII",createdAt:1756245022987}]}},produce:{Aloe:{variantsLogged:[{variant:"Normal",createdAt:1755224651696},{variant:"Frozen",createdAt:1755237427697},{variant:"Wet",createdAt:1755240093797},{variant:"Chilled",createdAt:1755880228858}]},Corn:{variantsLogged:[{variant:"Normal",createdAt:1754192249415},{variant:"Wet",createdAt:1754194773200},{variant:"Gold",createdAt:1754201326478},{variant:"Chilled",createdAt:1754290240276},{variant:"Frozen",createdAt:1754290240276},{variant:"Rainbow",createdAt:1754710319493}]},Lily:{variantsLogged:[{variant:"Normal",createdAt:1754196535175},{variant:"Wet",createdAt:1754196558605},{variant:"Frozen",createdAt:1754290310469},{variant:"Chilled",createdAt:1754291032360},{variant:"Gold",createdAt:1754547296872}]},Grape:{variantsLogged:[{variant:"Wet",createdAt:1754706811484},{variant:"Frozen",createdAt:1754710015575},{variant:"Normal",createdAt:1754800639556},{variant:"Chilled",createdAt:1754881933220},{variant:"Dawnlit",createdAt:1756271601812},{variant:"Ambershine",createdAt:1756353401354}]},Lemon:{variantsLogged:[{variant:"Normal",createdAt:1754593859143},{variant:"Wet",createdAt:1754593859143},{variant:"Frozen",createdAt:1754604638701},{variant:"Chilled",createdAt:1754615285429},{variant:"Gold",createdAt:1755748679878},{variant:"Dawnlit",createdAt:1756266266873},{variant:"Ambershine",createdAt:1756353401354},{variant:"Rainbow",createdAt:1756353583113}]},Bamboo:{variantsLogged:[{variant:"Frozen",createdAt:1754355729320},{variant:"Rainbow",createdAt:1754450955523},{variant:"Normal",createdAt:1754451137439},{variant:"Wet",createdAt:1754451137439},{variant:"Chilled",createdAt:1754451137439},{variant:"Gold",createdAt:1754798318463},{variant:"Ambershine",createdAt:1756353401354},{variant:"Dawnlit",createdAt:1756361453377}]},Banana:{variantsLogged:[{variant:"Normal",createdAt:1754327121535},{variant:"Gold",createdAt:1754329289364},{variant:"Wet",createdAt:1754345566041},{variant:"Frozen",createdAt:1754345566041},{variant:"Chilled",createdAt:1754355642163},{variant:"Rainbow",createdAt:1755237427697},{variant:"Dawnlit",createdAt:1756267455009},{variant:"Ambershine",createdAt:1756353401354}]},Cactus:{variantsLogged:[{variant:"Normal",createdAt:1755235523358},{variant:"Wet",createdAt:1755235523358},{variant:"Frozen",createdAt:1755237541097},{variant:"Chilled",createdAt:1755240093797},{variant:"Dawnlit",createdAt:1756252999889},{variant:"Ambershine",createdAt:1756353401354}]},Carrot:{variantsLogged:[{variant:"Normal",createdAt:1754192135148},{variant:"Wet",createdAt:1754195594604},{variant:"Gold",createdAt:1754199566627},{variant:"Rainbow",createdAt:1754204582976},{variant:"Chilled",createdAt:1754363457525},{variant:"Frozen",createdAt:1754377662033}]},Lychee:{variantsLogged:[{variant:"Normal",createdAt:1754706811484},{variant:"Wet",createdAt:1754706811484},{variant:"Chilled",createdAt:1754706811484},{variant:"Frozen",createdAt:1754706811484},{variant:"Gold",createdAt:1754978011658},{variant:"Rainbow",createdAt:1754978011658},{variant:"Dawnlit",createdAt:1756252999889},{variant:"Ambershine",createdAt:1756353401354}]},Pepper:{variantsLogged:[{variant:"Normal",createdAt:1754359886866},{variant:"Chilled",createdAt:1754361840284},{variant:"Wet",createdAt:1754366502800},{variant:"Frozen",createdAt:1754366502800},{variant:"Gold",createdAt:1754420241387},{variant:"Dawnlit",createdAt:1756255072871},{variant:"Ambershine",createdAt:1756336758147}]},Tomato:{variantsLogged:[{variant:"Normal",createdAt:1754199868287},{variant:"Wet",createdAt:1754281146248},{variant:"Frozen",createdAt:1754290360228},{variant:"Chilled",createdAt:1754290980496},{variant:"Gold",createdAt:1754294161314},{variant:"Rainbow",createdAt:1755224941676},{variant:"Dawnlit",createdAt:1756266266873},{variant:"Ambershine",createdAt:1756353401354}]},Coconut:{variantsLogged:[{variant:"Frozen",createdAt:1754345566041},{variant:"Wet",createdAt:1754355642163},{variant:"Chilled",createdAt:1754355642163},{variant:"Normal",createdAt:1754361820265},{variant:"Dawnlit",createdAt:1756266266873},{variant:"Ambershine",createdAt:1756353401354}]},Pumpkin:{variantsLogged:[{variant:"Wet",createdAt:1754204737794},{variant:"Chilled",createdAt:1754290282627},{variant:"Normal",createdAt:1754293895804},{variant:"Frozen",createdAt:1754345566041},{variant:"Rainbow",createdAt:1754620303517},{variant:"Dawnlit",createdAt:1756353583113},{variant:"Ambershine",createdAt:1756358352977}]},Daffodil:{variantsLogged:[{variant:"Normal",createdAt:1754195846411},{variant:"Wet",createdAt:1754195846411},{variant:"Chilled",createdAt:1754336421567},{variant:"Frozen",createdAt:1754345476593},{variant:"Gold",createdAt:1756193981033}]},Mushroom:{variantsLogged:[{variant:"Wet",createdAt:1754293649315},{variant:"Frozen",createdAt:1754368771109},{variant:"Normal",createdAt:1754597097587},{variant:"Chilled",createdAt:1754597114680}]},Blueberry:{variantsLogged:[{variant:"Normal",createdAt:1754198809591},{variant:"Wet",createdAt:1754199941114},{variant:"Gold",createdAt:1754281146248},{variant:"Chilled",createdAt:1754290240276},{variant:"Frozen",createdAt:1754290240276},{variant:"Rainbow",createdAt:1754327121535},{variant:"Dawnlit",createdAt:1756266266873}]},Echeveria:{variantsLogged:[{variant:"Wet",createdAt:1755223991778},{variant:"Normal",createdAt:1755224632777},{variant:"Frozen",createdAt:1755750513829},{variant:"Chilled",createdAt:1755936131932},{variant:"Dawnlit",createdAt:1756353985822}]},Sunflower:{variantsLogged:[{variant:"Wet",createdAt:1754768079925},{variant:"Chilled",createdAt:1754768079925},{variant:"Normal",createdAt:1754768106611},{variant:"Frozen",createdAt:1754798318463},{variant:"Dawnlit",createdAt:1756267455009},{variant:"Ambershine",createdAt:1756353912718}]},BurrosTail:{variantsLogged:[{variant:"Normal",createdAt:1755237855797},{variant:"Wet",createdAt:1755237855797},{variant:"Frozen",createdAt:1755237855797},{variant:"Chilled",createdAt:1755237899397},{variant:"Dawnlit",createdAt:1756255072871},{variant:"Ambershine",createdAt:1756353401354},{variant:"Gold",createdAt:1756359194923}]},Strawberry:{variantsLogged:[{variant:"Normal",createdAt:1754192135148},{variant:"Gold",createdAt:1754192355917},{variant:"Rainbow",createdAt:1754192519836},{variant:"Wet",createdAt:1754192895334},{variant:"Chilled",createdAt:1754290240276},{variant:"Frozen",createdAt:1754290240276},{variant:"Ambershine",createdAt:1756353583113}]},Watermelon:{variantsLogged:[{variant:"Normal",createdAt:1754196818307},{variant:"Wet",createdAt:1754201301286},{variant:"Frozen",createdAt:1754290240276},{variant:"Chilled",createdAt:1754361598888},{variant:"Gold",createdAt:1756194258145},{variant:"Rainbow",createdAt:1756194258145},{variant:"Dawnlit",createdAt:1756352503015},{variant:"Ambershine",createdAt:1756353062913}]},DragonFruit:{variantsLogged:[{variant:"Normal",createdAt:1754364751843},{variant:"Wet",createdAt:1754364751843},{variant:"Chilled",createdAt:1754375969415},{variant:"Frozen",createdAt:1754377662033},{variant:"Gold",createdAt:1754883359342},{variant:"Dawnlit",createdAt:1756252999889},{variant:"Ambershine",createdAt:1756353401354}]},OrangeTulip:{variantsLogged:[{variant:"Normal",createdAt:1754192249415},{variant:"Wet",createdAt:1754192895334},{variant:"Rainbow",createdAt:1754201394991},{variant:"Chilled",createdAt:1754290240276},{variant:"Frozen",createdAt:1754290240276},{variant:"Gold",createdAt:1754290375109}]},PassionFruit:{variantsLogged:[{variant:"Normal",createdAt:1754460964350},{variant:"Wet",createdAt:1754527224078},{variant:"Frozen",createdAt:1754538280255},{variant:"Chilled",createdAt:1754615248373},{variant:"Gold",createdAt:1755237968797},{variant:"Rainbow",createdAt:1756017029607},{variant:"Dawnlit",createdAt:1756271601812},{variant:"Ambershine",createdAt:1756336758147}]}}},kgt=[{id:"56beb5ff-82b1-4d07-ad80-97d60824ebbc",xp:200809,name:null,hunger:49736.11111111108,abilities:["PetHatchSizeBoost"],mutations:[],petSpecies:"Pig",targetScale:1.66360532626936},{id:"7118719d-4110-4ede-b4a7-edafe4d38717",xp:95147,name:"silly",hunger:14908.33333333333,abilities:["CoinFinderIII"],mutations:[],petSpecies:"Squirrel",targetScale:1.44173727888642},{id:"1f0c31dd-120b-4c5d-b29f-f43f0fafd701",xp:33210,name:null,hunger:1453.333333333331,abilities:["ProduceMutationBoost"],mutations:[],petSpecies:"Bee",targetScale:1.193835579736955}],Dgt={items:[{toolId:"RainbowPotion",itemType:"Tool",quantity:1},{id:"84aa7188-8624-4b63-8bdc-1a9c2d971414",xp:166563,name:"silly bugs",hunger:51.27777777771966,itemType:"Pet",abilities:["CoinFinderII"],mutations:[],petSpecies:"Bunny",targetScale:1.319792519112295},{toolId:"Shovel",itemType:"Tool",quantity:1},{toolId:"PlanterPot",itemType:"Tool",quantity:94},{species:"Bamboo",itemType:"Seed",quantity:10},{species:"Mushroom",itemType:"Seed",quantity:7},{id:"1af7b112-d636-42ad-99ef-64347332d3e7",scale:2.674746831689638,species:"Daffodil",itemType:"Produce",mutations:["Wet"]},{species:"Pumpkin",itemType:"Seed",quantity:2}],favoritedItemIds:["56beb5ff-82b1-4d07-ad80-97d60824ebbc","84aa7188-8624-4b63-8bdc-1a9c2d971414","7118719d-4110-4ede-b4a7-edafe4d38717","1af7b112-d636-42ad-99ef-64347332d3e7"]},Lgt=5130574378,Fgt=6,$gt={egg:{createdAt:1756363500977,purchases:{}},seed:{createdAt:1756363500977,purchases:{}},tool:{createdAt:1756363200977,purchases:{}}},Bgt={egg:null,seed:null,tool:null},Ngt={garden:Ogt,journal:Mgt,petSlots:kgt,inventory:Dgt,coinsCount:Lgt,schemaVersion:Fgt,shopPurchases:$gt,customRestocks:Bgt},qgt=JSON.parse('{"boardwalkTileObjects":{},"tileObjects":{"0":{"slots":[{"endTime":1753819357181,"species":"Bamboo","mutations":[],"startTime":1753748758702,"targetScale":1.634224067991086}],"species":"Bamboo","maturedAt":1753748758702,"plantedAt":1753748758702,"objectType":"plant"},"1":{"slots":[{"endTime":1753704249111,"species":"Bamboo","mutations":["Wet"],"startTime":1753651132794,"targetScale":1.229544396588243}],"species":"Bamboo","maturedAt":1753651132794,"plantedAt":1753651132794,"objectType":"plant"},"2":{"slots":[{"endTime":1753694330860,"species":"Bamboo","mutations":["Wet"],"startTime":1753651130860,"targetScale":1.000000011432753}],"species":"Bamboo","maturedAt":1753651130860,"plantedAt":1753651130860,"objectType":"plant"},"3":{"slots":[{"endTime":1753792258204,"species":"Bamboo","mutations":[],"startTime":1753749057882,"targetScale":1.000007463401749}],"species":"Bamboo","maturedAt":1753749057882,"plantedAt":1753749057882,"objectType":"plant"},"4":{"slots":[{"endTime":1753807522466,"species":"Bamboo","mutations":[],"startTime":1753764322459,"targetScale":1.000000172963179}],"species":"Bamboo","maturedAt":1753764322459,"plantedAt":1753764322459,"objectType":"plant"},"5":{"slots":[{"endTime":1753810807914,"species":"Bamboo","mutations":[],"startTime":1753761565035,"targetScale":1.139881473139251}],"species":"Bamboo","maturedAt":1753761565035,"plantedAt":1753761565035,"objectType":"plant"},"6":{"slots":[{"endTime":1753807521072,"species":"Bamboo","mutations":[],"startTime":1753764321061,"targetScale":1.000000260126128}],"species":"Bamboo","maturedAt":1753764321061,"plantedAt":1753764321061,"objectType":"plant"},"7":{"slots":[{"endTime":1753752013909,"species":"DragonFruit","mutations":["Frozen"],"startTime":1753751113872,"targetScale":1.000041342375213},{"endTime":1753763599971,"species":"DragonFruit","mutations":[],"startTime":1753762698262,"targetScale":1.001899431438374},{"endTime":1753738958100,"species":"DragonFruit","mutations":["Wet"],"startTime":1753738058095,"targetScale":1.000006196201502},{"endTime":1753753654327,"species":"DragonFruit","mutations":["Frozen"],"startTime":1753752475434,"targetScale":1.309881397452577},{"endTime":1753750851837,"species":"DragonFruit","mutations":["Wet"],"startTime":1753749951206,"targetScale":1.000701768212561},{"endTime":1753751557494,"species":"DragonFruit","mutations":["Wet"],"startTime":1753750404117,"targetScale":1.281530867863695},{"endTime":1753750116622,"species":"DragonFruit","mutations":["Frozen"],"startTime":1753749216601,"targetScale":1.000023609812356}],"species":"DragonFruit","maturedAt":1753568967143,"plantedAt":1753568367143,"objectType":"plant"},"8":{"slots":[{"endTime":1753768156807,"species":"Lychee","mutations":[],"startTime":1753766356807,"targetScale":1.000000023510446},{"endTime":1753733680039,"species":"Lychee","mutations":["Chilled"],"startTime":1753731880039,"targetScale":1.000000196755801},{"endTime":1753751551747,"species":"Lychee","mutations":["Chilled"],"startTime":1753749751747,"targetScale":1.000000199777444},{"endTime":1753696245104,"species":"Lychee","mutations":["Wet"],"startTime":1753694435060,"targetScale":1.005580408795269},{"endTime":1753766553746,"species":"Lychee","mutations":[],"startTime":1753763156017,"targetScale":1.887627529687404},{"endTime":1753769058111,"species":"Lychee","mutations":[],"startTime":1753767258109,"targetScale":1.000001583713811}],"species":"Lychee","maturedAt":1753507005503,"plantedAt":1753420605503,"objectType":"plant"},"9":{"slots":[{"endTime":1753778448822,"species":"Lemon","mutations":[],"startTime":1753774848683,"targetScale":1.000038669866189},{"endTime":1753767685643,"species":"Lemon","mutations":[],"startTime":1753764085552,"targetScale":1.000025449586923},{"endTime":1753773559699,"species":"Lemon","mutations":[],"startTime":1753769959694,"targetScale":1.000001660455572},{"endTime":1753769488099,"species":"Lemon","mutations":[],"startTime":1753765888096,"targetScale":1.000001005987433},{"endTime":1753757222558,"species":"Lemon","mutations":["Wet"],"startTime":1753752449435,"targetScale":1.325867617104161},{"endTime":1753780256763,"species":"Lemon","mutations":[],"startTime":1753776649674,"targetScale":1.001969386596762}],"species":"Lemon","maturedAt":1753470425391,"plantedAt":1753427225391,"objectType":"plant"},"10":{"slots":[{"endTime":1753753078988,"species":"Lemon","mutations":[],"startTime":1753749478611,"targetScale":1.000104966482196},{"endTime":1753737297473,"species":"Lemon","mutations":["Wet"],"startTime":1753733694755,"targetScale":1.000755041217288},{"endTime":1753763231989,"species":"Lemon","mutations":["Wet"],"startTime":1753759578575,"targetScale":1.014837323111481},{"endTime":1753757848896,"species":"Lemon","mutations":["Wet"],"startTime":1753754246348,"targetScale":1.000707968936938},{"endTime":1753769695089,"species":"Lemon","mutations":[],"startTime":1753765988837,"targetScale":1.029514470403095},{"endTime":1753774935829,"species":"Lemon","mutations":[],"startTime":1753771247885,"targetScale":1.024429018226692}],"species":"Lemon","maturedAt":1753264988775,"plantedAt":1753221788775,"objectType":"plant"},"11":{"slots":[{"endTime":1753739577392,"species":"Lychee","mutations":["Wet"],"startTime":1753737777392,"targetScale":1.000000532927453},{"endTime":1753752749805,"species":"Lychee","mutations":["Frozen"],"startTime":1753749762645,"targetScale":1.659533835241894},{"endTime":1753767966122,"species":"Lychee","mutations":[],"startTime":1753765419667,"targetScale":1.414697607633596},{"endTime":1753697317397,"species":"Lychee","mutations":["Wet"],"startTime":1753695517333,"targetScale":1.000036108110756},{"endTime":1753698217654,"species":"Lychee","mutations":["Wet"],"startTime":1753696417654,"targetScale":1.000000140953946},{"endTime":1753769741851,"species":"Lychee","mutations":[],"startTime":1753766321683,"targetScale":1.900093460370956}],"species":"Lychee","maturedAt":1753314069203,"plantedAt":1753227669203,"objectType":"plant"},"12":{"slots":[{"endTime":1753763780623,"species":"DragonFruit","mutations":["Wet"],"startTime":1753762854212,"targetScale":1.029345734232914},{"endTime":1753764883721,"species":"DragonFruit","mutations":["Gold","Wet"],"startTime":1753763983489,"targetScale":1.000258885296259},{"endTime":1753765334172,"species":"DragonFruit","mutations":["Wet"],"startTime":1753764433772,"targetScale":1.000444934149481},{"endTime":1753764205532,"species":"DragonFruit","mutations":["Wet"],"startTime":1753763304954,"targetScale":1.000642667528465},{"endTime":1753765783947,"species":"DragonFruit","mutations":[],"startTime":1753764883921,"targetScale":1.00002997320444},{"endTime":1753739846061,"species":"DragonFruit","mutations":["Wet"],"startTime":1753738234118,"targetScale":1.791048253784593},{"endTime":1753767316372,"species":"DragonFruit","mutations":[],"startTime":1753766416372,"targetScale":1.000000152169599}],"species":"DragonFruit","maturedAt":1753165480267,"plantedAt":1753164880267,"objectType":"plant"},"13":{"slots":[{"endTime":1753763534416,"species":"Pepper","mutations":["Wet"],"startTime":1753762934416,"targetScale":1.00000001096652},{"endTime":1753763835781,"species":"Pepper","mutations":[],"startTime":1753763235747,"targetScale":1.000056675579057},{"endTime":1753764245708,"species":"Pepper","mutations":["Wet"],"startTime":1753763535930,"targetScale":1.182964309685932},{"endTime":1753764960192,"species":"Pepper","mutations":[],"startTime":1753763836156,"targetScale":1.873394494157978},{"endTime":1753764736394,"species":"Pepper","mutations":["Wet"],"startTime":1753764136374,"targetScale":1.000033507329805},{"endTime":1753765087856,"species":"Pepper","mutations":[],"startTime":1753764436421,"targetScale":1.085726641942904},{"endTime":1753765352364,"species":"Pepper","mutations":["Wet"],"startTime":1753764736807,"targetScale":1.025928800437065},{"endTime":1753765985232,"species":"Pepper","mutations":[],"startTime":1753765037017,"targetScale":1.58035836972521},{"endTime":1753765964930,"species":"Pepper","mutations":[],"startTime":1753765337150,"targetScale":1.046301093187247}],"species":"Pepper","maturedAt":1753097734853,"plantedAt":1753097174853,"objectType":"plant"},"14":{"slots":[{"endTime":1753734249705,"species":"PassionFruit","mutations":["Wet"],"startTime":1753731549705,"targetScale":1.000000299248261},{"endTime":1753736261693,"species":"PassionFruit","mutations":["Wet"],"startTime":1753733183991,"targetScale":1.13988976018687}],"species":"PassionFruit","maturedAt":1753173542586,"plantedAt":1753087142586,"objectType":"plant"},"15":{"slots":[{"endTime":1753731552314,"species":"Grape","mutations":["Wet"],"startTime":1753730652314,"targetScale":1.000000104341182}],"species":"Grape","maturedAt":1753268133771,"plantedAt":1753181733771,"objectType":"plant"},"16":{"slots":[{"endTime":1753762687824,"species":"Tomato","mutations":["Wet"],"startTime":1753762647824,"targetScale":1.000002210903156},{"endTime":1753762738897,"species":"Tomato","mutations":["Chilled"],"startTime":1753762668069,"targetScale":1.770700528239888}],"species":"Tomato","maturedAt":1753339502932,"plantedAt":1753338402932,"objectType":"plant"},"17":{"slots":[{"endTime":1753763974354,"species":"DragonFruit","mutations":["Wet"],"startTime":1753763074322,"targetScale":1.000035772119721},{"endTime":1753764542523,"species":"DragonFruit","mutations":["Wet"],"startTime":1753763524416,"targetScale":1.131230880948411},{"endTime":1753764874686,"species":"DragonFruit","mutations":["Wet"],"startTime":1753763974686,"targetScale":1.000000310699473},{"endTime":1753766206591,"species":"DragonFruit","mutations":["Wet"],"startTime":1753764424893,"targetScale":1.979665491920175},{"endTime":1753766415473,"species":"DragonFruit","mutations":[],"startTime":1753764875087,"targetScale":1.711540989744827},{"endTime":1753766232440,"species":"DragonFruit","mutations":[],"startTime":1753765325418,"targetScale":1.007802386747231},{"endTime":1753766676878,"species":"DragonFruit","mutations":[],"startTime":1753765776349,"targetScale":1.000588613079191}],"species":"DragonFruit","maturedAt":1753167938432,"plantedAt":1753167338432,"objectType":"plant"},"18":{"slots":[{"endTime":1753767212634,"species":"Lychee","mutations":[],"startTime":1753765403941,"targetScale":1.004829472806373},{"endTime":1753768104934,"species":"Lychee","mutations":[],"startTime":1753766304924,"targetScale":1.000006071423855},{"endTime":1753772141173,"species":"Lychee","mutations":[],"startTime":1753770341173,"targetScale":1.000000009794001},{"endTime":1753698250857,"species":"Lychee","mutations":["Wet"],"startTime":1753696450857,"targetScale":1.000000076137936},{"endTime":1753739985845,"species":"Lychee","mutations":["Wet"],"startTime":1753737809612,"targetScale":1.209018550361106},{"endTime":1753769008180,"species":"Lychee","mutations":[],"startTime":1753767208002,"targetScale":1.000098925959556}],"species":"Lychee","maturedAt":1753162623232,"plantedAt":1753076223232,"objectType":"plant"},"19":{"slots":[{"endTime":1753758797106,"species":"Lemon","mutations":[],"startTime":1753752844618,"targetScale":1.653469056244342},{"endTime":1753769724446,"species":"Lemon","mutations":[],"startTime":1753766124067,"targetScale":1.000105441201617},{"endTime":1753767924138,"species":"Lemon","mutations":[],"startTime":1753764322795,"targetScale":1.000373164080766},{"endTime":1753775329015,"species":"Lemon","mutations":[],"startTime":1753767926417,"targetScale":2.056277424660705},{"endTime":1753775356606,"species":"Lemon","mutations":[],"startTime":1753771702402,"targetScale":1.01505686203132},{"endTime":1753780242516,"species":"Lemon","mutations":[],"startTime":1753776642516,"targetScale":1.000000027413618}],"species":"Lemon","maturedAt":1753408605607,"plantedAt":1753365405607,"objectType":"plant"},"20":{"slots":[{"endTime":1753827515440,"species":"Bamboo","mutations":[],"startTime":1753765488733,"targetScale":1.435803411480628}],"species":"Bamboo","maturedAt":1753765488733,"plantedAt":1753765488733,"objectType":"plant"},"21":{"slots":[{"endTime":1753822094604,"species":"Bamboo","mutations":[],"startTime":1753761455862,"targetScale":1.403674583751191}],"species":"Bamboo","maturedAt":1753761455862,"plantedAt":1753761455862,"objectType":"plant"},"22":{"slots":[{"endTime":1753807535047,"species":"Bamboo","mutations":[],"startTime":1753764323994,"targetScale":1.000255861627864}],"species":"Bamboo","maturedAt":1753764323994,"plantedAt":1753764323994,"objectType":"plant"},"23":{"slots":[{"endTime":1753836287549,"species":"Bamboo","mutations":[],"startTime":1753763165282,"targetScale":1.692645079237785}],"species":"Bamboo","maturedAt":1753763165282,"plantedAt":1753763165282,"objectType":"plant"},"24":{"slots":[{"endTime":1753701309621,"species":"Bamboo","mutations":["Wet"],"startTime":1753655419919,"targetScale":1.062261629884751}],"species":"Bamboo","maturedAt":1753655419919,"plantedAt":1753655419919,"objectType":"plant"},"25":{"slots":[{"endTime":1753804540925,"species":"Bamboo","mutations":[],"startTime":1753761340925,"targetScale":1.000000015393338}],"species":"Bamboo","maturedAt":1753761340925,"plantedAt":1753761340925,"objectType":"plant"},"26":{"slots":[{"endTime":1753832736529,"species":"Bamboo","mutations":[],"startTime":1753747683250,"targetScale":1.968825914256749}],"species":"Bamboo","maturedAt":1753747683250,"plantedAt":1753747683250,"objectType":"plant"},"27":{"slots":[{"endTime":1753753812941,"species":"Lychee","mutations":["Wet"],"startTime":1753752012934,"targetScale":1.000004036718764},{"endTime":1753765736525,"species":"Lychee","mutations":[],"startTime":1753763151957,"targetScale":1.435871378596473},{"endTime":1753742160368,"species":"Lychee","mutations":["Wet"],"startTime":1753739849890,"targetScale":1.283599263447224},{"endTime":1753752454212,"species":"Lychee","mutations":["Wet"],"startTime":1753750654212,"targetScale":1.000000263663873},{"endTime":1753768153822,"species":"Lychee","mutations":[],"startTime":1753766353681,"targetScale":1.000078365585354},{"endTime":1753751471424,"species":"Lychee","mutations":["Wet"],"startTime":1753749671268,"targetScale":1.000086779043011}],"species":"Lychee","maturedAt":1753598182237,"plantedAt":1753511782237,"objectType":"plant"},"28":{"slots":[{"endTime":1753836664839,"species":"Mushroom","mutations":[],"startTime":1753750117193,"targetScale":1.001708867618152}],"species":"Mushroom","maturedAt":1753750117193,"plantedAt":1753750117193,"objectType":"plant"},"29":{"slots":[{"endTime":1753732778279,"species":"Lychee","mutations":["Wet"],"startTime":1753730978120,"targetScale":1.000088786442232},{"endTime":1753733686944,"species":"Lychee","mutations":["Wet"],"startTime":1753731878476,"targetScale":1.004704495098634},{"endTime":1753771550495,"species":"Lychee","mutations":[],"startTime":1753768552008,"targetScale":1.665826420164876},{"endTime":1753765017392,"species":"Lychee","mutations":[],"startTime":1753763190420,"targetScale":1.014984942985321},{"endTime":1753697153886,"species":"Lychee","mutations":["Wet"],"startTime":1753695353886,"targetScale":1.00000013071588},{"endTime":1753767417295,"species":"Lychee","mutations":[],"startTime":1753764092268,"targetScale":1.84723726042583}],"species":"Lychee","maturedAt":1753556607171,"plantedAt":1753470207171,"objectType":"plant"},"30":{"slots":[{"endTime":1753733170001,"species":"Lychee","mutations":["Wet"],"startTime":1753731369998,"targetScale":1.000001666604689},{"endTime":1753752443090,"species":"Lychee","mutations":["Wet"],"startTime":1753750642974,"targetScale":1.000064538357038},{"endTime":1753751542061,"species":"Lychee","mutations":["Wet"],"startTime":1753749741967,"targetScale":1.000052395838716},{"endTime":1753739559119,"species":"Lychee","mutations":["Wet"],"startTime":1753737759117,"targetScale":1.000001165466992},{"endTime":1753753361084,"species":"Lychee","mutations":[],"startTime":1753751561053,"targetScale":1.000017248311036},{"endTime":1753698066508,"species":"Lychee","mutations":["Wet"],"startTime":1753696264018,"targetScale":1.001383386541447}],"species":"Lychee","maturedAt":1753182169625,"plantedAt":1753095769625,"objectType":"plant"},"31":{"slots":[{"endTime":1753942981870,"species":"Mushroom","mutations":[],"startTime":1753647532912,"targetScale":3.419548126864111}],"species":"Mushroom","maturedAt":1753647532912,"plantedAt":1753647532912,"objectType":"plant"},"32":{"slots":[{"endTime":1753754847925,"species":"Lychee","mutations":["Frozen"],"startTime":1753753047917,"targetScale":1.000004582970115},{"endTime":1753734068120,"species":"Lychee","mutations":["Wet"],"startTime":1753732267735,"targetScale":1.000214320729865},{"endTime":1753768601246,"species":"Lychee","mutations":[],"startTime":1753765412971,"targetScale":1.771264216981645},{"endTime":1753750513718,"species":"Lychee","mutations":["Wet"],"startTime":1753748713706,"targetScale":1.00000694041519},{"endTime":1753768209044,"species":"Lychee","mutations":[],"startTime":1753766314769,"targetScale":1.052375308125137},{"endTime":1753752697342,"species":"Lychee","mutations":["Gold","Wet"],"startTime":1753750893146,"targetScale":1.002331296140154}],"species":"Lychee","maturedAt":1753239442306,"plantedAt":1753153042306,"objectType":"plant"},"33":{"slots":[{"endTime":1753790114422,"species":"Sunflower","mutations":[],"startTime":1753772114416,"targetScale":1.000000368810507}],"species":"Sunflower","maturedAt":1753249168468,"plantedAt":1753162768468,"objectType":"plant"},"34":{"slots":[{"endTime":1753691120443,"species":"Sunflower","mutations":["Wet"],"startTime":1753670763816,"targetScale":1.130923756488902}],"species":"Sunflower","maturedAt":1753440699606,"plantedAt":1753354299606,"objectType":"plant"},"35":{"slots":[{"endTime":1753781349659,"species":"Sunflower","mutations":[],"startTime":1753745474385,"targetScale":1.993070791326859}],"species":"Sunflower","maturedAt":1753736474385,"plantedAt":1753650074385,"objectType":"plant"},"36":{"slots":[{"endTime":1753815420841,"species":"Sunflower","mutations":[],"startTime":1753772384287,"targetScale":2.390919690053254}],"species":"Sunflower","maturedAt":1753726014165,"plantedAt":1753639614165,"objectType":"plant"},"37":{"slots":[{"endTime":1753767036909,"species":"Lychee","mutations":[],"startTime":1753765235321,"targetScale":1.000882415025187},{"endTime":1753768934063,"species":"Lychee","mutations":[],"startTime":1753767124204,"targetScale":1.005477658231288},{"endTime":1753753747794,"species":"Lychee","mutations":["Frozen"],"startTime":1753751947794,"targetScale":1.000000029977871},{"endTime":1753765851176,"species":"Lychee","mutations":[],"startTime":1753763432033,"targetScale":1.343968429260466},{"endTime":1753767938197,"species":"Lychee","mutations":[],"startTime":1753766138186,"targetScale":1.000006578332125},{"endTime":1753766133071,"species":"Lychee","mutations":[],"startTime":1753764333064,"targetScale":1.000004227404557}],"species":"Lychee","maturedAt":1753231050320,"plantedAt":1753144650320,"objectType":"plant"},"38":{"slots":[{"endTime":1753851966930,"species":"Mushroom","mutations":[],"startTime":1753765563350,"targetScale":1.000041435844778}],"species":"Mushroom","maturedAt":1753765563350,"plantedAt":1753765563350,"objectType":"plant"},"39":{"slots":[{"endTime":1753751811114,"species":"Lychee","mutations":["Wet"],"startTime":1753750010826,"targetScale":1.000160522984406},{"endTime":1753753740657,"species":"Lychee","mutations":["Chilled"],"startTime":1753751940657,"targetScale":1.000000057766319},{"endTime":1753755343417,"species":"Lychee","mutations":[],"startTime":1753752841260,"targetScale":1.39008732092288},{"endTime":1753742547156,"species":"Lychee","mutations":["Wet"],"startTime":1753740673779,"targetScale":1.040765399768135},{"endTime":1753765246703,"species":"Lychee","mutations":["Wet"],"startTime":1753763420373,"targetScale":1.014627835373089},{"endTime":1753752712471,"species":"Lychee","mutations":["Chilled"],"startTime":1753750912120,"targetScale":1.000195407591997}],"species":"Lychee","maturedAt":1753450646025,"plantedAt":1753364246025,"objectType":"plant"},"40":{"slots":[{"endTime":1753792383658,"species":"Bamboo","mutations":[],"startTime":1753749060432,"targetScale":1.00285246900062}],"species":"Bamboo","maturedAt":1753749060432,"plantedAt":1753749060432,"objectType":"plant"},"41":{"slots":[{"endTime":1753779978376,"species":"Bamboo","mutations":[],"startTime":1753736777617,"targetScale":1.000017579804077}],"species":"Bamboo","maturedAt":1753736777617,"plantedAt":1753736777617,"objectType":"plant"},"42":{"slots":[{"endTime":1753779975785,"species":"Bamboo","mutations":[],"startTime":1753736775781,"targetScale":1.000000100935348}],"species":"Bamboo","maturedAt":1753736775781,"plantedAt":1753736775781,"objectType":"plant"},"43":{"slots":[{"endTime":1753742428438,"species":"Bamboo","mutations":["Wet"],"startTime":1753659374061,"targetScale":1.922555034787418}],"species":"Bamboo","maturedAt":1753659374061,"plantedAt":1753659374061,"objectType":"plant"},"44":{"slots":[{"endTime":1753702575491,"species":"Bamboo","mutations":["Wet"],"startTime":1753659375454,"targetScale":1.000000867923694}],"species":"Bamboo","maturedAt":1753659375454,"plantedAt":1753659375454,"objectType":"plant"},"45":{"slots":[{"endTime":1753804675896,"species":"Bamboo","mutations":[],"startTime":1753761475891,"targetScale":1.000000126142754}],"species":"Bamboo","maturedAt":1753761475891,"plantedAt":1753761475891,"objectType":"plant"},"46":{"slots":[{"endTime":1753780352799,"species":"Bamboo","mutations":[],"startTime":1753737152561,"targetScale":1.000005511429331}],"species":"Bamboo","maturedAt":1753737152561,"plantedAt":1753737152561,"objectType":"plant"},"47":{"slots":[{"endTime":1753755081916,"species":"Pepper","mutations":[],"startTime":1753754481851,"targetScale":1.000108529294136},{"endTime":1753755382248,"species":"Pepper","mutations":[],"startTime":1753754782248,"targetScale":1.000000369732613},{"endTime":1753755707331,"species":"Pepper","mutations":["Chilled"],"startTime":1753755106311,"targetScale":1.001701066673481},{"endTime":1753756598804,"species":"Pepper","mutations":["Wet"],"startTime":1753755406581,"targetScale":1.987039543972016},{"endTime":1753756306988,"species":"Pepper","mutations":["Wet"],"startTime":1753755706988,"targetScale":1.000000380563682},{"endTime":1753756607442,"species":"Pepper","mutations":[],"startTime":1753756007351,"targetScale":1.000152522155609},{"endTime":1753756908832,"species":"Pepper","mutations":[],"startTime":1753756307507,"targetScale":1.002209150194947},{"endTime":1753757210236,"species":"Pepper","mutations":[],"startTime":1753756607980,"targetScale":1.003761653040262},{"endTime":1753757510029,"species":"Pepper","mutations":["Chilled"],"startTime":1753756908274,"targetScale":1.002926438247913}],"species":"Pepper","maturedAt":1753480250709,"plantedAt":1753479690709,"objectType":"plant"},"48":{"slots":[{"endTime":1753752755521,"species":"Lychee","mutations":["Wet"],"startTime":1753750836452,"targetScale":1.066149470006437},{"endTime":1753753536848,"species":"Lychee","mutations":["Chilled"],"startTime":1753751736848,"targetScale":1.000000155983734},{"endTime":1753766533275,"species":"Lychee","mutations":[],"startTime":1753763194647,"targetScale":1.854793439658979},{"endTime":1753754437718,"species":"Lychee","mutations":["Chilled"],"startTime":1753752637226,"targetScale":1.000273556511746},{"endTime":1753765897408,"species":"Lychee","mutations":[],"startTime":1753764096734,"targetScale":1.000374939375155},{"endTime":1753757925474,"species":"Lychee","mutations":["Wet"],"startTime":1753754441758,"targetScale":1.935398303320544}],"species":"Lychee","maturedAt":1753556602701,"plantedAt":1753470202701,"objectType":"plant"},"49":{"slots":[{"endTime":1753766825158,"species":"DragonFruit","mutations":[],"startTime":1753765463291,"targetScale":1.513186177284391},{"endTime":1753763648938,"species":"DragonFruit","mutations":["Wet"],"startTime":1753762748938,"targetScale":1.000000875609791},{"endTime":1753738487051,"species":"DragonFruit","mutations":["Frozen"],"startTime":1753737586346,"targetScale":1.000783840348238},{"endTime":1753732773675,"species":"DragonFruit","mutations":["Wet"],"startTime":1753731873675,"targetScale":1.000000528313102},{"endTime":1753764870743,"species":"DragonFruit","mutations":["Wet"],"startTime":1753763200647,"targetScale":1.855663306982569},{"endTime":1753766815169,"species":"DragonFruit","mutations":[],"startTime":1753765915169,"targetScale":1.000000261580631},{"endTime":1753666021505,"species":"DragonFruit","mutations":["Rainbow","Frozen"],"startTime":1753665121412,"targetScale":1.000104202323117}],"species":"DragonFruit","maturedAt":1753568911238,"plantedAt":1753568311238,"objectType":"plant"},"50":{"slots":[{"endTime":1753731547235,"species":"DragonFruit","mutations":["Wet"],"startTime":1753730647234,"targetScale":1.000001645089658},{"endTime":1753732274151,"species":"DragonFruit","mutations":["Wet"],"startTime":1753731374005,"targetScale":1.000162617320443},{"endTime":1753764568583,"species":"DragonFruit","mutations":[],"startTime":1753762864179,"targetScale":1.893782665432753},{"endTime":1753733182310,"species":"DragonFruit","mutations":["Wet"],"startTime":1753732274617,"targetScale":1.008547993487355},{"endTime":1753764247830,"species":"DragonFruit","mutations":[],"startTime":1753763316420,"targetScale":1.034900678567475},{"endTime":1753734075543,"species":"DragonFruit","mutations":["Wet"],"startTime":1753733175503,"targetScale":1.000044994638947},{"endTime":1753764726359,"species":"DragonFruit","mutations":[],"startTime":1753763768561,"targetScale":1.064220810740949}],"species":"DragonFruit","maturedAt":1753367772035,"plantedAt":1753367172035,"objectType":"plant"},"51":{"slots":[{"endTime":1753765109548,"species":"Lychee","mutations":["Wet"],"startTime":1753763309039,"targetScale":1.000283026561989},{"endTime":1753734072856,"species":"Lychee","mutations":["Wet","Gold"],"startTime":1753732269478,"targetScale":1.001876925701029},{"endTime":1753695524690,"species":"Lychee","mutations":["Wet"],"startTime":1753693720114,"targetScale":1.002542751803378},{"endTime":1753753641642,"species":"Lychee","mutations":["Wet"],"startTime":1753751791014,"targetScale":1.028126932250704},{"endTime":1753766011387,"species":"Lychee","mutations":[],"startTime":1753764211387,"targetScale":1.000000021270579},{"endTime":1753751576021,"species":"Lychee","mutations":["Wet"],"startTime":1753749776021,"targetScale":1.000000231811607}],"species":"Lychee","maturedAt":1753383647105,"plantedAt":1753297247105,"objectType":"plant"},"52":{"slots":[{"endTime":1753765511999,"species":"Pepper","mutations":["Wet"],"startTime":1753764911999,"targetScale":1.000000011673083},{"endTime":1753765812561,"species":"Pepper","mutations":["Wet"],"startTime":1753765212355,"targetScale":1.000344297143816},{"endTime":1753766176052,"species":"Pepper","mutations":[],"startTime":1753765512680,"targetScale":1.105620240339259},{"endTime":1753766413001,"species":"Pepper","mutations":[],"startTime":1753765813000,"targetScale":1.000002758734582},{"endTime":1753756635116,"species":"Pepper","mutations":["Wet"],"startTime":1753755738153,"targetScale":1.494939016218835},{"endTime":1753750210467,"species":"Pepper","mutations":["Wet"],"startTime":1753749607955,"targetScale":1.004187451356983},{"endTime":1753750520108,"species":"Pepper","mutations":["Wet"],"startTime":1753749908393,"targetScale":1.019525918732011},{"endTime":1753750808954,"species":"Pepper","mutations":["Frozen"],"startTime":1753750208890,"targetScale":1.000108183755939},{"endTime":1753751109235,"species":"Pepper","mutations":["Wet"],"startTime":1753750509235,"targetScale":1.000000423346523}],"species":"Pepper","maturedAt":1753227742158,"plantedAt":1753227182158,"objectType":"plant"},"53":{"slots":[{"endTime":1753734257560,"species":"PassionFruit","mutations":["Wet"],"startTime":1753731557521,"targetScale":1.00001470161454},{"endTime":1753735900424,"species":"PassionFruit","mutations":["Chilled"],"startTime":1753733197874,"targetScale":1.000944667574102}],"species":"PassionFruit","maturedAt":1753092679874,"plantedAt":1753006279874,"objectType":"plant"},"54":{"slots":[{"endTime":1753755131352,"species":"Pepper","mutations":["Frozen"],"startTime":1753754531150,"targetScale":1.000337545821778},{"endTime":1753755608838,"species":"Pepper","mutations":["Frozen"],"startTime":1753754831254,"targetScale":1.295974911347077},{"endTime":1753756310670,"species":"Pepper","mutations":[],"startTime":1753755131897,"targetScale":1.964623237879028},{"endTime":1753756032272,"species":"Pepper","mutations":["Wet"],"startTime":1753755432252,"targetScale":1.000034903460591},{"endTime":1753756332252,"species":"Pepper","mutations":["Wet"],"startTime":1753755732252,"targetScale":1.000000334513762},{"endTime":1753756977268,"species":"Pepper","mutations":["Wet"],"startTime":1753756032754,"targetScale":1.57419029757474},{"endTime":1753756933412,"species":"Pepper","mutations":["Wet"],"startTime":1753756333203,"targetScale":1.000348830403699},{"endTime":1753757234736,"species":"Pepper","mutations":["Chilled"],"startTime":1753756633645,"targetScale":1.00181953559737},{"endTime":1753757534007,"species":"Pepper","mutations":["Chilled"],"startTime":1753756933992,"targetScale":1.000025569274237}],"species":"Pepper","maturedAt":1753161185811,"plantedAt":1753160625811,"objectType":"plant"},"55":{"slots":[{"endTime":1753763985092,"species":"DragonFruit","mutations":["Wet"],"startTime":1753763078889,"targetScale":1.006893198720755},{"endTime":1753764429430,"species":"DragonFruit","mutations":["Wet"],"startTime":1753763529277,"targetScale":1.000170913118632},{"endTime":1753764885008,"species":"DragonFruit","mutations":[],"startTime":1753763979306,"targetScale":1.006336261859373},{"endTime":1753765656875,"species":"DragonFruit","mutations":[],"startTime":1753764429408,"targetScale":1.363852775428593},{"endTime":1753765779885,"species":"DragonFruit","mutations":[],"startTime":1753764879869,"targetScale":1.00001843082953},{"endTime":1753766311273,"species":"DragonFruit","mutations":["Wet"],"startTime":1753765330280,"targetScale":1.089992984110836},{"endTime":1753766684371,"species":"DragonFruit","mutations":[],"startTime":1753765780493,"targetScale":1.004309860156771}],"species":"DragonFruit","maturedAt":1753683827337,"plantedAt":1753683227337,"objectType":"plant"},"56":{"slots":[{"endTime":1753768862987,"species":"PassionFruit","mutations":[],"startTime":1753765994678,"targetScale":1.062336816571915},{"endTime":1753773106586,"species":"PassionFruit","mutations":[],"startTime":1753770338068,"targetScale":1.025377309582315}],"species":"PassionFruit","maturedAt":1753308206222,"plantedAt":1753221806222,"objectType":"plant"},"57":{"slots":[{"endTime":1753755290858,"species":"Pepper","mutations":[],"startTime":1753754525884,"targetScale":1.274956899894922},{"endTime":1753755431821,"species":"Pepper","mutations":["Gold","Wet"],"startTime":1753754826269,"targetScale":1.009254309927258},{"endTime":1753755798938,"species":"Pepper","mutations":["Wet"],"startTime":1753755126610,"targetScale":1.120547458872138},{"endTime":1753756092688,"species":"Pepper","mutations":["Chilled"],"startTime":1753755426995,"targetScale":1.109489023781015},{"endTime":1753756327338,"species":"Pepper","mutations":["Wet"],"startTime":1753755727256,"targetScale":1.000137681310093},{"endTime":1753756627787,"species":"Pepper","mutations":["Chilled"],"startTime":1753756027776,"targetScale":1.0000190805533},{"endTime":1753757241937,"species":"Pepper","mutations":["Wet"],"startTime":1753756328194,"targetScale":1.522906552505378},{"endTime":1753757237099,"species":"Pepper","mutations":["Frozen"],"startTime":1753756628461,"targetScale":1.014396782086227},{"endTime":1753757605218,"species":"Pepper","mutations":["Wet"],"startTime":1753756928931,"targetScale":1.127145351909047}],"species":"Pepper","maturedAt":1753339234467,"plantedAt":1753338674467,"objectType":"plant"},"58":{"slots":[{"endTime":1753770343564,"species":"Lychee","mutations":[],"startTime":1753768543564,"targetScale":1.000000001825044},{"endTime":1753752841845,"species":"Lychee","mutations":[],"startTime":1753751041831,"targetScale":1.000008114859846},{"endTime":1753754225961,"species":"Lychee","mutations":["Wet"],"startTime":1753751947000,"targetScale":1.266089714268359},{"endTime":1753767395259,"species":"Lychee","mutations":[],"startTime":1753765398942,"targetScale":1.109065294993958},{"endTime":1753698264334,"species":"Lychee","mutations":["Wet"],"startTime":1753696464103,"targetScale":1.000128344496012},{"endTime":1753691112996,"species":"Lychee","mutations":["Wet"],"startTime":1753689307580,"targetScale":1.003008926354474}],"species":"Lychee","maturedAt":1753161098758,"plantedAt":1753074698758,"objectType":"plant"},"59":{"slots":[{"endTime":1753764038311,"species":"DragonFruit","mutations":["Wet"],"startTime":1753763069229,"targetScale":1.076758072675768},{"endTime":1753764433966,"species":"DragonFruit","mutations":["Wet"],"startTime":1753763519236,"targetScale":1.016367126481287},{"endTime":1753764869416,"species":"DragonFruit","mutations":[],"startTime":1753763969416,"targetScale":1.000000151349032},{"endTime":1753765320580,"species":"DragonFruit","mutations":["Wet"],"startTime":1753764420580,"targetScale":1.000000221854336},{"endTime":1753765771261,"species":"DragonFruit","mutations":[],"startTime":1753764871261,"targetScale":1.000000466355477},{"endTime":1753766652339,"species":"DragonFruit","mutations":[],"startTime":1753765321484,"targetScale":1.478727812516583},{"endTime":1753767554871,"species":"DragonFruit","mutations":[],"startTime":1753765771919,"targetScale":1.981058359131977}],"species":"DragonFruit","maturedAt":1753440173884,"plantedAt":1753439573884,"objectType":"plant"},"60":{"slots":[{"endTime":1753793018039,"species":"Bamboo","mutations":[],"startTime":1753748756254,"targetScale":1.024578373031769}],"species":"Bamboo","maturedAt":1753748756254,"plantedAt":1753748756254,"objectType":"plant"},"61":{"slots":[{"endTime":1753726830500,"species":"Bamboo","mutations":["Wet"],"startTime":1753683622169,"targetScale":1.000192869618189}],"species":"Bamboo","maturedAt":1753683622169,"plantedAt":1753683622169,"objectType":"plant"},"62":{"slots":[{"endTime":1753801435842,"species":"Bamboo","mutations":[],"startTime":1753736779551,"targetScale":1.496673405809032}],"species":"Bamboo","maturedAt":1753736779551,"plantedAt":1753736779551,"objectType":"plant"},"63":{"slots":[{"endTime":1753780192979,"species":"Bamboo","mutations":[],"startTime":1753736986630,"targetScale":1.000146988611342}],"species":"Bamboo","maturedAt":1753736986630,"plantedAt":1753736986630,"objectType":"plant"},"64":{"slots":[{"endTime":1753804653420,"species":"Bamboo","mutations":[],"startTime":1753761453418,"targetScale":1.000000054417065}],"species":"Bamboo","maturedAt":1753761453418,"plantedAt":1753761453418,"objectType":"plant"},"65":{"slots":[{"endTime":1753737471966,"species":"Bamboo","mutations":["Wet"],"startTime":1753651122384,"targetScale":1.998832919975935}],"species":"Bamboo","maturedAt":1753651122384,"plantedAt":1753651122384,"objectType":"plant"},"66":{"slots":[{"endTime":1753823199882,"species":"Mushroom","mutations":[],"startTime":1753736799742,"targetScale":1.000001629398129}],"species":"Mushroom","maturedAt":1753736799742,"plantedAt":1753736799742,"objectType":"plant"},"67":{"slots":[{"endTime":1753843740453,"species":"Mushroom","mutations":["Gold"],"startTime":1753683502776,"targetScale":1.854602751119124}],"species":"Mushroom","maturedAt":1753683502776,"plantedAt":1753683502776,"objectType":"plant"},"68":{"slots":[{"endTime":1753731316360,"species":"Mushroom","mutations":["Wet"],"startTime":1753644916165,"targetScale":1.000002257733126}],"species":"Mushroom","maturedAt":1753644916165,"plantedAt":1753644916165,"objectType":"plant"},"69":{"slots":[{"endTime":1753752021659,"species":"Lemon","mutations":["Chilled"],"startTime":1753748103783,"targetScale":1.088299042981927},{"endTime":1753757840539,"species":"Lemon","mutations":["Wet"],"startTime":1753754238313,"targetScale":1.000618502132251},{"endTime":1753767706438,"species":"Lemon","mutations":[],"startTime":1753764105394,"targetScale":1.000290010799737},{"endTime":1753759680312,"species":"Lemon","mutations":["Frozen"],"startTime":1753756080298,"targetScale":1.000004095562534},{"endTime":1753769589003,"species":"Lemon","mutations":[],"startTime":1753765906351,"targetScale":1.02295909478413},{"endTime":1753771310403,"species":"Lemon","mutations":["Gold"],"startTime":1753767709050,"targetScale":1.000375833483898}],"species":"Lemon","maturedAt":1753340454256,"plantedAt":1753297254256,"objectType":"plant"},"70":{"slots":[{"endTime":1753735497054,"species":"Lemon","mutations":["Wet"],"startTime":1753731897050,"targetScale":1.000001179289318},{"endTime":1753772275232,"species":"Lemon","mutations":[],"startTime":1753768126860,"targetScale":1.15232563440121},{"endTime":1753739190070,"species":"Lemon","mutations":["Wet"],"startTime":1753735497556,"targetScale":1.025698573629498},{"endTime":1753745878423,"species":"Lemon","mutations":["Wet"],"startTime":1753742272221,"targetScale":1.001722954113766},{"endTime":1753767888411,"species":"Lemon","mutations":[],"startTime":1753764245556,"targetScale":1.011904377418072},{"endTime":1753756069555,"species":"Lemon","mutations":["Wet"],"startTime":1753752469540,"targetScale":1.000004236063703}],"species":"Lemon","maturedAt":1753196271233,"plantedAt":1753153071233,"objectType":"plant"},"71":{"slots":[{"endTime":1753770746058,"species":"Pumpkin","mutations":[],"startTime":1753765420077,"targetScale":2.536181496734678}],"species":"Pumpkin","maturedAt":1753765420077,"plantedAt":1753765420077,"objectType":"plant"},"72":{"slots":[{"endTime":1753766116064,"species":"Watermelon","mutations":[],"startTime":1753765396005,"targetScale":1.000082144753546}],"species":"Watermelon","maturedAt":1753765396005,"plantedAt":1753765396005,"objectType":"plant"},"73":{"slots":[{"endTime":1753765470950,"species":"Daffodil","mutations":["Wet"],"startTime":1753765358953,"targetScale":2.23995859450751}],"species":"Daffodil","maturedAt":1753765358953,"plantedAt":1753765358953,"objectType":"plant"},"74":{"slots":[{"endTime":1753765434144,"species":"OrangeTulip","mutations":["Wet"],"startTime":1753765428144,"targetScale":1.000000106123883}],"species":"OrangeTulip","maturedAt":1753765428144,"plantedAt":1753765428144,"objectType":"plant"},"75":{"slots":[{"endTime":1753765407587,"species":"Daffodil","mutations":[],"startTime":1753765357312,"targetScale":1.005512694833087}],"species":"Daffodil","maturedAt":1753765357312,"plantedAt":1753765357312,"objectType":"plant"},"76":{"slots":[{"endTime":1753762585836,"species":"Corn","mutations":["Wet"],"startTime":1753762555569,"targetScale":1.008901132542242}],"species":"Corn","maturedAt":1753553169727,"plantedAt":1753553039727,"objectType":"plant"},"77":{"slots":[{"endTime":1753754468308,"species":"PassionFruit","mutations":["Chilled"],"startTime":1753750562287,"targetScale":1.44667479501023},{"endTime":1753742401976,"species":"PassionFruit","mutations":["Wet"],"startTime":1753739701948,"targetScale":1.000010505676868}],"species":"PassionFruit","maturedAt":1753308199208,"plantedAt":1753221799208,"objectType":"plant"},"78":{"slots":[{"endTime":1753765498953,"species":"Corn","mutations":[],"startTime":1753765449341,"targetScale":1.653734561108509}],"species":"Corn","maturedAt":1753441398274,"plantedAt":1753441268274,"objectType":"plant"},"79":{"slots":[{"endTime":1753770048772,"species":"Lemon","mutations":[],"startTime":1753766448771,"targetScale":1.000000349556174},{"endTime":1753771849484,"species":"Lemon","mutations":[],"startTime":1753768248975,"targetScale":1.00014141285089},{"endTime":1753756322691,"species":"Lemon","mutations":[],"startTime":1753752722686,"targetScale":1.000001568186327},{"endTime":1753760454343,"species":"Lemon","mutations":[],"startTime":1753754525107,"targetScale":1.647010260939866},{"endTime":1753696612238,"species":"Lemon","mutations":["Wet"],"startTime":1753693008717,"targetScale":1.00097827709887},{"endTime":1753754520337,"species":"Lemon","mutations":[],"startTime":1753750920329,"targetScale":1.000002492543737}],"species":"Lemon","maturedAt":1753496208070,"plantedAt":1753453008070,"objectType":"plant"},"80":{"slots":[{"endTime":1753786949248,"species":"Bamboo","mutations":[],"startTime":1753736983331,"targetScale":1.156618453304293}],"species":"Bamboo","maturedAt":1753736983331,"plantedAt":1753736983331,"objectType":"plant"},"81":{"slots":[{"endTime":1753804588264,"species":"Bamboo","mutations":[],"startTime":1753761388263,"targetScale":1.000000035498364}],"species":"Bamboo","maturedAt":1753761388263,"plantedAt":1753761388263,"objectType":"plant"},"82":{"slots":[{"endTime":1753780185045,"species":"Bamboo","mutations":[],"startTime":1753736985045,"targetScale":1.000000017859255}],"species":"Bamboo","maturedAt":1753736985045,"plantedAt":1753736985045,"objectType":"plant"},"83":{"slots":[{"endTime":1753803409907,"species":"Bamboo","mutations":[],"startTime":1753736988117,"targetScale":1.537541444175268}],"species":"Bamboo","maturedAt":1753736988117,"plantedAt":1753736988117,"objectType":"plant"},"84":{"slots":[{"endTime":1753592272197,"species":"Bamboo","mutations":["Wet"],"startTime":1753548736922,"targetScale":1.036998356656026}],"species":"Bamboo","maturedAt":1753548736922,"plantedAt":1753548736922,"objectType":"plant"},"85":{"slots":[{"endTime":1753836832375,"species":"Mushroom","mutations":[],"startTime":1753748986467,"targetScale":1.016735047726593}],"species":"Mushroom","maturedAt":1753748986467,"plantedAt":1753748986467,"objectType":"plant"},"86":{"slots":[{"endTime":1753896570885,"species":"Mushroom","mutations":[],"startTime":1753651086950,"targetScale":2.841249256797979}],"species":"Mushroom","maturedAt":1753651086950,"plantedAt":1753651086950,"objectType":"plant"},"87":{"slots":[{"endTime":1753764314052,"species":"Mushroom","mutations":[],"startTime":1753548689374,"targetScale":2.568060460446582}],"species":"Mushroom","maturedAt":1753548689374,"plantedAt":1753548689374,"objectType":"plant"},"88":{"slots":[{"endTime":1753789672011,"species":"Mushroom","mutations":[],"startTime":1753551279016,"targetScale":2.839228011509168}],"species":"Mushroom","maturedAt":1753551279016,"plantedAt":1753551279016,"objectType":"plant"},"89":{"slots":[{"endTime":1753754178055,"species":"Lemon","mutations":["Wet"],"startTime":1753750576933,"targetScale":1.000311774614558},{"endTime":1753756299003,"species":"Lemon","mutations":["Frozen"],"startTime":1753752634241,"targetScale":1.017989705310631},{"endTime":1753739062829,"species":"Lemon","mutations":["Wet"],"startTime":1753735462826,"targetScale":1.000000952527353},{"endTime":1753767713116,"species":"Lemon","mutations":[],"startTime":1753764113113,"targetScale":1.00000105812727},{"endTime":1753703426639,"species":"Lemon","mutations":["Wet"],"startTime":1753699817579,"targetScale":1.002516905176723},{"endTime":1753712417085,"species":"Lemon","mutations":["Wet"],"startTime":1753701617887,"targetScale":2.99977732541195}],"species":"Lemon","maturedAt":1753381184229,"plantedAt":1753337984229,"objectType":"plant"},"90":{"slots":[{"endTime":1753773470850,"species":"Lemon","mutations":[],"startTime":1753769864920,"targetScale":1.00164732425418},{"endTime":1753762389589,"species":"Lemon","mutations":[],"startTime":1753752776491,"targetScale":2.670305198279718},{"endTime":1753758178315,"species":"Lemon","mutations":["Wet"],"startTime":1753754578314,"targetScale":1.000000316324456},{"endTime":1753769649499,"species":"Lemon","mutations":[],"startTime":1753766049418,"targetScale":1.000022504920062},{"endTime":1753754267380,"species":"Lemon","mutations":[],"startTime":1753750634977,"targetScale":1.009001062344437},{"endTime":1753771506983,"species":"Lemon","mutations":[],"startTime":1753764247419,"targetScale":2.016545610723546}],"species":"Lemon","maturedAt":1753381188363,"plantedAt":1753337988363,"objectType":"plant"},"91":{"slots":[{"endTime":1753766112938,"species":"Watermelon","mutations":["Wet"],"startTime":1753765392932,"targetScale":1.000008601278113}],"species":"Watermelon","maturedAt":1753765392932,"plantedAt":1753765392932,"objectType":"plant"},"92":{"slots":[{"endTime":1753767518691,"species":"Pumpkin","mutations":[],"startTime":1753765418691,"targetScale":1.00000001339501}],"species":"Pumpkin","maturedAt":1753765418691,"plantedAt":1753765418691,"objectType":"plant"},"93":{"slots":[{"endTime":1753766115013,"species":"Watermelon","mutations":[],"startTime":1753765394967,"targetScale":1.000064179929247}],"species":"Watermelon","maturedAt":1753765394967,"plantedAt":1753765394967,"objectType":"plant"},"94":{"slots":[{"endTime":1753765440140,"species":"Daffodil","mutations":[],"startTime":1753765356000,"targetScale":1.682800572630936}],"species":"Daffodil","maturedAt":1753765356000,"plantedAt":1753765356000,"objectType":"plant"},"95":{"slots":[{"endTime":1753765426949,"species":"OrangeTulip","mutations":[],"startTime":1753765412964,"targetScale":2.330884048797984}],"species":"OrangeTulip","maturedAt":1753765412964,"plantedAt":1753765412964,"objectType":"plant"},"96":{"slots":[{"endTime":1753764219250,"species":"Corn","mutations":[],"startTime":1753764189250,"targetScale":1.000005093219778}],"species":"Corn","maturedAt":1753553162651,"plantedAt":1753553032651,"objectType":"plant"},"97":{"slots":[{"endTime":1753737516396,"species":"Blueberry","mutations":["Frozen"],"startTime":1753737494393,"targetScale":1.000158944739422},{"endTime":1753737528668,"species":"Blueberry","mutations":["Frozen"],"startTime":1753737506668,"targetScale":1.000000112123653},{"endTime":1753737539903,"species":"Blueberry","mutations":["Wet"],"startTime":1753737517835,"targetScale":1.003111800568064},{"endTime":1753737551063,"species":"Blueberry","mutations":["Frozen"],"startTime":1753737529039,"targetScale":1.001132635090244},{"endTime":1753737563861,"species":"Blueberry","mutations":["Wet"],"startTime":1753737541852,"targetScale":1.00043204982876}],"species":"Blueberry","maturedAt":1753550255191,"plantedAt":1753550150191,"objectType":"plant"},"98":{"slots":[{"endTime":1753765478979,"species":"Corn","mutations":[],"startTime":1753765448979,"targetScale":1.000000202516423}],"species":"Corn","maturedAt":1753081854568,"plantedAt":1753081724568,"objectType":"plant"},"99":{"slots":[{"endTime":1753775449432,"species":"Lemon","mutations":[],"startTime":1753771849427,"targetScale":1.00000140874012},{"endTime":1753777020724,"species":"Lemon","mutations":[],"startTime":1753769895900,"targetScale":1.979117916135689},{"endTime":1753739138411,"species":"Lemon","mutations":["Wet"],"startTime":1753735538362,"targetScale":1.000013871750315},{"endTime":1753768104656,"species":"Lemon","mutations":[],"startTime":1753764313448,"targetScale":1.053113468486251},{"endTime":1753776786482,"species":"Lemon","mutations":[],"startTime":1753766114946,"targetScale":2.964315613216908},{"endTime":1753705401863,"species":"Lemon","mutations":["Wet"],"startTime":1753701801855,"targetScale":1.000002337426297}],"species":"Lemon","maturedAt":1753264992244,"plantedAt":1753221792244,"objectType":"plant"},"100":{"slots":[{"endTime":1753690772069,"species":"Bamboo","mutations":["Wet"],"startTime":1753647571393,"targetScale":1.000015669357795}],"species":"Bamboo","maturedAt":1753647571393,"plantedAt":1753647571393,"objectType":"plant"},"101":{"slots":[{"endTime":1753808820243,"species":"Bamboo","mutations":[],"startTime":1753765485780,"targetScale":1.003112584651219}],"species":"Bamboo","maturedAt":1753765485780,"plantedAt":1753765485780,"objectType":"plant"},"102":{"slots":[{"endTime":1753789141235,"species":"Bamboo","mutations":[],"startTime":1753745939231,"targetScale":1.000046394292112}],"species":"Bamboo","maturedAt":1753745939231,"plantedAt":1753745939231,"objectType":"plant"},"103":{"slots":[{"endTime":1753709826185,"species":"Bamboo","mutations":["Wet"],"startTime":1753659391727,"targetScale":1.167464306830337}],"species":"Bamboo","maturedAt":1753659391727,"plantedAt":1753659391727,"objectType":"plant"},"104":{"slots":[{"endTime":1753769788379,"species":"Mushroom","mutations":[],"startTime":1753683386265,"targetScale":1.000024472450631}],"species":"Mushroom","maturedAt":1753683386265,"plantedAt":1753683386265,"objectType":"plant"},"105":{"slots":[{"endTime":1753959724542,"species":"Mushroom","mutations":[],"startTime":1753736991863,"targetScale":2.577924535832494}],"species":"Mushroom","maturedAt":1753736991863,"plantedAt":1753736991863,"objectType":"plant"},"106":{"slots":[{"endTime":1753832329069,"species":"Mushroom","mutations":[],"startTime":1753745929047,"targetScale":1.000000261982704}],"species":"Mushroom","maturedAt":1753745929047,"plantedAt":1753745929047,"objectType":"plant"},"107":{"slots":[{"endTime":1753895993725,"species":"Mushroom","mutations":[],"startTime":1753683391871,"targetScale":2.460669609556732}],"species":"Mushroom","maturedAt":1753683391871,"plantedAt":1753683391871,"objectType":"plant"},"108":{"slots":[{"endTime":1753832870628,"species":"Mushroom","mutations":[],"startTime":1753745927102,"targetScale":1.006290815916571}],"species":"Mushroom","maturedAt":1753745927102,"plantedAt":1753745927102,"objectType":"plant"},"109":{"slots":[{"endTime":1753767714300,"species":"Lemon","mutations":[],"startTime":1753764114300,"targetScale":1.000000068053813},{"endTime":1753771760861,"species":"Lemon","mutations":[],"startTime":1753768061577,"targetScale":1.027579128068849},{"endTime":1753777472917,"species":"Lemon","mutations":[],"startTime":1753769861805,"targetScale":2.114197879254725},{"endTime":1753775262567,"species":"Lemon","mutations":[],"startTime":1753771662015,"targetScale":1.000153492131037},{"endTime":1753777062978,"species":"Lemon","mutations":[],"startTime":1753773462267,"targetScale":1.00019765821027},{"endTime":1753778893545,"species":"Lemon","mutations":[],"startTime":1753775262566,"targetScale":1.008605522386178}],"species":"Lemon","maturedAt":1753037481051,"plantedAt":1752994281051,"objectType":"plant"},"110":{"slots":[{"endTime":1753777783121,"species":"Lemon","mutations":[],"startTime":1753768065467,"targetScale":2.699348426928589},{"endTime":1753737299850,"species":"Lemon","mutations":["Wet"],"startTime":1753733699850,"targetScale":1.000000064382939},{"endTime":1753739101656,"species":"Lemon","mutations":["Wet"],"startTime":1753735500154,"targetScale":1.000417316965303},{"endTime":1753767851340,"species":"Lemon","mutations":[],"startTime":1753764251252,"targetScale":1.000024496304392},{"endTime":1753756276867,"species":"Lemon","mutations":["Chilled"],"startTime":1753750627102,"targetScale":1.569379419353443},{"endTime":1753705272460,"species":"Lemon","mutations":["Wet"],"startTime":1753701672041,"targetScale":1.000116411541198}],"species":"Lemon","maturedAt":1753037458816,"plantedAt":1752994258816,"objectType":"plant"},"111":{"slots":[{"endTime":1753765413658,"species":"Daffodil","mutations":[],"startTime":1753765363658,"targetScale":1.000001503138299}],"species":"Daffodil","maturedAt":1753765363658,"plantedAt":1753765363658,"objectType":"plant"},"112":{"slots":[{"endTime":1753766251346,"species":"Watermelon","mutations":[],"startTime":1753765391323,"targetScale":1.194476553606585}],"species":"Watermelon","maturedAt":1753765391323,"plantedAt":1753765391323,"objectType":"plant"},"113":{"slots":[{"endTime":1753767520175,"species":"Pumpkin","mutations":[],"startTime":1753765417585,"targetScale":1.001233760919302}],"species":"Pumpkin","maturedAt":1753765417585,"plantedAt":1753765417585,"objectType":"plant"},"114":{"slots":[{"endTime":1753764179440,"species":"OrangeTulip","mutations":[],"startTime":1753764165758,"targetScale":2.280488055517661}],"species":"OrangeTulip","maturedAt":1753764165758,"plantedAt":1753764165758,"objectType":"plant"},"115":{"slots":[{"endTime":1753765404574,"species":"Daffodil","mutations":[],"startTime":1753765354572,"targetScale":1.000057766626858}],"species":"Daffodil","maturedAt":1753765354572,"plantedAt":1753765354572,"objectType":"plant"},"116":{"slots":[{"endTime":1753764220004,"species":"Corn","mutations":[],"startTime":1753764189999,"targetScale":1.000181421266689}],"species":"Corn","maturedAt":1753553167284,"plantedAt":1753553037284,"objectType":"plant"},"117":{"slots":[{"endTime":1753737500739,"species":"Strawberry","mutations":["Wet"],"startTime":1753737490070,"targetScale":1.066995460506624},{"endTime":1753737507272,"species":"Strawberry","mutations":["Frozen"],"startTime":1753737495317,"targetScale":1.195595549341409},{"endTime":1753737511607,"species":"Strawberry","mutations":["Wet"],"startTime":1753737500415,"targetScale":1.119259865155305},{"endTime":1753737516555,"species":"Strawberry","mutations":["Frozen"],"startTime":1753737506550,"targetScale":1.00056062646832},{"endTime":1753737522568,"species":"Strawberry","mutations":["Frozen"],"startTime":1753737512394,"targetScale":1.017451099177773}],"species":"Strawberry","maturedAt":1753446359278,"plantedAt":1753446289278,"objectType":"plant"},"118":{"slots":[{"endTime":1753765501443,"species":"Corn","mutations":[],"startTime":1753765448289,"targetScale":1.771803783197731}],"species":"Corn","maturedAt":1753446380283,"plantedAt":1753446250283,"objectType":"plant"},"119":{"slots":[{"endTime":1753754826138,"species":"Lemon","mutations":["Frozen"],"startTime":1753750928142,"targetScale":1.082776669952434},{"endTime":1753758650435,"species":"Lemon","mutations":["Frozen"],"startTime":1753754530820,"targetScale":1.144337514255052},{"endTime":1753562465684,"species":"Lemon","mutations":["Rainbow","Frozen"],"startTime":1753556875082,"targetScale":1.597999380094784},{"endTime":1753759933653,"species":"Lemon","mutations":["Chilled"],"startTime":1753756333458,"targetScale":1.000054216418032},{"endTime":1753694803768,"species":"Lemon","mutations":["Wet"],"startTime":1753691203744,"targetScale":1.000006681894657},{"endTime":1753756921250,"species":"Lemon","mutations":["Wet"],"startTime":1753752729901,"targetScale":1.164263661607016}],"species":"Lemon","maturedAt":1753519545482,"plantedAt":1753476345482,"objectType":"plant"},"120":{"slots":[{"endTime":1753690783662,"species":"Bamboo","mutations":["Wet"],"startTime":1753647582368,"targetScale":1.000029956508725}],"species":"Bamboo","maturedAt":1753647582368,"plantedAt":1753647582368,"objectType":"plant"},"121":{"slots":[{"endTime":1753617516722,"species":"Bamboo","mutations":["Wet"],"startTime":1753574316712,"targetScale":1.000000248152028}],"species":"Bamboo","maturedAt":1753574316712,"plantedAt":1753574316712,"objectType":"plant"},"122":{"slots":[{"endTime":1753780181209,"species":"Bamboo","mutations":[],"startTime":1753736980590,"targetScale":1.000014333299668}],"species":"Bamboo","maturedAt":1753736980590,"plantedAt":1753736980590,"objectType":"plant"},"123":{"slots":[{"endTime":1753798498064,"species":"Mushroom","mutations":[],"startTime":1753647498518,"targetScale":1.747679937648395}],"species":"Mushroom","maturedAt":1753647498518,"plantedAt":1753647498518,"objectType":"plant"},"124":{"slots":[{"endTime":1753892678226,"species":"Mushroom","mutations":[],"startTime":1753745933488,"targetScale":1.698434473250122}],"species":"Mushroom","maturedAt":1753745933488,"plantedAt":1753745933488,"objectType":"plant"},"125":{"slots":[{"endTime":1753794565839,"species":"Mushroom","mutations":["Rainbow"],"startTime":1753559866216,"targetScale":2.716430828680686}],"species":"Mushroom","maturedAt":1753559866216,"plantedAt":1753559866216,"objectType":"plant"},"126":{"slots":[{"endTime":1753743443053,"species":"Mushroom","mutations":["Wet"],"startTime":1753647548035,"targetScale":1.109896049940741}],"species":"Mushroom","maturedAt":1753647548035,"plantedAt":1753647548035,"objectType":"plant"},"127":{"slots":[{"endTime":1753835383909,"species":"Mushroom","mutations":[],"startTime":1753748983906,"targetScale":1.000000042051173}],"species":"Mushroom","maturedAt":1753748983906,"plantedAt":1753748983906,"objectType":"plant"},"128":{"slots":[{"endTime":1753753981324,"species":"Mushroom","mutations":["Wet"],"startTime":1753663730105,"targetScale":1.044574296039387}],"species":"Mushroom","maturedAt":1753663730105,"plantedAt":1753663730105,"objectType":"plant"},"129":{"slots":[{"endTime":1753767714829,"species":"Lemon","mutations":[],"startTime":1753764114828,"targetScale":1.000000413219797},{"endTime":1753758031640,"species":"Lemon","mutations":["Frozen"],"startTime":1753754431146,"targetScale":1.000137398543186},{"endTime":1753739054730,"species":"Lemon","mutations":["Wet"],"startTime":1753735454706,"targetScale":1.000006862378514},{"endTime":1753701711984,"species":"Lemon","mutations":["Wet"],"startTime":1753698012891,"targetScale":1.027525874238022},{"endTime":1753756078281,"species":"Lemon","mutations":["Wet"],"startTime":1753752431142,"targetScale":1.013094183377051},{"endTime":1753754863273,"species":"Lemon","mutations":[],"startTime":1753750579377,"targetScale":1.18997132002868}],"species":"Lemon","maturedAt":1753117953251,"plantedAt":1753074753251,"objectType":"plant"},"130":{"slots":[{"endTime":1753735552756,"species":"Lemon","mutations":["Wet"],"startTime":1753731900604,"targetScale":1.014486866583429},{"endTime":1753737300772,"species":"Lemon","mutations":["Wet"],"startTime":1753733700772,"targetScale":1.000000010777329},{"endTime":1753740811989,"species":"Lemon","mutations":["Wet"],"startTime":1753735501021,"targetScale":1.475269076550018},{"endTime":1753754581171,"species":"Lemon","mutations":["Wet"],"startTime":1753750974010,"targetScale":1.001989201234319},{"endTime":1753771669147,"species":"Lemon","mutations":[],"startTime":1753768069147,"targetScale":1.000000185280887},{"endTime":1753767852495,"species":"Lemon","mutations":[],"startTime":1753764252494,"targetScale":1.000000490783965}],"species":"Lemon","maturedAt":1753087857721,"plantedAt":1753044657721,"objectType":"plant"},"131":{"slots":[{"endTime":1753788052557,"species":"Apple","mutations":[],"startTime":1753777836969,"targetScale":1.891775636960861},{"endTime":1753785937046,"species":"Apple","mutations":[],"startTime":1753780536969,"targetScale":1.000014270266931},{"endTime":1753788977760,"species":"Apple","mutations":[],"startTime":1753783236969,"targetScale":1.063109546729122},{"endTime":1753792376447,"species":"Apple","mutations":[],"startTime":1753785936969,"targetScale":1.192496028239166},{"endTime":1753797214689,"species":"Apple","mutations":[],"startTime":1753788636969,"targetScale":1.588466696261434},{"endTime":1753798274743,"species":"Apple","mutations":[],"startTime":1753791336969,"targetScale":1.284773045964932},{"endTime":1753800949408,"species":"Apple","mutations":[],"startTime":1753794036969,"targetScale":1.280081388834961}],"species":"Apple","maturedAt":1753775136969,"plantedAt":1753753536969,"objectType":"plant"},"132":{"slots":[{"endTime":1753752975693,"species":"PassionFruit","mutations":["Chilled"],"startTime":1753750173760,"targetScale":1.037753189655157},{"endTime":1753754610353,"species":"PassionFruit","mutations":["Chilled"],"startTime":1753751901107,"targetScale":1.003424747087744}],"species":"PassionFruit","maturedAt":1753144467400,"plantedAt":1753058067400,"objectType":"plant"},"133":{"slots":[{"endTime":1753766255120,"species":"Watermelon","mutations":[],"startTime":1753765389919,"targetScale":1.201668327505923}],"species":"Watermelon","maturedAt":1753765389919,"plantedAt":1753765389919,"objectType":"plant"},"134":{"slots":[{"endTime":1753765402859,"species":"Daffodil","mutations":["Wet"],"startTime":1753765352859,"targetScale":1.000000467162302}],"species":"Daffodil","maturedAt":1753765352859,"plantedAt":1753765352859,"objectType":"plant"},"135":{"slots":[{"endTime":1753883643359,"species":"Sunflower","mutations":[],"startTime":1753855264804,"targetScale":1.576586400930891}],"species":"Sunflower","maturedAt":1753846264804,"plantedAt":1753759864804,"objectType":"plant"},"136":{"slots":[{"endTime":1753757429146,"species":"Banana","mutations":["Frozen"],"startTime":1753752929146,"targetScale":1.000000026371605},{"endTime":1753746320823,"species":"Banana","mutations":["Wet"],"startTime":1753741758271,"targetScale":1.013900645381763},{"endTime":1753675240760,"species":"Banana","mutations":["Rainbow","Frozen"],"startTime":1753670740760,"targetScale":1.000000046357743},{"endTime":1753759682713,"species":"Banana","mutations":["Frozen"],"startTime":1753755181777,"targetScale":1.000208067564625},{"endTime":1753754210674,"species":"Banana","mutations":["Gold","Wet"],"startTime":1753749710674,"targetScale":1.000000007151712}],"species":"Banana","maturedAt":1753099761936,"plantedAt":1753085361936,"objectType":"plant"},"137":{"slots":[{"endTime":1753765484054,"species":"Carrot","mutations":[],"startTime":1753765465016,"targetScale":2.929070640039437}],"species":"Carrot","maturedAt":1753765465016,"plantedAt":1753765465016,"objectType":"plant"},"138":{"slots":[{"endTime":1753751584694,"species":"Coconut","mutations":["Wet"],"startTime":1753747984693,"targetScale":1.000000289756881},{"endTime":1753758682762,"species":"Coconut","mutations":["Frozen"],"startTime":1753755082762,"targetScale":1.000000033466464},{"endTime":1753742663728,"species":"Coconut","mutations":["Frozen"],"startTime":1753739063728,"targetScale":1.000000034899386},{"endTime":1753760485069,"species":"Coconut","mutations":["Wet"],"startTime":1753756884869,"targetScale":1.000055786000683},{"endTime":1753697153704,"species":"Coconut","mutations":["Frozen"],"startTime":1753693553688,"targetScale":1.000004623004538},{"endTime":1753701166446,"species":"Coconut","mutations":["Frozen"],"startTime":1753695353915,"targetScale":1.61459204183253},{"endTime":1753765070816,"species":"Coconut","mutations":[],"startTime":1753758687690,"targetScale":1.773090709349045}],"species":"Coconut","maturedAt":1753473157603,"plantedAt":1753429957603,"objectType":"plant"},"139":{"slots":[{"endTime":1753773659779,"species":"Lemon","mutations":[],"startTime":1753770050370,"targetScale":1.002613739151607},{"endTime":1753737332178,"species":"Lemon","mutations":["Wet"],"startTime":1753733729701,"targetScale":1.000688081868842},{"endTime":1753767904749,"species":"Lemon","mutations":[],"startTime":1753764304681,"targetScale":1.000019076034687},{"endTime":1753754543593,"species":"Lemon","mutations":[],"startTime":1753750943342,"targetScale":1.000069763577104},{"endTime":1753696606355,"species":"Lemon","mutations":["Wet"],"startTime":1753693006223,"targetScale":1.000036668886595},{"endTime":1753769719900,"species":"Lemon","mutations":[],"startTime":1753766107371,"targetScale":1.00348039945786}],"species":"Lemon","maturedAt":1753264983018,"plantedAt":1753221783018,"objectType":"plant"},"140":{"slots":[{"endTime":1753763717182,"species":"DragonFruit","mutations":[],"startTime":1753762817181,"targetScale":1.000001701600805},{"endTime":1753766410052,"species":"DragonFruit","mutations":[],"startTime":1753765496266,"targetScale":1.015318065073387},{"endTime":1753765945003,"species":"DragonFruit","mutations":[],"startTime":1753765044999,"targetScale":1.000005115857617},{"endTime":1753732693375,"species":"DragonFruit","mutations":["Wet"],"startTime":1753731793375,"targetScale":1.000000244841172},{"endTime":1753733143663,"species":"DragonFruit","mutations":["Wet"],"startTime":1753732243663,"targetScale":1.000000082107126},{"endTime":1753733594022,"species":"DragonFruit","mutations":["Wet"],"startTime":1753732694022,"targetScale":1.000000283318687},{"endTime":1753734044392,"species":"DragonFruit","mutations":["Chilled"],"startTime":1753733144390,"targetScale":1.000002530089059}],"species":"DragonFruit","maturedAt":1753651703827,"plantedAt":1753651103827,"objectType":"plant"},"141":{"slots":[{"endTime":1753753228191,"species":"Lychee","mutations":["Frozen"],"startTime":1753749971900,"targetScale":1.809050697548664},{"endTime":1753769086729,"species":"Lychee","mutations":[],"startTime":1753767286728,"targetScale":1.000000942417344},{"endTime":1753765071383,"species":"Lychee","mutations":[],"startTime":1753763270250,"targetScale":1.000629855528562},{"endTime":1753756007267,"species":"Lychee","mutations":["Chilled"],"startTime":1753754204171,"targetScale":1.001720352528672},{"endTime":1753765972424,"species":"Lychee","mutations":[],"startTime":1753764172424,"targetScale":1.000000082635682},{"endTime":1753744699430,"species":"Lychee","mutations":["Wet"],"startTime":1753742899286,"targetScale":1.000080368959583}],"species":"Lychee","maturedAt":1753737499286,"plantedAt":1753651099286,"objectType":"plant"},"142":{"slots":[{"endTime":1753763687780,"species":"Pepper","mutations":[],"startTime":1753762884232,"targetScale":1.339246842276088},{"endTime":1753763784416,"species":"Pepper","mutations":["Gold"],"startTime":1753763184416,"targetScale":1.000000002171831},{"endTime":1753764399098,"species":"Pepper","mutations":[],"startTime":1753763484807,"targetScale":1.523818710860172},{"endTime":1753764385062,"species":"Pepper","mutations":["Wet"],"startTime":1753763785062,"targetScale":1.000000571646663},{"endTime":1753764685812,"species":"Pepper","mutations":[],"startTime":1753764085144,"targetScale":1.00111455681802},{"endTime":1753764985329,"species":"Pepper","mutations":["Wet"],"startTime":1753764385329,"targetScale":1.000000031301302},{"endTime":1753765285580,"species":"Pepper","mutations":["Wet"],"startTime":1753764685580,"targetScale":1.000000324308833},{"endTime":1753765585885,"species":"Pepper","mutations":[],"startTime":1753764985885,"targetScale":1.000000027413698},{"endTime":1753765886359,"species":"Pepper","mutations":["Wet"],"startTime":1753765286344,"targetScale":1.00002574715218}],"species":"Pepper","maturedAt":1753662575788,"plantedAt":1753662015788,"objectType":"plant"},"143":{"slots":[{"endTime":1753852146109,"species":"Mushroom","mutations":[],"startTime":1753765148929,"targetScale":1.006911812976697}],"species":"Mushroom","maturedAt":1753765148929,"plantedAt":1753765148929,"objectType":"plant"},"144":{"slots":[{"endTime":1753829327192,"species":"Mushroom","mutations":[],"startTime":1753742927105,"targetScale":1.000001016615715}],"species":"Mushroom","maturedAt":1753742927105,"plantedAt":1753742927105,"objectType":"plant"},"145":{"slots":[{"endTime":1753737490600,"species":"Mushroom","mutations":["Chilled"],"startTime":1753651090494,"targetScale":1.000001230637331}],"species":"Mushroom","maturedAt":1753651090494,"plantedAt":1753651090494,"objectType":"plant"},"146":{"slots":[{"endTime":1753767732692,"species":"PassionFruit","mutations":[],"startTime":1753765032692,"targetScale":1.000000086274381},{"endTime":1753766387481,"species":"PassionFruit","mutations":[],"startTime":1753763682483,"targetScale":1.001851199945926}],"species":"PassionFruit","maturedAt":1753080764501,"plantedAt":1752994364501,"objectType":"plant"},"147":{"slots":[{"endTime":1753763475979,"species":"Pepper","mutations":["Wet"],"startTime":1753762875940,"targetScale":1.000066427077469},{"endTime":1753763776152,"species":"Pepper","mutations":["Wet"],"startTime":1753763176151,"targetScale":1.000002404709569},{"endTime":1753764076415,"species":"Pepper","mutations":["Wet"],"startTime":1753763476415,"targetScale":1.000000720962093},{"endTime":1753764376585,"species":"Pepper","mutations":["Wet"],"startTime":1753763776557,"targetScale":1.000047636767448},{"endTime":1753764676841,"species":"Pepper","mutations":[],"startTime":1753764076841,"targetScale":1.000000176920069},{"endTime":1753764977047,"species":"Pepper","mutations":[],"startTime":1753764377047,"targetScale":1.000000015863311},{"endTime":1753765570953,"species":"Pepper","mutations":[],"startTime":1753764677340,"targetScale":1.489355204491166},{"endTime":1753765981336,"species":"Pepper","mutations":[],"startTime":1753764977634,"targetScale":1.672837985775347},{"endTime":1753765878778,"species":"Pepper","mutations":["Wet"],"startTime":1753765278008,"targetScale":1.001283924637253}],"species":"Pepper","maturedAt":1753487708177,"plantedAt":1753487148177,"objectType":"plant"},"148":{"slots":[{"endTime":1753732735433,"species":"Lychee","mutations":["Wet"],"startTime":1753730935415,"targetScale":1.000010083056337},{"endTime":1753766824583,"species":"Lychee","mutations":[],"startTime":1753765024583,"targetScale":1.000000239877886},{"endTime":1753765925191,"species":"Lychee","mutations":["Wet"],"startTime":1753764123637,"targetScale":1.000863493412394},{"endTime":1753767727326,"species":"Lychee","mutations":[],"startTime":1753765927326,"targetScale":1.000000027346523},{"endTime":1753765022730,"species":"Lychee","mutations":[],"startTime":1753763222377,"targetScale":1.000196151838481},{"endTime":1753770749394,"species":"Lychee","mutations":[],"startTime":1753768948618,"targetScale":1.000431598275271}],"species":"Lychee","maturedAt":1753539031854,"plantedAt":1753452631854,"objectType":"plant"},"149":{"slots":[{"endTime":1753731387782,"species":"DragonFruit","mutations":["Wet"],"startTime":1753730487782,"targetScale":1.000000001325202},{"endTime":1753686123440,"species":"DragonFruit","mutations":["Gold","Wet"],"startTime":1753685223440,"targetScale":1.000000014836879},{"endTime":1753751067282,"species":"DragonFruit","mutations":["Wet"],"startTime":1753749477083,"targetScale":1.766888238027399},{"endTime":1753732294148,"species":"DragonFruit","mutations":["Wet"],"startTime":1753731390119,"targetScale":1.004476670488121},{"endTime":1753763668633,"species":"DragonFruit","mutations":[],"startTime":1753762768633,"targetScale":1.000000346738146},{"endTime":1753733213037,"species":"DragonFruit","mutations":["Wet"],"startTime":1753732292003,"targetScale":1.023371836953786},{"endTime":1753733644176,"species":"DragonFruit","mutations":["Wet"],"startTime":1753732743100,"targetScale":1.001195606903431}],"species":"DragonFruit","maturedAt":1753427456435,"plantedAt":1753426856435,"objectType":"plant"},"150":{"slots":[{"endTime":1753766257139,"species":"DragonFruit","mutations":[],"startTime":1753765051026,"targetScale":1.340126130785747},{"endTime":1753763814596,"species":"DragonFruit","mutations":["Wet"],"startTime":1753762906830,"targetScale":1.008629960209798},{"endTime":1753733599196,"species":"DragonFruit","mutations":["Wet"],"startTime":1753732699188,"targetScale":1.000009250997151},{"endTime":1753738197983,"species":"DragonFruit","mutations":["Wet"],"startTime":1753737276911,"targetScale":1.023414289992581},{"endTime":1753566943008,"species":"DragonFruit","mutations":["Rainbow","Frozen"],"startTime":1753566042515,"targetScale":1.000548583849785},{"endTime":1753767077330,"species":"DragonFruit","mutations":[],"startTime":1753765505056,"targetScale":1.746971162002516},{"endTime":1753734051042,"species":"DragonFruit","mutations":["Wet"],"startTime":1753733150969,"targetScale":1.000081336107476}],"species":"DragonFruit","maturedAt":1753075286790,"plantedAt":1753074686790,"objectType":"plant"},"151":{"slots":[{"endTime":1753756366599,"species":"Lychee","mutations":["Wet"],"startTime":1753754439800,"targetScale":1.070444263879704},{"endTime":1753768300299,"species":"Lychee","mutations":[],"startTime":1753766272521,"targetScale":1.126543417695778},{"endTime":1753695398391,"species":"Lychee","mutations":["Wet"],"startTime":1753693598391,"targetScale":1.000000024476874},{"endTime":1753765160594,"species":"Lychee","mutations":[],"startTime":1753763360577,"targetScale":1.00000953517556},{"endTime":1753757162966,"species":"Lychee","mutations":[],"startTime":1753755341635,"targetScale":1.011850851243389},{"endTime":1753698099586,"species":"Lychee","mutations":["Wet"],"startTime":1753696299586,"targetScale":1.000000032192875}],"species":"Lychee","maturedAt":1753161096876,"plantedAt":1753074696876,"objectType":"plant"},"152":{"slots":[{"endTime":1753767038905,"species":"Pepper","mutations":[],"startTime":1753766438905,"targetScale":1.000000138566454},{"endTime":1753767339038,"species":"Pepper","mutations":[],"startTime":1753766739038,"targetScale":1.000000010409634},{"endTime":1753767639446,"species":"Pepper","mutations":[],"startTime":1753767039308,"targetScale":1.000230557581424},{"endTime":1753768056796,"species":"Pepper","mutations":[],"startTime":1753767339645,"targetScale":1.195253075286797},{"endTime":1753764770024,"species":"Pepper","mutations":["Wet"],"startTime":1753764095438,"targetScale":1.12431101602419},{"endTime":1753764995694,"species":"Pepper","mutations":[],"startTime":1753764395693,"targetScale":1.000001802976996},{"endTime":1753765296075,"species":"Pepper","mutations":["Wet"],"startTime":1753764696067,"targetScale":1.000013711640019},{"endTime":1753765596435,"species":"Pepper","mutations":[],"startTime":1753764996392,"targetScale":1.000073163454795},{"endTime":1753765913385,"species":"Pepper","mutations":[],"startTime":1753765296576,"targetScale":1.02801572059861}],"species":"Pepper","maturedAt":1753339241141,"plantedAt":1753338681141,"objectType":"plant"},"153":{"slots":[{"endTime":1753766661230,"species":"PassionFruit","mutations":[],"startTime":1753763947713,"targetScale":1.00500636460643},{"endTime":1753755499516,"species":"PassionFruit","mutations":[],"startTime":1753750624146,"targetScale":1.805692859732165}],"species":"PassionFruit","maturedAt":1753217209365,"plantedAt":1753130809365,"objectType":"plant"},"154":{"slots":[{"endTime":1753764692174,"species":"DragonFruit","mutations":["Wet"],"startTime":1753763048242,"targetScale":1.826591850638969},{"endTime":1753766880570,"species":"DragonFruit","mutations":[],"startTime":1753765980570,"targetScale":1.000000138403604},{"endTime":1753764848623,"species":"DragonFruit","mutations":[],"startTime":1753763948418,"targetScale":1.000227944054481},{"endTime":1753767861126,"species":"DragonFruit","mutations":[],"startTime":1753766430773,"targetScale":1.589282142849246},{"endTime":1753767897804,"species":"DragonFruit","mutations":[],"startTime":1753766881037,"targetScale":1.129741172553195},{"endTime":1753768231768,"species":"DragonFruit","mutations":[],"startTime":1753767331226,"targetScale":1.000603138735764},{"endTime":1753768681545,"species":"DragonFruit","mutations":[],"startTime":1753767781545,"targetScale":1.00000001394702}],"species":"DragonFruit","maturedAt":1753683822888,"plantedAt":1753683222888,"objectType":"plant"},"155":{"slots":[{"endTime":1753767030379,"species":"Pepper","mutations":[],"startTime":1753766429888,"targetScale":1.0008198199942},{"endTime":1753767774481,"species":"Pepper","mutations":[],"startTime":1753766730058,"targetScale":1.740705507275286},{"endTime":1753767630343,"species":"Pepper","mutations":[],"startTime":1753767030343,"targetScale":1.000000028318648},{"endTime":1753767965273,"species":"Pepper","mutations":[],"startTime":1753767332492,"targetScale":1.054635519370762},{"endTime":1753764701444,"species":"Pepper","mutations":["Wet"],"startTime":1753764101444,"targetScale":1.00000001188194},{"endTime":1753765008912,"species":"Pepper","mutations":[],"startTime":1753764408277,"targetScale":1.001058963517049},{"endTime":1753765819200,"species":"Pepper","mutations":[],"startTime":1753764708519,"targetScale":1.851135121790809},{"endTime":1753765608944,"species":"Pepper","mutations":[],"startTime":1753765008943,"targetScale":1.000001765116351},{"endTime":1753765926250,"species":"Pepper","mutations":[],"startTime":1753765309341,"targetScale":1.028183031527264}],"species":"Pepper","maturedAt":1753058511973,"plantedAt":1753057951973,"objectType":"plant"},"156":{"slots":[{"endTime":1753756625584,"species":"PassionFruit","mutations":[],"startTime":1753753925583,"targetScale":1.000000694028336},{"endTime":1753769386951,"species":"PassionFruit","mutations":[],"startTime":1753765832362,"targetScale":1.316514761594439}],"species":"PassionFruit","maturedAt":1753092865949,"plantedAt":1753006465949,"objectType":"plant"},"157":{"slots":[{"endTime":1753767033951,"species":"Pepper","mutations":[],"startTime":1753766433948,"targetScale":1.000006120214113},{"endTime":1753767689273,"species":"Pepper","mutations":[],"startTime":1753766734241,"targetScale":1.59172138312841},{"endTime":1753767634503,"species":"Pepper","mutations":[],"startTime":1753767034503,"targetScale":1.000000123844173},{"endTime":1753767934818,"species":"Pepper","mutations":[],"startTime":1753767334811,"targetScale":1.000011857919306},{"endTime":1753764653082,"species":"Pepper","mutations":["Wet"],"startTime":1753764053078,"targetScale":1.000007623971764},{"endTime":1753764957463,"species":"Pepper","mutations":["Wet"],"startTime":1753764353254,"targetScale":1.007015626500938},{"endTime":1753765253450,"species":"Pepper","mutations":[],"startTime":1753764653450,"targetScale":1.000000294933235},{"endTime":1753765695066,"species":"Pepper","mutations":["Wet"],"startTime":1753764953705,"targetScale":1.235602010696156},{"endTime":1753766125530,"species":"Pepper","mutations":[],"startTime":1753765253900,"targetScale":1.452718107175742}],"species":"Pepper","maturedAt":1753430117934,"plantedAt":1753429557934,"objectType":"plant"},"158":{"slots":[{"endTime":1753752866038,"species":"Lychee","mutations":["Frozen"],"startTime":1753751066038,"targetScale":1.000000097318855},{"endTime":1753734060598,"species":"Lychee","mutations":["Frozen"],"startTime":1753732260563,"targetScale":1.000019806590222},{"endTime":1753736820274,"species":"Lychee","mutations":["Wet"],"startTime":1753733226696,"targetScale":1.996432450621459},{"endTime":1753696465476,"species":"Lychee","mutations":["Wet"],"startTime":1753694590986,"targetScale":1.04138350782803},{"endTime":1753740621147,"species":"Lychee","mutations":["Wet"],"startTime":1753737949998,"targetScale":1.483971957422185},{"endTime":1753765202519,"species":"Lychee","mutations":[],"startTime":1753763402477,"targetScale":1.000023619149485}],"species":"Lychee","maturedAt":1753383675999,"plantedAt":1753297275999,"objectType":"plant"},"159":{"slots":[{"endTime":1753763898342,"species":"DragonFruit","mutations":[],"startTime":1753762995629,"targetScale":1.003015354265402},{"endTime":1753764345961,"species":"DragonFruit","mutations":["Wet"],"startTime":1753763445948,"targetScale":1.000015167716625},{"endTime":1753750501165,"species":"DragonFruit","mutations":["Wet"],"startTime":1753749598973,"targetScale":1.002435707039105},{"endTime":1753752662708,"species":"DragonFruit","mutations":[],"startTime":1753751066947,"targetScale":1.773067996369521},{"endTime":1753752978928,"species":"DragonFruit","mutations":["Rainbow","Frozen"],"startTime":1753751517301,"targetScale":1.62403043740626},{"endTime":1753734131081,"species":"DragonFruit","mutations":["Wet"],"startTime":1753733231037,"targetScale":1.000049559983537},{"endTime":1753734581207,"species":"DragonFruit","mutations":["Wet"],"startTime":1753733681203,"targetScale":1.000004462139635}],"species":"DragonFruit","maturedAt":1753429555237,"plantedAt":1753428955237,"objectType":"plant"},"160":{"slots":[{"endTime":1753769098105,"species":"Lychee","mutations":[],"startTime":1753767290202,"targetScale":1.004391055219336},{"endTime":1753765963922,"species":"Lychee","mutations":["Wet"],"startTime":1753764163922,"targetScale":1.000000051115067},{"endTime":1753755188300,"species":"Lychee","mutations":["Wet"],"startTime":1753753388271,"targetScale":1.000016199346411},{"endTime":1753752694091,"species":"Lychee","mutations":["Chilled"],"startTime":1753750867940,"targetScale":1.014528443553687},{"endTime":1753740192056,"species":"Lychee","mutations":["Wet"],"startTime":1753738392056,"targetScale":1.00000000426691},{"endTime":1753766445386,"species":"Lychee","mutations":[],"startTime":1753763261672,"targetScale":1.768730330391924}],"species":"Lychee","maturedAt":1753733892056,"plantedAt":1753647492056,"objectType":"plant"},"161":{"slots":[{"endTime":1753972501668,"species":"Mushroom","mutations":[],"startTime":1753748990145,"targetScale":2.586938929397203}],"species":"Mushroom","maturedAt":1753748990145,"plantedAt":1753748990145,"objectType":"plant"},"162":{"slots":[{"endTime":1753751002532,"species":"Lychee","mutations":["Wet"],"startTime":1753749058970,"targetScale":1.079757079048824},{"endTime":1753765057355,"species":"Lychee","mutations":[],"startTime":1753763257355,"targetScale":1.000000035587765},{"endTime":1753752658970,"species":"Lychee","mutations":["Wet"],"startTime":1753750858970,"targetScale":1.000000130299771},{"endTime":1753753939173,"species":"Lychee","mutations":["Chilled"],"startTime":1753751758970,"targetScale":1.211224075227833},{"endTime":1753755508831,"species":"Lychee","mutations":["Chilled"],"startTime":1753752658970,"targetScale":1.583256204188364},{"endTime":1753755358970,"species":"Lychee","mutations":["Wet"],"startTime":1753753558970,"targetScale":1.000000128048363}],"species":"Lychee","maturedAt":1753748158970,"plantedAt":1753661758970,"objectType":"plant"},"163":{"slots":[{"endTime":1753758700901,"species":"Mushroom","mutations":["Chilled"],"startTime":1753647550966,"targetScale":1.2864575868653}],"species":"Mushroom","maturedAt":1753647550966,"plantedAt":1753647550966,"objectType":"plant"},"164":{"slots":[{"endTime":1753775260792,"species":"Mushroom","mutations":[],"startTime":1753686809705,"targetScale":1.023739440529462}],"species":"Mushroom","maturedAt":1753686809705,"plantedAt":1753686809705,"objectType":"plant"},"165":{"slots":[{"endTime":1753756715832,"species":"Mushroom","mutations":["Gold"],"startTime":1753494945093,"targetScale":3.117653748242956}],"species":"Mushroom","maturedAt":1753494945093,"plantedAt":1753494945093,"objectType":"plant"},"166":{"slots":[{"endTime":1753926721653,"species":"Mushroom","mutations":[],"startTime":1753683641888,"targetScale":2.813423206455939}],"species":"Mushroom","maturedAt":1753683641888,"plantedAt":1753683641888,"objectType":"plant"},"167":{"slots":[{"endTime":1753732725857,"species":"Lychee","mutations":["Wet"],"startTime":1753730925857,"targetScale":1.000000000932634},{"endTime":1753733626159,"species":"Lychee","mutations":["Wet"],"startTime":1753731826159,"targetScale":1.000000012616604},{"endTime":1753695306843,"species":"Lychee","mutations":["Wet"],"startTime":1753693475751,"targetScale":1.017273681191529},{"endTime":1753740785019,"species":"Lychee","mutations":["Frozen"],"startTime":1753738910222,"targetScale":1.041554342772606},{"endTime":1753755207300,"species":"Lychee","mutations":[],"startTime":1753752157484,"targetScale":1.694342649918109},{"endTime":1753697985109,"species":"Lychee","mutations":["Wet"],"startTime":1753696184784,"targetScale":1.000180880791903}],"species":"Lychee","maturedAt":1753507021493,"plantedAt":1753420621493,"objectType":"plant"},"168":{"slots":[{"endTime":1753774308460,"species":"Mushroom","mutations":[],"startTime":1753647527606,"targetScale":1.467371004031726}],"species":"Mushroom","maturedAt":1753647527606,"plantedAt":1753647527606,"objectType":"plant"},"169":{"slots":[{"endTime":1753740689837,"species":"Lychee","mutations":["Gold","Wet"],"startTime":1753738889466,"targetScale":1.000206641364897},{"endTime":1753767328535,"species":"Lychee","mutations":[],"startTime":1753765358033,"targetScale":1.09472360757587},{"endTime":1753695294667,"species":"Lychee","mutations":["Wet"],"startTime":1753693494656,"targetScale":1.000006281996916},{"endTime":1753768059320,"species":"Lychee","mutations":[],"startTime":1753766259310,"targetScale":1.000005877330536},{"endTime":1753769145725,"species":"Lychee","mutations":[],"startTime":1753767272673,"targetScale":1.040584764518662},{"endTime":1753697995539,"species":"Lychee","mutations":["Wet"],"startTime":1753696195515,"targetScale":1.000013653813081}],"species":"Lychee","maturedAt":1753516716127,"plantedAt":1753430316127,"objectType":"plant"},"170":{"slots":[{"endTime":1753768982359,"species":"Lychee","mutations":[],"startTime":1753767173661,"targetScale":1.004832433872545},{"endTime":1753766088454,"species":"Lychee","mutations":[],"startTime":1753764288446,"targetScale":1.000004849600846},{"endTime":1753765329337,"species":"Lychee","mutations":[],"startTime":1753763387268,"targetScale":1.078927397394009},{"endTime":1753754597192,"species":"Lychee","mutations":["Chilled"],"startTime":1753752796462,"targetScale":1.000405974197197},{"endTime":1753753707684,"species":"Lychee","mutations":["Chilled"],"startTime":1753751895342,"targetScale":1.006856741819931},{"endTime":1753698517784,"species":"Lychee","mutations":["Wet"],"startTime":1753696290515,"targetScale":1.237371798031796}],"species":"Lychee","maturedAt":1753400206534,"plantedAt":1753313806534,"objectType":"plant"},"171":{"slots":[{"endTime":1753849800300,"species":"Mushroom","mutations":[],"startTime":1753763395773,"targetScale":1.000052404890963}],"species":"Mushroom","maturedAt":1753763395773,"plantedAt":1753763395773,"objectType":"plant"},"172":{"slots":[{"endTime":1753768075058,"species":"Lychee","mutations":[],"startTime":1753766275058,"targetScale":1.000000004407004},{"endTime":1753765191666,"species":"Lychee","mutations":[],"startTime":1753763365097,"targetScale":1.014761044578717},{"endTime":1753695429158,"species":"Lychee","mutations":["Chilled"],"startTime":1753693629141,"targetScale":1.000009794759439},{"endTime":1753768976801,"species":"Lychee","mutations":[],"startTime":1753767176801,"targetScale":1.000000080296308},{"endTime":1753772128706,"species":"Lychee","mutations":[],"startTime":1753770327005,"targetScale":1.000945535435659},{"endTime":1753751867361,"species":"Lychee","mutations":["Wet"],"startTime":1753750067360,"targetScale":1.000000750979557}],"species":"Lychee","maturedAt":1753400225598,"plantedAt":1753313825598,"objectType":"plant"},"173":{"slots":[{"endTime":1753779868845,"species":"Sunflower","mutations":[],"startTime":1753745828531,"targetScale":1.891128567787575}],"species":"Sunflower","maturedAt":1753597288454,"plantedAt":1753510888454,"objectType":"plant"},"174":{"slots":[{"endTime":1753764031252,"species":"Sunflower","mutations":["Wet"],"startTime":1753746031120,"targetScale":1.000007369011443}],"species":"Sunflower","maturedAt":1753591562927,"plantedAt":1753505162927,"objectType":"plant"},"175":{"slots":[{"endTime":1753844748697,"species":"Sunflower","mutations":[],"startTime":1753826748275,"targetScale":1.000023458319262}],"species":"Sunflower","maturedAt":1753817748275,"plantedAt":1753731348275,"objectType":"plant"},"176":{"slots":[{"endTime":1753790588022,"species":"Sunflower","mutations":[],"startTime":1753772386016,"targetScale":1.011222561763583}],"species":"Sunflower","maturedAt":1753726060727,"plantedAt":1753639660727,"objectType":"plant"},"177":{"slots":[{"endTime":1753772129854,"species":"Lychee","mutations":[],"startTime":1753770329854,"targetScale":1.000000519536026},{"endTime":1753769884803,"species":"Lychee","mutations":[],"startTime":1753768084802,"targetScale":1.000000658019165},{"endTime":1753765195174,"species":"Lychee","mutations":[],"startTime":1753763394275,"targetScale":1.000499571577543},{"endTime":1753766187510,"species":"Lychee","mutations":[],"startTime":1753764295215,"targetScale":1.051275217781892},{"endTime":1753768074856,"species":"Lychee","mutations":[],"startTime":1753765197336,"targetScale":1.59862231665407},{"endTime":1753698160608,"species":"Lychee","mutations":["Wet"],"startTime":1753696359308,"targetScale":1.000722623046283}],"species":"Lychee","maturedAt":1753264000937,"plantedAt":1753177600937,"objectType":"plant"},"178":{"slots":[{"endTime":1753823414462,"species":"Mushroom","mutations":[],"startTime":1753737002399,"targetScale":1.000139628692003}],"species":"Mushroom","maturedAt":1753737002399,"plantedAt":1753737002399,"objectType":"plant"},"179":{"slots":[{"endTime":1753767186529,"species":"Lychee","mutations":[],"startTime":1753765386529,"targetScale":1.000000364481929},{"endTime":1753768089721,"species":"Lychee","mutations":[],"startTime":1753766289721,"targetScale":1.000000226947936},{"endTime":1753753663752,"species":"Lychee","mutations":["Frozen"],"startTime":1753751852904,"targetScale":1.006026691938706},{"endTime":1753754170632,"species":"Lychee","mutations":["Wet"],"startTime":1753750951699,"targetScale":1.788296363757873},{"endTime":1753697289408,"species":"Lychee","mutations":["Wet"],"startTime":1753695489408,"targetScale":1.000000251843033},{"endTime":1753698732586,"species":"Lychee","mutations":["Wet"],"startTime":1753696389881,"targetScale":1.301503266782551}],"species":"Lychee","maturedAt":1753314079695,"plantedAt":1753227679695,"objectType":"plant"},"180":{"slots":[{"endTime":1753786962581,"species":"Lemon","mutations":[],"startTime":1753783362581,"targetScale":1.000000170069685},{"endTime":1753788762785,"species":"Lemon","mutations":[],"startTime":1753785162581,"targetScale":1.000056784480119},{"endTime":1753794692565,"species":"Lemon","mutations":[],"startTime":1753786962581,"targetScale":2.147217862072794},{"endTime":1753792362603,"species":"Lemon","mutations":[],"startTime":1753788762581,"targetScale":1.000006161019218},{"endTime":1753794162730,"species":"Lemon","mutations":[],"startTime":1753790562581,"targetScale":1.000041405368974},{"endTime":1753796015769,"species":"Lemon","mutations":[],"startTime":1753792362581,"targetScale":1.014774701886676}],"species":"Lemon","maturedAt":1753781562581,"plantedAt":1753738362581,"objectType":"plant"},"181":{"slots":[{"endTime":1753854590948,"species":"Lychee","mutations":[],"startTime":1753852772684,"targetScale":1.010146838005809},{"endTime":1753855476608,"species":"Lychee","mutations":[],"startTime":1753853672684,"targetScale":1.002180116843821},{"endTime":1753856372684,"species":"Lychee","mutations":[],"startTime":1753854572684,"targetScale":1.000000526335608},{"endTime":1753857274780,"species":"Lychee","mutations":[],"startTime":1753855472684,"targetScale":1.001164774634152},{"endTime":1753858175989,"species":"Lychee","mutations":[],"startTime":1753856372684,"targetScale":1.001836176892956},{"endTime":1753859076730,"species":"Lychee","mutations":[],"startTime":1753857272684,"targetScale":1.002248183834004}],"species":"Lychee","maturedAt":1753851872684,"plantedAt":1753765472684,"objectType":"plant"},"182":{"slots":[{"endTime":1753764148854,"species":"DragonFruit","mutations":["Wet"],"startTime":1753763248853,"targetScale":1.000001927094522},{"endTime":1753764605146,"species":"DragonFruit","mutations":[],"startTime":1753763700558,"targetScale":1.005098170434428},{"endTime":1753749331531,"species":"DragonFruit","mutations":["Gold","Wet"],"startTime":1753747845146,"targetScale":1.651539872775499},{"endTime":1753765054260,"species":"DragonFruit","mutations":["Wet"],"startTime":1753764153135,"targetScale":1.001250797135362},{"endTime":1753766831093,"species":"DragonFruit","mutations":[],"startTime":1753765931084,"targetScale":1.000011106462274},{"endTime":1753763692158,"species":"DragonFruit","mutations":["Wet"],"startTime":1753762790920,"targetScale":1.001376044702899},{"endTime":1753750545146,"species":"DragonFruit","mutations":["Wet"],"startTime":1753749645146,"targetScale":1.00000000015605}],"species":"DragonFruit","maturedAt":1753746495146,"plantedAt":1753745895146,"objectType":"plant"},"183":{"slots":[{"endTime":1753747740915,"species":"Grape","mutations":["Wet"],"startTime":1753746840915,"targetScale":1.000000813756337}],"species":"Grape","maturedAt":1753733978157,"plantedAt":1753647578157,"objectType":"plant"},"184":{"slots":[{"endTime":1753776205592,"species":"Mushroom","mutations":[],"startTime":1753683637888,"targetScale":1.071385465764436}],"species":"Mushroom","maturedAt":1753683637888,"plantedAt":1753683637888,"objectType":"plant"},"185":{"slots":[{"endTime":1753751312301,"species":"PassionFruit","mutations":["Wet"],"startTime":1753747741704,"targetScale":1.322443586845711},{"endTime":1753768501269,"species":"PassionFruit","mutations":[],"startTime":1753765801269,"targetScale":1.00000000817165}],"species":"PassionFruit","maturedAt":1753308201848,"plantedAt":1753221801848,"objectType":"plant"},"186":{"slots":[{"endTime":1753751614362,"species":"Pepper","mutations":["Wet"],"startTime":1753750982647,"targetScale":1.052859093128945},{"endTime":1753752251941,"species":"Pepper","mutations":["Wet"],"startTime":1753751282939,"targetScale":1.615003468850426},{"endTime":1753752183153,"species":"Pepper","mutations":["Wet"],"startTime":1753751583153,"targetScale":1.000000004346958},{"endTime":1753752483605,"species":"Pepper","mutations":[],"startTime":1753751883592,"targetScale":1.000022393296027},{"endTime":1753765478658,"species":"Pepper","mutations":["Wet"],"startTime":1753764878657,"targetScale":1.000003309508545},{"endTime":1753748954965,"species":"Pepper","mutations":["Frozen"],"startTime":1753748194047,"targetScale":1.268198255201504},{"endTime":1753749094364,"species":"Pepper","mutations":["Wet"],"startTime":1753748494364,"targetScale":1.000000167127185},{"endTime":1753749394773,"species":"Pepper","mutations":["Frozen"],"startTime":1753748794773,"targetScale":1.000000019456364},{"endTime":1753749876044,"species":"Pepper","mutations":["Chilled"],"startTime":1753749095134,"targetScale":1.301516696365607}],"species":"Pepper","maturedAt":1753496461028,"plantedAt":1753495901028,"objectType":"plant"},"187":{"slots":[{"endTime":1753763929878,"species":"DragonFruit","mutations":["Gold"],"startTime":1753763029634,"targetScale":1.00027114870051},{"endTime":1753764600656,"species":"DragonFruit","mutations":["Gold","Wet"],"startTime":1753763479883,"targetScale":1.245303490760399},{"endTime":1753764830074,"species":"DragonFruit","mutations":["Wet"],"startTime":1753763930051,"targetScale":1.000025871468424},{"endTime":1753765355345,"species":"DragonFruit","mutations":["Wet"],"startTime":1753764380324,"targetScale":1.08335752645551},{"endTime":1753765744508,"species":"DragonFruit","mutations":["Wet"],"startTime":1753764830485,"targetScale":1.015581387117648},{"endTime":1753766500292,"species":"DragonFruit","mutations":[],"startTime":1753765280703,"targetScale":1.355099400462152},{"endTime":1753766647266,"species":"DragonFruit","mutations":[],"startTime":1753765730936,"targetScale":1.0181453104008}],"species":"DragonFruit","maturedAt":1753430886322,"plantedAt":1753430286322,"objectType":"plant"},"188":{"slots":[{"endTime":1753732732116,"species":"Lychee","mutations":["Wet"],"startTime":1753730932116,"targetScale":1.00000004065677},{"endTime":1753765183950,"species":"Lychee","mutations":[],"startTime":1753763383947,"targetScale":1.000002029482806},{"endTime":1753696186083,"species":"Lychee","mutations":["Wet"],"startTime":1753694385975,"targetScale":1.000060193923385},{"endTime":1753697862060,"species":"Lychee","mutations":["Wet"],"startTime":1753695286266,"targetScale":1.430997213750966},{"endTime":1753755995885,"species":"Lychee","mutations":["Wet"],"startTime":1753754195006,"targetScale":1.000488498127359},{"endTime":1753752339472,"species":"Lychee","mutations":["Wet"],"startTime":1753749687737,"targetScale":1.473186290029342}],"species":"Lychee","maturedAt":1753516718765,"plantedAt":1753430318765,"objectType":"plant"},"189":{"slots":[{"endTime":1753747275190,"species":"Lemon","mutations":["Wet"],"startTime":1753742219118,"targetScale":1.404464449146738},{"endTime":1753760186692,"species":"Lemon","mutations":["Chilled"],"startTime":1753755834888,"targetScale":1.208834628042969},{"endTime":1753776880223,"species":"Lemon","mutations":[],"startTime":1753768055875,"targetScale":2.451207860459319},{"endTime":1753694672651,"species":"Lemon","mutations":["Wet"],"startTime":1753691072651,"targetScale":1.000000252449881},{"endTime":1753708305168,"species":"Lemon","mutations":["Wet"],"startTime":1753699789830,"targetScale":2.36537180559664},{"endTime":1753767781814,"species":"Lemon","mutations":[],"startTime":1753764181812,"targetScale":1.000000690048541}],"species":"Lemon","maturedAt":1753489051222,"plantedAt":1753445851222,"objectType":"plant"},"190":{"slots":[{"endTime":1753758018838,"species":"Lemon","mutations":[],"startTime":1753754418767,"targetScale":1.000019919815232},{"endTime":1753771474552,"species":"Lemon","mutations":[],"startTime":1753767874416,"targetScale":1.000037930582026},{"endTime":1753767871672,"species":"Lemon","mutations":[],"startTime":1753764271605,"targetScale":1.000018794717889},{"endTime":1753769673377,"species":"Lemon","mutations":[],"startTime":1753766073334,"targetScale":1.000012114782292},{"endTime":1753761308409,"species":"Lemon","mutations":["Wet"],"startTime":1753750603519,"targetScale":2.973580583815063},{"endTime":1753778427431,"species":"Lemon","mutations":[],"startTime":1753774824841,"targetScale":1.000719697496709}],"species":"Lemon","maturedAt":1753223505305,"plantedAt":1753180305305,"objectType":"plant"},"191":{"slots":[{"endTime":1753770060688,"species":"Lychee","mutations":[],"startTime":1753767174513,"targetScale":1.603430848893376},{"endTime":1753739532372,"species":"Lychee","mutations":["Wet"],"startTime":1753737732365,"targetScale":1.000004061624633},{"endTime":1753695393779,"species":"Lychee","mutations":["Wet"],"startTime":1753693593142,"targetScale":1.000354066278366},{"endTime":1753766390326,"species":"Lychee","mutations":[],"startTime":1753763368235,"targetScale":1.678939946543489},{"endTime":1753740628538,"species":"Lychee","mutations":["Wet"],"startTime":1753738828429,"targetScale":1.000060566520158},{"endTime":1753766069817,"species":"Lychee","mutations":[],"startTime":1753764269817,"targetScale":1.000000004302334}],"species":"Lychee","maturedAt":1753325490192,"plantedAt":1753239090192,"objectType":"plant"},"192":{"slots":[{"endTime":1753763951270,"species":"DragonFruit","mutations":["Wet"],"startTime":1753763040762,"targetScale":1.011676148166452},{"endTime":1753764391173,"species":"DragonFruit","mutations":[],"startTime":1753763491172,"targetScale":1.000001849204064},{"endTime":1753765416178,"species":"DragonFruit","mutations":["Wet"],"startTime":1753763941420,"targetScale":1.638620209648079},{"endTime":1753765291856,"species":"DragonFruit","mutations":[],"startTime":1753764391821,"targetScale":1.000039691499655},{"endTime":1753765742104,"species":"DragonFruit","mutations":[],"startTime":1753764842104,"targetScale":1.000000680545305},{"endTime":1753766455561,"species":"DragonFruit","mutations":[],"startTime":1753765292366,"targetScale":1.292439424656998},{"endTime":1753766642418,"species":"DragonFruit","mutations":[],"startTime":1753765742418,"targetScale":1.000000250071103}],"species":"DragonFruit","maturedAt":1753367790181,"plantedAt":1753367190181,"objectType":"plant"},"193":{"slots":[{"endTime":1753730616009,"species":"Tomato","mutations":["Wet"],"startTime":1753730576009,"targetScale":1.00000112773911},{"endTime":1753691047984,"species":"Tomato","mutations":["Wet"],"startTime":1753690975076,"targetScale":1.822721988917686}],"species":"Tomato","maturedAt":1753439128972,"plantedAt":1753438028972,"objectType":"plant"},"194":{"slots":[{"endTime":1753765889094,"species":"Grape","mutations":[],"startTime":1753764928917,"targetScale":1.066864023582466}],"species":"Grape","maturedAt":1753335492399,"plantedAt":1753249092399,"objectType":"plant"},"195":{"slots":[{"endTime":1753766670448,"species":"PassionFruit","mutations":[],"startTime":1753763962131,"targetScale":1.003080606730413},{"endTime":1753742377466,"species":"PassionFruit","mutations":["Wet"],"startTime":1753739674108,"targetScale":1.001244020858293}],"species":"PassionFruit","maturedAt":1753257741978,"plantedAt":1753171341978,"objectType":"plant"},"196":{"slots":[{"endTime":1753767133505,"species":"Pepper","mutations":[],"startTime":1753766435999,"targetScale":1.162510554236289},{"endTime":1753767883524,"species":"Pepper","mutations":[],"startTime":1753766736308,"targetScale":1.912028172437925},{"endTime":1753767636677,"species":"Pepper","mutations":[],"startTime":1753767036676,"targetScale":1.000002963533043},{"endTime":1753767936997,"species":"Pepper","mutations":[],"startTime":1753767336993,"targetScale":1.000008046162173},{"endTime":1753764886471,"species":"Pepper","mutations":[],"startTime":1753764113721,"targetScale":1.287916698131621},{"endTime":1753765014301,"species":"Pepper","mutations":["Wet"],"startTime":1753764414109,"targetScale":1.00032137532963},{"endTime":1753765906574,"species":"Pepper","mutations":["Wet"],"startTime":1753764714416,"targetScale":1.986930828429755},{"endTime":1753765614565,"species":"Pepper","mutations":[],"startTime":1753765014565,"targetScale":1.000000557538006},{"endTime":1753765914886,"species":"Pepper","mutations":[],"startTime":1753765314815,"targetScale":1.00011923470775}],"species":"Pepper","maturedAt":1753227808626,"plantedAt":1753227248626,"objectType":"plant"},"197":{"slots":[{"endTime":1753767802909,"species":"DragonFruit","mutations":[],"startTime":1753766902898,"targetScale":1.000012331451263},{"endTime":1753768252999,"species":"DragonFruit","mutations":[],"startTime":1753767352999,"targetScale":1.000000027725905},{"endTime":1753765645525,"species":"DragonFruit","mutations":["Wet"],"startTime":1753763899746,"targetScale":1.939754913855839},{"endTime":1753765250165,"species":"DragonFruit","mutations":[],"startTime":1753764350114,"targetScale":1.000057438149408},{"endTime":1753765700892,"species":"DragonFruit","mutations":[],"startTime":1753764800277,"targetScale":1.000684384562429},{"endTime":1753766153621,"species":"DragonFruit","mutations":["Wet"],"startTime":1753765250587,"targetScale":1.003371520128763},{"endTime":1753740047552,"species":"DragonFruit","mutations":["Wet"],"startTime":1753738772491,"targetScale":1.416735075316046}],"species":"DragonFruit","maturedAt":1753427443040,"plantedAt":1753426843040,"objectType":"plant"},"198":{"slots":[{"endTime":1753767186155,"species":"Lychee","mutations":[],"startTime":1753765385437,"targetScale":1.000399061066249},{"endTime":1753769949709,"species":"Lychee","mutations":[],"startTime":1753766452268,"targetScale":1.943023239169294},{"endTime":1753751856547,"species":"Lychee","mutations":["Wet"],"startTime":1753750056432,"targetScale":1.000064377504836},{"endTime":1753752758746,"species":"Lychee","mutations":["Wet"],"startTime":1753750957976,"targetScale":1.00042786946625},{"endTime":1753753667869,"species":"Lychee","mutations":["Wet"],"startTime":1753751859867,"targetScale":1.004445720037634},{"endTime":1753698187748,"species":"Lychee","mutations":["Wet"],"startTime":1753696387433,"targetScale":1.00017521715037}],"species":"Lychee","maturedAt":1753155152752,"plantedAt":1753068752752,"objectType":"plant"},"199":{"slots":[{"endTime":1753741688124,"species":"Lemon","mutations":["Chilled"],"startTime":1753731927119,"targetScale":2.711390373124967},{"endTime":1753737327497,"species":"Lemon","mutations":["Wet"],"startTime":1753733727497,"targetScale":1.000000012922462},{"endTime":1753740054665,"species":"Lemon","mutations":["Wet"],"startTime":1753735623108,"targetScale":1.230988222460204},{"endTime":1753770330383,"species":"Lemon","mutations":[],"startTime":1753766292087,"targetScale":1.121749097254265},{"endTime":1753747846173,"species":"Lemon","mutations":["Chilled"],"startTime":1753744245761,"targetScale":1.00011454058129},{"endTime":1753700494287,"species":"Lemon","mutations":["Wet"],"startTime":1753694787263,"targetScale":1.585284688307215}],"species":"Lemon","maturedAt":1753221696420,"plantedAt":1753178496420,"objectType":"plant"}}}'),zgt=[{id:"5bb10950-7207-4ade-aa7f-2bd6fc4e365b",xp:105816.2888966605,name:"Bismuth",hunger:657810.44829044,abilities:["HungerBoost","RainbowGranter"],mutations:["Rainbow"],petSpecies:"Cow",targetScale:1.017316720630787},{id:"5b990fc1-9739-4bec-a54f-3d79df66a8ab",xp:93393.88449672137,name:"PISSBABY",hunger:944.1161611082982,abilities:["ProduceMutationBoost","GoldGranter"],mutations:["Gold"],petSpecies:"Bee",targetScale:1.00000016082527},{id:"ed761276-d83c-4211-a899-3ed952d627a6",xp:65519.61263439723,name:"Muns(2)(B?)",hunger:391.2121882242782,abilities:["CoinFinderII","SellBoostI"],mutations:[],petSpecies:"Bunny",targetScale:1.105986416276983}],Wgt=JSON.parse('{"items":[{"species":"Carrot","itemType":"Seed","quantity":4347},{"species":"OrangeTulip","itemType":"Seed","quantity":3174},{"species":"Mushroom","itemType":"Seed","quantity":827},{"species":"Bamboo","itemType":"Seed","quantity":151},{"species":"Watermelon","itemType":"Seed","quantity":140},{"species":"Pumpkin","itemType":"Seed","quantity":122},{"species":"Banana","itemType":"Seed","quantity":2},{"species":"Daffodil","itemType":"Seed","quantity":58},{"species":"Lychee","itemType":"Seed","quantity":2},{"toolId":"PlanterPot","itemType":"Tool","quantity":22},{"id":"371fd332-ef56-4798-bb9c-d0114ca7d023","xp":300561.5072590646,"name":"Cuber","hunger":871.5958128454088,"itemType":"Pet","abilities":["CoinFinderI"],"mutations":[],"petSpecies":"Snail","targetScale":1.000058993280643},{"id":"97a1891d-7ce1-4b3c-a00f-251330ff7064","xp":52565.8597444971,"name":"OG (2)","hunger":1482.244941461972,"itemType":"Pet","abilities":["CoinFinderI","GoldGranter"],"mutations":["Gold"],"petSpecies":"Snail","targetScale":1.087441127230664},{"id":"d8b9ae9e-c1c3-4b9b-95d2-0474b65928ec","xp":204,"name":"Trophy","hunger":472353.0763160271,"itemType":"Pet","abilities":["PetHatchSizeBoost","GoldGranter"],"mutations":["Gold"],"petSpecies":"Pig","targetScale":1.000013246279813},{"eggId":"CommonEgg","itemType":"Egg","quantity":224},{"eggId":"UncommonEgg","itemType":"Egg","quantity":48},{"eggId":"RareEgg","itemType":"Egg","quantity":34},{"id":"6b5cd6d2-e67c-4f91-9666-a4a748ff19a8","xp":11081.06896660837,"name":"Doobie (2)","hunger":2968.313468560491,"itemType":"Pet","abilities":["ProduceMutationBoost","ProduceScaleBoost"],"mutations":[],"petSpecies":"Bee","targetScale":1.003659104192957},{"id":"de800b93-b8a5-4591-b821-7a4fb960add8","xp":20240.26908793095,"name":"(2)(H/S)","hunger":0,"itemType":"Pet","abilities":["HungerBoost","SeedFinderII"],"mutations":[],"petSpecies":"Cow","targetScale":1.000000009635539},{"id":"ea994a13-0523-452f-8266-a962d2e22708","xp":21455.93829872821,"name":"Eggod (2)","hunger":407956.5265763893,"itemType":"Pet","abilities":["PetHatchSizeBoost","PetAgeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.000083932697199},{"id":"92545bbf-9ea3-42e8-9e00-21ff8e3b5f1e","xp":3591.523081491729,"name":"(H)(BIG)","hunger":398461.3888888956,"itemType":"Pet","abilities":["PetHatchSizeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":2.278487931045964},{"id":"48b5cfad-1476-41b4-824b-eb5efe3e5362","xp":18234.90458155584,"name":"(2)(H/$)","hunger":450555.5555555602,"itemType":"Pet","abilities":["SellBoostII","PetHatchSizeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.000069385992942},{"id":"7a5e58d8-cb12-4baf-b6cb-3e31243cf358","xp":14112.65672985477,"name":"(2)(H/$)","hunger":126707.5529820052,"itemType":"Pet","abilities":["PetHatchSizeBoost","SellBoostII"],"mutations":[],"petSpecies":"Pig","targetScale":1.079404735190606},{"id":"b707327a-9d4f-464c-9e60-60f4d6f2836a","xp":8321.367910138715,"name":"(2)(H/$)(B?)","hunger":168449.1382894722,"itemType":"Pet","abilities":["PetHatchSizeBoost","SellBoostII"],"mutations":[],"petSpecies":"Pig","targetScale":1.077917821540603},{"id":"ba9a4c64-7e3f-4db5-b6d1-1ca7dcf03408","xp":29352.85222155857,"name":"Eggod (2)","hunger":12810.41539999092,"itemType":"Pet","abilities":["EggGrowthBoost","PetRefund"],"mutations":[],"petSpecies":"Chicken","targetScale":1.000001793082978},{"id":"2e6b6a93-7702-4bc2-b661-060af1ede42f","xp":57100.14002955688,"name":"Dino (R)","hunger":2832.099257464451,"itemType":"Pet","abilities":["PetRefund"],"mutations":[],"petSpecies":"Chicken","targetScale":1.809564110991478},{"id":"4eaa3cb2-e803-4d64-92e1-cdb0e4881ad5","xp":6143.717906886142,"name":"(R)(B?)","hunger":316.3471780514926,"itemType":"Pet","abilities":["PetRefund"],"mutations":[],"petSpecies":"Chicken","targetScale":1.246069961554079},{"id":"78ce6710-4341-468f-8039-c29d4bb44c8a","xp":21039.02205435536,"name":"(G)(B?)","hunger":5369.363537668556,"itemType":"Pet","abilities":["EggGrowthBoost"],"mutations":[],"petSpecies":"Chicken","targetScale":1.199453210749108},{"id":"de596a6c-5af0-4570-8260-8450be2d6a9d","xp":2711,"name":"(G)(B?)","hunger":5136.166666667326,"itemType":"Pet","abilities":["EggGrowthBoost"],"mutations":[],"petSpecies":"Chicken","targetScale":1.139093756106073},{"toolId":"Shovel","itemType":"Tool","quantity":1},{"id":"c6e2bdfd-7d9a-40b5-b3a3-79ab44b5344f","scale":1.000032720574264,"species":"Mushroom","itemType":"Produce","mutations":["Frozen"]},{"id":"5c08d0f9-34f0-42d2-9d24-e2e5e9620b52","scale":1.000104493899099,"species":"Mushroom","itemType":"Produce","mutations":["Frozen"]},{"id":"8af342f0-fce0-4091-9517-58cb99804564","scale":1.000000017870856,"species":"Mushroom","itemType":"Produce","mutations":["Frozen"]},{"id":"cd914291-75c1-4d6e-b1f3-17ec94d4132d","scale":1.048875743501348,"species":"Mushroom","itemType":"Produce","mutations":["Frozen"]},{"id":"591f6b91-8751-424b-8eb4-dabe263a1d72","scale":1.032769274285552,"species":"Mushroom","itemType":"Produce","mutations":["Frozen"]},{"id":"6b6880d8-d64e-4dc3-812d-a92a8122be15","scale":1.000000278472646,"species":"Mushroom","itemType":"Produce","mutations":["Wet"]},{"id":"9a2aae3c-5c3d-423c-ba07-78e9d356c448","scale":1.000104007061008,"species":"Mushroom","itemType":"Produce","mutations":["Wet"]},{"id":"f60d3dac-7ab6-4817-bbed-2d765736d7b0","scale":1.000626313341523,"species":"Mushroom","itemType":"Produce","mutations":["Wet"]},{"id":"dcbc4ff7-b1bd-4e37-a02e-976d33d7cd2a","scale":1.001120252760992,"species":"Mushroom","itemType":"Produce","mutations":["Wet"]},{"id":"82d20f87-d9f6-4e23-bf35-dadea1568093","scale":1.057712945243781,"species":"Mushroom","itemType":"Produce","mutations":[]},{"id":"ced5e478-480b-4c3e-9dc1-954c19cd7661","scale":1.00061399286015,"species":"Mushroom","itemType":"Produce","mutations":[]},{"id":"fdd8e05d-17d2-449a-b4dd-285b454f629b","scale":1.000000938606908,"species":"Pumpkin","itemType":"Produce","mutations":[]},{"id":"847b2773-549d-4d71-89fc-578d6a3e4681","scale":1.000042491553869,"species":"Pumpkin","itemType":"Produce","mutations":[]},{"id":"dcbae96a-7c1a-47fb-993a-19d8ebea88f2","scale":1.000046182770861,"species":"Pumpkin","itemType":"Produce","mutations":[]},{"id":"8a4847c5-9765-468a-8b1b-5ab927317c25","scale":1.000000082214226,"species":"Pumpkin","itemType":"Produce","mutations":[]},{"id":"3e383599-a46f-4eb5-b9e8-523b321d4bd8","scale":1.000001549178564,"species":"Pumpkin","itemType":"Produce","mutations":[]},{"id":"dfe6b3bf-5957-46e4-994d-d3a7972ce9db","scale":1.000003013810075,"species":"OrangeTulip","itemType":"Produce","mutations":["Chilled"]},{"id":"1a46c824-e7e5-4f80-bc43-3b8775506d9a","scale":1.001600275981116,"species":"OrangeTulip","itemType":"Produce","mutations":["Chilled"]},{"id":"af21e54a-5de8-4eba-a56a-025bba4c3280","scale":1.000313282093342,"species":"OrangeTulip","itemType":"Produce","mutations":["Chilled"]},{"id":"4b1d1a44-d43d-4757-8384-e974ed19d32e","scale":1.008481897646409,"species":"OrangeTulip","itemType":"Produce","mutations":["Chilled"]},{"id":"0520406d-f80d-4dfb-9878-df98ae7c684b","scale":1.055199361707717,"species":"OrangeTulip","itemType":"Produce","mutations":["Chilled"]},{"id":"01ee0748-fd10-4f25-8dcf-d8b930c8ae46","scale":1.000000891682063,"species":"OrangeTulip","itemType":"Produce","mutations":["Chilled"]},{"id":"de83b194-40ca-405f-93ed-343a4c9f6520","scale":1.000000497883372,"species":"OrangeTulip","itemType":"Produce","mutations":["Wet"]},{"id":"3c63bd2f-5b3e-46ee-9cfc-b2b943fe77ef","scale":1.000037292043422,"species":"OrangeTulip","itemType":"Produce","mutations":["Wet"]},{"id":"03b9b1ba-4b90-4d87-9e58-6125909f2b1b","scale":1.836048137815189,"species":"OrangeTulip","itemType":"Produce","mutations":["Wet"]},{"id":"de6f6444-fe15-42d4-a2ec-dd88743de0e5","scale":1.854072036928708,"species":"OrangeTulip","itemType":"Produce","mutations":["Wet"]},{"id":"78c98d2e-9d9c-400b-bfda-11bbd416eddb","scale":1.260730160019403,"species":"OrangeTulip","itemType":"Produce","mutations":["Wet"]},{"id":"108e150c-a13a-4ec3-a1ad-2acb771cb1d5","scale":1.00000005384654,"species":"OrangeTulip","itemType":"Produce","mutations":["Wet"]},{"id":"c5679625-afa0-4a7a-955b-49475322332c","scale":1.000008179424363,"species":"OrangeTulip","itemType":"Produce","mutations":["Wet"]},{"id":"26f99d55-e728-4e54-908f-b6d91bce2df3","scale":1.000002324578651,"species":"OrangeTulip","itemType":"Produce","mutations":[]},{"id":"63b0d940-9518-4825-9c9b-beb2ed480a25","scale":1.81664433262228,"species":"OrangeTulip","itemType":"Produce","mutations":[]},{"id":"ce585ce3-d2ea-48a7-ac52-c9e8994b95fd","scale":1.161298087524942,"species":"OrangeTulip","itemType":"Produce","mutations":["Wet"]},{"id":"5c7d49a9-d9e4-4ca8-b66a-78cfb9fe42da","scale":1.000001782102866,"species":"Daffodil","itemType":"Produce","mutations":[]},{"id":"e5a23ac9-db44-4c66-9df8-b1399ad1cb86","scale":1.000000041815922,"species":"Daffodil","itemType":"Produce","mutations":[]},{"id":"01a233e5-b67f-4446-9647-39c0fed3c60b","scale":1.000016449348674,"species":"Daffodil","itemType":"Produce","mutations":[]},{"id":"a46059f4-203e-4cec-976a-5ac3bfe4896f","scale":1.000002956537239,"species":"Corn","itemType":"Produce","mutations":["Wet"]},{"id":"18357166-bd2f-4c01-b223-1fb24f452905","scale":1.306142633048035,"species":"Mushroom","itemType":"Produce","mutations":["Frozen"]},{"id":"ba795376-a8ad-4a6f-84ff-1c1491745d24","scale":1.209253937613234,"species":"Corn","itemType":"Produce","mutations":["Wet"]},{"id":"3c9c37e3-1b1f-4772-8304-62c63898e89d","scale":1.000000007161397,"species":"Corn","itemType":"Produce","mutations":["Wet"]},{"id":"e79a2d3d-97aa-46d4-9881-ae77482d82c0","scale":3.299457150891727,"species":"Mushroom","itemType":"Produce","mutations":["Wet"]},{"id":"41ccd11a-ae8f-4f24-912f-a9618df18501","scale":1.000002320415341,"species":"Bamboo","itemType":"Produce","mutations":["Wet"]},{"id":"2f6bded5-2ba4-4b19-9f5d-8256bc91f722","scale":1.000558831487418,"species":"Lemon","itemType":"Produce","mutations":["Frozen"]},{"id":"6848bf2d-f0fb-42a8-951d-82e4e5165714","scale":1.000893534334785,"species":"Lychee","itemType":"Produce","mutations":["Frozen"]},{"id":"429f5282-9f1d-46ca-8186-c7d79be22067","scale":1.004934937651512,"species":"Lychee","itemType":"Produce","mutations":["Frozen"]},{"id":"a7c33f67-a2a0-4d48-a14b-8331105f3bf5","scale":1.000000065638845,"species":"PassionFruit","itemType":"Produce","mutations":["Frozen"]},{"id":"7a81e6fd-66e7-417e-b841-6935b4bd74b9","scale":1.1714604883551,"species":"Lychee","itemType":"Produce","mutations":["Frozen"]},{"id":"76124cba-7e01-4e77-9280-5b4751d721a1","scale":1.004661418938458,"species":"Lemon","itemType":"Produce","mutations":["Frozen"]},{"id":"30553480-83be-405d-8000-979166ff8df8","scale":1.019154780742456,"species":"Lychee","itemType":"Produce","mutations":["Frozen"]},{"id":"069c5728-8e8c-4df6-bac1-34e9c918e98c","scale":1.000000309956757,"species":"Lemon","itemType":"Produce","mutations":["Frozen"]},{"id":"3db276e5-e16f-4fa9-8c2b-f6ba6c5e71d1","scale":1.000000611542845,"species":"Lemon","itemType":"Produce","mutations":["Frozen"]},{"id":"48c7faa9-e080-4924-afa0-8d5735981830","scale":1.015024607258348,"species":"Lemon","itemType":"Produce","mutations":["Frozen"]},{"id":"7497ffe9-38af-4546-8537-456e0af0d1c9","scale":1.914092058428529,"species":"Lychee","itemType":"Produce","mutations":["Frozen"]}],"favoritedItemIds":["97a1891d-7ce1-4b3c-a00f-251330ff7064","2e6b6a93-7702-4bc2-b661-060af1ede42f","ea994a13-0523-452f-8266-a962d2e22708","ed761276-d83c-4211-a899-3ed952d627a6","de800b93-b8a5-4591-b821-7a4fb960add8","4eaa3cb2-e803-4d64-92e1-cdb0e4881ad5","48b5cfad-1476-41b4-824b-eb5efe3e5362","ba9a4c64-7e3f-4db5-b6d1-1ca7dcf03408","78ce6710-4341-468f-8039-c29d4bb44c8a","371fd332-ef56-4798-bb9c-d0114ca7d023","7a5e58d8-cb12-4baf-b6cb-3e31243cf358","5bb10950-7207-4ade-aa7f-2bd6fc4e365b","d8b9ae9e-c1c3-4b9b-95d2-0474b65928ec","92545bbf-9ea3-42e8-9e00-21ff8e3b5f1e","b707327a-9d4f-464c-9e60-60f4d6f2836a","6b5cd6d2-e67c-4f91-9666-a4a748ff19a8","de596a6c-5af0-4570-8260-8450be2d6a9d","5b990fc1-9739-4bec-a54f-3d79df66a8ab","c6e2bdfd-7d9a-40b5-b3a3-79ab44b5344f","dcbae96a-7c1a-47fb-993a-19d8ebea88f2","5c08d0f9-34f0-42d2-9d24-e2e5e9620b52","8af342f0-fce0-4091-9517-58cb99804564","cd914291-75c1-4d6e-b1f3-17ec94d4132d","fdd8e05d-17d2-449a-b4dd-285b454f629b","847b2773-549d-4d71-89fc-578d6a3e4681","9a2aae3c-5c3d-423c-ba07-78e9d356c448","dcbc4ff7-b1bd-4e37-a02e-976d33d7cd2a","6b6880d8-d64e-4dc3-812d-a92a8122be15","f60d3dac-7ab6-4817-bbed-2d765736d7b0","8a4847c5-9765-468a-8b1b-5ab927317c25","3e383599-a46f-4eb5-b9e8-523b321d4bd8","591f6b91-8751-424b-8eb4-dabe263a1d72","1a46c824-e7e5-4f80-bc43-3b8775506d9a","4b1d1a44-d43d-4757-8384-e974ed19d32e","af21e54a-5de8-4eba-a56a-025bba4c3280","0520406d-f80d-4dfb-9878-df98ae7c684b","01ee0748-fd10-4f25-8dcf-d8b930c8ae46","dfe6b3bf-5957-46e4-994d-d3a7972ce9db","82d20f87-d9f6-4e23-bf35-dadea1568093","ced5e478-480b-4c3e-9dc1-954c19cd7661","3c63bd2f-5b3e-46ee-9cfc-b2b943fe77ef","108e150c-a13a-4ec3-a1ad-2acb771cb1d5","c5679625-afa0-4a7a-955b-49475322332c","78c98d2e-9d9c-400b-bfda-11bbd416eddb","ce585ce3-d2ea-48a7-ac52-c9e8994b95fd","de6f6444-fe15-42d4-a2ec-dd88743de0e5","03b9b1ba-4b90-4d87-9e58-6125909f2b1b","de83b194-40ca-405f-93ed-343a4c9f6520","5c7d49a9-d9e4-4ca8-b66a-78cfb9fe42da","01a233e5-b67f-4446-9647-39c0fed3c60b","e5a23ac9-db44-4c66-9df8-b1399ad1cb86"]}'),Hgt=5447310149,Ugt=4,Ggt={egg:{createdAt:1753767000999,purchases:{CommonEgg:1,UncommonEgg:1}},seed:{createdAt:1753767600999,purchases:{Mushroom:19,OrangeTulip:12}},tool:{createdAt:1753767600999,purchases:{}}},Vgt={egg:null,seed:null,tool:null},Ygt={produceJournal:{},petJournal:{}},Kgt={garden:qgt,petSlots:zgt,inventory:Wgt,coinsCount:Hgt,schemaVersion:Ugt,shopPurchases:Ggt,customRestocks:Vgt,journal:Ygt},Xgt=JSON.parse('{"boardwalkTileObjects":{},"tileObjects":{"0":{"slots":[{"endTime":1750398309057,"species":"Watermelon","mutations":[],"startTime":1750396369403,"targetScale":2.693964032363165}],"species":"Watermelon","maturedAt":1750396369403,"plantedAt":1750396369403,"objectType":"plant"},"1":{"slots":[{"endTime":1750395174403,"species":"OrangeTulip","mutations":[],"startTime":1750395168403,"targetScale":1.000000511781366}],"species":"OrangeTulip","maturedAt":1750395168403,"plantedAt":1750395168403,"objectType":"plant"},"2":{"slots":[{"endTime":1750395177076,"species":"OrangeTulip","mutations":[],"startTime":1750395169538,"targetScale":1.256462691608211}],"species":"OrangeTulip","maturedAt":1750395169538,"plantedAt":1750395169538,"objectType":"plant"},"3":{"slots":[{"endTime":1750713130486,"species":"OrangeTulip","mutations":[],"startTime":1750713121112,"targetScale":1.562405013418239}],"species":"OrangeTulip","maturedAt":1750713121112,"plantedAt":1750713121112,"objectType":"plant"},"4":{"slots":[{"endTime":1750395177291,"species":"OrangeTulip","mutations":[],"startTime":1750395171290,"targetScale":1.000276059995147}],"species":"OrangeTulip","maturedAt":1750395171290,"plantedAt":1750395171290,"objectType":"plant"},"5":{"slots":[{"endTime":1750395178621,"species":"OrangeTulip","mutations":[],"startTime":1750395172619,"targetScale":1.000370553488101}],"species":"OrangeTulip","maturedAt":1750395172619,"plantedAt":1750395172619,"objectType":"plant"},"6":{"slots":[{"endTime":1750395182061,"species":"OrangeTulip","mutations":[],"startTime":1750395173941,"targetScale":1.35338969191257}],"species":"OrangeTulip","maturedAt":1750395173941,"plantedAt":1750395173941,"objectType":"plant"},"7":{"slots":[{"endTime":1750713126065,"species":"OrangeTulip","mutations":[],"startTime":1750713120065,"targetScale":1.000002349153192}],"species":"OrangeTulip","maturedAt":1750713120065,"plantedAt":1750713120065,"objectType":"plant"},"8":{"slots":[{"endTime":1750395186231,"species":"OrangeTulip","mutations":[],"startTime":1750395177048,"targetScale":1.530648179980975}],"species":"OrangeTulip","maturedAt":1750395177048,"plantedAt":1750395177048,"objectType":"plant"},"9":{"slots":[{"endTime":1750397136829,"species":"Watermelon","mutations":[],"startTime":1750396382460,"targetScale":1.047735914361851}],"species":"Watermelon","maturedAt":1750396382460,"plantedAt":1750396382460,"objectType":"plant"},"10":{"slots":[{"endTime":1750718837155,"species":"Strawberry","mutations":[],"startTime":1750718817609,"targetScale":1.954666802449654},{"endTime":1750718842362,"species":"Strawberry","mutations":[],"startTime":1750718822798,"targetScale":1.956484065126704},{"endTime":1750718838001,"species":"Strawberry","mutations":[],"startTime":1750718828001,"targetScale":1.000064357273178},{"endTime":1750718822845,"species":"Strawberry","mutations":[],"startTime":1750718812439,"targetScale":1.040652106540768},{"endTime":1750718843213,"species":"Strawberry","mutations":[],"startTime":1750718833213,"targetScale":1.000006940800878}],"species":"Strawberry","maturedAt":1750106784917,"plantedAt":1750106714917,"objectType":"plant"},"11":{"slots":[{"endTime":1750721341112,"species":"Blueberry","mutations":[],"startTime":1750721317995,"targetScale":1.050803853429995},{"endTime":1750721351151,"species":"Blueberry","mutations":[],"startTime":1750721329150,"targetScale":1.000083043165034},{"endTime":1750721376915,"species":"Blueberry","mutations":[],"startTime":1750721351473,"targetScale":1.156485012261682},{"endTime":1750721384656,"species":"Blueberry","mutations":[],"startTime":1750721362656,"targetScale":1.000000005829755},{"endTime":1750721362363,"species":"Blueberry","mutations":[],"startTime":1750721340363,"targetScale":1.00000057839096}],"species":"Blueberry","maturedAt":1750107218150,"plantedAt":1750107113150,"objectType":"plant"},"12":{"slots":[{"endTime":1750721385686,"species":"Tomato","mutations":[],"startTime":1750721345681,"targetScale":1.000128145277551},{"endTime":1750721365453,"species":"Tomato","mutations":[],"startTime":1750721325453,"targetScale":1.000018982556821}],"species":"Tomato","maturedAt":1750108255240,"plantedAt":1750107155240,"objectType":"plant"},"13":{"slots":[{"endTime":1750721305376,"species":"Corn","mutations":[],"startTime":1750721275375,"targetScale":1.000051242686505}],"species":"Corn","maturedAt":1750107919653,"plantedAt":1750107789653,"objectType":"plant"},"14":{"slots":[{"endTime":1750724843737,"species":"Corn","mutations":[],"startTime":1750724813737,"targetScale":1.000000064285949}],"species":"Corn","maturedAt":1750724783737,"plantedAt":1750724653737,"objectType":"plant"},"20":{"slots":[{"endTime":1750205102567,"species":"OrangeTulip","mutations":[],"startTime":1750205096477,"targetScale":1.015028186958391}],"species":"OrangeTulip","maturedAt":1750205096477,"plantedAt":1750205096477,"objectType":"plant"},"21":{"slots":[{"endTime":1750713141100,"species":"OrangeTulip","mutations":[],"startTime":1750713135100,"targetScale":1.000045974555779}],"species":"OrangeTulip","maturedAt":1750713135100,"plantedAt":1750713135100,"objectType":"plant"},"28":{"slots":[{"endTime":1750713142456,"species":"OrangeTulip","mutations":[],"startTime":1750713136456,"targetScale":1.000000008779593}],"species":"OrangeTulip","maturedAt":1750713136456,"plantedAt":1750713136456,"objectType":"plant"},"29":{"slots":[{"endTime":1750713129883,"species":"OrangeTulip","mutations":[],"startTime":1750713118967,"targetScale":1.819348274943597}],"species":"OrangeTulip","maturedAt":1750713118967,"plantedAt":1750713118967,"objectType":"plant"},"30":{"slots":[{"endTime":1750718831462,"species":"Strawberry","mutations":[],"startTime":1750718821462,"targetScale":1.000000564823599},{"endTime":1750718841798,"species":"Strawberry","mutations":[],"startTime":1750718831793,"targetScale":1.000580631934234},{"endTime":1750718843706,"species":"Strawberry","mutations":[],"startTime":1750718826619,"targetScale":1.708712032441342},{"endTime":1750718831078,"species":"Strawberry","mutations":[],"startTime":1750718811104,"targetScale":1.997488587238196},{"endTime":1750718826269,"species":"Strawberry","mutations":[],"startTime":1750718816269,"targetScale":1.000010573716163}],"species":"Strawberry","maturedAt":1750106784346,"plantedAt":1750106714346,"objectType":"plant"},"31":{"slots":[{"endTime":1750721387055,"species":"Blueberry","mutations":[],"startTime":1750721352598,"targetScale":1.566235204421686},{"endTime":1750721384161,"species":"Blueberry","mutations":[],"startTime":1750721341415,"targetScale":1.943029973313685},{"endTime":1750721344858,"species":"Blueberry","mutations":[],"startTime":1750721319135,"targetScale":1.169259565102529},{"endTime":1750721352248,"species":"Blueberry","mutations":[],"startTime":1750721330248,"targetScale":1.000000762639484},{"endTime":1750718812392,"species":"Blueberry","mutations":[],"startTime":1750718790392,"targetScale":1.000007898942172}],"species":"Blueberry","maturedAt":1750107216848,"plantedAt":1750107111848,"objectType":"plant"},"32":{"slots":[{"endTime":1750721404392,"species":"Tomato","mutations":[],"startTime":1750721344174,"targetScale":1.505464793377163},{"endTime":1750721364009,"species":"Tomato","mutations":[],"startTime":1750721324009,"targetScale":1.000016451673511}],"species":"Tomato","maturedAt":1750108402267,"plantedAt":1750107302267,"objectType":"plant"},"33":{"slots":[{"endTime":1750721335301,"species":"Corn","mutations":[],"startTime":1750721278421,"targetScale":1.896007974962227}],"species":"Corn","maturedAt":1750116496979,"plantedAt":1750116366979,"objectType":"plant"},"40":{"slots":[{"endTime":1750205101323,"species":"OrangeTulip","mutations":[],"startTime":1750205095323,"targetScale":1.000039025352466}],"species":"OrangeTulip","maturedAt":1750205095323,"plantedAt":1750205095323,"objectType":"plant"},"44":{"slots":[{"endTime":1750481589869,"species":"Watermelon","mutations":[],"startTime":1750480869329,"targetScale":1.000750756278334}],"species":"Watermelon","maturedAt":1750480869329,"plantedAt":1750480869329,"objectType":"plant"},"45":{"slots":[{"endTime":1750481592287,"species":"Watermelon","mutations":[],"startTime":1750480872281,"targetScale":1.000009181656964}],"species":"Watermelon","maturedAt":1750480872281,"plantedAt":1750480872281,"objectType":"plant"},"49":{"slots":[{"endTime":1750205113615,"species":"OrangeTulip","mutations":[],"startTime":1750205107521,"targetScale":1.015826034183108}],"species":"OrangeTulip","maturedAt":1750205107521,"plantedAt":1750205107521,"objectType":"plant"},"50":{"slots":[{"endTime":1750718835656,"species":"Strawberry","mutations":[],"startTime":1750718825656,"targetScale":1.00000094873358},{"endTime":1750718840785,"species":"Strawberry","mutations":[],"startTime":1750718830785,"targetScale":1.000000175894942},{"endTime":1750718837118,"species":"Strawberry","mutations":[],"startTime":1750718820446,"targetScale":1.667247078000297},{"endTime":1750718825303,"species":"Strawberry","mutations":[],"startTime":1750718815283,"targetScale":1.002032939481166},{"endTime":1750718820096,"species":"Strawberry","mutations":[],"startTime":1750718810096,"targetScale":1.000003320652197}],"species":"Strawberry","maturedAt":1750106783499,"plantedAt":1750106713499,"objectType":"plant"},"51":{"slots":[{"endTime":1750721353035,"species":"Blueberry","mutations":[],"startTime":1750721331035,"targetScale":1.000000903929072},{"endTime":1750721375371,"species":"Blueberry","mutations":[],"startTime":1750721353371,"targetScale":1.000007035017907},{"endTime":1750721364328,"species":"Blueberry","mutations":[],"startTime":1750721342238,"targetScale":1.004122880085797},{"endTime":1750721386594,"species":"Blueberry","mutations":[],"startTime":1750721364594,"targetScale":1.000000636048225},{"endTime":1750721341909,"species":"Blueberry","mutations":[],"startTime":1750721319909,"targetScale":1.000028988081563}],"species":"Blueberry","maturedAt":1750106860742,"plantedAt":1750106755742,"objectType":"plant"},"52":{"slots":[{"endTime":1750721382897,"species":"Tomato","mutations":[],"startTime":1750721342895,"targetScale":1.000053469685826},{"endTime":1750721362842,"species":"Tomato","mutations":[],"startTime":1750721322784,"targetScale":1.001468594951553}],"species":"Tomato","maturedAt":1750108547538,"plantedAt":1750107447538,"objectType":"plant"},"53":{"slots":[{"endTime":1750721335991,"species":"Corn","mutations":[],"startTime":1750721279573,"targetScale":1.880632695513299}],"species":"Corn","maturedAt":1750136608748,"plantedAt":1750136478748,"objectType":"plant"},"60":{"slots":[{"endTime":1750205100792,"species":"OrangeTulip","mutations":[],"startTime":1750205094644,"targetScale":1.024740488488783}],"species":"OrangeTulip","maturedAt":1750205094644,"plantedAt":1750205094644,"objectType":"plant"},"62":{"slots":[{"endTime":1750720514139,"species":"Pumpkin","mutations":[],"startTime":1750718414132,"targetScale":1.000003572388582}],"species":"Pumpkin","maturedAt":1750718414132,"plantedAt":1750718414132,"objectType":"plant"},"63":{"slots":[{"endTime":1750200603072,"species":"Watermelon","mutations":[],"startTime":1750199883072,"targetScale":1.000000013689786}],"species":"Watermelon","maturedAt":1750199883072,"plantedAt":1750199883072,"objectType":"plant"},"64":{"slots":[{"endTime":1750729354421,"species":"Pumpkin","mutations":[],"startTime":1750724632834,"targetScale":2.248375010105065}],"species":"Pumpkin","maturedAt":1750724632834,"plantedAt":1750724632834,"objectType":"plant"},"65":{"slots":[{"endTime":1750726732470,"species":"Pumpkin","mutations":[],"startTime":1750724632260,"targetScale":1.000100423737453}],"species":"Pumpkin","maturedAt":1750724632260,"plantedAt":1750724632260,"objectType":"plant"},"66":{"slots":[{"endTime":1750201880635,"species":"Watermelon","mutations":[],"startTime":1750199884446,"targetScale":2.77248562640325}],"species":"Watermelon","maturedAt":1750199884446,"plantedAt":1750199884446,"objectType":"plant"},"67":{"slots":[{"endTime":1750720515792,"species":"Pumpkin","mutations":[],"startTime":1750718415792,"targetScale":1.00000010693776}],"species":"Pumpkin","maturedAt":1750718415792,"plantedAt":1750718415792,"objectType":"plant"},"69":{"slots":[{"endTime":1750205112740,"species":"OrangeTulip","mutations":[],"startTime":1750205106740,"targetScale":1.000000638283998}],"species":"OrangeTulip","maturedAt":1750205106740,"plantedAt":1750205106740,"objectType":"plant"},"70":{"slots":[{"endTime":1750718841184,"species":"Strawberry","mutations":[],"startTime":1750718824279,"targetScale":1.690501731867307},{"endTime":1750718823938,"species":"Strawberry","mutations":[],"startTime":1750718813938,"targetScale":1.000009070575368},{"endTime":1750718825563,"species":"Strawberry","mutations":[],"startTime":1750718808750,"targetScale":1.681362733137171},{"endTime":1750718838651,"species":"Strawberry","mutations":[],"startTime":1750718819114,"targetScale":1.953734559827433},{"endTime":1750718844927,"species":"Strawberry","mutations":[],"startTime":1750718829473,"targetScale":1.545429716464906}],"species":"Strawberry","maturedAt":1750106619848,"plantedAt":1750106549848,"objectType":"plant"},"71":{"slots":[{"endTime":1750721355080,"species":"Blueberry","mutations":[],"startTime":1750721332249,"targetScale":1.037807164079031},{"endTime":1750721388058,"species":"Blueberry","mutations":[],"startTime":1750721365772,"targetScale":1.013014553656986},{"endTime":1750721365440,"species":"Blueberry","mutations":[],"startTime":1750721343440,"targetScale":1.000034176057984},{"endTime":1750721343125,"species":"Blueberry","mutations":[],"startTime":1750721321125,"targetScale":1.000031314607393},{"endTime":1750721376650,"species":"Blueberry","mutations":[],"startTime":1750721354650,"targetScale":1.000000009197402}],"species":"Blueberry","maturedAt":1750106752339,"plantedAt":1750106647339,"objectType":"plant"},"72":{"slots":[{"endTime":1750721386389,"species":"Tomato","mutations":[],"startTime":1750721341284,"targetScale":1.127631704506302},{"endTime":1750721372648,"species":"Tomato","mutations":[],"startTime":1750721321172,"targetScale":1.286903406058453}],"species":"Tomato","maturedAt":1750109042607,"plantedAt":1750107942607,"objectType":"plant"},"73":{"slots":[{"endTime":1750721315052,"species":"Corn","mutations":[],"startTime":1750721280336,"targetScale":1.157230845728477}],"species":"Corn","maturedAt":1750136609994,"plantedAt":1750136479994,"objectType":"plant"},"80":{"slots":[{"endTime":1750713124449,"species":"OrangeTulip","mutations":[],"startTime":1750713116776,"targetScale":1.27895909417696}],"species":"OrangeTulip","maturedAt":1750713116776,"plantedAt":1750713116776,"objectType":"plant"},"82":{"slots":[{"endTime":1750481585393,"species":"Watermelon","mutations":[],"startTime":1750480865379,"targetScale":1.000020000612476}],"species":"Watermelon","maturedAt":1750480865379,"plantedAt":1750480865379,"objectType":"plant"},"83":{"slots":[{"endTime":1750726936178,"species":"Pumpkin","mutations":[],"startTime":1750724633931,"targetScale":1.09630843861958}],"species":"Pumpkin","maturedAt":1750724633931,"plantedAt":1750724633931,"objectType":"plant"},"84":{"slots":[{"endTime":1750283083912,"species":"Pumpkin","mutations":[],"startTime":1750278483693,"targetScale":2.190580755947978}],"species":"Pumpkin","maturedAt":1750278483693,"plantedAt":1750278483693,"objectType":"plant"},"85":{"slots":[{"endTime":1750280561755,"species":"Pumpkin","mutations":[],"startTime":1750278446687,"targetScale":1.007175642478803}],"species":"Pumpkin","maturedAt":1750278446687,"plantedAt":1750278446687,"objectType":"plant"},"86":{"slots":[{"endTime":1750726746859,"species":"Pumpkin","mutations":[],"startTime":1750724631295,"targetScale":1.007411684452769}],"species":"Pumpkin","maturedAt":1750724631295,"plantedAt":1750724631295,"objectType":"plant"},"87":{"slots":[{"endTime":1750482928619,"species":"Watermelon","mutations":[],"startTime":1750480876111,"targetScale":2.850705563357291}],"species":"Watermelon","maturedAt":1750480876111,"plantedAt":1750480876111,"objectType":"plant"},"89":{"slots":[{"endTime":1750205113222,"species":"OrangeTulip","mutations":[],"startTime":1750205106063,"targetScale":1.193176350062575}],"species":"OrangeTulip","maturedAt":1750205106063,"plantedAt":1750205106063,"objectType":"plant"},"90":{"slots":[{"endTime":1750718833188,"species":"Strawberry","mutations":[],"startTime":1750718823149,"targetScale":1.003903449212981},{"endTime":1750718822793,"species":"Strawberry","mutations":[],"startTime":1750718812793,"targetScale":1.000006370698858},{"endTime":1750718830351,"species":"Strawberry","mutations":[],"startTime":1750718817966,"targetScale":1.238554589530806},{"endTime":1750718838319,"species":"Strawberry","mutations":[],"startTime":1750718828319,"targetScale":1.00000043947641},{"endTime":1750718820405,"species":"Strawberry","mutations":[],"startTime":1750718807622,"targetScale":1.278307558851576}],"species":"Strawberry","maturedAt":1750106486344,"plantedAt":1750106416344,"objectType":"plant"},"91":{"slots":[{"endTime":1750721388852,"species":"Blueberry","mutations":[],"startTime":1750721366851,"targetScale":1.000064459789795},{"endTime":1750721356365,"species":"Blueberry","mutations":[],"startTime":1750721333378,"targetScale":1.044907010359337},{"endTime":1750721366504,"species":"Blueberry","mutations":[],"startTime":1750721344504,"targetScale":1.000001371463153},{"endTime":1750721344185,"species":"Blueberry","mutations":[],"startTime":1750721322185,"targetScale":1.000001632974196},{"endTime":1750721377686,"species":"Blueberry","mutations":[],"startTime":1750721355686,"targetScale":1.000006299514841}],"species":"Blueberry","maturedAt":1750117149766,"plantedAt":1750117044766,"objectType":"plant"},"92":{"slots":[{"endTime":1750721380167,"species":"Tomato","mutations":[],"startTime":1750721340167,"targetScale":1.000000223874679},{"endTime":1750721360054,"species":"Tomato","mutations":[],"startTime":1750721320052,"targetScale":1.000068001524952}],"species":"Tomato","maturedAt":1750109153735,"plantedAt":1750108053735,"objectType":"plant"},"93":{"slots":[{"endTime":1750721315451,"species":"Corn","mutations":[],"startTime":1750721285451,"targetScale":1.000000124035788}],"species":"Corn","maturedAt":1750136612314,"plantedAt":1750136482314,"objectType":"plant"},"100":{"slots":[{"endTime":1750205101338,"species":"OrangeTulip","mutations":[],"startTime":1750205093271,"targetScale":1.344514404342037}],"species":"OrangeTulip","maturedAt":1750205093271,"plantedAt":1750205093271,"objectType":"plant"},"102":{"slots":[{"endTime":1750481581518,"species":"Watermelon","mutations":[],"startTime":1750480861049,"targetScale":1.00065275936618}],"species":"Watermelon","maturedAt":1750480861049,"plantedAt":1750480861049,"objectType":"plant"},"103":{"slots":[{"endTime":1750713384273,"species":"Pumpkin","mutations":[],"startTime":1750711284273,"targetScale":1.00000040916589}],"species":"Pumpkin","maturedAt":1750711284273,"plantedAt":1750711284273,"objectType":"plant"},"104":{"slots":[{"endTime":1750205498009,"species":"Pumpkin","mutations":[],"startTime":1750203397935,"targetScale":1.000035430230811}],"species":"Pumpkin","maturedAt":1750203397935,"plantedAt":1750203397935,"objectType":"plant"},"105":{"slots":[{"endTime":1750280582832,"species":"Pumpkin","mutations":[],"startTime":1750278482832,"targetScale":1.000000233866297}],"species":"Pumpkin","maturedAt":1750278482832,"plantedAt":1750278482832,"objectType":"plant"},"106":{"slots":[{"endTime":1750713385349,"species":"Pumpkin","mutations":[],"startTime":1750711285348,"targetScale":1.000000846925353}],"species":"Pumpkin","maturedAt":1750711285348,"plantedAt":1750711285348,"objectType":"plant"},"107":{"slots":[{"endTime":1750481597276,"species":"Watermelon","mutations":[],"startTime":1750480877276,"targetScale":1.000000115956511}],"species":"Watermelon","maturedAt":1750480877276,"plantedAt":1750480877276,"objectType":"plant"},"109":{"slots":[{"endTime":1750205111274,"species":"OrangeTulip","mutations":[],"startTime":1750205105274,"targetScale":1.000000451848443}],"species":"OrangeTulip","maturedAt":1750205105274,"plantedAt":1750205105274,"objectType":"plant"},"110":{"slots":[{"endTime":1750718832368,"species":"Strawberry","mutations":[],"startTime":1750718816622,"targetScale":1.574644685891636},{"endTime":1750718816280,"species":"Strawberry","mutations":[],"startTime":1750718806280,"targetScale":1.00000091367926},{"endTime":1750718836965,"species":"Strawberry","mutations":[],"startTime":1750718826954,"targetScale":1.001167508620762},{"endTime":1750718839636,"species":"Strawberry","mutations":[],"startTime":1750718821806,"targetScale":1.783076823750297},{"endTime":1750718821450,"species":"Strawberry","mutations":[],"startTime":1750718811450,"targetScale":1.000000021228501}],"species":"Strawberry","maturedAt":1750106445388,"plantedAt":1750106375388,"objectType":"plant"},"111":{"slots":[{"endTime":1750721345003,"species":"Blueberry","mutations":[],"startTime":1750721323003,"targetScale":1.000013543948514},{"endTime":1750721378590,"species":"Blueberry","mutations":[],"startTime":1750721356550,"targetScale":1.001834140988198},{"endTime":1750721358919,"species":"Blueberry","mutations":[],"startTime":1750721334225,"targetScale":1.122476665868222},{"endTime":1750721367414,"species":"Blueberry","mutations":[],"startTime":1750721345414,"targetScale":1.000000297319736},{"endTime":1750721389816,"species":"Blueberry","mutations":[],"startTime":1750721367811,"targetScale":1.000235304289542}],"species":"Blueberry","maturedAt":1750117855242,"plantedAt":1750117750242,"objectType":"plant"},"112":{"slots":[{"endTime":1750721358938,"species":"Tomato","mutations":[],"startTime":1750721318938,"targetScale":1.000008985973022},{"endTime":1750721379095,"species":"Tomato","mutations":[],"startTime":1750721339095,"targetScale":1.000000450966795}],"species":"Tomato","maturedAt":1750109479809,"plantedAt":1750108379809,"objectType":"plant"},"113":{"slots":[{"endTime":1750721316271,"species":"Corn","mutations":[],"startTime":1750721286271,"targetScale":1.000022749880931}],"species":"Corn","maturedAt":1750278567098,"plantedAt":1750278437098,"objectType":"plant"},"120":{"slots":[{"endTime":1750205098620,"species":"OrangeTulip","mutations":[],"startTime":1750205092601,"targetScale":1.003311377856626}],"species":"OrangeTulip","maturedAt":1750205092601,"plantedAt":1750205092601,"objectType":"plant"},"122":{"slots":[{"endTime":1750720515690,"species":"Pumpkin","mutations":[],"startTime":1750718412985,"targetScale":1.001288559163846}],"species":"Pumpkin","maturedAt":1750718412985,"plantedAt":1750718412985,"objectType":"plant"},"123":{"slots":[{"endTime":1750200613615,"species":"Watermelon","mutations":[],"startTime":1750199881463,"targetScale":1.016878924524324}],"species":"Watermelon","maturedAt":1750199881463,"plantedAt":1750199881463,"objectType":"plant"},"124":{"slots":[{"endTime":1750713134803,"species":"OrangeTulip","mutations":[],"startTime":1750713128803,"targetScale":1.000001348063201}],"species":"OrangeTulip","maturedAt":1750713128803,"plantedAt":1750713128803,"objectType":"plant"},"125":{"slots":[{"endTime":1750713135277,"species":"OrangeTulip","mutations":[],"startTime":1750713129277,"targetScale":1.000000023093217}],"species":"OrangeTulip","maturedAt":1750713129277,"plantedAt":1750713129277,"objectType":"plant"},"126":{"slots":[{"endTime":1750200605968,"species":"Watermelon","mutations":[],"startTime":1750199885967,"targetScale":1.000002169570589}],"species":"Watermelon","maturedAt":1750199885967,"plantedAt":1750199885967,"objectType":"plant"},"127":{"slots":[{"endTime":1750721928503,"species":"Pumpkin","mutations":[],"startTime":1750718411511,"targetScale":1.67475835157613}],"species":"Pumpkin","maturedAt":1750718411511,"plantedAt":1750718411511,"objectType":"plant"},"129":{"slots":[{"endTime":1750205110606,"species":"OrangeTulip","mutations":[],"startTime":1750205104533,"targetScale":1.012222703039161}],"species":"OrangeTulip","maturedAt":1750205104533,"plantedAt":1750205104533,"objectType":"plant"},"130":{"slots":[{"endTime":1750718823083,"species":"Strawberry","mutations":[],"startTime":1750718813082,"targetScale":1.000158398772425},{"endTime":1750718807519,"species":"Strawberry","mutations":[],"startTime":1750718797519,"targetScale":1.000000040521403},{"endTime":1750718812711,"species":"Strawberry","mutations":[],"startTime":1750718802710,"targetScale":1.000130993922364},{"endTime":1750718819169,"species":"Strawberry","mutations":[],"startTime":1750718807919,"targetScale":1.125079777809529},{"endTime":1750718802306,"species":"Strawberry","mutations":[],"startTime":1750718792306,"targetScale":1.00000000089111}],"species":"Strawberry","maturedAt":1750117113252,"plantedAt":1750117043252,"objectType":"plant"},"131":{"slots":[{"endTime":1750721358638,"species":"Blueberry","mutations":[],"startTime":1750721335158,"targetScale":1.067281763860592},{"endTime":1750721382965,"species":"Blueberry","mutations":[],"startTime":1750721357505,"targetScale":1.157289258351716},{"endTime":1750721346008,"species":"Blueberry","mutations":[],"startTime":1750721323999,"targetScale":1.000432983639082},{"endTime":1750721368329,"species":"Blueberry","mutations":[],"startTime":1750721346327,"targetScale":1.000093108694847},{"endTime":1750721393638,"species":"Blueberry","mutations":[],"startTime":1750721368687,"targetScale":1.134153074168211}],"species":"Blueberry","maturedAt":1750117855938,"plantedAt":1750117750938,"objectType":"plant"},"132":{"slots":[{"endTime":1750721397111,"species":"Tomato","mutations":[],"startTime":1750721317627,"targetScale":1.987117501703668},{"endTime":1750721378172,"species":"Tomato","mutations":[],"startTime":1750721337802,"targetScale":1.00926511106378}],"species":"Tomato","maturedAt":1750109480657,"plantedAt":1750108380657,"objectType":"plant"},"133":{"slots":[{"endTime":1750721317435,"species":"Corn","mutations":[],"startTime":1750721287435,"targetScale":1.000000060918706}],"species":"Corn","maturedAt":1750278567706,"plantedAt":1750278437706,"objectType":"plant"},"140":{"slots":[{"endTime":1750205097931,"species":"OrangeTulip","mutations":[],"startTime":1750205091931,"targetScale":1.000000404220976}],"species":"OrangeTulip","maturedAt":1750205091931,"plantedAt":1750205091931,"objectType":"plant"},"142":{"slots":[{"endTime":1750771779817,"species":"Coconut","mutations":[],"startTime":1750768047783,"targetScale":1.036676190217652},{"endTime":1750775831687,"species":"Coconut","mutations":[],"startTime":1750771647783,"targetScale":1.16219566492109},{"endTime":1750778905370,"species":"Coconut","mutations":[],"startTime":1750775247783,"targetScale":1.015996546706677},{"endTime":1750782451806,"species":"Coconut","mutations":[],"startTime":1750778847783,"targetScale":1.001117564061836},{"endTime":1750786121912,"species":"Coconut","mutations":[],"startTime":1750782447783,"targetScale":1.020591586282348},{"endTime":1750789647783,"species":"Coconut","mutations":[],"startTime":1750786047783,"targetScale":1.000000025890586},{"endTime":1750793300370,"species":"Coconut","mutations":[],"startTime":1750789647783,"targetScale":1.014607623390468}],"species":"Coconut","maturedAt":1750764447783,"plantedAt":1750721247783,"objectType":"plant"},"143":{"slots":[{"endTime":1750713165732,"species":"OrangeTulip","mutations":[],"startTime":1750713159732,"targetScale":1.000004974645249}],"species":"OrangeTulip","maturedAt":1750713159732,"plantedAt":1750713159732,"objectType":"plant"},"144":{"slots":[{"endTime":1750760498960,"species":"Coconut","mutations":[],"startTime":1750756867859,"targetScale":1.008639440698534},{"endTime":1750764067859,"species":"Coconut","mutations":[],"startTime":1750760467859,"targetScale":1.000000162011744},{"endTime":1750767667859,"species":"Coconut","mutations":[],"startTime":1750764067859,"targetScale":1.00000004324114},{"endTime":1750771267887,"species":"Coconut","mutations":[],"startTime":1750767667859,"targetScale":1.000007930290671},{"endTime":1750777537496,"species":"Coconut","mutations":[],"startTime":1750771267859,"targetScale":1.741565988138794},{"endTime":1750778467859,"species":"Coconut","mutations":[],"startTime":1750774867859,"targetScale":1.000000117936207},{"endTime":1750788561065,"species":"Coconut","mutations":[],"startTime":1750778467859,"targetScale":2.803668591428381}],"species":"Coconut","maturedAt":1750753267859,"plantedAt":1750710067859,"objectType":"plant"},"145":{"slots":[{"endTime":1750761145084,"species":"Coconut","mutations":[],"startTime":1750756868498,"targetScale":1.187940809148732},{"endTime":1750764097666,"species":"Coconut","mutations":[],"startTime":1750760468498,"targetScale":1.008102372094468},{"endTime":1750767668499,"species":"Coconut","mutations":[],"startTime":1750764068498,"targetScale":1.000000291650913},{"endTime":1750771268823,"species":"Coconut","mutations":[],"startTime":1750767668498,"targetScale":1.000090292518519},{"endTime":1750774898045,"species":"Coconut","mutations":[],"startTime":1750771268498,"targetScale":1.00820755599133},{"endTime":1750778468563,"species":"Coconut","mutations":[],"startTime":1750774868498,"targetScale":1.000018216051609},{"endTime":1750782068498,"species":"Coconut","mutations":[],"startTime":1750778468498,"targetScale":1.000000183510188}],"species":"Coconut","maturedAt":1750753268498,"plantedAt":1750710068498,"objectType":"plant"},"146":{"slots":[{"endTime":1750713166446,"species":"OrangeTulip","mutations":[],"startTime":1750713158599,"targetScale":1.307885176253043}],"species":"OrangeTulip","maturedAt":1750713158599,"plantedAt":1750713158599,"objectType":"plant"},"149":{"slots":[{"endTime":1750205109815,"species":"OrangeTulip","mutations":[],"startTime":1750205103815,"targetScale":1.000000669899459}],"species":"OrangeTulip","maturedAt":1750205103815,"plantedAt":1750205103815,"objectType":"plant"},"150":{"slots":[{"endTime":1750718820115,"species":"Strawberry","mutations":[],"startTime":1750718806475,"targetScale":1.364022299671396},{"endTime":1750718800675,"species":"Strawberry","mutations":[],"startTime":1750718790675,"targetScale":1.000000162657122},{"endTime":1750718811382,"species":"Strawberry","mutations":[],"startTime":1750718801289,"targetScale":1.009376848501645},{"endTime":1750718806118,"species":"Strawberry","mutations":[],"startTime":1750718796118,"targetScale":1.000000199083271},{"endTime":1750718829099,"species":"Strawberry","mutations":[],"startTime":1750718811681,"targetScale":1.741874543616881}],"species":"Strawberry","maturedAt":1750117112324,"plantedAt":1750117042324,"objectType":"plant"},"151":{"slots":[{"endTime":1750721360744,"species":"Blueberry","mutations":[],"startTime":1750721336503,"targetScale":1.101892213089382},{"endTime":1750721374519,"species":"Blueberry","mutations":[],"startTime":1750721347707,"targetScale":1.218768806074353},{"endTime":1750721381009,"species":"Blueberry","mutations":[],"startTime":1750721359008,"targetScale":1.000045895011474},{"endTime":1750721347370,"species":"Blueberry","mutations":[],"startTime":1750721325370,"targetScale":1.000000055611454},{"endTime":1750721402338,"species":"Blueberry","mutations":[],"startTime":1750721374683,"targetScale":1.257079858190519}],"species":"Blueberry","maturedAt":1750117856892,"plantedAt":1750117751892,"objectType":"plant"},"152":{"slots":[{"endTime":1750721339539,"species":"Tomato","mutations":[],"startTime":1750721299519,"targetScale":1.000504405871944},{"endTime":1750721359746,"species":"Tomato","mutations":[],"startTime":1750721319733,"targetScale":1.000344623553369}],"species":"Tomato","maturedAt":1750116462058,"plantedAt":1750115362058,"objectType":"plant"},"153":{"slots":[{"endTime":1750721318719,"species":"Corn","mutations":[],"startTime":1750721288643,"targetScale":1.002554586427009}],"species":"Corn","maturedAt":1750278568387,"plantedAt":1750278438387,"objectType":"plant"},"160":{"slots":[{"endTime":1750205097300,"species":"OrangeTulip","mutations":[],"startTime":1750205091300,"targetScale":1.000000299223218}],"species":"OrangeTulip","maturedAt":1750205091300,"plantedAt":1750205091300,"objectType":"plant"},"161":{"slots":[{"endTime":1750713140171,"species":"OrangeTulip","mutations":[],"startTime":1750713133270,"targetScale":1.150210639856421}],"species":"OrangeTulip","maturedAt":1750713133270,"plantedAt":1750713133270,"objectType":"plant"},"163":{"slots":[{"endTime":1750764875900,"species":"Coconut","mutations":[],"startTime":1750761275841,"targetScale":1.000016660017795},{"endTime":1750768475903,"species":"Coconut","mutations":[],"startTime":1750764875841,"targetScale":1.000017351103624},{"endTime":1750772265389,"species":"Coconut","mutations":[],"startTime":1750768475841,"targetScale":1.052652366067609},{"endTime":1750775675841,"species":"Coconut","mutations":[],"startTime":1750772075841,"targetScale":1.000000213567465},{"endTime":1750784899104,"species":"Coconut","mutations":[],"startTime":1750775675841,"targetScale":2.562017532074084},{"endTime":1750782875843,"species":"Coconut","mutations":[],"startTime":1750779275841,"targetScale":1.000000569724476},{"endTime":1750786497072,"species":"Coconut","mutations":[],"startTime":1750782875841,"targetScale":1.005897705837884}],"species":"Coconut","maturedAt":1750757675841,"plantedAt":1750714475841,"objectType":"plant"},"166":{"slots":[{"endTime":1750764889993,"species":"Coconut","mutations":[],"startTime":1750761276915,"targetScale":1.003633033859122},{"endTime":1750768476925,"species":"Coconut","mutations":[],"startTime":1750764876915,"targetScale":1.000002894683262},{"endTime":1750772077185,"species":"Coconut","mutations":[],"startTime":1750768476915,"targetScale":1.000075142656967},{"endTime":1750775840799,"species":"Coconut","mutations":[],"startTime":1750772076915,"targetScale":1.045523486855323},{"endTime":1750781479314,"species":"Coconut","mutations":[],"startTime":1750775676915,"targetScale":1.61177777161604},{"endTime":1750789674277,"species":"Coconut","mutations":[],"startTime":1750779276915,"targetScale":2.888156249612611},{"endTime":1750786477342,"species":"Coconut","mutations":[],"startTime":1750782876915,"targetScale":1.000118819974409}],"species":"Coconut","maturedAt":1750757676915,"plantedAt":1750714476915,"objectType":"plant"},"168":{"slots":[{"endTime":1750713137485,"species":"OrangeTulip","mutations":[],"startTime":1750713131450,"targetScale":1.005976717326284}],"species":"OrangeTulip","maturedAt":1750713131450,"plantedAt":1750713131450,"objectType":"plant"},"169":{"slots":[{"endTime":1750205109852,"species":"OrangeTulip","mutations":[],"startTime":1750205103189,"targetScale":1.11061405724806}],"species":"OrangeTulip","maturedAt":1750205103189,"plantedAt":1750205103189,"objectType":"plant"},"170":{"slots":[{"endTime":1750718799022,"species":"Strawberry","mutations":[],"startTime":1750718789015,"targetScale":1.0007564219954},{"endTime":1750718809436,"species":"Strawberry","mutations":[],"startTime":1750718799422,"targetScale":1.00146873221681},{"endTime":1750718814633,"species":"Strawberry","mutations":[],"startTime":1750718804633,"targetScale":1.000000095212693},{"endTime":1750718804185,"species":"Strawberry","mutations":[],"startTime":1750718794185,"targetScale":1.000001042088172},{"endTime":1750718819871,"species":"Strawberry","mutations":[],"startTime":1750718809871,"targetScale":1.000000473618076}],"species":"Strawberry","maturedAt":1750117111405,"plantedAt":1750117041405,"objectType":"plant"},"171":{"slots":[{"endTime":1750721393210,"species":"Blueberry","mutations":[],"startTime":1750721371137,"targetScale":1.003326170627482},{"endTime":1750721382137,"species":"Blueberry","mutations":[],"startTime":1750721360137,"targetScale":1.000000605424762},{"endTime":1750721360137,"species":"Blueberry","mutations":[],"startTime":1750721338137,"targetScale":1.000000025940432},{"endTime":1750721388363,"species":"Blueberry","mutations":[],"startTime":1750721349137,"targetScale":1.783035346694734},{"endTime":1750721369421,"species":"Blueberry","mutations":[],"startTime":1750721326116,"targetScale":1.968432662399805}],"species":"Blueberry","maturedAt":1750117857735,"plantedAt":1750117752735,"objectType":"plant"},"172":{"slots":[{"endTime":1750721356673,"species":"Tomato","mutations":[],"startTime":1750721316649,"targetScale":1.00062077592329},{"endTime":1750721376800,"species":"Tomato","mutations":[],"startTime":1750721336800,"targetScale":1.000000014904609}],"species":"Tomato","maturedAt":1750116462666,"plantedAt":1750115362666,"objectType":"plant"},"173":{"slots":[{"endTime":1750721319888,"species":"Corn","mutations":[],"startTime":1750721289888,"targetScale":1.000002307976602}],"species":"Corn","maturedAt":1750278569010,"plantedAt":1750278439010,"objectType":"plant"},"180":{"slots":[{"endTime":1750397094019,"species":"Watermelon","mutations":[],"startTime":1750396374016,"targetScale":1.000004442533869}],"species":"Watermelon","maturedAt":1750396374016,"plantedAt":1750396374016,"objectType":"plant"},"181":{"slots":[{"endTime":1750202823017,"species":"OrangeTulip","mutations":[],"startTime":1750202817017,"targetScale":1.000001278812334}],"species":"OrangeTulip","maturedAt":1750202817017,"plantedAt":1750202817017,"objectType":"plant"},"182":{"slots":[{"endTime":1750202822240,"species":"OrangeTulip","mutations":[],"startTime":1750202816229,"targetScale":1.001905686259532}],"species":"OrangeTulip","maturedAt":1750202816229,"plantedAt":1750202816229,"objectType":"plant"},"183":{"slots":[{"endTime":1750202821283,"species":"OrangeTulip","mutations":[],"startTime":1750202815283,"targetScale":1.000006139695014}],"species":"OrangeTulip","maturedAt":1750202815283,"plantedAt":1750202815283,"objectType":"plant"},"184":{"slots":[{"endTime":1750202820482,"species":"OrangeTulip","mutations":[],"startTime":1750202814457,"targetScale":1.004183614671423}],"species":"OrangeTulip","maturedAt":1750202814457,"plantedAt":1750202814457,"objectType":"plant"},"185":{"slots":[{"endTime":1750202819973,"species":"OrangeTulip","mutations":[],"startTime":1750202813529,"targetScale":1.074039159150667}],"species":"OrangeTulip","maturedAt":1750202813529,"plantedAt":1750202813529,"objectType":"plant"},"186":{"slots":[{"endTime":1750202818706,"species":"OrangeTulip","mutations":[],"startTime":1750202812661,"targetScale":1.007550014849822}],"species":"OrangeTulip","maturedAt":1750202812661,"plantedAt":1750202812661,"objectType":"plant"},"187":{"slots":[{"endTime":1750202817810,"species":"OrangeTulip","mutations":[],"startTime":1750202811810,"targetScale":1.000000153216444}],"species":"OrangeTulip","maturedAt":1750202811810,"plantedAt":1750202811810,"objectType":"plant"},"188":{"slots":[{"endTime":1750202819421,"species":"OrangeTulip","mutations":[],"startTime":1750202810931,"targetScale":1.415068965848245}],"species":"OrangeTulip","maturedAt":1750202810931,"plantedAt":1750202810931,"objectType":"plant"},"189":{"slots":[{"endTime":1750200725992,"species":"Watermelon","mutations":[],"startTime":1750199918602,"targetScale":1.121375779509039}],"species":"Watermelon","maturedAt":1750199918602,"plantedAt":1750199918602,"objectType":"plant"},"190":{"slots":[{"endTime":1750718817174,"species":"Strawberry","mutations":[],"startTime":1750718807174,"targetScale":1.000021481119945},{"endTime":1750718806777,"species":"Strawberry","mutations":[],"startTime":1750718796777,"targetScale":1.000000119363524},{"endTime":1750718801576,"species":"Strawberry","mutations":[],"startTime":1750718791561,"targetScale":1.001592051421021},{"endTime":1750718796375,"species":"Strawberry","mutations":[],"startTime":1750718786375,"targetScale":1.000000009748778},{"endTime":1750718811953,"species":"Strawberry","mutations":[],"startTime":1750718801953,"targetScale":1.000042315873445}],"species":"Strawberry","maturedAt":1750117110456,"plantedAt":1750117040456,"objectType":"plant"},"191":{"slots":[{"endTime":1750721397122,"species":"Blueberry","mutations":[],"startTime":1750721372664,"targetScale":1.111764092360657},{"endTime":1750721383549,"species":"Blueberry","mutations":[],"startTime":1750721361528,"targetScale":1.000969884579036},{"endTime":1750721361120,"species":"Blueberry","mutations":[],"startTime":1750721339120,"targetScale":1.000006010555558},{"endTime":1750721350025,"species":"Blueberry","mutations":[],"startTime":1750721327982,"targetScale":1.001963426243388},{"endTime":1750721373224,"species":"Blueberry","mutations":[],"startTime":1750721350329,"targetScale":1.040692796787556}],"species":"Blueberry","maturedAt":1750117858882,"plantedAt":1750117753882,"objectType":"plant"},"192":{"slots":[{"endTime":1750721357310,"species":"Tomato","mutations":[],"startTime":1750721317310,"targetScale":1.000008412918561},{"endTime":1750721337169,"species":"Tomato","mutations":[],"startTime":1750721297167,"targetScale":1.000055889853111}],"species":"Tomato","maturedAt":1750116463153,"plantedAt":1750115363153,"objectType":"plant"},"193":{"slots":[{"endTime":1750721321050,"species":"Corn","mutations":[],"startTime":1750721291050,"targetScale":1.000002109632608}],"species":"Corn","maturedAt":1750278569685,"plantedAt":1750278439685,"objectType":"plant"}}}'),Qgt={items:[],favoritedItemIds:[]},Jgt=4384,Zgt={seed:null,egg:null,tool:null},e1t=3,t1t={seed:null,egg:null,tool:null},r1t=[],n1t={produceJournal:{},petJournal:{}},i1t={garden:Xgt,inventory:Qgt,coinsCount:Jgt,customRestocks:Zgt,schemaVersion:e1t,shopPurchases:t1t,petSlots:r1t,journal:n1t},a1t=JSON.parse('{"boardwalkTileObjects":{},"tileObjects":{"0":{"slots":[{"endTime":1753478060063,"species":"Mushroom","mutations":["Frozen"],"startTime":1753391242110,"targetScale":1.432296895318163}],"species":"Mushroom","maturedAt":1753391242110,"plantedAt":1753391242110,"objectType":"plant"},"1":{"slots":[{"endTime":1753477642801,"species":"Mushroom","mutations":["Frozen"],"startTime":1753391242750,"targetScale":1.42540247383334}],"species":"Mushroom","maturedAt":1753391242750,"plantedAt":1753391242750,"objectType":"plant"},"2":{"slots":[{"endTime":1753781640067,"species":"Bamboo","mutations":[],"startTime":1753738434696,"targetScale":1.00012434850759}],"species":"Bamboo","maturedAt":1753738434696,"plantedAt":1753738434696,"objectType":"plant"},"3":{"slots":[{"endTime":1753817878081,"species":"Bamboo","mutations":[],"startTime":1753738430713,"targetScale":1.839059445559957}],"species":"Bamboo","maturedAt":1753738430713,"plantedAt":1753738430713,"objectType":"plant"},"4":{"slots":[{"endTime":1753799864763,"species":"Bamboo","mutations":[],"startTime":1753750838323,"targetScale":1.134871310672136}],"species":"Bamboo","maturedAt":1753750838323,"plantedAt":1753750838323,"objectType":"plant"},"5":{"slots":[{"endTime":1753798454844,"species":"Bamboo","mutations":[],"startTime":1753738428483,"targetScale":1.389499119485777}],"species":"Bamboo","maturedAt":1753738428483,"plantedAt":1753738428483,"objectType":"plant"},"6":{"slots":[{"endTime":1753728776241,"species":"Bamboo","mutations":["Wet"],"startTime":1753643261766,"targetScale":1.979501744727485}],"species":"Bamboo","maturedAt":1753643261766,"plantedAt":1753643261766,"objectType":"plant"},"7":{"slots":[{"endTime":1753781625944,"species":"Bamboo","mutations":[],"startTime":1753738425942,"targetScale":1.000000064988967}],"species":"Bamboo","maturedAt":1753738425942,"plantedAt":1753738425942,"objectType":"plant"},"8":{"slots":[{"endTime":1753781624169,"species":"Bamboo","mutations":[],"startTime":1753738423942,"targetScale":1.000005273956056}],"species":"Bamboo","maturedAt":1753738423942,"plantedAt":1753738423942,"objectType":"plant"},"9":{"slots":[{"endTime":1753781625697,"species":"Bamboo","mutations":[],"startTime":1753738423708,"targetScale":1.000046045724198}],"species":"Bamboo","maturedAt":1753738423708,"plantedAt":1753738423708,"objectType":"plant"},"10":{"slots":[{"endTime":1753769670894,"species":"Grape","mutations":[],"startTime":1753768770894,"targetScale":1.000000643475762}],"species":"Grape","maturedAt":1752188125204,"plantedAt":1752188125204,"objectType":"plant"},"11":{"slots":[{"endTime":1753769221387,"species":"Pepper","mutations":[],"startTime":1753768621386,"targetScale":1.000001775148725},{"endTime":1753769984004,"species":"Pepper","mutations":[],"startTime":1753768921732,"targetScale":1.770453484892527},{"endTime":1753769822221,"species":"Pepper","mutations":[],"startTime":1753769222219,"targetScale":1.000004421360686},{"endTime":1753770122685,"species":"Pepper","mutations":[],"startTime":1753769522679,"targetScale":1.000010439374431},{"endTime":1753770976804,"species":"Pepper","mutations":[],"startTime":1753769823133,"targetScale":1.92278542596379},{"endTime":1753770889569,"species":"Pepper","mutations":[],"startTime":1753770123609,"targetScale":1.276600931570106},{"endTime":1753771024080,"species":"Pepper","mutations":[],"startTime":1753770424080,"targetScale":1.000000172429568},{"endTime":1753771324412,"species":"Pepper","mutations":[],"startTime":1753770724411,"targetScale":1.000002671335615},{"endTime":1753771625441,"species":"Pepper","mutations":[],"startTime":1753771024911,"targetScale":1.00088343286528}],"species":"Pepper","maturedAt":1753490287099,"plantedAt":1753490287099,"objectType":"plant"},"12":{"slots":[{"endTime":1753773864699,"species":"Lemon","mutations":[],"startTime":1753770264699,"targetScale":1.000000264057699},{"endTime":1753775665121,"species":"Lemon","mutations":[],"startTime":1753772065121,"targetScale":1.00000000707243},{"endTime":1753777465538,"species":"Lemon","mutations":[],"startTime":1753773865489,"targetScale":1.000013802762431},{"endTime":1753779265930,"species":"Lemon","mutations":[],"startTime":1753775665918,"targetScale":1.000003517639702},{"endTime":1753781068069,"species":"Lemon","mutations":[],"startTime":1753777466697,"targetScale":1.000381154873064},{"endTime":1753782909924,"species":"Lemon","mutations":[],"startTime":1753779267096,"targetScale":1.011896942724141}],"species":"Lemon","maturedAt":1753489463363,"plantedAt":1753489463363,"objectType":"plant"},"13":{"slots":[{"endTime":1753773907768,"species":"Lemon","mutations":[],"startTime":1753770267892,"targetScale":1.01107693617638},{"endTime":1753775668691,"species":"Lemon","mutations":[],"startTime":1753772068282,"targetScale":1.000113678088439},{"endTime":1753777468708,"species":"Lemon","mutations":[],"startTime":1753773868645,"targetScale":1.00001773204624},{"endTime":1753779269637,"species":"Lemon","mutations":[],"startTime":1753775669381,"targetScale":1.000071335156535},{"endTime":1753783922153,"species":"Lemon","mutations":[],"startTime":1753777469776,"targetScale":1.792327137516431},{"endTime":1753784026716,"species":"Lemon","mutations":[],"startTime":1753779285420,"targetScale":1.317026807563912}],"species":"Lemon","maturedAt":1753489455563,"plantedAt":1753489455563,"objectType":"plant"},"14":{"slots":[{"endTime":1753769378444,"species":"Pepper","mutations":["Gold"],"startTime":1753768775893,"targetScale":1.004252339622805},{"endTime":1753769676428,"species":"Pepper","mutations":[],"startTime":1753769076428,"targetScale":1.000001563546929},{"endTime":1753770026957,"species":"Pepper","mutations":[],"startTime":1753769376774,"targetScale":1.083639148221455},{"endTime":1753770277123,"species":"Pepper","mutations":[],"startTime":1753769677123,"targetScale":1.000000010309323},{"endTime":1753770577647,"species":"Pepper","mutations":[],"startTime":1753769977647,"targetScale":1.000000246900476},{"endTime":1753770878054,"species":"Pepper","mutations":[],"startTime":1753770278042,"targetScale":1.000020034588995},{"endTime":1753771182875,"species":"Pepper","mutations":[],"startTime":1753770578395,"targetScale":1.007468003572722},{"endTime":1753771740115,"species":"Pepper","mutations":[],"startTime":1753770878782,"targetScale":1.435556018287696},{"endTime":1753771779429,"species":"Pepper","mutations":[],"startTime":1753771179429,"targetScale":1.000001624089585}],"species":"Pepper","maturedAt":1753637544767,"plantedAt":1753637544767,"objectType":"plant"},"15":{"slots":[{"endTime":1753769380861,"species":"Pepper","mutations":[],"startTime":1753768780853,"targetScale":1.000014644175234},{"endTime":1753769990552,"species":"Pepper","mutations":[],"startTime":1753769081252,"targetScale":1.515500218320808},{"endTime":1753769982087,"species":"Pepper","mutations":[],"startTime":1753769381641,"targetScale":1.000744524287182},{"endTime":1753770337677,"species":"Pepper","mutations":[],"startTime":1753769682080,"targetScale":1.092661754851803},{"endTime":1753770582681,"species":"Pepper","mutations":[],"startTime":1753769982517,"targetScale":1.000273695870508},{"endTime":1753770882969,"species":"Pepper","mutations":[],"startTime":1753770282957,"targetScale":1.000020348791677},{"endTime":1753771186007,"species":"Pepper","mutations":[],"startTime":1753770583390,"targetScale":1.00436189632335},{"endTime":1753771493304,"species":"Pepper","mutations":[],"startTime":1753770883811,"targetScale":1.015823002350605},{"endTime":1753771941233,"species":"Pepper","mutations":[],"startTime":1753771184268,"targetScale":1.261608459185278}],"species":"Pepper","maturedAt":1753637546600,"plantedAt":1753637546600,"objectType":"plant"},"16":{"slots":[{"endTime":1753773886673,"species":"Lemon","mutations":[],"startTime":1753770286673,"targetScale":1.000000036034385},{"endTime":1753775687015,"species":"Lemon","mutations":[],"startTime":1753772087008,"targetScale":1.000002161649875},{"endTime":1753777487494,"species":"Lemon","mutations":[],"startTime":1753773887494,"targetScale":1.000000214021069},{"endTime":1753785258838,"species":"Lemon","mutations":[],"startTime":1753775688042,"targetScale":2.658554527291912},{"endTime":1753781088375,"species":"Lemon","mutations":[],"startTime":1753777488375,"targetScale":1.000000095314902},{"endTime":1753782900262,"species":"Lemon","mutations":[],"startTime":1753779298498,"targetScale":1.000490185022176}],"species":"Lemon","maturedAt":1753489431113,"plantedAt":1753489431113,"objectType":"plant"},"17":{"slots":[{"endTime":1753773944713,"species":"Lemon","mutations":[],"startTime":1753770299699,"targetScale":1.012504143763811},{"endTime":1753781735341,"species":"Lemon","mutations":[],"startTime":1753772100085,"targetScale":2.676460245728834},{"endTime":1753777500449,"species":"Lemon","mutations":[],"startTime":1753773900426,"targetScale":1.000006658993607},{"endTime":1753779342346,"species":"Lemon","mutations":[],"startTime":1753775700970,"targetScale":1.011493541401939},{"endTime":1753781583120,"species":"Lemon","mutations":[],"startTime":1753777501812,"targetScale":1.133696840954159},{"endTime":1753782916318,"species":"Lemon","mutations":[],"startTime":1753779302353,"targetScale":1.003879220705195}],"species":"Lemon","maturedAt":1753489424029,"plantedAt":1753489424029,"objectType":"plant"},"18":{"slots":[{"endTime":1753769593943,"species":"Pepper","mutations":[],"startTime":1753768713711,"targetScale":1.467054881126676},{"endTime":1753769614185,"species":"Pepper","mutations":[],"startTime":1753769014185,"targetScale":1.000000087918349},{"endTime":1753769914941,"species":"Pepper","mutations":[],"startTime":1753769314707,"targetScale":1.000390580989557},{"endTime":1753770215178,"species":"Pepper","mutations":[],"startTime":1753769615178,"targetScale":1.000000008934496},{"endTime":1753770621050,"species":"Pepper","mutations":[],"startTime":1753769915672,"targetScale":1.17563157481549},{"endTime":1753770816159,"species":"Pepper","mutations":[],"startTime":1753770216159,"targetScale":1.000000014033436},{"endTime":1753771116689,"species":"Pepper","mutations":[],"startTime":1753770516652,"targetScale":1.000061965959993},{"endTime":1753771417089,"species":"Pepper","mutations":[],"startTime":1753770817089,"targetScale":1.000000121238308},{"endTime":1753771720106,"species":"Pepper","mutations":[],"startTime":1753771117503,"targetScale":1.004339317442459}],"species":"Pepper","maturedAt":1753490289411,"plantedAt":1753490289411,"objectType":"plant"},"19":{"slots":[{"endTime":1753769757557,"species":"Grape","mutations":[],"startTime":1753768857557,"targetScale":1.000000009341736}],"species":"Grape","maturedAt":1752263581249,"plantedAt":1752263581249,"objectType":"plant"},"20":{"slots":[{"endTime":1753530429038,"species":"Mushroom","mutations":["Frozen"],"startTime":1753356440832,"targetScale":2.870405922418072}],"species":"Mushroom","maturedAt":1753356440832,"plantedAt":1753356440832,"objectType":"plant"},"21":{"slots":[{"endTime":1753551624935,"species":"Mushroom","mutations":["Frozen"],"startTime":1753356443122,"targetScale":3.220051787661443}],"species":"Mushroom","maturedAt":1753356443122,"plantedAt":1753356443122,"objectType":"plant"},"22":{"slots":[{"endTime":1753800877863,"species":"Bamboo","mutations":[],"startTime":1753738433452,"targetScale":1.445472486900877}],"species":"Bamboo","maturedAt":1753738433452,"plantedAt":1753738433452,"objectType":"plant"},"23":{"slots":[{"endTime":1753686465515,"species":"Bamboo","mutations":["Frozen"],"startTime":1753643265008,"targetScale":1.000011751736338}],"species":"Bamboo","maturedAt":1753643265008,"plantedAt":1753643265008,"objectType":"plant"},"24":{"slots":[{"endTime":1753727841316,"species":"Bamboo","mutations":["Wet"],"startTime":1753643265766,"targetScale":1.957767373254326}],"species":"Bamboo","maturedAt":1753643265766,"plantedAt":1753643265766,"objectType":"plant"},"25":{"slots":[{"endTime":1753781634145,"species":"Bamboo","mutations":[],"startTime":1753738427766,"targetScale":1.000147684109097}],"species":"Bamboo","maturedAt":1753738427766,"plantedAt":1753738427766,"objectType":"plant"},"26":{"slots":[{"endTime":1753781658788,"species":"Bamboo","mutations":[],"startTime":1753738427055,"targetScale":1.000734565089999}],"species":"Bamboo","maturedAt":1753738427055,"plantedAt":1753738427055,"objectType":"plant"},"27":{"slots":[{"endTime":1753810945741,"species":"Bamboo","mutations":[],"startTime":1753738425179,"targetScale":1.678716735999619}],"species":"Bamboo","maturedAt":1753738425179,"plantedAt":1753738425179,"objectType":"plant"},"28":{"slots":[{"endTime":1753782649236,"species":"Bamboo","mutations":[],"startTime":1753738424841,"targetScale":1.023712849170963}],"species":"Bamboo","maturedAt":1753738424841,"plantedAt":1753738424841,"objectType":"plant"},"29":{"slots":[{"endTime":1753816704863,"species":"Bamboo","mutations":[],"startTime":1753738422923,"targetScale":1.812081965700258}],"species":"Bamboo","maturedAt":1753738422923,"plantedAt":1753738422923,"objectType":"plant"},"30":{"slots":[{"endTime":1753769226312,"species":"Pepper","mutations":[],"startTime":1753768626310,"targetScale":1.000003366328583},{"endTime":1753770063856,"species":"Pepper","mutations":[],"startTime":1753768926928,"targetScale":1.894880685071385},{"endTime":1753769827968,"species":"Pepper","mutations":[],"startTime":1753769227424,"targetScale":1.0009082534656},{"endTime":1753770127907,"species":"Pepper","mutations":[],"startTime":1753769527896,"targetScale":1.000019550894167},{"endTime":1753770648025,"species":"Pepper","mutations":[],"startTime":1753769828413,"targetScale":1.366020492371299},{"endTime":1753770728908,"species":"Pepper","mutations":[],"startTime":1753770128890,"targetScale":1.000031240570033},{"endTime":1753771029465,"species":"Pepper","mutations":[],"startTime":1753770429402,"targetScale":1.000105930964427},{"endTime":1753771329880,"species":"Pepper","mutations":[],"startTime":1753770729880,"targetScale":1.0000006441825},{"endTime":1753771631392,"species":"Pepper","mutations":[],"startTime":1753771030363,"targetScale":1.001716568045876}],"species":"Pepper","maturedAt":1753490285985,"plantedAt":1753490285985,"objectType":"plant"},"31":{"slots":[{"endTime":1753779636291,"species":"Lemon","mutations":[],"startTime":1753770261526,"targetScale":2.604101417394038},{"endTime":1753775661920,"species":"Lemon","mutations":[],"startTime":1753772061917,"targetScale":1.000000941404362},{"endTime":1753777462667,"species":"Lemon","mutations":[],"startTime":1753773862290,"targetScale":1.000104726920774},{"endTime":1753779262836,"species":"Lemon","mutations":[],"startTime":1753775662683,"targetScale":1.000042518227252},{"endTime":1753781064126,"species":"Lemon","mutations":[],"startTime":1753777463066,"targetScale":1.000294601503329},{"endTime":1753789071720,"species":"Lemon","mutations":[],"startTime":1753779263424,"targetScale":2.724526844972126}],"species":"Lemon","maturedAt":1753489470131,"plantedAt":1753489470131,"objectType":"plant"},"32":{"slots":[{"endTime":1753769925564,"species":"DragonFruit","mutations":[],"startTime":1753769025564,"targetScale":1.0000001003777},{"endTime":1753770514572,"species":"DragonFruit","mutations":[],"startTime":1753769475933,"targetScale":1.154044235450578},{"endTime":1753770826398,"species":"DragonFruit","mutations":[],"startTime":1753769926289,"targetScale":1.000121834791177},{"endTime":1753771570134,"species":"DragonFruit","mutations":[],"startTime":1753770376613,"targetScale":1.326134678938203},{"endTime":1753771726983,"species":"DragonFruit","mutations":[],"startTime":1753770826983,"targetScale":1.000000022609587},{"endTime":1753772313905,"species":"DragonFruit","mutations":[],"startTime":1753771277352,"targetScale":1.151725995156992},{"endTime":1753772627907,"species":"DragonFruit","mutations":[],"startTime":1753771727715,"targetScale":1.000213683529049}],"species":"DragonFruit","maturedAt":1752885028481,"plantedAt":1752885028481,"objectType":"plant"},"33":{"slots":[{"endTime":1753769928819,"species":"DragonFruit","mutations":[],"startTime":1753769028819,"targetScale":1.000000126500362},{"endTime":1753770379222,"species":"DragonFruit","mutations":[],"startTime":1753769479209,"targetScale":1.000015168472151},{"endTime":1753770829735,"species":"DragonFruit","mutations":[],"startTime":1753769929720,"targetScale":1.000017519379659},{"endTime":1753771280079,"species":"DragonFruit","mutations":[],"startTime":1753770380077,"targetScale":1.000003158192134},{"endTime":1753772259594,"species":"DragonFruit","mutations":[],"startTime":1753770830414,"targetScale":1.587977897402129},{"endTime":1753772216055,"species":"DragonFruit","mutations":[],"startTime":1753771280774,"targetScale":1.039201270866825},{"endTime":1753772631382,"species":"DragonFruit","mutations":[],"startTime":1753771731110,"targetScale":1.000302560219227}],"species":"DragonFruit","maturedAt":1752885030938,"plantedAt":1752885030938,"objectType":"plant"},"34":{"slots":[{"endTime":1753773892362,"species":"Lemon","mutations":[],"startTime":1753770291900,"targetScale":1.000128348900309},{"endTime":1753779141045,"species":"Lemon","mutations":[],"startTime":1753772092272,"targetScale":1.95799272677733},{"endTime":1753777492674,"species":"Lemon","mutations":[],"startTime":1753773892592,"targetScale":1.000022815143704},{"endTime":1753779307060,"species":"Lemon","mutations":[],"startTime":1753775693072,"targetScale":1.003885710299906},{"endTime":1753781175226,"species":"Lemon","mutations":[],"startTime":1753777493412,"targetScale":1.022726247538565},{"endTime":1753786894153,"species":"Lemon","mutations":[],"startTime":1753779293889,"targetScale":2.111184445184866}],"species":"Lemon","maturedAt":1753489447987,"plantedAt":1753489447987,"objectType":"plant"},"35":{"slots":[{"endTime":1753773895094,"species":"Lemon","mutations":[],"startTime":1753770295094,"targetScale":1.000000031995288},{"endTime":1753775695412,"species":"Lemon","mutations":[],"startTime":1753772095412,"targetScale":1.000000161430046},{"endTime":1753779720110,"species":"Lemon","mutations":[],"startTime":1753773895892,"targetScale":1.617838531773905},{"endTime":1753779296637,"species":"Lemon","mutations":[],"startTime":1753775696387,"targetScale":1.000069718539415},{"endTime":1753781098970,"species":"Lemon","mutations":[],"startTime":1753777496714,"targetScale":1.000626819428089},{"endTime":1753789919561,"species":"Lemon","mutations":[],"startTime":1753779297226,"targetScale":2.950648850606479}],"species":"Lemon","maturedAt":1753489438870,"plantedAt":1753489438870,"objectType":"plant"},"36":{"slots":[{"endTime":1753770031626,"species":"DragonFruit","mutations":[],"startTime":1753769044257,"targetScale":1.097076919239369},{"endTime":1753770545152,"species":"DragonFruit","mutations":[],"startTime":1753769494826,"targetScale":1.167029258231614},{"endTime":1753770845532,"species":"DragonFruit","mutations":[],"startTime":1753769945519,"targetScale":1.000015310086362},{"endTime":1753771837568,"species":"DragonFruit","mutations":[],"startTime":1753770396242,"targetScale":1.601473334147162},{"endTime":1753771746830,"species":"DragonFruit","mutations":[],"startTime":1753770846830,"targetScale":1.000000991619467},{"endTime":1753772197566,"species":"DragonFruit","mutations":[],"startTime":1753771297531,"targetScale":1.000039205192408},{"endTime":1753772648098,"species":"DragonFruit","mutations":[],"startTime":1753771748098,"targetScale":1.000000063653374}],"species":"DragonFruit","maturedAt":1753490027682,"plantedAt":1753490027682,"objectType":"plant"},"37":{"slots":[{"endTime":1753769949621,"species":"DragonFruit","mutations":[],"startTime":1753769049597,"targetScale":1.000027032980353},{"endTime":1753770418615,"species":"DragonFruit","mutations":[],"startTime":1753769500420,"targetScale":1.020217232061213},{"endTime":1753770879815,"species":"DragonFruit","mutations":[],"startTime":1753769951412,"targetScale":1.03155928353652},{"endTime":1753645584664,"species":"DragonFruit","mutations":["Gold","Frozen"],"startTime":1753644684594,"targetScale":1.000078384071289},{"endTime":1753771331611,"species":"DragonFruit","mutations":[],"startTime":1753770403502,"targetScale":1.031232739917452},{"endTime":1753771754741,"species":"DragonFruit","mutations":[],"startTime":1753770854736,"targetScale":1.000005833373121},{"endTime":1753772211083,"species":"DragonFruit","mutations":[],"startTime":1753771311083,"targetScale":1.000000000750888}],"species":"DragonFruit","maturedAt":1753107927241,"plantedAt":1753107927241,"objectType":"plant"},"38":{"slots":[{"endTime":1753780569295,"species":"Lemon","mutations":[],"startTime":1753770303726,"targetScale":2.851546961042785},{"endTime":1753775704450,"species":"Lemon","mutations":[],"startTime":1753772104115,"targetScale":1.000093322767978},{"endTime":1753777888563,"species":"Lemon","mutations":[],"startTime":1753773904456,"targetScale":1.1066965776168},{"endTime":1753779304796,"species":"Lemon","mutations":[],"startTime":1753775704792,"targetScale":1.000001111509566},{"endTime":1753781105307,"species":"Lemon","mutations":[],"startTime":1753777505307,"targetScale":1.000000023991903},{"endTime":1753787961047,"species":"Lemon","mutations":[],"startTime":1753779309470,"targetScale":2.403216096571405}],"species":"Lemon","maturedAt":1753100264822,"plantedAt":1753100264822,"objectType":"plant"},"39":{"slots":[{"endTime":1753769347659,"species":"Pepper","mutations":[],"startTime":1753768708529,"targetScale":1.065218136063368},{"endTime":1753769609033,"species":"Pepper","mutations":[],"startTime":1753769009026,"targetScale":1.000012059707595},{"endTime":1753770037399,"species":"Pepper","mutations":[],"startTime":1753769309615,"targetScale":1.212973471061955},{"endTime":1753770296469,"species":"Pepper","mutations":[],"startTime":1753769610076,"targetScale":1.143988744501221},{"endTime":1753770519487,"species":"Pepper","mutations":[],"startTime":1753769910507,"targetScale":1.014968179526034},{"endTime":1753771212399,"species":"Pepper","mutations":[],"startTime":1753770210990,"targetScale":1.669016219567415},{"endTime":1753771112402,"species":"Pepper","mutations":[],"startTime":1753770511428,"targetScale":1.001623724002602},{"endTime":1753771411972,"species":"Pepper","mutations":[],"startTime":1753770811955,"targetScale":1.000029030511601},{"endTime":1753771712496,"species":"Pepper","mutations":[],"startTime":1753771112491,"targetScale":1.000008454184014}],"species":"Pepper","maturedAt":1753490290465,"plantedAt":1753490290465,"objectType":"plant"},"40":{"slots":[{"endTime":1753551303793,"species":"Mushroom","mutations":["Frozen"],"startTime":1753356433698,"targetScale":3.214909157072677}],"species":"Mushroom","maturedAt":1753356433698,"plantedAt":1753356433698,"objectType":"plant"},"41":{"slots":[{"endTime":1753587190139,"species":"Mushroom","mutations":["Frozen"],"startTime":1753356403644,"targetScale":3.5}],"species":"Mushroom","maturedAt":1753356403644,"plantedAt":1753356403644,"objectType":"plant"},"42":{"slots":[{"endTime":1753781640629,"species":"Bamboo","mutations":[],"startTime":1753738436543,"targetScale":1.000094603748248}],"species":"Bamboo","maturedAt":1753738436543,"plantedAt":1753738436543,"objectType":"plant"},"43":{"slots":[{"endTime":1753686474740,"species":"Bamboo","mutations":["Frozen"],"startTime":1753643271778,"targetScale":1.000068580262948}],"species":"Bamboo","maturedAt":1753643271778,"plantedAt":1753643271778,"objectType":"plant"},"44":{"slots":[{"endTime":1753782149476,"species":"Bamboo","mutations":[],"startTime":1753738417613,"targetScale":1.012311656526708}],"species":"Bamboo","maturedAt":1753738417613,"plantedAt":1753738417613,"objectType":"plant"},"45":{"slots":[{"endTime":1753816754735,"species":"Bamboo","mutations":[],"startTime":1753738418548,"targetScale":1.813337677389834}],"species":"Bamboo","maturedAt":1753738418548,"plantedAt":1753738418548,"objectType":"plant"},"46":{"slots":[{"endTime":1753781619183,"species":"Bamboo","mutations":[],"startTime":1753738418943,"targetScale":1.000005566652438}],"species":"Bamboo","maturedAt":1753738418943,"plantedAt":1753738418943,"objectType":"plant"},"47":{"slots":[{"endTime":1753822521123,"species":"Bamboo","mutations":[],"startTime":1753738419506,"targetScale":1.946796711405046}],"species":"Bamboo","maturedAt":1753738419506,"plantedAt":1753738419506,"objectType":"plant"},"48":{"slots":[{"endTime":1753782804600,"species":"Bamboo","mutations":[],"startTime":1753738419955,"targetScale":1.027422338513818}],"species":"Bamboo","maturedAt":1753738419955,"plantedAt":1753738419955,"objectType":"plant"},"49":{"slots":[{"endTime":1753782766038,"species":"Bamboo","mutations":[],"startTime":1753738422116,"targetScale":1.026479693412064}],"species":"Bamboo","maturedAt":1753738422116,"plantedAt":1753738422116,"objectType":"plant"},"50":{"slots":[{"endTime":1753773858796,"species":"Lemon","mutations":[],"startTime":1753770258341,"targetScale":1.000126524396161},{"endTime":1753780774707,"species":"Lemon","mutations":[],"startTime":1753772058825,"targetScale":2.421078491034259},{"endTime":1753777459914,"species":"Lemon","mutations":[],"startTime":1753773859347,"targetScale":1.000157577473811},{"endTime":1753779266300,"species":"Lemon","mutations":[],"startTime":1753775659750,"targetScale":1.001819550757106},{"endTime":1753781060290,"species":"Lemon","mutations":[],"startTime":1753777460233,"targetScale":1.000015906648288},{"endTime":1753782860585,"species":"Lemon","mutations":[],"startTime":1753779260570,"targetScale":1.000004384574121}],"species":"Lemon","maturedAt":1753489481688,"plantedAt":1753489481688,"objectType":"plant"},"51":{"slots":[{"endTime":1753769921845,"species":"DragonFruit","mutations":[],"startTime":1753769021843,"targetScale":1.000002730765503},{"endTime":1753770372715,"species":"DragonFruit","mutations":[],"startTime":1753769472204,"targetScale":1.000568053523051},{"endTime":1753770825559,"species":"DragonFruit","mutations":[],"startTime":1753769922684,"targetScale":1.003195538858258},{"endTime":1753771273552,"species":"DragonFruit","mutations":[],"startTime":1753770373167,"targetScale":1.000427977223844},{"endTime":1753771723492,"species":"DragonFruit","mutations":[],"startTime":1753770823483,"targetScale":1.000010450452478},{"endTime":1753772174748,"species":"DragonFruit","mutations":[],"startTime":1753771273989,"targetScale":1.000844220237928},{"endTime":1753773430085,"species":"DragonFruit","mutations":[],"startTime":1753771724482,"targetScale":1.895114922101126}],"species":"DragonFruit","maturedAt":1753490029617,"plantedAt":1753490029617,"objectType":"plant"},"52":{"slots":[{"endTime":1753771369964,"species":"Lychee","mutations":[],"startTime":1753769565415,"targetScale":1.002527760238894},{"endTime":1753772268308,"species":"Lychee","mutations":[],"startTime":1753770465913,"targetScale":1.001330582903287},{"endTime":1753774099613,"species":"Lychee","mutations":[],"startTime":1753771366403,"targetScale":1.518450390323817},{"endTime":1753775046630,"species":"Lychee","mutations":[],"startTime":1753772266934,"targetScale":1.544275715580951},{"endTime":1753774967306,"species":"Lychee","mutations":[],"startTime":1753773167284,"targetScale":1.000012644932854},{"endTime":1753775867618,"species":"Lychee","mutations":[],"startTime":1753774067618,"targetScale":1.000000083376023}],"species":"Lychee","maturedAt":1752949001199,"plantedAt":1752949001199,"objectType":"plant"},"53":{"slots":[{"endTime":1753771368729,"species":"Lychee","mutations":[],"startTime":1753769568714,"targetScale":1.000008831280495},{"endTime":1753772297892,"species":"Lychee","mutations":[],"startTime":1753770469253,"targetScale":1.015910646243252},{"endTime":1753773169702,"species":"Lychee","mutations":[],"startTime":1753771369694,"targetScale":1.000004529479056},{"endTime":1753774080866,"species":"Lychee","mutations":[],"startTime":1753772270060,"targetScale":1.006003462113773},{"endTime":1753774970376,"species":"Lychee","mutations":[],"startTime":1753773170373,"targetScale":1.000001807200742},{"endTime":1753776543220,"species":"Lychee","mutations":[],"startTime":1753774070717,"targetScale":1.373612980332258}],"species":"Lychee","maturedAt":1752949002978,"plantedAt":1752949002978,"objectType":"plant"},"54":{"slots":[{"endTime":1753769932468,"species":"DragonFruit","mutations":[],"startTime":1753769032462,"targetScale":1.00000679345914},{"endTime":1753770383283,"species":"DragonFruit","mutations":[],"startTime":1753769482843,"targetScale":1.000489252120927},{"endTime":1753770836767,"species":"DragonFruit","mutations":[],"startTime":1753769936765,"targetScale":1.000002710039416},{"endTime":1753771287290,"species":"DragonFruit","mutations":[],"startTime":1753770387284,"targetScale":1.000007678793491},{"endTime":1753771746503,"species":"DragonFruit","mutations":[],"startTime":1753770837808,"targetScale":1.009662101708595},{"endTime":1753772188323,"species":"DragonFruit","mutations":[],"startTime":1753771288320,"targetScale":1.000003550437455},{"endTime":1753772759582,"species":"DragonFruit","mutations":[],"startTime":1753771738856,"targetScale":1.134140103349099}],"species":"DragonFruit","maturedAt":1753490025837,"plantedAt":1753490025837,"objectType":"plant"},"55":{"slots":[{"endTime":1753770083985,"species":"DragonFruit","mutations":[],"startTime":1753769039911,"targetScale":1.160083281932247},{"endTime":1753770390452,"species":"DragonFruit","mutations":[],"startTime":1753769490452,"targetScale":1.00000019719126},{"endTime":1753770841050,"species":"DragonFruit","mutations":[],"startTime":1753769941018,"targetScale":1.000036450930891},{"endTime":1753771293994,"species":"DragonFruit","mutations":["Gold"],"startTime":1753770391534,"targetScale":1.002733765814284},{"endTime":1753771742737,"species":"DragonFruit","mutations":[],"startTime":1753770842034,"targetScale":1.000781379409945},{"endTime":1753772397915,"species":"DragonFruit","mutations":[],"startTime":1753771292402,"targetScale":1.228348243763938},{"endTime":1753772668931,"species":"DragonFruit","mutations":[],"startTime":1753771742984,"targetScale":1.028830642008376}],"species":"DragonFruit","maturedAt":1753490026264,"plantedAt":1753490026264,"objectType":"plant"},"56":{"slots":[{"endTime":1753645428773,"species":"Lychee","mutations":["Frozen"],"startTime":1753643609879,"targetScale":1.010496975236136},{"endTime":1753646310266,"species":"Lychee","mutations":["Frozen"],"startTime":1753644510266,"targetScale":1.000000015179649},{"endTime":1753648677333,"species":"Lychee","mutations":["Frozen"],"startTime":1753645410728,"targetScale":1.814780657664659},{"endTime":1753648111257,"species":"Lychee","mutations":["Frozen"],"startTime":1753646311255,"targetScale":1.000001580994613},{"endTime":1753650653831,"species":"Lychee","mutations":["Frozen"],"startTime":1753647211766,"targetScale":1.912258678417924},{"endTime":1753649923202,"species":"Lychee","mutations":["Frozen"],"startTime":1753648112445,"targetScale":1.005976144074981}],"species":"Lychee","maturedAt":1753063507755,"plantedAt":1753063507755,"objectType":"plant"},"57":{"slots":[{"endTime":1753647126539,"species":"Lychee","mutations":["Frozen"],"startTime":1753643614631,"targetScale":1.951060229689712},{"endTime":1753646321517,"species":"Lychee","mutations":["Frozen"],"startTime":1753644521517,"targetScale":1.000000003818009},{"endTime":1753648262101,"species":"Lychee","mutations":["Frozen"],"startTime":1753645422021,"targetScale":1.577822466297329},{"endTime":1753648122715,"species":"Lychee","mutations":["Frozen"],"startTime":1753646322715,"targetScale":1.000000030168934},{"endTime":1753649705996,"species":"Lychee","mutations":["Frozen"],"startTime":1753647223151,"targetScale":1.379358501550359},{"endTime":1753649924941,"species":"Lychee","mutations":["Frozen"],"startTime":1753648123539,"targetScale":1.000778907121584}],"species":"Lychee","maturedAt":1753063508856,"plantedAt":1753063508856,"objectType":"plant"},"58":{"slots":[{"endTime":1753770841925,"species":"DragonFruit","mutations":[],"startTime":1753769062805,"targetScale":1.976800546637506},{"endTime":1753770413138,"species":"DragonFruit","mutations":[],"startTime":1753769513138,"targetScale":1.000000017046774},{"endTime":1753771480893,"species":"DragonFruit","mutations":[],"startTime":1753769963581,"targetScale":1.685902911498178},{"endTime":1753772003924,"species":"DragonFruit","mutations":[],"startTime":1753770414064,"targetScale":1.766511975926931},{"endTime":1753771765208,"species":"DragonFruit","mutations":[],"startTime":1753770864566,"targetScale":1.000714331219138},{"endTime":1753772264419,"species":"DragonFruit","mutations":[],"startTime":1753771315039,"targetScale":1.054867269927802},{"endTime":1753772665519,"species":"DragonFruit","mutations":[],"startTime":1753771765463,"targetScale":1.000063041120215}],"species":"DragonFruit","maturedAt":1752885410189,"plantedAt":1752885410189,"objectType":"plant"},"59":{"slots":[{"endTime":1753776248793,"species":"Lemon","mutations":[],"startTime":1753770310599,"targetScale":1.649498367040906},{"endTime":1753775711103,"species":"Lemon","mutations":[],"startTime":1753772111103,"targetScale":1.000000070933545},{"endTime":1753778587172,"species":"Lemon","mutations":[],"startTime":1753773911430,"targetScale":1.298817462553438},{"endTime":1753786351641,"species":"Lemon","mutations":[],"startTime":1753775711879,"targetScale":2.955489593752873},{"endTime":1753781113733,"species":"Lemon","mutations":[],"startTime":1753777512350,"targetScale":1.000384329418574},{"endTime":1753783252347,"species":"Lemon","mutations":[],"startTime":1753779312700,"targetScale":1.094346462066973}],"species":"Lemon","maturedAt":1753100265017,"plantedAt":1753100265017,"objectType":"plant"},"60":{"slots":[{"endTime":1753624706853,"species":"Mushroom","mutations":["Frozen"],"startTime":1753537952241,"targetScale":1.004104307475683}],"species":"Mushroom","maturedAt":1753537952241,"plantedAt":1753537952241,"objectType":"plant"},"61":{"slots":[{"endTime":1753519304260,"species":"Mushroom","mutations":["Frozen"],"startTime":1753432892076,"targetScale":1.236975139925742}],"species":"Mushroom","maturedAt":1753432892076,"plantedAt":1753432892076,"objectType":"plant"},"62":{"slots":[{"endTime":1753728852175,"species":"Bamboo","mutations":["Wet"],"startTime":1753643272831,"targetScale":1.981003339363848}],"species":"Bamboo","maturedAt":1753643272831,"plantedAt":1753643272831,"objectType":"plant"},"63":{"slots":[{"endTime":1753781596489,"species":"Bamboo","mutations":[],"startTime":1753738394520,"targetScale":1.000045597032618}],"species":"Bamboo","maturedAt":1753738394520,"plantedAt":1753738394520,"objectType":"plant"},"64":{"slots":[{"endTime":1753798606753,"species":"Bamboo","mutations":[],"startTime":1753738393264,"targetScale":1.393830772339883}],"species":"Bamboo","maturedAt":1753738393264,"plantedAt":1753738393264,"objectType":"plant"},"65":{"slots":[{"endTime":1753781592640,"species":"Bamboo","mutations":[],"startTime":1753738392569,"targetScale":1.00000165358158}],"species":"Bamboo","maturedAt":1753738392569,"plantedAt":1753738392569,"objectType":"plant"},"66":{"slots":[{"endTime":1753781615965,"species":"Bamboo","mutations":[],"startTime":1753738391905,"targetScale":1.000556966890962}],"species":"Bamboo","maturedAt":1753738391905,"plantedAt":1753738391905,"objectType":"plant"},"67":{"slots":[{"endTime":1753781797533,"species":"Bamboo","mutations":[],"startTime":1753738391076,"targetScale":1.004779111769249}],"species":"Bamboo","maturedAt":1753738391076,"plantedAt":1753738391076,"objectType":"plant"},"68":{"slots":[{"endTime":1753781590433,"species":"Bamboo","mutations":[],"startTime":1753738390383,"targetScale":1.000001167915275}],"species":"Bamboo","maturedAt":1753738390383,"plantedAt":1753738390383,"objectType":"plant"},"69":{"slots":[{"endTime":1753692844030,"species":"Bamboo","mutations":["Frozen"],"startTime":1753643289779,"targetScale":1.147089160320831}],"species":"Bamboo","maturedAt":1753643289779,"plantedAt":1753643289779,"objectType":"plant"},"70":{"slots":[{"endTime":1753777398656,"species":"Lemon","mutations":[],"startTime":1753770249944,"targetScale":1.985753349474544},{"endTime":1753775650292,"species":"Lemon","mutations":[],"startTime":1753772050289,"targetScale":1.00000102807623},{"endTime":1753777450800,"species":"Lemon","mutations":[],"startTime":1753773850653,"targetScale":1.000041082367687},{"endTime":1753783061484,"species":"Lemon","mutations":[],"startTime":1753775651048,"targetScale":2.058454491116278},{"endTime":1753781069546,"species":"Lemon","mutations":[],"startTime":1753777451537,"targetScale":1.005002608709704},{"endTime":1753782857278,"species":"Lemon","mutations":[],"startTime":1753779257278,"targetScale":1.000000181571183}],"species":"Lemon","maturedAt":1753489486716,"plantedAt":1753489486716,"objectType":"plant"},"71":{"slots":[{"endTime":1753770168033,"species":"DragonFruit","mutations":[],"startTime":1753769014585,"targetScale":1.281609851080973},{"endTime":1753771190489,"species":"DragonFruit","mutations":[],"startTime":1753769465055,"targetScale":1.917149015841338},{"endTime":1753770815467,"species":"DragonFruit","mutations":[],"startTime":1753769915439,"targetScale":1.000031300574132},{"endTime":1753771286470,"species":"DragonFruit","mutations":[],"startTime":1753770365792,"targetScale":1.022975779092848},{"endTime":1753771978876,"species":"DragonFruit","mutations":[],"startTime":1753770816137,"targetScale":1.291933033568553},{"endTime":1753772386653,"species":"DragonFruit","mutations":[],"startTime":1753771266556,"targetScale":1.24455322030005},{"endTime":1753772621239,"species":"DragonFruit","mutations":[],"startTime":1753771721239,"targetScale":1.000000015510138}],"species":"DragonFruit","maturedAt":1753490030044,"plantedAt":1753490030044,"objectType":"plant"},"72":{"slots":[{"endTime":1753771362090,"species":"Lychee","mutations":[],"startTime":1753769562081,"targetScale":1.000005489722946},{"endTime":1753772262431,"species":"Lychee","mutations":[],"startTime":1753770462428,"targetScale":1.000001823919574},{"endTime":1753773163000,"species":"Lychee","mutations":[],"startTime":1753771362981,"targetScale":1.000010713231791},{"endTime":1753774063454,"species":"Lychee","mutations":[],"startTime":1753772263454,"targetScale":1.000000011054577},{"endTime":1753774963989,"species":"Lychee","mutations":[],"startTime":1753773163986,"targetScale":1.000001861517486},{"endTime":1753777166438,"species":"Lychee","mutations":[],"startTime":1753774064477,"targetScale":1.723311679516736}],"species":"Lychee","maturedAt":1753490062900,"plantedAt":1753490062900,"objectType":"plant"},"73":{"slots":[{"endTime":1753670297899,"species":"Sunflower","mutations":["Frozen"],"startTime":1753651607540,"targetScale":1.038353311334266}],"species":"Sunflower","maturedAt":1753284970722,"plantedAt":1753284970722,"objectType":"plant"},"74":{"slots":[{"endTime":1753772740936,"species":"Lychee","mutations":[],"startTime":1753769571895,"targetScale":1.760578615786562},{"endTime":1753772277672,"species":"Lychee","mutations":[],"startTime":1753770476659,"targetScale":1.000562967372185},{"endTime":1753774665377,"species":"Lychee","mutations":[],"startTime":1753771377000,"targetScale":1.826876255406644},{"endTime":1753774077454,"species":"Lychee","mutations":[],"startTime":1753772277454,"targetScale":1.000000063375206},{"endTime":1753775655197,"species":"Lychee","mutations":[],"startTime":1753773177915,"targetScale":1.376268238988337},{"endTime":1753775878375,"species":"Lychee","mutations":[],"startTime":1753774078356,"targetScale":1.000010657305273}],"species":"Lychee","maturedAt":1752966088548,"plantedAt":1752966088548,"objectType":"plant"},"75":{"slots":[{"endTime":1753771394714,"species":"Lychee","mutations":[],"startTime":1753769579508,"targetScale":1.008448179396925},{"endTime":1753772280028,"species":"Lychee","mutations":[],"startTime":1753770480018,"targetScale":1.000005992316626},{"endTime":1753773180510,"species":"Lychee","mutations":[],"startTime":1753771380510,"targetScale":1.000000179933929},{"endTime":1753774119352,"species":"Lychee","mutations":[],"startTime":1753772280985,"targetScale":1.021315247238095},{"endTime":1753774981332,"species":"Lychee","mutations":[],"startTime":1753773181304,"targetScale":1.000016042376651},{"endTime":1753649907768,"species":"Lychee","mutations":["Frozen"],"startTime":1753648107762,"targetScale":1.000003360129703}],"species":"Lychee","maturedAt":1752968016645,"plantedAt":1752968016645,"objectType":"plant"},"76":{"slots":[{"endTime":1753695858332,"species":"Sunflower","mutations":["Frozen"],"startTime":1753651610764,"targetScale":2.458198254177594}],"species":"Sunflower","maturedAt":1753373192715,"plantedAt":1753373192715,"objectType":"plant"},"77":{"slots":[{"endTime":1753645424945,"species":"Lychee","mutations":["Frozen"],"startTime":1753643624945,"targetScale":1.000000378356269},{"endTime":1753646325670,"species":"Lychee","mutations":["Frozen"],"startTime":1753644525609,"targetScale":1.0000342986956},{"endTime":1753647227282,"species":"Lychee","mutations":["Frozen"],"startTime":1753645426105,"targetScale":1.000654434020615},{"endTime":1753648127458,"species":"Lychee","mutations":["Frozen"],"startTime":1753646326765,"targetScale":1.000385539598172},{"endTime":1753650679479,"species":"Lychee","mutations":["Frozen"],"startTime":1753647227376,"targetScale":1.917835298543784},{"endTime":1753649945218,"species":"Lychee","mutations":["Frozen"],"startTime":1753648127842,"targetScale":1.009653497646165}],"species":"Lychee","maturedAt":1752850032140,"plantedAt":1752850032140,"objectType":"plant"},"78":{"slots":[{"endTime":1753769980024,"species":"DragonFruit","mutations":[],"startTime":1753769066422,"targetScale":1.015113982781371},{"endTime":1753771092284,"species":"DragonFruit","mutations":[],"startTime":1753769516913,"targetScale":1.750413019435161},{"endTime":1753770870787,"species":"DragonFruit","mutations":[],"startTime":1753769967473,"targetScale":1.003682803380303},{"endTime":1753771318525,"species":"DragonFruit","mutations":[],"startTime":1753770417879,"targetScale":1.000718256991822},{"endTime":1753772104221,"species":"DragonFruit","mutations":[],"startTime":1753770868212,"targetScale":1.373343515316828},{"endTime":1753772218716,"species":"DragonFruit","mutations":[],"startTime":1753771318716,"targetScale":1.000000210279816},{"endTime":1753773182834,"species":"DragonFruit","mutations":[],"startTime":1753771769078,"targetScale":1.570841089074995}],"species":"DragonFruit","maturedAt":1752694523340,"plantedAt":1752694523340,"objectType":"plant"},"79":{"slots":[{"endTime":1753773914055,"species":"Lemon","mutations":[],"startTime":1753770313891,"targetScale":1.000045718327183},{"endTime":1753775714228,"species":"Lemon","mutations":[],"startTime":1753772114223,"targetScale":1.000001393056778},{"endTime":1753777514687,"species":"Lemon","mutations":[],"startTime":1753773914561,"targetScale":1.00003518340976},{"endTime":1753785690218,"species":"Lemon","mutations":[],"startTime":1753775714924,"targetScale":2.770915198375462},{"endTime":1753781118032,"species":"Lemon","mutations":[],"startTime":1753777515278,"targetScale":1.000765001092055},{"endTime":1753782916098,"species":"Lemon","mutations":[],"startTime":1753779315594,"targetScale":1.000140139516641}],"species":"Lemon","maturedAt":1753100265351,"plantedAt":1753100265351,"objectType":"plant"},"80":{"slots":[{"endTime":1753624608968,"species":"Mushroom","mutations":["Frozen"],"startTime":1753537950470,"targetScale":1.00299187927272}],"species":"Mushroom","maturedAt":1753537950470,"plantedAt":1753537950470,"objectType":"plant"},"81":{"slots":[{"endTime":1753629513482,"species":"Mushroom","mutations":["Frozen"],"startTime":1753537951271,"targetScale":1.059747823723026}],"species":"Mushroom","maturedAt":1753537951271,"plantedAt":1753537951271,"objectType":"plant"},"82":{"slots":[{"endTime":1753781847517,"species":"Bamboo","mutations":[],"startTime":1753738396982,"targetScale":1.005799443452174}],"species":"Bamboo","maturedAt":1753738396982,"plantedAt":1753738396982,"objectType":"plant"},"83":{"slots":[{"endTime":1753781609949,"species":"Bamboo","mutations":[],"startTime":1753738409944,"targetScale":1.000000128021624}],"species":"Bamboo","maturedAt":1753738409944,"plantedAt":1753738409944,"objectType":"plant"},"84":{"slots":[{"endTime":1753781610222,"species":"Bamboo","mutations":[],"startTime":1753738410102,"targetScale":1.000002800494964}],"species":"Bamboo","maturedAt":1753738410102,"plantedAt":1753738410102,"objectType":"plant"},"85":{"slots":[{"endTime":1753802716304,"species":"Bamboo","mutations":[],"startTime":1753738410890,"targetScale":1.488551269349305}],"species":"Bamboo","maturedAt":1753738410890,"plantedAt":1753738410890,"objectType":"plant"},"86":{"slots":[{"endTime":1753781611421,"species":"Bamboo","mutations":[],"startTime":1753738411311,"targetScale":1.000002552387456}],"species":"Bamboo","maturedAt":1753738411311,"plantedAt":1753738411311,"objectType":"plant"},"87":{"slots":[{"endTime":1753781619361,"species":"Bamboo","mutations":[],"startTime":1753738406172,"targetScale":1.000305307894417}],"species":"Bamboo","maturedAt":1753738406172,"plantedAt":1753738406172,"objectType":"plant"},"88":{"slots":[{"endTime":1753821185275,"species":"Bamboo","mutations":[],"startTime":1753738412729,"targetScale":1.916031170381185}],"species":"Bamboo","maturedAt":1753738412729,"plantedAt":1753738412729,"objectType":"plant"},"89":{"slots":[{"endTime":1753781588623,"species":"Bamboo","mutations":[],"startTime":1753738388586,"targetScale":1.000000864982602}],"species":"Bamboo","maturedAt":1753738388586,"plantedAt":1753738388586,"objectType":"plant"},"90":{"slots":[{"endTime":1753773846917,"species":"Lemon","mutations":[],"startTime":1753770246720,"targetScale":1.000054862577028},{"endTime":1753777112082,"species":"Lemon","mutations":[],"startTime":1753772047291,"targetScale":1.406886427801181},{"endTime":1753777447681,"species":"Lemon","mutations":[],"startTime":1753773847681,"targetScale":1.000000277359165},{"endTime":1753779263457,"species":"Lemon","mutations":[],"startTime":1753775648046,"targetScale":1.004281047643528},{"endTime":1753781048418,"species":"Lemon","mutations":[],"startTime":1753777448407,"targetScale":1.000003283089054},{"endTime":1753782848772,"species":"Lemon","mutations":[],"startTime":1753779248736,"targetScale":1.000010076648291}],"species":"Lemon","maturedAt":1753489492324,"plantedAt":1753489492324,"objectType":"plant"},"91":{"slots":[{"endTime":1753769910837,"species":"DragonFruit","mutations":[],"startTime":1753769010837,"targetScale":1.000000037792901},{"endTime":1753770361422,"species":"DragonFruit","mutations":[],"startTime":1753769461365,"targetScale":1.000063818946382},{"endTime":1753771380377,"species":"DragonFruit","mutations":[],"startTime":1753769911707,"targetScale":1.631856048396177},{"endTime":1753771262246,"species":"DragonFruit","mutations":[],"startTime":1753770362143,"targetScale":1.0001150037296},{"endTime":1753771712571,"species":"DragonFruit","mutations":[],"startTime":1753770812571,"targetScale":1.000000035282026},{"endTime":1753772893005,"species":"DragonFruit","mutations":[],"startTime":1753771262999,"targetScale":1.811118040382347},{"endTime":1753772613444,"species":"DragonFruit","mutations":[],"startTime":1753771713444,"targetScale":1.000000118946941}],"species":"DragonFruit","maturedAt":1753490030833,"plantedAt":1753490030833,"objectType":"plant"},"92":{"slots":[{"endTime":1753771355801,"species":"Lychee","mutations":[],"startTime":1753769555801,"targetScale":1.000000121822508},{"endTime":1753772294210,"species":"Lychee","mutations":[],"startTime":1753770459298,"targetScale":1.019395907871283},{"endTime":1753773192913,"species":"Lychee","mutations":[],"startTime":1753771359672,"targetScale":1.018467376934248},{"endTime":1753774060140,"species":"Lychee","mutations":[],"startTime":1753772260140,"targetScale":1.000000039280087},{"endTime":1753775329342,"species":"Lychee","mutations":[],"startTime":1753773160588,"targetScale":1.204863773085691},{"endTime":1753775939398,"species":"Lychee","mutations":[],"startTime":1753774061078,"targetScale":1.04351130286339}],"species":"Lychee","maturedAt":1753490063549,"plantedAt":1753490063549,"objectType":"plant"},"93":{"slots":[{"endTime":1753669606226,"species":"Sunflower","mutations":["Frozen"],"startTime":1753651606226,"targetScale":1.000000032556075}],"species":"Sunflower","maturedAt":1753284970607,"plantedAt":1753284970607,"objectType":"plant"},"94":{"slots":[{"endTime":1753669608442,"species":"Sunflower","mutations":["Frozen"],"startTime":1753651608419,"targetScale":1.000001298252764}],"species":"Sunflower","maturedAt":1753284970532,"plantedAt":1753284970532,"objectType":"plant"},"95":{"slots":[{"endTime":1753669613389,"species":"Sunflower","mutations":["Frozen"],"startTime":1753651609248,"targetScale":1.000230085910572}],"species":"Sunflower","maturedAt":1753284973067,"plantedAt":1753284973067,"objectType":"plant"},"96":{"slots":[{"endTime":1753669619689,"species":"Sunflower","mutations":["Frozen"],"startTime":1753651611071,"targetScale":1.000478804192028}],"species":"Sunflower","maturedAt":1753050475624,"plantedAt":1753050475624,"objectType":"plant"},"97":{"slots":[{"endTime":1753645429812,"species":"Lychee","mutations":["Frozen"],"startTime":1753643629812,"targetScale":1.000000504243213},{"endTime":1753646331799,"species":"Lychee","mutations":["Frozen"],"startTime":1753644530507,"targetScale":1.000718249010065},{"endTime":1753647230948,"species":"Lychee","mutations":["Frozen"],"startTime":1753645430922,"targetScale":1.000014814666661},{"endTime":1753648131706,"species":"Lychee","mutations":["Frozen"],"startTime":1753646331706,"targetScale":1.000000016343536},{"endTime":1753649032698,"species":"Lychee","mutations":["Frozen"],"startTime":1753647232397,"targetScale":1.000167507526915},{"endTime":1753649935681,"species":"Lychee","mutations":["Frozen"],"startTime":1753648133063,"targetScale":1.001454755134553}],"species":"Lychee","maturedAt":1752704462019,"plantedAt":1752704462019,"objectType":"plant"},"98":{"slots":[{"endTime":1753769970087,"species":"DragonFruit","mutations":[],"startTime":1753769070073,"targetScale":1.000016045685272},{"endTime":1753770420854,"species":"DragonFruit","mutations":[],"startTime":1753769520780,"targetScale":1.000082705300265},{"endTime":1753770871220,"species":"DragonFruit","mutations":[],"startTime":1753769971219,"targetScale":1.000001142775651},{"endTime":1753771321698,"species":"DragonFruit","mutations":[],"startTime":1753770421682,"targetScale":1.000017953404321},{"endTime":1753771772167,"species":"DragonFruit","mutations":[],"startTime":1753770872164,"targetScale":1.000003414534822},{"endTime":1753772224432,"species":"DragonFruit","mutations":[],"startTime":1753771322647,"targetScale":1.001983826926553},{"endTime":1753772673152,"species":"DragonFruit","mutations":[],"startTime":1753771773151,"targetScale":1.000002098320449}],"species":"DragonFruit","maturedAt":1753015578831,"plantedAt":1753015578831,"objectType":"plant"},"99":{"slots":[{"endTime":1753773916513,"species":"Lemon","mutations":[],"startTime":1753770316462,"targetScale":1.000014422453245},{"endTime":1753775716889,"species":"Lemon","mutations":[],"startTime":1753772116814,"targetScale":1.000020882306354},{"endTime":1753777521714,"species":"Lemon","mutations":[],"startTime":1753773917323,"targetScale":1.001219860164478},{"endTime":1753779318442,"species":"Lemon","mutations":[],"startTime":1753775717656,"targetScale":1.000218499608561},{"endTime":1753781119878,"species":"Lemon","mutations":[],"startTime":1753777518018,"targetScale":1.000516666921553},{"endTime":1753782918408,"species":"Lemon","mutations":[],"startTime":1753779318389,"targetScale":1.000005520056345}],"species":"Lemon","maturedAt":1753038847780,"plantedAt":1753038847780,"objectType":"plant"},"100":{"slots":[{"endTime":1753606415844,"species":"Mushroom","mutations":["Frozen"],"startTime":1753520015822,"targetScale":1.000000260151525}],"species":"Mushroom","maturedAt":1753520015822,"plantedAt":1753520015822,"objectType":"plant"},"101":{"slots":[{"endTime":1753609494881,"species":"Mushroom","mutations":["Frozen"],"startTime":1753520015601,"targetScale":1.035639820747931}],"species":"Mushroom","maturedAt":1753520015601,"plantedAt":1753520015601,"objectType":"plant"},"102":{"slots":[{"endTime":1753686522620,"species":"Bamboo","mutations":["Wet"],"startTime":1753643320764,"targetScale":1.00004297766487}],"species":"Bamboo","maturedAt":1753643320764,"plantedAt":1753643320764,"objectType":"plant"},"103":{"slots":[{"endTime":1753781601598,"species":"Bamboo","mutations":[],"startTime":1753738401590,"targetScale":1.000000198636838}],"species":"Bamboo","maturedAt":1753738401590,"plantedAt":1753738401590,"objectType":"plant"},"104":{"slots":[{"endTime":1753781603290,"species":"Bamboo","mutations":[],"startTime":1753738402742,"targetScale":1.000012695639218}],"species":"Bamboo","maturedAt":1753738402742,"plantedAt":1753738402742,"objectType":"plant"},"105":{"slots":[{"endTime":1753781606927,"species":"Bamboo","mutations":[],"startTime":1753738403627,"targetScale":1.000076405924203}],"species":"Bamboo","maturedAt":1753738403627,"plantedAt":1753738403627,"objectType":"plant"},"106":{"slots":[{"endTime":1753781604148,"species":"Bamboo","mutations":[],"startTime":1753738404111,"targetScale":1.000000874197489}],"species":"Bamboo","maturedAt":1753738404111,"plantedAt":1753738404111,"objectType":"plant"},"107":{"slots":[{"endTime":1753786634659,"species":"Bamboo","mutations":[],"startTime":1753738404495,"targetScale":1.11643900139588}],"species":"Bamboo","maturedAt":1753738404495,"plantedAt":1753738404495,"objectType":"plant"},"108":{"slots":[{"endTime":1753815604576,"species":"Bamboo","mutations":[],"startTime":1753738405192,"targetScale":1.787022783507819}],"species":"Bamboo","maturedAt":1753738405192,"plantedAt":1753738405192,"objectType":"plant"},"109":{"slots":[{"endTime":1753781587956,"species":"Bamboo","mutations":[],"startTime":1753738387883,"targetScale":1.000001712070793}],"species":"Bamboo","maturedAt":1753738387883,"plantedAt":1753738387883,"objectType":"plant"},"110":{"slots":[{"endTime":1753777217381,"species":"Lemon","mutations":[],"startTime":1753770242831,"targetScale":1.937375161083776},{"endTime":1753775643599,"species":"Lemon","mutations":[],"startTime":1753772043597,"targetScale":1.000000781431862},{"endTime":1753783522594,"species":"Lemon","mutations":[],"startTime":1753773844151,"targetScale":2.688456622675532},{"endTime":1753779245186,"species":"Lemon","mutations":[],"startTime":1753775644483,"targetScale":1.000195467464509},{"endTime":1753788171926,"species":"Lemon","mutations":[],"startTime":1753777444964,"targetScale":2.979711763337781},{"endTime":1753788867203,"species":"Lemon","mutations":[],"startTime":1753779245388,"targetScale":2.6727266140528}],"species":"Lemon","maturedAt":1753489498199,"plantedAt":1753489498199,"objectType":"plant"},"111":{"slots":[{"endTime":1753769919591,"species":"DragonFruit","mutations":[],"startTime":1753769007303,"targetScale":1.013653461666811},{"endTime":1753770544804,"species":"DragonFruit","mutations":[],"startTime":1753769457821,"targetScale":1.207759451689183},{"endTime":1753770808186,"species":"DragonFruit","mutations":[],"startTime":1753769908186,"targetScale":1.000000428900041},{"endTime":1753771258569,"species":"DragonFruit","mutations":[],"startTime":1753770358567,"targetScale":1.000002229812118},{"endTime":1753771766438,"species":"DragonFruit","mutations":[],"startTime":1753770809076,"targetScale":1.063735893317563},{"endTime":1753772159503,"species":"DragonFruit","mutations":[],"startTime":1753771259503,"targetScale":1.000000526331409},{"endTime":1753772632976,"species":"DragonFruit","mutations":[],"startTime":1753771709949,"targetScale":1.025586289936234}],"species":"DragonFruit","maturedAt":1753490031706,"plantedAt":1753490031706,"objectType":"plant"},"112":{"slots":[{"endTime":1753771352725,"species":"Lychee","mutations":[],"startTime":1753769552544,"targetScale":1.000100973196434},{"endTime":1753772253093,"species":"Lychee","mutations":[],"startTime":1753770453093,"targetScale":1.000000012711012},{"endTime":1753773374523,"species":"Lychee","mutations":[],"startTime":1753771353569,"targetScale":1.122752539493472},{"endTime":1753774055806,"species":"Lychee","mutations":[],"startTime":1753772253907,"targetScale":1.001055155116679},{"endTime":1753774956411,"species":"Lychee","mutations":[],"startTime":1753773154406,"targetScale":1.001114327218402},{"endTime":1753775854972,"species":"Lychee","mutations":[],"startTime":1753774054972,"targetScale":1.000000059793729}],"species":"Lychee","maturedAt":1753490064128,"plantedAt":1753490064128,"objectType":"plant"},"113":{"slots":[{"endTime":1753669608279,"species":"Sunflower","mutations":["Frozen"],"startTime":1753651605296,"targetScale":1.000165736401467}],"species":"Sunflower","maturedAt":1753044360953,"plantedAt":1753044360953,"objectType":"plant"},"115":{"slots":[{"endTime":1753763453497,"species":"Sunflower","mutations":[],"startTime":1753745450762,"targetScale":1.000151956101046}],"species":"Sunflower","maturedAt":1753685166439.863,"plantedAt":1753650050762,"objectType":"plant"},"116":{"slots":[{"endTime":1753669611881,"species":"Sunflower","mutations":["Frozen"],"startTime":1753651611768,"targetScale":1.000006305823952}],"species":"Sunflower","maturedAt":1753284970714,"plantedAt":1753284970714,"objectType":"plant"},"117":{"slots":[{"endTime":1753645361492,"species":"Lychee","mutations":["Frozen"],"startTime":1753643561466,"targetScale":1.000014518836919},{"endTime":1753646334644,"species":"Lychee","mutations":["Frozen"],"startTime":1753644534570,"targetScale":1.00004148452294},{"endTime":1753647236179,"species":"Lychee","mutations":["Frozen"],"startTime":1753645435336,"targetScale":1.000468599721899},{"endTime":1753648217002,"species":"Lychee","mutations":["Frozen"],"startTime":1753646336038,"targetScale":1.044980500051272},{"endTime":1753650418670,"species":"Lychee","mutations":["Frozen"],"startTime":1753647236763,"targetScale":1.767726452493736},{"endTime":1753650243304,"species":"Lychee","mutations":["Frozen"],"startTime":1753648137655,"targetScale":1.169805492659687}],"species":"Lychee","maturedAt":1753490071848,"plantedAt":1753490071848,"objectType":"plant"},"118":{"slots":[{"endTime":1753769975933,"species":"DragonFruit","mutations":[],"startTime":1753769074328,"targetScale":1.001783349017885},{"endTime":1753770425701,"species":"DragonFruit","mutations":[],"startTime":1753769524818,"targetScale":1.000981433468745},{"endTime":1753771578438,"species":"DragonFruit","mutations":[],"startTime":1753769979934,"targetScale":1.776115584210982},{"endTime":1753771330419,"species":"DragonFruit","mutations":[],"startTime":1753770430411,"targetScale":1.00000994373221},{"endTime":1753772368590,"species":"DragonFruit","mutations":[],"startTime":1753770881029,"targetScale":1.652845933030584},{"endTime":1753772243441,"species":"DragonFruit","mutations":[],"startTime":1753771331459,"targetScale":1.013313556100253},{"endTime":1753772681963,"species":"DragonFruit","mutations":[],"startTime":1753771781963,"targetScale":1.000000009483333}],"species":"DragonFruit","maturedAt":1753111363666,"plantedAt":1753111363666,"objectType":"plant"},"119":{"slots":[{"endTime":1753773919964,"species":"Lemon","mutations":[],"startTime":1753770319964,"targetScale":1.000000024610852},{"endTime":1753775720316,"species":"Lemon","mutations":[],"startTime":1753772120307,"targetScale":1.000002598996971},{"endTime":1753777520638,"species":"Lemon","mutations":[],"startTime":1753773920635,"targetScale":1.000000869463346},{"endTime":1753779326965,"species":"Lemon","mutations":[],"startTime":1753775721015,"targetScale":1.001653040800182},{"endTime":1753781124534,"species":"Lemon","mutations":[],"startTime":1753777521425,"targetScale":1.00086371373735},{"endTime":1753788715196,"species":"Lemon","mutations":[],"startTime":1753779335936,"targetScale":2.605350009092932}],"species":"Lemon","maturedAt":1753026819894,"plantedAt":1753026819894,"objectType":"plant"},"120":{"slots":[{"endTime":1753742361355,"species":"Mushroom","mutations":["Wet"],"startTime":1753520014792,"targetScale":2.573455593094062}],"species":"Mushroom","maturedAt":1753520014792,"plantedAt":1753520014792,"objectType":"plant"},"121":{"slots":[{"endTime":1753619754888,"species":"Mushroom","mutations":["Frozen"],"startTime":1753520015220,"targetScale":1.154394309174284}],"species":"Mushroom","maturedAt":1753520015220,"plantedAt":1753520015220,"objectType":"plant"},"122":{"slots":[{"endTime":1753786857429,"species":"Bamboo","mutations":[],"startTime":1753738378754,"targetScale":1.122191569269006}],"species":"Bamboo","maturedAt":1753738378754,"plantedAt":1753738378754,"objectType":"plant"},"123":{"slots":[{"endTime":1753781591696,"species":"Bamboo","mutations":[],"startTime":1753738380191,"targetScale":1.000266333093672}],"species":"Bamboo","maturedAt":1753738380191,"plantedAt":1753738380191,"objectType":"plant"},"124":{"slots":[{"endTime":1753782037450,"species":"Bamboo","mutations":[],"startTime":1753738381003,"targetScale":1.010565910923479}],"species":"Bamboo","maturedAt":1753738381003,"plantedAt":1753738381003,"objectType":"plant"},"125":{"slots":[{"endTime":1753781582288,"species":"Bamboo","mutations":[],"startTime":1753738382283,"targetScale":1.000000119311899}],"species":"Bamboo","maturedAt":1753738382283,"plantedAt":1753738382283,"objectType":"plant"},"126":{"slots":[{"endTime":1753781864271,"species":"Bamboo","mutations":[],"startTime":1753738383931,"targetScale":1.00648937356758}],"species":"Bamboo","maturedAt":1753738383931,"plantedAt":1753738383931,"objectType":"plant"},"127":{"slots":[{"endTime":1753781585020,"species":"Bamboo","mutations":[],"startTime":1753738384994,"targetScale":1.000000603529879}],"species":"Bamboo","maturedAt":1753738384994,"plantedAt":1753738384994,"objectType":"plant"},"128":{"slots":[{"endTime":1753781725949,"species":"Bamboo","mutations":[],"startTime":1753738385943,"targetScale":1.003240890794254}],"species":"Bamboo","maturedAt":1753738385943,"plantedAt":1753738385943,"objectType":"plant"},"129":{"slots":[{"endTime":1753781644144,"species":"Bamboo","mutations":[],"startTime":1753738386999,"targetScale":1.001322809193899}],"species":"Bamboo","maturedAt":1753738386999,"plantedAt":1753738386999,"objectType":"plant"},"130":{"slots":[{"endTime":1753769235193,"species":"Pepper","mutations":[],"startTime":1753768635193,"targetScale":1.000000934141126},{"endTime":1753770112308,"species":"Pepper","mutations":[],"startTime":1753768947013,"targetScale":1.942159927412234},{"endTime":1753769847376,"species":"Pepper","mutations":[],"startTime":1753769247373,"targetScale":1.000005756686491},{"endTime":1753770147811,"species":"Pepper","mutations":[],"startTime":1753769547811,"targetScale":1.000000808206762},{"endTime":1753770448275,"species":"Pepper","mutations":[],"startTime":1753769848274,"targetScale":1.000002082592785},{"endTime":1753770777297,"species":"Pepper","mutations":[],"startTime":1753770148603,"targetScale":1.047824886158877},{"endTime":1753771049108,"species":"Pepper","mutations":[],"startTime":1753770449108,"targetScale":1.000000029591392},{"endTime":1753771784084,"species":"Pepper","mutations":[],"startTime":1753770749591,"targetScale":1.724155612075367},{"endTime":1753771814936,"species":"Pepper","mutations":[],"startTime":1753771050082,"targetScale":1.274757289265407}],"species":"Pepper","maturedAt":1753038903849,"plantedAt":1753038903849,"objectType":"plant"},"131":{"slots":[{"endTime":1753779639781,"species":"Lemon","mutations":[],"startTime":1753770238617,"targetScale":2.6114344888933},{"endTime":1753780886511,"species":"Lemon","mutations":[],"startTime":1753772039153,"targetScale":2.457599675167888},{"endTime":1753779064729,"species":"Lemon","mutations":[],"startTime":1753773839653,"targetScale":1.451410074859077},{"endTime":1753779240369,"species":"Lemon","mutations":[],"startTime":1753775640178,"targetScale":1.000053069320788},{"endTime":1753781104053,"species":"Lemon","mutations":[],"startTime":1753777440825,"targetScale":1.017563444008385},{"endTime":1753782841414,"species":"Lemon","mutations":[],"startTime":1753779241383,"targetScale":1.000008803113311}],"species":"Lemon","maturedAt":1753489506347,"plantedAt":1753489506347,"objectType":"plant"},"132":{"slots":[{"endTime":1753769900564,"species":"DragonFruit","mutations":[],"startTime":1753769000541,"targetScale":1.000026173778858},{"endTime":1753770529213,"species":"DragonFruit","mutations":[],"startTime":1753769450943,"targetScale":1.198078422633375},{"endTime":1753770801335,"species":"DragonFruit","mutations":[],"startTime":1753769901335,"targetScale":1.000000202500573},{"endTime":1753771251870,"species":"DragonFruit","mutations":[],"startTime":1753770351870,"targetScale":1.000000211476662},{"endTime":1753771705302,"species":"DragonFruit","mutations":[],"startTime":1753770805302,"targetScale":1.000000715132304},{"endTime":1753772155697,"species":"DragonFruit","mutations":[],"startTime":1753771255679,"targetScale":1.000021018688034},{"endTime":1753772806345,"species":"DragonFruit","mutations":[],"startTime":1753771706215,"targetScale":1.222367113433667}],"species":"DragonFruit","maturedAt":1753490032490,"plantedAt":1753490032490,"objectType":"plant"},"133":{"slots":[{"endTime":1753771788947,"species":"Lychee","mutations":[],"startTime":1753769455144,"targetScale":1.29655722794559},{"endTime":1753772249566,"species":"Lychee","mutations":[],"startTime":1753770449557,"targetScale":1.000005368417818},{"endTime":1753774180645,"species":"Lychee","mutations":[],"startTime":1753771349906,"targetScale":1.57263285541793},{"endTime":1753774678546,"species":"Lychee","mutations":[],"startTime":1753772250396,"targetScale":1.348972591911069},{"endTime":1753775050827,"species":"Lychee","mutations":[],"startTime":1753773150752,"targetScale":1.055597314536834},{"endTime":1753775851235,"species":"Lychee","mutations":[],"startTime":1753774051234,"targetScale":1.000000644584318}],"species":"Lychee","maturedAt":1753490065635,"plantedAt":1753490065635,"objectType":"plant"},"134":{"slots":[{"endTime":1753688058136,"species":"Sunflower","mutations":["Wet"],"startTime":1753651612685,"targetScale":2.024747327320529}],"species":"Sunflower","maturedAt":1752953447971,"plantedAt":1752953447971,"objectType":"plant"},"135":{"slots":[{"endTime":1753669613497,"species":"Sunflower","mutations":["Frozen"],"startTime":1753651613442,"targetScale":1.000003100435158}],"species":"Sunflower","maturedAt":1752954048838,"plantedAt":1752954048838,"objectType":"plant"},"136":{"slots":[{"endTime":1753645353090,"species":"Lychee","mutations":["Frozen"],"startTime":1753643553090,"targetScale":1.00000003375922},{"endTime":1753648001642,"species":"Lychee","mutations":["Frozen"],"startTime":1753644453831,"targetScale":1.971006316263557},{"endTime":1753648942571,"species":"Lychee","mutations":["Frozen"],"startTime":1753645355323,"targetScale":1.992915831375857},{"endTime":1753648057526,"species":"Lychee","mutations":["Frozen"],"startTime":1753646255976,"targetScale":1.000861183148293},{"endTime":1753648956557,"species":"Lychee","mutations":["Frozen"],"startTime":1753647156533,"targetScale":1.000013369047147},{"endTime":1753650063842,"species":"Lychee","mutations":["Frozen"],"startTime":1753648057213,"targetScale":1.114794378841083}],"species":"Lychee","maturedAt":1753490070683,"plantedAt":1753490070683,"objectType":"plant"},"137":{"slots":[{"endTime":1753770272743,"species":"DragonFruit","mutations":[],"startTime":1753769083148,"targetScale":1.321772884550189},{"endTime":1753770438197,"species":"DragonFruit","mutations":[],"startTime":1753769533500,"targetScale":1.005219750851083},{"endTime":1753771052650,"species":"DragonFruit","mutations":[],"startTime":1753769983967,"targetScale":1.187426152198764},{"endTime":1753771348938,"species":"DragonFruit","mutations":[],"startTime":1753770434402,"targetScale":1.016151366691191},{"endTime":1753771784886,"species":"DragonFruit","mutations":[],"startTime":1753770884867,"targetScale":1.00002214752237},{"endTime":1753772235396,"species":"DragonFruit","mutations":[],"startTime":1753771335358,"targetScale":1.000042514621679},{"endTime":1753772685833,"species":"DragonFruit","mutations":[],"startTime":1753771785831,"targetScale":1.000002884151454}],"species":"DragonFruit","maturedAt":1752694522287,"plantedAt":1752694522287,"objectType":"plant"},"138":{"slots":[{"endTime":1753773932742,"species":"Lemon","mutations":[],"startTime":1753770332742,"targetScale":1.00000001272883},{"endTime":1753775923216,"species":"Lemon","mutations":[],"startTime":1753772133086,"targetScale":1.05281392850311},{"endTime":1753782406333,"species":"Lemon","mutations":[],"startTime":1753773933577,"targetScale":2.353543334842877},{"endTime":1753779334409,"species":"Lemon","mutations":[],"startTime":1753775733939,"targetScale":1.000130799050412},{"endTime":1753781134447,"species":"Lemon","mutations":[],"startTime":1753777534337,"targetScale":1.000030710827501},{"endTime":1753782951025,"species":"Lemon","mutations":[],"startTime":1753779334876,"targetScale":1.004485886912581}],"species":"Lemon","maturedAt":1753026805428,"plantedAt":1753026805428,"objectType":"plant"},"139":{"slots":[{"endTime":1753769631969,"species":"Pepper","mutations":[],"startTime":1753768697150,"targetScale":1.558032453488967},{"endTime":1753769597876,"species":"Pepper","mutations":[],"startTime":1753768997873,"targetScale":1.000005119856094},{"endTime":1753769898393,"species":"Pepper","mutations":[],"startTime":1753769298393,"targetScale":1.000000009330659},{"endTime":1753770198857,"species":"Pepper","mutations":[],"startTime":1753769598844,"targetScale":1.000021941935124},{"endTime":1753770501358,"species":"Pepper","mutations":[],"startTime":1753769899310,"targetScale":1.003414940398703},{"endTime":1753770799869,"species":"Pepper","mutations":[],"startTime":1753770199869,"targetScale":1.000000004302857},{"endTime":1753771112384,"species":"Pepper","mutations":[],"startTime":1753770504241,"targetScale":1.013571901921315},{"endTime":1753771527438,"species":"Pepper","mutations":[],"startTime":1753770804598,"targetScale":1.204734617405602},{"endTime":1753771705323,"species":"Pepper","mutations":[],"startTime":1753771105222,"targetScale":1.000169457871439}],"species":"Pepper","maturedAt":1753490334148,"plantedAt":1753490334148,"objectType":"plant"},"140":{"slots":[{"endTime":1753825480596,"species":"Mushroom","mutations":[],"startTime":1753738488388,"targetScale":1.006854259771107}],"species":"Mushroom","maturedAt":1753738488388,"plantedAt":1753738488388,"objectType":"plant"},"141":{"slots":[{"endTime":1753824887976,"species":"Mushroom","mutations":[],"startTime":1753738487858,"targetScale":1.000001373771212}],"species":"Mushroom","maturedAt":1753738487858,"plantedAt":1753738487858,"objectType":"plant"},"142":{"slots":[{"endTime":1753727438224,"species":"Bamboo","mutations":["Frozen"],"startTime":1753643322694,"targetScale":1.947118752724144}],"species":"Bamboo","maturedAt":1753643322694,"plantedAt":1753643322694,"objectType":"plant"},"143":{"slots":[{"endTime":1753781576177,"species":"Bamboo","mutations":[],"startTime":1753738375832,"targetScale":1.000007999285894}],"species":"Bamboo","maturedAt":1753738375832,"plantedAt":1753738375832,"objectType":"plant"},"144":{"slots":[{"endTime":1753781575019,"species":"Bamboo","mutations":[],"startTime":1753738375015,"targetScale":1.000000106162547}],"species":"Bamboo","maturedAt":1753738375015,"plantedAt":1753738375015,"objectType":"plant"},"145":{"slots":[{"endTime":1753692676915,"species":"Bamboo","mutations":["Wet"],"startTime":1753643314581,"targetScale":1.142646628370266}],"species":"Bamboo","maturedAt":1753643314581,"plantedAt":1753643314581,"objectType":"plant"},"146":{"slots":[{"endTime":1753686492177,"species":"Bamboo","mutations":["Gold","Frozen"],"startTime":1753643285276,"targetScale":1.000159747898966}],"species":"Bamboo","maturedAt":1753643285276,"plantedAt":1753643285276,"objectType":"plant"},"147":{"slots":[{"endTime":1753686481967,"species":"Bamboo","mutations":["Gold","Frozen"],"startTime":1753643281814,"targetScale":1.000003543325674}],"species":"Bamboo","maturedAt":1753643281814,"plantedAt":1753643281814,"objectType":"plant"},"148":{"slots":[{"endTime":1753686578839,"species":"Bamboo","mutations":["Gold","Frozen"],"startTime":1753643320154,"targetScale":1.001358462363892}],"species":"Bamboo","maturedAt":1753643320154,"plantedAt":1753643320154,"objectType":"plant"},"149":{"slots":[{"endTime":1753485659033,"species":"Bamboo","mutations":["Gold","Frozen"],"startTime":1753441974811,"targetScale":1.1404500122633}],"species":"Bamboo","maturedAt":1753441974811,"plantedAt":1753441974811,"objectType":"plant"},"150":{"slots":[{"endTime":1753769721733,"species":"Grape","mutations":[],"startTime":1753768785365,"targetScale":1.040408912489982}],"species":"Grape","maturedAt":1752365719600,"plantedAt":1752365719600,"objectType":"plant"},"151":{"slots":[{"endTime":1753769251552,"species":"Pepper","mutations":[],"startTime":1753768651551,"targetScale":1.000003306884843},{"endTime":1753769923194,"species":"Pepper","mutations":[],"startTime":1753768951938,"targetScale":1.618760854811361},{"endTime":1753769852317,"species":"Pepper","mutations":[],"startTime":1753769252312,"targetScale":1.000008621167936},{"endTime":1753770152647,"species":"Pepper","mutations":[],"startTime":1753769552647,"targetScale":1.000000128444174},{"endTime":1753770517560,"species":"Pepper","mutations":[],"startTime":1753769853017,"targetScale":1.107572415553921},{"endTime":1753771018039,"species":"Pepper","mutations":[],"startTime":1753770153366,"targetScale":1.44112282601523},{"endTime":1753771053886,"species":"Pepper","mutations":[],"startTime":1753770453692,"targetScale":1.000323689987754},{"endTime":1753771354063,"species":"Pepper","mutations":[],"startTime":1753770754063,"targetScale":1.000000017721541},{"endTime":1753771654823,"species":"Pepper","mutations":[],"startTime":1753771054420,"targetScale":1.000672975533323}],"species":"Pepper","maturedAt":1752971463091,"plantedAt":1752971463091,"objectType":"plant"},"152":{"slots":[{"endTime":1753773831947,"species":"Lemon","mutations":[],"startTime":1753770231529,"targetScale":1.000116249826843},{"endTime":1753776554472,"species":"Lemon","mutations":[],"startTime":1753772032101,"targetScale":1.25621429933739},{"endTime":1753777433736,"species":"Lemon","mutations":[],"startTime":1753773832625,"targetScale":1.000308782946296},{"endTime":1753779233979,"species":"Lemon","mutations":[],"startTime":1753775633034,"targetScale":1.000262663909057},{"endTime":1753781033560,"species":"Lemon","mutations":[],"startTime":1753777433527,"targetScale":1.000009285036415},{"endTime":1753782837243,"species":"Lemon","mutations":[],"startTime":1753779237227,"targetScale":1.000004650635212}],"species":"Lemon","maturedAt":1753489513523,"plantedAt":1753489513523,"objectType":"plant"},"153":{"slots":[{"endTime":1753769782133,"species":"DragonFruit","mutations":[],"startTime":1753768881383,"targetScale":1.000833530587546},{"endTime":1753770346924,"species":"DragonFruit","mutations":[],"startTime":1753769446924,"targetScale":1.000000392722191},{"endTime":1753770797472,"species":"DragonFruit","mutations":[],"startTime":1753769897472,"targetScale":1.000000008952866},{"endTime":1753771291438,"species":"DragonFruit","mutations":[],"startTime":1753770347838,"targetScale":1.048445396609685},{"endTime":1753771699353,"species":"DragonFruit","mutations":[],"startTime":1753770798209,"targetScale":1.001272011615358},{"endTime":1753772148754,"species":"DragonFruit","mutations":[],"startTime":1753771248754,"targetScale":1.000000043512029},{"endTime":1753772599141,"species":"DragonFruit","mutations":[],"startTime":1753771699139,"targetScale":1.000002290246749}],"species":"DragonFruit","maturedAt":1753490045001,"plantedAt":1753490045001,"objectType":"plant"},"154":{"slots":[{"endTime":1753771479771,"species":"Lychee","mutations":[],"startTime":1753769546767,"targetScale":1.073891222199907},{"endTime":1753772247100,"species":"Lychee","mutations":[],"startTime":1753770447075,"targetScale":1.000014256680087},{"endTime":1753773147409,"species":"Lychee","mutations":[],"startTime":1753771347404,"targetScale":1.000002876573789},{"endTime":1753774047800,"species":"Lychee","mutations":[],"startTime":1753772247748,"targetScale":1.000029150626807},{"endTime":1753774948060,"species":"Lychee","mutations":[],"startTime":1753773148060,"targetScale":1.000000322936141},{"endTime":1753776168280,"species":"Lychee","mutations":[],"startTime":1753774048418,"targetScale":1.177701638352313}],"species":"Lychee","maturedAt":1753490066744,"plantedAt":1753490066744,"objectType":"plant"},"155":{"slots":[{"endTime":1753771344220,"species":"Lychee","mutations":[],"startTime":1753769543697,"targetScale":1.000290667971222},{"endTime":1753772281017,"species":"Lychee","mutations":[],"startTime":1753770444196,"targetScale":1.020456191042643},{"endTime":1753773144490,"species":"Lychee","mutations":[],"startTime":1753771344489,"targetScale":1.000000679613193},{"endTime":1753774044985,"species":"Lychee","mutations":[],"startTime":1753772244963,"targetScale":1.000012716420075},{"endTime":1753774945851,"species":"Lychee","mutations":[],"startTime":1753773145423,"targetScale":1.000238260980184},{"endTime":1753775845930,"species":"Lychee","mutations":[],"startTime":1753774045930,"targetScale":1.00000054119359}],"species":"Lychee","maturedAt":1753490069419,"plantedAt":1753490069419,"objectType":"plant"},"156":{"slots":[{"endTime":1753769988288,"species":"DragonFruit","mutations":[],"startTime":1753769086847,"targetScale":1.001601407174958},{"endTime":1753770531125,"species":"DragonFruit","mutations":[],"startTime":1753769537372,"targetScale":1.104170607829098},{"endTime":1753770887834,"species":"DragonFruit","mutations":[],"startTime":1753769987834,"targetScale":1.000000657293244},{"endTime":1753771338376,"species":"DragonFruit","mutations":[],"startTime":1753770438313,"targetScale":1.000071012546351},{"endTime":1753771789058,"species":"DragonFruit","mutations":[],"startTime":1753770888803,"targetScale":1.000284186588327},{"endTime":1753772239158,"species":"DragonFruit","mutations":[],"startTime":1753771339149,"targetScale":1.000010792186451},{"endTime":1753772689517,"species":"DragonFruit","mutations":[],"startTime":1753771789517,"targetScale":1.000000206061891}],"species":"DragonFruit","maturedAt":1753275776866,"plantedAt":1753275776866,"objectType":"plant"},"157":{"slots":[{"endTime":1753773936271,"species":"Lemon","mutations":[],"startTime":1753770328992,"targetScale":1.002022091445797},{"endTime":1753775729859,"species":"Lemon","mutations":[],"startTime":1753772129500,"targetScale":1.000099838608768},{"endTime":1753779517004,"species":"Lemon","mutations":[],"startTime":1753773929983,"targetScale":1.551950462994083},{"endTime":1753779331308,"species":"Lemon","mutations":[],"startTime":1753775730308,"targetScale":1.000278031322292},{"endTime":1753781481418,"species":"Lemon","mutations":[],"startTime":1753777530859,"targetScale":1.09737773334841},{"endTime":1753782931325,"species":"Lemon","mutations":[],"startTime":1753779331325,"targetScale":1.000000040788183}],"species":"Lemon","maturedAt":1752949271200,"plantedAt":1752949271200,"objectType":"plant"},"158":{"slots":[{"endTime":1753769290269,"species":"Pepper","mutations":[],"startTime":1753768690264,"targetScale":1.000008409188911},{"endTime":1753769591022,"species":"Pepper","mutations":[],"startTime":1753768990863,"targetScale":1.000265875060894},{"endTime":1753769891526,"species":"Pepper","mutations":[],"startTime":1753769291525,"targetScale":1.000002776207189},{"endTime":1753770667516,"species":"Pepper","mutations":[],"startTime":1753769591965,"targetScale":1.792586017898214},{"endTime":1753770492547,"species":"Pepper","mutations":["Gold"],"startTime":1753769892547,"targetScale":1.000001008903558},{"endTime":1753770793332,"species":"Pepper","mutations":[],"startTime":1753770193322,"targetScale":1.000016878772346},{"endTime":1753771106691,"species":"Pepper","mutations":[],"startTime":1753770494990,"targetScale":1.019502048430211},{"endTime":1753771395412,"species":"Pepper","mutations":["Gold"],"startTime":1753770795412,"targetScale":1.000000009657742},{"endTime":1753771696219,"species":"Pepper","mutations":[],"startTime":1753771096020,"targetScale":1.000332111814189}],"species":"Pepper","maturedAt":1753490335588,"plantedAt":1753490335588,"objectType":"plant"},"159":{"slots":[{"endTime":1753769725852,"species":"Grape","mutations":[],"startTime":1753768825805,"targetScale":1.000052934933372}],"species":"Grape","maturedAt":1752337626537,"plantedAt":1752337626537,"objectType":"plant"},"160":{"slots":[{"endTime":1753477651380,"species":"Mushroom","mutations":["Frozen"],"startTime":1753391251286,"targetScale":1.425403175495372}],"species":"Mushroom","maturedAt":1753391251286,"plantedAt":1753391251286,"objectType":"plant"},"161":{"slots":[{"endTime":1753817534759,"species":"Mushroom","mutations":[],"startTime":1753731134613,"targetScale":1.000001699835093}],"species":"Mushroom","maturedAt":1753731134613,"plantedAt":1753731134613,"objectType":"plant"},"162":{"eggId":"UncommonEgg","maturedAt":1753754459006,"plantedAt":1753750859006,"objectType":"egg"},"163":{"eggId":"UncommonEgg","maturedAt":1753754459473,"plantedAt":1753750859473,"objectType":"egg"},"164":{"eggId":"RareEgg","maturedAt":1753772471452,"plantedAt":1753750871452,"objectType":"egg"},"165":{"eggId":"RareEgg","maturedAt":1753772471789,"plantedAt":1753750871789,"objectType":"egg"},"166":{"eggId":"RareEgg","maturedAt":1753775158267,"plantedAt":1753753558267,"objectType":"egg"},"167":{"eggId":"UncommonEgg","maturedAt":1753757165812,"plantedAt":1753753565812,"objectType":"egg"},"168":{"eggId":"CommonEgg","maturedAt":1753754171362,"plantedAt":1753753571362,"objectType":"egg"},"169":{"eggId":"CommonEgg","maturedAt":1753754171050,"plantedAt":1753753571050,"objectType":"egg"},"170":{"slots":[{"endTime":1753774413145,"species":"PassionFruit","mutations":[],"startTime":1753769686794,"targetScale":1.750500660301284},{"endTime":1753773791882,"species":"PassionFruit","mutations":[],"startTime":1753771041861,"targetScale":1.018526407739939}],"species":"PassionFruit","maturedAt":1753100245336,"plantedAt":1753100245336,"objectType":"plant"},"171":{"slots":[{"endTime":1753769687124,"species":"Grape","mutations":[],"startTime":1753768787124,"targetScale":1.000000068149335}],"species":"Grape","maturedAt":1752362159705,"plantedAt":1752362159705,"objectType":"plant"},"172":{"slots":[{"endTime":1753769255990,"species":"Pepper","mutations":[],"startTime":1753768655936,"targetScale":1.000090485292998},{"endTime":1753769556337,"species":"Pepper","mutations":[],"startTime":1753768956337,"targetScale":1.000000064832668},{"endTime":1753769856771,"species":"Pepper","mutations":[],"startTime":1753769256710,"targetScale":1.000101676324889},{"endTime":1753770157271,"species":"Pepper","mutations":[],"startTime":1753769557255,"targetScale":1.000027714386955},{"endTime":1753770617799,"species":"Pepper","mutations":[],"startTime":1753769857631,"targetScale":1.266947028237396},{"endTime":1753770758626,"species":"Pepper","mutations":[],"startTime":1753770158105,"targetScale":1.000869133290483},{"endTime":1753771223433,"species":"Pepper","mutations":[],"startTime":1753770458547,"targetScale":1.274810974241938},{"endTime":1753646178348,"species":"Pepper","mutations":["Gold","Wet"],"startTime":1753645578347,"targetScale":1.000002979249479},{"endTime":1753771365848,"species":"Pepper","mutations":[],"startTime":1753770765721,"targetScale":1.000212729183523}],"species":"Pepper","maturedAt":1752850571133,"plantedAt":1752850571133,"objectType":"plant"},"173":{"slots":[{"endTime":1753773828688,"species":"Lemon","mutations":[],"startTime":1753770228686,"targetScale":1.000000613905345},{"endTime":1753775629088,"species":"Lemon","mutations":[],"startTime":1753772029084,"targetScale":1.000001193031395},{"endTime":1753777429450,"species":"Lemon","mutations":[],"startTime":1753773829413,"targetScale":1.000010534640575},{"endTime":1753780520904,"species":"Lemon","mutations":[],"startTime":1753775629766,"targetScale":1.358649554728334},{"endTime":1753781515930,"species":"Lemon","mutations":[],"startTime":1753777430158,"targetScale":1.134936826634274},{"endTime":1753782953271,"species":"Lemon","mutations":[],"startTime":1753779230486,"targetScale":1.034107184518745}],"species":"Lemon","maturedAt":1752930091568,"plantedAt":1752930091568,"objectType":"plant"},"174":{"slots":[{"endTime":1753770063983,"species":"DragonFruit","mutations":[],"startTime":1753768989143,"targetScale":1.194266847700895},{"endTime":1753770385684,"species":"DragonFruit","mutations":[],"startTime":1753769439662,"targetScale":1.051136461334641},{"endTime":1753770790174,"species":"DragonFruit","mutations":[],"startTime":1753769890174,"targetScale":1.000000000767776},{"endTime":1753771271997,"species":"DragonFruit","mutations":[],"startTime":1753770340495,"targetScale":1.035002690155},{"endTime":1753771691022,"species":"DragonFruit","mutations":[],"startTime":1753770791018,"targetScale":1.000005036554535},{"endTime":1753772558085,"species":"DragonFruit","mutations":[],"startTime":1753771241499,"targetScale":1.462874069095168},{"endTime":1753772675513,"species":"DragonFruit","mutations":[],"startTime":1753771691846,"targetScale":1.092963805596318}],"species":"DragonFruit","maturedAt":1753038939920,"plantedAt":1753038939920,"objectType":"plant"},"175":{"slots":[{"endTime":1753770145175,"species":"DragonFruit","mutations":[],"startTime":1753768992970,"targetScale":1.280228392167701},{"endTime":1753770550749,"species":"DragonFruit","mutations":[],"startTime":1753769443348,"targetScale":1.230446225511626},{"endTime":1753771498207,"species":"DragonFruit","mutations":[],"startTime":1753769893722,"targetScale":1.782761517063974},{"endTime":1753771244114,"species":"DragonFruit","mutations":[],"startTime":1753770344112,"targetScale":1.000003001097322},{"endTime":1753771940386,"species":"DragonFruit","mutations":[],"startTime":1753770794628,"targetScale":1.27306530099038},{"endTime":1753772145460,"species":"DragonFruit","mutations":[],"startTime":1753771245011,"targetScale":1.000499080323637},{"endTime":1753772683706,"species":"DragonFruit","mutations":[],"startTime":1753771695369,"targetScale":1.098152503962563}],"species":"DragonFruit","maturedAt":1753015576969,"plantedAt":1753015576969,"objectType":"plant"},"176":{"slots":[{"endTime":1753773924681,"species":"Lemon","mutations":[],"startTime":1753770324675,"targetScale":1.000001874069477},{"endTime":1753775725955,"species":"Lemon","mutations":[],"startTime":1753772125015,"targetScale":1.000261383599301},{"endTime":1753777525518,"species":"Lemon","mutations":[],"startTime":1753773925518,"targetScale":1.000000090506287},{"endTime":1753783197515,"species":"Lemon","mutations":[],"startTime":1753775726019,"targetScale":2.075415613853228},{"endTime":1753787020283,"species":"Lemon","mutations":[],"startTime":1753777526377,"targetScale":2.637196312062641},{"endTime":1753782991635,"species":"Lemon","mutations":[],"startTime":1753779326763,"targetScale":1.018020183437305}],"species":"Lemon","maturedAt":1752930092235,"plantedAt":1752930092235,"objectType":"plant"},"177":{"slots":[{"endTime":1753769285460,"species":"Pepper","mutations":[],"startTime":1753768685459,"targetScale":1.000001816858239},{"endTime":1753769585842,"species":"Pepper","mutations":[],"startTime":1753768985842,"targetScale":1.00000031736176},{"endTime":1753769886223,"species":"Pepper","mutations":[],"startTime":1753769286223,"targetScale":1.000000000893955},{"endTime":1753770590477,"species":"Pepper","mutations":[],"startTime":1753769586601,"targetScale":1.67312684659727},{"endTime":1753770486986,"species":"Pepper","mutations":[],"startTime":1753769886984,"targetScale":1.000003596008813},{"endTime":1753770788523,"species":"Pepper","mutations":[],"startTime":1753770187351,"targetScale":1.001954529488662},{"endTime":1753771090678,"species":"Pepper","mutations":[],"startTime":1753770487873,"targetScale":1.004676364561605},{"endTime":1753771833651,"species":"Pepper","mutations":[],"startTime":1753770788352,"targetScale":1.742166585923974},{"endTime":1753771689368,"species":"Pepper","mutations":[],"startTime":1753771088722,"targetScale":1.001078092819839}],"species":"Pepper","maturedAt":1753490336986,"plantedAt":1753490336986,"objectType":"plant"},"178":{"slots":[{"endTime":1753769943365,"species":"Grape","mutations":[],"startTime":1753768826985,"targetScale":1.240423209248778}],"species":"Grape","maturedAt":1752337627767,"plantedAt":1752337627767,"objectType":"plant"},"179":{"slots":[{"endTime":1753772424462,"species":"PassionFruit","mutations":[],"startTime":1753769724234,"targetScale":1.000084468140104},{"endTime":1753773774635,"species":"PassionFruit","mutations":[],"startTime":1753771074629,"targetScale":1.000002423631268}],"species":"PassionFruit","maturedAt":1752928082107,"plantedAt":1752928082107,"objectType":"plant"},"180":{"slots":[{"endTime":1753501005037,"species":"Mushroom","mutations":["Gold","Frozen"],"startTime":1753356407537,"targetScale":2.38552675356284}],"species":"Mushroom","maturedAt":1753356407537,"plantedAt":1753356407537,"objectType":"plant"},"181":{"slots":[{"endTime":1753820420380,"species":"Mushroom","mutations":[],"startTime":1753731135461,"targetScale":1.033390272943421}],"species":"Mushroom","maturedAt":1753731135461,"plantedAt":1753731135461,"objectType":"plant"},"182":{"eggId":"RareEgg","maturedAt":1753757748910,"plantedAt":1753736148910,"objectType":"egg"},"183":{"eggId":"UncommonEgg","maturedAt":1753754459800,"plantedAt":1753750859800,"objectType":"egg"},"184":{"eggId":"UncommonEgg","maturedAt":1753754460312,"plantedAt":1753750860312,"objectType":"egg"},"185":{"eggId":"RareEgg","maturedAt":1753772472260,"plantedAt":1753750872260,"objectType":"egg"},"186":{"eggId":"RareEgg","maturedAt":1753772472555,"plantedAt":1753750872555,"objectType":"egg"},"187":{"eggId":"RareEgg","maturedAt":1753775159253,"plantedAt":1753753559253,"objectType":"egg"},"188":{"eggId":"CommonEgg","maturedAt":1753754171774,"plantedAt":1753753571774,"objectType":"egg"},"189":{"slots":[{"endTime":1753858737048,"species":"Sunflower","mutations":[],"startTime":1753831603213,"targetScale":1.507435313110194}],"species":"Sunflower","maturedAt":1753805672421.146,"plantedAt":1753736203213,"objectType":"plant"},"190":{"slots":[{"endTime":1753755056790,"species":"Sunflower","mutations":["Wet"],"startTime":1753736477456,"targetScale":1.03218527288346}],"species":"Sunflower","maturedAt":1753674441109.01,"plantedAt":1753641077456,"objectType":"plant"},"191":{"slots":[{"endTime":1753772448001,"species":"PassionFruit","mutations":[],"startTime":1753769690400,"targetScale":1.021333729540076},{"endTime":1753773878252,"species":"PassionFruit","mutations":[],"startTime":1753771040871,"targetScale":1.0508820745612}],"species":"PassionFruit","maturedAt":1752971206564,"plantedAt":1752971206564,"objectType":"plant"},"192":{"slots":[{"endTime":1753769689332,"species":"Grape","mutations":[],"startTime":1753768789244,"targetScale":1.00009873740083}],"species":"Grape","maturedAt":1752362160451,"plantedAt":1752362160451,"objectType":"plant"},"193":{"slots":[{"endTime":1753769560144,"species":"Pepper","mutations":[],"startTime":1753768638229,"targetScale":1.536525884010476},{"endTime":1753769551541,"species":"Pepper","mutations":[],"startTime":1753768938590,"targetScale":1.021585835419935},{"endTime":1753769839974,"species":"Pepper","mutations":[],"startTime":1753769238930,"targetScale":1.001740267580457},{"endTime":1753770167284,"species":"Pepper","mutations":[],"startTime":1753769567222,"targetScale":1.000104138084947},{"endTime":1753770488182,"species":"Pepper","mutations":[],"startTime":1753769867621,"targetScale":1.034269072237117},{"endTime":1753770768197,"species":"Pepper","mutations":[],"startTime":1753770168161,"targetScale":1.000061429844289},{"endTime":1753771068761,"species":"Pepper","mutations":[],"startTime":1753770468665,"targetScale":1.000160918429512},{"endTime":1753771369153,"species":"Pepper","mutations":[],"startTime":1753770769152,"targetScale":1.000001834892154},{"endTime":1753772263882,"species":"Pepper","mutations":[],"startTime":1753771069639,"targetScale":1.990405427982059}],"species":"Pepper","maturedAt":1752838467118,"plantedAt":1752838467118,"objectType":"plant"},"194":{"slots":[{"endTime":1753773824612,"species":"Lemon","mutations":[],"startTime":1753770221491,"targetScale":1.000866980426441},{"endTime":1753775623351,"species":"Lemon","mutations":[],"startTime":1753772022010,"targetScale":1.000372565458867},{"endTime":1753778183810,"species":"Lemon","mutations":[],"startTime":1753773822460,"targetScale":1.211486276919186},{"endTime":1753779318145,"species":"Lemon","mutations":[],"startTime":1753775622816,"targetScale":1.02648034254249},{"endTime":1753781456919,"species":"Lemon","mutations":[],"startTime":1753777423281,"targetScale":1.120455192027943},{"endTime":1753782825671,"species":"Lemon","mutations":[],"startTime":1753779223771,"targetScale":1.000527924711649}],"species":"Lemon","maturedAt":1752918664792,"plantedAt":1752918664792,"objectType":"plant"},"195":{"slots":[{"endTime":1753773827156,"species":"Lemon","mutations":[],"startTime":1753770224801,"targetScale":1.000654297884547},{"endTime":1753777896518,"species":"Lemon","mutations":[],"startTime":1753772025318,"targetScale":1.630888956792449},{"endTime":1753777443857,"species":"Lemon","mutations":[],"startTime":1753773825716,"targetScale":1.005039190619282},{"endTime":1753779226239,"species":"Lemon","mutations":[],"startTime":1753775626182,"targetScale":1.000015901792743},{"endTime":1753781129619,"species":"Lemon","mutations":[],"startTime":1753777426536,"targetScale":1.028634253128333},{"endTime":1753787802992,"species":"Lemon","mutations":[],"startTime":1753779227046,"targetScale":2.382207326364817}],"species":"Lemon","maturedAt":1752918665347,"plantedAt":1752918665347,"objectType":"plant"},"196":{"slots":[{"endTime":1753769509669,"species":"Pepper","mutations":[],"startTime":1753768678821,"targetScale":1.384747058393297},{"endTime":1753769579191,"species":"Pepper","mutations":[],"startTime":1753768979191,"targetScale":1.000000134713159},{"endTime":1753769879562,"species":"Pepper","mutations":[],"startTime":1753769279562,"targetScale":1.000000659142479},{"endTime":1753770384058,"species":"Pepper","mutations":[],"startTime":1753769579956,"targetScale":1.340170417062399},{"endTime":1753770820489,"species":"Pepper","mutations":[],"startTime":1753769880320,"targetScale":1.56694981074811},{"endTime":1753770780714,"species":"Pepper","mutations":[],"startTime":1753770180714,"targetScale":1.000000881232177},{"endTime":1753771081090,"species":"Pepper","mutations":[],"startTime":1753770481090,"targetScale":1.000000151151169},{"endTime":1753771381434,"species":"Pepper","mutations":[],"startTime":1753770781418,"targetScale":1.000027170554585},{"endTime":1753771681821,"species":"Pepper","mutations":[],"startTime":1753771081821,"targetScale":1.000000055385857}],"species":"Pepper","maturedAt":1753490338268,"plantedAt":1753490338268,"objectType":"plant"},"197":{"slots":[{"endTime":1753769727901,"species":"Grape","mutations":[],"startTime":1753768827747,"targetScale":1.000171973046863}],"species":"Grape","maturedAt":1752356424170,"plantedAt":1752356424170,"objectType":"plant"},"198":{"slots":[{"endTime":1753772422170,"species":"PassionFruit","mutations":[],"startTime":1753769722170,"targetScale":1.000000051551358},{"endTime":1753773772569,"species":"PassionFruit","mutations":[],"startTime":1753771072565,"targetScale":1.000001654173581}],"species":"PassionFruit","maturedAt":1752971205923,"plantedAt":1752971205923,"objectType":"plant"},"199":{"slots":[{"endTime":1753775003515,"species":"Sunflower","mutations":[],"startTime":1753736480502,"targetScale":2.140167443981193}],"species":"Sunflower","maturedAt":1753674444155.01,"plantedAt":1753641080502,"objectType":"plant"}}}'),s1t=[{id:"89455f22-cca3-482e-9595-3574736e0f5a",xp:151982.4006616079,name:"hunger",hunger:0,abilities:["HungerBoost"],mutations:[],petSpecies:"Cow",targetScale:1.710136919893036},{id:"f6091f9f-41e3-4159-bfc5-6c08aa3da49c",xp:128218.5048680706,name:"groth+seed",hunger:0,abilities:["PlantGrowthBoost","SeedFinderII"],mutations:[],petSpecies:"Cow",targetScale:1.000031065055101},{id:"8d46349d-f5ac-4d97-8e04-8c0232974ab4",xp:56294.000137433,name:"hatch+sell 2",hunger:0,abilities:["PetHatchSizeBoost","SellBoostII"],mutations:[],petSpecies:"Pig",targetScale:1.036389544321632}],o1t=JSON.parse('{"items":[{"toolId":"Shovel","itemType":"Tool","quantity":1},{"toolId":"PlanterPot","itemType":"Tool","quantity":1010},{"species":"Lemon","itemType":"Seed","quantity":11},{"species":"Bamboo","itemType":"Seed","quantity":80},{"species":"Carrot","itemType":"Seed","quantity":4546},{"species":"OrangeTulip","itemType":"Seed","quantity":1567},{"species":"Mushroom","itemType":"Seed","quantity":3003},{"species":"Watermelon","itemType":"Seed","quantity":235},{"species":"Pumpkin","itemType":"Seed","quantity":110},{"species":"Daffodil","itemType":"Seed","quantity":125},{"species":"Strawberry","itemType":"Seed","quantity":982},{"species":"Blueberry","itemType":"Seed","quantity":880},{"species":"Tomato","itemType":"Seed","quantity":628},{"species":"Coconut","itemType":"Seed","quantity":28},{"species":"Corn","itemType":"Seed","quantity":180},{"species":"Banana","itemType":"Seed","quantity":84},{"species":"DragonFruit","itemType":"Seed","quantity":18},{"species":"PassionFruit","itemType":"Seed","quantity":27},{"species":"Lychee","itemType":"Seed","quantity":6},{"id":"d67afff6-e452-4f39-8947-a8e2d5b6cd3e","scale":1.577092648590539,"species":"Lychee","itemType":"Produce","mutations":["Gold","Frozen"]},{"id":"bd422853-15f9-40ac-927e-99d9cf6a7660","scale":1.383779827452143,"species":"Lychee","itemType":"Produce","mutations":["Rainbow","Frozen"]},{"id":"d5668058-bf9d-4bc7-baa3-1d87e768e6ae","scale":2.5,"species":"Sunflower","itemType":"Produce","mutations":["Frozen"]},{"id":"9b2a090c-63f4-431a-8f8b-4d167c1d788b","xp":6,"name":"useless","hunger":1996.874009127992,"itemType":"Pet","abilities":["CoinFinderI"],"mutations":[],"petSpecies":"Snail","targetScale":1.476151870595542},{"id":"f78086c1-3211-4ff1-8986-90b3e96efaf5","xp":7200.000000000301,"name":"groth","hunger":0,"itemType":"Pet","abilities":["PlantGrowthBoost"],"mutations":[],"petSpecies":"Cow","targetScale":1.000048387167554},{"id":"9b71e4d4-f591-49b3-89aa-ec307f6b6599","xp":15,"name":"groth","hunger":1496875.000000001,"itemType":"Pet","abilities":["PlantGrowthBoost"],"mutations":[],"petSpecies":"Cow","targetScale":1.000132980495131},{"id":"9bd85034-768b-4e9b-8a03-5fce551baafe","xp":28562.76447820736,"name":"seed+groth","hunger":0,"itemType":"Pet","abilities":["SeedFinderII","PlantGrowthBoost"],"mutations":[],"petSpecies":"Cow","targetScale":1.002047003981432},{"id":"c76b198f-9b76-429f-8f74-95e2806cab07","xp":7200.000000000304,"name":"seed","hunger":0,"itemType":"Pet","abilities":["SeedFinderII"],"mutations":[],"petSpecies":"Cow","targetScale":1.001332469637012},{"id":"e8fd5420-8335-48a1-acd9-05f3739fba39","xp":7835.521506743137,"name":"hunger","hunger":0,"itemType":"Pet","abilities":["HungerBoost"],"mutations":[],"petSpecies":"Cow","targetScale":1.000249688128769},{"id":"bbd2a1c8-6803-4727-b853-7c6f4c513f26","xp":7324.35666830756,"name":"size sell","hunger":0,"itemType":"Pet","abilities":["PetHatchSizeBoost","SellBoostII"],"mutations":[],"petSpecies":"Pig","targetScale":1.261486431301637},{"id":"7fdad5bb-3be2-4d8b-9049-6e1c565500f7","xp":932,"name":"hatch","hunger":370633.8688156727,"itemType":"Pet","abilities":["PetHatchSizeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.000000188545022},{"id":"29d22e4c-af12-46bd-ac74-b86b89ce796d","xp":24,"name":"hatch","hunger":496736.0022819986,"itemType":"Pet","abilities":["PetHatchSizeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.000000062632493},{"id":"7e931c94-04dc-41ad-b372-ac7f6b65e3dc","xp":21,"name":"age","hunger":497083.3333333337,"itemType":"Pet","abilities":["PetAgeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.000022632319497},{"id":"af9f14e5-5833-45fa-bede-8e2451ff1cef","xp":3600.000000000238,"name":"age","hunger":0,"itemType":"Pet","abilities":["PetAgeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.606366939693404},{"id":"28025da2-0491-4ae7-b5d5-0336dc34eb42","xp":13,"name":"age+hatch","hunger":498194.4444444446,"itemType":"Pet","abilities":["PetAgeBoost","PetHatchSizeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.082653493621058},{"id":"249ef051-4afd-46cd-988f-5379df1657e6","xp":3600.46133629613,"name":"sell 2","hunger":0,"itemType":"Pet","abilities":["SellBoostII"],"mutations":[],"petSpecies":"Pig","targetScale":1.00184398885944},{"id":"ef95885a-65b2-44ec-9580-cf8bc05f9b0c","xp":13,"name":"hatch","hunger":498194.4444444446,"itemType":"Pet","abilities":["PetHatchSizeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.082848272134724},{"id":"486b4753-e99c-4d01-a566-67ac357d0feb","xp":3600.000000000238,"name":"sell","hunger":0,"itemType":"Pet","abilities":["SellBoostII"],"mutations":[],"petSpecies":"Pig","targetScale":1.000659222726457},{"id":"43a07593-5f47-4906-ba3d-9adb9b5107b6","xp":10,"name":"hatch sell2","hunger":498611.1111111112,"itemType":"Pet","abilities":["PetHatchSizeBoost","SellBoostII"],"mutations":[],"petSpecies":"Pig","targetScale":1.022252998051765},{"id":"c7369252-69e3-4638-87e4-2cf84f972f40","xp":4,"name":null,"hunger":499483.210425165,"itemType":"Pet","abilities":["PetHatchSizeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.010140092520053},{"id":"40f4f1f9-aa3d-4cd4-9d91-730c7a351e37","xp":12,"name":"hatch","hunger":498333.3333333335,"itemType":"Pet","abilities":["PetHatchSizeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.082654151962716},{"id":"d5d7cf19-5e96-4e7d-a21c-d10e9d8df3e8","xp":3600.000000000238,"name":"sell","hunger":0,"itemType":"Pet","abilities":["SellBoostII"],"mutations":[],"petSpecies":"Pig","targetScale":1.00054089565647},{"id":"ea2449a1-7370-475f-94bd-09f4646e5d6c","xp":842,"name":"size","hunger":383166.3103765483,"itemType":"Pet","abilities":["PetHatchSizeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.00039309927538},{"id":"bf4c905b-6165-45a1-a6e1-02dfa7ab0a32","xp":3635.956860926177,"name":"age","hunger":0,"itemType":"Pet","abilities":["PetAgeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.005770162299987},{"id":"e9e11a39-a6e5-44de-9617-89576092799c","xp":879,"name":"age","hunger":383594.1109548677,"itemType":"Pet","abilities":["PetAgeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.111314141671061},{"id":"b85fa46e-4dab-4e96-8844-1d480500b9bb","xp":3773.866571303224,"name":"size","hunger":0,"itemType":"Pet","abilities":["PetHatchSizeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.311191239457926},{"id":"ed4206e9-6caf-4a60-834b-6015f2a9317c","xp":3600.000000000238,"name":"age+sell2","hunger":0,"itemType":"Pet","abilities":["PetAgeBoost","SellBoostII"],"mutations":[],"petSpecies":"Pig","targetScale":1.082653296805122},{"id":"4c21f8a4-64dd-4f05-b543-d46ae6af76a5","xp":9780.689880000215,"name":"groth","hunger":0,"itemType":"Pet","abilities":["PlantGrowthBoost"],"mutations":[],"petSpecies":"Cow","targetScale":1.000049076279842},{"id":"43c4772f-25d9-4cbd-b235-75261ed03229","xp":3611.657191909707,"name":"groth+refund","hunger":0,"itemType":"Pet","abilities":["EggGrowthBoost","PetRefund"],"mutations":[],"petSpecies":"Chicken","targetScale":1.000000030385233},{"id":"ddb9a50a-5dcd-4bb1-b65d-b0738c2b7c7c","xp":193,"name":"refund","hunger":14202.27845303736,"itemType":"Pet","abilities":["EggGrowthBoost","PetRefund"],"mutations":[],"petSpecies":"Chicken","targetScale":1.082653239780288},{"id":"9d1a9e4c-16a1-4955-b280-0058a3237eae","xp":3,"name":null,"hunger":14988.34066778747,"itemType":"Pet","abilities":["PetRefund"],"mutations":[],"petSpecies":"Chicken","targetScale":1.026630609171841},{"id":"c7411146-035d-47b3-901b-6468b7f490cb","xp":18028.9999999998,"name":"groth+gold","hunger":0,"itemType":"Pet","abilities":["EggGrowthBoost","GoldGranter"],"mutations":["Gold"],"petSpecies":"Chicken","targetScale":1.000001915258641},{"id":"c9d63224-4a96-47c5-9c21-466cf2c1366c","xp":18945.29400000027,"name":"coin+gold","hunger":0,"itemType":"Pet","abilities":["CoinFinderII","GoldGranter"],"mutations":["Gold"],"petSpecies":"Bunny","targetScale":1.000027337133804},{"id":"ad00cfab-389b-45a3-8e91-120d8f1f2711","xp":4230.652785756989,"name":"produce+muta","hunger":0,"itemType":"Pet","abilities":["ProduceScaleBoost","ProduceMutationBoost"],"mutations":[],"petSpecies":"Bee","targetScale":1.82953754763075},{"id":"2fe2f2ce-6710-4a72-a8bd-ae8ddb6ce5f5","xp":973.4612488143821,"name":"mutation","hunger":0,"itemType":"Pet","abilities":["ProduceMutationBoost"],"mutations":[],"petSpecies":"Bee","targetScale":1.75358979357251},{"id":"8c83f423-a42e-4cc8-b58c-3ca37f8fa705","xp":900.5367323779384,"name":"mutation","hunger":0,"itemType":"Pet","abilities":["ProduceMutationBoost"],"mutations":[],"petSpecies":"Bee","targetScale":1.108050515748027},{"id":"730c1beb-2a9d-4ca1-a6e5-ed71427204cd","xp":7,"name":"mutation","hunger":2976.666666666666,"itemType":"Pet","abilities":["ProduceMutationBoost"],"mutations":[],"petSpecies":"Bee","targetScale":1.000057476235799},{"id":"36166488-617b-45d4-9f10-f1b09679e86b","xp":0,"name":null,"hunger":3000,"itemType":"Pet","abilities":["ProduceScaleBoost"],"mutations":[],"petSpecies":"Bee","targetScale":1.180119987282252},{"id":"f7ab3e29-9ed8-4500-a186-3beb88d05fea","xp":0,"name":null,"hunger":3000,"itemType":"Pet","abilities":["ProduceMutationBoost","ProduceScaleBoost"],"mutations":[],"petSpecies":"Bee","targetScale":1.000044349118803},{"id":"55d03435-224e-4a25-9827-4d28d69c6ceb","xp":0,"name":null,"hunger":3000,"itemType":"Pet","abilities":["ProduceScaleBoost"],"mutations":[],"petSpecies":"Bee","targetScale":1.002423973295334},{"id":"d02a11dc-7cc5-4a40-b2c7-4c9df2cde619","xp":0,"name":null,"hunger":3000,"itemType":"Pet","abilities":["ProduceScaleBoost"],"mutations":[],"petSpecies":"Bee","targetScale":1.000327348247338},{"id":"3d7fdaf6-485d-42e3-9ec1-71500f56f42c","xp":0,"name":null,"hunger":3000,"itemType":"Pet","abilities":["ProduceMutationBoost"],"mutations":[],"petSpecies":"Bee","targetScale":1.000676867637314},{"id":"aca64252-65c4-41c9-8f70-55aca3477392","xp":0,"name":null,"hunger":3000,"itemType":"Pet","abilities":["ProduceScaleBoost"],"mutations":[],"petSpecies":"Bee","targetScale":1.000704657897313},{"id":"0909623f-d525-40c2-930d-6826037a9d3a","xp":0,"name":null,"hunger":1000,"itemType":"Pet","abilities":["SeedFinderI","ProduceEater","GoldGranter"],"mutations":["Gold"],"petSpecies":"Worm","targetScale":1.023067683204945},{"id":"66d26ab9-fa99-4dbd-ba45-56206dffb7c8","xp":13,"name":"hatch","hunger":498194.4444444446,"itemType":"Pet","abilities":["PetHatchSizeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.053918665027884},{"id":"39f67907-62b6-40a6-bf32-c7c126042c28","xp":7,"name":"hatch","hunger":499027.7777777779,"itemType":"Pet","abilities":["PetHatchSizeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.382572696129034},{"id":"ec4847ad-b3a2-4721-96cf-36e6a24b12b0","xp":8,"name":"age hatch","hunger":498888.888888889,"itemType":"Pet","abilities":["PetAgeBoost","PetHatchSizeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.070730538810063},{"id":"0b87544b-5347-4a17-848f-5bc515b845a9","xp":0,"name":null,"hunger":3000,"itemType":"Pet","abilities":["ProduceMutationBoost"],"mutations":[],"petSpecies":"Bee","targetScale":1.084284592672111},{"id":"83418a93-7527-4c3f-bc71-f0010550d10d","xp":0,"name":null,"hunger":3000,"itemType":"Pet","abilities":["ProduceScaleBoost"],"mutations":[],"petSpecies":"Bee","targetScale":1.000383635237747},{"id":"4606a316-19ea-4860-b555-e71affa3214f","xp":0,"name":null,"hunger":500000,"itemType":"Pet","abilities":["PetAgeBoost"],"mutations":[],"petSpecies":"Pig","targetScale":1.00000004876754},{"species":"Pepper","itemType":"Seed","quantity":1},{"id":"cf94ae56-265f-4530-a7fe-5f2be3bf7bb3","xp":0,"name":null,"hunger":500000,"itemType":"Pet","abilities":["SellBoostII"],"mutations":[],"petSpecies":"Pig","targetScale":1.000000070639943},{"id":"f6ff1ee9-8d81-4314-9d1b-b48ecce90eb4","xp":0,"name":null,"hunger":3000,"itemType":"Pet","abilities":["ProduceMutationBoost"],"mutations":[],"petSpecies":"Bee","targetScale":1.256100186925317},{"id":"3bcc1166-d744-486d-aabe-3ee1852ff537","xp":0,"name":null,"hunger":2000,"itemType":"Pet","abilities":["CoinFinderI","GoldGranter"],"mutations":["Gold"],"petSpecies":"Snail","targetScale":1.317451665645326},{"id":"f8c3f798-4aaa-4a7c-9a83-e730ea8e52b6","xp":0,"name":null,"hunger":3000,"itemType":"Pet","abilities":["ProduceMutationBoost"],"mutations":[],"petSpecies":"Bee","targetScale":1.000000165979391},{"eggId":"CommonEgg","itemType":"Egg","quantity":16},{"eggId":"UncommonEgg","itemType":"Egg","quantity":1},{"id":"2484484b-c3f2-4e01-aaa2-8cc3258def57","scale":1.000464897099022,"species":"Lychee","itemType":"Produce","mutations":["Frozen"]},{"id":"c4ca33e4-ced5-4f96-baae-e63189e50c15","scale":1.000001211670574,"species":"Lychee","itemType":"Produce","mutations":["Frozen"]},{"id":"b88d1b2f-611d-49a6-83a9-7cd7bd2c6f51","scale":1.030107003010477,"species":"Lychee","itemType":"Produce","mutations":["Frozen"]},{"id":"683cf74e-cea9-45fe-b99e-4e378a61826b","scale":1.000309177948824,"species":"Lychee","itemType":"Produce","mutations":["Frozen"]},{"id":"251d75dd-e35b-40e6-ad48-0d895efae12c","scale":1.429758752320918,"species":"Lychee","itemType":"Produce","mutations":["Frozen"]},{"id":"8d0d0d03-3ae8-4990-a60b-321c27c5ab33","scale":1.000043605509362,"species":"Lychee","itemType":"Produce","mutations":["Frozen"]},{"id":"6741f4f1-46ca-43e1-9c96-102f845c741c","scale":1.054621349856493,"species":"Lychee","itemType":"Produce","mutations":["Frozen"]},{"id":"29f5dee5-492f-4ed8-809c-eac3ba0bcab7","scale":1.000124988085215,"species":"Lychee","itemType":"Produce","mutations":["Frozen"]},{"id":"c3828d65-a58c-485d-83a2-b9ca93a7888c","scale":1.018892809941557,"species":"Lychee","itemType":"Produce","mutations":["Frozen"]},{"id":"d2ad62f8-65ca-45d8-bd7c-ccc30620206d","scale":1.214127168032151,"species":"Lychee","itemType":"Produce","mutations":["Frozen"]}],"favoritedItemIds":["c9d63224-4a96-47c5-9c21-466cf2c1366c","c7411146-035d-47b3-901b-6468b7f490cb","f78086c1-3211-4ff1-8986-90b3e96efaf5","89455f22-cca3-482e-9595-3574736e0f5a","f6091f9f-41e3-4159-bfc5-6c08aa3da49c","9bd85034-768b-4e9b-8a03-5fce551baafe","d67afff6-e452-4f39-8947-a8e2d5b6cd3e","c76b198f-9b76-429f-8f74-95e2806cab07","4c21f8a4-64dd-4f05-b543-d46ae6af76a5","bd422853-15f9-40ac-927e-99d9cf6a7660","b85fa46e-4dab-4e96-8844-1d480500b9bb","bf4c905b-6165-45a1-a6e1-02dfa7ab0a32","af9f14e5-5833-45fa-bede-8e2451ff1cef","d5d7cf19-5e96-4e7d-a21c-d10e9d8df3e8","2fe2f2ce-6710-4a72-a8bd-ae8ddb6ce5f5","8c83f423-a42e-4cc8-b58c-3ca37f8fa705","seed-Mushroom","7fdad5bb-3be2-4d8b-9049-6e1c565500f7","249ef051-4afd-46cd-988f-5379df1657e6","e8fd5420-8335-48a1-acd9-05f3739fba39","bbd2a1c8-6803-4727-b853-7c6f4c513f26","ad00cfab-389b-45a3-8e91-120d8f1f2711","d5668058-bf9d-4bc7-baa3-1d87e768e6ae","28025da2-0491-4ae7-b5d5-0336dc34eb42","486b4753-e99c-4d01-a566-67ac357d0feb","40f4f1f9-aa3d-4cd4-9d91-730c7a351e37","ed4206e9-6caf-4a60-834b-6015f2a9317c","ef95885a-65b2-44ec-9580-cf8bc05f9b0c","9b71e4d4-f591-49b3-89aa-ec307f6b6599","ddb9a50a-5dcd-4bb1-b65d-b0738c2b7c7c","9d1a9e4c-16a1-4955-b280-0058a3237eae","43c4772f-25d9-4cbd-b235-75261ed03229","seed-Daffodil","9b2a090c-63f4-431a-8f8b-4d167c1d788b","29d22e4c-af12-46bd-ac74-b86b89ce796d","7e931c94-04dc-41ad-b372-ac7f6b65e3dc","e9e11a39-a6e5-44de-9617-89576092799c","ea2449a1-7370-475f-94bd-09f4646e5d6c","730c1beb-2a9d-4ca1-a6e5-ed71427204cd","36166488-617b-45d4-9f10-f1b09679e86b","f7ab3e29-9ed8-4500-a186-3beb88d05fea","c7369252-69e3-4638-87e4-2cf84f972f40","55d03435-224e-4a25-9827-4d28d69c6ceb","d02a11dc-7cc5-4a40-b2c7-4c9df2cde619","43a07593-5f47-4906-ba3d-9adb9b5107b6","3d7fdaf6-485d-42e3-9ec1-71500f56f42c","aca64252-65c4-41c9-8f70-55aca3477392","0909623f-d525-40c2-930d-6826037a9d3a","66d26ab9-fa99-4dbd-ba45-56206dffb7c8","39f67907-62b6-40a6-bf32-c7c126042c28","ec4847ad-b3a2-4721-96cf-36e6a24b12b0","83418a93-7527-4c3f-bc71-f0010550d10d","0b87544b-5347-4a17-848f-5bc515b845a9","4606a316-19ea-4860-b555-e71affa3214f","f6ff1ee9-8d81-4314-9d1b-b48ecce90eb4","3bcc1166-d744-486d-aabe-3ee1852ff537","f8c3f798-4aaa-4a7c-9a83-e730ea8e52b6","cf94ae56-265f-4530-a7fe-5f2be3bf7bb3"]}'),l1t=3268423372,c1t=4,u1t={egg:{createdAt:1753767900412,purchases:{}},seed:{createdAt:1753768500412,purchases:{}},tool:{createdAt:1753768200412,purchases:{}}},d1t={egg:null,seed:null,tool:null},p1t={produceJournal:{},petJournal:{}},h1t={garden:a1t,petSlots:s1t,inventory:o1t,coinsCount:l1t,schemaVersion:c1t,shopPurchases:u1t,customRestocks:d1t,journal:p1t};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Bee=[xgt,Igt,Ngt,Kgt,i1t,h1t];function iye(e){const t=e%Bee.length,r=Bee[t];return r?r.garden:{tileObjects:{},boardwalkTileObjects:{}}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ql=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/baseAtoms.ts/quinoaDataAtom",Me(e=>{var r,n;const t=e(TLe);return((r=t.child)==null?void 0:r.scope)!=="Quinoa"?{...SLe}:(n=t.child)==null?void 0:n.data}));ql.debugLabel="quinoaDataAtom";const Ws=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/baseAtoms.ts/currentTimeAtom",Me(e=>e(ql).currentTime));Ws.debugLabel="currentTimeAtom";const f1t=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/baseAtoms.ts/shopsAtom",Me(e=>e(ql).shops));f1t.debugLabel="shopsAtom";const hu=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/baseAtoms.ts/weatherAtom",Me(e=>e(ql).weather));hu.debugLabel="weatherAtom";const Hs=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/baseAtoms.ts/userSlotsAtom",Me(e=>e(ql).userSlots));Hs.debugLabel="userSlotsAtom";const a4=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/baseAtoms.ts/filteredUserSlotsAtom",Me(e=>e(Hs).filter(t=>t!==null)));a4.debugLabel="filteredUserSlotsAtom";const aye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/baseAtoms.ts/spectatorsAtom",Me(e=>e(ql).spectators));aye.debugLabel="spectatorsAtom";const fu=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/baseAtoms.ts/myUserSlotAtom",Me(e=>{var n;const t=e(gr);return(n=e(Hs).find(i=>(i==null?void 0:i.playerId)===t))!=null?n:null}));fu.debugLabel="myUserSlotAtom";const ns=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/baseAtoms.ts/myDataAtom",Me(e=>{const t=e(fu);return t==null?void 0:t.data}));ns.debugLabel="myDataAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const lx=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/timeAtoms.ts/serverClientTimeOffsetAtom",Me(e=>Date.now()-e(Ws)));lx.debugLabel="serverClientTimeOffsetAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};let JN=0;const jM=ft();jM.sub(lx,()=>{JN=jM.get(lx)});JN=jM.get(lx);function ea(){return Date.now()-JN}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const sye=100,$f=25;function m1t(e,t){const r=e.length>=sye;if(t.itemType===ne.Produce||t.itemType===ne.Plant||t.itemType===ne.Pet)return r;if(t.itemType===ne.Seed){const n=e.filter(i=>i.itemType===ne.Seed).some(i=>i.species===t.id);return r&&!n}else if(t.itemType===ne.Tool){const n=e.filter(i=>i.itemType===ne.Tool).some(i=>i.toolId===t.id);return r&&!n}else if(t.itemType===ne.Egg){const n=e.filter(i=>i.itemType===ne.Egg).some(i=>i.eggId===t.id);return r&&!n}else if(t.itemType===ne.Decor){const n=e.filter(i=>i.itemType===ne.Decor).some(i=>i.decorId===t.id);return r&&!n}return!0}function g1t(e,t){var r,n;if(t.itemType===ne.Tool){const i=wa[t.id];return"maxInventoryQuantity"in i?((n=(r=e.filter(s=>s.itemType===ne.Tool).find(s=>s.toolId===t.id))==null?void 0:r.quantity)!=null?n:0)>=i.maxInventoryQuantity:!1}else{if(t.itemType===ne.Seed)return!1;if(t.itemType===ne.Egg)return!1;if(t.itemType===ne.Decor)return!1}return!1}function b1t(e,t){const r=m1t(e,t),n=g1t(e,t);return{isInventoryFull:r,isItemAtMaxQuantity:n}}const Tr=e=>{switch(e.itemType){case ne.Produce:return e.id;case ne.Plant:return e.id;case ne.Pet:return e.id;case ne.Seed:return e.species;case ne.Tool:return e.toolId;case ne.Egg:return e.eggId;case ne.Decor:return e.decorId}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const s4=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/inventoryAtoms.ts/myInventoryAtom",Me(e=>{const t=e(ns);return t==null?void 0:t.inventory}));s4.debugLabel="myInventoryAtom";const hn=a0(e=>{var r;const t=e(s4);return(r=t==null?void 0:t.items)!=null?r:[]}),y1t=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/inventoryAtoms.ts/isMyInventoryAtMaxLengthAtom",Me(e=>e(hn).length>=sye));y1t.debugLabel="isMyInventoryAtMaxLengthAtom";const Vd=a0(e=>{var r;const t=e(s4);return(r=t==null?void 0:t.favoritedItemIds)!=null?r:[]}),v1t=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/inventoryAtoms.ts/myCropInventoryAtom",Me(e=>e(hn).filter(r=>r.itemType===ne.Produce)));v1t.debugLabel="myCropInventoryAtom";const ZN=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/inventoryAtoms.ts/mySeedInventoryAtom",Me(e=>e(hn).filter(r=>r.itemType===ne.Seed)));ZN.debugLabel="mySeedInventoryAtom";const eq=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/inventoryAtoms.ts/myToolInventoryAtom",Me(e=>e(hn).filter(r=>r.itemType===ne.Tool)));eq.debugLabel="myToolInventoryAtom";const tq=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/inventoryAtoms.ts/myEggInventoryAtom",Me(e=>e(hn).filter(r=>r.itemType===ne.Egg)));tq.debugLabel="myEggInventoryAtom";const rq=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/inventoryAtoms.ts/myDecorInventoryAtom",Me(e=>e(hn).filter(r=>r.itemType===ne.Decor)));rq.debugLabel="myDecorInventoryAtom";const nq=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/inventoryAtoms.ts/myPetInventoryAtom",Me(e=>e(hn).filter(r=>r.itemType===ne.Pet)));nq.debugLabel="myPetInventoryAtom";const oye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/inventoryAtoms.ts/itemTypeFiltersAtom",Me(new Set));oye.debugLabel="itemTypeFiltersAtom";const T1t=a0(e=>{var r;const t=e(s4);return(r=t==null?void 0:t.storages)!=null?r:[]}),lye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/inventoryAtoms.ts/myPetHutchStoragesAtom",Me(e=>e(T1t).filter(r=>r.decorId==="PetHutch")));lye.debugLabel="myPetHutchStoragesAtom";const iq=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/inventoryAtoms.ts/myPetHutchItemsAtom",Me(e=>e(lye).flatMap(r=>r.items)));iq.debugLabel="myPetHutchItemsAtom";const aq=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/inventoryAtoms.ts/myPetHutchPetItemsAtom",Me(e=>e(iq).filter(r=>r.itemType===ne.Pet)));aq.debugLabel="myPetHutchPetItemsAtom";const cye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/inventoryAtoms.ts/myNumPetHutchItemsAtom",Me(e=>e(iq).length));cye.debugLabel="myNumPetHutchItemsAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const po=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/mapAtoms.ts/mapAtom",Me(Kmt()));po.debugLabel="mapAtom";const ta=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/mapAtoms.ts/tileSizeAtom",Me(60));ta.debugLabel="tileSizeAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:al,set:Ch}=ft(),Yc=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myUserSlotIdxAtom",Me(e=>{const t=e(gr),n=e(Hs).findIndex(i=>(i==null?void 0:i.playerId)===t);return n===-1?null:n}));Yc.debugLabel="myUserSlotIdxAtom";const uye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/isSpectatingAtom",Me(e=>{const t=e(gr),r=e(Yc),n=e(aye);return r===null&&n.includes(t)}));uye.debugLabel="isSpectatingAtom";const S1t=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myPetInfosAtom",Me(e=>{var n;const t=e(fu);if(!t)return[];const r=[];for(const i of t.data.petSlots){const a=(n=t.petSlotInfos[i.id])==null?void 0:n.position;a&&r.push({slot:i,position:a})}return r}));S1t.debugLabel="myPetInfosAtom";const dye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myPetSlotInfosAtom",Me(e=>{const t=e(fu);return t?t.petSlotInfos:null}));dye.debugLabel="myPetSlotInfosAtom";const o4=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myCoinsCountAtom",Me(e=>{var r;const t=e(ns);return(r=t==null?void 0:t.coinsCount)!=null?r:0}));o4.debugLabel="myCoinsCountAtom";const Rv=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myJournalAtom",Me(e=>{const t=e(ns);return t==null?void 0:t.journal}));Rv.debugLabel="myJournalAtom";const sq=a0(e=>{const t=e(Rv);return t==null?void 0:t.produce},(e,t)=>{if(!e||!t)return e===t;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const i of r){const a=e[i],s=t[i];if(!a||!s||a.variantsLogged.length!==s.variantsLogged.length)return!1}return!0}),oq=a0(e=>{const t=e(Rv);return t==null?void 0:t.pets},(e,t)=>{if(!e||!t)return e===t;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const i of r){const a=e[i],s=t[i];if(!a||!s||a.variantsLogged.length!==s.variantsLogged.length||a.abilitiesLogged.length!==s.abilitiesLogged.length)return!1}return!0}),P1=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myCompletedTasksAtom",Me(e=>{var r;const t=e(ns);return(r=t==null?void 0:t.tasksCompleted)!=null?r:[]}));P1.debugLabel="myCompletedTasksAtom";const zn=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myActiveTasksAtom",Me(e=>{const t=e(P1),r=[];for(const[n,i]of Bft){if(t.includes(n))continue;const a=i.prerequisites,s=!a||a.length===0,o=a==null?void 0:a.every(l=>t.includes(l));(s||o)&&r.push(n)}return r}));zn.debugLabel="myActiveTasksAtom";const Ao=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myPossiblyNoLongerValidSelectedItemIndexAtom",Me(null));Ao.debugLabel="myPossiblyNoLongerValidSelectedItemIndexAtom";function o7(e){const{get:t,set:r}=ft(),n=t(iu);r(Ka,0),n===e?(r(Ao,null),r(RM,null),r(ti,{playerId:t(gr),animation:or.DropObject}),Yy(),zt({type:"DropObject"})):(r(Ao,e),r(RM,e),r(ti,{playerId:t(gr),animation:or.PickupObject}),Vy(),zt({type:"PickupObject"}))}const RM=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myLastExplicitSelectedItemIndexAtom",Me(null));RM.debugLabel="myLastExplicitSelectedItemIndexAtom";const iu=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myValidatedSelectedItemIndexAtom",Me(e=>{const t=e(Ao),r=e(hn);return!r||t===null||t<0||t>=r.length?null:r[t]===void 0?(console.error(`Selected item index ${t} is out of bounds (inventory has ${r.length} items). Resetting selection.`),null):t}));iu.debugLabel="myValidatedSelectedItemIndexAtom";const im=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/isSelectedItemAtomSuspended",Me({}));im.debugLabel="isSelectedItemAtomSuspended";const l4=()=>{const e=al(hn);Ch(Ao,e.length)},pye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myNumPetsInGardenAtom",Me(e=>{const t=e(ns);return t?t.petSlots.length:0}));pye.debugLabel="myNumPetsInGardenAtom";const Xr=a0(e=>{const t=e(iu),r=e(hn);return t===null||!r?null:r[t]}),Jo=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/mySelectedItemNameAtom",Me(e=>{var r;const t=e(Xr);switch(t==null?void 0:t.itemType){case ne.Egg:return An[t.eggId].name;case ne.Produce:return tt[t.species].crop.name;case ne.Plant:return tt[t.species].plant.name;case ne.Pet:return(r=t.name)!=null?r:wt[t.petSpecies].name;case ne.Seed:return tt[t.species].seed.name;case ne.Tool:return wa[t.toolId].name;case ne.Decor:return zi[t.decorId].name;case void 0:default:return""}}));Jo.debugLabel="mySelectedItemNameAtom";const c4=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/mySelectedItemRotationsAtom",Me(e=>{const t=e(Xr);if(!t||t.itemType!==ne.Decor)return null;const r=zi[t.decorId];return"rotationVariants"in r?Object.keys(r.rotationVariants).map(Number):null}));c4.debugLabel="mySelectedItemRotationsAtom";const Ka=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/mySelectedItemRotationAtom",Me(0));Ka.debugLabel="mySelectedItemRotationAtom";const lq=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myCurrentGlobalTileIndexAtom",Me(e=>{const t=e(po),r=e(v0);return r?Zh(t,r.x,r.y):null}));lq.debugLabel="myCurrentGlobalTileIndexAtom";const $o=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myCurrentGardenTileAtom",Me(e=>{const t=e(lq);if(!t)return null;const r=e(po),n=e(Hs),i=r.globalTileIdxToDirtTile[t],a=r.globalTileIdxToBoardwalk[t];if(!i&&!a)return null;if(i&&a)return console.error("Player is standing on both dirt and boardwalk tile indices. This should never happen."),null;let s=null;if(i)s={userSlotIdx:i.userSlotIdx,localTileIndex:i.dirtTileIdx,tileType:"Dirt"};else if(a)s={userSlotIdx:a.userSlotIdx,localTileIndex:a.boardwalkTileIdx,tileType:"Boardwalk"};else return null;const{userSlotIdx:o,localTileIndex:l,tileType:c}=s,u=n[o],d=u==null?void 0:u.playerId;return{tileType:c,userSlotIdx:o,localTileIndex:l,playerId:d}}));$o.debugLabel="myCurrentGardenTileAtom";const Bo=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myCurrentGardenObjectAtom",Me(e=>{var c;const t=e(Hs),r=e($o);if(!r)return null;const{userSlotIdx:n,localTileIndex:i,tileType:a}=r,s=t[n];let o;s===null?o=iye(n):o=s.data.garden;let l={};return a==="Dirt"?l=o.tileObjects:a==="Boardwalk"&&(l=o.boardwalkTileObjects),(c=l[i])!=null?c:null}));Bo.debugLabel="myCurrentGardenObjectAtom";const Xn=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myOwnCurrentGardenObjectAtom",Me(e=>e(Iv)?e(Bo):null));Xn.debugLabel="myOwnCurrentGardenObjectAtom";const Ra=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myOwnCurrentDirtTileIndexAtom",Me(e=>{const t=e($o),r=e(gr);if(!t)return null;const{localTileIndex:n,tileType:i,playerId:a}=t;return i!=="Dirt"||a!==r?null:n}));Ra.debugLabel="myOwnCurrentDirtTileIndexAtom";const wp=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myCurrentGardenObjectNameAtom",Me(e=>{const t=e(Bo);switch(t==null?void 0:t.objectType){case"plant":return tt[t.species].plant.name;case"egg":return An[t.eggId].name;case"decor":return zi[t.decorId].name;case void 0:default:return""}}));wp.debugLabel="myCurrentGardenObjectNameAtom";const Iv=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/isInMyGardenAtom",Me(e=>{const t=e($o),r=e(gr);return t?t.playerId===r:!1}));Iv.debugLabel="isInMyGardenAtom";a0(e=>{const t=e(fu);return t?t.data.garden.boardwalkTileObjects:null});const x1t=a0(e=>{const t=e($o),r=e(Bo),n=(r==null?void 0:r.objectType)==="plant";if(!r||!n||!t)return null;const{localTileIndex:i,tileType:a}=t;return{sortedGrowSlots:r.slots.map((o,l)=>({index:l,endTime:o.endTime})).sort((o,l)=>o.endTime-l.endTime),localTileIndex:i,tileType:a}},(e,t)=>!e||!t?e===t:e.sortedGrowSlots.length!==t.sortedGrowSlots.length?!1:e.localTileIndex===t.localTileIndex&&e.tileType===t.tileType),u4=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myCurrentSortedGrowSlotIndicesAtom",Me(e=>{const t=e(x1t);return t?t.sortedGrowSlots.map(r=>r.index):null}));u4.debugLabel="myCurrentSortedGrowSlotIndicesAtom";const vo=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myCurrentGrowSlotIndexAtom",Me(0));vo.debugLabel="myCurrentGrowSlotIndexAtom";const Ov=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myCurrentGrowSlotsAtom",Me(e=>{const t=e(Bo),r=(t==null?void 0:t.objectType)==="plant";return!t||!r?null:t.slots}));Ov.debugLabel="myCurrentGrowSlotsAtom";const j1=a0(e=>{var n;const t=e(vo),r=e(Ov);return(n=r==null?void 0:r[t])!=null?n:null}),cq=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/secondsUntilCurrentGrowSlotMaturesAtom",Me(e=>{const t=e(Ws),r=e(j1);if(!r)return null;const n=r.endTime-t;return dl(n)}));cq.debugLabel="secondsUntilCurrentGrowSlotMaturesAtom";const uq=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/isCurrentGrowSlotMatureAtom",Me(e=>e(cq)==="0s"));uq.debugLabel="isCurrentGrowSlotMatureAtom";const d4=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myCurrentEggAtom",Me(e=>{const t=e(Bo);return!t||t.objectType!=="egg"?null:t}));d4.debugLabel="myCurrentEggAtom";const hye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/numGrowSlotsAtom",Me(e=>{var r;const t=e(Ov);return(r=t==null?void 0:t.length)!=null?r:0}));hye.debugLabel="numGrowSlotsAtom";const dq=()=>{const e=al(vo),t=al(u4);if(!t||t.length===0)return;const r=t.findIndex(i=>i===e),n=t[r+1];n!==void 0?Ch(vo,n):Ch(vo,t[0])},fye=()=>{const e=al(vo),t=al(u4);if(!t||t.length===0)return;const r=t.findIndex(i=>i===e),n=t[r-1];n!==void 0?Ch(vo,n):Ch(vo,t[t.length-1])},pq=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/instaGrowCostAtom",Me(e=>{const t=e(Bo);return!t||t.objectType==="decor"?0:Rmt(t,ea())}));pq.debugLabel="instaGrowCostAtom";const R1=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/isGardenObjectMatureAtom",Me(e=>{const t=e(Bo);return t?t.objectType==="decor"?!0:t.maturedAt<=ea():!1}));R1.debugLabel="isGardenObjectMatureAtom";const mye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/secondsUntilEarliestActionAtom",Me(e=>{const t=e(Ws),r=e(Ov),n=e(d4),i=[];r&&i.push(...r.map(o=>o.endTime)),n&&i.push(n.maturedAt);const a=Math.min(...i),s=Math.max(0,a-t);return dl(s)}));mye.debugLabel="secondsUntilEarliestActionAtom";const w1t=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/secondsUntilLatestActionAtom",Me(e=>{const t=e(Ws),r=e(Ov),n=e(d4),i=[];r&&i.push(...r.map(o=>o.endTime)),n&&i.push(n.maturedAt);const a=Math.max(...i),s=Math.max(0,a-t);return dl(s)}));w1t.debugLabel="secondsUntilLatestActionAtom";const gye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myPrimitivePetSlotsAtom",Me(e=>{var r;const t=e(ns);return(r=t==null?void 0:t.petSlots)!=null?r:[]}));gye.debugLabel="myPrimitivePetSlotsAtom";const hq=a0(e=>{var r;const t=e(ns);return(r=t==null?void 0:t.petSlots)!=null?r:[]},(e,t)=>!e||!t?e===t:e.length!==t.length?!1:e.every((r,n)=>{const i=t[n];if(!i||r.id!==i.id)return!1;const a=r.hunger===0,s=i.hunger===0;if(a!==s)return!1;const o=Cd({speciesId:r.petSpecies,xp:r.xp,targetScale:r.targetScale}),l=Cd({speciesId:i.petSpecies,xp:i.xp,targetScale:i.targetScale});return!(o!==l||r.name!==i.name)})),p4=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/expandedPetSlotIdAtom",Me(null));p4.debugLabel="expandedPetSlotIdAtom";const fq=e=>{Ch(p4,e)},Yd=a0(e=>{const t=e(nq),r=e(gye),n=e(aq),i=[...t,...r,...n],a={};return i.forEach(s=>{var o;a[s.id]={speciesId:s.petSpecies,name:(o=s.name)!=null?o:wt[s.petSpecies].name,hunger:s.hunger,xp:s.xp,targetScale:s.targetScale,mutations:s.mutations}}),a}),_1t=a0(e=>{const t=e(hq);if(!t)return[];const r=[];return t.forEach(n=>{const{petSpecies:i,hunger:a,xp:s,targetScale:o,mutations:l,abilities:c}=n;if(a<=0)return;const u=[];for(const d of["ProduceMutationBoost","ProduceMutationBoostII"])c.includes(d)&&u.push(d);if(u.length>0){const d=Ybe({speciesId:i,xp:s,targetScale:o});let h=0;u.forEach(p=>{const m=Vc[p],g="mutationChanceIncreasePercentage"in m.baseParameters?m.baseParameters.mutationChanceIncreasePercentage:0;h+=g*d}),r.push({speciesId:i,mutations:l,mutationChanceIncreasePercentage:h})}}),r}),Nee=()=>{const e=al(p4);if(!e)return;const t=al(hn),r=al(Vd),n=al(Xr),i=al(Yd),{speciesId:a}=i[e],{diet:s}=wt[a],o=t.filter(h=>h!==n),u=o.filter(h=>h.itemType===ne.Produce).filter(h=>s.some(p=>p===h.species)).sort((h,p)=>{const m=r.includes(h.id),g=r.includes(p.id);return m===g?0:m?1:-1})[0],d=o.findIndex(h=>h===u);Ch(Ao,d)},bye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/myAtoms.ts/myStatsAtom",Me(e=>{const t=e(ns);return t==null?void 0:t.stats}));bye.debugLabel="myStatsAtom";const A1t=a0(e=>{var r;const t=e(ns);return(r=t==null?void 0:t.activityLogs)!=null?r:[]});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{set:mq}=ft(),c0=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/modalAtom.ts/activeModalAtom",Me(null));c0.debugLabel="activeModalAtom";const Mv=e=>{mq(c0,e)},ks=()=>{mq(c0,null)},aa=()=>{mq(c0,"activityLog")};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const br=()=>{const e=pu(),t=Nl();return e||t};function C1t(){const e=ast(),t=Jat();return e||t}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ky=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/establishingShotAtoms.ts/isEstablishingShotRunningAtom",Me(!1));Ky.debugLabel="isEstablishingShotRunningAtom";const kv=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/establishingShotAtoms.ts/isEstablishingShotCompleteAtom",Me(e=>{const t=e(v0),r=e(Ky);return!!t&&!r}));kv.debugLabel="isEstablishingShotCompleteAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{set:_f}=ft(),l9=1e3,qee=3e3;class E1t{constructor(){ht(this,"isAnimating",!1);ht(this,"animationFrameId")}start(t){if(this.isAnimating){console.warn("[EstablishingShot] Animation already in progress");return}this.isAnimating=!0;const r=l9+qee,n=Date.now(),i=Mi.minTileSize,a=C1t()?Mi.defaultTileSizeSmallScreen:Mi.defaultTileSizeLargeScreen;_f(ta,i),_f(Ky,!0);const s=()=>{const o=Date.now()-n,l=Math.min(o/r,1);let c,u=0;if(o<=l9)c=i;else{const d=o-l9;u=Math.min(d/qee,1);const h=this.easeInOutCubic(u);c=i+(a-i)*h}_f(ta,c),t==null||t(u),l<1?this.animationFrameId=requestAnimationFrame(s):(_f(ta,a),_f(Ky,!1),this.isAnimating=!1,this.animationFrameId=void 0)};this.animationFrameId=requestAnimationFrame(s)}stop(){this.animationFrameId!==void 0&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=void 0,this.isAnimating=!1,_f(Ky,!1))}isRunning(){return this.isAnimating}easeInOutCubic(t){return t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2}}const Dv=new E1t;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const zee=e=>{const[t,r]=[e[0],e[1]];return Math.sqrt((r.clientX-t.clientX)**2+(r.clientY-t.clientY)**2)},P1t=({targetRef:e,onZoomStart:t,onZoom:r,onZoomEnd:n})=>{const i=j.useRef(null),a=j.useCallback(l=>{l.touches.length===2&&(l.preventDefault(),i.current=zee(l.touches),t==null||t(l))},[t]),s=j.useCallback(l=>{if(l.touches.length===2&&i.current!==null){l.preventDefault();const u=zee(l.touches)/i.current;r(u,l)}},[r]),o=j.useCallback(l=>{i.current!==null&&l.touches.length<2&&(i.current=null,n==null||n(l))},[n]);j.useEffect(()=>{const l=e.current;if(l)return l.addEventListener("touchstart",a,{passive:!1}),l.addEventListener("touchmove",s,{passive:!1}),l.addEventListener("touchend",o,{passive:!1}),l.addEventListener("touchcancel",o,{passive:!1}),()=>{l.removeEventListener("touchstart",a),l.removeEventListener("touchmove",s),l.removeEventListener("touchend",o),l.removeEventListener("touchcancel",o)}},[e,a,s,o])};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:yye,set:vye}=ft(),Mi={minTileSize:16,defaultTileSizeLargeScreen:60,defaultTileSizeSmallScreen:40,maxTileSize:400,keyboardStepMultiplier:1.3,wheelStepMultiplier:.003},j1t=e=>{const t=br();j.useEffect(()=>{const r=t?Mi.defaultTileSizeSmallScreen:Mi.defaultTileSizeLargeScreen,n=yye(ta);t&&n<Mi.defaultTileSizeSmallScreen||!t&&n>Mi.defaultTileSizeLargeScreen||vye(ta,r)},[t]),R1t(e),I1t(e)};function R1t(e){j.useEffect(()=>{var r;const t=n=>{if(yye(c0)||(n.preventDefault(),Dv.isRunning()))return;const a=1-n.deltaY*Mi.wheelStepMultiplier;vye(ta,s=>Math.max(Math.min(s*a,Mi.maxTileSize),Mi.minTileSize))};return(r=e.current)==null||r.addEventListener("wheel",t,{passive:!1}),()=>{var n;(n=e.current)==null||n.removeEventListener("wheel",t)}},[e])}function I1t(e){const{get:t,set:r}=ft(),n=j.useRef(t(ta));P1t({targetRef:e,onZoomStart:()=>{t(c0)||(n.current=ft().get(ta))},onZoom:i=>{if(t(c0)||Dv.isRunning())return;const s=n.current*i,o=Math.max(Math.min(s,Mi.maxTileSize),Mi.minTileSize);r(ta,o)}})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function gq(e,t){return e.filter(r=>!t.includes(r))}function bq(e,t){return e.length===0&&!t.includes("Normal")}function yq(e,t,r){return e>=t&&!r.includes("Max Weight")}function O1t({mutations:e,currentScale:t,maxScale:r,loggedVariants:n}){const i=gq(e,n),a=bq(e,n),s=yq(t,r,n);return i.length>0||a||s}function Tye({variants:e,sortOrder:t}){const r=[...e];return r.sort((n,i)=>{const a=t.indexOf(n),s=t.indexOf(i);return a-s}),r}function Wee(e,t){var a,s;const r={},n=Object.keys(tt);e.sort((o,l)=>{const c=n.indexOf(o.species),u=n.indexOf(l.species);return c-u});const i=new Map;for(const o of e){const l=i.get(o.species)||[];l.push(o),i.set(o.species,l)}for(const[o,l]of i){const c=(s=(a=t.produce[o])==null?void 0:a.variantsLogged.map(h=>h.variant))!=null?s:[],u=new Set;for(const h of l){gq(h.mutations,c).forEach(g=>u.add(g)),bq(h.mutations,c)&&u.add("Normal");const{maxScale:m}=tt[o].crop;yq(h.scale,m,c)&&u.add("Max Weight")}const d=Array.from(u);d.length>0&&(r[o]=Tye({variants:d,sortOrder:Ev}))}return r}function M1t(e,t){var a,s;const r={},n=Object.keys(wt);e.sort((o,l)=>{const c=n.indexOf(o.petSpecies),u=n.indexOf(l.petSpecies);return c-u});const i=new Map;for(const o of e){const l=i.get(o.petSpecies)||[];l.push(o),i.set(o.petSpecies,l)}for(const[o,l]of i){const c=(s=(a=t.pets[o])==null?void 0:a.variantsLogged.map(h=>h.variant))!=null?s:[],u=new Set;for(const h of l){gq(h.mutations,c).forEach(g=>u.add(g)),bq(h.mutations,c)&&u.add("Normal");const{maxScale:m}=wt[o];yq(h.targetScale,m,c)&&u.add("Max Weight")}const d=Array.from(u);d.length>0&&(r[o]=Tye({variants:d,sortOrder:Pv}))}return r}function k1t(e,t){const r=[...e];return r.sort((n,i)=>{const a=t.indexOf(n),s=t.indexOf(i);return a-s}),r}function D1t(e,t){var a,s;const r={},n=Object.keys(wt);e.sort((o,l)=>{const c=n.indexOf(o.petSpecies),u=n.indexOf(l.petSpecies);return c-u});const i=new Map;for(const o of e){const l=i.get(o.petSpecies)||[];l.push(o),i.set(o.petSpecies,l)}for(const[o,l]of i){const c=(s=(a=t.pets[o])==null?void 0:a.abilitiesLogged.map(h=>h.ability))!=null?s:[],u=new Set;for(const h of l)h.abilities.filter(m=>!c.includes(m)).forEach(m=>u.add(m));const d=Array.from(u);d.length>0&&(r[o]=k1t(d,e4))}return r}function L1t(e,t,r){const i=e.filter(l=>l.itemType===ne.Plant).flatMap(l=>l.slots.filter(c=>c.endTime<=r).map(c=>({...c,id:crypto.randomUUID(),itemType:ne.Produce,scale:c.targetScale}))),a=e.filter(l=>l.itemType===ne.Produce),s=[...i,...a],o=e.filter(l=>l.itemType===ne.Pet);return{allNewCropVariants:Wee(s,t),newCropVariantsFromSelling:Wee(a,t),newPetVariants:M1t(o,t),newPetAbilities:D1t(o,t)}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const IM=e=>{const{baseSellPrice:t}=tt[e.species].crop,r=Sye(e);return Math.round(t*e.scale*r)},F1t=e=>{const{maturitySellPrice:t}=wt[e.petSpecies],r=Sye(e),n=Jh({speciesId:e.petSpecies,xp:e.xp,targetScale:e.targetScale});return Math.round(t*n*r)},$1t=e=>{const t=Math.max(0,Math.floor(e)),r=1,n=t*_mt,i=r+n;return Math.min(i,2)},Sye=e=>{const{mutations:t}=e,r=t.find(o=>["Rainbow","Gold"].includes(o)),n=t.filter(o=>!["Rainbow","Gold"].includes(o)),i=r?Ah[r].coinMultiplier:1,a=n.reduce((o,l)=>o+Ah[l].coinMultiplier,0),s=n.length;return i*(1+a-s)};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const OM=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/miscAtoms.ts/gardensWithBackfillsAtom",Me(e=>e(Hs).map((r,n)=>({garden:r?r.data.garden:iye(n),slotIndex:n}))));OM.debugLabel="gardensWithBackfillsAtom";const xye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/miscAtoms.ts/petInfosAtom",Me(e=>{var n;const t=[],r=e(Hs);for(const i of r)if(i!==null)for(const a of i.data.petSlots){const s=(n=i.petSlotInfos[a.id])==null?void 0:n.position;s&&t.push({slot:a,position:s})}return t}));xye.debugLabel="petInfosAtom";const vq=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/miscAtoms.ts/myCropItemsAtom",Me(e=>e(hn).filter(r=>r.itemType===ne.Produce)));vq.debugLabel="myCropItemsAtom";const Tq=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/miscAtoms.ts/myCropItemsToSellAtom",Me(e=>{const t=e(hn),r=e(Vd);return t.filter(n=>n.itemType===ne.Produce).filter(n=>!r.includes(n.id))}));Tq.debugLabel="myCropItemsToSellAtom";const h4=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/miscAtoms.ts/friendBonusMultiplierAtom",Me(e=>{const r=e(a4).length-1;return $1t(r)}));h4.debugLabel="friendBonusMultiplierAtom";const wye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/miscAtoms.ts/totalCropSellPriceAtom",Me(e=>{const t=e(h4),r=e(Tq);return Math.floor(r.filter(n=>n.itemType===ne.Produce).reduce((n,i)=>n+IM(i),0)*t)}));wye.debugLabel="totalCropSellPriceAtom";const f4=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/miscAtoms.ts/newLogsAtom",Me(e=>{const t=e(hn),r=e(Rv),n=e(Ws);return r?L1t(t,r,n):null}));f4.debugLabel="newLogsAtom";const Sq=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/miscAtoms.ts/hasNewLogsAtom",Me(e=>{const t=e(f4);return t?Object.keys(t.allNewCropVariants).length>0||Object.keys(t.newPetVariants).length>0:!1}));Sq.debugLabel="hasNewLogsAtom";const _ye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/miscAtoms.ts/newCropLogsFromSellingAtom",Me(e=>{const t=e(f4);return t?t.newCropVariantsFromSelling:null}));_ye.debugLabel="newCropLogsFromSellingAtom";const Aye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/miscAtoms.ts/hasNewCropLogsFromSellingAtom",Me(e=>{const t=e(_ye);return t!==null&&Object.keys(t).length>0}));Aye.debugLabel="hasNewCropLogsFromSellingAtom";const Cye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/miscAtoms.ts/selectedPetHasNewVariantsAtom",Me(e=>{var o,l;const t=e(Xr);if(!t||t.itemType!==ne.Pet)return!1;const r=e(Rv);if(!r)return!1;const n=(l=(o=r.pets[t.petSpecies])==null?void 0:o.variantsLogged.map(c=>c.variant))!=null?l:[],i=Jh({speciesId:t.petSpecies,xp:t.xp,targetScale:t.targetScale}),{maxScale:a}=wt[t.petSpecies];return O1t({mutations:t.mutations,currentScale:i,maxScale:a,loggedVariants:n})}));Cye.debugLabel="selectedPetHasNewVariantsAtom";a0(e=>{const t=e(fu);return t?t.lastSlotMachineInfo:null},(e,t)=>(e==null?void 0:e.performedAt)===(t==null?void 0:t.performedAt));const B1t=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/miscAtoms.ts/hasEnoughCarrotSeedsToSpinAtom",Me(e=>{const t=e(fu);if(!t)return!1;const r=t==null?void 0:t.data.inventory.items.filter(n=>n.itemType===ne.Seed).find(n=>n.species==="Carrot");return r?r.quantity>=jv.Carnival25K.cost.amount:!1}));B1t.debugLabel="hasEnoughCarrotSeedsToSpinAtom";const N1t=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/miscAtoms.ts/hasSlotMachineExpiredAtom",Me(e=>e(Ws)>jv.Carnival25K.expiryDate.getTime()));N1t.debugLabel="hasSlotMachineExpiredAtom";const Eye=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/miscAtoms.ts/slotMachineAnimationStateAtom",Me("idle"));Eye.debugLabel="slotMachineAnimationStateAtom";const Lv=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/miscAtoms.ts/isSlotMachineSpinningAtom",Me(e=>e(Eye)==="spinning"));Lv.debugLabel="isSlotMachineSpinningAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Us=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/data/action/actionAtom.ts/actionAtom",Me(e=>{const t=e(po),r=e(v0),n=e(Hs),i=e(c0);if(!n||!r)return"invalid";const a=Zh(t,r.x,r.y);if(t.locations.seedShop.activationTilesIdxs.includes(a))return i==="seedShop"?"none":"seedShop";if(t.locations.eggShop.activationTilesIdxs.includes(a))return i==="eggShop"?"none":"eggShop";if(t.locations.toolShop.activationTilesIdxs.includes(a))return i==="toolShop"?"none":"toolShop";if(t.locations.decorShop.activationTilesIdxs.includes(a))return i==="decorShop"?"none":"decorShop";if(t.locations.collectorsClub.activationTilesIdxs.includes(a)){const h=e(Sq);return i==="journal"?"none":h?"logItems":"collectorsClub"}if(t.locations.sellCropsShop.activationTilesIdxs.includes(a))return"sellAllCrops";if(t.locations.sellPetShop.activationTilesIdxs.includes(a))return"sellPet";t.locations.wishingWell.activationTilesIdxs.includes(a);const s=e(Xr),o=e(gr),l=e($o);if(!l)return"invalid";const{playerId:c,tileType:u}=l;if(c){if(c!==o)return"otherPlayersGarden"}else return"anonymousGarden";const d=e(Xn);if(!d)switch(u){case"Dirt":switch(s==null?void 0:s.itemType){case ne.Seed:return"plantSeed";case ne.Egg:return"plantEgg";case ne.Pet:return"placePet";case ne.Plant:return"plantGardenPlant";case ne.Decor:return"placeDecor";case ne.Produce:case ne.Tool:case void 0:default:return"invalid"}case"Boardwalk":switch(s==null?void 0:s.itemType){case ne.Decor:return"placeDecor";case ne.Pet:return"placePet";case ne.Seed:case ne.Egg:case ne.Plant:case ne.Produce:case ne.Tool:case void 0:default:return"invalid"}case null:return"invalid";default:return"invalid"}if(d.objectType==="plant"){if((s==null?void 0:s.itemType)===ne.Tool)switch(s.toolId){case"PlanterPot":return"potPlant";case"Shovel":return"removeGardenObject";case"RainbowPotion":case"GoldPotion":case"FrozenPotion":case"WetPotion":case"ChilledPotion":case"DawnlitPotion":case"AmberlitPotion":return"mutationPotion";case"WateringCan":return"waterPlant";default:return"invalid"}return e(uq)?"harvest":"instaGrow"}else{if(d.objectType==="egg")return e(R1)?"hatchEgg":"instaGrow";if(d.objectType==="decor"){if(d.decorId==="PetHutch")return i==="petHutch"?"none":"petHutch";if((s==null?void 0:s.itemType)===ne.Tool)switch(s.toolId){case"Shovel":return"removeGardenObject";case"PlanterPot":case"FrozenPotion":case"WetPotion":case"ChilledPotion":case"DawnlitPotion":case"AmberlitPotion":case"GoldPotion":case"RainbowPotion":case"WateringCan":default:return"pickupDecor"}return"pickupDecor"}}return"invalid"}));Us.debugLabel="actionAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function q1t(){zt({type:"CheckWeatherStatus"})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{set:MM}=ft(),yg=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/toastAtoms.tsx/quinoaToastsAtom",Me([]));yg.debugLabel="quinoaToastsAtom";const kM="quinoa-game-toast",lt=e=>{var n;const{isStackable:t=!1}=e,r={...e,isClosable:(n=e.isClosable)!=null?n:!0};if(t){const i={...r,id:`quinoa-stackable-${ea()}-${Math.random()}`};MM(yg,a=>[...a,i])}else{const i={...r,id:kM};MM(yg,a=>[...a.filter(s=>s.id!==kM),i])}},z1t=()=>{MM(yg,e=>e.filter(t=>t.id!==kM))};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:W1t}=ft();function Ja(e){const t=W1t(hn);return b1t(t,e)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function xq(e,t,r){const n=t.x-e.x,i=t.y-e.y,a=Math.sqrt(n*n+i*i),s=1-Math.min(a/r,1),o=s*s,l=Math.max(-1,Math.min(1,n/(r/2)));return{volume:o,stereo:l}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const H1t=xq({x:0,y:0},{x:0,y:0},15);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:Ab,set:U1t}=ft();function G1t(){const e=Ab(Ra),t=Ab(vo),r=Ab(j1);if(e===null){console.warn("This player is not standing on a tile object");return}if(r===null){console.warn("Not currently selecting a valid grow slot");return}const{name:n}=tt[r.species].crop,{isInventoryFull:i,isItemAtMaxQuantity:a}=Ja({itemType:ne.Produce,id:r.species});if(i){lt({title:Ee._({id:"e2hCG9"}),description:Ee._({id:"mLDgy3",values:{name:n}}),variant:"error"});return}if(a){lt({title:Ee._({id:"D+lp/G"}),description:Ee._({id:"1280GK",values:{name:n}}),variant:"error"});return}Qbe(H1t),U1t(ti,{playerId:Ab(gr),animation:or.Harvest}),zt({type:"HarvestCrop",slot:e,slotsIndex:t}),dq();const s=Ab(Xr);(s===null||s.itemType===ne.Produce)&&l4()}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:c9,set:V1t}=ft();function Y1t(){const e=c9(Ra),t=c9(Xn);if(e===null||(t==null?void 0:t.objectType)!=="egg"){console.warn("This player is not standing on an egg");return}const{name:r}=An[t.eggId],{isInventoryFull:n,isItemAtMaxQuantity:i}=Ja({itemType:ne.Pet,id:""});if(n){lt({title:Ee._({id:"e2hCG9"}),description:Ee._({id:"KWqiBJ",values:{name:r}}),variant:"error"});return}if(i){lt({title:Ee._({id:"D+lp/G"}),description:Ee._({id:"1280GK",values:{name:r}}),variant:"error"});return}zt({type:"HatchEgg",slot:e}),V1t(ti,{playerId:c9(gr),animation:or.PickupObject}),Zbe(),l4()}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function K1t(e,t,r){const i=e.width/2/t,a=e.height/2/t,s=Math.floor(r.x-i)-1,o=Math.ceil(r.x+i)+1,l=Math.floor(r.y-a)-1,c=Math.ceil(r.y+a)+1;return{minTileX:s,minTileY:l,maxTileX:o,maxTileY:c}}function DM(e,t){return e.x>=t.minTileX&&e.x<=t.maxTileX&&e.y>=t.minTileY&&e.y<=t.maxTileY}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Pu={tileSize:256,tilesPerRow:10},Hee={tileSize:512,tilesPerRow:6},u9={map:{bitmap:null,...Pu},plants:{bitmap:null,...Pu},tallplants:{bitmap:null,...Hee},animations:{bitmap:null,...Pu},mutations:{bitmap:null,...Pu},"mutation-overlays":{bitmap:null,...Hee},seeds:{bitmap:null,...Pu},items:{bitmap:null,...Pu},pets:{bitmap:null,...Pu},decor:{bitmap:null,...Pu}};function kc(e){const r=Ua.get(e).source.resource;return u9[e].bitmap||r instanceof ImageBitmap&&(u9[e].bitmap=r),u9[e]}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};class wq{constructor(){ht(this,"animationData",new Map)}static create(){return new wq}async sliceAndCacheFrames(t,r){const{bitmap:n,tileSize:i}=kc(yn.Animations);if(!n)return;const a=[];for(let s=0;s<r.frames;s++){const o=await createImageBitmap(n,s*i,r.row*i,i,i);a.push(o)}if(this.animationData.has(t)){const s=this.animationData.get(t);s.cachedFrames=a}}getOrCreateAnimationData(t,r){return this.animationData.has(t)||(this.animationData.set(t,{animation:r,cachedFrames:[],lastFrameTime:0,animationFrame:0}),this.sliceAndCacheFrames(t,r).catch(console.error)),this.animationData.get(t)}drawPlantAnimation(t,r,n,i,a){var d;const s=`${a.frames}-${a.row}-${a.fps}`,o=this.getOrCreateAnimationData(s,a),l=performance.now(),c=l-o.lastFrameTime,u=1e3/a.fps;if(c>u&&(o.lastFrameTime=l-c%u,o.animationFrame++),o.cachedFrames.length>0){const h=o.animationFrame%o.cachedFrames.length,p=o.cachedFrames[h],m=Math.floor(r.rows/2),g=Math.floor(r.cols/2),b=n.position.y-m,y=n.position.x-g,v=i.x-y,S=i.y-b;if(v>=0&&v<r.cols&&S>=0&&S<r.rows){const x=Math.floor((r.offsetX+v*r.tileSize+r.tileSize/2)*r.pixelRatio)-r.tileSize*r.pixelRatio/2,w=Math.floor((r.offsetY+S*r.tileSize+r.tileSize/2)*r.pixelRatio)-r.tileSize*r.pixelRatio/2+((d=a.nudgeY)!=null?d:0)*r.tileSize*r.pixelRatio;t.drawImage(p,x,w,r.tileSize*r.pixelRatio,r.tileSize*r.pixelRatio)}}}clearCache(){for(const t of this.animationData.values())for(const r of t.cachedFrames)r.close();this.animationData.clear()}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:cx}=ft();let d9=null;function Uee(){return d9||(d9=wq.create()),d9}function Gee(e,t){const r=e.x+e.y*t.map.cols,n=t.tileInfos.get(r);if(!n)return 0;for(const i of n)if(i.avatarNudgeY!==void 0)return i.avatarNudgeY;return 0}function Eh(e,t){return e>t?1:Math.min(Math.max((ea()-e)/(t-e),0),1)}const Vee=1e3;function LM(e,t){const r=ea();return r>t+Vee?1:r>=t?X1t((r-t)/Vee):e<t?Eh(e,t)*.7:0}function Yee(e,t,r,n){const i=ea()%r,a=2*Math.PI*i/r,s=(e+t)/2,o=(t-e)/2;return s+o*Math.sin(a)}function X1t(e){const t=2*Math.PI/3;return e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*t)+1}function Q1t(e){if(e.objectType==="egg"||e.objectType==="decor")return 0;const{harvestType:t}=tt[e.species].plant,r=ea();let n;if(t===Vt.Multiple?n=e.maturedAt:n=e.slots[0].endTime,n<=r)return 0;const i=n-r,a=3*1e3;return i>a?1:i/a}function p9(e,t,r){if(ea()-e>=0){const a=r.value;(a===null||e>a.endTime)&&(r.value={endTime:e,position:t})}}function Kee(e,t,r,n,i,a,s,o,l){Object.entries(r).forEach(([c,u])=>{var p,m,g,b,y,v;const d=(p=n[t])==null?void 0:p[Number(c)];if(d===void 0)return;const h=el(e,d);if(DM(h,a))switch(i.has(d)||i.set(d,[]),u.objectType){case"egg":{const{eggId:S,plantedAt:x,maturedAt:w}=u,{tileRef:A,baseTileScale:_,initialTileScale:C}=An[S],E=Eh(x,w),R=LM(x,w),P=Ur(A,{scale:E*_});P.scale=C+(_-C)*R,(m=i.get(d))==null||m.push(P),p9(w,h,l);return}case"decor":{const S=zi[u.decorId],{baseTileScale:x}=S,{tileRef:w,flipH:A,flipV:_,flipD:C,nudgeY:E,baseTileScale:R}=_q(u.decorId,u.rotation),O={scale:R!=null?R:x,flipH:A,flipV:_,flipD:C};E!==void 0?O.nudgeY=E:"nudgeY"in S&&(O.nudgeY=S.nudgeY),"avatarNudgeY"in S&&(O.avatarNudgeY=S.avatarNudgeY);const k=Ur(w,O);(g=i.get(d))==null||g.push(k);return}case"plant":{const S=tt[u.species].plant,{harvestType:x}=S;if(x===Vt.Multiple)for(const R of u.slots)p9(R.endTime,h,l);else p9(u.slots[0].endTime,h,l);const w=Q1t(u);if(w>0){const R=Ur(mt.DirtPatch,{scale:.5,rotation:u.maturedAt%360,opacity:w});(b=i.get(d))==null||b.push(R)}const A={...u,itemType:ne.Plant},_=Pye(A);for(const R of _)(y=i.get(d))==null||y.push(R);const C=u.maturedAt<=ea(),E=cx(hu);if(C&&"abilities"in S)for(const R of S.abilities){const P=bg[R],k=P.baseParameters.requiredWeather===E,I=P.baseParameters.tileRadius,M=P.baseParameters.activationTileRef,D=Kbe({map:e,tileType:s,tileIndex:Number(c),userSlotIdx:t,includeSelf:!1,tileRadius:I});for(const F of D){const $=EM(e,F.tileType,t,F.tileIndex);if($!==void 0){i.has($)||i.set($,[]);const he=EM(e,s,t,Number(c))===Zh(e,o.x,o.y);if(!k&&!he)continue;const U=Ur(M,{opacity:k?1:.6});(v=i.get($))==null||v.unshift(U)}}}break}}})}function J1t(e,t,r,n){const i=n.x+n.y*r.map.cols,a=r.map.globalTileIdxToDirtTile[i];if(a){const o=r.gardens[a.userSlotIdx],l=o==null?void 0:o.garden.tileObjects[a.dirtTileIdx];l&&Xee(e,t,r,l,n)}const s=r.map.globalTileIdxToBoardwalk[i];if(s){const o=r.gardens[s.userSlotIdx],l=o==null?void 0:o.garden.boardwalkTileObjects[s.boardwalkTileIdx];l&&Xee(e,t,r,l,n)}}function Z1t(e,t,r,n,i,a){for(const s of t)s&&(Kee(e,s.slotIndex,s.garden.tileObjects,e.userSlotIdxAndDirtTileIdxToGlobalTileIdx,r,n,"Dirt",i,a),Kee(e,s.slotIndex,s.garden.boardwalkTileObjects,e.userSlotIdxAndBoardwalkTileIdxToGlobalTileIdx,r,n,"Boardwalk",i,a))}function Pye(e){const t=[];switch(e.itemType){case ne.Produce:{const{tileRef:r,baseTileScale:n}=tt[e.species].crop,i=e.mutations,s={scale:e.scale*n,mutations:i};t.push(Ur(r,s));break}case ne.Seed:{const{tileRef:r}=tt[e.species].seed;t.push(Ur(r,{scale:.4}));break}case ne.Tool:{const{tileRef:r,baseTileScale:n}=wa[e.toolId],i={scale:n};t.push(Ur(r,i));break}case ne.Egg:{const{tileRef:r,initialTileScale:n}=An[e.eggId],i={scale:n};t.push(Ur(r,i));break}case ne.Decor:{const r=zi[e.decorId],{baseTileScale:n}=r,i=cx(Ka),{tileRef:a,flipH:s,flipV:o,flipD:l,nudgeY:c,baseTileScale:u}=_q(e.decorId,i),h={scale:u!=null?u:n,flipH:s,flipV:o,flipD:l};c!==void 0?h.nudgeY=c:"nudgeY"in r&&(h.nudgeY=r.nudgeY),t.push(Ur(a,h));break}case ne.Pet:{const{tileRef:r,baseTileScale:n}=wt[e.petSpecies],i=e.mutations,a=Jh({speciesId:e.petSpecies,xp:e.xp,targetScale:e.targetScale}),s=e.hunger<=0,l={scale:a*n,mutations:i,isDisabled:s};t.push(Ur(r,l));break}case ne.Plant:{const{plant:r,crop:n}=tt[e.species];if(r.harvestType===Vt.Multiple){const i=Eh(e.plantedAt,e.maturedAt),a=e.maturedAt<=ea();let s=r.tileRef;const o={scale:i*r.baseTileScale};if("tileTransformOrigin"in r&&(o.transformOrigin=r.tileTransformOrigin),"nudgeY"in r&&(o.nudgeY=r.nudgeY),"isFixedScale"in r&&r.isFixedScale&&(o.scale=r.baseTileScale),"nudgeYMultiplier"in r){const c=r.nudgeYMultiplier,d=i*c;o.nudgeY=(o.nudgeY||0)+d}a?"activeState"in r&&cx(hu)===r.activeState.weatherRequirement&&(s=r.activeState.tileRef):"immatureTileRef"in r&&(s=r.immatureTileRef);const l=Ur(s,o);t.push(l);for(let c=0;c<e.slots.length;c++){const u=e.slots[c];if(!u||c>=r.slotOffsets.length)continue;const d=r.slotOffsets[c],h=LM(u.startTime,u.endTime);let p=r.rotateSlotOffsetsRandomly?d.rotation-u.startTime%70:d.rotation;p+=h<1?Yee(-5,5,1500):0;const m=ea()>=u.endTime?u.targetScale:1,g={nudgeX:d.x,nudgeY:d.y,rotation:p,scale:h*n.baseTileScale*m,mutations:u.mutations,parentTileInfo:l};"transformOrigin"in n&&(g.transformOrigin=n.transformOrigin);const b=Ur(n.tileRef,g);t.push(b)}if(a&&"topmostLayerTileRef"in r){const c={scale:r.baseTileScale};"tileTransformOrigin"in r&&(c.transformOrigin=r.tileTransformOrigin),"nudgeY"in r&&(c.nudgeY=r.nudgeY);const u=Ur(r.topmostLayerTileRef,c);t.push(u)}}else{const i=e.slots[0],a=LM(i.startTime,i.endTime),s=a<1?Yee(-2,2,1500):0,o=ea()>=i.endTime?i.targetScale:1,l=a*i.targetScale,c={rotation:s,scale:a*r.baseTileScale*o,mutations:i.mutations};if("tileTransformOrigin"in r&&(c.transformOrigin=r.tileTransformOrigin),"nudgeY"in r&&(c.nudgeY=r.nudgeY),"nudgeYMultiplier"in r){const d=r.nudgeYMultiplier,h=l*d;c.nudgeY=(c.nudgeY||0)+h}const u=Ur(r.tileRef,c);t.push(u)}break}}return t}function Xee(e,t,r,n,i){if(n.objectType!=="plant")return;const a=tt[n.species].plant,s=n.maturedAt<=ea(),o=cx(hu);if(!s&&"growingAnimationTiles"in a&&a.growingAnimationTiles){const l=Uee(),c=a.growingAnimationTiles;l.drawPlantAnimation(e,t,r,i,c)}if(s&&"activeState"in a&&a.activeState&&o===a.activeState.weatherRequirement&&"activeAnimationTiles"in a.activeState&&a.activeState.activeAnimationTiles){const c=Uee(),u=a.activeState.activeAnimationTiles;c.drawPlantAnimation(e,t,r,i,u)}}function _q(e,t){const r=zi[e],{tileRef:n,rotationVariants:i}=r,a=t<0,s=Math.abs(t===AM?s7:t),o=i==null?void 0:i[s];if(o){const l=a?!o.flipH:!!o.flipH;return{...o,flipH:l}}return{tileRef:n,flipH:a}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};class ebt{constructor(t){ht(this,"maxSize");ht(this,"cache");this.maxSize=t,this.cache=new Map}get(t){const r=this.cache.get(t);return r&&(this.cache.delete(t),this.cache.set(t,r)),r}set(t,r){if(this.cache.has(t))this.cache.delete(t);else if(this.cache.size>=this.maxSize){const n=this.cache.keys().next().value;n&&this.cache.delete(n)}this.cache.set(t,r)}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const _T=document.createElement("canvas"),hp=_T.getContext("2d"),tbt={Gold:{blendMode:"source-atop",colors:["rgb(255, 215, 0)"],alpha:.7},Rainbow:{blendMode:"color",gradientAngle:130,colors:["#FF1744","#FF9100","#FFEA00","#00E676","#2979FF","#D500F9"],masked:!0},Wet:{blendMode:"source-atop",colors:["rgb(128, 128, 255)"],alpha:.2},Chilled:{blendMode:"source-atop",colors:["rgb(183, 183, 236)"],alpha:.5},Frozen:{blendMode:"source-atop",colors:["rgb(128, 128, 255)"],alpha:.6},Dawnlit:{blendMode:"source-atop",colors:["rgb(120, 100, 180)"],alpha:.4},Ambershine:{blendMode:"source-atop",colors:["rgb(255, 140, 26)","rgb(230, 92, 26)","rgb(178, 58, 26)"],alpha:.5},Dawncharged:{blendMode:"source-atop",colors:["rgb(100, 80, 160)","rgb(110, 90, 170)","rgb(120, 100, 180)"],alpha:.5},Ambercharged:{blendMode:"source-atop",colors:["rgb(167, 50, 30)","rgb(177, 60, 40)","rgb(187, 70, 50)"],alpha:.5}};function h9(e,t,r,n){const i=tbt[t];if(!i){console.warn(`No effect configuration found for mutation: ${t}`);return}if(e.save(),e.globalCompositeOperation=i.blendMode,i.alpha!==void 0&&(e.globalAlpha=i.alpha),i.masked){if(_T.width=r,_T.height=r,hp.clearRect(0,0,r,r),i.gradientAngle!==void 0){const s=((n?0:i.gradientAngle)-90)*Math.PI/180,o=r/2,l=r/2,c=o-Math.cos(s)*r/2,u=l-Math.sin(s)*r/2,d=o+Math.cos(s)*r/2,h=l+Math.sin(s)*r/2,p=hp.createLinearGradient(c,u,d,h);i.colors.forEach((m,g)=>{p.addColorStop(g/(i.colors.length-1),m)}),hp.fillStyle=p,hp.fillRect(0,0,r,r)}hp.globalCompositeOperation="destination-in",hp.drawImage(e.canvas,0,0),hp.globalCompositeOperation="source-over",e.drawImage(_T,0,0)}else if(i.colors.length===1){const a=i.colors[0],s=e.createLinearGradient(0,0,0,r);s.addColorStop(0,a),s.addColorStop(1,a),e.fillStyle=s,e.fillRect(0,0,r,r)}else{const a=e.createLinearGradient(0,0,0,r);i.colors.forEach((s,o)=>{a.addColorStop(o/(i.colors.length-1),s)}),e.fillStyle=a,e.fillRect(0,0,r,r)}e.restore()}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const rbt=500,Qee=new ebt(rbt);function f9({mutationTileRef:e,spriteCtx:t,mutationBitmap:r,tileSize:n,mutationTileSize:i,mutationTilesPerRow:a,offset:s,scale:o,opacity:l}){var h,p;const c=e.index,u=(c-1)%a*i,d=Math.floor((c-1)/a)*i;t.save(),t.globalAlpha=l!=null?l:1,t.drawImage(r,u,d,i,i,(h=s==null?void 0:s.x)!=null?h:0,(p=s==null?void 0:s.y)!=null?p:0,n*(o!=null?o:1),n*(o!=null?o:1)),t.restore()}function ux({spritesheet:e,tileId:t,mutations:r,isDisabled:n,isUnknown:i}){const a=`${e}-${t}-${r.join(",")}${n?"disabled":""}-${i?"unknown":""}`,s=Qee.get(a);if(s)return s;const{bitmap:o,tileSize:l,tilesPerRow:c}=kc(e);if(!o)return new OffscreenCanvas(1,1);const u=new OffscreenCanvas(l,l),d=u.getContext("2d"),h=new OffscreenCanvas(l,l),p=h.getContext("2d");if(!d||!p)return u;let m=d;const g=t%c*l,b=Math.floor(t/c)*l,y=[...r].sort((A,_)=>{const C=a7.indexOf(A),E=a7.indexOf(_);return C-E}),v=e===yn.TallPlants;if(v){m=p;const{tileSize:A,bitmap:_,tilesPerRow:C}=kc(yn.Mutations);if(_)for(const E of y){const R=Ah[E];if(!("tileRef"in R)||["Dawncharged","Ambercharged"].includes(E))continue;const P=E==="Chilled"||E==="Frozen"?300:270;f9({mutationTileRef:E==="Wet"?Lu.Puddle:R.tileRef,spriteCtx:d,mutationBitmap:_,tileSize:l,mutationTileSize:A,mutationTilesPerRow:C,offset:{x:100,y:P},scale:.6})}}if(m.drawImage(o,g,b,l,l,0,0,l,l),y.includes("Gold"))h9(m,"Gold",l,v);else if(y.includes("Rainbow"))h9(m,"Rainbow",l,v);else for(const A of y)h9(m,A,l,v);const{tileSize:S,bitmap:x,tilesPerRow:w}=kc(yn.Mutations);if(x)for(const A of y){const _=Ah[A];if("tileRef"in _)if(v)(A==="Dawncharged"||A==="Ambercharged")&&f9({mutationTileRef:_.tileRef,spriteCtx:m,mutationBitmap:x,tileSize:l,mutationTileSize:S,mutationTilesPerRow:w,offset:{x:100,y:250},scale:.6,opacity:.8});else{const C=["Dawnlit","Ambershine","Dawncharged","Ambercharged"].includes(A)?-64:0;f9({mutationTileRef:_.tileRef,spriteCtx:d,mutationBitmap:x,tileSize:l,mutationTileSize:S,mutationTilesPerRow:w,offset:{x:0,y:C}})}}if(v){const{tileSize:A,bitmap:_,tilesPerRow:C}=kc(yn.MutationOverlays);if(_){p.save(),p.globalCompositeOperation="source-atop";for(const E of y){if(E==="Gold"||E==="Rainbow")continue;let R;if(p.globalAlpha=.8,E==="Wet")R="WetTallPlant";else if(E==="Chilled")R="ChilledTallPlant";else if(E==="Frozen")R="FrozenTallPlant";else continue;const P=Rft[R];if(P){const O=P.index,k=(O-1)%C*A,I=Math.floor((O-1)/C)*A;p.drawImage(_,k,I,A,A,0,0,l,l)}}p.restore()}d.drawImage(h,0,0,l,l)}return n&&(d.save(),d.globalCompositeOperation="source-atop",d.globalAlpha=.4,d.fillStyle="rgb(255, 100, 100)",d.fillRect(0,0,l,l),d.restore()),i&&(d.globalCompositeOperation="source-atop",d.globalAlpha=.9,d.fillStyle="#2a2a2a",d.fillRect(0,0,l,l),d.globalAlpha=1,d.globalCompositeOperation="source-over"),Qee.set(a,u),u}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const qt=({tileRef:e,width:t="80px",height:r="80px",scale:n=1,mutations:i,transformOrigin:a,flipH:s=!1,flipV:o=!1,isUnknown:l=!1,isDisabled:c=!1,isNormalizedScale:u=!1})=>{const d=SR(t,"80px"),h=SR(r,"80px"),p=j.useRef(null),m=u?Math.min(1/n,1):1;return j.useEffect(()=>{const g=p.current;if(!g)return;if(e.index===0){g.innerHTML="";return}const b=ux({spritesheet:e.spritesheet,tileId:e.index-1,mutations:i!=null?i:[],isDisabled:c,isUnknown:l}),y=document.createElement("canvas");y.width=b.width,y.height=b.height;const v=y.getContext("2d");return v&&v.drawImage(b,0,0),g.innerHTML="",g.appendChild(y),()=>{g.innerHTML=""}},[i,e,l,c]),f.jsx(Ne,{ref:p,position:"relative",transform:`scale(${m})`,transformOrigin:a,sx:{width:d,height:h,"> canvas":{width:"100%",height:"100%",transform:`scale(${s?"-":""}${n}, ${o?"-":""}${n})`,transformOrigin:a,imageRendering:"pixelated"}}})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Aq=({item:e,tileSize:t,isNormalizedScale:r=!1})=>{const{plant:n,crop:i}=tt[e.species];let a,s,o,l=n.tileRef;const c=j.useMemo(()=>BF(Ws,()=>{const p=Eh(e.plantedAt,e.maturedAt),m=e.slots.map(g=>Eh(g.startTime,g.endTime));return{plantProgress:p,cropProgresses:m}},(p,m)=>{if(p.plantProgress!==m.plantProgress||p.cropProgresses.length!==m.cropProgresses.length)return!1;for(let g=0;g<p.cropProgresses.length;g++)if(p.cropProgresses[g]!==m.cropProgresses[g])return!1;return!0}),[e.plantedAt,e.maturedAt,e.slots]),{plantProgress:u,cropProgresses:d}=Pe(c);if(n.harvestType===Vt.Multiple){o="isFixedScale"in n&&n.isFixedScale?n.baseTileScale:u*n.baseTileScale,s="tileTransformOrigin"in n?n.tileTransformOrigin:void 0,"immatureTileRef"in n&&u<1&&(l=n.immatureTileRef);let p="nudgeY"in n?n.nudgeY:0;if("nudgeYMultiplier"in n){const m=(o-1)*n.nudgeYMultiplier;p+=m}a=f.jsxs(Ne,{position:"relative",children:[f.jsx(qt,{tileRef:l,width:`${t}px`,height:`${t}px`,scale:o,transformOrigin:s}),e.slots.map((m,g)=>{var x;if(g>=n.slotOffsets.length)return null;const b=n.slotOffsets[g],v=((x=d[g])!=null?x:0)*i.baseTileScale*m.targetScale,S=n.rotateSlotOffsetsRandomly?b.rotation+m.startTime%360:b.rotation;return f.jsx(Ne,{position:"absolute",style:{left:`${b.x*t}px`,top:`${(b.y-p)*t}px`,transform:`rotate(${S}deg)`},children:f.jsx(qt,{tileRef:i.tileRef,width:`${t}px`,height:`${t}px`,scale:v,mutations:m.mutations})},g)})]})}else{const p=e.slots[0];o=u*n.baseTileScale*p.targetScale,s="tileTransformOrigin"in n?n.tileTransformOrigin:void 0,a=f.jsx(qt,{tileRef:n.tileRef,width:`${t}px`,height:`${t}px`,scale:o,mutations:p.mutations,transformOrigin:s})}const h=r?Math.min(1/o,1):1;return f.jsx(Ne,{transform:`scale(${h})`,transformOrigin:s,maxW:t,maxH:t,children:a})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function jye(e){var t,r;if(e.objectType==="plant"){const n=ea(),i={id:"",species:e.species,itemType:ne.Plant,slots:(r=(t=e.slots)==null?void 0:t.map(a=>({species:a.species,startTime:a.startTime,endTime:n,targetScale:a.targetScale,mutations:a.mutations})))!=null?r:[],plantedAt:e.plantedAt,maturedAt:n};return f.jsx(Aq,{item:i,tileSize:50,isNormalizedScale:!0})}if(e.objectType==="egg")return An[e.eggId].tileRef}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};async function am(e){await ra("/games/quinoa/rpc",e)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Cq=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/components/Credits/useCreditsModal.tsx/isCreditsModalOpenAtom",Me(!1));Cq.debugLabel="isCreditsModalOpenAtom";const I1=()=>{const[e,t]=Ea(Cq);return{isOpen:e,open:()=>t(!0),close:()=>t(!1)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const dx=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/data/action/isActionButtonLoadingAtom.ts/isActionButtonLoadingAtom",Me(!1));dx.debugLabel="isActionButtonLoadingAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:j3,set:R3}=ft();async function nbt(){const e=j3(Rce),t=j3(pq);if(e<t){R3(Cq,!0);return}const r=j3(Ra),n=j3(Xn);if(!n||r===null){console.warn("No tile object found");return}if(n.objectType==="decor"){console.warn("Cannot insta-grow a decor");return}try{R3(dx,!0),await am({method:"InstaGrowWithCredits",dirtTileIndex:r}),R3(Ice,Date.now()),Zbe();const i=n.objectType==="plant"?tt[n.species].plant:An[n.eggId],a=jye(n);lt({title:f.jsx(L,{id:"kzd5yt"}),description:f.jsx(L,{id:"XTnYHr",values:{0:i.name}}),variant:"success",icon:a,onClick:aa})}catch(i){console.error("Error insta-growing",i),lt({title:f.jsx(L,{id:"NzshpK"}),description:i instanceof Error?i.message:f.jsx(L,{id:"fWsBTs"}),variant:"error"})}finally{R3(dx,!1)}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const m4=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/components/modals/journal/store.ts/newLogsToAnimateAtom",Me([]));m4.debugLabel="newLogsToAnimateAtom";const FM=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/components/modals/journal/store.ts/activeSpeciesIdAtom",Me(null));FM.debugLabel="activeSpeciesIdAtom";const $M=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/components/modals/journal/store.ts/activeJournalTypeAtom",Me(ne.Produce));$M.debugLabel="activeJournalTypeAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:Jee,set:Zee}=ft();function ibt(){const e=Jee(f4);if(!Jee(Sq)||!e){console.warn("No new logs found");return}const r=[...Object.entries(e.allNewCropVariants).map(([n,i])=>({speciesId:n,variants:i})),...Object.entries(e.newPetVariants).map(([n,i])=>({speciesId:n,variants:i}))];Zee(m4,r),Zee(c0,"journal"),zt({type:"LogItems"})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const abt=["Rainbow","Gold"],sbt=["Wet","Chilled"],obt=["Frozen"],ete=["Dawnlit","Ambershine"],I3=["Dawncharged","Ambercharged"];function lbt(e,t){if(t.includes(e))return;let r=[...t];switch(e){case"Rainbow":case"Gold":if(t.some(n=>abt.includes(n)))return;r.push(e);break;case"Wet":if(t.includes("Frozen"))return;t.includes("Chilled")?(r=r.filter(n=>n!=="Chilled"),r.push("Frozen")):r.push("Wet");break;case"Chilled":if(t.includes("Frozen"))return;t.includes("Wet")?(r=r.filter(n=>n!=="Wet"),r.push("Frozen")):r.push("Chilled");break;case"Frozen":if(t.some(n=>obt.includes(n)))return;r=r.filter(n=>!sbt.includes(n)),r.push("Frozen");break;case"Dawnlit":if(t.some(n=>I3.includes(n))||t.some(n=>ete.includes(n)))return;r.push("Dawnlit");break;case"Ambershine":if(t.some(n=>I3.includes(n))||t.some(n=>ete.includes(n)))return;r.push("Ambershine");break;case"Dawncharged":if(t.some(n=>I3.includes(n))||t.includes("Ambershine"))return;t.includes("Dawnlit")&&(r=r.filter(n=>n!=="Dawnlit")),r.push("Dawncharged");break;case"Ambercharged":if(t.some(n=>I3.includes(n))||t.includes("Dawnlit"))return;t.includes("Ambershine")&&(r=r.filter(n=>n!=="Ambershine")),r.push("Ambercharged");break;default:return e}return r}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Rye={[Be.Common]:"#D2D2D2",[Be.Uncommon]:"#5EAC46",[Be.Rare]:"#0067B4",[Be.Legendary]:"#E9B52F",[Be.Mythic]:"#8B3E98",[Be.Divine]:"#FC6D30",[Be.Celestial]:"linear-gradient(130deg, #00B4D8 0%, #7C2AE8 40%, #A0007E 60%, #FFD700 100%)"},cbt={Gold:"rgb(235, 200, 0)",Rainbow:"linear-gradient(135deg, Red.Magic, Red.Light, Orange.Magic, Yellow.Dark, Green.Magic, Blue.Light, Purple.Indigo, Purple.Light)",Wet:"rgba(95, 255, 255, 1)",Chilled:"rgba(180, 230, 255, 1)",Frozen:"rgb(185, 200, 255)",Dawnlit:"rgb(245, 155, 225)",Ambershine:"rgb(255, 180, 120)",Dawncharged:"rgb(200, 150, 255)",Ambercharged:"rgb(250, 140, 75)"},g4=e=>{switch(e){case"MoonKisser":return{bg:"rgba(250, 166, 35, 0.9)",hover:"rgba(250, 166, 35, 1)"};case"DawnKisser":return{bg:"rgba(162, 92, 242, 0.9)",hover:"rgba(162, 92, 242, 1)"};case"ProduceScaleBoost":case"ProduceScaleBoostII":return{bg:"rgba(34, 139, 34, 0.9)",hover:"rgba(34, 139, 34, 1)"};case"PlantGrowthBoost":case"PlantGrowthBoostII":return{bg:"rgba(0, 128, 128, 0.9)",hover:"rgba(0, 128, 128, 1)"};case"EggGrowthBoost":case"EggGrowthBoostII_NEW":case"EggGrowthBoostII":return{bg:"rgba(180, 90, 240, 0.9)",hover:"rgba(180, 90, 240, 1)"};case"PetAgeBoost":case"PetAgeBoostII":return{bg:"rgba(147, 112, 219, 0.9)",hover:"rgba(147, 112, 219, 1)"};case"PetHatchSizeBoost":case"PetHatchSizeBoostII":return{bg:"rgba(128, 0, 128, 0.9)",hover:"rgba(128, 0, 128, 1)"};case"PetXpBoost":case"PetXpBoostII":return{bg:"rgba(30, 144, 255, 0.9)",hover:"rgba(30, 144, 255, 1)"};case"HungerBoost":case"HungerBoostII":return{bg:"rgba(255, 20, 147, 0.9)",hover:"rgba(255, 20, 147, 1)"};case"SellBoostI":case"SellBoostII":case"SellBoostIII":case"SellBoostIV":return{bg:"rgba(220, 20, 60, 0.9)",hover:"rgba(220, 20, 60, 1)"};case"CoinFinderI":case"CoinFinderII":case"CoinFinderIII":return{bg:"rgba(180, 150, 0, 0.9)",hover:"rgba(180, 150, 0, 1)"};case"ProduceMutationBoost":case"ProduceMutationBoostII":return{bg:"rgba(140, 15, 70, 0.9)",hover:"rgba(140, 15, 70, 1)"};case"DoubleHarvest":return{bg:"rgba(0, 120, 180, 0.9)",hover:"rgba(0, 120, 180, 1)"};case"DoubleHatch":return{bg:"rgba(60, 90, 180, 0.9)",hover:"rgba(60, 90, 180, 1)"};case"ProduceEater":return{bg:"rgba(255, 69, 0, 0.9)",hover:"rgba(255, 69, 0, 1)"};case"ProduceRefund":return{bg:"rgba(255, 99, 71, 0.9)",hover:"rgba(255, 99, 71, 1)"};case"PetMutationBoost":case"PetMutationBoostII":return{bg:"rgba(160, 50, 100, 0.9)",hover:"rgba(160, 50, 100, 1)"};case"HungerRestore":case"HungerRestoreII":return{bg:"rgba(255, 105, 180, 0.9)",hover:"rgba(255, 105, 180, 1)"};case"PetRefund":case"PetRefundII":return{bg:"rgba(0, 80, 120, 0.9)",hover:"rgba(0, 80, 120, 1)"};case"Copycat":return{bg:"rgba(255, 140, 0, 0.9)",hover:"rgba(255, 140, 0, 1)"};case"GoldGranter":return{bg:"linear-gradient(135deg, rgba(225, 200, 55, 0.9) 0%, rgba(225, 180, 10, 0.9) 40%, rgba(215, 185, 45, 0.9) 70%, rgba(210, 185, 45, 0.9) 100%)",hover:"linear-gradient(135deg, rgba(220, 200, 70, 1) 0%, rgba(210, 175, 5, 1) 40%, rgba(210, 185, 55, 1) 70%, rgba(200, 175, 30, 1) 100%)"};case"RainbowGranter":return{bg:"linear-gradient(45deg, rgba(200,0,0,0.9), rgba(200,120,0,0.9), rgba(160,170,30,0.9), rgba(60,170,60,0.9), rgba(50,170,170,0.9), rgba(40,150,180,0.9), rgba(20,90,180,0.9), rgba(70,30,150,0.9))",hover:"linear-gradient(45deg, rgba(200,0,0,1), rgba(200,120,0,1), rgba(160,170,30,1), rgba(60,170,60,1), rgba(50,170,170,1), rgba(40,150,180,1), rgba(20,90,180,1), rgba(70,30,150,1))"};case"RainDance":return{bg:"rgba(102, 204, 216, 0.9)",hover:"rgba(102, 204, 216, 1)"};case"SeedFinderI":case"SeedFinderII":case"SeedFinderIII":case"SeedFinderIV":return{bg:"rgba(168, 102, 38, 0.9)",hover:"rgba(168, 102, 38, 1)"};default:return{bg:"rgba(100, 100, 100, 0.9)",hover:"rgba(150, 150, 150, 1)"}}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ubt=e=>{const t=e.match(/(\d+),\s*(\d+),\s*(\d+)/);if(!t)return"rgba(0, 0, 0, 1)";const r=parseInt(t[1],10),n=parseInt(t[2],10),i=parseInt(t[3],10),a=Math.round(r*.8),s=Math.round(n*.8),o=Math.round(i*.8);return`rgba(${a}, ${s}, ${o}, 1)`},en=({mutationId:e,isCompact:t=!1,isDark:r=!1,...n})=>{const{name:i}=Ah[e],a=cbt[e],s=r?ubt(a):a,o=t?i.slice(0,1).toUpperCase():i;return e==="Rainbow"?f.jsx(ue,{as:"span",bgClip:"text",fontWeight:"bold",fontSize:"inherit",bgGradient:a,...n,children:o}):f.jsx(ue,{as:"span",fontWeight:"bold",fontSize:"inherit",color:s,...n,children:o})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:Af,set:tte}=ft();function dbt(){const e=Af(Xr);if(!e){console.warn("No selected item");return}if(e.itemType!==ne.Tool){console.warn("Selected item is not a tool");return}const t=Af(j1);if(!t){console.warn("No grow slot");return}const r=Af(Ra);if(r===null){console.error("No garden tile index");return}const n=Af(vo);if(n===null){console.error("No grow slot index");return}const i=wa[e.toolId];if(!("grantedMutation"in i)){console.warn("Selected item is not a mutation potion");return}const a=Af(R1),{name:s}=tt[t.species].plant,{name:o}=tt[t.species].crop,{name:l}=i;if(!a){lt({variant:"error",title:Ee._({id:"7/oSz5",values:{potionName:l}}),description:Ee._({id:"5gYpSX",values:{plantName:s}})});return}const{tileRef:c}=tt[t.species].crop,{grantedMutation:u}=i,d=lbt(u,t.mutations);if(!d){const m=t.mutations.includes(u)?f.jsx(L,{id:"Nhflq4",values:{cropName:o},components:{0:f.jsx(en,{mutationId:u})}}):f.jsx(L,{id:"WpTLkU",values:{cropName:o},components:{0:f.jsx(en,{mutationId:u})}});lt({variant:"error",title:Ee._({id:"7/oSz5",values:{potionName:l}}),description:m});return}const h=f.jsx(qt,{tileRef:c,mutations:d,width:"50px",height:"50px"});tte(ti,{playerId:Af(gr),animation:or.Water}),lt({variant:"success",title:Ee._({id:"hlXIi+",values:{potionName:l}}),description:Ee._({id:"7o7mMh",values:{potionName:l,cropName:o}}),icon:h,onClick:aa}),n4(),zt({type:"MutationPotion",tileObjectIdx:r,growSlotIdx:n,mutation:u}),e.quantity<=1&&tte(Ao,null)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:O3,set:m9}=ft();function Iye(){const e=O3($o);if(!e){console.warn("This player is not standing on a garden tile");return}const t=O3(Xn);if((t==null?void 0:t.objectType)!=="decor"){console.warn("This player is not standing on a decor tile");return}const r=O3(hn),{isInventoryFull:n,isItemAtMaxQuantity:i}=Ja({itemType:ne.Decor,id:t.decorId}),{name:a}=zi[t.decorId];if(n){lt({title:Ee._({id:"e2hCG9"}),description:Ee._({id:"ViRBtK",values:{name:a}}),variant:"error"});return}if(i){lt({title:Ee._({id:"D+lp/G"}),description:Ee._({id:"1280GK",values:{name:a}}),variant:"error"});return}const{tileType:s,localTileIndex:o}=e;m9(ti,{playerId:O3(gr),animation:or.PickupObject}),Vy(),zt({type:"PickupDecor",tileType:s,localTileIndex:o});const l=r.findIndex(c=>c.itemType===ne.Decor&&c.decorId===t.decorId);l!==-1?m9(Ao,l):l4(),m9(Ka,t.rotation)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:M3,set:pbt}=ft();function hbt(){const e=M3($o);if(!e){console.warn("This player is not standing on a garden tile");return}const t=M3(Xr);if((t==null?void 0:t.itemType)!==ne.Decor){console.warn("Selected item is not a decor");return}const{tileType:r,localTileIndex:n}=e,i=M3(Ka);pbt(ti,{playerId:M3(gr),animation:or.DropObject}),rye(),zt({type:"PlaceDecor",tileType:r,localTileIndex:n,decorId:t.decorId,rotation:i})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Gn=(e,t=2)=>{const r=e.toPrecision(t);return r.includes("e")?parseFloat(r).toString():r};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ei=({currency:e,spriteSize:t,amount:r,...n})=>{const i=e===Ri.Credits?rr.Donut:rr.Coin;return f.jsxs(ue,{color:"MagicBlack",as:"span",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",fontSize:"inherit",...n,children:[r.toLocaleString(),f.jsx(Ne,{as:"text",display:"inline-flex",verticalAlign:"middle",mr:"-1px",children:f.jsx(qt,{tileRef:i,width:t,height:t,isNormalizedScale:!0})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const fbt=(e,t,r)=>{switch(t){case"CoinFinderI":case"CoinFinderII":case"CoinFinderIII":{const{coinsFound:n}=r;return f.jsx(L,{id:"1iAI99",values:{name:e},components:{0:f.jsx(Ei,{currency:Ri.Coins,amount:n,spriteSize:"18px",color:"MagicWhite"})}})}case"SeedFinderI":case"SeedFinderII":case"SeedFinderIII":case"SeedFinderIV":{const{seedName:n}=r;return f.jsx(L,{id:"0QCwaB",values:{name:e,seedName:n}})}case"HungerRestore":case"HungerRestoreII":{const{petName:n,hungerRestoreAmount:i}=r,a=n==="itself"?f.jsx(L,{id:"mwhGLF"}):n;return f.jsx(L,{id:"XimSy6",values:{0:i.toLocaleString(),name:e,actualPetName:a}})}case"DoubleHarvest":{const{cropName:n}=r;return f.jsx(L,{id:"KARLu9",values:{name:e,cropName:n}})}case"DoubleHatch":{const{petName:n}=r;return f.jsx(L,{id:"Ijd1lM",values:{name:e,petName:n}})}case"ProduceEater":{const{cropName:n,sellPrice:i}=r;return f.jsx(L,{id:"FPZWmu",values:{name:e,cropName:n},components:{0:f.jsx(Ei,{currency:Ri.Coins,amount:i,spriteSize:"18px",color:"MagicWhite"})}})}case"PetHatchSizeBoost":case"PetHatchSizeBoostII":{const{petName:n,strengthIncrease:i}=r;return f.jsx(L,{id:"QIf0yz",values:{0:i.toFixed(0),name:e,petName:n}})}case"PetAgeBoost":case"PetAgeBoostII":{const{petName:n,bonusXp:i}=r;return f.jsx(L,{id:"ziOwVN",values:{0:Math.round(i).toLocaleString(),name:e,petName:n}})}case"PetRefund":case"PetRefundII":{const{eggName:n}=r;return f.jsx(L,{id:"YISbAS",values:{name:e,eggName:n}})}case"ProduceRefund":{const{numCropsRefunded:n}=r;return f.jsx(L,{id:"eBec5i",values:{name:e,numCropsRefunded:n}})}case"SellBoostI":case"SellBoostII":case"SellBoostIII":case"SellBoostIV":{const{bonusCoins:n}=r;return f.jsx(L,{id:"34Lch2",values:{name:e},components:{0:f.jsx(Ei,{currency:Ri.Coins,amount:n,spriteSize:"18px",color:"MagicWhite"})}})}case"GoldGranter":{const{growSlot:n}=r,{name:i}=tt[n.species].crop;return f.jsx(L,{id:"fU2o2c",values:{name:e,cropName:i},components:{0:f.jsx(en,{mutationId:"Gold",isDark:!0})}})}case"RainbowGranter":{const{growSlot:n}=r,{name:i}=tt[n.species].crop;return f.jsx(L,{id:"fU2o2c",values:{name:e,cropName:i},components:{0:f.jsx(en,{mutationId:"Rainbow",isDark:!0})}})}case"RainDance":{const{growSlot:n}=r,{species:i,mutations:a}=n,{name:s}=tt[i].crop;return a.includes("Frozen")?f.jsx(L,{id:"mjCUM4",values:{name:e,cropName:s},components:{0:f.jsx(en,{mutationId:"Chilled",isDark:!0}),1:f.jsx(en,{mutationId:"Frozen",isDark:!0})}}):f.jsx(L,{id:"fU2o2c",values:{name:e,cropName:s},components:{0:f.jsx(en,{mutationId:"Wet",isDark:!0})}})}case"PetXpBoost":case"PetXpBoostII":{const{bonusXp:n}=r;return f.jsx(L,{id:"KIqxzL",values:{0:Math.round(n).toLocaleString(),name:e}})}case"EggGrowthBoost":case"EggGrowthBoostII_NEW":case"EggGrowthBoostII":{const{minutesReduced:n}=r;return f.jsx(L,{id:"GfFlKd",values:{0:dl(n*60*1e3),name:e}})}case"PlantGrowthBoost":case"PlantGrowthBoostII":{const{minutesReduced:n}=r;return f.jsx(L,{id:"EeJtKm",values:{0:dl(n*60*1e3),name:e}})}case"ProduceScaleBoost":case"ProduceScaleBoostII":{const{scaleIncreasePercentage:n}=r;return f.jsx(L,{id:"Tb+gpO",values:{0:n.toFixed(0),name:e}})}case"ProduceMutationBoost":case"ProduceMutationBoostII":case"PetMutationBoost":case"PetMutationBoostII":case"Copycat":case"HungerBoost":case"HungerBoostII":case"MoonKisser":case"DawnKisser":return;default:return}},Oye=e=>{switch(e){case"MoonKisser":return f.jsx(L,{id:"orlTY5",components:{0:f.jsx(en,{mutationId:"Ambershine"}),1:f.jsx(en,{mutationId:"Ambercharged"})}});case"DawnKisser":return f.jsx(L,{id:"tSeomy",components:{0:f.jsx(en,{mutationId:"Dawnlit"}),1:f.jsx(en,{mutationId:"Dawncharged"})}});case"ProduceScaleBoost":case"ProduceScaleBoostII":return f.jsx(L,{id:"P7cCf6"});case"ProduceEater":return f.jsx(L,{id:"Sl176f"});case"DoubleHarvest":return f.jsx(L,{id:"Wg0Nq6"});case"DoubleHatch":return f.jsx(L,{id:"AuOvsH"});case"SellBoostI":case"SellBoostII":case"SellBoostIII":case"SellBoostIV":return f.jsx(L,{id:"lEhR1x"});case"ProduceRefund":return f.jsx(L,{id:"6oxc/c"});case"PlantGrowthBoost":case"PlantGrowthBoostII":return f.jsx(L,{id:"SQw0Sj"});case"ProduceMutationBoost":case"ProduceMutationBoostII":return f.jsx(L,{id:"WO9SNb"});case"PetMutationBoost":case"PetMutationBoostII":return f.jsx(L,{id:"wGIyjc"});case"HungerRestore":case"HungerRestoreII":return f.jsx(L,{id:"LP/vSz"});case"HungerBoost":case"HungerBoostII":return f.jsx(L,{id:"9I3Nfg"});case"PetRefund":case"PetRefundII":return f.jsx(L,{id:"VZBZ11"});case"PetXpBoost":case"PetXpBoostII":return f.jsx(L,{id:"10LC48"});case"Copycat":return f.jsx(L,{id:"RpKAL4"});case"CoinFinderI":case"CoinFinderII":case"CoinFinderIII":return f.jsx(L,{id:"uM3m7V"});case"SeedFinderI":return f.jsx(L,{id:"3yoD15"});case"SeedFinderII":return f.jsx(L,{id:"IWKo3R"});case"SeedFinderIII":return f.jsx(L,{id:"/tZmzR"});case"SeedFinderIV":return f.jsx(L,{id:"WX3c/G"});case"PetHatchSizeBoost":case"PetHatchSizeBoostII":return f.jsx(L,{id:"nkioqd"});case"PetAgeBoost":case"PetAgeBoostII":return f.jsx(L,{id:"zbo+d2"});case"EggGrowthBoost":case"EggGrowthBoostII_NEW":case"EggGrowthBoostII":return f.jsx(L,{id:"lp8YE2"});case"GoldGranter":return f.jsxs(f.Fragment,{children:[f.jsx(L,{id:"IV8vcq"})," ",f.jsx(en,{mutationId:"Gold"})," ",f.jsx(L,{id:"z9VGpp"})]});case"RainbowGranter":return f.jsxs(f.Fragment,{children:[f.jsx(L,{id:"IV8vcq"})," ",f.jsx(en,{mutationId:"Rainbow"})," ",f.jsx(L,{id:"z9VGpp"})]});case"RainDance":return f.jsxs(f.Fragment,{children:[f.jsx(L,{id:"IV8vcq"})," ",f.jsx(en,{mutationId:"Wet"})," ",f.jsx(L,{id:"z9VGpp"})]});default:return null}},mbt=(e,t)=>{switch(e){case"mutationChancePerMinute":return{label:f.jsx(L,{id:"5x08Xv"}),calculatedValue:`${Gn(t)}`,unit:"%"};case"tileRadius":return{label:f.jsx(L,{id:"QdHe7G"}),calculatedValue:`${t}`,unit:""};case"targetMutation":case"sourceMutation":case"requiredWeather":case"activationTileRef":default:return null}},gbt=(e,t,r,n)=>{const i=t*r;switch(e){case"scaleIncreasePercentage":return{label:f.jsx(L,{id:"EXjrUi"}),calculatedValue:`${Gn(i)}`,baseValue:`${Gn(t)}`,strength:n,unit:"%"};case"cropSellPriceIncreasePercentage":return{label:f.jsx(L,{id:"sF/WV5"}),calculatedValue:`${Gn(i)}`,baseValue:`${Gn(t)}`,strength:n,unit:"%"};case"mutationChanceIncreasePercentage":return{label:f.jsx(L,{id:"IsYYc3"}),calculatedValue:`${Gn(i)}`,baseValue:`${Gn(t)}`,strength:n,unit:"%"};case"hungerRestorePercentage":return{label:f.jsx(L,{id:"qlRYZh"}),calculatedValue:`${Gn(i)}`,baseValue:`${Gn(t)}`,strength:n,unit:"%"};case"hungerDepletionRateDecreasePercentage":return{label:f.jsx(L,{id:"im7V9S"}),calculatedValue:`${Gn(i)}`,baseValue:`${Gn(t)}`,strength:n,unit:"%"};case"plantGrowthReductionMinutes":return{label:f.jsx(L,{id:"3+k2SF"}),calculatedValue:`${i.toFixed(0)}`,baseValue:`${t.toFixed(0)}`,strength:n,unit:"m"};case"eggGrowthTimeReductionMinutes":return{label:f.jsx(L,{id:"wboOCB"}),calculatedValue:`${i.toFixed(0)}`,baseValue:`${t.toFixed(0)}`,strength:n,unit:"m"};case"baseMaxCoinsFindable":return{label:f.jsx(L,{id:"oR8O2T"}),calculatedValue:`1 - ${Math.floor(i).toLocaleString()}`,baseValue:`1 - ${Math.floor(t).toLocaleString()}`,strength:n,unit:""};case"bonusXp":return{label:f.jsx(L,{id:"8FJjqh"}),calculatedValue:`${Math.floor(i).toLocaleString()}`,baseValue:`${Math.floor(t).toLocaleString()}`,strength:n,unit:""};case"maxStrengthIncreasePercentage":return{label:f.jsx(L,{id:"2vmNV/"}),calculatedValue:`${Gn(i)}`,baseValue:`${Gn(t)}`,strength:n,unit:"%"};case"grantedMutations":default:return null}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const b4=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/components/QuinoaWorld/useMyPetEffects.ts/myPetPositionsAtom",Me(null));b4.debugLabel="myPetPositionsAtom";const bbt=()=>{const e=Pe(po),t=Pe(v0),r=Pe(hq),n=Pe(dye),i=Pe(Yd),a=Pe(Yc),s=Pe(Ws),[o,l]=Ea(b4),{_:c}=Pt(),u=j.useCallback(()=>{if(a===null)return;const g=YN(e,a);return g?h(g,100):void 0},[e,a]),d=j.useCallback((g,b)=>{if(a===null)return!1;const y=Object.values(o!=null?o:{}).filter(A=>A!==void 0).some(A=>A.x===g&&A.y===b),v=t&&g===t.x&&b===t.y;if(y||v)return!1;const S=Zh(e,g,b),x=e.globalTileIdxToDirtTile[S],w=e.globalTileIdxToBoardwalk[S];return(x==null?void 0:x.userSlotIdx)===a||(w==null?void 0:w.userSlotIdx)===a},[e,a,o,t]),h=j.useCallback((g,b=1)=>{let y={...g};for(let v=0;v<b;v++){const S=[];for(const x of Object.keys(Jp)){const{x:w,y:A}=Jp[x],_=y.x+w,C=y.y+A;d(_,C)&&S.push(x)}if(S.length>0){const x=S[Math.floor(Math.random()*S.length)],{x:w,y:A}=Jp[x];y={x:y.x+w,y:y.y+A}}}return y},[a,d]),p=j.useRef(!1);j.useEffect(()=>{if(n===null||p.current)return;const g={};for(const[b,y]of Object.entries(n))y.position&&(g[b]=y.position);l(g),p.current=!0},[n,l]),FF(()=>{if(!r||a===null||o===null)return;const g={...o};r.forEach(y=>{const v=o[y.id];if(v){if(y.hunger<=0)return;const x=wt[y.petSpecies].moveProbability;if(Math.random()>x)return;const w=h(v);w&&(g[y.id]=w)}else{const S=u();S&&(g[y.id]=S)}}),!Jc.isEqual(o,g)&&(l(g),zt({type:"PetPositions",petPositions:g}))},1e3);const m=j.useRef({});j.useEffect(()=>{n&&Object.entries(n).forEach(([g,b])=>{var C;const y=b.lastAbilityTrigger;if(!y)return;const v=m.current[g];if(v&&v>=y.performedAt||s-y.performedAt>3e3)return;const x=r==null?void 0:r.find(E=>E.id===g);if(!x)return;const{name:w,tileRef:A}=wt[x.petSpecies],_=(C=x.name)!=null?C:w;if(y.isHungerEmpty){const E=Vc[y.abilityId].trigger;if(y.performedAt-v<2e4&&E==="continuous")return;const P=Vc[y.abilityId].name,O=c({id:"sM6h5F",values:{abilityName:P}}),k=c({id:"Xoy8v6",values:{name:_}}),I=x.mutations;lt({toastType:"default",title:O,description:k,icon:A,mutations:I,variant:"error",onClick:()=>fq(g)}),sgt(),m.current[g]=y.performedAt;return}if(y.data){const E=fbt(_,y.abilityId,y.data);if(!E)return;const R=x.mutations,P=Vc[y.abilityId].name;lt({toastType:"default",title:P,description:E,icon:A,mutations:R,onClick:aa}),QN(x.petSpecies),ogt(),m.current[g]=y.performedAt}})},[n,i])};var Ue=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),ybt=Object.defineProperty,Wu=(e,t)=>ybt(e,"name",{value:t,configurable:!0}),{LOGLEVEL:vbt}=Ue,Hu={trace:1,debug:2,info:3,warn:4,error:5,silent:10},Tbt=vbt,Cf=Hu[Tbt]||Hu.info,d0={trace:Wu((e,...t)=>{Cf<=Hu.trace&&console.trace(e,...t)},"trace"),debug:Wu((e,...t)=>{Cf<=Hu.debug&&console.debug(e,...t)},"debug"),info:Wu((e,...t)=>{Cf<=Hu.info&&console.info(e,...t)},"info"),warn:Wu((e,...t)=>{Cf<=Hu.warn&&console.warn(e,...t)},"warn"),error:Wu((e,...t)=>{Cf<=Hu.error&&console.error(e,...t)},"error"),log:Wu((e,...t)=>{Cf<Hu.silent&&console.log(e,...t)},"log")},BM=new Set,pn=Wu(e=>(t,...r)=>{if(!BM.has(t))return BM.add(t),d0[e](t,...r)},"once");pn.clear=()=>BM.clear();pn.trace=pn("trace");pn.debug=pn("debug");pn.info=pn("info");pn.warn=pn("warn");pn.error=pn("error");pn.log=pn("log");var Eq=pn("warn"),Ds=Wu(e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,i=/<\/span>/gi,a;for(r.push(t[0].replace(n,"%c").replace(i,"%c"));a=n.exec(t[0]);)r.push(a[2]),r.push("");for(let s=1;s<t.length;s++)r.push(t[s])}d0[e].apply(d0,r)},"pretty");Ds.trace=Ds("trace");Ds.debug=Ds("debug");Ds.info=Ds("info");Ds.warn=Ds("warn");Ds.error=Ds("error");var Pq=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.STORY_HOT_UPDATED="storyHotUpdated",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e))(Pq||{}),Sbt=Pq,{CHANNEL_WS_DISCONNECT:Mye,CHANNEL_CREATED:xbt,CONFIG_ERROR:kye,CREATE_NEW_STORYFILE_REQUEST:wbt,CREATE_NEW_STORYFILE_RESPONSE:_bt,CURRENT_STORY_WAS_SET:NM,DOCS_PREPARED:Dye,DOCS_RENDERED:jq,FILE_COMPONENT_SEARCH_REQUEST:Abt,FILE_COMPONENT_SEARCH_RESPONSE:Cbt,FORCE_RE_RENDER:Rq,FORCE_REMOUNT:vg,GLOBALS_UPDATED:l7,NAVIGATE_URL:Ebt,PLAY_FUNCTION_THREW_EXCEPTION:Lye,UNHANDLED_ERRORS_WHILE_PLAYING:Fye,PRELOAD_ENTRIES:$ye,PREVIEW_BUILDER_PROGRESS:Pbt,PREVIEW_KEYDOWN:Bye,REGISTER_SUBSCRIPTION:jbt,RESET_STORY_ARGS:Iq,SELECT_STORY:Rbt,SET_CONFIG:Ibt,SET_CURRENT_STORY:y4,SET_FILTER:Obt,SET_GLOBALS:Nye,SET_INDEX:Mbt,SET_STORIES:kbt,SHARED_STATE_CHANGED:Dbt,SHARED_STATE_SET:Lbt,STORIES_COLLAPSE_ALL:Fbt,STORIES_EXPAND_ALL:$bt,STORY_ARGS_UPDATED:qye,STORY_CHANGED:zye,STORY_ERRORED:Wye,STORY_INDEX_INVALIDATED:Hye,STORY_MISSING:qM,STORY_PREPARED:Uye,STORY_RENDER_PHASE_CHANGED:Ed,STORY_RENDERED:Tg,STORY_FINISHED:zM,STORY_SPECIFIED:Gye,STORY_THREW_EXCEPTION:Vye,STORY_UNCHANGED:Yye,STORY_HOT_UPDATED:Kye,UPDATE_GLOBALS:Oq,UPDATE_QUERY_PARAMS:Xye,UPDATE_STORY_ARGS:Mq,REQUEST_WHATS_NEW_DATA:Bbt,RESULT_WHATS_NEW_DATA:Nbt,SET_WHATS_NEW_CACHE:qbt,TOGGLE_WHATS_NEW_NOTIFICATIONS:zbt,TELEMETRY_ERROR:Wbt,SAVE_STORY_REQUEST:Hbt,SAVE_STORY_RESPONSE:Ubt,ARGTYPES_INFO_REQUEST:Qye,ARGTYPES_INFO_RESPONSE:WM}=Pq;const Gbt=Object.freeze(Object.defineProperty({__proto__:null,ARGTYPES_INFO_REQUEST:Qye,ARGTYPES_INFO_RESPONSE:WM,CHANNEL_CREATED:xbt,CHANNEL_WS_DISCONNECT:Mye,CONFIG_ERROR:kye,CREATE_NEW_STORYFILE_REQUEST:wbt,CREATE_NEW_STORYFILE_RESPONSE:_bt,CURRENT_STORY_WAS_SET:NM,DOCS_PREPARED:Dye,DOCS_RENDERED:jq,FILE_COMPONENT_SEARCH_REQUEST:Abt,FILE_COMPONENT_SEARCH_RESPONSE:Cbt,FORCE_REMOUNT:vg,FORCE_RE_RENDER:Rq,GLOBALS_UPDATED:l7,NAVIGATE_URL:Ebt,PLAY_FUNCTION_THREW_EXCEPTION:Lye,PRELOAD_ENTRIES:$ye,PREVIEW_BUILDER_PROGRESS:Pbt,PREVIEW_KEYDOWN:Bye,REGISTER_SUBSCRIPTION:jbt,REQUEST_WHATS_NEW_DATA:Bbt,RESET_STORY_ARGS:Iq,RESULT_WHATS_NEW_DATA:Nbt,SAVE_STORY_REQUEST:Hbt,SAVE_STORY_RESPONSE:Ubt,SELECT_STORY:Rbt,SET_CONFIG:Ibt,SET_CURRENT_STORY:y4,SET_FILTER:Obt,SET_GLOBALS:Nye,SET_INDEX:Mbt,SET_STORIES:kbt,SET_WHATS_NEW_CACHE:qbt,SHARED_STATE_CHANGED:Dbt,SHARED_STATE_SET:Lbt,STORIES_COLLAPSE_ALL:Fbt,STORIES_EXPAND_ALL:$bt,STORY_ARGS_UPDATED:qye,STORY_CHANGED:zye,STORY_ERRORED:Wye,STORY_FINISHED:zM,STORY_HOT_UPDATED:Kye,STORY_INDEX_INVALIDATED:Hye,STORY_MISSING:qM,STORY_PREPARED:Uye,STORY_RENDERED:Tg,STORY_RENDER_PHASE_CHANGED:Ed,STORY_SPECIFIED:Gye,STORY_THREW_EXCEPTION:Vye,STORY_UNCHANGED:Yye,TELEMETRY_ERROR:Wbt,TOGGLE_WHATS_NEW_NOTIFICATIONS:zbt,UNHANDLED_ERRORS_WHILE_PLAYING:Fye,UPDATE_GLOBALS:Oq,UPDATE_QUERY_PARAMS:Xye,UPDATE_STORY_ARGS:Mq,default:Sbt},Symbol.toStringTag,{value:"Module"}));var Vbt=Object.defineProperty,He=(e,t)=>Vbt(e,"name",{value:t,configurable:!0});function _p(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var i=n.reduce(function(o,l){var c=l.match(/\n([\t ]+|(?!\s).)/g);return c?o.concat(c.map(function(u){var d,h;return(h=(d=u.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&h!==void 0?h:0})):o},[]);if(i.length){var a=new RegExp(`
[ ]{`+Math.min.apply(Math,i)+"}","g");n=n.map(function(o){return o.replace(a,`
`)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(o,l){var c=s.match(/(?:^|\n)( *)$/),u=c?c[1]:"",d=o;typeof o=="string"&&o.includes(`
`)&&(d=String(o).split(`
`).map(function(h,p){return p===0?h:""+u+h}).join(`
`)),s+=d+n[l+1]}),s}He(_p,"dedent");var rte=new Map,Ybt="UNIVERSAL_STORE:",us={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},Fu=class Kt{constructor(t,r){var n,i,a;if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=He(()=>(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=He((s,o)=>{let l=typeof s=="function",c=l?"*":s,u=l?s:o;if(this.debug("subscribe",{eventType:c,listener:u}),!u)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(c)||this.listeners.set(c,new Set),this.listeners.get(c).add(u),()=>{var d;this.debug("unsubscribe",{eventType:c,listener:u}),this.listeners.has(c)&&(this.listeners.get(c).delete(u),((d=this.listeners.get(c))==null?void 0:d.size)===0&&this.listeners.delete(c))}},"subscribe"),this.send=He(s=>{if(this.debug("send",{event:s}),this.status!==Kt.Status.READY)throw new TypeError(_p`Cannot send event before store is ready. You can get the current status with store.status,
or await store.readyPromise to wait for the store to be ready before sending events.
${JSON.stringify({event:s,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(s,{actor:this.actor}),this.emitToChannel(s,{actor:this.actor})},"send"),this.debugging=(n=t.debug)!=null?n:!1,!Kt.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(Kt.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?Kt.ActorType.LEADER:Kt.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${Ybt}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===Kt.ActorType.LEADER)this.syncing={state:us.RESOLVED,promise:Promise.resolve()};else{let s,o,l=new Promise((c,u)=>{s=He(()=>{this.syncing.state===us.PENDING&&(this.syncing.state=us.RESOLVED,c())},"syncingResolve"),o=He(d=>{this.syncing.state===us.PENDING&&(this.syncing.state=us.REJECTED,u(d))},"syncingReject")});this.syncing={state:us.PENDING,promise:l,resolve:s,reject:o}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=(i=r==null?void 0:r.channel)!=null?i:Kt.preparation.channel,this.environment=(a=r==null?void 0:r.environment)!=null?a:Kt.preparation.environment,this.channel&&this.environment?(Kt.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):Kt.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((i,a)=>{t=He(s=>{i(s)},"resolveRef"),r=He((...s)=>{a(s)},"rejectRef")});Kt.preparation={resolve:t,reject:r,promise:n}}get actor(){var t;return Object.freeze({id:this.actorId,type:this.actorType,environment:(t=this.environment)!=null?t:Kt.Environment.UNKNOWN})}get status(){var t;if(!this.channel||!this.environment)return Kt.Status.UNPREPARED;switch((t=this.syncing)==null?void 0:t.state){case us.PENDING:case void 0:return Kt.Status.SYNCING;case us.REJECTED:return Kt.Status.ERROR;case us.RESOLVED:default:return Kt.Status.READY}}untilReady(){var t;return Promise.all([Kt.preparation.promise,(t=this.syncing)==null?void 0:t.promise])}static create(t){if(!t||typeof(t==null?void 0:t.id)!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(_p`[UniversalStore]
create`,{options:t});let r=rte.get(t.id);if(r)return console.warn(_p`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
You should reuse the existing instance instead of trying to create a new one.`),r;Kt.isInternalConstructing=!0;let n=new Kt(t);return rte.set(t.id,n),n}static __prepare(t,r){Kt.preparation.channel=t,Kt.preparation.environment=r,Kt.preparation.resolve({channel:t,environment:r})}setState(t){let r=this.state,n=typeof t=="function"?t(r):t;if(this.debug("setState",{newState:n,previousState:r,updater:t}),this.status!==Kt.Status.READY)throw new TypeError(_p`Cannot set state before store is ready. You can get the current status with store.status,
or await store.readyPromise to wait for the store to be ready before sending events.
${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let i={type:Kt.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(i,{actor:this.actor}),this.emitToListeners(i,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(Kt.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){var n;this.debug("emitToChannel",{event:t,eventInfo:r,channel:!!this.channel}),(n=this.channel)==null||n.emit(this.channelEventName,{event:t,eventInfo:r})}prepareThis({channel:t,environment:r}){this.channel=t,this.environment=r,this.debug("prepared",{channel:!!t,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===Kt.ActorType.LEADER?this.emitToChannel({type:Kt.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:Kt.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:Kt.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),i=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:i}),[...n!=null?n:[],...i!=null?i:[]].forEach(a=>a(t,r))}handleChannelEvents(t){var i,a,s,o,l;let{event:r,eventInfo:n}=t;if([n.actor.id,(i=n.forwardingActor)==null?void 0:i.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(((a=this.syncing)==null?void 0:a.state)===us.PENDING&&r.type!==Kt.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===Kt.ActorType.LEADER){let c=!0;switch(r.type){case Kt.InternalEventType.EXISTING_STATE_REQUEST:c=!1;let u={type:Kt.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:u}),this.emitToChannel(u,{actor:this.actor}),this.emitToListeners(u,{actor:this.actor});break;case Kt.InternalEventType.LEADER_CREATED:c=!1,this.syncing.state=us.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(_p`Detected multiple UniversalStore leaders created with the same id "${this.id}".
Only one leader can exists at a time, your stores are now in an invalid state.
Leaders detected:
this: ${JSON.stringify(this.actor,null,2)}
other: ${JSON.stringify(n.actor,null,2)}`);break}c&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===Kt.ActorType.FOLLOWER)switch(r.type){case Kt.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),((s=this.syncing)==null?void 0:s.state)!==us.PENDING)break;(l=(o=this.syncing).resolve)==null||l.call(o);let c={type:Kt.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(c,n);break}switch(r.type){case Kt.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){var n;this.debugging&&console.debug(_p`[UniversalStore::${this.id}::${(n=this.environment)!=null?n:Kt.Environment.UNKNOWN}]
${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){Kt.preparation.reject(new Error("reset")),Kt.setupPreparationPromise(),Kt.isInternalConstructing=!1}};He(Fu,"UniversalStore"),Fu.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},Fu.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},Fu.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},Fu.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},Fu.isInternalConstructing=!1,Fu.setupPreparationPromise();var g9=Fu,Kbt=He(e=>e.transports!==void 0,"isMulti"),Xbt=He(()=>Math.random().toString(16).slice(2),"generateRandomId"),Jye=class{constructor(t={}){this.sender=Xbt(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,Kbt(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})}get hasTransport(){return this.transports.length>0}addListener(t,r){this.events[t]=this.events[t]||[],this.events[t].push(r)}emit(t,...r){let n={type:t,args:r,from:this.sender},i={};r.length>=1&&r[0]&&r[0].options&&(i=r[0].options);let a=He(()=>{this.transports.forEach(s=>{s.send(n,i)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(a):a()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){let r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){let n=this.onceListener(t,r);this.addListener(t,n)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){let n=this.listeners(t);n&&(this.events[t]=n.filter(i=>i!==r))}on(t,r){this.addListener(t,r)}off(t,r){this.removeListener(t,r)}handleEvent(t){let r=this.listeners(t.type);r&&r.length&&r.forEach(n=>{n.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){let n=He((...i)=>(this.removeListener(t,n),r(...i)),"onceListener");return n}};He(Jye,"Channel");var kq=Jye,Qbt=Object.create,Zye=Object.defineProperty,Jbt=Object.getOwnPropertyDescriptor,e5e=Object.getOwnPropertyNames,Zbt=Object.getPrototypeOf,eyt=Object.prototype.hasOwnProperty,sr=He((e,t)=>He(function(){return t||(0,e[e5e(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),tyt=He((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of e5e(t))!eyt.call(e,i)&&i!==r&&Zye(e,i,{get:He(()=>t[i],"get"),enumerable:!(n=Jbt(t,i))||n.enumerable});return e},"__copyProps"),Dq=He((e,t,r)=>(r=e!=null?Qbt(Zbt(e)):{},tyt(t||!e||!e.__esModule?Zye(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),ryt=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],nyt=["detail"];function t5e(e){let t=ryt.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(let r of nyt.filter(n=>e[n]!==void 0))t[r]=e[r];return t}He(t5e,"extractEventHiddenProperties");var r5e=sr({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),iyt=sr({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),ayt=sr({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),syt=sr({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),oyt=sr({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),lyt=sr({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),Lq=sr({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),cyt=sr({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),uyt=sr({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),dyt=sr({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),pyt=sr({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),hyt=sr({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),fyt=sr({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),myt=sr({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),gyt=sr({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||He(function(r){return r!==r},"isNaN2")}}),byt=sr({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=gyt();t.exports=He(function(n){return r(n)||n===0?n:n<0?-1:1},"sign")}}),yyt=sr({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),Fq=sr({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=yyt();if(r)try{r([],"length")}catch(n){r=null}t.exports=r}}),vyt=sr({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch(n){r=!1}t.exports=r}}),n5e=sr({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=He(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),i=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var a=42;r[n]=a;for(var s in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var o=Object.getOwnPropertySymbols(r);if(o.length!==1||o[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(r,n);if(l.value!==a||l.enumerable!==!0)return!1}return!0},"hasSymbols")}}),i5e=sr({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=n5e();t.exports=He(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),a5e=sr({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}}),s5e=sr({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=r5e();t.exports=r.getPrototypeOf||null}}),Tyt=sr({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,i=Math.max,a="[object Function]",s=He(function(c,u){for(var d=[],h=0;h<c.length;h+=1)d[h]=c[h];for(var p=0;p<u.length;p+=1)d[p+c.length]=u[p];return d},"concatty2"),o=He(function(c,u){for(var d=[],h=u||0,p=0;h<c.length;h+=1,p+=1)d[p]=c[h];return d},"slicy2"),l=He(function(c,u){for(var d="",h=0;h<c.length;h+=1)d+=c[h],h+1<c.length&&(d+=u);return d},"joiny");t.exports=He(function(c){var u=this;if(typeof u!="function"||n.apply(u)!==a)throw new TypeError(r+u);for(var d=o(arguments,1),h,p=He(function(){if(this instanceof h){var v=u.apply(this,s(d,arguments));return Object(v)===v?v:this}return u.apply(c,s(d,arguments))},"binder"),m=i(0,u.length-d.length),g=[],b=0;b<m;b++)g[b]="$"+b;if(h=Function("binder","return function ("+l(g,",")+"){ return binder.apply(this,arguments); }")(p),u.prototype){var y=He(function(){},"Empty2");y.prototype=u.prototype,h.prototype=new y,y.prototype=null}return h},"bind")}}),v4=sr({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=Tyt();t.exports=Function.prototype.bind||r}}),$q=sr({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){t.exports=Function.prototype.call}}),o5e=sr({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){t.exports=Function.prototype.apply}}),Syt=sr({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}}),xyt=sr({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=v4(),n=o5e(),i=$q(),a=Syt();t.exports=a||r.call(i,n)}}),l5e=sr({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=v4(),n=Lq(),i=$q(),a=xyt();t.exports=He(function(s){if(s.length<1||typeof s[0]!="function")throw new n("a function is required");return a(r,i,s)},"callBindBasic")}}),wyt=sr({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=l5e(),n=Fq(),i;try{i=[].__proto__===Array.prototype}catch(l){if(!l||typeof l!="object"||!("code"in l)||l.code!=="ERR_PROTO_ACCESS")throw l}var a=!!i&&n&&n(Object.prototype,"__proto__"),s=Object,o=s.getPrototypeOf;t.exports=a&&typeof a.get=="function"?r([a.get]):typeof o=="function"?He(function(l){return o(l==null?l:s(l))},"getDunder"):!1}}),_yt=sr({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=a5e(),n=s5e(),i=wyt();t.exports=r?He(function(a){return r(a)},"getProto"):n?He(function(a){if(!a||typeof a!="object"&&typeof a!="function")throw new TypeError("getProto: not an object");return n(a)},"getProto"):i?He(function(a){return i(a)},"getProto"):null}}),c5e=sr({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,i=v4();t.exports=i.call(r,n)}}),Ayt=sr({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=r5e(),i=iyt(),a=ayt(),s=syt(),o=oyt(),l=lyt(),c=Lq(),u=cyt(),d=uyt(),h=dyt(),p=pyt(),m=hyt(),g=fyt(),b=myt(),y=byt(),v=Function,S=He(function(X){try{return v('"use strict"; return ('+X+").constructor;")()}catch(se){}},"getEvalledConstructor"),x=Fq(),w=vyt(),A=He(function(){throw new c},"throwTypeError"),_=x?(function(){try{return arguments.callee,A}catch(X){try{return x(arguments,"callee").get}catch(se){return A}}})():A,C=i5e()(),E=_yt(),R=s5e(),P=a5e(),O=o5e(),k=$q(),I={},M=typeof Uint8Array>"u"||!E?r:E(Uint8Array),D={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":C&&E?E([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":I,"%AsyncGenerator%":I,"%AsyncGeneratorFunction%":I,"%AsyncIteratorPrototype%":I,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":I,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":C&&E?E(E([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!C||!E?r:E(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":s,"%ReferenceError%":o,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!C||!E?r:E(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C&&E?E(""[Symbol.iterator]()):r,"%Symbol%":C?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":_,"%TypedArray%":M,"%TypeError%":c,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":O,"%Object.defineProperty%":w,"%Object.getPrototypeOf%":R,"%Math.abs%":d,"%Math.floor%":h,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":g,"%Math.round%":b,"%Math.sign%":y,"%Reflect.getPrototypeOf%":P};if(E)try{null.error}catch(X){F=E(E(X)),D["%Error.prototype%"]=F}var F,$=He(function X(se){var Ce;if(se==="%AsyncFunction%")Ce=S("async function () {}");else if(se==="%GeneratorFunction%")Ce=S("function* () {}");else if(se==="%AsyncGeneratorFunction%")Ce=S("async function* () {}");else if(se==="%AsyncGenerator%"){var ce=X("%AsyncGeneratorFunction%");ce&&(Ce=ce.prototype)}else if(se==="%AsyncIteratorPrototype%"){var le=X("%AsyncGenerator%");le&&E&&(Ce=E(le.prototype))}return D[se]=Ce,Ce},"doEval2"),Y={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},he=v4(),fe=c5e(),U=he.call(k,Array.prototype.concat),W=he.call(O,Array.prototype.splice),H=he.call(k,String.prototype.replace),ie=he.call(k,String.prototype.slice),J=he.call(k,RegExp.prototype.exec),we=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Le=/\\(\\)?/g,Ye=He(function(X){var se=ie(X,0,1),Ce=ie(X,-1);if(se==="%"&&Ce!=="%")throw new l("invalid intrinsic syntax, expected closing `%`");if(Ce==="%"&&se!=="%")throw new l("invalid intrinsic syntax, expected opening `%`");var ce=[];return H(X,we,function(le,Te,be,ze){ce[ce.length]=be?H(ze,Le,"$1"):Te||le}),ce},"stringToPath3"),oe=He(function(X,se){var Ce=X,ce;if(fe(Y,Ce)&&(ce=Y[Ce],Ce="%"+ce[0]+"%"),fe(D,Ce)){var le=D[Ce];if(le===I&&(le=$(Ce)),typeof le>"u"&&!se)throw new c("intrinsic "+X+" exists, but is not available. Please file an issue!");return{alias:ce,name:Ce,value:le}}throw new l("intrinsic "+X+" does not exist!")},"getBaseIntrinsic2");t.exports=He(function(X,se){if(typeof X!="string"||X.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof se!="boolean")throw new c('"allowMissing" argument must be a boolean');if(J(/^%?[^%]*%?$/,X)===null)throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Ce=Ye(X),ce=Ce.length>0?Ce[0]:"",le=oe("%"+ce+"%",se),Te=le.name,be=le.value,ze=!1,Ze=le.alias;Ze&&(ce=Ze[0],W(Ce,U([0,1],Ze)));for(var St=1,Ut=!0;St<Ce.length;St+=1){var Rt=Ce[St],Dt=ie(Rt,0,1),nt=ie(Rt,-1);if((Dt==='"'||Dt==="'"||Dt==="`"||nt==='"'||nt==="'"||nt==="`")&&Dt!==nt)throw new l("property names with quotes must have matching quotes");if((Rt==="constructor"||!Ut)&&(ze=!0),ce+="."+Rt,Te="%"+ce+"%",fe(D,Te))be=D[Te];else if(be!=null){if(!(Rt in be)){if(!se)throw new c("base intrinsic for "+X+" exists, but the property is not available.");return}if(x&&St+1>=Ce.length){var Pr=x(be,Rt);Ut=!!Pr,Ut&&"get"in Pr&&!("originalValue"in Pr.get)?be=Pr.get:be=be[Rt]}else Ut=fe(be,Rt),be=be[Rt];Ut&&!ze&&(D[Te]=be)}}return be},"GetIntrinsic")}}),Bq=sr({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=Ayt(),n=l5e(),i=n([r("%String.prototype.indexOf%")]);t.exports=He(function(a,s){var o=r(a,!!s);return typeof o=="function"&&i(a,".prototype.")>-1?n([o]):o},"callBoundIntrinsic")}}),Cyt=sr({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=n5e();t.exports=He(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),u5e=sr({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=Bq(),n=Cyt()(),i=c5e(),a=Fq(),s;n?(o=r("RegExp.prototype.exec"),l={},c=He(function(){throw l},"throwRegexMarker"),u={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=c),s=He(function(p){if(!p||typeof p!="object")return!1;var m=a(p,"lastIndex"),g=m&&i(m,"value");if(!g)return!1;try{o(p,u)}catch(b){return b===l}},"isRegex")):(d=r("Object.prototype.toString"),h="[object RegExp]",s=He(function(p){return!p||typeof p!="object"&&typeof p!="function"?!1:d(p)===h},"isRegex"));var o,l,c,u,d,h;t.exports=s}}),Eyt=sr({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(i){if(!i)return!1;var a=r.call(i);return a==="[object Function]"||typeof i=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(i===window.setTimeout||i===window.alert||i===window.confirm||i===window.prompt)}He(n,"isFunction3")}}),Pyt=sr({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=Bq(),n=u5e(),i=r("RegExp.prototype.exec"),a=Lq();t.exports=He(function(s){if(!n(s))throw new a("`regex` must be a RegExp");return He(function(o){return i(s,o)!==null},"test")},"regexTester")}}),jyt=sr({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=Bq(),n=r("Object.prototype.toString"),i=i5e()(),a=Pyt();i?(s=r("Symbol.prototype.toString"),o=a(/^Symbol\(.*\)$/),l=He(function(c){return typeof c.valueOf()!="symbol"?!1:o(s(c))},"isRealSymbolObject"),t.exports=He(function(c){if(typeof c=="symbol")return!0;if(!c||typeof c!="object"||n(c)!=="[object Symbol]")return!1;try{return l(c)}catch(u){return!1}},"isSymbol3")):t.exports=He(function(c){return!1},"isSymbol3");var s,o,l}}),Ryt=Dq(u5e()),Iyt=Dq(Eyt()),Oyt=Dq(jyt());function d5e(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}He(d5e,"isObject");var Myt=typeof global=="object"&&global&&global.Object===Object&&global,kyt=Myt,Dyt=typeof self=="object"&&self&&self.Object===Object&&self,Lyt=kyt||Dyt||Function("return this")(),Nq=Lyt,Fyt=Nq.Symbol,Sg=Fyt,p5e=Object.prototype,$yt=p5e.hasOwnProperty,Byt=p5e.toString,Cb=Sg?Sg.toStringTag:void 0;function h5e(e){var t=$yt.call(e,Cb),r=e[Cb];try{e[Cb]=void 0;var n=!0}catch(a){}var i=Byt.call(e);return n&&(t?e[Cb]=r:delete e[Cb]),i}He(h5e,"getRawTag");var Nyt=h5e,qyt=Object.prototype,zyt=qyt.toString;function f5e(e){return zyt.call(e)}He(f5e,"objectToString");var Wyt=f5e,Hyt="[object Null]",Uyt="[object Undefined]",nte=Sg?Sg.toStringTag:void 0;function m5e(e){return e==null?e===void 0?Uyt:Hyt:nte&&nte in Object(e)?Nyt(e):Wyt(e)}He(m5e,"baseGetTag");var g5e=m5e;function b5e(e){return e!=null&&typeof e=="object"}He(b5e,"isObjectLike");var Gyt=b5e,Vyt="[object Symbol]";function y5e(e){return typeof e=="symbol"||Gyt(e)&&g5e(e)==Vyt}He(y5e,"isSymbol");var qq=y5e;function v5e(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}He(v5e,"arrayMap");var Yyt=v5e,Kyt=Array.isArray,zq=Kyt,ite=Sg?Sg.prototype:void 0,ate=ite?ite.toString:void 0;function Wq(e){if(typeof e=="string")return e;if(zq(e))return Yyt(e,Wq)+"";if(qq(e))return ate?ate.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}He(Wq,"baseToString");var Xyt=Wq;function T5e(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}He(T5e,"isObject2");var S5e=T5e,Qyt="[object AsyncFunction]",Jyt="[object Function]",Zyt="[object GeneratorFunction]",e5t="[object Proxy]";function x5e(e){if(!S5e(e))return!1;var t=g5e(e);return t==Jyt||t==Zyt||t==Qyt||t==e5t}He(x5e,"isFunction");var t5t=x5e,r5t=Nq["__core-js_shared__"],b9=r5t,ste=(function(){var e=/[^.]+$/.exec(b9&&b9.keys&&b9.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function w5e(e){return!!ste&&ste in e}He(w5e,"isMasked");var n5t=w5e,i5t=Function.prototype,a5t=i5t.toString;function _5e(e){if(e!=null){try{return a5t.call(e)}catch(t){}try{return e+""}catch(t){}}return""}He(_5e,"toSource");var s5t=_5e,o5t=/[\\^$.*+?()[\]{}|]/g,l5t=/^\[object .+?Constructor\]$/,c5t=Function.prototype,u5t=Object.prototype,d5t=c5t.toString,p5t=u5t.hasOwnProperty,h5t=RegExp("^"+d5t.call(p5t).replace(o5t,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function A5e(e){if(!S5e(e)||n5t(e))return!1;var t=t5t(e)?h5t:l5t;return t.test(s5t(e))}He(A5e,"baseIsNative");var f5t=A5e;function C5e(e,t){return e==null?void 0:e[t]}He(C5e,"getValue");var m5t=C5e;function E5e(e,t){var r=m5t(e,t);return f5t(r)?r:void 0}He(E5e,"getNative");var P5e=E5e;function j5e(e,t){return e===t||e!==e&&t!==t}He(j5e,"eq");var g5t=j5e,b5t=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,y5t=/^\w*$/;function R5e(e,t){if(zq(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||qq(e)?!0:y5t.test(e)||!b5t.test(e)||t!=null&&e in Object(t)}He(R5e,"isKey");var v5t=R5e,T5t=P5e(Object,"create"),c7=T5t;function I5e(){this.__data__=c7?c7(null):{},this.size=0}He(I5e,"hashClear");var S5t=I5e;function O5e(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}He(O5e,"hashDelete");var x5t=O5e,w5t="__lodash_hash_undefined__",_5t=Object.prototype,A5t=_5t.hasOwnProperty;function M5e(e){var t=this.__data__;if(c7){var r=t[e];return r===w5t?void 0:r}return A5t.call(t,e)?t[e]:void 0}He(M5e,"hashGet");var C5t=M5e,E5t=Object.prototype,P5t=E5t.hasOwnProperty;function k5e(e){var t=this.__data__;return c7?t[e]!==void 0:P5t.call(t,e)}He(k5e,"hashHas");var j5t=k5e,R5t="__lodash_hash_undefined__";function D5e(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=c7&&t===void 0?R5t:t,this}He(D5e,"hashSet");var I5t=D5e;function ef(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}He(ef,"Hash");ef.prototype.clear=S5t;ef.prototype.delete=x5t;ef.prototype.get=C5t;ef.prototype.has=j5t;ef.prototype.set=I5t;var ote=ef;function L5e(){this.__data__=[],this.size=0}He(L5e,"listCacheClear");var O5t=L5e;function F5e(e,t){for(var r=e.length;r--;)if(g5t(e[r][0],t))return r;return-1}He(F5e,"assocIndexOf");var T4=F5e,M5t=Array.prototype,k5t=M5t.splice;function $5e(e){var t=this.__data__,r=T4(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():k5t.call(t,r,1),--this.size,!0}He($5e,"listCacheDelete");var D5t=$5e;function B5e(e){var t=this.__data__,r=T4(t,e);return r<0?void 0:t[r][1]}He(B5e,"listCacheGet");var L5t=B5e;function N5e(e){return T4(this.__data__,e)>-1}He(N5e,"listCacheHas");var F5t=N5e;function q5e(e,t){var r=this.__data__,n=T4(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}He(q5e,"listCacheSet");var $5t=q5e;function tf(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}He(tf,"ListCache");tf.prototype.clear=O5t;tf.prototype.delete=D5t;tf.prototype.get=L5t;tf.prototype.has=F5t;tf.prototype.set=$5t;var B5t=tf,N5t=P5e(Nq,"Map"),q5t=N5t;function z5e(){this.size=0,this.__data__={hash:new ote,map:new(q5t||B5t),string:new ote}}He(z5e,"mapCacheClear");var z5t=z5e;function W5e(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}He(W5e,"isKeyable");var W5t=W5e;function H5e(e,t){var r=e.__data__;return W5t(t)?r[typeof t=="string"?"string":"hash"]:r.map}He(H5e,"getMapData");var S4=H5e;function U5e(e){var t=S4(this,e).delete(e);return this.size-=t?1:0,t}He(U5e,"mapCacheDelete");var H5t=U5e;function G5e(e){return S4(this,e).get(e)}He(G5e,"mapCacheGet");var U5t=G5e;function V5e(e){return S4(this,e).has(e)}He(V5e,"mapCacheHas");var G5t=V5e;function Y5e(e,t){var r=S4(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}He(Y5e,"mapCacheSet");var V5t=Y5e;function rf(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}He(rf,"MapCache");rf.prototype.clear=z5t;rf.prototype.delete=H5t;rf.prototype.get=U5t;rf.prototype.has=G5t;rf.prototype.set=V5t;var K5e=rf,Y5t="Expected a function";function x4(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Y5t);var r=He(function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var s=e.apply(this,n);return r.cache=a.set(i,s)||a,s},"memoized");return r.cache=new(x4.Cache||K5e),r}He(x4,"memoize");x4.Cache=K5e;var K5t=x4,X5t=500;function X5e(e){var t=K5t(e,function(n){return r.size===X5t&&r.clear(),n}),r=t.cache;return t}He(X5e,"memoizeCapped");var Q5t=X5e,J5t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Z5t=/\\(\\)?/g,e7t=Q5t(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(J5t,function(r,n,i,a){t.push(i?a.replace(Z5t,"$1"):n||r)}),t}),t7t=e7t;function Q5e(e){return e==null?"":Xyt(e)}He(Q5e,"toString");var r7t=Q5e;function J5e(e,t){return zq(e)?e:v5t(e,t)?[e]:t7t(r7t(e))}He(J5e,"castPath");var n7t=J5e;function Z5e(e){if(typeof e=="string"||qq(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}He(Z5e,"toKey");var i7t=Z5e;function e7e(e,t){t=n7t(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[i7t(t[r++])];return r&&r==n?e:void 0}He(e7e,"baseGet");var a7t=e7e;function t7e(e,t,r){var n=e==null?void 0:a7t(e,t);return n===void 0?r:n}He(t7e,"get");var s7t=t7e,Hq=d5e,o7t=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Uq=He(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function Gq(e){if(!Hq(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=t5e(t),r=!0),t=Object.keys(t).reduce((n,i)=>{try{t[i]&&t[i].toJSON,n[i]=t[i]}catch(a){r=!0}return n},{}),r?t:e}He(Gq,"convertUnconventionalData");var l7t=He(function(e){let t,r,n,i;return He(function(a,s){var o;try{if(a==="")return i=[],t=new Map([[s,"[]"]]),r=new Map,n=[],s;let l=r.get(this)||this;for(;n.length&&l!==n[0];)n.shift(),i.pop();if(typeof s=="boolean")return s;if(s===void 0)return e.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===Number.NEGATIVE_INFINITY?"_-Infinity_":s===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return o7t.test(s)?e.allowDate?`_date_${s}`:void 0:s;if((0,Ryt.default)(s))return e.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,Iyt.default)(s))return;if((0,Oyt.default)(s)){if(!e.allowSymbol)return;let u=Symbol.keyFor(s);return u!==void 0?`_gsymbol_${u}`:`_symbol_${s.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(i)}`;if(s instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if((o=s==null?void 0:s.constructor)!=null&&o.name&&s.constructor.name!=="Object"&&!Array.isArray(s)){let u=t.get(s);if(!u){let d={__isClassInstance__:!0,__className__:s.constructor.name,...Object.getOwnPropertyNames(s).reduce((h,p)=>{try{h[p]=s[p]}catch(m){}return h},{})};return i.push(a),n.unshift(d),t.set(s,JSON.stringify(i)),s!==d&&r.set(s,d),d}return`_duplicate_${u}`}let c=t.get(s);if(!c){let u=Array.isArray(s)?s:Gq(s);return i.push(a),n.unshift(u),t.set(s,JSON.stringify(i)),s!==u&&r.set(s,u),u}return`_duplicate_${c}`}catch(l){return}},"replace")},"replacer2"),c7t=He(function(e){let t=[],r;return He(function(n,i){if(n===""&&(r=i,t.forEach(({target:a,container:s,replacement:o})=>{let l=Uq(o)?JSON.parse(o):o.split(".");l.length===0?s[a]=r:s[a]=s7t(r,l)})),n==="_constructor-name_")return i;if(Hq(i)&&i.__isConvertedError__){let{message:a,...s}=i.errorProperties,o=new Error(a);return Object.assign(o,s),o}if(typeof i=="string"&&i.startsWith("_regexp_")&&e.allowRegExp){let[,a,s]=i.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(s,a)}return typeof i=="string"&&i.startsWith("_date_")&&e.allowDate?new Date(i.replace("_date_","")):typeof i=="string"&&i.startsWith("_duplicate_")?(t.push({target:n,container:this,replacement:i.replace(/^_duplicate_/,"")}),null):typeof i=="string"&&i.startsWith("_symbol_")&&e.allowSymbol?Symbol(i.replace("_symbol_","")):typeof i=="string"&&i.startsWith("_gsymbol_")&&e.allowSymbol?Symbol.for(i.replace("_gsymbol_","")):typeof i=="string"&&i==="_-Infinity_"?Number.NEGATIVE_INFINITY:typeof i=="string"&&i==="_Infinity_"?Number.POSITIVE_INFINITY:typeof i=="string"&&i==="_NaN_"?Number.NaN:typeof i=="string"&&i.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(i.replace("_bigint_","")):i},"revive")},"reviver2"),r7e={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},n7e=He((e,t={})=>{let r={...r7e,...t};return JSON.stringify(Gq(e),l7t(r),t.space)},"stringify"),u7t=He(()=>{let e=new Map;return He(function t(r){Hq(r)&&Object.entries(r).forEach(([n,i])=>{i==="_undefined_"?r[n]=void 0:e.get(i)||(e.set(i,!0),t(i))}),Array.isArray(r)&&r.forEach((n,i)=>{n==="_undefined_"?(e.set(n,!0),r[i]=void 0):e.get(n)||(e.set(n,!0),t(n))})},"mutateUndefined")},"mutator"),i7e=He((e,t={})=>{let r={...r7e,...t},n=JSON.parse(e,c7t(r));return u7t()(n),n},"parse"),lte="Invariant failed";function px(e,t){if(!e){var r=typeof t=="function"?t():t,n=r?"".concat(lte,": ").concat(r):lte;throw new Error(n)}}He(px,"invariant");var d7t=He(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(a=>{var l,c;try{return((l=a.contentWindow)==null?void 0:l.location.origin)===e.source.location.origin&&((c=a.contentWindow)==null?void 0:c.location.pathname)===e.source.location.pathname}catch(u){}try{return a.contentWindow===e.source}catch(u){}let s=a.getAttribute("src"),o;try{if(!s)return!1;({origin:o}=new URL(s,document.location.toString()))}catch(u){return!1}return o===e.origin}),i=r==null?void 0:r.getAttribute("src");if(i&&n.length===0){let{protocol:a,host:s,pathname:o}=new URL(i,document.location.toString());return`${a}//${s}${o}`}return n.length>0&&d0.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:y9,location:Eb}=Ue,cte="storybook-channel",p7t={maxDepth:25},a7e=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof(Ue==null?void 0:Ue.addEventListener)=="function"&&Ue.addEventListener("message",this.handleEvent.bind(this),!1),t.page!=="manager"&&t.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`)}setHandler(t){this.handler=(...r)=>{t.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(t,r){let{target:n,allowRegExp:i,allowSymbol:a,allowDate:s,allowError:o,allowUndefined:l,maxDepth:c,space:u}=r||{},d=Object.fromEntries(Object.entries({allowRegExp:i,allowSymbol:a,allowDate:s,allowError:o,allowUndefined:l,maxDepth:c,space:u}).filter(([b,y])=>typeof y<"u")),h={...p7t,...Ue.CHANNEL_OPTIONS||{},...d},p=this.getFrames(n),m=new URLSearchParams((Eb==null?void 0:Eb.search)||""),g=n7e({key:cte,event:t,refId:m.get("refId")},h);return p.length?(this.buffer.length&&this.flush(),p.forEach(b=>{try{b.postMessage(g,"*")}catch(y){d0.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((b,y)=>{this.buffer.push({event:t,resolve:b,reject:y})})}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(t){if(this.config.page==="manager"){let r=Array.from(y9.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(n=>{try{return n.contentWindow&&n.dataset.isStorybook!==void 0&&n.id===t?[n.contentWindow]:[]}catch(i){return[]}});return r!=null&&r.length?r:this.getCurrentFrames()}return Ue&&Ue.parent&&Ue.parent!==Ue.self?[Ue.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(y9.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):Ue&&Ue.parent?[Ue.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(y9.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):Ue&&Ue.parent?[Ue.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:n,event:i,refId:a}=typeof r=="string"&&Uq(r)?i7e(r,Ue.CHANNEL_OPTIONS||{}):r;if(n===cte){let s=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',o=Object.values(Gbt).includes(i.type)?`<span style="color: #FF4785">${i.type}</span>`:`<span style="color: #FFAE00">${i.type}</span>`;if(a&&(i.refId=a),i.source=this.config.page==="preview"?t.origin:d7t(t),!i.source){Ds.error(`${s} received ${o} but was unable to determine the source of the event`);return}let l=`${s} received ${o} (${r.length})`;Ds.debug(Eb.origin!==i.source?l:`${l} <span style="color: gray">(on ${Eb.origin} from ${i.source})</span>`,...i.args),px(this.handler,"ChannelHandler should be set"),this.handler(i)}}catch(r){d0.error(r)}}};He(a7e,"PostMessageTransport");var h7t=a7e,{WebSocket:f7t}=Ue,m7t=15e3,g7t=5e3,s7e=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new f7t(t),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:i})=>{let a=typeof i=="string"&&Uq(i)?i7e(i):i;px(this.handler,"WebsocketTransport handler should be set"),this.handler(a),a.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=i=>{r&&r(i)},this.socket.onclose=i=>{px(this.handler,"WebsocketTransport handler should be set"),this.handler({type:Mye,args:[{reason:i.reason,code:i.code}],from:n||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},m7t+g7t)}setHandler(t){this.handler=t}send(t){this.isClosed||(this.isReady?this.sendNow(t):this.sendLater(t))}sendLater(t){this.buffer.push(t)}sendNow(t){let r=n7e(t,{maxDepth:15,...Ue.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}};He(s7e,"WebsocketTransport");var b7t=s7e,{CONFIG_TYPE:y7t}=Ue;function v7t({page:e,extraTransports:t=[]}){let r=[new h7t({page:e}),...t];if(y7t==="DEVELOPMENT"){let i=window.location.protocol==="http:"?"ws":"wss",{hostname:a,port:s}=window.location,o=`${i}://${a}:${s}/storybook-server-channel`;r.push(new b7t({url:o,onError:He(()=>{},"onError"),page:e}))}let n=new kq({transports:r});return g9.__prepare(n,e==="manager"?g9.Environment.MANAGER:g9.Environment.PREVIEW),n}He(v7t,"createBrowserChannel");var T7t=Object.defineProperty,D0=(e,t)=>T7t(e,"name",{value:t,configurable:!0});function Wn(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var i=n.reduce(function(o,l){var c=l.match(/\n([\t ]+|(?!\s).)/g);return c?o.concat(c.map(function(u){var d,h;return(h=(d=u.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&h!==void 0?h:0})):o},[]);if(i.length){var a=new RegExp(`
[ ]{`+Math.min.apply(Math,i)+"}","g");n=n.map(function(o){return o.replace(a,`
`)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(o,l){var c=s.match(/(?:^|\n)( *)$/),u=c?c[1]:"",d=o;typeof o=="string"&&o.includes(`
`)&&(d=String(o).split(`
`).map(function(h,p){return p===0?h:""+u+h}).join(`
`)),s+=d+n[l+1]}),s}D0(Wn,"dedent");function HM({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}D0(HM,"parseErrorCode");function UM(e){if(/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(e))return e;try{let t=new URL(e);return t.searchParams.set("ref","error"),t.toString()}catch(t){return e}}D0(UM,"appendErrorRef");var o7e=class l7e extends Error{constructor(t){var r;super(l7e.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=(r=t.documentation)!=null?r:!1,this.code=t.code}get fullErrorCode(){return HM({code:this.code,category:this.category})}get name(){let t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:n,message:i}){let a;return t===!0?a=`https://storybook.js.org/error/${HM({code:r,category:n})}?ref=error`:typeof t=="string"?a=UM(t):Array.isArray(t)&&(a=`
${t.map(s=>` - ${UM(s)}`).join(`
`)}`),`${i}${a!=null?`
More info: ${a}
`:""}`}};D0(o7e,"StorybookError");var In=o7e,c7e=class extends In{constructor(t){super({category:"PREVIEW_API",code:1,message:Wn`
Couldn't find story matching id '${t.storyId}' after HMR.
- Did you just rename a story?
- Did you remove it from your CSF file?
- Are you sure a story with the id '${t.storyId}' exists?
- Please check the values in the stories field of your main.js config and see if they would match your CSF File.
- Also check the browser console and terminal for potential error messages.`}),this.data=t}};D0(c7e,"MissingStoryAfterHmrError");var S7t=c7e,u7e=class extends In{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:Wn`
We detected that you use an implicit action arg while ${t.phase} of your story.
${t.deprecated?`
This is deprecated and won't work in Storybook 8 anymore.
`:""}
Please provide an explicit spy to your args like this:
import { fn } from 'storybook/test';
...
args: {
${t.name}: fn()
}`}),this.data=t}};D0(u7e,"ImplicitActionsDuringRendering");var x7t=u7e,d7e=class extends In{constructor(){super({category:"PREVIEW_API",code:3,message:Wn`
Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
You probably meant to call \`await preview.extract()\` which does the above for you.`})}};D0(d7e,"CalledExtractOnStoreError");var w7t=d7e,p7e=class extends In{constructor(){super({category:"PREVIEW_API",code:4,message:Wn`
Expected your framework's preset to export a \`renderToCanvas\` field.
Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};D0(p7e,"MissingRenderToCanvasError");var _7t=p7e,h7e=class extends In{constructor(t){super({category:"PREVIEW_API",code:5,message:Wn`
Called \`Preview.${t.methodName}()\` before initialization.
The preview needs to load the story index before most methods can be called. If you want
to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first.
If you didn't call the above code, then likely it was called by an addon that needs to
do the above.`}),this.data=t}};D0(h7e,"CalledPreviewMethodBeforeInitializationError");var gs=h7e,f7e=class extends In{constructor(t){super({category:"PREVIEW_API",code:6,message:Wn`
Error fetching \`/index.json\`:
${t.text}
If you are in development, this likely indicates a problem with your Storybook process,
check the terminal for errors.
If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
build.`}),this.data=t}};D0(f7e,"StoryIndexFetchError");var A7t=f7e,m7e=class extends In{constructor(t){super({category:"PREVIEW_API",code:7,message:Wn`
Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF
references, or autodocs for a CSF file that some doesn't refer to itself.
This likely is an internal error in Storybook's indexing, or you've attached the
\`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};D0(m7e,"MdxFileWithNoCsfReferencesError");var C7t=m7e,g7e=class extends In{constructor(){super({category:"PREVIEW_API",code:8,message:Wn`
Couldn't find any stories in your Storybook.
- Please check your stories field of your main.js config: does it match correctly?
- Also check the browser console and terminal for error messages.`})}};D0(g7e,"EmptyIndexError");var E7t=g7e,b7e=class extends In{constructor(t){super({category:"PREVIEW_API",code:9,message:Wn`
Couldn't find story matching '${t.storySpecifier}'.
- Are you sure a story with that id exists?
- Please check your stories field of your main.js config.
- Also check the browser console and terminal for error messages.`}),this.data=t}};D0(b7e,"NoStoryMatchError");var P7t=b7e,y7e=class extends In{constructor(t){super({category:"PREVIEW_API",code:10,message:Wn`
Couldn't find story matching id '${t.storyId}' after importing a CSF file.
The file was indexed as if the story was there, but then after importing the file in the browser
we didn't find the story. Possible reasons:
- You are using a custom story indexer that is misbehaving.
- You have a custom file loader that is removing or renaming exports.
Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};D0(y7e,"MissingStoryFromCsfFileError");var j7t=y7e,v7e=class extends In{constructor(){super({category:"PREVIEW_API",code:11,message:Wn`
Cannot access the Story Store until the index is ready.
It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
remove access to the store entirely`})}};D0(v7e,"StoryStoreAccessedBeforeInitializationError");var R7t=v7e,T7e=class extends In{constructor(t){super({category:"PREVIEW_API",code:12,message:Wn`
Incorrect use of mount in the play function.
To use mount in the play function, you must satisfy the following two requirements:
1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
This makes sure that Storybook does not start rendering the story before the play function begins.
2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
This is because destructuring statements and async/await usages are otherwise transpiled away,
which prevents Storybook from recognizing your usage of \`mount\`.
Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#run-code-before-the-component-gets-rendered
Received the following play function:
${t.playFunction}`}),this.data=t}};D0(T7e,"MountMustBeDestructuredError");var Vq=T7e,S7e=class extends In{constructor(t){super({category:"PREVIEW_API",code:14,message:Wn`
No render function available for storyId '${t.id}'
`}),this.data=t}};D0(S7e,"NoRenderFunctionError");var x7e=S7e,w7e=class extends In{constructor(){super({category:"PREVIEW_API",code:15,message:Wn`
No component is mounted in your story.
This usually occurs when you destructure mount in the play function, but forget to call it.
For example:
async play({ mount, canvasElement }) {
// 👈 mount should be called: await mount();
const canvas = within(canvasElement);
const button = await canvas.findByRole('button');
await userEvent.click(button);
};
Make sure to either remove it or call mount in your play function.
`})}};D0(w7e,"NoStoryMountedError");var I7t=w7e,O7t=class extends In{constructor(t){super({category:"PREVIEW_API",code:16,message:`Status has typeId "${t.status.typeId}" but was added to store with typeId "${t.typeId}". Full status: ${JSON.stringify(t.status,null,2)}`}),this.data=t}};D0(O7t,"StatusTypeIdMismatchError");var M7t=class extends In{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:Wn`
You are importing avif images, but you don't have sharp installed.
You have to install sharp in order to use image optimization features in Next.js.
`})}};D0(M7t,"NextJsSharpError");var k7t=class extends In{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:Wn`
Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment.
`}),this.data=t}};D0(k7t,"NextjsRouterMocksNotAvailable");var D7t=class extends In{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:Wn`
There was a failure when generating detailed ArgTypes in ${t.language} for:
${JSON.stringify(t.type,null,2)}
Storybook will fall back to use a generic type description instead.
This type is either not supported or it is a bug in the docgen generation in Storybook.
If you think this is a bug, please detail it as much as possible in the Github issue.
`}),this.data=t}};D0(D7t,"UnknownArgTypesError");var L7t=class extends In{constructor(t){super({category:"ADDON_VITEST",code:1,message:Wn`
Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension.
The Storybook plugin only supports values in the following units:
- px, vh, vw, em, rem and %.
You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags
`}),this.data=t}};D0(L7t,"UnsupportedViewportDimensionError");var F7t=class extends In{constructor(){super({category:"ADDON_A11Y",code:1,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#a11y-addon-replace-element-parameter-with-context-parameter",message:'The "element" parameter in parameters.a11y has been removed. Use "context" instead.'})}};D0(F7t,"ElementA11yParameterError");var $7t=Object.defineProperty,ae=(e,t)=>$7t(e,"name",{value:t,configurable:!0}),B7t={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},N7t=Object.entries(B7t);function w4(e){return String(e)}ae(w4,"a");w4.open="";w4.close="";function _7e(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}ae(_7e,"C");function A7e(e=!1){let t=_7e(e),r=ae((s,o,l,c)=>{let u="",d=0;do u+=s.substring(d,c)+l,d=c+o.length,c=s.indexOf(o,d);while(~c);return u+s.substring(d)},"i"),n=ae((s,o,l=s)=>{let c=ae(u=>{let d=String(u),h=d.indexOf(o,s.length);return~h?s+r(d,o,l,h)+o:s+d+o},"o");return c.open=s,c.close=o,c},"g"),i={isColorSupported:t},a=ae(s=>`\x1B[${s}m`,"d");for(let[s,o]of N7t)i[s]=t?n(a(o[0]),a(o[1]),o[2]):w4;return i}ae(A7e,"p");var Oc=A7e();function Yq(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:ae(function(){return r[n]},"get")})}})}),Object.freeze(e)}ae(Yq,"_mergeNamespaces");function C7e(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let i of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,i).enumerable&&n.push(i);return n}ae(C7e,"getKeysOfEnumerableProperties");function O1(e,t,r,n,i,a,s=": "){let o="",l=0,c=e.next();if(!c.done){o+=t.spacingOuter;let u=r+t.indent;for(;!c.done;){if(o+=u,l++===t.maxWidth){o+="…";break}let d=a(c.value[0],t,u,n,i),h=a(c.value[1],t,u,n,i);o+=d+s+h,c=e.next(),c.done?t.min||(o+=","):o+=`,${t.spacingInner}`}o+=t.spacingOuter+r}return o}ae(O1,"printIteratorEntries");function _4(e,t,r,n,i,a){let s="",o=0,l=e.next();if(!l.done){s+=t.spacingOuter;let c=r+t.indent;for(;!l.done;){if(s+=c,o++===t.maxWidth){s+="…";break}s+=a(l.value,t,c,n,i),l=e.next(),l.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}ae(_4,"printIteratorValues");function u7(e,t,r,n,i,a){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let o=ae(c=>c instanceof DataView,"isDataView"),l=o(e)?e.byteLength:e.length;if(l>0){s+=t.spacingOuter;let c=r+t.indent;for(let u=0;u<l;u++){if(s+=c,u===t.maxWidth){s+="…";break}(o(e)||u in e)&&(s+=a(o(e)?e.getInt8(u):e[u],t,c,n,i)),u<l-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}ae(u7,"printListItems");function A4(e,t,r,n,i,a){let s="",o=C7e(e,t.compareKeys);if(o.length>0){s+=t.spacingOuter;let l=r+t.indent;for(let c=0;c<o.length;c++){let u=o[c],d=a(u,t,l,n,i),h=a(e[u],t,l,n,i);s+=`${l+d}: ${h}`,c<o.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}ae(A4,"printObjectProperties");var q7t=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,v9=" ",z7t=ae((e,t,r,n,i,a)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+v9}[${u7(e.sample,t,r,n,i,a)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+v9}{${A4(e.sample,t,r,n,i,a)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+v9+a(e.sample,t,r,n,i);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},"serialize$5"),W7t=ae(e=>e&&e.$$typeof===q7t,"test$5"),H7t={serialize:z7t,test:W7t},U7t=" ",E7e=new Set(["DOMStringMap","NamedNodeMap"]),G7t=/^(?:HTML\w*Collection|NodeList)$/;function P7e(e){return E7e.has(e)||G7t.test(e)}ae(P7e,"testName");var V7t=ae(e=>e&&e.constructor&&!!e.constructor.name&&P7e(e.constructor.name),"test$4");function j7e(e){return e.constructor.name==="NamedNodeMap"}ae(j7e,"isNamedNodeMap");var Y7t=ae((e,t,r,n,i,a)=>{let s=e.constructor.name;return++n>t.maxDepth?`[${s}]`:(t.min?"":s+U7t)+(E7e.has(s)?`{${A4(j7e(e)?[...e].reduce((o,l)=>(o[l.name]=l.value,o),{}):{...e},t,r,n,i,a)}}`:`[${u7([...e],t,r,n,i,a)}]`)},"serialize$4"),K7t={serialize:Y7t,test:V7t};function Kq(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}ae(Kq,"escapeHTML");function C4(e,t,r,n,i,a,s){let o=n+r.indent,l=r.colors;return e.map(c=>{let u=t[c],d=s(u,r,o,i,a);return typeof u!="string"&&(d.includes(`
`)&&(d=r.spacingOuter+o+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+l.prop.open+c+l.prop.close}=${l.value.open}${d}${l.value.close}`}).join("")}ae(C4,"printProps");function E4(e,t,r,n,i,a){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?Xq(s,t):a(s,t,r,n,i))).join("")}ae(E4,"printChildren");function Xq(e,t){let r=t.colors.content;return r.open+Kq(e)+r.close}ae(Xq,"printText");function R7e(e,t){let r=t.colors.comment;return`${r.open}<!--${Kq(e)}-->${r.close}`}ae(R7e,"printComment");function P4(e,t,r,n,i){let a=n.colors.tag;return`${a.open}<${e}${t&&a.close+t+n.spacingOuter+i+a.open}${r?`>${a.close}${r}${n.spacingOuter}${i}${a.open}</${e}`:`${t&&!n.min?"":" "}/`}>${a.close}`}ae(P4,"printElement");function j4(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}ae(j4,"printElementAsLeaf");var X7t=1,I7e=3,O7e=8,M7e=11,Q7t=/^(?:(?:HTML|SVG)\w*)?Element$/;function k7e(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch(t){return!1}}ae(k7e,"testHasAttribute");function D7e(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,i=typeof n=="string"&&n.includes("-")||k7e(e);return r===X7t&&(Q7t.test(t)||i)||r===I7e&&t==="Text"||r===O7e&&t==="Comment"||r===M7e&&t==="DocumentFragment"}ae(D7e,"testNode");var J7t=ae(e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&D7e(e)},"test$3");function L7e(e){return e.nodeType===I7e}ae(L7e,"nodeIsText");function F7e(e){return e.nodeType===O7e}ae(F7e,"nodeIsComment");function AT(e){return e.nodeType===M7e}ae(AT,"nodeIsFragment");var Z7t=ae((e,t,r,n,i,a)=>{if(L7e(e))return Xq(e.data,t);if(F7e(e))return R7e(e.data,t);let s=AT(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?j4(s,t):P4(s,C4(AT(e)?[]:Array.from(e.attributes,o=>o.name).sort(),AT(e)?{}:[...e.attributes].reduce((o,l)=>(o[l.name]=l.value,o),{}),t,r+t.indent,n,i,a),E4(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,i,a),t,r)},"serialize$3"),evt={serialize:Z7t,test:J7t},tvt="@@__IMMUTABLE_ITERABLE__@@",rvt="@@__IMMUTABLE_LIST__@@",nvt="@@__IMMUTABLE_KEYED__@@",ivt="@@__IMMUTABLE_MAP__@@",ute="@@__IMMUTABLE_ORDERED__@@",avt="@@__IMMUTABLE_RECORD__@@",svt="@@__IMMUTABLE_SEQ__@@",ovt="@@__IMMUTABLE_SET__@@",lvt="@@__IMMUTABLE_STACK__@@",xg=ae(e=>`Immutable.${e}`,"getImmutableName"),R4=ae(e=>`[${e}]`,"printAsLeaf"),d7=" ",dte="…";function $7e(e,t,r,n,i,a,s){return++n>t.maxDepth?R4(xg(s)):`${xg(s)+d7}{${O1(e.entries(),t,r,n,i,a)}}`}ae($7e,"printImmutableEntries");function B7e(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}ae(B7e,"getRecordEntries");function N7e(e,t,r,n,i,a){let s=xg(e._name||"Record");return++n>t.maxDepth?R4(s):`${s+d7}{${O1(B7e(e),t,r,n,i,a)}}`}ae(N7e,"printImmutableRecord");function q7e(e,t,r,n,i,a){let s=xg("Seq");return++n>t.maxDepth?R4(s):e[nvt]?`${s+d7}{${e._iter||e._object?O1(e.entries(),t,r,n,i,a):dte}}`:`${s+d7}[${e._iter||e._array||e._collection||e._iterable?_4(e.values(),t,r,n,i,a):dte}]`}ae(q7e,"printImmutableSeq");function CT(e,t,r,n,i,a,s){return++n>t.maxDepth?R4(xg(s)):`${xg(s)+d7}[${_4(e.values(),t,r,n,i,a)}]`}ae(CT,"printImmutableValues");var cvt=ae((e,t,r,n,i,a)=>e[ivt]?$7e(e,t,r,n,i,a,e[ute]?"OrderedMap":"Map"):e[rvt]?CT(e,t,r,n,i,a,"List"):e[ovt]?CT(e,t,r,n,i,a,e[ute]?"OrderedSet":"Set"):e[lvt]?CT(e,t,r,n,i,a,"Stack"):e[svt]?q7e(e,t,r,n,i,a):N7e(e,t,r,n,i,a),"serialize$2"),uvt=ae(e=>e&&(e[tvt]===!0||e[avt]===!0),"test$2"),dvt={serialize:cvt,test:uvt};function Qq(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}ae(Qq,"getDefaultExportFromCjs");var pte={exports:{}},s0={},hte;function z7e(){return hte||(hte=1,(function(){function e(g){if(typeof g=="object"&&g!==null){var b=g.$$typeof;switch(b){case t:switch(g=g.type,g){case n:case a:case i:case c:case u:case p:return g;default:switch(g=g&&g.$$typeof,g){case o:case l:case h:case d:return g;case s:return g;default:return b}}case r:return b}}}ae(e,"typeOf");var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),o=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");s0.ContextConsumer=s,s0.ContextProvider=o,s0.Element=t,s0.ForwardRef=l,s0.Fragment=n,s0.Lazy=h,s0.Memo=d,s0.Portal=r,s0.Profiler=a,s0.StrictMode=i,s0.Suspense=c,s0.SuspenseList=u,s0.isContextConsumer=function(g){return e(g)===s},s0.isContextProvider=function(g){return e(g)===o},s0.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},s0.isForwardRef=function(g){return e(g)===l},s0.isFragment=function(g){return e(g)===n},s0.isLazy=function(g){return e(g)===h},s0.isMemo=function(g){return e(g)===d},s0.isPortal=function(g){return e(g)===r},s0.isProfiler=function(g){return e(g)===a},s0.isStrictMode=function(g){return e(g)===i},s0.isSuspense=function(g){return e(g)===c},s0.isSuspenseList=function(g){return e(g)===u},s0.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===a||g===i||g===c||g===u||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===d||g.$$typeof===o||g.$$typeof===s||g.$$typeof===l||g.$$typeof===m||g.getModuleId!==void 0)},s0.typeOf=e})()),s0}ae(z7e,"requireReactIs_development$1");var fte;function W7e(){return fte||(fte=1,pte.exports=z7e()),pte.exports}ae(W7e,"requireReactIs$1");var H7e=W7e(),pvt=Qq(H7e),hvt=Yq({__proto__:null,default:pvt},[H7e]),mte={exports:{}},Vr={},gte;function U7e(){return gte||(gte=1,(function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),o=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m=!1,g=!1,b=!1,y=!1,v=!1,S;S=Symbol.for("react.module.reference");function x(ce){return!!(typeof ce=="string"||typeof ce=="function"||ce===r||ce===i||v||ce===n||ce===c||ce===u||y||ce===p||m||g||b||typeof ce=="object"&&ce!==null&&(ce.$$typeof===h||ce.$$typeof===d||ce.$$typeof===a||ce.$$typeof===s||ce.$$typeof===l||ce.$$typeof===S||ce.getModuleId!==void 0))}ae(x,"isValidElementType");function w(ce){if(typeof ce=="object"&&ce!==null){var le=ce.$$typeof;switch(le){case e:var Te=ce.type;switch(Te){case r:case i:case n:case c:case u:return Te;default:var be=Te&&Te.$$typeof;switch(be){case o:case s:case l:case h:case d:case a:return be;default:return le}}case t:return le}}}ae(w,"typeOf");var A=s,_=a,C=e,E=l,R=r,P=h,O=d,k=t,I=i,M=n,D=c,F=u,$=!1,Y=!1;function he(ce){return $||($=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}ae(he,"isAsyncMode");function fe(ce){return Y||(Y=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}ae(fe,"isConcurrentMode");function U(ce){return w(ce)===s}ae(U,"isContextConsumer");function W(ce){return w(ce)===a}ae(W,"isContextProvider");function H(ce){return typeof ce=="object"&&ce!==null&&ce.$$typeof===e}ae(H,"isElement");function ie(ce){return w(ce)===l}ae(ie,"isForwardRef");function J(ce){return w(ce)===r}ae(J,"isFragment");function we(ce){return w(ce)===h}ae(we,"isLazy");function Le(ce){return w(ce)===d}ae(Le,"isMemo");function Ye(ce){return w(ce)===t}ae(Ye,"isPortal");function oe(ce){return w(ce)===i}ae(oe,"isProfiler");function X(ce){return w(ce)===n}ae(X,"isStrictMode");function se(ce){return w(ce)===c}ae(se,"isSuspense");function Ce(ce){return w(ce)===u}ae(Ce,"isSuspenseList"),Vr.ContextConsumer=A,Vr.ContextProvider=_,Vr.Element=C,Vr.ForwardRef=E,Vr.Fragment=R,Vr.Lazy=P,Vr.Memo=O,Vr.Portal=k,Vr.Profiler=I,Vr.StrictMode=M,Vr.Suspense=D,Vr.SuspenseList=F,Vr.isAsyncMode=he,Vr.isConcurrentMode=fe,Vr.isContextConsumer=U,Vr.isContextProvider=W,Vr.isElement=H,Vr.isForwardRef=ie,Vr.isFragment=J,Vr.isLazy=we,Vr.isMemo=Le,Vr.isPortal=Ye,Vr.isProfiler=oe,Vr.isStrictMode=X,Vr.isSuspense=se,Vr.isSuspenseList=Ce,Vr.isValidElementType=x,Vr.typeOf=w})()),Vr}ae(U7e,"requireReactIs_development");var bte;function G7e(){return bte||(bte=1,mte.exports=U7e()),mte.exports}ae(G7e,"requireReactIs");var V7e=G7e(),fvt=Qq(V7e),mvt=Yq({__proto__:null,default:fvt},[V7e]),gvt=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],Ap=Object.fromEntries(gvt.map(e=>[e,t=>mvt[e](t)||hvt[e](t)]));function Jq(e,t=[]){if(Array.isArray(e))for(let r of e)Jq(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}ae(Jq,"getChildren");function GM(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Ap.isFragment(e))return"React.Fragment";if(Ap.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Ap.isContextProvider(e))return"Context.Provider";if(Ap.isContextConsumer(e))return"Context.Consumer";if(Ap.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Ap.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}ae(GM,"getType");function Y7e(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}ae(Y7e,"getPropKeys$1");var bvt=ae((e,t,r,n,i,a)=>++n>t.maxDepth?j4(GM(e),t):P4(GM(e),C4(Y7e(e),e.props,t,r+t.indent,n,i,a),E4(Jq(e.props.children),t,r+t.indent,n,i,a),t,r),"serialize$1"),yvt=ae(e=>e!=null&&Ap.isElement(e),"test$1"),vvt={serialize:bvt,test:yvt},Tvt=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function K7e(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}ae(K7e,"getPropKeys");var Svt=ae((e,t,r,n,i,a)=>++n>t.maxDepth?j4(e.type,t):P4(e.type,e.props?C4(K7e(e),e.props,t,r+t.indent,n,i,a):"",e.children?E4(e.children,t,r+t.indent,n,i,a):"",t,r),"serialize"),xvt=ae(e=>e&&e.$$typeof===Tvt,"test"),wvt={serialize:Svt,test:xvt},X7e=Object.prototype.toString,_vt=Date.prototype.toISOString,Avt=Error.prototype.toString,yte=RegExp.prototype.toString;function Xy(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}ae(Xy,"getConstructorName");function Q7e(e){return typeof window<"u"&&e===window}ae(Q7e,"isWindow");var Cvt=/^Symbol\((.*)\)(.*)$/,Evt=/\n/g,J7e=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};ae(J7e,"PrettyFormatPluginError");var Z7e=J7e;function eve(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}ae(eve,"isToStringedArrayType");function tve(e){return Object.is(e,-0)?"-0":String(e)}ae(tve,"printNumber");function rve(e){return`${e}n`}ae(rve,"printBigInt");function VM(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}ae(VM,"printFunction");function YM(e){return String(e).replace(Cvt,"Symbol($1)")}ae(YM,"printSymbol");function KM(e){return`[${Avt.call(e)}]`}ae(KM,"printError");function Zq(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let i=typeof e;if(i==="number")return tve(e);if(i==="bigint")return rve(e);if(i==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(i==="function")return VM(e,t);if(i==="symbol")return YM(e);let a=X7e.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?VM(e,t):a==="[object Symbol]"?YM(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":_vt.call(e):a==="[object Error]"?KM(e):a==="[object RegExp]"?r?yte.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):yte.call(e):e instanceof Error?KM(e):null}ae(Zq,"printBasicValue");function ez(e,t,r,n,i,a){if(i.includes(e))return"[Circular]";i=[...i],i.push(e);let s=++n>t.maxDepth,o=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!a)return Cc(e.toJSON(),t,r,n,i,!0);let l=X7e.call(e);return l==="[object Arguments]"?s?"[Arguments]":`${o?"":"Arguments "}[${u7(e,t,r,n,i,Cc)}]`:eve(l)?s?`[${e.constructor.name}]`:`${o||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${u7(e,t,r,n,i,Cc)}]`:l==="[object Map]"?s?"[Map]":`Map {${O1(e.entries(),t,r,n,i,Cc," => ")}}`:l==="[object Set]"?s?"[Set]":`Set {${_4(e.values(),t,r,n,i,Cc)}}`:s||Q7e(e)?`[${Xy(e)}]`:`${o||!t.printBasicPrototype&&Xy(e)==="Object"?"":`${Xy(e)} `}{${A4(e,t,r,n,i,Cc)}}`}ae(ez,"printComplexValue");var Pvt={test:ae(e=>e&&e instanceof Error,"test"),serialize(e,t,r,n,i,a){if(i.includes(e))return"[Circular]";i=[...i,e];let s=++n>t.maxDepth,{message:o,cause:l,...c}=e,u={message:o,...typeof l<"u"?{cause:l}:{},...e instanceof AggregateError?{errors:e.errors}:{},...c},d=e.name!=="Error"?e.name:Xy(e);return s?`[${d}]`:`${d} {${O1(Object.entries(u).values(),t,r,n,i,a)}}`}};function nve(e){return e.serialize!=null}ae(nve,"isNewPlugin");function tz(e,t,r,n,i,a){let s;try{s=nve(e)?e.serialize(t,r,n,i,a,Cc):e.print(t,o=>Cc(o,r,n,i,a),o=>{let l=n+r.indent;return l+o.replaceAll(Evt,`
${l}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(o){throw new Z7e(o.message,o.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}ae(tz,"printPlugin");function rz(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new Z7e(n.message,n.stack)}return null}ae(rz,"findPlugin");function Cc(e,t,r,n,i,a){let s=rz(t.plugins,e);if(s!==null)return tz(s,e,t,r,n,i);let o=Zq(e,t.printFunctionName,t.escapeRegex,t.escapeString);return o!==null?o:ez(e,t,r,n,i,a)}ae(Cc,"printer");var nz={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},ive=Object.keys(nz),to={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:nz};function ave(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(to,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}ae(ave,"validateOptions");function sve(){return ive.reduce((e,t)=>{let r=nz[t],n=r&&Oc[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}ae(sve,"getColorsHighlight");function ove(){return ive.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}ae(ove,"getColorsEmpty");function iz(e){var t;return(t=e==null?void 0:e.printFunctionName)!=null?t:to.printFunctionName}ae(iz,"getPrintFunctionName");function az(e){var t;return(t=e==null?void 0:e.escapeRegex)!=null?t:to.escapeRegex}ae(az,"getEscapeRegex");function sz(e){var t;return(t=e==null?void 0:e.escapeString)!=null?t:to.escapeString}ae(sz,"getEscapeString");function XM(e){var t,r,n,i,a,s,o;return{callToJSON:(t=e==null?void 0:e.callToJSON)!=null?t:to.callToJSON,colors:e!=null&&e.highlight?sve():ove(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:to.compareKeys,escapeRegex:az(e),escapeString:sz(e),indent:e!=null&&e.min?"":lve((r=e==null?void 0:e.indent)!=null?r:to.indent),maxDepth:(n=e==null?void 0:e.maxDepth)!=null?n:to.maxDepth,maxWidth:(i=e==null?void 0:e.maxWidth)!=null?i:to.maxWidth,min:(a=e==null?void 0:e.min)!=null?a:to.min,plugins:(s=e==null?void 0:e.plugins)!=null?s:to.plugins,printBasicPrototype:(o=e==null?void 0:e.printBasicPrototype)!=null?o:!0,printFunctionName:iz(e),spacingInner:e!=null&&e.min?" ":`
`,spacingOuter:e!=null&&e.min?"":`
`}}ae(XM,"getConfig");function lve(e){return Array.from({length:e+1}).join(" ")}ae(lve,"createIndent");function ho(e,t){if(t&&(ave(t),t.plugins)){let n=rz(t.plugins,e);if(n!==null)return tz(n,e,XM(t),"",0,[])}let r=Zq(e,iz(t),az(t),sz(t));return r!==null?r:ez(e,XM(t),"",0,[])}ae(ho,"format");var oz={AsymmetricMatcher:H7t,DOMCollection:K7t,DOMElement:evt,Immutable:dvt,ReactElement:vvt,ReactTestComponent:wvt,Error:Pvt},vte={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},jvt={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},wg="…";function cve(e,t){let r=vte[jvt[t]]||vte[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}ae(cve,"colorise");function uve({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:i=!1,maxArrayLength:a=1/0,breakLength:s=1/0,seen:o=[],truncate:l=1/0,stylize:c=String}={},u){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!i,maxArrayLength:Number(a),breakLength:Number(s),truncate:Number(l),seen:o,inspect:u,stylize:c};return d.colors&&(d.stylize=cve),d}ae(uve,"normaliseOptions");function dve(e){return e>="\uD800"&&e<="\uDBFF"}ae(dve,"isHighSurrogate");function mu(e,t,r=wg){e=String(e);let n=r.length,i=e.length;if(n>t&&i>n)return r;if(i>t&&i>n){let a=t-n;return a>0&&dve(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}ae(mu,"truncate");function Ls(e,t,r,n=", "){r=r||t.inspect;let i=e.length;if(i===0)return"";let a=t.truncate,s="",o="",l="";for(let c=0;c<i;c+=1){let u=c+1===e.length,d=c+2===e.length;l=`${wg}(${e.length-c})`;let h=e[c];t.truncate=a-s.length-(u?0:n.length);let p=o||r(h,t)+(u?"":n),m=s.length+p.length,g=m+l.length;if(u&&m>a&&s.length+l.length<=a||!u&&!d&&g>a||(o=u?"":r(e[c+1],t)+(d?"":n),!u&&d&&g>a&&m+o.length>a))break;if(s+=p,!u&&!d&&m+o.length>=a){l=`${wg}(${e.length-c-1})`;break}l=""}return`${s}${l}`}ae(Ls,"inspectList");function pve(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}ae(pve,"quoteComplexKey");function _g([e,t],r){return r.truncate-=2,typeof e=="string"?e=pve(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}ae(_g,"inspectProperty");function hve(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Ls(e,t);t.truncate-=n.length;let i="";return r.length&&(i=Ls(r.map(a=>[a,e[a]]),t,_g)),`[ ${n}${i?`, ${i}`:""} ]`}ae(hve,"inspectArray");var Rvt=ae(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Vo(e,t){let r=Rvt(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let i="";for(let s=0;s<e.length;s++){let o=`${t.stylize(mu(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=o.length,e[s]!==e.length&&t.truncate<=3){i+=`${wg}(${e.length-e[s]+1})`;break}i+=o}let a="";return n.length&&(a=Ls(n.map(s=>[s,e[s]]),t,_g)),`${r}[ ${i}${a?`, ${a}`:""} ]`}ae(Vo,"inspectTypedArray");function fve(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),i=n[0];return t.stylize(`${i}T${mu(n[1],t.truncate-i.length-1)}`,"date")}ae(fve,"inspectDate");function QM(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${mu(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}ae(QM,"inspectFunction");function mve([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}ae(mve,"inspectMapEntry");function gve(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}ae(gve,"mapToEntries");function bve(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Ls(gve(e),t,mve)} }`)}ae(bve,"inspectMap");var Ivt=Number.isNaN||(e=>e!==e);function JM(e,t){return Ivt(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(mu(String(e),t.truncate),"number")}ae(JM,"inspectNumber");function ZM(e,t){let r=mu(e.toString(),t.truncate-1);return r!==wg&&(r+="n"),t.stylize(r,"bigint")}ae(ZM,"inspectBigInt");function yve(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),i=e.source;return t.stylize(`/${mu(i,n)}/${r}`,"regexp")}ae(yve,"inspectRegExp");function vve(e){let t=[];return e.forEach(r=>{t.push(r)}),t}ae(vve,"arrayFromSet");function Tve(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Ls(vve(e),t)} }`)}ae(Tve,"inspectSet");var Tte=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),Ovt={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Mvt=16;function Sve(e){return Ovt[e]||`\\u${`0000${e.charCodeAt(0).toString(Mvt)}`.slice(-4)}`}ae(Sve,"escape");function ek(e,t){return Tte.test(e)&&(e=e.replace(Tte,Sve)),t.stylize(`'${mu(e,t.truncate-2)}'`,"string")}ae(ek,"inspectString");function tk(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}ae(tk,"inspectSymbol");var xve=ae(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(xve=ae((n,i)=>{let[a,s]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${i.inspect(s,i)}}`},"getPromiseValue"))}catch(e){}var kvt=xve;function Qy(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=Ls(r.map(o=>[o,e[o]]),t,_g),a=Ls(n.map(o=>[o,e[o]]),t,_g);t.seen.pop();let s="";return i&&a&&(s=", "),`{ ${i}${s}${a} }`}ae(Qy,"inspectObject");var T9=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function wve(e,t){let r="";return T9&&T9 in e&&(r=e[T9]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Qy(e,t)}`}ae(wve,"inspectClass");function _ve(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Ls(e,t)} ]`)}ae(_ve,"inspectArguments");var Dvt=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Ave(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>Dvt.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let i="";if(typeof e.message=="string"?i=mu(e.message,t.truncate):r.unshift("message"),i=i?`: ${i}`:"",t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=Ls(r.map(s=>[s,e[s]]),t,_g);return`${n}${i}${a?` { ${a} }`:""}`}ae(Ave,"inspectObject");function Cve([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}ae(Cve,"inspectAttribute");function hx(e,t){return Ls(e,t,Eve,`
`)}ae(hx,"inspectNodeCollection");function Eve(e,t){switch(e.nodeType){case 1:return lz(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}ae(Eve,"inspectNode");function lz(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),i=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let o="";r.length>0&&(o+=" ",o+=Ls(r.map(u=>[u,e.getAttribute(u)]),t,Cve," ")),t.truncate-=o.length;let l=t.truncate,c=hx(e.children,t);return c&&c.length>l&&(c=`${wg}(${e.children.length})`),`${i}${o}${a}${c}${s}`}ae(lz,"inspectHTML");var Lvt=typeof Symbol=="function"&&typeof Symbol.for=="function",S9=Lvt?Symbol.for("chai/inspect"):"@@chai/inspect",x9=Symbol.for("nodejs.util.inspect.custom"),Ste=new WeakMap,xte={},wte={undefined:ae((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:ae((e,t)=>t.stylize("null","null"),"null"),boolean:ae((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:ae((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:JM,Number:JM,bigint:ZM,BigInt:ZM,string:ek,String:ek,function:QM,Function:QM,symbol:tk,Symbol:tk,Array:hve,Date:fve,Map:bve,Set:Tve,RegExp:yve,Promise:kvt,WeakSet:ae((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:ae((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:_ve,Int8Array:Vo,Uint8Array:Vo,Uint8ClampedArray:Vo,Int16Array:Vo,Uint16Array:Vo,Int32Array:Vo,Uint32Array:Vo,Float32Array:Vo,Float64Array:Vo,Generator:ae(()=>"","Generator"),DataView:ae(()=>"","DataView"),ArrayBuffer:ae(()=>"","ArrayBuffer"),Error:Ave,HTMLCollection:hx,NodeList:hx},Fvt=ae((e,t,r)=>S9 in e&&typeof e[S9]=="function"?e[S9](t):x9 in e&&typeof e[x9]=="function"?e[x9](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Ste.has(e.constructor)?Ste.get(e.constructor)(e,t):xte[r]?xte[r](e,t):"","inspectCustom"),$vt=Object.prototype.toString;function fx(e,t={}){let r=uve(t,fx),{customInspect:n}=r,i=e===null?"null":typeof e;if(i==="object"&&(i=$vt.call(e).slice(8,-1)),i in wte)return wte[i](e,r);if(n&&e){let s=Fvt(e,r,i);if(s)return typeof s=="string"?s:fx(s,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?Qy(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?lz(e,r):"constructor"in e?e.constructor!==Object?wve(e,r):Qy(e,r):e===Object(e)?Qy(e,r):r.stylize(String(e),i)}ae(fx,"inspect");var{AsymmetricMatcher:Bvt,DOMCollection:Nvt,DOMElement:qvt,Immutable:zvt,ReactElement:Wvt,ReactTestComponent:Hvt}=oz,_te=[Hvt,Wvt,qvt,Nvt,zvt,Bvt];function Ag(e,t=10,{maxLength:r,...n}={}){let i=r!=null?r:1e4,a;try{a=ho(e,{maxDepth:t,escapeString:!1,plugins:_te,...n})}catch(s){a=ho(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:_te,...n})}return a.length>=i&&t>1?Ag(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):a}ae(Ag,"stringify");var Uvt=/%[sdjifoOc%]/g;function Pve(...e){if(typeof e[0]!="string"){let a=[];for(let s=0;s<e.length;s++)a.push(Bf(e[s],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],i=String(n).replace(Uvt,a=>{if(a==="%%")return"%";if(r>=t)return a;switch(a){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?typeof s.toString=="function"&&s.toString!==Object.prototype.toString?s.toString():Bf(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Bf(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Bf(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let o=s.message;if(o.includes("circular structure")||o.includes("cyclic structures")||o.includes("cyclic object"))return"[Circular]";throw s}default:return a}});for(let a=e[r];r<t;a=e[++r])a===null||typeof a!="object"?i+=` ${a}`:i+=` ${Bf(a)}`;return i}ae(Pve,"format");function Bf(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),fx(e,t)}ae(Bf,"inspect");function jve(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}ae(jve,"getDefaultExportFromCjs");function Rve(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}ae(Rve,"isFinalObj");function mx(e){return Object.prototype.toString.apply(e).slice(8,-1)}ae(mx,"getType");function Ive(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}ae(Ive,"collectOwnProperties");function cz(e){let t=new Set;return Rve(e)?[]:(Ive(e,t),Array.from(t))}ae(cz,"getOwnProperties");var Ove={forceWritable:!1};function rk(e,t=Ove){return gx(e,new WeakMap,t)}ae(rk,"deepClone");function gx(e,t,r=Ove){let n,i;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(i=Array.from({length:n=e.length}),t.set(e,i);n--;)i[n]=gx(e[n],t,r);return i}if(Object.prototype.toString.call(e)==="[object Object]"){i=Object.create(Object.getPrototypeOf(e)),t.set(e,i);let a=cz(e);for(let s of a){let o=Object.getOwnPropertyDescriptor(e,s);if(!o)continue;let l=gx(e[s],t,r);r.forceWritable?Object.defineProperty(i,s,{enumerable:o.enumerable,configurable:!0,writable:!0,value:l}):"get"in o?Object.defineProperty(i,s,{...o,get(){return l}}):Object.defineProperty(i,s,{...o,value:l})}return i}return e}ae(gx,"clone");var Di=-1,li=1,tn=0,Mve=class{constructor(t,r){ht(this,0);ht(this,1);this[0]=t,this[1]=r}};ae(Mve,"Diff");var z0=Mve;function kve(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),i=n,a=0;for(;r<i;)e.substring(a,i)===t.substring(a,i)?(r=i,a=r):n=i,i=Math.floor((n-r)/2+r);return i}ae(kve,"diff_commonPrefix");function uz(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),i=n,a=0;for(;r<i;)e.substring(e.length-i,e.length-a)===t.substring(t.length-i,t.length-a)?(r=i,a=r):n=i,i=Math.floor((n-r)/2+r);return i}ae(uz,"diff_commonSuffix");function nk(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let i=Math.min(r,n);if(e===t)return i;let a=0,s=1;for(;;){let o=e.substring(i-s),l=t.indexOf(o);if(l===-1)return a;s+=l,(l===0||e.substring(i-s)===t.substring(0,s))&&(a=s,s++)}}ae(nk,"diff_commonOverlap_");function Dve(e){let t=!1,r=[],n=0,i=null,a=0,s=0,o=0,l=0,c=0;for(;a<e.length;)e[a][0]===tn?(r[n++]=a,s=l,o=c,l=0,c=0,i=e[a][1]):(e[a][0]===li?l+=e[a][1].length:c+=e[a][1].length,i&&i.length<=Math.max(s,o)&&i.length<=Math.max(l,c)&&(e.splice(r[n-1],0,new z0(Di,i)),e[r[n-1]+1][0]=li,n--,n--,a=n>0?r[n-1]:-1,s=0,o=0,l=0,c=0,i=null,t=!0)),a++;for(t&&dz(e),Lve(e),a=1;a<e.length;){if(e[a-1][0]===Di&&e[a][0]===li){let u=e[a-1][1],d=e[a][1],h=nk(u,d),p=nk(d,u);h>=p?(h>=u.length/2||h>=d.length/2)&&(e.splice(a,0,new z0(tn,d.substring(0,h))),e[a-1][1]=u.substring(0,u.length-h),e[a+1][1]=d.substring(h),a++):(p>=u.length/2||p>=d.length/2)&&(e.splice(a,0,new z0(tn,u.substring(0,p))),e[a-1][0]=li,e[a-1][1]=d.substring(0,d.length-p),e[a+1][0]=Di,e[a+1][1]=u.substring(p),a++),a++}a++}}ae(Dve,"diff_cleanupSemantic");var Ate=/[^a-z0-9]/i,Cte=/\s/,Ete=/[\r\n]/,Gvt=/\n\r?\n$/,Vvt=/^\r?\n\r?\n/;function Lve(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===tn&&e[t+1][0]===tn){let r=e[t-1][1],n=e[t][1],i=e[t+1][1],a=uz(r,n);if(a){let u=n.substring(n.length-a);r=r.substring(0,r.length-a),n=u+n.substring(0,n.length-a),i=u+i}let s=r,o=n,l=i,c=sy(r,n)+sy(n,i);for(;n.charAt(0)===i.charAt(0);){r+=n.charAt(0),n=n.substring(1)+i.charAt(0),i=i.substring(1);let u=sy(r,n)+sy(n,i);u>=c&&(c=u,s=r,o=n,l=i)}e[t-1][1]!==s&&(s?e[t-1][1]=s:(e.splice(t-1,1),t--),e[t][1]=o,l?e[t+1][1]=l:(e.splice(t+1,1),t--))}t++}}ae(Lve,"diff_cleanupSemanticLossless");function dz(e){e.push(new z0(tn,""));let t=0,r=0,n=0,i="",a="",s;for(;t<e.length;)switch(e[t][0]){case li:n++,a+=e[t][1],t++;break;case Di:r++,i+=e[t][1],t++;break;case tn:r+n>1?(r!==0&&n!==0&&(s=kve(a,i),s!==0&&(t-r-n>0&&e[t-r-n-1][0]===tn?e[t-r-n-1][1]+=a.substring(0,s):(e.splice(0,0,new z0(tn,a.substring(0,s))),t++),a=a.substring(s),i=i.substring(s)),s=uz(a,i),s!==0&&(e[t][1]=a.substring(a.length-s)+e[t][1],a=a.substring(0,a.length-s),i=i.substring(0,i.length-s))),t-=r+n,e.splice(t,r+n),i.length&&(e.splice(t,0,new z0(Di,i)),t++),a.length&&(e.splice(t,0,new z0(li,a)),t++),t++):t!==0&&e[t-1][0]===tn?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,i="",a="";break}e[e.length-1][1]===""&&e.pop();let o=!1;for(t=1;t<e.length-1;)e[t-1][0]===tn&&e[t+1][0]===tn&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),o=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),o=!0)),t++;o&&dz(e)}ae(dz,"diff_cleanupMerge");function sy(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),i=r.match(Ate),a=n.match(Ate),s=i&&r.match(Cte),o=a&&n.match(Cte),l=s&&r.match(Ete),c=o&&n.match(Ete),u=l&&e.match(Gvt),d=c&&t.match(Vvt);return u||d?5:l||c?4:i&&!s&&o?3:s||o?2:i||a?1:0}ae(sy,"diff_cleanupSemanticScore_");var Fve="Compared values have no visual difference.",Yvt="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",k3={},Pte;function $ve(){if(Pte)return k3;Pte=1,Object.defineProperty(k3,"__esModule",{value:!0}),k3.default=h;let e="diff-sequences",t=0,r=ae((p,m,g,b,y)=>{let v=0;for(;p<m&&g<b&&y(p,g);)p+=1,g+=1,v+=1;return v},"countCommonItemsF"),n=ae((p,m,g,b,y)=>{let v=0;for(;p<=m&&g<=b&&y(m,b);)m-=1,b-=1,v+=1;return v},"countCommonItemsR"),i=ae((p,m,g,b,y,v,S)=>{let x=0,w=-p,A=v[x],_=A;v[x]+=r(A+1,m,b+A-w+1,g,y);let C=p<S?p:S;for(x+=1,w+=2;x<=C;x+=1,w+=2){if(x!==p&&_<v[x])A=v[x];else if(A=_+1,m<=A)return x-1;_=v[x],v[x]=A+r(A+1,m,b+A-w+1,g,y)}return S},"extendPathsF"),a=ae((p,m,g,b,y,v,S)=>{let x=0,w=p,A=v[x],_=A;v[x]-=n(m,A-1,g,b+A-w-1,y);let C=p<S?p:S;for(x+=1,w-=2;x<=C;x+=1,w-=2){if(x!==p&&v[x]<_)A=v[x];else if(A=_-1,A<m)return x-1;_=v[x],v[x]=A-n(m,A-1,g,b+A-w-1,y)}return S},"extendPathsR"),s=ae((p,m,g,b,y,v,S,x,w,A,_)=>{let C=b-m,E=g-m,R=y-b-E,P=-R-(p-1),O=-R+(p-1),k=t,I=p<x?p:x;for(let M=0,D=-p;M<=I;M+=1,D+=2){let F=M===0||M!==p&&k<S[M],$=F?S[M]:k,Y=F?$:$+1,he=C+Y-D,fe=r(Y+1,g,he+1,y,v),U=Y+fe;if(k=S[M],S[M]=U,P<=D&&D<=O){let W=(p-1-(D+R))/2;if(W<=A&&w[W]-1<=U){let H=C+$-(F?D+1:D-1),ie=n(m,$,b,H,v),J=$-ie,we=H-ie,Le=J+1,Ye=we+1;_.nChangePreceding=p-1,p-1===Le+Ye-m-b?(_.aEndPreceding=m,_.bEndPreceding=b):(_.aEndPreceding=Le,_.bEndPreceding=Ye),_.nCommonPreceding=ie,ie!==0&&(_.aCommonPreceding=Le,_.bCommonPreceding=Ye),_.nCommonFollowing=fe,fe!==0&&(_.aCommonFollowing=Y+1,_.bCommonFollowing=he+1);let oe=U+1,X=he+fe+1;return _.nChangeFollowing=p-1,p-1===g+y-oe-X?(_.aStartFollowing=g,_.bStartFollowing=y):(_.aStartFollowing=oe,_.bStartFollowing=X),!0}}}return!1},"extendOverlappablePathsF"),o=ae((p,m,g,b,y,v,S,x,w,A,_)=>{let C=y-g,E=g-m,R=y-b-E,P=R-p,O=R+p,k=t,I=p<A?p:A;for(let M=0,D=p;M<=I;M+=1,D-=2){let F=M===0||M!==p&&w[M]<k,$=F?w[M]:k,Y=F?$:$-1,he=C+Y-D,fe=n(m,Y-1,b,he-1,v),U=Y-fe;if(k=w[M],w[M]=U,P<=D&&D<=O){let W=(p+(D-R))/2;if(W<=x&&U-1<=S[W]){let H=he-fe;if(_.nChangePreceding=p,p===U+H-m-b?(_.aEndPreceding=m,_.bEndPreceding=b):(_.aEndPreceding=U,_.bEndPreceding=H),_.nCommonPreceding=fe,fe!==0&&(_.aCommonPreceding=U,_.bCommonPreceding=H),_.nChangeFollowing=p-1,p===1)_.nCommonFollowing=0,_.aStartFollowing=g,_.bStartFollowing=y;else{let ie=C+$-(F?D-1:D+1),J=r($,g,ie,y,v);_.nCommonFollowing=J,J!==0&&(_.aCommonFollowing=$,_.bCommonFollowing=ie);let we=$+J,Le=ie+J;p-1===g+y-we-Le?(_.aStartFollowing=g,_.bStartFollowing=y):(_.aStartFollowing=we,_.bStartFollowing=Le)}return!0}}}return!1},"extendOverlappablePathsR"),l=ae((p,m,g,b,y,v,S,x,w)=>{let A=b-m,_=y-g,C=g-m,E=y-b,R=E-C,P=C,O=C;if(S[0]=m-1,x[0]=g,R%2===0){let k=(p||R)/2,I=(C+E)/2;for(let M=1;M<=I;M+=1)if(P=i(M,g,y,A,v,S,P),M<k)O=a(M,m,b,_,v,x,O);else if(o(M,m,g,b,y,v,S,P,x,O,w))return}else{let k=((p||R)+1)/2,I=(C+E+1)/2,M=1;for(P=i(M,g,y,A,v,S,P),M+=1;M<=I;M+=1)if(O=a(M-1,m,b,_,v,x,O),M<k)P=i(M,g,y,A,v,S,P);else if(s(M,m,g,b,y,v,S,P,x,O,w))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${g} bStart=${b} bEnd=${y}`)},"divide"),c=ae((p,m,g,b,y,v,S,x,w,A)=>{if(y-b<g-m){if(v=!v,v&&S.length===1){let{foundSubsequence:W,isCommon:H}=S[0];S[1]={foundSubsequence:ae((ie,J,we)=>{W(ie,we,J)},"foundSubsequence"),isCommon:ae((ie,J)=>H(J,ie),"isCommon")}}let fe=m,U=g;m=b,g=y,b=fe,y=U}let{foundSubsequence:_,isCommon:C}=S[v?1:0];l(p,m,g,b,y,C,x,w,A);let{nChangePreceding:E,aEndPreceding:R,bEndPreceding:P,nCommonPreceding:O,aCommonPreceding:k,bCommonPreceding:I,nCommonFollowing:M,aCommonFollowing:D,bCommonFollowing:F,nChangeFollowing:$,aStartFollowing:Y,bStartFollowing:he}=A;m<R&&b<P&&c(E,m,R,b,P,v,S,x,w,A),O!==0&&_(O,k,I),M!==0&&_(M,D,F),Y<g&&he<y&&c($,Y,g,he,y,v,S,x,w,A)},"findSubsequences"),u=ae((p,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${p} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${p} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${p} value ${m} is a negative integer`)},"validateLength"),d=ae((p,m)=>{let g=typeof m;if(g!=="function")throw new TypeError(`${e}: ${p} typeof ${g} is not a function`)},"validateCallback");function h(p,m,g,b){u("aLength",p),u("bLength",m),d("isCommon",g),d("foundSubsequence",b);let y=r(0,p,0,m,g);if(y!==0&&b(y,0,0),p!==y||m!==y){let v=y,S=y,x=n(v,p-1,S,m-1,g),w=p-x,A=m-x,_=y+x;p!==_&&m!==_&&c(0,v,w,S,A,!1,[{foundSubsequence:b,isCommon:g}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),x!==0&&b(x,w,A)}}return ae(h,"diffSequence"),k3}ae($ve,"requireBuild");var Kvt=$ve(),Bve=jve(Kvt);function Nve(e,t){return e.replace(/\s+$/,r=>t(r))}ae(Nve,"formatTrailingSpaces");function I4(e,t,r,n,i,a){return e.length!==0?r(`${n} ${Nve(e,i)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}ae(I4,"printDiffLine");function pz(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return I4(e,t,r,n,i,a)}ae(pz,"printDeleteLine");function hz(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return I4(e,t,r,n,i,a)}ae(hz,"printInsertLine");function fz(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return I4(e,t,r,n,i,a)}ae(fz,"printCommonLine");function ik(e,t,r,n,{patchColor:i}){return i(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}ae(ik,"createPatchMark");function qve(e,t){let r=e.length,n=t.contextLines,i=n+n,a=r,s=!1,o=0,l=0;for(;l!==r;){let x=l;for(;l!==r&&e[l][0]===tn;)l+=1;if(x!==l)if(x===0)l>n&&(a-=l-n,s=!0);else if(l===r){let w=l-x;w>n&&(a-=w-n,s=!0)}else{let w=l-x;w>i&&(a-=w-i,o+=1)}for(;l!==r&&e[l][0]!==tn;)l+=1}let c=o!==0||s;o!==0?a+=o+1:s&&(a+=1);let u=a-1,d=[],h=0;c&&d.push("");let p=0,m=0,g=0,b=0,y=ae(x=>{let w=d.length;d.push(fz(x,w===0||w===u,t)),g+=1,b+=1},"pushCommonLine"),v=ae(x=>{let w=d.length;d.push(pz(x,w===0||w===u,t)),g+=1},"pushDeleteLine"),S=ae(x=>{let w=d.length;d.push(hz(x,w===0||w===u,t)),b+=1},"pushInsertLine");for(l=0;l!==r;){let x=l;for(;l!==r&&e[l][0]===tn;)l+=1;if(x!==l)if(x===0){l>n&&(x=l-n,p=x,m=x,g=p,b=m);for(let w=x;w!==l;w+=1)y(e[w][1])}else if(l===r){let w=l-x>n?x+n:l;for(let A=x;A!==w;A+=1)y(e[A][1])}else{let w=l-x;if(w>i){let A=x+n;for(let C=x;C!==A;C+=1)y(e[C][1]);d[h]=ik(p,g,m,b,t),h=d.length,d.push("");let _=w-i;p=g+_,m=b+_,g=p,b=m;for(let C=l-n;C!==l;C+=1)y(e[C][1])}else for(let A=x;A!==l;A+=1)y(e[A][1])}for(;l!==r&&e[l][0]===Di;)v(e[l][1]),l+=1;for(;l!==r&&e[l][0]===li;)S(e[l][1]),l+=1}return c&&(d[h]=ik(p,g,m,b,t)),d.join(`
`)}ae(qve,"joinAlignedDiffsNoExpand");function zve(e,t){return e.map((r,n,i)=>{let a=r[1],s=n===0||n===i.length-1;switch(r[0]){case Di:return pz(a,s,t);case li:return hz(a,s,t);default:return fz(a,s,t)}}).join(`
`)}ae(zve,"joinAlignedDiffsExpand");var w9=ae(e=>e,"noColor"),Wve=5,Xvt=0;function Hve(){return{aAnnotation:"Expected",aColor:Oc.green,aIndicator:"-",bAnnotation:"Received",bColor:Oc.red,bIndicator:"+",changeColor:Oc.inverse,changeLineTrailingSpaceColor:w9,commonColor:Oc.dim,commonIndicator:" ",commonLineTrailingSpaceColor:w9,compareKeys:void 0,contextLines:Wve,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Oc.yellow,printBasicPrototype:!1,truncateThreshold:Xvt,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:w9}}ae(Hve,"getDefaultOptions");function Uve(e){return e&&typeof e=="function"?e:void 0}ae(Uve,"getCompareKeys");function Gve(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Wve}ae(Gve,"getContextLines");function Kd(e={}){return{...Hve(),...e,compareKeys:Uve(e.compareKeys),contextLines:Gve(e.contextLines)}}ae(Kd,"normalizeDiffOptions");function $p(e){return e.length===1&&e[0].length===0}ae($p,"isEmptyString");function Vve(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Di:t+=1;break;case li:r+=1;break}}),{a:t,b:r}}ae(Vve,"countChanges");function Yve({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:i,bIndicator:a,includeChangeCounts:s,omitAnnotationLines:o},l){if(o)return"";let c="",u="";if(s){let p=String(l.a),m=String(l.b),g=n.length-e.length,b=" ".repeat(Math.max(0,g)),y=" ".repeat(Math.max(0,-g)),v=m.length-p.length,S=" ".repeat(Math.max(0,v)),x=" ".repeat(Math.max(0,-v));c=`${b} ${r} ${S}${p}`,u=`${y} ${a} ${x}${m}`}let d=`${r} ${e}${c}`,h=`${a} ${n}${u}`;return`${t(d)}
${i(h)}
`}ae(Yve,"printAnnotation");function O4(e,t,r){return Yve(r,Vve(e))+(r.expand?zve(e,r):qve(e,r))+(t?r.truncateAnnotationColor(`
${r.truncateAnnotation}`):"")}ae(O4,"printDiffLines");function Fv(e,t,r){let n=Kd(r),[i,a]=mz($p(e)?[]:e,$p(t)?[]:t,n);return O4(i,a,n)}ae(Fv,"diffLinesUnified");function Kve(e,t,r,n,i){if($p(e)&&$p(r)&&(e=[],r=[]),$p(t)&&$p(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Fv(e,t,i);let[a,s]=mz(r,n,i),o=0,l=0;return a.forEach(c=>{switch(c[0]){case Di:c[1]=e[o],o+=1;break;case li:c[1]=t[l],l+=1;break;default:c[1]=t[l],o+=1,l+=1}}),O4(a,s,Kd(i))}ae(Kve,"diffLinesUnified2");function mz(e,t,r){var h,p;let n=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,i=Math.max(Math.floor((p=r==null?void 0:r.truncateThreshold)!=null?p:0),0),a=n?Math.min(e.length,i):e.length,s=n?Math.min(t.length,i):t.length,o=a!==e.length||s!==t.length,l=ae((m,g)=>e[m]===t[g],"isCommon"),c=[],u=0,d=0;for(Bve(a,s,l,ae((m,g,b)=>{for(;u!==g;u+=1)c.push(new z0(Di,e[u]));for(;d!==b;d+=1)c.push(new z0(li,t[d]));for(;m!==0;m-=1,u+=1,d+=1)c.push(new z0(tn,t[d]))},"foundSubsequence"));u!==a;u+=1)c.push(new z0(Di,e[u]));for(;d!==s;d+=1)c.push(new z0(li,t[d]));return[c,o]}ae(mz,"diffLinesRaw");function ak(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}ae(ak,"getType");function sk(e){return e.includes(`\r
`)?`\r
`:`
`}ae(sk,"getNewLineSymbol");function Xve(e,t,r){var h,p;let n=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,i=Math.max(Math.floor((p=r==null?void 0:r.truncateThreshold)!=null?p:0),0),a=e.length,s=t.length;if(n){let m=e.includes(`
`),g=t.includes(`
`),b=sk(e),y=sk(t),v=m?`${e.split(b,i).join(b)}
`:e,S=g?`${t.split(y,i).join(y)}
`:t;a=v.length,s=S.length}let o=a!==e.length||s!==t.length,l=ae((m,g)=>e[m]===t[g],"isCommon"),c=0,u=0,d=[];return Bve(a,s,l,ae((m,g,b)=>{c!==g&&d.push(new z0(Di,e.slice(c,g))),u!==b&&d.push(new z0(li,t.slice(u,b))),c=g+m,u=b+m,d.push(new z0(tn,t.slice(b,u)))},"foundSubsequence")),c!==a&&d.push(new z0(Di,e.slice(c))),u!==s&&d.push(new z0(li,t.slice(u))),[d,o]}ae(Xve,"diffStrings");function Qve(e,t,r){return t.reduce((n,i)=>n+(i[0]===tn?i[1]:i[0]===e&&i[1].length!==0?r(i[1]):""),"")}ae(Qve,"concatenateRelevantDiffs");var Jve=class{constructor(t,r){ht(this,"op");ht(this,"line");ht(this,"lines");ht(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new z0(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new z0(this.op,Qve(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new z0(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(`
`)){let n=r.split(`
`),i=n.length-1;n.forEach((a,s)=>{s<i?(this.pushSubstring(a),this.pushLine()):a.length!==0&&this.pushSubstring(a)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}};ae(Jve,"ChangeBuffer");var jte=Jve,Zve=class{constructor(t,r){ht(this,"deleteBuffer");ht(this,"insertBuffer");ht(this,"lines");this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(`
`)){let i=n.split(`
`),a=i.length-1;i.forEach((s,o)=>{if(o===0){let l=new z0(r,s);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else o<a?this.pushDiffCommonLine(new z0(r,s)):s.length!==0&&this.pushDiffChangeLines(new z0(r,s))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};ae(Zve,"CommonBuffer");var Qvt=Zve;function e2e(e,t){let r=new jte(Di,t),n=new jte(li,t),i=new Qvt(r,n);return e.forEach(a=>{switch(a[0]){case Di:r.align(a);break;case li:n.align(a);break;default:i.align(a)}}),i.getLines()}ae(e2e,"getAlignedDiffs");function t2e(e,t){if(t){let r=e.length-1;return e.some((n,i)=>n[0]===tn&&(i!==r||n[1]!==`
`))}return e.some(r=>r[0]===tn)}ae(t2e,"hasCommonDiff");function r2e(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
`)||t.includes(`
`),[i,a]=gz(n?`${e}
`:e,n?`${t}
`:t,!0,r);if(t2e(i,n)){let s=Kd(r),o=e2e(i,s.changeColor);return O4(o,a,s)}}return Fv(e.split(`
`),t.split(`
`),r)}ae(r2e,"diffStringsUnified");function gz(e,t,r,n){let[i,a]=Xve(e,t,n);return r&&Dve(i),[i,a]}ae(gz,"diffStringsRaw");function bx(e,t){let{commonColor:r}=Kd(t);return r(e)}ae(bx,"getCommonMessage");var{AsymmetricMatcher:Jvt,DOMCollection:Zvt,DOMElement:e2t,Immutable:t2t,ReactElement:r2t,ReactTestComponent:n2t}=oz,n2e=[n2t,r2t,e2t,Zvt,t2t,Jvt,oz.Error],ok={maxDepth:20,plugins:n2e},i2e={callToJSON:!1,maxDepth:8,plugins:n2e};function a2e(e,t,r){if(Object.is(e,t))return"";let n=ak(e),i=n,a=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;i=e.getExpectedType(),a=i==="string"}if(i!==ak(t)){let s=function(S){return S.length<=b?S:`${S.slice(0,b)}...`};ae(s,"truncate");let{aAnnotation:o,aColor:l,aIndicator:c,bAnnotation:u,bColor:d,bIndicator:h}=Kd(r),p=yx(i2e,r),m=ho(e,p),g=ho(t,p),b=1e5;m=s(m),g=s(g);let y=`${l(`${c} ${o}:`)}
${m}`,v=`${d(`${h} ${u}:`)}
${g}`;return`${y}
${v}`}if(!a)switch(n){case"string":return Fv(e.split(`
`),t.split(`
`),r);case"boolean":case"number":return s2e(e,t,r);case"map":return ET(lk(e),lk(t),r);case"set":return ET(ck(e),ck(t),r);default:return ET(e,t,r)}}ae(a2e,"diff");function s2e(e,t,r){let n=ho(e,ok),i=ho(t,ok);return n===i?"":Fv(n.split(`
`),i.split(`
`),r)}ae(s2e,"comparePrimitive");function lk(e){return new Map(Array.from(e.entries()).sort())}ae(lk,"sortMap");function ck(e){return new Set(Array.from(e.values()).sort())}ae(ck,"sortSet");function ET(e,t,r){let n,i=!1;try{let s=yx(ok,r);n=uk(e,t,s,r)}catch(s){i=!0}let a=bx(Fve,r);if(n===void 0||n===a){let s=yx(i2e,r);n=uk(e,t,s,r),n!==a&&!i&&(n=`${bx(Yvt,r)}
${n}`)}return n}ae(ET,"compareObjects");function yx(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:i}=Kd(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:i!=null?i:e.maxDepth}}ae(yx,"getFormatOptions");function uk(e,t,r,n){let i={...r,indent:0},a=ho(e,i),s=ho(t,i);if(a===s)return bx(Fve,n);{let o=ho(e,r),l=ho(t,r);return Kve(o.split(`
`),l.split(`
`),a.split(`
`),s.split(`
`),n)}}ae(uk,"getObjectsDifference");var Rte=2e4;function dk(e){return mx(e)==="Object"&&typeof e.asymmetricMatch=="function"}ae(dk,"isAsymmetricMatcher");function pk(e,t){let r=mx(e),n=mx(t);return r===n&&(r==="Object"||r==="Array")}ae(pk,"isReplaceable");function o2e(e,t,r){let{aAnnotation:n,bAnnotation:i}=Kd(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=Rte&&e.length<=Rte&&t!==e){if(t.includes(`
`)||e.includes(`
`))return r2e(t,e,r);let[c]=gz(t,e,!0),u=c.some(m=>m[0]===tn),d=l2e(n,i),h=d(n)+u2e(hk(c,Di,u)),p=d(i)+c2e(hk(c,li,u));return`${h}
${p}`}let a=rk(t,{forceWritable:!0}),s=rk(e,{forceWritable:!0}),{replacedExpected:o,replacedActual:l}=bz(s,a);return a2e(o,l,r)}ae(o2e,"printDiffOrStringify");function bz(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):pk(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),cz(t).forEach(i=>{let a=t[i],s=e[i];if(dk(a))a.asymmetricMatch(s)&&(e[i]=a);else if(dk(s))s.asymmetricMatch(a)&&(t[i]=s);else if(pk(s,a)){let o=bz(s,a,r,n);e[i]=o.replacedActual,t[i]=o.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}ae(bz,"replaceAsymmetricMatcher");function l2e(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}ae(l2e,"getLabelPrinter");var i2t="·";function yz(e){return e.replace(/\s+$/gm,t=>i2t.repeat(t.length))}ae(yz,"replaceTrailingSpaces");function c2e(e){return Oc.red(yz(Ag(e)))}ae(c2e,"printReceived");function u2e(e){return Oc.green(yz(Ag(e)))}ae(u2e,"printExpected");function hk(e,t,r){return e.reduce((n,i)=>n+(i[0]===tn?i[1]:i[0]===t?r?Oc.inverse(i[1]):i[1]:""),"")}ae(hk,"getCommonAndChangedSubstrings");var a2t="@@__IMMUTABLE_RECORD__@@",s2t="@@__IMMUTABLE_ITERABLE__@@";function d2e(e){return e&&(e[s2t]||e[a2t])}ae(d2e,"isImmutable");var o2t=Object.getPrototypeOf({});function fk(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}ae(fk,"getUnserializableMessage");function Ec(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){let r=e.toJSON();return r&&r!==e&&typeof r=="object"&&(typeof e.message=="string"&&oy(()=>{var n;return(n=r.message)!=null?n:r.message=e.message}),typeof e.stack=="string"&&oy(()=>{var n;return(n=r.stack)!=null?n:r.stack=e.stack}),typeof e.name=="string"&&oy(()=>{var n;return(n=r.name)!=null?n:r.name=e.name}),e.cause!=null&&oy(()=>{var n;return(n=r.cause)!=null?n:r.cause=Ec(e.cause,t)})),Ec(r,t)}if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return`<Buffer(${e.length}) ...>`;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return`<Uint8Array(${e.length}) ...>`;if(d2e(e))return Ec(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${Pve(e.sample)}`;if(typeof e.toJSON=="function")return Ec(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,i)=>{try{r[i]=Ec(n,t)}catch(a){r[i]=fk(a)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==o2t;)Object.getOwnPropertyNames(n).forEach(i=>{if(!(i in r))try{r[i]=Ec(e[i],t)}catch(a){delete r[i],r[i]=fk(a)}}),n=Object.getPrototypeOf(n);return r}}ae(Ec,"serializeValue");function oy(e){try{return e()}catch(t){}}ae(oy,"safe");function p2e(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}ae(p2e,"normalizeErrorMessage");function vz(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=o2e(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=Ag(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=Ag(n.actual,10));try{typeof n.message=="string"&&(n.message=p2e(n.message))}catch(i){}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=vz(n.cause,t,r))}catch(i){}try{return Ec(n)}catch(i){return Ec(new Error(`Failed to fully serialize error: ${i==null?void 0:i.message}
Inner error message: ${n==null?void 0:n.message}`))}}ae(vz,"processError");var ac={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},_9=globalThis.__STORYBOOK_ADDONS_PREVIEW,l2t=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Ite=ae(e=>Object.prototype.toString.call(e)==="[object Object]","isObject"),c2t=ae(e=>Object.prototype.toString.call(e)==="[object Module]","isModule"),u2t=ae(e=>{if(!Ite(e)&&!c2t(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!Ite(t)},"isInstrumentable"),d2t=ae(e=>{try{return new e.constructor}catch(t){return{}}},"construct"),A9=ae(()=>({renderPhase:"preparing",isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),"getInitialState"),Ote=ae((e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(i=>i.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,i])=>i.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},"getRetainedState"),h2e=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=ae(()=>{var l,c;try{this.state=((c=(l=Ue.window)==null?void 0:l.parent)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{}}catch(u){this.detached=!0}},"loadParentWindowState"),this.updateParentWindowState=ae(()=>{try{Ue.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch(l){this.detached=!0}},"updateParentWindowState"),this.loadParentWindowState();let t=ae(({storyId:l,renderPhase:c,isPlaying:u=!0,isDebugging:d=!1})=>{let h=this.getState(l);this.setState(l,{...A9(),...Ote(h,d),renderPhase:c||h.renderPhase,shadowCalls:d?h.shadowCalls:[],chainedCallIds:d?h.chainedCallIds:new Set,playUntil:d?h.playUntil:void 0,isPlaying:u,isDebugging:d}),this.sync(l)},"resetState"),r=ae(l=>({storyId:c,playUntil:u})=>{this.getState(c).isDebugging||this.setState(c,({calls:h})=>({calls:[],shadowCalls:h.map(p=>({...p,status:"waiting"})),isDebugging:!0}));let d=this.getLog(c);this.setState(c,({shadowCalls:h})=>{var m;if(u||!d.length)return{playUntil:u};let p=h.findIndex(g=>g.id===d[0].callId);return{playUntil:(m=h.slice(0,p).filter(g=>{var b;return g.interceptable&&!((b=g.ancestors)!=null&&b.length)}).slice(-1)[0])==null?void 0:m.id}}),l.emit(vg,{storyId:c,isDebugging:!0})},"start"),n=ae(l=>({storyId:c})=>{var h;let u=this.getLog(c).filter(p=>{var m;return!((m=p.ancestors)!=null&&m.length)}),d=u.reduceRight((p,m,g)=>p>=0||m.status==="waiting"?p:g,-1);r(l)({storyId:c,playUntil:(h=u[d-1])==null?void 0:h.callId})},"back"),i=ae(l=>({storyId:c,callId:u})=>{var b;let{calls:d,shadowCalls:h,resolvers:p}=this.getState(c),m=d.find(({id:y})=>y===u),g=h.find(({id:y})=>y===u);if(!m&&g&&Object.values(p).length>0){let y=(b=this.getLog(c).find(v=>v.status==="waiting"))==null?void 0:b.callId;g.id!==y&&this.setState(c,{playUntil:g.id}),Object.values(p).forEach(v=>v())}else r(l)({storyId:c,playUntil:u})},"goto"),a=ae(l=>({storyId:c})=>{var d;let{resolvers:u}=this.getState(c);if(Object.values(u).length>0)Object.values(u).forEach(h=>h());else{let h=(d=this.getLog(c).find(p=>p.status==="waiting"))==null?void 0:d.callId;h?r(l)({storyId:c,playUntil:h}):s({storyId:c})}},"next"),s=ae(({storyId:l})=>{this.setState(l,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(l).resolvers).forEach(c=>c())},"end"),o=ae(({storyId:l,newPhase:c})=>{let{isDebugging:u}=this.getState(l);if(c==="preparing"&&u)return t({storyId:l,renderPhase:c});if(c==="playing")return t({storyId:l,renderPhase:c,isDebugging:u});c==="played"?this.setState(l,{renderPhase:c,isLocked:!1,isPlaying:!1,isDebugging:!1}):c==="errored"?this.setState(l,{renderPhase:c,isLocked:!1,isPlaying:!1}):c==="aborted"?this.setState(l,{renderPhase:c,isLocked:!0,isPlaying:!1}):this.setState(l,{renderPhase:c}),this.sync(l)},"renderPhaseChanged");_9&&_9.ready().then(()=>{this.channel=_9.getChannel(),this.channel.on(vg,t),this.channel.on(Ed,o),this.channel.on(y4,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(ac.START,r(this.channel)),this.channel.on(ac.BACK,n(this.channel)),this.channel.on(ac.GOTO,i(this.channel)),this.channel.on(ac.NEXT,a(this.channel)),this.channel.on(ac.END,s)})}getState(t){return this.state[t]||A9()}setState(t,r){if(t){let n=this.getState(t),i=typeof r=="function"?r(n):r;this.state={...this.state,[t]:{...n,...i}},this.updateParentWindowState()}}cleanup(){var r;this.state=Object.entries(this.state).reduce((n,[i,a])=>{let s=Ote(a);return s&&(n[i]=Object.assign(A9(),s)),n},{});let t={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};(r=this.channel)==null||r.emit(ac.SYNC,t),this.updateParentWindowState()}getLog(t){let{calls:r,shadowCalls:n}=this.getState(t),i=[...n];r.forEach((s,o)=>{i[o]=s});let a=new Set;return i.reduceRight((s,o)=>(o.args.forEach(l=>{l!=null&&l.__callId__&&a.add(l.__callId__)}),o.path.forEach(l=>{l.__callId__&&a.add(l.__callId__)}),(o.interceptable||o.exception)&&!a.has(o.id)&&(s.unshift({callId:o.id,status:o.status,ancestors:o.ancestors}),a.add(o.id)),s),[])}instrument(t,r,n=0){if(!u2t(t))return t;let{mutate:i=!1,path:a=[]}=r,s=r.getKeys?r.getKeys(t,n):Object.keys(t);return n+=1,s.reduce((o,l)=>{let c=f2e(t,l);if(typeof(c==null?void 0:c.get)=="function"){if(c.configurable){let d=ae(()=>{var h,p;return(p=(h=c==null?void 0:c.get)==null?void 0:h.bind(t))==null?void 0:p()},"getter");Object.defineProperty(o,l,{get:ae(()=>this.instrument(d(),{...r,path:a.concat(l)},n),"get")})}return o}let u=t[l];return typeof u!="function"?(o[l]=this.instrument(u,{...r,path:a.concat(l)},n),o):"__originalFn__"in u&&typeof u.__originalFn__=="function"?(o[l]=u,o):(o[l]=(...d)=>this.track(l,u,t,d,r),o[l].__originalFn__=u,Object.defineProperty(o[l],"name",{value:l,writable:!1}),Object.keys(u).length>0&&Object.assign(o[l],this.instrument({...u},{...r,path:a.concat(l)},n)),o)},i?t:d2t(t))}track(t,r,n,i,a){var b,y,v,S;let s=((b=i==null?void 0:i[0])==null?void 0:b.__storyId__)||((S=(v=(y=Ue.__STORYBOOK_PREVIEW__)==null?void 0:y.selectionStore)==null?void 0:v.selection)==null?void 0:S.storyId),{cursor:o,ancestors:l}=this.getState(s);this.setState(s,{cursor:o+1});let c=`${l.slice(-1)[0]||s} [${o}] ${t}`,{path:u=[],intercept:d=!1,retain:h=!1}=a,p=typeof d=="function"?d(t,u):d,m={id:c,cursor:o,storyId:s,ancestors:l,path:u,method:t,args:i,interceptable:p,retain:h},g=(p&&!l.length?this.intercept:this.invoke).call(this,r,n,m,a);return this.instrument(g,{...a,mutate:!0,path:[{__callId__:m.id}]})}intercept(t,r,n,i){let{chainedCallIds:a,isDebugging:s,playUntil:o}=this.getState(n.storyId),l=a.has(n.id);return!s||l||o?(o===n.id&&this.setState(n.storyId,{playUntil:void 0}),this.invoke(t,r,n,i)):new Promise(c=>{this.setState(n.storyId,({resolvers:u})=>({isLocked:!1,resolvers:{...u,[n.id]:c}}))}).then(()=>(this.setState(n.storyId,c=>{let{[n.id]:u,...d}=c.resolvers;return{isLocked:!0,resolvers:d}}),this.invoke(t,r,n,i)))}invoke(t,r,n,i){let{callRefsByResult:a,renderPhase:s}=this.getState(n.storyId),o=25,l=ae((d,h,p)=>{var m,g,b;if(p.includes(d))return"[Circular]";if(p=[...p,d],h>o)return"...";if(a.has(d))return a.get(d);if(d instanceof Array)return d.map(y=>l(y,++h,p));if(d instanceof Date)return{__date__:{value:d.toISOString()}};if(d instanceof Error){let{name:y,message:v,stack:S}=d;return{__error__:{name:y,message:v,stack:S}}}if(d instanceof RegExp){let{flags:y,source:v}=d;return{__regexp__:{flags:y,source:v}}}if(d instanceof((m=Ue.window)==null?void 0:m.HTMLElement)){let{prefix:y,localName:v,id:S,classList:x,innerText:w}=d,A=Array.from(x);return{__element__:{prefix:y,localName:v,id:S,classNames:A,innerText:w}}}return typeof d=="function"?{__function__:{name:"getMockName"in d?d.getMockName():d.name}}:typeof d=="symbol"?{__symbol__:{description:d.description}}:typeof d=="object"&&((g=d==null?void 0:d.constructor)!=null&&g.name)&&((b=d==null?void 0:d.constructor)==null?void 0:b.name)!=="Object"?{__class__:{name:d.constructor.name}}:Object.prototype.toString.call(d)==="[object Object]"?Object.fromEntries(Object.entries(d).map(([y,v])=>[y,l(v,++h,p)])):d},"serializeValues"),c={...n,args:n.args.map(d=>l(d,0,[]))};n.path.forEach(d=>{d!=null&&d.__callId__&&this.setState(n.storyId,({chainedCallIds:h})=>({chainedCallIds:new Set(Array.from(h).concat(d.__callId__))}))});let u=ae(d=>{var h;if(d instanceof Error){let{name:p,message:m,stack:g,callId:b=n.id}=d,{showDiff:y=void 0,diff:v=void 0,actual:S=void 0,expected:x=void 0}=d.name==="AssertionError"?vz(d):d,w={name:p,message:m,stack:g,callId:b,showDiff:y,diff:v,actual:S,expected:x};if(this.update({...c,status:"error",exception:w}),this.setState(n.storyId,A=>({callRefsByResult:new Map([...Array.from(A.callRefsByResult.entries()),[d,{__callId__:n.id,retain:n.retain}]])})),(h=n.ancestors)==null?void 0:h.length)throw Object.prototype.hasOwnProperty.call(d,"callId")||Object.defineProperty(d,"callId",{value:n.id}),d}throw d},"handleException");try{if(s==="played"&&!n.retain)throw l2t;let d=(i.getArgs?i.getArgs(n,this.getState(n.storyId)):n.args).map(p=>typeof p!="function"||m2e(p)||Object.keys(p).length?p:(...m)=>{let{cursor:g,ancestors:b}=this.getState(n.storyId);this.setState(n.storyId,{cursor:0,ancestors:[...b,n.id]});let y=ae(()=>this.setState(n.storyId,{cursor:g,ancestors:b}),"restore"),v=!1;try{let S=p(...m);return S instanceof Promise?(v=!0,S.finally(y)):S}finally{v||y()}}),h=t.apply(r,d);return h&&["object","function","symbol"].includes(typeof h)&&this.setState(n.storyId,p=>({callRefsByResult:new Map([...Array.from(p.callRefsByResult.entries()),[h,{__callId__:n.id,retain:n.retain}]])})),this.update({...c,status:h instanceof Promise?"active":"done"}),h instanceof Promise?h.then(p=>(this.update({...c,status:"done"}),p),u):h}catch(d){return u(d)}}update(t){var r;(r=this.channel)==null||r.emit(ac.CALL,t),this.setState(t.storyId,({calls:n})=>{let i=n.concat(t).reduce((a,s)=>Object.assign(a,{[s.id]:s}),{});return{calls:Object.values(i).sort((a,s)=>a.id.localeCompare(s.id,void 0,{numeric:!0}))}}),this.sync(t.storyId)}sync(t){let r=ae(()=>{var u,d,h;let{isLocked:n,isPlaying:i}=this.getState(t),a=this.getLog(t),s=(u=a.filter(({ancestors:p})=>!p.length).find(p=>p.status==="waiting"))==null?void 0:u.callId,o=a.some(p=>p.status==="active");if(this.detached||n||o||a.length===0){let p={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:a};(d=this.channel)==null||d.emit(ac.SYNC,p);return}let l=a.some(p=>p.status==="done"||p.status==="error"),c={controlStates:{detached:this.detached,start:l,back:l,goto:!0,next:i,end:i},logItems:a,pausedAt:s};(h=this.channel)==null||h.emit(ac.SYNC,c)},"synchronize");this.setState(t,({syncTimeout:n})=>(clearTimeout(n),{syncTimeout:setTimeout(r,0)}))}};ae(h2e,"Instrumenter");var p2t=h2e;function M1(e,t={}){var r,n,i,a,s,o,l,c;try{let u=!1,d=!1;return(i=(n=(r=Ue.window)==null?void 0:r.location)==null?void 0:n.search)!=null&&i.includes("instrument=true")?u=!0:(o=(s=(a=Ue.window)==null?void 0:a.location)==null?void 0:s.search)!=null&&o.includes("instrument=false")&&(d=!0),((l=Ue.window)==null?void 0:l.parent)===Ue.window&&!u||d?e:(Ue.window&&!Ue.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(Ue.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new p2t),((c=Ue.window)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(u){return pn.warn(u),e}}ae(M1,"instrument");function f2e(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}ae(f2e,"getPropertyDescriptor");function m2e(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}ae(m2e,"isClass");var mk={},h2t=Object.create,$v=Object.defineProperty,f2t=Object.getOwnPropertyDescriptor,m2t=Object.getOwnPropertyNames,g2t=Object.getPrototypeOf,b2t=Object.prototype.hasOwnProperty,T=(e,t)=>$v(e,"name",{value:t,configurable:!0}),y2t=(e,t)=>()=>(e&&(t=e(e=0)),t),N=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),M4=(e,t)=>{for(var r in t)$v(e,r,{get:t[r],enumerable:!0})},g2e=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of m2t(t))!b2t.call(e,i)&&i!==r&&$v(e,i,{get:()=>t[i],enumerable:!(n=f2t(t,i))||n.enumerable});return e},is=(e,t,r)=>(r=e!=null?h2t(g2t(e)):{},g2e(t||!e||!e.__esModule?$v(r,"default",{value:e,enumerable:!0}):r,e)),v2t=e=>g2e($v({},"__esModule",{value:!0}),e),T2t=N((e,t)=>{t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((i,a)=>Math.min(i,a.length),1/0):0}}),S2t=N((e,t)=>{var r=T2t();t.exports=n=>{let i=r(n);if(i===0)return n;let a=new RegExp(`^[ \\t]{${i}}`,"gm");return n.replace(a,"")}}),x2t=N((e,t)=>{t.exports=(r,n=1,i)=>{if(i={indent:" ",includeEmptyLines:!1,...i},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof i.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof i.indent}\``);if(n===0)return r;let a=i.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(a,i.indent.repeat(n))}}),b2e=N((e,t)=>{var r=S2t(),n=x2t();t.exports=(i,a=0,s)=>n(r(i),a,s)}),w2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,i={"@@iterator":T(function(){return i},"iterator"),next:T(function(){if(n<r.length){var a=r[n];return n=n+1,{done:!1,value:a}}else return{done:!0}},"next")};return i}T(t,"iteratorProxy"),e.default=t}),Bv=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=r(w2t());function r(a){return a&&a.__esModule?a:{default:a}}T(r,"_interopRequireDefault");function n(a){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(a)}T(n,"_typeof");function i(a,s){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(a,Symbol.iterator,{value:t.default.bind(s)}),a}T(i,"iterationDecorator")}),_2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Bv());function r(d){return d&&d.__esModule?d:{default:d}}T(r,"_interopRequireDefault");function n(d,h){return l(d)||o(d,h)||a(d,h)||i()}T(n,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}T(i,"_nonIterableRest");function a(d,h){if(d){if(typeof d=="string")return s(d,h);var p={}.toString.call(d).slice(8,-1);return p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set"?Array.from(d):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?s(d,h):void 0}}T(a,"_unsupportedIterableToArray");function s(d,h){(h==null||h>d.length)&&(h=d.length);for(var p=0,m=Array(h);p<h;p++)m[p]=d[p];return m}T(s,"_arrayLikeToArray");function o(d,h){var p=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(p!=null){var m,g,b,y,v=[],S=!0,x=!1;try{if(b=(p=p.call(d)).next,h===0){if(Object(p)!==p)return;S=!1}else for(;!(S=(m=b.call(p)).done)&&(v.push(m.value),v.length!==h);S=!0);}catch(w){x=!0,g=w}finally{try{if(!S&&p.return!=null&&(y=p.return(),Object(y)!==y))return}finally{if(x)throw g}}return v}}T(o,"_iterableToArrayLimit");function l(d){if(Array.isArray(d))return d}T(l,"_arrayWithHoles");var c=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],u={entries:T(function(){return c},"entries"),forEach:T(function(d){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,p=0,m=c;p<m.length;p++){var g=n(m[p],2),b=g[0],y=g[1];d.call(h,y,b,c)}},"forEach"),get:T(function(d){var h=c.filter(function(p){return p[0]===d})[0];return h&&h[1]},"get"),has:T(function(d){return!!u.get(d)},"has"),keys:T(function(){return c.map(function(d){var h=n(d,1),p=h[0];return p})},"keys"),values:T(function(){return c.map(function(d){var h=n(d,2),p=h[1];return p})},"values")};e.default=(0,t.default)(u,u.entries())}),A2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Bv());function r(d){return d&&d.__esModule?d:{default:d}}T(r,"_interopRequireDefault");function n(d,h){return l(d)||o(d,h)||a(d,h)||i()}T(n,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}T(i,"_nonIterableRest");function a(d,h){if(d){if(typeof d=="string")return s(d,h);var p={}.toString.call(d).slice(8,-1);return p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set"?Array.from(d):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?s(d,h):void 0}}T(a,"_unsupportedIterableToArray");function s(d,h){(h==null||h>d.length)&&(h=d.length);for(var p=0,m=Array(h);p<h;p++)m[p]=d[p];return m}T(s,"_arrayLikeToArray");function o(d,h){var p=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(p!=null){var m,g,b,y,v=[],S=!0,x=!1;try{if(b=(p=p.call(d)).next,h===0){if(Object(p)!==p)return;S=!1}else for(;!(S=(m=b.call(p)).done)&&(v.push(m.value),v.length!==h);S=!0);}catch(w){x=!0,g=w}finally{try{if(!S&&p.return!=null&&(y=p.return(),Object(y)!==y))return}finally{if(x)throw g}}return v}}T(o,"_iterableToArrayLimit");function l(d){if(Array.isArray(d))return d}T(l,"_arrayWithHoles");var c=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],u={entries:T(function(){return c},"entries"),forEach:T(function(d){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,p=0,m=c;p<m.length;p++){var g=n(m[p],2),b=g[0],y=g[1];d.call(h,y,b,c)}},"forEach"),get:T(function(d){var h=c.filter(function(p){return p[0]===d})[0];return h&&h[1]},"get"),has:T(function(d){return!!u.get(d)},"has"),keys:T(function(){return c.map(function(d){var h=n(d,1),p=h[0];return p})},"keys"),values:T(function(){return c.map(function(d){var h=n(d,2),p=h[1];return p})},"values")};e.default=(0,t.default)(u,u.entries())}),C2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),E2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),P2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}),j2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),R2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),I2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}),O2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),M2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),k2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}),D2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),L2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),F2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}),$2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(C2t()),r=p(E2t()),n=p(P2t()),i=p(j2t()),a=p(R2t()),s=p(I2t()),o=p(O2t()),l=p(M2t()),c=p(k2t()),u=p(D2t()),d=p(L2t()),h=p(F2t());function p(g){return g&&g.__esModule?g:{default:g}}T(p,"_interopRequireDefault");var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",i.default],["range",a.default],["roletype",s.default],["section",o.default],["sectionhead",l.default],["select",c.default],["structure",u.default],["widget",d.default],["window",h.default]];e.default=m}),B2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),N2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}),q2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),z2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}),W2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),H2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),U2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),G2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),V2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Y2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}),K2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),X2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}),Q2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}),J2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),Z2t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),e3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),t3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),r3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}),n3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}),i3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),a3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),s3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}),o3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),l3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),c3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),u3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}),d3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}),p3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),h3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}),f3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),m3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),g3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),b3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),y3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),v3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),T3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),S3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),x3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),w3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),_3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),A3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),C3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}),E3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}),P3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}),j3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}),R3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}),I3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),O3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}),M3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),k3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}),D3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),L3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),F3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}),$3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}),B3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),N3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),q3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}),z3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),W3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}),H3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}),U3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),G3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}),V3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}),Y3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}),K3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}),X3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Q3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),J3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),Z3t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),eTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}),tTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}),rTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),nTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}),iTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),aTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),sTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}),oTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),lTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}),cTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}),uTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),dTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}),pTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}),hTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}),fTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=V(B2t()),r=V(N2t()),n=V(q2t()),i=V(z2t()),a=V(W2t()),s=V(H2t()),o=V(U2t()),l=V(G2t()),c=V(V2t()),u=V(Y2t()),d=V(K2t()),h=V(X2t()),p=V(Q2t()),m=V(J2t()),g=V(Z2t()),b=V(e3t()),y=V(t3t()),v=V(r3t()),S=V(n3t()),x=V(i3t()),w=V(a3t()),A=V(s3t()),_=V(o3t()),C=V(l3t()),E=V(c3t()),R=V(u3t()),P=V(d3t()),O=V(p3t()),k=V(h3t()),I=V(f3t()),M=V(m3t()),D=V(g3t()),F=V(b3t()),$=V(y3t()),Y=V(v3t()),he=V(T3t()),fe=V(S3t()),U=V(x3t()),W=V(w3t()),H=V(_3t()),ie=V(A3t()),J=V(C3t()),we=V(E3t()),Le=V(P3t()),Ye=V(j3t()),oe=V(R3t()),X=V(I3t()),se=V(O3t()),Ce=V(M3t()),ce=V(k3t()),le=V(D3t()),Te=V(L3t()),be=V(F3t()),ze=V($3t()),Ze=V(B3t()),St=V(N3t()),Ut=V(q3t()),Rt=V(z3t()),Dt=V(W3t()),nt=V(H3t()),Pr=V(U3t()),q=V(G3t()),K=V(V3t()),pe=V(Y3t()),ye=V(K3t()),ke=V(X3t()),je=V(Q3t()),qe=V(J3t()),Fe=V(Z3t()),We=V(eTt()),Ct=V(tTt()),Wt=V(rTt()),It=V(nTt()),nr=V(iTt()),L0=V(aTt()),P0=V(sTt()),Ia=V(oTt()),Oa=V(lTt()),Gs=V(cTt()),Ma=V(uTt()),Vs=V(dTt()),Ys=V(pTt()),Ks=V(hTt());function V(Gi){return Gi&&Gi.__esModule?Gi:{default:Gi}}T(V,"_interopRequireDefault");var Kl=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",i.default],["banner",a.default],["blockquote",s.default],["button",o.default],["caption",l.default],["cell",c.default],["checkbox",u.default],["code",d.default],["columnheader",h.default],["combobox",p.default],["complementary",m.default],["contentinfo",g.default],["definition",b.default],["deletion",y.default],["dialog",v.default],["directory",S.default],["document",x.default],["emphasis",w.default],["feed",A.default],["figure",_.default],["form",C.default],["generic",E.default],["grid",R.default],["gridcell",P.default],["group",O.default],["heading",k.default],["img",I.default],["insertion",M.default],["link",D.default],["list",F.default],["listbox",$.default],["listitem",Y.default],["log",he.default],["main",fe.default],["mark",U.default],["marquee",W.default],["math",H.default],["menu",ie.default],["menubar",J.default],["menuitem",we.default],["menuitemcheckbox",Le.default],["menuitemradio",Ye.default],["meter",oe.default],["navigation",X.default],["none",se.default],["note",Ce.default],["option",ce.default],["paragraph",le.default],["presentation",Te.default],["progressbar",be.default],["radio",ze.default],["radiogroup",Ze.default],["region",St.default],["row",Ut.default],["rowgroup",Rt.default],["rowheader",Dt.default],["scrollbar",nt.default],["search",Pr.default],["searchbox",q.default],["separator",K.default],["slider",pe.default],["spinbutton",ye.default],["status",ke.default],["strong",je.default],["subscript",qe.default],["superscript",Fe.default],["switch",We.default],["tab",Ct.default],["table",Wt.default],["tablist",It.default],["tabpanel",nr.default],["term",L0.default],["textbox",P0.default],["time",Ia.default],["timer",Oa.default],["toolbar",Gs.default],["tooltip",Ma.default],["tree",Vs.default],["treegrid",Ys.default],["treeitem",Ks.default]];e.default=Kl}),mTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),gTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),bTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),yTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),vTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),TTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}),STt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),xTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),wTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),_Tt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),ATt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),CTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}),ETt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),PTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),jTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),RTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}),ITt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),OTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),MTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),kTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),DTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),LTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),FTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),$Tt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),BTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),NTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),qTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),zTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}),WTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}),HTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}),UTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),GTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),VTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),YTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),KTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),XTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}),QTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}),JTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),ZTt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}),eSt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}),tSt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}),rSt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=J(mTt()),r=J(gTt()),n=J(bTt()),i=J(yTt()),a=J(vTt()),s=J(TTt()),o=J(STt()),l=J(xTt()),c=J(wTt()),u=J(_Tt()),d=J(ATt()),h=J(CTt()),p=J(ETt()),m=J(PTt()),g=J(jTt()),b=J(RTt()),y=J(ITt()),v=J(OTt()),S=J(MTt()),x=J(kTt()),w=J(DTt()),A=J(LTt()),_=J(FTt()),C=J($Tt()),E=J(BTt()),R=J(NTt()),P=J(qTt()),O=J(zTt()),k=J(WTt()),I=J(HTt()),M=J(UTt()),D=J(GTt()),F=J(VTt()),$=J(YTt()),Y=J(KTt()),he=J(XTt()),fe=J(QTt()),U=J(JTt()),W=J(ZTt()),H=J(eSt()),ie=J(tSt());function J(Le){return Le&&Le.__esModule?Le:{default:Le}}T(J,"_interopRequireDefault");var we=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",i.default],["doc-backlink",a.default],["doc-biblioentry",s.default],["doc-bibliography",o.default],["doc-biblioref",l.default],["doc-chapter",c.default],["doc-colophon",u.default],["doc-conclusion",d.default],["doc-cover",h.default],["doc-credit",p.default],["doc-credits",m.default],["doc-dedication",g.default],["doc-endnote",b.default],["doc-endnotes",y.default],["doc-epigraph",v.default],["doc-epilogue",S.default],["doc-errata",x.default],["doc-example",w.default],["doc-footnote",A.default],["doc-foreword",_.default],["doc-glossary",C.default],["doc-glossref",E.default],["doc-index",R.default],["doc-introduction",P.default],["doc-noteref",O.default],["doc-notice",k.default],["doc-pagebreak",I.default],["doc-pagefooter",M.default],["doc-pageheader",D.default],["doc-pagelist",F.default],["doc-part",$.default],["doc-preface",Y.default],["doc-prologue",he.default],["doc-pullquote",fe.default],["doc-qna",U.default],["doc-subtitle",W.default],["doc-tip",H.default],["doc-toc",ie.default]];e.default=we}),nSt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}),iSt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}),aSt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}),sSt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(nSt()),r=i(iSt()),n=i(aSt());function i(s){return s&&s.__esModule?s:{default:s}}T(i,"_interopRequireDefault");var a=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=a}),Tz=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s($2t()),r=s(fTt()),n=s(rSt()),i=s(sSt()),a=s(Bv());function s(b){return b&&b.__esModule?b:{default:b}}T(s,"_interopRequireDefault");function o(b,y){var v=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(!v){if(Array.isArray(b)||(v=u(b))||y&&b&&typeof b.length=="number"){v&&(b=v);var S=0,x=T(function(){},"F");return{s:x,n:T(function(){return S>=b.length?{done:!0}:{done:!1,value:b[S++]}},"n"),e:T(function(C){throw C},"e"),f:x}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w,A=!0,_=!1;return{s:T(function(){v=v.call(b)},"s"),n:T(function(){var C=v.next();return A=C.done,C},"n"),e:T(function(C){_=!0,w=C},"e"),f:T(function(){try{A||v.return==null||v.return()}finally{if(_)throw w}},"f")}}T(o,"_createForOfIteratorHelper");function l(b,y){return p(b)||h(b,y)||u(b,y)||c()}T(l,"_slicedToArray");function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}T(c,"_nonIterableRest");function u(b,y){if(b){if(typeof b=="string")return d(b,y);var v={}.toString.call(b).slice(8,-1);return v==="Object"&&b.constructor&&(v=b.constructor.name),v==="Map"||v==="Set"?Array.from(b):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?d(b,y):void 0}}T(u,"_unsupportedIterableToArray");function d(b,y){(y==null||y>b.length)&&(y=b.length);for(var v=0,S=Array(y);v<y;v++)S[v]=b[v];return S}T(d,"_arrayLikeToArray");function h(b,y){var v=b==null?null:typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(v!=null){var S,x,w,A,_=[],C=!0,E=!1;try{if(w=(v=v.call(b)).next,y===0){if(Object(v)!==v)return;C=!1}else for(;!(C=(S=w.call(v)).done)&&(_.push(S.value),_.length!==y);C=!0);}catch(R){E=!0,x=R}finally{try{if(!C&&v.return!=null&&(A=v.return(),Object(A)!==A))return}finally{if(E)throw x}}return _}}T(h,"_iterableToArrayLimit");function p(b){if(Array.isArray(b))return b}T(p,"_arrayWithHoles");var m=[].concat(t.default,r.default,n.default,i.default);m.forEach(function(b){var y=l(b,2),v=y[1],S=o(v.superClass),x;try{for(S.s();!(x=S.n()).done;){var w=x.value,A=o(w),_;try{var C=T(function(){var E=_.value,R=m.filter(function(M){var D=l(M,1),F=D[0];return F===E})[0];if(R)for(var P=R[1],O=0,k=Object.keys(P.props);O<k.length;O++){var I=k[O];Object.prototype.hasOwnProperty.call(v.props,I)||(v.props[I]=P.props[I])}},"_loop");for(A.s();!(_=A.n()).done;)C()}catch(E){A.e(E)}finally{A.f()}}}catch(E){S.e(E)}finally{S.f()}});var g={entries:T(function(){return m},"entries"),forEach:T(function(b){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=o(m),S;try{for(v.s();!(S=v.n()).done;){var x=l(S.value,2),w=x[0],A=x[1];b.call(y,A,w,m)}}catch(_){v.e(_)}finally{v.f()}},"forEach"),get:T(function(b){var y=m.filter(function(v){return v[0]===b})[0];return y&&y[1]},"get"),has:T(function(b){return!!g.get(b)},"has"),keys:T(function(){return m.map(function(b){var y=l(b,1),v=y[0];return v})},"keys"),values:T(function(){return m.map(function(b){var y=l(b,2),v=y[1];return v})},"values")};e.default=(0,a.default)(g,g.entries())}),oSt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Bv()),r=n(Tz());function n(A){return A&&A.__esModule?A:{default:A}}T(n,"_interopRequireDefault");function i(A,_){return c(A)||l(A,_)||s(A,_)||a()}T(i,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}T(a,"_nonIterableRest");function s(A,_){if(A){if(typeof A=="string")return o(A,_);var C={}.toString.call(A).slice(8,-1);return C==="Object"&&A.constructor&&(C=A.constructor.name),C==="Map"||C==="Set"?Array.from(A):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?o(A,_):void 0}}T(s,"_unsupportedIterableToArray");function o(A,_){(_==null||_>A.length)&&(_=A.length);for(var C=0,E=Array(_);C<_;C++)E[C]=A[C];return E}T(o,"_arrayLikeToArray");function l(A,_){var C=A==null?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(C!=null){var E,R,P,O,k=[],I=!0,M=!1;try{if(P=(C=C.call(A)).next,_===0){if(Object(C)!==C)return;I=!1}else for(;!(I=(E=P.call(C)).done)&&(k.push(E.value),k.length!==_);I=!0);}catch(D){M=!0,R=D}finally{try{if(!I&&C.return!=null&&(O=C.return(),Object(O)!==O))return}finally{if(M)throw R}}return k}}T(l,"_iterableToArrayLimit");function c(A){if(Array.isArray(A))return A}T(c,"_arrayWithHoles");var u=[],d=r.default.keys();for(y=0;y<d.length;y++)if(h=d[y],p=r.default.get(h),p)for(m=[].concat(p.baseConcepts,p.relatedConcepts),g=T(function(){var A=m[b];if(A.module==="HTML"){var _=A.concept;if(_){var C=u.filter(function(O){return S(O[0],_)})[0],E;C?E=C[1]:E=[];for(var R=!0,P=0;P<E.length;P++)if(E[P]===h){R=!1;break}R&&E.push(h),C||u.push([_,E])}}},"_loop"),b=0;b<m.length;b++)g();var h,p,m,g,b,y,v={entries:T(function(){return u},"entries"),forEach:T(function(A){for(var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=0,E=u;C<E.length;C++){var R=i(E[C],2),P=R[0],O=R[1];A.call(_,O,P,u)}},"forEach"),get:T(function(A){var _=u.filter(function(C){return A.name===C[0].name&&w(A.attributes,C[0].attributes)})[0];return _&&_[1]},"get"),has:T(function(A){return!!v.get(A)},"has"),keys:T(function(){return u.map(function(A){var _=i(A,1),C=_[0];return C})},"keys"),values:T(function(){return u.map(function(A){var _=i(A,2),C=_[1];return C})},"values")};function S(A,_){return A.name===_.name&&x(A.constraints,_.constraints)&&w(A.attributes,_.attributes)}T(S,"ariaRoleRelationConceptEquals");function x(A,_){if(A===void 0&&_!==void 0||A!==void 0&&_===void 0)return!1;if(A!==void 0&&_!==void 0){if(A.length!==_.length)return!1;for(var C=0;C<A.length;C++)if(A[C]!==_[C])return!1}return!0}T(x,"ariaRoleRelationConstraintsEquals");function w(A,_){if(A===void 0&&_!==void 0||A!==void 0&&_===void 0)return!1;if(A!==void 0&&_!==void 0){if(A.length!==_.length)return!1;for(var C=0;C<A.length;C++){if(A[C].name!==_[C].name||A[C].value!==_[C].value||A[C].constraints===void 0&&_[C].constraints!==void 0||A[C].constraints!==void 0&&_[C].constraints===void 0)return!1;if(A[C].constraints!==void 0&&_[C].constraints!==void 0){if(A[C].constraints.length!==_[C].constraints.length)return!1;for(var E=0;E<A[C].constraints.length;E++)if(A[C].constraints[E]!==_[C].constraints[E])return!1}}}return!0}T(w,"ariaRoleRelationConceptAttributeEquals"),e.default=(0,t.default)(v,v.entries())}),lSt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Bv()),r=n(Tz());function n(w){return w&&w.__esModule?w:{default:w}}T(n,"_interopRequireDefault");function i(w,A){return c(w)||l(w,A)||s(w,A)||a()}T(i,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}T(a,"_nonIterableRest");function s(w,A){if(w){if(typeof w=="string")return o(w,A);var _={}.toString.call(w).slice(8,-1);return _==="Object"&&w.constructor&&(_=w.constructor.name),_==="Map"||_==="Set"?Array.from(w):_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_)?o(w,A):void 0}}T(s,"_unsupportedIterableToArray");function o(w,A){(A==null||A>w.length)&&(A=w.length);for(var _=0,C=Array(A);_<A;_++)C[_]=w[_];return C}T(o,"_arrayLikeToArray");function l(w,A){var _=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(_!=null){var C,E,R,P,O=[],k=!0,I=!1;try{if(R=(_=_.call(w)).next,A===0){if(Object(_)!==_)return;k=!1}else for(;!(k=(C=R.call(_)).done)&&(O.push(C.value),O.length!==A);k=!0);}catch(M){I=!0,E=M}finally{try{if(!k&&_.return!=null&&(P=_.return(),Object(P)!==P))return}finally{if(I)throw E}}return O}}T(l,"_iterableToArrayLimit");function c(w){if(Array.isArray(w))return w}T(c,"_arrayWithHoles");var u=[],d=r.default.keys();for(S=0;S<d.length;S++)if(h=d[S],p=r.default.get(h),m=[],p){for(g=[].concat(p.baseConcepts,p.relatedConcepts),v=0;v<g.length;v++)b=g[v],b.module==="HTML"&&(y=b.concept,y!=null&&m.push(y));m.length>0&&u.push([h,m])}var h,p,m,g,b,y,v,S,x={entries:T(function(){return u},"entries"),forEach:T(function(w){for(var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,_=0,C=u;_<C.length;_++){var E=i(C[_],2),R=E[0],P=E[1];w.call(A,P,R,u)}},"forEach"),get:T(function(w){var A=u.filter(function(_){return _[0]===w})[0];return A&&A[1]},"get"),has:T(function(w){return!!x.get(w)},"has"),keys:T(function(){return u.map(function(w){var A=i(w,1),_=A[0];return _})},"keys"),values:T(function(){return u.map(function(w){var A=i(w,2),_=A[1];return _})},"values")};e.default=(0,t.default)(x,x.entries())}),y2e=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(_2t()),r=s(A2t()),n=s(Tz()),i=s(oSt()),a=s(lSt());function s(o){return o&&o.__esModule?o:{default:o}}T(s,"_interopRequireDefault"),e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=i.default,e.roleElements=a.default}),cSt=N((e,t)=>{t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}),v2e=N((e,t)=>{var r=cSt(),n={};for(let s of Object.keys(r))n[r[s]]=s;var i={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=i;for(let s of Object.keys(i)){if(!("channels"in i[s]))throw new Error("missing channels property: "+s);if(!("labels"in i[s]))throw new Error("missing channel labels property: "+s);if(i[s].labels.length!==i[s].channels)throw new Error("channel and label counts mismatch: "+s);let{channels:o,labels:l}=i[s];delete i[s].channels,delete i[s].labels,Object.defineProperty(i[s],"channels",{value:o}),Object.defineProperty(i[s],"labels",{value:l})}i.rgb.hsl=function(s){let o=s[0]/255,l=s[1]/255,c=s[2]/255,u=Math.min(o,l,c),d=Math.max(o,l,c),h=d-u,p,m;d===u?p=0:o===d?p=(l-c)/h:l===d?p=2+(c-o)/h:c===d&&(p=4+(o-l)/h),p=Math.min(p*60,360),p<0&&(p+=360);let g=(u+d)/2;return d===u?m=0:g<=.5?m=h/(d+u):m=h/(2-d-u),[p,m*100,g*100]},i.rgb.hsv=function(s){let o,l,c,u,d,h=s[0]/255,p=s[1]/255,m=s[2]/255,g=Math.max(h,p,m),b=g-Math.min(h,p,m),y=T(function(v){return(g-v)/6/b+1/2},"diffc");return b===0?(u=0,d=0):(d=b/g,o=y(h),l=y(p),c=y(m),h===g?u=c-l:p===g?u=1/3+o-c:m===g&&(u=2/3+l-o),u<0?u+=1:u>1&&(u-=1)),[u*360,d*100,g*100]},i.rgb.hwb=function(s){let o=s[0],l=s[1],c=s[2],u=i.rgb.hsl(s)[0],d=1/255*Math.min(o,Math.min(l,c));return c=1-1/255*Math.max(o,Math.max(l,c)),[u,d*100,c*100]},i.rgb.cmyk=function(s){let o=s[0]/255,l=s[1]/255,c=s[2]/255,u=Math.min(1-o,1-l,1-c),d=(1-o-u)/(1-u)||0,h=(1-l-u)/(1-u)||0,p=(1-c-u)/(1-u)||0;return[d*100,h*100,p*100,u*100]};function a(s,o){return(s[0]-o[0])**2+(s[1]-o[1])**2+(s[2]-o[2])**2}T(a,"comparativeDistance"),i.rgb.keyword=function(s){let o=n[s];if(o)return o;let l=1/0,c;for(let u of Object.keys(r)){let d=r[u],h=a(s,d);h<l&&(l=h,c=u)}return c},i.keyword.rgb=function(s){return r[s]},i.rgb.xyz=function(s){let o=s[0]/255,l=s[1]/255,c=s[2]/255;o=o>.04045?((o+.055)/1.055)**2.4:o/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let u=o*.4124+l*.3576+c*.1805,d=o*.2126+l*.7152+c*.0722,h=o*.0193+l*.1192+c*.9505;return[u*100,d*100,h*100]},i.rgb.lab=function(s){let o=i.rgb.xyz(s),l=o[0],c=o[1],u=o[2];l/=95.047,c/=100,u/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,u=u>.008856?u**(1/3):7.787*u+16/116;let d=116*c-16,h=500*(l-c),p=200*(c-u);return[d,h,p]},i.hsl.rgb=function(s){let o=s[0]/360,l=s[1]/100,c=s[2]/100,u,d,h;if(l===0)return h=c*255,[h,h,h];c<.5?u=c*(1+l):u=c+l-c*l;let p=2*c-u,m=[0,0,0];for(let g=0;g<3;g++)d=o+1/3*-(g-1),d<0&&d++,d>1&&d--,6*d<1?h=p+(u-p)*6*d:2*d<1?h=u:3*d<2?h=p+(u-p)*(2/3-d)*6:h=p,m[g]=h*255;return m},i.hsl.hsv=function(s){let o=s[0],l=s[1]/100,c=s[2]/100,u=l,d=Math.max(c,.01);c*=2,l*=c<=1?c:2-c,u*=d<=1?d:2-d;let h=(c+l)/2,p=c===0?2*u/(d+u):2*l/(c+l);return[o,p*100,h*100]},i.hsv.rgb=function(s){let o=s[0]/60,l=s[1]/100,c=s[2]/100,u=Math.floor(o)%6,d=o-Math.floor(o),h=255*c*(1-l),p=255*c*(1-l*d),m=255*c*(1-l*(1-d));switch(c*=255,u){case 0:return[c,m,h];case 1:return[p,c,h];case 2:return[h,c,m];case 3:return[h,p,c];case 4:return[m,h,c];case 5:return[c,h,p]}},i.hsv.hsl=function(s){let o=s[0],l=s[1]/100,c=s[2]/100,u=Math.max(c,.01),d,h;h=(2-l)*c;let p=(2-l)*u;return d=l*u,d/=p<=1?p:2-p,d=d||0,h/=2,[o,d*100,h*100]},i.hwb.rgb=function(s){let o=s[0]/360,l=s[1]/100,c=s[2]/100,u=l+c,d;u>1&&(l/=u,c/=u);let h=Math.floor(6*o),p=1-c;d=6*o-h,(h&1)!==0&&(d=1-d);let m=l+d*(p-l),g,b,y;switch(h){default:case 6:case 0:g=p,b=m,y=l;break;case 1:g=m,b=p,y=l;break;case 2:g=l,b=p,y=m;break;case 3:g=l,b=m,y=p;break;case 4:g=m,b=l,y=p;break;case 5:g=p,b=l,y=m;break}return[g*255,b*255,y*255]},i.cmyk.rgb=function(s){let o=s[0]/100,l=s[1]/100,c=s[2]/100,u=s[3]/100,d=1-Math.min(1,o*(1-u)+u),h=1-Math.min(1,l*(1-u)+u),p=1-Math.min(1,c*(1-u)+u);return[d*255,h*255,p*255]},i.xyz.rgb=function(s){let o=s[0]/100,l=s[1]/100,c=s[2]/100,u,d,h;return u=o*3.2406+l*-1.5372+c*-.4986,d=o*-.9689+l*1.8758+c*.0415,h=o*.0557+l*-.204+c*1.057,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,u=Math.min(Math.max(0,u),1),d=Math.min(Math.max(0,d),1),h=Math.min(Math.max(0,h),1),[u*255,d*255,h*255]},i.xyz.lab=function(s){let o=s[0],l=s[1],c=s[2];o/=95.047,l/=100,c/=108.883,o=o>.008856?o**(1/3):7.787*o+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let u=116*l-16,d=500*(o-l),h=200*(l-c);return[u,d,h]},i.lab.xyz=function(s){let o=s[0],l=s[1],c=s[2],u,d,h;d=(o+16)/116,u=l/500+d,h=d-c/200;let p=d**3,m=u**3,g=h**3;return d=p>.008856?p:(d-16/116)/7.787,u=m>.008856?m:(u-16/116)/7.787,h=g>.008856?g:(h-16/116)/7.787,u*=95.047,d*=100,h*=108.883,[u,d,h]},i.lab.lch=function(s){let o=s[0],l=s[1],c=s[2],u;u=Math.atan2(c,l)*360/2/Math.PI,u<0&&(u+=360);let d=Math.sqrt(l*l+c*c);return[o,d,u]},i.lch.lab=function(s){let o=s[0],l=s[1],c=s[2]/360*2*Math.PI,u=l*Math.cos(c),d=l*Math.sin(c);return[o,u,d]},i.rgb.ansi16=function(s,o=null){let[l,c,u]=s,d=o===null?i.rgb.hsv(s)[2]:o;if(d=Math.round(d/50),d===0)return 30;let h=30+(Math.round(u/255)<<2|Math.round(c/255)<<1|Math.round(l/255));return d===2&&(h+=60),h},i.hsv.ansi16=function(s){return i.rgb.ansi16(i.hsv.rgb(s),s[2])},i.rgb.ansi256=function(s){let o=s[0],l=s[1],c=s[2];return o===l&&l===c?o<8?16:o>248?231:Math.round((o-8)/247*24)+232:16+36*Math.round(o/255*5)+6*Math.round(l/255*5)+Math.round(c/255*5)},i.ansi16.rgb=function(s){let o=s%10;if(o===0||o===7)return s>50&&(o+=3.5),o=o/10.5*255,[o,o,o];let l=(~~(s>50)+1)*.5,c=(o&1)*l*255,u=(o>>1&1)*l*255,d=(o>>2&1)*l*255;return[c,u,d]},i.ansi256.rgb=function(s){if(s>=232){let d=(s-232)*10+8;return[d,d,d]}s-=16;let o,l=Math.floor(s/36)/5*255,c=Math.floor((o=s%36)/6)/5*255,u=o%6/5*255;return[l,c,u]},i.rgb.hex=function(s){let o=(((Math.round(s[0])&255)<<16)+((Math.round(s[1])&255)<<8)+(Math.round(s[2])&255)).toString(16).toUpperCase();return"000000".substring(o.length)+o},i.hex.rgb=function(s){let o=s.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!o)return[0,0,0];let l=o[0];o[0].length===3&&(l=l.split("").map(p=>p+p).join(""));let c=parseInt(l,16),u=c>>16&255,d=c>>8&255,h=c&255;return[u,d,h]},i.rgb.hcg=function(s){let o=s[0]/255,l=s[1]/255,c=s[2]/255,u=Math.max(Math.max(o,l),c),d=Math.min(Math.min(o,l),c),h=u-d,p,m;return h<1?p=d/(1-h):p=0,h<=0?m=0:u===o?m=(l-c)/h%6:u===l?m=2+(c-o)/h:m=4+(o-l)/h,m/=6,m%=1,[m*360,h*100,p*100]},i.hsl.hcg=function(s){let o=s[1]/100,l=s[2]/100,c=l<.5?2*o*l:2*o*(1-l),u=0;return c<1&&(u=(l-.5*c)/(1-c)),[s[0],c*100,u*100]},i.hsv.hcg=function(s){let o=s[1]/100,l=s[2]/100,c=o*l,u=0;return c<1&&(u=(l-c)/(1-c)),[s[0],c*100,u*100]},i.hcg.rgb=function(s){let o=s[0]/360,l=s[1]/100,c=s[2]/100;if(l===0)return[c*255,c*255,c*255];let u=[0,0,0],d=o%1*6,h=d%1,p=1-h,m=0;switch(Math.floor(d)){case 0:u[0]=1,u[1]=h,u[2]=0;break;case 1:u[0]=p,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=h;break;case 3:u[0]=0,u[1]=p,u[2]=1;break;case 4:u[0]=h,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=p}return m=(1-l)*c,[(l*u[0]+m)*255,(l*u[1]+m)*255,(l*u[2]+m)*255]},i.hcg.hsv=function(s){let o=s[1]/100,l=s[2]/100,c=o+l*(1-o),u=0;return c>0&&(u=o/c),[s[0],u*100,c*100]},i.hcg.hsl=function(s){let o=s[1]/100,l=s[2]/100*(1-o)+.5*o,c=0;return l>0&&l<.5?c=o/(2*l):l>=.5&&l<1&&(c=o/(2*(1-l))),[s[0],c*100,l*100]},i.hcg.hwb=function(s){let o=s[1]/100,l=s[2]/100,c=o+l*(1-o);return[s[0],(c-o)*100,(1-c)*100]},i.hwb.hcg=function(s){let o=s[1]/100,l=1-s[2]/100,c=l-o,u=0;return c<1&&(u=(l-c)/(1-c)),[s[0],c*100,u*100]},i.apple.rgb=function(s){return[s[0]/65535*255,s[1]/65535*255,s[2]/65535*255]},i.rgb.apple=function(s){return[s[0]/255*65535,s[1]/255*65535,s[2]/255*65535]},i.gray.rgb=function(s){return[s[0]/100*255,s[0]/100*255,s[0]/100*255]},i.gray.hsl=function(s){return[0,0,s[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(s){return[0,100,s[0]]},i.gray.cmyk=function(s){return[0,0,0,s[0]]},i.gray.lab=function(s){return[s[0],0,0]},i.gray.hex=function(s){let o=Math.round(s[0]/100*255)&255,l=((o<<16)+(o<<8)+o).toString(16).toUpperCase();return"000000".substring(l.length)+l},i.rgb.gray=function(s){return[(s[0]+s[1]+s[2])/3/255*100]}}),uSt=N((e,t)=>{var r=v2e();function n(){let o={},l=Object.keys(r);for(let c=l.length,u=0;u<c;u++)o[l[u]]={distance:-1,parent:null};return o}T(n,"buildGraph");function i(o){let l=n(),c=[o];for(l[o].distance=0;c.length;){let u=c.pop(),d=Object.keys(r[u]);for(let h=d.length,p=0;p<h;p++){let m=d[p],g=l[m];g.distance===-1&&(g.distance=l[u].distance+1,g.parent=u,c.unshift(m))}}return l}T(i,"deriveBFS");function a(o,l){return function(c){return l(o(c))}}T(a,"link");function s(o,l){let c=[l[o].parent,o],u=r[l[o].parent][o],d=l[o].parent;for(;l[d].parent;)c.unshift(l[d].parent),u=a(r[l[d].parent][d],u),d=l[d].parent;return u.conversion=c,u}T(s,"wrapConversion"),t.exports=function(o){let l=i(o),c={},u=Object.keys(l);for(let d=u.length,h=0;h<d;h++){let p=u[h];l[p].parent!==null&&(c[p]=s(p,l))}return c}}),dSt=N((e,t)=>{var r=v2e(),n=uSt(),i={},a=Object.keys(r);function s(l){let c=T(function(...u){let d=u[0];return d==null?d:(d.length>1&&(u=d),l(u))},"wrappedFn");return"conversion"in l&&(c.conversion=l.conversion),c}T(s,"wrapRaw");function o(l){let c=T(function(...u){let d=u[0];if(d==null)return d;d.length>1&&(u=d);let h=l(u);if(typeof h=="object")for(let p=h.length,m=0;m<p;m++)h[m]=Math.round(h[m]);return h},"wrappedFn");return"conversion"in l&&(c.conversion=l.conversion),c}T(o,"wrapRounded"),a.forEach(l=>{i[l]={},Object.defineProperty(i[l],"channels",{value:r[l].channels}),Object.defineProperty(i[l],"labels",{value:r[l].labels});let c=n(l);Object.keys(c).forEach(u=>{let d=c[u];i[l][u]=o(d),i[l][u].raw=s(d)})}),t.exports=i}),pSt=N((e,t)=>{var r=T((d,h)=>(...p)=>`\x1B[${d(...p)+h}m`,"wrapAnsi16"),n=T((d,h)=>(...p)=>{let m=d(...p);return`\x1B[${38+h};5;${m}m`},"wrapAnsi256"),i=T((d,h)=>(...p)=>{let m=d(...p);return`\x1B[${38+h};2;${m[0]};${m[1]};${m[2]}m`},"wrapAnsi16m"),a=T(d=>d,"ansi2ansi"),s=T((d,h,p)=>[d,h,p],"rgb2rgb"),o=T((d,h,p)=>{Object.defineProperty(d,h,{get:T(()=>{let m=p();return Object.defineProperty(d,h,{value:m,enumerable:!0,configurable:!0}),m},"get"),enumerable:!0,configurable:!0})},"setLazyProperty"),l,c=T((d,h,p,m)=>{l===void 0&&(l=dSt());let g=m?10:0,b={};for(let[y,v]of Object.entries(l)){let S=y==="ansi16"?"ansi":y;y===h?b[S]=d(p,g):typeof v=="object"&&(b[S]=d(v[h],g))}return b},"makeDynamicStyles");function u(){let d=new Map,h={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};h.color.gray=h.color.blackBright,h.bgColor.bgGray=h.bgColor.bgBlackBright,h.color.grey=h.color.blackBright,h.bgColor.bgGrey=h.bgColor.bgBlackBright;for(let[p,m]of Object.entries(h)){for(let[g,b]of Object.entries(m))h[g]={open:`\x1B[${b[0]}m`,close:`\x1B[${b[1]}m`},m[g]=h[g],d.set(b[0],b[1]);Object.defineProperty(h,p,{value:m,enumerable:!1})}return Object.defineProperty(h,"codes",{value:d,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",o(h.color,"ansi",()=>c(r,"ansi16",a,!1)),o(h.color,"ansi256",()=>c(n,"ansi256",a,!1)),o(h.color,"ansi16m",()=>c(i,"rgb",s,!1)),o(h.bgColor,"ansi",()=>c(r,"ansi16",a,!0)),o(h.bgColor,"ansi256",()=>c(n,"ansi256",a,!0)),o(h.bgColor,"ansi16m",()=>c(i,"rgb",s,!0)),h}T(u,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:u})}),hSt=N((e,t)=>{t.exports={stdout:!1,stderr:!1}}),fSt=N((e,t)=>{var r=T((i,a,s)=>{let o=i.indexOf(a);if(o===-1)return i;let l=a.length,c=0,u="";do u+=i.substr(c,o-c)+a+s,c=o+l,o=i.indexOf(a,c);while(o!==-1);return u+=i.substr(c),u},"stringReplaceAll"),n=T((i,a,s,o)=>{let l=0,c="";do{let u=i[o-1]==="\r";c+=i.substr(l,(u?o-1:o)-l)+a+(u?`\r
`:`
`)+s,l=o+1,o=i.indexOf(`
`,l)}while(o!==-1);return c+=i.substr(l),c},"stringEncaseCRLFWithFirstIndex");t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}),mSt=N((e,t)=>{var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,i=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,a=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,s=new Map([["n",`
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function o(d){let h=d[0]==="u",p=d[1]==="{";return h&&!p&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):h&&p?String.fromCodePoint(parseInt(d.slice(2,-1),16)):s.get(d)||d}T(o,"unescape");function l(d,h){let p=[],m=h.trim().split(/\s*,\s*/g),g;for(let b of m){let y=Number(b);if(!Number.isNaN(y))p.push(y);else if(g=b.match(i))p.push(g[2].replace(a,(v,S,x)=>S?o(S):x));else throw new Error(`Invalid Chalk template style argument: ${b} (in style '${d}')`)}return p}T(l,"parseArguments");function c(d){n.lastIndex=0;let h=[],p;for(;(p=n.exec(d))!==null;){let m=p[1];if(p[2]){let g=l(m,p[2]);h.push([m].concat(g))}else h.push([m])}return h}T(c,"parseStyle");function u(d,h){let p={};for(let g of h)for(let b of g.styles)p[b[0]]=g.inverse?null:b.slice(1);let m=d;for(let[g,b]of Object.entries(p))if(Array.isArray(b)){if(!(g in m))throw new Error(`Unknown Chalk style: ${g}`);m=b.length>0?m[g](...b):m[g]}return m}T(u,"buildStyle"),t.exports=(d,h)=>{let p=[],m=[],g=[];if(h.replace(r,(b,y,v,S,x,w)=>{if(y)g.push(o(y));else if(S){let A=g.join("");g=[],m.push(p.length===0?A:u(d,p)(A)),p.push({inverse:v,styles:c(S)})}else if(x){if(p.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(u(d,p)(g.join(""))),g=[],p.pop()}else g.push(w)}),m.push(g.join("")),p.length>0){let b=`Chalk template literal is missing ${p.length} closing bracket${p.length===1?"":"s"} (\`}\`)`;throw new Error(b)}return m.join("")}}),T2e=N((e,t)=>{var r=pSt(),{stdout:n,stderr:i}=hSt(),{stringReplaceAll:a,stringEncaseCRLFWithFirstIndex:s}=fSt(),o=["ansi","ansi","ansi256","ansi16m"],l=Object.create(null),c=T((A,_={})=>{if(_.level>3||_.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let C=n?n.level:0;A.level=_.level===void 0?C:_.level},"applyOptions"),u=class{constructor(_){return h(_)}};T(u,"ChalkClass");var d=u,h=T(A=>{let _={};return c(_,A),_.template=(...C)=>x(_.template,...C),Object.setPrototypeOf(_,p.prototype),Object.setPrototypeOf(_.template,_),_.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},_.template.Instance=d,_.template},"chalkFactory");function p(A){return h(A)}T(p,"Chalk");for(let[A,_]of Object.entries(r))l[A]={get(){let C=y(this,b(_.open,_.close,this._styler),this._isEmpty);return Object.defineProperty(this,A,{value:C}),C}};l.visible={get(){let A=y(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:A}),A}};var m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let A of m)l[A]={get(){let{level:_}=this;return function(...C){let E=b(r.color[o[_]][A](...C),r.color.close,this._styler);return y(this,E,this._isEmpty)}}};for(let A of m){let _="bg"+A[0].toUpperCase()+A.slice(1);l[_]={get(){let{level:C}=this;return function(...E){let R=b(r.bgColor[o[C]][A](...E),r.bgColor.close,this._styler);return y(this,R,this._isEmpty)}}}}var g=Object.defineProperties(()=>{},{...l,level:{enumerable:!0,get(){return this._generator.level},set(A){this._generator.level=A}}}),b=T((A,_,C)=>{let E,R;return C===void 0?(E=A,R=_):(E=C.openAll+A,R=_+C.closeAll),{open:A,close:_,openAll:E,closeAll:R,parent:C}},"createStyler"),y=T((A,_,C)=>{let E=T((...R)=>v(E,R.length===1?""+R[0]:R.join(" ")),"builder");return E.__proto__=g,E._generator=A,E._styler=_,E._isEmpty=C,E},"createBuilder"),v=T((A,_)=>{if(A.level<=0||!_)return A._isEmpty?"":_;let C=A._styler;if(C===void 0)return _;let{openAll:E,closeAll:R}=C;if(_.indexOf("\x1B")!==-1)for(;C!==void 0;)_=a(_,C.close,C.open),C=C.parent;let P=_.indexOf(`
`);return P!==-1&&(_=s(_,R,E,P)),E+_+R},"applyStyle"),S,x=T((A,..._)=>{let[C]=_;if(!Array.isArray(C))return _.join(" ");let E=_.slice(1),R=[C.raw[0]];for(let P=1;P<C.length;P++)R.push(String(E[P-1]).replace(/[{}\\]/g,"\\$&"),String(C.raw[P]));return S===void 0&&(S=mSt()),S(A,R.join(""))},"chalkTag");Object.defineProperties(p.prototype,l);var w=p();w.supportsColor=n,w.stderr=p({level:i?i.level:0}),w.stderr.supportsColor=i,w.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=w}),gSt=N((e,t)=>{function r(){this.__data__=[],this.size=0}T(r,"listCacheClear"),t.exports=r}),S2e=N((e,t)=>{function r(n,i){return n===i||n!==n&&i!==i}T(r,"eq"),t.exports=r}),k4=N((e,t)=>{var r=S2e();function n(i,a){for(var s=i.length;s--;)if(r(i[s][0],a))return s;return-1}T(n,"assocIndexOf"),t.exports=n}),bSt=N((e,t)=>{var r=k4(),n=Array.prototype,i=n.splice;function a(s){var o=this.__data__,l=r(o,s);if(l<0)return!1;var c=o.length-1;return l==c?o.pop():i.call(o,l,1),--this.size,!0}T(a,"listCacheDelete"),t.exports=a}),ySt=N((e,t)=>{var r=k4();function n(i){var a=this.__data__,s=r(a,i);return s<0?void 0:a[s][1]}T(n,"listCacheGet"),t.exports=n}),vSt=N((e,t)=>{var r=k4();function n(i){return r(this.__data__,i)>-1}T(n,"listCacheHas"),t.exports=n}),TSt=N((e,t)=>{var r=k4();function n(i,a){var s=this.__data__,o=r(s,i);return o<0?(++this.size,s.push([i,a])):s[o][1]=a,this}T(n,"listCacheSet"),t.exports=n}),D4=N((e,t)=>{var r=gSt(),n=bSt(),i=ySt(),a=vSt(),s=TSt();function o(l){var c=-1,u=l==null?0:l.length;for(this.clear();++c<u;){var d=l[c];this.set(d[0],d[1])}}T(o,"ListCache"),o.prototype.clear=r,o.prototype.delete=n,o.prototype.get=i,o.prototype.has=a,o.prototype.set=s,t.exports=o}),SSt=N((e,t)=>{var r=D4();function n(){this.__data__=new r,this.size=0}T(n,"stackClear"),t.exports=n}),xSt=N((e,t)=>{function r(n){var i=this.__data__,a=i.delete(n);return this.size=i.size,a}T(r,"stackDelete"),t.exports=r}),wSt=N((e,t)=>{function r(n){return this.__data__.get(n)}T(r,"stackGet"),t.exports=r}),_St=N((e,t)=>{function r(n){return this.__data__.has(n)}T(r,"stackHas"),t.exports=r}),x2e=N((e,t)=>{var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}),gu=N((e,t)=>{var r=x2e(),n=typeof self=="object"&&self&&self.Object===Object&&self,i=r||n||Function("return this")();t.exports=i}),Sz=N((e,t)=>{var r=gu(),n=r.Symbol;t.exports=n}),ASt=N((e,t)=>{var r=Sz(),n=Object.prototype,i=n.hasOwnProperty,a=n.toString,s=r?r.toStringTag:void 0;function o(l){var c=i.call(l,s),u=l[s];try{l[s]=void 0;var d=!0}catch(p){}var h=a.call(l);return d&&(c?l[s]=u:delete l[s]),h}T(o,"getRawTag"),t.exports=o}),CSt=N((e,t)=>{var r=Object.prototype,n=r.toString;function i(a){return n.call(a)}T(i,"objectToString"),t.exports=i}),L4=N((e,t)=>{var r=Sz(),n=ASt(),i=CSt(),a="[object Null]",s="[object Undefined]",o=r?r.toStringTag:void 0;function l(c){return c==null?c===void 0?s:a:o&&o in Object(c)?n(c):i(c)}T(l,"baseGetTag"),t.exports=l}),w2e=N((e,t)=>{function r(n){var i=typeof n;return n!=null&&(i=="object"||i=="function")}T(r,"isObject"),t.exports=r}),_2e=N((e,t)=>{var r=L4(),n=w2e(),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",o="[object Proxy]";function l(c){if(!n(c))return!1;var u=r(c);return u==a||u==s||u==i||u==o}T(l,"isFunction"),t.exports=l}),ESt=N((e,t)=>{var r=gu(),n=r["__core-js_shared__"];t.exports=n}),PSt=N((e,t)=>{var r=ESt(),n=(function(){var a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""})();function i(a){return!!n&&n in a}T(i,"isMasked"),t.exports=i}),A2e=N((e,t)=>{var r=Function.prototype,n=r.toString;function i(a){if(a!=null){try{return n.call(a)}catch(s){}try{return a+""}catch(s){}}return""}T(i,"toSource"),t.exports=i}),jSt=N((e,t)=>{var r=_2e(),n=PSt(),i=w2e(),a=A2e(),s=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,h=RegExp("^"+u.call(d).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(m){if(!i(m)||n(m))return!1;var g=r(m)?h:o;return g.test(a(m))}T(p,"baseIsNative"),t.exports=p}),RSt=N((e,t)=>{function r(n,i){return n==null?void 0:n[i]}T(r,"getValue"),t.exports=r}),k1=N((e,t)=>{var r=jSt(),n=RSt();function i(a,s){var o=n(a,s);return r(o)?o:void 0}T(i,"getNative"),t.exports=i}),xz=N((e,t)=>{var r=k1(),n=gu(),i=r(n,"Map");t.exports=i}),F4=N((e,t)=>{var r=k1(),n=r(Object,"create");t.exports=n}),ISt=N((e,t)=>{var r=F4();function n(){this.__data__=r?r(null):{},this.size=0}T(n,"hashClear"),t.exports=n}),OSt=N((e,t)=>{function r(n){var i=this.has(n)&&delete this.__data__[n];return this.size-=i?1:0,i}T(r,"hashDelete"),t.exports=r}),MSt=N((e,t)=>{var r=F4(),n="__lodash_hash_undefined__",i=Object.prototype,a=i.hasOwnProperty;function s(o){var l=this.__data__;if(r){var c=l[o];return c===n?void 0:c}return a.call(l,o)?l[o]:void 0}T(s,"hashGet"),t.exports=s}),kSt=N((e,t)=>{var r=F4(),n=Object.prototype,i=n.hasOwnProperty;function a(s){var o=this.__data__;return r?o[s]!==void 0:i.call(o,s)}T(a,"hashHas"),t.exports=a}),DSt=N((e,t)=>{var r=F4(),n="__lodash_hash_undefined__";function i(a,s){var o=this.__data__;return this.size+=this.has(a)?0:1,o[a]=r&&s===void 0?n:s,this}T(i,"hashSet"),t.exports=i}),LSt=N((e,t)=>{var r=ISt(),n=OSt(),i=MSt(),a=kSt(),s=DSt();function o(l){var c=-1,u=l==null?0:l.length;for(this.clear();++c<u;){var d=l[c];this.set(d[0],d[1])}}T(o,"Hash"),o.prototype.clear=r,o.prototype.delete=n,o.prototype.get=i,o.prototype.has=a,o.prototype.set=s,t.exports=o}),FSt=N((e,t)=>{var r=LSt(),n=D4(),i=xz();function a(){this.size=0,this.__data__={hash:new r,map:new(i||n),string:new r}}T(a,"mapCacheClear"),t.exports=a}),$St=N((e,t)=>{function r(n){var i=typeof n;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?n!=="__proto__":n===null}T(r,"isKeyable"),t.exports=r}),$4=N((e,t)=>{var r=$St();function n(i,a){var s=i.__data__;return r(a)?s[typeof a=="string"?"string":"hash"]:s.map}T(n,"getMapData"),t.exports=n}),BSt=N((e,t)=>{var r=$4();function n(i){var a=r(this,i).delete(i);return this.size-=a?1:0,a}T(n,"mapCacheDelete"),t.exports=n}),NSt=N((e,t)=>{var r=$4();function n(i){return r(this,i).get(i)}T(n,"mapCacheGet"),t.exports=n}),qSt=N((e,t)=>{var r=$4();function n(i){return r(this,i).has(i)}T(n,"mapCacheHas"),t.exports=n}),zSt=N((e,t)=>{var r=$4();function n(i,a){var s=r(this,i),o=s.size;return s.set(i,a),this.size+=s.size==o?0:1,this}T(n,"mapCacheSet"),t.exports=n}),C2e=N((e,t)=>{var r=FSt(),n=BSt(),i=NSt(),a=qSt(),s=zSt();function o(l){var c=-1,u=l==null?0:l.length;for(this.clear();++c<u;){var d=l[c];this.set(d[0],d[1])}}T(o,"MapCache"),o.prototype.clear=r,o.prototype.delete=n,o.prototype.get=i,o.prototype.has=a,o.prototype.set=s,t.exports=o}),WSt=N((e,t)=>{var r=D4(),n=xz(),i=C2e(),a=200;function s(o,l){var c=this.__data__;if(c instanceof r){var u=c.__data__;if(!n||u.length<a-1)return u.push([o,l]),this.size=++c.size,this;c=this.__data__=new i(u)}return c.set(o,l),this.size=c.size,this}T(s,"stackSet"),t.exports=s}),HSt=N((e,t)=>{var r=D4(),n=SSt(),i=xSt(),a=wSt(),s=_St(),o=WSt();function l(c){var u=this.__data__=new r(c);this.size=u.size}T(l,"Stack"),l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=s,l.prototype.set=o,t.exports=l}),USt=N((e,t)=>{var r="__lodash_hash_undefined__";function n(i){return this.__data__.set(i,r),this}T(n,"setCacheAdd"),t.exports=n}),GSt=N((e,t)=>{function r(n){return this.__data__.has(n)}T(r,"setCacheHas"),t.exports=r}),VSt=N((e,t)=>{var r=C2e(),n=USt(),i=GSt();function a(s){var o=-1,l=s==null?0:s.length;for(this.__data__=new r;++o<l;)this.add(s[o])}T(a,"SetCache"),a.prototype.add=a.prototype.push=n,a.prototype.has=i,t.exports=a}),YSt=N((e,t)=>{function r(n,i){for(var a=-1,s=n==null?0:n.length;++a<s;)if(i(n[a],a,n))return!0;return!1}T(r,"arraySome"),t.exports=r}),KSt=N((e,t)=>{function r(n,i){return n.has(i)}T(r,"cacheHas"),t.exports=r}),E2e=N((e,t)=>{var r=VSt(),n=YSt(),i=KSt(),a=1,s=2;function o(l,c,u,d,h,p){var m=u&a,g=l.length,b=c.length;if(g!=b&&!(m&&b>g))return!1;var y=p.get(l),v=p.get(c);if(y&&v)return y==c&&v==l;var S=-1,x=!0,w=u&s?new r:void 0;for(p.set(l,c),p.set(c,l);++S<g;){var A=l[S],_=c[S];if(d)var C=m?d(_,A,S,c,l,p):d(A,_,S,l,c,p);if(C!==void 0){if(C)continue;x=!1;break}if(w){if(!n(c,function(E,R){if(!i(w,R)&&(A===E||h(A,E,u,d,p)))return w.push(R)})){x=!1;break}}else if(!(A===_||h(A,_,u,d,p))){x=!1;break}}return p.delete(l),p.delete(c),x}T(o,"equalArrays"),t.exports=o}),XSt=N((e,t)=>{var r=gu(),n=r.Uint8Array;t.exports=n}),QSt=N((e,t)=>{function r(n){var i=-1,a=Array(n.size);return n.forEach(function(s,o){a[++i]=[o,s]}),a}T(r,"mapToArray"),t.exports=r}),JSt=N((e,t)=>{function r(n){var i=-1,a=Array(n.size);return n.forEach(function(s){a[++i]=s}),a}T(r,"setToArray"),t.exports=r}),ZSt=N((e,t)=>{var r=Sz(),n=XSt(),i=S2e(),a=E2e(),s=QSt(),o=JSt(),l=1,c=2,u="[object Boolean]",d="[object Date]",h="[object Error]",p="[object Map]",m="[object Number]",g="[object RegExp]",b="[object Set]",y="[object String]",v="[object Symbol]",S="[object ArrayBuffer]",x="[object DataView]",w=r?r.prototype:void 0,A=w?w.valueOf:void 0;function _(C,E,R,P,O,k,I){switch(R){case x:if(C.byteLength!=E.byteLength||C.byteOffset!=E.byteOffset)return!1;C=C.buffer,E=E.buffer;case S:return!(C.byteLength!=E.byteLength||!k(new n(C),new n(E)));case u:case d:case m:return i(+C,+E);case h:return C.name==E.name&&C.message==E.message;case g:case y:return C==E+"";case p:var M=s;case b:var D=P&l;if(M||(M=o),C.size!=E.size&&!D)return!1;var F=I.get(C);if(F)return F==E;P|=c,I.set(C,E);var $=a(M(C),M(E),P,O,k,I);return I.delete(C),$;case v:if(A)return A.call(C)==A.call(E)}return!1}T(_,"equalByTag"),t.exports=_}),ext=N((e,t)=>{function r(n,i){for(var a=-1,s=i.length,o=n.length;++a<s;)n[o+a]=i[a];return n}T(r,"arrayPush"),t.exports=r}),wz=N((e,t)=>{var r=Array.isArray;t.exports=r}),txt=N((e,t)=>{var r=ext(),n=wz();function i(a,s,o){var l=s(a);return n(a)?l:r(l,o(a))}T(i,"baseGetAllKeys"),t.exports=i}),rxt=N((e,t)=>{function r(n,i){for(var a=-1,s=n==null?0:n.length,o=0,l=[];++a<s;){var c=n[a];i(c,a,n)&&(l[o++]=c)}return l}T(r,"arrayFilter"),t.exports=r}),nxt=N((e,t)=>{function r(){return[]}T(r,"stubArray"),t.exports=r}),ixt=N((e,t)=>{var r=rxt(),n=nxt(),i=Object.prototype,a=i.propertyIsEnumerable,s=Object.getOwnPropertySymbols,o=s?function(l){return l==null?[]:(l=Object(l),r(s(l),function(c){return a.call(l,c)}))}:n;t.exports=o}),axt=N((e,t)=>{function r(n,i){for(var a=-1,s=Array(n);++a<n;)s[a]=i(a);return s}T(r,"baseTimes"),t.exports=r}),B4=N((e,t)=>{function r(n){return n!=null&&typeof n=="object"}T(r,"isObjectLike"),t.exports=r}),sxt=N((e,t)=>{var r=L4(),n=B4(),i="[object Arguments]";function a(s){return n(s)&&r(s)==i}T(a,"baseIsArguments"),t.exports=a}),oxt=N((e,t)=>{var r=sxt(),n=B4(),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,o=r((function(){return arguments})())?r:function(l){return n(l)&&a.call(l,"callee")&&!s.call(l,"callee")};t.exports=o}),lxt=N((e,t)=>{function r(){return!1}T(r,"stubFalse"),t.exports=r}),P2e=N((e,t)=>{var r=gu(),n=lxt(),i=typeof e=="object"&&e&&!e.nodeType&&e,a=i&&typeof t=="object"&&t&&!t.nodeType&&t,s=a&&a.exports===i,o=s?r.Buffer:void 0,l=o?o.isBuffer:void 0,c=l||n;t.exports=c}),cxt=N((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function i(a,s){var o=typeof a;return s=s!=null?s:r,!!s&&(o=="number"||o!="symbol"&&n.test(a))&&a>-1&&a%1==0&&a<s}T(i,"isIndex"),t.exports=i}),j2e=N((e,t)=>{var r=9007199254740991;function n(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=r}T(n,"isLength"),t.exports=n}),uxt=N((e,t)=>{var r=L4(),n=j2e(),i=B4(),a="[object Arguments]",s="[object Array]",o="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",h="[object Number]",p="[object Object]",m="[object RegExp]",g="[object Set]",b="[object String]",y="[object WeakMap]",v="[object ArrayBuffer]",S="[object DataView]",x="[object Float32Array]",w="[object Float64Array]",A="[object Int8Array]",_="[object Int16Array]",C="[object Int32Array]",E="[object Uint8Array]",R="[object Uint8ClampedArray]",P="[object Uint16Array]",O="[object Uint32Array]",k={};k[x]=k[w]=k[A]=k[_]=k[C]=k[E]=k[R]=k[P]=k[O]=!0,k[a]=k[s]=k[v]=k[o]=k[S]=k[l]=k[c]=k[u]=k[d]=k[h]=k[p]=k[m]=k[g]=k[b]=k[y]=!1;function I(M){return i(M)&&n(M.length)&&!!k[r(M)]}T(I,"baseIsTypedArray"),t.exports=I}),dxt=N((e,t)=>{function r(n){return function(i){return n(i)}}T(r,"baseUnary"),t.exports=r}),pxt=N((e,t)=>{var r=x2e(),n=typeof e=="object"&&e&&!e.nodeType&&e,i=n&&typeof t=="object"&&t&&!t.nodeType&&t,a=i&&i.exports===n,s=a&&r.process,o=(function(){try{var l=i&&i.require&&i.require("util").types;return l||s&&s.binding&&s.binding("util")}catch(c){}})();t.exports=o}),R2e=N((e,t)=>{var r=uxt(),n=dxt(),i=pxt(),a=i&&i.isTypedArray,s=a?n(a):r;t.exports=s}),hxt=N((e,t)=>{var r=axt(),n=oxt(),i=wz(),a=P2e(),s=cxt(),o=R2e(),l=Object.prototype,c=l.hasOwnProperty;function u(d,h){var p=i(d),m=!p&&n(d),g=!p&&!m&&a(d),b=!p&&!m&&!g&&o(d),y=p||m||g||b,v=y?r(d.length,String):[],S=v.length;for(var x in d)(h||c.call(d,x))&&!(y&&(x=="length"||g&&(x=="offset"||x=="parent")||b&&(x=="buffer"||x=="byteLength"||x=="byteOffset")||s(x,S)))&&v.push(x);return v}T(u,"arrayLikeKeys"),t.exports=u}),fxt=N((e,t)=>{var r=Object.prototype;function n(i){var a=i&&i.constructor,s=typeof a=="function"&&a.prototype||r;return i===s}T(n,"isPrototype"),t.exports=n}),mxt=N((e,t)=>{function r(n,i){return function(a){return n(i(a))}}T(r,"overArg"),t.exports=r}),gxt=N((e,t)=>{var r=mxt(),n=r(Object.keys,Object);t.exports=n}),bxt=N((e,t)=>{var r=fxt(),n=gxt(),i=Object.prototype,a=i.hasOwnProperty;function s(o){if(!r(o))return n(o);var l=[];for(var c in Object(o))a.call(o,c)&&c!="constructor"&&l.push(c);return l}T(s,"baseKeys"),t.exports=s}),yxt=N((e,t)=>{var r=_2e(),n=j2e();function i(a){return a!=null&&n(a.length)&&!r(a)}T(i,"isArrayLike"),t.exports=i}),vxt=N((e,t)=>{var r=hxt(),n=bxt(),i=yxt();function a(s){return i(s)?r(s):n(s)}T(a,"keys"),t.exports=a}),Txt=N((e,t)=>{var r=txt(),n=ixt(),i=vxt();function a(s){return r(s,i,n)}T(a,"getAllKeys"),t.exports=a}),Sxt=N((e,t)=>{var r=Txt(),n=1,i=Object.prototype,a=i.hasOwnProperty;function s(o,l,c,u,d,h){var p=c&n,m=r(o),g=m.length,b=r(l),y=b.length;if(g!=y&&!p)return!1;for(var v=g;v--;){var S=m[v];if(!(p?S in l:a.call(l,S)))return!1}var x=h.get(o),w=h.get(l);if(x&&w)return x==l&&w==o;var A=!0;h.set(o,l),h.set(l,o);for(var _=p;++v<g;){S=m[v];var C=o[S],E=l[S];if(u)var R=p?u(E,C,S,l,o,h):u(C,E,S,o,l,h);if(!(R===void 0?C===E||d(C,E,c,u,h):R)){A=!1;break}_||(_=S=="constructor")}if(A&&!_){var P=o.constructor,O=l.constructor;P!=O&&"constructor"in o&&"constructor"in l&&!(typeof P=="function"&&P instanceof P&&typeof O=="function"&&O instanceof O)&&(A=!1)}return h.delete(o),h.delete(l),A}T(s,"equalObjects"),t.exports=s}),xxt=N((e,t)=>{var r=k1(),n=gu(),i=r(n,"DataView");t.exports=i}),wxt=N((e,t)=>{var r=k1(),n=gu(),i=r(n,"Promise");t.exports=i}),_xt=N((e,t)=>{var r=k1(),n=gu(),i=r(n,"Set");t.exports=i}),Axt=N((e,t)=>{var r=k1(),n=gu(),i=r(n,"WeakMap");t.exports=i}),Cxt=N((e,t)=>{var r=xxt(),n=xz(),i=wxt(),a=_xt(),s=Axt(),o=L4(),l=A2e(),c="[object Map]",u="[object Object]",d="[object Promise]",h="[object Set]",p="[object WeakMap]",m="[object DataView]",g=l(r),b=l(n),y=l(i),v=l(a),S=l(s),x=o;(r&&x(new r(new ArrayBuffer(1)))!=m||n&&x(new n)!=c||i&&x(i.resolve())!=d||a&&x(new a)!=h||s&&x(new s)!=p)&&(x=T(function(w){var A=o(w),_=A==u?w.constructor:void 0,C=_?l(_):"";if(C)switch(C){case g:return m;case b:return c;case y:return d;case v:return h;case S:return p}return A},"getTag")),t.exports=x}),Ext=N((e,t)=>{var r=HSt(),n=E2e(),i=ZSt(),a=Sxt(),s=Cxt(),o=wz(),l=P2e(),c=R2e(),u=1,d="[object Arguments]",h="[object Array]",p="[object Object]",m=Object.prototype,g=m.hasOwnProperty;function b(y,v,S,x,w,A){var _=o(y),C=o(v),E=_?h:s(y),R=C?h:s(v);E=E==d?p:E,R=R==d?p:R;var P=E==p,O=R==p,k=E==R;if(k&&l(y)){if(!l(v))return!1;_=!0,P=!1}if(k&&!P)return A||(A=new r),_||c(y)?n(y,v,S,x,w,A):i(y,v,E,S,x,w,A);if(!(S&u)){var I=P&&g.call(y,"__wrapped__"),M=O&&g.call(v,"__wrapped__");if(I||M){var D=I?y.value():y,F=M?v.value():v;return A||(A=new r),w(D,F,S,x,A)}}return k?(A||(A=new r),a(y,v,S,x,w,A)):!1}T(b,"baseIsEqualDeep"),t.exports=b}),Pxt=N((e,t)=>{var r=Ext(),n=B4();function i(a,s,o,l,c){return a===s?!0:a==null||s==null||!n(a)&&!n(s)?a!==a&&s!==s:r(a,s,o,l,i,c)}T(i,"baseIsEqual"),t.exports=i}),I2e=N((e,t)=>{var r=Pxt();function n(i,a,s){s=typeof s=="function"?s:void 0;var o=s?s(i,a):void 0;return o===void 0?r(i,a,void 0,s):!!o}T(n,"isEqualWith"),t.exports=n}),O2e=N((e,t)=>{(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=T(function(i){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var a=String(i),s=a.length,o=-1,l,c="",u=a.charCodeAt(0);++o<s;){if(l=a.charCodeAt(o),l==0){c+="<22>";continue}if(l>=1&&l<=31||l==127||o==0&&l>=48&&l<=57||o==1&&l>=48&&l<=57&&u==45){c+="\\"+l.toString(16)+" ";continue}if(o==0&&s==1&&l==45){c+="\\"+a.charAt(o);continue}if(l>=128||l==45||l==95||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122){c+=a.charAt(o);continue}c+="\\"+a.charAt(o)}return c},"cssEscape");return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}),M2e=N((e,t)=>{var r=T((a=0)=>s=>`\x1B[${38+a};5;${s}m`,"wrapAnsi256"),n=T((a=0)=>(s,o,l)=>`\x1B[${38+a};2;${s};${o};${l}m`,"wrapAnsi16m");function i(){let a=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(let[o,l]of Object.entries(s)){for(let[c,u]of Object.entries(l))s[c]={open:`\x1B[${u[0]}m`,close:`\x1B[${u[1]}m`},l[c]=s[c],a.set(u[0],u[1]);Object.defineProperty(s,o,{value:l,enumerable:!1})}return Object.defineProperty(s,"codes",{value:a,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=r(),s.color.ansi16m=n(),s.bgColor.ansi256=r(10),s.bgColor.ansi16m=n(10),Object.defineProperties(s,{rgbToAnsi256:{value:T((o,l,c)=>o===l&&l===c?o<8?16:o>248?231:Math.round((o-8)/247*24)+232:16+36*Math.round(o/255*5)+6*Math.round(l/255*5)+Math.round(c/255*5),"value"),enumerable:!1},hexToRgb:{value:T(o=>{let l=new RegExp("(?<colorString>[a-f\\d]{6}|[a-f\\d]{3})","i").exec(o.toString(16));if(!l)return[0,0,0];let{colorString:c}=l.groups;c.length===3&&(c=c.split("").map(d=>d+d).join(""));let u=Number.parseInt(c,16);return[u>>16&255,u>>8&255,u&255]},"value"),enumerable:!1},hexToAnsi256:{value:T(o=>s.rgbToAnsi256(...s.hexToRgb(o)),"value"),enumerable:!1}}),s}T(i,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:i})}),N4=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=i,e.printObjectProperties=a;var t=T((s,o)=>{let l=Object.keys(s).sort(o);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(s).forEach(c=>{Object.getOwnPropertyDescriptor(s,c).enumerable&&l.push(c)}),l},"getKeysOfEnumerableProperties");function r(s,o,l,c,u,d,h=": "){let p="",m=s.next();if(!m.done){p+=o.spacingOuter;let g=l+o.indent;for(;!m.done;){let b=d(m.value[0],o,g,c,u),y=d(m.value[1],o,g,c,u);p+=g+b+h+y,m=s.next(),m.done?o.min||(p+=","):p+=","+o.spacingInner}p+=o.spacingOuter+l}return p}T(r,"printIteratorEntries");function n(s,o,l,c,u,d){let h="",p=s.next();if(!p.done){h+=o.spacingOuter;let m=l+o.indent;for(;!p.done;)h+=m+d(p.value,o,m,c,u),p=s.next(),p.done?o.min||(h+=","):h+=","+o.spacingInner;h+=o.spacingOuter+l}return h}T(n,"printIteratorValues");function i(s,o,l,c,u,d){let h="";if(s.length){h+=o.spacingOuter;let p=l+o.indent;for(let m=0;m<s.length;m++)h+=p,m in s&&(h+=d(s[m],o,p,c,u)),m<s.length-1?h+=","+o.spacingInner:o.min||(h+=",");h+=o.spacingOuter+l}return h}T(i,"printListItems");function a(s,o,l,c,u,d){let h="",p=t(s,o.compareKeys);if(p.length){h+=o.spacingOuter;let m=l+o.indent;for(let g=0;g<p.length;g++){let b=p[g],y=d(b,o,m,c,u),v=d(s[b],o,m,c,u);h+=m+y+": "+v,g<p.length-1?h+=","+o.spacingInner:o.min||(h+=",")}h+=o.spacingOuter+l}return h}T(a,"printObjectProperties")}),jxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=N4(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,i=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,a=" ",s=T((u,d,h,p,m,g)=>{let b=u.toString();return b==="ArrayContaining"||b==="ArrayNotContaining"?++p>d.maxDepth?"["+b+"]":b+a+"["+(0,t.printListItems)(u.sample,d,h,p,m,g)+"]":b==="ObjectContaining"||b==="ObjectNotContaining"?++p>d.maxDepth?"["+b+"]":b+a+"{"+(0,t.printObjectProperties)(u.sample,d,h,p,m,g)+"}":b==="StringMatching"||b==="StringNotMatching"||b==="StringContaining"||b==="StringNotContaining"?b+a+g(u.sample,d,h,p,m):u.toAsymmetricMatcher()},"serialize");e.serialize=s;var o=T(u=>u&&u.$$typeof===i,"test");e.test=o;var l={serialize:s,test:o},c=l;e.default=c}),Rxt=N((e,t)=>{t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}),Ixt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(Rxt()),r=n(M2e());function n(c){return c&&c.__esModule?c:{default:c}}T(n,"_interopRequireDefault");var i=T(c=>c.replace((0,t.default)(),u=>{switch(u){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),"toHumanReadableAnsi"),a=T(c=>typeof c=="string"&&!!c.match((0,t.default)()),"test");e.test=a;var s=T((c,u,d,h,p,m)=>m(i(c),u,d,h,p),"serialize");e.serialize=s;var o={serialize:s,test:a},l=o;e.default=l}),Oxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=N4(),r=" ",n=["DOMStringMap","NamedNodeMap"],i=/^(HTML\w*Collection|NodeList)$/,a=T(d=>n.indexOf(d)!==-1||i.test(d),"testName"),s=T(d=>d&&d.constructor&&!!d.constructor.name&&a(d.constructor.name),"test");e.test=s;var o=T(d=>d.constructor.name==="NamedNodeMap","isNamedNodeMap"),l=T((d,h,p,m,g,b)=>{let y=d.constructor.name;return++m>h.maxDepth?"["+y+"]":(h.min?"":y+r)+(n.indexOf(y)!==-1?"{"+(0,t.printObjectProperties)(o(d)?Array.from(d).reduce((v,S)=>(v[S.name]=S.value,v),{}):{...d},h,p,m,g,b)+"}":"["+(0,t.printListItems)(Array.from(d),h,p,m,g,b)+"]")},"serialize");e.serialize=l;var c={serialize:l,test:s},u=c;e.default=u}),Mxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"&lt;").replace(/>/g,"&gt;")}T(t,"escapeHTML")}),_z=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(Mxt());function r(c){return c&&c.__esModule?c:{default:c}}T(r,"_interopRequireDefault");var n=T((c,u,d,h,p,m,g)=>{let b=h+d.indent,y=d.colors;return c.map(v=>{let S=u[v],x=g(S,d,b,p,m);return typeof S!="string"&&(x.indexOf(`
`)!==-1&&(x=d.spacingOuter+b+x+d.spacingOuter+h),x="{"+x+"}"),d.spacingInner+h+y.prop.open+v+y.prop.close+"="+y.value.open+x+y.value.close}).join("")},"printProps");e.printProps=n;var i=T((c,u,d,h,p,m)=>c.map(g=>u.spacingOuter+d+(typeof g=="string"?a(g,u):m(g,u,d,h,p))).join(""),"printChildren");e.printChildren=i;var a=T((c,u)=>{let d=u.colors.content;return d.open+(0,t.default)(c)+d.close},"printText");e.printText=a;var s=T((c,u)=>{let d=u.colors.comment;return d.open+"<!--"+(0,t.default)(c)+"-->"+d.close},"printComment");e.printComment=s;var o=T((c,u,d,h,p)=>{let m=h.colors.tag;return m.open+"<"+c+(u&&m.close+u+h.spacingOuter+p+m.open)+(d?">"+m.close+d+h.spacingOuter+p+m.open+"</"+c:(u&&!h.min?"":" ")+"/")+">"+m.close},"printElement");e.printElement=o;var l=T((c,u)=>{let d=u.colors.tag;return d.open+"<"+c+d.close+" …"+d.open+" />"+d.close},"printElementAsLeaf");e.printElementAsLeaf=l}),kxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=_z(),r=1,n=3,i=8,a=11,s=/^((HTML|SVG)\w*)?Element$/,o=T(b=>{try{return typeof b.hasAttribute=="function"&&b.hasAttribute("is")}catch(y){return!1}},"testHasAttribute"),l=T(b=>{let y=b.constructor.name,{nodeType:v,tagName:S}=b,x=typeof S=="string"&&S.includes("-")||o(b);return v===r&&(s.test(y)||x)||v===n&&y==="Text"||v===i&&y==="Comment"||v===a&&y==="DocumentFragment"},"testNode"),c=T(b=>{var y;return(b==null||(y=b.constructor)===null||y===void 0?void 0:y.name)&&l(b)},"test");e.test=c;function u(b){return b.nodeType===n}T(u,"nodeIsText");function d(b){return b.nodeType===i}T(d,"nodeIsComment");function h(b){return b.nodeType===a}T(h,"nodeIsFragment");var p=T((b,y,v,S,x,w)=>{if(u(b))return(0,t.printText)(b.data,y);if(d(b))return(0,t.printComment)(b.data,y);let A=h(b)?"DocumentFragment":b.tagName.toLowerCase();return++S>y.maxDepth?(0,t.printElementAsLeaf)(A,y):(0,t.printElement)(A,(0,t.printProps)(h(b)?[]:Array.from(b.attributes).map(_=>_.name).sort(),h(b)?{}:Array.from(b.attributes).reduce((_,C)=>(_[C.name]=C.value,_),{}),y,v+y.indent,S,x,w),(0,t.printChildren)(Array.prototype.slice.call(b.childNodes||b.children),y,v+y.indent,S,x,w),y,v)},"serialize");e.serialize=p;var m={serialize:p,test:c},g=m;e.default=g}),Dxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=N4(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",i="@@__IMMUTABLE_KEYED__@@",a="@@__IMMUTABLE_MAP__@@",s="@@__IMMUTABLE_ORDERED__@@",o="@@__IMMUTABLE_RECORD__@@",l="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",u="@@__IMMUTABLE_STACK__@@",d=T(C=>"Immutable."+C,"getImmutableName"),h=T(C=>"["+C+"]","printAsLeaf"),p=" ",m="…",g=T((C,E,R,P,O,k,I)=>++P>E.maxDepth?h(d(I)):d(I)+p+"{"+(0,t.printIteratorEntries)(C.entries(),E,R,P,O,k)+"}","printImmutableEntries");function b(C){let E=0;return{next(){if(E<C._keys.length){let R=C._keys[E++];return{done:!1,value:[R,C.get(R)]}}return{done:!0,value:void 0}}}}T(b,"getRecordEntries");var y=T((C,E,R,P,O,k)=>{let I=d(C._name||"Record");return++P>E.maxDepth?h(I):I+p+"{"+(0,t.printIteratorEntries)(b(C),E,R,P,O,k)+"}"},"printImmutableRecord"),v=T((C,E,R,P,O,k)=>{let I=d("Seq");return++P>E.maxDepth?h(I):C[i]?I+p+"{"+(C._iter||C._object?(0,t.printIteratorEntries)(C.entries(),E,R,P,O,k):m)+"}":I+p+"["+(C._iter||C._array||C._collection||C._iterable?(0,t.printIteratorValues)(C.values(),E,R,P,O,k):m)+"]"},"printImmutableSeq"),S=T((C,E,R,P,O,k,I)=>++P>E.maxDepth?h(d(I)):d(I)+p+"["+(0,t.printIteratorValues)(C.values(),E,R,P,O,k)+"]","printImmutableValues"),x=T((C,E,R,P,O,k)=>C[a]?g(C,E,R,P,O,k,C[s]?"OrderedMap":"Map"):C[n]?S(C,E,R,P,O,k,"List"):C[c]?S(C,E,R,P,O,k,C[s]?"OrderedSet":"Set"):C[u]?S(C,E,R,P,O,k,"Stack"):C[l]?v(C,E,R,P,O,k):y(C,E,R,P,O,k),"serialize");e.serialize=x;var w=T(C=>C&&(C[r]===!0||C[o]===!0),"test");e.test=w;var A={serialize:x,test:w},_=A;e.default=_}),Lxt=N(e=>{(function(){var t=60103,r=60106,n=60107,i=60108,a=60114,s=60109,o=60110,l=60112,c=60113,u=60120,d=60115,h=60116,p=60121,m=60122,g=60117,b=60129,y=60131;if(typeof Symbol=="function"&&Symbol.for){var v=Symbol.for;t=v("react.element"),r=v("react.portal"),n=v("react.fragment"),i=v("react.strict_mode"),a=v("react.profiler"),s=v("react.provider"),o=v("react.context"),l=v("react.forward_ref"),c=v("react.suspense"),u=v("react.suspense_list"),d=v("react.memo"),h=v("react.lazy"),p=v("react.block"),m=v("react.server.block"),g=v("react.fundamental"),v("react.scope"),v("react.opaque.id"),b=v("react.debug_trace_mode"),v("react.offscreen"),y=v("react.legacy_hidden")}var S=!1;function x(se){return!!(typeof se=="string"||typeof se=="function"||se===n||se===a||se===b||se===i||se===c||se===u||se===y||S||typeof se=="object"&&se!==null&&(se.$$typeof===h||se.$$typeof===d||se.$$typeof===s||se.$$typeof===o||se.$$typeof===l||se.$$typeof===g||se.$$typeof===p||se[0]===m))}T(x,"isValidElementType");function w(se){if(typeof se=="object"&&se!==null){var Ce=se.$$typeof;switch(Ce){case t:var ce=se.type;switch(ce){case n:case a:case i:case c:case u:return ce;default:var le=ce&&ce.$$typeof;switch(le){case o:case l:case h:case d:case s:return le;default:return Ce}}case r:return Ce}}}T(w,"typeOf");var A=o,_=s,C=t,E=l,R=n,P=h,O=d,k=r,I=a,M=i,D=c,F=!1,$=!1;function Y(se){return F||(F=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}T(Y,"isAsyncMode");function he(se){return $||($=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}T(he,"isConcurrentMode");function fe(se){return w(se)===o}T(fe,"isContextConsumer");function U(se){return w(se)===s}T(U,"isContextProvider");function W(se){return typeof se=="object"&&se!==null&&se.$$typeof===t}T(W,"isElement");function H(se){return w(se)===l}T(H,"isForwardRef");function ie(se){return w(se)===n}T(ie,"isFragment");function J(se){return w(se)===h}T(J,"isLazy");function we(se){return w(se)===d}T(we,"isMemo");function Le(se){return w(se)===r}T(Le,"isPortal");function Ye(se){return w(se)===a}T(Ye,"isProfiler");function oe(se){return w(se)===i}T(oe,"isStrictMode");function X(se){return w(se)===c}T(X,"isSuspense"),e.ContextConsumer=A,e.ContextProvider=_,e.Element=C,e.ForwardRef=E,e.Fragment=R,e.Lazy=P,e.Memo=O,e.Portal=k,e.Profiler=I,e.StrictMode=M,e.Suspense=D,e.isAsyncMode=Y,e.isConcurrentMode=he,e.isContextConsumer=fe,e.isContextProvider=U,e.isElement=W,e.isForwardRef=H,e.isFragment=ie,e.isLazy=J,e.isMemo=we,e.isPortal=Le,e.isProfiler=Ye,e.isStrictMode=oe,e.isSuspense=X,e.isValidElementType=x,e.typeOf=w})()}),Fxt=N((e,t)=>{t.exports=Lxt()}),$xt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=i(Fxt()),r=_z();function n(h){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return(n=T(function(g){return g?m:p},"_getRequireWildcardCache"))(h)}T(n,"_getRequireWildcardCache");function i(h,p){if(!p&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var m=n(p);if(m&&m.has(h))return m.get(h);var g={},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in h)if(y!=="default"&&Object.prototype.hasOwnProperty.call(h,y)){var v=b?Object.getOwnPropertyDescriptor(h,y):null;v&&(v.get||v.set)?Object.defineProperty(g,y,v):g[y]=h[y]}return g.default=h,m&&m.set(h,g),g}T(i,"_interopRequireWildcard");var a=T((h,p=[])=>(Array.isArray(h)?h.forEach(m=>{a(m,p)}):h!=null&&h!==!1&&p.push(h),p),"getChildren"),s=T(h=>{let p=h.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(h))return"React.Fragment";if(t.isSuspense(h))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(h))return"Context.Provider";if(t.isContextConsumer(h))return"Context.Consumer";if(t.isForwardRef(h)){if(p.displayName)return p.displayName;let m=p.render.displayName||p.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(h)){let m=p.displayName||p.type.displayName||p.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},"getType"),o=T(h=>{let{props:p}=h;return Object.keys(p).filter(m=>m!=="children"&&p[m]!==void 0).sort()},"getPropKeys"),l=T((h,p,m,g,b,y)=>++g>p.maxDepth?(0,r.printElementAsLeaf)(s(h),p):(0,r.printElement)(s(h),(0,r.printProps)(o(h),h.props,p,m+p.indent,g,b,y),(0,r.printChildren)(a(h.props.children),p,m+p.indent,g,b,y),p,m),"serialize");e.serialize=l;var c=T(h=>h!=null&&t.isElement(h),"test");e.test=c;var u={serialize:l,test:c},d=u;e.default=d}),Bxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=_z(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,i=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,a=T(u=>{let{props:d}=u;return d?Object.keys(d).filter(h=>d[h]!==void 0).sort():[]},"getPropKeys"),s=T((u,d,h,p,m,g)=>++p>d.maxDepth?(0,t.printElementAsLeaf)(u.type,d):(0,t.printElement)(u.type,u.props?(0,t.printProps)(a(u),u.props,d,h+d.indent,p,m,g):"",u.children?(0,t.printChildren)(u.children,d,h+d.indent,p,m,g):"",d,h),"serialize");e.serialize=s;var o=T(u=>u&&u.$$typeof===i,"test");e.test=o;var l={serialize:s,test:o},c=l;e.default=c}),Nxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=Le,e.plugins=void 0;var t=u(M2e()),r=N4(),n=u(jxt()),i=u(Ixt()),a=u(Oxt()),s=u(kxt()),o=u(Dxt()),l=u($xt()),c=u(Bxt());function u(X){return X&&X.__esModule?X:{default:X}}T(u,"_interopRequireDefault");var d=Object.prototype.toString,h=Date.prototype.toISOString,p=Error.prototype.toString,m=RegExp.prototype.toString,g=T(X=>typeof X.constructor=="function"&&X.constructor.name||"Object","getConstructorName"),b=T(X=>typeof window<"u"&&X===window,"isWindow"),y=/^Symbol\((.*)\)(.*)$/,v=/\n/gi,S=class extends Error{constructor(se,Ce){super(se),this.stack=Ce,this.name=this.constructor.name}};T(S,"PrettyFormatPluginError");var x=S;function w(X){return X==="[object Array]"||X==="[object ArrayBuffer]"||X==="[object DataView]"||X==="[object Float32Array]"||X==="[object Float64Array]"||X==="[object Int8Array]"||X==="[object Int16Array]"||X==="[object Int32Array]"||X==="[object Uint8Array]"||X==="[object Uint8ClampedArray]"||X==="[object Uint16Array]"||X==="[object Uint32Array]"}T(w,"isToStringedArrayType");function A(X){return Object.is(X,-0)?"-0":String(X)}T(A,"printNumber");function _(X){return`${X}n`}T(_,"printBigInt");function C(X,se){return se?"[Function "+(X.name||"anonymous")+"]":"[Function]"}T(C,"printFunction");function E(X){return String(X).replace(y,"Symbol($1)")}T(E,"printSymbol");function R(X){return"["+p.call(X)+"]"}T(R,"printError");function P(X,se,Ce,ce){if(X===!0||X===!1)return""+X;if(X===void 0)return"undefined";if(X===null)return"null";let le=typeof X;if(le==="number")return A(X);if(le==="bigint")return _(X);if(le==="string")return ce?'"'+X.replace(/"|\\/g,"\\$&")+'"':'"'+X+'"';if(le==="function")return C(X,se);if(le==="symbol")return E(X);let Te=d.call(X);return Te==="[object WeakMap]"?"WeakMap {}":Te==="[object WeakSet]"?"WeakSet {}":Te==="[object Function]"||Te==="[object GeneratorFunction]"?C(X,se):Te==="[object Symbol]"?E(X):Te==="[object Date]"?isNaN(+X)?"Date { NaN }":h.call(X):Te==="[object Error]"?R(X):Te==="[object RegExp]"?Ce?m.call(X).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(X):X instanceof Error?R(X):null}T(P,"printBasicValue");function O(X,se,Ce,ce,le,Te){if(le.indexOf(X)!==-1)return"[Circular]";le=le.slice(),le.push(X);let be=++ce>se.maxDepth,ze=se.min;if(se.callToJSON&&!be&&X.toJSON&&typeof X.toJSON=="function"&&!Te)return D(X.toJSON(),se,Ce,ce,le,!0);let Ze=d.call(X);return Ze==="[object Arguments]"?be?"[Arguments]":(ze?"":"Arguments ")+"["+(0,r.printListItems)(X,se,Ce,ce,le,D)+"]":w(Ze)?be?"["+X.constructor.name+"]":(ze||!se.printBasicPrototype&&X.constructor.name==="Array"?"":X.constructor.name+" ")+"["+(0,r.printListItems)(X,se,Ce,ce,le,D)+"]":Ze==="[object Map]"?be?"[Map]":"Map {"+(0,r.printIteratorEntries)(X.entries(),se,Ce,ce,le,D," => ")+"}":Ze==="[object Set]"?be?"[Set]":"Set {"+(0,r.printIteratorValues)(X.values(),se,Ce,ce,le,D)+"}":be||b(X)?"["+g(X)+"]":(ze||!se.printBasicPrototype&&g(X)==="Object"?"":g(X)+" ")+"{"+(0,r.printObjectProperties)(X,se,Ce,ce,le,D)+"}"}T(O,"printComplexValue");function k(X){return X.serialize!=null}T(k,"isNewPlugin");function I(X,se,Ce,ce,le,Te){let be;try{be=k(X)?X.serialize(se,Ce,ce,le,Te,D):X.print(se,ze=>D(ze,Ce,ce,le,Te),ze=>{let Ze=ce+Ce.indent;return Ze+ze.replace(v,`
`+Ze)},{edgeSpacing:Ce.spacingOuter,min:Ce.min,spacing:Ce.spacingInner},Ce.colors)}catch(ze){throw new x(ze.message,ze.stack)}if(typeof be!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof be}".`);return be}T(I,"printPlugin");function M(X,se){for(let Ce=0;Ce<X.length;Ce++)try{if(X[Ce].test(se))return X[Ce]}catch(ce){throw new x(ce.message,ce.stack)}return null}T(M,"findPlugin");function D(X,se,Ce,ce,le,Te){let be=M(se.plugins,X);if(be!==null)return I(be,X,se,Ce,ce,le);let ze=P(X,se.printFunctionName,se.escapeRegex,se.escapeString);return ze!==null?ze:O(X,se,Ce,ce,le,Te)}T(D,"printer");var F={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},$=Object.keys(F),Y={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:F};e.DEFAULT_OPTIONS=Y;function he(X){if(Object.keys(X).forEach(se=>{if(!Y.hasOwnProperty(se))throw new Error(`pretty-format: Unknown option "${se}".`)}),X.min&&X.indent!==void 0&&X.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(X.theme!==void 0){if(X.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof X.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof X.theme}".`)}}T(he,"validateOptions");var fe=T(X=>$.reduce((se,Ce)=>{let ce=X.theme&&X.theme[Ce]!==void 0?X.theme[Ce]:F[Ce],le=ce&&t.default[ce];if(le&&typeof le.close=="string"&&typeof le.open=="string")se[Ce]=le;else throw new Error(`pretty-format: Option "theme" has a key "${Ce}" whose value "${ce}" is undefined in ansi-styles.`);return se},Object.create(null)),"getColorsHighlight"),U=T(()=>$.reduce((X,se)=>(X[se]={close:"",open:""},X),Object.create(null)),"getColorsEmpty"),W=T(X=>X&&X.printFunctionName!==void 0?X.printFunctionName:Y.printFunctionName,"getPrintFunctionName"),H=T(X=>X&&X.escapeRegex!==void 0?X.escapeRegex:Y.escapeRegex,"getEscapeRegex"),ie=T(X=>X&&X.escapeString!==void 0?X.escapeString:Y.escapeString,"getEscapeString"),J=T(X=>{var se;return{callToJSON:X&&X.callToJSON!==void 0?X.callToJSON:Y.callToJSON,colors:X&&X.highlight?fe(X):U(),compareKeys:X&&typeof X.compareKeys=="function"?X.compareKeys:Y.compareKeys,escapeRegex:H(X),escapeString:ie(X),indent:X&&X.min?"":we(X&&X.indent!==void 0?X.indent:Y.indent),maxDepth:X&&X.maxDepth!==void 0?X.maxDepth:Y.maxDepth,min:X&&X.min!==void 0?X.min:Y.min,plugins:X&&X.plugins!==void 0?X.plugins:Y.plugins,printBasicPrototype:(se=X==null?void 0:X.printBasicPrototype)!==null&&se!==void 0?se:!0,printFunctionName:W(X),spacingInner:X&&X.min?" ":`
`,spacingOuter:X&&X.min?"":`
`}},"getConfig");function we(X){return new Array(X+1).join(" ")}T(we,"createIndent");function Le(X,se){if(se&&(he(se),se.plugins)){let ce=M(se.plugins,X);if(ce!==null)return I(ce,X,J(se),"",0,[])}let Ce=P(X,W(se),H(se),ie(se));return Ce!==null?Ce:O(X,J(se),"",0,[])}T(Le,"format");var Ye={AsymmetricMatcher:n.default,ConvertAnsi:i.default,DOMCollection:a.default,DOMElement:s.default,Immutable:o.default,ReactElement:l.default,ReactTestComponent:c.default};e.plugins=Ye;var oe=Le;e.default=oe}),qxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,i=0,a={"@@iterator":T(function(){return a},"iterator"),next:T(function(){if(i<n.length){var s=n[i];return i=i+1,{done:!1,value:s}}else return{done:!0}},"next")};return a}T(t,"iteratorProxy");var r=t;e.default=r}),Nv=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=r(qxt());function r(a){return a&&a.__esModule?a:{default:a}}T(r,"_interopRequireDefault");function n(a){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(a)}T(n,"_typeof");function i(a,s){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(a,Symbol.iterator,{value:t.default.bind(s)}),a}T(i,"iterationDecorator")}),zxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Nv());function r(p){return p&&p.__esModule?p:{default:p}}T(r,"_interopRequireDefault");function n(p,m){return s(p)||a(p,m)||l(p,m)||i()}T(n,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}T(i,"_nonIterableRest");function a(p,m){var g=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(g!=null){var b=[],y=!0,v=!1,S,x;try{for(g=g.call(p);!(y=(S=g.next()).done)&&(b.push(S.value),!(m&&b.length===m));y=!0);}catch(w){v=!0,x=w}finally{try{!y&&g.return!=null&&g.return()}finally{if(v)throw x}}return b}}T(a,"_iterableToArrayLimit");function s(p){if(Array.isArray(p))return p}T(s,"_arrayWithHoles");function o(p,m){var g=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!g){if(Array.isArray(p)||(g=l(p))||m&&p&&typeof p.length=="number"){g&&(p=g);var b=0,y=T(function(){},"F");return{s:y,n:T(function(){return b>=p.length?{done:!0}:{done:!1,value:p[b++]}},"n"),e:T(function(w){throw w},"e"),f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,S=!1,x;return{s:T(function(){g=g.call(p)},"s"),n:T(function(){var w=g.next();return v=w.done,w},"n"),e:T(function(w){S=!0,x=w},"e"),f:T(function(){try{!v&&g.return!=null&&g.return()}finally{if(S)throw x}},"f")}}T(o,"_createForOfIteratorHelper");function l(p,m){if(p){if(typeof p=="string")return c(p,m);var g=Object.prototype.toString.call(p).slice(8,-1);if(g==="Object"&&p.constructor&&(g=p.constructor.name),g==="Map"||g==="Set")return Array.from(p);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return c(p,m)}}T(l,"_unsupportedIterableToArray");function c(p,m){(m==null||m>p.length)&&(m=p.length);for(var g=0,b=new Array(m);g<m;g++)b[g]=p[g];return b}T(c,"_arrayLikeToArray");var u=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],d={entries:T(function(){return u},"entries"),forEach:T(function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,g=o(u),b;try{for(g.s();!(b=g.n()).done;){var y=n(b.value,2),v=y[0],S=y[1];p.call(m,S,v,u)}}catch(x){g.e(x)}finally{g.f()}},"forEach"),get:T(function(p){var m=u.find(function(g){return g[0]===p});return m&&m[1]},"get"),has:T(function(p){return!!d.get(p)},"has"),keys:T(function(){return u.map(function(p){var m=n(p,1),g=m[0];return g})},"keys"),values:T(function(){return u.map(function(p){var m=n(p,2),g=m[1];return g})},"values")},h=(0,t.default)(d,d.entries());e.default=h}),Wxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Nv());function r(p){return p&&p.__esModule?p:{default:p}}T(r,"_interopRequireDefault");function n(p,m){return s(p)||a(p,m)||l(p,m)||i()}T(n,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}T(i,"_nonIterableRest");function a(p,m){var g=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(g!=null){var b=[],y=!0,v=!1,S,x;try{for(g=g.call(p);!(y=(S=g.next()).done)&&(b.push(S.value),!(m&&b.length===m));y=!0);}catch(w){v=!0,x=w}finally{try{!y&&g.return!=null&&g.return()}finally{if(v)throw x}}return b}}T(a,"_iterableToArrayLimit");function s(p){if(Array.isArray(p))return p}T(s,"_arrayWithHoles");function o(p,m){var g=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!g){if(Array.isArray(p)||(g=l(p))||m&&p&&typeof p.length=="number"){g&&(p=g);var b=0,y=T(function(){},"F");return{s:y,n:T(function(){return b>=p.length?{done:!0}:{done:!1,value:p[b++]}},"n"),e:T(function(w){throw w},"e"),f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,S=!1,x;return{s:T(function(){g=g.call(p)},"s"),n:T(function(){var w=g.next();return v=w.done,w},"n"),e:T(function(w){S=!0,x=w},"e"),f:T(function(){try{!v&&g.return!=null&&g.return()}finally{if(S)throw x}},"f")}}T(o,"_createForOfIteratorHelper");function l(p,m){if(p){if(typeof p=="string")return c(p,m);var g=Object.prototype.toString.call(p).slice(8,-1);if(g==="Object"&&p.constructor&&(g=p.constructor.name),g==="Map"||g==="Set")return Array.from(p);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return c(p,m)}}T(l,"_unsupportedIterableToArray");function c(p,m){(m==null||m>p.length)&&(m=p.length);for(var g=0,b=new Array(m);g<m;g++)b[g]=p[g];return b}T(c,"_arrayLikeToArray");var u=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],d={entries:T(function(){return u},"entries"),forEach:T(function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,g=o(u),b;try{for(g.s();!(b=g.n()).done;){var y=n(b.value,2),v=y[0],S=y[1];p.call(m,S,v,u)}}catch(x){g.e(x)}finally{g.f()}},"forEach"),get:T(function(p){var m=u.find(function(g){return g[0]===p});return m&&m[1]},"get"),has:T(function(p){return!!d.get(p)},"has"),keys:T(function(){return u.map(function(p){var m=n(p,1),g=m[0];return g})},"keys"),values:T(function(){return u.map(function(p){var m=n(p,2),g=m[1];return g})},"values")},h=(0,t.default)(d,d.entries());e.default=h}),Hxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),Uxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),Gxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}),Vxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),Yxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),Kxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}),Xxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),Qxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),Jxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}),Zxt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),ewt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),twt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}),rwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(Hxt()),r=p(Uxt()),n=p(Gxt()),i=p(Vxt()),a=p(Yxt()),s=p(Kxt()),o=p(Xxt()),l=p(Qxt()),c=p(Jxt()),u=p(Zxt()),d=p(ewt()),h=p(twt());function p(b){return b&&b.__esModule?b:{default:b}}T(p,"_interopRequireDefault");var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",i.default],["range",a.default],["roletype",s.default],["section",o.default],["sectionhead",l.default],["select",c.default],["structure",u.default],["widget",d.default],["window",h.default]],g=m;e.default=g}),nwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),iwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}),awt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),swt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}),owt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),lwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),cwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),uwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),dwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),pwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),hwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),fwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}),mwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),gwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),bwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),ywt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),vwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),Twt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}),Swt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}),xwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),wwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),_wt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}),Awt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),Cwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),Ewt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),Pwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}),jwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}),Rwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),Iwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}),Owt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),Mwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),kwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),Dwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),Lwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),Fwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),$wt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),Bwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),Nwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),qwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),zwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),Wwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),Hwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}),Uwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}),Gwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}),Vwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}),Ywt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}),Kwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),Xwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}),Qwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),Jwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),Zwt=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),e6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),t6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}),r6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),n6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),i6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),a6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}),s6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),o6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}),l6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}),c6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),u6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}),d6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}),p6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}),h6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}),f6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),m6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),g6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),b6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),y6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}),v6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}),T6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),S6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}),x6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),w6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),_6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}),A6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),C6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}),E6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}),P6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),j6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}),R6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}),I6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}),O6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=V(nwt()),r=V(iwt()),n=V(awt()),i=V(swt()),a=V(owt()),s=V(lwt()),o=V(cwt()),l=V(uwt()),c=V(dwt()),u=V(pwt()),d=V(hwt()),h=V(fwt()),p=V(mwt()),m=V(gwt()),g=V(bwt()),b=V(ywt()),y=V(vwt()),v=V(Twt()),S=V(Swt()),x=V(xwt()),w=V(wwt()),A=V(_wt()),_=V(Awt()),C=V(Cwt()),E=V(Ewt()),R=V(Pwt()),P=V(jwt()),O=V(Rwt()),k=V(Iwt()),I=V(Owt()),M=V(Mwt()),D=V(kwt()),F=V(Dwt()),$=V(Lwt()),Y=V(Fwt()),he=V($wt()),fe=V(Bwt()),U=V(Nwt()),W=V(qwt()),H=V(zwt()),ie=V(Wwt()),J=V(Hwt()),we=V(Uwt()),Le=V(Gwt()),Ye=V(Vwt()),oe=V(Ywt()),X=V(Kwt()),se=V(Xwt()),Ce=V(Qwt()),ce=V(Jwt()),le=V(Zwt()),Te=V(e6t()),be=V(t6t()),ze=V(r6t()),Ze=V(n6t()),St=V(i6t()),Ut=V(a6t()),Rt=V(s6t()),Dt=V(o6t()),nt=V(l6t()),Pr=V(c6t()),q=V(u6t()),K=V(d6t()),pe=V(p6t()),ye=V(h6t()),ke=V(f6t()),je=V(m6t()),qe=V(g6t()),Fe=V(b6t()),We=V(y6t()),Ct=V(v6t()),Wt=V(T6t()),It=V(S6t()),nr=V(x6t()),L0=V(w6t()),P0=V(_6t()),Ia=V(A6t()),Oa=V(C6t()),Gs=V(E6t()),Ma=V(P6t()),Vs=V(j6t()),Ys=V(R6t()),Ks=V(I6t());function V(Xs){return Xs&&Xs.__esModule?Xs:{default:Xs}}T(V,"_interopRequireDefault");var Kl=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",i.default],["banner",a.default],["blockquote",s.default],["button",o.default],["caption",l.default],["cell",c.default],["checkbox",u.default],["code",d.default],["columnheader",h.default],["combobox",p.default],["complementary",m.default],["contentinfo",g.default],["definition",b.default],["deletion",y.default],["dialog",v.default],["directory",S.default],["document",x.default],["emphasis",w.default],["feed",A.default],["figure",_.default],["form",C.default],["generic",E.default],["grid",R.default],["gridcell",P.default],["group",O.default],["heading",k.default],["img",I.default],["insertion",M.default],["link",D.default],["list",F.default],["listbox",$.default],["listitem",Y.default],["log",he.default],["main",fe.default],["mark",U.default],["marquee",W.default],["math",H.default],["menu",ie.default],["menubar",J.default],["menuitem",we.default],["menuitemcheckbox",Le.default],["menuitemradio",Ye.default],["meter",oe.default],["navigation",X.default],["none",se.default],["note",Ce.default],["option",ce.default],["paragraph",le.default],["presentation",Te.default],["progressbar",be.default],["radio",ze.default],["radiogroup",Ze.default],["region",St.default],["row",Ut.default],["rowgroup",Rt.default],["rowheader",Dt.default],["scrollbar",nt.default],["search",Pr.default],["searchbox",q.default],["separator",K.default],["slider",pe.default],["spinbutton",ye.default],["status",ke.default],["strong",je.default],["subscript",qe.default],["superscript",Fe.default],["switch",We.default],["tab",Ct.default],["table",Wt.default],["tablist",It.default],["tabpanel",nr.default],["term",L0.default],["textbox",P0.default],["time",Ia.default],["timer",Oa.default],["toolbar",Gs.default],["tooltip",Ma.default],["tree",Vs.default],["treegrid",Ys.default],["treeitem",Ks.default]],Gi=Kl;e.default=Gi}),M6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),k6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),D6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),L6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),F6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),$6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}),B6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),N6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),q6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),z6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),W6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),H6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}),U6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),G6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),V6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),Y6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}),K6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),X6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),Q6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),J6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),Z6t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),e4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),t4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),r4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),n4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),i4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),a4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),s4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}),o4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}),l4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}),c4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),u4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),d4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),p4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}),h4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}),f4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}),m4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}),g4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}),b4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}),y4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=H(M6t()),r=H(k6t()),n=H(D6t()),i=H(L6t()),a=H(F6t()),s=H($6t()),o=H(B6t()),l=H(N6t()),c=H(q6t()),u=H(z6t()),d=H(W6t()),h=H(H6t()),p=H(U6t()),m=H(G6t()),g=H(V6t()),b=H(Y6t()),y=H(K6t()),v=H(X6t()),S=H(Q6t()),x=H(J6t()),w=H(Z6t()),A=H(e4t()),_=H(t4t()),C=H(r4t()),E=H(n4t()),R=H(i4t()),P=H(a4t()),O=H(s4t()),k=H(o4t()),I=H(l4t()),M=H(c4t()),D=H(u4t()),F=H(d4t()),$=H(p4t()),Y=H(h4t()),he=H(f4t()),fe=H(m4t()),U=H(g4t()),W=H(b4t());function H(we){return we&&we.__esModule?we:{default:we}}T(H,"_interopRequireDefault");var ie=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",i.default],["doc-backlink",a.default],["doc-biblioentry",s.default],["doc-bibliography",o.default],["doc-biblioref",l.default],["doc-chapter",c.default],["doc-colophon",u.default],["doc-conclusion",d.default],["doc-cover",h.default],["doc-credit",p.default],["doc-credits",m.default],["doc-dedication",g.default],["doc-endnote",b.default],["doc-endnotes",y.default],["doc-epigraph",v.default],["doc-epilogue",S.default],["doc-errata",x.default],["doc-example",w.default],["doc-footnote",A.default],["doc-foreword",_.default],["doc-glossary",C.default],["doc-glossref",E.default],["doc-index",R.default],["doc-introduction",P.default],["doc-noteref",O.default],["doc-notice",k.default],["doc-pagebreak",I.default],["doc-pagelist",M.default],["doc-part",D.default],["doc-preface",F.default],["doc-prologue",$.default],["doc-pullquote",Y.default],["doc-qna",he.default],["doc-subtitle",fe.default],["doc-tip",U.default],["doc-toc",W.default]],J=ie;e.default=J}),v4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}),T4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}),S4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}),x4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(v4t()),r=i(T4t()),n=i(S4t());function i(o){return o&&o.__esModule?o:{default:o}}T(i,"_interopRequireDefault");var a=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],s=a;e.default=s}),Az=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(rwt()),r=s(O6t()),n=s(y4t()),i=s(x4t()),a=s(Nv());function s(v){return v&&v.__esModule?v:{default:v}}T(s,"_interopRequireDefault");function o(v,S,x){return S in v?Object.defineProperty(v,S,{value:x,enumerable:!0,configurable:!0,writable:!0}):v[S]=x,v}T(o,"_defineProperty");function l(v,S){var x=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!x){if(Array.isArray(v)||(x=d(v))||S&&v&&typeof v.length=="number"){x&&(v=x);var w=0,A=T(function(){},"F");return{s:A,n:T(function(){return w>=v.length?{done:!0}:{done:!1,value:v[w++]}},"n"),e:T(function(R){throw R},"e"),f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _=!0,C=!1,E;return{s:T(function(){x=x.call(v)},"s"),n:T(function(){var R=x.next();return _=R.done,R},"n"),e:T(function(R){C=!0,E=R},"e"),f:T(function(){try{!_&&x.return!=null&&x.return()}finally{if(C)throw E}},"f")}}T(l,"_createForOfIteratorHelper");function c(v,S){return m(v)||p(v,S)||d(v,S)||u()}T(c,"_slicedToArray");function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}T(u,"_nonIterableRest");function d(v,S){if(v){if(typeof v=="string")return h(v,S);var x=Object.prototype.toString.call(v).slice(8,-1);if(x==="Object"&&v.constructor&&(x=v.constructor.name),x==="Map"||x==="Set")return Array.from(v);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return h(v,S)}}T(d,"_unsupportedIterableToArray");function h(v,S){(S==null||S>v.length)&&(S=v.length);for(var x=0,w=new Array(S);x<S;x++)w[x]=v[x];return w}T(h,"_arrayLikeToArray");function p(v,S){var x=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(x!=null){var w=[],A=!0,_=!1,C,E;try{for(x=x.call(v);!(A=(C=x.next()).done)&&(w.push(C.value),!(S&&w.length===S));A=!0);}catch(R){_=!0,E=R}finally{try{!A&&x.return!=null&&x.return()}finally{if(_)throw E}}return w}}T(p,"_iterableToArrayLimit");function m(v){if(Array.isArray(v))return v}T(m,"_arrayWithHoles");var g=[].concat(t.default,r.default,n.default,i.default);g.forEach(function(v){var S=c(v,2),x=S[1],w=l(x.superClass),A;try{for(w.s();!(A=w.n()).done;){var _=A.value,C=l(_),E;try{var R=T(function(){var P=E.value,O=g.find(function(F){var $=c(F,1),Y=$[0];return Y===P});if(O)for(var k=O[1],I=0,M=Object.keys(k.props);I<M.length;I++){var D=M[I];Object.prototype.hasOwnProperty.call(x.props,D)||Object.assign(x.props,o({},D,k.props[D]))}},"_loop");for(C.s();!(E=C.n()).done;)R()}catch(P){C.e(P)}finally{C.f()}}}catch(P){w.e(P)}finally{w.f()}});var b={entries:T(function(){return g},"entries"),forEach:T(function(v){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,x=l(g),w;try{for(x.s();!(w=x.n()).done;){var A=c(w.value,2),_=A[0],C=A[1];v.call(S,C,_,g)}}catch(E){x.e(E)}finally{x.f()}},"forEach"),get:T(function(v){var S=g.find(function(x){return x[0]===v});return S&&S[1]},"get"),has:T(function(v){return!!b.get(v)},"has"),keys:T(function(){return g.map(function(v){var S=c(v,1),x=S[0];return x})},"keys"),values:T(function(){return g.map(function(v){var S=c(v,2),x=S[1];return x})},"values")},y=(0,a.default)(b,b.entries());e.default=y}),k2e={};M4(k2e,{dequal:()=>vx});function vx(e,t){var r,n;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&vx(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(gk.call(e,r)&&++n&&!gk.call(t,r)||!(r in t)||!vx(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var gk,w4t=y2t(()=>{gk=Object.prototype.hasOwnProperty,T(vx,"dequal")}),_4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(w4t(),v2t(k2e)),r=i(Nv()),n=i(Az());function i(A){return A&&A.__esModule?A:{default:A}}T(i,"_interopRequireDefault");function a(A,_){return l(A)||o(A,_)||u(A,_)||s()}T(a,"_slicedToArray");function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}T(s,"_nonIterableRest");function o(A,_){var C=A==null?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(C!=null){var E=[],R=!0,P=!1,O,k;try{for(C=C.call(A);!(R=(O=C.next()).done)&&(E.push(O.value),!(_&&E.length===_));R=!0);}catch(I){P=!0,k=I}finally{try{!R&&C.return!=null&&C.return()}finally{if(P)throw k}}return E}}T(o,"_iterableToArrayLimit");function l(A){if(Array.isArray(A))return A}T(l,"_arrayWithHoles");function c(A,_){var C=typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(!C){if(Array.isArray(A)||(C=u(A))||_&&A&&typeof A.length=="number"){C&&(A=C);var E=0,R=T(function(){},"F");return{s:R,n:T(function(){return E>=A.length?{done:!0}:{done:!1,value:A[E++]}},"n"),e:T(function(I){throw I},"e"),f:R}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var P=!0,O=!1,k;return{s:T(function(){C=C.call(A)},"s"),n:T(function(){var I=C.next();return P=I.done,I},"n"),e:T(function(I){O=!0,k=I},"e"),f:T(function(){try{!P&&C.return!=null&&C.return()}finally{if(O)throw k}},"f")}}T(c,"_createForOfIteratorHelper");function u(A,_){if(A){if(typeof A=="string")return d(A,_);var C=Object.prototype.toString.call(A).slice(8,-1);if(C==="Object"&&A.constructor&&(C=A.constructor.name),C==="Map"||C==="Set")return Array.from(A);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return d(A,_)}}T(u,"_unsupportedIterableToArray");function d(A,_){(_==null||_>A.length)&&(_=A.length);for(var C=0,E=new Array(_);C<_;C++)E[C]=A[C];return E}T(d,"_arrayLikeToArray");var h=[],p=n.default.keys();for(S=0;S<p.length;S++)if(m=p[S],g=n.default.get(m),g)for(b=[].concat(g.baseConcepts,g.relatedConcepts),v=0;v<b.length;v++)y=b[v],y.module==="HTML"&&(function(){var A=y.concept;if(A){var _=h.find(function(P){return(0,t.dequal)(P,A)}),C;_?C=_[1]:C=[];for(var E=!0,R=0;R<C.length;R++)if(C[R]===m){E=!1;break}E&&C.push(m),h.push([A,C])}})();var m,g,b,y,v,S,x={entries:T(function(){return h},"entries"),forEach:T(function(A){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=c(h),E;try{for(C.s();!(E=C.n()).done;){var R=a(E.value,2),P=R[0],O=R[1];A.call(_,O,P,h)}}catch(k){C.e(k)}finally{C.f()}},"forEach"),get:T(function(A){var _=h.find(function(C){return A.name===C[0].name&&(0,t.dequal)(A.attributes,C[0].attributes)});return _&&_[1]},"get"),has:T(function(A){return!!x.get(A)},"has"),keys:T(function(){return h.map(function(A){var _=a(A,1),C=_[0];return C})},"keys"),values:T(function(){return h.map(function(A){var _=a(A,2),C=_[1];return C})},"values")},w=(0,r.default)(x,x.entries());e.default=w}),A4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Nv()),r=n(Az());function n(_){return _&&_.__esModule?_:{default:_}}T(n,"_interopRequireDefault");function i(_,C){return o(_)||s(_,C)||c(_,C)||a()}T(i,"_slicedToArray");function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}T(a,"_nonIterableRest");function s(_,C){var E=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(E!=null){var R=[],P=!0,O=!1,k,I;try{for(E=E.call(_);!(P=(k=E.next()).done)&&(R.push(k.value),!(C&&R.length===C));P=!0);}catch(M){O=!0,I=M}finally{try{!P&&E.return!=null&&E.return()}finally{if(O)throw I}}return R}}T(s,"_iterableToArrayLimit");function o(_){if(Array.isArray(_))return _}T(o,"_arrayWithHoles");function l(_,C){var E=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!E){if(Array.isArray(_)||(E=c(_))||C&&_&&typeof _.length=="number"){E&&(_=E);var R=0,P=T(function(){},"F");return{s:P,n:T(function(){return R>=_.length?{done:!0}:{done:!1,value:_[R++]}},"n"),e:T(function(M){throw M},"e"),f:P}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var O=!0,k=!1,I;return{s:T(function(){E=E.call(_)},"s"),n:T(function(){var M=E.next();return O=M.done,M},"n"),e:T(function(M){k=!0,I=M},"e"),f:T(function(){try{!O&&E.return!=null&&E.return()}finally{if(k)throw I}},"f")}}T(l,"_createForOfIteratorHelper");function c(_,C){if(_){if(typeof _=="string")return u(_,C);var E=Object.prototype.toString.call(_).slice(8,-1);if(E==="Object"&&_.constructor&&(E=_.constructor.name),E==="Map"||E==="Set")return Array.from(_);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return u(_,C)}}T(c,"_unsupportedIterableToArray");function u(_,C){(C==null||C>_.length)&&(C=_.length);for(var E=0,R=new Array(C);E<C;E++)R[E]=_[E];return R}T(u,"_arrayLikeToArray");var d=[],h=r.default.keys();for(x=0;x<h.length;x++)if(p=h[x],m=r.default.get(p),g=[],m){for(b=[].concat(m.baseConcepts,m.relatedConcepts),S=0;S<b.length;S++)y=b[S],y.module==="HTML"&&(v=y.concept,v!=null&&g.push(v));g.length>0&&d.push([p,g])}var p,m,g,b,y,v,S,x,w={entries:T(function(){return d},"entries"),forEach:T(function(_){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=l(d),R;try{for(E.s();!(R=E.n()).done;){var P=i(R.value,2),O=P[0],k=P[1];_.call(C,k,O,d)}}catch(I){E.e(I)}finally{E.f()}},"forEach"),get:T(function(_){var C=d.find(function(E){return E[0]===_});return C&&C[1]},"get"),has:T(function(_){return!!w.get(_)},"has"),keys:T(function(){return d.map(function(_){var C=i(_,1),E=C[0];return E})},"keys"),values:T(function(){return d.map(function(_){var C=i(_,2),E=C[1];return E})},"values")},A=(0,t.default)(w,w.entries());e.default=A}),C4t=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(zxt()),r=s(Wxt()),n=s(Az()),i=s(_4t()),a=s(A4t());function s(h){return h&&h.__esModule?h:{default:h}}T(s,"_interopRequireDefault");var o=t.default;e.aria=o;var l=r.default;e.dom=l;var c=n.default;e.roles=c;var u=i.default;e.elementRoles=u;var d=a.default;e.roleElements=d}),E4t=N((e,t)=>{var r=(function(){var n=String.fromCharCode,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function o(c,u){if(!s[c]){s[c]={};for(var d=0;d<c.length;d++)s[c][c.charAt(d)]=d}return s[c][u]}T(o,"getBaseValue");var l={compressToBase64:T(function(c){if(c==null)return"";var u=l._compress(c,6,function(d){return i.charAt(d)});switch(u.length%4){default:case 0:return u;case 1:return u+"===";case 2:return u+"==";case 3:return u+"="}},"compressToBase64"),decompressFromBase64:T(function(c){return c==null?"":c==""?null:l._decompress(c.length,32,function(u){return o(i,c.charAt(u))})},"decompressFromBase64"),compressToUTF16:T(function(c){return c==null?"":l._compress(c,15,function(u){return n(u+32)})+" "},"compressToUTF16"),decompressFromUTF16:T(function(c){return c==null?"":c==""?null:l._decompress(c.length,16384,function(u){return c.charCodeAt(u)-32})},"decompressFromUTF16"),compressToUint8Array:T(function(c){for(var u=l.compress(c),d=new Uint8Array(u.length*2),h=0,p=u.length;h<p;h++){var m=u.charCodeAt(h);d[h*2]=m>>>8,d[h*2+1]=m%256}return d},"compressToUint8Array"),decompressFromUint8Array:T(function(c){if(c==null)return l.decompress(c);for(var u=new Array(c.length/2),d=0,h=u.length;d<h;d++)u[d]=c[d*2]*256+c[d*2+1];var p=[];return u.forEach(function(m){p.push(n(m))}),l.decompress(p.join(""))},"decompressFromUint8Array"),compressToEncodedURIComponent:T(function(c){return c==null?"":l._compress(c,6,function(u){return a.charAt(u)})},"compressToEncodedURIComponent"),decompressFromEncodedURIComponent:T(function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),l._decompress(c.length,32,function(u){return o(a,c.charAt(u))}))},"decompressFromEncodedURIComponent"),compress:T(function(c){return l._compress(c,16,function(u){return n(u)})},"compress"),_compress:T(function(c,u,d){if(c==null)return"";var h,p,m={},g={},b="",y="",v="",S=2,x=3,w=2,A=[],_=0,C=0,E;for(E=0;E<c.length;E+=1)if(b=c.charAt(E),Object.prototype.hasOwnProperty.call(m,b)||(m[b]=x++,g[b]=!0),y=v+b,Object.prototype.hasOwnProperty.call(m,y))v=y;else{if(Object.prototype.hasOwnProperty.call(g,v)){if(v.charCodeAt(0)<256){for(h=0;h<w;h++)_=_<<1,C==u-1?(C=0,A.push(d(_)),_=0):C++;for(p=v.charCodeAt(0),h=0;h<8;h++)_=_<<1|p&1,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=p>>1}else{for(p=1,h=0;h<w;h++)_=_<<1|p,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=0;for(p=v.charCodeAt(0),h=0;h<16;h++)_=_<<1|p&1,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=p>>1}S--,S==0&&(S=Math.pow(2,w),w++),delete g[v]}else for(p=m[v],h=0;h<w;h++)_=_<<1|p&1,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=p>>1;S--,S==0&&(S=Math.pow(2,w),w++),m[y]=x++,v=String(b)}if(v!==""){if(Object.prototype.hasOwnProperty.call(g,v)){if(v.charCodeAt(0)<256){for(h=0;h<w;h++)_=_<<1,C==u-1?(C=0,A.push(d(_)),_=0):C++;for(p=v.charCodeAt(0),h=0;h<8;h++)_=_<<1|p&1,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=p>>1}else{for(p=1,h=0;h<w;h++)_=_<<1|p,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=0;for(p=v.charCodeAt(0),h=0;h<16;h++)_=_<<1|p&1,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=p>>1}S--,S==0&&(S=Math.pow(2,w),w++),delete g[v]}else for(p=m[v],h=0;h<w;h++)_=_<<1|p&1,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=p>>1;S--,S==0&&(S=Math.pow(2,w),w++)}for(p=2,h=0;h<w;h++)_=_<<1|p&1,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=p>>1;for(;;)if(_=_<<1,C==u-1){A.push(d(_));break}else C++;return A.join("")},"_compress"),decompress:T(function(c){return c==null?"":c==""?null:l._decompress(c.length,32768,function(u){return c.charCodeAt(u)})},"decompress"),_decompress:T(function(c,u,d){var h=[],p=4,m=4,g=3,b="",y=[],v,S,x,w,A,_,C,E={val:d(0),position:u,index:1};for(v=0;v<3;v+=1)h[v]=v;for(x=0,A=Math.pow(2,2),_=1;_!=A;)w=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),x|=(w>0?1:0)*_,_<<=1;switch(x){case 0:for(x=0,A=Math.pow(2,8),_=1;_!=A;)w=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),x|=(w>0?1:0)*_,_<<=1;C=n(x);break;case 1:for(x=0,A=Math.pow(2,16),_=1;_!=A;)w=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),x|=(w>0?1:0)*_,_<<=1;C=n(x);break;case 2:return""}for(h[3]=C,S=C,y.push(C);;){if(E.index>c)return"";for(x=0,A=Math.pow(2,g),_=1;_!=A;)w=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),x|=(w>0?1:0)*_,_<<=1;switch(C=x){case 0:for(x=0,A=Math.pow(2,8),_=1;_!=A;)w=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),x|=(w>0?1:0)*_,_<<=1;h[m++]=n(x),C=m-1,p--;break;case 1:for(x=0,A=Math.pow(2,16),_=1;_!=A;)w=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),x|=(w>0?1:0)*_,_<<=1;h[m++]=n(x),C=m-1,p--;break;case 2:return y.join("")}if(p==0&&(p=Math.pow(2,g),g++),h[C])b=h[C];else if(C===m)b=S+S.charAt(0);else return null;y.push(b),h[m++]=S+b.charAt(0),p--,S=b,p==0&&(p=Math.pow(2,g),g++)}},"_decompress")};return l})();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}),D2e=Object.defineProperty,P4t=Object.getOwnPropertyNames,Ie=T((e,t)=>D2e(e,"name",{value:t,configurable:!0}),"__name"),j4t=T((e,t)=>T(function(){return t||(0,e[P4t(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),Cz=T((e,t)=>{for(var r in t)D2e(e,r,{get:t[r],enumerable:!0})},"__export"),R4t=j4t({"(disabled):util"(){}}),pl={};Cz(pl,{addChainableMethod:T(()=>J4,"addChainableMethod"),addLengthGuard:T(()=>F1,"addLengthGuard"),addMethod:T(()=>K4,"addMethod"),addProperty:T(()=>Y4,"addProperty"),checkError:T(()=>Fa,"checkError"),compareByInspect:T(()=>m7,"compareByInspect"),eql:T(()=>$2e,"eql"),expectTypes:T(()=>Mz,"expectTypes"),flag:T(()=>Xt,"flag"),getActual:T(()=>zv,"getActual"),getMessage:T(()=>W4,"getMessage"),getName:T(()=>Hv,"getName"),getOperator:T(()=>r_,"getOperator"),getOwnEnumerableProperties:T(()=>t_,"getOwnEnumerableProperties"),getOwnEnumerablePropertySymbols:T(()=>e_,"getOwnEnumerablePropertySymbols"),getPathInfo:T(()=>V4,"getPathInfo"),hasProperty:T(()=>Wv,"hasProperty"),inspect:T(()=>Ar,"inspect"),isNaN:T(()=>kx,"isNaN"),isNumeric:T(()=>$n,"isNumeric"),isProxyEnabled:T(()=>L1,"isProxyEnabled"),isRegExp:T(()=>g7,"isRegExp"),objDisplay:T(()=>cd,"objDisplay"),overwriteChainableMethod:T(()=>Z4,"overwriteChainableMethod"),overwriteMethod:T(()=>Q4,"overwriteMethod"),overwriteProperty:T(()=>X4,"overwriteProperty"),proxify:T(()=>nf,"proxify"),test:T(()=>q4,"test"),transferFlags:T(()=>Fs,"transferFlags"),type:T(()=>Jr,"type")});var Fa={};Cz(Fa,{compatibleConstructor:T(()=>jz,"compatibleConstructor"),compatibleInstance:T(()=>Pz,"compatibleInstance"),compatibleMessage:T(()=>Rz,"compatibleMessage"),getConstructorName:T(()=>Iz,"getConstructorName"),getMessage:T(()=>Oz,"getMessage")});function qv(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}T(qv,"isErrorInstance");Ie(qv,"isErrorInstance");function Ez(e){return Object.prototype.toString.call(e)==="[object RegExp]"}T(Ez,"isRegExp");Ie(Ez,"isRegExp");function Pz(e,t){return qv(t)&&e===t}T(Pz,"compatibleInstance");Ie(Pz,"compatibleInstance");function jz(e,t){return qv(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}T(jz,"compatibleConstructor");Ie(jz,"compatibleConstructor");function Rz(e,t){let r=typeof e=="string"?e:e.message;return Ez(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}T(Rz,"compatibleMessage");Ie(Rz,"compatibleMessage");function Iz(e){let t=e;return qv(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}T(Iz,"getConstructorName");Ie(Iz,"getConstructorName");function Oz(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}T(Oz,"getMessage");Ie(Oz,"getMessage");function Xt(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}T(Xt,"flag");Ie(Xt,"flag");function q4(e,t){var r=Xt(e,"negate"),n=t[0];return r?!n:n}T(q4,"test");Ie(q4,"test");function Jr(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}T(Jr,"type");Ie(Jr,"type");var I4t="captureStackTrace"in Error,Pb,Lr=(Pb=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);ht(this,"message");this.message=t,I4t&&Error.captureStackTrace(this,n||Pb);for(let i in r)i in this||(this[i]=r[i])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}},T(Pb,"_AssertionError"),Ie(Pb,"AssertionError"),Pb);function Mz(e,t){var r=Xt(e,"message"),n=Xt(e,"ssfi");r=r?r+": ":"",e=Xt(e,"object"),t=t.map(function(s){return s.toLowerCase()}),t.sort();var i=t.map(function(s,o){var l=~["a","e","i","o","u"].indexOf(s.charAt(0))?"an":"a",c=t.length>1&&o===t.length-1?"or ":"";return c+l+" "+s}).join(", "),a=Jr(e).toLowerCase();if(!t.some(function(s){return a===s}))throw new Lr(r+"object tested must be "+i+", but "+a+" given",void 0,n)}T(Mz,"expectTypes");Ie(Mz,"expectTypes");function zv(e,t){return t.length>4?t[4]:e._obj}T(zv,"getActual");Ie(zv,"getActual");var Mte={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},O4t={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Cg="…";function kz(e,t){let r=Mte[O4t[t]]||Mte[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}T(kz,"colorise");Ie(kz,"colorise");function Dz({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:i=!1,maxArrayLength:a=1/0,breakLength:s=1/0,seen:o=[],truncate:l=1/0,stylize:c=String}={},u){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!i,maxArrayLength:Number(a),breakLength:Number(s),truncate:Number(l),seen:o,inspect:u,stylize:c};return d.colors&&(d.stylize=kz),d}T(Dz,"normaliseOptions");Ie(Dz,"normaliseOptions");function Lz(e){return e>="\uD800"&&e<="\uDBFF"}T(Lz,"isHighSurrogate");Ie(Lz,"isHighSurrogate");function zl(e,t,r=Cg){e=String(e);let n=r.length,i=e.length;if(n>t&&i>n)return r;if(i>t&&i>n){let a=t-n;return a>0&&Lz(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}T(zl,"truncate");Ie(zl,"truncate");function ts(e,t,r,n=", "){r=r||t.inspect;let i=e.length;if(i===0)return"";let a=t.truncate,s="",o="",l="";for(let c=0;c<i;c+=1){let u=c+1===e.length,d=c+2===e.length;l=`${Cg}(${e.length-c})`;let h=e[c];t.truncate=a-s.length-(u?0:n.length);let p=o||r(h,t)+(u?"":n),m=s.length+p.length,g=m+l.length;if(u&&m>a&&s.length+l.length<=a||!u&&!d&&g>a||(o=u?"":r(e[c+1],t)+(d?"":n),!u&&d&&g>a&&m+o.length>a))break;if(s+=p,!u&&!d&&m+o.length>=a){l=`${Cg}(${e.length-c-1})`;break}l=""}return`${s}${l}`}T(ts,"inspectList");Ie(ts,"inspectList");function Fz(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}T(Fz,"quoteComplexKey");Ie(Fz,"quoteComplexKey");function Ph([e,t],r){return r.truncate-=2,typeof e=="string"?e=Fz(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}T(Ph,"inspectProperty");Ie(Ph,"inspectProperty");function $z(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=ts(e,t);t.truncate-=n.length;let i="";return r.length&&(i=ts(r.map(a=>[a,e[a]]),t,Ph)),`[ ${n}${i?`, ${i}`:""} ]`}T($z,"inspectArray");Ie($z,"inspectArray");var M4t=Ie(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Zs(e,t){let r=M4t(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let i="";for(let s=0;s<e.length;s++){let o=`${t.stylize(zl(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=o.length,e[s]!==e.length&&t.truncate<=3){i+=`${Cg}(${e.length-e[s]+1})`;break}i+=o}let a="";return n.length&&(a=ts(n.map(s=>[s,e[s]]),t,Ph)),`${r}[ ${i}${a?`, ${a}`:""} ]`}T(Zs,"inspectTypedArray");Ie(Zs,"inspectTypedArray");function Bz(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),i=n[0];return t.stylize(`${i}T${zl(n[1],t.truncate-i.length-1)}`,"date")}T(Bz,"inspectDate");Ie(Bz,"inspectDate");function Tx(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${zl(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}T(Tx,"inspectFunction");Ie(Tx,"inspectFunction");function Nz([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}T(Nz,"inspectMapEntry");Ie(Nz,"inspectMapEntry");function qz(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}T(qz,"mapToEntries");Ie(qz,"mapToEntries");function zz(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${ts(qz(e),t,Nz)} }`)}T(zz,"inspectMap");Ie(zz,"inspectMap");var k4t=Number.isNaN||(e=>e!==e);function Sx(e,t){return k4t(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(zl(String(e),t.truncate),"number")}T(Sx,"inspectNumber");Ie(Sx,"inspectNumber");function xx(e,t){let r=zl(e.toString(),t.truncate-1);return r!==Cg&&(r+="n"),t.stylize(r,"bigint")}T(xx,"inspectBigInt");Ie(xx,"inspectBigInt");function Wz(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),i=e.source;return t.stylize(`/${zl(i,n)}/${r}`,"regexp")}T(Wz,"inspectRegExp");Ie(Wz,"inspectRegExp");function Hz(e){let t=[];return e.forEach(r=>{t.push(r)}),t}T(Hz,"arrayFromSet");Ie(Hz,"arrayFromSet");function Uz(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${ts(Hz(e),t)} }`)}T(Uz,"inspectSet");Ie(Uz,"inspectSet");var kte=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),D4t={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},L4t=16;function Gz(e){return D4t[e]||`\\u${`0000${e.charCodeAt(0).toString(L4t)}`.slice(-4)}`}T(Gz,"escape");Ie(Gz,"escape");function wx(e,t){return kte.test(e)&&(e=e.replace(kte,Gz)),t.stylize(`'${zl(e,t.truncate-2)}'`,"string")}T(wx,"inspectString");Ie(wx,"inspectString");function _x(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}T(_x,"inspectSymbol");Ie(_x,"inspectSymbol");var L2e=Ie(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(L2e=Ie((n,i)=>{let[a,s]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${i.inspect(s,i)}}`},"getPromiseValue"))}catch(e){}var F4t=L2e;function Lm(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=ts(r.map(o=>[o,e[o]]),t,Ph),a=ts(n.map(o=>[o,e[o]]),t,Ph);t.seen.pop();let s="";return i&&a&&(s=", "),`{ ${i}${s}${a} }`}T(Lm,"inspectObject");Ie(Lm,"inspectObject");var C9=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Vz(e,t){let r="";return C9&&C9 in e&&(r=e[C9]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Lm(e,t)}`}T(Vz,"inspectClass");Ie(Vz,"inspectClass");function Yz(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${ts(e,t)} ]`)}T(Yz,"inspectArguments");Ie(Yz,"inspectArguments");var $4t=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Kz(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>$4t.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let i="";if(typeof e.message=="string"?i=zl(e.message,t.truncate):r.unshift("message"),i=i?`: ${i}`:"",t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=ts(r.map(s=>[s,e[s]]),t,Ph);return`${n}${i}${a?` { ${a} }`:""}`}T(Kz,"inspectObject2");Ie(Kz,"inspectObject");function Xz([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}T(Xz,"inspectAttribute");Ie(Xz,"inspectAttribute");function p7(e,t){return ts(e,t,z4,`
`)}T(p7,"inspectHTMLCollection");Ie(p7,"inspectHTMLCollection");function z4(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),i=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let o="";r.length>0&&(o+=" ",o+=ts(r.map(u=>[u,e.getAttribute(u)]),t,Xz," ")),t.truncate-=o.length;let l=t.truncate,c=p7(e.children,t);return c&&c.length>l&&(c=`${Cg}(${e.children.length})`),`${i}${o}${a}${c}${s}`}T(z4,"inspectHTML");Ie(z4,"inspectHTML");var B4t=typeof Symbol=="function"&&typeof Symbol.for=="function",E9=B4t?Symbol.for("chai/inspect"):"@@chai/inspect",sm=!1;try{let e=R4t();sm=e.inspect?e.inspect.custom:!1}catch(e){sm=!1}var Dte=new WeakMap,Lte={},Fte={undefined:T((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:T((e,t)=>t.stylize("null","null"),"null"),boolean:T((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:T((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Sx,Number:Sx,bigint:xx,BigInt:xx,string:wx,String:wx,function:Tx,Function:Tx,symbol:_x,Symbol:_x,Array:$z,Date:Bz,Map:zz,Set:Uz,RegExp:Wz,Promise:F4t,WeakSet:T((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:T((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:Yz,Int8Array:Zs,Uint8Array:Zs,Uint8ClampedArray:Zs,Int16Array:Zs,Uint16Array:Zs,Int32Array:Zs,Uint32Array:Zs,Float32Array:Zs,Float64Array:Zs,Generator:T(()=>"","Generator"),DataView:T(()=>"","DataView"),ArrayBuffer:T(()=>"","ArrayBuffer"),Error:Kz,HTMLCollection:p7,NodeList:p7},N4t=Ie((e,t,r)=>E9 in e&&typeof e[E9]=="function"?e[E9](t):sm&&sm in e&&typeof e[sm]=="function"?e[sm](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Dte.has(e.constructor)?Dte.get(e.constructor)(e,t):Lte[r]?Lte[r](e,t):"","inspectCustom"),q4t=Object.prototype.toString;function h7(e,t={}){let r=Dz(t,h7),{customInspect:n}=r,i=e===null?"null":typeof e;if(i==="object"&&(i=q4t.call(e).slice(8,-1)),i in Fte)return Fte[i](e,r);if(n&&e){let s=N4t(e,r,i);if(s)return typeof s=="string"?s:h7(s,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?Lm(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?z4(e,r):"constructor"in e?e.constructor!==Object?Vz(e,r):Lm(e,r):e===Object(e)?Lm(e,r):r.stylize(String(e),i)}T(h7,"inspect");Ie(h7,"inspect");var sa={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function Ar(e,t,r,n){var i={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:sa.truncateThreshold?sa.truncateThreshold:1/0};return h7(e,i)}T(Ar,"inspect2");Ie(Ar,"inspect");function cd(e){var t=Ar(e),r=Object.prototype.toString.call(e);if(sa.truncateThreshold&&t.length>=sa.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){var n=Object.keys(e),i=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+i+") }"}else return t}else return t}T(cd,"objDisplay");Ie(cd,"objDisplay");function W4(e,t){var r=Xt(e,"negate"),n=Xt(e,"object"),i=t[3],a=zv(e,t),s=r?t[2]:t[1],o=Xt(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return cd(n)}).replace(/#\{act\}/g,function(){return cd(a)}).replace(/#\{exp\}/g,function(){return cd(i)}),o?o+": "+s:s}T(W4,"getMessage2");Ie(W4,"getMessage");function Fs(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var i in n)(r||i!=="object"&&i!=="ssfi"&&i!=="lockSsfi"&&i!="message")&&(t.__flags[i]=n[i])}T(Fs,"transferFlags");Ie(Fs,"transferFlags");function Ax(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}T(Ax,"type2");Ie(Ax,"type");function H4(){this._key="chai/deep-eql__"+Math.random()+Date.now()}T(H4,"FakeMap");Ie(H4,"FakeMap");H4.prototype={get:Ie(T(function(e){return e[this._key]},"get"),"get"),set:Ie(T(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set"),"set")};var F2e=typeof WeakMap=="function"?WeakMap:H4;function Cx(e,t,r){if(!r||Pd(e)||Pd(t))return null;var n=r.get(e);if(n){var i=n.get(t);if(typeof i=="boolean")return i}return null}T(Cx,"memoizeCompare");Ie(Cx,"memoizeCompare");function om(e,t,r,n){if(!(!r||Pd(e)||Pd(t))){var i=r.get(e);i?i.set(t,n):(i=new F2e,i.set(t,n),r.set(e,i))}}T(om,"memoizeSet");Ie(om,"memoizeSet");var $2e=D1;function D1(e,t,r){if(r&&r.comparator)return Ex(e,t,r);var n=U4(e,t);return n!==null?n:Ex(e,t,r)}T(D1,"deepEqual");Ie(D1,"deepEqual");function U4(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Pd(e)||Pd(t)?!1:null}T(U4,"simpleEqual");Ie(U4,"simpleEqual");function Ex(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new F2e;var n=r&&r.comparator,i=Cx(e,t,r.memoize);if(i!==null)return i;var a=Cx(t,e,r.memoize);if(a!==null)return a;if(n){var s=n(e,t);if(s===!1||s===!0)return om(e,t,r.memoize,s),s;var o=U4(e,t);if(o!==null)return o}var l=Ax(e);if(l!==Ax(t))return om(e,t,r.memoize,!1),!1;om(e,t,r.memoize,!0);var c=Qz(e,t,l,r);return om(e,t,r.memoize,c),c}T(Ex,"extensiveDeepEqual");Ie(Ex,"extensiveDeepEqual");function Qz(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return D1(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return G4(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return Kc(e,t,n);case"RegExp":return Jz(e,t);case"Generator":return Zz(e,t,n);case"DataView":return Kc(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Kc(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Px(e,t,n);case"Map":return Px(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return tW(e,t,n)}}T(Qz,"extensiveDeepEqualByType");Ie(Qz,"extensiveDeepEqualByType");function Jz(e,t){return e.toString()===t.toString()}T(Jz,"regexpEqual");Ie(Jz,"regexpEqual");function Px(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch(a){return!1}var n=[],i=[];return e.forEach(Ie(T(function(a,s){n.push([a,s])},"gatherEntries"),"gatherEntries")),t.forEach(Ie(T(function(a,s){i.push([a,s])},"gatherEntries"),"gatherEntries")),Kc(n.sort(),i.sort(),r)}T(Px,"entriesEqual");Ie(Px,"entriesEqual");function Kc(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var i=-1;++i<n;)if(D1(e[i],t[i],r)===!1)return!1;return!0}T(Kc,"iterableEqual");Ie(Kc,"iterableEqual");function Zz(e,t,r){return Kc(f7(e),f7(t),r)}T(Zz,"generatorEqual");Ie(Zz,"generatorEqual");function eW(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}T(eW,"hasIteratorFunction");Ie(eW,"hasIteratorFunction");function jx(e){if(eW(e))try{return f7(e[Symbol.iterator]())}catch(t){return[]}return[]}T(jx,"getIteratorEntries");Ie(jx,"getIteratorEntries");function f7(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}T(f7,"getGeneratorEntries");Ie(f7,"getGeneratorEntries");function Rx(e){var t=[];for(var r in e)t.push(r);return t}T(Rx,"getEnumerableKeys");Ie(Rx,"getEnumerableKeys");function Ix(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var i=r[n];Object.getOwnPropertyDescriptor(e,i).enumerable&&t.push(i)}return t}T(Ix,"getEnumerableSymbols");Ie(Ix,"getEnumerableSymbols");function G4(e,t,r,n){var i=r.length;if(i===0)return!0;for(var a=0;a<i;a+=1)if(D1(e[r[a]],t[r[a]],n)===!1)return!1;return!0}T(G4,"keysEqual");Ie(G4,"keysEqual");function tW(e,t,r){var n=Rx(e),i=Rx(t),a=Ix(e),s=Ix(t);if(n=n.concat(a),i=i.concat(s),n.length&&n.length===i.length)return Kc(Ox(n).sort(),Ox(i).sort())===!1?!1:G4(e,t,n,r);var o=jx(e),l=jx(t);return o.length&&o.length===l.length?(o.sort(),l.sort(),Kc(o,l,r)):n.length===0&&o.length===0&&i.length===0&&l.length===0}T(tW,"objectEqual");Ie(tW,"objectEqual");function Pd(e){return e===null||typeof e!="object"}T(Pd,"isPrimitive");Ie(Pd,"isPrimitive");function Ox(e){return e.map(Ie(T(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"),"mapSymbol"))}T(Ox,"mapSymbols");Ie(Ox,"mapSymbols");function Wv(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}T(Wv,"hasProperty");Ie(Wv,"hasProperty");function rW(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}T(rW,"parsePath");Ie(rW,"parsePath");function Mx(e,t,r){let n=e,i=null;r=typeof r>"u"?t.length:r;for(let a=0;a<r;a++){let s=t[a];n&&(typeof s.p>"u"?n=n[s.i]:n=n[s.p],a===r-1&&(i=n))}return i}T(Mx,"internalGetPathValue");Ie(Mx,"internalGetPathValue");function V4(e,t){let r=rW(t),n=r[r.length-1],i={parent:r.length>1?Mx(e,r,r.length-1):e,name:n.p||n.i,value:Mx(e,r)};return i.exists=Wv(i.parent,i.name),i}T(V4,"getPathInfo");Ie(V4,"getPathInfo");function ee(e,t,r,n){return Xt(this,"ssfi",r||ee),Xt(this,"lockSsfi",n),Xt(this,"object",e),Xt(this,"message",t),Xt(this,"eql",sa.deepEqual||$2e),nf(this)}T(ee,"Assertion");Ie(ee,"Assertion");Object.defineProperty(ee,"includeStack",{get:T(function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),sa.includeStack},"get"),set:T(function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),sa.includeStack=e},"set")});Object.defineProperty(ee,"showDiff",{get:T(function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),sa.showDiff},"get"),set:T(function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),sa.showDiff=e},"set")});ee.addProperty=function(e,t){Y4(this.prototype,e,t)};ee.addMethod=function(e,t){K4(this.prototype,e,t)};ee.addChainableMethod=function(e,t,r){J4(this.prototype,e,t,r)};ee.overwriteProperty=function(e,t){X4(this.prototype,e,t)};ee.overwriteMethod=function(e,t){Q4(this.prototype,e,t)};ee.overwriteChainableMethod=function(e,t,r){Z4(this.prototype,e,t,r)};ee.prototype.assert=function(e,t,r,n,i,a){var s=q4(this,arguments);if(a!==!1&&(a=!0),n===void 0&&i===void 0&&(a=!1),sa.showDiff!==!0&&(a=!1),!s){t=W4(this,arguments);var o=zv(this,arguments),l={actual:o,expected:n,showDiff:a},c=r_(this,arguments);throw c&&(l.operator=c),new Lr(t,l,sa.includeStack?this.assert:Xt(this,"ssfi"))}};Object.defineProperty(ee.prototype,"_obj",{get:T(function(){return Xt(this,"object")},"get"),set:T(function(e){Xt(this,"object",e)},"set")});function L1(){return sa.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}T(L1,"isProxyEnabled");Ie(L1,"isProxyEnabled");function Y4(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:Ie(T(function n(){!L1()&&!Xt(this,"lockSsfi")&&Xt(this,"ssfi",n);var i=r.call(this);if(i!==void 0)return i;var a=new ee;return Fs(this,a),a},"propertyGetter"),"propertyGetter"),configurable:!0})}T(Y4,"addProperty");Ie(Y4,"addProperty");var z4t=Object.getOwnPropertyDescriptor(function(){},"length");function F1(e,t,r){return z4t.configurable&&Object.defineProperty(e,"length",{get:T(function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')},"get")}),e}T(F1,"addLengthGuard");Ie(F1,"addLengthGuard");function nW(e){var t=Object.getOwnPropertyNames(e);function r(i){t.indexOf(i)===-1&&t.push(i)}T(r,"addProperty2"),Ie(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}T(nW,"getProperties");Ie(nW,"getProperties");var $te=["__flags","__methods","_obj","assert"];function nf(e,t){return L1()?new Proxy(e,{get:Ie(T(function r(n,i){if(typeof i=="string"&&sa.proxyExcludedKeys.indexOf(i)===-1&&!Reflect.has(n,i)){if(t)throw Error("Invalid Chai property: "+t+"."+i+'. See docs for proper usage of "'+t+'".');var a=null,s=4;throw nW(n).forEach(function(o){if(!Object.prototype.hasOwnProperty(o)&&$te.indexOf(o)===-1){var l=iW(i,o,s);l<s&&(a=o,s=l)}}),Error(a!==null?"Invalid Chai property: "+i+'. Did you mean "'+a+'"?':"Invalid Chai property: "+i)}return $te.indexOf(i)===-1&&!Xt(n,"lockSsfi")&&Xt(n,"ssfi",r),Reflect.get(n,i)},"proxyGetter"),"proxyGetter")}):e}T(nf,"proxify");Ie(nf,"proxify");function iW(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;var n=[];for(let a=0;a<=e.length;a++)n[a]=Array(t.length+1).fill(0),n[a][0]=a;for(let a=0;a<t.length;a++)n[0][a]=a;for(let a=1;a<=e.length;a++){var i=e.charCodeAt(a-1);for(let s=1;s<=t.length;s++){if(Math.abs(a-s)>=r){n[a][s]=r;continue}n[a][s]=Math.min(n[a-1][s]+1,n[a][s-1]+1,n[a-1][s-1]+(i===t.charCodeAt(s-1)?0:1))}}return n[e.length][t.length]}T(iW,"stringDistanceCapped");Ie(iW,"stringDistanceCapped");function K4(e,t,r){var n=Ie(function(){Xt(this,"lockSsfi")||Xt(this,"ssfi",n);var i=r.apply(this,arguments);if(i!==void 0)return i;var a=new ee;return Fs(this,a),a},"methodWrapper");F1(n,t,!1),e[t]=nf(n,t)}T(K4,"addMethod");Ie(K4,"addMethod");function X4(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),i=Ie(function(){},"_super");n&&typeof n.get=="function"&&(i=n.get),Object.defineProperty(e,t,{get:Ie(T(function a(){!L1()&&!Xt(this,"lockSsfi")&&Xt(this,"ssfi",a);var s=Xt(this,"lockSsfi");Xt(this,"lockSsfi",!0);var o=r(i).call(this);if(Xt(this,"lockSsfi",s),o!==void 0)return o;var l=new ee;return Fs(this,l),l},"overwritingPropertyGetter"),"overwritingPropertyGetter"),configurable:!0})}T(X4,"overwriteProperty");Ie(X4,"overwriteProperty");function Q4(e,t,r){var n=e[t],i=Ie(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(i=n);var a=Ie(function(){Xt(this,"lockSsfi")||Xt(this,"ssfi",a);var s=Xt(this,"lockSsfi");Xt(this,"lockSsfi",!0);var o=r(i).apply(this,arguments);if(Xt(this,"lockSsfi",s),o!==void 0)return o;var l=new ee;return Fs(this,l),l},"overwritingMethodWrapper");F1(a,t,!1),e[t]=nf(a,t)}T(Q4,"overwriteMethod");Ie(Q4,"overwriteMethod");var W4t=typeof Object.setPrototypeOf=="function",Bte=Ie(function(){},"testFn"),H4t=Object.getOwnPropertyNames(Bte).filter(function(e){var t=Object.getOwnPropertyDescriptor(Bte,e);return typeof t!="object"?!0:!t.configurable}),U4t=Function.prototype.call,G4t=Function.prototype.apply;function J4(e,t,r,n){typeof n!="function"&&(n=Ie(function(){},"chainingBehavior"));var i={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=i,Object.defineProperty(e,t,{get:Ie(T(function(){i.chainingBehavior.call(this);var a=Ie(function(){Xt(this,"lockSsfi")||Xt(this,"ssfi",a);var l=i.method.apply(this,arguments);if(l!==void 0)return l;var c=new ee;return Fs(this,c),c},"chainableMethodWrapper");if(F1(a,t,!0),W4t){var s=Object.create(this);s.call=U4t,s.apply=G4t,Object.setPrototypeOf(a,s)}else{var o=Object.getOwnPropertyNames(e);o.forEach(function(l){if(H4t.indexOf(l)===-1){var c=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(a,l,c)}})}return Fs(this,a),nf(a)},"chainableMethodGetter"),"chainableMethodGetter"),configurable:!0})}T(J4,"addChainableMethod");Ie(J4,"addChainableMethod");function Z4(e,t,r,n){var i=e.__methods[t],a=i.chainingBehavior;i.chainingBehavior=Ie(T(function(){var o=n(a).call(this);if(o!==void 0)return o;var l=new ee;return Fs(this,l),l},"overwritingChainableMethodGetter"),"overwritingChainableMethodGetter");var s=i.method;i.method=Ie(T(function(){var o=r(s).apply(this,arguments);if(o!==void 0)return o;var l=new ee;return Fs(this,l),l},"overwritingChainableMethodWrapper"),"overwritingChainableMethodWrapper")}T(Z4,"overwriteChainableMethod");Ie(Z4,"overwriteChainableMethod");function m7(e,t){return Ar(e)<Ar(t)?-1:1}T(m7,"compareByInspect");Ie(m7,"compareByInspect");function e_(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}T(e_,"getOwnEnumerablePropertySymbols");Ie(e_,"getOwnEnumerablePropertySymbols");function t_(e){return Object.keys(e).concat(e_(e))}T(t_,"getOwnEnumerableProperties");Ie(t_,"getOwnEnumerableProperties");var kx=Number.isNaN;function aW(e){var t=Jr(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}T(aW,"isObjectType");Ie(aW,"isObjectType");function r_(e,t){var r=Xt(e,"operator"),n=Xt(e,"negate"),i=t[3],a=n?t[2]:t[1];if(r)return r;if(typeof a=="function"&&(a=a()),a=a||"",!!a&&!/\shave\s/.test(a)){var s=aW(i);return/\snot\s/.test(a)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}}T(r_,"getOperator");Ie(r_,"getOperator");function Hv(e){return e.name}T(Hv,"getName");Ie(Hv,"getName");function g7(e){return Object.prototype.toString.call(e)==="[object RegExp]"}T(g7,"isRegExp2");Ie(g7,"isRegExp");function $n(e){return["Number","BigInt"].includes(Jr(e))}T($n,"isNumeric");Ie($n,"isNumeric");var{flag:_e}=pl;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){ee.addProperty(e)});ee.addProperty("not",function(){_e(this,"negate",!0)});ee.addProperty("deep",function(){_e(this,"deep",!0)});ee.addProperty("nested",function(){_e(this,"nested",!0)});ee.addProperty("own",function(){_e(this,"own",!0)});ee.addProperty("ordered",function(){_e(this,"ordered",!0)});ee.addProperty("any",function(){_e(this,"any",!0),_e(this,"all",!1)});ee.addProperty("all",function(){_e(this,"all",!0),_e(this,"any",!1)});var Nte={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function n_(e,t){t&&_e(this,"message",t),e=e.toLowerCase();var r=_e(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let i=Jr(r).toLowerCase();Nte.function.includes(e)?this.assert(Nte[e].includes(i),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===i,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}T(n_,"an");Ie(n_,"an");ee.addChainableMethod("an",n_);ee.addChainableMethod("a",n_);function sW(e,t){return kx(e)&&kx(t)||e===t}T(sW,"SameValueZero");Ie(sW,"SameValueZero");function $1(){_e(this,"contains",!0)}T($1,"includeChainingBehavior");Ie($1,"includeChainingBehavior");function B1(e,t){t&&_e(this,"message",t);var r=_e(this,"object"),n=Jr(r).toLowerCase(),i=_e(this,"message"),a=_e(this,"negate"),s=_e(this,"ssfi"),o=_e(this,"deep"),l=o?"deep ":"",c=o?_e(this,"eql"):sW;i=i?i+": ":"";var u=!1;switch(n){case"string":u=r.indexOf(e)!==-1;break;case"weakset":if(o)throw new Lr(i+"unable to use .deep.include with WeakSet",void 0,s);u=r.has(e);break;case"map":r.forEach(function(m){u=u||c(m,e)});break;case"set":o?r.forEach(function(m){u=u||c(m,e)}):u=r.has(e);break;case"array":o?u=r.some(function(m){return c(m,e)}):u=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new Lr(i+"the given combination of arguments ("+n+" and "+Jr(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+Jr(e).toLowerCase(),void 0,s);var d=Object.keys(e),h=null,p=0;if(d.forEach(function(m){var g=new ee(r);if(Fs(this,g,!0),_e(g,"lockSsfi",!0),!a||d.length===1){g.property(m,e[m]);return}try{g.property(m,e[m])}catch(b){if(!Fa.compatibleConstructor(b,Lr))throw b;h===null&&(h=b),p++}},this),a&&d.length>1&&p===d.length)throw h;return}this.assert(u,"expected #{this} to "+l+"include "+Ar(e),"expected #{this} to not "+l+"include "+Ar(e))}T(B1,"include");Ie(B1,"include");ee.addChainableMethod("include",B1,$1);ee.addChainableMethod("contain",B1,$1);ee.addChainableMethod("contains",B1,$1);ee.addChainableMethod("includes",B1,$1);ee.addProperty("ok",function(){this.assert(_e(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});ee.addProperty("true",function(){this.assert(_e(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!_e(this,"negate"))});ee.addProperty("numeric",function(){let e=_e(this,"object");this.assert(["Number","BigInt"].includes(Jr(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!_e(this,"negate"))});ee.addProperty("callable",function(){let e=_e(this,"object"),t=_e(this,"ssfi"),r=_e(this,"message"),n=r?`${r}: `:"",i=_e(this,"negate"),a=i?`${n}expected ${Ar(e)} not to be a callable function`:`${n}expected ${Ar(e)} to be a callable function`,s=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(Jr(e));if(s&&i||!s&&!i)throw new Lr(a,void 0,t)});ee.addProperty("false",function(){this.assert(_e(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!_e(this,"negate"))});ee.addProperty("null",function(){this.assert(_e(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});ee.addProperty("undefined",function(){this.assert(_e(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});ee.addProperty("NaN",function(){this.assert(kx(_e(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function i_(){var e=_e(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}T(i_,"assertExist");Ie(i_,"assertExist");ee.addProperty("exist",i_);ee.addProperty("exists",i_);ee.addProperty("empty",function(){var e=_e(this,"object"),t=_e(this,"ssfi"),r=_e(this,"message"),n;switch(r=r?r+": ":"",Jr(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new Lr(r+".empty was passed a weak collection",void 0,t);case"function":var i=r+".empty was passed a function "+Hv(e);throw new Lr(i.trim(),void 0,t);default:if(e!==Object(e))throw new Lr(r+".empty was passed non-string primitive "+Ar(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function a_(){var e=_e(this,"object"),t=Jr(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}T(a_,"checkArguments");Ie(a_,"checkArguments");ee.addProperty("arguments",a_);ee.addProperty("Arguments",a_);function Uv(e,t){t&&_e(this,"message",t);var r=_e(this,"object");if(_e(this,"deep")){var n=_e(this,"lockSsfi");_e(this,"lockSsfi",!0),this.eql(e),_e(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}T(Uv,"assertEqual");Ie(Uv,"assertEqual");ee.addMethod("equal",Uv);ee.addMethod("equals",Uv);ee.addMethod("eq",Uv);function s_(e,t){t&&_e(this,"message",t);var r=_e(this,"eql");this.assert(r(e,_e(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}T(s_,"assertEql");Ie(s_,"assertEql");ee.addMethod("eql",s_);ee.addMethod("eqls",s_);function Gv(e,t){t&&_e(this,"message",t);var r=_e(this,"object"),n=_e(this,"doLength"),i=_e(this,"message"),a=i?i+": ":"",s=_e(this,"ssfi"),o=Jr(r).toLowerCase(),l=Jr(e).toLowerCase();if(n&&o!=="map"&&o!=="set"&&new ee(r,i,s,!0).to.have.property("length"),!n&&o==="date"&&l!=="date")throw new Lr(a+"the argument to above must be a date",void 0,s);if(!$n(e)&&(n||$n(r)))throw new Lr(a+"the argument to above must be a number",void 0,s);if(!n&&o!=="date"&&!$n(r)){var c=o==="string"?"'"+r+"'":r;throw new Lr(a+"expected "+c+" to be a number or a date",void 0,s)}if(n){var u="length",d;o==="map"||o==="set"?(u="size",d=r.size):d=r.length,this.assert(d>e,"expected #{this} to have a "+u+" above #{exp} but got #{act}","expected #{this} to not have a "+u+" above #{exp}",e,d)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}T(Gv,"assertAbove");Ie(Gv,"assertAbove");ee.addMethod("above",Gv);ee.addMethod("gt",Gv);ee.addMethod("greaterThan",Gv);function Vv(e,t){t&&_e(this,"message",t);var r=_e(this,"object"),n=_e(this,"doLength"),i=_e(this,"message"),a=i?i+": ":"",s=_e(this,"ssfi"),o=Jr(r).toLowerCase(),l=Jr(e).toLowerCase(),c,u=!0;if(n&&o!=="map"&&o!=="set"&&new ee(r,i,s,!0).to.have.property("length"),!n&&o==="date"&&l!=="date")c=a+"the argument to least must be a date";else if(!$n(e)&&(n||$n(r)))c=a+"the argument to least must be a number";else if(!n&&o!=="date"&&!$n(r)){var d=o==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date"}else u=!1;if(u)throw new Lr(c,void 0,s);if(n){var h="length",p;o==="map"||o==="set"?(h="size",p=r.size):p=r.length,this.assert(p>=e,"expected #{this} to have a "+h+" at least #{exp} but got #{act}","expected #{this} to have a "+h+" below #{exp}",e,p)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}T(Vv,"assertLeast");Ie(Vv,"assertLeast");ee.addMethod("least",Vv);ee.addMethod("gte",Vv);ee.addMethod("greaterThanOrEqual",Vv);function Yv(e,t){t&&_e(this,"message",t);var r=_e(this,"object"),n=_e(this,"doLength"),i=_e(this,"message"),a=i?i+": ":"",s=_e(this,"ssfi"),o=Jr(r).toLowerCase(),l=Jr(e).toLowerCase(),c,u=!0;if(n&&o!=="map"&&o!=="set"&&new ee(r,i,s,!0).to.have.property("length"),!n&&o==="date"&&l!=="date")c=a+"the argument to below must be a date";else if(!$n(e)&&(n||$n(r)))c=a+"the argument to below must be a number";else if(!n&&o!=="date"&&!$n(r)){var d=o==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date"}else u=!1;if(u)throw new Lr(c,void 0,s);if(n){var h="length",p;o==="map"||o==="set"?(h="size",p=r.size):p=r.length,this.assert(p<e,"expected #{this} to have a "+h+" below #{exp} but got #{act}","expected #{this} to not have a "+h+" below #{exp}",e,p)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}T(Yv,"assertBelow");Ie(Yv,"assertBelow");ee.addMethod("below",Yv);ee.addMethod("lt",Yv);ee.addMethod("lessThan",Yv);function Kv(e,t){t&&_e(this,"message",t);var r=_e(this,"object"),n=_e(this,"doLength"),i=_e(this,"message"),a=i?i+": ":"",s=_e(this,"ssfi"),o=Jr(r).toLowerCase(),l=Jr(e).toLowerCase(),c,u=!0;if(n&&o!=="map"&&o!=="set"&&new ee(r,i,s,!0).to.have.property("length"),!n&&o==="date"&&l!=="date")c=a+"the argument to most must be a date";else if(!$n(e)&&(n||$n(r)))c=a+"the argument to most must be a number";else if(!n&&o!=="date"&&!$n(r)){var d=o==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date"}else u=!1;if(u)throw new Lr(c,void 0,s);if(n){var h="length",p;o==="map"||o==="set"?(h="size",p=r.size):p=r.length,this.assert(p<=e,"expected #{this} to have a "+h+" at most #{exp} but got #{act}","expected #{this} to have a "+h+" above #{exp}",e,p)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}T(Kv,"assertMost");Ie(Kv,"assertMost");ee.addMethod("most",Kv);ee.addMethod("lte",Kv);ee.addMethod("lessThanOrEqual",Kv);ee.addMethod("within",function(e,t,r){r&&_e(this,"message",r);var n=_e(this,"object"),i=_e(this,"doLength"),a=_e(this,"message"),s=a?a+": ":"",o=_e(this,"ssfi"),l=Jr(n).toLowerCase(),c=Jr(e).toLowerCase(),u=Jr(t).toLowerCase(),d,h=!0,p=c==="date"&&u==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(i&&l!=="map"&&l!=="set"&&new ee(n,a,o,!0).to.have.property("length"),!i&&l==="date"&&(c!=="date"||u!=="date"))d=s+"the arguments to within must be dates";else if((!$n(e)||!$n(t))&&(i||$n(n)))d=s+"the arguments to within must be numbers";else if(!i&&l!=="date"&&!$n(n)){var m=l==="string"?"'"+n+"'":n;d=s+"expected "+m+" to be a number or a date"}else h=!1;if(h)throw new Lr(d,void 0,o);if(i){var g="length",b;l==="map"||l==="set"?(g="size",b=n.size):b=n.length,this.assert(b>=e&&b<=t,"expected #{this} to have a "+g+" within "+p,"expected #{this} to not have a "+g+" within "+p)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+p,"expected #{this} to not be within "+p)});function o_(e,t){t&&_e(this,"message",t);var r=_e(this,"object"),n=_e(this,"ssfi"),i=_e(this,"message");try{var a=r instanceof e}catch(o){throw o instanceof TypeError?(i=i?i+": ":"",new Lr(i+"The instanceof assertion needs a constructor but "+Jr(e)+" was given.",void 0,n)):o}var s=Hv(e);s==null&&(s="an unnamed constructor"),this.assert(a,"expected #{this} to be an instance of "+s,"expected #{this} to not be an instance of "+s)}T(o_,"assertInstanceOf");Ie(o_,"assertInstanceOf");ee.addMethod("instanceof",o_);ee.addMethod("instanceOf",o_);function l_(e,t,r){r&&_e(this,"message",r);var n=_e(this,"nested"),i=_e(this,"own"),a=_e(this,"message"),s=_e(this,"object"),o=_e(this,"ssfi"),l=typeof e;if(a=a?a+": ":"",n){if(l!=="string")throw new Lr(a+"the argument to property must be a string when using nested syntax",void 0,o)}else if(l!=="string"&&l!=="number"&&l!=="symbol")throw new Lr(a+"the argument to property must be a string, number, or symbol",void 0,o);if(n&&i)throw new Lr(a+'The "nested" and "own" flags cannot be combined.',void 0,o);if(s==null)throw new Lr(a+"Target cannot be null or undefined.",void 0,o);var c=_e(this,"deep"),u=_e(this,"negate"),d=n?V4(s,e):null,h=n?d.value:s[e],p=c?_e(this,"eql"):(b,y)=>b===y,m="";c&&(m+="deep "),i&&(m+="own "),n&&(m+="nested "),m+="property ";var g;i?g=Object.prototype.hasOwnProperty.call(s,e):n?g=d.exists:g=Wv(s,e),(!u||arguments.length===1)&&this.assert(g,"expected #{this} to have "+m+Ar(e),"expected #{this} to not have "+m+Ar(e)),arguments.length>1&&this.assert(g&&p(t,h),"expected #{this} to have "+m+Ar(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+Ar(e)+" of #{act}",t,h),_e(this,"object",h)}T(l_,"assertProperty");Ie(l_,"assertProperty");ee.addMethod("property",l_);function c_(e,t,r){_e(this,"own",!0),l_.apply(this,arguments)}T(c_,"assertOwnProperty");Ie(c_,"assertOwnProperty");ee.addMethod("ownProperty",c_);ee.addMethod("haveOwnProperty",c_);function u_(e,t,r){typeof t=="string"&&(r=t,t=null),r&&_e(this,"message",r);var n=_e(this,"object"),i=Object.getOwnPropertyDescriptor(Object(n),e),a=_e(this,"eql");i&&t?this.assert(a(t,i),"expected the own property descriptor for "+Ar(e)+" on #{this} to match "+Ar(t)+", got "+Ar(i),"expected the own property descriptor for "+Ar(e)+" on #{this} to not match "+Ar(t),t,i,!0):this.assert(i,"expected #{this} to have an own property descriptor for "+Ar(e),"expected #{this} to not have an own property descriptor for "+Ar(e)),_e(this,"object",i)}T(u_,"assertOwnPropertyDescriptor");Ie(u_,"assertOwnPropertyDescriptor");ee.addMethod("ownPropertyDescriptor",u_);ee.addMethod("haveOwnPropertyDescriptor",u_);function d_(){_e(this,"doLength",!0)}T(d_,"assertLengthChain");Ie(d_,"assertLengthChain");function p_(e,t){t&&_e(this,"message",t);var r=_e(this,"object"),n=Jr(r).toLowerCase(),i=_e(this,"message"),a=_e(this,"ssfi"),s="length",o;switch(n){case"map":case"set":s="size",o=r.size;break;default:new ee(r,i,a,!0).to.have.property("length"),o=r.length}this.assert(o==e,"expected #{this} to have a "+s+" of #{exp} but got #{act}","expected #{this} to not have a "+s+" of #{act}",e,o)}T(p_,"assertLength");Ie(p_,"assertLength");ee.addChainableMethod("length",p_,d_);ee.addChainableMethod("lengthOf",p_,d_);function h_(e,t){t&&_e(this,"message",t);var r=_e(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}T(h_,"assertMatch");Ie(h_,"assertMatch");ee.addMethod("match",h_);ee.addMethod("matches",h_);ee.addMethod("string",function(e,t){t&&_e(this,"message",t);var r=_e(this,"object"),n=_e(this,"message"),i=_e(this,"ssfi");new ee(r,n,i,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+Ar(e),"expected #{this} to not contain "+Ar(e))});function f_(e){var t=_e(this,"object"),r=Jr(t),n=Jr(e),i=_e(this,"ssfi"),a=_e(this,"deep"),s,o="",l,c=!0,u=_e(this,"message");u=u?u+": ":"";var d=u+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")o=a?"deeply ":"",l=[],t.forEach(function(v,S){l.push(S)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(l=t_(t),n){case"Array":if(arguments.length>1)throw new Lr(d,void 0,i);break;case"Object":if(arguments.length>1)throw new Lr(d,void 0,i);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(v){return typeof v=="symbol"?v:String(v)})}if(!e.length)throw new Lr(u+"keys required",void 0,i);var h=e.length,p=_e(this,"any"),m=_e(this,"all"),g=e,b=a?_e(this,"eql"):(v,S)=>v===S;if(!p&&!m&&(m=!0),p&&(c=g.some(function(v){return l.some(function(S){return b(v,S)})})),m&&(c=g.every(function(v){return l.some(function(S){return b(v,S)})}),_e(this,"contains")||(c=c&&e.length==l.length)),h>1){e=e.map(function(v){return Ar(v)});var y=e.pop();m&&(s=e.join(", ")+", and "+y),p&&(s=e.join(", ")+", or "+y)}else s=Ar(e[0]);s=(h>1?"keys ":"key ")+s,s=(_e(this,"contains")?"contain ":"have ")+s,this.assert(c,"expected #{this} to "+o+s,"expected #{this} to not "+o+s,g.slice(0).sort(m7),l.sort(m7),!0)}T(f_,"assertKeys");Ie(f_,"assertKeys");ee.addMethod("keys",f_);ee.addMethod("key",f_);function Xv(e,t,r){r&&_e(this,"message",r);var n=_e(this,"object"),i=_e(this,"ssfi"),a=_e(this,"message"),s=_e(this,"negate")||!1;new ee(n,a,i,!0).is.a("function"),(g7(e)||typeof e=="string")&&(t=e,e=null);let o,l=!1;try{n()}catch(v){l=!0,o=v}var c=e===void 0&&t===void 0,u=!!(e&&t),d=!1,h=!1;if(c||!c&&!s){var p="an error";e instanceof Error?p="#{exp}":e&&(p=Fa.getConstructorName(e));let v=o;if(o instanceof Error)v=o.toString();else if(typeof o=="string")v=o;else if(o&&(typeof o=="object"||typeof o=="function"))try{v=Fa.getConstructorName(o)}catch(S){}this.assert(l,"expected #{this} to throw "+p,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),v)}if(e&&o){if(e instanceof Error){var m=Fa.compatibleInstance(o,e);m===s&&(u&&s?d=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(o&&!s?" but #{act} was thrown":""),e.toString(),o.toString()))}var g=Fa.compatibleConstructor(o,e);g===s&&(u&&s?d=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(o?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Fa.getConstructorName(e),o instanceof Error?o.toString():o&&Fa.getConstructorName(o)))}if(o&&t!==void 0&&t!==null){var b="including";g7(t)&&(b="matching");var y=Fa.compatibleMessage(o,t);y===s&&(u&&s?h=!0:this.assert(s,"expected #{this} to throw error "+b+" #{exp} but got #{act}","expected #{this} to throw error not "+b+" #{exp}",t,Fa.getMessage(o)))}d&&h&&this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(o?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Fa.getConstructorName(e),o instanceof Error?o.toString():o&&Fa.getConstructorName(o)),_e(this,"object",o)}T(Xv,"assertThrows");Ie(Xv,"assertThrows");ee.addMethod("throw",Xv);ee.addMethod("throws",Xv);ee.addMethod("Throw",Xv);function m_(e,t){t&&_e(this,"message",t);var r=_e(this,"object"),n=_e(this,"itself"),i=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof i=="function","expected #{this} to respond to "+Ar(e),"expected #{this} to not respond to "+Ar(e))}T(m_,"respondTo");Ie(m_,"respondTo");ee.addMethod("respondTo",m_);ee.addMethod("respondsTo",m_);ee.addProperty("itself",function(){_e(this,"itself",!0)});function g_(e,t){t&&_e(this,"message",t);var r=_e(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+cd(e),"expected #{this} to not satisfy"+cd(e),!_e(this,"negate"),n)}T(g_,"satisfy");Ie(g_,"satisfy");ee.addMethod("satisfy",g_);ee.addMethod("satisfies",g_);function b_(e,t,r){r&&_e(this,"message",r);var n=_e(this,"object"),i=_e(this,"message"),a=_e(this,"ssfi");new ee(n,i,a,!0).is.numeric;let s="A `delta` value is required for `closeTo`";if(t==null)throw new Lr(i?`${i}: ${s}`:s,void 0,a);if(new ee(t,i,a,!0).is.numeric,s="A `expected` value is required for `closeTo`",e==null)throw new Lr(i?`${i}: ${s}`:s,void 0,a);new ee(e,i,a,!0).is.numeric;let o=Ie(c=>c<BigInt(0)?-c:c,"abs"),l=Ie(c=>parseFloat(parseFloat(c).toPrecision(12)),"strip");this.assert(l(o(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}T(b_,"closeTo");Ie(b_,"closeTo");ee.addMethod("closeTo",b_);ee.addMethod("approximately",b_);function oW(e,t,r,n,i){let a=Array.from(t),s=Array.from(e);if(!n){if(s.length!==a.length)return!1;a=a.slice()}return s.every(function(o,l){if(i)return r?r(o,a[l]):o===a[l];if(!r){var c=a.indexOf(o);return c===-1?!1:(n||a.splice(c,1),!0)}return a.some(function(u,d){return r(o,u)?(n||a.splice(d,1),!0):!1})})}T(oW,"isSubsetOf");Ie(oW,"isSubsetOf");ee.addMethod("members",function(e,t){t&&_e(this,"message",t);var r=_e(this,"object"),n=_e(this,"message"),i=_e(this,"ssfi");new ee(r,n,i,!0).to.be.iterable,new ee(e,n,i,!0).to.be.iterable;var a=_e(this,"contains"),s=_e(this,"ordered"),o,l,c;a?(o=s?"an ordered superset":"a superset",l="expected #{this} to be "+o+" of #{exp}",c="expected #{this} to not be "+o+" of #{exp}"):(o=s?"ordered members":"members",l="expected #{this} to have the same "+o+" as #{exp}",c="expected #{this} to not have the same "+o+" as #{exp}");var u=_e(this,"deep")?_e(this,"eql"):void 0;this.assert(oW(e,r,u,a,s),l,c,e,r,!0)});ee.addProperty("iterable",function(e){e&&_e(this,"message",e);var t=_e(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function lW(e,t){t&&_e(this,"message",t);var r=_e(this,"object"),n=_e(this,"message"),i=_e(this,"ssfi"),a=_e(this,"contains"),s=_e(this,"deep"),o=_e(this,"eql");new ee(e,n,i,!0).to.be.an("array"),a?this.assert(e.some(function(l){return r.indexOf(l)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):s?this.assert(e.some(function(l){return o(r,l)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}T(lW,"oneOf");Ie(lW,"oneOf");ee.addMethod("oneOf",lW);function y_(e,t,r){r&&_e(this,"message",r);var n=_e(this,"object"),i=_e(this,"message"),a=_e(this,"ssfi");new ee(n,i,a,!0).is.a("function");var s;t?(new ee(e,i,a,!0).to.have.property(t),s=e[t]):(new ee(e,i,a,!0).is.a("function"),s=e()),n();var o=t==null?e():e[t],l=t==null?s:"."+t;_e(this,"deltaMsgObj",l),_e(this,"initialDeltaValue",s),_e(this,"finalDeltaValue",o),_e(this,"deltaBehavior","change"),_e(this,"realDelta",o!==s),this.assert(s!==o,"expected "+l+" to change","expected "+l+" to not change")}T(y_,"assertChanges");Ie(y_,"assertChanges");ee.addMethod("change",y_);ee.addMethod("changes",y_);function v_(e,t,r){r&&_e(this,"message",r);var n=_e(this,"object"),i=_e(this,"message"),a=_e(this,"ssfi");new ee(n,i,a,!0).is.a("function");var s;t?(new ee(e,i,a,!0).to.have.property(t),s=e[t]):(new ee(e,i,a,!0).is.a("function"),s=e()),new ee(s,i,a,!0).is.a("number"),n();var o=t==null?e():e[t],l=t==null?s:"."+t;_e(this,"deltaMsgObj",l),_e(this,"initialDeltaValue",s),_e(this,"finalDeltaValue",o),_e(this,"deltaBehavior","increase"),_e(this,"realDelta",o-s),this.assert(o-s>0,"expected "+l+" to increase","expected "+l+" to not increase")}T(v_,"assertIncreases");Ie(v_,"assertIncreases");ee.addMethod("increase",v_);ee.addMethod("increases",v_);function T_(e,t,r){r&&_e(this,"message",r);var n=_e(this,"object"),i=_e(this,"message"),a=_e(this,"ssfi");new ee(n,i,a,!0).is.a("function");var s;t?(new ee(e,i,a,!0).to.have.property(t),s=e[t]):(new ee(e,i,a,!0).is.a("function"),s=e()),new ee(s,i,a,!0).is.a("number"),n();var o=t==null?e():e[t],l=t==null?s:"."+t;_e(this,"deltaMsgObj",l),_e(this,"initialDeltaValue",s),_e(this,"finalDeltaValue",o),_e(this,"deltaBehavior","decrease"),_e(this,"realDelta",s-o),this.assert(o-s<0,"expected "+l+" to decrease","expected "+l+" to not decrease")}T(T_,"assertDecreases");Ie(T_,"assertDecreases");ee.addMethod("decrease",T_);ee.addMethod("decreases",T_);function cW(e,t){t&&_e(this,"message",t);var r=_e(this,"deltaMsgObj"),n=_e(this,"initialDeltaValue"),i=_e(this,"finalDeltaValue"),a=_e(this,"deltaBehavior"),s=_e(this,"realDelta"),o;a==="change"?o=Math.abs(i-n)===Math.abs(e):o=s===Math.abs(e),this.assert(o,"expected "+r+" to "+a+" by "+e,"expected "+r+" to not "+a+" by "+e)}T(cW,"assertDelta");Ie(cW,"assertDelta");ee.addMethod("by",cW);ee.addProperty("extensible",function(){var e=_e(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});ee.addProperty("sealed",function(){var e=_e(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});ee.addProperty("frozen",function(){var e=_e(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});ee.addProperty("finite",function(e){var t=_e(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function b7(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return b7(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){var n=e[r],i=t[r];return typeof n=="object"&&n!==null&&i!==null?b7(n,i):typeof n=="function"?n(i):i===n}):!1}T(b7,"compareSubset");Ie(b7,"compareSubset");ee.addMethod("containSubset",function(e){let t=Xt(this,"object"),r=sa.showDiff;this.assert(b7(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function ud(e,t){return new ee(e,t)}T(ud,"expect");Ie(ud,"expect");ud.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new Lr(r,{actual:e,expected:t,operator:n},ud.fail)};var B2e={};Cz(B2e,{Should:T(()=>Y4t,"Should"),should:T(()=>V4t,"should")});function S_(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new ee(this.valueOf(),null,e):new ee(this,null,e)}T(e,"shouldGetter"),Ie(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}T(t,"shouldSetter"),Ie(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,i,a,s){throw arguments.length<2&&(a=n,n=void 0),a=a||"should.fail()",new Lr(a,{actual:n,expected:i,operator:s},r.fail)},r.equal=function(n,i,a){new ee(n,a).to.equal(i)},r.Throw=function(n,i,a,s){new ee(n,s).to.Throw(i,a)},r.exist=function(n,i){new ee(n,i).to.exist},r.not={},r.not.equal=function(n,i,a){new ee(n,a).to.not.equal(i)},r.not.Throw=function(n,i,a,s){new ee(n,s).to.not.Throw(i,a)},r.not.exist=function(n,i){new ee(n,i).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}T(S_,"loadShould");Ie(S_,"loadShould");var V4t=S_,Y4t=S_;function Z(e,t){var r=new ee(null,null,Z,!0);r.assert(e,t,"[ negation message unavailable ]")}T(Z,"assert");Ie(Z,"assert");Z.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new Lr(r,{actual:e,expected:t,operator:n},Z.fail)};Z.isOk=function(e,t){new ee(e,t,Z.isOk,!0).is.ok};Z.isNotOk=function(e,t){new ee(e,t,Z.isNotOk,!0).is.not.ok};Z.equal=function(e,t,r){var n=new ee(e,r,Z.equal,!0);n.assert(t==Xt(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};Z.notEqual=function(e,t,r){var n=new ee(e,r,Z.notEqual,!0);n.assert(t!=Xt(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};Z.strictEqual=function(e,t,r){new ee(e,r,Z.strictEqual,!0).to.equal(t)};Z.notStrictEqual=function(e,t,r){new ee(e,r,Z.notStrictEqual,!0).to.not.equal(t)};Z.deepEqual=Z.deepStrictEqual=function(e,t,r){new ee(e,r,Z.deepEqual,!0).to.eql(t)};Z.notDeepEqual=function(e,t,r){new ee(e,r,Z.notDeepEqual,!0).to.not.eql(t)};Z.isAbove=function(e,t,r){new ee(e,r,Z.isAbove,!0).to.be.above(t)};Z.isAtLeast=function(e,t,r){new ee(e,r,Z.isAtLeast,!0).to.be.least(t)};Z.isBelow=function(e,t,r){new ee(e,r,Z.isBelow,!0).to.be.below(t)};Z.isAtMost=function(e,t,r){new ee(e,r,Z.isAtMost,!0).to.be.most(t)};Z.isTrue=function(e,t){new ee(e,t,Z.isTrue,!0).is.true};Z.isNotTrue=function(e,t){new ee(e,t,Z.isNotTrue,!0).to.not.equal(!0)};Z.isFalse=function(e,t){new ee(e,t,Z.isFalse,!0).is.false};Z.isNotFalse=function(e,t){new ee(e,t,Z.isNotFalse,!0).to.not.equal(!1)};Z.isNull=function(e,t){new ee(e,t,Z.isNull,!0).to.equal(null)};Z.isNotNull=function(e,t){new ee(e,t,Z.isNotNull,!0).to.not.equal(null)};Z.isNaN=function(e,t){new ee(e,t,Z.isNaN,!0).to.be.NaN};Z.isNotNaN=function(e,t){new ee(e,t,Z.isNotNaN,!0).not.to.be.NaN};Z.exists=function(e,t){new ee(e,t,Z.exists,!0).to.exist};Z.notExists=function(e,t){new ee(e,t,Z.notExists,!0).to.not.exist};Z.isUndefined=function(e,t){new ee(e,t,Z.isUndefined,!0).to.equal(void 0)};Z.isDefined=function(e,t){new ee(e,t,Z.isDefined,!0).to.not.equal(void 0)};Z.isCallable=function(e,t){new ee(e,t,Z.isCallable,!0).is.callable};Z.isNotCallable=function(e,t){new ee(e,t,Z.isNotCallable,!0).is.not.callable};Z.isObject=function(e,t){new ee(e,t,Z.isObject,!0).to.be.a("object")};Z.isNotObject=function(e,t){new ee(e,t,Z.isNotObject,!0).to.not.be.a("object")};Z.isArray=function(e,t){new ee(e,t,Z.isArray,!0).to.be.an("array")};Z.isNotArray=function(e,t){new ee(e,t,Z.isNotArray,!0).to.not.be.an("array")};Z.isString=function(e,t){new ee(e,t,Z.isString,!0).to.be.a("string")};Z.isNotString=function(e,t){new ee(e,t,Z.isNotString,!0).to.not.be.a("string")};Z.isNumber=function(e,t){new ee(e,t,Z.isNumber,!0).to.be.a("number")};Z.isNotNumber=function(e,t){new ee(e,t,Z.isNotNumber,!0).to.not.be.a("number")};Z.isNumeric=function(e,t){new ee(e,t,Z.isNumeric,!0).is.numeric};Z.isNotNumeric=function(e,t){new ee(e,t,Z.isNotNumeric,!0).is.not.numeric};Z.isFinite=function(e,t){new ee(e,t,Z.isFinite,!0).to.be.finite};Z.isBoolean=function(e,t){new ee(e,t,Z.isBoolean,!0).to.be.a("boolean")};Z.isNotBoolean=function(e,t){new ee(e,t,Z.isNotBoolean,!0).to.not.be.a("boolean")};Z.typeOf=function(e,t,r){new ee(e,r,Z.typeOf,!0).to.be.a(t)};Z.notTypeOf=function(e,t,r){new ee(e,r,Z.notTypeOf,!0).to.not.be.a(t)};Z.instanceOf=function(e,t,r){new ee(e,r,Z.instanceOf,!0).to.be.instanceOf(t)};Z.notInstanceOf=function(e,t,r){new ee(e,r,Z.notInstanceOf,!0).to.not.be.instanceOf(t)};Z.include=function(e,t,r){new ee(e,r,Z.include,!0).include(t)};Z.notInclude=function(e,t,r){new ee(e,r,Z.notInclude,!0).not.include(t)};Z.deepInclude=function(e,t,r){new ee(e,r,Z.deepInclude,!0).deep.include(t)};Z.notDeepInclude=function(e,t,r){new ee(e,r,Z.notDeepInclude,!0).not.deep.include(t)};Z.nestedInclude=function(e,t,r){new ee(e,r,Z.nestedInclude,!0).nested.include(t)};Z.notNestedInclude=function(e,t,r){new ee(e,r,Z.notNestedInclude,!0).not.nested.include(t)};Z.deepNestedInclude=function(e,t,r){new ee(e,r,Z.deepNestedInclude,!0).deep.nested.include(t)};Z.notDeepNestedInclude=function(e,t,r){new ee(e,r,Z.notDeepNestedInclude,!0).not.deep.nested.include(t)};Z.ownInclude=function(e,t,r){new ee(e,r,Z.ownInclude,!0).own.include(t)};Z.notOwnInclude=function(e,t,r){new ee(e,r,Z.notOwnInclude,!0).not.own.include(t)};Z.deepOwnInclude=function(e,t,r){new ee(e,r,Z.deepOwnInclude,!0).deep.own.include(t)};Z.notDeepOwnInclude=function(e,t,r){new ee(e,r,Z.notDeepOwnInclude,!0).not.deep.own.include(t)};Z.match=function(e,t,r){new ee(e,r,Z.match,!0).to.match(t)};Z.notMatch=function(e,t,r){new ee(e,r,Z.notMatch,!0).to.not.match(t)};Z.property=function(e,t,r){new ee(e,r,Z.property,!0).to.have.property(t)};Z.notProperty=function(e,t,r){new ee(e,r,Z.notProperty,!0).to.not.have.property(t)};Z.propertyVal=function(e,t,r,n){new ee(e,n,Z.propertyVal,!0).to.have.property(t,r)};Z.notPropertyVal=function(e,t,r,n){new ee(e,n,Z.notPropertyVal,!0).to.not.have.property(t,r)};Z.deepPropertyVal=function(e,t,r,n){new ee(e,n,Z.deepPropertyVal,!0).to.have.deep.property(t,r)};Z.notDeepPropertyVal=function(e,t,r,n){new ee(e,n,Z.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};Z.ownProperty=function(e,t,r){new ee(e,r,Z.ownProperty,!0).to.have.own.property(t)};Z.notOwnProperty=function(e,t,r){new ee(e,r,Z.notOwnProperty,!0).to.not.have.own.property(t)};Z.ownPropertyVal=function(e,t,r,n){new ee(e,n,Z.ownPropertyVal,!0).to.have.own.property(t,r)};Z.notOwnPropertyVal=function(e,t,r,n){new ee(e,n,Z.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};Z.deepOwnPropertyVal=function(e,t,r,n){new ee(e,n,Z.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};Z.notDeepOwnPropertyVal=function(e,t,r,n){new ee(e,n,Z.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};Z.nestedProperty=function(e,t,r){new ee(e,r,Z.nestedProperty,!0).to.have.nested.property(t)};Z.notNestedProperty=function(e,t,r){new ee(e,r,Z.notNestedProperty,!0).to.not.have.nested.property(t)};Z.nestedPropertyVal=function(e,t,r,n){new ee(e,n,Z.nestedPropertyVal,!0).to.have.nested.property(t,r)};Z.notNestedPropertyVal=function(e,t,r,n){new ee(e,n,Z.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};Z.deepNestedPropertyVal=function(e,t,r,n){new ee(e,n,Z.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};Z.notDeepNestedPropertyVal=function(e,t,r,n){new ee(e,n,Z.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};Z.lengthOf=function(e,t,r){new ee(e,r,Z.lengthOf,!0).to.have.lengthOf(t)};Z.hasAnyKeys=function(e,t,r){new ee(e,r,Z.hasAnyKeys,!0).to.have.any.keys(t)};Z.hasAllKeys=function(e,t,r){new ee(e,r,Z.hasAllKeys,!0).to.have.all.keys(t)};Z.containsAllKeys=function(e,t,r){new ee(e,r,Z.containsAllKeys,!0).to.contain.all.keys(t)};Z.doesNotHaveAnyKeys=function(e,t,r){new ee(e,r,Z.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};Z.doesNotHaveAllKeys=function(e,t,r){new ee(e,r,Z.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};Z.hasAnyDeepKeys=function(e,t,r){new ee(e,r,Z.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};Z.hasAllDeepKeys=function(e,t,r){new ee(e,r,Z.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};Z.containsAllDeepKeys=function(e,t,r){new ee(e,r,Z.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};Z.doesNotHaveAnyDeepKeys=function(e,t,r){new ee(e,r,Z.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};Z.doesNotHaveAllDeepKeys=function(e,t,r){new ee(e,r,Z.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};Z.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var i=new ee(e,n,Z.throws,!0).to.throw(t,r);return Xt(i,"object")};Z.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new ee(e,n,Z.doesNotThrow,!0).to.not.throw(t,r)};Z.operator=function(e,t,r,n){var i;switch(t){case"==":i=e==r;break;case"===":i=e===r;break;case">":i=e>r;break;case">=":i=e>=r;break;case"<":i=e<r;break;case"<=":i=e<=r;break;case"!=":i=e!=r;break;case"!==":i=e!==r;break;default:throw n=n&&n+": ",new Lr(n+'Invalid operator "'+t+'"',void 0,Z.operator)}var a=new ee(i,n,Z.operator,!0);a.assert(Xt(a,"object")===!0,"expected "+Ar(e)+" to be "+t+" "+Ar(r),"expected "+Ar(e)+" to not be "+t+" "+Ar(r))};Z.closeTo=function(e,t,r,n){new ee(e,n,Z.closeTo,!0).to.be.closeTo(t,r)};Z.approximately=function(e,t,r,n){new ee(e,n,Z.approximately,!0).to.be.approximately(t,r)};Z.sameMembers=function(e,t,r){new ee(e,r,Z.sameMembers,!0).to.have.same.members(t)};Z.notSameMembers=function(e,t,r){new ee(e,r,Z.notSameMembers,!0).to.not.have.same.members(t)};Z.sameDeepMembers=function(e,t,r){new ee(e,r,Z.sameDeepMembers,!0).to.have.same.deep.members(t)};Z.notSameDeepMembers=function(e,t,r){new ee(e,r,Z.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};Z.sameOrderedMembers=function(e,t,r){new ee(e,r,Z.sameOrderedMembers,!0).to.have.same.ordered.members(t)};Z.notSameOrderedMembers=function(e,t,r){new ee(e,r,Z.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};Z.sameDeepOrderedMembers=function(e,t,r){new ee(e,r,Z.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};Z.notSameDeepOrderedMembers=function(e,t,r){new ee(e,r,Z.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};Z.includeMembers=function(e,t,r){new ee(e,r,Z.includeMembers,!0).to.include.members(t)};Z.notIncludeMembers=function(e,t,r){new ee(e,r,Z.notIncludeMembers,!0).to.not.include.members(t)};Z.includeDeepMembers=function(e,t,r){new ee(e,r,Z.includeDeepMembers,!0).to.include.deep.members(t)};Z.notIncludeDeepMembers=function(e,t,r){new ee(e,r,Z.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};Z.includeOrderedMembers=function(e,t,r){new ee(e,r,Z.includeOrderedMembers,!0).to.include.ordered.members(t)};Z.notIncludeOrderedMembers=function(e,t,r){new ee(e,r,Z.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};Z.includeDeepOrderedMembers=function(e,t,r){new ee(e,r,Z.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};Z.notIncludeDeepOrderedMembers=function(e,t,r){new ee(e,r,Z.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};Z.oneOf=function(e,t,r){new ee(e,r,Z.oneOf,!0).to.be.oneOf(t)};Z.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${Ar(e)} to be an iterable`:`expected ${Ar(e)} to be an iterable`,new Lr(t,void 0,Z.isIterable)};Z.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new ee(e,n,Z.changes,!0).to.change(t,r)};Z.changesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new ee(e,i,Z.changesBy,!0).to.change(t,r).by(n)};Z.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new ee(e,n,Z.doesNotChange,!0).to.not.change(t,r)};Z.changesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new ee(e,i,Z.changesButNotBy,!0).to.change(t,r).but.not.by(n)};Z.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new ee(e,n,Z.increases,!0).to.increase(t,r)};Z.increasesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new ee(e,i,Z.increasesBy,!0).to.increase(t,r).by(n)};Z.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new ee(e,n,Z.doesNotIncrease,!0).to.not.increase(t,r)};Z.increasesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new ee(e,i,Z.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};Z.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new ee(e,n,Z.decreases,!0).to.decrease(t,r)};Z.decreasesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new ee(e,i,Z.decreasesBy,!0).to.decrease(t,r).by(n)};Z.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new ee(e,n,Z.doesNotDecrease,!0).to.not.decrease(t,r)};Z.doesNotDecreaseBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);return new ee(e,i,Z.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};Z.decreasesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new ee(e,i,Z.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};Z.ifError=function(e){if(e)throw e};Z.isExtensible=function(e,t){new ee(e,t,Z.isExtensible,!0).to.be.extensible};Z.isNotExtensible=function(e,t){new ee(e,t,Z.isNotExtensible,!0).to.not.be.extensible};Z.isSealed=function(e,t){new ee(e,t,Z.isSealed,!0).to.be.sealed};Z.isNotSealed=function(e,t){new ee(e,t,Z.isNotSealed,!0).to.not.be.sealed};Z.isFrozen=function(e,t){new ee(e,t,Z.isFrozen,!0).to.be.frozen};Z.isNotFrozen=function(e,t){new ee(e,t,Z.isNotFrozen,!0).to.not.be.frozen};Z.isEmpty=function(e,t){new ee(e,t,Z.isEmpty,!0).to.be.empty};Z.isNotEmpty=function(e,t){new ee(e,t,Z.isNotEmpty,!0).to.not.be.empty};Z.containsSubset=function(e,t,r){new ee(e,r).to.containSubset(t)};Z.doesNotContainSubset=function(e,t,r){new ee(e,r).to.not.containSubset(t)};var K4t=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(let[e,t]of K4t)Z[t]=Z[e];var qte=[];function Zp(e){let t={use:Zp,AssertionError:Lr,util:pl,config:sa,expect:ud,assert:Z,Assertion:ee,...B2e};return~qte.indexOf(e)||(e(t,pl),qte.push(e)),t}T(Zp,"use");Ie(Zp,"use");var N2e={};M4(N2e,{toBeChecked:()=>GW,toBeDisabled:()=>$W,toBeEmpty:()=>wW,toBeEmptyDOMElement:()=>_W,toBeEnabled:()=>BW,toBeInTheDOM:()=>Lx,toBeInTheDocument:()=>xW,toBeInvalid:()=>zW,toBePartiallyChecked:()=>YW,toBeRequired:()=>NW,toBeValid:()=>WW,toBeVisible:()=>MW,toContainElement:()=>Fx,toContainHTML:()=>AW,toHaveAccessibleDescription:()=>$x,toHaveAccessibleErrorMessage:()=>EW,toHaveAccessibleName:()=>Nx,toHaveAttribute:()=>PW,toHaveClass:()=>jW,toHaveDescription:()=>KW,toHaveDisplayValue:()=>UW,toHaveErrorMessage:()=>XW,toHaveFocus:()=>RW,toHaveFormValues:()=>IW,toHaveRole:()=>Bx,toHaveSelection:()=>QW,toHaveStyle:()=>qx,toHaveTextContent:()=>CW,toHaveValue:()=>HW});var zte=is(b2e(),1);function uW(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}T(uW,"$parcel$defineInteropFlag");function x_(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}T(x_,"$parcel$export");var q2e={};uW(q2e);x_(q2e,"default",()=>W2e);var z2e=class extends Error{constructor(t,r,n,i,a){super(t+":"+n+":"+i+": "+r),this.reason=r,this.filename=t,this.line=n,this.column=i,this.source=a}};T(z2e,"$009ddb00d3ec72b8$export$2e2bcd8739ae039");var W2e=z2e,H2e={};uW(H2e);x_(H2e,"default",()=>G2e);var U2e=class{constructor(t,r,n){this.start=t,this.end=r,this.source=n}};T(U2e,"$0865a9fb4cc365fe$export$2e2bcd8739ae039");var G2e=U2e,X4t={};x_(X4t,"CssTypes",()=>Un);var Un=(function(e){return e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports",e})({}),P9=/\/\*[^]*?(?:\*\/|$)/g,Q4t=T((e,t)=>{t=t||{};let r=1,n=1;function i(U){let W=U.match(/\n/g);W&&(r+=W.length);let H=U.lastIndexOf(`
`);n=~H?U.length-H:n+U.length}T(i,"updatePosition");function a(){let U={line:r,column:n};return function(W){return W.position=new G2e(U,{line:r,column:n},(t==null?void 0:t.source)||""),p(),W}}T(a,"position");let s=[];function o(U){let W=new W2e((t==null?void 0:t.source)||"",U,r,n,e);if(t!=null&&t.silent)s.push(W);else throw W}T(o,"error");function l(){let U=d();return{type:Un.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:U,parsingErrors:s}}}T(l,"stylesheet");function c(){return h(/^{\s*/)}T(c,"open");function u(){return h(/^}/)}T(u,"close");function d(){let U,W=[];for(p(),m(W);e.length&&e.charAt(0)!=="}"&&(U=he()||fe());)U&&(W.push(U),m(W));return W}T(d,"rules");function h(U){let W=U.exec(e);if(!W)return;let H=W[0];return i(H),e=e.slice(H.length),W}T(h,"match");function p(){h(/^\s*/)}T(p,"whitespace");function m(U){let W;for(U=U||[];W=g();)W&&U.push(W);return U}T(m,"comments");function g(){let U=a();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let W=h(/^\/\*[^]*?\*\//);return W?U({type:Un.comment,comment:W[0].slice(2,-2)}):o("End of comment missing")}T(g,"comment");function b(U,W,H){let ie=W+1,J=!1,we=U.indexOf(")",ie);for(;!J&&we!==-1;){let Le=U.indexOf("(",ie);Le!==-1&&Le<we?(ie=b(U,Le+1)+1,we=U.indexOf(")",ie)):J=!0}return J&&we!==-1?we:-1}T(b,"findClosingParenthese");function y(){let U=h(/^([^{]+)/);if(!U)return;let W=Da(U[0]).replace(P9,"");if(W.indexOf(",")===-1)return[W];let H=0,ie=W.indexOf("(",H);for(;ie!==-1;){let J=b(W,ie);if(J===-1)break;H=J+1,W=W.substring(0,ie)+W.substring(ie,J).replace(/,/g,"")+W.substring(J),ie=W.indexOf("(",H)}return W=W.replace(/("|')(?:\\\1|.)*?\1/g,J=>J.replace(/,/g,"")),W.split(",").map(J=>Da(J.replace(/\u200C/g,",")))}T(y,"selector");function v(){let U=a(),W=h(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!W)return;let H=Da(W[0]);if(!h(/^:\s*/))return o("property missing ':'");let ie=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)])*?\)|[^};])+)/),J=U({type:Un.declaration,property:H.replace(P9,""),value:ie?Da(ie[0]).replace(P9,""):""});return h(/^[;\s]*/),J}T(v,"declaration");function S(){let U=[];if(!c())return o("missing '{'");m(U);let W;for(;W=v();)W&&(U.push(W),m(U));return u()?U:o("missing '}'")}T(S,"declarations");function x(){let U,W=[],H=a();for(;U=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)W.push(U[1]),h(/^,\s*/);if(W.length)return H({type:Un.keyframe,values:W,declarations:S()||[]})}T(x,"keyframe");function w(){let U=a(),W=h(/^@([-\w]+)?keyframes\s*/);if(!W)return;let H=W[1],ie=h(/^([-\w]+)\s*/);if(!ie)return o("@keyframes missing name");let J=ie[1];if(!c())return o("@keyframes missing '{'");let we,Le=m();for(;we=x();)Le.push(we),Le=Le.concat(m());return u()?U({type:Un.keyframes,name:J,vendor:H,keyframes:Le}):o("@keyframes missing '}'")}T(w,"atkeyframes");function A(){let U=a(),W=h(/^@supports *([^{]+)/);if(!W)return;let H=Da(W[1]);if(!c())return o("@supports missing '{'");let ie=m().concat(d());return u()?U({type:Un.supports,supports:H,rules:ie}):o("@supports missing '}'")}T(A,"atsupports");function _(){let U=a();if(!h(/^@host\s*/))return;if(!c())return o("@host missing '{'");let W=m().concat(d());return u()?U({type:Un.host,rules:W}):o("@host missing '}'")}T(_,"athost");function C(){let U=a(),W=h(/^@container *([^{]+)/);if(!W)return;let H=Da(W[1]);if(!c())return o("@container missing '{'");let ie=m().concat(d());return u()?U({type:Un.container,container:H,rules:ie}):o("@container missing '}'")}T(C,"atcontainer");function E(){let U=a(),W=h(/^@layer *([^{;@]+)/);if(!W)return;let H=Da(W[1]);if(!c())return h(/^[;\s]*/),U({type:Un.layer,layer:H});let ie=m().concat(d());return u()?U({type:Un.layer,layer:H,rules:ie}):o("@layer missing '}'")}T(E,"atlayer");function R(){let U=a(),W=h(/^@media *([^{]+)/);if(!W)return;let H=Da(W[1]);if(!c())return o("@media missing '{'");let ie=m().concat(d());return u()?U({type:Un.media,media:H,rules:ie}):o("@media missing '}'")}T(R,"atmedia");function P(){let U=a(),W=h(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(W)return U({type:Un.customMedia,name:Da(W[1]),media:Da(W[2])})}T(P,"atcustommedia");function O(){let U=a();if(!h(/^@page */))return;let W=y()||[];if(!c())return o("@page missing '{'");let H=m(),ie;for(;ie=v();)H.push(ie),H=H.concat(m());return u()?U({type:Un.page,selectors:W,declarations:H}):o("@page missing '}'")}T(O,"atpage");function k(){let U=a(),W=h(/^@([-\w]+)?document *([^{]+)/);if(!W)return;let H=Da(W[1]),ie=Da(W[2]);if(!c())return o("@document missing '{'");let J=m().concat(d());return u()?U({type:Un.document,document:ie,vendor:H,rules:J}):o("@document missing '}'")}T(k,"atdocument");function I(){let U=a();if(!h(/^@font-face\s*/))return;if(!c())return o("@font-face missing '{'");let W=m(),H;for(;H=v();)W.push(H),W=W.concat(m());return u()?U({type:Un.fontFace,declarations:W}):o("@font-face missing '}'")}T(I,"atfontface");function M(){let U=a();if(!h(/^@starting-style\s*/))return;if(!c())return o("@starting-style missing '{'");let W=m().concat(d());return u()?U({type:Un.startingStyle,rules:W}):o("@starting-style missing '}'")}T(M,"atstartingstyle");let D=Y("import"),F=Y("charset"),$=Y("namespace");function Y(U){let W=new RegExp("^@"+U+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let H=a(),ie=h(W);if(!ie)return;let J={type:U};return J[U]=ie[1].trim(),H(J)}}T(Y,"_compileAtrule");function he(){if(e[0]==="@")return w()||R()||P()||A()||D()||F()||$()||k()||O()||_()||I()||C()||M()||E()}T(he,"atrule");function fe(){let U=a(),W=y();return W?(m(),U({type:Un.rule,selectors:W,declarations:S()||[]})):o("selector missing")}return T(fe,"rule"),Dx(l())},"$d708735ed1303b43$export$98e6a39c04603d36");function Da(e){return e?e.trim():""}T(Da,"$d708735ed1303b43$var$trim");function Dx(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let i in e){let a=e[i];Array.isArray(a)?a.forEach(s=>{Dx(s,n)}):a&&typeof a=="object"&&Dx(a,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}T(Dx,"$d708735ed1303b43$var$addParent");var J4t=Q4t,Z4t=J4t,e_t=Object.prototype.toString;function bk(e){return typeof e=="function"||e_t.call(e)==="[object Function]"}T(bk,"isCallable");function V2e(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}T(V2e,"toInteger");var t_t=Math.pow(2,53)-1;function Y2e(e){var t=V2e(e);return Math.min(Math.max(t,0),t_t)}T(Y2e,"toLength");function ys(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!bk(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var i=Y2e(n.length),a=bk(r)?Object(new r(i)):new Array(i),s=0,o;s<i;)o=n[s],t?a[s]=t(o,s):a[s]=o,s+=1;return a.length=i,a}T(ys,"arrayFrom");function Eg(e){"@babel/helpers - typeof";return Eg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Eg(e)}T(Eg,"_typeof");function K2e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}T(K2e,"_classCallCheck");function yk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,dW(n.key),n)}}T(yk,"_defineProperties");function X2e(e,t,r){return t&&yk(e.prototype,t),r&&yk(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}T(X2e,"_createClass");function Q2e(e,t,r){return t=dW(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}T(Q2e,"_defineProperty");function dW(e){var t=J2e(e,"string");return Eg(t)==="symbol"?t:String(t)}T(dW,"_toPropertyKey");function J2e(e,t){if(Eg(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Eg(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}T(J2e,"_toPrimitive");var r_t=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];K2e(this,e),Q2e(this,"items",void 0),this.items=t}return T(e,"SetLike"),X2e(e,[{key:"add",value:T(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:T(function(){this.items=[]},"clear")},{key:"delete",value:T(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:T(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:T(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:T(function(){return this.items.length},"get")}]),e})(),n_t=typeof Set>"u"?Set:r_t;function mi(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}T(mi,"getLocalName");var i_t={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},a_t={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function Z2e(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=a_t[t])!==null&&n!==void 0&&n.has(r))})}T(Z2e,"hasGlobalAriaAttributes");function pW(e,t){return Z2e(e,t)}T(pW,"ignorePresentationalRole");function e3e(e){var t=r3e(e);if(t===null||vk.indexOf(t)!==-1){var r=t3e(e);if(vk.indexOf(t||"")===-1||pW(e,r||""))return r}return t}T(e3e,"getRole");function t3e(e){var t=i_t[mi(e)];if(t!==void 0)return t;switch(mi(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!pW(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}T(t3e,"getImplicitRole");function r3e(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}T(r3e,"getExplicitRole");var vk=["presentation","none"];function T0(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}T(T0,"isElement");function hW(e){return T0(e)&&mi(e)==="caption"}T(hW,"isHTMLTableCaptionElement");function Jy(e){return T0(e)&&mi(e)==="input"}T(Jy,"isHTMLInputElement");function n3e(e){return T0(e)&&mi(e)==="optgroup"}T(n3e,"isHTMLOptGroupElement");function i3e(e){return T0(e)&&mi(e)==="select"}T(i3e,"isHTMLSelectElement");function a3e(e){return T0(e)&&mi(e)==="table"}T(a3e,"isHTMLTableElement");function s3e(e){return T0(e)&&mi(e)==="textarea"}T(s3e,"isHTMLTextAreaElement");function o3e(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}T(o3e,"safeWindow");function l3e(e){return T0(e)&&mi(e)==="fieldset"}T(l3e,"isHTMLFieldSetElement");function c3e(e){return T0(e)&&mi(e)==="legend"}T(c3e,"isHTMLLegendElement");function u3e(e){return T0(e)&&mi(e)==="slot"}T(u3e,"isHTMLSlotElement");function d3e(e){return T0(e)&&e.ownerSVGElement!==void 0}T(d3e,"isSVGElement");function p3e(e){return T0(e)&&mi(e)==="svg"}T(p3e,"isSVGSVGElement");function h3e(e){return d3e(e)&&mi(e)==="title"}T(h3e,"isSVGTitleElement");function y7(e,t){if(T0(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(i){return n.getElementById(i)}).filter(function(i){return i!==null})}return[]}T(y7,"queryIdRefs");function hl(e,t){return T0(e)?t.indexOf(e3e(e))!==-1:!1}T(hl,"hasAnyConcreteRoles");function f3e(e){return e.trim().replace(/\s\s+/g," ")}T(f3e,"asFlatString");function m3e(e,t){if(!T0(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}T(m3e,"isHidden");function g3e(e){return hl(e,["button","combobox","listbox","textbox"])||fW(e,"range")}T(g3e,"isControl");function fW(e,t){if(!T0(e))return!1;switch(t){case"range":return hl(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}T(fW,"hasAbstractRole");function Tk(e,t){var r=ys(e.querySelectorAll(t));return y7(e,"aria-owns").forEach(function(n){r.push.apply(r,ys(n.querySelectorAll(t)))}),r}T(Tk,"querySelectorAllSubtree");function b3e(e){return i3e(e)?e.selectedOptions||Tk(e,"[selected]"):Tk(e,'[aria-selected="true"]')}T(b3e,"querySelectedOptions");function y3e(e){return hl(e,vk)}T(y3e,"isMarkedPresentational");function v3e(e){return hW(e)}T(v3e,"isNativeHostLanguageTextAlternativeElement");function T3e(e){return hl(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}T(T3e,"allowsNameFromContent");function S3e(e){return!1}T(S3e,"isDescendantOfNativeHostLanguageTextAlternativeElement");function x3e(e){return Jy(e)||s3e(e)?e.value:e.textContent||""}T(x3e,"getValueOfTextbox");function Sk(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}T(Sk,"getTextualContent");function mW(e){var t=mi(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}T(mW,"isLabelableElement");function gW(e){if(mW(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&T0(r)){var n=gW(r);n!==null&&(t=n)}}),t}T(gW,"findLabelableElement");function w3e(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):gW(e)}T(w3e,"getControlOfLabel");function _3e(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ys(t);if(!mW(e))return null;var r=e.ownerDocument;return ys(r.querySelectorAll("label")).filter(function(n){return w3e(n)===e})}T(_3e,"getLabels");function A3e(e){var t=e.assignedNodes();return t.length===0?ys(e.childNodes):t}T(A3e,"getSlotContents");function bW(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new n_t,n=o3e(e),i=t.compute,a=i===void 0?"name":i,s=t.computedStyleSupportsPseudoElements,o=s===void 0?t.getComputedStyle!==void 0:s,l=t.getComputedStyle,c=l===void 0?n.getComputedStyle.bind(n):l,u=t.hidden,d=u===void 0?!1:u;function h(y,v){var S="";if(T0(y)&&o){var x=c(y,"::before"),w=Sk(x);S="".concat(w," ").concat(S)}var A=u3e(y)?A3e(y):ys(y.childNodes).concat(y7(y,"aria-owns"));if(A.forEach(function(E){var R=b(E,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),P=T0(E)?c(E).getPropertyValue("display"):"inline",O=P!=="inline"?" ":"";S+="".concat(O).concat(R).concat(O)}),T0(y)&&o){var _=c(y,"::after"),C=Sk(_);S="".concat(S," ").concat(C)}return S.trim()}T(h,"computeMiscTextAlternative");function p(y,v){var S=y.getAttributeNode(v);return S!==null&&!r.has(S)&&S.value.trim()!==""?(r.add(S),S.value):null}T(p,"useAttribute");function m(y){return T0(y)?p(y,"title"):null}T(m,"computeTooltipAttributeValue");function g(y){if(!T0(y))return null;if(l3e(y)){r.add(y);for(var v=ys(y.childNodes),S=0;S<v.length;S+=1){var x=v[S];if(c3e(x))return b(x,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(a3e(y)){r.add(y);for(var w=ys(y.childNodes),A=0;A<w.length;A+=1){var _=w[A];if(hW(_))return b(_,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(p3e(y)){r.add(y);for(var C=ys(y.childNodes),E=0;E<C.length;E+=1){var R=C[E];if(h3e(R))return R.textContent}return null}else if(mi(y)==="img"||mi(y)==="area"){var P=p(y,"alt");if(P!==null)return P}else if(n3e(y)){var O=p(y,"label");if(O!==null)return O}if(Jy(y)&&(y.type==="button"||y.type==="submit"||y.type==="reset")){var k=p(y,"value");if(k!==null)return k;if(y.type==="submit")return"Submit";if(y.type==="reset")return"Reset"}var I=_3e(y);if(I!==null&&I.length!==0)return r.add(y),ys(I).map(function($){return b($,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function($){return $.length>0}).join(" ");if(Jy(y)&&y.type==="image"){var M=p(y,"alt");if(M!==null)return M;var D=p(y,"title");return D!==null?D:"Submit Query"}if(hl(y,["button"])){var F=h(y,{isEmbeddedInLabel:!1});if(F!=="")return F}return null}T(g,"computeElementTextAlternative");function b(y,v){if(r.has(y))return"";if(!d&&m3e(y,c)&&!v.isReferenced)return r.add(y),"";var S=T0(y)?y.getAttributeNode("aria-labelledby"):null,x=S!==null&&!r.has(S)?y7(y,"aria-labelledby"):[];if(a==="name"&&!v.isReferenced&&x.length>0)return r.add(S),x.map(function(P){return b(P,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var w=v.recursion&&g3e(y)&&a==="name";if(!w){var A=(T0(y)&&y.getAttribute("aria-label")||"").trim();if(A!==""&&a==="name")return r.add(y),A;if(!y3e(y)){var _=g(y);if(_!==null)return r.add(y),_}}if(hl(y,["menu"]))return r.add(y),"";if(w||v.isEmbeddedInLabel||v.isReferenced){if(hl(y,["combobox","listbox"])){r.add(y);var C=b3e(y);return C.length===0?Jy(y)?y.value:"":ys(C).map(function(P){return b(P,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(fW(y,"range"))return r.add(y),y.hasAttribute("aria-valuetext")?y.getAttribute("aria-valuetext"):y.hasAttribute("aria-valuenow")?y.getAttribute("aria-valuenow"):y.getAttribute("value")||"";if(hl(y,["textbox"]))return r.add(y),x3e(y)}if(T3e(y)||T0(y)&&v.isReferenced||v3e(y)||S3e()){var E=h(y,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(E!=="")return r.add(y),E}if(y.nodeType===y.TEXT_NODE)return r.add(y),y.textContent||"";if(v.recursion)return r.add(y),h(y,{isEmbeddedInLabel:v.isEmbeddedInLabel});var R=m(y);return R!==null?(r.add(y),R):(r.add(y),"")}return T(b,"computeTextAlternative"),f3e(b(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}T(bW,"computeTextAlternative");function Pg(e){"@babel/helpers - typeof";return Pg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pg(e)}T(Pg,"_typeof");function xk(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}T(xk,"ownKeys");function wk(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?xk(Object(r),!0).forEach(function(n){C3e(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xk(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}T(wk,"_objectSpread");function C3e(e,t,r){return t=E3e(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}T(C3e,"_defineProperty");function E3e(e){var t=P3e(e,"string");return Pg(t)==="symbol"?t:String(t)}T(E3e,"_toPropertyKey");function P3e(e,t){if(Pg(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Pg(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}T(P3e,"_toPrimitive");function j3e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=y7(e,"aria-describedby").map(function(a){return bW(a,wk(wk({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var i=e.getAttribute("title");r=i===null?"":i}return r}T(j3e,"computeAccessibleDescription");function R3e(e){return hl(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}T(R3e,"prohibitsNaming");function I3e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return R3e(e)?"":bW(e,t)}T(I3e,"computeAccessibleName");var yW=is(y2e(),1),s_t=is(T2e(),1),vW=is(I2e(),1),o_t=is(O2e(),1),O3e=class extends Error{constructor(t,r,n,i){super(),Error.captureStackTrace&&Error.captureStackTrace(this,n);let a="";try{a=i.utils.printWithType("Received",r,i.utils.printReceived)}catch(s){}this.message=[i.utils.matcherHint(`${i.isNot?".not":""}.${n.name}`,"received",""),"",`${i.utils.RECEIVED_COLOR("received")} value must ${t}.`,a].join(`
`)}};T(O3e,"GenericTypeError");var M3e=O3e,k3e=class extends M3e{constructor(...t){super("be an HTMLElement or an SVGElement",...t)}};T(k3e,"HtmlElementTypeError");var Wte=k3e,D3e=class extends M3e{constructor(...t){super("be a Node",...t)}};T(D3e,"NodeTypeError");var Hte=D3e;function TW(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}T(TW,"checkHasWindow");function L3e(e,...t){TW(e,Hte,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new Hte(e,...t)}T(L3e,"checkNode");function Nr(e,...t){TW(e,Wte,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new Wte(e,...t)}T(Nr,"checkHtmlElement");var F3e=class extends Error{constructor(t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.message=[t.message,"",n.utils.RECEIVED_COLOR("Failing css:"),n.utils.RECEIVED_COLOR(`${t.css}`)].join(`
`)}};T(F3e,"InvalidCSSError");var l_t=F3e;function $3e(e,...t){let r=Z4t(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:i}=r.parsingErrors[0];throw new l_t({css:e,message:`Syntax error parsing expected css: ${n} on line: ${i}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:i,value:a})=>Object.assign(n,{[i]:a}),{})}T($3e,"parseCSS");function _k(e,t){return typeof t=="string"?t:e.utils.stringify(t)}T(_k,"display");function ei(e,t,r,n,i,a){return[`${t}
`,`${r}:
${e.utils.EXPECTED_COLOR((0,zte.default)(_k(e,n),2))}`,`${i}:
${e.utils.RECEIVED_COLOR((0,zte.default)(_k(e,a),2))}`].join(`
`)}T(ei,"getMessage");function B3e(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}T(B3e,"matches");function Qv(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}T(Qv,"deprecate");function Jv(e){return e.replace(/\s+/g," ").trim()}T(Jv,"normalize");function Xc(e){return e.tagName&&e.tagName.toLowerCase()}T(Xc,"getTag");function N3e({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}T(N3e,"getSelectValue");function q3e(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}T(q3e,"getInputValue");var c_t=["meter","progressbar","slider","spinbutton"];function z3e(e){if(c_t.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}T(z3e,"getAccessibleValue");function SW(e){var t;if(e)switch(e.tagName.toLowerCase()){case"input":return q3e(e);case"select":return N3e(e);default:return(t=e.value)!=null?t:z3e(e)}}T(SW,"getSingleElementValue");function W3e(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}T(W3e,"toSentence");function w_(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}T(w_,"compareArraysAsSet");function Lx(e,t){return Qv("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&Nr(e,Lx,this),t&&Nr(t,Lx,this),{pass:t?t.contains(e):!!e,message:T(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
`),"message")}}T(Lx,"toBeInTheDOM");function xW(e){(e!==null||!this.isNot)&&Nr(e,xW,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=T(()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,"errorFound"),n=T(()=>"element could not be found in the document","errorNotFound");return{pass:t,message:T(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
`),"message")}}T(xW,"toBeInTheDocument");function wW(e){return Qv("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),Nr(e,wW,this),{pass:e.innerHTML==="",message:T(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
`),"message")}}T(wW,"toBeEmpty");function _W(e){return Nr(e,_W,this),{pass:H3e(e),message:T(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
`),"message")}}T(_W,"toBeEmptyDOMElement");function H3e(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}T(H3e,"isEmptyElement");function Fx(e,t){return Nr(e,Fx,this),t!==null&&Nr(t,Fx,this),{pass:e.contains(t),message:T(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
`)].join(`
`),"message")}}T(Fx,"toContainElement");function U3e(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}T(U3e,"getNormalizedHtml");function AW(e,t){if(Nr(e,AW,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(U3e(e,t)),message:T(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
`),"message")}}T(AW,"toContainHTML");function CW(e,t,r={normalizeWhitespace:!0}){L3e(e,CW,this);let n=r.normalizeWhitespace?Jv(e.textContent):e.textContent.replace(/\u00a0/g," "),i=n!==""&&t==="";return{pass:!i&&B3e(n,t),message:T(()=>{let a=this.isNot?"not to":"to";return ei(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),i?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${a} have text content`,t,"Received",n)},"message")}}T(CW,"toHaveTextContent");function $x(e,t){Nr(e,$x,this);let r=j3e(e),n=arguments.length===1,i=!1;return n?i=r!=="":i=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:i,message:T(()=>{let a=this.isNot?"not to":"to";return ei(this,this.utils.matcherHint(`${this.isNot?".not":""}.${$x.name}`,"element",""),`Expected element ${a} have accessible description`,t,"Received",r)},"message")}}T($x,"toHaveAccessibleDescription");var jb="aria-invalid",u_t=["false"];function EW(e,t){var o,l;Nr(e,EW,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",i=e.getAttribute("aria-errormessage");if(i&&/\s+/.test(i))return{pass:!1,message:T(()=>ei(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${i}"`),"message")};let a=e.getAttribute(jb);if(!e.hasAttribute(jb)||u_t.includes(a))return{pass:!1,message:T(()=>ei(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${jb}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${jb}="${e.getAttribute(jb)}`:null),"message")};let s=Jv((l=(o=e.ownerDocument.getElementById(i))==null?void 0:o.textContent)!=null?l:"");return{pass:t===void 0?!!s:t instanceof RegExp?t.test(s):this.equals(s,t),message:T(()=>ei(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t!=null?t:"","Received",s),"message")}}T(EW,"toHaveAccessibleErrorMessage");var d_t=Y3e(yW.elementRoles);function Bx(e,t){Nr(e,Bx,this);let r=G3e(e);return{pass:r.some(n=>n===t),message:T(()=>{let n=this.isNot?"not to":"to";return ei(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Bx.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))},"message")}}T(Bx,"toHaveRole");function G3e(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):V3e(e)}T(G3e,"getExplicitOrImplicitRoles");function V3e(e){for(let{match:t,roles:r}of d_t)if(t(e))return[...r];return[]}T(V3e,"getImplicitAriaRoles");function Y3e(e){function t({name:s,attributes:o}){return`${s}${o.map(({name:l,value:c,constraints:u=[]})=>u.indexOf("undefined")!==-1?`:not([${l}])`:c?`[${l}="${c}"]`:`[${l}]`).join("")}`}T(t,"makeElementSelector");function r({attributes:s=[]}){return s.length}T(r,"getSelectorSpecificity");function n({specificity:s},{specificity:o}){return o-s}T(n,"bySelectorSpecificity");function i(s){let{attributes:o=[]}=s,l=o.findIndex(u=>u.value&&u.name==="type"&&u.value==="text");l>=0&&(o=[...o.slice(0,l),...o.slice(l+1)]);let c=t({...s,attributes:o});return u=>l>=0&&u.type!=="text"?!1:u.matches(c)}T(i,"match");let a=[];for(let[s,o]of e.entries())a=[...a,{match:i(s),roles:Array.from(o),specificity:r(s)}];return a.sort(n)}T(Y3e,"buildElementRoleList");function Nx(e,t){Nr(e,Nx,this);let r=I3e(e),n=arguments.length===1,i=!1;return n?i=r!=="":i=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:i,message:T(()=>{let a=this.isNot?"not to":"to";return ei(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Nx.name}`,"element",""),`Expected element ${a} have accessible name`,t,"Received",r)},"message")}}T(Nx,"toHaveAccessibleName");function Ak(e,t,r){return r===void 0?t:`${t}=${e(r)}`}T(Ak,"printAttribute");function K3e(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}T(K3e,"getAttributeComment");function PW(e,t,r){Nr(e,PW,this);let n=r!==void 0,i=e.hasAttribute(t),a=e.getAttribute(t);return{pass:n?i&&this.equals(a,r):i,message:T(()=>{let s=this.isNot?"not to":"to",o=i?Ak(this.utils.stringify,t,a):null,l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:K3e(this.utils.stringify,t,r)});return ei(this,l,`Expected the element ${s} have attribute`,Ak(this.utils.stringify,t,r),"Received",o)},"message")}}T(PW,"toHaveAttribute");function X3e(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}T(X3e,"getExpectedClassNamesAndOptions");function Ck(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}T(Ck,"splitClassNames");function Ek(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}T(Ek,"isSubset$1");function jW(e,...t){Nr(e,jW,this);let{expectedClassNames:r,options:n}=X3e(t),i=Ck(e.getAttribute("class")),a=r.reduce((o,l)=>o.concat(typeof l=="string"||!l?Ck(l):l),[]),s=a.some(o=>o instanceof RegExp);if(n.exact&&s)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:Ek(a,i)&&a.length===i.length,message:T(()=>{let o=this.isNot?"not to":"to";return ei(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${o} have EXACTLY defined classes`,a.join(" "),"Received",i.join(" "))},"message")}:a.length>0?{pass:Ek(a,i),message:T(()=>{let o=this.isNot?"not to":"to";return ei(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${o} have class`,a.join(" "),"Received",i.join(" "))},"message")}:{pass:this.isNot?i.length>0:!1,message:T(()=>this.isNot?ei(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",i.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
`),"message")}}T(jW,"toHaveClass");function Q3e(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(i=>{n.style[i]=t[i],r[i]=n.style[i]}),r}T(Q3e,"getStyleDeclaration");function J3e(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let i=r.startsWith("--"),a=[r];return i||a.push(r.toLowerCase()),a.some(s=>t[s]===n||t.getPropertyValue(s)===n)})}T(J3e,"isSubset");function Pk(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
`)}T(Pk,"printoutStyles");function Z3e(e,t,r){let n=Array.from(r).filter(i=>t[i]!==void 0).reduce((i,a)=>Object.assign(i,{[a]:r.getPropertyValue(a)}),{});return e(Pk(t),Pk(n)).replace(`${s_t.default.red("+ Received")}
`,"")}T(Z3e,"expectedDiff");function qx(e,t){Nr(e,qx,this);let r=typeof t=="object"?t:$3e(t,qx,this),{getComputedStyle:n}=e.ownerDocument.defaultView,i=Q3e(e.ownerDocument,r),a=n(e);return{pass:J3e(i,a),message:T(()=>{let s=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(s,"element",""),Z3e(this.utils.diff,i,a)].join(`
`)},"message")}}T(qx,"toHaveStyle");function RW(e){return Nr(e,RW,this),{pass:e.ownerDocument.activeElement===e,message:T(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
`),"message")}}T(RW,"toHaveFocus");function eTe(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}T(eTe,"getMultiElementValue");function tTe(e,t){let r=[...e.querySelectorAll(`[name="${(0,o_t.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return SW(r[0]);default:return eTe(r)}}T(tTe,"getFormValue");function rTe(e){return/\[\]$/.test(e)?e.slice(0,-2):e}T(rTe,"getPureName");function nTe(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[rTe(r)]:tTe(e,r)}),{})}T(nTe,"getAllFormValues");function IW(e,t){if(Nr(e,IW,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=nTe(e);return{pass:Object.entries(t).every(([n,i])=>(0,vW.default)(r[n],i,w_)),message:T(()=>{let n=this.isNot?"not to":"to",i=`${this.isNot?".not":""}.toHaveFormValues`,a=Object.keys(r).filter(s=>t.hasOwnProperty(s)).reduce((s,o)=>({...s,[o]:r[o]}),{});return[this.utils.matcherHint(i,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,a)].join(`
`)},"message")}}T(IW,"toHaveFormValues");function iTe(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:i}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&i!=="0"&&i!==0}T(iTe,"isStyleVisible");function aTe(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}T(aTe,"isAttributeVisible");function OW(e,t){return iTe(e)&&aTe(e,t)&&(!e.parentElement||OW(e.parentElement,e))}T(OW,"isElementVisible");function MW(e){Nr(e,MW,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&OW(e);return{pass:r,message:T(()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
`)},"message")}}T(MW,"toBeVisible");var p_t=["fieldset","input","select","optgroup","option","button","textarea"];function sTe(e,t){return Xc(e)==="legend"&&Xc(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>Xc(r)==="legend"))}T(sTe,"isFirstLegendChildOfFieldset");function oTe(e,t){return DW(t)&&!sTe(e,t)}T(oTe,"isElementDisabledByParent");function lTe(e){return e.includes("-")}T(lTe,"isCustomElement");function kW(e){let t=Xc(e);return p_t.includes(t)||lTe(t)}T(kW,"canElementBeDisabled");function DW(e){return kW(e)&&e.hasAttribute("disabled")}T(DW,"isElementDisabled");function LW(e){let t=e.parentElement;return!!t&&(oTe(e,t)||LW(t))}T(LW,"isAncestorDisabled");function FW(e){return kW(e)&&(DW(e)||LW(e))}T(FW,"isElementOrAncestorDisabled");function $W(e){Nr(e,$W,this);let t=FW(e);return{pass:t,message:T(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
`)},"message")}}T($W,"toBeDisabled");function BW(e){Nr(e,BW,this);let t=!FW(e);return{pass:t,message:T(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
`)},"message")}}T(BW,"toBeEnabled");var h_t=["select","textarea"],f_t=["input","select","textarea"],m_t=["color","hidden","range","submit","image","reset"],g_t=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function cTe(e){return h_t.includes(Xc(e))&&e.hasAttribute("required")}T(cTe,"isRequiredOnFormTagsExceptInput");function uTe(e){return Xc(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!m_t.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}T(uTe,"isRequiredOnSupportedInput");function dTe(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(f_t.includes(Xc(e))||e.hasAttribute("role")&&g_t.includes(e.getAttribute("role")))}T(dTe,"isElementRequiredByARIA");function NW(e){Nr(e,NW,this);let t=cTe(e)||uTe(e)||dTe(e);return{pass:t,message:T(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
`)},"message")}}T(NW,"toBeRequired");var b_t=["form","input","select","textarea"];function pTe(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}T(pTe,"isElementHavingAriaInvalid");function hTe(e){return b_t.includes(Xc(e))}T(hTe,"isSupportsValidityMethod");function qW(e){let t=pTe(e);return hTe(e)?t||!e.checkValidity():t}T(qW,"isElementInvalid");function zW(e){Nr(e,zW,this);let t=qW(e);return{pass:t,message:T(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
`)},"message")}}T(zW,"toBeInvalid");function WW(e){Nr(e,WW,this);let t=!qW(e);return{pass:t,message:T(()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
`)},"message")}}T(WW,"toBeValid");function HW(e,t){if(Nr(e,HW,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=SW(e),n=t!==void 0,i=t,a=r;return t==r&&t!==r&&(i=`${t} (${typeof t})`,a=`${r} (${typeof r})`),{pass:n?(0,vW.default)(r,t,w_):!!r,message:T(()=>{let s=this.isNot?"not to":"to",o=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return ei(this,o,`Expected the element ${s} have value`,n?i:"(any)","Received",a)},"message")}}T(HW,"toHaveValue");function UW(e,t){Nr(e,UW,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=fTe(r,e),i=mTe(t),a=i.filter(l=>n.some(c=>l instanceof RegExp?l.test(c):this.equals(c,String(l)))).length,s=a===n.length,o=a===i.length;return{pass:s&&o,message:T(()=>ei(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n),"message")}}T(UW,"toHaveDisplayValue");function fTe(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}T(fTe,"getValues");function mTe(e){return e instanceof Array?e:[e]}T(mTe,"getExpectedValues");function GW(e){Nr(e,GW,this);let t=T(()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),"isValidInput"),r=T(()=>VW(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked")),"isValidAriaElement");if(!t()&&!r())return{pass:!1,message:T(()=>`only inputs with type="checkbox" or type="radio" or elements with ${gTe()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`,"message")};let n=T(()=>t()?e.checked:e.getAttribute("aria-checked")==="true","isChecked");return{pass:n(),message:T(()=>{let i=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${i} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
`)},"message")}}T(GW,"toBeChecked");function gTe(){return W3e(bTe().map(e=>`role="${e}"`),{lastWordConnector:" or "})}T(gTe,"supportedRolesSentence");function bTe(){return yW.roles.keys().filter(VW)}T(bTe,"supportedRoles");function VW(e){var t;return((t=yW.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}T(VW,"roleSupportsChecked");function YW(e){Nr(e,YW,this);let t=T(()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox","isValidInput"),r=T(()=>e.getAttribute("role")==="checkbox","isValidAriaElement");if(!t()&&!r())return{pass:!1,message:T(()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead',"message")};let n=T(()=>{let i=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||i},"isPartiallyChecked");return{pass:n(),message:T(()=>{let i=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${i} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
`)},"message")}}T(YW,"toBePartiallyChecked");function KW(e,t){Qv("toHaveDescription","Please use toHaveAccessibleDescription."),Nr(e,KW,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),i="";if(n.length>0){let a=e.ownerDocument,s=n.map(o=>a.getElementById(o)).filter(Boolean);i=Jv(s.map(o=>o.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(i):this.equals(i,t):!!i,message:T(()=>{let a=this.isNot?"not to":"to";return ei(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${a} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(i))},"message")}}T(KW,"toHaveDescription");function XW(e,t){if(Qv("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),Nr(e,XW,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let a=this.isNot?".not":"";return{pass:!1,message:T(()=>ei(this,this.utils.matcherHint(`${a}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived("")),"message")}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),i="";if(n.length>0){let a=e.ownerDocument,s=n.map(o=>a.getElementById(o)).filter(Boolean);i=Jv(s.map(o=>o.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(i):this.equals(i,t):!!i,message:T(()=>{let a=this.isNot?"not to":"to";return ei(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${a} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(i))},"message")}}T(XW,"toHaveErrorMessage");function yTe(e){let t=e.ownerDocument.getSelection();if(["input","textarea"].includes(e.tagName.toLowerCase()))return["radio","checkbox"].includes(e.type)?"":e.value.toString().substring(e.selectionStart,e.selectionEnd);if(t.anchorNode===null||t.focusNode===null)return"";let r=t.getRangeAt(0),n=e.ownerDocument.createRange();if(t.containsNode(e,!1))n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n);else if(!(e.contains(t.anchorNode)&&e.contains(t.focusNode))){let a=e===r.startContainer||e.contains(r.startContainer),s=e===r.endContainer||e.contains(r.endContainer);t.removeAllRanges(),(a||s)&&(n.selectNodeContents(e),a&&n.setStart(r.startContainer,r.startOffset),s&&n.setEnd(r.endContainer,r.endOffset),t.addRange(n))}let i=t.toString();return t.removeAllRanges(),t.addRange(r),i}T(yTe,"getSelection");function QW(e,t){Nr(e,QW,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=yTe(e);return{pass:r?(0,vW.default)(n,t,w_):!!n,message:T(()=>{let i=this.isNot?"not to":"to",a=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return ei(this,a,`Expected the element ${i} have selection`,r?t:"(any)","Received",n)},"message")}}T(QW,"toHaveSelection");is(b2e(),1);is(y2e(),1);is(T2e(),1);is(I2e(),1);is(O2e(),1);var y_t={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},v_t=Object.entries(y_t);function __(e){return String(e)}T(__,"a");__.open="";__.close="";function vTe(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}T(vTe,"C");function TTe(e=!1){let t=vTe(e),r=T((s,o,l,c)=>{let u="",d=0;do u+=s.substring(d,c)+l,d=c+o.length,c=s.indexOf(o,d);while(~c);return u+s.substring(d)},"i"),n=T((s,o,l=s)=>{let c=T(u=>{let d=String(u),h=d.indexOf(o,s.length);return~h?s+r(d,o,l,h)+o:s+d+o},"o");return c.open=s,c.close=o,c},"g"),i={isColorSupported:t},a=T(s=>`\x1B[${s}m`,"d");for(let[s,o]of v_t)i[s]=t?n(a(o[0]),a(o[1]),o[2]):__;return i}T(TTe,"p");var ln=TTe();function JW(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:T(function(){return r[n]},"get")})}})}),Object.freeze(e)}T(JW,"_mergeNamespaces");function STe(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let i of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,i).enumerable&&n.push(i);return n}T(STe,"getKeysOfEnumerableProperties");function N1(e,t,r,n,i,a,s=": "){let o="",l=0,c=e.next();if(!c.done){o+=t.spacingOuter;let u=r+t.indent;for(;!c.done;){if(o+=u,l++===t.maxWidth){o+="…";break}let d=a(c.value[0],t,u,n,i),h=a(c.value[1],t,u,n,i);o+=d+s+h,c=e.next(),c.done?t.min||(o+=","):o+=`,${t.spacingInner}`}o+=t.spacingOuter+r}return o}T(N1,"printIteratorEntries");function A_(e,t,r,n,i,a){let s="",o=0,l=e.next();if(!l.done){s+=t.spacingOuter;let c=r+t.indent;for(;!l.done;){if(s+=c,o++===t.maxWidth){s+="…";break}s+=a(l.value,t,c,n,i),l=e.next(),l.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}T(A_,"printIteratorValues");function v7(e,t,r,n,i,a){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let o=T(c=>c instanceof DataView,"isDataView"),l=o(e)?e.byteLength:e.length;if(l>0){s+=t.spacingOuter;let c=r+t.indent;for(let u=0;u<l;u++){if(s+=c,u===t.maxWidth){s+="…";break}(o(e)||u in e)&&(s+=a(o(e)?e.getInt8(u):e[u],t,c,n,i)),u<l-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}T(v7,"printListItems");function C_(e,t,r,n,i,a){let s="",o=STe(e,t.compareKeys);if(o.length>0){s+=t.spacingOuter;let l=r+t.indent;for(let c=0;c<o.length;c++){let u=o[c],d=a(u,t,l,n,i),h=a(e[u],t,l,n,i);s+=`${l+d}: ${h}`,c<o.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}T(C_,"printObjectProperties");var T_t=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,j9=" ",S_t=T((e,t,r,n,i,a)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+j9}[${v7(e.sample,t,r,n,i,a)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+j9}{${C_(e.sample,t,r,n,i,a)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+j9+a(e.sample,t,r,n,i);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},"serialize$5"),x_t=T(e=>e&&e.$$typeof===T_t,"test$5"),w_t={serialize:S_t,test:x_t},__t=" ",xTe=new Set(["DOMStringMap","NamedNodeMap"]),A_t=/^(?:HTML\w*Collection|NodeList)$/;function wTe(e){return xTe.has(e)||A_t.test(e)}T(wTe,"testName");var C_t=T(e=>e&&e.constructor&&!!e.constructor.name&&wTe(e.constructor.name),"test$4");function _Te(e){return e.constructor.name==="NamedNodeMap"}T(_Te,"isNamedNodeMap");var E_t=T((e,t,r,n,i,a)=>{let s=e.constructor.name;return++n>t.maxDepth?`[${s}]`:(t.min?"":s+__t)+(xTe.has(s)?`{${C_(_Te(e)?[...e].reduce((o,l)=>(o[l.name]=l.value,o),{}):{...e},t,r,n,i,a)}}`:`[${v7([...e],t,r,n,i,a)}]`)},"serialize$4"),P_t={serialize:E_t,test:C_t};function ZW(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}T(ZW,"escapeHTML");function E_(e,t,r,n,i,a,s){let o=n+r.indent,l=r.colors;return e.map(c=>{let u=t[c],d=s(u,r,o,i,a);return typeof u!="string"&&(d.includes(`
`)&&(d=r.spacingOuter+o+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+l.prop.open+c+l.prop.close}=${l.value.open}${d}${l.value.close}`}).join("")}T(E_,"printProps");function P_(e,t,r,n,i,a){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?eH(s,t):a(s,t,r,n,i))).join("")}T(P_,"printChildren");function eH(e,t){let r=t.colors.content;return r.open+ZW(e)+r.close}T(eH,"printText");function ATe(e,t){let r=t.colors.comment;return`${r.open}<!--${ZW(e)}-->${r.close}`}T(ATe,"printComment");function j_(e,t,r,n,i){let a=n.colors.tag;return`${a.open}<${e}${t&&a.close+t+n.spacingOuter+i+a.open}${r?`>${a.close}${r}${n.spacingOuter}${i}${a.open}</${e}`:`${t&&!n.min?"":" "}/`}>${a.close}`}T(j_,"printElement");function R_(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}T(R_,"printElementAsLeaf");var j_t=1,CTe=3,ETe=8,PTe=11,R_t=/^(?:(?:HTML|SVG)\w*)?Element$/;function jTe(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch(t){return!1}}T(jTe,"testHasAttribute");function RTe(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,i=typeof n=="string"&&n.includes("-")||jTe(e);return r===j_t&&(R_t.test(t)||i)||r===CTe&&t==="Text"||r===ETe&&t==="Comment"||r===PTe&&t==="DocumentFragment"}T(RTe,"testNode");var I_t=T(e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&RTe(e)},"test$3");function ITe(e){return e.nodeType===CTe}T(ITe,"nodeIsText");function OTe(e){return e.nodeType===ETe}T(OTe,"nodeIsComment");function PT(e){return e.nodeType===PTe}T(PT,"nodeIsFragment");var O_t=T((e,t,r,n,i,a)=>{if(ITe(e))return eH(e.data,t);if(OTe(e))return ATe(e.data,t);let s=PT(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?R_(s,t):j_(s,E_(PT(e)?[]:Array.from(e.attributes,o=>o.name).sort(),PT(e)?{}:[...e.attributes].reduce((o,l)=>(o[l.name]=l.value,o),{}),t,r+t.indent,n,i,a),P_(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,i,a),t,r)},"serialize$3"),M_t={serialize:O_t,test:I_t},k_t="@@__IMMUTABLE_ITERABLE__@@",D_t="@@__IMMUTABLE_LIST__@@",L_t="@@__IMMUTABLE_KEYED__@@",F_t="@@__IMMUTABLE_MAP__@@",Ute="@@__IMMUTABLE_ORDERED__@@",$_t="@@__IMMUTABLE_RECORD__@@",B_t="@@__IMMUTABLE_SEQ__@@",N_t="@@__IMMUTABLE_SET__@@",q_t="@@__IMMUTABLE_STACK__@@",jg=T(e=>`Immutable.${e}`,"getImmutableName"),I_=T(e=>`[${e}]`,"printAsLeaf"),T7=" ",Gte="…";function MTe(e,t,r,n,i,a,s){return++n>t.maxDepth?I_(jg(s)):`${jg(s)+T7}{${N1(e.entries(),t,r,n,i,a)}}`}T(MTe,"printImmutableEntries");function kTe(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}T(kTe,"getRecordEntries");function DTe(e,t,r,n,i,a){let s=jg(e._name||"Record");return++n>t.maxDepth?I_(s):`${s+T7}{${N1(kTe(e),t,r,n,i,a)}}`}T(DTe,"printImmutableRecord");function LTe(e,t,r,n,i,a){let s=jg("Seq");return++n>t.maxDepth?I_(s):e[L_t]?`${s+T7}{${e._iter||e._object?N1(e.entries(),t,r,n,i,a):Gte}}`:`${s+T7}[${e._iter||e._array||e._collection||e._iterable?A_(e.values(),t,r,n,i,a):Gte}]`}T(LTe,"printImmutableSeq");function jT(e,t,r,n,i,a,s){return++n>t.maxDepth?I_(jg(s)):`${jg(s)+T7}[${A_(e.values(),t,r,n,i,a)}]`}T(jT,"printImmutableValues");var z_t=T((e,t,r,n,i,a)=>e[F_t]?MTe(e,t,r,n,i,a,e[Ute]?"OrderedMap":"Map"):e[D_t]?jT(e,t,r,n,i,a,"List"):e[N_t]?jT(e,t,r,n,i,a,e[Ute]?"OrderedSet":"Set"):e[q_t]?jT(e,t,r,n,i,a,"Stack"):e[B_t]?LTe(e,t,r,n,i,a):DTe(e,t,r,n,i,a),"serialize$2"),W_t=T(e=>e&&(e[k_t]===!0||e[$_t]===!0),"test$2"),H_t={serialize:z_t,test:W_t};function tH(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}T(tH,"getDefaultExportFromCjs");var Vte={exports:{}},o0={},Yte;function FTe(){return Yte||(Yte=1,(function(){function e(g){if(typeof g=="object"&&g!==null){var b=g.$$typeof;switch(b){case t:switch(g=g.type,g){case n:case a:case i:case c:case u:case p:return g;default:switch(g=g&&g.$$typeof,g){case o:case l:case h:case d:return g;case s:return g;default:return b}}case r:return b}}}T(e,"typeOf");var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),o=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");o0.ContextConsumer=s,o0.ContextProvider=o,o0.Element=t,o0.ForwardRef=l,o0.Fragment=n,o0.Lazy=h,o0.Memo=d,o0.Portal=r,o0.Profiler=a,o0.StrictMode=i,o0.Suspense=c,o0.SuspenseList=u,o0.isContextConsumer=function(g){return e(g)===s},o0.isContextProvider=function(g){return e(g)===o},o0.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},o0.isForwardRef=function(g){return e(g)===l},o0.isFragment=function(g){return e(g)===n},o0.isLazy=function(g){return e(g)===h},o0.isMemo=function(g){return e(g)===d},o0.isPortal=function(g){return e(g)===r},o0.isProfiler=function(g){return e(g)===a},o0.isStrictMode=function(g){return e(g)===i},o0.isSuspense=function(g){return e(g)===c},o0.isSuspenseList=function(g){return e(g)===u},o0.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===n||g===a||g===i||g===c||g===u||typeof g=="object"&&g!==null&&(g.$$typeof===h||g.$$typeof===d||g.$$typeof===o||g.$$typeof===s||g.$$typeof===l||g.$$typeof===m||g.getModuleId!==void 0)},o0.typeOf=e})()),o0}T(FTe,"requireReactIs_development$1");var Kte;function $Te(){return Kte||(Kte=1,Vte.exports=FTe()),Vte.exports}T($Te,"requireReactIs$1");var BTe=$Te(),U_t=tH(BTe),G_t=JW({__proto__:null,default:U_t},[BTe]),Xte={exports:{}},Yr={},Qte;function NTe(){return Qte||(Qte=1,(function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),o=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m=!1,g=!1,b=!1,y=!1,v=!1,S;S=Symbol.for("react.module.reference");function x(ce){return!!(typeof ce=="string"||typeof ce=="function"||ce===r||ce===i||v||ce===n||ce===c||ce===u||y||ce===p||m||g||b||typeof ce=="object"&&ce!==null&&(ce.$$typeof===h||ce.$$typeof===d||ce.$$typeof===a||ce.$$typeof===s||ce.$$typeof===l||ce.$$typeof===S||ce.getModuleId!==void 0))}T(x,"isValidElementType");function w(ce){if(typeof ce=="object"&&ce!==null){var le=ce.$$typeof;switch(le){case e:var Te=ce.type;switch(Te){case r:case i:case n:case c:case u:return Te;default:var be=Te&&Te.$$typeof;switch(be){case o:case s:case l:case h:case d:case a:return be;default:return le}}case t:return le}}}T(w,"typeOf");var A=s,_=a,C=e,E=l,R=r,P=h,O=d,k=t,I=i,M=n,D=c,F=u,$=!1,Y=!1;function he(ce){return $||($=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}T(he,"isAsyncMode");function fe(ce){return Y||(Y=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}T(fe,"isConcurrentMode");function U(ce){return w(ce)===s}T(U,"isContextConsumer");function W(ce){return w(ce)===a}T(W,"isContextProvider");function H(ce){return typeof ce=="object"&&ce!==null&&ce.$$typeof===e}T(H,"isElement");function ie(ce){return w(ce)===l}T(ie,"isForwardRef");function J(ce){return w(ce)===r}T(J,"isFragment");function we(ce){return w(ce)===h}T(we,"isLazy");function Le(ce){return w(ce)===d}T(Le,"isMemo");function Ye(ce){return w(ce)===t}T(Ye,"isPortal");function oe(ce){return w(ce)===i}T(oe,"isProfiler");function X(ce){return w(ce)===n}T(X,"isStrictMode");function se(ce){return w(ce)===c}T(se,"isSuspense");function Ce(ce){return w(ce)===u}T(Ce,"isSuspenseList"),Yr.ContextConsumer=A,Yr.ContextProvider=_,Yr.Element=C,Yr.ForwardRef=E,Yr.Fragment=R,Yr.Lazy=P,Yr.Memo=O,Yr.Portal=k,Yr.Profiler=I,Yr.StrictMode=M,Yr.Suspense=D,Yr.SuspenseList=F,Yr.isAsyncMode=he,Yr.isConcurrentMode=fe,Yr.isContextConsumer=U,Yr.isContextProvider=W,Yr.isElement=H,Yr.isForwardRef=ie,Yr.isFragment=J,Yr.isLazy=we,Yr.isMemo=Le,Yr.isPortal=Ye,Yr.isProfiler=oe,Yr.isStrictMode=X,Yr.isSuspense=se,Yr.isSuspenseList=Ce,Yr.isValidElementType=x,Yr.typeOf=w})()),Yr}T(NTe,"requireReactIs_development");var Jte;function qTe(){return Jte||(Jte=1,Xte.exports=NTe()),Xte.exports}T(qTe,"requireReactIs");var zTe=qTe(),V_t=tH(zTe),Y_t=JW({__proto__:null,default:V_t},[zTe]),K_t=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],Cp=Object.fromEntries(K_t.map(e=>[e,t=>Y_t[e](t)||G_t[e](t)]));function rH(e,t=[]){if(Array.isArray(e))for(let r of e)rH(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}T(rH,"getChildren");function jk(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Cp.isFragment(e))return"React.Fragment";if(Cp.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Cp.isContextProvider(e))return"Context.Provider";if(Cp.isContextConsumer(e))return"Context.Consumer";if(Cp.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Cp.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}T(jk,"getType");function WTe(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}T(WTe,"getPropKeys$1");var X_t=T((e,t,r,n,i,a)=>++n>t.maxDepth?R_(jk(e),t):j_(jk(e),E_(WTe(e),e.props,t,r+t.indent,n,i,a),P_(rH(e.props.children),t,r+t.indent,n,i,a),t,r),"serialize$1"),Q_t=T(e=>e!=null&&Cp.isElement(e),"test$1"),J_t={serialize:X_t,test:Q_t},Z_t=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function HTe(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}T(HTe,"getPropKeys");var eAt=T((e,t,r,n,i,a)=>++n>t.maxDepth?R_(e.type,t):j_(e.type,e.props?E_(HTe(e),e.props,t,r+t.indent,n,i,a):"",e.children?P_(e.children,t,r+t.indent,n,i,a):"",t,r),"serialize"),tAt=T(e=>e&&e.$$typeof===Z_t,"test"),rAt={serialize:eAt,test:tAt},UTe=Object.prototype.toString,nAt=Date.prototype.toISOString,iAt=Error.prototype.toString,Zte=RegExp.prototype.toString;function Zy(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}T(Zy,"getConstructorName");function GTe(e){return typeof window<"u"&&e===window}T(GTe,"isWindow");var aAt=/^Symbol\((.*)\)(.*)$/,sAt=/\n/g,VTe=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};T(VTe,"PrettyFormatPluginError");var YTe=VTe;function KTe(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}T(KTe,"isToStringedArrayType");function XTe(e){return Object.is(e,-0)?"-0":String(e)}T(XTe,"printNumber");function QTe(e){return`${e}n`}T(QTe,"printBigInt");function Rk(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}T(Rk,"printFunction");function Ik(e){return String(e).replace(aAt,"Symbol($1)")}T(Ik,"printSymbol");function Ok(e){return`[${iAt.call(e)}]`}T(Ok,"printError");function nH(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let i=typeof e;if(i==="number")return XTe(e);if(i==="bigint")return QTe(e);if(i==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(i==="function")return Rk(e,t);if(i==="symbol")return Ik(e);let a=UTe.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?Rk(e,t):a==="[object Symbol]"?Ik(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":nAt.call(e):a==="[object Error]"?Ok(e):a==="[object RegExp]"?r?Zte.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Zte.call(e):e instanceof Error?Ok(e):null}T(nH,"printBasicValue");function iH(e,t,r,n,i,a){if(i.includes(e))return"[Circular]";i=[...i],i.push(e);let s=++n>t.maxDepth,o=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!a)return Pc(e.toJSON(),t,r,n,i,!0);let l=UTe.call(e);return l==="[object Arguments]"?s?"[Arguments]":`${o?"":"Arguments "}[${v7(e,t,r,n,i,Pc)}]`:KTe(l)?s?`[${e.constructor.name}]`:`${o||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${v7(e,t,r,n,i,Pc)}]`:l==="[object Map]"?s?"[Map]":`Map {${N1(e.entries(),t,r,n,i,Pc," => ")}}`:l==="[object Set]"?s?"[Set]":`Set {${A_(e.values(),t,r,n,i,Pc)}}`:s||GTe(e)?`[${Zy(e)}]`:`${o||!t.printBasicPrototype&&Zy(e)==="Object"?"":`${Zy(e)} `}{${C_(e,t,r,n,i,Pc)}}`}T(iH,"printComplexValue");var oAt={test:T(e=>e&&e instanceof Error,"test"),serialize(e,t,r,n,i,a){if(i.includes(e))return"[Circular]";i=[...i,e];let s=++n>t.maxDepth,{message:o,cause:l,...c}=e,u={message:o,...typeof l<"u"?{cause:l}:{},...e instanceof AggregateError?{errors:e.errors}:{},...c},d=e.name!=="Error"?e.name:Zy(e);return s?`[${d}]`:`${d} {${N1(Object.entries(u).values(),t,r,n,i,a)}}`}};function JTe(e){return e.serialize!=null}T(JTe,"isNewPlugin");function aH(e,t,r,n,i,a){let s;try{s=JTe(e)?e.serialize(t,r,n,i,a,Pc):e.print(t,o=>Pc(o,r,n,i,a),o=>{let l=n+r.indent;return l+o.replaceAll(sAt,`
${l}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(o){throw new YTe(o.message,o.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}T(aH,"printPlugin");function sH(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new YTe(n.message,n.stack)}return null}T(sH,"findPlugin");function Pc(e,t,r,n,i,a){let s=sH(t.plugins,e);if(s!==null)return aH(s,e,t,r,n,i);let o=nH(e,t.printFunctionName,t.escapeRegex,t.escapeString);return o!==null?o:iH(e,t,r,n,i,a)}T(Pc,"printer");var oH={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},ZTe=Object.keys(oH),ro={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:oH};function eSe(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(ro,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}T(eSe,"validateOptions");function tSe(){return ZTe.reduce((e,t)=>{let r=oH[t],n=r&&ln[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}T(tSe,"getColorsHighlight");function rSe(){return ZTe.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}T(rSe,"getColorsEmpty");function lH(e){var t;return(t=e==null?void 0:e.printFunctionName)!=null?t:ro.printFunctionName}T(lH,"getPrintFunctionName");function cH(e){var t;return(t=e==null?void 0:e.escapeRegex)!=null?t:ro.escapeRegex}T(cH,"getEscapeRegex");function uH(e){var t;return(t=e==null?void 0:e.escapeString)!=null?t:ro.escapeString}T(uH,"getEscapeString");function Mk(e){var t,r,n,i,a,s,o;return{callToJSON:(t=e==null?void 0:e.callToJSON)!=null?t:ro.callToJSON,colors:e!=null&&e.highlight?tSe():rSe(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:ro.compareKeys,escapeRegex:cH(e),escapeString:uH(e),indent:e!=null&&e.min?"":nSe((r=e==null?void 0:e.indent)!=null?r:ro.indent),maxDepth:(n=e==null?void 0:e.maxDepth)!=null?n:ro.maxDepth,maxWidth:(i=e==null?void 0:e.maxWidth)!=null?i:ro.maxWidth,min:(a=e==null?void 0:e.min)!=null?a:ro.min,plugins:(s=e==null?void 0:e.plugins)!=null?s:ro.plugins,printBasicPrototype:(o=e==null?void 0:e.printBasicPrototype)!=null?o:!0,printFunctionName:lH(e),spacingInner:e!=null&&e.min?" ":`
`,spacingOuter:e!=null&&e.min?"":`
`}}T(Mk,"getConfig");function nSe(e){return Array.from({length:e+1}).join(" ")}T(nSe,"createIndent");function fo(e,t){if(t&&(eSe(t),t.plugins)){let n=sH(t.plugins,e);if(n!==null)return aH(n,e,Mk(t),"",0,[])}let r=nH(e,lH(t),cH(t),uH(t));return r!==null?r:iH(e,Mk(t),"",0,[])}T(fo,"format");var dH={AsymmetricMatcher:w_t,DOMCollection:P_t,DOMElement:M_t,Immutable:H_t,ReactElement:J_t,ReactTestComponent:rAt,Error:oAt},ere={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},lAt={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Rg="…";function iSe(e,t){let r=ere[lAt[t]]||ere[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}T(iSe,"colorise");function aSe({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:i=!1,maxArrayLength:a=1/0,breakLength:s=1/0,seen:o=[],truncate:l=1/0,stylize:c=String}={},u){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!i,maxArrayLength:Number(a),breakLength:Number(s),truncate:Number(l),seen:o,inspect:u,stylize:c};return d.colors&&(d.stylize=iSe),d}T(aSe,"normaliseOptions");function sSe(e){return e>="\uD800"&&e<="\uDBFF"}T(sSe,"isHighSurrogate");function bu(e,t,r=Rg){e=String(e);let n=r.length,i=e.length;if(n>t&&i>n)return r;if(i>t&&i>n){let a=t-n;return a>0&&sSe(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}T(bu,"truncate");function $s(e,t,r,n=", "){r=r||t.inspect;let i=e.length;if(i===0)return"";let a=t.truncate,s="",o="",l="";for(let c=0;c<i;c+=1){let u=c+1===e.length,d=c+2===e.length;l=`${Rg}(${e.length-c})`;let h=e[c];t.truncate=a-s.length-(u?0:n.length);let p=o||r(h,t)+(u?"":n),m=s.length+p.length,g=m+l.length;if(u&&m>a&&s.length+l.length<=a||!u&&!d&&g>a||(o=u?"":r(e[c+1],t)+(d?"":n),!u&&d&&g>a&&m+o.length>a))break;if(s+=p,!u&&!d&&m+o.length>=a){l=`${Rg}(${e.length-c-1})`;break}l=""}return`${s}${l}`}T($s,"inspectList");function oSe(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}T(oSe,"quoteComplexKey");function Ig([e,t],r){return r.truncate-=2,typeof e=="string"?e=oSe(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}T(Ig,"inspectProperty");function lSe(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=$s(e,t);t.truncate-=n.length;let i="";return r.length&&(i=$s(r.map(a=>[a,e[a]]),t,Ig)),`[ ${n}${i?`, ${i}`:""} ]`}T(lSe,"inspectArray");var cAt=T(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Yo(e,t){let r=cAt(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let i="";for(let s=0;s<e.length;s++){let o=`${t.stylize(bu(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=o.length,e[s]!==e.length&&t.truncate<=3){i+=`${Rg}(${e.length-e[s]+1})`;break}i+=o}let a="";return n.length&&(a=$s(n.map(s=>[s,e[s]]),t,Ig)),`${r}[ ${i}${a?`, ${a}`:""} ]`}T(Yo,"inspectTypedArray");function cSe(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),i=n[0];return t.stylize(`${i}T${bu(n[1],t.truncate-i.length-1)}`,"date")}T(cSe,"inspectDate");function kk(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${bu(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}T(kk,"inspectFunction");function uSe([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}T(uSe,"inspectMapEntry");function dSe(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}T(dSe,"mapToEntries");function pSe(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${$s(dSe(e),t,uSe)} }`)}T(pSe,"inspectMap");var uAt=Number.isNaN||(e=>e!==e);function Dk(e,t){return uAt(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(bu(String(e),t.truncate),"number")}T(Dk,"inspectNumber");function Lk(e,t){let r=bu(e.toString(),t.truncate-1);return r!==Rg&&(r+="n"),t.stylize(r,"bigint")}T(Lk,"inspectBigInt");function hSe(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),i=e.source;return t.stylize(`/${bu(i,n)}/${r}`,"regexp")}T(hSe,"inspectRegExp");function fSe(e){let t=[];return e.forEach(r=>{t.push(r)}),t}T(fSe,"arrayFromSet");function mSe(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${$s(fSe(e),t)} }`)}T(mSe,"inspectSet");var tre=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),dAt={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},pAt=16;function gSe(e){return dAt[e]||`\\u${`0000${e.charCodeAt(0).toString(pAt)}`.slice(-4)}`}T(gSe,"escape");function Fk(e,t){return tre.test(e)&&(e=e.replace(tre,gSe)),t.stylize(`'${bu(e,t.truncate-2)}'`,"string")}T(Fk,"inspectString");function $k(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}T($k,"inspectSymbol");var bSe=T(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(bSe=T((n,i)=>{let[a,s]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${i.inspect(s,i)}}`},"getPromiseValue"))}catch(e){}var hAt=bSe;function e5(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=$s(r.map(o=>[o,e[o]]),t,Ig),a=$s(n.map(o=>[o,e[o]]),t,Ig);t.seen.pop();let s="";return i&&a&&(s=", "),`{ ${i}${s}${a} }`}T(e5,"inspectObject");var R9=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function ySe(e,t){let r="";return R9&&R9 in e&&(r=e[R9]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${e5(e,t)}`}T(ySe,"inspectClass");function vSe(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${$s(e,t)} ]`)}T(vSe,"inspectArguments");var fAt=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function TSe(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>fAt.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let i="";if(typeof e.message=="string"?i=bu(e.message,t.truncate):r.unshift("message"),i=i?`: ${i}`:"",t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=$s(r.map(s=>[s,e[s]]),t,Ig);return`${n}${i}${a?` { ${a} }`:""}`}T(TSe,"inspectObject");function SSe([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}T(SSe,"inspectAttribute");function zx(e,t){return $s(e,t,xSe,`
`)}T(zx,"inspectNodeCollection");function xSe(e,t){switch(e.nodeType){case 1:return pH(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}T(xSe,"inspectNode");function pH(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),i=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let o="";r.length>0&&(o+=" ",o+=$s(r.map(u=>[u,e.getAttribute(u)]),t,SSe," ")),t.truncate-=o.length;let l=t.truncate,c=zx(e.children,t);return c&&c.length>l&&(c=`${Rg}(${e.children.length})`),`${i}${o}${a}${c}${s}`}T(pH,"inspectHTML");var mAt=typeof Symbol=="function"&&typeof Symbol.for=="function",I9=mAt?Symbol.for("chai/inspect"):"@@chai/inspect",O9=Symbol.for("nodejs.util.inspect.custom"),rre=new WeakMap,nre={},ire={undefined:T((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:T((e,t)=>t.stylize("null","null"),"null"),boolean:T((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:T((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Dk,Number:Dk,bigint:Lk,BigInt:Lk,string:Fk,String:Fk,function:kk,Function:kk,symbol:$k,Symbol:$k,Array:lSe,Date:cSe,Map:pSe,Set:mSe,RegExp:hSe,Promise:hAt,WeakSet:T((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:T((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:vSe,Int8Array:Yo,Uint8Array:Yo,Uint8ClampedArray:Yo,Int16Array:Yo,Uint16Array:Yo,Int32Array:Yo,Uint32Array:Yo,Float32Array:Yo,Float64Array:Yo,Generator:T(()=>"","Generator"),DataView:T(()=>"","DataView"),ArrayBuffer:T(()=>"","ArrayBuffer"),Error:TSe,HTMLCollection:zx,NodeList:zx},gAt=T((e,t,r)=>I9 in e&&typeof e[I9]=="function"?e[I9](t):O9 in e&&typeof e[O9]=="function"?e[O9](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&rre.has(e.constructor)?rre.get(e.constructor)(e,t):nre[r]?nre[r](e,t):"","inspectCustom"),bAt=Object.prototype.toString;function Wx(e,t={}){let r=aSe(t,Wx),{customInspect:n}=r,i=e===null?"null":typeof e;if(i==="object"&&(i=bAt.call(e).slice(8,-1)),i in ire)return ire[i](e,r);if(n&&e){let s=gAt(e,r,i);if(s)return typeof s=="string"?s:Wx(s,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?e5(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?pH(e,r):"constructor"in e?e.constructor!==Object?ySe(e,r):e5(e,r):e===Object(e)?e5(e,r):r.stylize(String(e),i)}T(Wx,"inspect");var{AsymmetricMatcher:yAt,DOMCollection:vAt,DOMElement:TAt,Immutable:SAt,ReactElement:xAt,ReactTestComponent:wAt}=dH,are=[wAt,xAt,TAt,vAt,SAt,yAt];function _a(e,t=10,{maxLength:r,...n}={}){let i=r!=null?r:1e4,a;try{a=fo(e,{maxDepth:t,escapeString:!1,plugins:are,...n})}catch(s){a=fo(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:are,...n})}return a.length>=i&&t>1?_a(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):a}T(_a,"stringify");var _At=/%[sdjifoOc%]/g;function wSe(...e){if(typeof e[0]!="string"){let a=[];for(let s=0;s<e.length;s++)a.push(Nf(e[s],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],i=String(n).replace(_At,a=>{if(a==="%%")return"%";if(r>=t)return a;switch(a){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?typeof s.toString=="function"&&s.toString!==Object.prototype.toString?s.toString():Nf(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Nf(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Nf(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let o=s.message;if(o.includes("circular structure")||o.includes("cyclic structures")||o.includes("cyclic object"))return"[Circular]";throw s}default:return a}});for(let a=e[r];r<t;a=e[++r])a===null||typeof a!="object"?i+=` ${a}`:i+=` ${Nf(a)}`;return i}T(wSe,"format");function Nf(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Wx(e,t)}T(Nf,"inspect");function _Se(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}T(_Se,"getDefaultExportFromCjs");function Ko(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}T(Ko,"assertTypes");function t5(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}T(t5,"isObject");function ASe(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}T(ASe,"isFinalObj");function S7(e){return Object.prototype.toString.apply(e).slice(8,-1)}T(S7,"getType");function CSe(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}T(CSe,"collectOwnProperties");function hH(e){let t=new Set;return ASe(e)?[]:(CSe(e,t),Array.from(t))}T(hH,"getOwnProperties");var ESe={forceWritable:!1};function Bk(e,t=ESe){return Hx(e,new WeakMap,t)}T(Bk,"deepClone");function Hx(e,t,r=ESe){let n,i;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(i=Array.from({length:n=e.length}),t.set(e,i);n--;)i[n]=Hx(e[n],t,r);return i}if(Object.prototype.toString.call(e)==="[object Object]"){i=Object.create(Object.getPrototypeOf(e)),t.set(e,i);let a=hH(e);for(let s of a){let o=Object.getOwnPropertyDescriptor(e,s);if(!o)continue;let l=Hx(e[s],t,r);r.forceWritable?Object.defineProperty(i,s,{enumerable:o.enumerable,configurable:!0,writable:!0,value:l}):"get"in o?Object.defineProperty(i,s,{...o,get(){return l}}):Object.defineProperty(i,s,{...o,value:l})}return i}return e}T(Hx,"clone");function PSe(){}T(PSe,"noop");var M9,sre;function jSe(){if(sre)return M9;sre=1;var e,t,r,n,i,a,s,o,l,c,u,d,h,p,m,g,b,y,v;return h=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,d=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,e=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,m=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,u=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,g=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,v=/[\t\v\f\ufeff\p{Zs}]+/yu,o=/\r?\n|[\r\u2028\u2029]/y,l=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,p=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,i=/[^<>{}]+/y,y=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,b=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,a=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,s=/^(?:return|throw|yield)$/,c=RegExp(o.source),M9=T(function*(S,{jsx:x=!1}={}){var w,A,_,C,E,R,P,O,k,I,M,D,F,$;for({length:R}=S,C=0,E="",$=[{tag:"JS"}],w=[],M=0,D=!1;C<R;){switch(O=$[$.length-1],O.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(S[C]==="/"&&(y.test(E)||a.test(E))&&(h.lastIndex=C,P=h.exec(S))){C=h.lastIndex,E=P[0],D=!0,yield{type:"RegularExpressionLiteral",value:P[0],closed:P[1]!==void 0&&P[1]!=="\\"};continue}if(d.lastIndex=C,P=d.exec(S)){switch(F=P[0],k=d.lastIndex,I=F,F){case"(":E==="?NonExpressionParenKeyword"&&$.push({tag:"JSNonExpressionParen",nesting:M}),M++,D=!1;break;case")":M--,D=!0,O.tag==="JSNonExpressionParen"&&M===O.nesting&&($.pop(),I="?NonExpressionParenEnd",D=!1);break;case"{":d.lastIndex=0,_=!b.test(E)&&(y.test(E)||a.test(E)),w.push(_),D=!1;break;case"}":switch(O.tag){case"InterpolationInTemplate":if(w.length===O.nesting){g.lastIndex=C,P=g.exec(S),C=g.lastIndex,E=P[0],P[1]==="${"?(E="?InterpolationInTemplate",D=!1,yield{type:"TemplateMiddle",value:P[0]}):($.pop(),D=!0,yield{type:"TemplateTail",value:P[0],closed:P[1]==="`"});continue}break;case"InterpolationInJSX":if(w.length===O.nesting){$.pop(),C+=1,E="}",yield{type:"JSXPunctuator",value:"}"};continue}}D=w.pop(),I=D?"?ExpressionBraceEnd":"}";break;case"]":D=!0;break;case"++":case"--":I=D?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(x&&(y.test(E)||a.test(E))){$.push({tag:"JSXTag"}),C+=1,E="<",yield{type:"JSXPunctuator",value:F};continue}D=!1;break;default:D=!1}C=k,E=I,yield{type:"Punctuator",value:F};continue}if(e.lastIndex=C,P=e.exec(S)){switch(C=e.lastIndex,I=P[0],P[0]){case"for":case"if":case"while":case"with":E!=="."&&E!=="?."&&(I="?NonExpressionParenKeyword")}E=I,D=!a.test(P[0]),yield{type:P[1]==="#"?"PrivateIdentifier":"IdentifierName",value:P[0]};continue}if(m.lastIndex=C,P=m.exec(S)){C=m.lastIndex,E=P[0],D=!0,yield{type:"StringLiteral",value:P[0],closed:P[2]!==void 0};continue}if(u.lastIndex=C,P=u.exec(S)){C=u.lastIndex,E=P[0],D=!0,yield{type:"NumericLiteral",value:P[0]};continue}if(g.lastIndex=C,P=g.exec(S)){C=g.lastIndex,E=P[0],P[1]==="${"?(E="?InterpolationInTemplate",$.push({tag:"InterpolationInTemplate",nesting:w.length}),D=!1,yield{type:"TemplateHead",value:P[0]}):(D=!0,yield{type:"NoSubstitutionTemplate",value:P[0],closed:P[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=C,P=r.exec(S)){switch(C=r.lastIndex,I=P[0],P[0]){case"<":$.push({tag:"JSXTag"});break;case">":$.pop(),E==="/"||O.tag==="JSXTagEnd"?(I="?JSX",D=!0):$.push({tag:"JSXChildren"});break;case"{":$.push({tag:"InterpolationInJSX",nesting:w.length}),I="?InterpolationInJSX",D=!1;break;case"/":E==="<"&&($.pop(),$[$.length-1].tag==="JSXChildren"&&$.pop(),$.push({tag:"JSXTagEnd"}))}E=I,yield{type:"JSXPunctuator",value:P[0]};continue}if(t.lastIndex=C,P=t.exec(S)){C=t.lastIndex,E=P[0],yield{type:"JSXIdentifier",value:P[0]};continue}if(n.lastIndex=C,P=n.exec(S)){C=n.lastIndex,E=P[0],yield{type:"JSXString",value:P[0],closed:P[2]!==void 0};continue}break;case"JSXChildren":if(i.lastIndex=C,P=i.exec(S)){C=i.lastIndex,E=P[0],yield{type:"JSXText",value:P[0]};continue}switch(S[C]){case"<":$.push({tag:"JSXTag"}),C++,E="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":$.push({tag:"InterpolationInJSX",nesting:w.length}),C++,E="?InterpolationInJSX",D=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(v.lastIndex=C,P=v.exec(S)){C=v.lastIndex,yield{type:"WhiteSpace",value:P[0]};continue}if(o.lastIndex=C,P=o.exec(S)){C=o.lastIndex,D=!1,s.test(E)&&(E="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:P[0]};continue}if(l.lastIndex=C,P=l.exec(S)){C=l.lastIndex,c.test(P[0])&&(D=!1,s.test(E)&&(E="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:P[0],closed:P[1]!==void 0};continue}if(p.lastIndex=C,P=p.exec(S)){C=p.lastIndex,D=!1,yield{type:"SingleLineComment",value:P[0]};continue}A=String.fromCodePoint(S.codePointAt(C)),C+=A.length,E=A,D=!1,yield{type:O.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:A}}},"jsTokens_1"),M9}T(jSe,"requireJsTokens");jSe();var RSe={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(RSe.keyword);new Set(RSe.strict);var Li=-1,ci=1,rn=0,ISe=class{constructor(t,r){ht(this,0);ht(this,1);this[0]=t,this[1]=r}};T(ISe,"Diff");var W0=ISe;function OSe(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),i=n,a=0;for(;r<i;)e.substring(a,i)===t.substring(a,i)?(r=i,a=r):n=i,i=Math.floor((n-r)/2+r);return i}T(OSe,"diff_commonPrefix");function fH(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),i=n,a=0;for(;r<i;)e.substring(e.length-i,e.length-a)===t.substring(t.length-i,t.length-a)?(r=i,a=r):n=i,i=Math.floor((n-r)/2+r);return i}T(fH,"diff_commonSuffix");function Nk(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let i=Math.min(r,n);if(e===t)return i;let a=0,s=1;for(;;){let o=e.substring(i-s),l=t.indexOf(o);if(l===-1)return a;s+=l,(l===0||e.substring(i-s)===t.substring(0,s))&&(a=s,s++)}}T(Nk,"diff_commonOverlap_");function MSe(e){let t=!1,r=[],n=0,i=null,a=0,s=0,o=0,l=0,c=0;for(;a<e.length;)e[a][0]===rn?(r[n++]=a,s=l,o=c,l=0,c=0,i=e[a][1]):(e[a][0]===ci?l+=e[a][1].length:c+=e[a][1].length,i&&i.length<=Math.max(s,o)&&i.length<=Math.max(l,c)&&(e.splice(r[n-1],0,new W0(Li,i)),e[r[n-1]+1][0]=ci,n--,n--,a=n>0?r[n-1]:-1,s=0,o=0,l=0,c=0,i=null,t=!0)),a++;for(t&&mH(e),kSe(e),a=1;a<e.length;){if(e[a-1][0]===Li&&e[a][0]===ci){let u=e[a-1][1],d=e[a][1],h=Nk(u,d),p=Nk(d,u);h>=p?(h>=u.length/2||h>=d.length/2)&&(e.splice(a,0,new W0(rn,d.substring(0,h))),e[a-1][1]=u.substring(0,u.length-h),e[a+1][1]=d.substring(h),a++):(p>=u.length/2||p>=d.length/2)&&(e.splice(a,0,new W0(rn,u.substring(0,p))),e[a-1][0]=ci,e[a-1][1]=d.substring(0,d.length-p),e[a+1][0]=Li,e[a+1][1]=u.substring(p),a++),a++}a++}}T(MSe,"diff_cleanupSemantic");var ore=/[^a-z0-9]/i,lre=/\s/,cre=/[\r\n]/,AAt=/\n\r?\n$/,CAt=/^\r?\n\r?\n/;function kSe(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===rn&&e[t+1][0]===rn){let r=e[t-1][1],n=e[t][1],i=e[t+1][1],a=fH(r,n);if(a){let u=n.substring(n.length-a);r=r.substring(0,r.length-a),n=u+n.substring(0,n.length-a),i=u+i}let s=r,o=n,l=i,c=ly(r,n)+ly(n,i);for(;n.charAt(0)===i.charAt(0);){r+=n.charAt(0),n=n.substring(1)+i.charAt(0),i=i.substring(1);let u=ly(r,n)+ly(n,i);u>=c&&(c=u,s=r,o=n,l=i)}e[t-1][1]!==s&&(s?e[t-1][1]=s:(e.splice(t-1,1),t--),e[t][1]=o,l?e[t+1][1]=l:(e.splice(t+1,1),t--))}t++}}T(kSe,"diff_cleanupSemanticLossless");function mH(e){e.push(new W0(rn,""));let t=0,r=0,n=0,i="",a="",s;for(;t<e.length;)switch(e[t][0]){case ci:n++,a+=e[t][1],t++;break;case Li:r++,i+=e[t][1],t++;break;case rn:r+n>1?(r!==0&&n!==0&&(s=OSe(a,i),s!==0&&(t-r-n>0&&e[t-r-n-1][0]===rn?e[t-r-n-1][1]+=a.substring(0,s):(e.splice(0,0,new W0(rn,a.substring(0,s))),t++),a=a.substring(s),i=i.substring(s)),s=fH(a,i),s!==0&&(e[t][1]=a.substring(a.length-s)+e[t][1],a=a.substring(0,a.length-s),i=i.substring(0,i.length-s))),t-=r+n,e.splice(t,r+n),i.length&&(e.splice(t,0,new W0(Li,i)),t++),a.length&&(e.splice(t,0,new W0(ci,a)),t++),t++):t!==0&&e[t-1][0]===rn?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,i="",a="";break}e[e.length-1][1]===""&&e.pop();let o=!1;for(t=1;t<e.length-1;)e[t-1][0]===rn&&e[t+1][0]===rn&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),o=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),o=!0)),t++;o&&mH(e)}T(mH,"diff_cleanupMerge");function ly(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),i=r.match(ore),a=n.match(ore),s=i&&r.match(lre),o=a&&n.match(lre),l=s&&r.match(cre),c=o&&n.match(cre),u=l&&e.match(AAt),d=c&&t.match(CAt);return u||d?5:l||c?4:i&&!s&&o?3:s||o?2:i||a?1:0}T(ly,"diff_cleanupSemanticScore_");var DSe="Compared values have no visual difference.",EAt="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",D3={},ure;function LSe(){if(ure)return D3;ure=1,Object.defineProperty(D3,"__esModule",{value:!0}),D3.default=h;let e="diff-sequences",t=0,r=T((p,m,g,b,y)=>{let v=0;for(;p<m&&g<b&&y(p,g);)p+=1,g+=1,v+=1;return v},"countCommonItemsF"),n=T((p,m,g,b,y)=>{let v=0;for(;p<=m&&g<=b&&y(m,b);)m-=1,b-=1,v+=1;return v},"countCommonItemsR"),i=T((p,m,g,b,y,v,S)=>{let x=0,w=-p,A=v[x],_=A;v[x]+=r(A+1,m,b+A-w+1,g,y);let C=p<S?p:S;for(x+=1,w+=2;x<=C;x+=1,w+=2){if(x!==p&&_<v[x])A=v[x];else if(A=_+1,m<=A)return x-1;_=v[x],v[x]=A+r(A+1,m,b+A-w+1,g,y)}return S},"extendPathsF"),a=T((p,m,g,b,y,v,S)=>{let x=0,w=p,A=v[x],_=A;v[x]-=n(m,A-1,g,b+A-w-1,y);let C=p<S?p:S;for(x+=1,w-=2;x<=C;x+=1,w-=2){if(x!==p&&v[x]<_)A=v[x];else if(A=_-1,A<m)return x-1;_=v[x],v[x]=A-n(m,A-1,g,b+A-w-1,y)}return S},"extendPathsR"),s=T((p,m,g,b,y,v,S,x,w,A,_)=>{let C=b-m,E=g-m,R=y-b-E,P=-R-(p-1),O=-R+(p-1),k=t,I=p<x?p:x;for(let M=0,D=-p;M<=I;M+=1,D+=2){let F=M===0||M!==p&&k<S[M],$=F?S[M]:k,Y=F?$:$+1,he=C+Y-D,fe=r(Y+1,g,he+1,y,v),U=Y+fe;if(k=S[M],S[M]=U,P<=D&&D<=O){let W=(p-1-(D+R))/2;if(W<=A&&w[W]-1<=U){let H=C+$-(F?D+1:D-1),ie=n(m,$,b,H,v),J=$-ie,we=H-ie,Le=J+1,Ye=we+1;_.nChangePreceding=p-1,p-1===Le+Ye-m-b?(_.aEndPreceding=m,_.bEndPreceding=b):(_.aEndPreceding=Le,_.bEndPreceding=Ye),_.nCommonPreceding=ie,ie!==0&&(_.aCommonPreceding=Le,_.bCommonPreceding=Ye),_.nCommonFollowing=fe,fe!==0&&(_.aCommonFollowing=Y+1,_.bCommonFollowing=he+1);let oe=U+1,X=he+fe+1;return _.nChangeFollowing=p-1,p-1===g+y-oe-X?(_.aStartFollowing=g,_.bStartFollowing=y):(_.aStartFollowing=oe,_.bStartFollowing=X),!0}}}return!1},"extendOverlappablePathsF"),o=T((p,m,g,b,y,v,S,x,w,A,_)=>{let C=y-g,E=g-m,R=y-b-E,P=R-p,O=R+p,k=t,I=p<A?p:A;for(let M=0,D=p;M<=I;M+=1,D-=2){let F=M===0||M!==p&&w[M]<k,$=F?w[M]:k,Y=F?$:$-1,he=C+Y-D,fe=n(m,Y-1,b,he-1,v),U=Y-fe;if(k=w[M],w[M]=U,P<=D&&D<=O){let W=(p+(D-R))/2;if(W<=x&&U-1<=S[W]){let H=he-fe;if(_.nChangePreceding=p,p===U+H-m-b?(_.aEndPreceding=m,_.bEndPreceding=b):(_.aEndPreceding=U,_.bEndPreceding=H),_.nCommonPreceding=fe,fe!==0&&(_.aCommonPreceding=U,_.bCommonPreceding=H),_.nChangeFollowing=p-1,p===1)_.nCommonFollowing=0,_.aStartFollowing=g,_.bStartFollowing=y;else{let ie=C+$-(F?D-1:D+1),J=r($,g,ie,y,v);_.nCommonFollowing=J,J!==0&&(_.aCommonFollowing=$,_.bCommonFollowing=ie);let we=$+J,Le=ie+J;p-1===g+y-we-Le?(_.aStartFollowing=g,_.bStartFollowing=y):(_.aStartFollowing=we,_.bStartFollowing=Le)}return!0}}}return!1},"extendOverlappablePathsR"),l=T((p,m,g,b,y,v,S,x,w)=>{let A=b-m,_=y-g,C=g-m,E=y-b,R=E-C,P=C,O=C;if(S[0]=m-1,x[0]=g,R%2===0){let k=(p||R)/2,I=(C+E)/2;for(let M=1;M<=I;M+=1)if(P=i(M,g,y,A,v,S,P),M<k)O=a(M,m,b,_,v,x,O);else if(o(M,m,g,b,y,v,S,P,x,O,w))return}else{let k=((p||R)+1)/2,I=(C+E+1)/2,M=1;for(P=i(M,g,y,A,v,S,P),M+=1;M<=I;M+=1)if(O=a(M-1,m,b,_,v,x,O),M<k)P=i(M,g,y,A,v,S,P);else if(s(M,m,g,b,y,v,S,P,x,O,w))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${g} bStart=${b} bEnd=${y}`)},"divide"),c=T((p,m,g,b,y,v,S,x,w,A)=>{if(y-b<g-m){if(v=!v,v&&S.length===1){let{foundSubsequence:W,isCommon:H}=S[0];S[1]={foundSubsequence:T((ie,J,we)=>{W(ie,we,J)},"foundSubsequence"),isCommon:T((ie,J)=>H(J,ie),"isCommon")}}let fe=m,U=g;m=b,g=y,b=fe,y=U}let{foundSubsequence:_,isCommon:C}=S[v?1:0];l(p,m,g,b,y,C,x,w,A);let{nChangePreceding:E,aEndPreceding:R,bEndPreceding:P,nCommonPreceding:O,aCommonPreceding:k,bCommonPreceding:I,nCommonFollowing:M,aCommonFollowing:D,bCommonFollowing:F,nChangeFollowing:$,aStartFollowing:Y,bStartFollowing:he}=A;m<R&&b<P&&c(E,m,R,b,P,v,S,x,w,A),O!==0&&_(O,k,I),M!==0&&_(M,D,F),Y<g&&he<y&&c($,Y,g,he,y,v,S,x,w,A)},"findSubsequences"),u=T((p,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${p} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${p} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${p} value ${m} is a negative integer`)},"validateLength"),d=T((p,m)=>{let g=typeof m;if(g!=="function")throw new TypeError(`${e}: ${p} typeof ${g} is not a function`)},"validateCallback");function h(p,m,g,b){u("aLength",p),u("bLength",m),d("isCommon",g),d("foundSubsequence",b);let y=r(0,p,0,m,g);if(y!==0&&b(y,0,0),p!==y||m!==y){let v=y,S=y,x=n(v,p-1,S,m-1,g),w=p-x,A=m-x,_=y+x;p!==_&&m!==_&&c(0,v,w,S,A,!1,[{foundSubsequence:b,isCommon:g}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),x!==0&&b(x,w,A)}}return T(h,"diffSequence"),D3}T(LSe,"requireBuild");var PAt=LSe(),FSe=_Se(PAt);function $Se(e,t){return e.replace(/\s+$/,r=>t(r))}T($Se,"formatTrailingSpaces");function O_(e,t,r,n,i,a){return e.length!==0?r(`${n} ${$Se(e,i)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}T(O_,"printDiffLine");function gH(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return O_(e,t,r,n,i,a)}T(gH,"printDeleteLine");function bH(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return O_(e,t,r,n,i,a)}T(bH,"printInsertLine");function yH(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return O_(e,t,r,n,i,a)}T(yH,"printCommonLine");function qk(e,t,r,n,{patchColor:i}){return i(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}T(qk,"createPatchMark");function BSe(e,t){let r=e.length,n=t.contextLines,i=n+n,a=r,s=!1,o=0,l=0;for(;l!==r;){let x=l;for(;l!==r&&e[l][0]===rn;)l+=1;if(x!==l)if(x===0)l>n&&(a-=l-n,s=!0);else if(l===r){let w=l-x;w>n&&(a-=w-n,s=!0)}else{let w=l-x;w>i&&(a-=w-i,o+=1)}for(;l!==r&&e[l][0]!==rn;)l+=1}let c=o!==0||s;o!==0?a+=o+1:s&&(a+=1);let u=a-1,d=[],h=0;c&&d.push("");let p=0,m=0,g=0,b=0,y=T(x=>{let w=d.length;d.push(yH(x,w===0||w===u,t)),g+=1,b+=1},"pushCommonLine"),v=T(x=>{let w=d.length;d.push(gH(x,w===0||w===u,t)),g+=1},"pushDeleteLine"),S=T(x=>{let w=d.length;d.push(bH(x,w===0||w===u,t)),b+=1},"pushInsertLine");for(l=0;l!==r;){let x=l;for(;l!==r&&e[l][0]===rn;)l+=1;if(x!==l)if(x===0){l>n&&(x=l-n,p=x,m=x,g=p,b=m);for(let w=x;w!==l;w+=1)y(e[w][1])}else if(l===r){let w=l-x>n?x+n:l;for(let A=x;A!==w;A+=1)y(e[A][1])}else{let w=l-x;if(w>i){let A=x+n;for(let C=x;C!==A;C+=1)y(e[C][1]);d[h]=qk(p,g,m,b,t),h=d.length,d.push("");let _=w-i;p=g+_,m=b+_,g=p,b=m;for(let C=l-n;C!==l;C+=1)y(e[C][1])}else for(let A=x;A!==l;A+=1)y(e[A][1])}for(;l!==r&&e[l][0]===Li;)v(e[l][1]),l+=1;for(;l!==r&&e[l][0]===ci;)S(e[l][1]),l+=1}return c&&(d[h]=qk(p,g,m,b,t)),d.join(`
`)}T(BSe,"joinAlignedDiffsNoExpand");function NSe(e,t){return e.map((r,n,i)=>{let a=r[1],s=n===0||n===i.length-1;switch(r[0]){case Li:return gH(a,s,t);case ci:return bH(a,s,t);default:return yH(a,s,t)}}).join(`
`)}T(NSe,"joinAlignedDiffsExpand");var k9=T(e=>e,"noColor"),qSe=5,jAt=0;function zSe(){return{aAnnotation:"Expected",aColor:ln.green,aIndicator:"-",bAnnotation:"Received",bColor:ln.red,bIndicator:"+",changeColor:ln.inverse,changeLineTrailingSpaceColor:k9,commonColor:ln.dim,commonIndicator:" ",commonLineTrailingSpaceColor:k9,compareKeys:void 0,contextLines:qSe,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:ln.yellow,printBasicPrototype:!1,truncateThreshold:jAt,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:k9}}T(zSe,"getDefaultOptions");function WSe(e){return e&&typeof e=="function"?e:void 0}T(WSe,"getCompareKeys");function HSe(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:qSe}T(HSe,"getContextLines");function Xd(e={}){return{...zSe(),...e,compareKeys:WSe(e.compareKeys),contextLines:HSe(e.contextLines)}}T(Xd,"normalizeDiffOptions");function Bp(e){return e.length===1&&e[0].length===0}T(Bp,"isEmptyString");function USe(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Li:t+=1;break;case ci:r+=1;break}}),{a:t,b:r}}T(USe,"countChanges");function GSe({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:i,bIndicator:a,includeChangeCounts:s,omitAnnotationLines:o},l){if(o)return"";let c="",u="";if(s){let p=String(l.a),m=String(l.b),g=n.length-e.length,b=" ".repeat(Math.max(0,g)),y=" ".repeat(Math.max(0,-g)),v=m.length-p.length,S=" ".repeat(Math.max(0,v)),x=" ".repeat(Math.max(0,-v));c=`${b} ${r} ${S}${p}`,u=`${y} ${a} ${x}${m}`}let d=`${r} ${e}${c}`,h=`${a} ${n}${u}`;return`${t(d)}
${i(h)}
`}T(GSe,"printAnnotation");function M_(e,t,r){return GSe(r,USe(e))+(r.expand?NSe(e,r):BSe(e,r))+(t?r.truncateAnnotationColor(`
${r.truncateAnnotation}`):"")}T(M_,"printDiffLines");function Zv(e,t,r){let n=Xd(r),[i,a]=vH(Bp(e)?[]:e,Bp(t)?[]:t,n);return M_(i,a,n)}T(Zv,"diffLinesUnified");function VSe(e,t,r,n,i){if(Bp(e)&&Bp(r)&&(e=[],r=[]),Bp(t)&&Bp(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Zv(e,t,i);let[a,s]=vH(r,n,i),o=0,l=0;return a.forEach(c=>{switch(c[0]){case Li:c[1]=e[o],o+=1;break;case ci:c[1]=t[l],l+=1;break;default:c[1]=t[l],o+=1,l+=1}}),M_(a,s,Xd(i))}T(VSe,"diffLinesUnified2");function vH(e,t,r){var h,p;let n=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,i=Math.max(Math.floor((p=r==null?void 0:r.truncateThreshold)!=null?p:0),0),a=n?Math.min(e.length,i):e.length,s=n?Math.min(t.length,i):t.length,o=a!==e.length||s!==t.length,l=T((m,g)=>e[m]===t[g],"isCommon"),c=[],u=0,d=0;for(FSe(a,s,l,T((m,g,b)=>{for(;u!==g;u+=1)c.push(new W0(Li,e[u]));for(;d!==b;d+=1)c.push(new W0(ci,t[d]));for(;m!==0;m-=1,u+=1,d+=1)c.push(new W0(rn,t[d]))},"foundSubsequence"));u!==a;u+=1)c.push(new W0(Li,e[u]));for(;d!==s;d+=1)c.push(new W0(ci,t[d]));return[c,o]}T(vH,"diffLinesRaw");function zk(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}T(zk,"getType");function Wk(e){return e.includes(`\r
`)?`\r
`:`
`}T(Wk,"getNewLineSymbol");function YSe(e,t,r){var h,p;let n=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,i=Math.max(Math.floor((p=r==null?void 0:r.truncateThreshold)!=null?p:0),0),a=e.length,s=t.length;if(n){let m=e.includes(`
`),g=t.includes(`
`),b=Wk(e),y=Wk(t),v=m?`${e.split(b,i).join(b)}
`:e,S=g?`${t.split(y,i).join(y)}
`:t;a=v.length,s=S.length}let o=a!==e.length||s!==t.length,l=T((m,g)=>e[m]===t[g],"isCommon"),c=0,u=0,d=[];return FSe(a,s,l,T((m,g,b)=>{c!==g&&d.push(new W0(Li,e.slice(c,g))),u!==b&&d.push(new W0(ci,t.slice(u,b))),c=g+m,u=b+m,d.push(new W0(rn,t.slice(b,u)))},"foundSubsequence")),c!==a&&d.push(new W0(Li,e.slice(c))),u!==s&&d.push(new W0(ci,t.slice(u))),[d,o]}T(YSe,"diffStrings");function KSe(e,t,r){return t.reduce((n,i)=>n+(i[0]===rn?i[1]:i[0]===e&&i[1].length!==0?r(i[1]):""),"")}T(KSe,"concatenateRelevantDiffs");var XSe=class{constructor(t,r){ht(this,"op");ht(this,"line");ht(this,"lines");ht(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new W0(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new W0(this.op,KSe(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new W0(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(`
`)){let n=r.split(`
`),i=n.length-1;n.forEach((a,s)=>{s<i?(this.pushSubstring(a),this.pushLine()):a.length!==0&&this.pushSubstring(a)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}};T(XSe,"ChangeBuffer");var dre=XSe,QSe=class{constructor(t,r){ht(this,"deleteBuffer");ht(this,"insertBuffer");ht(this,"lines");this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(`
`)){let i=n.split(`
`),a=i.length-1;i.forEach((s,o)=>{if(o===0){let l=new W0(r,s);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else o<a?this.pushDiffCommonLine(new W0(r,s)):s.length!==0&&this.pushDiffChangeLines(new W0(r,s))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};T(QSe,"CommonBuffer");var RAt=QSe;function JSe(e,t){let r=new dre(Li,t),n=new dre(ci,t),i=new RAt(r,n);return e.forEach(a=>{switch(a[0]){case Li:r.align(a);break;case ci:n.align(a);break;default:i.align(a)}}),i.getLines()}T(JSe,"getAlignedDiffs");function ZSe(e,t){if(t){let r=e.length-1;return e.some((n,i)=>n[0]===rn&&(i!==r||n[1]!==`
`))}return e.some(r=>r[0]===rn)}T(ZSe,"hasCommonDiff");function exe(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
`)||t.includes(`
`),[i,a]=TH(n?`${e}
`:e,n?`${t}
`:t,!0,r);if(ZSe(i,n)){let s=Xd(r),o=JSe(i,s.changeColor);return M_(o,a,s)}}return Zv(e.split(`
`),t.split(`
`),r)}T(exe,"diffStringsUnified");function TH(e,t,r,n){let[i,a]=YSe(e,t,n);return r&&MSe(i),[i,a]}T(TH,"diffStringsRaw");function Ux(e,t){let{commonColor:r}=Xd(t);return r(e)}T(Ux,"getCommonMessage");var{AsymmetricMatcher:IAt,DOMCollection:OAt,DOMElement:MAt,Immutable:kAt,ReactElement:DAt,ReactTestComponent:LAt}=dH,txe=[LAt,DAt,MAt,OAt,kAt,IAt,dH.Error],Hk={maxDepth:20,plugins:txe},rxe={callToJSON:!1,maxDepth:8,plugins:txe};function af(e,t,r){if(Object.is(e,t))return"";let n=zk(e),i=n,a=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;i=e.getExpectedType(),a=i==="string"}if(i!==zk(t)){let s=function(S){return S.length<=b?S:`${S.slice(0,b)}...`};T(s,"truncate");let{aAnnotation:o,aColor:l,aIndicator:c,bAnnotation:u,bColor:d,bIndicator:h}=Xd(r),p=Gx(rxe,r),m=fo(e,p),g=fo(t,p),b=1e5;m=s(m),g=s(g);let y=`${l(`${c} ${o}:`)}
${m}`,v=`${d(`${h} ${u}:`)}
${g}`;return`${y}
${v}`}if(!a)switch(n){case"string":return Zv(e.split(`
`),t.split(`
`),r);case"boolean":case"number":return nxe(e,t,r);case"map":return RT(Uk(e),Uk(t),r);case"set":return RT(Gk(e),Gk(t),r);default:return RT(e,t,r)}}T(af,"diff");function nxe(e,t,r){let n=fo(e,Hk),i=fo(t,Hk);return n===i?"":Zv(n.split(`
`),i.split(`
`),r)}T(nxe,"comparePrimitive");function Uk(e){return new Map(Array.from(e.entries()).sort())}T(Uk,"sortMap");function Gk(e){return new Set(Array.from(e.values()).sort())}T(Gk,"sortSet");function RT(e,t,r){let n,i=!1;try{let s=Gx(Hk,r);n=Vk(e,t,s,r)}catch(s){i=!0}let a=Ux(DSe,r);if(n===void 0||n===a){let s=Gx(rxe,r);n=Vk(e,t,s,r),n!==a&&!i&&(n=`${Ux(EAt,r)}
${n}`)}return n}T(RT,"compareObjects");function Gx(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:i}=Xd(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:i!=null?i:e.maxDepth}}T(Gx,"getFormatOptions");function Vk(e,t,r,n){let i={...r,indent:0},a=fo(e,i),s=fo(t,i);if(a===s)return Ux(DSe,n);{let o=fo(e,r),l=fo(t,r);return VSe(o.split(`
`),l.split(`
`),a.split(`
`),s.split(`
`),n)}}T(Vk,"getObjectsDifference");var pre=2e4;function Yk(e){return S7(e)==="Object"&&typeof e.asymmetricMatch=="function"}T(Yk,"isAsymmetricMatcher");function Kk(e,t){let r=S7(e),n=S7(t);return r===n&&(r==="Object"||r==="Array")}T(Kk,"isReplaceable");function SH(e,t,r){let{aAnnotation:n,bAnnotation:i}=Xd(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=pre&&e.length<=pre&&t!==e){if(t.includes(`
`)||e.includes(`
`))return exe(t,e,r);let[c]=TH(t,e,!0),u=c.some(m=>m[0]===rn),d=ixe(n,i),h=d(n)+sxe(Xk(c,Li,u)),p=d(i)+axe(Xk(c,ci,u));return`${h}
${p}`}let a=Bk(t,{forceWritable:!0}),s=Bk(e,{forceWritable:!0}),{replacedExpected:o,replacedActual:l}=xH(s,a);return af(o,l,r)}T(SH,"printDiffOrStringify");function xH(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):Kk(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),hH(t).forEach(i=>{let a=t[i],s=e[i];if(Yk(a))a.asymmetricMatch(s)&&(e[i]=a);else if(Yk(s))s.asymmetricMatch(a)&&(t[i]=s);else if(Kk(s,a)){let o=xH(s,a,r,n);e[i]=o.replacedActual,t[i]=o.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}T(xH,"replaceAsymmetricMatcher");function ixe(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}T(ixe,"getLabelPrinter");var FAt="·";function wH(e){return e.replace(/\s+$/gm,t=>FAt.repeat(t.length))}T(wH,"replaceTrailingSpaces");function axe(e){return ln.red(wH(_a(e)))}T(axe,"printReceived");function sxe(e){return ln.green(wH(_a(e)))}T(sxe,"printExpected");function Xk(e,t,r){return e.reduce((n,i)=>n+(i[0]===rn?i[1]:i[0]===t?r?ln.inverse(i[1]):i[1]:""),"")}T(Xk,"getCommonAndChangedSubstrings");function r5(e,t){if(!e)throw new Error(t)}T(r5,"assert");function Np(e,t){return typeof t===e}T(Np,"isType");function oxe(e){return e instanceof Promise}T(oxe,"isPromise");function Og(e,t,r){Object.defineProperty(e,t,r)}T(Og,"define");function eh(e,t,r){Og(e,t,{value:r,configurable:!0,writable:!0})}T(eh,"defineValue");var dd=Symbol.for("tinyspy:spy"),$At=new Set,BAt=T(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"reset"),NAt=T(e=>(Og(e,dd,{value:{reset:T(()=>BAt(e[dd]),"reset")}}),e[dd]),"defineState"),Qk=T(e=>e[dd]||NAt(e),"getInternalState");function lxe(e){r5(Np("function",e)||Np("undefined",e),"cannot spy on a non-function value");let t=T(function(...n){let i=Qk(t);i.called=!0,i.callCount++,i.calls.push(n);let a=i.next.shift();if(a){i.results.push(a);let[u,d]=a;if(u==="ok")return d;throw d}let s,o="ok",l=i.results.length;if(i.impl)try{new.target?s=Reflect.construct(i.impl,n,new.target):s=i.impl.apply(this,n),o="ok"}catch(u){throw s=u,o="error",i.results.push([o,u]),u}let c=[o,s];return oxe(s)&&s.then(u=>i.resolves[l]=["ok",u],u=>i.resolves[l]=["error",u]),i.results.push(c),s},"fn");eh(t,"_isMockFunction",!0),eh(t,"length",e?e.length:0),eh(t,"name",e&&e.name||"spy");let r=Qk(t);return r.reset(),r.impl=e,t}T(lxe,"createInternalSpy");function cxe(e){return!!e&&e._isMockFunction===!0}T(cxe,"isMockFunction");var uxe=T((e,t)=>{let r=Object.getOwnPropertyDescriptor(e,t);if(r)return[e,r];let n=Object.getPrototypeOf(e);for(;n!==null;){let i=Object.getOwnPropertyDescriptor(n,t);if(i)return[n,i];n=Object.getPrototypeOf(n)}},"getDescriptor"),hre=T((e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)},"setPototype");function _H(e,t,r){r5(!Np("undefined",e),"spyOn could not find an object to spy upon"),r5(Np("object",e)||Np("function",e),"cannot spyOn on a primitive value");let[n,i]=(()=>{if(!Np("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),[a,s]=uxe(e,n)||[];r5(s||n in e,`${String(n)} does not exist`);let o=!1;i==="value"&&s&&!s.value&&s.get&&(i="get",o=!0,r=s.get());let l;s?l=s[i]:i!=="value"?l=T(()=>e[n],"original"):l=e[n],l&&hxe(l)&&(l=l[dd].getOriginal());let c=T(p=>{let{value:m,...g}=s||{configurable:!0,writable:!0};i!=="value"&&delete g.writable,g[i]=p,Og(e,n,g)},"reassign"),u=T(()=>{a!==e?Reflect.deleteProperty(e,n):s&&!l?Og(e,n,s):c(l)},"restore");r||(r=l);let d=pxe(lxe(r),r);i==="value"&&hre(d,l);let h=d[dd];return eh(h,"restore",u),eh(h,"getOriginal",()=>o?l():l),eh(h,"willCall",p=>(h.impl=p,d)),c(o?()=>(hre(d,r),d):d),$At.add(d),d}T(_H,"internalSpyOn");var qAt=new Set(["length","name","prototype"]);function dxe(e){let t=new Set,r={};for(;e&&e!==Object.prototype&&e!==Function.prototype;){let n=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(let i of n)r[i]||qAt.has(i)||(t.add(i),r[i]=Object.getOwnPropertyDescriptor(e,i));e=Object.getPrototypeOf(e)}return{properties:t,descriptors:r}}T(dxe,"getAllProperties");function pxe(e,t){if(!t||dd in t)return e;let{properties:r,descriptors:n}=dxe(t);for(let i of r){let a=n[i];uxe(e,i)||Og(e,i,a)}return e}T(pxe,"wrap");function hxe(e){return cxe(e)&&"getOriginal"in e[dd]}T(hxe,"isSpyFunction");var k_=new Set;function Fm(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}T(Fm,"isMockFunction");function zAt(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,i,a=fxe(e,t),s=a&&a[r||"value"];Fm(s)&&(i=s.mock._state());try{let o=_H(e,n),l=AH(o);return i&&l.mock._state(i),l}catch(o){throw o instanceof TypeError&&Symbol.toStringTag&&e[Symbol.toStringTag]==="Module"&&(o.message.includes("Cannot redefine property")||o.message.includes("Cannot replace module namespace")||o.message.includes("can't redefine non-configurable property"))?new TypeError(`Cannot spy on export "${String(n)}". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations`,{cause:o}):o}}T(zAt,"spyOn");var WAt=0;function AH(e){let t=e,r,n=[],i=!1,a=[],s=[],o=[],l=Qk(e),c={get calls(){return l.calls},get contexts(){return s},get instances(){return a},get invocationCallOrder(){return o},get results(){return l.results.map(([p,m])=>({type:p==="error"?"throw":"return",value:m}))},get settledResults(){return l.resolves.map(([p,m])=>({type:p==="error"?"rejected":"fulfilled",value:m}))},get lastCall(){return l.calls[l.calls.length-1]},_state(p){return p&&(r=p.implementation,n=p.onceImplementations,i=p.implementationChangedTemporarily),{implementation:r,onceImplementations:n,implementationChangedTemporarily:i}}};function u(...p){return a.push(this),s.push(this),o.push(++WAt),(i?r:n.shift()||r||l.getOriginal()||(()=>{})).apply(this,p)}T(u,"mockCall");let d=t.name;t.getMockName=()=>d||"vi.fn()",t.mockName=p=>(d=p,t),t.mockClear=()=>(l.reset(),a=[],s=[],o=[],t),t.mockReset=()=>(t.mockClear(),r=void 0,n=[],t),t.mockRestore=()=>(t.mockReset(),l.restore(),t),Symbol.dispose&&(t[Symbol.dispose]=()=>t.mockRestore()),t.getMockImplementation=()=>i?r:n.at(0)||r,t.mockImplementation=p=>(r=p,l.willCall(u),t),t.mockImplementationOnce=p=>(n.push(p),t);function h(p,m){let g=r;r=p,l.willCall(u),i=!0;let b=T(()=>{r=g,i=!1},"reset"),y=m();return typeof y=="object"&&y&&typeof y.then=="function"?y.then(()=>(b(),t)):(b(),t)}return T(h,"withImplementation"),t.withImplementation=h,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=p=>t.mockImplementation(()=>p),t.mockReturnValueOnce=p=>t.mockImplementationOnce(()=>p),t.mockResolvedValue=p=>t.mockImplementation(()=>Promise.resolve(p)),t.mockResolvedValueOnce=p=>t.mockImplementationOnce(()=>Promise.resolve(p)),t.mockRejectedValue=p=>t.mockImplementation(()=>Promise.reject(p)),t.mockRejectedValueOnce=p=>t.mockImplementationOnce(()=>Promise.reject(p)),Object.defineProperty(t,"mock",{get:T(()=>c,"get")}),l.willCall(u),k_.add(t),t}T(AH,"enhanceSpy");function Jk(e){let t=AH(_H({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}T(Jk,"fn");function fxe(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;let n=Object.getPrototypeOf(e);for(;n!==null;){let i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=Object.getPrototypeOf(n)}}T(fxe,"getDescriptor");var HAt="@@__IMMUTABLE_RECORD__@@",UAt="@@__IMMUTABLE_ITERABLE__@@";function mxe(e){return e&&(e[UAt]||e[HAt])}T(mxe,"isImmutable");var GAt=Object.getPrototypeOf({});function Zk(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}T(Zk,"getUnserializableMessage");function jc(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){let r=e.toJSON();return r&&r!==e&&typeof r=="object"&&(typeof e.message=="string"&&cy(()=>{var n;return(n=r.message)!=null?n:r.message=e.message}),typeof e.stack=="string"&&cy(()=>{var n;return(n=r.stack)!=null?n:r.stack=e.stack}),typeof e.name=="string"&&cy(()=>{var n;return(n=r.name)!=null?n:r.name=e.name}),e.cause!=null&&cy(()=>{var n;return(n=r.cause)!=null?n:r.cause=jc(e.cause,t)})),jc(r,t)}if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return`<Buffer(${e.length}) ...>`;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return`<Uint8Array(${e.length}) ...>`;if(mxe(e))return jc(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${wSe(e.sample)}`;if(typeof e.toJSON=="function")return jc(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,i)=>{try{r[i]=jc(n,t)}catch(a){r[i]=Zk(a)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==GAt;)Object.getOwnPropertyNames(n).forEach(i=>{if(!(i in r))try{r[i]=jc(e[i],t)}catch(a){delete r[i],r[i]=Zk(a)}}),n=Object.getPrototypeOf(n);return r}}T(jc,"serializeValue");function cy(e){try{return e()}catch(t){}}T(cy,"safe");function gxe(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}T(gxe,"normalizeErrorMessage");function CH(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=SH(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=_a(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=_a(n.actual,10));try{typeof n.message=="string"&&(n.message=gxe(n.message))}catch(i){}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=CH(n.cause,t,r))}catch(i){}try{return jc(n)}catch(i){return jc(new Error(`Failed to fully serialize error: ${i==null?void 0:i.message}
Inner error message: ${n==null?void 0:n.message}`))}}T(CH,"processError");var x7=Symbol.for("matchers-object"),w7=Symbol.for("$$jest-matchers-object-storybook"),EH=Symbol.for("expect-global"),eD=Symbol.for("asymmetric-matchers-object"),VAt={toSatisfy(e,t,r){let{printReceived:n,printExpected:i,matcherHint:a}=this.utils,s=t(e);return{pass:s,message:T(()=>s?`${a(".not.toSatisfy","received","")}
Expected value to not satisfy:
${r||i(t)}
Received:
${n(e)}`:`${a(".toSatisfy","received","")}
Expected value to satisfy:
${r||i(t)}
Received:
${n(e)}`,"message")}},toBeOneOf(e,t){let{equals:r,customTesters:n}=this,{printReceived:i,printExpected:a,matcherHint:s}=this.utils;if(!Array.isArray(t))throw new TypeError(`You must provide an array to ${s(".toBeOneOf")}, not '${typeof t}'.`);let o=t.length===0||t.some(l=>r(l,e,n));return{pass:o,message:T(()=>o?`${s(".not.toBeOneOf","received","")}
Expected value to not be one of:
${a(t)}
Received:
${i(e)}`:`${s(".toBeOneOf","received","")}
Expected value to be one of:
${a(t)}
Received:
${i(e)}`,"message")}}},Vx=ln.green,PH=ln.red,YAt=ln.inverse,KAt=ln.bold,$u=ln.dim;function bxe(e,t="received",r="expected",n={}){let{comment:i="",isDirectExpectCall:a=!1,isNot:s=!1,promise:o="",secondArgument:l="",expectedColor:c=Vx,receivedColor:u=PH,secondArgumentColor:d=Vx}=n,h="",p="expect";return!a&&t!==""&&(h+=$u(`${p}(`)+u(t),p=")"),o!==""&&(h+=$u(`${p}.`)+o,p=""),s&&(h+=`${$u(`${p}.`)}not`,p=""),e.includes(".")?p+=e:(h+=$u(`${p}.`)+e,p=""),r===""?p+="()":(h+=$u(`${p}(`)+c(r),l&&(h+=$u(", ")+d(l)),p=")"),i!==""&&(p+=` // ${i}`),p!==""&&(h+=$u(p)),h}T(bxe,"matcherHint");var XAt="·";function jH(e){return e.replace(/\s+$/gm,t=>XAt.repeat(t.length))}T(jH,"replaceTrailingSpaces");function yxe(e){return PH(jH(_a(e)))}T(yxe,"printReceived");function vxe(e){return Vx(jH(_a(e)))}T(vxe,"printExpected");function RH(){return{EXPECTED_COLOR:Vx,RECEIVED_COLOR:PH,INVERTED_COLOR:YAt,BOLD_WEIGHT:KAt,DIM_COLOR:$u,diff:af,matcherHint:bxe,printReceived:yxe,printExpected:vxe,printDiffOrStringify:SH,printWithType:Txe}}T(RH,"getMatcherUtils");function Txe(e,t,r){let n=S7(t),i=n!=="null"&&n!=="undefined"?`${e} has type: ${n}
`:"",a=`${e} has value: ${r(t)}`;return i+a}T(Txe,"printWithType");function D_(){return globalThis[w7].customEqualityTesters}T(D_,"getCustomEqualityTesters");function Mr(e,t,r,n){return r=r||[],$m(e,t,[],[],r,n?IH:wxe)}T(Mr,"equals");function tD(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Es("Function",e.asymmetricMatch)}T(tD,"isAsymmetric");function Sxe(e,t){let r=tD(e),n=tD(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}T(Sxe,"asymmetricMatch");function $m(e,t,r,n,i,a){let s=!0,o=Sxe(e,t);if(o!==void 0)return o;let l={equals:Mr};for(let m=0;m<i.length;m++){let g=i[m].call(l,e,t,i);if(g!==void 0)return g}if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;let c=Object.prototype.toString.call(e);if(c!==Object.prototype.toString.call(t))return!1;switch(c){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let m=+e,g=+t;return m===g||Number.isNaN(m)&&Number.isNaN(g)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags;case"[object Temporal.Instant]":case"[object Temporal.ZonedDateTime]":case"[object Temporal.PlainDateTime]":case"[object Temporal.PlainDate]":case"[object Temporal.PlainTime]":case"[object Temporal.PlainYearMonth]":case"[object Temporal.PlainMonthDay]":return e.equals(t);case"[object Temporal.Duration]":return e.toString()===t.toString()}if(typeof e!="object"||typeof t!="object")return!1;if(nD(e)&&nD(t))return e.isEqualNode(t);let u=r.length;for(;u--;){if(r[u]===e)return n[u]===t;if(n[u]===t)return!1}if(r.push(e),n.push(t),c==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return xxe(e,t,r,n,i,a)}finally{r.pop(),n.pop()}let d=rD(e,a),h,p=d.length;if(rD(t,a).length!==p)return!1;for(;p--;)if(h=d[p],s=a(t,h)&&$m(e[h],t[h],r,n,i,a),!s)return!1;return r.pop(),n.pop(),s}T($m,"eq");function xxe(e,t,r,n,i,a){let s=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&s&&(s=$m(e.cause,t.cause,r,n,i,a)),e instanceof AggregateError&&t instanceof AggregateError&&s&&(s=$m(e.errors,t.errors,r,n,i,a)),s&&(s=$m({...e},{...t},r,n,i,a)),s}T(xxe,"isErrorEqual");function rD(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}T(rD,"keys");function wxe(e,t){return IH(e,t)&&e[t]!==void 0}T(wxe,"hasDefinedKey");function IH(e,t){return Object.prototype.hasOwnProperty.call(e,t)}T(IH,"hasKey");function Es(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}T(Es,"isA");function nD(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}T(nD,"isDomNode");var _xe="@@__IMMUTABLE_KEYED__@@",Axe="@@__IMMUTABLE_SET__@@",QAt="@@__IMMUTABLE_LIST__@@",L_="@@__IMMUTABLE_ORDERED__@@",JAt="@@__IMMUTABLE_RECORD__@@";function Cxe(e){return!!(e&&e[_xe]&&!e[L_])}T(Cxe,"isImmutableUnorderedKeyed");function Exe(e){return!!(e&&e[Axe]&&!e[L_])}T(Exe,"isImmutableUnorderedSet");function e2(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}T(e2,"isObjectLiteral");function Pxe(e){return!!(e&&e2(e)&&e[QAt])}T(Pxe,"isImmutableList");function jxe(e){return!!(e&&e2(e)&&e[_xe]&&e[L_])}T(jxe,"isImmutableOrderedKeyed");function Rxe(e){return!!(e&&e2(e)&&e[Axe]&&e[L_])}T(Rxe,"isImmutableOrderedSet");function Ixe(e){return!!(e&&e2(e)&&e[JAt])}T(Ixe,"isImmutableRecord");var Oxe=Symbol.iterator;function iD(e){return!!(e!=null&&e[Oxe])}T(iD,"hasIterator");function Wa(e,t,r=[],n=[],i=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!iD(e)||!iD(t))return;if(e.constructor!==t.constructor)return!1;let a=n.length;for(;a--;)if(n[a]===e)return i[a]===t;n.push(e),i.push(t);let s=[...r.filter(c=>c!==Wa),o];function o(c,u){return Wa(c,u,[...r],[...n],[...i])}if(T(o,"iterableEqualityWithStack"),e.size!==void 0){if(e.size!==t.size)return!1;if(Es("Set",e)||Exe(e)){let c=!0;for(let u of e)if(!t.has(u)){let d=!1;for(let h of t)Mr(u,h,s)===!0&&(d=!0);if(d===!1){c=!1;break}}return n.pop(),i.pop(),c}else if(Es("Map",e)||Cxe(e)){let c=!0;for(let u of e)if(!t.has(u[0])||!Mr(u[1],t.get(u[0]),s)){let d=!1;for(let h of t){let p=Mr(u[0],h[0],s),m=!1;p===!0&&(m=Mr(u[1],h[1],s)),m===!0&&(d=!0)}if(d===!1){c=!1;break}}return n.pop(),i.pop(),c}}let l=t[Oxe]();for(let c of e){let u=l.next();if(u.done||!Mr(c,u.value,s))return!1}if(!l.next().done)return!1;if(!Pxe(e)&&!jxe(e)&&!Rxe(e)&&!Ixe(e)){let c=Object.entries(e),u=Object.entries(t);if(!Mr(c,u,s))return!1}return n.pop(),i.pop(),!0}T(Wa,"iterableEquality");function F_(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||F_(Object.getPrototypeOf(e),t)}T(F_,"hasPropertyInObject");function Mxe(e){return t5(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}T(Mxe,"isObjectWithKeys");function q1(e,t,r=[]){let n=r.filter(a=>a!==q1),i=T((a=new WeakMap)=>(s,o)=>{if(Mxe(o))return Object.keys(o).every(l=>{if(o[l]!=null&&typeof o[l]=="object"){if(a.has(o[l]))return Mr(s[l],o[l],n);a.set(o[l],!0)}let c=s!=null&&F_(s,l)&&Mr(s[l],o[l],[...n,i(a)]);return a.delete(o[l]),c})},"subsetEqualityWithContext");return i()(e,t)}T(q1,"subsetEquality");function aD(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}T(aD,"typeEquality");function sD(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch(i){return}}if(r.byteLength!==n.byteLength)return!1;for(let i=0;i<r.byteLength;i++)if(r.getUint8(i)!==n.getUint8(i))return!1;return!0}T(sD,"arrayBufferEquality");function Yx(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),i=Object.keys(t),a=r.filter(s=>s!==Yx);return Mr(e,t,a,!0)&&Mr(n,i)}T(Yx,"sparseArrayEquality");function kxe(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
If it should pass with deep equality, replace "toBe" with "${e}"
Expected: ${t}
Received: serializes to the same string
`:n}T(kxe,"generateToBeMessage");function Dxe(e,t){return`${t} ${e}${t===1?"":"s"}`}T(Dxe,"pluralize");function IT(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))===null||r===void 0?void 0:r.enumerable})]}T(IT,"getObjectKeys");function Lxe(e,t,r){let n=0,i=T((a=new WeakMap)=>(s,o)=>{if(Array.isArray(s)){if(Array.isArray(o)&&o.length===s.length)return o.map((l,c)=>i(a)(s[c],l))}else{if(s instanceof Date)return s;if(t5(s)&&t5(o)){if(Mr(s,o,[...r,Wa,q1]))return o;let l={};a.set(s,l),typeof s.constructor=="function"&&typeof s.constructor.name=="string"&&Object.defineProperty(l,"constructor",{enumerable:!1,value:s.constructor});for(let c of IT(s))F_(o,c)?l[c]=a.has(s[c])?a.get(s[c]):i(a)(s[c],o[c]):a.has(s[c])||(n+=1,t5(s[c])&&(n+=IT(s[c]).length),i(a)(s[c],o[c]));if(IT(l).length>0)return l}}return s},"getObjectSubsetWithContext");return{subset:i()(e,t),stripped:n}}T(Lxe,"getObjectSubset");if(!Object.prototype.hasOwnProperty.call(globalThis,x7)){let e=new WeakMap;Object.defineProperty(globalThis,x7,{get:T(()=>e,"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,w7)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,w7,{configurable:!0,get:T(()=>({state:globalThis[x7].get(globalThis[EH]),matchers:e,customEqualityTesters:t}),"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,eD)){let e=Object.create(null);Object.defineProperty(globalThis,eD,{get:T(()=>e,"get")})}function _7(e){return globalThis[x7].get(e)}T(_7,"getState");function OT(e,t){let r=globalThis[x7],n=r.get(t)||{},i=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,i)}T(OT,"setState");var Fxe=class{constructor(t,r=!1){ht(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=t,this.inverse=r}getMatcherContext(t){return{..._7(t||globalThis[EH]),equals:Mr,isNot:this.inverse,customTesters:D_(),utils:{...RH(),diff:af,stringify:_a,iterableEquality:Wa,subsetEquality:q1}}}};T(Fxe,"AsymmetricMatcher");var yu=Fxe;yu.prototype[Symbol.for("chai/inspect")]=function(e){let t=_a(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var $xe=class extends yu{constructor(t,r=!1){if(!Es("String",t))throw new Error("Expected is not a string");super(t,r)}asymmetricMatch(t){let r=Es("String",t)&&t.includes(this.sample);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}};T($xe,"StringContaining");var fre=$xe,Bxe=class extends yu{asymmetricMatch(t){return t!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}};T(Bxe,"Anything");var ZAt=Bxe,Nxe=class extends yu{constructor(t,r=!1){super(t,r)}getPrototype(t){return Object.getPrototypeOf?Object.getPrototypeOf(t):t.constructor.prototype===t?null:t.constructor.prototype}hasProperty(t,r){return t?Object.prototype.hasOwnProperty.call(t,r)?!0:this.hasProperty(this.getPrototype(t),r):!1}asymmetricMatch(t){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let r=!0,n=this.getMatcherContext();for(let i in this.sample)if(!this.hasProperty(t,i)||!Mr(this.sample[i],t[i],n.customTesters)){r=!1;break}return this.inverse?!r:r}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}};T(Nxe,"ObjectContaining");var mre=Nxe,qxe=class extends yu{constructor(t,r=!1){super(t,r)}asymmetricMatch(t){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let r=this.getMatcherContext(),n=this.sample.length===0||Array.isArray(t)&&this.sample.every(i=>t.some(a=>Mr(i,a,r.customTesters)));return this.inverse?!n:n}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}};T(qxe,"ArrayContaining");var gre=qxe,zxe=class extends yu{constructor(t){if(typeof t>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(t)}fnNameFor(t){if(t.name)return t.name;let r=Function.prototype.toString.call(t).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return r?r[1]:"<anonymous>"}asymmetricMatch(t){return this.sample===String?typeof t=="string"||t instanceof String:this.sample===Number?typeof t=="number"||t instanceof Number:this.sample===Function?typeof t=="function"||typeof t=="function":this.sample===Boolean?typeof t=="boolean"||t instanceof Boolean:this.sample===BigInt?typeof t=="bigint"||t instanceof BigInt:this.sample===Symbol?typeof t=="symbol"||t instanceof Symbol:this.sample===Object?typeof t=="object":t instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}};T(zxe,"Any");var e8t=zxe,Wxe=class extends yu{constructor(t,r=!1){if(!Es("String",t)&&!Es("RegExp",t))throw new Error("Expected is not a String or a RegExp");super(new RegExp(t),r)}asymmetricMatch(t){let r=Es("String",t)&&this.sample.test(t);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}};T(Wxe,"StringMatching");var bre=Wxe,Hxe=class extends yu{constructor(r,n=2,i=!1){if(!Es("Number",r))throw new Error("Expected is not a Number");if(!Es("Number",n))throw new Error("Precision is not a Number");super(r);ht(this,"precision");this.inverse=i,this.precision=n}asymmetricMatch(r){if(!Es("Number",r))return!1;let n=!1;return r===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||r===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?n=!0:n=Math.abs(this.sample-r)<10**-this.precision/2,this.inverse?!n:n}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${Dxe("digit",this.precision)})`].join(" ")}};T(Hxe,"CloseTo");var yre=Hxe,t8t=T((e,t)=>{t.addMethod(e.expect,"anything",()=>new ZAt),t.addMethod(e.expect,"any",r=>new e8t(r)),t.addMethod(e.expect,"stringContaining",r=>new fre(r)),t.addMethod(e.expect,"objectContaining",r=>new mre(r)),t.addMethod(e.expect,"arrayContaining",r=>new gre(r)),t.addMethod(e.expect,"stringMatching",r=>new bre(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new yre(r,n)),e.expect.not={stringContaining:T(r=>new fre(r,!0),"stringContaining"),objectContaining:T(r=>new mre(r,!0),"objectContaining"),arrayContaining:T(r=>new gre(r,!0),"arrayContaining"),stringMatching:T(r=>new bre(r,!0),"stringMatching"),closeTo:T((r,n)=>new yre(r,n,!0),"closeTo")}},"JestAsymmetricMatchers");function oD(e,t,r){let n=e.flag(t,"negate")?"not.":"",i=`${e.flag(t,"_name")}(${r?"expected":""})`,a=e.flag(t,"promise");return`expect(actual)${a?`.${a}`:""}.${n}${i}`}T(oD,"createAssertionMessage");function lD(e,t,r,n){var a;let i=e;if(i&&t instanceof Promise){t=t.finally(()=>{if(!i.promises)return;let o=i.promises.indexOf(t);o!==-1&&i.promises.splice(o,1)}),i.promises||(i.promises=[]),i.promises.push(t);let s=!1;return(a=i.onFinished)!=null||(i.onFinished=[]),i.onFinished.push(()=>{if(!s){var o;let l=(((o=globalThis.__vitest_worker__)===null||o===void 0?void 0:o.onFilterStackTrace)||(c=>c||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
`,l].join(""))}}),{then(o,l){return s=!0,t.then(o,l)},catch(o){return t.catch(o)},finally(o){return t.finally(o)},[Symbol.toStringTag]:"Promise"}}return t}T(lD,"recordAsyncExpect");function cD(e,t){var r;e.result||(e.result={state:"fail"}),e.result.state="fail",(r=e.result).errors||(r.errors=[]),e.result.errors.push(CH(t))}T(cD,"handleTestError");function OH(e,t,r){return function(...n){if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);let i=e.flag(this,"vitest-test");if(!i)throw new Error("expect.soft() can only be used inside a test");try{let a=r.apply(this,n);return a&&typeof a=="object"&&typeof a.then=="function"?a.then(PSe,s=>{cD(i,s)}):a}catch(a){cD(i,a)}}}T(OH,"wrapAssertion");var r8t=T((e,t)=>{let{AssertionError:r}=e,n=D_();function i(c,u){let d=T(h=>{let p=OH(t,h,u);t.addMethod(e.Assertion.prototype,h,p),t.addMethod(globalThis[w7].matchers,h,p)},"addMethod");Array.isArray(c)?c.forEach(h=>d(h)):d(c)}T(i,"def"),["throw","throws","Throw"].forEach(c=>{t.overwriteMethod(e.Assertion.prototype,c,u=>function(...d){let h=t.flag(this,"promise"),p=t.flag(this,"object"),m=t.flag(this,"negate");if(h==="rejects")t.flag(this,"object",()=>{throw p});else if(h==="resolves"&&typeof p!="function"){if(m)return;{let g=t.flag(this,"message")||"expected promise to throw an error, but it didn't",b={showDiff:!1};throw new r(g,b,t.flag(this,"ssfi"))}}u.apply(this,d)})}),i("withTest",function(c){return t.flag(this,"vitest-test",c),this}),i("toEqual",function(c){let u=t.flag(this,"object"),d=Mr(u,c,[...n,Wa]);return this.assert(d,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",c,u)}),i("toStrictEqual",function(c){let u=t.flag(this,"object"),d=Mr(u,c,[...n,Wa,aD,Yx,sD],!0);return this.assert(d,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",c,u)}),i("toBe",function(c){let u=this._obj,d=Object.is(u,c),h="";return d||(Mr(u,c,[...n,Wa,aD,Yx,sD],!0)?h="toStrictEqual":Mr(u,c,[...n,Wa])&&(h="toEqual")),this.assert(d,kxe(h),"expected #{this} not to be #{exp} // Object.is equality",c,u)}),i("toMatchObject",function(c){let u=this._obj,d=Mr(u,c,[...n,Wa,q1]),h=t.flag(this,"negate"),{subset:p,stripped:m}=Lxe(u,c,n);if(d&&h||!d&&!h){let g=t.getMessage(this,[d,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",c,p,!1]),b=m===0?g:`${g}
(${m} matching ${m===1?"property":"properties"} omitted from actual)`;throw new r(b,{showDiff:!0,expected:c,actual:p})}}),i("toMatch",function(c){let u=this._obj;if(typeof u!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof u}`);return this.assert(typeof c=="string"?u.includes(c):u.match(c),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",c,u)}),i("toContain",function(c){let u=this._obj;if(typeof Node<"u"&&u instanceof Node){if(!(c instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof c}`);return this.assert(u.contains(c),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",c,u)}if(typeof DOMTokenList<"u"&&u instanceof DOMTokenList){Ko(c,"class name",["string"]);let d=t.flag(this,"negate")?u.value.replace(c,"").trim():`${u.value} ${c}`;return this.assert(u.contains(c),`expected "${u.value}" to contain "${c}"`,`expected "${u.value}" not to contain "${c}"`,d,u.value)}return typeof u=="string"&&typeof c=="string"?this.assert(u.includes(c),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",c,u):(u!=null&&typeof u!="string"&&t.flag(this,"object",Array.from(u)),this.contain(c))}),i("toContainEqual",function(c){let u=t.flag(this,"object"),d=Array.from(u).findIndex(h=>Mr(h,c,n));this.assert(d!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",c)}),i("toBeTruthy",function(){let c=t.flag(this,"object");this.assert(!!c,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,c)}),i("toBeFalsy",function(){let c=t.flag(this,"object");this.assert(!c,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,c)}),i("toBeGreaterThan",function(c){let u=this._obj;return Ko(u,"actual",["number","bigint"]),Ko(c,"expected",["number","bigint"]),this.assert(u>c,`expected ${u} to be greater than ${c}`,`expected ${u} to be not greater than ${c}`,c,u,!1)}),i("toBeGreaterThanOrEqual",function(c){let u=this._obj;return Ko(u,"actual",["number","bigint"]),Ko(c,"expected",["number","bigint"]),this.assert(u>=c,`expected ${u} to be greater than or equal to ${c}`,`expected ${u} to be not greater than or equal to ${c}`,c,u,!1)}),i("toBeLessThan",function(c){let u=this._obj;return Ko(u,"actual",["number","bigint"]),Ko(c,"expected",["number","bigint"]),this.assert(u<c,`expected ${u} to be less than ${c}`,`expected ${u} to be not less than ${c}`,c,u,!1)}),i("toBeLessThanOrEqual",function(c){let u=this._obj;return Ko(u,"actual",["number","bigint"]),Ko(c,"expected",["number","bigint"]),this.assert(u<=c,`expected ${u} to be less than or equal to ${c}`,`expected ${u} to be not less than or equal to ${c}`,c,u,!1)}),i("toBeNaN",function(){let c=t.flag(this,"object");this.assert(Number.isNaN(c),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,c)}),i("toBeUndefined",function(){let c=t.flag(this,"object");this.assert(c===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,c)}),i("toBeNull",function(){let c=t.flag(this,"object");this.assert(c===null,"expected #{this} to be null","expected #{this} not to be null",null,c)}),i("toBeDefined",function(){let c=t.flag(this,"object");this.assert(typeof c<"u","expected #{this} to be defined","expected #{this} to be undefined",c)}),i("toBeTypeOf",function(c){let u=typeof this._obj,d=c===u;return this.assert(d,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",c,u)}),i("toBeInstanceOf",function(c){return this.instanceOf(c)}),i("toHaveLength",function(c){return this.have.length(c)}),i("toHaveProperty",function(...c){Array.isArray(c[0])&&(c[0]=c[0].map(v=>String(v).replace(/([.[\]])/g,"\\$1")).join("."));let u=this._obj,[d,h]=c,p=T(()=>Object.prototype.hasOwnProperty.call(u,d)?{value:u[d],exists:!0}:t.getPathInfo(u,d),"getValue"),{value:m,exists:g}=p(),b=g&&(c.length===1||Mr(h,m,n)),y=c.length===1?"":` with value ${t.objDisplay(h)}`;return this.assert(b,`expected #{this} to have property "${d}"${y}`,`expected #{this} to not have property "${d}"${y}`,h,g?m:void 0)}),i("toBeCloseTo",function(c,u=2){let d=this._obj,h=!1,p=0,m=0;return c===Number.POSITIVE_INFINITY&&d===Number.POSITIVE_INFINITY||c===Number.NEGATIVE_INFINITY&&d===Number.NEGATIVE_INFINITY?h=!0:(p=10**-u/2,m=Math.abs(d-c),h=m<p),this.assert(h,`expected #{this} to be close to #{exp}, received difference is ${m}, but expected ${p}`,`expected #{this} to not be close to #{exp}, received difference is ${m}, but expected ${p}`,c,d,!1)});function a(c){if(!Fm(c._obj))throw new TypeError(`${t.inspect(c._obj)} is not a spy or a call to a spy!`)}T(a,"assertIsMock");function s(c){return a(c),c._obj}T(s,"getSpy"),i(["toHaveBeenCalledTimes","toBeCalledTimes"],function(c){let u=s(this),d=u.getMockName(),h=u.mock.calls.length;return this.assert(h===c,`expected "${d}" to be called #{exp} times, but got ${h} times`,`expected "${d}" to not be called #{exp} times`,c,h,!1)}),i("toHaveBeenCalledOnce",function(){let c=s(this),u=c.getMockName(),d=c.mock.calls.length;return this.assert(d===1,`expected "${u}" to be called once, but got ${d} times`,`expected "${u}" to not be called once`,1,d,!1)}),i(["toHaveBeenCalled","toBeCalled"],function(){let c=s(this),u=c.getMockName(),d=c.mock.calls.length,h=d>0,p=t.flag(this,"negate"),m=t.getMessage(this,[h,`expected "${u}" to be called at least once`,`expected "${u}" to not be called at all, but actually been called ${d} times`,!0,h]);if(h&&p&&(m=MT(c,m)),h&&p||!h&&!p)throw new r(m)});function o(c,u){return c.length===u.length&&c.every((d,h)=>Mr(d,u[h],[...n,Wa]))}T(o,"equalsArgumentArray"),i(["toHaveBeenCalledWith","toBeCalledWith"],function(...c){let u=s(this),d=u.getMockName(),h=u.mock.calls.some(g=>o(g,c)),p=t.flag(this,"negate"),m=t.getMessage(this,[h,`expected "${d}" to be called with arguments: #{exp}`,`expected "${d}" to not be called with arguments: #{exp}`,c]);if(h&&p||!h&&!p)throw new r(MT(u,m,c))}),i("toHaveBeenCalledExactlyOnceWith",function(...c){let u=s(this),d=u.getMockName(),h=u.mock.calls.length,p=u.mock.calls.some(b=>o(b,c))&&h===1,m=t.flag(this,"negate"),g=t.getMessage(this,[p,`expected "${d}" to be called once with arguments: #{exp}`,`expected "${d}" to not be called once with arguments: #{exp}`,c]);if(p&&m||!p&&!m)throw new r(MT(u,g,c))}),i(["toHaveBeenNthCalledWith","nthCalledWith"],function(c,...u){let d=s(this),h=d.getMockName(),p=d.mock.calls[c-1],m=d.mock.calls.length,g=c<=m;this.assert(p&&o(p,u),`expected ${Bm(c)} "${h}" call to have been called with #{exp}${g?"":`, but called only ${m} times`}`,`expected ${Bm(c)} "${h}" call to not have been called with #{exp}`,u,p,g)}),i(["toHaveBeenLastCalledWith","lastCalledWith"],function(...c){let u=s(this),d=u.getMockName(),h=u.mock.calls[u.mock.calls.length-1];this.assert(h&&o(h,c),`expected last "${d}" call to have been called with #{exp}`,`expected last "${d}" call to not have been called with #{exp}`,c,h)});function l(c,u,d){let h=c.mock.invocationCallOrder,p=u.mock.invocationCallOrder;return h.length===0?!d:p.length===0?!1:h[0]<p[0]}T(l,"isSpyCalledBeforeAnotherSpy"),i(["toHaveBeenCalledBefore"],function(c,u=!0){let d=s(this);if(!Fm(c))throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);this.assert(l(d,c,u),`expected "${d.getMockName()}" to have been called before "${c.getMockName()}"`,`expected "${d.getMockName()}" to not have been called before "${c.getMockName()}"`,c,d)}),i(["toHaveBeenCalledAfter"],function(c,u=!0){let d=s(this);if(!Fm(c))throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);this.assert(l(c,d,u),`expected "${d.getMockName()}" to have been called after "${c.getMockName()}"`,`expected "${d.getMockName()}" to not have been called after "${c.getMockName()}"`,c,d)}),i(["toThrow","toThrowError"],function(c){if(typeof c=="string"||typeof c>"u"||c instanceof RegExp)return this.throws(c===""?/^$/:c);let u=this._obj,d=t.flag(this,"promise"),h=t.flag(this,"negate"),p=null;if(d==="rejects")p=u;else if(d==="resolves"&&typeof u!="function"){if(h)return;{let m=t.flag(this,"message")||"expected promise to throw an error, but it didn't",g={showDiff:!1};throw new r(m,g,t.flag(this,"ssfi"))}}else{let m=!1;try{u()}catch(g){m=!0,p=g}if(!m&&!h){let g=t.flag(this,"message")||"expected function to throw an error, but it didn't",b={showDiff:!1};throw new r(g,b,t.flag(this,"ssfi"))}}if(typeof c=="function"){let m=c.name||c.prototype.constructor.name;return this.assert(p&&p instanceof c,`expected error to be instance of ${m}`,`expected error not to be instance of ${m}`,c,p)}if(c instanceof Error){let m=Mr(p,c,[...n,Wa]);return this.assert(m,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",c,p)}if(typeof c=="object"&&"asymmetricMatch"in c&&typeof c.asymmetricMatch=="function"){let m=c;return this.assert(p&&m.asymmetricMatch(p),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",m,p)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof c}"`)}),[{name:"toHaveResolved",condition:T(c=>c.mock.settledResults.length>0&&c.mock.settledResults.some(({type:u})=>u==="fulfilled"),"condition"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:T(c=>c.mock.calls.length>0&&c.mock.results.some(({type:u})=>u!=="throw"),"condition"),action:"called"}].forEach(({name:c,condition:u,action:d})=>{i(c,function(){let h=s(this),p=h.getMockName(),m=u(h);this.assert(m,`expected "${p}" to be successfully ${d} at least once`,`expected "${p}" to not be successfully ${d}`,m,!m,!1)})}),[{name:"toHaveResolvedTimes",condition:T((c,u)=>c.mock.settledResults.reduce((d,{type:h})=>h==="fulfilled"?++d:d,0)===u,"condition"),action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:T((c,u)=>c.mock.results.reduce((d,{type:h})=>h==="throw"?d:++d,0)===u,"condition"),action:"called"}].forEach(({name:c,condition:u,action:d})=>{i(c,function(h){let p=s(this),m=p.getMockName(),g=u(p,h);this.assert(g,`expected "${m}" to be successfully ${d} ${h} times`,`expected "${m}" to not be successfully ${d} ${h} times`,`expected resolved times: ${h}`,`received resolved times: ${g}`,!1)})}),[{name:"toHaveResolvedWith",condition:T((c,u)=>c.mock.settledResults.some(({type:d,value:h})=>d==="fulfilled"&&Mr(u,h)),"condition"),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:T((c,u)=>c.mock.results.some(({type:d,value:h})=>d==="return"&&Mr(u,h)),"condition"),action:"return"}].forEach(({name:c,condition:u,action:d})=>{i(c,function(h){let p=s(this),m=u(p,h),g=t.flag(this,"negate");if(m&&g||!m&&!g){let b=p.getMockName(),y=t.getMessage(this,[m,`expected "${b}" to ${d} with: #{exp} at least once`,`expected "${b}" to not ${d} with: #{exp}`,h]),v=d==="return"?p.mock.results:p.mock.settledResults;throw new r(Uxe(p,v,y,h))}})}),[{name:"toHaveLastResolvedWith",condition:T((c,u)=>{let d=c.mock.settledResults[c.mock.settledResults.length-1];return d&&d.type==="fulfilled"&&Mr(d.value,u)},"condition"),action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:T((c,u)=>{let d=c.mock.results[c.mock.results.length-1];return d&&d.type==="return"&&Mr(d.value,u)},"condition"),action:"return"}].forEach(({name:c,condition:u,action:d})=>{i(c,function(h){let p=s(this),m=d==="return"?p.mock.results:p.mock.settledResults,g=m[m.length-1],b=p.getMockName();this.assert(u(p,h),`expected last "${b}" call to ${d} #{exp}`,`expected last "${b}" call to not ${d} #{exp}`,h,g==null?void 0:g.value)})}),[{name:"toHaveNthResolvedWith",condition:T((c,u,d)=>{let h=c.mock.settledResults[u-1];return h&&h.type==="fulfilled"&&Mr(h.value,d)},"condition"),action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:T((c,u,d)=>{let h=c.mock.results[u-1];return h&&h.type==="return"&&Mr(h.value,d)},"condition"),action:"return"}].forEach(({name:c,condition:u,action:d})=>{i(c,function(h,p){let m=s(this),g=m.getMockName(),b=(d==="return"?m.mock.results:m.mock.settledResults)[h-1],y=`${Bm(h)} call`;this.assert(u(m,h,p),`expected ${y} "${g}" call to ${d} #{exp}`,`expected ${y} "${g}" call to not ${d} #{exp}`,p,b==null?void 0:b.value)})}),i("withContext",function(c){for(let u in c)t.flag(this,u,c[u]);return this}),t.addProperty(e.Assertion.prototype,"resolves",T(function(){let c=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",c);let u=t.flag(this,"vitest-test"),d=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(d==null?void 0:d.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof d}'.`);let h=new Proxy(this,{get:T((p,m,g)=>{let b=Reflect.get(p,m,g);return typeof b!="function"?b instanceof e.Assertion?h:b:(...y)=>{t.flag(this,"_name",m);let v=d.then(S=>(t.flag(this,"object",S),b.call(this,...y)),S=>{let x=new r(`promise rejected "${t.inspect(S)}" instead of resolving`,{showDiff:!1});throw x.cause=S,x.stack=c.stack.replace(c.message,x.message),x});return lD(u,v,oD(t,this,!!y.length),c)}},"get")});return h},"__VITEST_RESOLVES__")),t.addProperty(e.Assertion.prototype,"rejects",T(function(){let c=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",c);let u=t.flag(this,"vitest-test"),d=t.flag(this,"object"),h=typeof d=="function"?d():d;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(h==null?void 0:h.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof h}'.`);let p=new Proxy(this,{get:T((m,g,b)=>{let y=Reflect.get(m,g,b);return typeof y!="function"?y instanceof e.Assertion?p:y:(...v)=>{t.flag(this,"_name",g);let S=h.then(x=>{let w=new r(`promise resolved "${t.inspect(x)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:x});throw w.stack=c.stack.replace(c.message,w.message),w},x=>(t.flag(this,"object",x),y.call(this,...v)));return lD(u,S,oD(t,this,!!v.length),c)}},"get")});return p},"__VITEST_REJECTS__"))},"JestChaiExpect");function Bm(e){let t=e%10,r=e%100;return t===1&&r!==11?`${e}st`:t===2&&r!==12?`${e}nd`:t===3&&r!==13?`${e}rd`:`${e}th`}T(Bm,"ordinalOf");function MT(e,t,r){return e.mock.calls.length&&(t+=ln.gray(`
Received:
${e.mock.calls.map((n,i)=>{let a=ln.bold(` ${Bm(i+1)} ${e.getMockName()} call:
`);return r?a+=af(r,n,{omitAnnotationLines:!0}):a+=_a(n).split(`
`).map(s=>` ${s}`).join(`
`),a+=`
`,a}).join(`
`)}`)),t+=ln.gray(`
Number of calls: ${ln.bold(e.mock.calls.length)}
`),t}T(MT,"formatCalls");function Uxe(e,t,r,n){return t.length&&(r+=ln.gray(`
Received:
${t.map((i,a)=>{let s=ln.bold(` ${Bm(a+1)} ${e.getMockName()} call return:
`);return n?s+=af(n,i.value,{omitAnnotationLines:!0}):s+=_a(i).split(`
`).map(o=>` ${o}`).join(`
`),s+=`
`,s}).join(`
`)}`)),r+=ln.gray(`
Number of calls: ${ln.bold(e.mock.calls.length)}
`),r}T(Uxe,"formatReturns");function Gxe(e,t){let r=e._obj,n=pl.flag(e,"negate"),i=pl.flag(e,"promise")||"",a={...RH(),diff:af,stringify:_a,iterableEquality:Wa,subsetEquality:q1};return{state:{..._7(t),customTesters:D_(),isNot:n,utils:a,promise:i,equals:Mr,suppressedErrors:[],soft:pl.flag(e,"soft"),poll:pl.flag(e,"poll")},isNot:n,obj:r}}T(Gxe,"getMatcherState");var Vxe=class extends Error{constructor(t,r,n){super(t),this.actual=r,this.expected=n}};T(Vxe,"JestExtendError");var vre=Vxe;function Yxe(e,t,r){return(n,i)=>{Object.entries(r).forEach(([a,s])=>{function o(...h){let{state:p,isNot:m,obj:g}=Gxe(this,t),b=s.call(p,g,...h);if(b&&typeof b=="object"&&typeof b.then=="function")return b.then(({pass:w,message:A,actual:_,expected:C})=>{if(w&&m||!w&&!m)throw new vre(A(),_,C)});let{pass:y,message:v,actual:S,expected:x}=b;if(y&&m||!y&&!m)throw new vre(v(),S,x)}T(o,"expectWrapper");let l=OH(i,a,o);i.addMethod(globalThis[w7].matchers,a,l),i.addMethod(e.Assertion.prototype,a,l);let c=class extends yu{constructor(p=!1,...m){super(m,p)}asymmetricMatch(p){let{pass:m}=s.call(this.getMatcherContext(t),p,...this.sample);return this.inverse?!m:m}toString(){return`${this.inverse?"not.":""}${a}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(p=>_a(p)).join(", ")}>`}};T(c,"CustomMatcher");let u=c,d=T((...h)=>new u(!1,...h),"customMatcher");Object.defineProperty(t,a,{configurable:!0,enumerable:!0,value:d,writable:!0}),Object.defineProperty(t.not,a,{configurable:!0,enumerable:!0,value:T((...h)=>new u(!0,...h),"value"),writable:!0}),Object.defineProperty(globalThis[eD],a,{configurable:!0,enumerable:!0,value:d,writable:!0})})}}T(Yxe,"JestExtendPlugin");var n8t=T((e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{Zp(Yxe(e,r,n))})},"JestExtend");function Kxe(){Zp(n8t),Zp(r8t),Zp(t8t);let e=T((n,i)=>{let{assertionCalls:a}=_7(e);return OT({assertionCalls:a+1,soft:!1},e),ud(n,i)},"expect");Object.assign(e,ud),e.getState=()=>_7(e),e.setState=n=>OT(n,e),e.extend=n=>ud.extend(e,n),e.soft=(...n)=>{let i=e(...n);return e.setState({soft:!0}),i},e.extend(VAt),e.unreachable=n=>{Z.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let i=T(()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`),"errorGen");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(i(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:i})}T(t,"assertions");function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return T(r,"hasAssertions"),OT({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),pl.addMethod(e,"assertions",t),pl.addMethod(e,"hasAssertions",r),e.extend(N2e),e}T(Kxe,"createExpect");var Xxe=Kxe();Object.defineProperty(globalThis,EH,{value:Xxe,writable:!0,configurable:!0});function Qxe(e,t,r){Object.defineProperty(e,t,r)}T(Qxe,"f");var kT=Symbol.for("tinyspy:spy"),i8t=T(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"P"),a8t=T(e=>(Qxe(e,kT,{value:{reset:T(()=>i8t(e[kT]),"reset")}}),e[kT]),"K"),s8t=T(e=>e[kT]||a8t(e),"T"),uD=new Set;function Jxe(e){return uD.add(e),()=>void uD.delete(e)}T(Jxe,"onMockCall");function Zxe(e){let t=e?Jk(e):Jk();return ewe(t)}T(Zxe,"fn");function ewe(e){let t=dD(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>dD(r(n)),t}T(ewe,"reactiveMock");function dD(e){let t=s8t(e),r=t.impl;return t.willCall(function(...n){return uD.forEach(i=>i(e,n)),r==null?void 0:r.apply(this,n)}),e}T(dD,"listenWhenCalled");function twe(){k_.forEach(e=>e.mockClear())}T(twe,"clearAllMocks");function rwe(){k_.forEach(e=>e.mockReset())}T(rwe,"resetAllMocks");function nwe(){k_.forEach(e=>e.mockRestore())}T(nwe,"restoreAllMocks");function o8t(e,t={}){return e}T(o8t,"mocked");var iwe={};M4(iwe,{buildQueries:()=>Hl,configure:()=>r6e,createEvent:()=>i5,findAllByAltText:()=>X6e,findAllByDisplayValue:()=>H6e,findAllByLabelText:()=>w6e,findAllByPlaceholderText:()=>O6e,findAllByRole:()=>u4e,findAllByTestId:()=>g4e,findAllByText:()=>$6e,findAllByTitle:()=>r4e,findByAltText:()=>Q6e,findByDisplayValue:()=>U6e,findByLabelText:()=>_6e,findByPlaceholderText:()=>M6e,findByRole:()=>d4e,findByTestId:()=>b4e,findByText:()=>B6e,findByTitle:()=>n4e,fireEvent:()=>Lg,getAllByAltText:()=>Y6e,getAllByDisplayValue:()=>z6e,getAllByLabelText:()=>A6e,getAllByPlaceholderText:()=>R6e,getAllByRole:()=>l4e,getAllByTestId:()=>f4e,getAllByText:()=>L6e,getAllByTitle:()=>e4e,getByAltText:()=>K6e,getByDisplayValue:()=>W6e,getByLabelText:()=>C6e,getByPlaceholderText:()=>I6e,getByRole:()=>c4e,getByTestId:()=>m4e,getByText:()=>F6e,getByTitle:()=>t4e,getConfig:()=>xr,getDefaultNormalizer:()=>N_,getElementError:()=>r2,getMultipleElementsFoundError:()=>n2,getNodeText:()=>z1,getQueriesForElement:()=>Qx,getRoles:()=>JH,getSuggestedQuery:()=>C7,isInaccessible:()=>t2,logDOM:()=>yD,logRoles:()=>R8t,makeFindQuery:()=>Rh,makeGetAllQuery:()=>W_,makeSingleQuery:()=>jh,prettyDOM:()=>Dg,prettyFormat:()=>MH,queries:()=>Xx,queryAllByAltText:()=>G6e,queryAllByAttribute:()=>Jd,queryAllByDisplayValue:()=>N6e,queryAllByLabelText:()=>E6e,queryAllByPlaceholderText:()=>P6e,queryAllByRole:()=>s4e,queryAllByTestId:()=>p4e,queryAllByText:()=>k6e,queryAllByTitle:()=>J6e,queryByAltText:()=>V6e,queryByAttribute:()=>eU,queryByDisplayValue:()=>q6e,queryByLabelText:()=>S6e,queryByPlaceholderText:()=>j6e,queryByRole:()=>o4e,queryByTestId:()=>h4e,queryByText:()=>D6e,queryByTitle:()=>Z6e,queryHelpers:()=>I8t,screen:()=>Q8t,waitFor:()=>z_,waitForElementToBeRemoved:()=>v4e,within:()=>Qx,wrapAllByQueryWithSuggestion:()=>Aa,wrapSingleQueryWithSuggestion:()=>pd});var MH=is(Nxt()),l8t=Object.prototype.toString;function pD(e){return typeof e=="function"||l8t.call(e)==="[object Function]"}T(pD,"isCallable");function awe(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}T(awe,"toInteger");var c8t=Math.pow(2,53)-1;function swe(e){var t=awe(e);return Math.min(Math.max(t,0),c8t)}T(swe,"toLength");function vs(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!pD(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var i=swe(n.length),a=pD(r)?Object(new r(i)):new Array(i),s=0,o;s<i;)o=n[s],t?a[s]=t(o,s):a[s]=o,s+=1;return a.length=i,a}T(vs,"arrayFrom");function Mg(e){"@babel/helpers - typeof";return Mg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mg(e)}T(Mg,"_typeof");function owe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}T(owe,"_classCallCheck");function hD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,kH(n.key),n)}}T(hD,"_defineProperties");function lwe(e,t,r){return t&&hD(e.prototype,t),r&&hD(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}T(lwe,"_createClass");function cwe(e,t,r){return t=kH(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}T(cwe,"_defineProperty");function kH(e){var t=uwe(e,"string");return Mg(t)==="symbol"?t:String(t)}T(kH,"_toPropertyKey");function uwe(e,t){if(Mg(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Mg(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}T(uwe,"_toPrimitive");var u8t=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];owe(this,e),cwe(this,"items",void 0),this.items=t}return T(e,"SetLike"),lwe(e,[{key:"add",value:T(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:T(function(){this.items=[]},"clear")},{key:"delete",value:T(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:T(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:T(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:T(function(){return this.items.length},"get")}]),e})(),d8t=typeof Set>"u"?Set:u8t;function gi(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}T(gi,"getLocalName");var p8t={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},h8t={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function dwe(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=h8t[t])!==null&&n!==void 0&&n.has(r))})}T(dwe,"hasGlobalAriaAttributes");function DH(e,t){return dwe(e,t)}T(DH,"ignorePresentationalRole");function pwe(e){var t=fwe(e);if(t===null||t==="presentation"){var r=hwe(e);if(t!=="presentation"||DH(e,r||""))return r}return t}T(pwe,"getRole");function hwe(e){var t=p8t[gi(e)];if(t!==void 0)return t;switch(gi(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!DH(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}T(hwe,"getImplicitRole");function fwe(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}T(fwe,"getExplicitRole");function S0(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}T(S0,"isElement");function LH(e){return S0(e)&&gi(e)==="caption"}T(LH,"isHTMLTableCaptionElement");function n5(e){return S0(e)&&gi(e)==="input"}T(n5,"isHTMLInputElement");function mwe(e){return S0(e)&&gi(e)==="optgroup"}T(mwe,"isHTMLOptGroupElement");function gwe(e){return S0(e)&&gi(e)==="select"}T(gwe,"isHTMLSelectElement");function bwe(e){return S0(e)&&gi(e)==="table"}T(bwe,"isHTMLTableElement");function ywe(e){return S0(e)&&gi(e)==="textarea"}T(ywe,"isHTMLTextAreaElement");function vwe(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}T(vwe,"safeWindow");function Twe(e){return S0(e)&&gi(e)==="fieldset"}T(Twe,"isHTMLFieldSetElement");function Swe(e){return S0(e)&&gi(e)==="legend"}T(Swe,"isHTMLLegendElement");function xwe(e){return S0(e)&&gi(e)==="slot"}T(xwe,"isHTMLSlotElement");function wwe(e){return S0(e)&&e.ownerSVGElement!==void 0}T(wwe,"isSVGElement");function _we(e){return S0(e)&&gi(e)==="svg"}T(_we,"isSVGSVGElement");function Awe(e){return wwe(e)&&gi(e)==="title"}T(Awe,"isSVGTitleElement");function A7(e,t){if(S0(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(i){return n.getElementById(i)}).filter(function(i){return i!==null})}return[]}T(A7,"queryIdRefs");function fl(e,t){return S0(e)?t.indexOf(pwe(e))!==-1:!1}T(fl,"hasAnyConcreteRoles");function Cwe(e){return e.trim().replace(/\s\s+/g," ")}T(Cwe,"asFlatString");function Ewe(e,t){if(!S0(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}T(Ewe,"isHidden");function Pwe(e){return fl(e,["button","combobox","listbox","textbox"])||FH(e,"range")}T(Pwe,"isControl");function FH(e,t){if(!S0(e))return!1;switch(t){case"range":return fl(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}T(FH,"hasAbstractRole");function fD(e,t){var r=vs(e.querySelectorAll(t));return A7(e,"aria-owns").forEach(function(n){r.push.apply(r,vs(n.querySelectorAll(t)))}),r}T(fD,"querySelectorAllSubtree");function jwe(e){return gwe(e)?e.selectedOptions||fD(e,"[selected]"):fD(e,'[aria-selected="true"]')}T(jwe,"querySelectedOptions");function Rwe(e){return fl(e,["none","presentation"])}T(Rwe,"isMarkedPresentational");function Iwe(e){return LH(e)}T(Iwe,"isNativeHostLanguageTextAlternativeElement");function Owe(e){return fl(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}T(Owe,"allowsNameFromContent");function Mwe(e){return!1}T(Mwe,"isDescendantOfNativeHostLanguageTextAlternativeElement");function kwe(e){return n5(e)||ywe(e)?e.value:e.textContent||""}T(kwe,"getValueOfTextbox");function mD(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}T(mD,"getTextualContent");function $H(e){var t=gi(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}T($H,"isLabelableElement");function BH(e){if($H(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&S0(r)){var n=BH(r);n!==null&&(t=n)}}),t}T(BH,"findLabelableElement");function Dwe(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):BH(e)}T(Dwe,"getControlOfLabel");function Lwe(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return vs(t);if(!$H(e))return null;var r=e.ownerDocument;return vs(r.querySelectorAll("label")).filter(function(n){return Dwe(n)===e})}T(Lwe,"getLabels");function Fwe(e){var t=e.assignedNodes();return t.length===0?vs(e.childNodes):t}T(Fwe,"getSlotContents");function NH(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new d8t,n=vwe(e),i=t.compute,a=i===void 0?"name":i,s=t.computedStyleSupportsPseudoElements,o=s===void 0?t.getComputedStyle!==void 0:s,l=t.getComputedStyle,c=l===void 0?n.getComputedStyle.bind(n):l,u=t.hidden,d=u===void 0?!1:u;function h(y,v){var S="";if(S0(y)&&o){var x=c(y,"::before"),w=mD(x);S="".concat(w," ").concat(S)}var A=xwe(y)?Fwe(y):vs(y.childNodes).concat(A7(y,"aria-owns"));if(A.forEach(function(E){var R=b(E,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),P=S0(E)?c(E).getPropertyValue("display"):"inline",O=P!=="inline"?" ":"";S+="".concat(O).concat(R).concat(O)}),S0(y)&&o){var _=c(y,"::after"),C=mD(_);S="".concat(S," ").concat(C)}return S.trim()}T(h,"computeMiscTextAlternative");function p(y,v){var S=y.getAttributeNode(v);return S!==null&&!r.has(S)&&S.value.trim()!==""?(r.add(S),S.value):null}T(p,"useAttribute");function m(y){return S0(y)?p(y,"title"):null}T(m,"computeTooltipAttributeValue");function g(y){if(!S0(y))return null;if(Twe(y)){r.add(y);for(var v=vs(y.childNodes),S=0;S<v.length;S+=1){var x=v[S];if(Swe(x))return b(x,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(bwe(y)){r.add(y);for(var w=vs(y.childNodes),A=0;A<w.length;A+=1){var _=w[A];if(LH(_))return b(_,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(_we(y)){r.add(y);for(var C=vs(y.childNodes),E=0;E<C.length;E+=1){var R=C[E];if(Awe(R))return R.textContent}return null}else if(gi(y)==="img"||gi(y)==="area"){var P=p(y,"alt");if(P!==null)return P}else if(mwe(y)){var O=p(y,"label");if(O!==null)return O}if(n5(y)&&(y.type==="button"||y.type==="submit"||y.type==="reset")){var k=p(y,"value");if(k!==null)return k;if(y.type==="submit")return"Submit";if(y.type==="reset")return"Reset"}var I=Lwe(y);if(I!==null&&I.length!==0)return r.add(y),vs(I).map(function($){return b($,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function($){return $.length>0}).join(" ");if(n5(y)&&y.type==="image"){var M=p(y,"alt");if(M!==null)return M;var D=p(y,"title");return D!==null?D:"Submit Query"}if(fl(y,["button"])){var F=h(y,{isEmbeddedInLabel:!1});if(F!=="")return F}return null}T(g,"computeElementTextAlternative");function b(y,v){if(r.has(y))return"";if(!d&&Ewe(y,c)&&!v.isReferenced)return r.add(y),"";var S=S0(y)?y.getAttributeNode("aria-labelledby"):null,x=S!==null&&!r.has(S)?A7(y,"aria-labelledby"):[];if(a==="name"&&!v.isReferenced&&x.length>0)return r.add(S),x.map(function(P){return b(P,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var w=v.recursion&&Pwe(y)&&a==="name";if(!w){var A=(S0(y)&&y.getAttribute("aria-label")||"").trim();if(A!==""&&a==="name")return r.add(y),A;if(!Rwe(y)){var _=g(y);if(_!==null)return r.add(y),_}}if(fl(y,["menu"]))return r.add(y),"";if(w||v.isEmbeddedInLabel||v.isReferenced){if(fl(y,["combobox","listbox"])){r.add(y);var C=jwe(y);return C.length===0?n5(y)?y.value:"":vs(C).map(function(P){return b(P,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(FH(y,"range"))return r.add(y),y.hasAttribute("aria-valuetext")?y.getAttribute("aria-valuetext"):y.hasAttribute("aria-valuenow")?y.getAttribute("aria-valuenow"):y.getAttribute("value")||"";if(fl(y,["textbox"]))return r.add(y),kwe(y)}if(Owe(y)||S0(y)&&v.isReferenced||Iwe(y)||Mwe()){var E=h(y,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(E!=="")return r.add(y),E}if(y.nodeType===y.TEXT_NODE)return r.add(y),y.textContent||"";if(v.recursion)return r.add(y),h(y,{isEmbeddedInLabel:v.isEmbeddedInLabel});var R=m(y);return R!==null?(r.add(y),R):(r.add(y),"")}return T(b,"computeTextAlternative"),Cwe(b(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}T(NH,"computeTextAlternative");function kg(e){"@babel/helpers - typeof";return kg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kg(e)}T(kg,"_typeof");function gD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}T(gD,"ownKeys");function bD(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?gD(Object(r),!0).forEach(function(n){$we(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gD(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}T(bD,"_objectSpread");function $we(e,t,r){return t=Bwe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}T($we,"_defineProperty");function Bwe(e){var t=Nwe(e,"string");return kg(t)==="symbol"?t:String(t)}T(Bwe,"_toPropertyKey");function Nwe(e,t){if(kg(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(kg(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}T(Nwe,"_toPrimitive");function qH(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=A7(e,"aria-describedby").map(function(i){return NH(i,bD(bD({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}T(qH,"computeAccessibleDescription");function qwe(e){return fl(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}T(qwe,"prohibitsNaming");function $_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return qwe(e)?"":NH(e,t)}T($_,"computeAccessibleName");var hs=is(C4t()),f8t=is(E4t());function zH(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}T(zH,"escapeHTML");var m8t=T((e,t,r,n,i,a,s)=>{let o=n+r.indent,l=r.colors;return e.map(c=>{let u=t[c],d=s(u,r,o,i,a);return typeof u!="string"&&(d.indexOf(`
`)!==-1&&(d=r.spacingOuter+o+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+c+l.prop.close+"="+l.value.open+d+l.value.close}).join("")},"printProps"),g8t=3,b8t=T((e,t,r,n,i,a)=>e.map(s=>{let o=typeof s=="string"?zwe(s,t):a(s,t,r,n,i);return o===""&&typeof s=="object"&&s!==null&&s.nodeType!==g8t?"":t.spacingOuter+r+o}).join(""),"printChildren"),zwe=T((e,t)=>{let r=t.colors.content;return r.open+zH(e)+r.close},"printText"),y8t=T((e,t)=>{let r=t.colors.comment;return r.open+"<!--"+zH(e)+"-->"+r.close},"printComment"),v8t=T((e,t,r,n,i)=>{let a=n.colors.tag;return a.open+"<"+e+(t&&a.close+t+n.spacingOuter+i+a.open)+(r?">"+a.close+r+n.spacingOuter+i+a.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+a.close},"printElement"),T8t=T((e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},"printElementAsLeaf"),S8t=1,Wwe=3,Hwe=8,Uwe=11,x8t=/^((HTML|SVG)\w*)?Element$/,Gwe=T(e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},"isCustomElement"),w8t=T(e=>{let t=e.constructor.name,{nodeType:r}=e;return r===S8t&&(x8t.test(t)||Gwe(e))||r===Wwe&&t==="Text"||r===Hwe&&t==="Comment"||r===Uwe&&t==="DocumentFragment"},"testNode");function Vwe(e){return e.nodeType===Wwe}T(Vwe,"nodeIsText");function Ywe(e){return e.nodeType===Hwe}T(Ywe,"nodeIsComment");function DT(e){return e.nodeType===Uwe}T(DT,"nodeIsFragment");function Kwe(e){return{test:T(t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Gwe(t))&&w8t(t)},"test"),serialize:T((t,r,n,i,a,s)=>{if(Vwe(t))return zwe(t.data,r);if(Ywe(t))return y8t(t.data,r);let o=DT(t)?"DocumentFragment":t.tagName.toLowerCase();return++i>r.maxDepth?T8t(o,r):v8t(o,m8t(DT(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),DT(t)?{}:Array.from(t.attributes).reduce((l,c)=>(l[c.name]=c.value,l),{}),r,n+r.indent,i,a,s),b8t(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,i,a,s),r,n)},"serialize")}}T(Kwe,"createDOMElementFilter");var Xwe=null,WH=null,HH=null;try{let e=module&&module.require;WH=e.call(module,"fs").readFileSync,HH=e.call(module,"@babel/code-frame").codeFrameColumns,Xwe=e.call(module,"chalk")}catch(e){}function Qwe(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),i=n.split(":"),[a,s,o]=[i[0],parseInt(i[1],10),parseInt(i[2],10)],l="";try{l=WH(a,"utf-8")}catch(u){return""}let c=HH(l,{start:{line:s,column:o}},{highlightCode:!0,linesBelow:0});return Xwe.dim(n)+`
`+c+`
`}T(Qwe,"getCodeFrame");function Jwe(){if(!WH||!HH)return"";let e=new Error().stack.split(`
`).slice(1).find(t=>!t.includes("node_modules/"));return Qwe(e)}T(Jwe,"getUserCodeFrame");var Zwe=3;function LT(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}T(LT,"jestFakeTimersAreEnabled");function B_(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}T(B_,"getDocument");function UH(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}T(UH,"getWindowFromNode");function Wl(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}T(t,"getTypeName")}T(Wl,"checkContainerType");var _8t=T(()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=mk)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch(r){}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},"shouldHighlight"),{DOMCollection:A8t}=MH.plugins,C8t=1,E8t=8;function e6e(e){return e.nodeType!==E8t&&(e.nodeType!==C8t||!e.matches(xr().defaultIgnore))}T(e6e,"filterCommentsAndDefaultIgnoreTagsTags");function Dg(e,t,r){if(r===void 0&&(r={}),e||(e=B_().body),typeof t!="number"&&(t=typeof process<"u"&&typeof mk<"u"&&mk.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:i=e6e,...a}=r,s=MH.format(e,{plugins:[Kwe(i),A8t],printFunctionName:!1,highlight:_8t(),...a});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}T(Dg,"prettyDOM");var yD=T(function(){let e=Jwe();console.log(e?Dg(...arguments)+`
`+e:Dg(...arguments))},"logDOM"),th={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:T(e=>e(),"asyncWrapper"),unstable_advanceTimersWrapper:T(e=>e(),"unstable_advanceTimersWrapper"),eventWrapper:T(e=>e(),"eventWrapper"),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=Dg(t),n=new Error([e,"Ignored nodes: comments, "+th.defaultIgnore+`
`+r].filter(Boolean).join(`
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function t6e(e){try{return th._disableExpensiveErrorDiagnostics=!0,e()}finally{th._disableExpensiveErrorDiagnostics=!1}}T(t6e,"runWithExpensiveErrorDiagnosticsDisabled");function r6e(e){typeof e=="function"&&(e=e(th)),th={...th,...e}}T(r6e,"configure");function xr(){return th}T(xr,"getConfig");var P8t=["button","meter","output","progress","select","textarea","input"];function GH(e){return P8t.includes(e.nodeName.toLowerCase())?"":e.nodeType===Zwe?e.textContent:Array.from(e.childNodes).map(t=>GH(t)).join("")}T(GH,"getTextContent");function Kx(e){let t;return e.tagName.toLowerCase()==="label"?t=GH(e):t=e.value||e.textContent,t}T(Kx,"getLabelContent");function VH(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!n6e(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}T(VH,"getRealLabels");function n6e(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}T(n6e,"isLabelable");function YH(e,t,r){let{selector:n="*"}=r===void 0?{}:r,i=t.getAttribute("aria-labelledby"),a=i?i.split(" "):[];return a.length?a.map(s=>{let o=e.querySelector('[id="'+s+'"]');return o?{content:Kx(o),formControl:null}:{content:"",formControl:null}}):Array.from(VH(t)).map(s=>{let o=Kx(s),l=Array.from(s.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:o,formControl:l}})}T(YH,"getLabels");function KH(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}T(KH,"assertNotNullOrUndefined");function sf(e,t,r,n){if(typeof e!="string")return!1;KH(r);let i=n(e);return typeof r=="string"||typeof r=="number"?i.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(i,t):XH(r,i)}T(sf,"fuzzyMatches");function Cl(e,t,r,n){if(typeof e!="string")return!1;KH(r);let i=n(e);return r instanceof Function?r(i,t):r instanceof RegExp?XH(r,i):i===String(r)}T(Cl,"matches");function N_(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let i=n;return i=t?i.trim():i,i=r?i.replace(/\s+/g," "):i,i}}T(N_,"getDefaultNormalizer");function Qd(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return N_({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}T(Qd,"makeNormalizer");function XH(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}T(XH,"matchRegExp");function z1(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Zwe&&!!t.textContent).map(t=>t.textContent).join("")}T(z1,"getNodeText");var j8t=i6e(hs.elementRoles);function QH(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}T(QH,"isSubtreeInaccessible");function t2(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=QH}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}T(t2,"isInaccessible");function q_(e){for(let{match:t,roles:r}of j8t)if(t(e))return[...r];return[]}T(q_,"getImplicitAriaRoles");function i6e(e){function t(s){let{name:o,attributes:l}=s;return""+o+l.map(c=>{let{name:u,value:d,constraints:h=[]}=c,p=h.indexOf("undefined")!==-1,m=h.indexOf("set")!==-1;return typeof d<"u"?"["+u+'="'+d+'"]':p?":not(["+u+"])":m?"["+u+"]:not(["+u+'=""])':"["+u+"]"}).join("")}T(t,"makeElementSelector");function r(s){let{attributes:o=[]}=s;return o.length}T(r,"getSelectorSpecificity");function n(s,o){let{specificity:l}=s,{specificity:c}=o;return c-l}T(n,"bySelectorSpecificity");function i(s){let{attributes:o=[]}=s,l=o.findIndex(u=>u.value&&u.name==="type"&&u.value==="text");l>=0&&(o=[...o.slice(0,l),...o.slice(l+1)]);let c=t({...s,attributes:o});return u=>l>=0&&u.type!=="text"?!1:u.matches(c)}T(i,"match");let a=[];for(let[s,o]of e.entries())a=[...a,{match:i(s),roles:Array.from(o),specificity:r(s)}];return a.sort(n)}T(i6e,"buildElementRoleList");function JH(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(i){return[i,...Array.from(i.children).reduce((a,s)=>[...a,...n(s)],[])]}return T(n,"flattenDOM"),n(e).filter(i=>r===!1?t2(i)===!1:!0).reduce((i,a)=>{let s=[];return a.hasAttribute("role")?s=a.getAttribute("role").split(" ").slice(0,1):s=q_(a),s.reduce((o,l)=>Array.isArray(o[l])?{...o,[l]:[...o[l],a]}:{...o,[l]:[a]},i)},{})}T(JH,"getRoles");function ZH(e,t){let{hidden:r,includeDescription:n}=t,i=JH(e,{hidden:r});return Object.entries(i).filter(a=>{let[s]=a;return s!=="generic"}).map(a=>{let[s,o]=a,l="-".repeat(50),c=o.map(u=>{let d='Name "'+$_(u,{computedStyleSupportsPseudoElements:xr().computedStyleSupportsPseudoElements})+`":
`,h=Dg(u.cloneNode(!1));if(n){let p='Description "'+qH(u,{computedStyleSupportsPseudoElements:xr().computedStyleSupportsPseudoElements})+`":
`;return""+d+p+h}return""+d+h}).join(`
`);return s+`:
`+c+`
`+l}).join(`
`)}T(ZH,"prettyRoles");var R8t=T(function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(ZH(e,{hidden:r}))},"logRoles");function a6e(e){return e.tagName==="OPTION"?e.selected:W1(e,"aria-selected")}T(a6e,"computeAriaSelected");function s6e(e){return e.getAttribute("aria-busy")==="true"}T(s6e,"computeAriaBusy");function o6e(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:W1(e,"aria-checked")}T(o6e,"computeAriaChecked");function l6e(e){return W1(e,"aria-pressed")}T(l6e,"computeAriaPressed");function c6e(e){var t,r;return(t=(r=W1(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}T(c6e,"computeAriaCurrent");function u6e(e){return W1(e,"aria-expanded")}T(u6e,"computeAriaExpanded");function W1(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}T(W1,"checkBooleanAttribute");function d6e(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}T(d6e,"computeHeadingLevel");function p6e(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}T(p6e,"computeAriaValueNow");function h6e(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}T(h6e,"computeAriaValueMax");function f6e(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}T(f6e,"computeAriaValueMin");function m6e(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}T(m6e,"computeAriaValueText");var Tre=N_();function g6e(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}T(g6e,"escapeRegExp");function vD(e){return new RegExp(g6e(e.toLowerCase()),"i")}T(vD,"getRegExpMatcher");function mc(e,t,r,n){let{variant:i,name:a}=n,s="",o={},l=[["Role","TestId"].includes(e)?r:vD(r)];a&&(o.name=vD(a)),e==="Role"&&t2(t)&&(o.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
If you are using the aria-hidden prop, make sure this is the right choice for your case.
`),Object.keys(o).length>0&&l.push(o);let c=i+"By"+e;return{queryName:e,queryMethod:c,queryArgs:l,variant:i,warning:s,toString(){s&&console.warn(s);let[u,d]=l;return u=typeof u=="string"?"'"+u+"'":u,d=d?", { "+Object.entries(d).map(h=>{let[p,m]=h;return p+": "+m}).join(", ")+" }":"",c+"("+u+d+")"}}}T(mc,"makeSuggestion");function gc(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}T(gc,"canSuggest");function C7(e,t,r){var n,i;if(t===void 0&&(t="get"),e.matches(xr().defaultIgnore))return;let a=(n=e.getAttribute("role"))!=null?n:(i=q_(e))==null?void 0:i[0];if(a!=="generic"&&gc("Role",r,a))return mc("Role",e,a,{variant:t,name:$_(e,{computedStyleSupportsPseudoElements:xr().computedStyleSupportsPseudoElements})});let s=YH(document,e).map(h=>h.content).join(" ");if(gc("LabelText",r,s))return mc("LabelText",e,s,{variant:t});let o=e.getAttribute("placeholder");if(gc("PlaceholderText",r,o))return mc("PlaceholderText",e,o,{variant:t});let l=Tre(z1(e));if(gc("Text",r,l))return mc("Text",e,l,{variant:t});if(gc("DisplayValue",r,e.value))return mc("DisplayValue",e,Tre(e.value),{variant:t});let c=e.getAttribute("alt");if(gc("AltText",r,c))return mc("AltText",e,c,{variant:t});let u=e.getAttribute("title");if(gc("Title",r,u))return mc("Title",e,u,{variant:t});let d=e.getAttribute(xr().testIdAttribute);if(gc("TestId",r,d))return mc("TestId",e,d,{variant:t})}T(C7,"getSuggestedQuery");function uy(e,t){e.stack=t.stack.replace(t.message,e.message)}T(uy,"copyStackTrace");function b6e(e,t){let{container:r=B_(),timeout:n=xr().asyncUtilTimeout,showOriginalStackTrace:i=xr().showOriginalStackTrace,stackTraceError:a,interval:s=50,onTimeout:o=T(c=>(Object.defineProperty(c,"message",{value:xr().getElementError(c.message,r).message}),c),"onTimeout"),mutationObserverOptions:l={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(c,u)=>{let d,h,p,m=!1,g="idle",b=setTimeout(w,n),y=LT();if(y){let{unstable_advanceTimersWrapper:A}=xr();for(x();!m;){if(!LT()){let _=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");i||uy(_,a),u(_);return}if(await A(async()=>{jest.advanceTimersByTime(s)}),m)break;x()}}else{try{Wl(r)}catch(_){u(_);return}h=setInterval(S,s);let{MutationObserver:A}=UH(r);p=new A(S),p.observe(r,l),x()}function v(A,_){m=!0,clearTimeout(b),y||(clearInterval(h),p.disconnect()),A?u(A):c(_)}T(v,"onDone");function S(){if(LT()){let A=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return i||uy(A,a),u(A)}else return x()}T(S,"checkRealTimersCallback");function x(){if(g!=="pending")try{let A=t6e(e);typeof(A==null?void 0:A.then)=="function"?(g="pending",A.then(_=>{g="resolved",v(null,_)},_=>{g="rejected",d=_})):v(null,A)}catch(A){d=A}}T(x,"checkCallback");function w(){let A;d?(A=d,!i&&A.name==="TestingLibraryElementError"&&uy(A,a)):(A=new Error("Timed out in waitFor."),i||uy(A,a)),v(o(A),null)}T(w,"handleTimeout")})}T(b6e,"waitFor");function z_(e,t){let r=new Error("STACK_TRACE_MESSAGE");return xr().asyncWrapper(()=>b6e(e,{stackTraceError:r,...t}))}T(z_,"waitForWrapper");function r2(e,t){return xr().getElementError(e,t)}T(r2,"getElementError");function n2(e,t){return r2(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}T(n2,"getMultipleElementsFoundError");function Jd(e,t,r,n){let{exact:i=!0,collapseWhitespace:a,trim:s,normalizer:o}=n===void 0?{}:n,l=i?Cl:sf,c=Qd({collapseWhitespace:a,trim:s,normalizer:o});return Array.from(t.querySelectorAll("["+e+"]")).filter(u=>l(u.getAttribute(e),u,r,c))}T(Jd,"queryAllByAttribute");function eU(e,t,r,n){let i=Jd(e,t,r,n);if(i.length>1)throw n2("Found multiple elements by ["+e+"="+r+"]",t);return i[0]||null}T(eU,"queryByAttribute");function jh(e,t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];let s=e(r,...i);if(s.length>1){let o=s.map(l=>r2(null,l).message).join(`
`);throw n2(t(r,...i)+`
Here are the matching elements:
`+o,r)}return s[0]||null}}T(jh,"makeSingleQuery");function tU(e,t){return xr().getElementError(`A better query is available, try this:
`+e.toString()+`
`,t)}T(tU,"getSuggestionError");function W_(e,t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];let s=e(r,...i);if(!s.length)throw xr().getElementError(t(r,...i),r);return s}}T(W_,"makeGetAllQuery");function Rh(e){return(t,r,n,i)=>z_(()=>e(t,r,n),{container:t,...i})}T(Rh,"makeFindQuery");var pd=T((e,t,r)=>function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];let o=e(n,...a),[{suggest:l=xr().throwSuggestions}={}]=a.slice(-1);if(o&&l){let c=C7(o,r);if(c&&!t.endsWith(c.queryName))throw tU(c.toString(),n)}return o},"wrapSingleQueryWithSuggestion"),Aa=T((e,t,r)=>function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];let o=e(n,...a),[{suggest:l=xr().throwSuggestions}={}]=a.slice(-1);if(o.length&&l){let c=[...new Set(o.map(u=>{var d;return(d=C7(u,r))==null?void 0:d.toString()}))];if(c.length===1&&!t.endsWith(C7(o[0],r).queryName))throw tU(c[0],n)}return o},"wrapAllByQueryWithSuggestion");function Hl(e,t,r){let n=pd(jh(e,t),e.name,"query"),i=W_(e,r),a=jh(i,t),s=pd(a,e.name,"get"),o=Aa(i,e.name.replace("query","get"),"getAll"),l=Rh(Aa(i,e.name,"findAll")),c=Rh(pd(a,e.name,"find"));return[n,o,s,l,c]}T(Hl,"buildQueries");var I8t=Object.freeze({__proto__:null,getElementError:r2,wrapAllByQueryWithSuggestion:Aa,wrapSingleQueryWithSuggestion:pd,getMultipleElementsFoundError:n2,queryAllByAttribute:Jd,queryByAttribute:eU,makeSingleQuery:jh,makeGetAllQuery:W_,makeFindQuery:Rh,buildQueries:Hl});function y6e(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Kx(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}T(y6e,"queryAllLabels");var O8t=T(function(e,t,r){let{exact:n=!0,trim:i,collapseWhitespace:a,normalizer:s}=r===void 0?{}:r,o=n?Cl:sf,l=Qd({collapseWhitespace:a,trim:i,normalizer:s});return y6e(e).filter(c=>{let{node:u,textToMatch:d}=c;return o(d,u,t,l)}).map(c=>{let{node:u}=c;return u})},"queryAllLabelsByText"),E7=T(function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:a,trim:s,normalizer:o}=r===void 0?{}:r;Wl(e);let l=i?Cl:sf,c=Qd({collapseWhitespace:a,trim:s,normalizer:o}),u=Array.from(e.querySelectorAll("*")).filter(d=>VH(d).length||d.hasAttribute("aria-labelledby")).reduce((d,h)=>{let p=YH(e,h,{selector:n});p.filter(g=>!!g.formControl).forEach(g=>{l(g.content,g.formControl,t,c)&&g.formControl&&d.push(g.formControl)});let m=p.filter(g=>!!g.content).map(g=>g.content);return l(m.join(" "),h,t,c)&&d.push(h),m.length>1&&m.forEach((g,b)=>{l(g,h,t,c)&&d.push(h);let y=[...m];y.splice(b,1),y.length>1&&l(y.join(" "),h,t,c)&&d.push(h)}),d},[]).concat(Jd("aria-label",e,t,{exact:i,normalizer:c}));return Array.from(new Set(u)).filter(d=>d.matches(n))},"queryAllByLabelText"),Ih=T(function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];let a=E7(e,t,...n);if(!a.length){let s=O8t(e,t,...n);if(s.length){let o=s.map(l=>v6e(e,l)).filter(l=>!!l);throw o.length?xr().getElementError(o.map(l=>"Found a label with the text of: "+t+", however the element associated with this label (<"+l+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+l+" />, you can use aria-label or aria-labelledby instead.").join(`
`),e):xr().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw xr().getElementError("Unable to find a label with the text of: "+t,e)}return a},"getAllByLabelText");function v6e(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}T(v6e,"getTagNameOfElementAssociatedWithLabelViaFor");var T6e=T((e,t)=>"Found multiple elements with the text of: "+t,"getMultipleError$7"),S6e=pd(jh(E7,T6e),E7.name,"query"),x6e=jh(Ih,T6e),w6e=Rh(Aa(Ih,Ih.name,"findAll")),_6e=Rh(pd(x6e,Ih.name,"find")),A6e=Aa(Ih,Ih.name,"getAll"),C6e=pd(x6e,Ih.name,"get"),E6e=Aa(E7,E7.name,"queryAll"),TD=T(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Wl(t[0]),Jd("placeholder",...t)},"queryAllByPlaceholderText"),M8t=T((e,t)=>"Found multiple elements with the placeholder text of: "+t,"getMultipleError$6"),k8t=T((e,t)=>"Unable to find an element with the placeholder text of: "+t,"getMissingError$6"),P6e=Aa(TD,TD.name,"queryAll"),[j6e,R6e,I6e,O6e,M6e]=Hl(TD,M8t,k8t),SD=T(function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:a,trim:s,ignore:o=xr().defaultIgnore,normalizer:l}=r===void 0?{}:r;Wl(e);let c=i?Cl:sf,u=Qd({collapseWhitespace:a,trim:s,normalizer:l}),d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(h=>!o||!h.matches(o)).filter(h=>c(z1(h),h,t,u))},"queryAllByText"),D8t=T((e,t)=>"Found multiple elements with the text: "+t,"getMultipleError$5"),L8t=T(function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:i,normalizer:a,selector:s}=r,o=Qd({collapseWhitespace:n,trim:i,normalizer:a})(t.toString()),l=o!==t.toString(),c=(s!=null?s:"*")!=="*";return"Unable to find an element with the text: "+(l?o+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+s+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},"getMissingError$5"),k6e=Aa(SD,SD.name,"queryAll"),[D6e,L6e,F6e,$6e,B6e]=Hl(SD,D8t,L8t),xD=T(function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:a,normalizer:s}=r===void 0?{}:r;Wl(e);let o=n?Cl:sf,l=Qd({collapseWhitespace:i,trim:a,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(u=>u.selected).some(u=>o(z1(u),u,t,l)):o(c.value,c,t,l))},"queryAllByDisplayValue"),F8t=T((e,t)=>"Found multiple elements with the display value: "+t+".","getMultipleError$4"),$8t=T((e,t)=>"Unable to find an element with the display value: "+t+".","getMissingError$4"),N6e=Aa(xD,xD.name,"queryAll"),[q6e,z6e,W6e,H6e,U6e]=Hl(xD,F8t,$8t),B8t=/^(img|input|area|.+-.+)$/i,wD=T(function(e,t,r){return r===void 0&&(r={}),Wl(e),Jd("alt",e,t,r).filter(n=>B8t.test(n.tagName))},"queryAllByAltText"),N8t=T((e,t)=>"Found multiple elements with the alt text: "+t,"getMultipleError$3"),q8t=T((e,t)=>"Unable to find an element with the alt text: "+t,"getMissingError$3"),G6e=Aa(wD,wD.name,"queryAll"),[V6e,Y6e,K6e,X6e,Q6e]=Hl(wD,N8t,q8t),z8t=T(e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},"isSvgTitle"),_D=T(function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:a,normalizer:s}=r===void 0?{}:r;Wl(e);let o=n?Cl:sf,l=Qd({collapseWhitespace:i,trim:a,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>o(c.getAttribute("title"),c,t,l)||z8t(c)&&o(z1(c),c,t,l))},"queryAllByTitle"),W8t=T((e,t)=>"Found multiple elements with the title: "+t+".","getMultipleError$2"),H8t=T((e,t)=>"Unable to find an element with the title: "+t+".","getMissingError$2"),J6e=Aa(_D,_D.name,"queryAll"),[Z6e,e4e,t4e,r4e,n4e]=Hl(_D,W8t,H8t),AD=T(function(e,t,r){let{hidden:n=xr().defaultHidden,name:i,description:a,queryFallbacks:s=!1,selected:o,busy:l,checked:c,pressed:u,current:d,level:h,expanded:p,value:{now:m,min:g,max:b,text:y}={}}=r===void 0?{}:r;if(Wl(e),o!==void 0){var v;if(((v=hs.roles.get(t))==null?void 0:v.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(l!==void 0){var S;if(((S=hs.roles.get(t))==null?void 0:S.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var x;if(((x=hs.roles.get(t))==null?void 0:x.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(u!==void 0){var w;if(((w=hs.roles.get(t))==null?void 0:w.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var A;if(((A=hs.roles.get(t))==null?void 0:A.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(h!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var _;if(((_=hs.roles.get(t))==null?void 0:_.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(b!==void 0){var C;if(((C=hs.roles.get(t))==null?void 0:C.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(g!==void 0){var E;if(((E=hs.roles.get(t))==null?void 0:E.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(y!==void 0){var R;if(((R=hs.roles.get(t))==null?void 0:R.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(p!==void 0){var P;if(((P=hs.roles.get(t))==null?void 0:P.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let O=new WeakMap;function k(I){return O.has(I)||O.set(I,QH(I)),O.get(I)}return T(k,"cachedIsSubtreeInaccessible"),Array.from(e.querySelectorAll(i4e(t))).filter(I=>{if(I.hasAttribute("role")){let M=I.getAttribute("role");if(s)return M.split(" ").filter(Boolean).some(F=>F===t);let[D]=M.split(" ");return D===t}return q_(I).some(M=>M===t)}).filter(I=>{if(o!==void 0)return o===a6e(I);if(l!==void 0)return l===s6e(I);if(c!==void 0)return c===o6e(I);if(u!==void 0)return u===l6e(I);if(d!==void 0)return d===c6e(I);if(p!==void 0)return p===u6e(I);if(h!==void 0)return h===d6e(I);if(m!==void 0||b!==void 0||g!==void 0||y!==void 0){let D=!0;if(m!==void 0&&D&&(D=m===p6e(I)),b!==void 0&&D&&(D=b===h6e(I)),g!==void 0&&D&&(D=g===f6e(I)),y!==void 0){var M;D&&(D=Cl((M=m6e(I))!=null?M:null,I,y,F=>F))}return D}return!0}).filter(I=>i===void 0?!0:Cl($_(I,{computedStyleSupportsPseudoElements:xr().computedStyleSupportsPseudoElements}),I,i,M=>M)).filter(I=>a===void 0?!0:Cl(qH(I,{computedStyleSupportsPseudoElements:xr().computedStyleSupportsPseudoElements}),I,a,M=>M)).filter(I=>n===!1?t2(I,{isSubtreeInaccessible:k})===!1:!0)},"queryAllByRole");function i4e(e){var t;let r='*[role~="'+e+'"]',n=(t=hs.roleElements.get(e))!=null?t:new Set,i=new Set(Array.from(n).map(a=>{let{name:s}=a;return s}));return[r].concat(Array.from(i)).join(",")}T(i4e,"makeRoleSelector");var a4e=T(e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},"getNameHint"),U8t=T(function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+a4e(n)},"getMultipleError$1"),G8t=T(function(e,t,r){let{hidden:n=xr().defaultHidden,name:i,description:a}=r===void 0?{}:r;if(xr()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+a4e(i);let s="";Array.from(e.children).forEach(u=>{s+=ZH(u,{hidden:n,includeDescription:a!==void 0})});let o;s.length===0?n===!1?o="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":o="There are no available roles.":o=(`
Here are the `+(n===!1?"accessible":"available")+` roles:
`+s.replace(/\n/g,`
`).replace(/\n\s\s\n/g,`
`)+`
`).trim();let l="";i===void 0?l="":typeof i=="string"?l=' and name "'+i+'"':l=" and name `"+i+"`";let c="";return a===void 0?c="":typeof a=="string"?c=' and description "'+a+'"':c=" and description `"+a+"`",(`
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+l+c+`
`+o).trim()},"getMissingError$1"),s4e=Aa(AD,AD.name,"queryAll"),[o4e,l4e,c4e,u4e,d4e]=Hl(AD,U8t,G8t),rU=T(()=>xr().testIdAttribute,"getTestIdAttribute"),CD=T(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Wl(t[0]),Jd(rU(),...t)},"queryAllByTestId"),V8t=T((e,t)=>"Found multiple elements by: ["+rU()+'="'+t+'"]',"getMultipleError"),Y8t=T((e,t)=>"Unable to find an element by: ["+rU()+'="'+t+'"]',"getMissingError"),p4e=Aa(CD,CD.name,"queryAll"),[h4e,f4e,m4e,g4e,b4e]=Hl(CD,V8t,Y8t),Xx=Object.freeze({__proto__:null,queryAllByLabelText:E6e,queryByLabelText:S6e,getAllByLabelText:A6e,getByLabelText:C6e,findAllByLabelText:w6e,findByLabelText:_6e,queryByPlaceholderText:j6e,queryAllByPlaceholderText:P6e,getByPlaceholderText:I6e,getAllByPlaceholderText:R6e,findAllByPlaceholderText:O6e,findByPlaceholderText:M6e,queryByText:D6e,queryAllByText:k6e,getByText:F6e,getAllByText:L6e,findAllByText:$6e,findByText:B6e,queryByDisplayValue:q6e,queryAllByDisplayValue:N6e,getByDisplayValue:W6e,getAllByDisplayValue:z6e,findAllByDisplayValue:H6e,findByDisplayValue:U6e,queryByAltText:V6e,queryAllByAltText:G6e,getByAltText:K6e,getAllByAltText:Y6e,findAllByAltText:X6e,findByAltText:Q6e,queryByTitle:Z6e,queryAllByTitle:J6e,getByTitle:t4e,getAllByTitle:e4e,findAllByTitle:r4e,findByTitle:n4e,queryByRole:o4e,queryAllByRole:s4e,getAllByRole:l4e,getByRole:c4e,findAllByRole:u4e,findByRole:d4e,queryByTestId:h4e,queryAllByTestId:p4e,getByTestId:m4e,getAllByTestId:f4e,findAllByTestId:g4e,findByTestId:b4e});function Qx(e,t,r){return t===void 0&&(t=Xx),r===void 0&&(r={}),Object.keys(t).reduce((n,i)=>{let a=t[i];return n[i]=a.bind(null,e),n},r)}T(Qx,"getQueriesForElement");var y4e=T(e=>!e||Array.isArray(e)&&!e.length,"isRemoved");function ED(e){if(y4e(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}T(ED,"initialCheck");async function v4e(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){ED(e);let n=(Array.isArray(e)?e:[e]).map(i=>{let a=i.parentElement;if(a===null)return()=>null;for(;a.parentElement;)a=a.parentElement;return()=>a.contains(i)?i:null});e=T(()=>n.map(i=>i()).filter(Boolean),"callback")}return ED(e()),z_(()=>{let n;try{n=e()}catch(i){if(i.name==="TestingLibraryElementError")return;throw i}if(!y4e(n))throw r},t)}T(v4e,"waitForElementToBeRemoved");var Sre={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},xre={doubleClick:"dblClick"};function Lg(e,t){return xr().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}T(Lg,"fireEvent");function i5(e,t,r,n){let{EventType:i="Event",defaultInit:a={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let s={...a,...r},{target:{value:o,files:l,...c}={}}=s;o!==void 0&&T4e(t,o),l!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:l}),Object.assign(t,c);let u=UH(t),d=u[i]||u.Event,h;if(typeof d=="function")h=new d(e,s);else{h=u.document.createEvent(i);let{bubbles:p,cancelable:m,detail:g,...b}=s;h.initEvent(e,p,m,g),Object.keys(b).forEach(y=>{h[y]=b[y]})}return["dataTransfer","clipboardData"].forEach(p=>{let m=s[p];typeof m=="object"&&(typeof u.DataTransfer=="function"?Object.defineProperty(h,p,{value:Object.getOwnPropertyNames(m).reduce((g,b)=>(Object.defineProperty(g,b,{value:m[b]}),g),new u.DataTransfer)}):Object.defineProperty(h,p,{value:m}))}),h}T(i5,"createEvent");Object.keys(Sre).forEach(e=>{let{EventType:t,defaultInit:r}=Sre[e],n=e.toLowerCase();i5[e]=(i,a)=>i5(n,i,a,{EventType:t,defaultInit:r}),Lg[e]=(i,a)=>Lg(i,i5[e](i,a))});function T4e(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:i}=Object.getOwnPropertyDescriptor(n,"value")||{};if(i&&r!==i)i.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}T(T4e,"setNativeValue");Object.keys(xre).forEach(e=>{let t=xre[e];Lg[e]=function(){return Lg[t](...arguments)}});function S4e(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
`)}T(S4e,"unindent");function x4e(e){return f8t.default.compressToEncodedURIComponent(S4e(e))}T(x4e,"encode");function w4e(e){return"https://testing-playground.com/#markup="+x4e(e)}T(w4e,"getPlaygroundUrl");var K8t=T((e,t,r)=>Array.isArray(e)?e.forEach(n=>yD(n,t,r)):yD(e,t,r),"debug"),X8t=T(function(e){if(e===void 0&&(e=B_().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=w4e(e.innerHTML);return console.log(`Open this URL in your browser
`+t),t},"logTestingPlaygroundURL"),wre={debug:K8t,logTestingPlaygroundURL:X8t},Q8t=typeof document<"u"&&document.body?Qx(document.body,Xx,wre):Object.keys(Xx).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),wre);function ir(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,i])=>e[n]===i):!0}T(ir,"isElementType");function as(e){var t;if(_4e(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${A4e(e)}`)}T(as,"getWindow");function _4e(e){return e.nodeType===9}T(_4e,"isDocument");function A4e(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}T(A4e,"describe");function nU(e,t){return new Promise((r,n)=>{let i=new t;i.onerror=n,i.onabort=n,i.onload=()=>{r(String(i.result))},i.readAsText(e)})}T(nU,"readBlobText");function H_(e,t){let r={...t,length:t.length,item:T(n=>r[n],"item"),[Symbol.iterator]:T(function*(){for(let n=0;n<r.length;n++)yield r[n]},"nextFile")};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}T(H_,"createFileList");function Dc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}T(Dc,"_define_property");var C4e=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){Dc(this,"kind",void 0),Dc(this,"type",void 0),Dc(this,"file",null),Dc(this,"data",void 0),typeof t=="string"?(this.kind="string",this.type=String(r),this.data=t):(this.kind="file",this.type=t.type,this.file=t)}};T(C4e,"DataTransferItemStub");var E4e=C4e,P4e=class extends Array{add(...t){let r=new E4e(t[0],t[1]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};T(P4e,"DataTransferItemListStub");var J8t=P4e;function dy(e,t){let[r,n]=e.split("/"),i=!n||n==="*";return a=>t?a.type===(i?r:e):i?a.type.startsWith(`${r}/`):a.type===r}T(dy,"getTypeMatcher");function j4e(e){var t;return new(t=class{getData(r){var n;let i=(n=this.items.find(dy(r,!0)))!==null&&n!==void 0?n:this.items.find(dy(r,!1)),a="";return i==null||i.getAsString(s=>{a=s}),a}setData(r,n){let i=this.items.findIndex(dy(r,!0)),a=new E4e(n,r);i>=0?this.items.splice(i,1,a):this.items.push(a)}clearData(r){if(r){let n=this.items.findIndex(dy(r,!0));n>=0&&this.items.remove(n)}else this.items.clear()}get types(){let r=[];return this.files.length&&r.push("Files"),this.items.forEach(n=>r.push(n.type)),Object.freeze(r),r}setDragImage(){}constructor(){Dc(this,"dropEffect","none"),Dc(this,"effectAllowed","uninitialized"),Dc(this,"items",new J8t),Dc(this,"files",H_(e,[]))}},T(t,"DataTransferStub"),t)}T(j4e,"createDataTransferStub");function U_(e,t=[]){let r=typeof e.DataTransfer>"u"?j4e(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:T(()=>H_(e,t),"get")}),r}T(U_,"createDataTransfer");async function R4e(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}T(R4e,"getBlobFromDataTransferItem");function iU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}T(iU,"_define_property");function aU(e,...t){var r;let n=Object.fromEntries(t.map(i=>[typeof i=="string"?"text/plain":i.type,Promise.resolve(i)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(n):new(r=class{get types(){return Array.from(Object.keys(this.data))}async getType(i){let a=await this.data[i];if(!a)throw new Error(`${i} is not one of the available MIME types on this item.`);return a instanceof e.Blob?a:new e.Blob([a],{type:i})}constructor(i){iU(this,"data",void 0),this.data=i}},T(r,"ClipboardItem"),r)(n)}T(aU,"createClipboardItem");var Fg=Symbol("Manage ClipboardSub");function PD(e,t){var r;return Object.assign(new(r=class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(let i of this.items){let a=i.types.includes("text/plain")?"text/plain":i.types.find(s=>s.startsWith("text/"));a&&(n+=await i.getType(a).then(s=>nU(s,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[aU(e,n)]}constructor(...n){super(...n),iU(this,"items",[])}},T(r,"Clipboard"),r),{[Fg]:t})}T(PD,"createClipboardStub");function G_(e){return!!(e!=null&&e[Fg])}T(G_,"isClipboardStub");function I4e(e){if(G_(e.navigator.clipboard))return e.navigator.clipboard[Fg];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:T(()=>{r=PD(e,n)},"resetClipboardStub"),detachClipboardStub:T(()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})},"detachClipboardStub")};return r=PD(e,n),Object.defineProperty(e.navigator,"clipboard",{get:T(()=>r,"get"),configurable:!0}),r[Fg]}T(I4e,"attachClipboardStubToView");function O4e(e){G_(e.navigator.clipboard)&&e.navigator.clipboard[Fg].resetClipboardStub()}T(O4e,"resetClipboardStubOnView");function M4e(e){G_(e.navigator.clipboard)&&e.navigator.clipboard[Fg].detachClipboardStub()}T(M4e,"detachClipboardStubFromView");async function k4e(e){let t=e.defaultView,r=t==null?void 0:t.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let i=U_(t);for(let a of n)for(let s of a.types)i.setData(s,await a.getType(s).then(o=>nU(o,t.FileReader)));return i}T(k4e,"readDataTransferFromClipboard");async function sU(e,t){let r=as(e),n=r.navigator.clipboard,i=[];for(let a=0;a<t.items.length;a++){let s=t.items[a],o=await R4e(r,s);i.push(aU(r,o))}if(!(n&&await n.write(i).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}T(sU,"writeDataTransferToClipboard");var Jx=globalThis;typeof Jx.afterEach=="function"&&Jx.afterEach(()=>{typeof globalThis.window<"u"&&O4e(globalThis.window)});typeof Jx.afterAll=="function"&&Jx.afterAll(()=>{typeof globalThis.window<"u"&&M4e(globalThis.window)});var D4e=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function V_(e){return e.matches(D4e)}T(V_,"isFocusable");function L4e(e){return new e.constructor(e.type,e)}T(L4e,"cloneEvent");function Ll(e){for(let r=e;r;r=r.parentElement)if(ir(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(ir(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}T(Ll,"isDisabled");function H1(e){let t=e.activeElement;return t!=null&&t.shadowRoot?H1(t.shadowRoot):Ll(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}T(H1,"getActiveElement");function FT(e){var t;return(t=H1(e))!==null&&t!==void 0?t:e.body}T(FT,"getActiveElementOrBody");function F4e(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}T(F4e,"findClosest");function jd(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}T(jd,"isContentEditable");function $g(e){let t=$4e(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}T($g,"getContentEditable");function $4e(e){return e.nodeType===1?e:e.parentElement}T($4e,"getElement");var B4e=(function(e){return e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio",e})(B4e||{});function oU(e){return ir(e,"button")||ir(e,"input")&&e.type in B4e}T(oU,"isClickableInput");function Oh(e){return lU(e)&&!e.readOnly||jd(e)}T(Oh,"isEditable");var N4e=(function(e){return e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week",e})(N4e||{});function lU(e){return ir(e,"textarea")||ir(e,"input")&&e.type in N4e}T(lU,"isEditableInputOrTextArea");function No(e){return cU(e)&&lU(e)}T(No,"hasOwnSelection");function q4e(e){return cU(e)&&oU(e)}T(q4e,"hasNoSelection");function cU(e){return e.nodeType===1}T(cU,"isElement");function z4e(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&No(e)){let n=$g(t.focusNode);if(n){if(!t.isCollapsed){var r;let i=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(i,0,i,0)}}else t.setBaseAndExtent(e,0,e,0)}}T(z4e,"updateSelectionOnFocus");function Mh(e,t){return xr().eventWrapper(e)}T(Mh,"wrapEvent");function au(e){let t=F4e(e,V_),r=H1(e.ownerDocument);(t!=null?t:e.ownerDocument.body)!==r&&(Mh(t?()=>t.focus():()=>r==null?void 0:r.blur()),z4e(t!=null?t:e.ownerDocument.body))}T(au,"focusElement");function W4e(e){!V_(e)||H1(e.ownerDocument)!==e||Mh(()=>e.blur())}T(W4e,"blurElement");var Rd={};Rd.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),i=n&&ir(n,"label")&&n.control;if(i&&i!==t)return()=>{V_(i)&&(au(i),r.dispatchEvent(i,L4e(e)))};if(ir(t,"input",{type:"file"}))return()=>{W4e(t),t.dispatchEvent(new(as(t)).Event("fileDialog")),au(t)}};var Bg=Symbol("Displayed value in UI"),Lc=Symbol("Displayed selection in UI"),Zx=Symbol("Initial value to compare on blur");function H4e(e){return typeof e=="object"&&Bg in e}T(H4e,"isUIValue");function U4e(e){return!!e&&typeof e=="object"&&Lc in e}T(U4e,"isUISelectionStart");function G4e(e,t){e[Zx]===void 0&&(e[Zx]=e.value),e[Bg]=t,e.value=Object.assign(new String(t),{[Bg]:!0})}T(G4e,"setUIValue");function qo(e){return e[Bg]===void 0?e.value:String(e[Bg])}T(qo,"getUIValue");function Y_(e){e[Bg]=void 0}T(Y_,"setUIValueClean");function uU(e){e[Zx]=void 0}T(uU,"clearInitialValue");function V4e(e){return e[Zx]}T(V4e,"getInitialValue");function Y4e(e,t){e[Lc]=t}T(Y4e,"setUISelectionRaw");function of(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let i=qo(e).length,a=T(d=>Math.max(0,Math.min(i,d)),"sanitizeOffset"),s=n==="replace"||e[Lc]===void 0?a(r):e[Lc].anchorOffset,o=a(t),l=Math.min(s,o),c=Math.max(s,o);if(e[Lc]={anchorOffset:s,focusOffset:o},e.selectionStart===l&&e.selectionEnd===c)return;let u=Object.assign(new Number(l),{[Lc]:!0});try{e.setSelectionRange(u,c)}catch(d){}}T(of,"setUISelection");function Ng(e){var t,r,n;let i=(n=e[Lc])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...i,startOffset:Math.min(i.anchorOffset,i.focusOffset),endOffset:Math.max(i.anchorOffset,i.focusOffset)}}T(Ng,"getUISelection");function K4e(e){return!!e[Lc]}T(K4e,"hasUISelection");function a5(e){e[Lc]=void 0}T(a5,"setUISelectionClean");var ew=globalThis.parseInt;function X4e(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=ew(t[0],10),n=ew(t[1],10);if(r>=3||r===2&&n>=4){let i;return r>=3?i=1:i=2,jD(t,i)}return e.length===2?e:jD(t,2)}T(X4e,"buildTimeValue");function jD(e,t){let r=e.slice(0,t),n=Math.min(ew(r,10),23),i=e.slice(t),a=ew(i,10),s=Math.min(a,59);return`${n.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`}T(jD,"build");function dU(e,t){let r=e.cloneNode();return r.value=t,r.value===t}T(dU,"isValidDateOrTimeValue");var Q4e=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(Q4e||{});function J4e(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}T(J4e,"getMaxLength");function Z4e(e){return ir(e,"textarea")||ir(e,"input")&&e.type in Q4e}T(Z4e,"supportsMaxLength");function pU(e,t,r,n){if(s5(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let i=RD(e,t,r);if(i){if(s5(i))return{node:i,offset:r>0?Math.min(1,i.nodeValue.length):Math.max(i.nodeValue.length-1,0)};if(ir(i,"br")){let a=RD(i,void 0,r);return a?s5(a)?{node:a,offset:r>0?0:a.nodeValue.length}:r<0&&ir(a,"br")?{node:i.parentNode,offset:py(i)}:{node:a.parentNode,offset:py(a)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:i.parentNode,offset:py(i)}:void 0}else return{node:i.parentNode,offset:py(i)+(r>0?1:0)}}}T(pU,"getNextCursorPosition");function RD(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&K_(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),t_e(e,r===1?"next":"previous",e_e)}T(RD,"getNextCharacterContentNode");function e_e(e){if(s5(e))return!0;if(K_(e)){if(ir(e,["input","textarea"]))return e.type!=="hidden";if(ir(e,"br"))return!0}return!1}T(e_e,"isTreatedAsCharacterContent");function py(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}T(py,"getOffset");function K_(e){return e.nodeType===1}T(K_,"isElement");function s5(e){return e.nodeType===3}T(s5,"isTextNode");function t_e(e,t,r){for(;;){var n;let i=e[`${t}Sibling`];if(i){if(e=r_e(i,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!K_(e.parentNode)||!jd(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}T(t_e,"walkNodes");function r_e(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}T(r_e,"getDescendant");var P7=Symbol("Track programmatic changes for React workaround");function n_e(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&as(e).REACT_VERSION===17}T(n_e,"isReact17Element");function i_e(e){n_e(e)&&(e[P7]={previousValue:String(e.value),tracked:[]})}T(i_e,"startTrackValue");function a_e(e,t){var r,n;(n=e[P7])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[P7]||(Y_(e),of(e,{focusOffset:t.length}))}T(a_e,"trackOrSetValue");function s_e(e,t){var r;let n=e[P7];if(e[P7]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let i=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;i||Y_(e),K4e(e)&&of(e,{focusOffset:i?t:e.value.length})}T(s_e,"commitValueAfterInput");function hU(e){let t=o_e(e);if(t&&No(t))return{type:"input",selection:Ng(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:$g(e)&&(r!=null&&r.anchorNode)&&$g(r.anchorNode)?"contenteditable":"default",selection:r}}T(hU,"getTargetTypeAndSelection");function o_e(e){return e.nodeType===1?e:e.parentElement}T(o_e,"getElement");function l_e(e){let t=hU(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}T(l_e,"getInputRange");function Id({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var i,a;if(hU(e).type==="input")return of(e,{anchorOffset:n,focusOffset:t});(a=r.ownerDocument)===null||a===void 0||(i=a.getSelection())===null||i===void 0||i.setBaseAndExtent(r,n,e,t)}T(Id,"setSelection");function fU(e){return ir(e,"input")&&["date","time"].includes(e.type)}T(fU,"isDateOrTime");function kh(e,t,r,n="insertText"){let i=l_e(t);i&&(!fU(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in i?c_e(e,t,i,r,n):u_e(e,t,i,r,n)))}T(kh,"input");function c_e(e,t,r,n,i){let a=!1;if(!r.collapsed)a=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(i)){let s=pU(r.startContainer,r.startOffset,i==="deleteContentBackward"?-1:1,i);if(s){a=!0;let o=r.cloneRange();o.comparePoint(s.node,s.offset)<0?o.setStart(s.node,s.offset):o.setEnd(s.node,s.offset),o.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let s=r.endOffset;r.endContainer.insertData(s,n),r.setStart(r.endContainer,s+n.length),r.setEnd(r.endContainer,s+n.length)}else{let s=t.ownerDocument.createTextNode(n);r.insertNode(s),r.setStart(s,n.length),r.setEnd(s,n.length)}(a||n)&&e.dispatchUIEvent(t,"input",{inputType:i})}T(c_e,"editContenteditable");function u_e(e,t,r,n,i){let a=n;if(Z4e(t)){let c=J4e(t);if(c!==void 0&&n.length>0){let u=c-t.value.length;if(u>0)a=n.substring(0,u);else return}}let{newValue:s,newOffset:o,oldValue:l}=d_e(a,t,r,i);s===l&&o===r.startOffset&&o===r.endOffset||ir(t,"input",{type:"number"})&&!p_e(s)||(G4e(t,s),Id({focusNode:t,anchorOffset:o,focusOffset:o}),fU(t)?dU(t,s)&&(ID(e,t,o,{}),e.dispatchUIEvent(t,"change"),uU(t)):ID(e,t,o,{data:n,inputType:i}))}T(u_e,"editInputElement");function d_e(e,t,{startOffset:r,endOffset:n},i){let a=qo(t),s=Math.max(0,r===n&&i==="deleteContentBackward"?r-1:r),o=a.substring(0,s),l=Math.min(a.length,r===n&&i==="deleteContentForward"?r+1:n),c=a.substring(l,a.length),u=`${o}${e}${c}`,d=s+e.length;if(ir(t,"input",{type:"time"})){let h=X4e(u);h!==""&&dU(t,h)&&(u=h,d=h.length)}return{oldValue:a,newValue:u,newOffset:d}}T(d_e,"calculateNewValue");function ID(e,t,r,n){e.dispatchUIEvent(t,"input",n),s_e(t,r)}T(ID,"commitInput");function p_e(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}T(p_e,"isValidNumberInput");Rd.cut=(e,t,r)=>()=>{Oh(t)&&kh(r,t,"","deleteByCut")};function h_e(e){return e?jd(e)?e.textContent:qo(e):null}T(h_e,"getValueOrTextContent");function f_e(e){let t=as(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:n,visibility:i}=t.getComputedStyle(r);if(n==="none"||i==="hidden")return!1}return!0}T(f_e,"isVisible");function m_e(e,t){let r=e.ownerDocument,n=r.querySelectorAll(D4e),i=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||Ll(l)));Number(e.getAttribute("tabindex"))>=0&&i.sort((l,c)=>{let u=Number(l.getAttribute("tabindex")),d=Number(c.getAttribute("tabindex"));return u===d?0:u===0?1:d===0?-1:u-d});let a={},s=[r.body],o=ir(e,"input",{type:"radio"})?e.name:void 0;i.forEach(l=>{let c=l;if(ir(c,"input",{type:"radio"})&&c.name){if(c===e){s.push(c);return}else if(c.name===o)return;if(c.checked){s=s.filter(u=>!ir(u,"input",{type:"radio",name:c.name})),s.push(c),a[c.name]=c;return}if(typeof a[c.name]<"u")return}s.push(c)});for(let l=s.findIndex(c=>c===e);;)if(l+=t?-1:1,l===s.length?l=0:l===-1&&(l=s.length-1),s[l]===e||s[l]===r.body||f_e(s[l]))return s[l]}T(m_e,"getTabDestination");function OD(e,t){if(No(e)){let r=Ng(e);Id({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!(r!=null&&r.focusNode))return;if(r.isCollapsed){let n=pU(r.focusNode,r.focusOffset,t);n&&Id({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}T(OD,"moveSelection");function mU(e){if(No(e))return Id({focusNode:e,anchorOffset:0,focusOffset:qo(e).length});var t;let r=(t=$g(e))!==null&&t!==void 0?t:e.ownerDocument.body;Id({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}T(mU,"selectAll");function g_e(e){if(No(e))return Ng(e).startOffset===0&&Ng(e).endOffset===qo(e).length;var t;let r=(t=$g(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return(n==null?void 0:n.anchorNode)===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}T(g_e,"isAllSelected");function lm(e,t,r){var n;if(No(e))return Id({focusNode:e,anchorOffset:t,focusOffset:r});if(jd(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Id({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}T(lm,"setSelectionRange");function hy(e,t,r){let n=as(t),i=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let a=i.findIndex(s=>s===t)+r;;a+=r){if(i[a]||(a=r>0?0:i.length-1),i[a]===t)return;if(!Ll(i[a])){au(i[a]),e.dispatchUIEvent(i[a],"click");return}}}T(hy,"walkRadio");Rd.keydown=(e,t,r)=>{var n,i;return(i=(n=_re[e.key])===null||n===void 0?void 0:n.call(_re,e,t,r))!==null&&i!==void 0?i:Z8t(e,t,r)};var _re={ArrowDown:T((e,t,r)=>{if(ir(t,"input",{type:"radio"}))return()=>hy(r,t,1)},"ArrowDown"),ArrowLeft:T((e,t,r)=>ir(t,"input",{type:"radio"})?()=>hy(r,t,-1):()=>OD(t,-1),"ArrowLeft"),ArrowRight:T((e,t,r)=>ir(t,"input",{type:"radio"})?()=>hy(r,t,1):()=>OD(t,1),"ArrowRight"),ArrowUp:T((e,t,r)=>{if(ir(t,"input",{type:"radio"}))return()=>hy(r,t,-1)},"ArrowUp"),Backspace:T((e,t,r)=>{if(Oh(t))return()=>{kh(r,t,"","deleteContentBackward")}},"Backspace"),Delete:T((e,t,r)=>{if(Oh(t))return()=>{kh(r,t,"","deleteContentForward")}},"Delete"),End:T((e,t)=>{if(ir(t,["input","textarea"])||jd(t))return()=>{var r,n;let i=(n=(r=h_e(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;lm(t,i,i)}},"End"),Home:T((e,t)=>{if(ir(t,["input","textarea"])||jd(t))return()=>{lm(t,0,0)}},"Home"),PageDown:T((e,t)=>{if(ir(t,["input"]))return()=>{let r=qo(t).length;lm(t,r,r)}},"PageDown"),PageUp:T((e,t)=>{if(ir(t,["input"]))return()=>{lm(t,0,0)}},"PageUp"),Tab:T((e,t,r)=>()=>{let n=m_e(t,r.system.keyboard.modifiers.Shift);au(n),No(n)&&of(n,{anchorOffset:0,focusOffset:n.value.length})},"Tab")},Z8t=T((e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>mU(t)},"combinationBehavior");Rd.keypress=(e,t,r)=>{if(e.key==="Enter"){if(ir(t,"button")||ir(t,"input")&&eCt.includes(t.type)||ir(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(ir(t,"input")){let n=t.form,i=n==null?void 0:n.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return i?()=>r.dispatchUIEvent(i,"click"):n&&tCt.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Oh(t)){let n=e.key==="Enter"?jd(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",i=e.key==="Enter"?`
`:e.key;return()=>kh(r,t,i,n)}};var eCt=["button","color","file","image","reset","submit"],tCt=["email","month","password","search","tel","text","url","week"];Rd.keyup=(e,t,r)=>{var n;return(n=Are[e.key])===null||n===void 0?void 0:n.call(Are,e,t,r)};var Are={" ":T((e,t,r)=>{if(oU(t))return()=>r.dispatchUIEvent(t,"click")}," ")};Rd.paste=(e,t,r)=>{if(Oh(t))return()=>{var n;let i=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");i&&kh(r,t,i,"insertFromPaste")}};var b_e={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusin:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusout:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function gU(e){return b_e[e].EventType}T(gU,"getEventClass");var rCt=["MouseEvent","PointerEvent"];function y_e(e){return rCt.includes(gU(e))}T(y_e,"isMouseEvent");function v_e(e){return gU(e)==="KeyboardEvent"}T(v_e,"isKeyboardEvent");var nCt={ClipboardEvent:[S_e],Event:[],FocusEvent:[qf,x_e],InputEvent:[qf,w_e],MouseEvent:[qf,$T,MD],PointerEvent:[qf,$T,MD,A_e],KeyboardEvent:[qf,$T,__e]};function bU(e,t,r){let n=as(t),{EventType:i,defaultInit:a}=b_e[e],s=new(T_e(n))[i](e,a);return nCt[i].forEach(o=>o(s,r!=null?r:{})),s}T(bU,"createEvent");function T_e(e){var t,r,n,i,a,s,o,l,c,u,d,h,p,m,g,b;let y=(b=e.Event)!==null&&b!==void 0?b:(t=class{},T(t,"Event"),t);var v;let S=(v=e.AnimationEvent)!==null&&v!==void 0?v:(r=class extends y{},T(r,"AnimationEvent"),r);var x;let w=(x=e.ClipboardEvent)!==null&&x!==void 0?x:(n=class extends y{},T(n,"ClipboardEvent"),n);var A;let _=(A=e.PopStateEvent)!==null&&A!==void 0?A:(i=class extends y{},T(i,"PopStateEvent"),i);var C;let E=(C=e.ProgressEvent)!==null&&C!==void 0?C:(a=class extends y{},T(a,"ProgressEvent"),a);var R;let P=(R=e.TransitionEvent)!==null&&R!==void 0?R:(s=class extends y{},T(s,"TransitionEvent"),s);var O;let k=(O=e.UIEvent)!==null&&O!==void 0?O:(o=class extends y{},T(o,"UIEvent"),o);var I;let M=(I=e.CompositionEvent)!==null&&I!==void 0?I:(l=class extends k{},T(l,"CompositionEvent"),l);var D;let F=(D=e.FocusEvent)!==null&&D!==void 0?D:(c=class extends k{},T(c,"FocusEvent"),c);var $;let Y=($=e.InputEvent)!==null&&$!==void 0?$:(u=class extends k{},T(u,"InputEvent"),u);var he;let fe=(he=e.KeyboardEvent)!==null&&he!==void 0?he:(d=class extends k{},T(d,"KeyboardEvent"),d);var U;let W=(U=e.MouseEvent)!==null&&U!==void 0?U:(h=class extends k{},T(h,"MouseEvent"),h);var H;let ie=(H=e.DragEvent)!==null&&H!==void 0?H:(p=class extends W{},T(p,"DragEvent"),p);var J;let we=(J=e.PointerEvent)!==null&&J!==void 0?J:(m=class extends W{},T(m,"PointerEvent"),m);var Le;let Ye=(Le=e.TouchEvent)!==null&&Le!==void 0?Le:(g=class extends k{},T(g,"TouchEvent"),g);return{Event:y,AnimationEvent:S,ClipboardEvent:w,PopStateEvent:_,ProgressEvent:E,TransitionEvent:P,UIEvent:k,CompositionEvent:M,FocusEvent:F,InputEvent:Y,KeyboardEvent:fe,MouseEvent:W,DragEvent:ie,PointerEvent:we,TouchEvent:Ye}}T(T_e,"getEventConstructors");function vu(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:T(()=>n!=null?n:null,"get")})}T(vu,"assignProps");function $0(e){return Number(e!=null?e:0)}T($0,"sanitizeNumber");function S_e(e,{clipboardData:t}){vu(e,{clipboardData:t})}T(S_e,"initClipboardEvent");function x_e(e,{relatedTarget:t}){vu(e,{relatedTarget:t})}T(x_e,"initFocusEvent");function w_e(e,{data:t,inputType:r,isComposing:n}){vu(e,{data:t,isComposing:!!n,inputType:String(r)})}T(w_e,"initInputEvent");function qf(e,{view:t,detail:r}){vu(e,{view:t,detail:$0(r!=null?r:0)})}T(qf,"initUIEvent");function $T(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:i,modifierAltGraph:a,modifierCapsLock:s,modifierFn:o,modifierFnLock:l,modifierNumLock:c,modifierScrollLock:u,modifierSymbol:d,modifierSymbolLock:h}){vu(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!i,getModifierState(p){return!!{Alt:t,AltGraph:a,CapsLock:s,Control:r,Fn:o,FnLock:l,Meta:n,NumLock:c,ScrollLock:u,Shift:i,Symbol:d,SymbolLock:h}[p]}})}T($T,"initUIEventModifiers");function __e(e,{key:t,code:r,location:n,repeat:i,isComposing:a,charCode:s}){vu(e,{key:String(t),code:String(r),location:$0(n),repeat:!!i,isComposing:!!a,charCode:s})}T(__e,"initKeyboardEvent");function MD(e,{x:t,y:r,screenX:n,screenY:i,clientX:a=t,clientY:s=r,button:o,buttons:l,relatedTarget:c,offsetX:u,offsetY:d,pageX:h,pageY:p}){vu(e,{screenX:$0(n),screenY:$0(i),clientX:$0(a),x:$0(a),clientY:$0(s),y:$0(s),button:$0(o),buttons:$0(l),relatedTarget:c,offsetX:$0(u),offsetY:$0(d),pageX:$0(h),pageY:$0(p)})}T(MD,"initMouseEvent");function A_e(e,{pointerId:t,width:r,height:n,pressure:i,tangentialPressure:a,tiltX:s,tiltY:o,twist:l,pointerType:c,isPrimary:u}){vu(e,{pointerId:$0(t),width:$0(r!=null?r:1),height:$0(n!=null?n:1),pressure:$0(i),tangentialPressure:$0(a),tiltX:$0(s),tiltY:$0(o),twist:$0(l),pointerType:String(c),isPrimary:!!u})}T(A_e,"initPointerEvent");function C_e(e,t,r,n=!1){(y_e(t)||v_e(t))&&(r={...r,...this.system.getUIEventModifiers()});let i=bU(t,e,r);return yU.call(this,e,i,n)}T(C_e,"dispatchUIEvent");function yU(e,t,r=!1){var n;let i=t.type,a=r?()=>{}:(n=Rd[i])===null||n===void 0?void 0:n.call(Rd,t,e,this);if(a){t.preventDefault();let s=!1;return Object.defineProperty(t,"defaultPrevented",{get:T(()=>s,"get")}),Object.defineProperty(t,"preventDefault",{value:T(()=>{s=t.cancelable},"value")}),Mh(()=>e.dispatchEvent(t)),s||a(),!s}return Mh(()=>e.dispatchEvent(t))}T(yU,"dispatchEvent");function Uu(e,t,r){let n=bU(t,e,r);Mh(()=>e.dispatchEvent(n))}T(Uu,"dispatchDOMEvent");var Cre=Symbol("patched focus/blur methods");function vU(e){if(e.prototype[Cre])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:T(()=>i,"get")},blur:{configurable:!0,get:T(()=>a,"get")},[Cre]:{configurable:!0,get:T(()=>({focus:t,blur:r}),"get")}});let n;function i(s){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,s);let o=kD(this.ownerDocument);if(o===this)return;let l=Symbol("focus call");n=l,o&&(r.call(o),Uu(o,"blur",{relatedTarget:this}),Uu(o,"focusout",{relatedTarget:n===l?this:null})),n===l&&(t.call(this,s),Uu(this,"focus",{relatedTarget:o})),n===l&&Uu(this,"focusin",{relatedTarget:o})}T(i,"patchedFocus");function a(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let s=kD(this.ownerDocument);s===this&&(n=Symbol("blur call"),r.call(this),Uu(s,"blur",{relatedTarget:null}),Uu(s,"focusout",{relatedTarget:null}))}T(a,"patchedBlur")}T(vU,"patchFocus");function kD(e){let t=H1(e);return(t==null?void 0:t.tagName)==="BODY"?null:t}T(kD,"getActiveTarget");var D9=Symbol("Interceptor for programmatical calls");function qp(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=Object.getOwnPropertyDescriptor(e,t),a=n!=null&&n.set?"set":"value";if(typeof(n==null?void 0:n[a])!="function"||n[a][D9])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function s(...o){let{applyNative:l=!1,realArgs:c,then:u}=r.call(this,...o),d=(!l&&i||n)[a];a==="set"?d.call(this,c):d.call(this,...c),u==null||u()}T(s,"intercept"),s[D9]=D9,Object.defineProperty(e,t,{...i!=null?i:n,[a]:s})}T(qp,"prepareInterceptor");function E_e(e){qp(e,"value",T(function(t){let r=H4e(t);return r&&i_e(this),{applyNative:!!r,realArgs:P_e(this,t),then:r?void 0:()=>a_e(this,String(t))}},"interceptorImpl"))}T(E_e,"prepareValueInterceptor");function P_e(e,t){return ir(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}T(P_e,"sanitizeValue");function j_e(e){qp(e,"setSelectionRange",T(function(t,...r){let n=U4e(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:T(()=>n?void 0:a5(e),"then")}},"interceptorImpl")),qp(e,"selectionStart",T(function(t){return{realArgs:t,then:T(()=>a5(e),"then")}},"interceptorImpl")),qp(e,"selectionEnd",T(function(t){return{realArgs:t,then:T(()=>a5(e),"then")}},"interceptorImpl")),qp(e,"select",T(function(){return{realArgs:[],then:T(()=>Y4e(e,{anchorOffset:0,focusOffset:qo(e).length}),"then")}},"interceptorImpl"))}T(j_e,"prepareSelectionInterceptor");function R_e(e){qp(e,"setRangeText",T(function(...t){return{realArgs:t,then:T(()=>{Y_(e),a5(e)},"then")}},"interceptorImpl"))}T(R_e,"prepareRangeTextInterceptor");var Nm=Symbol("Node prepared with document state workarounds");function TU(e){e[Nm]||(e.addEventListener("focus",t=>{let r=t.target;DD(r)},{capture:!0,passive:!0}),e.activeElement&&DD(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=V4e(r);n!==void 0&&(r.value!==n&&Uu(r,"change"),uU(r))},{capture:!0,passive:!0}),e[Nm]=Nm)}T(TU,"prepareDocument");function DD(e){e[Nm]||(ir(e,["input","textarea"])&&(E_e(e),j_e(e),R_e(e)),e[Nm]=Nm)}T(DD,"prepareElement");function I_e(e){return O_e(e)?e:e.ownerDocument}T(I_e,"getDocumentFromNode");function O_e(e){return e.nodeType===9}T(O_e,"isDocument");var Na=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function cm(e,t){e.levelRefs[t]={}}T(cm,"setLevelRef");function fy(e,t){return e.levelRefs[t]}T(fy,"getLevelRef");function Dh(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}T(Dh,"wait");var BT=(function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e})({});function Bu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}T(Bu,"_define_property");var zo=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),iCt=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function LD(e){return iCt.includes(e)}T(LD,"isModifierKey");var aCt=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function FD(e){return aCt.includes(e)}T(FD,"isModifierLock");var M_e=class{isKeyPressed(t){return this.pressed.has(String(t.code))}getPressedKeys(){return this.pressed.values().map(t=>t.keyDef)}async keydown(t,r){let n=String(r.key),i=String(r.code),a=FT(t.config.document);this.setKeydownTarget(a),this.pressed.add(i,r),LD(n)&&(this.modifiers[n]=!0);let s=t.dispatchUIEvent(a,"keydown",{key:n,code:i});FD(n)&&!this.modifiers[n]&&(this.modifiers[n]=!0,this.modifierLockStart[n]=!0),s&&this.pressed.setUnprevented(i),s&&this.hasKeyPress(n)&&t.dispatchUIEvent(FT(t.config.document),"keypress",{key:n,code:i,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){let n=String(r.key),i=String(r.code),a=this.pressed.isUnprevented(i);this.pressed.delete(i),LD(n)&&!this.pressed.values().find(s=>s.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(FT(t.config.document),"keyup",{key:n,code:i},!a),FD(n)&&this.modifiers[n]&&(this.modifierLockStart[n]?this.modifierLockStart[n]=!1:this.modifiers[n]=!1)}setKeydownTarget(t){t!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=t}hasKeyPress(t){return(t.length===1||t==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(t){Bu(this,"system",void 0),Bu(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),Bu(this,"pressed",new class{add(r,n){var i,a,s;(s=(i=this.registry)[a=r])!==null&&s!==void 0||(i[a]={keyDef:n,unpreventedDefault:!1})}has(r){return!!this.registry[r]}setUnprevented(r){let n=this.registry[r];n&&(n.unpreventedDefault=!0)}isUnprevented(r){var n;return!!(!((n=this.registry[r])===null||n===void 0)&&n.unpreventedDefault)}delete(r){delete this.registry[r]}values(){return Object.values(this.registry)}constructor(){Bu(this,"registry",{})}}),Bu(this,"carryChar",""),Bu(this,"lastKeydownTarget",void 0),Bu(this,"modifierLockStart",{}),this.system=t}};T(M_e,"KeyboardHost");var sCt=M_e,oCt=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:zo.LEFT},{code:"AltRight",key:"Alt",location:zo.RIGHT},{code:"ShiftLeft",key:"Shift",location:zo.LEFT},{code:"ShiftRight",key:"Shift",location:zo.RIGHT},{code:"ControlLeft",key:"Control",location:zo.LEFT},{code:"ControlRight",key:"Control",location:zo.RIGHT},{code:"MetaLeft",key:"Meta",location:zo.LEFT},{code:"MetaRight",key:"Meta",location:zo.RIGHT},{code:"OSLeft",key:"OS",location:zo.LEFT},{code:"OSRight",key:"OS",location:zo.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],lCt=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];function k_e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}T(k_e,"_define_property");var D_e=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=tw(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=tw(t.button);if(r in this.pressed&&(this.pressed[r]=this.pressed[r].filter(n=>n.name!==t.name),this.pressed[r].length===0))return delete this.pressed[r],r}constructor(){k_e(this,"pressed",{})}};T(D_e,"Buttons");var L_e=D_e,Ere={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function tw(e=0){return e in Ere?Ere[e]:Number(e)}T(tw,"getMouseButtonId");var Pre={1:2,2:1};function rw(e){return e=tw(e),e in Pre?Pre[e]:e}T(rw,"getMouseEventButton");function F_e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}T(F_e,"_define_property");var $_e=class{get countPressed(){return this.pressedKeys.size}isPressed(t){return this.pressedKeys.has(t.name)}addPressed(t){return this.pressedKeys.add(t.name)}removePressed(t){return this.pressedKeys.delete(t.name)}constructor(){F_e(this,"pressedKeys",new Set)}};T($_e,"Device");var cCt=$_e;function qm(e,t){let r=[];for(let a=e;a;a=a.parentElement)r.push(a);let n=[];for(let a=t;a;a=a.parentElement)n.push(a);let i=0;for(;!(i>=r.length||i>=n.length||r[r.length-1-i]!==n[n.length-1-i]);i++);return[r.slice(0,r.length-i),n.slice(0,n.length-i),n.slice(n.length-i)]}T(qm,"getTreeDiff");function nw({target:e,node:t,offset:r}){return No(e)?{node:e,offset:r!=null?r:qo(e).length}:t?{node:t,offset:r!=null?r:t.nodeType===3?t.nodeValue.length:t.childNodes.length}:SU(e,r)}T(nw,"resolveCaretPosition");function SU(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,i=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let a=e.childNodes.item(n),s=String(a.textContent);if(s.length)if(t!==void 0&&s.length<t)t-=s.length;else{if(a.nodeType===1)return SU(a,t,!1);if(a.nodeType===3)return{node:a,offset:t!=null?t:a.nodeValue.length}}n+=i}return{node:e,offset:e.childNodes.length}}T(SU,"findNodeAtTextOffset");function B_e({document:e,target:t,clickCount:r,node:n,offset:i}){if(q4e(t))return;let a=No(t),s=String(a?qo(t):t.textContent),[o,l]=n?[i,i]:N_e(s,i,r);if(a)return of(t,{anchorOffset:o!=null?o:s.length,focusOffset:l!=null?l:s.length}),{node:t,start:o!=null?o:0,end:l!=null?l:s.length};{let{node:c,offset:u}=nw({target:t,node:n,offset:o}),{node:d,offset:h}=nw({target:t,node:n,offset:l}),p=t.ownerDocument.createRange();try{p.setStart(c,u),p.setEnd(d,h)}catch(g){throw new Error("The given offset is out of bounds.")}let m=e.getSelection();return m==null||m.removeAllRanges(),m==null||m.addRange(p.cloneRange()),p}}T(B_e,"setSelectionPerMouseDown");function N_e(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t!=null?t:e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}T(N_e,"getTextRange");function q_e(e,{document:t,target:r,node:n,offset:i}){let a=nw({target:r,node:n,offset:i});if("node"in e){if(a.node===e.node){let s=a.offset<e.start?e.end:e.start,o=a.offset>e.end||a.offset<e.start?a.offset:e.end;of(e.node,{anchorOffset:s,focusOffset:o})}}else{let s=e.cloneRange(),o=s.comparePoint(a.node,a.offset);o<0?s.setStart(a.node,a.offset):o>0&&s.setEnd(a.node,a.offset);let l=t.getSelection();l==null||l.removeAllRanges(),l==null||l.addRange(s.cloneRange())}}T(q_e,"modifySelectionPerMouseMove");function xU(e,t){var r,n,i,a,s,o,l,c,u,d,h,p,m,g,b,y,v,S,x,w,A,_,C,E;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((i=e.coords)===null||i===void 0?void 0:i.y)!==((a=t.coords)===null||a===void 0?void 0:a.y)||((s=e.coords)===null||s===void 0?void 0:s.clientX)!==((o=t.coords)===null||o===void 0?void 0:o.clientX)||((l=e.coords)===null||l===void 0?void 0:l.clientY)!==((c=t.coords)===null||c===void 0?void 0:c.clientY)||((u=e.coords)===null||u===void 0?void 0:u.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((h=e.coords)===null||h===void 0?void 0:h.offsetY)!==((p=t.coords)===null||p===void 0?void 0:p.offsetY)||((m=e.coords)===null||m===void 0?void 0:m.pageX)!==((g=t.coords)===null||g===void 0?void 0:g.pageX)||((b=e.coords)===null||b===void 0?void 0:b.pageY)!==((y=t.coords)===null||y===void 0?void 0:y.pageY)||((v=e.coords)===null||v===void 0?void 0:v.screenX)!==((S=t.coords)===null||S===void 0?void 0:S.screenX)||((x=e.coords)===null||x===void 0?void 0:x.screenY)!==((w=t.coords)===null||w===void 0?void 0:w.screenY)||((A=e.caret)===null||A===void 0?void 0:A.node)!==((_=t.caret)===null||_===void 0?void 0:_.node)||((C=e.caret)===null||C===void 0?void 0:C.offset)!==((E=t.caret)===null||E===void 0?void 0:E.offset)}T(xU,"isDifferentPointerPosition");function Nu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}T(Nu,"_define_property");var z_e=class{move(t,r,n){let i=this.position,a=this.getTarget(t);if(this.position=r,!xU(i,r))return;let s=this.getTarget(t),o=this.getEventInit("mousemove"),[l,c]=qm(a,s);return{leave:T(()=>{a!==s&&(t.dispatchUIEvent(a,"mouseout",o),l.forEach(u=>t.dispatchUIEvent(u,"mouseleave",o)))},"leave"),enter:T(()=>{a!==s&&(t.dispatchUIEvent(s,"mouseover",o),c.forEach(u=>t.dispatchUIEvent(u,"mouseenter",o)))},"enter"),move:T(()=>{n||(t.dispatchUIEvent(s,"mousemove",o),this.modifySelecting(t))},"move")}}down(t,r,n){let i=this.buttons.down(r);if(i===void 0)return;let a=this.getTarget(t);this.buttonDownTarget[i]=a;let s=this.getEventInit("mousedown",r.button),o=Ll(a);!n&&(o||t.dispatchUIEvent(a,"mousedown",s))&&(this.startSelecting(t,s.detail),au(a)),!o&&rw(r.button)===2&&t.dispatchUIEvent(a,"contextmenu",this.getEventInit("contextmenu",r.button))}up(t,r,n){let i=this.buttons.up(r);if(i===void 0)return;let a=this.getTarget(t);if(!Ll(a)){if(!n){let o=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(a,"mouseup",o),this.endSelecting()}let s=qm(this.buttonDownTarget[i],a)[2][0];if(s){let o=this.getEventInit("click",r.button);o.detail&&(t.dispatchUIEvent(s,o.button===0?"click":"auxclick",o),o.button===0&&o.detail===2&&t.dispatchUIEvent(s,"dblclick",{...this.getEventInit("dblclick",r.button),detail:o.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(t,r){let n={...this.position.coords};return n.button=rw(r),n.buttons=this.buttons.getButtons(),t==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):t==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(t==="click"||t==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}startSelecting(t,r){var n,i;this.selecting=B_e({document:t.config.document,target:this.getTarget(t),node:(n=this.position.caret)===null||n===void 0?void 0:n.node,offset:(i=this.position.caret)===null||i===void 0?void 0:i.offset,clickCount:r})}modifySelecting(t){var r,n;this.selecting&&q_e(this.selecting,{document:t.config.document,target:this.getTarget(t),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset})}endSelecting(){this.selecting=void 0}constructor(){Nu(this,"position",{}),Nu(this,"buttons",new L_e),Nu(this,"selecting",void 0),Nu(this,"buttonDownTarget",{}),Nu(this,"clickCount",new class{incOnClick(t){let r=this.down[t]===void 0?void 0:Number(this.down[t])+1;return this.count=this.count[t]===void 0?{}:{[t]:Number(this.count[t])+1},r}getOnDown(t){var r;this.down={[t]:(r=this.count[t])!==null&&r!==void 0?r:0};var n;return this.count={[t]:(n=this.count[t])!==null&&n!==void 0?n:0},Number(this.count[t])+1}getOnUp(t){return this.down[t]===void 0?void 0:Number(this.down[t])+1}reset(){this.count={}}constructor(){Nu(this,"down",{}),Nu(this,"count",{})}})}};T(z_e,"Mouse");var uCt=z_e;function j7(e,t){var r;return((r=wU(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}T(j7,"hasPointerEvents");function W_e(e){let t=as(e);for(let r=e,n=[];r!=null&&r.ownerDocument;r=r.parentElement){n.push(r);let i=t.getComputedStyle(r).pointerEvents;if(i&&!["inherit","unset"].includes(i))return{pointerEvents:i,tree:n}}}T(W_e,"closestPointerEventsDeclaration");var jre=Symbol("Last check for pointer-events");function wU(e,t){let r=t[jre];if(!(e.config.pointerEventsCheck!==BT.Never&&(!r||$D(e.config.pointerEventsCheck,BT.EachApiCall)&&r[Na.Call]!==fy(e,Na.Call)||$D(e.config.pointerEventsCheck,BT.EachTrigger)&&r[Na.Trigger]!==fy(e,Na.Trigger))))return r==null?void 0:r.result;let n=W_e(t);return t[jre]={[Na.Call]:fy(e,Na.Call),[Na.Trigger]:fy(e,Na.Trigger),result:n},n}T(wU,"checkPointerEvents");function um(e,t){let r=wU(e,t);if((r==null?void 0:r.pointerEvents)==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",H_e(r.tree)].join(`
`))}T(um,"assertPointerEvents");function H_e(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,U_e(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
`)}T(H_e,"printTree");function U_e(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,i;r=(i=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||i===void 0||(n=i.textContent)===null||n===void 0?void 0:n.trim()}else if(ir(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(s=>{var o;return(o=s.textContent)===null||o===void 0?void 0:o.trim()}).join("|");else if(ir(e,"button")){var a;r=(a=e.textContent)===null||a===void 0?void 0:a.trim()}return r=r==null?void 0:r.replace(/\n/g," "),Number(r==null?void 0:r.length)>30&&(r=`${r==null?void 0:r.substring(0,29)}…`),r?`(label=${r})`:""}T(U_e,"getLabelDescr");function $D(e,t){return(e&t)>0}T($D,"hasBitFlag");function Xo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}T(Xo,"_define_property");var G_e=class{init(t){let r=this.getTarget(t),[,n]=qm(null,r),i=this.getEventInit();return um(t,r),t.dispatchUIEvent(r,"pointerover",i),n.forEach(a=>t.dispatchUIEvent(a,"pointerenter",i)),this}move(t,r){let n=this.position,i=this.getTarget(t);if(this.position=r,!xU(n,r))return;let a=this.getTarget(t),s=this.getEventInit(-1),[o,l]=qm(i,a);return{leave:T(()=>{j7(t,i)&&i!==a&&(t.dispatchUIEvent(i,"pointerout",s),o.forEach(c=>t.dispatchUIEvent(c,"pointerleave",s)))},"leave"),enter:T(()=>{um(t,a),i!==a&&(t.dispatchUIEvent(a,"pointerover",s),l.forEach(c=>t.dispatchUIEvent(c,"pointerenter",s)))},"enter"),move:T(()=>{t.dispatchUIEvent(a,"pointermove",s)},"move")}}down(t,r=0){if(this.isDown)return;let n=this.getTarget(t);um(t,n),this.isDown=!0,this.isPrevented=!t.dispatchUIEvent(n,"pointerdown",this.getEventInit(r))}up(t,r=0){if(!this.isDown)return;let n=this.getTarget(t);um(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=qm(r,null),i=this.getEventInit();j7(t,r)&&(t.dispatchUIEvent(r,"pointerout",i),n.forEach(a=>t.dispatchUIEvent(a,"pointerleave",i))),this.isCancelled=!0}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}getEventInit(t){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:rw(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},i){Xo(this,"pointerId",void 0),Xo(this,"pointerType",void 0),Xo(this,"isPrimary",void 0),Xo(this,"buttons",void 0),Xo(this,"isMultitouch",!1),Xo(this,"isCancelled",!1),Xo(this,"isDown",!1),Xo(this,"isPrevented",!1),Xo(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=i}};T(G_e,"Pointer");var dCt=G_e;function bc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}T(bc,"_define_property");var V_e=class{isKeyPressed(t){return this.devices.get(t.pointerType).isPressed(t)}async press(t,r,n){this.devices.get(r.pointerType).addPressed(r),this.buttons.down(r);let i=this.getPointerName(r),a=r.pointerType==="touch"?this.pointers.new(i,r.pointerType,this.buttons):this.pointers.get(i);a.position=n,a.pointerType!=="touch"&&(this.mouse.position=n),a.pointerType==="touch"&&a.init(t),a.down(t,r.button),a.pointerType!=="touch"&&this.mouse.down(t,r,a.isPrevented)}async move(t,r,n){let i=this.pointers.get(r),a=i.move(t,n),s=i.pointerType==="touch"?void 0:this.mouse.move(t,n,i.isPrevented);a==null||a.leave(),s==null||s.leave(),a==null||a.enter(),s==null||s.enter(),a==null||a.move(),s==null||s.move()}async release(t,r,n){let i=this.devices.get(r.pointerType);i.removePressed(r),this.buttons.up(r);let a=this.pointers.get(this.getPointerName(r)),s=a.isPrevented;if(a.position=n,a.pointerType!=="touch"&&(this.mouse.position=n),i.countPressed===0&&a.up(t,r.button),a.pointerType==="touch"&&a.release(t),a.pointerType==="touch"&&!a.isMultitouch){let o=this.mouse.move(t,n,s);o==null||o.leave(),o==null||o.enter(),o==null||o.move(),this.mouse.down(t,r,s)}if(!a.isMultitouch){let o=this.mouse.move(t,n,s);o==null||o.leave(),o==null||o.enter(),o==null||o.move(),this.mouse.up(t,r,s)}}getPointerName(t){return t.pointerType==="touch"?t.name:t.pointerType}getPreviousPosition(t){return this.pointers.has(t)?this.pointers.get(t).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(t){var r;return(r=this.mouse.position.target)!==null&&r!==void 0?r:t.config.document.body}setMousePosition(t){this.mouse.position=t,this.pointers.get("mouse").position=t}constructor(t){bc(this,"system",void 0),bc(this,"mouse",void 0),bc(this,"buttons",void 0),bc(this,"devices",new class{get(r){var n,i,a;return(a=(n=this.registry)[i=r])!==null&&a!==void 0?a:n[i]=new cCt}constructor(){bc(this,"registry",{})}}),bc(this,"pointers",new class{new(r,n,i){let a=n!=="touch"||!Object.values(this.registry).some(s=>s.pointerType==="touch"&&!s.isCancelled);return a||Object.values(this.registry).forEach(s=>{s.pointerType===n&&!s.isCancelled&&(s.isMultitouch=!0)}),this.registry[r]=new dCt({pointerId:this.nextId++,pointerType:n,isPrimary:a},i),this.registry[r]}get(r){if(!this.has(r))throw new Error(`Trying to access pointer "${r}" which does not exist.`);return this.registry[r]}has(r){return r in this.registry}constructor(){bc(this,"registry",{}),bc(this,"nextId",1)}}),this.system=t,this.buttons=new L_e,this.mouse=new uCt,this.pointers.new("mouse","mouse",this.buttons)}};T(V_e,"PointerHost");var pCt=V_e;function BD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}T(BD,"_define_property");var Y_e=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){BD(this,"keyboard",new sCt(this)),BD(this,"pointer",new pCt(this))}};T(Y_e,"System");var K_e=Y_e;async function X_e(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}T(X_e,"click");async function Q_e(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}T(Q_e,"dblClick");async function J_e(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}T(J_e,"tripleClick");async function Z_e(e){return this.pointer({target:e})}T(Z_e,"hover");async function eAe(e){return um(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}T(eAe,"unhover");async function tAe({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}T(tAe,"tab");var _U=(function(e){return e["{"]="}",e["["]="]",e})(_U||{});function AU(e,t){let r=0,n=e[r]in _U?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?rAe(e,r,t):nAe(e,r,i,t)}}T(AU,"readNextDescriptor");function rAe(e,t,r){let n=e[t];return CU(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}T(rAe,"readPrintableChar");function nAe(e,t,r,n){var i,a;let s=e[t]==="/"?"/":"";t+=s.length;let o=r==="{"&&e[t]==="\\";t+=Number(o);let l=o?e[t]:(i=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||i===void 0?void 0:i[0];CU(l,e,t,n),t+=l.length;var c;let u=(c=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&c!==void 0?c:"";t+=u.length;let d=e[t]==="/"||!u&&e[t]===">"?e[t]:"";t+=d.length;let h=_U[r],p=e[t]===h?h:"";if(!p)throw new Error(EU([!u&&"repeat modifier",!d&&"release modifier",`"${h}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=p.length,{consumedLength:t,descriptor:l,releasePrevious:!!s,repeat:u?Math.max(Number(u.substr(1)),1):1,releaseSelf:iAe(d,u)}}T(nAe,"readTag");function CU(e,t,r,n){if(!e)throw new Error(EU("key descriptor",t[r],t,n))}T(CU,"assertDescriptor");function iAe(e,t){if(e)return e==="/";if(t)return!1}T(iAe,"hasReleaseSelf");function EU(e,t,r,n){return`Expected ${e} but found "${t!=null?t:""}" in "${r}"
See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
for more information about how userEvent parses your input.`}T(EU,"getErrorMessage");function aAe(e,t){let r=[];do{let{type:i,descriptor:a,consumedLength:s,releasePrevious:o,releaseSelf:l=!0,repeat:c}=AU(t,"keyboard");var n;let u=(n=e.find(d=>{if(i==="["){var h;return((h=d.code)===null||h===void 0?void 0:h.toLowerCase())===a.toLowerCase()}else if(i==="{"){var p;return((p=d.key)===null||p===void 0?void 0:p.toLowerCase())===a.toLowerCase()}return d.key===a}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[i==="["?"code":"key"]:a};r.push({keyDef:u,releasePrevious:o,releaseSelf:l,repeat:c}),t=t.slice(s)}while(t);return r}T(aAe,"parseKeyDef");async function sAe(e){let t=aAe(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Dh(this.config),await oAe(this,t[r])}T(sAe,"keyboard");async function oAe(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:i}){let{system:a}=e;if(a.keyboard.isKeyPressed(t)&&await a.keyboard.keyup(e,t),!r){for(let s=1;s<=i;s++)await a.keyboard.keydown(e,t),s<i&&await Dh(e.config);n&&await a.keyboard.keyup(e,t)}}T(oAe,"keyboardAction");async function lAe(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}T(lAe,"releaseAllKeys");function PU(e){let t=No(e)?{"text/plain":cAe(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=U_(as(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}T(PU,"copySelection");function cAe(e){let t=Ng(e);return qo(e).substring(t.startOffset,t.endOffset)}T(cAe,"readSelectedValueFromInput");async function uAe(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=PU(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await sU(e,n),n}T(uAe,"copy");async function dAe(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=PU(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await sU(r.ownerDocument,n),n}T(dAe,"cut");async function pAe(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var i;let a=(i=typeof e=="string"?hAe(t,e):e)!==null&&i!==void 0?i:await k4e(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:a})}T(pAe,"paste");function hAe(e,t){let r=U_(as(e));return r.setData("text",t),r}T(hAe,"getClipboardDataFromString");function ND(e,t){let r=[];do{let{descriptor:n,consumedLength:i,releasePrevious:a,releaseSelf:s=!0}=AU(t,"pointer"),o=e.find(l=>l.name===n);o&&r.push({keyDef:o,releasePrevious:a,releaseSelf:s}),t=t.slice(i)}while(t);return r}T(ND,"parseKeyDef");async function fAe(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...ND(t,n)):"keys"in n?r.push(...ND(t,n.keys).map(i=>({...n,...i}))):r.push(n)});for(let n=0;n<r.length;n++)await Dh(this.config),await mAe(this,r[n]);this.system.pointer.resetClickCount()}T(fAe,"pointer");async function mAe(e,t){var r,n;let i="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",a=e.system.pointer.getPreviousPosition(i);var s,o,l,c;let u={target:(s=t.target)!==null&&s!==void 0?s:gAe(e,a),coords:(o=t.coords)!==null&&o!==void 0?o:a==null?void 0:a.coords,caret:{node:(l=t.node)!==null&&l!==void 0?l:qD(t)||a==null||(r=a.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:qD(t)||a==null||(n=a.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(cm(e,Na.Trigger),await e.system.pointer.release(e,t.keyDef,u)),t.releasePrevious||(cm(e,Na.Trigger),await e.system.pointer.press(e,t.keyDef,u),t.releaseSelf&&(cm(e,Na.Trigger),await e.system.pointer.release(e,t.keyDef,u)))):(cm(e,Na.Trigger),await e.system.pointer.move(e,i,u))}T(mAe,"pointerAction");function qD(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}T(qD,"hasCaretPosition");function gAe(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}T(gAe,"getPrevTarget");async function bAe(e){if(!Oh(e)||Ll(e))throw new Error("clear()` is only supported on editable elements.");if(au(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(mU(e),!g_e(e))throw new Error("The element content to be cleared could not be selected.");kh(this,e,"","deleteContentBackward")}T(bAe,"clear");async function yAe(e,t){return jU.call(this,!0,e,t)}T(yAe,"selectOptions");async function vAe(e,t){return jU.call(this,!1,e,t)}T(vAe,"deselectOptions");async function jU(e,t,r){if(!e&&!t.multiple)throw xr().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],i=Array.from(t.querySelectorAll('option, [role="option"]')),a=n.map(o=>{if(typeof o!="string"&&i.includes(o))return o;{let l=i.find(c=>c.value===o||c.innerHTML===o);if(l)return l;throw xr().getElementError(`Value "${String(o)}" not found in options`,t)}}).filter(o=>!Ll(o));if(Ll(t)||!a.length)return;let s=T(o=>{o.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")},"selectOption");if(ir(t,"select"))if(t.multiple)for(let o of a){let l=this.config.pointerEventsCheck===0?!0:j7(this,o);l&&(this.dispatchUIEvent(o,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(o,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(o,"pointermove"),this.dispatchUIEvent(o,"mousemove"),this.dispatchUIEvent(o,"pointerdown"),this.dispatchUIEvent(o,"mousedown")),au(t),l&&(this.dispatchUIEvent(o,"pointerup"),this.dispatchUIEvent(o,"mouseup")),s(o),l&&this.dispatchUIEvent(o,"click"),await Dh(this.config)}else if(a.length===1){let o=this.config.pointerEventsCheck===0?!0:j7(this,t);o?await this.click(t):au(t),s(a[0]),o&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Dh(this.config)}else throw xr().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let o of a)await this.click(o),await this.unhover(o);else throw xr().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}T(jU,"selectOptionsBase");async function TAe(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:i,initialSelectionEnd:a}={}){e.disabled||(r||await this.click(e),i!==void 0&&lm(e,i,a!=null?a:i),await this.keyboard(t),n||await lAe(this))}T(TAe,"type");var Rre=Symbol("files and value properties are mocked");function NT(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}T(NT,"restoreProperty");function SAe(e,t){var r;(r=e[Rre])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),i=Object.getOwnPropertyDescriptor(e,"value"),a=Object.getOwnPropertyDescriptor(e,"files");function s(){NT(e,"type",n),NT(e,"value",i),NT(e,"files",a)}T(s,"restore"),e[Rre]={restore:s},Object.defineProperties(e,{files:{configurable:!0,get:T(()=>t,"get")},value:{configurable:!0,get:T(()=>t.length?`C:\\fakepath\\${t[0].name}`:"","get"),set(o){if(o==="")s();else{var l;i==null||(l=i.set)===null||l===void 0||l.call(e,o)}}},type:{configurable:!0,get:T(()=>"file","get"),set(o){o!=="file"&&(s(),e.type=o)}}})}T(SAe,"setFiles");async function xAe(e,t){let r=ir(e,"label")?e.control:e;if(!r||!ir(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r==null?void 0:r.tagName} element does not accept file uploads`);if(Ll(e))return;let n=(Array.isArray(t)?t:[t]).filter(a=>!this.config.applyAccept||wAe(a,r.accept)).slice(0,r.multiple?void 0:1),i=T(()=>{var a;n.length===((a=r.files)===null||a===void 0?void 0:a.length)&&n.every((s,o)=>{var l;return s===((l=r.files)===null||l===void 0?void 0:l.item(o))})||(SAe(r,H_(as(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))},"fileDialog");r.addEventListener("fileDialog",i),await this.click(e),r.removeEventListener("fileDialog",i)}T(xAe,"upload");function my(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}T(my,"normalize");function wAe(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return my(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?my(e.name).endsWith(n):r.includes(n)?my(e.type).startsWith(n.replace("*","")):my(e.type)===n)}T(wAe,"isAcceptableFile");var Ire={click:X_e,dblClick:Q_e,tripleClick:J_e,hover:Z_e,unhover:eAe,tab:tAe,keyboard:sAe,copy:uAe,cut:dAe,paste:pAe,pointer:fAe,clear:bAe,deselectOptions:vAe,selectOptions:yAe,type:TAe,upload:xAe};function _Ae(e){return xr().asyncWrapper(e)}T(_Ae,"wrapAsync");var AAe={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:oCt,pointerMap:lCt,pointerEventsCheck:BT.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:T(()=>Promise.resolve(),"advanceTimers")},hCt={...AAe,writeToClipboard:!0};function RU(e={},t=hCt,r){let n=jAe(e,r,t);return{...t,...e,document:n}}T(RU,"createConfig");function CAe(e={}){let t=RU(e);TU(t.document),vU(as(t.document).HTMLElement);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return I4e(n),X_(t).api}T(CAe,"setupMain");function Ti({keyboardState:e,pointerState:t,...r}={},n){let i=RU(r,AAe,n);TU(i.document),vU(as(i.document).HTMLElement);var a;let s=(a=t!=null?t:e)!==null&&a!==void 0?a:new K_e;return{api:X_(i,s).api,system:s}}T(Ti,"setupDirect");function EAe(e){return X_({...this.config,...e},this.system).api}T(EAe,"setupSub");function PAe(e,t){function r(...n){return cm(e,Na.Call),_Ae(()=>t.apply(e,n).then(async i=>(await Dh(e.config),i)))}return T(r,"method"),Object.defineProperty(r,"name",{get:T(()=>t.name,"get")}),r}T(PAe,"wrapAndBindImpl");function X_(e,t=new K_e){let r={};return Object.assign(r,{config:e,dispatchEvent:yU.bind(r),dispatchUIEvent:C_e.bind(r),system:t,levelRefs:{},...Ire}),{instance:r,api:{...Object.fromEntries(Object.entries(Ire).map(([n,i])=>[n,PAe(r,i)])),setup:EAe.bind(r)}}}T(X_,"createInstance");function jAe(e,t,r){var n,i;return(i=(n=e.document)!==null&&n!==void 0?n:t&&I_e(t))!==null&&i!==void 0?i:r.document}T(jAe,"getDocument");var RAe={};M4(RAe,{clear:()=>IAe,click:()=>OAe,copy:()=>MAe,cut:()=>kAe,dblClick:()=>DAe,deselectOptions:()=>LAe,hover:()=>FAe,keyboard:()=>$Ae,paste:()=>NAe,pointer:()=>BAe,selectOptions:()=>qAe,tab:()=>GAe,tripleClick:()=>zAe,type:()=>WAe,unhover:()=>HAe,upload:()=>UAe});function IAe(e){return Ti().api.clear(e)}T(IAe,"clear");function OAe(e,t={}){return Ti(t,e).api.click(e)}T(OAe,"click");function MAe(e={}){return Ti(e).api.copy()}T(MAe,"copy");function kAe(e={}){return Ti(e).api.cut()}T(kAe,"cut");function DAe(e,t={}){return Ti(t).api.dblClick(e)}T(DAe,"dblClick");function LAe(e,t,r={}){return Ti(r).api.deselectOptions(e,t)}T(LAe,"deselectOptions");function FAe(e,t={}){return Ti(t).api.hover(e)}T(FAe,"hover");async function $Ae(e,t={}){let{api:r,system:n}=Ti(t);return r.keyboard(e).then(()=>n)}T($Ae,"keyboard");async function BAe(e,t={}){let{api:r,system:n}=Ti(t);return r.pointer(e).then(()=>n)}T(BAe,"pointer");function NAe(e,t){return Ti(t).api.paste(e)}T(NAe,"paste");function qAe(e,t,r={}){return Ti(r).api.selectOptions(e,t)}T(qAe,"selectOptions");function zAe(e,t={}){return Ti(t).api.tripleClick(e)}T(zAe,"tripleClick");function WAe(e,t,r={}){return Ti(r,e).api.type(e,t,r)}T(WAe,"type");function HAe(e,t={}){let{api:r,system:n}=Ti(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}T(HAe,"unhover");function UAe(e,t,r={}){return Ti(r).api.upload(e,t)}T(UAe,"upload");function GAe(e={}){return Ti().api.tab(e)}T(GAe,"tab");var VAe={...RAe,setup:CAe};function YAe(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var i=n.reduce(function(o,l){var c=l.match(/\n([\t ]+|(?!\s).)/g);return c?o.concat(c.map(function(u){var d,h;return(h=(d=u.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&h!==void 0?h:0})):o},[]);if(i.length){var a=new RegExp(`
[ ]{`+Math.min.apply(Math,i)+"}","g");n=n.map(function(o){return o.replace(a,`
`)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(o,l){var c=s.match(/(?:^|\n)( *)$/),u=c?c[1]:"",d=o;typeof o=="string"&&o.includes(`
`)&&(d=String(o).split(`
`).map(function(h,p){return p===0?h:""+u+h}).join(`
`)),s+=d+n[l+1]}),s}T(YAe,"dedent");var fCt=YAe,zD=M1({...iwe},{getKeys:T(e=>Object.keys(e).filter(t=>t!=="eventWrapper"),"getKeys"),intercept:T((e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor"),"intercept")});zD.screen=new Proxy(zD.screen,{get(e,t,r){return pn.warn(fCt`
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error
`),Reflect.get(e,t,r)}});var{buildQueries:zar,configure:War,createEvent:Har,fireEvent:Uar,findAllByAltText:Gar,findAllByDisplayValue:Var,findAllByLabelText:Yar,findAllByPlaceholderText:Kar,findAllByRole:Xar,findAllByTestId:Qar,findAllByText:Jar,findAllByTitle:Zar,findByAltText:esr,findByDisplayValue:tsr,findByLabelText:rsr,findByPlaceholderText:nsr,findByRole:isr,findByTestId:asr,findByText:ssr,findByTitle:osr,getAllByAltText:lsr,getAllByDisplayValue:csr,getAllByLabelText:usr,getAllByPlaceholderText:dsr,getAllByRole:psr,getAllByTestId:hsr,getAllByText:fsr,getAllByTitle:msr,getByAltText:gsr,getByDisplayValue:bsr,getByLabelText:ysr,getByPlaceholderText:vsr,getByRole:Tsr,getByTestId:Ssr,getByText:xsr,getByTitle:wsr,getConfig:_sr,getDefaultNormalizer:Asr,getElementError:Csr,getNodeText:Esr,getQueriesForElement:Psr,getRoles:jsr,getSuggestedQuery:Rsr,isInaccessible:Isr,logDOM:Osr,logRoles:Msr,prettyDOM:ksr,queries:Dsr,queryAllByAltText:Lsr,queryAllByAttribute:Fsr,queryAllByDisplayValue:$sr,queryAllByLabelText:Bsr,queryAllByPlaceholderText:Nsr,queryAllByRole:qsr,queryAllByTestId:zsr,queryAllByText:Wsr,queryAllByTitle:Hsr,queryByAltText:Usr,queryByAttribute:Gsr,queryByDisplayValue:Vsr,queryByLabelText:Ysr,queryByPlaceholderText:Ksr,queryByRole:Xsr,queryByTestId:Qsr,queryByText:Jsr,queryByTitle:Zsr,queryHelpers:eor,screen:tor,waitFor:ror,waitForElementToBeRemoved:nor,within:mCt,prettyFormat:ior}=zD,gCt=VAe,{userEvent:aor}=M1({userEvent:VAe},{intercept:!0,getKeys:T(e=>Object.keys(e).filter(t=>t!=="eventWrapper"),"getKeys")}),{expect:sor}=M1({expect:Xxe},{getKeys:T((e,t)=>{if("constructor"in e&&e.constructor===ee){let r=["assert","__methods","__flags","_obj"],n=Object.keys(Object.getPrototypeOf(e)).filter(i=>!r.includes(i));return t>2?n:[...n,"not"]}return"any"in e?Object.keys(e).filter(r=>r!=="any"):Object.keys(e)},"getKeys"),mutate:!0,intercept:T(e=>e!=="expect","intercept")}),bCt=Object.create,Q_=Object.defineProperty,yCt=Object.getOwnPropertyDescriptor,vCt=Object.getOwnPropertyNames,TCt=Object.getPrototypeOf,SCt=Object.prototype.hasOwnProperty,ge=(e,t)=>Q_(e,"name",{value:t,configurable:!0}),xCt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),KAe=(e,t)=>{for(var r in t)Q_(e,r,{get:t[r],enumerable:!0})},wCt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of vCt(t))!SCt.call(e,i)&&i!==r&&Q_(e,i,{get:()=>t[i],enumerable:!(n=yCt(t,i))||n.enumerable});return e},_Ct=(e,t,r)=>(r=e!=null?bCt(TCt(e)):{},wCt(Q_(r,"default",{value:e,enumerable:!0}),e)),ACt=xCt(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=(function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(i){return Object.keys(i).concat(Object.getOwnPropertySymbols(i))}:Object.keys;return function(i,a){return ge(function s(o,l,c){var u,d,h,p=t.call(o),m=t.call(l);if(o===l)return!0;if(o==null||l==null)return!1;if(c.indexOf(o)>-1&&c.indexOf(l)>-1)return!0;if(c.push(o,l),p!=m||(u=n(o),d=n(l),u.length!=d.length||u.some(function(g){return!s(o[g],l[g],c)})))return!1;switch(p.slice(8,-1)){case"Symbol":return o.valueOf()==l.valueOf();case"Date":case"Number":return+o==+l||+o!=+o&&+l!=+l;case"RegExp":case"Function":case"String":case"Boolean":return""+o==""+l;case"Set":case"Map":u=o.entries(),d=l.entries();do if(!s((h=u.next()).value,d.next().value,c))return!1;while(!h.done);return!0;case"ArrayBuffer":o=new Uint8Array(o),l=new Uint8Array(l);case"DataView":o=new Uint8Array(o.buffer),l=new Uint8Array(l.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(o.length!=l.length)return!1;for(h=0;h<o.length;h++)if((h in o||h in l)&&(h in o!=h in l||!s(o[h],l[h],c)))return!1;return!0;case"Object":return s(r(o),r(l),c);default:return!1}},"n")(i,a,[])}})()});function XAe(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,i)=>`${r} ${n}${i}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}ge(XAe,"toStartCaseStr");var Ore=_Ct(ACt()),QAe=ge(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),CCt=ge((e,t)=>{let{exists:r,eq:n,neq:i,truthy:a}=e;if(QAe([r,n,i,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:i})}`);if(typeof n<"u")return(0,Ore.isEqual)(t,n);if(typeof i<"u")return!(0,Ore.isEqual)(t,i);if(typeof r<"u"){let s=typeof t<"u";return r?s:!s}return typeof a>"u"||a?!!t:!t},"testValue"),JAe=ge((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:i}=e.if;if(QAe([n,i])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:i})}`);let a=n?t[n]:r[i];return CCt(e.if,a)},"includeConditionalArg");function ZAe(){let e={setHandler:ge(()=>{},"setHandler"),send:ge(()=>{},"send")};return new kq({transport:e})}ge(ZAe,"mockChannel");var e8e=class{constructor(){this.getChannel=ge(()=>{if(!this.channel){let t=ZAe();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=ge(()=>this.promise,"ready"),this.hasChannel=ge(()=>!!this.channel,"hasChannel"),this.setChannel=ge(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};ge(e8e,"AddonStore");var ECt=e8e,L9="__STORYBOOK_ADDONS_PREVIEW";function t8e(){return Ue[L9]||(Ue[L9]=new ECt),Ue[L9]}ge(t8e,"getAddonsStore");var Mre=t8e(),r8e=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=ge(t=>{var r;t===((r=this.currentContext)==null?void 0:r.id)&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),Mre.getChannel().on(Tg,this.renderListener)}removeRenderListeners(){Mre.getChannel().removeListener(Tg,this.renderListener)}};ge(r8e,"HooksContext");var PCt=r8e;function WD(e){let t=ge((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],i=n.currentPhase,a=n.currentHooks,s=n.nextHookIndex,o=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let l=Ue.STORYBOOK_HOOKS_CONTEXT;Ue.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(Ue.STORYBOOK_HOOKS_CONTEXT=l,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=i,n.currentHooks=a,n.nextHookIndex=s,n.currentDecoratorName=o,c},"hookified");return t.originalFn=e,t}ge(WD,"hookify");var F9=0,jCt=25,RCt=ge(e=>(t,r)=>{let n=e(WD(t),r.map(i=>WD(i)));return i=>{var o;let{hooks:a}=i;(o=a.prevMountedDecorators)!=null||(a.prevMountedDecorators=new Set),a.mountedDecorators=new Set([t,...r]),a.currentContext=i,a.hasUpdates=!1;let s=n(i);for(F9=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],s=n(i),F9+=1,F9>jCt)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),s}},"applyHooks");function qT(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}ge(qT,"isPlainObject");function qg(e,t){let r={},n=Object.keys(e);for(let i=0;i<n.length;i++){let a=n[i],s=e[a];r[a]=t(s,a,e)}return r}ge(qg,"mapValues");function n8e(e,t){let r={},n=Object.keys(e);for(let i=0;i<n.length;i++){let a=n[i],s=e[a];t(s,a)&&(r[a]=s)}return r}ge(n8e,"pickBy");function J_(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var i=n.reduce(function(o,l){var c=l.match(/\n([\t ]+|(?!\s).)/g);return c?o.concat(c.map(function(u){var d,h;return(h=(d=u.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&h!==void 0?h:0})):o},[]);if(i.length){var a=new RegExp(`
[ ]{`+Math.min.apply(Math,i)+"}","g");n=n.map(function(o){return o.replace(a,`
`)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(o,l){var c=s.match(/(?:^|\n)( *)$/),u=c?c[1]:"",d=o;typeof o=="string"&&o.includes(`
`)&&(d=String(o).split(`
`).map(function(h,p){return p===0?h:""+u+h}).join(`
`)),s+=d+n[l+1]}),s}ge(J_,"dedent");var i8e="UNTARGETED";function a8e({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,i])=>{let{target:a=i8e}=t[n]||{};r[a]=r[a]||{},r[a][n]=i}),r}ge(a8e,"groupArgsByTarget");var ICt=ge((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),OCt=ge(e=>typeof e=="string"?{name:e}:e,"normalizeType"),MCt=ge(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),kCt=ge((e,t)=>{let{type:r,control:n,...i}=e,a={name:t,...i};return r&&(a.type=OCt(r)),n?a.control=MCt(n):n===!1&&(a.control={disable:!0}),a},"normalizeInputType"),iw=ge(e=>qg(e,kCt),"normalizeInputTypes"),Rr=ge(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),DCt=J_`
CSF .story annotations deprecated; annotate story functions directly:
- StoryFn.story.name => StoryFn.storyName
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
`;function s8e(e,t,r){let n=t,i=typeof t=="function"?t:null,{story:a}=n;a&&(d0.debug("deprecated story",a),Eq(DCt));let s=tCe(e),o=typeof n!="function"&&n.name||n.storyName||(a==null?void 0:a.name)||s,l=[...Rr(n.decorators),...Rr(a==null?void 0:a.decorators)],c={...a==null?void 0:a.parameters,...n.parameters},u={...a==null?void 0:a.args,...n.args},d={...a==null?void 0:a.argTypes,...n.argTypes},h=[...Rr(n.loaders),...Rr(a==null?void 0:a.loaders)],p=[...Rr(n.beforeEach),...Rr(a==null?void 0:a.beforeEach)],m=[...Rr(n.afterEach),...Rr(a==null?void 0:a.afterEach)],{render:g,play:b,tags:y=[],globals:v={}}=n,S=c.__id||eCe(r.id,s);return{moduleExport:t,id:S,name:o,tags:y,decorators:l,parameters:c,args:u,argTypes:iw(d),loaders:h,beforeEach:p,afterEach:m,globals:v,...g&&{render:g},...i&&{userStoryFn:i},...b&&{play:b}}}ge(s8e,"normalizeStory");function o8e(e,t=e.title,r){let{id:n,argTypes:i}=e;return{id:BU(n||t),...e,title:t,...i&&{argTypes:iw(i)},parameters:{fileName:r,...e.parameters}}}ge(o8e,"normalizeComponentAnnotations");function l8e(e){return e!=null&&c8e(e).includes("mount")}ge(l8e,"mountDestructured");function c8e(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=HD(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?HD(n.slice(1,-1).replace(/\s/g,"")).map(i=>i.replace(/:.*|=.*/g,"")):[]}ge(c8e,"getUsedProps");function HD(e){let t=[],r=[],n=0;for(let a=0;a<e.length;a++)if(e[a]==="{"||e[a]==="[")r.push(e[a]==="{"?"}":"]");else if(e[a]===r[r.length-1])r.pop();else if(!r.length&&e[a]===","){let s=e.substring(n,a).trim();s&&t.push(s),n=a+1}let i=e.substring(n).trim();return i&&t.push(i),t}ge(HD,"splitByComma");function u8e(e,t,r){let n=r(e);return i=>t(n,i)}ge(u8e,"decorateStory");function d8e({componentId:e,title:t,kind:r,id:n,name:i,story:a,parameters:s,initialArgs:o,argTypes:l,...c}={}){return c}ge(d8e,"sanitizeStoryContextUpdate");function p8e(e,t){let r={},n=ge(a=>s=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...d8e(s)},a(r.value)},"bindWithContext"),i=t.reduce((a,s)=>u8e(a,s,n),e);return a=>(r.value=a,i(a))}ge(p8e,"defaultDecorateStory");var Od=ge((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((i,a)=>(Object.entries(a).forEach(([s,o])=>{let l=i[s];Array.isArray(o)||typeof l>"u"?i[s]=o:qT(o)&&qT(l)?t[s]=!0:typeof o<"u"&&(i[s]=o)}),i),{});return Object.keys(t).forEach(i=>{let a=r.filter(Boolean).map(s=>s[i]).filter(s=>typeof s<"u");a.every(s=>qT(s))?n[i]=Od(...a):n[i]=a[a.length-1]}),n},"combineParameters");function h8e(e,t,r){var A,_,C,E;let{moduleExport:n,id:i,name:a}=e||{},s=f8e(e,t,r),o=ge(async R=>{let P={};for(let O of[Rr(r.loaders),Rr(t.loaders),Rr(e.loaders)]){if(R.abortSignal.aborted)return P;let k=await Promise.all(O.map(I=>I(R)));Object.assign(P,...k)}return P},"applyLoaders"),l=ge(async R=>{let P=new Array;for(let O of[...Rr(r.beforeEach),...Rr(t.beforeEach),...Rr(e.beforeEach)]){if(R.abortSignal.aborted)return P;let k=await O(R);k&&P.push(k)}return P},"applyBeforeEach"),c=ge(async R=>{let P=[...Rr(r.afterEach),...Rr(t.afterEach),...Rr(e.afterEach)].reverse();for(let O of P){if(R.abortSignal.aborted)return;await O(R)}},"applyAfterEach"),u=ge(R=>R.originalStoryFn(R.args,R),"undecoratedStoryFn"),{applyDecorators:d=p8e,runStep:h}=r,p=[...Rr(e==null?void 0:e.decorators),...Rr(t==null?void 0:t.decorators),...Rr(r==null?void 0:r.decorators)],m=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render,g=RCt(d)(u,p),b=ge(R=>g(R),"unboundStoryFn"),y=(A=e==null?void 0:e.play)!=null?A:t==null?void 0:t.play,v=l8e(y);if(!m&&!v)throw new x7e({id:i});let S=ge(R=>async()=>(await R.renderToCanvas(),R.canvas),"defaultMount"),x=(E=(C=(_=e.mount)!=null?_:t.mount)!=null?C:r.mount)!=null?E:S,w=r.testingLibraryRender;return{storyGlobals:{},...s,moduleExport:n,id:i,name:a,story:a,originalStoryFn:m,undecoratedStoryFn:u,unboundStoryFn:b,applyLoaders:o,applyBeforeEach:l,applyAfterEach:c,playFunction:y,runStep:h,mount:x,testingLibraryRender:w,renderToCanvas:r.renderToCanvas,usesMount:v}}ge(h8e,"prepareStory");function f8e(e,t,r){var y,v,S,x;let n=["dev","test"],i=((y=Ue.DOCS_OPTIONS)==null?void 0:y.autodocs)===!0?["autodocs"]:[],a=NU(...n,...i,...(v=r.tags)!=null?v:[],...(S=t.tags)!=null?S:[],...(x=e==null?void 0:e.tags)!=null?x:[]),s=Od(r.parameters,t.parameters,e==null?void 0:e.parameters),{argTypesEnhancers:o=[],argsEnhancers:l=[]}=r,c=Od(r.argTypes,t.argTypes,e==null?void 0:e.argTypes);if(e){let w=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render;s.__isArgsStory=w&&w.length>0}let u={...r.args,...t.args,...e==null?void 0:e.args},d={...t.globals,...e==null?void 0:e.globals},h={componentId:t.id,title:t.title,kind:t.title,id:(e==null?void 0:e.id)||t.id,name:(e==null?void 0:e.name)||"__meta",story:(e==null?void 0:e.name)||"__meta",component:t.component,subcomponents:t.subcomponents,tags:a,parameters:s,initialArgs:u,argTypes:c,storyGlobals:d};h.argTypes=o.reduce((w,A)=>A({...h,argTypes:w}),h.argTypes);let p={...u};h.initialArgs=[...l].reduce((w,A)=>({...w,...A({...h,initialArgs:w})}),p);let{name:m,story:g,...b}=h;return b}ge(f8e,"preparePartialAnnotations");function m8e(e){var a;let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if((a=Ue.FEATURES)!=null&&a.argTypeTargetsV7){let s=a8e(e);r={...e,allArgs:e.args,argsByTarget:s,args:s[i8e]||{}}}let n=Object.entries(r.args).reduce((s,[o,l])=>{var u;if(!((u=r.argTypes[o])!=null&&u.mapping))return s[o]=l,s;let c=ge(d=>{let h=r.argTypes[o].mapping;return h&&d in h?h[d]:d},"mappingFn");return s[o]=Array.isArray(l)?l.map(c):c(l),s},{}),i=Object.entries(n).reduce((s,[o,l])=>{let c=r.argTypes[o]||{};return JAe(c,n,r.globals)&&(s[o]=l),s},{});return{...r,unmappedArgs:t,args:i}}ge(m8e,"prepareContext");var UD=ge((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n}}return e?r.has(e)?(d0.warn(J_`
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
Consider using the mapping feature or fully custom args:
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?UD(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:qg(e,i=>UD(i,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),g8e=ge(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,i=qg(n,(s,o)=>({name:o,type:UD(s,`${t}.${o}`,new Set)})),a=qg(r,(s,o)=>({name:o}));return Od(i,a,r)},"inferArgTypes");g8e.secondPass=!0;var kre=ge((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),LCt=ge((e,t,r)=>!t&&!r?e:e&&n8e(e,(n,i)=>{let a=n.name||i.toString();return!!(!t||kre(a,t))&&(!r||!kre(a,r))}),"filterArgTypes"),FCt=ge((e,t,r)=>{let{type:n,options:i}=e;if(n){if(r.color&&r.color.test(t)){let a=n.name;if(a==="string")return{control:{type:"color"}};a!=="enum"&&d0.warn(`Addon controls: Control of type color only supports string, received "${a}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:a}=n;return{control:{type:(a==null?void 0:a.length)<=5?"radio":"select"},options:a}}case"function":case"symbol":return null;default:return{control:{type:i?"select":"object"}}}}},"inferControl"),b8e=ge(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:i=null,matchers:a={}}={}}}=e;if(!r)return t;let s=LCt(t,n,i),o=qg(s,(l,c)=>(l==null?void 0:l.type)&&FCt(l,c.toString(),a));return Od(o,s)},"inferControls");b8e.secondPass=!0;function IU({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:i,beforeEach:a,afterEach:s,initialGlobals:o,...l}){return{...e&&{argTypes:iw(e)},...t&&{globalTypes:iw(t)},decorators:Rr(n),loaders:Rr(i),beforeEach:Rr(a),afterEach:Rr(s),argTypesEnhancers:[...r||[],g8e,b8e],initialGlobals:o,...l}}ge(IU,"normalizeProjectAnnotations");var $Ct=ge(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function y8e(e){return async(t,r,n)=>{await e.reduceRight((i,a)=>async()=>a(t,i,n),async()=>r(n))()}}ge(y8e,"composeStepRunners");function zg(e,t){return e.map(r=>{var n,i;return(i=(n=r.default)==null?void 0:n[t])!=null?i:r[t]}).filter(Boolean)}ge(zg,"getField");function yc(e,t,r={}){return zg(e,t).reduce((n,i)=>{let a=Rr(i);return r.reverseFileOrder?[...a,...n]:[...n,...a]},[])}ge(yc,"getArrayField");function gy(e,t){return Object.assign({},...zg(e,t))}ge(gy,"getObjectField");function zf(e,t){return zg(e,t).pop()}ge(zf,"getSingletonField");function OU(e){var i,a;let t=yc(e,"argTypesEnhancers"),r=zg(e,"runStep"),n=yc(e,"beforeAll");return{parameters:Od(...zg(e,"parameters")),decorators:yc(e,"decorators",{reverseFileOrder:!((a=(i=Ue.FEATURES)==null?void 0:i.legacyDecoratorFileOrder)!=null&&a)}),args:gy(e,"args"),argsEnhancers:yc(e,"argsEnhancers"),argTypes:gy(e,"argTypes"),argTypesEnhancers:[...t.filter(s=>!s.secondPass),...t.filter(s=>s.secondPass)],initialGlobals:gy(e,"initialGlobals"),globalTypes:gy(e,"globalTypes"),loaders:yc(e,"loaders"),beforeAll:$Ct(n),beforeEach:yc(e,"beforeEach"),afterEach:yc(e,"afterEach"),render:zf(e,"render"),renderToCanvas:zf(e,"renderToCanvas"),applyDecorators:zf(e,"applyDecorators"),runStep:y8e(r),tags:yc(e,"tags"),mount:zf(e,"mount"),testingLibraryRender:zf(e,"testingLibraryRender")}}ge(OU,"composeConfigs");function v8e(){var e,t,r;try{return!!globalThis.__vitest_browser__||!!((r=(t=(e=globalThis.window)==null?void 0:e.navigator)==null?void 0:t.userAgent)!=null&&r.match(/StorybookTestRunner/))}catch(n){return!1}}ge(v8e,"isTestEnvironment");function T8e(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
animation: none !important;
}`,document.head.appendChild(t);let r=document.createElement("style");return r.textContent=`*, *:before, *:after {
animation-delay: 0s !important;
animation-direction: ${e?"reverse":"normal"} !important;
animation-play-state: paused !important;
transition: none !important;
}`,document.head.appendChild(r),document.body.clientHeight,document.head.removeChild(t),()=>{var n;(n=r.parentNode)==null||n.removeChild(r)}}ge(T8e,"pauseAnimations");async function S8e(e){if(!("document"in globalThis&&"getAnimations"in globalThis.document&&"querySelectorAll"in globalThis.document))return;let t=!1;await Promise.race([new Promise(r=>{setTimeout(()=>{let n=[globalThis.document,...MU(globalThis.document)],i=ge(async()=>{if(t||e!=null&&e.aborted)return;let a=n.flatMap(s=>{var o;return((o=s==null?void 0:s.getAnimations)==null?void 0:o.call(s))||[]}).filter(s=>s.playState==="running"&&!x8e(s));a.length>0&&(await Promise.all(a.map(s=>s.finished)),await i())},"checkAnimationsFinished");i().then(r)},100)}),new Promise(r=>setTimeout(()=>{t=!0,r(void 0)},5e3))])}ge(S8e,"waitForAnimations");function MU(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...MU(r.shadowRoot)),t),[])}ge(MU,"getShadowRoots");function x8e(e){var t;if(e instanceof CSSAnimation&&e.effect instanceof KeyframeEffect&&e.effect.target){let r=getComputedStyle(e.effect.target,e.effect.pseudoElement),n=(t=r.animationName)==null?void 0:t.split(", ").indexOf(e.animationName);return r.animationIterationCount.split(", ")[n]==="infinite"}return!1}ge(x8e,"isInfiniteAnimation");var w8e=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};ge(w8e,"ReporterAPI");var BCt=w8e,NCt="ComposedStory",qCt="Unnamed Story",nd=[];function _8e(e,t,r,n,i){var y,v,S;if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=(y=t.title)!=null?y:NCt;let a=o8e(t),s=i||e.storyName||((v=e.story)==null?void 0:v.name)||e.name||qCt,o=s8e(s,e,a),l=IU(OU([(S=n!=null?n:globalThis.globalProjectAnnotations)!=null?S:{},r!=null?r:{}])),c=h8e(o,a,l),u={...ICt(l.globalTypes),...l.initialGlobals,...c.storyGlobals},d=new BCt,h=ge(()=>{let x=m8e({hooks:new PCt,globals:u,args:{...c.initialArgs},viewMode:"story",reporting:d,loaded:{},abortSignal:new AbortController().signal,step:ge((w,A)=>c.runStep(w,A,x),"step"),canvasElement:null,canvas:{},userEvent:{},globalTypes:l.globalTypes,...c,context:null,mount:null});return x.parameters.__isPortableStory=!0,x.context=x,c.renderToCanvas&&(x.renderToCanvas=async()=>{var A;let w=await((A=c.renderToCanvas)==null?void 0:A.call(c,{componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:ge(()=>{},"showMain"),showError:ge(_=>{throw new Error(`${_.title}
${_.description}`)},"showError"),showException:ge(_=>{throw _},"showException"),forceRemount:!0,storyContext:x,storyFn:ge(()=>c.unboundStoryFn(x),"storyFn"),unboundStoryFn:c.unboundStoryFn},x.canvasElement));w&&nd.push(w)}),x.mount=c.mount(x),x},"initializeContext"),p,m=ge(async x=>{var A,_;let w=h();return(_=w.canvasElement)!=null||(w.canvasElement=(A=globalThis==null?void 0:globalThis.document)==null?void 0:A.body),p&&(w.loaded=p.loaded),Object.assign(w,x),c.playFunction(w)},"play"),g=ge(x=>{let w=h();return Object.assign(w,x),A8e(c,w)},"run"),b=c.playFunction?m:void 0;return Object.assign(ge(function(x){let w=h();return p&&(w.loaded=p.loaded),w.args={...w.initialArgs,...x},c.unboundStoryFn(w)},"storyFn"),{id:c.id,storyName:s,load:ge(async()=>{for(let w of[...nd].reverse())await w();nd.length=0;let x=h();x.loaded=await c.applyLoaders(x),nd.push(...(await c.applyBeforeEach(x)).filter(Boolean)),p=x},"load"),globals:u,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:b,run:g,reporting:d,tags:c.tags})}ge(_8e,"composeStory");async function A8e(e,t){var a,s;for(let o of[...nd].reverse())await o();if(nd.length=0,!t.canvasElement){let o=document.createElement("div");(s=(a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body)==null||s.appendChild(o),t.canvasElement=o,nd.push(()=>{var l,c,u,d;(c=(l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body)!=null&&c.contains(o)&&((d=(u=globalThis==null?void 0:globalThis.document)==null?void 0:u.body)==null||d.removeChild(o))})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;nd.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;if(n||await t.mount(),t.abortSignal.aborted)return;r&&(n||(t.mount=async()=>{throw new Vq({playFunction:r.toString()})}),await r(t));let i;v8e()?i=T8e():await S8e(t.abortSignal),await e.applyAfterEach(t),await(i==null?void 0:i())}ge(A8e,"runStory");var Dre="Invariant failed";function aw(e,t){if(!e){var r=typeof t=="function"?t():t,n=r?"".concat(Dre,": ").concat(r):Dre;throw new Error(n)}}ge(aw,"invariant");var C8e={};KAe(C8e,{argsEnhancers:()=>KCt});var zCt="storybook/actions",WCt=`${zCt}/action-event`,HCt={depth:10,clearOnStoryChange:!0,limit:50},E8e=ge((e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:E8e(r,t)},"findProto"),UCt=ge(e=>!!(typeof e=="object"&&e&&E8e(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),"isReactSyntheticEvent"),GCt=ge(e=>{if(UCt(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r==null?void 0:r.value;return typeof n=="object"&&(n==null?void 0:n.constructor.name)==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e},"serializeArg");function Z_(e,t={}){let r={...HCt,...t},n=ge(function(...i){var d,h;if(t.implicit){let p=(d="__STORYBOOK_PREVIEW__"in Ue?Ue.__STORYBOOK_PREVIEW__:void 0)==null?void 0:d.storyRenders.find(m=>m.phase==="playing"||m.phase==="rendering");if(p){let m=!((h=globalThis==null?void 0:globalThis.FEATURES)!=null&&h.disallowImplicitActionsInRenderV8),g=new x7t({phase:p.phase,name:e,deprecated:m});if(m)console.warn(g);else throw g}}let a=Ta.getChannel(),s=Date.now().toString(36)+Math.random().toString(36).substring(2),o=5,l=i.map(GCt),c=i.length>1?l:l[0],u={id:s,count:0,data:{name:e,args:c},options:{...r,maxDepth:o+(r.depth||3)}};a.emit(WCt,u)},"actionHandler");return n.isAction=!0,n.implicit=t.implicit,n}ge(Z_,"action");var P8e=ge((e,t)=>typeof t[e]>"u"&&!(e in t),"isInInitialArgs"),VCt=ge(e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:i}}=e;if(!i||i.disable||!i.argTypesRegex||!r)return{};let a=new RegExp(i.argTypesRegex);return Object.entries(r).filter(([s])=>!!a.test(s)).reduce((s,[o,l])=>(P8e(o,t)&&(s[o]=Z_(o,{implicit:!0,id:n})),s),{})},"inferActionsFromArgTypesRegex"),YCt=ge(e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n!=null&&n.disable||!r?{}:Object.entries(r).filter(([i,a])=>!!a.action).reduce((i,[a,s])=>(P8e(a,t)&&(i[a]=Z_(typeof s.action=="string"?s.action:a)),i),{})},"addActionsFromArgTypes"),KCt=[YCt,VCt],j8e={};KAe(j8e,{loaders:()=>QCt});var Lre=!1,XCt=ge(e=>{var r;let{parameters:t}=e;(r=t==null?void 0:t.actions)!=null&&r.disable||Lre||(Jxe((n,i)=>{let a=n.getMockName();a!=="spy"&&(!/^next\/.*::/.test(a)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(s=>a.startsWith(s)))&&Z_(a)(i)}),Lre=!0)},"logActionsWhenMockCalled"),QCt=[XCt],Fre=ge(()=>({...C8e,...j8e}),"default"),sw="backgrounds",JCt={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:co}=globalThis,ZCt=ge(()=>{var e;return globalThis!=null&&globalThis.matchMedia?!!((e=globalThis.matchMedia("(prefers-reduced-motion: reduce)"))!=null&&e.matches):!1},"isReduceMotionEnabled"),$re=ge(e=>{(Array.isArray(e)?e:[e]).forEach(e9t)},"clearStyles"),e9t=ge(e=>{if(!co)return;let t=co.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},"clearStyle"),t9t=ge((e,t)=>{if(!co)return;let r=co.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=co.createElement("style");n.setAttribute("id",e),n.innerHTML=t,co.head.appendChild(n)}},"addGridStyle"),r9t=ge((e,t,r)=>{var i;if(!co)return;let n=co.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let a=co.createElement("style");a.setAttribute("id",e),a.innerHTML=t;let s=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,o=co.getElementById(s);o?(i=o.parentElement)==null||i.insertBefore(a,o):co.head.appendChild(a)}},"addBackgroundStyle"),n9t={cellSize:100,cellAmount:10,opacity:.8},Bre="addon-backgrounds",Nre="addon-backgrounds-grid",i9t=ZCt()?"":"transition: background-color 0.3s;",a9t=ge((e,t)=>{let{globals:r={},parameters:n={},viewMode:i,id:a}=t,{options:s=JCt,disable:o,grid:l=n9t}=n[sw]||{},c=r[sw]||{},u=typeof c=="string"?c:c==null?void 0:c.value,d=u?s[u]:void 0,h=typeof d=="string"?d:(d==null?void 0:d.value)||"transparent",p=typeof c=="string"?!1:c.grid||!1,m=!!d&&!o,g=i==="docs"?`#anchor--${a} .docs-story`:".sb-show-main",b=i==="docs"?`#anchor--${a} .docs-story`:".sb-show-main",y=n.layout===void 0||n.layout==="padded",v=i==="docs"?20:y?16:0,{cellAmount:S,cellSize:x,opacity:w,offsetX:A=v,offsetY:_=v}=l,C=i==="docs"?`${Bre}-docs-${a}`:`${Bre}-color`,E=i==="docs"?a:null;Lh(()=>{let P=`
${g} {
background: ${h} !important;
${i9t}
}`;if(!m){$re(C);return}r9t(C,P,E)},[g,C,E,m,h]);let R=i==="docs"?`${Nre}-docs-${a}`:`${Nre}`;return Lh(()=>{if(!p){$re(R);return}let P=[`${x*S}px ${x*S}px`,`${x*S}px ${x*S}px`,`${x}px ${x}px`,`${x}px ${x}px`].join(", "),O=`
${b} {
background-size: ${P} !important;
background-position: ${A}px ${_}px, ${A}px ${_}px, ${A}px ${_}px, ${A}px ${_}px !important;
background-blend-mode: difference !important;
background-image: linear-gradient(rgba(130, 130, 130, ${w}) 1px, transparent 1px),
linear-gradient(90deg, rgba(130, 130, 130, ${w}) 1px, transparent 1px),
linear-gradient(rgba(130, 130, 130, ${w/2}) 1px, transparent 1px),
linear-gradient(90deg, rgba(130, 130, 130, ${w/2}) 1px, transparent 1px) !important;
}
`;t9t(R,O)},[S,x,b,R,p,A,_,w]),e()},"withBackgroundAndGrid"),Ule,s9t=(Ule=globalThis.FEATURES)!=null&&Ule.backgrounds?[a9t]:[],o9t={[sw]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},l9t={[sw]:{value:void 0,grid:!1}},qre=ge(()=>({decorators:s9t,parameters:o9t,initialGlobals:l9t}),"default"),{step:c9t}=M1({step:ge(async(e,t,r)=>t(r),"step")},{intercept:!0}),zre=ge(()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:c9t}),"default"),eA="storybook/highlight",u9t=`${eA}/add`,d9t=`${eA}/remove`,p9t=`${eA}/reset`,h9t=`${eA}/scroll-into-view`,Wre=2147483647,Gu=28,Hre={chevronLeft:["M9.10355 10.1464C9.29882 10.3417 9.29882 10.6583 9.10355 10.8536C8.90829 11.0488 8.59171 11.0488 8.39645 10.8536L4.89645 7.35355C4.70118 7.15829 4.70118 6.84171 4.89645 6.64645L8.39645 3.14645C8.59171 2.95118 8.90829 2.95118 9.10355 3.14645C9.29882 3.34171 9.29882 3.65829 9.10355 3.85355L5.95711 7L9.10355 10.1464Z"],chevronRight:["M4.89645 10.1464C4.70118 10.3417 4.70118 10.6583 4.89645 10.8536C5.09171 11.0488 5.40829 11.0488 5.60355 10.8536L9.10355 7.35355C9.29882 7.15829 9.29882 6.84171 9.10355 6.64645L5.60355 3.14645C5.40829 2.95118 5.09171 2.95118 4.89645 3.14645C4.70118 3.34171 4.70118 3.65829 4.89645 3.85355L8.04289 7L4.89645 10.1464Z"],info:["M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z","M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z"],shareAlt:["M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z","M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z"]},f9t="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),Mn=ge((e,t={},r)=>{let n=f9t.includes(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return Object.entries(t).forEach(([i,a])=>{/[A-Z]/.test(i)?(i==="onClick"&&(n.addEventListener("click",a),n.addEventListener("keydown",s=>{(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),a())})),i==="onMouseEnter"&&n.addEventListener("mouseenter",a),i==="onMouseLeave"&&n.addEventListener("mouseleave",a)):n.setAttribute(i,a)}),r==null||r.forEach(i=>{if(!(i==null||i===!1))try{n.appendChild(i)}catch(a){n.appendChild(document.createTextNode(String(i)))}}),n},"createElement"),L3=ge(e=>Hre[e]&&Mn("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},Hre[e].map(t=>Mn("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),"createIcon"),m9t=ge(e=>{if("elements"in e){let{elements:n,color:i,style:a}=e;return{id:void 0,priority:0,selectors:n,styles:{outline:`2px ${a} ${i}`,outlineOffset:"2px",boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"},menu:void 0}}let{menu:t,...r}=e;return{id:void 0,priority:0,styles:{outline:"2px dashed #029cfd"},...r,menu:Array.isArray(t)?t.every(Array.isArray)?t:[t]:void 0}},"normalizeOptions"),g9t=ge(e=>e instanceof Function,"isFunction"),Rb=new Map,fp=new Map,F3=new Map,sc=ge(e=>{let t=Symbol();return fp.set(t,[]),Rb.set(t,e),{get:ge(()=>Rb.get(t),"get"),set:ge(r=>{var a;let n=Rb.get(t),i=g9t(r)?r(n):r;i!==n&&(Rb.set(t,i),(a=fp.get(t))==null||a.forEach(s=>{var o;(o=F3.get(s))==null||o(),F3.set(s,s(i))}))},"set"),subscribe:ge(r=>{var n;return(n=fp.get(t))==null||n.push(r),()=>{let i=fp.get(t);i&&fp.set(t,i.filter(a=>a!==r))}},"subscribe"),teardown:ge(()=>{var r;(r=fp.get(t))==null||r.forEach(n=>{var i;(i=F3.get(n))==null||i(),F3.delete(n)}),fp.delete(t),Rb.delete(t)},"teardown")}},"useStore"),Ure=ge(e=>{let t=document.getElementById("storybook-root"),r=new Map;for(let n of e){let{priority:i=0}=n;for(let a of n.selectors){let s=[...document.querySelectorAll(`:is(${a}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...(t==null?void 0:t.querySelectorAll(a))||[]];for(let o of s){let l=r.get(o);(!l||l.priority<=i)&&r.set(o,{...n,priority:i,selectors:Array.from(new Set(((l==null?void 0:l.selectors)||[]).concat(a)))})}}}return r},"mapElements"),b9t=ge(e=>Array.from(e.entries()).map(([t,{selectors:r,styles:n,hoverStyles:i,focusStyles:a,menu:s}])=>{let{top:o,left:l,width:c,height:u}=t.getBoundingClientRect(),{position:d}=getComputedStyle(t);return{element:t,selectors:r,styles:n,hoverStyles:i,focusStyles:a,menu:s,top:d==="fixed"?o:o+window.scrollY,left:d==="fixed"?l:l+window.scrollX,width:c,height:u}}).sort((t,r)=>r.width*r.height-t.width*t.height),"mapBoxes"),Gre=ge((e,t)=>{let r=e.getBoundingClientRect(),{x:n,y:i}=t;return(r==null?void 0:r.top)&&(r==null?void 0:r.left)&&n>=r.left&&n<=r.left+r.width&&i>=r.top&&i<=r.top+r.height},"isOverMenu"),Vre=ge((e,t,r)=>{if(!t||!r)return!1;let{left:n,top:i,width:a,height:s}=e;s<Gu&&(i=i-Math.round((Gu-s)/2),s=Gu),a<Gu&&(n=n-Math.round((Gu-a)/2),a=Gu),t.style.position==="fixed"&&(n+=window.scrollX,i+=window.scrollY);let{x:o,y:l}=r;return o>=n&&o<=n+a&&l>=i&&l<=i+s},"isTargeted"),y9t=ge((e,t,r={})=>{let{x:n,y:i}=t,{margin:a=5,topOffset:s=0,centered:o=!1}=r,{scrollX:l,scrollY:c,innerHeight:u,innerWidth:d}=window,h=Math.min(e.style.position==="fixed"?i-c:i,u-e.clientHeight-a-s+c),p=o?e.clientWidth/2:0,m=e.style.position==="fixed"?Math.max(Math.min(n-l,d-p-a),p+a):Math.max(Math.min(n,d-p-a+l),p+a+l);Object.assign(e.style,{...m!==n&&{left:`${m}px`},...h!==i&&{top:`${h}px`}})},"keepInViewport"),Yre=ge(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},"showPopover"),v9t=ge(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},"hidePopover"),T9t=ge(e=>({top:e.top,left:e.left,width:e.width,height:e.height,selectors:e.selectors,element:{attributes:Object.fromEntries(Array.from(e.element.attributes).map(t=>[t.name,t.value])),localName:e.element.localName,tagName:e.element.tagName,outerHTML:e.element.outerHTML}}),"getEventDetails"),g0="storybook-highlights-menu",Kre="storybook-highlights-root",S9t="storybook-root",x9t=ge(e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=sc([]),n=sc(new Map),i=sc([]),a=sc(),s=sc(),o=sc([]),l=sc([]),c=sc(),u=sc(),d=t.getElementById(Kre);r.subscribe(()=>{d||(d=Mn("div",{id:Kre}),t.body.appendChild(d))}),r.subscribe(_=>{let C=t.getElementById(S9t);if(!C)return;n.set(Ure(_));let E=new MutationObserver(()=>n.set(Ure(_)));return E.observe(C,{subtree:!0,childList:!0}),()=>{E.disconnect()}}),n.subscribe(_=>{let C=ge(()=>requestAnimationFrame(()=>i.set(b9t(_))),"updateBoxes"),E=new ResizeObserver(C);E.observe(t.body),Array.from(_.keys()).forEach(P=>E.observe(P));let R=Array.from(t.body.querySelectorAll("*")).filter(P=>{let{overflow:O,overflowX:k,overflowY:I}=window.getComputedStyle(P);return["auto","scroll"].some(M=>[O,k,I].includes(M))});return R.forEach(P=>P.addEventListener("scroll",C)),()=>{E.disconnect(),R.forEach(P=>P.removeEventListener("scroll",C))}}),n.subscribe(_=>{let C=Array.from(_.keys()).filter(({style:R})=>R.position==="sticky"),E=ge(()=>requestAnimationFrame(()=>{i.set(R=>R.map(P=>{if(C.includes(P.element)){let{top:O,left:k}=P.element.getBoundingClientRect();return{...P,top:O+window.scrollY,left:k+window.scrollX}}return P}))}),"updateBoxes");return t.addEventListener("scroll",E),()=>t.removeEventListener("scroll",E)}),n.subscribe(_=>{o.set(C=>C.filter(({element:E})=>_.has(E)))}),o.subscribe(_=>{_.length?(u.set(C=>_.some(E=>E.element===(C==null?void 0:C.element))?C:void 0),c.set(C=>_.some(E=>E.element===(C==null?void 0:C.element))?C:void 0)):(u.set(void 0),c.set(void 0),a.set(void 0))});let h=new Map(new Map);r.subscribe(_=>{_.forEach(({keyframes:C})=>{if(C){let E=h.get(C);E||(E=t.createElement("style"),E.setAttribute("data-highlight","keyframes"),h.set(C,E),t.head.appendChild(E)),E.innerHTML=C}}),h.forEach((C,E)=>{_.some(R=>R.keyframes===E)||(C.remove(),h.delete(E))})});let p=new Map(new Map);i.subscribe(_=>{_.forEach(C=>{let E=p.get(C.element);if(d&&!E){let R={popover:"manual","data-highlight-dimensions":`w${C.width.toFixed(0)}h${C.height.toFixed(0)}`,"data-highlight-coordinates":`x${C.left.toFixed(0)}y${C.top.toFixed(0)}`};E=d.appendChild(Mn("div",R,[Mn("div")])),p.set(C.element,E)}}),p.forEach((C,E)=>{_.some(({element:R})=>R===E)||(C.remove(),p.delete(E))})}),i.subscribe(_=>{let C=_.filter(R=>R.menu);if(!C.length)return;let E=ge(R=>{requestAnimationFrame(()=>{let P=t.getElementById(g0),O={x:R.pageX,y:R.pageY};if(P&&!Gre(P,O)){let k=C.filter(I=>{let M=p.get(I.element);return Vre(I,M,O)});a.set(k.length?O:void 0),o.set(k)}})},"onClick");return t.addEventListener("click",E),()=>t.removeEventListener("click",E)});let m=ge(()=>{let _=t.getElementById(g0),C=s.get();!C||_&&Gre(_,C)||l.set(E=>{let R=i.get().filter(I=>{let M=p.get(I.element);return Vre(I,M,C)}),P=E.filter(I=>R.includes(I)),O=R.filter(I=>!E.includes(I)),k=E.length-P.length;return O.length||k?[...P,...O]:E})},"updateHovered");s.subscribe(m),i.subscribe(m);let g=ge(()=>{let _=u.get(),C=_?[_]:o.get(),E=C.length===1?C[0]:c.get(),R=a.get()!==void 0;i.get().forEach(P=>{var k;let O=p.get(P.element);if(O){let I=E===P,M=R?E?I:C.includes(P):(k=l.get())==null?void 0:k.includes(P);Object.assign(O.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...P.styles,...M?P.hoverStyles:{},...I?P.focusStyles:{},position:getComputedStyle(P.element).position==="fixed"?"fixed":"absolute",zIndex:Wre-10,top:`${P.top}px`,left:`${P.left}px`,width:`${P.width}px`,height:`${P.height}px`,margin:0,padding:0,cursor:P.menu&&M?"pointer":"default",pointerEvents:P.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(O.children[0].style,{width:"100%",height:"100%",minHeight:`${Gu}px`,minWidth:`${Gu}px`,boxSizing:"content-box",padding:O.style.outlineWidth||"0px"}),Yre(O)}})},"updateBoxStyles");i.subscribe(g),o.subscribe(g),l.subscribe(g),c.subscribe(g),u.subscribe(g);let b=ge(()=>{var P;if(!d)return;let _=t.getElementById(g0);if(_)_.innerHTML="";else{let O={id:g0,popover:"manual"};_=d.appendChild(Mn("div",O)),d.appendChild(Mn("style",{},[`
#${g0} {
position: absolute;
z-index: ${Wre};
width: 300px;
padding: 0px;
margin: 15px 0 0 0;
transform: translateX(-50%);
font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 12px;
background: white;
border: none;
border-radius: 6px;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
color: #2E3438;
}
#${g0} ul {
list-style: none;
margin: 0;
padding: 0;
}
#${g0} > ul {
max-height: 300px;
overflow-y: auto;
padding: 4px 0;
}
#${g0} li {
padding: 0 4px;
margin: 0;
}
#${g0} li > :not(ul) {
display: flex;
padding: 8px;
margin: 0;
align-items: center;
gap: 8px;
border-radius: 4px;
}
#${g0} button {
width: 100%;
border: 0;
background: transparent;
color: inherit;
text-align: left;
font-family: inherit;
font-size: inherit;
}
#${g0} button:focus-visible {
outline-color: #029CFD;
}
#${g0} button:hover {
background: rgba(2, 156, 253, 0.07);
color: #029CFD;
cursor: pointer;
}
#${g0} li code {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
line-height: 16px;
font-size: 11px;
}
#${g0} li svg {
flex-shrink: 0;
margin: 1px;
color: #73828C;
}
#${g0} li > button:hover svg, #${g0} li > button:focus-visible svg {
color: #029CFD;
}
#${g0} .element-list li svg {
display: none;
}
#${g0} li.selectable svg, #${g0} li.selected svg {
display: block;
}
#${g0} .menu-list {
border-top: 1px solid rgba(38, 85, 115, 0.15);
}
#${g0} .menu-list > li:not(:last-child) {
padding-bottom: 4px;
margin-bottom: 4px;
border-bottom: 1px solid rgba(38, 85, 115, 0.15);
}
#${g0} .menu-items, #${g0} .menu-items li {
padding: 0;
}
#${g0} .menu-item {
display: flex;
}
#${g0} .menu-item-content {
display: flex;
flex-direction: column;
flex-grow: 1;
}
`]))}let C=u.get(),E=C?[C]:o.get();if(E.length&&(_.style.position=getComputedStyle(E[0].element).position==="fixed"?"fixed":"absolute",_.appendChild(Mn("ul",{class:"element-list"},E.map(O=>{var D;let k=E.length>1&&!!((D=O.menu)!=null&&D.some(F=>F.some($=>!$.selectors||$.selectors.some(Y=>O.selectors.includes(Y))))),I=k?{class:"selectable",onClick:ge(()=>u.set(O),"onClick"),onMouseEnter:ge(()=>c.set(O),"onMouseEnter"),onMouseLeave:ge(()=>c.set(void 0),"onMouseLeave")}:C?{class:"selected",onClick:ge(()=>u.set(void 0),"onClick")}:{},M=k||C;return Mn("li",I,[Mn(M?"button":"div",M?{type:"button"}:{},[C?L3("chevronLeft"):null,Mn("code",{},[O.element.outerHTML]),k?L3("chevronRight"):null])])})))),u.get()||o.get().length===1){let O=u.get()||o.get()[0],k=(P=O.menu)==null?void 0:P.filter(I=>I.some(M=>!M.selectors||M.selectors.some(D=>O.selectors.includes(D))));k!=null&&k.length&&_.appendChild(Mn("ul",{class:"menu-list"},k.map(I=>Mn("li",{},[Mn("ul",{class:"menu-items"},I.map(({id:M,title:D,description:F,iconLeft:$,iconRight:Y,clickEvent:he})=>{let fe=he&&(()=>e.emit(he,M,T9t(O)));return Mn("li",{},[Mn(fe?"button":"div",fe?{class:"menu-item",type:"button",onClick:fe}:{class:"menu-item"},[$?L3($):null,Mn("div",{class:"menu-item-content"},[Mn(F?"strong":"span",{},[D]),F&&Mn("span",{},[F])]),Y?L3(Y):null])])}))]))))}let R=a.get();R?(Object.assign(_.style,{display:"block",left:`${_.style.position==="fixed"?R.x-window.scrollX:R.x}px`,top:`${_.style.position==="fixed"?R.y-window.scrollY:R.y}px`}),Yre(_),requestAnimationFrame(()=>y9t(_,R,{topOffset:15,centered:!0}))):(v9t(_),Object.assign(_.style,{display:"none"}))},"renderMenu");o.subscribe(b),u.subscribe(b);let y=ge(_=>{let C=m9t(_);r.set(E=>{var P;let R=C.id?E.filter(O=>O.id!==C.id):E;return(P=C.selectors)!=null&&P.length?[...R,C]:R})},"addHighlight"),v=ge(_=>{_&&r.set(C=>C.filter(E=>E.id!==_))},"removeHighlight"),S=ge(()=>{r.set([]),n.set(new Map),i.set([]),a.set(void 0),s.set(void 0),o.set([]),l.set([]),c.set(void 0),u.set(void 0)},"resetState"),x,w=ge((_,C)=>{let E="scrollIntoView-highlight";clearTimeout(x),v(E);let R=t.querySelector(_);if(!R){console.warn(`Cannot scroll into view: ${_} not found`);return}R.scrollIntoView({behavior:"smooth",block:"center",...C});let P=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(O=>[...O,{id:E,priority:1e3,selectors:[_],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${P} 3s linear forwards`},keyframes:`@keyframes ${P} {
0% { outline: 2px solid #1EA7FD; }
20% { outline: 2px solid #1EA7FD00; }
40% { outline: 2px solid #1EA7FD; }
60% { outline: 2px solid #1EA7FD00; }
80% { outline: 2px solid #1EA7FD; }
100% { outline: 2px solid #1EA7FD00; }
}`}]),x=setTimeout(()=>v(E),3500)},"scrollIntoView"),A=ge(_=>{requestAnimationFrame(()=>s.set({x:_.pageX,y:_.pageY}))},"onMouseMove");t.body.addEventListener("mousemove",A),e.on(u9t,y),e.on(d9t,v),e.on(p9t,S),e.on(h9t,w),e.on(Ed,({newPhase:_})=>{_==="loading"&&S()})},"useHighlights"),Gle;(Gle=globalThis==null?void 0:globalThis.FEATURES)!=null&&Gle.highlight&&(Ta!=null&&Ta.ready)&&Ta.ready().then(x9t);var Xre=ge(()=>({}),"default"),w9t="measureEnabled";function kU(){let e=Ue.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}ge(kU,"getDocumentWidthAndHeight");function R8e(){let e=Ue.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");aw(t!=null);let{width:r,height:n}=kU();return ow(e,t,{width:r,height:n}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",Ue.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}ge(R8e,"createCanvas");function ow(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let i=Ue.window.devicePixelRatio;e.width=Math.floor(r*i),e.height=Math.floor(n*i),t.scale(i,i)}ge(ow,"setCanvasWidthAndHeight");var kn={};function I8e(){kn.canvas||(kn=R8e())}ge(I8e,"init");function DU(){var e,t;kn.context&&kn.context.clearRect(0,0,(e=kn.width)!=null?e:0,(t=kn.height)!=null?t:0)}ge(DU,"clear");function O8e(e){DU(),e(kn.context)}ge(O8e,"draw");function M8e(){aw(kn.canvas,"Canvas should exist in the state."),aw(kn.context,"Context should exist in the state."),ow(kn.canvas,kn.context,{width:0,height:0});let{width:e,height:t}=kU();ow(kn.canvas,kn.context,{width:e,height:t}),kn.width=e,kn.height=t}ge(M8e,"rescale");function k8e(){var e;kn.canvas&&(DU(),(e=kn.canvas.parentNode)==null||e.removeChild(kn.canvas),kn={})}ge(k8e,"destroy");var Ef={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},Fc=6;function GD(e,{x:t,y:r,w:n,h:i,r:a}){t=t-n/2,r=r-i/2,n<2*a&&(a=n/2),i<2*a&&(a=i/2),e.beginPath(),e.moveTo(t+a,r),e.arcTo(t+n,r,t+n,r+i,a),e.arcTo(t+n,r+i,t,r+i,a),e.arcTo(t,r+i,t,r,a),e.arcTo(t,r,t+n,r,a),e.closePath()}ge(GD,"roundedRect");function D8e(e,{padding:t,border:r,width:n,height:i,top:a,left:s}){let o=n-r.left-r.right-t.left-t.right,l=i-t.top-t.bottom-r.top-r.bottom,c=s+r.left+t.left,u=a+r.top+t.top;return e==="top"?c+=o/2:e==="right"?(c+=o,u+=l/2):e==="bottom"?(c+=o/2,u+=l):e==="left"?u+=l/2:e==="center"&&(c+=o/2,u+=l/2),{x:c,y:u}}ge(D8e,"positionCoordinate");function L8e(e,t,{margin:r,border:n,padding:i},a,s){let o=ge(h=>0,"shift"),l=0,c=0,u=s?1:.5,d=s?a*2:0;return e==="padding"?o=ge(h=>i[h]*u+d,"shift"):e==="border"?o=ge(h=>i[h]+n[h]*u+d,"shift"):e==="margin"&&(o=ge(h=>i[h]+n[h]+r[h]*u+d,"shift")),t==="top"?c=-o("top"):t==="right"?l=o("right"):t==="bottom"?c=o("bottom"):t==="left"&&(l=-o("left")),{offsetX:l,offsetY:c}}ge(L8e,"offset");function F8e(e,t){return Math.abs(e.x-t.x)<Math.abs(e.w+t.w)/2&&Math.abs(e.y-t.y)<Math.abs(e.h+t.h)/2}ge(F8e,"collide");function $8e(e,t,r){return e==="top"?t.y=r.y-r.h-Fc:e==="right"?t.x=r.x+r.w/2+Fc+t.w/2:e==="bottom"?t.y=r.y+r.h+Fc:e==="left"&&(t.x=r.x-r.w/2-Fc-t.w/2),{x:t.x,y:t.y}}ge($8e,"overlapAdjustment");function LU(e,t,{x:r,y:n,w:i,h:a},s){return GD(e,{x:r,y:n,w:i,h:a,r:3}),e.fillStyle=`${Ef[t]}dd`,e.fill(),e.strokeStyle=Ef[t],e.stroke(),e.fillStyle=Ef.text,e.fillText(s,r,n),GD(e,{x:r,y:n,w:i,h:a,r:3}),e.fillStyle=`${Ef[t]}dd`,e.fill(),e.strokeStyle=Ef[t],e.stroke(),e.fillStyle=Ef.text,e.fillText(s,r,n),{x:r,y:n,w:i,h:a}}ge(LU,"textWithRect");function FU(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let r=e.measureText(t),n=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,i=r.width+Fc*2,a=n+Fc*2;return{w:i,h:a}}ge(FU,"configureText");function B8e(e,t,{type:r,position:n="center",text:i},a,s=!1){let{x:o,y:l}=D8e(n,t),{offsetX:c,offsetY:u}=L8e(r,n,t,Fc+1,s);o+=c,l+=u;let{w:d,h}=FU(e,i);if(a&&F8e({x:o,y:l,w:d,h},a)){let p=$8e(n,{x:o,y:l,w:d},a);o=p.x,l=p.y}return LU(e,r,{x:o,y:l,w:d,h},i)}ge(B8e,"drawLabel");function N8e(e,{w:t,h:r}){let n=t*.5+Fc,i=r*.5+Fc;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*i}}ge(N8e,"floatingOffset");function q8e(e,t,{type:r,text:n}){let{floatingAlignment:i,extremities:a}=t,s=a[i.x],o=a[i.y],{w:l,h:c}=FU(e,n),{offsetX:u,offsetY:d}=N8e(i,{w:l,h:c});return s+=u,o+=d,LU(e,r,{x:s,y:o,w:l,h:c},n)}ge(q8e,"drawFloatingLabel");function Wf(e,t,r,n){let i=[];r.forEach((a,s)=>{let o=n&&a.position==="center"?q8e(e,t,a):B8e(e,t,a,i[s-1],n);i[s]=o})}ge(Wf,"drawStack");function z8e(e,t,r,n){let i=r.reduce((a,s)=>{var o;return Object.prototype.hasOwnProperty.call(a,s.position)||(a[s.position]=[]),(o=a[s.position])==null||o.push(s),a},{});i.top&&Wf(e,t,i.top,n),i.right&&Wf(e,t,i.right,n),i.bottom&&Wf(e,t,i.bottom,n),i.left&&Wf(e,t,i.left,n),i.center&&Wf(e,t,i.center,n)}ge(z8e,"labelStacks");var tA={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},Qre=30;function La(e){return parseInt(e.replace("px",""),10)}ge(La,"pxToNumber");function zp(e){return Number.isInteger(e)?e:e.toFixed(2)}ge(zp,"round");function rA(e){return e.filter(t=>t.text!==0&&t.text!=="0")}ge(rA,"filterZeroValues");function W8e(e){let t={top:Ue.window.scrollY,bottom:Ue.window.scrollY+Ue.window.innerHeight,left:Ue.window.scrollX,right:Ue.window.scrollX+Ue.window.innerWidth},r={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:r.left>r.right?"left":"right",y:r.top>r.bottom?"top":"bottom"}}ge(W8e,"floatingAlignment");function H8e(e){let t=Ue.getComputedStyle(e),{top:r,left:n,right:i,bottom:a,width:s,height:o}=e.getBoundingClientRect(),{marginTop:l,marginBottom:c,marginLeft:u,marginRight:d,paddingTop:h,paddingBottom:p,paddingLeft:m,paddingRight:g,borderBottomWidth:b,borderTopWidth:y,borderLeftWidth:v,borderRightWidth:S}=t;r=r+Ue.window.scrollY,n=n+Ue.window.scrollX,a=a+Ue.window.scrollY,i=i+Ue.window.scrollX;let x={top:La(l),bottom:La(c),left:La(u),right:La(d)},w={top:La(h),bottom:La(p),left:La(m),right:La(g)},A={top:La(y),bottom:La(b),left:La(v),right:La(S)},_={top:r-x.top,bottom:a+x.bottom,left:n-x.left,right:i+x.right};return{margin:x,padding:w,border:A,top:r,left:n,bottom:a,right:i,width:s,height:o,extremities:_,floatingAlignment:W8e(_)}}ge(H8e,"measureElement");function U8e(e,{margin:t,width:r,height:n,top:i,left:a,bottom:s,right:o}){let l=n+t.bottom+t.top;e.fillStyle=tA.margin,e.fillRect(a,i-t.top,r,t.top),e.fillRect(o,i-t.top,t.right,l),e.fillRect(a,s,r,t.bottom),e.fillRect(a-t.left,i-t.top,t.left,l);let c=[{type:"margin",text:zp(t.top),position:"top"},{type:"margin",text:zp(t.right),position:"right"},{type:"margin",text:zp(t.bottom),position:"bottom"},{type:"margin",text:zp(t.left),position:"left"}];return rA(c)}ge(U8e,"drawMargin");function G8e(e,{padding:t,border:r,width:n,height:i,top:a,left:s,bottom:o,right:l}){let c=n-r.left-r.right,u=i-t.top-t.bottom-r.top-r.bottom;e.fillStyle=tA.padding,e.fillRect(s+r.left,a+r.top,c,t.top),e.fillRect(l-t.right-r.right,a+t.top+r.top,t.right,u),e.fillRect(s+r.left,o-t.bottom-r.bottom,c,t.bottom),e.fillRect(s+r.left,a+t.top+r.top,t.left,u);let d=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return rA(d)}ge(G8e,"drawPadding");function V8e(e,{border:t,width:r,height:n,top:i,left:a,bottom:s,right:o}){let l=n-t.top-t.bottom;e.fillStyle=tA.border,e.fillRect(a,i,r,t.top),e.fillRect(a,s-t.bottom,r,t.bottom),e.fillRect(a,i+t.top,t.left,l),e.fillRect(o-t.right,i+t.top,t.right,l);let c=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return rA(c)}ge(V8e,"drawBorder");function Y8e(e,{padding:t,border:r,width:n,height:i,top:a,left:s}){let o=n-r.left-r.right-t.left-t.right,l=i-t.top-t.bottom-r.top-r.bottom;return e.fillStyle=tA.content,e.fillRect(s+r.left+t.left,a+r.top+t.top,o,l),[{type:"content",position:"center",text:`${zp(o)} x ${zp(l)}`}]}ge(Y8e,"drawContent");function K8e(e){return t=>{if(e&&t){let r=H8e(e),n=U8e(t,r),i=G8e(t,r),a=V8e(t,r),s=Y8e(t,r),o=r.width<=Qre*3||r.height<=Qre;z8e(t,r,[...s,...i,...a,...n],o)}}}ge(K8e,"drawBoxModel");function X8e(e){O8e(K8e(e))}ge(X8e,"drawSelectedElement");var _9t=ge((e,t)=>{let r=Ue.document.elementFromPoint(e,t),n=ge(i=>{if(i&&i.shadowRoot){let a=i.shadowRoot.elementFromPoint(e,t);return i.isEqualNode(a)?i:a.shadowRoot?n(a):a}return i},"crawlShadows");return n(r)||r},"deepElementFromPoint"),Jre,$3={x:0,y:0};function VD(e,t){Jre=_9t(e,t),X8e(Jre)}ge(VD,"findAndDrawElement");var A9t=ge((e,t)=>{let{measureEnabled:r}=t.globals||{};return Lh(()=>{if(typeof globalThis.document>"u")return;let n=ge(i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),$3.x=i.clientX,$3.y=i.clientY})},"onPointerMove");return globalThis.document.addEventListener("pointermove",n),()=>{globalThis.document.removeEventListener("pointermove",n)}},[]),Lh(()=>{let n=ge(a=>{window.requestAnimationFrame(()=>{a.stopPropagation(),VD(a.clientX,a.clientY)})},"onPointerOver"),i=ge(()=>{window.requestAnimationFrame(()=>{M8e()})},"onResize");return t.viewMode==="story"&&r&&(globalThis.document.addEventListener("pointerover",n),I8e(),globalThis.window.addEventListener("resize",i),VD($3.x,$3.y)),()=>{globalThis.window.removeEventListener("resize",i),k8e()}},[r,t.viewMode]),e()},"withMeasure"),Vle,C9t=(Vle=globalThis.FEATURES)!=null&&Vle.measure?[A9t]:[],E9t={[w9t]:!1},Zre=ge(()=>({decorators:C9t,initialGlobals:E9t}),"default"),Q8e="outline",e0e=ge(e=>{(Array.isArray(e)?e:[e]).forEach(P9t)},"clearStyles"),P9t=ge(e=>{let t=typeof e=="string"?e:e.join(""),r=Ue.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},"clearStyle"),j9t=ge((e,t)=>{let r=Ue.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=Ue.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,Ue.document.head.appendChild(n)}},"addOutlineStyles");function J8e(e){return J_`
${e} body {
outline: 1px solid #2980b9 !important;
}
${e} article {
outline: 1px solid #3498db !important;
}
${e} nav {
outline: 1px solid #0088c3 !important;
}
${e} aside {
outline: 1px solid #33a0ce !important;
}
${e} section {
outline: 1px solid #66b8da !important;
}
${e} header {
outline: 1px solid #99cfe7 !important;
}
${e} footer {
outline: 1px solid #cce7f3 !important;
}
${e} h1 {
outline: 1px solid #162544 !important;
}
${e} h2 {
outline: 1px solid #314e6e !important;
}
${e} h3 {
outline: 1px solid #3e5e85 !important;
}
${e} h4 {
outline: 1px solid #449baf !important;
}
${e} h5 {
outline: 1px solid #c7d1cb !important;
}
${e} h6 {
outline: 1px solid #4371d0 !important;
}
${e} main {
outline: 1px solid #2f4f90 !important;
}
${e} address {
outline: 1px solid #1a2c51 !important;
}
${e} div {
outline: 1px solid #036cdb !important;
}
${e} p {
outline: 1px solid #ac050b !important;
}
${e} hr {
outline: 1px solid #ff063f !important;
}
${e} pre {
outline: 1px solid #850440 !important;
}
${e} blockquote {
outline: 1px solid #f1b8e7 !important;
}
${e} ol {
outline: 1px solid #ff050c !important;
}
${e} ul {
outline: 1px solid #d90416 !important;
}
${e} li {
outline: 1px solid #d90416 !important;
}
${e} dl {
outline: 1px solid #fd3427 !important;
}
${e} dt {
outline: 1px solid #ff0043 !important;
}
${e} dd {
outline: 1px solid #e80174 !important;
}
${e} figure {
outline: 1px solid #ff00bb !important;
}
${e} figcaption {
outline: 1px solid #bf0032 !important;
}
${e} table {
outline: 1px solid #00cc99 !important;
}
${e} caption {
outline: 1px solid #37ffc4 !important;
}
${e} thead {
outline: 1px solid #98daca !important;
}
${e} tbody {
outline: 1px solid #64a7a0 !important;
}
${e} tfoot {
outline: 1px solid #22746b !important;
}
${e} tr {
outline: 1px solid #86c0b2 !important;
}
${e} th {
outline: 1px solid #a1e7d6 !important;
}
${e} td {
outline: 1px solid #3f5a54 !important;
}
${e} col {
outline: 1px solid #6c9a8f !important;
}
${e} colgroup {
outline: 1px solid #6c9a9d !important;
}
${e} button {
outline: 1px solid #da8301 !important;
}
${e} datalist {
outline: 1px solid #c06000 !important;
}
${e} fieldset {
outline: 1px solid #d95100 !important;
}
${e} form {
outline: 1px solid #d23600 !important;
}
${e} input {
outline: 1px solid #fca600 !important;
}
${e} keygen {
outline: 1px solid #b31e00 !important;
}
${e} label {
outline: 1px solid #ee8900 !important;
}
${e} legend {
outline: 1px solid #de6d00 !important;
}
${e} meter {
outline: 1px solid #e8630c !important;
}
${e} optgroup {
outline: 1px solid #b33600 !important;
}
${e} option {
outline: 1px solid #ff8a00 !important;
}
${e} output {
outline: 1px solid #ff9619 !important;
}
${e} progress {
outline: 1px solid #e57c00 !important;
}
${e} select {
outline: 1px solid #e26e0f !important;
}
${e} textarea {
outline: 1px solid #cc5400 !important;
}
${e} details {
outline: 1px solid #33848f !important;
}
${e} summary {
outline: 1px solid #60a1a6 !important;
}
${e} command {
outline: 1px solid #438da1 !important;
}
${e} menu {
outline: 1px solid #449da6 !important;
}
${e} del {
outline: 1px solid #bf0000 !important;
}
${e} ins {
outline: 1px solid #400000 !important;
}
${e} img {
outline: 1px solid #22746b !important;
}
${e} iframe {
outline: 1px solid #64a7a0 !important;
}
${e} embed {
outline: 1px solid #98daca !important;
}
${e} object {
outline: 1px solid #00cc99 !important;
}
${e} param {
outline: 1px solid #37ffc4 !important;
}
${e} video {
outline: 1px solid #6ee866 !important;
}
${e} audio {
outline: 1px solid #027353 !important;
}
${e} source {
outline: 1px solid #012426 !important;
}
${e} canvas {
outline: 1px solid #a2f570 !important;
}
${e} track {
outline: 1px solid #59a600 !important;
}
${e} map {
outline: 1px solid #7be500 !important;
}
${e} area {
outline: 1px solid #305900 !important;
}
${e} a {
outline: 1px solid #ff62ab !important;
}
${e} em {
outline: 1px solid #800b41 !important;
}
${e} strong {
outline: 1px solid #ff1583 !important;
}
${e} i {
outline: 1px solid #803156 !important;
}
${e} b {
outline: 1px solid #cc1169 !important;
}
${e} u {
outline: 1px solid #ff0430 !important;
}
${e} s {
outline: 1px solid #f805e3 !important;
}
${e} small {
outline: 1px solid #d107b2 !important;
}
${e} abbr {
outline: 1px solid #4a0263 !important;
}
${e} q {
outline: 1px solid #240018 !important;
}
${e} cite {
outline: 1px solid #64003c !important;
}
${e} dfn {
outline: 1px solid #b4005a !important;
}
${e} sub {
outline: 1px solid #dba0c8 !important;
}
${e} sup {
outline: 1px solid #cc0256 !important;
}
${e} time {
outline: 1px solid #d6606d !important;
}
${e} code {
outline: 1px solid #e04251 !important;
}
${e} kbd {
outline: 1px solid #5e001f !important;
}
${e} samp {
outline: 1px solid #9c0033 !important;
}
${e} var {
outline: 1px solid #d90047 !important;
}
${e} mark {
outline: 1px solid #ff0053 !important;
}
${e} bdi {
outline: 1px solid #bf3668 !important;
}
${e} bdo {
outline: 1px solid #6f1400 !important;
}
${e} ruby {
outline: 1px solid #ff7b93 !important;
}
${e} rt {
outline: 1px solid #ff2f54 !important;
}
${e} rp {
outline: 1px solid #803e49 !important;
}
${e} span {
outline: 1px solid #cc2643 !important;
}
${e} br {
outline: 1px solid #db687d !important;
}
${e} wbr {
outline: 1px solid #db175b !important;
}`}ge(J8e,"outlineCSS");var R9t=ge((e,t)=>{let r=t.globals||{},n=[!0,"true"].includes(r[Q8e]),i=t.viewMode==="docs",a=hCe(()=>J8e(i?'[data-story-block="true"]':".sb-show-main"),[t]);return Lh(()=>{let s=i?`addon-outline-docs-${t.id}`:"addon-outline";return n?j9t(s,a):e0e(s),()=>{e0e(s)}},[n,a,t]),e()},"withOutline"),Yle,I9t=(Yle=globalThis.FEATURES)!=null&&Yle.outline?[R9t]:[],O9t={[Q8e]:!1},t0e=ge(()=>({decorators:I9t,initialGlobals:O9t}),"default"),M9t=ge(({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?rwe():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?twe():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&nwe()},"resetAllMocksLoader"),YD=ge((e,t=0,r)=>{var n,i;if(t>5||e==null)return e;if(Fm(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let a=Zxe(e);return r&&a.mockName(r),a}if(Array.isArray(e)){t++;for(let a=0;a<e.length;a++)(n=Object.getOwnPropertyDescriptor(e,a))!=null&&n.writable&&(e[a]=YD(e[a],t));return e}if(typeof e=="object"&&e.constructor===Object){t++;for(let[a,s]of Object.entries(e))(i=Object.getOwnPropertyDescriptor(e,a))!=null&&i.writable&&(e[a]=YD(s,t,a));return e}return e},"traverseArgs"),k9t=ge(({initialArgs:e})=>{YD(e)},"nameSpiesAndWrapActionsInSpies"),r0e=!1,D9t=ge(async e=>{var r,n;globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=mCt(e.canvasElement));let t=(n=(r=globalThis.window)==null?void 0:r.navigator)==null?void 0:n.clipboard;if(t){e.userEvent=M1({userEvent:gCt.setup()},{intercept:!0,getKeys:ge(a=>Object.keys(a).filter(s=>s!=="eventWrapper"),"getKeys")}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:ge(()=>t,"get"),configurable:!0});let i=HTMLElement.prototype.focus;r0e||Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:ge(a=>{i=a,r0e=!0},"set"),get:ge(()=>i,"get")}})}},"enhanceContext"),n0e=ge(()=>({loaders:[M9t,k9t,D9t]}),"default"),L9t="viewport",F9t={[L9t]:{value:void 0,isRotated:!1}},i0e=ge(()=>({initialGlobals:F9t}),"default");function nA(){var e,t,r,n,i,a,s,o;return[((e=Zre.default)!=null?e:Zre)(),((t=qre.default)!=null?t:qre)(),((r=Xre.default)!=null?r:Xre)(),((n=t0e.default)!=null?n:t0e)(),((i=i0e.default)!=null?i:i0e)(),((a=Fre.default)!=null?a:Fre)(),((s=zre.default)!=null?s:zre)(),((o=n0e.default)!=null?o:n0e)()]}ge(nA,"getCoreAnnotations");function $9t(e){let t,r={_tag:"Preview",input:e,get composed(){if(t)return t;let{addons:n,...i}=e;return t=IU(OU([...nA(),...n!=null?n:[],i])),t},meta(n){return Z8e(n,this)}};return globalThis.globalProjectAnnotations=r.composed,r}ge($9t,"definePreview");function B9t(e){return e}ge(B9t,"definePreviewAddon");function N9t(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Preview"}ge(N9t,"isPreview");function q9t(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Meta"}ge(q9t,"isMeta");function Z8e(e,t){return{_tag:"Meta",input:e,preview:t,get composed(){throw new Error("Not implemented")},story(r={}){return $U(typeof r=="function"?{render:r}:r,this)}}}ge(Z8e,"defineMeta");function iA(e){return e!=null&&typeof e=="object"&&"_tag"in e&&(e==null?void 0:e._tag)==="Story"}ge(iA,"isStory");function $U(e,t){let r,n=ge(()=>(r||(r=_8e(e,t.input,void 0,t.preview.composed)),r),"compose");return{_tag:"Story",input:e,meta:t,__compose:n,get composed(){let i=n(),{args:a,argTypes:s,parameters:o,id:l,tags:c,globals:u,storyName:d}=i;return{args:a,argTypes:s,parameters:o,id:l,tags:c,name:d,globals:u}},get play(){var i,a,s;return(s=(a=e.play)!=null?a:(i=t.input)==null?void 0:i.play)!=null?s:(async()=>{})},get run(){var i;return(i=n().run)!=null?i:(async()=>{})},extend(i){var a,s,o,l,c,u,d,h,p,m,g,b,y,v;return $U({...this.input,...i,args:{...this.input.args,...i.args},argTypes:Od(this.input.argTypes,i.argTypes),afterEach:[...Rr((s=(a=this.input)==null?void 0:a.afterEach)!=null?s:[]),...Rr((o=i.afterEach)!=null?o:[])],beforeEach:[...Rr((c=(l=this.input)==null?void 0:l.beforeEach)!=null?c:[]),...Rr((u=i.beforeEach)!=null?u:[])],decorators:[...Rr((h=(d=this.input)==null?void 0:d.decorators)!=null?h:[]),...Rr((p=i.decorators)!=null?p:[])],globals:{...this.input.globals,...i.globals},loaders:[...Rr((g=(m=this.input)==null?void 0:m.loaders)!=null?g:[]),...Rr((b=i.loaders)!=null?b:[])],parameters:Od(this.input.parameters,i.parameters),tags:NU(...(y=this.input.tags)!=null?y:[],...(v=i.tags)!=null?v:[])},this.meta)}}}ge($U,"defineStory");var BU=ge(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),a0e=ge((e,t)=>{let r=BU(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),eCe=ge((e,t)=>`${a0e(e,"kind")}${t?`--${a0e(t,"name")}`:""}`,"toId"),tCe=ge(e=>XAe(e),"storyNameFromExport");function KD(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}ge(KD,"matches");function lw(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||KD(e,t))&&(!r||!KD(e,r))}ge(lw,"isExportStory");var NU=ge((...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)},"combineTags"),z9t=Object.create,qU=Object.defineProperty,W9t=Object.getOwnPropertyDescriptor,H9t=Object.getOwnPropertyNames,U9t=Object.getPrototypeOf,G9t=Object.prototype.hasOwnProperty,Q=(e,t)=>qU(e,"name",{value:t,configurable:!0}),B3=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Si=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),V9t=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of H9t(t))!G9t.call(e,i)&&i!==r&&qU(e,i,{get:()=>t[i],enumerable:!(n=W9t(t,i))||n.enumerable});return e},U1=(e,t,r)=>(r=e!=null?z9t(U9t(e)):{},V9t(qU(r,"default",{value:e,enumerable:!0}),e)),rCe=Si((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return Q(function r(n,i,a){function s(c,u){if(!i[c]){if(!n[c]){var d=typeof B3=="function"&&B3;if(!u&&d)return d(c,!0);if(o)return o(c,!0);var h=new Error("Cannot find module '"+c+"'");throw h.code="MODULE_NOT_FOUND",h}var p=i[c]={exports:{}};n[c][0].call(p.exports,function(m){var g=n[c][1][m];return s(g||m)},p,p.exports,r,n,i,a)}return i[c].exports}Q(s,"s");for(var o=typeof B3=="function"&&B3,l=0;l<a.length;l++)s(a[l]);return s},"e")({1:[function(r,n,i){n.exports=function(a){if(typeof Map!="function"||a){var s=r("./similar");return new s}else return new Map}},{"./similar":2}],2:[function(r,n,i){function a(){return this.list=[],this.lastItem=void 0,this.size=0,this}Q(a,"Similar"),a.prototype.get=function(s){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,s))return this.lastItem.val;if(o=this.indexOf(s),o>=0)return this.lastItem=this.list[o],this.list[o].val},a.prototype.set=function(s,o){var l;return this.lastItem&&this.isEqual(this.lastItem.key,s)?(this.lastItem.val=o,this):(l=this.indexOf(s),l>=0?(this.lastItem=this.list[l],this.list[l].val=o,this):(this.lastItem={key:s,val:o},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(s){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,s)&&(this.lastItem=void 0),o=this.indexOf(s),o>=0)return this.size--,this.list.splice(o,1)[0]},a.prototype.has=function(s){var o;return this.lastItem&&this.isEqual(this.lastItem.key,s)?!0:(o=this.indexOf(s),o>=0?(this.lastItem=this.list[o],!0):!1)},a.prototype.forEach=function(s,o){var l;for(l=0;l<this.size;l++)s.call(o||this,this.list[l].val,this.list[l].key,this)},a.prototype.indexOf=function(s){var o;for(o=0;o<this.size;o++)if(this.isEqual(this.list[o].key,s))return o;return-1},a.prototype.isEqual=function(s,o){return s===o||s!==s&&o!==o},n.exports=a},{}],3:[function(r,n,i){var a=r("map-or-similar");n.exports=function(c){var u=new a(!1),d=[];return function(h){var p=Q(function(){var m=u,g,b,y=arguments.length-1,v=Array(y+1),S=!0,x;if((p.numArgs||p.numArgs===0)&&p.numArgs!==y+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(x=0;x<y;x++){if(v[x]={cacheItem:m,arg:arguments[x]},m.has(arguments[x])){m=m.get(arguments[x]);continue}S=!1,g=new a(!1),m.set(arguments[x],g),m=g}return S&&(m.has(arguments[y])?b=m.get(arguments[y]):S=!1),S||(b=h.apply(null,arguments),m.set(arguments[y],b)),c>0&&(v[y]={cacheItem:m,arg:arguments[y]},S?s(d,v):d.push(v),d.length>c&&o(d.shift())),p.wasMemoized=S,p.numArgs=y+1,b},"memoizerific");return p.limit=c,p.wasMemoized=!1,p.cache=u,p.lru=d,p}};function s(c,u){var d=c.length,h=u.length,p,m,g;for(m=0;m<d;m++){for(p=!0,g=0;g<h;g++)if(!l(c[m][g].arg,u[g].arg)){p=!1;break}if(p)break}c.push(c.splice(m,1)[0])}Q(s,"moveToMostRecentLru");function o(c){var u=c.length,d=c[u-1],h,p;for(d.cacheItem.delete(d.arg),p=u-2;p>=0&&(d=c[p],h=d.cacheItem.get(d.arg),!h||!h.size);p--)d.cacheItem.delete(d.arg)}Q(o,"removeCachedResult");function l(c,u){return c===u||c!==c&&u!==u}Q(l,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),nCe=Si(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(i,a)=>"%"+((a<16?"0":"")+a.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(i){let a=i.length;if(a===0)return"";let s="",o=0,l=0;e:for(;l<a;l++){let c=i.charCodeAt(l);for(;c<128;){if(r[c]!==1&&(o<l&&(s+=i.slice(o,l)),o=l+1,s+=t[c]),++l===a)break e;c=i.charCodeAt(l)}if(o<l&&(s+=i.slice(o,l)),c<2048){o=l+1,s+=t[192|c>>6]+t[128|c&63];continue}if(c<55296||c>=57344){o=l+1,s+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++l,l>=a)throw new Error("URI malformed");let u=i.charCodeAt(l)&1023;o=l+1,c=65536+((c&1023)<<10|u),s+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return o===0?i:o<a?s+i.slice(o):s}Q(n,"encodeString")}),zU=Si(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=nCe(),r=Q(a=>{switch(typeof a){case"string":return(0,t.encodeString)(a);case"bigint":case"boolean":return""+a;case"number":if(Number.isFinite(a))return a<1e21?""+a:(0,t.encodeString)(""+a);break}return a instanceof Date?(0,t.encodeString)(a.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=Q(a=>a instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var i=Q(a=>a,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:i,valueSerializer:e.defaultValueSerializer,keyDeserializer:i,shouldSerializeObject:e.defaultShouldSerializeObject}}),iCe=Si(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=i,e.stringifyObject=u;var t=zU(),r=nCe();function n(d){return d==="__proto__"||d==="constructor"||d==="prototype"}Q(n,"isPrototypeKey");function i(d,h,p,m,g){if(n(h))return d;let b=d[h];return typeof b=="object"&&b!==null?b:!m&&(g||typeof p=="number"||typeof p=="string"&&p*0===0&&p.indexOf(".")===-1)?d[h]=[]:d[h]={}}Q(i,"getDeepObject");var a=20,s="[]",o="[",l="]",c=".";function u(d,h,p=0,m,g){let{nestingSyntax:b=t.defaultOptions.nestingSyntax,arrayRepeat:y=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:v=t.defaultOptions.arrayRepeatSyntax,nesting:S=t.defaultOptions.nesting,delimiter:x=t.defaultOptions.delimiter,valueSerializer:w=t.defaultOptions.valueSerializer,shouldSerializeObject:A=t.defaultOptions.shouldSerializeObject}=h,_=typeof x=="number"?String.fromCharCode(x):x,C=g===!0&&y,E=b==="dot"||b==="js"&&!g;if(p>a)return"";let R="",P=!0,O=!1;for(let k in d){let I=d[k],M;m?(M=m,C?v==="bracket"&&(M+=s):E?(M+=c,M+=k):(M+=o,M+=k,M+=l)):M=k,P||(R+=_),typeof I=="object"&&I!==null&&!A(I)?(O=I.pop!==void 0,(S||y&&O)&&(R+=u(I,h,p+1,M,O))):(R+=(0,r.encodeString)(M),R+="=",R+=w(I,k)),P&&(P=!1)}return R}Q(u,"stringifyObject")}),Y9t=Si((e,t)=>{var r=12,n=0,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function a(l){var c=l.indexOf("%");if(c===-1)return l;for(var u=l.length,d="",h=0,p=0,m=c,g=r;c>-1&&c<u;){var b=o(l[c+1],4),y=o(l[c+2],0),v=b|y,S=i[v];if(g=i[256+g+S],p=p<<6|v&i[364+S],g===r)d+=l.slice(h,m),d+=p<=65535?String.fromCharCode(p):String.fromCharCode(55232+(p>>10),56320+(p&1023)),p=0,h=c+3,c=m=l.indexOf("%",h);else{if(g===n)return null;if(c+=3,c<u&&l.charCodeAt(c)===37)continue;return null}}return d+l.slice(h)}Q(a,"decodeURIComponent");var s={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function o(l,c){var u=s[l];return u===void 0?255:u<<c}Q(o,"hexCodeToInt"),t.exports=a}),K9t=Si(e=>{var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=u;var r=iCe(),n=zU(),i=t(Y9t()),a=Q(d=>{let h=Number(d);return Number.isNaN(h)?d:h},"numberKeyDeserializer");e.numberKeyDeserializer=a;var s=Q(d=>{let h=Number(d);return Number.isNaN(h)?d:h},"numberValueDeserializer");e.numberValueDeserializer=s;var o=/\+/g,l=Q(function(){},"Empty");l.prototype=Object.create(null);function c(d,h,p,m,g){let b=d.substring(h,p);return m&&(b=b.replace(o," ")),g&&(b=(0,i.default)(b)||b),b}Q(c,"computeKeySlice");function u(d,h){let{valueDeserializer:p=n.defaultOptions.valueDeserializer,keyDeserializer:m=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:g=n.defaultOptions.arrayRepeatSyntax,nesting:b=n.defaultOptions.nesting,arrayRepeat:y=n.defaultOptions.arrayRepeat,nestingSyntax:v=n.defaultOptions.nestingSyntax,delimiter:S=n.defaultOptions.delimiter}=h!=null?h:{},x=typeof S=="string"?S.charCodeAt(0):S,w=v==="js",A=new l;if(typeof d!="string")return A;let _=d.length,C="",E=-1,R=-1,P=-1,O=A,k,I="",M="",D=!1,F=!1,$=!1,Y=!1,he=!1,fe=!1,U=!1,W=0,H=-1,ie=-1,J=-1;for(let we=0;we<_+1;we++){if(W=we!==_?d.charCodeAt(we):x,W===x){if(U=R>E,U||(R=we),P!==R-1&&(M=c(d,P+1,H>-1?H:R,$,D),I=m(M),k!==void 0&&(O=(0,r.getDeepObject)(O,k,I,w&&he,w&&fe))),U||I!==""){U&&(C=d.slice(R+1,we),Y&&(C=C.replace(o," ")),F&&(C=(0,i.default)(C)||C));let Le=p(C,I);if(y){let Ye=O[I];Ye===void 0?H>-1?O[I]=[Le]:O[I]=Le:Ye.pop?Ye.push(Le):O[I]=[Ye,Le]}else O[I]=Le}C="",E=we,R=we,D=!1,F=!1,$=!1,Y=!1,he=!1,fe=!1,H=-1,P=we,O=A,k=void 0,I=""}else W===93?(y&&g==="bracket"&&J===91&&(H=ie),b&&(v==="index"||w)&&R<=E&&(P!==ie&&(M=c(d,P+1,we,$,D),I=m(M),k!==void 0&&(O=(0,r.getDeepObject)(O,k,I,void 0,w)),k=I,$=!1,D=!1),P=we,fe=!0,he=!1)):W===46?b&&(v==="dot"||w)&&R<=E&&(P!==ie&&(M=c(d,P+1,we,$,D),I=m(M),k!==void 0&&(O=(0,r.getDeepObject)(O,k,I,w)),k=I,$=!1,D=!1),he=!0,fe=!1,P=we):W===91?b&&(v==="index"||w)&&R<=E&&(P!==ie&&(M=c(d,P+1,we,$,D),I=m(M),w&&k!==void 0&&(O=(0,r.getDeepObject)(O,k,I,w)),k=I,$=!1,D=!1,he=!1,fe=!0),P=we):W===61?R<=E?R=we:F=!0:W===43?R>E?Y=!0:$=!0:W===37&&(R>E?F=!0:D=!0);ie=we,J=W}return A}Q(u,"parse")}),X9t=Si(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=iCe();function r(n,i){if(n===null||typeof n!="object")return"";let a=i!=null?i:{};return(0,t.stringifyObject)(n,a)}Q(r,"stringify")}),WU=Si(e=>{var t=e&&e.__createBinding||(Object.create?function(a,s,o,l){l===void 0&&(l=o);var c=Object.getOwnPropertyDescriptor(s,o);(!c||("get"in c?!s.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:Q(function(){return s[o]},"get")}),Object.defineProperty(a,l,c)}:function(a,s,o,l){l===void 0&&(l=o),a[l]=s[o]}),r=e&&e.__exportStar||function(a,s){for(var o in a)o!=="default"&&!Object.prototype.hasOwnProperty.call(s,o)&&t(s,a,o)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=K9t();Object.defineProperty(e,"parse",{enumerable:!0,get:Q(function(){return n.parse},"get")});var i=X9t();Object.defineProperty(e,"stringify",{enumerable:!0,get:Q(function(){return i.stringify},"get")}),r(zU(),e)}),aCe=Si((e,t)=>{t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"",backsim:"∽",backsimeq:"⋍",Backslash:"",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"",Bernoullis:"",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"",caps:"∩︀",caret:"",caron:"ˇ",Cayleys:"",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"",dd:"",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:"",emsp14:"",emsp:"",ENG:"Ŋ",eng:"ŋ",ensp:"",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"",Escr:"",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"",exponentiale:"",ExponentialE:"",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"",frown:"⌢",fscr:"𝒻",Fscr:"",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:"",half:"½",hamilt:"",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"",HilbertSpace:"",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"",hyphen:"",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"",Igrave:"Ì",igrave:"ì",ii:"",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"",ImaginaryI:"",imagline:"",imagpart:"",imath:"ı",Im:"",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"",lscr:"𝓁",Lscr:"",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"",lsquor:"",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:"",Mellintrf:"",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"",middot:"·",minusb:"⊟",minus:"",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:"",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"",ord:"⩝",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"",pointint:"⨕",popf:"𝕡",Popf:"",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"",Prime:"″",primes:"",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:"",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"",rationals:"",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"",realine:"",realpart:"",reals:"",Re:"",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"",rscr:"𝓇",Rscr:"",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"",rsquor:"",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"",setmn:"",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"",smashp:"⨳",smeparsl:"⧤",smid:"",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"",ThickSpace:"",ThinSpace:"",thinsp:"",thkap:"≈",thksim:"",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"",Vee:"",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:"",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}}),Q9t=Si((e,t)=>{t.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}),sCe=Si((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),J9t=Si((e,t)=>{t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),Z9t=Si(e=>{var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(J9t()),n=String.fromCodePoint||function(a){var s="";return a>65535&&(a-=65536,s+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),s+=String.fromCharCode(a),s};function i(a){return a>=55296&&a<=57343||a>1114111?"<22>":(a in r.default&&(a=r.default[a]),n(a))}Q(i,"decodeCodePoint"),e.default=i}),s0e=Si(e=>{var t=e&&e.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(aCe()),n=t(Q9t()),i=t(sCe()),a=t(Z9t()),s=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=o(i.default),e.decodeHTMLStrict=o(r.default);function o(u){var d=c(u);return function(h){return String(h).replace(s,d)}}Q(o,"getStrictDecoder");var l=Q(function(u,d){return u<d?1:-1},"sorter");e.decodeHTML=(function(){for(var u=Object.keys(n.default).sort(l),d=Object.keys(r.default).sort(l),h=0,p=0;h<d.length;h++)u[p]===d[h]?(d[h]+=";?",p++):d[h]+=";";var m=new RegExp("&(?:"+d.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),g=c(r.default);function b(y){return y.substr(-1)!==";"&&(y+=";"),g(y)}return Q(b,"replacer"),function(y){return String(y).replace(m,b)}})();function c(u){return Q(function(d){if(d.charAt(1)==="#"){var h=d.charAt(2);return h==="X"||h==="x"?a.default(parseInt(d.substr(3),16)):a.default(parseInt(d.substr(2),10))}return u[d.slice(1,-1)]||d},"replace")}Q(c,"getReplacer")}),o0e=Si(e=>{var t=e&&e.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(sCe()),n=l(r.default),i=c(n);e.encodeXML=y(n);var a=t(aCe()),s=l(a.default),o=c(s);e.encodeHTML=p(s,o),e.encodeNonAsciiHTML=y(s);function l(v){return Object.keys(v).sort().reduce(function(S,x){return S[v[x]]="&"+x+";",S},{})}Q(l,"getInverseObj");function c(v){for(var S=[],x=[],w=0,A=Object.keys(v);w<A.length;w++){var _=A[w];_.length===1?S.push("\\"+_):x.push(_)}S.sort();for(var C=0;C<S.length-1;C++){for(var E=C;E<S.length-1&&S[E].charCodeAt(1)+1===S[E+1].charCodeAt(1);)E+=1;var R=1+E-C;R<3||S.splice(C,R,S[C]+"-"+S[E])}return x.unshift("["+S.join("")+"]"),new RegExp(x.join("|"),"g")}Q(c,"getInverseReplacer");var u=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=String.prototype.codePointAt!=null?(function(v){return v.codePointAt(0)}):(function(v){return(v.charCodeAt(0)-55296)*1024+v.charCodeAt(1)-56320+65536});function h(v){return"&#x"+(v.length>1?d(v):v.charCodeAt(0)).toString(16).toUpperCase()+";"}Q(h,"singleCharReplacer");function p(v,S){return function(x){return x.replace(S,function(w){return v[w]}).replace(u,h)}}Q(p,"getInverse");var m=new RegExp(i.source+"|"+u.source,"g");function g(v){return v.replace(m,h)}Q(g,"escape"),e.escape=g;function b(v){return v.replace(i,h)}Q(b,"escapeUTF8"),e.escapeUTF8=b;function y(v){return function(S){return S.replace(m,function(x){return v[x]||h(x)})}}Q(y,"getASCIIEncoder")}),eEt=Si(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=s0e(),r=o0e();function n(l,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(l)}Q(n,"decode"),e.decode=n;function i(l,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(l)}Q(i,"decodeStrict"),e.decodeStrict=i;function a(l,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(l)}Q(a,"encode"),e.encode=a;var s=o0e();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:Q(function(){return s.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:Q(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:Q(function(){return s.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:Q(function(){return s.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:Q(function(){return s.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:Q(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:Q(function(){return s.encodeHTML},"get")});var o=s0e();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:Q(function(){return o.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:Q(function(){return o.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:Q(function(){return o.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:Q(function(){return o.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:Q(function(){return o.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:Q(function(){return o.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:Q(function(){return o.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:Q(function(){return o.decodeXML},"get")})}),tEt=Si((e,t)=>{function r(I,M){if(!(I instanceof M))throw new TypeError("Cannot call a class as a function")}Q(r,"_classCallCheck");function n(I,M){for(var D=0;D<M.length;D++){var F=M[D];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(I,F.key,F)}}Q(n,"_defineProperties");function i(I,M,D){return M&&n(I.prototype,M),D&&n(I,D),I}Q(i,"_createClass");function a(I,M){var D=typeof Symbol<"u"&&I[Symbol.iterator]||I["@@iterator"];if(!D){if(Array.isArray(I)||(D=s(I))||M&&I&&typeof I.length=="number"){D&&(I=D);var F=0,$=Q(function(){},"F");return{s:$,n:Q(function(){return F>=I.length?{done:!0}:{done:!1,value:I[F++]}},"n"),e:Q(function(U){throw U},"e"),f:$}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Y=!0,he=!1,fe;return{s:Q(function(){D=D.call(I)},"s"),n:Q(function(){var U=D.next();return Y=U.done,U},"n"),e:Q(function(U){he=!0,fe=U},"e"),f:Q(function(){try{!Y&&D.return!=null&&D.return()}finally{if(he)throw fe}},"f")}}Q(a,"_createForOfIteratorHelper");function s(I,M){if(I){if(typeof I=="string")return o(I,M);var D=Object.prototype.toString.call(I).slice(8,-1);if(D==="Object"&&I.constructor&&(D=I.constructor.name),D==="Map"||D==="Set")return Array.from(I);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return o(I,M)}}Q(s,"_unsupportedIterableToArray");function o(I,M){(M==null||M>I.length)&&(M=I.length);for(var D=0,F=new Array(M);D<M;D++)F[D]=I[D];return F}Q(o,"_arrayLikeToArray");var l=eEt(),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:u()};function u(){var I={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return v(0,5).forEach(function(M){v(0,5).forEach(function(D){v(0,5).forEach(function(F){return d(M,D,F,I)})})}),v(0,23).forEach(function(M){var D=M+232,F=h(M*10+8);I[D]="#"+F+F+F}),I}Q(u,"getDefaultColors");function d(I,M,D,F){var $=16+I*36+M*6+D,Y=I>0?I*40+55:0,he=M>0?M*40+55:0,fe=D>0?D*40+55:0;F[$]=p([Y,he,fe])}Q(d,"setStyleColor");function h(I){for(var M=I.toString(16);M.length<2;)M="0"+M;return M}Q(h,"toHexString");function p(I){var M=[],D=a(I),F;try{for(D.s();!(F=D.n()).done;){var $=F.value;M.push(h($))}}catch(Y){D.e(Y)}finally{D.f()}return"#"+M.join("")}Q(p,"toColorHexString");function m(I,M,D,F){var $;return M==="text"?$=w(D,F):M==="display"?$=b(I,D,F):M==="xterm256Foreground"?$=C(I,F.colors[D]):M==="xterm256Background"?$=E(I,F.colors[D]):M==="rgb"&&($=g(I,D)),$}Q(m,"generateOutput");function g(I,M){M=M.substring(2).slice(0,-1);var D=+M.substr(0,2),F=M.substring(5).split(";"),$=F.map(function(Y){return("0"+Number(Y).toString(16)).substr(-2)}).join("");return _(I,(D===38?"color:#":"background-color:#")+$)}Q(g,"handleRgb");function b(I,M,D){M=parseInt(M,10);var F={"-1":Q(function(){return"<br/>"},"_"),0:Q(function(){return I.length&&y(I)},"_"),1:Q(function(){return A(I,"b")},"_"),3:Q(function(){return A(I,"i")},"_"),4:Q(function(){return A(I,"u")},"_"),8:Q(function(){return _(I,"display:none")},"_"),9:Q(function(){return A(I,"strike")},"_"),22:Q(function(){return _(I,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:Q(function(){return R(I,"i")},"_"),24:Q(function(){return R(I,"u")},"_"),39:Q(function(){return C(I,D.fg)},"_"),49:Q(function(){return E(I,D.bg)},"_"),53:Q(function(){return _(I,"text-decoration:overline")},"_")},$;return F[M]?$=F[M]():4<M&&M<7?$=A(I,"blink"):29<M&&M<38?$=C(I,D.colors[M-30]):39<M&&M<48?$=E(I,D.colors[M-40]):89<M&&M<98?$=C(I,D.colors[8+(M-90)]):99<M&&M<108&&($=E(I,D.colors[8+(M-100)])),$}Q(b,"handleDisplay");function y(I){var M=I.slice(0);return I.length=0,M.reverse().map(function(D){return"</"+D+">"}).join("")}Q(y,"resetStyles");function v(I,M){for(var D=[],F=I;F<=M;F++)D.push(F);return D}Q(v,"range");function S(I){return function(M){return(I===null||M.category!==I)&&I!=="all"}}Q(S,"notCategory");function x(I){I=parseInt(I,10);var M=null;return I===0?M="all":I===1?M="bold":2<I&&I<5?M="underline":4<I&&I<7?M="blink":I===8?M="hide":I===9?M="strike":29<I&&I<38||I===39||89<I&&I<98?M="foreground-color":(39<I&&I<48||I===49||99<I&&I<108)&&(M="background-color"),M}Q(x,"categoryForCode");function w(I,M){return M.escapeXML?l.encodeXML(I):I}Q(w,"pushText");function A(I,M,D){return D||(D=""),I.push(M),"<".concat(M).concat(D?' style="'.concat(D,'"'):"",">")}Q(A,"pushTag");function _(I,M){return A(I,"span",M)}Q(_,"pushStyle");function C(I,M){return A(I,"span","color:"+M)}Q(C,"pushForegroundColor");function E(I,M){return A(I,"span","background-color:"+M)}Q(E,"pushBackgroundColor");function R(I,M){var D;if(I.slice(-1)[0]===M&&(D=I.pop()),D)return"</"+M+">"}Q(R,"closeTag");function P(I,M,D){var F=!1,$=3;function Y(){return""}Q(Y,"remove");function he(le,Te){return D("xterm256Foreground",Te),""}Q(he,"removeXterm256Foreground");function fe(le,Te){return D("xterm256Background",Te),""}Q(fe,"removeXterm256Background");function U(le){return M.newline?D("display",-1):D("text",le),""}Q(U,"newline");function W(le,Te){F=!0,Te.trim().length===0&&(Te="0"),Te=Te.trimRight(";").split(";");var be=a(Te),ze;try{for(be.s();!(ze=be.n()).done;){var Ze=ze.value;D("display",Ze)}}catch(St){be.e(St)}finally{be.f()}return""}Q(W,"ansiMess");function H(le){return D("text",le),""}Q(H,"realText");function ie(le){return D("rgb",le),""}Q(ie,"rgb");var J=[{pattern:/^\x08+/,sub:Y},{pattern:/^\x1b\[[012]?K/,sub:Y},{pattern:/^\x1b\[\(B/,sub:Y},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:ie},{pattern:/^\x1b\[38;5;(\d+)m/,sub:he},{pattern:/^\x1b\[48;5;(\d+)m/,sub:fe},{pattern:/^\n/,sub:U},{pattern:/^\r+\n/,sub:U},{pattern:/^\r/,sub:U},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:W},{pattern:/^\x1b\[\d?J/,sub:Y},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:Y},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:Y},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:H}];function we(le,Te){Te>$&&F||(F=!1,I=I.replace(le.pattern,le.sub))}Q(we,"process");var Le=[],Ye=I,oe=Ye.length;e:for(;oe>0;){for(var X=0,se=0,Ce=J.length;se<Ce;X=++se){var ce=J[X];if(we(ce,X),I.length!==oe){oe=I.length;continue e}}if(I.length===oe)break;Le.push(0),oe=I.length}return Le}Q(P,"tokenize");function O(I,M,D){return M!=="text"&&(I=I.filter(S(x(D))),I.push({token:M,data:D,category:x(D)})),I}Q(O,"updateStickyStack");var k=(function(){function I(M){r(this,I),M=M||{},M.colors&&(M.colors=Object.assign({},c.colors,M.colors)),this.options=Object.assign({},c,M),this.stack=[],this.stickyStack=[]}return Q(I,"Filter"),i(I,[{key:"toHtml",value:Q(function(M){var D=this;M=typeof M=="string"?[M]:M;var F=this.stack,$=this.options,Y=[];return this.stickyStack.forEach(function(he){var fe=m(F,he.token,he.data,$);fe&&Y.push(fe)}),P(M.join(""),$,function(he,fe){var U=m(F,he,fe,$);U&&Y.push(U),$.stream&&(D.stickyStack=O(D.stickyStack,he,fe))}),F.length&&Y.push(y(F)),Y.join("")},"toHtml")}]),I})();t.exports=k});function oCe(){let e={setHandler:Q(()=>{},"setHandler"),send:Q(()=>{},"send")};return new kq({transport:e})}Q(oCe,"mockChannel");var lCe=class{constructor(){this.getChannel=Q(()=>{if(!this.channel){let t=oCe();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=Q(()=>this.promise,"ready"),this.hasChannel=Q(()=>!!this.channel,"hasChannel"),this.setChannel=Q(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};Q(lCe,"AddonStore");var rEt=lCe,$9="__STORYBOOK_ADDONS_PREVIEW";function cCe(){return Ue[$9]||(Ue[$9]=new rEt),Ue[$9]}Q(cCe,"getAddonsStore");var Ta=cCe(),uCe=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=Q(t=>{var r;t===((r=this.currentContext)==null?void 0:r.id)&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),Ta.getChannel().on(Tg,this.renderListener)}removeRenderListeners(){Ta.getChannel().removeListener(Tg,this.renderListener)}};Q(uCe,"HooksContext");var dCe=uCe;function XD(e){let t=Q((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],i=n.currentPhase,a=n.currentHooks,s=n.nextHookIndex,o=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let l=Ue.STORYBOOK_HOOKS_CONTEXT;Ue.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(Ue.STORYBOOK_HOOKS_CONTEXT=l,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=i,n.currentHooks=a,n.nextHookIndex=s,n.currentDecoratorName=o,c},"hookified");return t.originalFn=e,t}Q(XD,"hookify");var B9=0,nEt=25,iEt=Q(e=>(t,r)=>{let n=e(XD(t),r.map(i=>XD(i)));return i=>{var o;let{hooks:a}=i;(o=a.prevMountedDecorators)!=null||(a.prevMountedDecorators=new Set),a.mountedDecorators=new Set([t,...r]),a.currentContext=i,a.hasUpdates=!1;let s=n(i);for(B9=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],s=n(i),B9+=1,B9>nEt)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),s}},"applyHooks"),aEt=Q((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),HU=Q(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function UU(){return Ue.STORYBOOK_HOOKS_CONTEXT||null}Q(UU,"getHooksContextOrNull");function aA(){let e=UU();if(e==null)throw HU();return e}Q(aA,"getHooksContextOrThrow");function pCe(e,t,r){let n=aA();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&d0.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let i={name:e,deps:r};return n.currentHooks.push(i),t(i),i}if(n.currentPhase==="UPDATE"){let i=n.getNextHook();if(i==null)throw new Error("Rendered more hooks than during the previous render.");return i.name!==e&&d0.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&i.deps==null&&d0.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&i.deps!=null&&r.length!==i.deps.length&&d0.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
Previous: ${i.deps}
Incoming: ${r}`),(r==null||i.deps==null||!aEt(r,i.deps))&&(t(i),i.deps=r),i}throw HU()}Q(pCe,"useHook");function i2(e,t,r){let{memoizedState:n}=pCe(e,i=>{i.memoizedState=t()},r);return n}Q(i2,"useMemoLike");function hCe(e,t){return i2("useMemo",e,t)}Q(hCe,"useMemo");function R7(e,t){return i2("useCallback",()=>e,t)}Q(R7,"useCallback");function GU(e,t){return i2(e,()=>({current:t}),[])}Q(GU,"useRefLike");function sEt(e){return GU("useRef",e)}Q(sEt,"useRef");function fCe(){let e=UU();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{Ta.getChannel().emit(Rq)}catch(t){d0.warn("State updates of Storybook preview hooks work only in browser")}}Q(fCe,"triggerUpdate");function VU(e,t){let r=GU(e,typeof t=="function"?t():t),n=Q(i=>{r.current=typeof i=="function"?i(r.current):i,fCe()},"setState");return[r.current,n]}Q(VU,"useStateLike");function oEt(e){return VU("useState",e)}Q(oEt,"useState");function lEt(e,t,r){let n=r!=null?()=>r(t):t,[i,a]=VU("useReducer",n);return[i,Q(s=>a(o=>e(o,s)),"dispatch")]}Q(lEt,"useReducer");function Lh(e,t){let r=aA(),n=i2("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}Q(Lh,"useEffect");function cEt(e,t=[]){let r=Ta.getChannel();return Lh(()=>(Object.entries(e).forEach(([n,i])=>r.on(n,i)),()=>{Object.entries(e).forEach(([n,i])=>r.removeListener(n,i))}),[...Object.keys(e),...t]),R7(r.emit.bind(r),[r])}Q(cEt,"useChannel");function sA(){let{currentContext:e}=aA();if(e==null)throw HU();return e}Q(sA,"useStoryContext");function uEt(e,t){var n;let{parameters:r}=sA();if(e)return(n=r[e])!=null?n:t}Q(uEt,"useParameter");function dEt(){let e=Ta.getChannel(),{id:t,args:r}=sA(),n=R7(a=>e.emit(Mq,{storyId:t,updatedArgs:a}),[e,t]),i=R7(a=>e.emit(Iq,{storyId:t,argNames:a}),[e,t]);return[r,n,i]}Q(dEt,"useArgs");function pEt(){let e=Ta.getChannel(),{globals:t}=sA(),r=R7(n=>e.emit(Oq,{globals:n}),[e]);return[t,r]}Q(pEt,"useGlobals");function mCe(){}Q(mCe,"noop");function QD(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}Q(QD,"getSymbols");function JD(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}Q(JD,"getTag");var hEt="[object RegExp]",fEt="[object String]",mEt="[object Number]",gEt="[object Boolean]",l0e="[object Arguments]",bEt="[object Symbol]",yEt="[object Date]",vEt="[object Map]",TEt="[object Set]",SEt="[object Array]",xEt="[object Function]",wEt="[object ArrayBuffer]",N9="[object Object]",_Et="[object Error]",AEt="[object DataView]",CEt="[object Uint8Array]",EEt="[object Uint8ClampedArray]",PEt="[object Uint16Array]",jEt="[object Uint32Array]",REt="[object BigUint64Array]",IEt="[object Int8Array]",OEt="[object Int16Array]",MEt="[object Int32Array]",kEt="[object BigInt64Array]",DEt="[object Float32Array]",LEt="[object Float64Array]";function To(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}Q(To,"isPlainObject");function Wg(e,t){let r={},n=Object.keys(e);for(let i=0;i<n.length;i++){let a=n[i],s=e[a];r[a]=t(s,a,e)}return r}Q(Wg,"mapValues");function gCe(e,t){let r={},n=Object.keys(e);for(let i=0;i<n.length;i++){let a=n[i],s=e[a];t(s,a)&&(r[a]=s)}return r}Q(gCe,"pickBy");function bCe(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}Q(bCe,"eq");function yCe(e,t,r){return dm(e,t,void 0,void 0,void 0,void 0,r)}Q(yCe,"isEqualWith");function dm(e,t,r,n,i,a,s){let o=s(e,t,r,n,i,a);if(o!==void 0)return o;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return zm(e,t,a,s)}return zm(e,t,a,s)}Q(dm,"isEqualWithImpl");function zm(e,t,r,n){if(Object.is(e,t))return!0;let i=JD(e),a=JD(t);if(i===l0e&&(i=N9),a===l0e&&(a=N9),i!==a)return!1;switch(i){case fEt:return e.toString()===t.toString();case mEt:{let l=e.valueOf(),c=t.valueOf();return bCe(l,c)}case gEt:case yEt:case bEt:return Object.is(e.valueOf(),t.valueOf());case hEt:return e.source===t.source&&e.flags===t.flags;case xEt:return e===t}r=r!=null?r:new Map;let s=r.get(e),o=r.get(t);if(s!=null&&o!=null)return s===t;r.set(e,t),r.set(t,e);try{switch(i){case vEt:{if(e.size!==t.size)return!1;for(let[l,c]of e.entries())if(!t.has(l)||!dm(c,t.get(l),l,e,t,r,n))return!1;return!0}case TEt:{if(e.size!==t.size)return!1;let l=Array.from(e.values()),c=Array.from(t.values());for(let u=0;u<l.length;u++){let d=l[u],h=c.findIndex(p=>dm(d,p,void 0,e,t,r,n));if(h===-1)return!1;c.splice(h,1)}return!0}case SEt:case CEt:case EEt:case PEt:case jEt:case REt:case IEt:case OEt:case MEt:case kEt:case DEt:case LEt:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l<e.length;l++)if(!dm(e[l],t[l],l,e,t,r,n))return!1;return!0}case wEt:return e.byteLength!==t.byteLength?!1:zm(new Uint8Array(e),new Uint8Array(t),r,n);case AEt:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:zm(new Uint8Array(e),new Uint8Array(t),r,n);case _Et:return e.name===t.name&&e.message===t.message;case N9:{if(!(zm(e.constructor,t.constructor,r,n)||To(e)&&To(t)))return!1;let l=[...Object.keys(e),...QD(e)],c=[...Object.keys(t),...QD(t)];if(l.length!==c.length)return!1;for(let u=0;u<l.length;u++){let d=l[u],h=e[d];if(!Object.hasOwn(t,d))return!1;let p=t[d];if(!dm(h,p,d,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}Q(zm,"areObjectsEqual");function vCe(e,t){return yCe(e,t,mCe)}Q(vCe,"isEqual");var q9=U1(rCe());function su(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var i=n.reduce(function(o,l){var c=l.match(/\n([\t ]+|(?!\s).)/g);return c?o.concat(c.map(function(u){var d,h;return(h=(d=u.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&h!==void 0?h:0})):o},[]);if(i.length){var a=new RegExp(`
[ ]{`+Math.min.apply(Math,i)+"}","g");n=n.map(function(o){return o.replace(a,`
`)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(o,l){var c=s.match(/(?:^|\n)( *)$/),u=c?c[1]:"",d=o;typeof o=="string"&&o.includes(`
`)&&(d=String(o).split(`
`).map(function(h,p){return p===0?h:""+u+h}).join(`
`)),s+=d+n[l+1]}),s}Q(su,"dedent");var Hf=Symbol("incompatible"),ZD=Q((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?Hf:e.reduce((n,i,a)=>{let s=ZD(i,{type:r.value});return s!==Hf&&(n[a]=s),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Hf:Object.entries(e).reduce((n,[i,a])=>{let s=ZD(a,{type:r.value[i]});return s===Hf?n:Object.assign(n,{[i]:s})},{});default:return Hf}},"map"),FEt=Q((e,t)=>Object.entries(e).reduce((r,[n,i])=>{if(!t[n])return r;let a=ZD(i,t[n]);return a===Hf?r:Object.assign(r,{[n]:a})},{}),"mapArgsToTypes"),eL=Q((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,i)=>(r[i]=eL(e[i],t[i]),r),[...e]).filter(r=>r!==void 0):!To(e)||!To(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let i=eL(e[n],t[n]);i!==void 0&&(r[n]=i)}else r[n]=e[n];return r},{}),"combineArgs"),$Et=Q((e,t)=>Object.entries(t).reduce((r,[n,{options:i}])=>{function a(){return n in e&&(r[n]=e[n]),r}if(Q(a,"allowArg"),!i)return a();if(!Array.isArray(i))return pn.error(su`
Invalid argType: '${n}.options' should be an array.
More info: https://storybook.js.org/docs/api/arg-types?ref=error
`),a();if(i.some(d=>d&&["object","function"].includes(typeof d)))return pn.error(su`
Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
More info: https://storybook.js.org/docs/writing-stories/args?ref=error#mapping-to-complex-arg-values
`),a();let s=Array.isArray(e[n]),o=s&&e[n].findIndex(d=>!i.includes(d)),l=s&&o===-1;if(e[n]===void 0||i.includes(e[n])||l)return a();let c=s?`${n}[${o}]`:n,u=i.map(d=>typeof d=="string"?`'${d}'`:String(d)).join(", ");return pn.warn(`Received illegal value for '${c}'. Supported options: ${u}`),r},{}),"validateOptions"),o5=Symbol("Deeply equal"),cw=Q((e,t)=>{if(typeof e!=typeof t)return t;if(vCe(e,t))return o5;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,i,a)=>{let s=cw(e[a],i);return s!==o5&&(n[a]=s),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return To(e)&&To(t)?Object.keys({...e,...t}).reduce((r,n)=>{let i=cw(e==null?void 0:e[n],t==null?void 0:t[n]);return i===o5?r:Object.assign(r,{[n]:i})},{}):t},"deepDiff"),TCe="UNTARGETED";function SCe({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,i])=>{let{target:a=TCe}=t[n]||{};r[a]=r[a]||{},r[a][n]=i}),r}Q(SCe,"groupArgsByTarget");function xCe(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}Q(xCe,"deleteUndefined");var wCe=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=cw(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==o5&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=$Et(r,t.argTypes);this.argsByStoryId[t.id]=eL(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=FEt(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=xCe({...this.argsByStoryId[t],...r})}};Q(wCe,"ArgsStore");var BEt=wCe,_Ce=Q((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),ACe=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&cw(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let i=_Ce(r);this.initialGlobals={...i,...t},this.globals=this.initialGlobals,n&&n!==o5&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,i])=>(this.allowedGlobalNames.has(n)?r[n]=i:d0.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)};for(let r in t)t[r]===void 0&&(this.globals[r]=this.initialGlobals[r])}};Q(ACe,"GlobalsStore");var NEt=ACe,qEt=U1(rCe()),zEt=(0,qEt.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),CCe=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(a=>a.id.startsWith(t));let{name:n,title:i}=t;return r.find(a=>a.name===n&&a.title===i)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new S7t({storyId:t});return r}importPathToEntry(t){return zEt(this.entries)[t]}};Q(CCe,"StoryIndexStore");var WEt=CCe,HEt=Q(e=>typeof e=="string"?{name:e}:e,"normalizeType"),UEt=Q(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),GEt=Q((e,t)=>{let{type:r,control:n,...i}=e,a={name:t,...i};return r&&(a.type=HEt(r)),n?a.control=UEt(n):n===!1&&(a.control={disable:!0}),a},"normalizeInputType"),uw=Q(e=>Wg(e,GEt),"normalizeInputTypes"),b0=Q(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),VEt=su`
CSF .story annotations deprecated; annotate story functions directly:
- StoryFn.story.name => StoryFn.storyName
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
`;function dw(e,t,r){let n=t,i=typeof t=="function"?t:null,{story:a}=n;a&&(d0.debug("deprecated story",a),Eq(VEt));let s=tCe(e),o=typeof n!="function"&&n.name||n.storyName||(a==null?void 0:a.name)||s,l=[...b0(n.decorators),...b0(a==null?void 0:a.decorators)],c={...a==null?void 0:a.parameters,...n.parameters},u={...a==null?void 0:a.args,...n.args},d={...a==null?void 0:a.argTypes,...n.argTypes},h=[...b0(n.loaders),...b0(a==null?void 0:a.loaders)],p=[...b0(n.beforeEach),...b0(a==null?void 0:a.beforeEach)],m=[...b0(n.afterEach),...b0(a==null?void 0:a.afterEach)],{render:g,play:b,tags:y=[],globals:v={}}=n,S=c.__id||eCe(r.id,s);return{moduleExport:t,id:S,name:o,tags:y,decorators:l,parameters:c,args:u,argTypes:uw(d),loaders:h,beforeEach:p,afterEach:m,globals:v,...g&&{render:g},...i&&{userStoryFn:i},...b&&{play:b}}}Q(dw,"normalizeStory");function pw(e,t=e.title,r){let{id:n,argTypes:i}=e;return{id:BU(n||t),...e,title:t,...i&&{argTypes:uw(i)},parameters:{fileName:r,...e.parameters}}}Q(pw,"normalizeComponentAnnotations");var YEt=Q(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&d0.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),KEt=Q(e=>{let{options:t}=e;t!=null&&t.storySort&&d0.error("The storySort option parameter can only be set globally")},"checkStorySort"),N3=Q(e=>{e&&(YEt(e),KEt(e))},"checkDisallowedParameters");function ECe(e,t,r){let{default:n,__namedExportsOrder:i,...a}=e,s=Object.values(a)[0];if(iA(s)){let c=pw(s.meta.input,r,t);N3(c.parameters);let u={meta:c,stories:{},moduleExports:e};return Object.keys(a).forEach(d=>{if(lw(d,c)){let h=dw(d,a[d].input,c);N3(h.parameters),u.stories[h.id]=h}}),u.projectAnnotations=s.meta.preview.composed,u}let o=pw(n,r,t);N3(o.parameters);let l={meta:o,stories:{},moduleExports:e};return Object.keys(a).forEach(c=>{if(lw(c,o)){let u=dw(c,a[c],o);N3(u.parameters),l.stories[u.id]=u}}),l}Q(ECe,"processCSFFile");function PCe(e){return e!=null&&jCe(e).includes("mount")}Q(PCe,"mountDestructured");function jCe(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=tL(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?tL(n.slice(1,-1).replace(/\s/g,"")).map(i=>i.replace(/:.*|=.*/g,"")):[]}Q(jCe,"getUsedProps");function tL(e){let t=[],r=[],n=0;for(let a=0;a<e.length;a++)if(e[a]==="{"||e[a]==="[")r.push(e[a]==="{"?"}":"]");else if(e[a]===r[r.length-1])r.pop();else if(!r.length&&e[a]===","){let s=e.substring(n,a).trim();s&&t.push(s),n=a+1}let i=e.substring(n).trim();return i&&t.push(i),t}Q(tL,"splitByComma");function RCe(e,t,r){let n=r(e);return i=>t(n,i)}Q(RCe,"decorateStory");function ICe({componentId:e,title:t,kind:r,id:n,name:i,story:a,parameters:s,initialArgs:o,argTypes:l,...c}={}){return c}Q(ICe,"sanitizeStoryContextUpdate");function OCe(e,t){let r={},n=Q(a=>s=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...ICe(s)},a(r.value)},"bindWithContext"),i=t.reduce((a,s)=>RCe(a,s,n),e);return a=>(r.value=a,i(a))}Q(OCe,"defaultDecorateStory");var Hg=Q((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((i,a)=>(Object.entries(a).forEach(([s,o])=>{let l=i[s];Array.isArray(o)||typeof l>"u"?i[s]=o:To(o)&&To(l)?t[s]=!0:typeof o<"u"&&(i[s]=o)}),i),{});return Object.keys(t).forEach(i=>{let a=r.filter(Boolean).map(s=>s[i]).filter(s=>typeof s<"u");a.every(s=>To(s))?n[i]=Hg(...a):n[i]=a[a.length-1]}),n},"combineParameters");function YU(e,t,r){var A,_,C,E;let{moduleExport:n,id:i,name:a}=e||{},s=KU(e,t,r),o=Q(async R=>{let P={};for(let O of[b0(r.loaders),b0(t.loaders),b0(e.loaders)]){if(R.abortSignal.aborted)return P;let k=await Promise.all(O.map(I=>I(R)));Object.assign(P,...k)}return P},"applyLoaders"),l=Q(async R=>{let P=new Array;for(let O of[...b0(r.beforeEach),...b0(t.beforeEach),...b0(e.beforeEach)]){if(R.abortSignal.aborted)return P;let k=await O(R);k&&P.push(k)}return P},"applyBeforeEach"),c=Q(async R=>{let P=[...b0(r.afterEach),...b0(t.afterEach),...b0(e.afterEach)].reverse();for(let O of P){if(R.abortSignal.aborted)return;await O(R)}},"applyAfterEach"),u=Q(R=>R.originalStoryFn(R.args,R),"undecoratedStoryFn"),{applyDecorators:d=OCe,runStep:h}=r,p=[...b0(e==null?void 0:e.decorators),...b0(t==null?void 0:t.decorators),...b0(r==null?void 0:r.decorators)],m=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render,g=iEt(d)(u,p),b=Q(R=>g(R),"unboundStoryFn"),y=(A=e==null?void 0:e.play)!=null?A:t==null?void 0:t.play,v=PCe(y);if(!m&&!v)throw new x7e({id:i});let S=Q(R=>async()=>(await R.renderToCanvas(),R.canvas),"defaultMount"),x=(E=(C=(_=e.mount)!=null?_:t.mount)!=null?C:r.mount)!=null?E:S,w=r.testingLibraryRender;return{storyGlobals:{},...s,moduleExport:n,id:i,name:a,story:a,originalStoryFn:m,undecoratedStoryFn:u,unboundStoryFn:b,applyLoaders:o,applyBeforeEach:l,applyAfterEach:c,playFunction:y,runStep:h,mount:x,testingLibraryRender:w,renderToCanvas:r.renderToCanvas,usesMount:v}}Q(YU,"prepareStory");function MCe(e,t,r){return{...KU(void 0,e,t),moduleExport:r}}Q(MCe,"prepareMeta");function KU(e,t,r){var y,v,S,x;let n=["dev","test"],i=((y=Ue.DOCS_OPTIONS)==null?void 0:y.autodocs)===!0?["autodocs"]:[],a=NU(...n,...i,...(v=r.tags)!=null?v:[],...(S=t.tags)!=null?S:[],...(x=e==null?void 0:e.tags)!=null?x:[]),s=Hg(r.parameters,t.parameters,e==null?void 0:e.parameters),{argTypesEnhancers:o=[],argsEnhancers:l=[]}=r,c=Hg(r.argTypes,t.argTypes,e==null?void 0:e.argTypes);if(e){let w=(e==null?void 0:e.userStoryFn)||(e==null?void 0:e.render)||t.render||r.render;s.__isArgsStory=w&&w.length>0}let u={...r.args,...t.args,...e==null?void 0:e.args},d={...t.globals,...e==null?void 0:e.globals},h={componentId:t.id,title:t.title,kind:t.title,id:(e==null?void 0:e.id)||t.id,name:(e==null?void 0:e.name)||"__meta",story:(e==null?void 0:e.name)||"__meta",component:t.component,subcomponents:t.subcomponents,tags:a,parameters:s,initialArgs:u,argTypes:c,storyGlobals:d};h.argTypes=o.reduce((w,A)=>A({...h,argTypes:w}),h.argTypes);let p={...u};h.initialArgs=[...l].reduce((w,A)=>({...w,...A({...h,initialArgs:w})}),p);let{name:m,story:g,...b}=h;return b}Q(KU,"preparePartialAnnotations");function XU(e){var a;let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if((a=Ue.FEATURES)!=null&&a.argTypeTargetsV7){let s=SCe(e);r={...e,allArgs:e.args,argsByTarget:s,args:s[TCe]||{}}}let n=Object.entries(r.args).reduce((s,[o,l])=>{var u;if(!((u=r.argTypes[o])!=null&&u.mapping))return s[o]=l,s;let c=Q(d=>{let h=r.argTypes[o].mapping;return h&&d in h?h[d]:d},"mappingFn");return s[o]=Array.isArray(l)?l.map(c):c(l),s},{}),i=Object.entries(n).reduce((s,[o,l])=>{let c=r.argTypes[o]||{};return JAe(c,n,r.globals)&&(s[o]=l),s},{});return{...r,unmappedArgs:t,args:i}}Q(XU,"prepareContext");var rL=Q((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n}}return e?r.has(e)?(d0.warn(su`
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
Consider using the mapping feature or fully custom args:
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?rL(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Wg(e,i=>rL(i,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),kCe=Q(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,i=Wg(n,(s,o)=>({name:o,type:rL(s,`${t}.${o}`,new Set)})),a=Wg(r,(s,o)=>({name:o}));return Hg(i,a,r)},"inferArgTypes");kCe.secondPass=!0;var c0e=Q((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),XEt=Q((e,t,r)=>!t&&!r?e:e&&gCe(e,(n,i)=>{let a=n.name||i.toString();return!!(!t||c0e(a,t))&&(!r||!c0e(a,r))}),"filterArgTypes"),QEt=Q((e,t,r)=>{let{type:n,options:i}=e;if(n){if(r.color&&r.color.test(t)){let a=n.name;if(a==="string")return{control:{type:"color"}};a!=="enum"&&d0.warn(`Addon controls: Control of type color only supports string, received "${a}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:a}=n;return{control:{type:(a==null?void 0:a.length)<=5?"radio":"select"},options:a}}case"function":case"symbol":return null;default:return{control:{type:i?"select":"object"}}}}},"inferControl"),DCe=Q(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:i=null,matchers:a={}}={}}}=e;if(!r)return t;let s=XEt(t,n,i),o=Wg(s,(l,c)=>(l==null?void 0:l.type)&&QEt(l,c.toString(),a));return Hg(o,s)},"inferControls");DCe.secondPass=!0;function hw({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:i,beforeEach:a,afterEach:s,initialGlobals:o,...l}){return{...e&&{argTypes:uw(e)},...t&&{globalTypes:uw(t)},decorators:b0(n),loaders:b0(i),beforeEach:b0(a),afterEach:b0(s),argTypesEnhancers:[...r||[],kCe,DCe],initialGlobals:o,...l}}Q(hw,"normalizeProjectAnnotations");var JEt=Q(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function LCe(e){return async(t,r,n)=>{await e.reduceRight((i,a)=>async()=>a(t,i,n),async()=>r(n))()}}Q(LCe,"composeStepRunners");function Ug(e,t){return e.map(r=>{var n,i;return(i=(n=r.default)==null?void 0:n[t])!=null?i:r[t]}).filter(Boolean)}Q(Ug,"getField");function vc(e,t,r={}){return Ug(e,t).reduce((n,i)=>{let a=b0(i);return r.reverseFileOrder?[...a,...n]:[...n,...a]},[])}Q(vc,"getArrayField");function by(e,t){return Object.assign({},...Ug(e,t))}Q(by,"getObjectField");function Uf(e,t){return Ug(e,t).pop()}Q(Uf,"getSingletonField");function Gg(e){var i,a;let t=vc(e,"argTypesEnhancers"),r=Ug(e,"runStep"),n=vc(e,"beforeAll");return{parameters:Hg(...Ug(e,"parameters")),decorators:vc(e,"decorators",{reverseFileOrder:!((a=(i=Ue.FEATURES)==null?void 0:i.legacyDecoratorFileOrder)!=null&&a)}),args:by(e,"args"),argsEnhancers:vc(e,"argsEnhancers"),argTypes:by(e,"argTypes"),argTypesEnhancers:[...t.filter(s=>!s.secondPass),...t.filter(s=>s.secondPass)],initialGlobals:by(e,"initialGlobals"),globalTypes:by(e,"globalTypes"),loaders:vc(e,"loaders"),beforeAll:JEt(n),beforeEach:vc(e,"beforeEach"),afterEach:vc(e,"afterEach"),render:Uf(e,"render"),renderToCanvas:Uf(e,"renderToCanvas"),applyDecorators:Uf(e,"applyDecorators"),runStep:LCe(r),tags:vc(e,"tags"),mount:Uf(e,"mount"),testingLibraryRender:Uf(e,"testingLibraryRender")}}Q(Gg,"composeConfigs");function QU(){var e,t,r;try{return!!globalThis.__vitest_browser__||!!((r=(t=(e=globalThis.window)==null?void 0:e.navigator)==null?void 0:t.userAgent)!=null&&r.match(/StorybookTestRunner/))}catch(n){return!1}}Q(QU,"isTestEnvironment");function JU(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
animation: none !important;
}`,document.head.appendChild(t);let r=document.createElement("style");return r.textContent=`*, *:before, *:after {
animation-delay: 0s !important;
animation-direction: ${e?"reverse":"normal"} !important;
animation-play-state: paused !important;
transition: none !important;
}`,document.head.appendChild(r),document.body.clientHeight,document.head.removeChild(t),()=>{var n;(n=r.parentNode)==null||n.removeChild(r)}}Q(JU,"pauseAnimations");async function ZU(e){if(!("document"in globalThis&&"getAnimations"in globalThis.document&&"querySelectorAll"in globalThis.document))return;let t=!1;await Promise.race([new Promise(r=>{setTimeout(()=>{let n=[globalThis.document,...eG(globalThis.document)],i=Q(async()=>{if(t||e!=null&&e.aborted)return;let a=n.flatMap(s=>{var o;return((o=s==null?void 0:s.getAnimations)==null?void 0:o.call(s))||[]}).filter(s=>s.playState==="running"&&!FCe(s));a.length>0&&(await Promise.all(a.map(s=>s.finished)),await i())},"checkAnimationsFinished");i().then(r)},100)}),new Promise(r=>setTimeout(()=>{t=!0,r(void 0)},5e3))])}Q(ZU,"waitForAnimations");function eG(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...eG(r.shadowRoot)),t),[])}Q(eG,"getShadowRoots");function FCe(e){var t;if(e instanceof CSSAnimation&&e.effect instanceof KeyframeEffect&&e.effect.target){let r=getComputedStyle(e.effect.target,e.effect.pseudoElement),n=(t=r.animationName)==null?void 0:t.split(", ").indexOf(e.animationName);return r.animationIterationCount.split(", ")[n]==="infinite"}return!1}Q(FCe,"isInfiniteAnimation");var $Ce=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};Q($Ce,"ReporterAPI");var BCe=$Ce;function NCe(e,t,r){return iA(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}Q(NCe,"getCsfFactoryAnnotations");function ZEt(e){globalThis.defaultProjectAnnotations=e}Q(ZEt,"setDefaultProjectAnnotations");var ePt="ComposedStory",tPt="Unnamed Story";function qCe(e){return e?Gg([e]):{}}Q(qCe,"extractAnnotation");function rPt(e){var r,n;let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Gg([...nA(),(r=globalThis.defaultProjectAnnotations)!=null?r:{},Gg(t.map(qCe))]),(n=globalThis.globalProjectAnnotations)!=null?n:{}}Q(rPt,"setProjectAnnotations");var id=[];function zCe(e,t,r,n,i){var y,v,S;if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=(y=t.title)!=null?y:ePt;let a=pw(t),s=i||e.storyName||((v=e.story)==null?void 0:v.name)||e.name||tPt,o=dw(s,e,a),l=hw(Gg([(S=n!=null?n:globalThis.globalProjectAnnotations)!=null?S:{},r!=null?r:{}])),c=YU(o,a,l),u={..._Ce(l.globalTypes),...l.initialGlobals,...c.storyGlobals},d=new BCe,h=Q(()=>{let x=XU({hooks:new dCe,globals:u,args:{...c.initialArgs},viewMode:"story",reporting:d,loaded:{},abortSignal:new AbortController().signal,step:Q((w,A)=>c.runStep(w,A,x),"step"),canvasElement:null,canvas:{},userEvent:{},globalTypes:l.globalTypes,...c,context:null,mount:null});return x.parameters.__isPortableStory=!0,x.context=x,c.renderToCanvas&&(x.renderToCanvas=async()=>{var A;let w=await((A=c.renderToCanvas)==null?void 0:A.call(c,{componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:Q(()=>{},"showMain"),showError:Q(_=>{throw new Error(`${_.title}
${_.description}`)},"showError"),showException:Q(_=>{throw _},"showException"),forceRemount:!0,storyContext:x,storyFn:Q(()=>c.unboundStoryFn(x),"storyFn"),unboundStoryFn:c.unboundStoryFn},x.canvasElement));w&&id.push(w)}),x.mount=c.mount(x),x},"initializeContext"),p,m=Q(async x=>{var A,_;let w=h();return(_=w.canvasElement)!=null||(w.canvasElement=(A=globalThis==null?void 0:globalThis.document)==null?void 0:A.body),p&&(w.loaded=p.loaded),Object.assign(w,x),c.playFunction(w)},"play"),g=Q(x=>{let w=h();return Object.assign(w,x),WCe(c,w)},"run"),b=c.playFunction?m:void 0;return Object.assign(Q(function(x){let w=h();return p&&(w.loaded=p.loaded),w.args={...w.initialArgs,...x},c.unboundStoryFn(w)},"storyFn"),{id:c.id,storyName:s,load:Q(async()=>{for(let w of[...id].reverse())await w();id.length=0;let x=h();x.loaded=await c.applyLoaders(x),id.push(...(await c.applyBeforeEach(x)).filter(Boolean)),p=x},"load"),globals:u,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:b,run:g,reporting:d,tags:c.tags})}Q(zCe,"composeStory");var nPt=Q((e,t,r,n)=>zCe(e,t,r,{},n),"defaultComposeStory");function iPt(e,t,r=nPt){let{default:n,__esModule:i,__namedExportsOrder:a,...s}=e,o=n;return Object.entries(s).reduce((l,[c,u])=>{let{story:d,meta:h}=NCe(u);return!o&&h&&(o=h),lw(c,o)?Object.assign(l,{[c]:r(d,o,t,c)}):l},{})}Q(iPt,"composeStories");function aPt(e){return e.extend({mount:Q(async({mount:t,page:r},n)=>{await n(async(i,...a)=>{if(!("__pw_type"in i)||"__pw_type"in i&&i.__pw_type!=="jsx")throw new Error(su`
Portable stories in Playwright CT only work when referencing JSX elements.
Please use JSX format for your components such as:
instead of:
await mount(MyComponent, { props: { foo: 'bar' } })
do:
await mount(<MyComponent foo="bar"/>)
More info: https://storybook.js.org/docs/api/portable-stories/portable-stories-playwright?ref=error
`);let{props:s,...o}=i;await r.evaluate(async c=>{var d,h,p;let u=await((d=globalThis.__pwUnwrapObject)==null?void 0:d.call(globalThis,c));return(p=(h="__pw_type"in u?u.type:u)==null?void 0:h.load)==null?void 0:p.call(h)},o);let l=await t(i,...a);return await r.evaluate(async c=>{var p,m;let u=await((p=globalThis.__pwUnwrapObject)==null?void 0:p.call(globalThis,c)),d="__pw_type"in u?u.type:u,h=document.querySelector("#root");return(m=d==null?void 0:d.play)==null?void 0:m.call(d,{canvasElement:h})},o),l})},"mount")})}Q(aPt,"createPlaywrightTest");async function WCe(e,t){var a,s;for(let o of[...id].reverse())await o();if(id.length=0,!t.canvasElement){let o=document.createElement("div");(s=(a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body)==null||s.appendChild(o),t.canvasElement=o,id.push(()=>{var l,c,u,d;(c=(l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body)!=null&&c.contains(o)&&((d=(u=globalThis==null?void 0:globalThis.document)==null?void 0:u.body)==null||d.removeChild(o))})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;id.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;if(n||await t.mount(),t.abortSignal.aborted)return;r&&(n||(t.mount=async()=>{throw new Vq({playFunction:r.toString()})}),await r(t));let i;QU()?i=JU():await ZU(t.abortSignal),await e.applyAfterEach(t),await(i==null?void 0:i())}Q(WCe,"runStory");var u0e=1e3,sPt=1e4,HCe=class{constructor(t,r,n){this.importFn=r,this.storyIndex=new WEt(t),this.projectAnnotations=hw(Gg([...nA(),n]));let{initialGlobals:i,globalTypes:a}=this.projectAnnotations;this.args=new BEt,this.userGlobals=new NEt({globals:i,globalTypes:a}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,q9.default)(u0e)(ECe),this.prepareMetaWithCache=(0,q9.default)(u0e)(MCe),this.prepareStoryWithCache=(0,q9.default)(sPt)(YU)}setProjectAnnotations(t){this.projectAnnotations=hw(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),i=await this.importFn(r);return this.processCSFFileWithCache(i,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:i})=>(r[n]=i,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){var s;let n=r.stories[t];if(!n)throw new j7t({storyId:t});let i=r.meta,a=this.prepareStoryWithCache(n,i,(s=r.projectAnnotations)!=null?s:this.projectAnnotations);return this.args.setInitial(a),this.hooks[a.id]=this.hooks[a.id]||new dCe,a}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[i,...a]=await Promise.all([this.importFn(r.importPath),...n.map(s=>{let o=this.storyIndex.importPathToEntry(s);return this.loadCSFFileByStoryId(o.id)})]);return{entryExports:i,csfFiles:a}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:i}=this.userGlobals,a=new BCe;return XU({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:i,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:a,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,...r){this.cleanupCallbacks[t.id]=(this.cleanupCallbacks[t.id]||[]).concat(r)}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new w7t;return Object.entries(this.storyIndex.entries).reduce((n,[i,{type:a,importPath:s}])=>{if(a==="docs")return n;let o=r[s],l=this.storyFromCSFFile({storyId:i,csfFile:o});return!t.includeDocsOnly&&l.parameters.docsOnly||(n[i]=Object.entries(l).reduce((c,[u,d])=>u==="moduleExport"||typeof d=="function"?c:Array.isArray(d)?Object.assign(c,{[u]:d.slice().sort()}):Object.assign(c,{[u]:d}),{args:l.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...l.storyGlobals}})),n},{})}};Q(HCe,"StoryStore");var oPt=HCe;function lPt(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}Q(lPt,"slash");function cPt(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}Q(cPt,"pathJoin");var oA=new Error("prepareAborted"),{AbortController:d0e}=globalThis;function nL(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch(t){return{name:"Error",message:String(e)}}}Q(nL,"serializeError");var UCe=class{constructor(t,r,n,i,a,s,o={autoplay:!0,forceInitialArgs:!1},l){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=i,this.id=a,this.viewMode=s,this.renderOptions=o,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=Q(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new d0e,this.renderId=Date.now(),l&&(this.story=l,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(Ed,{newPhase:this.phase,renderId:this.renderId,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(Ed,{newPhase:this.phase,renderId:this.renderId,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),oA}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){var S,x,w,A,_,C,E,R;let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let i=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:a,componentId:s,title:o,name:l,tags:c,applyLoaders:u,applyBeforeEach:d,applyAfterEach:h,unboundStoryFn:p,playFunction:m,runStep:g}=i;r&&!t&&(this.cancelRender(),this.abortController=new d0e);let b=this.abortController.signal,y=!1,v=i.usesMount;try{let P={...this.storyContext(),viewMode:this.viewMode,abortSignal:b,canvasElement:n,loaded:{},step:Q((fe,U)=>g(fe,U,P),"step"),context:null,canvas:{},userEvent:{},renderToCanvas:Q(async()=>{let fe=await this.renderToScreen(O,n);this.teardownRender=fe||(()=>{}),y=!0},"renderToCanvas"),mount:Q(async(...fe)=>{var W,H;(H=(W=this.callbacks).showStoryDuringRender)==null||H.call(W);let U=null;return await this.runPhase(b,"rendering",async()=>{U=await i.mount(P)(...fe)}),v&&await this.runPhase(b,"playing"),U},"mount")};P.context=P;let O={componentId:s,title:o,kind:o,id:a,name:l,story:l,tags:c,...this.callbacks,showError:Q(fe=>(this.phase="errored",this.callbacks.showError(fe)),"showError"),showException:Q(fe=>(this.phase="errored",this.callbacks.showException(fe)),"showException"),forceRemount:r||this.notYetRendered,storyContext:P,storyFn:Q(()=>p(P),"storyFn"),unboundStoryFn:p};if(await this.runPhase(b,"loading",async()=>{P.loaded=await u(P)}),b.aborted)return;let k=await d(P);if(this.store.addCleanupCallbacks(i,...k),this.checkIfAborted(b)||(!y&&!v&&await P.mount(),this.notYetRendered=!1,b.aborted))return;let I=((x=(S=this.story.parameters)==null?void 0:S.test)==null?void 0:x.dangerouslyIgnoreUnhandledErrors)===!0,M=new Set,D=Q(fe=>{fe.error&&M.add(fe.error)},"onError"),F=Q(fe=>{fe.reason&&M.add(fe.reason)},"onUnhandledRejection");if(this.renderOptions.autoplay&&r&&m&&this.phase!=="errored"){(w=window==null?void 0:window.addEventListener)==null||w.call(window,"error",D),(A=window==null?void 0:window.addEventListener)==null||A.call(window,"unhandledrejection",F),this.disableKeyListeners=!0;try{if(v?await m(P):(P.mount=async()=>{throw new Vq({playFunction:m.toString()})},await this.runPhase(b,"playing",async()=>m(P))),!y)throw new I7t;this.checkIfAborted(b),!I&&M.size>0?await this.runPhase(b,"errored"):await this.runPhase(b,"played")}catch(fe){if((C=(_=this.callbacks).showStoryDuringRender)==null||C.call(_),await this.runPhase(b,"errored",async()=>{this.channel.emit(Lye,nL(fe))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw fe;console.error(fe)}if(!I&&M.size>0&&this.channel.emit(Fye,Array.from(M).map(nL)),this.disableKeyListeners=!1,(E=window==null?void 0:window.removeEventListener)==null||E.call(window,"unhandledrejection",F),(R=window==null?void 0:window.removeEventListener)==null||R.call(window,"error",D),b.aborted)return}await this.runPhase(b,"completing",async()=>{QU()?this.store.addCleanupCallbacks(i,JU()):await ZU(b)}),await this.runPhase(b,"completed",async()=>{this.channel.emit(Tg,a)}),this.phase!=="errored"&&await this.runPhase(b,"afterEach",async()=>{await h(P)});let $=!I&&M.size>0,Y=P.reporting.reports.some(fe=>fe.status==="failed"),he=$||Y;await this.runPhase(b,"finished",async()=>this.channel.emit(zM,{storyId:a,status:he?"error":"success",reporters:P.reporting.reports}))}catch(P){this.phase="errored",this.callbacks.showException(P),await this.runPhase(b,"finished",async()=>this.channel.emit(zM,{storyId:a,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController.abort()}cancelPlayFunction(){this.phase==="playing"&&(this.abortController.abort(),this.runPhase(this.abortController.signal,"aborted"))}async teardown(){var t,r;this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let n=0;n<3;n+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(i=>setTimeout(i,0))}(r=(t=window==null?void 0:window.location)==null?void 0:t.reload)==null||r.call(t),await new Promise(()=>{})}};Q(UCe,"StoryRender");var iL=UCe,{fetch:uPt}=Ue,dPt="./index.json",GCe=class{constructor(t,r,n=Ta.getChannel(),i=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((a,s)=>{this.resolveStoreInitializationPromise=a,this.rejectStoreInitializationPromise=s}),i&&this.initialize()}get storyStore(){return new Proxy({},{get:Q((t,r)=>{if(this.storyStoreValue)return Eq("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new R7t},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(Hye,this.onStoryIndexChanged.bind(this)),this.channel.on(Oq,this.onUpdateGlobals.bind(this)),this.channel.on(Mq,this.onUpdateArgs.bind(this)),this.channel.on(Qye,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Iq,this.onResetArgs.bind(this)),this.channel.on(Rq,this.onForceReRender.bind(this)),this.channel.on(vg,this.onForceRemount.bind(this)),this.channel.on(Kye,this.onStoryHotUpdated.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new _7t;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){var r,n;try{await((r=this.beforeAllCleanup)==null?void 0:r.call(this)),this.beforeAllCleanup=await((n=t.beforeAll)==null?void 0:n.call(t))}catch(i){throw this.renderPreviewEntryError("Error in beforeAll hook:",i),i}}async getStoryIndexFromServer(){let t=await uPt(dPt);if(t.status===200)return t.json();throw new A7t({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new oPt(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new gs({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(Nye,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new gs({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new gs({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:i,userGlobals:a,globals:s}=this.storyStoreValue.getStoryContext(r);this.channel.emit(l7,{initialGlobals:n,userGlobals:a,storyGlobals:i,globals:s})}else{let{initialGlobals:n,globals:i}=this.storyStoreValue.userGlobals;this.channel.emit(l7,{initialGlobals:n,userGlobals:i,storyGlobals:{},globals:i})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new gs({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(qye,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){var n;try{await this.storeInitializationPromise;let i=await((n=this.storyStoreValue)==null?void 0:n.loadStory(r));this.channel.emit(WM,{id:t,success:!0,payload:{argTypes:(i==null?void 0:i.argTypes)||{}},error:null})}catch(i){this.channel.emit(WM,{id:t,success:!1,error:i==null?void 0:i.message})}}async onResetArgs({storyId:t,argNames:r}){var a;if(!this.storyStoreValue)throw new gs({methodName:"onResetArgs"});let n=((a=this.storyRenders.find(s=>s.id===t))==null?void 0:a.story)||await this.storyStoreValue.loadStory({storyId:t}),i=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((s,o)=>(s[o]=n.initialArgs[o],s),{});await this.onUpdateArgs({storyId:t,updatedArgs:i})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}async onStoryHotUpdated(){await Promise.all(this.storyRenders.map(t=>t.cancelPlayFunction()))}renderStoryToElement(t,r,n,i){if(!this.renderToCanvas||!this.storyStoreValue)throw new gs({methodName:"renderStoryToElement"});let a=new iL(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",i,t);return a.renderToElement(r),this.storyRenders.push(a),async()=>{await this.teardownRender(a)}}async teardownRender(t,{viewModeChanged:r}={}){var n;this.storyRenders=this.storyRenders.filter(i=>i!==t),await((n=t==null?void 0:t.teardown)==null?void 0:n.call(t,{viewModeChanged:r}))}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new gs({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new gs({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new gs({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,d0.error(t),d0.error(r),this.channel.emit(kye,r)}};Q(GCe,"Preview");var pPt=GCe,p0e="Invariant failed";function zT(e,t){if(!e){var r=typeof t=="function"?t():t,n=r?"".concat(p0e,": ").concat(r):p0e;throw new Error(n)}}Q(zT,"invariant");var VCe=class{constructor(t,r,n,i){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=Q(a=>{let s=this.nameToStoryId.get(a);if(s)return s;throw new Error(`No story found with that name: ${a}`)},"storyIdByName"),this.componentStories=Q(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=Q(a=>this.store.componentStoriesFromCSFFile({csfFile:a}),"componentStoriesFromCSFFile"),this.storyById=Q(a=>{if(!a){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let s=this.storyIdToCSFFile.get(a);if(!s)throw new Error(`Called \`storyById\` for story that was never loaded: ${a}`);return this.store.storyFromCSFFile({storyId:a,csfFile:s})},"storyById"),this.getStoryContext=Q(a=>({...this.store.getStoryContext(a),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=Q(a=>this.store.loadStory({storyId:a}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,i.forEach((a,s)=>{this.referenceCSFFile(a)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <Meta of={} />?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(iA(t)?t.input:t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let i=t;n=this.resolveAttachedModuleExportType(i)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let i=n.type==="component"?"component or unknown":n.type;throw new Error(su`Invalid value passed to the 'of' prop. The value was resolved to a '${i}' type but the only types for this block are: ${r.join(", ")}.
- Did you pass a component to the 'of' prop when the block only supports a story or a meta?
- ... or vice versa?
- Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}};Q(VCe,"DocsContext");var YCe=VCe,KCe=class{constructor(t,r,n,i){this.channel=t,this.store=r,this.entry=n,this.callbacks=i,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw oA;let{importPath:n,title:i}=this.entry,a=this.store.processCSFFileWithCache(t,n,i),s=Object.keys(a.stories)[0];this.story=this.store.storyFromCSFFile({storyId:s,csfFile:a}),this.csfFiles=[a,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new YCe(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:i}=this.story.parameters||{};if(!i)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a=await i.renderer(),{render:s}=a,o=Q(async()=>{try{await s(n,i,t),this.channel.emit(jq,this.id)}catch(l){this.callbacks.showException(l)}},"renderDocs");return this.rerender=async()=>o(),this.teardownRender=async({viewModeChanged:l})=>{!l||!t||a.unmount(t)},o()}async teardown({viewModeChanged:t}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:t}),this.torndown=!0}};Q(KCe,"CsfDocsRender");var h0e=KCe,XCe=class{constructor(t,r,n,i){this.channel=t,this.store=r,this.entry=n,this.callbacks=i,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw oA;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new YCe(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){var c;if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:i}=(c=this.store.projectAnnotations.parameters)!=null?c:{};if(!i)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a={...i,page:this.exports.default},s=await i.renderer(),{render:o}=s,l=Q(async()=>{try{await o(n,a,t),this.channel.emit(jq,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u}={})=>{!u||!t||(s.unmount(t),this.torndown=!0)},l()}async teardown({viewModeChanged:t}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:t}),this.torndown=!0}};Q(XCe,"MdxDocsRender");var f0e=XCe,hPt=globalThis;function QCe(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}Q(QCe,"focusInInput");var JCe="attached-mdx",fPt="unattached-mdx";function ZCe({tags:e}){return(e==null?void 0:e.includes(fPt))||(e==null?void 0:e.includes(JCe))}Q(ZCe,"isMdxEntry");function WT(e){return e.type==="story"}Q(WT,"isStoryRender");function e9e(e){return e.type==="docs"}Q(e9e,"isDocsRender");function t9e(e){return e9e(e)&&e.subtype==="csf"}Q(t9e,"isCsfDocsRender");var r9e=class extends pPt{constructor(t,r,n,i){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=i,this.initialize()}setupListeners(){super.setupListeners(),hPt.onkeydown=this.onKeydown.bind(this),this.channel.on(y4,this.onSetCurrentStory.bind(this)),this.channel.on(Xye,this.onUpdateQueryParams.bind(this)),this.channel.on($ye,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new gs({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new gs({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new E7t):this.renderStoryLoadingException(t,new P7t({storySpecifier:t.toString()}));return}let{id:i,type:a}=n;this.selectionStore.setSelection({storyId:i,viewMode:a}),this.channel.emit(Gye,this.selectionStore.selection),this.channel.emit(NM,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!QCe(t)){let{altKey:r,ctrlKey:n,metaKey:i,shiftKey:a,key:s,code:o,keyCode:l}=t;this.channel.emit(Bye,{event:{altKey:r,ctrlKey:n,metaKey:i,shiftKey:a,key:s,code:o,keyCode:l}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(NM,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){var n,i;let r=this.currentRender instanceof iL&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof f0e||this.currentRender instanceof h0e)&&await((i=(n=this.currentRender).rerender)==null?void 0:i.call(n))}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>{var n;return(n=this.storyStoreValue)==null?void 0:n.loadEntry(r)}))}async renderSelection({persistedArgs:t}={}){var h,p,m,g;let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new gs({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:i}=n,a;try{a=await this.storyStoreValue.storyIdToEntry(i)}catch(b){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(i,b);return}let s=((h=this.currentSelection)==null?void 0:h.storyId)!==i,o=((p=this.currentRender)==null?void 0:p.type)!==a.type;a.type==="story"?this.view.showPreparingStory({immediate:o}):this.view.showPreparingDocs({immediate:o}),(m=this.currentRender)!=null&&m.isPreparing()&&await this.teardownRender(this.currentRender);let l;a.type==="story"?l=new iL(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(i),i,"story"):ZCe(a)?l=new f0e(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(i)):l=new h0e(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(i));let c=this.currentSelection;this.currentSelection=n;let u=this.currentRender;this.currentRender=l;try{await l.prepare()}catch(b){u&&await this.teardownRender(u),b!==oA&&this.renderStoryLoadingException(i,b);return}let d=!s&&u&&!l.isEqual(u);if(t&&WT(l)&&(zT(!!l.story),this.storyStoreValue.args.updateFromPersisted(l.story,t)),u&&!u.torndown&&!s&&!d&&!o){this.currentRender=u,this.channel.emit(Yye,i),this.view.showMain();return}if(u&&await this.teardownRender(u,{viewModeChanged:o}),c&&(s||o)&&this.channel.emit(zye,i),WT(l)){zT(!!l.story);let{parameters:b,initialArgs:y,argTypes:v,unmappedArgs:S,initialGlobals:x,userGlobals:w,storyGlobals:A,globals:_}=this.storyStoreValue.getStoryContext(l.story);this.channel.emit(Uye,{id:i,parameters:b,initialArgs:y,argTypes:v,args:S}),this.channel.emit(l7,{userGlobals:w,storyGlobals:A,globals:_,initialGlobals:x})}else{let{parameters:b}=this.storyStoreValue.projectAnnotations,{initialGlobals:y,globals:v}=this.storyStoreValue.userGlobals;if(this.channel.emit(l7,{globals:v,initialGlobals:y,storyGlobals:{},userGlobals:v}),t9e(l)||((g=l.entry.tags)==null?void 0:g.includes(JCe))){if(!l.csfFiles)throw new C7t({storyId:i});({parameters:b}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:l.csfFiles[0]}))}this.channel.emit(Dye,{id:i,parameters:b})}WT(l)?(zT(!!l.story),this.storyRenders.push(l),this.currentRender.renderToElement(this.view.prepareForStory(l.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){var n;this.storyRenders=this.storyRenders.filter(i=>i!==t),await((n=t==null?void 0:t.teardown)==null?void 0:n.call(t,{viewModeChanged:r}))}mainStoryCallbacks(t){return{showStoryDuringRender:Q(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:Q(()=>this.view.showMain(),"showMain"),showError:Q(r=>this.renderError(t,r),"showError"),showException:Q(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(qM)}renderStoryLoadingException(t,r){d0.error(r),this.view.showErrorDisplay(r),this.channel.emit(qM,t)}renderException(t,r){var o;let{name:n="Error",message:i=String(r),stack:a}=r,s=(o=this.currentRender)==null?void 0:o.renderId;this.channel.emit(Vye,{name:n,message:i,stack:a}),this.channel.emit(Ed,{newPhase:"errored",renderId:s,storyId:t}),this.view.showErrorDisplay(r),d0.error(`Error rendering story '${t}':`),d0.error(r)}renderError(t,{title:r,description:n}){var a;let i=(a=this.currentRender)==null?void 0:a.renderId;this.channel.emit(Wye,{title:r,description:n}),this.channel.emit(Ed,{newPhase:"errored",renderId:i,storyId:t}),this.view.showErrorDisplay({message:r,stack:n}),d0.error(`Error rendering story ${r}: ${n}`)}};Q(r9e,"PreviewWithSelection");var mPt=r9e,aL=U1(WU()),gPt=U1(WU()),m0e=/^[a-zA-Z0-9 _-]*$/,n9e=/^-?[0-9]+(\.[0-9]+)?$/,bPt=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,i9e=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,sL=Q((e="",t)=>e===null||e===""||!m0e.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?m0e.test(t)||n9e.test(t)||bPt.test(t)||i9e.test(t):Array.isArray(t)?t.every(r=>sL(e,r)):To(t)?Object.entries(t).every(([r,n])=>sL(r,n)):!1,"validateArgs"),yPt={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(i9e);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return n9e.test(e)?Number(e):e}},g0e=Q(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,gPt.parse)(t.join(";"),yPt)).reduce((r,[n,i])=>sL(n,i)?Object.assign(r,{[n]:i}):(pn.warn(su`
Omitted potentially unsafe URL args.
More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url?ref=error
`),r),{})},"parseArgsParam"),{history:a9e,document:El}=Ue;function s9e(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}Q(s9e,"pathToId");var o9e=Q(({selection:e,extraParams:t})=>{let r=El==null?void 0:El.location.search.slice(1),{path:n,selectedKind:i,selectedStory:a,...s}=(0,aL.parse)(r);return`?${(0,aL.stringify)({...s,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),vPt=Q(e=>{if(!e)return;let t=o9e({selection:e}),{hash:r=""}=El.location;El.title=e.storyId,a9e.replaceState({},"",`${El.location.pathname}${t}${r}`)},"setPath"),TPt=Q(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),l5=Q(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return l5(e[0]);if(TPt(e))return l5(Object.values(e).filter(Boolean))}},"getFirstString"),SPt=Q(()=>{if(typeof El<"u"){let e=El.location.search.slice(1),t=(0,aL.parse)(e),r=typeof t.args=="string"?g0e(t.args):void 0,n=typeof t.globals=="string"?g0e(t.globals):void 0,i=l5(t.viewMode);(typeof i!="string"||!i.match(/docs|story/))&&(i="story");let a=l5(t.path),s=a?s9e(a):l5(t.id);if(s)return{storySpecifier:s,args:r,globals:n,viewMode:i}}return null},"getSelectionSpecifierFromPath"),l9e=class{constructor(){this.selectionSpecifier=SPt()}setSelection(t){this.selection=t,vPt(this.selection)}setQueryParams(t){let r=o9e({extraParams:t}),{hash:n=""}=El.location;a9e.replaceState({},"",`${El.location.pathname}${r}${n}`)}};Q(l9e,"UrlStore");var xPt=l9e,wPt=U1(tEt()),_Pt=U1(WU()),{document:wi}=Ue,b0e=100,c9e=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(c9e||{}),z9={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},W9={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},y0e=new wPt.default({escapeXML:!0}),u9e=class{constructor(){if(this.testing=!1,typeof wi<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,_Pt.parse)(wi.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),wi.documentElement.scrollTop=0,wi.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return wi.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),wi.documentElement.scrollTop=0,wi.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return wi.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){wi.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=W9[t];wi.body.classList.remove(this.currentLayoutClass),wi.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){W9[t]||d0.warn(su`
The desired layout: ${t} is not a valid option.
The possible options are: ${Object.keys(W9).join(", ")}, none.
`)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(c9e).forEach(r=>{r===t?wi.body.classList.add(z9[r]):wi.body.classList.remove(z9[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,i=r,a=t.split(`
`);a.length>1&&([n]=a,i=a.slice(1).join(`
`).replace(/^\n/,"")),wi.getElementById("error-message").innerHTML=y0e.toHtml(n),wi.getElementById("error-stack").innerHTML=y0e.toHtml(i),this.showMode("ERROR")}showNoPreview(){var t,r;this.testing||(this.showMode("NOPREVIEW"),(t=this.storyRoot())==null||t.setAttribute("hidden","true"),(r=this.docsRoot())==null||r.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),b0e)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),b0e)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){wi.body.classList.add(z9.MAIN)}};Q(u9e,"WebView");var APt=u9e,CPt=class extends mPt{constructor(t,r){super(t,r,new xPt,new APt),this.importFn=t,this.getProjectAnnotations=r,Ue.__STORYBOOK_PREVIEW__=this}};Q(CPt,"PreviewWeb");var{document:rh}=Ue,EPt=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],PPt="script",v0e="scripts-root";function oL(){let e=rh.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),rh.dispatchEvent(e)}Q(oL,"simulateDOMContentLoaded");function d9e(e,t,r){let n=rh.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):rh.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}Q(d9e,"insertScript");function tG(e,t,r=0){e[r](()=>{r++,r===e.length?t():tG(e,t,r)})}Q(tG,"insertScriptsSequentially");function jPt(e){let t=rh.getElementById(v0e);t?t.innerHTML="":(t=rh.createElement("div"),t.id=v0e,rh.body.appendChild(t));let r=Array.from(e.querySelectorAll(PPt));if(r.length){let n=[];r.forEach(i=>{let a=i.getAttribute("type");(!a||EPt.includes(a))&&n.push(s=>d9e(i,s,t))}),n.length&&tG(n,oL,void 0)}else oL()}Q(jPt,"simulatePageLoad");var RPt="storybook/docs",IPt=`${RPt}/snippet-rendered`;async function OPt(e,t){var o,l,c;let r=(c=(l=(o=t.parameters)==null?void 0:o.docs)==null?void 0:l.source)==null?void 0:c.transform,{id:n,unmappedArgs:i}=t,a=r&&e?r==null?void 0:r(e,t):e,s=a?await a:void 0;Ta.getChannel().emit(IPt,{id:n,source:s,args:i})}Q(OPt,"emitTransformCode");var MPt=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),kPt={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},DPt=Object.entries(kPt);function rG(e){return String(e)}rG.open="";rG.close="";function LPt(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function FPt(e=!1){let t=LPt(e),r=(s,o,l,c)=>{let u="",d=0;do u+=s.substring(d,c)+l,d=c+o.length,c=s.indexOf(o,d);while(~c);return u+s.substring(d)},n=(s,o,l=s)=>{let c=u=>{let d=String(u),h=d.indexOf(o,s.length);return~h?s+r(d,o,l,h)+o:s+d+o};return c.open=s,c.close=o,c},i={isColorSupported:t},a=s=>`\x1B[${s}m`;for(let[s,o]of DPt)i[s]=t?n(a(o[0]),a(o[1]),o[2]):rG;return i}var Mc=FPt(!1);function $Pt(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let i of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,i).enumerable&&n.push(i);return n}function lA(e,t,r,n,i,a,s=": "){let o="",l=0,c=e.next();if(!c.done){o+=t.spacingOuter;let u=r+t.indent;for(;!c.done;){if(o+=u,l++===t.maxWidth){o+="…";break}let d=a(c.value[0],t,u,n,i),h=a(c.value[1],t,u,n,i);o+=d+s+h,c=e.next(),c.done?t.min||(o+=","):o+=`,${t.spacingInner}`}o+=t.spacingOuter+r}return o}function nG(e,t,r,n,i,a){let s="",o=0,l=e.next();if(!l.done){s+=t.spacingOuter;let c=r+t.indent;for(;!l.done;){if(s+=c,o++===t.maxWidth){s+="…";break}s+=a(l.value,t,c,n,i),l=e.next(),l.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function fw(e,t,r,n,i,a){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let o=c=>c instanceof DataView,l=o(e)?e.byteLength:e.length;if(l>0){s+=t.spacingOuter;let c=r+t.indent;for(let u=0;u<l;u++){if(s+=c,u===t.maxWidth){s+="…";break}(o(e)||u in e)&&(s+=a(o(e)?e.getInt8(u):e[u],t,c,n,i)),u<l-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}function iG(e,t,r,n,i,a){let s="",o=$Pt(e,t.compareKeys);if(o.length>0){s+=t.spacingOuter;let l=r+t.indent;for(let c=0;c<o.length;c++){let u=o[c],d=a(u,t,l,n,i),h=a(e[u],t,l,n,i);s+=`${l+d}: ${h}`,c<o.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}var BPt=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,H9=" ",NPt=(e,t,r,n,i,a)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+H9}[${fw(e.sample,t,r,n,i,a)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+H9}{${iG(e.sample,t,r,n,i,a)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+H9+a(e.sample,t,r,n,i);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},qPt=e=>e&&e.$$typeof===BPt,zPt={serialize:NPt,test:qPt},WPt=" ",p9e=new Set(["DOMStringMap","NamedNodeMap"]),HPt=/^(?:HTML\w*Collection|NodeList)$/;function UPt(e){return p9e.has(e)||HPt.test(e)}var GPt=e=>e&&e.constructor&&!!e.constructor.name&&UPt(e.constructor.name);function VPt(e){return e.constructor.name==="NamedNodeMap"}var YPt=(e,t,r,n,i,a)=>{let s=e.constructor.name;return++n>t.maxDepth?`[${s}]`:(t.min?"":s+WPt)+(p9e.has(s)?`{${iG(VPt(e)?[...e].reduce((o,l)=>(o[l.name]=l.value,o),{}):{...e},t,r,n,i,a)}}`:`[${fw([...e],t,r,n,i,a)}]`)},KPt={serialize:YPt,test:GPt};function h9e(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function aG(e,t,r,n,i,a,s){let o=n+r.indent,l=r.colors;return e.map(c=>{let u=t[c],d=s(u,r,o,i,a);return typeof u!="string"&&(d.includes(`
`)&&(d=r.spacingOuter+o+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+l.prop.open+c+l.prop.close}=${l.value.open}${d}${l.value.close}`}).join("")}function sG(e,t,r,n,i,a){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?f9e(s,t):a(s,t,r,n,i))).join("")}function f9e(e,t){let r=t.colors.content;return r.open+h9e(e)+r.close}function XPt(e,t){let r=t.colors.comment;return`${r.open}<!--${h9e(e)}-->${r.close}`}function oG(e,t,r,n,i){let a=n.colors.tag;return`${a.open}<${e}${t&&a.close+t+n.spacingOuter+i+a.open}${r?`>${a.close}${r}${n.spacingOuter}${i}${a.open}</${e}`:`${t&&!n.min?"":" "}/`}>${a.close}`}function lG(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var QPt=1,m9e=3,g9e=8,b9e=11,JPt=/^(?:(?:HTML|SVG)\w*)?Element$/;function ZPt(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch(t){return!1}}function ejt(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,i=typeof n=="string"&&n.includes("-")||ZPt(e);return r===QPt&&(JPt.test(t)||i)||r===m9e&&t==="Text"||r===g9e&&t==="Comment"||r===b9e&&t==="DocumentFragment"}var tjt=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&ejt(e)};function rjt(e){return e.nodeType===m9e}function njt(e){return e.nodeType===g9e}function U9(e){return e.nodeType===b9e}var ijt=(e,t,r,n,i,a)=>{if(rjt(e))return f9e(e.data,t);if(njt(e))return XPt(e.data,t);let s=U9(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?lG(s,t):oG(s,aG(U9(e)?[]:Array.from(e.attributes,o=>o.name).sort(),U9(e)?{}:[...e.attributes].reduce((o,l)=>(o[l.name]=l.value,o),{}),t,r+t.indent,n,i,a),sG(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,i,a),t,r)},ajt={serialize:ijt,test:tjt},sjt="@@__IMMUTABLE_ITERABLE__@@",ojt="@@__IMMUTABLE_LIST__@@",ljt="@@__IMMUTABLE_KEYED__@@",cjt="@@__IMMUTABLE_MAP__@@",T0e="@@__IMMUTABLE_ORDERED__@@",ujt="@@__IMMUTABLE_RECORD__@@",djt="@@__IMMUTABLE_SEQ__@@",pjt="@@__IMMUTABLE_SET__@@",hjt="@@__IMMUTABLE_STACK__@@",Vg=e=>`Immutable.${e}`,cA=e=>`[${e}]`,I7=" ",S0e="…";function fjt(e,t,r,n,i,a,s){return++n>t.maxDepth?cA(Vg(s)):`${Vg(s)+I7}{${lA(e.entries(),t,r,n,i,a)}}`}function mjt(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function gjt(e,t,r,n,i,a){let s=Vg(e._name||"Record");return++n>t.maxDepth?cA(s):`${s+I7}{${lA(mjt(e),t,r,n,i,a)}}`}function bjt(e,t,r,n,i,a){let s=Vg("Seq");return++n>t.maxDepth?cA(s):e[ljt]?`${s+I7}{${e._iter||e._object?lA(e.entries(),t,r,n,i,a):S0e}}`:`${s+I7}[${e._iter||e._array||e._collection||e._iterable?nG(e.values(),t,r,n,i,a):S0e}]`}function G9(e,t,r,n,i,a,s){return++n>t.maxDepth?cA(Vg(s)):`${Vg(s)+I7}[${nG(e.values(),t,r,n,i,a)}]`}var yjt=(e,t,r,n,i,a)=>e[cjt]?fjt(e,t,r,n,i,a,e[T0e]?"OrderedMap":"Map"):e[ojt]?G9(e,t,r,n,i,a,"List"):e[pjt]?G9(e,t,r,n,i,a,e[T0e]?"OrderedSet":"Set"):e[hjt]?G9(e,t,r,n,i,a,"Stack"):e[djt]?bjt(e,t,r,n,i,a):gjt(e,t,r,n,i,a),vjt=e=>e&&(e[sjt]===!0||e[ujt]===!0),Tjt={serialize:yjt,test:vjt},x0e={exports:{}},zr={},w0e;function Sjt(){if(w0e)return zr;w0e=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),o=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function g(b){if(typeof b=="object"&&b!==null){var y=b.$$typeof;switch(y){case e:switch(b=b.type,b){case r:case i:case n:case c:case u:return b;default:switch(b=b&&b.$$typeof,b){case o:case s:case l:case h:case d:case a:return b;default:return y}}case t:return y}}}return zr.ContextConsumer=s,zr.ContextProvider=a,zr.Element=e,zr.ForwardRef=l,zr.Fragment=r,zr.Lazy=h,zr.Memo=d,zr.Portal=t,zr.Profiler=i,zr.StrictMode=n,zr.Suspense=c,zr.SuspenseList=u,zr.isAsyncMode=function(){return!1},zr.isConcurrentMode=function(){return!1},zr.isContextConsumer=function(b){return g(b)===s},zr.isContextProvider=function(b){return g(b)===a},zr.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},zr.isForwardRef=function(b){return g(b)===l},zr.isFragment=function(b){return g(b)===r},zr.isLazy=function(b){return g(b)===h},zr.isMemo=function(b){return g(b)===d},zr.isPortal=function(b){return g(b)===t},zr.isProfiler=function(b){return g(b)===i},zr.isStrictMode=function(b){return g(b)===n},zr.isSuspense=function(b){return g(b)===c},zr.isSuspenseList=function(b){return g(b)===u},zr.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===i||b===n||b===c||b===u||b===p||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===d||b.$$typeof===a||b.$$typeof===s||b.$$typeof===l||b.$$typeof===m||b.getModuleId!==void 0)},zr.typeOf=g,zr}var _0e;function xjt(){return _0e||(_0e=1,x0e.exports=Sjt()),x0e.exports}var Ep=xjt();function y9e(e,t=[]){if(Array.isArray(e))for(let r of e)y9e(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function A0e(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Ep.isFragment(e))return"React.Fragment";if(Ep.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Ep.isContextProvider(e))return"Context.Provider";if(Ep.isContextConsumer(e))return"Context.Consumer";if(Ep.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Ep.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function wjt(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var _jt=(e,t,r,n,i,a)=>++n>t.maxDepth?lG(A0e(e),t):oG(A0e(e),aG(wjt(e),e.props,t,r+t.indent,n,i,a),sG(y9e(e.props.children),t,r+t.indent,n,i,a),t,r),Ajt=e=>e!=null&&Ep.isElement(e),Cjt={serialize:_jt,test:Ajt},Ejt=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function Pjt(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var jjt=(e,t,r,n,i,a)=>++n>t.maxDepth?lG(e.type,t):oG(e.type,e.props?aG(Pjt(e),e.props,t,r+t.indent,n,i,a):"",e.children?sG(e.children,t,r+t.indent,n,i,a):"",t,r),Rjt=e=>e&&e.$$typeof===Ejt,Ijt={serialize:jjt,test:Rjt},v9e=Object.prototype.toString,Ojt=Date.prototype.toISOString,Mjt=Error.prototype.toString,C0e=RegExp.prototype.toString;function V9(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function kjt(e){return typeof window<"u"&&e===window}var Djt=/^Symbol\((.*)\)(.*)$/,Ljt=/\n/g,T9e=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function Fjt(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function $jt(e){return Object.is(e,-0)?"-0":String(e)}function Bjt(e){return`${e}n`}function E0e(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function P0e(e){return String(e).replace(Djt,"Symbol($1)")}function j0e(e){return`[${Mjt.call(e)}]`}function S9e(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let i=typeof e;if(i==="number")return $jt(e);if(i==="bigint")return Bjt(e);if(i==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(i==="function")return E0e(e,t);if(i==="symbol")return P0e(e);let a=v9e.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?E0e(e,t):a==="[object Symbol]"?P0e(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":Ojt.call(e):a==="[object Error]"?j0e(e):a==="[object RegExp]"?r?C0e.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):C0e.call(e):e instanceof Error?j0e(e):null}function x9e(e,t,r,n,i,a){if(i.includes(e))return"[Circular]";i=[...i],i.push(e);let s=++n>t.maxDepth,o=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!a)return Vu(e.toJSON(),t,r,n,i,!0);let l=v9e.call(e);return l==="[object Arguments]"?s?"[Arguments]":`${o?"":"Arguments "}[${fw(e,t,r,n,i,Vu)}]`:Fjt(l)?s?`[${e.constructor.name}]`:`${o||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${fw(e,t,r,n,i,Vu)}]`:l==="[object Map]"?s?"[Map]":`Map {${lA(e.entries(),t,r,n,i,Vu," => ")}}`:l==="[object Set]"?s?"[Set]":`Set {${nG(e.values(),t,r,n,i,Vu)}}`:s||kjt(e)?`[${V9(e)}]`:`${o||!t.printBasicPrototype&&V9(e)==="Object"?"":`${V9(e)} `}{${iG(e,t,r,n,i,Vu)}}`}function Njt(e){return e.serialize!=null}function w9e(e,t,r,n,i,a){let s;try{s=Njt(e)?e.serialize(t,r,n,i,a,Vu):e.print(t,o=>Vu(o,r,n,i,a),o=>{let l=n+r.indent;return l+o.replaceAll(Ljt,`
${l}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(o){throw new T9e(o.message,o.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function _9e(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new T9e(n.message,n.stack)}return null}function Vu(e,t,r,n,i,a){let s=_9e(t.plugins,e);if(s!==null)return w9e(s,e,t,r,n,i);let o=S9e(e,t.printFunctionName,t.escapeRegex,t.escapeString);return o!==null?o:x9e(e,t,r,n,i,a)}var cG={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},A9e=Object.keys(cG),no={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:cG};function qjt(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(no,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function zjt(){return A9e.reduce((e,t)=>{let r=cG[t],n=r&&Mc[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function Wjt(){return A9e.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function C9e(e){var t;return(t=e==null?void 0:e.printFunctionName)!=null?t:no.printFunctionName}function E9e(e){var t;return(t=e==null?void 0:e.escapeRegex)!=null?t:no.escapeRegex}function P9e(e){var t;return(t=e==null?void 0:e.escapeString)!=null?t:no.escapeString}function R0e(e){var t,r,n,i,a,s,o;return{callToJSON:(t=e==null?void 0:e.callToJSON)!=null?t:no.callToJSON,colors:e!=null&&e.highlight?zjt():Wjt(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:no.compareKeys,escapeRegex:E9e(e),escapeString:P9e(e),indent:e!=null&&e.min?"":Hjt((r=e==null?void 0:e.indent)!=null?r:no.indent),maxDepth:(n=e==null?void 0:e.maxDepth)!=null?n:no.maxDepth,maxWidth:(i=e==null?void 0:e.maxWidth)!=null?i:no.maxWidth,min:(a=e==null?void 0:e.min)!=null?a:no.min,plugins:(s=e==null?void 0:e.plugins)!=null?s:no.plugins,printBasicPrototype:(o=e==null?void 0:e.printBasicPrototype)!=null?o:!0,printFunctionName:C9e(e),spacingInner:e!=null&&e.min?" ":`
`,spacingOuter:e!=null&&e.min?"":`
`}}function Hjt(e){return Array.from({length:e+1}).join(" ")}function ml(e,t){if(t&&(qjt(t),t.plugins)){let n=_9e(t.plugins,e);if(n!==null)return w9e(n,e,R0e(t),"",0,[])}let r=S9e(e,C9e(t),E9e(t),P9e(t));return r!==null?r:x9e(e,R0e(t),"",0,[])}var j9e={AsymmetricMatcher:zPt,DOMCollection:KPt,DOMElement:ajt,Immutable:Tjt,ReactElement:Cjt,ReactTestComponent:Ijt},I0e={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},Ujt={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Yg="…";function Gjt(e,t){let r=I0e[Ujt[t]]||I0e[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function Vjt({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:i=!1,maxArrayLength:a=1/0,breakLength:s=1/0,seen:o=[],truncate:l=1/0,stylize:c=String}={},u){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!i,maxArrayLength:Number(a),breakLength:Number(s),truncate:Number(l),seen:o,inspect:u,stylize:c};return d.colors&&(d.stylize=Gjt),d}function Yjt(e){return e>="\uD800"&&e<="\uDBFF"}function Zd(e,t,r=Yg){e=String(e);let n=r.length,i=e.length;if(n>t&&i>n)return r;if(i>t&&i>n){let a=t-n;return a>0&&Yjt(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}function Co(e,t,r,n=", "){r=r||t.inspect;let i=e.length;if(i===0)return"";let a=t.truncate,s="",o="",l="";for(let c=0;c<i;c+=1){let u=c+1===e.length,d=c+2===e.length;l=`${Yg}(${e.length-c})`;let h=e[c];t.truncate=a-s.length-(u?0:n.length);let p=o||r(h,t)+(u?"":n),m=s.length+p.length,g=m+l.length;if(u&&m>a&&s.length+l.length<=a||!u&&!d&&g>a||(o=u?"":r(e[c+1],t)+(d?"":n),!u&&d&&g>a&&m+o.length>a))break;if(s+=p,!u&&!d&&m+o.length>=a){l=`${Yg}(${e.length-c-1})`;break}l=""}return`${s}${l}`}function Kjt(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function O7([e,t],r){return r.truncate-=2,typeof e=="string"?e=Kjt(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function Xjt(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Co(e,t);t.truncate-=n.length;let i="";return r.length&&(i=Co(r.map(a=>[a,e[a]]),t,O7)),`[ ${n}${i?`, ${i}`:""} ]`}var Qjt=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function oc(e,t){let r=Qjt(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let i="";for(let s=0;s<e.length;s++){let o=`${t.stylize(Zd(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=o.length,e[s]!==e.length&&t.truncate<=3){i+=`${Yg}(${e.length-e[s]+1})`;break}i+=o}let a="";return n.length&&(a=Co(n.map(s=>[s,e[s]]),t,O7)),`${r}[ ${i}${a?`, ${a}`:""} ]`}function Jjt(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),i=n[0];return t.stylize(`${i}T${Zd(n[1],t.truncate-i.length-1)}`,"date")}function O0e(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Zd(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function Zjt([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function eRt(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function tRt(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Co(eRt(e),t,Zjt)} }`)}var rRt=Number.isNaN||(e=>e!==e);function M0e(e,t){return rRt(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Zd(String(e),t.truncate),"number")}function k0e(e,t){let r=Zd(e.toString(),t.truncate-1);return r!==Yg&&(r+="n"),t.stylize(r,"bigint")}function nRt(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),i=e.source;return t.stylize(`/${Zd(i,n)}/${r}`,"regexp")}function iRt(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function aRt(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Co(iRt(e),t)} }`)}var D0e=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),sRt={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},oRt=16;function lRt(e){return sRt[e]||`\\u${`0000${e.charCodeAt(0).toString(oRt)}`.slice(-4)}`}function L0e(e,t){return D0e.test(e)&&(e=e.replace(D0e,lRt)),t.stylize(`'${Zd(e,t.truncate-2)}'`,"string")}function F0e(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var R9e=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(R9e=(n,i)=>{let[a,s]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${i.inspect(s,i)}}`})}catch(e){}var cRt=R9e;function HT(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=Co(r.map(o=>[o,e[o]]),t,O7),a=Co(n.map(o=>[o,e[o]]),t,O7);t.seen.pop();let s="";return i&&a&&(s=", "),`{ ${i}${s}${a} }`}var Y9=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function uRt(e,t){let r="";return Y9&&Y9 in e&&(r=e[Y9]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${HT(e,t)}`}function dRt(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Co(e,t)} ]`)}var pRt=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function hRt(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>pRt.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let i="";if(typeof e.message=="string"?i=Zd(e.message,t.truncate):r.unshift("message"),i=i?`: ${i}`:"",t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=Co(r.map(s=>[s,e[s]]),t,O7);return`${n}${i}${a?` { ${a} }`:""}`}function fRt([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function lL(e,t){return Co(e,t,I9e,`
`)}function I9e(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),i=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let o="";r.length>0&&(o+=" ",o+=Co(r.map(u=>[u,e.getAttribute(u)]),t,fRt," ")),t.truncate-=o.length;let l=t.truncate,c=lL(e.children,t);return c&&c.length>l&&(c=`${Yg}(${e.children.length})`),`${i}${o}${a}${c}${s}`}var mRt=typeof Symbol=="function"&&typeof Symbol.for=="function",K9=mRt?Symbol.for("chai/inspect"):"@@chai/inspect",pm=!1;try{let e=MPt("util");pm=e.inspect?e.inspect.custom:!1}catch(e){pm=!1}var $0e=new WeakMap,B0e={},N0e={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:M0e,Number:M0e,bigint:k0e,BigInt:k0e,string:L0e,String:L0e,function:O0e,Function:O0e,symbol:F0e,Symbol:F0e,Array:Xjt,Date:Jjt,Map:tRt,Set:aRt,RegExp:nRt,Promise:cRt,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:dRt,Int8Array:oc,Uint8Array:oc,Uint8ClampedArray:oc,Int16Array:oc,Uint16Array:oc,Int32Array:oc,Uint32Array:oc,Float32Array:oc,Float64Array:oc,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:hRt,HTMLCollection:lL,NodeList:lL},gRt=(e,t,r)=>K9 in e&&typeof e[K9]=="function"?e[K9](t):pm&&pm in e&&typeof e[pm]=="function"?e[pm](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&$0e.has(e.constructor)?$0e.get(e.constructor)(e,t):B0e[r]?B0e[r](e,t):"",bRt=Object.prototype.toString;function cL(e,t={}){let r=Vjt(t,cL),{customInspect:n}=r,i=e===null?"null":typeof e;if(i==="object"&&(i=bRt.call(e).slice(8,-1)),i in N0e)return N0e[i](e,r);if(n&&e){let s=gRt(e,r,i);if(s)return typeof s=="string"?s:cL(s,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?HT(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?I9e(e,r):"constructor"in e?e.constructor!==Object?uRt(e,r):HT(e,r):e===Object(e)?HT(e,r):r.stylize(String(e),i)}var{AsymmetricMatcher:yRt,DOMCollection:vRt,DOMElement:TRt,Immutable:SRt,ReactElement:xRt,ReactTestComponent:wRt}=j9e,q0e=[wRt,xRt,TRt,vRt,SRt,yRt];function M7(e,t=10,{maxLength:r,...n}={}){let i=r!=null?r:1e4,a;try{a=ml(e,{maxDepth:t,escapeString:!1,plugins:q0e,...n})}catch(s){a=ml(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:q0e,...n})}return a.length>=i&&t>1?M7(e,Math.floor(t/2)):a}var _Rt=/%[sdjifoOc%]/g;function ARt(...e){if(typeof e[0]!="string"){let a=[];for(let s=0;s<e.length;s++)a.push(Ib(e[s],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],i=String(n).replace(_Rt,a=>{if(a==="%%")return"%";if(r>=t)return a;switch(a){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?Ib(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Ib(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Ib(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let o=s.message;if(o.includes("circular structure")||o.includes("cyclic structures")||o.includes("cyclic object"))return"[Circular]";throw s}default:return a}});for(let a=e[r];r<t;a=e[++r])a===null||typeof a!="object"?i+=` ${a}`:i+=` ${Ib(a)}`;return i}function Ib(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),cL(e,t)}function CRt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ERt(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function uL(e){return Object.prototype.toString.apply(e).slice(8,-1)}function PRt(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function O9e(e){let t=new Set;return ERt(e)?[]:(PRt(e,t),Array.from(t))}var M9e={forceWritable:!1};function z0e(e,t=M9e){return dL(e,new WeakMap,t)}function dL(e,t,r=M9e){let n,i;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(i=Array.from({length:n=e.length}),t.set(e,i);n--;)i[n]=dL(e[n],t,r);return i}if(Object.prototype.toString.call(e)==="[object Object]"){i=Object.create(Object.getPrototypeOf(e)),t.set(e,i);let a=O9e(e);for(let s of a){let o=Object.getOwnPropertyDescriptor(e,s);if(!o)continue;let l=dL(e[s],t,r);r.forceWritable?Object.defineProperty(i,s,{enumerable:o.enumerable,configurable:!0,writable:!0,value:l}):"get"in o?Object.defineProperty(i,s,{...o,get(){return l}}):Object.defineProperty(i,s,{...o,value:l})}return i}return e}function W0e(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var Fi=-1,ui=1,nn=0,H0=class{constructor(t,r){ht(this,0);ht(this,1);this[0]=t,this[1]=r}},jRt=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),i=n,a=0;for(;r<i;)e.substring(a,i)===t.substring(a,i)?(r=i,a=r):n=i,i=Math.floor((n-r)/2+r);return i},k9e=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),i=n,a=0;for(;r<i;)e.substring(e.length-i,e.length-a)===t.substring(t.length-i,t.length-a)?(r=i,a=r):n=i,i=Math.floor((n-r)/2+r);return i},H0e=function(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let i=Math.min(r,n);if(e===t)return i;let a=0,s=1;for(;;){let o=e.substring(i-s),l=t.indexOf(o);if(l===-1)return a;s+=l,(l===0||e.substring(i-s)===t.substring(0,s))&&(a=s,s++)}},RRt=function(e){let t=!1,r=[],n=0,i=null,a=0,s=0,o=0,l=0,c=0;for(;a<e.length;)e[a][0]===nn?(r[n++]=a,s=l,o=c,l=0,c=0,i=e[a][1]):(e[a][0]===ui?l+=e[a][1].length:c+=e[a][1].length,i&&i.length<=Math.max(s,o)&&i.length<=Math.max(l,c)&&(e.splice(r[n-1],0,new H0(Fi,i)),e[r[n-1]+1][0]=ui,n--,n--,a=n>0?r[n-1]:-1,s=0,o=0,l=0,c=0,i=null,t=!0)),a++;for(t&&D9e(e),MRt(e),a=1;a<e.length;){if(e[a-1][0]===Fi&&e[a][0]===ui){let u=e[a-1][1],d=e[a][1],h=H0e(u,d),p=H0e(d,u);h>=p?(h>=u.length/2||h>=d.length/2)&&(e.splice(a,0,new H0(nn,d.substring(0,h))),e[a-1][1]=u.substring(0,u.length-h),e[a+1][1]=d.substring(h),a++):(p>=u.length/2||p>=d.length/2)&&(e.splice(a,0,new H0(nn,u.substring(0,p))),e[a-1][0]=ui,e[a-1][1]=d.substring(0,d.length-p),e[a+1][0]=Fi,e[a+1][1]=u.substring(p),a++),a++}a++}},U0e=/[^a-z0-9]/i,G0e=/\s/,V0e=/[\r\n]/,IRt=/\n\r?\n$/,ORt=/^\r?\n\r?\n/;function MRt(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===nn&&e[t+1][0]===nn){let r=e[t-1][1],n=e[t][1],i=e[t+1][1],a=k9e(r,n);if(a){let u=n.substring(n.length-a);r=r.substring(0,r.length-a),n=u+n.substring(0,n.length-a),i=u+i}let s=r,o=n,l=i,c=q3(r,n)+q3(n,i);for(;n.charAt(0)===i.charAt(0);){r+=n.charAt(0),n=n.substring(1)+i.charAt(0),i=i.substring(1);let u=q3(r,n)+q3(n,i);u>=c&&(c=u,s=r,o=n,l=i)}e[t-1][1]!==s&&(s?e[t-1][1]=s:(e.splice(t-1,1),t--),e[t][1]=o,l?e[t+1][1]=l:(e.splice(t+1,1),t--))}t++}}function D9e(e){e.push(new H0(nn,""));let t=0,r=0,n=0,i="",a="",s;for(;t<e.length;)switch(e[t][0]){case ui:n++,a+=e[t][1],t++;break;case Fi:r++,i+=e[t][1],t++;break;case nn:r+n>1?(r!==0&&n!==0&&(s=jRt(a,i),s!==0&&(t-r-n>0&&e[t-r-n-1][0]===nn?e[t-r-n-1][1]+=a.substring(0,s):(e.splice(0,0,new H0(nn,a.substring(0,s))),t++),a=a.substring(s),i=i.substring(s)),s=k9e(a,i),s!==0&&(e[t][1]=a.substring(a.length-s)+e[t][1],a=a.substring(0,a.length-s),i=i.substring(0,i.length-s))),t-=r+n,e.splice(t,r+n),i.length&&(e.splice(t,0,new H0(Fi,i)),t++),a.length&&(e.splice(t,0,new H0(ui,a)),t++),t++):t!==0&&e[t-1][0]===nn?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,i="",a="";break}e[e.length-1][1]===""&&e.pop();let o=!1;for(t=1;t<e.length-1;)e[t-1][0]===nn&&e[t+1][0]===nn&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),o=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),o=!0)),t++;o&&D9e(e)}function q3(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),i=r.match(U0e),a=n.match(U0e),s=i&&r.match(G0e),o=a&&n.match(G0e),l=s&&r.match(V0e),c=o&&n.match(V0e),u=l&&e.match(IRt),d=c&&t.match(ORt);return u||d?5:l||c?4:i&&!s&&o?3:s||o?2:i||a?1:0}var L9e="Compared values have no visual difference.",kRt="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",z3={},Y0e;function DRt(){if(Y0e)return z3;Y0e=1,Object.defineProperty(z3,"__esModule",{value:!0}),z3.default=h;let e="diff-sequences",t=0,r=(p,m,g,b,y)=>{let v=0;for(;p<m&&g<b&&y(p,g);)p+=1,g+=1,v+=1;return v},n=(p,m,g,b,y)=>{let v=0;for(;p<=m&&g<=b&&y(m,b);)m-=1,b-=1,v+=1;return v},i=(p,m,g,b,y,v,S)=>{let x=0,w=-p,A=v[x],_=A;v[x]+=r(A+1,m,b+A-w+1,g,y);let C=p<S?p:S;for(x+=1,w+=2;x<=C;x+=1,w+=2){if(x!==p&&_<v[x])A=v[x];else if(A=_+1,m<=A)return x-1;_=v[x],v[x]=A+r(A+1,m,b+A-w+1,g,y)}return S},a=(p,m,g,b,y,v,S)=>{let x=0,w=p,A=v[x],_=A;v[x]-=n(m,A-1,g,b+A-w-1,y);let C=p<S?p:S;for(x+=1,w-=2;x<=C;x+=1,w-=2){if(x!==p&&v[x]<_)A=v[x];else if(A=_-1,A<m)return x-1;_=v[x],v[x]=A-n(m,A-1,g,b+A-w-1,y)}return S},s=(p,m,g,b,y,v,S,x,w,A,_)=>{let C=b-m,E=g-m,R=y-b-E,P=-R-(p-1),O=-R+(p-1),k=t,I=p<x?p:x;for(let M=0,D=-p;M<=I;M+=1,D+=2){let F=M===0||M!==p&&k<S[M],$=F?S[M]:k,Y=F?$:$+1,he=C+Y-D,fe=r(Y+1,g,he+1,y,v),U=Y+fe;if(k=S[M],S[M]=U,P<=D&&D<=O){let W=(p-1-(D+R))/2;if(W<=A&&w[W]-1<=U){let H=C+$-(F?D+1:D-1),ie=n(m,$,b,H,v),J=$-ie,we=H-ie,Le=J+1,Ye=we+1;_.nChangePreceding=p-1,p-1===Le+Ye-m-b?(_.aEndPreceding=m,_.bEndPreceding=b):(_.aEndPreceding=Le,_.bEndPreceding=Ye),_.nCommonPreceding=ie,ie!==0&&(_.aCommonPreceding=Le,_.bCommonPreceding=Ye),_.nCommonFollowing=fe,fe!==0&&(_.aCommonFollowing=Y+1,_.bCommonFollowing=he+1);let oe=U+1,X=he+fe+1;return _.nChangeFollowing=p-1,p-1===g+y-oe-X?(_.aStartFollowing=g,_.bStartFollowing=y):(_.aStartFollowing=oe,_.bStartFollowing=X),!0}}}return!1},o=(p,m,g,b,y,v,S,x,w,A,_)=>{let C=y-g,E=g-m,R=y-b-E,P=R-p,O=R+p,k=t,I=p<A?p:A;for(let M=0,D=p;M<=I;M+=1,D-=2){let F=M===0||M!==p&&w[M]<k,$=F?w[M]:k,Y=F?$:$-1,he=C+Y-D,fe=n(m,Y-1,b,he-1,v),U=Y-fe;if(k=w[M],w[M]=U,P<=D&&D<=O){let W=(p+(D-R))/2;if(W<=x&&U-1<=S[W]){let H=he-fe;if(_.nChangePreceding=p,p===U+H-m-b?(_.aEndPreceding=m,_.bEndPreceding=b):(_.aEndPreceding=U,_.bEndPreceding=H),_.nCommonPreceding=fe,fe!==0&&(_.aCommonPreceding=U,_.bCommonPreceding=H),_.nChangeFollowing=p-1,p===1)_.nCommonFollowing=0,_.aStartFollowing=g,_.bStartFollowing=y;else{let ie=C+$-(F?D-1:D+1),J=r($,g,ie,y,v);_.nCommonFollowing=J,J!==0&&(_.aCommonFollowing=$,_.bCommonFollowing=ie);let we=$+J,Le=ie+J;p-1===g+y-we-Le?(_.aStartFollowing=g,_.bStartFollowing=y):(_.aStartFollowing=we,_.bStartFollowing=Le)}return!0}}}return!1},l=(p,m,g,b,y,v,S,x,w)=>{let A=b-m,_=y-g,C=g-m,E=y-b,R=E-C,P=C,O=C;if(S[0]=m-1,x[0]=g,R%2===0){let k=(p||R)/2,I=(C+E)/2;for(let M=1;M<=I;M+=1)if(P=i(M,g,y,A,v,S,P),M<k)O=a(M,m,b,_,v,x,O);else if(o(M,m,g,b,y,v,S,P,x,O,w))return}else{let k=((p||R)+1)/2,I=(C+E+1)/2,M=1;for(P=i(M,g,y,A,v,S,P),M+=1;M<=I;M+=1)if(O=a(M-1,m,b,_,v,x,O),M<k)P=i(M,g,y,A,v,S,P);else if(s(M,m,g,b,y,v,S,P,x,O,w))return}throw new Error(`${e}: no overlap aStart=${m} aEnd=${g} bStart=${b} bEnd=${y}`)},c=(p,m,g,b,y,v,S,x,w,A)=>{if(y-b<g-m){if(v=!v,v&&S.length===1){let{foundSubsequence:W,isCommon:H}=S[0];S[1]={foundSubsequence:(ie,J,we)=>{W(ie,we,J)},isCommon:(ie,J)=>H(J,ie)}}let fe=m,U=g;m=b,g=y,b=fe,y=U}let{foundSubsequence:_,isCommon:C}=S[v?1:0];l(p,m,g,b,y,C,x,w,A);let{nChangePreceding:E,aEndPreceding:R,bEndPreceding:P,nCommonPreceding:O,aCommonPreceding:k,bCommonPreceding:I,nCommonFollowing:M,aCommonFollowing:D,bCommonFollowing:F,nChangeFollowing:$,aStartFollowing:Y,bStartFollowing:he}=A;m<R&&b<P&&c(E,m,R,b,P,v,S,x,w,A),O!==0&&_(O,k,I),M!==0&&_(M,D,F),Y<g&&he<y&&c($,Y,g,he,y,v,S,x,w,A)},u=(p,m)=>{if(typeof m!="number")throw new TypeError(`${e}: ${p} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${p} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${p} value ${m} is a negative integer`)},d=(p,m)=>{let g=typeof m;if(g!=="function")throw new TypeError(`${e}: ${p} typeof ${g} is not a function`)};function h(p,m,g,b){u("aLength",p),u("bLength",m),d("isCommon",g),d("foundSubsequence",b);let y=r(0,p,0,m,g);if(y!==0&&b(y,0,0),p!==y||m!==y){let v=y,S=y,x=n(v,p-1,S,m-1,g),w=p-x,A=m-x,_=y+x;p!==_&&m!==_&&c(0,v,w,S,A,!1,[{foundSubsequence:b,isCommon:g}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),x!==0&&b(x,w,A)}}return z3}var LRt=DRt(),F9e=CRt(LRt);function FRt(e,t){return e.replace(/\s+$/,r=>t(r))}function uG(e,t,r,n,i,a){return e.length!==0?r(`${n} ${FRt(e,i)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}function $9e(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return uG(e,t,r,n,i,a)}function B9e(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return uG(e,t,r,n,i,a)}function N9e(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return uG(e,t,r,n,i,a)}function K0e(e,t,r,n,{patchColor:i}){return i(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function $Rt(e,t){let r=e.length,n=t.contextLines,i=n+n,a=r,s=!1,o=0,l=0;for(;l!==r;){let x=l;for(;l!==r&&e[l][0]===nn;)l+=1;if(x!==l)if(x===0)l>n&&(a-=l-n,s=!0);else if(l===r){let w=l-x;w>n&&(a-=w-n,s=!0)}else{let w=l-x;w>i&&(a-=w-i,o+=1)}for(;l!==r&&e[l][0]!==nn;)l+=1}let c=o!==0||s;o!==0?a+=o+1:s&&(a+=1);let u=a-1,d=[],h=0;c&&d.push("");let p=0,m=0,g=0,b=0,y=x=>{let w=d.length;d.push(N9e(x,w===0||w===u,t)),g+=1,b+=1},v=x=>{let w=d.length;d.push($9e(x,w===0||w===u,t)),g+=1},S=x=>{let w=d.length;d.push(B9e(x,w===0||w===u,t)),b+=1};for(l=0;l!==r;){let x=l;for(;l!==r&&e[l][0]===nn;)l+=1;if(x!==l)if(x===0){l>n&&(x=l-n,p=x,m=x,g=p,b=m);for(let w=x;w!==l;w+=1)y(e[w][1])}else if(l===r){let w=l-x>n?x+n:l;for(let A=x;A!==w;A+=1)y(e[A][1])}else{let w=l-x;if(w>i){let A=x+n;for(let C=x;C!==A;C+=1)y(e[C][1]);d[h]=K0e(p,g,m,b,t),h=d.length,d.push("");let _=w-i;p=g+_,m=b+_,g=p,b=m;for(let C=l-n;C!==l;C+=1)y(e[C][1])}else for(let A=x;A!==l;A+=1)y(e[A][1])}for(;l!==r&&e[l][0]===Fi;)v(e[l][1]),l+=1;for(;l!==r&&e[l][0]===ui;)S(e[l][1]),l+=1}return c&&(d[h]=K0e(p,g,m,b,t)),d.join(`
`)}function BRt(e,t){return e.map((r,n,i)=>{let a=r[1],s=n===0||n===i.length-1;switch(r[0]){case Fi:return $9e(a,s,t);case ui:return B9e(a,s,t);default:return N9e(a,s,t)}}).join(`
`)}var X9=e=>e,q9e=5,NRt=0;function qRt(){return{aAnnotation:"Expected",aColor:Mc.green,aIndicator:"-",bAnnotation:"Received",bColor:Mc.red,bIndicator:"+",changeColor:Mc.inverse,changeLineTrailingSpaceColor:X9,commonColor:Mc.dim,commonIndicator:" ",commonLineTrailingSpaceColor:X9,compareKeys:void 0,contextLines:q9e,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Mc.yellow,truncateThreshold:NRt,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:X9}}function zRt(e){return e&&typeof e=="function"?e:void 0}function WRt(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:q9e}function lf(e={}){return{...qRt(),...e,compareKeys:zRt(e.compareKeys),contextLines:WRt(e.contextLines)}}function hm(e){return e.length===1&&e[0].length===0}function HRt(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Fi:t+=1;break;case ui:r+=1;break}}),{a:t,b:r}}function URt({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:i,bIndicator:a,includeChangeCounts:s,omitAnnotationLines:o},l){if(o)return"";let c="",u="";if(s){let p=String(l.a),m=String(l.b),g=n.length-e.length,b=" ".repeat(Math.max(0,g)),y=" ".repeat(Math.max(0,-g)),v=m.length-p.length,S=" ".repeat(Math.max(0,v)),x=" ".repeat(Math.max(0,-v));c=`${b} ${r} ${S}${p}`,u=`${y} ${a} ${x}${m}`}let d=`${r} ${e}${c}`,h=`${a} ${n}${u}`;return`${t(d)}
${i(h)}
`}function dG(e,t,r){return URt(r,HRt(e))+(r.expand?BRt(e,r):$Rt(e,r))+(t?r.truncateAnnotationColor(`
${r.truncateAnnotation}`):"")}function uA(e,t,r){let n=lf(r),[i,a]=z9e(hm(e)?[]:e,hm(t)?[]:t,n);return dG(i,a,n)}function GRt(e,t,r,n,i){if(hm(e)&&hm(r)&&(e=[],r=[]),hm(t)&&hm(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return uA(e,t,i);let[a,s]=z9e(r,n,i),o=0,l=0;return a.forEach(c=>{switch(c[0]){case Fi:c[1]=e[o],o+=1;break;case ui:c[1]=t[l],l+=1;break;default:c[1]=t[l],o+=1,l+=1}}),dG(a,s,lf(i))}function z9e(e,t,r){var h,p;let n=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,i=Math.max(Math.floor((p=r==null?void 0:r.truncateThreshold)!=null?p:0),0),a=n?Math.min(e.length,i):e.length,s=n?Math.min(t.length,i):t.length,o=a!==e.length||s!==t.length,l=(m,g)=>e[m]===t[g],c=[],u=0,d=0;for(F9e(a,s,l,(m,g,b)=>{for(;u!==g;u+=1)c.push(new H0(Fi,e[u]));for(;d!==b;d+=1)c.push(new H0(ui,t[d]));for(;m!==0;m-=1,u+=1,d+=1)c.push(new H0(nn,t[d]))});u!==a;u+=1)c.push(new H0(Fi,e[u]));for(;d!==s;d+=1)c.push(new H0(ui,t[d]));return[c,o]}function X0e(e){return e.includes(`\r
`)?`\r
`:`
`}function VRt(e,t,r){var h,p;let n=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,i=Math.max(Math.floor((p=r==null?void 0:r.truncateThreshold)!=null?p:0),0),a=e.length,s=t.length;if(n){let m=e.includes(`
`),g=t.includes(`
`),b=X0e(e),y=X0e(t),v=m?`${e.split(b,i).join(b)}
`:e,S=g?`${t.split(y,i).join(y)}
`:t;a=v.length,s=S.length}let o=a!==e.length||s!==t.length,l=(m,g)=>e[m]===t[g],c=0,u=0,d=[];return F9e(a,s,l,(m,g,b)=>{c!==g&&d.push(new H0(Fi,e.slice(c,g))),u!==b&&d.push(new H0(ui,t.slice(u,b))),c=g+m,u=b+m,d.push(new H0(nn,t.slice(b,u)))}),c!==a&&d.push(new H0(Fi,e.slice(c))),u!==s&&d.push(new H0(ui,t.slice(u))),[d,o]}function YRt(e,t,r){return t.reduce((n,i)=>n+(i[0]===nn?i[1]:i[0]===e&&i[1].length!==0?r(i[1]):""),"")}var Q0e=class{constructor(t,r){ht(this,"op");ht(this,"line");ht(this,"lines");ht(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new H0(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new H0(this.op,YRt(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new H0(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(`
`)){let n=r.split(`
`),i=n.length-1;n.forEach((a,s)=>{s<i?(this.pushSubstring(a),this.pushLine()):a.length!==0&&this.pushSubstring(a)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}},KRt=class{constructor(t,r){ht(this,"deleteBuffer");ht(this,"insertBuffer");ht(this,"lines");this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(`
`)){let i=n.split(`
`),a=i.length-1;i.forEach((s,o)=>{if(o===0){let l=new H0(r,s);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else o<a?this.pushDiffCommonLine(new H0(r,s)):s.length!==0&&this.pushDiffChangeLines(new H0(r,s))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};function XRt(e,t){let r=new Q0e(Fi,t),n=new Q0e(ui,t),i=new KRt(r,n);return e.forEach(a=>{switch(a[0]){case Fi:r.align(a);break;case ui:n.align(a);break;default:i.align(a)}}),i.getLines()}function QRt(e,t){if(t){let r=e.length-1;return e.some((n,i)=>n[0]===nn&&(i!==r||n[1]!==`
`))}return e.some(r=>r[0]===nn)}function JRt(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
`)||t.includes(`
`),[i,a]=W9e(n?`${e}
`:e,n?`${t}
`:t,!0,r);if(QRt(i,n)){let s=lf(r),o=XRt(i,s.changeColor);return dG(o,a,s)}}return uA(e.split(`
`),t.split(`
`),r)}function W9e(e,t,r,n){let[i,a]=VRt(e,t,n);return RRt(i),[i,a]}function pL(e,t){let{commonColor:r}=lf(t);return r(e)}var{AsymmetricMatcher:ZRt,DOMCollection:eIt,DOMElement:tIt,Immutable:rIt,ReactElement:nIt,ReactTestComponent:iIt}=j9e,H9e=[iIt,nIt,tIt,eIt,rIt,ZRt],hL={plugins:H9e},U9e={callToJSON:!1,maxDepth:10,plugins:H9e};function aIt(e,t,r){if(Object.is(e,t))return"";let n=W0e(e),i=n,a=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;i=e.getExpectedType(),a=i==="string"}if(i!==W0e(t)){let{aAnnotation:s,aColor:o,aIndicator:l,bAnnotation:c,bColor:u,bIndicator:d}=lf(r),h=fL(U9e,r),p=ml(e,h),m=ml(t,h),g=`${o(`${l} ${s}:`)}
${p}`,b=`${u(`${d} ${c}:`)}
${m}`;return`${g}
${b}`}if(!a)switch(n){case"string":return uA(e.split(`
`),t.split(`
`),r);case"boolean":case"number":return sIt(e,t,r);case"map":return Q9(J0e(e),J0e(t),r);case"set":return Q9(Z0e(e),Z0e(t),r);default:return Q9(e,t,r)}}function sIt(e,t,r){let n=ml(e,hL),i=ml(t,hL);return n===i?"":uA(n.split(`
`),i.split(`
`),r)}function J0e(e){return new Map(Array.from(e.entries()).sort())}function Z0e(e){return new Set(Array.from(e.values()).sort())}function Q9(e,t,r){let n,i=!1;try{let s=fL(hL,r);n=ene(e,t,s,r)}catch(s){i=!0}let a=pL(L9e,r);if(n===void 0||n===a){let s=fL(U9e,r);n=ene(e,t,s,r),n!==a&&!i&&(n=`${pL(kRt,r)}
${n}`)}return n}function fL(e,t){let{compareKeys:r}=lf(t);return{...e,compareKeys:r}}function ene(e,t,r,n){let i={...r,indent:0},a=ml(e,i),s=ml(t,i);if(a===s)return pL(L9e,n);{let o=ml(e,r),l=ml(t,r);return GRt(o.split(`
`),l.split(`
`),a.split(`
`),s.split(`
`),n)}}var tne=2e4;function rne(e){return uL(e)==="Object"&&typeof e.asymmetricMatch=="function"}function nne(e,t){let r=uL(e),n=uL(t);return r===n&&(r==="Object"||r==="Array")}function oIt(e,t,r){let{aAnnotation:n,bAnnotation:i}=lf(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=tne&&t.length<=tne&&e!==t){if(e.includes(`
`)||t.includes(`
`))return JRt(t,e,r);let[c]=W9e(t,e),u=c.some(m=>m[0]===nn),d=lIt(n,i),h=d(n)+dIt(ine(c,Fi,u)),p=d(i)+uIt(ine(c,ui,u));return`${h}
${p}`}let a=z0e(e,{forceWritable:!0}),s=z0e(t,{forceWritable:!0}),{replacedExpected:o,replacedActual:l}=G9e(a,s);return aIt(o,l,r)}function G9e(e,t,r=new WeakSet,n=new WeakSet){return nne(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),O9e(t).forEach(i=>{let a=t[i],s=e[i];if(rne(a))a.asymmetricMatch(s)&&(e[i]=a);else if(rne(s))s.asymmetricMatch(a)&&(t[i]=s);else if(nne(s,a)){let o=G9e(s,a,r,n);e[i]=o.replacedActual,t[i]=o.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function lIt(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var cIt="·";function V9e(e){return e.replace(/\s+$/gm,t=>cIt.repeat(t.length))}function uIt(e){return Mc.red(V9e(M7(e)))}function dIt(e){return Mc.green(V9e(M7(e)))}function ine(e,t,r){return e.reduce((n,i)=>n+(i[0]===nn?i[1]:i[0]===t?r?Mc.inverse(i[1]):i[1]:""),"")}var pIt="@@__IMMUTABLE_RECORD__@@",hIt="@@__IMMUTABLE_ITERABLE__@@";function fIt(e){return e&&(e[hIt]||e[pIt])}var mIt=Object.getPrototypeOf({});function ane(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function fm(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(fIt(e))return fm(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${ARt(e.sample)}`;if(typeof e.toJSON=="function")return fm(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,i)=>{try{r[i]=fm(n,t)}catch(a){r[i]=ane(a)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==mIt;)Object.getOwnPropertyNames(n).forEach(i=>{if(!(i in r))try{r[i]=fm(e[i],t)}catch(a){delete r[i],r[i]=ane(a)}}),n=Object.getPrototypeOf(n);return r}}function gIt(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function Y9e(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=oIt(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=M7(n.expected,10)),typeof n.actual!="string"&&(n.actual=M7(n.actual,10));try{typeof n.message=="string"&&(n.message=gIt(n.message))}catch(i){}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Y9e(n.cause,t,r))}catch(i){}try{return fm(n)}catch(i){return fm(new Error(`Failed to fully serialize error: ${i==null?void 0:i.message}
Inner error message: ${n==null?void 0:n.message}`))}}var bIt=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(bIt||{}),lc={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},sne={start:!1,back:!1,goto:!1,next:!1,end:!1},yIt=new Error("This function ran after the play function completed. Did you forget to `await` it?"),one=e=>Object.prototype.toString.call(e)==="[object Object]",vIt=e=>Object.prototype.toString.call(e)==="[object Module]",TIt=e=>{if(!one(e)&&!vIt(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!one(t)},SIt=e=>{try{return new e.constructor}catch(t){return{}}},J9=()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),lne=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(i=>i.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,i])=>i.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},xIt=class{constructor(){var s;this.initialized=!1,this.channel=Ta.getChannel(),this.state=((s=Ue.window)==null?void 0:s.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{};let e=({storyId:o,isPlaying:l=!0,isDebugging:c=!1})=>{let u=this.getState(o);this.setState(o,{...J9(),...lne(u,c),shadowCalls:c?u.shadowCalls:[],chainedCallIds:c?u.chainedCallIds:new Set,playUntil:c?u.playUntil:void 0,isPlaying:l,isDebugging:c}),this.sync(o)};this.channel.on(vg,e),this.channel.on(Ed,({storyId:o,newPhase:l})=>{let{isDebugging:c}=this.getState(o);this.setState(o,{renderPhase:l}),l==="preparing"&&c&&e({storyId:o}),l==="playing"&&e({storyId:o,isDebugging:c}),l==="played"&&this.setState(o,{isLocked:!1,isPlaying:!1,isDebugging:!1}),l==="errored"&&this.setState(o,{isLocked:!1,isPlaying:!1})}),this.channel.on(y4,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:o,playUntil:l})=>{this.getState(o).isDebugging||this.setState(o,({calls:u})=>({calls:[],shadowCalls:u.map(d=>({...d,status:"waiting"})),isDebugging:!0}));let c=this.getLog(o);this.setState(o,({shadowCalls:u})=>{var h;if(l||!c.length)return{playUntil:l};let d=u.findIndex(p=>p.id===c[0].callId);return{playUntil:(h=u.slice(0,d).filter(p=>{var m;return p.interceptable&&!((m=p.ancestors)!=null&&m.length)}).slice(-1)[0])==null?void 0:h.id}}),this.channel.emit(vg,{storyId:o,isDebugging:!0})},r=({storyId:o})=>{var u;let l=this.getLog(o).filter(d=>{var h;return!((h=d.ancestors)!=null&&h.length)}),c=l.reduceRight((d,h,p)=>d>=0||h.status==="waiting"?d:p,-1);t({storyId:o,playUntil:(u=l[c-1])==null?void 0:u.callId})},n=({storyId:o,callId:l})=>{var m;let{calls:c,shadowCalls:u,resolvers:d}=this.getState(o),h=c.find(({id:g})=>g===l),p=u.find(({id:g})=>g===l);if(!h&&p&&Object.values(d).length>0){let g=(m=this.getLog(o).find(b=>b.status==="waiting"))==null?void 0:m.callId;p.id!==g&&this.setState(o,{playUntil:p.id}),Object.values(d).forEach(b=>b())}else t({storyId:o,playUntil:l})},i=({storyId:o})=>{var c;let{resolvers:l}=this.getState(o);if(Object.values(l).length>0)Object.values(l).forEach(u=>u());else{let u=(c=this.getLog(o).find(d=>d.status==="waiting"))==null?void 0:c.callId;u?t({storyId:o,playUntil:u}):a({storyId:o})}},a=({storyId:o})=>{this.setState(o,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(o).resolvers).forEach(l=>l())};this.channel.on(lc.START,t),this.channel.on(lc.BACK,r),this.channel.on(lc.GOTO,n),this.channel.on(lc.NEXT,i),this.channel.on(lc.END,a)}getState(e){return this.state[e]||J9()}setState(e,t){var i;let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},(i=Ue.window)!=null&&i.parent&&(Ue.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){var t;this.state=Object.entries(this.state).reduce((r,[n,i])=>{let a=lne(i);return a&&(r[n]=Object.assign(J9(),a)),r},{});let e={controlStates:sne,logItems:[]};this.channel.emit(lc.SYNC,e),(t=Ue.window)!=null&&t.parent&&(Ue.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((a,s)=>{n[s]=a});let i=new Set;return n.reduceRight((a,s)=>(s.args.forEach(o=>{o!=null&&o.__callId__&&i.add(o.__callId__)}),s.path.forEach(o=>{o.__callId__&&i.add(o.__callId__)}),(s.interceptable||s.exception)&&!i.has(s.id)&&(a.unshift({callId:s.id,status:s.status,ancestors:s.ancestors}),i.add(s.id)),a),[])}instrument(e,t,r=0){if(!TIt(e))return e;let{mutate:n=!1,path:i=[]}=t,a=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,a.reduce((s,o)=>{let l=wIt(e,o);if(typeof(l==null?void 0:l.get)=="function"){let u=()=>{var d,h;return(h=(d=l==null?void 0:l.get)==null?void 0:d.bind(e))==null?void 0:h()};return Object.defineProperty(s,o,{get:()=>this.instrument(u(),{...t,path:i.concat(o)},r)}),s}let c=e[o];return typeof c!="function"?(s[o]=this.instrument(c,{...t,path:i.concat(o)},r),s):"__originalFn__"in c&&typeof c.__originalFn__=="function"?(s[o]=c,s):(s[o]=(...u)=>this.track(o,c,e,u,t),s[o].__originalFn__=c,Object.defineProperty(s[o],"name",{value:o,writable:!1}),Object.keys(c).length>0&&Object.assign(s[o],this.instrument({...c},{...t,path:i.concat(o)},r)),s)},n?e:SIt(e))}track(e,t,r,n,i){var g,b,y,v;let a=((g=n==null?void 0:n[0])==null?void 0:g.__storyId__)||((v=(y=(b=Ue.__STORYBOOK_PREVIEW__)==null?void 0:b.selectionStore)==null?void 0:y.selection)==null?void 0:v.storyId),{cursor:s,ancestors:o}=this.getState(a);this.setState(a,{cursor:s+1});let l=`${o.slice(-1)[0]||a} [${s}] ${e}`,{path:c=[],intercept:u=!1,retain:d=!1}=i,h=typeof u=="function"?u(e,c):u,p={id:l,cursor:s,storyId:a,ancestors:o,path:c,method:e,args:n,interceptable:h,retain:d},m=(h&&!o.length?this.intercept:this.invoke).call(this,t,r,p,i);return this.instrument(m,{...i,mutate:!0,path:[{__callId__:p.id}]})}intercept(e,t,r,n){let{chainedCallIds:i,isDebugging:a,playUntil:s}=this.getState(r.storyId),o=i.has(r.id);return!a||o||s?(s===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(l=>{this.setState(r.storyId,({resolvers:c})=>({isLocked:!1,resolvers:{...c,[r.id]:l}}))}).then(()=>(this.setState(r.storyId,l=>{let{[r.id]:c,...u}=l.resolvers;return{isLocked:!0,resolvers:u}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:i,renderPhase:a}=this.getState(r.storyId),s=25,o=(u,d,h)=>{var p,m,g;if(h.includes(u))return"[Circular]";if(h=[...h,u],d>s)return"...";if(i.has(u))return i.get(u);if(u instanceof Array)return u.map(b=>o(b,++d,h));if(u instanceof Date)return{__date__:{value:u.toISOString()}};if(u instanceof Error){let{name:b,message:y,stack:v}=u;return{__error__:{name:b,message:y,stack:v}}}if(u instanceof RegExp){let{flags:b,source:y}=u;return{__regexp__:{flags:b,source:y}}}if(u instanceof((p=Ue.window)==null?void 0:p.HTMLElement)){let{prefix:b,localName:y,id:v,classList:S,innerText:x}=u,w=Array.from(S);return{__element__:{prefix:b,localName:y,id:v,classNames:w,innerText:x}}}return typeof u=="function"?{__function__:{name:"getMockName"in u?u.getMockName():u.name}}:typeof u=="symbol"?{__symbol__:{description:u.description}}:typeof u=="object"&&((m=u==null?void 0:u.constructor)!=null&&m.name)&&((g=u==null?void 0:u.constructor)==null?void 0:g.name)!=="Object"?{__class__:{name:u.constructor.name}}:Object.prototype.toString.call(u)==="[object Object]"?Object.fromEntries(Object.entries(u).map(([b,y])=>[b,o(y,++d,h)])):u},l={...r,args:r.args.map(u=>o(u,0,[]))};r.path.forEach(u=>{u!=null&&u.__callId__&&this.setState(r.storyId,({chainedCallIds:d})=>({chainedCallIds:new Set(Array.from(d).concat(u.__callId__))}))});let c=u=>{var d;if(u instanceof Error){let{name:h,message:p,stack:m,callId:g=r.id}=u,{showDiff:b=void 0,diff:y=void 0,actual:v=void 0,expected:S=void 0}=u.name==="AssertionError"?Y9e(u):u,x={name:h,message:p,stack:m,callId:g,showDiff:b,diff:y,actual:v,expected:S};if(this.update({...l,status:"error",exception:x}),this.setState(r.storyId,w=>({callRefsByResult:new Map([...Array.from(w.callRefsByResult.entries()),[u,{__callId__:r.id,retain:r.retain}]])})),(d=r.ancestors)==null?void 0:d.length)throw Object.prototype.hasOwnProperty.call(u,"callId")||Object.defineProperty(u,"callId",{value:r.id}),u}throw u};try{if(a==="played"&&!r.retain)throw yIt;let u=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(h=>typeof h!="function"||Object.keys(h).length?h:(...p)=>{let{cursor:m,ancestors:g}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...g,r.id]});let b=()=>this.setState(r.storyId,{cursor:m,ancestors:g}),y=!1;try{let v=h(...p);return v instanceof Promise?(y=!0,v.finally(b)):v}finally{y||b()}}),d=e.apply(t,u);return d&&["object","function","symbol"].includes(typeof d)&&this.setState(r.storyId,h=>({callRefsByResult:new Map([...Array.from(h.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),this.update({...l,status:d instanceof Promise?"active":"done"}),d instanceof Promise?d.then(h=>(this.update({...l,status:"done"}),h),c):d}catch(u){return c(u)}}update(e){this.channel.emit(lc.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,i)=>Object.assign(n,{[i.id]:i}),{});return{calls:Object.values(r).sort((n,i)=>n.id.localeCompare(i.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{var c;let{isLocked:r,isPlaying:n}=this.getState(e),i=this.getLog(e),a=(c=i.filter(({ancestors:u})=>!u.length).find(u=>u.status==="waiting"))==null?void 0:c.callId,s=i.some(u=>u.status==="active");if(r||s||i.length===0){let u={controlStates:sne,logItems:i};this.channel.emit(lc.SYNC,u);return}let o=i.some(u=>u.status==="done"||u.status==="error"),l={controlStates:{start:o,back:o,goto:!0,next:n,end:n},logItems:i,pausedAt:a};this.channel.emit(lc.SYNC,l)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function pG(e,t={}){var r,n,i,a,s,o,l,c;try{let u=!1,d=!1;return(i=(n=(r=Ue.window)==null?void 0:r.location)==null?void 0:n.search)!=null&&i.includes("instrument=true")?u=!0:(o=(s=(a=Ue.window)==null?void 0:a.location)==null?void 0:s.search)!=null&&o.includes("instrument=false")&&(d=!0),((l=Ue.window)==null?void 0:l.parent)===Ue.window&&!u||d?e:(Ue.window&&!Ue.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(Ue.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new xIt),((c=Ue.window)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(u){return pn.warn(u),e}}function wIt(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}var mL={},_It=Object.create,hG=Object.defineProperty,AIt=Object.getOwnPropertyDescriptor,K9e=Object.getOwnPropertyNames,CIt=Object.getPrototypeOf,EIt=Object.prototype.hasOwnProperty,PIt=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),B=(e,t)=>function(){return t||(0,e[K9e(e)[0]])((t={exports:{}}).exports,t),t.exports},fG=(e,t)=>{for(var r in t)hG(e,r,{get:t[r],enumerable:!0})},jIt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of K9e(t))!EIt.call(e,i)&&i!==r&&hG(e,i,{get:()=>t[i],enumerable:!(n=AIt(t,i))||n.enumerable});return e},ss=(e,t,r)=>(r=e!=null?_It(CIt(e)):{},jIt(t||!e||!e.__esModule?hG(r,"default",{value:e,enumerable:!0}):r,e)),RIt=B({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((i,a)=>Math.min(i,a.length),1/0):0}}}),IIt=B({"../../node_modules/strip-indent/index.js"(e,t){var r=RIt();t.exports=n=>{let i=r(n);if(i===0)return n;let a=new RegExp(`^[ \\t]{${i}}`,"gm");return n.replace(a,"")}}}),OIt=B({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,i)=>{if(i={indent:" ",includeEmptyLines:!1,...i},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof i.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof i.indent}\``);if(n===0)return r;let a=i.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(a,i.indent.repeat(n))}}}),X9e=B({"../../node_modules/redent/index.js"(e,t){var r=IIt(),n=OIt();t.exports=(i,a=0,s)=>n(r(i),a,s)}}),MIt=B({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,i={"@@iterator":function(){return i},next:function(){if(n<r.length){var a=r[n];return n=n+1,{done:!1,value:a}}else return{done:!0}}};return i}e.default=t}}),a2=B({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=r(MIt());function r(a){return a&&a.__esModule?a:{default:a}}function n(a){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(a)}function i(a,s){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(a,Symbol.iterator,{value:t.default.bind(s)}),a}}}),kIt=B({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(a2());function r(d){return d&&d.__esModule?d:{default:d}}function n(d,h){return l(d)||o(d,h)||a(d,h)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(d,h){if(d){if(typeof d=="string")return s(d,h);var p={}.toString.call(d).slice(8,-1);return p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set"?Array.from(d):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?s(d,h):void 0}}function s(d,h){(h==null||h>d.length)&&(h=d.length);for(var p=0,m=Array(h);p<h;p++)m[p]=d[p];return m}function o(d,h){var p=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(p!=null){var m,g,b,y,v=[],S=!0,x=!1;try{if(b=(p=p.call(d)).next,h===0){if(Object(p)!==p)return;S=!1}else for(;!(S=(m=b.call(p)).done)&&(v.push(m.value),v.length!==h);S=!0);}catch(w){x=!0,g=w}finally{try{if(!S&&p.return!=null&&(y=p.return(),Object(y)!==y))return}finally{if(x)throw g}}return v}}function l(d){if(Array.isArray(d))return d}var c=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],u={entries:function(){return c},forEach:function(d){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,p=0,m=c;p<m.length;p++){var g=n(m[p],2),b=g[0],y=g[1];d.call(h,y,b,c)}},get:function(d){var h=c.filter(function(p){return p[0]===d})[0];return h&&h[1]},has:function(d){return!!u.get(d)},keys:function(){return c.map(function(d){var h=n(d,1),p=h[0];return p})},values:function(){return c.map(function(d){var h=n(d,2),p=h[1];return p})}};e.default=(0,t.default)(u,u.entries())}}),DIt=B({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(a2());function r(d){return d&&d.__esModule?d:{default:d}}function n(d,h){return l(d)||o(d,h)||a(d,h)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(d,h){if(d){if(typeof d=="string")return s(d,h);var p={}.toString.call(d).slice(8,-1);return p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set"?Array.from(d):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?s(d,h):void 0}}function s(d,h){(h==null||h>d.length)&&(h=d.length);for(var p=0,m=Array(h);p<h;p++)m[p]=d[p];return m}function o(d,h){var p=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(p!=null){var m,g,b,y,v=[],S=!0,x=!1;try{if(b=(p=p.call(d)).next,h===0){if(Object(p)!==p)return;S=!1}else for(;!(S=(m=b.call(p)).done)&&(v.push(m.value),v.length!==h);S=!0);}catch(w){x=!0,g=w}finally{try{if(!S&&p.return!=null&&(y=p.return(),Object(y)!==y))return}finally{if(x)throw g}}return v}}function l(d){if(Array.isArray(d))return d}var c=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],u={entries:function(){return c},forEach:function(d){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,p=0,m=c;p<m.length;p++){var g=n(m[p],2),b=g[0],y=g[1];d.call(h,y,b,c)}},get:function(d){var h=c.filter(function(p){return p[0]===d})[0];return h&&h[1]},has:function(d){return!!u.get(d)},keys:function(){return c.map(function(d){var h=n(d,1),p=h[0];return p})},values:function(){return c.map(function(d){var h=n(d,2),p=h[1];return p})}};e.default=(0,t.default)(u,u.entries())}}),LIt=B({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),FIt=B({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),$It=B({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),BIt=B({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),NIt=B({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),qIt=B({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),zIt=B({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),WIt=B({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),HIt=B({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}}),UIt=B({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),GIt=B({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),VIt=B({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),YIt=B({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(LIt()),r=p(FIt()),n=p($It()),i=p(BIt()),a=p(NIt()),s=p(qIt()),o=p(zIt()),l=p(WIt()),c=p(HIt()),u=p(UIt()),d=p(GIt()),h=p(VIt());function p(g){return g&&g.__esModule?g:{default:g}}var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",i.default],["range",a.default],["roletype",s.default],["section",o.default],["sectionhead",l.default],["select",c.default],["structure",u.default],["widget",d.default],["window",h.default]];e.default=m}}),KIt=B({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),XIt=B({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}}),QIt=B({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),JIt=B({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),ZIt=B({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),eOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),tOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),rOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),nOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),iOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),aOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),sOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),oOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),lOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),cOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),uOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),dOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),pOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}}),hOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),fOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),mOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),gOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),bOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),yOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),vOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),TOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}}),SOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}}),xOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),wOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),_Ot=B({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),AOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),COt=B({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),EOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),POt=B({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),jOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ROt=B({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),IOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),OOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),MOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),kOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),DOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),LOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}}),FOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),$Ot=B({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}}),BOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}}),NOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}}),qOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),zOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),WOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),HOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),UOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),GOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),VOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),YOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),KOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),XOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),QOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}}),JOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),ZOt=B({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),eMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),tMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),rMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}}),nMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),iMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),aMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),sMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),oMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),lMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),cMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),uMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}}),dMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}}),pMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),hMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}}),fMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),mMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),gMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}}),bMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),yMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}}),vMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),TMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),SMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),xMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}}),wMt=B({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}}),_Mt=B({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=V(KIt()),r=V(XIt()),n=V(QIt()),i=V(JIt()),a=V(ZIt()),s=V(eOt()),o=V(tOt()),l=V(rOt()),c=V(nOt()),u=V(iOt()),d=V(aOt()),h=V(sOt()),p=V(oOt()),m=V(lOt()),g=V(cOt()),b=V(uOt()),y=V(dOt()),v=V(pOt()),S=V(hOt()),x=V(fOt()),w=V(mOt()),A=V(gOt()),_=V(bOt()),C=V(yOt()),E=V(vOt()),R=V(TOt()),P=V(SOt()),O=V(xOt()),k=V(wOt()),I=V(_Ot()),M=V(AOt()),D=V(COt()),F=V(EOt()),$=V(POt()),Y=V(jOt()),he=V(ROt()),fe=V(IOt()),U=V(OOt()),W=V(MOt()),H=V(kOt()),ie=V(DOt()),J=V(LOt()),we=V(FOt()),Le=V($Ot()),Ye=V(BOt()),oe=V(NOt()),X=V(qOt()),se=V(zOt()),Ce=V(WOt()),ce=V(HOt()),le=V(UOt()),Te=V(GOt()),be=V(VOt()),ze=V(YOt()),Ze=V(KOt()),St=V(XOt()),Ut=V(QOt()),Rt=V(JOt()),Dt=V(ZOt()),nt=V(eMt()),Pr=V(tMt()),q=V(rMt()),K=V(nMt()),pe=V(iMt()),ye=V(aMt()),ke=V(sMt()),je=V(oMt()),qe=V(lMt()),Fe=V(cMt()),We=V(uMt()),Ct=V(dMt()),Wt=V(pMt()),It=V(hMt()),nr=V(fMt()),L0=V(mMt()),P0=V(gMt()),Ia=V(bMt()),Oa=V(yMt()),Gs=V(vMt()),Ma=V(TMt()),Vs=V(SMt()),Ys=V(xMt()),Ks=V(wMt());function V(Gi){return Gi&&Gi.__esModule?Gi:{default:Gi}}var Kl=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",i.default],["banner",a.default],["blockquote",s.default],["button",o.default],["caption",l.default],["cell",c.default],["checkbox",u.default],["code",d.default],["columnheader",h.default],["combobox",p.default],["complementary",m.default],["contentinfo",g.default],["definition",b.default],["deletion",y.default],["dialog",v.default],["directory",S.default],["document",x.default],["emphasis",w.default],["feed",A.default],["figure",_.default],["form",C.default],["generic",E.default],["grid",R.default],["gridcell",P.default],["group",O.default],["heading",k.default],["img",I.default],["insertion",M.default],["link",D.default],["list",F.default],["listbox",$.default],["listitem",Y.default],["log",he.default],["main",fe.default],["mark",U.default],["marquee",W.default],["math",H.default],["menu",ie.default],["menubar",J.default],["menuitem",we.default],["menuitemcheckbox",Le.default],["menuitemradio",Ye.default],["meter",oe.default],["navigation",X.default],["none",se.default],["note",Ce.default],["option",ce.default],["paragraph",le.default],["presentation",Te.default],["progressbar",be.default],["radio",ze.default],["radiogroup",Ze.default],["region",St.default],["row",Ut.default],["rowgroup",Rt.default],["rowheader",Dt.default],["scrollbar",nt.default],["search",Pr.default],["searchbox",q.default],["separator",K.default],["slider",pe.default],["spinbutton",ye.default],["status",ke.default],["strong",je.default],["subscript",qe.default],["superscript",Fe.default],["switch",We.default],["tab",Ct.default],["table",Wt.default],["tablist",It.default],["tabpanel",nr.default],["term",L0.default],["textbox",P0.default],["time",Ia.default],["timer",Oa.default],["toolbar",Gs.default],["tooltip",Ma.default],["tree",Vs.default],["treegrid",Ys.default],["treeitem",Ks.default]];e.default=Kl}}),AMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),CMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),EMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),PMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),jMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),RMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),IMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),OMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),MMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),kMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),DMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),LMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),FMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),$Mt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),BMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),NMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),qMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),zMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),WMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),HMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),UMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),GMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),VMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),YMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),KMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),XMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),QMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),JMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),ZMt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),ekt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}}),tkt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),rkt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),nkt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),ikt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),akt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),skt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),okt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}}),lkt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ckt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),ukt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),dkt=B({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),pkt=B({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=J(AMt()),r=J(CMt()),n=J(EMt()),i=J(PMt()),a=J(jMt()),s=J(RMt()),o=J(IMt()),l=J(OMt()),c=J(MMt()),u=J(kMt()),d=J(DMt()),h=J(LMt()),p=J(FMt()),m=J($Mt()),g=J(BMt()),b=J(NMt()),y=J(qMt()),v=J(zMt()),S=J(WMt()),x=J(HMt()),w=J(UMt()),A=J(GMt()),_=J(VMt()),C=J(YMt()),E=J(KMt()),R=J(XMt()),P=J(QMt()),O=J(JMt()),k=J(ZMt()),I=J(ekt()),M=J(tkt()),D=J(rkt()),F=J(nkt()),$=J(ikt()),Y=J(akt()),he=J(skt()),fe=J(okt()),U=J(lkt()),W=J(ckt()),H=J(ukt()),ie=J(dkt());function J(Le){return Le&&Le.__esModule?Le:{default:Le}}var we=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",i.default],["doc-backlink",a.default],["doc-biblioentry",s.default],["doc-bibliography",o.default],["doc-biblioref",l.default],["doc-chapter",c.default],["doc-colophon",u.default],["doc-conclusion",d.default],["doc-cover",h.default],["doc-credit",p.default],["doc-credits",m.default],["doc-dedication",g.default],["doc-endnote",b.default],["doc-endnotes",y.default],["doc-epigraph",v.default],["doc-epilogue",S.default],["doc-errata",x.default],["doc-example",w.default],["doc-footnote",A.default],["doc-foreword",_.default],["doc-glossary",C.default],["doc-glossref",E.default],["doc-index",R.default],["doc-introduction",P.default],["doc-noteref",O.default],["doc-notice",k.default],["doc-pagebreak",I.default],["doc-pagefooter",M.default],["doc-pageheader",D.default],["doc-pagelist",F.default],["doc-part",$.default],["doc-preface",Y.default],["doc-prologue",he.default],["doc-pullquote",fe.default],["doc-qna",U.default],["doc-subtitle",W.default],["doc-tip",H.default],["doc-toc",ie.default]];e.default=we}}),hkt=B({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),fkt=B({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),mkt=B({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),gkt=B({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(hkt()),r=i(fkt()),n=i(mkt());function i(s){return s&&s.__esModule?s:{default:s}}var a=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=a}}),mG=B({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(YIt()),r=s(_Mt()),n=s(pkt()),i=s(gkt()),a=s(a2());function s(b){return b&&b.__esModule?b:{default:b}}function o(b,y){var v=typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(!v){if(Array.isArray(b)||(v=u(b))||y){v&&(b=v);var S=0,x=function(){};return{s:x,n:function(){return S>=b.length?{done:!0}:{done:!1,value:b[S++]}},e:function(C){throw C},f:x}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w,A=!0,_=!1;return{s:function(){v=v.call(b)},n:function(){var C=v.next();return A=C.done,C},e:function(C){_=!0,w=C},f:function(){try{A||v.return==null||v.return()}finally{if(_)throw w}}}}function l(b,y){return p(b)||h(b,y)||u(b,y)||c()}function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(b,y){if(b){if(typeof b=="string")return d(b,y);var v={}.toString.call(b).slice(8,-1);return v==="Object"&&b.constructor&&(v=b.constructor.name),v==="Map"||v==="Set"?Array.from(b):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?d(b,y):void 0}}function d(b,y){(y==null||y>b.length)&&(y=b.length);for(var v=0,S=Array(y);v<y;v++)S[v]=b[v];return S}function h(b,y){var v=b==null?null:typeof Symbol<"u"&&b[Symbol.iterator]||b["@@iterator"];if(v!=null){var S,x,w,A,_=[],C=!0,E=!1;try{if(w=(v=v.call(b)).next,y===0){if(Object(v)!==v)return;C=!1}else for(;!(C=(S=w.call(v)).done)&&(_.push(S.value),_.length!==y);C=!0);}catch(R){E=!0,x=R}finally{try{if(!C&&v.return!=null&&(A=v.return(),Object(A)!==A))return}finally{if(E)throw x}}return _}}function p(b){if(Array.isArray(b))return b}var m=[].concat(t.default,r.default,n.default,i.default);m.forEach(function(b){var y=l(b,2),v=y[1],S=o(v.superClass),x;try{for(S.s();!(x=S.n()).done;){var w=x.value,A=o(w),_;try{var C=function(){var E=_.value,R=m.filter(function(M){var D=l(M,1),F=D[0];return F===E})[0];if(R)for(var P=R[1],O=0,k=Object.keys(P.props);O<k.length;O++){var I=k[O];Object.prototype.hasOwnProperty.call(v.props,I)||(v.props[I]=P.props[I])}};for(A.s();!(_=A.n()).done;)C()}catch(E){A.e(E)}finally{A.f()}}}catch(E){S.e(E)}finally{S.f()}});var g={entries:function(){return m},forEach:function(b){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=o(m),S;try{for(v.s();!(S=v.n()).done;){var x=l(S.value,2),w=x[0],A=x[1];b.call(y,A,w,m)}}catch(_){v.e(_)}finally{v.f()}},get:function(b){var y=m.filter(function(v){return v[0]===b})[0];return y&&y[1]},has:function(b){return!!g.get(b)},keys:function(){return m.map(function(b){var y=l(b,1),v=y[0];return v})},values:function(){return m.map(function(b){var y=l(b,2),v=y[1];return v})}};e.default=(0,a.default)(g,g.entries())}}),bkt=B({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(a2()),r=n(mG());function n(A){return A&&A.__esModule?A:{default:A}}function i(A,_){return c(A)||l(A,_)||s(A,_)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(A,_){if(A){if(typeof A=="string")return o(A,_);var C={}.toString.call(A).slice(8,-1);return C==="Object"&&A.constructor&&(C=A.constructor.name),C==="Map"||C==="Set"?Array.from(A):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?o(A,_):void 0}}function o(A,_){(_==null||_>A.length)&&(_=A.length);for(var C=0,E=Array(_);C<_;C++)E[C]=A[C];return E}function l(A,_){var C=A==null?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(C!=null){var E,R,P,O,k=[],I=!0,M=!1;try{if(P=(C=C.call(A)).next,_===0){if(Object(C)!==C)return;I=!1}else for(;!(I=(E=P.call(C)).done)&&(k.push(E.value),k.length!==_);I=!0);}catch(D){M=!0,R=D}finally{try{if(!I&&C.return!=null&&(O=C.return(),Object(O)!==O))return}finally{if(M)throw R}}return k}}function c(A){if(Array.isArray(A))return A}var u=[],d=r.default.keys();for(y=0;y<d.length;y++)if(h=d[y],p=r.default.get(h),p)for(m=[].concat(p.baseConcepts,p.relatedConcepts),g=function(){var A=m[b];if(A.module==="HTML"){var _=A.concept;if(_){var C=u.filter(function(O){return S(O[0],_)})[0],E;C?E=C[1]:E=[];for(var R=!0,P=0;P<E.length;P++)if(E[P]===h){R=!1;break}R&&E.push(h),C||u.push([_,E])}}},b=0;b<m.length;b++)g();var h,p,m,g,b,y,v={entries:function(){return u},forEach:function(A){for(var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=0,E=u;C<E.length;C++){var R=i(E[C],2),P=R[0],O=R[1];A.call(_,O,P,u)}},get:function(A){var _=u.filter(function(C){return A.name===C[0].name&&w(A.attributes,C[0].attributes)})[0];return _&&_[1]},has:function(A){return!!v.get(A)},keys:function(){return u.map(function(A){var _=i(A,1),C=_[0];return C})},values:function(){return u.map(function(A){var _=i(A,2),C=_[1];return C})}};function S(A,_){return A.name===_.name&&x(A.constraints,_.constraints)&&w(A.attributes,_.attributes)}function x(A,_){if(A===void 0&&_!==void 0||A!==void 0&&_===void 0)return!1;if(A!==void 0&&_!==void 0){if(A.length!==_.length)return!1;for(var C=0;C<A.length;C++)if(A[C]!==_[C])return!1}return!0}function w(A,_){if(A===void 0&&_!==void 0||A!==void 0&&_===void 0)return!1;if(A!==void 0&&_!==void 0){if(A.length!==_.length)return!1;for(var C=0;C<A.length;C++){if(A[C].name!==_[C].name||A[C].value!==_[C].value||A[C].constraints===void 0&&_[C].constraints!==void 0||A[C].constraints!==void 0&&_[C].constraints===void 0)return!1;if(A[C].constraints!==void 0&&_[C].constraints!==void 0){if(A[C].constraints.length!==_[C].constraints.length)return!1;for(var E=0;E<A[C].constraints.length;E++)if(A[C].constraints[E]!==_[C].constraints[E])return!1}}}return!0}e.default=(0,t.default)(v,v.entries())}}),ykt=B({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(a2()),r=n(mG());function n(w){return w&&w.__esModule?w:{default:w}}function i(w,A){return c(w)||l(w,A)||s(w,A)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(w,A){if(w){if(typeof w=="string")return o(w,A);var _={}.toString.call(w).slice(8,-1);return _==="Object"&&w.constructor&&(_=w.constructor.name),_==="Map"||_==="Set"?Array.from(w):_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_)?o(w,A):void 0}}function o(w,A){(A==null||A>w.length)&&(A=w.length);for(var _=0,C=Array(A);_<A;_++)C[_]=w[_];return C}function l(w,A){var _=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(_!=null){var C,E,R,P,O=[],k=!0,I=!1;try{if(R=(_=_.call(w)).next,A===0){if(Object(_)!==_)return;k=!1}else for(;!(k=(C=R.call(_)).done)&&(O.push(C.value),O.length!==A);k=!0);}catch(M){I=!0,E=M}finally{try{if(!k&&_.return!=null&&(P=_.return(),Object(P)!==P))return}finally{if(I)throw E}}return O}}function c(w){if(Array.isArray(w))return w}var u=[],d=r.default.keys();for(S=0;S<d.length;S++)if(h=d[S],p=r.default.get(h),m=[],p){for(g=[].concat(p.baseConcepts,p.relatedConcepts),v=0;v<g.length;v++)b=g[v],b.module==="HTML"&&(y=b.concept,y!=null&&m.push(y));m.length>0&&u.push([h,m])}var h,p,m,g,b,y,v,S,x={entries:function(){return u},forEach:function(w){for(var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,_=0,C=u;_<C.length;_++){var E=i(C[_],2),R=E[0],P=E[1];w.call(A,P,R,u)}},get:function(w){var A=u.filter(function(_){return _[0]===w})[0];return A&&A[1]},has:function(w){return!!x.get(w)},keys:function(){return u.map(function(w){var A=i(w,1),_=A[0];return _})},values:function(){return u.map(function(w){var A=i(w,2),_=A[1];return _})}};e.default=(0,t.default)(x,x.entries())}}),Q9e=B({"../../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(kIt()),r=s(DIt()),n=s(mG()),i=s(bkt()),a=s(ykt());function s(o){return o&&o.__esModule?o:{default:o}}e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=i.default,e.roleElements=a.default}}),vkt=B({"../../node_modules/color-name/index.js"(e,t){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),J9e=B({"../../node_modules/color-convert/conversions.js"(e,t){var r=vkt(),n={};for(let s of Object.keys(r))n[r[s]]=s;var i={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=i;for(let s of Object.keys(i)){if(!("channels"in i[s]))throw new Error("missing channels property: "+s);if(!("labels"in i[s]))throw new Error("missing channel labels property: "+s);if(i[s].labels.length!==i[s].channels)throw new Error("channel and label counts mismatch: "+s);let{channels:o,labels:l}=i[s];delete i[s].channels,delete i[s].labels,Object.defineProperty(i[s],"channels",{value:o}),Object.defineProperty(i[s],"labels",{value:l})}i.rgb.hsl=function(s){let o=s[0]/255,l=s[1]/255,c=s[2]/255,u=Math.min(o,l,c),d=Math.max(o,l,c),h=d-u,p,m;d===u?p=0:o===d?p=(l-c)/h:l===d?p=2+(c-o)/h:c===d&&(p=4+(o-l)/h),p=Math.min(p*60,360),p<0&&(p+=360);let g=(u+d)/2;return d===u?m=0:g<=.5?m=h/(d+u):m=h/(2-d-u),[p,m*100,g*100]},i.rgb.hsv=function(s){let o,l,c,u,d,h=s[0]/255,p=s[1]/255,m=s[2]/255,g=Math.max(h,p,m),b=g-Math.min(h,p,m),y=function(v){return(g-v)/6/b+1/2};return b===0?(u=0,d=0):(d=b/g,o=y(h),l=y(p),c=y(m),h===g?u=c-l:p===g?u=1/3+o-c:m===g&&(u=2/3+l-o),u<0?u+=1:u>1&&(u-=1)),[u*360,d*100,g*100]},i.rgb.hwb=function(s){let o=s[0],l=s[1],c=s[2],u=i.rgb.hsl(s)[0],d=1/255*Math.min(o,Math.min(l,c));return c=1-1/255*Math.max(o,Math.max(l,c)),[u,d*100,c*100]},i.rgb.cmyk=function(s){let o=s[0]/255,l=s[1]/255,c=s[2]/255,u=Math.min(1-o,1-l,1-c),d=(1-o-u)/(1-u)||0,h=(1-l-u)/(1-u)||0,p=(1-c-u)/(1-u)||0;return[d*100,h*100,p*100,u*100]};function a(s,o){return(s[0]-o[0])**2+(s[1]-o[1])**2+(s[2]-o[2])**2}i.rgb.keyword=function(s){let o=n[s];if(o)return o;let l=1/0,c;for(let u of Object.keys(r)){let d=r[u],h=a(s,d);h<l&&(l=h,c=u)}return c},i.keyword.rgb=function(s){return r[s]},i.rgb.xyz=function(s){let o=s[0]/255,l=s[1]/255,c=s[2]/255;o=o>.04045?((o+.055)/1.055)**2.4:o/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let u=o*.4124+l*.3576+c*.1805,d=o*.2126+l*.7152+c*.0722,h=o*.0193+l*.1192+c*.9505;return[u*100,d*100,h*100]},i.rgb.lab=function(s){let o=i.rgb.xyz(s),l=o[0],c=o[1],u=o[2];l/=95.047,c/=100,u/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,u=u>.008856?u**(1/3):7.787*u+16/116;let d=116*c-16,h=500*(l-c),p=200*(c-u);return[d,h,p]},i.hsl.rgb=function(s){let o=s[0]/360,l=s[1]/100,c=s[2]/100,u,d,h;if(l===0)return h=c*255,[h,h,h];c<.5?u=c*(1+l):u=c+l-c*l;let p=2*c-u,m=[0,0,0];for(let g=0;g<3;g++)d=o+1/3*-(g-1),d<0&&d++,d>1&&d--,6*d<1?h=p+(u-p)*6*d:2*d<1?h=u:3*d<2?h=p+(u-p)*(2/3-d)*6:h=p,m[g]=h*255;return m},i.hsl.hsv=function(s){let o=s[0],l=s[1]/100,c=s[2]/100,u=l,d=Math.max(c,.01);c*=2,l*=c<=1?c:2-c,u*=d<=1?d:2-d;let h=(c+l)/2,p=c===0?2*u/(d+u):2*l/(c+l);return[o,p*100,h*100]},i.hsv.rgb=function(s){let o=s[0]/60,l=s[1]/100,c=s[2]/100,u=Math.floor(o)%6,d=o-Math.floor(o),h=255*c*(1-l),p=255*c*(1-l*d),m=255*c*(1-l*(1-d));switch(c*=255,u){case 0:return[c,m,h];case 1:return[p,c,h];case 2:return[h,c,m];case 3:return[h,p,c];case 4:return[m,h,c];case 5:return[c,h,p]}},i.hsv.hsl=function(s){let o=s[0],l=s[1]/100,c=s[2]/100,u=Math.max(c,.01),d,h;h=(2-l)*c;let p=(2-l)*u;return d=l*u,d/=p<=1?p:2-p,d=d||0,h/=2,[o,d*100,h*100]},i.hwb.rgb=function(s){let o=s[0]/360,l=s[1]/100,c=s[2]/100,u=l+c,d;u>1&&(l/=u,c/=u);let h=Math.floor(6*o),p=1-c;d=6*o-h,(h&1)!==0&&(d=1-d);let m=l+d*(p-l),g,b,y;switch(h){default:case 6:case 0:g=p,b=m,y=l;break;case 1:g=m,b=p,y=l;break;case 2:g=l,b=p,y=m;break;case 3:g=l,b=m,y=p;break;case 4:g=m,b=l,y=p;break;case 5:g=p,b=l,y=m;break}return[g*255,b*255,y*255]},i.cmyk.rgb=function(s){let o=s[0]/100,l=s[1]/100,c=s[2]/100,u=s[3]/100,d=1-Math.min(1,o*(1-u)+u),h=1-Math.min(1,l*(1-u)+u),p=1-Math.min(1,c*(1-u)+u);return[d*255,h*255,p*255]},i.xyz.rgb=function(s){let o=s[0]/100,l=s[1]/100,c=s[2]/100,u,d,h;return u=o*3.2406+l*-1.5372+c*-.4986,d=o*-.9689+l*1.8758+c*.0415,h=o*.0557+l*-.204+c*1.057,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,u=Math.min(Math.max(0,u),1),d=Math.min(Math.max(0,d),1),h=Math.min(Math.max(0,h),1),[u*255,d*255,h*255]},i.xyz.lab=function(s){let o=s[0],l=s[1],c=s[2];o/=95.047,l/=100,c/=108.883,o=o>.008856?o**(1/3):7.787*o+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let u=116*l-16,d=500*(o-l),h=200*(l-c);return[u,d,h]},i.lab.xyz=function(s){let o=s[0],l=s[1],c=s[2],u,d,h;d=(o+16)/116,u=l/500+d,h=d-c/200;let p=d**3,m=u**3,g=h**3;return d=p>.008856?p:(d-16/116)/7.787,u=m>.008856?m:(u-16/116)/7.787,h=g>.008856?g:(h-16/116)/7.787,u*=95.047,d*=100,h*=108.883,[u,d,h]},i.lab.lch=function(s){let o=s[0],l=s[1],c=s[2],u;u=Math.atan2(c,l)*360/2/Math.PI,u<0&&(u+=360);let d=Math.sqrt(l*l+c*c);return[o,d,u]},i.lch.lab=function(s){let o=s[0],l=s[1],c=s[2]/360*2*Math.PI,u=l*Math.cos(c),d=l*Math.sin(c);return[o,u,d]},i.rgb.ansi16=function(s,o=null){let[l,c,u]=s,d=o===null?i.rgb.hsv(s)[2]:o;if(d=Math.round(d/50),d===0)return 30;let h=30+(Math.round(u/255)<<2|Math.round(c/255)<<1|Math.round(l/255));return d===2&&(h+=60),h},i.hsv.ansi16=function(s){return i.rgb.ansi16(i.hsv.rgb(s),s[2])},i.rgb.ansi256=function(s){let o=s[0],l=s[1],c=s[2];return o===l&&l===c?o<8?16:o>248?231:Math.round((o-8)/247*24)+232:16+36*Math.round(o/255*5)+6*Math.round(l/255*5)+Math.round(c/255*5)},i.ansi16.rgb=function(s){let o=s%10;if(o===0||o===7)return s>50&&(o+=3.5),o=o/10.5*255,[o,o,o];let l=(~~(s>50)+1)*.5,c=(o&1)*l*255,u=(o>>1&1)*l*255,d=(o>>2&1)*l*255;return[c,u,d]},i.ansi256.rgb=function(s){if(s>=232){let d=(s-232)*10+8;return[d,d,d]}s-=16;let o,l=Math.floor(s/36)/5*255,c=Math.floor((o=s%36)/6)/5*255,u=o%6/5*255;return[l,c,u]},i.rgb.hex=function(s){let o=(((Math.round(s[0])&255)<<16)+((Math.round(s[1])&255)<<8)+(Math.round(s[2])&255)).toString(16).toUpperCase();return"000000".substring(o.length)+o},i.hex.rgb=function(s){let o=s.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!o)return[0,0,0];let l=o[0];o[0].length===3&&(l=l.split("").map(p=>p+p).join(""));let c=parseInt(l,16),u=c>>16&255,d=c>>8&255,h=c&255;return[u,d,h]},i.rgb.hcg=function(s){let o=s[0]/255,l=s[1]/255,c=s[2]/255,u=Math.max(Math.max(o,l),c),d=Math.min(Math.min(o,l),c),h=u-d,p,m;return h<1?p=d/(1-h):p=0,h<=0?m=0:u===o?m=(l-c)/h%6:u===l?m=2+(c-o)/h:m=4+(o-l)/h,m/=6,m%=1,[m*360,h*100,p*100]},i.hsl.hcg=function(s){let o=s[1]/100,l=s[2]/100,c=l<.5?2*o*l:2*o*(1-l),u=0;return c<1&&(u=(l-.5*c)/(1-c)),[s[0],c*100,u*100]},i.hsv.hcg=function(s){let o=s[1]/100,l=s[2]/100,c=o*l,u=0;return c<1&&(u=(l-c)/(1-c)),[s[0],c*100,u*100]},i.hcg.rgb=function(s){let o=s[0]/360,l=s[1]/100,c=s[2]/100;if(l===0)return[c*255,c*255,c*255];let u=[0,0,0],d=o%1*6,h=d%1,p=1-h,m=0;switch(Math.floor(d)){case 0:u[0]=1,u[1]=h,u[2]=0;break;case 1:u[0]=p,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=h;break;case 3:u[0]=0,u[1]=p,u[2]=1;break;case 4:u[0]=h,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=p}return m=(1-l)*c,[(l*u[0]+m)*255,(l*u[1]+m)*255,(l*u[2]+m)*255]},i.hcg.hsv=function(s){let o=s[1]/100,l=s[2]/100,c=o+l*(1-o),u=0;return c>0&&(u=o/c),[s[0],u*100,c*100]},i.hcg.hsl=function(s){let o=s[1]/100,l=s[2]/100*(1-o)+.5*o,c=0;return l>0&&l<.5?c=o/(2*l):l>=.5&&l<1&&(c=o/(2*(1-l))),[s[0],c*100,l*100]},i.hcg.hwb=function(s){let o=s[1]/100,l=s[2]/100,c=o+l*(1-o);return[s[0],(c-o)*100,(1-c)*100]},i.hwb.hcg=function(s){let o=s[1]/100,l=1-s[2]/100,c=l-o,u=0;return c<1&&(u=(l-c)/(1-c)),[s[0],c*100,u*100]},i.apple.rgb=function(s){return[s[0]/65535*255,s[1]/65535*255,s[2]/65535*255]},i.rgb.apple=function(s){return[s[0]/255*65535,s[1]/255*65535,s[2]/255*65535]},i.gray.rgb=function(s){return[s[0]/100*255,s[0]/100*255,s[0]/100*255]},i.gray.hsl=function(s){return[0,0,s[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(s){return[0,100,s[0]]},i.gray.cmyk=function(s){return[0,0,0,s[0]]},i.gray.lab=function(s){return[s[0],0,0]},i.gray.hex=function(s){let o=Math.round(s[0]/100*255)&255,l=((o<<16)+(o<<8)+o).toString(16).toUpperCase();return"000000".substring(l.length)+l},i.rgb.gray=function(s){return[(s[0]+s[1]+s[2])/3/255*100]}}}),Tkt=B({"../../node_modules/color-convert/route.js"(e,t){var r=J9e();function n(){let o={},l=Object.keys(r);for(let c=l.length,u=0;u<c;u++)o[l[u]]={distance:-1,parent:null};return o}function i(o){let l=n(),c=[o];for(l[o].distance=0;c.length;){let u=c.pop(),d=Object.keys(r[u]);for(let h=d.length,p=0;p<h;p++){let m=d[p],g=l[m];g.distance===-1&&(g.distance=l[u].distance+1,g.parent=u,c.unshift(m))}}return l}function a(o,l){return function(c){return l(o(c))}}function s(o,l){let c=[l[o].parent,o],u=r[l[o].parent][o],d=l[o].parent;for(;l[d].parent;)c.unshift(l[d].parent),u=a(r[l[d].parent][d],u),d=l[d].parent;return u.conversion=c,u}t.exports=function(o){let l=i(o),c={},u=Object.keys(l);for(let d=u.length,h=0;h<d;h++){let p=u[h];l[p].parent!==null&&(c[p]=s(p,l))}return c}}}),Skt=B({"../../node_modules/color-convert/index.js"(e,t){var r=J9e(),n=Tkt(),i={},a=Object.keys(r);function s(l){let c=function(...u){let d=u[0];return d==null?d:(d.length>1&&(u=d),l(u))};return"conversion"in l&&(c.conversion=l.conversion),c}function o(l){let c=function(...u){let d=u[0];if(d==null)return d;d.length>1&&(u=d);let h=l(u);if(typeof h=="object")for(let p=h.length,m=0;m<p;m++)h[m]=Math.round(h[m]);return h};return"conversion"in l&&(c.conversion=l.conversion),c}a.forEach(l=>{i[l]={},Object.defineProperty(i[l],"channels",{value:r[l].channels}),Object.defineProperty(i[l],"labels",{value:r[l].labels});let c=n(l);Object.keys(c).forEach(u=>{let d=c[u];i[l][u]=o(d),i[l][u].raw=s(d)})}),t.exports=i}}),xkt=B({"../../node_modules/ansi-styles/index.js"(e,t){var r=(d,h)=>(...p)=>`\x1B[${d(...p)+h}m`,n=(d,h)=>(...p)=>{let m=d(...p);return`\x1B[${38+h};5;${m}m`},i=(d,h)=>(...p)=>{let m=d(...p);return`\x1B[${38+h};2;${m[0]};${m[1]};${m[2]}m`},a=d=>d,s=(d,h,p)=>[d,h,p],o=(d,h,p)=>{Object.defineProperty(d,h,{get:()=>{let m=p();return Object.defineProperty(d,h,{value:m,enumerable:!0,configurable:!0}),m},enumerable:!0,configurable:!0})},l,c=(d,h,p,m)=>{l===void 0&&(l=Skt());let g=m?10:0,b={};for(let[y,v]of Object.entries(l)){let S=y==="ansi16"?"ansi":y;y===h?b[S]=d(p,g):typeof v=="object"&&(b[S]=d(v[h],g))}return b};function u(){let d=new Map,h={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};h.color.gray=h.color.blackBright,h.bgColor.bgGray=h.bgColor.bgBlackBright,h.color.grey=h.color.blackBright,h.bgColor.bgGrey=h.bgColor.bgBlackBright;for(let[p,m]of Object.entries(h)){for(let[g,b]of Object.entries(m))h[g]={open:`\x1B[${b[0]}m`,close:`\x1B[${b[1]}m`},m[g]=h[g],d.set(b[0],b[1]);Object.defineProperty(h,p,{value:m,enumerable:!1})}return Object.defineProperty(h,"codes",{value:d,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",o(h.color,"ansi",()=>c(r,"ansi16",a,!1)),o(h.color,"ansi256",()=>c(n,"ansi256",a,!1)),o(h.color,"ansi16m",()=>c(i,"rgb",s,!1)),o(h.bgColor,"ansi",()=>c(r,"ansi16",a,!0)),o(h.bgColor,"ansi256",()=>c(n,"ansi256",a,!0)),o(h.bgColor,"ansi16m",()=>c(i,"rgb",s,!0)),h}Object.defineProperty(t,"exports",{enumerable:!0,get:u})}}),wkt=B({"../../node_modules/supports-color/browser.js"(e,t){t.exports={stdout:!1,stderr:!1}}}),_kt=B({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){var r=(i,a,s)=>{let o=i.indexOf(a);if(o===-1)return i;let l=a.length,c=0,u="";do u+=i.substr(c,o-c)+a+s,c=o+l,o=i.indexOf(a,c);while(o!==-1);return u+=i.substr(c),u},n=(i,a,s,o)=>{let l=0,c="";do{let u=i[o-1]==="\r";c+=i.substr(l,(u?o-1:o)-l)+a+(u?`\r
`:`
`)+s,l=o+1,o=i.indexOf(`
`,l)}while(o!==-1);return c+=i.substr(l),c};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),Akt=B({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(e,t){var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,i=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,a=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,s=new Map([["n",`
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function o(d){let h=d[0]==="u",p=d[1]==="{";return h&&!p&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):h&&p?String.fromCodePoint(parseInt(d.slice(2,-1),16)):s.get(d)||d}function l(d,h){let p=[],m=h.trim().split(/\s*,\s*/g),g;for(let b of m){let y=Number(b);if(!Number.isNaN(y))p.push(y);else if(g=b.match(i))p.push(g[2].replace(a,(v,S,x)=>S?o(S):x));else throw new Error(`Invalid Chalk template style argument: ${b} (in style '${d}')`)}return p}function c(d){n.lastIndex=0;let h=[],p;for(;(p=n.exec(d))!==null;){let m=p[1];if(p[2]){let g=l(m,p[2]);h.push([m].concat(g))}else h.push([m])}return h}function u(d,h){let p={};for(let g of h)for(let b of g.styles)p[b[0]]=g.inverse?null:b.slice(1);let m=d;for(let[g,b]of Object.entries(p))if(Array.isArray(b)){if(!(g in m))throw new Error(`Unknown Chalk style: ${g}`);m=b.length>0?m[g](...b):m[g]}return m}t.exports=(d,h)=>{let p=[],m=[],g=[];if(h.replace(r,(b,y,v,S,x,w)=>{if(y)g.push(o(y));else if(S){let A=g.join("");g=[],m.push(p.length===0?A:u(d,p)(A)),p.push({inverse:v,styles:c(S)})}else if(x){if(p.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(u(d,p)(g.join(""))),g=[],p.pop()}else g.push(w)}),m.push(g.join("")),p.length>0){let b=`Chalk template literal is missing ${p.length} closing bracket${p.length===1?"":"s"} (\`}\`)`;throw new Error(b)}return m.join("")}}}),Z9e=B({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var r=xkt(),{stdout:n,stderr:i}=wkt(),{stringReplaceAll:a,stringEncaseCRLFWithFirstIndex:s}=_kt(),o=["ansi","ansi","ansi256","ansi16m"],l=Object.create(null),c=(w,A={})=>{if(A.level>3||A.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let _=n?n.level:0;w.level=A.level===void 0?_:A.level},u=class{constructor(w){return d(w)}},d=w=>{let A={};return c(A,w),A.template=(..._)=>S(A.template,..._),Object.setPrototypeOf(A,h.prototype),Object.setPrototypeOf(A.template,A),A.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},A.template.Instance=u,A.template};function h(w){return d(w)}for(let[w,A]of Object.entries(r))l[w]={get(){let _=b(this,g(A.open,A.close,this._styler),this._isEmpty);return Object.defineProperty(this,w,{value:_}),_}};l.visible={get(){let w=b(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:w}),w}};var p=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let w of p)l[w]={get(){let{level:A}=this;return function(..._){let C=g(r.color[o[A]][w](..._),r.color.close,this._styler);return b(this,C,this._isEmpty)}}};for(let w of p){let A="bg"+w[0].toUpperCase()+w.slice(1);l[A]={get(){let{level:_}=this;return function(...C){let E=g(r.bgColor[o[_]][w](...C),r.bgColor.close,this._styler);return b(this,E,this._isEmpty)}}}}var m=Object.defineProperties(()=>{},{...l,level:{enumerable:!0,get(){return this._generator.level},set(w){this._generator.level=w}}}),g=(w,A,_)=>{let C,E;return _===void 0?(C=w,E=A):(C=_.openAll+w,E=A+_.closeAll),{open:w,close:A,openAll:C,closeAll:E,parent:_}},b=(w,A,_)=>{let C=(...E)=>y(C,E.length===1?""+E[0]:E.join(" "));return C.__proto__=m,C._generator=w,C._styler=A,C._isEmpty=_,C},y=(w,A)=>{if(w.level<=0||!A)return w._isEmpty?"":A;let _=w._styler;if(_===void 0)return A;let{openAll:C,closeAll:E}=_;if(A.indexOf("\x1B")!==-1)for(;_!==void 0;)A=a(A,_.close,_.open),_=_.parent;let R=A.indexOf(`
`);return R!==-1&&(A=s(A,E,C,R)),C+A+E},v,S=(w,...A)=>{let[_]=A;if(!Array.isArray(_))return A.join(" ");let C=A.slice(1),E=[_.raw[0]];for(let R=1;R<_.length;R++)E.push(String(C[R-1]).replace(/[{}\\]/g,"\\$&"),String(_.raw[R]));return v===void 0&&(v=Akt()),v(w,E.join(""))};Object.defineProperties(h.prototype,l);var x=h();x.supportsColor=n,x.stderr=h({level:i?i.level:0}),x.stderr.supportsColor=i,x.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=x}}),Ckt=B({"../../node_modules/lodash/_listCacheClear.js"(e,t){function r(){this.__data__=[],this.size=0}t.exports=r}}),eEe=B({"../../node_modules/lodash/eq.js"(e,t){function r(n,i){return n===i||n!==n&&i!==i}t.exports=r}}),dA=B({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var r=eEe();function n(i,a){for(var s=i.length;s--;)if(r(i[s][0],a))return s;return-1}t.exports=n}}),Ekt=B({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var r=dA(),n=Array.prototype,i=n.splice;function a(s){var o=this.__data__,l=r(o,s);if(l<0)return!1;var c=o.length-1;return l==c?o.pop():i.call(o,l,1),--this.size,!0}t.exports=a}}),Pkt=B({"../../node_modules/lodash/_listCacheGet.js"(e,t){var r=dA();function n(i){var a=this.__data__,s=r(a,i);return s<0?void 0:a[s][1]}t.exports=n}}),jkt=B({"../../node_modules/lodash/_listCacheHas.js"(e,t){var r=dA();function n(i){return r(this.__data__,i)>-1}t.exports=n}}),Rkt=B({"../../node_modules/lodash/_listCacheSet.js"(e,t){var r=dA();function n(i,a){var s=this.__data__,o=r(s,i);return o<0?(++this.size,s.push([i,a])):s[o][1]=a,this}t.exports=n}}),pA=B({"../../node_modules/lodash/_ListCache.js"(e,t){var r=Ckt(),n=Ekt(),i=Pkt(),a=jkt(),s=Rkt();function o(l){var c=-1,u=l==null?0:l.length;for(this.clear();++c<u;){var d=l[c];this.set(d[0],d[1])}}o.prototype.clear=r,o.prototype.delete=n,o.prototype.get=i,o.prototype.has=a,o.prototype.set=s,t.exports=o}}),Ikt=B({"../../node_modules/lodash/_stackClear.js"(e,t){var r=pA();function n(){this.__data__=new r,this.size=0}t.exports=n}}),Okt=B({"../../node_modules/lodash/_stackDelete.js"(e,t){function r(n){var i=this.__data__,a=i.delete(n);return this.size=i.size,a}t.exports=r}}),Mkt=B({"../../node_modules/lodash/_stackGet.js"(e,t){function r(n){return this.__data__.get(n)}t.exports=r}}),kkt=B({"../../node_modules/lodash/_stackHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),tEe=B({"../../node_modules/lodash/_freeGlobal.js"(e,t){var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}}),Tu=B({"../../node_modules/lodash/_root.js"(e,t){var r=tEe(),n=typeof self=="object"&&self&&self.Object===Object&&self,i=r||n||Function("return this")();t.exports=i}}),gG=B({"../../node_modules/lodash/_Symbol.js"(e,t){var r=Tu(),n=r.Symbol;t.exports=n}}),Dkt=B({"../../node_modules/lodash/_getRawTag.js"(e,t){var r=gG(),n=Object.prototype,i=n.hasOwnProperty,a=n.toString,s=r?r.toStringTag:void 0;function o(l){var c=i.call(l,s),u=l[s];try{l[s]=void 0;var d=!0}catch(p){}var h=a.call(l);return d&&(c?l[s]=u:delete l[s]),h}t.exports=o}}),Lkt=B({"../../node_modules/lodash/_objectToString.js"(e,t){var r=Object.prototype,n=r.toString;function i(a){return n.call(a)}t.exports=i}}),hA=B({"../../node_modules/lodash/_baseGetTag.js"(e,t){var r=gG(),n=Dkt(),i=Lkt(),a="[object Null]",s="[object Undefined]",o=r?r.toStringTag:void 0;function l(c){return c==null?c===void 0?s:a:o&&o in Object(c)?n(c):i(c)}t.exports=l}}),rEe=B({"../../node_modules/lodash/isObject.js"(e,t){function r(n){var i=typeof n;return n!=null&&(i=="object"||i=="function")}t.exports=r}}),nEe=B({"../../node_modules/lodash/isFunction.js"(e,t){var r=hA(),n=rEe(),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",o="[object Proxy]";function l(c){if(!n(c))return!1;var u=r(c);return u==a||u==s||u==i||u==o}t.exports=l}}),Fkt=B({"../../node_modules/lodash/_coreJsData.js"(e,t){var r=Tu(),n=r["__core-js_shared__"];t.exports=n}}),$kt=B({"../../node_modules/lodash/_isMasked.js"(e,t){var r=Fkt(),n=(function(){var a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""})();function i(a){return!!n&&n in a}t.exports=i}}),iEe=B({"../../node_modules/lodash/_toSource.js"(e,t){var r=Function.prototype,n=r.toString;function i(a){if(a!=null){try{return n.call(a)}catch(s){}try{return a+""}catch(s){}}return""}t.exports=i}}),Bkt=B({"../../node_modules/lodash/_baseIsNative.js"(e,t){var r=nEe(),n=$kt(),i=rEe(),a=iEe(),s=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,h=RegExp("^"+u.call(d).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(m){if(!i(m)||n(m))return!1;var g=r(m)?h:o;return g.test(a(m))}t.exports=p}}),Nkt=B({"../../node_modules/lodash/_getValue.js"(e,t){function r(n,i){return n==null?void 0:n[i]}t.exports=r}}),G1=B({"../../node_modules/lodash/_getNative.js"(e,t){var r=Bkt(),n=Nkt();function i(a,s){var o=n(a,s);return r(o)?o:void 0}t.exports=i}}),bG=B({"../../node_modules/lodash/_Map.js"(e,t){var r=G1(),n=Tu(),i=r(n,"Map");t.exports=i}}),fA=B({"../../node_modules/lodash/_nativeCreate.js"(e,t){var r=G1(),n=r(Object,"create");t.exports=n}}),qkt=B({"../../node_modules/lodash/_hashClear.js"(e,t){var r=fA();function n(){this.__data__=r?r(null):{},this.size=0}t.exports=n}}),zkt=B({"../../node_modules/lodash/_hashDelete.js"(e,t){function r(n){var i=this.has(n)&&delete this.__data__[n];return this.size-=i?1:0,i}t.exports=r}}),Wkt=B({"../../node_modules/lodash/_hashGet.js"(e,t){var r=fA(),n="__lodash_hash_undefined__",i=Object.prototype,a=i.hasOwnProperty;function s(o){var l=this.__data__;if(r){var c=l[o];return c===n?void 0:c}return a.call(l,o)?l[o]:void 0}t.exports=s}}),Hkt=B({"../../node_modules/lodash/_hashHas.js"(e,t){var r=fA(),n=Object.prototype,i=n.hasOwnProperty;function a(s){var o=this.__data__;return r?o[s]!==void 0:i.call(o,s)}t.exports=a}}),Ukt=B({"../../node_modules/lodash/_hashSet.js"(e,t){var r=fA(),n="__lodash_hash_undefined__";function i(a,s){var o=this.__data__;return this.size+=this.has(a)?0:1,o[a]=r&&s===void 0?n:s,this}t.exports=i}}),Gkt=B({"../../node_modules/lodash/_Hash.js"(e,t){var r=qkt(),n=zkt(),i=Wkt(),a=Hkt(),s=Ukt();function o(l){var c=-1,u=l==null?0:l.length;for(this.clear();++c<u;){var d=l[c];this.set(d[0],d[1])}}o.prototype.clear=r,o.prototype.delete=n,o.prototype.get=i,o.prototype.has=a,o.prototype.set=s,t.exports=o}}),Vkt=B({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var r=Gkt(),n=pA(),i=bG();function a(){this.size=0,this.__data__={hash:new r,map:new(i||n),string:new r}}t.exports=a}}),Ykt=B({"../../node_modules/lodash/_isKeyable.js"(e,t){function r(n){var i=typeof n;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?n!=="__proto__":n===null}t.exports=r}}),mA=B({"../../node_modules/lodash/_getMapData.js"(e,t){var r=Ykt();function n(i,a){var s=i.__data__;return r(a)?s[typeof a=="string"?"string":"hash"]:s.map}t.exports=n}}),Kkt=B({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){var r=mA();function n(i){var a=r(this,i).delete(i);return this.size-=a?1:0,a}t.exports=n}}),Xkt=B({"../../node_modules/lodash/_mapCacheGet.js"(e,t){var r=mA();function n(i){return r(this,i).get(i)}t.exports=n}}),Qkt=B({"../../node_modules/lodash/_mapCacheHas.js"(e,t){var r=mA();function n(i){return r(this,i).has(i)}t.exports=n}}),Jkt=B({"../../node_modules/lodash/_mapCacheSet.js"(e,t){var r=mA();function n(i,a){var s=r(this,i),o=s.size;return s.set(i,a),this.size+=s.size==o?0:1,this}t.exports=n}}),aEe=B({"../../node_modules/lodash/_MapCache.js"(e,t){var r=Vkt(),n=Kkt(),i=Xkt(),a=Qkt(),s=Jkt();function o(l){var c=-1,u=l==null?0:l.length;for(this.clear();++c<u;){var d=l[c];this.set(d[0],d[1])}}o.prototype.clear=r,o.prototype.delete=n,o.prototype.get=i,o.prototype.has=a,o.prototype.set=s,t.exports=o}}),Zkt=B({"../../node_modules/lodash/_stackSet.js"(e,t){var r=pA(),n=bG(),i=aEe(),a=200;function s(o,l){var c=this.__data__;if(c instanceof r){var u=c.__data__;if(!n||u.length<a-1)return u.push([o,l]),this.size=++c.size,this;c=this.__data__=new i(u)}return c.set(o,l),this.size=c.size,this}t.exports=s}}),eDt=B({"../../node_modules/lodash/_Stack.js"(e,t){var r=pA(),n=Ikt(),i=Okt(),a=Mkt(),s=kkt(),o=Zkt();function l(c){var u=this.__data__=new r(c);this.size=u.size}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=s,l.prototype.set=o,t.exports=l}}),tDt=B({"../../node_modules/lodash/_setCacheAdd.js"(e,t){var r="__lodash_hash_undefined__";function n(i){return this.__data__.set(i,r),this}t.exports=n}}),rDt=B({"../../node_modules/lodash/_setCacheHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),nDt=B({"../../node_modules/lodash/_SetCache.js"(e,t){var r=aEe(),n=tDt(),i=rDt();function a(s){var o=-1,l=s==null?0:s.length;for(this.__data__=new r;++o<l;)this.add(s[o])}a.prototype.add=a.prototype.push=n,a.prototype.has=i,t.exports=a}}),iDt=B({"../../node_modules/lodash/_arraySome.js"(e,t){function r(n,i){for(var a=-1,s=n==null?0:n.length;++a<s;)if(i(n[a],a,n))return!0;return!1}t.exports=r}}),aDt=B({"../../node_modules/lodash/_cacheHas.js"(e,t){function r(n,i){return n.has(i)}t.exports=r}}),sEe=B({"../../node_modules/lodash/_equalArrays.js"(e,t){var r=nDt(),n=iDt(),i=aDt(),a=1,s=2;function o(l,c,u,d,h,p){var m=u&a,g=l.length,b=c.length;if(g!=b&&!(m&&b>g))return!1;var y=p.get(l),v=p.get(c);if(y&&v)return y==c&&v==l;var S=-1,x=!0,w=u&s?new r:void 0;for(p.set(l,c),p.set(c,l);++S<g;){var A=l[S],_=c[S];if(d)var C=m?d(_,A,S,c,l,p):d(A,_,S,l,c,p);if(C!==void 0){if(C)continue;x=!1;break}if(w){if(!n(c,function(E,R){if(!i(w,R)&&(A===E||h(A,E,u,d,p)))return w.push(R)})){x=!1;break}}else if(!(A===_||h(A,_,u,d,p))){x=!1;break}}return p.delete(l),p.delete(c),x}t.exports=o}}),sDt=B({"../../node_modules/lodash/_Uint8Array.js"(e,t){var r=Tu(),n=r.Uint8Array;t.exports=n}}),oDt=B({"../../node_modules/lodash/_mapToArray.js"(e,t){function r(n){var i=-1,a=Array(n.size);return n.forEach(function(s,o){a[++i]=[o,s]}),a}t.exports=r}}),lDt=B({"../../node_modules/lodash/_setToArray.js"(e,t){function r(n){var i=-1,a=Array(n.size);return n.forEach(function(s){a[++i]=s}),a}t.exports=r}}),cDt=B({"../../node_modules/lodash/_equalByTag.js"(e,t){var r=gG(),n=sDt(),i=eEe(),a=sEe(),s=oDt(),o=lDt(),l=1,c=2,u="[object Boolean]",d="[object Date]",h="[object Error]",p="[object Map]",m="[object Number]",g="[object RegExp]",b="[object Set]",y="[object String]",v="[object Symbol]",S="[object ArrayBuffer]",x="[object DataView]",w=r?r.prototype:void 0,A=w?w.valueOf:void 0;function _(C,E,R,P,O,k,I){switch(R){case x:if(C.byteLength!=E.byteLength||C.byteOffset!=E.byteOffset)return!1;C=C.buffer,E=E.buffer;case S:return!(C.byteLength!=E.byteLength||!k(new n(C),new n(E)));case u:case d:case m:return i(+C,+E);case h:return C.name==E.name&&C.message==E.message;case g:case y:return C==E+"";case p:var M=s;case b:var D=P&l;if(M||(M=o),C.size!=E.size&&!D)return!1;var F=I.get(C);if(F)return F==E;P|=c,I.set(C,E);var $=a(M(C),M(E),P,O,k,I);return I.delete(C),$;case v:if(A)return A.call(C)==A.call(E)}return!1}t.exports=_}}),uDt=B({"../../node_modules/lodash/_arrayPush.js"(e,t){function r(n,i){for(var a=-1,s=i.length,o=n.length;++a<s;)n[o+a]=i[a];return n}t.exports=r}}),yG=B({"../../node_modules/lodash/isArray.js"(e,t){var r=Array.isArray;t.exports=r}}),dDt=B({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var r=uDt(),n=yG();function i(a,s,o){var l=s(a);return n(a)?l:r(l,o(a))}t.exports=i}}),pDt=B({"../../node_modules/lodash/_arrayFilter.js"(e,t){function r(n,i){for(var a=-1,s=n==null?0:n.length,o=0,l=[];++a<s;){var c=n[a];i(c,a,n)&&(l[o++]=c)}return l}t.exports=r}}),hDt=B({"../../node_modules/lodash/stubArray.js"(e,t){function r(){return[]}t.exports=r}}),fDt=B({"../../node_modules/lodash/_getSymbols.js"(e,t){var r=pDt(),n=hDt(),i=Object.prototype,a=i.propertyIsEnumerable,s=Object.getOwnPropertySymbols,o=s?function(l){return l==null?[]:(l=Object(l),r(s(l),function(c){return a.call(l,c)}))}:n;t.exports=o}}),mDt=B({"../../node_modules/lodash/_baseTimes.js"(e,t){function r(n,i){for(var a=-1,s=Array(n);++a<n;)s[a]=i(a);return s}t.exports=r}}),gA=B({"../../node_modules/lodash/isObjectLike.js"(e,t){function r(n){return n!=null&&typeof n=="object"}t.exports=r}}),gDt=B({"../../node_modules/lodash/_baseIsArguments.js"(e,t){var r=hA(),n=gA(),i="[object Arguments]";function a(s){return n(s)&&r(s)==i}t.exports=a}}),bDt=B({"../../node_modules/lodash/isArguments.js"(e,t){var r=gDt(),n=gA(),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,o=r((function(){return arguments})())?r:function(l){return n(l)&&a.call(l,"callee")&&!s.call(l,"callee")};t.exports=o}}),yDt=B({"../../node_modules/lodash/stubFalse.js"(e,t){function r(){return!1}t.exports=r}}),oEe=B({"../../node_modules/lodash/isBuffer.js"(e,t){var r=Tu(),n=yDt(),i=typeof e=="object"&&e&&!e.nodeType&&e,a=i&&typeof t=="object"&&t&&!t.nodeType&&t,s=a&&a.exports===i,o=s?r.Buffer:void 0,l=o?o.isBuffer:void 0,c=l||n;t.exports=c}}),vDt=B({"../../node_modules/lodash/_isIndex.js"(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function i(a,s){var o=typeof a;return s=s!=null?s:r,!!s&&(o=="number"||o!="symbol"&&n.test(a))&&a>-1&&a%1==0&&a<s}t.exports=i}}),lEe=B({"../../node_modules/lodash/isLength.js"(e,t){var r=9007199254740991;function n(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=r}t.exports=n}}),TDt=B({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var r=hA(),n=lEe(),i=gA(),a="[object Arguments]",s="[object Array]",o="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",h="[object Number]",p="[object Object]",m="[object RegExp]",g="[object Set]",b="[object String]",y="[object WeakMap]",v="[object ArrayBuffer]",S="[object DataView]",x="[object Float32Array]",w="[object Float64Array]",A="[object Int8Array]",_="[object Int16Array]",C="[object Int32Array]",E="[object Uint8Array]",R="[object Uint8ClampedArray]",P="[object Uint16Array]",O="[object Uint32Array]",k={};k[x]=k[w]=k[A]=k[_]=k[C]=k[E]=k[R]=k[P]=k[O]=!0,k[a]=k[s]=k[v]=k[o]=k[S]=k[l]=k[c]=k[u]=k[d]=k[h]=k[p]=k[m]=k[g]=k[b]=k[y]=!1;function I(M){return i(M)&&n(M.length)&&!!k[r(M)]}t.exports=I}}),SDt=B({"../../node_modules/lodash/_baseUnary.js"(e,t){function r(n){return function(i){return n(i)}}t.exports=r}}),xDt=B({"../../node_modules/lodash/_nodeUtil.js"(e,t){var r=tEe(),n=typeof e=="object"&&e&&!e.nodeType&&e,i=n&&typeof t=="object"&&t&&!t.nodeType&&t,a=i&&i.exports===n,s=a&&r.process,o=(function(){try{var l=i&&i.require&&i.require("util").types;return l||s&&s.binding&&s.binding("util")}catch(c){}})();t.exports=o}}),cEe=B({"../../node_modules/lodash/isTypedArray.js"(e,t){var r=TDt(),n=SDt(),i=xDt(),a=i&&i.isTypedArray,s=a?n(a):r;t.exports=s}}),wDt=B({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=mDt(),n=bDt(),i=yG(),a=oEe(),s=vDt(),o=cEe(),l=Object.prototype,c=l.hasOwnProperty;function u(d,h){var p=i(d),m=!p&&n(d),g=!p&&!m&&a(d),b=!p&&!m&&!g&&o(d),y=p||m||g||b,v=y?r(d.length,String):[],S=v.length;for(var x in d)(h||c.call(d,x))&&!(y&&(x=="length"||g&&(x=="offset"||x=="parent")||b&&(x=="buffer"||x=="byteLength"||x=="byteOffset")||s(x,S)))&&v.push(x);return v}t.exports=u}}),_Dt=B({"../../node_modules/lodash/_isPrototype.js"(e,t){var r=Object.prototype;function n(i){var a=i&&i.constructor,s=typeof a=="function"&&a.prototype||r;return i===s}t.exports=n}}),ADt=B({"../../node_modules/lodash/_overArg.js"(e,t){function r(n,i){return function(a){return n(i(a))}}t.exports=r}}),CDt=B({"../../node_modules/lodash/_nativeKeys.js"(e,t){var r=ADt(),n=r(Object.keys,Object);t.exports=n}}),EDt=B({"../../node_modules/lodash/_baseKeys.js"(e,t){var r=_Dt(),n=CDt(),i=Object.prototype,a=i.hasOwnProperty;function s(o){if(!r(o))return n(o);var l=[];for(var c in Object(o))a.call(o,c)&&c!="constructor"&&l.push(c);return l}t.exports=s}}),PDt=B({"../../node_modules/lodash/isArrayLike.js"(e,t){var r=nEe(),n=lEe();function i(a){return a!=null&&n(a.length)&&!r(a)}t.exports=i}}),jDt=B({"../../node_modules/lodash/keys.js"(e,t){var r=wDt(),n=EDt(),i=PDt();function a(s){return i(s)?r(s):n(s)}t.exports=a}}),RDt=B({"../../node_modules/lodash/_getAllKeys.js"(e,t){var r=dDt(),n=fDt(),i=jDt();function a(s){return r(s,i,n)}t.exports=a}}),IDt=B({"../../node_modules/lodash/_equalObjects.js"(e,t){var r=RDt(),n=1,i=Object.prototype,a=i.hasOwnProperty;function s(o,l,c,u,d,h){var p=c&n,m=r(o),g=m.length,b=r(l),y=b.length;if(g!=y&&!p)return!1;for(var v=g;v--;){var S=m[v];if(!(p?S in l:a.call(l,S)))return!1}var x=h.get(o),w=h.get(l);if(x&&w)return x==l&&w==o;var A=!0;h.set(o,l),h.set(l,o);for(var _=p;++v<g;){S=m[v];var C=o[S],E=l[S];if(u)var R=p?u(E,C,S,l,o,h):u(C,E,S,o,l,h);if(!(R===void 0?C===E||d(C,E,c,u,h):R)){A=!1;break}_||(_=S=="constructor")}if(A&&!_){var P=o.constructor,O=l.constructor;P!=O&&"constructor"in o&&"constructor"in l&&!(typeof P=="function"&&P instanceof P&&typeof O=="function"&&O instanceof O)&&(A=!1)}return h.delete(o),h.delete(l),A}t.exports=s}}),ODt=B({"../../node_modules/lodash/_DataView.js"(e,t){var r=G1(),n=Tu(),i=r(n,"DataView");t.exports=i}}),MDt=B({"../../node_modules/lodash/_Promise.js"(e,t){var r=G1(),n=Tu(),i=r(n,"Promise");t.exports=i}}),kDt=B({"../../node_modules/lodash/_Set.js"(e,t){var r=G1(),n=Tu(),i=r(n,"Set");t.exports=i}}),DDt=B({"../../node_modules/lodash/_WeakMap.js"(e,t){var r=G1(),n=Tu(),i=r(n,"WeakMap");t.exports=i}}),LDt=B({"../../node_modules/lodash/_getTag.js"(e,t){var r=ODt(),n=bG(),i=MDt(),a=kDt(),s=DDt(),o=hA(),l=iEe(),c="[object Map]",u="[object Object]",d="[object Promise]",h="[object Set]",p="[object WeakMap]",m="[object DataView]",g=l(r),b=l(n),y=l(i),v=l(a),S=l(s),x=o;(r&&x(new r(new ArrayBuffer(1)))!=m||n&&x(new n)!=c||i&&x(i.resolve())!=d||a&&x(new a)!=h||s&&x(new s)!=p)&&(x=function(w){var A=o(w),_=A==u?w.constructor:void 0,C=_?l(_):"";if(C)switch(C){case g:return m;case b:return c;case y:return d;case v:return h;case S:return p}return A}),t.exports=x}}),FDt=B({"../../node_modules/lodash/_baseIsEqualDeep.js"(e,t){var r=eDt(),n=sEe(),i=cDt(),a=IDt(),s=LDt(),o=yG(),l=oEe(),c=cEe(),u=1,d="[object Arguments]",h="[object Array]",p="[object Object]",m=Object.prototype,g=m.hasOwnProperty;function b(y,v,S,x,w,A){var _=o(y),C=o(v),E=_?h:s(y),R=C?h:s(v);E=E==d?p:E,R=R==d?p:R;var P=E==p,O=R==p,k=E==R;if(k&&l(y)){if(!l(v))return!1;_=!0,P=!1}if(k&&!P)return A||(A=new r),_||c(y)?n(y,v,S,x,w,A):i(y,v,E,S,x,w,A);if(!(S&u)){var I=P&&g.call(y,"__wrapped__"),M=O&&g.call(v,"__wrapped__");if(I||M){var D=I?y.value():y,F=M?v.value():v;return A||(A=new r),w(D,F,S,x,A)}}return k?(A||(A=new r),a(y,v,S,x,w,A)):!1}t.exports=b}}),$Dt=B({"../../node_modules/lodash/_baseIsEqual.js"(e,t){var r=FDt(),n=gA();function i(a,s,o,l,c){return a===s?!0:a==null||s==null||!n(a)&&!n(s)?a!==a&&s!==s:r(a,s,o,l,i,c)}t.exports=i}}),uEe=B({"../../node_modules/lodash/isEqualWith.js"(e,t){var r=$Dt();function n(i,a,s){s=typeof s=="function"?s:void 0;var o=s?s(i,a):void 0;return o===void 0?r(i,a,void 0,s):!!o}t.exports=n}}),dEe=B({"../../node_modules/css.escape/css.escape.js"(e,t){(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=function(i){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var a=String(i),s=a.length,o=-1,l,c="",u=a.charCodeAt(0);++o<s;){if(l=a.charCodeAt(o),l==0){c+="<22>";continue}if(l>=1&&l<=31||l==127||o==0&&l>=48&&l<=57||o==1&&l>=48&&l<=57&&u==45){c+="\\"+l.toString(16)+" ";continue}if(o==0&&s==1&&l==45){c+="\\"+a.charAt(o);continue}if(l>=128||l==45||l==95||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122){c+=a.charAt(o);continue}c+="\\"+a.charAt(o)}return c};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),pEe=B({"../../node_modules/@testing-library/dom/node_modules/ansi-styles/index.js"(e,t){var r=(a=0)=>s=>`\x1B[${38+a};5;${s}m`,n=(a=0)=>(s,o,l)=>`\x1B[${38+a};2;${s};${o};${l}m`;function i(){let a=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(let[o,l]of Object.entries(s)){for(let[c,u]of Object.entries(l))s[c]={open:`\x1B[${u[0]}m`,close:`\x1B[${u[1]}m`},l[c]=s[c],a.set(u[0],u[1]);Object.defineProperty(s,o,{value:l,enumerable:!1})}return Object.defineProperty(s,"codes",{value:a,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=r(),s.color.ansi16m=n(),s.bgColor.ansi256=r(10),s.bgColor.ansi16m=n(10),Object.defineProperties(s,{rgbToAnsi256:{value:(o,l,c)=>o===l&&l===c?o<8?16:o>248?231:Math.round((o-8)/247*24)+232:16+36*Math.round(o/255*5)+6*Math.round(l/255*5)+Math.round(c/255*5),enumerable:!1},hexToRgb:{value:o=>{let l=new RegExp("(?<colorString>[a-f\\d]{6}|[a-f\\d]{3})","i").exec(o.toString(16));if(!l)return[0,0,0];let{colorString:c}=l.groups;c.length===3&&(c=c.split("").map(d=>d+d).join(""));let u=Number.parseInt(c,16);return[u>>16&255,u>>8&255,u&255]},enumerable:!1},hexToAnsi256:{value:o=>s.rgbToAnsi256(...s.hexToRgb(o)),enumerable:!1}}),s}Object.defineProperty(t,"exports",{enumerable:!0,get:i})}}),bA=B({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=i,e.printObjectProperties=a;var t=(s,o)=>{let l=Object.keys(s).sort(o);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(s).forEach(c=>{Object.getOwnPropertyDescriptor(s,c).enumerable&&l.push(c)}),l};function r(s,o,l,c,u,d,h=": "){let p="",m=s.next();if(!m.done){p+=o.spacingOuter;let g=l+o.indent;for(;!m.done;){let b=d(m.value[0],o,g,c,u),y=d(m.value[1],o,g,c,u);p+=g+b+h+y,m=s.next(),m.done?o.min||(p+=","):p+=","+o.spacingInner}p+=o.spacingOuter+l}return p}function n(s,o,l,c,u,d){let h="",p=s.next();if(!p.done){h+=o.spacingOuter;let m=l+o.indent;for(;!p.done;)h+=m+d(p.value,o,m,c,u),p=s.next(),p.done?o.min||(h+=","):h+=","+o.spacingInner;h+=o.spacingOuter+l}return h}function i(s,o,l,c,u,d){let h="";if(s.length){h+=o.spacingOuter;let p=l+o.indent;for(let m=0;m<s.length;m++)h+=p,m in s&&(h+=d(s[m],o,p,c,u)),m<s.length-1?h+=","+o.spacingInner:o.min||(h+=",");h+=o.spacingOuter+l}return h}function a(s,o,l,c,u,d){let h="",p=t(s,o.compareKeys);if(p.length){h+=o.spacingOuter;let m=l+o.indent;for(let g=0;g<p.length;g++){let b=p[g],y=d(b,o,m,c,u),v=d(s[b],o,m,c,u);h+=m+y+": "+v,g<p.length-1?h+=","+o.spacingInner:o.min||(h+=",")}h+=o.spacingOuter+l}return h}}}),BDt=B({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=bA(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,i=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,a=" ",s=(u,d,h,p,m,g)=>{let b=u.toString();return b==="ArrayContaining"||b==="ArrayNotContaining"?++p>d.maxDepth?"["+b+"]":b+a+"["+(0,t.printListItems)(u.sample,d,h,p,m,g)+"]":b==="ObjectContaining"||b==="ObjectNotContaining"?++p>d.maxDepth?"["+b+"]":b+a+"{"+(0,t.printObjectProperties)(u.sample,d,h,p,m,g)+"}":b==="StringMatching"||b==="StringNotMatching"||b==="StringContaining"||b==="StringNotContaining"?b+a+g(u.sample,d,h,p,m):u.toAsymmetricMatcher()};e.serialize=s;var o=u=>u&&u.$$typeof===i;e.test=o;var l={serialize:s,test:o},c=l;e.default=c}}),NDt=B({"../../node_modules/@testing-library/dom/node_modules/ansi-regex/index.js"(e,t){t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}}),qDt=B({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(NDt()),r=n(pEe());function n(c){return c&&c.__esModule?c:{default:c}}var i=c=>c.replace((0,t.default)(),u=>{switch(u){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),a=c=>typeof c=="string"&&!!c.match((0,t.default)());e.test=a;var s=(c,u,d,h,p,m)=>m(i(c),u,d,h,p);e.serialize=s;var o={serialize:s,test:a},l=o;e.default=l}}),zDt=B({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=bA(),r=" ",n=["DOMStringMap","NamedNodeMap"],i=/^(HTML\w*Collection|NodeList)$/,a=d=>n.indexOf(d)!==-1||i.test(d),s=d=>d&&d.constructor&&!!d.constructor.name&&a(d.constructor.name);e.test=s;var o=d=>d.constructor.name==="NamedNodeMap",l=(d,h,p,m,g,b)=>{let y=d.constructor.name;return++m>h.maxDepth?"["+y+"]":(h.min?"":y+r)+(n.indexOf(y)!==-1?"{"+(0,t.printObjectProperties)(o(d)?Array.from(d).reduce((v,S)=>(v[S.name]=S.value,v),{}):{...d},h,p,m,g,b)+"}":"["+(0,t.printListItems)(Array.from(d),h,p,m,g,b)+"]")};e.serialize=l;var c={serialize:l,test:s},u=c;e.default=u}}),WDt=B({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"&lt;").replace(/>/g,"&gt;")}}}),vG=B({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(WDt());function r(c){return c&&c.__esModule?c:{default:c}}var n=(c,u,d,h,p,m,g)=>{let b=h+d.indent,y=d.colors;return c.map(v=>{let S=u[v],x=g(S,d,b,p,m);return typeof S!="string"&&(x.indexOf(`
`)!==-1&&(x=d.spacingOuter+b+x+d.spacingOuter+h),x="{"+x+"}"),d.spacingInner+h+y.prop.open+v+y.prop.close+"="+y.value.open+x+y.value.close}).join("")};e.printProps=n;var i=(c,u,d,h,p,m)=>c.map(g=>u.spacingOuter+d+(typeof g=="string"?a(g,u):m(g,u,d,h,p))).join("");e.printChildren=i;var a=(c,u)=>{let d=u.colors.content;return d.open+(0,t.default)(c)+d.close};e.printText=a;var s=(c,u)=>{let d=u.colors.comment;return d.open+"<!--"+(0,t.default)(c)+"-->"+d.close};e.printComment=s;var o=(c,u,d,h,p)=>{let m=h.colors.tag;return m.open+"<"+c+(u&&m.close+u+h.spacingOuter+p+m.open)+(d?">"+m.close+d+h.spacingOuter+p+m.open+"</"+c:(u&&!h.min?"":" ")+"/")+">"+m.close};e.printElement=o;var l=(c,u)=>{let d=u.colors.tag;return d.open+"<"+c+d.close+" …"+d.open+" />"+d.close};e.printElementAsLeaf=l}}),HDt=B({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=vG(),r=1,n=3,i=8,a=11,s=/^((HTML|SVG)\w*)?Element$/,o=b=>{try{return typeof b.hasAttribute=="function"&&b.hasAttribute("is")}catch(y){return!1}},l=b=>{let y=b.constructor.name,{nodeType:v,tagName:S}=b,x=typeof S=="string"&&S.includes("-")||o(b);return v===r&&(s.test(y)||x)||v===n&&y==="Text"||v===i&&y==="Comment"||v===a&&y==="DocumentFragment"},c=b=>{var y;return(b==null||(y=b.constructor)===null||y===void 0?void 0:y.name)&&l(b)};e.test=c;function u(b){return b.nodeType===n}function d(b){return b.nodeType===i}function h(b){return b.nodeType===a}var p=(b,y,v,S,x,w)=>{if(u(b))return(0,t.printText)(b.data,y);if(d(b))return(0,t.printComment)(b.data,y);let A=h(b)?"DocumentFragment":b.tagName.toLowerCase();return++S>y.maxDepth?(0,t.printElementAsLeaf)(A,y):(0,t.printElement)(A,(0,t.printProps)(h(b)?[]:Array.from(b.attributes).map(_=>_.name).sort(),h(b)?{}:Array.from(b.attributes).reduce((_,C)=>(_[C.name]=C.value,_),{}),y,v+y.indent,S,x,w),(0,t.printChildren)(Array.prototype.slice.call(b.childNodes||b.children),y,v+y.indent,S,x,w),y,v)};e.serialize=p;var m={serialize:p,test:c},g=m;e.default=g}}),UDt=B({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=bA(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",i="@@__IMMUTABLE_KEYED__@@",a="@@__IMMUTABLE_MAP__@@",s="@@__IMMUTABLE_ORDERED__@@",o="@@__IMMUTABLE_RECORD__@@",l="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",u="@@__IMMUTABLE_STACK__@@",d=C=>"Immutable."+C,h=C=>"["+C+"]",p=" ",m="…",g=(C,E,R,P,O,k,I)=>++P>E.maxDepth?h(d(I)):d(I)+p+"{"+(0,t.printIteratorEntries)(C.entries(),E,R,P,O,k)+"}";function b(C){let E=0;return{next(){if(E<C._keys.length){let R=C._keys[E++];return{done:!1,value:[R,C.get(R)]}}return{done:!0,value:void 0}}}}var y=(C,E,R,P,O,k)=>{let I=d(C._name||"Record");return++P>E.maxDepth?h(I):I+p+"{"+(0,t.printIteratorEntries)(b(C),E,R,P,O,k)+"}"},v=(C,E,R,P,O,k)=>{let I=d("Seq");return++P>E.maxDepth?h(I):C[i]?I+p+"{"+(C._iter||C._object?(0,t.printIteratorEntries)(C.entries(),E,R,P,O,k):m)+"}":I+p+"["+(C._iter||C._array||C._collection||C._iterable?(0,t.printIteratorValues)(C.values(),E,R,P,O,k):m)+"]"},S=(C,E,R,P,O,k,I)=>++P>E.maxDepth?h(d(I)):d(I)+p+"["+(0,t.printIteratorValues)(C.values(),E,R,P,O,k)+"]",x=(C,E,R,P,O,k)=>C[a]?g(C,E,R,P,O,k,C[s]?"OrderedMap":"Map"):C[n]?S(C,E,R,P,O,k,"List"):C[c]?S(C,E,R,P,O,k,C[s]?"OrderedSet":"Set"):C[u]?S(C,E,R,P,O,k,"Stack"):C[l]?v(C,E,R,P,O,k):y(C,E,R,P,O,k);e.serialize=x;var w=C=>C&&(C[r]===!0||C[o]===!0);e.test=w;var A={serialize:x,test:w},_=A;e.default=_}}),GDt=B({"../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=60103,r=60106,n=60107,i=60108,a=60114,s=60109,o=60110,l=60112,c=60113,u=60120,d=60115,h=60116,p=60121,m=60122,g=60117,b=60129,y=60131;typeof Symbol=="function"&&Symbol.for&&(v=Symbol.for,t=v("react.element"),r=v("react.portal"),n=v("react.fragment"),i=v("react.strict_mode"),a=v("react.profiler"),s=v("react.provider"),o=v("react.context"),l=v("react.forward_ref"),c=v("react.suspense"),u=v("react.suspense_list"),d=v("react.memo"),h=v("react.lazy"),p=v("react.block"),m=v("react.server.block"),g=v("react.fundamental"),b=v("react.debug_trace_mode"),y=v("react.legacy_hidden"));var v;function S(I){if(typeof I=="object"&&I!==null){var M=I.$$typeof;switch(M){case t:switch(I=I.type,I){case n:case a:case i:case c:case u:return I;default:switch(I=I&&I.$$typeof,I){case o:case l:case h:case d:case s:return I;default:return M}}case r:return M}}}var x=s,w=t,A=l,_=n,C=h,E=d,R=r,P=a,O=i,k=c;e.ContextConsumer=o,e.ContextProvider=x,e.Element=w,e.ForwardRef=A,e.Fragment=_,e.Lazy=C,e.Memo=E,e.Portal=R,e.Profiler=P,e.StrictMode=O,e.Suspense=k,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(I){return S(I)===o},e.isContextProvider=function(I){return S(I)===s},e.isElement=function(I){return typeof I=="object"&&I!==null&&I.$$typeof===t},e.isForwardRef=function(I){return S(I)===l},e.isFragment=function(I){return S(I)===n},e.isLazy=function(I){return S(I)===h},e.isMemo=function(I){return S(I)===d},e.isPortal=function(I){return S(I)===r},e.isProfiler=function(I){return S(I)===a},e.isStrictMode=function(I){return S(I)===i},e.isSuspense=function(I){return S(I)===c},e.isValidElementType=function(I){return typeof I=="string"||typeof I=="function"||I===n||I===a||I===b||I===i||I===c||I===u||I===y||typeof I=="object"&&I!==null&&(I.$$typeof===h||I.$$typeof===d||I.$$typeof===s||I.$$typeof===o||I.$$typeof===l||I.$$typeof===g||I.$$typeof===p||I[0]===m)},e.typeOf=S}}),VDt=B({"../../node_modules/@testing-library/dom/node_modules/react-is/index.js"(e,t){t.exports=GDt()}}),YDt=B({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=i(VDt()),r=vG();function n(h){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return(n=function(g){return g?m:p})(h)}function i(h,p){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var m=n(p);if(m&&m.has(h))return m.get(h);var g={},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in h)if(y!=="default"&&Object.prototype.hasOwnProperty.call(h,y)){var v=b?Object.getOwnPropertyDescriptor(h,y):null;v&&(v.get||v.set)?Object.defineProperty(g,y,v):g[y]=h[y]}return g.default=h,m&&m.set(h,g),g}var a=(h,p=[])=>(Array.isArray(h)?h.forEach(m=>{a(m,p)}):h!=null&&h!==!1&&p.push(h),p),s=h=>{let p=h.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(h))return"React.Fragment";if(t.isSuspense(h))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(h))return"Context.Provider";if(t.isContextConsumer(h))return"Context.Consumer";if(t.isForwardRef(h)){if(p.displayName)return p.displayName;let m=p.render.displayName||p.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(h)){let m=p.displayName||p.type.displayName||p.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},o=h=>{let{props:p}=h;return Object.keys(p).filter(m=>m!=="children"&&p[m]!==void 0).sort()},l=(h,p,m,g,b,y)=>++g>p.maxDepth?(0,r.printElementAsLeaf)(s(h),p):(0,r.printElement)(s(h),(0,r.printProps)(o(h),h.props,p,m+p.indent,g,b,y),(0,r.printChildren)(a(h.props.children),p,m+p.indent,g,b,y),p,m);e.serialize=l;var c=h=>h!=null&&t.isElement(h);e.test=c;var u={serialize:l,test:c},d=u;e.default=d}}),KDt=B({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=vG(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,i=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,a=u=>{let{props:d}=u;return d?Object.keys(d).filter(h=>d[h]!==void 0).sort():[]},s=(u,d,h,p,m,g)=>++p>d.maxDepth?(0,t.printElementAsLeaf)(u.type,d):(0,t.printElement)(u.type,u.props?(0,t.printProps)(a(u),u.props,d,h+d.indent,p,m,g):"",u.children?(0,t.printChildren)(u.children,d,h+d.indent,p,m,g):"",d,h);e.serialize=s;var o=u=>u&&u.$$typeof===i;e.test=o;var l={serialize:s,test:o},c=l;e.default=c}}),XDt=B({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=we,e.plugins=void 0;var t=u(pEe()),r=bA(),n=u(BDt()),i=u(qDt()),a=u(zDt()),s=u(HDt()),o=u(UDt()),l=u(YDt()),c=u(KDt());function u(oe){return oe&&oe.__esModule?oe:{default:oe}}var d=Object.prototype.toString,h=Date.prototype.toISOString,p=Error.prototype.toString,m=RegExp.prototype.toString,g=oe=>typeof oe.constructor=="function"&&oe.constructor.name||"Object",b=oe=>typeof window<"u"&&oe===window,y=/^Symbol\((.*)\)(.*)$/,v=/\n/gi,S=class extends Error{constructor(oe,X){super(oe),this.stack=X,this.name=this.constructor.name}};function x(oe){return oe==="[object Array]"||oe==="[object ArrayBuffer]"||oe==="[object DataView]"||oe==="[object Float32Array]"||oe==="[object Float64Array]"||oe==="[object Int8Array]"||oe==="[object Int16Array]"||oe==="[object Int32Array]"||oe==="[object Uint8Array]"||oe==="[object Uint8ClampedArray]"||oe==="[object Uint16Array]"||oe==="[object Uint32Array]"}function w(oe){return Object.is(oe,-0)?"-0":String(oe)}function A(oe){return`${oe}n`}function _(oe,X){return X?"[Function "+(oe.name||"anonymous")+"]":"[Function]"}function C(oe){return String(oe).replace(y,"Symbol($1)")}function E(oe){return"["+p.call(oe)+"]"}function R(oe,X,se,Ce){if(oe===!0||oe===!1)return""+oe;if(oe===void 0)return"undefined";if(oe===null)return"null";let ce=typeof oe;if(ce==="number")return w(oe);if(ce==="bigint")return A(oe);if(ce==="string")return Ce?'"'+oe.replace(/"|\\/g,"\\$&")+'"':'"'+oe+'"';if(ce==="function")return _(oe,X);if(ce==="symbol")return C(oe);let le=d.call(oe);return le==="[object WeakMap]"?"WeakMap {}":le==="[object WeakSet]"?"WeakSet {}":le==="[object Function]"||le==="[object GeneratorFunction]"?_(oe,X):le==="[object Symbol]"?C(oe):le==="[object Date]"?isNaN(+oe)?"Date { NaN }":h.call(oe):le==="[object Error]"?E(oe):le==="[object RegExp]"?se?m.call(oe).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(oe):oe instanceof Error?E(oe):null}function P(oe,X,se,Ce,ce,le){if(ce.indexOf(oe)!==-1)return"[Circular]";ce=ce.slice(),ce.push(oe);let Te=++Ce>X.maxDepth,be=X.min;if(X.callToJSON&&!Te&&oe.toJSON&&typeof oe.toJSON=="function"&&!le)return M(oe.toJSON(),X,se,Ce,ce,!0);let ze=d.call(oe);return ze==="[object Arguments]"?Te?"[Arguments]":(be?"":"Arguments ")+"["+(0,r.printListItems)(oe,X,se,Ce,ce,M)+"]":x(ze)?Te?"["+oe.constructor.name+"]":(be||!X.printBasicPrototype&&oe.constructor.name==="Array"?"":oe.constructor.name+" ")+"["+(0,r.printListItems)(oe,X,se,Ce,ce,M)+"]":ze==="[object Map]"?Te?"[Map]":"Map {"+(0,r.printIteratorEntries)(oe.entries(),X,se,Ce,ce,M," => ")+"}":ze==="[object Set]"?Te?"[Set]":"Set {"+(0,r.printIteratorValues)(oe.values(),X,se,Ce,ce,M)+"}":Te||b(oe)?"["+g(oe)+"]":(be||!X.printBasicPrototype&&g(oe)==="Object"?"":g(oe)+" ")+"{"+(0,r.printObjectProperties)(oe,X,se,Ce,ce,M)+"}"}function O(oe){return oe.serialize!=null}function k(oe,X,se,Ce,ce,le){let Te;try{Te=O(oe)?oe.serialize(X,se,Ce,ce,le,M):oe.print(X,be=>M(be,se,Ce,ce,le),be=>{let ze=Ce+se.indent;return ze+be.replace(v,`
`+ze)},{edgeSpacing:se.spacingOuter,min:se.min,spacing:se.spacingInner},se.colors)}catch(be){throw new S(be.message,be.stack)}if(typeof Te!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof Te}".`);return Te}function I(oe,X){for(let se=0;se<oe.length;se++)try{if(oe[se].test(X))return oe[se]}catch(Ce){throw new S(Ce.message,Ce.stack)}return null}function M(oe,X,se,Ce,ce,le){let Te=I(X.plugins,oe);if(Te!==null)return k(Te,oe,X,se,Ce,ce);let be=R(oe,X.printFunctionName,X.escapeRegex,X.escapeString);return be!==null?be:P(oe,X,se,Ce,ce,le)}var D={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},F=Object.keys(D),$={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:D};e.DEFAULT_OPTIONS=$;function Y(oe){if(Object.keys(oe).forEach(X=>{if(!$.hasOwnProperty(X))throw new Error(`pretty-format: Unknown option "${X}".`)}),oe.min&&oe.indent!==void 0&&oe.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(oe.theme!==void 0){if(oe.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof oe.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof oe.theme}".`)}}var he=oe=>F.reduce((X,se)=>{let Ce=oe.theme&&oe.theme[se]!==void 0?oe.theme[se]:D[se],ce=Ce&&t.default[Ce];if(ce&&typeof ce.close=="string"&&typeof ce.open=="string")X[se]=ce;else throw new Error(`pretty-format: Option "theme" has a key "${se}" whose value "${Ce}" is undefined in ansi-styles.`);return X},Object.create(null)),fe=()=>F.reduce((oe,X)=>(oe[X]={close:"",open:""},oe),Object.create(null)),U=oe=>oe&&oe.printFunctionName!==void 0?oe.printFunctionName:$.printFunctionName,W=oe=>oe&&oe.escapeRegex!==void 0?oe.escapeRegex:$.escapeRegex,H=oe=>oe&&oe.escapeString!==void 0?oe.escapeString:$.escapeString,ie=oe=>{var X;return{callToJSON:oe&&oe.callToJSON!==void 0?oe.callToJSON:$.callToJSON,colors:oe&&oe.highlight?he(oe):fe(),compareKeys:oe&&typeof oe.compareKeys=="function"?oe.compareKeys:$.compareKeys,escapeRegex:W(oe),escapeString:H(oe),indent:oe&&oe.min?"":J(oe&&oe.indent!==void 0?oe.indent:$.indent),maxDepth:oe&&oe.maxDepth!==void 0?oe.maxDepth:$.maxDepth,min:oe&&oe.min!==void 0?oe.min:$.min,plugins:oe&&oe.plugins!==void 0?oe.plugins:$.plugins,printBasicPrototype:(X=oe==null?void 0:oe.printBasicPrototype)!==null&&X!==void 0?X:!0,printFunctionName:U(oe),spacingInner:oe&&oe.min?" ":`
`,spacingOuter:oe&&oe.min?"":`
`}};function J(oe){return new Array(oe+1).join(" ")}function we(oe,X){if(X&&(Y(X),X.plugins)){let Ce=I(X.plugins,oe);if(Ce!==null)return k(Ce,oe,ie(X),"",0,[])}let se=R(oe,U(X),W(X),H(X));return se!==null?se:P(oe,ie(X),"",0,[])}var Le={AsymmetricMatcher:n.default,ConvertAnsi:i.default,DOMCollection:a.default,DOMElement:s.default,Immutable:o.default,ReactElement:l.default,ReactTestComponent:c.default};e.plugins=Le;var Ye=we;e.default=Ye}}),QDt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,i=0,a={"@@iterator":function(){return a},next:function(){if(i<n.length){var s=n[i];return i=i+1,{done:!1,value:s}}else return{done:!0}}};return a}var r=t;e.default=r}}),s2=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=r(QDt());function r(a){return a&&a.__esModule?a:{default:a}}function n(a){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(a)}function i(a,s){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(a,Symbol.iterator,{value:t.default.bind(s)}),a}}}),JDt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(s2());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,m){return s(p)||a(p,m)||l(p,m)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(p,m){var g=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(g!=null){var b=[],y=!0,v=!1,S,x;try{for(g=g.call(p);!(y=(S=g.next()).done)&&(b.push(S.value),!(m&&b.length===m));y=!0);}catch(w){v=!0,x=w}finally{try{!y&&g.return!=null&&g.return()}finally{if(v)throw x}}return b}}function s(p){if(Array.isArray(p))return p}function o(p,m){var g=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!g){if(Array.isArray(p)||(g=l(p))||m){g&&(p=g);var b=0,y=function(){};return{s:y,n:function(){return b>=p.length?{done:!0}:{done:!1,value:p[b++]}},e:function(w){throw w},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,S=!1,x;return{s:function(){g=g.call(p)},n:function(){var w=g.next();return v=w.done,w},e:function(w){S=!0,x=w},f:function(){try{!v&&g.return!=null&&g.return()}finally{if(S)throw x}}}}function l(p,m){if(p){if(typeof p=="string")return c(p,m);var g=Object.prototype.toString.call(p).slice(8,-1);if(g==="Object"&&p.constructor&&(g=p.constructor.name),g==="Map"||g==="Set")return Array.from(p);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return c(p,m)}}function c(p,m){(m==null||m>p.length)&&(m=p.length);for(var g=0,b=new Array(m);g<m;g++)b[g]=p[g];return b}var u=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],d={entries:function(){return u},forEach:function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,g=o(u),b;try{for(g.s();!(b=g.n()).done;){var y=n(b.value,2),v=y[0],S=y[1];p.call(m,S,v,u)}}catch(x){g.e(x)}finally{g.f()}},get:function(p){var m=u.find(function(g){return g[0]===p});return m&&m[1]},has:function(p){return!!d.get(p)},keys:function(){return u.map(function(p){var m=n(p,1),g=m[0];return g})},values:function(){return u.map(function(p){var m=n(p,2),g=m[1];return g})}},h=(0,t.default)(d,d.entries());e.default=h}}),ZDt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(s2());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,m){return s(p)||a(p,m)||l(p,m)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(p,m){var g=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(g!=null){var b=[],y=!0,v=!1,S,x;try{for(g=g.call(p);!(y=(S=g.next()).done)&&(b.push(S.value),!(m&&b.length===m));y=!0);}catch(w){v=!0,x=w}finally{try{!y&&g.return!=null&&g.return()}finally{if(v)throw x}}return b}}function s(p){if(Array.isArray(p))return p}function o(p,m){var g=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!g){if(Array.isArray(p)||(g=l(p))||m){g&&(p=g);var b=0,y=function(){};return{s:y,n:function(){return b>=p.length?{done:!0}:{done:!1,value:p[b++]}},e:function(w){throw w},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,S=!1,x;return{s:function(){g=g.call(p)},n:function(){var w=g.next();return v=w.done,w},e:function(w){S=!0,x=w},f:function(){try{!v&&g.return!=null&&g.return()}finally{if(S)throw x}}}}function l(p,m){if(p){if(typeof p=="string")return c(p,m);var g=Object.prototype.toString.call(p).slice(8,-1);if(g==="Object"&&p.constructor&&(g=p.constructor.name),g==="Map"||g==="Set")return Array.from(p);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return c(p,m)}}function c(p,m){(m==null||m>p.length)&&(m=p.length);for(var g=0,b=new Array(m);g<m;g++)b[g]=p[g];return b}var u=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],d={entries:function(){return u},forEach:function(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,g=o(u),b;try{for(g.s();!(b=g.n()).done;){var y=n(b.value,2),v=y[0],S=y[1];p.call(m,S,v,u)}}catch(x){g.e(x)}finally{g.f()}},get:function(p){var m=u.find(function(g){return g[0]===p});return m&&m[1]},has:function(p){return!!d.get(p)},keys:function(){return u.map(function(p){var m=n(p,1),g=m[0];return g})},values:function(){return u.map(function(p){var m=n(p,2),g=m[1];return g})}},h=(0,t.default)(d,d.entries());e.default=h}}),eLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),tLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),rLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),nLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),iLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),aLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),sLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),oLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),lLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}}),cLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),uLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),dLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),pLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(eLt()),r=p(tLt()),n=p(rLt()),i=p(nLt()),a=p(iLt()),s=p(aLt()),o=p(sLt()),l=p(oLt()),c=p(lLt()),u=p(cLt()),d=p(uLt()),h=p(dLt());function p(b){return b&&b.__esModule?b:{default:b}}var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",i.default],["range",a.default],["roletype",s.default],["section",o.default],["sectionhead",l.default],["select",c.default],["structure",u.default],["widget",d.default],["window",h.default]],g=m;e.default=g}}),hLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),fLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}}),mLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),gLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),bLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),yLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),vLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),TLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),SLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),xLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),wLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),_Lt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),ALt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),CLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),ELt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),PLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),jLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),RLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}}),ILt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),OLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),MLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),kLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),DLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),LLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),FLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),$Lt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}}),BLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}}),NLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),qLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),zLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),WLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),HLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),ULt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),GLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),VLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),YLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),KLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),XLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),QLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),JLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ZLt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),eFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}}),tFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),rFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}}),nFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}}),iFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}}),aFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),sFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),oFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),lFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),cFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),uFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),dFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),pFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),hFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),fFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),mFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}}),gFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),bFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),yFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),vFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),TFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}}),SFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),xFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),wFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),_Ft=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),AFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),CFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),EFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),PFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}}),jFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}}),RFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),IFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}}),OFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),MFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),kFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),DFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),LFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}}),FFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),$Ft=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),BFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),NFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}}),qFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}}),zFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=V(hLt()),r=V(fLt()),n=V(mLt()),i=V(gLt()),a=V(bLt()),s=V(yLt()),o=V(vLt()),l=V(TLt()),c=V(SLt()),u=V(xLt()),d=V(wLt()),h=V(_Lt()),p=V(ALt()),m=V(CLt()),g=V(ELt()),b=V(PLt()),y=V(jLt()),v=V(RLt()),S=V(ILt()),x=V(OLt()),w=V(MLt()),A=V(kLt()),_=V(DLt()),C=V(LLt()),E=V(FLt()),R=V($Lt()),P=V(BLt()),O=V(NLt()),k=V(qLt()),I=V(zLt()),M=V(WLt()),D=V(HLt()),F=V(ULt()),$=V(GLt()),Y=V(VLt()),he=V(YLt()),fe=V(KLt()),U=V(XLt()),W=V(QLt()),H=V(JLt()),ie=V(ZLt()),J=V(eFt()),we=V(tFt()),Le=V(rFt()),Ye=V(nFt()),oe=V(iFt()),X=V(aFt()),se=V(sFt()),Ce=V(oFt()),ce=V(lFt()),le=V(cFt()),Te=V(uFt()),be=V(dFt()),ze=V(pFt()),Ze=V(hFt()),St=V(fFt()),Ut=V(mFt()),Rt=V(gFt()),Dt=V(bFt()),nt=V(yFt()),Pr=V(vFt()),q=V(TFt()),K=V(SFt()),pe=V(xFt()),ye=V(wFt()),ke=V(_Ft()),je=V(AFt()),qe=V(CFt()),Fe=V(EFt()),We=V(PFt()),Ct=V(jFt()),Wt=V(RFt()),It=V(IFt()),nr=V(OFt()),L0=V(MFt()),P0=V(kFt()),Ia=V(DFt()),Oa=V(LFt()),Gs=V(FFt()),Ma=V($Ft()),Vs=V(BFt()),Ys=V(NFt()),Ks=V(qFt());function V(Xs){return Xs&&Xs.__esModule?Xs:{default:Xs}}var Kl=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",i.default],["banner",a.default],["blockquote",s.default],["button",o.default],["caption",l.default],["cell",c.default],["checkbox",u.default],["code",d.default],["columnheader",h.default],["combobox",p.default],["complementary",m.default],["contentinfo",g.default],["definition",b.default],["deletion",y.default],["dialog",v.default],["directory",S.default],["document",x.default],["emphasis",w.default],["feed",A.default],["figure",_.default],["form",C.default],["generic",E.default],["grid",R.default],["gridcell",P.default],["group",O.default],["heading",k.default],["img",I.default],["insertion",M.default],["link",D.default],["list",F.default],["listbox",$.default],["listitem",Y.default],["log",he.default],["main",fe.default],["mark",U.default],["marquee",W.default],["math",H.default],["menu",ie.default],["menubar",J.default],["menuitem",we.default],["menuitemcheckbox",Le.default],["menuitemradio",Ye.default],["meter",oe.default],["navigation",X.default],["none",se.default],["note",Ce.default],["option",ce.default],["paragraph",le.default],["presentation",Te.default],["progressbar",be.default],["radio",ze.default],["radiogroup",Ze.default],["region",St.default],["row",Ut.default],["rowgroup",Rt.default],["rowheader",Dt.default],["scrollbar",nt.default],["search",Pr.default],["searchbox",q.default],["separator",K.default],["slider",pe.default],["spinbutton",ye.default],["status",ke.default],["strong",je.default],["subscript",qe.default],["superscript",Fe.default],["switch",We.default],["tab",Ct.default],["table",Wt.default],["tablist",It.default],["tabpanel",nr.default],["term",L0.default],["textbox",P0.default],["time",Ia.default],["timer",Oa.default],["toolbar",Gs.default],["tooltip",Ma.default],["tree",Vs.default],["treegrid",Ys.default],["treeitem",Ks.default]],Gi=Kl;e.default=Gi}}),WFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),HFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),UFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),GFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),VFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),YFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),KFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),XFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),QFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),JFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ZFt=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),e$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),t$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),r$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),n$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),i$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),a$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),s$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),o$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),l$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),c$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),u$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),d$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),p$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),h$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),f$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),m$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),g$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),b$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),y$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}}),v$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),T$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),S$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),x$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),w$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}}),_$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),A$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),C$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),E$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),P$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=H(WFt()),r=H(HFt()),n=H(UFt()),i=H(GFt()),a=H(VFt()),s=H(YFt()),o=H(KFt()),l=H(XFt()),c=H(QFt()),u=H(JFt()),d=H(ZFt()),h=H(e$t()),p=H(t$t()),m=H(r$t()),g=H(n$t()),b=H(i$t()),y=H(a$t()),v=H(s$t()),S=H(o$t()),x=H(l$t()),w=H(c$t()),A=H(u$t()),_=H(d$t()),C=H(p$t()),E=H(h$t()),R=H(f$t()),P=H(m$t()),O=H(g$t()),k=H(b$t()),I=H(y$t()),M=H(v$t()),D=H(T$t()),F=H(S$t()),$=H(x$t()),Y=H(w$t()),he=H(_$t()),fe=H(A$t()),U=H(C$t()),W=H(E$t());function H(we){return we&&we.__esModule?we:{default:we}}var ie=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",i.default],["doc-backlink",a.default],["doc-biblioentry",s.default],["doc-bibliography",o.default],["doc-biblioref",l.default],["doc-chapter",c.default],["doc-colophon",u.default],["doc-conclusion",d.default],["doc-cover",h.default],["doc-credit",p.default],["doc-credits",m.default],["doc-dedication",g.default],["doc-endnote",b.default],["doc-endnotes",y.default],["doc-epigraph",v.default],["doc-epilogue",S.default],["doc-errata",x.default],["doc-example",w.default],["doc-footnote",A.default],["doc-foreword",_.default],["doc-glossary",C.default],["doc-glossref",E.default],["doc-index",R.default],["doc-introduction",P.default],["doc-noteref",O.default],["doc-notice",k.default],["doc-pagebreak",I.default],["doc-pagelist",M.default],["doc-part",D.default],["doc-preface",F.default],["doc-prologue",$.default],["doc-pullquote",Y.default],["doc-qna",he.default],["doc-subtitle",fe.default],["doc-tip",U.default],["doc-toc",W.default]],J=ie;e.default=J}}),j$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),R$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),I$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),O$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(j$t()),r=i(R$t()),n=i(I$t());function i(o){return o&&o.__esModule?o:{default:o}}var a=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],s=a;e.default=s}}),TG=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(pLt()),r=s(zFt()),n=s(P$t()),i=s(O$t()),a=s(s2());function s(v){return v&&v.__esModule?v:{default:v}}function o(v,S,x){return S in v?Object.defineProperty(v,S,{value:x,enumerable:!0,configurable:!0,writable:!0}):v[S]=x,v}function l(v,S){var x=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!x){if(Array.isArray(v)||(x=d(v))||S){x&&(v=x);var w=0,A=function(){};return{s:A,n:function(){return w>=v.length?{done:!0}:{done:!1,value:v[w++]}},e:function(R){throw R},f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _=!0,C=!1,E;return{s:function(){x=x.call(v)},n:function(){var R=x.next();return _=R.done,R},e:function(R){C=!0,E=R},f:function(){try{!_&&x.return!=null&&x.return()}finally{if(C)throw E}}}}function c(v,S){return m(v)||p(v,S)||d(v,S)||u()}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(v,S){if(v){if(typeof v=="string")return h(v,S);var x=Object.prototype.toString.call(v).slice(8,-1);if(x==="Object"&&v.constructor&&(x=v.constructor.name),x==="Map"||x==="Set")return Array.from(v);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return h(v,S)}}function h(v,S){(S==null||S>v.length)&&(S=v.length);for(var x=0,w=new Array(S);x<S;x++)w[x]=v[x];return w}function p(v,S){var x=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(x!=null){var w=[],A=!0,_=!1,C,E;try{for(x=x.call(v);!(A=(C=x.next()).done)&&(w.push(C.value),!(S&&w.length===S));A=!0);}catch(R){_=!0,E=R}finally{try{!A&&x.return!=null&&x.return()}finally{if(_)throw E}}return w}}function m(v){if(Array.isArray(v))return v}var g=[].concat(t.default,r.default,n.default,i.default);g.forEach(function(v){var S=c(v,2),x=S[1],w=l(x.superClass),A;try{for(w.s();!(A=w.n()).done;){var _=A.value,C=l(_),E;try{var R=function(){var P=E.value,O=g.find(function(F){var $=c(F,1),Y=$[0];return Y===P});if(O)for(var k=O[1],I=0,M=Object.keys(k.props);I<M.length;I++){var D=M[I];Object.prototype.hasOwnProperty.call(x.props,D)||Object.assign(x.props,o({},D,k.props[D]))}};for(C.s();!(E=C.n()).done;)R()}catch(P){C.e(P)}finally{C.f()}}}catch(P){w.e(P)}finally{w.f()}});var b={entries:function(){return g},forEach:function(v){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,x=l(g),w;try{for(x.s();!(w=x.n()).done;){var A=c(w.value,2),_=A[0],C=A[1];v.call(S,C,_,g)}}catch(E){x.e(E)}finally{x.f()}},get:function(v){var S=g.find(function(x){return x[0]===v});return S&&S[1]},has:function(v){return!!b.get(v)},keys:function(){return g.map(function(v){var S=c(v,1),x=S[0];return x})},values:function(){return g.map(function(v){var S=c(v,2),x=S[1];return x})}},y=(0,a.default)(b,b.entries());e.default=y}}),M$t=B({"../../node_modules/dequal/lite/index.js"(e){var t=Object.prototype.hasOwnProperty;function r(n,i){var a,s;if(n===i)return!0;if(n&&i&&(a=n.constructor)===i.constructor){if(a===Date)return n.getTime()===i.getTime();if(a===RegExp)return n.toString()===i.toString();if(a===Array){if((s=n.length)===i.length)for(;s--&&r(n[s],i[s]););return s===-1}if(!a||typeof n=="object"){s=0;for(a in n)if(t.call(n,a)&&++s&&!t.call(i,a)||!(a in i)||!r(n[a],i[a]))return!1;return Object.keys(i).length===s}}return n!==n&&i!==i}e.dequal=r}}),k$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=M$t(),r=i(s2()),n=i(TG());function i(A){return A&&A.__esModule?A:{default:A}}function a(A,_){return l(A)||o(A,_)||u(A,_)||s()}function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(A,_){var C=A==null?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(C!=null){var E=[],R=!0,P=!1,O,k;try{for(C=C.call(A);!(R=(O=C.next()).done)&&(E.push(O.value),!(_&&E.length===_));R=!0);}catch(I){P=!0,k=I}finally{try{!R&&C.return!=null&&C.return()}finally{if(P)throw k}}return E}}function l(A){if(Array.isArray(A))return A}function c(A,_){var C=typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(!C){if(Array.isArray(A)||(C=u(A))||_){C&&(A=C);var E=0,R=function(){};return{s:R,n:function(){return E>=A.length?{done:!0}:{done:!1,value:A[E++]}},e:function(I){throw I},f:R}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var P=!0,O=!1,k;return{s:function(){C=C.call(A)},n:function(){var I=C.next();return P=I.done,I},e:function(I){O=!0,k=I},f:function(){try{!P&&C.return!=null&&C.return()}finally{if(O)throw k}}}}function u(A,_){if(A){if(typeof A=="string")return d(A,_);var C=Object.prototype.toString.call(A).slice(8,-1);if(C==="Object"&&A.constructor&&(C=A.constructor.name),C==="Map"||C==="Set")return Array.from(A);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return d(A,_)}}function d(A,_){(_==null||_>A.length)&&(_=A.length);for(var C=0,E=new Array(_);C<_;C++)E[C]=A[C];return E}var h=[],p=n.default.keys();for(S=0;S<p.length;S++)if(m=p[S],g=n.default.get(m),g)for(b=[].concat(g.baseConcepts,g.relatedConcepts),v=0;v<b.length;v++)y=b[v],y.module==="HTML"&&(function(){var A=y.concept;if(A){var _=h.find(function(P){return(0,t.dequal)(P,A)}),C;_?C=_[1]:C=[];for(var E=!0,R=0;R<C.length;R++)if(C[R]===m){E=!1;break}E&&C.push(m),h.push([A,C])}})();var m,g,b,y,v,S,x={entries:function(){return h},forEach:function(A){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=c(h),E;try{for(C.s();!(E=C.n()).done;){var R=a(E.value,2),P=R[0],O=R[1];A.call(_,O,P,h)}}catch(k){C.e(k)}finally{C.f()}},get:function(A){var _=h.find(function(C){return A.name===C[0].name&&(0,t.dequal)(A.attributes,C[0].attributes)});return _&&_[1]},has:function(A){return!!x.get(A)},keys:function(){return h.map(function(A){var _=a(A,1),C=_[0];return C})},values:function(){return h.map(function(A){var _=a(A,2),C=_[1];return C})}},w=(0,r.default)(x,x.entries());e.default=w}}),D$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(s2()),r=n(TG());function n(_){return _&&_.__esModule?_:{default:_}}function i(_,C){return o(_)||s(_,C)||c(_,C)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(_,C){var E=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(E!=null){var R=[],P=!0,O=!1,k,I;try{for(E=E.call(_);!(P=(k=E.next()).done)&&(R.push(k.value),!(C&&R.length===C));P=!0);}catch(M){O=!0,I=M}finally{try{!P&&E.return!=null&&E.return()}finally{if(O)throw I}}return R}}function o(_){if(Array.isArray(_))return _}function l(_,C){var E=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!E){if(Array.isArray(_)||(E=c(_))||C){E&&(_=E);var R=0,P=function(){};return{s:P,n:function(){return R>=_.length?{done:!0}:{done:!1,value:_[R++]}},e:function(M){throw M},f:P}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var O=!0,k=!1,I;return{s:function(){E=E.call(_)},n:function(){var M=E.next();return O=M.done,M},e:function(M){k=!0,I=M},f:function(){try{!O&&E.return!=null&&E.return()}finally{if(k)throw I}}}}function c(_,C){if(_){if(typeof _=="string")return u(_,C);var E=Object.prototype.toString.call(_).slice(8,-1);if(E==="Object"&&_.constructor&&(E=_.constructor.name),E==="Map"||E==="Set")return Array.from(_);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return u(_,C)}}function u(_,C){(C==null||C>_.length)&&(C=_.length);for(var E=0,R=new Array(C);E<C;E++)R[E]=_[E];return R}var d=[],h=r.default.keys();for(x=0;x<h.length;x++)if(p=h[x],m=r.default.get(p),g=[],m){for(b=[].concat(m.baseConcepts,m.relatedConcepts),S=0;S<b.length;S++)y=b[S],y.module==="HTML"&&(v=y.concept,v!=null&&g.push(v));g.length>0&&d.push([p,g])}var p,m,g,b,y,v,S,x,w={entries:function(){return d},forEach:function(_){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=l(d),R;try{for(E.s();!(R=E.n()).done;){var P=i(R.value,2),O=P[0],k=P[1];_.call(C,k,O,d)}}catch(I){E.e(I)}finally{E.f()}},get:function(_){var C=d.find(function(E){return E[0]===_});return C&&C[1]},has:function(_){return!!w.get(_)},keys:function(){return d.map(function(_){var C=i(_,1),E=C[0];return E})},values:function(){return d.map(function(_){var C=i(_,2),E=C[1];return E})}},A=(0,t.default)(w,w.entries());e.default=A}}),L$t=B({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(JDt()),r=s(ZDt()),n=s(TG()),i=s(k$t()),a=s(D$t());function s(h){return h&&h.__esModule?h:{default:h}}var o=t.default;e.aria=o;var l=r.default;e.dom=l;var c=n.default;e.roles=c;var u=i.default;e.elementRoles=u;var d=a.default;e.roleElements=d}}),F$t=B({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=(function(){var n=String.fromCharCode,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function o(c,u){if(!s[c]){s[c]={};for(var d=0;d<c.length;d++)s[c][c.charAt(d)]=d}return s[c][u]}var l={compressToBase64:function(c){if(c==null)return"";var u=l._compress(c,6,function(d){return i.charAt(d)});switch(u.length%4){default:case 0:return u;case 1:return u+"===";case 2:return u+"==";case 3:return u+"="}},decompressFromBase64:function(c){return c==null?"":c==""?null:l._decompress(c.length,32,function(u){return o(i,c.charAt(u))})},compressToUTF16:function(c){return c==null?"":l._compress(c,15,function(u){return n(u+32)})+" "},decompressFromUTF16:function(c){return c==null?"":c==""?null:l._decompress(c.length,16384,function(u){return c.charCodeAt(u)-32})},compressToUint8Array:function(c){for(var u=l.compress(c),d=new Uint8Array(u.length*2),h=0,p=u.length;h<p;h++){var m=u.charCodeAt(h);d[h*2]=m>>>8,d[h*2+1]=m%256}return d},decompressFromUint8Array:function(c){if(c==null)return l.decompress(c);for(var u=new Array(c.length/2),d=0,h=u.length;d<h;d++)u[d]=c[d*2]*256+c[d*2+1];var p=[];return u.forEach(function(m){p.push(n(m))}),l.decompress(p.join(""))},compressToEncodedURIComponent:function(c){return c==null?"":l._compress(c,6,function(u){return a.charAt(u)})},decompressFromEncodedURIComponent:function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),l._decompress(c.length,32,function(u){return o(a,c.charAt(u))}))},compress:function(c){return l._compress(c,16,function(u){return n(u)})},_compress:function(c,u,d){if(c==null)return"";var h,p,m={},g={},b="",y="",v="",S=2,x=3,w=2,A=[],_=0,C=0,E;for(E=0;E<c.length;E+=1)if(b=c.charAt(E),Object.prototype.hasOwnProperty.call(m,b)||(m[b]=x++,g[b]=!0),y=v+b,Object.prototype.hasOwnProperty.call(m,y))v=y;else{if(Object.prototype.hasOwnProperty.call(g,v)){if(v.charCodeAt(0)<256){for(h=0;h<w;h++)_=_<<1,C==u-1?(C=0,A.push(d(_)),_=0):C++;for(p=v.charCodeAt(0),h=0;h<8;h++)_=_<<1|p&1,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=p>>1}else{for(p=1,h=0;h<w;h++)_=_<<1|p,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=0;for(p=v.charCodeAt(0),h=0;h<16;h++)_=_<<1|p&1,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=p>>1}S--,S==0&&(S=Math.pow(2,w),w++),delete g[v]}else for(p=m[v],h=0;h<w;h++)_=_<<1|p&1,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=p>>1;S--,S==0&&(S=Math.pow(2,w),w++),m[y]=x++,v=String(b)}if(v!==""){if(Object.prototype.hasOwnProperty.call(g,v)){if(v.charCodeAt(0)<256){for(h=0;h<w;h++)_=_<<1,C==u-1?(C=0,A.push(d(_)),_=0):C++;for(p=v.charCodeAt(0),h=0;h<8;h++)_=_<<1|p&1,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=p>>1}else{for(p=1,h=0;h<w;h++)_=_<<1|p,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=0;for(p=v.charCodeAt(0),h=0;h<16;h++)_=_<<1|p&1,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=p>>1}S--,S==0&&(S=Math.pow(2,w),w++),delete g[v]}else for(p=m[v],h=0;h<w;h++)_=_<<1|p&1,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=p>>1;S--,S==0&&(S=Math.pow(2,w),w++)}for(p=2,h=0;h<w;h++)_=_<<1|p&1,C==u-1?(C=0,A.push(d(_)),_=0):C++,p=p>>1;for(;;)if(_=_<<1,C==u-1){A.push(d(_));break}else C++;return A.join("")},decompress:function(c){return c==null?"":c==""?null:l._decompress(c.length,32768,function(u){return c.charCodeAt(u)})},_decompress:function(c,u,d){var h=[],p=4,m=4,g=3,b="",y=[],v,S,x,w,A,_,C,E={val:d(0),position:u,index:1};for(v=0;v<3;v+=1)h[v]=v;for(x=0,A=Math.pow(2,2),_=1;_!=A;)w=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),x|=(w>0?1:0)*_,_<<=1;switch(x){case 0:for(x=0,A=Math.pow(2,8),_=1;_!=A;)w=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),x|=(w>0?1:0)*_,_<<=1;C=n(x);break;case 1:for(x=0,A=Math.pow(2,16),_=1;_!=A;)w=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),x|=(w>0?1:0)*_,_<<=1;C=n(x);break;case 2:return""}for(h[3]=C,S=C,y.push(C);;){if(E.index>c)return"";for(x=0,A=Math.pow(2,g),_=1;_!=A;)w=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),x|=(w>0?1:0)*_,_<<=1;switch(C=x){case 0:for(x=0,A=Math.pow(2,8),_=1;_!=A;)w=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),x|=(w>0?1:0)*_,_<<=1;h[m++]=n(x),C=m-1,p--;break;case 1:for(x=0,A=Math.pow(2,16),_=1;_!=A;)w=E.val&E.position,E.position>>=1,E.position==0&&(E.position=u,E.val=d(E.index++)),x|=(w>0?1:0)*_,_<<=1;h[m++]=n(x),C=m-1,p--;break;case 2:return y.join("")}if(p==0&&(p=Math.pow(2,g),g++),h[C])b=h[C];else if(C===m)b=S+S.charAt(0);else return null;y.push(b),h[m++]=S+b.charAt(0),p--,S=b,p==0&&(p=Math.pow(2,g),g++)}}};return l})();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}}),hEe=Object.defineProperty,$$t=Object.getOwnPropertyNames,Oe=(e,t)=>hEe(e,"name",{value:t,configurable:!0}),B$t=(e,t)=>function(){return t||(0,e[$$t(e)[0]])((t={exports:{}}).exports,t),t.exports},SG=(e,t)=>{for(var r in t)hEe(e,r,{get:t[r],enumerable:!0})},N$t=B$t({"(disabled):util"(){}}),gl={};SG(gl,{addChainableMethod:()=>MG,addLengthGuard:()=>c2,addMethod:()=>RG,addProperty:()=>jG,checkError:()=>$a,compareByInspect:()=>yw,eql:()=>NEe,expectTypes:()=>TEe,flag:()=>Zt,getActual:()=>vA,getMessage:()=>_G,getName:()=>SA,getOperator:()=>FG,getOwnEnumerableProperties:()=>LG,getOwnEnumerablePropertySymbols:()=>DG,getPathInfo:()=>PG,hasProperty:()=>TA,inspect:()=>Ir,isNaN:()=>vw,isNumeric:()=>Zn,isProxyEnabled:()=>l2,isRegExp:()=>Tw,objDisplay:()=>nh,overwriteChainableMethod:()=>kG,overwriteMethod:()=>OG,overwriteProperty:()=>IG,proxify:()=>V1,test:()=>xG,transferFlags:()=>Eo,type:()=>i0});var $a={};SG($a,{compatibleConstructor:()=>gEe,compatibleInstance:()=>mEe,compatibleMessage:()=>bEe,getConstructorName:()=>yEe,getMessage:()=>vEe});function yA(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}Oe(yA,"isErrorInstance");function fEe(e){return Object.prototype.toString.call(e)==="[object RegExp]"}Oe(fEe,"isRegExp");function mEe(e,t){return yA(t)&&e===t}Oe(mEe,"compatibleInstance");function gEe(e,t){return yA(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}Oe(gEe,"compatibleConstructor");function bEe(e,t){let r=typeof e=="string"?e:e.message;return fEe(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}Oe(bEe,"compatibleMessage");function yEe(e){let t=e;return yA(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}Oe(yEe,"getConstructorName");function vEe(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}Oe(vEe,"getMessage");function Zt(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}Oe(Zt,"flag");function xG(e,t){var r=Zt(e,"negate"),n=t[0];return r?!n:n}Oe(xG,"test");function i0(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}Oe(i0,"type");var q$t="captureStackTrace"in Error,W3,Fr=(W3=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);ht(this,"message");this.message=t,q$t&&Error.captureStackTrace(this,n||W3);for(let i in r)i in this||(this[i]=r[i])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}},Oe(W3,"AssertionError"),W3);function TEe(e,t){var r=Zt(e,"message"),n=Zt(e,"ssfi");r=r?r+": ":"",e=Zt(e,"object"),t=t.map(function(s){return s.toLowerCase()}),t.sort();var i=t.map(function(s,o){var l=~["a","e","i","o","u"].indexOf(s.charAt(0))?"an":"a",c=t.length>1&&o===t.length-1?"or ":"";return c+l+" "+s}).join(", "),a=i0(e).toLowerCase();if(!t.some(function(s){return a===s}))throw new Fr(r+"object tested must be "+i+", but "+a+" given",void 0,n)}Oe(TEe,"expectTypes");function vA(e,t){return t.length>4?t[4]:e._obj}Oe(vA,"getActual");var cne={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},z$t={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Kg="…";function SEe(e,t){let r=cne[z$t[t]]||cne[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}Oe(SEe,"colorise");function xEe({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:i=!1,maxArrayLength:a=1/0,breakLength:s=1/0,seen:o=[],truncate:l=1/0,stylize:c=String}={},u){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!i,maxArrayLength:Number(a),breakLength:Number(s),truncate:Number(l),seen:o,inspect:u,stylize:c};return d.colors&&(d.stylize=SEe),d}Oe(xEe,"normaliseOptions");function wEe(e){return e>="\uD800"&&e<="\uDBFF"}Oe(wEe,"isHighSurrogate");function Su(e,t,r=Kg){e=String(e);let n=r.length,i=e.length;if(n>t&&i>n)return r;if(i>t&&i>n){let a=t-n;return a>0&&wEe(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}Oe(Su,"truncate");function Bs(e,t,r,n=", "){r=r||t.inspect;let i=e.length;if(i===0)return"";let a=t.truncate,s="",o="",l="";for(let c=0;c<i;c+=1){let u=c+1===e.length,d=c+2===e.length;l=`${Kg}(${e.length-c})`;let h=e[c];t.truncate=a-s.length-(u?0:n.length);let p=o||r(h,t)+(u?"":n),m=s.length+p.length,g=m+l.length;if(u&&m>a&&s.length+l.length<=a||!u&&!d&&g>a||(o=u?"":r(e[c+1],t)+(d?"":n),!u&&d&&g>a&&m+o.length>a))break;if(s+=p,!u&&!d&&m+o.length>=a){l=`${Kg}(${e.length-c-1})`;break}l=""}return`${s}${l}`}Oe(Bs,"inspectList");function _Ee(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}Oe(_Ee,"quoteComplexKey");function Xg([e,t],r){return r.truncate-=2,typeof e=="string"?e=_Ee(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}Oe(Xg,"inspectProperty");function AEe(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Bs(e,t);t.truncate-=n.length;let i="";return r.length&&(i=Bs(r.map(a=>[a,e[a]]),t,Xg)),`[ ${n}${i?`, ${i}`:""} ]`}Oe(AEe,"inspectArray");var W$t=Oe(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function Qo(e,t){let r=W$t(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let i="";for(let s=0;s<e.length;s++){let o=`${t.stylize(Su(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=o.length,e[s]!==e.length&&t.truncate<=3){i+=`${Kg}(${e.length-e[s]+1})`;break}i+=o}let a="";return n.length&&(a=Bs(n.map(s=>[s,e[s]]),t,Xg)),`${r}[ ${i}${a?`, ${a}`:""} ]`}Oe(Qo,"inspectTypedArray");function CEe(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),i=n[0];return t.stylize(`${i}T${Su(n[1],t.truncate-i.length-1)}`,"date")}Oe(CEe,"inspectDate");function gL(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Su(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}Oe(gL,"inspectFunction");function EEe([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}Oe(EEe,"inspectMapEntry");function PEe(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}Oe(PEe,"mapToEntries");function jEe(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Bs(PEe(e),t,EEe)} }`)}Oe(jEe,"inspectMap");var H$t=Number.isNaN||(e=>e!==e);function bL(e,t){return H$t(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Su(String(e),t.truncate),"number")}Oe(bL,"inspectNumber");function yL(e,t){let r=Su(e.toString(),t.truncate-1);return r!==Kg&&(r+="n"),t.stylize(r,"bigint")}Oe(yL,"inspectBigInt");function REe(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),i=e.source;return t.stylize(`/${Su(i,n)}/${r}`,"regexp")}Oe(REe,"inspectRegExp");function IEe(e){let t=[];return e.forEach(r=>{t.push(r)}),t}Oe(IEe,"arrayFromSet");function OEe(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Bs(IEe(e),t)} }`)}Oe(OEe,"inspectSet");var une=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),U$t={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},G$t=16;function MEe(e){return U$t[e]||`\\u${`0000${e.charCodeAt(0).toString(G$t)}`.slice(-4)}`}Oe(MEe,"escape");function vL(e,t){return une.test(e)&&(e=e.replace(une,MEe)),t.stylize(`'${Su(e,t.truncate-2)}'`,"string")}Oe(vL,"inspectString");function TL(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}Oe(TL,"inspectSymbol");var kEe=Oe(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(kEe=Oe((n,i)=>{let[a,s]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${i.inspect(s,i)}}`},"getPromiseValue"))}catch(e){}var V$t=kEe;function c5(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=Bs(r.map(o=>[o,e[o]]),t,Xg),a=Bs(n.map(o=>[o,e[o]]),t,Xg);t.seen.pop();let s="";return i&&a&&(s=", "),`{ ${i}${s}${a} }`}Oe(c5,"inspectObject");var Z9=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function DEe(e,t){let r="";return Z9&&Z9 in e&&(r=e[Z9]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${c5(e,t)}`}Oe(DEe,"inspectClass");function LEe(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Bs(e,t)} ]`)}Oe(LEe,"inspectArguments");var Y$t=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function FEe(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>Y$t.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let i="";if(typeof e.message=="string"?i=Su(e.message,t.truncate):r.unshift("message"),i=i?`: ${i}`:"",t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=Bs(r.map(s=>[s,e[s]]),t,Xg);return`${n}${i}${a?` { ${a} }`:""}`}Oe(FEe,"inspectObject");function $Ee([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}Oe($Ee,"inspectAttribute");function mw(e,t){return Bs(e,t,wG,`
`)}Oe(mw,"inspectHTMLCollection");function wG(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),i=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let o="";r.length>0&&(o+=" ",o+=Bs(r.map(u=>[u,e.getAttribute(u)]),t,$Ee," ")),t.truncate-=o.length;let l=t.truncate,c=mw(e.children,t);return c&&c.length>l&&(c=`${Kg}(${e.children.length})`),`${i}${o}${a}${c}${s}`}Oe(wG,"inspectHTML");var K$t=typeof Symbol=="function"&&typeof Symbol.for=="function",eE=K$t?Symbol.for("chai/inspect"):"@@chai/inspect",mm=!1;try{let e=N$t();mm=e.inspect?e.inspect.custom:!1}catch(e){mm=!1}var dne=new WeakMap,pne={},hne={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:bL,Number:bL,bigint:yL,BigInt:yL,string:vL,String:vL,function:gL,Function:gL,symbol:TL,Symbol:TL,Array:AEe,Date:CEe,Map:jEe,Set:OEe,RegExp:REe,Promise:V$t,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:LEe,Int8Array:Qo,Uint8Array:Qo,Uint8ClampedArray:Qo,Int16Array:Qo,Uint16Array:Qo,Int32Array:Qo,Uint32Array:Qo,Float32Array:Qo,Float64Array:Qo,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:FEe,HTMLCollection:mw,NodeList:mw},X$t=Oe((e,t,r)=>eE in e&&typeof e[eE]=="function"?e[eE](t):mm&&mm in e&&typeof e[mm]=="function"?e[mm](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&dne.has(e.constructor)?dne.get(e.constructor)(e,t):pne[r]?pne[r](e,t):"","inspectCustom"),Q$t=Object.prototype.toString;function gw(e,t={}){let r=xEe(t,gw),{customInspect:n}=r,i=e===null?"null":typeof e;if(i==="object"&&(i=Q$t.call(e).slice(8,-1)),i in hne)return hne[i](e,r);if(n&&e){let s=X$t(e,r,i);if(s)return typeof s=="string"?s:gw(s,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?c5(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?wG(e,r):"constructor"in e?e.constructor!==Object?DEe(e,r):c5(e,r):e===Object(e)?c5(e,r):r.stylize(String(e),i)}Oe(gw,"inspect");var oa={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function Ir(e,t,r,n){var i={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:oa.truncateThreshold?oa.truncateThreshold:1/0};return gw(e,i)}Oe(Ir,"inspect");function nh(e){var t=Ir(e),r=Object.prototype.toString.call(e);if(oa.truncateThreshold&&t.length>=oa.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){var n=Object.keys(e),i=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+i+") }"}else return t}else return t}Oe(nh,"objDisplay");function _G(e,t){var r=Zt(e,"negate"),n=Zt(e,"object"),i=t[3],a=vA(e,t),s=r?t[2]:t[1],o=Zt(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return nh(n)}).replace(/#\{act\}/g,function(){return nh(a)}).replace(/#\{exp\}/g,function(){return nh(i)}),o?o+": "+s:s}Oe(_G,"getMessage");function Eo(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var i in n)(r||i!=="object"&&i!=="ssfi"&&i!=="lockSsfi"&&i!="message")&&(t.__flags[i]=n[i])}Oe(Eo,"transferFlags");function SL(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}Oe(SL,"type");function AG(){this._key="chai/deep-eql__"+Math.random()+Date.now()}Oe(AG,"FakeMap");AG.prototype={get:Oe(function(e){return e[this._key]},"get"),set:Oe(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var BEe=typeof WeakMap=="function"?WeakMap:AG;function xL(e,t,r){if(!r||Fh(e)||Fh(t))return null;var n=r.get(e);if(n){var i=n.get(t);if(typeof i=="boolean")return i}return null}Oe(xL,"memoizeCompare");function yy(e,t,r,n){if(!(!r||Fh(e)||Fh(t))){var i=r.get(e);i?i.set(t,n):(i=new BEe,i.set(t,n),r.set(e,i))}}Oe(yy,"memoizeSet");var NEe=o2;function o2(e,t,r){if(r&&r.comparator)return wL(e,t,r);var n=CG(e,t);return n!==null?n:wL(e,t,r)}Oe(o2,"deepEqual");function CG(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Fh(e)||Fh(t)?!1:null}Oe(CG,"simpleEqual");function wL(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new BEe;var n=r&&r.comparator,i=xL(e,t,r.memoize);if(i!==null)return i;var a=xL(t,e,r.memoize);if(a!==null)return a;if(n){var s=n(e,t);if(s===!1||s===!0)return yy(e,t,r.memoize,s),s;var o=CG(e,t);if(o!==null)return o}var l=SL(e);if(l!==SL(t))return yy(e,t,r.memoize,!1),!1;yy(e,t,r.memoize,!0);var c=qEe(e,t,l,r);return yy(e,t,r.memoize,c),c}Oe(wL,"extensiveDeepEqual");function qEe(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return o2(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return EG(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return hd(e,t,n);case"RegExp":return zEe(e,t);case"Generator":return WEe(e,t,n);case"DataView":return hd(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return hd(new Uint8Array(e),new Uint8Array(t),n);case"Set":return _L(e,t,n);case"Map":return _L(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return UEe(e,t,n)}}Oe(qEe,"extensiveDeepEqualByType");function zEe(e,t){return e.toString()===t.toString()}Oe(zEe,"regexpEqual");function _L(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch(a){return!1}var n=[],i=[];return e.forEach(Oe(function(a,s){n.push([a,s])},"gatherEntries")),t.forEach(Oe(function(a,s){i.push([a,s])},"gatherEntries")),hd(n.sort(),i.sort(),r)}Oe(_L,"entriesEqual");function hd(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var i=-1;++i<n;)if(o2(e[i],t[i],r)===!1)return!1;return!0}Oe(hd,"iterableEqual");function WEe(e,t,r){return hd(bw(e),bw(t),r)}Oe(WEe,"generatorEqual");function HEe(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}Oe(HEe,"hasIteratorFunction");function AL(e){if(HEe(e))try{return bw(e[Symbol.iterator]())}catch(t){return[]}return[]}Oe(AL,"getIteratorEntries");function bw(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}Oe(bw,"getGeneratorEntries");function CL(e){var t=[];for(var r in e)t.push(r);return t}Oe(CL,"getEnumerableKeys");function EL(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var i=r[n];Object.getOwnPropertyDescriptor(e,i).enumerable&&t.push(i)}return t}Oe(EL,"getEnumerableSymbols");function EG(e,t,r,n){var i=r.length;if(i===0)return!0;for(var a=0;a<i;a+=1)if(o2(e[r[a]],t[r[a]],n)===!1)return!1;return!0}Oe(EG,"keysEqual");function UEe(e,t,r){var n=CL(e),i=CL(t),a=EL(e),s=EL(t);if(n=n.concat(a),i=i.concat(s),n.length&&n.length===i.length)return hd(PL(n).sort(),PL(i).sort())===!1?!1:EG(e,t,n,r);var o=AL(e),l=AL(t);return o.length&&o.length===l.length?(o.sort(),l.sort(),hd(o,l,r)):n.length===0&&o.length===0&&i.length===0&&l.length===0}Oe(UEe,"objectEqual");function Fh(e){return e===null||typeof e!="object"}Oe(Fh,"isPrimitive");function PL(e){return e.map(Oe(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}Oe(PL,"mapSymbols");function TA(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}Oe(TA,"hasProperty");function GEe(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}Oe(GEe,"parsePath");function jL(e,t,r){let n=e,i=null;r=typeof r>"u"?t.length:r;for(let a=0;a<r;a++){let s=t[a];n&&(typeof s.p>"u"?n=n[s.i]:n=n[s.p],a===r-1&&(i=n))}return i}Oe(jL,"internalGetPathValue");function PG(e,t){let r=GEe(t),n=r[r.length-1],i={parent:r.length>1?jL(e,r,r.length-1):e,name:n.p||n.i,value:jL(e,r)};return i.exists=TA(i.parent,i.name),i}Oe(PG,"getPathInfo");function re(e,t,r,n){return Zt(this,"ssfi",r||re),Zt(this,"lockSsfi",n),Zt(this,"object",e),Zt(this,"message",t),Zt(this,"eql",oa.deepEqual||NEe),V1(this)}Oe(re,"Assertion");Object.defineProperty(re,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),oa.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),oa.includeStack=e}});Object.defineProperty(re,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),oa.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),oa.showDiff=e}});re.addProperty=function(e,t){jG(this.prototype,e,t)};re.addMethod=function(e,t){RG(this.prototype,e,t)};re.addChainableMethod=function(e,t,r){MG(this.prototype,e,t,r)};re.overwriteProperty=function(e,t){IG(this.prototype,e,t)};re.overwriteMethod=function(e,t){OG(this.prototype,e,t)};re.overwriteChainableMethod=function(e,t,r){kG(this.prototype,e,t,r)};re.prototype.assert=function(e,t,r,n,i,a){var s=xG(this,arguments);if(a!==!1&&(a=!0),n===void 0&&i===void 0&&(a=!1),oa.showDiff!==!0&&(a=!1),!s){t=_G(this,arguments);var o=vA(this,arguments),l={actual:o,expected:n,showDiff:a},c=FG(this,arguments);throw c&&(l.operator=c),new Fr(t,l,oa.includeStack?this.assert:Zt(this,"ssfi"))}};Object.defineProperty(re.prototype,"_obj",{get:function(){return Zt(this,"object")},set:function(e){Zt(this,"object",e)}});function l2(){return oa.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}Oe(l2,"isProxyEnabled");function jG(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:Oe(function n(){!l2()&&!Zt(this,"lockSsfi")&&Zt(this,"ssfi",n);var i=r.call(this);if(i!==void 0)return i;var a=new re;return Eo(this,a),a},"propertyGetter"),configurable:!0})}Oe(jG,"addProperty");var J$t=Object.getOwnPropertyDescriptor(function(){},"length");function c2(e,t,r){return J$t.configurable&&Object.defineProperty(e,"length",{get:function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')}}),e}Oe(c2,"addLengthGuard");function VEe(e){var t=Object.getOwnPropertyNames(e);function r(i){t.indexOf(i)===-1&&t.push(i)}Oe(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}Oe(VEe,"getProperties");var fne=["__flags","__methods","_obj","assert"];function V1(e,t){return l2()?new Proxy(e,{get:Oe(function r(n,i){if(typeof i=="string"&&oa.proxyExcludedKeys.indexOf(i)===-1&&!Reflect.has(n,i)){if(t)throw Error("Invalid Chai property: "+t+"."+i+'. See docs for proper usage of "'+t+'".');var a=null,s=4;throw VEe(n).forEach(function(o){if(!Object.prototype.hasOwnProperty(o)&&fne.indexOf(o)===-1){var l=YEe(i,o,s);l<s&&(a=o,s=l)}}),Error(a!==null?"Invalid Chai property: "+i+'. Did you mean "'+a+'"?':"Invalid Chai property: "+i)}return fne.indexOf(i)===-1&&!Zt(n,"lockSsfi")&&Zt(n,"ssfi",r),Reflect.get(n,i)},"proxyGetter")}):e}Oe(V1,"proxify");function YEe(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;var n=[];for(let a=0;a<=e.length;a++)n[a]=Array(t.length+1).fill(0),n[a][0]=a;for(let a=0;a<t.length;a++)n[0][a]=a;for(let a=1;a<=e.length;a++){var i=e.charCodeAt(a-1);for(let s=1;s<=t.length;s++){if(Math.abs(a-s)>=r){n[a][s]=r;continue}n[a][s]=Math.min(n[a-1][s]+1,n[a][s-1]+1,n[a-1][s-1]+(i===t.charCodeAt(s-1)?0:1))}}return n[e.length][t.length]}Oe(YEe,"stringDistanceCapped");function RG(e,t,r){var n=Oe(function(){Zt(this,"lockSsfi")||Zt(this,"ssfi",n);var i=r.apply(this,arguments);if(i!==void 0)return i;var a=new re;return Eo(this,a),a},"methodWrapper");c2(n,t,!1),e[t]=V1(n,t)}Oe(RG,"addMethod");function IG(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),i=Oe(function(){},"_super");n&&typeof n.get=="function"&&(i=n.get),Object.defineProperty(e,t,{get:Oe(function a(){!l2()&&!Zt(this,"lockSsfi")&&Zt(this,"ssfi",a);var s=Zt(this,"lockSsfi");Zt(this,"lockSsfi",!0);var o=r(i).call(this);if(Zt(this,"lockSsfi",s),o!==void 0)return o;var l=new re;return Eo(this,l),l},"overwritingPropertyGetter"),configurable:!0})}Oe(IG,"overwriteProperty");function OG(e,t,r){var n=e[t],i=Oe(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(i=n);var a=Oe(function(){Zt(this,"lockSsfi")||Zt(this,"ssfi",a);var s=Zt(this,"lockSsfi");Zt(this,"lockSsfi",!0);var o=r(i).apply(this,arguments);if(Zt(this,"lockSsfi",s),o!==void 0)return o;var l=new re;return Eo(this,l),l},"overwritingMethodWrapper");c2(a,t,!1),e[t]=V1(a,t)}Oe(OG,"overwriteMethod");var Z$t=typeof Object.setPrototypeOf=="function",mne=Oe(function(){},"testFn"),eBt=Object.getOwnPropertyNames(mne).filter(function(e){var t=Object.getOwnPropertyDescriptor(mne,e);return typeof t!="object"?!0:!t.configurable}),tBt=Function.prototype.call,rBt=Function.prototype.apply;function MG(e,t,r,n){typeof n!="function"&&(n=Oe(function(){},"chainingBehavior"));var i={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=i,Object.defineProperty(e,t,{get:Oe(function(){i.chainingBehavior.call(this);var a=Oe(function(){Zt(this,"lockSsfi")||Zt(this,"ssfi",a);var l=i.method.apply(this,arguments);if(l!==void 0)return l;var c=new re;return Eo(this,c),c},"chainableMethodWrapper");if(c2(a,t,!0),Z$t){var s=Object.create(this);s.call=tBt,s.apply=rBt,Object.setPrototypeOf(a,s)}else{var o=Object.getOwnPropertyNames(e);o.forEach(function(l){if(eBt.indexOf(l)===-1){var c=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(a,l,c)}})}return Eo(this,a),V1(a)},"chainableMethodGetter"),configurable:!0})}Oe(MG,"addChainableMethod");function kG(e,t,r,n){var i=e.__methods[t],a=i.chainingBehavior;i.chainingBehavior=Oe(function(){var o=n(a).call(this);if(o!==void 0)return o;var l=new re;return Eo(this,l),l},"overwritingChainableMethodGetter");var s=i.method;i.method=Oe(function(){var o=r(s).apply(this,arguments);if(o!==void 0)return o;var l=new re;return Eo(this,l),l},"overwritingChainableMethodWrapper")}Oe(kG,"overwriteChainableMethod");function yw(e,t){return Ir(e)<Ir(t)?-1:1}Oe(yw,"compareByInspect");function DG(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}Oe(DG,"getOwnEnumerablePropertySymbols");function LG(e){return Object.keys(e).concat(DG(e))}Oe(LG,"getOwnEnumerableProperties");var vw=Number.isNaN;function KEe(e){var t=i0(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}Oe(KEe,"isObjectType");function FG(e,t){var r=Zt(e,"operator"),n=Zt(e,"negate"),i=t[3],a=n?t[2]:t[1];if(r)return r;if(typeof a=="function"&&(a=a()),a=a||"",!!a&&!/\shave\s/.test(a)){var s=KEe(i);return/\snot\s/.test(a)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}}Oe(FG,"getOperator");function SA(e){return e.name}Oe(SA,"getName");function Tw(e){return Object.prototype.toString.call(e)==="[object RegExp]"}Oe(Tw,"isRegExp");function Zn(e){return["Number","BigInt"].includes(i0(e))}Oe(Zn,"isNumeric");var{flag:Ae}=gl;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){re.addProperty(e)});re.addProperty("not",function(){Ae(this,"negate",!0)});re.addProperty("deep",function(){Ae(this,"deep",!0)});re.addProperty("nested",function(){Ae(this,"nested",!0)});re.addProperty("own",function(){Ae(this,"own",!0)});re.addProperty("ordered",function(){Ae(this,"ordered",!0)});re.addProperty("any",function(){Ae(this,"any",!0),Ae(this,"all",!1)});re.addProperty("all",function(){Ae(this,"all",!0),Ae(this,"any",!1)});var gne={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function $G(e,t){t&&Ae(this,"message",t),e=e.toLowerCase();var r=Ae(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let i=i0(r).toLowerCase();gne.function.includes(e)?this.assert(gne[e].includes(i),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===i,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}Oe($G,"an");re.addChainableMethod("an",$G);re.addChainableMethod("a",$G);function XEe(e,t){return vw(e)&&vw(t)||e===t}Oe(XEe,"SameValueZero");function u2(){Ae(this,"contains",!0)}Oe(u2,"includeChainingBehavior");function d2(e,t){t&&Ae(this,"message",t);var r=Ae(this,"object"),n=i0(r).toLowerCase(),i=Ae(this,"message"),a=Ae(this,"negate"),s=Ae(this,"ssfi"),o=Ae(this,"deep"),l=o?"deep ":"",c=o?Ae(this,"eql"):XEe;i=i?i+": ":"";var u=!1;switch(n){case"string":u=r.indexOf(e)!==-1;break;case"weakset":if(o)throw new Fr(i+"unable to use .deep.include with WeakSet",void 0,s);u=r.has(e);break;case"map":r.forEach(function(m){u=u||c(m,e)});break;case"set":o?r.forEach(function(m){u=u||c(m,e)}):u=r.has(e);break;case"array":o?u=r.some(function(m){return c(m,e)}):u=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new Fr(i+"the given combination of arguments ("+n+" and "+i0(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+i0(e).toLowerCase(),void 0,s);var d=Object.keys(e),h=null,p=0;if(d.forEach(function(m){var g=new re(r);if(Eo(this,g,!0),Ae(g,"lockSsfi",!0),!a||d.length===1){g.property(m,e[m]);return}try{g.property(m,e[m])}catch(b){if(!$a.compatibleConstructor(b,Fr))throw b;h===null&&(h=b),p++}},this),a&&d.length>1&&p===d.length)throw h;return}this.assert(u,"expected #{this} to "+l+"include "+Ir(e),"expected #{this} to not "+l+"include "+Ir(e))}Oe(d2,"include");re.addChainableMethod("include",d2,u2);re.addChainableMethod("contain",d2,u2);re.addChainableMethod("contains",d2,u2);re.addChainableMethod("includes",d2,u2);re.addProperty("ok",function(){this.assert(Ae(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});re.addProperty("true",function(){this.assert(Ae(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!Ae(this,"negate"))});re.addProperty("numeric",function(){let e=Ae(this,"object");this.assert(["Number","BigInt"].includes(i0(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!Ae(this,"negate"))});re.addProperty("callable",function(){let e=Ae(this,"object"),t=Ae(this,"ssfi"),r=Ae(this,"message"),n=r?`${r}: `:"",i=Ae(this,"negate"),a=i?`${n}expected ${Ir(e)} not to be a callable function`:`${n}expected ${Ir(e)} to be a callable function`,s=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(i0(e));if(s&&i||!s&&!i)throw new Fr(a,void 0,t)});re.addProperty("false",function(){this.assert(Ae(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!Ae(this,"negate"))});re.addProperty("null",function(){this.assert(Ae(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});re.addProperty("undefined",function(){this.assert(Ae(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});re.addProperty("NaN",function(){this.assert(vw(Ae(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function BG(){var e=Ae(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}Oe(BG,"assertExist");re.addProperty("exist",BG);re.addProperty("exists",BG);re.addProperty("empty",function(){var e=Ae(this,"object"),t=Ae(this,"ssfi"),r=Ae(this,"message"),n;switch(r=r?r+": ":"",i0(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new Fr(r+".empty was passed a weak collection",void 0,t);case"function":var i=r+".empty was passed a function "+SA(e);throw new Fr(i.trim(),void 0,t);default:if(e!==Object(e))throw new Fr(r+".empty was passed non-string primitive "+Ir(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function NG(){var e=Ae(this,"object"),t=i0(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}Oe(NG,"checkArguments");re.addProperty("arguments",NG);re.addProperty("Arguments",NG);function xA(e,t){t&&Ae(this,"message",t);var r=Ae(this,"object");if(Ae(this,"deep")){var n=Ae(this,"lockSsfi");Ae(this,"lockSsfi",!0),this.eql(e),Ae(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}Oe(xA,"assertEqual");re.addMethod("equal",xA);re.addMethod("equals",xA);re.addMethod("eq",xA);function qG(e,t){t&&Ae(this,"message",t);var r=Ae(this,"eql");this.assert(r(e,Ae(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}Oe(qG,"assertEql");re.addMethod("eql",qG);re.addMethod("eqls",qG);function wA(e,t){t&&Ae(this,"message",t);var r=Ae(this,"object"),n=Ae(this,"doLength"),i=Ae(this,"message"),a=i?i+": ":"",s=Ae(this,"ssfi"),o=i0(r).toLowerCase(),l=i0(e).toLowerCase();if(n&&o!=="map"&&o!=="set"&&new re(r,i,s,!0).to.have.property("length"),!n&&o==="date"&&l!=="date")throw new Fr(a+"the argument to above must be a date",void 0,s);if(!Zn(e)&&(n||Zn(r)))throw new Fr(a+"the argument to above must be a number",void 0,s);if(!n&&o!=="date"&&!Zn(r)){var c=o==="string"?"'"+r+"'":r;throw new Fr(a+"expected "+c+" to be a number or a date",void 0,s)}if(n){var u="length",d;o==="map"||o==="set"?(u="size",d=r.size):d=r.length,this.assert(d>e,"expected #{this} to have a "+u+" above #{exp} but got #{act}","expected #{this} to not have a "+u+" above #{exp}",e,d)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}Oe(wA,"assertAbove");re.addMethod("above",wA);re.addMethod("gt",wA);re.addMethod("greaterThan",wA);function _A(e,t){t&&Ae(this,"message",t);var r=Ae(this,"object"),n=Ae(this,"doLength"),i=Ae(this,"message"),a=i?i+": ":"",s=Ae(this,"ssfi"),o=i0(r).toLowerCase(),l=i0(e).toLowerCase(),c,u=!0;if(n&&o!=="map"&&o!=="set"&&new re(r,i,s,!0).to.have.property("length"),!n&&o==="date"&&l!=="date")c=a+"the argument to least must be a date";else if(!Zn(e)&&(n||Zn(r)))c=a+"the argument to least must be a number";else if(!n&&o!=="date"&&!Zn(r)){var d=o==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date"}else u=!1;if(u)throw new Fr(c,void 0,s);if(n){var h="length",p;o==="map"||o==="set"?(h="size",p=r.size):p=r.length,this.assert(p>=e,"expected #{this} to have a "+h+" at least #{exp} but got #{act}","expected #{this} to have a "+h+" below #{exp}",e,p)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}Oe(_A,"assertLeast");re.addMethod("least",_A);re.addMethod("gte",_A);re.addMethod("greaterThanOrEqual",_A);function AA(e,t){t&&Ae(this,"message",t);var r=Ae(this,"object"),n=Ae(this,"doLength"),i=Ae(this,"message"),a=i?i+": ":"",s=Ae(this,"ssfi"),o=i0(r).toLowerCase(),l=i0(e).toLowerCase(),c,u=!0;if(n&&o!=="map"&&o!=="set"&&new re(r,i,s,!0).to.have.property("length"),!n&&o==="date"&&l!=="date")c=a+"the argument to below must be a date";else if(!Zn(e)&&(n||Zn(r)))c=a+"the argument to below must be a number";else if(!n&&o!=="date"&&!Zn(r)){var d=o==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date"}else u=!1;if(u)throw new Fr(c,void 0,s);if(n){var h="length",p;o==="map"||o==="set"?(h="size",p=r.size):p=r.length,this.assert(p<e,"expected #{this} to have a "+h+" below #{exp} but got #{act}","expected #{this} to not have a "+h+" below #{exp}",e,p)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}Oe(AA,"assertBelow");re.addMethod("below",AA);re.addMethod("lt",AA);re.addMethod("lessThan",AA);function CA(e,t){t&&Ae(this,"message",t);var r=Ae(this,"object"),n=Ae(this,"doLength"),i=Ae(this,"message"),a=i?i+": ":"",s=Ae(this,"ssfi"),o=i0(r).toLowerCase(),l=i0(e).toLowerCase(),c,u=!0;if(n&&o!=="map"&&o!=="set"&&new re(r,i,s,!0).to.have.property("length"),!n&&o==="date"&&l!=="date")c=a+"the argument to most must be a date";else if(!Zn(e)&&(n||Zn(r)))c=a+"the argument to most must be a number";else if(!n&&o!=="date"&&!Zn(r)){var d=o==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date"}else u=!1;if(u)throw new Fr(c,void 0,s);if(n){var h="length",p;o==="map"||o==="set"?(h="size",p=r.size):p=r.length,this.assert(p<=e,"expected #{this} to have a "+h+" at most #{exp} but got #{act}","expected #{this} to have a "+h+" above #{exp}",e,p)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}Oe(CA,"assertMost");re.addMethod("most",CA);re.addMethod("lte",CA);re.addMethod("lessThanOrEqual",CA);re.addMethod("within",function(e,t,r){r&&Ae(this,"message",r);var n=Ae(this,"object"),i=Ae(this,"doLength"),a=Ae(this,"message"),s=a?a+": ":"",o=Ae(this,"ssfi"),l=i0(n).toLowerCase(),c=i0(e).toLowerCase(),u=i0(t).toLowerCase(),d,h=!0,p=c==="date"&&u==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(i&&l!=="map"&&l!=="set"&&new re(n,a,o,!0).to.have.property("length"),!i&&l==="date"&&(c!=="date"||u!=="date"))d=s+"the arguments to within must be dates";else if((!Zn(e)||!Zn(t))&&(i||Zn(n)))d=s+"the arguments to within must be numbers";else if(!i&&l!=="date"&&!Zn(n)){var m=l==="string"?"'"+n+"'":n;d=s+"expected "+m+" to be a number or a date"}else h=!1;if(h)throw new Fr(d,void 0,o);if(i){var g="length",b;l==="map"||l==="set"?(g="size",b=n.size):b=n.length,this.assert(b>=e&&b<=t,"expected #{this} to have a "+g+" within "+p,"expected #{this} to not have a "+g+" within "+p)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+p,"expected #{this} to not be within "+p)});function zG(e,t){t&&Ae(this,"message",t);var r=Ae(this,"object"),n=Ae(this,"ssfi"),i=Ae(this,"message");try{var a=r instanceof e}catch(o){throw o instanceof TypeError?(i=i?i+": ":"",new Fr(i+"The instanceof assertion needs a constructor but "+i0(e)+" was given.",void 0,n)):o}var s=SA(e);s==null&&(s="an unnamed constructor"),this.assert(a,"expected #{this} to be an instance of "+s,"expected #{this} to not be an instance of "+s)}Oe(zG,"assertInstanceOf");re.addMethod("instanceof",zG);re.addMethod("instanceOf",zG);function WG(e,t,r){r&&Ae(this,"message",r);var n=Ae(this,"nested"),i=Ae(this,"own"),a=Ae(this,"message"),s=Ae(this,"object"),o=Ae(this,"ssfi"),l=typeof e;if(a=a?a+": ":"",n){if(l!=="string")throw new Fr(a+"the argument to property must be a string when using nested syntax",void 0,o)}else if(l!=="string"&&l!=="number"&&l!=="symbol")throw new Fr(a+"the argument to property must be a string, number, or symbol",void 0,o);if(n&&i)throw new Fr(a+'The "nested" and "own" flags cannot be combined.',void 0,o);if(s==null)throw new Fr(a+"Target cannot be null or undefined.",void 0,o);var c=Ae(this,"deep"),u=Ae(this,"negate"),d=n?PG(s,e):null,h=n?d.value:s[e],p=c?Ae(this,"eql"):(b,y)=>b===y,m="";c&&(m+="deep "),i&&(m+="own "),n&&(m+="nested "),m+="property ";var g;i?g=Object.prototype.hasOwnProperty.call(s,e):n?g=d.exists:g=TA(s,e),(!u||arguments.length===1)&&this.assert(g,"expected #{this} to have "+m+Ir(e),"expected #{this} to not have "+m+Ir(e)),arguments.length>1&&this.assert(g&&p(t,h),"expected #{this} to have "+m+Ir(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+Ir(e)+" of #{act}",t,h),Ae(this,"object",h)}Oe(WG,"assertProperty");re.addMethod("property",WG);function HG(e,t,r){Ae(this,"own",!0),WG.apply(this,arguments)}Oe(HG,"assertOwnProperty");re.addMethod("ownProperty",HG);re.addMethod("haveOwnProperty",HG);function UG(e,t,r){typeof t=="string"&&(r=t,t=null),r&&Ae(this,"message",r);var n=Ae(this,"object"),i=Object.getOwnPropertyDescriptor(Object(n),e),a=Ae(this,"eql");i&&t?this.assert(a(t,i),"expected the own property descriptor for "+Ir(e)+" on #{this} to match "+Ir(t)+", got "+Ir(i),"expected the own property descriptor for "+Ir(e)+" on #{this} to not match "+Ir(t),t,i,!0):this.assert(i,"expected #{this} to have an own property descriptor for "+Ir(e),"expected #{this} to not have an own property descriptor for "+Ir(e)),Ae(this,"object",i)}Oe(UG,"assertOwnPropertyDescriptor");re.addMethod("ownPropertyDescriptor",UG);re.addMethod("haveOwnPropertyDescriptor",UG);function GG(){Ae(this,"doLength",!0)}Oe(GG,"assertLengthChain");function VG(e,t){t&&Ae(this,"message",t);var r=Ae(this,"object"),n=i0(r).toLowerCase(),i=Ae(this,"message"),a=Ae(this,"ssfi"),s="length",o;switch(n){case"map":case"set":s="size",o=r.size;break;default:new re(r,i,a,!0).to.have.property("length"),o=r.length}this.assert(o==e,"expected #{this} to have a "+s+" of #{exp} but got #{act}","expected #{this} to not have a "+s+" of #{act}",e,o)}Oe(VG,"assertLength");re.addChainableMethod("length",VG,GG);re.addChainableMethod("lengthOf",VG,GG);function YG(e,t){t&&Ae(this,"message",t);var r=Ae(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}Oe(YG,"assertMatch");re.addMethod("match",YG);re.addMethod("matches",YG);re.addMethod("string",function(e,t){t&&Ae(this,"message",t);var r=Ae(this,"object"),n=Ae(this,"message"),i=Ae(this,"ssfi");new re(r,n,i,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+Ir(e),"expected #{this} to not contain "+Ir(e))});function KG(e){var t=Ae(this,"object"),r=i0(t),n=i0(e),i=Ae(this,"ssfi"),a=Ae(this,"deep"),s,o="",l,c=!0,u=Ae(this,"message");u=u?u+": ":"";var d=u+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")o=a?"deeply ":"",l=[],t.forEach(function(v,S){l.push(S)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(l=LG(t),n){case"Array":if(arguments.length>1)throw new Fr(d,void 0,i);break;case"Object":if(arguments.length>1)throw new Fr(d,void 0,i);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(v){return typeof v=="symbol"?v:String(v)})}if(!e.length)throw new Fr(u+"keys required",void 0,i);var h=e.length,p=Ae(this,"any"),m=Ae(this,"all"),g=e,b=a?Ae(this,"eql"):(v,S)=>v===S;if(!p&&!m&&(m=!0),p&&(c=g.some(function(v){return l.some(function(S){return b(v,S)})})),m&&(c=g.every(function(v){return l.some(function(S){return b(v,S)})}),Ae(this,"contains")||(c=c&&e.length==l.length)),h>1){e=e.map(function(v){return Ir(v)});var y=e.pop();m&&(s=e.join(", ")+", and "+y),p&&(s=e.join(", ")+", or "+y)}else s=Ir(e[0]);s=(h>1?"keys ":"key ")+s,s=(Ae(this,"contains")?"contain ":"have ")+s,this.assert(c,"expected #{this} to "+o+s,"expected #{this} to not "+o+s,g.slice(0).sort(yw),l.sort(yw),!0)}Oe(KG,"assertKeys");re.addMethod("keys",KG);re.addMethod("key",KG);function EA(e,t,r){r&&Ae(this,"message",r);var n=Ae(this,"object"),i=Ae(this,"ssfi"),a=Ae(this,"message"),s=Ae(this,"negate")||!1;new re(n,a,i,!0).is.a("function"),(Tw(e)||typeof e=="string")&&(t=e,e=null);let o,l=!1;try{n()}catch(v){l=!0,o=v}var c=e===void 0&&t===void 0,u=!!(e&&t),d=!1,h=!1;if(c||!c&&!s){var p="an error";e instanceof Error?p="#{exp}":e&&(p=$a.getConstructorName(e));let v=o;if(o instanceof Error)v=o.toString();else if(typeof o=="string")v=o;else if(o&&(typeof o=="object"||typeof o=="function"))try{v=$a.getConstructorName(o)}catch(S){}this.assert(l,"expected #{this} to throw "+p,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),v)}if(e&&o){if(e instanceof Error){var m=$a.compatibleInstance(o,e);m===s&&(u&&s?d=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(o&&!s?" but #{act} was thrown":""),e.toString(),o.toString()))}var g=$a.compatibleConstructor(o,e);g===s&&(u&&s?d=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(o?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&$a.getConstructorName(e),o instanceof Error?o.toString():o&&$a.getConstructorName(o)))}if(o&&t!==void 0&&t!==null){var b="including";Tw(t)&&(b="matching");var y=$a.compatibleMessage(o,t);y===s&&(u&&s?h=!0:this.assert(s,"expected #{this} to throw error "+b+" #{exp} but got #{act}","expected #{this} to throw error not "+b+" #{exp}",t,$a.getMessage(o)))}d&&h&&this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(o?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&$a.getConstructorName(e),o instanceof Error?o.toString():o&&$a.getConstructorName(o)),Ae(this,"object",o)}Oe(EA,"assertThrows");re.addMethod("throw",EA);re.addMethod("throws",EA);re.addMethod("Throw",EA);function XG(e,t){t&&Ae(this,"message",t);var r=Ae(this,"object"),n=Ae(this,"itself"),i=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof i=="function","expected #{this} to respond to "+Ir(e),"expected #{this} to not respond to "+Ir(e))}Oe(XG,"respondTo");re.addMethod("respondTo",XG);re.addMethod("respondsTo",XG);re.addProperty("itself",function(){Ae(this,"itself",!0)});function QG(e,t){t&&Ae(this,"message",t);var r=Ae(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+nh(e),"expected #{this} to not satisfy"+nh(e),!Ae(this,"negate"),n)}Oe(QG,"satisfy");re.addMethod("satisfy",QG);re.addMethod("satisfies",QG);function JG(e,t,r){r&&Ae(this,"message",r);var n=Ae(this,"object"),i=Ae(this,"message"),a=Ae(this,"ssfi");new re(n,i,a,!0).is.numeric;let s="A `delta` value is required for `closeTo`";if(t==null)throw new Fr(i?`${i}: ${s}`:s,void 0,a);if(new re(t,i,a,!0).is.numeric,s="A `expected` value is required for `closeTo`",e==null)throw new Fr(i?`${i}: ${s}`:s,void 0,a);new re(e,i,a,!0).is.numeric;let o=Oe(c=>c<BigInt(0)?-c:c,"abs"),l=Oe(c=>parseFloat(parseFloat(c).toPrecision(12)),"strip");this.assert(l(o(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}Oe(JG,"closeTo");re.addMethod("closeTo",JG);re.addMethod("approximately",JG);function QEe(e,t,r,n,i){let a=Array.from(t),s=Array.from(e);if(!n){if(s.length!==a.length)return!1;a=a.slice()}return s.every(function(o,l){if(i)return r?r(o,a[l]):o===a[l];if(!r){var c=a.indexOf(o);return c===-1?!1:(n||a.splice(c,1),!0)}return a.some(function(u,d){return r(o,u)?(n||a.splice(d,1),!0):!1})})}Oe(QEe,"isSubsetOf");re.addMethod("members",function(e,t){t&&Ae(this,"message",t);var r=Ae(this,"object"),n=Ae(this,"message"),i=Ae(this,"ssfi");new re(r,n,i,!0).to.be.iterable,new re(e,n,i,!0).to.be.iterable;var a=Ae(this,"contains"),s=Ae(this,"ordered"),o,l,c;a?(o=s?"an ordered superset":"a superset",l="expected #{this} to be "+o+" of #{exp}",c="expected #{this} to not be "+o+" of #{exp}"):(o=s?"ordered members":"members",l="expected #{this} to have the same "+o+" as #{exp}",c="expected #{this} to not have the same "+o+" as #{exp}");var u=Ae(this,"deep")?Ae(this,"eql"):void 0;this.assert(QEe(e,r,u,a,s),l,c,e,r,!0)});re.addProperty("iterable",function(e){e&&Ae(this,"message",e);var t=Ae(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function JEe(e,t){t&&Ae(this,"message",t);var r=Ae(this,"object"),n=Ae(this,"message"),i=Ae(this,"ssfi"),a=Ae(this,"contains"),s=Ae(this,"deep"),o=Ae(this,"eql");new re(e,n,i,!0).to.be.an("array"),a?this.assert(e.some(function(l){return r.indexOf(l)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):s?this.assert(e.some(function(l){return o(r,l)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}Oe(JEe,"oneOf");re.addMethod("oneOf",JEe);function ZG(e,t,r){r&&Ae(this,"message",r);var n=Ae(this,"object"),i=Ae(this,"message"),a=Ae(this,"ssfi");new re(n,i,a,!0).is.a("function");var s;t?(new re(e,i,a,!0).to.have.property(t),s=e[t]):(new re(e,i,a,!0).is.a("function"),s=e()),n();var o=t==null?e():e[t],l=t==null?s:"."+t;Ae(this,"deltaMsgObj",l),Ae(this,"initialDeltaValue",s),Ae(this,"finalDeltaValue",o),Ae(this,"deltaBehavior","change"),Ae(this,"realDelta",o!==s),this.assert(s!==o,"expected "+l+" to change","expected "+l+" to not change")}Oe(ZG,"assertChanges");re.addMethod("change",ZG);re.addMethod("changes",ZG);function eV(e,t,r){r&&Ae(this,"message",r);var n=Ae(this,"object"),i=Ae(this,"message"),a=Ae(this,"ssfi");new re(n,i,a,!0).is.a("function");var s;t?(new re(e,i,a,!0).to.have.property(t),s=e[t]):(new re(e,i,a,!0).is.a("function"),s=e()),new re(s,i,a,!0).is.a("number"),n();var o=t==null?e():e[t],l=t==null?s:"."+t;Ae(this,"deltaMsgObj",l),Ae(this,"initialDeltaValue",s),Ae(this,"finalDeltaValue",o),Ae(this,"deltaBehavior","increase"),Ae(this,"realDelta",o-s),this.assert(o-s>0,"expected "+l+" to increase","expected "+l+" to not increase")}Oe(eV,"assertIncreases");re.addMethod("increase",eV);re.addMethod("increases",eV);function tV(e,t,r){r&&Ae(this,"message",r);var n=Ae(this,"object"),i=Ae(this,"message"),a=Ae(this,"ssfi");new re(n,i,a,!0).is.a("function");var s;t?(new re(e,i,a,!0).to.have.property(t),s=e[t]):(new re(e,i,a,!0).is.a("function"),s=e()),new re(s,i,a,!0).is.a("number"),n();var o=t==null?e():e[t],l=t==null?s:"."+t;Ae(this,"deltaMsgObj",l),Ae(this,"initialDeltaValue",s),Ae(this,"finalDeltaValue",o),Ae(this,"deltaBehavior","decrease"),Ae(this,"realDelta",s-o),this.assert(o-s<0,"expected "+l+" to decrease","expected "+l+" to not decrease")}Oe(tV,"assertDecreases");re.addMethod("decrease",tV);re.addMethod("decreases",tV);function ZEe(e,t){t&&Ae(this,"message",t);var r=Ae(this,"deltaMsgObj"),n=Ae(this,"initialDeltaValue"),i=Ae(this,"finalDeltaValue"),a=Ae(this,"deltaBehavior"),s=Ae(this,"realDelta"),o;a==="change"?o=Math.abs(i-n)===Math.abs(e):o=s===Math.abs(e),this.assert(o,"expected "+r+" to "+a+" by "+e,"expected "+r+" to not "+a+" by "+e)}Oe(ZEe,"assertDelta");re.addMethod("by",ZEe);re.addProperty("extensible",function(){var e=Ae(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});re.addProperty("sealed",function(){var e=Ae(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});re.addProperty("frozen",function(){var e=Ae(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});re.addProperty("finite",function(e){var t=Ae(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function Sw(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return Sw(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){var n=e[r],i=t[r];return typeof n=="object"&&n!==null&&i!==null?Sw(n,i):typeof n=="function"?n(i):i===n}):!1}Oe(Sw,"compareSubset");re.addMethod("containSubset",function(e){let t=Zt(this,"object"),r=oa.showDiff;this.assert(Sw(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function ih(e,t){return new re(e,t)}Oe(ih,"expect");ih.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new Fr(r,{actual:e,expected:t,operator:n},ih.fail)};var ePe={};SG(ePe,{Should:()=>iBt,should:()=>nBt});function rV(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new re(this.valueOf(),null,e):new re(this,null,e)}Oe(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}Oe(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,i,a,s){throw arguments.length<2&&(a=n,n=void 0),a=a||"should.fail()",new Fr(a,{actual:n,expected:i,operator:s},r.fail)},r.equal=function(n,i,a){new re(n,a).to.equal(i)},r.Throw=function(n,i,a,s){new re(n,s).to.Throw(i,a)},r.exist=function(n,i){new re(n,i).to.exist},r.not={},r.not.equal=function(n,i,a){new re(n,a).to.not.equal(i)},r.not.Throw=function(n,i,a,s){new re(n,s).to.not.Throw(i,a)},r.not.exist=function(n,i){new re(n,i).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}Oe(rV,"loadShould");var nBt=rV,iBt=rV;function te(e,t){var r=new re(null,null,te,!0);r.assert(e,t,"[ negation message unavailable ]")}Oe(te,"assert");te.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new Fr(r,{actual:e,expected:t,operator:n},te.fail)};te.isOk=function(e,t){new re(e,t,te.isOk,!0).is.ok};te.isNotOk=function(e,t){new re(e,t,te.isNotOk,!0).is.not.ok};te.equal=function(e,t,r){var n=new re(e,r,te.equal,!0);n.assert(t==Zt(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};te.notEqual=function(e,t,r){var n=new re(e,r,te.notEqual,!0);n.assert(t!=Zt(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};te.strictEqual=function(e,t,r){new re(e,r,te.strictEqual,!0).to.equal(t)};te.notStrictEqual=function(e,t,r){new re(e,r,te.notStrictEqual,!0).to.not.equal(t)};te.deepEqual=te.deepStrictEqual=function(e,t,r){new re(e,r,te.deepEqual,!0).to.eql(t)};te.notDeepEqual=function(e,t,r){new re(e,r,te.notDeepEqual,!0).to.not.eql(t)};te.isAbove=function(e,t,r){new re(e,r,te.isAbove,!0).to.be.above(t)};te.isAtLeast=function(e,t,r){new re(e,r,te.isAtLeast,!0).to.be.least(t)};te.isBelow=function(e,t,r){new re(e,r,te.isBelow,!0).to.be.below(t)};te.isAtMost=function(e,t,r){new re(e,r,te.isAtMost,!0).to.be.most(t)};te.isTrue=function(e,t){new re(e,t,te.isTrue,!0).is.true};te.isNotTrue=function(e,t){new re(e,t,te.isNotTrue,!0).to.not.equal(!0)};te.isFalse=function(e,t){new re(e,t,te.isFalse,!0).is.false};te.isNotFalse=function(e,t){new re(e,t,te.isNotFalse,!0).to.not.equal(!1)};te.isNull=function(e,t){new re(e,t,te.isNull,!0).to.equal(null)};te.isNotNull=function(e,t){new re(e,t,te.isNotNull,!0).to.not.equal(null)};te.isNaN=function(e,t){new re(e,t,te.isNaN,!0).to.be.NaN};te.isNotNaN=function(e,t){new re(e,t,te.isNotNaN,!0).not.to.be.NaN};te.exists=function(e,t){new re(e,t,te.exists,!0).to.exist};te.notExists=function(e,t){new re(e,t,te.notExists,!0).to.not.exist};te.isUndefined=function(e,t){new re(e,t,te.isUndefined,!0).to.equal(void 0)};te.isDefined=function(e,t){new re(e,t,te.isDefined,!0).to.not.equal(void 0)};te.isCallable=function(e,t){new re(e,t,te.isCallable,!0).is.callable};te.isNotCallable=function(e,t){new re(e,t,te.isNotCallable,!0).is.not.callable};te.isObject=function(e,t){new re(e,t,te.isObject,!0).to.be.a("object")};te.isNotObject=function(e,t){new re(e,t,te.isNotObject,!0).to.not.be.a("object")};te.isArray=function(e,t){new re(e,t,te.isArray,!0).to.be.an("array")};te.isNotArray=function(e,t){new re(e,t,te.isNotArray,!0).to.not.be.an("array")};te.isString=function(e,t){new re(e,t,te.isString,!0).to.be.a("string")};te.isNotString=function(e,t){new re(e,t,te.isNotString,!0).to.not.be.a("string")};te.isNumber=function(e,t){new re(e,t,te.isNumber,!0).to.be.a("number")};te.isNotNumber=function(e,t){new re(e,t,te.isNotNumber,!0).to.not.be.a("number")};te.isNumeric=function(e,t){new re(e,t,te.isNumeric,!0).is.numeric};te.isNotNumeric=function(e,t){new re(e,t,te.isNotNumeric,!0).is.not.numeric};te.isFinite=function(e,t){new re(e,t,te.isFinite,!0).to.be.finite};te.isBoolean=function(e,t){new re(e,t,te.isBoolean,!0).to.be.a("boolean")};te.isNotBoolean=function(e,t){new re(e,t,te.isNotBoolean,!0).to.not.be.a("boolean")};te.typeOf=function(e,t,r){new re(e,r,te.typeOf,!0).to.be.a(t)};te.notTypeOf=function(e,t,r){new re(e,r,te.notTypeOf,!0).to.not.be.a(t)};te.instanceOf=function(e,t,r){new re(e,r,te.instanceOf,!0).to.be.instanceOf(t)};te.notInstanceOf=function(e,t,r){new re(e,r,te.notInstanceOf,!0).to.not.be.instanceOf(t)};te.include=function(e,t,r){new re(e,r,te.include,!0).include(t)};te.notInclude=function(e,t,r){new re(e,r,te.notInclude,!0).not.include(t)};te.deepInclude=function(e,t,r){new re(e,r,te.deepInclude,!0).deep.include(t)};te.notDeepInclude=function(e,t,r){new re(e,r,te.notDeepInclude,!0).not.deep.include(t)};te.nestedInclude=function(e,t,r){new re(e,r,te.nestedInclude,!0).nested.include(t)};te.notNestedInclude=function(e,t,r){new re(e,r,te.notNestedInclude,!0).not.nested.include(t)};te.deepNestedInclude=function(e,t,r){new re(e,r,te.deepNestedInclude,!0).deep.nested.include(t)};te.notDeepNestedInclude=function(e,t,r){new re(e,r,te.notDeepNestedInclude,!0).not.deep.nested.include(t)};te.ownInclude=function(e,t,r){new re(e,r,te.ownInclude,!0).own.include(t)};te.notOwnInclude=function(e,t,r){new re(e,r,te.notOwnInclude,!0).not.own.include(t)};te.deepOwnInclude=function(e,t,r){new re(e,r,te.deepOwnInclude,!0).deep.own.include(t)};te.notDeepOwnInclude=function(e,t,r){new re(e,r,te.notDeepOwnInclude,!0).not.deep.own.include(t)};te.match=function(e,t,r){new re(e,r,te.match,!0).to.match(t)};te.notMatch=function(e,t,r){new re(e,r,te.notMatch,!0).to.not.match(t)};te.property=function(e,t,r){new re(e,r,te.property,!0).to.have.property(t)};te.notProperty=function(e,t,r){new re(e,r,te.notProperty,!0).to.not.have.property(t)};te.propertyVal=function(e,t,r,n){new re(e,n,te.propertyVal,!0).to.have.property(t,r)};te.notPropertyVal=function(e,t,r,n){new re(e,n,te.notPropertyVal,!0).to.not.have.property(t,r)};te.deepPropertyVal=function(e,t,r,n){new re(e,n,te.deepPropertyVal,!0).to.have.deep.property(t,r)};te.notDeepPropertyVal=function(e,t,r,n){new re(e,n,te.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};te.ownProperty=function(e,t,r){new re(e,r,te.ownProperty,!0).to.have.own.property(t)};te.notOwnProperty=function(e,t,r){new re(e,r,te.notOwnProperty,!0).to.not.have.own.property(t)};te.ownPropertyVal=function(e,t,r,n){new re(e,n,te.ownPropertyVal,!0).to.have.own.property(t,r)};te.notOwnPropertyVal=function(e,t,r,n){new re(e,n,te.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};te.deepOwnPropertyVal=function(e,t,r,n){new re(e,n,te.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};te.notDeepOwnPropertyVal=function(e,t,r,n){new re(e,n,te.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};te.nestedProperty=function(e,t,r){new re(e,r,te.nestedProperty,!0).to.have.nested.property(t)};te.notNestedProperty=function(e,t,r){new re(e,r,te.notNestedProperty,!0).to.not.have.nested.property(t)};te.nestedPropertyVal=function(e,t,r,n){new re(e,n,te.nestedPropertyVal,!0).to.have.nested.property(t,r)};te.notNestedPropertyVal=function(e,t,r,n){new re(e,n,te.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};te.deepNestedPropertyVal=function(e,t,r,n){new re(e,n,te.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};te.notDeepNestedPropertyVal=function(e,t,r,n){new re(e,n,te.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};te.lengthOf=function(e,t,r){new re(e,r,te.lengthOf,!0).to.have.lengthOf(t)};te.hasAnyKeys=function(e,t,r){new re(e,r,te.hasAnyKeys,!0).to.have.any.keys(t)};te.hasAllKeys=function(e,t,r){new re(e,r,te.hasAllKeys,!0).to.have.all.keys(t)};te.containsAllKeys=function(e,t,r){new re(e,r,te.containsAllKeys,!0).to.contain.all.keys(t)};te.doesNotHaveAnyKeys=function(e,t,r){new re(e,r,te.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};te.doesNotHaveAllKeys=function(e,t,r){new re(e,r,te.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};te.hasAnyDeepKeys=function(e,t,r){new re(e,r,te.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};te.hasAllDeepKeys=function(e,t,r){new re(e,r,te.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};te.containsAllDeepKeys=function(e,t,r){new re(e,r,te.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};te.doesNotHaveAnyDeepKeys=function(e,t,r){new re(e,r,te.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};te.doesNotHaveAllDeepKeys=function(e,t,r){new re(e,r,te.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};te.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var i=new re(e,n,te.throws,!0).to.throw(t,r);return Zt(i,"object")};te.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new re(e,n,te.doesNotThrow,!0).to.not.throw(t,r)};te.operator=function(e,t,r,n){var i;switch(t){case"==":i=e==r;break;case"===":i=e===r;break;case">":i=e>r;break;case">=":i=e>=r;break;case"<":i=e<r;break;case"<=":i=e<=r;break;case"!=":i=e!=r;break;case"!==":i=e!==r;break;default:throw n=n&&n+": ",new Fr(n+'Invalid operator "'+t+'"',void 0,te.operator)}var a=new re(i,n,te.operator,!0);a.assert(Zt(a,"object")===!0,"expected "+Ir(e)+" to be "+t+" "+Ir(r),"expected "+Ir(e)+" to not be "+t+" "+Ir(r))};te.closeTo=function(e,t,r,n){new re(e,n,te.closeTo,!0).to.be.closeTo(t,r)};te.approximately=function(e,t,r,n){new re(e,n,te.approximately,!0).to.be.approximately(t,r)};te.sameMembers=function(e,t,r){new re(e,r,te.sameMembers,!0).to.have.same.members(t)};te.notSameMembers=function(e,t,r){new re(e,r,te.notSameMembers,!0).to.not.have.same.members(t)};te.sameDeepMembers=function(e,t,r){new re(e,r,te.sameDeepMembers,!0).to.have.same.deep.members(t)};te.notSameDeepMembers=function(e,t,r){new re(e,r,te.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};te.sameOrderedMembers=function(e,t,r){new re(e,r,te.sameOrderedMembers,!0).to.have.same.ordered.members(t)};te.notSameOrderedMembers=function(e,t,r){new re(e,r,te.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};te.sameDeepOrderedMembers=function(e,t,r){new re(e,r,te.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};te.notSameDeepOrderedMembers=function(e,t,r){new re(e,r,te.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};te.includeMembers=function(e,t,r){new re(e,r,te.includeMembers,!0).to.include.members(t)};te.notIncludeMembers=function(e,t,r){new re(e,r,te.notIncludeMembers,!0).to.not.include.members(t)};te.includeDeepMembers=function(e,t,r){new re(e,r,te.includeDeepMembers,!0).to.include.deep.members(t)};te.notIncludeDeepMembers=function(e,t,r){new re(e,r,te.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};te.includeOrderedMembers=function(e,t,r){new re(e,r,te.includeOrderedMembers,!0).to.include.ordered.members(t)};te.notIncludeOrderedMembers=function(e,t,r){new re(e,r,te.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};te.includeDeepOrderedMembers=function(e,t,r){new re(e,r,te.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};te.notIncludeDeepOrderedMembers=function(e,t,r){new re(e,r,te.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};te.oneOf=function(e,t,r){new re(e,r,te.oneOf,!0).to.be.oneOf(t)};te.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${Ir(e)} to be an iterable`:`expected ${Ir(e)} to be an iterable`,new Fr(t,void 0,te.isIterable)};te.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new re(e,n,te.changes,!0).to.change(t,r)};te.changesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new re(e,i,te.changesBy,!0).to.change(t,r).by(n)};te.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new re(e,n,te.doesNotChange,!0).to.not.change(t,r)};te.changesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new re(e,i,te.changesButNotBy,!0).to.change(t,r).but.not.by(n)};te.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new re(e,n,te.increases,!0).to.increase(t,r)};te.increasesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new re(e,i,te.increasesBy,!0).to.increase(t,r).by(n)};te.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new re(e,n,te.doesNotIncrease,!0).to.not.increase(t,r)};te.increasesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new re(e,i,te.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};te.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new re(e,n,te.decreases,!0).to.decrease(t,r)};te.decreasesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new re(e,i,te.decreasesBy,!0).to.decrease(t,r).by(n)};te.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new re(e,n,te.doesNotDecrease,!0).to.not.decrease(t,r)};te.doesNotDecreaseBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);return new re(e,i,te.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};te.decreasesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,i=a}else arguments.length===3&&(n=r,r=null);new re(e,i,te.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};te.ifError=function(e){if(e)throw e};te.isExtensible=function(e,t){new re(e,t,te.isExtensible,!0).to.be.extensible};te.isNotExtensible=function(e,t){new re(e,t,te.isNotExtensible,!0).to.not.be.extensible};te.isSealed=function(e,t){new re(e,t,te.isSealed,!0).to.be.sealed};te.isNotSealed=function(e,t){new re(e,t,te.isNotSealed,!0).to.not.be.sealed};te.isFrozen=function(e,t){new re(e,t,te.isFrozen,!0).to.be.frozen};te.isNotFrozen=function(e,t){new re(e,t,te.isNotFrozen,!0).to.not.be.frozen};te.isEmpty=function(e,t){new re(e,t,te.isEmpty,!0).to.be.empty};te.isNotEmpty=function(e,t){new re(e,t,te.isNotEmpty,!0).to.not.be.empty};te.containsSubset=function(e,t,r){new re(e,r).to.containSubset(t)};te.doesNotContainSubset=function(e,t,r){new re(e,r).to.not.containSubset(t)};var aBt=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(let[e,t]of aBt)te[t]=te[e];var bne=[];function Wm(e){let t={use:Wm,AssertionError:Fr,util:gl,config:oa,expect:ih,assert:te,Assertion:re,...ePe};return~bne.indexOf(e)||(e(t,gl),bne.push(e)),t}Oe(Wm,"use");var tPe={};fG(tPe,{toBeChecked:()=>WPe,toBeDisabled:()=>DPe,toBeEmpty:()=>TPe,toBeEmptyDOMElement:()=>SPe,toBeEnabled:()=>LPe,toBeInTheDOM:()=>OL,toBeInTheDocument:()=>vPe,toBeInvalid:()=>BPe,toBePartiallyChecked:()=>UPe,toBeRequired:()=>FPe,toBeValid:()=>NPe,toBeVisible:()=>RPe,toContainElement:()=>ML,toContainHTML:()=>xPe,toHaveAccessibleDescription:()=>kL,toHaveAccessibleErrorMessage:()=>_Pe,toHaveAccessibleName:()=>LL,toHaveAttribute:()=>APe,toHaveClass:()=>CPe,toHaveDescription:()=>GPe,toHaveDisplayValue:()=>zPe,toHaveErrorMessage:()=>VPe,toHaveFocus:()=>EPe,toHaveFormValues:()=>PPe,toHaveRole:()=>DL,toHaveStyle:()=>FL,toHaveTextContent:()=>wPe,toHaveValue:()=>qPe});var yne=ss(X9e(),1);function rPe(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function nV(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var nPe={};rPe(nPe);nV(nPe,"default",()=>iPe);var iPe=class extends Error{constructor(e,t,r,n,i){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=i}},aPe={};rPe(aPe);nV(aPe,"default",()=>sPe);var sPe=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},sBt={};nV(sBt,"CssTypes",()=>Sn);var Sn;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(Sn||(Sn={}));var tE=/\/\*[^]*?(?:\*\/|$)/g,oBt=(e,t)=>{t=t||{};let r=1,n=1;function i(U){let W=U.match(/\n/g);W&&(r+=W.length);let H=U.lastIndexOf(`
`);n=~H?U.length-H:n+U.length}function a(){let U={line:r,column:n};return function(W){return W.position=new sPe(U,{line:r,column:n},(t==null?void 0:t.source)||""),p(),W}}let s=[];function o(U){let W=new iPe((t==null?void 0:t.source)||"",U,r,n,e);if(t!=null&&t.silent)s.push(W);else throw W}function l(){let U=d();return{type:Sn.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:U,parsingErrors:s}}}function c(){return h(/^{\s*/)}function u(){return h(/^}/)}function d(){let U,W=[];for(p(),m(W);e.length&&e.charAt(0)!=="}"&&(U=he()||fe());)U&&(W.push(U),m(W));return W}function h(U){let W=U.exec(e);if(!W)return;let H=W[0];return i(H),e=e.slice(H.length),W}function p(){h(/^\s*/)}function m(U){let W;for(U=U||[];W=g();)W&&U.push(W);return U}function g(){let U=a();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let W=h(/^\/\*[^]*?\*\//);return W?U({type:Sn.comment,comment:W[0].slice(2,-2)}):o("End of comment missing")}function b(U,W,H){let ie=W+1,J=!1,we=U.indexOf(")",ie);for(;!J&&we!==-1;){let Le=U.indexOf("(",ie);Le!==-1&&Le<we?(ie=b(U,Le+1)+1,we=U.indexOf(")",ie)):J=!0}return J&&we!==-1?we:-1}function y(){let U=h(/^([^{]+)/);if(!U)return;let W=ds(U[0]).replace(tE,"");if(W.indexOf(",")===-1)return[W];let H=0,ie=W.indexOf("(",H);for(;ie!==-1;){let J=b(W,ie);if(J===-1)break;H=J+1,W=W.substring(0,ie)+W.substring(ie,J).replace(/,/g,"")+W.substring(J),ie=W.indexOf("(",H)}return W=W.replace(/("|')(?:\\\1|.)*?\1/g,J=>J.replace(/,/g,"")),W.split(",").map(J=>ds(J.replace(/\u200C/g,",")))}function v(){let U=a(),W=h(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!W)return;let H=ds(W[0]);if(!h(/^:\s*/))return o("property missing ':'");let ie=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),J=U({type:Sn.declaration,property:H.replace(tE,""),value:ie?ds(ie[0]).replace(tE,""):""});return h(/^[;\s]*/),J}function S(){let U=[];if(!c())return o("missing '{'");m(U);let W;for(;W=v();)W&&(U.push(W),m(U));return u()?U:o("missing '}'")}function x(){let U,W=[],H=a();for(;U=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)W.push(U[1]),h(/^,\s*/);if(W.length)return H({type:Sn.keyframe,values:W,declarations:S()||[]})}function w(){let U=a(),W=h(/^@([-\w]+)?keyframes\s*/);if(!W)return;let H=W[1],ie=h(/^([-\w]+)\s*/);if(!ie)return o("@keyframes missing name");let J=ie[1];if(!c())return o("@keyframes missing '{'");let we,Le=m();for(;we=x();)Le.push(we),Le=Le.concat(m());return u()?U({type:Sn.keyframes,name:J,vendor:H,keyframes:Le}):o("@keyframes missing '}'")}function A(){let U=a(),W=h(/^@supports *([^{]+)/);if(!W)return;let H=ds(W[1]);if(!c())return o("@supports missing '{'");let ie=m().concat(d());return u()?U({type:Sn.supports,supports:H,rules:ie}):o("@supports missing '}'")}function _(){let U=a();if(!h(/^@host\s*/))return;if(!c())return o("@host missing '{'");let W=m().concat(d());return u()?U({type:Sn.host,rules:W}):o("@host missing '}'")}function C(){let U=a(),W=h(/^@container *([^{]+)/);if(!W)return;let H=ds(W[1]);if(!c())return o("@container missing '{'");let ie=m().concat(d());return u()?U({type:Sn.container,container:H,rules:ie}):o("@container missing '}'")}function E(){let U=a(),W=h(/^@layer *([^{;@]+)/);if(!W)return;let H=ds(W[1]);if(!c())return h(/^[;\s]*/),U({type:Sn.layer,layer:H});let ie=m().concat(d());return u()?U({type:Sn.layer,layer:H,rules:ie}):o("@layer missing '}'")}function R(){let U=a(),W=h(/^@media *([^{]+)/);if(!W)return;let H=ds(W[1]);if(!c())return o("@media missing '{'");let ie=m().concat(d());return u()?U({type:Sn.media,media:H,rules:ie}):o("@media missing '}'")}function P(){let U=a(),W=h(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(W)return U({type:Sn.customMedia,name:ds(W[1]),media:ds(W[2])})}function O(){let U=a();if(!h(/^@page */))return;let W=y()||[];if(!c())return o("@page missing '{'");let H=m(),ie;for(;ie=v();)H.push(ie),H=H.concat(m());return u()?U({type:Sn.page,selectors:W,declarations:H}):o("@page missing '}'")}function k(){let U=a(),W=h(/^@([-\w]+)?document *([^{]+)/);if(!W)return;let H=ds(W[1]),ie=ds(W[2]);if(!c())return o("@document missing '{'");let J=m().concat(d());return u()?U({type:Sn.document,document:ie,vendor:H,rules:J}):o("@document missing '}'")}function I(){let U=a();if(!h(/^@font-face\s*/))return;if(!c())return o("@font-face missing '{'");let W=m(),H;for(;H=v();)W.push(H),W=W.concat(m());return u()?U({type:Sn.fontFace,declarations:W}):o("@font-face missing '}'")}function M(){let U=a();if(!h(/^@starting-style\s*/))return;if(!c())return o("@starting-style missing '{'");let W=m().concat(d());return u()?U({type:Sn.startingStyle,rules:W}):o("@starting-style missing '}'")}let D=Y("import"),F=Y("charset"),$=Y("namespace");function Y(U){let W=new RegExp("^@"+U+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let H=a(),ie=h(W);if(!ie)return;let J={type:U};return J[U]=ie[1].trim(),H(J)}}function he(){if(e[0]==="@")return w()||R()||P()||A()||D()||F()||$()||k()||O()||_()||I()||C()||M()||E()}function fe(){let U=a(),W=y();return W?(m(),U({type:Sn.rule,selectors:W,declarations:S()||[]})):o("selector missing")}return RL(l())};function ds(e){return e?e.trim():""}function RL(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let i in e){let a=e[i];Array.isArray(a)?a.forEach(s=>{RL(s,n)}):a&&typeof a=="object"&&RL(a,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var lBt=oBt,cBt=lBt,uBt=Object.prototype.toString;function dBt(e){return typeof e=="function"||uBt.call(e)==="[object Function]"}function pBt(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var hBt=Math.pow(2,53)-1;function fBt(e){var t=pBt(e);return Math.min(Math.max(t,0),hBt)}function ao(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var i=fBt(n.length),a=dBt(r)?Object(new r(i)):new Array(i),s=0,o;s<i;)o=n[s],a[s]=o,s+=1;return a.length=i,a}function k7(e){"@babel/helpers - typeof";return k7=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k7(e)}function mBt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gBt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,oPe(n.key),n)}}function bBt(e,t,r){return t&&gBt(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function yBt(e,t,r){return t=oPe(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oPe(e){var t=vBt(e,"string");return k7(t)==="symbol"?t:String(t)}function vBt(e,t){if(k7(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(k7(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var TBt=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];mBt(this,e),yBt(this,"items",void 0),this.items=t}return bBt(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),SBt=typeof Set>"u"?Set:TBt;function Wi(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var xBt={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},wBt={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function _Bt(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=wBt[t])!==null&&n!==void 0&&n.has(r))})}function lPe(e,t){return _Bt(e,t)}function ABt(e){var t=EBt(e);if(t===null||IL.indexOf(t)!==-1){var r=CBt(e);if(IL.indexOf(t||"")===-1||lPe(e,r||""))return r}return t}function CBt(e){var t=xBt[Wi(e)];if(t!==void 0)return t;switch(Wi(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!lPe(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function EBt(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var IL=["presentation","none"];function R0(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function cPe(e){return R0(e)&&Wi(e)==="caption"}function UT(e){return R0(e)&&Wi(e)==="input"}function PBt(e){return R0(e)&&Wi(e)==="optgroup"}function jBt(e){return R0(e)&&Wi(e)==="select"}function RBt(e){return R0(e)&&Wi(e)==="table"}function IBt(e){return R0(e)&&Wi(e)==="textarea"}function OBt(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function MBt(e){return R0(e)&&Wi(e)==="fieldset"}function kBt(e){return R0(e)&&Wi(e)==="legend"}function DBt(e){return R0(e)&&Wi(e)==="slot"}function LBt(e){return R0(e)&&e.ownerSVGElement!==void 0}function FBt(e){return R0(e)&&Wi(e)==="svg"}function $Bt(e){return LBt(e)&&Wi(e)==="title"}function xw(e,t){if(R0(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(i){return n.getElementById(i)}).filter(function(i){return i!==null})}return[]}function $c(e,t){return R0(e)?t.indexOf(ABt(e))!==-1:!1}function BBt(e){return e.trim().replace(/\s\s+/g," ")}function NBt(e,t){if(!R0(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function qBt(e){return $c(e,["button","combobox","listbox","textbox"])||uPe(e,"range")}function uPe(e,t){if(!R0(e))return!1;switch(t){case"range":return $c(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function vne(e,t){var r=ao(e.querySelectorAll(t));return xw(e,"aria-owns").forEach(function(n){r.push.apply(r,ao(n.querySelectorAll(t)))}),r}function zBt(e){return jBt(e)?e.selectedOptions||vne(e,"[selected]"):vne(e,'[aria-selected="true"]')}function WBt(e){return $c(e,IL)}function HBt(e){return cPe(e)}function UBt(e){return $c(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function GBt(e){return!1}function VBt(e){return UT(e)||IBt(e)?e.value:e.textContent||""}function Tne(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function dPe(e){var t=Wi(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function pPe(e){if(dPe(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&R0(r)){var n=pPe(r);n!==null&&(t=n)}}),t}function YBt(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):pPe(e)}function KBt(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ao(t);if(!dPe(e))return null;var r=e.ownerDocument;return ao(r.querySelectorAll("label")).filter(function(n){return YBt(n)===e})}function XBt(e){var t=e.assignedNodes();return t.length===0?ao(e.childNodes):t}function hPe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new SBt,n=OBt(e),i=t.compute,a=i===void 0?"name":i,s=t.computedStyleSupportsPseudoElements,o=s===void 0?t.getComputedStyle!==void 0:s,l=t.getComputedStyle,c=l===void 0?n.getComputedStyle.bind(n):l,u=t.hidden,d=u===void 0?!1:u;function h(y,v){var S="";if(R0(y)&&o){var x=c(y,"::before"),w=Tne(x);S="".concat(w," ").concat(S)}var A=DBt(y)?XBt(y):ao(y.childNodes).concat(xw(y,"aria-owns"));if(A.forEach(function(E){var R=b(E,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),P=R0(E)?c(E).getPropertyValue("display"):"inline",O=P!=="inline"?" ":"";S+="".concat(O).concat(R).concat(O)}),R0(y)&&o){var _=c(y,"::after"),C=Tne(_);S="".concat(S," ").concat(C)}return S.trim()}function p(y,v){var S=y.getAttributeNode(v);return S!==null&&!r.has(S)&&S.value.trim()!==""?(r.add(S),S.value):null}function m(y){return R0(y)?p(y,"title"):null}function g(y){if(!R0(y))return null;if(MBt(y)){r.add(y);for(var v=ao(y.childNodes),S=0;S<v.length;S+=1){var x=v[S];if(kBt(x))return b(x,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(RBt(y)){r.add(y);for(var w=ao(y.childNodes),A=0;A<w.length;A+=1){var _=w[A];if(cPe(_))return b(_,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(FBt(y)){r.add(y);for(var C=ao(y.childNodes),E=0;E<C.length;E+=1){var R=C[E];if($Bt(R))return R.textContent}return null}else if(Wi(y)==="img"||Wi(y)==="area"){var P=p(y,"alt");if(P!==null)return P}else if(PBt(y)){var O=p(y,"label");if(O!==null)return O}if(UT(y)&&(y.type==="button"||y.type==="submit"||y.type==="reset")){var k=p(y,"value");if(k!==null)return k;if(y.type==="submit")return"Submit";if(y.type==="reset")return"Reset"}var I=KBt(y);if(I!==null&&I.length!==0)return r.add(y),ao(I).map(function($){return b($,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function($){return $.length>0}).join(" ");if(UT(y)&&y.type==="image"){var M=p(y,"alt");if(M!==null)return M;var D=p(y,"title");return D!==null?D:"Submit Query"}if($c(y,["button"])){var F=h(y,{isEmbeddedInLabel:!1});if(F!=="")return F}return null}function b(y,v){if(r.has(y))return"";if(!d&&NBt(y,c)&&!v.isReferenced)return r.add(y),"";var S=R0(y)?y.getAttributeNode("aria-labelledby"):null,x=S!==null&&!r.has(S)?xw(y,"aria-labelledby"):[];if(a==="name"&&!v.isReferenced&&x.length>0)return r.add(S),x.map(function(P){return b(P,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var w=v.recursion&&qBt(y)&&a==="name";if(!w){var A=(R0(y)&&y.getAttribute("aria-label")||"").trim();if(A!==""&&a==="name")return r.add(y),A;if(!WBt(y)){var _=g(y);if(_!==null)return r.add(y),_}}if($c(y,["menu"]))return r.add(y),"";if(w||v.isEmbeddedInLabel||v.isReferenced){if($c(y,["combobox","listbox"])){r.add(y);var C=zBt(y);return C.length===0?UT(y)?y.value:"":ao(C).map(function(P){return b(P,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(uPe(y,"range"))return r.add(y),y.hasAttribute("aria-valuetext")?y.getAttribute("aria-valuetext"):y.hasAttribute("aria-valuenow")?y.getAttribute("aria-valuenow"):y.getAttribute("value")||"";if($c(y,["textbox"]))return r.add(y),VBt(y)}if(UBt(y)||R0(y)&&v.isReferenced||HBt(y)||GBt()){var E=h(y,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(E!=="")return r.add(y),E}if(y.nodeType===y.TEXT_NODE)return r.add(y),y.textContent||"";if(v.recursion)return r.add(y),h(y,{isEmbeddedInLabel:v.isEmbeddedInLabel});var R=m(y);return R!==null?(r.add(y),R):(r.add(y),"")}return BBt(b(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}function D7(e){"@babel/helpers - typeof";return D7=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D7(e)}function Sne(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function xne(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Sne(Object(r),!0).forEach(function(n){QBt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sne(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function QBt(e,t,r){return t=JBt(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function JBt(e){var t=ZBt(e,"string");return D7(t)==="symbol"?t:String(t)}function ZBt(e,t){if(D7(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(D7(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function eNt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=xw(e,"aria-describedby").map(function(a){return hPe(a,xne(xne({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var i=e.getAttribute("title");r=i===null?"":i}return r}function tNt(e){return $c(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function rNt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return tNt(e)?"":hPe(e,t)}var iV=ss(Q9e(),1),nNt=ss(Z9e(),1),fPe=ss(uEe(),1),iNt=ss(dEe(),1),mPe=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let i="";try{i=n.utils.printWithType("Received",t,n.utils.printReceived)}catch(a){}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,i].join(`
`)}},wne=class extends mPe{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},_ne=class extends mPe{constructor(...e){super("be a Node",...e)}};function gPe(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function aNt(e,...t){gPe(e,_ne,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new _ne(e,...t)}function Zr(e,...t){gPe(e,wne,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new wne(e,...t)}var sNt=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(`
`)}};function oNt(e,...t){let r=cBt(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:i}=r.parsingErrors[0];throw new sNt({css:e,message:`Syntax error parsing expected css: ${n} on line: ${i}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:i,value:a})=>Object.assign(n,{[i]:a}),{})}function Ane(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function $i(e,t,r,n,i,a){return[`${t}
`,`${r}:
${e.utils.EXPECTED_COLOR((0,yne.default)(Ane(e,n),2))}`,`${i}:
${e.utils.RECEIVED_COLOR((0,yne.default)(Ane(e,a),2))}`].join(`
`)}function lNt(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function PA(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function jA(e){return e.replace(/\s+/g," ").trim()}function fd(e){return e.tagName&&e.tagName.toLowerCase()}function cNt({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}function uNt(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var dNt=["meter","progressbar","slider","spinbutton"];function pNt(e){if(dNt.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function bPe(e){var t;if(e)switch(e.tagName.toLowerCase()){case"input":return uNt(e);case"select":return cNt(e);default:return(t=e.value)!=null?t:pNt(e)}}function hNt(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function yPe(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function OL(e,t){return PA("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&Zr(e,OL,this),t&&Zr(t,OL,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
`)}}function vPe(e){(e!==null||!this.isNot)&&Zr(e,vPe,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
`)}}function TPe(e){return PA("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),Zr(e,TPe,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
`)}}function SPe(e){return Zr(e,SPe,this),{pass:fNt(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
`)}}function fNt(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function ML(e,t){return Zr(e,ML,this),t!==null&&Zr(t,ML,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
`)].join(`
`)}}function mNt(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function xPe(e,t){if(Zr(e,xPe,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(mNt(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
`)}}function wPe(e,t,r={normalizeWhitespace:!0}){aNt(e,wPe,this);let n=r.normalizeWhitespace?jA(e.textContent):e.textContent.replace(/\u00a0/g," "),i=n!==""&&t==="";return{pass:!i&&lNt(n,t),message:()=>{let a=this.isNot?"not to":"to";return $i(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),i?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${a} have text content`,t,"Received",n)}}}function kL(e,t){Zr(e,kL,this);let r=eNt(e),n=arguments.length===1,i=!1;return n?i=r!=="":i=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:i,message:()=>{let a=this.isNot?"not to":"to";return $i(this,this.utils.matcherHint(`${this.isNot?".not":""}.${kL.name}`,"element",""),`Expected element ${a} have accessible description`,t,"Received",r)}}}var Ob="aria-invalid",gNt=["false"];function _Pe(e,t){var o,l;Zr(e,_Pe,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",i=e.getAttribute("aria-errormessage");if(i&&/\s+/.test(i))return{pass:!1,message:()=>$i(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${i}"`)};let a=e.getAttribute(Ob);if(!e.hasAttribute(Ob)||gNt.includes(a))return{pass:!1,message:()=>$i(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${Ob}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${Ob}="${e.getAttribute(Ob)}`:null)};let s=jA((l=(o=e.ownerDocument.getElementById(i))==null?void 0:o.textContent)!=null?l:"");return{pass:t===void 0?!!s:t instanceof RegExp?t.test(s):this.equals(s,t),message:()=>$i(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t!=null?t:"","Received",s)}}var bNt=TNt(iV.elementRoles);function DL(e,t){Zr(e,DL,this);let r=yNt(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return $i(this,this.utils.matcherHint(`${this.isNot?".not":""}.${DL.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function yNt(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):vNt(e)}function vNt(e){for(let{match:t,roles:r}of bNt)if(t(e))return[...r];return[]}function TNt(e){function t({name:s,attributes:o}){return`${s}${o.map(({name:l,value:c,constraints:u=[]})=>u.indexOf("undefined")!==-1?`:not([${l}])`:c?`[${l}="${c}"]`:`[${l}]`).join("")}`}function r({attributes:s=[]}){return s.length}function n({specificity:s},{specificity:o}){return o-s}function i(s){let{attributes:o=[]}=s,l=o.findIndex(u=>u.value&&u.name==="type"&&u.value==="text");l>=0&&(o=[...o.slice(0,l),...o.slice(l+1)]);let c=t({...s,attributes:o});return u=>l>=0&&u.type!=="text"?!1:u.matches(c)}let a=[];for(let[s,o]of e.entries())a=[...a,{match:i(s),roles:Array.from(o),specificity:r(s)}];return a.sort(n)}function LL(e,t){Zr(e,LL,this);let r=rNt(e),n=arguments.length===1,i=!1;return n?i=r!=="":i=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:i,message:()=>{let a=this.isNot?"not to":"to";return $i(this,this.utils.matcherHint(`${this.isNot?".not":""}.${LL.name}`,"element",""),`Expected element ${a} have accessible name`,t,"Received",r)}}}function Cne(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function SNt(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function APe(e,t,r){Zr(e,APe,this);let n=r!==void 0,i=e.hasAttribute(t),a=e.getAttribute(t);return{pass:n?i&&this.equals(a,r):i,message:()=>{let s=this.isNot?"not to":"to",o=i?Cne(this.utils.stringify,t,a):null,l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:SNt(this.utils.stringify,t,r)});return $i(this,l,`Expected the element ${s} have attribute`,Cne(this.utils.stringify,t,r),"Received",o)}}}function xNt(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}function Ene(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function Pne(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function CPe(e,...t){Zr(e,CPe,this);let{expectedClassNames:r,options:n}=xNt(t),i=Ene(e.getAttribute("class")),a=r.reduce((o,l)=>o.concat(typeof l=="string"||!l?Ene(l):l),[]),s=a.some(o=>o instanceof RegExp);if(n.exact&&s)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:Pne(a,i)&&a.length===i.length,message:()=>{let o=this.isNot?"not to":"to";return $i(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${o} have EXACTLY defined classes`,a.join(" "),"Received",i.join(" "))}}:a.length>0?{pass:Pne(a,i),message:()=>{let o=this.isNot?"not to":"to";return $i(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${o} have class`,a.join(" "),"Received",i.join(" "))}}:{pass:this.isNot?i.length>0:!1,message:()=>this.isNot?$i(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",i.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
`)}}function wNt(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(i=>{n.style[i]=t[i],r[i]=n.style[i]}),r}function _Nt(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let i=r.startsWith("--"),a=[r];return i||a.push(r.toLowerCase()),a.some(s=>t[s]===n||t.getPropertyValue(s)===n)})}function jne(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
`)}function ANt(e,t,r){let n=Array.from(r).filter(i=>t[i]!==void 0).reduce((i,a)=>Object.assign(i,{[a]:r.getPropertyValue(a)}),{});return e(jne(t),jne(n)).replace(`${nNt.default.red("+ Received")}
`,"")}function FL(e,t){Zr(e,FL,this);let r=typeof t=="object"?t:oNt(t,FL,this),{getComputedStyle:n}=e.ownerDocument.defaultView,i=wNt(e.ownerDocument,r),a=n(e);return{pass:_Nt(i,a),message:()=>{let s=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(s,"element",""),ANt(this.utils.diff,i,a)].join(`
`)}}}function EPe(e){return Zr(e,EPe,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
`)}}function CNt(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}function ENt(e,t){let r=[...e.querySelectorAll(`[name="${(0,iNt.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return bPe(r[0]);default:return CNt(r)}}function PNt(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function jNt(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[PNt(r)]:ENt(e,r)}),{})}function PPe(e,t){if(Zr(e,PPe,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=jNt(e);return{pass:Object.entries(t).every(([n,i])=>(0,fPe.default)(r[n],i,yPe)),message:()=>{let n=this.isNot?"not to":"to",i=`${this.isNot?".not":""}.toHaveFormValues`,a=Object.keys(r).filter(s=>t.hasOwnProperty(s)).reduce((s,o)=>({...s,[o]:r[o]}),{});return[this.utils.matcherHint(i,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,a)].join(`
`)}}}function RNt(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:i}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&i!=="0"&&i!==0}function INt(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function jPe(e,t){return RNt(e)&&INt(e,t)&&(!e.parentElement||jPe(e.parentElement,e))}function RPe(e){Zr(e,RPe,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&jPe(e);return{pass:r,message:()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
`)}}}var ONt=["fieldset","input","select","optgroup","option","button","textarea"];function MNt(e,t){return fd(e)==="legend"&&fd(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>fd(r)==="legend"))}function kNt(e,t){return OPe(t)&&!MNt(e,t)}function DNt(e){return e.includes("-")}function IPe(e){let t=fd(e);return ONt.includes(t)||DNt(t)}function OPe(e){return IPe(e)&&e.hasAttribute("disabled")}function MPe(e){let t=e.parentElement;return!!t&&(kNt(e,t)||MPe(t))}function kPe(e){return IPe(e)&&(OPe(e)||MPe(e))}function DPe(e){Zr(e,DPe,this);let t=kPe(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
`)}}}function LPe(e){Zr(e,LPe,this);let t=!kPe(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
`)}}}var LNt=["select","textarea"],FNt=["input","select","textarea"],$Nt=["color","hidden","range","submit","image","reset"],BNt=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function NNt(e){return LNt.includes(fd(e))&&e.hasAttribute("required")}function qNt(e){return fd(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!$Nt.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function zNt(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(FNt.includes(fd(e))||e.hasAttribute("role")&&BNt.includes(e.getAttribute("role")))}function FPe(e){Zr(e,FPe,this);let t=NNt(e)||qNt(e)||zNt(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
`)}}}var WNt=["form","input","select","textarea"];function HNt(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function UNt(e){return WNt.includes(fd(e))}function $Pe(e){let t=HNt(e);return UNt(e)?t||!e.checkValidity():t}function BPe(e){Zr(e,BPe,this);let t=$Pe(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
`)}}}function NPe(e){Zr(e,NPe,this);let t=!$Pe(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
`)}}}function qPe(e,t){if(Zr(e,qPe,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=bPe(e),n=t!==void 0,i=t,a=r;return t==r&&t!==r&&(i=`${t} (${typeof t})`,a=`${r} (${typeof r})`),{pass:n?(0,fPe.default)(r,t,yPe):!!r,message:()=>{let s=this.isNot?"not to":"to",o=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return $i(this,o,`Expected the element ${s} have value`,n?i:"(any)","Received",a)}}}function zPe(e,t){Zr(e,zPe,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=GNt(r,e),i=VNt(t),a=i.filter(l=>n.some(c=>l instanceof RegExp?l.test(c):this.equals(c,String(l)))).length,s=a===n.length,o=a===i.length;return{pass:s&&o,message:()=>$i(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function GNt(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function VNt(e){return e instanceof Array?e:[e]}function WPe(e){Zr(e,WPe,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>HPe(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${YNt()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:n(),message:()=>{let i=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${i} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
`)}}}function YNt(){return hNt(KNt().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function KNt(){return iV.roles.keys().filter(HPe)}function HPe(e){var t;return((t=iV.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}function UPe(e){Zr(e,UPe,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let i=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||i};return{pass:n(),message:()=>{let i=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${i} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
`)}}}function GPe(e,t){PA("toHaveDescription","Please use toHaveAccessibleDescription."),Zr(e,GPe,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),i="";if(n.length>0){let a=e.ownerDocument,s=n.map(o=>a.getElementById(o)).filter(Boolean);i=jA(s.map(o=>o.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(i):this.equals(i,t):!!i,message:()=>{let a=this.isNot?"not to":"to";return $i(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${a} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(i))}}}function VPe(e,t){if(PA("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),Zr(e,VPe,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let a=this.isNot?".not":"";return{pass:!1,message:()=>$i(this,this.utils.matcherHint(`${a}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),i="";if(n.length>0){let a=e.ownerDocument,s=n.map(o=>a.getElementById(o)).filter(Boolean);i=jA(s.map(o=>o.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(i):this.equals(i,t):!!i,message:()=>{let a=this.isNot?"not to":"to";return $i(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${a} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(i))}}}ss(X9e(),1);ss(Q9e(),1);ss(Z9e(),1);ss(uEe(),1);ss(dEe(),1);function cc(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function GT(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function XNt(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function $L(e){return Object.prototype.toString.apply(e).slice(8,-1)}function QNt(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function YPe(e){let t=new Set;return XNt(e)?[]:(QNt(e,t),Array.from(t))}var KPe={forceWritable:!1};function Rne(e,t=KPe){return BL(e,new WeakMap,t)}function BL(e,t,r=KPe){let n,i;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(i=Array(n=e.length),t.set(e,i);n--;)i[n]=BL(e[n],t,r);return i}if(Object.prototype.toString.call(e)==="[object Object]"){i=Object.create(Object.getPrototypeOf(e)),t.set(e,i);let a=YPe(e);for(let s of a){let o=Object.getOwnPropertyDescriptor(e,s);if(!o)continue;let l=BL(e[s],t,r);r.forceWritable?Object.defineProperty(i,s,{enumerable:o.enumerable,configurable:!0,writable:!0,value:l}):"get"in o?Object.defineProperty(i,s,{...o,get(){return l}}):Object.defineProperty(i,s,{...o,value:l})}return i}return e}var Ine={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},JNt={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Qg="…";function ZNt(e,t){let r=Ine[JNt[t]]||Ine[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function eqt({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:i=!1,maxArrayLength:a=1/0,breakLength:s=1/0,seen:o=[],truncate:l=1/0,stylize:c=String}={},u){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!i,maxArrayLength:Number(a),breakLength:Number(s),truncate:Number(l),seen:o,inspect:u,stylize:c};return d.colors&&(d.stylize=ZNt),d}function tqt(e){return e>="\uD800"&&e<="\uDBFF"}function ep(e,t,r=Qg){e=String(e);let n=r.length,i=e.length;if(n>t&&i>n)return r;if(i>t&&i>n){let a=t-n;return a>0&&tqt(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}function Po(e,t,r,n=", "){r=r||t.inspect;let i=e.length;if(i===0)return"";let a=t.truncate,s="",o="",l="";for(let c=0;c<i;c+=1){let u=c+1===e.length,d=c+2===e.length;l=`${Qg}(${e.length-c})`;let h=e[c];t.truncate=a-s.length-(u?0:n.length);let p=o||r(h,t)+(u?"":n),m=s.length+p.length,g=m+l.length;if(u&&m>a&&s.length+l.length<=a||!u&&!d&&g>a||(o=u?"":r(e[c+1],t)+(d?"":n),!u&&d&&g>a&&m+o.length>a))break;if(s+=p,!u&&!d&&m+o.length>=a){l=`${Qg}(${e.length-c-1})`;break}l=""}return`${s}${l}`}function rqt(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function L7([e,t],r){return r.truncate-=2,typeof e=="string"?e=rqt(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function nqt(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Po(e,t);t.truncate-=n.length;let i="";return r.length&&(i=Po(r.map(a=>[a,e[a]]),t,L7)),`[ ${n}${i?`, ${i}`:""} ]`}var iqt=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function uc(e,t){let r=iqt(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let i="";for(let s=0;s<e.length;s++){let o=`${t.stylize(ep(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=o.length,e[s]!==e.length&&t.truncate<=3){i+=`${Qg}(${e.length-e[s]+1})`;break}i+=o}let a="";return n.length&&(a=Po(n.map(s=>[s,e[s]]),t,L7)),`${r}[ ${i}${a?`, ${a}`:""} ]`}function aqt(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),i=n[0];return t.stylize(`${i}T${ep(n[1],t.truncate-i.length-1)}`,"date")}function One(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${ep(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function sqt([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function oqt(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function lqt(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Po(oqt(e),t,sqt)} }`)}var cqt=Number.isNaN||(e=>e!==e);function Mne(e,t){return cqt(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(ep(String(e),t.truncate),"number")}function kne(e,t){let r=ep(e.toString(),t.truncate-1);return r!==Qg&&(r+="n"),t.stylize(r,"bigint")}function uqt(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),i=e.source;return t.stylize(`/${ep(i,n)}/${r}`,"regexp")}function dqt(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function pqt(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Po(dqt(e),t)} }`)}var Dne=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),hqt={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},fqt=16;function mqt(e){return hqt[e]||`\\u${`0000${e.charCodeAt(0).toString(fqt)}`.slice(-4)}`}function Lne(e,t){return Dne.test(e)&&(e=e.replace(Dne,mqt)),t.stylize(`'${ep(e,t.truncate-2)}'`,"string")}function Fne(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var XPe=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(XPe=(n,i)=>{let[a,s]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${i.inspect(s,i)}}`})}catch(e){}var gqt=XPe;function VT(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=Po(r.map(o=>[o,e[o]]),t,L7),a=Po(n.map(o=>[o,e[o]]),t,L7);t.seen.pop();let s="";return i&&a&&(s=", "),`{ ${i}${s}${a} }`}var rE=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function bqt(e,t){let r="";return rE&&rE in e&&(r=e[rE]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${VT(e,t)}`}function yqt(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Po(e,t)} ]`)}var vqt=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Tqt(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>vqt.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let i="";if(typeof e.message=="string"?i=ep(e.message,t.truncate):r.unshift("message"),i=i?`: ${i}`:"",t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=Po(r.map(s=>[s,e[s]]),t,L7);return`${n}${i}${a?` { ${a} }`:""}`}function Sqt([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function NL(e,t){return Po(e,t,QPe,`
`)}function QPe(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),i=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let o="";r.length>0&&(o+=" ",o+=Po(r.map(u=>[u,e.getAttribute(u)]),t,Sqt," ")),t.truncate-=o.length;let l=t.truncate,c=NL(e.children,t);return c&&c.length>l&&(c=`${Qg}(${e.children.length})`),`${i}${o}${a}${c}${s}`}var xqt=typeof Symbol=="function"&&typeof Symbol.for=="function",nE=xqt?Symbol.for("chai/inspect"):"@@chai/inspect",gm=!1;try{let e=PIt("util");gm=e.inspect?e.inspect.custom:!1}catch(e){gm=!1}var $ne=new WeakMap,Bne={},Nne={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:Mne,Number:Mne,bigint:kne,BigInt:kne,string:Lne,String:Lne,function:One,Function:One,symbol:Fne,Symbol:Fne,Array:nqt,Date:aqt,Map:lqt,Set:pqt,RegExp:uqt,Promise:gqt,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:yqt,Int8Array:uc,Uint8Array:uc,Uint8ClampedArray:uc,Int16Array:uc,Uint16Array:uc,Int32Array:uc,Uint32Array:uc,Float32Array:uc,Float64Array:uc,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Tqt,HTMLCollection:NL,NodeList:NL},wqt=(e,t,r)=>nE in e&&typeof e[nE]=="function"?e[nE](t):gm&&gm in e&&typeof e[gm]=="function"?e[gm](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&$ne.has(e.constructor)?$ne.get(e.constructor)(e,t):Bne[r]?Bne[r](e,t):"",_qt=Object.prototype.toString;function qL(e,t={}){let r=eqt(t,qL),{customInspect:n}=r,i=e===null?"null":typeof e;if(i==="object"&&(i=_qt.call(e).slice(8,-1)),i in Nne)return Nne[i](e,r);if(n&&e){let s=wqt(e,r,i);if(s)return typeof s=="string"?s:qL(s,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?VT(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?QPe(e,r):"constructor"in e?e.constructor!==Object?bqt(e,r):VT(e,r):e===Object(e)?VT(e,r):r.stylize(String(e),i)}var Aqt={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},Cqt=Object.entries(Aqt);function aV(e){return String(e)}aV.open="";aV.close="";function Eqt(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function Pqt(e=!1){let t=Eqt(e),r=(s,o,l,c)=>{let u="",d=0;do u+=s.substring(d,c)+l,d=c+o.length,c=s.indexOf(o,d);while(~c);return u+s.substring(d)},n=(s,o,l=s)=>{let c=u=>{let d=String(u),h=d.indexOf(o,s.length);return~h?s+r(d,o,l,h)+o:s+d+o};return c.open=s,c.close=o,c},i={isColorSupported:t},a=s=>`\x1B[${s}m`;for(let[s,o]of Cqt)i[s]=t?n(a(o[0]),a(o[1]),o[2]):aV;return i}var Z0=Pqt(!1);function jqt(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let i of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,i).enumerable&&n.push(i);return n}function RA(e,t,r,n,i,a,s=": "){let o="",l=0,c=e.next();if(!c.done){o+=t.spacingOuter;let u=r+t.indent;for(;!c.done;){if(o+=u,l++===t.maxWidth){o+="…";break}let d=a(c.value[0],t,u,n,i),h=a(c.value[1],t,u,n,i);o+=d+s+h,c=e.next(),c.done?t.min||(o+=","):o+=`,${t.spacingInner}`}o+=t.spacingOuter+r}return o}function sV(e,t,r,n,i,a){let s="",o=0,l=e.next();if(!l.done){s+=t.spacingOuter;let c=r+t.indent;for(;!l.done;){if(s+=c,o++===t.maxWidth){s+="…";break}s+=a(l.value,t,c,n,i),l=e.next(),l.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function ww(e,t,r,n,i,a){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let o=c=>c instanceof DataView,l=o(e)?e.byteLength:e.length;if(l>0){s+=t.spacingOuter;let c=r+t.indent;for(let u=0;u<l;u++){if(s+=c,u===t.maxWidth){s+="…";break}(o(e)||u in e)&&(s+=a(o(e)?e.getInt8(u):e[u],t,c,n,i)),u<l-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}function oV(e,t,r,n,i,a){let s="",o=jqt(e,t.compareKeys);if(o.length>0){s+=t.spacingOuter;let l=r+t.indent;for(let c=0;c<o.length;c++){let u=o[c],d=a(u,t,l,n,i),h=a(e[u],t,l,n,i);s+=`${l+d}: ${h}`,c<o.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}var Rqt=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,iE=" ",Iqt=(e,t,r,n,i,a)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+iE}[${ww(e.sample,t,r,n,i,a)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+iE}{${oV(e.sample,t,r,n,i,a)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+iE+a(e.sample,t,r,n,i);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},Oqt=e=>e&&e.$$typeof===Rqt,Mqt={serialize:Iqt,test:Oqt},kqt=" ",JPe=new Set(["DOMStringMap","NamedNodeMap"]),Dqt=/^(?:HTML\w*Collection|NodeList)$/;function Lqt(e){return JPe.has(e)||Dqt.test(e)}var Fqt=e=>e&&e.constructor&&!!e.constructor.name&&Lqt(e.constructor.name);function $qt(e){return e.constructor.name==="NamedNodeMap"}var Bqt=(e,t,r,n,i,a)=>{let s=e.constructor.name;return++n>t.maxDepth?`[${s}]`:(t.min?"":s+kqt)+(JPe.has(s)?`{${oV($qt(e)?[...e].reduce((o,l)=>(o[l.name]=l.value,o),{}):{...e},t,r,n,i,a)}}`:`[${ww([...e],t,r,n,i,a)}]`)},Nqt={serialize:Bqt,test:Fqt};function ZPe(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function lV(e,t,r,n,i,a,s){let o=n+r.indent,l=r.colors;return e.map(c=>{let u=t[c],d=s(u,r,o,i,a);return typeof u!="string"&&(d.includes(`
`)&&(d=r.spacingOuter+o+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+l.prop.open+c+l.prop.close}=${l.value.open}${d}${l.value.close}`}).join("")}function cV(e,t,r,n,i,a){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?eje(s,t):a(s,t,r,n,i))).join("")}function eje(e,t){let r=t.colors.content;return r.open+ZPe(e)+r.close}function qqt(e,t){let r=t.colors.comment;return`${r.open}<!--${ZPe(e)}-->${r.close}`}function uV(e,t,r,n,i){let a=n.colors.tag;return`${a.open}<${e}${t&&a.close+t+n.spacingOuter+i+a.open}${r?`>${a.close}${r}${n.spacingOuter}${i}${a.open}</${e}`:`${t&&!n.min?"":" "}/`}>${a.close}`}function dV(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var zqt=1,tje=3,rje=8,nje=11,Wqt=/^(?:(?:HTML|SVG)\w*)?Element$/;function Hqt(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch(t){return!1}}function Uqt(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,i=typeof n=="string"&&n.includes("-")||Hqt(e);return r===zqt&&(Wqt.test(t)||i)||r===tje&&t==="Text"||r===rje&&t==="Comment"||r===nje&&t==="DocumentFragment"}var Gqt=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&Uqt(e)};function Vqt(e){return e.nodeType===tje}function Yqt(e){return e.nodeType===rje}function aE(e){return e.nodeType===nje}var Kqt=(e,t,r,n,i,a)=>{if(Vqt(e))return eje(e.data,t);if(Yqt(e))return qqt(e.data,t);let s=aE(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?dV(s,t):uV(s,lV(aE(e)?[]:Array.from(e.attributes,o=>o.name).sort(),aE(e)?{}:[...e.attributes].reduce((o,l)=>(o[l.name]=l.value,o),{}),t,r+t.indent,n,i,a),cV(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,i,a),t,r)},Xqt={serialize:Kqt,test:Gqt},Qqt="@@__IMMUTABLE_ITERABLE__@@",Jqt="@@__IMMUTABLE_LIST__@@",Zqt="@@__IMMUTABLE_KEYED__@@",ezt="@@__IMMUTABLE_MAP__@@",qne="@@__IMMUTABLE_ORDERED__@@",tzt="@@__IMMUTABLE_RECORD__@@",rzt="@@__IMMUTABLE_SEQ__@@",nzt="@@__IMMUTABLE_SET__@@",izt="@@__IMMUTABLE_STACK__@@",Jg=e=>`Immutable.${e}`,IA=e=>`[${e}]`,F7=" ",zne="…";function azt(e,t,r,n,i,a,s){return++n>t.maxDepth?IA(Jg(s)):`${Jg(s)+F7}{${RA(e.entries(),t,r,n,i,a)}}`}function szt(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function ozt(e,t,r,n,i,a){let s=Jg(e._name||"Record");return++n>t.maxDepth?IA(s):`${s+F7}{${RA(szt(e),t,r,n,i,a)}}`}function lzt(e,t,r,n,i,a){let s=Jg("Seq");return++n>t.maxDepth?IA(s):e[Zqt]?`${s+F7}{${e._iter||e._object?RA(e.entries(),t,r,n,i,a):zne}}`:`${s+F7}[${e._iter||e._array||e._collection||e._iterable?sV(e.values(),t,r,n,i,a):zne}]`}function sE(e,t,r,n,i,a,s){return++n>t.maxDepth?IA(Jg(s)):`${Jg(s)+F7}[${sV(e.values(),t,r,n,i,a)}]`}var czt=(e,t,r,n,i,a)=>e[ezt]?azt(e,t,r,n,i,a,e[qne]?"OrderedMap":"Map"):e[Jqt]?sE(e,t,r,n,i,a,"List"):e[nzt]?sE(e,t,r,n,i,a,e[qne]?"OrderedSet":"Set"):e[izt]?sE(e,t,r,n,i,a,"Stack"):e[rzt]?lzt(e,t,r,n,i,a):ozt(e,t,r,n,i,a),uzt=e=>e&&(e[Qqt]===!0||e[tzt]===!0),dzt={serialize:czt,test:uzt},ije={exports:{}},Wr={},Wne;function pzt(){if(Wne)return Wr;Wne=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),o=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function g(b){if(typeof b=="object"&&b!==null){var y=b.$$typeof;switch(y){case e:switch(b=b.type,b){case r:case i:case n:case c:case u:return b;default:switch(b=b&&b.$$typeof,b){case o:case s:case l:case h:case d:case a:return b;default:return y}}case t:return y}}}return Wr.ContextConsumer=s,Wr.ContextProvider=a,Wr.Element=e,Wr.ForwardRef=l,Wr.Fragment=r,Wr.Lazy=h,Wr.Memo=d,Wr.Portal=t,Wr.Profiler=i,Wr.StrictMode=n,Wr.Suspense=c,Wr.SuspenseList=u,Wr.isAsyncMode=function(){return!1},Wr.isConcurrentMode=function(){return!1},Wr.isContextConsumer=function(b){return g(b)===s},Wr.isContextProvider=function(b){return g(b)===a},Wr.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},Wr.isForwardRef=function(b){return g(b)===l},Wr.isFragment=function(b){return g(b)===r},Wr.isLazy=function(b){return g(b)===h},Wr.isMemo=function(b){return g(b)===d},Wr.isPortal=function(b){return g(b)===t},Wr.isProfiler=function(b){return g(b)===i},Wr.isStrictMode=function(b){return g(b)===n},Wr.isSuspense=function(b){return g(b)===c},Wr.isSuspenseList=function(b){return g(b)===u},Wr.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===i||b===n||b===c||b===u||b===p||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===d||b.$$typeof===a||b.$$typeof===s||b.$$typeof===l||b.$$typeof===m||b.getModuleId!==void 0)},Wr.typeOf=g,Wr}ije.exports=pzt();var Pp=ije.exports;function aje(e,t=[]){if(Array.isArray(e))for(let r of e)aje(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function Hne(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Pp.isFragment(e))return"React.Fragment";if(Pp.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Pp.isContextProvider(e))return"Context.Provider";if(Pp.isContextConsumer(e))return"Context.Consumer";if(Pp.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Pp.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function hzt(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var fzt=(e,t,r,n,i,a)=>++n>t.maxDepth?dV(Hne(e),t):uV(Hne(e),lV(hzt(e),e.props,t,r+t.indent,n,i,a),cV(aje(e.props.children),t,r+t.indent,n,i,a),t,r),mzt=e=>e!=null&&Pp.isElement(e),gzt={serialize:fzt,test:mzt},bzt=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function yzt(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var vzt=(e,t,r,n,i,a)=>++n>t.maxDepth?dV(e.type,t):uV(e.type,e.props?lV(yzt(e),e.props,t,r+t.indent,n,i,a):"",e.children?cV(e.children,t,r+t.indent,n,i,a):"",t,r),Tzt=e=>e&&e.$$typeof===bzt,Szt={serialize:vzt,test:Tzt},sje=Object.prototype.toString,xzt=Date.prototype.toISOString,wzt=Error.prototype.toString,Une=RegExp.prototype.toString;function oE(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function _zt(e){return typeof window<"u"&&e===window}var Azt=/^Symbol\((.*)\)(.*)$/,Czt=/\n/g,oje=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function Ezt(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function Pzt(e){return Object.is(e,-0)?"-0":String(e)}function jzt(e){return`${e}n`}function Gne(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Vne(e){return String(e).replace(Azt,"Symbol($1)")}function Yne(e){return`[${wzt.call(e)}]`}function lje(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let i=typeof e;if(i==="number")return Pzt(e);if(i==="bigint")return jzt(e);if(i==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(i==="function")return Gne(e,t);if(i==="symbol")return Vne(e);let a=sje.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?Gne(e,t):a==="[object Symbol]"?Vne(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":xzt.call(e):a==="[object Error]"?Yne(e):a==="[object RegExp]"?r?Une.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Une.call(e):e instanceof Error?Yne(e):null}function cje(e,t,r,n,i,a){if(i.includes(e))return"[Circular]";i=[...i],i.push(e);let s=++n>t.maxDepth,o=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!a)return Yu(e.toJSON(),t,r,n,i,!0);let l=sje.call(e);return l==="[object Arguments]"?s?"[Arguments]":`${o?"":"Arguments "}[${ww(e,t,r,n,i,Yu)}]`:Ezt(l)?s?`[${e.constructor.name}]`:`${o||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${ww(e,t,r,n,i,Yu)}]`:l==="[object Map]"?s?"[Map]":`Map {${RA(e.entries(),t,r,n,i,Yu," => ")}}`:l==="[object Set]"?s?"[Set]":`Set {${sV(e.values(),t,r,n,i,Yu)}}`:s||_zt(e)?`[${oE(e)}]`:`${o||!t.printBasicPrototype&&oE(e)==="Object"?"":`${oE(e)} `}{${oV(e,t,r,n,i,Yu)}}`}function Rzt(e){return e.serialize!=null}function uje(e,t,r,n,i,a){let s;try{s=Rzt(e)?e.serialize(t,r,n,i,a,Yu):e.print(t,o=>Yu(o,r,n,i,a),o=>{let l=n+r.indent;return l+o.replaceAll(Czt,`
${l}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(o){throw new oje(o.message,o.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function dje(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new oje(n.message,n.stack)}return null}function Yu(e,t,r,n,i,a){let s=dje(t.plugins,e);if(s!==null)return uje(s,e,t,r,n,i);let o=lje(e,t.printFunctionName,t.escapeRegex,t.escapeString);return o!==null?o:cje(e,t,r,n,i,a)}var pV={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},pje=Object.keys(pV),io={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:pV};function Izt(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(io,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function Ozt(){return pje.reduce((e,t)=>{let r=pV[t],n=r&&Z0[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function Mzt(){return pje.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function hje(e){var t;return(t=e==null?void 0:e.printFunctionName)!=null?t:io.printFunctionName}function fje(e){var t;return(t=e==null?void 0:e.escapeRegex)!=null?t:io.escapeRegex}function mje(e){var t;return(t=e==null?void 0:e.escapeString)!=null?t:io.escapeString}function Kne(e){var t,r,n,i,a,s,o;return{callToJSON:(t=e==null?void 0:e.callToJSON)!=null?t:io.callToJSON,colors:e!=null&&e.highlight?Ozt():Mzt(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:io.compareKeys,escapeRegex:fje(e),escapeString:mje(e),indent:e!=null&&e.min?"":kzt((r=e==null?void 0:e.indent)!=null?r:io.indent),maxDepth:(n=e==null?void 0:e.maxDepth)!=null?n:io.maxDepth,maxWidth:(i=e==null?void 0:e.maxWidth)!=null?i:io.maxWidth,min:(a=e==null?void 0:e.min)!=null?a:io.min,plugins:(s=e==null?void 0:e.plugins)!=null?s:io.plugins,printBasicPrototype:(o=e==null?void 0:e.printBasicPrototype)!=null?o:!0,printFunctionName:hje(e),spacingInner:e!=null&&e.min?" ":`
`,spacingOuter:e!=null&&e.min?"":`
`}}function kzt(e){return Array.from({length:e+1}).join(" ")}function bl(e,t){if(t&&(Izt(t),t.plugins)){let n=dje(t.plugins,e);if(n!==null)return uje(n,e,Kne(t),"",0,[])}let r=lje(e,hje(t),fje(t),mje(t));return r!==null?r:cje(e,Kne(t),"",0,[])}var gje={AsymmetricMatcher:Mqt,DOMCollection:Nqt,DOMElement:Xqt,Immutable:dzt,ReactElement:gzt,ReactTestComponent:Szt},{AsymmetricMatcher:Dzt,DOMCollection:Lzt,DOMElement:Fzt,Immutable:$zt,ReactElement:Bzt,ReactTestComponent:Nzt}=gje,Xne=[Nzt,Bzt,Fzt,Lzt,$zt,Dzt];function Ns(e,t=10,{maxLength:r,...n}={}){let i=r!=null?r:1e4,a;try{a=bl(e,{maxDepth:t,escapeString:!1,plugins:Xne,...n})}catch(s){a=bl(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Xne,...n})}return a.length>=i&&t>1?Ns(e,Math.floor(t/2)):a}var qzt=/%[sdjifoOc%]/g;function zzt(...e){if(typeof e[0]!="string"){let a=[];for(let s=0;s<e.length;s++)a.push(Mb(e[s],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],i=String(n).replace(qzt,a=>{if(a==="%%")return"%";if(r>=t)return a;switch(a){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?Mb(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Mb(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Mb(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let o=s.message;if(o.includes("circular structure")||o.includes("cyclic structures")||o.includes("cyclic object"))return"[Circular]";throw s}default:return a}});for(let a=e[r];r<t;a=e[++r])a===null||typeof a!="object"?i+=` ${a}`:i+=` ${Mb(a)}`;return i}function Mb(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),qL(e,t)}var bje;bje=/\r?\n|[\r\u2028\u2029]/y;RegExp(bje.source);var yje={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(yje.keyword);new Set(yje.strict);function Qne(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var Bi=-1,di=1,an=0,U0=class{constructor(e,t){ht(this,0);ht(this,1);this[0]=e,this[1]=t}},Wzt=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),i=n,a=0;for(;r<i;)e.substring(a,i)===t.substring(a,i)?(r=i,a=r):n=i,i=Math.floor((n-r)/2+r);return i},vje=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),i=n,a=0;for(;r<i;)e.substring(e.length-i,e.length-a)===t.substring(t.length-i,t.length-a)?(r=i,a=r):n=i,i=Math.floor((n-r)/2+r);return i},Jne=function(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let i=Math.min(r,n);if(e===t)return i;let a=0,s=1;for(;;){let o=e.substring(i-s),l=t.indexOf(o);if(l===-1)return a;s+=l,(l===0||e.substring(i-s)===t.substring(0,s))&&(a=s,s++)}},Hzt=function(e){let t=!1,r=[],n=0,i=null,a=0,s=0,o=0,l=0,c=0;for(;a<e.length;)e[a][0]===an?(r[n++]=a,s=l,o=c,l=0,c=0,i=e[a][1]):(e[a][0]===di?l+=e[a][1].length:c+=e[a][1].length,i&&i.length<=Math.max(s,o)&&i.length<=Math.max(l,c)&&(e.splice(r[n-1],0,new U0(Bi,i)),e[r[n-1]+1][0]=di,n--,n--,a=n>0?r[n-1]:-1,s=0,o=0,l=0,c=0,i=null,t=!0)),a++;for(t&&Tje(e),Vzt(e),a=1;a<e.length;){if(e[a-1][0]===Bi&&e[a][0]===di){let u=e[a-1][1],d=e[a][1],h=Jne(u,d),p=Jne(d,u);h>=p?(h>=u.length/2||h>=d.length/2)&&(e.splice(a,0,new U0(an,d.substring(0,h))),e[a-1][1]=u.substring(0,u.length-h),e[a+1][1]=d.substring(h),a++):(p>=u.length/2||p>=d.length/2)&&(e.splice(a,0,new U0(an,u.substring(0,p))),e[a-1][0]=di,e[a-1][1]=d.substring(0,d.length-p),e[a+1][0]=Bi,e[a+1][1]=u.substring(p),a++),a++}a++}},Zne=/[^a-z0-9]/i,eie=/\s/,tie=/[\r\n]/,Uzt=/\n\r?\n$/,Gzt=/^\r?\n\r?\n/;function Vzt(e){function t(n,i){if(!n||!i)return 6;let a=n.charAt(n.length-1),s=i.charAt(0),o=a.match(Zne),l=s.match(Zne),c=o&&a.match(eie),u=l&&s.match(eie),d=c&&a.match(tie),h=u&&s.match(tie),p=d&&n.match(Uzt),m=h&&i.match(Gzt);return p||m?5:d||h?4:o&&!c&&u?3:c||u?2:o||l?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===an&&e[r+1][0]===an){let n=e[r-1][1],i=e[r][1],a=e[r+1][1],s=vje(n,i);if(s){let d=i.substring(i.length-s);n=n.substring(0,n.length-s),i=d+i.substring(0,i.length-s),a=d+a}let o=n,l=i,c=a,u=t(n,i)+t(i,a);for(;i.charAt(0)===a.charAt(0);){n+=i.charAt(0),i=i.substring(1)+a.charAt(0),a=a.substring(1);let d=t(n,i)+t(i,a);d>=u&&(u=d,o=n,l=i,c=a)}e[r-1][1]!==o&&(o?e[r-1][1]=o:(e.splice(r-1,1),r--),e[r][1]=l,c?e[r+1][1]=c:(e.splice(r+1,1),r--))}r++}}function Tje(e){e.push(new U0(an,""));let t=0,r=0,n=0,i="",a="",s;for(;t<e.length;)switch(e[t][0]){case di:n++,a+=e[t][1],t++;break;case Bi:r++,i+=e[t][1],t++;break;case an:r+n>1?(r!==0&&n!==0&&(s=Wzt(a,i),s!==0&&(t-r-n>0&&e[t-r-n-1][0]===an?e[t-r-n-1][1]+=a.substring(0,s):(e.splice(0,0,new U0(an,a.substring(0,s))),t++),a=a.substring(s),i=i.substring(s)),s=vje(a,i),s!==0&&(e[t][1]=a.substring(a.length-s)+e[t][1],a=a.substring(0,a.length-s),i=i.substring(0,i.length-s))),t-=r+n,e.splice(t,r+n),i.length&&(e.splice(t,0,new U0(Bi,i)),t++),a.length&&(e.splice(t,0,new U0(di,a)),t++),t++):t!==0&&e[t-1][0]===an?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,i="",a="";break}e[e.length-1][1]===""&&e.pop();let o=!1;for(t=1;t<e.length-1;)e[t-1][0]===an&&e[t+1][0]===an&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),o=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),o=!0)),t++;o&&Tje(e)}var Sje="Compared values have no visual difference.",Yzt="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",xje={};Object.defineProperty(xje,"__esModule",{value:!0});var wje=xje.default=Jzt,u5="diff-sequences",Ci=0,$7=(e,t,r,n,i)=>{let a=0;for(;e<t&&r<n&&i(e,r);)e+=1,r+=1,a+=1;return a},B7=(e,t,r,n,i)=>{let a=0;for(;e<=t&&r<=n&&i(t,n);)t-=1,n-=1,a+=1;return a},lE=(e,t,r,n,i,a,s)=>{let o=0,l=-e,c=a[o],u=c;a[o]+=$7(c+1,t,n+c-l+1,r,i);let d=e<s?e:s;for(o+=1,l+=2;o<=d;o+=1,l+=2){if(o!==e&&u<a[o])c=a[o];else if(c=u+1,t<=c)return o-1;u=a[o],a[o]=c+$7(c+1,t,n+c-l+1,r,i)}return s},rie=(e,t,r,n,i,a,s)=>{let o=0,l=e,c=a[o],u=c;a[o]-=B7(t,c-1,r,n+c-l-1,i);let d=e<s?e:s;for(o+=1,l-=2;o<=d;o+=1,l-=2){if(o!==e&&a[o]<u)c=a[o];else if(c=u-1,c<t)return o-1;u=a[o],a[o]=c-B7(t,c-1,r,n+c-l-1,i)}return s},Kzt=(e,t,r,n,i,a,s,o,l,c,u)=>{let d=n-t,h=r-t,p=i-n-h,m=-p-(e-1),g=-p+(e-1),b=Ci,y=e<o?e:o;for(let v=0,S=-e;v<=y;v+=1,S+=2){let x=v===0||v!==e&&b<s[v],w=x?s[v]:b,A=x?w:w+1,_=d+A-S,C=$7(A+1,r,_+1,i,a),E=A+C;if(b=s[v],s[v]=E,m<=S&&S<=g){let R=(e-1-(S+p))/2;if(R<=c&&l[R]-1<=E){let P=d+w-(x?S+1:S-1),O=B7(t,w,n,P,a),k=w-O,I=P-O,M=k+1,D=I+1;u.nChangePreceding=e-1,e-1===M+D-t-n?(u.aEndPreceding=t,u.bEndPreceding=n):(u.aEndPreceding=M,u.bEndPreceding=D),u.nCommonPreceding=O,O!==0&&(u.aCommonPreceding=M,u.bCommonPreceding=D),u.nCommonFollowing=C,C!==0&&(u.aCommonFollowing=A+1,u.bCommonFollowing=_+1);let F=E+1,$=_+C+1;return u.nChangeFollowing=e-1,e-1===r+i-F-$?(u.aStartFollowing=r,u.bStartFollowing=i):(u.aStartFollowing=F,u.bStartFollowing=$),!0}}}return!1},Xzt=(e,t,r,n,i,a,s,o,l,c,u)=>{let d=i-r,h=r-t,p=i-n-h,m=p-e,g=p+e,b=Ci,y=e<c?e:c;for(let v=0,S=e;v<=y;v+=1,S-=2){let x=v===0||v!==e&&l[v]<b,w=x?l[v]:b,A=x?w:w-1,_=d+A-S,C=B7(t,A-1,n,_-1,a),E=A-C;if(b=l[v],l[v]=E,m<=S&&S<=g){let R=(e+(S-p))/2;if(R<=o&&E-1<=s[R]){let P=_-C;if(u.nChangePreceding=e,e===E+P-t-n?(u.aEndPreceding=t,u.bEndPreceding=n):(u.aEndPreceding=E,u.bEndPreceding=P),u.nCommonPreceding=C,C!==0&&(u.aCommonPreceding=E,u.bCommonPreceding=P),u.nChangeFollowing=e-1,e===1)u.nCommonFollowing=0,u.aStartFollowing=r,u.bStartFollowing=i;else{let O=d+w-(x?S-1:S+1),k=$7(w,r,O,i,a);u.nCommonFollowing=k,k!==0&&(u.aCommonFollowing=w,u.bCommonFollowing=O);let I=w+k,M=O+k;e-1===r+i-I-M?(u.aStartFollowing=r,u.bStartFollowing=i):(u.aStartFollowing=I,u.bStartFollowing=M)}return!0}}}return!1},Qzt=(e,t,r,n,i,a,s,o,l)=>{let c=n-t,u=i-r,d=r-t,h=i-n,p=h-d,m=d,g=d;if(s[0]=t-1,o[0]=r,p%2===0){let b=(e||p)/2,y=(d+h)/2;for(let v=1;v<=y;v+=1)if(m=lE(v,r,i,c,a,s,m),v<b)g=rie(v,t,n,u,a,o,g);else if(Xzt(v,t,r,n,i,a,s,m,o,g,l))return}else{let b=((e||p)+1)/2,y=(d+h+1)/2,v=1;for(m=lE(v,r,i,c,a,s,m),v+=1;v<=y;v+=1)if(g=rie(v-1,t,n,u,a,o,g),v<b)m=lE(v,r,i,c,a,s,m);else if(Kzt(v,t,r,n,i,a,s,m,o,g,l))return}throw new Error(`${u5}: no overlap aStart=${t} aEnd=${r} bStart=${n} bEnd=${i}`)},zL=(e,t,r,n,i,a,s,o,l,c)=>{if(i-n<r-t){if(a=!a,a&&s.length===1){let{foundSubsequence:R,isCommon:P}=s[0];s[1]={foundSubsequence:(O,k,I)=>{R(O,I,k)},isCommon:(O,k)=>P(k,O)}}let C=t,E=r;t=n,r=i,n=C,i=E}let{foundSubsequence:u,isCommon:d}=s[a?1:0];Qzt(e,t,r,n,i,d,o,l,c);let{nChangePreceding:h,aEndPreceding:p,bEndPreceding:m,nCommonPreceding:g,aCommonPreceding:b,bCommonPreceding:y,nCommonFollowing:v,aCommonFollowing:S,bCommonFollowing:x,nChangeFollowing:w,aStartFollowing:A,bStartFollowing:_}=c;t<p&&n<m&&zL(h,t,p,n,m,a,s,o,l,c),g!==0&&u(g,b,y),v!==0&&u(v,S,x),A<r&&_<i&&zL(w,A,r,_,i,a,s,o,l,c)},nie=(e,t)=>{if(typeof t!="number")throw new TypeError(`${u5}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${u5}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${u5}: ${e} value ${t} is a negative integer`)},iie=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${u5}: ${e} typeof ${r} is not a function`)};function Jzt(e,t,r,n){nie("aLength",e),nie("bLength",t),iie("isCommon",r),iie("foundSubsequence",n);let i=$7(0,e,0,t,r);if(i!==0&&n(i,0,0),e!==i||t!==i){let a=i,s=i,o=B7(a,e-1,s,t-1,r),l=e-o,c=t-o,u=i+o;e!==u&&t!==u&&zL(0,a,l,s,c,!1,[{foundSubsequence:n,isCommon:r}],[Ci],[Ci],{aCommonFollowing:Ci,aCommonPreceding:Ci,aEndPreceding:Ci,aStartFollowing:Ci,bCommonFollowing:Ci,bCommonPreceding:Ci,bEndPreceding:Ci,bStartFollowing:Ci,nChangeFollowing:Ci,nChangePreceding:Ci,nCommonFollowing:Ci,nCommonPreceding:Ci}),o!==0&&n(o,l,c)}}function Zzt(e,t){return e.replace(/\s+$/,r=>t(r))}function hV(e,t,r,n,i,a){return e.length!==0?r(`${n} ${Zzt(e,i)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}function _je(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return hV(e,t,r,n,i,a)}function Aje(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return hV(e,t,r,n,i,a)}function Cje(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:a}){return hV(e,t,r,n,i,a)}function aie(e,t,r,n,{patchColor:i}){return i(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function eWt(e,t){let r=e.length,n=t.contextLines,i=n+n,a=r,s=!1,o=0,l=0;for(;l!==r;){let x=l;for(;l!==r&&e[l][0]===an;)l+=1;if(x!==l)if(x===0)l>n&&(a-=l-n,s=!0);else if(l===r){let w=l-x;w>n&&(a-=w-n,s=!0)}else{let w=l-x;w>i&&(a-=w-i,o+=1)}for(;l!==r&&e[l][0]!==an;)l+=1}let c=o!==0||s;o!==0?a+=o+1:s&&(a+=1);let u=a-1,d=[],h=0;c&&d.push("");let p=0,m=0,g=0,b=0,y=x=>{let w=d.length;d.push(Cje(x,w===0||w===u,t)),g+=1,b+=1},v=x=>{let w=d.length;d.push(_je(x,w===0||w===u,t)),g+=1},S=x=>{let w=d.length;d.push(Aje(x,w===0||w===u,t)),b+=1};for(l=0;l!==r;){let x=l;for(;l!==r&&e[l][0]===an;)l+=1;if(x!==l)if(x===0){l>n&&(x=l-n,p=x,m=x,g=p,b=m);for(let w=x;w!==l;w+=1)y(e[w][1])}else if(l===r){let w=l-x>n?x+n:l;for(let A=x;A!==w;A+=1)y(e[A][1])}else{let w=l-x;if(w>i){let A=x+n;for(let C=x;C!==A;C+=1)y(e[C][1]);d[h]=aie(p,g,m,b,t),h=d.length,d.push("");let _=w-i;p=g+_,m=b+_,g=p,b=m;for(let C=l-n;C!==l;C+=1)y(e[C][1])}else for(let A=x;A!==l;A+=1)y(e[A][1])}for(;l!==r&&e[l][0]===Bi;)v(e[l][1]),l+=1;for(;l!==r&&e[l][0]===di;)S(e[l][1]),l+=1}return c&&(d[h]=aie(p,g,m,b,t)),d.join(`
`)}function tWt(e,t){return e.map((r,n,i)=>{let a=r[1],s=n===0||n===i.length-1;switch(r[0]){case Bi:return _je(a,s,t);case di:return Aje(a,s,t);default:return Cje(a,s,t)}}).join(`
`)}var cE=e=>e,Eje=5,rWt=0;function nWt(){return{aAnnotation:"Expected",aColor:Z0.green,aIndicator:"-",bAnnotation:"Received",bColor:Z0.red,bIndicator:"+",changeColor:Z0.inverse,changeLineTrailingSpaceColor:cE,commonColor:Z0.dim,commonIndicator:" ",commonLineTrailingSpaceColor:cE,compareKeys:void 0,contextLines:Eje,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Z0.yellow,truncateThreshold:rWt,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:cE}}function iWt(e){return e&&typeof e=="function"?e:void 0}function aWt(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Eje}function cf(e={}){return{...nWt(),...e,compareKeys:iWt(e.compareKeys),contextLines:aWt(e.contextLines)}}function bm(e){return e.length===1&&e[0].length===0}function sWt(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Bi:t+=1;break;case di:r+=1;break}}),{a:t,b:r}}function oWt({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:i,bIndicator:a,includeChangeCounts:s,omitAnnotationLines:o},l){if(o)return"";let c="",u="";if(s){let p=String(l.a),m=String(l.b),g=n.length-e.length,b=" ".repeat(Math.max(0,g)),y=" ".repeat(Math.max(0,-g)),v=m.length-p.length,S=" ".repeat(Math.max(0,v)),x=" ".repeat(Math.max(0,-v));c=`${b} ${r} ${S}${p}`,u=`${y} ${a} ${x}${m}`}let d=`${r} ${e}${c}`,h=`${a} ${n}${u}`;return`${t(d)}
${i(h)}
`}function fV(e,t,r){return oWt(r,sWt(e))+(r.expand?tWt(e,r):eWt(e,r))+(t?r.truncateAnnotationColor(`
${r.truncateAnnotation}`):"")}function OA(e,t,r){let n=cf(r),[i,a]=Pje(bm(e)?[]:e,bm(t)?[]:t,n);return fV(i,a,n)}function lWt(e,t,r,n,i){if(bm(e)&&bm(r)&&(e=[],r=[]),bm(t)&&bm(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return OA(e,t,i);let[a,s]=Pje(r,n,i),o=0,l=0;return a.forEach(c=>{switch(c[0]){case Bi:c[1]=e[o],o+=1;break;case di:c[1]=t[l],l+=1;break;default:c[1]=t[l],o+=1,l+=1}}),fV(a,s,cf(i))}function Pje(e,t,r){var h,p;let n=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,i=Math.max(Math.floor((p=r==null?void 0:r.truncateThreshold)!=null?p:0),0),a=n?Math.min(e.length,i):e.length,s=n?Math.min(t.length,i):t.length,o=a!==e.length||s!==t.length,l=(m,g)=>e[m]===t[g],c=[],u=0,d=0;for(wje(a,s,l,(m,g,b)=>{for(;u!==g;u+=1)c.push(new U0(Bi,e[u]));for(;d!==b;d+=1)c.push(new U0(di,t[d]));for(;m!==0;m-=1,u+=1,d+=1)c.push(new U0(an,t[d]))});u!==a;u+=1)c.push(new U0(Bi,e[u]));for(;d!==s;d+=1)c.push(new U0(di,t[d]));return[c,o]}function sie(e){return e.includes(`\r
`)?`\r
`:`
`}function cWt(e,t,r){var h,p;let n=(h=r==null?void 0:r.truncateThreshold)!=null?h:!1,i=Math.max(Math.floor((p=r==null?void 0:r.truncateThreshold)!=null?p:0),0),a=e.length,s=t.length;if(n){let m=e.includes(`
`),g=t.includes(`
`),b=sie(e),y=sie(t),v=m?`${e.split(b,i).join(b)}
`:e,S=g?`${t.split(y,i).join(y)}
`:t;a=v.length,s=S.length}let o=a!==e.length||s!==t.length,l=(m,g)=>e[m]===t[g],c=0,u=0,d=[];return wje(a,s,l,(m,g,b)=>{c!==g&&d.push(new U0(Bi,e.slice(c,g))),u!==b&&d.push(new U0(di,t.slice(u,b))),c=g+m,u=b+m,d.push(new U0(an,t.slice(b,u)))}),c!==a&&d.push(new U0(Bi,e.slice(c))),u!==s&&d.push(new U0(di,t.slice(u))),[d,o]}function uWt(e,t,r){return t.reduce((n,i)=>n+(i[0]===an?i[1]:i[0]===e&&i[1].length!==0?r(i[1]):""),"")}var oie=class{constructor(e,t){ht(this,"op");ht(this,"line");ht(this,"lines");ht(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new U0(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new U0(this.op,uWt(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new U0(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
`)){let r=t.split(`
`),n=r.length-1;r.forEach((i,a)=>{a<n?(this.pushSubstring(i),this.pushLine()):i.length!==0&&this.pushSubstring(i)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},dWt=class{constructor(e,t){ht(this,"deleteBuffer");ht(this,"insertBuffer");ht(this,"lines");this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
`)){let n=r.split(`
`),i=n.length-1;n.forEach((a,s)=>{if(s===0){let o=new U0(t,a);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(o)):(this.pushDiffChangeLines(o),this.flushChangeLines())}else s<i?this.pushDiffCommonLine(new U0(t,a)):a.length!==0&&this.pushDiffChangeLines(new U0(t,a))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function pWt(e,t){let r=new oie(Bi,t),n=new oie(di,t),i=new dWt(r,n);return e.forEach(a=>{switch(a[0]){case Bi:r.align(a);break;case di:n.align(a);break;default:i.align(a)}}),i.getLines()}function hWt(e,t){if(t){let r=e.length-1;return e.some((n,i)=>n[0]===an&&(i!==r||n[1]!==`
`))}return e.some(r=>r[0]===an)}function fWt(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
`)||t.includes(`
`),[i,a]=jje(n?`${e}
`:e,n?`${t}
`:t,!0,r);if(hWt(i,n)){let s=cf(r),o=pWt(i,s.changeColor);return fV(o,a,s)}}return OA(e.split(`
`),t.split(`
`),r)}function jje(e,t,r,n){let[i,a]=cWt(e,t,n);return Hzt(i),[i,a]}function WL(e,t){let{commonColor:r}=cf(t);return r(e)}var{AsymmetricMatcher:mWt,DOMCollection:gWt,DOMElement:bWt,Immutable:yWt,ReactElement:vWt,ReactTestComponent:TWt}=gje,Rje=[TWt,vWt,bWt,gWt,yWt,mWt],HL={plugins:Rje},Ije={callToJSON:!1,maxDepth:10,plugins:Rje};function Zg(e,t,r){if(Object.is(e,t))return"";let n=Qne(e),i=n,a=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;i=e.getExpectedType(),a=i==="string"}if(i!==Qne(t)){let{aAnnotation:s,aColor:o,aIndicator:l,bAnnotation:c,bColor:u,bIndicator:d}=cf(r),h=UL(Ije,r),p=bl(e,h),m=bl(t,h),g=`${o(`${l} ${s}:`)}
${p}`,b=`${u(`${d} ${c}:`)}
${m}`;return`${g}
${b}`}if(!a)switch(n){case"string":return OA(e.split(`
`),t.split(`
`),r);case"boolean":case"number":return SWt(e,t,r);case"map":return uE(lie(e),lie(t),r);case"set":return uE(cie(e),cie(t),r);default:return uE(e,t,r)}}function SWt(e,t,r){let n=bl(e,HL),i=bl(t,HL);return n===i?"":OA(n.split(`
`),i.split(`
`),r)}function lie(e){return new Map(Array.from(e.entries()).sort())}function cie(e){return new Set(Array.from(e.values()).sort())}function uE(e,t,r){let n,i=!1;try{let s=UL(HL,r);n=uie(e,t,s,r)}catch(s){i=!0}let a=WL(Sje,r);if(n===void 0||n===a){let s=UL(Ije,r);n=uie(e,t,s,r),n!==a&&!i&&(n=`${WL(Yzt,r)}
${n}`)}return n}function UL(e,t){let{compareKeys:r}=cf(t);return{...e,compareKeys:r}}function uie(e,t,r,n){let i={...r,indent:0},a=bl(e,i),s=bl(t,i);if(a===s)return WL(Sje,n);{let o=bl(e,r),l=bl(t,r);return lWt(o.split(`
`),l.split(`
`),a.split(`
`),s.split(`
`),n)}}var die=2e4;function pie(e){return $L(e)==="Object"&&typeof e.asymmetricMatch=="function"}function hie(e,t){let r=$L(e),n=$L(t);return r===n&&(r==="Object"||r==="Array")}function Oje(e,t,r){let{aAnnotation:n,bAnnotation:i}=cf(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=die&&t.length<=die&&e!==t){if(e.includes(`
`)||t.includes(`
`))return fWt(t,e,r);let[c]=jje(t,e),u=c.some(m=>m[0]===an),d=xWt(n,i),h=d(n)+AWt(fie(c,Bi,u)),p=d(i)+_Wt(fie(c,di,u));return`${h}
${p}`}let a=Rne(e,{forceWritable:!0}),s=Rne(t,{forceWritable:!0}),{replacedExpected:o,replacedActual:l}=Mje(a,s);return Zg(o,l,r)}function Mje(e,t,r=new WeakSet,n=new WeakSet){return hie(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),YPe(t).forEach(i=>{let a=t[i],s=e[i];if(pie(a))a.asymmetricMatch(s)&&(e[i]=a);else if(pie(s))s.asymmetricMatch(a)&&(t[i]=s);else if(hie(s,a)){let o=Mje(s,a,r,n);e[i]=o.replacedActual,t[i]=o.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function xWt(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var wWt="·";function kje(e){return e.replace(/\s+$/gm,t=>wWt.repeat(t.length))}function _Wt(e){return Z0.red(kje(Ns(e)))}function AWt(e){return Z0.green(kje(Ns(e)))}function fie(e,t,r){return e.reduce((n,i)=>n+(i[0]===an?i[1]:i[0]===t?r?Z0.inverse(i[1]):i[1]:""),"")}function YT(e,t){if(!e)throw new Error(t)}function ym(e,t){return typeof t===e}function CWt(e){return e instanceof Promise}function GL(e,t,r){Object.defineProperty(e,t,r)}function Hm(e,t,r){Object.defineProperty(e,t,{value:r})}var d5=Symbol.for("tinyspy:spy"),EWt=new Set,PWt=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},jWt=e=>(GL(e,d5,{value:{reset:()=>PWt(e[d5])}}),e[d5]),_w=e=>e[d5]||jWt(e);function RWt(e){YT(ym("function",e)||ym("undefined",e),"cannot spy on a non-function value");let t=function(...n){let i=_w(t);i.called=!0,i.callCount++,i.calls.push(n);let a=i.next.shift();if(a){i.results.push(a);let[u,d]=a;if(u==="ok")return d;throw d}let s,o="ok",l=i.results.length;if(i.impl)try{new.target?s=Reflect.construct(i.impl,n,new.target):s=i.impl.apply(this,n),o="ok"}catch(u){throw s=u,o="error",i.results.push([o,u]),u}let c=[o,s];return CWt(s)&&s.then(u=>i.resolves[l]=["ok",u],u=>i.resolves[l]=["error",u]),i.results.push(c),s};Hm(t,"_isMockFunction",!0),Hm(t,"length",e?e.length:0),Hm(t,"name",e&&e.name||"spy");let r=_w(t);return r.reset(),r.impl=e,t}var mie=(e,t)=>Object.getOwnPropertyDescriptor(e,t),gie=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function IWt(e,t,r){YT(!ym("undefined",e),"spyOn could not find an object to spy upon"),YT(ym("object",e)||ym("function",e),"cannot spyOn on a primitive value");let[n,i]=(()=>{if(!ym("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),a=mie(e,n),s=Object.getPrototypeOf(e),o=s&&mie(s,n),l=a||o;YT(l||n in e,`${String(n)} does not exist`);let c=!1;i==="value"&&l&&!l.value&&l.get&&(i="get",c=!0,r=l.get());let u;l?u=l[i]:i!=="value"?u=()=>e[n]:u=e[n];let d=g=>{let{value:b,...y}=l||{configurable:!0,writable:!0};i!=="value"&&delete y.writable,y[i]=g,GL(e,n,y)},h=()=>l?GL(e,n,l):d(u);r||(r=u);let p=RWt(r);i==="value"&&gie(p,u);let m=p[d5];return Hm(m,"restore",h),Hm(m,"getOriginal",()=>c?u():u),Hm(m,"willCall",g=>(m.impl=g,p)),d(c?()=>(gie(p,r),p):p),EWt.add(p),p}var MA=new Set;function Dje(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}var OWt=0;function MWt(e){let t=e,r,n=[],i=[],a=[],s=_w(e),o={get calls(){return s.calls},get contexts(){return i},get instances(){return n},get invocationCallOrder(){return a},get results(){return s.results.map(([p,m])=>({type:p==="error"?"throw":"return",value:m}))},get settledResults(){return s.resolves.map(([p,m])=>({type:p==="error"?"rejected":"fulfilled",value:m}))},get lastCall(){return s.calls[s.calls.length-1]}},l=[],c=!1;function u(...p){return n.push(this),i.push(this),a.push(++OWt),(c?r:l.shift()||r||s.getOriginal()||(()=>{})).apply(this,p)}let d=t.name;t.getMockName=()=>d||"vi.fn()",t.mockName=p=>(d=p,t),t.mockClear=()=>(s.reset(),n=[],i=[],a=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},l=[],t),t.mockRestore=()=>(t.mockReset(),s.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=p=>(r=p,s.willCall(u),t),t.mockImplementationOnce=p=>(l.push(p),t);function h(p,m){let g=r;r=p,s.willCall(u),c=!0;let b=()=>{r=g,c=!1},y=m();return y instanceof Promise?y.then(()=>(b(),t)):(b(),t)}return t.withImplementation=h,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=p=>t.mockImplementation(()=>p),t.mockReturnValueOnce=p=>t.mockImplementationOnce(()=>p),t.mockResolvedValue=p=>t.mockImplementation(()=>Promise.resolve(p)),t.mockResolvedValueOnce=p=>t.mockImplementationOnce(()=>Promise.resolve(p)),t.mockRejectedValue=p=>t.mockImplementation(()=>Promise.reject(p)),t.mockRejectedValueOnce=p=>t.mockImplementationOnce(()=>Promise.reject(p)),Object.defineProperty(t,"mock",{get:()=>o}),s.willCall(u),MA.add(t),t}function bie(e){let t=MWt(IWt({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}var kWt="@@__IMMUTABLE_RECORD__@@",DWt="@@__IMMUTABLE_ITERABLE__@@";function LWt(e){return e&&(e[DWt]||e[kWt])}var FWt=Object.getPrototypeOf({});function yie(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function vm(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(LWt(e))return vm(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${zzt(e.sample)}`;if(typeof e.toJSON=="function")return vm(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,i)=>{try{r[i]=vm(n,t)}catch(a){r[i]=yie(a)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==FWt;)Object.getOwnPropertyNames(n).forEach(i=>{if(!(i in r))try{r[i]=vm(e[i],t)}catch(a){delete r[i],r[i]=yie(a)}}),n=Object.getPrototypeOf(n);return r}}function $Wt(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function Lje(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=Oje(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Ns(n.expected,10)),typeof n.actual!="string"&&(n.actual=Ns(n.actual,10));try{typeof n.message=="string"&&(n.message=$Wt(n.message))}catch(i){}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Lje(n.cause,t,r))}catch(i){}try{return vm(n)}catch(i){return vm(new Error(`Failed to fully serialize error: ${i==null?void 0:i.message}
Inner error message: ${n==null?void 0:n.message}`))}}var N7=Symbol.for("matchers-object"),q7=Symbol.for("$$jest-matchers-object-storybook"),mV=Symbol.for("expect-global"),VL=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,N7)){let e=new WeakMap;Object.defineProperty(globalThis,N7,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,q7)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,q7,{configurable:!0,get:()=>({state:globalThis[N7].get(globalThis[mV]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,VL)){let e=Object.create(null);Object.defineProperty(globalThis,VL,{get:()=>e})}function Aw(e){return globalThis[N7].get(e)}function dE(e,t){let r=globalThis[N7],n=r.get(t)||{};Object.assign(n,e),r.set(t,n)}var Cw=Z0.green,gV=Z0.red,BWt=Z0.inverse,NWt=Z0.bold,qu=Z0.dim;function qWt(e,t="received",r="expected",n={}){let{comment:i="",isDirectExpectCall:a=!1,isNot:s=!1,promise:o="",secondArgument:l="",expectedColor:c=Cw,receivedColor:u=gV,secondArgumentColor:d=Cw}=n,h="",p="expect";return!a&&t!==""&&(h+=qu(`${p}(`)+u(t),p=")"),o!==""&&(h+=qu(`${p}.`)+o,p=""),s&&(h+=`${qu(`${p}.`)}not`,p=""),e.includes(".")?p+=e:(h+=qu(`${p}.`)+e,p=""),r===""?p+="()":(h+=qu(`${p}(`)+c(r),l&&(h+=qu(", ")+d(l)),p=")"),i!==""&&(p+=` // ${i}`),p!==""&&(h+=qu(p)),h}var zWt="·";function Fje(e){return e.replace(/\s+$/gm,t=>zWt.repeat(t.length))}function WWt(e){return gV(Fje(Ns(e)))}function HWt(e){return Cw(Fje(Ns(e)))}function $je(){return{EXPECTED_COLOR:Cw,RECEIVED_COLOR:gV,INVERTED_COLOR:BWt,BOLD_WEIGHT:NWt,DIM_COLOR:qu,diff:Zg,matcherHint:qWt,printReceived:WWt,printExpected:HWt,printDiffOrStringify:Oje}}function bV(){return globalThis[q7].customEqualityTesters}function Or(e,t,r,n){return r=r||[],Bje(e,t,[],[],r,n?Nje:GWt)}function vie(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&So("Function",e.asymmetricMatch)}function UWt(e,t){let r=vie(e),n=vie(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function Bje(e,t,r,n,i,a){let s=!0,o=UWt(e,t);if(o!==void 0)return o;let l={equals:Or};for(let m=0;m<i.length;m++){let g=i[m].call(l,e,t,i);if(g!==void 0)return g}if(e instanceof Error&&t instanceof Error)return e.message===t.message;if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;let c=Object.prototype.toString.call(e);if(c!==Object.prototype.toString.call(t))return!1;switch(c){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let m=+e,g=+t;return m===g||Number.isNaN(m)&&Number.isNaN(g)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags}if(typeof e!="object"||typeof t!="object")return!1;if(Sie(e)&&Sie(t))return e.isEqualNode(t);let u=r.length;for(;u--;){if(r[u]===e)return n[u]===t;if(n[u]===t)return!1}if(r.push(e),n.push(t),c==="[object Array]"&&e.length!==t.length)return!1;let d=Tie(e,a),h,p=d.length;if(Tie(t,a).length!==p)return!1;for(;p--;)if(h=d[p],s=a(t,h)&&Bje(e[h],t[h],r,n,i,a),!s)return!1;return r.pop(),n.pop(),s}function Tie(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}function GWt(e,t){return Nje(e,t)&&e[t]!==void 0}function Nje(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function So(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function Sie(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var qje="@@__IMMUTABLE_KEYED__@@",zje="@@__IMMUTABLE_SET__@@",VWt="@@__IMMUTABLE_LIST__@@",kA="@@__IMMUTABLE_ORDERED__@@",YWt="@@__IMMUTABLE_RECORD__@@";function KWt(e){return!!(e&&e[qje]&&!e[kA])}function XWt(e){return!!(e&&e[zje]&&!e[kA])}function DA(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function QWt(e){return!!(e&&DA(e)&&e[VWt])}function JWt(e){return!!(e&&DA(e)&&e[qje]&&e[kA])}function ZWt(e){return!!(e&&DA(e)&&e[zje]&&e[kA])}function eHt(e){return!!(e&&DA(e)&&e[YWt])}var Wje=Symbol.iterator;function xie(e){return!!(e!=null&&e[Wje])}function qa(e,t,r=[],n=[],i=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!xie(e)||!xie(t))return;if(e.constructor!==t.constructor)return!1;let a=n.length;for(;a--;)if(n[a]===e)return i[a]===t;n.push(e),i.push(t);let s=[...r.filter(c=>c!==qa),o];function o(c,u){return qa(c,u,[...r],[...n],[...i])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(So("Set",e)||XWt(e)){let c=!0;for(let u of e)if(!t.has(u)){let d=!1;for(let h of t)Or(u,h,s)===!0&&(d=!0);if(d===!1){c=!1;break}}return n.pop(),i.pop(),c}else if(So("Map",e)||KWt(e)){let c=!0;for(let u of e)if(!t.has(u[0])||!Or(u[1],t.get(u[0]),s)){let d=!1;for(let h of t){let p=Or(u[0],h[0],s),m=!1;p===!0&&(m=Or(u[1],h[1],s)),m===!0&&(d=!0)}if(d===!1){c=!1;break}}return n.pop(),i.pop(),c}}let l=t[Wje]();for(let c of e){let u=l.next();if(u.done||!Or(c,u.value,s))return!1}if(!l.next().done)return!1;if(!QWt(e)&&!JWt(e)&&!ZWt(e)&&!eHt(e)){let c=Object.entries(e),u=Object.entries(t);if(!Or(c,u))return!1}return n.pop(),i.pop(),!0}function yV(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||yV(Object.getPrototypeOf(e),t)}function tHt(e){return GT(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function p2(e,t,r=[]){let n=r.filter(a=>a!==p2),i=(a=new WeakMap)=>(s,o)=>{if(tHt(o))return Object.keys(o).every(l=>{if(o[l]!=null&&typeof o[l]=="object"){if(a.has(o[l]))return Or(s[l],o[l],n);a.set(o[l],!0)}let c=s!=null&&yV(s,l)&&Or(s[l],o[l],[...n,i(a)]);return a.delete(o[l]),c})};return i()(e,t)}function wie(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function _ie(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch(i){return}}if(r.byteLength!==n.byteLength)return!1;for(let i=0;i<r.byteLength;i++)if(r.getUint8(i)!==n.getUint8(i))return!1;return!0}function YL(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),i=Object.keys(t),a=r.filter(s=>s!==YL);return Or(e,t,a,!0)&&Or(n,i)}function rHt(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
If it should pass with deep equality, replace "toBe" with "${e}"
Expected: ${t}
Received: serializes to the same string
`:n}function nHt(e,t){return`${t} ${e}${t===1?"":"s"}`}function pE(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}function iHt(e,t,r=[]){let n=0,i=(a=new WeakMap)=>(s,o)=>{if(Array.isArray(s)){if(Array.isArray(o)&&o.length===s.length)return o.map((l,c)=>i(a)(s[c],l))}else{if(s instanceof Date)return s;if(GT(s)&&GT(o)){if(Or(s,o,[...r,qa,p2]))return o;let l={};a.set(s,l);for(let c of pE(s))yV(o,c)?l[c]=a.has(s[c])?a.get(s[c]):i(a)(s[c],o[c]):a.has(s[c])||(n+=1,GT(s[c])&&(n+=pE(s[c]).length),i(a)(s[c],o[c]));if(pE(l).length>0)return l}}return s};return{subset:i()(e,t),stripped:n}}var tp=class{constructor(e,t=!1){ht(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=e,this.inverse=t}getMatcherContext(e){return{...Aw(e||globalThis[mV]),equals:Or,isNot:this.inverse,customTesters:bV(),utils:{...$je(),diff:Zg,stringify:Ns,iterableEquality:qa,subsetEquality:p2}}}[Symbol.for("chai/inspect")](e){let t=Ns(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`}},Aie=class extends tp{constructor(e,t=!1){if(!So("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=So("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},aHt=class extends tp{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},Cie=class extends tp{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!Or(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},Eie=class extends tp{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(i=>Or(n,i,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},sHt=class extends tp{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:"<anonymous>"}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||e instanceof Function:this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},Pie=class extends tp{constructor(e,t=!1){if(!So("String",e)&&!So("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=So("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},jie=class extends tp{constructor(t,r=2,n=!1){if(!So("Number",t))throw new Error("Expected is not a Number");if(!So("Number",r))throw new Error("Precision is not a Number");super(t);ht(this,"precision");this.inverse=n,this.precision=r}asymmetricMatch(t){if(!So("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${nHt("digit",this.precision)})`].join(" ")}},oHt=(e,t)=>{t.addMethod(e.expect,"anything",()=>new aHt),t.addMethod(e.expect,"any",r=>new sHt(r)),t.addMethod(e.expect,"stringContaining",r=>new Aie(r)),t.addMethod(e.expect,"objectContaining",r=>new Cie(r)),t.addMethod(e.expect,"arrayContaining",r=>new Eie(r)),t.addMethod(e.expect,"stringMatching",r=>new Pie(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new jie(r,n)),e.expect.not={stringContaining:r=>new Aie(r,!0),objectContaining:r=>new Cie(r,!0),arrayContaining:r=>new Eie(r,!0),stringMatching:r=>new Pie(r,!0),closeTo:(r,n)=>new jie(r,n,!0)}};function Rie(e,t){return e&&t instanceof Promise&&(t=t.finally(()=>{let r=e.promises.indexOf(t);r!==-1&&e.promises.splice(r,1)}),e.promises||(e.promises=[]),e.promises.push(t)),t}function Hje(e,t){return function(...r){var n;if(!e.flag(this,"soft"))return t.apply(this,r);let i=e.flag(this,"vitest-test");if(!i)throw new Error("expect.soft() can only be used inside a test");try{return t.apply(this,r)}catch(a){i.result||(i.result={state:"fail"}),i.result.state="fail",(n=i.result).errors||(n.errors=[]),i.result.errors.push(Lje(a))}}}var lHt=(e,t)=>{let{AssertionError:r}=e,n=bV();function i(u,d){let h=p=>{let m=Hje(t,d);t.addMethod(e.Assertion.prototype,p,m),t.addMethod(globalThis[q7].matchers,p,m)};Array.isArray(u)?u.forEach(p=>h(p)):h(u)}["throw","throws","Throw"].forEach(u=>{t.overwriteMethod(e.Assertion.prototype,u,d=>function(...h){let p=t.flag(this,"promise"),m=t.flag(this,"object"),g=t.flag(this,"negate");if(p==="rejects")t.flag(this,"object",()=>{throw m});else if(p==="resolves"&&typeof m!="function"){if(g)return;{let b=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(b,y,t.flag(this,"ssfi"))}}d.apply(this,h)})}),i("withTest",function(u){return t.flag(this,"vitest-test",u),this}),i("toEqual",function(u){let d=t.flag(this,"object"),h=Or(d,u,[...n,qa]);return this.assert(h,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",u,d)}),i("toStrictEqual",function(u){let d=t.flag(this,"object"),h=Or(d,u,[...n,qa,wie,YL,_ie],!0);return this.assert(h,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",u,d)}),i("toBe",function(u){let d=this._obj,h=Object.is(d,u),p="";return h||(Or(d,u,[...n,qa,wie,YL,_ie],!0)?p="toStrictEqual":Or(d,u,[...n,qa])&&(p="toEqual")),this.assert(h,rHt(p),"expected #{this} not to be #{exp} // Object.is equality",u,d)}),i("toMatchObject",function(u){let d=this._obj,h=Or(d,u,[...n,qa,p2]),p=t.flag(this,"negate"),{subset:m,stripped:g}=iHt(d,u);if(h&&p||!h&&!p){let b=t.getMessage(this,[h,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",u,m,!1]),y=g===0?b:`${b}
(${g} matching ${g===1?"property":"properties"} omitted from actual)`;throw new r(y,{showDiff:!0,expected:u,actual:m})}}),i("toMatch",function(u){let d=this._obj;if(typeof d!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof d}`);return this.assert(typeof u=="string"?d.includes(u):d.match(u),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",u,d)}),i("toContain",function(u){let d=this._obj;if(typeof Node<"u"&&d instanceof Node){if(!(u instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof u}`);return this.assert(d.contains(u),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",u,d)}if(typeof DOMTokenList<"u"&&d instanceof DOMTokenList){cc(u,"class name",["string"]);let h=t.flag(this,"negate")?d.value.replace(u,"").trim():`${d.value} ${u}`;return this.assert(d.contains(u),`expected "${d.value}" to contain "${u}"`,`expected "${d.value}" not to contain "${u}"`,h,d.value)}return typeof d=="string"&&typeof u=="string"?this.assert(d.includes(u),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",u,d):(d!=null&&typeof d!="string"&&t.flag(this,"object",Array.from(d)),this.contain(u))}),i("toContainEqual",function(u){let d=t.flag(this,"object"),h=Array.from(d).findIndex(p=>Or(p,u,n));this.assert(h!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",u)}),i("toBeTruthy",function(){let u=t.flag(this,"object");this.assert(!!u,"expected #{this} to be truthy","expected #{this} to not be truthy",u,!1)}),i("toBeFalsy",function(){let u=t.flag(this,"object");this.assert(!u,"expected #{this} to be falsy","expected #{this} to not be falsy",u,!1)}),i("toBeGreaterThan",function(u){let d=this._obj;return cc(d,"actual",["number","bigint"]),cc(u,"expected",["number","bigint"]),this.assert(d>u,`expected ${d} to be greater than ${u}`,`expected ${d} to be not greater than ${u}`,d,u,!1)}),i("toBeGreaterThanOrEqual",function(u){let d=this._obj;return cc(d,"actual",["number","bigint"]),cc(u,"expected",["number","bigint"]),this.assert(d>=u,`expected ${d} to be greater than or equal to ${u}`,`expected ${d} to be not greater than or equal to ${u}`,d,u,!1)}),i("toBeLessThan",function(u){let d=this._obj;return cc(d,"actual",["number","bigint"]),cc(u,"expected",["number","bigint"]),this.assert(d<u,`expected ${d} to be less than ${u}`,`expected ${d} to be not less than ${u}`,d,u,!1)}),i("toBeLessThanOrEqual",function(u){let d=this._obj;return cc(d,"actual",["number","bigint"]),cc(u,"expected",["number","bigint"]),this.assert(d<=u,`expected ${d} to be less than or equal to ${u}`,`expected ${d} to be not less than or equal to ${u}`,d,u,!1)}),i("toBeNaN",function(){return this.be.NaN}),i("toBeUndefined",function(){return this.be.undefined}),i("toBeNull",function(){return this.be.null}),i("toBeDefined",function(){let u=t.flag(this,"negate");return t.flag(this,"negate",!1),u?this.be.undefined:this.not.be.undefined}),i("toBeTypeOf",function(u){let d=typeof this._obj,h=u===d;return this.assert(h,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",u,d)}),i("toBeInstanceOf",function(u){return this.instanceOf(u)}),i("toHaveLength",function(u){return this.have.length(u)}),i("toHaveProperty",function(...u){Array.isArray(u[0])&&(u[0]=u[0].map(S=>String(S).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[h,p]=u,m=()=>Object.prototype.hasOwnProperty.call(d,h)?{value:d[h],exists:!0}:t.getPathInfo(d,h),{value:g,exists:b}=m(),y=b&&(u.length===1||Or(p,g,n)),v=u.length===1?"":` with value ${t.objDisplay(p)}`;return this.assert(y,`expected #{this} to have property "${h}"${v}`,`expected #{this} to not have property "${h}"${v}`,p,b?g:void 0)}),i("toBeCloseTo",function(u,d=2){let h=this._obj,p=!1,m=0,g=0;return u===Number.POSITIVE_INFINITY&&h===Number.POSITIVE_INFINITY||u===Number.NEGATIVE_INFINITY&&h===Number.NEGATIVE_INFINITY?p=!0:(m=10**-d/2,g=Math.abs(h-u),p=g<m),this.assert(p,`expected #{this} to be close to #{exp}, received difference is ${g}, but expected ${m}`,`expected #{this} to not be close to #{exp}, received difference is ${g}, but expected ${m}`,u,h,!1)});let a=u=>{if(!Dje(u._obj))throw new TypeError(`${t.inspect(u._obj)} is not a spy or a call to a spy!`)},s=u=>(a(u),u._obj),o=u=>{let d=u%10,h=u%100;return d===1&&h!==11?`${u}st`:d===2&&h!==12?`${u}nd`:d===3&&h!==13?`${u}rd`:`${u}th`},l=(u,d,h)=>(u.mock.calls&&(d+=Z0.gray(`
Received:
${u.mock.calls.map((p,m)=>{let g=Z0.bold(` ${o(m+1)} ${u.getMockName()} call:
`);return h?g+=Zg(h,p,{omitAnnotationLines:!0}):g+=Ns(p).split(`
`).map(b=>` ${b}`).join(`
`),g+=`
`,g}).join(`
`)}`)),d+=Z0.gray(`
Number of calls: ${Z0.bold(u.mock.calls.length)}
`),d),c=(u,d,h,p)=>(h+=Z0.gray(`
Received:
${d.map((m,g)=>{let b=Z0.bold(` ${o(g+1)} ${u.getMockName()} call return:
`);return p?b+=Zg(p,m.value,{omitAnnotationLines:!0}):b+=Ns(m).split(`
`).map(y=>` ${y}`).join(`
`),b+=`
`,b}).join(`
`)}`),h+=Z0.gray(`
Number of calls: ${Z0.bold(u.mock.calls.length)}
`),h);i(["toHaveBeenCalledTimes","toBeCalledTimes"],function(u){let d=s(this),h=d.getMockName(),p=d.mock.calls.length;return this.assert(p===u,`expected "${h}" to be called #{exp} times, but got ${p} times`,`expected "${h}" to not be called #{exp} times`,u,p,!1)}),i("toHaveBeenCalledOnce",function(){let u=s(this),d=u.getMockName(),h=u.mock.calls.length;return this.assert(h===1,`expected "${d}" to be called once, but got ${h} times`,`expected "${d}" to not be called once`,1,h,!1)}),i(["toHaveBeenCalled","toBeCalled"],function(){let u=s(this),d=u.getMockName(),h=u.mock.calls.length,p=h>0,m=t.flag(this,"negate"),g=t.getMessage(this,[p,`expected "${d}" to be called at least once`,`expected "${d}" to not be called at all, but actually been called ${h} times`,!0,p]);if(p&&m&&(g=l(u,g)),p&&m||!p&&!m)throw new r(g)}),i(["toHaveBeenCalledWith","toBeCalledWith"],function(...u){let d=s(this),h=d.getMockName(),p=d.mock.calls.some(b=>Or(b,u,[...n,qa])),m=t.flag(this,"negate"),g=t.getMessage(this,[p,`expected "${h}" to be called with arguments: #{exp}`,`expected "${h}" to not be called with arguments: #{exp}`,u]);if(p&&m||!p&&!m)throw new r(l(d,g,u))}),i(["toHaveBeenNthCalledWith","nthCalledWith"],function(u,...d){let h=s(this),p=h.getMockName(),m=h.mock.calls[u-1],g=h.mock.calls.length,b=u<=g;this.assert(Or(m,d,[...n,qa]),`expected ${o(u)} "${p}" call to have been called with #{exp}${b?"":`, but called only ${g} times`}`,`expected ${o(u)} "${p}" call to not have been called with #{exp}`,d,m,b)}),i(["toHaveBeenLastCalledWith","lastCalledWith"],function(...u){let d=s(this),h=d.getMockName(),p=d.mock.calls[d.mock.calls.length-1];this.assert(Or(p,u,[...n,qa]),`expected last "${h}" call to have been called with #{exp}`,`expected last "${h}" call to not have been called with #{exp}`,u,p)}),i(["toThrow","toThrowError"],function(u){if(typeof u=="string"||typeof u>"u"||u instanceof RegExp)return this.throws(u);let d=this._obj,h=t.flag(this,"promise"),p=t.flag(this,"negate"),m=null;if(h==="rejects")m=d;else if(h==="resolves"&&typeof d!="function"){if(p)return;{let g=t.flag(this,"message")||"expected promise to throw an error, but it didn't",b={showDiff:!1};throw new r(g,b,t.flag(this,"ssfi"))}}else{let g=!1;try{d()}catch(b){g=!0,m=b}if(!g&&!p){let b=t.flag(this,"message")||"expected function to throw an error, but it didn't",y={showDiff:!1};throw new r(b,y,t.flag(this,"ssfi"))}}if(typeof u=="function"){let g=u.name||u.prototype.constructor.name;return this.assert(m&&m instanceof u,`expected error to be instance of ${g}`,`expected error not to be instance of ${g}`,u,m)}if(u instanceof Error)return this.assert(m&&u.message===m.message,`expected error to have message: ${u.message}`,`expected error not to have message: ${u.message}`,u.message,m&&m.message);if(typeof u=="object"&&"asymmetricMatch"in u&&typeof u.asymmetricMatch=="function"){let g=u;return this.assert(m&&g.asymmetricMatch(m),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",g,m)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof u}"`)}),[{name:"toHaveResolved",condition:u=>u.mock.settledResults.length>0&&u.mock.settledResults.some(({type:d})=>d==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:u=>u.mock.calls.length>0&&u.mock.results.some(({type:d})=>d!=="throw"),action:"called"}].forEach(({name:u,condition:d,action:h})=>{i(u,function(){let p=s(this),m=p.getMockName(),g=d(p);this.assert(g,`expected "${m}" to be successfully ${h} at least once`,`expected "${m}" to not be successfully ${h}`,g,!g,!1)})}),[{name:"toHaveResolvedTimes",condition:(u,d)=>u.mock.settledResults.reduce((h,{type:p})=>p==="fulfilled"?++h:h,0)===d,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(u,d)=>u.mock.results.reduce((h,{type:p})=>p==="throw"?h:++h,0)===d,action:"called"}].forEach(({name:u,condition:d,action:h})=>{i(u,function(p){let m=s(this),g=m.getMockName(),b=d(m,p);this.assert(b,`expected "${g}" to be successfully ${h} ${p} times`,`expected "${g}" to not be successfully ${h} ${p} times`,`expected resolved times: ${p}`,`received resolved times: ${b}`,!1)})}),[{name:"toHaveResolvedWith",condition:(u,d)=>u.mock.settledResults.some(({type:h,value:p})=>h==="fulfilled"&&Or(d,p)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(u,d)=>u.mock.results.some(({type:h,value:p})=>h==="return"&&Or(d,p)),action:"return"}].forEach(({name:u,condition:d,action:h})=>{i(u,function(p){let m=s(this),g=d(m,p),b=t.flag(this,"negate");if(g&&b||!g&&!b){let y=m.getMockName(),v=t.getMessage(this,[g,`expected "${y}" to ${h} with: #{exp} at least once`,`expected "${y}" to not ${h} with: #{exp}`,p]),S=h==="return"?m.mock.results:m.mock.settledResults;throw new r(c(m,S,v,p))}})}),[{name:"toHaveLastResolvedWith",condition:(u,d)=>{let h=u.mock.settledResults[u.mock.settledResults.length-1];return h&&h.type==="fulfilled"&&Or(h.value,d)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(u,d)=>{let h=u.mock.results[u.mock.results.length-1];return h&&h.type==="return"&&Or(h.value,d)},action:"return"}].forEach(({name:u,condition:d,action:h})=>{i(u,function(p){let m=s(this),g=h==="return"?m.mock.results:m.mock.settledResults,b=g[g.length-1],y=m.getMockName();this.assert(d(m,p),`expected last "${y}" call to ${h} #{exp}`,`expected last "${y}" call to not ${h} #{exp}`,p,b==null?void 0:b.value)})}),[{name:"toHaveNthResolvedWith",condition:(u,d,h)=>{let p=u.mock.settledResults[d-1];return p&&p.type==="fulfilled"&&Or(p.value,h)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(u,d,h)=>{let p=u.mock.results[d-1];return p&&p.type==="return"&&Or(p.value,h)},action:"return"}].forEach(({name:u,condition:d,action:h})=>{i(u,function(p,m){let g=s(this),b=g.getMockName(),y=(h==="return"?g.mock.results:g.mock.settledResults)[p-1],v=`${o(p)} call`;this.assert(d(g,p,m),`expected ${v} "${b}" call to ${h} #{exp}`,`expected ${v} "${b}" call to not ${h} #{exp}`,m,y==null?void 0:y.value)})}),i("toSatisfy",function(u,d){return this.be.satisfy(u,d)}),i("withContext",function(u){for(let d in u)t.flag(this,d,u[d]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let u=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",u);let d=t.flag(this,"vitest-test"),h=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(h==null?void 0:h.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof h}'.`);let p=new Proxy(this,{get:(m,g,b)=>{let y=Reflect.get(m,g,b);return typeof y!="function"?y instanceof e.Assertion?p:y:async(...v)=>{let S=h.then(x=>(t.flag(this,"object",x),y.call(this,...v)),x=>{let w=new r(`promise rejected "${t.inspect(x)}" instead of resolving`,{showDiff:!1});throw w.cause=x,w.stack=u.stack.replace(u.message,w.message),w});return Rie(d,S)}}});return p}),t.addProperty(e.Assertion.prototype,"rejects",function(){let u=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",u);let d=t.flag(this,"vitest-test"),h=t.flag(this,"object"),p=typeof h=="function"?h():h;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(p==null?void 0:p.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof p}'.`);let m=new Proxy(this,{get:(g,b,y)=>{let v=Reflect.get(g,b,y);return typeof v!="function"?v instanceof e.Assertion?m:v:async(...S)=>{let x=p.then(w=>{let A=new r(`promise resolved "${t.inspect(w)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:w});throw A.stack=u.stack.replace(u.message,A.message),A},w=>(t.flag(this,"object",w),v.call(this,...S)));return Rie(d,x)}}});return m})};function cHt(e,t){let r=e._obj,n=gl.flag(e,"negate"),i=gl.flag(e,"promise")||"",a={...$je(),diff:Zg,stringify:Ns,iterableEquality:qa,subsetEquality:p2};return{state:{...Aw(t),customTesters:bV(),isNot:n,utils:a,promise:i,equals:Or,suppressedErrors:[],soft:gl.flag(e,"soft"),poll:gl.flag(e,"poll")},isNot:n,obj:r}}var Iie=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function uHt(e,t,r){return(n,i)=>{Object.entries(r).forEach(([a,s])=>{function o(...d){let{state:h,isNot:p,obj:m}=cHt(this,t),g=s.call(h,m,...d);if(g&&typeof g=="object"&&g instanceof Promise)return g.then(({pass:x,message:w,actual:A,expected:_})=>{if(x&&p||!x&&!p)throw new Iie(w(),A,_)});let{pass:b,message:y,actual:v,expected:S}=g;if(b&&p||!b&&!p)throw new Iie(y(),v,S)}let l=Hje(i,o);i.addMethod(globalThis[q7].matchers,a,l),i.addMethod(e.Assertion.prototype,a,l);class c extends tp{constructor(h=!1,...p){super(p,h)}asymmetricMatch(h){let{pass:p}=s.call(this.getMatcherContext(t),h,...this.sample);return this.inverse?!p:p}toString(){return`${this.inverse?"not.":""}${a}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let u=(...d)=>new c(!1,...d);Object.defineProperty(t,a,{configurable:!0,enumerable:!0,value:u,writable:!0}),Object.defineProperty(t.not,a,{configurable:!0,enumerable:!0,value:(...d)=>new c(!0,...d),writable:!0}),Object.defineProperty(globalThis[VL],a,{configurable:!0,enumerable:!0,value:u,writable:!0})})}}var dHt=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{Wm(uHt(e,r,n))})};function pHt(){Wm(dHt),Wm(lHt),Wm(oHt);let e=(n,i)=>{let{assertionCalls:a}=Aw(e);return dE({assertionCalls:a+1,soft:!1},e),ih(n,i)};Object.assign(e,ih),e.getState=()=>Aw(e),e.setState=n=>dE(n,e),e.extend=n=>ih.extend(e,n),e.soft=(...n)=>{let i=e(...n);return e.setState({soft:!0}),i},e.unreachable=n=>{te.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let i=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(i(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:i})}function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return dE({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),gl.addMethod(e,"assertions",t),gl.addMethod(e,"hasAssertions",r),e.extend(tPe),e}var Uje=pHt();Object.defineProperty(globalThis,mV,{value:Uje,writable:!0,configurable:!0});var KL=new Set;function hHt(e){return KL.add(e),()=>void KL.delete(e)}function Gje(e){let t=e?bie(e):bie();return fHt(t)}function fHt(e){let t=Oie(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>Oie(r(n)),t}function Oie(e){let t=_w(e),r=t.impl;return t.willCall(function(...n){return KL.forEach(i=>i(e,n)),r==null?void 0:r.apply(this,n)}),e}function mHt(){MA.forEach(e=>e.mockClear())}function gHt(){MA.forEach(e=>e.mockReset())}function bHt(){MA.forEach(e=>e.mockRestore())}var Vje={};fG(Vje,{buildQueries:()=>wu,configure:()=>RUt,createEvent:()=>XT,findAllByAltText:()=>QRe,findAllByDisplayValue:()=>URe,findAllByLabelText:()=>_Re,findAllByPlaceholderText:()=>MRe,findAllByRole:()=>uIe,findAllByTestId:()=>gIe,findAllByText:()=>BRe,findAllByTitle:()=>nIe,findByAltText:()=>JRe,findByDisplayValue:()=>GRe,findByLabelText:()=>ARe,findByPlaceholderText:()=>kRe,findByRole:()=>dIe,findByTestId:()=>bIe,findByText:()=>NRe,findByTitle:()=>iIe,fireEvent:()=>G7,getAllByAltText:()=>KRe,getAllByDisplayValue:()=>WRe,getAllByLabelText:()=>CRe,getAllByPlaceholderText:()=>IRe,getAllByRole:()=>lIe,getAllByTestId:()=>fIe,getAllByText:()=>FRe,getAllByTitle:()=>tIe,getByAltText:()=>XRe,getByDisplayValue:()=>HRe,getByLabelText:()=>ERe,getByPlaceholderText:()=>ORe,getByRole:()=>cIe,getByTestId:()=>mIe,getByText:()=>$Re,getByTitle:()=>rIe,getConfig:()=>Er,getDefaultNormalizer:()=>_V,getElementError:()=>FA,getMultipleElementsFoundError:()=>$A,getNodeText:()=>h2,getQueriesForElement:()=>aF,getRoles:()=>bRe,getSuggestedQuery:()=>Pw,isInaccessible:()=>LA,logDOM:()=>XL,logRoles:()=>DUt,makeFindQuery:()=>t1,makeGetAllQuery:()=>EV,makeSingleQuery:()=>e1,prettyDOM:()=>H7,prettyFormat:()=>vV,queries:()=>jw,queryAllByAltText:()=>VRe,queryAllByAttribute:()=>df,queryAllByDisplayValue:()=>qRe,queryAllByLabelText:()=>PRe,queryAllByPlaceholderText:()=>jRe,queryAllByRole:()=>sIe,queryAllByTestId:()=>pIe,queryAllByText:()=>DRe,queryAllByTitle:()=>ZRe,queryByAltText:()=>YRe,queryByAttribute:()=>vRe,queryByDisplayValue:()=>zRe,queryByLabelText:()=>xRe,queryByPlaceholderText:()=>RRe,queryByRole:()=>oIe,queryByTestId:()=>hIe,queryByText:()=>LRe,queryByTitle:()=>eIe,queryHelpers:()=>KUt,screen:()=>wGt,waitFor:()=>CV,waitForElementToBeRemoved:()=>gGt,within:()=>aF,wrapAllByQueryWithSuggestion:()=>Ca,wrapSingleQueryWithSuggestion:()=>md});var vV=ss(XDt()),yHt=Object.prototype.toString;function vHt(e){return typeof e=="function"||yHt.call(e)==="[object Function]"}function THt(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var SHt=Math.pow(2,53)-1;function xHt(e){var t=THt(e);return Math.min(Math.max(t,0),SHt)}function so(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var i=xHt(n.length),a=vHt(r)?Object(new r(i)):new Array(i),s=0,o;s<i;)o=n[s],a[s]=o,s+=1;return a.length=i,a}function z7(e){"@babel/helpers - typeof";return z7=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},z7(e)}function wHt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _Ht(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Yje(n.key),n)}}function AHt(e,t,r){return t&&_Ht(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function CHt(e,t,r){return t=Yje(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yje(e){var t=EHt(e,"string");return z7(t)==="symbol"?t:String(t)}function EHt(e,t){if(z7(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(z7(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var PHt=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];wHt(this,e),CHt(this,"items",void 0),this.items=t}return AHt(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),jHt=typeof Set>"u"?Set:PHt;function Hi(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var RHt={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},IHt={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function OHt(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=IHt[t])!==null&&n!==void 0&&n.has(r))})}function Kje(e,t){return OHt(e,t)}function MHt(e){var t=DHt(e);if(t===null||t==="presentation"){var r=kHt(e);if(t!=="presentation"||Kje(e,r||""))return r}return t}function kHt(e){var t=RHt[Hi(e)];if(t!==void 0)return t;switch(Hi(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Kje(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function DHt(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function I0(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Xje(e){return I0(e)&&Hi(e)==="caption"}function KT(e){return I0(e)&&Hi(e)==="input"}function LHt(e){return I0(e)&&Hi(e)==="optgroup"}function FHt(e){return I0(e)&&Hi(e)==="select"}function $Ht(e){return I0(e)&&Hi(e)==="table"}function BHt(e){return I0(e)&&Hi(e)==="textarea"}function NHt(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function qHt(e){return I0(e)&&Hi(e)==="fieldset"}function zHt(e){return I0(e)&&Hi(e)==="legend"}function WHt(e){return I0(e)&&Hi(e)==="slot"}function HHt(e){return I0(e)&&e.ownerSVGElement!==void 0}function UHt(e){return I0(e)&&Hi(e)==="svg"}function GHt(e){return HHt(e)&&Hi(e)==="title"}function Ew(e,t){if(I0(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(i){return n.getElementById(i)}).filter(function(i){return i!==null})}return[]}function Bc(e,t){return I0(e)?t.indexOf(MHt(e))!==-1:!1}function VHt(e){return e.trim().replace(/\s\s+/g," ")}function YHt(e,t){if(!I0(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function KHt(e){return Bc(e,["button","combobox","listbox","textbox"])||Qje(e,"range")}function Qje(e,t){if(!I0(e))return!1;switch(t){case"range":return Bc(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function Mie(e,t){var r=so(e.querySelectorAll(t));return Ew(e,"aria-owns").forEach(function(n){r.push.apply(r,so(n.querySelectorAll(t)))}),r}function XHt(e){return FHt(e)?e.selectedOptions||Mie(e,"[selected]"):Mie(e,'[aria-selected="true"]')}function QHt(e){return Bc(e,["none","presentation"])}function JHt(e){return Xje(e)}function ZHt(e){return Bc(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function eUt(e){return!1}function tUt(e){return KT(e)||BHt(e)?e.value:e.textContent||""}function kie(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Jje(e){var t=Hi(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Zje(e){if(Jje(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&I0(r)){var n=Zje(r);n!==null&&(t=n)}}),t}function rUt(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Zje(e)}function nUt(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return so(t);if(!Jje(e))return null;var r=e.ownerDocument;return so(r.querySelectorAll("label")).filter(function(n){return rUt(n)===e})}function iUt(e){var t=e.assignedNodes();return t.length===0?so(e.childNodes):t}function eRe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new jHt,n=NHt(e),i=t.compute,a=i===void 0?"name":i,s=t.computedStyleSupportsPseudoElements,o=s===void 0?t.getComputedStyle!==void 0:s,l=t.getComputedStyle,c=l===void 0?n.getComputedStyle.bind(n):l,u=t.hidden,d=u===void 0?!1:u;function h(y,v){var S="";if(I0(y)&&o){var x=c(y,"::before"),w=kie(x);S="".concat(w," ").concat(S)}var A=WHt(y)?iUt(y):so(y.childNodes).concat(Ew(y,"aria-owns"));if(A.forEach(function(E){var R=b(E,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),P=I0(E)?c(E).getPropertyValue("display"):"inline",O=P!=="inline"?" ":"";S+="".concat(O).concat(R).concat(O)}),I0(y)&&o){var _=c(y,"::after"),C=kie(_);S="".concat(S," ").concat(C)}return S.trim()}function p(y,v){var S=y.getAttributeNode(v);return S!==null&&!r.has(S)&&S.value.trim()!==""?(r.add(S),S.value):null}function m(y){return I0(y)?p(y,"title"):null}function g(y){if(!I0(y))return null;if(qHt(y)){r.add(y);for(var v=so(y.childNodes),S=0;S<v.length;S+=1){var x=v[S];if(zHt(x))return b(x,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if($Ht(y)){r.add(y);for(var w=so(y.childNodes),A=0;A<w.length;A+=1){var _=w[A];if(Xje(_))return b(_,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(UHt(y)){r.add(y);for(var C=so(y.childNodes),E=0;E<C.length;E+=1){var R=C[E];if(GHt(R))return R.textContent}return null}else if(Hi(y)==="img"||Hi(y)==="area"){var P=p(y,"alt");if(P!==null)return P}else if(LHt(y)){var O=p(y,"label");if(O!==null)return O}if(KT(y)&&(y.type==="button"||y.type==="submit"||y.type==="reset")){var k=p(y,"value");if(k!==null)return k;if(y.type==="submit")return"Submit";if(y.type==="reset")return"Reset"}var I=nUt(y);if(I!==null&&I.length!==0)return r.add(y),so(I).map(function($){return b($,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function($){return $.length>0}).join(" ");if(KT(y)&&y.type==="image"){var M=p(y,"alt");if(M!==null)return M;var D=p(y,"title");return D!==null?D:"Submit Query"}if(Bc(y,["button"])){var F=h(y,{isEmbeddedInLabel:!1});if(F!=="")return F}return null}function b(y,v){if(r.has(y))return"";if(!d&&YHt(y,c)&&!v.isReferenced)return r.add(y),"";var S=I0(y)?y.getAttributeNode("aria-labelledby"):null,x=S!==null&&!r.has(S)?Ew(y,"aria-labelledby"):[];if(a==="name"&&!v.isReferenced&&x.length>0)return r.add(S),x.map(function(P){return b(P,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var w=v.recursion&&KHt(y)&&a==="name";if(!w){var A=(I0(y)&&y.getAttribute("aria-label")||"").trim();if(A!==""&&a==="name")return r.add(y),A;if(!QHt(y)){var _=g(y);if(_!==null)return r.add(y),_}}if(Bc(y,["menu"]))return r.add(y),"";if(w||v.isEmbeddedInLabel||v.isReferenced){if(Bc(y,["combobox","listbox"])){r.add(y);var C=XHt(y);return C.length===0?KT(y)?y.value:"":so(C).map(function(P){return b(P,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Qje(y,"range"))return r.add(y),y.hasAttribute("aria-valuetext")?y.getAttribute("aria-valuetext"):y.hasAttribute("aria-valuenow")?y.getAttribute("aria-valuenow"):y.getAttribute("value")||"";if(Bc(y,["textbox"]))return r.add(y),tUt(y)}if(ZHt(y)||I0(y)&&v.isReferenced||JHt(y)||eUt()){var E=h(y,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(E!=="")return r.add(y),E}if(y.nodeType===y.TEXT_NODE)return r.add(y),y.textContent||"";if(v.recursion)return r.add(y),h(y,{isEmbeddedInLabel:v.isEmbeddedInLabel});var R=m(y);return R!==null?(r.add(y),R):(r.add(y),"")}return VHt(b(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}function W7(e){"@babel/helpers - typeof";return W7=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},W7(e)}function Die(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Lie(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Die(Object(r),!0).forEach(function(n){aUt(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Die(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function aUt(e,t,r){return t=sUt(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sUt(e){var t=oUt(e,"string");return W7(t)==="symbol"?t:String(t)}function oUt(e,t){if(W7(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(W7(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function tRe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ew(e,"aria-describedby").map(function(i){return eRe(i,Lie(Lie({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function lUt(e){return Bc(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function TV(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return lUt(e)?"":eRe(e,t)}var fs=ss(L$t()),cUt=ss(F$t());function rRe(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var uUt=(e,t,r,n,i,a,s)=>{let o=n+r.indent,l=r.colors;return e.map(c=>{let u=t[c],d=s(u,r,o,i,a);return typeof u!="string"&&(d.indexOf(`
`)!==-1&&(d=r.spacingOuter+o+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+l.prop.open+c+l.prop.close+"="+l.value.open+d+l.value.close}).join("")},dUt=3,pUt=(e,t,r,n,i,a)=>e.map(s=>{let o=typeof s=="string"?nRe(s,t):a(s,t,r,n,i);return o===""&&typeof s=="object"&&s!==null&&s.nodeType!==dUt?"":t.spacingOuter+r+o}).join(""),nRe=(e,t)=>{let r=t.colors.content;return r.open+rRe(e)+r.close},hUt=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+rRe(e)+"-->"+r.close},fUt=(e,t,r,n,i)=>{let a=n.colors.tag;return a.open+"<"+e+(t&&a.close+t+n.spacingOuter+i+a.open)+(r?">"+a.close+r+n.spacingOuter+i+a.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+a.close},mUt=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},gUt=1,iRe=3,aRe=8,sRe=11,bUt=/^((HTML|SVG)\w*)?Element$/,oRe=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},yUt=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===gUt&&(bUt.test(t)||oRe(e))||r===iRe&&t==="Text"||r===aRe&&t==="Comment"||r===sRe&&t==="DocumentFragment"};function vUt(e){return e.nodeType===iRe}function TUt(e){return e.nodeType===aRe}function hE(e){return e.nodeType===sRe}function SUt(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||oRe(t))&&yUt(t)},serialize:(t,r,n,i,a,s)=>{if(vUt(t))return nRe(t.data,r);if(TUt(t))return hUt(t.data,r);let o=hE(t)?"DocumentFragment":t.tagName.toLowerCase();return++i>r.maxDepth?mUt(o,r):fUt(o,uUt(hE(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),hE(t)?{}:Array.from(t.attributes).reduce((l,c)=>(l[c.name]=c.value,l),{}),r,n+r.indent,i,a,s),pUt(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,i,a,s),r,n)}}}var lRe=null,SV=null,xV=null;try{let e=module&&module.require;SV=e.call(module,"fs").readFileSync,xV=e.call(module,"@babel/code-frame").codeFrameColumns,lRe=e.call(module,"chalk")}catch(e){}function xUt(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),i=n.split(":"),[a,s,o]=[i[0],parseInt(i[1],10),parseInt(i[2],10)],l="";try{l=SV(a,"utf-8")}catch(u){return""}let c=xV(l,{start:{line:s,column:o}},{highlightCode:!0,linesBelow:0});return lRe.dim(n)+`
`+c+`
`}function wUt(){if(!SV||!xV)return"";let e=new Error().stack.split(`
`).slice(1).find(t=>!t.includes("node_modules/"));return xUt(e)}var cRe=3;function fE(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function wV(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function uRe(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function xu(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var _Ut=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=mL)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch(r){}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:AUt}=vV.plugins,CUt=1,EUt=8;function PUt(e){return e.nodeType!==EUt&&(e.nodeType!==CUt||!e.matches(Er().defaultIgnore))}function H7(e,t,r){if(r===void 0&&(r={}),e||(e=wV().body),typeof t!="number"&&(t=typeof process<"u"&&typeof mL<"u"&&mL.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:i=PUt,...a}=r,s=vV.format(e,{plugins:[SUt(i),AUt],printFunctionName:!1,highlight:_Ut(),...a});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}var XL=function(){let e=wUt();console.log(e?H7(...arguments)+`
`+e:H7(...arguments))},ah={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=H7(t),n=new Error([e,"Ignored nodes: comments, "+ah.defaultIgnore+`
`+r].filter(Boolean).join(`
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function jUt(e){try{return ah._disableExpensiveErrorDiagnostics=!0,e()}finally{ah._disableExpensiveErrorDiagnostics=!1}}function RUt(e){typeof e=="function"&&(e=e(ah)),ah={...ah,...e}}function Er(){return ah}var IUt=["button","meter","output","progress","select","textarea","input"];function dRe(e){return IUt.includes(e.nodeName.toLowerCase())?"":e.nodeType===cRe?e.textContent:Array.from(e.childNodes).map(t=>dRe(t)).join("")}function QL(e){let t;return e.tagName.toLowerCase()==="label"?t=dRe(e):t=e.value||e.textContent,t}function pRe(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!OUt(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function OUt(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function hRe(e,t,r){let{selector:n="*"}=r===void 0?{}:r,i=t.getAttribute("aria-labelledby"),a=i?i.split(" "):[];return a.length?a.map(s=>{let o=e.querySelector('[id="'+s+'"]');return o?{content:QL(o),formControl:null}:{content:"",formControl:null}}):Array.from(pRe(t)).map(s=>{let o=QL(s),l=Array.from(s.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:o,formControl:l}})}function fRe(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function Y1(e,t,r,n){if(typeof e!="string")return!1;fRe(r);let i=n(e);return typeof r=="string"||typeof r=="number"?i.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(i,t):mRe(r,i)}function Qc(e,t,r,n){if(typeof e!="string")return!1;fRe(r);let i=n(e);return r instanceof Function?r(i,t):r instanceof RegExp?mRe(r,i):i===String(r)}function _V(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let i=n;return i=t?i.trim():i,i=r?i.replace(/\s+/g," "):i,i}}function uf(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return _V({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function mRe(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function h2(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===cRe&&!!t.textContent).map(t=>t.textContent).join("")}var MUt=kUt(fs.elementRoles);function gRe(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function LA(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=gRe}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}function AV(e){for(let{match:t,roles:r}of MUt)if(t(e))return[...r];return[]}function kUt(e){function t(s){let{name:o,attributes:l}=s;return""+o+l.map(c=>{let{name:u,value:d,constraints:h=[]}=c,p=h.indexOf("undefined")!==-1,m=h.indexOf("set")!==-1;return typeof d<"u"?"["+u+'="'+d+'"]':p?":not(["+u+"])":m?"["+u+"]:not(["+u+'=""])':"["+u+"]"}).join("")}function r(s){let{attributes:o=[]}=s;return o.length}function n(s,o){let{specificity:l}=s,{specificity:c}=o;return c-l}function i(s){let{attributes:o=[]}=s,l=o.findIndex(u=>u.value&&u.name==="type"&&u.value==="text");l>=0&&(o=[...o.slice(0,l),...o.slice(l+1)]);let c=t({...s,attributes:o});return u=>l>=0&&u.type!=="text"?!1:u.matches(c)}let a=[];for(let[s,o]of e.entries())a=[...a,{match:i(s),roles:Array.from(o),specificity:r(s)}];return a.sort(n)}function bRe(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(i){return[i,...Array.from(i.children).reduce((a,s)=>[...a,...n(s)],[])]}return n(e).filter(i=>r===!1?LA(i)===!1:!0).reduce((i,a)=>{let s=[];return a.hasAttribute("role")?s=a.getAttribute("role").split(" ").slice(0,1):s=AV(a),s.reduce((o,l)=>Array.isArray(o[l])?{...o,[l]:[...o[l],a]}:{...o,[l]:[a]},i)},{})}function yRe(e,t){let{hidden:r,includeDescription:n}=t,i=bRe(e,{hidden:r});return Object.entries(i).filter(a=>{let[s]=a;return s!=="generic"}).map(a=>{let[s,o]=a,l="-".repeat(50),c=o.map(u=>{let d='Name "'+TV(u,{computedStyleSupportsPseudoElements:Er().computedStyleSupportsPseudoElements})+`":
`,h=H7(u.cloneNode(!1));if(n){let p='Description "'+tRe(u,{computedStyleSupportsPseudoElements:Er().computedStyleSupportsPseudoElements})+`":
`;return""+d+p+h}return""+d+h}).join(`
`);return s+`:
`+c+`
`+l}).join(`
`)}var DUt=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(yRe(e,{hidden:r}))};function LUt(e){return e.tagName==="OPTION"?e.selected:f2(e,"aria-selected")}function FUt(e){return e.getAttribute("aria-busy")==="true"}function $Ut(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:f2(e,"aria-checked")}function BUt(e){return f2(e,"aria-pressed")}function NUt(e){var t,r;return(t=(r=f2(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function qUt(e){return f2(e,"aria-expanded")}function f2(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function zUt(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function WUt(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function HUt(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function UUt(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function GUt(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var Fie=_V();function VUt(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function $ie(e){return new RegExp(VUt(e.toLowerCase()),"i")}function ju(e,t,r,n){let{variant:i,name:a}=n,s="",o={},l=[["Role","TestId"].includes(e)?r:$ie(r)];a&&(o.name=$ie(a)),e==="Role"&&LA(t)&&(o.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
If you are using the aria-hidden prop, make sure this is the right choice for your case.
`),Object.keys(o).length>0&&l.push(o);let c=i+"By"+e;return{queryName:e,queryMethod:c,queryArgs:l,variant:i,warning:s,toString(){s&&console.warn(s);let[u,d]=l;return u=typeof u=="string"?"'"+u+"'":u,d=d?", { "+Object.entries(d).map(h=>{let[p,m]=h;return p+": "+m}).join(", ")+" }":"",c+"("+u+d+")"}}}function Ru(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Pw(e,t,r){var n,i;if(t===void 0&&(t="get"),e.matches(Er().defaultIgnore))return;let a=(n=e.getAttribute("role"))!=null?n:(i=AV(e))==null?void 0:i[0];if(a!=="generic"&&Ru("Role",r,a))return ju("Role",e,a,{variant:t,name:TV(e,{computedStyleSupportsPseudoElements:Er().computedStyleSupportsPseudoElements})});let s=hRe(document,e).map(h=>h.content).join(" ");if(Ru("LabelText",r,s))return ju("LabelText",e,s,{variant:t});let o=e.getAttribute("placeholder");if(Ru("PlaceholderText",r,o))return ju("PlaceholderText",e,o,{variant:t});let l=Fie(h2(e));if(Ru("Text",r,l))return ju("Text",e,l,{variant:t});if(Ru("DisplayValue",r,e.value))return ju("DisplayValue",e,Fie(e.value),{variant:t});let c=e.getAttribute("alt");if(Ru("AltText",r,c))return ju("AltText",e,c,{variant:t});let u=e.getAttribute("title");if(Ru("Title",r,u))return ju("Title",e,u,{variant:t});let d=e.getAttribute(Er().testIdAttribute);if(Ru("TestId",r,d))return ju("TestId",e,d,{variant:t})}function H3(e,t){e.stack=t.stack.replace(t.message,e.message)}function YUt(e,t){let{container:r=wV(),timeout:n=Er().asyncUtilTimeout,showOriginalStackTrace:i=Er().showOriginalStackTrace,stackTraceError:a,interval:s=50,onTimeout:o=c=>(Object.defineProperty(c,"message",{value:Er().getElementError(c.message,r).message}),c),mutationObserverOptions:l={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(c,u)=>{let d,h,p,m=!1,g="idle",b=setTimeout(w,n),y=fE();if(y){let{unstable_advanceTimersWrapper:A}=Er();for(x();!m;){if(!fE()){let _=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");i||H3(_,a),u(_);return}if(await A(async()=>{jest.advanceTimersByTime(s)}),m)break;x()}}else{try{xu(r)}catch(_){u(_);return}h=setInterval(S,s);let{MutationObserver:A}=uRe(r);p=new A(S),p.observe(r,l),x()}function v(A,_){m=!0,clearTimeout(b),y||(clearInterval(h),p.disconnect()),A?u(A):c(_)}function S(){if(fE()){let A=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return i||H3(A,a),u(A)}else return x()}function x(){if(g!=="pending")try{let A=jUt(e);typeof(A==null?void 0:A.then)=="function"?(g="pending",A.then(_=>{g="resolved",v(null,_)},_=>{g="rejected",d=_})):v(null,A)}catch(A){d=A}}function w(){let A;d?(A=d,!i&&A.name==="TestingLibraryElementError"&&H3(A,a)):(A=new Error("Timed out in waitFor."),i||H3(A,a)),v(o(A),null)}})}function CV(e,t){let r=new Error("STACK_TRACE_MESSAGE");return Er().asyncWrapper(()=>YUt(e,{stackTraceError:r,...t}))}function FA(e,t){return Er().getElementError(e,t)}function $A(e,t){return FA(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function df(e,t,r,n){let{exact:i=!0,collapseWhitespace:a,trim:s,normalizer:o}=n===void 0?{}:n,l=i?Qc:Y1,c=uf({collapseWhitespace:a,trim:s,normalizer:o});return Array.from(t.querySelectorAll("["+e+"]")).filter(u=>l(u.getAttribute(e),u,r,c))}function vRe(e,t,r,n){let i=df(e,t,r,n);if(i.length>1)throw $A("Found multiple elements by ["+e+"="+r+"]",t);return i[0]||null}function e1(e,t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];let s=e(r,...i);if(s.length>1){let o=s.map(l=>FA(null,l).message).join(`
`);throw $A(t(r,...i)+`
Here are the matching elements:
`+o,r)}return s[0]||null}}function TRe(e,t){return Er().getElementError(`A better query is available, try this:
`+e.toString()+`
`,t)}function EV(e,t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];let s=e(r,...i);if(!s.length)throw Er().getElementError(t(r,...i),r);return s}}function t1(e){return(t,r,n,i)=>CV(()=>e(t,r,n),{container:t,...i})}var md=(e,t,r)=>function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];let o=e(n,...a),[{suggest:l=Er().throwSuggestions}={}]=a.slice(-1);if(o&&l){let c=Pw(o,r);if(c&&!t.endsWith(c.queryName))throw TRe(c.toString(),n)}return o},Ca=(e,t,r)=>function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];let o=e(n,...a),[{suggest:l=Er().throwSuggestions}={}]=a.slice(-1);if(o.length&&l){let c=[...new Set(o.map(u=>{var d;return(d=Pw(u,r))==null?void 0:d.toString()}))];if(c.length===1&&!t.endsWith(Pw(o[0],r).queryName))throw TRe(c[0],n)}return o};function wu(e,t,r){let n=md(e1(e,t),e.name,"query"),i=EV(e,r),a=e1(i,t),s=md(a,e.name,"get"),o=Ca(i,e.name.replace("query","get"),"getAll"),l=t1(Ca(i,e.name,"findAll")),c=t1(md(a,e.name,"find"));return[n,o,s,l,c]}var KUt=Object.freeze({__proto__:null,getElementError:FA,wrapAllByQueryWithSuggestion:Ca,wrapSingleQueryWithSuggestion:md,getMultipleElementsFoundError:$A,queryAllByAttribute:df,queryByAttribute:vRe,makeSingleQuery:e1,makeGetAllQuery:EV,makeFindQuery:t1,buildQueries:wu});function XUt(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:QL(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var QUt=function(e,t,r){let{exact:n=!0,trim:i,collapseWhitespace:a,normalizer:s}=r===void 0?{}:r,o=n?Qc:Y1,l=uf({collapseWhitespace:a,trim:i,normalizer:s});return XUt(e).filter(c=>{let{node:u,textToMatch:d}=c;return o(d,u,t,l)}).map(c=>{let{node:u}=c;return u})},U7=function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:a,trim:s,normalizer:o}=r===void 0?{}:r;xu(e);let l=i?Qc:Y1,c=uf({collapseWhitespace:a,trim:s,normalizer:o}),u=Array.from(e.querySelectorAll("*")).filter(d=>pRe(d).length||d.hasAttribute("aria-labelledby")).reduce((d,h)=>{let p=hRe(e,h,{selector:n});p.filter(g=>!!g.formControl).forEach(g=>{l(g.content,g.formControl,t,c)&&g.formControl&&d.push(g.formControl)});let m=p.filter(g=>!!g.content).map(g=>g.content);return l(m.join(" "),h,t,c)&&d.push(h),m.length>1&&m.forEach((g,b)=>{l(g,h,t,c)&&d.push(h);let y=[...m];y.splice(b,1),y.length>1&&l(y.join(" "),h,t,c)&&d.push(h)}),d},[]).concat(df("aria-label",e,t,{exact:i,normalizer:c}));return Array.from(new Set(u)).filter(d=>d.matches(n))},$h=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];let a=U7(e,t,...n);if(!a.length){let s=QUt(e,t,...n);if(s.length){let o=s.map(l=>JUt(e,l)).filter(l=>!!l);throw o.length?Er().getElementError(o.map(l=>"Found a label with the text of: "+t+", however the element associated with this label (<"+l+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+l+" />, you can use aria-label or aria-labelledby instead.").join(`
`),e):Er().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw Er().getElementError("Unable to find a label with the text of: "+t,e)}return a};function JUt(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var SRe=(e,t)=>"Found multiple elements with the text of: "+t,xRe=md(e1(U7,SRe),U7.name,"query"),wRe=e1($h,SRe),_Re=t1(Ca($h,$h.name,"findAll")),ARe=t1(md(wRe,$h.name,"find")),CRe=Ca($h,$h.name,"getAll"),ERe=md(wRe,$h.name,"get"),PRe=Ca(U7,U7.name,"queryAll"),JL=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return xu(t[0]),df("placeholder",...t)},ZUt=(e,t)=>"Found multiple elements with the placeholder text of: "+t,eGt=(e,t)=>"Unable to find an element with the placeholder text of: "+t,jRe=Ca(JL,JL.name,"queryAll"),[RRe,IRe,ORe,MRe,kRe]=wu(JL,ZUt,eGt),ZL=function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:a,trim:s,ignore:o=Er().defaultIgnore,normalizer:l}=r===void 0?{}:r;xu(e);let c=i?Qc:Y1,u=uf({collapseWhitespace:a,trim:s,normalizer:l}),d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(h=>!o||!h.matches(o)).filter(h=>c(h2(h),h,t,u))},tGt=(e,t)=>"Found multiple elements with the text: "+t,rGt=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:i,normalizer:a,selector:s}=r,o=uf({collapseWhitespace:n,trim:i,normalizer:a})(t.toString()),l=o!==t.toString(),c=(s!=null?s:"*")!=="*";return"Unable to find an element with the text: "+(l?o+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+s+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},DRe=Ca(ZL,ZL.name,"queryAll"),[LRe,FRe,$Re,BRe,NRe]=wu(ZL,tGt,rGt),eF=function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:a,normalizer:s}=r===void 0?{}:r;xu(e);let o=n?Qc:Y1,l=uf({collapseWhitespace:i,trim:a,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(u=>u.selected).some(u=>o(h2(u),u,t,l)):o(c.value,c,t,l))},nGt=(e,t)=>"Found multiple elements with the display value: "+t+".",iGt=(e,t)=>"Unable to find an element with the display value: "+t+".",qRe=Ca(eF,eF.name,"queryAll"),[zRe,WRe,HRe,URe,GRe]=wu(eF,nGt,iGt),aGt=/^(img|input|area|.+-.+)$/i,tF=function(e,t,r){return r===void 0&&(r={}),xu(e),df("alt",e,t,r).filter(n=>aGt.test(n.tagName))},sGt=(e,t)=>"Found multiple elements with the alt text: "+t,oGt=(e,t)=>"Unable to find an element with the alt text: "+t,VRe=Ca(tF,tF.name,"queryAll"),[YRe,KRe,XRe,QRe,JRe]=wu(tF,sGt,oGt),lGt=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},rF=function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:a,normalizer:s}=r===void 0?{}:r;xu(e);let o=n?Qc:Y1,l=uf({collapseWhitespace:i,trim:a,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>o(c.getAttribute("title"),c,t,l)||lGt(c)&&o(h2(c),c,t,l))},cGt=(e,t)=>"Found multiple elements with the title: "+t+".",uGt=(e,t)=>"Unable to find an element with the title: "+t+".",ZRe=Ca(rF,rF.name,"queryAll"),[eIe,tIe,rIe,nIe,iIe]=wu(rF,cGt,uGt),nF=function(e,t,r){let{hidden:n=Er().defaultHidden,name:i,description:a,queryFallbacks:s=!1,selected:o,busy:l,checked:c,pressed:u,current:d,level:h,expanded:p,value:{now:m,min:g,max:b,text:y}={}}=r===void 0?{}:r;if(xu(e),o!==void 0){var v;if(((v=fs.roles.get(t))==null?void 0:v.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(l!==void 0){var S;if(((S=fs.roles.get(t))==null?void 0:S.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var x;if(((x=fs.roles.get(t))==null?void 0:x.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(u!==void 0){var w;if(((w=fs.roles.get(t))==null?void 0:w.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var A;if(((A=fs.roles.get(t))==null?void 0:A.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(h!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var _;if(((_=fs.roles.get(t))==null?void 0:_.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(b!==void 0){var C;if(((C=fs.roles.get(t))==null?void 0:C.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(g!==void 0){var E;if(((E=fs.roles.get(t))==null?void 0:E.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(y!==void 0){var R;if(((R=fs.roles.get(t))==null?void 0:R.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(p!==void 0){var P;if(((P=fs.roles.get(t))==null?void 0:P.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let O=new WeakMap;function k(I){return O.has(I)||O.set(I,gRe(I)),O.get(I)}return Array.from(e.querySelectorAll(dGt(t))).filter(I=>{if(I.hasAttribute("role")){let M=I.getAttribute("role");if(s)return M.split(" ").filter(Boolean).some(F=>F===t);let[D]=M.split(" ");return D===t}return AV(I).some(M=>M===t)}).filter(I=>{if(o!==void 0)return o===LUt(I);if(l!==void 0)return l===FUt(I);if(c!==void 0)return c===$Ut(I);if(u!==void 0)return u===BUt(I);if(d!==void 0)return d===NUt(I);if(p!==void 0)return p===qUt(I);if(h!==void 0)return h===zUt(I);if(m!==void 0||b!==void 0||g!==void 0||y!==void 0){let D=!0;if(m!==void 0&&D&&(D=m===WUt(I)),b!==void 0&&D&&(D=b===HUt(I)),g!==void 0&&D&&(D=g===UUt(I)),y!==void 0){var M;D&&(D=Qc((M=GUt(I))!=null?M:null,I,y,F=>F))}return D}return!0}).filter(I=>i===void 0?!0:Qc(TV(I,{computedStyleSupportsPseudoElements:Er().computedStyleSupportsPseudoElements}),I,i,M=>M)).filter(I=>a===void 0?!0:Qc(tRe(I,{computedStyleSupportsPseudoElements:Er().computedStyleSupportsPseudoElements}),I,a,M=>M)).filter(I=>n===!1?LA(I,{isSubtreeInaccessible:k})===!1:!0)};function dGt(e){var t;let r='*[role~="'+e+'"]',n=(t=fs.roleElements.get(e))!=null?t:new Set,i=new Set(Array.from(n).map(a=>{let{name:s}=a;return s}));return[r].concat(Array.from(i)).join(",")}var aIe=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},pGt=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+aIe(n)},hGt=function(e,t,r){let{hidden:n=Er().defaultHidden,name:i,description:a}=r===void 0?{}:r;if(Er()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+aIe(i);let s="";Array.from(e.children).forEach(u=>{s+=yRe(u,{hidden:n,includeDescription:a!==void 0})});let o;s.length===0?n===!1?o="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":o="There are no available roles.":o=(`
Here are the `+(n===!1?"accessible":"available")+` roles:
`+s.replace(/\n/g,`
`).replace(/\n\s\s\n/g,`
`)+`
`).trim();let l="";i===void 0?l="":typeof i=="string"?l=' and name "'+i+'"':l=" and name `"+i+"`";let c="";return a===void 0?c="":typeof a=="string"?c=' and description "'+a+'"':c=" and description `"+a+"`",(`
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+l+c+`
`+o).trim()},sIe=Ca(nF,nF.name,"queryAll"),[oIe,lIe,cIe,uIe,dIe]=wu(nF,pGt,hGt),PV=()=>Er().testIdAttribute,iF=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return xu(t[0]),df(PV(),...t)},fGt=(e,t)=>"Found multiple elements by: ["+PV()+'="'+t+'"]',mGt=(e,t)=>"Unable to find an element by: ["+PV()+'="'+t+'"]',pIe=Ca(iF,iF.name,"queryAll"),[hIe,fIe,mIe,gIe,bIe]=wu(iF,fGt,mGt),jw=Object.freeze({__proto__:null,queryAllByLabelText:PRe,queryByLabelText:xRe,getAllByLabelText:CRe,getByLabelText:ERe,findAllByLabelText:_Re,findByLabelText:ARe,queryByPlaceholderText:RRe,queryAllByPlaceholderText:jRe,getByPlaceholderText:ORe,getAllByPlaceholderText:IRe,findAllByPlaceholderText:MRe,findByPlaceholderText:kRe,queryByText:LRe,queryAllByText:DRe,getByText:$Re,getAllByText:FRe,findAllByText:BRe,findByText:NRe,queryByDisplayValue:zRe,queryAllByDisplayValue:qRe,getByDisplayValue:HRe,getAllByDisplayValue:WRe,findAllByDisplayValue:URe,findByDisplayValue:GRe,queryByAltText:YRe,queryAllByAltText:VRe,getByAltText:XRe,getAllByAltText:KRe,findAllByAltText:QRe,findByAltText:JRe,queryByTitle:eIe,queryAllByTitle:ZRe,getByTitle:rIe,getAllByTitle:tIe,findAllByTitle:nIe,findByTitle:iIe,queryByRole:oIe,queryAllByRole:sIe,getAllByRole:lIe,getByRole:cIe,findAllByRole:uIe,findByRole:dIe,queryByTestId:hIe,queryAllByTestId:pIe,getByTestId:mIe,getAllByTestId:fIe,findAllByTestId:gIe,findByTestId:bIe});function aF(e,t,r){return t===void 0&&(t=jw),r===void 0&&(r={}),Object.keys(t).reduce((n,i)=>{let a=t[i];return n[i]=a.bind(null,e),n},r)}var yIe=e=>!e||Array.isArray(e)&&!e.length;function Bie(e){if(yIe(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function gGt(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){Bie(e);let n=(Array.isArray(e)?e:[e]).map(i=>{let a=i.parentElement;if(a===null)return()=>null;for(;a.parentElement;)a=a.parentElement;return()=>a.contains(i)?i:null});e=()=>n.map(i=>i()).filter(Boolean)}return Bie(e()),CV(()=>{let n;try{n=e()}catch(i){if(i.name==="TestingLibraryElementError")return;throw i}if(!yIe(n))throw r},t)}var Nie={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},qie={doubleClick:"dblClick"};function G7(e,t){return Er().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function XT(e,t,r,n){let{EventType:i="Event",defaultInit:a={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let s={...a,...r},{target:{value:o,files:l,...c}={}}=s;o!==void 0&&bGt(t,o),l!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:l}),Object.assign(t,c);let u=uRe(t),d=u[i]||u.Event,h;if(typeof d=="function")h=new d(e,s);else{h=u.document.createEvent(i);let{bubbles:p,cancelable:m,detail:g,...b}=s;h.initEvent(e,p,m,g),Object.keys(b).forEach(y=>{h[y]=b[y]})}return["dataTransfer","clipboardData"].forEach(p=>{let m=s[p];typeof m=="object"&&(typeof u.DataTransfer=="function"?Object.defineProperty(h,p,{value:Object.getOwnPropertyNames(m).reduce((g,b)=>(Object.defineProperty(g,b,{value:m[b]}),g),new u.DataTransfer)}):Object.defineProperty(h,p,{value:m}))}),h}Object.keys(Nie).forEach(e=>{let{EventType:t,defaultInit:r}=Nie[e],n=e.toLowerCase();XT[e]=(i,a)=>XT(n,i,a,{EventType:t,defaultInit:r}),G7[e]=(i,a)=>G7(i,XT[e](i,a))});function bGt(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:i}=Object.getOwnPropertyDescriptor(n,"value")||{};if(i&&r!==i)i.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(qie).forEach(e=>{let t=qie[e];G7[e]=function(){return G7[t](...arguments)}});function yGt(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
`)}function vGt(e){return cUt.default.compressToEncodedURIComponent(yGt(e))}function TGt(e){return"https://testing-playground.com/#markup="+vGt(e)}var SGt=(e,t,r)=>Array.isArray(e)?e.forEach(n=>XL(n,t,r)):XL(e,t,r),xGt=function(e){if(e===void 0&&(e=wV().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=TGt(e.innerHTML);return console.log(`Open this URL in your browser
`+t),t},zie={debug:SGt,logTestingPlaygroundURL:xGt},wGt=typeof document<"u"&&document.body?aF(document.body,jw,zie):Object.keys(jw).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),zie);function lr(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,i])=>e[n]===i):!0}var sF;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio"})(sF||(sF={}));function vIe(e){return lr(e,"button")||lr(e,"input")&&e.type in sF}function Ul(e){var t;if(_Gt(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${AGt(e)}`)}function _Gt(e){return e.nodeType===9}function AGt(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function TIe(e,t){return new Promise((r,n)=>{let i=new t;i.onerror=n,i.onabort=n,i.onload=()=>{r(String(i.result))},i.readAsText(e)})}function jV(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;n<r.length;n++)yield r[n]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function ad(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var SIe=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){ad(this,"kind",void 0),ad(this,"type",void 0),ad(this,"file",null),ad(this,"data",void 0),typeof e=="string"?(this.kind="string",this.type=String(t),this.data=e):(this.kind="file",this.type=e.type,this.file=e)}},CGt=class extends Array{add(...e){let t=new SIe(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function U3(e,t){let[r,n]=e.split("/"),i=!n||n==="*";return a=>t?a.type===(i?r:e):i?a.type.startsWith(`${r}/`):a.type===r}function EGt(e){return new class{getData(t){var r;let n=(r=this.items.find(U3(t,!0)))!==null&&r!==void 0?r:this.items.find(U3(t,!1)),i="";return n==null||n.getAsString(a=>{i=a}),i}setData(t,r){let n=this.items.findIndex(U3(t,!0)),i=new SIe(r,t);n>=0?this.items.splice(n,1,i):this.items.push(i)}clearData(t){if(t){let r=this.items.findIndex(U3(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){ad(this,"dropEffect","none"),ad(this,"effectAllowed","uninitialized"),ad(this,"items",new CGt),ad(this,"files",jV(e,[]))}}}function RV(e,t=[]){let r=typeof e.DataTransfer>"u"?EGt(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>jV(e,t)}),r}function PGt(e,t){if(t.kind==="file")return t.getAsFile();let r="";return t.getAsString(n=>{r=n}),new e.Blob([r],{type:t.type})}function xIe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wIe(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let i=await this.data[n];if(!i)throw new Error(`${n} is not one of the available MIME types on this item.`);return i instanceof e.Blob?i:new e.Blob([i],{type:n})}constructor(n){xIe(this,"data",void 0),this.data=n}}(r)}var r1=Symbol("Manage ClipboardSub");function Wie(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let i=n.types.includes("text/plain")?"text/plain":n.types.find(a=>a.startsWith("text/"));i&&(r+=await n.getType(i).then(a=>TIe(a,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[wIe(e,r)]}constructor(...r){super(...r),xIe(this,"items",[])}},{[r1]:t})}function IV(e){return!!(e!=null&&e[r1])}function jGt(e){if(IV(e.navigator.clipboard))return e.navigator.clipboard[r1];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=Wie(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Wie(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[r1]}function RGt(e){IV(e.navigator.clipboard)&&e.navigator.clipboard[r1].resetClipboardStub()}function IGt(e){IV(e.navigator.clipboard)&&e.navigator.clipboard[r1].detachClipboardStub()}async function OGt(e){let t=e.defaultView,r=t==null?void 0:t.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let i=RV(t);for(let a of n)for(let s of a.types)i.setData(s,await a.getType(s).then(o=>TIe(o,t.FileReader)));return i}async function _Ie(e,t){let r=Ul(e),n=r.navigator.clipboard,i=[];for(let a=0;a<t.items.length;a++){let s=t.items[a],o=PGt(r,s);i.push(wIe(r,o))}if(!(n&&await n.write(i).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Rw=globalThis;typeof Rw.afterEach=="function"&&Rw.afterEach(()=>RGt(globalThis.window));typeof Rw.afterAll=="function"&&Rw.afterAll(()=>IGt(globalThis.window));function Bh(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function V7(e){let t=MGt(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function MGt(e){return e.nodeType===1?e:e.parentElement}function n1(e){return AIe(e)&&!e.readOnly||Bh(e)}var oF;(function(e){e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week"})(oF||(oF={}));function AIe(e){return lr(e,"textarea")||lr(e,"input")&&e.type in oF}var lF;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(lF||(lF={}));function kGt(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function DGt(e){return lr(e,"textarea")||lr(e,"input")&&e.type in lF}var CIe=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function OV(e){return e.matches(CIe)}var Iw;(function(e){e["{"]="}",e["["]="]"})(Iw||(Iw={}));function EIe(e,t){let r=0,n=e[r]in Iw?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?LGt(e,r,t):FGt(e,r,i,t)}}function LGt(e,t,r){let n=e[t];return PIe(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function FGt(e,t,r,n){var i,a;let s=e[t]==="/"?"/":"";t+=s.length;let o=r==="{"&&e[t]==="\\";t+=Number(o);let l=o?e[t]:(i=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||i===void 0?void 0:i[0];PIe(l,e,t,n),t+=l.length;var c;let u=(c=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&c!==void 0?c:"";t+=u.length;let d=e[t]==="/"||!u&&e[t]===">"?e[t]:"";t+=d.length;let h=Iw[r],p=e[t]===h?h:"";if(!p)throw new Error(jIe([!u&&"repeat modifier",!d&&"release modifier",`"${h}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=p.length,{consumedLength:t,descriptor:l,releasePrevious:!!s,repeat:u?Math.max(Number(u.substr(1)),1):1,releaseSelf:$Gt(d,u)}}function PIe(e,t,r,n){if(!e)throw new Error(jIe("key descriptor",t[r],t,n))}function $Gt(e,t){if(e)return e==="/";if(t)return!1}function jIe(e,t,r,n){return`Expected ${e} but found "${t!=null?t:""}" in "${r}"
See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
for more information about how userEvent parses your input.`}function BGt(e){return new e.constructor(e.type,e)}var Ki;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(Ki||(Ki={}));function vy(e,t){e.levelRefs[t]={}}function G3(e,t){return e.levelRefs[t]}var Um;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(Um||(Um={}));function ou(e){for(let r=e;r;r=r.parentElement)if(lr(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(lr(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function BA(e){let t=e.activeElement;return t!=null&&t.shadowRoot?BA(t.shadowRoot):ou(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function mE(e){var t;return(t=BA(e))!==null&&t!==void 0?t:e.body}function NGt(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function Gl(e){return RIe(e)&&AIe(e)}function qGt(e){return RIe(e)&&vIe(e)}function RIe(e){return e.nodeType===1}function zGt(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&Gl(e)){let n=V7(t.focusNode);if(n){if(!t.isCollapsed){var r;let i=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(i,0,i,0)}}else t.setBaseAndExtent(e,0,e,0)}}function i1(e,t){return Er().eventWrapper(e)}function Md(e){let t=NGt(e,OV),r=BA(e.ownerDocument);(t!=null?t:e.ownerDocument.body)!==r&&(i1(t?()=>t.focus():()=>r==null?void 0:r.blur()),zGt(t!=null?t:e.ownerDocument.body))}function WGt(e){!OV(e)||BA(e.ownerDocument)!==e||i1(()=>e.blur())}var kd={};kd.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),i=n&&lr(n,"label")&&n.control;if(i)return()=>{OV(i)&&Md(i),r.dispatchEvent(i,BGt(e))};if(lr(t,"input",{type:"file"}))return()=>{WGt(t),t.dispatchEvent(new(Ul(t)).Event("fileDialog")),Md(t)}};var a1=Symbol("Displayed value in UI"),Nc=Symbol("Displayed selection in UI"),Ow=Symbol("Initial value to compare on blur");function HGt(e){return typeof e=="object"&&a1 in e}function UGt(e){return!!e&&typeof e=="object"&&Nc in e}function GGt(e,t){e[Ow]===void 0&&(e[Ow]=e.value),e[a1]=t,e.value=Object.assign(new String(t),{[a1]:!0})}function Vl(e){return e[a1]===void 0?e.value:String(e[a1])}function MV(e){e[a1]=void 0}function IIe(e){e[Ow]=void 0}function VGt(e){return e[Ow]}function YGt(e,t){e[Nc]=t}function K1(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let i=Vl(e).length,a=d=>Math.max(0,Math.min(i,d)),s=n==="replace"||e[Nc]===void 0?a(r):e[Nc].anchorOffset,o=a(t),l=Math.min(s,o),c=Math.max(s,o);if(e[Nc]={anchorOffset:s,focusOffset:o},e.selectionStart===l&&e.selectionEnd===c)return;let u=Object.assign(new Number(l),{[Nc]:!0});try{e.setSelectionRange(u,c)}catch(d){}}function Y7(e){var t,r,n;let i=(n=e[Nc])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...i,startOffset:Math.min(i.anchorOffset,i.focusOffset),endOffset:Math.max(i.anchorOffset,i.focusOffset)}}function KGt(e){return!!e[Nc]}function QT(e){e[Nc]=void 0}var Mw=globalThis.parseInt;function XGt(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=Mw(t[0],10),n=Mw(t[1],10);if(r>=3||r===2&&n>=4){let i;return r>=3?i=1:i=2,Hie(t,i)}return e.length===2?e:Hie(t,2)}function Hie(e,t){let r=e.slice(0,t),n=Math.min(Mw(r,10),23),i=e.slice(t),a=Mw(i,10),s=Math.min(a,59);return`${n.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`}function OIe(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function MIe(e,t,r,n){if(JT(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let i=Uie(e,t,r);if(i){if(JT(i))return{node:i,offset:r>0?Math.min(1,i.nodeValue.length):Math.max(i.nodeValue.length-1,0)};if(lr(i,"br")){let a=Uie(i,void 0,r);return a?JT(a)?{node:a,offset:r>0?0:a.nodeValue.length}:r<0&&lr(a,"br")?{node:i.parentNode,offset:V3(i)}:{node:a.parentNode,offset:V3(a)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:i.parentNode,offset:V3(i)}:void 0}else return{node:i.parentNode,offset:V3(i)+(r>0?1:0)}}}function Uie(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&kV(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),JGt(e,r===1?"next":"previous",QGt)}function QGt(e){if(JT(e))return!0;if(kV(e)){if(lr(e,["input","textarea"]))return e.type!=="hidden";if(lr(e,"br"))return!0}return!1}function V3(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function kV(e){return e.nodeType===1}function JT(e){return e.nodeType===3}function JGt(e,t,r){for(;;){var n;let i=e[`${t}Sibling`];if(i){if(e=ZGt(i,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!kV(e.parentNode)||!Bh(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function ZGt(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var K7=Symbol("Track programmatic changes for React workaround");function eVt(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&Ul(e).REACT_VERSION===17}function tVt(e){eVt(e)&&(e[K7]={previousValue:String(e.value),tracked:[]})}function rVt(e,t){var r,n;(n=e[K7])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[K7]||(MV(e),K1(e,{focusOffset:t.length}))}function nVt(e,t){var r;let n=e[K7];if(e[K7]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let i=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;i||MV(e),KGt(e)&&K1(e,{focusOffset:i?t:e.value.length})}function kIe(e){let t=iVt(e);if(t&&Gl(t))return{type:"input",selection:Y7(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:V7(e)&&(r!=null&&r.anchorNode)&&V7(r.anchorNode)?"contenteditable":"default",selection:r}}function iVt(e){return e.nodeType===1?e:e.parentElement}function aVt(e){let t=kIe(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function Nh({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var i,a;if(kIe(e).type==="input")return K1(e,{anchorOffset:n,focusOffset:t});(a=r.ownerDocument)===null||a===void 0||(i=a.getSelection())===null||i===void 0||i.setBaseAndExtent(r,n,e,t)}function DIe(e){return lr(e,"input")&&["date","time"].includes(e.type)}function s1(e,t,r,n="insertText"){let i=aVt(t);i&&(!DIe(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in i?sVt(e,t,i,r,n):oVt(e,t,i,r,n)))}function sVt(e,t,r,n,i){let a=!1;if(!r.collapsed)a=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(i)){let s=MIe(r.startContainer,r.startOffset,i==="deleteContentBackward"?-1:1,i);if(s){a=!0;let o=r.cloneRange();o.comparePoint(s.node,s.offset)<0?o.setStart(s.node,s.offset):o.setEnd(s.node,s.offset),o.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let s=r.endOffset;r.endContainer.insertData(s,n),r.setStart(r.endContainer,s+n.length),r.setEnd(r.endContainer,s+n.length)}else{let s=t.ownerDocument.createTextNode(n);r.insertNode(s),r.setStart(s,n.length),r.setEnd(s,n.length)}(a||n)&&e.dispatchUIEvent(t,"input",{inputType:i})}function oVt(e,t,r,n,i){let a=n;if(DGt(t)){let c=kGt(t);if(c!==void 0&&n.length>0){let u=c-t.value.length;if(u>0)a=n.substring(0,u);else return}}let{newValue:s,newOffset:o,oldValue:l}=lVt(a,t,r,i);s===l&&o===r.startOffset&&o===r.endOffset||lr(t,"input",{type:"number"})&&!cVt(s)||(GGt(t,s),Nh({focusNode:t,anchorOffset:o,focusOffset:o}),DIe(t)?OIe(t,s)&&(Gie(e,t,o,{}),e.dispatchUIEvent(t,"change"),IIe(t)):Gie(e,t,o,{data:n,inputType:i}))}function lVt(e,t,{startOffset:r,endOffset:n},i){let a=Vl(t),s=Math.max(0,r===n&&i==="deleteContentBackward"?r-1:r),o=a.substring(0,s),l=Math.min(a.length,r===n&&i==="deleteContentForward"?r+1:n),c=a.substring(l,a.length),u=`${o}${e}${c}`,d=s+e.length;if(lr(t,"input",{type:"time"})){let h=XGt(u);h!==""&&OIe(t,h)&&(u=h,d=h.length)}return{oldValue:a,newValue:u,newOffset:d}}function Gie(e,t,r,n){e.dispatchUIEvent(t,"input",n),nVt(t,r)}function cVt(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}kd.cut=(e,t,r)=>()=>{n1(t)&&s1(r,t,"","deleteByCut")};function uVt(e){return e?Bh(e)?e.textContent:Vl(e):null}function dVt(e){let t=Ul(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:n,visibility:i}=t.getComputedStyle(r);if(n==="none"||i==="hidden")return!1}return!0}function pVt(e,t){let r=e.ownerDocument,n=r.querySelectorAll(CIe),i=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||ou(l)));Number(e.getAttribute("tabindex"))>=0&&i.sort((l,c)=>{let u=Number(l.getAttribute("tabindex")),d=Number(c.getAttribute("tabindex"));return u===d?0:u===0?1:d===0?-1:u-d});let a={},s=[r.body],o=lr(e,"input",{type:"radio"})?e.name:void 0;i.forEach(l=>{let c=l;if(lr(c,"input",{type:"radio"})&&c.name){if(c===e){s.push(c);return}else if(c.name===o)return;if(c.checked){s=s.filter(u=>!lr(u,"input",{type:"radio",name:c.name})),s.push(c),a[c.name]=c;return}if(typeof a[c.name]<"u")return}s.push(c)});for(let l=s.findIndex(c=>c===e);;)if(l+=t?-1:1,l===s.length?l=0:l===-1&&(l=s.length-1),s[l]===e||s[l]===r.body||dVt(s[l]))return s[l]}function Vie(e,t){if(Gl(e)){let r=Y7(e);Nh({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!(r!=null&&r.focusNode))return;if(r.isCollapsed){let n=MIe(r.focusNode,r.focusOffset,t);n&&Nh({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function LIe(e){if(Gl(e))return Nh({focusNode:e,anchorOffset:0,focusOffset:Vl(e).length});var t;let r=(t=V7(e))!==null&&t!==void 0?t:e.ownerDocument.body;Nh({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function hVt(e){if(Gl(e))return Y7(e).startOffset===0&&Y7(e).endOffset===Vl(e).length;var t;let r=(t=V7(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return(n==null?void 0:n.anchorNode)===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function Ty(e,t,r){var n;if(Gl(e))return Nh({focusNode:e,anchorOffset:t,focusOffset:r});if(Bh(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Nh({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function Y3(e,t,r){let n=Ul(t),i=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let a=i.findIndex(s=>s===t)+r;;a+=r){if(i[a]||(a=r>0?0:i.length-1),i[a]===t)return;ou(i[a])||(Md(i[a]),e.dispatchUIEvent(i[a],"click"))}}kd.keydown=(e,t,r)=>{var n,i;return(i=(n=Yie[e.key])===null||n===void 0?void 0:n.call(Yie,e,t,r))!==null&&i!==void 0?i:fVt(e,t,r)};var Yie={ArrowDown:(e,t,r)=>{if(lr(t,"input",{type:"radio"}))return()=>Y3(r,t,-1)},ArrowLeft:(e,t,r)=>lr(t,"input",{type:"radio"})?()=>Y3(r,t,-1):()=>Vie(t,-1),ArrowRight:(e,t,r)=>lr(t,"input",{type:"radio"})?()=>Y3(r,t,1):()=>Vie(t,1),ArrowUp:(e,t,r)=>{if(lr(t,"input",{type:"radio"}))return()=>Y3(r,t,1)},Backspace:(e,t,r)=>{if(n1(t))return()=>{s1(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(n1(t))return()=>{s1(r,t,"","deleteContentForward")}},End:(e,t)=>{if(lr(t,["input","textarea"])||Bh(t))return()=>{var r,n;let i=(n=(r=uVt(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Ty(t,i,i)}},Home:(e,t)=>{if(lr(t,["input","textarea"])||Bh(t))return()=>{Ty(t,0,0)}},PageDown:(e,t)=>{if(lr(t,["input"]))return()=>{let r=Vl(t).length;Ty(t,r,r)}},PageUp:(e,t)=>{if(lr(t,["input"]))return()=>{Ty(t,0,0)}},Tab:(e,t,r)=>()=>{let n=pVt(t,r.system.keyboard.modifiers.Shift);Md(n),Gl(n)&&K1(n,{anchorOffset:0,focusOffset:n.value.length})}},fVt=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>LIe(t)};kd.keypress=(e,t,r)=>{if(e.key==="Enter"){if(lr(t,"button")||lr(t,"input")&&mVt.includes(t.type)||lr(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(lr(t,"input")){let n=t.form,i=n==null?void 0:n.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return i?()=>r.dispatchUIEvent(i,"click"):n&&gVt.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(n1(t)){let n=e.key==="Enter"?Bh(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",i=e.key==="Enter"?`
`:e.key;return()=>s1(r,t,i,n)}};var mVt=["button","color","file","image","reset","submit"],gVt=["email","month","password","search","tel","text","url","week"];kd.keyup=(e,t,r)=>{var n;return(n=Kie[e.key])===null||n===void 0?void 0:n.call(Kie,e,t,r)};var Kie={" ":(e,t,r)=>{if(vIe(t))return()=>r.dispatchUIEvent(t,"click")}};kd.paste=(e,t,r)=>{if(n1(t))return()=>{var n;let i=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");i&&s1(r,t,i,"insertFromPaste")}};var FIe={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function $Ie(e){return FIe[e].EventType}var bVt=["MouseEvent","PointerEvent"];function yVt(e){return bVt.includes($Ie(e))}function vVt(e){return $Ie(e)==="KeyboardEvent"}var TVt={ClipboardEvent:[xVt],Event:[],InputEvent:[K3,wVt],MouseEvent:[K3,gE,Xie],PointerEvent:[K3,gE,Xie,AVt],KeyboardEvent:[K3,gE,_Vt]};function BIe(e,t,r){let n=Ul(t),{EventType:i,defaultInit:a}=FIe[e],s=new(SVt(n))[i](e,a);return TVt[i].forEach(o=>o(s,r!=null?r:{})),s}function SVt(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let i=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var a;let s=(a=e.ClipboardEvent)!==null&&a!==void 0?a:class extends r{};var o;let l=(o=e.PopStateEvent)!==null&&o!==void 0?o:class extends r{};var c;let u=(c=e.ProgressEvent)!==null&&c!==void 0?c:class extends r{};var d;let h=(d=e.TransitionEvent)!==null&&d!==void 0?d:class extends r{};var p;let m=(p=e.UIEvent)!==null&&p!==void 0?p:class extends r{};var g;let b=(g=e.CompositionEvent)!==null&&g!==void 0?g:class extends m{};var y;let v=(y=e.FocusEvent)!==null&&y!==void 0?y:class extends m{};var S;let x=(S=e.InputEvent)!==null&&S!==void 0?S:class extends m{};var w;let A=(w=e.KeyboardEvent)!==null&&w!==void 0?w:class extends m{};var _;let C=(_=e.MouseEvent)!==null&&_!==void 0?_:class extends m{};var E;let R=(E=e.DragEvent)!==null&&E!==void 0?E:class extends C{};var P;let O=(P=e.PointerEvent)!==null&&P!==void 0?P:class extends C{};var k;let I=(k=e.TouchEvent)!==null&&k!==void 0?k:class extends m{};return{Event:r,AnimationEvent:i,ClipboardEvent:s,PopStateEvent:l,ProgressEvent:u,TransitionEvent:h,UIEvent:m,CompositionEvent:b,FocusEvent:v,InputEvent:x,KeyboardEvent:A,MouseEvent:C,DragEvent:R,PointerEvent:O,TouchEvent:I}}function pf(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n!=null?n:null})}function Kn(e){return Number(e!=null?e:0)}function xVt(e,{clipboardData:t}){pf(e,{clipboardData:t})}function wVt(e,{data:t,inputType:r,isComposing:n}){pf(e,{data:t,isComposing:!!n,inputType:String(r)})}function K3(e,{view:t,detail:r}){pf(e,{view:t,detail:Kn(r!=null?r:0)})}function gE(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:i,modifierAltGraph:a,modifierCapsLock:s,modifierFn:o,modifierFnLock:l,modifierNumLock:c,modifierScrollLock:u,modifierSymbol:d,modifierSymbolLock:h}){pf(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!i,getModifierState(p){return!!{Alt:t,AltGraph:a,CapsLock:s,Control:r,Fn:o,FnLock:l,Meta:n,NumLock:c,ScrollLock:u,Shift:i,Symbol:d,SymbolLock:h}[p]}})}function _Vt(e,{key:t,code:r,location:n,repeat:i,isComposing:a,charCode:s}){pf(e,{key:String(t),code:String(r),location:Kn(n),repeat:!!i,isComposing:!!a,charCode:s})}function Xie(e,{x:t,y:r,screenX:n,screenY:i,clientX:a=t,clientY:s=r,button:o,buttons:l,relatedTarget:c}){pf(e,{screenX:Kn(n),screenY:Kn(i),clientX:Kn(a),x:Kn(a),clientY:Kn(s),y:Kn(s),button:Kn(o),buttons:Kn(l),relatedTarget:c})}function AVt(e,{pointerId:t,width:r,height:n,pressure:i,tangentialPressure:a,tiltX:s,tiltY:o,twist:l,pointerType:c,isPrimary:u}){pf(e,{pointerId:Kn(t),width:Kn(r),height:Kn(n),pressure:Kn(i),tangentialPressure:Kn(a),tiltX:Kn(s),tiltY:Kn(o),twist:Kn(l),pointerType:String(c),isPrimary:!!u})}function CVt(e,t,r,n=!1){(yVt(t)||vVt(t))&&(r={...r,...this.system.getUIEventModifiers()});let i=BIe(t,e,r);return NIe.call(this,e,i,n)}function NIe(e,t,r=!1){var n;let i=t.type,a=r?()=>{}:(n=kd[i])===null||n===void 0?void 0:n.call(kd,t,e,this);if(a){t.preventDefault();let s=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>s}),Object.defineProperty(t,"preventDefault",{value:()=>{s=t.cancelable}}),i1(()=>e.dispatchEvent(t)),s||a(),!s}return i1(()=>e.dispatchEvent(t))}function EVt(e,t,r){let n=BIe(t,e,r);i1(()=>e.dispatchEvent(n))}var bE=Symbol("Interceptor for programmatical calls");function Tm(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=Object.getOwnPropertyDescriptor(e,t),a=n!=null&&n.set?"set":"value";if(typeof(n==null?void 0:n[a])!="function"||n[a][bE])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function s(...o){let{applyNative:l=!1,realArgs:c,then:u}=r.call(this,...o),d=(!l&&i||n)[a];a==="set"?d.call(this,c):d.call(this,...c),u==null||u()}s[bE]=bE,Object.defineProperty(e,t,{...i!=null?i:n,[a]:s})}function PVt(e){Tm(e,"value",function(t){let r=HGt(t);return r&&tVt(this),{applyNative:!!r,realArgs:jVt(this,t),then:r?void 0:()=>rVt(this,String(t))}})}function jVt(e,t){return lr(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function RVt(e){Tm(e,"setSelectionRange",function(t,...r){let n=UGt(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:QT(e)}}),Tm(e,"selectionStart",function(t){return{realArgs:t,then:()=>QT(e)}}),Tm(e,"selectionEnd",function(t){return{realArgs:t,then:()=>QT(e)}}),Tm(e,"select",function(){return{realArgs:[],then:()=>YGt(e,{anchorOffset:0,focusOffset:Vl(e).length})}})}function IVt(e){Tm(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{MV(e),QT(e)}}})}var Gm=Symbol("Node prepared with document state workarounds");function qIe(e){e[Gm]||(e.addEventListener("focus",t=>{let r=t.target;Qie(r)},{capture:!0,passive:!0}),e.activeElement&&Qie(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=VGt(r);n!==void 0&&(r.value!==n&&EVt(r,"change"),IIe(r))},{capture:!0,passive:!0}),e[Gm]=Gm)}function Qie(e){e[Gm]||(lr(e,["input","textarea"])&&(PVt(e),RVt(e),IVt(e)),e[Gm]=Gm)}function OVt(e){return MVt(e)?e:e.ownerDocument}function MVt(e){return e.nodeType===9}function o1(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}function Pf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ms;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(ms||(ms={}));var kVt=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Jie(e){return kVt.includes(e)}var DVt=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Zie(e){return DVt.includes(e)}var LVt=class{isKeyPressed(e){return!!this.pressed[String(e.code)]}getPressedKeys(){return Object.values(this.pressed).map(e=>e.keyDef)}async keydown(e,t){var r,n,i;let a=String(t.key),s=String(t.code),o=mE(e.config.document);this.setKeydownTarget(o);var l;(l=(r=this.pressed)[n=s])!==null&&l!==void 0||(r[n]={keyDef:t,unpreventedDefault:!1}),Jie(a)&&(this.modifiers[a]=!0);let c=e.dispatchUIEvent(o,"keydown",{key:a,code:s});Zie(a)&&!this.modifiers[a]&&(this.modifiers[a]=!0,this.modifierLockStart[a]=!0),(i=this.pressed[s]).unpreventedDefault||(i.unpreventedDefault=c),c&&this.hasKeyPress(a)&&e.dispatchUIEvent(mE(e.config.document),"keypress",{key:a,code:s,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),i=this.pressed[n].unpreventedDefault;delete this.pressed[n],Jie(r)&&!Object.values(this.pressed).find(a=>a.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(mE(e.config.document),"keyup",{key:r,code:n},!i),Zie(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){Pf(this,"system",void 0),Pf(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),Pf(this,"pressed",{}),Pf(this,"carryChar",""),Pf(this,"lastKeydownTarget",void 0),Pf(this,"modifierLockStart",{}),this.system=e}},FVt=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:ms.LEFT},{code:"AltRight",key:"Alt",location:ms.RIGHT},{code:"ShiftLeft",key:"Shift",location:ms.LEFT},{code:"ShiftRight",key:"Shift",location:ms.RIGHT},{code:"ControlLeft",key:"Control",location:ms.LEFT},{code:"ControlRight",key:"Control",location:ms.RIGHT},{code:"MetaLeft",key:"Meta",location:ms.LEFT},{code:"MetaRight",key:"Meta",location:ms.RIGHT},{code:"OSLeft",key:"OS",location:ms.LEFT},{code:"OSRight",key:"OS",location:ms.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],$Vt=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];function BVt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var zIe=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=cF(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=cF(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){BVt(this,"pressed",{})}},eae={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function cF(e=0){return e in eae?eae[e]:Number(e)}var tae={1:2,2:1};function rae(e){return e=cF(e),e in tae?tae[e]:e}function NVt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var qVt=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){NVt(this,"pressedKeys",new Set)}};function p5(e,t){let r=[];for(let a=e;a;a=a.parentElement)r.push(a);let n=[];for(let a=t;a;a=a.parentElement)n.push(a);let i=0;for(;!(i>=r.length||i>=n.length||r[r.length-1-i]!==n[n.length-1-i]);i++);return[r.slice(0,r.length-i),n.slice(0,n.length-i),n.slice(n.length-i)]}function uF({target:e,node:t,offset:r}){return Gl(e)?{node:e,offset:r!=null?r:Vl(e).length}:t?{node:t,offset:r!=null?r:t.nodeType===3?t.nodeValue.length:t.childNodes.length}:WIe(e,r)}function WIe(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,i=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let a=e.childNodes.item(n),s=String(a.textContent);if(s.length)if(t!==void 0&&s.length<t)t-=s.length;else{if(a.nodeType===1)return WIe(a,t,!1);if(a.nodeType===3)return{node:a,offset:t!=null?t:a.nodeValue.length}}n+=i}return{node:e,offset:e.childNodes.length}}function zVt({document:e,target:t,clickCount:r,node:n,offset:i}){if(qGt(t))return;let a=Gl(t),s=String(a?Vl(t):t.textContent),[o,l]=n?[i,i]:WVt(s,i,r);if(a)return K1(t,{anchorOffset:o!=null?o:s.length,focusOffset:l!=null?l:s.length}),{node:t,start:o!=null?o:0,end:l!=null?l:s.length};{let{node:c,offset:u}=uF({target:t,node:n,offset:o}),{node:d,offset:h}=uF({target:t,node:n,offset:l}),p=t.ownerDocument.createRange();try{p.setStart(c,u),p.setEnd(d,h)}catch(g){throw new Error("The given offset is out of bounds.")}let m=e.getSelection();return m==null||m.removeAllRanges(),m==null||m.addRange(p.cloneRange()),p}}function WVt(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t!=null?t:e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}function HVt(e,{document:t,target:r,node:n,offset:i}){let a=uF({target:r,node:n,offset:i});if("node"in e){if(a.node===e.node){let s=a.offset<e.start?e.end:e.start,o=a.offset>e.end||a.offset<e.start?a.offset:e.end;K1(e.node,{anchorOffset:s,focusOffset:o})}}else{let s=e.cloneRange(),o=s.comparePoint(a.node,a.offset);o<0?s.setStart(a.node,a.offset):o>0&&s.setEnd(a.node,a.offset);let l=t.getSelection();l==null||l.removeAllRanges(),l==null||l.addRange(s.cloneRange())}}function HIe(e,t){var r,n,i,a,s,o,l,c;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.y)||((i=e.coords)===null||i===void 0?void 0:i.y)!==((a=t.coords)===null||a===void 0?void 0:a.y)||((s=e.caret)===null||s===void 0?void 0:s.node)!==((o=t.caret)===null||o===void 0?void 0:o.node)||((l=e.caret)===null||l===void 0?void 0:l.offset)!==((c=t.caret)===null||c===void 0?void 0:c.offset)}function mp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var UVt=class{move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!HIe(r,t))return;let i=this.getTarget(e),a=this.getEventInit("mousemove"),[s,o]=p5(n,i);return{leave:()=>{n!==i&&(e.dispatchUIEvent(n,"mouseout",a),s.forEach(l=>e.dispatchUIEvent(l,"mouseleave",a)))},enter:()=>{n!==i&&(e.dispatchUIEvent(i,"mouseover",a),o.forEach(l=>e.dispatchUIEvent(l,"mouseenter",a)))},move:()=>{e.dispatchUIEvent(i,"mousemove",a),this.modifySelecting(e)}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let i=this.getTarget(e);this.buttonDownTarget[n]=i;let a=ou(i),s=this.getEventInit("mousedown",t.button);(a||e.dispatchUIEvent(i,"mousedown",s))&&(this.startSelecting(e,s.detail),Md(i)),!a&&rae(t.button)===2&&e.dispatchUIEvent(i,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let i=this.getTarget(e);if(!ou(i)){e.dispatchUIEvent(i,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let a=p5(this.buttonDownTarget[n],i)[2][0];if(a){let s=this.getEventInit("click",t.button,r);s.detail&&(e.dispatchUIEvent(a,s.button===0?"click":"auxclick",s),s.button===0&&s.detail===2&&e.dispatchUIEvent(a,"dblclick",{...this.getEventInit("dblclick",t.button),detail:s.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t,r){let n={...this.position.coords};return r&&(n.pointerId=r.pointerId,n.pointerType=r.pointerType,n.isPrimary=r.isPrimary),n.button=rae(t),n.buttons=this.buttons.getButtons(),e==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):e==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(e==="click"||e==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=zVt({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&HVt(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){mp(this,"position",{}),mp(this,"buttons",new zIe),mp(this,"selecting",void 0),mp(this,"buttonDownTarget",{}),mp(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){mp(this,"down",{}),mp(this,"count",{})}})}};function kw(e,t){var r;return((r=UIe(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function GVt(e){let t=Ul(e);for(let r=e,n=[];r!=null&&r.ownerDocument;r=r.parentElement){n.push(r);let i=t.getComputedStyle(r).pointerEvents;if(i&&!["inherit","unset"].includes(i))return{pointerEvents:i,tree:n}}}var nae=Symbol("Last check for pointer-events");function UIe(e,t){let r=t[nae];if(!(e.config.pointerEventsCheck!==Um.Never&&(!r||iae(e.config.pointerEventsCheck,Um.EachApiCall)&&r[Ki.Call]!==G3(e,Ki.Call)||iae(e.config.pointerEventsCheck,Um.EachTrigger)&&r[Ki.Trigger]!==G3(e,Ki.Trigger))))return r==null?void 0:r.result;let n=GVt(t);return t[nae]={[Ki.Call]:G3(e,Ki.Call),[Ki.Trigger]:G3(e,Ki.Trigger),result:n},n}function Sy(e,t){let r=UIe(e,t);if((r==null?void 0:r.pointerEvents)==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",VVt(r.tree)].join(`
`))}function VVt(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,YVt(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
`)}function YVt(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,i;r=(i=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||i===void 0||(n=i.textContent)===null||n===void 0?void 0:n.trim()}else if(lr(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(s=>{var o;return(o=s.textContent)===null||o===void 0?void 0:o.trim()}).join("|");else if(lr(e,"button")){var a;r=(a=e.textContent)===null||a===void 0?void 0:a.trim()}return r=r==null?void 0:r.replace(/\n/g," "),Number(r==null?void 0:r.length)>30&&(r=`${r==null?void 0:r.substring(0,29)}…`),r?`(label=${r})`:""}function iae(e,t){return(e&t)>0}function Iu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var aae=class{init(e,t){this.position=t;let r=this.getTarget(e),[,n]=p5(null,r),i=this.getEventInit();return Sy(e,r),e.dispatchUIEvent(r,"pointerover",i),n.forEach(a=>e.dispatchUIEvent(a,"pointerenter",i)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!HIe(r,t))return;let i=this.getTarget(e),a=this.getEventInit(),[s,o]=p5(n,i);return{leave:()=>{kw(e,n)&&n!==i&&(e.dispatchUIEvent(n,"pointerout",a),s.forEach(l=>e.dispatchUIEvent(l,"pointerleave",a)))},enter:()=>{Sy(e,i),n!==i&&(e.dispatchUIEvent(i,"pointerover",a),o.forEach(l=>e.dispatchUIEvent(l,"pointerenter",a)))},move:()=>{e.dispatchUIEvent(i,"pointermove",a)}}}down(e,t){if(this.isDown)return;let r=this.getTarget(e);Sy(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit())}up(e,t){if(!this.isDown)return;let r=this.getTarget(e);Sy(e,r),this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit())}release(e){let t=this.getTarget(e),[r]=p5(t,null),n=this.getEventInit();kw(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(i=>e.dispatchUIEvent(i,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId:e,pointerType:t,isPrimary:r}){Iu(this,"pointerId",void 0),Iu(this,"pointerType",void 0),Iu(this,"isPrimary",void 0),Iu(this,"isMultitouch",!1),Iu(this,"isCancelled",!1),Iu(this,"isDown",!1),Iu(this,"isPrevented",!1),Iu(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r}};function Ou(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var KVt=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let n=this.getPointerName(t),i=t.pointerType==="touch"?this.pointers.new(n,t).init(e,r):this.pointers.get(n);i.position=r,i.pointerType!=="touch"&&(this.mouse.position=r),this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t),i.down(e,t),i.pointerType!=="touch"&&!i.isPrevented&&this.mouse.down(e,t,i)}async move(e,t,r){let n=this.pointers.get(t),i=n.move(e,r),a=n.pointerType==="touch"||n.isPrevented&&n.isDown?void 0:this.mouse.move(e,r);i==null||i.leave(),a==null||a.leave(),i==null||i.enter(),a==null||a.enter(),i==null||i.move(),a==null||a.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let i=this.pointers.get(this.getPointerName(t));if(i.position=r,i.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&i.up(e,t),i.pointerType==="touch"&&i.release(e),!i.isPrevented){if(i.pointerType==="touch"&&!i.isMultitouch){let a=this.mouse.move(e,i.position);a==null||a.leave(),a==null||a.enter(),a==null||a.move(),this.mouse.down(e,t,i)}if(!i.isMultitouch){let a=this.mouse.move(e,i.position);a==null||a.leave(),a==null||a.enter(),a==null||a.move(),this.mouse.up(e,t,i)}}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){Ou(this,"system",void 0),Ou(this,"mouse",void 0),Ou(this,"buttons",void 0),Ou(this,"devices",new class{get(t){var r,n,i;return(i=(r=this.registry)[n=t])!==null&&i!==void 0||(r[n]=new qVt),this.registry[t]}constructor(){Ou(this,"registry",{})}}),Ou(this,"pointers",new class{new(t,r){let n=r.pointerType!=="touch"||!Object.values(this.registry).some(i=>i.pointerType==="touch"&&!i.isCancelled);return n||Object.values(this.registry).forEach(i=>{i.pointerType===r.pointerType&&!i.isCancelled&&(i.isMultitouch=!0)}),this.registry[t]=new aae({pointerId:this.nextId++,pointerType:r.pointerType,isPrimary:n}),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){Ou(this,"registry",{mouse:new aae({pointerId:1,pointerType:"mouse",isPrimary:!0})}),Ou(this,"nextId",2)}}),this.system=e,this.buttons=new zIe,this.mouse=new UVt}};function sae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var GIe=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){sae(this,"keyboard",new LVt(this)),sae(this,"pointer",new KVt(this))}};async function XVt(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function QVt(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function JVt(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function ZVt(e){return this.pointer({target:e})}async function eYt(e){return Sy(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function tYt({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function rYt(e,t){let r=[];do{let{type:i,descriptor:a,consumedLength:s,releasePrevious:o,releaseSelf:l=!0,repeat:c}=EIe(t,"keyboard");var n;let u=(n=e.find(d=>{if(i==="["){var h;return((h=d.code)===null||h===void 0?void 0:h.toLowerCase())===a.toLowerCase()}else if(i==="{"){var p;return((p=d.key)===null||p===void 0?void 0:p.toLowerCase())===a.toLowerCase()}return d.key===a}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[i==="["?"code":"key"]:a};r.push({keyDef:u,releasePrevious:o,releaseSelf:l,repeat:c}),t=t.slice(s)}while(t);return r}async function nYt(e){let t=rYt(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await o1(this.config),await iYt(this,t[r])}async function iYt(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:i}){let{system:a}=e;if(a.keyboard.isKeyPressed(t)&&await a.keyboard.keyup(e,t),!r){for(let s=1;s<=i;s++)await a.keyboard.keydown(e,t),s<i&&await o1(e.config);n&&await a.keyboard.keyup(e,t)}}async function aYt(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function VIe(e){let t=Gl(e)?{"text/plain":sYt(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=RV(Ul(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function sYt(e){let t=Y7(e);return Vl(e).substring(t.startOffset,t.endOffset)}async function oYt(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=VIe(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await _Ie(e,n),n}async function lYt(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=VIe(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await _Ie(r.ownerDocument,n),n}async function cYt(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var i;let a=(i=typeof e=="string"?uYt(t,e):e)!==null&&i!==void 0?i:await OGt(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:a})}function uYt(e,t){let r=RV(Ul(e));return r.setData("text",t),r}function oae(e,t){let r=[];do{let{descriptor:n,consumedLength:i,releasePrevious:a,releaseSelf:s=!0}=EIe(t,"pointer"),o=e.find(l=>l.name===n);o&&r.push({keyDef:o,releasePrevious:a,releaseSelf:s}),t=t.slice(i)}while(t);return r}async function dYt(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...oae(t,n)):"keys"in n?r.push(...oae(t,n.keys).map(i=>({...n,...i}))):r.push(n)});for(let n=0;n<r.length;n++)await o1(this.config),await pYt(this,r[n]);this.system.pointer.resetClickCount()}async function pYt(e,t){var r,n;let i="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",a=e.system.pointer.getPreviousPosition(i);var s,o,l,c;let u={target:(s=t.target)!==null&&s!==void 0?s:hYt(e,a),coords:(o=t.coords)!==null&&o!==void 0?o:a==null?void 0:a.coords,caret:{node:(l=t.node)!==null&&l!==void 0?l:lae(t)||a==null||(r=a.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:lae(t)||a==null||(n=a.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(vy(e,Ki.Trigger),await e.system.pointer.release(e,t.keyDef,u)),t.releasePrevious||(vy(e,Ki.Trigger),await e.system.pointer.press(e,t.keyDef,u),t.releaseSelf&&(vy(e,Ki.Trigger),await e.system.pointer.release(e,t.keyDef,u)))):(vy(e,Ki.Trigger),await e.system.pointer.move(e,i,u))}function lae(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}function hYt(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function fYt(e){if(!n1(e)||ou(e))throw new Error("clear()` is only supported on editable elements.");if(Md(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(LIe(e),!hVt(e))throw new Error("The element content to be cleared could not be selected.");s1(this,e,"","deleteContentBackward")}async function mYt(e,t){return YIe.call(this,!0,e,t)}async function gYt(e,t){return YIe.call(this,!1,e,t)}async function YIe(e,t,r){if(!e&&!t.multiple)throw Er().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],i=Array.from(t.querySelectorAll('option, [role="option"]')),a=n.map(o=>{if(typeof o!="string"&&i.includes(o))return o;{let l=i.find(c=>c.value===o||c.innerHTML===o);if(l)return l;throw Er().getElementError(`Value "${String(o)}" not found in options`,t)}}).filter(o=>!ou(o));if(ou(t)||!a.length)return;let s=o=>{o.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(lr(t,"select"))if(t.multiple)for(let o of a){let l=this.config.pointerEventsCheck===0?!0:kw(this,o);l&&(this.dispatchUIEvent(o,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(o,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(o,"pointermove"),this.dispatchUIEvent(o,"mousemove"),this.dispatchUIEvent(o,"pointerdown"),this.dispatchUIEvent(o,"mousedown")),Md(t),l&&(this.dispatchUIEvent(o,"pointerup"),this.dispatchUIEvent(o,"mouseup")),s(o),l&&this.dispatchUIEvent(o,"click"),await o1(this.config)}else if(a.length===1){let o=this.config.pointerEventsCheck===0?!0:kw(this,t);o?await this.click(t):Md(t),s(a[0]),o&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await o1(this.config)}else throw Er().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let o of a)await this.click(o),await this.unhover(o);else throw Er().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function bYt(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:i,initialSelectionEnd:a}={}){e.disabled||(r||await this.click(e),i!==void 0&&Ty(e,i,a!=null?a:i),await this.keyboard(t),n||await aYt(this))}var cae=Symbol("files and value properties are mocked");function yE(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function yYt(e,t){var r;(r=e[cae])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),i=Object.getOwnPropertyDescriptor(e,"value"),a=Object.getOwnPropertyDescriptor(e,"files");function s(){yE(e,"type",n),yE(e,"value",i),yE(e,"files",a)}e[cae]={restore:s},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(o){if(o==="")s();else{var l;i==null||(l=i.set)===null||l===void 0||l.call(e,o)}}},type:{configurable:!0,get:()=>"file",set(o){o!=="file"&&(s(),e.type=o)}}})}async function vYt(e,t){let r=lr(e,"label")?e.control:e;if(!r||!lr(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r==null?void 0:r.tagName} element does not accept file uploads`);if(ou(e))return;let n=(Array.isArray(t)?t:[t]).filter(a=>!this.config.applyAccept||TYt(a,r.accept)).slice(0,r.multiple?void 0:1),i=()=>{var a;n.length===((a=r.files)===null||a===void 0?void 0:a.length)&&n.every((s,o)=>{var l;return s===((l=r.files)===null||l===void 0?void 0:l.item(o))})||(yYt(r,jV(Ul(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",i),await this.click(e),r.removeEventListener("fileDialog",i)}function TYt(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return t.split(",").some(n=>n.startsWith(".")?e.name.endsWith(n):r.includes(n)?e.type.startsWith(n.substr(0,n.length-1)):e.type===n)}var uae={click:XVt,dblClick:QVt,tripleClick:JVt,hover:ZVt,unhover:eYt,tab:tYt,keyboard:nYt,copy:oYt,cut:lYt,paste:cYt,pointer:dYt,clear:fYt,deselectOptions:gYt,selectOptions:mYt,type:bYt,upload:vYt};function SYt(e){return Er().asyncWrapper(e)}var KIe={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:FVt,pointerMap:$Vt,pointerEventsCheck:Um.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},xYt={...KIe,writeToClipboard:!0};function XIe(e={},t=xYt,r){let n=CYt(e,r,t);return{...t,...e,document:n}}function wYt(e={}){let t=XIe(e);qIe(t.document);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return jGt(n),DV(t).api}function Ui({keyboardState:e,pointerState:t,...r}={},n){let i=XIe(r,KIe,n);qIe(i.document);var a;let s=(a=t!=null?t:e)!==null&&a!==void 0?a:new GIe;return{api:DV(i,s).api,system:s}}function _Yt(e){return DV({...this.config,...e},this.system).api}function AYt(e,t){function r(...n){return vy(e,Ki.Call),SYt(()=>t.apply(e,n).then(async i=>(await o1(e.config),i)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function DV(e,t=new GIe){let r={};return Object.assign(r,{config:e,dispatchEvent:NIe.bind(r),dispatchUIEvent:CVt.bind(r),system:t,levelRefs:{},...uae}),{instance:r,api:{...Object.fromEntries(Object.entries(uae).map(([n,i])=>[n,AYt(r,i)])),setup:_Yt.bind(r)}}}function CYt(e,t,r){var n,i;return(i=(n=e.document)!==null&&n!==void 0?n:t&&OVt(t))!==null&&i!==void 0?i:r.document}var QIe={};fG(QIe,{clear:()=>EYt,click:()=>PYt,copy:()=>jYt,cut:()=>RYt,dblClick:()=>IYt,deselectOptions:()=>OYt,hover:()=>MYt,keyboard:()=>kYt,paste:()=>LYt,pointer:()=>DYt,selectOptions:()=>FYt,tab:()=>zYt,tripleClick:()=>$Yt,type:()=>BYt,unhover:()=>NYt,upload:()=>qYt});function EYt(e){return Ui().api.clear(e)}function PYt(e,t={}){return Ui(t,e).api.click(e)}function jYt(e={}){return Ui(e).api.copy()}function RYt(e={}){return Ui(e).api.cut()}function IYt(e,t={}){return Ui(t).api.dblClick(e)}function OYt(e,t,r={}){return Ui(r).api.deselectOptions(e,t)}function MYt(e,t={}){return Ui(t).api.hover(e)}async function kYt(e,t={}){let{api:r,system:n}=Ui(t);return r.keyboard(e).then(()=>n)}async function DYt(e,t={}){let{api:r,system:n}=Ui(t);return r.pointer(e).then(()=>n)}function LYt(e,t){return Ui(t).api.paste(e)}function FYt(e,t,r={}){return Ui(r).api.selectOptions(e,t)}function $Yt(e,t={}){return Ui(t).api.tripleClick(e)}function BYt(e,t,r={}){return Ui(r,e).api.type(e,t,r)}function NYt(e,t={}){let{api:r,system:n}=Ui(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function qYt(e,t,r={}){return Ui(r).api.upload(e,t)}function zYt(e={}){return Ui().api.tab(e)}var WYt={...QIe,setup:wYt};function HYt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var i=n.reduce(function(o,l){var c=l.match(/\n([\t ]+|(?!\s).)/g);return c?o.concat(c.map(function(u){var d,h;return(h=(d=u.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&h!==void 0?h:0})):o},[]);if(i.length){var a=new RegExp(`
[ ]{`+Math.min.apply(Math,i)+"}","g");n=n.map(function(o){return o.replace(a,`
`)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(o,l){var c=s.match(/(?:^|\n)( *)$/),u=c?c[1]:"",d=o;typeof o=="string"&&o.includes(`
`)&&(d=String(o).split(`
`).map(function(h,p){return p===0?h:""+u+h}).join(`
`)),s+=d+n[l+1]}),s}var UYt=HYt,dF=pG({...Vje},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});dF.screen=new Proxy(dF.screen,{get(e,t,r){return pn.warn(UYt`
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
More info: https://storybook.js.org/docs/essentials/interactions
`),Reflect.get(e,t,r)}});var{buildQueries:Ior,configure:Oor,createEvent:Mor,fireEvent:kor,findAllByAltText:Dor,findAllByDisplayValue:Lor,findAllByLabelText:For,findAllByPlaceholderText:$or,findAllByRole:Bor,findAllByTestId:Nor,findAllByText:qor,findAllByTitle:zor,findByAltText:Wor,findByDisplayValue:Hor,findByLabelText:Uor,findByPlaceholderText:Gor,findByRole:Vor,findByTestId:Yor,findByText:Kor,findByTitle:Xor,getAllByAltText:Qor,getAllByDisplayValue:Jor,getAllByLabelText:Zor,getAllByPlaceholderText:elr,getAllByRole:tlr,getAllByTestId:rlr,getAllByText:nlr,getAllByTitle:ilr,getByAltText:alr,getByDisplayValue:slr,getByLabelText:olr,getByPlaceholderText:llr,getByRole:clr,getByTestId:ulr,getByText:dlr,getByTitle:plr,getConfig:hlr,getDefaultNormalizer:flr,getElementError:mlr,getNodeText:glr,getQueriesForElement:blr,getRoles:ylr,getSuggestedQuery:vlr,isInaccessible:Tlr,logDOM:Slr,logRoles:xlr,prettyDOM:wlr,queries:_lr,queryAllByAltText:Alr,queryAllByAttribute:Clr,queryAllByDisplayValue:Elr,queryAllByLabelText:Plr,queryAllByPlaceholderText:jlr,queryAllByRole:Rlr,queryAllByTestId:Ilr,queryAllByText:Olr,queryAllByTitle:Mlr,queryByAltText:klr,queryByAttribute:Dlr,queryByDisplayValue:Llr,queryByLabelText:Flr,queryByPlaceholderText:$lr,queryByRole:Blr,queryByTestId:Nlr,queryByText:qlr,queryByTitle:zlr,queryHelpers:Wlr,screen:Hlr,waitFor:Ulr,waitForElementToBeRemoved:Glr,within:GYt,prettyFormat:Vlr}=dF,{userEvent:Ylr}=pG({userEvent:WYt},{intercept:!0}),{expect:Klr}=pG({expect:Uje},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===re){let n=Object.keys(Object.getPrototypeOf(e)).filter(i=>!r.includes(i));return t>2?n:[...n,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),VYt=({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?gHt():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?mHt():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&bHt()},pF=(e,t=0,r)=>{var n;if(t>5||e==null)return e;if(Dje(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let i=Gje(e);return r&&i.mockName(r),i}if(Array.isArray(e)){t++;for(let i=0;i<e.length;i++)e[i]=pF(e[i],t)}if(typeof e=="object"&&e.constructor===Object){t++;for(let[i,a]of Object.entries(e))(n=Object.getOwnPropertyDescriptor(e,i))!=null&&n.writable&&(e[i]=pF(a,t,i));return e}return e},YYt=({initialArgs:e})=>{pF(e)},KYt=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=GYt(e.canvasElement))};Ue.__STORYBOOK_TEST_LOADERS__=[VYt,YYt,KYt];Ue.__STORYBOOK_TEST_ON_MOCK_CALL__=hHt;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};Gje(Oce).mockName("usePlayerByPlayerOrId");globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:kb,set:vE}=ft();function XYt(){const e=kb(v0);if(!e){console.warn("This player does not have a position initialized");return}const t=kb($o);if(!t){console.warn("This player is not standing on a garden tile");return}const r=kb(Xr);if((r==null?void 0:r.itemType)!==ne.Pet){console.warn("Selected item is not a pet");return}if(kb(pye)>=3){lt({title:Ee._({id:"FYvo5Y"}),description:Ee._({id:"Ma+Vc6"}),variant:"error"});return}const{tileType:n,localTileIndex:i}=t;vE(b4,a=>({...a!=null?a:{},[r.id]:e})),zt({type:"PlacePet",itemId:r.id,position:e,tileType:n,localTileIndex:i}),vE(ti,{playerId:kb(gr),animation:or.DropObject}),QN(r.petSpecies),vE(Ao,null)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:TE,set:QYt}=ft();function JYt(){const e=TE(Ra),t=TE(Xr);if(e===null){console.warn("This player is not standing on a tile object");return}if((t==null?void 0:t.itemType)!==ne.Egg){console.warn("Selected item is not an egg");return}QYt(ti,{playerId:TE(gr),animation:or.DropObject}),Yy(),zt({type:"PlantEgg",slot:e,eggId:t.eggId})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:SE,set:ZYt}=ft();function eKt(){const e=SE(Ra),t=SE(Xr);if(e===null){console.warn("This player is not standing on a garden tile");return}if((t==null?void 0:t.itemType)!==ne.Plant){console.warn("Selected item is not a plant");return}n4(),ZYt(ti,{playerId:SE(gr),animation:or.Water}),zt({type:"PlantGardenPlant",slot:e,itemId:t.id})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const dae=100,pae=50,xE=50,hae=10,LV=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/components/Input/VirtualDPad.tsx/isVirtualDPadActiveAtom",Me(!1));LV.debugLabel="isVirtualDPadActiveAtom";const tKt=({onMove:e})=>{const t=j.useRef(null),r=j.useRef(null),n=j.useRef(null),i=j.useRef({x:0,y:0}),a=j.useRef(null),s=j.useRef(!1),o=k0(LV),l=j.useCallback(m=>{var S;const g=m.touches[0],b=(S=n.current)==null?void 0:S.getBoundingClientRect();if(!b)return{x:0,y:0};const y=g.clientX-b.left,v=g.clientY-b.top;return{x:y,y:v}},[]),c=j.useCallback((m,g,b)=>{var v;if(!m.current)return;const y=m.current.getBoundingClientRect().width;(v=m.current)==null||v.style.setProperty("transform",`translate(${g-y/2}px, ${b-y/2}px)`)},[]),u=j.useCallback((m,g)=>{m.current&&m.current.style.setProperty("visibility",g?"visible":"hidden")},[]),d=j.useCallback(m=>{if(m.touches.length>1){u(t,!1),u(r,!1),o(!1);return}o(!0),m.preventDefault();const{x:g,y:b}=l(m);i.current={x:g,y:b},c(t,g,b),c(r,g,b),u(t,!0),u(r,!0),s.current=!1},[l,c,u]),h=j.useCallback(m=>{if(m.touches.length>1){o(!1);return}m.preventDefault();const{x:g,y:b}=l(m),y=g-i.current.x,v=b-i.current.y,S=Math.sqrt(y*y+v*v),x=Math.atan2(v,y);if(S>xE){const _=i.current.x+xE*Math.cos(x),C=i.current.y+xE*Math.sin(x);c(r,_,C)}else c(r,g,b);let w=null;const A=s.current?0:hae;if(S>=A){!s.current&&S>=hae&&(s.current=!0);const _=x*180/Math.PI;_>=-45&&_<45?w="right":_>=45&&_<135?w="down":_>=-135&&_<-45?w="up":w="left"}else w=null;a.current!==w&&(e(w),a.current=w)},[l,c,e]),p=j.useCallback(m=>{m.preventDefault(),u(t,!1),u(r,!1),o(!1),a.current=null,s.current=!1,e(null)},[u,e]);return j.useEffect(()=>{const m=n.current;if(m)return m.addEventListener("touchstart",d,{passive:!1}),m.addEventListener("touchmove",h,{passive:!1}),m.addEventListener("touchend",p,{passive:!1}),m.addEventListener("touchcancel",p,{passive:!1}),()=>{m.removeEventListener("touchstart",d),m.removeEventListener("touchmove",h),m.removeEventListener("touchend",p),m.removeEventListener("touchcancel",p)}},[d,h,p]),f.jsxs(z,{ref:n,orient:"top left",position:"absolute",children:[f.jsx(Ne,{ref:t,position:"absolute",width:`${dae}px`,height:`${dae}px`,bg:"rgba(255, 255, 255, 0.2)",borderWidth:"2px",borderColor:"rgba(255, 255, 255, 0.5)",borderRadius:"50%",visibility:"hidden"}),f.jsx(Ne,{ref:r,position:"absolute",width:`${pae}px`,height:`${pae}px`,bg:"rgba(255, 255, 255, 0.2)",borderRadius:"50%",visibility:"hidden"})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const JIe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isWelcomeToastVisibleAtom",Me(e=>e(zn).includes(jt.firstPlayerMove)));JIe.debugLabel="isWelcomeToastVisibleAtom";const ZIe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/shouldCloseWelcomeToastAtom",Me(e=>{const t=e(zn),r=e(Ra);return t.includes(jt.firstItemSelect)&&r!==null}));ZIe.debugLabel="shouldCloseWelcomeToastAtom";const hF=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isInitialMoveToDirtPatchToastVisibleAtom",Me(e=>{const t=e(P1),r=e(FV);return!t.includes(jt.firstSeedPlant)&&r}));hF.debugLabel="isInitialMoveToDirtPatchToastVisibleAtom";const eOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isFirstPlantSeedActiveAtom",Me(e=>e(zn).includes(jt.firstSeedPlant)));eOe.debugLabel="isFirstPlantSeedActiveAtom";const tOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isThirdSeedPlantActiveAtom",Me(e=>e(zn).includes(jt.thirdSeedPlant)));tOe.debugLabel="isThirdSeedPlantActiveAtom";const rKt=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isThirdSeedPlantCompletedAtom",Me(e=>e(P1).includes(jt.thirdSeedPlant)));rKt.debugLabel="isThirdSeedPlantCompletedAtom";const rOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isDemoTouchpadVisibleAtom",Me(e=>{const t=e(LV);return e(zn).includes(jt.firstPlayerMove)&&!t}));rOe.debugLabel="isDemoTouchpadVisibleAtom";const NA=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/areTutorialTasksCompleteAtom",Me(e=>e(P1).includes(jt.weatherIntroduction)));NA.debugLabel="areTutorialTasksCompleteAtom";const m2=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/areShopAnnouncersEnabledAtom",Me(e=>e(NA)));m2.debugLabel="areShopAnnouncersEnabledAtom";const nOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/arePresentablesEnabledAtom",Me(e=>e(NA)));nOe.debugLabel="arePresentablesEnabledAtom";const FV=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isEmptyDirtTileHighlightedAtom",Me(e=>{const t=e(zn),r=e(Ra),n=e(Xn);return t.includes(jt.firstPlayerMove)||(t.includes(jt.firstItemSelect)||t.includes(jt.firstSeedPlant)||t.includes(jt.secondSeedPlant)||t.includes(jt.thirdSeedPlant))&&(r===null||!!n)}));FV.debugLabel="isEmptyDirtTileHighlightedAtom";const iOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isPlantTileHighlightedAtom",Me(e=>{const t=e(zn),r=e(Xn);return t.includes(jt.firstCropHarvest)&&!r}));iOe.debugLabel="isPlantTileHighlightedAtom";const aOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isItemHiglightedInHotbarAtom",Me(e=>{const t=e(zn),r=e(c0),n=e(Ra),i=e(iu),a=e(Xn);return(t.includes(jt.firstItemSelect)||t.includes(jt.firstSeedPlant)||t.includes(jt.secondSeedPlant)||t.includes(jt.thirdSeedPlant))&&!r&&n!==null&&i===null&&!a}));aOe.debugLabel="isItemHiglightedInHotbarAtom";const sOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isItemHighlightedInModalAtom",Me(e=>{const t=e(zn),r=e(Ra),n=e(iu),i=e(Xn);return(t.includes(jt.firstItemSelect)||t.includes(jt.firstSeedPlant)||t.includes(jt.secondSeedPlant)||t.includes(jt.thirdSeedPlant))&&r!==null&&n===null&&!i}));sOe.debugLabel="isItemHighlightedInModalAtom";const oOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isMyGardenButtonHighlightedAtom",Me(e=>{const t=e(zn),r=e(Iv);return(t.includes(jt.firstItemSelect)||t.includes(jt.firstSeedPlant)||t.includes(jt.firstCropHarvest)||t.includes(jt.secondSeedPlant))&&!r}));oOe.debugLabel="isMyGardenButtonHighlightedAtom";const lOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isSellButtonHighlightedAtom",Me(e=>{const t=e(zn),r=e(Us);return t.includes(jt.firstCropSell)&&r!=="sellAllCrops"}));lOe.debugLabel="isSellButtonHighlightedAtom";const cOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isShopButtonHighlightedAtom",Me(e=>{const t=e(zn),r=e(Us),n=e(c0);return t.includes(jt.firstSeedPurchase)&&r!=="seedShop"&&n!=="seedShop"}));cOe.debugLabel="isShopButtonHighlightedAtom";const uOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isInstaGrowButtonHiddenAtom",Me(e=>!e(P1).includes(jt.thirdSeedPlant)));uOe.debugLabel="isInstaGrowButtonHiddenAtom";const dOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isActionButtonHighlightedAtom",Me(e=>{var i,a;const t={plantSeed:[jt.firstSeedPlant,jt.secondSeedPlant,jt.thirdSeedPlant],harvest:[jt.firstCropHarvest],sellAllCrops:[jt.firstCropSell],purchaseSeed:[jt.firstSeedPurchase,jt.secondSeedPurchase],seedShop:[jt.firstSeedPurchase,jt.secondSeedPurchase]},r=e(zn),n=e(Us);return(a=(i=t[n])==null?void 0:i.some(s=>r.some(o=>o===s)))!=null?a:!1}));dOe.debugLabel="isActionButtonHighlightedAtom";const pOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isGardenItemInfoCardHiddenAtom",Me(e=>e(zn).includes(jt.firstCropHarvest)));pOe.debugLabel="isGardenItemInfoCardHiddenAtom";const $V=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isSeedPurchaseButtonHighlightedAtom",Me(e=>{const t=e(zn);return t.includes(jt.firstSeedPurchase)||t.includes(jt.secondSeedPurchase)}));$V.debugLabel="isSeedPurchaseButtonHighlightedAtom";const hOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isFirstSeedPurchaseActiveAtom",Me(e=>e(zn).includes(jt.firstSeedPurchase)));hOe.debugLabel="isFirstSeedPurchaseActiveAtom";const fOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/taskAtoms.ts/isWeatherStatusHighlightedAtom",Me(e=>e(zn).includes(jt.weatherIntroduction)));fOe.debugLabel="isWeatherStatusHighlightedAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:Db,set:nKt}=ft();function iKt(){const e=Db(Ra),t=Db(Xr),r=Db(eOe),n=Db(tOe);if(e===null){console.warn("This player is not standing on a tile object");return}if((t==null?void 0:t.itemType)!==ne.Seed){console.warn("Selected item is not a seed");return}r&&lt({title:Ee._({id:"/wKHkx"}),description:Ee._({id:"qw72Os"}),variant:"success"}),n&&lt({title:Ee._({id:"YjRkZJ"}),description:Ee._({id:"h3uJOJ"}),variant:"success"}),n4(),nKt(ti,{playerId:Db(gr),animation:or.Water}),zt({type:"PlantSeed",slot:e,species:t.species})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:X3,set:fae}=ft();function aKt(){const e=X3(Ra),t=X3(Xn);if(e===null||(t==null?void 0:t.objectType)!=="plant"){console.warn("This player is not standing on a plant");return}const r=X3(Xr);if((r==null?void 0:r.itemType)!==ne.Tool||r.toolId!=="PlanterPot"){console.warn("Selected item is not a planter pot");return}const{name:n}=tt[t.species].plant,{isInventoryFull:i,isItemAtMaxQuantity:a}=Ja({itemType:ne.Plant,id:t.species});if(i){lt({title:Ee._({id:"e2hCG9"}),description:Ee._({id:"H721tb",values:{name:n}}),variant:"error"});return}if(a){lt({title:Ee._({id:"D+lp/G"}),description:Ee._({id:"1280GK",values:{name:n}}),variant:"error"});return}ox(),fae(ti,{playerId:X3(gr),animation:or.PotPlant}),zt({type:"PotPlant",slot:e}),r.quantity>1&&fae(Ao,s=>(s!=null?s:0)+1)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:mae,set:sKt}=ft();function oKt(){const e=mae($o);if(e===null){console.warn("This player is not standing on a garden tile");return}const{localTileIndex:t,tileType:r,playerId:n}=e,i=mae(gr);if(n!==i){console.warn("This player cannot remove objects from tiles they do not own");return}ox(),sKt(ti,{playerId:i,animation:or.Dig}),zt({type:"RemoveGardenObject",slot:t,slotType:r})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Ps(e){const{get:t,set:r}=ft(),n=t(po),i=t(gr),a=t(Yc),s=t(lq),o=t(v0);if(!o||!s)return;let l=o;switch(e){case"myGarden":if(a===null){console.warn("My slot index is null");break}l=t(sx);break;case"seedShop":if(n.locations.seedShop.spawnTileIdx.includes(s))l=t(v0);else{const c=n.locations.seedShop.spawnTileIdx[Math.floor(Math.random()*n.locations.seedShop.spawnTileIdx.length)];l=el(n,c)}break;case"toolShop":if(n.locations.toolShop.spawnTileIdx.includes(s))l=t(v0);else{const c=n.locations.toolShop.spawnTileIdx[Math.floor(Math.random()*n.locations.toolShop.spawnTileIdx.length)];l=el(n,c)}break;case"eggShop":if(n.locations.eggShop.spawnTileIdx.includes(s))l=t(v0);else{const c=n.locations.eggShop.spawnTileIdx[Math.floor(Math.random()*n.locations.eggShop.spawnTileIdx.length)];l=el(n,c)}break;case"decorShop":if(n.locations.decorShop.spawnTileIdx.includes(s))l=t(v0);else{const c=n.locations.decorShop.spawnTileIdx[Math.floor(Math.random()*n.locations.decorShop.spawnTileIdx.length)];l=el(n,c)}break;case"sellCropsShop":if(n.locations.sellCropsShop.spawnTileIdx.includes(s))l=t(v0);else{const c=n.locations.sellCropsShop.spawnTileIdx[Math.floor(Math.random()*n.locations.sellCropsShop.spawnTileIdx.length)];l=el(n,c)}break;case"collectorsClub":if(n.locations.collectorsClub.spawnTileIdx.includes(s))l=t(v0);else{const c=n.locations.collectorsClub.spawnTileIdx[Math.floor(Math.random()*n.locations.collectorsClub.spawnTileIdx.length)];l=el(n,c)}break;case"shopsCenter":if(n.locations.shopsCenter.spawnTileIdx.includes(s))l=t(v0);else{const c=n.locations.shopsCenter.spawnTileIdx[Math.floor(Math.random()*n.locations.shopsCenter.spawnTileIdx.length)];l=el(n,c)}break}l&&(r(ti,{playerId:i,animation:or.JoinGame}),zt({type:"Teleport",position:l}),r(v0,l),r(c0,null))}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:Sm}=ft();function lKt(){const e=Sm(vq);if(e.length<=0){lt({variant:"error",title:Ee._({id:"IsnoMa"}),description:Ee._({id:"Bx4VJW"})});return}const t=Sm(Vd);if(e.every(i=>t.includes(i.id))){lt({variant:"error",title:Ee._({id:"/okY6e"}),description:Ee._({id:"RTvjF6"})});return}const r=Sm(Aye),n=Sm(zn);r&&!n.includes(jt.firstCropSell)?dge({title:Ee._({id:"6foA8n"}),message:Ee._({id:"OM2NG8"}),okText:Ee._({id:"ZkrNlX"}),cancelText:Ee._({id:"5V31TU"}),okButtonColor:"Red.Magic",cancelBackground:"Brown.Magic",isCentered:!0,onConfirm:()=>{gae()},onCancel:()=>{Ps("collectorsClub")}}):gae()}function gae(){const e=Sm(wye),t=Sm(Tq);if(e<=0)return;const r=t.length>1?Ee._({id:"lh3fkk"}):Ee._({id:"ZhPqDO",values:{0:tt[t[0].species].crop.name}});eye(),lt({variant:"success",icon:rr.MoneyBag,title:f.jsx(L,{id:"M87wLO",components:{0:f.jsx(Ei,{currency:Ri.Coins,amount:e,spriteSize:"18px",color:"MagicWhite",fontWeight:"bold"})}}),description:f.jsx(L,{id:"KkYlV1",values:{cropText:r}}),onClick:aa}),zt({type:"SellAllCrops"})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:Vm}=ft();function cKt(){const e=Vm(Xr);if((e==null?void 0:e.itemType)!==ne.Pet){lt({variant:"error",title:Ee._({id:"HAyzo6"}),description:Ee._({id:"D07789"})});return}if(Vm(Vd).includes(e.id)){lt({variant:"error",title:Ee._({id:"bmTb4o"}),description:Ee._({id:"5igdta"})});return}Vm(Cye)?dge({title:Ee._({id:"6foA8n"}),message:Ee._({id:"CVciR7"}),okText:Ee._({id:"xNB0TS"}),cancelText:Ee._({id:"5V31TU"}),okButtonColor:"Red.Magic",cancelBackground:"Brown.Magic",isCentered:!0,onConfirm:()=>{bae(e)},onCancel:()=>{Ps("collectorsClub")}}):bae(e)}function bae(e){const t=Vm(Xr),r=Vm(Vd);if((t==null?void 0:t.itemType)!==ne.Pet||r.includes(t.id))return;const n=F1t(t),i=Vm(h4),a=Math.round(n*i),{name:s}=wt[t.petSpecies],o=t.name?t.name:Ee._({id:"HKMhBC",values:{faunaName:s}});eye(),lt({variant:"success",icon:rr.MoneyBag,title:f.jsx(L,{id:"M87wLO",components:{0:f.jsx(Ei,{currency:Ri.Coins,amount:a,spriteSize:"18px",color:"MagicWhite",fontWeight:"bold"})}}),description:f.jsx(L,{id:"I0p2Nk",values:{petText:o}}),onClick:aa}),zt({type:"SellPet",itemId:e.id})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function uKt(e,t){const{slots:r}=e,n=e.maturedAt<=t,i=r.every(a=>a.endTime<=t);return n&&i}const wE=50,yae=100;function BV(e,t){const{maxScale:r}=tt[e].crop;if(t<=1)return wE;if(t>=r)return yae;const n=(t-1)/(r-1),i=wE+(yae-wE)*n;return Math.floor(i)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:Q3,set:dKt}=ft();function pKt(){const e=Q3(Ra),t=Q3(Xn),r=Q3(Ws);if(e===null||!t||t.objectType!=="plant"){console.warn("This player is not standing on a plant tile object");return}const{name:n}=tt[t.species].plant;if(uKt(t,r)){lt({variant:"error",title:Ee._({id:"ZY5We2",values:{name:n}}),description:Ee._({id:"S6lsiZ",values:{name:n}})});return}Jbe(),dKt(ti,{playerId:Q3(gr),animation:or.WaterGold});const a=(Cmt/60).toLocaleString(),s=jye(t);lt({variant:"success",title:Ee._({id:"RYgqpE",values:{name:n}}),description:Ee._({id:"SR2Hl1",values:{name:n,minutesReduction:a}}),icon:s,onClick:aa}),zt({type:"WaterPlant",slot:e})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const hKt=e=>{const t=e.coinsCount<10,r=Object.values(e.garden.tileObjects).some(i=>i.objectType==="plant"),n=e.inventory.items.some(i=>i.itemType==="Plant"||i.itemType==="Produce");return t&&!r&&!n};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:J3}=ft();function fKt(){const e=J3(Xr),t=J3(Jo),r=J3(Vd),n=J3(ns);if(!n)return;const i=hKt(n);if(!e){i?(lt({variant:"success",title:f.jsx(L,{id:"VS6K58",components:{0:f.jsx(Ei,{currency:Ri.Coins,amount:100,spriteSize:"18px",color:"MagicWhite",fontWeight:"bold"})}}),description:Ee._({id:"mvPYs7"}),onClick:aa}),zt({type:"Wish"})):lt({variant:"info",title:Ee._({id:"j8gd/s"}),description:Ee._({id:"7bFfh3"})});return}const a=Tr(e);if(r.includes(a)){lt({variant:"error",title:Ee._({id:"wQfxH9"}),description:Ee._({id:"JvhP7I",values:{selectedItemName:t}})});return}if(e.itemType===ne.Tool){lt({variant:"error",title:Ee._({id:"7gciRe"}),description:Ee._({id:"O25igi",values:{selectedItemName:t}})});return}lt({variant:"success",title:Ee._({id:"XB+FNH"}),description:Ee._({id:"Xz7yfZ",values:{selectedItemName:t}}),onClick:aa}),zt({type:"Wish",itemId:a})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Dw=1,mKt=new Set(["instaGrow","removeGardenObject","mutationPotion","wish"]);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const NV=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/data/action/isPressAndHoldActionAtom.ts/isPressAndHoldActionAtom",Me(e=>{const t=e(Us);return mKt.has(t)}));NV.debugLabel="isPressAndHoldActionAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:qV,set:Rc}=ft(),l1=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/data/action/executeAction/executeAction.ts/actionWaitingTimeoutAtom",Me(null));l1.debugLabel="actionWaitingTimeoutAtom";const mOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/data/action/executeAction/executeAction.ts/isActionWaitingAtom",Me(e=>e(l1)!==null));mOe.debugLabel="isActionWaitingAtom";function fF(){qV(NV)?gKt():gOe()}function gOe(){switch(qV(Us)){case"seedShop":Rc(c0,"seedShop");break;case"eggShop":Rc(c0,"eggShop");break;case"toolShop":Rc(c0,"toolShop");break;case"decorShop":Rc(c0,"decorShop");break;case"collectorsClub":Rc(c0,"journal");break;case"petHutch":Rc(c0,"petHutch");break;case"logItems":ibt();break;case"plantSeed":iKt();break;case"harvest":G1t();break;case"removeGardenObject":oKt();break;case"waterPlant":pKt();break;case"potPlant":aKt();break;case"plantGardenPlant":eKt();break;case"plantEgg":JYt();break;case"hatchEgg":Y1t();break;case"placePet":XYt();break;case"sellAllCrops":lKt();break;case"sellPet":cKt();break;case"mutationPotion":dbt();break;case"instaGrow":nbt();break;case"placeDecor":hbt();break;case"pickupDecor":Iye();break;case"wish":fKt();break;case"checkWeatherStatus":q1t();break}}function gKt(){c1();const e=setTimeout(()=>{gOe(),Rc(l1,null)},Dw*1e3);Rc(l1,e)}function c1(){const e=qV(l1);e&&(clearTimeout(e),Rc(l1,null))}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const qA=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/hotkeyAtoms.ts/hotkeyBeingPressedAtom",Me(null));qA.debugLabel="hotkeyBeingPressedAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:sh,set:h5}=ft();function bOe(){const e=sh(Us),t=sh(c4);if(e!=="placeDecor"||!t)return;const r=sh(Ka),n=[s7,...t],i=[...new Set(n)].sort((c,u)=>c-u),a=i.indexOf(r),l=((a!==-1?a:0)+1)%i.length;h5(Ka,i[l]),nye()}function yOe(){const e=sh(Us),t=sh(c4);if(e!=="placeDecor"||!t)return;const r=sh(Ka),n=[s7,...t],i=[...new Set(n)].sort((c,u)=>c-u),a=i.indexOf(r),l=((a!==-1?a:0)-1+i.length)%i.length;h5(Ka,i[l]),nye()}function vOe(){const e=sh(Ka);e===s7?h5(Ka,AM):e===AM?h5(Ka,s7):h5(Ka,-e),cgt()}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:zA,set:WA}=ft(),vae=new Map([["Space",()=>fF()],["Escape",()=>WA(c0,null)],["e",()=>TKt()],["x",()=>fye()],["c",()=>dq()],["r",()=>bOe()],["Shift+r",()=>yOe()],["t",()=>vOe()],["=",()=>yKt()],["-",()=>vKt()],["Shift+1",()=>Ps("seedShop")],["Shift+2",()=>Ps("myGarden")],["Shift+3",()=>Ps("sellCropsShop")],["1",()=>dc(0)],["2",()=>dc(1)],["3",()=>dc(2)],["4",()=>dc(3)],["5",()=>dc(4)],["6",()=>dc(5)],["7",()=>dc(6)],["8",()=>dc(7)],["9",()=>dc(8)]]),bKt=()=>{const e=j.useRef(!1),t=k0(qA);j.useEffect(()=>{const r=i=>{const a=Tae(i);if(!a)return;const s=vae.get(a);s&&!e.current&&(i.preventDefault(),e.current=!0,t(a),s())},n=i=>{const a=Tae(i);a&&(vae.has(a)&&(i.preventDefault(),e.current=!1,t(null)),c1())};return window.addEventListener("keydown",r),window.addEventListener("keyup",n),()=>{window.removeEventListener("keydown",r),window.removeEventListener("keyup",n)}},[])};function Tae(e){let t=e.key;e.code.startsWith("Digit")&&(t=e.code.replace("Digit","")),e.code==="Space"&&(t="Space");const r=t.length===1&&/[a-z]/i.test(t);if(r&&(t=t.toLowerCase()),e.metaKey||e.ctrlKey||e.altKey)return"";const n=["r"];return e.shiftKey&&(!r||n.includes(t))?`Shift+${t}`:t}function yKt(){const e=zA(ta);WA(ta,Math.min(e*Mi.keyboardStepMultiplier,Mi.maxTileSize))}function vKt(){const e=zA(ta);WA(ta,Math.max(e/Mi.keyboardStepMultiplier,Mi.minTileSize))}function TKt(){const e=zA(c0);WA(c0,e==="inventory"?null:"inventory")}function dc(e){const t=zA(hn);e<t.length&&o7(e)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{set:Xlr,get:Qlr}=ft(),zV="NPC_TraderBunny",SKt=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/npcAtoms.ts/_traderBunnyPlayerAtom",Me(e=>({...xLe,id:zV,name:"Harlow Hopwright",cosmetic:{color:"Purple",avatar:["Bottom_Trader.png","Mid_Trader.png","Top_Trader.png","Expression_Stressed.png"]},emoteData:{emoteType:e(TOe)}})));SKt.debugLabel="_traderBunnyPlayerAtom";const xKt=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/npcAtoms.ts/_traderBunnyQuinoaUserAtom",Me({type:"anonymous",playerId:zV,data:wmt(),position:{x:39,y:21},petSlotInfos:{},lastActionEvent:null,notAuthoritative_selectedItemIndex:null,lastSlotMachineInfo:null}));xKt.debugLabel="_traderBunnyQuinoaUserAtom";const wKt=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/npcAtoms.ts/traderBunnyEmoteTimeoutAtom",Me(null));wKt.debugLabel="traderBunnyEmoteTimeoutAtom";const TOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/npcAtoms.ts/traderBunnyEmoteAtom",Me(_m.Idle));TOe.debugLabel="traderBunnyEmoteAtom";const g2=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/npcAtoms.ts/npcPlayersAtom",Me(()=>[]));g2.debugLabel="npcPlayersAtom";const SOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/npcAtoms.ts/npcQuinoaUsersAtom",Me(()=>[]));SOe.debugLabel="npcQuinoaUsersAtom";const xOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/npcAtoms.ts/numNpcAvatarsAtom",Me(e=>e(g2).length));xOe.debugLabel="numNpcAvatarsAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Sae=e=>e?e.itemType===ne.Plant||e.itemType===ne.Produce||e.itemType===ne.Pet||e.itemType===ne.Decor:!1;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const xae=a0(e=>{const t=e(Uw),r=e(g2),n=[...t,...r],i={};for(const a of n)i[a.id]={avatar:a.cosmetic.avatar,discordAvatarUrl:a.discordAvatarUrl};return i}),wae=a0(e=>{const t=e(Uw),r=e(g2),n=[...t,...r],i={};for(const a of n)i[a.id]=a.emoteData;return i}),_Kt=a0(e=>{const t=e(Uw);return e(a4).map(n=>{var i,a;return{name:(a=(i=t.find(s=>s.id===n.playerId))==null?void 0:i.name)!=null?a:n.playerId,playerId:n.playerId,coinsCount:n.data.coinsCount}})}),wOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/allPlayerAtoms.ts/currentGardenNameAtom",Me(e=>{const t=e($o);if(!t)return;const n=e(Uw).find(i=>i.id===t.playerId);if(n)return n.name}));wOe.debugLabel="currentGardenNameAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const _Oe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/otherPlayerAtoms.ts/otherUserSlotsAtom",Me(e=>{const t=e(Hs),r=e(gr);return t.filter(n=>n!==null).filter(n=>n.playerId!==r)}));_Oe.debugLabel="otherUserSlotsAtom";const AKt=a0(e=>{const t=e(gr),r=e(Hs),n={};for(const i of r)i!==null&&i.playerId!==t&&(n[i.playerId]=i.position);return n}),_ae=a0(e=>{const t=e(_Oe),r={};for(const n of t){const i=n.data.inventory.items,a=n.notAuthoritative_selectedItemIndex;r[n.playerId]=a!==null?i[a]:null}return r}),Z3=a0(e=>{const t=e(gr),r=e(Hs),n={};for(const i of r)i!==null&&i.playerId!==t&&(n[i.playerId]=i.lastActionEvent);return n});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function AOe(e){return j.useCallback((...t)=>{e&&console.log("DEBUG LOG: ",...t)},[e])}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const HA=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/data/perf/atoms/frameTimestampsAtom.ts/frameTimestampsAtom",Me([]));HA.debugLabel="frameTimestampsAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const CKt=30,EKt=2,PKt=4;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function jKt(){const e=k0(HA),t=AOe(ga().perf_fpsLogs);return r=>{e(n=>{const i=[...n,r].slice(-30);return t("FRAME PUSHED: ",i),i})}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const RKt=15,Aae=1e3/RKt;class WV{constructor(){ht(this,"lastUpdateTime",0);ht(this,"tileInfos",new Map);ht(this,"lastMaturedObjectEndTimePlayed",null)}static create(){return new WV}compute(t,r,n,i,a){const s=t-this.lastUpdateTime;if(s<Aae)return this.tileInfos;this.lastUpdateTime=t-s%Aae,this.tileInfos.clear();const o={value:null};if(Z1t(r,n,this.tileInfos,i,a,o),o.value!==null){const l=o.value;if(this.lastMaturedObjectEndTimePlayed===null||l.endTime!==this.lastMaturedObjectEndTimePlayed){const u=xq(a,l.position,15);hgt(u),this.lastMaturedObjectEndTimePlayed=l.endTime}}return this.tileInfos}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};async function IKt(e){const r=new OffscreenCanvas(640,640),n=new Map,i=new e.CustomFileAssetLoader({loadContents:C=>C.isImage&&wLe(C.name)?(n.set(C.name,C),!0):!1}),a=await _Le(e,Mce,i),s=e.makeRenderer(r),o=a.defaultArtboard();let l=m(),c=0,u=!1,d=0,h=!0;function p(){h&&(c=2)}function m(){const C=new e.StateMachineInstance(o.stateMachineByName("State Machine 1"),o);return C.advance(0),o.advance(0),C}function g(C,E){ALe(e,l,C,E)}function b(C){const E=ZY(l,C);(E==null?void 0:E.type)===e.SMIInput.trigger?E.asTrigger().fire():console.warn(`Input ${C} is not a trigger`)}function y(C,E){const R=ZY(l,C);(R==null?void 0:R.type)===e.SMIInput.bool&&(R.asBool().value=E)}function v(C){g("emoteType",C)}function S(C){g("animation",s1e(C))}async function x(C,E){const R=["Bottom","Mid","Top"],P=C[2]==="Top_Custom_ForbiddenMethod.png";y(KS.isRickrolling,P);const O=o1e.indexOf(C[3]);(O!==-1||P)&&(g("expression",O),l.advance(0),o.advance(0)),h||b(or.JoinGame);for(const[k,I]of R.entries()){const M=C[k],D=n.get(I);if(!D){console.warn(`No image asset for avatar part '${I}' ${k}. Valid parts are: ${Object.keys(n).join(", ")}`);return}try{const F=await Ua.load(M);D.setRenderImage(F);try{await Ua.unload(M),console.debug(`Unloaded avatar part '${M}'`),p()}catch($){console.warn($)}}catch(F){console.warn(F)}}if(y(KS.isRickrolling,P),C[2].startsWith("Top_DiscordPopsicle"))if(E){const k=n.get("DiscordAvatarPlaceholder");if(!k){console.warn(`No image asset for avatar part 'DiscordAvatarPlaceholder'. Valid parts are: ${Object.keys(n).join(", ")}`);return}CLe(e,k,E).then(p).catch(console.warn)}else console.warn("Avatar has Top_DiscordPopsicle but no external avatar URL");else{const k=n.get("DiscordAvatarPlaceholder");k&&k.setRenderImage(null)}}function w(){h||(h=!0,l.delete(),l=m())}function A(){h&&(h=!1)}function _(C){if(r.width===0||u){u||(console.warn("offscreenCanvas has become detached"),u=!0);return}const E=!h,R=E||c>0;if(E){const P=(C-d)/1e3;d=C,l.advance(P),o.advance(P)}if(R){s.clear();try{o.draw(s)}catch(P){console.warn("Failed to draw avatar",P)}c--}}return{canvas:r,draw:_,pause:w,resume:A,setInput:g,setAvatarImages:x,triggerAnimation:b,toggleAnimation:y,setEmoteType:v,setAvatarAnimation:S}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const COe={[Fn.Rain]:{belowFill:"rgba(30, 58, 138, 0.17)",aboveFill:"rgba(30, 58, 138, 0.13)"},[Fn.Frost]:{belowFill:"rgba(135, 206, 235, 0.23)",aboveFill:"rgba(135, 206, 235, 0.18)"},[Fn.Dawn]:{belowFill:"rgba(59, 24, 102, 0.20)",aboveFill:"rgba(59, 24, 102, 0.15)"},[Fn.AmberMoon]:{belowFill:"rgba(74, 24, 24, 0.26)",aboveFill:"rgba(74, 24, 24, 0.20)"}};function OKt(e,t){e.fillStyle=COe[t].belowFill,e.fillRect(0,0,e.canvas.width,e.canvas.height)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function MKt(e){var c;const t=kc(yn.Animations),{tileSize:r}=t,n=Ua.get(yn.Animations);n||console.error("Animations spritesheet not loaded");const i=[];for(let u=0;u<e.frames;u++){const d=new un(u*r,e.row*r,r,r),h=new cr({source:n.source,frame:d});i.push(h)}const a=[...i],s=(c=e.restFrames)!=null?c:0;if(s>0){const u=i[i.length-1];for(let d=0;d<s;d++)a.push(u)}const o=1e3/e.fps;return a.map(u=>({texture:u,time:o}))}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};class HV{constructor(){ht(this,"container");ht(this,"scrimGraphics");ht(this,"weatherSprites",[]);ht(this,"animatedSpriteFrames",[]);ht(this,"frameDurationMs",0);ht(this,"lastWeatherId",null);ht(this,"lastTileSize",0);ht(this,"lastElementWidth",0);ht(this,"lastElementHeight",0);ht(this,"animationStartTime",0);ht(this,"lastTilesToDrawX",0);ht(this,"lastTilesToDrawY",0);this.container=new Ud({isRenderGroup:!0}),this.scrimGraphics=new nx,this.container.addChild(this.scrimGraphics)}static create(){return new HV}getFrameOffset(t,r,n){const i=Math.abs(Math.sin(t*12.9898+r*78.233)*43758.5453);return Math.floor(i%1*n)}getContainer(){return this.container}growSpritePool(t){if(!(t<=this.weatherSprites.length))for(let r=this.weatherSprites.length;r<t;r++){const n=new ix(this.animatedSpriteFrames);n.visible=!1,this.container.addChild(n),this.weatherSprites.push(n)}}drawScrim(t,r,n){const i=COe[t];if(!i){this.scrimGraphics.clear();return}this.scrimGraphics.clear(),this.scrimGraphics.rect(0,0,r,n),this.scrimGraphics.fill({color:i.aboveFill})}positionSprites(t){const{tileSize:r,elementWidth:n,elementHeight:i}=t,a=n/2,s=i/2,o=Math.ceil(a/r),l=Math.ceil(s/r);this.lastTilesToDrawX=o,this.lastTilesToDrawY=l;const c=(2*o+1)*(2*l+1);c>this.weatherSprites.length&&this.growSpritePool(c);const u=a-r/2,d=s-r/2;let h=0;for(let p=-l;p<=l;p++)for(let m=-o;m<=o;m++){const g=this.weatherSprites[h++];g.visible=!0;const b=u+m*r,y=d+p*r;g.x=b,g.y=y,g.setSize(r,r)}for(let p=h;p<this.weatherSprites.length;p++)this.weatherSprites[p].visible=!1}setSpriteFrames(t){const r=this.animatedSpriteFrames.length;if(r===0||this.frameDurationMs===0)return;const n=t-this.animationStartTime,i=Math.floor(n/this.frameDurationMs),a=2*this.lastTilesToDrawX+1;for(let s=0;s<this.weatherSprites.length;s++){const o=this.weatherSprites[s];if(o.visible&&o.totalFrames===r){const l=Math.floor(s/a)-this.lastTilesToDrawY,c=s%a-this.lastTilesToDrawX,u=this.getFrameOffset(c,l,r);o.currentFrame=(i+u)%r}}}onWeatherChange(t){if(!t){this.scrimGraphics.clear();for(const r of this.weatherSprites)r.visible=!1;return}this.animatedSpriteFrames=MKt(UN[t].animationInfo);for(const r of this.weatherSprites)r.textures=this.animatedSpriteFrames;this.frameDurationMs=this.animatedSpriteFrames[0].time,this.animationStartTime=0}draw(t,r){const{elementWidth:n,elementHeight:i}=t,a=r.weatherId!==this.lastWeatherId;if(a&&(this.lastWeatherId=r.weatherId,this.onWeatherChange(r.weatherId)),r.weatherId===null)return;const s=this.lastElementWidth!==n||this.lastElementHeight!==i,o=this.lastTileSize!==t.tileSize;(s||o||a)&&(this.lastTileSize=t.tileSize,this.positionSprites(t)),(s||a)&&(this.lastElementWidth=n,this.lastElementHeight=i,r.weatherId&&this.drawScrim(r.weatherId,n,i)),this.setSpriteFrames(r.time)}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const kKt=Ur(Ba.Sky0),DKt=[[Ur(Ba.Sky1),Ur(Ba.Sky2),Ur(Ba.Sky3)],[Ur(Ba.Sky4),Ur(Ba.Sky5),Ur(Ba.Sky6)],[Ur(Ba.Sky7),Ur(Ba.Sky8),Ur(Ba.Sky9)]],LKt=[Ur(Ba.Bush1),Ur(Ba.Bush2)];globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function EOe(e,t){const{tileSize:r,tilesPerRow:n}=kc(e);return{sx:t%n*r,sy:Math.floor(t/n)*r}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Wp(e,t,r,n,i,a,s,o=null,l=0,c=!1){var he;const u=e.getContext("2d");if(e.width===0||e.height===0){console.warn("Canvas is not ready");return}if(!u)return;if(!t){console.error("tileInfo is null");return}const{tileId:d,spritesheet:h,rotation:p,scale:m,customScaleX:g,customScaleY:b,flipH:y,flipV:v,flipD:S,nudgeX:x,nudgeY:w,transformOrigin:A,isObscuring:_,opacity:C}=t,{tileSize:E}=r,{bitmap:R,tileSize:P}=kc(h);if(!R)return;if(u.save(),C!==void 0&&(u.globalAlpha=C),_){const fe=s.y-a.y,U=s.x-a.x;fe===0&&U===0&&(u.globalAlpha=C!==void 0?C*.7:.7)}u.translate(Math.floor((r.offsetX+n*E+E/2+x*E)*r.pixelRatio),Math.floor((r.offsetY+i*E+E/2+w*E)*r.pixelRatio));let O=0,k=0;switch(A){case"bottom":k=E/2*r.pixelRatio;break;case"top":k=-E/2*r.pixelRatio;break;case"left":O=-E/2*r.pixelRatio;break;case"right":O=E/2*r.pixelRatio;break}let I=g!=null?g:m,M=b!=null?b:m,D=p*Math.PI/180;if(((he=t.parentTileInfo)==null?void 0:he.tileId)===jr.StarweaverPlatform.index&&!c){const U=l%2500,W=0,H=2500,ie=2700,J=1500;let we=0;if(U>=W&&U<W+H){const Ce=(U-W)/H;we=Math.sin(Ce*Math.PI)}else if(U>=ie&&U<ie+J){const Ce=(U-ie)/J;we=Math.sin(Ce*Math.PI)*.6}const oe=1+.1*Math.pow(we,.5);I*=oe,M*=oe,D+=.07*(l/1e3);const se=100;u.shadowColor="rgba(180, 120, 255, 0.7)",u.shadowBlur=se*we}S?(y&&(D=Math.PI/2),v&&(D=-Math.PI/2)):(y&&(I*=-1),v&&(M*=-1)),u.translate(O,k),u.rotate(D),u.scale(I,M),u.translate(-O,-k);const F=r.tileSize*r.pixelRatio,{sx:$,sy:Y}=EOe(h,d);o?u.drawImage(o,0,0,P,P,-F/2,-F/2,F,F):u.drawImage(R,$,Y,P,P,-F/2,-F/2,F,F),u.restore(),u.filter="none",u.shadowColor="rgba(0, 0, 0, 0)",u.shadowBlur=0}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function FKt(e,t,r,n,i,a){const s=Math.floor(t.rows/2),o=Math.floor(t.cols/2),l=r.position.y-s,c=r.position.x-o;if(n||i!==0||a!==0)for(let u=0;u<t.rows;u++)for(let d=0;d<t.cols;d++){if(!(n||i>0&&d<i+1||i<0&&d>=t.cols+i-1||a>0&&u<a+1||a<0&&u>=t.rows+a-1))continue;const p=d+c,m=u+l,g={x:p,y:m},b=p+m*r.map.cols,y=r.map.imageTiles[b];if(m<-3)Wp(e,kKt,t,d,u,r.position,g);else if(m<0){const v=DKt[m+3][(p%3+3)%3];Wp(e,v,t,d,u,r.position,g)}else if(p<0||p>=r.map.cols||m>=r.map.rows){const v=LKt[((p+m)%2+2)%2];Wp(e,v,t,d,u,r.position,g)}else if(y)for(const v of y)Wp(e,v,t,d,u,r.position,g)}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function $Kt(e,t,r){const n=Math.floor(t.rows/2),i=Math.floor(t.cols/2),a=r.position.y-n,s=r.position.x-i,o=r.users.find(v=>v.playerId===r.activePlayerId);if(!o)return;const l=r.activePlayerSelectedItem;if(!l||![ne.Seed,ne.Plant].includes(l.itemType)||!("species"in l))return;const c=tt[l.species].plant;if(!("abilities"in c)||!o.position)return;const u=Math.floor(o.position.x),d=Math.floor(o.position.y),h=u+d*r.map.cols,p=r.map.globalTileIdxToDirtTile[h],m=r.map.globalTileIdxToBoardwalk[h];if(!p&&!m)return;const g=p?"Dirt":"Boardwalk",b=p?p.userSlotIdx:m.userSlotIdx,y=p?p.dirtTileIdx:m.boardwalkTileIdx;for(const v of c.abilities){const S=bg[v],x=S.baseParameters.tileRadius,w=S.baseParameters.activationTileRef,A=Kbe({map:r.map,tileType:g,tileIndex:y,userSlotIdx:b,includeSelf:!1,tileRadius:x});for(const _ of A){const C=r.map[_.tileType==="Dirt"?"userSlotIdxAndDirtTileIdxToGlobalTileIdx":"userSlotIdxAndBoardwalkTileIdxToGlobalTileIdx"][b][_.tileIndex];if(C===void 0)continue;const E=C%r.map.cols,R=Math.floor(C/r.map.cols),P=E-s,O=R-a;if(P<0||P>=t.cols||O<0||O>=t.rows)continue;const k=Ur(w,{scale:.9,opacity:.6}),I={x:E,y:R};Wp(e,k,t,P,O,r.position,I,null,r.time,r.pauseAvatarAnimation)}}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function BKt({ctx:e,grid:t,inventoryItem:r,x:n,y:i,scale:a,transformOrigin:s}){const o=t.tileSize*t.pixelRatio;Pye(r).forEach(c=>{const{spritesheet:u,tileId:d,mutations:h,isDisabled:p,parentTileInfo:m,nudgeY:g,nudgeX:b,rotation:y,transformOrigin:v,scale:S,flipH:x,flipV:w,flipD:A}=c,_=h.length>0||p?ux({spritesheet:u,tileId:d,mutations:h,isDisabled:p}):null,E=m!==void 0?g-m.nudgeY:0,R=o,P=o,O=n-R/2+b*o,k=i-P/2+E*o;e.save(),e.translate(Math.floor(O),Math.floor(k));let I=0,M=0;switch(s!=null?s:v){case"bottom":M=o/2;break;case"top":M=-o/2;break;case"left":I=-o/2;break;case"right":I=o/2;break}e.translate(R/2,P/2),e.translate(I,M);let D=y*Math.PI/180;if(A&&(x&&(D+=Math.PI/2),w&&(D+=-Math.PI/2)),e.rotate(D),!A&&(x||w)&&e.scale(x?-1:1,w?-1:1),e.scale(a*S,a*S),e.translate(-I,-M),e.translate(-R/2,-P/2),_)e.drawImage(_,0,0,R,P);else{const{bitmap:F,tileSize:$}=kc(u);if(F){const{sx:Y,sy:he}=EOe(u,d);e.drawImage(F,Y,he,$,$,0,0,R,P)}}e.restore()})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:NKt}=ft();function qKt(e,t,r,n,i,a){const l=!!NKt(im)[n.playerId]?null:n.playerId===r.activePlayerId?r.activePlayerSelectedItem:n.notAuthoritative_selectedItemIndex!==null?n.data.inventory.items[n.notAuthoritative_selectedItemIndex]:null;if(!l)return;let c=i,u=a,d,h=1500,p=-.025,m=1.025;if([ne.Produce,ne.Pet].includes(l.itemType))d="bottom",u-=t.tileSize*t.pixelRatio*1.45;else if(l.itemType===ne.Plant){u-=t.tileSize*t.pixelRatio*1.42;const y=tt[l.species].plant,v=y.harvestType===Vt.Multiple,S=y.tileRef.spritesheet===yn.TallPlants;v&&S&&(h=2e3,p=-.005,m=1.005),["Cactus","Bamboo"].includes(l.species)&&(u+=t.tileSize*t.pixelRatio*.18)}else l.itemType===ne.Tool?l.toolId==="Shovel"?(c+=t.tileSize*t.pixelRatio*.3,u-=t.tileSize*t.pixelRatio*.25):l.toolId==="PlanterPot"?(c+=t.tileSize*t.pixelRatio*.3,u-=t.tileSize*t.pixelRatio*.2):["WateringCan","WetPotion","ChilledPotion","FrozenPotion","DawnlitPotion","AmberlitPotion","GoldPotion","RainbowPotion"].includes(l.toolId)&&(c+=t.tileSize*t.pixelRatio*.35,u-=t.tileSize*t.pixelRatio*.35):[ne.Seed,ne.Egg].includes(l.itemType)?u-=t.tileSize*t.pixelRatio*.4:l.itemType===ne.Decor&&(d="bottom",u-=t.tileSize*t.pixelRatio*1.45);const g=r.time%h/h*2*Math.PI,b=p*Math.cos(g)+m;BKt({ctx:e,grid:t,inventoryItem:l,x:c,y:u,scale:b,transformOrigin:d})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function zKt(e,t,r,n,i){const a=Math.floor(r.rows/2),s=Math.floor(r.cols/2),o=n.position.y-a,l=n.position.x-s,c=[],u=n.users.map(g=>g.playerId===n.activePlayerId?{...g,position:n.position}:g);for(const g of u)c.push({type:"player",user:g});for(const g of n.petInfos)c.push({type:"pet",petInfo:g});for(let g=0;g<r.rows;g++)for(let b=0;b<r.cols;b++){const y=b+l,v=g+o;if(y<0||y>=n.map.cols||v<0||v>=n.map.rows)continue;const S=y+v*n.map.cols,x=n.tileInfos.get(S);if(x)for(const w of x)c.push({type:"object",tileInfo:w,screenX:b,screenY:g})}c.sort((g,b)=>{const y=w=>{var A,_;switch(w.type){case"player":return(_=(A=w.user.position)==null?void 0:A.y)!=null?_:0;case"pet":return w.petInfo.position.y;case"object":return w.screenY+o}},v=w=>{switch(w.type){case"player":return 1;case"pet":return 3;case"object":return w.tileInfo.isBackgroundObject?0:2}},S=y(g),x=y(b);return S!==x?S-x:v(g)-v(b)});const d=2,h=r.tileSize*r.pixelRatio*d,p=r.tileSize*r.pixelRatio*d,m=[];for(const g of c)switch(g.type){case"object":{const{tileInfo:b,screenX:y,screenY:v}=g,S=y+l,x=v+o,w={x:S,y:x},A=b.mutations.length>0||b.isDisabled?ux({spritesheet:b.spritesheet,tileId:b.tileId,mutations:b.mutations,isDisabled:b.isDisabled}):null;Wp(e,b,r,y,v,n.position,w,A,n.time,n.pauseAvatarAnimation),J1t(t,r,n,w);break}case"player":{if(!i.current)continue;const{user:b}=g,y=i.current.find(O=>O.playerId===b.playerId);if(!y)continue;const{renderer:v}=y;if(!v)continue;if(v.canvas.width===0||v.canvas.height===0){console.warn("Renderer canvas is not ready");continue}if(!b.position)continue;const S=b.playerId===zV?.45:.75,x=b.position.x-n.position.x+s,w=b.position.y-n.position.y+a,A=(r.offsetX+(x+.5)*r.tileSize)*r.pixelRatio,_=(r.offsetY+(w+.5)*r.tileSize)*r.pixelRatio,C=Gee(b.position,n),E=_+C*r.tileSize*r.pixelRatio,R=A-h/2,P=E-p/2*(1+S);v.draw(n.time),t.drawImage(v.canvas,R,P,h,p),qKt(t,r,n,b,A,E),m.push({playerId:b.playerId,avatarCenterX:A,avatarY:P});break}case"pet":{const{slot:b,position:y}=g.petInfo,v=y.x-n.position.x+s,S=y.y-n.position.y+a,x=wt[b.petSpecies],A=Jh({speciesId:b.petSpecies,xp:b.xp,targetScale:b.targetScale})*x.baseTileScale,_=n.time/1e3,C=b.hunger<=0,R=Math.sin(_*(C?1:2)),P=.03,O=1+P*R,k=1-P*R,I={scale:A,customScaleX:A*O,customScaleY:A*k,mutations:b.mutations,isDisabled:C};"tileTransformOrigin"in x&&(I.transformOrigin=x.tileTransformOrigin),"nudgeY"in x&&(I.nudgeY=x.nudgeY);const M=Gee(y,n);M!==0&&(I.nudgeY=(I.nudgeY||0)+M+-.2);const D=Ur(x.tileRef,I),F=D.mutations.length>0||D.isDisabled?ux({spritesheet:D.spritesheet,tileId:D.tileId,mutations:D.mutations,isDisabled:D.isDisabled}):null;Wp(e,D,r,v,S,n.position,y,F,n.time,n.pauseAvatarAnimation);break}}return m}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function WKt(e,t,r,n){const i=Zh(e,r.x,r.y),a=e.globalTileIdxToDirtTile[i];if(!a||a.userSlotIdx!==t)return!1;const s=a.dirtTileIdx;return n[s]!==void 0}function HKt(e,t,r,n){const i=t<=2,a=i?"left":"right",s=i?"up":"down";let o={x:r.x+Jp[a].x,y:r.y+Jp[s].y};for(let l=0;l<10&&!(o.x<0||o.x>=e.cols||o.y<0||o.y>=e.rows);l++){if(!WKt(e,t,o,n))return o;o={x:o.x+Jp[a].x,y:o.y}}return null}function UKt(e,t,r,n){var u;const i=Object.keys(n).map(Number);if(i.length===0)return null;const a=t<=2,s=a?"left":"right",o=a?"up":"down";let l=null,c=1/0;for(const d of i){const h=(u=e.userSlotIdxAndDirtTileIdxToGlobalTileIdx[t])==null?void 0:u[d];if(h===void 0)continue;const p={x:h%e.cols,y:Math.floor(h/e.cols)},m=p.x-r.x,g=p.y-r.y,b=s==="left"&&m<0||s==="right"&&m>0,y=o==="up"&&g<0||o==="down"&&g>0,v=Math.abs(m)+Math.abs(g)-(b?.5:0)-(y?.5:0);v<c&&(c=v,l=p)}return l}function GKt(e,t,r,n,i,a){switch(e.save(),e.translate(t,r),e.scale(a,a),i){case"up":break;case"down":e.rotate(Math.PI);break;case"left":e.rotate(-Math.PI/2);break;case"right":e.rotate(Math.PI/2);break}const s=n/2;e.translate(0,s),e.translate(0,-s),e.fillStyle="rgba(255, 255, 0, 0.9)",e.strokeStyle="rgba(255, 255, 0, 1)",e.lineWidth=n*.05,e.lineCap="round",e.lineJoin="round",e.beginPath(),e.moveTo(0,s),e.lineTo(-n/3,-n/6),e.lineTo(n/3,-n/6),e.closePath(),e.fill(),e.stroke(),e.restore()}function VKt(e,t,r,n="up"){if(!e||!t||!r)return;const{get:i}=ft(),a=i(po),s=i(Yc),o=i(Iv),l=i(FV),c=i(iOe),u=i(fu);if(!l&&!c||!o||s===null||!a||!u)return;const d=YN(a,s);if(!d)return;let h=null;if(l?h=HKt(a,s,d,u.data.garden.tileObjects):c&&(h=UKt(a,s,d,u.data.garden.tileObjects)),!h)return;const p=Math.floor(t.rows/2),m=Math.floor(t.cols/2),g=r.position.y-p,b=r.position.x-m,y=h.x-b,v=h.y-g;if(y<-1||y>t.cols+1||v<-1||v>t.rows+1||!t.tileSize||!t.pixelRatio||t.tileSize<=0||t.pixelRatio<=0)return;const S=(t.offsetX+(y+.5)*t.tileSize)*t.pixelRatio,x=(t.offsetY+(v+.5)*t.tileSize)*t.pixelRatio,A=r.time*.004%(Math.PI*2),_=(Math.sin(A)+1)*.5,C=1+_*.3,E=.6+_*.4;try{e.save(),e.globalAlpha=E}catch($){console.warn("Tutorial highlight canvas operation failed:",$);return}const R=t.tileSize*t.pixelRatio,P=R*.02,O=R*.1,k=R*(.01+_*.01),I=R*(.02+_*.04),M=.8+_*.2,D=.4+_*.2;try{e.strokeStyle=`rgba(255, 255, 0, ${D})`,e.lineWidth=I*2,e.beginPath(),e.roundRect(S-R/2+P-I,x-R/2+P-I,R-P*2+I*2,R-P*2+I*2,O+I),e.stroke(),e.strokeStyle=`rgba(255, 255, 0, ${M})`,e.lineWidth=k*2,e.beginPath(),e.roundRect(S-R/2+P-k,x-R/2+P-k,R-P*2+k*2,R-P*2+k*2,O+k),e.stroke()}catch($){console.warn("Tutorial highlight border drawing failed:",$)}const F=R*.4;try{const $=x-R*.85;GKt(e,S,$,F,n,C)}catch($){console.warn("Tutorial highlight arrow drawing failed:",$)}try{e.restore()}catch($){console.warn("Tutorial highlight context restore failed:",$)}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const UA=()=>{const e=ev(s=>s.chat.playerCosmeticInfos),t=j.useCallback(s=>{var l;const o={userStyle:{name:"[Unknown]",color:"White",avatarTop:"Top_Blank.png",avatarMid:"Mid_Blank.png",avatarBottom:"Bottom_Blank.png",avatarExpression:"Expression_Default.png"},discordAvatarUrl:null,lastUpdatedAt:Date.now()};return(l=e[s])!=null?l:o},[e]),r=j.useCallback(s=>{const o=t(s);return QJe(o.userStyle)},[e]),n=j.useCallback(s=>{const o=r(s).color;return o==="White"||o==="Black"?"White":ELe(o)},[e]),i=j.useCallback(s=>t(s).userStyle.name,[e]),a=j.useCallback(s=>t(s).discordAvatarUrl,[e]);return{getPlayerCosmetic:r,getPlayerName:i,getPastelPlayerColor:n,getPlayerDiscordAvatarUrl:a}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function YKt(e,t,r){const n=t.split(" "),i=[];let a=n[0]||"";for(let s=1;s<n.length;s++){const o=n[s];e.measureText(`${a} ${o}`).width<r?a+=` ${o}`:(i.push(a),a=o)}return i.push(a),i}const Cae=8,KKt=6,POe=14,XKt=500,Eae=POe*1.2,QKt=250,JKt=40,ZKt=12,Pae=10,eXt=12,tXt=20;function rXt(e,t,r,n,i,a){const{pixelRatio:s,tileSize:o}=t,l=o/75;e.save(),e.font=`${XKt} ${POe*s}px "Greycliff CF", sans-serif`;const c=YKt(e,r,(QKt-Cae*2)*s),u=c.length*Eae*s,d=Math.max(...c.map(A=>e.measureText(A).width)),h=Math.max(d+Cae*2*s,JKt*s),p=u+KKt*2*s,m=n-h/2,g=i-p-Pae*s+tXt*s*l;e.shadowColor="rgba(0,0,0,0.12)",e.shadowBlur=0,e.shadowOffsetY=3*s,e.shadowOffsetX=0,e.beginPath(),e.fillStyle=a;const b=ZKt*s,y=eXt*s,v=Pae*s;e.moveTo(m+b,g),e.lineTo(m+h-b,g),e.arcTo(m+h,g,m+h,g+b,b),e.lineTo(m+h,g+p-b),e.arcTo(m+h,g+p,m+h-b,g+p,b),e.lineTo(m+h/2+y/2,g+p),e.lineTo(m+h/2,g+p+v),e.lineTo(m+h/2-y/2,g+p),e.lineTo(m+b,g+p),e.arcTo(m,g+p,m,g+p-b,b),e.lineTo(m,g+b),e.arcTo(m,g,m+b,g,b),e.closePath(),e.fill(),e.shadowColor="transparent",e.fillStyle="#171717",e.textAlign="center",e.textBaseline="middle";const S=m+h/2,w=g+p/2;c.forEach((A,_)=>{const C=(_-(c.length-1)/2)*Eae*s;e.fillText(A,S,w+C)}),e.restore()}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const nXt=1e4;function iXt(){const e=Gw(),{getPastelPlayerColor:t}=UA(),r=j.useRef(new Map);return j.useEffect(()=>{const i=new Map;for(const a of e)(!i.has(a.playerId)||a.timestamp>i.get(a.playerId).timestamp)&&i.set(a.playerId,a);for(const[a,s]of i.entries()){const o=r.current.get(a);(!o||s.timestamp>o.timestamp)&&r.current.set(a,{message:s.message,timestamp:s.timestamp,receivedAt:performance.now()})}},[e]),{drawPlayerChatBubble:(i,a,s,o,l,c)=>{const u=r.current.get(c);if(u&&s.time-u.receivedAt<nXt){const d=t(c);rXt(i,a,u.message,o,l,d)}}}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const aXt=(e,t,r,n,i,a,s)=>{const{pixelRatio:o,tileSize:l}=t,c=l/75,u=Math.max(1,c),d=12,h=-120,p=4,m=2,g=6,b=d*u*o,y=h*c*o,v=p*u*o,S=m*u*o,x=g*u*o;e.save(),e.font=`500 ${b}px "SF Pro", "system-ui", sans-serif`,e.textAlign="center",e.textBaseline="middle";const A=l*o*2,_=i+A+y+b/2,R=e.measureText(r).width+v*2,P=b+S*2;e.beginPath();const O=n-R/2,k=_-P/2,I=x;e.moveTo(O+I,k),e.lineTo(O+R-I,k),e.quadraticCurveTo(O+R,k,O+R,k+I),e.lineTo(O+R,k+P-I),e.quadraticCurveTo(O+R,k+P,O+R-I,k+P),e.lineTo(O+I,k+P),e.quadraticCurveTo(O,k+P,O,k+P-I),e.lineTo(O,k+I),e.quadraticCurveTo(O,k,O+I,k),e.closePath(),e.fillStyle=s,e.globalAlpha=.85,e.fill(),e.globalAlpha=1,e.fillStyle=a,e.fillText(r,n,_),e.restore()};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function sXt(){const e=kce(),t=Pe(g2),r=[...e,...t];return{drawPlayerNameBubble:(i,a,s,o,l)=>{const c=r.find(h=>h.id===l);if(!c)return;const u=c.cosmetic.color,d=$l(u);aXt(i,a,c.name,s,o,d.textColor,d.backgroundColor)}}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const gn={cols:0,rows:0,elementWidth:0,elementHeight:0,bufferWidth:0,bufferHeight:0,offsetX:0,offsetY:0,tileSize:0,pixelRatio:0},oXt=2;function lXt(e,t){if(e.width===gn.elementWidth&&e.height===gn.elementHeight&&t===gn.tileSize)return gn;gn.pixelRatio=Dv.isRunning()?window.devicePixelRatio||1:Math.min(window.devicePixelRatio||1,oXt),gn.elementWidth=e.width,gn.elementHeight=e.height,gn.bufferWidth=Math.floor(e.width*gn.pixelRatio),gn.bufferHeight=Math.floor(e.height*gn.pixelRatio),gn.tileSize=t;let r=Math.ceil(gn.elementWidth/t);r%2===0&&r++,gn.cols=r;let n=Math.ceil(gn.elementHeight/t);n%2===0&&n++,gn.rows=n;const i=r*t,a=n*t;return gn.offsetX=(gn.elementWidth-i)/2,gn.offsetY=(gn.elementHeight-a)/2,gn}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const jOe=j.forwardRef((e,t)=>{const r=j.useRef(null),n=j.useRef(null),i=j.useRef(null),a=j.useRef(null),s=j.useRef(null),o=j.useRef(0),l=j.useRef(null),c=j.useRef(null),u=j.useRef(null),d=j.useRef({width:0,height:0}),h=iXt(),p=sXt(),m=j.useRef(!1),g=j.useRef(!1),b=j.useRef(new Map),{get:y,set:v}=ft(),S=Pe(Dce),x=Pe(xOe),w=j.useRef(Array.from({length:qft+x},()=>({inUse:!1,isInitializing:!0,renderer:null,avatar:null,externalAvatarUrl:null,playerId:null})));async function A(){var C;if(!g.current){if(g.current=!0,a.current){const E=new lbe;await E.init({canvas:a.current,backgroundAlpha:0,resolution:1,autoDensity:!0,autoStart:!1}),c.current=E,u.current=HV.create(),E.stage.addChild(u.current.getContainer())}if(!(S.state!=="hasData"||!r.current))for(const E of w.current)E.renderer=await IKt(S.data),E.isInitializing=!1,E.playerId&&E.avatar&&await E.renderer.setAvatarImages(E.avatar,(C=E.externalAvatarUrl)!=null?C:void 0)}}j.useEffect(()=>{A().then(()=>{console.log("[QuinoaCanvas] initialized Rive and renderers"),m.current=!0}).catch(console.error)},[]),j.useEffect(()=>{const C=r.current;if(!C)return;const E=(O,k)=>{d.current={width:O,height:k}},R=C.getBoundingClientRect();E(R.width,R.height);const P=new ResizeObserver(O=>{for(const k of O){const{width:I,height:M}=k.contentRect;E(I,M)}});return P.observe(C),()=>{P.disconnect()}},[]),j.useImperativeHandle(t,()=>({getCanvas:()=>r.current,setAvatar:async(C,E,R)=>{var k;const P=w.current.find(I=>I.playerId===C);if(P){const I=Jc.isEqual(P.avatar,E),M=P.externalAvatarUrl===R;P.avatar=E,P.externalAvatarUrl=R,(!I||!M)&&await((k=P.renderer)==null?void 0:k.setAvatarImages(E,R));return}const O=w.current.find(I=>!I.inUse);O&&(O.avatar=E,O.externalAvatarUrl=R,O.inUse=!0,O.playerId=C,O.renderer&&await O.renderer.setAvatarImages(E,R))},triggerAvatarAnimation:(C,E,R)=>{const P=w.current.find(k=>k.playerId===C);if(P&&P.renderer&&(R!==void 0?P.renderer.toggleAnimation(KS.Talking,R):P.renderer.triggerAnimation(E)),[or.Water,or.WaterGold,or.PotPlant,or.Dig].includes(E)){const k=y(im);v(im,{...k,[C]:!0});const I=b.current.get(C);I!==void 0&&clearTimeout(I);const M=setTimeout(()=>{const D=y(im);v(im,{...D,[C]:!1}),b.current.delete(C)},500);b.current.set(C,M)}},setAvatarEmote:(C,E)=>{const R=w.current.find(P=>P.playerId===C);R&&R.renderer&&R.renderer.setEmoteType(E)},setAvatarAnimation:(C,E)=>{const R=w.current.find(P=>P.playerId===C);R&&R.renderer&&R.renderer.setAvatarAnimation(E)},draw:C=>{const E=r.current,R=E==null?void 0:E.getContext("2d"),P=u.current,O=c.current,k=n.current,I=i.current,M=a.current;if(S.state!=="hasData"||!E||!R||!C||!P||!O||!k||!I||!M)return;const D=Dv.isRunning()?C.tileSize:Math.round(C.tileSize),F=lXt(d.current,D);if(F.bufferWidth===0||F.bufferHeight===0)return;const $=E.width!==F.bufferWidth||E.height!==F.bufferHeight||d.current.width!==F.elementWidth||d.current.height!==F.elementHeight||O.renderer.width!==F.elementWidth||O.renderer.height!==F.elementHeight,Y=s.current===null||o.current!==D||Math.floor(s.current.x)!==Math.floor(C.position.x)||Math.floor(s.current.y)!==Math.floor(C.position.y)||$;if($&&(E.width=F.bufferWidth,E.height=F.bufferHeight,k.width=F.bufferWidth,k.height=F.bufferHeight,I.width=F.bufferWidth,I.height=F.bufferHeight,O.renderer.resize(F.elementWidth,F.elementHeight)),o.current=D,C.weatherId!==l.current||$){const W=I.getContext("2d");W&&(W.clearRect(0,0,F.bufferWidth,F.bufferHeight),C.weatherId&&OKt(W,C.weatherId)),l.current=C.weatherId}let he=0,fe=0;s.current&&(he=s.current.x-C.position.x,fe=s.current.y-C.position.y),R.clearRect(0,0,F.bufferWidth,F.bufferHeight),FKt(k,F,C,Y,he,fe),P.draw(F,C),O.render();for(const W of w.current)W.renderer&&(C.pauseAvatarAnimation?W.renderer.pause():W.renderer.resume());$Kt(E,F,C),VKt(R,F,C,"up");const U=zKt(E,R,F,C,w);for(const W of U)W.playerId!==C.myPlayerId&&p.drawPlayerNameBubble(R,F,W.avatarCenterX,W.avatarY,W.playerId);for(const W of U)h.drawPlayerChatBubble(R,F,C,W.avatarCenterX,W.avatarY,W.playerId);S.data.resolveAnimationFrame(),s.current=C.position}}));const _={position:"absolute",top:"calc(-1 * var(--sait))",left:"calc(-1 * var(--sail))",width:"calc(100% + var(--sail) + var(--sair))",height:"calc(100% + var(--sait) + var(--saib))",touchAction:"none"};return f.jsxs(f.Fragment,{children:[f.jsx("canvas",{className:"GroundCanvas",ref:n,style:_}),f.jsx("canvas",{className:"WeatherScrimCanvas",ref:i,style:_}),f.jsx("canvas",{className:"QuinoaCanvas",ref:r,style:_}),f.jsx("canvas",{className:"WeatherCanvas",ref:a,style:_})]})});jOe.displayName="QuinoaCanvas";const cXt=j.memo(jOe);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const uXt=300,dXt=100;function jae(e,t){return Date.now()-e>=t}const ZT=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/components/QuinoaCanvas/QuinoaCanvasWrapper.tsx/myLastRenderedSlotIndexAtom",Me(null));ZT.debugLabel="myLastRenderedSlotIndexAtom";const{get:Mt,set:Mu,sub:pXt}=ft();function Rae(){const e=Mt(Lce);return e<=0?0:1e3/e}const hXt=()=>{const e=j.useRef(null),t=j.useRef(Mt(Z3)),r=j.useRef(Mt(Mp)),n=j.useRef(WV.create()),i=j.useRef(Rae()),a=j.useRef(0),s=j.useRef(Mt(c0)),o=j.useRef(Mt(v0)),l=j.useRef([]),c=j.useRef({timeLastMoved:0,isInitialMovement:!0}),u=jKt(),d=k0(v0),h=j.useCallback(g=>{var b;(b=e.current)==null||b.triggerAvatarAnimation(Mt(gr),or.Walk),Fee(),d(g),zt({type:"PlayerPosition",position:g})},[]),p=j.useCallback(g=>{if(!g)return;const b=Mt(v0);if(!b)return;const y=Mt(po),{x:v,y:S}=Jp[g],x=b.x+v,w=b.y+S;if(x<0||x>=y.cols||w<0||w>=y.rows)return;const A=Zh(y,x,w);if(y.collisionTiles.has(A))return;h({x,y:w})},[]),m=j.useCallback(()=>{const{timeLastMoved:g,isInitialMovement:b}=c.current,y=Mt(Gy);y&&(b?jae(g,uXt)&&(c.current.timeLastMoved=Date.now(),c.current.isInitialMovement=!1,p(y)):jae(g,dXt)&&(c.current.timeLastMoved=Date.now(),p(y)))},[]);return j.useEffect(()=>{const g=new Map([[Lce,()=>{i.current=Rae()}],[ZT,()=>{const y=Mt(ZT),v=Mt(Yc);if(y===v||v===null)return;const S=YN(Mt(po),v);if(!S)return;Mu(v0,S),Mu(sx,S),zt({type:"PlayerPosition",position:S});let x=!1;Dv.start(w=>{var A;w>=.6&&!x&&(x=!0,(A=e.current)==null||A.triggerAvatarAnimation(Mt(gr),or.JoinGameNoPop))}),Mu(ZT,v)}],[xae,()=>{(async()=>{var S,x;const v=Mt(xae);for(const w in v)await((x=e.current)==null?void 0:x.setAvatar(w,v[w].avatar,(S=v[w].discordAvatarUrl)!=null?S:void 0))})().catch(console.error)}],[Gy,()=>{if(Mt(Yc)===null)return;const y=Mt(Gy);y?(c.current.timeLastMoved=Date.now(),p(y)):c.current.isInitialMovement=!0}],[ti,()=>{var v;const y=Mt(ti);y&&((v=e.current)==null||v.triggerAvatarAnimation(y.playerId,y.animation))}],[wae,()=>{var v;const y=Mt(wae);for(const S in y)(v=e.current)==null||v.setAvatarEmote(S,y[S].emoteType)}],[c0,()=>{const y=s.current,v=Mt(c0);switch(v){case"journal":ugt();break;case"eggShop":case"toolShop":case"seedShop":case"decorShop":tye();break}switch(y){case"journal":v===null&&dgt();break}s.current=v}],[Z3,()=>{var w,A;const y=t.current,v=(w=e.current)==null?void 0:w.triggerAvatarAnimation,S=(A=e.current)==null?void 0:A.setAvatarAnimation;if(!v||!S)return;const x=Object.entries(Mt(Z3)).filter(([_,C])=>{const E=y[_];return!E||(E==null?void 0:E.performedAt)!==(C==null?void 0:C.performedAt)});t.current=Mt(Z3);for(const[_,C]of x){const E=Mt(AKt)[_],R=Mt(v0);if(!C||!E||!R)continue;const P=xq(R,E,15);switch(C.action){case"plantSeed":case"plantGardenPlant":v(_,or.Water),n4(P);break;case"waterPlant":v(_,or.WaterGold),Jbe(P);break;case"harvest":v(_,or.Harvest),Qbe(P);break;case"potPlant":v(_,or.PotPlant),ox(P);break;case"removeGardenObject":v(_,or.Dig),ox(P);break;case"teleport":v(_,or.JoinGame);break;case"move":v(_,or.Walk),Fee(P);break;case"plantEgg":v(_,or.DropObject),Yy(P);break;case"hatchEgg":v(_,or.PickupObject),Vy(P);break;case"placePet":v(_,or.DropObject),Yy(P);break;case"pickupObject":v(_,or.PickupObject),Vy(P);break;case"dropObject":v(_,or.DropObject),Yy(P);break;case"placeDecor":v(_,or.DropObject),rye(P);break;case"pickupDecor":v(_,or.PickupObject),Vy(P);break}}}],[Xr,()=>{var v,S;const y=Mt(Xr);Sae(y)?(v=e.current)==null||v.setAvatarAnimation(Mt(gr),ul.Holding):(S=e.current)==null||S.setAvatarAnimation(Mt(gr),ul.Idle)}],[iu,()=>{const v={type:"SetSelectedItem",itemIndex:Mt(iu)};zt(v)}],[_ae,()=>{var v,S;const y=Mt(_ae);for(const x in y){const w=y[x];Sae(w)?(v=e.current)==null||v.setAvatarAnimation(x,ul.Holding):(S=e.current)==null||S.setAvatarAnimation(x,ul.Idle)}}],[v0,()=>{var x;const y=Mt(u4);Mu(vo,(x=y==null?void 0:y[0])!=null?x:0),Mt(Iv)&&Mu(sx,Mt(v0)),c1(),Mt(c0)==="petHutch"&&Mu(c0,null),o.current=Mt(v0)}],[Us,()=>{c1()}],[Mp,()=>{const y=Mt(Mp),v=r.current,S=y.filter(w=>!v.includes(w)),x=v.filter(w=>!y.includes(w));S.forEach(w=>{var A;(A=e.current)==null||A.triggerAvatarAnimation(w,or.Talking,!0)}),x.forEach(w=>{var A;(A=e.current)==null||A.triggerAvatarAnimation(w,or.Talking,!1)}),r.current=y}]]);g.forEach(y=>y());const b=Array.from(g.entries()).map(([y,v])=>pXt(y,v));return()=>{b.forEach(y=>y())}},[]),j.useEffect(()=>{let g;const b=y=>{g=requestAnimationFrame(b);const v=i.current;if(v>0){const M=y-a.current;if(M<v)return;a.current=y-M%v}u(y);const S=Mt(v0);if(Mt(Yc)===null||!e.current||!S)return;m();const w=e.current.getCanvas();if(!w)return;const A=Mt(ta),_=K1t(w,A,S),C=Mt(OM),E=n.current.compute(y,Mt(po),C,_,S),R=Mt(xye).filter(M=>DM(M.position,_)),P=[...Mt(a4),...Mt(SOe)],O=P.filter(M=>M.playerId===Mt(gr)||M.position&&DM(M.position,_)),k=O.map(M=>M.playerId);(l.current.length!==k.length||!l.current.every(M=>k.includes(M)))&&(l.current=k),P.forEach(M=>{k.includes(M.playerId)?Mu(eK(M.playerId),1):Mu(eK(M.playerId),0)}),e.current.draw({time:y,map:Mt(po),tileInfos:E,tileSize:A,weatherId:Mt(hu),position:S,users:O,myPlayerId:Mt(gr),activePlayerId:Mt(gr),activePlayerSelectedItem:Mt(Xr),pauseAvatarAnimation:Mt(Fce),petInfos:R,gardens:Mt(OM)})};return g=requestAnimationFrame(b),()=>{cancelAnimationFrame(g)}},[]),f.jsx(cXt,{ref:e})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function ROe(e){let t=0,r;return n=>{const i=Date.now();return(r===void 0||i-t>=e)&&(r=n(),t=i),r}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const fXt=ROe(1e3),IOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/data/perf/atoms/avgFpsAtom.ts/avgFpsAtom",Me(e=>{const t=e(HA);return fXt(()=>{if(t.length<2)return 0;let r=0;for(let i=1;i<t.length;i++)r+=t[i]-t[i-1];const n=r/(t.length-1);return Math.round(1e3/n)})}));IOe.debugLabel="avgFpsAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const mXt=ROe(1e3),OOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/data/perf/atoms/avgPingAtom.ts/avgPingAtom",Me(e=>{const t=e($ce),r=PLe(e(jLe).perf_pingLogs);return mXt(()=>{const n=Array.from(t.values()).filter(s=>s.pong!==null);if(n.length===0)return 0;let i=0;n.forEach((s,o)=>{const l=s.pong-s.ping;r(`Ping diff [${o}]:`,l),i+=l});const a=i/n.length;return r("AVERAGE PING: ",a),Math.round(a)})}));OOe.debugLabel="avgPingAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const MOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/data/perf/atoms/isPerfDisplayVisibleAtom.ts/isPerfDisplayVisibleAtom",Me(e=>e(HA).length>=CKt));MOe.debugLabel="isPerfDisplayVisibleAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function gXt(){const e=k0($ce),t=AOe(ga().perf_pingLogs);return()=>{const r=Date.now(),n=performance.now();return e(i=>{const a=new Map(i);if(a.set(r,{ping:n,pong:null}),a.size>PKt){const s=a.keys().next().value;s&&(t("PING REMOVED: ",a.get(s)),a.delete(s))}return t("PING TIMESTAMPS: ",a),a}),r}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const bXt=()=>{const e=Pe(IOe),t=Pe(OOe),r=Pe(MOe),n=gXt();return j.useEffect(()=>{const i=setInterval(()=>{const a=n();zt({type:"Ping",id:a})},EKt*1e3);return()=>{clearInterval(i)}},[]),r?i6.createPortal(f.jsxs(z,{auto:!0,p:0,gap:1,position:"absolute",top:"0",left:"8px",fontSize:"9px",fontFamily:"monospace",fontWeight:"bold",opacity:.8,zIndex:"DialogOverlay",children:[f.jsxs(Ne,{sx:{color:e<=15?"Yellow.Magic":"MagicWhite"},children:[e,"fps"]}),t?f.jsxs(f.Fragment,{children:[f.jsx(Ne,{children:"|"}),f.jsxs(Ne,{sx:{color:t>=300?"Yellow.Magic":"MagicWhite"},children:[t,"ms"]})]}):null]}),document.getElementById("App")):null};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function X1(){const[e,t]=j.useState(!1);return j.useEffect(()=>{const r=window.matchMedia("(hover: none) and (pointer: coarse)"),n="ontouchstart"in window||navigator.maxTouchPoints>0,i=()=>{const o=r.matches||n;t(o)};return i(),r.addEventListener("change",i),()=>{r.removeEventListener("change",i)}},[]),e}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const UV=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/store/deepLinkNotification.ts/pendingDeepLinkNotificationAtom",Me(null));UV.debugLabel="pendingDeepLinkNotificationAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function yXt(){const[e,t]=Ea(UV);j.useEffect(()=>{const r=e;(r==null?void 0:r.game)==="Quinoa"&&(r.target.kind==="seedshop"&&(tye(),Mv("seedShop")),t(null))},[e,t])}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const vXt=({title:e,subtitle:t,strokeColor:r,backgroundImage:n,onClose:i,isClosable:a,onClick:s,topOffset:o=0})=>f.jsx(Ne,{position:"relative",w:"360px",h:"105px",onClick:l=>{l.stopPropagation(),s&&s(),i&&i()},cursor:s?"pointer":"default",mt:`-${o+5}px`,children:f.jsxs(Ne,{backgroundImage:`url(${n})`,backgroundSize:"cover",w:"100%",h:"100%",position:"relative",children:[f.jsx(z,{position:"absolute",top:"0",right:"0",bottom:"0",left:"0",color:"white",pt:`${o}px`,pl:5,gap:2,children:f.jsxs(z,{col:!0,flex:1,orient:"top right",mt:"45px",gap:1,children:[f.jsx(Nn,{fontSize:"22px",fontWeight:"bold",strokeWidth:6,strokeColor:r,shadowHeight:3,textAlign:"left",mr:"50px",children:e}),f.jsx(ue,{color:"#F6AC51",fontFamily:'"Greycliff CF", sans-serif',fontSize:"14px",fontStyle:"normal",fontWeight:800,lineHeight:"100%",sx:{textShadow:"0px 1.5px 0px rgba(0, 0, 0, 0.50)"},mr:"12px",children:t})]})}),a&&i&&f.jsx(yi,{onClick:l=>{l.stopPropagation(),i()},size:"sm",color:"#f3c98a",opacity:.92,_hover:{opacity:1},position:"absolute",top:`${o+20}px`,right:"10px",bg:"linear-gradient(135deg, #ad7932 60%, #8b5c2a 100%)",borderRadius:"full",border:"1px solid #a97c50",boxShadow:"0 2px 6px rgba(80, 50, 20, 0.18)"})]})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const TXt={success:{bg:"Green.Dark",borderColor:"Green.Light",icon:f.jsx(UB,{size:20})},error:{bg:"Red.Dark",borderColor:"Red.Light",icon:f.jsx(ug,{size:20})},info:{bg:"Blue.Dark",borderColor:"Blue.Light",icon:f.jsx(Sv,{size:20})}},SXt=e=>{const{title:t,description:r,variant:n="info",icon:i,onClick:a,onClose:s,isClosable:o=!0,mutations:l}=e,c=TXt[n],u=i===void 0?c.icon:i;return f.jsx(Ne,{bg:c.bg,color:"white",borderRadius:"10px",border:"2px solid",borderColor:c.borderColor,p:"10px 16px",minW:"320px",maxW:"420px",boxShadow:"0 10px 25px rgba(0, 0, 0, 0.3)",position:"relative",onClick:d=>{d.stopPropagation(),a&&a(),s&&s()},cursor:a?"pointer":"default",children:f.jsxs(z,{gap:"12px",orient:"top",children:[u&&f.jsx(Ne,{flexShrink:0,opacity:.9,mt:"1px",children:Ift(u)?f.jsx(qt,{tileRef:u,width:"40px",height:"40px",mutations:l}):u}),f.jsxs(z,{col:!0,gap:"2px",flex:1,alignItems:"flex-start",children:[f.jsx(Ne,{fontSize:{base:"16px",md:"18px"},fontWeight:"bold",lineHeight:"1.25",children:t}),r&&f.jsx(Ne,{fontSize:{base:"14px",md:"16px"},opacity:.85,lineHeight:"1.4",children:r})]}),o&&s&&f.jsx(yi,{onClick:d=>{d.stopPropagation(),s()},size:"sm",width:"18px",height:"18px",fontSize:"9px",color:"white",opacity:.8,_hover:{opacity:1},position:"absolute",top:"0px",right:"0px"})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const xXt=({toast:e})=>{const t=k0(yg),{duration:r=1e4,id:n}=e;j.useEffect(()=>{if(r===null)return;const a=setTimeout(()=>{t(s=>s.filter(o=>o.id!==n))},r);return()=>clearTimeout(a)},[n,r,t,e]);const i=()=>{t(a=>a.filter(s=>s.id!==e.id))};return f.jsx(Cn,{layout:!0,initial:{y:-10,opacity:0,scale:.95},animate:{y:0,opacity:1,scale:1},exit:{y:-10,opacity:0,scale:.95},transition:{duration:.3,ease:[.4,0,.2,1]},children:e.toastType==="board"?f.jsx(vXt,{...e,onClose:i,isClosable:e.isClosable}):f.jsx(SXt,{...e,onClose:i,isClosable:e.isClosable})},n)},wXt=()=>{const[e]=Ea(yg),t=Pe(Hh),r=pu(),n=Pe(kv);return e.length===0||!n?null:f.jsx(z,{col:!0,position:"absolute",top:{base:r?"calc(var(--sait) + 10px)":t?"55px":"calc(var(--system-header-height) + 50px)",lg:r?"calc(var(--sait) + 10px)":t?"55px":"calc(var(--system-header-height) + 5px)"},gap:2,auto:!0,zIndex:"QuinoaToast",children:f.jsx(bi,{children:[...e].reverse().map(i=>f.jsx(xXt,{toast:i},i.id))})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const _Xt=new Set(["w","z","arrowup","s","arrowdown","a","q","arrowleft","d","arrowright"]),AXt=e=>e?e.tagName==="INPUT"||e.tagName==="TEXTAREA"||e.getAttribute("contenteditable")==="true":!1,CXt=({onDirectionChange:e,isActive:t=!0})=>{const r=j.useRef([]);return j.useEffect(()=>{if(!t){r.current=[],e(null);return}const n=u=>{const d=u.key.toLowerCase();_Xt.has(d)&&(u.preventDefault(),!r.current.includes(d)&&(r.current.push(d),a()))},i=u=>{const d=u.key.toLowerCase(),h=r.current.indexOf(d);h>-1&&(r.current.splice(h,1),a())},a=()=>{let u=null;for(let d=r.current.length-1;d>=0;d--){const h=r.current[d];if(["w","z","arrowup"].includes(h)){u="up";break}else if(["s","arrowdown"].includes(h)){u="down";break}else if(["a","q","arrowleft"].includes(h)){u="left";break}else if(["d","arrowright"].includes(h)){u="right";break}}e(u)},s=()=>{r.current.length>0&&(r.current=[],e(null))},o=()=>{s()},l=()=>{document.visibilityState==="hidden"&&s()},c=u=>{AXt(u.target)&&s()};return a(),window.addEventListener("keydown",n),window.addEventListener("keyup",i),window.addEventListener("blur",o),document.addEventListener("visibilitychange",l),document.addEventListener("focusin",c),()=>{window.removeEventListener("keydown",n),window.removeEventListener("keyup",i),window.removeEventListener("blur",o),document.removeEventListener("visibilitychange",l),document.removeEventListener("focusin",c)}},[t,e]),null};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const EXt=({onDirectionChange:e,isActive:t=!0})=>t?f.jsx(Ne,{position:"absolute",top:0,left:0,right:0,bottom:0,pointerEvents:"auto",children:f.jsx(tKt,{onMove:e})}):null;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const PXt=()=>{const e=X1(),t=k0(Gy),r=j.useCallback(i=>{t(i)},[]),n=j.useCallback(i=>{t(i)},[]);return f.jsxs(Ne,{position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,children:[f.jsx(CXt,{onDirectionChange:r,isActive:!0}),f.jsx(EXt,{onDirectionChange:n,isActive:e})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function jXt({buttonProps:e,avatarProps:t}){const r=RLe(),{background:n}=NF(r);return f.jsx(Xe,{background:n,minHeight:"48px",minWidth:"48px",p:"0",borderRadius:"full",...e,children:f.jsx(c1e,{containerProps:{id:"SystemHeaderPlayerToken"},avatarProps:{size:"xs",...t}})})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};var l0=(e=>(e.CosmeticPurchase="CosmeticPurchase",e.GrantClaim="GrantClaim",e.ChallengeClaim="ChallengeClaim",e.PollCompletion="PollCompletion",e.MiniAvocadoAnswer="MiniAvocadoAnswer",e.KingPayout="KingPayout",e.Transfer="Transfer",e.JalapenoRoundWin="JalapenoRoundWin",e.JalapenoGameWin="JalapenoGameWin",e.AvocadoJudgesChoice="AvocadoJudgesChoice",e.PeachEnergyPurchase="PeachEnergyPurchase",e.OneTimeReward_PreorderOnAppStore="OneTimeReward_PreorderOnAppStore",e.OneTimeReward_DownloadOnAppStore="OneTimeReward_DownloadOnAppStore",e.OneTimeReward_JoinFirstPartyDiscord="OneTimeReward_JoinFirstPartyDiscord",e.OneTimeReward_FollowOnTwitter="OneTimeReward_FollowOnTwitter",e.OneTimeReward_FollowOnTikTok="OneTimeReward_FollowOnTikTok",e.OneTimeReward_FollowOnInstagram="OneTimeReward_FollowOnInstagram",e.OneTimeReward_SubscribeOnYouTube="OneTimeReward_SubscribeOnYouTube",e))(l0||{});const mF=["NewPlayerGrant","AdminGrant","DefaultCosmeticReplacement"];globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const RXt=({isGlowing:e=!0,children:t="!",...r})=>{const n="Red.Magic",i=j.useRef(null),a=uge(e,4,i);return f.jsx(z,{ref:i,bg:n,width:"16px",height:"16px",fontSize:"16px",pb:"1px",borderRadius:"full",fontWeight:"bold",animation:a,...r,children:t})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const GA=({onClick:e,iconProps:t,value:r,textProps:n,buttonProps:i,isAlertActive:a=!1})=>f.jsxs(Xe,{onClick:e,h:"45px",position:"relative",pointerEvents:"auto",...i,children:[f.jsxs(z,{auto:!0,orient:"left",children:[f.jsx(Ne,{w:"45px",pl:"5px",children:f.jsx(p0,{...t})}),f.jsx(Nn,{fontSize:"lg",fontWeight:"bold",ml:"-20px",minW:"20px",textAlign:"left",zIndex:1,...n,children:r.toLocaleString()})]}),a&&f.jsx(Ne,{position:"absolute",top:"-2px",left:"4px",zIndex:2,children:f.jsx(RXt,{})})]}),GV="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEwAAAA4CAYAAABXJB78AAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAVbSURBVHgB7ZtbbBRVGMf/LdogaChGTQ0Stio2YiCEakQxXhJDfAA18UGjQCpRoyRe8MotakQNYGLUmJjIAw88GWMlGmJSfFDiJUHxQQ1YFBbx0tpWQYu2kMrn/9uzK9NhdvacnVN22Z1f8t9pZk+/c+bb78ycOd85wBggIrOoJ6gt1G9ynPvgEdp7MmC7j3qPeohqRzXDBjZTD1PvhhwUpoeaBA/QzmlUNqaun6kPqKXUVFQaNmIidTv1IXVE7FlVwm4TNV4dUqJch7jRRS2hGpGABjjCCs/h4cG8JsOdPmoddQnVQl1MN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JyFJLg9bFbAHcSP0gJwdNh22grg20QWeUF4nZ2ZYEfXMYvSOOJ56h/pVk7KYWhX8anpstZh/jNuqQ+EHTdDrTslrM61BjoD4dkM+ndkgyNP85Km0YXu6U4eEdmGWLSdhPbaDeZpcYiHCgThxeCDM9nslLE7/6+hRcPaSvPIepX6hfqb0wmyz0lWuvPrVCdjVrpeu6OpB8yalucljGOr4sWZIV3y3xmzdt+Cn/A5w0xCSkD0sy9lDLxXVfpZi84VMSv8M2jpdRAVjv81IeeqvQ7p1sIoIGpurFU387VP6jVGjbsJjkba9DWzXR+6KY1ZdeG5KhXhe7iLsXFUTsliFoROmG2XJ2FTs1ZpKY/dbbizTkfVQBbEdnRNt0FPAZtUIcljX4bJQmMlZSu/INyko17OBHrm2T5fiD6zvqOfHwEPoP4nIsbqf4/VkAAAAASUVORK5CYII=";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};var Lw=(e=>(e.mc_jwt="mc_jwt",e.mc_oauth_redirect_uri="mc_oauth_redirect_uri",e.mc_oauth_room_id="mc_oauth_room_id",e))(Lw||{});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const kOe=["identify","guilds.members.read","guilds",...Tt==="discord"?["applications.commands","rpc.voice.read"]:[]];globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function IXt(){const e=Fd();if(!e)throw new Error("No room ID found");const t=`${window.location.origin}/oauth2/redirect`;document.cookie=`${Lw.mc_oauth_redirect_uri}=${t}; path=/oauth2/redirect;`,document.cookie=`${Lw.mc_oauth_room_id}=${e}; path=/oauth2/redirect;`;const r=new URL("https://discord.com/oauth2/authorize");r.searchParams.set("client_id",Z7),r.searchParams.set("response_type","code"),r.searchParams.set("redirect_uri",t),r.searchParams.set("scope",kOe.join(" ")),window.location.href=r.toString()}function gF(e){return new URL(window.location.href).searchParams.get(e)}function bF(e){const t=new URL(window.location.href).searchParams;t.delete(e);const r=t.toString(),n=r?`${window.location.origin}${window.location.pathname}?${r}`:`${window.location.origin}${window.location.pathname}`;window.history.replaceState({},document.title,n)}function OXt(){const e=gF("appleOAuthCode");if(e)return bF("appleOAuthCode"),e}function MXt(){const e=gF("discordOAuthCode"),t=gF("discordOAuthRedirectUri");if(bF("discordOAuthCode"),bF("discordOAuthRedirectUri"),e&&t)return{code:e,redirect_uri:t}}const VV=async()=>{var e,t,r;await ra("/user/logout"),DF.getInstance().disconnect(pa.PlayerLeftVoluntarily),ft().set(gr,ILe.generatePlayerId()),Tt==="webview"?(r=(t=(e=window.webkit)==null?void 0:e.messageHandlers)==null?void 0:t.returnToHomeScreen)!=null&&r.postMessage&&window.webkit.messageHandlers.returnToHomeScreen.postMessage({message:Ee._({id:"ey045Y"}),type:"user_signed_out",timestamp:new Date().toISOString()}):Tt==="web"?window.location.reload():Tt==="discord"&&J5("User logged out")};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const kXt=e=>f.jsx(Xe,{bg:"#5865F2",height:e.size==="xs"?"32px":void 0,fontSize:e.size==="xs"?"18px":"md",...e,children:e.children});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const DOe=({onBeforeRedirect:e,...t})=>f.jsxs(kXt,{onClick:()=>{e==null||e(),IXt()},borderRadius:"14px",...t,children:[f.jsx(p0,{src:GV,height:t.size==="lg"?"20px":"12px",mr:t.size==="lg"?"8px":"4px"}),t.children||f.jsx(L,{id:"S9jHec"})]}),DXt=e=>f.jsx(Xe,{as:"a",href:`https://discord.com/activities/${Z7}`,target:"_blank",rel:"noopener noreferrer",bg:"#5865F2",leftIcon:f.jsx(p0,{src:GV,height:"20px"}),borderRadius:"14px",textTransform:"none",fontWeight:"semibold",...e,children:f.jsx(L,{id:"t4RHUb"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const LOe=32,LXt="https://discord.gg/yqWUuTAtS9",yF="https://discord.gg/qpuc9snXRH",vF="https://apps.apple.com/app/id6746135888",Iae="https://magicgarden.gg";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Oae=({onBeforeRedirect:e,...t})=>{const r=()=>{e==null||e(),Qn.capture("UI_Click_GetIOSApp"),Qr?Al(vF).catch(console.error):window.open(vF,"_blank")};return f.jsxs(Xe,{bg:"Purple.Magic",onClick:r,textTransform:"none",flexDirection:"column",fontWeight:"semibold",borderRadius:"14px",...t,children:[f.jsx(L,{id:"N3YYL3"}),f.jsx(ue,{fontSize:"2xs",children:f.jsx(L,{id:"7c9P0A"})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Mae=e=>{const t=fn();return f.jsx(Xe,{variant:"blank",height:e.size==="xs"?"32px":void 0,fontSize:e.size==="xs"?"18px":"md",bg:t?"Neutral.DarkGrey":"Purple.Magic",color:"MagicWhite",borderRadius:"14px",onClick:()=>{VV().catch(console.error)},...e,children:t?f.jsx(L,{id:"FgAxTj"}):f.jsx(L,{id:"zPC2tx"})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const kae=({onClick:e})=>f.jsxs(Xe,{h:"50px",w:"180px",backgroundColor:"rgba(120, 120, 120, 1)","data-testid":"coversheet-play-as-guest",onClick:e,textTransform:"none",flexDirection:"column",fontWeight:"semibold",borderRadius:"14px",fontSize:"18px",children:[f.jsx(L,{id:"jUBYM6"}),f.jsx(ue,{fontSize:"11px",children:f.jsx(L,{id:"Zjc39m"})})]});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const _E=e=>{const t=()=>{Qr?Al(Iae).catch(console.error):window.open(Iae,"_blank")};return f.jsx(Xe,{h:"50px",w:"180px",bg:"Blue.Magic",onClick:t,textTransform:"none",flexDirection:"column",fontWeight:"semibold",borderRadius:"14px",...e,children:f.jsx(L,{id:"NpYW1C"})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const hf=({onClickPlayAsGuest:e,showSignInAndOutButton:t=!0,showPlayAsGuestButton:r=!1,showOpenInDiscordButton:n=!1,showSignInWithDiscordButton:i=!0,showPlayOnWebButton:a=!1,...s})=>{const o=Pe(qF),l=ga().root_shouldShowiOSAppUpsell;function c(){Qn.capture("UI_CoverSheet_Click_PlayAsGuest"),e==null||e()}function u(){Qn.capture("UI_CoverSheet_Click_DiscordSignIn")}function d(){Qn.capture("UI_CoverSheet_Click_GetIOSApp")}if(Tt==="webview")return t||a||r?f.jsxs(z,{gap:2,...s,col:!0,children:[t&&f.jsx(Mae,{h:"50px",w:"210px"}),a&&f.jsx(_E,{h:"50px",w:"245px"}),r&&f.jsx(kae,{onClick:c})]}):null;if(o&&!n){const g=!Am&&l;return g||a||t?f.jsxs(z,{gap:2,...s,col:!0,children:[g&&f.jsx(Oae,{h:"50px",w:"245px"}),a&&f.jsx(_E,{h:"50px",w:"245px"}),t&&f.jsx(Mae,{h:"40px",w:"180px"})]}):null}const h=Tt!=="discord"&&(n||i),p=!Am&&l;return h||p||a||r?f.jsxs(z,{gap:2,...s,col:!0,children:[Tt!=="discord"&&(n?f.jsx(DXt,{h:"50px",w:"245px"}):i?f.jsx(DOe,{h:"50px",w:"245px",onBeforeRedirect:u,textTransform:"none",fontWeight:"semibold",size:"lg"}):null),p&&f.jsx(Oae,{h:"50px",w:"245px",onBeforeRedirect:d}),a&&f.jsx(_E,{h:"50px",w:"245px"}),r&&f.jsx(kae,{onClick:c})]}):null};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const FOe=()=>{const e=Wd(),t=fn(),{_:r}=Pt(),n=[r({id:"aTBtc/"}),r({id:"gc7arA"}),r({id:"aWBv5/"})];return()=>new Promise(()=>{e({title:r({id:"kqocxQ"}),isCentered:!0,content:f.jsx(z,{col:!0,gap:4,p:2,pt:1,children:t?f.jsxs(f.Fragment,{children:[f.jsx(ue,{fontSize:"md",children:f.jsx(L,{id:"D2MOrE"})}),f.jsx(ue,{fontSize:"md",fontWeight:"bold",textAlign:"center",pt:2,children:f.jsx(L,{id:"jiwSxe"})}),f.jsx(h6,{spacing:2,textAlign:"left",pl:4,listStyleType:"none",children:n.map((a,s)=>f.jsxs(My,{display:"flex",alignItems:"flex-start",children:[f.jsx(et.span,{mr:"2",role:"img","aria-label":r({id:"E7x64X"}),children:"🍞"}),f.jsx(ue,{as:"span",children:f.jsx(L,{id:"16BztB",values:{text:a}})})]},s))})]}):f.jsxs(f.Fragment,{children:[f.jsx(ue,{fontSize:"md",children:f.jsx(L,{id:"gipeOF"})}),f.jsx(hf,{}),f.jsx(ue,{fontSize:"md",children:f.jsx(L,{id:"D2MOrE"})})]})})})})},$Oe="/version/436ff68/assets/BreadIcon-Bd9PISXc.webp";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const BOe=()=>{var o;const{user:e}=Uh(),{totalAmountUnclaimed:t}=Bce(mF),r=FOe(),n=k0(OLe),i=(o=e==null?void 0:e.currencyBalance)!=null?o:0,a=t>0,s=l=>{l.stopPropagation(),a?(Jt("Bread_YouveGotBread_01"),n(!0)):r()};return f.jsx(GA,{onClick:s,iconProps:{src:$Oe,boxSize:"45px"},buttonProps:{variant:"blank",id:"bread-counter-widget",zIndex:1},value:i,isAlertActive:a})},YV="/version/436ff68/assets/DonutIcon-CYG_oBT0.webp";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const FXt=()=>{const e=I1(),{availableCredits:t}=h1(),r=n=>{n.stopPropagation(),e.open()};return f.jsx(GA,{onClick:r,iconProps:{src:YV,boxSize:"45px"},buttonProps:{variant:"blank",id:"credits-counter-widget"},value:t})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const NOe=({players:e,size:t="md"})=>{const r={xl:{x:135,y:-15},lg:{x:120,y:-10},marge:{x:120,y:-10},md:{x:60,y:-10},sm:{x:45,y:-7},xs:{x:30,y:-5},chip:{x:30,y:-5}},n=[{x:r[t].x,y:r[t].y,rotate:14},{x:-r[t].x,y:r[t].y,rotate:-14},{x:0,y:-r[t].y-30,rotate:0}],i=e.slice(0,3).reverse(),a=n.slice(3-i.length,3);return f.jsx(z,{h:"auto",position:"absolute",children:i.map((s,o)=>f.jsx(Cn,{position:"absolute",initial:{x:0,y:70,rotate:0},animate:a[o],transition:{delay:.05*o},children:f.jsx(Qh,{playerOrId:s.player,size:t,animation:s.animation,forceNonStaticAvatar:!0})},o))})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};async function fi(e){return new Promise(t=>{setTimeout(t,e*1e3)})}function Jlr(e=1){return async function(t){await fi(t*e)}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const $Xt=()=>f.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",width:"100%",fontSize:"12px",textTransform:"capitalize",backgroundColor:"rgba(255, 0, 0, 0.1)",textAlign:"center"},children:f.jsxs("span",{children:["Rive",f.jsx("br",{}),"Error"]})}),Q1=({children:e,fallback:t})=>f.jsx($F,{fallback:t||f.jsx($Xt,{}),onError:r=>{console.warn("[RiveErrorBoundary] Rive error triggered fallback",r)},children:e}),BXt="/version/436ff68/assets/bread_earned-Bvg3v9jW.riv";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const NXt=({amount:e})=>{const t=zF(),{rive:r,RiveComponent:n}=lu({src:BXt,stateMachines:"State Machine 1",layout:new f0.Layout({fit:bd.Fit.Layout,alignment:bd.Alignment.Center,layoutScaleFactor:ch==="mobile"?.5:.75*t}),autoplay:!1});return j.useEffect(()=>{if(r){const i=e.toString();r.setTextRunValue("text_fill",i),r.setTextRunValue("text_stroke",i),r.play()}},[r,e]),f.jsx(n,{})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const qXt={scale:[1,1.5,1.45,1.5,1],translate:["0px 0px","-15px 15px","-10px 10px","-15px 15px","0px 0px"],rotate:[0,5,-5,5,0]};function qOe(e){const t=document.getElementById(e);if(!t){console.warn(`${e} widget not found`);return}return ph(t,qXt)}const KV=()=>qOe("bread-counter-widget"),zXt=()=>qOe("credits-counter-widget");globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const XV=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/components/Currency/CurrencyTransactionEventAnnouncer.tsx/lastCurrencyTransactionAtom",Me(void 0));XV.debugLabel="lastCurrencyTransactionAtom";const WXt=()=>{const e=k0(XV);return j.useCallback(t=>{e(t)},[e])},HXt=()=>{var a;const{mutateUser:e}=Uh(),[t,r]=Ea(XV),[n,i]=j.useState(!1);return j.useEffect(()=>{t&&(i(!0),Jt("Score_Promotion_01"),(async()=>{await fi(1.5),i(!1),Jt("Bread_DonePopping_01"),KV(),e(o=>o&&{...o,currencyBalance:t.updatedBalance},{revalidate:!1}).catch(console.error),r(void 0)})().catch(console.error))},[t]),n?f.jsx(z,{id:"CurrencyTransactionEventAnnouncer",position:"absolute",top:"0",zIndex:"CurrencyTransactionEventAnnouncer",pointerEvents:"none",transform:ch==="mobile"?"rotate(-14deg)":void 0,children:f.jsx(Q1,{children:f.jsx(NXt,{amount:(a=t==null?void 0:t.amount)!=null?a:0})})}):null};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const zOe=({amount:e,onClick:t,textProps:r,...n})=>{const i=fn(),a=FOe(),s=o=>{if(!i){o.preventDefault(),o.stopPropagation(),a();return}t&&t(o)};return f.jsx(GA,{onClick:s,iconProps:{src:$Oe,boxSize:"45px"},value:e,buttonProps:{...n},textProps:r})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};l0.OneTimeReward_PreorderOnAppStore,l0.OneTimeReward_DownloadOnAppStore,l0.OneTimeReward_JoinFirstPartyDiscord,l0.OneTimeReward_FollowOnTwitter,l0.OneTimeReward_FollowOnTikTok,l0.OneTimeReward_FollowOnInstagram,l0.OneTimeReward_SubscribeOnYouTube;const jf={[l0.OneTimeReward_DownloadOnAppStore]:100,[l0.OneTimeReward_PreorderOnAppStore]:100,[l0.OneTimeReward_JoinFirstPartyDiscord]:50,[l0.OneTimeReward_FollowOnTwitter]:50,[l0.OneTimeReward_FollowOnTikTok]:50,[l0.OneTimeReward_FollowOnInstagram]:50,[l0.OneTimeReward_SubscribeOnYouTube]:50};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const WOe=[{purpose:l0.OneTimeReward_DownloadOnAppStore,label:{id:"N3YYL3"},url:vF,amount:jf[l0.OneTimeReward_DownloadOnAppStore],hideOnNonIOSMobile:!0},{purpose:l0.OneTimeReward_JoinFirstPartyDiscord,label:{id:"A2+M2I"},url:LXt,amount:jf[l0.OneTimeReward_JoinFirstPartyDiscord]},{purpose:l0.OneTimeReward_SubscribeOnYouTube,label:{id:"gHfWU/"},url:"https://www.youtube.com/@magiccirclegames",amount:jf[l0.OneTimeReward_SubscribeOnYouTube]},{purpose:l0.OneTimeReward_FollowOnTikTok,label:{id:"FfGeWs"},url:"https://www.tiktok.com/@gamesbyavi",amount:jf[l0.OneTimeReward_FollowOnTikTok]},{purpose:l0.OneTimeReward_FollowOnTwitter,label:{id:"I7Exsw"},url:"https://twitter.com/magiccircle_gg",amount:jf[l0.OneTimeReward_FollowOnTwitter]},{purpose:l0.OneTimeReward_FollowOnInstagram,label:{id:"LP2oeZ"},url:"https://www.instagram.com/magiccircle.games",amount:jf[l0.OneTimeReward_FollowOnInstagram]}],UXt=e=>WOe.filter(t=>!(t.hideOnNonIOSMobile&&e)),GXt=e=>WOe.find(t=>t.purpose===e);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const HOe=()=>{const{_:e}=Pt();return{availableRewards:j.useMemo(()=>UXt(Am).map(n=>({...n,label:e(n.label)})),[Am,e]),getConfigByPurpose:n=>{const i=GXt(n);if(i)return{...i,label:e(i.label)}},isAndroid:Am}},UOe=()=>{const{availableRewards:e}=HOe(),{data:t,error:r,isLoading:n,mutate:i}=Nce({path:"/me/one-time-rewards"}),a=j.useMemo(()=>{var l;return new Set((l=t==null?void 0:t.claimedRewards)!=null?l:[])},[t]),s=j.useMemo(()=>e.some(l=>!a.has(l.purpose)),[e,a]);return{claimedRewards:a,hasUnclaimedRewards:s,isLoading:n,error:r,markRewardAsClaimed:l=>{i(c=>{if(!c)return c;const u=c.claimedRewards||[];return u.includes(l)?c:{claimedRewards:[...u,l]}},{revalidate:!1}).catch(console.error)},mutate:i}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const VXt=()=>{const{_:e}=Pt(),t=pu(),{availableRewards:r,getConfigByPurpose:n}=HOe(),{claimedRewards:i,markRewardAsClaimed:a}=UOe(),s=MLe(),o=WF(),[l,c]=j.useState(new Set),{sendToast:u}=Xh(),d=WXt(),h=[{player:{id:"1",name:"Avatar 1",cosmetic:{avatar:["Bottom_WizardRobe.png","Mid_Sloth.png","Top_PirateHat.png","Expression_Pouty.png"],color:"Blue"},emoteData:{emoteType:_m.Idle},secondsRemainingUntilChatEnabled:0,isConnected:!0,discordAvatarUrl:null,databaseUserId:null,guildId:null},animation:ul.Locked},{player:{id:"2",name:"Avatar 2",cosmetic:{avatar:["Bottom_SpaceSuit.png","Mid_Cat.png","Top_Moon.png","Expression_Bashful.png"],color:"Green"},emoteData:{emoteType:_m.Idle},secondsRemainingUntilChatEnabled:0,isConnected:!0,discordAvatarUrl:null,databaseUserId:null,guildId:null},animation:ul.Locked},{player:{id:"3",name:"Avatar 3",cosmetic:{avatar:["Bottom_Backpacking.png","Mid_Penguin.png","Top_CatBeanie.png","Expression_Cute.png"],color:"Red"},emoteData:{emoteType:_m.Idle},secondsRemainingUntilChatEnabled:0,isConnected:!0,discordAvatarUrl:null,databaseUserId:null,guildId:null},animation:ul.Locked}],p=async g=>{const b=n(g);if(!b){console.error("No config found for reward purpose:",g);return}if(b.url)if(Qr)if(b.url.includes("discord.gg")||b.url.includes("discord.com"))try{const v=new Promise(w=>{setTimeout(()=>w(!0),3e3)}),S=Al(b.url);return await Promise.race([S,v])}catch(v){return console.warn("Discord link opening failed, proceeding anyway:",v),!0}else return await Al(b.url);else return window.open(b.url,"_blank"),!0},m=async g=>{c(b=>new Set([...b,g]));try{if(!await p(g))return;const y=await ra("/me/one-time-rewards/claim",{rewardPurpose:g});d(y.currencyTransactionEvent),a(g),u({title:e({id:"i/VZs8"}),status:"success",duration:3e3,isClosable:!0})}catch(b){console.error("Error claiming reward:",b),u({title:e({id:"6g/L/3"}),description:b instanceof Error?b.message:e({id:"fWsBTs"}),status:"error",duration:5e3,isClosable:!0})}finally{c(b=>{const y=new Set(b);return y.delete(g),y})}};return s?f.jsxs(Pa,{isOpen:!0,onClose:()=>o(!1),lockFocusAcrossFrames:!1,variant:"Dialog",closeOnOverlayClick:!0,children:[f.jsx(vi,{bg:"ScrimDarkest",children:f.jsx(Ne,{position:"absolute",top:t?"calc(var(--sait) + 100px)":"calc(var(--sait) + 170px)",left:"50%",transform:"translateX(-50%)",h:"200px",children:f.jsx(NOe,{players:h,size:t?"md":"lg"})})}),f.jsxs(uu,{bg:"MagicBlack",maxW:"500px",mt:t?"100px":"200px",children:[f.jsx(T1,{color:"MagicWhite"}),f.jsxs(z,{col:!0,px:3,py:3,gap:4,children:[f.jsxs(z,{col:!0,gap:2,textAlign:"center",children:[f.jsx(_n,{size:"lg",color:"MagicWhite",children:f.jsx(L,{id:"hvVkL6"})}),f.jsx(ue,{color:"Neutral.LightGrey",fontSize:"sm",children:f.jsx(L,{id:"dQYKO+"})})]}),f.jsx(dB,{spacing:2,width:"100%",children:f.jsx(bi,{children:r.sort((g,b)=>{const y=i.has(g.purpose),v=i.has(b.purpose);return y&&!v?1:!y&&v?-1:0}).map(g=>{const b=i.has(g.purpose),y=l.has(g.purpose);return f.jsx(Rn.div,{layout:!0,initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.3},style:{width:"100%"},children:f.jsxs(z,{justify:"space-between",align:"center",width:"100%",bg:"rgba(255, 255, 255, 0.05)",borderRadius:"8px",p:2,border:"1px solid",borderColor:"rgba(255, 255, 255, 0.1)",cursor:"pointer",onClick:()=>void p(g.purpose),_hover:{bg:"rgba(255, 255, 255, 0.1)",borderColor:b?"Neutral.LightGrey":"Purple.Light",transform:"translateY(-1px)","& .external-link-icon":{opacity:1}},transition:"all 0.2s ease",position:"relative",role:"button",tabIndex:0,onKeyDown:v=>{(v.key==="Enter"||v.key===" ")&&(v.preventDefault(),p(g.purpose))},children:[f.jsxs(z,{align:"space-between",gap:2,flex:1,children:[f.jsx(ue,{color:"MagicWhite",fontWeight:"semibold",fontSize:"sm",textAlign:"left",children:g.label}),f.jsx(G0,{as:gN,color:"Neutral.LightGrey",boxSize:3,opacity:0,transition:"opacity 0.2s ease",className:"external-link-icon"})]}),b?f.jsx(Xe,{isDisabled:!0,variant:"solid",bg:"Neutral.LightGrey",color:"MagicBlack",size:"sm",fontSize:"xs",px:4,minW:"80px",_hover:{bg:"Neutral.LightGrey"},onClick:v=>v.stopPropagation(),children:f.jsx(L,{id:"EgkNmI"})}):f.jsx(zOe,{amount:g.amount,onClick:v=>{v.stopPropagation(),m(g.purpose)},isLoading:y,size:"sm",fontSize:"xs",px:4,minW:"80px",bg:"Purple.Magic",_hover:{bg:"Purple.Light"}})]})},g.purpose)})})})]})]})]}):null},YXt="/version/436ff68/assets/giftbox-eL1Xf0s_.riv";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const KXt=()=>{const[e,t]=j.useState(!1),{rive:r,RiveComponent:n}=lu({src:YXt,stateMachines:"State Machine 1",layout:new f0.Layout({fit:f0.Fit.Cover,alignment:f0.Alignment.Center}),autoplay:!1});return f.jsx(n,{onMouseEnter:()=>{r&&r.play()},onMouseLeave:()=>{t(i=>!i)}},e?1:0)};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const XXt=e=>{const{hasUnclaimedRewards:t,isLoading:r}=UOe(),n=WF(),i=()=>{n(!0)};return r||!t?null:f.jsx(Wme,{variant:"blank",minW:"40px",onClick:i,transition:{duration:0,ease:"easeOut"},whileHover:{scale:1.05,filter:"brightness(1.15)"},...e,children:f.jsx(Ne,{w:"32px",h:"32px",children:f.jsx(Q1,{children:f.jsx(KXt,{})})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const QXt="/version/436ff68/assets/FlameIcon-Dt4NHYVE.webp";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const JXt={Local:"http://localhost:3456",Preview:"https://mcraster.magiccircle.gg",Production:"https://mcraster.magiccircle.gg"};function ZXt(e,t,r,n){const i=new URL(`${e}.png`,n!=null?n:JXt[r]);return i.searchParams.set("props",JSON.stringify(t)),i.toString()}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const QV=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/components/Streak/store.ts/targetStreakTimeAtom",Me(sS(Ay())));QV.debugLabel="targetStreakTimeAtom";const JV=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/components/Streak/store.ts/isStreakAnimationPlayingAtom",Me(!1));JV.debugLabel="isStreakAnimationPlayingAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const eQt=()=>{var a;const e=tv(),{streakState:t}=rv(),r=Pe(QV),n=ZXt("streakCounterWithTimeline",{blobling:{userStyle:Tfe(e.cosmetic),discordAvatar:(a=e.discordAvatarUrl)!=null?a:void 0},streakState:t!=null?t:{streakCount:0,status:"inactive",isRewardDay:!1}},Vw,Tt==="discord"?`${window.location.origin}/mcraster/`:void 0),i=new URL(n);return i.searchParams.set("t",r.getTime().toString()),f.jsx(p0,{src:i.toString(),alt:"Streak Progress"})},Dae=Symbol.for("constructDateFrom");function tQt(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Dae in e?e[Dae](t):e instanceof Date?new e.constructor(t):new Date(t)}function Lae(e,t){return tQt(e,e)}function rQt(e){return t=>{const n=(e?Math[e]:Math.trunc)(t);return n===0?0:n}}function nQt(e,t){return+Lae(e)-+Lae(t)}function GOe(e,t,r){const n=nQt(e,t)/1e3;return rQt(r==null?void 0:r.roundingMethod)(n)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const AE=({value:e,unit:t})=>f.jsxs(z,{col:!0,orient:"center",bg:"Orange.Light",borderRadius:"15px",p:2,aspectRatio:"1 / 1",gap:1.5,children:[f.jsx(Nn,{fontSize:"30px",mt:-1,color:"MagicWhite",strokeColor:"Red.Magic",fontWeight:"bold",children:String(e).padStart(2,"0")}),f.jsx(Nn,{fontSize:"18px",fontWeight:"bold",strokeWidth:0,mt:-3,mb:-2,children:t})]}),Fae=(e,t)=>{let r=GOe(e,t);r<0&&(r=0);const n=Math.floor(r/3600),i=Math.floor(r%3600/60),a=r%60;return{hours:n,minutes:i,seconds:a}},eT=()=>{const[e,t]=j.useState(()=>sS(Ay())),[r,n]=j.useState(()=>Fae(e,Ay())),i=j.useCallback(()=>{const a=new Date;if(a.getTime()>=e.getTime()){const s=sS(Ay());t(s)}n(Fae(e,a))},[e]);return j.useEffect(()=>{i()},[]),FF(i,1e3),f.jsxs(z,{gap:2,w:"200px",autoH:!0,children:[f.jsx(AE,{value:r.hours,unit:"h"}),f.jsx(AE,{value:r.minutes,unit:"m"}),f.jsx(AE,{value:r.seconds,unit:"s"})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const iQt=()=>{const e=Wd(),{streakState:t}=rv(),{_:r}=Pt(),n=!t||t.status==="incomplete"&&t.streakCount===0?r({id:"WqlN/A"}):t.status==="active"?r({id:"TRG96u"}):t.status==="inactive"?r({id:"Qb3vqK"}):r({id:"iBHy8s"});return a=>{a.stopPropagation(),e({title:n,isCentered:!0,content:f.jsxs(z,{col:!0,children:[t?t.status==="active"?f.jsxs(z,{col:!0,gap:2,pb:4,px:3,children:[f.jsx(ue,{fontSize:"md",fontWeight:"bold",textAlign:"center",lineHeight:"1.4",children:f.jsx(L,{id:"LZcMBN",values:{0:t.streakCount===1?r({id:"amh4xt"}):r({id:"QEH/Lj"})}})}),f.jsxs(z,{col:!0,gap:1,pt:4,px:10,children:[f.jsx(ue,{fontSize:"sm",children:f.jsx(L,{id:"k6SSOQ"})}),f.jsx(eT,{}),f.jsx(ue,{fontSize:"sm",textAlign:"center",lineHeight:"1.2",children:f.jsx(L,{id:"x5VCgs"})})]})]}):t.status==="inactive"&&t.streakCount>0?f.jsxs(z,{col:!0,gap:2,pb:4,px:3,children:[f.jsx(ue,{fontSize:"lg",textAlign:"center",fontWeight:"bold",children:f.jsx(L,{id:"Uu0gmI"})}),f.jsx(ue,{fontSize:"md",textAlign:"center",lineHeight:"1.4",children:f.jsx(L,{id:"7hYk49"})}),f.jsxs(z,{col:!0,gap:1,pt:4,children:[f.jsx(eT,{}),f.jsx(ue,{fontSize:"sm",fontWeight:"bold",textAlign:"center",lineHeight:"1.2",children:f.jsx(L,{id:"TIPP7L"})})]})]}):f.jsxs(z,{col:!0,gap:2,pb:4,px:3,children:[f.jsx(ue,{fontSize:"md",fontWeight:"bold",textAlign:"center",lineHeight:"1.4",children:f.jsx(L,{id:"+1Yi2q"})}),f.jsxs(z,{col:!0,gap:1,pt:4,px:10,children:[f.jsx(ue,{fontSize:"sm",lineHeight:"1.2",children:"A new day begins in"}),f.jsx(eT,{})]})]}):f.jsxs(z,{col:!0,gap:2,pb:4,px:3,pt:1,children:[f.jsx(ue,{fontSize:"md",textAlign:"center",lineHeight:"1.4",children:f.jsx(L,{id:"As5s4d"})}),f.jsx(hf,{mt:3.5}),f.jsxs(z,{col:!0,gap:1,pt:4,px:10,children:[f.jsx(ue,{fontSize:"sm",fontWeight:"bold",children:f.jsx(L,{id:"tdX+tp"})}),f.jsx(eT,{}),f.jsx(ue,{fontSize:"sm",fontWeight:"bold",textAlign:"center",lineHeight:"1.2",children:f.jsx(L,{id:"v3vHmV"})})]})]}),t&&f.jsx(f.Fragment,{children:f.jsx(eQt,{})})]})})}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const aQt=()=>{var a;const e=iQt(),{streakState:t}=rv(),r=!t||t.status==="inactive",n=(t==null?void 0:t.status)==="active",i=s=>{s.stopPropagation(),e(s)};return f.jsx(GA,{onClick:i,iconProps:{src:QXt,boxSize:"36px",filter:n?"none":"grayscale(100%)"},buttonProps:{variant:"blank"},textProps:{strokeColor:n?"MagicBlack":"Neutral.EarlGrey"},value:r?0:(a=t==null?void 0:t.streakCount)!=null?a:0,isAlertActive:!n})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const VOe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/presentables/cover-sheet/useCoverSheetModal.tsx/isCoverSheetModalOpenAtom",Me(!1));VOe.debugLabel="isCoverSheetModalOpenAtom";const VA=()=>{const[e,t]=Ea(VOe);return{isOpen:e,open:()=>t(!0),close:()=>t(!1)}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const sQt=Io`
0% { transform: translate(-150%, -150%) rotate(45deg); }
20% { transform: translate(150%, 150%) rotate(45deg); }
100% { transform: translate(150%, 150%) rotate(45deg); }
`,oQt=()=>{const{open:e}=VA(),t=br(),r=()=>{Tt==="webview"?VV().catch(console.error):e()};return f.jsx(Xe,{h:t?"40px":"45px",px:t?"15px":"20px",fontSize:"18px",color:"MagicWhite",borderRadius:"12px",borderBottom:"3px solid rgba(0,0,0,0.4)",onClick:r,position:"relative",overflow:"hidden",pointerEvents:"auto",_before:{content:'""',position:"absolute",top:"-50%",left:"-50%",width:"200%",height:"200%",background:"linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.15) 55%, transparent 70%)",animation:`${sQt} 10s infinite`},_hover:{transform:"scale(1.02)"},_active:{borderBottomWidth:"1px",borderBottomColor:"rgba(0,0,0,0.2)",boxShadow:"inset 0 3px 2px rgba(0,0,0,0.2)"},transition:"transform 0.2s ease",children:f.jsx(L,{id:"n1ekoW"})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const YOe=e=>{const t=j.useRef(ft().get(wm)),r=kLe(),n=fn(),i=Wh(),a=Nl(),s=Fl(),o=Pe(Lv),l=Ww(),{sendToast:c}=Xh(),{_:u}=Pt();return j.useEffect(()=>{const d=ft();return d.sub(wm,()=>{const p=t.current,m=d.get(wm);m&&p===!1&&c({title:u({id:"uHcD4e"})}),t.current=m})},[c]),f.jsxs(bt,{id:"SystemHeader",visibility:o?"hidden":"visible",zIndex:s==="Quinoa"?"AboveGameModal":void 0,position:"relative",h:"var(--system-header-height)",templateColumns:"auto 1fr auto",p:1,pointerEvents:"none",...e,children:[f.jsxs(z,{autoW:!0,gap:{base:1,md:2},orient:"left",children:[f.jsx(Gr,{pointerEvents:"auto",onClick:d=>{d.stopPropagation(),l("party")},variant:"blank",p:.5,minW:"40px","aria-label":u({id:"8QdYwG"}),color:"MagicWhite",borderRadius:"10px",bg:"rgba(5, 5, 5, 0.65)",gap:1,whiteSpace:"nowrap",icon:f.jsx(JB,{size:"32px",strokeWidth:"2.5px",color:"white"})}),!a&&f.jsx(Gr,{pointerEvents:"auto",onClick:d=>{d.stopPropagation(),l("party-settings")},minW:"40px","aria-label":u({id:"W3cCE6"}),color:a||r!=="Lobby"?"MagicWhite":void 0,borderRadius:"10px",icon:f.jsx(L6,{size:"30px",strokeWidth:"2px",color:"white"}),p:.5,bg:"rgba(0, 0, 0, 0.65)"}),f.jsx(XXt,{pointerEvents:"auto","aria-label":u({id:"7g50/w"}),p:1}),!n&&f.jsx(oQt,{})]}),f.jsx(z,{}),f.jsxs(z,{orient:"right",children:[f.jsx(FXt,{}),f.jsx(BOe,{}),f.jsx(aQt,{}),f.jsx(z,{auto:!0,ml:1,children:f.jsx(jXt,{avatarProps:{playerOrId:i},buttonProps:{pointerEvents:"auto",onClick:d=>{d.stopPropagation(),l("profile")}}})})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function b2(){return br()?64:74}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Yl=({children:e,...t})=>{const r=pu(),n=Pe(Hh);return f.jsx(z,{zIndex:r?"AboveGameModal":"StandardModal",position:"absolute",top:r?"0px":"calc(-1 * var(--sait))",left:"calc(-1 * var(--sail))",width:"calc(100% + var(--sail) + var(--sair))",height:"calc(100% + var(--sait) + var(--saib))",pt:r?"calc(var(--sait) + 15px)":n?"calc(var(--sait) + 60px)":"calc(var(--sait) + 115px)",pb:r?"10px":"calc(var(--saib) + 110px)",px:"10px",bg:"rgba(24, 24, 24, 0.6)",overflow:"hidden",onClick:ks,orient:"top",...t,children:e})};var CE={},$ae;function lQt(){return $ae||($ae=1,(function(e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=(function(){var t=Object.prototype.hasOwnProperty,r=e.aliasToReal,n={};for(var i in r){var a=r[i];t.call(n,a)?n[a].push(i):n[a]=[i]}return n})(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}})(CE)),CE}var EE,Bae;function KOe(){return Bae||(Bae=1,EE={}),EE}var PE,Nae;function cQt(){if(Nae)return PE;Nae=1;var e=lQt(),t=KOe(),r=Array.prototype.push;function n(u,d){return d==2?function(h,p){return u.apply(void 0,arguments)}:function(h){return u.apply(void 0,arguments)}}function i(u,d){return d==2?function(h,p){return u(h,p)}:function(h){return u(h)}}function a(u){for(var d=u?u.length:0,h=Array(d);d--;)h[d]=u[d];return h}function s(u){return function(d){return u({},d)}}function o(u,d){return function(){for(var h=arguments.length,p=h-1,m=Array(h);h--;)m[h]=arguments[h];var g=m[d],b=m.slice(0,d);return g&&r.apply(b,g),d!=p&&r.apply(b,m.slice(d+1)),u.apply(this,b)}}function l(u,d){return function(){var h=arguments.length;if(h){for(var p=Array(h);h--;)p[h]=arguments[h];var m=p[0]=d.apply(void 0,p);return u.apply(void 0,p),m}}}function c(u,d,h,p){var m=typeof d=="function",g=d===Object(d);if(g&&(p=h,h=d,d=void 0),h==null)throw new TypeError;p||(p={});var b={cap:"cap"in p?p.cap:!0,curry:"curry"in p?p.curry:!0,fixed:"fixed"in p?p.fixed:!0,immutable:"immutable"in p?p.immutable:!0,rearg:"rearg"in p?p.rearg:!0},y=m?h:t,v="curry"in p&&p.curry,S="fixed"in p&&p.fixed,x="rearg"in p&&p.rearg,w=m?h.runInContext():void 0,A=m?h:{ary:u.ary,assign:u.assign,clone:u.clone,curry:u.curry,forEach:u.forEach,isArray:u.isArray,isError:u.isError,isFunction:u.isFunction,isWeakMap:u.isWeakMap,iteratee:u.iteratee,keys:u.keys,rearg:u.rearg,toInteger:u.toInteger,toPath:u.toPath},_=A.ary,C=A.assign,E=A.clone,R=A.curry,P=A.forEach,O=A.isArray,k=A.isError,I=A.isFunction,M=A.isWeakMap,D=A.keys,F=A.rearg,$=A.toInteger,Y=A.toPath,he=D(e.aryMethod),fe={castArray:function(le){return function(){var Te=arguments[0];return O(Te)?le(a(Te)):le.apply(void 0,arguments)}},iteratee:function(le){return function(){var Te=arguments[0],be=arguments[1],ze=le(Te,be),Ze=ze.length;return b.cap&&typeof be=="number"?(be=be>2?be-2:1,Ze&&Ze<=be?ze:i(ze,be)):ze}},mixin:function(le){return function(Te){var be=this;if(!I(be))return le(be,Object(Te));var ze=[];return P(D(Te),function(Ze){I(Te[Ze])&&ze.push([Ze,be.prototype[Ze]])}),le(be,Object(Te)),P(ze,function(Ze){var St=Ze[1];I(St)?be.prototype[Ze[0]]=St:delete be.prototype[Ze[0]]}),be}},nthArg:function(le){return function(Te){var be=Te<0?1:$(Te)+1;return R(le(Te),be)}},rearg:function(le){return function(Te,be){var ze=be?be.length:0;return R(le(Te,be),ze)}},runInContext:function(le){return function(Te){return c(u,le(Te),p)}}};function U(le,Te){if(b.cap){var be=e.iterateeRearg[le];if(be)return oe(Te,be);var ze=!m&&e.iterateeAry[le];if(ze)return Ye(Te,ze)}return Te}function W(le,Te,be){return v||b.curry&&be>1?R(Te,be):Te}function H(le,Te,be){if(b.fixed&&(S||!e.skipFixed[le])){var ze=e.methodSpread[le],Ze=ze&&ze.start;return Ze===void 0?_(Te,be):o(Te,Ze)}return Te}function ie(le,Te,be){return b.rearg&&be>1&&(x||!e.skipRearg[le])?F(Te,e.methodRearg[le]||e.aryRearg[be]):Te}function J(le,Te){Te=Y(Te);for(var be=-1,ze=Te.length,Ze=ze-1,St=E(Object(le)),Ut=St;Ut!=null&&++be<ze;){var Rt=Te[be],Dt=Ut[Rt];Dt!=null&&!(I(Dt)||k(Dt)||M(Dt))&&(Ut[Rt]=E(be==Ze?Dt:Object(Dt))),Ut=Ut[Rt]}return St}function we(le){return Ce.runInContext.convert(le)(void 0)}function Le(le,Te){var be=e.aliasToReal[le]||le,ze=e.remap[be]||be,Ze=p;return function(St){var Ut=m?w:A,Rt=m?w[ze]:Te,Dt=C(C({},Ze),St);return c(Ut,be,Rt,Dt)}}function Ye(le,Te){return X(le,function(be){return typeof be=="function"?i(be,Te):be})}function oe(le,Te){return X(le,function(be){var ze=Te.length;return n(F(i(be,ze),Te),ze)})}function X(le,Te){return function(){var be=arguments.length;if(!be)return le();for(var ze=Array(be);be--;)ze[be]=arguments[be];var Ze=b.rearg?0:be-1;return ze[Ze]=Te(ze[Ze]),le.apply(void 0,ze)}}function se(le,Te,be){var ze,Ze=e.aliasToReal[le]||le,St=Te,Ut=fe[Ze];return Ut?St=Ut(Te):b.immutable&&(e.mutate.array[Ze]?St=l(Te,a):e.mutate.object[Ze]?St=l(Te,s(Te)):e.mutate.set[Ze]&&(St=l(Te,J))),P(he,function(Rt){return P(e.aryMethod[Rt],function(Dt){if(Ze==Dt){var nt=e.methodSpread[Ze],Pr=nt&&nt.afterRearg;return ze=Pr?H(Ze,ie(Ze,St,Rt),Rt):ie(Ze,H(Ze,St,Rt),Rt),ze=U(Ze,ze),ze=W(Ze,ze,Rt),!1}}),!ze}),ze||(ze=St),ze==Te&&(ze=v?R(ze,1):function(){return Te.apply(this,arguments)}),ze.convert=Le(Ze,Te),ze.placeholder=Te.placeholder=be,ze}if(!g)return se(d,h,y);var Ce=h,ce=[];return P(he,function(le){P(e.aryMethod[le],function(Te){var be=Ce[e.remap[Te]||Te];be&&ce.push([Te,se(Te,be,Ce)])})}),P(D(Ce),function(le){var Te=Ce[le];if(typeof Te=="function"){for(var be=ce.length;be--;)if(ce[be][0]==le)return;Te.convert=Le(le,Te),ce.push([le,Te])}}),P(ce,function(le){Ce[le[0]]=le[1]}),Ce.convert=we,Ce.placeholder=Ce,P(D(Ce),function(le){P(e.realToAlias[le]||[],function(Te){Ce[Te]=Ce[le]})}),Ce}return PE=c,PE}var jE,qae;function XOe(){if(qae)return jE;qae=1;var e=DLe(),t=e&&new e;return jE=t,jE}var RE,zae;function QOe(){if(zae)return RE;zae=1;var e=nv(),t=XOe(),r=t?function(n,i){return t.set(n,i),n}:e;return RE=r,RE}var IE,Wae;function YA(){if(Wae)return IE;Wae=1;var e=$d(),t=Object.create,r=(function(){function n(){}return function(i){if(!e(i))return{};if(t)return t(i);n.prototype=i;var a=new n;return n.prototype=void 0,a}})();return IE=r,IE}var OE,Hae;function KA(){if(Hae)return OE;Hae=1;var e=YA(),t=$d();function r(n){return function(){var i=arguments;switch(i.length){case 0:return new n;case 1:return new n(i[0]);case 2:return new n(i[0],i[1]);case 3:return new n(i[0],i[1],i[2]);case 4:return new n(i[0],i[1],i[2],i[3]);case 5:return new n(i[0],i[1],i[2],i[3],i[4]);case 6:return new n(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new n(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var a=e(n.prototype),s=n.apply(a,i);return t(s)?s:a}}return OE=r,OE}var ME,Uae;function uQt(){if(Uae)return ME;Uae=1;var e=KA(),t=iv(),r=1;function n(i,a,s){var o=a&r,l=e(i);function c(){var u=this&&this!==t&&this instanceof c?l:i;return u.apply(o?s:this,arguments)}return c}return ME=n,ME}var kE,Gae;function ZV(){if(Gae)return kE;Gae=1;function e(t,r,n){switch(n.length){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}return kE=e,kE}var DE,Vae;function JOe(){if(Vae)return DE;Vae=1;var e=Math.max;function t(r,n,i,a){for(var s=-1,o=r.length,l=i.length,c=-1,u=n.length,d=e(o-l,0),h=Array(u+d),p=!a;++c<u;)h[c]=n[c];for(;++s<l;)(p||s<o)&&(h[i[s]]=r[s]);for(;d--;)h[c++]=r[s++];return h}return DE=t,DE}var LE,Yae;function ZOe(){if(Yae)return LE;Yae=1;var e=Math.max;function t(r,n,i,a){for(var s=-1,o=r.length,l=-1,c=i.length,u=-1,d=n.length,h=e(o-c,0),p=Array(h+d),m=!a;++s<h;)p[s]=r[s];for(var g=s;++u<d;)p[g+u]=n[u];for(;++l<c;)(m||s<o)&&(p[g+i[l]]=r[s++]);return p}return LE=t,LE}var FE,Kae;function dQt(){if(Kae)return FE;Kae=1;function e(t,r){for(var n=t.length,i=0;n--;)t[n]===r&&++i;return i}return FE=e,FE}var $E,Xae;function eY(){if(Xae)return $E;Xae=1;function e(){}return $E=e,$E}var BE,Qae;function tY(){if(Qae)return BE;Qae=1;var e=YA(),t=eY(),r=4294967295;function n(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=r,this.__views__=[]}return n.prototype=e(t.prototype),n.prototype.constructor=n,BE=n,BE}var NE,Jae;function pQt(){if(Jae)return NE;Jae=1;function e(){}return NE=e,NE}var qE,Zae;function eMe(){if(Zae)return qE;Zae=1;var e=XOe(),t=pQt(),r=e?function(n){return e.get(n)}:t;return qE=r,qE}var zE,ese;function hQt(){if(ese)return zE;ese=1;var e={};return zE=e,zE}var WE,tse;function fQt(){if(tse)return WE;tse=1;var e=hQt(),t=Object.prototype,r=t.hasOwnProperty;function n(i){for(var a=i.name+"",s=e[a],o=r.call(e,a)?s.length:0;o--;){var l=s[o],c=l.func;if(c==null||c==i)return l.name}return a}return WE=n,WE}var HE,rse;function tMe(){if(rse)return HE;rse=1;var e=YA(),t=eY();function r(n,i){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=void 0}return r.prototype=e(t.prototype),r.prototype.constructor=r,HE=r,HE}var UE,nse;function XA(){if(nse)return UE;nse=1;function e(t,r){var n=-1,i=t.length;for(r||(r=Array(i));++n<i;)r[n]=t[n];return r}return UE=e,UE}var GE,ise;function mQt(){if(ise)return GE;ise=1;var e=tY(),t=tMe(),r=XA();function n(i){if(i instanceof e)return i.clone();var a=new t(i.__wrapped__,i.__chain__);return a.__actions__=r(i.__actions__),a.__index__=i.__index__,a.__values__=i.__values__,a}return GE=n,GE}var VE,ase;function gQt(){if(ase)return VE;ase=1;var e=tY(),t=tMe(),r=eY(),n=Ro(),i=Bd(),a=mQt(),s=Object.prototype,o=s.hasOwnProperty;function l(c){if(i(c)&&!n(c)&&!(c instanceof e)){if(c instanceof t)return c;if(o.call(c,"__wrapped__"))return a(c)}return new t(c)}return l.prototype=r.prototype,l.prototype.constructor=l,VE=l,VE}var YE,sse;function bQt(){if(sse)return YE;sse=1;var e=tY(),t=eMe(),r=fQt(),n=gQt();function i(a){var s=r(a),o=n[s];if(typeof o!="function"||!(s in e.prototype))return!1;if(a===o)return!0;var l=t(o);return!!l&&a===l[0]}return YE=i,YE}var KE,ose;function rMe(){if(ose)return KE;ose=1;var e=800,t=16,r=Date.now;function n(i){var a=0,s=0;return function(){var o=r(),l=t-(o-s);if(s=o,l>0){if(++a>=e)return arguments[0]}else a=0;return i.apply(void 0,arguments)}}return KE=n,KE}var XE,lse;function nMe(){if(lse)return XE;lse=1;var e=QOe(),t=rMe(),r=t(e);return XE=r,XE}var QE,cse;function yQt(){if(cse)return QE;cse=1;var e=/\{\n\/\* \[wrapped with (.+)\] \*/,t=/,? & /;function r(n){var i=n.match(e);return i?i[1].split(t):[]}return QE=r,QE}var JE,use;function vQt(){if(use)return JE;use=1;var e=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function t(r,n){var i=n.length;if(!i)return r;var a=i-1;return n[a]=(i>1?"& ":"")+n[a],n=n.join(i>2?", ":" "),r.replace(e,`{
/* [wrapped with `+n+`] */
`)}return JE=t,JE}var ZE,dse;function TQt(){if(dse)return ZE;dse=1;function e(t){return function(){return t}}return ZE=e,ZE}var eP,pse;function iMe(){if(pse)return eP;pse=1;var e=LLe(),t=(function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch(n){}})();return eP=t,eP}var tP,hse;function SQt(){if(hse)return tP;hse=1;var e=TQt(),t=iMe(),r=nv(),n=t?function(i,a){return t(i,"toString",{configurable:!0,enumerable:!1,value:e(a),writable:!0})}:r;return tP=n,tP}var rP,fse;function rY(){if(fse)return rP;fse=1;var e=SQt(),t=rMe(),r=t(e);return rP=r,rP}var nP,mse;function nY(){if(mse)return nP;mse=1;function e(t,r){for(var n=-1,i=t==null?0:t.length;++n<i&&r(t[n],n,t)!==!1;);return t}return nP=e,nP}var iP,gse;function xQt(){if(gse)return iP;gse=1;function e(t,r,n,i){for(var a=t.length,s=n+(i?1:-1);i?s--:++s<a;)if(r(t[s],s,t))return s;return-1}return iP=e,iP}var aP,bse;function wQt(){if(bse)return aP;bse=1;function e(t){return t!==t}return aP=e,aP}var sP,yse;function _Qt(){if(yse)return sP;yse=1;function e(t,r,n){for(var i=n-1,a=t.length;++i<a;)if(t[i]===r)return i;return-1}return sP=e,sP}var oP,vse;function AQt(){if(vse)return oP;vse=1;var e=xQt(),t=wQt(),r=_Qt();function n(i,a,s){return a===a?r(i,a,s):e(i,t,s)}return oP=n,oP}var lP,Tse;function CQt(){if(Tse)return lP;Tse=1;var e=AQt();function t(r,n){var i=r==null?0:r.length;return!!i&&e(r,n,0)>-1}return lP=t,lP}var cP,Sse;function EQt(){if(Sse)return cP;Sse=1;var e=nY(),t=CQt(),r=1,n=2,i=8,a=16,s=32,o=64,l=128,c=256,u=512,d=[["ary",l],["bind",r],["bindKey",n],["curry",i],["curryRight",a],["flip",u],["partial",s],["partialRight",o],["rearg",c]];function h(p,m){return e(d,function(g){var b="_."+g[0];m&g[1]&&!t(p,b)&&p.push(b)}),p.sort()}return cP=h,cP}var uP,xse;function aMe(){if(xse)return uP;xse=1;var e=yQt(),t=vQt(),r=rY(),n=EQt();function i(a,s,o){var l=s+"";return r(a,t(l,n(e(l),o)))}return uP=i,uP}var dP,wse;function sMe(){if(wse)return dP;wse=1;var e=bQt(),t=nMe(),r=aMe(),n=4,i=8,a=32,s=64;function o(l,c,u,d,h,p,m,g,b,y){var v=c&i,S=v?m:void 0,x=v?void 0:m,w=v?p:void 0,A=v?void 0:p;c|=v?a:s,c&=~(v?s:a),c&n||(c&=-4);var _=[l,c,h,w,S,A,x,g,b,y],C=u.apply(void 0,_);return e(l)&&t(C,_),C.placeholder=d,r(C,l,c)}return dP=o,dP}var pP,_se;function oMe(){if(_se)return pP;_se=1;function e(t){var r=t;return r.placeholder}return pP=e,pP}var hP,Ase;function PQt(){if(Ase)return hP;Ase=1;var e=XA(),t=HF(),r=Math.min;function n(i,a){for(var s=i.length,o=r(a.length,s),l=e(i);o--;){var c=a[o];i[o]=t(c,s)?l[c]:void 0}return i}return hP=n,hP}var fP,Cse;function iY(){if(Cse)return fP;Cse=1;var e="__lodash_placeholder__";function t(r,n){for(var i=-1,a=r.length,s=0,o=[];++i<a;){var l=r[i];(l===n||l===e)&&(r[i]=e,o[s++]=i)}return o}return fP=t,fP}var mP,Ese;function lMe(){if(Ese)return mP;Ese=1;var e=JOe(),t=ZOe(),r=dQt(),n=KA(),i=sMe(),a=oMe(),s=PQt(),o=iY(),l=iv(),c=1,u=2,d=8,h=16,p=128,m=512;function g(b,y,v,S,x,w,A,_,C,E){var R=y&p,P=y&c,O=y&u,k=y&(d|h),I=y&m,M=O?void 0:n(b);function D(){for(var F=arguments.length,$=Array(F),Y=F;Y--;)$[Y]=arguments[Y];if(k)var he=a(D),fe=r($,he);if(S&&($=e($,S,x,k)),w&&($=t($,w,A,k)),F-=fe,k&&F<E){var U=o($,he);return i(b,y,g,D.placeholder,v,$,U,_,C,E-F)}var W=P?v:this,H=O?W[b]:b;return F=$.length,_?$=s($,_):I&&F>1&&$.reverse(),R&&C<F&&($.length=C),this&&this!==l&&this instanceof D&&(H=M||n(H)),H.apply(W,$)}return D}return mP=g,mP}var gP,Pse;function jQt(){if(Pse)return gP;Pse=1;var e=ZV(),t=KA(),r=lMe(),n=sMe(),i=oMe(),a=iY(),s=iv();function o(l,c,u){var d=t(l);function h(){for(var p=arguments.length,m=Array(p),g=p,b=i(h);g--;)m[g]=arguments[g];var y=p<3&&m[0]!==b&&m[p-1]!==b?[]:a(m,b);if(p-=y.length,p<u)return n(l,c,r,h.placeholder,void 0,m,y,void 0,void 0,u-p);var v=this&&this!==s&&this instanceof h?d:l;return e(v,this,m)}return h}return gP=o,gP}var bP,jse;function RQt(){if(jse)return bP;jse=1;var e=ZV(),t=KA(),r=iv(),n=1;function i(a,s,o,l){var c=s&n,u=t(a);function d(){for(var h=-1,p=arguments.length,m=-1,g=l.length,b=Array(g+p),y=this&&this!==r&&this instanceof d?u:a;++m<g;)b[m]=l[m];for(;p--;)b[m++]=arguments[++h];return e(y,c?o:this,b)}return d}return bP=i,bP}var yP,Rse;function IQt(){if(Rse)return yP;Rse=1;var e=JOe(),t=ZOe(),r=iY(),n="__lodash_placeholder__",i=1,a=2,s=4,o=8,l=128,c=256,u=Math.min;function d(h,p){var m=h[1],g=p[1],b=m|g,y=b<(i|a|l),v=g==l&&m==o||g==l&&m==c&&h[7].length<=p[8]||g==(l|c)&&p[7].length<=p[8]&&m==o;if(!(y||v))return h;g&i&&(h[2]=p[2],b|=m&i?0:s);var S=p[3];if(S){var x=h[3];h[3]=x?e(x,S,p[4]):S,h[4]=x?r(h[3],n):p[4]}return S=p[5],S&&(x=h[5],h[5]=x?t(x,S,p[6]):S,h[6]=x?r(h[5],n):p[6]),S=p[7],S&&(h[7]=S),g&l&&(h[8]=h[8]==null?p[8]:u(h[8],p[8])),h[9]==null&&(h[9]=p[9]),h[0]=p[0],h[1]=b,h}return yP=d,yP}var vP,Ise;function OQt(){if(Ise)return vP;Ise=1;var e=/\s/;function t(r){for(var n=r.length;n--&&e.test(r.charAt(n)););return n}return vP=t,vP}var TP,Ose;function MQt(){if(Ose)return TP;Ose=1;var e=OQt(),t=/^\s+/;function r(n){return n&&n.slice(0,e(n)+1).replace(t,"")}return TP=r,TP}var SP,Mse;function J1(){if(Mse)return SP;Mse=1;var e=Yw(),t=Bd(),r="[object Symbol]";function n(i){return typeof i=="symbol"||t(i)&&e(i)==r}return SP=n,SP}var xP,kse;function kQt(){if(kse)return xP;kse=1;var e=MQt(),t=$d(),r=J1(),n=NaN,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,o=parseInt;function l(c){if(typeof c=="number")return c;if(r(c))return n;if(t(c)){var u=typeof c.valueOf=="function"?c.valueOf():c;c=t(u)?u+"":u}if(typeof c!="string")return c===0?c:+c;c=e(c);var d=a.test(c);return d||s.test(c)?o(c.slice(2),d?2:8):i.test(c)?n:+c}return xP=l,xP}var wP,Dse;function DQt(){if(Dse)return wP;Dse=1;var e=kQt(),t=1/0,r=17976931348623157e292;function n(i){if(!i)return i===0?i:0;if(i=e(i),i===t||i===-t){var a=i<0?-1:1;return a*r}return i===i?i:0}return wP=n,wP}var _P,Lse;function aY(){if(Lse)return _P;Lse=1;var e=DQt();function t(r){var n=e(r),i=n%1;return n===n?i?n-i:n:0}return _P=t,_P}var AP,Fse;function sY(){if(Fse)return AP;Fse=1;var e=QOe(),t=uQt(),r=jQt(),n=lMe(),i=RQt(),a=eMe(),s=IQt(),o=nMe(),l=aMe(),c=aY(),u="Expected a function",d=1,h=2,p=8,m=16,g=32,b=64,y=Math.max;function v(S,x,w,A,_,C,E,R){var P=x&h;if(!P&&typeof S!="function")throw new TypeError(u);var O=A?A.length:0;if(O||(x&=-97,A=_=void 0),E=E===void 0?E:y(c(E),0),R=R===void 0?R:c(R),O-=_?_.length:0,x&b){var k=A,I=_;A=_=void 0}var M=P?void 0:a(S),D=[S,x,w,A,_,k,I,C,E,R];if(M&&s(D,M),S=D[0],x=D[1],w=D[2],A=D[3],_=D[4],R=D[9]=D[9]===void 0?P?0:S.length:y(D[9]-O,0),!R&&x&(p|m)&&(x&=-25),!x||x==d)var F=t(S,x,w);else x==p||x==m?F=r(S,x,R):(x==g||x==(d|g))&&!_.length?F=i(S,x,w,A):F=n.apply(void 0,D);var $=M?e:o;return l($(F,D),S,x)}return AP=v,AP}var CP,$se;function LQt(){if($se)return CP;$se=1;var e=sY(),t=128;function r(n,i,a){return i=a?void 0:i,i=n&&i==null?n.length:i,e(n,t,void 0,void 0,void 0,void 0,i)}return CP=r,CP}var EP,Bse;function cMe(){if(Bse)return EP;Bse=1;var e=iMe();function t(r,n,i){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):r[n]=i}return EP=t,EP}var PP,Nse;function uMe(){if(Nse)return PP;Nse=1;var e=cMe(),t=qce(),r=Object.prototype,n=r.hasOwnProperty;function i(a,s,o){var l=a[s];(!(n.call(a,s)&&t(l,o))||o===void 0&&!(s in a))&&e(a,s,o)}return PP=i,PP}var jP,qse;function QA(){if(qse)return jP;qse=1;var e=uMe(),t=cMe();function r(n,i,a,s){var o=!a;a||(a={});for(var l=-1,c=i.length;++l<c;){var u=i[l],d=s?s(a[u],n[u],u,a,n):void 0;d===void 0&&(d=n[u]),o?t(a,u,d):e(a,u,d)}return a}return jP=r,jP}var RP,zse;function dMe(){if(zse)return RP;zse=1;var e=QA(),t=Kw();function r(n,i){return n&&e(i,t(i),n)}return RP=r,RP}var IP,Wse;function FQt(){if(Wse)return IP;Wse=1;function e(t){var r=[];if(t!=null)for(var n in Object(t))r.push(n);return r}return IP=e,IP}var OP,Hse;function $Qt(){if(Hse)return OP;Hse=1;var e=$d(),t=zce(),r=FQt(),n=Object.prototype,i=n.hasOwnProperty;function a(s){if(!e(s))return r(s);var o=t(s),l=[];for(var c in s)c=="constructor"&&(o||!i.call(s,c))||l.push(c);return l}return OP=a,OP}var MP,Use;function oY(){if(Use)return MP;Use=1;var e=FLe(),t=$Qt(),r=Xw();function n(i){return r(i)?e(i,!0):t(i)}return MP=n,MP}var kP,Gse;function BQt(){if(Gse)return kP;Gse=1;var e=QA(),t=oY();function r(n,i){return n&&e(i,t(i),n)}return kP=r,kP}var xy={exports:{}};xy.exports;var Vse;function NQt(){return Vse||(Vse=1,(function(e,t){var r=iv(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,s=a?r.Buffer:void 0,o=s?s.allocUnsafe:void 0;function l(c,u){if(u)return c.slice();var d=c.length,h=o?o(d):new c.constructor(d);return c.copy(h),h}e.exports=l})(xy,xy.exports)),xy.exports}var DP,Yse;function qQt(){if(Yse)return DP;Yse=1;var e=QA(),t=Wce();function r(n,i){return e(n,t(n),i)}return DP=r,DP}var LP,Kse;function lY(){if(Kse)return LP;Kse=1;var e=$Le(),t=e(Object.getPrototypeOf,Object);return LP=t,LP}var FP,Xse;function pMe(){if(Xse)return FP;Xse=1;var e=Hce(),t=lY(),r=Wce(),n=BLe(),i=Object.getOwnPropertySymbols,a=i?function(s){for(var o=[];s;)e(o,r(s)),s=t(s);return o}:n;return FP=a,FP}var $P,Qse;function zQt(){if(Qse)return $P;Qse=1;var e=QA(),t=pMe();function r(n,i){return e(n,t(n),i)}return $P=r,$P}var BP,Jse;function WQt(){if(Jse)return BP;Jse=1;var e=NLe(),t=pMe(),r=oY();function n(i){return e(i,r,t)}return BP=n,BP}var NP,Zse;function HQt(){if(Zse)return NP;Zse=1;var e=Object.prototype,t=e.hasOwnProperty;function r(n){var i=n.length,a=new n.constructor(i);return i&&typeof n[0]=="string"&&t.call(n,"index")&&(a.index=n.index,a.input=n.input),a}return NP=r,NP}var qP,eoe;function cY(){if(eoe)return qP;eoe=1;var e=qLe();function t(r){var n=new r.constructor(r.byteLength);return new e(n).set(new e(r)),n}return qP=t,qP}var zP,toe;function UQt(){if(toe)return zP;toe=1;var e=cY();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.byteLength)}return zP=t,zP}var WP,roe;function GQt(){if(roe)return WP;roe=1;var e=/\w*$/;function t(r){var n=new r.constructor(r.source,e.exec(r));return n.lastIndex=r.lastIndex,n}return WP=t,WP}var HP,noe;function VQt(){if(noe)return HP;noe=1;var e=UF(),t=e?e.prototype:void 0,r=t?t.valueOf:void 0;function n(i){return r?Object(r.call(i)):{}}return HP=n,HP}var UP,ioe;function YQt(){if(ioe)return UP;ioe=1;var e=cY();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.length)}return UP=t,UP}var GP,aoe;function KQt(){if(aoe)return GP;aoe=1;var e=cY(),t=UQt(),r=GQt(),n=VQt(),i=YQt(),a="[object Boolean]",s="[object Date]",o="[object Map]",l="[object Number]",c="[object RegExp]",u="[object Set]",d="[object String]",h="[object Symbol]",p="[object ArrayBuffer]",m="[object DataView]",g="[object Float32Array]",b="[object Float64Array]",y="[object Int8Array]",v="[object Int16Array]",S="[object Int32Array]",x="[object Uint8Array]",w="[object Uint8ClampedArray]",A="[object Uint16Array]",_="[object Uint32Array]";function C(E,R,P){var O=E.constructor;switch(R){case p:return e(E);case a:case s:return new O(+E);case m:return t(E,P);case g:case b:case y:case v:case S:case x:case w:case A:case _:return i(E,P);case o:return new O;case l:case d:return new O(E);case c:return r(E);case u:return new O;case h:return n(E)}}return GP=C,GP}var VP,soe;function XQt(){if(soe)return VP;soe=1;var e=YA(),t=lY(),r=zce();function n(i){return typeof i.constructor=="function"&&!r(i)?e(t(i)):{}}return VP=n,VP}var YP,ooe;function QQt(){if(ooe)return YP;ooe=1;var e=Qw(),t=Bd(),r="[object Map]";function n(i){return t(i)&&e(i)==r}return YP=n,YP}var KP,loe;function JQt(){if(loe)return KP;loe=1;var e=QQt(),t=Jw(),r=GF(),n=r&&r.isMap,i=n?t(n):e;return KP=i,KP}var XP,coe;function ZQt(){if(coe)return XP;coe=1;var e=Qw(),t=Bd(),r="[object Set]";function n(i){return t(i)&&e(i)==r}return XP=n,XP}var QP,uoe;function eJt(){if(uoe)return QP;uoe=1;var e=ZQt(),t=Jw(),r=GF(),n=r&&r.isSet,i=n?t(n):e;return QP=i,QP}var JP,doe;function hMe(){if(doe)return JP;doe=1;var e=Uce(),t=nY(),r=uMe(),n=dMe(),i=BQt(),a=NQt(),s=XA(),o=qQt(),l=zQt(),c=zLe(),u=WQt(),d=Qw(),h=HQt(),p=KQt(),m=XQt(),g=Ro(),b=WLe(),y=JQt(),v=$d(),S=eJt(),x=Kw(),w=oY(),A=1,_=2,C=4,E="[object Arguments]",R="[object Array]",P="[object Boolean]",O="[object Date]",k="[object Error]",I="[object Function]",M="[object GeneratorFunction]",D="[object Map]",F="[object Number]",$="[object Object]",Y="[object RegExp]",he="[object Set]",fe="[object String]",U="[object Symbol]",W="[object WeakMap]",H="[object ArrayBuffer]",ie="[object DataView]",J="[object Float32Array]",we="[object Float64Array]",Le="[object Int8Array]",Ye="[object Int16Array]",oe="[object Int32Array]",X="[object Uint8Array]",se="[object Uint8ClampedArray]",Ce="[object Uint16Array]",ce="[object Uint32Array]",le={};le[E]=le[R]=le[H]=le[ie]=le[P]=le[O]=le[J]=le[we]=le[Le]=le[Ye]=le[oe]=le[D]=le[F]=le[$]=le[Y]=le[he]=le[fe]=le[U]=le[X]=le[se]=le[Ce]=le[ce]=!0,le[k]=le[I]=le[W]=!1;function Te(be,ze,Ze,St,Ut,Rt){var Dt,nt=ze&A,Pr=ze&_,q=ze&C;if(Ze&&(Dt=Ut?Ze(be,St,Ut,Rt):Ze(be)),Dt!==void 0)return Dt;if(!v(be))return be;var K=g(be);if(K){if(Dt=h(be),!nt)return s(be,Dt)}else{var pe=d(be),ye=pe==I||pe==M;if(b(be))return a(be,nt);if(pe==$||pe==E||ye&&!Ut){if(Dt=Pr||ye?{}:m(be),!nt)return Pr?l(be,i(Dt,be)):o(be,n(Dt,be))}else{if(!le[pe])return Ut?be:{};Dt=p(be,pe,nt)}}Rt||(Rt=new e);var ke=Rt.get(be);if(ke)return ke;Rt.set(be,Dt),S(be)?be.forEach(function(Fe){Dt.add(Te(Fe,ze,Ze,Fe,be,Rt))}):y(be)&&be.forEach(function(Fe,We){Dt.set(We,Te(Fe,ze,Ze,We,be,Rt))});var je=q?Pr?u:c:Pr?w:x,qe=K?void 0:je(be);return t(qe||be,function(Fe,We){qe&&(We=Fe,Fe=be[We]),r(Dt,We,Te(Fe,ze,Ze,We,be,Rt))}),Dt}return JP=Te,JP}var ZP,poe;function tJt(){if(poe)return ZP;poe=1;var e=hMe(),t=4;function r(n){return e(n,t)}return ZP=r,ZP}var ej,hoe;function rJt(){if(hoe)return ej;hoe=1;var e=sY(),t=8;function r(n,i,a){i=a?void 0:i;var s=e(n,t,void 0,void 0,void 0,void 0,void 0,i);return s.placeholder=r.placeholder,s}return r.placeholder={},ej=r,ej}var tj,foe;function nJt(){if(foe)return tj;foe=1;var e=Yw(),t=lY(),r=Bd(),n="[object Object]",i=Function.prototype,a=Object.prototype,s=i.toString,o=a.hasOwnProperty,l=s.call(Object);function c(u){if(!r(u)||e(u)!=n)return!1;var d=t(u);if(d===null)return!0;var h=o.call(d,"constructor")&&d.constructor;return typeof h=="function"&&h instanceof h&&s.call(h)==l}return tj=c,tj}var rj,moe;function iJt(){if(moe)return rj;moe=1;var e=Yw(),t=Bd(),r=nJt(),n="[object DOMException]",i="[object Error]";function a(s){if(!t(s))return!1;var o=e(s);return o==i||o==n||typeof s.message=="string"&&typeof s.name=="string"&&!r(s)}return rj=a,rj}var nj,goe;function aJt(){if(goe)return nj;goe=1;var e=Qw(),t=Bd(),r="[object WeakMap]";function n(i){return t(i)&&e(i)==r}return nj=n,nj}var ij,boe;function sJt(){if(boe)return ij;boe=1;var e=Uce(),t=Gce(),r=1,n=2;function i(a,s,o,l){var c=o.length,u=c,d=!l;if(a==null)return!u;for(a=Object(a);c--;){var h=o[c];if(d&&h[2]?h[1]!==a[h[0]]:!(h[0]in a))return!1}for(;++c<u;){h=o[c];var p=h[0],m=a[p],g=h[1];if(d&&h[2]){if(m===void 0&&!(p in a))return!1}else{var b=new e;if(l)var y=l(m,g,p,a,s,b);if(!(y===void 0?t(g,m,r|n,l,b):y))return!1}}return!0}return ij=i,ij}var aj,yoe;function fMe(){if(yoe)return aj;yoe=1;var e=$d();function t(r){return r===r&&!e(r)}return aj=t,aj}var sj,voe;function oJt(){if(voe)return sj;voe=1;var e=fMe(),t=Kw();function r(n){for(var i=t(n),a=i.length;a--;){var s=i[a],o=n[s];i[a]=[s,o,e(o)]}return i}return sj=r,sj}var oj,Toe;function mMe(){if(Toe)return oj;Toe=1;function e(t,r){return function(n){return n==null?!1:n[t]===r&&(r!==void 0||t in Object(n))}}return oj=e,oj}var lj,Soe;function lJt(){if(Soe)return lj;Soe=1;var e=sJt(),t=oJt(),r=mMe();function n(i){var a=t(i);return a.length==1&&a[0][2]?r(a[0][0],a[0][1]):function(s){return s===i||e(s,i,a)}}return lj=n,lj}var cj,xoe;function uY(){if(xoe)return cj;xoe=1;var e=Ro(),t=J1(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,s){if(e(a))return!1;var o=typeof a;return o=="number"||o=="symbol"||o=="boolean"||a==null||t(a)?!0:n.test(a)||!r.test(a)||s!=null&&a in Object(s)}return cj=i,cj}var uj,woe;function cJt(){if(woe)return uj;woe=1;var e=HLe(),t="Expected a function";function r(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(t);var a=function(){var s=arguments,o=i?i.apply(this,s):s[0],l=a.cache;if(l.has(o))return l.get(o);var c=n.apply(this,s);return a.cache=l.set(o,c)||l,c};return a.cache=new(r.Cache||e),a}return r.Cache=e,uj=r,uj}var dj,_oe;function uJt(){if(_oe)return dj;_oe=1;var e=cJt(),t=500;function r(n){var i=e(n,function(s){return a.size===t&&a.clear(),s}),a=i.cache;return i}return dj=r,dj}var pj,Aoe;function gMe(){if(Aoe)return pj;Aoe=1;var e=uJt(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(t,function(s,o,l,c){a.push(l?c.replace(r,"$1"):o||s)}),a});return pj=n,pj}var hj,Coe;function bMe(){if(Coe)return hj;Coe=1;var e=UF(),t=VF(),r=Ro(),n=J1(),i=e?e.prototype:void 0,a=i?i.toString:void 0;function s(o){if(typeof o=="string")return o;if(r(o))return t(o,s)+"";if(n(o))return a?a.call(o):"";var l=o+"";return l=="0"&&1/o==-1/0?"-0":l}return hj=s,hj}var fj,Eoe;function dY(){if(Eoe)return fj;Eoe=1;var e=bMe();function t(r){return r==null?"":e(r)}return fj=t,fj}var mj,Poe;function yMe(){if(Poe)return mj;Poe=1;var e=Ro(),t=uY(),r=gMe(),n=dY();function i(a,s){return e(a)?a:t(a,s)?[a]:r(n(a))}return mj=i,mj}var gj,joe;function y2(){if(joe)return gj;joe=1;var e=J1();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return gj=t,gj}var bj,Roe;function pY(){if(Roe)return bj;Roe=1;var e=yMe(),t=y2();function r(n,i){i=e(i,n);for(var a=0,s=i.length;n!=null&&a<s;)n=n[t(i[a++])];return a&&a==s?n:void 0}return bj=r,bj}var yj,Ioe;function dJt(){if(Ioe)return yj;Ioe=1;var e=pY();function t(r,n,i){var a=r==null?void 0:e(r,n);return a===void 0?i:a}return yj=t,yj}var vj,Ooe;function pJt(){if(Ooe)return vj;Ooe=1;function e(t,r){return t!=null&&r in Object(t)}return vj=e,vj}var Tj,Moe;function hJt(){if(Moe)return Tj;Moe=1;var e=yMe(),t=Vce(),r=Ro(),n=HF(),i=ULe(),a=y2();function s(o,l,c){l=e(l,o);for(var u=-1,d=l.length,h=!1;++u<d;){var p=a(l[u]);if(!(h=o!=null&&c(o,p)))break;o=o[p]}return h||++u!=d?h:(d=o==null?0:o.length,!!d&&i(d)&&n(p,d)&&(r(o)||t(o)))}return Tj=s,Tj}var Sj,koe;function fJt(){if(koe)return Sj;koe=1;var e=pJt(),t=hJt();function r(n,i){return n!=null&&t(n,i,e)}return Sj=r,Sj}var xj,Doe;function mJt(){if(Doe)return xj;Doe=1;var e=Gce(),t=dJt(),r=fJt(),n=uY(),i=fMe(),a=mMe(),s=y2(),o=1,l=2;function c(u,d){return n(u)&&i(d)?a(s(u),d):function(h){var p=t(h,u);return p===void 0&&p===d?r(h,u):e(d,p,o|l)}}return xj=c,xj}var wj,Loe;function vMe(){if(Loe)return wj;Loe=1;function e(t){return function(r){return r==null?void 0:r[t]}}return wj=e,wj}var _j,Foe;function gJt(){if(Foe)return _j;Foe=1;var e=pY();function t(r){return function(n){return e(n,r)}}return _j=t,_j}var Aj,$oe;function bJt(){if($oe)return Aj;$oe=1;var e=vMe(),t=gJt(),r=uY(),n=y2();function i(a){return r(a)?e(n(a)):t(a)}return Aj=i,Aj}var Cj,Boe;function TMe(){if(Boe)return Cj;Boe=1;var e=lJt(),t=mJt(),r=nv(),n=Ro(),i=bJt();function a(s){return typeof s=="function"?s:s==null?r:typeof s=="object"?n(s)?t(s[0],s[1]):e(s):i(s)}return Cj=a,Cj}var Ej,Noe;function yJt(){if(Noe)return Ej;Noe=1;var e=hMe(),t=TMe(),r=1;function n(i){return t(typeof i=="function"?i:e(i,r))}return Ej=n,Ej}var Pj,qoe;function vJt(){if(qoe)return Pj;qoe=1;var e=UF(),t=Vce(),r=Ro(),n=e?e.isConcatSpreadable:void 0;function i(a){return r(a)||t(a)||!!(n&&a&&a[n])}return Pj=i,Pj}var jj,zoe;function SMe(){if(zoe)return jj;zoe=1;var e=Hce(),t=vJt();function r(n,i,a,s,o){var l=-1,c=n.length;for(a||(a=t),o||(o=[]);++l<c;){var u=n[l];i>0&&a(u)?i>1?r(u,i-1,a,s,o):e(o,u):s||(o[o.length]=u)}return o}return jj=r,jj}var Rj,Woe;function TJt(){if(Woe)return Rj;Woe=1;var e=SMe();function t(r){var n=r==null?0:r.length;return n?e(r,1):[]}return Rj=t,Rj}var Ij,Hoe;function xMe(){if(Hoe)return Ij;Hoe=1;var e=ZV(),t=Math.max;function r(n,i,a){return i=t(i===void 0?n.length-1:i,0),function(){for(var s=arguments,o=-1,l=t(s.length-i,0),c=Array(l);++o<l;)c[o]=s[i+o];o=-1;for(var u=Array(i+1);++o<i;)u[o]=s[o];return u[i]=a(c),e(n,this,u)}}return Ij=r,Ij}var Oj,Uoe;function SJt(){if(Uoe)return Oj;Uoe=1;var e=TJt(),t=xMe(),r=rY();function n(i){return r(t(i,void 0,e),i+"")}return Oj=n,Oj}var Mj,Goe;function xJt(){if(Goe)return Mj;Goe=1;var e=sY(),t=SJt(),r=256,n=t(function(i,a){return e(i,r,void 0,void 0,void 0,a)});return Mj=n,Mj}var kj,Voe;function wJt(){if(Voe)return kj;Voe=1;var e=VF(),t=XA(),r=Ro(),n=J1(),i=gMe(),a=y2(),s=dY();function o(l){return r(l)?e(l,a):n(l)?[l]:t(i(s(l)))}return kj=o,kj}var Dj,Yoe;function _Jt(){return Yoe||(Yoe=1,Dj={ary:LQt(),assign:dMe(),clone:tJt(),curry:rJt(),forEach:nY(),isArray:Ro(),isError:iJt(),isFunction:VLe(),isWeakMap:aJt(),iteratee:yJt(),keys:GLe(),rearg:xJt(),toInteger:aY(),toPath:wJt()}),Dj}var Lj,Koe;function AJt(){if(Koe)return Lj;Koe=1;var e=cQt(),t=_Jt();function r(n,i,a){return e(t,n,i,a)}return Lj=r,Lj}var Fj,Xoe;function CJt(){if(Xoe)return Fj;Xoe=1;var e=AJt(),t=e("isEqual",YLe());return t.placeholder=KOe(),Fj=t,Fj}var EJt=CJt();const wMe=Ld(EJt);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const v2=yt((e,t)=>f.jsx(G0,{ref:t,as:Sv,...e}));v2.displayName="InfoIcon";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ym=({mutations:e=[],weight:t,targetSize:r,showWeightUnit:n=!0,fontSize:i={base:"10px",md:"12px"},isCompact:a=!1,infoIconProps:s})=>{const o=[...e].sort((c,u)=>{const d=a7.indexOf(c),h=a7.indexOf(u);return d-h}),l=typeof t=="string"?t:t!==void 0?t<1?Math.max(t,.01).toFixed(2):t<10?t.toFixed(1):Math.round(t).toString():void 0;return o.length===0&&!l?null:f.jsxs(z,{autoW:!0,columnGap:a?0:{base:.5,md:1},flexWrap:"wrap",children:[o.map(c=>f.jsx(en,{mutationId:c,fontSize:i,isCompact:a,lineHeight:a?.8:1.1},c)),l&&f.jsx(Sr,{label:r?`Size: ${r}`:void 0,keepOpenOnDesktopClick:!0,children:f.jsxs(ue,{fontSize:i,color:"Neutral.Grey",fontWeight:"extrabold",lineHeight:a?.8:1.1,whiteSpace:"nowrap",position:"relative",children:[l.toLocaleString(),n?" kg":"",r&&f.jsx(v2,{position:"absolute",top:"-0.5px",right:"-11px",strokeWidth:2.5,onClick:()=>{},...s})]})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const PJt={xs:{base:"4px",md:"6px"},sm:{base:"6px",md:"8px"},md:{base:"8px",md:"10px"},lg:{base:"10px",md:"12px"},xl:{base:"12px",md:"16px"}},_Me=({abilityIds:e,size:t="sm",direction:r="column"})=>{const n=PJt[t];return f.jsx(z,{auto:!0,gap:.5,flexDirection:r,children:e.map((i,a)=>{const s=i in Vc?Vc[i]:i in bg?bg[i]:null;if(!s)return null;const o=g4(i);return f.jsx(Sr,{label:s.name,keepOpenOnDesktopClick:!0,children:f.jsx(Ne,{w:n,h:n,bg:o.bg,_hover:{bg:o.hover},borderRadius:"2px",transition:"background-color 0.2s"})},`${i}-${a}`)})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const jJt=Io`
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
`,RJt=Io`
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
`,AMe=({progress:e,color:t,shineDirection:r,height:n=15})=>f.jsx(z,{orient:"left",borderColor:"Neutral.Grey",borderRadius:"3px",borderWidth:"1px",overflow:"hidden",style:{height:`${n}px`},children:f.jsx(Ol,{position:"relative",overflow:"hidden",initial:!1,animate:{width:`${Math.max(0,Math.floor(e*100))}%`},sx:{backgroundColor:t},transition:{duration:.5,ease:"easeOut"},_before:r?{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,background:"linear-gradient(90deg, transparent, rgba(255,255,255,0.3) 40%, rgba(255,255,255,0.3) 60%, transparent)",animation:`${r==="left"?RJt:jJt} 1.5s infinite`}:void 0})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const hY=({petId:e,height:t,isShining:r=!0})=>{const n=Pe(Yd),{hunger:i,speciesId:a}=n[e],{_:s}=Pt(),{coinsToFullyReplenishHunger:o}=wt[a];return f.jsx(Sr,{label:`${s({id:"2HKQDp"})}: ${Math.round(i).toLocaleString()} / ${Math.round(o).toLocaleString()}`,keepOpenOnDesktopClick:!0,children:f.jsx(z,{children:f.jsx(AMe,{progress:i/o,color:"Green.Magic",shineDirection:r?"left":void 0,height:t})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const IJt=({item:e,index:t,isSelected:r,onItemSelect:n,isOpaque:i=!1})=>{const a=Tr(e),s=Pe(cye),o=Pe(Vd),l=b2(),{_:c}=Pt(),u=j.useCallback(()=>{n(a)},[a]),d=j.useCallback(()=>{zt({type:"ToggleFavoriteItem",itemId:a})},[a]),h=D=>D.split(/\s+/).some(Y=>Y.length>=11)?"9px":"10px";let p,m,g,b,y,v,S,x=[],w=[],A=1,_,C=!1,E=[],R,P=!1;switch(e.itemType){case ne.Tool:{const{name:D,tileRef:F}=wa[e.toolId];p=D,m=F,b=e.quantity,A=1.3;break}case ne.Decor:{const{name:D,tileRef:F}=zi[e.decorId];p=D,m=F,b=e.quantity,e.decorId==="PetHutch"&&(b=void 0,y=s);break}case ne.Seed:{const{name:D,tileRef:F}=tt[e.species].seed;p=D,m=F,b=e.quantity,A=1.3;const $=tt[e.species].plant;E="abilities"in $?$.abilities:[];break}case ne.Produce:{const{name:D,tileRef:F,baseWeight:$}=tt[e.species].crop;p=D,m=F,x=e.mutations,g=e.scale*$,R=BV(e.species,e.scale);break}case ne.Plant:{const{name:D,tileRef:F}=tt[e.species].plant;p=D,m=F;const $=e.slots.filter(fe=>fe.endTime<ea());y=$.length;const Y=new Set;$.forEach(fe=>{fe.mutations.forEach(U=>Y.add(U))}),w=Array.from(Y);const he=tt[e.species].plant;E="abilities"in he?he.abilities:[];break}case ne.Pet:{const{tileRef:D,name:F,matureWeight:$}=wt[e.petSpecies];p=e.name||F,m=D,v=e.xp,S=e.hunger;const Y=Jh({speciesId:e.petSpecies,xp:v,targetScale:e.targetScale});P=S<=0,_=Cd({speciesId:e.petSpecies,xp:v,targetScale:e.targetScale}),g=Y*$,x=e.mutations,C=S<=0,E=e.abilities;break}case ne.Egg:{const{name:D,tileRef:F}=An[e.eggId];p=D,m=F,b=e.quantity;break}default:{console.error("Invalid item type",e),p="???",m=mt.Empty,A=1;break}}const I=C?i?"rgb(96, 30, 30)":"rgba(166, 0, 0, 0.555)":i?"rgba(0, 0, 0, 1)":"rgba(0, 0, 0, 0.65)",M=o.includes(a);return f.jsxs(Ne,{position:"relative",children:[f.jsxs(Xe,{variant:"blank",style:{backgroundColor:I},_active:{backgroundColor:I},color:"white",position:"relative",w:`${l}px`,h:`${l}px`,minW:`${l}px`,minH:`${l}px`,borderRadius:"10px",onClick:u,onContextMenu:D=>{D.preventDefault(),d()},borderWidth:"2px",borderColor:r?"white":"transparent",_hover:{borderColor:r?"white":"grey"},pointerEvents:"auto",children:[ch==="desktop"&&t!==void 0&&t<9&&f.jsx(z,{position:"absolute",top:"0px",left:"5px",auto:!0,children:f.jsx(ue,{fontSize:"8px",fontWeight:"bold",color:"Neutral.Grey",children:t+1})}),f.jsxs(z,{col:!0,pb:1,children:[f.jsxs(z,{auto:!0,pt:.5,mr:1,gap:.5,children:[e.itemType===ne.Pet&&f.jsx(Ym,{mutations:x,showWeightUnit:!1,fontSize:{base:"8px"},isCompact:!0}),_!==void 0&&f.jsxs(ue,{fontSize:"8px",fontWeight:"bold",children:[f.jsx(L,{id:"UGmgDg"})," ",_]})]}),f.jsxs(bt,{templateColumns:"1fr auto 1fr",gap:.5,alignItems:"center",children:[f.jsx(_Me,{abilityIds:E}),e.itemType===ne.Plant?f.jsx(Aq,{item:e,tileSize:30,isNormalizedScale:!0}):f.jsx(qt,{tileRef:m,width:e.itemType===ne.Pet?"30px":"25px",height:e.itemType===ne.Pet?"30px":"25px",scale:A,mutations:x,isDisabled:P}),f.jsx(Ne,{})]}),f.jsx(z,{orient:"center",children:f.jsxs(ue,{fontSize:h(p),fontWeight:"bold",lineHeight:"0.9",pb:"1px",noOfLines:e.itemType===ne.Pet?1:2,children:[p,y!==void 0&&y>0&&f.jsxs(ue,{as:"span",fontSize:h(p),color:"Green.Light",fontWeight:"demibold",ml:.5,children:["+",y]})]})}),e.itemType===ne.Produce&&f.jsx(z,{height:{base:"12px",lg:"14px"},children:f.jsx(Ym,{mutations:x,weight:g,fontSize:{base:"8px",md:"10px"},isCompact:!0,targetSize:R})}),w.length>0&&f.jsx(z,{height:{base:"12px",lg:"14px"},children:f.jsx(Ym,{mutations:w,fontSize:{base:"8px",md:"10px"},isCompact:!0})}),b!==void 0&&f.jsx(z,{height:{base:"12px",lg:"14px"},children:f.jsxs(z,{auto:!0,children:[f.jsx(ue,{fontSize:"18px",lineHeight:"1",display:"flex",alignItems:"center",children:"×"}),f.jsx(ue,{fontSize:"12px",fontWeight:"bold",lineHeight:"1",children:b.toLocaleString()})]})}),e.itemType===ne.Pet&&f.jsx(bt,{autoH:!0,px:2.5,pt:.5,children:f.jsx(hY,{petId:e.id,height:4,isShining:!1})})]})]}),[ne.Produce,ne.Pet].includes(e.itemType)&&f.jsx(Sr,{label:f.jsx(L,{id:"8IfBrr"}),placement:"top",children:f.jsx(Gr,{"aria-label":c({id:"6Ki4Pv"}),icon:f.jsx(G0,{as:Tv,fill:M?"red":"transparent",stroke:M?"red":"white",strokeWidth:1,boxSize:{base:"12px",md:"15px"}}),pointerEvents:"auto",position:"absolute",variant:"blank",top:"4px",right:"4px",borderRadius:"10px",color:"white",onClick:d,onContextMenu:D=>{D.preventDefault(),d()}})})]})},CMe=j.memo(IJt,(e,t)=>wMe(e,t));globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const OJt=({item:e,inventoryItemId:t,index:r,isSelected:n,isOpaque:i,dragConstraintsRef:a,isHoveredTarget:s,hoverDirection:o="right",isAnyItemDragging:l,isDragReadyForAnyItem:c,onItemSelect:u,onDragStart:d,onDragReady:h,onDrag:p,onDragEnd:m})=>{const g=Zm(0),b=Zm(0),[y,v]=j.useState(!1),S=_Ge(),[x,w]=j.useState(!1),A=j.useRef(null),_=j.useRef(null),C=j.useCallback(P=>{p&&(_.current={x:P.clientX,y:P.clientY},P.pointerType==="mouse"?(w(!0),h==null||h(t),S.start(P)):A.current=setTimeout(()=>{w(!0),h==null||h(t),S.start(P)},200))},[p,t,h]),E=j.useCallback(()=>{A.current&&(clearTimeout(A.current),A.current=null),_.current=null,w(!1),h==null||h(null)},[h]),R=j.useCallback(P=>{if(A.current&&_.current){const O=P.clientX-_.current.x,k=P.clientY-_.current.y;Math.hypot(O,k)>5&&(clearTimeout(A.current),A.current=null,_.current=null,w(!1),h==null||h(null))}},[h]);return j.useEffect(()=>{if(!y&&!x)return;const P=O=>{O.cancelable&&O.preventDefault()};return document.addEventListener("touchmove",P,{passive:!1}),()=>{document.removeEventListener("touchmove",P)}},[y,x]),j.useEffect(()=>{const P=a==null?void 0:a.current;if(!P)return;const O=()=>{g.set(0),b.set(0)};window.addEventListener("resize",O);const k=new ResizeObserver(()=>{O()});return k.observe(P),()=>{window.removeEventListener("resize",O),k.disconnect()}},[a]),f.jsxs(Ne,{position:"relative",zIndex:y?9999:"auto",children:[s&&f.jsx(Ne,{position:"absolute",...o==="left"?{right:"0px"}:{left:"0px"},top:"0",bottom:"0",w:"4px",bg:"Neutral.Grey",borderRadius:"2px"}),f.jsx(Ne,{style:{transform:y||x?void 0:s?`translateX(${o==="left"?-25:25}px)`:"translateX(0px)",transition:y||x?void 0:"transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)"},children:f.jsx(Cn,{drag:!0,dragListener:!1,dragControls:S,onPointerDown:C,onPointerUp:E,onPointerMove:R,dragConstraints:a,dragElastic:.1,dragTransition:{bounceStiffness:600,bounceDamping:20},style:{x:g,y:b,opacity:(l||c)&&!y&&!x?.5:1,transition:"opacity 0.2s ease-in-out",boxShadow:y||x?"0px 10px 20px rgba(0,0,0,0.4)":"none",borderRadius:y||x?"10px":"0px",WebkitTapHighlightColor:"transparent",touchAction:"manipulation"},onDragStart:()=>{d==null||d(t),v(!0),w(!1)},onDrag:(P,O)=>p==null?void 0:p(P,O,t),onDragEnd:(P,O)=>{v(!1),w(!1),h==null||h(null),(m==null?void 0:m(P,O,t))||(ph(g,0,{duration:.2}),ph(b,0,{duration:.2}))},children:f.jsx(CMe,{item:e,index:r,isSelected:n,onItemSelect:u,isOpaque:i})})})]})},TF=j.memo(OJt,wMe);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Qoe=["Keyboard_TypeTap_01","Keyboard_TypeTap_02","Keyboard_TypeTap_03"],MJt=()=>Qoe[Math.floor(Math.random()*Qoe.length)],Z1=j.forwardRef(({onEnterKeyDown:e,shouldBlurOnEnter:t=!0,...r},n)=>{const i=j.useCallback(s=>{s.stopPropagation(),s.key==="Enter"?(Jt("Keyboard_Enter_01"),t&&s.target.blur(),e&&(s.preventDefault(),e())):s.currentTarget.value.length<s.currentTarget.maxLength&&Jt(MJt())},[e,t]),a=j.useCallback(s=>{if(Tt==="webview"){const o=s.target;o.setSelectionRange(0,o.value.length)}r.onClick&&r.onClick(s)},[r.onClick]);return f.jsx(cB,{ref:n,...r,onClick:a,onKeyDown:i})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const kJt=({value:e,onChange:t})=>f.jsxs(Ohe,{maxW:"130px",children:[f.jsx(Z1,{h:"35px",color:"white",fontSize:"sm",value:e,onChange:t,px:8}),e.trim()===""&&f.jsx(lB,{h:"35px",px:2,children:f.jsx(Wat,{color:"white",boxSize:4})})]});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Joe=({itemTypeFilters:e,onItemTypeFilterChange:t,onClearFilters:r})=>{const{_:n}=Pt(),i={[ne.Seed]:n({id:"gq6UJs"}),[ne.Produce]:n({id:"qKx+US"}),[ne.Plant]:n({id:"J5j7gX"}),[ne.Tool]:n({id:"LYzbQ2"}),[ne.Pet]:n({id:"CgpE1o"}),[ne.Egg]:n({id:"z5sBEe"}),[ne.Decor]:n({id:"uLQqb0"})};return f.jsxs(z,{wrap:"wrap",gap:{base:2,md:3},rowGap:1,px:2,autoW:!0,children:[[ne.Seed,ne.Produce,ne.Pet,ne.Egg,ne.Tool,ne.Plant,ne.Decor].map(a=>f.jsx(Hpe,{isChecked:e.has(a),onChange:s=>t(a,s.target.checked),sx:{".chakra-checkbox__control":{borderRadius:"50%",borderWidth:{base:"1px",md:"2px"},width:{base:"10px",md:"15px"},height:{base:"10px",md:"15px"}},".chakra-checkbox__control[data-checked]":{bg:"Purple.Magic !important",borderColor:"Purple.Magic !important"},".chakra-checkbox__label":{ml:"4px"}},children:f.jsx(ue,{fontSize:{base:"13px",md:"14px"},children:i[a]})},a)),f.jsx(Xe,{variant:"blank",onClick:r,fontSize:{base:"11px",md:"12px"},p:0,color:"Neutral.DarkGrey",_hover:{color:"white",bg:"transparent"},children:f.jsx(L,{id:"dR6BbB"})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const DJt=Io`
0% {
box-shadow: 0 0 0 2px rgba(255, 255, 0, 0.8), 0 0 0 4px rgba(255, 255, 0, 0.4);
}
50% {
box-shadow: 0 0 0 3px rgba(255, 255, 0, 1), 0 0 0 8px rgba(255, 255, 0, 0.6);
}
100% {
box-shadow: 0 0 0 2px rgba(255, 255, 0, 0.8), 0 0 0 4px rgba(255, 255, 0, 0.4);
}
`,rp=j.forwardRef(({isActive:e,children:t,width:r="auto",height:n="auto",direction:i="down",zIndex:a="AboveGameModal",borderRadius:s="10px",showScrim:o=!1,numTasks:l=1},c)=>{const u=j.useRef(null);j.useImperativeHandle(c,()=>u.current,[]);const d=28,h=({direction:y,size:v})=>{const S=()=>{const x=v/2;switch(y){case"up":return`M ${x} 0 L ${v} ${v} L 0 ${v} Z`;case"down":return`M 0 0 L ${v} 0 L ${x} ${v} Z`;case"left":return`M ${v} 0 L ${v} ${v} L 0 ${x} Z`;case"right":return`M 0 0 L ${v} ${x} L 0 ${v} Z`;default:return`M 0 0 L ${v} 0 L ${x} ${v} Z`}};return f.jsx("svg",{width:v,height:v,viewBox:`0 0 ${v} ${v}`,children:f.jsx("path",{d:S(),fill:"rgba(255, 255, 0, 0.8)",stroke:"rgba(255, 255, 0, 1)",strokeWidth:1.7})})},p=y=>{switch(y){case"up":return"center top";case"down":return"center bottom";case"left":return"left center";case"right":return"right center"}},m=(y,v)=>{switch(v){case"up":return{top:y.top+y.height+12,left:y.left+y.width/2-d/2};case"down":return{top:y.top-d-12,left:y.left+y.width/2-d/2};case"left":return{top:y.top+y.height/2-d/2,left:y.left+y.width+12};case"right":return{top:y.top+y.height/2-d/2,left:y.left-d-12}}},[g,b]=j.useState(null);return j.useEffect(()=>{var R;if(!e||!u.current){b(null);return}const y=()=>{if(u.current)try{const P=u.current.getBoundingClientRect();P&&typeof P.top=="number"&&typeof P.left=="number"&&b({top:P.top,left:P.left,width:P.width,height:P.height})}catch(P){console.warn("TutorialHighlight position update failed:",P)}};y();const v=setTimeout(y,5);let S=!1;const x=()=>{S||(requestAnimationFrame(()=>{y(),S=!1}),S=!0)};let w=!1;const A=()=>{w||(requestAnimationFrame(()=>{y(),w=!1}),w=!0)};let _=null;if(u.current&&"ResizeObserver"in window){let P=!1;_=new ResizeObserver(()=>{P||(requestAnimationFrame(()=>{y(),P=!1}),P=!0)}),_.observe(u.current)}const C=(R=u.current)==null?void 0:R.parentElement;C&&_&&_.observe(C);let E=null;if(u.current){let P=!1;E=new MutationObserver(()=>{P||(requestAnimationFrame(()=>{y(),P=!1}),P=!0)}),E.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]})}return window.addEventListener("scroll",A,{passive:!0}),window.addEventListener("resize",x,{passive:!0}),window.addEventListener("orientationchange",x,{passive:!0}),()=>{clearTimeout(v),_&&_.disconnect(),E&&E.disconnect(),window.removeEventListener("scroll",A),window.removeEventListener("resize",x),window.removeEventListener("orientationchange",x)}},[e]),f.jsxs(Ne,{ref:u,position:"relative",width:r,height:n,children:[e&&g&&f.jsxs(cu,{children:[o&&f.jsx(Cn,{position:"fixed",top:"0",left:"0",width:"100vw",height:"100vh",backgroundColor:"rgba(0, 0, 0, 0.3)",zIndex:1e3,pointerEvents:"none",initial:{opacity:0},animate:{opacity:1},transition:{delay:.1}}),(()=>{const y=m(g,i);return f.jsxs(f.Fragment,{children:[f.jsx(Cn,{position:"fixed",top:`${y.top}px`,left:`${y.left}px`,zIndex:a,pointerEvents:"none",initial:{opacity:0},animate:{scale:[1,1.3,1],opacity:1},transition:{scale:{duration:1.5,repeat:1/0},delay:.3},style:{transformOrigin:p(i)},children:f.jsx(h,{direction:i,size:d})}),l>1&&f.jsx(Ne,{position:"fixed",top:`${y.top-6.5}px`,left:`${y.left+d/2}px`,transform:"translateX(-50%)",zIndex:a,pointerEvents:"none",children:f.jsx(Cn,{initial:{opacity:0},animate:{scale:[1,1.3,1],opacity:1},transition:{scale:{duration:1.5,repeat:1/0},delay:.3},style:{transformOrigin:p(i)},children:f.jsxs(Nn,{strokeWidth:3,fontSize:"14px",shadowHeight:0,fontWeight:"bold",color:"Yellow.Magic",strokeColor:"Neutral.EarlGrey",children:["×",l]})})})]})})(),f.jsx(Cn,{position:"fixed",top:`${g.top}px`,left:`${g.left}px`,width:`${g.width}px`,height:`${g.height}px`,borderRadius:s,animation:`${DJt} 1.5s ease-in-out infinite`,pointerEvents:"none",zIndex:a,initial:{opacity:0},animate:{opacity:1},transition:{delay:.3}})]}),t]})});rp.displayName="TutorialHighlight";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:LJt}=ft(),Wo=4,FJt=()=>{const e=b2(),t=Nl(),r=Pe(hn),n=Pe(sOe),i=Pe(iu),a=j.useRef(new Map),s=j.useRef(null),[o,l]=Ea(oye),[c,u]=j.useState(null),[d,h]=j.useState("right"),[p,m]=j.useState(!1),[g,b]=j.useState(null),[y,v]=j.useState(""),S=k0(Ao),x=j.useMemo(()=>r.filter(O=>{var k;if(o.size>0){const M=O.itemType===ne.Decor&&O.decorId==="PetHutch"?ne.Tool:O.itemType;if(!o.has(M))return!1}if(y==="")return!0;switch(O.itemType){case ne.Produce:return tt[O.species].crop.name.toLowerCase().includes(y.toLowerCase())||O.mutations.some(M=>M.toLowerCase().includes(y.toLowerCase()));case ne.Seed:return tt[O.species].seed.name.toLowerCase().includes(y.toLowerCase());case ne.Plant:return tt[O.species].plant.name.toLowerCase().includes(y.toLowerCase())||O.slots.flat().some(M=>M.mutations.some(D=>D.toLowerCase().includes(y.toLowerCase())));case ne.Tool:return wa[O.toolId].name.toLowerCase().includes(y.toLowerCase());case ne.Egg:return An[O.eggId].name.toLowerCase().includes(y.toLowerCase());case ne.Pet:{const I=wt[O.petSpecies].name,M=O.abilities.map(D=>Vc[D].name.toLowerCase());return((k=O.name)==null?void 0:k.toLowerCase().includes(y.toLowerCase()))||I.toLowerCase().includes(y.toLowerCase())||O.mutations.some(D=>D.toLowerCase().includes(y.toLowerCase()))||M.some(D=>D.toLowerCase().includes(y.toLowerCase()))}case ne.Decor:return zi[O.decorId].name.toLowerCase().includes(y.toLowerCase());default:return!1}}),[r,y,o]),w=(O,k)=>{const I=new Set(o);k?I.add(O):I.delete(O),l(I)},A=j.useCallback(()=>{l(new Set),v("")},[l]),_=j.useCallback(O=>{const I=LJt(hn).findIndex(M=>Tr(M)===O);o7(I)},[o7]),C=j.useCallback((O,k,I)=>{const M=k.point;let D=!1;const F=r.findIndex($=>Tr($)===I);for(const $ of x){const Y=Tr($);if(Y===I)continue;const he=a.current.get(Y);if(!he)continue;const fe=he.getBoundingClientRect();if(M.x>=fe.left&&M.x<=fe.right&&M.y>=fe.top&&M.y<=fe.bottom){const U=r.findIndex(W=>Tr(W)===Y);F<U?(h("left"),u(Y)):(h("right"),u(Y)),D=!0;break}}D||u(null)},[x,a]),E=j.useCallback(O=>{m(!0);const k=r.findIndex(I=>Tr(I)===O);k>-1&&S(k)},[x,S]),R=j.useCallback(O=>{b(O)},[b]),P=j.useCallback((O,k,I)=>{m(!1),u(null);const M=k.point,D=a.current.get(I),F=r.findIndex($=>Tr($)===I);for(const $ of x){const Y=Tr($);if(Y===I)continue;const he=a.current.get(Y);if(!he)continue;const fe=he.getBoundingClientRect();if(M.x>=fe.left&&M.x<=fe.right&&M.y>=fe.top&&M.y<=fe.bottom){const W=r.findIndex(H=>Tr(H)===Y);return W===F?!1:(S(W),zt({type:"MoveInventoryItem",moveItemId:I,toInventoryIndex:W}),!0)}}if(s.current){const $=s.current.getBoundingClientRect();if(M.x>=$.left&&M.x<=$.right&&M.y>=$.top&&M.y<=$.bottom){if(D){const he=D.getBoundingClientRect();if(M.x>=he.left&&M.x<=he.right&&M.y>=he.top&&M.y<=he.bottom)return!1}let Y=r.length;return F<Y&&(Y=Y-1),Y===F?!1:(S(Y),zt({type:"MoveInventoryItem",moveItemId:I,toInventoryIndex:Y}),!0)}}return!1},[x,a,S]);return f.jsx(Yl,{onClick:void 0,onPointerDown:ks,children:f.jsxs(bt,{autoH:!0,maxH:"100%",templateRows:t?"auto auto 1fr":"auto 1fr",borderRadius:"15px",bg:"MagicBlack",borderWidth:"3px",borderColor:"Brown.Dark",boxShadow:"xl",overflow:"hidden",pb:1,px:1,w:{base:`calc(${e}px * 4 + ${Wo}px * 10)`,sm:`calc(${e}px * 5 + ${Wo}px * 11)`,md:`calc(${e}px * 8 + ${Wo}px * 14)`,lg:`calc(${e}px * 10 + ${Wo}px * 16)`},onPointerDown:O=>O.stopPropagation(),children:[f.jsxs(bt,{templateColumns:"1fr auto",gap:2,alignItems:"center",p:2,pb:t?0:2,children:[!t&&f.jsxs(z,{gap:1,children:[f.jsx(Joe,{itemTypeFilters:o,onItemTypeFilterChange:w,onClearFilters:A}),f.jsx(kJt,{value:y,onChange:O=>v(O.target.value)})]}),f.jsx(z,{orient:"top right",children:f.jsx(yi,{w:"15px",ml:1,onClick:ks})})]}),t&&f.jsx(Ne,{pb:2,children:f.jsx(Joe,{itemTypeFilters:o,onItemTypeFilterChange:w,onClearFilters:A})}),x.length===0?f.jsx(z,{children:f.jsx(ue,{color:"Neutral.DarkGrey",fontStyle:"italic",textAlign:"center",fontSize:{base:"xs",md:"sm"},pb:"40px",children:r.length>0?f.jsx(L,{id:"CS9XJE"}):f.jsx(L,{id:"L5DbFP"})})}):f.jsx(z,{orient:"top",overflowY:"auto",overflowX:"hidden",p:`${Wo}px`,sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},children:f.jsx(z,{ref:s,wrap:"wrap",autoH:!0,orient:"top left",gap:`${Wo}px`,w:{base:`calc(${e}px * 4 + ${Wo}px * 3)`,sm:`calc(${e}px * 5 + ${Wo}px * 4)`,md:`calc(${e}px * 8 + ${Wo}px * 7)`,lg:`calc(${e}px * 10 + ${Wo}px * 9)`},children:x.map((O,k)=>{const I=Tr(O);return f.jsx("div",{ref:M=>{M?a.current.set(I,M):a.current.delete(I)},children:f.jsx(rp,{isActive:n&&O.itemType===ne.Seed,children:f.jsx(TF,{item:O,inventoryItemId:I,index:y?void 0:k,isSelected:i!==null&&Tr(r[i])===Tr(O),onItemSelect:_,onDragReady:y?void 0:R,onDragStart:y?void 0:E,onDrag:y?void 0:C,onDragEnd:y?void 0:P,isOpaque:!0,dragConstraintsRef:s,isHoveredTarget:c===I,hoverDirection:d,isAnyItemDragging:p,isDragReadyForAnyItem:g!==null})})},`${I}-${k}`)})})})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const EMe=({tileRef:e,width:t="60px",height:r="60px",scale:n=1,isUnknown:i=!1,mutations:a,logDate:s})=>{const{_:o}=Pt(),l=i||s===void 0,c=s?o({id:"LwhzrN",values:{0:YF(new Date(s))}}):"";return f.jsx(Sr,{label:c,placement:"top",isDisabled:l,fontSize:"2xs",offset:[0,-10],keepOpenOnDesktopClick:!0,children:f.jsx(z,{position:"relative",w:t,h:r,backgroundImage:`url(${Pl}/assets/ui/Stamp.webp)`,backgroundSize:"contain",backgroundPosition:"center",backgroundRepeat:"no-repeat",align:"center",justify:"center",children:f.jsx(qt,{tileRef:e,width:"50%",height:"50%",scale:n,isUnknown:i,mutations:a})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const JA=[jr.Bamboo,jr.Cactus,jr.Tree,jr.PalmTree,jr.DawnCelestialPlant,jr.DawnCelestialPlantActive,jr.DawnCelestialPlatform,jr.MoonCelestialPlant,jr.MoonCelestialPlantActive,jr.MoonCelestialPlatform,jr.StarweaverPlant,jr.StarweaverPlatform],Rf=1.2,If=10;function $Jt(e,t=.2){if(e.startsWith("rgba("))return e.replace(/rgba\((\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,)\s*([0-9]*\.?[0-9]+)\s*\)/g,(r,n)=>`rgba(${n} ${t})`);if(e.startsWith("linear-gradient")||e.startsWith("radial-gradient"))return e.replace(/rgba\((\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,)\s*([0-9]*\.?[0-9]+)\s*\)/g,(r,n)=>`rgba(${n} ${t})`);if(/^#([0-9a-fA-F]{6})$/.test(e)){const r=e.slice(1),n=parseInt(r.slice(0,2),16),i=parseInt(r.slice(2,4),16),a=parseInt(r.slice(4,6),16);return`rgba(${n}, ${i}, ${a}, ${t})`}return e}function BJt(e){const t="rgba(60, 170, 56, 0.25)",r="rgba(60, 170, 56, 0.45)",n="rgba(128, 0, 178, 0.2)",i="rgba(36, 118, 215, 0.2)",a="rgba(233, 181, 48, 0.2)",s="rgba(197, 48, 48, 0.2)",o="rgba(139, 69, 19, 0.2)",l="rgba(139, 69, 19, 0.3)";if(e4.some(c=>c===e)||Dft.some(c=>c===e)){const{bg:c}=g4(e);return $Jt(c,.18)}switch(e){case"purchaseDecor":case"purchaseSeed":case"purchaseEgg":case"purchaseTool":case"waterPlant":return i;case"plantSeed":case"plantGardenPlant":return t;case"harvest":return r;case"feedPet":case"plantEgg":case"hatchEgg":return n;case"instaGrow":case"customRestock":case"spinSlotMachine":return a;case"sellAllCrops":case"sellPet":return s;case"potPlant":case"removeGardenObject":return l;case"logItems":case"mutationPotion":return o;case"ProduceScaleBoost":case"ProduceScaleBoostII":case"DoubleHarvest":case"DoubleHatch":case"ProduceEater":case"SellBoostI":case"SellBoostII":case"SellBoostIII":case"SellBoostIV":case"ProduceRefund":case"PlantGrowthBoost":case"PlantGrowthBoostII":case"HungerRestore":case"HungerRestoreII":case"GoldGranter":case"RainbowGranter":case"RainDance":case"PetXpBoost":case"PetXpBoostII":case"EggGrowthBoost":case"EggGrowthBoostII_NEW":case"EggGrowthBoostII":case"PetAgeBoost":case"PetAgeBoostII":case"CoinFinderI":case"CoinFinderII":case"CoinFinderIII":case"SeedFinderI":case"SeedFinderII":case"SeedFinderIII":case"SeedFinderIV":case"PetHatchSizeBoost":case"PetHatchSizeBoostII":case"MoonKisser":case"DawnKisser":case"PetRefund":case"PetRefundII":default:return o}}function Dd(e){return e>1?1+(e-1)*.3:e<1?1-(1-e)*.7:e}function NJt(e){const t=new Date(e),n=new Date().getTime()-t.getTime(),i=Math.floor(n/(1e3*60)),a=Math.floor(n/(1e3*60*60)),s=Math.floor(n/(1e3*60*60*24));return i<1?Ee._({id:"OSBXx5"}):i<60?Ee._({id:"7Ym6BQ",values:{diffInMinutes:i}}):a<24?Ee._({id:"bT6AxW",values:{diffInHours:a}}):s<7?Ee._({id:"P1pDS8",values:{diffInDays:s}}):t.toLocaleDateString()}const Ve=({children:e})=>{const t=br();return f.jsx(ue,{as:"span",color:"Orange.Dark",fontWeight:"semibold",fontSize:{base:t?"12px":"14px",lg:"17px"},children:e})},pr=({timestamp:e,text:t,additionalContent:r,bg:n})=>{const i=br(),a=NJt(e),s=new Date(e).toLocaleString();return f.jsxs(bt,{templateColumns:"1fr auto",p:1,bg:n,autoH:!0,borderRadius:"8px",gap:2,boxShadow:"0 2px 4px rgba(0, 0, 0, 0.2)",children:[f.jsxs(bt,{templateRows:"1fr auto",gap:2,pt:1,pl:1,children:[f.jsx(Ne,{fontSize:{base:i?"12px":"14px",lg:"17px"},color:"MagicBlack",lineHeight:"1.2",fontWeight:"medium",children:t}),f.jsx(z,{orient:"left",children:f.jsx(Sr,{label:s,keepOpenOnDesktopClick:!0,children:f.jsx(ue,{fontSize:{base:i?"9px":"10px",lg:"13px"},color:"Brown.Magic",flexShrink:0,children:a})})})]}),f.jsx(z,{auto:!0,wrap:"wrap",orient:"right",maxWidth:{base:"120px",sm:"180px",md:"250px"},children:r})]})},Lb=({crop:e,size:t})=>{const{tileRef:r,baseTileScale:n}=tt[e.species].crop,i=`${t*Dd(e.scale*n)}px`;return f.jsx(z,{auto:!0,width:JA.includes(r)?`${t*Dd(n)/1.5}px`:i,height:i,position:"relative",children:f.jsx(z,{position:"absolute",auto:!0,children:f.jsx(qt,{tileRef:r,mutations:e.mutations,width:i,height:i,isNormalizedScale:!0})})})},tT=({growSlot:e,size:t})=>{const{species:r,startTime:n,endTime:i,targetScale:a}=e,{tileRef:s,baseTileScale:o}=tt[r].crop,l=Eh(n,i),c=`${t*Dd(a*o*l)}px`;return f.jsx(z,{auto:!0,width:JA.includes(s)?`${t*Dd(o*l)/1.5}px`:c,height:c,position:"relative",children:f.jsx(z,{position:"absolute",auto:!0,children:f.jsx(qt,{tileRef:s,mutations:e.mutations,width:c,height:c,isNormalizedScale:!0})})})},Fb=({plant:e,size:t})=>{const{species:r,slots:n,plantedAt:i,maturedAt:a}=e,{baseTileScale:s,harvestType:o,tileRef:l}=tt[r].plant;let c=1;if(o===Vt.Single){const h=Eh(i,a);c=n[0].targetScale*h}const u={id:"",species:r,itemType:ne.Plant,slots:n,plantedAt:i,maturedAt:a},d=t*Dd(s*c);return f.jsx(z,{auto:!0,width:JA.includes(l)?d/1.5:"auto",children:f.jsx(Aq,{item:u,tileSize:d,isNormalizedScale:!0})})},F0=({pet:e,size:t})=>{const{petSpecies:r,xp:n,targetScale:i,mutations:a}=e,{tileRef:s}=wt[r],o=Jh({speciesId:r,xp:n,targetScale:i}),l=`${t*Dd(o)}px`;return f.jsx(qt,{tileRef:s,mutations:a,width:l,height:l,isNormalizedScale:!0})},$j=({numItems:e,size:t})=>f.jsx(z,{width:`${t*.7}px`,height:`${t*.7}px`,m:`${t*.1}px`,bg:"Brown.Pastel",borderRadius:"full",children:f.jsxs(ue,{fontSize:{base:"12px",md:"14px",lg:"16px"},color:"Brown.Magic",fontWeight:"bold",children:["+",e]})}),qJt=({log:e})=>{const t=br(),r=t?30:45,n=r,i=r,a=r,s=r,o=r,l=r,c=r,u=t?20:35,d=t?"18px":"20px",h={base:t?"12px":"14px",lg:"17px"},p=BJt(e.action);switch(e.action){case"plantSeed":{const{speciesIds:m}=e.parameters,g=m[0],b=m.length,{name:y,tileRef:v}=tt[g].seed;return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"NmIW9i",values:{0:b>1?"(s)":"",numPlanted:b,name:y},components:{0:f.jsx(Ve,{})}}),additionalContent:f.jsx(qt,{tileRef:v,width:`${i}px`,height:`${i}px`,isNormalizedScale:!0})})}case"harvest":{const{crops:m}=e.parameters,g=m[0].species,b=m.length,{name:y}=tt[g].crop;return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"XgZNTW",values:{0:b>1?"(s)":"",numHarvested:b,name:y},components:{0:f.jsx(Ve,{})}}),additionalContent:m.toReversed().map((v,S)=>f.jsx(Lb,{crop:v,size:n},S))})}case"potPlant":{const{plant:m}=e.parameters,{name:g}=tt[m.species].plant;return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"RuSj6D",values:{name:g},components:{0:f.jsx(Ve,{})}}),additionalContent:f.jsxs(f.Fragment,{children:[f.jsx(Fb,{plant:m,size:c}),f.jsx(qt,{tileRef:rr.PlanterPot,width:`${s}px`,height:`${s}px`,isNormalizedScale:!0})]})})}case"plantGardenPlant":{const{plant:m}=e.parameters,{name:g}=tt[m.species].plant;return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"DyHE+i",values:{name:g},components:{0:f.jsx(Ve,{})}}),additionalContent:f.jsx(Fb,{plant:m,size:c})})}case"waterPlant":{const{plant:m,numTimes:g,secondsReduced:b}=e.parameters,{name:y}=tt[m.species].plant,v=dl(b*1e3);return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"0b5Rd1",values:{0:g>1?Ee._({id:"c0tx4y",values:{numTimes:g}}):"",name:y,timeSaved:v},components:{0:f.jsx(Ve,{}),1:f.jsx(Ve,{})}}),additionalContent:f.jsx(Fb,{plant:m,size:c})})}case"plantEgg":{const{eggIds:m}=e.parameters,g=m[0],b=m.length,{name:y,tileRef:v}=An[g];return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"NmIW9i",values:{0:b>1?"(s)":"",numPlanted:b,name:y},components:{0:f.jsx(Ve,{})}}),additionalContent:f.jsx(qt,{tileRef:v,width:`${u}px`,height:`${u}px`,isNormalizedScale:!0})})}case"hatchEgg":{const{pet:m,eggId:g}=e.parameters,{name:b,tileRef:y}=An[g],{name:v}=wt[m.petSpecies];return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"c+ri5M",values:{eggName:b,name:v},components:{0:f.jsx(Ve,{}),1:f.jsx(Ve,{})}}),additionalContent:f.jsxs(f.Fragment,{children:[f.jsx(F0,{pet:m,size:a}),f.jsx(qt,{tileRef:y,width:`${u*Rf}px`,height:`${u*Rf}px`,isNormalizedScale:!0})]})})}case"feedPet":{const{pet:m,crops:g}=e.parameters,b=g[0].species,y=g.length,{name:v,petSpecies:S}=m,{name:x}=wt[S],{name:w}=tt[b].crop,A=v?f.jsx(Ve,{children:v}):f.jsx(L,{id:"nWl3nc",values:{faunaName:x},components:{0:f.jsx(Ve,{})}});return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"Rs8Nsi",values:{0:y>1?"(s)":"",petText:A,numCrops:y,cropName:w},components:{0:f.jsx(Ve,{})}}),additionalContent:f.jsxs(f.Fragment,{children:[g.toReversed().map((_,C)=>f.jsx(Lb,{crop:_,size:n},C)),f.jsx(F0,{pet:m,size:a})]})})}case"removeGardenObject":{const m=e.parameters.gardenObject;let g,b;switch(m.objectType){case"plant":{const{name:y}=tt[m.species].plant;g=y,b=f.jsx(Fb,{plant:m,size:c});break}case"decor":{const{decorId:y}=m,{name:v,tileRef:S}=zi[y];g=v,b=f.jsx(qt,{tileRef:S,width:`${o}px`,height:`${o}px`,isNormalizedScale:!0});break}case"egg":default:return null}return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"ZHRYvR",values:{name:g},components:{0:f.jsx(Ve,{})}}),additionalContent:f.jsxs(f.Fragment,{children:[b,f.jsx(qt,{tileRef:wa.Shovel.tileRef,width:`${s}px`,height:`${s}px`,isNormalizedScale:!0})]})})}case"purchaseSeed":{const{currency:m,purchasePrice:g,speciesIds:b}=e.parameters,y=b[0],v=b.length,{name:S,tileRef:x}=tt[y].seed,w=Math.round(g);return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"+W3A4R",values:{0:v>1?"(s)":"",numPurchased:v,name:S},components:{0:f.jsx(Ve,{}),1:f.jsx(Ei,{currency:m,amount:w,spriteSize:d,fontSize:h})}}),additionalContent:f.jsx(f.Fragment,{children:f.jsx(qt,{tileRef:x,width:`${i}px`,height:`${i}px`,isNormalizedScale:!0})})})}case"purchaseEgg":{const{currency:m,purchasePrice:g,eggIds:b}=e.parameters,y=b[0],v=b.length,{name:S,tileRef:x}=An[y],w=Math.round(g);return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"+W3A4R",values:{0:v>1?"(s)":"",numPurchased:v,name:S},components:{0:f.jsx(Ve,{}),1:f.jsx(Ei,{currency:m,amount:w,spriteSize:d,fontSize:h})}}),additionalContent:f.jsx(f.Fragment,{children:f.jsx(qt,{tileRef:x,width:`${u}px`,height:`${u}px`,isNormalizedScale:!0})})})}case"purchaseTool":{const{currency:m,purchasePrice:g,toolIds:b}=e.parameters,y=b[0],v=b.length,{name:S,tileRef:x}=wa[y],w=Math.round(g);return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"+W3A4R",values:{0:v>1?"(s)":"",numPurchased:v,name:S},components:{0:f.jsx(Ve,{}),1:f.jsx(Ei,{currency:m,amount:w,spriteSize:d,fontSize:h})}}),additionalContent:f.jsx(f.Fragment,{children:f.jsx(qt,{tileRef:x,width:`${s}px`,height:`${s}px`,isNormalizedScale:!0})})})}case"purchaseDecor":{const{currency:m,purchasePrice:g,decorIds:b}=e.parameters,y=b[0],v=b.length,{name:S,tileRef:x}=zi[y];return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"+W3A4R",values:{0:v>1?"(s)":"",numPurchased:v,name:S},components:{0:f.jsx(Ve,{}),1:f.jsx(Ei,{currency:m,amount:g,spriteSize:d,fontSize:h})}}),additionalContent:f.jsx(f.Fragment,{children:f.jsx(qt,{tileRef:x,width:`${o}px`,height:`${o}px`,isNormalizedScale:!0})})})}case"sellAllCrops":{const{totalValue:m,cropsSold:g}=e.parameters,b=g.length,y=b>1?Ee._({id:"RazH/p"}):Ee._({id:"5qa3o2"}),v=g.sort((x,w)=>IM(w)-IM(x)).slice(0,If),S=b-If;return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"4+bv7n",values:{numCrops:b,cropsText:y},components:{0:f.jsx(Ve,{}),1:f.jsx(Ei,{currency:Ri.Coins,amount:m,spriteSize:d,fontSize:h})}}),additionalContent:f.jsxs(f.Fragment,{children:[v.map((x,w)=>f.jsx(Lb,{crop:x,size:n},w)),S>0&&f.jsx($j,{numItems:S,size:r})]})})}case"sellPet":{const{pet:m,totalValue:g}=e.parameters,{name:b,petSpecies:y}=m,{name:v}=wt[y],S=b?f.jsx(Ve,{children:b}):f.jsx(L,{id:"nWl3nc",values:{faunaName:v},components:{0:f.jsx(Ve,{})}});return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"7ybd3/",values:{petText:S},components:{0:f.jsx(Ei,{currency:Ri.Coins,amount:g,spriteSize:d,fontSize:h})}}),additionalContent:f.jsx(f.Fragment,{children:f.jsx(F0,{pet:m,size:a})})})}case"logItems":{const{newCropVariants:m,newPetVariants:g}=e.parameters,b=[];for(const[x,w]of Object.entries(m))for(const A of w)b.push({speciesId:x,variant:A,isCrop:!0});for(const[x,w]of Object.entries(g))for(const A of w)b.push({speciesId:x,variant:A,isCrop:!1});const y=b.length,v=b.slice(0,If),S=y-If;return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"YtdLAk",values:{0:y>1?Ee._({id:"o21Y+P"}):Ee._({id:"kj6ppi"}),total:y},components:{0:f.jsx(Ve,{})}}),additionalContent:f.jsxs(f.Fragment,{children:[v.toReversed().map((x,w)=>{const A=x.isCrop?tt[x.speciesId].crop.tileRef:wt[x.speciesId].tileRef,_=["Normal","Max Weight"].includes(x.variant)?[]:[x.variant],C=x.variant==="Max Weight"?1.7:1;return f.jsx(Ne,{ml:1,children:f.jsx(EMe,{tileRef:A,width:`${n}px`,height:`${n}px`,scale:C,mutations:_})},w)}),S>0&&f.jsx($j,{numItems:S,size:r})]})})}case"instaGrow":{const{gardenObject:m,cost:g,secondsSaved:b}=e.parameters,y=dl(b*1e3);let v,S;switch(m.objectType){case"plant":{const{name:x}=tt[m.species].plant;S=f.jsx(Fb,{plant:m,size:c}),v=x;break}case"egg":{const{name:x,tileRef:w}=An[m.eggId];S=f.jsx(qt,{tileRef:w,width:`${u*Rf}px`,height:`${u*Rf}px`,isNormalizedScale:!0}),v=x;break}case"decor":default:return null}return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"xvPQUB",values:{0:g.toLocaleString(),1:g>1?Ee._({id:"sG6Vv2"}):Ee._({id:"oh3pz5"}),objectName:v,timeSaved:y},components:{0:f.jsx(Ve,{}),1:f.jsx(Ve,{}),2:f.jsx(Ve,{})}}),additionalContent:S})}case"mutationPotion":{const{growSlot:m,toolId:g}=e.parameters,{name:b,tileRef:y}=wa[g],v=tt[m.species].crop.name;return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"4/cwpI",values:{toolName:b,speciesName:v},components:{0:f.jsx(Ve,{}),1:f.jsx(Ve,{})}}),additionalContent:f.jsxs(f.Fragment,{children:[f.jsx(tT,{growSlot:m,size:n}),f.jsx(qt,{tileRef:y,width:`${s}px`,height:`${s}px`,isNormalizedScale:!0})]})})}case"spinSlotMachine":{const{slotMachineId:m,prizeId:g}=e.parameters,{name:b,prizes:y}=jv[m],v=y[g],{name:S,tileRef:x}=v;return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"k2wFKl",values:{name:b,prizeName:S},components:{0:f.jsx(Ve,{}),1:f.jsx(Ve,{})}}),additionalContent:f.jsx(qt,{tileRef:x,width:`${r}px`,height:`${r}px`,isNormalizedScale:!0})})}case"customRestock":{const{shopType:m,currency:g,purchasePrice:b}=e.parameters;let y,v;switch(m){case Jn.Seed:y=Ee._({id:"3G3P8I"}),v=rr.SeedsRestocked;break;case Jn.Egg:y=Ee._({id:"gN2Oc1"}),v=rr.EggsRestocked;break;case Jn.Tool:y=Ee._({id:"PCcHLZ"}),v=rr.ToolsRestocked;break;case Jn.Decor:y=Ee._({id:"FhfK6b"}),v=rr.DecorRestocked;break}return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"avdCWN",values:{shopName:y},components:{0:f.jsx(Ve,{}),1:f.jsx(Ei,{currency:g,amount:b,spriteSize:d,fontSize:h})}}),additionalContent:f.jsx(qt,{tileRef:v,width:`${r}px`,height:`${r}px`,isNormalizedScale:!0})})}case"CoinFinderI":case"CoinFinderII":case"CoinFinderIII":{const{pet:m,coinsFound:g}=e.parameters,{name:b,petSpecies:y}=m,{name:v}=wt[y],S=b?f.jsx(Ve,{children:b}):f.jsx(L,{id:"HoAB9o",values:{faunaName:v},components:{0:f.jsx(Ve,{})}});return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"oQabBq",values:{petText:S},components:{0:f.jsx(Ei,{currency:Ri.Coins,amount:g,spriteSize:d,fontSize:h})}}),additionalContent:f.jsxs(f.Fragment,{children:[f.jsx(qt,{tileRef:rr.Coin,width:`${l}px`,height:`${l}px`,isNormalizedScale:!0}),f.jsx(F0,{pet:m,size:a})]})})}case"SeedFinderI":case"SeedFinderII":case"SeedFinderIII":case"SeedFinderIV":{const{pet:m,speciesId:g}=e.parameters,{name:b,petSpecies:y}=m,{name:v}=wt[y],S=b?f.jsx(Ve,{children:b}):f.jsx(L,{id:"HoAB9o",values:{faunaName:v},components:{0:f.jsx(Ve,{})}}),{name:x,tileRef:w}=tt[g].seed;return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"GWuNNh",values:{petText:S,seedName:x},components:{0:f.jsx(Ve,{})}}),additionalContent:f.jsxs(f.Fragment,{children:[f.jsx(qt,{tileRef:w,width:`${i}px`,height:`${i}px`,isNormalizedScale:!0}),f.jsx(F0,{pet:m,size:a})]})})}case"HungerRestore":case"HungerRestoreII":{const{pet:m,targetPet:g,hungerRestoreAmount:b}=e.parameters,{name:y,petSpecies:v,id:S}=m,{name:x,petSpecies:w,id:A}=g,{name:_}=wt[v],C=y?f.jsx(Ve,{children:y}):f.jsx(L,{id:"HoAB9o",values:{faunaName:_},components:{0:f.jsx(Ve,{})}}),{name:E}=wt[w],R=S===A,P=R?f.jsx(L,{id:"mwhGLF"}):x?f.jsx(Ve,{children:x}):f.jsx(L,{id:"Rf1I2U",values:{targetFaunaName:E},components:{0:f.jsx(Ve,{})}});return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"7BgXmO",values:{0:b.toLocaleString(),petText:C,targetText:P},components:{0:f.jsx(Ve,{}),1:f.jsx(Ve,{})}}),additionalContent:f.jsxs(f.Fragment,{children:[R?null:f.jsx(F0,{pet:g,size:a}),f.jsx(F0,{pet:m,size:a})]})})}case"DoubleHarvest":{const{pet:m,harvestedCrop:g}=e.parameters,{name:b,petSpecies:y}=m,{name:v}=wt[y],S=b?f.jsx(Ve,{children:b}):f.jsx(L,{id:"HoAB9o",values:{faunaName:v},components:{0:f.jsx(Ve,{})}}),{name:x}=tt[g.species].crop;return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"FINhOr",values:{petText:S,cropName:x},components:{0:f.jsx(Ve,{})}}),additionalContent:f.jsxs(f.Fragment,{children:[f.jsx(Lb,{crop:g,size:n}),f.jsx(F0,{pet:m,size:a})]})})}case"DoubleHatch":{const{pet:m,extraPet:g}=e.parameters,{name:b,petSpecies:y}=m,{name:v}=wt[y],S=b?f.jsx(Ve,{children:b}):f.jsx(L,{id:"HoAB9o",values:{faunaName:v},components:{0:f.jsx(Ve,{})}}),{name:x}=wt[g.petSpecies];return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"Jo5Bai",values:{petText:S,extraPetName:x},components:{0:f.jsx(Ve,{})}}),additionalContent:f.jsxs(f.Fragment,{children:[f.jsx(F0,{pet:g,size:a}),f.jsx(F0,{pet:m,size:a})]})})}case"ProduceRefund":{const{pet:m,cropsRefunded:g}=e.parameters,{name:b,petSpecies:y}=m,{name:v}=wt[y],S=b?f.jsx(Ve,{children:b}):f.jsx(L,{id:"HoAB9o",values:{faunaName:v},components:{0:f.jsx(Ve,{})}}),x=g.length,w=g.slice(0,If),A=x-If;return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"IiYgvg",values:{0:x>1?Ee._({id:"RazH/p"}):Ee._({id:"5qa3o2"}),petText:S,numCrops:x},components:{0:f.jsx(Ve,{})}}),additionalContent:f.jsxs(f.Fragment,{children:[w.map((_,C)=>f.jsx(Lb,{crop:_,size:n},C)),A>0&&f.jsx($j,{numItems:A,size:r}),f.jsx(F0,{pet:m,size:a})]})})}case"SellBoostI":case"SellBoostII":case"SellBoostIII":case"SellBoostIV":{const{pet:m,bonusCoins:g}=e.parameters,{name:b,petSpecies:y}=m,{name:v}=wt[y],S=b?f.jsx(Ve,{children:b}):f.jsx(L,{id:"HoAB9o",values:{faunaName:v},components:{0:f.jsx(Ve,{})}});return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"18+KOY",values:{petText:S},components:{0:f.jsx(Ei,{currency:Ri.Coins,amount:g,spriteSize:d,fontSize:h})}}),additionalContent:f.jsxs(f.Fragment,{children:[f.jsx(qt,{tileRef:rr.Coin,width:`${l}px`,height:`${l}px`,isNormalizedScale:!0}),f.jsx(F0,{pet:m,size:a})]})})}case"PetXpBoost":case"PetXpBoostII":{const{pet:m,bonusXp:g,petsAffected:b}=e.parameters,{name:y,petSpecies:v}=m,{name:S}=wt[v],x=y?f.jsx(Ve,{children:y}):f.jsx(L,{id:"HoAB9o",values:{faunaName:S},components:{0:f.jsx(Ve,{})}}),w=b.length;return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"fkpRgU",values:{0:w>1?Ee._({id:"s44kk7"}):Ee._({id:"aVecmW"}),1:g.toLocaleString(),petText:x,numPets:w},components:{0:f.jsx(Ve,{}),1:f.jsx(Ve,{})}}),additionalContent:f.jsx(F0,{pet:m,size:a})})}case"PetRefund":case"PetRefundII":{const{pet:m,eggId:g}=e.parameters,{name:b,petSpecies:y}=m,{name:v}=wt[y],S=b?f.jsx(Ve,{children:b}):f.jsx(L,{id:"HoAB9o",values:{faunaName:v},components:{0:f.jsx(Ve,{})}}),{name:x,tileRef:w}=An[g];return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"MvRCBK",values:{petText:S,eggName:x},components:{0:f.jsx(Ve,{})}}),additionalContent:f.jsxs(f.Fragment,{children:[f.jsx(qt,{tileRef:w,width:`${u*Rf}px`,height:`${u*Rf}px`,isNormalizedScale:!0}),f.jsx(F0,{pet:m,size:a})]})})}case"PetAgeBoost":case"PetAgeBoostII":{const{pet:m,targetPet:g,bonusXp:b}=e.parameters,{name:y,petSpecies:v}=m,{name:S,petSpecies:x}=g,{name:w}=wt[v],A=y?f.jsx(Ve,{children:y}):f.jsx(L,{id:"HoAB9o",values:{faunaName:w},components:{0:f.jsx(Ve,{})}}),{name:_}=wt[x],C=S?f.jsx(Ve,{children:S}):f.jsx(L,{id:"Rf1I2U",values:{targetFaunaName:_},components:{0:f.jsx(Ve,{})}});return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"YR+LBW",values:{0:b.toLocaleString(),petText:A,targetText:C},components:{0:f.jsx(Ve,{})}}),additionalContent:f.jsxs(f.Fragment,{children:[f.jsx(F0,{pet:g,size:a}),f.jsx(F0,{pet:m,size:a})]})})}case"EggGrowthBoost":case"EggGrowthBoostII_NEW":case"EggGrowthBoostII":{const{pet:m,secondsReduced:g,eggsAffected:b}=e.parameters,{name:y,petSpecies:v}=m,{name:S}=wt[v],x=y?f.jsx(Ve,{children:y}):f.jsx(L,{id:"HoAB9o",values:{faunaName:S},components:{0:f.jsx(Ve,{})}}),w=dl(g*1e3),A=b.length;return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"PBlby0",values:{0:A>1?Ee._({id:"ToYpZV"}):Ee._({id:"b7bZwx"}),petText:x,numEggs:A,timeSaved:w},components:{0:f.jsx(Ve,{}),1:f.jsx(Ve,{})}}),additionalContent:f.jsx(F0,{pet:m,size:a})})}case"PetHatchSizeBoost":case"PetHatchSizeBoostII":{const{pet:m,targetPet:g,strengthIncrease:b}=e.parameters,{name:y,petSpecies:v}=m,{name:S,petSpecies:x}=g,{name:w}=wt[v],A=y?f.jsx(Ve,{children:y}):f.jsx(L,{id:"HoAB9o",values:{faunaName:w},components:{0:f.jsx(Ve,{})}}),{name:_}=wt[x],C=S?f.jsx(Ve,{children:S}):f.jsx(L,{id:"Rf1I2U",values:{targetFaunaName:_},components:{0:f.jsx(Ve,{})}});return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"j3836g",values:{0:b.toFixed(0),petText:A,targetText:C},components:{0:f.jsx(Ve,{})}}),additionalContent:f.jsxs(f.Fragment,{children:[f.jsx(F0,{pet:g,size:a}),f.jsx(F0,{pet:m,size:a})]})})}case"ProduceScaleBoost":case"ProduceScaleBoostII":{const{pet:m,scaleIncreasePercentage:g,numPlantsAffected:b}=e.parameters,{name:y,petSpecies:v}=m,{name:S}=wt[v],x=y?f.jsx(Ve,{children:y}):f.jsx(L,{id:"HoAB9o",values:{faunaName:S},components:{0:f.jsx(Ve,{})}}),w=b;return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"VzJpi6",values:{0:w>1?Ee._({id:"RazH/p"}):Ee._({id:"5qa3o2"}),1:g.toFixed(0),petText:x,numPlants:w},components:{0:f.jsx(Ve,{}),1:f.jsx(Ve,{})}}),additionalContent:f.jsx(F0,{pet:m,size:a})})}case"PlantGrowthBoost":case"PlantGrowthBoostII":{const{pet:m,secondsReduced:g,numPlantsAffected:b}=e.parameters,{name:y,petSpecies:v}=m,{name:S}=wt[v],x=y?f.jsx(Ve,{children:y}):f.jsx(L,{id:"HoAB9o",values:{faunaName:S},components:{0:f.jsx(Ve,{})}}),w=dl(g*1e3),A=b;return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"8qQsyb",values:{0:A>1?Ee._({id:"TyaTYr"}):Ee._({id:"lTnPNe"}),petText:x,numPlants:A,timeSaved:w},components:{0:f.jsx(Ve,{}),1:f.jsx(Ve,{})}}),additionalContent:f.jsx(F0,{pet:m,size:a})})}case"GoldGranter":case"RainbowGranter":case"RainDance":{const{pet:m,mutation:g,growSlot:b}=e.parameters,{species:y,mutations:v}=b,{name:S,petSpecies:x}=m,{name:w}=wt[x],A=S?f.jsx(Ve,{children:S}):f.jsx(L,{id:"HoAB9o",values:{faunaName:w},components:{0:f.jsx(Ve,{})}}),{name:_}=tt[y].crop;let C;return e.action==="RainDance"&&v.includes("Frozen")?C=f.jsx(L,{id:"J2n+MV",values:{petText:A,speciesName:_},components:{0:f.jsx(en,{mutationId:"Chilled",isDark:!0}),1:f.jsx(Ve,{}),2:f.jsx(en,{mutationId:"Frozen",isDark:!0})}}):C=f.jsx(L,{id:"b8ZgWX",values:{petText:A,speciesName:_},components:{0:f.jsx(Ve,{}),1:f.jsx(en,{mutationId:g,isDark:!0})}}),f.jsx(pr,{timestamp:e.timestamp,bg:p,text:C,additionalContent:f.jsxs(f.Fragment,{children:[f.jsx(tT,{growSlot:b,size:n}),f.jsx(F0,{pet:m,size:a})]})})}case"ProduceEater":{const{pet:m,growSlot:g,sellPrice:b}=e.parameters,{name:y,petSpecies:v}=m,{name:S}=wt[v],x=y?f.jsx(Ve,{children:y}):f.jsx(L,{id:"HoAB9o",values:{faunaName:S},components:{0:f.jsx(Ve,{})}}),{name:w}=tt[g.species].crop;return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"jLr8ED",values:{petText:x,speciesName:w},components:{0:f.jsx(Ve,{}),1:f.jsx(Ei,{currency:Ri.Coins,amount:b,spriteSize:d,fontSize:h})}}),additionalContent:f.jsxs(f.Fragment,{children:[f.jsx(tT,{growSlot:g,size:n}),f.jsx(F0,{pet:m,size:a})]})})}case"MoonKisser":case"DawnKisser":{const{speciesId:m,growSlotsAffected:g,targetMutation:b,sourceMutation:y}=e.parameters,{name:v,baseTileScale:S}=tt[m].plant,x=m==="MoonCelestial"?jr.MoonCelestialPlantActive:jr.DawnCelestialPlantActive,w=g.length,A=c*Dd(S);return f.jsx(pr,{timestamp:e.timestamp,bg:p,text:f.jsx(L,{id:"YWR8ZZ",values:{0:w>1?Ee._({id:"RazH/p"}):Ee._({id:"5qa3o2"}),plantName:v,numAffected:w},components:{0:f.jsx(Ve,{}),1:f.jsx(en,{mutationId:y,isDark:!0}),2:f.jsx(en,{mutationId:b,isDark:!0}),3:f.jsx(Ve,{})}}),additionalContent:f.jsxs(f.Fragment,{children:[g.map((_,C)=>f.jsx(tT,{growSlot:_,size:n},C)),f.jsx(z,{auto:!0,width:JA.includes(x)?c*Dd(S)/1.5:A,height:`${A}px`,position:"relative",children:f.jsx(z,{position:"absolute",auto:!0,children:f.jsx(qt,{tileRef:x,width:`${A}px`,height:`${A}px`,isNormalizedScale:!0})})})]})})}}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const PMe=({aspectRatio:e,backgroundImage:t,children:r})=>f.jsx(f.Fragment,{children:f.jsx(Ne,{h:"100%",maxW:"100%",aspectRatio:e,display:"flex",justifyContent:"center",alignItems:"center",children:f.jsx(Ne,{w:"100%",aspectRatio:e,backgroundImage:t,backgroundSize:"cover",backgroundPosition:"center",onClick:n=>n.stopPropagation(),position:"relative",children:r})})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const zJt=()=>{const e=br(),t=Pe(A1t),r=j.useRef(null),[n,i]=j.useState(!1),a=()=>{Mv(null)},s=[...t].sort((c,u)=>u.timestamp-c.timestamp),o=n?s:s.slice(0,10),l=s.length-o.length;return f.jsx(Yl,{pb:"10px",children:f.jsxs(PMe,{aspectRatio:1176/1372,backgroundImage:`url(${Pl}/assets/ui/ActivityLog.webp)`,children:[f.jsx(z,{position:"absolute",top:"2.2%",right:"5.5%",auto:!0,children:f.jsx(yi,{onClick:a,size:e?"sm":"md",color:"#fff",opacity:.92,_hover:{opacity:1},bg:"linear-gradient(135deg, #e53935 60%, #b71c1c 100%)",borderRadius:"full",border:"1px solid #b71c1c",boxShadow:"0 2px 6px rgba(180, 30, 30, 0.18)"})}),f.jsxs(bt,{pt:"4%",pb:"13.3%",pl:"16%",pr:"8.9%",templateRows:"auto 1fr",overflow:"hidden",onClick:c=>c.stopPropagation(),children:[f.jsxs(z,{col:!0,py:2,px:3,overflow:"hidden",children:[f.jsxs(z,{auto:!0,gap:1,minH:"24px",px:4,children:[f.jsx(ue,{fontSize:{base:e?"14px":"20px",lg:"24px"},fontWeight:"bold",fontFamily:"shrikhand",color:"#4F6981",textAlign:"center",lineHeight:"1",children:f.jsx(L,{id:"BhpMJi"})}),f.jsx(Sr,{label:Ee._({id:"qT3c1y",values:{maxNumActivityLogs:Pmt}}),keepOpenOnDesktopClick:!0,children:f.jsx(v2,{mb:.5,color:"#4F6981",boxSize:e?"16px":"20px"})})]}),f.jsx(z,{minH:"4px",h:"4px",bg:"Brown.Pastel",borderRadius:"full",opacity:.5})]}),f.jsx(z,{orient:"top",col:!0,autoH:!0,ref:r,overflowY:"auto",overflowX:"hidden",sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(85, 48, 20, 0.35)",borderRadius:"3px","&:hover":{background:"rgba(110, 60, 24, 0.5)"}}},mb:3,pb:1,px:2,children:f.jsx(z,{col:!0,orient:"top",gap:1.5,autoH:!0,children:s.length===0?f.jsx(z,{col:!0,p:4,bg:"rgba(123, 90, 56, 0.18)",borderRadius:"8px",children:f.jsx(ue,{fontSize:{base:"12px",md:"14px",lg:"18px"},color:"Brown.Dark",textAlign:"center",children:f.jsx(L,{id:"ZBHk0t"})})}):f.jsxs(f.Fragment,{children:[o.map((c,u)=>f.jsx(qJt,{log:c},u)),!n&&s.length>10&&f.jsx(Xe,{onClick:()=>i(!0),variant:"blank",color:"Brown.Magic",fontWeight:"semibold",bg:"rgba(123, 90, 56, 0.18)",borderRadius:"8px",fontSize:{base:"11px",md:"13px",lg:"15px"},px:2,py:e?1:2,children:f.jsx(L,{id:"iAJCp+",values:{numAdditionalLogs:l}})})]})})})]})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function ZA(e,t=n=>n,r=KLe){return BF(e,t,r)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const T2=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/shopAtoms.ts/customRestockInventoriesAtom",Me(e=>{const t=e(fu);return(t==null?void 0:t.type)==="user"?t.customRestockInventories:null}));T2.debugLabel="customRestockInventoriesAtom";const jMe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/shopAtoms.ts/myShopPurchasesAtom",Me(e=>{const t=e(ns);return t==null?void 0:t.shopPurchases}));jMe.debugLabel="myShopPurchasesAtom";const RMe=ZA(ql,e=>e.shops.decor),fY=a0(e=>{var t;return(t=e(T2))==null?void 0:t.decor}),WJt=a0(e=>{var i;const{inventory:t}=e(RMe),r=e(fY);return((i=r==null?void 0:r.items)!=null?i:t).filter(a=>a.decorId!=="PetHutch")}),S2=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/shopAtoms.ts/decorShopRestockSecondsAtom",Me(e=>{var n;const{secondsUntilRestock:t}=e(RMe),r=e(fY);return Math.floor((n=r==null?void 0:r.secondsUntilExpiration)!=null?n:t)}));S2.debugLabel="decorShopRestockSecondsAtom";const e8=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/shopAtoms.ts/isDecorShopAboutToRestockAtom",Me(e=>e(S2)===1));e8.debugLabel="isDecorShopAboutToRestockAtom";const IMe=ZA(ql,e=>e.shops.seed),mY=a0(e=>{var t;return(t=e(T2))==null?void 0:t.seed}),HJt=a0(e=>{var n;const{inventory:t}=e(IMe),r=e(mY);return(n=r==null?void 0:r.items)!=null?n:t}),gY=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/shopAtoms.ts/seedShopRestockSecondsAtom",Me(e=>{var n;const{secondsUntilRestock:t}=e(IMe),r=e(mY);return Math.floor((n=r==null?void 0:r.secondsUntilExpiration)!=null?n:t)}));gY.debugLabel="seedShopRestockSecondsAtom";const OMe=ZA(ql,e=>e.shops.egg),bY=a0(e=>{var t;return(t=e(T2))==null?void 0:t.egg}),UJt=a0(e=>{var n;const{inventory:t}=e(OMe),r=e(bY);return(n=r==null?void 0:r.items)!=null?n:t}),yY=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/shopAtoms.ts/eggShopRestockSecondsAtom",Me(e=>{var n;const{secondsUntilRestock:t}=e(OMe),r=e(bY);return Math.floor((n=r==null?void 0:r.secondsUntilExpiration)!=null?n:t)}));yY.debugLabel="eggShopRestockSecondsAtom";const MMe=ZA(ql,e=>e.shops.tool),vY=a0(e=>{var t;return(t=e(T2))==null?void 0:t.tool}),GJt=a0(e=>{var n;const{inventory:t}=e(MMe),r=e(vY);return(n=r==null?void 0:r.items)!=null?n:t}),TY=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/atoms/shopAtoms.ts/toolShopRestockSecondsAtom",Me(e=>{var n;const{secondsUntilRestock:t}=e(MMe),r=e(vY);return Math.floor((n=r==null?void 0:r.secondsUntilExpiration)!=null?n:t)}));TY.debugLabel="toolShopRestockSecondsAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const rT=({value:e,unit:t,bg:r,strokeColor:n,size:i})=>f.jsx(z,{auto:!0,children:f.jsxs(z,{col:!0,bg:r,borderRadius:"5px",aspectRatio:"1 / 1",width:`${i}px`,height:`${i}px`,gap:2,orient:"center",children:[f.jsx(Nn,{fontSize:{base:"12px",md:"16px"},color:"MagicWhite",strokeColor:n,fontWeight:"bold",lineHeight:"1.1",mb:-2,children:String(e).padStart(2,"0")}),f.jsx(Nn,{fontSize:{base:"10px",md:"12px"},fontWeight:"bold",strokeWidth:0,lineHeight:"1",mb:{base:-1,md:0},children:t})]})}),VJt=e=>{const t=Math.max(0,Math.floor(e)),r=Math.floor(t/86400),n=Math.floor(t%86400/3600),i=Math.floor(t%3600/60),a=t%60;return{days:r,hours:n,minutes:i,seconds:a}},x2=({seconds:e,showDays:t=!0,showHours:r=!0,bg:n="Purple.Magic",strokeColor:i="Purple.Dark",size:a=40})=>{const s=VJt(e);let o=2;r&&o++,t&&o++;const l=`${o} / 1`;return f.jsxs(bt,{templateColumns:`repeat(${o}, 1fr)`,sx:{aspectRatio:l},children:[t&&f.jsx(rT,{value:s.days,unit:"d",bg:n,strokeColor:i,size:a}),r&&f.jsx(rT,{value:s.hours,unit:"h",bg:n,strokeColor:i,size:a}),f.jsx(rT,{value:s.minutes,unit:"m",bg:n,strokeColor:i,size:a}),f.jsx(rT,{value:s.seconds,unit:"s",bg:n,strokeColor:i,size:a})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const kMe={xs:{fontSize:"12px",gap:"1px",strokeWidth:3},sm:{fontSize:"14px",gap:"2px",strokeWidth:3},md:{fontSize:"20px",gap:"3px",strokeWidth:3},lg:{fontSize:"32px",gap:1,strokeWidth:4},xl:{fontSize:"40px",gap:1,strokeWidth:5}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const YJt=e=>{if(e>=1e12){const t=e/1e12,r=Math.floor(t*100)/100;return r%1===0?`${Math.floor(r)}T`:`${r.toFixed(2)}T`}if(e>=1e9){const t=e/1e9,r=Math.floor(t*100)/100;return r%1===0?`${Math.floor(r)}B`:`${r.toFixed(2)}B`}if(e>=1e6){const t=e/1e6,r=Math.floor(t*100)/100;return r%1===0?`${Math.floor(r)}M`:`${r.toFixed(2)}M`}return e.toLocaleString()},KJt=e=>e>=1e12?{textColor:"rgb(200, 140, 255)",strokeColor:"MagicBlack"}:e>=1e9?{textColor:"Blue.Light",strokeColor:"MagicBlack"}:e>=1e6?{textColor:"Yellow.Magic",strokeColor:"MagicBlack"}:{textColor:"MagicWhite",strokeColor:"MagicBlack"},DMe=({currencyAmount:e,currencyIcon:t,size:r="md",strokedTextProps:n,textColor:i,strokeColor:a,fontStyle:s="italic",showTooltip:o,tooltipFontSize:l,...c})=>{const u=kMe[r],d=o!=null?o:e>1e6,h=KJt(e),p=i||h.textColor,m=a||h.strokeColor;return f.jsxs(z,{gap:u.gap,auto:!0,pointerEvents:"auto",...c,children:[t,f.jsx(Sr,{label:d?e.toLocaleString():void 0,placement:"top",fontSize:l,keepOpenOnDesktopClick:!0,children:f.jsx(Ne,{children:f.jsx(Nn,{fontStyle:s,color:p,strokeColor:m,strokeWidth:u.strokeWidth,fontSize:u.fontSize,shadowHeight:0,fontWeight:"500",...n,mb:"1px",children:YJt(e)})})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const XJt={sm:{iconSize:"20px"},md:{iconSize:"24px"},lg:{iconSize:"36px"},xl:{iconSize:"50px"}},QJt={color:"MagicBlack",strokeColor:"none",fontStyle:"italic bold"},SY=({amount:e,size:t="md",strokedTextProps:r,showTooltip:n,tooltipFontSize:i})=>{const a=XJt[t],s=f.jsx(Ne,{w:a.iconSize,h:a.iconSize,flexShrink:0,children:f.jsx(p0,{src:YV,alt:"Donuts",boxSize:a.iconSize})});return f.jsx(DMe,{currencyAmount:e,currencyIcon:s,size:t,strokedTextProps:r||QJt,showTooltip:n,tooltipFontSize:i})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const JJt={seed:{rpcMethod:"RestockSeedsWithCredits",icon:rr.SeedsRestocked,nameKey:"seeds"},egg:{rpcMethod:"RestockEggsWithCredits",icon:rr.EggsRestocked,nameKey:"eggs"},tool:{rpcMethod:"RestockToolsWithCredits",icon:rr.ToolsRestocked,nameKey:"tools"},decor:{rpcMethod:"RestockDecorsWithCredits",icon:rr.DecorRestocked,nameKey:"decor"}},t8=({shopType:e,...t})=>{const[r,n]=j.useState(!1),{availableCredits:i,mutateCreditsBalance:a}=h1(),{open:s}=I1(),{_:o}=Pt(),l=Amt[e].creditPrice,[c,u]=j.useState(!1),d=JJt[e],h=br(),p=j.useRef(null),m=async()=>{if(!r){if(i<l){s();return}n(!0);try{await am({method:d.rpcMethod}),await a(),i4(),lt({icon:"icon"in d?d.icon:void 0,title:o({id:"kzd5yt"}),description:(()=>{switch(e){case Jn.Seed:return o({id:"jvOT0S"});case Jn.Egg:return o({id:"if218R"});case Jn.Tool:return o({id:"aC4+le"});case Jn.Decor:return o({id:"Lq1RAW"});default:return e}})(),onClick:aa,variant:"success"})}catch(g){lt({icon:"icon"in d?d.icon:void 0,title:o({id:"NzshpK"}),description:g instanceof Error?g.message:o({id:"fWsBTs"}),variant:"error"})}finally{n(!1)}}};return j.useEffect(()=>{if(c)return p.current=setTimeout(()=>{u(!1),m()},Dw*1e3),()=>{p.current!==null&&(clearTimeout(p.current),p.current=null)}},[c]),f.jsxs(z,{col:!0,maxW:"210px",children:[f.jsx(Nn,{color:"white",fontWeight:"bold",fontSize:{base:"10px",md:"12px",lg:"14px"},children:f.jsx(L,{id:"Svt5zQ"})}),f.jsxs(Xe,{py:h?0:1,position:"relative",bg:"Yellow.Dark",borderRadius:"10px",size:"sm",color:"MagicBlack",gap:h?.5:1,textTransform:"none",whiteSpace:"normal",lineHeight:"1",fontSize:{base:"11px",md:"14px",lg:"16px"},onPointerDown:()=>u(!0),onPointerUp:()=>u(!1),onPointerLeave:()=>u(!1),isLoading:r,overflow:"hidden",width:"100%",borderBottom:"3px solid rgba(0,0,0,0.4)",_active:{borderBottomWidth:"1px",borderBottomColor:"rgba(0,0,0,0.2)",boxShadow:"inset 0 3px 2px rgba(0,0,0,0.2)"},transition:"transform 0.2s ease",...t,children:[f.jsx(Cn,{w:"100%",h:"100%",bg:"rgba(255, 255, 255, 0.4)",position:"absolute",initial:{scaleX:0},animate:{scaleX:c?1:0},transition:{duration:c?Dw:0},transformOrigin:"left"},`${c}`),e==="seed"&&f.jsx(L,{id:"GTeYEH"}),e==="egg"&&f.jsx(L,{id:"5V2iBL"}),e==="tool"&&f.jsx(L,{id:"j+RlD3"}),e==="decor"&&f.jsx(L,{id:"ZIVlf1"}),f.jsx(SY,{amount:l,size:"sm",strokedTextProps:{color:"MagicBlack",strokeColor:"MagicBlack",strokeWidth:.5},showTooltip:!1})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function ZJt(e){const t=e.match(/^i-[^-]+-gc-([^-]+)-([^-]+)$/i);if(t){const n=t[1],i=t[2];return{isDiscordRoom:!0,serverType:"guild",guildId:n,channelId:i}}const r=e.match(/^i-[^-]+-pc-([^-]+)$/i);return r?{isDiscordRoom:!0,serverType:"private",channelId:r[1]}:{isDiscordRoom:!1}}function LMe(e){const t=ZJt(e);if(t.isDiscordRoom)return t.guildId}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const xY=()=>{var r;const{data:e,...t}=Nce({path:"/notifications/subscriptions"});return{subscriptions:(r=e==null?void 0:e.subscriptions)!=null?r:[],...t}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const eZt=e=>e==="PetHutch"?f.jsx(L,{id:"dGRv0F",values:{petHutchInventoryLimit:$f}}):null;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const tZt=(e,t)=>{const r=e.inventory.items,n=[...Object.values(e.garden.tileObjects),...Object.values(e.garden.boardwalkTileObjects)],i=e.petSlots;let a=0;switch(t.itemType){case ne.Tool:{a=r.filter(s=>s.itemType===ne.Tool).filter(s=>s.toolId===t.id).reduce((s,o)=>s+o.quantity,0);break}case ne.Egg:{const s=r.filter(l=>l.itemType===ne.Egg).filter(l=>l.eggId===t.id).reduce((l,c)=>l+c.quantity,0),o=[...n].filter(l=>l.objectType==="egg").filter(l=>l.eggId===t.id).length;a=s+o;break}case ne.Seed:{const s=r.filter(l=>l.itemType===ne.Seed).filter(l=>l.species===t.id).reduce((l,c)=>l+c.quantity,0),o=[...n].filter(l=>l.objectType==="plant").filter(l=>l.species===t.id).length;a=s+o;break}case ne.Decor:{const s=r.filter(l=>l.itemType===ne.Decor).filter(l=>l.decorId===t.id).reduce((l,c)=>l+c.quantity,0),o=[...n].filter(l=>l.objectType==="decor").filter(l=>l.decorId===t.id).length;a=s+o;break}case ne.Pet:{const s=r.filter(l=>l.itemType===ne.Pet).filter(l=>l.petSpecies===t.id).length,o=i.filter(l=>l.petSpecies===t.id).length;a=s+o;break}case ne.Produce:{a=r.filter(o=>o.itemType===ne.Produce).filter(o=>o.species===t.id).length;break}case ne.Plant:{const s=r.filter(l=>l.itemType===ne.Plant).filter(l=>l.species===t.id).length,o=[...n].filter(l=>l.objectType==="plant").filter(l=>l.species===t.id).length;a=s+o;break}}return a};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:rZt}=ft(),Zoe=e=>{const t=rZt(ns);return t?tZt(t,e):0};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const SF=e=>Rye[e];globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const nZt=e=>{const t=wa[e];switch(e){case"WateringCan":return f.jsx(L,{id:"rw9ebz"});case"PlanterPot":return f.jsx(L,{id:"h+zHPk"});case"Shovel":return f.jsx(L,{id:"lPfoU3"});case"WetPotion":case"ChilledPotion":case"FrozenPotion":case"DawnlitPotion":case"AmberlitPotion":case"GoldPotion":case"RainbowPotion":{if("grantedMutation"in t)return f.jsx(L,{id:"aQtRzK",components:{0:f.jsx(en,{mutationId:t.grantedMutation})}});console.error(`Tool ${e} has no granted mutation`)}break;default:return e}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const xF=({label:e,calculatedValue:t,baseValue:r,strength:n,unit:i})=>f.jsx(z,{auto:!0,children:f.jsxs(ue,{fontSize:{base:"11px",md:"13px"},children:[e,":"," ",f.jsxs(ue,{as:"span",fontWeight:"bold",fontSize:{base:"11px",md:"13px"},children:[t,i]})," ",r&&n&&f.jsxs(ue,{as:"span",fontSize:{base:"9px",md:"11px"},color:"Neutral.Grey",children:["(",f.jsx(ue,{as:"span",fontStyle:"italic",fontSize:{base:"9px",md:"11px"},children:r}),i," × STR ",n,")"]})]})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const FMe=({abilityId:e,showSpecs:t=!0,isMature:r=!0})=>{const n=Pe(hu),i=g4(e),a=bg[e],s=n===a.baseParameters.requiredWeather,o=UN[a.baseParameters.requiredWeather].name,l=t&&(!r||!s),{_:c}=Pt(),u=Object.entries(a.baseParameters).filter(h=>{const p=h[0],m=h[1];return p in a.baseParameters&&typeof m=="number"}).map(([h,p])=>mbt(h,p)).filter(h=>h!==null),d=f.jsxs(z,{col:!0,gap:1,p:1,children:[l&&f.jsx(ue,{fontSize:"12px",fontWeight:"bold",color:"Red.Light",align:"center",children:f.jsx(L,{id:"D3KarK",values:{0:c(r?{id:"oYdoo7",values:{requiredWeatherName:o}}:{id:"TB+GaE"})}})}),f.jsx(ue,{fontSize:"12px",fontWeight:"bold",align:"center",lineHeight:"1.2",maxWidth:"200px",children:Oye(e)}),t&&f.jsxs(f.Fragment,{children:[f.jsx(z,{h:"1px",bg:"Neutral.DarkGrey"}),f.jsx(z,{col:!0,auto:!0,children:u.map((h,p)=>f.jsx(xF,{...h},p))})]})]});return f.jsx(Sr,{label:d,keepOpenOnDesktopClick:!0,children:f.jsx(z,{bg:l?"rgba(60, 60, 60, 0.92)":i.bg,px:2,py:1,borderRadius:"6px",_hover:{bg:l?"rgba(60, 60, 60, 0.8)":i.hover},auto:!0,opacity:l?.6:1,position:"relative",borderWidth:l?2:0,borderColor:l?"Red.Dark":"transparent",children:f.jsx(ue,{fontSize:"12px",fontWeight:"semibold",color:l?"white":p1(i.bg),children:a.name})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const iZt={xs:{iconSize:"16px"},sm:{iconSize:"20px"},md:{iconSize:"24px"},lg:{iconSize:"36px"},xl:{iconSize:"50px"}},w2=({amount:e,size:t="md",strokedTextProps:r,showTooltip:n,tooltipFontSize:i})=>{const a=iZt[t],s=f.jsx(qt,{tileRef:rr.Coin,width:a.iconSize,height:a.iconSize});return f.jsx(DMe,{currencyAmount:e,currencyIcon:s,size:t,strokedTextProps:r,showTooltip:n,tooltipFontSize:i})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const aZt=({expiryDate:e,timerProps:t,...r})=>{const n=Pe(Ws);return f.jsx(Ne,{...r,children:f.jsx(x2,{seconds:(e.getTime()-n)/1e3,bg:"Orange.Magic",strokeColor:"Orange.Dark",...t})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const sZt=({expiryDate:e})=>{const t=Nl(),r=Pe(Ws),n=Pe(S2),i=new Date(r+n*1e3),a=e>i?e:i;return f.jsx(aZt,{expiryDate:a,w:t?"115px":"135px",timerProps:{size:t?27:32}})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const $b=({bg:e,color:t="MagicBlack",children:r})=>f.jsx(ue,{fontSize:{base:"10px",sm:"11px",md:"13px"},fontWeight:"bold",color:t,bg:e,p:.5,px:1,borderRadius:"5px",children:r});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const oZt=()=>{const t=fn()?"/games/quinoa/guild-seed-availability":null,{data:r,isLoading:n,mutate:i}=XLe(t,Zw,{revalidateOnFocus:!1,revalidateOnReconnect:!1,refreshWhenOffline:!1,refreshWhenHidden:!1,refreshInterval:1/0,dedupingInterval:300*1e3,keepPreviousData:!0});return{data:r!=null?r:[],isLoading:n,refetch:i}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const lZt=({item:e,onClose:t})=>{const{data:r,isLoading:n}=oZt(),{_:i}=Pt(),s=(()=>{switch(e.itemType){case ne.Seed:{const{name:l,tileRef:c}=tt[e.species].seed,u=i({id:"gq6UJs"});return{name:l,tileRef:c,itemTypeName:u}}case ne.Tool:case ne.Egg:case ne.Decor:throw new Error("Only seed items are supported for guild availability")}})(),o=r.filter(l=>e.itemType===ne.Seed&&l.availableSpeciesIds.includes(e.species));return f.jsxs(f.Fragment,{children:[f.jsxs(bt,{templateColumns:"auto 1fr auto",alignItems:"center",bg:"Brown.Magic",p:3,children:[f.jsx(qt,{tileRef:s.tileRef,width:"50px",height:"50px"}),f.jsx(ue,{fontWeight:"bold",fontSize:"lg",color:"white",textAlign:"center",children:f.jsx(L,{id:"rPqaYo",values:{0:s.itemTypeName}})}),f.jsx(yi,{onClick:t,color:"white"})]}),f.jsxs(z,{orient:"top",auto:!0,col:!0,gap:4,py:4,px:{base:4,md:6},overflowY:"auto",maxH:"50vh",sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},children:[f.jsx(ue,{fontSize:"sm",textAlign:"center",lineHeight:"1.5",children:f.jsx(L,{id:"BH0Utr",values:{0:s.name},components:{0:f.jsx("strong",{})}})}),f.jsx(hf,{showOpenInDiscordButton:!0}),n?f.jsxs(z,{col:!0,gap:3,auto:!0,orient:"center",children:[f.jsx(v1,{color:"white",size:"lg"}),f.jsx(ue,{fontSize:"sm",textAlign:"center",children:f.jsx(L,{id:"fG3niF",values:{0:s.name}})})]}):o.length>0&&f.jsxs(z,{col:!0,gap:3,auto:!0,children:[f.jsx(ue,{fontSize:"sm",textAlign:"center",children:f.jsx(L,{id:"i+wRlj",values:{0:s.name},components:{0:f.jsx("strong",{})}})}),f.jsx(z,{gap:2,auto:!0,flexWrap:"wrap",justify:"center",children:o.map(l=>f.jsxs(z,{px:3,py:2,bg:"rgba(0, 0, 0, 0.3)",borderRadius:"20px",gap:2,auto:!0,borderWidth:"1px",borderColor:"rgba(255, 255, 255, 0.1)",children:[f.jsx(z,{w:"24px",h:"24px",borderRadius:"full",bg:"Neutral.DarkGrey",orient:"center",flexShrink:0,children:l.guild.icon?f.jsx("img",{src:`https://cdn.discordapp.com/icons/${l.guild.id}/${l.guild.icon}.png?size=64`,alt:"",style:{width:"24px",height:"24px",borderRadius:"50%",objectFit:"cover"}}):f.jsx(ue,{fontSize:"sm",fontWeight:"bold",color:"white",children:l.guild.name.charAt(0).toUpperCase()})}),f.jsx(ue,{fontSize:"sm",fontWeight:"semibold",color:"white",children:l.guild.name})]},l.guild.id))})]})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const cZt=({item:e,onClose:t})=>{const n=(()=>{if(e.itemType===ne.Seed){const{seed:i}=tt[e.species];return{name:i.name,tileRef:i.tileRef}}throw new Error("Only seed items are supported for this modal")})();return f.jsxs(f.Fragment,{children:[f.jsxs(bt,{templateColumns:"auto 1fr auto",alignItems:"center",bg:"Brown.Magic",p:3,children:[f.jsx(qt,{tileRef:n.tileRef,width:"50px",height:"50px"}),f.jsx(ue,{fontWeight:"bold",fontSize:"lg",color:"white",textAlign:"center",children:f.jsx(L,{id:"dE9X/8"})}),f.jsx(yi,{onClick:t,color:"white"})]}),f.jsxs(z,{orient:"top",auto:!0,col:!0,gap:4,py:4,px:{base:4,md:6},overflowY:"auto",maxH:"50vh",sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},children:[f.jsx(ue,{fontSize:"sm",textAlign:"center",lineHeight:"1.5",children:f.jsx(L,{id:"ROAkG4",values:{0:n.name},components:{0:f.jsx("strong",{})}})}),f.jsx(hf,{showSignInAndOutButton:!1,showPlayOnWebButton:!0})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const uZt=({item:e,onClose:t,isItemGuildExclusive:r})=>f.jsxs(Pa,{isOpen:!0,onClose:t,children:[f.jsx(vi,{zIndex:"AboveGameModal",bg:"ScrimDarker"}),f.jsx(z,{position:"absolute",top:"0",left:"0",zIndex:"AboveGameModal",px:2,onClick:t,children:f.jsx(z,{col:!0,auto:!0,maxW:"500px",bg:"Brown.Dark",borderRadius:"15px",borderWidth:"3px",borderColor:"Brown.Magic",boxShadow:"0 4px 10px rgba(0, 0, 0, 0.5)",overflow:"hidden",onClick:n=>n.stopPropagation(),top:"0",children:r?f.jsx(lZt,{item:e,onClose:t}):f.jsx(cZt,{item:e,onClose:t})})})]});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const dZt=({onClick:e})=>f.jsx(Xe,{w:"100%",h:"40px",bg:"Orange.Light",borderBottom:"3px solid rgba(0,0,0,0.4)",_hover:{transform:"scale(1.01)"},_active:{borderBottomWidth:"1px",borderBottomColor:"rgba(0,0,0,0.2)",boxShadow:"inset 0 3px 2px rgba(0,0,0,0.2)"},transition:"transform 0.2s ease",borderRadius:"8px",onClick:e,children:f.jsx(Nn,{color:"white",strokeColor:"black",shadowHeight:0,fontSize:"14px",fontWeight:"bold",mt:1,children:f.jsx(L,{id:"CFxymi"})})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const pZt=({isSubscribed:e,onClick:t,isLoading:r})=>f.jsxs(Xe,{w:"auto",h:"40px",bg:e?"Yellow.Magic":"Neutral.DarkGrey",borderWidth:"2px",borderColor:e?"Yellow.Dark":"Neutral.DarkGrey",borderRadius:"5px",onClick:t,isLoading:r,display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",children:[f.jsx(Nn,{color:"white",strokeColor:"black",shadowHeight:0,fontSize:"14px",fontWeight:"bold",children:f.jsx(L,{id:"5vSeMw"})}),f.jsx(Nn,{mt:-1.5,color:"white",strokeColor:"black",shadowHeight:0,fontSize:"10px",fontWeight:"extrabold",children:e?f.jsx(L,{id:"TA97a4"}):f.jsx(L,{id:"ZLR4Iz"})})]});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const hZt=({isInStock:e,canAfford:t,onClick:r,coinPrice:n})=>{const i=br(),a=t?void 0:{color:"Red.Light"},s=!e||!t;return f.jsx(Xe,{w:"100%",h:"40px",borderRadius:"8px",onClick:r,bg:s?"Neutral.Grey":"Green.Magic",isDisabled:s,borderBottom:"3px solid rgba(0,0,0,0.4)",_active:s?void 0:{borderBottomWidth:"1px",borderBottomColor:"rgba(0,0,0,0.2)",boxShadow:"inset 0 3px 2px rgba(0,0,0,0.2)"},transition:"transform 0.2s ease",children:e?f.jsx(w2,{amount:n,size:i?"sm":"md",strokedTextProps:a,showTooltip:!1}):f.jsx(Nn,{color:"white",strokeColor:"black",shadowHeight:0,fontSize:{base:"16px",lg:"18px"},fontWeight:"bold",mt:1,children:f.jsx(L,{id:"resDzv"})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const fZt=j.forwardRef(({item:e,currentStock:t,onPurchase:r,hasScrolledDown:n,isUnavailable:i,isItemGuildExclusive:a},s)=>{const o=br(),[l,c]=j.useState(!1),[u,d]=j.useState(!1),h=Pe(o4),p=Pe(tq),m=Pe(ZN),g=Pe(eq),b=Pe(rq),y=fn(),{availableCredits:v,mutateCreditsBalance:S}=h1(),{open:x}=I1(),{_:w}=Pt(),A=Pe($V),_=Pe(hOe),C=A&&e.itemType===ne.Seed&&e.species==="Carrot"&&!n,E=t>0,P=(()=>{var H,ie,J,we,Le,Ye,oe,X;switch(e.itemType){case ne.Seed:{const se=tt[e.species].seed,{name:Ce,coinPrice:ce,creditPrice:le,tileRef:Te}=se,be=(ie=(H=m.find(ze=>ze.species===e.species))==null?void 0:H.quantity)!=null?ie:0;return{name:Ce,coinPrice:ce,creditPrice:le,tileRef:Te,ownedCount:be}}case ne.Tool:{const{name:se,coinPrice:Ce,creditPrice:ce,tileRef:le,isOneTimePurchase:Te}=wa[e.toolId],be=(we=(J=g.find(ze=>ze.toolId===e.toolId))==null?void 0:J.quantity)!=null?we:0;return{name:se,coinPrice:Ce,creditPrice:ce,tileRef:le,isOneTimePurchase:Te,ownedCount:be}}case ne.Egg:{const{name:se,coinPrice:Ce,creditPrice:ce,tileRef:le}=An[e.eggId],Te=(Ye=(Le=p.find(be=>be.eggId===e.eggId))==null?void 0:Le.quantity)!=null?Ye:0;return{name:se,coinPrice:Ce,creditPrice:ce,tileRef:le,ownedCount:Te}}case ne.Decor:{const se=zi[e.decorId],{name:Ce,coinPrice:ce,creditPrice:le,tileRef:Te}=se,be=(X=(oe=b.find(ze=>ze.decorId===e.decorId))==null?void 0:oe.quantity)!=null?X:0;return{name:Ce,coinPrice:ce,creditPrice:le,tileRef:Te,ownedCount:be}}}})(),O=j.useMemo(()=>!!(Tt==="webview"&&e.itemType===ne.Seed&&!i&&y||Tt==="webview"&&e.itemType===ne.Egg&&y),[Tt,e.itemType,y,P]),k=()=>{d(!0)},I=h>=P.coinPrice,[M,D]=j.useState(!1),{subscriptions:F,mutate:$}=xY(),Y=j.useMemo(()=>e.itemType===ne.Seed?F.some(H=>H.subject==="QuinoaSeedInStock"&&H.floraSpeciesId===e.species):e.itemType===ne.Egg?F.some(H=>H.subject==="QuinoaEggInStock"&&H.eggId===e.eggId):!1,[F,e]),he=async()=>{var H,ie,J,we;if(!(e.itemType!==ne.Seed&&e.itemType!==ne.Egg)){Tt==="webview"&&((we=(J=(ie=(H=window.webkit)==null?void 0:H.messageHandlers)==null?void 0:ie.requestNotificationPermission)==null?void 0:J.postMessage)==null||we.call(J,{})),D(!0);try{const Le=e.itemType===ne.Seed?{subject:"QuinoaSeedInStock",floraSpeciesId:e.species}:{subject:"QuinoaEggInStock",eggId:e.eggId};await ra("/notifications/subscribe",Le),await $(),lt({title:f.jsx(L,{id:"tgfQEI"}),description:f.jsx(L,{id:"zobtZj",values:{0:P.name}}),variant:"success",icon:P.tileRef})}catch(Le){const Ye=Le instanceof Error?Le.message:void 0;lt({title:f.jsx(L,{id:"SDJVye"}),description:Ye,variant:"error"})}finally{D(!1)}}},fe=async()=>{if(!(e.itemType!==ne.Seed&&e.itemType!==ne.Egg)){D(!0);try{const H=e.itemType===ne.Seed?{subject:"QuinoaSeedInStock",floraSpeciesId:e.species}:{subject:"QuinoaEggInStock",eggId:e.eggId};await ra("/notifications/unsubscribe",H),await $(),lt({title:f.jsx(L,{id:"wM+dPR"}),description:f.jsx(L,{id:"RTl0vc",values:{0:P.name}}),variant:"success",icon:P.tileRef})}catch(H){const ie=H instanceof Error?H.message:void 0;lt({title:f.jsx(L,{id:"fd/tjo"}),description:ie,variant:"error"})}finally{D(!1)}}},U=async()=>{if(l)return;if(v<P.creditPrice){x();return}const H=(()=>{switch(e.itemType){case ne.Tool:return e.toolId;case ne.Seed:return e.species;case ne.Egg:return e.eggId;case ne.Decor:return e.decorId}})(),ie=(()=>{switch(e.itemType){case ne.Tool:return w({id:"JYynGH"});case ne.Seed:return w({id:"llS8Vf"});case ne.Egg:return w({id:"b7bZwx"});case ne.Decor:return w({id:"xDYlHr"})}})(),{isInventoryFull:J,isItemAtMaxQuantity:we}=Ja({itemType:e.itemType,id:H});if(J){lt({title:w({id:"e2hCG9"}),description:w({id:"bWatGx",values:{itemTypeName:ie}}),variant:"error"});return}if(we){lt({title:w({id:"D+lp/G"}),description:w({id:"QEEwHl",values:{0:P.name}}),variant:"error"});return}c(!0);try{switch(e.itemType){case ne.Seed:await am({method:"PurchaseSeedWithCredits",species:e.species});break;case ne.Tool:await am({method:"PurchaseToolWithCredits",toolId:e.toolId});break;case ne.Egg:await am({method:"PurchaseEggWithCredits",egg:e.eggId});break;case ne.Decor:await am({method:"PurchaseDecorWithCredits",decorId:e.decorId});break}await S(),agt(),lt({title:f.jsx(L,{id:"kzd5yt"}),description:f.jsx(L,{id:"KzE0PM",values:{0:(P.ownedCount+1).toLocaleString(),1:P.name,2:P.ownedCount===0?".":"(s)."},components:{0:f.jsx("strong",{})}}),variant:"success",icon:P.tileRef,onClick:aa})}catch(Le){lt({title:f.jsx(L,{id:"NzshpK"}),description:Le instanceof Error?Le.message:f.jsx(L,{id:"fWsBTs"}),variant:"error"})}finally{c(!1)}},W=P.isOneTimePurchase&&!E;return f.jsxs(f.Fragment,{children:[f.jsx(z,{px:2,ref:s,children:f.jsxs(z,{borderWidth:"2px",borderColor:"black",borderRadius:"0 0 5px 5px",borderTop:"none",p:2,bg:"Brown.Dark",autoH:!0,orient:"left",gap:1,children:[i?f.jsx(dZt,{onClick:k}):f.jsx(rp,{isActive:C,borderRadius:"8px",width:"100%",numTasks:_?2:1,children:f.jsx(hZt,{isInStock:E,canAfford:I,onClick:()=>r(e),coinPrice:P.coinPrice})}),f.jsx(Xe,{w:"100%",h:"40px",bg:"Purple.Magic",borderRadius:"8px",onClick:()=>void U(),isLoading:l,isDisabled:W,borderBottom:"3px solid rgba(0,0,0,0.4)",_active:W?void 0:{borderBottomWidth:"1px",borderBottomColor:"rgba(0,0,0,0.2)",boxShadow:"inset 0 3px 2px rgba(0,0,0,0.2)"},transition:"transform 0.2s ease",children:W?f.jsx(Nn,{color:"white",strokeColor:"black",shadowHeight:0,fontSize:{base:"16px",lg:"18px"},fontWeight:"bold",mt:1,children:f.jsx(L,{id:"resDzv"})}):f.jsx(SY,{amount:P.creditPrice,size:o?"sm":"md",strokedTextProps:{color:"MagicWhite",strokeColor:"MagicBlack"},showTooltip:!1})}),O&&f.jsx(pZt,{isSubscribed:Y,onClick:Y?()=>void fe():()=>void he(),isLoading:M})]})}),u&&f.jsx(uZt,{item:e,onClose:()=>d(!1),isItemGuildExclusive:a})]})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const mZt=Io({"0%":{backgroundPosition:"0% 50%"},"50%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0% 50%"}}),X7=({purchaseItem:e,onPurchase:t,onLearnMore:r,onToggleExpanded:n,isExpanded:i=!1,scrollableContainerRef:a,isUnavailable:s=!1,hasScrolledDown:o=!1})=>{var I,M,D;const l=Pe(jMe),c=Nl(),u=j.useRef(null),d=Pe($V),{subscriptions:h}=xY(),p=j.useMemo(()=>{if(Tt!=="webview")return!1;if(e.itemType===ne.Seed)return h.some(F=>F.subject==="QuinoaSeedInStock"&&F.floraSpeciesId===e.species);if(e.itemType===ne.Egg)return h.some(F=>F.subject==="QuinoaEggInStock"&&F.eggId===e.eggId)},[h,e]);if(!l)return null;const m=d&&e.itemType===ne.Seed&&e.species==="Carrot"&&!i&&!o,b=(()=>{switch(e.itemType){case ne.Seed:{const{seed:F,crop:$,plant:Y}=tt[e.species],{name:he,coinPrice:fe,creditPrice:U,tileRef:W,rarity:H}=F,ie="abilities"in Y?Y.abilities.map(J=>f.jsx(z,{children:f.jsx(FMe,{abilityId:J,showSpecs:!1})},J)):null;return{name:he,coinPrice:fe,mainSprite:W,secondarySprite:$.tileRef,rarity:H,description:ie,creditPrice:U}}case ne.Tool:{const{name:F,coinPrice:$,tileRef:Y,rarity:he,isOneTimePurchase:fe}=wa[e.toolId],U=nZt(e.toolId);return{name:F,coinPrice:$,mainSprite:Y,rarity:he,description:U,isOneTimePurchase:fe}}case ne.Egg:{const{name:F,coinPrice:$,tileRef:Y,rarity:he}=An[e.eggId];return{name:F,coinPrice:$,mainSprite:Y,rarity:he}}case ne.Decor:{const F=zi[e.decorId],{name:$,coinPrice:Y,tileRef:he,rarity:fe,isOneTimePurchase:U}=F,W="expiryDate"in F&&F.expiryDate,H=eZt(e.decorId);return{name:$,coinPrice:Y,mainSprite:he,rarity:fe,expiryDate:W,isOneTimePurchase:U,description:H}}default:return}})();if(!b)return console.error("Invalid item type",e),null;const y=(()=>{var F,$,Y,he,fe,U,W,H;switch(e.itemType){case ne.Seed:return($=(F=l.seed)==null?void 0:F.purchases[e.species])!=null?$:0;case ne.Tool:return b.isOneTimePurchase?Zoe({itemType:ne.Tool,id:e.toolId}):(he=(Y=l.tool)==null?void 0:Y.purchases[e.toolId])!=null?he:0;case ne.Egg:return(U=(fe=l.egg)==null?void 0:fe.purchases[e.eggId])!=null?U:0;case ne.Decor:return b.isOneTimePurchase?Zoe({itemType:ne.Decor,id:e.decorId}):(H=(W=l.decor)==null?void 0:W.purchases[e.decorId])!=null?H:0;default:return 0}})(),v=e.initialStock>0&&!s,S=v?e.initialStock-y:0,x=b.isOneTimePurchase&&y>0,w=()=>{n==null||n(e),i||setTimeout(()=>{if(a!=null&&a.current&&u.current){const F=a.current,$=u.current,Y=$.firstElementChild;if(Y){const he=F.getBoundingClientRect(),fe=$.getBoundingClientRect().top,U=Y.offsetHeight,W=fe-he.top,H=F.scrollTop+W-he.height/2+U/2;F.scrollTo({top:H,behavior:"smooth"})}}},100)},A=e.itemType===ne.Seed?tt[e.species].seed:null,_=LMe((I=Fd())!=null?I:""),C=!!(A!=null&&A.getCanSpawnInGuild),E=(A==null?void 0:A.unavailableSurfaces)&&(A==null?void 0:A.unavailableSurfaces.length)>0&&!((M=A==null?void 0:A.unavailableSurfaces)!=null&&M.includes(Tt)),R=!!(_&&((D=A==null?void 0:A.getCanSpawnInGuild)!=null&&D.call(A,_))),P=Tt==="webview"&&E,O=Tt==="web"&&E,k=()=>b.expiryDate?v?"#785536":s?"#3d2d1f":"#5a340e":v?"Brown.Magic":s?"#37302b":"Brown.Dark";return f.jsxs(z,{col:!0,zIndex:0,autoH:!0,children:[f.jsx(rp,{isActive:m,borderRadius:"5px",width:"100%",children:f.jsx(Xe,{variant:"blank",borderWidth:"2px",borderColor:"black",p:2,bg:k(),borderRadius:"5px",w:"100%",onClick:w,isDisabled:x,_hover:{filter:"brightness(1.1)"},_active:{opacity:1,filter:"brightness(1.2)"},children:f.jsxs(z,{height:c?"70px":"80px",orient:"left",gap:2,children:[f.jsx(z,{auto:!0,position:"relative",children:f.jsx(qt,{tileRef:b.mainSprite,width:c?"40px":"60px",height:c?"40px":"60px"})}),f.jsxs(z,{auto:!0,position:"absolute",top:2,right:2,orient:"top right",gap:1,children:[b.expiryDate&&f.jsxs(z,{auto:!0,gap:.5,col:!0,orient:"top right",children:[f.jsx(Sr,{label:f.jsx(L,{id:"iW2eeX",values:{0:YF(b.expiryDate,!0)}}),keepOpenOnDesktopClick:!0,children:f.jsx($b,{bg:"Orange.Dark",color:"MagicWhite",children:f.jsx(L,{id:"uEcJoR"})})}),f.jsx(sZt,{expiryDate:b.expiryDate})]}),p&&f.jsx($b,{bg:"Yellow.Pastel",children:f.jsx(L,{id:"5vSeMw"})}),s&&f.jsx(ue,{as:"span",cursor:"pointer",onClick:F=>{F.stopPropagation(),r==null||r(e)},fontSize:{base:"8px",sm:"12px",md:"14px",lg:"16px"},fontWeight:"bold",color:"Neutral.Grey",textAlign:"right",lineHeight:"1.1",children:f.jsx(L,{id:"NS31Nl"})}),P&&f.jsx($b,{bg:"Cyan.Magic",color:"MagicWhite",children:f.jsx(L,{id:"q9qLNb"})}),O&&f.jsx($b,{bg:"Cyan.Magic",color:"MagicWhite",children:f.jsx(L,{id:"BLnhkX"})}),R&&f.jsx($b,{bg:"Cyan.Magic",color:"MagicWhite",children:f.jsx(L,{id:"z0dGO7"})})]}),f.jsxs(bt,{templateRows:"auto 1fr",flex:1,gap:1,children:[f.jsx(ue,{fontWeight:"bold",fontSize:{base:"16px",md:"18px"},align:"left",children:b.name}),f.jsxs(bt,{templateColumns:"auto 1fr auto",alignItems:"center",gap:2,children:[x?f.jsx(z,{orient:"top left",w:"70px",children:f.jsx(ue,{fontSize:{base:"10px",sm:"12px",md:"14px",lg:"16px"},fontWeight:"bold",color:"Neutral.Grey",children:f.jsx(L,{id:"ZywGTt"})})}):f.jsxs(z,{col:!0,orient:"top left",gap:0,whiteSpace:"nowrap",w:"70px",children:[f.jsx(ue,{fontSize:{base:"12px",sm:"13px",md:"16px"},fontWeight:"bold",color:S>0?"Green.Light":"Red.Light",textTransform:"uppercase",children:S>0?f.jsx(L,{id:"oWfbRF",values:{currentStock:S}}):f.jsx(L,{id:"hWPRLk",values:{0:s?f.jsx(L,{id:"tzDzOs"}):""}})}),f.jsx(w2,{amount:b.coinPrice,size:"sm"})]}),f.jsx(z,{orient:"top left",pl:{base:0,md:2},children:f.jsx(Ne,{fontSize:{base:"8px",sm:"11px",md:"13px",lg:"15px"},fontWeight:"bold",color:"Neutral.Grey",textAlign:"left",children:b.description})}),f.jsx(z,{orient:"bottom right",children:b.rarity&&f.jsx(Ne,{bg:b.rarity===Be.Celestial?void 0:SF(b.rarity),borderRadius:"3px",py:.5,px:1,sx:b.rarity===Be.Celestial?{background:Rye[Be.Celestial],backgroundSize:"200% 200%",animation:`${mZt} 4s linear infinite`}:{},children:f.jsx(ue,{fontSize:{base:"10px",sm:"12px",md:"14px",lg:"16px"},color:p1(SF(b.rarity)),fontWeight:"bold",textShadow:b.rarity===Be.Celestial?"0 0 4px black":void 0,children:b.rarity})})})]})]})]})})}),f.jsx(bi,{children:i&&t&&f.jsx(Cn,{ref:u,initial:{height:0,y:-75,opacity:0},animate:{height:"auto",y:0,opacity:1},transition:{type:"spring",stiffness:300,damping:25,mass:.8},width:"100%",zIndex:"-1",children:f.jsx(fZt,{item:e,currentStock:S,onPurchase:t,hasScrolledDown:o,isUnavailable:s,isItemGuildExclusive:C})})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:r8}=ft(),$Me=e=>{var o,l;const t=r8(rq),{tileRef:r,name:n}=zi[e.decorId],{isInventoryFull:i,isItemAtMaxQuantity:a}=Ja({itemType:ne.Decor,id:e.decorId});if(i){lt({title:f.jsx(L,{id:"e2hCG9"}),description:f.jsx(L,{id:"msJ+gh"}),variant:"error"});return}if(a){lt({title:f.jsx(L,{id:"D+lp/G"}),description:f.jsx(L,{id:"1280GK",values:{name:n}}),variant:"error"});return}zt({type:"PurchaseDecor",decorId:e.decorId});const s=(l=(o=t.find(c=>c.decorId===e.decorId))==null?void 0:o.quantity)!=null?l:0;r4(),lt({variant:"success",icon:r,title:f.jsx(L,{id:"kzd5yt"}),description:f.jsx(L,{id:"8i7MdD",values:{0:s+1,1:s===0?".":"(s).",name:n},components:{0:f.jsx("strong",{})}}),onClick:aa})},gZt=e=>{var o,l;const t=r8(eq),{tileRef:r,name:n}=wa[e.toolId],{isInventoryFull:i,isItemAtMaxQuantity:a}=Ja({itemType:ne.Tool,id:e.toolId});if(i){lt({title:f.jsx(L,{id:"e2hCG9"}),description:f.jsx(L,{id:"nxbmfk"}),variant:"error"});return}if(a){lt({title:f.jsx(L,{id:"D+lp/G"}),description:f.jsx(L,{id:"1280GK",values:{name:n}}),variant:"error"});return}zt({type:"PurchaseTool",toolId:e.toolId});const s=(l=(o=t.find(c=>c.toolId===e.toolId))==null?void 0:o.quantity)!=null?l:0;r4(),lt({variant:"success",icon:r,title:f.jsx(L,{id:"kzd5yt"}),description:f.jsx(L,{id:"8i7MdD",values:{0:(s+1).toLocaleString(),1:s===0?".":"(s).",name:n},components:{0:f.jsx("strong",{})}}),onClick:aa})},bZt=e=>{var o,l;const t=r8(ZN),{name:r,tileRef:n}=tt[e.species].seed,{isInventoryFull:i,isItemAtMaxQuantity:a}=Ja({itemType:ne.Seed,id:e.species});if(i){lt({title:f.jsx(L,{id:"e2hCG9"}),description:f.jsx(L,{id:"bUZ+es"}),variant:"error"});return}if(a){lt({title:f.jsx(L,{id:"D+lp/G"}),description:f.jsx(L,{id:"1280GK",values:{name:r}}),variant:"error"});return}zt({type:"PurchaseSeed",species:e.species});const s=(l=(o=t.find(c=>c.species===e.species))==null?void 0:o.quantity)!=null?l:0;r4(),lt({variant:"success",icon:n,title:f.jsx(L,{id:"kzd5yt"}),description:f.jsx(L,{id:"8i7MdD",values:{0:(s+1).toLocaleString(),1:s===0?".":"(s).",name:r},components:{0:f.jsx("strong",{})}}),onClick:aa})},yZt=e=>{var o,l;const t=r8(tq),{tileRef:r,name:n}=An[e.eggId],{isInventoryFull:i,isItemAtMaxQuantity:a}=Ja({itemType:ne.Egg,id:e.eggId});if(i){lt({title:f.jsx(L,{id:"e2hCG9"}),description:f.jsx(L,{id:"KvZfQs"}),variant:"error"});return}if(a){lt({title:f.jsx(L,{id:"D+lp/G"}),description:f.jsx(L,{id:"1280GK",values:{name:n}}),variant:"error"});return}zt({type:"PurchaseEgg",eggId:e.eggId});const s=(l=(o=t.find(c=>c.eggId===e.eggId))==null?void 0:o.quantity)!=null?l:0;r4(),lt({variant:"success",icon:r,title:f.jsx(L,{id:"kzd5yt"}),description:f.jsx(L,{id:"8i7MdD",values:{0:(s+1).toLocaleString(),1:s===0?".":"(s).",name:n},components:{0:f.jsx("strong",{})}}),onClick:aa})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const vZt=()=>{const e=Pe(WJt),t=Pe(S2),r=j.useRef(null),[n,i]=j.useState(null),a=s=>{s.itemType===ne.Decor&&i(n===s.decorId?null:s.decorId)};return f.jsx(Yl,{children:f.jsxs(bt,{autoH:!0,maxH:"100%",maxW:"600px",templateRows:"auto 1fr",bg:"MagicBlack",borderRadius:"15px",borderWidth:"3px",borderColor:"Brown.Dark",boxShadow:"0 4px 10px rgba(0, 0, 0, 0.5)",overflow:"hidden",onClick:s=>s.stopPropagation(),children:[f.jsxs(bt,{templateColumns:"1fr 1fr auto",gap:{base:.5,md:2},alignItems:"center",bg:"#D5980D",p:2,overflow:"hidden",children:[f.jsxs(z,{gap:{base:.5,md:2},orient:"left",children:[f.jsx(ue,{fontWeight:"bold",fontSize:{base:"16px",md:"18px",lg:"20px"},whiteSpace:"nowrap",children:f.jsx(L,{id:"mgI+rC"})}),f.jsx(Ne,{w:"90px",children:f.jsx(x2,{seconds:t,showHours:!1,showDays:!1,bg:"#dbab33",strokeColor:"#D5980D"})})]}),f.jsx(z,{orient:"right",children:f.jsx(t8,{shopType:Jn.Decor})}),f.jsx(yi,{onClick:ks})]}),f.jsx(Ne,{ref:r,overflowY:"auto",sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},children:f.jsxs(z,{col:!0,orient:"top",p:2,pt:1,children:[e.map(s=>f.jsx(X7,{purchaseItem:s,onPurchase:$Me,onToggleExpanded:a,isExpanded:n===s.decorId,scrollableContainerRef:r},s.decorId)),f.jsx(z,{p:3,pt:2,auto:!0,children:f.jsx(ue,{fontSize:{base:"xs",md:"sm"},color:"rgba(255, 255, 255, 0.7)",textAlign:"center",fontStyle:"italic",lineHeight:"1.2",children:f.jsx(L,{id:"CP77SO"})})})]})})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const TZt=()=>{const e=Pe(UJt),t=Pe(yY),r=j.useRef(null),[n,i]=j.useState(null),a=s=>{s.itemType===ne.Egg&&i(n===s.eggId?null:s.eggId)};return f.jsx(Yl,{children:f.jsxs(bt,{autoH:!0,maxH:"100%",maxW:"600px",templateRows:"auto 1fr",bg:"MagicBlack",borderRadius:"15px",borderWidth:"3px",borderColor:"Brown.Dark",boxShadow:"0 4px 10px rgba(0, 0, 0, 0.5)",overflow:"hidden",onClick:s=>s.stopPropagation(),children:[f.jsxs(bt,{templateColumns:"1fr 1fr auto",gap:{base:.5,md:2},alignItems:"center",bg:"Purple.Dark",p:2,overflow:"hidden",children:[f.jsxs(z,{gap:{base:.5,md:2},orient:"left",children:[f.jsx(ue,{fontWeight:"bold",fontSize:{base:"16px",md:"18px",lg:"20px"},whiteSpace:"nowrap",children:f.jsx(L,{id:"YWcnfG"})}),f.jsx(Ne,{w:"90px",children:f.jsx(x2,{seconds:t,showHours:!1,showDays:!1})})]}),f.jsx(z,{orient:"right",children:f.jsx(t8,{shopType:Jn.Egg})}),f.jsx(yi,{onClick:ks})]}),f.jsx(Ne,{ref:r,overflowY:"auto",sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},children:f.jsxs(z,{col:!0,orient:"top",p:2,pt:1,children:[e.map(s=>f.jsx(X7,{purchaseItem:s,onPurchase:yZt,onToggleExpanded:a,isExpanded:n===s.eggId,scrollableContainerRef:r},s.eggId)),f.jsx(z,{p:3,pt:2,auto:!0,children:f.jsx(ue,{fontSize:{base:"xs",md:"sm"},color:"rgba(255, 255, 255, 0.7)",textAlign:"center",fontStyle:"italic",lineHeight:"1.2",children:f.jsx(L,{id:"Sg8ZU+"})})})]})})]})})};var Bj,ele;function SZt(){if(ele)return Bj;ele=1;function e(t,r,n){var i=-1,a=t.length;r<0&&(r=-r>a?0:a+r),n=n>a?a:n,n<0&&(n+=a),a=r>n?0:n-r>>>0,r>>>=0;for(var s=Array(a);++i<a;)s[i]=t[i+r];return s}return Bj=e,Bj}var Nj,tle;function xZt(){if(tle)return Nj;tle=1;var e=SZt();function t(r,n,i){var a=r.length;return i=i===void 0?a:i,!n&&i>=a?r:e(r,n,i)}return Nj=t,Nj}var qj,rle;function wY(){if(rle)return qj;rle=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",i=t+r+n,a="\\ufe0e\\ufe0f",s="\\u200d",o=RegExp("["+s+e+i+a+"]");function l(c){return o.test(c)}return qj=l,qj}var zj,nle;function wZt(){if(nle)return zj;nle=1;var e=Yw(),t=Bd(),r="[object RegExp]";function n(i){return t(i)&&e(i)==r}return zj=n,zj}var Wj,ile;function _Zt(){if(ile)return Wj;ile=1;var e=wZt(),t=Jw(),r=GF(),n=r&&r.isRegExp,i=n?t(n):e;return Wj=i,Wj}var Hj,ale;function AZt(){if(ale)return Hj;ale=1;var e=vMe(),t=e("length");return Hj=t,Hj}var Uj,sle;function CZt(){if(sle)return Uj;sle=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",i=t+r+n,a="\\ufe0e\\ufe0f",s="["+e+"]",o="["+i+"]",l="\\ud83c[\\udffb-\\udfff]",c="(?:"+o+"|"+l+")",u="[^"+e+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",p="\\u200d",m=c+"?",g="["+a+"]?",b="(?:"+p+"(?:"+[u,d,h].join("|")+")"+g+m+")*",y=g+m+b,v="(?:"+[u+o+"?",o,d,h,s].join("|")+")",S=RegExp(l+"(?="+l+")|"+v+y,"g");function x(w){for(var A=S.lastIndex=0;S.test(w);)++A;return A}return Uj=x,Uj}var Gj,ole;function EZt(){if(ole)return Gj;ole=1;var e=AZt(),t=wY(),r=CZt();function n(i){return t(i)?r(i):e(i)}return Gj=n,Gj}var Vj,lle;function PZt(){if(lle)return Vj;lle=1;function e(t){return t.split("")}return Vj=e,Vj}var Yj,cle;function jZt(){if(cle)return Yj;cle=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",i=t+r+n,a="\\ufe0e\\ufe0f",s="["+e+"]",o="["+i+"]",l="\\ud83c[\\udffb-\\udfff]",c="(?:"+o+"|"+l+")",u="[^"+e+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",p="\\u200d",m=c+"?",g="["+a+"]?",b="(?:"+p+"(?:"+[u,d,h].join("|")+")"+g+m+")*",y=g+m+b,v="(?:"+[u+o+"?",o,d,h,s].join("|")+")",S=RegExp(l+"(?="+l+")|"+v+y,"g");function x(w){return w.match(S)||[]}return Yj=x,Yj}var Kj,ule;function RZt(){if(ule)return Kj;ule=1;var e=PZt(),t=wY(),r=jZt();function n(i){return t(i)?r(i):e(i)}return Kj=n,Kj}var Xj,dle;function IZt(){if(dle)return Xj;dle=1;var e=bMe(),t=xZt(),r=wY(),n=$d(),i=_Zt(),a=EZt(),s=RZt(),o=aY(),l=dY(),c=30,u="...",d=/\w*$/;function h(p,m){var g=c,b=u;if(n(m)){var y="separator"in m?m.separator:y;g="length"in m?o(m.length):g,b="omission"in m?e(m.omission):b}p=l(p);var v=p.length;if(r(p)){var S=s(p);v=S.length}if(g>=v)return p;var x=g-a(b);if(x<1)return b;var w=S?t(S,0,x).join(""):p.slice(0,x);if(y===void 0)return w+b;if(S&&(x+=w.length-x),i(y)){if(p.slice(x).search(y)){var A,_=w;for(y.global||(y=RegExp(y.source,l(d.exec(y))+"g")),y.lastIndex=0;A=y.exec(_);)var C=A.index;w=w.slice(0,C===void 0?x:C)}}else if(p.indexOf(e(y),x)!=x){var E=w.lastIndexOf(y);E>-1&&(w=w.slice(0,E))}return w+b}return Xj=h,Xj}var OZt=IZt();const MZt=Ld(OZt);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const kZt=12;function n8(e,t=kZt){return MZt(e,{length:t})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const DZt=()=>{const e=Pe(_Kt),t=j.useMemo(()=>[...e].sort((r,n)=>n.coinsCount-r.coinsCount),[e]);return f.jsx(Yl,{children:f.jsxs(bt,{autoH:!0,maxH:"100%",maxW:"700px",templateRows:"auto 1fr",bg:"MagicBlack",borderRadius:"15px",borderWidth:"3px",borderColor:"Brown.Dark",boxShadow:"0 4px 10px rgba(0, 0, 0, 0.5)",overflow:"hidden",onClick:r=>r.stopPropagation(),children:[f.jsxs(bt,{templateColumns:"1fr auto",gap:2,alignItems:"center",p:2,bg:"Teal.Dark",children:[f.jsx(ue,{fontSize:{base:"14px",md:"20px"},fontWeight:"bold",children:f.jsx(L,{id:"/eex5D"})}),f.jsx(yi,{onClick:ks})]}),f.jsx(z,{col:!0,orient:"top",overflowY:"auto",sx:{"&::-webkit-scrollbar":{width:"8px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"4px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},children:t.map((r,n)=>f.jsxs(z,{col:!0,autoH:!0,children:[f.jsxs(z,{orient:"space-between center",px:3,h:"80px",children:[f.jsxs(z,{orient:"left center",gap:3,flex:1,overflow:"hidden",children:[f.jsx(Qh,{playerOrId:r.playerId,size:"xs"}),f.jsx(ue,{fontSize:"md",fontWeight:"medium",isTruncated:!0,title:r.playerId,children:n8(r.name)})]}),f.jsx(w2,{amount:r.coinsCount})]}),n<t.length-1&&f.jsx(Zo,{borderColor:"whiteAlpha.200"})]},n))})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const On=4,LZt=()=>{const e=b2(),t=Pe(nq),r=Pe(aq),n=Pe(hn),[i,a]=j.useState(null),[s,o]=j.useState(null),{_:l}=Pt(),c=j.useRef(new Map),u=j.useRef(null),d=j.useRef(null),h=j.useRef(null),[p,m]=j.useState(null),[g,b]=j.useState("right"),[y,v]=j.useState(!1),[S,x]=j.useState(null),[w,A]=j.useState(!1),_=U=>{o(null),a(W=>W===U?null:U)},C=U=>{a(null),o(W=>W===U?null:U)},E=j.useCallback(()=>{var H;if(s===null)return;const U=t[s];if(!U)return;const{name:W}=wt[U.petSpecies];if(r.length>=$f){lt({title:l({id:"5pwygu"}),description:l({id:"Z7YOCD",values:{0:(H=U.name)!=null?H:l({id:"MkJe6K",values:{speciesName:W}})}}),variant:"error"});return}zt({type:"PutItemInStorage",itemId:Tr(U),storageId:"PetHutch"}),s===t.length-1&&o(null)},[s,t]),R=j.useCallback(()=>{var J,we;if(i===null)return;const U=r[i];if(!U)return;const{isInventoryFull:W,isItemAtMaxQuantity:H}=Ja({itemType:ne.Pet,id:Tr(U)}),{name:ie}=wt[U.petSpecies];if(W){lt({title:l({id:"e2hCG9"}),description:l({id:"oLh7wh",values:{0:(J=U.name)!=null?J:l({id:"MkJe6K",values:{speciesName:ie}})}}),variant:"error"});return}if(H){lt({title:l({id:"D+lp/G"}),description:l({id:"QEEwHl",values:{0:(we=U.name)!=null?we:l({id:"MkJe6K",values:{speciesName:ie}})}}),variant:"error"});return}zt({type:"RetrieveItemFromStorage",itemId:Tr(U),storageId:"PetHutch"}),i===r.length-1&&a(null)},[i,r]),P=j.useCallback(()=>{Iye(),ks()},[]),O=j.useCallback(U=>{const W=r.findIndex(ie=>Tr(ie)===U),H=t.findIndex(ie=>Tr(ie)===U);W!==-1?_(W):H!==-1&&C(H)},[r,t]),k=j.useCallback(U=>{x(U)},[]),I=j.useCallback(U=>{v(!0),O(U)},[O]),M=j.useCallback((U,W,H)=>{const ie=W.point;let J=!1;const we=r.some(X=>Tr(X)===H),Le=we?r:t,Ye=Le.findIndex(X=>Tr(X)===H),oe=[...r,...t];for(const X of oe){const se=Tr(X);if(se===H)continue;const Ce=c.current.get(se);if(!Ce)continue;const ce=Ce.getBoundingClientRect();if(ie.x>=ce.left&&ie.x<=ce.right&&ie.y>=ce.top&&ie.y<=ce.bottom){const le=r.some(be=>Tr(be)===se);if(we&&le||!we&&!le){const be=Le.findIndex(ze=>Tr(ze)===se);Ye<be?b("left"):b("right")}else b("right");m(se),J=!0;break}}J||m(null)},[r,t,c]),D=j.useCallback((U,W,H)=>{v(!1),m(null);const ie=W.point,J=()=>{A(!0),setTimeout(()=>{A(!1)},250)},we=r.findIndex(se=>Tr(se)===H),Le=t.findIndex(se=>Tr(se)===H),Ye=we!==-1,oe=Le!==-1;if(!Ye&&!oe)return!1;const X=[...r,...t];for(const se of X){const Ce=Tr(se);if(Ce===H)continue;const ce=c.current.get(Ce);if(!ce)continue;const le=ce.getBoundingClientRect();if(ie.x>=le.left&&ie.x<=le.right&&ie.y>=le.top&&ie.y<=le.bottom){const Te=r.findIndex(St=>Tr(St)===Ce),be=t.findIndex(St=>Tr(St)===Ce),ze=Te!==-1,Ze=be!==-1;if(Ye&&ze)return Te===we?!1:(zt({type:"MoveStorageItem",itemId:H,storageId:"PetHutch",toStorageIndex:Te}),a(Te),J(),!0);if(oe&&Ze){const St=n.findIndex(Rt=>Tr(Rt)===H),Ut=n.findIndex(Rt=>Tr(Rt)===Ce);return Ut===St?!1:(zt({type:"MoveInventoryItem",moveItemId:H,toInventoryIndex:Ut}),o(be),J(),!0)}if(oe&&ze)return r.length>=$f?(lt({title:l({id:"5pwygu"}),description:l({id:"IjO2c/"}),variant:"error"}),!1):(zt({type:"PutItemInStorage",itemId:H,storageId:"PetHutch",toStorageIndex:Te}),a(Te),o(null),J(),!0);if(Ye&&Ze){if(!r[we])return!1;const{isInventoryFull:Ut,isItemAtMaxQuantity:Rt}=Ja({itemType:ne.Pet,id:H});if(Ut)return lt({title:l({id:"e2hCG9"}),description:l({id:"EjvGOT"}),variant:"error"}),!1;if(Rt)return lt({title:l({id:"D+lp/G"}),description:l({id:"BVtVq4"}),variant:"error"}),!1;const Dt=n.findIndex(nt=>Tr(nt)===Ce);return zt({type:"RetrieveItemFromStorage",itemId:H,storageId:"PetHutch",toInventoryIndex:Dt}),o(be),a(null),J(),!0}return!1}}if(oe&&d.current){const se=d.current.getBoundingClientRect();if(ie.x>=se.left&&ie.x<=se.right&&ie.y>=se.top&&ie.y<=se.bottom)return r.length>=$f?(lt({title:l({id:"5pwygu"}),description:l({id:"IjO2c/"}),variant:"error"}),!1):(zt({type:"PutItemInStorage",itemId:H,storageId:"PetHutch"}),a(r.length),o(null),J(),!0)}if(Ye&&h.current){const se=h.current.getBoundingClientRect();if(ie.x>=se.left&&ie.x<=se.right&&ie.y>=se.top&&ie.y<=se.bottom){if(!r[we])return!1;const{isInventoryFull:ce,isItemAtMaxQuantity:le}=Ja({itemType:ne.Pet,id:H});return ce?(lt({title:l({id:"e2hCG9"}),description:l({id:"EjvGOT"}),variant:"error"}),!1):le?(lt({title:l({id:"D+lp/G"}),description:l({id:"BVtVq4"}),variant:"error"}),!1):(zt({type:"RetrieveItemFromStorage",itemId:H,storageId:"PetHutch"}),o(t.length),a(null),J(),!0)}}return!1},[r,t,n,c,d,h]),{buttonText:F,actionType:$,isDisabled:Y,buttonBg:he}=j.useMemo(()=>{var U,W;if(y||w)return{buttonText:l({id:"SJVPgO"}),actionType:null,isDisabled:!0,buttonBg:"Neutral.EarlGrey"};if(s!==null){const H=t[s];if(H){const{name:ie}=wt[H.petSpecies],J=(U=H.name)!=null?U:ie;return{buttonText:l({id:"iJFFUq",values:{petName:J}}),actionType:"store",isDisabled:!1,buttonBg:"Orange.Dark"}}}if(i!==null){const H=r[i];if(H){const{name:ie}=wt[H.petSpecies],J=(W=H.name)!=null?W:ie;return{buttonText:l({id:"Yqwic9",values:{petName:J}}),actionType:"retrieve",isDisabled:!1,buttonBg:"Blue.Dark"}}}return{buttonText:l({id:"pqytyi"}),actionType:null,isDisabled:!0,buttonBg:"Neutral.EarlGrey"}},[y,w,i,s,t,r]),fe=j.useCallback(()=>{$==="store"?E():$==="retrieve"&&R()},[$,E,R]);return f.jsx(Yl,{children:f.jsxs(bt,{templateRows:"auto 1fr",borderRadius:"15px",bg:"MagicBlack",borderWidth:"3px",borderColor:"Brown.Dark",boxShadow:"xl",overflow:"hidden",autoH:!0,h:"95%",pt:1,pb:2,px:1,w:{base:`calc(${e}px * 4 + ${On}px * 10)`,sm:`calc(${e}px * 5 + ${On}px * 11)`,md:`calc(${e}px * 8 + ${On}px * 14)`,lg:`calc(${e}px * 10 + ${On}px * 16)`},onClick:U=>U.stopPropagation(),children:[f.jsxs(bt,{autoH:!0,templateColumns:"1fr 1fr",p:`${On}px`,alignItems:"center",gap:`${On}px`,children:[f.jsx(z,{orient:"top left",gap:2,children:f.jsx(Xe,{onClick:fe,isDisabled:Y,py:0,px:3,h:"35px",bg:he,borderRadius:"10px",children:f.jsx(ue,{fontWeight:"bold",fontSize:{base:"10px",md:"12px"},whiteSpace:"wrap",children:F})})}),f.jsxs(z,{orient:"top right",pr:1,gap:2,children:[f.jsx(Xe,{onClick:P,py:0,px:3,h:"35px",bg:"Neutral.EarlGrey",borderRadius:"10px",children:f.jsx(ue,{fontWeight:"bold",fontSize:{base:"10px",md:"12px"},children:f.jsx(L,{id:"/Dtez+"})})}),f.jsx(yi,{w:"15px",ml:1,onClick:ks})]})]}),f.jsxs(bt,{ref:u,justifyContent:"center",position:"relative",templateRows:"auto 1fr auto 1fr",overflowY:"auto",overflowX:"hidden",p:`${On}px`,gap:1,sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},children:[f.jsxs(bt,{auto:!0,templateColumns:"1fr auto 1fr",px:1,children:[f.jsx(ue,{textAlign:"center",fontWeight:"bold",gridColumn:2,children:f.jsx(L,{id:"/D6GPJ"})}),f.jsx(z,{orient:"bottom right",children:f.jsxs(ue,{fontWeight:r.length>=$f?"bold":"normal",fontSize:"12px",children:[r.length,"/",$f]})})]}),f.jsx(z,{ref:d,wrap:"wrap",autoH:!0,orient:"top left",gap:`${On}px`,w:{base:`calc(${e}px * 4 + ${On}px * 5)`,sm:`calc(${e}px * 5 + ${On}px * 6)`,md:`calc(${e}px * 8 + ${On}px * 9)`,lg:`calc(${e}px * 10 + ${On}px * 11)`},bg:"Brown.Dark",p:`${On}px`,borderRadius:"10px",children:r.length===0?f.jsx(z,{children:f.jsx(ue,{color:"Neutral.DarkGrey",fontStyle:"italic",fontSize:{base:"12px",md:"14px"},textAlign:"center",children:f.jsx(L,{id:"wWlEGA"})})}):r.map((U,W)=>{const H=Tr(U);return f.jsx("div",{ref:ie=>{ie?c.current.set(H,ie):c.current.delete(H)},children:f.jsx(TF,{item:U,inventoryItemId:H,isSelected:i===W,onItemSelect:O,onDragReady:k,onDragStart:I,onDrag:M,onDragEnd:D,isOpaque:!0,dragConstraintsRef:u,isHoveredTarget:p===H,hoverDirection:g,isAnyItemDragging:y,isDragReadyForAnyItem:S!==null})},`hutch-${U.id}-${W}`)})}),f.jsx(ue,{textAlign:"center",pt:{base:2,md:5},fontWeight:"bold",children:f.jsx(L,{id:"DP77yC"})}),f.jsx(z,{ref:h,wrap:"wrap",autoH:!0,orient:"top left",gap:`${On}px`,w:{base:`calc(${e}px * 4 + ${On}px * 5)`,sm:`calc(${e}px * 5 + ${On}px * 6)`,md:`calc(${e}px * 8 + ${On}px * 9)`,lg:`calc(${e}px * 10 + ${On}px * 11)`},bg:"Neutral.Black",p:`${On}px`,borderRadius:"10px",children:t.length===0?f.jsx(z,{children:f.jsx(ue,{color:"Neutral.DarkGrey",fontStyle:"italic",fontSize:{base:"12px",md:"14px"},textAlign:"center",children:f.jsx(L,{id:"KQov8r"})})}):t.map((U,W)=>{const H=Tr(U);return f.jsx("div",{ref:ie=>{ie?c.current.set(H,ie):c.current.delete(H)},children:f.jsx(TF,{item:U,inventoryItemId:H,isSelected:s===W,onItemSelect:O,onDragReady:k,onDragStart:I,onDrag:M,onDragEnd:D,isOpaque:!0,dragConstraintsRef:u,isHoveredTarget:p===H,hoverDirection:g,isAnyItemDragging:y,isDragReadyForAnyItem:S!==null})},`inv-${U.id}-${W}`)})})]})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const FZt=()=>{const e=Pe(HJt),t=Pe(gY),r=j.useRef(null),[n,i]=j.useState(null),[a,s]=j.useState(!1);j.useEffect(()=>{const l=r.current;if(!l)return;const c=()=>{const u=l.scrollTop===0;s(!u)};return l.addEventListener("scroll",c,{passive:!0}),c(),()=>{l.removeEventListener("scroll",c)}},[]);const o=l=>{l.itemType===ne.Seed&&l.itemType===ne.Seed&&i(n===l.species?null:l.species)};return f.jsx(Yl,{children:f.jsxs(bt,{autoH:!0,maxH:"100%",maxW:"600px",templateRows:"auto 1fr",bg:"MagicBlack",borderRadius:"15px",borderWidth:"3px",borderColor:"Brown.Dark",boxShadow:"0 4px 10px rgba(0, 0, 0, 0.5)",overflow:"hidden",onClick:l=>l.stopPropagation(),children:[f.jsxs(bt,{templateColumns:"1fr 1fr auto",gap:{base:.5,md:2},alignItems:"center",bg:"Green.Darker",p:2,overflow:"hidden",children:[f.jsxs(z,{gap:{base:.5,md:2},orient:"left",children:[f.jsx(ue,{fontWeight:"bold",fontSize:{base:"16px",md:"18px",lg:"20px"},whiteSpace:"nowrap",children:f.jsx(L,{id:"cb00zd"})}),f.jsx(Ne,{w:"90px",children:f.jsx(x2,{seconds:t,showHours:!1,showDays:!1,bg:"Green.Dark",strokeColor:"Green.Darker"})})]}),f.jsx(z,{orient:"right",children:f.jsx(t8,{shopType:Jn.Seed})}),f.jsx(yi,{onClick:ks})]}),f.jsx(Ne,{ref:r,overflowY:"auto",sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},children:f.jsxs(z,{col:!0,orient:"top",p:2,pt:1,children:[e.map(l=>{var m,g;const c=tt[l.species].seed,u="unavailableSurfaces"in c&&c.unavailableSurfaces.some(b=>b===Tt),d=LMe((m=Fd())!=null?m:""),h=Tt==="discord"&&"getCanSpawnInGuild"in c&&(!d||!((g=c.getCanSpawnInGuild)!=null&&g.call(c,d))),p=u||h;return f.jsx(X7,{purchaseItem:l,onPurchase:bZt,onToggleExpanded:o,isExpanded:n===l.species,scrollableContainerRef:r,isUnavailable:p,hasScrolledDown:a},l.species)}),f.jsx(z,{p:3,pt:2,auto:!0,children:f.jsx(ue,{fontSize:{base:"xs",md:"sm"},color:"rgba(255, 255, 255, 0.7)",textAlign:"center",fontStyle:"italic",lineHeight:"1.2",children:f.jsx(L,{id:"nl1xvS"})})})]})})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const wF=({label:e,value:t,description:r,formatAsTime:n=!1})=>f.jsxs(z,{orient:"space-between left",py:1.5,px:2,borderRadius:"8px",_hover:{bg:"rgba(255, 255, 255, 0.05)"},transition:"background 0.2s",minH:"fit-content",children:[f.jsxs(z,{col:!0,orient:"top left",gap:0,flex:"1",minW:"0",children:[f.jsx(ue,{fontSize:{base:"12px",md:"14px",lg:"16px"},fontWeight:"medium",color:"MagicWhite",children:e}),r&&f.jsx(ue,{fontSize:{base:"12px",md:"14px",lg:"16px"},color:"rgba(255, 255, 255, 0.6)",wordBreak:"break-word",children:r})]}),f.jsx(ue,{fontSize:{base:"14px",md:"16px",lg:"18px"},fontWeight:"bold",color:"Yellow.Light",minW:"60px",textAlign:"right",flexShrink:0,children:n?dl(t*1e3):t.toLocaleString()})]}),pc=({title:e,stats:t,emptyMessage:r})=>{const n=t.some(i=>i.value>0);return f.jsxs(z,{col:!0,orient:"top left",gap:1,minH:"fit-content",children:[f.jsx(ue,{fontSize:{base:"14px",md:"16px",lg:"18px"},fontWeight:"bold",color:"Cyan.Light",mb:1,children:e}),!n&&r?f.jsx(ue,{fontSize:{base:"12px",md:"14px",lg:"16px"},color:"rgba(255, 255, 255, 0.5)",fontStyle:"italic",px:2,children:r}):t.filter(i=>i.value>0).map((i,a)=>f.jsx(wF,{label:i.label,value:i.value,description:i.description,formatAsTime:i.formatAsTime},a))]})},$Zt=()=>{var m,g,b,y,v,S,x,w,A,_,C,E,R,P,O;const e=br(),t=Pe(bye),r=j.useRef(null),{_:n}=Pt();if(!t)return null;const i=[{label:$r.numSeedsPlanted.name,value:(m=t.player.numSeedsPlanted)!=null?m:0,description:$r.numSeedsPlanted.description},{label:$r.numCropsHarvested.name,value:(g=t.player.numCropsHarvested)!=null?g:0,description:$r.numCropsHarvested.description},{label:$r.numPlantsPotted.name,value:(b=t.player.numPlantsPotted)!=null?b:0,description:$r.numPlantsPotted.description},{label:$r.numPlantsWatered.name,value:(y=t.player.numPlantsWatered)!=null?y:0,description:$r.numPlantsWatered.description},{label:$r.numPlantsDestroyed.name,value:(v=t.player.numPlantsDestroyed)!=null?v:0,description:$r.numPlantsDestroyed.description}],a=[{label:$r.numEggsHatched.name,value:(S=t.player.numEggsHatched)!=null?S:0,description:$r.numEggsHatched.description},{label:$r.numPetsSold.name,value:(x=t.player.numPetsSold)!=null?x:0,description:$r.numPetsSold.description},{label:$r.totalHungerReplenished.name,value:Math.round((w=t.player.totalHungerReplenished)!=null?w:0),description:$r.totalHungerReplenished.description}],s=[{label:$r.numDecorPurchased.name,value:(A=t.player.numDecorPurchased)!=null?A:0,description:$r.numDecorPurchased.description},{label:$r.numDecorDestroyed.name,value:(_=t.player.numDecorDestroyed)!=null?_:0,description:$r.numDecorDestroyed.description}],o=[{label:$r.totalEarningsSellCrops.name,value:Math.round((C=t.player.totalEarningsSellCrops)!=null?C:0),description:$r.totalEarningsSellCrops.description},{label:$r.totalEarningsSellPet.name,value:Math.round((E=t.player.totalEarningsSellPet)!=null?E:0),description:$r.totalEarningsSellPet.description}],l=[{label:$r.secondsSavedWaterPlants.name,value:Math.round((R=t.player.secondsSavedWaterPlants)!=null?R:0),description:$r.secondsSavedWaterPlants.description,formatAsTime:!0},{label:$r.secondsSavedInstaGrowPlants.name,value:Math.round((P=t.player.secondsSavedInstaGrowPlants)!=null?P:0),description:$r.secondsSavedInstaGrowPlants.description,formatAsTime:!0},{label:$r.secondsSavedInstaGrowEggs.name,value:Math.round((O=t.player.secondsSavedInstaGrowEggs)!=null?O:0),description:$r.secondsSavedInstaGrowEggs.description,formatAsTime:!0}],c=[],u=[];Object.entries(t.petAbility).forEach(([k,I])=>{const M=Nbe[k];if(M&&!("isHidden"in M&&M.isHidden)&&!(I<=0))if(e4.some(D=>D===k))c.push({label:M.name,value:I});else{const D="formatAsTime"in M?M.formatAsTime:!1;u.push({label:M.name,value:Math.round(I),description:M.description,formatAsTime:D})}});const d=[],h=[];Object.entries(t.plantAbility).forEach(([k,I])=>{const M=qbe[k];M&&I>0&&(zbe.some(D=>D===D)?d.push({label:M.name,value:I}):h.push({label:M.name,value:Math.round(I),description:M.description}))});const p=[];return Object.entries(t.slotMachine).forEach(([k,I])=>{const M=jv[k];if(!M)return;const D=[];M.prizes.forEach((F,$)=>{const Y=I.prizesWon[$];Y&&Y>0&&D.push({label:F.name,value:Y})}),(I.numPlays>0||D.length>0)&&p.push({machineName:M.name,numPlays:I.numPlays,prizes:D})}),f.jsx(Yl,{children:f.jsxs(bt,{autoH:!0,maxH:"100%",maxW:"700px",templateRows:"auto 1fr",bg:"MagicBlack",borderRadius:"15px",borderWidth:"3px",borderColor:"Brown.Dark",boxShadow:"0 4px 10px rgba(0, 0, 0, 0.5)",overflow:"hidden",onClick:k=>k.stopPropagation(),children:[f.jsxs(bt,{templateColumns:"1fr auto",gap:e?1:2,alignItems:"center",bg:"Cyan.Dark",p:2,children:[f.jsxs(z,{orient:"left",gap:1,children:[f.jsx(ue,{fontWeight:"bold",fontSize:{base:"16px",md:"18px",lg:"20px"},lineHeight:"1",children:f.jsx(L,{id:"29Hx9U"})}),f.jsx(Sr,{label:n({id:"HzKkGB"}),keepOpenOnDesktopClick:!0,children:f.jsx(v2,{mt:"1px",boxSize:e?"16px":"20px"})})]}),f.jsx(yi,{onClick:ks})]}),f.jsx(Ne,{ref:r,overflowY:"auto",sx:{"&::-webkit-scrollbar":{width:"6px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},children:f.jsxs(z,{col:!0,orient:"top",p:3,gap:3,autoH:!0,children:[f.jsxs(z,{col:!0,orient:"top left",gap:3,p:3,bg:"rgba(0, 0, 0, 0.3)",borderRadius:"12px",children:[f.jsx(ue,{fontSize:{base:"14px",md:"16px",lg:"18px"},fontWeight:"bold",color:"Yellow.Light",children:f.jsx(L,{id:"uFa7iL"})}),f.jsx(pc,{title:n({id:"YV4lJl"}),stats:i,emptyMessage:n({id:"EKVp3F"})}),f.jsx(Zo,{borderColor:"rgba(255, 255, 255, 0.1)"}),f.jsx(pc,{title:n({id:"nkqs9W"}),stats:a,emptyMessage:n({id:"/grKUX"})}),f.jsx(Zo,{borderColor:"rgba(255, 255, 255, 0.1)"}),f.jsx(pc,{title:n({id:"uLQqb0"}),stats:s,emptyMessage:n({id:"W0baCR"})}),f.jsx(Zo,{borderColor:"rgba(255, 255, 255, 0.1)"}),f.jsx(pc,{title:n({id:"G5RqoH"}),stats:o,emptyMessage:n({id:"YSNrO/"})}),f.jsx(Zo,{borderColor:"rgba(255, 255, 255, 0.1)"}),f.jsx(pc,{title:n({id:"LhMjLm"}),stats:l,emptyMessage:n({id:"W11xiF"})})]}),(c.length>0||u.length>0)&&f.jsxs(z,{col:!0,orient:"top left",gap:3,p:3,bg:"rgba(0, 0, 0, 0.3)",borderRadius:"12px",children:[f.jsx(ue,{fontSize:{base:"14px",md:"16px",lg:"18px"},fontWeight:"bold",color:"Yellow.Light",children:f.jsx(L,{id:"QBFFOs"})}),c.length>0&&f.jsx(pc,{title:n({id:"4ePlFP"}),stats:c}),c.length>0&&u.length>0&&f.jsx(Zo,{borderColor:"rgba(255, 255, 255, 0.1)"}),u.length>0&&f.jsx(pc,{title:n({id:"E7s1Pv"}),stats:u})]}),(d.length>0||h.length>0)&&f.jsxs(z,{col:!0,orient:"top left",gap:3,p:3,bg:"rgba(0, 0, 0, 0.3)",borderRadius:"12px",children:[f.jsx(ue,{fontSize:{base:"14px",md:"16px",lg:"18px"},fontWeight:"bold",color:"Yellow.Light",children:f.jsx(L,{id:"Jy//Z6"})}),d.length>0&&f.jsx(pc,{title:n({id:"4ePlFP"}),stats:d}),d.length>0&&h.length>0&&f.jsx(Zo,{borderColor:"rgba(255, 255, 255, 0.1)"}),h.length>0&&f.jsx(pc,{title:n({id:"LIhUrx"}),stats:h})]}),p.length>0&&f.jsxs(z,{col:!0,orient:"top left",gap:3,p:3,bg:"rgba(0, 0, 0, 0.3)",borderRadius:"12px",children:[f.jsx(ue,{fontSize:{base:"14px",md:"16px",lg:"18px"},fontWeight:"bold",color:"Yellow.Light",children:f.jsx(L,{id:"BKtjOM"})}),p.map((k,I)=>f.jsxs(z,{col:!0,orient:"top left",gap:2,children:[f.jsx(ue,{fontSize:{base:"14px",md:"16px",lg:"18px"},fontWeight:"bold",color:"Cyan.Light",children:k.machineName}),f.jsx(wF,{label:n({id:"YJEULO"}),value:k.numPlays,description:n({id:"1FX3la"})}),k.prizes.length>0&&f.jsxs(f.Fragment,{children:[f.jsx(ue,{fontSize:{base:"12px",md:"14px",lg:"16px"},fontWeight:"semibold",color:"Cyan.Light",mt:1,px:2,children:f.jsx(L,{id:"y87qW7"})}),k.prizes.map((M,D)=>f.jsx(wF,{label:M.label,value:M.value},D))]}),I<p.length-1&&f.jsx(Zo,{borderColor:"rgba(255, 255, 255, 0.1)",mt:1})]},I))]})]})})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const BZt=()=>{const e=Pe(GJt),t=Pe(TY),r=j.useRef(null),[n,i]=j.useState(null),a=s=>{const o=s.itemType===ne.Tool?s.toolId:"PetHutch";i(n===o?null:o)};return f.jsx(Yl,{children:f.jsxs(bt,{autoH:!0,maxH:"100%",maxW:"600px",templateRows:"auto 1fr",bg:"MagicBlack",borderRadius:"15px",borderWidth:"3px",borderColor:"Brown.Dark",boxShadow:"0 4px 10px rgba(0, 0, 0, 0.5)",overflow:"hidden",onClick:s=>s.stopPropagation(),children:[f.jsxs(bt,{templateColumns:"1fr 1fr auto",gap:{base:.5,md:2},alignItems:"center",bg:"Blue.Dark",p:2,overflow:"hidden",children:[f.jsxs(z,{gap:{base:.5,md:2},orient:"left",children:[f.jsx(ue,{fontWeight:"bold",fontSize:{base:"16px",md:"18px",lg:"20px"},whiteSpace:"nowrap",children:f.jsx(L,{id:"iom+oi"})}),f.jsx(Ne,{w:"90px",children:f.jsx(x2,{seconds:t,showHours:!1,showDays:!1,bg:"Blue.Magic",strokeColor:"Blue.Dark"})})]}),f.jsx(z,{orient:"right",children:f.jsx(t8,{shopType:Jn.Tool})}),f.jsx(yi,{onClick:ks})]}),f.jsx(Ne,{ref:r,overflowY:"auto",sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},children:f.jsxs(z,{col:!0,orient:"top",p:2,pt:1,children:[e.map(s=>f.jsx(X7,{purchaseItem:s,onPurchase:gZt,onToggleExpanded:a,isExpanded:n===s.toolId,scrollableContainerRef:r},s.toolId)),f.jsx(X7,{purchaseItem:{itemType:ne.Decor,decorId:"PetHutch",initialStock:1},onPurchase:$Me,onToggleExpanded:a,isExpanded:n==="PetHutch",scrollableContainerRef:r}),f.jsx(z,{p:3,pt:2,auto:!0,children:f.jsx(ue,{fontSize:{base:"xs",md:"sm"},color:"rgba(255, 255, 255, 0.7)",textAlign:"center",fontStyle:"italic",lineHeight:"1.2",children:f.jsx(L,{id:"LgpP/E"})})})]})})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const NZt=e=>e<15?"#F98B4B":e<25?"#FC6D30":e<50?"#F3D32B":e<75?"#E9B52F":e<100?"#5EAC46":"#0B893F",qZt=({name:e,tileRef:t,progress:r,onClick:n})=>{const i=r.percentage===0,a=NZt(r.percentage),s=p1(a),o=br();return f.jsxs(bt,{templateColumns:"auto 1fr",alignItems:"center",cursor:"pointer",onClick:n,gap:2,autoH:!0,children:[f.jsx(qt,{tileRef:t,width:o?"25px":"50px",height:o?"25px":"50px",scale:1,isUnknown:i}),f.jsxs(z,{position:"relative",bg:"Brown.Pastel",borderRadius:"5px",auto:!0,px:o?2:4,py:o?1:2,children:[f.jsx(Ol,{position:"absolute",top:0,left:0,h:"100%",bg:a,initial:{width:0},animate:{width:`${r.percentage}%`},transition:{duration:.8,ease:"easeOut"},borderRadius:"inherit"}),f.jsxs(bt,{templateColumns:"1fr auto",alignItems:"center",position:"relative",zIndex:1,py:.5,children:[f.jsx(z,{orient:"left",children:f.jsx(ue,{color:s,fontSize:o?"12px":"14px",fontWeight:"bold",lineHeight:1,children:i?"???":e})}),!i&&f.jsxs(ue,{color:r.percentage<100?"Brown.Magic":s,fontSize:o?"12px":"14px",fontWeight:"bold",lineHeight:1,children:[Math.floor(r.numVariantsLogged),"/",r.numVariantsTotal]})]})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ple=({allVariants:e,loggedVariants:t})=>{const r=t.length,n=e.length;return{numVariantsLogged:r,numVariantsTotal:n,percentage:r/n*100}},zZt=({journalType:e,onSelectSpecies:t})=>{const r=Pe(sq),n=Pe(oq),i=br();let a=[],s=0,o=0;e===ne.Produce?a=$be.reduce((c,u)=>{const{name:d,tileRef:h}=tt[u].crop,p=r==null?void 0:r[u],m=(p==null?void 0:p.variantsLogged.map(b=>b.variant))||[],g=ple({allVariants:Ev,loggedVariants:m});return s+=g.numVariantsLogged,o+=g.numVariantsTotal,c.push({id:u,name:d,tileRef:h,progress:g}),c},[]):a=Fbe.reduce((c,u)=>{const{name:d,tileRef:h}=wt[u],p=n==null?void 0:n[u],m=(p==null?void 0:p.variantsLogged.map(b=>b.variant))||[],g=ple({allVariants:Pv,loggedVariants:m});return s+=g.numVariantsLogged,o+=g.numVariantsTotal,c.push({id:u,name:d,tileRef:h,progress:g}),c},[]);const l=Math.floor(s/o*100);return f.jsxs(z,{col:!0,orient:"top",pb:2,children:[f.jsxs(z,{col:!0,autoH:!0,py:2,children:[f.jsx(z,{auto:!0,minH:"24px",children:f.jsx(ue,{fontSize:{base:i?"14px":"20px",lg:"24px"},fontWeight:"bold",fontFamily:"shrikhand",color:"#4F6981",textAlign:"center",lineHeight:"1",children:f.jsx(L,{id:"ZnbtpE"})})}),f.jsx(z,{minH:"4px",h:"4px",bg:"Brown.Pastel",borderRadius:"full",opacity:.5}),f.jsx(z,{autoH:!0,orient:"right",children:f.jsx(ue,{color:"Brown.Light",fontWeight:"bold",fontSize:{base:"10px",md:"11px"},children:f.jsx(L,{id:"xxjO3q",values:{collectedPercentage:l,totalNumVariantsLogged:s,totalNumVariants:o},components:{0:f.jsx(ue,{color:"Brown.Light",as:"span",fontWeight:"bold",fontSize:{base:"9px",md:"10px"}})}})})})]}),f.jsx(z,{col:!0,overflowY:"auto",orient:"top",gap:5,pr:1,sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(85, 48, 20, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(110, 60, 24, 0.3)"}}},children:a.map(c=>f.jsx(qZt,{name:c.name,tileRef:c.tileRef,progress:c.progress,onClick:()=>t(c.id)},c.id))})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const WZt=({variant:e,speciesId:t,isWaitingForAnimation:r=!1})=>{var g,b,y,v,S,x;const n=Pe(sq),i=Pe(oq),a=br(),s=t in tt;let o,l,c;s?(o=tt[t].crop.tileRef,l=((g=n==null?void 0:n[t])==null?void 0:g.variantsLogged.map(w=>w.variant))||[],c=(y=(b=n==null?void 0:n[t])==null?void 0:b.variantsLogged.find(w=>w.variant===e))==null?void 0:y.createdAt):(o=wt[t].tileRef,l=((v=i==null?void 0:i[t])==null?void 0:v.variantsLogged.map(w=>w.variant))||[],c=(x=(S=i==null?void 0:i[t])==null?void 0:S.variantsLogged.find(w=>w.variant===e))==null?void 0:x.createdAt);const d=!l.includes(e)||r,h=["Normal","Max Weight"].includes(e)?[]:[e],p=e==="Max Weight"?1.7:1,m=w=>{if(w==="Normal"||w==="Max Weight")return w;const A=Ah[w];return A?A.name:w};return f.jsxs(bt,{templateRows:"1fr auto",gap:2,alignItems:"center",justifyItems:"center",children:[f.jsx(EMe,{tileRef:o,width:a?"80px":"130px",height:a?"80px":"130px",scale:p,isUnknown:d,mutations:h,logDate:c}),f.jsx(z,{bg:"Brown.Dark",p:1,borderRadius:"10px",autoW:!0,minW:a?"80px":"120px",children:f.jsx(ue,{fontSize:a?"12px":"14px",color:Yce.MagicWhite,textAlign:"center",fontWeight:d?"normal":"bold",children:d?"???":m(e)})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const HZt=({speciesId:e,onAnimationComplete:t,onBack:r})=>{var y,v,S,x;const n=Pe(m4),i=j.useMemo(()=>{var w;return((w=n.find(A=>A.speciesId===e))==null?void 0:w.variants)||[]},[e]),a=br(),s=e in tt,o=s?Ev:Pv,l=j.useRef(null),c=j.useRef({}),u=Pe(sq),d=Pe(oq),[h,p]=j.useState(new Set);o.forEach(w=>{c.current[w]||(c.current[w]=j.createRef())});const m=async()=>{if(!(i.length===0||!l.current)){p(new Set(i));for(const w of i){const A=c.current[w];if(!(A!=null&&A.current))continue;const _=l.current,C=A.current,E=_.getBoundingClientRect(),R=C.getBoundingClientRect(),P=R.top-E.top,O=_.scrollTop+P-E.height/2+R.height/2;_.scrollTo({top:O,behavior:"smooth"}),await fi(.5);const k=A.current;p(I=>{const M=new Set(I);return M.delete(w),M}),k.animate([{transform:"scale(1)"},{transform:"scale(1.2)"},{transform:"scale(0.95)"},{transform:"scale(1.05)"},{transform:"scale(1)"}],{duration:600,easing:"ease-in-out"}),pgt(),await fi(.5)}}};j.useEffect(()=>{if(i.length===0)return;(async()=>{await m(),await fi(.5),t(e)})()},[i]);let g,b=0;if(s){const{name:w}=tt[e].crop;b=((v=(y=u==null?void 0:u[e])==null?void 0:y.variantsLogged)!=null?v:[]).length,g=b>0?w:"???"}else{const{name:w}=wt[e];b=((x=(S=d==null?void 0:d[e])==null?void 0:S.variantsLogged)!=null?x:[]).length,g=b>0?w:"???"}return f.jsxs(z,{col:!0,orient:"top",children:[f.jsxs(z,{col:!0,autoH:!0,py:2,children:[f.jsxs(bt,{templateColumns:"30px 1fr 30px",alignItems:"center",minH:"24px",children:[f.jsx(Gr,{variant:"blank",onClick:r,color:"MagicBlack",w:"100%",icon:f.jsx(G0,{as:j6,boxSize:a?"18px":"22px",color:"Brown.Dark"}),"aria-label":Ee._({id:"iH8pgl"})}),f.jsx(ue,{fontSize:{base:a?"14px":"20px",lg:"24px"},fontWeight:"bold",fontFamily:"shrikhand",color:"#4F6981",textAlign:"center",textTransform:"uppercase",lineHeight:"1",children:f.jsx(L,{id:"T29Hn5",values:{displayName:g}})})]}),f.jsx(z,{minH:"4px",h:"4px",bg:"Brown.Pastel",borderRadius:"full",opacity:.5}),f.jsx(z,{autoH:!0,orient:"right",children:f.jsx(ue,{color:"Brown.Light",fontWeight:"bold",fontSize:a?"10px":"11px",children:f.jsx(L,{id:"8oMgbQ",values:{0:o.length,numVariantsLogged:b}})})})]}),f.jsx(z,{ref:l,p:2,overflowY:"auto",overflowX:"hidden",orient:"top",sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(85, 48, 20, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(110, 60, 24, 0.3)"}}},children:f.jsx(bt,{templateColumns:a?"repeat(auto-fit, minmax(80px, 1fr))":"repeat(auto-fit, minmax(130px, 1fr))",gap:4,autoH:!0,children:o.map(w=>f.jsx(Cn,{ref:c.current[w],children:f.jsx(WZt,{variant:w,speciesId:e,isWaitingForAnimation:h.has(w)})},w))})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const UZt=()=>{const e=Pe($M),t=k0($M),r=Pe(FM),n=k0(FM),[i,a]=Ea(m4),s=br();j.useEffect(()=>{t(ne.Produce),n(null)},[]),j.useEffect(()=>{if(i.length<=0)return;const c=i[0],u=c.speciesId in tt;t(u?ne.Produce:ne.Pet),n(c.speciesId)},[i]);const o=c=>{a(u=>u.filter(d=>d.speciesId!==c))},l=()=>{i.length>0||ks()};return f.jsx(Yl,{pb:"10px",children:f.jsxs(PMe,{aspectRatio:1165/1368,backgroundImage:`url(${Pl}/assets/ui/GardenJournal.webp)`,children:[f.jsx(z,{position:"absolute",top:"4.5%",right:"5.8%",auto:!0,children:f.jsx(yi,{onClick:()=>{l()},size:s?"sm":"md",color:"#fff",opacity:.92,_hover:{opacity:1},bg:"linear-gradient(135deg, #e53935 60%, #b71c1c 100%)",borderRadius:"full",border:"1px solid #b71c1c",boxShadow:"0 2px 6px rgba(180, 30, 30, 0.18)"})}),f.jsxs(bt,{templateRows:"6.8% 1fr",pl:"18%",pr:"14%",pb:"13%",children:[f.jsxs(z,{gap:2,orient:"bottom left",children:[f.jsx(Xe,{variant:"blank",onClick:()=>{i.length>0||(t(ne.Produce),n(null))},h:"60px",children:f.jsx(z,{orient:"bottom",children:f.jsx(Ol,{initial:{height:"auto"},animate:{height:e===ne.Produce?"35px":"20px"},w:s?"70px":"100px",transition:{duration:.3,ease:"easeInOut"},borderTopRadius:"10px",bg:"Green.Dark",position:"relative",borderLeft:"1px solid #4caf50",borderRight:"1px solid #4caf50",borderTop:"2px solid #5fd85c",overflow:"hidden",orient:"top",children:f.jsx(ue,{fontSize:s?"12px":"14px",fontWeight:"bold",position:"relative",zIndex:2,children:f.jsx(L,{id:"e/fUvs"})})})})}),f.jsx(Xe,{variant:"blank",onClick:()=>{i.length>0||(t(ne.Pet),n(null))},h:"60px",children:f.jsx(z,{orient:"bottom",children:f.jsx(Ol,{initial:{height:"auto"},animate:{height:e===ne.Pet?"35px":"20px"},w:s?"70px":"100px",transition:{duration:.3,ease:"easeInOut"},borderTopRadius:"10px",bg:"Purple.Dark",position:"relative",borderLeft:"1px solid #7c5dc9",borderRight:"1px solid #7c5dc9",borderTop:"2px solid #a18be6",overflow:"hidden",orient:"top",children:f.jsx(ue,{fontSize:s?"12px":"14px",fontWeight:"bold",position:"relative",zIndex:2,children:f.jsx(L,{id:"nkqs9W"})})})})})]}),f.jsx(z,{col:!0,overflow:"hidden",children:r?f.jsx(HZt,{speciesId:r,onAnimationComplete:o,onBack:()=>{i.length>0||($ee(),n(null))}}):f.jsx(zZt,{journalType:e,onSelectSpecies:c=>{i.length>0||($ee(),n(c))}})})]})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const GZt=()=>{const e=Pe(c0);return f.jsxs(f.Fragment,{children:[e==="seedShop"&&f.jsx(FZt,{}),e==="eggShop"&&f.jsx(TZt,{}),e==="toolShop"&&f.jsx(BZt,{}),e==="decorShop"&&f.jsx(vZt,{}),e==="leaderboard"&&f.jsx(DZt,{}),e==="inventory"&&f.jsx(FJt,{}),e==="journal"&&f.jsx(UZt,{}),e==="stats"&&f.jsx($Zt,{}),e==="petHutch"&&f.jsx(LZt,{}),e==="activityLog"&&f.jsx(zJt,{})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const BMe=()=>Pe(Lv)?f.jsx(Ol,{zIndex:"SlotMachineScrim",pointerEvents:"none",position:"absolute",top:"calc(-1 * var(--sait))",left:"calc(-1 * var(--sail))",width:"calc(100% + var(--sail) + var(--sair))",height:"calc(100% + var(--sait) + var(--saib))",bg:"rgba(0, 0, 0, 0.85)",initial:{opacity:0},animate:{opacity:1},transition:{duration:.4}}):null;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const NMe=()=>{const e=Pe(h4),r=br()?"sm":"md",n=kMe[r],i=(e-1)*100;return f.jsx(Sr,{label:f.jsx(L,{id:"vTUGtp"}),placement:"top",keepOpenOnDesktopClick:!0,children:f.jsx(Ne,{pointerEvents:"auto",children:f.jsx(Nn,{fontStyle:"italic",strokeWidth:n.strokeWidth,fontSize:n.fontSize,shadowHeight:0,fontWeight:"bold",color:"Orange.Tangerine",strokeColor:"Orange.Dark",whiteSpace:"nowrap",children:f.jsx(L,{id:"0fSDG0",values:{0:i.toFixed(0)}})})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const VZt=({numExtraItems:e})=>{const t=b2(),{_:r}=Pt();return f.jsx(Sr,{label:r({id:"i71Y2g"}),showOnDesktopOnly:!0,children:f.jsxs(Xe,{variant:"blank",w:`${t}px`,h:`${t}px`,minW:`${t}px`,minH:`${t}px`,onClick:n=>{n.stopPropagation(),Mv("inventory")},pointerEvents:"auto",children:[e>0&&f.jsx(z,{position:"absolute",top:0,right:0,borderRadius:"full",w:"22px",h:"22px",zIndex:1,bg:"linear-gradient(135deg, #ad7932 60%, #8b5c2a 100%)",opacity:.92,children:f.jsxs(ue,{fontSize:"12px",fontWeight:"bold",whiteSpace:"nowrap",children:["+",e]})}),f.jsx(qt,{width:"100%",height:"100%",tileRef:rr.InventoryBag})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:YZt}=ft(),Qj=4,KZt=9,qMe=()=>{const e=b2(),t=Nl(),r=Pe(hn),n=Pe(iu),i=Pe(aOe),a=j.useRef(null),[s,o]=j.useState(r.length),l=j.useCallback(g=>{const y=YZt(hn).findIndex(v=>Tr(v)===g);o7(y)},[o7]),c=j.useCallback(()=>{if(!a.current)return;const y=a.current.clientWidth-e,v=Math.min(KZt,Math.floor(y/(e+Qj))),S=Math.max(0,v);o(S)},[e,Qj,r.length]);j.useEffect(()=>{if(!a.current)return;const g=new MutationObserver(c);return g.observe(a.current,{childList:!0,subtree:!0}),window.addEventListener("resize",c),c(),()=>{g.disconnect(),window.removeEventListener("resize",c)}},[c]);const d=Math.min(t?9:5,s),h=Math.min(r.length,d),p=Math.max(0,d-h),m=Math.max(0,r.length-s);return f.jsxs(z,{ref:a,gap:`${Qj}px`,overflow:"hidden",zIndex:i?"AboveGameModal":1,children:[r.slice(0,s).map((g,b)=>{const y=Tr(g);return f.jsx(rp,{isActive:i&&g.itemType===ne.Seed,showScrim:!0,children:f.jsx(CMe,{item:g,index:b,isSelected:n===b,onItemSelect:l})},y)}),Array.from({length:p}).map((g,b)=>f.jsx(Xe,{variant:"blank",bg:"rgba(0, 0, 0, 0.65)",color:"white",position:"relative",w:`${e}px`,h:`${e}px`,minW:`${e}px`,minH:`${e}px`,borderRadius:"10px",p:0,borderWidth:"2px",borderColor:"transparent",pointerEvents:"none"},`placeholder-${b}`)),f.jsx(VZt,{numExtraItems:m})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const XZt=()=>{const e=Pe(o4);return f.jsxs(z,{autoH:!0,col:!0,orient:"left",px:2,py:1,gap:2,children:[f.jsxs(z,{autoH:!0,children:[f.jsx(z,{orient:"left",zIndex:"AboveGameModal",children:f.jsx(w2,{amount:e,size:"md",tooltipFontSize:"20px"})}),f.jsx(Ne,{transform:"translateY(2px)",children:f.jsx(NMe,{})})]}),f.jsx(qMe,{})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const QZt=()=>{const e=Pe(o4),t=br(),r=pu();return f.jsxs(z,{autoH:!0,px:2,pt:r?3:5,pb:1,gap:4,orient:"left",children:[f.jsxs(z,{auto:!0,col:!0,orient:"left",children:[f.jsx(NMe,{}),f.jsx(Ne,{zIndex:"AboveGameModal",children:f.jsx(w2,{amount:e,size:t?"md":"xl",tooltipFontSize:"20px"})})]}),f.jsx(qMe,{})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const JZt=()=>Nl()?f.jsx(XZt,{}):f.jsx(QZt,{});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const zMe=()=>{const e=Pe(R1),t=Pe(j1),r=Pe(d4),n=br(),i=Pe(mye),a=Pe(cq),s=e?a:i;if(!r&&!t)return null;const o=!!r&&!t;let l,c,u=[],d;if(o){const{tileRef:h,name:p}=An[r.eggId];l=h,c=p}else if(e){const{tileRef:h,name:p}=tt[t.species].crop,{tileRef:m,harvestType:g}=tt[t.species].plant;l=g===Vt.Multiple?h:m,c=p,u=t.mutations,d=BV(t.species,t.targetScale)}else{const{name:h}=tt[t.species].plant;c=h}return f.jsx(z,{bg:"rgba(0, 0, 0, 0.65)",borderRadius:n?"8px":"12px",px:n?2:3,py:n?1:2,auto:!0,width:n?"160px":"220px",children:f.jsxs(z,{gap:{base:1,md:2},children:[l&&f.jsx(z,{autoW:!0,children:f.jsx(qt,{tileRef:l,width:n?"26px":"32px",height:n?"26px":"32px",mutations:u})}),f.jsxs(z,{col:!0,gap:1,children:[f.jsx(ue,{fontSize:{base:n?"12px":"16px",lg:"18px"},fontWeight:"bold",color:"white",textTransform:"uppercase",letterSpacing:"0.5px",lineHeight:"1",textAlign:"center",children:c}),f.jsx(Ym,{mutations:u,targetSize:d,infoIconProps:{right:"-14px",boxSize:{base:"11px",md:"13px"}}}),f.jsx(ue,{fontSize:n?"10px":"15px",color:"rgba(255, 255, 255, 0.6)",fontWeight:"extrabold",lineHeight:"1.2",whiteSpace:"nowrap",pl:1,children:s})]})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ZZt=()=>{const e=Pe(Bo),t=Pe(R1);if((e==null?void 0:e.objectType)!=="plant")return null;const r=tt[e.species].plant,n="abilities"in r?r.abilities:[];return n.length===0?null:f.jsx(z,{bg:"rgba(0, 0, 0, 0.65)",borderRadius:"10px",p:1,auto:!0,col:!0,gap:1,children:n.map(i=>f.jsx(FMe,{abilityId:i,isMature:t},i))})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const hle=({direction:e,onClick:t})=>{const{_:r}=Pt(),n=e==="left"?GB:VB,i=r(e==="left"?{id:"K+YF9T"}:{id:"wpMjih"});return f.jsx(Sr,{label:i,placement:e==="left"?"left":"right",showOnDesktopOnly:!0,children:f.jsx(Gr,{icon:f.jsx(G0,{as:n,boxSize:"20px"}),onClick:t,size:"sm","aria-label":i,variant:"solid",borderRadius:"full",bg:"rgba(0, 0, 0, 0.65)",_hover:{bg:"rgba(0, 0, 0, 0.9)"},pointerEvents:"auto"})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const eer=()=>{let e,t,r,n,i,a;const s=Pe(j1),o=Pe(Bo),l=br();if(Pe(pOe)||!o)return null;switch(o.objectType){case"plant":{if(!s)return null;const{baseWeight:u,name:d,tileRef:h}=tt[s.species].crop,{tileRef:p,harvestType:m}=tt[s.species].plant;t=d,r=m===Vt.Multiple?h:p,n=s.mutations,e={mutations:n,weight:s.targetScale*u,targetSize:BV(s.species,s.targetScale),fontSize:{base:"12px",md:"14px"}};break}case"egg":{const{name:u,tileRef:d}=An[o.eggId];t=u,r=d;break}case"decor":{const u=zi[o.decorId],{name:d}=u,h=_q(o.decorId,o.rotation);t=d,r=h.tileRef,i=h.flipH,a=h.flipV;break}}return f.jsx(Ne,{bg:"rgba(0, 0, 0, 0.65)",borderRadius:l?"8px":"12px",px:l?2:3,py:l?1:2,width:l?"160px":"220px",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",children:f.jsxs(bt,{templateColumns:"auto 1fr",alignItems:"center",gap:{base:1,md:2},children:[f.jsx(qt,{tileRef:r,width:l?"26px":"32px",height:l?"26px":"32px",mutations:n,flipH:i,flipV:a}),f.jsxs(z,{col:!0,autoW:!0,gap:1,children:[f.jsx(ue,{fontSize:{base:l?"12px":"16px",lg:"18px"},fontWeight:"bold",color:"white",textTransform:"uppercase",letterSpacing:"0.5px",lineHeight:"1",textAlign:"center",children:t}),e&&f.jsx(Ym,{...e,infoIconProps:{right:"-14px",boxSize:{base:"11px",md:"13px"}}})]})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ter=()=>{const e=Pe(j1),t=Pe(Bo),r=Pe(uq),i=Pe(hye)>1,a=Epe(),s=br();return j.useEffect(()=>{a.start({scale:[1,1.05,1],transition:{duration:.1}})},[e]),f.jsxs(z,{auto:!0,gap:s?.5:2,children:[i&&f.jsx(hle,{direction:"left",onClick:fye}),f.jsx(Cn,{animate:a,children:(t==null?void 0:t.objectType)!=="plant"||r?f.jsx(eer,{}):f.jsx(zMe,{})}),i&&f.jsx(hle,{direction:"right",onClick:dq})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const rer=()=>{const e=Pe(R1);return f.jsxs(z,{auto:!0,col:!0,gap:1,children:[f.jsx(ZZt,{}),e?f.jsx(ter,{}):f.jsx(zMe,{})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:ner}=ft(),fle={RainbowPotion:"rainbowPotion",GoldPotion:"goldPotion",FrozenPotion:"frozenPotion",WetPotion:"wetPotion",ChilledPotion:"chilledPotion",DawnlitPotion:"dawnlitPotion",AmberlitPotion:"amberlitPotion"};function ier(e){const t=ner(Xr);return e==="mutationPotion"&&(t==null?void 0:t.itemType)===ne.Tool&&t.toolId in fle?fle[t.toolId]:e}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const WMe=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/games/Quinoa/data/action/actionLabelAtom.ts/actionLabelAtom",Me(e=>{switch(e(Us)){case"seedShop":return Ee._({id:"A2+T3r"});case"eggShop":return Ee._({id:"L72DEN"});case"toolShop":return Ee._({id:"rrO9f4"});case"decorShop":return Ee._({id:"Dyjxpg"});case"collectorsClub":return Ee._({id:"fN7Sq4"});case"petHutch":return Ee._({id:"Qk/Z5T"});case"wish":{const r=e(Xr),n=e(Jo);if(!n||!r)return Ee._({id:"I8G1e2"});switch(r.itemType){case ne.Egg:case ne.Seed:case ne.Tool:case ne.Decor:return Ee._({id:"YKfHPy",values:{selectedItemName:n}});case ne.Produce:case ne.Plant:case ne.Pet:return Ee._({id:"MJgKee",values:{selectedItemName:n}});default:return Ee._({id:"I8G1e2"})}}case"sellPet":{const r=e(Xr),n=e(Jo);return(r==null?void 0:r.itemType)===ne.Pet?Ee._({id:"EGFx+V",values:{selectedItemName:n}}):Ee._({id:"ESG90c"})}case"plantGardenPlant":{const r=e(Xr),n=e(Jo);if((r==null?void 0:r.itemType)===ne.Plant)return Ee._({id:"Ou6Afa",values:{selectedItemName:n}});break}case"plantSeed":{const r=e(Xr),n=e(Jo);if((r==null?void 0:r.itemType)===ne.Seed)return Ee._({id:"Ou6Afa",values:{selectedItemName:n}});break}case"harvest":{const r=e(Xn);if((r==null?void 0:r.objectType)==="plant"){const{name:n}=tt[r.species].crop;return Ee._({id:"75GhID",values:{name:n}})}break}case"removeGardenObject":{const r=e(Xn),n=e(wp);if((r==null?void 0:r.objectType)==="plant"||(r==null?void 0:r.objectType)==="decor")return Ee._({id:"AdVF43",values:{currentTileObjectName:n}});break}case"potPlant":{const r=e(Xn),n=e(wp);if((r==null?void 0:r.objectType)==="plant")return Ee._({id:"OhHKqA",values:{currentTileObjectName:n}});break}case"waterPlant":{const r=e(Xn),n=e(wp);if((r==null?void 0:r.objectType)==="plant")return Ee._({id:"3xsPq9",values:{currentTileObjectName:n}});break}case"plantEgg":{const r=e(Xr),n=e(Jo);if((r==null?void 0:r.itemType)===ne.Egg)return Ee._({id:"Dywf7N",values:{selectedItemName:n}});break}case"hatchEgg":{const r=e(Xn),n=e(wp);if((r==null?void 0:r.objectType)==="egg")return Ee._({id:"EwnfoR",values:{currentTileObjectName:n}});break}case"placePet":{const r=e(Xr),n=e(Jo);if((r==null?void 0:r.itemType)===ne.Pet)return Ee._({id:"3Q7Aaa",values:{selectedItemName:n}});break}case"sellAllCrops":{const r=e(Xr),n=e(vq),a=n.length<=0||n.length>1||(r==null?void 0:r.itemType)!==ne.Produce?Ee._({id:"e/fUvs"}):tt[n[0].species].crop.name;return Ee._({id:"yEBWc8",values:{cropText:a}})}case"logItems":return Ee._({id:"B7VJUT"});case"mutationPotion":{const r=e(Jo);return Ee._({id:"M+UuOW",values:{selectedItemName:r}})}case"instaGrow":{const r=e(Xn),n=e(wp);if(r)return Ee._({id:"2QRHhX",values:{currentTileObjectName:n}});break}case"placeDecor":{const r=e(Xr),n=e(Jo);if((r==null?void 0:r.itemType)===ne.Decor)return Ee._({id:"3Q7Aaa",values:{selectedItemName:n}});break}case"pickupDecor":{const r=e(Xn),n=e(wp);if((r==null?void 0:r.objectType)==="decor")return Ee._({id:"pSJd7J",values:{currentTileObjectName:n}});break}case"anonymousGarden":return Ee._({id:"2HG/nq"});case"otherPlayersGarden":{const r=e(wOe);return r?Ee._({id:"PSi8mp",values:{gardenName:r}}):Ee._({id:"2HG/nq"})}}return""}));WMe.debugLabel="actionLabelAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const mle=(e,t)=>`${e}-${t.x}-${t.y}`,aer=()=>{const e=Pe(Us),t=Pe(v0),r=Pe(WMe),n=Pe(mOe),i=Pe(pq),a=Pe(dx),s=br(),o=Pe(qA),l=Pe(NV),c=Pe(dOe),u=Pe(uOe),{_:d}=Pt(),h=j.useRef(0),p=200,m=j.useRef(null),g=l?d({id:"Svt5zQ"}):null;if(!t||e==="invalid"||e==="none"||e==="instaGrow"&&u)return null;const b=()=>{m.current=mle(e,t);const v=Date.now()-h.current;!l||v<p||fF()},y=()=>{c1();const v=mle(e,t),S=m.current!==v;l||S||(h.current=Date.now(),fF())};return f.jsxs(z,{auto:!0,col:!0,children:[g&&f.jsx(Nn,{color:"white",fontWeight:"bold",fontSize:"xs",children:g}),f.jsx(rp,{isActive:c,borderRadius:s?"10px":"14px",children:f.jsx(Sr,{label:d({id:"sWMn8I"}),placement:"bottom",showOnDesktopOnly:!0,children:f.jsxs(Xe,{position:"relative",variant:ier(e),onClick:y,onPointerDown:b,overflow:"hidden",fontSize:s?"14px":"20px",px:s?2:4,py:s?2:3,isLoading:a,isActive:o==="Space",borderRadius:s?"10px":"14px",children:[f.jsx(Cn,{zIndex:-1,w:"100%",h:"100%",bg:"rgba(255, 255, 255, 0.4)",position:"absolute",initial:{scaleX:0},animate:{scaleX:n?1:0},transition:{duration:n?Dw:0},transformOrigin:"left"},`${e}-${n}`),r,e==="instaGrow"&&!a&&f.jsxs(f.Fragment,{children:[" ",f.jsx(SY,{amount:i,size:s?"sm":"md",showTooltip:!1,strokedTextProps:{color:"MagicBlack",strokeColor:"MagicBlack",strokeWidth:.5}})]})]})})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ser=()=>{const e=Pe(c4),t=Pe(Us),{_:r}=Pt();return t!=="placeDecor"?null:f.jsxs(z,{gap:1,auto:!0,children:[e&&f.jsx(Sr,{label:r({id:"yrqKw1"}),placement:"left",showOnDesktopOnly:!0,children:f.jsx(Gr,{"aria-label":r({id:"1bdxm5"}),icon:f.jsx($6,{size:16}),onClick:yOe,size:"sm",bg:"rgba(0, 0, 0, 0.65)"})}),f.jsx(Sr,{label:r({id:"+dPX/0"}),placement:"top",showOnDesktopOnly:!0,children:f.jsxs(Xe,{"aria-label":r({id:"aqaGWk"}),onClick:vOe,size:"sm",borderRadius:"10px",w:"45px",bg:"rgba(0, 0, 0, 0.65)",children:[f.jsx(Ne,{mr:"-3.3px",children:f.jsx(sN,{size:16,fill:"white",color:"white"})}),f.jsx(Ne,{ml:"-3.3px",children:f.jsx(aN,{size:16})})]})}),e&&f.jsx(Sr,{label:r({id:"MFueDf"}),placement:"right",showOnDesktopOnly:!0,children:f.jsx(Gr,{"aria-label":r({id:"jvrTqm"}),icon:f.jsx(tN,{size:16}),onClick:bOe,size:"sm",bg:"rgba(0, 0, 0, 0.65)"})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const oer=()=>{const e=br();return f.jsxs(z,{col:!0,auto:!0,pointerEvents:"auto",gap:e?1:2,children:[f.jsx(ser,{}),f.jsx(rer,{}),f.jsx(aer,{})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ler=()=>{const{_:e}=Pt(),r=br()?"35px":"40px";return f.jsx(Sr,{label:e({id:"I5kL4f"}),placement:"right",showOnDesktopOnly:!0,children:f.jsx(Xe,{variant:"blank",h:r,w:r,borderRadius:"full",bg:"rgba(0, 0, 0, 0.6)",color:"white",onClick:n=>{n.stopPropagation(),aa()},pointerEvents:"auto",children:f.jsx(qt,{tileRef:rr.ActivityLog,width:r,height:r})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const cer=()=>{const t=br()?"35px":"40px";return f.jsx(Sr,{label:Ee._({id:"tHPbHS"}),placement:"right",showOnDesktopOnly:!0,children:f.jsx(Xe,{variant:"blank",h:t,w:t,borderRadius:"full",bg:"rgba(0, 0, 0, 0.6)",onClick:r=>{r.stopPropagation(),Mv("leaderboard")},pointerEvents:"auto",children:f.jsx(qt,{tileRef:rr.Leaderboard,width:t,height:t})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const uer=({abilityId:e,petId:t})=>{const r=Vc[e],n=g4(e),i=Pe(Yd),{_:a}=Pt(),{speciesId:s,xp:o,targetScale:l,hunger:c}=i[t],u=Ybe({speciesId:s,xp:o,targetScale:l}),d=Cd({speciesId:s,xp:o,targetScale:l}),h=r.trigger==="continuous",p="baseProbability"in r?r.baseProbability:1/0,m=p*u,g=Math.min(100,m),b=Gn(g),y=Gn(p),v=c<=0,S=Object.entries(r.baseParameters).filter(w=>{const A=w[0],_=w[1];return A in r.baseParameters&&typeof _=="number"}).map(([w,A])=>gbt(w,A,u,d)).filter(w=>w!==null),x=f.jsxs(z,{col:!0,gap:1,p:1,children:[v&&f.jsx(ue,{fontSize:{base:"12px",lg:"14px"},fontWeight:"bold",color:"Red.Light",align:"center",children:f.jsx(L,{id:"fc8ywj"})}),f.jsx(ue,{fontSize:{base:"12px",lg:"14px"},fontWeight:"bold",align:"center",lineHeight:"1.2",maxWidth:"200px",children:Oye(e)}),f.jsx(z,{h:"1px",bg:"Neutral.DarkGrey"}),f.jsxs(z,{col:!0,auto:!0,children:[p!==1/0&&f.jsx(xF,{label:a(h?{id:"xVEzUu"}:{id:"WJIL29"}),calculatedValue:b,baseValue:y,strength:d,unit:"%"}),S.map((w,A)=>f.jsx(xF,{...w},A))]})]});return f.jsx(Sr,{label:x,keepOpenOnDesktopClick:!0,children:f.jsx(z,{bg:v?"rgba(60, 60, 60, 0.92)":n.bg,px:2,py:1,borderRadius:"6px",_hover:{bg:v?"rgba(60, 60, 60, 0.8)":n.hover},auto:!0,opacity:v?.6:1,position:"relative",borderWidth:v?2:0,borderColor:v?"Red.Dark":"transparent",children:f.jsx(ue,{fontSize:{base:"12px",lg:"14px"},fontWeight:"semibold",children:r.name})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const der=({petDiet:e})=>{const t=f.jsxs(z,{col:!0,auto:!0,gap:1,p:1,maxW:"200px",children:[f.jsx(ue,{fontSize:{base:"12px",md:"14px"},fontWeight:"bold",align:"center",children:f.jsx(L,{id:"3doVpp"})}),f.jsx(z,{gap:1,wrap:"wrap",auto:!0,children:e.map(r=>f.jsx(z,{auto:!0,gap:1,children:f.jsx(qt,{tileRef:tt[r].crop.tileRef,width:"24px",height:"24px",scale:1})},r))})]});return f.jsx(Sr,{label:t,keepOpenOnDesktopClick:!0,children:f.jsx(v2,{boxSize:"22px",fill:"Brown.Magic"})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function per(e,t){const{maxClusters:r,maxLength:n}=t;if(n!==void 0&&n<=0)return"";if(typeof Intl.Segmenter!="function")throw new Error("Intl.Segmenter is required for truncateStringSafe but is not available.");const i=new Intl.Segmenter(void 0,{granularity:"grapheme"});let a=0,s=0;for(const{segment:o,index:l}of i.segment(e)){const c=l+o.length;if(a===r||n!==void 0&&c>n)return e.slice(0,s);a+=1,s=c}return e}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const her=({petId:e,onNameChange:t})=>{const r=Pe(Yd),{name:n,speciesId:i}=r[e],[a,s]=j.useState(n),[o,l]=j.useState(a),[c,u]=j.useState(!1),d=j.useRef(null),{rarity:h}=wt[i],p=SF(h),m=p1(p);j.useEffect(()=>{var v;c&&((v=d.current)==null||v.select())},[c]),j.useEffect(()=>{s(n),l(n)},[n]);const g=()=>{if(c){const v=o.trim();v===""?l(a):(s(v),t(e,v))}u(!c)},b=v=>{const S=per(v.target.value,{maxClusters:Imt});l(S)},{_:y}=Pt();return f.jsxs(bt,{h:"40px",templateColumns:"1fr 125px 1fr",bg:p,color:m,borderRadius:"5px",p:1,children:[f.jsx(Ne,{}),f.jsxs(z,{children:[c&&f.jsx(Z1,{ref:d,value:o,onBlur:g,onChange:b,onEnterKeyDown:g,placeholder:y({id:"YBrLIB"}),autoComplete:"off",type:"text",fontSize:{base:"14px",md:"16px"},fontWeight:"bold",color:m,bg:"transparent",border:"none",outline:"none",boxShadow:"none",_focus:{},h:"24px",w:"100%",m:0}),!c&&f.jsx(ue,{fontWeight:"bold",fontSize:{base:"14px",md:"16px"},onClick:g,cursor:"pointer",noOfLines:1,children:a})]}),f.jsxs(Xe,{"aria-label":y({id:"pZIqot"}),onClick:g,variant:"blank",color:m,children:[c&&f.jsx(I6,{color:m,size:14,strokeWidth:3}),!c&&f.jsx(O6,{color:m,size:14,strokeWidth:2})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const fer=({petId:e})=>{const t=Pe(Yd),{speciesId:r,targetScale:n,xp:i,mutations:a}=t[e],{matureWeight:s}=wt[r],o=t4(r,n),l=Jh({speciesId:r,xp:i,targetScale:n}),c=Math.floor(Mmt(i)).toLocaleString(),u=l*s;return f.jsxs(z,{pt:1,children:[f.jsx(Ne,{px:2,children:f.jsx(ue,{fontSize:{base:"10px",md:"12px",lg:"14px"},fontWeight:"bold",color:"rgba(255, 255, 255, 0.6)",whiteSpace:"nowrap",children:f.jsx(L,{id:"fzBgdv",values:{currentAge:c}})})}),f.jsx(Ne,{px:2,children:f.jsx(ue,{fontSize:{base:"10px",md:"12px",lg:"14px"},fontWeight:"bold",color:"rgba(255, 255, 255, 0.6)",whiteSpace:"nowrap",children:f.jsx(L,{id:"egEdOu",values:{targetStrength:o}})})}),f.jsx(Ne,{px:2,children:f.jsx(Ym,{mutations:a,weight:u,fontSize:{base:"10px",md:"12px",lg:"14px"},isCompact:!0})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const HMe=({petId:e})=>{const t=Pe(Yd),{speciesId:r,xp:n,targetScale:i}=t[e],a=Cd({speciesId:r,xp:n,targetScale:i});return f.jsxs(f.Fragment,{children:[f.jsx(L,{id:"UGmgDg"})," ",a]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const mer=({petId:e,height:t,isShining:r=!0})=>{const{_:n}=Pt(),i=Pe(Yd),{speciesId:a,xp:s,hunger:o,targetScale:l}=i[e],c=Cd({speciesId:a,xp:s,targetScale:l}),u=c+1,d=kee({strength:c,speciesId:a,targetScale:l}),h=kee({strength:u,speciesId:a,targetScale:l}),p=s-d,m=h-d,g=p/m,b=t4(a,l),y=c>=b,v=r&&o>0&&!y?"right":void 0;return f.jsx(Sr,{label:y?`${n({id:"ouaakn"})}`:`${n({id:"1piTKd"})}: ${Math.round(s).toLocaleString()} / ${Math.round(h).toLocaleString()} XP`,keepOpenOnDesktopClick:!0,children:f.jsx(z,{children:f.jsx(AMe,{progress:y?1:g,color:y?"Blue.Baby":"Blue.Magic",height:t,shineDirection:v})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ger=({petSlot:e})=>{var y;const t=br(),r=Pe(Vd),n=Pe(Xr),{_:i}=Pt(),a=k0(b4),{diet:s,name:o}=wt[e.petSpecies],l=(n==null?void 0:n.itemType)===ne.Produce,c=(n==null?void 0:n.itemType)===ne.Pet,u=l&&r.includes(n.id),d=l&&s.some(v=>v===n.species),h=l&&!u&&d,p=j.useCallback(()=>{h&&(Nee(),zt({type:"FeedPet",petItemId:e.id,cropItemId:n.id}))},[h,n,Nee]),m=j.useCallback(()=>{c&&(a(v=>{const S={...v!=null?v:{}};if(v){const x=v[e.id];S[n.id]=x,delete S[e.id]}return S}),QN(n.petSpecies),zt({type:"SwapPet",petSlotId:e.id,petInventoryId:n.id}))},[c,n,a]),g=j.useCallback(()=>{var x;const{isInventoryFull:v,isItemAtMaxQuantity:S}=Ja({itemType:ne.Pet,id:e.petSpecies});if(v){lt({title:i({id:"e2hCG9"}),description:i({id:"Z7YOCD",values:{0:(x=e.name)!=null?x:i({id:"NrXdO4",values:{name:o}})}}),variant:"error"});return}if(S){lt({title:i({id:"D+lp/G"}),description:i({id:"1280GK",values:{name:o}}),variant:"error"});return}a(w=>{const A={...w};return delete A[e.id],A}),l4(),fq(null),zt({type:"StorePet",itemId:e.id})},[a,e.name]),b=(v,S)=>{zt({type:"NamePet",petItemId:v,name:S})};return f.jsxs(z,{col:!0,bg:"rgba(0, 0, 0, 0.65)",p:2,borderRadius:"10px",pointerEvents:"auto",position:"relative",gap:.5,children:[f.jsx(her,{petId:e.id,onNameChange:b}),f.jsx(fer,{petId:e.id}),f.jsxs(bt,{templateColumns:"55px 1fr",alignItems:"center",px:2,height:"40px",children:[f.jsx(z,{orient:"right",pr:1,children:f.jsx(ue,{fontSize:{base:t?"11px":"13px",lg:"15px"},children:f.jsx(L,{id:"2HKQDp"})})}),f.jsx(hY,{petId:e.id,height:10}),f.jsx(z,{orient:"right",pr:1,children:f.jsx(ue,{fontSize:{base:t?"11px":"13px",lg:"15px"},whiteSpace:"nowrap",children:f.jsx(HMe,{petId:e.id})})}),f.jsx(mer,{petId:e.id,height:10})]}),f.jsxs(z,{gap:2,pt:2,children:[f.jsx(Sr,{label:i(c?{id:"YF2ZjN",values:{0:(y=n.name)!=null?y:wt[n.petSpecies].name}}:{id:"I8qIvP"}),showOnDesktopOnly:!0,children:f.jsx(Xe,{onClick:c?m:g,py:0,px:3,h:"40px",bg:"Neutral.EarlGrey",borderRadius:"10px",children:f.jsxs(z,{gap:2,children:[f.jsx(ue,{fontWeight:"bold",fontSize:{base:"12px",lg:"14px"},children:c?f.jsx(L,{id:"vH2C/2"}):f.jsx(L,{id:"In+Hsn"})}),c&&f.jsx(qt,{tileRef:wt[n.petSpecies].tileRef,width:"20px",height:"20px",scale:1,mutations:n.mutations})]})})}),f.jsxs(z,{position:"relative",auto:!0,children:[f.jsx(Sr,{label:i(h?{id:"3KOppI"}:l&&!d?{id:"jnaxfL"}:u?{id:"JOQcwV"}:{id:"1cxq2m"}),placement:"bottom-start",keepOpenOnDesktopClick:!h,showOnDesktopOnly:h,children:f.jsx(Xe,{as:"span",isDisabled:!h,onClick:p,p:0,w:"120px",h:"40px",variant:"outline",borderWidth:"2px",borderRadius:"10px",children:f.jsxs(z,{gap:2,children:[f.jsx(ue,{fontWeight:"bold",fontSize:{base:"14px",lg:"16px"},children:f.jsx(L,{id:"DBO7c2"})}),l&&f.jsx(qt,{tileRef:tt[n.species].crop.tileRef,width:"20px",height:"20px",scale:1,mutations:n.mutations})]})})}),f.jsx(Ne,{position:"absolute",top:1,right:0,transform:"translateY(-35%) translateX(35%)",zIndex:1,children:f.jsx(der,{petDiet:s})})]})]}),e.abilities.length>0&&f.jsxs(z,{col:!0,gap:1,pt:2,auto:!0,children:[f.jsx(ue,{fontSize:{base:"12px",lg:"14px"},fontWeight:"bold",color:"gray.300",children:f.jsx(L,{id:"fVXvwp"})}),f.jsx(z,{gap:1,wrap:"wrap",auto:!0,children:e.abilities.map(v=>f.jsx(uer,{abilityId:v,petId:e.id},v))})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ber=({petSlot:e})=>{const t=br(),r=t?56:74,n=Pe(p4),{tileRef:i}=wt[e.petSpecies],a=n===e.id,s=e.hunger<=0,o=()=>{fq(a?null:e.id)};return f.jsxs(z,{auto:!0,orient:"left",position:"relative",children:[f.jsx(bi,{children:a&&f.jsx(Cn,{position:"absolute",top:"50%",left:"100%",initial:{x:-100,y:"-50%",opacity:0},animate:{x:5,y:"-50%",opacity:1},exit:{x:-100,y:"-50%",opacity:0},transition:{type:"spring",stiffness:300,damping:25,mass:.8},children:f.jsx(ger,{petSlot:e})})}),f.jsx(Xe,{pointerEvents:"auto",variant:"blank",bg:s?"rgba(166, 0, 0, 0.555)":"rgba(0, 0, 0, 0.65)",position:"relative",w:`${r}px`,h:`${r}px`,minW:`${r}px`,minH:`${r}px`,borderRadius:"10px",p:0,borderWidth:"2px",borderColor:a?"white":"transparent",_hover:{borderColor:a?"white":"grey"},onClick:o,children:f.jsxs(z,{col:!0,orient:"top",children:[f.jsx(ue,{fontSize:t?"8px":"10px",fontWeight:"bold",children:f.jsx(HMe,{petId:e.id})}),f.jsxs(bt,{templateColumns:"1fr auto 1fr",gap:1,alignItems:"center",px:1,children:[f.jsx(_Me,{abilityIds:e.abilities}),f.jsx(qt,{width:t?"28px":"43px",height:t?"28px":"43px",tileRef:i,scale:1,mutations:e.mutations}),f.jsx(Ne,{})]}),f.jsx(bt,{px:2,children:f.jsx(hY,{petId:e.id,height:6})})]})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const yer=()=>{const e=Pe(hq);return f.jsx(z,{autoH:!0,col:!0,orient:"left",gap:1,children:e.map(t=>f.jsx(ber,{petSlot:t},t.id))})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const gle=8,ble=12,UMe=({fillColor:e,placement:t,size:r=12,...n})=>{const i=r/ble,a=gle*i,s=r;return f.jsx(Ne,{position:"absolute",...n,sx:{transform:t==="right"?"rotate(15deg) scale(-1, 1)":"rotate(-15deg)",...n.sx},children:f.jsx("svg",{width:a,height:s,viewBox:`0 0 ${gle} ${ble}`,children:f.jsx("path",{d:"M 0 7 C 6 7, 7 3, 7 0 C 7 4, 6 7, 7 10 C 4 10, 2 8, 0 7 Z",style:{fill:e}})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const GMe=({isVisible:e,message:t,messageColor:r,...n})=>!e||!t||!r?null:f.jsx(z,{orient:"bottom left",position:"absolute",h:"22px",auto:!0,right:"50px",top:"50%",transform:"translateY(-50%)",zIndex:1,...n,children:f.jsxs(z,{bg:r,borderRadius:10,px:"8px",py:"2px",width:"75px",h:"22px",position:"relative",children:[f.jsx(ue,{color:"MagicBlack",fontSize:"12px",noOfLines:1,children:t}),f.jsx(UMe,{fillColor:r,position:"absolute",placement:"right",bottom:"1px",size:16,sx:{right:"-8px"}})]})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const eb=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/components/Chat/store/store.ts/isChatWidgetOpenAtom",Me(!1));eb.debugLabel="isChatWidgetOpenAtom";const _2=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/components/Chat/store/store.ts/unreadMessageDataAtom",Me({count:0,latestMessage:null}));_2.debugLabel="unreadMessageDataAtom";const Q7=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/components/Chat/store/store.ts/isMessagesMinimizedAtom",Me(!1));Q7.debugLabel="isMessagesMinimizedAtom";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ver=()=>{var l,c;const t=br()?"35px":"40px",[r,n]=Ea(eb),i=Pe(_2),{getPastelPlayerColor:a}=UA(),s=(l=i.latestMessage)!=null&&l.playerId?a(i.latestMessage.playerId):void 0,o=i.count>0&&!!i.latestMessage;return f.jsx(f.Fragment,{children:f.jsx(Sr,{label:Ee._({id:"rwXi0+"}),placement:o?"bottom":"left",showOnDesktopOnly:!0,children:f.jsx(Ne,{position:"relative",children:f.jsx(bi,{children:!r&&f.jsxs(Wme,{variant:"blank",initial:{x:t,opacity:0},animate:{x:0,opacity:1,transition:{duration:.1}},exit:{x:200,opacity:0},h:t,w:t,borderRadius:"full",bg:"rgba(0, 0, 0, 0.6)",onClick:u=>{u.stopPropagation(),n(!0)},"aria-label":Ee._({id:"AHZflp"}),pointerEvents:"auto",position:"relative",sx:{filter:i.count>0?"brightness(1.2)":"none"},children:[f.jsx(GMe,{isVisible:o,message:(c=i.latestMessage)==null?void 0:c.message,messageColor:s,right:"42px",top:"55%"}),f.jsx(G0,{as:k6,boxSize:"24px",sx:{transform:"scaleX(-1)"}}),i.count>0&&f.jsx(mv,{size:"20px",bg:"Red.Magic",position:"absolute",top:"-7.5px",left:"-8px",fontSize:"14px",fontWeight:"heavy",textShadow:"0px 2px 0px rgba(0,0,0,0.5)",children:i.count>99?"🤯":i.count})]})})})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Jj=({tooltip:e,label:t,icon:r,onClick:n,bg:i,...a})=>{const s=br(),o=Pe(oOe),l=Pe(lOe),c=Pe(cOe),u=t==="Sell"&&l||t==="Shop"&&c||t==="My Garden"&&o;return f.jsx(rp,{isActive:u,direction:"up",showScrim:!0,children:f.jsx(Sr,{label:e,placement:"bottom",showOnDesktopOnly:!0,children:f.jsxs(Xe,{onClick:n,px:s?1:3,w:"100%",h:s?"35px":"40px",fontSize:s?"10px":"14px",bg:i,borderRadius:"10px",borderBottom:"3px solid rgba(0,0,0,0.4)",_active:{borderBottomWidth:"1px",borderBottomColor:"rgba(0,0,0,0.2)",boxShadow:"inset 0 3px 2px rgba(0,0,0,0.2)"},_hover:{transform:"scale(1.02)",transition:"transform 0.2s ease"},style:{WebkitTapHighlightColor:"transparent"},gap:s?1:2,...a,children:[f.jsx(G0,{as:r}),f.jsx(L,{id:"w9dLMW",values:{label:t}})]})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ter=()=>{const{_:e}=Pt(),t=Pe(qA),r=br();return f.jsxs(bt,{auto:!0,templateColumns:"1fr 1fr 1fr",gap:r?1:2,pointerEvents:"auto",children:[f.jsx(Jj,{tooltip:e({id:"J1OGVD"}),label:e({id:"aoDa18"}),icon:ZB,onClick:()=>Ps("seedShop"),bg:"Blue.Magic",isActive:t==="Shift+1"}),f.jsx(Jj,{tooltip:e({id:"Az74mG"}),label:e({id:"i6WONX"}),icon:XB,onClick:()=>Ps("myGarden"),bg:"Green.Darker",isActive:t==="Shift+2"}),f.jsx(Jj,{tooltip:e({id:"SaI5hd"}),label:e({id:"xNB0TS"}),icon:iN,onClick:()=>Ps("sellCropsShop"),bg:"Red.Magic",isActive:t==="Shift+3"})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ser=()=>{const t=br()?"35px":"40px";return f.jsx(Sr,{label:Ee._({id:"29Hx9U"}),placement:"right",showOnDesktopOnly:!0,children:f.jsx(Xe,{variant:"blank",h:t,w:t,borderRadius:"full",bg:"rgba(0, 0, 0, 0.6)",color:"white",onClick:r=>{r.stopPropagation(),Mv("stats")},"aria-label":Ee._({id:"29Hx9U"}),pointerEvents:"auto",children:f.jsx(qt,{tileRef:rr.Stats,width:t,height:t})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const xer=()=>{var h;const e=Pe(hu),r=br()?42:48,n=Pe(fOe),i=Pe(_1t),{_:a}=Pt(),s=e?UN[e]:{tileRef:ay.Sunny,name:a({id:"+qhpjC"})},o=((h=s.mutator)==null?void 0:h.chancePerMinutePerCrop)||0,l=i.reduce((p,m)=>p+m.mutationChanceIncreasePercentage/100,0)||0,c=s.mutator?o*(1+l):0,u=()=>{zt({type:"CheckWeatherStatus"})},d=f.jsxs(z,{col:!0,gap:"1px",children:[f.jsx(ue,{fontWeight:"bold",fontSize:{base:"14px",md:"16px"},children:s.name}),f.jsx(z,{h:"1px",bg:"Neutral.DarkGrey"}),f.jsx(z,{py:"1px",col:!0,children:s.mutator?f.jsxs(f.Fragment,{children:[f.jsxs(ue,{fontSize:{base:"12px",md:"14px"},children:[f.jsx(L,{id:"77l1sk"})," ",f.jsx(en,{mutationId:s.mutator.mutation,fontSize:{base:"12px",md:"14px"}})," ",f.jsx(L,{id:"02RGhM"})]}),f.jsx(ue,{fontSize:{base:"12px",md:"14px"},color:"rgba(255, 255, 255, 0.7)",children:f.jsx(L,{id:"5L5UmU",values:{0:Gn(c,3)},components:{0:f.jsx(ue,{as:"span",fontWeight:"bold",fontSize:{base:"12px",md:"14px"}})}})}),i.length>0&&f.jsxs(z,{auto:!0,fontSize:{base:"9px",md:"11px"},color:"Neutral.Grey",py:.5,children:[f.jsxs(ue,{as:"span",fontSize:{base:"9px",md:"11px"},children:[f.jsxs(ue,{as:"span",fontStyle:"italic",fontSize:{base:"9px",md:"11px"},children:[Gn(o),"%"," "]}),"× (100%"]}),i.map((p,m)=>f.jsxs(z,{auto:!0,children:[f.jsxs(ue,{as:"span",fontSize:{base:"9px",md:"11px"},children:["+"," ",Gn(p.mutationChanceIncreasePercentage),"%"]}),f.jsx(qt,{tileRef:wt[p.speciesId].tileRef,width:"15px",height:"15px",mutations:p.mutations})]},`${p.speciesId}-${m}`)),f.jsx(ue,{as:"span",fontSize:{base:"9px",md:"11px"},children:")"})]})]}):f.jsx(ue,{fontSize:{base:"12px",md:"14px"},children:f.jsx(L,{id:"q8lPj7"})})})]});return f.jsx(rp,{isActive:n,direction:"right",borderRadius:"full",children:f.jsx(Sr,{label:d,placement:"left",keepOpenOnDesktopClick:!0,children:f.jsx(z,{pointerEvents:"auto",position:"relative",backgroundColor:"rgba(0, 0, 0, 0.65)",borderRadius:"full",borderWidth:"2px",borderColor:"transparent",w:`${r}px`,h:`${r}px`,minW:`${r}px`,minH:`${r}px`,p:1,onClick:u,onMouseEnter:u,children:s.tileRef&&f.jsx(qt,{tileRef:s.tileRef,width:"100%",height:"100%"})})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const wer=()=>{const e=Pe(Hh);return f.jsxs(bt,{templateColumns:"1fr auto 1fr",position:"relative",px:1,gap:1,children:[f.jsx(z,{orient:"left",zIndex:1,children:f.jsx(yer,{})}),f.jsxs(z,{position:"relative",orient:"top",children:[f.jsx(z,{auto:!0,mt:{base:0,lg:e?"4px":"-45px"},children:f.jsx(Ter,{})}),f.jsx(z,{orient:"bottom",position:"absolute",children:f.jsx(oer,{})})]}),f.jsxs(z,{orient:"top right",col:!0,gap:1,children:[f.jsx(xer,{}),f.jsx(cer,{}),f.jsx(Ser,{}),f.jsx(ler,{}),f.jsx(ver,{})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const _er=()=>f.jsxs(z,{position:"absolute",left:"50%",top:"70%",transform:"translateY(-50%)",zIndex:"2",pointerEvents:"none",auto:!0,style:{touchAction:"none"},children:[f.jsx(Ne,{position:"absolute",width:"100px",height:"100px",bg:"rgba(255, 255, 255, 0.2)",borderWidth:"2px",borderColor:"rgba(255, 255, 255, 0.5)",borderRadius:"50%"}),f.jsx(Ne,{position:"absolute",width:"50px",height:"50px",bg:"rgba(255, 255, 255, 0.2)",borderRadius:"50%",top:"50%",left:"50%",transform:"translate(-50%, -50%)"})]});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Aer=()=>{const e=Pe(Hh),t=Pe(rOe),r=X1(),n=Pe(Lv);return yXt(),f.jsxs(f.Fragment,{children:[f.jsx(z,{position:"absolute",top:"calc(-1 * var(--sait))",left:"calc(-1 * var(--sail))",width:"calc(100% + var(--sail) + var(--sair))",height:"calc(100% + var(--sait) + var(--saib))",pointerEvents:"none",bg:`radial-gradient(287% 106% at 50% 53%, rgba(0, 32, 139, 0) 45%,
rgba(6, 12, 95, 0.7) 55%)`,zIndex:"1"}),t&&r&&f.jsx(_er,{}),f.jsx(BMe,{}),f.jsxs(z,{col:!0,position:"absolute",overflow:"hidden",visibility:n?"hidden":"visible",children:[!e&&f.jsx(YOe,{}),f.jsxs(z,{col:!0,pt:e?1:0,orient:"bottom",zIndex:"StandardModal",position:"relative",pointerEvents:"none",children:[f.jsx(wer,{}),f.jsx(JZt,{})]})]}),f.jsx(wXt,{}),f.jsx(PXt,{}),f.jsx(GZt,{})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Cer=()=>{const e=Pe(hu),t=KF();j.useEffect(()=>(t&&rgt(e),()=>{QLe()}),[e,t])},Eer=()=>{const e=Pe(hu),t=KF();j.useEffect(()=>(t&&igt(e),()=>{XN()}),[e,t])},Per=()=>{Cer(),Eer()};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const jer=()=>(Per(),null);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Rer=()=>{const{availableCredits:e,mutateCreditsBalance:t}=h1(),r=k0(Rce),n=Pe(Ice);return j.useEffect(()=>{r(e)},[e,r]),j.useEffect(()=>{t()},[n,t]),null};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ier=()=>(bbt(),null);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const i8=globalThis.jotaiAtomCache.get("/home/runner/work/magiccircle.gg/magiccircle.gg/client/src/presentables/index.ts/presentableQueueAtom",Me([]));i8.debugLabel="presentableQueueAtom";function tb(e=0){const t=k0(i8),r=j.useCallback(({id:a,presentable:s})=>{const o={presentable:s,isDismissed:!1,id:a,priority:e};t(l=>{const c=l.filter(u=>u.id!==a);return[o,...c]})},[t,e]),n=j.useCallback(a=>{t(s=>{const o=s.filter(c=>c.priority!==e),l=a.map(({id:c,presentable:u})=>({presentable:u,isDismissed:!1,id:c,priority:e}));return[...o,...l]})},[t,e]),i=j.useCallback(({id:a})=>{t(s=>s.filter(o=>o.id!==a))},[t]);return{addPresentable:r,removePresentable:i,setPresentables:n}}function VMe(){return[...Pe(i8)].sort((r,n)=>r.priority-n.priority).find(r=>!r.isDismissed)}function Oer(){const e=VMe();return e==null?void 0:e.presentable}function Mer(){const e=k0(i8);return j.useCallback((r,n)=>{e(i=>i.map(a=>a.id===r.id?{...a,isDismissed:n}:a))},[e])}function A2(){const e=VMe(),t=Mer();return j.useCallback(()=>e?(t(e,!0),()=>t(e,!1)):()=>{},[e,t])}const ker="/version/436ff68/assets/breadToaster-COWnRc0U.riv";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const _F=({isShootingBread:e,onComplete:t,riveLayoutParameters:r})=>{const{rive:n,RiveComponent:i}=lu({src:ker,stateMachines:"State Machine 1",layout:new f0.Layout(r!=null?r:{fit:f0.Fit.Cover,alignment:f0.Alignment.Center}),autoplay:!0});return _v(n,"State Machine 1",{isShootingBread:e}),j.useEffect(()=>(n&&t&&n.on(f0.EventType.RiveEvent,t),()=>{n==null||n.removeAllRiveEventListeners(f0.EventType.RiveEvent)}),[n]),f.jsx(i,{})},Der="/version/436ff68/assets/currency-q8YC_JXC.riv";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};var Qu=(e=>(e[e.Idle=0]="Idle",e[e.Amazed=1]="Amazed",e[e.Outro=2]="Outro",e))(Qu||{});const YMe=({currencyState:e,isDonut:t})=>{const{rive:r,RiveComponent:n}=lu({src:Der,stateMachines:"State Machine 1",layout:new f0.Layout({fit:f0.Fit.Cover,alignment:f0.Alignment.Center}),autoplay:!0});return _v(r,"State Machine 1",{breadState:e!=null?e:0,isDonut:t!=null?t:!1}),JLe(()=>{r&&r.pause()},1e3),f.jsx(n,{onMouseEnter:()=>{r&&r.play()},onMouseLeave:()=>{r&&r.pause()}})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const C2=e=>f.jsx(Gr,{position:"absolute",top:"0",right:"0","aria-label":Ee._({id:"yz7wBu"}),icon:f.jsx(du,{}),variant:"blank",color:"Neutral.TrueWhite",bg:"transparent",outline:"1px solid",outlineColor:"Neutral.TrueWhite",p:1,borderRadius:"full",as:T1,...e});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ler=({challenge:e})=>{const[t,r]=j.useState(!1),n=j.useRef(!1),[i,a]=j.useState(!1),[s,o]=j.useState(!1),l=j.useRef(),c=j.useRef(),u=ZLe(),d=A2(),{_:h}=Pt(),{user:p}=Uh(),{sendToast:m}=Xh(),g=600*1e3,b=p?p.lastActiveAt.getTime()-p.createdAt.getTime()<=g:!1;j.useEffect(()=>(l.current=Jt("Bread_SparkleLoop_01",{loop:!0}),()=>{var S,x;(S=l.current)==null||S.stopPlaying(),(x=c.current)==null||x.stopPlaying()}),[]);const y=async()=>{var x;if(n.current)return;n.current=!0,r(!0),Jt("Bread_PullLever_01"),fi(.5).then(()=>{a(!0),o(!0),c.current=Jt("Bread_PoppingLoop_01")}).catch(console.warn),await fi(2),a(!1),(x=c.current)==null||x.stopPlaying(),await fi(1.25),Jt("Bread_DonePopping_01"),KV();const S=d();try{await u(e)}catch(w){m({title:h({id:"p6mrXB"}),description:w instanceof Error?w.message:h({id:"29VNqC"}),status:"error"}),r(!1),a(!1),o(!1),S(),n.current=!1}},v=eFe[Kce.DailyBread];return f.jsxs(js,{flexDirection:"column",textAlign:"center",maxWidth:"100%",justifyContent:"start",height:"100%",width:"100%",children:[f.jsx(Ne,{width:"45vh",height:"55vh",position:"relative",marginBottom:"-10vh",children:f.jsxs(Ne,{width:"100%",height:"100%",children:[f.jsx(C2,{position:"absolute",top:"25vh",right:"5px"}),f.jsx(_F,{isShootingBread:i,riveLayoutParameters:{fit:bd.Fit.FitWidth,alignment:bd.Alignment.BottomCenter}})]})}),f.jsx(ue,{variant:"textSlapper-default",my:"10px",fontSize:"4xl",width:"95vw",px:"10px",children:b?f.jsx(L,{id:"LAYQ8j"}):f.jsx(L,{id:"6erNKe"})}),f.jsx(ue,{fontSize:"md",maxWidth:"100vw",px:"10px",children:f.jsx(L,{id:"+sVOIa"})}),f.jsx(z,{gap:"10px",mt:"20px",height:"auto",mb:"10px",children:f.jsxs(xv,{onClick:()=>void y(),size:"lg",backgroundColor:"Purple.Dark",glowBackgroundColor:"Purple.Dark",isGlowing:!t,pointerEvents:t?"none":"auto",padding:"30px 50px",paddingRight:"0px",fontSize:"xl",overflow:"visible",children:[f.jsx(L,{id:"CmqCVl",values:{dailyChallengeAmount:v}}),f.jsx(Cn,{height:"100px",width:"100px",initial:{scale:.5},animate:{scale:t?1:.5,marginLeft:t?"5px":"-20px"},children:f.jsx(YMe,{currencyState:s?Qu.Amazed:Qu.Idle})})]})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Fer=async()=>await ra("/challenges/refresh");function $er(e){const{setPresentables:t}=tb(e),r=fn();j.useEffect(()=>{(async()=>{if(!r)return;const n=await Fer();t(n.filter(i=>i.type===Kce.DailyBread).map(i=>({id:"challenge-"+i.id,presentable:{type:"DailyChallengeComplete",component:f.jsx(Ler,{challenge:i})}})))})().catch(console.error)},[r])}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ber=({src:e,alt:t,translateY:r,width:n="100%",height:i="100%",...a})=>{const s=Array.isArray(e)?e:e?[e]:[];return f.jsx(Ne,{width:n,height:i,position:"relative",overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center",...a,children:f.jsx(Ne,{position:"relative",top:r,left:"50%",transform:"translate(-50%, -50%)",width:"100%",height:"100%",children:s.map((o,l)=>f.jsx(p0,{src:o,alt:t,width:"200%",height:"200%",objectFit:"cover",position:"absolute",top:0,left:0},`${o}-${l}`))})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function KMe(e){return e.type==="guild"}function Ner(e){return e.type==="streak"}function qer({cosmetic:e,...t}){const r="calc(min(70vmin, 400px))",n="calc(min(70vmin, 400px))",i={Top:"65%",Mid:"30%",Bottom:"-10%",Expression:"30%",Color:"50%"},a=e.cosmeticType==="Mid"?[qc(e.cosmeticFilename)||"",qc("Expression_Default.png")||""]:qc(e.cosmeticFilename)||"";return f.jsxs(Ne,{position:"relative",...t,width:r,height:"auto",mb:"10px",children:[f.jsx(Ber,{width:r,height:n,translateY:i[e.cosmeticType],src:a,alt:e.name}),KMe(e)&&e.guild.icon&&f.jsx(p0,{src:e.guild.icon,alt:"",position:"absolute",bottom:"20px",right:"10px",width:"calc(min(15vmin, 80px))",zIndex:1,borderRadius:"50%",objectFit:"cover"})]})}const zer=({claimableCosmetic:e,onAccept:t,onWear:r})=>{const n=()=>KMe(e)?f.jsx(ue,{fontSize:"md",zIndex:1,maxWidth:"100vw",px:"10px",children:f.jsx(L,{id:"ftam6Z",values:{0:e.guild.name},components:{0:f.jsx(ue,{as:"span",fontSize:"md",fontWeight:"bold"})}})}):Ner(e)?f.jsx(ue,{fontSize:"md",zIndex:1,maxWidth:"100vw",px:"10px",children:f.jsx(L,{id:"WJD4bZ",values:{0:e.requiredStreakCount},components:{0:f.jsx(ue,{as:"span",fontSize:"md",fontWeight:"bold"})}})}):null;return f.jsx(z,{col:!0,children:f.jsxs(js,{flexDirection:"column",textAlign:"center",width:"100%",overflow:"hidden",position:"relative",marginTop:"-20vh",children:[f.jsx(C2,{top:"25%",right:"15px",position:"absolute"})," ",f.jsx(qer,{cosmetic:e}),f.jsx(ue,{fontSize:"lg",zIndex:1,children:f.jsx(L,{id:"/5hCVa"})}),f.jsx(ue,{variant:"textSlapper-default",my:"10px",fontSize:"4xl",zIndex:1,maxWidth:"90vw",px:"10px",children:e.name}),n(),f.jsxs(z,{gap:"10px",mt:"20px",height:"auto",width:"auto",children:[" ",f.jsx(Xe,{onClick:r,children:f.jsx(L,{id:"p5Edpt"})}),f.jsx(Xe,{variant:"outline",onClick:t,children:f.jsx(L,{id:"g3UF2V"})})]})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Wer=({claimableCosmetic:e})=>{const t=jo(),r=Ww(),n=tv(),i=A2();function a(c){return ra(`/me/cosmetics/claim/${c.cosmeticFilename}`)}async function s(){i(),await a(e)}async function o(){i(),await a(e),l(),r("profile-avatar")}function l(){if(e.cosmeticType==="Color"){console.warn("Color cosmetics are not supported yet");return}const c=XF.indexOf(e.cosmeticType),u=[...n.cosmetic.avatar];u[c]=e.cosmeticFilename,t({type:"SetPlayerData",cosmetic:{...n.cosmetic,avatar:u}})}return f.jsx(zer,{claimableCosmetic:e,onWear:()=>void o(),onAccept:()=>void s()})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Her=async()=>await ra("/me/cosmetics/unclaimed");function Uer(e){const{setPresentables:t}=tb(e),r=fn();j.useEffect(()=>{(async()=>{if(!r)return;const n=await Her();t(n.map(i=>({id:"unclaimed-cosmetic-"+i.cosmeticFilename,presentable:{type:"ClaimableCosmetic",component:f.jsx(Wer,{claimableCosmetic:i})}})))})().catch(console.error)},[r])}const Ger="/version/436ff68/assets/Huzzah-DkmNjwCa.png";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const eS="cover-sheet";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const XMe=()=>{const e=j.useRef(null),t=Ece(),r=z6(),n=tv(),i=Xce(),[a,s]=j.useState(!1),{close:o}=VA(),{removePresentable:l}=tb(),c=jo(),u=()=>{var h;const d=(h=e.current)==null?void 0:h.value;c({type:"SetPlayerData",name:d}),l({id:eS}),o()};return j.useEffect(()=>{var d;a&&((d=e.current)==null||d.select())},[a]),f.jsxs(z,{col:!0,children:[f.jsx(js,{position:"absolute",overflow:"hidden",children:f.jsx(qO,{src:Ger,alt:"Huzzah!",animate:{rotate:360},transition:{duration:30,repeat:1/0,ease:"linear"}})}),f.jsxs(Ne,{position:"relative",w:"360px",maxW:"80%",children:[f.jsx(NOe,{players:[{player:n}]}),f.jsxs(Bpe,{py:"10px",position:"relative",children:[f.jsxs(ky,{align:"center",gap:"5px",children:[f.jsx(ue,{size:"md",maxW:"80%",textAlign:"center",lineHeight:"1.2",children:r?f.jsx(L,{id:"fmuzOn"}):f.jsx(L,{id:"MY/bpz",values:{0:t==null?void 0:t.name},components:{0:f.jsx(ue,{as:"span",fontWeight:"semibold",size:"md"}),1:f.jsx("br",{})}})}),f.jsx(Ne,{h:"5px"}),a?f.jsxs(f.Fragment,{children:[f.jsx(ue,{children:f.jsx(L,{id:"n9V+ps"})}),f.jsx(Z1,{autoFocus:!0,type:"text",placeholder:"enter your name",defaultValue:i,"data-testid":"name-input",maxLength:LOe,onEnterKeyDown:u,autoComplete:"given-name",ref:e})]}):f.jsx(hf,{onClickPlayAsGuest:()=>s(!0),showPlayAsGuestButton:!0})]}),f.jsx(ky,{align:"center",position:"relative",bottom:"0",mt:"25px",children:f.jsx(ky,{align:"center",position:"absolute",top:"-15px",children:a&&f.jsx(xv,{"data-testid":"coversheet-cta",bg:"Purple.Magic",glowSize:6,onClick:u,boxShadow:"0px 2px 2px 0px rgba(0, 0, 0, 0.25)",children:f.jsx(L,{id:"O1h2Xs"})})})})]})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Ver(e){const{addPresentable:t,removePresentable:r}=tb(e),n=fn(),{isOpen:i}=VA();j.useEffect(()=>{n?r({id:eS}):t({id:eS,presentable:{type:"CoverSheet",component:f.jsx(XMe,{})}})},[n]),j.useEffect(()=>{i&&r({id:eS})},[i])}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Yer=({questionDate:e,questionText:t,answerText:r})=>{const n=A2(),i=QF(),a=()=>{n(),tFe(),i("AvocadoMini"),rFe(e)};return f.jsxs(js,{flexDirection:"column",textAlign:"center",maxWidth:"100%",width:"100%",height:"100%",position:"relative",pointerEvents:"auto",children:[f.jsx(C2,{position:"absolute",top:"25vh",pointerEvents:"auto",zIndex:"10000000"}),f.jsx(ue,{variant:"textSlapper-default",my:"10px",fontSize:"4xl",width:"60vw",px:"10px",position:"relative",color:"MagicWhite",children:f.jsx(L,{id:"s/RYRJ"})}),f.jsxs(Ne,{p:6,borderRadius:"card",maxW:"80%",bg:"MagicWhite",position:"relative",my:"10px",children:[f.jsx(ue,{fontSize:"md",fontStyle:"italic",fontWeight:"normal",textAlign:"center",color:"MagicBlack",children:t}),f.jsxs(ue,{fontSize:"md",fontWeight:"normal",textAlign:"center",color:"MagicBlack",mt:4,children:[f.jsx(L,{id:"AhxSNj"})," ",f.jsxs("b",{children:[r.slice(0,200),r.length>200?"...":""]})]})]}),f.jsx(z,{gap:"10px",height:"auto",mb:"10px",children:f.jsx(xv,{onClick:a,size:"md",backgroundColor:"Blue.Magic",glowBackgroundColor:"Blue.Magic",padding:"15px 30px",fontSize:"lg",overflow:"visible",children:f.jsx(L,{id:"cXhT7U"})})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ker=async()=>await Zw("/games/mini-avocado/unclaimed-prizes");function Xer(e){const{setPresentables:t}=tb(e),r=fn();j.useEffect(()=>{(async()=>{if(!r)return;const n=await Ker();if(n.length>0){const i=n[0];t([{id:"miniavocado-prize-"+i.id,presentable:{type:"MiniAvocadoPrize",component:f.jsx(Yer,{questionText:i.avocadoMiniDailyQuestion.questionText,answerText:i.answerText,questionDate:i.avocadoMiniDailyQuestion.date})}}])}})().catch(console.error)},[r])}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};var rl=(e=>(e[e.SpookyContent=1]="SpookyContent",e[e.PoliticalContent=2]="PoliticalContent",e[e.Crapitalism=3]="Crapitalism",e[e.Strippening=4]="Strippening",e[e.Rainbowpocalypse=5]="Rainbowpocalypse",e[e.Halloween2025=6]="Halloween2025",e))(rl||{});Object.values(rl).filter(e=>typeof e=="number");const Qer="/version/436ff68/assets/HuzzahBurst-B637r2bN.png",Jer="/version/436ff68/assets/Crapitalism-DQ8Xluam.webp",Zer="/version/436ff68/assets/MonsterBash-B7YTYHAD.webp",etr="/version/436ff68/assets/Political-hmK9jvRi.webp",ttr="/version/436ff68/assets/Rainbowpocalypse-CW19tJYk.webp",rtr="/version/436ff68/assets/Strippening-Dm5Vu0q8.webp";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ntr=[{id:rl.SpookyContent,kind:"image",title:"Halloween content is here!",imageSrc:Zer,buttonColor:"Orange.Magic"},{id:rl.PoliticalContent,kind:"image",title:"Political pack just dropped!",imageSrc:etr,buttonColor:"Red.Magic"},{id:rl.Crapitalism,kind:"image",title:"New content pack just dropped!",imageSrc:Jer,buttonColor:"Green.Magic"},{id:rl.Strippening,kind:"image",title:"",imageSrc:rtr,buttonColor:"Cyan.Dark"},{id:rl.Rainbowpocalypse,kind:"image",title:"",imageSrc:ttr,buttonColor:"Blue.Magic"},{id:rl.Halloween2025,kind:"image",title:"",imageSrc:`${Pl}/assets/presentables/Halloween.webp`,buttonColor:"Orange.Magic"}];globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};async function yle(e){await ra(`/me/news/${e}/read`)}const itr=({newsItemId:e})=>{const t=A2();j.useEffect(()=>{yle(e).catch(console.warn)},[e]);function r(){t(),yle(e).catch(console.warn)}const n=ntr.find(a=>a.id===e);if(!n)return console.warn(`NewsItemPresentableRenderer: News item not found for id: ${e}`),null;const i=n.kind==="component";return f.jsxs(z,{col:!0,width:"55vh",maxWidth:"100vw",position:"relative",children:[f.jsx(js,{position:"absolute",width:"125%",children:f.jsx(qO,{src:Qer,alt:"Huzzah!",animate:{rotate:360,scale:[1,1.05,1]},position:"absolute",transition:{duration:60,repeat:1/0,ease:"linear",scale:{duration:1.5,repeat:1/0,ease:"easeInOut"}}})}),f.jsxs(js,{flexDirection:"column",position:"absolute",children:[f.jsx(C2,{top:"0",right:"10px"}),i?n.component:f.jsxs(f.Fragment,{children:[f.jsx(ue,{fontSize:"lg",textShadow:"0px 0px 10px #000",fontWeight:"bold",textAlign:"center",children:n.title}),f.jsx(qO,{src:n.imageSrc,alt:n.title})]}),f.jsxs(z,{auto:!0,gap:"10px",children:[f.jsxs(Xe,{onClick:()=>{const a=n.id===rl.Rainbowpocalypse?"https://discord.com/channels/808935495543160852/813128256291078184/1403110331672428544":n.id===rl.Halloween2025?"https://discord.com/channels/808935495543160852/813128256291078184":yF;Qr?Al(a).catch(console.error):window.open(a,"_blank")},mt:4,variant:"outline",size:{base:"sm",md:"md"},children:[f.jsx(p0,{src:GV,height:"20px",mr:"8px"}),f.jsx(L,{id:"zwWKhA"})]}),f.jsx(Xe,{variant:"outline",onClick:r,backgroundColor:i?"Purple.Magic":n.buttonColor,borderColor:"transparent",mt:4,size:{base:"sm",md:"md"},children:f.jsx(L,{id:"76gPWk"})})]})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const atr=async()=>(await Zw("/me/news")).unreadNewsItemIds;function str(e){const{setPresentables:t}=tb(e),r=fn();j.useEffect(()=>{(async()=>{if(!r)return;const n=await atr();t(n.map(i=>({id:"news-item-"+i,presentable:{type:"NewsItem",component:f.jsx(itr,{newsItemId:i})}})))})().catch(console.error)},[r])}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const otr=()=>{const e=fn(),t=[Xer,str,$er,Uer];e||t.unshift(Ver),t.forEach((r,n)=>{r(n)})},ltr=j.memo(()=>{const e=Pe(JV),t=Pe(kv),r=Oer(),n=A2();return otr(),!r||e||!t?null:f.jsxs(Pa,{isOpen:!0,isCentered:!0,onClose:n,variant:"Presentable",closeOnOverlayClick:!1,lockFocusAcrossFrames:!1,trapFocus:!1,blockScrollOnMount:!1,children:[f.jsx(vi,{}),f.jsx(uu,{children:f.jsx(z,{flexDirection:"column",height:"100vh",justifyContent:"start",children:r.component})})]})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ctr=6*1e3,utr=2*1e3,dtr=()=>{const e=Pe(nOe),t=ga().root_forceShowPresentables,[r,n]=j.useState(!1),[i,a]=j.useState(!1);return j.useEffect(()=>{let s;if(!i)e&&(s=setTimeout(()=>{n(!0)},utr)),a(!0);else if(e&&!r)return s=setTimeout(()=>{n(!0)},ctr),()=>clearTimeout(s)},[e,r,i]),!r&&!t?null:f.jsx(ltr,{})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ptr=()=>{const e=Pe(S2),t=Pe(fY),r=j.useRef(null),n=Pe(m2),i=()=>{Ps("shopsCenter")};j.useEffect(()=>{e!==1||r.current!==null||(r.current=setTimeout(()=>{r.current=null,n&&(lgt(),lt({toastType:"board",title:f.jsx(L,{id:"2Sp9+X"}),subtitle:f.jsx(L,{id:"yUwEa9"}),strokeColor:"Purple.Magic",backgroundImage:`${Pl}/assets/ui/all-restocked.webp`,onClick:i,isStackable:!0,duration:5e3}))},1e3))},[e]),j.useEffect(()=>{t&&r.current&&e!==1&&(clearTimeout(r.current),r.current=null)},[t]),j.useEffect(()=>()=>{r.current&&clearTimeout(r.current)},[])};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const htr=5e3,ftr=()=>{const e=Pe(yY),t=Pe(bY),r=j.useRef(null),n=Pe(m2),i=Pe(e8),a=()=>{Ps("eggShop")};j.useEffect(()=>{e!==1||r.current!==null||(r.current=setTimeout(()=>{r.current=null,n&&(i||(i4(),lt({toastType:"board",title:f.jsx(L,{id:"2YenEy"}),subtitle:f.jsx(L,{id:"d5uSIY"}),strokeColor:"Purple.Magic",backgroundImage:`${Pl}/assets/ui/eggs-restocked.webp`,onClick:a,isStackable:!0,duration:5e3})))},1e3+htr))},[e,i]),j.useEffect(()=>{t&&r.current&&e!==1&&(clearTimeout(r.current),r.current=null)},[t]),j.useEffect(()=>()=>{r.current&&clearTimeout(r.current)},[])};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const mtr=()=>{const e=Pe(gY),t=Pe(mY),r=j.useRef(null),n=Pe(m2),i=Pe(e8),a=()=>{Ps("seedShop")};j.useEffect(()=>{e!==1||r.current!==null||(r.current=setTimeout(()=>{r.current=null,n&&(i||(i4(),lt({toastType:"board",title:f.jsx(L,{id:"14Cdnd"}),subtitle:f.jsx(L,{id:"3S2MNH"}),strokeColor:"#378A5D",backgroundImage:`${Pl}/assets/ui/seeds-restocked.webp`,onClick:a,isStackable:!0,topOffset:8,duration:5e3})))},1e3))},[e,i]),j.useEffect(()=>{t&&r.current&&e!==1&&(clearTimeout(r.current),r.current=null)},[t]),j.useEffect(()=>()=>{r.current&&clearTimeout(r.current)},[])};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const gtr=1e4,btr=()=>{const e=Pe(TY),t=Pe(vY),r=j.useRef(null),n=Pe(m2),i=Pe(e8),a=()=>{Ps("toolShop")};j.useEffect(()=>{e!==1||r.current!==null||(r.current=setTimeout(()=>{r.current=null,n&&(i||(i4(),lt({toastType:"board",title:f.jsx(L,{id:"m6enwm"}),subtitle:f.jsx(L,{id:"1pt28N"}),strokeColor:"Blue.Magic",backgroundImage:`${Pl}/assets/ui/tools-restocked.webp`,onClick:a,isStackable:!0,duration:5e3})))},1e3+gtr))},[e,i]),j.useEffect(()=>{t&&r.current&&e!==1&&(clearTimeout(r.current),r.current=null)},[t]),j.useEffect(()=>()=>{r.current&&clearTimeout(r.current)},[])};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ytr=()=>(mtr(),ftr(),btr(),ptr(),null);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const vtr=()=>{const e=nFe();return j.useEffect(()=>{e("Quinoa")},[]),null};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const{get:Ttr}=ft(),Str=()=>{const e=X1(),t=Pe(JIe),r=Pe(hF),n=Pe(ZIe),i=Pe(kv),{_:a}=Pt();return j.useEffect(()=>{if(i)if(t){const s=e?rr.Touchpad:rr.ArrowKeys,o=a(e?{id:"Z1jMBZ"}:{id:"xJL0OF"});lt({title:a({id:"GZHqV8"}),description:a({id:"nJ38xH",values:{directionalController:o}}),variant:"info",icon:s,duration:null})}else r&&fi(3).then(()=>{if(Ttr(hF)){const s=Ba.Dirt3;lt({title:a({id:"PYWB99"}),description:a({id:"4jGH+d"}),variant:"info",icon:s,duration:null})}})},[t,e,r,i]),j.useEffect(()=>{n&&z1t()},[n]),null};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const xtr=()=>{const e=fn(),{subscriptions:t,isLoading:r}=xY(),[n,i]=j.useState(!1),[a,s]=j.useState(!1);j.useEffect(()=>{var d,h,p;if(a||Tt!=="webview"||r||!e)return;if(t.length===0){s(!0);return}const u=m=>{const g=m,{permission:b,permissionNative:y,canRequest:v}=g.detail;console.log("Notification permission status:",{permission:b,permissionNative:y,canRequest:v}),b||i(!0),s(!0)};window.addEventListener("magiccircle:notificationPermission",u,{once:!0}),(p=(h=(d=window.webkit)==null?void 0:d.messageHandlers)==null?void 0:h.queryNotificationPermissionStatus)==null||p.postMessage({})},[r,e,t,a]);const o=()=>{i(!1)},l=()=>{var u,d,h,p;(p=(h=(d=(u=window.webkit)==null?void 0:u.messageHandlers)==null?void 0:d.requestNotificationPermission)==null?void 0:h.postMessage)==null||p.call(h,{}),o()},c=async()=>{o();try{await ra("/notifications/unsubscribe-all")}catch(u){console.error("Failed to unsubscribe from all notifications:",u),lt({variant:"error",title:f.jsx(L,{id:"gZBlNC"}),description:f.jsx(L,{id:"APcfpH"})})}};return f.jsxs(Pa,{isOpen:n,onClose:o,children:[f.jsx(vi,{zIndex:"AboveGameModal",bg:"ScrimDarker"}),f.jsx(z,{id:"NotificationReEnablePrompt",position:"absolute",top:"0",left:"0",zIndex:"AboveGameModal",px:2,onClick:o,children:f.jsxs(z,{col:!0,auto:!0,maxW:"400px",bg:"Brown.Dark",borderRadius:"15px",borderWidth:"3px",borderColor:"Brown.Magic",boxShadow:"0 4px 10px rgba(0, 0, 0, 0.5)",overflow:"hidden",onClick:u=>u.stopPropagation(),p:4,gap:3,children:[f.jsx(z,{fontSize:"20px",fontWeight:"bold",color:"Yellow.Light",textAlign:"center",justifyContent:"center",alignItems:"center",children:f.jsx(L,{id:"uMDz2f"})}),f.jsx(ue,{textAlign:"center",children:f.jsx(L,{id:"bFsoHt",values:{0:t.length},components:{0:f.jsx("strong",{})}})}),f.jsxs(z,{col:!0,gap:2,mt:2,children:[f.jsx(Xe,{w:"100%",h:"40px",bg:"Green.Magic",borderWidth:"2px",borderColor:"Green.Darker",borderRadius:"5px",onClick:l,fontSize:"18px",fontWeight:"bold",color:"white",_hover:{bg:"Green.Light"},children:f.jsx(L,{id:"xGVfLh"})}),f.jsx(Xe,{w:"100%",h:"40px",bg:"Red.Magic",borderWidth:"2px",borderColor:"Red.Darker",borderRadius:"5px",onClick:()=>void c(),fontSize:"14px",fontWeight:"bold",color:"white",_hover:{bg:"Red.Light"},children:f.jsx(L,{id:"/xQ9hs"})})]})]})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const wtr=()=>{const e=j.useRef(null);return bKt(),j1t(e),f.jsxs(z,{ref:e,position:"relative",onPointerUp:c1,children:[f.jsx(hXt,{}),f.jsx(Aer,{}),f.jsx(bXt,{}),f.jsx(Ier,{}),f.jsx(Rer,{}),f.jsx(jer,{}),f.jsx(Str,{}),f.jsx(dtr,{}),f.jsx(ytr,{}),f.jsx(vtr,{}),Tt==="webview"&&f.jsx(xtr,{})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const _tr=()=>{const e=()=>{location.href=location.origin};return f.jsxs(z,{position:"absolute",col:!0,children:[f.jsx(ue,{color:"white",fontWeight:"bold",size:"xl",textAlign:"center",children:f.jsx(L,{id:"8za+sd"})}),f.jsx(ue,{color:"white",fontWeight:"bold",size:"md",textAlign:"center",children:f.jsx(L,{id:"oLsB4B"})}),Tt==="webview"&&f.jsx(Xe,{mt:4,leftIcon:f.jsx(G0,{strokeWidth:4,as:F6}),onClick:e,children:f.jsx(L,{id:"u9/gHa"})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const vle=()=>{const e=Pe(uye),r=Pe(Yc)===null&&!e,n=j.useRef(!1),[i,a]=j.useState(!1),s=JF(),[o,l]=j.useState(!0),[c,u]=j.useState(!0),d=Pe(Dce),{_:h}=Pt(),p=r||o||c;j.useEffect(()=>{n.current||d.state==="hasData"&&(n.current=!0,Ua.loader.parsers.unshift(new wft(d.data)),Ua.add({alias:"avatarelements.riv",src:Mce}),Ua.init({manifest:Pl+"/assets/manifest.json",basePath:Pl+"/assets"}).then(()=>{a(!0)}).catch(g=>{throw g}))},[a,d]),j.useEffect(()=>{i&&Ua.loadBundle("default").then(()=>{l(!1)}).catch(g=>{throw g})},[i,l]),j.useEffect(()=>{!i||s.length===0||Ua.load(s).then(()=>{u(!1)}).catch(g=>{throw g})},[s,i]),j.useEffect(()=>{p||window.onAppContentLoaded()},[p]);function m(){return r?h({id:"YUaJXy"}):o?h({id:"0WQNdg"}):c?h({id:"0j4VOr"}):""}return p?f.jsxs(f.Fragment,{children:[f.jsx(pN,{gameName:"Quinoa",brightness:.6,renderInPortal:!0}),f.jsxs(z,{position:"absolute",col:!0,gap:"2",children:[f.jsx(v1,{size:"xl"}),f.jsx(ue,{children:m()})]})]}):e?f.jsx(_tr,{}):f.jsx(wtr,{})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const QMe=()=>{const e="Quinoa",t=Fl(),r=fn(),n=Pe(Hh);return t===e&&!n?f.jsx(zB,{scope:e,children:f.jsx(qB,{children:f.jsx(j.Suspense,{fallback:f.jsx(mN,{}),children:f.jsx(vle,{})})})}):f.jsx(est,{gameName:e,additionalHeaderElement:Tt==="webview"&&r&&f.jsx(z,{autoW:!0,children:f.jsx(Nn,{fontSize:"sm",fontWeight:"black",whiteSpace:"nowrap",mr:3,color:"Yellow.Light",strokeColor:"Green.Darker",strokeWidth:3,shadowHeight:2,children:f.jsx(L,{id:"BaZg4p"})})}),children:t===e?f.jsx(vle,{}):f.jsx(Mct,{gameName:e})})},Atr=Object.freeze(Object.defineProperty({__proto__:null,default:QMe},Symbol.toStringTag,{value:"Module"})),Ctr="/version/436ff68/assets/emotes-CYr0m7I9.riv";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Etr=({type:e,heartColor:t,isFloating:r,onClick:n})=>{const[i,a]=j.useState(!1),[s,o]=j.useState(!1),l=j.useRef(),{rive:c,RiveComponent:u}=lu({src:Ctr,stateMachines:"State Machine 1",artboard:"Emotes",autoplay:!0}),{getInput:d,setInput:h}=_v(c,"State Machine 1",{emoteType:e,heartColor:t,isFloating:r});j.useEffect(()=>(c&&(c.on(f0.EventType.RiveEvent,p),a(!0)),()=>{c==null||c.removeAllRiveEventListeners(f0.EventType.RiveEvent)}),[c]),j.useEffect(()=>{h("heartColor",t)},[t]),j.useEffect(()=>{if(c)return s?(l.current&&(clearTimeout(l.current),l.current=void 0),c.play()):l.current=setTimeout(()=>{c.pause(),l.current=void 0},1e3),()=>{l.current&&(clearTimeout(l.current),l.current=void 0)}},[c,s]);const p=()=>{const m=d("heartColor");n&&typeof m=="number"&&n(e,m)};return f.jsx(Ne,{h:"100%",visibility:i?"visible":"hidden",onPointerEnter:()=>o(!0),onPointerLeave:()=>o(!1),children:f.jsx(u,{})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Ptr(e){return["Red","Orange","Yellow","Green","Blue","Purple","White","Black"].indexOf(e)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const jtr=({type:e,color:t})=>{const r=jo(),n=(i,a)=>{r({type:"Emote",emoteType:i,heartColor:a})};return f.jsx(Ne,{w:"40px",h:"40px",cursor:"pointer",children:f.jsx(Q1,{children:f.jsx(Etr,{type:e,heartColor:Ptr(t),isFloating:!1,onClick:n})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Tle=()=>{const e=Qce();return f.jsx(z,{autoH:!0,justifyContent:"space-around",children:iFe.map(t=>f.jsx(jtr,{type:t,color:e},t))})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Rtr=({isChatWidgetOpen:e=!0,inputRef:t,shouldAutoFocus:r=!1,onAutoFocus:n})=>{const i=tv(),[a,s]=j.useState(""),[o,l]=j.useState(0),c=ga().chat_characterLimit,u=jo(),d=k0(eb),{_:h}=Pt(),p=X1();j.useEffect(()=>{r&&!p&&(t!=null&&t.current)&&(t.current.focus({preventScroll:!0}),n==null||n())},[r,p,t,n]);const m=()=>{if(a)u({type:"Chat",message:a}),s(""),l(0);else if(!p)d(!1),Jt("Button_Modal_Close_01");else{const y=Date.now();y-o<500?(d(!1),l(0),Jt("Button_Modal_Close_01")):l(y)}},g=y=>{s(y.target.value),y.target.value.length>0&&l(0)},b=i.secondsRemainingUntilChatEnabled>0;return f.jsxs(bt,{templateColumns:"1fr auto",children:[f.jsx(Z1,{ref:t,textAlign:"left",fontSize:{base:"xs",md:"sm"},placeholder:h(b?{id:"D7Cu/7",values:{0:i.secondsRemainingUntilChatEnabled}}:{id:"JlFcis"}),value:b?"":a,onChange:g,maxLength:c,onEnterKeyDown:m,shouldBlurOnEnter:!1,p:"6px",pl:"12px",borderRightRadius:"0",borderLeftRadius:"10px",w:"100%",h:"40px",isDisabled:b,tabIndex:e?0:-1}),f.jsx(Gr,{size:"sm",h:"40px",w:"40px","aria-label":h({id:"JlFcis"}),isDisabled:b||!a,onClick:m,borderLeftRadius:"0",borderRightRadius:"10px",icon:f.jsx(G0,{as:rN,boxSize:"18px"})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Itr=({staticAvatarProps:e,name:t,backgroundColor:r,containerProps:n})=>f.jsxs(z,{col:!0,w:"40px",h:"40px",...n,children:[f.jsx(z,{h:"28px",w:"28px",position:"relative",background:r,borderRadius:"full",overflow:"hidden",children:f.jsx(Ne,{position:"absolute",top:-3,h:"65px",w:"65px",children:f.jsx(l1e,{...e})})}),f.jsx(ue,{color:"MagicWhite",fontWeight:"bold",fontSize:"9px",whiteSpace:"nowrap",children:n8(t)})]});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Otr=({message:e,isMyMessage:t,color:r})=>f.jsxs(z,{orient:t?"bottom right":"bottom left",position:"relative",autoH:!0,children:[f.jsx(UMe,{fillColor:r,placement:t?"right":"left",top:"8px"}),f.jsx(z,{auto:!0,ml:t?"0":"6px",mr:t?"6px":"0",bg:r,borderRadius:10,px:"8px",py:"2px",children:f.jsx(ue,{color:"MagicBlack",fontSize:"12px",children:e})})]});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Mtr=()=>{const e=j.useRef(null),t=Gw(),r=Wh(),[n,i]=j.useState(!1),[a,s]=j.useState(!1),[o,l]=j.useState(0),{getPastelPlayerColor:c,getPlayerName:u,getPlayerCosmetic:d,getPlayerDiscordAvatarUrl:h}=UA();return j.useEffect(()=>{if(!e.current)return;const p=t.length,m=p>o;n&&m?s(!0):n||(s(!1),e.current.scrollTop=e.current.scrollHeight),l(p)},[t,n,o]),f.jsxs(Ne,{position:"relative",h:"100%",w:"100%",overflow:"hidden",borderRight:"4px solid",borderColor:"Neutral.EarlGrey",borderRadius:"10px",bg:"Neutral.EarlGrey",p:.5,children:[a&&f.jsx(z,{position:"absolute",bottom:3,orient:"bottom",zIndex:1,autoH:!0,children:f.jsxs(Xe,{onClick:()=>{e.current&&(e.current.scrollTop=e.current.scrollHeight)},size:"sm",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.6)",children:[f.jsx(L,{id:"nhncVG"})," ",f.jsx(WB,{})]})}),f.jsx(z,{ref:e,col:!0,orient:"top",pt:"10px",pb:"5px",pl:"2px",pr:"4px",overflowX:"hidden",overflowY:"auto",gap:"3px",sx:{"&::-webkit-scrollbar":{width:"3px",height:"8px"},"&::-webkit-scrollbar-track":{background:"transparent",my:"4px"},"&::-webkit-scrollbar-thumb":{background:"grey",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.5)"}}},onPointerMove:p=>{p.stopPropagation()},onScroll:p=>{const{scrollHeight:m,clientHeight:g,scrollTop:b}=p.currentTarget,y=m-g-b<=100;i(!y)},children:t.map(p=>f.jsxs(z,{auto:!0,sx:{alignSelf:r===p.playerId?"flex-end":"flex-start",ml:r===p.playerId?"0px":"10px"},children:[f.jsx(z,{order:2,orient:"top",px:"0px",maxW:"180px",children:f.jsx(Otr,{message:p.message,isMyMessage:r===p.playerId,color:c(p.playerId)})}),f.jsx(z,{orient:"top",autoW:!0,sx:{order:r===p.playerId?3:1},children:f.jsx(Itr,{name:u(p.playerId),backgroundColor:$l(d(p.playerId).color).backgroundColor,staticAvatarProps:{avatar:d(p.playerId).avatar,discordAvatarUrl:h(p.playerId)}})})]},`${p.timestamp}-${p.playerId}`))})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ktr=({isChatWidgetOpen:e,inputRef:t})=>{const[r,n]=j.useState(!1),i=X1(),a=Pe(Q7),s=k0(Q7);return j.useEffect(()=>{e&&n(!i)},[e,i]),j.useEffect(()=>{!i&&!a&&e&&n(!0)},[a,i,e]),a?f.jsxs(Ol,{layout:"position",orient:"space-between center",transition:{type:"spring",stiffness:400,damping:35},px:2,gap:1,children:[f.jsx(z,{pb:"5px",children:f.jsx(Tle,{})}),f.jsx(Gr,{size:"sm",h:"24px",w:"24px",minW:"24px",bg:"rgba(255,255,255,0.1)",_hover:{bg:"rgba(255,255,255,0.2)"},borderRadius:"4px",onClick:()=>s(!1),"aria-label":Ee._({id:"qTS1DE"}),children:f.jsx(G0,{as:M6,boxSize:"14px",color:"white"})})]}):f.jsxs(sit,{layout:"position",templateRows:"1fr auto",gap:"2px",overflow:"hidden",h:"100%",transition:{type:"spring",stiffness:400,damping:35},p:2,children:[f.jsxs(z,{col:!0,overflow:"hidden",minH:"0",gap:2,children:[f.jsxs(bt,{templateColumns:"25px 1fr 25px",h:"24px",px:"4px",children:[f.jsx(Ne,{})," ",f.jsx(z,{children:f.jsx(ue,{fontSize:{base:"14px",md:"16px"},fontWeight:"bold",children:f.jsx(L,{id:"AHZflp"})})}),f.jsx(Gr,{size:"sm",h:"24px",w:"24px",minW:"24px",bg:"rgba(255,255,255,0.1)",_hover:{bg:"rgba(255,255,255,0.2)"},borderRadius:"4px",onClick:()=>s(!0),"aria-label":Ee._({id:"DQw8kU"}),children:f.jsx(G0,{as:D6,boxSize:"12px",color:"white"})})]}),f.jsx(Mtr,{})]}),f.jsxs(z,{col:!0,gap:"4px",children:[f.jsx(Tle,{}),f.jsx(Rtr,{isChatWidgetOpen:e,inputRef:t,shouldAutoFocus:r,onAutoFocus:()=>n(!1)})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Dtr=({onClick:e,showPreview:t=!1,...r})=>{var l,c;const n=Pe(_2),{getPastelPlayerColor:i}=UA(),a=Pe(eb),s=(l=n.latestMessage)!=null&&l.playerId?i(n.latestMessage.playerId):void 0,o=t&&n.count>0&&!!n.latestMessage;return f.jsx(Sr,{label:Ee._({id:"gHBOcV"}),zIndex:2,placement:"left",showOnDesktopOnly:!0,children:f.jsxs(Ne,{position:"relative",children:[f.jsx(GMe,{isVisible:o,message:(c=n.latestMessage)==null?void 0:c.message,messageColor:s}),f.jsxs(Xe,{position:"relative",onClick:e,bg:"#9F3761",borderRadius:"8px",borderRightRadius:a?"0px":"8px",borderTop:"1px solid rgba(0,0,0,0.10)",borderBottom:"3px solid rgba(0,0,0,0.4)",borderLeft:"2px solid rgba(0,0,0,0.15)",borderRight:"1px solid rgba(0,0,0,0.15)",w:"40px",...r,sx:{filter:n.count>0?"brightness(1.2)":"none",...r.sx},_active:{borderBottomWidth:"1px",borderBottomColor:"rgba(0,0,0,0.2)",boxShadow:"inset 0 3px 2px rgba(0,0,0,0.2)"},children:[f.jsx(G0,{as:k6,boxSize:"28px",sx:{transform:"scaleX(-1)"}}),n.count>0&&f.jsx(mv,{size:"24px",bg:"Red.Magic",position:"absolute",top:"-9px",left:"-9px",fontSize:"18px",fontWeight:"heavy",textShadow:"0px 2px 0px rgba(0,0,0,0.5)",children:n.count>99?"🤯":n.count})]})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ltr=()=>{const e=Gw(),t=Pe(eb),r=Pe(Q7),n=k0(_2),i=j.useRef(e.length);j.useEffect(()=>{var o;const a=e.length,s=i.current;if(a>s&&(!t||t&&r)){const l=a-s,c=(o=e[a-1])!=null?o:null;n(u=>({count:Math.min(u.count+l,999),latestMessage:c}))}i.current=a},[e,t,n])};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ftr=()=>{var P,O;const e=j.useRef(null),t=j.useRef(null),[r,n]=Ea(eb),[i,a]=j.useState(!1),[s,o]=j.useState(0),[l,c]=j.useState(null),[u,d]=j.useState(0),[h,p]=j.useState(0),m=j.useRef(null),g=j.useRef(!1),b=X1(),y=Gw(),v=Jce(),S=Pe(Q7),x=k0(_2);Ltr();const w=Zm(r?0:300),A=ZUe(w,{damping:80,stiffness:1200,mass:1}),_=QUe`calc(var(--sair) - ${A}px)`;j.useEffect(()=>{w.set(r?0:300)},[r,w]),j.useEffect(()=>{if(b)return;const k=I=>{I.key==="Enter"&&!(I.target instanceof HTMLInputElement||I.target instanceof HTMLTextAreaElement)&&(I.preventDefault(),r?(n(!1),Jt("Button_Modal_Close_01")):n(!0))};return document.addEventListener("keydown",k,!0),()=>{document.removeEventListener("keydown",k,!0)}},[b,r,n]),j.useEffect(()=>{const k=y[y.length-1];!r&&k&&!v.includes(k.playerId)&&Jt("Keyboard_TypeTap_04")},[y,r,v]),j.useEffect(()=>{r&&!S?x({count:0,latestMessage:null}):t.current&&t.current.blur()},[r,S,x]);const C=()=>{if(l!==null)return{y:l};if(s>R)return{y:R};if(s<E)return{y:E}};j.useEffect(()=>{if(l!==null){const k=setTimeout(()=>{c(null)},1e3);return()=>clearTimeout(k)}},[l]),j.useEffect(()=>{g.current||(c(0),g.current=!0)},[]),j.useEffect(()=>{var k,I;d((I=(k=e.current)==null?void 0:k.offsetHeight)!=null?I:0)},[(P=e.current)==null?void 0:P.offsetHeight]),j.useEffect(()=>{var k,I;p((I=(k=m.current)==null?void 0:k.offsetHeight)!=null?I:0)},[(O=m.current)==null?void 0:O.offsetHeight,S]);const E=0,R=Math.max(0,u-h);return f.jsx(Ne,{pointerEvents:"none",style:{touchAction:"none"},h:"100%",top:"0",right:"0",position:"absolute",zIndex:"ChatWidget",ref:e,children:f.jsx(bi,{children:r&&f.jsxs(Cn,{ref:m,position:"fixed",display:"flex",style:{right:_},alignItems:S?"flex-start":"center",flexDirection:"row",p:1,drag:"y",dragConstraints:{top:E,bottom:R},dragElastic:.2,initial:{y:s},animate:C(),onUpdate:k=>{o(typeof k.y=="number"?k.y:0)},exit:{x:300},onDragStart:()=>{a(!0),A.stop()},onDrag:(k,I)=>{const D=(r?0:300)+I.offset.x;r?w.set(Math.max(0,D)):w.set(Math.min(300,D))},onDragEnd:()=>{a(!1);const k=50,I=w.get();!r&&I<300-k?n(!0):r&&I>k?n(!1):w.set(r?0:300)},whileDrag:{scale:1.02,cursor:"grabbing"},pointerEvents:"none",children:[f.jsx(Dtr,{onClick:()=>n(!r),showPreview:!r,sx:{cursor:i?"grabbing !important":void 0,boxShadow:i?"0 2px 12px 0 rgba(0,0,0,0.22)":"none",alignSelf:S?"flex-start":"auto",height:"50px",w:"40px"},pointerEvents:"auto"}),f.jsx(z,{opacity:r||i?1:0,col:!0,w:"300px",bg:"MagicBlack",borderTop:"1px solid rgba(255,255,255,0.1)",borderLeft:"1px solid rgba(255,255,255,0.1)",borderBottom:"4px solid rgba(255,255,255,0.1)",overflow:"hidden",pointerEvents:"auto",onClick:()=>{!b&&t.current&&r&&t.current.focus()},height:S?"auto":"min(64dvh, 540px)",borderLeftRadius:S?"0px":"16px",borderRightRadius:"16px",borderRight:S?"1px solid rgba(255,255,255,0.08)":"none",boxShadow:i?"0 2px 12px 0 rgba(0,0,255,0.22)":"none",cursor:!b&&r?"text":"default",children:f.jsx(ktr,{isChatWidgetOpen:r,inputRef:t})})]})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const $tr=()=>{const e=Pe(Lp),t=j.useRef(null);return e.isOpen?f.jsxs(y6,{variant:"Dialog",isOpen:e.isOpen,autoFocus:!1,lockFocusAcrossFrames:!1,leastDestructiveRef:t,onClose:()=>{var r;(r=e.onDismiss)==null||r.call(e)},children:[f.jsx(vi,{}),f.jsxs(v6,{containerProps:{zIndex:e.zIndex},children:[f.jsx(T1,{}),f.jsx(yv,{textAlign:e.isCentered?"center":void 0,children:e.title}),f.jsx(vv,{textAlign:e.isCentered?"center":void 0,children:e.message}),e.content,(e.cancelText||e.okText)&&f.jsxs(ffe,{justifyContent:e.isCentered?"center":void 0,children:[e.cancelText&&f.jsx(Xe,{w:"100%",ref:t,variant:e.cancelVariant||"solid",background:e.cancelBackground||"Neutral.DarkGrey",color:e.cancelColor||"Neutral.White",onClick:e.onCancel,children:e.cancelText}),e.okText&&f.jsx(Xe,{w:"100%",h:"50px",onClick:e.onConfirm,ml:3,background:e.okButtonColor||void 0,"data-testid":"confirmation-dialog-ok-button",children:e.okText})]})]})]}):null},Btr="/version/436ff68/assets/donuts_purchased-DgBn3bVQ.riv";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ntr=({isShootingDonuts:e,onComplete:t,riveLayoutParameters:r})=>{const{rive:n,RiveComponent:i}=lu({src:Btr,stateMachines:"State Machine 1",layout:new f0.Layout(r!=null?r:{fit:f0.Fit.Cover,alignment:f0.Alignment.Center}),autoplay:!0}),{fireTrigger:a}=_v(n,"State Machine 1");return j.useEffect(()=>{e||a("Shutdown")},[e,a]),j.useEffect(()=>(n&&t&&n.on(f0.EventType.RiveEvent,t),()=>{n==null||n.removeAllRiveEventListeners(f0.EventType.RiveEvent)}),[n]),f.jsx(i,{})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const qtr=({isOpen:e,onClose:t})=>{const r=j.useRef();return j.useEffect(()=>{if(e)return Jt("Bread_PullLever_01"),fi(.4).then(()=>{r.current=Jt("Bread_PoppingLoop_01")}).catch(console.warn),()=>{var n;(n=r.current)==null||n.stopPlaying(),Jt("Bread_DonePopping_01"),zXt()}},[e]),f.jsx(cu,{children:f.jsxs(Pa,{isOpen:e,onClose:t,children:[f.jsx(vi,{zIndex:"DialogOverlay",backgroundColor:"ScrimDarker"}),f.jsxs(z,{position:"absolute",id:"DonutPurchaseSuccessWindow",top:"var(--sait)",height:"calc(var(--app-height) - var(--sait) - var(--saib))",left:"var(--sail)",right:"var(--sair)",zIndex:"DialogOverlay",children:[f.jsx(js,{zIndex:"BreadToasterWindow",flexDirection:"column",textAlign:"center",maxWidth:"100%",justifyContent:"start",height:"100%",width:"100%",children:f.jsx(Ne,{width:"45vh",height:"100vh",position:"relative",marginTop:"-20vh",children:f.jsx(Ntr,{isShootingDonuts:!0,onComplete:()=>{t()},riveLayoutParameters:{fit:bd.Fit.FitWidth,alignment:bd.Alignment.BottomCenter}})})}),f.jsx(C2,{position:"absolute",top:"20px",right:"20px",onClick:t,zIndex:"BreadToasterWindow"})]})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Sle=({price:e,onClick:t})=>{const r=e&&Tt==="discord"&&e.includes(" ")?Tct.formatPrice({amount:parseFloat(e.split(" ")[1])*100,currency:e.split(" ")[0]}):e;return f.jsx(Xe,{onClick:n=>{n.preventDefault(),n.stopPropagation(),t==null||t(n)},borderRadius:"12px",border:"2px solid",borderColor:"MagicWhite",background:"linear-gradient(180deg, #D91A5D 0%, #652E91 100%)",boxShadow:"0px -4px 0px 0px rgba(0, 0, 0, 0.25) inset",color:"MagicWhite",fontWeight:"bold",height:"44px",minW:"80px",px:4,fontSize:"sm",_hover:{background:"linear-gradient(180deg, #C1185A 0%, #5A2985 100%)",transform:"translateY(1px)"},_active:{transform:"translateY(2px)",boxShadow:"0px -2px 0px 0px rgba(0, 0, 0, 0.25) inset"},children:r||f.jsx(L,{id:"zZk9Yz"})})},ztr=({purchasables:e,onPurchase:t,error:r,purchaseError:n,isPurchaseSuccessModalOpen:i,onCloseSuccessModal:a})=>{const{_:s}=Pt();if(r)return f.jsx(z,{col:!0,gap:2,py:4,children:f.jsx(ue,{color:"Red.Magic",children:r})});const o=e.find(c=>c.amount===1e4),l=e.filter(c=>c.amount!==1e4);return f.jsxs(z,{col:!0,gap:4,children:[n&&f.jsx(ue,{color:"Red.Magic",fontSize:"sm",textAlign:"center",children:n}),f.jsx(Lhe,{columns:2,spacing:3,width:"100%",children:l.map(c=>f.jsx(z,{orient:"left",children:f.jsxs(Ne,{position:"relative",width:"154px",height:"119px",backgroundImage:`url(${c.image})`,backgroundSize:"cover","aria-label":s({id:"trQx16",values:{0:c.amount}}),onClick:()=>t(c.amount),children:[f.jsxs(Ne,{position:"absolute",top:"10px",right:"10px",textAlign:"right",children:[f.jsx(ue,{fontFamily:"shrikhand",color:"MagicWhite",fontSize:"md",textShadow:"0px 3px 0px rgba(0, 0, 0, 0.25)",lineHeight:"100%",children:c.amount}),f.jsx(ue,{fontFamily:"shrikhand",color:"MagicWhite",lineHeight:"100%",textShadow:"0px 3px 0px rgba(0, 0, 0, 0.25)",children:"Donuts"})]}),f.jsx(Ne,{position:"absolute",bottom:"10px",right:"10px",children:f.jsx(Sle,{price:c.price,onClick:()=>t(c.amount)})})]})},c.amount))}),o&&f.jsxs(Ne,{position:"relative",borderRadius:"16px",overflow:"hidden",width:"100%","aria-label":s({id:"ne+Ieg"}),role:"button",tabIndex:0,onClick:()=>t(o.amount),children:[f.jsx(p0,{src:o.image,alt:"10,000 Donuts Sweet Deal",width:"100%",height:"auto",borderRadius:"16px"}),f.jsxs(Ne,{position:"absolute",top:"15px",right:"20px",textAlign:"right",children:[f.jsx(ue,{fontFamily:"shrikhand",textShadow:"0px 4px 0px rgba(0, 0, 0, 0.25)",color:"MagicWhite",fontSize:"28px",lineHeight:"90%",children:"10,000"}),f.jsx(ue,{fontFamily:"shrikhand",color:"MagicWhite",fontSize:"md",lineHeight:"100%",textShadow:"0px 3px 0px rgba(0, 0, 0, 0.25)",children:"Donuts"})]}),f.jsx(Ne,{position:"absolute",bottom:"10px",right:"10px",children:f.jsx(Sle,{price:o.price,onClick:()=>t(o.amount)})})]}),f.jsx(qtr,{isOpen:i,onClose:a})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Wtr=({hasNoPurchasables:e=!0})=>{const t=["discord","webview"].includes(Tt)&&e,r=j.useMemo(()=>t?f.jsx(L,{id:"oh4/Us"}):["discord","web"].includes(Tt)&&Am?f.jsx(L,{id:"ZdBRVB"}):Tt==="webview"?f.jsx(L,{id:"uX8D2A"}):f.jsx(L,{id:"HfNtsD"}),[Tt]);return f.jsxs(z,{col:!0,gap:3,children:[!t&&f.jsx(hf,{showOpenInDiscordButton:xo,showSignInWithDiscordButton:xo,showSignInAndOutButton:Tt==="webview"}),f.jsx(ue,{fontSize:"sm",textAlign:"center",maxW:"300px",fontWeight:"bold",color:"MagicWhite",children:r})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function xle(e){const t=e.name.match(/^([\d,]+) donuts$/i);if(t!=null&&t[1])return parseInt(t[1].replace(/,/g,""),10);throw new Error(`Could not parse credit quantity for SKU ${e.id}: ${e.name}. Expected format: "X Donuts"`)}function Zj(e){return`donuts.${e}`}const Htr="/version/436ff68/assets/Donut_10K-DW4OldpE.png",Utr="/version/436ff68/assets/Donut_1700-DPK3CPM6.png",Gtr="/version/436ff68/assets/Donut_400-DMykIx81.png",Vtr="/version/436ff68/assets/Donut_4500-B-l6vIA3.png",Ytr="/version/436ff68/assets/Donut_800-DJpTfrHa.png";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const AF=[{amount:400,image:Gtr},{amount:800,image:Ytr},{amount:1700,image:Utr},{amount:4500,image:Vtr},{amount:1e4,image:Htr}];globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Ktr(){const[e,t]=j.useState(!0),[r,n]=j.useState(null),[i,a]=j.useState(null),[s,o]=j.useState(!1),[l,c]=j.useState([]),u=I1(),{mutateCreditsBalance:d}=h1(),h=j.useRef(!1);j.useEffect(()=>{var x;if(h.current)return;h.current=!0;const y=(x=window.webkit)==null?void 0:x.messageHandlers;if(!y){n("iOS IAP bridge not available"),t(!1);return}const v=()=>{var A;const w=AF.map(({amount:_})=>Zj(_));(A=y.iap)==null||A.postMessage({action:"getProducts",productIds:w})};(()=>{var w;(w=y.checkForUnfinishedTransactions)==null||w.postMessage({})})(),v()},[]);const p=j.useCallback(async y=>{var w,A;const{transactionId:v,productId:S,storeEnvironment:x}=y;o(!0),a(null);try{const[_]=await Promise.all([ra("/me/credits/consume-apple-transaction",{productId:S,transactionId:v,storeEnvironment:x}),fi(3)]);if(!_.success)throw new Error("Failed to process transaction");(A=(w=window.webkit)==null?void 0:w.messageHandlers)!=null&&A.iap&&window.webkit.messageHandlers.iap.postMessage({action:"finishTransaction",transactionId:v}),await d(),o(!1),u.close()}catch(_){o(!1),a(`Failed to process purchase: ${_}. Your purchase is safe and will be retried.`)}},[u,d]);j.useEffect(()=>{const y=v=>{switch(v.detail.type){case"products":{c(v.detail.products),t(!1);break}case"purchaseSuccess":{Qn.capture("UI_ApplePurchase_Success",v.detail),p(v.detail).catch(console.error);break}case"purchaseCancelled":{Qn.capture("UI_ApplePurchase_Cancelled");break}case"purchaseError":{Qn.capture("UI_ApplePurchase_Error",{error:v.detail.error}),a(v.detail.error);break}}};return window.addEventListener("magiccircle:iap",y),()=>{window.removeEventListener("magiccircle:iap",y)}},[]);const m=AF.flatMap(y=>{const v=l.find(S=>S.id===Zj(y.amount));return v?[{...y,price:v.displayPrice}]:[]}),g=j.useCallback(y=>{var v,S;if(a(null),(S=(v=window.webkit)==null?void 0:v.messageHandlers)!=null&&S.iap){const x=Zj(y);Qn.capture("UI_ApplePurchase_Initiated",{productId:x}),window.webkit.messageHandlers.iap.postMessage({action:"purchase",productId:x})}},[]);return{purchasables:m,loading:e,error:r,purchaseError:i,isPurchaseSuccessModalOpen:s,explicitlyShowPlatformGuidance:!1,handlePurchase:g,handleCloseSuccessModal:()=>{o(!1)}}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Xtr(){const[e,t]=j.useState(!0),[r,n]=j.useState(null),[i,a]=j.useState([]),[s,o]=j.useState(null),[l,c]=j.useState(!1),[u,d]=j.useState(!1),h=I1(),p=AF.flatMap(v=>{var w;const S=i.find(A=>{try{return xle(A)===v.amount}catch(_){return!1}});if(!((w=S==null?void 0:S.price)!=null&&w.currency))return[];const x=`${S.price.currency} ${(S.price.amount/100).toFixed(2)}`;return[{...v,price:x}]}),{mutateCreditsBalance:m}=h1(),{_:g}=Pt(),b=()=>{d(!1)},y=j.useCallback(v=>{o(null),(async()=>{try{const S=ft().get(gd);if(!S)throw new Error("Discord SDK not initialized");const x=i.find(_=>{try{return xle(_)===v}catch(C){return!1}});if(!x)throw new Error("SKU not found");const w=await S.commands.startPurchase({sku_id:x.id});if(!w){o(g({id:"7jWbx1"}));return}const A=()=>{const _=w[0];Promise.all([ra("/me/credits/consume-entitlement",{entitlementId:_.id}),fi(3)]).then(()=>{m().then(()=>{d(!1),h.close()}).catch(C=>{o(g({id:"Ep8YqE",values:{err:C}})),d(!1)})}).catch(C=>{o(g({id:"Ep8YqE",values:{err:C}})),d(!1)}),d(!0)};if(document.hasFocus())A();else{const _=()=>{window.removeEventListener("focus",_),A()};window.addEventListener("focus",_),setTimeout(()=>{window.removeEventListener("focus",_)},6e4)}}catch(S){if(Jc.isObject(S)&&"code"in S&&S.code===5008)return;if(Jc.isObject(S)&&"code"in S&&S.code===4002){c(!0);return}o(g({id:"or0+zI",values:{0:JSON.stringify(S)}})),console.error("Failed to start purchase:",S)}})()},[h,i,m]);return j.useEffect(()=>{if(Tt!=="discord"){c(!0);return}(async()=>{try{const S=ft().get(gd);if(!S)throw new Error("Discord SDK not initialized");const x=await S.commands.getSkus();a(x.skus||[])}catch(S){console.error("Failed to fetch SKUs:",S),n(g({id:"HtH3pK"}))}finally{t(!1)}})().catch(console.error)},[]),{purchasables:p,loading:e,error:r,purchaseError:s,isPurchaseSuccessModalOpen:u,explicitlyShowPlatformGuidance:l,handlePurchase:y,handleCloseSuccessModal:b}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Qtr(){return{purchasables:[],loading:!1,error:null,purchaseError:null,isPurchaseSuccessModalOpen:!1,explicitlyShowPlatformGuidance:!1,handleCloseSuccessModal:()=>{},handlePurchase:()=>{}}}function Jtr(){const e=Xtr(),t=Ktr(),r=Qtr();return Tt==="discord"?e:Tt==="webview"?t:r}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Ztr=()=>{const e=fn(),{purchasables:t,loading:r,error:n,purchaseError:i,isPurchaseSuccessModalOpen:a,explicitlyShowPlatformGuidance:s,handlePurchase:o,handleCloseSuccessModal:l}=Jtr();if(r)return f.jsx(z,{col:!0,gap:4,py:4,children:f.jsx(v1,{color:"Purple.Light"})});const c=t.length===0;return!e||s||c?f.jsx(Wtr,{hasNoPurchasables:c}):f.jsx(ztr,{purchasables:t,onPurchase:o,error:n,purchaseError:i,isPurchaseSuccessModalOpen:a,onCloseSuccessModal:l})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const err=()=>f.jsx(ue,{fontSize:"sm",textAlign:"center",color:"MagicWhite",lineHeight:"1.4",fontWeight:"500",pb:2,children:f.jsx(L,{id:"CCR4a1"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const trr=()=>f.jsxs(z,{orient:"left",gap:1,children:[f.jsx(Ne,{height:"48px",width:"48px",children:f.jsx(p0,{src:YV,alt:"Donuts",boxSize:"45px"})}),f.jsx(ue,{fontSize:"xl",fontWeight:"bold",background:"linear-gradient(180deg, #FFE296 23.12%, #DE1F87 72.14%)",backgroundClip:"text",fontFamily:"shrikhand",children:f.jsx(L,{id:"v6PnEw"})})]});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const rrr=({isOpen:e,onClose:t,children:r,size:n="lg",maxW:i="380px",backgroundImage:a})=>f.jsxs(Pa,{isOpen:e,onClose:t,lockFocusAcrossFrames:!1,size:n,variant:"CreditsPurchaseModal",children:[f.jsx(vi,{bg:"ScrimDarkest"}),f.jsx(uu,{bg:"transparent",boxShadow:"none",maxW:i,border:"none",children:f.jsx(Ne,{background:"linear-gradient(45deg, #FFE296, #DE1F87)",borderRadius:"24px",p:"3px",children:f.jsxs(Ne,{position:"relative",width:"100%",background:"linear-gradient(135deg, #2D1B69 0%, #1A1B23 100%)",borderRadius:"21px",overflow:"hidden",p:3,children:[f.jsx(T1,{size:"lg",zIndex:10}),a&&f.jsx(Ne,{position:"absolute",top:"-80px",right:"-90px",pointerEvents:"none",children:f.jsx("img",{src:a,alt:"Background character"})}),f.jsx(Ne,{position:"relative",zIndex:1,width:"100%",children:r})]})})})]}),nrr="/version/436ff68/assets/WizardPandaTrimmed-CuFxxsVt.png";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const irr=()=>{const{isOpen:e,close:t}=I1();return e?f.jsx(rrr,{isOpen:e,onClose:t,backgroundImage:nrr,children:f.jsxs(z,{col:!0,gap:2,children:[f.jsx(trr,{}),f.jsx(err,{}),f.jsx(Ztr,{})]})}):null};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Bb=(e,t)=>Math.random()*(t-e)+e,arr=(e,t)=>{const r=100/t,n=e%2?`${Bb(xo?70:60,90)}%`:`${Bb(5,xo?15:30)}%`,i=`${Bb(e*r,Math.min(e*r+r,90))}%`,a=Bb(-30,30),s=Bb(1,2);return{top:n,left:i,rotation:a,scale:s}},wle=({count:e,breadState:t})=>{const r=zF(),n=xo?r:.5,i=j.useMemo(()=>Array.from({length:e},(a,s)=>s===4?null:arr(s,e)),[e]);return f.jsx(bi,{children:i.map((a,s)=>a?f.jsx(Cn,{w:"100px",h:"100px",top:a.top,left:a.left,position:"absolute",transform:`rotate(${a.rotation}deg) scale(${a.scale*n})`,transformOrigin:"top left",zIndex:-1,initial:{opacity:0},animate:{opacity:.5},exit:{opacity:0},transition:{delay:1+Math.random()*1,duration:1.5},children:f.jsx(Q1,{children:f.jsx(YMe,{currencyState:t})})},s):null)})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const srr=()=>{const e=zF(),t=aFe(),{totalAmountUnclaimed:r,mutateTotalAmountUnclaimed:n}=Bce(mF),[i,a]=j.useState(!1),[s,o]=j.useState(Qu.Idle),l=j.useRef(0),{user:c,mutateUser:u}=Uh(),d=j.useRef(void 0),{sendToast:h}=Xh(),{_:p}=Pt(),m=j.useCallback(async()=>{var b;if(!i)try{Jt("Bread_PullLever_01"),fi(.5).then(()=>{Jt("Bread_PoppingLoop_01")}).catch(console.warn),a(!0),o(Qu.Amazed);const[y]=await Promise.all([sFe(mF),fi(2)]);l.current=y.newBalance,o(Qu.Outro),(b=d.current)==null||b.stopPlaying(),fi(.4).then(()=>{Jt("Bread_DonePopping_01")}).catch(console.warn)}catch(y){t(!1),h({title:p({id:"cdi2wo"}),description:y instanceof Error?y.message:p({id:"29VNqC"}),status:"error"})}},[n,u,c]),g=()=>{KV(),n(0).catch(console.error),c&&u({...c,currencyBalance:l.current}).catch(console.error),t(!1)};return j.useEffect(()=>(d.current=Jt("Bread_SparkleLoop_01",{loop:!0}),()=>{var b;(b=d.current)==null||b.stopPlaying()}),[]),xo?f.jsxs(z,{id:"BreadToasterWindow",position:"absolute",top:"0",zIndex:"BreadToasterWindow",backgroundColor:"rgba(0, 0, 0, 0.80)",children:[f.jsx(wle,{count:8,breadState:s}),f.jsxs(z,{position:"absolute",top:"50%",left:"50%",transform:`translate(-50%, -50%) scale(${e})`,transformOrigin:"center",children:[f.jsxs(z,{col:!0,width:"auto",pt:"40px",children:[f.jsxs(z,{h:"auto",mb:"-50px",children:[f.jsx(ue,{fontSize:"80px",whiteSpace:"nowrap",children:f.jsx(L,{id:"kKL4ph"})}),f.jsx(ue,{pl:5,fontSize:"100px",fontWeight:"bold",color:"Yellow.Pastel",children:r})]}),f.jsx(ue,{fontFamily:"textSlap",fontStyle:"italic",fontSize:"96px",fontWeight:"bold",children:f.jsx(L,{id:"f6mPs9"})}),f.jsx(ue,{visibility:i?"hidden":"visible",fontSize:"35px",whiteSpace:"nowrap",children:f.jsx(L,{id:"LwQTC/"})})]}),f.jsxs(Ne,{minW:"500px",h:"800px",mb:"250px",position:"relative",children:[f.jsx(Ne,{id:"ToasterHitbox",bottom:"16%",left:"26%",position:"absolute",cursor:i?"default":"pointer",w:"250px",h:"250px",onClick:m}),f.jsx(_F,{isShootingBread:s===Qu.Amazed,onComplete:g})]})]})]}):f.jsxs(z,{id:"BreadToasterWindow",col:!0,position:"absolute",top:"0",zIndex:"BreadToasterWindow",backgroundColor:"rgba(0, 0, 0, 0.80)",children:[f.jsx(wle,{count:8,breadState:s}),f.jsx(ue,{fontSize:"40px",whiteSpace:"nowrap",lineHeight:0,children:f.jsx(L,{id:"kKL4ph"})}),f.jsx(ue,{pl:5,fontSize:"100px",fontWeight:"bold",color:"Yellow.Pastel",children:r}),f.jsx(ue,{fontFamily:"textSlap",fontStyle:"italic",fontSize:"60px",fontWeight:"bold",lineHeight:"30px",children:f.jsx(L,{id:"f6mPs9"})}),f.jsx(Ne,{mt:"-130px",w:"300px",h:"300px",onClick:m,children:f.jsx(Q1,{children:f.jsx(_F,{isShootingBread:s===Qu.Amazed,onComplete:g})})}),f.jsx(ue,{visibility:i?"hidden":"visible",fontSize:"25px",children:f.jsx(L,{id:"LwQTC/"})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const orr=({playerOrId:e,size:t,avatarOverride:r,isNameBackgroundFilled:n=!1,nameOverride:i,...a})=>{const s=Hw(e);if(!s)return null;const{backgroundColor:o,textColor:l}=$l(s.cosmetic.color);return f.jsxs(z,{col:!0,w:"auto",h:"auto",position:"relative",children:[f.jsx(Qh,{playerOrId:s,size:t,avatarOverride:r,...a}),f.jsx(z,{w:"auto",h:"29.5px",bg:n?o:"transparent",borderRadius:"15px",px:4,children:f.jsx(Nn,{strokeWidth:4,strokeColor:o,textAlign:"center",color:l,fontSize:t,fontWeight:"bold",transform:"translateY(5%)",children:i||n8(s.name)})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const lrr=({player:e})=>{const{backgroundColor:t}=$l(e.cosmetic.color),{refCount:r}=Cce((e==null?void 0:e.id)||""),n=_ce(e==null?void 0:e.id),[i,a]=j.useState(),s=r>0,o=e.emoteData.emoteType!==_m.Idle,l=Fl(),c=j.useRef(null),d=(n||o)&&!s,h={hidden:{x:-250,opacity:0,transition:{delay:1}},visible:{x:0,opacity:1,transition:{type:"spring",duration:.7,bounce:.3,ease:[.68,-.55,.27,1.55]}}};return j.useEffect(()=>{a(d?"visible":"hidden")},[d]),f.jsxs(zme,{variants:h,initial:"hidden",animate:i,position:"relative",overflow:"visible",minH:"100%",flexDir:"column",align:"flex-start",justify:"flex-end",onAnimationStart:()=>{c.current&&c.current.play()},onAnimationComplete:()=>{c.current&&!d&&c.current.pause()},children:[f.jsx(Ne,{ml:"-30px",children:f.jsx(orr,{playerOrId:e,size:"md",doNotIncrementRefCount:!0,isNameBackgroundFilled:!0,forceNonStaticAvatar:!0,onRiveReady:p=>{c.current=p}})}),f.jsx(Ne,{bg:t,position:"relative",bottom:"29.5px",minHeight:"29.5px",left:l==="Kiwi"?"-48px":"-60px",width:l==="Kiwi"?{base:"55px",sm:"55px",md:"55px",lg:"55px"}:{base:"70px",sm:"70px",md:"70px",lg:"70px"},zIndex:"-1"})]},e.id)};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const crr=({players:e})=>f.jsx(f.Fragment,{children:e.map(t=>f.jsx(lrr,{player:t},t.id))});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const urr=()=>{const e=kce(),t=150,r=j.useMemo(()=>{const n=[];return e.forEach(i=>{n.push(i)}),n},[e]);return f.jsx(bt,{id:"peekingPlayers",templateRows:`repeat(${r.length}, minmax(auto, ${t}px))`,mt:"15%",mb:"6%",h:"79%",px:"15px",position:"absolute",children:f.jsx(crr,{players:r})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const drr=()=>{const e=Fl();return f.jsx(z,{id:"EmoteWindow",position:"absolute",pointerEvents:"none",zIndex:"EmoteWindow",left:"35px",children:e!=="Kiwi"&&f.jsx(urr,{})})},prr="/version/436ff68/assets/mc_countdown_01-B08nWeYo.riv";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const hrr=()=>{j.useEffect(()=>{XN(),Jt("CountdownTimer_01")},[]);const{RiveComponent:e}=lu({src:prr,layout:new f0.Layout({fit:f0.Fit.Cover}),autoplay:!0});return f.jsx(e,{})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const frr=()=>{const e=oFe(s=>s.isGameStarting),[t,r]=j.useState(!1),[n,i]=j.useState(!1),a=2;return j.useEffect(()=>{(async()=>{e?(i(!0),await fi(a),r(!0)):(r(!1),i(!1))})().catch(console.error)},[e]),f.jsx(bi,{children:n&&f.jsx(Cn,{id:"game-starting-countdown-container",position:"absolute",top:"calc(-1 * var(--sait))",left:"calc(-1 * var(--sail))",width:"calc(100% + var(--sail) + var(--sair))",height:"calc(100% + var(--sait) + var(--saib))",zIndex:"GameStartingCountdown",initial:{opacity:0},animate:{opacity:1,backgroundColor:"rgba(0, 0, 0, 0.7)"},exit:{opacity:0},transition:{duration:e?1.9:1,ease:[.001,.001,.9,1]},children:t&&f.jsx(hrr,{})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const eR=500,mrr=100,grr=({player:e,onClose:t})=>{const r=[{value:"language",label:Ee._({id:"xOPFWa"})},{value:"harassment",label:Ee._({id:"B/Ay51"})},{value:"cheating",label:Ee._({id:"QOerZN"})},{value:"username",label:Ee._({id:"BHk8yi"})},{value:"spamming",label:Ee._({id:"5iS9YA"})},{value:"other",label:Ee._({id:"/IX/7x"})}],n=Wh(),[i,a]=j.useState(""),[s,o]=j.useState(""),l=Zce(),{sendToast:c}=Xh(),u=!!e,d=(e==null?void 0:e.id)||"",h=(e==null?void 0:e.name)||"Player",p=()=>{Qn.capture("UI_ReportPlayerConduct",{reporterId:n,offenderId:d,reason:i,comment:s}),c({title:Ee._({id:"6H99LC",values:{name:h}}),description:Ee._({id:"OAnOOe"})}),t(),l()};return f.jsxs(Pa,{variant:"ReportPlayerFormModal",isOpen:u,onClose:t,closeOnOverlayClick:!0,lockFocusAcrossFrames:!1,trapFocus:!1,blockScrollOnMount:!1,children:[f.jsx(vi,{}),f.jsx(uu,{children:f.jsx(z,{children:f.jsxs(z,{col:!0,autoH:!0,position:"relative",bg:"Neutral.White",borderRadius:"10px",p:"10px",pb:"30px",gap:"20px",children:[f.jsx(Gr,{position:"absolute",top:"10px",right:"0","aria-label":Ee._({id:"t/YqKh"}),icon:f.jsx(du,{}),variant:"ghost",color:"MagicBlack",onClick:t}),f.jsx(_n,{mb:"20px",color:"MagicBlack",children:f.jsx(L,{id:"PmW73B",values:{name:h}})}),f.jsx(Qh,{playerOrId:d,size:"sm",shouldRenderStaticAvatar:!0}),f.jsxs(z,{col:!0,orient:"left",color:"MagicBlack",children:[f.jsxs(z,{autoH:!0,orient:"left",children:[f.jsx(ue,{size:"md",fontWeight:"bold",pl:"5px",children:f.jsx(L,{id:"VJScHU"})}),f.jsx(ue,{size:"md",fontWeight:"bold",pl:"5px",color:"Red.Magic",children:"*"})]}),f.jsx(bS,{placeholder:"Select",value:i,onChange:m=>{a(m.currentTarget.value)},borderRadius:10,children:r.map(({label:m,value:g})=>f.jsx("option",{value:g,children:m},g))}),f.jsx(ue,{size:"md",fontWeight:"bold",pl:"5px",mt:"20px",children:f.jsx(L,{id:"NBdIgR"})}),f.jsx(xB,{bg:"MagicWhite",border:"1px solid black",fontSize:"md",fontWeight:"normal",maxLength:eR,value:s,onChange:m=>o(m.target.value)}),f.jsx(z,{autoH:!0,orient:"right",children:f.jsxs(ue,{color:s.length<eR-mrr?"MagicBlack":"Red.Magic",children:[s.length,"/",eR]})})]}),f.jsx(Xe,{isDisabled:i==="",onClick:p,children:f.jsx(L,{id:"hQRttt"})})]})})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const brr=({from:e,to:t,isAnimating:r,duration:n=2,...i})=>{const a=Zm(e),s=_pe(a,o=>Math.round(o));return j.useEffect(()=>{r&&ph(a,t,{duration:n,ease:"easeInOut"})},[r]),f.jsx(ait,{...i,children:s})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const JMe={md:{contentSize:100,hitboxSize:55}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const yrr=Io`
from { background-position: 0px 0px; }
to { background-position: -200px -200px; }
`,ZMe=`${yrr} 60s linear 0s infinite`;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const vrr=JMe.md.hitboxSize+"px",_le=JMe.md.contentSize+"px",eke=({playerOrId:e,color:t,caption:r,leftNumber:n,rightNumber:i,children:a,isConnected:s=!0,isGrayBackground:o=!1,showConnectionStatusIndicator:l=!1,avatarAnimation:c,textSize:u="lg",...d})=>{const h=Hw(e);if(!h)return null;let{background:p,textColor:m}=NF(h);return t&&(p=t,m=p1(t)),f.jsxs(Bpe,{className:"PlayerCard",position:"relative",width:"100%",height:"70px",minHeight:"70px",background:p||"Neutral.White",animation:ZMe,...d,children:[f.jsx(Cn,{position:"absolute",top:0,left:0,width:"100%",height:"100%",filter:"grayscale(100%)",background:p||"Neutral.White",borderRadius:"10px",initial:{opacity:o?1:0},animate:{opacity:o?1:0}}),f.jsxs(fv,{width:"100%",height:"100%",templateColumns:"auto auto 1fr auto",px:"15px",gap:"16px",children:[f.jsx(Ne,{children:n!==void 0&&f.jsx(z,{w:"32px",children:f.jsx(ue,{color:m,fontSize:"lg",fontWeight:"bold",textAlign:"center",isTruncated:!0,maxWidth:"100%",children:n})})}),f.jsx(z,{width:vrr,mx:"4px",children:f.jsx(z,{position:"absolute",bottom:"0",w:_le,h:_le,overflow:"hidden",children:f.jsx(Ne,{transform:"translateY(26px)",filter:s?void 0:"grayscale(100%)",children:f.jsx(Qh,{playerOrId:h,size:"md",animation:c,doNotIncrementRefCount:!1})})})}),f.jsxs(z,{col:!0,orient:"left",overflow:"hidden",children:[f.jsxs(z,{orient:"left",children:[f.jsx(ue,{zIndex:"1",color:m,fontSize:u,fontWeight:"bold",isTruncated:!0,children:h.name}),l&&f.jsx(mv,{ml:"6px",mt:u==="lg"?"10px":"4px",size:u==="lg"?"24px":"16px",bg:s?"Green.Lime":"Neutral.DarkGrey"})]}),r&&f.jsx(z,{justify:"flex-start",mt:"-20px",children:f.jsx(ue,{color:m,variant:"subHeader",children:r})})]}),f.jsxs(z,{w:"auto",children:[typeof i=="number"&&f.jsx(ue,{color:m,fontSize:"lg",fontWeight:"bold",textAlign:"center",minWidth:"40px",fontFamily:"textSlap",children:i}),typeof i=="object"&&f.jsx(brr,{color:m,fontSize:"lg",fontWeight:"bold",textAlign:"center",minWidth:"40px",fontFamily:"textSlap",...i}),a&&a]})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Trr=()=>{const e=lFe(),t=eue().slice(1),r=Jce(),n=Zce(),i=cFe(),[a,s]=j.useState(null),o=()=>{n()},l=()=>{s(null)},c=u=>{s(u)};return f.jsxs(f.Fragment,{children:[f.jsx(grr,{player:a,onClose:l}),f.jsxs(Pa,{variant:"ReportPlayerModal",isOpen:e,onClose:o,closeOnOverlayClick:!0,lockFocusAcrossFrames:!1,trapFocus:!1,blockScrollOnMount:!1,children:[f.jsx(vi,{}),f.jsx(uu,{children:f.jsx(z,{children:f.jsxs(z,{col:!0,autoH:!0,position:"relative",bg:"Neutral.White",borderRadius:"10px",p:"10px",pb:"30px",gap:"20px",children:[f.jsx(Gr,{position:"absolute",top:"10px",right:"0","aria-label":Ee._({id:"t/YqKh"}),icon:f.jsx(du,{}),variant:"ghost",color:"MagicBlack",onClick:o}),f.jsx(_n,{mb:"20px",color:"MagicBlack",children:f.jsx(L,{id:"SagIr4"})}),t.length===0&&f.jsx(ue,{color:"MagicBlack",children:f.jsx(L,{id:"m6mwR5"})}),t.map(u=>f.jsx(eke,{playerOrId:u,isGrayBackground:r.includes(u.id),children:f.jsxs(z,{gap:"5px",children:[f.jsx(Xe,{size:"sm",onClick:()=>i(u.id),children:r.includes(u.id)?Ee._({id:"T3tT4Z"}):Ee._({id:"JXVFAm"})}),f.jsx(Xe,{variant:"red",size:"sm",onClick:()=>c(u),children:f.jsx(L,{id:"gjpdaf"})})]})},u.id))]})})})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Srr=()=>{const e=uFe();return f.jsx(z,{id:"slapper-container",position:"absolute",pointerEvents:"none",overflow:"hidden",zIndex:"Slapper",children:f.jsx(zme,{id:"slapper",w:"100%",h:"100%",justifyContent:"center",alignItems:"center",initial:{opacity:0,scale:4},children:e})})},xrr="/version/436ff68/assets/streakflame-Bo6pdVDz.riv";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const wrr=1,_rr=()=>{const e=j.useRef(),t=j.useRef(),r=Pe(NA),n=Pe(kv),{streakState:i}=rv(),[a,s]=Ea(JV),{_:o}=Pt();j.useEffect(()=>{i&&!e.current&&(e.current=i)},[i]);const{rive:l,RiveComponent:c}=lu({src:xrr,stateMachines:"State Machine 1",layout:new f0.Layout({fit:bd.Fit.Cover,alignment:bd.Alignment.Center}),autoplay:!0,onStateChange:u=>{Array.isArray(u.data)&&u.data.length>0&&u.data[0]==="exit"&&s(!1)}});return j.useEffect(()=>()=>{t.current&&clearTimeout(t.current),l&&l.stop()},[]),j.useEffect(()=>{const u=e.current;!i||!u||!(u.status!=="active"&&i.status==="active"&&r&&n)||(e.current=i,clearTimeout(t.current),t.current=setTimeout(()=>{Jt("streak_continues"),s(!0)},wrr*1e3))},[i,e,r,n,s]),j.useEffect(()=>{if(!l||!i||!a)return;const u=i.streakCount.toString().padStart(2,"0");l.setTextRunValue("Text_Digits_Run_Tens",u[0]),l.setTextRunValue("Text_Digits_Run_Ones",u[1]),l.setTextRunValue("Text_Title_Run",o({id:"JqtBAd"}))},[l,a,i]),f.jsx(cu,{children:f.jsxs(Pa,{isOpen:a,onClose:()=>{},children:[f.jsx(vi,{}),f.jsx(z,{id:"StreakIncreasedAnimation",position:"fixed",top:"0",left:"0",right:"0",bottom:"0",zIndex:"DialogOverlay",children:f.jsx(Q1,{children:f.jsx(c,{})})})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const tke=e=>{const t=wct();return f.jsx(Xe,{onClick:()=>{const r=`${window.location.origin}/r/${Fd()}`,n=new URL("https://config.magiccircle.dev");n.searchParams.set("u",r),Qr?Al(n.toString()).catch(console.error):window.open(n)},size:"xs",textTransform:"none",backgroundColor:t.isPaused?"Red.Magic":"Neutral.DarkGrey",minW:"100px",h:"36px",gap:.5,...e,children:f.jsxs(z,{col:!0,gap:0,children:[f.jsx(ue,{fontWeight:"bold",fontSize:"14px",fontFamily:"monospace",children:Vw}),t.isPaused&&f.jsxs(z,{gap:.5,children:[f.jsx(G0,{as:eN,fill:"white",boxSize:3}),f.jsx(ue,{fontWeight:"extrabold",fontSize:"2xs",children:"Paused"})]})]})})};var Arr=Object.defineProperty,Fw=Object.getOwnPropertySymbols,rke=Object.prototype.hasOwnProperty,nke=Object.prototype.propertyIsEnumerable,Ale=(e,t,r)=>t in e?Arr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Crr=(e,t)=>{for(var r in t||(t={}))rke.call(t,r)&&Ale(e,r,t[r]);if(Fw)for(var r of Fw(t))nke.call(t,r)&&Ale(e,r,t[r]);return e},Err=(e,t)=>{var r={};for(var n in e)rke.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Fw)for(var n of Fw(e))t.indexOf(n)<0&&nke.call(e,n)&&(r[n]=e[n]);return r};/**
* @license QR Code generator library (TypeScript)
* Copyright (c) Project Nayuki.
* SPDX-License-Identifier: MIT
*/var qh;(e=>{const t=class{constructor(l,c,u,d){if(this.version=l,this.errorCorrectionLevel=c,this.modules=[],this.isFunction=[],l<t.MIN_VERSION||l>t.MAX_VERSION)throw new RangeError("Version value out of range");if(d<-1||d>7)throw new RangeError("Mask value out of range");this.size=l*4+17;let h=[];for(let m=0;m<this.size;m++)h.push(!1);for(let m=0;m<this.size;m++)this.modules.push(h.slice()),this.isFunction.push(h.slice());this.drawFunctionPatterns();const p=this.addEccAndInterleave(u);if(this.drawCodewords(p),d==-1){let m=1e9;for(let g=0;g<8;g++){this.applyMask(g),this.drawFormatBits(g);const b=this.getPenaltyScore();b<m&&(d=g,m=b),this.applyMask(g)}}a(0<=d&&d<=7),this.mask=d,this.applyMask(d),this.drawFormatBits(d),this.isFunction=[]}static encodeText(l,c){const u=e.QrSegment.makeSegments(l);return t.encodeSegments(u,c)}static encodeBinary(l,c){const u=e.QrSegment.makeBytes(l);return t.encodeSegments([u],c)}static encodeSegments(l,c,u=1,d=40,h=-1,p=!0){if(!(t.MIN_VERSION<=u&&u<=d&&d<=t.MAX_VERSION)||h<-1||h>7)throw new RangeError("Invalid value");let m,g;for(m=u;;m++){const S=t.getNumDataCodewords(m,c)*8,x=o.getTotalBits(l,m);if(x<=S){g=x;break}if(m>=d)throw new RangeError("Data too long")}for(const S of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])p&&g<=t.getNumDataCodewords(m,S)*8&&(c=S);let b=[];for(const S of l){n(S.mode.modeBits,4,b),n(S.numChars,S.mode.numCharCountBits(m),b);for(const x of S.getData())b.push(x)}a(b.length==g);const y=t.getNumDataCodewords(m,c)*8;a(b.length<=y),n(0,Math.min(4,y-b.length),b),n(0,(8-b.length%8)%8,b),a(b.length%8==0);for(let S=236;b.length<y;S^=253)n(S,8,b);let v=[];for(;v.length*8<b.length;)v.push(0);return b.forEach((S,x)=>v[x>>>3]|=S<<7-(x&7)),new t(m,c,v,h)}getModule(l,c){return 0<=l&&l<this.size&&0<=c&&c<this.size&&this.modules[c][l]}getModules(){return this.modules}drawFunctionPatterns(){for(let u=0;u<this.size;u++)this.setFunctionModule(6,u,u%2==0),this.setFunctionModule(u,6,u%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const l=this.getAlignmentPatternPositions(),c=l.length;for(let u=0;u<c;u++)for(let d=0;d<c;d++)u==0&&d==0||u==0&&d==c-1||u==c-1&&d==0||this.drawAlignmentPattern(l[u],l[d]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(l){const c=this.errorCorrectionLevel.formatBits<<3|l;let u=c;for(let h=0;h<10;h++)u=u<<1^(u>>>9)*1335;const d=(c<<10|u)^21522;a(d>>>15==0);for(let h=0;h<=5;h++)this.setFunctionModule(8,h,i(d,h));this.setFunctionModule(8,7,i(d,6)),this.setFunctionModule(8,8,i(d,7)),this.setFunctionModule(7,8,i(d,8));for(let h=9;h<15;h++)this.setFunctionModule(14-h,8,i(d,h));for(let h=0;h<8;h++)this.setFunctionModule(this.size-1-h,8,i(d,h));for(let h=8;h<15;h++)this.setFunctionModule(8,this.size-15+h,i(d,h));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let l=this.version;for(let u=0;u<12;u++)l=l<<1^(l>>>11)*7973;const c=this.version<<12|l;a(c>>>18==0);for(let u=0;u<18;u++){const d=i(c,u),h=this.size-11+u%3,p=Math.floor(u/3);this.setFunctionModule(h,p,d),this.setFunctionModule(p,h,d)}}drawFinderPattern(l,c){for(let u=-4;u<=4;u++)for(let d=-4;d<=4;d++){const h=Math.max(Math.abs(d),Math.abs(u)),p=l+d,m=c+u;0<=p&&p<this.size&&0<=m&&m<this.size&&this.setFunctionModule(p,m,h!=2&&h!=4)}}drawAlignmentPattern(l,c){for(let u=-2;u<=2;u++)for(let d=-2;d<=2;d++)this.setFunctionModule(l+d,c+u,Math.max(Math.abs(d),Math.abs(u))!=1)}setFunctionModule(l,c,u){this.modules[c][l]=u,this.isFunction[c][l]=!0}addEccAndInterleave(l){const c=this.version,u=this.errorCorrectionLevel;if(l.length!=t.getNumDataCodewords(c,u))throw new RangeError("Invalid argument");const d=t.NUM_ERROR_CORRECTION_BLOCKS[u.ordinal][c],h=t.ECC_CODEWORDS_PER_BLOCK[u.ordinal][c],p=Math.floor(t.getNumRawDataModules(c)/8),m=d-p%d,g=Math.floor(p/d);let b=[];const y=t.reedSolomonComputeDivisor(h);for(let S=0,x=0;S<d;S++){let w=l.slice(x,x+g-h+(S<m?0:1));x+=w.length;const A=t.reedSolomonComputeRemainder(w,y);S<m&&w.push(0),b.push(w.concat(A))}let v=[];for(let S=0;S<b[0].length;S++)b.forEach((x,w)=>{(S!=g-h||w>=m)&&v.push(x[S])});return a(v.length==p),v}drawCodewords(l){if(l.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let c=0;for(let u=this.size-1;u>=1;u-=2){u==6&&(u=5);for(let d=0;d<this.size;d++)for(let h=0;h<2;h++){const p=u-h,g=(u+1&2)==0?this.size-1-d:d;!this.isFunction[g][p]&&c<l.length*8&&(this.modules[g][p]=i(l[c>>>3],7-(c&7)),c++)}}a(c==l.length*8)}applyMask(l){if(l<0||l>7)throw new RangeError("Mask value out of range");for(let c=0;c<this.size;c++)for(let u=0;u<this.size;u++){let d;switch(l){case 0:d=(u+c)%2==0;break;case 1:d=c%2==0;break;case 2:d=u%3==0;break;case 3:d=(u+c)%3==0;break;case 4:d=(Math.floor(u/3)+Math.floor(c/2))%2==0;break;case 5:d=u*c%2+u*c%3==0;break;case 6:d=(u*c%2+u*c%3)%2==0;break;case 7:d=((u+c)%2+u*c%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[c][u]&&d&&(this.modules[c][u]=!this.modules[c][u])}}getPenaltyScore(){let l=0;for(let h=0;h<this.size;h++){let p=!1,m=0,g=[0,0,0,0,0,0,0];for(let b=0;b<this.size;b++)this.modules[h][b]==p?(m++,m==5?l+=t.PENALTY_N1:m>5&&l++):(this.finderPenaltyAddHistory(m,g),p||(l+=this.finderPenaltyCountPatterns(g)*t.PENALTY_N3),p=this.modules[h][b],m=1);l+=this.finderPenaltyTerminateAndCount(p,m,g)*t.PENALTY_N3}for(let h=0;h<this.size;h++){let p=!1,m=0,g=[0,0,0,0,0,0,0];for(let b=0;b<this.size;b++)this.modules[b][h]==p?(m++,m==5?l+=t.PENALTY_N1:m>5&&l++):(this.finderPenaltyAddHistory(m,g),p||(l+=this.finderPenaltyCountPatterns(g)*t.PENALTY_N3),p=this.modules[b][h],m=1);l+=this.finderPenaltyTerminateAndCount(p,m,g)*t.PENALTY_N3}for(let h=0;h<this.size-1;h++)for(let p=0;p<this.size-1;p++){const m=this.modules[h][p];m==this.modules[h][p+1]&&m==this.modules[h+1][p]&&m==this.modules[h+1][p+1]&&(l+=t.PENALTY_N2)}let c=0;for(const h of this.modules)c=h.reduce((p,m)=>p+(m?1:0),c);const u=this.size*this.size,d=Math.ceil(Math.abs(c*20-u*10)/u)-1;return a(0<=d&&d<=9),l+=d*t.PENALTY_N4,a(0<=l&&l<=2568888),l}getAlignmentPatternPositions(){if(this.version==1)return[];{const l=Math.floor(this.version/7)+2,c=this.version==32?26:Math.ceil((this.version*4+4)/(l*2-2))*2;let u=[6];for(let d=this.size-7;u.length<l;d-=c)u.splice(1,0,d);return u}}static getNumRawDataModules(l){if(l<t.MIN_VERSION||l>t.MAX_VERSION)throw new RangeError("Version number out of range");let c=(16*l+128)*l+64;if(l>=2){const u=Math.floor(l/7)+2;c-=(25*u-10)*u-55,l>=7&&(c-=36)}return a(208<=c&&c<=29648),c}static getNumDataCodewords(l,c){return Math.floor(t.getNumRawDataModules(l)/8)-t.ECC_CODEWORDS_PER_BLOCK[c.ordinal][l]*t.NUM_ERROR_CORRECTION_BLOCKS[c.ordinal][l]}static reedSolomonComputeDivisor(l){if(l<1||l>255)throw new RangeError("Degree out of range");let c=[];for(let d=0;d<l-1;d++)c.push(0);c.push(1);let u=1;for(let d=0;d<l;d++){for(let h=0;h<c.length;h++)c[h]=t.reedSolomonMultiply(c[h],u),h+1<c.length&&(c[h]^=c[h+1]);u=t.reedSolomonMultiply(u,2)}return c}static reedSolomonComputeRemainder(l,c){let u=c.map(d=>0);for(const d of l){const h=d^u.shift();u.push(0),c.forEach((p,m)=>u[m]^=t.reedSolomonMultiply(p,h))}return u}static reedSolomonMultiply(l,c){if(l>>>8||c>>>8)throw new RangeError("Byte out of range");let u=0;for(let d=7;d>=0;d--)u=u<<1^(u>>>7)*285,u^=(c>>>d&1)*l;return a(u>>>8==0),u}finderPenaltyCountPatterns(l){const c=l[1];a(c<=this.size*3);const u=c>0&&l[2]==c&&l[3]==c*3&&l[4]==c&&l[5]==c;return(u&&l[0]>=c*4&&l[6]>=c?1:0)+(u&&l[6]>=c*4&&l[0]>=c?1:0)}finderPenaltyTerminateAndCount(l,c,u){return l&&(this.finderPenaltyAddHistory(c,u),c=0),c+=this.size,this.finderPenaltyAddHistory(c,u),this.finderPenaltyCountPatterns(u)}finderPenaltyAddHistory(l,c){c[0]==0&&(l+=this.size),c.pop(),c.unshift(l)}};let r=t;r.MIN_VERSION=1,r.MAX_VERSION=40,r.PENALTY_N1=3,r.PENALTY_N2=3,r.PENALTY_N3=40,r.PENALTY_N4=10,r.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],r.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=r;function n(l,c,u){if(c<0||c>31||l>>>c)throw new RangeError("Value out of range");for(let d=c-1;d>=0;d--)u.push(l>>>d&1)}function i(l,c){return(l>>>c&1)!=0}function a(l){if(!l)throw new Error("Assertion error")}const s=class{constructor(l,c,u){if(this.mode=l,this.numChars=c,this.bitData=u,c<0)throw new RangeError("Invalid argument");this.bitData=u.slice()}static makeBytes(l){let c=[];for(const u of l)n(u,8,c);return new s(s.Mode.BYTE,l.length,c)}static makeNumeric(l){if(!s.isNumeric(l))throw new RangeError("String contains non-numeric characters");let c=[];for(let u=0;u<l.length;){const d=Math.min(l.length-u,3);n(parseInt(l.substr(u,d),10),d*3+1,c),u+=d}return new s(s.Mode.NUMERIC,l.length,c)}static makeAlphanumeric(l){if(!s.isAlphanumeric(l))throw new RangeError("String contains unencodable characters in alphanumeric mode");let c=[],u;for(u=0;u+2<=l.length;u+=2){let d=s.ALPHANUMERIC_CHARSET.indexOf(l.charAt(u))*45;d+=s.ALPHANUMERIC_CHARSET.indexOf(l.charAt(u+1)),n(d,11,c)}return u<l.length&&n(s.ALPHANUMERIC_CHARSET.indexOf(l.charAt(u)),6,c),new s(s.Mode.ALPHANUMERIC,l.length,c)}static makeSegments(l){return l==""?[]:s.isNumeric(l)?[s.makeNumeric(l)]:s.isAlphanumeric(l)?[s.makeAlphanumeric(l)]:[s.makeBytes(s.toUtf8ByteArray(l))]}static makeEci(l){let c=[];if(l<0)throw new RangeError("ECI assignment value out of range");if(l<128)n(l,8,c);else if(l<16384)n(2,2,c),n(l,14,c);else if(l<1e6)n(6,3,c),n(l,21,c);else throw new RangeError("ECI assignment value out of range");return new s(s.Mode.ECI,0,c)}static isNumeric(l){return s.NUMERIC_REGEX.test(l)}static isAlphanumeric(l){return s.ALPHANUMERIC_REGEX.test(l)}getData(){return this.bitData.slice()}static getTotalBits(l,c){let u=0;for(const d of l){const h=d.mode.numCharCountBits(c);if(d.numChars>=1<<h)return 1/0;u+=4+h+d.bitData.length}return u}static toUtf8ByteArray(l){l=encodeURI(l);let c=[];for(let u=0;u<l.length;u++)l.charAt(u)!="%"?c.push(l.charCodeAt(u)):(c.push(parseInt(l.substr(u+1,2),16)),u+=2);return c}};let o=s;o.NUMERIC_REGEX=/^[0-9]*$/,o.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,o.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=o})(qh||(qh={}));(e=>{(t=>{const r=class{constructor(i,a){this.ordinal=i,this.formatBits=a}};let n=r;n.LOW=new r(0,1),n.MEDIUM=new r(1,0),n.QUARTILE=new r(2,3),n.HIGH=new r(3,2),t.Ecc=n})(e.QrCode||(e.QrCode={}))})(qh||(qh={}));(e=>{(t=>{const r=class{constructor(i,a){this.modeBits=i,this.numBitsCharCount=a}numCharCountBits(i){return this.numBitsCharCount[Math.floor((i+7)/17)]}};let n=r;n.NUMERIC=new r(1,[10,12,14]),n.ALPHANUMERIC=new r(2,[9,11,13]),n.BYTE=new r(4,[8,16,16]),n.KANJI=new r(8,[8,10,12]),n.ECI=new r(7,[0,0,0]),t.Mode=n})(e.QrSegment||(e.QrSegment={}))})(qh||(qh={}));var wy=qh;/**
* @license qrcode.react
* Copyright (c) Paul O'Shannessy
* SPDX-License-Identifier: ISC
*/var Prr={L:wy.QrCode.Ecc.LOW,M:wy.QrCode.Ecc.MEDIUM,Q:wy.QrCode.Ecc.QUARTILE,H:wy.QrCode.Ecc.HIGH},jrr=128,Rrr="L",Irr="#FFFFFF",Orr="#000000",Mrr=!1,ike=4,krr=.1;function Drr(e,t=0){const r=[];return e.forEach(function(n,i){let a=null;n.forEach(function(s,o){if(!s&&a!==null){r.push(`M${a+t} ${i+t}h${o-a}v1H${a+t}z`),a=null;return}if(o===n.length-1){if(!s)return;a===null?r.push(`M${o+t},${i+t} h1v1H${o+t}z`):r.push(`M${a+t},${i+t} h${o+1-a}v1H${a+t}z`);return}s&&a===null&&(a=o)})}),r.join("")}function Lrr(e,t){return e.slice().map((r,n)=>n<t.y||n>=t.y+t.h?r:r.map((i,a)=>a<t.x||a>=t.x+t.w?i:!1))}function Frr(e,t,r,n){if(n==null)return null;const i=r?ike:0,a=e.length+i*2,s=Math.floor(t*krr),o=a/t,l=(n.width||s)*o,c=(n.height||s)*o,u=n.x==null?e.length/2-l/2:n.x*o,d=n.y==null?e.length/2-c/2:n.y*o;let h=null;if(n.excavate){let p=Math.floor(u),m=Math.floor(d),g=Math.ceil(l+u-p),b=Math.ceil(c+d-m);h={x:p,y:m,w:g,h:b}}return{x:u,y:d,h:c,w:l,excavation:h}}(function(){try{new Path2D().addPath(new Path2D)}catch(e){return!1}return!0})();function $rr(e){const t=e,{value:r,size:n=jrr,level:i=Rrr,bgColor:a=Irr,fgColor:s=Orr,includeMargin:o=Mrr,imageSettings:l}=t,c=Err(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let u=wy.QrCode.encodeText(r,Prr[i]).getModules();const d=o?ike:0,h=u.length+d*2,p=Frr(u,n,o,l);let m=null;l!=null&&p!=null&&(p.excavation!=null&&(u=Lrr(u,p.excavation)),m=Se.createElement("image",{xlinkHref:l.src,height:p.h,width:p.w,x:p.x+d,y:p.y+d,preserveAspectRatio:"none"}));const g=Drr(u,d);return Se.createElement("svg",Crr({height:n,width:n,viewBox:`0 0 ${h} ${h}`},c),Se.createElement("path",{fill:a,d:`M0,0 h${h}v${h}H0z`,shapeRendering:"crispEdges"}),Se.createElement("path",{fill:s,d:g,shapeRendering:"crispEdges"}),m)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Brr=$rr;globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Nrr=({shareData:e,...t})=>{const{_:r}=Pt(),n=async()=>{if(navigator.share)try{await navigator.share(e)}catch(i){console.error("Error sharing content",i)}else alert(r({id:"pLDTJG"}))};return f.jsx(Xe,{leftIcon:f.jsx(nN,{strokeWidth:"2.5px"}),onClick:()=>void n(),...t,children:f.jsx(L,{id:"Z8lGw6"})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const qrr=()=>{const e=Fd(),t=h8("qr"),r=h8("sharesheet"),n=h8("copy"),{onCopy:i}=Ihe(n),[a,s]=j.useState(!1);return e?f.jsxs(z,{borderRadius:12,orient:"left",bg:"Neutral.TrueWhite",p:3,children:[f.jsx(Brr,{value:t,size:"100%"}),f.jsxs(z,{col:!0,gap:2,children:[f.jsxs(z,{col:!0,px:2,children:[f.jsx(ue,{color:"MagicBlack",size:"xs",fontWeight:"bold",children:f.jsx(L,{id:"KtVknE"})}),f.jsx(ue,{color:"MagicBlack",fontSize:"xl",fontWeight:"extrabold",letterSpacing:4,my:-2,children:Jc.truncate(e,{length:7,omission:".."})})]}),f.jsx(Nrr,{backgroundColor:"Purple.Light",shareData:{url:r},size:"sm"}),f.jsx(Xe,{"aria-label":Ee._({id:"he3ygx"}),backgroundColor:a?"Green.Magic":"Neutral.DarkGrey",onClick:()=>{i(),s(!0),setTimeout(()=>s(!1),2e3)},size:"sm",children:a?f.jsx(L,{id:"PiH3UR"}):f.jsx(L,{id:"he3ygx"})})]})]}):null};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function zrr({targetPlayerId:e}){const t=jo();return f.jsx(Xe,{marginLeft:"auto",onClick:()=>{t({type:"KickPlayer",targetPlayerId:e})},size:"sm",bg:"Red.Magic",children:f.jsx(L,{id:"EY4XVW"})})}function Wrr(){const e=e6();return f.jsx(Xe,{marginLeft:"auto",onClick:()=>{e.disconnect(pa.PlayerLeftVoluntarily),window.location.href="/"},size:"sm",bg:"Neutral.DarkGrey",children:f.jsx(L,{id:"Mv8CyJ"})})}const Hrr=({...e})=>{const t=eue(),r=Wh(),n=t.length,i=Ww(),a=dFe(),s=pFe(),o=r===a,{_:l}=Pt();return f.jsx(z,{col:!0,orient:"top",...e,children:f.jsx(z,{col:!0,py:10,justify:"top",gap:"10px",children:t.map(c=>{const u=c.id===r,d=c.id===a;return f.jsxs(eke,{overflow:"visible",playerOrId:c,isConnected:c.isConnected,showConnectionStatusIndicator:!0,textSize:"md",caption:d?l({id:"Ai2U7L"}):void 0,onClick:()=>{u&&i("profile")},children:[u&&n>1&&!Qr&&f.jsx(Wrr,{}),!u&&(ZF||s||o&&!c.isConnected)&&f.jsx(zrr,{targetPlayerId:c.id})]},c.id)})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Urr=()=>{const e=Pe(wR),t=zh(),r=Wd();return!t||!Qr?null:f.jsxs(z,{auto:!0,children:[f.jsx(ue,{children:"[dev]"}),Qr&&t&&(()=>{const i=`http get ${hFe()+"/me"} Cookie:"${Lw.mc_jwt}=${e}"`;return f.jsx(Xe,{"aria-label":Ee._({id:"he3ygx"}),variant:"ghost",color:"Purple.Light",backgroundColor:"black",size:"xs",onClick:()=>{r({title:"[dev] authenticated http",message:"Run this command in your terminal to make authenticated requests to the API.",okText:"close",content:f.jsx(xB,{color:"white",autoFocus:!0,onFocus:a=>a.target.select(),fontSize:"xs",value:i,isReadOnly:!0,width:"100%"}),onConfirm:()=>{}})},children:"http /me"})})()]})},Grr=()=>{const e=Fd(),t=WF(),r=t6(),{user:n}=Uh();return e?f.jsxs(z,{col:!0,px:4,pb:3,gap:3,orient:"top",autoH:!0,children:[f.jsxs(z,{col:!0,orient:"left",autoH:!0,gap:2,children:[f.jsx(ue,{textAlign:"left",fontSize:"md",fontWeight:"bold",color:"white",children:f.jsx(L,{id:"CXCaNg",components:{0:f.jsx("br",{})}})}),f.jsxs(z,{autoH:!0,orient:"left",gap:2,children:[f.jsx(Xe,{size:"xs",py:4,backgroundColor:"Green.Dark",onClick:()=>{r(),t(!0)},rightIcon:f.jsx(KB,{size:16}),children:f.jsx(L,{id:"+wrjWz"})}),f.jsx(Xe,{size:"xs",py:4,backgroundColor:"MagicBlack",onClick:()=>{Qr?Al("https://magiccircle.studio").catch(console.error):window.open("https://magiccircle.studio","_blank")},rightIcon:f.jsx(gN,{}),children:f.jsx(L,{id:"zwWKhA"})})]})]}),f.jsx(Zo,{color:"Neutral.DarkGrey"}),f.jsxs(z,{col:!0,autoH:!0,gap:0,children:[n&&f.jsxs(z,{autoH:!0,orient:"left",gap:2,children:[f.jsx(ue,{fontSize:"sm",color:"Neutral.LightGrey",children:f.jsx(L,{id:"1aqNIL"})}),f.jsx(ue,{fontSize:"sm",color:"white",fontWeight:"medium",children:YF(n.createdAt)})]}),n&&f.jsxs(z,{autoH:!0,orient:"left",gap:2,children:[f.jsx(ue,{fontSize:"sm",color:"Neutral.LightGrey",children:f.jsx(L,{id:"W+zOVH"})}),f.jsx(ue,{userSelect:"text","data-testid":"user-id",fontSize:"sm",color:"white",fontWeight:"medium",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"200px",children:n.id}),!Qr&&f.jsx(Gr,{"aria-label":Ee._({id:"9D85wC"}),variant:"ghost",onClick:()=>{navigator.clipboard.writeText(n.id)},size:"xs",icon:f.jsx(UO,{}),color:"Purple.Light"})]}),f.jsxs(z,{autoH:!0,orient:"left",gap:2,children:[f.jsx(ue,{fontSize:"sm",color:"Neutral.LightGrey",children:f.jsx(L,{id:"uvdzKa"})}),f.jsx(ue,{userSelect:"text","data-testid":"room-id",fontSize:"sm",color:"white",fontWeight:"medium",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"200px",children:e}),!Qr&&f.jsx(Gr,{"aria-label":Ee._({id:"Bf6GAr"}),variant:"ghost",onClick:()=>{navigator.clipboard.writeText(e)},size:"xs",icon:f.jsx(UO,{}),color:"Purple.Light"})]}),f.jsxs(z,{autoH:!0,orient:"left",gap:2,children:[f.jsx(ue,{fontSize:"sm",color:"Neutral.LightGrey",children:f.jsx(L,{id:"jFCNPK"})}),f.jsx(ue,{fontSize:"sm",color:"white",fontWeight:"medium",children:tue})]}),Tt==="webview"&&window.__MAGICCIRCLE_IOS_APP_VERSION__&&f.jsxs(z,{autoH:!0,orient:"left",gap:2,children:[f.jsx(ue,{fontSize:"sm",color:"Neutral.LightGrey",children:f.jsx(L,{id:"QcTGfQ"})}),f.jsx(ue,{fontSize:"sm",color:"white",fontWeight:"medium",children:window.__MAGICCIRCLE_IOS_APP_VERSION__})]}),f.jsx(Urr,{})]}),f.jsxs(z,{col:!0,autoH:!0,gap:2,children:[f.jsxs(z,{autoH:!0,gap:2,children:[f.jsx(ue,{fontSize:"sm",color:"white",children:f.jsx(L,{id:"4uYDha"})}),f.jsx(Tv,{fill:"violet",size:16})]}),f.jsxs(z,{autoH:!0,gap:3,children:[f.jsx(mS,{href:"/docs/terms",target:"_blank",fontSize:"xs",color:"Neutral.LightGrey",onClick:()=>{Al("https://magiccircle.gg/docs/terms").catch(console.error)},children:f.jsx(L,{id:"4Y5H+g"})}),f.jsx(mS,{href:"/docs/privacy",target:"_blank",fontSize:"xs",color:"Neutral.LightGrey",onClick:()=>{Al("https://magiccircle.gg/docs/privacy").catch(console.error)},children:f.jsx(L,{id:"rjGI/Q"})})]})]})]}):null};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Vrr=()=>{const{_:e}=Pt(),[t,r]=j.useState(""),n=a=>{const s=a.target.value.replace(/\s/g,"").toUpperCase();r(s)},i=()=>{if(t.length===0)return;const a=`/r/${t}`,s=`?${fFe.mc_source}=join_drawer`;(()=>{location.href=location.origin+a+s})()};return f.jsx(z,{col:!0,orient:"top",px:4,pb:2,children:f.jsxs(qpe,{textAlign:"left",display:"flex",flexDirection:"column",gap:"20px",position:"relative",children:[f.jsx(Z1,{"data-testid":"room-code-input",placeholder:e({id:"3Kcs5g"}),value:t,onChange:n,onEnterKeyDown:()=>void i(),fontSize:"lg",letterSpacing:t.length>0?"10px":void 0,width:"100%"}),f.jsx(Xe,{bg:"Cyan.Light",onClick:()=>void i(),size:"md","aria-label":e({id:"Mu7jcC"}),children:f.jsx(L,{id:"qWRQik"})}),f.jsx(ue,{fontSize:"xs",color:"Neutral.Grey",lineHeight:"1",children:f.jsx(L,{id:"yXglh/"})})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const ake=[{locale:"en",name:"English"},{locale:"es",name:"Español"},{locale:"pt",name:"Português"},{locale:"de",name:"Deutsch"},{locale:"fr",name:"Français"},{locale:"ja",name:"日本語"},{locale:"zh",name:"中文"},{locale:"th",name:"ไทย"},{locale:"nl",name:"Nederlands"},{locale:"ru",name:"Русский"},{locale:"pl",name:"Polski"},{locale:"it",name:"Italiano"},{locale:"ko",name:"한국어"},{locale:"vi",name:"Tiếng Việt"},{locale:"sv",name:"Svenska"},{locale:"tr",name:"Türkçe"},{locale:"ar",name:"العربية"},{locale:"fil",name:"Filipino"},{locale:"sr",name:"Српски"}],Yrr=(e,t,r)=>{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((i,a)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(a.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==r?". Note that variables only represent file names one level deep.":""))))})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function u1(e){return typeof e!="string"?!1:!!ake.some(t=>t.locale===e)}const ske=mFe("locale","en",{validateValueFromStorage:u1});function Krr(e){if(!u1(e)){console.error("Unsupported locale",e);return}Yrr(Object.assign({"./locales/ar.po":()=>tr(()=>import("./ar-X6uqmbVN.js"),[]),"./locales/de.po":()=>tr(()=>import("./de-CpB5S2tW.js"),[]),"./locales/en.po":()=>tr(()=>import("./en-BbfD3Vga.js"),[]),"./locales/es.po":()=>tr(()=>import("./es-DkM-owLj.js"),[]),"./locales/fil.po":()=>tr(()=>import("./fil-Bv3N_FQw.js"),[]),"./locales/fr.po":()=>tr(()=>import("./fr-DhcckL9i.js"),[]),"./locales/it.po":()=>tr(()=>import("./it-DAINPkvB.js"),[]),"./locales/ja.po":()=>tr(()=>import("./ja-aHEDGR1Y.js"),[]),"./locales/ko.po":()=>tr(()=>import("./ko-cTTghVwm.js"),[]),"./locales/nl-BE.po":()=>tr(()=>import("./nl-BE-CZbK51K1.js"),[]),"./locales/nl.po":()=>tr(()=>import("./nl-BwAy0Sc8.js"),[]),"./locales/pl.po":()=>tr(()=>import("./pl-CfrzV1Re.js"),[]),"./locales/pt.po":()=>tr(()=>import("./pt-B1sid81A.js"),[]),"./locales/ru.po":()=>tr(()=>import("./ru-DNyI68bl.js"),[]),"./locales/sr.po":()=>tr(()=>import("./sr-Ca04MMJD.js"),[]),"./locales/sv.po":()=>tr(()=>import("./sv-BCaku3wI.js"),[]),"./locales/th.po":()=>tr(()=>import("./th-mhJZnET5.js"),[]),"./locales/tr.po":()=>tr(()=>import("./tr-COaYZkkI.js"),[]),"./locales/vi.po":()=>tr(()=>import("./vi-BT2Q-yVU.js"),[]),"./locales/zh.po":()=>tr(()=>import("./zh-DNpH_W4u.js"),[])}),`./locales/${e}.po`,3).then(({messages:t})=>{Ee.load(e,t),Ee.activate(e)}).catch(t=>{console.error("Error activating locale",t)})}function $w(e){const{set:t}=ft();t(ske,e)}function oke(){const[e,t]=Ea(ske);return{locale:e,setLocale:t}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Xrr=e=>{const t=fn(),[r,n]=j.useState(!1),i=Wd(),a=async()=>{n(!0);try{await Zw("/me/seppuku",void 0,{method:"DELETE"}),i({title:Ee._({id:"TKFUnX"}),isCentered:!0,message:f.jsx(z,{col:!0,p:2,pt:1,children:f.jsx(ue,{fontSize:"md",children:f.jsx(L,{id:"AlFamb"})})}),okText:Ee._({id:"zga9sT"}),onConfirm:()=>{VV().catch(console.error)}})}catch(o){i({title:Ee._({id:"N8L79w"}),isCentered:!0,message:f.jsx(z,{col:!0,p:2,pt:1,children:f.jsx(ue,{fontSize:"md",children:f.jsx(L,{id:"kMlqnN",values:{0:o instanceof Error?o.message:"Unknown error"}})})}),okText:Ee._({id:"zga9sT"}),onConfirm:()=>{}})}finally{n(!1)}},s=()=>{t&&i({title:Ee._({id:"YLGWCW"}),isCentered:!0,message:f.jsx(z,{col:!0,p:2,pt:1,children:f.jsxs(ue,{fontSize:"md",children:[f.jsx(L,{id:"Ejk4cX"}),f.jsx("br",{}),f.jsx("br",{}),f.jsx("strong",{children:f.jsx(L,{id:"ot4wg/"})})]})}),okText:Ee._({id:"cnGeoo"}),okButtonColor:"Red.Magic",cancelText:Ee._({id:"dEgA5A"}),onConfirm:()=>{a().catch(console.error)},onCancel:()=>{}})};return f.jsx(Xe,{variant:"red",onClick:s,isLoading:r,...e,children:f.jsx(L,{id:"vzX5FB"})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Cle=({type:e,IconComponent:t,count:r,isMute:n,volume:i,setVolume:a,setMute:s})=>{const[o,l,c,u]=LF("colors",["Purple.Magic","Neutral.Grey","Purple.Pastel","Neutral.LightGrey"]),d=.001,p=Math.pow(.2/d,1/(r-1)),m=S=>d*Math.pow(p,S),g=S=>m(S)>i||n?u:c,b=S=>m(S)>i||n?l:o,y=S=>{a(m(S)),s(!1),e==="SoundEffects"?(Jt("Button_Main_01"),_R()):e==="Music"&&PM()},v=()=>{s(!n),e==="SoundEffects"?(Jt("Button_Main_01"),_R()):e==="Music"&&PM()};return f.jsxs(z,{gap:2,flexDirection:"row",orient:"right",children:[f.jsx(Ne,{position:"relative",top:1,children:n?f.jsx(Gr,{"aria-label":Ee._({id:"R7SsBE"}),icon:f.jsx(uN,{}),variant:"icon",onClick:v}):f.jsx(Gr,{variant:"icon","aria-label":Ee._({id:"R7SsBE"}),icon:f.jsx(cN,{}),onClick:v})}),Array.from({length:r},(S,x)=>f.jsx(Gr,{variant:"icon","aria-label":Ee._({id:"/cF7Rs"}),icon:f.jsx(t,{color:g(x),fill:b(x),size:15+x}),onClick:()=>y(x)},x))]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Qrr=()=>{const e=zh(),t=gFe(),r=bFe(),n=fn(),i=yFe(),a=vFe(),s=TFe(),[o,l]=SFe(),[c,u]=Ea(Fce),{locale:d,setLocale:h}=oke(),p=xFe(),m=wFe(),g=_Fe(),b=AFe(),y=CFe();return f.jsxs(z,{col:!0,overflow:"hidden",gap:4,px:3,pb:4,children:[(iT||aS)&&f.jsx(ue,{fontWeight:"bold",color:"Yellow.Light",children:f.jsx(L,{id:"HoNUo/"})}),f.jsxs(z,{col:!0,orient:"left",gap:1,children:[f.jsx(_n,{children:f.jsx(L,{id:"8S1IWI"})}),f.jsx(z,{orient:"left",children:f.jsx(Cle,{type:"Music",IconComponent:L6,count:9,isMute:iT||aS||a,volume:t,setVolume:g,setMute:p})})]}),f.jsxs(z,{col:!0,orient:"left",gap:1,children:[f.jsx(_n,{children:f.jsx(L,{id:"tZFCP/"})}),f.jsx(z,{orient:"left",children:f.jsx(Cle,{type:"SoundEffects",IconComponent:HB,count:9,isMute:iT||s,volume:r,setVolume:b,setMute:m})})]}),f.jsxs(z,{col:!0,orient:"left",gap:1,children:[f.jsx(_n,{children:f.jsx(L,{id:"vXIe7J"})}),f.jsx(bS,{value:d,onChange:v=>h(v.target.value),variant:"flushed",children:ake.map(({locale:v,name:S})=>f.jsx("option",{value:v,style:{color:"black"},children:S},v))})]}),f.jsxs(z,{col:!0,orient:"left",children:[f.jsx(_n,{children:f.jsx(L,{id:"/Bh+7r"})}),f.jsxs(z,{flexDirection:"row",align:"top",gap:3,pt:2,children:[f.jsx(z,{col:!0,gap:.5,orient:"left",textAlign:"left",children:f.jsx(ue,{fontWeight:"medium",children:f.jsx(L,{id:"VctsWk"})})}),f.jsx(SI,{size:"md",isChecked:c,onChange:v=>u(v.target.checked)})]}),f.jsx(ue,{pt:1,fontSize:"xs",color:"Neutral.Grey",textAlign:"left",lineHeight:"1",children:f.jsx(L,{id:"ODugof"})})]}),f.jsxs(z,{col:!0,gap:1,orient:"left",children:[f.jsx(ue,{fontWeight:"medium",children:f.jsx(L,{id:"e8usQy"})}),f.jsxs(bS,{value:i,size:"sm",onChange:v=>y(Number(v.target.value)),variant:"flushed",children:[f.jsx("option",{value:20,style:{color:"black"},children:f.jsx(L,{id:"s2ZdOj"})}),f.jsx("option",{value:30,style:{color:"black"},children:f.jsx(L,{id:"eOJna9"})}),(e||xo)&&f.jsxs(f.Fragment,{children:[f.jsx("option",{value:60,style:{color:"black"},children:f.jsx(L,{id:"tu3JbZ"})}),f.jsx("option",{value:0,style:{color:"black"},children:f.jsx(L,{id:"EqzHh5"})})]})]})]}),n&&Tt!=="webview"&&f.jsxs(z,{col:!0,orient:"left",children:[f.jsx(_n,{children:f.jsx(L,{id:"iDNBZe"})}),f.jsxs(z,{flexDirection:"row",align:"top",gap:3,pt:2,children:[f.jsx(z,{col:!0,gap:.5,orient:"left",textAlign:"left",children:f.jsx(ue,{fontWeight:"medium",children:f.jsx(L,{id:"F67zUi"})})}),f.jsx(SI,{size:"md",isChecked:!o,onChange:v=>{l(!v.target.checked)}})]}),f.jsx(ue,{fontSize:"xs",color:"Neutral.Grey",textAlign:"left",children:f.jsx(L,{id:"Qp7mhg"})})]}),f.jsx(hf,{}),n&&f.jsxs(z,{col:!0,autoH:!0,gap:2,mt:2,mb:2,pt:2,pb:4,border:"2px solid",borderColor:"Red.Light",borderRadius:"card",children:[f.jsx(_n,{size:"sm",color:"Red.Light",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",mb:1,children:f.jsx(L,{id:"ZQKLI1"})}),f.jsx(Xrr,{size:"xs"})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Gf=j.forwardRef(()=>{const e=rue(),t=wce(),r=Fl(),n=zh(),i=z6(),a=j.useRef(null),s=Pe(Hh),o=pu(),l=jo(),c=pge(),u=t6(),{_:d}=Pt();j.useEffect(()=>{if(!a.current)return;const y=a.current.scrollHeight;a.current.style.minHeight=`${y}px`},[o]);let h=0;e==="party-players"?h=0:e==="party-invite"?h=1:e==="party-join"?h=2:e==="party-settings"&&(h=Tt==="web"?3:1);const p=async()=>{await c()&&u()},m=!i&&(n||Tt==="discord"),g=r!=="Lobby"&&Zi[r].type==="Party",b={fontSize:o?"12px":"16px",py:o?0:3,px:o?2:3,height:o?"30px":"auto"};return j.useEffect(()=>{if(!a.current)return;a.current.style.height="auto",a.current.style.minHeight="auto";const y=a.current.scrollHeight;a.current.style.height=`${y}px`,a.current.style.minHeight=`${y}px`},[o]),f.jsxs(bt,{id:"PartyDrawer",templateRows:"auto 1fr",backdropFilter:"blur(50px)",borderRadius:"inherit",boxShadow:"4px 4px 4px 4px rgba(0, 0, 0, 0.2)",pt:"calc(var(--sait) + 10px)",w:"calc(100% + var(--sail))",pl:"var(--sail)",children:[f.jsxs(z,{orient:"left",gap:2,px:2,children:[f.jsx(cge,{position:"relative",top:"0",left:"0"}),f.jsx(ue,{fontSize:18,fontWeight:"bold",lineHeight:"1",children:r==="Lobby"?"Magic Circle":Zi[r].name}),n&&f.jsx(tke,{})]}),f.jsxs(vB,{px:4,pt:3,variant:"vertical",defaultIndex:h,orientation:"vertical",position:"relative",onChange:()=>Jt("Button_Main_01"),borderRadius:"inherit",overflowX:"hidden",children:[f.jsxs(TB,{ref:a,mb:"15px !important",children:[f.jsxs(z,{col:!0,gap:2,autoH:!0,pb:2,children:[r==="Quinoa"&&f.jsx(Xe,{size:o?"xs":"sm",onClick:()=>{Sce(!s),g5(!1),u()},color:"Orange.Pastel",backgroundColor:"rgba(24, 23, 23, 0.40)",borderRadius:"10px",width:"100%",border:"1px solid",borderColor:"Orange.Pastel",children:d(s?{id:"zrUena"}:{id:"CTe8fJ"})}),g&&f.jsxs(f.Fragment,{children:[f.jsx(Xe,{size:o?"xs":"sm",onClick:()=>void p(),color:"Orange.Pastel",backgroundColor:"rgba(24, 23, 23, 0.40)",borderRadius:"10px",width:"100%",border:"1px solid",borderColor:"Orange.Pastel","data-testid":"end-game-button",children:f.jsx(L,{id:"M1EDyx"})}),f.jsx(Xe,{size:o?"xs":"sm",onClick:()=>{l({type:"RestartGame",name:r}),u()},color:"Red.Pastel",borderColor:"Red.Pastel",backgroundColor:"rgba(24, 23, 23, 0.40)",borderRadius:"10px",width:"100%",border:"1px solid",children:f.jsx(L,{id:"VXWY6e"})})]}),m&&f.jsx(Xe,{size:o?"xs":"sm",onClick:()=>{l({type:"UsurpHost"})},color:"Yellow.Pastel",borderColor:"Yellow.Pastel",backgroundColor:"rgba(24, 23, 23, 0.40)",borderRadius:"10px",width:"100%",border:"1px solid",children:f.jsx(L,{id:"yxoUBh"})})]}),f.jsxs(bt,{templateColumns:o?"1fr 1fr":"1fr",gap:o?1:2,children:[f.jsxs(Ip,{sx:b,children:[f.jsx(q6,{}),f.jsx(L,{id:"NcCDMS"}),t===1?f.jsx(ue,{opacity:"0.7",fontWeight:"demibold",whiteSpace:"nowrap",fontSize:o?"9px !important":"14px",children:f.jsx(L,{id:"Gp3j9i"})}):f.jsx(ue,{opacity:"0.7",fontWeight:"demibold",fontSize:o?"9px !important":"14px",children:f.jsx(L,{id:"8EYj+S",values:{numPlayers:t}})})]}),!Qr&&f.jsxs(f.Fragment,{children:[f.jsxs(Ip,{sx:b,children:[f.jsx(F6,{}),f.jsx(L,{id:"MFKlMB"})]}),f.jsxs(Ip,{sx:b,children:[f.jsx(N6,{}),f.jsx(L,{id:"Zciui0"})]})]}),f.jsxs(Ip,{sx:b,children:[f.jsx(B6,{}),f.jsx(L,{id:"Tz0i8g"})]}),f.jsxs(Ip,{sx:b,children:[f.jsx(Sv,{}),f.jsx(L,{id:"uyJsf6"})]})]})]}),f.jsxs(SB,{overflowY:"auto",height:"100%",sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},children:[f.jsx(Rp,{children:f.jsx(Hrr,{})}),!Qr&&f.jsx(Rp,{children:f.jsx(qrr,{})}),!Qr&&f.jsx(Rp,{children:f.jsx(Vrr,{})}),f.jsx(Rp,{children:f.jsx(Qrr,{})}),f.jsx(Rp,{height:"100%",children:f.jsx(Grr,{})})]})]})]})});Gf.displayName="PartyDrawer";var tR,Ele;function Jrr(){if(Ele)return tR;Ele=1;function e(t){return function(r,n,i){for(var a=-1,s=Object(r),o=i(r),l=o.length;l--;){var c=o[t?l:++a];if(n(s[c],c,s)===!1)break}return r}}return tR=e,tR}var rR,Ple;function Zrr(){if(Ple)return rR;Ple=1;var e=Jrr(),t=e();return rR=t,rR}var nR,jle;function e0r(){if(jle)return nR;jle=1;var e=Zrr(),t=Kw();function r(n,i){return n&&e(n,i,t)}return nR=r,nR}var iR,Rle;function t0r(){if(Rle)return iR;Rle=1;var e=Xw();function t(r,n){return function(i,a){if(i==null)return i;if(!e(i))return r(i,a);for(var s=i.length,o=n?s:-1,l=Object(i);(n?o--:++o<s)&&a(l[o],o,l)!==!1;);return i}}return iR=t,iR}var aR,Ile;function r0r(){if(Ile)return aR;Ile=1;var e=e0r(),t=t0r(),r=t(e);return aR=r,aR}var sR,Ole;function n0r(){if(Ole)return sR;Ole=1;var e=r0r(),t=Xw();function r(n,i){var a=-1,s=t(n)?Array(n.length):[];return e(n,function(o,l,c){s[++a]=i(o,l,c)}),s}return sR=r,sR}var oR,Mle;function i0r(){if(Mle)return oR;Mle=1;function e(t,r){var n=t.length;for(t.sort(r);n--;)t[n]=t[n].value;return t}return oR=e,oR}var lR,kle;function a0r(){if(kle)return lR;kle=1;var e=J1();function t(r,n){if(r!==n){var i=r!==void 0,a=r===null,s=r===r,o=e(r),l=n!==void 0,c=n===null,u=n===n,d=e(n);if(!c&&!d&&!o&&r>n||o&&l&&u&&!c&&!d||a&&l&&u||!i&&u||!s)return 1;if(!a&&!o&&!d&&r<n||d&&i&&s&&!a&&!o||c&&i&&s||!l&&s||!u)return-1}return 0}return lR=t,lR}var cR,Dle;function s0r(){if(Dle)return cR;Dle=1;var e=a0r();function t(r,n,i){for(var a=-1,s=r.criteria,o=n.criteria,l=s.length,c=i.length;++a<l;){var u=e(s[a],o[a]);if(u){if(a>=c)return u;var d=i[a];return u*(d=="desc"?-1:1)}}return r.index-n.index}return cR=t,cR}var uR,Lle;function o0r(){if(Lle)return uR;Lle=1;var e=VF(),t=pY(),r=TMe(),n=n0r(),i=i0r(),a=Jw(),s=s0r(),o=nv(),l=Ro();function c(u,d,h){d.length?d=e(d,function(g){return l(g)?function(b){return t(b,g.length===1?g[0]:g)}:g}):d=[o];var p=-1;d=e(d,a(r));var m=n(u,function(g,b,y){var v=e(d,function(S){return S(g)});return{criteria:v,index:++p,value:g}});return i(m,function(g,b){return s(g,b,h)})}return uR=c,uR}var dR,Fle;function l0r(){if(Fle)return dR;Fle=1;var e=nv(),t=xMe(),r=rY();function n(i,a){return r(t(i,a,e),i+"")}return dR=n,dR}var pR,$le;function c0r(){if($le)return pR;$le=1;var e=qce(),t=Xw(),r=HF(),n=$d();function i(a,s,o){if(!n(o))return!1;var l=typeof s;return(l=="number"?t(o)&&r(s,o.length):l=="string"&&s in o)?e(o[s],a):!1}return pR=i,pR}var hR,Ble;function u0r(){if(Ble)return hR;Ble=1;var e=SMe(),t=o0r(),r=l0r(),n=c0r(),i=r(function(a,s){if(a==null)return[];var o=s.length;return o>1&&n(a,s[0],s[1])?s=[]:o>2&&n(s[0],s[1],s[2])&&(s=[s[0]]),t(a,e(s,1),[])});return hR=i,hR}var d0r=u0r();const p0r=Ld(d0r);globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function h0r(){return j.useMemo(()=>f1.filter(e=>e.availability==="default"),[])}function f0r(){const e=fn();return j.useMemo(()=>e?f1.filter(t=>t.availability==="authenticated"):[],[e])}function lke(){const{myCosmeticItems:e}=nue(),t=e.map(r=>r.cosmeticFilename);return j.useMemo(()=>f1.filter(r=>t.includes(r.filename)),[t])}function cke(){const e=h0r(),t=f0r(),r=lke();return j.useMemo(()=>[...e,...t,...r],[e,t,r])}function m0r(){const e=fn(),t=lke();return j.useMemo(()=>f1.filter(r=>r.availability==="authenticated"&&!e||r.availability==="claimable"&&!t.includes(r)),[e,t])}function _Y(){const e=m0r();return j.useMemo(()=>f1.filter(t=>!e.includes(t)),[e])}function g0r(){const e=cke(),t=_Y();return j.useMemo(()=>{const r={};return AR.forEach(n=>{const i=t.filter(a=>a.type===n).map(a=>({...a,isLocked:!e.some(s=>s.id===a.id)}));if(n==="Color")r[n]={owned:i,claimed:[],forSale:[]};else{const a=i.filter(l=>!l.isLocked&&l.availability!=="claimable"),s=i.filter(l=>l.availability==="claimable"),o=i.filter(l=>l.isLocked);r[n]={owned:fR(a),claimed:fR(s),forSale:fR(o)}}}),r},[e,t])}function fR(e){return p0r(e,[t=>t.availability==="authenticated"?0:1,t=>t.price,"displayName"])}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function b0r(){MF.forEach(e=>{const t=new Image;t.src=$l(e).bannerImageSrc})}const y0r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAAA8CAYAAAA5S9daAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKgSURBVHgB7ZvvdYIwEMBPXr/XTtBs0I5gJ+kI7QbtCI7QTXSD4gTiBLJBmoMEA1wC+CSpF37vReEAIZfL/ckTAA9Syg/VzvL+Oar25ernyqMAob6OwIun1WpVdoWZ54I18ENQQp8SSuAH2adFCeDxCQh6FGCE8gdkf7OB6zhZg7MvixJgWAlJsPgE8FiC6v8rMEMngD1SS5bIgc2mXnDnCEqYTb3gzhGU0KeEZ+CHoISpWcILJUxNCaSzJ5WgQskaeEaHNRUmXZbAMTIYeoObjT2REb0BTtESRFfgUsIL8KUX+pfpAItjrOiVljo8noE3raV3yhIE8EfYO4sSYFFCRapKaKUA2dAJTHmydyglcM4RDK2BpkIkqxVmF/bKc8sSOK4wu7BL6u50SGEqGJoBz1wHEqAZ8K4SBKSD0xI4rjC7eDQb/8ES3nQLTWMJrRCpPCZWj6Gdo0lcQleupYqS1b0bS4i0wpxjSavL2gLC0qw829MhRmQ4Wds5hKca9KwrCIzd8QOEpxr42JaQO7ZDIfDDVkKM6rG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4h7BiZJhDEmQyOxSCA1EpJ/sGcsEugigkYGbRMYC30MLoJGziKkNti5RUISZxGQmQhhNlxMbpEwuAgGmXCOBOLVfiasNZYha+GXuu2Rew30cVKEMElchiwPu+unBb4dWer+TbZ8UnbhdLI84HjpvG/bA+WvuEyxp9D/ptEt2ZpsE/Iap92/0tNdO99LLMk+oX3yx3jfiPA93BSDDVZCHxze/OpcCu5ZNSLwSnNSo5IBu8JNa7m9F7iLnGsEPMIiTGn3SS9chCnqKSy390XdvDH+wnzZNL0Dtwvc78+tfbBkH/9FQqgS15gf1zwseBxAUeaGkhXmw4rfLvnDsx0dVDX4whfkzYYEWDaZZ0PpcDHniFjtC3ASHmHx67TLB/blClKc39G+dtPnhxPufM9JjFvnJ4pOIt3bbCj5DN9wRu8iH5gKftftTeyGjS4nXwz8uJ0nLsY++VLBO/4zZRXqJc9AGbRnoN6Fz411Zf8sFNs92jNQFh35C3Y0hc/7VYYmAAAAAElFTkSuQmCC";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const uke={Top:{name:"Top",avatarArrayIdx:2,guideY:.175,guideHeight:.203125,framingTransform:"translateY(50%) scale(2)",icon:x0r},Mid:{name:"Mid",avatarArrayIdx:1,guideY:.375,guideHeight:.175,framingTransform:"translateY(10%) scale(1.8)",icon:S0r},Expression:{name:"Expression",avatarArrayIdx:3,guideY:.4375,guideHeight:.0859375,framingTransform:"translateY(30px) scale(3)",icon:T0r},Bottom:{name:"Bottom",avatarArrayIdx:0,guideY:.546875,guideHeight:.203125,framingTransform:"translateY(-10%) scale(1.7)",icon:y0r},Color:{name:"Color",avatarArrayIdx:-1,guideY:-1,guideHeight:-1,framingTransform:"",icon:v0r}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const w0r=({playerOrId:e,...t})=>{var n;const r=Oce(e);return f.jsxs(Ne,{position:"relative",...t,children:[f.jsx(p0,{position:"relative",src:qc("Top_DiscordPopsicle.png"),alt:"Discord Hat",zIndex:1}),f.jsx(p0,{src:(n=r==null?void 0:r.discordAvatarUrl)!=null?n:void 0,position:"absolute",top:"-31%",transform:"translateX(-1px) rotate(-9deg) scale(.215)"})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const CF=({type:e,filename:t,avatar:r})=>{const n=Wh(),{framingTransform:i}=uke[e];return f.jsxs(Ne,{position:"relative",children:[e==="Expression"&&r&&f.jsx(z,{position:"absolute",overflow:"hidden",children:f.jsx(p0,{position:"absolute",src:qc(r[1]),alt:"face",transform:i})}),t!=="Top_DiscordPopsicle.png"&&f.jsx(p0,{position:"relative",src:qc(t),alt:t,transform:i}),t==="Top_DiscordPopsicle.png"&&f.jsx(w0r,{playerOrId:n,transform:i})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const _0r=({type:e,name:t,price:r,filename:n,onClickRemove:i})=>{const a=JF();return f.jsx(z,{autoH:!0,bg:"Neutral.EarlGrey",borderRadius:"10px",children:f.jsxs(bt,{templateColumns:"25% 1fr auto",pr:"10px",children:[f.jsx(Ne,{px:"5px",children:e==="Expression"?f.jsx(Ne,{transform:"scale(0.8)",children:f.jsx(CF,{type:e,filename:n,avatar:EFe()})}):f.jsx(CF,{type:e,filename:n,avatar:a})}),f.jsxs(bt,{templateRows:"1fr 1fr",children:[f.jsx(ue,{alignSelf:"flex-end",fontWeight:"bold",children:t}),f.jsxs(ue,{color:"Orange.Pastel",fontWeight:"bold",children:["🍞 ",r.toLocaleString()]})]}),f.jsx(Gr,{"aria-label":Ee._({id:"t/YqKh"}),icon:f.jsx(lN,{}),variant:"dark",h:"40px",alignSelf:"center",onClick:i,bg:"Red.Magic"})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const A0r=({cosmeticItems:e,totalCost:t,onClose:r,revertItem:n,onClickPurchase:i})=>{const a=PFe(),s=a<t,{_:o}=Pt(),l=e.length>=1,c=o(l?{id:"SUjSFi"}:{id:"ToSPjT"}),u=o(l?{id:"Pia/ga"}:{id:"qX9yGc"}),d=s?o({id:"slGyFv",values:{0:a.toLocaleString()}}):"",h=o(l?{id:"dEgA5A"}:{id:"yz7wBu"});return f.jsxs(bt,{templateRows:"auto auto 1fr auto auto",justifyItems:"center",children:[f.jsx(ue,{color:"MagicBlack",size:"xl",fontWeight:"bold",children:c}),f.jsx(z,{p:"10px",borderRadius:"10px",bg:l?"transparent":"Neutral.LightGrey",children:f.jsx(ue,{color:"MagicBlack",children:u})}),f.jsx(z,{col:!0,autoH:!0,my:"15px",gap:"10px",children:e.map(p=>f.jsx(_0r,{type:p.type,name:p.displayName,filename:p.filename,price:p.price,onClickRemove:()=>n(p.filename)},p.id))}),f.jsx(ue,{color:"Red.Magic",fontWeight:"bold",pt:"5px",pb:"10px",children:d}),f.jsxs(bt,{templateColumns:l?"1fr 1fr":"1fr",gap:"10px",children:[f.jsx(Xe,{bg:"Neutral.DarkGrey",onClick:r,children:h}),l&&f.jsx(zOe,{amount:t,onClick:i,isDisabled:s,bg:s?"Neutral.Grey":void 0,textProps:{color:s?"Red.Light":"MagicWhite"}})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const C0r=({cosmeticItems:e,isOpen:t,onClose:r,revertItem:n,onClickSave:i})=>{const{mutateUser:a}=Uh(),{mutate:s}=nue(),[o,l]=j.useState(!1),c=e.reduce((d,h)=>d+h.price,0),u=async()=>{if(!o){l(!0);try{const d={items:e.map(p=>p.id)};await ra("/me/purchase",d),a().catch(console.error);const h=await s();r(),i(h)}catch(d){console.error("Error purchasing cosmetics",d),l(!1)}}};return f.jsxs(Pa,{variant:"PurchaseModal",isOpen:t,onClose:r,closeOnOverlayClick:!1,lockFocusAcrossFrames:!1,trapFocus:!1,blockScrollOnMount:!1,children:[f.jsx(vi,{}),f.jsx(uu,{children:f.jsx(z,{h:"100vh",children:f.jsxs(z,{autoH:!0,position:"relative",w:"90%",bg:"Neutral.White",borderRadius:"10px",p:"10px",children:[f.jsx(Gr,{position:"absolute",top:"10px",right:"0","aria-label":Ee._({id:"t/YqKh"}),icon:f.jsx(du,{}),variant:"ghost",color:"MagicBlack",onClick:r}),f.jsx(A0r,{cosmeticItems:e,totalCost:c,onClose:r,revertItem:n,onClickPurchase:()=>void u()})]})})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const E0r=({avatar:e})=>{const t=tv(),r=br(),n=j.useMemo(()=>({...t,cosmetic:{...t.cosmetic,avatar:e},id:"avatar-preview"}),[...e]);return f.jsx(z,{position:"relative",overflow:"hidden",pb:"34px",orient:"bottom",children:f.jsx(Ne,{position:"absolute",zIndex:1,pointerEvents:"none",transform:`scale(${r?1:.7})`,transformOrigin:"bottom",children:f.jsx(Qh,{size:r?"lg":"xl",playerOrId:n,forceNonStaticAvatar:!0})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const P0r=({avatar:e,setAvatar:t,color:r})=>{const i=_Y().filter(o=>!e.includes(o.filename)),{textColor:a}=$l(r),s=()=>{const o=XF.map((l,c)=>{var d;const u=i.filter(h=>h.type===l);return((d=Jc.sample(u))==null?void 0:d.filename)||e[c]});t(o),Jt("Button_Avatar_Randomizer_01")};return f.jsx(Gr,{"aria-label":Ee._({id:"gH5Gbn"}),onClick:s,icon:f.jsx(N6,{size:"28px"}),w:"32px",h:"32px",variant:"blank",color:a,borderColor:a})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const j0r=({name:e,setName:t,color:r,avatar:n,setAvatar:i})=>{const a=br(),s=j.useRef(null),{backgroundColor:o,textColor:l}=$l(r),[c,u]=j.useState(e),[d,h]=j.useState(!1),{_:p}=Pt();j.useEffect(()=>{var b;d&&((b=s.current)==null||b.select())},[d]);const m=()=>{d&&(c.trim()===""?u(e):t(c)),h(!d)},g=b=>{u(b.target.value)};return f.jsxs(bt,{templateColumns:"1fr auto 1fr",gap:"10px",px:"10px",h:"55px",children:[f.jsxs(bt,{templateColumns:"1fr auto 1fr",gap:2,gridColumn:2,alignItems:"center",children:[d?f.jsx(Z1,{gridColumn:2,ref:s,value:c,onBlur:m,onChange:g,onEnterKeyDown:m,maxLength:LOe,placeholder:p({id:"wkTIqk"}),autoComplete:`${p({id:"0y32WF"})}`,id:"name-input","data-testid":"name-input",type:"text",height:"45px",maxW:{base:"200px",md:"100%"},fontSize:a?"20px":"24px"}):f.jsx(Nn,{gridColumn:2,textAlign:"center",strokeColor:o,strokeWidth:6,fontSize:a?"20px":"24px",fontWeight:"bold",shadowHeight:0,color:l,zIndex:1,mb:"0px",onClick:m,children:n8(e)}),f.jsx(Xe,{gridColumn:3,variant:"blank","aria-label":p({id:"pZIqot"}),onClick:m,children:d?f.jsx(I6,{color:l,size:a?"20px":"24px"}):f.jsx(O6,{color:l,size:a?"20px":"24px"})})]}),f.jsx(z,{orient:"right",gridColumn:3,children:f.jsx(P0r,{avatar:n,setAvatar:i,color:r})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const R0r=({color:e,onClickCancel:t,onClickSave:r,isSelectingLockedCosmetics:n,isUnsavedChanges:i})=>{const{textColor:a}=$l(e);return f.jsxs(z,{autoH:!0,orient:"space-between",children:[f.jsx(BOe,{}),f.jsxs(z,{autoW:!0,gap:2,children:[i&&f.jsx(Xe,{w:"80px",variant:"outline",color:a,borderColor:a,size:"sm","aria-label":Ee._({id:"tfDRzk"}),onClick:i?()=>r():()=>t(),children:n?f.jsx(L,{id:"qiOIiY"}):f.jsx(L,{id:"tfDRzk"})}),f.jsx(Gr,{icon:f.jsx(du,{size:"32px"}),onClick:t,"aria-label":Ee._({id:"yz7wBu"}),variant:"outline",color:a,borderColor:a})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const I0r=({isSelected:e,item:t,avatar:r,onClick:n})=>{var o,l;const{user:i}=Uh(),a=(o=i==null?void 0:i.currencyBalance)!=null?o:0,s=(l=t.price)!=null?l:0;return f.jsx(z,{position:"relative",borderWidth:"4px",borderColor:e?"MagicWhite":"Neutral.DarkGrey",borderRadius:"20px",overflow:"hidden",aspectRatio:"5/6",children:f.jsxs(Xe,{variant:"blank",w:"100%",h:"100%",onClick:()=>n(t),"data-testid":`cosmetic-button-${t.type}-${t.id}`,children:[f.jsxs(z,{col:!0,orient:"bottom",pt:8,children:[f.jsx(z,{opacity:t.isLocked?.7:1,children:f.jsx(CF,{type:t.type,filename:t.filename,avatar:r})}),f.jsx(z,{col:!0,autoH:!0,orient:"bottom left",bg:"Neutral.EarlGrey",zIndex:1,children:f.jsx(ue,{textAlign:"left",fontWeight:"bold",pl:"8px",pt:"1px",pb:"5px",color:"white",flexWrap:"wrap",fontSize:"14px",children:t.displayName})})]}),t.isLocked&&f.jsx(z,{autoH:!0,position:"absolute",top:"5px",left:"5px",orient:"space-between",pr:"9px",children:f.jsx(ue,{textAlign:"left",fontWeight:"bold",color:"MagicWhite",bg:a>=s?void 0:"Red.Dark",p:a>=s?void 0:"1px 4px",borderRadius:a>=s?void 0:"4px",children:`🍞 ${s.toLocaleString()}`})})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const O0r=j.memo(({isSelected:e,...t})=>f.jsx(Cn,{animate:{rotate:e?-4:0,scale:e?1:.9},children:f.jsx(I0r,{isSelected:e,...t})}),(e,t)=>e.item.type==="Expression"?e.avatar===t.avatar:e.isSelected===t.isSelected),mR=({heading:e="",items:t,avatar:r,color:n,onClickCosmeticButton:i})=>{const a=br();if(t.length===0)return null;const s=o=>r.includes(o)||n===o;return f.jsxs(bt,{templateRows:"auto 1fr",children:[e&&f.jsx(_n,{pl:"10px",mb:"10px",children:e}),f.jsx(z,{children:f.jsx(bt,{templateColumns:`repeat(auto-fill, minmax(${a?"100px":"120px"}, 1fr))`,gap:"4px",children:t.map(o=>f.jsx(O0r,{item:o,avatar:r,isSelected:s(o.id),onClick:i},o.id))})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const M0r=({tabIdx:e,setTabIdx:t,color:r,setColor:n,avatar:i,setAvatar:a})=>{const s=g0r(),{primaryColor:o,textColor:l}=$l(r),c=l===Yce.MagicBlack,u=br(),{_:d}=Pt(),h=p=>{const{id:m,type:g,filename:b}=p;if(g==="Color"){const y=m;MF.includes(y)&&n(y)}else a(y=>{const v=XF.indexOf(g),S=[...y];return S[v]=b,S})};return f.jsx(z,{col:!0,orient:"top",bg:"MagicBlack",pt:"10px",zIndex:1,borderRadius:"inherit",borderTopRadius:u?"20px":0,children:f.jsxs(vB,{variant:"vertical",w:"100%",index:e,onChange:t,px:"5px",children:[f.jsx(TB,{mb:"5px !important",px:"5px",children:AR.map((p,m)=>f.jsx(Ip,{_selected:{bg:o},children:f.jsx(z,{"aria-label":p,cursor:"pointer",onPointerDown:()=>{t(m)},children:f.jsx(p0,{src:uke[p].icon,height:"28px",filter:m===e&&c?"invert(1)":void 0})})},p))}),f.jsx(SB,{overflowY:"auto",pt:"10px",sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},children:AR.map(p=>f.jsx(Rp,{children:f.jsxs(z,{orient:"top left",col:!0,gap:"30px",px:"10px",pb:"calc(var(--saib) + 5px)",children:[f.jsx(mR,{items:s[p].owned,avatar:i,color:r,onClickCosmeticButton:h}),f.jsx(mR,{heading:d({id:"qBFI6F"}),items:s[p].claimed,avatar:i,color:r,onClickCosmeticButton:h}),f.jsx(mR,{heading:d({id:"BFN94d"}),items:s[p].forSale,avatar:i,color:r,onClickCosmeticButton:h})]})},p))})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const EF=j.forwardRef((e,t)=>{const r=_Y(),n=cke(),i=Xce(),a=Qce(),s=JF(),o=pu(),[l,c]=j.useState(i),[u,d]=j.useState(a),[h,p]=j.useState(s),[m,g]=j.useState(0),[b,y]=j.useState(!1),{_:v}=Pt(),S=Wd(),x=jo(),w=t6(),A={color:u,avatar:h},{background:_}=NF(A),C=l.trim()!==i||u!==a||h.join()!==s.join();j.useEffect(()=>{b0r(),r.forEach(({filename:D})=>{const F=qc(D);if(F){const $=new Image;$.src=F}})},[]),j.useEffect(()=>{c(i),d(a),p(s)},[i,a,s.join()]);const E=D=>{const F=l.trim(),$=[...n.map(fe=>fe.filename),...(D||[]).map(fe=>fe.cosmeticFilename)],Y=h.map((fe,U)=>$.some(H=>H===fe)?fe:s[U]);x({type:"SetPlayerData",name:F,cosmetic:{color:u,avatar:Y}})},R=[];for(const D of h)if(!n.some($=>$.filename===D)){const $=f1.find(Y=>Y.filename===D);$&&R.push($)}const P=D=>{D!==m&&(g(D),Jt("Button_Main_01"))},O=D=>{if(R.length&&!b){y(!0);return}if(l.trim()===""){P(0);return}E(D),w(),Jt("Button_Avatar_ThatsMe_01")},k=()=>{C?S({title:v({id:"q5/C4G"}),message:v({id:"e0lyrX"}),okText:v({id:"tfDRzk"}),cancelText:v({id:"bzSI52"}),onConfirm:()=>O(),onCancel:w}):w()},I=D=>{const F=h.map($=>$===D?s[h.indexOf($)]:$);p(F)},M=()=>{y(!1)};return j.useImperativeHandle(t,()=>({onCloseDrawer:k})),f.jsxs(f.Fragment,{children:[f.jsx(C0r,{isOpen:b,onClose:M,cosmeticItems:R,revertItem:I,onClickSave:O}),f.jsx(z,{autoH:!0,position:"absolute",p:"10px",pr:"calc(var(--sair) + 10px)",pl:"calc(var(--sail) + 10px)",zIndex:2,top:"var(--sait)",children:f.jsx(R0r,{color:u,onClickCancel:k,onClickSave:O,isSelectingLockedCosmetics:R.length>0,isUnsavedChanges:C})}),f.jsxs(bt,{id:"ProfileDrawer",templateRows:o?"1fr":"1fr 1fr",templateColumns:o?"1fr 1fr":"1fr",background:_,animation:ZMe,borderRadius:"inherit",boxShadow:"-4px -4px 4px 4px rgba(0, 0, 0, 0.2)",pt:"var(--sait)",pr:"var(--sair)",pl:"var(--sail)",children:[f.jsxs(bt,{templateRows:"1fr auto",children:[f.jsx(E0r,{avatar:h}),f.jsx(j0r,{name:l,setName:c,color:u,avatar:h,setAvatar:p})]}),f.jsx(z,{overflow:"hidden",pt:o?"60px":0,children:f.jsx(M0r,{tabIdx:m,setTabIdx:P,color:u,setColor:d,avatar:h,setAvatar:p})})]})]})});EF.displayName="ProfileDrawer";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const k0r={profile:EF,"profile-avatar":EF,party:Gf,"party-players":Gf,"party-join":Gf,"party-invite":Gf,"party-settings":Gf};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const D0r=()=>{const e=br(),t=rue(),r=j.useRef(),n=j.useRef(null),[i,a]=j.useState(!1),s=t6(),o=m=>{r.current=m,a(!0),Jt("Button_Modal_Open_01")},l=()=>{a(!1),Jt("Button_Modal_Close_01")};j.useEffect(()=>{t?i?(l(),setTimeout(()=>o(t),300)):o(t):i&&l()},[t]);const c=()=>{var m;(m=n.current)!=null&&m.onCloseDrawer?n.current.onCloseDrawer():s()},u=()=>{if(!r.current)return null;const m=k0r[r.current];return f.jsx(m,{ref:n})},d=r.current&&["profile","profile-avatar","name"].includes(r.current),h=r.current&&r.current.startsWith("party-")||r.current==="party";let p;return d?p=e?"bottom":"right":h?p="left":p="top",f.jsxs(wJe,{isOpen:i,onClose:c,placement:p,variant:"SystemDrawer",isFullHeight:!0,lockFocusAcrossFrames:!1,size:!e&&p==="right"?"lg":void 0,children:[f.jsx(vi,{}),f.jsx(hfe,{borderLeftRadius:d&&!e?"25px":0,borderRightRadius:d?0:"25px",style:e?void 0:{transformOrigin:d?"top right":"top left"},children:u()})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function L0r(){const e=Pe(tK),t=k0(tK),r=j.useRef(null),{sendToast:n}=Xh(),{_:i}=Pt(),a=()=>{t(void 0),n({title:i({id:"n35SGJ"}),description:i({id:"2w10Wi"})})},s=()=>{Qn.capture("UI_ReportFlaggedContent",{content:e==null?void 0:e.content,reason:e==null?void 0:e.reason}),n({title:i({id:"N8ppc3"}),description:i({id:"fKVwWf"})}),t(void 0)};return f.jsxs(y6,{variant:"Dialog",isOpen:e!==void 0,onClose:()=>{},leastDestructiveRef:r,lockFocusAcrossFrames:!1,closeOnEsc:!1,closeOnOverlayClick:!1,children:[f.jsx(vi,{}),f.jsxs(v6,{children:[f.jsx(yv,{children:f.jsx(L,{id:"Kjgt/E"})}),f.jsxs(vv,{children:[f.jsxs("p",{children:[f.jsxs("strong",{children:['"',e==null?void 0:e.content,'"']})," ",f.jsx(L,{id:"m+K9Bc"})]}),f.jsx("p",{style:{marginTop:"1rem"},children:f.jsx(L,{id:"clG+qL"})}),f.jsxs("ul",{style:{paddingLeft:"10px",listStyleType:"none",marginTop:"1rem"},children:[f.jsx("li",{children:f.jsx(L,{id:"rpeov1"})}),f.jsx("li",{children:f.jsx(L,{id:"PPmRju"})}),f.jsx("li",{children:f.jsx(L,{id:"4cTr1o"})})]}),f.jsx("p",{style:{marginTop:"1rem"},children:f.jsx(L,{id:"uHo3IZ"})}),f.jsxs(z,{justifyContent:"right",gap:2,mt:3,width:"auto",children:[f.jsx(Xe,{backgroundColor:"Neutral.DarkGrey",onClick:s,children:f.jsx(L,{id:"QMKaqJ"})}),f.jsx(Xe,{ref:r,onClick:a,backgroundColor:"Blue.Magic",children:f.jsx(L,{id:"2rInNF"})})]})]})]})]})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const AY=()=>f.jsx(Xe,{size:"xs",width:"auto",height:"32px",leftIcon:f.jsx(dN,{size:20}),backgroundColor:"Neutral.Black",onClick:()=>{Qr?Al(yF).catch(console.warn):window.open(yF,"_blank")},children:f.jsx(L,{id:"Z+d6vq"})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function CY({isOpen:e,children:t,title:r,showBugInfo:n=!0,...i}){const a=zh(),[s,o]=j.useState(!1),l=j.useRef(null);return f.jsxs(y6,{variant:"CriticalError",isOpen:e&&!s,onClose:()=>{},leastDestructiveRef:l,lockFocusAcrossFrames:!1,closeOnEsc:!1,closeOnOverlayClick:!1,...i,children:[f.jsx(vi,{}),f.jsxs(v6,{maxWidth:"650px",children:[f.jsxs(yv,{pt:"2",children:[f.jsx(ug,{}),r]}),f.jsx(vv,{fontSize:"sm2",children:t}),"Room ID: ",Fd(),n&&f.jsxs(f.Fragment,{children:[f.jsx(ue,{fontStyle:"italic",children:f.jsx(L,{id:"RbX5Ld",components:{0:f.jsx("br",{})}})}),f.jsxs(z,{orient:"left",gap:2,children:[f.jsx(AY,{}),a&&f.jsx(Xe,{size:"xs",width:"auto",height:"32px",bg:"black",color:"Orange.Light",onClick:()=>{o(!0)},children:"[dev] hide this modal"})]})]})]})]})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const F0r=5;function $0r(){const e=e6(),[t,r]=j.useState(!1),{_:n}=Pt();return j.useEffect(()=>e.addReconnectionListener(a=>{r(!a.isConnected&&a.numConsecutiveAttempts>=F0r)}),[e]),j.useEffect(()=>{t&&console.error("Connection to server lost")},[t]),f.jsxs(CY,{isOpen:t,title:n({id:"H95fzK"}),children:[f.jsx("strong",{children:f.jsx(L,{id:"l2WiwU"})}),f.jsx("br",{}),f.jsx(L,{id:"ODXTm1"})]})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Nle=120;function B0r({isOpen:e}){const t=j.useRef(null),[r,n]=j.useState(Nle),i=j.useRef(null);return j.useEffect(()=>(e&&Qr&&(i.current=setInterval(()=>{n(a=>a<=1?(J5("VersionExpiredDialog auto-closed"),0):a-1)},1e3)),()=>{i.current&&clearInterval(i.current)}),[e]),f.jsxs(y6,{isOpen:e,leastDestructiveRef:t,lockFocusAcrossFrames:!1,closeOnEsc:!1,closeOnOverlayClick:!1,onClose:()=>{},variant:"CriticalError",children:[f.jsx(vi,{backgroundColor:"ScrimDarker"}),f.jsxs(v6,{maxWidth:"500px",bg:"Blue.Dark",border:"2px solid",borderColor:"Blue.Light",color:"white",borderRadius:"card",alignItems:"center",pb:6,children:[f.jsx(yv,{pt:"2",fontSize:"lg",fontWeight:"bold",children:f.jsx(L,{id:"X/EntC"})}),f.jsx(vv,{fontSize:"md",textAlign:"center",maxWidth:"300px",children:Qr?f.jsx(L,{id:"Y3K7rE",components:{0:f.jsx("strong",{})}}):Tt==="webview"?f.jsx(L,{id:"pWx10w"}):f.jsx(L,{id:"ieClVF"})}),f.jsx(z,{mt:4,children:f.jsx(xv,{bg:"white",color:"black",progress:Qr?1-r/Nle:0,progressColor:"Yellow.Dark",onClick:()=>{Qr?J5("User accepted version update"):window.location.reload()},children:Qr?f.jsx(L,{id:"zcOB1h"}):f.jsx(f.Fragment,{children:Tt==="webview"?f.jsx(L,{id:"xGVfLh"}):f.jsx(L,{id:"xGVfLh"})})})}),Qr&&f.jsx(z,{mt:3,fontSize:"sm",children:f.jsx(L,{id:"NBWG8K",values:{0:r===1?"":"s",secondsUntilDiscordActivityAutoClose:r},components:{0:f.jsx("strong",{style:{padding:"0 4px"}})}})}),f.jsxs(z,{gap:1,mt:2,children:[f.jsx(mS,{href:"https://discord.com/channels/808935495543160852/1393308739272052796",isExternal:!0,fontWeight:"bold",children:f.jsx(L,{id:"CWe7wB"})}),f.jsx(gN,{})]})]})]})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function N0r(){const e=e6(),[t,r]=j.useState(null),{_:n}=Pt(),i=k0(r6);j.useEffect(()=>{e.onPermanentlyDisconnected=l=>{r(l),l===pa.AuthenticationFailure&&i(l)}},[e]);let a=n(Qr?{id:"zcOB1h"}:{id:"JrrXit"}),s=null,o=!0;switch(t){case pa.PlayerKicked:{a=n({id:"TsZcvO"}),s=n({id:"w/9X0u"}),o=!1;break}case pa.ConnectionSuperseded:{s=n({id:"eqyS05"});break}case pa.UserSessionSuperseded:{s=n({id:"eqyS05"});break}case pa.VersionMismatch:{s=n({id:"XVH5E9"});break}case pa.VersionExpired:{s=n({id:"BU6Kma"});break}case pa.AuthenticationFailure:break}return j.useEffect(()=>{},[t]),t===pa.VersionExpired?f.jsx(B0r,{isOpen:!0}):f.jsxs(CY,{isOpen:t!==null,title:a,showBugInfo:o,children:[s,(t===pa.ConnectionSuperseded||t===pa.UserSessionSuperseded)&&f.jsx(z,{mt:2,children:f.jsx(Xe,{variant:"white",onClick:()=>{e.connect()},children:f.jsx(L,{id:"gcoiFh"})})}),t===pa.PlayerKicked&&Qr&&f.jsx(z,{mt:4,children:f.jsx(Xe,{variant:"white",onClick:()=>{J5("User chose to exit the game")},children:f.jsx(L,{id:"nWqDky"})})})]})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const q0r={AvocadoMini:j.lazy(()=>tr(()=>import("./AvocadoMiniView-CeAPLSjh.js"),__vite__mapDeps([8,1,9,10]))),Lychee:j.lazy(()=>tr(()=>import("./LycheeView-CB_ykFTZ.js"),__vite__mapDeps([11,1]))),Mango:j.lazy(()=>tr(()=>import("./MangoView-CsPn1sRp.js"),__vite__mapDeps([12,1,9,13]))),Nectarine:j.lazy(()=>tr(()=>import("./NectarineView-DFzKnPH3.js"),__vite__mapDeps([14,1,15,16]))),Orange:j.lazy(()=>tr(()=>import("./OrangeView-BohHNra6.js"),__vite__mapDeps([17,1,18,19]))),Peach:j.lazy(()=>tr(()=>import("./PeachView-BCMXEsC8.js"),__vite__mapDeps([20,1,15,21,16,18]))),Kiwi:j.lazy(()=>tr(()=>import("./KiwiView-BzVPVyPR.js"),__vite__mapDeps([22,1,19,23,24]))),Trio:j.lazy(()=>tr(()=>import("./TrioView-DFVfeLgD.js"),__vite__mapDeps([25,1,26,23,27,28,29,30,10]))),Guava:j.lazy(()=>tr(()=>import("./GuavaView-Cl87g5hY.js"),__vite__mapDeps([31,1,23,27,26,28,13,32,33,34,10,35]))),Honeydew:j.lazy(()=>tr(()=>import("./HoneydewView-CKHAMuh7.js"),__vite__mapDeps([36,1,26,23,27,28,13,32,34,10,35]))),Farkleberry:j.lazy(()=>tr(()=>import("./FarkleberryView-C_ysdR8g.js"),__vite__mapDeps([37,1,23,34,10,35]))),Avocado:j.lazy(()=>tr(()=>import("./AvocadoView-C4-WD4Sw.js"),__vite__mapDeps([38,1,30,34,10,35,28,23,27,24,39,13]))),Durian:j.lazy(()=>tr(()=>import("./DurianView-CBFEGFOc.js"),__vite__mapDeps([40,1,26,23,27,28,39,13,29,33]))),Jalapeno:j.lazy(()=>tr(()=>import("./JalapenoView-B2WgKdaE.js"),__vite__mapDeps([41,1,15,23,35,21,24,27]))),Quinoa:j.lazy(()=>tr(()=>Promise.resolve().then(()=>Atr),void 0))};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const z0r=()=>{const e=J7(),t=q0r[e];return f.jsx(z,{children:f.jsx(bi,{mode:"wait",children:f.jsx(Ol,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{type:"spring",stiffness:800,damping:40,mass:.5},children:f.jsx(j.Suspense,{fallback:f.jsx(mN,{}),children:f.jsx(t,{})})},e)})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const qle=e=>f.jsx(Ne,{my:{base:"6px",sm:"7px",md:"8px"},minW:"4px",h:{base:"56px",sm:"64px",md:"72px"},bg:"Neutral.LightGrey",borderRadius:"10px",opacity:.2,...e});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const W0r=()=>{const e=Wd(),{_:t}=Pt();return()=>new Promise(()=>{e({title:t({id:"S9jHec"}),isCentered:!0,content:f.jsxs(z,{col:!0,gap:6,p:2,pt:1,children:[f.jsx(ue,{fontSize:"md",children:f.jsx(L,{id:"IXkxGn"})}),f.jsx(DOe,{size:"lg",children:f.jsx(L,{id:"5lWFkC"})})]})})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function H0r(e,t){return t.filter(n=>{const i=e[n];return i===xR.Hidden?!1:Tt==="webview"?["Trio","Durian","Avocado"].includes(n):i===xR.Visible})}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const U0r=({numIncompleteTasks:e})=>f.jsx(mv,{className:"NotificationBadge",size:{base:"16px",sm:"20px",md:"24px"},bg:e===0?"Green.Magic":"Red.Magic",position:"absolute",top:"-2px",right:"-4px",zIndex:2,boxShadow:"0px 3px 8px rgba(0, 0, 0, 0.4), 0px 1px 3px rgba(0, 0, 0, 0.3)",children:e===0?f.jsx(Gat,{boxSize:{base:"12px",sm:"14px",md:"16px"},color:"white"}):f.jsx(ue,{fontSize:{base:"12px",sm:"14px",md:"16px"},fontWeight:"800",color:"white",letterSpacing:"-0.5px",children:e>3?"9+":e})});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const gR=({onClick:e,gameName:t,numIncompleteTasks:r,isActive:n})=>{const i=Zi[t],{name:a,thumbnailImage:s,secondaryAccentColor:o,primaryAccentColor:l}=i,[c,u]=LF("colors",[l,o]),d=fn(),h=Fl(),p=d&&r!==void 0&&r>0;return f.jsxs(Xe,{variant:"blank","data-testid":`game-thumbnail-${t}`,onClick:e,position:"relative",my:1,aspectRatio:"1/1",minW:{base:"60px",sm:"70px",md:"80px"},w:{base:"60px",sm:"70px",md:"80px"},filter:h===t||h==="Lobby"?"brightness(1)":"brightness(0.4)",children:[p&&f.jsx(U0r,{numIncompleteTasks:r}),f.jsx(Ne,{h:"100%",w:"100%",style:{backgroundImage:n?`linear-gradient(#3c3e4b, #1F2029), linear-gradient(to bottom, ${c}, ${u})`:void 0,backgroundOrigin:"border-box",backgroundClip:"content-box, border-box"},borderColor:"transparent",borderWidth:{base:"2px",sm:"3px",md:"4px"},borderRadius:"20px",bg:"linear-gradient(180deg, rgba(31, 32, 41, 0.45) 0%, rgba(31, 32, 41, 0.55) 100%)",overflow:"hidden",position:"relative",children:f.jsx(z,{orient:"bottom",background:`url("${s}")`,backgroundColor:i.primaryAccentColor,backgroundSize:"cover",objectFit:"cover",children:f.jsxs(z,{h:"35%",position:"relative",children:[f.jsx(z,{position:"absolute",top:0,left:0,right:0,bottom:0,bg:"MagicBlack",opacity:.7}),f.jsx(ue,{fontWeight:"bold",fontSize:{base:"38%",sm:"45%",md:"50%"},color:"MagicWhite",position:"relative",zIndex:1,px:1,py:1,lineHeight:"1",children:a})]})})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const G0r=()=>{const e=J7(),t=QF(),r=W0r(),n=fn(),{data:i}=jFe(),a=ga().root_grindGameNamesSorted,s=ga().root_dailyGameNamesSorted,o=ga().root_gameStatuses,l=ga().root_gameNamesSorted_Desktop,c=H0r(o,l),u=Nl(),d=Pe(Lv),h=p=>{["Peach","Orange"].includes(p)&&!n?r():t(p)};return f.jsxs(bt,{visibility:d?"hidden":"visible",px:{base:1,sm:2},templateRows:u?"auto auto":"1fr",templateColumns:u?"1fr":"auto auto",overflowX:u?"hidden":"auto",width:u?"100%":"auto",sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},children:[f.jsxs(z,{overflow:u?"hidden":void 0,children:[f.jsx(z,{autoW:!0,children:f.jsxs(z,{col:!0,autoW:!0,children:[f.jsxs(z,{orient:"left",autoH:!0,gap:.5,align:"center",children:[f.jsx(oN,{size:u?16:20}),f.jsx(ue,{fontSize:{base:"xs ",sm:"sm"},textAlign:"center",fontWeight:"demibold",children:f.jsx(L,{id:"vvnngZ"})})]}),f.jsxs(z,{gap:.5,orient:"top left",overflowX:"auto",overflowY:"hidden",wrap:"nowrap",sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},children:[a.map(p=>{var m;return f.jsx(gR,{gameName:p,onClick:()=>h(p),isActive:e===p,numIncompleteTasks:i&&((m=i[p])==null?void 0:m.numIncompleteTasks)},`grind-${p}`)}),(Tt!=="webview"||Tt==="webview"&&!u)&&f.jsx(qle,{mr:2,ml:1.5})]})]})}),Tt!=="webview"&&f.jsx(z,{overflow:u?"hidden":void 0,autoW:!0,children:f.jsxs(z,{overflowX:u?"auto":void 0,col:!0,autoW:!0,children:[f.jsxs(z,{orient:"left",autoH:!0,gap:.5,align:"center",children:[f.jsx(Tv,{size:u?16:20}),f.jsx(ue,{fontSize:{base:"xs ",sm:"sm"},textAlign:"center",fontWeight:"demibold",children:f.jsx(L,{id:"U0sC6H"})})]}),f.jsxs(z,{gap:.5,orient:"top left",overflowX:"auto",overflowY:"hidden",wrap:"nowrap",sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},pr:u?1:0,children:[s.map(p=>{var m;return f.jsx(gR,{gameName:p,onClick:()=>h(p),isActive:e===p,numIncompleteTasks:i&&((m=i[p])==null?void 0:m.numIncompleteTasks)},`daily-${p}`)}),!u&&f.jsx(qle,{alignSelf:"flex-end",mr:2,ml:1.5})]})]})})]}),f.jsx(z,{overflow:u?"hidden":void 0,children:f.jsxs(z,{overflowX:u?"auto":void 0,col:!0,autoW:!0,children:[f.jsxs(z,{orient:"left",autoH:!0,gap:.5,align:"center",children:[f.jsx(q6,{size:u?16:20}),f.jsx(ue,{fontSize:{base:"xs ",sm:"sm"},textAlign:"center",fontWeight:"demibold",children:f.jsx(L,{id:"NcCDMS"})})]}),f.jsx(z,{gap:.5,orient:"top left",wrap:"nowrap",overflowY:"hidden",overflowX:"auto",sx:{"&::-webkit-scrollbar":{width:"4px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(255, 255, 255, 0.2)",borderRadius:"3px","&:hover":{background:"rgba(255, 255, 255, 0.3)"}}},children:c.map(p=>{var m;return f.jsx(gR,{gameName:p,isActive:e===p,numIncompleteTasks:i&&((m=i[p])==null?void 0:m.numIncompleteTasks),onClick:()=>h(p)},`party-${p}`)})})]})})]})},V0r="/version/436ff68/assets/idokay%20-%20What%20Floor-DBTdaTih.webm";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Y0r={LobbyMusic:V0r};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};async function K0r(){const{set:e}=ft(),t=EY();if(t.platform!=="desktop")return;const{enabled:r}=await t.commands.encourageHardwareAcceleration();r?console.log("Hardware acceleration is enabled"):console.warn("Hardware acceleration is disabled"),av("discord_hardware_acceleration_enabled",r),e(RFe,r)}async function X0r(){if(Tt!=="discord")throw new Error(`Discord Embedded SDK is not available on ${Tt}`);const{get:e,set:t}=ft();let r;if(r=e(gd),r)return r;const{DiscordSDK:n}=await tr(async()=>{const{DiscordSDK:i}=await import("./index-BSQ3YlOQ.js");return{DiscordSDK:i}},__vite__mapDeps([0,1]));return r=new n(Z7,{disableConsoleLogOverride:!0}),await r.ready(),t(gd,r),r}function EY(){const{get:e}=ft(),t=e(gd);if(!t)throw new Error("Discord SDK not initialized");return t}async function Q0r(){const e=EY(),{set:t}=ft();await e.subscribe("ACTIVITY_INSTANCE_PARTICIPANTS_UPDATE",r=>{const n=r.participants.map(i=>i.id);t(IFe,n)})}async function J0r(){const e=EY(),{get:t,set:r}=ft(),n=e.subscribe("SPEAKING_START",a=>{const s=t(Mp);r(Mp,[...s,a.user_id]);const o=t(gr);a.user_id===o&&DF.getInstance().sendMessage({scopePath:["Room"],type:"ReportSpeakingStart"})},{channel_id:e.channelId}),i=e.subscribe("SPEAKING_STOP",a=>{const s=t(Mp);r(Mp,s.filter(o=>o!==a.user_id))},{channel_id:e.channelId});await Promise.all([n,i])}function dke(e){return typeof e=="object"&&e!==null&&"code"in e&&"message"in e}function Z0r(e){return dke(e)&&e.code===5e3}function enr(e){return dke(e)&&e.code===4009}async function tnr(){const e=await X0r();av("discordActivityInstanceId",e.instanceId),await K0r(),console.log("Discord SDK is ready. Instance ID:",e.instanceId);try{return{code:(await e.commands.authorize({client_id:Z7,response_type:"code",state:"",prompt:"none",scope:[...kOe]})).code,discordSdk:e}}catch(t){const r=JSON.stringify(t);if(Z0r(t))return console.info("User chose not to authorize the app. Closing activity normally.",r),J5("User chose not to authorize the app"),await new Promise(()=>{});throw t}}async function rnr(e,t){let r;try{r=await e.commands.authenticate({access_token:t})}catch(n){if(enr(n))return{kind:"token_mismatch",error:n};throw n}return e.commands.userSettingsGetLocale().then(({locale:n})=>{Qn.setPersonProperties({locale:n});const i=n.slice(0,2);u1(n)?$w(n):u1(i)?$w(i):console.warn("Unsupported locale from Discord",n)}).catch(n=>{console.error("DiscordAuth: Error getting user locale",n)}),Q0r().catch(console.error),J0r().catch(console.error),{kind:"ok",auth:r}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};async function pke(){var t,r,n,i,a,s;const{set:e}=ft();switch(Tt){case"discord":{const{code:o,discordSdk:l}=await tnr(),c=await inr(l,o),u=await rnr(l,c.discordAccessToken);return u.kind==="token_mismatch"?(console.warn("Discord auth token does not match the active Discord account (likely due to Multiple Accounts). Clearing stored JWT and retrying with a fresh session.",u.error),e(wR,void 0),await pke()):(console.log(`Successfully authenticated user ${u.auth.user.username} (${u.auth.user.id}) with Discord SDK`),e(xce,c.discordAccessToken),e(gr,c.databaseUser.id),e(wR,c.jwt),c.databaseUser)}case"webview":case"web":{const o=OXt();if(o){const d=await zle({provider:"apple",appleAuthCode:o});if(d.isAuthenticated)return e(gr,d.databaseUser.id),d.databaseUser;throw new Error("Failed to authenticate with Apple")}const l=new URLSearchParams(window.location.search),c=l.get("guestPlay")==="true";if(c){l.delete("guestPlay");const d=new URL(window.location.href);d.search=l.toString(),window.history.replaceState({},"",d.toString())}const u=MXt();try{const d=await zle(u?{provider:"discord",grantRequest:u}:{provider:"maybe-existing-jwt"});if(d.isAuthenticated)return Tt==="webview"&&e(gr,d.databaseUser.id),d.databaseUser;if(Tt==="webview"&&!c){if((n=(r=(t=window.webkit)==null?void 0:t.messageHandlers)==null?void 0:r.returnToHomeScreen)!=null&&n.postMessage)window.webkit.messageHandlers.returnToHomeScreen.postMessage({message:Ee._({id:"it5MHq"}),type:"guest_session_expired",timestamp:new Date().toISOString()});else throw new Error("returnToHomeScreen message handler not available");return null}return null}catch(d){if(console.error("Failed to authenticate",{surface:Tt,isGuestPlay:c,discordOAuthGrantRequest:u}),Tt==="webview"&&!c)if((s=(a=(i=window.webkit)==null?void 0:i.messageHandlers)==null?void 0:a.returnToHomeScreen)!=null&&s.postMessage)window.webkit.messageHandlers.returnToHomeScreen.postMessage({message:Ee._({id:"it5MHq"}),type:"guest_session_expired",timestamp:new Date().toISOString()});else throw new Error("returnToHomeScreen message handler not available");return null}}}}async function nnr(e){await Promise.all([rK("/me",e,{revalidate:!1,populateCache:!0}),rK("/me/grants")])}async function inr(e,t){var n;const r={grantRequest:{code:t},activityInstanceId:e.instanceId,guildId:(n=e.guildId)!=null?n:void 0};return await ra("/user/authenticate-discord",r)}async function zle(e){return await ra("/user/authenticate-web",e)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};async function Wle(){await ph([["#slapper",{opacity:0,scale:4},{duration:0}]])}async function hke(){await ph([["#slapper",{opacity:1,scale:1},{type:"spring",stiffness:500,damping:30}]])}async function fke(){await ph([["#slapper",{opacity:0,scale:4},{type:"spring",stiffness:500,damping:30}]])}async function anr(){await hke(),await fi(1),await fke()}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const snr=()=>{const e=OFe();return{slap:async i=>new Promise(a=>{e(i),setTimeout(async()=>{await Wle(),await anr(),a()},0)}),showSlap:async i=>new Promise(a=>{e(i),setTimeout(async()=>{await Wle(),await hke(),a()},0)}),hideSlap:async()=>{await fke()}}};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const onr=({children:e,...t})=>f.jsx(ue,{variant:"textSlapper-default",color:"Blue.Magic",maxW:"90%",transform:"rotate(-9deg)",style:{WebkitTextStroke:"2px white"},...t,children:e});globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function lnr(){const{slap:e}=snr();return{slapText:async(r,n={})=>{await e(f.jsx(onr,{...n,children:r}))}}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function cnr(){const e=fn();j.useEffect(()=>{var t,r;Tt==="webview"&&e&&(r=(t=window.webkit)==null?void 0:t.messageHandlers)!=null&&r.jsReady&&window.webkit.messageHandlers.jsReady.postMessage({})},[e]),j.useEffect(()=>{if(Tt!=="webview")return;const t=r=>{try{const n=JSON.parse(r.detail.custom.a.DeepLinkPayloadDataJson);ft().set(UV,n)}catch(n){console.error("[apple] error parsing deep link data",n)}};return window.addEventListener("magiccircle:notification",t),()=>{window.removeEventListener("magiccircle:notification",t)}},[])}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function unr(){const e=Pe(r6);j.useEffect(()=>{var t,r,n;if(!(Tt!=="webview"||!e||e===pa.VersionExpired)){console.log("🚨 [iOS] Authentication failure detected, notifying native layer");try{(n=(r=(t=window.webkit)==null?void 0:t.messageHandlers)==null?void 0:r.returnToHomeScreen)!=null&&n.postMessage?window.webkit.messageHandlers.returnToHomeScreen.postMessage({message:Ee._({id:"HQqGBG"}),type:"authentication_failure",error:e,timestamp:new Date().toISOString()}):console.error("🚨 [iOS] webkit.messageHandlers.returnToHomeScreen not available")}catch(i){console.error("🚨 [iOS] Failed to notify native layer of auth failure:",i)}}},[e])}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function dnr(){window.history.replaceState({},document.title,window.location.pathname)}function pnr(){const e=MFe(),t=Wh();return j.useCallback(()=>{dnr()},[e,t])}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function hnr(){const e=J7();try{window.mc_desktop_current_game_name=Zi[e].name.props.message}catch(t){console.error("[useAppEffects] Error setting mc_desktop_current_game_name",t)}}function fnr(){const e=e6(),t=KF(),r=i1e(),n=z6(),i=PN(),a=Fl(),s=J7(),o=Ope(),l=ga(),c=j.useRef(!1),u=Ace(),[d,h]=Ea(QV);hnr(),unr(),cnr();const{mutate:p}=rv(),{_:m}=Pt(),{slapText:g}=lnr(),b=jo(),y=kFe(),v=QF(),S=pnr(),x=k0(qF);j.useEffect(()=>{jl.skipAnimations=l.root_skipFramerMotionAnimations||u},[l.root_skipFramerMotionAnimations,u]),j.useEffect(()=>{(async()=>{var _,C;if(c.current)return;c.current=!0;const A=await pke();if(A&&(Qn.identify(A.id),Tt==="webview"&&((C=(_=window.webkit)==null?void 0:_.messageHandlers)!=null&&C.setUserId)&&window.webkit.messageHandlers.setUserId.postMessage(A.id),x(!0),nnr(A).catch(E=>{console.error("[useAppEffects] Error populating SWR cache",E)})),window.location.search.includes("error=true"))throw new Error("Some test error");S(),e.connect()})().catch(A=>{throw ft().set(r6,A instanceof Error?A.stack:A),A})},[]),j.useEffect(()=>{const w=a==="Lobby"?s==="Peach"?Zi[s].music:Y0r.LobbyMusic:Zi[a].music;return w&&t&&Xbe(w),()=>{XN()}},[a,s,t]),j.useEffect(()=>{const{set:w}=ft();PM(),_R()},[l.testing_muteMusic,l.testing_muteSoundEffects]),j.useEffect(()=>{a==="Lobby"?(g5(!1),y(!0)):(o.closeAll({positions:["top"]}),v(a),g5(!0))},[a]),j.useEffect(()=>{if(!r||!i)return;const w=m(n?{id:"UaN3Il"}:{id:"Z0hiCu"});g(w).catch(console.error),v(i)},[r]),j.useEffect(()=>{const w=s;b({type:"VoteForGame",gameName:w}),n&&b({type:"SetSelectedGame",gameName:w})},[s]),TKe(()=>{GOe(d,new Date)<=0&&(h(sS(Ay())),p())},1e3)}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const mnr=()=>!!navigator.userAgent.toLowerCase().includes("mc-playwright-test");globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const gnr=()=>{const{_:e}=Pt();mnr(),j.useEffect(()=>{},[e])};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const bnr=1200,ynr=680,vnr=()=>{const e=Nl(),t=DFe(),r=()=>{const n=document.getElementById("AppWrapper");if(!n)return;const i=n.offsetWidth,a=n.offsetHeight,s=i/bnr,o=a/ynr,l=Math.min(s,o);t(l)};j.useEffect(()=>{if(e){t(1);return}return r(),window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}},[e])};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Tnr=()=>{const{isOpen:e,close:t}=VA();return f.jsxs(Pa,{isOpen:e,isCentered:!0,onClose:t,variant:"Presentable",lockFocusAcrossFrames:!1,trapFocus:!1,blockScrollOnMount:!1,children:[f.jsx(vi,{}),f.jsx(uu,{children:f.jsx(z,{flexDirection:"column",height:"100vh",justifyContent:"start",children:f.jsx(XMe,{})})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Snr=()=>{const e=LFe(),t=Pe(Hh),r=Pe(Tce),n=Fl();return fnr(),gnr(),vnr(),f.jsxs(Ne,{id:"AppWrapper",w:"100%",h:"100%",position:"relative",children:[f.jsx(Ol,{zIndex:"BackgroundImage",position:"absolute",children:f.jsx(pN,{gameName:"Lobby",brightness:gce()?.8:.5,renderInPortal:!0})}),f.jsx(BMe,{}),f.jsx(frr,{}),f.jsx(VXt,{}),f.jsx(Trr,{}),f.jsx(irr,{}),f.jsx(Tnr,{}),f.jsx(Srr,{}),f.jsx(_rr,{}),f.jsx(D0r,{}),e&&f.jsx(srr,{}),f.jsx(HXt,{}),ch==="desktop"&&f.jsx(drr,{}),f.jsx(Ftr,{}),f.jsx(L0r,{}),f.jsx(N0r,{}),f.jsx($0r,{}),f.jsx($tr,{}),f.jsx(z,{id:"App",children:n==="Quinoa"&&!t?f.jsx(QMe,{}):f.jsxs(bt,{templateRows:"auto 1fr auto",overflow:"hidden",children:[f.jsx(YOe,{}),f.jsx(z,{minHeight:"200px",overflow:"hidden",children:f.jsx(z0r,{})}),!r&&f.jsx(z,{overflow:"hidden",orient:"top",pt:{base:1,sm:2},pb:{base:0,sm:1,md:2},children:f.jsx(G0r,{})})]})})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function xnr(){const{_:e}=Pt(),t=Pe(r6);return t?f.jsx(CY,{isOpen:!0,title:e({id:"fFoXXe"}),children:f.jsx(Bhe,{wordBreak:"break-word",whiteSpace:"pre-wrap",children:JSON.stringify(t,null,2)})}):null}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const wnr={type:"cookie",get:()=>"dark",set:()=>{}},_nr=({children:e,...t})=>f.jsx(Mpe,{colorModeManager:wnr,...t,children:e}),Anr="/version/436ff68/assets/smokey_buggs-BiwxuBjs.webp";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const Cnr=({children:e})=>f.jsx(ue,{mb:"2px",fontSize:{base:"xs",sm:"sm"},children:e}),Enr=({children:e})=>f.jsx(Ne,{bg:"#191919",color:"white",m:"15px",p:"20px",border:"2px solid #ff8d8d",borderRadius:"0.25rem",userSelect:"text",zIndex:FFe,position:"fixed",top:"0",left:"0",right:"0",bottom:"0",overflow:"auto",children:e}),Pnr=({componentStack:e})=>f.jsx(Ne,{as:"pre",whiteSpace:"pre-wrap",wordBreak:"break-all",maxHeight:"60vh",children:jnr(e)}),jnr=e=>e.split(`
`).map((r,n)=>{const i=r.replace(/http[s]?:\/\/[^/]*/,"");return f.jsx(Cnr,{children:i},n)}),Rnr=({error:e,componentStack:t})=>{const r=`${String(e)}${t}`,{onCopy:n}=Ihe(r),i=zh();return f.jsx(Enr,{children:f.jsxs(dB,{align:"stretch",spacing:4,fontSize:"md",children:[f.jsx(_n,{size:"md",color:"#ff8d8d",fontSize:"lg",children:f.jsx(L,{id:"uEwIBu"})}),f.jsx(_n,{size:"md",color:"white",maxW:"600px",children:f.jsx(L,{id:"HEb6xo",components:{0:f.jsx("br",{})}})}),f.jsxs(ue,{color:"white",children:[f.jsxs(Dhe,{ml:"20px",children:[f.jsx(My,{children:f.jsx(L,{id:"TZglEu"})}),f.jsx(My,{children:f.jsx(L,{id:"z/cCIJ"})}),f.jsx(My,{children:f.jsx(L,{id:"uvaSPZ"})})]}),f.jsx(L,{id:"/3gjMM"})]}),f.jsx(p0,{w:"25vw",position:"absolute",top:"25px",right:"25px",alt:"Smokey Buggs says: 'Only you can prevent magic circle bugs'",src:Anr,display:{base:"none",md:"block"}}),f.jsxs(_nr,{theme:mce,children:[f.jsx(z,{orient:"left",gap:2,children:f.jsx(AY,{})}),f.jsxs(z,{h:"70px",orient:"left",gap:2,children:[f.jsx(Xe,{size:"sm",backgroundColor:"rgb(50, 50, 50, 0.5)",leftIcon:f.jsx(UO,{}),onClick:()=>{n()},children:f.jsx(L,{id:"9IQUQ3"})}),i&&f.jsx(tke,{size:"sm"})]})]}),f.jsx(ue,{size:"lg",fontWeight:"bold",children:String(e)}),f.jsx(Pnr,{componentStack:t})]})})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const bR=16,Hle=4;function Inr(){if(typeof navigator>"u")return null;const e=navigator.userAgent;if(!/(iPad|iPhone|iPod)/i.test(e))return null;const t=e.match(/Version\/(\d+)\.(\d+)(?:\.(\d+))?/i);if(t)return[parseInt(t[1],10),parseInt(t[2],10),t[3]?parseInt(t[3],10):0];const r=e.match(/OS (\d+)_(\d+)(?:_(\d+))?/i);return r?[parseInt(r[1],10),parseInt(r[2],10),r[3]?parseInt(r[3],10):0]:null}const Onr=({reason:e})=>{const t=Inr(),r=t!==null&&(t[0]<bR||t[0]===bR&&t[1]<Hle),n=t!==null&&t[0]===18&&t[1]===7&&t[2]===2,i=e==="webgl"&&n;return j.useEffect(()=>{window.onAppContentLoaded()},[]),f.jsxs(f6,{direction:"column",justify:"center",align:"center",minH:"100dvh",w:"100vw",bg:"MagicBlack",color:"white",fontFamily:"body",px:5,textAlign:"center",children:[i?f.jsxs(f.Fragment,{children:[f.jsx(Ne,{mb:4,children:f.jsx(G0,{as:ug,boxSize:"48px"})}),f.jsx(_n,{as:"h1",fontSize:"lg",mb:2,children:f.jsx(L,{id:"hGt1+d"})}),f.jsxs(Ne,{maxW:400,w:"100%",mb:4,children:[f.jsx(ue,{fontSize:"md",lineHeight:1.5,color:"Neutral.Grey",mb:3,children:f.jsx(L,{id:"kWQFLP",components:{0:f.jsx("strong",{})}})}),f.jsx(ue,{fontSize:"md",lineHeight:1.5,color:"Neutral.Grey",children:f.jsx(L,{id:"77RfkZ"})})]}),f.jsxs(Xe,{as:"a",href:"https://support.apple.com/en-us/118575",target:"_blank",rel:"noopener noreferrer",color:"MagicWhite",bg:"Blue.Magic",size:"sm",children:[f.jsx(L,{id:"O6mMHI"})," ",f.jsx(G0,{as:YB,boxSize:"1em",ml:1})]})]}):r?f.jsxs(f.Fragment,{children:[f.jsx(_n,{as:"h1",fontSize:"lg",mb:2,children:f.jsx(L,{id:"HeSYFm",values:{MIN_IOS_MAJOR_VERSION:bR,MIN_IOS_MINOR_VERSION:Hle}})}),f.jsx(Ne,{maxW:400,w:"100%",children:f.jsx(ue,{fontSize:"md",lineHeight:1.5,color:"Neutral.Grey",children:f.jsx(L,{id:"tTIi4D",values:{0:t[0],1:t[1]},components:{0:f.jsx("strong",{})}})})})]}):e==="webgl"?f.jsxs(f.Fragment,{children:[f.jsx(Ne,{mb:4,children:f.jsx(G0,{as:ug,boxSize:"48px"})}),f.jsx(_n,{as:"h1",fontSize:"lg",mb:2,children:f.jsx(L,{id:"ev//Me"})}),f.jsx(Ne,{maxW:400,w:"100%",mb:4,children:f.jsx(ue,{fontSize:"md",lineHeight:1.5,color:"Neutral.Grey",children:f.jsx(L,{id:"/ymuui"})})}),f.jsx(Xe,{as:"a",href:"https://get.webgl.org/",target:"_blank",rel:"noopener noreferrer",color:"MagicWhite",bg:"Blue.Magic",size:"sm",children:f.jsx(L,{id:"O6mMHI"})})]}):f.jsxs(f.Fragment,{children:[f.jsx(_n,{as:"h1",fontSize:"lg",mb:2,children:f.jsx(L,{id:"KzcPws"})}),f.jsx(Ne,{maxW:400,w:"100%",mb:1,children:f.jsx(ue,{fontSize:"md",lineHeight:1.5,color:"Neutral.Grey",children:f.jsx(L,{id:"ornvPY"})})})]}),f.jsxs(z,{maxW:450,w:"100%",justify:"center",gap:4,col:!0,mt:6,children:[f.jsx(ue,{fontSize:"md",lineHeight:1.5,color:"Neutral.Grey",children:f.jsx(L,{id:"GyqxMk"})}),f.jsx(AY,{})]})]})};globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function Mnr(){return ibe()}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};function knr(e){return new Promise(t=>{const r={lossy:"UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",lossless:"UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==",alpha:"UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA==",animation:"UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA"},n=new Image;n.onload=function(){const i=n.width>0&&n.height>0;t(i)},n.onerror=function(){t(!1)},n.src="data:image/webp;base64,"+r[e]})}async function Dnr(e){try{const t=await Promise.all(e.map(knr)),r=t.every(n=>n);return r||console.warn(`WebP support check failed: ${t.join(", ")}`),r}catch(t){return console.error("Error checking WebP support",t),!1}}globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};if(window.__MAGICCIRCLE_IOS_LOCALE__){const e=window.__MAGICCIRCLE_IOS_LOCALE__,t=e.slice(0,2);u1(e)?$w(e):u1(t)&&$w(t)}const Lnr=Fd(),mke=ZF||xZe(navigator.userAgent);mke&&console.warn("User agent looks like a bot. Sentry will be disabled.");const gke=window.location.search.includes("forceSentry");gke&&console.warn("Sentry is forced on via ?forceSentry — this should only be used for debugging Sentry issues in non-production environments, and those events/reports will be sent to our production Sentry project.");jNe({dsn:"https://30469ee95467485d96af791b5f669ab9@o4505315105243136.ingest.sentry.io/4505322901995520",release:"436ff68",tunnel:"/sentry-tunnel",dist:"client",debug:gke,enabled:!mke,environment:Vw,replaysSessionSampleRate:0,replaysOnErrorSampleRate:0,ignoreErrors:["Failed to fetch"],integrations:[z$e({levels:["error"]}),Qn.sentryIntegration({projectId:44408,organization:"magic-circle"})],initialScope:{tags:{roomId:Lnr,deploymentVersion:tue,platform:ch,surface:Tt}},beforeBreadcrumb(e){const t=["in.logs.betterstack.com","app.posthog.com"],r=e.data,n=typeof(r==null?void 0:r.url)=="string"?r.url:void 0;return n&&t.some(i=>n.includes(i))?null:e}});const{sub:a8,get:d1,set:Fnr}=ft(),$nr={Production:"phc_5NQnL0ALxa7n1xjFEeSAe3lMsL8gYu8c8F3RhgSiIkN",Preview:"phc_UBgwDg2vemD5VeZEsdCMSS00LMfCRRea9YzQTvW8VHA"},Bnr=$nr[Vw];ZF||(Qn.init(Bnr,{api_host:Qr?"/posthog":"https://app.posthog.com",autocapture:!1,capture_pageview:!1,capture_pageleave:!1,advanced_disable_feature_flags_on_first_load:!0,advanced_disable_feature_flags:!0,bootstrap:{distinctID:Qr?void 0:d1(gr)},disable_session_recording:!0,session_recording:{captureCanvas:{recordCanvas:ch==="desktop",canvasFps:1,canvasQuality:"0"},maskAllInputs:!1},loaded:()=>{iue({id:Qn.get_distinct_id()})},capture_exceptions:!1,before_send:e=>(e==null?void 0:e.event)==="$exception"?null:e}),Qn.register({platform:ch,surface:Tt}));a8(nK,()=>{const e=d1(nK);if(iue({id:e.id,username:e.name}),!d1(qF))try{const r=Tfe(e.cosmetic);Fnr($Fe,{...r,name:e.name})}catch(r){console.error("Error setting anonymous user style",r)}});a8(iK,()=>{const e=d1(iK);av("roomSessionId",e)});a8(wm,()=>{const e=d1(wm);Qn.register_for_session({isHost:e})});a8(aK,()=>{const e=d1(aK);Qn.register_for_session({currentGameName:e}),av("gameName",e)});yZe().then(({isPrivate:e})=>{e&&console.log("Incognito mode detected"),av("isIncognito",e)}).catch(e=>{console.warn("Error detecting incognito mode",e)});const Nnr=()=>{const e=document.documentElement,t=150,r=()=>{e.style.setProperty("--app-height",`${window.innerHeight}px`)},n=()=>{setTimeout(r,t)};r(),window.addEventListener("resize",n),window.addEventListener("orientationchange",r)};CSS.supports("height","100dvh")||Nnr();const qnr=()=>{const{locale:e,setLocale:t}=oke(),[r,n]=j.useState(void 0);return j.useEffect(()=>{t(e),Krr(e)},[e]),j.useEffect(()=>{if(r===void 0){if(!Mnr()){n("webgl");return}Dnr(["lossy","alpha"]).then(a=>{n(a?null:"webp")}).catch(a=>{console.error("Error checking WebP support",a),n("webp")})}},[r]),f.jsx(gZe,{i18n:Ee,children:f.jsx(zB,{scope:"Room",children:f.jsx(qB,{children:f.jsx($F,{fallback:i=>f.jsx(Rnr,{error:i.error,componentStack:i.componentStack,resetError:()=>i.resetError()}),showDialog:!0,children:r?f.jsx(Onr,{reason:r}):f.jsxs(f.Fragment,{children:[f.jsx(Snr,{}),f.jsx(xnr,{})]})})})})})},Zlr=Object.freeze(Object.defineProperty({__proto__:null,default:qnr},Symbol.toStringTag,{value:"Module"}));export{Ol as $,Qh as A,Lt as B,Pt as C,Oir as D,hr as E,Gr as F,xv as G,_n as H,p0 as I,Ee as J,lN as K,zOe as L,Cn as M,sI as N,ZO as O,Iir as P,Pa as Q,QO as R,vi as S,L as T,uu as U,ph as V,Q1 as W,du as X,_Ge as Y,Zm as Z,f6 as _,Ac as a,Mir as a$,est as a0,v1 as a1,gN as a2,Gat as a3,Al as a4,LXt as a5,WXt as a6,dB as a7,cB as a8,QJe as a9,jir as aA,Jlr as aB,Io as aC,Ddt as aD,ZZ as aE,C0 as aF,$dt as aG,ma as aH,r7 as aI,ST as aJ,IN as aK,ebe as aL,D1e as aM,Do as aN,K1e as aO,SM as aP,vr as aQ,ppt as aR,fpt as aS,ypt as aT,Spt as aU,ON as aV,cr as aW,nbe as aX,dM as aY,Nl as aZ,nN as a_,Ope as aa,n8 as ab,Wme as ac,R6 as ad,fv as ae,I6 as af,Mct as ag,y1 as ah,AY as ai,Nn as aj,Rir as ak,xB as al,Qat as am,bi as an,td as ao,JS as ap,Oi as aq,out as ar,Et as as,ko as at,A0 as au,pi as av,Ud as aw,cv as ax,mv as ay,Bpe as az,JO as b,Knr as b$,ZMe as b0,JMe as b1,Q0t as b2,c1e as b3,Wd as b4,Epe as b5,Y6 as b6,U1e as b7,Gct as b8,Apt as b9,hpt as bA,mpt as bB,Tpt as bC,xpt as bD,wpt as bE,Gnr as bF,brr as bG,X1 as bH,lrr as bI,_v as bJ,O6 as bK,pu as bL,Rn as bM,sit as bN,gWe as bO,_pe as bP,Zc as bQ,qO as bR,oke as bS,Oy as bT,vKe as bU,Hnr as bV,jn as bW,Xhe as bX,Khe as bY,pQe as bZ,zKe as b_,Cs as ba,T1e as bb,_o as bc,E1e as bd,LZ as be,sM as bf,Vut as bg,rdt as bh,Av as bi,dn as bj,un as bk,Tdt as bl,$Z as bm,zC as bn,BZ as bo,Cut as bp,QS as bq,Bn as br,_ut as bs,w1e as bt,abe as bu,mr as bv,r0 as bw,_dt as bx,Ydt as by,qdt as bz,Tct as c,Jhe as c0,na as c1,si as c2,qs as c3,yi as c4,Uat as c5,T1 as c6,vv as c7,iN as c8,XS as c9,xT as ca,gM as cb,_ee as cc,Tbe as cd,eee as ce,JZ as cf,Cee as cg,Aht as ch,x0 as ci,nx as cj,Vct as ck,rx as cl,wbe as cm,Zlr as cn,W0r as d,YMe as e,Qu as f,Re as g,yt as h,Oo as i,et as j,fi as k,Z1 as l,z6 as m,wct as n,z as o,Ne as p,ul as q,bt as r,Xe as s,ue as t,Xh as u,lnr as v,ait as w,zme as x,orr as y,eke as z};
//# debugId=0bfce9d6-c384-5c20-91e8-45295915557a