@stokelp/ui 1.6.0 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion/Accordion.d.ts +6 -6
- package/dist/components/drawer/Drawer.d.ts +8 -8
- package/dist/components/tabs/Tabs.d.ts +6 -6
- package/dist/style.css +1 -1
- package/dist/ui.cjs +56 -56
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +14893 -16254
- package/dist/ui.js.map +1 -1
- package/package.json +2 -2
package/dist/ui.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Z=require("react/jsx-runtime"),rt=require("@stokelp/styled-system/jsx"),Dn=require("@stokelp/styled-system/recipes"),se=require("react"),vf=require("@stokelp/styled-system/css"),Vw=require("@ark-ui/react"),ft=require("@pandacss/dev");function LA(a,u){return`${a} returned \`undefined\`. Seems you forgot to wrap component within ${u}`}function ra(a={}){const{name:u,strict:l=!0,hookName:d="useContext",providerName:g="Provider",errorMessage:b}=a,h=se.createContext(void 0);h.displayName=u;function x(){var C;const R=se.useContext(h);if(!R&&l){const D=new Error(b??LA(d,g));throw D.name="ContextError",(C=Error.captureStackTrace)==null||C.call(Error,D,x),D}return R}return[h.Provider,x,h]}const[_A,Iy]=ra({name:"AccordionContext",hookName:"useAccordionContext",providerName:"<AccordionProvider />"});var yo=(a,u=[])=>({parts:(...l)=>{if(AA(u))return yo(a,l);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...l)=>yo(a,[...u,...l]),rename:l=>yo(l,u),keys:()=>u,build:()=>[...new Set(u)].reduce((l,d)=>Object.assign(l,{[d]:{selector:[`&[data-scope="${cf(a)}"][data-part="${cf(d)}"]`,`& [data-scope="${cf(a)}"][data-part="${cf(d)}"]`].join(", "),attrs:{"data-scope":cf(a),"data-part":cf(d)}}}),{})}),cf=a=>a.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),AA=a=>a.length===0,nt=a=>a?"":void 0,IA=a=>a?"true":void 0,nc=a=>typeof a=="object"&&(a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&typeof(a==null?void 0:a.nodeName)=="string",jw=a=>a.nodeType===Node.DOCUMENT_NODE,MA=a=>a!=null&&a===a.window,PA=a=>a.nodeType!==void 0,FA=a=>a&&PA(a)&&a.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in a;function Qv(a,u){return!a||!u||!nc(a)||!nc(u)?!1:a===u||a.contains(u)}function My(a){return jw(a)?a:MA(a)?a.document:(a==null?void 0:a.ownerDocument)??document}function mf(a){var u;return FA(a)?mf(a.host):jw(a)?a.defaultView??window:nc(a)?((u=a.ownerDocument)==null?void 0:u.defaultView)??window:window}function Xv(a){var u;return((u=a.composedPath)==null?void 0:u.call(a)[0])??a.target}var Bw=a=>Qv(a.currentTarget,a.target),GE=a=>a.id;function $w(a,u,l=GE){return a.find(d=>l(d)===u)}function WE(a,u,l=GE){const d=$w(a,u,l);return d?a.indexOf(d):-1}function Gw(a,u,l=!0){let d=WE(a,u);return d=l?(d+1)%a.length:Math.min(d+1,a.length-1),a[d]}function Ww(a,u,l=!0){let d=WE(a,u);return d===-1?l?a[a.length-1]:null:(d=l?(d-1+a.length)%a.length:Math.max(0,d-1),a[d])}var zA=a=>a.split("").map(u=>{const l=u.charCodeAt(0);return l>0&&l<128?u:l>=128&&l<=255?`/x${l.toString(16)}`.replace("/","\\"):""}).join("").trim(),UA=a=>zA(a.dataset.valuetext??a.textContent??""),HA=(a,u)=>a.trim().toLowerCase().startsWith(u.toLowerCase()),VA=(a,u)=>a.map((l,d)=>a[(Math.max(u,0)+d)%a.length]);function jA(a,u,l,d=GE){const g=l?WE(a,l,d):-1;let b=l?VA(a,g):a;return u.length===1&&(b=b.filter(x=>d(x)!==l)),b.find(x=>HA(UA(x),u))}function BA(a,u){const{state:l,activeId:d,key:g,timeout:b=350,itemToId:h}=u,x=l.keysSoFar+g,C=x.length>1&&Array.from(x).every(N=>N===x[0])?x[0]:x;let D=a.slice();const O=jA(D,C,d,h);function _(){clearTimeout(l.timer),l.timer=-1}function A(N){l.keysSoFar=N,_(),N!==""&&(l.timer=+setTimeout(()=>{A(""),_()},b))}return A(x),O}var AE=Object.assign(BA,{defaultOptions:{keysSoFar:"",timer:-1},isValidEvent:$A});function $A(a){return a.key.length===1&&!a.ctrlKey&&!a.metaKey}var bE=new WeakMap;function GA(a){return bE.has(a)||bE.set(a,mf(a).getComputedStyle(a)),bE.get(a)}function WA(a){if(a==null||!nc(a))return!1;try{const u=mf(a);return a instanceof u.HTMLInputElement&&a.selectionStart!=null||/(textarea|select)/.test(a.localName)||a.isContentEditable}catch{return!1}}var YA=/auto|scroll|overlay|hidden|clip/;function KA(a){const u=mf(a),{overflow:l,overflowX:d,overflowY:g,display:b}=u.getComputedStyle(a);return YA.test(l+g+d)&&!["inline","contents"].includes(b)}var Yw=()=>typeof document<"u";function QA(){const a=navigator.userAgentData;return(a==null?void 0:a.platform)??navigator.platform}var Kw=a=>Yw()&&a.test(QA()),XA=a=>Yw()&&a.test(navigator.vendor),Qw=()=>qA()&&XA(/apple/i),qA=()=>Kw(/mac|iphone|ipad|ipod/i),ZA=()=>Kw(/iP(hone|ad|od)|iOS/);function Xw(a,u){return Array.from((a==null?void 0:a.querySelectorAll(u))??[])}function IE(a){const u=new Set;function l(d){const g=globalThis.requestAnimationFrame(d);u.add(()=>globalThis.cancelAnimationFrame(g))}return l(()=>l(a)),function(){u.forEach(g=>g())}}function Qn(a){const u=globalThis.requestAnimationFrame(a);return()=>{globalThis.cancelAnimationFrame(u)}}function oc(a){const u={getRootNode:l=>{var d;return((d=l.getRootNode)==null?void 0:d.call(l))??document},getDoc:l=>My(u.getRootNode(l)),getWin:l=>u.getDoc(l).defaultView??window,getActiveElement:l=>u.getDoc(l).activeElement,isActiveElement:(l,d)=>d===u.getActiveElement(l),getById:(l,d)=>u.getRootNode(l).getElementById(d),setValue:(l,d)=>{if(l==null||d==null)return;const g=d.toString();l.value!==g&&(l.value=d.toString())}};return{...u,...a}}function JA(a){return a.scrollHeight>a.clientHeight||a.scrollWidth>a.clientWidth}function eI(a,u){const{rootEl:l,...d}=u||{};!a||!l||!KA(l)||!JA(l)||a.scrollIntoView(d)}var ME=(a,u,l,d)=>{const g=typeof a=="function"?a():a;return g==null||g.addEventListener(u,l,d),()=>{g==null||g.removeEventListener(u,l,d)}},tI=a=>a.button===2||nI()&&a.ctrlKey&&a.button===0,nI=()=>/Mac|iPod|iPhone|iPad/.test(window.navigator.platform);function qx(a,u,l){if(!a)return;const d=a.ownerDocument.defaultView||window,g=new d.CustomEvent(u,l);return a.dispatchEvent(g)}var rI={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},Zx={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"};function Cy(a,u={}){const{dir:l="ltr",orientation:d="horizontal"}=u;let{key:g}=a;return g=rI[g]??g,l==="rtl"&&d==="horizontal"&&g in Zx&&(g=Zx[g]),g}var qw=a=>a[0],Zw=a=>a[a.length-1],iI=(a,u)=>a.indexOf(u)!==-1,Jw=(a,...u)=>a.concat(u),eR=(a,u)=>a.filter(l=>l!==u),aI=(a,u)=>iI(a,u)?eR(a,u):Jw(a,u),Jx=a=>(a==null?void 0:a.constructor.name)==="Array",So=(a,u)=>{if(Object.is(a,u))return!0;if(a==null&&u!=null||a!=null&&u==null)return!1;if(typeof(a==null?void 0:a.isEqual)=="function"&&typeof(u==null?void 0:u.isEqual)=="function")return a.isEqual(u);if(typeof a=="function"&&typeof u=="function")return a.toString()===u.toString();if(Jx(a)&&Jx(u))return Array.from(a).toString()===Array.from(u).toString();if(typeof a!="object"||typeof u!="object")return!1;const l=Object.keys(u??Object.create(null)),d=l.length;for(let g=0;g<d;g++)if(!Reflect.has(a,l[g]))return!1;for(let g=0;g<d;g++){const b=l[g];if(!So(a[b],u[b]))return!1}return!0},PE=(a,...u)=>(typeof a=="function"?a(...u):a)??void 0,oI=()=>{},ew=(...a)=>(...u)=>{a.forEach(function(l){l==null||l(...u)})},lI=a=>a==null;function vl(a){if(!uI(a)||a===void 0)return a;const u=Reflect.ownKeys(a).filter(d=>typeof d=="string"),l={};for(const d of u){const g=a[d];g!==void 0&&(l[d]=vl(g))}return l}var uI=a=>a&&typeof a=="object"&&a.constructor===Object;function sI(a,u){const l={},d={},g=new Set(u);for(const b in a)g.has(b)?d[b]=a[b]:l[b]=a[b];return[d,l]}var cI=a=>function(l){return sI(l,a)};function tR(...a){const u=a.length===1?a[0]:a[1];(a.length===2?a[0]:!0)&&process.env.NODE_ENV!=="production"&&console.warn(u)}const dI=Symbol(),YE=Symbol(),Fv="a",yy="w";let fI=(a,u)=>new Proxy(a,u);const FE=Object.getPrototypeOf,zE=new WeakMap,nR=a=>a&&(zE.has(a)?zE.get(a):FE(a)===Object.prototype||FE(a)===Array.prototype),tw=a=>typeof a=="object"&&a!==null,pI=a=>{if(Array.isArray(a))return Array.from(a);const u=Object.getOwnPropertyDescriptors(a);return Object.values(u).forEach(l=>{l.configurable=!0}),Object.create(FE(a),u)},rR=a=>a[YE]||a,iR=(a,u,l,d)=>{if(!nR(a))return a;let g=d&&d.get(a);if(!g){const R=rR(a);g=(C=>Object.values(Object.getOwnPropertyDescriptors(C)).some(D=>!D.configurable&&!D.writable))(R)?[R,pI(R)]:[R],d==null||d.set(a,g)}const[b,h]=g;let x=l&&l.get(b);return x&&x[1].f===!!h||(x=((R,C)=>{const D={f:C};let O=!1;const _=(N,I)=>{if(!O){let K=D[Fv].get(R);if(K||(K={},D[Fv].set(R,K)),N===yy)K[yy]=!0;else{let J=K[N];J||(J=new Set,K[N]=J),J.add(I)}}},A={get:(N,I)=>I===YE?R:(_("k",I),iR(Reflect.get(N,I),D[Fv],D.c,D.t)),has:(N,I)=>I===dI?(O=!0,D[Fv].delete(R),!0):(_("h",I),Reflect.has(N,I)),getOwnPropertyDescriptor:(N,I)=>(_("o",I),Reflect.getOwnPropertyDescriptor(N,I)),ownKeys:N=>(_(yy),Reflect.ownKeys(N))};return C&&(A.set=A.deleteProperty=()=>!1),[A,D]})(b,!!h),x[1].p=fI(h||b,x[0]),l&&l.set(b,x)),x[1][Fv]=u,x[1].c=l,x[1].t=d,x[1].p},aR=(a,u,l,d,g=Object.is)=>{if(g(a,u))return!1;if(!tw(a)||!tw(u))return!0;const b=l.get(rR(a));if(!b)return!0;if(d){const x=d.get(a);if(x&&x.n===u)return x.g;d.set(a,{n:u,g:!1})}let h=null;try{for(const x of b.h||[])if(h=Reflect.has(a,x)!==Reflect.has(u,x),h)return h;if(b[yy]===!0){if(h=((x,R)=>{const C=Reflect.ownKeys(x),D=Reflect.ownKeys(R);return C.length!==D.length||C.some((O,_)=>O!==D[_])})(a,u),h)return h}else for(const x of b.o||[])if(h=!!Reflect.getOwnPropertyDescriptor(a,x)!=!!Reflect.getOwnPropertyDescriptor(u,x),h)return h;for(const x of b.k||[])if(h=aR(a[x],u[x],l,d,g),h)return h;return h===null&&(h=!0),h}finally{d&&d.set(a,{n:u,g:h})}},vI=a=>nR(a)&&a[YE]||null,nw=(a,u=!0)=>{zE.set(a,u)};var Ty=process.env.NODE_ENV!=="production",EE=a=>typeof a=="object"&&a!==null,ec=new WeakMap,Wv=new WeakSet,hI=(a=Object.is,u=(C,D)=>new Proxy(C,D),l=C=>EE(C)&&!Wv.has(C)&&(Array.isArray(C)||!(Symbol.iterator in C))&&!(C instanceof WeakMap)&&!(C instanceof WeakSet)&&!(C instanceof Error)&&!(C instanceof Number)&&!(C instanceof Date)&&!(C instanceof String)&&!(C instanceof RegExp)&&!(C instanceof ArrayBuffer),d=C=>{switch(C.status){case"fulfilled":return C.value;case"rejected":throw C.reason;default:throw C}},g=new WeakMap,b=(C,D,O=d)=>{const _=g.get(C);if((_==null?void 0:_[0])===D)return _[1];const A=Array.isArray(C)?[]:Object.create(Object.getPrototypeOf(C));return nw(A,!0),g.set(C,[D,A]),Reflect.ownKeys(C).forEach(N=>{const I=Reflect.get(C,N);Wv.has(I)?(nw(I,!1),A[N]=I):I instanceof Promise?Object.defineProperty(A,N,{get(){return O(I)}}):ec.has(I)?A[N]=Du(I,O):A[N]=I}),Object.freeze(A)},h=new WeakMap,x=[1,1],R=C=>{if(!EE(C))throw new Error("object required");const D=h.get(C);if(D)return D;let O=x[0];const _=new Set,A=(Me,Se=++x[0])=>{O!==Se&&(O=Se,_.forEach(le=>le(Me,Se)))};let N=x[1];const I=(Me=++x[1])=>(N!==Me&&!_.size&&(N=Me,J.forEach(([Se])=>{const le=Se[1](Me);le>O&&(O=le)})),O),K=Me=>(Se,le)=>{const Y=[...Se];Y[1]=[Me,...Y[1]],A(Y,le)},J=new Map,Te=(Me,Se)=>{if(Ty&&J.has(Me))throw new Error("prop listener already exists");if(_.size){const le=Se[3](K(Me));J.set(Me,[Se,le])}else J.set(Me,[Se])},pe=Me=>{var le;const Se=J.get(Me);Se&&(J.delete(Me),(le=Se[1])==null||le.call(Se))},He=Me=>(_.add(Me),_.size===1&&J.forEach(([le,Y],W)=>{if(Ty&&Y)throw new Error("remove already exists");const ne=le[3](K(W));J.set(W,[le,ne])}),()=>{_.delete(Me),_.size===0&&J.forEach(([le,Y],W)=>{Y&&(Y(),J.set(W,[le]))})}),xe=Array.isArray(C)?[]:Object.create(Object.getPrototypeOf(C)),Ne=u(xe,{deleteProperty(Me,Se){const le=Reflect.get(Me,Se);pe(Se);const Y=Reflect.deleteProperty(Me,Se);return Y&&A(["delete",[Se],le]),Y},set(Me,Se,le,Y){var we;const W=Reflect.has(Me,Se),ne=Reflect.get(Me,Se,Y);if(W&&(a(ne,le)||h.has(le)&&a(ne,h.get(le))))return!0;pe(Se),EE(le)&&(le=vI(le)||le);let ze=le;if(!((we=Object.getOwnPropertyDescriptor(Me,Se))!=null&&we.set))if(le instanceof Promise)le.then(Ve=>{le.status="fulfilled",le.value=Ve,A(["resolve",[Se],Ve])}).catch(Ve=>{le.status="rejected",le.reason=Ve,A(["reject",[Se],Ve])});else{!ec.has(le)&&l(le)&&(ze=KE(le));const Ve=!Wv.has(ze)&&ec.get(ze);Ve&&Te(Se,Ve)}return Reflect.set(Me,Se,ze,Y),A(["set",[Se],le,ne]),!0}});h.set(C,Ne);const Et=[xe,I,b,He];return ec.set(Ne,Et),Reflect.ownKeys(C).forEach(Me=>{const Se=Object.getOwnPropertyDescriptor(C,Me);Se.get||Se.set?Object.defineProperty(xe,Me,Se):Ne[Me]=C[Me]}),Ne})=>[R,ec,Wv,a,u,l,d,g,b,h,x],[mI]=hI();function KE(a={}){return mI(a)}function UE(a,u,l){const d=ec.get(a);Ty&&!d&&console.warn("Please use proxy object");let g;const b=[],h=d[3];let x=!1;const C=h(D=>{if(b.push(D),l){u(b.splice(0));return}g||(g=Promise.resolve().then(()=>{g=void 0,x&&u(b.splice(0))}))});return x=!0,()=>{x=!1,C()}}function Du(a,u){const l=ec.get(a);Ty&&!l&&console.warn("Please use proxy object");const[d,g,b]=l;return b(d,g(),u)}function rc(a){return Wv.add(a),a}function gI(a,u){Object.keys(u).forEach(g=>{if(Object.getOwnPropertyDescriptor(a,g))throw new Error("object property already defined");const b=u[g],{get:h,set:x}=typeof b=="function"?{get:b}:b,R={};R.get=()=>h(Du(d)),x&&(R.set=C=>x(d,C)),Object.defineProperty(a,g,R)});const d=KE(a);return d}function rw(a,u,l){typeof l.value=="object"&&(l.value=ff(l.value)),!l.enumerable||l.get||l.set||!l.configurable||!l.writable||u==="__proto__"?Object.defineProperty(a,u,l):a[u]=l.value}function ff(a){if(typeof a!="object")return a;var u=0,l,d,g,b=Object.prototype.toString.call(a);if(b==="[object Object]"?g=Object.create(a.__proto__||null):b==="[object Array]"?g=Array(a.length):b==="[object Set]"?(g=new Set,a.forEach(function(h){g.add(ff(h))})):b==="[object Map]"?(g=new Map,a.forEach(function(h,x){g.set(ff(x),ff(h))})):b==="[object Date]"?g=new Date(+a):b==="[object RegExp]"?g=new RegExp(a.source,a.flags):b==="[object DataView]"?g=new a.constructor(ff(a.buffer)):b==="[object ArrayBuffer]"?g=a.slice(0):b.slice(-6)==="Array]"&&(g=new a.constructor(a)),g){for(d=Object.getOwnPropertySymbols(a);u<d.length;u++)rw(g,d[u],Object.getOwnPropertyDescriptor(a,d[u]));for(u=0,d=Object.getOwnPropertyNames(a);u<d.length;u++)Object.hasOwnProperty.call(g,l=d[u])&&g[l]===a[l]||rw(g,l,Object.getOwnPropertyDescriptor(a,l))}return g||a}var yI=Object.defineProperty,SI=(a,u,l)=>u in a?yI(a,u,{enumerable:!0,configurable:!0,writable:!0,value:l}):a[u]=l,Fe=(a,u,l)=>(SI(a,typeof u!="symbol"?u+"":u,l),l);function bI(a){for(;a.length>0;)a.pop();return a}var iw=(a,...u)=>(typeof a=="function"?a(...u):a)??void 0,fl=a=>a,EI=()=>{},CI=(...a)=>(...u)=>{a.forEach(function(l){l==null||l(...u)})},aw=(()=>{let a=0;return()=>(a++,a.toString(36))})(),TI=()=>process.env.NODE_ENV!=="production",xy=a=>Array.isArray(a),Yv=a=>!(a==null||typeof a!="object"||xy(a)),xI=a=>typeof a=="number"&&!Number.isNaN(a),go=a=>typeof a=="string",wy=a=>typeof a=="function",wI=(a,u)=>Object.prototype.hasOwnProperty.call(a,u);function Ry(a){if(!RI(a)||a===void 0)return a;const u=Reflect.ownKeys(a).filter(d=>typeof d=="string"),l={};for(const d of u){const g=a[d];g!==void 0&&(l[d]=Ry(g))}return l}var RI=a=>a&&typeof a=="object"&&a.constructor===Object;function CE(...a){const u=a.length===1?a[0]:a[1];(a.length===2?a[0]:!0)&&process.env.NODE_ENV!=="production"&&console.warn(u)}function Sy(...a){const u=a.length===1?a[0]:a[1];if((a.length===2?a[0]:!0)&&process.env.NODE_ENV!=="production")throw new Error(u)}function oR(a,...u){for(const l of u){const d=Ry(l);for(const g in d)Yv(l[g])?(a[g]||(a[g]={}),oR(a[g],l[g])):a[g]=l[g]}return a}function ow(a){return ff(a)}function Ma(a){return go(a)?{type:a}:a}function Ou(a){return a?xy(a)?a.slice():[a]:[]}function lR(a){return Yv(a)&&a.predicate!=null}var kI=()=>!0;function QE(a,u,l,d){return g=>{var b;return go(g)?!!((b=a[g])!=null&&b.call(a,u,l,d)):wy(g)?g(u,l,d):g.predicate(a)(u,l,d)}}function OI(...a){return{predicate:u=>(l,d,g)=>a.map(QE(u,l,d,g)).some(Boolean)}}function DI(...a){return{predicate:u=>(l,d,g)=>a.map(QE(u,l,d,g)).every(Boolean)}}function NI(a){return{predicate:u=>(l,d,g)=>!QE(u,l,d,g)(a)}}function LI(...a){return(u,l,d)=>d.state.matches(...a)}var gf={or:OI,and:DI,not:NI,stateIn:LI};function uR(a,u){return a=a??kI,(l,d,g)=>{if(go(a)){const b=u[a];return wy(b)?b(l,d,g):b}return lR(a)?a.predicate(u)(l,d,g):a==null?void 0:a(l,d,g)}}function TE(a,u){return(l,d,g)=>lR(a)?a.predicate(u)(l,d,g):a}function _I(a){var b,h;const u=a.computed??fl({}),l=a.context??fl({}),d=a.initial?(h=(b=a.states)==null?void 0:b[a.initial])==null?void 0:h.tags:[],g=KE({value:a.initial??"",previousValue:"",event:fl({}),previousEvent:fl({}),context:gI(l,u),done:!1,tags:d??[],hasTag(x){return this.tags.includes(x)},matches(...x){return x.includes(this.value)},can(x){return fl(this).nextEvents.includes(x)},get nextEvents(){var C,D;const x=((D=(C=a.states)==null?void 0:C[this.value])==null?void 0:D.on)??{},R=(a==null?void 0:a.on)??{};return Object.keys({...x,...R})},get changed(){return this.event.value==="machine.init"||!this.previousValue?!1:this.value!==this.previousValue}});return fl(g)}function zv(a,u){return(l,d)=>{if(xI(a))return a;if(wy(a))return a(l,d);if(go(a)){const g=Number.parseFloat(a);if(!Number.isNaN(g))return g;if(u){const b=u==null?void 0:u[a];return Sy(b==null,`[@zag-js/core > determine-delay] Cannot determine delay for \`${a}\`. It doesn't exist in \`options.delays\``),wy(b)?b(l,d):b}}}}function AI(a){return go(a)?{target:a}:a}function II(a,u){return(l,d,g)=>Ou(a).map(AI).find(b=>uR(b.guard,u)(l,d,g)??b.target??b.actions)}var MI=class{constructor(a,u){var d,g,b,h,x,R;Fe(this,"status","Not Started"),Fe(this,"state"),Fe(this,"initialState"),Fe(this,"initialContext"),Fe(this,"id"),Fe(this,"type","machine"),Fe(this,"activityEvents",new Map),Fe(this,"delayedEvents",new Map),Fe(this,"stateListeners",new Set),Fe(this,"doneListeners",new Set),Fe(this,"contextWatchers",new Set),Fe(this,"removeStateListener",EI),Fe(this,"parent"),Fe(this,"children",new Map),Fe(this,"guardMap"),Fe(this,"actionMap"),Fe(this,"delayMap"),Fe(this,"activityMap"),Fe(this,"sync"),Fe(this,"options"),Fe(this,"config"),Fe(this,"start",C=>{if(this.state.value="",this.state.tags=[],this.status==="Running")return this;this.status="Running",this.removeStateListener=UE(this.state,()=>{this.stateListeners.forEach(I=>{I(this.stateSnapshot)})},this.sync),this.setupContextWatchers(),this.executeActivities(Ma("machine.start"),Ou(this.config.activities),"machine.start"),this.executeActions(this.config.entry,Ma("machine.start"));const D=Ma("machine.init"),O=Yv(C)?C.value:C,_=Yv(C)?C.context:void 0;_&&this.setContext(_);const A={target:O??this.config.initial},N=this.getNextStateInfo(A,D);return this.initialState=N,this.performStateChangeEffects(this.state.value,N,D),this}),Fe(this,"setupContextWatchers",()=>{const{watch:C}=this.config;if(!C)return;let D=Du(this.state.context);const O=UE(this.state.context,()=>{var A;const _=Du(this.state.context);for(const[N,I]of Object.entries(C))(((A=this.options.compareFns)==null?void 0:A[N])??Object.is)(D[N],_[N])||this.executeActions(I,this.state.event);D=_});this.contextWatchers.add(O)}),Fe(this,"stop",()=>{if(this.status!=="Stopped")return this.performExitEffects(this.state.value,Ma("machine.stop")),this.executeActions(this.config.exit,Ma("machine.stop")),this.setState(""),this.setEvent("machine.stop"),this.stopStateListeners(),this.stopChildren(),this.stopActivities(),this.stopDelayedEvents(),this.stopContextWatchers(),this.status="Stopped",this}),Fe(this,"stopStateListeners",()=>{this.removeStateListener(),this.stateListeners.clear()}),Fe(this,"stopContextWatchers",()=>{this.contextWatchers.forEach(C=>C()),this.contextWatchers.clear()}),Fe(this,"stopDelayedEvents",()=>{this.delayedEvents.forEach(C=>{C.forEach(D=>D())}),this.delayedEvents.clear()}),Fe(this,"stopActivities",C=>{var D,O;C?((D=this.activityEvents.get(C))==null||D.forEach(_=>_()),(O=this.activityEvents.get(C))==null||O.clear(),this.activityEvents.delete(C)):(this.activityEvents.forEach(_=>{_.forEach(A=>A()),_.clear()}),this.activityEvents.clear())}),Fe(this,"sendChild",(C,D)=>{const O=Ma(C),_=iw(D,this.contextSnapshot),A=this.children.get(_);A||Sy(`[@zag-js/core] Cannot send '${O.type}' event to unknown child`),A.send(O)}),Fe(this,"stopChild",C=>{this.children.has(C)||Sy(`[@zag-js/core > stop-child] Cannot stop unknown child ${C}`),this.children.get(C).stop(),this.children.delete(C)}),Fe(this,"removeChild",C=>{this.children.delete(C)}),Fe(this,"stopChildren",()=>{this.children.forEach(C=>C.stop()),this.children.clear()}),Fe(this,"setParent",C=>{this.parent=C}),Fe(this,"spawn",(C,D)=>{const O=iw(C);return D&&(O.id=D),O.type="machine.actor",O.setParent(this),this.children.set(O.id,fl(O)),O.onDone(()=>{this.removeChild(O.id)}).start(),fl(rc(O))}),Fe(this,"stopActivity",C=>{var O;if(!this.state.value)return;const D=this.activityEvents.get(this.state.value);(O=D==null?void 0:D.get(C))==null||O(),D==null||D.delete(C)}),Fe(this,"addActivityCleanup",(C,D,O)=>{var _;C&&(this.activityEvents.has(C)?(_=this.activityEvents.get(C))==null||_.set(D,O):this.activityEvents.set(C,new Map([[D,O]])))}),Fe(this,"setState",C=>{this.state.previousValue=this.state.value,this.state.value=C;const D=this.getStateNode(C);C==null?bI(this.state.tags):this.state.tags=Ou(D==null?void 0:D.tags)}),Fe(this,"setContext",C=>{C&&oR(this.state.context,Ry(C))}),Fe(this,"setOptions",C=>{const D=Ry(C);this.actionMap={...this.actionMap,...D.actions},this.delayMap={...this.delayMap,...D.delays},this.activityMap={...this.activityMap,...D.activities},this.guardMap={...this.guardMap,...D.guards}}),Fe(this,"getStateNode",C=>{var D;if(C)return(D=this.config.states)==null?void 0:D[C]}),Fe(this,"getNextStateInfo",(C,D)=>{const O=this.determineTransition(C,D),_=!(O!=null&&O.target),A=(O==null?void 0:O.target)??this.state.value,N=this.state.value!==A,I=this.getStateNode(A),J={reenter:!_&&!N&&!(O!=null&&O.internal),transition:O,stateNode:I,target:A,changed:N};return this.log("NextState:",`[${D.type}]`,this.state.value,"---->",J.target),J}),Fe(this,"getAfterActions",(C,D)=>{let O;return{entry:()=>{O=globalThis.setTimeout(()=>{const _=this.getNextStateInfo(C,this.state.event);this.performStateChangeEffects(this.state.value,_,this.state.event)},D)},exit:()=>{globalThis.clearTimeout(O)}}}),Fe(this,"getDelayedEventActions",C=>{const D=this.getStateNode(C),O=this.state.event;if(!D||!D.after)return;const _=[],A=[];if(xy(D.after)){const N=this.determineTransition(D.after,O);if(!N)return;if(!wI(N,"delay"))throw new Error(`[@zag-js/core > after] Delay is required for after transition: ${JSON.stringify(N)}`);const K=zv(N.delay,this.delayMap)(this.contextSnapshot,O),J=this.getAfterActions(N,K);return _.push(J.entry),A.push(J.exit),{entries:_,exits:A}}if(Yv(D.after))for(const N in D.after){const I=D.after[N],J=zv(N,this.delayMap)(this.contextSnapshot,O),Te=this.getAfterActions(I,J);_.push(Te.entry),A.push(Te.exit)}return{entries:_,exits:A}}),Fe(this,"executeActions",(C,D)=>{var _;const O=TE(C,this.guardMap)(this.contextSnapshot,D,this.guardMeta);for(const A of Ou(O)){const N=go(A)?(_=this.actionMap)==null?void 0:_[A]:A;CE(go(A)&&!N,`[@zag-js/core > execute-actions] No implementation found for action: \`${A}\``),N==null||N(this.state.context,D,this.meta)}}),Fe(this,"executeActivities",(C,D,O)=>{var _;for(const A of D){const N=go(A)?(_=this.activityMap)==null?void 0:_[A]:A;if(!N){CE(`[@zag-js/core > execute-activity] No implementation found for activity: \`${A}\``);continue}const I=N(this.state.context,C,this.meta);if(I){const K=go(A)?A:A.name||aw();this.addActivityCleanup(O??this.state.value,K,I)}}}),Fe(this,"createEveryActivities",(C,D)=>{if(C)if(xy(C)){const O=Ou(C).find(I=>{const K=I.delay,Te=zv(K,this.delayMap)(this.contextSnapshot,this.state.event);return uR(I.guard,this.guardMap)(this.contextSnapshot,this.state.event,this.guardMeta)??Te!=null});if(!O)return;const A=zv(O.delay,this.delayMap)(this.contextSnapshot,this.state.event);D(()=>{const I=globalThis.setInterval(()=>{this.executeActions(O.actions,this.state.event)},A);return()=>{globalThis.clearInterval(I)}})}else for(const O in C){const _=C==null?void 0:C[O],N=zv(O,this.delayMap)(this.contextSnapshot,this.state.event);D(()=>{const K=globalThis.setInterval(()=>{this.executeActions(_,this.state.event)},N);return()=>{globalThis.clearInterval(K)}})}}),Fe(this,"setEvent",C=>{this.state.previousEvent=this.state.event,this.state.event=rc(Ma(C))}),Fe(this,"performExitEffects",(C,D)=>{const O=this.state.value;if(O==="")return;const _=C?this.getStateNode(C):void 0;this.stopActivities(O);const A=TE(_==null?void 0:_.exit,this.guardMap)(this.contextSnapshot,D,this.guardMeta),N=Ou(A),I=this.delayedEvents.get(O);I&&N.push(...I),this.executeActions(N,D)}),Fe(this,"performEntryEffects",(C,D)=>{const O=this.getStateNode(C),_=Ou(O==null?void 0:O.activities);this.createEveryActivities(O==null?void 0:O.every,K=>{_.unshift(K)}),_.length>0&&this.executeActivities(D,_);const A=TE(O==null?void 0:O.entry,this.guardMap)(this.contextSnapshot,D,this.guardMeta),N=Ou(A),I=this.getDelayedEventActions(C);O!=null&&O.after&&I&&(this.delayedEvents.set(C,I==null?void 0:I.exits),N.push(...I.entries)),this.executeActions(N,D),(O==null?void 0:O.type)==="final"&&(this.state.done=!0,this.doneListeners.forEach(K=>{K(this.stateSnapshot)}),this.stop())}),Fe(this,"performTransitionEffects",(C,D)=>{const O=this.determineTransition(C,D);this.executeActions(O==null?void 0:O.actions,D)}),Fe(this,"performStateChangeEffects",(C,D,O)=>{this.setEvent(O);const _=D.changed||D.reenter;_&&this.performExitEffects(C,O),this.performTransitionEffects(D.transition,O),this.setState(D.target),_&&this.performEntryEffects(D.target,O)}),Fe(this,"determineTransition",(C,D)=>{const O=II(C,this.guardMap);return O==null?void 0:O(this.contextSnapshot,D,this.guardMeta)}),Fe(this,"sendParent",C=>{var O;this.parent||Sy("[@zag-js/core > send-parent] Cannot send event to an unknown parent");const D=Ma(C);(O=this.parent)==null||O.send(D)}),Fe(this,"log",(...C)=>{TI()&&this.options.debug&&console.log(...C)}),Fe(this,"send",C=>{const D=Ma(C);this.transition(this.state.value,D)}),Fe(this,"transition",(C,D)=>{var I,K;const O=go(C)?this.getStateNode(C):C==null?void 0:C.stateNode,_=Ma(D);if(!O&&!this.config.on){const J=this.status==="Stopped"?"[@zag-js/core > transition] Cannot transition a stopped machine":`[@zag-js/core > transition] State does not have a definition for \`state\`: ${C}, \`event\`: ${_.type}`;CE(J);return}const A=((I=O==null?void 0:O.on)==null?void 0:I[_.type])??((K=this.config.on)==null?void 0:K[_.type]),N=this.getNextStateInfo(A,_);return this.performStateChangeEffects(this.state.value,N,_),N.stateNode}),Fe(this,"subscribe",C=>(this.stateListeners.add(C),this.status==="Running"&&C(this.stateSnapshot),()=>{this.stateListeners.delete(C)})),Fe(this,"onDone",C=>(this.doneListeners.add(C),this)),Fe(this,"onTransition",C=>(this.stateListeners.add(C),this.status==="Running"&&C(this.stateSnapshot),this)),this.config=ow(a),this.options=ow(u??{}),this.id=this.config.id??`machine-${aw()}`,this.guardMap=((d=this.options)==null?void 0:d.guards)??{},this.actionMap=((g=this.options)==null?void 0:g.actions)??{},this.delayMap=((b=this.options)==null?void 0:b.delays)??{},this.activityMap=((h=this.options)==null?void 0:h.activities)??{},this.sync=((x=this.options)==null?void 0:x.sync)??!1,this.state=_I(this.config),this.initialContext=Du(this.state.context);const l=Ma("machine.created");this.executeActions((R=this.config)==null?void 0:R.created,l)}get stateSnapshot(){return fl(Du(this.state))}getState(){return this.stateSnapshot}get contextSnapshot(){return this.stateSnapshot.context}get self(){const a=this;return{id:this.id,send:this.send.bind(this),sendParent:this.sendParent.bind(this),sendChild:this.sendChild.bind(this),stop:this.stop.bind(this),stopChild:this.stopChild.bind(this),spawn:this.spawn.bind(this),stopActivity:this.stopActivity.bind(this),get state(){return a.stateSnapshot},get initialContext(){return a.initialContext},get initialState(){var u;return((u=a.initialState)==null?void 0:u.target)??""}}}get meta(){var a;return{state:this.stateSnapshot,guards:this.guardMap,send:this.send.bind(this),self:this.self,initialContext:this.initialContext,initialState:((a=this.initialState)==null?void 0:a.target)??"",getState:()=>this.stateSnapshot,getAction:u=>this.actionMap[u],getGuard:u=>this.guardMap[u]}}get guardMeta(){return{state:this.stateSnapshot}}get[Symbol.toStringTag](){return"Machine"}},Iu=(a,u)=>new MI(a,u),PI=(...a)=>a.map(u=>{var l;return(l=u==null?void 0:u.trim)==null?void 0:l.call(u)}).filter(Boolean).join(" "),FI=/^on[A-Z]/;function dt(...a){let u={};for(let l of a){for(let d in u){if(FI.test(d)&&typeof u[d]=="function"&&typeof l[d]=="function"){u[d]=CI(u[d],l[d]);continue}if(d==="className"||d==="class"){u[d]=PI(u[d],l[d]);continue}if(d==="style"){u[d]=Object.assign({},u[d]??{},l[d]??{});continue}u[d]=l[d]!==void 0?l[d]:u[d]}for(let d in l)u[d]===void 0&&(u[d]=l[d])}return u}function zI(a){return new Proxy({},{get(){return a}})}var vi=()=>a=>Array.from(new Set(a)),sR=yo("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator"),Uv=sR.build(),En=oc({getRootId:a=>{var u;return((u=a.ids)==null?void 0:u.root)??`accordion:${a.id}`},getItemId:(a,u)=>{var l,d;return((d=(l=a.ids)==null?void 0:l.item)==null?void 0:d.call(l,u))??`accordion:${a.id}:item:${u}`},getItemContentId:(a,u)=>{var l,d;return((d=(l=a.ids)==null?void 0:l.content)==null?void 0:d.call(l,u))??`accordion:${a.id}:content:${u}`},getItemTriggerId:(a,u)=>{var l,d;return((d=(l=a.ids)==null?void 0:l.trigger)==null?void 0:d.call(l,u))??`accordion:${a.id}:trigger:${u}`},getRootEl:a=>En.getById(a,En.getRootId(a)),getTriggers:a=>{const l=`[aria-controls][data-ownedby='${CSS.escape(En.getRootId(a))}']:not([disabled])`;return Xw(En.getRootEl(a),l)},getFirstTriggerEl:a=>qw(En.getTriggers(a)),getLastTriggerEl:a=>Zw(En.getTriggers(a)),getNextTriggerEl:(a,u)=>Gw(En.getTriggers(a),En.getItemTriggerId(a,u)),getPrevTriggerEl:(a,u)=>Ww(En.getTriggers(a),En.getItemTriggerId(a,u))});function UI(a,u,l){const d=a.context.focusedValue,g=a.context.value,b=a.context.multiple;function h(R){let C=R;b&&C.length>1&&(C=[C[0]]),u({type:"VALUE.SET",value:C})}function x(R){return{isOpen:g.includes(R.value),isFocused:d===R.value,isDisabled:!!(R.disabled??a.context.disabled)}}return{focusedValue:d,value:g,setValue:h,getItemState:x,rootProps:l.element({...Uv.root.attrs,dir:a.context.dir,id:En.getRootId(a.context),"data-orientation":a.context.orientation}),getItemProps(R){const C=x(R);return l.element({...Uv.item.attrs,dir:a.context.dir,id:En.getItemId(a.context,R.value),"data-state":C.isOpen?"open":"closed","data-focus":nt(C.isFocused),"data-disabled":nt(C.isDisabled),"data-orientation":a.context.orientation})},getItemContentProps(R){const C=x(R);return l.element({...Uv.itemContent.attrs,dir:a.context.dir,role:"region",id:En.getItemContentId(a.context,R.value),"aria-labelledby":En.getItemTriggerId(a.context,R.value),hidden:!C.isOpen,"data-state":C.isOpen?"open":"closed","data-disabled":nt(C.isDisabled),"data-focus":nt(C.isFocused),"data-orientation":a.context.orientation})},getItemIndicatorProps(R){const C=x(R);return l.element({...Uv.itemIndicator.attrs,dir:a.context.dir,"aria-hidden":!0,"data-state":C.isOpen?"open":"closed","data-disabled":nt(C.isDisabled),"data-focus":nt(C.isFocused),"data-orientation":a.context.orientation})},getItemTriggerProps(R){const{value:C}=R,D=x(R);return l.button({...Uv.itemTrigger.attrs,type:"button",dir:a.context.dir,id:En.getItemTriggerId(a.context,C),"aria-controls":En.getItemContentId(a.context,C),"aria-expanded":D.isOpen,disabled:D.isDisabled,"data-orientation":a.context.orientation,"aria-disabled":D.isDisabled,"data-state":D.isOpen?"open":"closed","data-ownedby":En.getRootId(a.context),onFocus(){D.isDisabled||u({type:"TRIGGER.FOCUS",value:C})},onBlur(){D.isDisabled||u("TRIGGER.BLUR")},onClick(O){D.isDisabled||(Qw()&&O.currentTarget.focus(),u({type:"TRIGGER.CLICK",value:C}))},onKeyDown(O){if(D.isDisabled)return;const _={ArrowDown(){a.context.isHorizontal||u({type:"GOTO.NEXT",value:C})},ArrowUp(){a.context.isHorizontal||u({type:"GOTO.PREV",value:C})},ArrowRight(){a.context.isHorizontal&&u({type:"GOTO.NEXT",value:C})},ArrowLeft(){a.context.isHorizontal&&u({type:"GOTO.PREV",value:C})},Home(){u({type:"GOTO.FIRST",value:C})},End(){u({type:"GOTO.LAST",value:C})}},A=Cy(O,{dir:a.context.dir,orientation:a.context.orientation}),N=_[A];N&&(N(O),O.preventDefault())}})}}}var{and:HI,not:VI}=gf;function jI(a){const u=vl(a);return Iu({id:"accordion",initial:"idle",context:{focusedValue:null,value:[],collapsible:!1,multiple:!1,orientation:"vertical",...u},watch:{value:"coarseValue",multiple:"coarseValue"},created:"coarseValue",computed:{isHorizontal:l=>l.orientation==="horizontal"},on:{"VALUE.SET":{actions:["setValue"]}},states:{idle:{on:{"TRIGGER.FOCUS":{target:"focused",actions:"setFocusedValue"}}},focused:{on:{"GOTO.NEXT":{actions:"focusNextTrigger"},"GOTO.PREV":{actions:"focusPrevTrigger"},"TRIGGER.CLICK":[{guard:HI("isExpanded","canToggle"),actions:["collapse"]},{guard:VI("isExpanded"),actions:["expand"]}],"GOTO.FIRST":{actions:"focusFirstTrigger"},"GOTO.LAST":{actions:"focusLastTrigger"},"TRIGGER.BLUR":{target:"idle",actions:"clearFocusedValue"}}}}},{guards:{canToggle:l=>!!l.collapsible||!!l.multiple,isExpanded:(l,d)=>l.value.includes(d.value)},actions:{collapse(l,d){const g=l.multiple?eR(l.value,d.value):[];Hv.value(l,l.multiple?g:[])},expand(l,d){const g=l.multiple?Jw(l.value,d.value):[d.value];Hv.value(l,g)},focusFirstTrigger(l){var d;(d=En.getFirstTriggerEl(l))==null||d.focus()},focusLastTrigger(l){var d;(d=En.getLastTriggerEl(l))==null||d.focus()},focusNextTrigger(l){if(!l.focusedValue)return;const d=En.getNextTriggerEl(l,l.focusedValue);d==null||d.focus()},focusPrevTrigger(l){if(!l.focusedValue)return;const d=En.getPrevTriggerEl(l,l.focusedValue);d==null||d.focus()},setFocusedValue(l,d){Hv.focusedValue(l,d.value)},clearFocusedValue(l){Hv.focusedValue(l,null)},setValue(l,d){Hv.value(l,d.value)},coarseValue(l){!l.multiple&&l.value.length>1&&(tR("The value of accordion should be a single value when multiple is false."),l.value=[l.value[0]])}}})}var lw={change(a){var u;(u=a.onValueChange)==null||u.call(a,{value:Array.from(a.value)})},focusChange(a){var u;(u=a.onFocusChange)==null||u.call(a,{value:a.focusedValue})}},Hv={value(a,u){So(a.value,u)||(a.value=u,lw.change(a))},focusedValue(a,u){So(a.focusedValue,u)||(a.focusedValue=u,lw.focusChange(a))}};vi()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value"]);var BI=vi()(["value","disabled"]),$I=cI(BI),ci={},dy={exports:{}},xE={};/**
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ee=require("react/jsx-runtime"),it=require("@stokelp/styled-system/jsx"),Ln=require("@stokelp/styled-system/recipes"),de=require("react"),Rf=require("@stokelp/styled-system/css"),dR=require("@ark-ui/react"),vt=require("@pandacss/dev");function m_(r,l){return`${r} returned \`undefined\`. Seems you forgot to wrap component within ${l}`}function Hr(r={}){const{name:l,strict:o=!0,hookName:d="useContext",providerName:v="Provider",errorMessage:S,defaultValue:m}=r,b=de.createContext(m);b.displayName=l;function w(){var I;const T=de.useContext(b);if(!T&&o){const D=new Error(S??m_(d,v));throw D.name="ContextError",(I=Error.captureStackTrace)==null||I.call(Error,D,w),D}return T}return[b.Provider,w,b]}const[g_,Ky]=Hr({name:"AccordionContext",hookName:"useAccordionContext",providerName:"<AccordionProvider />"});var wo=(r,l=[])=>({parts:(...o)=>{if(y_(l))return wo(r,o);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...o)=>wo(r,[...l,...o]),rename:o=>wo(o,l),keys:()=>l,build:()=>[...new Set(l)].reduce((o,d)=>Object.assign(o,{[d]:{selector:[`&[data-scope="${Ef(r)}"][data-part="${Ef(d)}"]`,`& [data-scope="${Ef(r)}"][data-part="${Ef(d)}"]`].join(", "),attrs:{"data-scope":Ef(r),"data-part":Ef(d)}}}),{})}),Ef=r=>r.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),y_=r=>r.length===0,tt=r=>r?"":void 0,S_=r=>r?"true":void 0,Ro=r=>typeof r=="object"&&(r==null?void 0:r.nodeType)===Node.ELEMENT_NODE&&typeof(r==null?void 0:r.nodeName)=="string",fR=r=>r.nodeType===Node.DOCUMENT_NODE,E_=r=>r!=null&&r===r.window,b_=r=>r.nodeType!==void 0,C_=r=>r&&b_(r)&&r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in r;function kf(r,l){return!r||!l||!Ro(r)||!Ro(l)?!1:r===l||r.contains(l)}function lh(r){return fR(r)?r:E_(r)?r.document:(r==null?void 0:r.ownerDocument)??document}function Hu(r){var l;return C_(r)?Hu(r.host):fR(r)?r.defaultView??window:Ro(r)?((l=r.ownerDocument)==null?void 0:l.defaultView)??window:window}var Qy=()=>typeof document<"u";function T_(){const r=navigator.userAgentData;return(r==null?void 0:r.platform)??navigator.platform}var sC=r=>Qy()&&r.test(T_()),w_=r=>Qy()&&r.test(navigator.userAgent),x_=r=>Qy()&&r.test(navigator.vendor),R_=()=>Qy()&&!!navigator.maxTouchPoints,pR=()=>sC(/^Mac/)&&!R_(),vR=()=>O_()&&x_(/apple/i),k_=()=>w_(/firefox\//i),O_=()=>sC(/mac|iphone|ipad|ipod/i),D_=()=>sC(/iP(hone|ad|od)|iOS/);function dc(r){var l;return((l=r.composedPath)==null?void 0:l.call(r)[0])??r.target}var hR=r=>kf(r.currentTarget,dc(r)),cC=r=>r.id;function mR(r,l,o=cC){return r.find(d=>o(d)===l)}function dC(r,l,o=cC){const d=mR(r,l,o);return d?r.indexOf(d):-1}function gR(r,l,o=!0){let d=dC(r,l);return d=o?(d+1)%r.length:Math.min(d+1,r.length-1),r[d]}function yR(r,l,o=!0){let d=dC(r,l);return d===-1?o?r[r.length-1]:null:(d=o?(d-1+r.length)%r.length:Math.max(0,d-1),r[d])}var N_=r=>r.split("").map(l=>{const o=l.charCodeAt(0);return o>0&&o<128?l:o>=128&&o<=255?`/x${o.toString(16)}`.replace("/","\\"):""}).join("").trim(),L_=r=>N_(r.dataset.valuetext??r.textContent??""),I_=(r,l)=>r.trim().toLowerCase().startsWith(l.toLowerCase()),A_=(r,l)=>r.map((o,d)=>r[(Math.max(l,0)+d)%r.length]);function __(r,l,o,d=cC){const v=o?dC(r,o,d):-1;let S=o?A_(r,v):r;return l.length===1&&(S=S.filter(b=>d(b)!==o)),S.find(b=>I_(L_(b),l))}function M_(r,l){const{state:o,activeId:d,key:v,timeout:S=350,itemToId:m}=l,b=o.keysSoFar+v,T=b.length>1&&Array.from(b).every(_=>_===b[0])?b[0]:b;let I=r.slice();const D=__(I,T,d,m);function L(){clearTimeout(o.timer),o.timer=-1}function N(_){o.keysSoFar=_,L(),_!==""&&(o.timer=+setTimeout(()=>{N(""),L()},S))}return N(b),D}var Zb=Object.assign(M_,{defaultOptions:{keysSoFar:"",timer:-1},isValidEvent:P_});function P_(r){return r.key.length===1&&!r.ctrlKey&&!r.metaKey}var Pb=new WeakMap;function F_(r){return Pb.has(r)||Pb.set(r,Hu(r).getComputedStyle(r)),Pb.get(r)}var fC=r=>typeof r=="object"&&r!==null&&r.nodeType===1,SR=r=>fC(r)&&r.tagName==="IFRAME";function z_(r){return fC(r)?r.offsetWidth>0||r.offsetHeight>0||r.getClientRects().length>0:!1}function U_(r){return parseInt(r.getAttribute("tabindex")||"0",10)<0}var pC="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type",ER=(r,l=!1)=>{if(!r)return[];const o=Array.from(r.querySelectorAll(pC));(l==!0||l=="if-empty"&&o.length===0)&&fC(r)&&ah(r)&&o.unshift(r);const v=o.filter(ah);return v.forEach((S,m)=>{if(SR(S)&&S.contentDocument){const b=S.contentDocument.body;v.splice(m,1,...ER(b))}}),v};function ah(r){return!r||r.closest("[inert]")?!1:r.matches(pC)&&z_(r)}function vC(r,l){if(!r)return[];const o=Array.from(r.querySelectorAll(pC)),d=o.filter(Sx);return l&&Sx(r)&&d.unshift(r),d.forEach((v,S)=>{if(SR(v)&&v.contentDocument){const m=v.contentDocument.body,b=vC(m);d.splice(S,1,...b)}}),!d.length&&l?o:d}function Sx(r){return r!=null&&r.tabIndex>0?!0:ah(r)&&!U_(r)}function V_(r,l){const[o]=vC(r,l);return o||null}function H_(r,l){const o=vC(r,l),d=o[0]||null,v=o[o.length-1]||null;return[d,v]}function bR(r,l){let o=null;return o||(o=typeof l=="function"?l():l),o||(o=r==null?void 0:r.querySelector("[data-autofocus],[autofocus]")),o||(o=V_(r)),o||r||void 0}function B_(r){const l=r.currentTarget;if(!l)return!1;const[o,d]=H_(l),v=l.ownerDocument||document;return!(v.activeElement===o&&r.shiftKey||v.activeElement===d&&!r.shiftKey||!o&&!d)}function j_(r){if(r==null||!Ro(r))return!1;try{const l=Hu(r);return r instanceof l.HTMLInputElement&&r.selectionStart!=null||/(textarea|select)/.test(r.localName)||r.isContentEditable}catch{return!1}}var $_=/auto|scroll|overlay|hidden|clip/;function G_(r){const l=Hu(r),{overflow:o,overflowX:d,overflowY:v,display:S}=l.getComputedStyle(r);return $_.test(o+v+d)&&!["inline","contents"].includes(S)}function Jb(r){const l=new Set;function o(d){const v=globalThis.requestAnimationFrame(d);l.add(()=>globalThis.cancelAnimationFrame(v))}return o(()=>o(r)),function(){l.forEach(v=>v())}}function Tn(r){const l=globalThis.requestAnimationFrame(r);return()=>{globalThis.cancelAnimationFrame(l)}}function W_(r,l){if(!r)return;const{attributes:o,callback:d}=l,v=r.ownerDocument.defaultView||window,S=new v.MutationObserver(m=>{for(const b of m)b.type==="attributes"&&b.attributeName&&o.includes(b.attributeName)&&d(b)});return S.observe(r,{attributes:!0,attributeFilter:o}),()=>S.disconnect()}function Y_(r,l){const{defer:o}=l,d=o?Tn:S=>S(),v=[];return v.push(d(()=>{const S=typeof r=="function"?r():r;v.push(W_(S,l))})),()=>{v.forEach(S=>S==null?void 0:S())}}function CR(r,l){return Array.from((r==null?void 0:r.querySelectorAll(l))??[])}function hc(r){const l={getRootNode:o=>{var d;return((d=o.getRootNode)==null?void 0:d.call(o))??document},getDoc:o=>lh(l.getRootNode(o)),getWin:o=>l.getDoc(o).defaultView??window,getActiveElement:o=>l.getDoc(o).activeElement,isActiveElement:(o,d)=>d===l.getActiveElement(o),getById:(o,d)=>l.getRootNode(o).getElementById(d),setValue:(o,d)=>{if(o==null||d==null)return;const v=d.toString();o.value!==v&&(o.value=d.toString())}};return{...l,...r}}function K_(r){return r.scrollHeight>r.clientHeight||r.scrollWidth>r.clientWidth}function Q_(r,l){const{rootEl:o,...d}=l||{};!r||!o||!G_(o)||!K_(o)||r.scrollIntoView(d)}var Fb=new WeakMap;function q_(r,l,o){Fb.has(r)||Fb.set(r,new Map);const d=Fb.get(r),v=d.get(l);if(!v)return d.set(l,o()),()=>{var b;(b=d.get(l))==null||b(),d.delete(l)};const S=o(),m=()=>{S(),v(),d.delete(l)};return d.set(l,m),()=>{d.get(l)===m&&(S(),d.set(l,v))}}function X_(r,l){return r?q_(r,"style",()=>{const d=r.style.cssText;return Object.assign(r.style,l),()=>{r.style.cssText=d}}):()=>{}}var hC={border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},Z_=1e3/60;function J_(r,l){const o=r();if(Ro(o)&&o.isConnected)return l(o),()=>{};{const d=setInterval(()=>{const v=r();Ro(v)&&v.isConnected&&(l(v),clearInterval(d))},Z_);return()=>clearInterval(d)}}function eM(r,l){const o=[];return r==null||r.forEach(d=>{const v=J_(d,l);o.push(v)}),()=>{o.forEach(d=>d())}}var zi=(r,l,o,d)=>{const v=typeof r=="function"?r():r;return v==null||v.addEventListener(l,o,d),()=>{v==null||v.removeEventListener(l,o,d)}},tM=r=>r.button===0,nM=r=>r.button===2||pR()&&r.ctrlKey&&r.button===0;function rM(r,l,o){const v=(m=>{const b=requestAnimationFrame(m);return()=>cancelAnimationFrame(b)})(()=>{r.removeEventListener(l,S,!0),o()}),S=()=>{v(),o()};return r.addEventListener(l,S,{once:!0,capture:!0}),v}function iM(r){return(r==null?void 0:r.matches("a[href]"))??!1}function aM(r){if(!iM(r))return;const l=()=>r.click();k_()?rM(r,"keyup",l):queueMicrotask(l)}function Ex(r,l,o){if(!r)return;const d=r.ownerDocument.defaultView||window,v=new d.CustomEvent(l,o);return r.dispatchEvent(v)}var oM={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},bx={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"};function My(r,l={}){const{dir:o="ltr",orientation:d="horizontal"}=l;let{key:v}=r;return v=oM[v]??v,o==="rtl"&&d==="horizontal"&&v in bx&&(v=bx[v]),v}function lM(r,l="client"){const o=r.touches[0]||r.changedTouches[0];return{x:o[`${l}X`],y:o[`${l}Y`]}}function uM(r,l="client"){return{x:r[`${l}X`],y:r[`${l}Y`]}}var sM=r=>"touches"in r&&r.touches.length>0;function cM(r,l="client"){return sM(r)?lM(r,l):uM(r,l)}function TR(r){return r.nativeEvent??r}var Ny=(...r)=>l=>r.reduce((o,d)=>d(o),l),Ey=()=>{},dM=r=>!(r.metaKey||!pR()&&r.altKey||r.ctrlKey||r.key==="Control"||r.key==="Shift"||r.key==="Meta");function wR(r,l){if(!r)return;const{onFocus:o,onBlur:d}=l,v=Hu(r);let S=!1;const m=T=>{let I=!1;try{I=r.matches(":focus-visible")}catch{I=!0}I&&(S=!0,o==null||o(T))},b=T=>{S&&(S=!1,d==null||d(T))},w=T=>{if(!r.matches(":focus")||!dM(T))return;S=!0;const I=new v.FocusEvent("focus");o==null||o(I)};return Ny(zi(r,"focusin",m),zi(r,"focusout",b),zi(r,"keydown",w,!0))}function xR(r){const{pointerNode:l,keyboardNode:o=l,onPress:d,onPressStart:v,onPressEnd:S,isValidKey:m=Z=>Z.key==="Enter"}=r;if(!l)return Ey;const b=Hu(l),w=lh(l);let T=Ey,I=Ey,D=Ey;const L=Z=>({point:cM(Z),event:Z});function N(Z){v==null||v(L(Z))}function _(Z){S==null||S(L(Z))}const X=zi(l,"pointerdown",Z=>{I();const fe=zi(b,"pointerup",we=>{const gt=dc(we);kf(l,gt)?d==null||d(L(we)):S==null||S(L(we))},{passive:!d}),Fe=zi(b,"pointercancel",_,{passive:!S});I=Ny(fe,Fe),w.activeElement===o&&Z.pointerType==="mouse"&&Z.preventDefault(),N(Z)},{passive:!v}),z=zi(o,"focus",te);T=Ny(X,z);function te(){const Z=we=>{if(!m(we))return;const gt=Ee=>{if(!m(Ee))return;const se=new b.PointerEvent("pointerup"),K=L(se);d==null||d(K),S==null||S(K)};I(),I=zi(o,"keyup",gt);const Ie=new b.PointerEvent("pointerdown");N(Ie)},me=()=>{const we=new b.PointerEvent("pointercancel");_(we)},fe=zi(o,"keydown",Z),Fe=zi(o,"blur",me);D=Ny(fe,Fe)}return function(){T(),I(),D()}}var RR=r=>r[0],kR=r=>r[r.length-1],fM=(r,l)=>r.indexOf(l)!==-1,OR=(r,...l)=>r.concat(l),DR=(r,l)=>r.filter(o=>o!==l),pM=(r,l)=>fM(r,l)?DR(r,l):OR(r,l),Cx=r=>(r==null?void 0:r.constructor.name)==="Array",xo=(r,l)=>{if(Object.is(r,l))return!0;if(r==null&&l!=null||r!=null&&l==null)return!1;if(typeof(r==null?void 0:r.isEqual)=="function"&&typeof(l==null?void 0:l.isEqual)=="function")return r.isEqual(l);if(typeof r=="function"&&typeof l=="function")return r.toString()===l.toString();if(Cx(r)&&Cx(l))return Array.from(r).toString()===Array.from(l).toString();if(typeof r!="object"||typeof l!="object")return!1;const o=Object.keys(l??Object.create(null)),d=o.length;for(let v=0;v<d;v++)if(!Reflect.has(r,o[v]))return!1;for(let v=0;v<d;v++){const S=o[v];if(!xo(r[S],l[S]))return!1}return!0},vM=(r,...l)=>(typeof r=="function"?r(...l):r)??void 0,hM=()=>{},Tx=(...r)=>(...l)=>{r.forEach(function(o){o==null||o(...l)})},mM=r=>typeof r=="function",gM=r=>r==null;function Cl(r){if(!yM(r)||r===void 0)return r;const l=Reflect.ownKeys(r).filter(d=>typeof d=="string"),o={};for(const d of l){const v=r[d];v!==void 0&&(o[d]=Cl(v))}return o}var yM=r=>r&&typeof r=="object"&&r.constructor===Object;function SM(r,l){const o={},d={},v=new Set(l);for(const S in r)v.has(S)?d[S]=r[S]:o[S]=r[S];return[d,o]}var EM=r=>function(o){return SM(o,r)};function NR(...r){const l=r.length===1?r[0]:r[1];(r.length===2?r[0]:!0)&&process.env.NODE_ENV!=="production"&&console.warn(l)}const bM=Symbol(),mC=Symbol(),th="a",LR="f",wx="p",IR="c",AR="t",zb="n",Ub="g",_R="h",Ly="w",MR="o",PR="k";let CM=(r,l)=>new Proxy(r,l);const eC=Object.getPrototypeOf,tC=new WeakMap,FR=r=>r&&(tC.has(r)?tC.get(r):eC(r)===Object.prototype||eC(r)===Array.prototype),xx=r=>typeof r=="object"&&r!==null,TM=r=>Object.values(Object.getOwnPropertyDescriptors(r)).some(l=>!l.configurable&&!l.writable),wM=r=>{if(Array.isArray(r))return Array.from(r);const l=Object.getOwnPropertyDescriptors(r);return Object.values(l).forEach(o=>{o.configurable=!0}),Object.create(eC(r),l)},xM=(r,l)=>{const o={[LR]:l};let d=!1;const v=(b,w)=>{if(!d){let T=o[th].get(r);if(T||(T={},o[th].set(r,T)),b===Ly)T[Ly]=!0;else{let I=T[b];I||(I=new Set,T[b]=I),I.add(w)}}},S=()=>{d=!0,o[th].delete(r)},m={get(b,w){return w===mC?r:(v(PR,w),UR(Reflect.get(b,w),o[th],o[IR],o[AR]))},has(b,w){return w===bM?(S(),!0):(v(_R,w),Reflect.has(b,w))},getOwnPropertyDescriptor(b,w){return v(MR,w),Reflect.getOwnPropertyDescriptor(b,w)},ownKeys(b){return v(Ly),Reflect.ownKeys(b)}};return l&&(m.set=m.deleteProperty=()=>!1),[m,o]},zR=r=>r[mC]||r,UR=(r,l,o,d)=>{if(!FR(r))return r;let v=d&&d.get(r);if(!v){const w=zR(r);TM(w)?v=[w,wM(w)]:v=[w],d==null||d.set(r,v)}const[S,m]=v;let b=o&&o.get(S);return(!b||b[1][LR]!==!!m)&&(b=xM(S,!!m),b[1][wx]=CM(m||S,b[0]),o&&o.set(S,b)),b[1][th]=l,b[1][IR]=o,b[1][AR]=d,b[1][wx]},RM=(r,l)=>{const o=Reflect.ownKeys(r),d=Reflect.ownKeys(l);return o.length!==d.length||o.some((v,S)=>v!==d[S])},VR=(r,l,o,d,v=Object.is)=>{if(v(r,l))return!1;if(!xx(r)||!xx(l))return!0;const S=o.get(zR(r));if(!S)return!0;if(d){const b=d.get(r);if(b&&b[zb]===l)return b[Ub];d.set(r,{[zb]:l,[Ub]:!1})}let m=null;try{for(const b of S[_R]||[])if(m=Reflect.has(r,b)!==Reflect.has(l,b),m)return m;if(S[Ly]===!0){if(m=RM(r,l),m)return m}else for(const b of S[MR]||[]){const w=!!Reflect.getOwnPropertyDescriptor(r,b),T=!!Reflect.getOwnPropertyDescriptor(l,b);if(m=w!==T,m)return m}for(const b of S[PR]||[])if(m=VR(r[b],l[b],o,d,v),m)return m;return m===null&&(m=!0),m}finally{d&&d.set(r,{[zb]:l,[Ub]:m})}},kM=r=>FR(r)&&r[mC]||null,Rx=(r,l=!0)=>{tC.set(r,l)};function OM(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global}function gC(r,l){const o=OM();return o?(o[r]||(o[r]=l()),o[r]):l()}var Py=process.env.NODE_ENV!=="production",Vb=r=>typeof r=="object"&&r!==null,sc=gC("__zag__proxyStateMap",()=>new WeakMap),nh=gC("__zag__refSet",()=>new WeakSet),DM=(r=Object.is,l=(T,I)=>new Proxy(T,I),o=T=>Vb(T)&&!nh.has(T)&&(Array.isArray(T)||!(Symbol.iterator in T))&&!(T instanceof WeakMap)&&!(T instanceof WeakSet)&&!(T instanceof Error)&&!(T instanceof Number)&&!(T instanceof Date)&&!(T instanceof String)&&!(T instanceof RegExp)&&!(T instanceof ArrayBuffer),d=T=>{switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:throw T}},v=new WeakMap,S=(T,I,D=d)=>{const L=v.get(T);if((L==null?void 0:L[0])===I)return L[1];const N=Array.isArray(T)?[]:Object.create(Object.getPrototypeOf(T));return Rx(N,!0),v.set(T,[I,N]),Reflect.ownKeys(T).forEach(_=>{const B=Reflect.get(T,_);nh.has(B)?(Rx(B,!1),N[_]=B):B instanceof Promise?Object.defineProperty(N,_,{get(){return D(B)}}):sc.has(B)?N[_]=Pu(B,D):N[_]=B}),Object.freeze(N)},m=new WeakMap,b=[1,1],w=T=>{if(!Vb(T))throw new Error("object required");const I=m.get(T);if(I)return I;let D=b[0];const L=new Set,N=(Ie,Ee=++b[0])=>{D!==Ee&&(D=Ee,L.forEach(se=>se(Ie,Ee)))};let _=b[1];const B=(Ie=++b[1])=>(_!==Ie&&!L.size&&(_=Ie,z.forEach(([Ee])=>{const se=Ee[1](Ie);se>D&&(D=se)})),D),X=Ie=>(Ee,se)=>{const K=[...Ee];K[1]=[Ie,...K[1]],N(K,se)},z=new Map,te=(Ie,Ee)=>{if(Py&&z.has(Ie))throw new Error("prop listener already exists");if(L.size){const se=Ee[3](X(Ie));z.set(Ie,[Ee,se])}else z.set(Ie,[Ee])},Z=Ie=>{var se;const Ee=z.get(Ie);Ee&&(z.delete(Ie),(se=Ee[1])==null||se.call(Ee))},me=Ie=>(L.add(Ie),L.size===1&&z.forEach(([se,K],Y)=>{if(Py&&K)throw new Error("remove already exists");const ie=se[3](X(Y));z.set(Y,[se,ie])}),()=>{L.delete(Ie),L.size===0&&z.forEach(([se,K],Y)=>{K&&(K(),z.set(Y,[se]))})}),fe=Array.isArray(T)?[]:Object.create(Object.getPrototypeOf(T)),we=l(fe,{deleteProperty(Ie,Ee){const se=Reflect.get(Ie,Ee);Z(Ee);const K=Reflect.deleteProperty(Ie,Ee);return K&&N(["delete",[Ee],se]),K},set(Ie,Ee,se,K){var ke;const Y=Reflect.has(Ie,Ee),ie=Reflect.get(Ie,Ee,K);if(Y&&(r(ie,se)||m.has(se)&&r(ie,m.get(se))))return!0;Z(Ee),Vb(se)&&(se=kM(se)||se);let Ve=se;if(!((ke=Object.getOwnPropertyDescriptor(Ie,Ee))!=null&&ke.set))if(se instanceof Promise)se.then(Be=>{Object.assign(se,{status:"fulfilled",value:Be}),N(["resolve",[Ee],Be])}).catch(Be=>{Object.assign(se,{status:"rejected",reason:Be}),N(["reject",[Ee],Be])});else{!sc.has(se)&&o(se)&&(Ve=yC(se));const Be=!nh.has(Ve)&&sc.get(Ve);Be&&te(Ee,Be)}return Reflect.set(Ie,Ee,Ve,K),N(["set",[Ee],se,ie]),!0}});m.set(T,we);const gt=[fe,B,S,me];return sc.set(we,gt),Reflect.ownKeys(T).forEach(Ie=>{const Ee=Object.getOwnPropertyDescriptor(T,Ie);Ee.get||Ee.set?Object.defineProperty(fe,Ie,Ee):we[Ie]=T[Ie]}),we})=>[w,sc,nh,r,l,o,d,v,S,m,b],[NM]=DM();function yC(r={}){return NM(r)}function nC(r,l,o){const d=sc.get(r);Py&&!d&&console.warn("Please use proxy object");let v;const S=[],m=d[3];let b=!1;const T=m(I=>{if(S.push(I),o){l(S.splice(0));return}v||(v=Promise.resolve().then(()=>{v=void 0,b&&l(S.splice(0))}))});return b=!0,()=>{b=!1,T()}}function Pu(r,l){const o=sc.get(r);Py&&!o&&console.warn("Please use proxy object");const[d,v,S]=o;return S(d,v(),l)}function fc(r){return nh.add(r),r}function LM(r,l){Object.keys(l).forEach(v=>{if(Object.getOwnPropertyDescriptor(r,v))throw new Error("object property already defined");const S=l[v],{get:m,set:b}=typeof S=="function"?{get:S}:S,w={};w.get=()=>m(Pu(d)),b&&(w.set=T=>b(d,T)),Object.defineProperty(r,v,w)});const d=yC(r);return d}function kx(r,l,o){typeof o.value=="object"&&(o.value=wf(o.value)),!o.enumerable||o.get||o.set||!o.configurable||!o.writable||l==="__proto__"?Object.defineProperty(r,l,o):r[l]=o.value}function wf(r){if(typeof r!="object")return r;var l=0,o,d,v,S=Object.prototype.toString.call(r);if(S==="[object Object]"?v=Object.create(r.__proto__||null):S==="[object Array]"?v=Array(r.length):S==="[object Set]"?(v=new Set,r.forEach(function(m){v.add(wf(m))})):S==="[object Map]"?(v=new Map,r.forEach(function(m,b){v.set(wf(b),wf(m))})):S==="[object Date]"?v=new Date(+r):S==="[object RegExp]"?v=new RegExp(r.source,r.flags):S==="[object DataView]"?v=new r.constructor(wf(r.buffer)):S==="[object ArrayBuffer]"?v=r.slice(0):S.slice(-6)==="Array]"&&(v=new r.constructor(r)),v){for(d=Object.getOwnPropertySymbols(r);l<d.length;l++)kx(v,d[l],Object.getOwnPropertyDescriptor(r,d[l]));for(l=0,d=Object.getOwnPropertyNames(r);l<d.length;l++)Object.hasOwnProperty.call(v,o=d[l])&&v[o]===r[o]||kx(v,o,Object.getOwnPropertyDescriptor(r,o))}return v||r}var IM=Object.defineProperty,AM=(r,l,o)=>l in r?IM(r,l,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[l]=o,ze=(r,l,o)=>(AM(r,typeof l!="symbol"?l+"":l,o),o);function _M(r){for(;r.length>0;)r.pop();return r}var Ox=(r,...l)=>(typeof r=="function"?r(...l):r)??void 0,Sl=r=>r,MM=()=>{},PM=(...r)=>(...l)=>{r.forEach(function(o){o==null||o(...l)})},Dx=(()=>{let r=0;return()=>(r++,r.toString(36))})(),FM=()=>process.env.NODE_ENV!=="production",Fy=r=>Array.isArray(r),rh=r=>!(r==null||typeof r!="object"||Fy(r)),zM=r=>typeof r=="number"&&!Number.isNaN(r),Vi=r=>typeof r=="string",zy=r=>typeof r=="function",UM=(r,l)=>Object.prototype.hasOwnProperty.call(r,l);function Uy(r){if(!VM(r)||r===void 0)return r;const l=Reflect.ownKeys(r).filter(d=>typeof d=="string"),o={};for(const d of l){const v=r[d];v!==void 0&&(o[d]=Uy(v))}return o}var VM=r=>r&&typeof r=="object"&&r.constructor===Object;function Hb(...r){const l=r.length===1?r[0]:r[1];(r.length===2?r[0]:!0)&&process.env.NODE_ENV!=="production"&&console.warn(l)}function Iy(...r){const l=r.length===1?r[0]:r[1];if((r.length===2?r[0]:!0)&&process.env.NODE_ENV!=="production")throw new Error(l)}function HR(r,...l){for(const o of l){const d=Uy(o);for(const v in d)rh(o[v])?(r[v]||(r[v]={}),HR(r[v],o[v])):r[v]=o[v]}return r}function Nx(r){return wf(r)}function Ua(r){return Vi(r)?{type:r}:r}function Mu(r){return r?Fy(r)?r.slice():[r]:[]}function BR(r){return rh(r)&&r.predicate!=null}var HM=()=>!0;function SC(r,l,o,d){return v=>{var S;return Vi(v)?!!((S=r[v])!=null&&S.call(r,l,o,d)):zy(v)?v(l,o,d):v.predicate(r)(l,o,d)}}function BM(...r){return{predicate:l=>(o,d,v)=>r.map(SC(l,o,d,v)).some(Boolean)}}function jM(...r){return{predicate:l=>(o,d,v)=>r.map(SC(l,o,d,v)).every(Boolean)}}function $M(r){return{predicate:l=>(o,d,v)=>!SC(l,o,d,v)(r)}}function GM(...r){return(l,o,d)=>d.state.matches(...r)}var uh={or:BM,and:jM,not:$M,stateIn:GM};function jR(r,l){return r=r??HM,(o,d,v)=>{if(Vi(r)){const S=l[r];return zy(S)?S(o,d,v):S}return BR(r)?r.predicate(l)(o,d,v):r==null?void 0:r(o,d,v)}}function Bb(r,l){return(o,d,v)=>BR(r)?r.predicate(l)(o,d,v):r}function WM(r){var S,m;const l=r.computed??Sl({}),o=r.context??Sl({}),d=r.initial?(m=(S=r.states)==null?void 0:S[r.initial])==null?void 0:m.tags:[],v=yC({value:r.initial??"",previousValue:"",event:Sl({}),previousEvent:Sl({}),context:LM(o,l),done:!1,tags:d??[],hasTag(b){return this.tags.includes(b)},matches(...b){return b.includes(this.value)},can(b){return Sl(this).nextEvents.includes(b)},get nextEvents(){var T,I;const b=((I=(T=r.states)==null?void 0:T[this.value])==null?void 0:I.on)??{},w=(r==null?void 0:r.on)??{};return Object.keys({...b,...w})},get changed(){return this.event.value==="machine.init"||!this.previousValue?!1:this.value!==this.previousValue}});return Sl(v)}function Kv(r,l){return(o,d)=>{if(zM(r))return r;if(zy(r))return r(o,d);if(Vi(r)){const v=Number.parseFloat(r);if(!Number.isNaN(v))return v;if(l){const S=l==null?void 0:l[r];return Iy(S==null,`[@zag-js/core > determine-delay] Cannot determine delay for \`${r}\`. It doesn't exist in \`options.delays\``),zy(S)?S(o,d):S}}}}function YM(r){return Vi(r)?{target:r}:r}function KM(r,l){return(o,d,v)=>Mu(r).map(YM).find(S=>jR(S.guard,l)(o,d,v)??S.target??S.actions)}var QM=class{constructor(r,l){var o,d,v,S,m;ze(this,"status","Not Started"),ze(this,"state"),ze(this,"initialState"),ze(this,"initialContext"),ze(this,"id"),ze(this,"type","machine"),ze(this,"activityEvents",new Map),ze(this,"delayedEvents",new Map),ze(this,"stateListeners",new Set),ze(this,"doneListeners",new Set),ze(this,"contextWatchers",new Set),ze(this,"removeStateListener",MM),ze(this,"parent"),ze(this,"children",new Map),ze(this,"guardMap"),ze(this,"actionMap"),ze(this,"delayMap"),ze(this,"activityMap"),ze(this,"sync"),ze(this,"options"),ze(this,"config"),ze(this,"_created",()=>{var w;const b=Ua("machine.created");this.executeActions((w=this.config)==null?void 0:w.created,b)}),ze(this,"start",b=>{if(this.state.value="",this.state.tags=[],this.status==="Running")return this;this.status="Running",this.removeStateListener=nC(this.state,()=>{this.stateListeners.forEach(N=>{N(this.stateSnapshot)})},this.sync),this.setupContextWatchers(),this.executeActivities(Ua("machine.start"),Mu(this.config.activities),"machine.start"),this.executeActions(this.config.entry,Ua("machine.start"));const w=Ua("machine.init"),T=rh(b)?b.value:b,I=rh(b)?b.context:void 0;I&&this.setContext(I);const D={target:T??this.config.initial},L=this.getNextStateInfo(D,w);return this.initialState=L,this.performStateChangeEffects(this.state.value,L,w),this}),ze(this,"setupContextWatchers",()=>{const{watch:b}=this.config;if(!b)return;let w=Pu(this.state.context);const T=nC(this.state.context,()=>{var D;const I=Pu(this.state.context);for(const[L,N]of Object.entries(b))(((D=this.options.compareFns)==null?void 0:D[L])??Object.is)(w[L],I[L])||this.executeActions(N,this.state.event);w=I});this.contextWatchers.add(T)}),ze(this,"stop",()=>{if(this.status!=="Stopped")return this.performExitEffects(this.state.value,Ua("machine.stop")),this.executeActions(this.config.exit,Ua("machine.stop")),this.setState(""),this.setEvent("machine.stop"),this.stopStateListeners(),this.stopChildren(),this.stopActivities(),this.stopDelayedEvents(),this.stopContextWatchers(),this.status="Stopped",this}),ze(this,"stopStateListeners",()=>{this.removeStateListener(),this.stateListeners.clear()}),ze(this,"stopContextWatchers",()=>{this.contextWatchers.forEach(b=>b()),this.contextWatchers.clear()}),ze(this,"stopDelayedEvents",()=>{this.delayedEvents.forEach(b=>{b.forEach(w=>w())}),this.delayedEvents.clear()}),ze(this,"stopActivities",b=>{var w,T;b?((w=this.activityEvents.get(b))==null||w.forEach(I=>I()),(T=this.activityEvents.get(b))==null||T.clear(),this.activityEvents.delete(b)):(this.activityEvents.forEach(I=>{I.forEach(D=>D()),I.clear()}),this.activityEvents.clear())}),ze(this,"sendChild",(b,w)=>{const T=Ua(b),I=Ox(w,this.contextSnapshot),D=this.children.get(I);D||Iy(`[@zag-js/core] Cannot send '${T.type}' event to unknown child`),D.send(T)}),ze(this,"stopChild",b=>{this.children.has(b)||Iy(`[@zag-js/core > stop-child] Cannot stop unknown child ${b}`),this.children.get(b).stop(),this.children.delete(b)}),ze(this,"removeChild",b=>{this.children.delete(b)}),ze(this,"stopChildren",()=>{this.children.forEach(b=>b.stop()),this.children.clear()}),ze(this,"setParent",b=>{this.parent=b}),ze(this,"spawn",(b,w)=>{const T=Ox(b);return w&&(T.id=w),T.type="machine.actor",T.setParent(this),this.children.set(T.id,Sl(T)),T.onDone(()=>{this.removeChild(T.id)}).start(),Sl(fc(T))}),ze(this,"stopActivity",b=>{var T;if(!this.state.value)return;const w=this.activityEvents.get(this.state.value);(T=w==null?void 0:w.get(b))==null||T(),w==null||w.delete(b)}),ze(this,"addActivityCleanup",(b,w,T)=>{var I;b&&(this.activityEvents.has(b)?(I=this.activityEvents.get(b))==null||I.set(w,T):this.activityEvents.set(b,new Map([[w,T]])))}),ze(this,"setState",b=>{this.state.previousValue=this.state.value,this.state.value=b;const w=this.getStateNode(b);b==null?_M(this.state.tags):this.state.tags=Mu(w==null?void 0:w.tags)}),ze(this,"setContext",b=>{b&&HR(this.state.context,Uy(b))}),ze(this,"setOptions",b=>{const w=Uy(b);this.actionMap={...this.actionMap,...w.actions},this.delayMap={...this.delayMap,...w.delays},this.activityMap={...this.activityMap,...w.activities},this.guardMap={...this.guardMap,...w.guards}}),ze(this,"getStateNode",b=>{var w;if(b)return(w=this.config.states)==null?void 0:w[b]}),ze(this,"getNextStateInfo",(b,w)=>{const T=this.determineTransition(b,w),I=!(T!=null&&T.target),D=(T==null?void 0:T.target)??this.state.value,L=this.state.value!==D,N=this.getStateNode(D),B={reenter:!I&&!L&&!(T!=null&&T.internal),transition:T,stateNode:N,target:D,changed:L};return this.log("NextState:",`[${w.type}]`,this.state.value,"---->",B.target),B}),ze(this,"getAfterActions",(b,w)=>{let T;return{entry:()=>{T=globalThis.setTimeout(()=>{const I=this.getNextStateInfo(b,this.state.event);this.performStateChangeEffects(this.state.value,I,this.state.event)},w)},exit:()=>{globalThis.clearTimeout(T)}}}),ze(this,"getDelayedEventActions",b=>{const w=this.getStateNode(b),T=this.state.event;if(!w||!w.after)return;const I=[],D=[];if(Fy(w.after)){const L=this.determineTransition(w.after,T);if(!L)return;if(!UM(L,"delay"))throw new Error(`[@zag-js/core > after] Delay is required for after transition: ${JSON.stringify(L)}`);const _=Kv(L.delay,this.delayMap)(this.contextSnapshot,T),B=this.getAfterActions(L,_);return I.push(B.entry),D.push(B.exit),{entries:I,exits:D}}if(rh(w.after))for(const L in w.after){const N=w.after[L],B=Kv(L,this.delayMap)(this.contextSnapshot,T),X=this.getAfterActions(N,B);I.push(X.entry),D.push(X.exit)}return{entries:I,exits:D}}),ze(this,"executeActions",(b,w)=>{var I;const T=Bb(b,this.guardMap)(this.contextSnapshot,w,this.guardMeta);for(const D of Mu(T)){const L=Vi(D)?(I=this.actionMap)==null?void 0:I[D]:D;Hb(Vi(D)&&!L,`[@zag-js/core > execute-actions] No implementation found for action: \`${D}\``),L==null||L(this.state.context,w,this.meta)}}),ze(this,"executeActivities",(b,w,T)=>{var I;for(const D of w){const L=Vi(D)?(I=this.activityMap)==null?void 0:I[D]:D;if(!L){Hb(`[@zag-js/core > execute-activity] No implementation found for activity: \`${D}\``);continue}const N=L(this.state.context,b,this.meta);if(N){const _=Vi(D)?D:D.name||Dx();this.addActivityCleanup(T??this.state.value,_,N)}}}),ze(this,"createEveryActivities",(b,w)=>{if(b)if(Fy(b)){const T=Mu(b).find(N=>{const _=N.delay,X=Kv(_,this.delayMap)(this.contextSnapshot,this.state.event);return jR(N.guard,this.guardMap)(this.contextSnapshot,this.state.event,this.guardMeta)??X!=null});if(!T)return;const D=Kv(T.delay,this.delayMap)(this.contextSnapshot,this.state.event);w(()=>{const N=globalThis.setInterval(()=>{this.executeActions(T.actions,this.state.event)},D);return()=>{globalThis.clearInterval(N)}})}else for(const T in b){const I=b==null?void 0:b[T],L=Kv(T,this.delayMap)(this.contextSnapshot,this.state.event);w(()=>{const _=globalThis.setInterval(()=>{this.executeActions(I,this.state.event)},L);return()=>{globalThis.clearInterval(_)}})}}),ze(this,"setEvent",b=>{this.state.previousEvent=this.state.event,this.state.event=fc(Ua(b))}),ze(this,"performExitEffects",(b,w)=>{const T=this.state.value;if(T==="")return;const I=b?this.getStateNode(b):void 0;this.stopActivities(T);const D=Bb(I==null?void 0:I.exit,this.guardMap)(this.contextSnapshot,w,this.guardMeta),L=Mu(D),N=this.delayedEvents.get(T);N&&L.push(...N),this.executeActions(L,w)}),ze(this,"performEntryEffects",(b,w)=>{const T=this.getStateNode(b),I=Mu(T==null?void 0:T.activities);this.createEveryActivities(T==null?void 0:T.every,_=>{I.unshift(_)}),I.length>0&&this.executeActivities(w,I);const D=Bb(T==null?void 0:T.entry,this.guardMap)(this.contextSnapshot,w,this.guardMeta),L=Mu(D),N=this.getDelayedEventActions(b);T!=null&&T.after&&N&&(this.delayedEvents.set(b,N==null?void 0:N.exits),L.push(...N.entries)),this.executeActions(L,w),(T==null?void 0:T.type)==="final"&&(this.state.done=!0,this.doneListeners.forEach(_=>{_(this.stateSnapshot)}),this.stop())}),ze(this,"performTransitionEffects",(b,w)=>{const T=this.determineTransition(b,w);this.executeActions(T==null?void 0:T.actions,w)}),ze(this,"performStateChangeEffects",(b,w,T)=>{this.setEvent(T);const I=w.changed||w.reenter;I&&this.performExitEffects(b,T),this.performTransitionEffects(w.transition,T),this.setState(w.target),I&&this.performEntryEffects(w.target,T)}),ze(this,"determineTransition",(b,w)=>{const T=KM(b,this.guardMap);return T==null?void 0:T(this.contextSnapshot,w,this.guardMeta)}),ze(this,"sendParent",b=>{var T;this.parent||Iy("[@zag-js/core > send-parent] Cannot send event to an unknown parent");const w=Ua(b);(T=this.parent)==null||T.send(w)}),ze(this,"log",(...b)=>{FM()&&this.options.debug&&console.log(...b)}),ze(this,"send",b=>{const w=Ua(b);this.transition(this.state.value,w)}),ze(this,"transition",(b,w)=>{var N,_;const T=Vi(b)?this.getStateNode(b):b==null?void 0:b.stateNode,I=Ua(w);if(!T&&!this.config.on){const B=this.status==="Stopped"?"[@zag-js/core > transition] Cannot transition a stopped machine":`[@zag-js/core > transition] State does not have a definition for \`state\`: ${b}, \`event\`: ${I.type}`;Hb(B);return}const D=((N=T==null?void 0:T.on)==null?void 0:N[I.type])??((_=this.config.on)==null?void 0:_[I.type]),L=this.getNextStateInfo(D,I);return this.performStateChangeEffects(this.state.value,L,I),L.stateNode}),ze(this,"subscribe",b=>(this.stateListeners.add(b),this.status==="Running"&&b(this.stateSnapshot),()=>{this.stateListeners.delete(b)})),ze(this,"onDone",b=>(this.doneListeners.add(b),this)),ze(this,"onTransition",b=>(this.stateListeners.add(b),this.status==="Running"&&b(this.stateSnapshot),this)),this.config=Nx(r),this.options=Nx(l??{}),this.id=this.config.id??`machine-${Dx()}`,this.guardMap=((o=this.options)==null?void 0:o.guards)??{},this.actionMap=((d=this.options)==null?void 0:d.actions)??{},this.delayMap=((v=this.options)==null?void 0:v.delays)??{},this.activityMap=((S=this.options)==null?void 0:S.activities)??{},this.sync=((m=this.options)==null?void 0:m.sync)??!1,this.state=WM(this.config),this.initialContext=Pu(this.state.context)}get stateSnapshot(){return Sl(Pu(this.state))}getState(){return this.stateSnapshot}get contextSnapshot(){return this.stateSnapshot.context}get self(){const r=this;return{id:this.id,send:this.send.bind(this),sendParent:this.sendParent.bind(this),sendChild:this.sendChild.bind(this),stop:this.stop.bind(this),stopChild:this.stopChild.bind(this),spawn:this.spawn.bind(this),stopActivity:this.stopActivity.bind(this),get state(){return r.stateSnapshot},get initialContext(){return r.initialContext},get initialState(){var l;return((l=r.initialState)==null?void 0:l.target)??""}}}get meta(){var r;return{state:this.stateSnapshot,guards:this.guardMap,send:this.send.bind(this),self:this.self,initialContext:this.initialContext,initialState:((r=this.initialState)==null?void 0:r.target)??"",getState:()=>this.stateSnapshot,getAction:l=>this.actionMap[l],getGuard:l=>this.guardMap[l]}}get guardMeta(){return{state:this.stateSnapshot}}get[Symbol.toStringTag](){return"Machine"}},Bu=(r,l)=>new QM(r,l),qM=(...r)=>r.map(l=>{var o;return(o=l==null?void 0:l.trim)==null?void 0:o.call(l)}).filter(Boolean).join(" "),XM=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,Lx=r=>{const l={};let o;for(;o=XM.exec(r);)l[o[1]]=o[2];return l},ZM=(r,l)=>{if(Vi(r)){if(Vi(l))return`${r};${l}`;r=Lx(r)}else Vi(l)&&(l=Lx(l));return Object.assign({},r??{},l??{})},JM=/^on[A-Z]/;function at(...r){let l={};for(let o of r){for(let d in l){if(JM.test(d)&&typeof l[d]=="function"&&typeof o[d]=="function"){l[d]=PM(o[d],l[d]);continue}if(d==="className"||d==="class"){l[d]=qM(l[d],o[d]);continue}if(d==="style"){l[d]=ZM(l[d],o[d]);continue}l[d]=o[d]!==void 0?o[d]:l[d]}for(let d in o)l[d]===void 0&&(l[d]=o[d])}return l}function eP(r){return new Proxy({},{get(){return r}})}var Si=()=>r=>Array.from(new Set(r)),tP=wo("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator"),Qv=tP.build(),Cn=hc({getRootId:r=>{var l;return((l=r.ids)==null?void 0:l.root)??`accordion:${r.id}`},getItemId:(r,l)=>{var o,d;return((d=(o=r.ids)==null?void 0:o.item)==null?void 0:d.call(o,l))??`accordion:${r.id}:item:${l}`},getItemContentId:(r,l)=>{var o,d;return((d=(o=r.ids)==null?void 0:o.content)==null?void 0:d.call(o,l))??`accordion:${r.id}:content:${l}`},getItemTriggerId:(r,l)=>{var o,d;return((d=(o=r.ids)==null?void 0:o.trigger)==null?void 0:d.call(o,l))??`accordion:${r.id}:trigger:${l}`},getRootEl:r=>Cn.getById(r,Cn.getRootId(r)),getTriggers:r=>{const o=`[aria-controls][data-ownedby='${CSS.escape(Cn.getRootId(r))}']:not([disabled])`;return CR(Cn.getRootEl(r),o)},getFirstTriggerEl:r=>RR(Cn.getTriggers(r)),getLastTriggerEl:r=>kR(Cn.getTriggers(r)),getNextTriggerEl:(r,l)=>gR(Cn.getTriggers(r),Cn.getItemTriggerId(r,l)),getPrevTriggerEl:(r,l)=>yR(Cn.getTriggers(r),Cn.getItemTriggerId(r,l))});function nP(r,l,o){const d=r.context.focusedValue,v=r.context.value,S=r.context.multiple;function m(w){let T=w;S&&T.length>1&&(T=[T[0]]),l({type:"VALUE.SET",value:T})}function b(w){return{expanded:v.includes(w.value),focused:d===w.value,disabled:!!(w.disabled??r.context.disabled)}}return{focusedValue:d,value:v,setValue:m,getItemState:b,rootProps:o.element({...Qv.root.attrs,dir:r.context.dir,id:Cn.getRootId(r.context),"data-orientation":r.context.orientation}),getItemProps(w){const T=b(w);return o.element({...Qv.item.attrs,dir:r.context.dir,id:Cn.getItemId(r.context,w.value),"data-state":T.expanded?"open":"closed","data-focus":tt(T.focused),"data-disabled":tt(T.disabled),"data-orientation":r.context.orientation})},getItemContentProps(w){const T=b(w);return o.element({...Qv.itemContent.attrs,dir:r.context.dir,role:"region",id:Cn.getItemContentId(r.context,w.value),"aria-labelledby":Cn.getItemTriggerId(r.context,w.value),hidden:!T.expanded,"data-state":T.expanded?"open":"closed","data-disabled":tt(T.disabled),"data-focus":tt(T.focused),"data-orientation":r.context.orientation})},getItemIndicatorProps(w){const T=b(w);return o.element({...Qv.itemIndicator.attrs,dir:r.context.dir,"aria-hidden":!0,"data-state":T.expanded?"open":"closed","data-disabled":tt(T.disabled),"data-focus":tt(T.focused),"data-orientation":r.context.orientation})},getItemTriggerProps(w){const{value:T}=w,I=b(w);return o.button({...Qv.itemTrigger.attrs,type:"button",dir:r.context.dir,id:Cn.getItemTriggerId(r.context,T),"aria-controls":Cn.getItemContentId(r.context,T),"aria-expanded":I.expanded,disabled:I.disabled,"data-orientation":r.context.orientation,"aria-disabled":I.disabled,"data-state":I.expanded?"open":"closed","data-ownedby":Cn.getRootId(r.context),onFocus(){I.disabled||l({type:"TRIGGER.FOCUS",value:T})},onBlur(){I.disabled||l("TRIGGER.BLUR")},onClick(D){I.disabled||(vR()&&D.currentTarget.focus(),l({type:"TRIGGER.CLICK",value:T}))},onKeyDown(D){if(D.defaultPrevented||I.disabled)return;const L={ArrowDown(){r.context.isHorizontal||l({type:"GOTO.NEXT",value:T})},ArrowUp(){r.context.isHorizontal||l({type:"GOTO.PREV",value:T})},ArrowRight(){r.context.isHorizontal&&l({type:"GOTO.NEXT",value:T})},ArrowLeft(){r.context.isHorizontal&&l({type:"GOTO.PREV",value:T})},Home(){l({type:"GOTO.FIRST",value:T})},End(){l({type:"GOTO.LAST",value:T})}},N=My(D,{dir:r.context.dir,orientation:r.context.orientation}),_=L[N];_&&(_(D),D.preventDefault())}})}}}var{and:rP,not:iP}=uh;function aP(r){const l=Cl(r);return Bu({id:"accordion",initial:"idle",context:{focusedValue:null,value:[],collapsible:!1,multiple:!1,orientation:"vertical",...l},watch:{value:"coarseValue",multiple:"coarseValue"},created:"coarseValue",computed:{isHorizontal:o=>o.orientation==="horizontal"},on:{"VALUE.SET":{actions:["setValue"]}},states:{idle:{on:{"TRIGGER.FOCUS":{target:"focused",actions:"setFocusedValue"}}},focused:{on:{"GOTO.NEXT":{actions:"focusNextTrigger"},"GOTO.PREV":{actions:"focusPrevTrigger"},"TRIGGER.CLICK":[{guard:rP("isExpanded","canToggle"),actions:["collapse"]},{guard:iP("isExpanded"),actions:["expand"]}],"GOTO.FIRST":{actions:"focusFirstTrigger"},"GOTO.LAST":{actions:"focusLastTrigger"},"TRIGGER.BLUR":{target:"idle",actions:"clearFocusedValue"}}}}},{guards:{canToggle:o=>!!o.collapsible||!!o.multiple,isExpanded:(o,d)=>o.value.includes(d.value)},actions:{collapse(o,d){const v=o.multiple?DR(o.value,d.value):[];qv.value(o,o.multiple?v:[])},expand(o,d){const v=o.multiple?OR(o.value,d.value):[d.value];qv.value(o,v)},focusFirstTrigger(o){var d;(d=Cn.getFirstTriggerEl(o))==null||d.focus()},focusLastTrigger(o){var d;(d=Cn.getLastTriggerEl(o))==null||d.focus()},focusNextTrigger(o){if(!o.focusedValue)return;const d=Cn.getNextTriggerEl(o,o.focusedValue);d==null||d.focus()},focusPrevTrigger(o){if(!o.focusedValue)return;const d=Cn.getPrevTriggerEl(o,o.focusedValue);d==null||d.focus()},setFocusedValue(o,d){qv.focusedValue(o,d.value)},clearFocusedValue(o){qv.focusedValue(o,null)},setValue(o,d){qv.value(o,d.value)},coarseValue(o){!o.multiple&&o.value.length>1&&(NR("The value of accordion should be a single value when multiple is false."),o.value=[o.value[0]])}}})}var Ix={change(r){var l;(l=r.onValueChange)==null||l.call(r,{value:Array.from(r.value)})},focusChange(r){var l;(l=r.onFocusChange)==null||l.call(r,{value:r.focusedValue})}},qv={value(r,l){xo(r.value,l)||(r.value=l,Ix.change(r))},focusedValue(r,l){xo(r.focusedValue,l)||(r.focusedValue=l,Ix.focusChange(r))}};Si()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value"]);var oP=Si()(["value","disabled"]),lP=EM(oP),vi={},by={exports:{}},jb={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* scheduler.development.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var Ax;function uP(){return Ax||(Ax=1,function(r){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var l=!1,o=!1,d=5;function v(ye,$e){var st=ye.length;ye.push($e),b(ye,$e,st)}function S(ye){return ye.length===0?null:ye[0]}function m(ye){if(ye.length===0)return null;var $e=ye[0],st=ye.pop();return st!==$e&&(ye[0]=st,w(ye,st,0)),$e}function b(ye,$e,st){for(var Lt=st;Lt>0;){var Zt=Lt-1>>>1,$n=ye[Zt];if(T($n,$e)>0)ye[Zt]=$e,ye[Lt]=$n,Lt=Zt;else return}}function w(ye,$e,st){for(var Lt=st,Zt=ye.length,$n=Zt>>>1;Lt<$n;){var vn=(Lt+1)*2-1,Gr=ye[vn],Gt=vn+1,Gi=ye[Gt];if(T(Gr,$e)<0)Gt<Zt&&T(Gi,Gr)<0?(ye[Lt]=Gi,ye[Gt]=$e,Lt=Gt):(ye[Lt]=Gr,ye[vn]=$e,Lt=vn);else if(Gt<Zt&&T(Gi,$e)<0)ye[Lt]=Gi,ye[Gt]=$e,Lt=Gt;else return}}function T(ye,$e){var st=ye.sortIndex-$e.sortIndex;return st!==0?st:ye.id-$e.id}var I=1,D=2,L=3,N=4,_=5;function B(ye,$e){}var X=typeof performance=="object"&&typeof performance.now=="function";if(X){var z=performance;r.unstable_now=function(){return z.now()}}else{var te=Date,Z=te.now();r.unstable_now=function(){return te.now()-Z}}var me=1073741823,fe=-1,Fe=250,we=5e3,gt=1e4,Ie=me,Ee=[],se=[],K=1,Y=null,ie=L,Ve=!1,ke=!1,Be=!1,oe=typeof setTimeout=="function"?setTimeout:null,Re=typeof clearTimeout=="function"?clearTimeout:null,pe=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ut(ye){for(var $e=S(se);$e!==null;){if($e.callback===null)m(se);else if($e.startTime<=ye)m(se),$e.sortIndex=$e.expirationTime,v(Ee,$e);else return;$e=S(se)}}function yt(ye){if(Be=!1,ut(ye),!ke)if(S(Ee)!==null)ke=!0,Ga(Ht);else{var $e=S(se);$e!==null&&dr(yt,$e.startTime-ye)}}function Ht(ye,$e){ke=!1,Be&&(Be=!1,wi()),Ve=!0;var st=ie;try{var Lt;if(!o)return fn(ye,$e)}finally{Y=null,ie=st,Ve=!1}}function fn(ye,$e){var st=$e;for(ut(st),Y=S(Ee);Y!==null&&!l&&!(Y.expirationTime>st&&(!ye||xl()));){var Lt=Y.callback;if(typeof Lt=="function"){Y.callback=null,ie=Y.priorityLevel;var Zt=Y.expirationTime<=st,$n=Lt(Zt);st=r.unstable_now(),typeof $n=="function"?Y.callback=$n:Y===S(Ee)&&m(Ee),ut(st)}else m(Ee);Y=S(Ee)}if(Y!==null)return!0;var vn=S(se);return vn!==null&&dr(yt,vn.startTime-st),!1}function Ei(ye,$e){switch(ye){case I:case D:case L:case N:case _:break;default:ye=L}var st=ie;ie=ye;try{return $e()}finally{ie=st}}function pn(ye){var $e;switch(ie){case I:case D:case L:$e=L;break;default:$e=ie;break}var st=ie;ie=$e;try{return ye()}finally{ie=st}}function Br(ye){var $e=ie;return function(){var st=ie;ie=$e;try{return ye.apply(this,arguments)}finally{ie=st}}}function bi(ye,$e,st){var Lt=r.unstable_now(),Zt;if(typeof st=="object"&&st!==null){var $n=st.delay;typeof $n=="number"&&$n>0?Zt=Lt+$n:Zt=Lt}else Zt=Lt;var vn;switch(ye){case I:vn=fe;break;case D:vn=Fe;break;case _:vn=Ie;break;case N:vn=gt;break;case L:default:vn=we;break}var Gr=Zt+vn,Gt={id:K++,callback:$e,priorityLevel:ye,startTime:Zt,expirationTime:Gr,sortIndex:-1};return Zt>Lt?(Gt.sortIndex=Zt,v(se,Gt),S(Ee)===null&&Gt===S(se)&&(Be?wi():Be=!0,dr(yt,Zt-Lt))):(Gt.sortIndex=Gr,v(Ee,Gt),!ke&&!Ve&&(ke=!0,Ga(Ht))),Gt}function ji(){}function $u(){!ke&&!Ve&&(ke=!0,Ga(Ht))}function jr(){return S(Ee)}function sa(ye){ye.callback=null}function jn(){return ie}var cr=!1,$r=null,Ci=-1,Or=d,ca=-1;function xl(){var ye=r.unstable_now()-ca;return!(ye<Or)}function No(){}function ja(ye){if(ye<0||ye>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}ye>0?Or=Math.floor(1e3/ye):Or=d}var Lo=function(){if($r!==null){var ye=r.unstable_now();ca=ye;var $e=!0,st=!0;try{st=$r($e,ye)}finally{st?Ti():(cr=!1,$r=null)}}else cr=!1},Ti;if(typeof pe=="function")Ti=function(){pe(Lo)};else if(typeof MessageChannel<"u"){var $a=new MessageChannel,$i=$a.port2;$a.port1.onmessage=Lo,Ti=function(){$i.postMessage(null)}}else Ti=function(){oe(Lo,0)};function Ga(ye){$r=ye,cr||(cr=!0,Ti())}function dr(ye,$e){Ci=oe(function(){ye(r.unstable_now())},$e)}function wi(){Re(Ci),Ci=-1}var Gu=No,Wa=null;r.unstable_IdlePriority=_,r.unstable_ImmediatePriority=I,r.unstable_LowPriority=N,r.unstable_NormalPriority=L,r.unstable_Profiling=Wa,r.unstable_UserBlockingPriority=D,r.unstable_cancelCallback=sa,r.unstable_continueExecution=$u,r.unstable_forceFrameRate=ja,r.unstable_getCurrentPriorityLevel=jn,r.unstable_getFirstCallbackNode=jr,r.unstable_next=pn,r.unstable_pauseExecution=ji,r.unstable_requestPaint=Gu,r.unstable_runWithPriority=Ei,r.unstable_scheduleCallback=bi,r.unstable_shouldYield=xl,r.unstable_wrapCallback=Br,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(jb)),jb}var $b={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* scheduler.production.min.js
|
|
12
12
|
*
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
17
|
+
*/var _x;function sP(){return _x||(_x=1,function(r){function l(oe,Re){var pe=oe.length;oe.push(Re);e:for(;0<pe;){var ut=pe-1>>>1,yt=oe[ut];if(0<v(yt,Re))oe[ut]=Re,oe[pe]=yt,pe=ut;else break e}}function o(oe){return oe.length===0?null:oe[0]}function d(oe){if(oe.length===0)return null;var Re=oe[0],pe=oe.pop();if(pe!==Re){oe[0]=pe;e:for(var ut=0,yt=oe.length,Ht=yt>>>1;ut<Ht;){var fn=2*(ut+1)-1,Ei=oe[fn],pn=fn+1,Br=oe[pn];if(0>v(Ei,pe))pn<yt&&0>v(Br,Ei)?(oe[ut]=Br,oe[pn]=pe,ut=pn):(oe[ut]=Ei,oe[fn]=pe,ut=fn);else if(pn<yt&&0>v(Br,pe))oe[ut]=Br,oe[pn]=pe,ut=pn;else break e}}return Re}function v(oe,Re){var pe=oe.sortIndex-Re.sortIndex;return pe!==0?pe:oe.id-Re.id}if(typeof performance=="object"&&typeof performance.now=="function"){var S=performance;r.unstable_now=function(){return S.now()}}else{var m=Date,b=m.now();r.unstable_now=function(){return m.now()-b}}var w=[],T=[],I=1,D=null,L=3,N=!1,_=!1,B=!1,X=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,te=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Z(oe){for(var Re=o(T);Re!==null;){if(Re.callback===null)d(T);else if(Re.startTime<=oe)d(T),Re.sortIndex=Re.expirationTime,l(w,Re);else break;Re=o(T)}}function me(oe){if(B=!1,Z(oe),!_)if(o(w)!==null)_=!0,ke(fe);else{var Re=o(T);Re!==null&&Be(me,Re.startTime-oe)}}function fe(oe,Re){_=!1,B&&(B=!1,z(gt),gt=-1),N=!0;var pe=L;try{for(Z(Re),D=o(w);D!==null&&(!(D.expirationTime>Re)||oe&&!se());){var ut=D.callback;if(typeof ut=="function"){D.callback=null,L=D.priorityLevel;var yt=ut(D.expirationTime<=Re);Re=r.unstable_now(),typeof yt=="function"?D.callback=yt:D===o(w)&&d(w),Z(Re)}else d(w);D=o(w)}if(D!==null)var Ht=!0;else{var fn=o(T);fn!==null&&Be(me,fn.startTime-Re),Ht=!1}return Ht}finally{D=null,L=pe,N=!1}}var Fe=!1,we=null,gt=-1,Ie=5,Ee=-1;function se(){return!(r.unstable_now()-Ee<Ie)}function K(){if(we!==null){var oe=r.unstable_now();Ee=oe;var Re=!0;try{Re=we(!0,oe)}finally{Re?Y():(Fe=!1,we=null)}}else Fe=!1}var Y;if(typeof te=="function")Y=function(){te(K)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,Ve=ie.port2;ie.port1.onmessage=K,Y=function(){Ve.postMessage(null)}}else Y=function(){X(K,0)};function ke(oe){we=oe,Fe||(Fe=!0,Y())}function Be(oe,Re){gt=X(function(){oe(r.unstable_now())},Re)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(oe){oe.callback=null},r.unstable_continueExecution=function(){_||N||(_=!0,ke(fe))},r.unstable_forceFrameRate=function(oe){0>oe||125<oe?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ie=0<oe?Math.floor(1e3/oe):5},r.unstable_getCurrentPriorityLevel=function(){return L},r.unstable_getFirstCallbackNode=function(){return o(w)},r.unstable_next=function(oe){switch(L){case 1:case 2:case 3:var Re=3;break;default:Re=L}var pe=L;L=Re;try{return oe()}finally{L=pe}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(oe,Re){switch(oe){case 1:case 2:case 3:case 4:case 5:break;default:oe=3}var pe=L;L=oe;try{return Re()}finally{L=pe}},r.unstable_scheduleCallback=function(oe,Re,pe){var ut=r.unstable_now();switch(typeof pe=="object"&&pe!==null?(pe=pe.delay,pe=typeof pe=="number"&&0<pe?ut+pe:ut):pe=ut,oe){case 1:var yt=-1;break;case 2:yt=250;break;case 5:yt=1073741823;break;case 4:yt=1e4;break;default:yt=5e3}return yt=pe+yt,oe={id:I++,callback:Re,priorityLevel:oe,startTime:pe,expirationTime:yt,sortIndex:-1},pe>ut?(oe.sortIndex=pe,l(T,oe),o(w)===null&&oe===o(T)&&(B?(z(gt),gt=-1):B=!0,Be(me,pe-ut))):(oe.sortIndex=yt,l(w,oe),_||N||(_=!0,ke(fe))),oe},r.unstable_shouldYield=se,r.unstable_wrapCallback=function(oe){var Re=L;return function(){var pe=L;L=Re;try{return oe.apply(this,arguments)}finally{L=pe}}}}($b)),$b}var Mx;function $R(){return Mx||(Mx=1,process.env.NODE_ENV==="production"?by.exports=sP():by.exports=uP()),by.exports}/**
|
|
18
18
|
* @license React
|
|
19
19
|
* react-dom.development.js
|
|
20
20
|
*
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
*
|
|
23
23
|
* This source code is licensed under the MIT license found in the
|
|
24
24
|
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var dw;function YI(){return dw||(dw=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var a=se,u=cR(),l=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,d=!1;function g(e){d=e}function b(e){if(!d){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];x("warn",e,i)}}function h(e){if(!d){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];x("error",e,i)}}function x(e,t,i){{var o=l.ReactDebugCurrentFrame,c=o.getStackAddendum();c!==""&&(t+="%s",i=i.concat([c]));var p=i.map(function(m){return String(m)});p.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,p)}}var R=0,C=1,D=2,O=3,_=4,A=5,N=6,I=7,K=8,J=9,Te=10,pe=11,He=12,xe=13,Ke=14,Ne=15,Et=16,Me=17,Se=18,le=19,Y=21,W=22,ne=23,ze=24,we=25,Ve=!0,ie=!1,Ce=!1,ce=!1,ot=!1,mt=!0,Vt=!1,dn=!0,hi=!0,fn=!0,zr=!0,mi=new Set,Pi={},Pu={};function Ur(e,t){aa(e,t),aa(e+"Capture",t)}function aa(e,t){Pi[e]&&h("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Pi[e]=t;{var i=e.toLowerCase();Pu[i]=e,e==="onDoubleClick"&&(Pu.ondblclick=e)}for(var o=0;o<t.length;o++)mi.add(t[o])}var Vn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",lr=Object.prototype.hasOwnProperty;function Hr(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,i=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i}}function gi(e){try{return wr(e),!1}catch{return!0}}function wr(e){return""+e}function oa(e,t){if(gi(e))return h("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Hr(e)),wr(e)}function gl(e){if(gi(e))return h("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Hr(e)),wr(e)}function To(e,t){if(gi(e))return h("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Hr(e)),wr(e)}function Fa(e,t){if(gi(e))return h("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,Hr(e)),wr(e)}function xo(e){if(gi(e))return h("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Hr(e)),wr(e)}function yi(e){if(gi(e))return h("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",Hr(e)),wr(e)}var za=0,Fi=1,Ua=2,ur=3,Si=4,Fu=5,Ha=6,he=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Be=he+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",lt=new RegExp("^["+he+"]["+Be+"]*$"),Nt={},Zt={};function jn(e){return lr.call(Zt,e)?!0:lr.call(Nt,e)?!1:lt.test(e)?(Zt[e]=!0,!0):(Nt[e]=!0,h("Invalid attribute name: `%s`",e),!1)}function pn(e,t,i){return t!==null?t.type===za:i?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Vr(e,t,i,o){if(i!==null&&i.type===za)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(o)return!1;if(i!==null)return!i.acceptsBooleans;var c=e.toLowerCase().slice(0,5);return c!=="data-"&&c!=="aria-"}default:return!1}}function Gt(e,t,i,o){if(t===null||typeof t>"u"||Vr(e,t,i,o))return!0;if(o)return!1;if(i!==null)switch(i.type){case ur:return!t;case Si:return t===!1;case Fu:return isNaN(t);case Ha:return isNaN(t)||t<1}return!1}function zi(e){return Wt.hasOwnProperty(e)?Wt[e]:null}function rn(e,t,i,o,c,p,m){this.acceptsBooleans=t===Ua||t===ur||t===Si,this.attributeName=o,this.attributeNamespace=c,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=p,this.removeEmptyString=m}var Wt={},nh=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];nh.forEach(function(e){Wt[e]=new rn(e,za,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],i=e[1];Wt[t]=new rn(t,Fi,!1,i,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Wt[e]=new rn(e,Ua,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Wt[e]=new rn(e,Ua,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){Wt[e]=new rn(e,ur,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Wt[e]=new rn(e,ur,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Wt[e]=new rn(e,Si,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Wt[e]=new rn(e,Ha,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Wt[e]=new rn(e,Fu,!1,e.toLowerCase(),null,!1,!1)});var sc=/[\-\:]([a-z])/g,cc=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(sc,cc);Wt[t]=new rn(t,Fi,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(sc,cc);Wt[t]=new rn(t,Fi,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(sc,cc);Wt[t]=new rn(t,Fi,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Wt[e]=new rn(e,Fi,!1,e.toLowerCase(),null,!1,!1)});var rh="xlinkHref";Wt[rh]=new rn("xlinkHref",Fi,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Wt[e]=new rn(e,Fi,!1,e.toLowerCase(),null,!0,!0)});var ih=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,dc=!1;function Cf(e){!dc&&ih.test(e)&&(dc=!0,h("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function zu(e,t,i,o){if(o.mustUseProperty){var c=o.propertyName;return e[c]}else{oa(i,t),o.sanitizeURL&&Cf(""+i);var p=o.attributeName,m=null;if(o.type===Si){if(e.hasAttribute(p)){var S=e.getAttribute(p);return S===""?!0:Gt(t,i,o,!1)?S:S===""+i?i:S}}else if(e.hasAttribute(p)){if(Gt(t,i,o,!1))return e.getAttribute(p);if(o.type===ur)return i;m=e.getAttribute(p)}return Gt(t,i,o,!1)?m===null?i:m:m===""+i?i:m}}function fc(e,t,i,o){{if(!jn(t))return;if(!e.hasAttribute(t))return i===void 0?void 0:null;var c=e.getAttribute(t);return oa(i,t),c===""+i?i:c}}function wo(e,t,i,o){var c=zi(t);if(!pn(t,c,o)){if(Gt(t,i,c,o)&&(i=null),o||c===null){if(jn(t)){var p=t;i===null?e.removeAttribute(p):(oa(i,t),e.setAttribute(p,""+i))}return}var m=c.mustUseProperty;if(m){var S=c.propertyName;if(i===null){var E=c.type;e[S]=E===ur?!1:""}else e[S]=i;return}var w=c.attributeName,k=c.attributeNamespace;if(i===null)e.removeAttribute(w);else{var z=c.type,P;z===ur||z===Si&&i===!0?P="":(oa(i,w),P=""+i,c.sanitizeURL&&Cf(P.toString())),k?e.setAttributeNS(k,w,P):e.setAttribute(w,P)}}}var yl=Symbol.for("react.element"),bi=Symbol.for("react.portal"),la=Symbol.for("react.fragment"),Sl=Symbol.for("react.strict_mode"),Uu=Symbol.for("react.profiler"),Tf=Symbol.for("react.provider"),xf=Symbol.for("react.context"),bl=Symbol.for("react.forward_ref"),Ui=Symbol.for("react.suspense"),Hu=Symbol.for("react.suspense_list"),El=Symbol.for("react.memo"),Xn=Symbol.for("react.lazy"),ah=Symbol.for("react.scope"),oh=Symbol.for("react.debug_trace_mode"),wf=Symbol.for("react.offscreen"),lh=Symbol.for("react.legacy_hidden"),By=Symbol.for("react.cache"),$y=Symbol.for("react.tracing_marker"),Yt=Symbol.iterator,Gy="@@iterator";function ua(e){if(e===null||typeof e!="object")return null;var t=Yt&&e[Yt]||e[Gy];return typeof t=="function"?t:null}var ut=Object.assign,Va=0,uh,Rf,Vu,Ei,sh,jr,ch;function dh(){}dh.__reactDisabledLog=!0;function Wy(){{if(Va===0){uh=console.log,Rf=console.info,Vu=console.warn,Ei=console.error,sh=console.group,jr=console.groupCollapsed,ch=console.groupEnd;var e={configurable:!0,enumerable:!0,value:dh,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Va++}}function pc(){{if(Va--,Va===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ut({},e,{value:uh}),info:ut({},e,{value:Rf}),warn:ut({},e,{value:Vu}),error:ut({},e,{value:Ei}),group:ut({},e,{value:sh}),groupCollapsed:ut({},e,{value:jr}),groupEnd:ut({},e,{value:ch})})}Va<0&&h("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Cl=l.ReactCurrentDispatcher,Ro;function Ci(e,t,i){{if(Ro===void 0)try{throw Error()}catch(c){var o=c.stack.trim().match(/\n( *(at )?)/);Ro=o&&o[1]||""}return`
|
|
26
|
-
`+
|
|
27
|
-
`),
|
|
28
|
-
`),
|
|
29
|
-
`+
|
|
30
|
-
Error generating stack: `+
|
|
31
|
-
`+
|
|
32
|
-
|
|
33
|
-
Check the render method of \``+e+"`.":""}var bh=["value","defaultValue"];function Qy(e){{Tl("select",e);for(var t=0;t<bh.length;t++){var i=bh[t];if(e[i]!=null){var o=Cn(e[i]);e.multiple&&!o?h("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",i,Sh()):!e.multiple&&o&&h("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",i,Sh())}}}}function $a(e,t,i,o){var c=e.options;if(t){for(var p=i,m={},S=0;S<p.length;S++)m["$"+p[S]]=!0;for(var E=0;E<c.length;E++){var w=m.hasOwnProperty("$"+c[E].value);c[E].selected!==w&&(c[E].selected=w),w&&o&&(c[E].defaultSelected=!0)}}else{for(var k=Bn(ja(i)),z=null,P=0;P<c.length;P++){if(c[P].value===k){c[P].selected=!0,o&&(c[P].defaultSelected=!0);return}z===null&&!c[P].disabled&&(z=c[P])}z!==null&&(z.selected=!0)}}function Pf(e,t){return ut({},t,{value:void 0})}function Eh(e,t){var i=e;Qy(t),i._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Cc&&(h("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Cc=!0)}function Xy(e,t){var i=e;i.multiple=!!t.multiple;var o=t.value;o!=null?$a(i,!!t.multiple,o,!1):t.defaultValue!=null&&$a(i,!!t.multiple,t.defaultValue,!0)}function qy(e,t){var i=e,o=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!t.multiple;var c=t.value;c!=null?$a(i,!!t.multiple,c,!1):o!==!!t.multiple&&(t.defaultValue!=null?$a(i,!!t.multiple,t.defaultValue,!0):$a(i,!!t.multiple,t.multiple?[]:"",!1))}function Zy(e,t){var i=e,o=t.value;o!=null&&$a(i,!!t.multiple,o,!1)}var Ff=!1;function zf(e,t){var i=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var o=ut({},t,{value:void 0,defaultValue:void 0,children:Bn(i._wrapperState.initialValue)});return o}function Ch(e,t){var i=e;Tl("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Ff&&(h("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",$r()||"A component"),Ff=!0);var o=t.value;if(o==null){var c=t.children,p=t.defaultValue;if(c!=null){h("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(p!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Cn(c)){if(c.length>1)throw new Error("<textarea> can only have at most one child.");c=c[0]}p=c}}p==null&&(p=""),o=p}i._wrapperState={initialValue:ja(o)}}function Th(e,t){var i=e,o=ja(t.value),c=ja(t.defaultValue);if(o!=null){var p=Bn(o);p!==i.value&&(i.value=p),t.defaultValue==null&&i.defaultValue!==p&&(i.defaultValue=p)}c!=null&&(i.defaultValue=Bn(c))}function xh(e,t){var i=e,o=i.textContent;o===i._wrapperState.initialValue&&o!==""&&o!==null&&(i.value=o)}function Uf(e,t){Th(e,t)}var ca="http://www.w3.org/1999/xhtml",Jy="http://www.w3.org/1998/Math/MathML",Hf="http://www.w3.org/2000/svg";function Tc(e){switch(e){case"svg":return Hf;case"math":return Jy;default:return ca}}function Vf(e,t){return e==null||e===ca?Tc(t):e===Hf&&t==="foreignObject"?ca:e}var e0=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,i,o,c){MSApp.execUnsafeLocalFunction(function(){return e(t,i,o,c)})}:e},xc,wh=e0(function(e,t){if(e.namespaceURI===Hf&&!("innerHTML"in e)){xc=xc||document.createElement("div"),xc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var i=xc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;i.firstChild;)e.appendChild(i.firstChild);return}e.innerHTML=t}),sr=1,da=3,on=8,xi=9,Do=11,wc=function(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===da){i.nodeValue=t;return}}e.textContent=t},Rh={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},kl={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function kh(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Oh=["Webkit","ms","Moz","O"];Object.keys(kl).forEach(function(e){Oh.forEach(function(t){kl[kh(t,e)]=kl[e]})});function Rc(e,t,i){var o=t==null||typeof t=="boolean"||t==="";return o?"":!i&&typeof t=="number"&&t!==0&&!(kl.hasOwnProperty(e)&&kl[e])?t+"px":(Fa(t,e),(""+t).trim())}var Ol=/([A-Z])/g,t0=/^ms-/;function n0(e){return e.replace(Ol,"-$1").toLowerCase().replace(t0,"-ms-")}var Dh=function(){};{var Nh=/^(?:webkit|moz|o)[A-Z]/,Lh=/^-ms-/,Zu=/-(.)/g,Dl=/;\s*$/,Nl={},Ll={},_h=!1,jf=!1,Bf=function(e){return e.replace(Zu,function(t,i){return i.toUpperCase()})},$f=function(e){Nl.hasOwnProperty(e)&&Nl[e]||(Nl[e]=!0,h("Unsupported style property %s. Did you mean %s?",e,Bf(e.replace(Lh,"ms-"))))},Ah=function(e){Nl.hasOwnProperty(e)&&Nl[e]||(Nl[e]=!0,h("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},Ih=function(e,t){Ll.hasOwnProperty(t)&&Ll[t]||(Ll[t]=!0,h(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Dl,"")))},Mh=function(e,t){_h||(_h=!0,h("`NaN` is an invalid value for the `%s` css style property.",e))},r0=function(e,t){jf||(jf=!0,h("`Infinity` is an invalid value for the `%s` css style property.",e))};Dh=function(e,t){e.indexOf("-")>-1?$f(e):Nh.test(e)?Ah(e):Dl.test(t)&&Ih(e,t),typeof t=="number"&&(isNaN(t)?Mh(e,t):isFinite(t)||r0(e,t))}}var i0=Dh;function a0(e){{var t="",i="";for(var o in e)if(e.hasOwnProperty(o)){var c=e[o];if(c!=null){var p=o.indexOf("--")===0;t+=i+(p?o:n0(o))+":",t+=Rc(o,c,p),i=";"}}return t||null}}function Ph(e,t){var i=e.style;for(var o in t)if(t.hasOwnProperty(o)){var c=o.indexOf("--")===0;c||i0(o,t[o]);var p=Rc(o,t[o],c);o==="float"&&(o="cssFloat"),c?i.setProperty(o,p):i[o]=p}}function o0(e){return e==null||typeof e=="boolean"||e===""}function Gr(e){var t={};for(var i in e)for(var o=Rh[i]||[i],c=0;c<o.length;c++)t[o[c]]=i;return t}function Ju(e,t){{if(!t)return;var i=Gr(e),o=Gr(t),c={};for(var p in i){var m=i[p],S=o[p];if(S&&m!==S){var E=m+","+S;if(c[E])continue;c[E]=!0,h("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",o0(e[m])?"Removing":"Updating",m,S)}}}}var Fh={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},zh=ut({menuitem:!0},Fh),Uh="__html";function kc(e,t){if(t){if(zh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Uh in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&h("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function fa(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Oc={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Hh={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},wi={},Gf=new RegExp("^(aria)-["+Be+"]*$"),es=new RegExp("^(aria)[A-Z]["+Be+"]*$");function Wf(e,t){{if(lr.call(wi,t)&&wi[t])return!0;if(es.test(t)){var i="aria-"+t.slice(4).toLowerCase(),o=Hh.hasOwnProperty(i)?i:null;if(o==null)return h("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),wi[t]=!0,!0;if(t!==o)return h("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,o),wi[t]=!0,!0}if(Gf.test(t)){var c=t.toLowerCase(),p=Hh.hasOwnProperty(c)?c:null;if(p==null)return wi[t]=!0,!1;if(t!==p)return h("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,p),wi[t]=!0,!0}}return!0}function Vh(e,t){{var i=[];for(var o in t){var c=Wf(e,o);c||i.push(o)}var p=i.map(function(m){return"`"+m+"`"}).join(", ");i.length===1?h("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",p,e):i.length>1&&h("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",p,e)}}function Dc(e,t){fa(e,t)||Vh(e,t)}var No=!1;function Yf(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!No&&(No=!0,e==="select"&&t.multiple?h("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):h("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var Kf=function(){};{var Tn={},Qf=/^on./,jh=/^on[^A-Z]/,Bh=new RegExp("^(aria)-["+Be+"]*$"),$h=new RegExp("^(aria)[A-Z]["+Be+"]*$");Kf=function(e,t,i,o){if(lr.call(Tn,t)&&Tn[t])return!0;var c=t.toLowerCase();if(c==="onfocusin"||c==="onfocusout")return h("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Tn[t]=!0,!0;if(o!=null){var p=o.registrationNameDependencies,m=o.possibleRegistrationNames;if(p.hasOwnProperty(t))return!0;var S=m.hasOwnProperty(c)?m[c]:null;if(S!=null)return h("Invalid event handler property `%s`. Did you mean `%s`?",t,S),Tn[t]=!0,!0;if(Qf.test(t))return h("Unknown event handler property `%s`. It will be ignored.",t),Tn[t]=!0,!0}else if(Qf.test(t))return jh.test(t)&&h("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Tn[t]=!0,!0;if(Bh.test(t)||$h.test(t))return!0;if(c==="innerhtml")return h("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Tn[t]=!0,!0;if(c==="aria")return h("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Tn[t]=!0,!0;if(c==="is"&&i!==null&&i!==void 0&&typeof i!="string")return h("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof i),Tn[t]=!0,!0;if(typeof i=="number"&&isNaN(i))return h("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Tn[t]=!0,!0;var E=zi(t),w=E!==null&&E.type===za;if(Oc.hasOwnProperty(c)){var k=Oc[c];if(k!==t)return h("Invalid DOM property `%s`. Did you mean `%s`?",t,k),Tn[t]=!0,!0}else if(!w&&t!==c)return h("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,c),Tn[t]=!0,!0;return typeof i=="boolean"&&Vr(t,i,E,!1)?(i?h('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',i,t,t,i,t):h('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',i,t,t,i,t,t,t),Tn[t]=!0,!0):w?!0:Vr(t,i,E,!1)?(Tn[t]=!0,!1):((i==="false"||i==="true")&&E!==null&&E.type===ur&&(h("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",i,t,i==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,i),Tn[t]=!0),!0)}}var Gh=function(e,t,i){{var o=[];for(var c in t){var p=Kf(e,c,t[c],i);p||o.push(c)}var m=o.map(function(S){return"`"+S+"`"}).join(", ");o.length===1?h("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",m,e):o.length>1&&h("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",m,e)}};function Wh(e,t,i){fa(e,t)||Gh(e,t,i)}var pa=1,ts=2,Lo=4,l0=pa|ts|Lo,ns=null;function rs(e){ns!==null&&h("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),ns=e}function u0(){ns===null&&h("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),ns=null}function Yh(e){return e===ns}function Nc(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===da?t.parentNode:t}var Lt=null,Ga=null,va=null;function _l(e){var t=du(e);if(t){if(typeof Lt!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var i=t.stateNode;if(i){var o=qm(i);Lt(t.stateNode,t.type,o)}}}function Kh(e){Lt=e}function Lc(e){Ga?va?va.push(e):va=[e]:Ga=e}function is(){return Ga!==null||va!==null}function as(){if(Ga){var e=Ga,t=va;if(Ga=null,va=null,_l(e),t)for(var i=0;i<t.length;i++)_l(t[i])}}var _o=function(e,t){return e(t)},Xf=function(){},qf=!1;function s0(){var e=is();e&&(Xf(),as())}function Zf(e,t,i){if(qf)return e(t,i);qf=!0;try{return _o(e,t,i)}finally{qf=!1,s0()}}function _c(e,t,i){_o=e,Xf=i}function Ac(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function Jf(e,t,i){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(i.disabled&&Ac(t));default:return!1}}function Ao(e,t){var i=e.stateNode;if(i===null)return null;var o=qm(i);if(o===null)return null;var c=o[t];if(Jf(t,e.type,o))return null;if(c&&typeof c!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof c+"` type.");return c}var os=!1;if(Vn)try{var Io={};Object.defineProperty(Io,"passive",{get:function(){os=!0}}),window.addEventListener("test",Io,Io),window.removeEventListener("test",Io,Io)}catch{os=!1}function Qh(e,t,i,o,c,p,m,S,E){var w=Array.prototype.slice.call(arguments,3);try{t.apply(i,w)}catch(k){this.onError(k)}}var ep=Qh;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var tp=document.createElement("react");ep=function(t,i,o,c,p,m,S,E,w){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var k=document.createEvent("Event"),z=!1,P=!0,B=window.event,G=Object.getOwnPropertyDescriptor(window,"event");function Q(){tp.removeEventListener(X,je,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=B)}var ve=Array.prototype.slice.call(arguments,3);function je(){z=!0,Q(),i.apply(o,ve),P=!1}var Ie,ht=!1,ct=!1;function H(V){if(Ie=V.error,ht=!0,Ie===null&&V.colno===0&&V.lineno===0&&(ct=!0),V.defaultPrevented&&Ie!=null&&typeof Ie=="object")try{Ie._suppressLogging=!0}catch{}}var X="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",H),tp.addEventListener(X,je,!1),k.initEvent(X,!1,!1),tp.dispatchEvent(k),G&&Object.defineProperty(window,"event",G),z&&P&&(ht?ct&&(Ie=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Ie=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Ie)),window.removeEventListener("error",H),!z)return Q(),Qh.apply(this,arguments)}}var c0=ep,Wa=!1,Ri=null,ls=!1,Ya=null,Hi={onError:function(e){Wa=!0,Ri=e}};function Mo(e,t,i,o,c,p,m,S,E){Wa=!1,Ri=null,c0.apply(Hi,arguments)}function ha(e,t,i,o,c,p,m,S,E){if(Mo.apply(this,arguments),Wa){var w=rp();ls||(ls=!0,Ya=w)}}function np(){if(ls){var e=Ya;throw ls=!1,Ya=null,e}}function d0(){return Wa}function rp(){if(Wa){var e=Ri;return Wa=!1,Ri=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Wr(e){return e._reactInternals}function us(e){return e._reactInternals!==void 0}function Al(e,t){e._reactInternals=t}var Ue=0,Ka=1,At=2,tt=4,bt=16,Ct=32,Vi=64,Qe=128,Kt=256,cr=512,Yr=1024,zt=2048,Kr=4096,Qa=8192,ss=16384,Ic=zt|tt|Vi|cr|Yr|ss,Xh=32767,kr=32768,xn=65536,cs=131072,ip=1048576,ap=2097152,dr=4194304,Xa=8388608,fr=16777216,Po=33554432,Il=tt|Yr|0,pr=At|tt|bt|Ct|cr|Kr|Qa,$n=tt|Vi|cr|Qa,Qr=zt|bt,Nn=dr|Xa|ap,ma=l.ReactCurrentOwner;function Or(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{var o=t;do t=o,(t.flags&(At|Kr))!==Ue&&(i=t.return),o=t.return;while(o)}return t.tag===O?i:null}function op(e){if(e.tag===xe){var t=e.memoizedState;if(t===null){var i=e.alternate;i!==null&&(t=i.memoizedState)}if(t!==null)return t.dehydrated}return null}function Mc(e){return e.tag===O?e.stateNode.containerInfo:null}function lp(e){return Or(e)===e}function Dr(e){{var t=ma.current;if(t!==null&&t.tag===C){var i=t,o=i.stateNode;o._warnedAboutRefsInRender||h("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Je(i)||"A component"),o._warnedAboutRefsInRender=!0}}var c=Wr(e);return c?Or(c)===c:!1}function vr(e){if(Or(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function It(e){var t=e.alternate;if(!t){var i=Or(e);if(i===null)throw new Error("Unable to find node on an unmounted component.");return i!==e?null:e}for(var o=e,c=t;;){var p=o.return;if(p===null)break;var m=p.alternate;if(m===null){var S=p.return;if(S!==null){o=c=S;continue}break}if(p.child===m.child){for(var E=p.child;E;){if(E===o)return vr(p),e;if(E===c)return vr(p),t;E=E.sibling}throw new Error("Unable to find node on an unmounted component.")}if(o.return!==c.return)o=p,c=m;else{for(var w=!1,k=p.child;k;){if(k===o){w=!0,o=p,c=m;break}if(k===c){w=!0,c=p,o=m;break}k=k.sibling}if(!w){for(k=m.child;k;){if(k===o){w=!0,o=m,c=p;break}if(k===c){w=!0,c=m,o=p;break}k=k.sibling}if(!w)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(o.alternate!==c)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(o.tag!==O)throw new Error("Unable to find node on an unmounted component.");return o.stateNode.current===o?e:t}function Xr(e){var t=It(e);return t!==null?up(t):null}function up(e){if(e.tag===A||e.tag===N)return e;for(var t=e.child;t!==null;){var i=up(t);if(i!==null)return i;t=t.sibling}return null}function qh(e){var t=It(e);return t!==null?Pc(t):null}function Pc(e){if(e.tag===A||e.tag===N)return e;for(var t=e.child;t!==null;){if(t.tag!==_){var i=Pc(t);if(i!==null)return i}t=t.sibling}return null}var Fc=u.unstable_scheduleCallback,Zh=u.unstable_cancelCallback,zc=u.unstable_shouldYield,Jh=u.unstable_requestPaint,jt=u.unstable_now,sp=u.unstable_getCurrentPriorityLevel,Uc=u.unstable_ImmediatePriority,Fo=u.unstable_UserBlockingPriority,ji=u.unstable_NormalPriority,em=u.unstable_LowPriority,Hc=u.unstable_IdlePriority,Ml=u.unstable_yieldValue,tm=u.unstable_setDisableYieldValue,ga=null,hn=null,de=null,qr=!1,Nr=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function cp(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return h("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{hi&&(e=ut({},e,{getLaneLabelMap:ya,injectProfilingHooks:nm})),ga=t.inject(e),hn=t}catch(i){h("React instrumentation encountered an error: %s.",i)}return!!t.checkDCE}function dp(e,t){if(hn&&typeof hn.onScheduleFiberRoot=="function")try{hn.onScheduleFiberRoot(ga,e,t)}catch(i){qr||(qr=!0,h("React instrumentation encountered an error: %s",i))}}function Pl(e,t){if(hn&&typeof hn.onCommitFiberRoot=="function")try{var i=(e.current.flags&Qe)===Qe;if(fn){var o;switch(t){case en:o=Uc;break;case ba:o=Fo;break;case Bi:o=ji;break;case Kl:o=Hc;break;default:o=ji;break}hn.onCommitFiberRoot(ga,e,o,i)}}catch(c){qr||(qr=!0,h("React instrumentation encountered an error: %s",c))}}function Zr(e){if(hn&&typeof hn.onPostCommitFiberRoot=="function")try{hn.onPostCommitFiberRoot(ga,e)}catch(t){qr||(qr=!0,h("React instrumentation encountered an error: %s",t))}}function zo(e){if(hn&&typeof hn.onCommitFiberUnmount=="function")try{hn.onCommitFiberUnmount(ga,e)}catch(t){qr||(qr=!0,h("React instrumentation encountered an error: %s",t))}}function ln(e){if(typeof Ml=="function"&&(tm(e),g(e)),hn&&typeof hn.setStrictMode=="function")try{hn.setStrictMode(ga,e)}catch(t){qr||(qr=!0,h("React instrumentation encountered an error: %s",t))}}function nm(e){de=e}function ya(){{for(var e=new Map,t=1,i=0;i<hs;i++){var o=p0(t);e.set(t,o),t*=2}return e}}function qa(e){de!==null&&typeof de.markCommitStarted=="function"&&de.markCommitStarted(e)}function Vc(){de!==null&&typeof de.markCommitStopped=="function"&&de.markCommitStopped()}function Fl(e){de!==null&&typeof de.markComponentRenderStarted=="function"&&de.markComponentRenderStarted(e)}function hr(){de!==null&&typeof de.markComponentRenderStopped=="function"&&de.markComponentRenderStopped()}function Za(e){de!==null&&typeof de.markComponentPassiveEffectMountStarted=="function"&&de.markComponentPassiveEffectMountStarted(e)}function jc(){de!==null&&typeof de.markComponentPassiveEffectMountStopped=="function"&&de.markComponentPassiveEffectMountStopped()}function rm(e){de!==null&&typeof de.markComponentPassiveEffectUnmountStarted=="function"&&de.markComponentPassiveEffectUnmountStarted(e)}function Bc(){de!==null&&typeof de.markComponentPassiveEffectUnmountStopped=="function"&&de.markComponentPassiveEffectUnmountStopped()}function im(e){de!==null&&typeof de.markComponentLayoutEffectMountStarted=="function"&&de.markComponentLayoutEffectMountStarted(e)}function ds(){de!==null&&typeof de.markComponentLayoutEffectMountStopped=="function"&&de.markComponentLayoutEffectMountStopped()}function ki(e){de!==null&&typeof de.markComponentLayoutEffectUnmountStarted=="function"&&de.markComponentLayoutEffectUnmountStarted(e)}function zl(){de!==null&&typeof de.markComponentLayoutEffectUnmountStopped=="function"&&de.markComponentLayoutEffectUnmountStopped()}function fs(e,t,i){de!==null&&typeof de.markComponentErrored=="function"&&de.markComponentErrored(e,t,i)}function Uo(e,t,i){de!==null&&typeof de.markComponentSuspended=="function"&&de.markComponentSuspended(e,t,i)}function fp(e){de!==null&&typeof de.markLayoutEffectsStarted=="function"&&de.markLayoutEffectsStarted(e)}function Ul(){de!==null&&typeof de.markLayoutEffectsStopped=="function"&&de.markLayoutEffectsStopped()}function am(e){de!==null&&typeof de.markPassiveEffectsStarted=="function"&&de.markPassiveEffectsStarted(e)}function pp(){de!==null&&typeof de.markPassiveEffectsStopped=="function"&&de.markPassiveEffectsStopped()}function Ut(e){de!==null&&typeof de.markRenderStarted=="function"&&de.markRenderStarted(e)}function $c(){de!==null&&typeof de.markRenderYielded=="function"&&de.markRenderYielded()}function Gc(){de!==null&&typeof de.markRenderStopped=="function"&&de.markRenderStopped()}function vp(e){de!==null&&typeof de.markRenderScheduled=="function"&&de.markRenderScheduled(e)}function Wc(e,t){de!==null&&typeof de.markForceUpdateScheduled=="function"&&de.markForceUpdateScheduled(e,t)}function ps(e,t){de!==null&&typeof de.markStateUpdateScheduled=="function"&&de.markStateUpdateScheduled(e,t)}var Le=0,Ae=1,Xe=2,at=8,Lr=16,Hl=Math.clz32?Math.clz32:Gn,vs=Math.log,f0=Math.LN2;function Gn(e){var t=e>>>0;return t===0?32:31-(vs(t)/f0|0)|0}var hs=31,ee=0,un=0,Pe=1,Ln=2,_r=4,Sa=8,Jr=16,Vl=32,Ho=4194240,jl=64,Yc=128,Kc=256,Qc=512,Xc=1024,qc=2048,Vo=4096,Zc=8192,Bl=16384,$l=32768,Jc=65536,ms=131072,ed=262144,td=524288,nd=1048576,rd=2097152,Gl=130023424,jo=4194304,id=8388608,ad=16777216,hp=33554432,od=67108864,om=jo,gs=134217728,mp=268435455,Wl=268435456,Ja=536870912,Wn=1073741824;function p0(e){{if(e&Pe)return"Sync";if(e&Ln)return"InputContinuousHydration";if(e&_r)return"InputContinuous";if(e&Sa)return"DefaultHydration";if(e&Jr)return"Default";if(e&Vl)return"TransitionHydration";if(e&Ho)return"Transition";if(e&Gl)return"Retry";if(e&gs)return"SelectiveHydration";if(e&Wl)return"IdleHydration";if(e&Ja)return"Idle";if(e&Wn)return"Offscreen"}}var _t=-1,ld=jl,mr=jo;function Bo(e){switch(Jt(e)){case Pe:return Pe;case Ln:return Ln;case _r:return _r;case Sa:return Sa;case Jr:return Jr;case Vl:return Vl;case jl:case Yc:case Kc:case Qc:case Xc:case qc:case Vo:case Zc:case Bl:case $l:case Jc:case ms:case ed:case td:case nd:case rd:return e&Ho;case jo:case id:case ad:case hp:case od:return e&Gl;case gs:return gs;case Wl:return Wl;case Ja:return Ja;case Wn:return Wn;default:return h("Should have found matching lanes. This is a bug in React."),e}}function $o(e,t){var i=e.pendingLanes;if(i===ee)return ee;var o=ee,c=e.suspendedLanes,p=e.pingedLanes,m=i∓if(m!==ee){var S=m&~c;if(S!==ee)o=Bo(S);else{var E=m&p;E!==ee&&(o=Bo(E))}}else{var w=i&~c;w!==ee?o=Bo(w):p!==ee&&(o=Bo(p))}if(o===ee)return ee;if(t!==ee&&t!==o&&(t&c)===ee){var k=Jt(o),z=Jt(t);if(k>=z||k===Jr&&(z&Ho)!==ee)return t}(o&_r)!==ee&&(o|=i&Jr);var P=e.entangledLanes;if(P!==ee)for(var B=e.entanglements,G=o&P;G>0;){var Q=to(G),ve=1<<Q;o|=B[Q],G&=~ve}return o}function lm(e,t){for(var i=e.eventTimes,o=_t;t>0;){var c=to(t),p=1<<c,m=i[c];m>o&&(o=m),t&=~p}return o}function um(e,t){switch(e){case Pe:case Ln:case _r:return t+250;case Sa:case Jr:case Vl:case jl:case Yc:case Kc:case Qc:case Xc:case qc:case Vo:case Zc:case Bl:case $l:case Jc:case ms:case ed:case td:case nd:case rd:return t+5e3;case jo:case id:case ad:case hp:case od:return _t;case gs:case Wl:case Ja:case Wn:return _t;default:return h("Should have found matching lanes. This is a bug in React."),_t}}function sm(e,t){for(var i=e.pendingLanes,o=e.suspendedLanes,c=e.pingedLanes,p=e.expirationTimes,m=i;m>0;){var S=to(m),E=1<<S,w=p[S];w===_t?((E&o)===ee||(E&c)!==ee)&&(p[S]=um(E,t)):w<=t&&(e.expiredLanes|=E),m&=~E}}function gp(e){return Bo(e.pendingLanes)}function eo(e){var t=e.pendingLanes&~Wn;return t!==ee?t:t&Wn?Wn:ee}function yp(e){return(e&Pe)!==ee}function ys(e){return(e&mp)!==ee}function cm(e){return(e&Gl)===e}function dm(e){var t=Pe|_r|Jr;return(e&t)===ee}function fm(e){return(e&Ho)===e}function Ss(e,t){var i=Ln|_r|Sa|Jr;return(t&i)!==ee}function pm(e,t){return(t&e.expiredLanes)!==ee}function Sp(e){return(e&Ho)!==ee}function vm(){var e=ld;return ld<<=1,(ld&Ho)===ee&&(ld=jl),e}function gr(){var e=mr;return mr<<=1,(mr&Gl)===ee&&(mr=jo),e}function Jt(e){return e&-e}function Yl(e){return Jt(e)}function to(e){return 31-Hl(e)}function ud(e){return to(e)}function yr(e,t){return(e&t)!==ee}function Go(e,t){return(e&t)===t}function et(e,t){return e|t}function bs(e,t){return e&~t}function sd(e,t){return e&t}function v0(e){return e}function hm(e,t){return e!==un&&e<t?e:t}function Es(e){for(var t=[],i=0;i<hs;i++)t.push(e);return t}function Wo(e,t,i){e.pendingLanes|=t,t!==Ja&&(e.suspendedLanes=ee,e.pingedLanes=ee);var o=e.eventTimes,c=ud(t);o[c]=i}function mm(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var i=e.expirationTimes,o=t;o>0;){var c=to(o),p=1<<c;i[c]=_t,o&=~p}}function cd(e,t,i){e.pingedLanes|=e.suspendedLanes&t}function dd(e,t){var i=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ee,e.pingedLanes=ee,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var o=e.entanglements,c=e.eventTimes,p=e.expirationTimes,m=i;m>0;){var S=to(m),E=1<<S;o[S]=ee,c[S]=_t,p[S]=_t,m&=~E}}function bp(e,t){for(var i=e.entangledLanes|=t,o=e.entanglements,c=i;c;){var p=to(c),m=1<<p;m&t|o[p]&t&&(o[p]|=t),c&=~m}}function gm(e,t){var i=Jt(t),o;switch(i){case _r:o=Ln;break;case Jr:o=Sa;break;case jl:case Yc:case Kc:case Qc:case Xc:case qc:case Vo:case Zc:case Bl:case $l:case Jc:case ms:case ed:case td:case nd:case rd:case jo:case id:case ad:case hp:case od:o=Vl;break;case Ja:o=Wl;break;default:o=un;break}return(o&(e.suspendedLanes|t))!==un?un:o}function fd(e,t,i){if(Nr)for(var o=e.pendingUpdatersLaneMap;i>0;){var c=ud(i),p=1<<c,m=o[c];m.add(t),i&=~p}}function Ep(e,t){if(Nr)for(var i=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;t>0;){var c=ud(t),p=1<<c,m=i[c];m.size>0&&(m.forEach(function(S){var E=S.alternate;(E===null||!o.has(E))&&o.add(S)}),m.clear()),t&=~p}}function Cs(e,t){return null}var en=Pe,ba=_r,Bi=Jr,Kl=Ja,Ql=un;function ei(){return Ql}function Qt(e){Ql=e}function Yn(e,t){var i=Ql;try{return Ql=e,t()}finally{Ql=i}}function h0(e,t){return e!==0&&e<t?e:t}function m0(e,t){return e===0||e>t?e:t}function Xl(e,t){return e!==0&&e<t}function _n(e){var t=Jt(e);return Xl(en,t)?Xl(ba,t)?ys(t)?Bi:Kl:ba:en}function pd(e){var t=e.current.memoizedState;return t.isDehydrated}var Ee;function ql(e){Ee=e}function Cp(e){Ee(e)}var vd;function g0(e){vd=e}var Zl;function hd(e){Zl=e}var md;function ym(e){md=e}var Tp;function Sm(e){Tp=e}var Ts=!1,Jl=[],Ht=null,wn=null,qn=null,eu=new Map,tu=new Map,Rn=[],bm=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function $i(e){return bm.indexOf(e)>-1}function y0(e,t,i,o,c){return{blockedOn:e,domEventName:t,eventSystemFlags:i,nativeEvent:c,targetContainers:[o]}}function xp(e,t){switch(e){case"focusin":case"focusout":Ht=null;break;case"dragenter":case"dragleave":wn=null;break;case"mouseover":case"mouseout":qn=null;break;case"pointerover":case"pointerout":{var i=t.pointerId;eu.delete(i);break}case"gotpointercapture":case"lostpointercapture":{var o=t.pointerId;tu.delete(o);break}}}function nu(e,t,i,o,c,p){if(e===null||e.nativeEvent!==p){var m=y0(t,i,o,c,p);if(t!==null){var S=du(t);S!==null&&vd(S)}return m}e.eventSystemFlags|=o;var E=e.targetContainers;return c!==null&&E.indexOf(c)===-1&&E.push(c),e}function Em(e,t,i,o,c){switch(t){case"focusin":{var p=c;return Ht=nu(Ht,e,t,i,o,p),!0}case"dragenter":{var m=c;return wn=nu(wn,e,t,i,o,m),!0}case"mouseover":{var S=c;return qn=nu(qn,e,t,i,o,S),!0}case"pointerover":{var E=c,w=E.pointerId;return eu.set(w,nu(eu.get(w)||null,e,t,i,o,E)),!0}case"gotpointercapture":{var k=c,z=k.pointerId;return tu.set(z,nu(tu.get(z)||null,e,t,i,o,k)),!0}}return!1}function wp(e){var t=Ms(e.target);if(t!==null){var i=Or(t);if(i!==null){var o=i.tag;if(o===xe){var c=op(i);if(c!==null){e.blockedOn=c,Tp(e.priority,function(){Zl(i)});return}}else if(o===O){var p=i.stateNode;if(pd(p)){e.blockedOn=Mc(i);return}}}}e.blockedOn=null}function S0(e){for(var t=md(),i={blockedOn:null,target:e,priority:t},o=0;o<Rn.length&&Xl(t,Rn[o].priority);o++);Rn.splice(o,0,i),o===0&&wp(i)}function Yo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var i=t[0],o=Kn(e.domEventName,e.eventSystemFlags,i,e.nativeEvent);if(o===null){var c=e.nativeEvent,p=new c.constructor(c.type,c);rs(p),c.target.dispatchEvent(p),u0()}else{var m=du(o);return m!==null&&vd(m),e.blockedOn=o,!1}t.shift()}return!0}function gd(e,t,i){Yo(e)&&i.delete(t)}function ti(){Ts=!1,Ht!==null&&Yo(Ht)&&(Ht=null),wn!==null&&Yo(wn)&&(wn=null),qn!==null&&Yo(qn)&&(qn=null),eu.forEach(gd),tu.forEach(gd)}function st(e,t){e.blockedOn===t&&(e.blockedOn=null,Ts||(Ts=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,ti)))}function Xt(e){if(Jl.length>0){st(Jl[0],e);for(var t=1;t<Jl.length;t++){var i=Jl[t];i.blockedOn===e&&(i.blockedOn=null)}}Ht!==null&&st(Ht,e),wn!==null&&st(wn,e),qn!==null&&st(qn,e);var o=function(S){return st(S,e)};eu.forEach(o),tu.forEach(o);for(var c=0;c<Rn.length;c++){var p=Rn[c];p.blockedOn===e&&(p.blockedOn=null)}for(;Rn.length>0;){var m=Rn[0];if(m.blockedOn!==null)break;wp(m),m.blockedOn===null&&Rn.shift()}}var Mt=l.ReactCurrentBatchConfig,mn=!0;function Sr(e){mn=!!e}function ru(){return mn}function gn(e,t,i){var o=yd(t),c;switch(o){case en:c=xs;break;case ba:c=Ko;break;case Bi:default:c=iu;break}return c.bind(null,t,i,e)}function xs(e,t,i,o){var c=ei(),p=Mt.transition;Mt.transition=null;try{Qt(en),iu(e,t,i,o)}finally{Qt(c),Mt.transition=p}}function Ko(e,t,i,o){var c=ei(),p=Mt.transition;Mt.transition=null;try{Qt(ba),iu(e,t,i,o)}finally{Qt(c),Mt.transition=p}}function iu(e,t,i,o){mn&&Rp(e,t,i,o)}function Rp(e,t,i,o){var c=Kn(e,t,i,o);if(c===null){P0(e,t,o,no,i),xp(e,o);return}if(Em(c,e,t,i,o)){o.stopPropagation();return}if(xp(e,o),t&Lo&&$i(e)){for(;c!==null;){var p=du(c);p!==null&&Cp(p);var m=Kn(e,t,i,o);if(m===null&&P0(e,t,o,no,i),m===c)break;c=m}c!==null&&o.stopPropagation();return}P0(e,t,o,null,i)}var no=null;function Kn(e,t,i,o){no=null;var c=Nc(o),p=Ms(c);if(p!==null){var m=Or(p);if(m===null)p=null;else{var S=m.tag;if(S===xe){var E=op(m);if(E!==null)return E;p=null}else if(S===O){var w=m.stateNode;if(pd(w))return Mc(m);p=null}else m!==p&&(p=null)}}return no=p,null}function yd(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return en;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return ba;case"message":{var t=sp();switch(t){case Uc:return en;case Fo:return ba;case ji:case em:return Bi;case Hc:return Kl;default:return Bi}}default:return Bi}}function au(e,t,i){return e.addEventListener(t,i,!1),i}function Ea(e,t,i){return e.addEventListener(t,i,!0),i}function Sd(e,t,i,o){return e.addEventListener(t,i,{capture:!0,passive:o}),i}function kp(e,t,i,o){return e.addEventListener(t,i,{passive:o}),i}var ni=null,ou=null,ri=null;function bd(e){return ni=e,ou=Rs(),!0}function ws(){ni=null,ou=null,ri=null}function Ed(){if(ri)return ri;var e,t=ou,i=t.length,o,c=Rs(),p=c.length;for(e=0;e<i&&t[e]===c[e];e++);var m=i-e;for(o=1;o<=m&&t[i-o]===c[p-o];o++);var S=o>1?1-o:void 0;return ri=c.slice(e,S),ri}function Rs(){return"value"in ni?ni.value:ni.textContent}function Qo(e){var t,i=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&i===13&&(t=13)):t=i,t===10&&(t=13),t>=32||t===13?t:0}function kn(){return!0}function Ca(){return!1}function Bt(e){function t(i,o,c,p,m){this._reactName=i,this._targetInst=c,this.type=o,this.nativeEvent=p,this.target=m,this.currentTarget=null;for(var S in e)if(e.hasOwnProperty(S)){var E=e[S];E?this[S]=E(p):this[S]=p[S]}var w=p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1;return w?this.isDefaultPrevented=kn:this.isDefaultPrevented=Ca,this.isPropagationStopped=Ca,this}return ut(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=kn)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=kn)},persist:function(){},isPersistent:kn}),t}var yn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Cd=Bt(yn),Xo=ut({},yn,{view:0,detail:0}),Op=Bt(Xo),Dp,Gi,lu;function Np(e){e!==lu&&(lu&&e.type==="mousemove"?(Dp=e.screenX-lu.screenX,Gi=e.screenY-lu.screenY):(Dp=0,Gi=0),lu=e)}var Wi=ut({},Xo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Lp,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(Np(e),Dp)},movementY:function(e){return"movementY"in e?e.movementY:Gi}}),Td=Bt(Wi),qo=ut({},Wi,{dataTransfer:0}),Cm=Bt(qo),Tm=ut({},Xo,{relatedTarget:0}),ks=Bt(Tm),xd=ut({},yn,{animationName:0,elapsedTime:0,pseudoElement:0}),b0=Bt(xd),E0=ut({},yn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),xm=Bt(E0),wm=ut({},yn,{data:0}),ro=Bt(wm),C0=ro,uu={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Rm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function qt(e){if(e.key){var t=uu[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var i=Qo(e);return i===13?"Enter":String.fromCharCode(i)}return e.type==="keydown"||e.type==="keyup"?Rm[e.keyCode]||"Unidentified":""}var T0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function km(e){var t=this,i=t.nativeEvent;if(i.getModifierState)return i.getModifierState(e);var o=T0[e];return o?!!i[o]:!1}function Lp(e){return km}var x0=ut({},Xo,{key:qt,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Lp,charCode:function(e){return e.type==="keypress"?Qo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Qo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Om=Bt(x0),Dm=ut({},Wi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Nm=Bt(Dm),ii=ut({},Xo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Lp}),_p=Bt(ii),w0=ut({},yn,{propertyName:0,elapsedTime:0,pseudoElement:0}),io=Bt(w0),wd=ut({},Wi,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Zo=Bt(wd),Rd=[9,13,27,32],kd=229,Os=Vn&&"CompositionEvent"in window,Ds=null;Vn&&"documentMode"in document&&(Ds=document.documentMode);var Ap=Vn&&"TextEvent"in window&&!Ds,Lm=Vn&&(!Os||Ds&&Ds>8&&Ds<=11),Ip=32,Mp=String.fromCharCode(Ip);function Od(){Ur("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ur("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Ur("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Ur("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var Ns=!1;function _m(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Pp(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function R0(e,t){return e==="keydown"&&t.keyCode===kd}function Fp(e,t){switch(e){case"keyup":return Rd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==kd;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dd(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Ls(e){return e.locale==="ko"}var ao=!1;function Nd(e,t,i,o,c){var p,m;if(Os?p=Pp(t):ao?Fp(t,o)&&(p="onCompositionEnd"):R0(t,o)&&(p="onCompositionStart"),!p)return null;Lm&&!Ls(o)&&(!ao&&p==="onCompositionStart"?ao=bd(c):p==="onCompositionEnd"&&ao&&(m=Ed()));var S=zm(i,p);if(S.length>0){var E=new ro(p,t,null,o,c);if(e.push({event:E,listeners:S}),m)E.data=m;else{var w=Dd(o);w!==null&&(E.data=w)}}}function Am(e,t){switch(e){case"compositionend":return Dd(t);case"keypress":var i=t.which;return i!==Ip?null:(Ns=!0,Mp);case"textInput":var o=t.data;return o===Mp&&Ns?null:o;default:return null}}function k0(e,t){if(ao){if(e==="compositionend"||!Os&&Fp(e,t)){var i=Ed();return ws(),ao=!1,i}return null}switch(e){case"paste":return null;case"keypress":if(!_m(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Lm&&!Ls(t)?null:t.data;default:return null}}function Ld(e,t,i,o,c){var p;if(Ap?p=Am(t,o):p=k0(t,o),!p)return null;var m=zm(i,"onBeforeInput");if(m.length>0){var S=new C0("onBeforeInput","beforeinput",null,o,c);e.push({event:S,listeners:m}),S.data=p}}function O0(e,t,i,o,c,p,m){Nd(e,t,i,o,c),Ld(e,t,i,o,c)}var _s={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Im(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!_s[e.type]:t==="textarea"}/**
|
|
25
|
+
*/var Px;function cP(){return Px||(Px=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var r=de,l=$R(),o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,d=!1;function v(e){d=e}function S(e){if(!d){for(var t=arguments.length,a=new Array(t>1?t-1:0),u=1;u<t;u++)a[u-1]=arguments[u];b("warn",e,a)}}function m(e){if(!d){for(var t=arguments.length,a=new Array(t>1?t-1:0),u=1;u<t;u++)a[u-1]=arguments[u];b("error",e,a)}}function b(e,t,a){{var u=o.ReactDebugCurrentFrame,c=u.getStackAddendum();c!==""&&(t+="%s",a=a.concat([c]));var p=a.map(function(g){return String(g)});p.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,p)}}var w=0,T=1,I=2,D=3,L=4,N=5,_=6,B=7,X=8,z=9,te=10,Z=11,me=12,fe=13,Fe=14,we=15,gt=16,Ie=17,Ee=18,se=19,K=21,Y=22,ie=23,Ve=24,ke=25,Be=!0,oe=!1,Re=!1,pe=!1,ut=!1,yt=!0,Ht=!1,fn=!0,Ei=!0,pn=!0,Br=!0,bi=new Set,ji={},$u={};function jr(e,t){sa(e,t),sa(e+"Capture",t)}function sa(e,t){ji[e]&&m("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),ji[e]=t;{var a=e.toLowerCase();$u[a]=e,e==="onDoubleClick"&&($u.ondblclick=e)}for(var u=0;u<t.length;u++)bi.add(t[u])}var jn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",cr=Object.prototype.hasOwnProperty;function $r(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function Ci(e){try{return Or(e),!1}catch{return!0}}function Or(e){return""+e}function ca(e,t){if(Ci(e))return m("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,$r(e)),Or(e)}function xl(e){if(Ci(e))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",$r(e)),Or(e)}function No(e,t){if(Ci(e))return m("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,$r(e)),Or(e)}function ja(e,t){if(Ci(e))return m("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,$r(e)),Or(e)}function Lo(e){if(Ci(e))return m("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",$r(e)),Or(e)}function Ti(e){if(Ci(e))return m("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",$r(e)),Or(e)}var $a=0,$i=1,Ga=2,dr=3,wi=4,Gu=5,Wa=6,ye=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",$e=ye+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",st=new RegExp("^["+ye+"]["+$e+"]*$"),Lt={},Zt={};function $n(e){return cr.call(Zt,e)?!0:cr.call(Lt,e)?!1:st.test(e)?(Zt[e]=!0,!0):(Lt[e]=!0,m("Invalid attribute name: `%s`",e),!1)}function vn(e,t,a){return t!==null?t.type===$a:a?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Gr(e,t,a,u){if(a!==null&&a.type===$a)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(u)return!1;if(a!==null)return!a.acceptsBooleans;var c=e.toLowerCase().slice(0,5);return c!=="data-"&&c!=="aria-"}default:return!1}}function Gt(e,t,a,u){if(t===null||typeof t>"u"||Gr(e,t,a,u))return!0;if(u)return!1;if(a!==null)switch(a.type){case dr:return!t;case wi:return t===!1;case Gu:return isNaN(t);case Wa:return isNaN(t)||t<1}return!1}function Gi(e){return Wt.hasOwnProperty(e)?Wt[e]:null}function rn(e,t,a,u,c,p,g){this.acceptsBooleans=t===Ga||t===dr||t===wi,this.attributeName=u,this.attributeNamespace=c,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=p,this.removeEmptyString=g}var Wt={},dh=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];dh.forEach(function(e){Wt[e]=new rn(e,$a,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],a=e[1];Wt[t]=new rn(t,$i,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Wt[e]=new rn(e,Ga,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Wt[e]=new rn(e,Ga,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){Wt[e]=new rn(e,dr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Wt[e]=new rn(e,dr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Wt[e]=new rn(e,wi,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Wt[e]=new rn(e,Wa,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Wt[e]=new rn(e,Gu,!1,e.toLowerCase(),null,!1,!1)});var Sc=/[\-\:]([a-z])/g,Ec=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(Sc,Ec);Wt[t]=new rn(t,$i,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Sc,Ec);Wt[t]=new rn(t,$i,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Sc,Ec);Wt[t]=new rn(t,$i,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Wt[e]=new rn(e,$i,!1,e.toLowerCase(),null,!1,!1)});var fh="xlinkHref";Wt[fh]=new rn("xlinkHref",$i,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Wt[e]=new rn(e,$i,!1,e.toLowerCase(),null,!0,!0)});var ph=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,bc=!1;function Af(e){!bc&&ph.test(e)&&(bc=!0,m("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Wu(e,t,a,u){if(u.mustUseProperty){var c=u.propertyName;return e[c]}else{ca(a,t),u.sanitizeURL&&Af(""+a);var p=u.attributeName,g=null;if(u.type===wi){if(e.hasAttribute(p)){var E=e.getAttribute(p);return E===""?!0:Gt(t,a,u,!1)?E:E===""+a?a:E}}else if(e.hasAttribute(p)){if(Gt(t,a,u,!1))return e.getAttribute(p);if(u.type===dr)return a;g=e.getAttribute(p)}return Gt(t,a,u,!1)?g===null?a:g:g===""+a?a:g}}function Cc(e,t,a,u){{if(!$n(t))return;if(!e.hasAttribute(t))return a===void 0?void 0:null;var c=e.getAttribute(t);return ca(a,t),c===""+a?a:c}}function Io(e,t,a,u){var c=Gi(t);if(!vn(t,c,u)){if(Gt(t,a,c,u)&&(a=null),u||c===null){if($n(t)){var p=t;a===null?e.removeAttribute(p):(ca(a,t),e.setAttribute(p,""+a))}return}var g=c.mustUseProperty;if(g){var E=c.propertyName;if(a===null){var C=c.type;e[E]=C===dr?!1:""}else e[E]=a;return}var R=c.attributeName,k=c.attributeNamespace;if(a===null)e.removeAttribute(R);else{var F=c.type,M;F===dr||F===wi&&a===!0?M="":(ca(a,R),M=""+a,c.sanitizeURL&&Af(M.toString())),k?e.setAttributeNS(k,R,M):e.setAttribute(R,M)}}}var Rl=Symbol.for("react.element"),xi=Symbol.for("react.portal"),da=Symbol.for("react.fragment"),kl=Symbol.for("react.strict_mode"),Yu=Symbol.for("react.profiler"),_f=Symbol.for("react.provider"),Mf=Symbol.for("react.context"),Ol=Symbol.for("react.forward_ref"),Wi=Symbol.for("react.suspense"),Ku=Symbol.for("react.suspense_list"),Dl=Symbol.for("react.memo"),Zn=Symbol.for("react.lazy"),vh=Symbol.for("react.scope"),hh=Symbol.for("react.debug_trace_mode"),Pf=Symbol.for("react.offscreen"),mh=Symbol.for("react.legacy_hidden"),a0=Symbol.for("react.cache"),o0=Symbol.for("react.tracing_marker"),Yt=Symbol.iterator,l0="@@iterator";function fa(e){if(e===null||typeof e!="object")return null;var t=Yt&&e[Yt]||e[l0];return typeof t=="function"?t:null}var ct=Object.assign,Ya=0,gh,Ff,Qu,Ri,yh,Wr,Sh;function Eh(){}Eh.__reactDisabledLog=!0;function u0(){{if(Ya===0){gh=console.log,Ff=console.info,Qu=console.warn,Ri=console.error,yh=console.group,Wr=console.groupCollapsed,Sh=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Eh,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ya++}}function Tc(){{if(Ya--,Ya===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ct({},e,{value:gh}),info:ct({},e,{value:Ff}),warn:ct({},e,{value:Qu}),error:ct({},e,{value:Ri}),group:ct({},e,{value:yh}),groupCollapsed:ct({},e,{value:Wr}),groupEnd:ct({},e,{value:Sh})})}Ya<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Nl=o.ReactCurrentDispatcher,Ao;function ki(e,t,a){{if(Ao===void 0)try{throw Error()}catch(c){var u=c.stack.trim().match(/\n( *(at )?)/);Ao=u&&u[1]||""}return`
|
|
26
|
+
`+Ao+e}}var zf=!1,wc;{var Uf=typeof WeakMap=="function"?WeakMap:Map;wc=new Uf}function xc(e,t){if(!e||zf)return"";{var a=wc.get(e);if(a!==void 0)return a}var u;zf=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var p;p=Nl.current,Nl.current=null,u0();try{if(t){var g=function(){throw Error()};if(Object.defineProperty(g.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(g,[])}catch(W){u=W}Reflect.construct(e,[],g)}else{try{g.call()}catch(W){u=W}e.call(g.prototype)}}else{try{throw Error()}catch(W){u=W}e()}}catch(W){if(W&&u&&typeof W.stack=="string"){for(var E=W.stack.split(`
|
|
27
|
+
`),C=u.stack.split(`
|
|
28
|
+
`),R=E.length-1,k=C.length-1;R>=1&&k>=0&&E[R]!==C[k];)k--;for(;R>=1&&k>=0;R--,k--)if(E[R]!==C[k]){if(R!==1||k!==1)do if(R--,k--,k<0||E[R]!==C[k]){var F=`
|
|
29
|
+
`+E[R].replace(" at new "," at ");return e.displayName&&F.includes("<anonymous>")&&(F=F.replace("<anonymous>",e.displayName)),typeof e=="function"&&wc.set(e,F),F}while(R>=1&&k>=0);break}}}finally{zf=!1,Nl.current=p,Tc(),Error.prepareStackTrace=c}var M=e?e.displayName||e.name:"",$=M?ki(M):"";return typeof e=="function"&&wc.set(e,$),$}function Vf(e,t,a){return xc(e,!0)}function _o(e,t,a){return xc(e,!1)}function s0(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function qu(e,t,a){if(e==null)return"";if(typeof e=="function")return xc(e,s0(e));if(typeof e=="string")return ki(e);switch(e){case Wi:return ki("Suspense");case Ku:return ki("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case Ol:return _o(e.render);case Dl:return qu(e.type,t,a);case Zn:{var u=e,c=u._payload,p=u._init;try{return qu(p(c),t,a)}catch{}}}return""}function xt(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case N:return ki(e.type);case gt:return ki("Lazy");case fe:return ki("Suspense");case se:return ki("SuspenseList");case w:case I:case we:return _o(e.type);case Z:return _o(e.type.render);case T:return Vf(e.type);default:return""}}function Hf(e){try{var t="",a=e;do t+=xt(a),a=a.return;while(a);return t}catch(u){return`
|
|
30
|
+
Error generating stack: `+u.message+`
|
|
31
|
+
`+u.stack}}function bh(e,t,a){var u=e.displayName;if(u)return u;var c=t.displayName||t.name||"";return c!==""?a+"("+c+")":a}function Rc(e){return e.displayName||"Context"}function Rt(e){if(e==null)return null;if(typeof e.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case da:return"Fragment";case xi:return"Portal";case Yu:return"Profiler";case kl:return"StrictMode";case Wi:return"Suspense";case Ku:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Mf:var t=e;return Rc(t)+".Consumer";case _f:var a=e;return Rc(a._context)+".Provider";case Ol:return bh(e,e.render,"ForwardRef");case Dl:var u=e.displayName||null;return u!==null?u:Rt(e.type)||"Memo";case Zn:{var c=e,p=c._payload,g=c._init;try{return Rt(g(p))}catch{return null}}}return null}function Ch(e,t,a){var u=t.displayName||t.name||"";return e.displayName||(u!==""?a+"("+u+")":a)}function Bf(e){return e.displayName||"Context"}function Je(e){var t=e.tag,a=e.type;switch(t){case Ve:return"Cache";case z:var u=a;return Bf(u)+".Consumer";case te:var c=a;return Bf(c._context)+".Provider";case Ee:return"DehydratedFragment";case Z:return Ch(a,a.render,"ForwardRef");case B:return"Fragment";case N:return a;case L:return"Portal";case D:return"Root";case _:return"Text";case gt:return Rt(a);case X:return a===kl?"StrictMode":"Mode";case Y:return"Offscreen";case me:return"Profiler";case K:return"Scope";case fe:return"Suspense";case se:return"SuspenseList";case ke:return"TracingMarker";case T:case w:case Ie:case I:case Fe:case we:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break}return null}var Xu=o.ReactDebugCurrentFrame,an=null,Yr=!1;function Kr(){{if(an===null)return null;var e=an._debugOwner;if(e!==null&&typeof e<"u")return Je(e)}return null}function Zu(){return an===null?"":Hf(an)}function hn(){Xu.getCurrentStack=null,an=null,Yr=!1}function kt(e){Xu.getCurrentStack=e===null?null:Zu,an=e,Yr=!1}function c0(){return an}function Oi(e){Yr=e}function Gn(e){return""+e}function Ka(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Ti(e),e;default:return""}}var Th={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ll(e,t){Th[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||m("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||m("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function jf(e){var t=e.type,a=e.nodeName;return a&&a.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function wh(e){return e._valueTracker}function Ju(e){e._valueTracker=null}function es(e){var t="";return e&&(jf(e)?t=e.checked?"true":"false":t=e.value),t}function Il(e){var t=jf(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Ti(e[t]);var u=""+e[t];if(!(e.hasOwnProperty(t)||typeof a>"u"||typeof a.get!="function"||typeof a.set!="function")){var c=a.get,p=a.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return c.call(this)},set:function(E){Ti(E),u=""+E,p.call(this,E)}}),Object.defineProperty(e,t,{enumerable:a.enumerable});var g={getValue:function(){return u},setValue:function(E){Ti(E),u=""+E},stopTracking:function(){Ju(e),delete e[t]}};return g}}function Mo(e){wh(e)||(e._valueTracker=Il(e))}function xh(e){if(!e)return!1;var t=wh(e);if(!t)return!0;var a=t.getValue(),u=es(e);return u!==a?(t.setValue(u),!0):!1}function kc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Oc=!1,ts=!1,Dc=!1,$f=!1;function pa(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function ns(e,t){var a=e,u=t.checked,c=ct({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??a._wrapperState.initialChecked});return c}function rs(e,t){Ll("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!ts&&(m("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Kr()||"A component",t.type),ts=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Oc&&(m("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Kr()||"A component",t.type),Oc=!0);var a=e,u=t.defaultValue==null?"":t.defaultValue;a._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Ka(t.value!=null?t.value:u),controlled:pa(t)}}function Gf(e,t){var a=e,u=t.checked;u!=null&&Io(a,"checked",u,!1)}function Al(e,t){var a=e;{var u=pa(t);!a._wrapperState.controlled&&u&&!$f&&(m("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),$f=!0),a._wrapperState.controlled&&!u&&!Dc&&(m("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Dc=!0)}Gf(e,t);var c=Ka(t.value),p=t.type;if(c!=null)p==="number"?(c===0&&a.value===""||a.value!=c)&&(a.value=Gn(c)):a.value!==Gn(c)&&(a.value=Gn(c));else if(p==="submit"||p==="reset"){a.removeAttribute("value");return}t.hasOwnProperty("value")?Qa(a,t.type,c):t.hasOwnProperty("defaultValue")&&Qa(a,t.type,Ka(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(a.defaultChecked=!!t.defaultChecked)}function is(e,t,a){var u=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var c=t.type,p=c==="submit"||c==="reset";if(p&&(t.value===void 0||t.value===null))return;var g=Gn(u._wrapperState.initialValue);a||g!==u.value&&(u.value=g),u.defaultValue=g}var E=u.name;E!==""&&(u.name=""),u.defaultChecked=!u.defaultChecked,u.defaultChecked=!!u._wrapperState.initialChecked,E!==""&&(u.name=E)}function Rh(e,t){var a=e;Al(a,t),Dr(a,t)}function Dr(e,t){var a=t.name;if(t.type==="radio"&&a!=null){for(var u=e;u.parentNode;)u=u.parentNode;ca(a,"name");for(var c=u.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),p=0;p<c.length;p++){var g=c[p];if(!(g===e||g.form!==e.form)){var E=og(g);if(!E)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");xh(g),Al(g,E)}}}}function Qa(e,t,a){(t!=="number"||kc(e.ownerDocument)!==e)&&(a==null?e.defaultValue=Gn(e._wrapperState.initialValue):e.defaultValue!==Gn(a)&&(e.defaultValue=Gn(a)))}var Nc=!1,_l=!1,kh=!1;function Lc(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?r.Children.forEach(t.children,function(a){a!=null&&(typeof a=="string"||typeof a=="number"||_l||(_l=!0,m("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(kh||(kh=!0,m("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Nc&&(m("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Nc=!0)}function Wf(e,t){t.value!=null&&e.setAttribute("value",Gn(Ka(t.value)))}var as=Array.isArray;function wn(e){return as(e)}var Ic;Ic=!1;function Oh(){var e=Kr();return e?`
|
|
32
|
+
|
|
33
|
+
Check the render method of \``+e+"`.":""}var Dh=["value","defaultValue"];function d0(e){{Ll("select",e);for(var t=0;t<Dh.length;t++){var a=Dh[t];if(e[a]!=null){var u=wn(e[a]);e.multiple&&!u?m("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,Oh()):!e.multiple&&u&&m("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,Oh())}}}}function qa(e,t,a,u){var c=e.options;if(t){for(var p=a,g={},E=0;E<p.length;E++)g["$"+p[E]]=!0;for(var C=0;C<c.length;C++){var R=g.hasOwnProperty("$"+c[C].value);c[C].selected!==R&&(c[C].selected=R),R&&u&&(c[C].defaultSelected=!0)}}else{for(var k=Gn(Ka(a)),F=null,M=0;M<c.length;M++){if(c[M].value===k){c[M].selected=!0,u&&(c[M].defaultSelected=!0);return}F===null&&!c[M].disabled&&(F=c[M])}F!==null&&(F.selected=!0)}}function Yf(e,t){return ct({},t,{value:void 0})}function Nh(e,t){var a=e;d0(t),a._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Ic&&(m("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Ic=!0)}function f0(e,t){var a=e;a.multiple=!!t.multiple;var u=t.value;u!=null?qa(a,!!t.multiple,u,!1):t.defaultValue!=null&&qa(a,!!t.multiple,t.defaultValue,!0)}function p0(e,t){var a=e,u=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!t.multiple;var c=t.value;c!=null?qa(a,!!t.multiple,c,!1):u!==!!t.multiple&&(t.defaultValue!=null?qa(a,!!t.multiple,t.defaultValue,!0):qa(a,!!t.multiple,t.multiple?[]:"",!1))}function v0(e,t){var a=e,u=t.value;u!=null&&qa(a,!!t.multiple,u,!1)}var Kf=!1;function Qf(e,t){var a=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var u=ct({},t,{value:void 0,defaultValue:void 0,children:Gn(a._wrapperState.initialValue)});return u}function Lh(e,t){var a=e;Ll("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Kf&&(m("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Kr()||"A component"),Kf=!0);var u=t.value;if(u==null){var c=t.children,p=t.defaultValue;if(c!=null){m("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(p!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(wn(c)){if(c.length>1)throw new Error("<textarea> can only have at most one child.");c=c[0]}p=c}}p==null&&(p=""),u=p}a._wrapperState={initialValue:Ka(u)}}function Ih(e,t){var a=e,u=Ka(t.value),c=Ka(t.defaultValue);if(u!=null){var p=Gn(u);p!==a.value&&(a.value=p),t.defaultValue==null&&a.defaultValue!==p&&(a.defaultValue=p)}c!=null&&(a.defaultValue=Gn(c))}function Ah(e,t){var a=e,u=a.textContent;u===a._wrapperState.initialValue&&u!==""&&u!==null&&(a.value=u)}function qf(e,t){Ih(e,t)}var va="http://www.w3.org/1999/xhtml",h0="http://www.w3.org/1998/Math/MathML",Xf="http://www.w3.org/2000/svg";function Ac(e){switch(e){case"svg":return Xf;case"math":return h0;default:return va}}function Zf(e,t){return e==null||e===va?Ac(t):e===Xf&&t==="foreignObject"?va:e}var m0=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,a,u,c){MSApp.execUnsafeLocalFunction(function(){return e(t,a,u,c)})}:e},_c,_h=m0(function(e,t){if(e.namespaceURI===Xf&&!("innerHTML"in e)){_c=_c||document.createElement("div"),_c.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var a=_c.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;a.firstChild;)e.appendChild(a.firstChild);return}e.innerHTML=t}),fr=1,ha=3,on=8,Di=9,Po=11,Mc=function(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===ha){a.nodeValue=t;return}}e.textContent=t},Mh={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Ml={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Ph(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Fh=["Webkit","ms","Moz","O"];Object.keys(Ml).forEach(function(e){Fh.forEach(function(t){Ml[Ph(t,e)]=Ml[e]})});function Pc(e,t,a){var u=t==null||typeof t=="boolean"||t==="";return u?"":!a&&typeof t=="number"&&t!==0&&!(Ml.hasOwnProperty(e)&&Ml[e])?t+"px":(ja(t,e),(""+t).trim())}var Pl=/([A-Z])/g,g0=/^ms-/;function y0(e){return e.replace(Pl,"-$1").toLowerCase().replace(g0,"-ms-")}var zh=function(){};{var Uh=/^(?:webkit|moz|o)[A-Z]/,Vh=/^-ms-/,os=/-(.)/g,Fl=/;\s*$/,zl={},Ul={},Hh=!1,Jf=!1,ep=function(e){return e.replace(os,function(t,a){return a.toUpperCase()})},tp=function(e){zl.hasOwnProperty(e)&&zl[e]||(zl[e]=!0,m("Unsupported style property %s. Did you mean %s?",e,ep(e.replace(Vh,"ms-"))))},Bh=function(e){zl.hasOwnProperty(e)&&zl[e]||(zl[e]=!0,m("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},jh=function(e,t){Ul.hasOwnProperty(t)&&Ul[t]||(Ul[t]=!0,m(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Fl,"")))},$h=function(e,t){Hh||(Hh=!0,m("`NaN` is an invalid value for the `%s` css style property.",e))},S0=function(e,t){Jf||(Jf=!0,m("`Infinity` is an invalid value for the `%s` css style property.",e))};zh=function(e,t){e.indexOf("-")>-1?tp(e):Uh.test(e)?Bh(e):Fl.test(t)&&jh(e,t),typeof t=="number"&&(isNaN(t)?$h(e,t):isFinite(t)||S0(e,t))}}var E0=zh;function b0(e){{var t="",a="";for(var u in e)if(e.hasOwnProperty(u)){var c=e[u];if(c!=null){var p=u.indexOf("--")===0;t+=a+(p?u:y0(u))+":",t+=Pc(u,c,p),a=";"}}return t||null}}function Gh(e,t){var a=e.style;for(var u in t)if(t.hasOwnProperty(u)){var c=u.indexOf("--")===0;c||E0(u,t[u]);var p=Pc(u,t[u],c);u==="float"&&(u="cssFloat"),c?a.setProperty(u,p):a[u]=p}}function C0(e){return e==null||typeof e=="boolean"||e===""}function Qr(e){var t={};for(var a in e)for(var u=Mh[a]||[a],c=0;c<u.length;c++)t[u[c]]=a;return t}function ls(e,t){{if(!t)return;var a=Qr(e),u=Qr(t),c={};for(var p in a){var g=a[p],E=u[p];if(E&&g!==E){var C=g+","+E;if(c[C])continue;c[C]=!0,m("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",C0(e[g])?"Removing":"Updating",g,E)}}}}var Wh={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},Yh=ct({menuitem:!0},Wh),Kh="__html";function Fc(e,t){if(t){if(Yh[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Kh in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&m("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function ma(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var zc={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Qh={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Ni={},np=new RegExp("^(aria)-["+$e+"]*$"),us=new RegExp("^(aria)[A-Z]["+$e+"]*$");function rp(e,t){{if(cr.call(Ni,t)&&Ni[t])return!0;if(us.test(t)){var a="aria-"+t.slice(4).toLowerCase(),u=Qh.hasOwnProperty(a)?a:null;if(u==null)return m("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Ni[t]=!0,!0;if(t!==u)return m("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,u),Ni[t]=!0,!0}if(np.test(t)){var c=t.toLowerCase(),p=Qh.hasOwnProperty(c)?c:null;if(p==null)return Ni[t]=!0,!1;if(t!==p)return m("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,p),Ni[t]=!0,!0}}return!0}function qh(e,t){{var a=[];for(var u in t){var c=rp(e,u);c||a.push(u)}var p=a.map(function(g){return"`"+g+"`"}).join(", ");a.length===1?m("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",p,e):a.length>1&&m("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",p,e)}}function Uc(e,t){ma(e,t)||qh(e,t)}var Fo=!1;function ip(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Fo&&(Fo=!0,e==="select"&&t.multiple?m("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):m("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var ap=function(){};{var xn={},op=/^on./,Xh=/^on[^A-Z]/,Zh=new RegExp("^(aria)-["+$e+"]*$"),Jh=new RegExp("^(aria)[A-Z]["+$e+"]*$");ap=function(e,t,a,u){if(cr.call(xn,t)&&xn[t])return!0;var c=t.toLowerCase();if(c==="onfocusin"||c==="onfocusout")return m("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),xn[t]=!0,!0;if(u!=null){var p=u.registrationNameDependencies,g=u.possibleRegistrationNames;if(p.hasOwnProperty(t))return!0;var E=g.hasOwnProperty(c)?g[c]:null;if(E!=null)return m("Invalid event handler property `%s`. Did you mean `%s`?",t,E),xn[t]=!0,!0;if(op.test(t))return m("Unknown event handler property `%s`. It will be ignored.",t),xn[t]=!0,!0}else if(op.test(t))return Xh.test(t)&&m("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),xn[t]=!0,!0;if(Zh.test(t)||Jh.test(t))return!0;if(c==="innerhtml")return m("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),xn[t]=!0,!0;if(c==="aria")return m("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),xn[t]=!0,!0;if(c==="is"&&a!==null&&a!==void 0&&typeof a!="string")return m("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),xn[t]=!0,!0;if(typeof a=="number"&&isNaN(a))return m("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),xn[t]=!0,!0;var C=Gi(t),R=C!==null&&C.type===$a;if(zc.hasOwnProperty(c)){var k=zc[c];if(k!==t)return m("Invalid DOM property `%s`. Did you mean `%s`?",t,k),xn[t]=!0,!0}else if(!R&&t!==c)return m("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,c),xn[t]=!0,!0;return typeof a=="boolean"&&Gr(t,a,C,!1)?(a?m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',a,t,t,a,t):m('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,t,t,a,t,t,t),xn[t]=!0,!0):R?!0:Gr(t,a,C,!1)?(xn[t]=!0,!1):((a==="false"||a==="true")&&C!==null&&C.type===dr&&(m("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,a),xn[t]=!0),!0)}}var em=function(e,t,a){{var u=[];for(var c in t){var p=ap(e,c,t[c],a);p||u.push(c)}var g=u.map(function(E){return"`"+E+"`"}).join(", ");u.length===1?m("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",g,e):u.length>1&&m("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",g,e)}};function tm(e,t,a){ma(e,t)||em(e,t,a)}var ga=1,ss=2,zo=4,T0=ga|ss|zo,cs=null;function ds(e){cs!==null&&m("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),cs=e}function w0(){cs===null&&m("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),cs=null}function nm(e){return e===cs}function Vc(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===ha?t.parentNode:t}var It=null,Xa=null,ya=null;function Vl(e){var t=Su(e);if(t){if(typeof It!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var a=t.stateNode;if(a){var u=og(a);It(t.stateNode,t.type,u)}}}function rm(e){It=e}function Hc(e){Xa?ya?ya.push(e):ya=[e]:Xa=e}function fs(){return Xa!==null||ya!==null}function ps(){if(Xa){var e=Xa,t=ya;if(Xa=null,ya=null,Vl(e),t)for(var a=0;a<t.length;a++)Vl(t[a])}}var Uo=function(e,t){return e(t)},lp=function(){},up=!1;function x0(){var e=fs();e&&(lp(),ps())}function sp(e,t,a){if(up)return e(t,a);up=!0;try{return Uo(e,t,a)}finally{up=!1,x0()}}function Bc(e,t,a){Uo=e,lp=a}function jc(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function cp(e,t,a){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(a.disabled&&jc(t));default:return!1}}function Vo(e,t){var a=e.stateNode;if(a===null)return null;var u=og(a);if(u===null)return null;var c=u[t];if(cp(t,e.type,u))return null;if(c&&typeof c!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof c+"` type.");return c}var vs=!1;if(jn)try{var Ho={};Object.defineProperty(Ho,"passive",{get:function(){vs=!0}}),window.addEventListener("test",Ho,Ho),window.removeEventListener("test",Ho,Ho)}catch{vs=!1}function im(e,t,a,u,c,p,g,E,C){var R=Array.prototype.slice.call(arguments,3);try{t.apply(a,R)}catch(k){this.onError(k)}}var dp=im;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var fp=document.createElement("react");dp=function(t,a,u,c,p,g,E,C,R){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var k=document.createEvent("Event"),F=!1,M=!0,$=window.event,W=Object.getOwnPropertyDescriptor(window,"event");function Q(){fp.removeEventListener(q,je,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=$)}var ge=Array.prototype.slice.call(arguments,3);function je(){F=!0,Q(),a.apply(u,ge),M=!1}var Pe,mt=!1,ft=!1;function V(H){if(Pe=H.error,mt=!0,Pe===null&&H.colno===0&&H.lineno===0&&(ft=!0),H.defaultPrevented&&Pe!=null&&typeof Pe=="object")try{Pe._suppressLogging=!0}catch{}}var q="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",V),fp.addEventListener(q,je,!1),k.initEvent(q,!1,!1),fp.dispatchEvent(k),W&&Object.defineProperty(window,"event",W),F&&M&&(mt?ft&&(Pe=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Pe=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Pe)),window.removeEventListener("error",V),!F)return Q(),im.apply(this,arguments)}}var R0=dp,Za=!1,Li=null,hs=!1,Ja=null,Yi={onError:function(e){Za=!0,Li=e}};function Bo(e,t,a,u,c,p,g,E,C){Za=!1,Li=null,R0.apply(Yi,arguments)}function Sa(e,t,a,u,c,p,g,E,C){if(Bo.apply(this,arguments),Za){var R=vp();hs||(hs=!0,Ja=R)}}function pp(){if(hs){var e=Ja;throw hs=!1,Ja=null,e}}function k0(){return Za}function vp(){if(Za){var e=Li;return Za=!1,Li=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function qr(e){return e._reactInternals}function ms(e){return e._reactInternals!==void 0}function Hl(e,t){e._reactInternals=t}var He=0,eo=1,_t=2,nt=4,Ct=16,Tt=32,Ki=64,Qe=128,Kt=256,pr=512,Xr=1024,zt=2048,Zr=4096,to=8192,gs=16384,$c=zt|nt|Ki|pr|Xr|gs,am=32767,Nr=32768,Rn=65536,ys=131072,hp=1048576,mp=2097152,vr=4194304,no=8388608,hr=16777216,jo=33554432,Bl=nt|Xr|0,mr=_t|nt|Ct|Tt|pr|Zr|to,Wn=nt|Ki|pr|to,Jr=zt|Ct,In=vr|no|mp,Ea=o.ReactCurrentOwner;function Lr(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{var u=t;do t=u,(t.flags&(_t|Zr))!==He&&(a=t.return),u=t.return;while(u)}return t.tag===D?a:null}function gp(e){if(e.tag===fe){var t=e.memoizedState;if(t===null){var a=e.alternate;a!==null&&(t=a.memoizedState)}if(t!==null)return t.dehydrated}return null}function Gc(e){return e.tag===D?e.stateNode.containerInfo:null}function yp(e){return Lr(e)===e}function Ir(e){{var t=Ea.current;if(t!==null&&t.tag===T){var a=t,u=a.stateNode;u._warnedAboutRefsInRender||m("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Je(a)||"A component"),u._warnedAboutRefsInRender=!0}}var c=qr(e);return c?Lr(c)===c:!1}function gr(e){if(Lr(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function Mt(e){var t=e.alternate;if(!t){var a=Lr(e);if(a===null)throw new Error("Unable to find node on an unmounted component.");return a!==e?null:e}for(var u=e,c=t;;){var p=u.return;if(p===null)break;var g=p.alternate;if(g===null){var E=p.return;if(E!==null){u=c=E;continue}break}if(p.child===g.child){for(var C=p.child;C;){if(C===u)return gr(p),e;if(C===c)return gr(p),t;C=C.sibling}throw new Error("Unable to find node on an unmounted component.")}if(u.return!==c.return)u=p,c=g;else{for(var R=!1,k=p.child;k;){if(k===u){R=!0,u=p,c=g;break}if(k===c){R=!0,c=p,u=g;break}k=k.sibling}if(!R){for(k=g.child;k;){if(k===u){R=!0,u=g,c=p;break}if(k===c){R=!0,c=g,u=p;break}k=k.sibling}if(!R)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(u.alternate!==c)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(u.tag!==D)throw new Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?e:t}function ei(e){var t=Mt(e);return t!==null?Sp(t):null}function Sp(e){if(e.tag===N||e.tag===_)return e;for(var t=e.child;t!==null;){var a=Sp(t);if(a!==null)return a;t=t.sibling}return null}function om(e){var t=Mt(e);return t!==null?Wc(t):null}function Wc(e){if(e.tag===N||e.tag===_)return e;for(var t=e.child;t!==null;){if(t.tag!==L){var a=Wc(t);if(a!==null)return a}t=t.sibling}return null}var Yc=l.unstable_scheduleCallback,lm=l.unstable_cancelCallback,Kc=l.unstable_shouldYield,um=l.unstable_requestPaint,Bt=l.unstable_now,Ep=l.unstable_getCurrentPriorityLevel,Qc=l.unstable_ImmediatePriority,$o=l.unstable_UserBlockingPriority,Qi=l.unstable_NormalPriority,sm=l.unstable_LowPriority,qc=l.unstable_IdlePriority,jl=l.unstable_yieldValue,cm=l.unstable_setDisableYieldValue,ba=null,mn=null,ve=null,ti=!1,Ar=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function bp(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return m("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Ei&&(e=ct({},e,{getLaneLabelMap:Ca,injectProfilingHooks:dm})),ba=t.inject(e),mn=t}catch(a){m("React instrumentation encountered an error: %s.",a)}return!!t.checkDCE}function Cp(e,t){if(mn&&typeof mn.onScheduleFiberRoot=="function")try{mn.onScheduleFiberRoot(ba,e,t)}catch(a){ti||(ti=!0,m("React instrumentation encountered an error: %s",a))}}function $l(e,t){if(mn&&typeof mn.onCommitFiberRoot=="function")try{var a=(e.current.flags&Qe)===Qe;if(pn){var u;switch(t){case en:u=Qc;break;case wa:u=$o;break;case qi:u=Qi;break;case nu:u=qc;break;default:u=Qi;break}mn.onCommitFiberRoot(ba,e,u,a)}}catch(c){ti||(ti=!0,m("React instrumentation encountered an error: %s",c))}}function ni(e){if(mn&&typeof mn.onPostCommitFiberRoot=="function")try{mn.onPostCommitFiberRoot(ba,e)}catch(t){ti||(ti=!0,m("React instrumentation encountered an error: %s",t))}}function Go(e){if(mn&&typeof mn.onCommitFiberUnmount=="function")try{mn.onCommitFiberUnmount(ba,e)}catch(t){ti||(ti=!0,m("React instrumentation encountered an error: %s",t))}}function ln(e){if(typeof jl=="function"&&(cm(e),v(e)),mn&&typeof mn.setStrictMode=="function")try{mn.setStrictMode(ba,e)}catch(t){ti||(ti=!0,m("React instrumentation encountered an error: %s",t))}}function dm(e){ve=e}function Ca(){{for(var e=new Map,t=1,a=0;a<Ts;a++){var u=D0(t);e.set(t,u),t*=2}return e}}function ro(e){ve!==null&&typeof ve.markCommitStarted=="function"&&ve.markCommitStarted(e)}function Xc(){ve!==null&&typeof ve.markCommitStopped=="function"&&ve.markCommitStopped()}function Gl(e){ve!==null&&typeof ve.markComponentRenderStarted=="function"&&ve.markComponentRenderStarted(e)}function yr(){ve!==null&&typeof ve.markComponentRenderStopped=="function"&&ve.markComponentRenderStopped()}function io(e){ve!==null&&typeof ve.markComponentPassiveEffectMountStarted=="function"&&ve.markComponentPassiveEffectMountStarted(e)}function Zc(){ve!==null&&typeof ve.markComponentPassiveEffectMountStopped=="function"&&ve.markComponentPassiveEffectMountStopped()}function fm(e){ve!==null&&typeof ve.markComponentPassiveEffectUnmountStarted=="function"&&ve.markComponentPassiveEffectUnmountStarted(e)}function Jc(){ve!==null&&typeof ve.markComponentPassiveEffectUnmountStopped=="function"&&ve.markComponentPassiveEffectUnmountStopped()}function pm(e){ve!==null&&typeof ve.markComponentLayoutEffectMountStarted=="function"&&ve.markComponentLayoutEffectMountStarted(e)}function Ss(){ve!==null&&typeof ve.markComponentLayoutEffectMountStopped=="function"&&ve.markComponentLayoutEffectMountStopped()}function Ii(e){ve!==null&&typeof ve.markComponentLayoutEffectUnmountStarted=="function"&&ve.markComponentLayoutEffectUnmountStarted(e)}function Wl(){ve!==null&&typeof ve.markComponentLayoutEffectUnmountStopped=="function"&&ve.markComponentLayoutEffectUnmountStopped()}function Es(e,t,a){ve!==null&&typeof ve.markComponentErrored=="function"&&ve.markComponentErrored(e,t,a)}function Wo(e,t,a){ve!==null&&typeof ve.markComponentSuspended=="function"&&ve.markComponentSuspended(e,t,a)}function Tp(e){ve!==null&&typeof ve.markLayoutEffectsStarted=="function"&&ve.markLayoutEffectsStarted(e)}function Yl(){ve!==null&&typeof ve.markLayoutEffectsStopped=="function"&&ve.markLayoutEffectsStopped()}function vm(e){ve!==null&&typeof ve.markPassiveEffectsStarted=="function"&&ve.markPassiveEffectsStarted(e)}function wp(){ve!==null&&typeof ve.markPassiveEffectsStopped=="function"&&ve.markPassiveEffectsStopped()}function Ut(e){ve!==null&&typeof ve.markRenderStarted=="function"&&ve.markRenderStarted(e)}function ed(){ve!==null&&typeof ve.markRenderYielded=="function"&&ve.markRenderYielded()}function td(){ve!==null&&typeof ve.markRenderStopped=="function"&&ve.markRenderStopped()}function xp(e){ve!==null&&typeof ve.markRenderScheduled=="function"&&ve.markRenderScheduled(e)}function nd(e,t){ve!==null&&typeof ve.markForceUpdateScheduled=="function"&&ve.markForceUpdateScheduled(e,t)}function bs(e,t){ve!==null&&typeof ve.markStateUpdateScheduled=="function"&&ve.markStateUpdateScheduled(e,t)}var Ae=0,Me=1,qe=2,lt=8,_r=16,Kl=Math.clz32?Math.clz32:Yn,Cs=Math.log,O0=Math.LN2;function Yn(e){var t=e>>>0;return t===0?32:31-(Cs(t)/O0|0)|0}var Ts=31,ne=0,un=0,Ue=1,An=2,Mr=4,Ta=8,ri=16,Ql=32,Yo=4194240,ql=64,rd=128,id=256,ad=512,od=1024,ld=2048,Ko=4096,ud=8192,Xl=16384,Zl=32768,sd=65536,ws=131072,cd=262144,dd=524288,fd=1048576,pd=2097152,Jl=130023424,Qo=4194304,vd=8388608,hd=16777216,Rp=33554432,md=67108864,hm=Qo,xs=134217728,kp=268435455,eu=268435456,ao=536870912,Kn=1073741824;function D0(e){{if(e&Ue)return"Sync";if(e&An)return"InputContinuousHydration";if(e&Mr)return"InputContinuous";if(e&Ta)return"DefaultHydration";if(e&ri)return"Default";if(e&Ql)return"TransitionHydration";if(e&Yo)return"Transition";if(e&Jl)return"Retry";if(e&xs)return"SelectiveHydration";if(e&eu)return"IdleHydration";if(e&ao)return"Idle";if(e&Kn)return"Offscreen"}}var At=-1,gd=ql,Sr=Qo;function qo(e){switch(Jt(e)){case Ue:return Ue;case An:return An;case Mr:return Mr;case Ta:return Ta;case ri:return ri;case Ql:return Ql;case ql:case rd:case id:case ad:case od:case ld:case Ko:case ud:case Xl:case Zl:case sd:case ws:case cd:case dd:case fd:case pd:return e&Yo;case Qo:case vd:case hd:case Rp:case md:return e&Jl;case xs:return xs;case eu:return eu;case ao:return ao;case Kn:return Kn;default:return m("Should have found matching lanes. This is a bug in React."),e}}function Xo(e,t){var a=e.pendingLanes;if(a===ne)return ne;var u=ne,c=e.suspendedLanes,p=e.pingedLanes,g=a&kp;if(g!==ne){var E=g&~c;if(E!==ne)u=qo(E);else{var C=g&p;C!==ne&&(u=qo(C))}}else{var R=a&~c;R!==ne?u=qo(R):p!==ne&&(u=qo(p))}if(u===ne)return ne;if(t!==ne&&t!==u&&(t&c)===ne){var k=Jt(u),F=Jt(t);if(k>=F||k===ri&&(F&Yo)!==ne)return t}(u&Mr)!==ne&&(u|=a&ri);var M=e.entangledLanes;if(M!==ne)for(var $=e.entanglements,W=u&M;W>0;){var Q=lo(W),ge=1<<Q;u|=$[Q],W&=~ge}return u}function mm(e,t){for(var a=e.eventTimes,u=At;t>0;){var c=lo(t),p=1<<c,g=a[c];g>u&&(u=g),t&=~p}return u}function gm(e,t){switch(e){case Ue:case An:case Mr:return t+250;case Ta:case ri:case Ql:case ql:case rd:case id:case ad:case od:case ld:case Ko:case ud:case Xl:case Zl:case sd:case ws:case cd:case dd:case fd:case pd:return t+5e3;case Qo:case vd:case hd:case Rp:case md:return At;case xs:case eu:case ao:case Kn:return At;default:return m("Should have found matching lanes. This is a bug in React."),At}}function ym(e,t){for(var a=e.pendingLanes,u=e.suspendedLanes,c=e.pingedLanes,p=e.expirationTimes,g=a;g>0;){var E=lo(g),C=1<<E,R=p[E];R===At?((C&u)===ne||(C&c)!==ne)&&(p[E]=gm(C,t)):R<=t&&(e.expiredLanes|=C),g&=~C}}function Op(e){return qo(e.pendingLanes)}function oo(e){var t=e.pendingLanes&~Kn;return t!==ne?t:t&Kn?Kn:ne}function Dp(e){return(e&Ue)!==ne}function Rs(e){return(e&kp)!==ne}function Sm(e){return(e&Jl)===e}function Em(e){var t=Ue|Mr|ri;return(e&t)===ne}function bm(e){return(e&Yo)===e}function ks(e,t){var a=An|Mr|Ta|ri;return(t&a)!==ne}function Cm(e,t){return(t&e.expiredLanes)!==ne}function Np(e){return(e&Yo)!==ne}function Tm(){var e=gd;return gd<<=1,(gd&Yo)===ne&&(gd=ql),e}function Er(){var e=Sr;return Sr<<=1,(Sr&Jl)===ne&&(Sr=Qo),e}function Jt(e){return e&-e}function tu(e){return Jt(e)}function lo(e){return 31-Kl(e)}function yd(e){return lo(e)}function br(e,t){return(e&t)!==ne}function Zo(e,t){return(e&t)===t}function et(e,t){return e|t}function Os(e,t){return e&~t}function Sd(e,t){return e&t}function N0(e){return e}function wm(e,t){return e!==un&&e<t?e:t}function Ds(e){for(var t=[],a=0;a<Ts;a++)t.push(e);return t}function Jo(e,t,a){e.pendingLanes|=t,t!==ao&&(e.suspendedLanes=ne,e.pingedLanes=ne);var u=e.eventTimes,c=yd(t);u[c]=a}function xm(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var a=e.expirationTimes,u=t;u>0;){var c=lo(u),p=1<<c;a[c]=At,u&=~p}}function Ed(e,t,a){e.pingedLanes|=e.suspendedLanes&t}function bd(e,t){var a=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=ne,e.pingedLanes=ne,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var u=e.entanglements,c=e.eventTimes,p=e.expirationTimes,g=a;g>0;){var E=lo(g),C=1<<E;u[E]=ne,c[E]=At,p[E]=At,g&=~C}}function Lp(e,t){for(var a=e.entangledLanes|=t,u=e.entanglements,c=a;c;){var p=lo(c),g=1<<p;g&t|u[p]&t&&(u[p]|=t),c&=~g}}function Rm(e,t){var a=Jt(t),u;switch(a){case Mr:u=An;break;case ri:u=Ta;break;case ql:case rd:case id:case ad:case od:case ld:case Ko:case ud:case Xl:case Zl:case sd:case ws:case cd:case dd:case fd:case pd:case Qo:case vd:case hd:case Rp:case md:u=Ql;break;case ao:u=eu;break;default:u=un;break}return(u&(e.suspendedLanes|t))!==un?un:u}function Cd(e,t,a){if(Ar)for(var u=e.pendingUpdatersLaneMap;a>0;){var c=yd(a),p=1<<c,g=u[c];g.add(t),a&=~p}}function Ip(e,t){if(Ar)for(var a=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;t>0;){var c=yd(t),p=1<<c,g=a[c];g.size>0&&(g.forEach(function(E){var C=E.alternate;(C===null||!u.has(C))&&u.add(E)}),g.clear()),t&=~p}}function Ns(e,t){return null}var en=Ue,wa=Mr,qi=ri,nu=ao,ru=un;function ii(){return ru}function Qt(e){ru=e}function Qn(e,t){var a=ru;try{return ru=e,t()}finally{ru=a}}function L0(e,t){return e!==0&&e<t?e:t}function I0(e,t){return e===0||e>t?e:t}function iu(e,t){return e!==0&&e<t}function _n(e){var t=Jt(e);return iu(en,t)?iu(wa,t)?Rs(t)?qi:nu:wa:en}function Td(e){var t=e.current.memoizedState;return t.isDehydrated}var xe;function au(e){xe=e}function Ap(e){xe(e)}var wd;function A0(e){wd=e}var ou;function xd(e){ou=e}var Rd;function km(e){Rd=e}var _p;function Om(e){_p=e}var Ls=!1,lu=[],Vt=null,kn=null,Jn=null,uu=new Map,su=new Map,On=[],Dm=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function Xi(e){return Dm.indexOf(e)>-1}function _0(e,t,a,u,c){return{blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:c,targetContainers:[u]}}function Mp(e,t){switch(e){case"focusin":case"focusout":Vt=null;break;case"dragenter":case"dragleave":kn=null;break;case"mouseover":case"mouseout":Jn=null;break;case"pointerover":case"pointerout":{var a=t.pointerId;uu.delete(a);break}case"gotpointercapture":case"lostpointercapture":{var u=t.pointerId;su.delete(u);break}}}function cu(e,t,a,u,c,p){if(e===null||e.nativeEvent!==p){var g=_0(t,a,u,c,p);if(t!==null){var E=Su(t);E!==null&&wd(E)}return g}e.eventSystemFlags|=u;var C=e.targetContainers;return c!==null&&C.indexOf(c)===-1&&C.push(c),e}function Nm(e,t,a,u,c){switch(t){case"focusin":{var p=c;return Vt=cu(Vt,e,t,a,u,p),!0}case"dragenter":{var g=c;return kn=cu(kn,e,t,a,u,g),!0}case"mouseover":{var E=c;return Jn=cu(Jn,e,t,a,u,E),!0}case"pointerover":{var C=c,R=C.pointerId;return uu.set(R,cu(uu.get(R)||null,e,t,a,u,C)),!0}case"gotpointercapture":{var k=c,F=k.pointerId;return su.set(F,cu(su.get(F)||null,e,t,a,u,k)),!0}}return!1}function Pp(e){var t=js(e.target);if(t!==null){var a=Lr(t);if(a!==null){var u=a.tag;if(u===fe){var c=gp(a);if(c!==null){e.blockedOn=c,_p(e.priority,function(){ou(a)});return}}else if(u===D){var p=a.stateNode;if(Td(p)){e.blockedOn=Gc(a);return}}}}e.blockedOn=null}function M0(e){for(var t=Rd(),a={blockedOn:null,target:e,priority:t},u=0;u<On.length&&iu(t,On[u].priority);u++);On.splice(u,0,a),u===0&&Pp(a)}function el(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var a=t[0],u=qn(e.domEventName,e.eventSystemFlags,a,e.nativeEvent);if(u===null){var c=e.nativeEvent,p=new c.constructor(c.type,c);ds(p),c.target.dispatchEvent(p),w0()}else{var g=Su(u);return g!==null&&wd(g),e.blockedOn=u,!1}t.shift()}return!0}function kd(e,t,a){el(e)&&a.delete(t)}function ai(){Ls=!1,Vt!==null&&el(Vt)&&(Vt=null),kn!==null&&el(kn)&&(kn=null),Jn!==null&&el(Jn)&&(Jn=null),uu.forEach(kd),su.forEach(kd)}function dt(e,t){e.blockedOn===t&&(e.blockedOn=null,Ls||(Ls=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,ai)))}function qt(e){if(lu.length>0){dt(lu[0],e);for(var t=1;t<lu.length;t++){var a=lu[t];a.blockedOn===e&&(a.blockedOn=null)}}Vt!==null&&dt(Vt,e),kn!==null&&dt(kn,e),Jn!==null&&dt(Jn,e);var u=function(E){return dt(E,e)};uu.forEach(u),su.forEach(u);for(var c=0;c<On.length;c++){var p=On[c];p.blockedOn===e&&(p.blockedOn=null)}for(;On.length>0;){var g=On[0];if(g.blockedOn!==null)break;Pp(g),g.blockedOn===null&&On.shift()}}var Pt=o.ReactCurrentBatchConfig,gn=!0;function Cr(e){gn=!!e}function du(){return gn}function yn(e,t,a){var u=Od(t),c;switch(u){case en:c=Is;break;case wa:c=tl;break;case qi:default:c=fu;break}return c.bind(null,t,a,e)}function Is(e,t,a,u){var c=ii(),p=Pt.transition;Pt.transition=null;try{Qt(en),fu(e,t,a,u)}finally{Qt(c),Pt.transition=p}}function tl(e,t,a,u){var c=ii(),p=Pt.transition;Pt.transition=null;try{Qt(wa),fu(e,t,a,u)}finally{Qt(c),Pt.transition=p}}function fu(e,t,a,u){gn&&Fp(e,t,a,u)}function Fp(e,t,a,u){var c=qn(e,t,a,u);if(c===null){Z0(e,t,u,uo,a),Mp(e,u);return}if(Nm(c,e,t,a,u)){u.stopPropagation();return}if(Mp(e,u),t&zo&&Xi(e)){for(;c!==null;){var p=Su(c);p!==null&&Ap(p);var g=qn(e,t,a,u);if(g===null&&Z0(e,t,u,uo,a),g===c)break;c=g}c!==null&&u.stopPropagation();return}Z0(e,t,u,null,a)}var uo=null;function qn(e,t,a,u){uo=null;var c=Vc(u),p=js(c);if(p!==null){var g=Lr(p);if(g===null)p=null;else{var E=g.tag;if(E===fe){var C=gp(g);if(C!==null)return C;p=null}else if(E===D){var R=g.stateNode;if(Td(R))return Gc(g);p=null}else g!==p&&(p=null)}}return uo=p,null}function Od(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return en;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return wa;case"message":{var t=Ep();switch(t){case Qc:return en;case $o:return wa;case Qi:case sm:return qi;case qc:return nu;default:return qi}}default:return qi}}function pu(e,t,a){return e.addEventListener(t,a,!1),a}function xa(e,t,a){return e.addEventListener(t,a,!0),a}function Dd(e,t,a,u){return e.addEventListener(t,a,{capture:!0,passive:u}),a}function zp(e,t,a,u){return e.addEventListener(t,a,{passive:u}),a}var oi=null,vu=null,li=null;function Nd(e){return oi=e,vu=_s(),!0}function As(){oi=null,vu=null,li=null}function Ld(){if(li)return li;var e,t=vu,a=t.length,u,c=_s(),p=c.length;for(e=0;e<a&&t[e]===c[e];e++);var g=a-e;for(u=1;u<=g&&t[a-u]===c[p-u];u++);var E=u>1?1-u:void 0;return li=c.slice(e,E),li}function _s(){return"value"in oi?oi.value:oi.textContent}function nl(e){var t,a=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),t>=32||t===13?t:0}function Dn(){return!0}function Ra(){return!1}function jt(e){function t(a,u,c,p,g){this._reactName=a,this._targetInst=c,this.type=u,this.nativeEvent=p,this.target=g,this.currentTarget=null;for(var E in e)if(e.hasOwnProperty(E)){var C=e[E];C?this[E]=C(p):this[E]=p[E]}var R=p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1;return R?this.isDefaultPrevented=Dn:this.isDefaultPrevented=Ra,this.isPropagationStopped=Ra,this}return ct(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Dn)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Dn)},persist:function(){},isPersistent:Dn}),t}var Sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Id=jt(Sn),rl=ct({},Sn,{view:0,detail:0}),Up=jt(rl),Vp,Zi,hu;function Hp(e){e!==hu&&(hu&&e.type==="mousemove"?(Vp=e.screenX-hu.screenX,Zi=e.screenY-hu.screenY):(Vp=0,Zi=0),hu=e)}var Ji=ct({},rl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Bp,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(Hp(e),Vp)},movementY:function(e){return"movementY"in e?e.movementY:Zi}}),Ad=jt(Ji),il=ct({},Ji,{dataTransfer:0}),Lm=jt(il),Im=ct({},rl,{relatedTarget:0}),Ms=jt(Im),_d=ct({},Sn,{animationName:0,elapsedTime:0,pseudoElement:0}),P0=jt(_d),F0=ct({},Sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Am=jt(F0),_m=ct({},Sn,{data:0}),so=jt(_m),z0=so,mu={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Mm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function Xt(e){if(e.key){var t=mu[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var a=nl(e);return a===13?"Enter":String.fromCharCode(a)}return e.type==="keydown"||e.type==="keyup"?Mm[e.keyCode]||"Unidentified":""}var U0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pm(e){var t=this,a=t.nativeEvent;if(a.getModifierState)return a.getModifierState(e);var u=U0[e];return u?!!a[u]:!1}function Bp(e){return Pm}var V0=ct({},rl,{key:Xt,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Bp,charCode:function(e){return e.type==="keypress"?nl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?nl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Fm=jt(V0),zm=ct({},Ji,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Um=jt(zm),ui=ct({},rl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Bp}),jp=jt(ui),H0=ct({},Sn,{propertyName:0,elapsedTime:0,pseudoElement:0}),co=jt(H0),Md=ct({},Ji,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),al=jt(Md),Pd=[9,13,27,32],Fd=229,Ps=jn&&"CompositionEvent"in window,Fs=null;jn&&"documentMode"in document&&(Fs=document.documentMode);var $p=jn&&"TextEvent"in window&&!Fs,Vm=jn&&(!Ps||Fs&&Fs>8&&Fs<=11),Gp=32,Wp=String.fromCharCode(Gp);function zd(){jr("onBeforeInput",["compositionend","keypress","textInput","paste"]),jr("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),jr("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),jr("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var zs=!1;function Hm(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Yp(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function B0(e,t){return e==="keydown"&&t.keyCode===Fd}function Kp(e,t){switch(e){case"keyup":return Pd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==Fd;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ud(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Us(e){return e.locale==="ko"}var fo=!1;function Vd(e,t,a,u,c){var p,g;if(Ps?p=Yp(t):fo?Kp(t,u)&&(p="onCompositionEnd"):B0(t,u)&&(p="onCompositionStart"),!p)return null;Vm&&!Us(u)&&(!fo&&p==="onCompositionStart"?fo=Nd(c):p==="onCompositionEnd"&&fo&&(g=Ld()));var E=Ym(a,p);if(E.length>0){var C=new so(p,t,null,u,c);if(e.push({event:C,listeners:E}),g)C.data=g;else{var R=Ud(u);R!==null&&(C.data=R)}}}function Bm(e,t){switch(e){case"compositionend":return Ud(t);case"keypress":var a=t.which;return a!==Gp?null:(zs=!0,Wp);case"textInput":var u=t.data;return u===Wp&&zs?null:u;default:return null}}function j0(e,t){if(fo){if(e==="compositionend"||!Ps&&Kp(e,t)){var a=Ld();return As(),fo=!1,a}return null}switch(e){case"paste":return null;case"keypress":if(!Hm(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Vm&&!Us(t)?null:t.data;default:return null}}function Hd(e,t,a,u,c){var p;if($p?p=Bm(t,u):p=j0(t,u),!p)return null;var g=Ym(a,"onBeforeInput");if(g.length>0){var E=new z0("onBeforeInput","beforeinput",null,u,c);e.push({event:E,listeners:g}),E.data=p}}function $0(e,t,a,u,c,p,g){Vd(e,t,a,u,c),Hd(e,t,a,u,c)}var Vs={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function jm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Vs[e.type]:t==="textarea"}/**
|
|
34
34
|
* Checks if an event is supported in the current execution environment.
|
|
35
35
|
*
|
|
36
36
|
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
@@ -42,82 +42,82 @@ Check the render method of \``+e+"`.":""}var bh=["value","defaultValue"];functio
|
|
|
42
42
|
* @return {boolean} True if the event is supported.
|
|
43
43
|
* @internal
|
|
44
44
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
45
|
-
*/function _d(e){if(!Vn)return!1;var t="on"+e,i=t in document;if(!i){var o=document.createElement("div");o.setAttribute(t,"return;"),i=typeof o[t]=="function"}return i}function n(){Ur("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function r(e,t,i,o){Lc(o);var c=zm(t,"onChange");if(c.length>0){var p=new Cd("onChange","change",null,i,o);e.push({event:p,listeners:c})}}var s=null,f=null;function v(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function y(e){var t=[];r(t,f,e,Nc(e)),Zf(T,t)}function T(e){OC(e,0)}function L(e){var t=zd(e);if(mh(t))return e}function M(e,t){if(e==="change")return t}var $=!1;Vn&&($=_d("input")&&(!document.documentMode||document.documentMode>9));function re(e,t){s=e,f=t,s.attachEvent("onpropertychange",te)}function ae(){s&&(s.detachEvent("onpropertychange",te),s=null,f=null)}function te(e){e.propertyName==="value"&&L(f)&&y(e)}function ge(e,t,i){e==="focusin"?(ae(),re(t,i)):e==="focusout"&&ae()}function Re(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return L(f)}function De(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function tn(e,t){if(e==="click")return L(t)}function U(e,t){if(e==="input"||e==="change")return L(t)}function F(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Ba(e,"number",e.value)}function j(e,t,i,o,c,p,m){var S=i?zd(i):window,E,w;if(v(S)?E=M:Im(S)?$?E=U:(E=Re,w=ge):De(S)&&(E=tn),E){var k=E(t,i);if(k){r(e,k,o,c);return}}w&&w(t,S,i),t==="focusout"&&F(S)}function ue(){aa("onMouseEnter",["mouseout","mouseover"]),aa("onMouseLeave",["mouseout","mouseover"]),aa("onPointerEnter",["pointerout","pointerover"]),aa("onPointerLeave",["pointerout","pointerover"])}function _e(e,t,i,o,c,p,m){var S=t==="mouseover"||t==="pointerover",E=t==="mouseout"||t==="pointerout";if(S&&!Yh(o)){var w=o.relatedTarget||o.fromElement;if(w&&(Ms(w)||qp(w)))return}if(!(!E&&!S)){var k;if(c.window===c)k=c;else{var z=c.ownerDocument;z?k=z.defaultView||z.parentWindow:k=window}var P,B;if(E){var G=o.relatedTarget||o.toElement;if(P=i,B=G?Ms(G):null,B!==null){var Q=Or(B);(B!==Q||B.tag!==A&&B.tag!==N)&&(B=null)}}else P=null,B=i;if(P!==B){var ve=Td,je="onMouseLeave",Ie="onMouseEnter",ht="mouse";(t==="pointerout"||t==="pointerover")&&(ve=Nm,je="onPointerLeave",Ie="onPointerEnter",ht="pointer");var ct=P==null?k:zd(P),H=B==null?k:zd(B),X=new ve(je,ht+"leave",P,o,c);X.target=ct,X.relatedTarget=H;var V=null,oe=Ms(c);if(oe===i){var be=new ve(Ie,ht+"enter",B,o,c);be.target=H,be.relatedTarget=ct,V=be}sO(e,X,V,P,B)}}}function $e(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ke=typeof Object.is=="function"?Object.is:$e;function We(e,t){if(ke(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var c=0;c<i.length;c++){var p=i[c];if(!lr.call(t,p)||!ke(e[p],t[p]))return!1}return!0}function Sn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function gt(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Ta(e,t){for(var i=Sn(e),o=0,c=0;i;){if(i.nodeType===da){if(c=o+i.textContent.length,o<=t&&c>=t)return{node:i,offset:t-o};o=c}i=Sn(gt(i))}}function D0(e){var t=e.ownerDocument,i=t&&t.defaultView||window,o=i.getSelection&&i.getSelection();if(!o||o.rangeCount===0)return null;var c=o.anchorNode,p=o.anchorOffset,m=o.focusNode,S=o.focusOffset;try{c.nodeType,m.nodeType}catch{return null}return Bk(e,c,p,m,S)}function Bk(e,t,i,o,c){var p=0,m=-1,S=-1,E=0,w=0,k=e,z=null;e:for(;;){for(var P=null;k===t&&(i===0||k.nodeType===da)&&(m=p+i),k===o&&(c===0||k.nodeType===da)&&(S=p+c),k.nodeType===da&&(p+=k.nodeValue.length),(P=k.firstChild)!==null;)z=k,k=P;for(;;){if(k===e)break e;if(z===t&&++E===i&&(m=p),z===o&&++w===c&&(S=p),(P=k.nextSibling)!==null)break;k=z,z=k.parentNode}k=P}return m===-1||S===-1?null:{start:m,end:S}}function $k(e,t){var i=e.ownerDocument||document,o=i&&i.defaultView||window;if(o.getSelection){var c=o.getSelection(),p=e.textContent.length,m=Math.min(t.start,p),S=t.end===void 0?m:Math.min(t.end,p);if(!c.extend&&m>S){var E=S;S=m,m=E}var w=Ta(e,m),k=Ta(e,S);if(w&&k){if(c.rangeCount===1&&c.anchorNode===w.node&&c.anchorOffset===w.offset&&c.focusNode===k.node&&c.focusOffset===k.offset)return;var z=i.createRange();z.setStart(w.node,w.offset),c.removeAllRanges(),m>S?(c.addRange(z),c.extend(k.node,k.offset)):(z.setEnd(k.node,k.offset),c.addRange(z))}}}function mC(e){return e&&e.nodeType===da}function gC(e,t){return!e||!t?!1:e===t?!0:mC(e)?!1:mC(t)?gC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function Gk(e){return e&&e.ownerDocument&&gC(e.ownerDocument.documentElement,e)}function Wk(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function yC(){for(var e=window,t=gc();t instanceof e.HTMLIFrameElement;){if(Wk(t))e=t.contentWindow;else return t;t=gc(e.document)}return t}function N0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Yk(){var e=yC();return{focusedElem:e,selectionRange:N0(e)?Qk(e):null}}function Kk(e){var t=yC(),i=e.focusedElem,o=e.selectionRange;if(t!==i&&Gk(i)){o!==null&&N0(i)&&Xk(i,o);for(var c=[],p=i;p=p.parentNode;)p.nodeType===sr&&c.push({element:p,left:p.scrollLeft,top:p.scrollTop});typeof i.focus=="function"&&i.focus();for(var m=0;m<c.length;m++){var S=c[m];S.element.scrollLeft=S.left,S.element.scrollTop=S.top}}}function Qk(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=D0(e),t||{start:0,end:0}}function Xk(e,t){var i=t.start,o=t.end;o===void 0&&(o=i),"selectionStart"in e?(e.selectionStart=i,e.selectionEnd=Math.min(o,e.value.length)):$k(e,t)}var qk=Vn&&"documentMode"in document&&document.documentMode<=11;function Zk(){Ur("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Ad=null,L0=null,zp=null,_0=!1;function Jk(e){if("selectionStart"in e&&N0(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,i=t.getSelection();return{anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}}function eO(e){return e.window===e?e.document:e.nodeType===xi?e:e.ownerDocument}function SC(e,t,i){var o=eO(i);if(!(_0||Ad==null||Ad!==gc(o))){var c=Jk(Ad);if(!zp||!We(zp,c)){zp=c;var p=zm(L0,"onSelect");if(p.length>0){var m=new Cd("onSelect","select",null,t,i);e.push({event:m,listeners:p}),m.target=Ad}}}}function tO(e,t,i,o,c,p,m){var S=i?zd(i):window;switch(t){case"focusin":(Im(S)||S.contentEditable==="true")&&(Ad=S,L0=i,zp=null);break;case"focusout":Ad=null,L0=null,zp=null;break;case"mousedown":_0=!0;break;case"contextmenu":case"mouseup":case"dragend":_0=!1,SC(e,o,c);break;case"selectionchange":if(qk)break;case"keydown":case"keyup":SC(e,o,c)}}function Mm(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var Id={animationend:Mm("Animation","AnimationEnd"),animationiteration:Mm("Animation","AnimationIteration"),animationstart:Mm("Animation","AnimationStart"),transitionend:Mm("Transition","TransitionEnd")},A0={},bC={};Vn&&(bC=document.createElement("div").style,"AnimationEvent"in window||(delete Id.animationend.animation,delete Id.animationiteration.animation,delete Id.animationstart.animation),"TransitionEvent"in window||delete Id.transitionend.transition);function Pm(e){if(A0[e])return A0[e];if(!Id[e])return e;var t=Id[e];for(var i in t)if(t.hasOwnProperty(i)&&i in bC)return A0[e]=t[i];return e}var EC=Pm("animationend"),CC=Pm("animationiteration"),TC=Pm("animationstart"),xC=Pm("transitionend"),wC=new Map,RC=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function su(e,t){wC.set(e,t),Ur(t,[e])}function nO(){for(var e=0;e<RC.length;e++){var t=RC[e],i=t.toLowerCase(),o=t[0].toUpperCase()+t.slice(1);su(i,"on"+o)}su(EC,"onAnimationEnd"),su(CC,"onAnimationIteration"),su(TC,"onAnimationStart"),su("dblclick","onDoubleClick"),su("focusin","onFocus"),su("focusout","onBlur"),su(xC,"onTransitionEnd")}function rO(e,t,i,o,c,p,m){var S=wC.get(t);if(S!==void 0){var E=Cd,w=t;switch(t){case"keypress":if(Qo(o)===0)return;case"keydown":case"keyup":E=Om;break;case"focusin":w="focus",E=ks;break;case"focusout":w="blur",E=ks;break;case"beforeblur":case"afterblur":E=ks;break;case"click":if(o.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":E=Td;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":E=Cm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":E=_p;break;case EC:case CC:case TC:E=b0;break;case xC:E=io;break;case"scroll":E=Op;break;case"wheel":E=Zo;break;case"copy":case"cut":case"paste":E=xm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":E=Nm;break}var k=(p&Lo)!==0;{var z=!k&&t==="scroll",P=lO(i,S,o.type,k,z);if(P.length>0){var B=new E(S,w,null,o,c);e.push({event:B,listeners:P})}}}}nO(),ue(),n(),Zk(),Od();function iO(e,t,i,o,c,p,m){rO(e,t,i,o,c,p);var S=(p&l0)===0;S&&(_e(e,t,i,o,c),j(e,t,i,o,c),tO(e,t,i,o,c),O0(e,t,i,o,c))}var Up=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],I0=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(Up));function kC(e,t,i){var o=e.type||"unknown-event";e.currentTarget=i,ha(o,t,void 0,e),e.currentTarget=null}function aO(e,t,i){var o;if(i)for(var c=t.length-1;c>=0;c--){var p=t[c],m=p.instance,S=p.currentTarget,E=p.listener;if(m!==o&&e.isPropagationStopped())return;kC(e,E,S),o=m}else for(var w=0;w<t.length;w++){var k=t[w],z=k.instance,P=k.currentTarget,B=k.listener;if(z!==o&&e.isPropagationStopped())return;kC(e,B,P),o=z}}function OC(e,t){for(var i=(t&Lo)!==0,o=0;o<e.length;o++){var c=e[o],p=c.event,m=c.listeners;aO(p,m,i)}np()}function oO(e,t,i,o,c){var p=Nc(i),m=[];iO(m,e,o,i,p,t),OC(m,t)}function $t(e,t){I0.has(e)||h('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var i=!1,o=PD(t),c=cO(e,i);o.has(c)||(DC(t,e,ts,i),o.add(c))}function M0(e,t,i){I0.has(e)&&!t&&h('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var o=0;t&&(o|=Lo),DC(i,e,o,t)}var Fm="_reactListening"+Math.random().toString(36).slice(2);function Hp(e){if(!e[Fm]){e[Fm]=!0,mi.forEach(function(i){i!=="selectionchange"&&(I0.has(i)||M0(i,!1,e),M0(i,!0,e))});var t=e.nodeType===xi?e:e.ownerDocument;t!==null&&(t[Fm]||(t[Fm]=!0,M0("selectionchange",!1,t)))}}function DC(e,t,i,o,c){var p=gn(e,t,i),m=void 0;os&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(m=!0),e=e,o?m!==void 0?Sd(e,t,p,m):Ea(e,t,p):m!==void 0?kp(e,t,p,m):au(e,t,p)}function NC(e,t){return e===t||e.nodeType===on&&e.parentNode===t}function P0(e,t,i,o,c){var p=o;if(!(t&pa)&&!(t&ts)){var m=c;if(o!==null){var S=o;e:for(;;){if(S===null)return;var E=S.tag;if(E===O||E===_){var w=S.stateNode.containerInfo;if(NC(w,m))break;if(E===_)for(var k=S.return;k!==null;){var z=k.tag;if(z===O||z===_){var P=k.stateNode.containerInfo;if(NC(P,m))return}k=k.return}for(;w!==null;){var B=Ms(w);if(B===null)return;var G=B.tag;if(G===A||G===N){S=p=B;continue e}w=w.parentNode}}S=S.return}}}Zf(function(){return oO(e,t,i,p)})}function Vp(e,t,i){return{instance:e,listener:t,currentTarget:i}}function lO(e,t,i,o,c,p){for(var m=t!==null?t+"Capture":null,S=o?m:t,E=[],w=e,k=null;w!==null;){var z=w,P=z.stateNode,B=z.tag;if(B===A&&P!==null&&(k=P,S!==null)){var G=Ao(w,S);G!=null&&E.push(Vp(w,G,k))}if(c)break;w=w.return}return E}function zm(e,t){for(var i=t+"Capture",o=[],c=e;c!==null;){var p=c,m=p.stateNode,S=p.tag;if(S===A&&m!==null){var E=m,w=Ao(c,i);w!=null&&o.unshift(Vp(c,w,E));var k=Ao(c,t);k!=null&&o.push(Vp(c,k,E))}c=c.return}return o}function Md(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==A);return e||null}function uO(e,t){for(var i=e,o=t,c=0,p=i;p;p=Md(p))c++;for(var m=0,S=o;S;S=Md(S))m++;for(;c-m>0;)i=Md(i),c--;for(;m-c>0;)o=Md(o),m--;for(var E=c;E--;){if(i===o||o!==null&&i===o.alternate)return i;i=Md(i),o=Md(o)}return null}function LC(e,t,i,o,c){for(var p=t._reactName,m=[],S=i;S!==null&&S!==o;){var E=S,w=E.alternate,k=E.stateNode,z=E.tag;if(w!==null&&w===o)break;if(z===A&&k!==null){var P=k;if(c){var B=Ao(S,p);B!=null&&m.unshift(Vp(S,B,P))}else if(!c){var G=Ao(S,p);G!=null&&m.push(Vp(S,G,P))}}S=S.return}m.length!==0&&e.push({event:t,listeners:m})}function sO(e,t,i,o,c){var p=o&&c?uO(o,c):null;o!==null&&LC(e,t,o,p,!1),c!==null&&i!==null&&LC(e,i,c,p,!0)}function cO(e,t){return e+"__"+(t?"capture":"bubble")}var ai=!1,jp="dangerouslySetInnerHTML",Um="suppressContentEditableWarning",cu="suppressHydrationWarning",_C="autoFocus",As="children",Is="style",Hm="__html",F0,Vm,Bp,AC,jm,IC,MC;F0={dialog:!0,webview:!0},Vm=function(e,t){Dc(e,t),Yf(e,t),Wh(e,t,{registrationNameDependencies:Pi,possibleRegistrationNames:Pu})},IC=Vn&&!document.documentMode,Bp=function(e,t,i){if(!ai){var o=Bm(i),c=Bm(t);c!==o&&(ai=!0,h("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(c),JSON.stringify(o)))}},AC=function(e){if(!ai){ai=!0;var t=[];e.forEach(function(i){t.push(i)}),h("Extra attributes from the server: %s",t)}},jm=function(e,t){t===!1?h("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):h("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},MC=function(e,t){var i=e.namespaceURI===ca?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return i.innerHTML=t,i.innerHTML};var dO=/\r\n?/g,fO=/\u0000|\uFFFD/g;function Bm(e){xo(e);var t=typeof e=="string"?e:""+e;return t.replace(dO,`
|
|
46
|
-
`).replace(fO,"")}function $m(e,t,i,o){var c=Bm(t),p=Bm(e);if(p!==c&&(o&&(ai||(ai=!0,h('Text content did not match. Server: "%s" Client: "%s"',p,c))),i&&Ve))throw new Error("Text content does not match server-rendered HTML.")}function PC(e){return e.nodeType===xi?e:e.ownerDocument}function pO(){}function Gm(e){e.onclick=pO}function vO(e,t,i,o,c){for(var p in o)if(o.hasOwnProperty(p)){var m=o[p];if(p===Is)m&&Object.freeze(m),Ph(t,m);else if(p===jp){var S=m?m[Hm]:void 0;S!=null&&wh(t,S)}else if(p===As)if(typeof m=="string"){var E=e!=="textarea"||m!=="";E&&wc(t,m)}else typeof m=="number"&&wc(t,""+m);else p===Um||p===cu||p===_C||(Pi.hasOwnProperty(p)?m!=null&&(typeof m!="function"&&jm(p,m),p==="onScroll"&&$t("scroll",t)):m!=null&&wo(t,p,m,c))}}function hO(e,t,i,o){for(var c=0;c<t.length;c+=2){var p=t[c],m=t[c+1];p===Is?Ph(e,m):p===jp?wh(e,m):p===As?wc(e,m):wo(e,p,m,o)}}function mO(e,t,i,o){var c,p=PC(i),m,S=o;if(S===ca&&(S=Tc(e)),S===ca){if(c=fa(e,t),!c&&e!==e.toLowerCase()&&h("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var E=p.createElement("div");E.innerHTML="<script><\/script>";var w=E.firstChild;m=E.removeChild(w)}else if(typeof t.is=="string")m=p.createElement(e,{is:t.is});else if(m=p.createElement(e),e==="select"){var k=m;t.multiple?k.multiple=!0:t.size&&(k.size=t.size)}}else m=p.createElementNS(S,e);return S===ca&&!c&&Object.prototype.toString.call(m)==="[object HTMLUnknownElement]"&&!lr.call(F0,e)&&(F0[e]=!0,h("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),m}function gO(e,t){return PC(t).createTextNode(e)}function yO(e,t,i,o){var c=fa(t,i);Vm(t,i);var p;switch(t){case"dialog":$t("cancel",e),$t("close",e),p=i;break;case"iframe":case"object":case"embed":$t("load",e),p=i;break;case"video":case"audio":for(var m=0;m<Up.length;m++)$t(Up[m],e);p=i;break;case"source":$t("error",e),p=i;break;case"img":case"image":case"link":$t("error",e),$t("load",e),p=i;break;case"details":$t("toggle",e),p=i;break;case"input":Qu(e,i),p=Ku(e,i),$t("invalid",e);break;case"option":Ec(e,i),p=i;break;case"select":Eh(e,i),p=Pf(e,i),$t("invalid",e);break;case"textarea":Ch(e,i),p=zf(e,i),$t("invalid",e);break;default:p=i}switch(kc(t,p),vO(t,e,o,p,c),t){case"input":Oo(e),Xu(e,i,!1);break;case"textarea":Oo(e),xh(e);break;case"option":Mf(e,i);break;case"select":Xy(e,i);break;default:typeof p.onClick=="function"&&Gm(e);break}}function SO(e,t,i,o,c){Vm(t,o);var p=null,m,S;switch(t){case"input":m=Ku(e,i),S=Ku(e,o),p=[];break;case"select":m=Pf(e,i),S=Pf(e,o),p=[];break;case"textarea":m=zf(e,i),S=zf(e,o),p=[];break;default:m=i,S=o,typeof m.onClick!="function"&&typeof S.onClick=="function"&&Gm(e);break}kc(t,S);var E,w,k=null;for(E in m)if(!(S.hasOwnProperty(E)||!m.hasOwnProperty(E)||m[E]==null))if(E===Is){var z=m[E];for(w in z)z.hasOwnProperty(w)&&(k||(k={}),k[w]="")}else E===jp||E===As||E===Um||E===cu||E===_C||(Pi.hasOwnProperty(E)?p||(p=[]):(p=p||[]).push(E,null));for(E in S){var P=S[E],B=m!=null?m[E]:void 0;if(!(!S.hasOwnProperty(E)||P===B||P==null&&B==null))if(E===Is)if(P&&Object.freeze(P),B){for(w in B)B.hasOwnProperty(w)&&(!P||!P.hasOwnProperty(w))&&(k||(k={}),k[w]="");for(w in P)P.hasOwnProperty(w)&&B[w]!==P[w]&&(k||(k={}),k[w]=P[w])}else k||(p||(p=[]),p.push(E,k)),k=P;else if(E===jp){var G=P?P[Hm]:void 0,Q=B?B[Hm]:void 0;G!=null&&Q!==G&&(p=p||[]).push(E,G)}else E===As?(typeof P=="string"||typeof P=="number")&&(p=p||[]).push(E,""+P):E===Um||E===cu||(Pi.hasOwnProperty(E)?(P!=null&&(typeof P!="function"&&jm(E,P),E==="onScroll"&&$t("scroll",e)),!p&&B!==P&&(p=[])):(p=p||[]).push(E,P))}return k&&(Ju(k,S[Is]),(p=p||[]).push(Is,k)),p}function bO(e,t,i,o,c){i==="input"&&c.type==="radio"&&c.name!=null&&If(e,c);var p=fa(i,o),m=fa(i,c);switch(hO(e,t,p,m),i){case"input":wl(e,c);break;case"textarea":Th(e,c);break;case"select":qy(e,c);break}}function EO(e){{var t=e.toLowerCase();return Oc.hasOwnProperty(t)&&Oc[t]||null}}function CO(e,t,i,o,c,p,m){var S,E;switch(S=fa(t,i),Vm(t,i),t){case"dialog":$t("cancel",e),$t("close",e);break;case"iframe":case"object":case"embed":$t("load",e);break;case"video":case"audio":for(var w=0;w<Up.length;w++)$t(Up[w],e);break;case"source":$t("error",e);break;case"img":case"image":case"link":$t("error",e),$t("load",e);break;case"details":$t("toggle",e);break;case"input":Qu(e,i),$t("invalid",e);break;case"option":Ec(e,i);break;case"select":Eh(e,i),$t("invalid",e);break;case"textarea":Ch(e,i),$t("invalid",e);break}kc(t,i);{E=new Set;for(var k=e.attributes,z=0;z<k.length;z++){var P=k[z].name.toLowerCase();switch(P){case"value":break;case"checked":break;case"selected":break;default:E.add(k[z].name)}}}var B=null;for(var G in i)if(i.hasOwnProperty(G)){var Q=i[G];if(G===As)typeof Q=="string"?e.textContent!==Q&&(i[cu]!==!0&&$m(e.textContent,Q,p,m),B=[As,Q]):typeof Q=="number"&&e.textContent!==""+Q&&(i[cu]!==!0&&$m(e.textContent,Q,p,m),B=[As,""+Q]);else if(Pi.hasOwnProperty(G))Q!=null&&(typeof Q!="function"&&jm(G,Q),G==="onScroll"&&$t("scroll",e));else if(m&&typeof S=="boolean"){var ve=void 0,je=S&&Vt?null:zi(G);if(i[cu]!==!0){if(!(G===Um||G===cu||G==="value"||G==="checked"||G==="selected")){if(G===jp){var Ie=e.innerHTML,ht=Q?Q[Hm]:void 0;if(ht!=null){var ct=MC(e,ht);ct!==Ie&&Bp(G,Ie,ct)}}else if(G===Is){if(E.delete(G),IC){var H=a0(Q);ve=e.getAttribute("style"),H!==ve&&Bp(G,ve,H)}}else if(S&&!Vt)E.delete(G.toLowerCase()),ve=fc(e,G,Q),Q!==ve&&Bp(G,ve,Q);else if(!pn(G,je,S)&&!Gt(G,Q,je,S)){var X=!1;if(je!==null)E.delete(je.attributeName),ve=zu(e,G,Q,je);else{var V=o;if(V===ca&&(V=Tc(t)),V===ca)E.delete(G.toLowerCase());else{var oe=EO(G);oe!==null&&oe!==G&&(X=!0,E.delete(oe)),E.delete(G)}ve=fc(e,G,Q)}var be=Vt;!be&&Q!==ve&&!X&&Bp(G,ve,Q)}}}}}switch(m&&E.size>0&&i[cu]!==!0&&AC(E),t){case"input":Oo(e),Xu(e,i,!0);break;case"textarea":Oo(e),xh(e);break;case"select":case"option":break;default:typeof i.onClick=="function"&&Gm(e);break}return B}function TO(e,t,i){var o=e.nodeValue!==t;return o}function z0(e,t){{if(ai)return;ai=!0,h("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function U0(e,t){{if(ai)return;ai=!0,h('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function H0(e,t,i){{if(ai)return;ai=!0,h("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function V0(e,t){{if(t===""||ai)return;ai=!0,h('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function xO(e,t,i){switch(t){case"input":gh(e,i);return;case"textarea":Uf(e,i);return;case"select":Zy(e,i);return}}var $p=function(){},Gp=function(){};{var wO=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],FC=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],RO=FC.concat(["button"]),kO=["dd","dt","li","option","optgroup","p","rp","rt"],zC={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Gp=function(e,t){var i=ut({},e||zC),o={tag:t};return FC.indexOf(t)!==-1&&(i.aTagInScope=null,i.buttonTagInScope=null,i.nobrTagInScope=null),RO.indexOf(t)!==-1&&(i.pTagInButtonScope=null),wO.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(i.listItemTagAutoclosing=null,i.dlItemTagAutoclosing=null),i.current=o,t==="form"&&(i.formTag=o),t==="a"&&(i.aTagInScope=o),t==="button"&&(i.buttonTagInScope=o),t==="nobr"&&(i.nobrTagInScope=o),t==="p"&&(i.pTagInButtonScope=o),t==="li"&&(i.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(i.dlItemTagAutoclosing=o),i};var OO=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return kO.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},DO=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},UC={};$p=function(e,t,i){i=i||zC;var o=i.current,c=o&&o.tag;t!=null&&(e!=null&&h("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var p=OO(e,c)?null:o,m=p?null:DO(e,i),S=p||m;if(S){var E=S.tag,w=!!p+"|"+e+"|"+E;if(!UC[w]){UC[w]=!0;var k=e,z="";if(e==="#text"?/\S/.test(t)?k="Text nodes":(k="Whitespace text nodes",z=" Make sure you don't have any extra whitespace between tags on each line of your source code."):k="<"+e+">",p){var P="";E==="table"&&e==="tr"&&(P+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),h("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",k,E,z,P)}else h("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",k,E)}}}}var Wm="suppressHydrationWarning",Ym="$",Km="/$",Wp="$?",Yp="$!",NO="style",j0=null,B0=null;function LO(e){var t,i,o=e.nodeType;switch(o){case xi:case Do:{t=o===xi?"#document":"#fragment";var c=e.documentElement;i=c?c.namespaceURI:Vf(null,"");break}default:{var p=o===on?e.parentNode:e,m=p.namespaceURI||null;t=p.tagName,i=Vf(m,t);break}}{var S=t.toLowerCase(),E=Gp(null,S);return{namespace:i,ancestorInfo:E}}}function _O(e,t,i){{var o=e,c=Vf(o.namespace,t),p=Gp(o.ancestorInfo,t);return{namespace:c,ancestorInfo:p}}}function Kz(e){return e}function AO(e){j0=ru(),B0=Yk();var t=null;return Sr(!1),t}function IO(e){Kk(B0),Sr(j0),j0=null,B0=null}function MO(e,t,i,o,c){var p;{var m=o;if($p(e,null,m.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var S=""+t.children,E=Gp(m.ancestorInfo,e);$p(null,S,E)}p=m.namespace}var w=mO(e,t,i,p);return Xp(c,w),q0(w,t),w}function PO(e,t){e.appendChild(t)}function FO(e,t,i,o,c){switch(yO(e,t,i,o),t){case"button":case"input":case"select":case"textarea":return!!i.autoFocus;case"img":return!0;default:return!1}}function zO(e,t,i,o,c,p){{var m=p;if(typeof o.children!=typeof i.children&&(typeof o.children=="string"||typeof o.children=="number")){var S=""+o.children,E=Gp(m.ancestorInfo,t);$p(null,S,E)}}return SO(e,t,i,o)}function $0(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function UO(e,t,i,o){{var c=i;$p(null,e,c.ancestorInfo)}var p=gO(e,t);return Xp(o,p),p}function HO(){var e=window.event;return e===void 0?Bi:yd(e.type)}var G0=typeof setTimeout=="function"?setTimeout:void 0,VO=typeof clearTimeout=="function"?clearTimeout:void 0,W0=-1,HC=typeof Promise=="function"?Promise:void 0,jO=typeof queueMicrotask=="function"?queueMicrotask:typeof HC<"u"?function(e){return HC.resolve(null).then(e).catch(BO)}:G0;function BO(e){setTimeout(function(){throw e})}function $O(e,t,i,o){switch(t){case"button":case"input":case"select":case"textarea":i.autoFocus&&e.focus();return;case"img":{i.src&&(e.src=i.src);return}}}function GO(e,t,i,o,c,p){bO(e,t,i,o,c),q0(e,c)}function VC(e){wc(e,"")}function WO(e,t,i){e.nodeValue=i}function YO(e,t){e.appendChild(t)}function KO(e,t){var i;e.nodeType===on?(i=e.parentNode,i.insertBefore(t,e)):(i=e,i.appendChild(t));var o=e._reactRootContainer;o==null&&i.onclick===null&&Gm(i)}function QO(e,t,i){e.insertBefore(t,i)}function XO(e,t,i){e.nodeType===on?e.parentNode.insertBefore(t,i):e.insertBefore(t,i)}function qO(e,t){e.removeChild(t)}function ZO(e,t){e.nodeType===on?e.parentNode.removeChild(t):e.removeChild(t)}function Y0(e,t){var i=t,o=0;do{var c=i.nextSibling;if(e.removeChild(i),c&&c.nodeType===on){var p=c.data;if(p===Km)if(o===0){e.removeChild(c),Xt(t);return}else o--;else(p===Ym||p===Wp||p===Yp)&&o++}i=c}while(i);Xt(t)}function JO(e,t){e.nodeType===on?Y0(e.parentNode,t):e.nodeType===sr&&Y0(e,t),Xt(e)}function eD(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function tD(e){e.nodeValue=""}function nD(e,t){e=e;var i=t[NO],o=i!=null&&i.hasOwnProperty("display")?i.display:null;e.style.display=Rc("display",o)}function rD(e,t){e.nodeValue=t}function iD(e){e.nodeType===sr?e.textContent="":e.nodeType===xi&&e.documentElement&&e.removeChild(e.documentElement)}function aD(e,t,i){return e.nodeType!==sr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function oD(e,t){return t===""||e.nodeType!==da?null:e}function lD(e){return e.nodeType!==on?null:e}function jC(e){return e.data===Wp}function K0(e){return e.data===Yp}function uD(e){var t=e.nextSibling&&e.nextSibling.dataset,i,o,c;return t&&(i=t.dgst,o=t.msg,c=t.stck),{message:o,digest:i,stack:c}}function sD(e,t){e._reactRetry=t}function Qm(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===sr||t===da)break;if(t===on){var i=e.data;if(i===Ym||i===Yp||i===Wp)break;if(i===Km)return null}}return e}function Kp(e){return Qm(e.nextSibling)}function cD(e){return Qm(e.firstChild)}function dD(e){return Qm(e.firstChild)}function fD(e){return Qm(e.nextSibling)}function pD(e,t,i,o,c,p,m){Xp(p,e),q0(e,i);var S;{var E=c;S=E.namespace}var w=(p.mode&Ae)!==Le;return CO(e,t,i,S,o,w,m)}function vD(e,t,i,o){return Xp(i,e),i.mode&Ae,TO(e,t)}function hD(e,t){Xp(t,e)}function mD(e){for(var t=e.nextSibling,i=0;t;){if(t.nodeType===on){var o=t.data;if(o===Km){if(i===0)return Kp(t);i--}else(o===Ym||o===Yp||o===Wp)&&i++}t=t.nextSibling}return null}function BC(e){for(var t=e.previousSibling,i=0;t;){if(t.nodeType===on){var o=t.data;if(o===Ym||o===Yp||o===Wp){if(i===0)return t;i--}else o===Km&&i++}t=t.previousSibling}return null}function gD(e){Xt(e)}function yD(e){Xt(e)}function SD(e){return e!=="head"&&e!=="body"}function bD(e,t,i,o){var c=!0;$m(t.nodeValue,i,o,c)}function ED(e,t,i,o,c,p){if(t[Wm]!==!0){var m=!0;$m(o.nodeValue,c,p,m)}}function CD(e,t){t.nodeType===sr?z0(e,t):t.nodeType===on||U0(e,t)}function TD(e,t){{var i=e.parentNode;i!==null&&(t.nodeType===sr?z0(i,t):t.nodeType===on||U0(i,t))}}function xD(e,t,i,o,c){(c||t[Wm]!==!0)&&(o.nodeType===sr?z0(i,o):o.nodeType===on||U0(i,o))}function wD(e,t,i){H0(e,t)}function RD(e,t){V0(e,t)}function kD(e,t,i){{var o=e.parentNode;o!==null&&H0(o,t)}}function OD(e,t){{var i=e.parentNode;i!==null&&V0(i,t)}}function DD(e,t,i,o,c,p){(p||t[Wm]!==!0)&&H0(i,o)}function ND(e,t,i,o,c){(c||t[Wm]!==!0)&&V0(i,o)}function LD(e){h("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function _D(e){Hp(e)}var Pd=Math.random().toString(36).slice(2),Fd="__reactFiber$"+Pd,Q0="__reactProps$"+Pd,Qp="__reactContainer$"+Pd,X0="__reactEvents$"+Pd,AD="__reactListeners$"+Pd,ID="__reactHandles$"+Pd;function MD(e){delete e[Fd],delete e[Q0],delete e[X0],delete e[AD],delete e[ID]}function Xp(e,t){t[Fd]=e}function Xm(e,t){t[Qp]=e}function $C(e){e[Qp]=null}function qp(e){return!!e[Qp]}function Ms(e){var t=e[Fd];if(t)return t;for(var i=e.parentNode;i;){if(t=i[Qp]||i[Fd],t){var o=t.alternate;if(t.child!==null||o!==null&&o.child!==null)for(var c=BC(e);c!==null;){var p=c[Fd];if(p)return p;c=BC(c)}return t}e=i,i=e.parentNode}return null}function du(e){var t=e[Fd]||e[Qp];return t&&(t.tag===A||t.tag===N||t.tag===xe||t.tag===O)?t:null}function zd(e){if(e.tag===A||e.tag===N)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function qm(e){return e[Q0]||null}function q0(e,t){e[Q0]=t}function PD(e){var t=e[X0];return t===void 0&&(t=e[X0]=new Set),t}var GC={},WC=l.ReactDebugCurrentFrame;function Zm(e){if(e){var t=e._owner,i=ju(e.type,e._source,t?t.type:null);WC.setExtraStackFrame(i)}else WC.setExtraStackFrame(null)}function xa(e,t,i,o,c){{var p=Function.call.bind(lr);for(var m in e)if(p(e,m)){var S=void 0;try{if(typeof e[m]!="function"){var E=Error((o||"React class")+": "+i+" type `"+m+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[m]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw E.name="Invariant Violation",E}S=e[m](t,m,o,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(w){S=w}S&&!(S instanceof Error)&&(Zm(c),h("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",o||"React class",i,m,typeof S),Zm(null)),S instanceof Error&&!(S.message in GC)&&(GC[S.message]=!0,Zm(c),h("Failed %s type: %s",i,S.message),Zm(null))}}}var Z0=[],Jm;Jm=[];var Jo=-1;function fu(e){return{current:e}}function br(e,t){if(Jo<0){h("Unexpected pop.");return}t!==Jm[Jo]&&h("Unexpected Fiber popped."),e.current=Z0[Jo],Z0[Jo]=null,Jm[Jo]=null,Jo--}function Er(e,t,i){Jo++,Z0[Jo]=e.current,Jm[Jo]=i,e.current=t}var J0;J0={};var Oi={};Object.freeze(Oi);var el=fu(Oi),oo=fu(!1),eS=Oi;function Ud(e,t,i){return i&&lo(t)?eS:el.current}function YC(e,t,i){{var o=e.stateNode;o.__reactInternalMemoizedUnmaskedChildContext=t,o.__reactInternalMemoizedMaskedChildContext=i}}function Hd(e,t){{var i=e.type,o=i.contextTypes;if(!o)return Oi;var c=e.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===t)return c.__reactInternalMemoizedMaskedChildContext;var p={};for(var m in o)p[m]=t[m];{var S=Je(e)||"Unknown";xa(o,p,"context",S)}return c&&YC(e,t,p),p}}function eg(){return oo.current}function lo(e){{var t=e.childContextTypes;return t!=null}}function tg(e){br(oo,e),br(el,e)}function tS(e){br(oo,e),br(el,e)}function KC(e,t,i){{if(el.current!==Oi)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Er(el,t,e),Er(oo,i,e)}}function QC(e,t,i){{var o=e.stateNode,c=t.childContextTypes;if(typeof o.getChildContext!="function"){{var p=Je(e)||"Unknown";J0[p]||(J0[p]=!0,h("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",p,p))}return i}var m=o.getChildContext();for(var S in m)if(!(S in c))throw new Error((Je(e)||"Unknown")+'.getChildContext(): key "'+S+'" is not defined in childContextTypes.');{var E=Je(e)||"Unknown";xa(c,m,"child context",E)}return ut({},i,m)}}function ng(e){{var t=e.stateNode,i=t&&t.__reactInternalMemoizedMergedChildContext||Oi;return eS=el.current,Er(el,i,e),Er(oo,oo.current,e),!0}}function XC(e,t,i){{var o=e.stateNode;if(!o)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(i){var c=QC(e,t,eS);o.__reactInternalMemoizedMergedChildContext=c,br(oo,e),br(el,e),Er(el,c,e),Er(oo,i,e)}else br(oo,e),Er(oo,i,e)}}function FD(e){{if(!lp(e)||e.tag!==C)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case O:return t.stateNode.context;case C:{var i=t.type;if(lo(i))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var pu=0,rg=1,tl=null,nS=!1,rS=!1;function qC(e){tl===null?tl=[e]:tl.push(e)}function zD(e){nS=!0,qC(e)}function ZC(){nS&&vu()}function vu(){if(!rS&&tl!==null){rS=!0;var e=0,t=ei();try{var i=!0,o=tl;for(Qt(en);e<o.length;e++){var c=o[e];do c=c(i);while(c!==null)}tl=null,nS=!1}catch(p){throw tl!==null&&(tl=tl.slice(e+1)),Fc(Uc,vu),p}finally{Qt(t),rS=!1}}return null}var Vd=[],jd=0,ig=null,ag=0,Yi=[],Ki=0,Ps=null,nl=1,rl="";function UD(e){return zs(),(e.flags&ip)!==Ue}function HD(e){return zs(),ag}function VD(){var e=rl,t=nl,i=t&~jD(t);return i.toString(32)+e}function Fs(e,t){zs(),Vd[jd++]=ag,Vd[jd++]=ig,ig=e,ag=t}function JC(e,t,i){zs(),Yi[Ki++]=nl,Yi[Ki++]=rl,Yi[Ki++]=Ps,Ps=e;var o=nl,c=rl,p=og(o)-1,m=o&~(1<<p),S=i+1,E=og(t)+p;if(E>30){var w=p-p%5,k=(1<<w)-1,z=(m&k).toString(32),P=m>>w,B=p-w,G=og(t)+B,Q=S<<B,ve=Q|P,je=z+c;nl=1<<G|ve,rl=je}else{var Ie=S<<p,ht=Ie|m,ct=c;nl=1<<E|ht,rl=ct}}function iS(e){zs();var t=e.return;if(t!==null){var i=1,o=0;Fs(e,i),JC(e,i,o)}}function og(e){return 32-Hl(e)}function jD(e){return 1<<og(e)-1}function aS(e){for(;e===ig;)ig=Vd[--jd],Vd[jd]=null,ag=Vd[--jd],Vd[jd]=null;for(;e===Ps;)Ps=Yi[--Ki],Yi[Ki]=null,rl=Yi[--Ki],Yi[Ki]=null,nl=Yi[--Ki],Yi[Ki]=null}function BD(){return zs(),Ps!==null?{id:nl,overflow:rl}:null}function $D(e,t){zs(),Yi[Ki++]=nl,Yi[Ki++]=rl,Yi[Ki++]=Ps,nl=t.id,rl=t.overflow,Ps=e}function zs(){Jn()||h("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Zn=null,Qi=null,wa=!1,Us=!1,hu=null;function GD(){wa&&h("We should not be hydrating here. This is a bug in React. Please file a bug.")}function e1(){Us=!0}function WD(){return Us}function YD(e){var t=e.stateNode.containerInfo;return Qi=dD(t),Zn=e,wa=!0,hu=null,Us=!1,!0}function KD(e,t,i){return Qi=fD(t),Zn=e,wa=!0,hu=null,Us=!1,i!==null&&$D(e,i),!0}function t1(e,t){switch(e.tag){case O:{CD(e.stateNode.containerInfo,t);break}case A:{var i=(e.mode&Ae)!==Le;xD(e.type,e.memoizedProps,e.stateNode,t,i);break}case xe:{var o=e.memoizedState;o.dehydrated!==null&&TD(o.dehydrated,t);break}}}function n1(e,t){t1(e,t);var i=Z_();i.stateNode=t,i.return=e;var o=e.deletions;o===null?(e.deletions=[i],e.flags|=bt):o.push(i)}function oS(e,t){{if(Us)return;switch(e.tag){case O:{var i=e.stateNode.containerInfo;switch(t.tag){case A:var o=t.type;t.pendingProps,wD(i,o);break;case N:var c=t.pendingProps;RD(i,c);break}break}case A:{var p=e.type,m=e.memoizedProps,S=e.stateNode;switch(t.tag){case A:{var E=t.type,w=t.pendingProps,k=(e.mode&Ae)!==Le;DD(p,m,S,E,w,k);break}case N:{var z=t.pendingProps,P=(e.mode&Ae)!==Le;ND(p,m,S,z,P);break}}break}case xe:{var B=e.memoizedState,G=B.dehydrated;if(G!==null)switch(t.tag){case A:var Q=t.type;t.pendingProps,kD(G,Q);break;case N:var ve=t.pendingProps;OD(G,ve);break}break}default:return}}}function r1(e,t){t.flags=t.flags&~Kr|At,oS(e,t)}function i1(e,t){switch(e.tag){case A:{var i=e.type;e.pendingProps;var o=aD(t,i);return o!==null?(e.stateNode=o,Zn=e,Qi=cD(o),!0):!1}case N:{var c=e.pendingProps,p=oD(t,c);return p!==null?(e.stateNode=p,Zn=e,Qi=null,!0):!1}case xe:{var m=lD(t);if(m!==null){var S={dehydrated:m,treeContext:BD(),retryLane:Wn};e.memoizedState=S;var E=J_(m);return E.return=e,e.child=E,Zn=e,Qi=null,!0}return!1}default:return!1}}function lS(e){return(e.mode&Ae)!==Le&&(e.flags&Qe)===Ue}function uS(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function sS(e){if(wa){var t=Qi;if(!t){lS(e)&&(oS(Zn,e),uS()),r1(Zn,e),wa=!1,Zn=e;return}var i=t;if(!i1(e,t)){lS(e)&&(oS(Zn,e),uS()),t=Kp(i);var o=Zn;if(!t||!i1(e,t)){r1(Zn,e),wa=!1,Zn=e;return}n1(o,i)}}}function QD(e,t,i){var o=e.stateNode,c=!Us,p=pD(o,e.type,e.memoizedProps,t,i,e,c);return e.updateQueue=p,p!==null}function XD(e){var t=e.stateNode,i=e.memoizedProps,o=vD(t,i,e);if(o){var c=Zn;if(c!==null)switch(c.tag){case O:{var p=c.stateNode.containerInfo,m=(c.mode&Ae)!==Le;bD(p,t,i,m);break}case A:{var S=c.type,E=c.memoizedProps,w=c.stateNode,k=(c.mode&Ae)!==Le;ED(S,E,w,t,i,k);break}}}return o}function qD(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");hD(i,e)}function ZD(e){var t=e.memoizedState,i=t!==null?t.dehydrated:null;if(!i)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return mD(i)}function a1(e){for(var t=e.return;t!==null&&t.tag!==A&&t.tag!==O&&t.tag!==xe;)t=t.return;Zn=t}function lg(e){if(e!==Zn)return!1;if(!wa)return a1(e),wa=!0,!1;if(e.tag!==O&&(e.tag!==A||SD(e.type)&&!$0(e.type,e.memoizedProps))){var t=Qi;if(t)if(lS(e))o1(e),uS();else for(;t;)n1(e,t),t=Kp(t)}return a1(e),e.tag===xe?Qi=ZD(e):Qi=Zn?Kp(e.stateNode):null,!0}function JD(){return wa&&Qi!==null}function o1(e){for(var t=Qi;t;)t1(e,t),t=Kp(t)}function Bd(){Zn=null,Qi=null,wa=!1,Us=!1}function l1(){hu!==null&&(ex(hu),hu=null)}function Jn(){return wa}function cS(e){hu===null?hu=[e]:hu.push(e)}var eN=l.ReactCurrentBatchConfig,tN=null;function nN(){return eN.transition}var Ra={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var rN=function(e){for(var t=null,i=e;i!==null;)i.mode&at&&(t=i),i=i.return;return t},Hs=function(e){var t=[];return e.forEach(function(i){t.push(i)}),t.sort().join(", ")},Zp=[],Jp=[],ev=[],tv=[],nv=[],rv=[],Vs=new Set;Ra.recordUnsafeLifecycleWarnings=function(e,t){Vs.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Zp.push(e),e.mode&at&&typeof t.UNSAFE_componentWillMount=="function"&&Jp.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&ev.push(e),e.mode&at&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&tv.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&nv.push(e),e.mode&at&&typeof t.UNSAFE_componentWillUpdate=="function"&&rv.push(e))},Ra.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Zp.length>0&&(Zp.forEach(function(P){e.add(Je(P)||"Component"),Vs.add(P.type)}),Zp=[]);var t=new Set;Jp.length>0&&(Jp.forEach(function(P){t.add(Je(P)||"Component"),Vs.add(P.type)}),Jp=[]);var i=new Set;ev.length>0&&(ev.forEach(function(P){i.add(Je(P)||"Component"),Vs.add(P.type)}),ev=[]);var o=new Set;tv.length>0&&(tv.forEach(function(P){o.add(Je(P)||"Component"),Vs.add(P.type)}),tv=[]);var c=new Set;nv.length>0&&(nv.forEach(function(P){c.add(Je(P)||"Component"),Vs.add(P.type)}),nv=[]);var p=new Set;if(rv.length>0&&(rv.forEach(function(P){p.add(Je(P)||"Component"),Vs.add(P.type)}),rv=[]),t.size>0){var m=Hs(t);h(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
45
|
+
*/function Bd(e){if(!jn)return!1;var t="on"+e,a=t in document;if(!a){var u=document.createElement("div");u.setAttribute(t,"return;"),a=typeof u[t]=="function"}return a}function n(){jr("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function i(e,t,a,u){Hc(u);var c=Ym(t,"onChange");if(c.length>0){var p=new Id("onChange","change",null,a,u);e.push({event:p,listeners:c})}}var s=null,f=null;function h(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function y(e){var t=[];i(t,f,e,Vc(e)),sp(x,t)}function x(e){qC(e,0)}function O(e){var t=Kd(e);if(xh(t))return e}function A(e,t){if(e==="change")return t}var G=!1;jn&&(G=Bd("input")&&(!document.documentMode||document.documentMode>9));function ae(e,t){s=e,f=t,s.attachEvent("onpropertychange",re)}function le(){s&&(s.detachEvent("onpropertychange",re),s=null,f=null)}function re(e){e.propertyName==="value"&&O(f)&&y(e)}function be(e,t,a){e==="focusin"?(le(),ae(t,a)):e==="focusout"&&le()}function Oe(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return O(f)}function Le(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function tn(e,t){if(e==="click")return O(t)}function U(e,t){if(e==="input"||e==="change")return O(t)}function P(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||Qa(e,"number",e.value)}function j(e,t,a,u,c,p,g){var E=a?Kd(a):window,C,R;if(h(E)?C=A:jm(E)?G?C=U:(C=Oe,R=be):Le(E)&&(C=tn),C){var k=C(t,a);if(k){i(e,k,u,c);return}}R&&R(t,E,a),t==="focusout"&&P(E)}function ce(){sa("onMouseEnter",["mouseout","mouseover"]),sa("onMouseLeave",["mouseout","mouseover"]),sa("onPointerEnter",["pointerout","pointerover"]),sa("onPointerLeave",["pointerout","pointerover"])}function _e(e,t,a,u,c,p,g){var E=t==="mouseover"||t==="pointerover",C=t==="mouseout"||t==="pointerout";if(E&&!nm(u)){var R=u.relatedTarget||u.fromElement;if(R&&(js(R)||uv(R)))return}if(!(!C&&!E)){var k;if(c.window===c)k=c;else{var F=c.ownerDocument;F?k=F.defaultView||F.parentWindow:k=window}var M,$;if(C){var W=u.relatedTarget||u.toElement;if(M=a,$=W?js(W):null,$!==null){var Q=Lr($);($!==Q||$.tag!==N&&$.tag!==_)&&($=null)}}else M=null,$=a;if(M!==$){var ge=Ad,je="onMouseLeave",Pe="onMouseEnter",mt="mouse";(t==="pointerout"||t==="pointerover")&&(ge=Um,je="onPointerLeave",Pe="onPointerEnter",mt="pointer");var ft=M==null?k:Kd(M),V=$==null?k:Kd($),q=new ge(je,mt+"leave",M,u,c);q.target=ft,q.relatedTarget=V;var H=null,ue=js(c);if(ue===a){var Te=new ge(Pe,mt+"enter",$,u,c);Te.target=V,Te.relatedTarget=ft,H=Te}KO(e,q,H,M,$)}}}function Ge(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var De=typeof Object.is=="function"?Object.is:Ge;function We(e,t){if(De(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),u=Object.keys(t);if(a.length!==u.length)return!1;for(var c=0;c<a.length;c++){var p=a[c];if(!cr.call(t,p)||!De(e[p],t[p]))return!1}return!0}function En(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function St(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function ka(e,t){for(var a=En(e),u=0,c=0;a;){if(a.nodeType===ha){if(c=u+a.textContent.length,u<=t&&c>=t)return{node:a,offset:t-u};u=c}a=En(St(a))}}function G0(e){var t=e.ownerDocument,a=t&&t.defaultView||window,u=a.getSelection&&a.getSelection();if(!u||u.rangeCount===0)return null;var c=u.anchorNode,p=u.anchorOffset,g=u.focusNode,E=u.focusOffset;try{c.nodeType,g.nodeType}catch{return null}return OO(e,c,p,g,E)}function OO(e,t,a,u,c){var p=0,g=-1,E=-1,C=0,R=0,k=e,F=null;e:for(;;){for(var M=null;k===t&&(a===0||k.nodeType===ha)&&(g=p+a),k===u&&(c===0||k.nodeType===ha)&&(E=p+c),k.nodeType===ha&&(p+=k.nodeValue.length),(M=k.firstChild)!==null;)F=k,k=M;for(;;){if(k===e)break e;if(F===t&&++C===a&&(g=p),F===u&&++R===c&&(E=p),(M=k.nextSibling)!==null)break;k=F,F=k.parentNode}k=M}return g===-1||E===-1?null:{start:g,end:E}}function DO(e,t){var a=e.ownerDocument||document,u=a&&a.defaultView||window;if(u.getSelection){var c=u.getSelection(),p=e.textContent.length,g=Math.min(t.start,p),E=t.end===void 0?g:Math.min(t.end,p);if(!c.extend&&g>E){var C=E;E=g,g=C}var R=ka(e,g),k=ka(e,E);if(R&&k){if(c.rangeCount===1&&c.anchorNode===R.node&&c.anchorOffset===R.offset&&c.focusNode===k.node&&c.focusOffset===k.offset)return;var F=a.createRange();F.setStart(R.node,R.offset),c.removeAllRanges(),g>E?(c.addRange(F),c.extend(k.node,k.offset)):(F.setEnd(k.node,k.offset),c.addRange(F))}}}function zC(e){return e&&e.nodeType===ha}function UC(e,t){return!e||!t?!1:e===t?!0:zC(e)?!1:zC(t)?UC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function NO(e){return e&&e.ownerDocument&&UC(e.ownerDocument.documentElement,e)}function LO(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function VC(){for(var e=window,t=kc();t instanceof e.HTMLIFrameElement;){if(LO(t))e=t.contentWindow;else return t;t=kc(e.document)}return t}function W0(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function IO(){var e=VC();return{focusedElem:e,selectionRange:W0(e)?_O(e):null}}function AO(e){var t=VC(),a=e.focusedElem,u=e.selectionRange;if(t!==a&&NO(a)){u!==null&&W0(a)&&MO(a,u);for(var c=[],p=a;p=p.parentNode;)p.nodeType===fr&&c.push({element:p,left:p.scrollLeft,top:p.scrollTop});typeof a.focus=="function"&&a.focus();for(var g=0;g<c.length;g++){var E=c[g];E.element.scrollLeft=E.left,E.element.scrollTop=E.top}}}function _O(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=G0(e),t||{start:0,end:0}}function MO(e,t){var a=t.start,u=t.end;u===void 0&&(u=a),"selectionStart"in e?(e.selectionStart=a,e.selectionEnd=Math.min(u,e.value.length)):DO(e,t)}var PO=jn&&"documentMode"in document&&document.documentMode<=11;function FO(){jr("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var jd=null,Y0=null,Qp=null,K0=!1;function zO(e){if("selectionStart"in e&&W0(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,a=t.getSelection();return{anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}}function UO(e){return e.window===e?e.document:e.nodeType===Di?e:e.ownerDocument}function HC(e,t,a){var u=UO(a);if(!(K0||jd==null||jd!==kc(u))){var c=zO(jd);if(!Qp||!We(Qp,c)){Qp=c;var p=Ym(Y0,"onSelect");if(p.length>0){var g=new Id("onSelect","select",null,t,a);e.push({event:g,listeners:p}),g.target=jd}}}}function VO(e,t,a,u,c,p,g){var E=a?Kd(a):window;switch(t){case"focusin":(jm(E)||E.contentEditable==="true")&&(jd=E,Y0=a,Qp=null);break;case"focusout":jd=null,Y0=null,Qp=null;break;case"mousedown":K0=!0;break;case"contextmenu":case"mouseup":case"dragend":K0=!1,HC(e,u,c);break;case"selectionchange":if(PO)break;case"keydown":case"keyup":HC(e,u,c)}}function $m(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var $d={animationend:$m("Animation","AnimationEnd"),animationiteration:$m("Animation","AnimationIteration"),animationstart:$m("Animation","AnimationStart"),transitionend:$m("Transition","TransitionEnd")},Q0={},BC={};jn&&(BC=document.createElement("div").style,"AnimationEvent"in window||(delete $d.animationend.animation,delete $d.animationiteration.animation,delete $d.animationstart.animation),"TransitionEvent"in window||delete $d.transitionend.transition);function Gm(e){if(Q0[e])return Q0[e];if(!$d[e])return e;var t=$d[e];for(var a in t)if(t.hasOwnProperty(a)&&a in BC)return Q0[e]=t[a];return e}var jC=Gm("animationend"),$C=Gm("animationiteration"),GC=Gm("animationstart"),WC=Gm("transitionend"),YC=new Map,KC=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function gu(e,t){YC.set(e,t),jr(t,[e])}function HO(){for(var e=0;e<KC.length;e++){var t=KC[e],a=t.toLowerCase(),u=t[0].toUpperCase()+t.slice(1);gu(a,"on"+u)}gu(jC,"onAnimationEnd"),gu($C,"onAnimationIteration"),gu(GC,"onAnimationStart"),gu("dblclick","onDoubleClick"),gu("focusin","onFocus"),gu("focusout","onBlur"),gu(WC,"onTransitionEnd")}function BO(e,t,a,u,c,p,g){var E=YC.get(t);if(E!==void 0){var C=Id,R=t;switch(t){case"keypress":if(nl(u)===0)return;case"keydown":case"keyup":C=Fm;break;case"focusin":R="focus",C=Ms;break;case"focusout":R="blur",C=Ms;break;case"beforeblur":case"afterblur":C=Ms;break;case"click":if(u.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":C=Ad;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=Lm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=jp;break;case jC:case $C:case GC:C=P0;break;case WC:C=co;break;case"scroll":C=Up;break;case"wheel":C=al;break;case"copy":case"cut":case"paste":C=Am;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=Um;break}var k=(p&zo)!==0;{var F=!k&&t==="scroll",M=WO(a,E,u.type,k,F);if(M.length>0){var $=new C(E,R,null,u,c);e.push({event:$,listeners:M})}}}}HO(),ce(),n(),FO(),zd();function jO(e,t,a,u,c,p,g){BO(e,t,a,u,c,p);var E=(p&T0)===0;E&&(_e(e,t,a,u,c),j(e,t,a,u,c),VO(e,t,a,u,c),$0(e,t,a,u,c))}var qp=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],q0=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(qp));function QC(e,t,a){var u=e.type||"unknown-event";e.currentTarget=a,Sa(u,t,void 0,e),e.currentTarget=null}function $O(e,t,a){var u;if(a)for(var c=t.length-1;c>=0;c--){var p=t[c],g=p.instance,E=p.currentTarget,C=p.listener;if(g!==u&&e.isPropagationStopped())return;QC(e,C,E),u=g}else for(var R=0;R<t.length;R++){var k=t[R],F=k.instance,M=k.currentTarget,$=k.listener;if(F!==u&&e.isPropagationStopped())return;QC(e,$,M),u=F}}function qC(e,t){for(var a=(t&zo)!==0,u=0;u<e.length;u++){var c=e[u],p=c.event,g=c.listeners;$O(p,g,a)}pp()}function GO(e,t,a,u,c){var p=Vc(a),g=[];jO(g,e,u,a,p,t),qC(g,t)}function $t(e,t){q0.has(e)||m('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=!1,u=bN(t),c=QO(e,a);u.has(c)||(XC(t,e,ss,a),u.add(c))}function X0(e,t,a){q0.has(e)&&!t&&m('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=zo),XC(a,e,u,t)}var Wm="_reactListening"+Math.random().toString(36).slice(2);function Xp(e){if(!e[Wm]){e[Wm]=!0,bi.forEach(function(a){a!=="selectionchange"&&(q0.has(a)||X0(a,!1,e),X0(a,!0,e))});var t=e.nodeType===Di?e:e.ownerDocument;t!==null&&(t[Wm]||(t[Wm]=!0,X0("selectionchange",!1,t)))}}function XC(e,t,a,u,c){var p=yn(e,t,a),g=void 0;vs&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(g=!0),e=e,u?g!==void 0?Dd(e,t,p,g):xa(e,t,p):g!==void 0?zp(e,t,p,g):pu(e,t,p)}function ZC(e,t){return e===t||e.nodeType===on&&e.parentNode===t}function Z0(e,t,a,u,c){var p=u;if(!(t&ga)&&!(t&ss)){var g=c;if(u!==null){var E=u;e:for(;;){if(E===null)return;var C=E.tag;if(C===D||C===L){var R=E.stateNode.containerInfo;if(ZC(R,g))break;if(C===L)for(var k=E.return;k!==null;){var F=k.tag;if(F===D||F===L){var M=k.stateNode.containerInfo;if(ZC(M,g))return}k=k.return}for(;R!==null;){var $=js(R);if($===null)return;var W=$.tag;if(W===N||W===_){E=p=$;continue e}R=R.parentNode}}E=E.return}}}sp(function(){return GO(e,t,a,p)})}function Zp(e,t,a){return{instance:e,listener:t,currentTarget:a}}function WO(e,t,a,u,c,p){for(var g=t!==null?t+"Capture":null,E=u?g:t,C=[],R=e,k=null;R!==null;){var F=R,M=F.stateNode,$=F.tag;if($===N&&M!==null&&(k=M,E!==null)){var W=Vo(R,E);W!=null&&C.push(Zp(R,W,k))}if(c)break;R=R.return}return C}function Ym(e,t){for(var a=t+"Capture",u=[],c=e;c!==null;){var p=c,g=p.stateNode,E=p.tag;if(E===N&&g!==null){var C=g,R=Vo(c,a);R!=null&&u.unshift(Zp(c,R,C));var k=Vo(c,t);k!=null&&u.push(Zp(c,k,C))}c=c.return}return u}function Gd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==N);return e||null}function YO(e,t){for(var a=e,u=t,c=0,p=a;p;p=Gd(p))c++;for(var g=0,E=u;E;E=Gd(E))g++;for(;c-g>0;)a=Gd(a),c--;for(;g-c>0;)u=Gd(u),g--;for(var C=c;C--;){if(a===u||u!==null&&a===u.alternate)return a;a=Gd(a),u=Gd(u)}return null}function JC(e,t,a,u,c){for(var p=t._reactName,g=[],E=a;E!==null&&E!==u;){var C=E,R=C.alternate,k=C.stateNode,F=C.tag;if(R!==null&&R===u)break;if(F===N&&k!==null){var M=k;if(c){var $=Vo(E,p);$!=null&&g.unshift(Zp(E,$,M))}else if(!c){var W=Vo(E,p);W!=null&&g.push(Zp(E,W,M))}}E=E.return}g.length!==0&&e.push({event:t,listeners:g})}function KO(e,t,a,u,c){var p=u&&c?YO(u,c):null;u!==null&&JC(e,t,u,p,!1),c!==null&&a!==null&&JC(e,a,c,p,!0)}function QO(e,t){return e+"__"+(t?"capture":"bubble")}var si=!1,Jp="dangerouslySetInnerHTML",Km="suppressContentEditableWarning",yu="suppressHydrationWarning",e1="autoFocus",Hs="children",Bs="style",Qm="__html",J0,qm,ev,t1,Xm,n1,r1;J0={dialog:!0,webview:!0},qm=function(e,t){Uc(e,t),ip(e,t),tm(e,t,{registrationNameDependencies:ji,possibleRegistrationNames:$u})},n1=jn&&!document.documentMode,ev=function(e,t,a){if(!si){var u=Zm(a),c=Zm(t);c!==u&&(si=!0,m("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(c),JSON.stringify(u)))}},t1=function(e){if(!si){si=!0;var t=[];e.forEach(function(a){t.push(a)}),m("Extra attributes from the server: %s",t)}},Xm=function(e,t){t===!1?m("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):m("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},r1=function(e,t){var a=e.namespaceURI===va?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return a.innerHTML=t,a.innerHTML};var qO=/\r\n?/g,XO=/\u0000|\uFFFD/g;function Zm(e){Lo(e);var t=typeof e=="string"?e:""+e;return t.replace(qO,`
|
|
46
|
+
`).replace(XO,"")}function Jm(e,t,a,u){var c=Zm(t),p=Zm(e);if(p!==c&&(u&&(si||(si=!0,m('Text content did not match. Server: "%s" Client: "%s"',p,c))),a&&Be))throw new Error("Text content does not match server-rendered HTML.")}function i1(e){return e.nodeType===Di?e:e.ownerDocument}function ZO(){}function eg(e){e.onclick=ZO}function JO(e,t,a,u,c){for(var p in u)if(u.hasOwnProperty(p)){var g=u[p];if(p===Bs)g&&Object.freeze(g),Gh(t,g);else if(p===Jp){var E=g?g[Qm]:void 0;E!=null&&_h(t,E)}else if(p===Hs)if(typeof g=="string"){var C=e!=="textarea"||g!=="";C&&Mc(t,g)}else typeof g=="number"&&Mc(t,""+g);else p===Km||p===yu||p===e1||(ji.hasOwnProperty(p)?g!=null&&(typeof g!="function"&&Xm(p,g),p==="onScroll"&&$t("scroll",t)):g!=null&&Io(t,p,g,c))}}function eD(e,t,a,u){for(var c=0;c<t.length;c+=2){var p=t[c],g=t[c+1];p===Bs?Gh(e,g):p===Jp?_h(e,g):p===Hs?Mc(e,g):Io(e,p,g,u)}}function tD(e,t,a,u){var c,p=i1(a),g,E=u;if(E===va&&(E=Ac(e)),E===va){if(c=ma(e,t),!c&&e!==e.toLowerCase()&&m("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var C=p.createElement("div");C.innerHTML="<script><\/script>";var R=C.firstChild;g=C.removeChild(R)}else if(typeof t.is=="string")g=p.createElement(e,{is:t.is});else if(g=p.createElement(e),e==="select"){var k=g;t.multiple?k.multiple=!0:t.size&&(k.size=t.size)}}else g=p.createElementNS(E,e);return E===va&&!c&&Object.prototype.toString.call(g)==="[object HTMLUnknownElement]"&&!cr.call(J0,e)&&(J0[e]=!0,m("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),g}function nD(e,t){return i1(t).createTextNode(e)}function rD(e,t,a,u){var c=ma(t,a);qm(t,a);var p;switch(t){case"dialog":$t("cancel",e),$t("close",e),p=a;break;case"iframe":case"object":case"embed":$t("load",e),p=a;break;case"video":case"audio":for(var g=0;g<qp.length;g++)$t(qp[g],e);p=a;break;case"source":$t("error",e),p=a;break;case"img":case"image":case"link":$t("error",e),$t("load",e),p=a;break;case"details":$t("toggle",e),p=a;break;case"input":rs(e,a),p=ns(e,a),$t("invalid",e);break;case"option":Lc(e,a),p=a;break;case"select":Nh(e,a),p=Yf(e,a),$t("invalid",e);break;case"textarea":Lh(e,a),p=Qf(e,a),$t("invalid",e);break;default:p=a}switch(Fc(t,p),JO(t,e,u,p,c),t){case"input":Mo(e),is(e,a,!1);break;case"textarea":Mo(e),Ah(e);break;case"option":Wf(e,a);break;case"select":f0(e,a);break;default:typeof p.onClick=="function"&&eg(e);break}}function iD(e,t,a,u,c){qm(t,u);var p=null,g,E;switch(t){case"input":g=ns(e,a),E=ns(e,u),p=[];break;case"select":g=Yf(e,a),E=Yf(e,u),p=[];break;case"textarea":g=Qf(e,a),E=Qf(e,u),p=[];break;default:g=a,E=u,typeof g.onClick!="function"&&typeof E.onClick=="function"&&eg(e);break}Fc(t,E);var C,R,k=null;for(C in g)if(!(E.hasOwnProperty(C)||!g.hasOwnProperty(C)||g[C]==null))if(C===Bs){var F=g[C];for(R in F)F.hasOwnProperty(R)&&(k||(k={}),k[R]="")}else C===Jp||C===Hs||C===Km||C===yu||C===e1||(ji.hasOwnProperty(C)?p||(p=[]):(p=p||[]).push(C,null));for(C in E){var M=E[C],$=g!=null?g[C]:void 0;if(!(!E.hasOwnProperty(C)||M===$||M==null&&$==null))if(C===Bs)if(M&&Object.freeze(M),$){for(R in $)$.hasOwnProperty(R)&&(!M||!M.hasOwnProperty(R))&&(k||(k={}),k[R]="");for(R in M)M.hasOwnProperty(R)&&$[R]!==M[R]&&(k||(k={}),k[R]=M[R])}else k||(p||(p=[]),p.push(C,k)),k=M;else if(C===Jp){var W=M?M[Qm]:void 0,Q=$?$[Qm]:void 0;W!=null&&Q!==W&&(p=p||[]).push(C,W)}else C===Hs?(typeof M=="string"||typeof M=="number")&&(p=p||[]).push(C,""+M):C===Km||C===yu||(ji.hasOwnProperty(C)?(M!=null&&(typeof M!="function"&&Xm(C,M),C==="onScroll"&&$t("scroll",e)),!p&&$!==M&&(p=[])):(p=p||[]).push(C,M))}return k&&(ls(k,E[Bs]),(p=p||[]).push(Bs,k)),p}function aD(e,t,a,u,c){a==="input"&&c.type==="radio"&&c.name!=null&&Gf(e,c);var p=ma(a,u),g=ma(a,c);switch(eD(e,t,p,g),a){case"input":Al(e,c);break;case"textarea":Ih(e,c);break;case"select":p0(e,c);break}}function oD(e){{var t=e.toLowerCase();return zc.hasOwnProperty(t)&&zc[t]||null}}function lD(e,t,a,u,c,p,g){var E,C;switch(E=ma(t,a),qm(t,a),t){case"dialog":$t("cancel",e),$t("close",e);break;case"iframe":case"object":case"embed":$t("load",e);break;case"video":case"audio":for(var R=0;R<qp.length;R++)$t(qp[R],e);break;case"source":$t("error",e);break;case"img":case"image":case"link":$t("error",e),$t("load",e);break;case"details":$t("toggle",e);break;case"input":rs(e,a),$t("invalid",e);break;case"option":Lc(e,a);break;case"select":Nh(e,a),$t("invalid",e);break;case"textarea":Lh(e,a),$t("invalid",e);break}Fc(t,a);{C=new Set;for(var k=e.attributes,F=0;F<k.length;F++){var M=k[F].name.toLowerCase();switch(M){case"value":break;case"checked":break;case"selected":break;default:C.add(k[F].name)}}}var $=null;for(var W in a)if(a.hasOwnProperty(W)){var Q=a[W];if(W===Hs)typeof Q=="string"?e.textContent!==Q&&(a[yu]!==!0&&Jm(e.textContent,Q,p,g),$=[Hs,Q]):typeof Q=="number"&&e.textContent!==""+Q&&(a[yu]!==!0&&Jm(e.textContent,Q,p,g),$=[Hs,""+Q]);else if(ji.hasOwnProperty(W))Q!=null&&(typeof Q!="function"&&Xm(W,Q),W==="onScroll"&&$t("scroll",e));else if(g&&typeof E=="boolean"){var ge=void 0,je=E&&Ht?null:Gi(W);if(a[yu]!==!0){if(!(W===Km||W===yu||W==="value"||W==="checked"||W==="selected")){if(W===Jp){var Pe=e.innerHTML,mt=Q?Q[Qm]:void 0;if(mt!=null){var ft=r1(e,mt);ft!==Pe&&ev(W,Pe,ft)}}else if(W===Bs){if(C.delete(W),n1){var V=b0(Q);ge=e.getAttribute("style"),V!==ge&&ev(W,ge,V)}}else if(E&&!Ht)C.delete(W.toLowerCase()),ge=Cc(e,W,Q),Q!==ge&&ev(W,ge,Q);else if(!vn(W,je,E)&&!Gt(W,Q,je,E)){var q=!1;if(je!==null)C.delete(je.attributeName),ge=Wu(e,W,Q,je);else{var H=u;if(H===va&&(H=Ac(t)),H===va)C.delete(W.toLowerCase());else{var ue=oD(W);ue!==null&&ue!==W&&(q=!0,C.delete(ue)),C.delete(W)}ge=Cc(e,W,Q)}var Te=Ht;!Te&&Q!==ge&&!q&&ev(W,ge,Q)}}}}}switch(g&&C.size>0&&a[yu]!==!0&&t1(C),t){case"input":Mo(e),is(e,a,!0);break;case"textarea":Mo(e),Ah(e);break;case"select":case"option":break;default:typeof a.onClick=="function"&&eg(e);break}return $}function uD(e,t,a){var u=e.nodeValue!==t;return u}function eS(e,t){{if(si)return;si=!0,m("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function tS(e,t){{if(si)return;si=!0,m('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function nS(e,t,a){{if(si)return;si=!0,m("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function rS(e,t){{if(t===""||si)return;si=!0,m('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function sD(e,t,a){switch(t){case"input":Rh(e,a);return;case"textarea":qf(e,a);return;case"select":v0(e,a);return}}var tv=function(){},nv=function(){};{var cD=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],a1=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],dD=a1.concat(["button"]),fD=["dd","dt","li","option","optgroup","p","rp","rt"],o1={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};nv=function(e,t){var a=ct({},e||o1),u={tag:t};return a1.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),dD.indexOf(t)!==-1&&(a.pTagInButtonScope=null),cD.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=u,t==="form"&&(a.formTag=u),t==="a"&&(a.aTagInScope=u),t==="button"&&(a.buttonTagInScope=u),t==="nobr"&&(a.nobrTagInScope=u),t==="p"&&(a.pTagInButtonScope=u),t==="li"&&(a.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=u),a};var pD=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return fD.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},vD=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},l1={};tv=function(e,t,a){a=a||o1;var u=a.current,c=u&&u.tag;t!=null&&(e!=null&&m("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var p=pD(e,c)?null:u,g=p?null:vD(e,a),E=p||g;if(E){var C=E.tag,R=!!p+"|"+e+"|"+C;if(!l1[R]){l1[R]=!0;var k=e,F="";if(e==="#text"?/\S/.test(t)?k="Text nodes":(k="Whitespace text nodes",F=" Make sure you don't have any extra whitespace between tags on each line of your source code."):k="<"+e+">",p){var M="";C==="table"&&e==="tr"&&(M+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),m("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",k,C,F,M)}else m("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",k,C)}}}}var tg="suppressHydrationWarning",ng="$",rg="/$",rv="$?",iv="$!",hD="style",iS=null,aS=null;function mD(e){var t,a,u=e.nodeType;switch(u){case Di:case Po:{t=u===Di?"#document":"#fragment";var c=e.documentElement;a=c?c.namespaceURI:Zf(null,"");break}default:{var p=u===on?e.parentNode:e,g=p.namespaceURI||null;t=p.tagName,a=Zf(g,t);break}}{var E=t.toLowerCase(),C=nv(null,E);return{namespace:a,ancestorInfo:C}}}function gD(e,t,a){{var u=e,c=Zf(u.namespace,t),p=nv(u.ancestorInfo,t);return{namespace:c,ancestorInfo:p}}}function K6(e){return e}function yD(e){iS=du(),aS=IO();var t=null;return Cr(!1),t}function SD(e){AO(aS),Cr(iS),iS=null,aS=null}function ED(e,t,a,u,c){var p;{var g=u;if(tv(e,null,g.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var E=""+t.children,C=nv(g.ancestorInfo,e);tv(null,E,C)}p=g.namespace}var R=tD(e,t,a,p);return lv(c,R),pS(R,t),R}function bD(e,t){e.appendChild(t)}function CD(e,t,a,u,c){switch(rD(e,t,a,u),t){case"button":case"input":case"select":case"textarea":return!!a.autoFocus;case"img":return!0;default:return!1}}function TD(e,t,a,u,c,p){{var g=p;if(typeof u.children!=typeof a.children&&(typeof u.children=="string"||typeof u.children=="number")){var E=""+u.children,C=nv(g.ancestorInfo,t);tv(null,E,C)}}return iD(e,t,a,u)}function oS(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function wD(e,t,a,u){{var c=a;tv(null,e,c.ancestorInfo)}var p=nD(e,t);return lv(u,p),p}function xD(){var e=window.event;return e===void 0?qi:Od(e.type)}var lS=typeof setTimeout=="function"?setTimeout:void 0,RD=typeof clearTimeout=="function"?clearTimeout:void 0,uS=-1,u1=typeof Promise=="function"?Promise:void 0,kD=typeof queueMicrotask=="function"?queueMicrotask:typeof u1<"u"?function(e){return u1.resolve(null).then(e).catch(OD)}:lS;function OD(e){setTimeout(function(){throw e})}function DD(e,t,a,u){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();return;case"img":{a.src&&(e.src=a.src);return}}}function ND(e,t,a,u,c,p){aD(e,t,a,u,c),pS(e,c)}function s1(e){Mc(e,"")}function LD(e,t,a){e.nodeValue=a}function ID(e,t){e.appendChild(t)}function AD(e,t){var a;e.nodeType===on?(a=e.parentNode,a.insertBefore(t,e)):(a=e,a.appendChild(t));var u=e._reactRootContainer;u==null&&a.onclick===null&&eg(a)}function _D(e,t,a){e.insertBefore(t,a)}function MD(e,t,a){e.nodeType===on?e.parentNode.insertBefore(t,a):e.insertBefore(t,a)}function PD(e,t){e.removeChild(t)}function FD(e,t){e.nodeType===on?e.parentNode.removeChild(t):e.removeChild(t)}function sS(e,t){var a=t,u=0;do{var c=a.nextSibling;if(e.removeChild(a),c&&c.nodeType===on){var p=c.data;if(p===rg)if(u===0){e.removeChild(c),qt(t);return}else u--;else(p===ng||p===rv||p===iv)&&u++}a=c}while(a);qt(t)}function zD(e,t){e.nodeType===on?sS(e.parentNode,t):e.nodeType===fr&&sS(e,t),qt(e)}function UD(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function VD(e){e.nodeValue=""}function HD(e,t){e=e;var a=t[hD],u=a!=null&&a.hasOwnProperty("display")?a.display:null;e.style.display=Pc("display",u)}function BD(e,t){e.nodeValue=t}function jD(e){e.nodeType===fr?e.textContent="":e.nodeType===Di&&e.documentElement&&e.removeChild(e.documentElement)}function $D(e,t,a){return e.nodeType!==fr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function GD(e,t){return t===""||e.nodeType!==ha?null:e}function WD(e){return e.nodeType!==on?null:e}function c1(e){return e.data===rv}function cS(e){return e.data===iv}function YD(e){var t=e.nextSibling&&e.nextSibling.dataset,a,u,c;return t&&(a=t.dgst,u=t.msg,c=t.stck),{message:u,digest:a,stack:c}}function KD(e,t){e._reactRetry=t}function ig(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===fr||t===ha)break;if(t===on){var a=e.data;if(a===ng||a===iv||a===rv)break;if(a===rg)return null}}return e}function av(e){return ig(e.nextSibling)}function QD(e){return ig(e.firstChild)}function qD(e){return ig(e.firstChild)}function XD(e){return ig(e.nextSibling)}function ZD(e,t,a,u,c,p,g){lv(p,e),pS(e,a);var E;{var C=c;E=C.namespace}var R=(p.mode&Me)!==Ae;return lD(e,t,a,E,u,R,g)}function JD(e,t,a,u){return lv(a,e),a.mode&Me,uD(e,t)}function eN(e,t){lv(t,e)}function tN(e){for(var t=e.nextSibling,a=0;t;){if(t.nodeType===on){var u=t.data;if(u===rg){if(a===0)return av(t);a--}else(u===ng||u===iv||u===rv)&&a++}t=t.nextSibling}return null}function d1(e){for(var t=e.previousSibling,a=0;t;){if(t.nodeType===on){var u=t.data;if(u===ng||u===iv||u===rv){if(a===0)return t;a--}else u===rg&&a++}t=t.previousSibling}return null}function nN(e){qt(e)}function rN(e){qt(e)}function iN(e){return e!=="head"&&e!=="body"}function aN(e,t,a,u){var c=!0;Jm(t.nodeValue,a,u,c)}function oN(e,t,a,u,c,p){if(t[tg]!==!0){var g=!0;Jm(u.nodeValue,c,p,g)}}function lN(e,t){t.nodeType===fr?eS(e,t):t.nodeType===on||tS(e,t)}function uN(e,t){{var a=e.parentNode;a!==null&&(t.nodeType===fr?eS(a,t):t.nodeType===on||tS(a,t))}}function sN(e,t,a,u,c){(c||t[tg]!==!0)&&(u.nodeType===fr?eS(a,u):u.nodeType===on||tS(a,u))}function cN(e,t,a){nS(e,t)}function dN(e,t){rS(e,t)}function fN(e,t,a){{var u=e.parentNode;u!==null&&nS(u,t)}}function pN(e,t){{var a=e.parentNode;a!==null&&rS(a,t)}}function vN(e,t,a,u,c,p){(p||t[tg]!==!0)&&nS(a,u)}function hN(e,t,a,u,c){(c||t[tg]!==!0)&&rS(a,u)}function mN(e){m("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function gN(e){Xp(e)}var Wd=Math.random().toString(36).slice(2),Yd="__reactFiber$"+Wd,dS="__reactProps$"+Wd,ov="__reactContainer$"+Wd,fS="__reactEvents$"+Wd,yN="__reactListeners$"+Wd,SN="__reactHandles$"+Wd;function EN(e){delete e[Yd],delete e[dS],delete e[fS],delete e[yN],delete e[SN]}function lv(e,t){t[Yd]=e}function ag(e,t){t[ov]=e}function f1(e){e[ov]=null}function uv(e){return!!e[ov]}function js(e){var t=e[Yd];if(t)return t;for(var a=e.parentNode;a;){if(t=a[ov]||a[Yd],t){var u=t.alternate;if(t.child!==null||u!==null&&u.child!==null)for(var c=d1(e);c!==null;){var p=c[Yd];if(p)return p;c=d1(c)}return t}e=a,a=e.parentNode}return null}function Su(e){var t=e[Yd]||e[ov];return t&&(t.tag===N||t.tag===_||t.tag===fe||t.tag===D)?t:null}function Kd(e){if(e.tag===N||e.tag===_)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function og(e){return e[dS]||null}function pS(e,t){e[dS]=t}function bN(e){var t=e[fS];return t===void 0&&(t=e[fS]=new Set),t}var p1={},v1=o.ReactDebugCurrentFrame;function lg(e){if(e){var t=e._owner,a=qu(e.type,e._source,t?t.type:null);v1.setExtraStackFrame(a)}else v1.setExtraStackFrame(null)}function Oa(e,t,a,u,c){{var p=Function.call.bind(cr);for(var g in e)if(p(e,g)){var E=void 0;try{if(typeof e[g]!="function"){var C=Error((u||"React class")+": "+a+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}E=e[g](t,g,u,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){E=R}E&&!(E instanceof Error)&&(lg(c),m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",a,g,typeof E),lg(null)),E instanceof Error&&!(E.message in p1)&&(p1[E.message]=!0,lg(c),m("Failed %s type: %s",a,E.message),lg(null))}}}var vS=[],ug;ug=[];var ol=-1;function Eu(e){return{current:e}}function Tr(e,t){if(ol<0){m("Unexpected pop.");return}t!==ug[ol]&&m("Unexpected Fiber popped."),e.current=vS[ol],vS[ol]=null,ug[ol]=null,ol--}function wr(e,t,a){ol++,vS[ol]=e.current,ug[ol]=a,e.current=t}var hS;hS={};var Ai={};Object.freeze(Ai);var ll=Eu(Ai),po=Eu(!1),mS=Ai;function Qd(e,t,a){return a&&vo(t)?mS:ll.current}function h1(e,t,a){{var u=e.stateNode;u.__reactInternalMemoizedUnmaskedChildContext=t,u.__reactInternalMemoizedMaskedChildContext=a}}function qd(e,t){{var a=e.type,u=a.contextTypes;if(!u)return Ai;var c=e.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===t)return c.__reactInternalMemoizedMaskedChildContext;var p={};for(var g in u)p[g]=t[g];{var E=Je(e)||"Unknown";Oa(u,p,"context",E)}return c&&h1(e,t,p),p}}function sg(){return po.current}function vo(e){{var t=e.childContextTypes;return t!=null}}function cg(e){Tr(po,e),Tr(ll,e)}function gS(e){Tr(po,e),Tr(ll,e)}function m1(e,t,a){{if(ll.current!==Ai)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");wr(ll,t,e),wr(po,a,e)}}function g1(e,t,a){{var u=e.stateNode,c=t.childContextTypes;if(typeof u.getChildContext!="function"){{var p=Je(e)||"Unknown";hS[p]||(hS[p]=!0,m("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",p,p))}return a}var g=u.getChildContext();for(var E in g)if(!(E in c))throw new Error((Je(e)||"Unknown")+'.getChildContext(): key "'+E+'" is not defined in childContextTypes.');{var C=Je(e)||"Unknown";Oa(c,g,"child context",C)}return ct({},a,g)}}function dg(e){{var t=e.stateNode,a=t&&t.__reactInternalMemoizedMergedChildContext||Ai;return mS=ll.current,wr(ll,a,e),wr(po,po.current,e),!0}}function y1(e,t,a){{var u=e.stateNode;if(!u)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(a){var c=g1(e,t,mS);u.__reactInternalMemoizedMergedChildContext=c,Tr(po,e),Tr(ll,e),wr(ll,c,e),wr(po,a,e)}else Tr(po,e),wr(po,a,e)}}function CN(e){{if(!yp(e)||e.tag!==T)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case D:return t.stateNode.context;case T:{var a=t.type;if(vo(a))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var bu=0,fg=1,ul=null,yS=!1,SS=!1;function S1(e){ul===null?ul=[e]:ul.push(e)}function TN(e){yS=!0,S1(e)}function E1(){yS&&Cu()}function Cu(){if(!SS&&ul!==null){SS=!0;var e=0,t=ii();try{var a=!0,u=ul;for(Qt(en);e<u.length;e++){var c=u[e];do c=c(a);while(c!==null)}ul=null,yS=!1}catch(p){throw ul!==null&&(ul=ul.slice(e+1)),Yc(Qc,Cu),p}finally{Qt(t),SS=!1}}return null}var Xd=[],Zd=0,pg=null,vg=0,ea=[],ta=0,$s=null,sl=1,cl="";function wN(e){return Ws(),(e.flags&hp)!==He}function xN(e){return Ws(),vg}function RN(){var e=cl,t=sl,a=t&~kN(t);return a.toString(32)+e}function Gs(e,t){Ws(),Xd[Zd++]=vg,Xd[Zd++]=pg,pg=e,vg=t}function b1(e,t,a){Ws(),ea[ta++]=sl,ea[ta++]=cl,ea[ta++]=$s,$s=e;var u=sl,c=cl,p=hg(u)-1,g=u&~(1<<p),E=a+1,C=hg(t)+p;if(C>30){var R=p-p%5,k=(1<<R)-1,F=(g&k).toString(32),M=g>>R,$=p-R,W=hg(t)+$,Q=E<<$,ge=Q|M,je=F+c;sl=1<<W|ge,cl=je}else{var Pe=E<<p,mt=Pe|g,ft=c;sl=1<<C|mt,cl=ft}}function ES(e){Ws();var t=e.return;if(t!==null){var a=1,u=0;Gs(e,a),b1(e,a,u)}}function hg(e){return 32-Kl(e)}function kN(e){return 1<<hg(e)-1}function bS(e){for(;e===pg;)pg=Xd[--Zd],Xd[Zd]=null,vg=Xd[--Zd],Xd[Zd]=null;for(;e===$s;)$s=ea[--ta],ea[ta]=null,cl=ea[--ta],ea[ta]=null,sl=ea[--ta],ea[ta]=null}function ON(){return Ws(),$s!==null?{id:sl,overflow:cl}:null}function DN(e,t){Ws(),ea[ta++]=sl,ea[ta++]=cl,ea[ta++]=$s,sl=t.id,cl=t.overflow,$s=e}function Ws(){tr()||m("Expected to be hydrating. This is a bug in React. Please file an issue.")}var er=null,na=null,Da=!1,Ys=!1,Tu=null;function NN(){Da&&m("We should not be hydrating here. This is a bug in React. Please file a bug.")}function C1(){Ys=!0}function LN(){return Ys}function IN(e){var t=e.stateNode.containerInfo;return na=qD(t),er=e,Da=!0,Tu=null,Ys=!1,!0}function AN(e,t,a){return na=XD(t),er=e,Da=!0,Tu=null,Ys=!1,a!==null&&DN(e,a),!0}function T1(e,t){switch(e.tag){case D:{lN(e.stateNode.containerInfo,t);break}case N:{var a=(e.mode&Me)!==Ae;sN(e.type,e.memoizedProps,e.stateNode,t,a);break}case fe:{var u=e.memoizedState;u.dehydrated!==null&&uN(u.dehydrated,t);break}}}function w1(e,t){T1(e,t);var a=FA();a.stateNode=t,a.return=e;var u=e.deletions;u===null?(e.deletions=[a],e.flags|=Ct):u.push(a)}function CS(e,t){{if(Ys)return;switch(e.tag){case D:{var a=e.stateNode.containerInfo;switch(t.tag){case N:var u=t.type;t.pendingProps,cN(a,u);break;case _:var c=t.pendingProps;dN(a,c);break}break}case N:{var p=e.type,g=e.memoizedProps,E=e.stateNode;switch(t.tag){case N:{var C=t.type,R=t.pendingProps,k=(e.mode&Me)!==Ae;vN(p,g,E,C,R,k);break}case _:{var F=t.pendingProps,M=(e.mode&Me)!==Ae;hN(p,g,E,F,M);break}}break}case fe:{var $=e.memoizedState,W=$.dehydrated;if(W!==null)switch(t.tag){case N:var Q=t.type;t.pendingProps,fN(W,Q);break;case _:var ge=t.pendingProps;pN(W,ge);break}break}default:return}}}function x1(e,t){t.flags=t.flags&~Zr|_t,CS(e,t)}function R1(e,t){switch(e.tag){case N:{var a=e.type;e.pendingProps;var u=$D(t,a);return u!==null?(e.stateNode=u,er=e,na=QD(u),!0):!1}case _:{var c=e.pendingProps,p=GD(t,c);return p!==null?(e.stateNode=p,er=e,na=null,!0):!1}case fe:{var g=WD(t);if(g!==null){var E={dehydrated:g,treeContext:ON(),retryLane:Kn};e.memoizedState=E;var C=zA(g);return C.return=e,e.child=C,er=e,na=null,!0}return!1}default:return!1}}function TS(e){return(e.mode&Me)!==Ae&&(e.flags&Qe)===He}function wS(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function xS(e){if(Da){var t=na;if(!t){TS(e)&&(CS(er,e),wS()),x1(er,e),Da=!1,er=e;return}var a=t;if(!R1(e,t)){TS(e)&&(CS(er,e),wS()),t=av(a);var u=er;if(!t||!R1(e,t)){x1(er,e),Da=!1,er=e;return}w1(u,a)}}}function _N(e,t,a){var u=e.stateNode,c=!Ys,p=ZD(u,e.type,e.memoizedProps,t,a,e,c);return e.updateQueue=p,p!==null}function MN(e){var t=e.stateNode,a=e.memoizedProps,u=JD(t,a,e);if(u){var c=er;if(c!==null)switch(c.tag){case D:{var p=c.stateNode.containerInfo,g=(c.mode&Me)!==Ae;aN(p,t,a,g);break}case N:{var E=c.type,C=c.memoizedProps,R=c.stateNode,k=(c.mode&Me)!==Ae;oN(E,C,R,t,a,k);break}}}return u}function PN(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");eN(a,e)}function FN(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return tN(a)}function k1(e){for(var t=e.return;t!==null&&t.tag!==N&&t.tag!==D&&t.tag!==fe;)t=t.return;er=t}function mg(e){if(e!==er)return!1;if(!Da)return k1(e),Da=!0,!1;if(e.tag!==D&&(e.tag!==N||iN(e.type)&&!oS(e.type,e.memoizedProps))){var t=na;if(t)if(TS(e))O1(e),wS();else for(;t;)w1(e,t),t=av(t)}return k1(e),e.tag===fe?na=FN(e):na=er?av(e.stateNode):null,!0}function zN(){return Da&&na!==null}function O1(e){for(var t=na;t;)T1(e,t),t=av(t)}function Jd(){er=null,na=null,Da=!1,Ys=!1}function D1(){Tu!==null&&(Cw(Tu),Tu=null)}function tr(){return Da}function RS(e){Tu===null?Tu=[e]:Tu.push(e)}var UN=o.ReactCurrentBatchConfig,VN=null;function HN(){return UN.transition}var Na={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var BN=function(e){for(var t=null,a=e;a!==null;)a.mode<&&(t=a),a=a.return;return t},Ks=function(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")},sv=[],cv=[],dv=[],fv=[],pv=[],vv=[],Qs=new Set;Na.recordUnsafeLifecycleWarnings=function(e,t){Qs.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&sv.push(e),e.mode<&&typeof t.UNSAFE_componentWillMount=="function"&&cv.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&dv.push(e),e.mode<&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&fv.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&pv.push(e),e.mode<&&typeof t.UNSAFE_componentWillUpdate=="function"&&vv.push(e))},Na.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;sv.length>0&&(sv.forEach(function(M){e.add(Je(M)||"Component"),Qs.add(M.type)}),sv=[]);var t=new Set;cv.length>0&&(cv.forEach(function(M){t.add(Je(M)||"Component"),Qs.add(M.type)}),cv=[]);var a=new Set;dv.length>0&&(dv.forEach(function(M){a.add(Je(M)||"Component"),Qs.add(M.type)}),dv=[]);var u=new Set;fv.length>0&&(fv.forEach(function(M){u.add(Je(M)||"Component"),Qs.add(M.type)}),fv=[]);var c=new Set;pv.length>0&&(pv.forEach(function(M){c.add(Je(M)||"Component"),Qs.add(M.type)}),pv=[]);var p=new Set;if(vv.length>0&&(vv.forEach(function(M){p.add(Je(M)||"Component"),Qs.add(M.type)}),vv=[]),t.size>0){var g=Ks(t);m(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
47
47
|
|
|
48
48
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
49
49
|
|
|
50
|
-
Please update the following components: %s`,
|
|
50
|
+
Please update the following components: %s`,g)}if(u.size>0){var E=Ks(u);m(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
51
51
|
|
|
52
52
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
53
53
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
54
54
|
|
|
55
|
-
Please update the following components: %s`,
|
|
55
|
+
Please update the following components: %s`,E)}if(p.size>0){var C=Ks(p);m(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
56
56
|
|
|
57
57
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
58
58
|
|
|
59
|
-
Please update the following components: %s`,
|
|
59
|
+
Please update the following components: %s`,C)}if(e.size>0){var R=Ks(e);S(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
60
60
|
|
|
61
61
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
62
62
|
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
63
63
|
|
|
64
|
-
Please update the following components: %s`,
|
|
64
|
+
Please update the following components: %s`,R)}if(a.size>0){var k=Ks(a);S(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
65
65
|
|
|
66
66
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
67
67
|
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
68
68
|
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
69
69
|
|
|
70
|
-
Please update the following components: %s`,k)}if(c.size>0){var
|
|
70
|
+
Please update the following components: %s`,k)}if(c.size>0){var F=Ks(c);S(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
71
71
|
|
|
72
72
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
73
73
|
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
74
74
|
|
|
75
|
-
Please update the following components: %s`,
|
|
75
|
+
Please update the following components: %s`,F)}};var gg=new Map,N1=new Set;Na.recordLegacyContextWarning=function(e,t){var a=BN(e);if(a===null){m("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!N1.has(e.type)){var u=gg.get(a);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(u===void 0&&(u=[],gg.set(a,u)),u.push(e))}},Na.flushLegacyContextWarning=function(){gg.forEach(function(e,t){if(e.length!==0){var a=e[0],u=new Set;e.forEach(function(p){u.add(Je(p)||"Component"),N1.add(p.type)});var c=Ks(u);try{kt(a),m(`Legacy context API has been detected within a strict-mode tree.
|
|
76
76
|
|
|
77
77
|
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
78
78
|
|
|
79
79
|
Please update the following components: %s
|
|
80
80
|
|
|
81
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)}finally{
|
|
81
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)}finally{hn()}}})},Na.discardPendingWarnings=function(){sv=[],cv=[],dv=[],fv=[],pv=[],vv=[],gg=new Map}}var kS,OS,DS,NS,LS,L1=function(e,t){};kS=!1,OS=!1,DS={},NS={},LS={},L1=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var a=Je(t)||"Component";NS[a]||(NS[a]=!0,m('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function jN(e){return e.prototype&&e.prototype.isReactComponent}function hv(e,t,a){var u=a.ref;if(u!==null&&typeof u!="function"&&typeof u!="object"){if((e.mode<||fn)&&!(a._owner&&a._self&&a._owner.stateNode!==a._self)&&!(a._owner&&a._owner.tag!==T)&&!(typeof a.type=="function"&&!jN(a.type))&&a._owner){var c=Je(e)||"Component";DS[c]||(m('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',c,u),DS[c]=!0)}if(a._owner){var p=a._owner,g;if(p){var E=p;if(E.tag!==T)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");g=E.stateNode}if(!g)throw new Error("Missing owner for string ref "+u+". This error is likely caused by a bug in React. Please file an issue.");var C=g;No(u,"ref");var R=""+u;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===R)return t.ref;var k=function(F){var M=C.refs;F===null?delete M[R]:M[R]=F};return k._stringRef=R,k}else{if(typeof u!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!a._owner)throw new Error("Element ref was specified as a string ("+u+`) but no owner was set. This could happen for one of the following reasons:
|
|
82
82
|
1. You may be adding a ref to a function component
|
|
83
83
|
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
84
84
|
3. You have multiple copies of React loaded
|
|
85
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return o}function sg(e,t){var i=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}function cg(e){{var t=Je(e)||"Component";if(hS[t])return;hS[t]=!0,h("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function c1(e){var t=e._payload,i=e._init;return i(t)}function d1(e){function t(H,X){if(e){var V=H.deletions;V===null?(H.deletions=[X],H.flags|=bt):V.push(X)}}function i(H,X){if(!e)return null;for(var V=X;V!==null;)t(H,V),V=V.sibling;return null}function o(H,X){for(var V=new Map,oe=X;oe!==null;)oe.key!==null?V.set(oe.key,oe):V.set(oe.index,oe),oe=oe.sibling;return V}function c(H,X){var V=Xs(H,X);return V.index=0,V.sibling=null,V}function p(H,X,V){if(H.index=V,!e)return H.flags|=ip,X;var oe=H.alternate;if(oe!==null){var be=oe.index;return be<X?(H.flags|=At,X):be}else return H.flags|=At,X}function m(H){return e&&H.alternate===null&&(H.flags|=At),H}function S(H,X,V,oe){if(X===null||X.tag!==N){var be=cE(V,H.mode,oe);return be.return=H,be}else{var me=c(X,V);return me.return=H,me}}function E(H,X,V,oe){var be=V.type;if(be===la)return k(H,X,V.props.children,oe,V.key);if(X!==null&&(X.elementType===be||mx(X,V)||typeof be=="object"&&be!==null&&be.$$typeof===Xn&&c1(be)===X.type)){var me=c(X,V.props);return me.ref=iv(H,X,V),me.return=H,me._debugSource=V._source,me._debugOwner=V._owner,me}var Ye=sE(V,H.mode,oe);return Ye.ref=iv(H,X,V),Ye.return=H,Ye}function w(H,X,V,oe){if(X===null||X.tag!==_||X.stateNode.containerInfo!==V.containerInfo||X.stateNode.implementation!==V.implementation){var be=dE(V,H.mode,oe);return be.return=H,be}else{var me=c(X,V.children||[]);return me.return=H,me}}function k(H,X,V,oe,be){if(X===null||X.tag!==I){var me=Ru(V,H.mode,oe,be);return me.return=H,me}else{var Ye=c(X,V);return Ye.return=H,Ye}}function z(H,X,V){if(typeof X=="string"&&X!==""||typeof X=="number"){var oe=cE(""+X,H.mode,V);return oe.return=H,oe}if(typeof X=="object"&&X!==null){switch(X.$$typeof){case yl:{var be=sE(X,H.mode,V);return be.ref=iv(H,null,X),be.return=H,be}case bi:{var me=dE(X,H.mode,V);return me.return=H,me}case Xn:{var Ye=X._payload,Ze=X._init;return z(H,Ze(Ye),V)}}if(Cn(X)||ua(X)){var Ot=Ru(X,H.mode,V,null);return Ot.return=H,Ot}sg(H,X)}return typeof X=="function"&&cg(H),null}function P(H,X,V,oe){var be=X!==null?X.key:null;if(typeof V=="string"&&V!==""||typeof V=="number")return be!==null?null:S(H,X,""+V,oe);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case yl:return V.key===be?E(H,X,V,oe):null;case bi:return V.key===be?w(H,X,V,oe):null;case Xn:{var me=V._payload,Ye=V._init;return P(H,X,Ye(me),oe)}}if(Cn(V)||ua(V))return be!==null?null:k(H,X,V,oe,null);sg(H,V)}return typeof V=="function"&&cg(H),null}function B(H,X,V,oe,be){if(typeof oe=="string"&&oe!==""||typeof oe=="number"){var me=H.get(V)||null;return S(X,me,""+oe,be)}if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case yl:{var Ye=H.get(oe.key===null?V:oe.key)||null;return E(X,Ye,oe,be)}case bi:{var Ze=H.get(oe.key===null?V:oe.key)||null;return w(X,Ze,oe,be)}case Xn:var Ot=oe._payload,yt=oe._init;return B(H,X,V,yt(Ot),be)}if(Cn(oe)||ua(oe)){var bn=H.get(V)||null;return k(X,bn,oe,be,null)}sg(X,oe)}return typeof oe=="function"&&cg(X),null}function G(H,X,V){{if(typeof H!="object"||H===null)return X;switch(H.$$typeof){case yl:case bi:s1(H,V);var oe=H.key;if(typeof oe!="string")break;if(X===null){X=new Set,X.add(oe);break}if(!X.has(oe)){X.add(oe);break}h("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",oe);break;case Xn:var be=H._payload,me=H._init;G(me(be),X,V);break}}return X}function Q(H,X,V,oe){for(var be=null,me=0;me<V.length;me++){var Ye=V[me];be=G(Ye,be,H)}for(var Ze=null,Ot=null,yt=X,bn=0,St=0,sn=null;yt!==null&&St<V.length;St++){yt.index>St?(sn=yt,yt=null):sn=yt.sibling;var Tr=P(H,yt,V[St],oe);if(Tr===null){yt===null&&(yt=sn);break}e&&yt&&Tr.alternate===null&&t(H,yt),bn=p(Tr,bn,St),Ot===null?Ze=Tr:Ot.sibling=Tr,Ot=Tr,yt=sn}if(St===V.length){if(i(H,yt),Jn()){var or=St;Fs(H,or)}return Ze}if(yt===null){for(;St<V.length;St++){var Ni=z(H,V[St],oe);Ni!==null&&(bn=p(Ni,bn,St),Ot===null?Ze=Ni:Ot.sibling=Ni,Ot=Ni)}if(Jn()){var Pr=St;Fs(H,Pr)}return Ze}for(var Fr=o(H,yt);St<V.length;St++){var xr=B(Fr,H,St,V[St],oe);xr!==null&&(e&&xr.alternate!==null&&Fr.delete(xr.key===null?St:xr.key),bn=p(xr,bn,St),Ot===null?Ze=xr:Ot.sibling=xr,Ot=xr)}if(e&&Fr.forEach(function(sf){return t(H,sf)}),Jn()){var cl=St;Fs(H,cl)}return Ze}function ve(H,X,V,oe){var be=ua(V);if(typeof be!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&V[Symbol.toStringTag]==="Generator"&&(fS||h("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),fS=!0),V.entries===be&&(dS||h("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),dS=!0);var me=be.call(V);if(me)for(var Ye=null,Ze=me.next();!Ze.done;Ze=me.next()){var Ot=Ze.value;Ye=G(Ot,Ye,H)}}var yt=be.call(V);if(yt==null)throw new Error("An iterable object provided no iterator.");for(var bn=null,St=null,sn=X,Tr=0,or=0,Ni=null,Pr=yt.next();sn!==null&&!Pr.done;or++,Pr=yt.next()){sn.index>or?(Ni=sn,sn=null):Ni=sn.sibling;var Fr=P(H,sn,Pr.value,oe);if(Fr===null){sn===null&&(sn=Ni);break}e&&sn&&Fr.alternate===null&&t(H,sn),Tr=p(Fr,Tr,or),St===null?bn=Fr:St.sibling=Fr,St=Fr,sn=Ni}if(Pr.done){if(i(H,sn),Jn()){var xr=or;Fs(H,xr)}return bn}if(sn===null){for(;!Pr.done;or++,Pr=yt.next()){var cl=z(H,Pr.value,oe);cl!==null&&(Tr=p(cl,Tr,or),St===null?bn=cl:St.sibling=cl,St=cl)}if(Jn()){var sf=or;Fs(H,sf)}return bn}for(var Pv=o(H,sn);!Pr.done;or++,Pr=yt.next()){var mo=B(Pv,H,or,Pr.value,oe);mo!==null&&(e&&mo.alternate!==null&&Pv.delete(mo.key===null?or:mo.key),Tr=p(mo,Tr,or),St===null?bn=mo:St.sibling=mo,St=mo)}if(e&&Pv.forEach(function(NA){return t(H,NA)}),Jn()){var DA=or;Fs(H,DA)}return bn}function je(H,X,V,oe){if(X!==null&&X.tag===N){i(H,X.sibling);var be=c(X,V);return be.return=H,be}i(H,X);var me=cE(V,H.mode,oe);return me.return=H,me}function Ie(H,X,V,oe){for(var be=V.key,me=X;me!==null;){if(me.key===be){var Ye=V.type;if(Ye===la){if(me.tag===I){i(H,me.sibling);var Ze=c(me,V.props.children);return Ze.return=H,Ze._debugSource=V._source,Ze._debugOwner=V._owner,Ze}}else if(me.elementType===Ye||mx(me,V)||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===Xn&&c1(Ye)===me.type){i(H,me.sibling);var Ot=c(me,V.props);return Ot.ref=iv(H,me,V),Ot.return=H,Ot._debugSource=V._source,Ot._debugOwner=V._owner,Ot}i(H,me);break}else t(H,me);me=me.sibling}if(V.type===la){var yt=Ru(V.props.children,H.mode,oe,V.key);return yt.return=H,yt}else{var bn=sE(V,H.mode,oe);return bn.ref=iv(H,X,V),bn.return=H,bn}}function ht(H,X,V,oe){for(var be=V.key,me=X;me!==null;){if(me.key===be)if(me.tag===_&&me.stateNode.containerInfo===V.containerInfo&&me.stateNode.implementation===V.implementation){i(H,me.sibling);var Ye=c(me,V.children||[]);return Ye.return=H,Ye}else{i(H,me);break}else t(H,me);me=me.sibling}var Ze=dE(V,H.mode,oe);return Ze.return=H,Ze}function ct(H,X,V,oe){var be=typeof V=="object"&&V!==null&&V.type===la&&V.key===null;if(be&&(V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case yl:return m(Ie(H,X,V,oe));case bi:return m(ht(H,X,V,oe));case Xn:var me=V._payload,Ye=V._init;return ct(H,X,Ye(me),oe)}if(Cn(V))return Q(H,X,V,oe);if(ua(V))return ve(H,X,V,oe);sg(H,V)}return typeof V=="string"&&V!==""||typeof V=="number"?m(je(H,X,""+V,oe)):(typeof V=="function"&&cg(H),i(H,X))}return ct}var $d=d1(!0),f1=d1(!1);function aN(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var i=t.child,o=Xs(i,i.pendingProps);for(t.child=o,o.return=t;i.sibling!==null;)i=i.sibling,o=o.sibling=Xs(i,i.pendingProps),o.return=t;o.sibling=null}}function oN(e,t){for(var i=e.child;i!==null;)Y_(i,t),i=i.sibling}var mS=fu(null),gS;gS={};var dg=null,Gd=null,yS=null,fg=!1;function pg(){dg=null,Gd=null,yS=null,fg=!1}function p1(){fg=!0}function v1(){fg=!1}function h1(e,t,i){Er(mS,t._currentValue,e),t._currentValue=i,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==gS&&h("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=gS}function SS(e,t){var i=mS.current;br(mS,t),e._currentValue=i}function bS(e,t,i){for(var o=e;o!==null;){var c=o.alternate;if(Go(o.childLanes,t)?c!==null&&!Go(c.childLanes,t)&&(c.childLanes=et(c.childLanes,t)):(o.childLanes=et(o.childLanes,t),c!==null&&(c.childLanes=et(c.childLanes,t))),o===i)break;o=o.return}o!==i&&h("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function lN(e,t,i){uN(e,t,i)}function uN(e,t,i){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var c=void 0,p=o.dependencies;if(p!==null){c=o.child;for(var m=p.firstContext;m!==null;){if(m.context===t){if(o.tag===C){var S=Yl(i),E=il(_t,S);E.tag=hg;var w=o.updateQueue;if(w!==null){var k=w.shared,z=k.pending;z===null?E.next=E:(E.next=z.next,z.next=E),k.pending=E}}o.lanes=et(o.lanes,i);var P=o.alternate;P!==null&&(P.lanes=et(P.lanes,i)),bS(o.return,i,e),p.lanes=et(p.lanes,i);break}m=m.next}}else if(o.tag===Te)c=o.type===e.type?null:o.child;else if(o.tag===Se){var B=o.return;if(B===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");B.lanes=et(B.lanes,i);var G=B.alternate;G!==null&&(G.lanes=et(G.lanes,i)),bS(B,i,e),c=o.sibling}else c=o.child;if(c!==null)c.return=o;else for(c=o;c!==null;){if(c===e){c=null;break}var Q=c.sibling;if(Q!==null){Q.return=c.return,c=Q;break}c=c.return}o=c}}function Wd(e,t){dg=e,Gd=null,yS=null;var i=e.dependencies;if(i!==null){var o=i.firstContext;o!==null&&(yr(i.lanes,t)&&Sv(),i.firstContext=null)}}function On(e){fg&&h("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(yS!==e){var i={context:e,memoizedValue:t,next:null};if(Gd===null){if(dg===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Gd=i,dg.dependencies={lanes:ee,firstContext:i}}else Gd=Gd.next=i}return t}var js=null;function ES(e){js===null?js=[e]:js.push(e)}function sN(){if(js!==null){for(var e=0;e<js.length;e++){var t=js[e],i=t.interleaved;if(i!==null){t.interleaved=null;var o=i.next,c=t.pending;if(c!==null){var p=c.next;c.next=o,i.next=p}t.pending=i}}js=null}}function m1(e,t,i,o){var c=t.interleaved;return c===null?(i.next=i,ES(t)):(i.next=c.next,c.next=i),t.interleaved=i,vg(e,o)}function cN(e,t,i,o){var c=t.interleaved;c===null?(i.next=i,ES(t)):(i.next=c.next,c.next=i),t.interleaved=i}function dN(e,t,i,o){var c=t.interleaved;return c===null?(i.next=i,ES(t)):(i.next=c.next,c.next=i),t.interleaved=i,vg(e,o)}function oi(e,t){return vg(e,t)}var fN=vg;function vg(e,t){e.lanes=et(e.lanes,t);var i=e.alternate;i!==null&&(i.lanes=et(i.lanes,t)),i===null&&(e.flags&(At|Kr))!==Ue&&fx(e);for(var o=e,c=e.return;c!==null;)c.childLanes=et(c.childLanes,t),i=c.alternate,i!==null?i.childLanes=et(i.childLanes,t):(c.flags&(At|Kr))!==Ue&&fx(e),o=c,c=c.return;if(o.tag===O){var p=o.stateNode;return p}else return null}var g1=0,y1=1,hg=2,CS=3,mg=!1,TS,gg;TS=!1,gg=null;function xS(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ee},effects:null};e.updateQueue=t}function S1(e,t){var i=t.updateQueue,o=e.updateQueue;if(i===o){var c={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects};t.updateQueue=c}}function il(e,t){var i={eventTime:e,lane:t,tag:g1,payload:null,callback:null,next:null};return i}function mu(e,t,i){var o=e.updateQueue;if(o===null)return null;var c=o.shared;if(gg===c&&!TS&&(h("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),TS=!0),c_()){var p=c.pending;return p===null?t.next=t:(t.next=p.next,p.next=t),c.pending=t,fN(e,i)}else return dN(e,c,t,i)}function yg(e,t,i){var o=t.updateQueue;if(o!==null){var c=o.shared;if(Sp(i)){var p=c.lanes;p=sd(p,e.pendingLanes);var m=et(p,i);c.lanes=m,bp(e,m)}}}function wS(e,t){var i=e.updateQueue,o=e.alternate;if(o!==null){var c=o.updateQueue;if(i===c){var p=null,m=null,S=i.firstBaseUpdate;if(S!==null){var E=S;do{var w={eventTime:E.eventTime,lane:E.lane,tag:E.tag,payload:E.payload,callback:E.callback,next:null};m===null?p=m=w:(m.next=w,m=w),E=E.next}while(E!==null);m===null?p=m=t:(m.next=t,m=t)}else p=m=t;i={baseState:c.baseState,firstBaseUpdate:p,lastBaseUpdate:m,shared:c.shared,effects:c.effects},e.updateQueue=i;return}}var k=i.lastBaseUpdate;k===null?i.firstBaseUpdate=t:k.next=t,i.lastBaseUpdate=t}function pN(e,t,i,o,c,p){switch(i.tag){case y1:{var m=i.payload;if(typeof m=="function"){p1();var S=m.call(p,o,c);{if(e.mode&at){ln(!0);try{m.call(p,o,c)}finally{ln(!1)}}v1()}return S}return m}case CS:e.flags=e.flags&~xn|Qe;case g1:{var E=i.payload,w;if(typeof E=="function"){p1(),w=E.call(p,o,c);{if(e.mode&at){ln(!0);try{E.call(p,o,c)}finally{ln(!1)}}v1()}}else w=E;return w==null?o:ut({},o,w)}case hg:return mg=!0,o}return o}function Sg(e,t,i,o){var c=e.updateQueue;mg=!1,gg=c.shared;var p=c.firstBaseUpdate,m=c.lastBaseUpdate,S=c.shared.pending;if(S!==null){c.shared.pending=null;var E=S,w=E.next;E.next=null,m===null?p=w:m.next=w,m=E;var k=e.alternate;if(k!==null){var z=k.updateQueue,P=z.lastBaseUpdate;P!==m&&(P===null?z.firstBaseUpdate=w:P.next=w,z.lastBaseUpdate=E)}}if(p!==null){var B=c.baseState,G=ee,Q=null,ve=null,je=null,Ie=p;do{var ht=Ie.lane,ct=Ie.eventTime;if(Go(o,ht)){if(je!==null){var X={eventTime:ct,lane:un,tag:Ie.tag,payload:Ie.payload,callback:Ie.callback,next:null};je=je.next=X}B=pN(e,c,Ie,B,t,i);var V=Ie.callback;if(V!==null&&Ie.lane!==un){e.flags|=Vi;var oe=c.effects;oe===null?c.effects=[Ie]:oe.push(Ie)}}else{var H={eventTime:ct,lane:ht,tag:Ie.tag,payload:Ie.payload,callback:Ie.callback,next:null};je===null?(ve=je=H,Q=B):je=je.next=H,G=et(G,ht)}if(Ie=Ie.next,Ie===null){if(S=c.shared.pending,S===null)break;var be=S,me=be.next;be.next=null,Ie=me,c.lastBaseUpdate=be,c.shared.pending=null}}while(!0);je===null&&(Q=B),c.baseState=Q,c.firstBaseUpdate=ve,c.lastBaseUpdate=je;var Ye=c.shared.interleaved;if(Ye!==null){var Ze=Ye;do G=et(G,Ze.lane),Ze=Ze.next;while(Ze!==Ye)}else p===null&&(c.shared.lanes=ee);Lv(G),e.lanes=G,e.memoizedState=B}gg=null}function vN(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function b1(){mg=!1}function bg(){return mg}function E1(e,t,i){var o=t.effects;if(t.effects=null,o!==null)for(var c=0;c<o.length;c++){var p=o[c],m=p.callback;m!==null&&(p.callback=null,vN(m,i))}}var av={},gu=fu(av),ov=fu(av),Eg=fu(av);function Cg(e){if(e===av)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function C1(){var e=Cg(Eg.current);return e}function RS(e,t){Er(Eg,t,e),Er(ov,e,e),Er(gu,av,e);var i=LO(t);br(gu,e),Er(gu,i,e)}function Yd(e){br(gu,e),br(ov,e),br(Eg,e)}function kS(){var e=Cg(gu.current);return e}function T1(e){Cg(Eg.current);var t=Cg(gu.current),i=_O(t,e.type);t!==i&&(Er(ov,e,e),Er(gu,i,e))}function OS(e){ov.current===e&&(br(gu,e),br(ov,e))}var hN=0,x1=1,w1=1,lv=2,ka=fu(hN);function DS(e,t){return(e&t)!==0}function Kd(e){return e&x1}function NS(e,t){return e&x1|t}function mN(e,t){return e|t}function yu(e,t){Er(ka,t,e)}function Qd(e){br(ka,e)}function gN(e,t){var i=e.memoizedState;return i!==null?i.dehydrated!==null:(e.memoizedProps,!0)}function Tg(e){for(var t=e;t!==null;){if(t.tag===xe){var i=t.memoizedState;if(i!==null){var o=i.dehydrated;if(o===null||jC(o)||K0(o))return t}}else if(t.tag===le&&t.memoizedProps.revealOrder!==void 0){var c=(t.flags&Qe)!==Ue;if(c)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var li=0,An=1,uo=2,In=4,er=8,LS=[];function _S(){for(var e=0;e<LS.length;e++){var t=LS[e];t._workInProgressVersionPrimary=null}LS.length=0}function yN(e,t){var i=t._getVersion,o=i(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,o]:e.mutableSourceEagerHydrationData.push(t,o)}var ye=l.ReactCurrentDispatcher,uv=l.ReactCurrentBatchConfig,AS,Xd;AS=new Set;var Bs=ee,kt=null,Mn=null,Pn=null,xg=!1,sv=!1,cv=0,SN=0,bN=25,q=null,Xi=null,Su=-1,IS=!1;function Tt(){{var e=q;Xi===null?Xi=[e]:Xi.push(e)}}function fe(){{var e=q;Xi!==null&&(Su++,Xi[Su]!==e&&EN(e))}}function qd(e){e!=null&&!Cn(e)&&h("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",q,typeof e)}function EN(e){{var t=Je(kt);if(!AS.has(t)&&(AS.add(t),Xi!==null)){for(var i="",o=30,c=0;c<=Su;c++){for(var p=Xi[c],m=c===Su?e:p,S=c+1+". "+p;S.length<o;)S+=" ";S+=m+`
|
|
86
|
-
`,
|
|
85
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return u}function yg(e,t){var a=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}function Sg(e){{var t=Je(e)||"Component";if(LS[t])return;LS[t]=!0,m("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function I1(e){var t=e._payload,a=e._init;return a(t)}function A1(e){function t(V,q){if(e){var H=V.deletions;H===null?(V.deletions=[q],V.flags|=Ct):H.push(q)}}function a(V,q){if(!e)return null;for(var H=q;H!==null;)t(V,H),H=H.sibling;return null}function u(V,q){for(var H=new Map,ue=q;ue!==null;)ue.key!==null?H.set(ue.key,ue):H.set(ue.index,ue),ue=ue.sibling;return H}function c(V,q){var H=ic(V,q);return H.index=0,H.sibling=null,H}function p(V,q,H){if(V.index=H,!e)return V.flags|=hp,q;var ue=V.alternate;if(ue!==null){var Te=ue.index;return Te<q?(V.flags|=_t,q):Te}else return V.flags|=_t,q}function g(V){return e&&V.alternate===null&&(V.flags|=_t),V}function E(V,q,H,ue){if(q===null||q.tag!==_){var Te=Rb(H,V.mode,ue);return Te.return=V,Te}else{var Se=c(q,H);return Se.return=V,Se}}function C(V,q,H,ue){var Te=H.type;if(Te===da)return k(V,q,H.props.children,ue,H.key);if(q!==null&&(q.elementType===Te||zw(q,H)||typeof Te=="object"&&Te!==null&&Te.$$typeof===Zn&&I1(Te)===q.type)){var Se=c(q,H.props);return Se.ref=hv(V,q,H),Se.return=V,Se._debugSource=H._source,Se._debugOwner=H._owner,Se}var Ke=xb(H,V.mode,ue);return Ke.ref=hv(V,q,H),Ke.return=V,Ke}function R(V,q,H,ue){if(q===null||q.tag!==L||q.stateNode.containerInfo!==H.containerInfo||q.stateNode.implementation!==H.implementation){var Te=kb(H,V.mode,ue);return Te.return=V,Te}else{var Se=c(q,H.children||[]);return Se.return=V,Se}}function k(V,q,H,ue,Te){if(q===null||q.tag!==B){var Se=_u(H,V.mode,ue,Te);return Se.return=V,Se}else{var Ke=c(q,H);return Ke.return=V,Ke}}function F(V,q,H){if(typeof q=="string"&&q!==""||typeof q=="number"){var ue=Rb(""+q,V.mode,H);return ue.return=V,ue}if(typeof q=="object"&&q!==null){switch(q.$$typeof){case Rl:{var Te=xb(q,V.mode,H);return Te.ref=hv(V,null,q),Te.return=V,Te}case xi:{var Se=kb(q,V.mode,H);return Se.return=V,Se}case Zn:{var Ke=q._payload,Ze=q._init;return F(V,Ze(Ke),H)}}if(wn(q)||fa(q)){var Dt=_u(q,V.mode,H,null);return Dt.return=V,Dt}yg(V,q)}return typeof q=="function"&&Sg(V),null}function M(V,q,H,ue){var Te=q!==null?q.key:null;if(typeof H=="string"&&H!==""||typeof H=="number")return Te!==null?null:E(V,q,""+H,ue);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case Rl:return H.key===Te?C(V,q,H,ue):null;case xi:return H.key===Te?R(V,q,H,ue):null;case Zn:{var Se=H._payload,Ke=H._init;return M(V,q,Ke(Se),ue)}}if(wn(H)||fa(H))return Te!==null?null:k(V,q,H,ue,null);yg(V,H)}return typeof H=="function"&&Sg(V),null}function $(V,q,H,ue,Te){if(typeof ue=="string"&&ue!==""||typeof ue=="number"){var Se=V.get(H)||null;return E(q,Se,""+ue,Te)}if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case Rl:{var Ke=V.get(ue.key===null?H:ue.key)||null;return C(q,Ke,ue,Te)}case xi:{var Ze=V.get(ue.key===null?H:ue.key)||null;return R(q,Ze,ue,Te)}case Zn:var Dt=ue._payload,Et=ue._init;return $(V,q,H,Et(Dt),Te)}if(wn(ue)||fa(ue)){var bn=V.get(H)||null;return k(q,bn,ue,Te,null)}yg(q,ue)}return typeof ue=="function"&&Sg(q),null}function W(V,q,H){{if(typeof V!="object"||V===null)return q;switch(V.$$typeof){case Rl:case xi:L1(V,H);var ue=V.key;if(typeof ue!="string")break;if(q===null){q=new Set,q.add(ue);break}if(!q.has(ue)){q.add(ue);break}m("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",ue);break;case Zn:var Te=V._payload,Se=V._init;W(Se(Te),q,H);break}}return q}function Q(V,q,H,ue){for(var Te=null,Se=0;Se<H.length;Se++){var Ke=H[Se];Te=W(Ke,Te,V)}for(var Ze=null,Dt=null,Et=q,bn=0,bt=0,sn=null;Et!==null&&bt<H.length;bt++){Et.index>bt?(sn=Et,Et=null):sn=Et.sibling;var Rr=M(V,Et,H[bt],ue);if(Rr===null){Et===null&&(Et=sn);break}e&&Et&&Rr.alternate===null&&t(V,Et),bn=p(Rr,bn,bt),Dt===null?Ze=Rr:Dt.sibling=Rr,Dt=Rr,Et=sn}if(bt===H.length){if(a(V,Et),tr()){var ur=bt;Gs(V,ur)}return Ze}if(Et===null){for(;bt<H.length;bt++){var Mi=F(V,H[bt],ue);Mi!==null&&(bn=p(Mi,bn,bt),Dt===null?Ze=Mi:Dt.sibling=Mi,Dt=Mi)}if(tr()){var Ur=bt;Gs(V,Ur)}return Ze}for(var Vr=u(V,Et);bt<H.length;bt++){var kr=$(Vr,V,bt,H[bt],ue);kr!==null&&(e&&kr.alternate!==null&&Vr.delete(kr.key===null?bt:kr.key),bn=p(kr,bn,bt),Dt===null?Ze=kr:Dt.sibling=kr,Dt=kr)}if(e&&Vr.forEach(function(Sf){return t(V,Sf)}),tr()){var gl=bt;Gs(V,gl)}return Ze}function ge(V,q,H,ue){var Te=fa(H);if(typeof Te!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&H[Symbol.toStringTag]==="Generator"&&(OS||m("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),OS=!0),H.entries===Te&&(kS||m("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),kS=!0);var Se=Te.call(H);if(Se)for(var Ke=null,Ze=Se.next();!Ze.done;Ze=Se.next()){var Dt=Ze.value;Ke=W(Dt,Ke,V)}}var Et=Te.call(H);if(Et==null)throw new Error("An iterable object provided no iterator.");for(var bn=null,bt=null,sn=q,Rr=0,ur=0,Mi=null,Ur=Et.next();sn!==null&&!Ur.done;ur++,Ur=Et.next()){sn.index>ur?(Mi=sn,sn=null):Mi=sn.sibling;var Vr=M(V,sn,Ur.value,ue);if(Vr===null){sn===null&&(sn=Mi);break}e&&sn&&Vr.alternate===null&&t(V,sn),Rr=p(Vr,Rr,ur),bt===null?bn=Vr:bt.sibling=Vr,bt=Vr,sn=Mi}if(Ur.done){if(a(V,sn),tr()){var kr=ur;Gs(V,kr)}return bn}if(sn===null){for(;!Ur.done;ur++,Ur=Et.next()){var gl=F(V,Ur.value,ue);gl!==null&&(Rr=p(gl,Rr,ur),bt===null?bn=gl:bt.sibling=gl,bt=gl)}if(tr()){var Sf=ur;Gs(V,Sf)}return bn}for(var Yv=u(V,sn);!Ur.done;ur++,Ur=Et.next()){var Co=$(Yv,V,ur,Ur.value,ue);Co!==null&&(e&&Co.alternate!==null&&Yv.delete(Co.key===null?ur:Co.key),Rr=p(Co,Rr,ur),bt===null?bn=Co:bt.sibling=Co,bt=Co)}if(e&&Yv.forEach(function(h_){return t(V,h_)}),tr()){var v_=ur;Gs(V,v_)}return bn}function je(V,q,H,ue){if(q!==null&&q.tag===_){a(V,q.sibling);var Te=c(q,H);return Te.return=V,Te}a(V,q);var Se=Rb(H,V.mode,ue);return Se.return=V,Se}function Pe(V,q,H,ue){for(var Te=H.key,Se=q;Se!==null;){if(Se.key===Te){var Ke=H.type;if(Ke===da){if(Se.tag===B){a(V,Se.sibling);var Ze=c(Se,H.props.children);return Ze.return=V,Ze._debugSource=H._source,Ze._debugOwner=H._owner,Ze}}else if(Se.elementType===Ke||zw(Se,H)||typeof Ke=="object"&&Ke!==null&&Ke.$$typeof===Zn&&I1(Ke)===Se.type){a(V,Se.sibling);var Dt=c(Se,H.props);return Dt.ref=hv(V,Se,H),Dt.return=V,Dt._debugSource=H._source,Dt._debugOwner=H._owner,Dt}a(V,Se);break}else t(V,Se);Se=Se.sibling}if(H.type===da){var Et=_u(H.props.children,V.mode,ue,H.key);return Et.return=V,Et}else{var bn=xb(H,V.mode,ue);return bn.ref=hv(V,q,H),bn.return=V,bn}}function mt(V,q,H,ue){for(var Te=H.key,Se=q;Se!==null;){if(Se.key===Te)if(Se.tag===L&&Se.stateNode.containerInfo===H.containerInfo&&Se.stateNode.implementation===H.implementation){a(V,Se.sibling);var Ke=c(Se,H.children||[]);return Ke.return=V,Ke}else{a(V,Se);break}else t(V,Se);Se=Se.sibling}var Ze=kb(H,V.mode,ue);return Ze.return=V,Ze}function ft(V,q,H,ue){var Te=typeof H=="object"&&H!==null&&H.type===da&&H.key===null;if(Te&&(H=H.props.children),typeof H=="object"&&H!==null){switch(H.$$typeof){case Rl:return g(Pe(V,q,H,ue));case xi:return g(mt(V,q,H,ue));case Zn:var Se=H._payload,Ke=H._init;return ft(V,q,Ke(Se),ue)}if(wn(H))return Q(V,q,H,ue);if(fa(H))return ge(V,q,H,ue);yg(V,H)}return typeof H=="string"&&H!==""||typeof H=="number"?g(je(V,q,""+H,ue)):(typeof H=="function"&&Sg(V),a(V,q))}return ft}var ef=A1(!0),_1=A1(!1);function $N(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var a=t.child,u=ic(a,a.pendingProps);for(t.child=u,u.return=t;a.sibling!==null;)a=a.sibling,u=u.sibling=ic(a,a.pendingProps),u.return=t;u.sibling=null}}function GN(e,t){for(var a=e.child;a!==null;)IA(a,t),a=a.sibling}var IS=Eu(null),AS;AS={};var Eg=null,tf=null,_S=null,bg=!1;function Cg(){Eg=null,tf=null,_S=null,bg=!1}function M1(){bg=!0}function P1(){bg=!1}function F1(e,t,a){wr(IS,t._currentValue,e),t._currentValue=a,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==AS&&m("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=AS}function MS(e,t){var a=IS.current;Tr(IS,t),e._currentValue=a}function PS(e,t,a){for(var u=e;u!==null;){var c=u.alternate;if(Zo(u.childLanes,t)?c!==null&&!Zo(c.childLanes,t)&&(c.childLanes=et(c.childLanes,t)):(u.childLanes=et(u.childLanes,t),c!==null&&(c.childLanes=et(c.childLanes,t))),u===a)break;u=u.return}u!==a&&m("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function WN(e,t,a){YN(e,t,a)}function YN(e,t,a){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var c=void 0,p=u.dependencies;if(p!==null){c=u.child;for(var g=p.firstContext;g!==null;){if(g.context===t){if(u.tag===T){var E=tu(a),C=dl(At,E);C.tag=wg;var R=u.updateQueue;if(R!==null){var k=R.shared,F=k.pending;F===null?C.next=C:(C.next=F.next,F.next=C),k.pending=C}}u.lanes=et(u.lanes,a);var M=u.alternate;M!==null&&(M.lanes=et(M.lanes,a)),PS(u.return,a,e),p.lanes=et(p.lanes,a);break}g=g.next}}else if(u.tag===te)c=u.type===e.type?null:u.child;else if(u.tag===Ee){var $=u.return;if($===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");$.lanes=et($.lanes,a);var W=$.alternate;W!==null&&(W.lanes=et(W.lanes,a)),PS($,a,e),c=u.sibling}else c=u.child;if(c!==null)c.return=u;else for(c=u;c!==null;){if(c===e){c=null;break}var Q=c.sibling;if(Q!==null){Q.return=c.return,c=Q;break}c=c.return}u=c}}function nf(e,t){Eg=e,tf=null,_S=null;var a=e.dependencies;if(a!==null){var u=a.firstContext;u!==null&&(br(a.lanes,t)&&Nv(),a.firstContext=null)}}function Nn(e){bg&&m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(_S!==e){var a={context:e,memoizedValue:t,next:null};if(tf===null){if(Eg===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");tf=a,Eg.dependencies={lanes:ne,firstContext:a}}else tf=tf.next=a}return t}var qs=null;function FS(e){qs===null?qs=[e]:qs.push(e)}function KN(){if(qs!==null){for(var e=0;e<qs.length;e++){var t=qs[e],a=t.interleaved;if(a!==null){t.interleaved=null;var u=a.next,c=t.pending;if(c!==null){var p=c.next;c.next=u,a.next=p}t.pending=a}}qs=null}}function z1(e,t,a,u){var c=t.interleaved;return c===null?(a.next=a,FS(t)):(a.next=c.next,c.next=a),t.interleaved=a,Tg(e,u)}function QN(e,t,a,u){var c=t.interleaved;c===null?(a.next=a,FS(t)):(a.next=c.next,c.next=a),t.interleaved=a}function qN(e,t,a,u){var c=t.interleaved;return c===null?(a.next=a,FS(t)):(a.next=c.next,c.next=a),t.interleaved=a,Tg(e,u)}function ci(e,t){return Tg(e,t)}var XN=Tg;function Tg(e,t){e.lanes=et(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=et(a.lanes,t)),a===null&&(e.flags&(_t|Zr))!==He&&_w(e);for(var u=e,c=e.return;c!==null;)c.childLanes=et(c.childLanes,t),a=c.alternate,a!==null?a.childLanes=et(a.childLanes,t):(c.flags&(_t|Zr))!==He&&_w(e),u=c,c=c.return;if(u.tag===D){var p=u.stateNode;return p}else return null}var U1=0,V1=1,wg=2,zS=3,xg=!1,US,Rg;US=!1,Rg=null;function VS(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:ne},effects:null};e.updateQueue=t}function H1(e,t){var a=t.updateQueue,u=e.updateQueue;if(a===u){var c={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects};t.updateQueue=c}}function dl(e,t){var a={eventTime:e,lane:t,tag:U1,payload:null,callback:null,next:null};return a}function wu(e,t,a){var u=e.updateQueue;if(u===null)return null;var c=u.shared;if(Rg===c&&!US&&(m("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),US=!0),QI()){var p=c.pending;return p===null?t.next=t:(t.next=p.next,p.next=t),c.pending=t,XN(e,a)}else return qN(e,c,t,a)}function kg(e,t,a){var u=t.updateQueue;if(u!==null){var c=u.shared;if(Np(a)){var p=c.lanes;p=Sd(p,e.pendingLanes);var g=et(p,a);c.lanes=g,Lp(e,g)}}}function HS(e,t){var a=e.updateQueue,u=e.alternate;if(u!==null){var c=u.updateQueue;if(a===c){var p=null,g=null,E=a.firstBaseUpdate;if(E!==null){var C=E;do{var R={eventTime:C.eventTime,lane:C.lane,tag:C.tag,payload:C.payload,callback:C.callback,next:null};g===null?p=g=R:(g.next=R,g=R),C=C.next}while(C!==null);g===null?p=g=t:(g.next=t,g=t)}else p=g=t;a={baseState:c.baseState,firstBaseUpdate:p,lastBaseUpdate:g,shared:c.shared,effects:c.effects},e.updateQueue=a;return}}var k=a.lastBaseUpdate;k===null?a.firstBaseUpdate=t:k.next=t,a.lastBaseUpdate=t}function ZN(e,t,a,u,c,p){switch(a.tag){case V1:{var g=a.payload;if(typeof g=="function"){M1();var E=g.call(p,u,c);{if(e.mode<){ln(!0);try{g.call(p,u,c)}finally{ln(!1)}}P1()}return E}return g}case zS:e.flags=e.flags&~Rn|Qe;case U1:{var C=a.payload,R;if(typeof C=="function"){M1(),R=C.call(p,u,c);{if(e.mode<){ln(!0);try{C.call(p,u,c)}finally{ln(!1)}}P1()}}else R=C;return R==null?u:ct({},u,R)}case wg:return xg=!0,u}return u}function Og(e,t,a,u){var c=e.updateQueue;xg=!1,Rg=c.shared;var p=c.firstBaseUpdate,g=c.lastBaseUpdate,E=c.shared.pending;if(E!==null){c.shared.pending=null;var C=E,R=C.next;C.next=null,g===null?p=R:g.next=R,g=C;var k=e.alternate;if(k!==null){var F=k.updateQueue,M=F.lastBaseUpdate;M!==g&&(M===null?F.firstBaseUpdate=R:M.next=R,F.lastBaseUpdate=C)}}if(p!==null){var $=c.baseState,W=ne,Q=null,ge=null,je=null,Pe=p;do{var mt=Pe.lane,ft=Pe.eventTime;if(Zo(u,mt)){if(je!==null){var q={eventTime:ft,lane:un,tag:Pe.tag,payload:Pe.payload,callback:Pe.callback,next:null};je=je.next=q}$=ZN(e,c,Pe,$,t,a);var H=Pe.callback;if(H!==null&&Pe.lane!==un){e.flags|=Ki;var ue=c.effects;ue===null?c.effects=[Pe]:ue.push(Pe)}}else{var V={eventTime:ft,lane:mt,tag:Pe.tag,payload:Pe.payload,callback:Pe.callback,next:null};je===null?(ge=je=V,Q=$):je=je.next=V,W=et(W,mt)}if(Pe=Pe.next,Pe===null){if(E=c.shared.pending,E===null)break;var Te=E,Se=Te.next;Te.next=null,Pe=Se,c.lastBaseUpdate=Te,c.shared.pending=null}}while(!0);je===null&&(Q=$),c.baseState=Q,c.firstBaseUpdate=ge,c.lastBaseUpdate=je;var Ke=c.shared.interleaved;if(Ke!==null){var Ze=Ke;do W=et(W,Ze.lane),Ze=Ze.next;while(Ze!==Ke)}else p===null&&(c.shared.lanes=ne);Bv(W),e.lanes=W,e.memoizedState=$}Rg=null}function JN(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function B1(){xg=!1}function Dg(){return xg}function j1(e,t,a){var u=t.effects;if(t.effects=null,u!==null)for(var c=0;c<u.length;c++){var p=u[c],g=p.callback;g!==null&&(p.callback=null,JN(g,a))}}var mv={},xu=Eu(mv),gv=Eu(mv),Ng=Eu(mv);function Lg(e){if(e===mv)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function $1(){var e=Lg(Ng.current);return e}function BS(e,t){wr(Ng,t,e),wr(gv,e,e),wr(xu,mv,e);var a=mD(t);Tr(xu,e),wr(xu,a,e)}function rf(e){Tr(xu,e),Tr(gv,e),Tr(Ng,e)}function jS(){var e=Lg(xu.current);return e}function G1(e){Lg(Ng.current);var t=Lg(xu.current),a=gD(t,e.type);t!==a&&(wr(gv,e,e),wr(xu,a,e))}function $S(e){gv.current===e&&(Tr(xu,e),Tr(gv,e))}var eL=0,W1=1,Y1=1,yv=2,La=Eu(eL);function GS(e,t){return(e&t)!==0}function af(e){return e&W1}function WS(e,t){return e&W1|t}function tL(e,t){return e|t}function Ru(e,t){wr(La,t,e)}function of(e){Tr(La,e)}function nL(e,t){var a=e.memoizedState;return a!==null?a.dehydrated!==null:(e.memoizedProps,!0)}function Ig(e){for(var t=e;t!==null;){if(t.tag===fe){var a=t.memoizedState;if(a!==null){var u=a.dehydrated;if(u===null||c1(u)||cS(u))return t}}else if(t.tag===se&&t.memoizedProps.revealOrder!==void 0){var c=(t.flags&Qe)!==He;if(c)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var di=0,Mn=1,ho=2,Pn=4,nr=8,YS=[];function KS(){for(var e=0;e<YS.length;e++){var t=YS[e];t._workInProgressVersionPrimary=null}YS.length=0}function rL(e,t){var a=t._getVersion,u=a(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,u]:e.mutableSourceEagerHydrationData.push(t,u)}var Ce=o.ReactCurrentDispatcher,Sv=o.ReactCurrentBatchConfig,QS,lf;QS=new Set;var Xs=ne,Ot=null,Fn=null,zn=null,Ag=!1,Ev=!1,bv=0,iL=0,aL=25,J=null,ra=null,ku=-1,qS=!1;function wt(){{var e=J;ra===null?ra=[e]:ra.push(e)}}function he(){{var e=J;ra!==null&&(ku++,ra[ku]!==e&&oL(e))}}function uf(e){e!=null&&!wn(e)&&m("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",J,typeof e)}function oL(e){{var t=Je(Ot);if(!QS.has(t)&&(QS.add(t),ra!==null)){for(var a="",u=30,c=0;c<=ku;c++){for(var p=ra[c],g=c===ku?e:p,E=c+1+". "+p;E.length<u;)E+=" ";E+=g+`
|
|
86
|
+
`,a+=E}m(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
87
87
|
|
|
88
88
|
Previous render Next render
|
|
89
89
|
------------------------------------------------------
|
|
90
90
|
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
91
|
-
`,t,
|
|
91
|
+
`,t,a)}}}function xr(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
92
92
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
93
93
|
2. You might be breaking the Rules of Hooks
|
|
94
94
|
3. You might have more than one copy of React in the same app
|
|
95
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function
|
|
95
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function XS(e,t){if(qS)return!1;if(t===null)return m("%s 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.",J),!1;e.length!==t.length&&m(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
96
96
|
|
|
97
97
|
Previous: %s
|
|
98
|
-
Incoming: %s`,q,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var i=0;i<t.length&&i<e.length;i++)if(!ke(e[i],t[i]))return!1;return!0}function Zd(e,t,i,o,c,p){Bs=p,kt=t,Xi=e!==null?e._debugHookTypes:null,Su=-1,IS=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ee,e!==null&&e.memoizedState!==null?ye.current=Y1:Xi!==null?ye.current=W1:ye.current=G1;var m=i(o,c);if(sv){var S=0;do{if(sv=!1,cv=0,S>=bN)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");S+=1,IS=!1,Mn=null,Pn=null,t.updateQueue=null,Su=-1,ye.current=K1,m=i(o,c)}while(sv)}ye.current=Fg,t._debugHookTypes=Xi;var E=Mn!==null&&Mn.next!==null;if(Bs=ee,kt=null,Mn=null,Pn=null,q=null,Xi=null,Su=-1,e!==null&&(e.flags&Nn)!==(t.flags&Nn)&&(e.mode&Ae)!==Le&&h("Internal React error: Expected static flag was missing. Please notify the React team."),xg=!1,E)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return m}function Jd(){var e=cv!==0;return cv=0,e}function R1(e,t,i){t.updateQueue=e.updateQueue,(t.mode&Lr)!==Le?t.flags&=~(Po|fr|zt|tt):t.flags&=~(zt|tt),e.lanes=bs(e.lanes,i)}function k1(){if(ye.current=Fg,xg){for(var e=kt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}xg=!1}Bs=ee,kt=null,Mn=null,Pn=null,Xi=null,Su=-1,q=null,H1=!1,sv=!1,cv=0}function so(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pn===null?kt.memoizedState=Pn=e:Pn=Pn.next=e,Pn}function qi(){var e;if(Mn===null){var t=kt.alternate;t!==null?e=t.memoizedState:e=null}else e=Mn.next;var i;if(Pn===null?i=kt.memoizedState:i=Pn.next,i!==null)Pn=i,i=Pn.next,Mn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Mn=e;var o={memoizedState:Mn.memoizedState,baseState:Mn.baseState,baseQueue:Mn.baseQueue,queue:Mn.queue,next:null};Pn===null?kt.memoizedState=Pn=o:Pn=Pn.next=o}return Pn}function O1(){return{lastEffect:null,stores:null}}function PS(e,t){return typeof t=="function"?t(e):t}function FS(e,t,i){var o=so(),c;i!==void 0?c=i(t):c=t,o.memoizedState=o.baseState=c;var p={pending:null,interleaved:null,lanes:ee,dispatch:null,lastRenderedReducer:e,lastRenderedState:c};o.queue=p;var m=p.dispatch=wN.bind(null,kt,p);return[o.memoizedState,m]}function zS(e,t,i){var o=qi(),c=o.queue;if(c===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");c.lastRenderedReducer=e;var p=Mn,m=p.baseQueue,S=c.pending;if(S!==null){if(m!==null){var E=m.next,w=S.next;m.next=w,S.next=E}p.baseQueue!==m&&h("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),p.baseQueue=m=S,c.pending=null}if(m!==null){var k=m.next,z=p.baseState,P=null,B=null,G=null,Q=k;do{var ve=Q.lane;if(Go(Bs,ve)){if(G!==null){var Ie={lane:un,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null};G=G.next=Ie}if(Q.hasEagerState)z=Q.eagerState;else{var ht=Q.action;z=e(z,ht)}}else{var je={lane:ve,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null};G===null?(B=G=je,P=z):G=G.next=je,kt.lanes=et(kt.lanes,ve),Lv(ve)}Q=Q.next}while(Q!==null&&Q!==k);G===null?P=z:G.next=B,ke(z,o.memoizedState)||Sv(),o.memoizedState=z,o.baseState=P,o.baseQueue=G,c.lastRenderedState=z}var ct=c.interleaved;if(ct!==null){var H=ct;do{var X=H.lane;kt.lanes=et(kt.lanes,X),Lv(X),H=H.next}while(H!==ct)}else m===null&&(c.lanes=ee);var V=c.dispatch;return[o.memoizedState,V]}function US(e,t,i){var o=qi(),c=o.queue;if(c===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");c.lastRenderedReducer=e;var p=c.dispatch,m=c.pending,S=o.memoizedState;if(m!==null){c.pending=null;var E=m.next,w=E;do{var k=w.action;S=e(S,k),w=w.next}while(w!==E);ke(S,o.memoizedState)||Sv(),o.memoizedState=S,o.baseQueue===null&&(o.baseState=S),c.lastRenderedState=S}return[S,p]}function Qz(e,t,i){}function Xz(e,t,i){}function HS(e,t,i){var o=kt,c=so(),p,m=Jn();if(m){if(i===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");p=i(),Xd||p!==i()&&(h("The result of getServerSnapshot should be cached to avoid an infinite loop"),Xd=!0)}else{if(p=t(),!Xd){var S=t();ke(p,S)||(h("The result of getSnapshot should be cached to avoid an infinite loop"),Xd=!0)}var E=ny();if(E===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ss(E,Bs)||D1(o,t,p)}c.memoizedState=p;var w={value:p,getSnapshot:t};return c.queue=w,Dg(L1.bind(null,o,w,e),[e]),o.flags|=zt,dv(An|er,N1.bind(null,o,w,p,t),void 0,null),p}function wg(e,t,i){var o=kt,c=qi(),p=t();if(!Xd){var m=t();ke(p,m)||(h("The result of getSnapshot should be cached to avoid an infinite loop"),Xd=!0)}var S=c.memoizedState,E=!ke(S,p);E&&(c.memoizedState=p,Sv());var w=c.queue;if(pv(L1.bind(null,o,w,e),[e]),w.getSnapshot!==t||E||Pn!==null&&Pn.memoizedState.tag&An){o.flags|=zt,dv(An|er,N1.bind(null,o,w,p,t),void 0,null);var k=ny();if(k===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ss(k,Bs)||D1(o,t,p)}return p}function D1(e,t,i){e.flags|=ss;var o={getSnapshot:t,value:i},c=kt.updateQueue;if(c===null)c=O1(),kt.updateQueue=c,c.stores=[o];else{var p=c.stores;p===null?c.stores=[o]:p.push(o)}}function N1(e,t,i,o){t.value=i,t.getSnapshot=o,_1(t)&&A1(e)}function L1(e,t,i){var o=function(){_1(t)&&A1(e)};return i(o)}function _1(e){var t=e.getSnapshot,i=e.value;try{var o=t();return!ke(i,o)}catch{return!0}}function A1(e){var t=oi(e,Pe);t!==null&&Hn(t,e,Pe,_t)}function Rg(e){var t=so();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var i={pending:null,interleaved:null,lanes:ee,dispatch:null,lastRenderedReducer:PS,lastRenderedState:e};t.queue=i;var o=i.dispatch=RN.bind(null,kt,i);return[t.memoizedState,o]}function VS(e){return zS(PS)}function jS(e){return US(PS)}function dv(e,t,i,o){var c={tag:e,create:t,destroy:i,deps:o,next:null},p=kt.updateQueue;if(p===null)p=O1(),kt.updateQueue=p,p.lastEffect=c.next=c;else{var m=p.lastEffect;if(m===null)p.lastEffect=c.next=c;else{var S=m.next;m.next=c,c.next=S,p.lastEffect=c}}return c}function BS(e){var t=so();{var i={current:e};return t.memoizedState=i,i}}function kg(e){var t=qi();return t.memoizedState}function fv(e,t,i,o){var c=so(),p=o===void 0?null:o;kt.flags|=e,c.memoizedState=dv(An|t,i,void 0,p)}function Og(e,t,i,o){var c=qi(),p=o===void 0?null:o,m=void 0;if(Mn!==null){var S=Mn.memoizedState;if(m=S.destroy,p!==null){var E=S.deps;if(MS(p,E)){c.memoizedState=dv(t,i,m,p);return}}}kt.flags|=e,c.memoizedState=dv(An|t,i,m,p)}function Dg(e,t){return(kt.mode&Lr)!==Le?fv(Po|zt|Xa,er,e,t):fv(zt|Xa,er,e,t)}function pv(e,t){return Og(zt,er,e,t)}function $S(e,t){return fv(tt,uo,e,t)}function Ng(e,t){return Og(tt,uo,e,t)}function GS(e,t){var i=tt;return i|=dr,(kt.mode&Lr)!==Le&&(i|=fr),fv(i,In,e,t)}function Lg(e,t){return Og(tt,In,e,t)}function I1(e,t){if(typeof t=="function"){var i=t,o=e();return i(o),function(){i(null)}}else if(t!=null){var c=t;c.hasOwnProperty("current")||h("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(c).join(", ")+"}");var p=e();return c.current=p,function(){c.current=null}}}function WS(e,t,i){typeof t!="function"&&h("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var o=i!=null?i.concat([e]):null,c=tt;return c|=dr,(kt.mode&Lr)!==Le&&(c|=fr),fv(c,In,I1.bind(null,t,e),o)}function _g(e,t,i){typeof t!="function"&&h("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var o=i!=null?i.concat([e]):null;return Og(tt,In,I1.bind(null,t,e),o)}function CN(e,t){}var Ag=CN;function YS(e,t){var i=so(),o=t===void 0?null:t;return i.memoizedState=[e,o],e}function Ig(e,t){var i=qi(),o=t===void 0?null:t,c=i.memoizedState;if(c!==null&&o!==null){var p=c[1];if(MS(o,p))return c[0]}return i.memoizedState=[e,o],e}function KS(e,t){var i=so(),o=t===void 0?null:t,c=e();return i.memoizedState=[c,o],c}function Mg(e,t){var i=qi(),o=t===void 0?null:t,c=i.memoizedState;if(c!==null&&o!==null){var p=c[1];if(MS(o,p))return c[0]}var m=e();return i.memoizedState=[m,o],m}function QS(e){var t=so();return t.memoizedState=e,e}function M1(e){var t=qi(),i=Mn,o=i.memoizedState;return F1(t,o,e)}function P1(e){var t=qi();if(Mn===null)return t.memoizedState=e,e;var i=Mn.memoizedState;return F1(t,i,e)}function F1(e,t,i){var o=!dm(Bs);if(o){if(!ke(i,t)){var c=vm();kt.lanes=et(kt.lanes,c),Lv(c),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Sv()),e.memoizedState=i,i}function TN(e,t,i){var o=ei();Qt(h0(o,ba)),e(!0);var c=uv.transition;uv.transition={};var p=uv.transition;uv.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Qt(o),uv.transition=c,c===null&&p._updatedFibers){var m=p._updatedFibers.size;m>10&&b("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),p._updatedFibers.clear()}}}function XS(){var e=Rg(!1),t=e[0],i=e[1],o=TN.bind(null,i),c=so();return c.memoizedState=o,[t,o]}function z1(){var e=VS(),t=e[0],i=qi(),o=i.memoizedState;return[t,o]}function U1(){var e=jS(),t=e[0],i=qi(),o=i.memoizedState;return[t,o]}var H1=!1;function xN(){return H1}function qS(){var e=so(),t=ny(),i=t.identifierPrefix,o;if(Jn()){var c=VD();o=":"+i+"R"+c;var p=cv++;p>0&&(o+="H"+p.toString(32)),o+=":"}else{var m=SN++;o=":"+i+"r"+m.toString(32)+":"}return e.memoizedState=o,o}function Pg(){var e=qi(),t=e.memoizedState;return t}function wN(e,t,i){typeof arguments[3]=="function"&&h("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var o=xu(e),c={lane:o,action:i,hasEagerState:!1,eagerState:null,next:null};if(V1(e))j1(t,c);else{var p=m1(e,t,c,o);if(p!==null){var m=Mr();Hn(p,e,o,m),B1(p,t,o)}}$1(e,o)}function RN(e,t,i){typeof arguments[3]=="function"&&h("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var o=xu(e),c={lane:o,action:i,hasEagerState:!1,eagerState:null,next:null};if(V1(e))j1(t,c);else{var p=e.alternate;if(e.lanes===ee&&(p===null||p.lanes===ee)){var m=t.lastRenderedReducer;if(m!==null){var S;S=ye.current,ye.current=Oa;try{var E=t.lastRenderedState,w=m(E,i);if(c.hasEagerState=!0,c.eagerState=w,ke(w,E)){cN(e,t,c,o);return}}catch{}finally{ye.current=S}}}var k=m1(e,t,c,o);if(k!==null){var z=Mr();Hn(k,e,o,z),B1(k,t,o)}}$1(e,o)}function V1(e){var t=e.alternate;return e===kt||t!==null&&t===kt}function j1(e,t){sv=xg=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function B1(e,t,i){if(Sp(i)){var o=t.lanes;o=sd(o,e.pendingLanes);var c=et(o,i);t.lanes=c,bp(e,c)}}function $1(e,t,i){ps(e,t)}var Fg={readContext:On,useCallback:Cr,useContext:Cr,useEffect:Cr,useImperativeHandle:Cr,useInsertionEffect:Cr,useLayoutEffect:Cr,useMemo:Cr,useReducer:Cr,useRef:Cr,useState:Cr,useDebugValue:Cr,useDeferredValue:Cr,useTransition:Cr,useMutableSource:Cr,useSyncExternalStore:Cr,useId:Cr,unstable_isNewReconciler:ie},G1=null,W1=null,Y1=null,K1=null,co=null,Oa=null,zg=null;{var ZS=function(){h("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},qe=function(){h("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};G1={readContext:function(e){return On(e)},useCallback:function(e,t){return q="useCallback",Tt(),qd(t),YS(e,t)},useContext:function(e){return q="useContext",Tt(),On(e)},useEffect:function(e,t){return q="useEffect",Tt(),qd(t),Dg(e,t)},useImperativeHandle:function(e,t,i){return q="useImperativeHandle",Tt(),qd(i),WS(e,t,i)},useInsertionEffect:function(e,t){return q="useInsertionEffect",Tt(),qd(t),$S(e,t)},useLayoutEffect:function(e,t){return q="useLayoutEffect",Tt(),qd(t),GS(e,t)},useMemo:function(e,t){q="useMemo",Tt(),qd(t);var i=ye.current;ye.current=co;try{return KS(e,t)}finally{ye.current=i}},useReducer:function(e,t,i){q="useReducer",Tt();var o=ye.current;ye.current=co;try{return FS(e,t,i)}finally{ye.current=o}},useRef:function(e){return q="useRef",Tt(),BS(e)},useState:function(e){q="useState",Tt();var t=ye.current;ye.current=co;try{return Rg(e)}finally{ye.current=t}},useDebugValue:function(e,t){return q="useDebugValue",Tt(),void 0},useDeferredValue:function(e){return q="useDeferredValue",Tt(),QS(e)},useTransition:function(){return q="useTransition",Tt(),XS()},useMutableSource:function(e,t,i){return q="useMutableSource",Tt(),void 0},useSyncExternalStore:function(e,t,i){return q="useSyncExternalStore",Tt(),HS(e,t,i)},useId:function(){return q="useId",Tt(),qS()},unstable_isNewReconciler:ie},W1={readContext:function(e){return On(e)},useCallback:function(e,t){return q="useCallback",fe(),YS(e,t)},useContext:function(e){return q="useContext",fe(),On(e)},useEffect:function(e,t){return q="useEffect",fe(),Dg(e,t)},useImperativeHandle:function(e,t,i){return q="useImperativeHandle",fe(),WS(e,t,i)},useInsertionEffect:function(e,t){return q="useInsertionEffect",fe(),$S(e,t)},useLayoutEffect:function(e,t){return q="useLayoutEffect",fe(),GS(e,t)},useMemo:function(e,t){q="useMemo",fe();var i=ye.current;ye.current=co;try{return KS(e,t)}finally{ye.current=i}},useReducer:function(e,t,i){q="useReducer",fe();var o=ye.current;ye.current=co;try{return FS(e,t,i)}finally{ye.current=o}},useRef:function(e){return q="useRef",fe(),BS(e)},useState:function(e){q="useState",fe();var t=ye.current;ye.current=co;try{return Rg(e)}finally{ye.current=t}},useDebugValue:function(e,t){return q="useDebugValue",fe(),void 0},useDeferredValue:function(e){return q="useDeferredValue",fe(),QS(e)},useTransition:function(){return q="useTransition",fe(),XS()},useMutableSource:function(e,t,i){return q="useMutableSource",fe(),void 0},useSyncExternalStore:function(e,t,i){return q="useSyncExternalStore",fe(),HS(e,t,i)},useId:function(){return q="useId",fe(),qS()},unstable_isNewReconciler:ie},Y1={readContext:function(e){return On(e)},useCallback:function(e,t){return q="useCallback",fe(),Ig(e,t)},useContext:function(e){return q="useContext",fe(),On(e)},useEffect:function(e,t){return q="useEffect",fe(),pv(e,t)},useImperativeHandle:function(e,t,i){return q="useImperativeHandle",fe(),_g(e,t,i)},useInsertionEffect:function(e,t){return q="useInsertionEffect",fe(),Ng(e,t)},useLayoutEffect:function(e,t){return q="useLayoutEffect",fe(),Lg(e,t)},useMemo:function(e,t){q="useMemo",fe();var i=ye.current;ye.current=Oa;try{return Mg(e,t)}finally{ye.current=i}},useReducer:function(e,t,i){q="useReducer",fe();var o=ye.current;ye.current=Oa;try{return zS(e,t,i)}finally{ye.current=o}},useRef:function(e){return q="useRef",fe(),kg()},useState:function(e){q="useState",fe();var t=ye.current;ye.current=Oa;try{return VS(e)}finally{ye.current=t}},useDebugValue:function(e,t){return q="useDebugValue",fe(),Ag()},useDeferredValue:function(e){return q="useDeferredValue",fe(),M1(e)},useTransition:function(){return q="useTransition",fe(),z1()},useMutableSource:function(e,t,i){return q="useMutableSource",fe(),void 0},useSyncExternalStore:function(e,t,i){return q="useSyncExternalStore",fe(),wg(e,t)},useId:function(){return q="useId",fe(),Pg()},unstable_isNewReconciler:ie},K1={readContext:function(e){return On(e)},useCallback:function(e,t){return q="useCallback",fe(),Ig(e,t)},useContext:function(e){return q="useContext",fe(),On(e)},useEffect:function(e,t){return q="useEffect",fe(),pv(e,t)},useImperativeHandle:function(e,t,i){return q="useImperativeHandle",fe(),_g(e,t,i)},useInsertionEffect:function(e,t){return q="useInsertionEffect",fe(),Ng(e,t)},useLayoutEffect:function(e,t){return q="useLayoutEffect",fe(),Lg(e,t)},useMemo:function(e,t){q="useMemo",fe();var i=ye.current;ye.current=zg;try{return Mg(e,t)}finally{ye.current=i}},useReducer:function(e,t,i){q="useReducer",fe();var o=ye.current;ye.current=zg;try{return US(e,t,i)}finally{ye.current=o}},useRef:function(e){return q="useRef",fe(),kg()},useState:function(e){q="useState",fe();var t=ye.current;ye.current=zg;try{return jS(e)}finally{ye.current=t}},useDebugValue:function(e,t){return q="useDebugValue",fe(),Ag()},useDeferredValue:function(e){return q="useDeferredValue",fe(),P1(e)},useTransition:function(){return q="useTransition",fe(),U1()},useMutableSource:function(e,t,i){return q="useMutableSource",fe(),void 0},useSyncExternalStore:function(e,t,i){return q="useSyncExternalStore",fe(),wg(e,t)},useId:function(){return q="useId",fe(),Pg()},unstable_isNewReconciler:ie},co={readContext:function(e){return ZS(),On(e)},useCallback:function(e,t){return q="useCallback",qe(),Tt(),YS(e,t)},useContext:function(e){return q="useContext",qe(),Tt(),On(e)},useEffect:function(e,t){return q="useEffect",qe(),Tt(),Dg(e,t)},useImperativeHandle:function(e,t,i){return q="useImperativeHandle",qe(),Tt(),WS(e,t,i)},useInsertionEffect:function(e,t){return q="useInsertionEffect",qe(),Tt(),$S(e,t)},useLayoutEffect:function(e,t){return q="useLayoutEffect",qe(),Tt(),GS(e,t)},useMemo:function(e,t){q="useMemo",qe(),Tt();var i=ye.current;ye.current=co;try{return KS(e,t)}finally{ye.current=i}},useReducer:function(e,t,i){q="useReducer",qe(),Tt();var o=ye.current;ye.current=co;try{return FS(e,t,i)}finally{ye.current=o}},useRef:function(e){return q="useRef",qe(),Tt(),BS(e)},useState:function(e){q="useState",qe(),Tt();var t=ye.current;ye.current=co;try{return Rg(e)}finally{ye.current=t}},useDebugValue:function(e,t){return q="useDebugValue",qe(),Tt(),void 0},useDeferredValue:function(e){return q="useDeferredValue",qe(),Tt(),QS(e)},useTransition:function(){return q="useTransition",qe(),Tt(),XS()},useMutableSource:function(e,t,i){return q="useMutableSource",qe(),Tt(),void 0},useSyncExternalStore:function(e,t,i){return q="useSyncExternalStore",qe(),Tt(),HS(e,t,i)},useId:function(){return q="useId",qe(),Tt(),qS()},unstable_isNewReconciler:ie},Oa={readContext:function(e){return ZS(),On(e)},useCallback:function(e,t){return q="useCallback",qe(),fe(),Ig(e,t)},useContext:function(e){return q="useContext",qe(),fe(),On(e)},useEffect:function(e,t){return q="useEffect",qe(),fe(),pv(e,t)},useImperativeHandle:function(e,t,i){return q="useImperativeHandle",qe(),fe(),_g(e,t,i)},useInsertionEffect:function(e,t){return q="useInsertionEffect",qe(),fe(),Ng(e,t)},useLayoutEffect:function(e,t){return q="useLayoutEffect",qe(),fe(),Lg(e,t)},useMemo:function(e,t){q="useMemo",qe(),fe();var i=ye.current;ye.current=Oa;try{return Mg(e,t)}finally{ye.current=i}},useReducer:function(e,t,i){q="useReducer",qe(),fe();var o=ye.current;ye.current=Oa;try{return zS(e,t,i)}finally{ye.current=o}},useRef:function(e){return q="useRef",qe(),fe(),kg()},useState:function(e){q="useState",qe(),fe();var t=ye.current;ye.current=Oa;try{return VS(e)}finally{ye.current=t}},useDebugValue:function(e,t){return q="useDebugValue",qe(),fe(),Ag()},useDeferredValue:function(e){return q="useDeferredValue",qe(),fe(),M1(e)},useTransition:function(){return q="useTransition",qe(),fe(),z1()},useMutableSource:function(e,t,i){return q="useMutableSource",qe(),fe(),void 0},useSyncExternalStore:function(e,t,i){return q="useSyncExternalStore",qe(),fe(),wg(e,t)},useId:function(){return q="useId",qe(),fe(),Pg()},unstable_isNewReconciler:ie},zg={readContext:function(e){return ZS(),On(e)},useCallback:function(e,t){return q="useCallback",qe(),fe(),Ig(e,t)},useContext:function(e){return q="useContext",qe(),fe(),On(e)},useEffect:function(e,t){return q="useEffect",qe(),fe(),pv(e,t)},useImperativeHandle:function(e,t,i){return q="useImperativeHandle",qe(),fe(),_g(e,t,i)},useInsertionEffect:function(e,t){return q="useInsertionEffect",qe(),fe(),Ng(e,t)},useLayoutEffect:function(e,t){return q="useLayoutEffect",qe(),fe(),Lg(e,t)},useMemo:function(e,t){q="useMemo",qe(),fe();var i=ye.current;ye.current=Oa;try{return Mg(e,t)}finally{ye.current=i}},useReducer:function(e,t,i){q="useReducer",qe(),fe();var o=ye.current;ye.current=Oa;try{return US(e,t,i)}finally{ye.current=o}},useRef:function(e){return q="useRef",qe(),fe(),kg()},useState:function(e){q="useState",qe(),fe();var t=ye.current;ye.current=Oa;try{return jS(e)}finally{ye.current=t}},useDebugValue:function(e,t){return q="useDebugValue",qe(),fe(),Ag()},useDeferredValue:function(e){return q="useDeferredValue",qe(),fe(),P1(e)},useTransition:function(){return q="useTransition",qe(),fe(),U1()},useMutableSource:function(e,t,i){return q="useMutableSource",qe(),fe(),void 0},useSyncExternalStore:function(e,t,i){return q="useSyncExternalStore",qe(),fe(),wg(e,t)},useId:function(){return q="useId",qe(),fe(),Pg()},unstable_isNewReconciler:ie}}var bu=u.unstable_now,Q1=0,Ug=-1,vv=-1,Hg=-1,JS=!1,Vg=!1;function X1(){return JS}function kN(){Vg=!0}function ON(){JS=!1,Vg=!1}function DN(){JS=Vg,Vg=!1}function q1(){return Q1}function Z1(){Q1=bu()}function eb(e){vv=bu(),e.actualStartTime<0&&(e.actualStartTime=bu())}function J1(e){vv=-1}function jg(e,t){if(vv>=0){var i=bu()-vv;e.actualDuration+=i,t&&(e.selfBaseDuration=i),vv=-1}}function fo(e){if(Ug>=0){var t=bu()-Ug;Ug=-1;for(var i=e.return;i!==null;){switch(i.tag){case O:var o=i.stateNode;o.effectDuration+=t;return;case He:var c=i.stateNode;c.effectDuration+=t;return}i=i.return}}}function tb(e){if(Hg>=0){var t=bu()-Hg;Hg=-1;for(var i=e.return;i!==null;){switch(i.tag){case O:var o=i.stateNode;o!==null&&(o.passiveEffectDuration+=t);return;case He:var c=i.stateNode;c!==null&&(c.passiveEffectDuration+=t);return}i=i.return}}}function po(){Ug=bu()}function nb(){Hg=bu()}function rb(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Da(e,t){if(e&&e.defaultProps){var i=ut({},t),o=e.defaultProps;for(var c in o)i[c]===void 0&&(i[c]=o[c]);return i}return t}var ib={},ab,ob,lb,ub,sb,eT,Bg,cb,db,fb,hv;{ab=new Set,ob=new Set,lb=new Set,ub=new Set,cb=new Set,sb=new Set,db=new Set,fb=new Set,hv=new Set;var tT=new Set;Bg=function(e,t){if(!(e===null||typeof e=="function")){var i=t+"_"+e;tT.has(i)||(tT.add(i),h("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},eT=function(e,t){if(t===void 0){var i=wt(e)||"Component";sb.has(i)||(sb.add(i),h("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",i))}},Object.defineProperty(ib,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(ib)}function pb(e,t,i,o){var c=e.memoizedState,p=i(o,c);{if(e.mode&at){ln(!0);try{p=i(o,c)}finally{ln(!1)}}eT(t,p)}var m=p==null?c:ut({},c,p);if(e.memoizedState=m,e.lanes===ee){var S=e.updateQueue;S.baseState=m}}var vb={isMounted:Dr,enqueueSetState:function(e,t,i){var o=Wr(e),c=Mr(),p=xu(o),m=il(c,p);m.payload=t,i!=null&&(Bg(i,"setState"),m.callback=i);var S=mu(o,m,p);S!==null&&(Hn(S,o,p,c),yg(S,o,p)),ps(o,p)},enqueueReplaceState:function(e,t,i){var o=Wr(e),c=Mr(),p=xu(o),m=il(c,p);m.tag=y1,m.payload=t,i!=null&&(Bg(i,"replaceState"),m.callback=i);var S=mu(o,m,p);S!==null&&(Hn(S,o,p,c),yg(S,o,p)),ps(o,p)},enqueueForceUpdate:function(e,t){var i=Wr(e),o=Mr(),c=xu(i),p=il(o,c);p.tag=hg,t!=null&&(Bg(t,"forceUpdate"),p.callback=t);var m=mu(i,p,c);m!==null&&(Hn(m,i,c,o),yg(m,i,c)),Wc(i,c)}};function nT(e,t,i,o,c,p,m){var S=e.stateNode;if(typeof S.shouldComponentUpdate=="function"){var E=S.shouldComponentUpdate(o,p,m);{if(e.mode&at){ln(!0);try{E=S.shouldComponentUpdate(o,p,m)}finally{ln(!1)}}E===void 0&&h("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",wt(t)||"Component")}return E}return t.prototype&&t.prototype.isPureReactComponent?!We(i,o)||!We(c,p):!0}function NN(e,t,i){var o=e.stateNode;{var c=wt(t)||"Component",p=o.render;p||(t.prototype&&typeof t.prototype.render=="function"?h("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",c):h("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",c)),o.getInitialState&&!o.getInitialState.isReactClassApproved&&!o.state&&h("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",c),o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&h("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",c),o.propTypes&&h("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",c),o.contextType&&h("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",c),t.childContextTypes&&!hv.has(t)&&(e.mode&at)===Le&&(hv.add(t),h(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
98
|
+
Incoming: %s`,J,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!De(e[a],t[a]))return!1;return!0}function sf(e,t,a,u,c,p){Xs=p,Ot=t,ra=e!==null?e._debugHookTypes:null,ku=-1,qS=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=ne,e!==null&&e.memoizedState!==null?Ce.current=hT:ra!==null?Ce.current=vT:Ce.current=pT;var g=a(u,c);if(Ev){var E=0;do{if(Ev=!1,bv=0,E>=aL)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");E+=1,qS=!1,Fn=null,zn=null,t.updateQueue=null,ku=-1,Ce.current=mT,g=a(u,c)}while(Ev)}Ce.current=Wg,t._debugHookTypes=ra;var C=Fn!==null&&Fn.next!==null;if(Xs=ne,Ot=null,Fn=null,zn=null,J=null,ra=null,ku=-1,e!==null&&(e.flags&In)!==(t.flags&In)&&(e.mode&Me)!==Ae&&m("Internal React error: Expected static flag was missing. Please notify the React team."),Ag=!1,C)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return g}function cf(){var e=bv!==0;return bv=0,e}function K1(e,t,a){t.updateQueue=e.updateQueue,(t.mode&_r)!==Ae?t.flags&=~(jo|hr|zt|nt):t.flags&=~(zt|nt),e.lanes=Os(e.lanes,a)}function Q1(){if(Ce.current=Wg,Ag){for(var e=Ot.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Ag=!1}Xs=ne,Ot=null,Fn=null,zn=null,ra=null,ku=-1,J=null,uT=!1,Ev=!1,bv=0}function mo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return zn===null?Ot.memoizedState=zn=e:zn=zn.next=e,zn}function ia(){var e;if(Fn===null){var t=Ot.alternate;t!==null?e=t.memoizedState:e=null}else e=Fn.next;var a;if(zn===null?a=Ot.memoizedState:a=zn.next,a!==null)zn=a,a=zn.next,Fn=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");Fn=e;var u={memoizedState:Fn.memoizedState,baseState:Fn.baseState,baseQueue:Fn.baseQueue,queue:Fn.queue,next:null};zn===null?Ot.memoizedState=zn=u:zn=zn.next=u}return zn}function q1(){return{lastEffect:null,stores:null}}function ZS(e,t){return typeof t=="function"?t(e):t}function JS(e,t,a){var u=mo(),c;a!==void 0?c=a(t):c=t,u.memoizedState=u.baseState=c;var p={pending:null,interleaved:null,lanes:ne,dispatch:null,lastRenderedReducer:e,lastRenderedState:c};u.queue=p;var g=p.dispatch=cL.bind(null,Ot,p);return[u.memoizedState,g]}function eE(e,t,a){var u=ia(),c=u.queue;if(c===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");c.lastRenderedReducer=e;var p=Fn,g=p.baseQueue,E=c.pending;if(E!==null){if(g!==null){var C=g.next,R=E.next;g.next=R,E.next=C}p.baseQueue!==g&&m("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),p.baseQueue=g=E,c.pending=null}if(g!==null){var k=g.next,F=p.baseState,M=null,$=null,W=null,Q=k;do{var ge=Q.lane;if(Zo(Xs,ge)){if(W!==null){var Pe={lane:un,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null};W=W.next=Pe}if(Q.hasEagerState)F=Q.eagerState;else{var mt=Q.action;F=e(F,mt)}}else{var je={lane:ge,action:Q.action,hasEagerState:Q.hasEagerState,eagerState:Q.eagerState,next:null};W===null?($=W=je,M=F):W=W.next=je,Ot.lanes=et(Ot.lanes,ge),Bv(ge)}Q=Q.next}while(Q!==null&&Q!==k);W===null?M=F:W.next=$,De(F,u.memoizedState)||Nv(),u.memoizedState=F,u.baseState=M,u.baseQueue=W,c.lastRenderedState=F}var ft=c.interleaved;if(ft!==null){var V=ft;do{var q=V.lane;Ot.lanes=et(Ot.lanes,q),Bv(q),V=V.next}while(V!==ft)}else g===null&&(c.lanes=ne);var H=c.dispatch;return[u.memoizedState,H]}function tE(e,t,a){var u=ia(),c=u.queue;if(c===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");c.lastRenderedReducer=e;var p=c.dispatch,g=c.pending,E=u.memoizedState;if(g!==null){c.pending=null;var C=g.next,R=C;do{var k=R.action;E=e(E,k),R=R.next}while(R!==C);De(E,u.memoizedState)||Nv(),u.memoizedState=E,u.baseQueue===null&&(u.baseState=E),c.lastRenderedState=E}return[E,p]}function Q6(e,t,a){}function q6(e,t,a){}function nE(e,t,a){var u=Ot,c=mo(),p,g=tr();if(g){if(a===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");p=a(),lf||p!==a()&&(m("The result of getServerSnapshot should be cached to avoid an infinite loop"),lf=!0)}else{if(p=t(),!lf){var E=t();De(p,E)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),lf=!0)}var C=dy();if(C===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ks(C,Xs)||X1(u,t,p)}c.memoizedState=p;var R={value:p,getSnapshot:t};return c.queue=R,zg(J1.bind(null,u,R,e),[e]),u.flags|=zt,Cv(Mn|nr,Z1.bind(null,u,R,p,t),void 0,null),p}function _g(e,t,a){var u=Ot,c=ia(),p=t();if(!lf){var g=t();De(p,g)||(m("The result of getSnapshot should be cached to avoid an infinite loop"),lf=!0)}var E=c.memoizedState,C=!De(E,p);C&&(c.memoizedState=p,Nv());var R=c.queue;if(wv(J1.bind(null,u,R,e),[e]),R.getSnapshot!==t||C||zn!==null&&zn.memoizedState.tag&Mn){u.flags|=zt,Cv(Mn|nr,Z1.bind(null,u,R,p,t),void 0,null);var k=dy();if(k===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ks(k,Xs)||X1(u,t,p)}return p}function X1(e,t,a){e.flags|=gs;var u={getSnapshot:t,value:a},c=Ot.updateQueue;if(c===null)c=q1(),Ot.updateQueue=c,c.stores=[u];else{var p=c.stores;p===null?c.stores=[u]:p.push(u)}}function Z1(e,t,a,u){t.value=a,t.getSnapshot=u,eT(t)&&tT(e)}function J1(e,t,a){var u=function(){eT(t)&&tT(e)};return a(u)}function eT(e){var t=e.getSnapshot,a=e.value;try{var u=t();return!De(a,u)}catch{return!0}}function tT(e){var t=ci(e,Ue);t!==null&&Bn(t,e,Ue,At)}function Mg(e){var t=mo();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var a={pending:null,interleaved:null,lanes:ne,dispatch:null,lastRenderedReducer:ZS,lastRenderedState:e};t.queue=a;var u=a.dispatch=dL.bind(null,Ot,a);return[t.memoizedState,u]}function rE(e){return eE(ZS)}function iE(e){return tE(ZS)}function Cv(e,t,a,u){var c={tag:e,create:t,destroy:a,deps:u,next:null},p=Ot.updateQueue;if(p===null)p=q1(),Ot.updateQueue=p,p.lastEffect=c.next=c;else{var g=p.lastEffect;if(g===null)p.lastEffect=c.next=c;else{var E=g.next;g.next=c,c.next=E,p.lastEffect=c}}return c}function aE(e){var t=mo();{var a={current:e};return t.memoizedState=a,a}}function Pg(e){var t=ia();return t.memoizedState}function Tv(e,t,a,u){var c=mo(),p=u===void 0?null:u;Ot.flags|=e,c.memoizedState=Cv(Mn|t,a,void 0,p)}function Fg(e,t,a,u){var c=ia(),p=u===void 0?null:u,g=void 0;if(Fn!==null){var E=Fn.memoizedState;if(g=E.destroy,p!==null){var C=E.deps;if(XS(p,C)){c.memoizedState=Cv(t,a,g,p);return}}}Ot.flags|=e,c.memoizedState=Cv(Mn|t,a,g,p)}function zg(e,t){return(Ot.mode&_r)!==Ae?Tv(jo|zt|no,nr,e,t):Tv(zt|no,nr,e,t)}function wv(e,t){return Fg(zt,nr,e,t)}function oE(e,t){return Tv(nt,ho,e,t)}function Ug(e,t){return Fg(nt,ho,e,t)}function lE(e,t){var a=nt;return a|=vr,(Ot.mode&_r)!==Ae&&(a|=hr),Tv(a,Pn,e,t)}function Vg(e,t){return Fg(nt,Pn,e,t)}function nT(e,t){if(typeof t=="function"){var a=t,u=e();return a(u),function(){a(null)}}else if(t!=null){var c=t;c.hasOwnProperty("current")||m("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(c).join(", ")+"}");var p=e();return c.current=p,function(){c.current=null}}}function uE(e,t,a){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=a!=null?a.concat([e]):null,c=nt;return c|=vr,(Ot.mode&_r)!==Ae&&(c|=hr),Tv(c,Pn,nT.bind(null,t,e),u)}function Hg(e,t,a){typeof t!="function"&&m("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var u=a!=null?a.concat([e]):null;return Fg(nt,Pn,nT.bind(null,t,e),u)}function lL(e,t){}var Bg=lL;function sE(e,t){var a=mo(),u=t===void 0?null:t;return a.memoizedState=[e,u],e}function jg(e,t){var a=ia(),u=t===void 0?null:t,c=a.memoizedState;if(c!==null&&u!==null){var p=c[1];if(XS(u,p))return c[0]}return a.memoizedState=[e,u],e}function cE(e,t){var a=mo(),u=t===void 0?null:t,c=e();return a.memoizedState=[c,u],c}function $g(e,t){var a=ia(),u=t===void 0?null:t,c=a.memoizedState;if(c!==null&&u!==null){var p=c[1];if(XS(u,p))return c[0]}var g=e();return a.memoizedState=[g,u],g}function dE(e){var t=mo();return t.memoizedState=e,e}function rT(e){var t=ia(),a=Fn,u=a.memoizedState;return aT(t,u,e)}function iT(e){var t=ia();if(Fn===null)return t.memoizedState=e,e;var a=Fn.memoizedState;return aT(t,a,e)}function aT(e,t,a){var u=!Em(Xs);if(u){if(!De(a,t)){var c=Tm();Ot.lanes=et(Ot.lanes,c),Bv(c),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Nv()),e.memoizedState=a,a}function uL(e,t,a){var u=ii();Qt(L0(u,wa)),e(!0);var c=Sv.transition;Sv.transition={};var p=Sv.transition;Sv.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Qt(u),Sv.transition=c,c===null&&p._updatedFibers){var g=p._updatedFibers.size;g>10&&S("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),p._updatedFibers.clear()}}}function fE(){var e=Mg(!1),t=e[0],a=e[1],u=uL.bind(null,a),c=mo();return c.memoizedState=u,[t,u]}function oT(){var e=rE(),t=e[0],a=ia(),u=a.memoizedState;return[t,u]}function lT(){var e=iE(),t=e[0],a=ia(),u=a.memoizedState;return[t,u]}var uT=!1;function sL(){return uT}function pE(){var e=mo(),t=dy(),a=t.identifierPrefix,u;if(tr()){var c=RN();u=":"+a+"R"+c;var p=bv++;p>0&&(u+="H"+p.toString(32)),u+=":"}else{var g=iL++;u=":"+a+"r"+g.toString(32)+":"}return e.memoizedState=u,u}function Gg(){var e=ia(),t=e.memoizedState;return t}function cL(e,t,a){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Iu(e),c={lane:u,action:a,hasEagerState:!1,eagerState:null,next:null};if(sT(e))cT(t,c);else{var p=z1(e,t,c,u);if(p!==null){var g=zr();Bn(p,e,u,g),dT(p,t,u)}}fT(e,u)}function dL(e,t,a){typeof arguments[3]=="function"&&m("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var u=Iu(e),c={lane:u,action:a,hasEagerState:!1,eagerState:null,next:null};if(sT(e))cT(t,c);else{var p=e.alternate;if(e.lanes===ne&&(p===null||p.lanes===ne)){var g=t.lastRenderedReducer;if(g!==null){var E;E=Ce.current,Ce.current=Ia;try{var C=t.lastRenderedState,R=g(C,a);if(c.hasEagerState=!0,c.eagerState=R,De(R,C)){QN(e,t,c,u);return}}catch{}finally{Ce.current=E}}}var k=z1(e,t,c,u);if(k!==null){var F=zr();Bn(k,e,u,F),dT(k,t,u)}}fT(e,u)}function sT(e){var t=e.alternate;return e===Ot||t!==null&&t===Ot}function cT(e,t){Ev=Ag=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function dT(e,t,a){if(Np(a)){var u=t.lanes;u=Sd(u,e.pendingLanes);var c=et(u,a);t.lanes=c,Lp(e,c)}}function fT(e,t,a){bs(e,t)}var Wg={readContext:Nn,useCallback:xr,useContext:xr,useEffect:xr,useImperativeHandle:xr,useInsertionEffect:xr,useLayoutEffect:xr,useMemo:xr,useReducer:xr,useRef:xr,useState:xr,useDebugValue:xr,useDeferredValue:xr,useTransition:xr,useMutableSource:xr,useSyncExternalStore:xr,useId:xr,unstable_isNewReconciler:oe},pT=null,vT=null,hT=null,mT=null,go=null,Ia=null,Yg=null;{var vE=function(){m("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Xe=function(){m("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};pT={readContext:function(e){return Nn(e)},useCallback:function(e,t){return J="useCallback",wt(),uf(t),sE(e,t)},useContext:function(e){return J="useContext",wt(),Nn(e)},useEffect:function(e,t){return J="useEffect",wt(),uf(t),zg(e,t)},useImperativeHandle:function(e,t,a){return J="useImperativeHandle",wt(),uf(a),uE(e,t,a)},useInsertionEffect:function(e,t){return J="useInsertionEffect",wt(),uf(t),oE(e,t)},useLayoutEffect:function(e,t){return J="useLayoutEffect",wt(),uf(t),lE(e,t)},useMemo:function(e,t){J="useMemo",wt(),uf(t);var a=Ce.current;Ce.current=go;try{return cE(e,t)}finally{Ce.current=a}},useReducer:function(e,t,a){J="useReducer",wt();var u=Ce.current;Ce.current=go;try{return JS(e,t,a)}finally{Ce.current=u}},useRef:function(e){return J="useRef",wt(),aE(e)},useState:function(e){J="useState",wt();var t=Ce.current;Ce.current=go;try{return Mg(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return J="useDebugValue",wt(),void 0},useDeferredValue:function(e){return J="useDeferredValue",wt(),dE(e)},useTransition:function(){return J="useTransition",wt(),fE()},useMutableSource:function(e,t,a){return J="useMutableSource",wt(),void 0},useSyncExternalStore:function(e,t,a){return J="useSyncExternalStore",wt(),nE(e,t,a)},useId:function(){return J="useId",wt(),pE()},unstable_isNewReconciler:oe},vT={readContext:function(e){return Nn(e)},useCallback:function(e,t){return J="useCallback",he(),sE(e,t)},useContext:function(e){return J="useContext",he(),Nn(e)},useEffect:function(e,t){return J="useEffect",he(),zg(e,t)},useImperativeHandle:function(e,t,a){return J="useImperativeHandle",he(),uE(e,t,a)},useInsertionEffect:function(e,t){return J="useInsertionEffect",he(),oE(e,t)},useLayoutEffect:function(e,t){return J="useLayoutEffect",he(),lE(e,t)},useMemo:function(e,t){J="useMemo",he();var a=Ce.current;Ce.current=go;try{return cE(e,t)}finally{Ce.current=a}},useReducer:function(e,t,a){J="useReducer",he();var u=Ce.current;Ce.current=go;try{return JS(e,t,a)}finally{Ce.current=u}},useRef:function(e){return J="useRef",he(),aE(e)},useState:function(e){J="useState",he();var t=Ce.current;Ce.current=go;try{return Mg(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return J="useDebugValue",he(),void 0},useDeferredValue:function(e){return J="useDeferredValue",he(),dE(e)},useTransition:function(){return J="useTransition",he(),fE()},useMutableSource:function(e,t,a){return J="useMutableSource",he(),void 0},useSyncExternalStore:function(e,t,a){return J="useSyncExternalStore",he(),nE(e,t,a)},useId:function(){return J="useId",he(),pE()},unstable_isNewReconciler:oe},hT={readContext:function(e){return Nn(e)},useCallback:function(e,t){return J="useCallback",he(),jg(e,t)},useContext:function(e){return J="useContext",he(),Nn(e)},useEffect:function(e,t){return J="useEffect",he(),wv(e,t)},useImperativeHandle:function(e,t,a){return J="useImperativeHandle",he(),Hg(e,t,a)},useInsertionEffect:function(e,t){return J="useInsertionEffect",he(),Ug(e,t)},useLayoutEffect:function(e,t){return J="useLayoutEffect",he(),Vg(e,t)},useMemo:function(e,t){J="useMemo",he();var a=Ce.current;Ce.current=Ia;try{return $g(e,t)}finally{Ce.current=a}},useReducer:function(e,t,a){J="useReducer",he();var u=Ce.current;Ce.current=Ia;try{return eE(e,t,a)}finally{Ce.current=u}},useRef:function(e){return J="useRef",he(),Pg()},useState:function(e){J="useState",he();var t=Ce.current;Ce.current=Ia;try{return rE(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return J="useDebugValue",he(),Bg()},useDeferredValue:function(e){return J="useDeferredValue",he(),rT(e)},useTransition:function(){return J="useTransition",he(),oT()},useMutableSource:function(e,t,a){return J="useMutableSource",he(),void 0},useSyncExternalStore:function(e,t,a){return J="useSyncExternalStore",he(),_g(e,t)},useId:function(){return J="useId",he(),Gg()},unstable_isNewReconciler:oe},mT={readContext:function(e){return Nn(e)},useCallback:function(e,t){return J="useCallback",he(),jg(e,t)},useContext:function(e){return J="useContext",he(),Nn(e)},useEffect:function(e,t){return J="useEffect",he(),wv(e,t)},useImperativeHandle:function(e,t,a){return J="useImperativeHandle",he(),Hg(e,t,a)},useInsertionEffect:function(e,t){return J="useInsertionEffect",he(),Ug(e,t)},useLayoutEffect:function(e,t){return J="useLayoutEffect",he(),Vg(e,t)},useMemo:function(e,t){J="useMemo",he();var a=Ce.current;Ce.current=Yg;try{return $g(e,t)}finally{Ce.current=a}},useReducer:function(e,t,a){J="useReducer",he();var u=Ce.current;Ce.current=Yg;try{return tE(e,t,a)}finally{Ce.current=u}},useRef:function(e){return J="useRef",he(),Pg()},useState:function(e){J="useState",he();var t=Ce.current;Ce.current=Yg;try{return iE(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return J="useDebugValue",he(),Bg()},useDeferredValue:function(e){return J="useDeferredValue",he(),iT(e)},useTransition:function(){return J="useTransition",he(),lT()},useMutableSource:function(e,t,a){return J="useMutableSource",he(),void 0},useSyncExternalStore:function(e,t,a){return J="useSyncExternalStore",he(),_g(e,t)},useId:function(){return J="useId",he(),Gg()},unstable_isNewReconciler:oe},go={readContext:function(e){return vE(),Nn(e)},useCallback:function(e,t){return J="useCallback",Xe(),wt(),sE(e,t)},useContext:function(e){return J="useContext",Xe(),wt(),Nn(e)},useEffect:function(e,t){return J="useEffect",Xe(),wt(),zg(e,t)},useImperativeHandle:function(e,t,a){return J="useImperativeHandle",Xe(),wt(),uE(e,t,a)},useInsertionEffect:function(e,t){return J="useInsertionEffect",Xe(),wt(),oE(e,t)},useLayoutEffect:function(e,t){return J="useLayoutEffect",Xe(),wt(),lE(e,t)},useMemo:function(e,t){J="useMemo",Xe(),wt();var a=Ce.current;Ce.current=go;try{return cE(e,t)}finally{Ce.current=a}},useReducer:function(e,t,a){J="useReducer",Xe(),wt();var u=Ce.current;Ce.current=go;try{return JS(e,t,a)}finally{Ce.current=u}},useRef:function(e){return J="useRef",Xe(),wt(),aE(e)},useState:function(e){J="useState",Xe(),wt();var t=Ce.current;Ce.current=go;try{return Mg(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return J="useDebugValue",Xe(),wt(),void 0},useDeferredValue:function(e){return J="useDeferredValue",Xe(),wt(),dE(e)},useTransition:function(){return J="useTransition",Xe(),wt(),fE()},useMutableSource:function(e,t,a){return J="useMutableSource",Xe(),wt(),void 0},useSyncExternalStore:function(e,t,a){return J="useSyncExternalStore",Xe(),wt(),nE(e,t,a)},useId:function(){return J="useId",Xe(),wt(),pE()},unstable_isNewReconciler:oe},Ia={readContext:function(e){return vE(),Nn(e)},useCallback:function(e,t){return J="useCallback",Xe(),he(),jg(e,t)},useContext:function(e){return J="useContext",Xe(),he(),Nn(e)},useEffect:function(e,t){return J="useEffect",Xe(),he(),wv(e,t)},useImperativeHandle:function(e,t,a){return J="useImperativeHandle",Xe(),he(),Hg(e,t,a)},useInsertionEffect:function(e,t){return J="useInsertionEffect",Xe(),he(),Ug(e,t)},useLayoutEffect:function(e,t){return J="useLayoutEffect",Xe(),he(),Vg(e,t)},useMemo:function(e,t){J="useMemo",Xe(),he();var a=Ce.current;Ce.current=Ia;try{return $g(e,t)}finally{Ce.current=a}},useReducer:function(e,t,a){J="useReducer",Xe(),he();var u=Ce.current;Ce.current=Ia;try{return eE(e,t,a)}finally{Ce.current=u}},useRef:function(e){return J="useRef",Xe(),he(),Pg()},useState:function(e){J="useState",Xe(),he();var t=Ce.current;Ce.current=Ia;try{return rE(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return J="useDebugValue",Xe(),he(),Bg()},useDeferredValue:function(e){return J="useDeferredValue",Xe(),he(),rT(e)},useTransition:function(){return J="useTransition",Xe(),he(),oT()},useMutableSource:function(e,t,a){return J="useMutableSource",Xe(),he(),void 0},useSyncExternalStore:function(e,t,a){return J="useSyncExternalStore",Xe(),he(),_g(e,t)},useId:function(){return J="useId",Xe(),he(),Gg()},unstable_isNewReconciler:oe},Yg={readContext:function(e){return vE(),Nn(e)},useCallback:function(e,t){return J="useCallback",Xe(),he(),jg(e,t)},useContext:function(e){return J="useContext",Xe(),he(),Nn(e)},useEffect:function(e,t){return J="useEffect",Xe(),he(),wv(e,t)},useImperativeHandle:function(e,t,a){return J="useImperativeHandle",Xe(),he(),Hg(e,t,a)},useInsertionEffect:function(e,t){return J="useInsertionEffect",Xe(),he(),Ug(e,t)},useLayoutEffect:function(e,t){return J="useLayoutEffect",Xe(),he(),Vg(e,t)},useMemo:function(e,t){J="useMemo",Xe(),he();var a=Ce.current;Ce.current=Ia;try{return $g(e,t)}finally{Ce.current=a}},useReducer:function(e,t,a){J="useReducer",Xe(),he();var u=Ce.current;Ce.current=Ia;try{return tE(e,t,a)}finally{Ce.current=u}},useRef:function(e){return J="useRef",Xe(),he(),Pg()},useState:function(e){J="useState",Xe(),he();var t=Ce.current;Ce.current=Ia;try{return iE(e)}finally{Ce.current=t}},useDebugValue:function(e,t){return J="useDebugValue",Xe(),he(),Bg()},useDeferredValue:function(e){return J="useDeferredValue",Xe(),he(),iT(e)},useTransition:function(){return J="useTransition",Xe(),he(),lT()},useMutableSource:function(e,t,a){return J="useMutableSource",Xe(),he(),void 0},useSyncExternalStore:function(e,t,a){return J="useSyncExternalStore",Xe(),he(),_g(e,t)},useId:function(){return J="useId",Xe(),he(),Gg()},unstable_isNewReconciler:oe}}var Ou=l.unstable_now,gT=0,Kg=-1,xv=-1,Qg=-1,hE=!1,qg=!1;function yT(){return hE}function fL(){qg=!0}function pL(){hE=!1,qg=!1}function vL(){hE=qg,qg=!1}function ST(){return gT}function ET(){gT=Ou()}function mE(e){xv=Ou(),e.actualStartTime<0&&(e.actualStartTime=Ou())}function bT(e){xv=-1}function Xg(e,t){if(xv>=0){var a=Ou()-xv;e.actualDuration+=a,t&&(e.selfBaseDuration=a),xv=-1}}function yo(e){if(Kg>=0){var t=Ou()-Kg;Kg=-1;for(var a=e.return;a!==null;){switch(a.tag){case D:var u=a.stateNode;u.effectDuration+=t;return;case me:var c=a.stateNode;c.effectDuration+=t;return}a=a.return}}}function gE(e){if(Qg>=0){var t=Ou()-Qg;Qg=-1;for(var a=e.return;a!==null;){switch(a.tag){case D:var u=a.stateNode;u!==null&&(u.passiveEffectDuration+=t);return;case me:var c=a.stateNode;c!==null&&(c.passiveEffectDuration+=t);return}a=a.return}}}function So(){Kg=Ou()}function yE(){Qg=Ou()}function SE(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Aa(e,t){if(e&&e.defaultProps){var a=ct({},t),u=e.defaultProps;for(var c in u)a[c]===void 0&&(a[c]=u[c]);return a}return t}var EE={},bE,CE,TE,wE,xE,CT,Zg,RE,kE,OE,Rv;{bE=new Set,CE=new Set,TE=new Set,wE=new Set,RE=new Set,xE=new Set,kE=new Set,OE=new Set,Rv=new Set;var TT=new Set;Zg=function(e,t){if(!(e===null||typeof e=="function")){var a=t+"_"+e;TT.has(a)||(TT.add(a),m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},CT=function(e,t){if(t===void 0){var a=Rt(e)||"Component";xE.has(a)||(xE.add(a),m("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))}},Object.defineProperty(EE,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(EE)}function DE(e,t,a,u){var c=e.memoizedState,p=a(u,c);{if(e.mode<){ln(!0);try{p=a(u,c)}finally{ln(!1)}}CT(t,p)}var g=p==null?c:ct({},c,p);if(e.memoizedState=g,e.lanes===ne){var E=e.updateQueue;E.baseState=g}}var NE={isMounted:Ir,enqueueSetState:function(e,t,a){var u=qr(e),c=zr(),p=Iu(u),g=dl(c,p);g.payload=t,a!=null&&(Zg(a,"setState"),g.callback=a);var E=wu(u,g,p);E!==null&&(Bn(E,u,p,c),kg(E,u,p)),bs(u,p)},enqueueReplaceState:function(e,t,a){var u=qr(e),c=zr(),p=Iu(u),g=dl(c,p);g.tag=V1,g.payload=t,a!=null&&(Zg(a,"replaceState"),g.callback=a);var E=wu(u,g,p);E!==null&&(Bn(E,u,p,c),kg(E,u,p)),bs(u,p)},enqueueForceUpdate:function(e,t){var a=qr(e),u=zr(),c=Iu(a),p=dl(u,c);p.tag=wg,t!=null&&(Zg(t,"forceUpdate"),p.callback=t);var g=wu(a,p,c);g!==null&&(Bn(g,a,c,u),kg(g,a,c)),nd(a,c)}};function wT(e,t,a,u,c,p,g){var E=e.stateNode;if(typeof E.shouldComponentUpdate=="function"){var C=E.shouldComponentUpdate(u,p,g);{if(e.mode<){ln(!0);try{C=E.shouldComponentUpdate(u,p,g)}finally{ln(!1)}}C===void 0&&m("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Rt(t)||"Component")}return C}return t.prototype&&t.prototype.isPureReactComponent?!We(a,u)||!We(c,p):!0}function hL(e,t,a){var u=e.stateNode;{var c=Rt(t)||"Component",p=u.render;p||(t.prototype&&typeof t.prototype.render=="function"?m("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",c):m("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",c)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&m("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",c),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&m("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",c),u.propTypes&&m("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",c),u.contextType&&m("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",c),t.childContextTypes&&!Rv.has(t)&&(e.mode<)===Ae&&(Rv.add(t),m(`%s uses the legacy childContextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() instead
|
|
99
99
|
|
|
100
|
-
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),t.contextTypes&&!
|
|
100
|
+
.Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),t.contextTypes&&!Rv.has(t)&&(e.mode<)===Ae&&(Rv.add(t),m(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
|
|
101
101
|
|
|
102
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),
|
|
102
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)),u.contextTypes&&m("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",c),t.contextType&&t.contextTypes&&!kE.has(t)&&(kE.add(t),m("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",c)),typeof u.componentShouldUpdate=="function"&&m("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",c),t.prototype&&t.prototype.isPureReactComponent&&typeof u.shouldComponentUpdate<"u"&&m("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Rt(t)||"A pure component"),typeof u.componentDidUnmount=="function"&&m("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",c),typeof u.componentDidReceiveProps=="function"&&m("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",c),typeof u.componentWillRecieveProps=="function"&&m("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",c),typeof u.UNSAFE_componentWillRecieveProps=="function"&&m("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",c);var g=u.props!==a;u.props!==void 0&&g&&m("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",c,c),u.defaultProps&&m("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",c,c),typeof u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!TE.has(t)&&(TE.add(t),m("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Rt(t))),typeof u.getDerivedStateFromProps=="function"&&m("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof u.getDerivedStateFromError=="function"&&m("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof t.getSnapshotBeforeUpdate=="function"&&m("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",c);var E=u.state;E&&(typeof E!="object"||wn(E))&&m("%s.state: must be set to an object or null",c),typeof u.getChildContext=="function"&&typeof t.childContextTypes!="object"&&m("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",c)}}function xT(e,t){t.updater=NE,e.stateNode=t,Hl(t,e),t._reactInternalInstance=EE}function RT(e,t,a){var u=!1,c=Ai,p=Ai,g=t.contextType;if("contextType"in t){var E=g===null||g!==void 0&&g.$$typeof===Mf&&g._context===void 0;if(!E&&!OE.has(t)){OE.add(t);var C="";g===void 0?C=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof g!="object"?C=" However, it is set to a "+typeof g+".":g.$$typeof===_f?C=" Did you accidentally pass the Context.Provider instead?":g._context!==void 0?C=" Did you accidentally pass the Context.Consumer instead?":C=" However, it is set to an object with keys {"+Object.keys(g).join(", ")+"}.",m("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Rt(t)||"Component",C)}}if(typeof g=="object"&&g!==null)p=Nn(g);else{c=Qd(e,t,!0);var R=t.contextTypes;u=R!=null,p=u?qd(e,c):Ai}var k=new t(a,p);if(e.mode<){ln(!0);try{k=new t(a,p)}finally{ln(!1)}}var F=e.memoizedState=k.state!==null&&k.state!==void 0?k.state:null;xT(e,k);{if(typeof t.getDerivedStateFromProps=="function"&&F===null){var M=Rt(t)||"Component";CE.has(M)||(CE.add(M),m("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",M,k.state===null?"null":"undefined",M))}if(typeof t.getDerivedStateFromProps=="function"||typeof k.getSnapshotBeforeUpdate=="function"){var $=null,W=null,Q=null;if(typeof k.componentWillMount=="function"&&k.componentWillMount.__suppressDeprecationWarning!==!0?$="componentWillMount":typeof k.UNSAFE_componentWillMount=="function"&&($="UNSAFE_componentWillMount"),typeof k.componentWillReceiveProps=="function"&&k.componentWillReceiveProps.__suppressDeprecationWarning!==!0?W="componentWillReceiveProps":typeof k.UNSAFE_componentWillReceiveProps=="function"&&(W="UNSAFE_componentWillReceiveProps"),typeof k.componentWillUpdate=="function"&&k.componentWillUpdate.__suppressDeprecationWarning!==!0?Q="componentWillUpdate":typeof k.UNSAFE_componentWillUpdate=="function"&&(Q="UNSAFE_componentWillUpdate"),$!==null||W!==null||Q!==null){var ge=Rt(t)||"Component",je=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";wE.has(ge)||(wE.add(ge),m(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
103
103
|
|
|
104
104
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
105
105
|
|
|
106
106
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
107
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,
|
|
108
|
-
|
|
109
|
-
`+
|
|
110
|
-
`+Q:""))}}}return
|
|
111
|
-
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var k=Je(e)||"Anonymous";
|
|
112
|
-
`+
|
|
107
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,ge,je,$!==null?`
|
|
108
|
+
`+$:"",W!==null?`
|
|
109
|
+
`+W:"",Q!==null?`
|
|
110
|
+
`+Q:""))}}}return u&&h1(e,c,p),k}function mL(e,t){var a=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),a!==t.state&&(m("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Je(e)||"Component"),NE.enqueueReplaceState(t,t.state,null))}function kT(e,t,a,u){var c=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,u),t.state!==c){{var p=Je(e)||"Component";bE.has(p)||(bE.add(p),m("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",p))}NE.enqueueReplaceState(t,t.state,null)}}function LE(e,t,a,u){hL(e,t,a);var c=e.stateNode;c.props=a,c.state=e.memoizedState,c.refs={},VS(e);var p=t.contextType;if(typeof p=="object"&&p!==null)c.context=Nn(p);else{var g=Qd(e,t,!0);c.context=qd(e,g)}{if(c.state===a){var E=Rt(t)||"Component";RE.has(E)||(RE.add(E),m("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",E))}e.mode<&&Na.recordLegacyContextWarning(e,c),Na.recordUnsafeLifecycleWarnings(e,c)}c.state=e.memoizedState;var C=t.getDerivedStateFromProps;if(typeof C=="function"&&(DE(e,t,C,a),c.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(mL(e,c),Og(e,a,c,u),c.state=e.memoizedState),typeof c.componentDidMount=="function"){var R=nt;R|=vr,(e.mode&_r)!==Ae&&(R|=hr),e.flags|=R}}function gL(e,t,a,u){var c=e.stateNode,p=e.memoizedProps;c.props=p;var g=c.context,E=t.contextType,C=Ai;if(typeof E=="object"&&E!==null)C=Nn(E);else{var R=Qd(e,t,!0);C=qd(e,R)}var k=t.getDerivedStateFromProps,F=typeof k=="function"||typeof c.getSnapshotBeforeUpdate=="function";!F&&(typeof c.UNSAFE_componentWillReceiveProps=="function"||typeof c.componentWillReceiveProps=="function")&&(p!==a||g!==C)&&kT(e,c,a,C),B1();var M=e.memoizedState,$=c.state=M;if(Og(e,a,c,u),$=e.memoizedState,p===a&&M===$&&!sg()&&!Dg()){if(typeof c.componentDidMount=="function"){var W=nt;W|=vr,(e.mode&_r)!==Ae&&(W|=hr),e.flags|=W}return!1}typeof k=="function"&&(DE(e,t,k,a),$=e.memoizedState);var Q=Dg()||wT(e,t,p,a,M,$,C);if(Q){if(!F&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"){var ge=nt;ge|=vr,(e.mode&_r)!==Ae&&(ge|=hr),e.flags|=ge}}else{if(typeof c.componentDidMount=="function"){var je=nt;je|=vr,(e.mode&_r)!==Ae&&(je|=hr),e.flags|=je}e.memoizedProps=a,e.memoizedState=$}return c.props=a,c.state=$,c.context=C,Q}function yL(e,t,a,u,c){var p=t.stateNode;H1(e,t);var g=t.memoizedProps,E=t.type===t.elementType?g:Aa(t.type,g);p.props=E;var C=t.pendingProps,R=p.context,k=a.contextType,F=Ai;if(typeof k=="object"&&k!==null)F=Nn(k);else{var M=Qd(t,a,!0);F=qd(t,M)}var $=a.getDerivedStateFromProps,W=typeof $=="function"||typeof p.getSnapshotBeforeUpdate=="function";!W&&(typeof p.UNSAFE_componentWillReceiveProps=="function"||typeof p.componentWillReceiveProps=="function")&&(g!==C||R!==F)&&kT(t,p,u,F),B1();var Q=t.memoizedState,ge=p.state=Q;if(Og(t,u,p,c),ge=t.memoizedState,g===C&&Q===ge&&!sg()&&!Dg()&&!Re)return typeof p.componentDidUpdate=="function"&&(g!==e.memoizedProps||Q!==e.memoizedState)&&(t.flags|=nt),typeof p.getSnapshotBeforeUpdate=="function"&&(g!==e.memoizedProps||Q!==e.memoizedState)&&(t.flags|=Xr),!1;typeof $=="function"&&(DE(t,a,$,u),ge=t.memoizedState);var je=Dg()||wT(t,a,E,u,Q,ge,F)||Re;return je?(!W&&(typeof p.UNSAFE_componentWillUpdate=="function"||typeof p.componentWillUpdate=="function")&&(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(u,ge,F),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(u,ge,F)),typeof p.componentDidUpdate=="function"&&(t.flags|=nt),typeof p.getSnapshotBeforeUpdate=="function"&&(t.flags|=Xr)):(typeof p.componentDidUpdate=="function"&&(g!==e.memoizedProps||Q!==e.memoizedState)&&(t.flags|=nt),typeof p.getSnapshotBeforeUpdate=="function"&&(g!==e.memoizedProps||Q!==e.memoizedState)&&(t.flags|=Xr),t.memoizedProps=u,t.memoizedState=ge),p.props=u,p.state=ge,p.context=F,je}function Zs(e,t){return{value:e,source:t,stack:Hf(t),digest:null}}function IE(e,t,a){return{value:e,source:null,stack:a??null,digest:t??null}}function SL(e,t){return!0}function AE(e,t){try{var a=SL(e,t);if(a===!1)return;var u=t.value,c=t.source,p=t.stack,g=p!==null?p:"";if(u!=null&&u._suppressLogging){if(e.tag===T)return;console.error(u)}var E=c?Je(c):null,C=E?"The above error occurred in the <"+E+"> component:":"The above error occurred in one of your React components:",R;if(e.tag===D)R=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
111
|
+
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var k=Je(e)||"Anonymous";R="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+k+".")}var F=C+`
|
|
112
|
+
`+g+`
|
|
113
113
|
|
|
114
|
-
`+(""+w);console.error(z)}catch(P){setTimeout(function(){throw P})}}var MN=typeof WeakMap=="function"?WeakMap:Map;function oT(e,t,i){var o=il(_t,i);o.tag=CS,o.payload={element:null};var c=t.value;return o.callback=function(){k_(c),gb(e,t)},o}function yb(e,t,i){var o=il(_t,i);o.tag=CS;var c=e.type.getDerivedStateFromError;if(typeof c=="function"){var p=t.value;o.payload=function(){return c(p)},o.callback=function(){gx(e),gb(e,t)}}var m=e.stateNode;return m!==null&&typeof m.componentDidCatch=="function"&&(o.callback=function(){gx(e),gb(e,t),typeof c!="function"&&w_(this);var E=t.value,w=t.stack;this.componentDidCatch(E,{componentStack:w!==null?w:""}),typeof c!="function"&&(yr(e.lanes,Pe)||h("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Je(e)||"Unknown"))}),o}function lT(e,t,i){var o=e.pingCache,c;if(o===null?(o=e.pingCache=new MN,c=new Set,o.set(t,c)):(c=o.get(t),c===void 0&&(c=new Set,o.set(t,c))),!c.has(i)){c.add(i);var p=O_.bind(null,e,t,i);Nr&&_v(e,i),t.then(p,p)}}function PN(e,t,i,o){var c=e.updateQueue;if(c===null){var p=new Set;p.add(i),e.updateQueue=p}else c.add(i)}function FN(e,t){var i=e.tag;if((e.mode&Ae)===Le&&(i===R||i===pe||i===Ne)){var o=e.alternate;o?(e.updateQueue=o.updateQueue,e.memoizedState=o.memoizedState,e.lanes=o.lanes):(e.updateQueue=null,e.memoizedState=null)}}function uT(e){var t=e;do{if(t.tag===xe&&gN(t))return t;t=t.return}while(t!==null);return null}function sT(e,t,i,o,c){if((e.mode&Ae)===Le){if(e===t)e.flags|=xn;else{if(e.flags|=Qe,i.flags|=cs,i.flags&=~(Ic|kr),i.tag===C){var p=i.alternate;if(p===null)i.tag=Me;else{var m=il(_t,Pe);m.tag=hg,mu(i,m,Pe)}}i.lanes=et(i.lanes,Pe)}return e}return e.flags|=xn,e.lanes=c,e}function zN(e,t,i,o,c){if(i.flags|=kr,Nr&&_v(e,c),o!==null&&typeof o=="object"&&typeof o.then=="function"){var p=o;FN(i),Jn()&&i.mode&Ae&&e1();var m=uT(t);if(m!==null){m.flags&=~Kt,sT(m,t,i,e,c),m.mode&Ae&&lT(e,p,c),PN(m,e,p);return}else{if(!yp(c)){lT(e,p,c),qb();return}var S=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");o=S}}else if(Jn()&&i.mode&Ae){e1();var E=uT(t);if(E!==null){(E.flags&xn)===Ue&&(E.flags|=Kt),sT(E,t,i,e,c),cS($s(o,i));return}}o=$s(o,i),g_(o);var w=t;do{switch(w.tag){case O:{var k=o;w.flags|=xn;var z=Yl(c);w.lanes=et(w.lanes,z);var P=oT(w,k,z);wS(w,P);return}case C:var B=o,G=w.type,Q=w.stateNode;if((w.flags&Qe)===Ue&&(typeof G.getDerivedStateFromError=="function"||Q!==null&&typeof Q.componentDidCatch=="function"&&!ux(Q))){w.flags|=xn;var ve=Yl(c);w.lanes=et(w.lanes,ve);var je=yb(w,B,ve);wS(w,je);return}break}w=w.return}while(w!==null)}function UN(){return null}var mv=l.ReactCurrentOwner,Na=!1,Sb,gv,bb,Eb,Cb,Gs,Tb,$g,yv;Sb={},gv={},bb={},Eb={},Cb={},Gs=!1,Tb={},$g={},yv={};function Ar(e,t,i,o){e===null?t.child=f1(t,null,i,o):t.child=$d(t,e.child,i,o)}function HN(e,t,i,o){t.child=$d(t,e.child,null,o),t.child=$d(t,null,i,o)}function cT(e,t,i,o,c){if(t.type!==t.elementType){var p=i.propTypes;p&&xa(p,o,"prop",wt(i))}var m=i.render,S=t.ref,E,w;Wd(t,c),Fl(t);{if(mv.current=t,Ti(!0),E=Zd(e,t,m,o,S,c),w=Jd(),t.mode&at){ln(!0);try{E=Zd(e,t,m,o,S,c),w=Jd()}finally{ln(!1)}}Ti(!1)}return hr(),e!==null&&!Na?(R1(e,t,c),al(e,t,c)):(Jn()&&w&&iS(t),t.flags|=Ka,Ar(e,t,E,c),t.child)}function dT(e,t,i,o,c){if(e===null){var p=i.type;if(G_(p)&&i.compare===null&&i.defaultProps===void 0){var m=p;return m=uf(p),t.tag=Ne,t.type=m,Rb(t,p),fT(e,t,m,o,c)}{var S=p.propTypes;if(S&&xa(S,o,"prop",wt(p)),i.defaultProps!==void 0){var E=wt(p)||"Unknown";yv[E]||(h("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",E),yv[E]=!0)}}var w=uE(i.type,null,o,t,t.mode,c);return w.ref=t.ref,w.return=t,t.child=w,w}{var k=i.type,z=k.propTypes;z&&xa(z,o,"prop",wt(k))}var P=e.child,B=_b(e,c);if(!B){var G=P.memoizedProps,Q=i.compare;if(Q=Q!==null?Q:We,Q(G,o)&&e.ref===t.ref)return al(e,t,c)}t.flags|=Ka;var ve=Xs(P,o);return ve.ref=t.ref,ve.return=t,t.child=ve,ve}function fT(e,t,i,o,c){if(t.type!==t.elementType){var p=t.elementType;if(p.$$typeof===Xn){var m=p,S=m._payload,E=m._init;try{p=E(S)}catch{p=null}var w=p&&p.propTypes;w&&xa(w,o,"prop",wt(p))}}if(e!==null){var k=e.memoizedProps;if(We(k,o)&&e.ref===t.ref&&t.type===e.type)if(Na=!1,t.pendingProps=o=k,_b(e,c))(e.flags&cs)!==Ue&&(Na=!0);else return t.lanes=e.lanes,al(e,t,c)}return xb(e,t,i,o,c)}function pT(e,t,i){var o=t.pendingProps,c=o.children,p=e!==null?e.memoizedState:null;if(o.mode==="hidden"||ce)if((t.mode&Ae)===Le){var m={baseLanes:ee,cachePool:null,transitions:null};t.memoizedState=m,ry(t,i)}else if(yr(i,Wn)){var z={baseLanes:ee,cachePool:null,transitions:null};t.memoizedState=z;var P=p!==null?p.baseLanes:i;ry(t,P)}else{var S=null,E;if(p!==null){var w=p.baseLanes;E=et(w,i)}else E=i;t.lanes=t.childLanes=Wn;var k={baseLanes:E,cachePool:S,transitions:null};return t.memoizedState=k,t.updateQueue=null,ry(t,E),null}else{var B;p!==null?(B=et(p.baseLanes,i),t.memoizedState=null):B=i,ry(t,B)}return Ar(e,t,c,i),t.child}function VN(e,t,i){var o=t.pendingProps;return Ar(e,t,o,i),t.child}function jN(e,t,i){var o=t.pendingProps.children;return Ar(e,t,o,i),t.child}function BN(e,t,i){{t.flags|=tt;{var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0}}var c=t.pendingProps,p=c.children;return Ar(e,t,p,i),t.child}function vT(e,t){var i=t.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(t.flags|=cr,t.flags|=ap)}function xb(e,t,i,o,c){if(t.type!==t.elementType){var p=i.propTypes;p&&xa(p,o,"prop",wt(i))}var m;{var S=Ud(t,i,!0);m=Hd(t,S)}var E,w;Wd(t,c),Fl(t);{if(mv.current=t,Ti(!0),E=Zd(e,t,i,o,m,c),w=Jd(),t.mode&at){ln(!0);try{E=Zd(e,t,i,o,m,c),w=Jd()}finally{ln(!1)}}Ti(!1)}return hr(),e!==null&&!Na?(R1(e,t,c),al(e,t,c)):(Jn()&&w&&iS(t),t.flags|=Ka,Ar(e,t,E,c),t.child)}function hT(e,t,i,o,c){{switch(oA(t)){case!1:{var p=t.stateNode,m=t.type,S=new m(t.memoizedProps,p.context),E=S.state;p.updater.enqueueSetState(p,E,null);break}case!0:{t.flags|=Qe,t.flags|=xn;var w=new Error("Simulated error coming from DevTools"),k=Yl(c);t.lanes=et(t.lanes,k);var z=yb(t,$s(w,t),k);wS(t,z);break}}if(t.type!==t.elementType){var P=i.propTypes;P&&xa(P,o,"prop",wt(i))}}var B;lo(i)?(B=!0,ng(t)):B=!1,Wd(t,c);var G=t.stateNode,Q;G===null?(Wg(e,t),iT(t,i,o),hb(t,i,o,c),Q=!0):e===null?Q=_N(t,i,o,c):Q=AN(e,t,i,o,c);var ve=wb(e,t,i,Q,B,c);{var je=t.stateNode;Q&&je.props!==o&&(Gs||h("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Je(t)||"a component"),Gs=!0)}return ve}function wb(e,t,i,o,c,p){vT(e,t);var m=(t.flags&Qe)!==Ue;if(!o&&!m)return c&&XC(t,i,!1),al(e,t,p);var S=t.stateNode;mv.current=t;var E;if(m&&typeof i.getDerivedStateFromError!="function")E=null,J1();else{Fl(t);{if(Ti(!0),E=S.render(),t.mode&at){ln(!0);try{S.render()}finally{ln(!1)}}Ti(!1)}hr()}return t.flags|=Ka,e!==null&&m?HN(e,t,E,p):Ar(e,t,E,p),t.memoizedState=S.state,c&&XC(t,i,!0),t.child}function mT(e){var t=e.stateNode;t.pendingContext?KC(e,t.pendingContext,t.pendingContext!==t.context):t.context&&KC(e,t.context,!1),RS(e,t.containerInfo)}function $N(e,t,i){if(mT(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var o=t.pendingProps,c=t.memoizedState,p=c.element;S1(e,t),Sg(t,o,null,i);var m=t.memoizedState;t.stateNode;var S=m.element;if(c.isDehydrated){var E={element:S,isDehydrated:!1,cache:m.cache,pendingSuspenseBoundaries:m.pendingSuspenseBoundaries,transitions:m.transitions},w=t.updateQueue;if(w.baseState=E,t.memoizedState=E,t.flags&Kt){var k=$s(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return gT(e,t,S,i,k)}else if(S!==p){var z=$s(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return gT(e,t,S,i,z)}else{YD(t);var P=f1(t,null,S,i);t.child=P;for(var B=P;B;)B.flags=B.flags&~At|Kr,B=B.sibling}}else{if(Bd(),S===p)return al(e,t,i);Ar(e,t,S,i)}return t.child}function gT(e,t,i,o,c){return Bd(),cS(c),t.flags|=Kt,Ar(e,t,i,o),t.child}function GN(e,t,i){T1(t),e===null&&sS(t);var o=t.type,c=t.pendingProps,p=e!==null?e.memoizedProps:null,m=c.children,S=$0(o,c);return S?m=null:p!==null&&$0(o,p)&&(t.flags|=Ct),vT(e,t),Ar(e,t,m,i),t.child}function WN(e,t){return e===null&&sS(t),null}function YN(e,t,i,o){Wg(e,t);var c=t.pendingProps,p=i,m=p._payload,S=p._init,E=S(m);t.type=E;var w=t.tag=W_(E),k=Da(E,c),z;switch(w){case R:return Rb(t,E),t.type=E=uf(E),z=xb(null,t,E,k,o),z;case C:return t.type=E=nE(E),z=hT(null,t,E,k,o),z;case pe:return t.type=E=rE(E),z=cT(null,t,E,k,o),z;case Ke:{if(t.type!==t.elementType){var P=E.propTypes;P&&xa(P,k,"prop",wt(E))}return z=dT(null,t,E,Da(E.type,k),o),z}}var B="";throw E!==null&&typeof E=="object"&&E.$$typeof===Xn&&(B=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+E+". "+("Lazy element type must resolve to a class or function."+B))}function KN(e,t,i,o,c){Wg(e,t),t.tag=C;var p;return lo(i)?(p=!0,ng(t)):p=!1,Wd(t,c),iT(t,i,o),hb(t,i,o,c),wb(null,t,i,!0,p,c)}function QN(e,t,i,o){Wg(e,t);var c=t.pendingProps,p;{var m=Ud(t,i,!1);p=Hd(t,m)}Wd(t,o);var S,E;Fl(t);{if(i.prototype&&typeof i.prototype.render=="function"){var w=wt(i)||"Unknown";Sb[w]||(h("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",w,w),Sb[w]=!0)}t.mode&at&&Ra.recordLegacyContextWarning(t,null),Ti(!0),mv.current=t,S=Zd(null,t,i,c,p,o),E=Jd(),Ti(!1)}if(hr(),t.flags|=Ka,typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){var k=wt(i)||"Unknown";gv[k]||(h("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",k,k,k),gv[k]=!0)}if(typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){{var z=wt(i)||"Unknown";gv[z]||(h("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),gv[z]=!0)}t.tag=C,t.memoizedState=null,t.updateQueue=null;var P=!1;return lo(i)?(P=!0,ng(t)):P=!1,t.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,xS(t),rT(t,S),hb(t,i,c,o),wb(null,t,i,!0,P,o)}else{if(t.tag=R,t.mode&at){ln(!0);try{S=Zd(null,t,i,c,p,o),E=Jd()}finally{ln(!1)}}return Jn()&&E&&iS(t),Ar(null,t,S,o),Rb(t,i),t.child}}function Rb(e,t){{if(t&&t.childContextTypes&&h("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var i="",o=$r();o&&(i+=`
|
|
114
|
+
`+(""+R);console.error(F)}catch(M){setTimeout(function(){throw M})}}var EL=typeof WeakMap=="function"?WeakMap:Map;function OT(e,t,a){var u=dl(At,a);u.tag=zS,u.payload={element:null};var c=t.value;return u.callback=function(){fA(c),AE(e,t)},u}function _E(e,t,a){var u=dl(At,a);u.tag=zS;var c=e.type.getDerivedStateFromError;if(typeof c=="function"){var p=t.value;u.payload=function(){return c(p)},u.callback=function(){Uw(e),AE(e,t)}}var g=e.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(u.callback=function(){Uw(e),AE(e,t),typeof c!="function"&&cA(this);var C=t.value,R=t.stack;this.componentDidCatch(C,{componentStack:R!==null?R:""}),typeof c!="function"&&(br(e.lanes,Ue)||m("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Je(e)||"Unknown"))}),u}function DT(e,t,a){var u=e.pingCache,c;if(u===null?(u=e.pingCache=new EL,c=new Set,u.set(t,c)):(c=u.get(t),c===void 0&&(c=new Set,u.set(t,c))),!c.has(a)){c.add(a);var p=pA.bind(null,e,t,a);Ar&&jv(e,a),t.then(p,p)}}function bL(e,t,a,u){var c=e.updateQueue;if(c===null){var p=new Set;p.add(a),e.updateQueue=p}else c.add(a)}function CL(e,t){var a=e.tag;if((e.mode&Me)===Ae&&(a===w||a===Z||a===we)){var u=e.alternate;u?(e.updateQueue=u.updateQueue,e.memoizedState=u.memoizedState,e.lanes=u.lanes):(e.updateQueue=null,e.memoizedState=null)}}function NT(e){var t=e;do{if(t.tag===fe&&nL(t))return t;t=t.return}while(t!==null);return null}function LT(e,t,a,u,c){if((e.mode&Me)===Ae){if(e===t)e.flags|=Rn;else{if(e.flags|=Qe,a.flags|=ys,a.flags&=~($c|Nr),a.tag===T){var p=a.alternate;if(p===null)a.tag=Ie;else{var g=dl(At,Ue);g.tag=wg,wu(a,g,Ue)}}a.lanes=et(a.lanes,Ue)}return e}return e.flags|=Rn,e.lanes=c,e}function TL(e,t,a,u,c){if(a.flags|=Nr,Ar&&jv(e,c),u!==null&&typeof u=="object"&&typeof u.then=="function"){var p=u;CL(a),tr()&&a.mode&Me&&C1();var g=NT(t);if(g!==null){g.flags&=~Kt,LT(g,t,a,e,c),g.mode&Me&&DT(e,p,c),bL(g,e,p);return}else{if(!Dp(c)){DT(e,p,c),pb();return}var E=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");u=E}}else if(tr()&&a.mode&Me){C1();var C=NT(t);if(C!==null){(C.flags&Rn)===He&&(C.flags|=Kt),LT(C,t,a,e,c),RS(Zs(u,a));return}}u=Zs(u,a),nA(u);var R=t;do{switch(R.tag){case D:{var k=u;R.flags|=Rn;var F=tu(c);R.lanes=et(R.lanes,F);var M=OT(R,k,F);HS(R,M);return}case T:var $=u,W=R.type,Q=R.stateNode;if((R.flags&Qe)===He&&(typeof W.getDerivedStateFromError=="function"||Q!==null&&typeof Q.componentDidCatch=="function"&&!Nw(Q))){R.flags|=Rn;var ge=tu(c);R.lanes=et(R.lanes,ge);var je=_E(R,$,ge);HS(R,je);return}break}R=R.return}while(R!==null)}function wL(){return null}var kv=o.ReactCurrentOwner,_a=!1,ME,Ov,PE,FE,zE,Js,UE,Jg,Dv;ME={},Ov={},PE={},FE={},zE={},Js=!1,UE={},Jg={},Dv={};function Pr(e,t,a,u){e===null?t.child=_1(t,null,a,u):t.child=ef(t,e.child,a,u)}function xL(e,t,a,u){t.child=ef(t,e.child,null,u),t.child=ef(t,null,a,u)}function IT(e,t,a,u,c){if(t.type!==t.elementType){var p=a.propTypes;p&&Oa(p,u,"prop",Rt(a))}var g=a.render,E=t.ref,C,R;nf(t,c),Gl(t);{if(kv.current=t,Oi(!0),C=sf(e,t,g,u,E,c),R=cf(),t.mode<){ln(!0);try{C=sf(e,t,g,u,E,c),R=cf()}finally{ln(!1)}}Oi(!1)}return yr(),e!==null&&!_a?(K1(e,t,c),fl(e,t,c)):(tr()&&R&&ES(t),t.flags|=eo,Pr(e,t,C,c),t.child)}function AT(e,t,a,u,c){if(e===null){var p=a.type;if(NA(p)&&a.compare===null&&a.defaultProps===void 0){var g=p;return g=yf(p),t.tag=we,t.type=g,BE(t,p),_T(e,t,g,u,c)}{var E=p.propTypes;if(E&&Oa(E,u,"prop",Rt(p)),a.defaultProps!==void 0){var C=Rt(p)||"Unknown";Dv[C]||(m("%s: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.",C),Dv[C]=!0)}}var R=wb(a.type,null,u,t,t.mode,c);return R.ref=t.ref,R.return=t,t.child=R,R}{var k=a.type,F=k.propTypes;F&&Oa(F,u,"prop",Rt(k))}var M=e.child,$=KE(e,c);if(!$){var W=M.memoizedProps,Q=a.compare;if(Q=Q!==null?Q:We,Q(W,u)&&e.ref===t.ref)return fl(e,t,c)}t.flags|=eo;var ge=ic(M,u);return ge.ref=t.ref,ge.return=t,t.child=ge,ge}function _T(e,t,a,u,c){if(t.type!==t.elementType){var p=t.elementType;if(p.$$typeof===Zn){var g=p,E=g._payload,C=g._init;try{p=C(E)}catch{p=null}var R=p&&p.propTypes;R&&Oa(R,u,"prop",Rt(p))}}if(e!==null){var k=e.memoizedProps;if(We(k,u)&&e.ref===t.ref&&t.type===e.type)if(_a=!1,t.pendingProps=u=k,KE(e,c))(e.flags&ys)!==He&&(_a=!0);else return t.lanes=e.lanes,fl(e,t,c)}return VE(e,t,a,u,c)}function MT(e,t,a){var u=t.pendingProps,c=u.children,p=e!==null?e.memoizedState:null;if(u.mode==="hidden"||pe)if((t.mode&Me)===Ae){var g={baseLanes:ne,cachePool:null,transitions:null};t.memoizedState=g,fy(t,a)}else if(br(a,Kn)){var F={baseLanes:ne,cachePool:null,transitions:null};t.memoizedState=F;var M=p!==null?p.baseLanes:a;fy(t,M)}else{var E=null,C;if(p!==null){var R=p.baseLanes;C=et(R,a)}else C=a;t.lanes=t.childLanes=Kn;var k={baseLanes:C,cachePool:E,transitions:null};return t.memoizedState=k,t.updateQueue=null,fy(t,C),null}else{var $;p!==null?($=et(p.baseLanes,a),t.memoizedState=null):$=a,fy(t,$)}return Pr(e,t,c,a),t.child}function RL(e,t,a){var u=t.pendingProps;return Pr(e,t,u,a),t.child}function kL(e,t,a){var u=t.pendingProps.children;return Pr(e,t,u,a),t.child}function OL(e,t,a){{t.flags|=nt;{var u=t.stateNode;u.effectDuration=0,u.passiveEffectDuration=0}}var c=t.pendingProps,p=c.children;return Pr(e,t,p,a),t.child}function PT(e,t){var a=t.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(t.flags|=pr,t.flags|=mp)}function VE(e,t,a,u,c){if(t.type!==t.elementType){var p=a.propTypes;p&&Oa(p,u,"prop",Rt(a))}var g;{var E=Qd(t,a,!0);g=qd(t,E)}var C,R;nf(t,c),Gl(t);{if(kv.current=t,Oi(!0),C=sf(e,t,a,u,g,c),R=cf(),t.mode<){ln(!0);try{C=sf(e,t,a,u,g,c),R=cf()}finally{ln(!1)}}Oi(!1)}return yr(),e!==null&&!_a?(K1(e,t,c),fl(e,t,c)):(tr()&&R&&ES(t),t.flags|=eo,Pr(e,t,C,c),t.child)}function FT(e,t,a,u,c){{switch(GA(t)){case!1:{var p=t.stateNode,g=t.type,E=new g(t.memoizedProps,p.context),C=E.state;p.updater.enqueueSetState(p,C,null);break}case!0:{t.flags|=Qe,t.flags|=Rn;var R=new Error("Simulated error coming from DevTools"),k=tu(c);t.lanes=et(t.lanes,k);var F=_E(t,Zs(R,t),k);HS(t,F);break}}if(t.type!==t.elementType){var M=a.propTypes;M&&Oa(M,u,"prop",Rt(a))}}var $;vo(a)?($=!0,dg(t)):$=!1,nf(t,c);var W=t.stateNode,Q;W===null?(ty(e,t),RT(t,a,u),LE(t,a,u,c),Q=!0):e===null?Q=gL(t,a,u,c):Q=yL(e,t,a,u,c);var ge=HE(e,t,a,Q,$,c);{var je=t.stateNode;Q&&je.props!==u&&(Js||m("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Je(t)||"a component"),Js=!0)}return ge}function HE(e,t,a,u,c,p){PT(e,t);var g=(t.flags&Qe)!==He;if(!u&&!g)return c&&y1(t,a,!1),fl(e,t,p);var E=t.stateNode;kv.current=t;var C;if(g&&typeof a.getDerivedStateFromError!="function")C=null,bT();else{Gl(t);{if(Oi(!0),C=E.render(),t.mode<){ln(!0);try{E.render()}finally{ln(!1)}}Oi(!1)}yr()}return t.flags|=eo,e!==null&&g?xL(e,t,C,p):Pr(e,t,C,p),t.memoizedState=E.state,c&&y1(t,a,!0),t.child}function zT(e){var t=e.stateNode;t.pendingContext?m1(e,t.pendingContext,t.pendingContext!==t.context):t.context&&m1(e,t.context,!1),BS(e,t.containerInfo)}function DL(e,t,a){if(zT(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var u=t.pendingProps,c=t.memoizedState,p=c.element;H1(e,t),Og(t,u,null,a);var g=t.memoizedState;t.stateNode;var E=g.element;if(c.isDehydrated){var C={element:E,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},R=t.updateQueue;if(R.baseState=C,t.memoizedState=C,t.flags&Kt){var k=Zs(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return UT(e,t,E,a,k)}else if(E!==p){var F=Zs(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return UT(e,t,E,a,F)}else{IN(t);var M=_1(t,null,E,a);t.child=M;for(var $=M;$;)$.flags=$.flags&~_t|Zr,$=$.sibling}}else{if(Jd(),E===p)return fl(e,t,a);Pr(e,t,E,a)}return t.child}function UT(e,t,a,u,c){return Jd(),RS(c),t.flags|=Kt,Pr(e,t,a,u),t.child}function NL(e,t,a){G1(t),e===null&&xS(t);var u=t.type,c=t.pendingProps,p=e!==null?e.memoizedProps:null,g=c.children,E=oS(u,c);return E?g=null:p!==null&&oS(u,p)&&(t.flags|=Tt),PT(e,t),Pr(e,t,g,a),t.child}function LL(e,t){return e===null&&xS(t),null}function IL(e,t,a,u){ty(e,t);var c=t.pendingProps,p=a,g=p._payload,E=p._init,C=E(g);t.type=C;var R=t.tag=LA(C),k=Aa(C,c),F;switch(R){case w:return BE(t,C),t.type=C=yf(C),F=VE(null,t,C,k,u),F;case T:return t.type=C=yb(C),F=FT(null,t,C,k,u),F;case Z:return t.type=C=Sb(C),F=IT(null,t,C,k,u),F;case Fe:{if(t.type!==t.elementType){var M=C.propTypes;M&&Oa(M,k,"prop",Rt(C))}return F=AT(null,t,C,Aa(C.type,k),u),F}}var $="";throw C!==null&&typeof C=="object"&&C.$$typeof===Zn&&($=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+C+". "+("Lazy element type must resolve to a class or function."+$))}function AL(e,t,a,u,c){ty(e,t),t.tag=T;var p;return vo(a)?(p=!0,dg(t)):p=!1,nf(t,c),RT(t,a,u),LE(t,a,u,c),HE(null,t,a,!0,p,c)}function _L(e,t,a,u){ty(e,t);var c=t.pendingProps,p;{var g=Qd(t,a,!1);p=qd(t,g)}nf(t,u);var E,C;Gl(t);{if(a.prototype&&typeof a.prototype.render=="function"){var R=Rt(a)||"Unknown";ME[R]||(m("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",R,R),ME[R]=!0)}t.mode<&&Na.recordLegacyContextWarning(t,null),Oi(!0),kv.current=t,E=sf(null,t,a,c,p,u),C=cf(),Oi(!1)}if(yr(),t.flags|=eo,typeof E=="object"&&E!==null&&typeof E.render=="function"&&E.$$typeof===void 0){var k=Rt(a)||"Unknown";Ov[k]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",k,k,k),Ov[k]=!0)}if(typeof E=="object"&&E!==null&&typeof E.render=="function"&&E.$$typeof===void 0){{var F=Rt(a)||"Unknown";Ov[F]||(m("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",F,F,F),Ov[F]=!0)}t.tag=T,t.memoizedState=null,t.updateQueue=null;var M=!1;return vo(a)?(M=!0,dg(t)):M=!1,t.memoizedState=E.state!==null&&E.state!==void 0?E.state:null,VS(t),xT(t,E),LE(t,a,c,u),HE(null,t,a,!0,M,u)}else{if(t.tag=w,t.mode<){ln(!0);try{E=sf(null,t,a,c,p,u),C=cf()}finally{ln(!1)}}return tr()&&C&&ES(t),Pr(null,t,E,u),BE(t,a),t.child}}function BE(e,t){{if(t&&t.childContextTypes&&m("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var a="",u=Kr();u&&(a+=`
|
|
115
115
|
|
|
116
|
-
Check the render method of \``+o+"`.");var c=o||"",p=e._debugSource;p&&(c=p.fileName+":"+p.lineNumber),Cb[c]||(Cb[c]=!0,h("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",i))}if(t.defaultProps!==void 0){var m=wt(t)||"Unknown";yv[m]||(h("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",m),yv[m]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var S=wt(t)||"Unknown";Eb[S]||(h("%s: Function components do not support getDerivedStateFromProps.",S),Eb[S]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var E=wt(t)||"Unknown";bb[E]||(h("%s: Function components do not support contextType.",E),bb[E]=!0)}}}var kb={dehydrated:null,treeContext:null,retryLane:un};function Ob(e){return{baseLanes:e,cachePool:UN(),transitions:null}}function XN(e,t){var i=null;return{baseLanes:et(e.baseLanes,t),cachePool:i,transitions:e.transitions}}function qN(e,t,i,o){if(t!==null){var c=t.memoizedState;if(c===null)return!1}return DS(e,lv)}function ZN(e,t){return bs(e.childLanes,t)}function yT(e,t,i){var o=t.pendingProps;lA(t)&&(t.flags|=Qe);var c=ka.current,p=!1,m=(t.flags&Qe)!==Ue;if(m||qN(c,e)?(p=!0,t.flags&=~Qe):(e===null||e.memoizedState!==null)&&(c=mN(c,w1)),c=Kd(c),yu(t,c),e===null){sS(t);var S=t.memoizedState;if(S!==null){var E=S.dehydrated;if(E!==null)return rL(t,E)}var w=o.children,k=o.fallback;if(p){var z=JN(t,w,k,i),P=t.child;return P.memoizedState=Ob(i),t.memoizedState=kb,z}else return Db(t,w)}else{var B=e.memoizedState;if(B!==null){var G=B.dehydrated;if(G!==null)return iL(e,t,m,o,G,B,i)}if(p){var Q=o.fallback,ve=o.children,je=tL(e,t,ve,Q,i),Ie=t.child,ht=e.child.memoizedState;return Ie.memoizedState=ht===null?Ob(i):XN(ht,i),Ie.childLanes=ZN(e,i),t.memoizedState=kb,je}else{var ct=o.children,H=eL(e,t,ct,i);return t.memoizedState=null,H}}}function Db(e,t,i){var o=e.mode,c={mode:"visible",children:t},p=Nb(c,o);return p.return=e,e.child=p,p}function JN(e,t,i,o){var c=e.mode,p=e.child,m={mode:"hidden",children:t},S,E;return(c&Ae)===Le&&p!==null?(S=p,S.childLanes=ee,S.pendingProps=m,e.mode&Xe&&(S.actualDuration=0,S.actualStartTime=-1,S.selfBaseDuration=0,S.treeBaseDuration=0),E=Ru(i,c,o,null)):(S=Nb(m,c),E=Ru(i,c,o,null)),S.return=e,E.return=e,S.sibling=E,e.child=S,E}function Nb(e,t,i){return Sx(e,t,ee,null)}function ST(e,t){return Xs(e,t)}function eL(e,t,i,o){var c=e.child,p=c.sibling,m=ST(c,{mode:"visible",children:i});if((t.mode&Ae)===Le&&(m.lanes=o),m.return=t,m.sibling=null,p!==null){var S=t.deletions;S===null?(t.deletions=[p],t.flags|=bt):S.push(p)}return t.child=m,m}function tL(e,t,i,o,c){var p=t.mode,m=e.child,S=m.sibling,E={mode:"hidden",children:i},w;if((p&Ae)===Le&&t.child!==m){var k=t.child;w=k,w.childLanes=ee,w.pendingProps=E,t.mode&Xe&&(w.actualDuration=0,w.actualStartTime=-1,w.selfBaseDuration=m.selfBaseDuration,w.treeBaseDuration=m.treeBaseDuration),t.deletions=null}else w=ST(m,E),w.subtreeFlags=m.subtreeFlags&Nn;var z;return S!==null?z=Xs(S,o):(z=Ru(o,p,c,null),z.flags|=At),z.return=t,w.return=t,w.sibling=z,t.child=w,z}function Gg(e,t,i,o){o!==null&&cS(o),$d(t,e.child,null,i);var c=t.pendingProps,p=c.children,m=Db(t,p);return m.flags|=At,t.memoizedState=null,m}function nL(e,t,i,o,c){var p=t.mode,m={mode:"visible",children:i},S=Nb(m,p),E=Ru(o,p,c,null);return E.flags|=At,S.return=t,E.return=t,S.sibling=E,t.child=S,(t.mode&Ae)!==Le&&$d(t,e.child,null,c),E}function rL(e,t,i){return(e.mode&Ae)===Le?(h("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=Pe):K0(t)?e.lanes=Sa:e.lanes=Wn,null}function iL(e,t,i,o,c,p,m){if(i)if(t.flags&Kt){t.flags&=~Kt;var H=mb(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Gg(e,t,m,H)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Qe,null;var X=o.children,V=o.fallback,oe=nL(e,t,X,V,m),be=t.child;return be.memoizedState=Ob(m),t.memoizedState=kb,oe}else{if(GD(),(t.mode&Ae)===Le)return Gg(e,t,m,null);if(K0(c)){var S,E,w;{var k=uD(c);S=k.digest,E=k.message,w=k.stack}var z;E?z=new Error(E):z=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var P=mb(z,S,w);return Gg(e,t,m,P)}var B=yr(m,e.childLanes);if(Na||B){var G=ny();if(G!==null){var Q=gm(G,m);if(Q!==un&&Q!==p.retryLane){p.retryLane=Q;var ve=_t;oi(e,Q),Hn(G,e,Q,ve)}}qb();var je=mb(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Gg(e,t,m,je)}else if(jC(c)){t.flags|=Qe,t.child=e.child;var Ie=D_.bind(null,e);return sD(c,Ie),null}else{KD(t,c,p.treeContext);var ht=o.children,ct=Db(t,ht);return ct.flags|=Kr,ct}}}function bT(e,t,i){e.lanes=et(e.lanes,t);var o=e.alternate;o!==null&&(o.lanes=et(o.lanes,t)),bS(e.return,t,i)}function aL(e,t,i){for(var o=t;o!==null;){if(o.tag===xe){var c=o.memoizedState;c!==null&&bT(o,i,e)}else if(o.tag===le)bT(o,i,e);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===e)return;for(;o.sibling===null;){if(o.return===null||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function oL(e){for(var t=e,i=null;t!==null;){var o=t.alternate;o!==null&&Tg(o)===null&&(i=t),t=t.sibling}return i}function lL(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!Tb[e])if(Tb[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{h('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{h('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:h('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else h('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function uL(e,t){e!==void 0&&!$g[e]&&(e!=="collapsed"&&e!=="hidden"?($g[e]=!0,h('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&($g[e]=!0,h('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function ET(e,t){{var i=Cn(e),o=!i&&typeof ua(e)=="function";if(i||o){var c=i?"array":"iterable";return h("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",c,t,c),!1}}return!0}function sL(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(Cn(e)){for(var i=0;i<e.length;i++)if(!ET(e[i],i))return}else{var o=ua(e);if(typeof o=="function"){var c=o.call(e);if(c)for(var p=c.next(),m=0;!p.done;p=c.next()){if(!ET(p.value,m))return;m++}}else h('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function Lb(e,t,i,o,c){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:i,tailMode:c}:(p.isBackwards=t,p.rendering=null,p.renderingStartTime=0,p.last=o,p.tail=i,p.tailMode=c)}function CT(e,t,i){var o=t.pendingProps,c=o.revealOrder,p=o.tail,m=o.children;lL(c),uL(p,c),sL(m,c),Ar(e,t,m,i);var S=ka.current,E=DS(S,lv);if(E)S=NS(S,lv),t.flags|=Qe;else{var w=e!==null&&(e.flags&Qe)!==Ue;w&&aL(t,t.child,i),S=Kd(S)}if(yu(t,S),(t.mode&Ae)===Le)t.memoizedState=null;else switch(c){case"forwards":{var k=oL(t.child),z;k===null?(z=t.child,t.child=null):(z=k.sibling,k.sibling=null),Lb(t,!1,z,k,p);break}case"backwards":{var P=null,B=t.child;for(t.child=null;B!==null;){var G=B.alternate;if(G!==null&&Tg(G)===null){t.child=B;break}var Q=B.sibling;B.sibling=P,P=B,B=Q}Lb(t,!0,P,null,p);break}case"together":{Lb(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function cL(e,t,i){RS(t,t.stateNode.containerInfo);var o=t.pendingProps;return e===null?t.child=$d(t,null,o,i):Ar(e,t,o,i),t.child}var TT=!1;function dL(e,t,i){var o=t.type,c=o._context,p=t.pendingProps,m=t.memoizedProps,S=p.value;{"value"in p||TT||(TT=!0,h("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var E=t.type.propTypes;E&&xa(E,p,"prop","Context.Provider")}if(h1(t,c,S),m!==null){var w=m.value;if(ke(w,S)){if(m.children===p.children&&!eg())return al(e,t,i)}else lN(t,c,i)}var k=p.children;return Ar(e,t,k,i),t.child}var xT=!1;function fL(e,t,i){var o=t.type;o._context===void 0?o!==o.Consumer&&(xT||(xT=!0,h("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):o=o._context;var c=t.pendingProps,p=c.children;typeof p!="function"&&h("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Wd(t,i);var m=On(o);Fl(t);var S;return mv.current=t,Ti(!0),S=p(m),Ti(!1),hr(),t.flags|=Ka,Ar(e,t,S,i),t.child}function Sv(){Na=!0}function Wg(e,t){(t.mode&Ae)===Le&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=At)}function al(e,t,i){return e!==null&&(t.dependencies=e.dependencies),J1(),Lv(t.lanes),yr(i,t.childLanes)?(aN(e,t),t.child):null}function pL(e,t,i){{var o=t.return;if(o===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,i.index=t.index,i.sibling=t.sibling,i.return=t.return,i.ref=t.ref,t===o.child)o.child=i;else{var c=o.child;if(c===null)throw new Error("Expected parent to have a child.");for(;c.sibling!==t;)if(c=c.sibling,c===null)throw new Error("Expected to find the previous sibling.");c.sibling=i}var p=o.deletions;return p===null?(o.deletions=[e],o.flags|=bt):p.push(e),i.flags|=At,i}}function _b(e,t){var i=e.lanes;return!!yr(i,t)}function vL(e,t,i){switch(t.tag){case O:mT(t),t.stateNode,Bd();break;case A:T1(t);break;case C:{var o=t.type;lo(o)&&ng(t);break}case _:RS(t,t.stateNode.containerInfo);break;case Te:{var c=t.memoizedProps.value,p=t.type._context;h1(t,p,c);break}case He:{var m=yr(i,t.childLanes);m&&(t.flags|=tt);{var S=t.stateNode;S.effectDuration=0,S.passiveEffectDuration=0}}break;case xe:{var E=t.memoizedState;if(E!==null){if(E.dehydrated!==null)return yu(t,Kd(ka.current)),t.flags|=Qe,null;var w=t.child,k=w.childLanes;if(yr(i,k))return yT(e,t,i);yu(t,Kd(ka.current));var z=al(e,t,i);return z!==null?z.sibling:null}else yu(t,Kd(ka.current));break}case le:{var P=(e.flags&Qe)!==Ue,B=yr(i,t.childLanes);if(P){if(B)return CT(e,t,i);t.flags|=Qe}var G=t.memoizedState;if(G!==null&&(G.rendering=null,G.tail=null,G.lastEffect=null),yu(t,ka.current),B)break;return null}case W:case ne:return t.lanes=ee,pT(e,t,i)}return al(e,t,i)}function wT(e,t,i){if(t._debugNeedsRemount&&e!==null)return pL(e,t,uE(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var o=e.memoizedProps,c=t.pendingProps;if(o!==c||eg()||t.type!==e.type)Na=!0;else{var p=_b(e,i);if(!p&&(t.flags&Qe)===Ue)return Na=!1,vL(e,t,i);(e.flags&cs)!==Ue?Na=!0:Na=!1}}else if(Na=!1,Jn()&&UD(t)){var m=t.index,S=HD();JC(t,S,m)}switch(t.lanes=ee,t.tag){case D:return QN(e,t,t.type,i);case Et:{var E=t.elementType;return YN(e,t,E,i)}case R:{var w=t.type,k=t.pendingProps,z=t.elementType===w?k:Da(w,k);return xb(e,t,w,z,i)}case C:{var P=t.type,B=t.pendingProps,G=t.elementType===P?B:Da(P,B);return hT(e,t,P,G,i)}case O:return $N(e,t,i);case A:return GN(e,t,i);case N:return WN(e,t);case xe:return yT(e,t,i);case _:return cL(e,t,i);case pe:{var Q=t.type,ve=t.pendingProps,je=t.elementType===Q?ve:Da(Q,ve);return cT(e,t,Q,je,i)}case I:return VN(e,t,i);case K:return jN(e,t,i);case He:return BN(e,t,i);case Te:return dL(e,t,i);case J:return fL(e,t,i);case Ke:{var Ie=t.type,ht=t.pendingProps,ct=Da(Ie,ht);if(t.type!==t.elementType){var H=Ie.propTypes;H&&xa(H,ct,"prop",wt(Ie))}return ct=Da(Ie.type,ct),dT(e,t,Ie,ct,i)}case Ne:return fT(e,t,t.type,t.pendingProps,i);case Me:{var X=t.type,V=t.pendingProps,oe=t.elementType===X?V:Da(X,V);return KN(e,t,X,oe,i)}case le:return CT(e,t,i);case Y:break;case W:return pT(e,t,i)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function ef(e){e.flags|=tt}function RT(e){e.flags|=cr,e.flags|=ap}var kT,Ab,OT,DT;kT=function(e,t,i,o){for(var c=t.child;c!==null;){if(c.tag===A||c.tag===N)PO(e,c.stateNode);else if(c.tag!==_){if(c.child!==null){c.child.return=c,c=c.child;continue}}if(c===t)return;for(;c.sibling===null;){if(c.return===null||c.return===t)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},Ab=function(e,t){},OT=function(e,t,i,o,c){var p=e.memoizedProps;if(p!==o){var m=t.stateNode,S=kS(),E=zO(m,i,p,o,c,S);t.updateQueue=E,E&&ef(t)}},DT=function(e,t,i,o){i!==o&&ef(t)};function bv(e,t){if(!Jn())switch(e.tailMode){case"hidden":{for(var i=e.tail,o=null;i!==null;)i.alternate!==null&&(o=i),i=i.sibling;o===null?e.tail=null:o.sibling=null;break}case"collapsed":{for(var c=e.tail,p=null;c!==null;)c.alternate!==null&&(p=c),c=c.sibling;p===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:p.sibling=null;break}}}function tr(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=ee,o=Ue;if(t){if((e.mode&Xe)!==Le){for(var E=e.selfBaseDuration,w=e.child;w!==null;)i=et(i,et(w.lanes,w.childLanes)),o|=w.subtreeFlags&Nn,o|=w.flags&Nn,E+=w.treeBaseDuration,w=w.sibling;e.treeBaseDuration=E}else for(var k=e.child;k!==null;)i=et(i,et(k.lanes,k.childLanes)),o|=k.subtreeFlags&Nn,o|=k.flags&Nn,k.return=e,k=k.sibling;e.subtreeFlags|=o}else{if((e.mode&Xe)!==Le){for(var c=e.actualDuration,p=e.selfBaseDuration,m=e.child;m!==null;)i=et(i,et(m.lanes,m.childLanes)),o|=m.subtreeFlags,o|=m.flags,c+=m.actualDuration,p+=m.treeBaseDuration,m=m.sibling;e.actualDuration=c,e.treeBaseDuration=p}else for(var S=e.child;S!==null;)i=et(i,et(S.lanes,S.childLanes)),o|=S.subtreeFlags,o|=S.flags,S.return=e,S=S.sibling;e.subtreeFlags|=o}return e.childLanes=i,t}function hL(e,t,i){if(JD()&&(t.mode&Ae)!==Le&&(t.flags&Qe)===Ue)return o1(t),Bd(),t.flags|=Kt|kr|xn,!1;var o=lg(t);if(i!==null&&i.dehydrated!==null)if(e===null){if(!o)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(qD(t),tr(t),(t.mode&Xe)!==Le){var c=i!==null;if(c){var p=t.child;p!==null&&(t.treeBaseDuration-=p.treeBaseDuration)}}return!1}else{if(Bd(),(t.flags&Qe)===Ue&&(t.memoizedState=null),t.flags|=tt,tr(t),(t.mode&Xe)!==Le){var m=i!==null;if(m){var S=t.child;S!==null&&(t.treeBaseDuration-=S.treeBaseDuration)}}return!1}else return l1(),!0}function NT(e,t,i){var o=t.pendingProps;switch(aS(t),t.tag){case D:case Et:case Ne:case R:case pe:case I:case K:case He:case J:case Ke:return tr(t),null;case C:{var c=t.type;return lo(c)&&tg(t),tr(t),null}case O:{var p=t.stateNode;if(Yd(t),tS(t),_S(),p.pendingContext&&(p.context=p.pendingContext,p.pendingContext=null),e===null||e.child===null){var m=lg(t);if(m)ef(t);else if(e!==null){var S=e.memoizedState;(!S.isDehydrated||(t.flags&Kt)!==Ue)&&(t.flags|=Yr,l1())}}return Ab(e,t),tr(t),null}case A:{OS(t);var E=C1(),w=t.type;if(e!==null&&t.stateNode!=null)OT(e,t,w,o,E),e.ref!==t.ref&&RT(t);else{if(!o){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return tr(t),null}var k=kS(),z=lg(t);if(z)QD(t,E,k)&&ef(t);else{var P=MO(w,o,E,k,t);kT(P,t,!1,!1),t.stateNode=P,FO(P,w,o,E)&&ef(t)}t.ref!==null&&RT(t)}return tr(t),null}case N:{var B=o;if(e&&t.stateNode!=null){var G=e.memoizedProps;DT(e,t,G,B)}else{if(typeof B!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var Q=C1(),ve=kS(),je=lg(t);je?XD(t)&&ef(t):t.stateNode=UO(B,Q,ve,t)}return tr(t),null}case xe:{Qd(t);var Ie=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var ht=hL(e,t,Ie);if(!ht)return t.flags&xn?t:null}if((t.flags&Qe)!==Ue)return t.lanes=i,(t.mode&Xe)!==Le&&rb(t),t;var ct=Ie!==null,H=e!==null&&e.memoizedState!==null;if(ct!==H&&ct){var X=t.child;if(X.flags|=Qa,(t.mode&Ae)!==Le){var V=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!ot);V||DS(ka.current,w1)?m_():qb()}}var oe=t.updateQueue;if(oe!==null&&(t.flags|=tt),tr(t),(t.mode&Xe)!==Le&&ct){var be=t.child;be!==null&&(t.treeBaseDuration-=be.treeBaseDuration)}return null}case _:return Yd(t),Ab(e,t),e===null&&_D(t.stateNode.containerInfo),tr(t),null;case Te:var me=t.type._context;return SS(me,t),tr(t),null;case Me:{var Ye=t.type;return lo(Ye)&&tg(t),tr(t),null}case le:{Qd(t);var Ze=t.memoizedState;if(Ze===null)return tr(t),null;var Ot=(t.flags&Qe)!==Ue,yt=Ze.rendering;if(yt===null)if(Ot)bv(Ze,!1);else{var bn=y_()&&(e===null||(e.flags&Qe)===Ue);if(!bn)for(var St=t.child;St!==null;){var sn=Tg(St);if(sn!==null){Ot=!0,t.flags|=Qe,bv(Ze,!1);var Tr=sn.updateQueue;return Tr!==null&&(t.updateQueue=Tr,t.flags|=tt),t.subtreeFlags=Ue,oN(t,i),yu(t,NS(ka.current,lv)),t.child}St=St.sibling}Ze.tail!==null&&jt()>qT()&&(t.flags|=Qe,Ot=!0,bv(Ze,!1),t.lanes=om)}else{if(!Ot){var or=Tg(yt);if(or!==null){t.flags|=Qe,Ot=!0;var Ni=or.updateQueue;if(Ni!==null&&(t.updateQueue=Ni,t.flags|=tt),bv(Ze,!0),Ze.tail===null&&Ze.tailMode==="hidden"&&!yt.alternate&&!Jn())return tr(t),null}else jt()*2-Ze.renderingStartTime>qT()&&i!==Wn&&(t.flags|=Qe,Ot=!0,bv(Ze,!1),t.lanes=om)}if(Ze.isBackwards)yt.sibling=t.child,t.child=yt;else{var Pr=Ze.last;Pr!==null?Pr.sibling=yt:t.child=yt,Ze.last=yt}}if(Ze.tail!==null){var Fr=Ze.tail;Ze.rendering=Fr,Ze.tail=Fr.sibling,Ze.renderingStartTime=jt(),Fr.sibling=null;var xr=ka.current;return Ot?xr=NS(xr,lv):xr=Kd(xr),yu(t,xr),Fr}return tr(t),null}case Y:break;case W:case ne:{Xb(t);var cl=t.memoizedState,sf=cl!==null;if(e!==null){var Pv=e.memoizedState,mo=Pv!==null;mo!==sf&&!ce&&(t.flags|=Qa)}return!sf||(t.mode&Ae)===Le?tr(t):yr(ho,Wn)&&(tr(t),t.subtreeFlags&(At|tt)&&(t.flags|=Qa)),null}case ze:return null;case we:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function mL(e,t,i){switch(aS(t),t.tag){case C:{var o=t.type;lo(o)&&tg(t);var c=t.flags;return c&xn?(t.flags=c&~xn|Qe,(t.mode&Xe)!==Le&&rb(t),t):null}case O:{t.stateNode,Yd(t),tS(t),_S();var p=t.flags;return(p&xn)!==Ue&&(p&Qe)===Ue?(t.flags=p&~xn|Qe,t):null}case A:return OS(t),null;case xe:{Qd(t);var m=t.memoizedState;if(m!==null&&m.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Bd()}var S=t.flags;return S&xn?(t.flags=S&~xn|Qe,(t.mode&Xe)!==Le&&rb(t),t):null}case le:return Qd(t),null;case _:return Yd(t),null;case Te:var E=t.type._context;return SS(E,t),null;case W:case ne:return Xb(t),null;case ze:return null;default:return null}}function LT(e,t,i){switch(aS(t),t.tag){case C:{var o=t.type.childContextTypes;o!=null&&tg(t);break}case O:{t.stateNode,Yd(t),tS(t),_S();break}case A:{OS(t);break}case _:Yd(t);break;case xe:Qd(t);break;case le:Qd(t);break;case Te:var c=t.type._context;SS(c,t);break;case W:case ne:Xb(t);break}}var _T=null;_T=new Set;var Yg=!1,nr=!1,gL=typeof WeakSet=="function"?WeakSet:Set,Oe=null,tf=null,nf=null;function yL(e){Mo(null,function(){throw e}),rp()}var SL=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&Xe)try{po(),t.componentWillUnmount()}finally{fo(e)}else t.componentWillUnmount()};function AT(e,t){try{Eu(In,e)}catch(i){Pt(e,t,i)}}function Ib(e,t,i){try{SL(e,i)}catch(o){Pt(e,t,o)}}function bL(e,t,i){try{i.componentDidMount()}catch(o){Pt(e,t,o)}}function IT(e,t){try{PT(e)}catch(i){Pt(e,t,i)}}function rf(e,t){var i=e.ref;if(i!==null)if(typeof i=="function"){var o;try{if(fn&&zr&&e.mode&Xe)try{po(),o=i(null)}finally{fo(e)}else o=i(null)}catch(c){Pt(e,t,c)}typeof o=="function"&&h("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Je(e))}else i.current=null}function Kg(e,t,i){try{i()}catch(o){Pt(e,t,o)}}var MT=!1;function EL(e,t){AO(e.containerInfo),Oe=t,CL();var i=MT;return MT=!1,i}function CL(){for(;Oe!==null;){var e=Oe,t=e.child;(e.subtreeFlags&Il)!==Ue&&t!==null?(t.return=e,Oe=t):TL()}}function TL(){for(;Oe!==null;){var e=Oe;Rt(e);try{xL(e)}catch(i){Pt(e,e.return,i)}vn();var t=e.sibling;if(t!==null){t.return=e.return,Oe=t;return}Oe=e.return}}function xL(e){var t=e.alternate,i=e.flags;if((i&Yr)!==Ue){switch(Rt(e),e.tag){case R:case pe:case Ne:break;case C:{if(t!==null){var o=t.memoizedProps,c=t.memoizedState,p=e.stateNode;e.type===e.elementType&&!Gs&&(p.props!==e.memoizedProps&&h("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Je(e)||"instance"),p.state!==e.memoizedState&&h("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Je(e)||"instance"));var m=p.getSnapshotBeforeUpdate(e.elementType===e.type?o:Da(e.type,o),c);{var S=_T;m===void 0&&!S.has(e.type)&&(S.add(e.type),h("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Je(e)))}p.__reactInternalSnapshotBeforeUpdate=m}break}case O:{{var E=e.stateNode;iD(E.containerInfo)}break}case A:case N:case _:case Me:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}vn()}}function La(e,t,i){var o=t.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var p=c.next,m=p;do{if((m.tag&e)===e){var S=m.destroy;m.destroy=void 0,S!==void 0&&((e&er)!==li?rm(t):(e&In)!==li&&ki(t),(e&uo)!==li&&Av(!0),Kg(t,i,S),(e&uo)!==li&&Av(!1),(e&er)!==li?Bc():(e&In)!==li&&zl())}m=m.next}while(m!==p)}}function Eu(e,t){var i=t.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var c=o.next,p=c;do{if((p.tag&e)===e){(e&er)!==li?Za(t):(e&In)!==li&&im(t);var m=p.create;(e&uo)!==li&&Av(!0),p.destroy=m(),(e&uo)!==li&&Av(!1),(e&er)!==li?jc():(e&In)!==li&&ds();{var S=p.destroy;if(S!==void 0&&typeof S!="function"){var E=void 0;(p.tag&In)!==Ue?E="useLayoutEffect":(p.tag&uo)!==Ue?E="useInsertionEffect":E="useEffect";var w=void 0;S===null?w=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof S.then=="function"?w=`
|
|
116
|
+
Check the render method of \``+u+"`.");var c=u||"",p=e._debugSource;p&&(c=p.fileName+":"+p.lineNumber),zE[c]||(zE[c]=!0,m("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",a))}if(t.defaultProps!==void 0){var g=Rt(t)||"Unknown";Dv[g]||(m("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",g),Dv[g]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var E=Rt(t)||"Unknown";FE[E]||(m("%s: Function components do not support getDerivedStateFromProps.",E),FE[E]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var C=Rt(t)||"Unknown";PE[C]||(m("%s: Function components do not support contextType.",C),PE[C]=!0)}}}var jE={dehydrated:null,treeContext:null,retryLane:un};function $E(e){return{baseLanes:e,cachePool:wL(),transitions:null}}function ML(e,t){var a=null;return{baseLanes:et(e.baseLanes,t),cachePool:a,transitions:e.transitions}}function PL(e,t,a,u){if(t!==null){var c=t.memoizedState;if(c===null)return!1}return GS(e,yv)}function FL(e,t){return Os(e.childLanes,t)}function VT(e,t,a){var u=t.pendingProps;WA(t)&&(t.flags|=Qe);var c=La.current,p=!1,g=(t.flags&Qe)!==He;if(g||PL(c,e)?(p=!0,t.flags&=~Qe):(e===null||e.memoizedState!==null)&&(c=tL(c,Y1)),c=af(c),Ru(t,c),e===null){xS(t);var E=t.memoizedState;if(E!==null){var C=E.dehydrated;if(C!==null)return BL(t,C)}var R=u.children,k=u.fallback;if(p){var F=zL(t,R,k,a),M=t.child;return M.memoizedState=$E(a),t.memoizedState=jE,F}else return GE(t,R)}else{var $=e.memoizedState;if($!==null){var W=$.dehydrated;if(W!==null)return jL(e,t,g,u,W,$,a)}if(p){var Q=u.fallback,ge=u.children,je=VL(e,t,ge,Q,a),Pe=t.child,mt=e.child.memoizedState;return Pe.memoizedState=mt===null?$E(a):ML(mt,a),Pe.childLanes=FL(e,a),t.memoizedState=jE,je}else{var ft=u.children,V=UL(e,t,ft,a);return t.memoizedState=null,V}}}function GE(e,t,a){var u=e.mode,c={mode:"visible",children:t},p=WE(c,u);return p.return=e,e.child=p,p}function zL(e,t,a,u){var c=e.mode,p=e.child,g={mode:"hidden",children:t},E,C;return(c&Me)===Ae&&p!==null?(E=p,E.childLanes=ne,E.pendingProps=g,e.mode&qe&&(E.actualDuration=0,E.actualStartTime=-1,E.selfBaseDuration=0,E.treeBaseDuration=0),C=_u(a,c,u,null)):(E=WE(g,c),C=_u(a,c,u,null)),E.return=e,C.return=e,E.sibling=C,e.child=E,C}function WE(e,t,a){return Hw(e,t,ne,null)}function HT(e,t){return ic(e,t)}function UL(e,t,a,u){var c=e.child,p=c.sibling,g=HT(c,{mode:"visible",children:a});if((t.mode&Me)===Ae&&(g.lanes=u),g.return=t,g.sibling=null,p!==null){var E=t.deletions;E===null?(t.deletions=[p],t.flags|=Ct):E.push(p)}return t.child=g,g}function VL(e,t,a,u,c){var p=t.mode,g=e.child,E=g.sibling,C={mode:"hidden",children:a},R;if((p&Me)===Ae&&t.child!==g){var k=t.child;R=k,R.childLanes=ne,R.pendingProps=C,t.mode&qe&&(R.actualDuration=0,R.actualStartTime=-1,R.selfBaseDuration=g.selfBaseDuration,R.treeBaseDuration=g.treeBaseDuration),t.deletions=null}else R=HT(g,C),R.subtreeFlags=g.subtreeFlags&In;var F;return E!==null?F=ic(E,u):(F=_u(u,p,c,null),F.flags|=_t),F.return=t,R.return=t,R.sibling=F,t.child=R,F}function ey(e,t,a,u){u!==null&&RS(u),ef(t,e.child,null,a);var c=t.pendingProps,p=c.children,g=GE(t,p);return g.flags|=_t,t.memoizedState=null,g}function HL(e,t,a,u,c){var p=t.mode,g={mode:"visible",children:a},E=WE(g,p),C=_u(u,p,c,null);return C.flags|=_t,E.return=t,C.return=t,E.sibling=C,t.child=E,(t.mode&Me)!==Ae&&ef(t,e.child,null,c),C}function BL(e,t,a){return(e.mode&Me)===Ae?(m("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=Ue):cS(t)?e.lanes=Ta:e.lanes=Kn,null}function jL(e,t,a,u,c,p,g){if(a)if(t.flags&Kt){t.flags&=~Kt;var V=IE(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return ey(e,t,g,V)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=Qe,null;var q=u.children,H=u.fallback,ue=HL(e,t,q,H,g),Te=t.child;return Te.memoizedState=$E(g),t.memoizedState=jE,ue}else{if(NN(),(t.mode&Me)===Ae)return ey(e,t,g,null);if(cS(c)){var E,C,R;{var k=YD(c);E=k.digest,C=k.message,R=k.stack}var F;C?F=new Error(C):F=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var M=IE(F,E,R);return ey(e,t,g,M)}var $=br(g,e.childLanes);if(_a||$){var W=dy();if(W!==null){var Q=Rm(W,g);if(Q!==un&&Q!==p.retryLane){p.retryLane=Q;var ge=At;ci(e,Q),Bn(W,e,Q,ge)}}pb();var je=IE(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return ey(e,t,g,je)}else if(c1(c)){t.flags|=Qe,t.child=e.child;var Pe=vA.bind(null,e);return KD(c,Pe),null}else{AN(t,c,p.treeContext);var mt=u.children,ft=GE(t,mt);return ft.flags|=Zr,ft}}}function BT(e,t,a){e.lanes=et(e.lanes,t);var u=e.alternate;u!==null&&(u.lanes=et(u.lanes,t)),PS(e.return,t,a)}function $L(e,t,a){for(var u=t;u!==null;){if(u.tag===fe){var c=u.memoizedState;c!==null&&BT(u,a,e)}else if(u.tag===se)BT(u,a,e);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;u=u.return}u.sibling.return=u.return,u=u.sibling}}function GL(e){for(var t=e,a=null;t!==null;){var u=t.alternate;u!==null&&Ig(u)===null&&(a=t),t=t.sibling}return a}function WL(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!UE[e])if(UE[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{m('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:m('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else m('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function YL(e,t){e!==void 0&&!Jg[e]&&(e!=="collapsed"&&e!=="hidden"?(Jg[e]=!0,m('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Jg[e]=!0,m('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function jT(e,t){{var a=wn(e),u=!a&&typeof fa(e)=="function";if(a||u){var c=a?"array":"iterable";return m("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",c,t,c),!1}}return!0}function KL(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(wn(e)){for(var a=0;a<e.length;a++)if(!jT(e[a],a))return}else{var u=fa(e);if(typeof u=="function"){var c=u.call(e);if(c)for(var p=c.next(),g=0;!p.done;p=c.next()){if(!jT(p.value,g))return;g++}}else m('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function YE(e,t,a,u,c){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:a,tailMode:c}:(p.isBackwards=t,p.rendering=null,p.renderingStartTime=0,p.last=u,p.tail=a,p.tailMode=c)}function $T(e,t,a){var u=t.pendingProps,c=u.revealOrder,p=u.tail,g=u.children;WL(c),YL(p,c),KL(g,c),Pr(e,t,g,a);var E=La.current,C=GS(E,yv);if(C)E=WS(E,yv),t.flags|=Qe;else{var R=e!==null&&(e.flags&Qe)!==He;R&&$L(t,t.child,a),E=af(E)}if(Ru(t,E),(t.mode&Me)===Ae)t.memoizedState=null;else switch(c){case"forwards":{var k=GL(t.child),F;k===null?(F=t.child,t.child=null):(F=k.sibling,k.sibling=null),YE(t,!1,F,k,p);break}case"backwards":{var M=null,$=t.child;for(t.child=null;$!==null;){var W=$.alternate;if(W!==null&&Ig(W)===null){t.child=$;break}var Q=$.sibling;$.sibling=M,M=$,$=Q}YE(t,!0,M,null,p);break}case"together":{YE(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function QL(e,t,a){BS(t,t.stateNode.containerInfo);var u=t.pendingProps;return e===null?t.child=ef(t,null,u,a):Pr(e,t,u,a),t.child}var GT=!1;function qL(e,t,a){var u=t.type,c=u._context,p=t.pendingProps,g=t.memoizedProps,E=p.value;{"value"in p||GT||(GT=!0,m("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var C=t.type.propTypes;C&&Oa(C,p,"prop","Context.Provider")}if(F1(t,c,E),g!==null){var R=g.value;if(De(R,E)){if(g.children===p.children&&!sg())return fl(e,t,a)}else WN(t,c,a)}var k=p.children;return Pr(e,t,k,a),t.child}var WT=!1;function XL(e,t,a){var u=t.type;u._context===void 0?u!==u.Consumer&&(WT||(WT=!0,m("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):u=u._context;var c=t.pendingProps,p=c.children;typeof p!="function"&&m("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),nf(t,a);var g=Nn(u);Gl(t);var E;return kv.current=t,Oi(!0),E=p(g),Oi(!1),yr(),t.flags|=eo,Pr(e,t,E,a),t.child}function Nv(){_a=!0}function ty(e,t){(t.mode&Me)===Ae&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=_t)}function fl(e,t,a){return e!==null&&(t.dependencies=e.dependencies),bT(),Bv(t.lanes),br(a,t.childLanes)?($N(e,t),t.child):null}function ZL(e,t,a){{var u=t.return;if(u===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,t===u.child)u.child=a;else{var c=u.child;if(c===null)throw new Error("Expected parent to have a child.");for(;c.sibling!==t;)if(c=c.sibling,c===null)throw new Error("Expected to find the previous sibling.");c.sibling=a}var p=u.deletions;return p===null?(u.deletions=[e],u.flags|=Ct):p.push(e),a.flags|=_t,a}}function KE(e,t){var a=e.lanes;return!!br(a,t)}function JL(e,t,a){switch(t.tag){case D:zT(t),t.stateNode,Jd();break;case N:G1(t);break;case T:{var u=t.type;vo(u)&&dg(t);break}case L:BS(t,t.stateNode.containerInfo);break;case te:{var c=t.memoizedProps.value,p=t.type._context;F1(t,p,c);break}case me:{var g=br(a,t.childLanes);g&&(t.flags|=nt);{var E=t.stateNode;E.effectDuration=0,E.passiveEffectDuration=0}}break;case fe:{var C=t.memoizedState;if(C!==null){if(C.dehydrated!==null)return Ru(t,af(La.current)),t.flags|=Qe,null;var R=t.child,k=R.childLanes;if(br(a,k))return VT(e,t,a);Ru(t,af(La.current));var F=fl(e,t,a);return F!==null?F.sibling:null}else Ru(t,af(La.current));break}case se:{var M=(e.flags&Qe)!==He,$=br(a,t.childLanes);if(M){if($)return $T(e,t,a);t.flags|=Qe}var W=t.memoizedState;if(W!==null&&(W.rendering=null,W.tail=null,W.lastEffect=null),Ru(t,La.current),$)break;return null}case Y:case ie:return t.lanes=ne,MT(e,t,a)}return fl(e,t,a)}function YT(e,t,a){if(t._debugNeedsRemount&&e!==null)return ZL(e,t,wb(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var u=e.memoizedProps,c=t.pendingProps;if(u!==c||sg()||t.type!==e.type)_a=!0;else{var p=KE(e,a);if(!p&&(t.flags&Qe)===He)return _a=!1,JL(e,t,a);(e.flags&ys)!==He?_a=!0:_a=!1}}else if(_a=!1,tr()&&wN(t)){var g=t.index,E=xN();b1(t,E,g)}switch(t.lanes=ne,t.tag){case I:return _L(e,t,t.type,a);case gt:{var C=t.elementType;return IL(e,t,C,a)}case w:{var R=t.type,k=t.pendingProps,F=t.elementType===R?k:Aa(R,k);return VE(e,t,R,F,a)}case T:{var M=t.type,$=t.pendingProps,W=t.elementType===M?$:Aa(M,$);return FT(e,t,M,W,a)}case D:return DL(e,t,a);case N:return NL(e,t,a);case _:return LL(e,t);case fe:return VT(e,t,a);case L:return QL(e,t,a);case Z:{var Q=t.type,ge=t.pendingProps,je=t.elementType===Q?ge:Aa(Q,ge);return IT(e,t,Q,je,a)}case B:return RL(e,t,a);case X:return kL(e,t,a);case me:return OL(e,t,a);case te:return qL(e,t,a);case z:return XL(e,t,a);case Fe:{var Pe=t.type,mt=t.pendingProps,ft=Aa(Pe,mt);if(t.type!==t.elementType){var V=Pe.propTypes;V&&Oa(V,ft,"prop",Rt(Pe))}return ft=Aa(Pe.type,ft),AT(e,t,Pe,ft,a)}case we:return _T(e,t,t.type,t.pendingProps,a);case Ie:{var q=t.type,H=t.pendingProps,ue=t.elementType===q?H:Aa(q,H);return AL(e,t,q,ue,a)}case se:return $T(e,t,a);case K:break;case Y:return MT(e,t,a)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function df(e){e.flags|=nt}function KT(e){e.flags|=pr,e.flags|=mp}var QT,QE,qT,XT;QT=function(e,t,a,u){for(var c=t.child;c!==null;){if(c.tag===N||c.tag===_)bD(e,c.stateNode);else if(c.tag!==L){if(c.child!==null){c.child.return=c,c=c.child;continue}}if(c===t)return;for(;c.sibling===null;){if(c.return===null||c.return===t)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},QE=function(e,t){},qT=function(e,t,a,u,c){var p=e.memoizedProps;if(p!==u){var g=t.stateNode,E=jS(),C=TD(g,a,p,u,c,E);t.updateQueue=C,C&&df(t)}},XT=function(e,t,a,u){a!==u&&df(t)};function Lv(e,t){if(!tr())switch(e.tailMode){case"hidden":{for(var a=e.tail,u=null;a!==null;)a.alternate!==null&&(u=a),a=a.sibling;u===null?e.tail=null:u.sibling=null;break}case"collapsed":{for(var c=e.tail,p=null;c!==null;)c.alternate!==null&&(p=c),c=c.sibling;p===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:p.sibling=null;break}}}function rr(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=ne,u=He;if(t){if((e.mode&qe)!==Ae){for(var C=e.selfBaseDuration,R=e.child;R!==null;)a=et(a,et(R.lanes,R.childLanes)),u|=R.subtreeFlags&In,u|=R.flags&In,C+=R.treeBaseDuration,R=R.sibling;e.treeBaseDuration=C}else for(var k=e.child;k!==null;)a=et(a,et(k.lanes,k.childLanes)),u|=k.subtreeFlags&In,u|=k.flags&In,k.return=e,k=k.sibling;e.subtreeFlags|=u}else{if((e.mode&qe)!==Ae){for(var c=e.actualDuration,p=e.selfBaseDuration,g=e.child;g!==null;)a=et(a,et(g.lanes,g.childLanes)),u|=g.subtreeFlags,u|=g.flags,c+=g.actualDuration,p+=g.treeBaseDuration,g=g.sibling;e.actualDuration=c,e.treeBaseDuration=p}else for(var E=e.child;E!==null;)a=et(a,et(E.lanes,E.childLanes)),u|=E.subtreeFlags,u|=E.flags,E.return=e,E=E.sibling;e.subtreeFlags|=u}return e.childLanes=a,t}function eI(e,t,a){if(zN()&&(t.mode&Me)!==Ae&&(t.flags&Qe)===He)return O1(t),Jd(),t.flags|=Kt|Nr|Rn,!1;var u=mg(t);if(a!==null&&a.dehydrated!==null)if(e===null){if(!u)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(PN(t),rr(t),(t.mode&qe)!==Ae){var c=a!==null;if(c){var p=t.child;p!==null&&(t.treeBaseDuration-=p.treeBaseDuration)}}return!1}else{if(Jd(),(t.flags&Qe)===He&&(t.memoizedState=null),t.flags|=nt,rr(t),(t.mode&qe)!==Ae){var g=a!==null;if(g){var E=t.child;E!==null&&(t.treeBaseDuration-=E.treeBaseDuration)}}return!1}else return D1(),!0}function ZT(e,t,a){var u=t.pendingProps;switch(bS(t),t.tag){case I:case gt:case we:case w:case Z:case B:case X:case me:case z:case Fe:return rr(t),null;case T:{var c=t.type;return vo(c)&&cg(t),rr(t),null}case D:{var p=t.stateNode;if(rf(t),gS(t),KS(),p.pendingContext&&(p.context=p.pendingContext,p.pendingContext=null),e===null||e.child===null){var g=mg(t);if(g)df(t);else if(e!==null){var E=e.memoizedState;(!E.isDehydrated||(t.flags&Kt)!==He)&&(t.flags|=Xr,D1())}}return QE(e,t),rr(t),null}case N:{$S(t);var C=$1(),R=t.type;if(e!==null&&t.stateNode!=null)qT(e,t,R,u,C),e.ref!==t.ref&&KT(t);else{if(!u){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return rr(t),null}var k=jS(),F=mg(t);if(F)_N(t,C,k)&&df(t);else{var M=ED(R,u,C,k,t);QT(M,t,!1,!1),t.stateNode=M,CD(M,R,u,C)&&df(t)}t.ref!==null&&KT(t)}return rr(t),null}case _:{var $=u;if(e&&t.stateNode!=null){var W=e.memoizedProps;XT(e,t,W,$)}else{if(typeof $!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var Q=$1(),ge=jS(),je=mg(t);je?MN(t)&&df(t):t.stateNode=wD($,Q,ge,t)}return rr(t),null}case fe:{of(t);var Pe=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var mt=eI(e,t,Pe);if(!mt)return t.flags&Rn?t:null}if((t.flags&Qe)!==He)return t.lanes=a,(t.mode&qe)!==Ae&&SE(t),t;var ft=Pe!==null,V=e!==null&&e.memoizedState!==null;if(ft!==V&&ft){var q=t.child;if(q.flags|=to,(t.mode&Me)!==Ae){var H=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!ut);H||GS(La.current,Y1)?tA():pb()}}var ue=t.updateQueue;if(ue!==null&&(t.flags|=nt),rr(t),(t.mode&qe)!==Ae&&ft){var Te=t.child;Te!==null&&(t.treeBaseDuration-=Te.treeBaseDuration)}return null}case L:return rf(t),QE(e,t),e===null&&gN(t.stateNode.containerInfo),rr(t),null;case te:var Se=t.type._context;return MS(Se,t),rr(t),null;case Ie:{var Ke=t.type;return vo(Ke)&&cg(t),rr(t),null}case se:{of(t);var Ze=t.memoizedState;if(Ze===null)return rr(t),null;var Dt=(t.flags&Qe)!==He,Et=Ze.rendering;if(Et===null)if(Dt)Lv(Ze,!1);else{var bn=rA()&&(e===null||(e.flags&Qe)===He);if(!bn)for(var bt=t.child;bt!==null;){var sn=Ig(bt);if(sn!==null){Dt=!0,t.flags|=Qe,Lv(Ze,!1);var Rr=sn.updateQueue;return Rr!==null&&(t.updateQueue=Rr,t.flags|=nt),t.subtreeFlags=He,GN(t,a),Ru(t,WS(La.current,yv)),t.child}bt=bt.sibling}Ze.tail!==null&&Bt()>Sw()&&(t.flags|=Qe,Dt=!0,Lv(Ze,!1),t.lanes=hm)}else{if(!Dt){var ur=Ig(Et);if(ur!==null){t.flags|=Qe,Dt=!0;var Mi=ur.updateQueue;if(Mi!==null&&(t.updateQueue=Mi,t.flags|=nt),Lv(Ze,!0),Ze.tail===null&&Ze.tailMode==="hidden"&&!Et.alternate&&!tr())return rr(t),null}else Bt()*2-Ze.renderingStartTime>Sw()&&a!==Kn&&(t.flags|=Qe,Dt=!0,Lv(Ze,!1),t.lanes=hm)}if(Ze.isBackwards)Et.sibling=t.child,t.child=Et;else{var Ur=Ze.last;Ur!==null?Ur.sibling=Et:t.child=Et,Ze.last=Et}}if(Ze.tail!==null){var Vr=Ze.tail;Ze.rendering=Vr,Ze.tail=Vr.sibling,Ze.renderingStartTime=Bt(),Vr.sibling=null;var kr=La.current;return Dt?kr=WS(kr,yv):kr=af(kr),Ru(t,kr),Vr}return rr(t),null}case K:break;case Y:case ie:{fb(t);var gl=t.memoizedState,Sf=gl!==null;if(e!==null){var Yv=e.memoizedState,Co=Yv!==null;Co!==Sf&&!pe&&(t.flags|=to)}return!Sf||(t.mode&Me)===Ae?rr(t):br(bo,Kn)&&(rr(t),t.subtreeFlags&(_t|nt)&&(t.flags|=to)),null}case Ve:return null;case ke:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function tI(e,t,a){switch(bS(t),t.tag){case T:{var u=t.type;vo(u)&&cg(t);var c=t.flags;return c&Rn?(t.flags=c&~Rn|Qe,(t.mode&qe)!==Ae&&SE(t),t):null}case D:{t.stateNode,rf(t),gS(t),KS();var p=t.flags;return(p&Rn)!==He&&(p&Qe)===He?(t.flags=p&~Rn|Qe,t):null}case N:return $S(t),null;case fe:{of(t);var g=t.memoizedState;if(g!==null&&g.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Jd()}var E=t.flags;return E&Rn?(t.flags=E&~Rn|Qe,(t.mode&qe)!==Ae&&SE(t),t):null}case se:return of(t),null;case L:return rf(t),null;case te:var C=t.type._context;return MS(C,t),null;case Y:case ie:return fb(t),null;case Ve:return null;default:return null}}function JT(e,t,a){switch(bS(t),t.tag){case T:{var u=t.type.childContextTypes;u!=null&&cg(t);break}case D:{t.stateNode,rf(t),gS(t),KS();break}case N:{$S(t);break}case L:rf(t);break;case fe:of(t);break;case se:of(t);break;case te:var c=t.type._context;MS(c,t);break;case Y:case ie:fb(t);break}}var ew=null;ew=new Set;var ny=!1,ir=!1,nI=typeof WeakSet=="function"?WeakSet:Set,Ne=null,ff=null,pf=null;function rI(e){Bo(null,function(){throw e}),vp()}var iI=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&qe)try{So(),t.componentWillUnmount()}finally{yo(e)}else t.componentWillUnmount()};function tw(e,t){try{Du(Pn,e)}catch(a){Ft(e,t,a)}}function qE(e,t,a){try{iI(e,a)}catch(u){Ft(e,t,u)}}function aI(e,t,a){try{a.componentDidMount()}catch(u){Ft(e,t,u)}}function nw(e,t){try{iw(e)}catch(a){Ft(e,t,a)}}function vf(e,t){var a=e.ref;if(a!==null)if(typeof a=="function"){var u;try{if(pn&&Br&&e.mode&qe)try{So(),u=a(null)}finally{yo(e)}else u=a(null)}catch(c){Ft(e,t,c)}typeof u=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Je(e))}else a.current=null}function ry(e,t,a){try{a()}catch(u){Ft(e,t,u)}}var rw=!1;function oI(e,t){yD(e.containerInfo),Ne=t,lI();var a=rw;return rw=!1,a}function lI(){for(;Ne!==null;){var e=Ne,t=e.child;(e.subtreeFlags&Bl)!==He&&t!==null?(t.return=e,Ne=t):uI()}}function uI(){for(;Ne!==null;){var e=Ne;kt(e);try{sI(e)}catch(a){Ft(e,e.return,a)}hn();var t=e.sibling;if(t!==null){t.return=e.return,Ne=t;return}Ne=e.return}}function sI(e){var t=e.alternate,a=e.flags;if((a&Xr)!==He){switch(kt(e),e.tag){case w:case Z:case we:break;case T:{if(t!==null){var u=t.memoizedProps,c=t.memoizedState,p=e.stateNode;e.type===e.elementType&&!Js&&(p.props!==e.memoizedProps&&m("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Je(e)||"instance"),p.state!==e.memoizedState&&m("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Je(e)||"instance"));var g=p.getSnapshotBeforeUpdate(e.elementType===e.type?u:Aa(e.type,u),c);{var E=ew;g===void 0&&!E.has(e.type)&&(E.add(e.type),m("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Je(e)))}p.__reactInternalSnapshotBeforeUpdate=g}break}case D:{{var C=e.stateNode;jD(C.containerInfo)}break}case N:case _:case L:case Ie:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}hn()}}function Ma(e,t,a){var u=t.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var p=c.next,g=p;do{if((g.tag&e)===e){var E=g.destroy;g.destroy=void 0,E!==void 0&&((e&nr)!==di?fm(t):(e&Pn)!==di&&Ii(t),(e&ho)!==di&&$v(!0),ry(t,a,E),(e&ho)!==di&&$v(!1),(e&nr)!==di?Jc():(e&Pn)!==di&&Wl())}g=g.next}while(g!==p)}}function Du(e,t){var a=t.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var c=u.next,p=c;do{if((p.tag&e)===e){(e&nr)!==di?io(t):(e&Pn)!==di&&pm(t);var g=p.create;(e&ho)!==di&&$v(!0),p.destroy=g(),(e&ho)!==di&&$v(!1),(e&nr)!==di?Zc():(e&Pn)!==di&&Ss();{var E=p.destroy;if(E!==void 0&&typeof E!="function"){var C=void 0;(p.tag&Pn)!==He?C="useLayoutEffect":(p.tag&ho)!==He?C="useInsertionEffect":C="useEffect";var R=void 0;E===null?R=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof E.then=="function"?R=`
|
|
117
117
|
|
|
118
|
-
It looks like you wrote `+
|
|
118
|
+
It looks like you wrote `+C+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
119
119
|
|
|
120
|
-
`+
|
|
120
|
+
`+C+`(() => {
|
|
121
121
|
async function fetchData() {
|
|
122
122
|
// You can await here
|
|
123
123
|
const response = await MyAPI.getData(someId);
|
|
@@ -126,11 +126,11 @@ It looks like you wrote `+E+`(async () => ...) or returned a Promise. Instead, w
|
|
|
126
126
|
fetchData();
|
|
127
127
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
128
128
|
|
|
129
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:w=" You returned: "+S,h("%s must not return anything besides a function, which is used for clean-up.%s",E,w)}}}p=p.next}while(p!==c)}}function wL(e,t){if((t.flags&tt)!==Ue)switch(t.tag){case He:{var i=t.stateNode.passiveEffectDuration,o=t.memoizedProps,c=o.id,p=o.onPostCommit,m=q1(),S=t.alternate===null?"mount":"update";X1()&&(S="nested-update"),typeof p=="function"&&p(c,S,i,m);var E=t.return;e:for(;E!==null;){switch(E.tag){case O:var w=E.stateNode;w.passiveEffectDuration+=i;break e;case He:var k=E.stateNode;k.passiveEffectDuration+=i;break e}E=E.return}break}}}function RL(e,t,i,o){if((i.flags&$n)!==Ue)switch(i.tag){case R:case pe:case Ne:{if(!nr)if(i.mode&Xe)try{po(),Eu(In|An,i)}finally{fo(i)}else Eu(In|An,i);break}case C:{var c=i.stateNode;if(i.flags&tt&&!nr)if(t===null)if(i.type===i.elementType&&!Gs&&(c.props!==i.memoizedProps&&h("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Je(i)||"instance"),c.state!==i.memoizedState&&h("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Je(i)||"instance")),i.mode&Xe)try{po(),c.componentDidMount()}finally{fo(i)}else c.componentDidMount();else{var p=i.elementType===i.type?t.memoizedProps:Da(i.type,t.memoizedProps),m=t.memoizedState;if(i.type===i.elementType&&!Gs&&(c.props!==i.memoizedProps&&h("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Je(i)||"instance"),c.state!==i.memoizedState&&h("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Je(i)||"instance")),i.mode&Xe)try{po(),c.componentDidUpdate(p,m,c.__reactInternalSnapshotBeforeUpdate)}finally{fo(i)}else c.componentDidUpdate(p,m,c.__reactInternalSnapshotBeforeUpdate)}var S=i.updateQueue;S!==null&&(i.type===i.elementType&&!Gs&&(c.props!==i.memoizedProps&&h("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Je(i)||"instance"),c.state!==i.memoizedState&&h("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Je(i)||"instance")),E1(i,S,c));break}case O:{var E=i.updateQueue;if(E!==null){var w=null;if(i.child!==null)switch(i.child.tag){case A:w=i.child.stateNode;break;case C:w=i.child.stateNode;break}E1(i,E,w)}break}case A:{var k=i.stateNode;if(t===null&&i.flags&tt){var z=i.type,P=i.memoizedProps;$O(k,z,P)}break}case N:break;case _:break;case He:{{var B=i.memoizedProps,G=B.onCommit,Q=B.onRender,ve=i.stateNode.effectDuration,je=q1(),Ie=t===null?"mount":"update";X1()&&(Ie="nested-update"),typeof Q=="function"&&Q(i.memoizedProps.id,Ie,i.actualDuration,i.treeBaseDuration,i.actualStartTime,je);{typeof G=="function"&&G(i.memoizedProps.id,Ie,ve,je),T_(i);var ht=i.return;e:for(;ht!==null;){switch(ht.tag){case O:var ct=ht.stateNode;ct.effectDuration+=ve;break e;case He:var H=ht.stateNode;H.effectDuration+=ve;break e}ht=ht.return}}}break}case xe:{IL(e,i);break}case le:case Me:case Y:case W:case ne:case we:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}nr||i.flags&cr&&PT(i)}function kL(e){switch(e.tag){case R:case pe:case Ne:{if(e.mode&Xe)try{po(),AT(e,e.return)}finally{fo(e)}else AT(e,e.return);break}case C:{var t=e.stateNode;typeof t.componentDidMount=="function"&&bL(e,e.return,t),IT(e,e.return);break}case A:{IT(e,e.return);break}}}function OL(e,t){for(var i=null,o=e;;){if(o.tag===A){if(i===null){i=o;try{var c=o.stateNode;t?eD(c):nD(o.stateNode,o.memoizedProps)}catch(m){Pt(e,e.return,m)}}}else if(o.tag===N){if(i===null)try{var p=o.stateNode;t?tD(p):rD(p,o.memoizedProps)}catch(m){Pt(e,e.return,m)}}else if(!((o.tag===W||o.tag===ne)&&o.memoizedState!==null&&o!==e)){if(o.child!==null){o.child.return=o,o=o.child;continue}}if(o===e)return;for(;o.sibling===null;){if(o.return===null||o.return===e)return;i===o&&(i=null),o=o.return}i===o&&(i=null),o.sibling.return=o.return,o=o.sibling}}function PT(e){var t=e.ref;if(t!==null){var i=e.stateNode,o;switch(e.tag){case A:o=i;break;default:o=i}if(typeof t=="function"){var c;if(e.mode&Xe)try{po(),c=t(o)}finally{fo(e)}else c=t(o);typeof c=="function"&&h("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Je(e))}else t.hasOwnProperty("current")||h("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Je(e)),t.current=o}}function DL(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function FT(e){var t=e.alternate;t!==null&&(e.alternate=null,FT(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===A){var i=e.stateNode;i!==null&&MD(i)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function NL(e){for(var t=e.return;t!==null;){if(zT(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function zT(e){return e.tag===A||e.tag===O||e.tag===_}function UT(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||zT(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==A&&t.tag!==N&&t.tag!==Se;){if(t.flags&At||t.child===null||t.tag===_)continue e;t.child.return=t,t=t.child}if(!(t.flags&At))return t.stateNode}}function LL(e){var t=NL(e);switch(t.tag){case A:{var i=t.stateNode;t.flags&Ct&&(VC(i),t.flags&=~Ct);var o=UT(e);Pb(e,o,i);break}case O:case _:{var c=t.stateNode.containerInfo,p=UT(e);Mb(e,p,c);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Mb(e,t,i){var o=e.tag,c=o===A||o===N;if(c){var p=e.stateNode;t?XO(i,p,t):KO(i,p)}else if(o!==_){var m=e.child;if(m!==null){Mb(m,t,i);for(var S=m.sibling;S!==null;)Mb(S,t,i),S=S.sibling}}}function Pb(e,t,i){var o=e.tag,c=o===A||o===N;if(c){var p=e.stateNode;t?QO(i,p,t):YO(i,p)}else if(o!==_){var m=e.child;if(m!==null){Pb(m,t,i);for(var S=m.sibling;S!==null;)Pb(S,t,i),S=S.sibling}}}var rr=null,_a=!1;function _L(e,t,i){{var o=t;e:for(;o!==null;){switch(o.tag){case A:{rr=o.stateNode,_a=!1;break e}case O:{rr=o.stateNode.containerInfo,_a=!0;break e}case _:{rr=o.stateNode.containerInfo,_a=!0;break e}}o=o.return}if(rr===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");HT(e,t,i),rr=null,_a=!1}DL(i)}function Cu(e,t,i){for(var o=i.child;o!==null;)HT(e,t,o),o=o.sibling}function HT(e,t,i){switch(zo(i),i.tag){case A:nr||rf(i,t);case N:{{var o=rr,c=_a;rr=null,Cu(e,t,i),rr=o,_a=c,rr!==null&&(_a?ZO(rr,i.stateNode):qO(rr,i.stateNode))}return}case Se:{rr!==null&&(_a?JO(rr,i.stateNode):Y0(rr,i.stateNode));return}case _:{{var p=rr,m=_a;rr=i.stateNode.containerInfo,_a=!0,Cu(e,t,i),rr=p,_a=m}return}case R:case pe:case Ke:case Ne:{if(!nr){var S=i.updateQueue;if(S!==null){var E=S.lastEffect;if(E!==null){var w=E.next,k=w;do{var z=k,P=z.destroy,B=z.tag;P!==void 0&&((B&uo)!==li?Kg(i,t,P):(B&In)!==li&&(ki(i),i.mode&Xe?(po(),Kg(i,t,P),fo(i)):Kg(i,t,P),zl())),k=k.next}while(k!==w)}}}Cu(e,t,i);return}case C:{if(!nr){rf(i,t);var G=i.stateNode;typeof G.componentWillUnmount=="function"&&Ib(i,t,G)}Cu(e,t,i);return}case Y:{Cu(e,t,i);return}case W:{if(i.mode&Ae){var Q=nr;nr=Q||i.memoizedState!==null,Cu(e,t,i),nr=Q}else Cu(e,t,i);break}default:{Cu(e,t,i);return}}}function AL(e){e.memoizedState}function IL(e,t){var i=t.memoizedState;if(i===null){var o=t.alternate;if(o!==null){var c=o.memoizedState;if(c!==null){var p=c.dehydrated;p!==null&&yD(p)}}}}function VT(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new gL),t.forEach(function(o){var c=N_.bind(null,e,o);if(!i.has(o)){if(i.add(o),Nr)if(tf!==null&&nf!==null)_v(nf,tf);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");o.then(c,c)}})}}function ML(e,t,i){tf=i,nf=e,Rt(t),jT(t,e),Rt(t),tf=null,nf=null}function Aa(e,t,i){var o=t.deletions;if(o!==null)for(var c=0;c<o.length;c++){var p=o[c];try{_L(e,t,p)}catch(E){Pt(p,t,E)}}var m=Ky();if(t.subtreeFlags&pr)for(var S=t.child;S!==null;)Rt(S),jT(S,e),S=S.sibling;Rt(m)}function jT(e,t,i){var o=e.alternate,c=e.flags;switch(e.tag){case R:case pe:case Ke:case Ne:{if(Aa(t,e),vo(e),c&tt){try{La(uo|An,e,e.return),Eu(uo|An,e)}catch(Ye){Pt(e,e.return,Ye)}if(e.mode&Xe){try{po(),La(In|An,e,e.return)}catch(Ye){Pt(e,e.return,Ye)}fo(e)}else try{La(In|An,e,e.return)}catch(Ye){Pt(e,e.return,Ye)}}return}case C:{Aa(t,e),vo(e),c&cr&&o!==null&&rf(o,o.return);return}case A:{Aa(t,e),vo(e),c&cr&&o!==null&&rf(o,o.return);{if(e.flags&Ct){var p=e.stateNode;try{VC(p)}catch(Ye){Pt(e,e.return,Ye)}}if(c&tt){var m=e.stateNode;if(m!=null){var S=e.memoizedProps,E=o!==null?o.memoizedProps:S,w=e.type,k=e.updateQueue;if(e.updateQueue=null,k!==null)try{GO(m,k,w,E,S,e)}catch(Ye){Pt(e,e.return,Ye)}}}}return}case N:{if(Aa(t,e),vo(e),c&tt){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var z=e.stateNode,P=e.memoizedProps,B=o!==null?o.memoizedProps:P;try{WO(z,B,P)}catch(Ye){Pt(e,e.return,Ye)}}return}case O:{if(Aa(t,e),vo(e),c&tt&&o!==null){var G=o.memoizedState;if(G.isDehydrated)try{gD(t.containerInfo)}catch(Ye){Pt(e,e.return,Ye)}}return}case _:{Aa(t,e),vo(e);return}case xe:{Aa(t,e),vo(e);var Q=e.child;if(Q.flags&Qa){var ve=Q.stateNode,je=Q.memoizedState,Ie=je!==null;if(ve.isHidden=Ie,Ie){var ht=Q.alternate!==null&&Q.alternate.memoizedState!==null;ht||h_()}}if(c&tt){try{AL(e)}catch(Ye){Pt(e,e.return,Ye)}VT(e)}return}case W:{var ct=o!==null&&o.memoizedState!==null;if(e.mode&Ae){var H=nr;nr=H||ct,Aa(t,e),nr=H}else Aa(t,e);if(vo(e),c&Qa){var X=e.stateNode,V=e.memoizedState,oe=V!==null,be=e;if(X.isHidden=oe,oe&&!ct&&(be.mode&Ae)!==Le){Oe=be;for(var me=be.child;me!==null;)Oe=me,FL(me),me=me.sibling}OL(be,oe)}return}case le:{Aa(t,e),vo(e),c&tt&&VT(e);return}case Y:return;default:{Aa(t,e),vo(e);return}}}function vo(e){var t=e.flags;if(t&At){try{LL(e)}catch(i){Pt(e,e.return,i)}e.flags&=~At}t&Kr&&(e.flags&=~Kr)}function PL(e,t,i){tf=i,nf=t,Oe=e,BT(e,t,i),tf=null,nf=null}function BT(e,t,i){for(var o=(e.mode&Ae)!==Le;Oe!==null;){var c=Oe,p=c.child;if(c.tag===W&&o){var m=c.memoizedState!==null,S=m||Yg;if(S){Fb(e,t,i);continue}else{var E=c.alternate,w=E!==null&&E.memoizedState!==null,k=w||nr,z=Yg,P=nr;Yg=S,nr=k,nr&&!P&&(Oe=c,zL(c));for(var B=p;B!==null;)Oe=B,BT(B,t,i),B=B.sibling;Oe=c,Yg=z,nr=P,Fb(e,t,i);continue}}(c.subtreeFlags&$n)!==Ue&&p!==null?(p.return=c,Oe=p):Fb(e,t,i)}}function Fb(e,t,i){for(;Oe!==null;){var o=Oe;if((o.flags&$n)!==Ue){var c=o.alternate;Rt(o);try{RL(t,c,o,i)}catch(m){Pt(o,o.return,m)}vn()}if(o===e){Oe=null;return}var p=o.sibling;if(p!==null){p.return=o.return,Oe=p;return}Oe=o.return}}function FL(e){for(;Oe!==null;){var t=Oe,i=t.child;switch(t.tag){case R:case pe:case Ke:case Ne:{if(t.mode&Xe)try{po(),La(In,t,t.return)}finally{fo(t)}else La(In,t,t.return);break}case C:{rf(t,t.return);var o=t.stateNode;typeof o.componentWillUnmount=="function"&&Ib(t,t.return,o);break}case A:{rf(t,t.return);break}case W:{var c=t.memoizedState!==null;if(c){$T(e);continue}break}}i!==null?(i.return=t,Oe=i):$T(e)}}function $T(e){for(;Oe!==null;){var t=Oe;if(t===e){Oe=null;return}var i=t.sibling;if(i!==null){i.return=t.return,Oe=i;return}Oe=t.return}}function zL(e){for(;Oe!==null;){var t=Oe,i=t.child;if(t.tag===W){var o=t.memoizedState!==null;if(o){GT(e);continue}}i!==null?(i.return=t,Oe=i):GT(e)}}function GT(e){for(;Oe!==null;){var t=Oe;Rt(t);try{kL(t)}catch(o){Pt(t,t.return,o)}if(vn(),t===e){Oe=null;return}var i=t.sibling;if(i!==null){i.return=t.return,Oe=i;return}Oe=t.return}}function UL(e,t,i,o){Oe=t,HL(t,e,i,o)}function HL(e,t,i,o){for(;Oe!==null;){var c=Oe,p=c.child;(c.subtreeFlags&Qr)!==Ue&&p!==null?(p.return=c,Oe=p):VL(e,t,i,o)}}function VL(e,t,i,o){for(;Oe!==null;){var c=Oe;if((c.flags&zt)!==Ue){Rt(c);try{jL(t,c,i,o)}catch(m){Pt(c,c.return,m)}vn()}if(c===e){Oe=null;return}var p=c.sibling;if(p!==null){p.return=c.return,Oe=p;return}Oe=c.return}}function jL(e,t,i,o){switch(t.tag){case R:case pe:case Ne:{if(t.mode&Xe){nb();try{Eu(er|An,t)}finally{tb(t)}}else Eu(er|An,t);break}}}function BL(e){Oe=e,$L()}function $L(){for(;Oe!==null;){var e=Oe,t=e.child;if((Oe.flags&bt)!==Ue){var i=e.deletions;if(i!==null){for(var o=0;o<i.length;o++){var c=i[o];Oe=c,YL(c,e)}{var p=e.alternate;if(p!==null){var m=p.child;if(m!==null){p.child=null;do{var S=m.sibling;m.sibling=null,m=S}while(m!==null)}}}Oe=e}}(e.subtreeFlags&Qr)!==Ue&&t!==null?(t.return=e,Oe=t):GL()}}function GL(){for(;Oe!==null;){var e=Oe;(e.flags&zt)!==Ue&&(Rt(e),WL(e),vn());var t=e.sibling;if(t!==null){t.return=e.return,Oe=t;return}Oe=e.return}}function WL(e){switch(e.tag){case R:case pe:case Ne:{e.mode&Xe?(nb(),La(er|An,e,e.return),tb(e)):La(er|An,e,e.return);break}}}function YL(e,t){for(;Oe!==null;){var i=Oe;Rt(i),QL(i,t),vn();var o=i.child;o!==null?(o.return=i,Oe=o):KL(e)}}function KL(e){for(;Oe!==null;){var t=Oe,i=t.sibling,o=t.return;if(FT(t),t===e){Oe=null;return}if(i!==null){i.return=o,Oe=i;return}Oe=o}}function QL(e,t){switch(e.tag){case R:case pe:case Ne:{e.mode&Xe?(nb(),La(er,e,t),tb(e)):La(er,e,t);break}}}function XL(e){switch(e.tag){case R:case pe:case Ne:{try{Eu(In|An,e)}catch(i){Pt(e,e.return,i)}break}case C:{var t=e.stateNode;try{t.componentDidMount()}catch(i){Pt(e,e.return,i)}break}}}function qL(e){switch(e.tag){case R:case pe:case Ne:{try{Eu(er|An,e)}catch(t){Pt(e,e.return,t)}break}}}function ZL(e){switch(e.tag){case R:case pe:case Ne:{try{La(In|An,e,e.return)}catch(i){Pt(e,e.return,i)}break}case C:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&Ib(e,e.return,t);break}}}function JL(e){switch(e.tag){case R:case pe:case Ne:try{La(er|An,e,e.return)}catch(t){Pt(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Ev=Symbol.for;Ev("selector.component"),Ev("selector.has_pseudo_class"),Ev("selector.role"),Ev("selector.test_id"),Ev("selector.text")}var e_=[];function t_(){e_.forEach(function(e){return e()})}var n_=l.ReactCurrentActQueue;function r_(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,i=typeof jest<"u";return i&&t!==!1}}function WT(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&n_.current!==null&&h("The current testing environment is not configured to support act(...)"),e}}var i_=Math.ceil,zb=l.ReactCurrentDispatcher,Ub=l.ReactCurrentOwner,ir=l.ReactCurrentBatchConfig,Ia=l.ReactCurrentActQueue,Fn=0,YT=1,ar=2,Zi=4,ol=0,Cv=1,Ws=2,Qg=3,Tv=4,KT=5,Hb=6,vt=Fn,Ir=null,nn=null,zn=ee,ho=ee,Vb=fu(ee),Un=ol,xv=null,Xg=ee,wv=ee,qg=ee,Rv=null,ui=null,jb=0,QT=500,XT=1/0,a_=500,ll=null;function kv(){XT=jt()+a_}function qT(){return XT}var Zg=!1,Bb=null,af=null,Ys=!1,Tu=null,Ov=ee,$b=[],Gb=null,o_=50,Dv=0,Wb=null,Yb=!1,Jg=!1,l_=50,of=0,ey=null,Nv=_t,ty=ee,ZT=!1;function ny(){return Ir}function Mr(){return(vt&(ar|Zi))!==Fn?jt():(Nv!==_t||(Nv=jt()),Nv)}function xu(e){var t=e.mode;if((t&Ae)===Le)return Pe;if((vt&ar)!==Fn&&zn!==ee)return Yl(zn);var i=nN()!==tN;if(i){if(ir.transition!==null){var o=ir.transition;o._updatedFibers||(o._updatedFibers=new Set),o._updatedFibers.add(e)}return ty===un&&(ty=vm()),ty}var c=ei();if(c!==un)return c;var p=HO();return p}function u_(e){var t=e.mode;return(t&Ae)===Le?Pe:gr()}function Hn(e,t,i,o){__(),ZT&&h("useInsertionEffect must not schedule updates."),Yb&&(Jg=!0),Wo(e,i,o),(vt&ar)!==ee&&e===Ir?M_(t):(Nr&&fd(e,t,i),P_(t),e===Ir&&((vt&ar)===Fn&&(wv=et(wv,i)),Un===Tv&&wu(e,zn)),si(e,o),i===Pe&&vt===Fn&&(t.mode&Ae)===Le&&!Ia.isBatchingLegacy&&(kv(),ZC()))}function s_(e,t,i){var o=e.current;o.lanes=t,Wo(e,t,i),si(e,i)}function c_(e){return(vt&ar)!==Fn}function si(e,t){var i=e.callbackNode;sm(e,t);var o=$o(e,e===Ir?zn:ee);if(o===ee){i!==null&&vx(i),e.callbackNode=null,e.callbackPriority=un;return}var c=Jt(o),p=e.callbackPriority;if(p===c&&!(Ia.current!==null&&i!==eE)){i==null&&p!==Pe&&h("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}i!=null&&vx(i);var m;if(c===Pe)e.tag===pu?(Ia.isBatchingLegacy!==null&&(Ia.didScheduleLegacyUpdate=!0),zD(tx.bind(null,e))):qC(tx.bind(null,e)),Ia.current!==null?Ia.current.push(vu):jO(function(){(vt&(ar|Zi))===Fn&&vu()}),m=null;else{var S;switch(_n(o)){case en:S=Uc;break;case ba:S=Fo;break;case Bi:S=ji;break;case Kl:S=Hc;break;default:S=ji;break}m=tE(S,JT.bind(null,e))}e.callbackPriority=c,e.callbackNode=m}function JT(e,t){if(ON(),Nv=_t,ty=ee,(vt&(ar|Zi))!==Fn)throw new Error("Should not already be working.");var i=e.callbackNode,o=sl();if(o&&e.callbackNode!==i)return null;var c=$o(e,e===Ir?zn:ee);if(c===ee)return null;var p=!Ss(e,c)&&!pm(e,c)&&!t,m=p?b_(e,c):iy(e,c);if(m!==ol){if(m===Ws){var S=eo(e);S!==ee&&(c=S,m=Kb(e,S))}if(m===Cv){var E=xv;throw Ks(e,ee),wu(e,c),si(e,jt()),E}if(m===Hb)wu(e,c);else{var w=!Ss(e,c),k=e.current.alternate;if(w&&!f_(k)){if(m=iy(e,c),m===Ws){var z=eo(e);z!==ee&&(c=z,m=Kb(e,z))}if(m===Cv){var P=xv;throw Ks(e,ee),wu(e,c),si(e,jt()),P}}e.finishedWork=k,e.finishedLanes=c,d_(e,m,c)}}return si(e,jt()),e.callbackNode===i?JT.bind(null,e):null}function Kb(e,t){var i=Rv;if(pd(e)){var o=Ks(e,t);o.flags|=Kt,LD(e.containerInfo)}var c=iy(e,t);if(c!==Ws){var p=ui;ui=i,p!==null&&ex(p)}return c}function ex(e){ui===null?ui=e:ui.push.apply(ui,e)}function d_(e,t,i){switch(t){case ol:case Cv:throw new Error("Root did not complete. This is a bug in React.");case Ws:{Qs(e,ui,ll);break}case Qg:{if(wu(e,i),cm(i)&&!hx()){var o=jb+QT-jt();if(o>10){var c=$o(e,ee);if(c!==ee)break;var p=e.suspendedLanes;if(!Go(p,i)){Mr(),cd(e,p);break}e.timeoutHandle=G0(Qs.bind(null,e,ui,ll),o);break}}Qs(e,ui,ll);break}case Tv:{if(wu(e,i),fm(i))break;if(!hx()){var m=lm(e,i),S=m,E=jt()-S,w=L_(E)-E;if(w>10){e.timeoutHandle=G0(Qs.bind(null,e,ui,ll),w);break}}Qs(e,ui,ll);break}case KT:{Qs(e,ui,ll);break}default:throw new Error("Unknown root exit status.")}}function f_(e){for(var t=e;;){if(t.flags&ss){var i=t.updateQueue;if(i!==null){var o=i.stores;if(o!==null)for(var c=0;c<o.length;c++){var p=o[c],m=p.getSnapshot,S=p.value;try{if(!ke(m(),S))return!1}catch{return!1}}}}var E=t.child;if(t.subtreeFlags&ss&&E!==null){E.return=t,t=E;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function wu(e,t){t=bs(t,qg),t=bs(t,wv),mm(e,t)}function tx(e){if(DN(),(vt&(ar|Zi))!==Fn)throw new Error("Should not already be working.");sl();var t=$o(e,ee);if(!yr(t,Pe))return si(e,jt()),null;var i=iy(e,t);if(e.tag!==pu&&i===Ws){var o=eo(e);o!==ee&&(t=o,i=Kb(e,o))}if(i===Cv){var c=xv;throw Ks(e,ee),wu(e,t),si(e,jt()),c}if(i===Hb)throw new Error("Root did not complete. This is a bug in React.");var p=e.current.alternate;return e.finishedWork=p,e.finishedLanes=t,Qs(e,ui,ll),si(e,jt()),null}function p_(e,t){t!==ee&&(bp(e,et(t,Pe)),si(e,jt()),(vt&(ar|Zi))===Fn&&(kv(),vu()))}function Qb(e,t){var i=vt;vt|=YT;try{return e(t)}finally{vt=i,vt===Fn&&!Ia.isBatchingLegacy&&(kv(),ZC())}}function v_(e,t,i,o,c){var p=ei(),m=ir.transition;try{return ir.transition=null,Qt(en),e(t,i,o,c)}finally{Qt(p),ir.transition=m,vt===Fn&&kv()}}function ul(e){Tu!==null&&Tu.tag===pu&&(vt&(ar|Zi))===Fn&&sl();var t=vt;vt|=YT;var i=ir.transition,o=ei();try{return ir.transition=null,Qt(en),e?e():void 0}finally{Qt(o),ir.transition=i,vt=t,(vt&(ar|Zi))===Fn&&vu()}}function nx(){return(vt&(ar|Zi))!==Fn}function ry(e,t){Er(Vb,ho,e),ho=et(ho,t)}function Xb(e){ho=Vb.current,br(Vb,e)}function Ks(e,t){e.finishedWork=null,e.finishedLanes=ee;var i=e.timeoutHandle;if(i!==W0&&(e.timeoutHandle=W0,VO(i)),nn!==null)for(var o=nn.return;o!==null;){var c=o.alternate;LT(c,o),o=o.return}Ir=e;var p=Xs(e.current,null);return nn=p,zn=ho=t,Un=ol,xv=null,Xg=ee,wv=ee,qg=ee,Rv=null,ui=null,sN(),Ra.discardPendingWarnings(),p}function rx(e,t){do{var i=nn;try{if(pg(),k1(),vn(),Ub.current=null,i===null||i.return===null){Un=Cv,xv=t,nn=null;return}if(fn&&i.mode&Xe&&jg(i,!0),hi)if(hr(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var o=t;Uo(i,o,zn)}else fs(i,t,zn);zN(e,i.return,i,t,zn),lx(i)}catch(c){t=c,nn===i&&i!==null?(i=i.return,nn=i):i=nn;continue}return}while(!0)}function ix(){var e=zb.current;return zb.current=Fg,e===null?Fg:e}function ax(e){zb.current=e}function h_(){jb=jt()}function Lv(e){Xg=et(e,Xg)}function m_(){Un===ol&&(Un=Qg)}function qb(){(Un===ol||Un===Qg||Un===Ws)&&(Un=Tv),Ir!==null&&(ys(Xg)||ys(wv))&&wu(Ir,zn)}function g_(e){Un!==Tv&&(Un=Ws),Rv===null?Rv=[e]:Rv.push(e)}function y_(){return Un===ol}function iy(e,t){var i=vt;vt|=ar;var o=ix();if(Ir!==e||zn!==t){if(Nr){var c=e.memoizedUpdaters;c.size>0&&(_v(e,zn),c.clear()),Ep(e,t)}ll=Cs(),Ks(e,t)}Ut(t);do try{S_();break}catch(p){rx(e,p)}while(!0);if(pg(),vt=i,ax(o),nn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Gc(),Ir=null,zn=ee,Un}function S_(){for(;nn!==null;)ox(nn)}function b_(e,t){var i=vt;vt|=ar;var o=ix();if(Ir!==e||zn!==t){if(Nr){var c=e.memoizedUpdaters;c.size>0&&(_v(e,zn),c.clear()),Ep(e,t)}ll=Cs(),kv(),Ks(e,t)}Ut(t);do try{E_();break}catch(p){rx(e,p)}while(!0);return pg(),ax(o),vt=i,nn!==null?($c(),ol):(Gc(),Ir=null,zn=ee,Un)}function E_(){for(;nn!==null&&!zc();)ox(nn)}function ox(e){var t=e.alternate;Rt(e);var i;(e.mode&Xe)!==Le?(eb(e),i=Zb(t,e,ho),jg(e,!0)):i=Zb(t,e,ho),vn(),e.memoizedProps=e.pendingProps,i===null?lx(e):nn=i,Ub.current=null}function lx(e){var t=e;do{var i=t.alternate,o=t.return;if((t.flags&kr)===Ue){Rt(t);var c=void 0;if((t.mode&Xe)===Le?c=NT(i,t,ho):(eb(t),c=NT(i,t,ho),jg(t,!1)),vn(),c!==null){nn=c;return}}else{var p=mL(i,t);if(p!==null){p.flags&=Xh,nn=p;return}if((t.mode&Xe)!==Le){jg(t,!1);for(var m=t.actualDuration,S=t.child;S!==null;)m+=S.actualDuration,S=S.sibling;t.actualDuration=m}if(o!==null)o.flags|=kr,o.subtreeFlags=Ue,o.deletions=null;else{Un=Hb,nn=null;return}}var E=t.sibling;if(E!==null){nn=E;return}t=o,nn=t}while(t!==null);Un===ol&&(Un=KT)}function Qs(e,t,i){var o=ei(),c=ir.transition;try{ir.transition=null,Qt(en),C_(e,t,i,o)}finally{ir.transition=c,Qt(o)}return null}function C_(e,t,i,o){do sl();while(Tu!==null);if(A_(),(vt&(ar|Zi))!==Fn)throw new Error("Should not already be working.");var c=e.finishedWork,p=e.finishedLanes;if(qa(p),c===null)return Vc(),null;if(p===ee&&h("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ee,c===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=un;var m=et(c.lanes,c.childLanes);dd(e,m),e===Ir&&(Ir=null,nn=null,zn=ee),((c.subtreeFlags&Qr)!==Ue||(c.flags&Qr)!==Ue)&&(Ys||(Ys=!0,Gb=i,tE(ji,function(){return sl(),null})));var S=(c.subtreeFlags&(Il|pr|$n|Qr))!==Ue,E=(c.flags&(Il|pr|$n|Qr))!==Ue;if(S||E){var w=ir.transition;ir.transition=null;var k=ei();Qt(en);var z=vt;vt|=Zi,Ub.current=null,EL(e,c),Z1(),ML(e,c,p),IO(e.containerInfo),e.current=c,fp(p),PL(c,e,p),Ul(),Jh(),vt=z,Qt(k),ir.transition=w}else e.current=c,Z1();var P=Ys;if(Ys?(Ys=!1,Tu=e,Ov=p):(of=0,ey=null),m=e.pendingLanes,m===ee&&(af=null),P||dx(e.current,!1),Pl(c.stateNode,o),Nr&&e.memoizedUpdaters.clear(),t_(),si(e,jt()),t!==null)for(var B=e.onRecoverableError,G=0;G<t.length;G++){var Q=t[G],ve=Q.stack,je=Q.digest;B(Q.value,{componentStack:ve,digest:je})}if(Zg){Zg=!1;var Ie=Bb;throw Bb=null,Ie}return yr(Ov,Pe)&&e.tag!==pu&&sl(),m=e.pendingLanes,yr(m,Pe)?(kN(),e===Wb?Dv++:(Dv=0,Wb=e)):Dv=0,vu(),Vc(),null}function sl(){if(Tu!==null){var e=_n(Ov),t=m0(Bi,e),i=ir.transition,o=ei();try{return ir.transition=null,Qt(t),x_()}finally{Qt(o),ir.transition=i}}return!1}function T_(e){$b.push(e),Ys||(Ys=!0,tE(ji,function(){return sl(),null}))}function x_(){if(Tu===null)return!1;var e=Gb;Gb=null;var t=Tu,i=Ov;if(Tu=null,Ov=ee,(vt&(ar|Zi))!==Fn)throw new Error("Cannot flush passive effects while already rendering.");Yb=!0,Jg=!1,am(i);var o=vt;vt|=Zi,BL(t.current),UL(t,t.current,i,e);{var c=$b;$b=[];for(var p=0;p<c.length;p++){var m=c[p];wL(t,m)}}pp(),dx(t.current,!0),vt=o,vu(),Jg?t===ey?of++:(of=0,ey=t):of=0,Yb=!1,Jg=!1,Zr(t);{var S=t.current.stateNode;S.effectDuration=0,S.passiveEffectDuration=0}return!0}function ux(e){return af!==null&&af.has(e)}function w_(e){af===null?af=new Set([e]):af.add(e)}function R_(e){Zg||(Zg=!0,Bb=e)}var k_=R_;function sx(e,t,i){var o=$s(i,t),c=oT(e,o,Pe),p=mu(e,c,Pe),m=Mr();p!==null&&(Wo(p,Pe,m),si(p,m))}function Pt(e,t,i){if(yL(i),Av(!1),e.tag===O){sx(e,e,i);return}var o=null;for(o=t;o!==null;){if(o.tag===O){sx(o,e,i);return}else if(o.tag===C){var c=o.type,p=o.stateNode;if(typeof c.getDerivedStateFromError=="function"||typeof p.componentDidCatch=="function"&&!ux(p)){var m=$s(i,e),S=yb(o,m,Pe),E=mu(o,S,Pe),w=Mr();E!==null&&(Wo(E,Pe,w),si(E,w));return}}o=o.return}h(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
129
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:R=" You returned: "+E,m("%s must not return anything besides a function, which is used for clean-up.%s",C,R)}}}p=p.next}while(p!==c)}}function cI(e,t){if((t.flags&nt)!==He)switch(t.tag){case me:{var a=t.stateNode.passiveEffectDuration,u=t.memoizedProps,c=u.id,p=u.onPostCommit,g=ST(),E=t.alternate===null?"mount":"update";yT()&&(E="nested-update"),typeof p=="function"&&p(c,E,a,g);var C=t.return;e:for(;C!==null;){switch(C.tag){case D:var R=C.stateNode;R.passiveEffectDuration+=a;break e;case me:var k=C.stateNode;k.passiveEffectDuration+=a;break e}C=C.return}break}}}function dI(e,t,a,u){if((a.flags&Wn)!==He)switch(a.tag){case w:case Z:case we:{if(!ir)if(a.mode&qe)try{So(),Du(Pn|Mn,a)}finally{yo(a)}else Du(Pn|Mn,a);break}case T:{var c=a.stateNode;if(a.flags&nt&&!ir)if(t===null)if(a.type===a.elementType&&!Js&&(c.props!==a.memoizedProps&&m("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Je(a)||"instance"),c.state!==a.memoizedState&&m("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Je(a)||"instance")),a.mode&qe)try{So(),c.componentDidMount()}finally{yo(a)}else c.componentDidMount();else{var p=a.elementType===a.type?t.memoizedProps:Aa(a.type,t.memoizedProps),g=t.memoizedState;if(a.type===a.elementType&&!Js&&(c.props!==a.memoizedProps&&m("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Je(a)||"instance"),c.state!==a.memoizedState&&m("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Je(a)||"instance")),a.mode&qe)try{So(),c.componentDidUpdate(p,g,c.__reactInternalSnapshotBeforeUpdate)}finally{yo(a)}else c.componentDidUpdate(p,g,c.__reactInternalSnapshotBeforeUpdate)}var E=a.updateQueue;E!==null&&(a.type===a.elementType&&!Js&&(c.props!==a.memoizedProps&&m("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Je(a)||"instance"),c.state!==a.memoizedState&&m("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Je(a)||"instance")),j1(a,E,c));break}case D:{var C=a.updateQueue;if(C!==null){var R=null;if(a.child!==null)switch(a.child.tag){case N:R=a.child.stateNode;break;case T:R=a.child.stateNode;break}j1(a,C,R)}break}case N:{var k=a.stateNode;if(t===null&&a.flags&nt){var F=a.type,M=a.memoizedProps;DD(k,F,M)}break}case _:break;case L:break;case me:{{var $=a.memoizedProps,W=$.onCommit,Q=$.onRender,ge=a.stateNode.effectDuration,je=ST(),Pe=t===null?"mount":"update";yT()&&(Pe="nested-update"),typeof Q=="function"&&Q(a.memoizedProps.id,Pe,a.actualDuration,a.treeBaseDuration,a.actualStartTime,je);{typeof W=="function"&&W(a.memoizedProps.id,Pe,ge,je),uA(a);var mt=a.return;e:for(;mt!==null;){switch(mt.tag){case D:var ft=mt.stateNode;ft.effectDuration+=ge;break e;case me:var V=mt.stateNode;V.effectDuration+=ge;break e}mt=mt.return}}}break}case fe:{SI(e,a);break}case se:case Ie:case K:case Y:case ie:case ke:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}ir||a.flags&pr&&iw(a)}function fI(e){switch(e.tag){case w:case Z:case we:{if(e.mode&qe)try{So(),tw(e,e.return)}finally{yo(e)}else tw(e,e.return);break}case T:{var t=e.stateNode;typeof t.componentDidMount=="function"&&aI(e,e.return,t),nw(e,e.return);break}case N:{nw(e,e.return);break}}}function pI(e,t){for(var a=null,u=e;;){if(u.tag===N){if(a===null){a=u;try{var c=u.stateNode;t?UD(c):HD(u.stateNode,u.memoizedProps)}catch(g){Ft(e,e.return,g)}}}else if(u.tag===_){if(a===null)try{var p=u.stateNode;t?VD(p):BD(p,u.memoizedProps)}catch(g){Ft(e,e.return,g)}}else if(!((u.tag===Y||u.tag===ie)&&u.memoizedState!==null&&u!==e)){if(u.child!==null){u.child.return=u,u=u.child;continue}}if(u===e)return;for(;u.sibling===null;){if(u.return===null||u.return===e)return;a===u&&(a=null),u=u.return}a===u&&(a=null),u.sibling.return=u.return,u=u.sibling}}function iw(e){var t=e.ref;if(t!==null){var a=e.stateNode,u;switch(e.tag){case N:u=a;break;default:u=a}if(typeof t=="function"){var c;if(e.mode&qe)try{So(),c=t(u)}finally{yo(e)}else c=t(u);typeof c=="function"&&m("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",Je(e))}else t.hasOwnProperty("current")||m("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Je(e)),t.current=u}}function vI(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function aw(e){var t=e.alternate;t!==null&&(e.alternate=null,aw(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===N){var a=e.stateNode;a!==null&&EN(a)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function hI(e){for(var t=e.return;t!==null;){if(ow(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function ow(e){return e.tag===N||e.tag===D||e.tag===L}function lw(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||ow(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==N&&t.tag!==_&&t.tag!==Ee;){if(t.flags&_t||t.child===null||t.tag===L)continue e;t.child.return=t,t=t.child}if(!(t.flags&_t))return t.stateNode}}function mI(e){var t=hI(e);switch(t.tag){case N:{var a=t.stateNode;t.flags&Tt&&(s1(a),t.flags&=~Tt);var u=lw(e);ZE(e,u,a);break}case D:case L:{var c=t.stateNode.containerInfo,p=lw(e);XE(e,p,c);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function XE(e,t,a){var u=e.tag,c=u===N||u===_;if(c){var p=e.stateNode;t?MD(a,p,t):AD(a,p)}else if(u!==L){var g=e.child;if(g!==null){XE(g,t,a);for(var E=g.sibling;E!==null;)XE(E,t,a),E=E.sibling}}}function ZE(e,t,a){var u=e.tag,c=u===N||u===_;if(c){var p=e.stateNode;t?_D(a,p,t):ID(a,p)}else if(u!==L){var g=e.child;if(g!==null){ZE(g,t,a);for(var E=g.sibling;E!==null;)ZE(E,t,a),E=E.sibling}}}var ar=null,Pa=!1;function gI(e,t,a){{var u=t;e:for(;u!==null;){switch(u.tag){case N:{ar=u.stateNode,Pa=!1;break e}case D:{ar=u.stateNode.containerInfo,Pa=!0;break e}case L:{ar=u.stateNode.containerInfo,Pa=!0;break e}}u=u.return}if(ar===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");uw(e,t,a),ar=null,Pa=!1}vI(a)}function Nu(e,t,a){for(var u=a.child;u!==null;)uw(e,t,u),u=u.sibling}function uw(e,t,a){switch(Go(a),a.tag){case N:ir||vf(a,t);case _:{{var u=ar,c=Pa;ar=null,Nu(e,t,a),ar=u,Pa=c,ar!==null&&(Pa?FD(ar,a.stateNode):PD(ar,a.stateNode))}return}case Ee:{ar!==null&&(Pa?zD(ar,a.stateNode):sS(ar,a.stateNode));return}case L:{{var p=ar,g=Pa;ar=a.stateNode.containerInfo,Pa=!0,Nu(e,t,a),ar=p,Pa=g}return}case w:case Z:case Fe:case we:{if(!ir){var E=a.updateQueue;if(E!==null){var C=E.lastEffect;if(C!==null){var R=C.next,k=R;do{var F=k,M=F.destroy,$=F.tag;M!==void 0&&(($&ho)!==di?ry(a,t,M):($&Pn)!==di&&(Ii(a),a.mode&qe?(So(),ry(a,t,M),yo(a)):ry(a,t,M),Wl())),k=k.next}while(k!==R)}}}Nu(e,t,a);return}case T:{if(!ir){vf(a,t);var W=a.stateNode;typeof W.componentWillUnmount=="function"&&qE(a,t,W)}Nu(e,t,a);return}case K:{Nu(e,t,a);return}case Y:{if(a.mode&Me){var Q=ir;ir=Q||a.memoizedState!==null,Nu(e,t,a),ir=Q}else Nu(e,t,a);break}default:{Nu(e,t,a);return}}}function yI(e){e.memoizedState}function SI(e,t){var a=t.memoizedState;if(a===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var p=c.dehydrated;p!==null&&rN(p)}}}}function sw(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new nI),t.forEach(function(u){var c=hA.bind(null,e,u);if(!a.has(u)){if(a.add(u),Ar)if(ff!==null&&pf!==null)jv(pf,ff);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");u.then(c,c)}})}}function EI(e,t,a){ff=a,pf=e,kt(t),cw(t,e),kt(t),ff=null,pf=null}function Fa(e,t,a){var u=t.deletions;if(u!==null)for(var c=0;c<u.length;c++){var p=u[c];try{gI(e,t,p)}catch(C){Ft(p,t,C)}}var g=c0();if(t.subtreeFlags&mr)for(var E=t.child;E!==null;)kt(E),cw(E,e),E=E.sibling;kt(g)}function cw(e,t,a){var u=e.alternate,c=e.flags;switch(e.tag){case w:case Z:case Fe:case we:{if(Fa(t,e),Eo(e),c&nt){try{Ma(ho|Mn,e,e.return),Du(ho|Mn,e)}catch(Ke){Ft(e,e.return,Ke)}if(e.mode&qe){try{So(),Ma(Pn|Mn,e,e.return)}catch(Ke){Ft(e,e.return,Ke)}yo(e)}else try{Ma(Pn|Mn,e,e.return)}catch(Ke){Ft(e,e.return,Ke)}}return}case T:{Fa(t,e),Eo(e),c&pr&&u!==null&&vf(u,u.return);return}case N:{Fa(t,e),Eo(e),c&pr&&u!==null&&vf(u,u.return);{if(e.flags&Tt){var p=e.stateNode;try{s1(p)}catch(Ke){Ft(e,e.return,Ke)}}if(c&nt){var g=e.stateNode;if(g!=null){var E=e.memoizedProps,C=u!==null?u.memoizedProps:E,R=e.type,k=e.updateQueue;if(e.updateQueue=null,k!==null)try{ND(g,k,R,C,E,e)}catch(Ke){Ft(e,e.return,Ke)}}}}return}case _:{if(Fa(t,e),Eo(e),c&nt){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var F=e.stateNode,M=e.memoizedProps,$=u!==null?u.memoizedProps:M;try{LD(F,$,M)}catch(Ke){Ft(e,e.return,Ke)}}return}case D:{if(Fa(t,e),Eo(e),c&nt&&u!==null){var W=u.memoizedState;if(W.isDehydrated)try{nN(t.containerInfo)}catch(Ke){Ft(e,e.return,Ke)}}return}case L:{Fa(t,e),Eo(e);return}case fe:{Fa(t,e),Eo(e);var Q=e.child;if(Q.flags&to){var ge=Q.stateNode,je=Q.memoizedState,Pe=je!==null;if(ge.isHidden=Pe,Pe){var mt=Q.alternate!==null&&Q.alternate.memoizedState!==null;mt||eA()}}if(c&nt){try{yI(e)}catch(Ke){Ft(e,e.return,Ke)}sw(e)}return}case Y:{var ft=u!==null&&u.memoizedState!==null;if(e.mode&Me){var V=ir;ir=V||ft,Fa(t,e),ir=V}else Fa(t,e);if(Eo(e),c&to){var q=e.stateNode,H=e.memoizedState,ue=H!==null,Te=e;if(q.isHidden=ue,ue&&!ft&&(Te.mode&Me)!==Ae){Ne=Te;for(var Se=Te.child;Se!==null;)Ne=Se,CI(Se),Se=Se.sibling}pI(Te,ue)}return}case se:{Fa(t,e),Eo(e),c&nt&&sw(e);return}case K:return;default:{Fa(t,e),Eo(e);return}}}function Eo(e){var t=e.flags;if(t&_t){try{mI(e)}catch(a){Ft(e,e.return,a)}e.flags&=~_t}t&Zr&&(e.flags&=~Zr)}function bI(e,t,a){ff=a,pf=t,Ne=e,dw(e,t,a),ff=null,pf=null}function dw(e,t,a){for(var u=(e.mode&Me)!==Ae;Ne!==null;){var c=Ne,p=c.child;if(c.tag===Y&&u){var g=c.memoizedState!==null,E=g||ny;if(E){JE(e,t,a);continue}else{var C=c.alternate,R=C!==null&&C.memoizedState!==null,k=R||ir,F=ny,M=ir;ny=E,ir=k,ir&&!M&&(Ne=c,TI(c));for(var $=p;$!==null;)Ne=$,dw($,t,a),$=$.sibling;Ne=c,ny=F,ir=M,JE(e,t,a);continue}}(c.subtreeFlags&Wn)!==He&&p!==null?(p.return=c,Ne=p):JE(e,t,a)}}function JE(e,t,a){for(;Ne!==null;){var u=Ne;if((u.flags&Wn)!==He){var c=u.alternate;kt(u);try{dI(t,c,u,a)}catch(g){Ft(u,u.return,g)}hn()}if(u===e){Ne=null;return}var p=u.sibling;if(p!==null){p.return=u.return,Ne=p;return}Ne=u.return}}function CI(e){for(;Ne!==null;){var t=Ne,a=t.child;switch(t.tag){case w:case Z:case Fe:case we:{if(t.mode&qe)try{So(),Ma(Pn,t,t.return)}finally{yo(t)}else Ma(Pn,t,t.return);break}case T:{vf(t,t.return);var u=t.stateNode;typeof u.componentWillUnmount=="function"&&qE(t,t.return,u);break}case N:{vf(t,t.return);break}case Y:{var c=t.memoizedState!==null;if(c){fw(e);continue}break}}a!==null?(a.return=t,Ne=a):fw(e)}}function fw(e){for(;Ne!==null;){var t=Ne;if(t===e){Ne=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Ne=a;return}Ne=t.return}}function TI(e){for(;Ne!==null;){var t=Ne,a=t.child;if(t.tag===Y){var u=t.memoizedState!==null;if(u){pw(e);continue}}a!==null?(a.return=t,Ne=a):pw(e)}}function pw(e){for(;Ne!==null;){var t=Ne;kt(t);try{fI(t)}catch(u){Ft(t,t.return,u)}if(hn(),t===e){Ne=null;return}var a=t.sibling;if(a!==null){a.return=t.return,Ne=a;return}Ne=t.return}}function wI(e,t,a,u){Ne=t,xI(t,e,a,u)}function xI(e,t,a,u){for(;Ne!==null;){var c=Ne,p=c.child;(c.subtreeFlags&Jr)!==He&&p!==null?(p.return=c,Ne=p):RI(e,t,a,u)}}function RI(e,t,a,u){for(;Ne!==null;){var c=Ne;if((c.flags&zt)!==He){kt(c);try{kI(t,c,a,u)}catch(g){Ft(c,c.return,g)}hn()}if(c===e){Ne=null;return}var p=c.sibling;if(p!==null){p.return=c.return,Ne=p;return}Ne=c.return}}function kI(e,t,a,u){switch(t.tag){case w:case Z:case we:{if(t.mode&qe){yE();try{Du(nr|Mn,t)}finally{gE(t)}}else Du(nr|Mn,t);break}}}function OI(e){Ne=e,DI()}function DI(){for(;Ne!==null;){var e=Ne,t=e.child;if((Ne.flags&Ct)!==He){var a=e.deletions;if(a!==null){for(var u=0;u<a.length;u++){var c=a[u];Ne=c,II(c,e)}{var p=e.alternate;if(p!==null){var g=p.child;if(g!==null){p.child=null;do{var E=g.sibling;g.sibling=null,g=E}while(g!==null)}}}Ne=e}}(e.subtreeFlags&Jr)!==He&&t!==null?(t.return=e,Ne=t):NI()}}function NI(){for(;Ne!==null;){var e=Ne;(e.flags&zt)!==He&&(kt(e),LI(e),hn());var t=e.sibling;if(t!==null){t.return=e.return,Ne=t;return}Ne=e.return}}function LI(e){switch(e.tag){case w:case Z:case we:{e.mode&qe?(yE(),Ma(nr|Mn,e,e.return),gE(e)):Ma(nr|Mn,e,e.return);break}}}function II(e,t){for(;Ne!==null;){var a=Ne;kt(a),_I(a,t),hn();var u=a.child;u!==null?(u.return=a,Ne=u):AI(e)}}function AI(e){for(;Ne!==null;){var t=Ne,a=t.sibling,u=t.return;if(aw(t),t===e){Ne=null;return}if(a!==null){a.return=u,Ne=a;return}Ne=u}}function _I(e,t){switch(e.tag){case w:case Z:case we:{e.mode&qe?(yE(),Ma(nr,e,t),gE(e)):Ma(nr,e,t);break}}}function MI(e){switch(e.tag){case w:case Z:case we:{try{Du(Pn|Mn,e)}catch(a){Ft(e,e.return,a)}break}case T:{var t=e.stateNode;try{t.componentDidMount()}catch(a){Ft(e,e.return,a)}break}}}function PI(e){switch(e.tag){case w:case Z:case we:{try{Du(nr|Mn,e)}catch(t){Ft(e,e.return,t)}break}}}function FI(e){switch(e.tag){case w:case Z:case we:{try{Ma(Pn|Mn,e,e.return)}catch(a){Ft(e,e.return,a)}break}case T:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&qE(e,e.return,t);break}}}function zI(e){switch(e.tag){case w:case Z:case we:try{Ma(nr|Mn,e,e.return)}catch(t){Ft(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Iv=Symbol.for;Iv("selector.component"),Iv("selector.has_pseudo_class"),Iv("selector.role"),Iv("selector.test_id"),Iv("selector.text")}var UI=[];function VI(){UI.forEach(function(e){return e()})}var HI=o.ReactCurrentActQueue;function BI(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,a=typeof jest<"u";return a&&t!==!1}}function vw(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&HI.current!==null&&m("The current testing environment is not configured to support act(...)"),e}}var jI=Math.ceil,eb=o.ReactCurrentDispatcher,tb=o.ReactCurrentOwner,or=o.ReactCurrentBatchConfig,za=o.ReactCurrentActQueue,Un=0,hw=1,lr=2,aa=4,pl=0,Av=1,ec=2,iy=3,_v=4,mw=5,nb=6,ht=Un,Fr=null,nn=null,Vn=ne,bo=ne,rb=Eu(ne),Hn=pl,Mv=null,ay=ne,Pv=ne,oy=ne,Fv=null,fi=null,ib=0,gw=500,yw=1/0,$I=500,vl=null;function zv(){yw=Bt()+$I}function Sw(){return yw}var ly=!1,ab=null,hf=null,tc=!1,Lu=null,Uv=ne,ob=[],lb=null,GI=50,Vv=0,ub=null,sb=!1,uy=!1,WI=50,mf=0,sy=null,Hv=At,cy=ne,Ew=!1;function dy(){return Fr}function zr(){return(ht&(lr|aa))!==Un?Bt():(Hv!==At||(Hv=Bt()),Hv)}function Iu(e){var t=e.mode;if((t&Me)===Ae)return Ue;if((ht&lr)!==Un&&Vn!==ne)return tu(Vn);var a=HN()!==VN;if(a){if(or.transition!==null){var u=or.transition;u._updatedFibers||(u._updatedFibers=new Set),u._updatedFibers.add(e)}return cy===un&&(cy=Tm()),cy}var c=ii();if(c!==un)return c;var p=xD();return p}function YI(e){var t=e.mode;return(t&Me)===Ae?Ue:Er()}function Bn(e,t,a,u){gA(),Ew&&m("useInsertionEffect must not schedule updates."),sb&&(uy=!0),Jo(e,a,u),(ht&lr)!==ne&&e===Fr?EA(t):(Ar&&Cd(e,t,a),bA(t),e===Fr&&((ht&lr)===Un&&(Pv=et(Pv,a)),Hn===_v&&Au(e,Vn)),pi(e,u),a===Ue&&ht===Un&&(t.mode&Me)===Ae&&!za.isBatchingLegacy&&(zv(),E1()))}function KI(e,t,a){var u=e.current;u.lanes=t,Jo(e,t,a),pi(e,a)}function QI(e){return(ht&lr)!==Un}function pi(e,t){var a=e.callbackNode;ym(e,t);var u=Xo(e,e===Fr?Vn:ne);if(u===ne){a!==null&&Pw(a),e.callbackNode=null,e.callbackPriority=un;return}var c=Jt(u),p=e.callbackPriority;if(p===c&&!(za.current!==null&&a!==mb)){a==null&&p!==Ue&&m("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}a!=null&&Pw(a);var g;if(c===Ue)e.tag===bu?(za.isBatchingLegacy!==null&&(za.didScheduleLegacyUpdate=!0),TN(Tw.bind(null,e))):S1(Tw.bind(null,e)),za.current!==null?za.current.push(Cu):kD(function(){(ht&(lr|aa))===Un&&Cu()}),g=null;else{var E;switch(_n(u)){case en:E=Qc;break;case wa:E=$o;break;case qi:E=Qi;break;case nu:E=qc;break;default:E=Qi;break}g=gb(E,bw.bind(null,e))}e.callbackPriority=c,e.callbackNode=g}function bw(e,t){if(pL(),Hv=At,cy=ne,(ht&(lr|aa))!==Un)throw new Error("Should not already be working.");var a=e.callbackNode,u=ml();if(u&&e.callbackNode!==a)return null;var c=Xo(e,e===Fr?Vn:ne);if(c===ne)return null;var p=!ks(e,c)&&!Cm(e,c)&&!t,g=p?aA(e,c):py(e,c);if(g!==pl){if(g===ec){var E=oo(e);E!==ne&&(c=E,g=cb(e,E))}if(g===Av){var C=Mv;throw nc(e,ne),Au(e,c),pi(e,Bt()),C}if(g===nb)Au(e,c);else{var R=!ks(e,c),k=e.current.alternate;if(R&&!XI(k)){if(g=py(e,c),g===ec){var F=oo(e);F!==ne&&(c=F,g=cb(e,F))}if(g===Av){var M=Mv;throw nc(e,ne),Au(e,c),pi(e,Bt()),M}}e.finishedWork=k,e.finishedLanes=c,qI(e,g,c)}}return pi(e,Bt()),e.callbackNode===a?bw.bind(null,e):null}function cb(e,t){var a=Fv;if(Td(e)){var u=nc(e,t);u.flags|=Kt,mN(e.containerInfo)}var c=py(e,t);if(c!==ec){var p=fi;fi=a,p!==null&&Cw(p)}return c}function Cw(e){fi===null?fi=e:fi.push.apply(fi,e)}function qI(e,t,a){switch(t){case pl:case Av:throw new Error("Root did not complete. This is a bug in React.");case ec:{rc(e,fi,vl);break}case iy:{if(Au(e,a),Sm(a)&&!Fw()){var u=ib+gw-Bt();if(u>10){var c=Xo(e,ne);if(c!==ne)break;var p=e.suspendedLanes;if(!Zo(p,a)){zr(),Ed(e,p);break}e.timeoutHandle=lS(rc.bind(null,e,fi,vl),u);break}}rc(e,fi,vl);break}case _v:{if(Au(e,a),bm(a))break;if(!Fw()){var g=mm(e,a),E=g,C=Bt()-E,R=mA(C)-C;if(R>10){e.timeoutHandle=lS(rc.bind(null,e,fi,vl),R);break}}rc(e,fi,vl);break}case mw:{rc(e,fi,vl);break}default:throw new Error("Unknown root exit status.")}}function XI(e){for(var t=e;;){if(t.flags&gs){var a=t.updateQueue;if(a!==null){var u=a.stores;if(u!==null)for(var c=0;c<u.length;c++){var p=u[c],g=p.getSnapshot,E=p.value;try{if(!De(g(),E))return!1}catch{return!1}}}}var C=t.child;if(t.subtreeFlags&gs&&C!==null){C.return=t,t=C;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Au(e,t){t=Os(t,oy),t=Os(t,Pv),xm(e,t)}function Tw(e){if(vL(),(ht&(lr|aa))!==Un)throw new Error("Should not already be working.");ml();var t=Xo(e,ne);if(!br(t,Ue))return pi(e,Bt()),null;var a=py(e,t);if(e.tag!==bu&&a===ec){var u=oo(e);u!==ne&&(t=u,a=cb(e,u))}if(a===Av){var c=Mv;throw nc(e,ne),Au(e,t),pi(e,Bt()),c}if(a===nb)throw new Error("Root did not complete. This is a bug in React.");var p=e.current.alternate;return e.finishedWork=p,e.finishedLanes=t,rc(e,fi,vl),pi(e,Bt()),null}function ZI(e,t){t!==ne&&(Lp(e,et(t,Ue)),pi(e,Bt()),(ht&(lr|aa))===Un&&(zv(),Cu()))}function db(e,t){var a=ht;ht|=hw;try{return e(t)}finally{ht=a,ht===Un&&!za.isBatchingLegacy&&(zv(),E1())}}function JI(e,t,a,u,c){var p=ii(),g=or.transition;try{return or.transition=null,Qt(en),e(t,a,u,c)}finally{Qt(p),or.transition=g,ht===Un&&zv()}}function hl(e){Lu!==null&&Lu.tag===bu&&(ht&(lr|aa))===Un&&ml();var t=ht;ht|=hw;var a=or.transition,u=ii();try{return or.transition=null,Qt(en),e?e():void 0}finally{Qt(u),or.transition=a,ht=t,(ht&(lr|aa))===Un&&Cu()}}function ww(){return(ht&(lr|aa))!==Un}function fy(e,t){wr(rb,bo,e),bo=et(bo,t)}function fb(e){bo=rb.current,Tr(rb,e)}function nc(e,t){e.finishedWork=null,e.finishedLanes=ne;var a=e.timeoutHandle;if(a!==uS&&(e.timeoutHandle=uS,RD(a)),nn!==null)for(var u=nn.return;u!==null;){var c=u.alternate;JT(c,u),u=u.return}Fr=e;var p=ic(e.current,null);return nn=p,Vn=bo=t,Hn=pl,Mv=null,ay=ne,Pv=ne,oy=ne,Fv=null,fi=null,KN(),Na.discardPendingWarnings(),p}function xw(e,t){do{var a=nn;try{if(Cg(),Q1(),hn(),tb.current=null,a===null||a.return===null){Hn=Av,Mv=t,nn=null;return}if(pn&&a.mode&qe&&Xg(a,!0),Ei)if(yr(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var u=t;Wo(a,u,Vn)}else Es(a,t,Vn);TL(e,a.return,a,t,Vn),Dw(a)}catch(c){t=c,nn===a&&a!==null?(a=a.return,nn=a):a=nn;continue}return}while(!0)}function Rw(){var e=eb.current;return eb.current=Wg,e===null?Wg:e}function kw(e){eb.current=e}function eA(){ib=Bt()}function Bv(e){ay=et(e,ay)}function tA(){Hn===pl&&(Hn=iy)}function pb(){(Hn===pl||Hn===iy||Hn===ec)&&(Hn=_v),Fr!==null&&(Rs(ay)||Rs(Pv))&&Au(Fr,Vn)}function nA(e){Hn!==_v&&(Hn=ec),Fv===null?Fv=[e]:Fv.push(e)}function rA(){return Hn===pl}function py(e,t){var a=ht;ht|=lr;var u=Rw();if(Fr!==e||Vn!==t){if(Ar){var c=e.memoizedUpdaters;c.size>0&&(jv(e,Vn),c.clear()),Ip(e,t)}vl=Ns(),nc(e,t)}Ut(t);do try{iA();break}catch(p){xw(e,p)}while(!0);if(Cg(),ht=a,kw(u),nn!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return td(),Fr=null,Vn=ne,Hn}function iA(){for(;nn!==null;)Ow(nn)}function aA(e,t){var a=ht;ht|=lr;var u=Rw();if(Fr!==e||Vn!==t){if(Ar){var c=e.memoizedUpdaters;c.size>0&&(jv(e,Vn),c.clear()),Ip(e,t)}vl=Ns(),zv(),nc(e,t)}Ut(t);do try{oA();break}catch(p){xw(e,p)}while(!0);return Cg(),kw(u),ht=a,nn!==null?(ed(),pl):(td(),Fr=null,Vn=ne,Hn)}function oA(){for(;nn!==null&&!Kc();)Ow(nn)}function Ow(e){var t=e.alternate;kt(e);var a;(e.mode&qe)!==Ae?(mE(e),a=vb(t,e,bo),Xg(e,!0)):a=vb(t,e,bo),hn(),e.memoizedProps=e.pendingProps,a===null?Dw(e):nn=a,tb.current=null}function Dw(e){var t=e;do{var a=t.alternate,u=t.return;if((t.flags&Nr)===He){kt(t);var c=void 0;if((t.mode&qe)===Ae?c=ZT(a,t,bo):(mE(t),c=ZT(a,t,bo),Xg(t,!1)),hn(),c!==null){nn=c;return}}else{var p=tI(a,t);if(p!==null){p.flags&=am,nn=p;return}if((t.mode&qe)!==Ae){Xg(t,!1);for(var g=t.actualDuration,E=t.child;E!==null;)g+=E.actualDuration,E=E.sibling;t.actualDuration=g}if(u!==null)u.flags|=Nr,u.subtreeFlags=He,u.deletions=null;else{Hn=nb,nn=null;return}}var C=t.sibling;if(C!==null){nn=C;return}t=u,nn=t}while(t!==null);Hn===pl&&(Hn=mw)}function rc(e,t,a){var u=ii(),c=or.transition;try{or.transition=null,Qt(en),lA(e,t,a,u)}finally{or.transition=c,Qt(u)}return null}function lA(e,t,a,u){do ml();while(Lu!==null);if(yA(),(ht&(lr|aa))!==Un)throw new Error("Should not already be working.");var c=e.finishedWork,p=e.finishedLanes;if(ro(p),c===null)return Xc(),null;if(p===ne&&m("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=ne,c===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=un;var g=et(c.lanes,c.childLanes);bd(e,g),e===Fr&&(Fr=null,nn=null,Vn=ne),((c.subtreeFlags&Jr)!==He||(c.flags&Jr)!==He)&&(tc||(tc=!0,lb=a,gb(Qi,function(){return ml(),null})));var E=(c.subtreeFlags&(Bl|mr|Wn|Jr))!==He,C=(c.flags&(Bl|mr|Wn|Jr))!==He;if(E||C){var R=or.transition;or.transition=null;var k=ii();Qt(en);var F=ht;ht|=aa,tb.current=null,oI(e,c),ET(),EI(e,c,p),SD(e.containerInfo),e.current=c,Tp(p),bI(c,e,p),Yl(),um(),ht=F,Qt(k),or.transition=R}else e.current=c,ET();var M=tc;if(tc?(tc=!1,Lu=e,Uv=p):(mf=0,sy=null),g=e.pendingLanes,g===ne&&(hf=null),M||Aw(e.current,!1),$l(c.stateNode,u),Ar&&e.memoizedUpdaters.clear(),VI(),pi(e,Bt()),t!==null)for(var $=e.onRecoverableError,W=0;W<t.length;W++){var Q=t[W],ge=Q.stack,je=Q.digest;$(Q.value,{componentStack:ge,digest:je})}if(ly){ly=!1;var Pe=ab;throw ab=null,Pe}return br(Uv,Ue)&&e.tag!==bu&&ml(),g=e.pendingLanes,br(g,Ue)?(fL(),e===ub?Vv++:(Vv=0,ub=e)):Vv=0,Cu(),Xc(),null}function ml(){if(Lu!==null){var e=_n(Uv),t=I0(qi,e),a=or.transition,u=ii();try{return or.transition=null,Qt(t),sA()}finally{Qt(u),or.transition=a}}return!1}function uA(e){ob.push(e),tc||(tc=!0,gb(Qi,function(){return ml(),null}))}function sA(){if(Lu===null)return!1;var e=lb;lb=null;var t=Lu,a=Uv;if(Lu=null,Uv=ne,(ht&(lr|aa))!==Un)throw new Error("Cannot flush passive effects while already rendering.");sb=!0,uy=!1,vm(a);var u=ht;ht|=aa,OI(t.current),wI(t,t.current,a,e);{var c=ob;ob=[];for(var p=0;p<c.length;p++){var g=c[p];cI(t,g)}}wp(),Aw(t.current,!0),ht=u,Cu(),uy?t===sy?mf++:(mf=0,sy=t):mf=0,sb=!1,uy=!1,ni(t);{var E=t.current.stateNode;E.effectDuration=0,E.passiveEffectDuration=0}return!0}function Nw(e){return hf!==null&&hf.has(e)}function cA(e){hf===null?hf=new Set([e]):hf.add(e)}function dA(e){ly||(ly=!0,ab=e)}var fA=dA;function Lw(e,t,a){var u=Zs(a,t),c=OT(e,u,Ue),p=wu(e,c,Ue),g=zr();p!==null&&(Jo(p,Ue,g),pi(p,g))}function Ft(e,t,a){if(rI(a),$v(!1),e.tag===D){Lw(e,e,a);return}var u=null;for(u=t;u!==null;){if(u.tag===D){Lw(u,e,a);return}else if(u.tag===T){var c=u.type,p=u.stateNode;if(typeof c.getDerivedStateFromError=="function"||typeof p.componentDidCatch=="function"&&!Nw(p)){var g=Zs(a,e),E=_E(u,g,Ue),C=wu(u,E,Ue),R=zr();C!==null&&(Jo(C,Ue,R),pi(C,R));return}}u=u.return}m(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
130
130
|
|
|
131
131
|
Error message:
|
|
132
132
|
|
|
133
|
-
%s`,
|
|
133
|
+
%s`,a)}function pA(e,t,a){var u=e.pingCache;u!==null&&u.delete(t);var c=zr();Ed(e,a),CA(e),Fr===e&&Zo(Vn,a)&&(Hn===_v||Hn===iy&&Sm(Vn)&&Bt()-ib<gw?nc(e,ne):oy=et(oy,a)),pi(e,c)}function Iw(e,t){t===un&&(t=YI(e));var a=zr(),u=ci(e,t);u!==null&&(Jo(u,t,a),pi(u,a))}function vA(e){var t=e.memoizedState,a=un;t!==null&&(a=t.retryLane),Iw(e,a)}function hA(e,t){var a=un,u;switch(e.tag){case fe:u=e.stateNode;var c=e.memoizedState;c!==null&&(a=c.retryLane);break;case se:u=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),Iw(e,a)}function mA(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:jI(e/1960)*1960}function gA(){if(Vv>GI)throw Vv=0,ub=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");mf>WI&&(mf=0,sy=null,m("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function yA(){Na.flushLegacyContextWarning(),Na.flushPendingUnsafeLifecycleWarnings()}function Aw(e,t){kt(e),vy(e,hr,FI),t&&vy(e,jo,zI),vy(e,hr,MI),t&&vy(e,jo,PI),hn()}function vy(e,t,a){for(var u=e,c=null;u!==null;){var p=u.subtreeFlags&t;u!==c&&u.child!==null&&p!==He?u=u.child:((u.flags&t)!==He&&a(u),u.sibling!==null?u=u.sibling:u=c=u.return)}}var hy=null;function _w(e){{if((ht&lr)!==Un||!(e.mode&Me))return;var t=e.tag;if(t!==I&&t!==D&&t!==T&&t!==w&&t!==Z&&t!==Fe&&t!==we)return;var a=Je(e)||"ReactComponent";if(hy!==null){if(hy.has(a))return;hy.add(a)}else hy=new Set([a]);var u=an;try{kt(e),m("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{u?kt(e):hn()}}}var vb;{var SA=null;vb=function(e,t,a){var u=Bw(SA,t);try{return YT(e,t,a)}catch(p){if(LN()||p!==null&&typeof p=="object"&&typeof p.then=="function")throw p;if(Cg(),Q1(),JT(e,t),Bw(t,u),t.mode&qe&&mE(t),Bo(null,YT,null,e,t,a),k0()){var c=vp();typeof c=="object"&&c!==null&&c._suppressLogging&&typeof p=="object"&&p!==null&&!p._suppressLogging&&(p._suppressLogging=!0)}throw p}}}var Mw=!1,hb;hb=new Set;function EA(e){if(Yr&&!sL())switch(e.tag){case w:case Z:case we:{var t=nn&&Je(nn)||"Unknown",a=t;if(!hb.has(a)){hb.add(a);var u=Je(e)||"Unknown";m("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",u,t,t)}break}case T:{Mw||(m("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Mw=!0);break}}}function jv(e,t){if(Ar){var a=e.memoizedUpdaters;a.forEach(function(u){Cd(e,u,t)})}}var mb={};function gb(e,t){{var a=za.current;return a!==null?(a.push(t),mb):Yc(e,t)}}function Pw(e){if(e!==mb)return lm(e)}function Fw(){return za.current!==null}function bA(e){{if(e.mode&Me){if(!vw())return}else if(!BI()||ht!==Un||e.tag!==w&&e.tag!==Z&&e.tag!==we)return;if(za.current===null){var t=an;try{kt(e),m(`An update to %s inside a test was not wrapped in act(...).
|
|
134
134
|
|
|
135
135
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
136
136
|
|
|
@@ -139,7 +139,7 @@ act(() => {
|
|
|
139
139
|
});
|
|
140
140
|
/* assert on the output */
|
|
141
141
|
|
|
142
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,Je(e))}finally{t?
|
|
142
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,Je(e))}finally{t?kt(e):hn()}}}}function CA(e){e.tag!==bu&&vw()&&za.current===null&&m(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
143
143
|
|
|
144
144
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
145
145
|
|
|
@@ -148,15 +148,15 @@ act(() => {
|
|
|
148
148
|
});
|
|
149
149
|
/* assert on the output */
|
|
150
150
|
|
|
151
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function
|
|
151
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function $v(e){Ew=e}var oa=null,gf=null,TA=function(e){oa=e};function yf(e){{if(oa===null)return e;var t=oa(e);return t===void 0?e:t.current}}function yb(e){return yf(e)}function Sb(e){{if(oa===null)return e;var t=oa(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var a=yf(e.render);if(e.render!==a){var u={$$typeof:Ol,render:a};return e.displayName!==void 0&&(u.displayName=e.displayName),u}}return e}return t.current}}function zw(e,t){{if(oa===null)return!1;var a=e.elementType,u=t.type,c=!1,p=typeof u=="object"&&u!==null?u.$$typeof:null;switch(e.tag){case T:{typeof u=="function"&&(c=!0);break}case w:{(typeof u=="function"||p===Zn)&&(c=!0);break}case Z:{(p===Ol||p===Zn)&&(c=!0);break}case Fe:case we:{(p===Dl||p===Zn)&&(c=!0);break}default:return!1}if(c){var g=oa(a);if(g!==void 0&&g===oa(u))return!0}return!1}}function Uw(e){{if(oa===null||typeof WeakSet!="function")return;gf===null&&(gf=new WeakSet),gf.add(e)}}var wA=function(e,t){{if(oa===null)return;var a=t.staleFamilies,u=t.updatedFamilies;ml(),hl(function(){Eb(e.current,u,a)})}},xA=function(e,t){{if(e.context!==Ai)return;ml(),hl(function(){Gv(t,e,null,null)})}};function Eb(e,t,a){{var u=e.alternate,c=e.child,p=e.sibling,g=e.tag,E=e.type,C=null;switch(g){case w:case we:case T:C=E;break;case Z:C=E.render;break}if(oa===null)throw new Error("Expected resolveFamily to be set during hot reload.");var R=!1,k=!1;if(C!==null){var F=oa(C);F!==void 0&&(a.has(F)?k=!0:t.has(F)&&(g===T?k=!0:R=!0))}if(gf!==null&&(gf.has(e)||u!==null&&gf.has(u))&&(k=!0),k&&(e._debugNeedsRemount=!0),k||R){var M=ci(e,Ue);M!==null&&Bn(M,e,Ue,At)}c!==null&&!k&&Eb(c,t,a),p!==null&&Eb(p,t,a)}}var RA=function(e,t){{var a=new Set,u=new Set(t.map(function(c){return c.current}));return bb(e.current,u,a),a}};function bb(e,t,a){{var u=e.child,c=e.sibling,p=e.tag,g=e.type,E=null;switch(p){case w:case we:case T:E=g;break;case Z:E=g.render;break}var C=!1;E!==null&&t.has(E)&&(C=!0),C?kA(e,a):u!==null&&bb(u,t,a),c!==null&&bb(c,t,a)}}function kA(e,t){{var a=OA(e,t);if(a)return;for(var u=e;;){switch(u.tag){case N:t.add(u.stateNode);return;case L:t.add(u.stateNode.containerInfo);return;case D:t.add(u.stateNode.containerInfo);return}if(u.return===null)throw new Error("Expected to reach root first.");u=u.return}}}function OA(e,t){for(var a=e,u=!1;;){if(a.tag===N)u=!0,t.add(a.stateNode);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return u;for(;a.sibling===null;){if(a.return===null||a.return===e)return u;a=a.return}a.sibling.return=a.return,a=a.sibling}return!1}var Cb;{Cb=!1;try{var Vw=Object.preventExtensions({})}catch{Cb=!0}}function DA(e,t,a,u){this.tag=e,this.key=a,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=u,this.flags=He,this.subtreeFlags=He,this.deletions=null,this.lanes=ne,this.childLanes=ne,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!Cb&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var _i=function(e,t,a,u){return new DA(e,t,a,u)};function Tb(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function NA(e){return typeof e=="function"&&!Tb(e)&&e.defaultProps===void 0}function LA(e){if(typeof e=="function")return Tb(e)?T:w;if(e!=null){var t=e.$$typeof;if(t===Ol)return Z;if(t===Dl)return Fe}return I}function ic(e,t){var a=e.alternate;a===null?(a=_i(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugSource=e._debugSource,a._debugOwner=e._debugOwner,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=He,a.subtreeFlags=He,a.deletions=null,a.actualDuration=0,a.actualStartTime=-1),a.flags=e.flags&In,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue;var u=e.dependencies;switch(a.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case I:case w:case we:a.type=yf(e.type);break;case T:a.type=yb(e.type);break;case Z:a.type=Sb(e.type);break}return a}function IA(e,t){e.flags&=In|_t;var a=e.alternate;if(a===null)e.childLanes=ne,e.lanes=t,e.child=null,e.subtreeFlags=He,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=He,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type;var u=a.dependencies;e.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration}return e}function AA(e,t,a){var u;return e===fg?(u=Me,t===!0&&(u|=lt,u|=_r)):u=Ae,Ar&&(u|=qe),_i(D,null,null,u)}function wb(e,t,a,u,c,p){var g=I,E=e;if(typeof e=="function")Tb(e)?(g=T,E=yb(E)):E=yf(E);else if(typeof e=="string")g=N;else e:switch(e){case da:return _u(a.children,c,p,t);case kl:g=X,c|=lt,(c&Me)!==Ae&&(c|=_r);break;case Yu:return _A(a,c,p,t);case Wi:return MA(a,c,p,t);case Ku:return PA(a,c,p,t);case Pf:return Hw(a,c,p,t);case mh:case vh:case a0:case o0:case hh:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _f:g=te;break e;case Mf:g=z;break e;case Ol:g=Z,E=Sb(E);break e;case Dl:g=Fe;break e;case Zn:g=gt,E=null;break e}var C="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(C+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var R=u?Je(u):null;R&&(C+=`
|
|
152
152
|
|
|
153
|
-
Check the render method of \``+
|
|
153
|
+
Check the render method of \``+R+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+C))}}var k=_i(g,a,t,c);return k.elementType=e,k.type=E,k.lanes=p,k._debugOwner=u,k}function xb(e,t,a){var u=null;u=e._owner;var c=e.type,p=e.key,g=e.props,E=wb(c,p,g,u,t,a);return E._debugSource=e._source,E._debugOwner=e._owner,E}function _u(e,t,a,u){var c=_i(B,e,u,t);return c.lanes=a,c}function _A(e,t,a,u){typeof e.id!="string"&&m('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var c=_i(me,e,u,t|qe);return c.elementType=Yu,c.lanes=a,c.stateNode={effectDuration:0,passiveEffectDuration:0},c}function MA(e,t,a,u){var c=_i(fe,e,u,t);return c.elementType=Wi,c.lanes=a,c}function PA(e,t,a,u){var c=_i(se,e,u,t);return c.elementType=Ku,c.lanes=a,c}function Hw(e,t,a,u){var c=_i(Y,e,u,t);c.elementType=Pf,c.lanes=a;var p={isHidden:!1};return c.stateNode=p,c}function Rb(e,t,a){var u=_i(_,e,null,t);return u.lanes=a,u}function FA(){var e=_i(N,null,null,Ae);return e.elementType="DELETED",e}function zA(e){var t=_i(Ee,null,null,Ae);return t.stateNode=e,t}function kb(e,t,a){var u=e.children!==null?e.children:[],c=_i(L,u,e.key,t);return c.lanes=a,c.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},c}function Bw(e,t){return e===null&&(e=_i(I,null,null,Ae)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function UA(e,t,a,u,c){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=uS,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=un,this.eventTimes=Ds(ne),this.expirationTimes=Ds(At),this.pendingLanes=ne,this.suspendedLanes=ne,this.pingedLanes=ne,this.expiredLanes=ne,this.mutableReadLanes=ne,this.finishedLanes=ne,this.entangledLanes=ne,this.entanglements=Ds(ne),this.identifierPrefix=u,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var p=this.pendingUpdatersLaneMap=[],g=0;g<Ts;g++)p.push(new Set)}switch(t){case fg:this._debugRootType=a?"hydrateRoot()":"createRoot()";break;case bu:this._debugRootType=a?"hydrate()":"render()";break}}function jw(e,t,a,u,c,p,g,E,C,R){var k=new UA(e,t,a,E,C),F=AA(t,p);k.current=F,F.stateNode=k;{var M={element:u,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null};F.memoizedState=M}return VS(F),k}var Ob="18.3.1";function VA(e,t,a){var u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return xl(u),{$$typeof:xi,key:u==null?null:""+u,children:e,containerInfo:t,implementation:a}}var Db,Nb;Db=!1,Nb={};function $w(e){if(!e)return Ai;var t=qr(e),a=CN(t);if(t.tag===T){var u=t.type;if(vo(u))return g1(t,u,a)}return a}function HA(e,t){{var a=qr(e);if(a===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var u=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+u)}var c=ei(a);if(c===null)return null;if(c.mode<){var p=Je(a)||"Component";if(!Nb[p]){Nb[p]=!0;var g=an;try{kt(c),a.mode<?m("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,p):m("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,p)}finally{g?kt(g):hn()}}}return c.stateNode}}function Gw(e,t,a,u,c,p,g,E){var C=!1,R=null;return jw(e,t,C,R,a,u,c,p,g)}function Ww(e,t,a,u,c,p,g,E,C,R){var k=!0,F=jw(a,u,k,e,c,p,g,E,C);F.context=$w(null);var M=F.current,$=zr(),W=Iu(M),Q=dl($,W);return Q.callback=t??null,wu(M,Q,W),KI(F,W,$),F}function Gv(e,t,a,u){Cp(t,e);var c=t.current,p=zr(),g=Iu(c);xp(g);var E=$w(a);t.context===null?t.context=E:t.pendingContext=E,Yr&&an!==null&&!Db&&(Db=!0,m(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
154
154
|
|
|
155
|
-
Check the render method of %s.`,Je(an)||"Unknown"));var
|
|
155
|
+
Check the render method of %s.`,Je(an)||"Unknown"));var C=dl(p,g);C.payload={element:e},u=u===void 0?null:u,u!==null&&(typeof u!="function"&&m("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u),C.callback=u);var R=wu(c,C,g);return R!==null&&(Bn(R,c,g,p),kg(R,c,g)),g}function my(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case N:return t.child.stateNode;default:return t.child.stateNode}}function BA(e){switch(e.tag){case D:{var t=e.stateNode;if(Td(t)){var a=Op(t);ZI(t,a)}break}case fe:{hl(function(){var c=ci(e,Ue);if(c!==null){var p=zr();Bn(c,e,Ue,p)}});var u=Ue;Lb(e,u);break}}}function Yw(e,t){var a=e.memoizedState;a!==null&&a.dehydrated!==null&&(a.retryLane=wm(a.retryLane,t))}function Lb(e,t){Yw(e,t);var a=e.alternate;a&&Yw(a,t)}function jA(e){if(e.tag===fe){var t=xs,a=ci(e,t);if(a!==null){var u=zr();Bn(a,e,t,u)}Lb(e,t)}}function $A(e){if(e.tag===fe){var t=Iu(e),a=ci(e,t);if(a!==null){var u=zr();Bn(a,e,t,u)}Lb(e,t)}}function Kw(e){var t=om(e);return t===null?null:t.stateNode}var Qw=function(e){return null};function GA(e){return Qw(e)}var qw=function(e){return!1};function WA(e){return qw(e)}var Xw=null,Zw=null,Jw=null,ex=null,tx=null,nx=null,rx=null,ix=null,ax=null;{var ox=function(e,t,a){var u=t[a],c=wn(e)?e.slice():ct({},e);return a+1===t.length?(wn(c)?c.splice(u,1):delete c[u],c):(c[u]=ox(e[u],t,a+1),c)},lx=function(e,t){return ox(e,t,0)},ux=function(e,t,a,u){var c=t[u],p=wn(e)?e.slice():ct({},e);if(u+1===t.length){var g=a[u];p[g]=p[c],wn(p)?p.splice(c,1):delete p[c]}else p[c]=ux(e[c],t,a,u+1);return p},sx=function(e,t,a){if(t.length!==a.length){S("copyWithRename() expects paths of the same length");return}else for(var u=0;u<a.length-1;u++)if(t[u]!==a[u]){S("copyWithRename() expects paths to be the same except for the deepest key");return}return ux(e,t,a,0)},cx=function(e,t,a,u){if(a>=t.length)return u;var c=t[a],p=wn(e)?e.slice():ct({},e);return p[c]=cx(e[c],t,a+1,u),p},dx=function(e,t,a){return cx(e,t,0,a)},Ib=function(e,t){for(var a=e.memoizedState;a!==null&&t>0;)a=a.next,t--;return a};Xw=function(e,t,a,u){var c=Ib(e,t);if(c!==null){var p=dx(c.memoizedState,a,u);c.memoizedState=p,c.baseState=p,e.memoizedProps=ct({},e.memoizedProps);var g=ci(e,Ue);g!==null&&Bn(g,e,Ue,At)}},Zw=function(e,t,a){var u=Ib(e,t);if(u!==null){var c=lx(u.memoizedState,a);u.memoizedState=c,u.baseState=c,e.memoizedProps=ct({},e.memoizedProps);var p=ci(e,Ue);p!==null&&Bn(p,e,Ue,At)}},Jw=function(e,t,a,u){var c=Ib(e,t);if(c!==null){var p=sx(c.memoizedState,a,u);c.memoizedState=p,c.baseState=p,e.memoizedProps=ct({},e.memoizedProps);var g=ci(e,Ue);g!==null&&Bn(g,e,Ue,At)}},ex=function(e,t,a){e.pendingProps=dx(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=ci(e,Ue);u!==null&&Bn(u,e,Ue,At)},tx=function(e,t){e.pendingProps=lx(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=ci(e,Ue);a!==null&&Bn(a,e,Ue,At)},nx=function(e,t,a){e.pendingProps=sx(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var u=ci(e,Ue);u!==null&&Bn(u,e,Ue,At)},rx=function(e){var t=ci(e,Ue);t!==null&&Bn(t,e,Ue,At)},ix=function(e){Qw=e},ax=function(e){qw=e}}function YA(e){var t=ei(e);return t===null?null:t.stateNode}function KA(e){return null}function QA(){return an}function qA(e){var t=e.findFiberByHostInstance,a=o.ReactCurrentDispatcher;return bp({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Xw,overrideHookStateDeletePath:Zw,overrideHookStateRenamePath:Jw,overrideProps:ex,overridePropsDeletePath:tx,overridePropsRenamePath:nx,setErrorHandler:ix,setSuspenseHandler:ax,scheduleUpdate:rx,currentDispatcherRef:a,findHostInstanceByFiber:YA,findFiberByHostInstance:t||KA,findHostInstancesForRefresh:RA,scheduleRefresh:wA,scheduleRoot:xA,setRefreshHandler:TA,getCurrentFiber:QA,reconcilerVersion:Ob})}var fx=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ab(e){this._internalRoot=e}gy.prototype.render=Ab.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?m("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):yy(arguments[1])?m("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&m("You passed a second argument to root.render(...) but it only accepts one argument.");var a=t.containerInfo;if(a.nodeType!==on){var u=Kw(t.current);u&&u.parentNode!==a&&m("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}Gv(e,t,null,null)},gy.prototype.unmount=Ab.prototype.unmount=function(){typeof arguments[0]=="function"&&m("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ww()&&m("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),hl(function(){Gv(null,e,null,null)}),f1(t)}};function XA(e,t){if(!yy(e))throw new Error("createRoot(...): Target container is not a DOM element.");px(e);var a=!1,u=!1,c="",p=fx;t!=null&&(t.hydrate?S("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Rl&&m(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
156
156
|
|
|
157
157
|
let root = createRoot(domContainer);
|
|
158
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(
|
|
159
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}
|
|
158
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(c=t.identifierPrefix),t.onRecoverableError!==void 0&&(p=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var g=Gw(e,fg,null,a,u,c,p);ag(g.current,e);var E=e.nodeType===on?e.parentNode:e;return Xp(E),new Ab(g)}function gy(e){this._internalRoot=e}function ZA(e){e&&M0(e)}gy.prototype.unstable_scheduleHydration=ZA;function JA(e,t,a){if(!yy(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");px(e),t===void 0&&m("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=a??null,c=a!=null&&a.hydratedSources||null,p=!1,g=!1,E="",C=fx;a!=null&&(a.unstable_strictMode===!0&&(p=!0),a.identifierPrefix!==void 0&&(E=a.identifierPrefix),a.onRecoverableError!==void 0&&(C=a.onRecoverableError));var R=Ww(t,null,e,fg,u,p,g,E,C);if(ag(R.current,e),Xp(e),c)for(var k=0;k<c.length;k++){var F=c[k];rL(R,F)}return new gy(R)}function yy(e){return!!(e&&(e.nodeType===fr||e.nodeType===Di||e.nodeType===Po||!yt))}function Wv(e){return!!(e&&(e.nodeType===fr||e.nodeType===Di||e.nodeType===Po||e.nodeType===on&&e.nodeValue===" react-mount-point-unstable "))}function px(e){e.nodeType===fr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),uv(e)&&(e._reactRootContainer?m("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):m("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var e_=o.ReactCurrentOwner,vx;vx=function(e){if(e._reactRootContainer&&e.nodeType!==on){var t=Kw(e._reactRootContainer.current);t&&t.parentNode!==e&&m("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var a=!!e._reactRootContainer,u=_b(e),c=!!(u&&Su(u));c&&!a&&m("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===fr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&m("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function _b(e){return e?e.nodeType===Di?e.documentElement:e.firstChild:null}function hx(){}function t_(e,t,a,u,c){if(c){if(typeof u=="function"){var p=u;u=function(){var M=my(g);p.call(M)}}var g=Ww(t,u,e,bu,null,!1,!1,"",hx);e._reactRootContainer=g,ag(g.current,e);var E=e.nodeType===on?e.parentNode:e;return Xp(E),hl(),g}else{for(var C;C=e.lastChild;)e.removeChild(C);if(typeof u=="function"){var R=u;u=function(){var M=my(k);R.call(M)}}var k=Gw(e,bu,null,!1,!1,"",hx);e._reactRootContainer=k,ag(k.current,e);var F=e.nodeType===on?e.parentNode:e;return Xp(F),hl(function(){Gv(t,k,a,u)}),k}}function n_(e,t){e!==null&&typeof e!="function"&&m("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function Sy(e,t,a,u,c){vx(a),n_(c===void 0?null:c,"render");var p=a._reactRootContainer,g;if(!p)g=t_(a,t,e,c,u);else{if(g=p,typeof c=="function"){var E=c;c=function(){var C=my(g);E.call(C)}}Gv(t,g,e,c)}return my(g)}var mx=!1;function r_(e){{mx||(mx=!0,m("findDOMNode is deprecated and will be removed in the next major release. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node"));var t=e_.current;if(t!==null&&t.stateNode!==null){var a=t.stateNode._warnedAboutRefsInRender;a||m("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Rt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===fr?e:HA(e,"findDOMNode")}function i_(e,t,a){if(m("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Wv(t))throw new Error("Target container is not a DOM element.");{var u=uv(t)&&t._reactRootContainer===void 0;u&&m("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return Sy(null,e,t,!0,a)}function a_(e,t,a){if(m("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Wv(t))throw new Error("Target container is not a DOM element.");{var u=uv(t)&&t._reactRootContainer===void 0;u&&m("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return Sy(null,e,t,!1,a)}function o_(e,t,a,u){if(m("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Wv(a))throw new Error("Target container is not a DOM element.");if(e==null||!ms(e))throw new Error("parentComponent must be a valid React Component");return Sy(e,t,a,!1,u)}var gx=!1;function l_(e){if(gx||(gx=!0,m("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot")),!Wv(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=uv(e)&&e._reactRootContainer===void 0;t&&m("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var a=_b(e),u=a&&!Su(a);u&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return hl(function(){Sy(null,null,e,!1,function(){e._reactRootContainer=null,f1(e)})}),!0}else{{var c=_b(e),p=!!(c&&Su(c)),g=e.nodeType===fr&&Wv(e.parentNode)&&!!e.parentNode._reactRootContainer;p&&m("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",g?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}au(BA),A0(jA),xd($A),km(ii),Om(Qn),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&m("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),rm(sD),Bc(db,JI,hl);function u_(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!yy(t))throw new Error("Target container is not a DOM element.");return VA(e,t,null,a)}function s_(e,t,a,u){return o_(e,t,a,u)}var Mb={usingClientEntryPoint:!1,Events:[Su,Kd,og,Hc,ps,db]};function c_(e,t){return Mb.usingClientEntryPoint||m('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),XA(e,t)}function d_(e,t,a){return Mb.usingClientEntryPoint||m('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),JA(e,t,a)}function f_(e){return ww()&&m("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),hl(e)}var p_=qA({findFiberByHostInstance:js,bundleType:1,version:Ob,rendererPackageName:"react-dom"});if(!p_&&jn&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var yx=window.location.protocol;/^(https?|file):$/.test(yx)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(yx==="file:"?`
|
|
159
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}vi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Mb,vi.createPortal=u_,vi.createRoot=c_,vi.findDOMNode=r_,vi.flushSync=f_,vi.hydrate=i_,vi.hydrateRoot=d_,vi.render=a_,vi.unmountComponentAtNode=l_,vi.unstable_batchedUpdates=db,vi.unstable_renderSubtreeIntoContainer=s_,vi.version=Ob,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),vi}var hi={};/**
|
|
160
160
|
* @license React
|
|
161
161
|
* react-dom.production.min.js
|
|
162
162
|
*
|
|
@@ -164,23 +164,23 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
164
164
|
*
|
|
165
165
|
* This source code is licensed under the MIT license found in the
|
|
166
166
|
* LICENSE file in the root directory of this source tree.
|
|
167
|
-
*/var
|
|
168
|
-
`+
|
|
167
|
+
*/var Fx;function dP(){if(Fx)return hi;Fx=1;var r=de,l=$R();function o(n){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+n,s=1;s<arguments.length;s++)i+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+n+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var d=new Set,v={};function S(n,i){m(n,i),m(n+"Capture",i)}function m(n,i){for(v[n]=i,n=0;n<i.length;n++)d.add(i[n])}var b=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),w=Object.prototype.hasOwnProperty,T=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,I={},D={};function L(n){return w.call(D,n)?!0:w.call(I,n)?!1:T.test(n)?D[n]=!0:(I[n]=!0,!1)}function N(n,i,s,f){if(s!==null&&s.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return f?!1:s!==null?!s.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function _(n,i,s,f){if(i===null||typeof i>"u"||N(n,i,s,f))return!0;if(f)return!1;if(s!==null)switch(s.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function B(n,i,s,f,h,y,x){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=f,this.attributeNamespace=h,this.mustUseProperty=s,this.propertyName=n,this.type=i,this.sanitizeURL=y,this.removeEmptyString=x}var X={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){X[n]=new B(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var i=n[0];X[i]=new B(i,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){X[n]=new B(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){X[n]=new B(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){X[n]=new B(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){X[n]=new B(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){X[n]=new B(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){X[n]=new B(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){X[n]=new B(n,5,!1,n.toLowerCase(),null,!1,!1)});var z=/[\-:]([a-z])/g;function te(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var i=n.replace(z,te);X[i]=new B(i,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var i=n.replace(z,te);X[i]=new B(i,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var i=n.replace(z,te);X[i]=new B(i,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){X[n]=new B(n,1,!1,n.toLowerCase(),null,!1,!1)}),X.xlinkHref=new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){X[n]=new B(n,1,!1,n.toLowerCase(),null,!0,!0)});function Z(n,i,s,f){var h=X.hasOwnProperty(i)?X[i]:null;(h!==null?h.type!==0:f||!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(_(i,s,h,f)&&(s=null),f||h===null?L(i)&&(s===null?n.removeAttribute(i):n.setAttribute(i,""+s)):h.mustUseProperty?n[h.propertyName]=s===null?h.type===3?!1:"":s:(i=h.attributeName,f=h.attributeNamespace,s===null?n.removeAttribute(i):(h=h.type,s=h===3||h===4&&s===!0?"":""+s,f?n.setAttributeNS(f,i,s):n.setAttribute(i,s))))}var me=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,fe=Symbol.for("react.element"),Fe=Symbol.for("react.portal"),we=Symbol.for("react.fragment"),gt=Symbol.for("react.strict_mode"),Ie=Symbol.for("react.profiler"),Ee=Symbol.for("react.provider"),se=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),Ve=Symbol.for("react.memo"),ke=Symbol.for("react.lazy"),Be=Symbol.for("react.offscreen"),oe=Symbol.iterator;function Re(n){return n===null||typeof n!="object"?null:(n=oe&&n[oe]||n["@@iterator"],typeof n=="function"?n:null)}var pe=Object.assign,ut;function yt(n){if(ut===void 0)try{throw Error()}catch(s){var i=s.stack.trim().match(/\n( *(at )?)/);ut=i&&i[1]||""}return`
|
|
168
|
+
`+ut+n}var Ht=!1;function fn(n,i){if(!n||Ht)return"";Ht=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(i)if(i=function(){throw Error()},Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(G){var f=G}Reflect.construct(n,[],i)}else{try{i.call()}catch(G){f=G}n.call(i.prototype)}else{try{throw Error()}catch(G){f=G}n()}}catch(G){if(G&&f&&typeof G.stack=="string"){for(var h=G.stack.split(`
|
|
169
169
|
`),y=f.stack.split(`
|
|
170
|
-
`),
|
|
171
|
-
`+v[T].replace(" at new "," at ");return n.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",n.displayName)),M}while(1<=T&&0<=L);break}}}finally{Vt=!1,Error.prepareStackTrace=s}return(n=n?n.displayName||n.name:"")?mt(n):""}function hi(n){switch(n.tag){case 5:return mt(n.type);case 16:return mt("Lazy");case 13:return mt("Suspense");case 19:return mt("SuspenseList");case 0:case 2:case 15:return n=dn(n.type,!1),n;case 11:return n=dn(n.type.render,!1),n;case 1:return n=dn(n.type,!0),n;default:return""}}function fn(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Ne:return"Fragment";case Ke:return"Portal";case Me:return"Profiler";case Et:return"StrictMode";case W:return"Suspense";case ne:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case le:return(n.displayName||"Context")+".Consumer";case Se:return(n._context.displayName||"Context")+".Provider";case Y:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case ze:return r=n.displayName||null,r!==null?r:fn(n.type)||"Memo";case we:r=n._payload,n=n._init;try{return fn(n(r))}catch{}}return null}function zr(n){var r=n.type;switch(n.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=r.render,n=n.displayName||n.name||"",r.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return fn(r);case 8:return r===Et?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function mi(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Pi(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Pu(n){var r=Pi(n)?"checked":"value",s=Object.getOwnPropertyDescriptor(n.constructor.prototype,r),f=""+n[r];if(!n.hasOwnProperty(r)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var v=s.get,y=s.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return v.call(this)},set:function(T){f=""+T,y.call(this,T)}}),Object.defineProperty(n,r,{enumerable:s.enumerable}),{getValue:function(){return f},setValue:function(T){f=""+T},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function Ur(n){n._valueTracker||(n._valueTracker=Pu(n))}function aa(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var s=r.getValue(),f="";return n&&(f=Pi(n)?n.checked?"true":"false":n.value),n=f,n!==s?(r.setValue(n),!0):!1}function Vn(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function lr(n,r){var s=r.checked;return ce({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??n._wrapperState.initialChecked})}function Hr(n,r){var s=r.defaultValue==null?"":r.defaultValue,f=r.checked!=null?r.checked:r.defaultChecked;s=mi(r.value!=null?r.value:s),n._wrapperState={initialChecked:f,initialValue:s,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function gi(n,r){r=r.checked,r!=null&&pe(n,"checked",r,!1)}function wr(n,r){gi(n,r);var s=mi(r.value),f=r.type;if(s!=null)f==="number"?(s===0&&n.value===""||n.value!=s)&&(n.value=""+s):n.value!==""+s&&(n.value=""+s);else if(f==="submit"||f==="reset"){n.removeAttribute("value");return}r.hasOwnProperty("value")?gl(n,r.type,s):r.hasOwnProperty("defaultValue")&&gl(n,r.type,mi(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function oa(n,r,s){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var f=r.type;if(!(f!=="submit"&&f!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+n._wrapperState.initialValue,s||r===n.value||(n.value=r),n.defaultValue=r}s=n.name,s!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,s!==""&&(n.name=s)}function gl(n,r,s){(r!=="number"||Vn(n.ownerDocument)!==n)&&(s==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+s&&(n.defaultValue=""+s))}var To=Array.isArray;function Fa(n,r,s,f){if(n=n.options,r){r={};for(var v=0;v<s.length;v++)r["$"+s[v]]=!0;for(s=0;s<n.length;s++)v=r.hasOwnProperty("$"+n[s].value),n[s].selected!==v&&(n[s].selected=v),v&&f&&(n[s].defaultSelected=!0)}else{for(s=""+mi(s),r=null,v=0;v<n.length;v++){if(n[v].value===s){n[v].selected=!0,f&&(n[v].defaultSelected=!0);return}r!==null||n[v].disabled||(r=n[v])}r!==null&&(r.selected=!0)}}function xo(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(l(91));return ce({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function yi(n,r){var s=r.value;if(s==null){if(s=r.children,r=r.defaultValue,s!=null){if(r!=null)throw Error(l(92));if(To(s)){if(1<s.length)throw Error(l(93));s=s[0]}r=s}r==null&&(r=""),s=r}n._wrapperState={initialValue:mi(s)}}function za(n,r){var s=mi(r.value),f=mi(r.defaultValue);s!=null&&(s=""+s,s!==n.value&&(n.value=s),r.defaultValue==null&&n.defaultValue!==s&&(n.defaultValue=s)),f!=null&&(n.defaultValue=""+f)}function Fi(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function Ua(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ur(n,r){return n==null||n==="http://www.w3.org/1999/xhtml"?Ua(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var Si,Fu=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,s,f,v){MSApp.execUnsafeLocalFunction(function(){return n(r,s,f,v)})}:n}(function(n,r){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=r;else{for(Si=Si||document.createElement("div"),Si.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=Si.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function Ha(n,r){if(r){var s=n.firstChild;if(s&&s===n.lastChild&&s.nodeType===3){s.nodeValue=r;return}}n.textContent=r}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Be=["Webkit","ms","Moz","O"];Object.keys(he).forEach(function(n){Be.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),he[r]=he[n]})});function lt(n,r,s){return r==null||typeof r=="boolean"||r===""?"":s||typeof r!="number"||r===0||he.hasOwnProperty(n)&&he[n]?(""+r).trim():r+"px"}function Nt(n,r){n=n.style;for(var s in r)if(r.hasOwnProperty(s)){var f=s.indexOf("--")===0,v=lt(s,r[s],f);s==="float"&&(s="cssFloat"),f?n.setProperty(s,v):n[s]=v}}var Zt=ce({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function jn(n,r){if(r){if(Zt[n]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(l(137,n));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(l(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(l(61))}if(r.style!=null&&typeof r.style!="object")throw Error(l(62))}}function pn(n,r){if(n.indexOf("-")===-1)return typeof r.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Vr=null;function Gt(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var zi=null,rn=null,Wt=null;function nh(n){if(n=us(n)){if(typeof zi!="function")throw Error(l(280));var r=n.stateNode;r&&(r=Ue(r),zi(n.stateNode,n.type,r))}}function sc(n){rn?Wt?Wt.push(n):Wt=[n]:rn=n}function cc(){if(rn){var n=rn,r=Wt;if(Wt=rn=null,nh(n),r)for(n=0;n<r.length;n++)nh(r[n])}}function rh(n,r){return n(r)}function ih(){}var dc=!1;function Cf(n,r,s){if(dc)return n(r,s);dc=!0;try{return rh(n,r,s)}finally{dc=!1,(rn!==null||Wt!==null)&&(ih(),cc())}}function zu(n,r){var s=n.stateNode;if(s===null)return null;var f=Ue(s);if(f===null)return null;s=f[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(n=n.type,f=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!f;break e;default:n=!1}if(n)return null;if(s&&typeof s!="function")throw Error(l(231,r,typeof s));return s}var fc=!1;if(x)try{var wo={};Object.defineProperty(wo,"passive",{get:function(){fc=!0}}),window.addEventListener("test",wo,wo),window.removeEventListener("test",wo,wo)}catch{fc=!1}function yl(n,r,s,f,v,y,T,L,M){var $=Array.prototype.slice.call(arguments,3);try{r.apply(s,$)}catch(re){this.onError(re)}}var bi=!1,la=null,Sl=!1,Uu=null,Tf={onError:function(n){bi=!0,la=n}};function xf(n,r,s,f,v,y,T,L,M){bi=!1,la=null,yl.apply(Tf,arguments)}function bl(n,r,s,f,v,y,T,L,M){if(xf.apply(this,arguments),bi){if(bi){var $=la;bi=!1,la=null}else throw Error(l(198));Sl||(Sl=!0,Uu=$)}}function Ui(n){var r=n,s=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,r.flags&4098&&(s=r.return),n=r.return;while(n)}return r.tag===3?s:null}function Hu(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function El(n){if(Ui(n)!==n)throw Error(l(188))}function Xn(n){var r=n.alternate;if(!r){if(r=Ui(n),r===null)throw Error(l(188));return r!==n?null:n}for(var s=n,f=r;;){var v=s.return;if(v===null)break;var y=v.alternate;if(y===null){if(f=v.return,f!==null){s=f;continue}break}if(v.child===y.child){for(y=v.child;y;){if(y===s)return El(v),n;if(y===f)return El(v),r;y=y.sibling}throw Error(l(188))}if(s.return!==f.return)s=v,f=y;else{for(var T=!1,L=v.child;L;){if(L===s){T=!0,s=v,f=y;break}if(L===f){T=!0,f=v,s=y;break}L=L.sibling}if(!T){for(L=y.child;L;){if(L===s){T=!0,s=y,f=v;break}if(L===f){T=!0,f=y,s=v;break}L=L.sibling}if(!T)throw Error(l(189))}}if(s.alternate!==f)throw Error(l(190))}if(s.tag!==3)throw Error(l(188));return s.stateNode.current===s?n:r}function ah(n){return n=Xn(n),n!==null?oh(n):null}function oh(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=oh(n);if(r!==null)return r;n=n.sibling}return null}var wf=u.unstable_scheduleCallback,lh=u.unstable_cancelCallback,By=u.unstable_shouldYield,$y=u.unstable_requestPaint,Yt=u.unstable_now,Gy=u.unstable_getCurrentPriorityLevel,ua=u.unstable_ImmediatePriority,ut=u.unstable_UserBlockingPriority,Va=u.unstable_NormalPriority,uh=u.unstable_LowPriority,Rf=u.unstable_IdlePriority,Vu=null,Ei=null;function sh(n){if(Ei&&typeof Ei.onCommitFiberRoot=="function")try{Ei.onCommitFiberRoot(Vu,n,void 0,(n.current.flags&128)===128)}catch{}}var jr=Math.clz32?Math.clz32:Wy,ch=Math.log,dh=Math.LN2;function Wy(n){return n>>>=0,n===0?32:31-(ch(n)/dh|0)|0}var pc=64,Cl=4194304;function Ro(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function Ci(n,r){var s=n.pendingLanes;if(s===0)return 0;var f=0,v=n.suspendedLanes,y=n.pingedLanes,T=s&268435455;if(T!==0){var L=T&~v;L!==0?f=Ro(L):(y&=T,y!==0&&(f=Ro(y)))}else T=s&~v,T!==0?f=Ro(T):y!==0&&(f=Ro(y));if(f===0)return 0;if(r!==0&&r!==f&&!(r&v)&&(v=f&-f,y=r&-r,v>=y||v===16&&(y&4194240)!==0))return r;if(f&4&&(f|=s&16),r=n.entangledLanes,r!==0)for(n=n.entanglements,r&=f;0<r;)s=31-jr(r),v=1<<s,f|=n[s],r&=~v;return f}function kf(n,r){switch(n){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function vc(n,r){for(var s=n.suspendedLanes,f=n.pingedLanes,v=n.expirationTimes,y=n.pendingLanes;0<y;){var T=31-jr(y),L=1<<T,M=v[T];M===-1?(!(L&s)||L&f)&&(v[T]=kf(L,r)):M<=r&&(n.expiredLanes|=L),y&=~L}}function Of(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function hc(){var n=pc;return pc<<=1,!(pc&4194240)&&(pc=64),n}function Df(n){for(var r=[],s=0;31>s;s++)r.push(n);return r}function ko(n,r,s){n.pendingLanes|=r,r!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,r=31-jr(r),n[r]=s}function Yy(n,r){var s=n.pendingLanes&~r;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=r,n.mutableReadLanes&=r,n.entangledLanes&=r,r=n.entanglements;var f=n.eventTimes;for(n=n.expirationTimes;0<s;){var v=31-jr(s),y=1<<v;r[v]=0,f[v]=-1,n[v]=-1,s&=~y}}function ju(n,r){var s=n.entangledLanes|=r;for(n=n.entanglements;s;){var f=31-jr(s),v=1<<f;v&r|n[f]&r&&(n[f]|=r),s&=~v}}var xt=0;function Nf(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var fh,mc,wt,ph,Lf,Je=!1,Bu=[],an=null,Br=null,$r=null,$u=new Map,vn=new Map,Rt=[],Ky="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ti(n,r){switch(n){case"focusin":case"focusout":an=null;break;case"dragenter":case"dragleave":Br=null;break;case"mouseover":case"mouseout":$r=null;break;case"pointerover":case"pointerout":$u.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":vn.delete(r.pointerId)}}function Bn(n,r,s,f,v,y){return n===null||n.nativeEvent!==y?(n={blockedOn:r,domEventName:s,eventSystemFlags:f,nativeEvent:y,targetContainers:[v]},r!==null&&(r=us(r),r!==null&&mc(r)),n):(n.eventSystemFlags|=f,r=n.targetContainers,v!==null&&r.indexOf(v)===-1&&r.push(v),n)}function ja(n,r,s,f,v){switch(r){case"focusin":return an=Bn(an,n,r,s,f,v),!0;case"dragenter":return Br=Bn(Br,n,r,s,f,v),!0;case"mouseover":return $r=Bn($r,n,r,s,f,v),!0;case"pointerover":var y=v.pointerId;return $u.set(y,Bn($u.get(y)||null,n,r,s,f,v)),!0;case"gotpointercapture":return y=v.pointerId,vn.set(y,Bn(vn.get(y)||null,n,r,s,f,v)),!0}return!1}function vh(n){var r=Wr(n.target);if(r!==null){var s=Ui(r);if(s!==null){if(r=s.tag,r===13){if(r=Hu(s),r!==null){n.blockedOn=r,Lf(n.priority,function(){wt(s)});return}}else if(r===3&&s.stateNode.current.memoizedState.isDehydrated){n.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Tl(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var s=Sc(n.domEventName,n.eventSystemFlags,r[0],n.nativeEvent);if(s===null){s=n.nativeEvent;var f=new s.constructor(s.type,s);Vr=f,s.target.dispatchEvent(f),Vr=null}else return r=us(s),r!==null&&mc(r),n.blockedOn=s,!1;r.shift()}return!0}function _f(n,r,s){Tl(n)&&s.delete(r)}function hh(){Je=!1,an!==null&&Tl(an)&&(an=null),Br!==null&&Tl(Br)&&(Br=null),$r!==null&&Tl($r)&&($r=null),$u.forEach(_f),vn.forEach(_f)}function Gu(n,r){n.blockedOn===r&&(n.blockedOn=null,Je||(Je=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,hh)))}function Wu(n){function r(v){return Gu(v,n)}if(0<Bu.length){Gu(Bu[0],n);for(var s=1;s<Bu.length;s++){var f=Bu[s];f.blockedOn===n&&(f.blockedOn=null)}}for(an!==null&&Gu(an,n),Br!==null&&Gu(Br,n),$r!==null&&Gu($r,n),$u.forEach(r),vn.forEach(r),s=0;s<Rt.length;s++)f=Rt[s],f.blockedOn===n&&(f.blockedOn=null);for(;0<Rt.length&&(s=Rt[0],s.blockedOn===null);)vh(s),s.blockedOn===null&&Rt.shift()}var xl=He.ReactCurrentBatchConfig,Oo=!0;function mh(n,r,s,f){var v=xt,y=xl.transition;xl.transition=null;try{xt=1,yc(n,r,s,f)}finally{xt=v,xl.transition=y}}function gc(n,r,s,f){var v=xt,y=xl.transition;xl.transition=null;try{xt=4,yc(n,r,s,f)}finally{xt=v,xl.transition=y}}function yc(n,r,s,f){if(Oo){var v=Sc(n,r,s,f);if(v===null)Lc(n,r,f,Yu,s),Ti(n,f);else if(ja(v,n,r,s,f))f.stopPropagation();else if(Ti(n,f),r&4&&-1<Ky.indexOf(n)){for(;v!==null;){var y=us(v);if(y!==null&&fh(y),y=Sc(n,r,s,f),y===null&&Lc(n,r,f,Yu,s),y===v)break;v=y}v!==null&&f.stopPropagation()}else Lc(n,r,f,null,s)}}var Yu=null;function Sc(n,r,s,f){if(Yu=null,n=Gt(f),n=Wr(n),n!==null)if(r=Ui(n),r===null)n=null;else if(s=r.tag,s===13){if(n=Hu(r),n!==null)return n;n=null}else if(s===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null);return Yu=n,null}function Af(n){switch(n){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Gy()){case ua:return 1;case ut:return 4;case Va:case uh:return 16;case Rf:return 536870912;default:return 16}default:return 16}}var sa=null,Ku=null,Qu=null;function If(){if(Qu)return Qu;var n,r=Ku,s=r.length,f,v="value"in sa?sa.value:sa.textContent,y=v.length;for(n=0;n<s&&r[n]===v[n];n++);var T=s-n;for(f=1;f<=T&&r[s-f]===v[y-f];f++);return Qu=v.slice(n,1<f?1-f:void 0)}function wl(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function Xu(){return!0}function gh(){return!1}function Rr(n){function r(s,f,v,y,T){this._reactName=s,this._targetInst=v,this.type=f,this.nativeEvent=y,this.target=T,this.currentTarget=null;for(var L in n)n.hasOwnProperty(L)&&(s=n[L],this[L]=s?s(y):y[L]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?Xu:gh,this.isPropagationStopped=gh,this}return ce(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Xu)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Xu)},persist:function(){},isPersistent:Xu}),r}var Ba={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bc=Rr(Ba),Rl=ce({},Ba,{view:0,detail:0}),yh=Rr(Rl),Ec,Mf,qu,Cn=ce({},Rl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Uf,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==qu&&(qu&&n.type==="mousemove"?(Ec=n.screenX-qu.screenX,Mf=n.screenY-qu.screenY):Mf=Ec=0,qu=n),Ec)},movementY:function(n){return"movementY"in n?n.movementY:Mf}}),Cc=Rr(Cn),Sh=ce({},Cn,{dataTransfer:0}),bh=Rr(Sh),Qy=ce({},Rl,{relatedTarget:0}),$a=Rr(Qy),Pf=ce({},Ba,{animationName:0,elapsedTime:0,pseudoElement:0}),Eh=Rr(Pf),Xy=ce({},Ba,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),qy=Rr(Xy),Zy=ce({},Ba,{data:0}),Ff=Rr(Zy),zf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ch={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Th={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xh(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=Th[n])?!!r[n]:!1}function Uf(){return xh}var ca=ce({},Rl,{key:function(n){if(n.key){var r=zf[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=wl(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Ch[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Uf,charCode:function(n){return n.type==="keypress"?wl(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?wl(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Jy=Rr(ca),Hf=ce({},Cn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Tc=Rr(Hf),Vf=ce({},Rl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Uf}),e0=Rr(Vf),xc=ce({},Ba,{propertyName:0,elapsedTime:0,pseudoElement:0}),wh=Rr(xc),sr=ce({},Cn,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),da=Rr(sr),on=[9,13,27,32],xi=x&&"CompositionEvent"in window,Do=null;x&&"documentMode"in document&&(Do=document.documentMode);var wc=x&&"TextEvent"in window&&!Do,Rh=x&&(!xi||Do&&8<Do&&11>=Do),kl=" ",kh=!1;function Oh(n,r){switch(n){case"keyup":return on.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rc(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Ol=!1;function t0(n,r){switch(n){case"compositionend":return Rc(r);case"keypress":return r.which!==32?null:(kh=!0,kl);case"textInput":return n=r.data,n===kl&&kh?null:n;default:return null}}function n0(n,r){if(Ol)return n==="compositionend"||!xi&&Oh(n,r)?(n=If(),Qu=Ku=sa=null,Ol=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return Rh&&r.locale!=="ko"?null:r.data;default:return null}}var Dh={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Nh(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!Dh[n.type]:r==="textarea"}function Lh(n,r,s,f){sc(f),r=as(r,"onChange"),0<r.length&&(s=new bc("onChange","change",null,s,f),n.push({event:s,listeners:r}))}var Zu=null,Dl=null;function Nl(n){Nc(n,0)}function Ll(n){var r=Al(n);if(aa(r))return n}function _h(n,r){if(n==="change")return r}var jf=!1;if(x){var Bf;if(x){var $f="oninput"in document;if(!$f){var Ah=document.createElement("div");Ah.setAttribute("oninput","return;"),$f=typeof Ah.oninput=="function"}Bf=$f}else Bf=!1;jf=Bf&&(!document.documentMode||9<document.documentMode)}function Ih(){Zu&&(Zu.detachEvent("onpropertychange",Mh),Dl=Zu=null)}function Mh(n){if(n.propertyName==="value"&&Ll(Dl)){var r=[];Lh(r,Dl,n,Gt(n)),Cf(Nl,r)}}function r0(n,r,s){n==="focusin"?(Ih(),Zu=r,Dl=s,Zu.attachEvent("onpropertychange",Mh)):n==="focusout"&&Ih()}function i0(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Ll(Dl)}function a0(n,r){if(n==="click")return Ll(r)}function Ph(n,r){if(n==="input"||n==="change")return Ll(r)}function o0(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var Gr=typeof Object.is=="function"?Object.is:o0;function Ju(n,r){if(Gr(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var s=Object.keys(n),f=Object.keys(r);if(s.length!==f.length)return!1;for(f=0;f<s.length;f++){var v=s[f];if(!R.call(r,v)||!Gr(n[v],r[v]))return!1}return!0}function Fh(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function zh(n,r){var s=Fh(n);n=0;for(var f;s;){if(s.nodeType===3){if(f=n+s.textContent.length,n<=r&&f>=r)return{node:s,offset:r-n};n=f}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=Fh(s)}}function Uh(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?Uh(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function kc(){for(var n=window,r=Vn();r instanceof n.HTMLIFrameElement;){try{var s=typeof r.contentWindow.location.href=="string"}catch{s=!1}if(s)n=r.contentWindow;else break;r=Vn(n.document)}return r}function fa(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}function Oc(n){var r=kc(),s=n.focusedElem,f=n.selectionRange;if(r!==s&&s&&s.ownerDocument&&Uh(s.ownerDocument.documentElement,s)){if(f!==null&&fa(s)){if(r=f.start,n=f.end,n===void 0&&(n=r),"selectionStart"in s)s.selectionStart=r,s.selectionEnd=Math.min(n,s.value.length);else if(n=(r=s.ownerDocument||document)&&r.defaultView||window,n.getSelection){n=n.getSelection();var v=s.textContent.length,y=Math.min(f.start,v);f=f.end===void 0?y:Math.min(f.end,v),!n.extend&&y>f&&(v=f,f=y,y=v),v=zh(s,y);var T=zh(s,f);v&&T&&(n.rangeCount!==1||n.anchorNode!==v.node||n.anchorOffset!==v.offset||n.focusNode!==T.node||n.focusOffset!==T.offset)&&(r=r.createRange(),r.setStart(v.node,v.offset),n.removeAllRanges(),y>f?(n.addRange(r),n.extend(T.node,T.offset)):(r.setEnd(T.node,T.offset),n.addRange(r)))}}for(r=[],n=s;n=n.parentNode;)n.nodeType===1&&r.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<r.length;s++)n=r[s],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var Hh=x&&"documentMode"in document&&11>=document.documentMode,wi=null,Gf=null,es=null,Wf=!1;function Vh(n,r,s){var f=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Wf||wi==null||wi!==Vn(f)||(f=wi,"selectionStart"in f&&fa(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),es&&Ju(es,f)||(es=f,f=as(Gf,"onSelect"),0<f.length&&(r=new bc("onSelect","select",null,r,s),n.push({event:r,listeners:f}),r.target=wi)))}function Dc(n,r){var s={};return s[n.toLowerCase()]=r.toLowerCase(),s["Webkit"+n]="webkit"+r,s["Moz"+n]="moz"+r,s}var No={animationend:Dc("Animation","AnimationEnd"),animationiteration:Dc("Animation","AnimationIteration"),animationstart:Dc("Animation","AnimationStart"),transitionend:Dc("Transition","TransitionEnd")},Yf={},Kf={};x&&(Kf=document.createElement("div").style,"AnimationEvent"in window||(delete No.animationend.animation,delete No.animationiteration.animation,delete No.animationstart.animation),"TransitionEvent"in window||delete No.transitionend.transition);function Tn(n){if(Yf[n])return Yf[n];if(!No[n])return n;var r=No[n],s;for(s in r)if(r.hasOwnProperty(s)&&s in Kf)return Yf[n]=r[s];return n}var Qf=Tn("animationend"),jh=Tn("animationiteration"),Bh=Tn("animationstart"),$h=Tn("transitionend"),Gh=new Map,Wh="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function pa(n,r){Gh.set(n,r),b(r,[n])}for(var ts=0;ts<Wh.length;ts++){var Lo=Wh[ts],l0=Lo.toLowerCase(),ns=Lo[0].toUpperCase()+Lo.slice(1);pa(l0,"on"+ns)}pa(Qf,"onAnimationEnd"),pa(jh,"onAnimationIteration"),pa(Bh,"onAnimationStart"),pa("dblclick","onDoubleClick"),pa("focusin","onFocus"),pa("focusout","onBlur"),pa($h,"onTransitionEnd"),h("onMouseEnter",["mouseout","mouseover"]),h("onMouseLeave",["mouseout","mouseover"]),h("onPointerEnter",["pointerout","pointerover"]),h("onPointerLeave",["pointerout","pointerover"]),b("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),b("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),b("onBeforeInput",["compositionend","keypress","textInput","paste"]),b("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),b("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),b("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var rs="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),u0=new Set("cancel close invalid load scroll toggle".split(" ").concat(rs));function Yh(n,r,s){var f=n.type||"unknown-event";n.currentTarget=s,bl(f,r,void 0,n),n.currentTarget=null}function Nc(n,r){r=(r&4)!==0;for(var s=0;s<n.length;s++){var f=n[s],v=f.event;f=f.listeners;e:{var y=void 0;if(r)for(var T=f.length-1;0<=T;T--){var L=f[T],M=L.instance,$=L.currentTarget;if(L=L.listener,M!==y&&v.isPropagationStopped())break e;Yh(v,L,$),y=M}else for(T=0;T<f.length;T++){if(L=f[T],M=L.instance,$=L.currentTarget,L=L.listener,M!==y&&v.isPropagationStopped())break e;Yh(v,L,$),y=M}}}if(Sl)throw n=Uu,Sl=!1,Uu=null,n}function Lt(n,r){var s=r[np];s===void 0&&(s=r[np]=new Set);var f=n+"__bubble";s.has(f)||(Kh(r,n,2,!1),s.add(f))}function Ga(n,r,s){var f=0;r&&(f|=4),Kh(s,n,f,r)}var va="_reactListening"+Math.random().toString(36).slice(2);function _l(n){if(!n[va]){n[va]=!0,d.forEach(function(s){s!=="selectionchange"&&(u0.has(s)||Ga(s,!1,n),Ga(s,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[va]||(r[va]=!0,Ga("selectionchange",!1,r))}}function Kh(n,r,s,f){switch(Af(r)){case 1:var v=mh;break;case 4:v=gc;break;default:v=yc}s=v.bind(null,r,s,n),v=void 0,!fc||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(v=!0),f?v!==void 0?n.addEventListener(r,s,{capture:!0,passive:v}):n.addEventListener(r,s,!0):v!==void 0?n.addEventListener(r,s,{passive:v}):n.addEventListener(r,s,!1)}function Lc(n,r,s,f,v){var y=f;if(!(r&1)&&!(r&2)&&f!==null)e:for(;;){if(f===null)return;var T=f.tag;if(T===3||T===4){var L=f.stateNode.containerInfo;if(L===v||L.nodeType===8&&L.parentNode===v)break;if(T===4)for(T=f.return;T!==null;){var M=T.tag;if((M===3||M===4)&&(M=T.stateNode.containerInfo,M===v||M.nodeType===8&&M.parentNode===v))return;T=T.return}for(;L!==null;){if(T=Wr(L),T===null)return;if(M=T.tag,M===5||M===6){f=y=T;continue e}L=L.parentNode}}f=f.return}Cf(function(){var $=y,re=Gt(s),ae=[];e:{var te=Gh.get(n);if(te!==void 0){var ge=bc,Re=n;switch(n){case"keypress":if(wl(s)===0)break e;case"keydown":case"keyup":ge=Jy;break;case"focusin":Re="focus",ge=$a;break;case"focusout":Re="blur",ge=$a;break;case"beforeblur":case"afterblur":ge=$a;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ge=Cc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ge=bh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ge=e0;break;case Qf:case jh:case Bh:ge=Eh;break;case $h:ge=wh;break;case"scroll":ge=yh;break;case"wheel":ge=da;break;case"copy":case"cut":case"paste":ge=qy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ge=Tc}var De=(r&4)!==0,tn=!De&&n==="scroll",U=De?te!==null?te+"Capture":null:te;De=[];for(var F=$,j;F!==null;){j=F;var ue=j.stateNode;if(j.tag===5&&ue!==null&&(j=ue,U!==null&&(ue=zu(F,U),ue!=null&&De.push(is(F,ue,j)))),tn)break;F=F.return}0<De.length&&(te=new ge(te,Re,null,s,re),ae.push({event:te,listeners:De}))}}if(!(r&7)){e:{if(te=n==="mouseover"||n==="pointerover",ge=n==="mouseout"||n==="pointerout",te&&s!==Vr&&(Re=s.relatedTarget||s.fromElement)&&(Wr(Re)||Re[ha]))break e;if((ge||te)&&(te=re.window===re?re:(te=re.ownerDocument)?te.defaultView||te.parentWindow:window,ge?(Re=s.relatedTarget||s.toElement,ge=$,Re=Re?Wr(Re):null,Re!==null&&(tn=Ui(Re),Re!==tn||Re.tag!==5&&Re.tag!==6)&&(Re=null)):(ge=null,Re=$),ge!==Re)){if(De=Cc,ue="onMouseLeave",U="onMouseEnter",F="mouse",(n==="pointerout"||n==="pointerover")&&(De=Tc,ue="onPointerLeave",U="onPointerEnter",F="pointer"),tn=ge==null?te:Al(ge),j=Re==null?te:Al(Re),te=new De(ue,F+"leave",ge,s,re),te.target=tn,te.relatedTarget=j,ue=null,Wr(re)===$&&(De=new De(U,F+"enter",Re,s,re),De.target=j,De.relatedTarget=tn,ue=De),tn=ue,ge&&Re)t:{for(De=ge,U=Re,F=0,j=De;j;j=_o(j))F++;for(j=0,ue=U;ue;ue=_o(ue))j++;for(;0<F-j;)De=_o(De),F--;for(;0<j-F;)U=_o(U),j--;for(;F--;){if(De===U||U!==null&&De===U.alternate)break t;De=_o(De),U=_o(U)}De=null}else De=null;ge!==null&&Xf(ae,te,ge,De,!1),Re!==null&&tn!==null&&Xf(ae,tn,Re,De,!0)}}e:{if(te=$?Al($):window,ge=te.nodeName&&te.nodeName.toLowerCase(),ge==="select"||ge==="input"&&te.type==="file")var _e=_h;else if(Nh(te))if(jf)_e=Ph;else{_e=i0;var $e=r0}else(ge=te.nodeName)&&ge.toLowerCase()==="input"&&(te.type==="checkbox"||te.type==="radio")&&(_e=a0);if(_e&&(_e=_e(n,$))){Lh(ae,_e,s,re);break e}$e&&$e(n,te,$),n==="focusout"&&($e=te._wrapperState)&&$e.controlled&&te.type==="number"&&gl(te,"number",te.value)}switch($e=$?Al($):window,n){case"focusin":(Nh($e)||$e.contentEditable==="true")&&(wi=$e,Gf=$,es=null);break;case"focusout":es=Gf=wi=null;break;case"mousedown":Wf=!0;break;case"contextmenu":case"mouseup":case"dragend":Wf=!1,Vh(ae,s,re);break;case"selectionchange":if(Hh)break;case"keydown":case"keyup":Vh(ae,s,re)}var ke;if(xi)e:{switch(n){case"compositionstart":var We="onCompositionStart";break e;case"compositionend":We="onCompositionEnd";break e;case"compositionupdate":We="onCompositionUpdate";break e}We=void 0}else Ol?Oh(n,s)&&(We="onCompositionEnd"):n==="keydown"&&s.keyCode===229&&(We="onCompositionStart");We&&(Rh&&s.locale!=="ko"&&(Ol||We!=="onCompositionStart"?We==="onCompositionEnd"&&Ol&&(ke=If()):(sa=re,Ku="value"in sa?sa.value:sa.textContent,Ol=!0)),$e=as($,We),0<$e.length&&(We=new Ff(We,n,null,s,re),ae.push({event:We,listeners:$e}),ke?We.data=ke:(ke=Rc(s),ke!==null&&(We.data=ke)))),(ke=wc?t0(n,s):n0(n,s))&&($=as($,"onBeforeInput"),0<$.length&&(re=new Ff("onBeforeInput","beforeinput",null,s,re),ae.push({event:re,listeners:$}),re.data=ke))}Nc(ae,r)})}function is(n,r,s){return{instance:n,listener:r,currentTarget:s}}function as(n,r){for(var s=r+"Capture",f=[];n!==null;){var v=n,y=v.stateNode;v.tag===5&&y!==null&&(v=y,y=zu(n,s),y!=null&&f.unshift(is(n,y,v)),y=zu(n,r),y!=null&&f.push(is(n,y,v))),n=n.return}return f}function _o(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function Xf(n,r,s,f,v){for(var y=r._reactName,T=[];s!==null&&s!==f;){var L=s,M=L.alternate,$=L.stateNode;if(M!==null&&M===f)break;L.tag===5&&$!==null&&(L=$,v?(M=zu(s,y),M!=null&&T.unshift(is(s,M,L))):v||(M=zu(s,y),M!=null&&T.push(is(s,M,L)))),s=s.return}T.length!==0&&n.push({event:r,listeners:T})}var qf=/\r\n?/g,s0=/\u0000|\uFFFD/g;function Zf(n){return(typeof n=="string"?n:""+n).replace(qf,`
|
|
172
|
-
`).replace(s0,"")}function _c(n,r,s){if(r=Zf(r),Zf(n)!==r&&s)throw Error(l(425))}function Ac(){}var Jf=null,Ao=null;function os(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Io=typeof setTimeout=="function"?setTimeout:void 0,Qh=typeof clearTimeout=="function"?clearTimeout:void 0,ep=typeof Promise=="function"?Promise:void 0,tp=typeof queueMicrotask=="function"?queueMicrotask:typeof ep<"u"?function(n){return ep.resolve(null).then(n).catch(c0)}:Io;function c0(n){setTimeout(function(){throw n})}function Wa(n,r){var s=r,f=0;do{var v=s.nextSibling;if(n.removeChild(s),v&&v.nodeType===8)if(s=v.data,s==="/$"){if(f===0){n.removeChild(v),Wu(r);return}f--}else s!=="$"&&s!=="$?"&&s!=="$!"||f++;s=v}while(s);Wu(r)}function Ri(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return n}function ls(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var s=n.data;if(s==="$"||s==="$!"||s==="$?"){if(r===0)return n;r--}else s==="/$"&&r++}n=n.previousSibling}return null}var Ya=Math.random().toString(36).slice(2),Hi="__reactFiber$"+Ya,Mo="__reactProps$"+Ya,ha="__reactContainer$"+Ya,np="__reactEvents$"+Ya,d0="__reactListeners$"+Ya,rp="__reactHandles$"+Ya;function Wr(n){var r=n[Hi];if(r)return r;for(var s=n.parentNode;s;){if(r=s[ha]||s[Hi]){if(s=r.alternate,r.child!==null||s!==null&&s.child!==null)for(n=ls(n);n!==null;){if(s=n[Hi])return s;n=ls(n)}return r}n=s,s=n.parentNode}return null}function us(n){return n=n[Hi]||n[ha],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function Al(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(l(33))}function Ue(n){return n[Mo]||null}var Ka=[],At=-1;function tt(n){return{current:n}}function bt(n){0>At||(n.current=Ka[At],Ka[At]=null,At--)}function Ct(n,r){At++,Ka[At]=n.current,n.current=r}var Vi={},Qe=tt(Vi),Kt=tt(!1),cr=Vi;function Yr(n,r){var s=n.type.contextTypes;if(!s)return Vi;var f=n.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===r)return f.__reactInternalMemoizedMaskedChildContext;var v={},y;for(y in s)v[y]=r[y];return f&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=v),v}function zt(n){return n=n.childContextTypes,n!=null}function Kr(){bt(Kt),bt(Qe)}function Qa(n,r,s){if(Qe.current!==Vi)throw Error(l(168));Ct(Qe,r),Ct(Kt,s)}function ss(n,r,s){var f=n.stateNode;if(r=r.childContextTypes,typeof f.getChildContext!="function")return s;f=f.getChildContext();for(var v in f)if(!(v in r))throw Error(l(108,zr(n)||"Unknown",v));return ce({},s,f)}function Ic(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||Vi,cr=Qe.current,Ct(Qe,n),Ct(Kt,Kt.current),!0}function Xh(n,r,s){var f=n.stateNode;if(!f)throw Error(l(169));s?(n=ss(n,r,cr),f.__reactInternalMemoizedMergedChildContext=n,bt(Kt),bt(Qe),Ct(Qe,n)):bt(Kt),Ct(Kt,s)}var kr=null,xn=!1,cs=!1;function ip(n){kr===null?kr=[n]:kr.push(n)}function ap(n){xn=!0,ip(n)}function dr(){if(!cs&&kr!==null){cs=!0;var n=0,r=xt;try{var s=kr;for(xt=1;n<s.length;n++){var f=s[n];do f=f(!0);while(f!==null)}kr=null,xn=!1}catch(v){throw kr!==null&&(kr=kr.slice(n+1)),wf(ua,dr),v}finally{xt=r,cs=!1}}return null}var Xa=[],fr=0,Po=null,Il=0,pr=[],$n=0,Qr=null,Nn=1,ma="";function Or(n,r){Xa[fr++]=Il,Xa[fr++]=Po,Po=n,Il=r}function op(n,r,s){pr[$n++]=Nn,pr[$n++]=ma,pr[$n++]=Qr,Qr=n;var f=Nn;n=ma;var v=32-jr(f)-1;f&=~(1<<v),s+=1;var y=32-jr(r)+v;if(30<y){var T=v-v%5;y=(f&(1<<T)-1).toString(32),f>>=T,v-=T,Nn=1<<32-jr(r)+v|s<<v|f,ma=y+n}else Nn=1<<y|s<<v|f,ma=n}function Mc(n){n.return!==null&&(Or(n,1),op(n,1,0))}function lp(n){for(;n===Po;)Po=Xa[--fr],Xa[fr]=null,Il=Xa[--fr],Xa[fr]=null;for(;n===Qr;)Qr=pr[--$n],pr[$n]=null,ma=pr[--$n],pr[$n]=null,Nn=pr[--$n],pr[$n]=null}var Dr=null,vr=null,It=!1,Xr=null;function up(n,r){var s=ii(5,null,null,0);s.elementType="DELETED",s.stateNode=r,s.return=n,r=n.deletions,r===null?(n.deletions=[s],n.flags|=16):r.push(s)}function qh(n,r){switch(n.tag){case 5:var s=n.type;return r=r.nodeType!==1||s.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(n.stateNode=r,Dr=n,vr=Ri(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,Dr=n,vr=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(s=Qr!==null?{id:Nn,overflow:ma}:null,n.memoizedState={dehydrated:r,treeContext:s,retryLane:1073741824},s=ii(18,null,null,0),s.stateNode=r,s.return=n,n.child=s,Dr=n,vr=null,!0):!1;default:return!1}}function Pc(n){return(n.mode&1)!==0&&(n.flags&128)===0}function Fc(n){if(It){var r=vr;if(r){var s=r;if(!qh(n,r)){if(Pc(n))throw Error(l(418));r=Ri(s.nextSibling);var f=Dr;r&&qh(n,r)?up(f,s):(n.flags=n.flags&-4097|2,It=!1,Dr=n)}}else{if(Pc(n))throw Error(l(418));n.flags=n.flags&-4097|2,It=!1,Dr=n}}}function Zh(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Dr=n}function zc(n){if(n!==Dr)return!1;if(!It)return Zh(n),It=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!os(n.type,n.memoizedProps)),r&&(r=vr)){if(Pc(n))throw Jh(),Error(l(418));for(;r;)up(n,r),r=Ri(r.nextSibling)}if(Zh(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(l(317));e:{for(n=n.nextSibling,r=0;n;){if(n.nodeType===8){var s=n.data;if(s==="/$"){if(r===0){vr=Ri(n.nextSibling);break e}r--}else s!=="$"&&s!=="$!"&&s!=="$?"||r++}n=n.nextSibling}vr=null}}else vr=Dr?Ri(n.stateNode.nextSibling):null;return!0}function Jh(){for(var n=vr;n;)n=Ri(n.nextSibling)}function jt(){vr=Dr=null,It=!1}function sp(n){Xr===null?Xr=[n]:Xr.push(n)}var Uc=He.ReactCurrentBatchConfig;function Fo(n,r,s){if(n=s.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(l(309));var f=s.stateNode}if(!f)throw Error(l(147,n));var v=f,y=""+n;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===y?r.ref:(r=function(T){var L=v.refs;T===null?delete L[y]:L[y]=T},r._stringRef=y,r)}if(typeof n!="string")throw Error(l(284));if(!s._owner)throw Error(l(290,n))}return n}function ji(n,r){throw n=Object.prototype.toString.call(r),Error(l(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n))}function em(n){var r=n._init;return r(n._payload)}function Hc(n){function r(U,F){if(n){var j=U.deletions;j===null?(U.deletions=[F],U.flags|=16):j.push(F)}}function s(U,F){if(!n)return null;for(;F!==null;)r(U,F),F=F.sibling;return null}function f(U,F){for(U=new Map;F!==null;)F.key!==null?U.set(F.key,F):U.set(F.index,F),F=F.sibling;return U}function v(U,F){return U=io(U,F),U.index=0,U.sibling=null,U}function y(U,F,j){return U.index=j,n?(j=U.alternate,j!==null?(j=j.index,j<F?(U.flags|=2,F):j):(U.flags|=2,F)):(U.flags|=1048576,F)}function T(U){return n&&U.alternate===null&&(U.flags|=2),U}function L(U,F,j,ue){return F===null||F.tag!==6?(F=kd(j,U.mode,ue),F.return=U,F):(F=v(F,j),F.return=U,F)}function M(U,F,j,ue){var _e=j.type;return _e===Ne?re(U,F,j.props.children,ue,j.key):F!==null&&(F.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===we&&em(_e)===F.type)?(ue=v(F,j.props),ue.ref=Fo(U,F,j),ue.return=U,ue):(ue=wd(j.type,j.key,j.props,null,U.mode,ue),ue.ref=Fo(U,F,j),ue.return=U,ue)}function $(U,F,j,ue){return F===null||F.tag!==4||F.stateNode.containerInfo!==j.containerInfo||F.stateNode.implementation!==j.implementation?(F=Os(j,U.mode,ue),F.return=U,F):(F=v(F,j.children||[]),F.return=U,F)}function re(U,F,j,ue,_e){return F===null||F.tag!==7?(F=Zo(j,U.mode,ue,_e),F.return=U,F):(F=v(F,j),F.return=U,F)}function ae(U,F,j){if(typeof F=="string"&&F!==""||typeof F=="number")return F=kd(""+F,U.mode,j),F.return=U,F;if(typeof F=="object"&&F!==null){switch(F.$$typeof){case xe:return j=wd(F.type,F.key,F.props,null,U.mode,j),j.ref=Fo(U,null,F),j.return=U,j;case Ke:return F=Os(F,U.mode,j),F.return=U,F;case we:var ue=F._init;return ae(U,ue(F._payload),j)}if(To(F)||Ce(F))return F=Zo(F,U.mode,j,null),F.return=U,F;ji(U,F)}return null}function te(U,F,j,ue){var _e=F!==null?F.key:null;if(typeof j=="string"&&j!==""||typeof j=="number")return _e!==null?null:L(U,F,""+j,ue);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case xe:return j.key===_e?M(U,F,j,ue):null;case Ke:return j.key===_e?$(U,F,j,ue):null;case we:return _e=j._init,te(U,F,_e(j._payload),ue)}if(To(j)||Ce(j))return _e!==null?null:re(U,F,j,ue,null);ji(U,j)}return null}function ge(U,F,j,ue,_e){if(typeof ue=="string"&&ue!==""||typeof ue=="number")return U=U.get(j)||null,L(F,U,""+ue,_e);if(typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case xe:return U=U.get(ue.key===null?j:ue.key)||null,M(F,U,ue,_e);case Ke:return U=U.get(ue.key===null?j:ue.key)||null,$(F,U,ue,_e);case we:var $e=ue._init;return ge(U,F,j,$e(ue._payload),_e)}if(To(ue)||Ce(ue))return U=U.get(j)||null,re(F,U,ue,_e,null);ji(F,ue)}return null}function Re(U,F,j,ue){for(var _e=null,$e=null,ke=F,We=F=0,Sn=null;ke!==null&&We<j.length;We++){ke.index>We?(Sn=ke,ke=null):Sn=ke.sibling;var gt=te(U,ke,j[We],ue);if(gt===null){ke===null&&(ke=Sn);break}n&&ke&>.alternate===null&&r(U,ke),F=y(gt,F,We),$e===null?_e=gt:$e.sibling=gt,$e=gt,ke=Sn}if(We===j.length)return s(U,ke),It&&Or(U,We),_e;if(ke===null){for(;We<j.length;We++)ke=ae(U,j[We],ue),ke!==null&&(F=y(ke,F,We),$e===null?_e=ke:$e.sibling=ke,$e=ke);return It&&Or(U,We),_e}for(ke=f(U,ke);We<j.length;We++)Sn=ge(ke,U,We,j[We],ue),Sn!==null&&(n&&Sn.alternate!==null&&ke.delete(Sn.key===null?We:Sn.key),F=y(Sn,F,We),$e===null?_e=Sn:$e.sibling=Sn,$e=Sn);return n&&ke.forEach(function(Ta){return r(U,Ta)}),It&&Or(U,We),_e}function De(U,F,j,ue){var _e=Ce(j);if(typeof _e!="function")throw Error(l(150));if(j=_e.call(j),j==null)throw Error(l(151));for(var $e=_e=null,ke=F,We=F=0,Sn=null,gt=j.next();ke!==null&&!gt.done;We++,gt=j.next()){ke.index>We?(Sn=ke,ke=null):Sn=ke.sibling;var Ta=te(U,ke,gt.value,ue);if(Ta===null){ke===null&&(ke=Sn);break}n&&ke&&Ta.alternate===null&&r(U,ke),F=y(Ta,F,We),$e===null?_e=Ta:$e.sibling=Ta,$e=Ta,ke=Sn}if(gt.done)return s(U,ke),It&&Or(U,We),_e;if(ke===null){for(;!gt.done;We++,gt=j.next())gt=ae(U,gt.value,ue),gt!==null&&(F=y(gt,F,We),$e===null?_e=gt:$e.sibling=gt,$e=gt);return It&&Or(U,We),_e}for(ke=f(U,ke);!gt.done;We++,gt=j.next())gt=ge(ke,U,We,gt.value,ue),gt!==null&&(n&>.alternate!==null&&ke.delete(gt.key===null?We:gt.key),F=y(gt,F,We),$e===null?_e=gt:$e.sibling=gt,$e=gt);return n&&ke.forEach(function(D0){return r(U,D0)}),It&&Or(U,We),_e}function tn(U,F,j,ue){if(typeof j=="object"&&j!==null&&j.type===Ne&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case xe:e:{for(var _e=j.key,$e=F;$e!==null;){if($e.key===_e){if(_e=j.type,_e===Ne){if($e.tag===7){s(U,$e.sibling),F=v($e,j.props.children),F.return=U,U=F;break e}}else if($e.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===we&&em(_e)===$e.type){s(U,$e.sibling),F=v($e,j.props),F.ref=Fo(U,$e,j),F.return=U,U=F;break e}s(U,$e);break}else r(U,$e);$e=$e.sibling}j.type===Ne?(F=Zo(j.props.children,U.mode,ue,j.key),F.return=U,U=F):(ue=wd(j.type,j.key,j.props,null,U.mode,ue),ue.ref=Fo(U,F,j),ue.return=U,U=ue)}return T(U);case Ke:e:{for($e=j.key;F!==null;){if(F.key===$e)if(F.tag===4&&F.stateNode.containerInfo===j.containerInfo&&F.stateNode.implementation===j.implementation){s(U,F.sibling),F=v(F,j.children||[]),F.return=U,U=F;break e}else{s(U,F);break}else r(U,F);F=F.sibling}F=Os(j,U.mode,ue),F.return=U,U=F}return T(U);case we:return $e=j._init,tn(U,F,$e(j._payload),ue)}if(To(j))return Re(U,F,j,ue);if(Ce(j))return De(U,F,j,ue);ji(U,j)}return typeof j=="string"&&j!==""||typeof j=="number"?(j=""+j,F!==null&&F.tag===6?(s(U,F.sibling),F=v(F,j),F.return=U,U=F):(s(U,F),F=kd(j,U.mode,ue),F.return=U,U=F),T(U)):s(U,F)}return tn}var Ml=Hc(!0),tm=Hc(!1),ga=tt(null),hn=null,de=null,qr=null;function Nr(){qr=de=hn=null}function cp(n){var r=ga.current;bt(ga),n._currentValue=r}function dp(n,r,s){for(;n!==null;){var f=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,f!==null&&(f.childLanes|=r)):f!==null&&(f.childLanes&r)!==r&&(f.childLanes|=r),n===s)break;n=n.return}}function Pl(n,r){hn=n,qr=de=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&r&&(gr=!0),n.firstContext=null)}function Zr(n){var r=n._currentValue;if(qr!==n)if(n={context:n,memoizedValue:r,next:null},de===null){if(hn===null)throw Error(l(308));de=n,hn.dependencies={lanes:0,firstContext:n}}else de=de.next=n;return r}var zo=null;function ln(n){zo===null?zo=[n]:zo.push(n)}function nm(n,r,s,f){var v=r.interleaved;return v===null?(s.next=s,ln(r)):(s.next=v.next,v.next=s),r.interleaved=s,ya(n,f)}function ya(n,r){n.lanes|=r;var s=n.alternate;for(s!==null&&(s.lanes|=r),s=n,n=n.return;n!==null;)n.childLanes|=r,s=n.alternate,s!==null&&(s.childLanes|=r),s=n,n=n.return;return s.tag===3?s.stateNode:null}var qa=!1;function Vc(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fl(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function hr(n,r){return{eventTime:n,lane:r,tag:0,payload:null,callback:null,next:null}}function Za(n,r,s){var f=n.updateQueue;if(f===null)return null;if(f=f.shared,st&2){var v=f.pending;return v===null?r.next=r:(r.next=v.next,v.next=r),f.pending=r,ya(n,s)}return v=f.interleaved,v===null?(r.next=r,ln(f)):(r.next=v.next,v.next=r),f.interleaved=r,ya(n,s)}function jc(n,r,s){if(r=r.updateQueue,r!==null&&(r=r.shared,(s&4194240)!==0)){var f=r.lanes;f&=n.pendingLanes,s|=f,r.lanes=s,ju(n,s)}}function rm(n,r){var s=n.updateQueue,f=n.alternate;if(f!==null&&(f=f.updateQueue,s===f)){var v=null,y=null;if(s=s.firstBaseUpdate,s!==null){do{var T={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};y===null?v=y=T:y=y.next=T,s=s.next}while(s!==null);y===null?v=y=r:y=y.next=r}else v=y=r;s={baseState:f.baseState,firstBaseUpdate:v,lastBaseUpdate:y,shared:f.shared,effects:f.effects},n.updateQueue=s;return}n=s.lastBaseUpdate,n===null?s.firstBaseUpdate=r:n.next=r,s.lastBaseUpdate=r}function Bc(n,r,s,f){var v=n.updateQueue;qa=!1;var y=v.firstBaseUpdate,T=v.lastBaseUpdate,L=v.shared.pending;if(L!==null){v.shared.pending=null;var M=L,$=M.next;M.next=null,T===null?y=$:T.next=$,T=M;var re=n.alternate;re!==null&&(re=re.updateQueue,L=re.lastBaseUpdate,L!==T&&(L===null?re.firstBaseUpdate=$:L.next=$,re.lastBaseUpdate=M))}if(y!==null){var ae=v.baseState;T=0,re=$=M=null,L=y;do{var te=L.lane,ge=L.eventTime;if((f&te)===te){re!==null&&(re=re.next={eventTime:ge,lane:0,tag:L.tag,payload:L.payload,callback:L.callback,next:null});e:{var Re=n,De=L;switch(te=r,ge=s,De.tag){case 1:if(Re=De.payload,typeof Re=="function"){ae=Re.call(ge,ae,te);break e}ae=Re;break e;case 3:Re.flags=Re.flags&-65537|128;case 0:if(Re=De.payload,te=typeof Re=="function"?Re.call(ge,ae,te):Re,te==null)break e;ae=ce({},ae,te);break e;case 2:qa=!0}}L.callback!==null&&L.lane!==0&&(n.flags|=64,te=v.effects,te===null?v.effects=[L]:te.push(L))}else ge={eventTime:ge,lane:te,tag:L.tag,payload:L.payload,callback:L.callback,next:null},re===null?($=re=ge,M=ae):re=re.next=ge,T|=te;if(L=L.next,L===null){if(L=v.shared.pending,L===null)break;te=L,L=te.next,te.next=null,v.lastBaseUpdate=te,v.shared.pending=null}}while(!0);if(re===null&&(M=ae),v.baseState=M,v.firstBaseUpdate=$,v.lastBaseUpdate=re,r=v.shared.interleaved,r!==null){v=r;do T|=v.lane,v=v.next;while(v!==r)}else y===null&&(v.shared.lanes=0);Ko|=T,n.lanes=T,n.memoizedState=ae}}function im(n,r,s){if(n=r.effects,r.effects=null,n!==null)for(r=0;r<n.length;r++){var f=n[r],v=f.callback;if(v!==null){if(f.callback=null,f=s,typeof v!="function")throw Error(l(191,v));v.call(f)}}}var ds={},ki=tt(ds),zl=tt(ds),fs=tt(ds);function Uo(n){if(n===ds)throw Error(l(174));return n}function fp(n,r){switch(Ct(fs,r),Ct(zl,n),Ct(ki,ds),n=r.nodeType,n){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:ur(null,"");break;default:n=n===8?r.parentNode:r,r=n.namespaceURI||null,n=n.tagName,r=ur(r,n)}bt(ki),Ct(ki,r)}function Ul(){bt(ki),bt(zl),bt(fs)}function am(n){Uo(fs.current);var r=Uo(ki.current),s=ur(r,n.type);r!==s&&(Ct(zl,n),Ct(ki,s))}function pp(n){zl.current===n&&(bt(ki),bt(zl))}var Ut=tt(0);function $c(n){for(var r=n;r!==null;){if(r.tag===13){var s=r.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if(r.flags&128)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var Gc=[];function vp(){for(var n=0;n<Gc.length;n++)Gc[n]._workInProgressVersionPrimary=null;Gc.length=0}var Wc=He.ReactCurrentDispatcher,ps=He.ReactCurrentBatchConfig,Le=0,Ae=null,Xe=null,at=null,Lr=!1,Hl=!1,vs=0,f0=0;function Gn(){throw Error(l(321))}function hs(n,r){if(r===null)return!1;for(var s=0;s<r.length&&s<n.length;s++)if(!Gr(n[s],r[s]))return!1;return!0}function ee(n,r,s,f,v,y){if(Le=y,Ae=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Wc.current=n===null||n.memoizedState===null?p0:_t,n=s(f,v),Hl){y=0;do{if(Hl=!1,vs=0,25<=y)throw Error(l(301));y+=1,at=Xe=null,r.updateQueue=null,Wc.current=ld,n=s(f,v)}while(Hl)}if(Wc.current=Wn,r=Xe!==null&&Xe.next!==null,Le=0,at=Xe=Ae=null,Lr=!1,r)throw Error(l(300));return n}function un(){var n=vs!==0;return vs=0,n}function Pe(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return at===null?Ae.memoizedState=at=n:at=at.next=n,at}function Ln(){if(Xe===null){var n=Ae.alternate;n=n!==null?n.memoizedState:null}else n=Xe.next;var r=at===null?Ae.memoizedState:at.next;if(r!==null)at=r,Xe=n;else{if(n===null)throw Error(l(310));Xe=n,n={memoizedState:Xe.memoizedState,baseState:Xe.baseState,baseQueue:Xe.baseQueue,queue:Xe.queue,next:null},at===null?Ae.memoizedState=at=n:at=at.next=n}return at}function _r(n,r){return typeof r=="function"?r(n):r}function Sa(n){var r=Ln(),s=r.queue;if(s===null)throw Error(l(311));s.lastRenderedReducer=n;var f=Xe,v=f.baseQueue,y=s.pending;if(y!==null){if(v!==null){var T=v.next;v.next=y.next,y.next=T}f.baseQueue=v=y,s.pending=null}if(v!==null){y=v.next,f=f.baseState;var L=T=null,M=null,$=y;do{var re=$.lane;if((Le&re)===re)M!==null&&(M=M.next={lane:0,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null}),f=$.hasEagerState?$.eagerState:n(f,$.action);else{var ae={lane:re,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null};M===null?(L=M=ae,T=f):M=M.next=ae,Ae.lanes|=re,Ko|=re}$=$.next}while($!==null&&$!==y);M===null?T=f:M.next=L,Gr(f,r.memoizedState)||(gr=!0),r.memoizedState=f,r.baseState=T,r.baseQueue=M,s.lastRenderedState=f}if(n=s.interleaved,n!==null){v=n;do y=v.lane,Ae.lanes|=y,Ko|=y,v=v.next;while(v!==n)}else v===null&&(s.lanes=0);return[r.memoizedState,s.dispatch]}function Jr(n){var r=Ln(),s=r.queue;if(s===null)throw Error(l(311));s.lastRenderedReducer=n;var f=s.dispatch,v=s.pending,y=r.memoizedState;if(v!==null){s.pending=null;var T=v=v.next;do y=n(y,T.action),T=T.next;while(T!==v);Gr(y,r.memoizedState)||(gr=!0),r.memoizedState=y,r.baseQueue===null&&(r.baseState=y),s.lastRenderedState=y}return[y,f]}function Vl(){}function Ho(n,r){var s=Ae,f=Ln(),v=r(),y=!Gr(f.memoizedState,v);if(y&&(f.memoizedState=v,gr=!0),f=f.queue,ms(Kc.bind(null,s,f,n),[n]),f.getSnapshot!==r||y||at!==null&&at.memoizedState.tag&1){if(s.flags|=2048,Vo(9,Yc.bind(null,s,f,v,r),void 0,null),Xt===null)throw Error(l(349));Le&30||jl(s,r,v)}return v}function jl(n,r,s){n.flags|=16384,n={getSnapshot:r,value:s},r=Ae.updateQueue,r===null?(r={lastEffect:null,stores:null},Ae.updateQueue=r,r.stores=[n]):(s=r.stores,s===null?r.stores=[n]:s.push(n))}function Yc(n,r,s,f){r.value=s,r.getSnapshot=f,Qc(r)&&Xc(n)}function Kc(n,r,s){return s(function(){Qc(r)&&Xc(n)})}function Qc(n){var r=n.getSnapshot;n=n.value;try{var s=r();return!Gr(n,s)}catch{return!0}}function Xc(n){var r=ya(n,1);r!==null&&Bt(r,n,1,-1)}function qc(n){var r=Pe();return typeof n=="function"&&(n=n()),r.memoizedState=r.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_r,lastRenderedState:n},r.queue=n,n=n.dispatch=gs.bind(null,Ae,n),[r.memoizedState,n]}function Vo(n,r,s,f){return n={tag:n,create:r,destroy:s,deps:f,next:null},r=Ae.updateQueue,r===null?(r={lastEffect:null,stores:null},Ae.updateQueue=r,r.lastEffect=n.next=n):(s=r.lastEffect,s===null?r.lastEffect=n.next=n:(f=s.next,s.next=n,n.next=f,r.lastEffect=n)),n}function Zc(){return Ln().memoizedState}function Bl(n,r,s,f){var v=Pe();Ae.flags|=n,v.memoizedState=Vo(1|r,s,void 0,f===void 0?null:f)}function $l(n,r,s,f){var v=Ln();f=f===void 0?null:f;var y=void 0;if(Xe!==null){var T=Xe.memoizedState;if(y=T.destroy,f!==null&&hs(f,T.deps)){v.memoizedState=Vo(r,s,y,f);return}}Ae.flags|=n,v.memoizedState=Vo(1|r,s,y,f)}function Jc(n,r){return Bl(8390656,8,n,r)}function ms(n,r){return $l(2048,8,n,r)}function ed(n,r){return $l(4,2,n,r)}function td(n,r){return $l(4,4,n,r)}function nd(n,r){if(typeof r=="function")return n=n(),r(n),function(){r(null)};if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function rd(n,r,s){return s=s!=null?s.concat([n]):null,$l(4,4,nd.bind(null,r,n),s)}function Gl(){}function jo(n,r){var s=Ln();r=r===void 0?null:r;var f=s.memoizedState;return f!==null&&r!==null&&hs(r,f[1])?f[0]:(s.memoizedState=[n,r],n)}function id(n,r){var s=Ln();r=r===void 0?null:r;var f=s.memoizedState;return f!==null&&r!==null&&hs(r,f[1])?f[0]:(n=n(),s.memoizedState=[n,r],n)}function ad(n,r,s){return Le&21?(Gr(s,r)||(s=hc(),Ae.lanes|=s,Ko|=s,n.baseState=!0),r):(n.baseState&&(n.baseState=!1,gr=!0),n.memoizedState=s)}function hp(n,r){var s=xt;xt=s!==0&&4>s?s:4,n(!0);var f=ps.transition;ps.transition={};try{n(!1),r()}finally{xt=s,ps.transition=f}}function od(){return Ln().memoizedState}function om(n,r,s){var f=Ca(n);if(s={lane:f,action:s,hasEagerState:!1,eagerState:null,next:null},mp(n))Wl(r,s);else if(s=nm(n,r,s,f),s!==null){var v=kn();Bt(s,n,f,v),Ja(s,r,f)}}function gs(n,r,s){var f=Ca(n),v={lane:f,action:s,hasEagerState:!1,eagerState:null,next:null};if(mp(n))Wl(r,v);else{var y=n.alternate;if(n.lanes===0&&(y===null||y.lanes===0)&&(y=r.lastRenderedReducer,y!==null))try{var T=r.lastRenderedState,L=y(T,s);if(v.hasEagerState=!0,v.eagerState=L,Gr(L,T)){var M=r.interleaved;M===null?(v.next=v,ln(r)):(v.next=M.next,M.next=v),r.interleaved=v;return}}catch{}finally{}s=nm(n,r,v,f),s!==null&&(v=kn(),Bt(s,n,f,v),Ja(s,r,f))}}function mp(n){var r=n.alternate;return n===Ae||r!==null&&r===Ae}function Wl(n,r){Hl=Lr=!0;var s=n.pending;s===null?r.next=r:(r.next=s.next,s.next=r),n.pending=r}function Ja(n,r,s){if(s&4194240){var f=r.lanes;f&=n.pendingLanes,s|=f,r.lanes=s,ju(n,s)}}var Wn={readContext:Zr,useCallback:Gn,useContext:Gn,useEffect:Gn,useImperativeHandle:Gn,useInsertionEffect:Gn,useLayoutEffect:Gn,useMemo:Gn,useReducer:Gn,useRef:Gn,useState:Gn,useDebugValue:Gn,useDeferredValue:Gn,useTransition:Gn,useMutableSource:Gn,useSyncExternalStore:Gn,useId:Gn,unstable_isNewReconciler:!1},p0={readContext:Zr,useCallback:function(n,r){return Pe().memoizedState=[n,r===void 0?null:r],n},useContext:Zr,useEffect:Jc,useImperativeHandle:function(n,r,s){return s=s!=null?s.concat([n]):null,Bl(4194308,4,nd.bind(null,r,n),s)},useLayoutEffect:function(n,r){return Bl(4194308,4,n,r)},useInsertionEffect:function(n,r){return Bl(4,2,n,r)},useMemo:function(n,r){var s=Pe();return r=r===void 0?null:r,n=n(),s.memoizedState=[n,r],n},useReducer:function(n,r,s){var f=Pe();return r=s!==void 0?s(r):r,f.memoizedState=f.baseState=r,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},f.queue=n,n=n.dispatch=om.bind(null,Ae,n),[f.memoizedState,n]},useRef:function(n){var r=Pe();return n={current:n},r.memoizedState=n},useState:qc,useDebugValue:Gl,useDeferredValue:function(n){return Pe().memoizedState=n},useTransition:function(){var n=qc(!1),r=n[0];return n=hp.bind(null,n[1]),Pe().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,s){var f=Ae,v=Pe();if(It){if(s===void 0)throw Error(l(407));s=s()}else{if(s=r(),Xt===null)throw Error(l(349));Le&30||jl(f,r,s)}v.memoizedState=s;var y={value:s,getSnapshot:r};return v.queue=y,Jc(Kc.bind(null,f,y,n),[n]),f.flags|=2048,Vo(9,Yc.bind(null,f,y,s,r),void 0,null),s},useId:function(){var n=Pe(),r=Xt.identifierPrefix;if(It){var s=ma,f=Nn;s=(f&~(1<<32-jr(f)-1)).toString(32)+s,r=":"+r+"R"+s,s=vs++,0<s&&(r+="H"+s.toString(32)),r+=":"}else s=f0++,r=":"+r+"r"+s.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},_t={readContext:Zr,useCallback:jo,useContext:Zr,useEffect:ms,useImperativeHandle:rd,useInsertionEffect:ed,useLayoutEffect:td,useMemo:id,useReducer:Sa,useRef:Zc,useState:function(){return Sa(_r)},useDebugValue:Gl,useDeferredValue:function(n){var r=Ln();return ad(r,Xe.memoizedState,n)},useTransition:function(){var n=Sa(_r)[0],r=Ln().memoizedState;return[n,r]},useMutableSource:Vl,useSyncExternalStore:Ho,useId:od,unstable_isNewReconciler:!1},ld={readContext:Zr,useCallback:jo,useContext:Zr,useEffect:ms,useImperativeHandle:rd,useInsertionEffect:ed,useLayoutEffect:td,useMemo:id,useReducer:Jr,useRef:Zc,useState:function(){return Jr(_r)},useDebugValue:Gl,useDeferredValue:function(n){var r=Ln();return Xe===null?r.memoizedState=n:ad(r,Xe.memoizedState,n)},useTransition:function(){var n=Jr(_r)[0],r=Ln().memoizedState;return[n,r]},useMutableSource:Vl,useSyncExternalStore:Ho,useId:od,unstable_isNewReconciler:!1};function mr(n,r){if(n&&n.defaultProps){r=ce({},r),n=n.defaultProps;for(var s in n)r[s]===void 0&&(r[s]=n[s]);return r}return r}function Bo(n,r,s,f){r=n.memoizedState,s=s(f,r),s=s==null?r:ce({},r,s),n.memoizedState=s,n.lanes===0&&(n.updateQueue.baseState=s)}var $o={isMounted:function(n){return(n=n._reactInternals)?Ui(n)===n:!1},enqueueSetState:function(n,r,s){n=n._reactInternals;var f=kn(),v=Ca(n),y=hr(f,v);y.payload=r,s!=null&&(y.callback=s),r=Za(n,y,v),r!==null&&(Bt(r,n,v,f),jc(r,n,v))},enqueueReplaceState:function(n,r,s){n=n._reactInternals;var f=kn(),v=Ca(n),y=hr(f,v);y.tag=1,y.payload=r,s!=null&&(y.callback=s),r=Za(n,y,v),r!==null&&(Bt(r,n,v,f),jc(r,n,v))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var s=kn(),f=Ca(n),v=hr(s,f);v.tag=2,r!=null&&(v.callback=r),r=Za(n,v,f),r!==null&&(Bt(r,n,f,s),jc(r,n,f))}};function lm(n,r,s,f,v,y,T){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(f,y,T):r.prototype&&r.prototype.isPureReactComponent?!Ju(s,f)||!Ju(v,y):!0}function um(n,r,s){var f=!1,v=Vi,y=r.contextType;return typeof y=="object"&&y!==null?y=Zr(y):(v=zt(r)?cr:Qe.current,f=r.contextTypes,y=(f=f!=null)?Yr(n,v):Vi),r=new r(s,y),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=$o,n.stateNode=r,r._reactInternals=n,f&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=v,n.__reactInternalMemoizedMaskedChildContext=y),r}function sm(n,r,s,f){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(s,f),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(s,f),r.state!==n&&$o.enqueueReplaceState(r,r.state,null)}function gp(n,r,s,f){var v=n.stateNode;v.props=s,v.state=n.memoizedState,v.refs={},Vc(n);var y=r.contextType;typeof y=="object"&&y!==null?v.context=Zr(y):(y=zt(r)?cr:Qe.current,v.context=Yr(n,y)),v.state=n.memoizedState,y=r.getDerivedStateFromProps,typeof y=="function"&&(Bo(n,r,y,s),v.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(r=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),r!==v.state&&$o.enqueueReplaceState(v,v.state,null),Bc(n,s,v,f),v.state=n.memoizedState),typeof v.componentDidMount=="function"&&(n.flags|=4194308)}function eo(n,r){try{var s="",f=r;do s+=hi(f),f=f.return;while(f);var v=s}catch(y){v=`
|
|
170
|
+
`),x=h.length-1,O=y.length-1;1<=x&&0<=O&&h[x]!==y[O];)O--;for(;1<=x&&0<=O;x--,O--)if(h[x]!==y[O]){if(x!==1||O!==1)do if(x--,O--,0>O||h[x]!==y[O]){var A=`
|
|
171
|
+
`+h[x].replace(" at new "," at ");return n.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",n.displayName)),A}while(1<=x&&0<=O);break}}}finally{Ht=!1,Error.prepareStackTrace=s}return(n=n?n.displayName||n.name:"")?yt(n):""}function Ei(n){switch(n.tag){case 5:return yt(n.type);case 16:return yt("Lazy");case 13:return yt("Suspense");case 19:return yt("SuspenseList");case 0:case 2:case 15:return n=fn(n.type,!1),n;case 11:return n=fn(n.type.render,!1),n;case 1:return n=fn(n.type,!0),n;default:return""}}function pn(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case we:return"Fragment";case Fe:return"Portal";case Ie:return"Profiler";case gt:return"StrictMode";case Y:return"Suspense";case ie:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case se:return(n.displayName||"Context")+".Consumer";case Ee:return(n._context.displayName||"Context")+".Provider";case K:var i=n.render;return n=n.displayName,n||(n=i.displayName||i.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Ve:return i=n.displayName||null,i!==null?i:pn(n.type)||"Memo";case ke:i=n._payload,n=n._init;try{return pn(n(i))}catch{}}return null}function Br(n){var i=n.type;switch(n.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=i.render,n=n.displayName||n.name||"",i.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return pn(i);case 8:return i===gt?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function bi(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function ji(n){var i=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function $u(n){var i=ji(n)?"checked":"value",s=Object.getOwnPropertyDescriptor(n.constructor.prototype,i),f=""+n[i];if(!n.hasOwnProperty(i)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var h=s.get,y=s.set;return Object.defineProperty(n,i,{configurable:!0,get:function(){return h.call(this)},set:function(x){f=""+x,y.call(this,x)}}),Object.defineProperty(n,i,{enumerable:s.enumerable}),{getValue:function(){return f},setValue:function(x){f=""+x},stopTracking:function(){n._valueTracker=null,delete n[i]}}}}function jr(n){n._valueTracker||(n._valueTracker=$u(n))}function sa(n){if(!n)return!1;var i=n._valueTracker;if(!i)return!0;var s=i.getValue(),f="";return n&&(f=ji(n)?n.checked?"true":"false":n.value),n=f,n!==s?(i.setValue(n),!0):!1}function jn(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function cr(n,i){var s=i.checked;return pe({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??n._wrapperState.initialChecked})}function $r(n,i){var s=i.defaultValue==null?"":i.defaultValue,f=i.checked!=null?i.checked:i.defaultChecked;s=bi(i.value!=null?i.value:s),n._wrapperState={initialChecked:f,initialValue:s,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function Ci(n,i){i=i.checked,i!=null&&Z(n,"checked",i,!1)}function Or(n,i){Ci(n,i);var s=bi(i.value),f=i.type;if(s!=null)f==="number"?(s===0&&n.value===""||n.value!=s)&&(n.value=""+s):n.value!==""+s&&(n.value=""+s);else if(f==="submit"||f==="reset"){n.removeAttribute("value");return}i.hasOwnProperty("value")?xl(n,i.type,s):i.hasOwnProperty("defaultValue")&&xl(n,i.type,bi(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(n.defaultChecked=!!i.defaultChecked)}function ca(n,i,s){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var f=i.type;if(!(f!=="submit"&&f!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+n._wrapperState.initialValue,s||i===n.value||(n.value=i),n.defaultValue=i}s=n.name,s!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,s!==""&&(n.name=s)}function xl(n,i,s){(i!=="number"||jn(n.ownerDocument)!==n)&&(s==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+s&&(n.defaultValue=""+s))}var No=Array.isArray;function ja(n,i,s,f){if(n=n.options,i){i={};for(var h=0;h<s.length;h++)i["$"+s[h]]=!0;for(s=0;s<n.length;s++)h=i.hasOwnProperty("$"+n[s].value),n[s].selected!==h&&(n[s].selected=h),h&&f&&(n[s].defaultSelected=!0)}else{for(s=""+bi(s),i=null,h=0;h<n.length;h++){if(n[h].value===s){n[h].selected=!0,f&&(n[h].defaultSelected=!0);return}i!==null||n[h].disabled||(i=n[h])}i!==null&&(i.selected=!0)}}function Lo(n,i){if(i.dangerouslySetInnerHTML!=null)throw Error(o(91));return pe({},i,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function Ti(n,i){var s=i.value;if(s==null){if(s=i.children,i=i.defaultValue,s!=null){if(i!=null)throw Error(o(92));if(No(s)){if(1<s.length)throw Error(o(93));s=s[0]}i=s}i==null&&(i=""),s=i}n._wrapperState={initialValue:bi(s)}}function $a(n,i){var s=bi(i.value),f=bi(i.defaultValue);s!=null&&(s=""+s,s!==n.value&&(n.value=s),i.defaultValue==null&&n.defaultValue!==s&&(n.defaultValue=s)),f!=null&&(n.defaultValue=""+f)}function $i(n){var i=n.textContent;i===n._wrapperState.initialValue&&i!==""&&i!==null&&(n.value=i)}function Ga(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function dr(n,i){return n==null||n==="http://www.w3.org/1999/xhtml"?Ga(i):n==="http://www.w3.org/2000/svg"&&i==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var wi,Gu=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,s,f,h){MSApp.execUnsafeLocalFunction(function(){return n(i,s,f,h)})}:n}(function(n,i){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=i;else{for(wi=wi||document.createElement("div"),wi.innerHTML="<svg>"+i.valueOf().toString()+"</svg>",i=wi.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;i.firstChild;)n.appendChild(i.firstChild)}});function Wa(n,i){if(i){var s=n.firstChild;if(s&&s===n.lastChild&&s.nodeType===3){s.nodeValue=i;return}}n.textContent=i}var ye={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},$e=["Webkit","ms","Moz","O"];Object.keys(ye).forEach(function(n){$e.forEach(function(i){i=i+n.charAt(0).toUpperCase()+n.substring(1),ye[i]=ye[n]})});function st(n,i,s){return i==null||typeof i=="boolean"||i===""?"":s||typeof i!="number"||i===0||ye.hasOwnProperty(n)&&ye[n]?(""+i).trim():i+"px"}function Lt(n,i){n=n.style;for(var s in i)if(i.hasOwnProperty(s)){var f=s.indexOf("--")===0,h=st(s,i[s],f);s==="float"&&(s="cssFloat"),f?n.setProperty(s,h):n[s]=h}}var Zt=pe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function $n(n,i){if(i){if(Zt[n]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(o(137,n));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(o(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(o(61))}if(i.style!=null&&typeof i.style!="object")throw Error(o(62))}}function vn(n,i){if(n.indexOf("-")===-1)return typeof i.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Gr=null;function Gt(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Gi=null,rn=null,Wt=null;function dh(n){if(n=ms(n)){if(typeof Gi!="function")throw Error(o(280));var i=n.stateNode;i&&(i=He(i),Gi(n.stateNode,n.type,i))}}function Sc(n){rn?Wt?Wt.push(n):Wt=[n]:rn=n}function Ec(){if(rn){var n=rn,i=Wt;if(Wt=rn=null,dh(n),i)for(n=0;n<i.length;n++)dh(i[n])}}function fh(n,i){return n(i)}function ph(){}var bc=!1;function Af(n,i,s){if(bc)return n(i,s);bc=!0;try{return fh(n,i,s)}finally{bc=!1,(rn!==null||Wt!==null)&&(ph(),Ec())}}function Wu(n,i){var s=n.stateNode;if(s===null)return null;var f=He(s);if(f===null)return null;s=f[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(n=n.type,f=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!f;break e;default:n=!1}if(n)return null;if(s&&typeof s!="function")throw Error(o(231,i,typeof s));return s}var Cc=!1;if(b)try{var Io={};Object.defineProperty(Io,"passive",{get:function(){Cc=!0}}),window.addEventListener("test",Io,Io),window.removeEventListener("test",Io,Io)}catch{Cc=!1}function Rl(n,i,s,f,h,y,x,O,A){var G=Array.prototype.slice.call(arguments,3);try{i.apply(s,G)}catch(ae){this.onError(ae)}}var xi=!1,da=null,kl=!1,Yu=null,_f={onError:function(n){xi=!0,da=n}};function Mf(n,i,s,f,h,y,x,O,A){xi=!1,da=null,Rl.apply(_f,arguments)}function Ol(n,i,s,f,h,y,x,O,A){if(Mf.apply(this,arguments),xi){if(xi){var G=da;xi=!1,da=null}else throw Error(o(198));kl||(kl=!0,Yu=G)}}function Wi(n){var i=n,s=n;if(n.alternate)for(;i.return;)i=i.return;else{n=i;do i=n,i.flags&4098&&(s=i.return),n=i.return;while(n)}return i.tag===3?s:null}function Ku(n){if(n.tag===13){var i=n.memoizedState;if(i===null&&(n=n.alternate,n!==null&&(i=n.memoizedState)),i!==null)return i.dehydrated}return null}function Dl(n){if(Wi(n)!==n)throw Error(o(188))}function Zn(n){var i=n.alternate;if(!i){if(i=Wi(n),i===null)throw Error(o(188));return i!==n?null:n}for(var s=n,f=i;;){var h=s.return;if(h===null)break;var y=h.alternate;if(y===null){if(f=h.return,f!==null){s=f;continue}break}if(h.child===y.child){for(y=h.child;y;){if(y===s)return Dl(h),n;if(y===f)return Dl(h),i;y=y.sibling}throw Error(o(188))}if(s.return!==f.return)s=h,f=y;else{for(var x=!1,O=h.child;O;){if(O===s){x=!0,s=h,f=y;break}if(O===f){x=!0,f=h,s=y;break}O=O.sibling}if(!x){for(O=y.child;O;){if(O===s){x=!0,s=y,f=h;break}if(O===f){x=!0,f=y,s=h;break}O=O.sibling}if(!x)throw Error(o(189))}}if(s.alternate!==f)throw Error(o(190))}if(s.tag!==3)throw Error(o(188));return s.stateNode.current===s?n:i}function vh(n){return n=Zn(n),n!==null?hh(n):null}function hh(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var i=hh(n);if(i!==null)return i;n=n.sibling}return null}var Pf=l.unstable_scheduleCallback,mh=l.unstable_cancelCallback,a0=l.unstable_shouldYield,o0=l.unstable_requestPaint,Yt=l.unstable_now,l0=l.unstable_getCurrentPriorityLevel,fa=l.unstable_ImmediatePriority,ct=l.unstable_UserBlockingPriority,Ya=l.unstable_NormalPriority,gh=l.unstable_LowPriority,Ff=l.unstable_IdlePriority,Qu=null,Ri=null;function yh(n){if(Ri&&typeof Ri.onCommitFiberRoot=="function")try{Ri.onCommitFiberRoot(Qu,n,void 0,(n.current.flags&128)===128)}catch{}}var Wr=Math.clz32?Math.clz32:u0,Sh=Math.log,Eh=Math.LN2;function u0(n){return n>>>=0,n===0?32:31-(Sh(n)/Eh|0)|0}var Tc=64,Nl=4194304;function Ao(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function ki(n,i){var s=n.pendingLanes;if(s===0)return 0;var f=0,h=n.suspendedLanes,y=n.pingedLanes,x=s&268435455;if(x!==0){var O=x&~h;O!==0?f=Ao(O):(y&=x,y!==0&&(f=Ao(y)))}else x=s&~h,x!==0?f=Ao(x):y!==0&&(f=Ao(y));if(f===0)return 0;if(i!==0&&i!==f&&!(i&h)&&(h=f&-f,y=i&-i,h>=y||h===16&&(y&4194240)!==0))return i;if(f&4&&(f|=s&16),i=n.entangledLanes,i!==0)for(n=n.entanglements,i&=f;0<i;)s=31-Wr(i),h=1<<s,f|=n[s],i&=~h;return f}function zf(n,i){switch(n){case 1:case 2:case 4:return i+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function wc(n,i){for(var s=n.suspendedLanes,f=n.pingedLanes,h=n.expirationTimes,y=n.pendingLanes;0<y;){var x=31-Wr(y),O=1<<x,A=h[x];A===-1?(!(O&s)||O&f)&&(h[x]=zf(O,i)):A<=i&&(n.expiredLanes|=O),y&=~O}}function Uf(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function xc(){var n=Tc;return Tc<<=1,!(Tc&4194240)&&(Tc=64),n}function Vf(n){for(var i=[],s=0;31>s;s++)i.push(n);return i}function _o(n,i,s){n.pendingLanes|=i,i!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,i=31-Wr(i),n[i]=s}function s0(n,i){var s=n.pendingLanes&~i;n.pendingLanes=i,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=i,n.mutableReadLanes&=i,n.entangledLanes&=i,i=n.entanglements;var f=n.eventTimes;for(n=n.expirationTimes;0<s;){var h=31-Wr(s),y=1<<h;i[h]=0,f[h]=-1,n[h]=-1,s&=~y}}function qu(n,i){var s=n.entangledLanes|=i;for(n=n.entanglements;s;){var f=31-Wr(s),h=1<<f;h&i|n[f]&i&&(n[f]|=i),s&=~h}}var xt=0;function Hf(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var bh,Rc,Rt,Ch,Bf,Je=!1,Xu=[],an=null,Yr=null,Kr=null,Zu=new Map,hn=new Map,kt=[],c0="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Oi(n,i){switch(n){case"focusin":case"focusout":an=null;break;case"dragenter":case"dragleave":Yr=null;break;case"mouseover":case"mouseout":Kr=null;break;case"pointerover":case"pointerout":Zu.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":hn.delete(i.pointerId)}}function Gn(n,i,s,f,h,y){return n===null||n.nativeEvent!==y?(n={blockedOn:i,domEventName:s,eventSystemFlags:f,nativeEvent:y,targetContainers:[h]},i!==null&&(i=ms(i),i!==null&&Rc(i)),n):(n.eventSystemFlags|=f,i=n.targetContainers,h!==null&&i.indexOf(h)===-1&&i.push(h),n)}function Ka(n,i,s,f,h){switch(i){case"focusin":return an=Gn(an,n,i,s,f,h),!0;case"dragenter":return Yr=Gn(Yr,n,i,s,f,h),!0;case"mouseover":return Kr=Gn(Kr,n,i,s,f,h),!0;case"pointerover":var y=h.pointerId;return Zu.set(y,Gn(Zu.get(y)||null,n,i,s,f,h)),!0;case"gotpointercapture":return y=h.pointerId,hn.set(y,Gn(hn.get(y)||null,n,i,s,f,h)),!0}return!1}function Th(n){var i=qr(n.target);if(i!==null){var s=Wi(i);if(s!==null){if(i=s.tag,i===13){if(i=Ku(s),i!==null){n.blockedOn=i,Bf(n.priority,function(){Rt(s)});return}}else if(i===3&&s.stateNode.current.memoizedState.isDehydrated){n.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Ll(n){if(n.blockedOn!==null)return!1;for(var i=n.targetContainers;0<i.length;){var s=Dc(n.domEventName,n.eventSystemFlags,i[0],n.nativeEvent);if(s===null){s=n.nativeEvent;var f=new s.constructor(s.type,s);Gr=f,s.target.dispatchEvent(f),Gr=null}else return i=ms(s),i!==null&&Rc(i),n.blockedOn=s,!1;i.shift()}return!0}function jf(n,i,s){Ll(n)&&s.delete(i)}function wh(){Je=!1,an!==null&&Ll(an)&&(an=null),Yr!==null&&Ll(Yr)&&(Yr=null),Kr!==null&&Ll(Kr)&&(Kr=null),Zu.forEach(jf),hn.forEach(jf)}function Ju(n,i){n.blockedOn===i&&(n.blockedOn=null,Je||(Je=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,wh)))}function es(n){function i(h){return Ju(h,n)}if(0<Xu.length){Ju(Xu[0],n);for(var s=1;s<Xu.length;s++){var f=Xu[s];f.blockedOn===n&&(f.blockedOn=null)}}for(an!==null&&Ju(an,n),Yr!==null&&Ju(Yr,n),Kr!==null&&Ju(Kr,n),Zu.forEach(i),hn.forEach(i),s=0;s<kt.length;s++)f=kt[s],f.blockedOn===n&&(f.blockedOn=null);for(;0<kt.length&&(s=kt[0],s.blockedOn===null);)Th(s),s.blockedOn===null&&kt.shift()}var Il=me.ReactCurrentBatchConfig,Mo=!0;function xh(n,i,s,f){var h=xt,y=Il.transition;Il.transition=null;try{xt=1,Oc(n,i,s,f)}finally{xt=h,Il.transition=y}}function kc(n,i,s,f){var h=xt,y=Il.transition;Il.transition=null;try{xt=4,Oc(n,i,s,f)}finally{xt=h,Il.transition=y}}function Oc(n,i,s,f){if(Mo){var h=Dc(n,i,s,f);if(h===null)Hc(n,i,f,ts,s),Oi(n,f);else if(Ka(h,n,i,s,f))f.stopPropagation();else if(Oi(n,f),i&4&&-1<c0.indexOf(n)){for(;h!==null;){var y=ms(h);if(y!==null&&bh(y),y=Dc(n,i,s,f),y===null&&Hc(n,i,f,ts,s),y===h)break;h=y}h!==null&&f.stopPropagation()}else Hc(n,i,f,null,s)}}var ts=null;function Dc(n,i,s,f){if(ts=null,n=Gt(f),n=qr(n),n!==null)if(i=Wi(n),i===null)n=null;else if(s=i.tag,s===13){if(n=Ku(i),n!==null)return n;n=null}else if(s===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null);return ts=n,null}function $f(n){switch(n){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(l0()){case fa:return 1;case ct:return 4;case Ya:case gh:return 16;case Ff:return 536870912;default:return 16}default:return 16}}var pa=null,ns=null,rs=null;function Gf(){if(rs)return rs;var n,i=ns,s=i.length,f,h="value"in pa?pa.value:pa.textContent,y=h.length;for(n=0;n<s&&i[n]===h[n];n++);var x=s-n;for(f=1;f<=x&&i[s-f]===h[y-f];f++);return rs=h.slice(n,1<f?1-f:void 0)}function Al(n){var i=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&i===13&&(n=13)):n=i,n===10&&(n=13),32<=n||n===13?n:0}function is(){return!0}function Rh(){return!1}function Dr(n){function i(s,f,h,y,x){this._reactName=s,this._targetInst=h,this.type=f,this.nativeEvent=y,this.target=x,this.currentTarget=null;for(var O in n)n.hasOwnProperty(O)&&(s=n[O],this[O]=s?s(y):y[O]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?is:Rh,this.isPropagationStopped=Rh,this}return pe(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=is)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=is)},persist:function(){},isPersistent:is}),i}var Qa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Nc=Dr(Qa),_l=pe({},Qa,{view:0,detail:0}),kh=Dr(_l),Lc,Wf,as,wn=pe({},_l,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qf,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==as&&(as&&n.type==="mousemove"?(Lc=n.screenX-as.screenX,Wf=n.screenY-as.screenY):Wf=Lc=0,as=n),Lc)},movementY:function(n){return"movementY"in n?n.movementY:Wf}}),Ic=Dr(wn),Oh=pe({},wn,{dataTransfer:0}),Dh=Dr(Oh),d0=pe({},_l,{relatedTarget:0}),qa=Dr(d0),Yf=pe({},Qa,{animationName:0,elapsedTime:0,pseudoElement:0}),Nh=Dr(Yf),f0=pe({},Qa,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),p0=Dr(f0),v0=pe({},Qa,{data:0}),Kf=Dr(v0),Qf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Lh={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Ih={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ah(n){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(n):(n=Ih[n])?!!i[n]:!1}function qf(){return Ah}var va=pe({},_l,{key:function(n){if(n.key){var i=Qf[n.key]||n.key;if(i!=="Unidentified")return i}return n.type==="keypress"?(n=Al(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Lh[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qf,charCode:function(n){return n.type==="keypress"?Al(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Al(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),h0=Dr(va),Xf=pe({},wn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ac=Dr(Xf),Zf=pe({},_l,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qf}),m0=Dr(Zf),_c=pe({},Qa,{propertyName:0,elapsedTime:0,pseudoElement:0}),_h=Dr(_c),fr=pe({},wn,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),ha=Dr(fr),on=[9,13,27,32],Di=b&&"CompositionEvent"in window,Po=null;b&&"documentMode"in document&&(Po=document.documentMode);var Mc=b&&"TextEvent"in window&&!Po,Mh=b&&(!Di||Po&&8<Po&&11>=Po),Ml=" ",Ph=!1;function Fh(n,i){switch(n){case"keyup":return on.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pc(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Pl=!1;function g0(n,i){switch(n){case"compositionend":return Pc(i);case"keypress":return i.which!==32?null:(Ph=!0,Ml);case"textInput":return n=i.data,n===Ml&&Ph?null:n;default:return null}}function y0(n,i){if(Pl)return n==="compositionend"||!Di&&Fh(n,i)?(n=Gf(),rs=ns=pa=null,Pl=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return Mh&&i.locale!=="ko"?null:i.data;default:return null}}var zh={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Uh(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i==="input"?!!zh[n.type]:i==="textarea"}function Vh(n,i,s,f){Sc(f),i=ps(i,"onChange"),0<i.length&&(s=new Nc("onChange","change",null,s,f),n.push({event:s,listeners:i}))}var os=null,Fl=null;function zl(n){Vc(n,0)}function Ul(n){var i=Hl(n);if(sa(i))return n}function Hh(n,i){if(n==="change")return i}var Jf=!1;if(b){var ep;if(b){var tp="oninput"in document;if(!tp){var Bh=document.createElement("div");Bh.setAttribute("oninput","return;"),tp=typeof Bh.oninput=="function"}ep=tp}else ep=!1;Jf=ep&&(!document.documentMode||9<document.documentMode)}function jh(){os&&(os.detachEvent("onpropertychange",$h),Fl=os=null)}function $h(n){if(n.propertyName==="value"&&Ul(Fl)){var i=[];Vh(i,Fl,n,Gt(n)),Af(zl,i)}}function S0(n,i,s){n==="focusin"?(jh(),os=i,Fl=s,os.attachEvent("onpropertychange",$h)):n==="focusout"&&jh()}function E0(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Ul(Fl)}function b0(n,i){if(n==="click")return Ul(i)}function Gh(n,i){if(n==="input"||n==="change")return Ul(i)}function C0(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}var Qr=typeof Object.is=="function"?Object.is:C0;function ls(n,i){if(Qr(n,i))return!0;if(typeof n!="object"||n===null||typeof i!="object"||i===null)return!1;var s=Object.keys(n),f=Object.keys(i);if(s.length!==f.length)return!1;for(f=0;f<s.length;f++){var h=s[f];if(!w.call(i,h)||!Qr(n[h],i[h]))return!1}return!0}function Wh(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function Yh(n,i){var s=Wh(n);n=0;for(var f;s;){if(s.nodeType===3){if(f=n+s.textContent.length,n<=i&&f>=i)return{node:s,offset:i-n};n=f}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=Wh(s)}}function Kh(n,i){return n&&i?n===i?!0:n&&n.nodeType===3?!1:i&&i.nodeType===3?Kh(n,i.parentNode):"contains"in n?n.contains(i):n.compareDocumentPosition?!!(n.compareDocumentPosition(i)&16):!1:!1}function Fc(){for(var n=window,i=jn();i instanceof n.HTMLIFrameElement;){try{var s=typeof i.contentWindow.location.href=="string"}catch{s=!1}if(s)n=i.contentWindow;else break;i=jn(n.document)}return i}function ma(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i&&(i==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||i==="textarea"||n.contentEditable==="true")}function zc(n){var i=Fc(),s=n.focusedElem,f=n.selectionRange;if(i!==s&&s&&s.ownerDocument&&Kh(s.ownerDocument.documentElement,s)){if(f!==null&&ma(s)){if(i=f.start,n=f.end,n===void 0&&(n=i),"selectionStart"in s)s.selectionStart=i,s.selectionEnd=Math.min(n,s.value.length);else if(n=(i=s.ownerDocument||document)&&i.defaultView||window,n.getSelection){n=n.getSelection();var h=s.textContent.length,y=Math.min(f.start,h);f=f.end===void 0?y:Math.min(f.end,h),!n.extend&&y>f&&(h=f,f=y,y=h),h=Yh(s,y);var x=Yh(s,f);h&&x&&(n.rangeCount!==1||n.anchorNode!==h.node||n.anchorOffset!==h.offset||n.focusNode!==x.node||n.focusOffset!==x.offset)&&(i=i.createRange(),i.setStart(h.node,h.offset),n.removeAllRanges(),y>f?(n.addRange(i),n.extend(x.node,x.offset)):(i.setEnd(x.node,x.offset),n.addRange(i)))}}for(i=[],n=s;n=n.parentNode;)n.nodeType===1&&i.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<i.length;s++)n=i[s],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var Qh=b&&"documentMode"in document&&11>=document.documentMode,Ni=null,np=null,us=null,rp=!1;function qh(n,i,s){var f=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;rp||Ni==null||Ni!==jn(f)||(f=Ni,"selectionStart"in f&&ma(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),us&&ls(us,f)||(us=f,f=ps(np,"onSelect"),0<f.length&&(i=new Nc("onSelect","select",null,i,s),n.push({event:i,listeners:f}),i.target=Ni)))}function Uc(n,i){var s={};return s[n.toLowerCase()]=i.toLowerCase(),s["Webkit"+n]="webkit"+i,s["Moz"+n]="moz"+i,s}var Fo={animationend:Uc("Animation","AnimationEnd"),animationiteration:Uc("Animation","AnimationIteration"),animationstart:Uc("Animation","AnimationStart"),transitionend:Uc("Transition","TransitionEnd")},ip={},ap={};b&&(ap=document.createElement("div").style,"AnimationEvent"in window||(delete Fo.animationend.animation,delete Fo.animationiteration.animation,delete Fo.animationstart.animation),"TransitionEvent"in window||delete Fo.transitionend.transition);function xn(n){if(ip[n])return ip[n];if(!Fo[n])return n;var i=Fo[n],s;for(s in i)if(i.hasOwnProperty(s)&&s in ap)return ip[n]=i[s];return n}var op=xn("animationend"),Xh=xn("animationiteration"),Zh=xn("animationstart"),Jh=xn("transitionend"),em=new Map,tm="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ga(n,i){em.set(n,i),S(i,[n])}for(var ss=0;ss<tm.length;ss++){var zo=tm[ss],T0=zo.toLowerCase(),cs=zo[0].toUpperCase()+zo.slice(1);ga(T0,"on"+cs)}ga(op,"onAnimationEnd"),ga(Xh,"onAnimationIteration"),ga(Zh,"onAnimationStart"),ga("dblclick","onDoubleClick"),ga("focusin","onFocus"),ga("focusout","onBlur"),ga(Jh,"onTransitionEnd"),m("onMouseEnter",["mouseout","mouseover"]),m("onMouseLeave",["mouseout","mouseover"]),m("onPointerEnter",["pointerout","pointerover"]),m("onPointerLeave",["pointerout","pointerover"]),S("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),S("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),S("onBeforeInput",["compositionend","keypress","textInput","paste"]),S("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),S("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),S("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ds="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),w0=new Set("cancel close invalid load scroll toggle".split(" ").concat(ds));function nm(n,i,s){var f=n.type||"unknown-event";n.currentTarget=s,Ol(f,i,void 0,n),n.currentTarget=null}function Vc(n,i){i=(i&4)!==0;for(var s=0;s<n.length;s++){var f=n[s],h=f.event;f=f.listeners;e:{var y=void 0;if(i)for(var x=f.length-1;0<=x;x--){var O=f[x],A=O.instance,G=O.currentTarget;if(O=O.listener,A!==y&&h.isPropagationStopped())break e;nm(h,O,G),y=A}else for(x=0;x<f.length;x++){if(O=f[x],A=O.instance,G=O.currentTarget,O=O.listener,A!==y&&h.isPropagationStopped())break e;nm(h,O,G),y=A}}}if(kl)throw n=Yu,kl=!1,Yu=null,n}function It(n,i){var s=i[pp];s===void 0&&(s=i[pp]=new Set);var f=n+"__bubble";s.has(f)||(rm(i,n,2,!1),s.add(f))}function Xa(n,i,s){var f=0;i&&(f|=4),rm(s,n,f,i)}var ya="_reactListening"+Math.random().toString(36).slice(2);function Vl(n){if(!n[ya]){n[ya]=!0,d.forEach(function(s){s!=="selectionchange"&&(w0.has(s)||Xa(s,!1,n),Xa(s,!0,n))});var i=n.nodeType===9?n:n.ownerDocument;i===null||i[ya]||(i[ya]=!0,Xa("selectionchange",!1,i))}}function rm(n,i,s,f){switch($f(i)){case 1:var h=xh;break;case 4:h=kc;break;default:h=Oc}s=h.bind(null,i,s,n),h=void 0,!Cc||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(h=!0),f?h!==void 0?n.addEventListener(i,s,{capture:!0,passive:h}):n.addEventListener(i,s,!0):h!==void 0?n.addEventListener(i,s,{passive:h}):n.addEventListener(i,s,!1)}function Hc(n,i,s,f,h){var y=f;if(!(i&1)&&!(i&2)&&f!==null)e:for(;;){if(f===null)return;var x=f.tag;if(x===3||x===4){var O=f.stateNode.containerInfo;if(O===h||O.nodeType===8&&O.parentNode===h)break;if(x===4)for(x=f.return;x!==null;){var A=x.tag;if((A===3||A===4)&&(A=x.stateNode.containerInfo,A===h||A.nodeType===8&&A.parentNode===h))return;x=x.return}for(;O!==null;){if(x=qr(O),x===null)return;if(A=x.tag,A===5||A===6){f=y=x;continue e}O=O.parentNode}}f=f.return}Af(function(){var G=y,ae=Gt(s),le=[];e:{var re=em.get(n);if(re!==void 0){var be=Nc,Oe=n;switch(n){case"keypress":if(Al(s)===0)break e;case"keydown":case"keyup":be=h0;break;case"focusin":Oe="focus",be=qa;break;case"focusout":Oe="blur",be=qa;break;case"beforeblur":case"afterblur":be=qa;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":be=Ic;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":be=Dh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":be=m0;break;case op:case Xh:case Zh:be=Nh;break;case Jh:be=_h;break;case"scroll":be=kh;break;case"wheel":be=ha;break;case"copy":case"cut":case"paste":be=p0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":be=Ac}var Le=(i&4)!==0,tn=!Le&&n==="scroll",U=Le?re!==null?re+"Capture":null:re;Le=[];for(var P=G,j;P!==null;){j=P;var ce=j.stateNode;if(j.tag===5&&ce!==null&&(j=ce,U!==null&&(ce=Wu(P,U),ce!=null&&Le.push(fs(P,ce,j)))),tn)break;P=P.return}0<Le.length&&(re=new be(re,Oe,null,s,ae),le.push({event:re,listeners:Le}))}}if(!(i&7)){e:{if(re=n==="mouseover"||n==="pointerover",be=n==="mouseout"||n==="pointerout",re&&s!==Gr&&(Oe=s.relatedTarget||s.fromElement)&&(qr(Oe)||Oe[Sa]))break e;if((be||re)&&(re=ae.window===ae?ae:(re=ae.ownerDocument)?re.defaultView||re.parentWindow:window,be?(Oe=s.relatedTarget||s.toElement,be=G,Oe=Oe?qr(Oe):null,Oe!==null&&(tn=Wi(Oe),Oe!==tn||Oe.tag!==5&&Oe.tag!==6)&&(Oe=null)):(be=null,Oe=G),be!==Oe)){if(Le=Ic,ce="onMouseLeave",U="onMouseEnter",P="mouse",(n==="pointerout"||n==="pointerover")&&(Le=Ac,ce="onPointerLeave",U="onPointerEnter",P="pointer"),tn=be==null?re:Hl(be),j=Oe==null?re:Hl(Oe),re=new Le(ce,P+"leave",be,s,ae),re.target=tn,re.relatedTarget=j,ce=null,qr(ae)===G&&(Le=new Le(U,P+"enter",Oe,s,ae),Le.target=j,Le.relatedTarget=tn,ce=Le),tn=ce,be&&Oe)t:{for(Le=be,U=Oe,P=0,j=Le;j;j=Uo(j))P++;for(j=0,ce=U;ce;ce=Uo(ce))j++;for(;0<P-j;)Le=Uo(Le),P--;for(;0<j-P;)U=Uo(U),j--;for(;P--;){if(Le===U||U!==null&&Le===U.alternate)break t;Le=Uo(Le),U=Uo(U)}Le=null}else Le=null;be!==null&&lp(le,re,be,Le,!1),Oe!==null&&tn!==null&&lp(le,tn,Oe,Le,!0)}}e:{if(re=G?Hl(G):window,be=re.nodeName&&re.nodeName.toLowerCase(),be==="select"||be==="input"&&re.type==="file")var _e=Hh;else if(Uh(re))if(Jf)_e=Gh;else{_e=E0;var Ge=S0}else(be=re.nodeName)&&be.toLowerCase()==="input"&&(re.type==="checkbox"||re.type==="radio")&&(_e=b0);if(_e&&(_e=_e(n,G))){Vh(le,_e,s,ae);break e}Ge&&Ge(n,re,G),n==="focusout"&&(Ge=re._wrapperState)&&Ge.controlled&&re.type==="number"&&xl(re,"number",re.value)}switch(Ge=G?Hl(G):window,n){case"focusin":(Uh(Ge)||Ge.contentEditable==="true")&&(Ni=Ge,np=G,us=null);break;case"focusout":us=np=Ni=null;break;case"mousedown":rp=!0;break;case"contextmenu":case"mouseup":case"dragend":rp=!1,qh(le,s,ae);break;case"selectionchange":if(Qh)break;case"keydown":case"keyup":qh(le,s,ae)}var De;if(Di)e:{switch(n){case"compositionstart":var We="onCompositionStart";break e;case"compositionend":We="onCompositionEnd";break e;case"compositionupdate":We="onCompositionUpdate";break e}We=void 0}else Pl?Fh(n,s)&&(We="onCompositionEnd"):n==="keydown"&&s.keyCode===229&&(We="onCompositionStart");We&&(Mh&&s.locale!=="ko"&&(Pl||We!=="onCompositionStart"?We==="onCompositionEnd"&&Pl&&(De=Gf()):(pa=ae,ns="value"in pa?pa.value:pa.textContent,Pl=!0)),Ge=ps(G,We),0<Ge.length&&(We=new Kf(We,n,null,s,ae),le.push({event:We,listeners:Ge}),De?We.data=De:(De=Pc(s),De!==null&&(We.data=De)))),(De=Mc?g0(n,s):y0(n,s))&&(G=ps(G,"onBeforeInput"),0<G.length&&(ae=new Kf("onBeforeInput","beforeinput",null,s,ae),le.push({event:ae,listeners:G}),ae.data=De))}Vc(le,i)})}function fs(n,i,s){return{instance:n,listener:i,currentTarget:s}}function ps(n,i){for(var s=i+"Capture",f=[];n!==null;){var h=n,y=h.stateNode;h.tag===5&&y!==null&&(h=y,y=Wu(n,s),y!=null&&f.unshift(fs(n,y,h)),y=Wu(n,i),y!=null&&f.push(fs(n,y,h))),n=n.return}return f}function Uo(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function lp(n,i,s,f,h){for(var y=i._reactName,x=[];s!==null&&s!==f;){var O=s,A=O.alternate,G=O.stateNode;if(A!==null&&A===f)break;O.tag===5&&G!==null&&(O=G,h?(A=Wu(s,y),A!=null&&x.unshift(fs(s,A,O))):h||(A=Wu(s,y),A!=null&&x.push(fs(s,A,O)))),s=s.return}x.length!==0&&n.push({event:i,listeners:x})}var up=/\r\n?/g,x0=/\u0000|\uFFFD/g;function sp(n){return(typeof n=="string"?n:""+n).replace(up,`
|
|
172
|
+
`).replace(x0,"")}function Bc(n,i,s){if(i=sp(i),sp(n)!==i&&s)throw Error(o(425))}function jc(){}var cp=null,Vo=null;function vs(n,i){return n==="textarea"||n==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var Ho=typeof setTimeout=="function"?setTimeout:void 0,im=typeof clearTimeout=="function"?clearTimeout:void 0,dp=typeof Promise=="function"?Promise:void 0,fp=typeof queueMicrotask=="function"?queueMicrotask:typeof dp<"u"?function(n){return dp.resolve(null).then(n).catch(R0)}:Ho;function R0(n){setTimeout(function(){throw n})}function Za(n,i){var s=i,f=0;do{var h=s.nextSibling;if(n.removeChild(s),h&&h.nodeType===8)if(s=h.data,s==="/$"){if(f===0){n.removeChild(h),es(i);return}f--}else s!=="$"&&s!=="$?"&&s!=="$!"||f++;s=h}while(s);es(i)}function Li(n){for(;n!=null;n=n.nextSibling){var i=n.nodeType;if(i===1||i===3)break;if(i===8){if(i=n.data,i==="$"||i==="$!"||i==="$?")break;if(i==="/$")return null}}return n}function hs(n){n=n.previousSibling;for(var i=0;n;){if(n.nodeType===8){var s=n.data;if(s==="$"||s==="$!"||s==="$?"){if(i===0)return n;i--}else s==="/$"&&i++}n=n.previousSibling}return null}var Ja=Math.random().toString(36).slice(2),Yi="__reactFiber$"+Ja,Bo="__reactProps$"+Ja,Sa="__reactContainer$"+Ja,pp="__reactEvents$"+Ja,k0="__reactListeners$"+Ja,vp="__reactHandles$"+Ja;function qr(n){var i=n[Yi];if(i)return i;for(var s=n.parentNode;s;){if(i=s[Sa]||s[Yi]){if(s=i.alternate,i.child!==null||s!==null&&s.child!==null)for(n=hs(n);n!==null;){if(s=n[Yi])return s;n=hs(n)}return i}n=s,s=n.parentNode}return null}function ms(n){return n=n[Yi]||n[Sa],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function Hl(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(o(33))}function He(n){return n[Bo]||null}var eo=[],_t=-1;function nt(n){return{current:n}}function Ct(n){0>_t||(n.current=eo[_t],eo[_t]=null,_t--)}function Tt(n,i){_t++,eo[_t]=n.current,n.current=i}var Ki={},Qe=nt(Ki),Kt=nt(!1),pr=Ki;function Xr(n,i){var s=n.type.contextTypes;if(!s)return Ki;var f=n.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===i)return f.__reactInternalMemoizedMaskedChildContext;var h={},y;for(y in s)h[y]=i[y];return f&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=i,n.__reactInternalMemoizedMaskedChildContext=h),h}function zt(n){return n=n.childContextTypes,n!=null}function Zr(){Ct(Kt),Ct(Qe)}function to(n,i,s){if(Qe.current!==Ki)throw Error(o(168));Tt(Qe,i),Tt(Kt,s)}function gs(n,i,s){var f=n.stateNode;if(i=i.childContextTypes,typeof f.getChildContext!="function")return s;f=f.getChildContext();for(var h in f)if(!(h in i))throw Error(o(108,Br(n)||"Unknown",h));return pe({},s,f)}function $c(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||Ki,pr=Qe.current,Tt(Qe,n),Tt(Kt,Kt.current),!0}function am(n,i,s){var f=n.stateNode;if(!f)throw Error(o(169));s?(n=gs(n,i,pr),f.__reactInternalMemoizedMergedChildContext=n,Ct(Kt),Ct(Qe),Tt(Qe,n)):Ct(Kt),Tt(Kt,s)}var Nr=null,Rn=!1,ys=!1;function hp(n){Nr===null?Nr=[n]:Nr.push(n)}function mp(n){Rn=!0,hp(n)}function vr(){if(!ys&&Nr!==null){ys=!0;var n=0,i=xt;try{var s=Nr;for(xt=1;n<s.length;n++){var f=s[n];do f=f(!0);while(f!==null)}Nr=null,Rn=!1}catch(h){throw Nr!==null&&(Nr=Nr.slice(n+1)),Pf(fa,vr),h}finally{xt=i,ys=!1}}return null}var no=[],hr=0,jo=null,Bl=0,mr=[],Wn=0,Jr=null,In=1,Ea="";function Lr(n,i){no[hr++]=Bl,no[hr++]=jo,jo=n,Bl=i}function gp(n,i,s){mr[Wn++]=In,mr[Wn++]=Ea,mr[Wn++]=Jr,Jr=n;var f=In;n=Ea;var h=32-Wr(f)-1;f&=~(1<<h),s+=1;var y=32-Wr(i)+h;if(30<y){var x=h-h%5;y=(f&(1<<x)-1).toString(32),f>>=x,h-=x,In=1<<32-Wr(i)+h|s<<h|f,Ea=y+n}else In=1<<y|s<<h|f,Ea=n}function Gc(n){n.return!==null&&(Lr(n,1),gp(n,1,0))}function yp(n){for(;n===jo;)jo=no[--hr],no[hr]=null,Bl=no[--hr],no[hr]=null;for(;n===Jr;)Jr=mr[--Wn],mr[Wn]=null,Ea=mr[--Wn],mr[Wn]=null,In=mr[--Wn],mr[Wn]=null}var Ir=null,gr=null,Mt=!1,ei=null;function Sp(n,i){var s=ui(5,null,null,0);s.elementType="DELETED",s.stateNode=i,s.return=n,i=n.deletions,i===null?(n.deletions=[s],n.flags|=16):i.push(s)}function om(n,i){switch(n.tag){case 5:var s=n.type;return i=i.nodeType!==1||s.toLowerCase()!==i.nodeName.toLowerCase()?null:i,i!==null?(n.stateNode=i,Ir=n,gr=Li(i.firstChild),!0):!1;case 6:return i=n.pendingProps===""||i.nodeType!==3?null:i,i!==null?(n.stateNode=i,Ir=n,gr=null,!0):!1;case 13:return i=i.nodeType!==8?null:i,i!==null?(s=Jr!==null?{id:In,overflow:Ea}:null,n.memoizedState={dehydrated:i,treeContext:s,retryLane:1073741824},s=ui(18,null,null,0),s.stateNode=i,s.return=n,n.child=s,Ir=n,gr=null,!0):!1;default:return!1}}function Wc(n){return(n.mode&1)!==0&&(n.flags&128)===0}function Yc(n){if(Mt){var i=gr;if(i){var s=i;if(!om(n,i)){if(Wc(n))throw Error(o(418));i=Li(s.nextSibling);var f=Ir;i&&om(n,i)?Sp(f,s):(n.flags=n.flags&-4097|2,Mt=!1,Ir=n)}}else{if(Wc(n))throw Error(o(418));n.flags=n.flags&-4097|2,Mt=!1,Ir=n}}}function lm(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;Ir=n}function Kc(n){if(n!==Ir)return!1;if(!Mt)return lm(n),Mt=!0,!1;var i;if((i=n.tag!==3)&&!(i=n.tag!==5)&&(i=n.type,i=i!=="head"&&i!=="body"&&!vs(n.type,n.memoizedProps)),i&&(i=gr)){if(Wc(n))throw um(),Error(o(418));for(;i;)Sp(n,i),i=Li(i.nextSibling)}if(lm(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));e:{for(n=n.nextSibling,i=0;n;){if(n.nodeType===8){var s=n.data;if(s==="/$"){if(i===0){gr=Li(n.nextSibling);break e}i--}else s!=="$"&&s!=="$!"&&s!=="$?"||i++}n=n.nextSibling}gr=null}}else gr=Ir?Li(n.stateNode.nextSibling):null;return!0}function um(){for(var n=gr;n;)n=Li(n.nextSibling)}function Bt(){gr=Ir=null,Mt=!1}function Ep(n){ei===null?ei=[n]:ei.push(n)}var Qc=me.ReactCurrentBatchConfig;function $o(n,i,s){if(n=s.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(o(309));var f=s.stateNode}if(!f)throw Error(o(147,n));var h=f,y=""+n;return i!==null&&i.ref!==null&&typeof i.ref=="function"&&i.ref._stringRef===y?i.ref:(i=function(x){var O=h.refs;x===null?delete O[y]:O[y]=x},i._stringRef=y,i)}if(typeof n!="string")throw Error(o(284));if(!s._owner)throw Error(o(290,n))}return n}function Qi(n,i){throw n=Object.prototype.toString.call(i),Error(o(31,n==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":n))}function sm(n){var i=n._init;return i(n._payload)}function qc(n){function i(U,P){if(n){var j=U.deletions;j===null?(U.deletions=[P],U.flags|=16):j.push(P)}}function s(U,P){if(!n)return null;for(;P!==null;)i(U,P),P=P.sibling;return null}function f(U,P){for(U=new Map;P!==null;)P.key!==null?U.set(P.key,P):U.set(P.index,P),P=P.sibling;return U}function h(U,P){return U=co(U,P),U.index=0,U.sibling=null,U}function y(U,P,j){return U.index=j,n?(j=U.alternate,j!==null?(j=j.index,j<P?(U.flags|=2,P):j):(U.flags|=2,P)):(U.flags|=1048576,P)}function x(U){return n&&U.alternate===null&&(U.flags|=2),U}function O(U,P,j,ce){return P===null||P.tag!==6?(P=Fd(j,U.mode,ce),P.return=U,P):(P=h(P,j),P.return=U,P)}function A(U,P,j,ce){var _e=j.type;return _e===we?ae(U,P,j.props.children,ce,j.key):P!==null&&(P.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===ke&&sm(_e)===P.type)?(ce=h(P,j.props),ce.ref=$o(U,P,j),ce.return=U,ce):(ce=Md(j.type,j.key,j.props,null,U.mode,ce),ce.ref=$o(U,P,j),ce.return=U,ce)}function G(U,P,j,ce){return P===null||P.tag!==4||P.stateNode.containerInfo!==j.containerInfo||P.stateNode.implementation!==j.implementation?(P=Ps(j,U.mode,ce),P.return=U,P):(P=h(P,j.children||[]),P.return=U,P)}function ae(U,P,j,ce,_e){return P===null||P.tag!==7?(P=al(j,U.mode,ce,_e),P.return=U,P):(P=h(P,j),P.return=U,P)}function le(U,P,j){if(typeof P=="string"&&P!==""||typeof P=="number")return P=Fd(""+P,U.mode,j),P.return=U,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case fe:return j=Md(P.type,P.key,P.props,null,U.mode,j),j.ref=$o(U,null,P),j.return=U,j;case Fe:return P=Ps(P,U.mode,j),P.return=U,P;case ke:var ce=P._init;return le(U,ce(P._payload),j)}if(No(P)||Re(P))return P=al(P,U.mode,j,null),P.return=U,P;Qi(U,P)}return null}function re(U,P,j,ce){var _e=P!==null?P.key:null;if(typeof j=="string"&&j!==""||typeof j=="number")return _e!==null?null:O(U,P,""+j,ce);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case fe:return j.key===_e?A(U,P,j,ce):null;case Fe:return j.key===_e?G(U,P,j,ce):null;case ke:return _e=j._init,re(U,P,_e(j._payload),ce)}if(No(j)||Re(j))return _e!==null?null:ae(U,P,j,ce,null);Qi(U,j)}return null}function be(U,P,j,ce,_e){if(typeof ce=="string"&&ce!==""||typeof ce=="number")return U=U.get(j)||null,O(P,U,""+ce,_e);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case fe:return U=U.get(ce.key===null?j:ce.key)||null,A(P,U,ce,_e);case Fe:return U=U.get(ce.key===null?j:ce.key)||null,G(P,U,ce,_e);case ke:var Ge=ce._init;return be(U,P,j,Ge(ce._payload),_e)}if(No(ce)||Re(ce))return U=U.get(j)||null,ae(P,U,ce,_e,null);Qi(P,ce)}return null}function Oe(U,P,j,ce){for(var _e=null,Ge=null,De=P,We=P=0,En=null;De!==null&&We<j.length;We++){De.index>We?(En=De,De=null):En=De.sibling;var St=re(U,De,j[We],ce);if(St===null){De===null&&(De=En);break}n&&De&&St.alternate===null&&i(U,De),P=y(St,P,We),Ge===null?_e=St:Ge.sibling=St,Ge=St,De=En}if(We===j.length)return s(U,De),Mt&&Lr(U,We),_e;if(De===null){for(;We<j.length;We++)De=le(U,j[We],ce),De!==null&&(P=y(De,P,We),Ge===null?_e=De:Ge.sibling=De,Ge=De);return Mt&&Lr(U,We),_e}for(De=f(U,De);We<j.length;We++)En=be(De,U,We,j[We],ce),En!==null&&(n&&En.alternate!==null&&De.delete(En.key===null?We:En.key),P=y(En,P,We),Ge===null?_e=En:Ge.sibling=En,Ge=En);return n&&De.forEach(function(ka){return i(U,ka)}),Mt&&Lr(U,We),_e}function Le(U,P,j,ce){var _e=Re(j);if(typeof _e!="function")throw Error(o(150));if(j=_e.call(j),j==null)throw Error(o(151));for(var Ge=_e=null,De=P,We=P=0,En=null,St=j.next();De!==null&&!St.done;We++,St=j.next()){De.index>We?(En=De,De=null):En=De.sibling;var ka=re(U,De,St.value,ce);if(ka===null){De===null&&(De=En);break}n&&De&&ka.alternate===null&&i(U,De),P=y(ka,P,We),Ge===null?_e=ka:Ge.sibling=ka,Ge=ka,De=En}if(St.done)return s(U,De),Mt&&Lr(U,We),_e;if(De===null){for(;!St.done;We++,St=j.next())St=le(U,St.value,ce),St!==null&&(P=y(St,P,We),Ge===null?_e=St:Ge.sibling=St,Ge=St);return Mt&&Lr(U,We),_e}for(De=f(U,De);!St.done;We++,St=j.next())St=be(De,U,We,St.value,ce),St!==null&&(n&&St.alternate!==null&&De.delete(St.key===null?We:St.key),P=y(St,P,We),Ge===null?_e=St:Ge.sibling=St,Ge=St);return n&&De.forEach(function(G0){return i(U,G0)}),Mt&&Lr(U,We),_e}function tn(U,P,j,ce){if(typeof j=="object"&&j!==null&&j.type===we&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case fe:e:{for(var _e=j.key,Ge=P;Ge!==null;){if(Ge.key===_e){if(_e=j.type,_e===we){if(Ge.tag===7){s(U,Ge.sibling),P=h(Ge,j.props.children),P.return=U,U=P;break e}}else if(Ge.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===ke&&sm(_e)===Ge.type){s(U,Ge.sibling),P=h(Ge,j.props),P.ref=$o(U,Ge,j),P.return=U,U=P;break e}s(U,Ge);break}else i(U,Ge);Ge=Ge.sibling}j.type===we?(P=al(j.props.children,U.mode,ce,j.key),P.return=U,U=P):(ce=Md(j.type,j.key,j.props,null,U.mode,ce),ce.ref=$o(U,P,j),ce.return=U,U=ce)}return x(U);case Fe:e:{for(Ge=j.key;P!==null;){if(P.key===Ge)if(P.tag===4&&P.stateNode.containerInfo===j.containerInfo&&P.stateNode.implementation===j.implementation){s(U,P.sibling),P=h(P,j.children||[]),P.return=U,U=P;break e}else{s(U,P);break}else i(U,P);P=P.sibling}P=Ps(j,U.mode,ce),P.return=U,U=P}return x(U);case ke:return Ge=j._init,tn(U,P,Ge(j._payload),ce)}if(No(j))return Oe(U,P,j,ce);if(Re(j))return Le(U,P,j,ce);Qi(U,j)}return typeof j=="string"&&j!==""||typeof j=="number"?(j=""+j,P!==null&&P.tag===6?(s(U,P.sibling),P=h(P,j),P.return=U,U=P):(s(U,P),P=Fd(j,U.mode,ce),P.return=U,U=P),x(U)):s(U,P)}return tn}var jl=qc(!0),cm=qc(!1),ba=nt(null),mn=null,ve=null,ti=null;function Ar(){ti=ve=mn=null}function bp(n){var i=ba.current;Ct(ba),n._currentValue=i}function Cp(n,i,s){for(;n!==null;){var f=n.alternate;if((n.childLanes&i)!==i?(n.childLanes|=i,f!==null&&(f.childLanes|=i)):f!==null&&(f.childLanes&i)!==i&&(f.childLanes|=i),n===s)break;n=n.return}}function $l(n,i){mn=n,ti=ve=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&i&&(Er=!0),n.firstContext=null)}function ni(n){var i=n._currentValue;if(ti!==n)if(n={context:n,memoizedValue:i,next:null},ve===null){if(mn===null)throw Error(o(308));ve=n,mn.dependencies={lanes:0,firstContext:n}}else ve=ve.next=n;return i}var Go=null;function ln(n){Go===null?Go=[n]:Go.push(n)}function dm(n,i,s,f){var h=i.interleaved;return h===null?(s.next=s,ln(i)):(s.next=h.next,h.next=s),i.interleaved=s,Ca(n,f)}function Ca(n,i){n.lanes|=i;var s=n.alternate;for(s!==null&&(s.lanes|=i),s=n,n=n.return;n!==null;)n.childLanes|=i,s=n.alternate,s!==null&&(s.childLanes|=i),s=n,n=n.return;return s.tag===3?s.stateNode:null}var ro=!1;function Xc(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Gl(n,i){n=n.updateQueue,i.updateQueue===n&&(i.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function yr(n,i){return{eventTime:n,lane:i,tag:0,payload:null,callback:null,next:null}}function io(n,i,s){var f=n.updateQueue;if(f===null)return null;if(f=f.shared,dt&2){var h=f.pending;return h===null?i.next=i:(i.next=h.next,h.next=i),f.pending=i,Ca(n,s)}return h=f.interleaved,h===null?(i.next=i,ln(f)):(i.next=h.next,h.next=i),f.interleaved=i,Ca(n,s)}function Zc(n,i,s){if(i=i.updateQueue,i!==null&&(i=i.shared,(s&4194240)!==0)){var f=i.lanes;f&=n.pendingLanes,s|=f,i.lanes=s,qu(n,s)}}function fm(n,i){var s=n.updateQueue,f=n.alternate;if(f!==null&&(f=f.updateQueue,s===f)){var h=null,y=null;if(s=s.firstBaseUpdate,s!==null){do{var x={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};y===null?h=y=x:y=y.next=x,s=s.next}while(s!==null);y===null?h=y=i:y=y.next=i}else h=y=i;s={baseState:f.baseState,firstBaseUpdate:h,lastBaseUpdate:y,shared:f.shared,effects:f.effects},n.updateQueue=s;return}n=s.lastBaseUpdate,n===null?s.firstBaseUpdate=i:n.next=i,s.lastBaseUpdate=i}function Jc(n,i,s,f){var h=n.updateQueue;ro=!1;var y=h.firstBaseUpdate,x=h.lastBaseUpdate,O=h.shared.pending;if(O!==null){h.shared.pending=null;var A=O,G=A.next;A.next=null,x===null?y=G:x.next=G,x=A;var ae=n.alternate;ae!==null&&(ae=ae.updateQueue,O=ae.lastBaseUpdate,O!==x&&(O===null?ae.firstBaseUpdate=G:O.next=G,ae.lastBaseUpdate=A))}if(y!==null){var le=h.baseState;x=0,ae=G=A=null,O=y;do{var re=O.lane,be=O.eventTime;if((f&re)===re){ae!==null&&(ae=ae.next={eventTime:be,lane:0,tag:O.tag,payload:O.payload,callback:O.callback,next:null});e:{var Oe=n,Le=O;switch(re=i,be=s,Le.tag){case 1:if(Oe=Le.payload,typeof Oe=="function"){le=Oe.call(be,le,re);break e}le=Oe;break e;case 3:Oe.flags=Oe.flags&-65537|128;case 0:if(Oe=Le.payload,re=typeof Oe=="function"?Oe.call(be,le,re):Oe,re==null)break e;le=pe({},le,re);break e;case 2:ro=!0}}O.callback!==null&&O.lane!==0&&(n.flags|=64,re=h.effects,re===null?h.effects=[O]:re.push(O))}else be={eventTime:be,lane:re,tag:O.tag,payload:O.payload,callback:O.callback,next:null},ae===null?(G=ae=be,A=le):ae=ae.next=be,x|=re;if(O=O.next,O===null){if(O=h.shared.pending,O===null)break;re=O,O=re.next,re.next=null,h.lastBaseUpdate=re,h.shared.pending=null}}while(!0);if(ae===null&&(A=le),h.baseState=A,h.firstBaseUpdate=G,h.lastBaseUpdate=ae,i=h.shared.interleaved,i!==null){h=i;do x|=h.lane,h=h.next;while(h!==i)}else y===null&&(h.shared.lanes=0);tl|=x,n.lanes=x,n.memoizedState=le}}function pm(n,i,s){if(n=i.effects,i.effects=null,n!==null)for(i=0;i<n.length;i++){var f=n[i],h=f.callback;if(h!==null){if(f.callback=null,f=s,typeof h!="function")throw Error(o(191,h));h.call(f)}}}var Ss={},Ii=nt(Ss),Wl=nt(Ss),Es=nt(Ss);function Wo(n){if(n===Ss)throw Error(o(174));return n}function Tp(n,i){switch(Tt(Es,i),Tt(Wl,n),Tt(Ii,Ss),n=i.nodeType,n){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:dr(null,"");break;default:n=n===8?i.parentNode:i,i=n.namespaceURI||null,n=n.tagName,i=dr(i,n)}Ct(Ii),Tt(Ii,i)}function Yl(){Ct(Ii),Ct(Wl),Ct(Es)}function vm(n){Wo(Es.current);var i=Wo(Ii.current),s=dr(i,n.type);i!==s&&(Tt(Wl,n),Tt(Ii,s))}function wp(n){Wl.current===n&&(Ct(Ii),Ct(Wl))}var Ut=nt(0);function ed(n){for(var i=n;i!==null;){if(i.tag===13){var s=i.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if(i.flags&128)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var td=[];function xp(){for(var n=0;n<td.length;n++)td[n]._workInProgressVersionPrimary=null;td.length=0}var nd=me.ReactCurrentDispatcher,bs=me.ReactCurrentBatchConfig,Ae=0,Me=null,qe=null,lt=null,_r=!1,Kl=!1,Cs=0,O0=0;function Yn(){throw Error(o(321))}function Ts(n,i){if(i===null)return!1;for(var s=0;s<i.length&&s<n.length;s++)if(!Qr(n[s],i[s]))return!1;return!0}function ne(n,i,s,f,h,y){if(Ae=y,Me=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,nd.current=n===null||n.memoizedState===null?D0:At,n=s(f,h),Kl){y=0;do{if(Kl=!1,Cs=0,25<=y)throw Error(o(301));y+=1,lt=qe=null,i.updateQueue=null,nd.current=gd,n=s(f,h)}while(Kl)}if(nd.current=Kn,i=qe!==null&&qe.next!==null,Ae=0,lt=qe=Me=null,_r=!1,i)throw Error(o(300));return n}function un(){var n=Cs!==0;return Cs=0,n}function Ue(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return lt===null?Me.memoizedState=lt=n:lt=lt.next=n,lt}function An(){if(qe===null){var n=Me.alternate;n=n!==null?n.memoizedState:null}else n=qe.next;var i=lt===null?Me.memoizedState:lt.next;if(i!==null)lt=i,qe=n;else{if(n===null)throw Error(o(310));qe=n,n={memoizedState:qe.memoizedState,baseState:qe.baseState,baseQueue:qe.baseQueue,queue:qe.queue,next:null},lt===null?Me.memoizedState=lt=n:lt=lt.next=n}return lt}function Mr(n,i){return typeof i=="function"?i(n):i}function Ta(n){var i=An(),s=i.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=n;var f=qe,h=f.baseQueue,y=s.pending;if(y!==null){if(h!==null){var x=h.next;h.next=y.next,y.next=x}f.baseQueue=h=y,s.pending=null}if(h!==null){y=h.next,f=f.baseState;var O=x=null,A=null,G=y;do{var ae=G.lane;if((Ae&ae)===ae)A!==null&&(A=A.next={lane:0,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null}),f=G.hasEagerState?G.eagerState:n(f,G.action);else{var le={lane:ae,action:G.action,hasEagerState:G.hasEagerState,eagerState:G.eagerState,next:null};A===null?(O=A=le,x=f):A=A.next=le,Me.lanes|=ae,tl|=ae}G=G.next}while(G!==null&&G!==y);A===null?x=f:A.next=O,Qr(f,i.memoizedState)||(Er=!0),i.memoizedState=f,i.baseState=x,i.baseQueue=A,s.lastRenderedState=f}if(n=s.interleaved,n!==null){h=n;do y=h.lane,Me.lanes|=y,tl|=y,h=h.next;while(h!==n)}else h===null&&(s.lanes=0);return[i.memoizedState,s.dispatch]}function ri(n){var i=An(),s=i.queue;if(s===null)throw Error(o(311));s.lastRenderedReducer=n;var f=s.dispatch,h=s.pending,y=i.memoizedState;if(h!==null){s.pending=null;var x=h=h.next;do y=n(y,x.action),x=x.next;while(x!==h);Qr(y,i.memoizedState)||(Er=!0),i.memoizedState=y,i.baseQueue===null&&(i.baseState=y),s.lastRenderedState=y}return[y,f]}function Ql(){}function Yo(n,i){var s=Me,f=An(),h=i(),y=!Qr(f.memoizedState,h);if(y&&(f.memoizedState=h,Er=!0),f=f.queue,ws(id.bind(null,s,f,n),[n]),f.getSnapshot!==i||y||lt!==null&<.memoizedState.tag&1){if(s.flags|=2048,Ko(9,rd.bind(null,s,f,h,i),void 0,null),qt===null)throw Error(o(349));Ae&30||ql(s,i,h)}return h}function ql(n,i,s){n.flags|=16384,n={getSnapshot:i,value:s},i=Me.updateQueue,i===null?(i={lastEffect:null,stores:null},Me.updateQueue=i,i.stores=[n]):(s=i.stores,s===null?i.stores=[n]:s.push(n))}function rd(n,i,s,f){i.value=s,i.getSnapshot=f,ad(i)&&od(n)}function id(n,i,s){return s(function(){ad(i)&&od(n)})}function ad(n){var i=n.getSnapshot;n=n.value;try{var s=i();return!Qr(n,s)}catch{return!0}}function od(n){var i=Ca(n,1);i!==null&&jt(i,n,1,-1)}function ld(n){var i=Ue();return typeof n=="function"&&(n=n()),i.memoizedState=i.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Mr,lastRenderedState:n},i.queue=n,n=n.dispatch=xs.bind(null,Me,n),[i.memoizedState,n]}function Ko(n,i,s,f){return n={tag:n,create:i,destroy:s,deps:f,next:null},i=Me.updateQueue,i===null?(i={lastEffect:null,stores:null},Me.updateQueue=i,i.lastEffect=n.next=n):(s=i.lastEffect,s===null?i.lastEffect=n.next=n:(f=s.next,s.next=n,n.next=f,i.lastEffect=n)),n}function ud(){return An().memoizedState}function Xl(n,i,s,f){var h=Ue();Me.flags|=n,h.memoizedState=Ko(1|i,s,void 0,f===void 0?null:f)}function Zl(n,i,s,f){var h=An();f=f===void 0?null:f;var y=void 0;if(qe!==null){var x=qe.memoizedState;if(y=x.destroy,f!==null&&Ts(f,x.deps)){h.memoizedState=Ko(i,s,y,f);return}}Me.flags|=n,h.memoizedState=Ko(1|i,s,y,f)}function sd(n,i){return Xl(8390656,8,n,i)}function ws(n,i){return Zl(2048,8,n,i)}function cd(n,i){return Zl(4,2,n,i)}function dd(n,i){return Zl(4,4,n,i)}function fd(n,i){if(typeof i=="function")return n=n(),i(n),function(){i(null)};if(i!=null)return n=n(),i.current=n,function(){i.current=null}}function pd(n,i,s){return s=s!=null?s.concat([n]):null,Zl(4,4,fd.bind(null,i,n),s)}function Jl(){}function Qo(n,i){var s=An();i=i===void 0?null:i;var f=s.memoizedState;return f!==null&&i!==null&&Ts(i,f[1])?f[0]:(s.memoizedState=[n,i],n)}function vd(n,i){var s=An();i=i===void 0?null:i;var f=s.memoizedState;return f!==null&&i!==null&&Ts(i,f[1])?f[0]:(n=n(),s.memoizedState=[n,i],n)}function hd(n,i,s){return Ae&21?(Qr(s,i)||(s=xc(),Me.lanes|=s,tl|=s,n.baseState=!0),i):(n.baseState&&(n.baseState=!1,Er=!0),n.memoizedState=s)}function Rp(n,i){var s=xt;xt=s!==0&&4>s?s:4,n(!0);var f=bs.transition;bs.transition={};try{n(!1),i()}finally{xt=s,bs.transition=f}}function md(){return An().memoizedState}function hm(n,i,s){var f=Ra(n);if(s={lane:f,action:s,hasEagerState:!1,eagerState:null,next:null},kp(n))eu(i,s);else if(s=dm(n,i,s,f),s!==null){var h=Dn();jt(s,n,f,h),ao(s,i,f)}}function xs(n,i,s){var f=Ra(n),h={lane:f,action:s,hasEagerState:!1,eagerState:null,next:null};if(kp(n))eu(i,h);else{var y=n.alternate;if(n.lanes===0&&(y===null||y.lanes===0)&&(y=i.lastRenderedReducer,y!==null))try{var x=i.lastRenderedState,O=y(x,s);if(h.hasEagerState=!0,h.eagerState=O,Qr(O,x)){var A=i.interleaved;A===null?(h.next=h,ln(i)):(h.next=A.next,A.next=h),i.interleaved=h;return}}catch{}finally{}s=dm(n,i,h,f),s!==null&&(h=Dn(),jt(s,n,f,h),ao(s,i,f))}}function kp(n){var i=n.alternate;return n===Me||i!==null&&i===Me}function eu(n,i){Kl=_r=!0;var s=n.pending;s===null?i.next=i:(i.next=s.next,s.next=i),n.pending=i}function ao(n,i,s){if(s&4194240){var f=i.lanes;f&=n.pendingLanes,s|=f,i.lanes=s,qu(n,s)}}var Kn={readContext:ni,useCallback:Yn,useContext:Yn,useEffect:Yn,useImperativeHandle:Yn,useInsertionEffect:Yn,useLayoutEffect:Yn,useMemo:Yn,useReducer:Yn,useRef:Yn,useState:Yn,useDebugValue:Yn,useDeferredValue:Yn,useTransition:Yn,useMutableSource:Yn,useSyncExternalStore:Yn,useId:Yn,unstable_isNewReconciler:!1},D0={readContext:ni,useCallback:function(n,i){return Ue().memoizedState=[n,i===void 0?null:i],n},useContext:ni,useEffect:sd,useImperativeHandle:function(n,i,s){return s=s!=null?s.concat([n]):null,Xl(4194308,4,fd.bind(null,i,n),s)},useLayoutEffect:function(n,i){return Xl(4194308,4,n,i)},useInsertionEffect:function(n,i){return Xl(4,2,n,i)},useMemo:function(n,i){var s=Ue();return i=i===void 0?null:i,n=n(),s.memoizedState=[n,i],n},useReducer:function(n,i,s){var f=Ue();return i=s!==void 0?s(i):i,f.memoizedState=f.baseState=i,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:i},f.queue=n,n=n.dispatch=hm.bind(null,Me,n),[f.memoizedState,n]},useRef:function(n){var i=Ue();return n={current:n},i.memoizedState=n},useState:ld,useDebugValue:Jl,useDeferredValue:function(n){return Ue().memoizedState=n},useTransition:function(){var n=ld(!1),i=n[0];return n=Rp.bind(null,n[1]),Ue().memoizedState=n,[i,n]},useMutableSource:function(){},useSyncExternalStore:function(n,i,s){var f=Me,h=Ue();if(Mt){if(s===void 0)throw Error(o(407));s=s()}else{if(s=i(),qt===null)throw Error(o(349));Ae&30||ql(f,i,s)}h.memoizedState=s;var y={value:s,getSnapshot:i};return h.queue=y,sd(id.bind(null,f,y,n),[n]),f.flags|=2048,Ko(9,rd.bind(null,f,y,s,i),void 0,null),s},useId:function(){var n=Ue(),i=qt.identifierPrefix;if(Mt){var s=Ea,f=In;s=(f&~(1<<32-Wr(f)-1)).toString(32)+s,i=":"+i+"R"+s,s=Cs++,0<s&&(i+="H"+s.toString(32)),i+=":"}else s=O0++,i=":"+i+"r"+s.toString(32)+":";return n.memoizedState=i},unstable_isNewReconciler:!1},At={readContext:ni,useCallback:Qo,useContext:ni,useEffect:ws,useImperativeHandle:pd,useInsertionEffect:cd,useLayoutEffect:dd,useMemo:vd,useReducer:Ta,useRef:ud,useState:function(){return Ta(Mr)},useDebugValue:Jl,useDeferredValue:function(n){var i=An();return hd(i,qe.memoizedState,n)},useTransition:function(){var n=Ta(Mr)[0],i=An().memoizedState;return[n,i]},useMutableSource:Ql,useSyncExternalStore:Yo,useId:md,unstable_isNewReconciler:!1},gd={readContext:ni,useCallback:Qo,useContext:ni,useEffect:ws,useImperativeHandle:pd,useInsertionEffect:cd,useLayoutEffect:dd,useMemo:vd,useReducer:ri,useRef:ud,useState:function(){return ri(Mr)},useDebugValue:Jl,useDeferredValue:function(n){var i=An();return qe===null?i.memoizedState=n:hd(i,qe.memoizedState,n)},useTransition:function(){var n=ri(Mr)[0],i=An().memoizedState;return[n,i]},useMutableSource:Ql,useSyncExternalStore:Yo,useId:md,unstable_isNewReconciler:!1};function Sr(n,i){if(n&&n.defaultProps){i=pe({},i),n=n.defaultProps;for(var s in n)i[s]===void 0&&(i[s]=n[s]);return i}return i}function qo(n,i,s,f){i=n.memoizedState,s=s(f,i),s=s==null?i:pe({},i,s),n.memoizedState=s,n.lanes===0&&(n.updateQueue.baseState=s)}var Xo={isMounted:function(n){return(n=n._reactInternals)?Wi(n)===n:!1},enqueueSetState:function(n,i,s){n=n._reactInternals;var f=Dn(),h=Ra(n),y=yr(f,h);y.payload=i,s!=null&&(y.callback=s),i=io(n,y,h),i!==null&&(jt(i,n,h,f),Zc(i,n,h))},enqueueReplaceState:function(n,i,s){n=n._reactInternals;var f=Dn(),h=Ra(n),y=yr(f,h);y.tag=1,y.payload=i,s!=null&&(y.callback=s),i=io(n,y,h),i!==null&&(jt(i,n,h,f),Zc(i,n,h))},enqueueForceUpdate:function(n,i){n=n._reactInternals;var s=Dn(),f=Ra(n),h=yr(s,f);h.tag=2,i!=null&&(h.callback=i),i=io(n,h,f),i!==null&&(jt(i,n,f,s),Zc(i,n,f))}};function mm(n,i,s,f,h,y,x){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(f,y,x):i.prototype&&i.prototype.isPureReactComponent?!ls(s,f)||!ls(h,y):!0}function gm(n,i,s){var f=!1,h=Ki,y=i.contextType;return typeof y=="object"&&y!==null?y=ni(y):(h=zt(i)?pr:Qe.current,f=i.contextTypes,y=(f=f!=null)?Xr(n,h):Ki),i=new i(s,y),n.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Xo,n.stateNode=i,i._reactInternals=n,f&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=h,n.__reactInternalMemoizedMaskedChildContext=y),i}function ym(n,i,s,f){n=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(s,f),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(s,f),i.state!==n&&Xo.enqueueReplaceState(i,i.state,null)}function Op(n,i,s,f){var h=n.stateNode;h.props=s,h.state=n.memoizedState,h.refs={},Xc(n);var y=i.contextType;typeof y=="object"&&y!==null?h.context=ni(y):(y=zt(i)?pr:Qe.current,h.context=Xr(n,y)),h.state=n.memoizedState,y=i.getDerivedStateFromProps,typeof y=="function"&&(qo(n,i,y,s),h.state=n.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(i=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),i!==h.state&&Xo.enqueueReplaceState(h,h.state,null),Jc(n,s,h,f),h.state=n.memoizedState),typeof h.componentDidMount=="function"&&(n.flags|=4194308)}function oo(n,i){try{var s="",f=i;do s+=Ei(f),f=f.return;while(f);var h=s}catch(y){h=`
|
|
173
173
|
Error generating stack: `+y.message+`
|
|
174
|
-
`+y.stack}return{value:n,source:r,stack:v,digest:null}}function yp(n,r,s){return{value:n,source:null,stack:s??null,digest:r??null}}function ys(n,r){try{console.error(r.value)}catch(s){setTimeout(function(){throw s})}}var cm=typeof WeakMap=="function"?WeakMap:Map;function dm(n,r,s){s=hr(-1,s),s.tag=3,s.payload={element:null};var f=r.value;return s.callback=function(){Sd||(Sd=!0,kp=f),ys(n,r)},s}function fm(n,r,s){s=hr(-1,s),s.tag=3;var f=n.type.getDerivedStateFromError;if(typeof f=="function"){var v=r.value;s.payload=function(){return f(v)},s.callback=function(){ys(n,r)}}var y=n.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(s.callback=function(){ys(n,r),typeof f!="function"&&(ni===null?ni=new Set([this]):ni.add(this));var T=r.stack;this.componentDidCatch(r.value,{componentStack:T!==null?T:""})}),s}function Ss(n,r,s){var f=n.pingCache;if(f===null){f=n.pingCache=new cm;var v=new Set;f.set(r,v)}else v=f.get(r),v===void 0&&(v=new Set,f.set(r,v));v.has(s)||(v.add(s),n=T0.bind(null,n,r,s),r.then(n,n))}function pm(n){do{var r;if((r=n.tag===13)&&(r=n.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return n;n=n.return}while(n!==null);return null}function Sp(n,r,s,f,v){return n.mode&1?(n.flags|=65536,n.lanes=v,n):(n===r?n.flags|=65536:(n.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(r=hr(-1,1),r.tag=2,Za(s,r,1))),s.lanes|=1),n)}var vm=He.ReactCurrentOwner,gr=!1;function Jt(n,r,s,f){r.child=n===null?tm(r,null,s,f):Ml(r,n.child,s,f)}function Yl(n,r,s,f,v){s=s.render;var y=r.ref;return Pl(r,v),f=ee(n,r,s,f,y,v),s=un(),n!==null&&!gr?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~v,en(n,r,v)):(It&&s&&Mc(r),r.flags|=1,Jt(n,r,f,v),r.child)}function to(n,r,s,f,v){if(n===null){var y=s.type;return typeof y=="function"&&!_p(y)&&y.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(r.tag=15,r.type=y,ud(n,r,y,f,v)):(n=wd(s.type,null,f,r,r.mode,v),n.ref=r.ref,n.return=r,r.child=n)}if(y=n.child,!(n.lanes&v)){var T=y.memoizedProps;if(s=s.compare,s=s!==null?s:Ju,s(T,f)&&n.ref===r.ref)return en(n,r,v)}return r.flags|=1,n=io(y,f),n.ref=r.ref,n.return=r,r.child=n}function ud(n,r,s,f,v){if(n!==null){var y=n.memoizedProps;if(Ju(y,f)&&n.ref===r.ref)if(gr=!1,r.pendingProps=f=y,(n.lanes&v)!==0)n.flags&131072&&(gr=!0);else return r.lanes=n.lanes,en(n,r,v)}return et(n,r,s,f,v)}function yr(n,r,s){var f=r.pendingProps,v=f.children,y=n!==null?n.memoizedState:null;if(f.mode==="hidden")if(!(r.mode&1))r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ct(ru,Sr),Sr|=s;else{if(!(s&1073741824))return n=y!==null?y.baseLanes|s:s,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:n,cachePool:null,transitions:null},r.updateQueue=null,Ct(ru,Sr),Sr|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},f=y!==null?y.baseLanes:s,Ct(ru,Sr),Sr|=f}else y!==null?(f=y.baseLanes|s,r.memoizedState=null):f=s,Ct(ru,Sr),Sr|=f;return Jt(n,r,v,s),r.child}function Go(n,r){var s=r.ref;(n===null&&s!==null||n!==null&&n.ref!==s)&&(r.flags|=512,r.flags|=2097152)}function et(n,r,s,f,v){var y=zt(s)?cr:Qe.current;return y=Yr(r,y),Pl(r,v),s=ee(n,r,s,f,y,v),f=un(),n!==null&&!gr?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~v,en(n,r,v)):(It&&f&&Mc(r),r.flags|=1,Jt(n,r,s,v),r.child)}function bs(n,r,s,f,v){if(zt(s)){var y=!0;Ic(r)}else y=!1;if(Pl(r,v),r.stateNode===null)Cs(n,r),um(r,s,f),gp(r,s,f,v),f=!0;else if(n===null){var T=r.stateNode,L=r.memoizedProps;T.props=L;var M=T.context,$=s.contextType;typeof $=="object"&&$!==null?$=Zr($):($=zt(s)?cr:Qe.current,$=Yr(r,$));var re=s.getDerivedStateFromProps,ae=typeof re=="function"||typeof T.getSnapshotBeforeUpdate=="function";ae||typeof T.UNSAFE_componentWillReceiveProps!="function"&&typeof T.componentWillReceiveProps!="function"||(L!==f||M!==$)&&sm(r,T,f,$),qa=!1;var te=r.memoizedState;T.state=te,Bc(r,f,T,v),M=r.memoizedState,L!==f||te!==M||Kt.current||qa?(typeof re=="function"&&(Bo(r,s,re,f),M=r.memoizedState),(L=qa||lm(r,s,L,f,te,M,$))?(ae||typeof T.UNSAFE_componentWillMount!="function"&&typeof T.componentWillMount!="function"||(typeof T.componentWillMount=="function"&&T.componentWillMount(),typeof T.UNSAFE_componentWillMount=="function"&&T.UNSAFE_componentWillMount()),typeof T.componentDidMount=="function"&&(r.flags|=4194308)):(typeof T.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=f,r.memoizedState=M),T.props=f,T.state=M,T.context=$,f=L):(typeof T.componentDidMount=="function"&&(r.flags|=4194308),f=!1)}else{T=r.stateNode,Fl(n,r),L=r.memoizedProps,$=r.type===r.elementType?L:mr(r.type,L),T.props=$,ae=r.pendingProps,te=T.context,M=s.contextType,typeof M=="object"&&M!==null?M=Zr(M):(M=zt(s)?cr:Qe.current,M=Yr(r,M));var ge=s.getDerivedStateFromProps;(re=typeof ge=="function"||typeof T.getSnapshotBeforeUpdate=="function")||typeof T.UNSAFE_componentWillReceiveProps!="function"&&typeof T.componentWillReceiveProps!="function"||(L!==ae||te!==M)&&sm(r,T,f,M),qa=!1,te=r.memoizedState,T.state=te,Bc(r,f,T,v);var Re=r.memoizedState;L!==ae||te!==Re||Kt.current||qa?(typeof ge=="function"&&(Bo(r,s,ge,f),Re=r.memoizedState),($=qa||lm(r,s,$,f,te,Re,M)||!1)?(re||typeof T.UNSAFE_componentWillUpdate!="function"&&typeof T.componentWillUpdate!="function"||(typeof T.componentWillUpdate=="function"&&T.componentWillUpdate(f,Re,M),typeof T.UNSAFE_componentWillUpdate=="function"&&T.UNSAFE_componentWillUpdate(f,Re,M)),typeof T.componentDidUpdate=="function"&&(r.flags|=4),typeof T.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof T.componentDidUpdate!="function"||L===n.memoizedProps&&te===n.memoizedState||(r.flags|=4),typeof T.getSnapshotBeforeUpdate!="function"||L===n.memoizedProps&&te===n.memoizedState||(r.flags|=1024),r.memoizedProps=f,r.memoizedState=Re),T.props=f,T.state=Re,T.context=M,f=$):(typeof T.componentDidUpdate!="function"||L===n.memoizedProps&&te===n.memoizedState||(r.flags|=4),typeof T.getSnapshotBeforeUpdate!="function"||L===n.memoizedProps&&te===n.memoizedState||(r.flags|=1024),f=!1)}return sd(n,r,s,f,y,v)}function sd(n,r,s,f,v,y){Go(n,r);var T=(r.flags&128)!==0;if(!f&&!T)return v&&Xh(r,s,!1),en(n,r,y);f=r.stateNode,vm.current=r;var L=T&&typeof s.getDerivedStateFromError!="function"?null:f.render();return r.flags|=1,n!==null&&T?(r.child=Ml(r,n.child,null,y),r.child=Ml(r,null,L,y)):Jt(n,r,L,y),r.memoizedState=f.state,v&&Xh(r,s,!0),r.child}function v0(n){var r=n.stateNode;r.pendingContext?Qa(n,r.pendingContext,r.pendingContext!==r.context):r.context&&Qa(n,r.context,!1),fp(n,r.containerInfo)}function hm(n,r,s,f,v){return jt(),sp(v),r.flags|=256,Jt(n,r,s,f),r.child}var Es={dehydrated:null,treeContext:null,retryLane:0};function Wo(n){return{baseLanes:n,cachePool:null,transitions:null}}function mm(n,r,s){var f=r.pendingProps,v=Ut.current,y=!1,T=(r.flags&128)!==0,L;if((L=T)||(L=n!==null&&n.memoizedState===null?!1:(v&2)!==0),L?(y=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(v|=1),Ct(Ut,v&1),n===null)return Fc(r),n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(r.mode&1?n.data==="$!"?r.lanes=8:r.lanes=1073741824:r.lanes=1,null):(T=f.children,n=f.fallback,y?(f=r.mode,y=r.child,T={mode:"hidden",children:T},!(f&1)&&y!==null?(y.childLanes=0,y.pendingProps=T):y=Rd(T,f,0,null),n=Zo(n,f,s,null),y.return=r,n.return=r,y.sibling=n,r.child=y,r.child.memoizedState=Wo(s),r.memoizedState=Es,n):cd(r,T));if(v=n.memoizedState,v!==null&&(L=v.dehydrated,L!==null))return bp(n,r,T,f,L,v,s);if(y){y=f.fallback,T=r.mode,v=n.child,L=v.sibling;var M={mode:"hidden",children:f.children};return!(T&1)&&r.child!==v?(f=r.child,f.childLanes=0,f.pendingProps=M,r.deletions=null):(f=io(v,M),f.subtreeFlags=v.subtreeFlags&14680064),L!==null?y=io(L,y):(y=Zo(y,T,s,null),y.flags|=2),y.return=r,f.return=r,f.sibling=y,r.child=f,f=y,y=r.child,T=n.child.memoizedState,T=T===null?Wo(s):{baseLanes:T.baseLanes|s,cachePool:null,transitions:T.transitions},y.memoizedState=T,y.childLanes=n.childLanes&~s,r.memoizedState=Es,f}return y=n.child,n=y.sibling,f=io(y,{mode:"visible",children:f.children}),!(r.mode&1)&&(f.lanes=s),f.return=r,f.sibling=null,n!==null&&(s=r.deletions,s===null?(r.deletions=[n],r.flags|=16):s.push(n)),r.child=f,r.memoizedState=null,f}function cd(n,r){return r=Rd({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function dd(n,r,s,f){return f!==null&&sp(f),Ml(r,n.child,null,s),n=cd(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function bp(n,r,s,f,v,y,T){if(s)return r.flags&256?(r.flags&=-257,f=yp(Error(l(422))),dd(n,r,T,f)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(y=f.fallback,v=r.mode,f=Rd({mode:"visible",children:f.children},v,0,null),y=Zo(y,v,T,null),y.flags|=2,f.return=r,y.return=r,f.sibling=y,r.child=f,r.mode&1&&Ml(r,n.child,null,T),r.child.memoizedState=Wo(T),r.memoizedState=Es,y);if(!(r.mode&1))return dd(n,r,T,null);if(v.data==="$!"){if(f=v.nextSibling&&v.nextSibling.dataset,f)var L=f.dgst;return f=L,y=Error(l(419)),f=yp(y,f,void 0),dd(n,r,T,f)}if(L=(T&n.childLanes)!==0,gr||L){if(f=Xt,f!==null){switch(T&-T){case 4:v=2;break;case 16:v=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:v=32;break;case 536870912:v=268435456;break;default:v=0}v=v&(f.suspendedLanes|T)?0:v,v!==0&&v!==y.retryLane&&(y.retryLane=v,ya(n,v),Bt(f,n,v,-1))}return ks(),f=yp(Error(l(421))),dd(n,r,T,f)}return v.data==="$?"?(r.flags|=128,r.child=n.child,r=Lp.bind(null,n),v._reactRetry=r,null):(n=y.treeContext,vr=Ri(v.nextSibling),Dr=r,It=!0,Xr=null,n!==null&&(pr[$n++]=Nn,pr[$n++]=ma,pr[$n++]=Qr,Nn=n.id,ma=n.overflow,Qr=r),r=cd(r,f.children),r.flags|=4096,r)}function gm(n,r,s){n.lanes|=r;var f=n.alternate;f!==null&&(f.lanes|=r),dp(n.return,r,s)}function fd(n,r,s,f,v){var y=n.memoizedState;y===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:f,tail:s,tailMode:v}:(y.isBackwards=r,y.rendering=null,y.renderingStartTime=0,y.last=f,y.tail=s,y.tailMode=v)}function Ep(n,r,s){var f=r.pendingProps,v=f.revealOrder,y=f.tail;if(Jt(n,r,f.children,s),f=Ut.current,f&2)f=f&1|2,r.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&gm(n,s,r);else if(n.tag===19)gm(n,s,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}f&=1}if(Ct(Ut,f),!(r.mode&1))r.memoizedState=null;else switch(v){case"forwards":for(s=r.child,v=null;s!==null;)n=s.alternate,n!==null&&$c(n)===null&&(v=s),s=s.sibling;s=v,s===null?(v=r.child,r.child=null):(v=s.sibling,s.sibling=null),fd(r,!1,v,s,y);break;case"backwards":for(s=null,v=r.child,r.child=null;v!==null;){if(n=v.alternate,n!==null&&$c(n)===null){r.child=v;break}n=v.sibling,v.sibling=s,s=v,v=n}fd(r,!0,s,null,y);break;case"together":fd(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Cs(n,r){!(r.mode&1)&&n!==null&&(n.alternate=null,r.alternate=null,r.flags|=2)}function en(n,r,s){if(n!==null&&(r.dependencies=n.dependencies),Ko|=r.lanes,!(s&r.childLanes))return null;if(n!==null&&r.child!==n.child)throw Error(l(153));if(r.child!==null){for(n=r.child,s=io(n,n.pendingProps),r.child=s,s.return=r;n.sibling!==null;)n=n.sibling,s=s.sibling=io(n,n.pendingProps),s.return=r;s.sibling=null}return r.child}function ba(n,r,s){switch(r.tag){case 3:v0(r),jt();break;case 5:am(r);break;case 1:zt(r.type)&&Ic(r);break;case 4:fp(r,r.stateNode.containerInfo);break;case 10:var f=r.type._context,v=r.memoizedProps.value;Ct(ga,f._currentValue),f._currentValue=v;break;case 13:if(f=r.memoizedState,f!==null)return f.dehydrated!==null?(Ct(Ut,Ut.current&1),r.flags|=128,null):s&r.child.childLanes?mm(n,r,s):(Ct(Ut,Ut.current&1),n=en(n,r,s),n!==null?n.sibling:null);Ct(Ut,Ut.current&1);break;case 19:if(f=(s&r.childLanes)!==0,n.flags&128){if(f)return Ep(n,r,s);r.flags|=128}if(v=r.memoizedState,v!==null&&(v.rendering=null,v.tail=null,v.lastEffect=null),Ct(Ut,Ut.current),f)break;return null;case 22:case 23:return r.lanes=0,yr(n,r,s)}return en(n,r,s)}var Bi,Kl,Ql,ei;Bi=function(n,r){for(var s=r.child;s!==null;){if(s.tag===5||s.tag===6)n.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)break;for(;s.sibling===null;){if(s.return===null||s.return===r)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},Kl=function(){},Ql=function(n,r,s,f){var v=n.memoizedProps;if(v!==f){n=r.stateNode,Uo(ki.current);var y=null;switch(s){case"input":v=lr(n,v),f=lr(n,f),y=[];break;case"select":v=ce({},v,{value:void 0}),f=ce({},f,{value:void 0}),y=[];break;case"textarea":v=xo(n,v),f=xo(n,f),y=[];break;default:typeof v.onClick!="function"&&typeof f.onClick=="function"&&(n.onclick=Ac)}jn(s,f);var T;s=null;for($ in v)if(!f.hasOwnProperty($)&&v.hasOwnProperty($)&&v[$]!=null)if($==="style"){var L=v[$];for(T in L)L.hasOwnProperty(T)&&(s||(s={}),s[T]="")}else $!=="dangerouslySetInnerHTML"&&$!=="children"&&$!=="suppressContentEditableWarning"&&$!=="suppressHydrationWarning"&&$!=="autoFocus"&&(g.hasOwnProperty($)?y||(y=[]):(y=y||[]).push($,null));for($ in f){var M=f[$];if(L=v!=null?v[$]:void 0,f.hasOwnProperty($)&&M!==L&&(M!=null||L!=null))if($==="style")if(L){for(T in L)!L.hasOwnProperty(T)||M&&M.hasOwnProperty(T)||(s||(s={}),s[T]="");for(T in M)M.hasOwnProperty(T)&&L[T]!==M[T]&&(s||(s={}),s[T]=M[T])}else s||(y||(y=[]),y.push($,s)),s=M;else $==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,L=L?L.__html:void 0,M!=null&&L!==M&&(y=y||[]).push($,M)):$==="children"?typeof M!="string"&&typeof M!="number"||(y=y||[]).push($,""+M):$!=="suppressContentEditableWarning"&&$!=="suppressHydrationWarning"&&(g.hasOwnProperty($)?(M!=null&&$==="onScroll"&&Lt("scroll",n),y||L===M||(y=[])):(y=y||[]).push($,M))}s&&(y=y||[]).push("style",s);var $=y;(r.updateQueue=$)&&(r.flags|=4)}},ei=function(n,r,s,f){s!==f&&(r.flags|=4)};function Qt(n,r){if(!It)switch(n.tailMode){case"hidden":r=n.tail;for(var s=null;r!==null;)r.alternate!==null&&(s=r),r=r.sibling;s===null?n.tail=null:s.sibling=null;break;case"collapsed":s=n.tail;for(var f=null;s!==null;)s.alternate!==null&&(f=s),s=s.sibling;f===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:f.sibling=null}}function Yn(n){var r=n.alternate!==null&&n.alternate.child===n.child,s=0,f=0;if(r)for(var v=n.child;v!==null;)s|=v.lanes|v.childLanes,f|=v.subtreeFlags&14680064,f|=v.flags&14680064,v.return=n,v=v.sibling;else for(v=n.child;v!==null;)s|=v.lanes|v.childLanes,f|=v.subtreeFlags,f|=v.flags,v.return=n,v=v.sibling;return n.subtreeFlags|=f,n.childLanes=s,r}function h0(n,r,s){var f=r.pendingProps;switch(lp(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Yn(r),null;case 1:return zt(r.type)&&Kr(),Yn(r),null;case 3:return f=r.stateNode,Ul(),bt(Kt),bt(Qe),vp(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),(n===null||n.child===null)&&(zc(r)?r.flags|=4:n===null||n.memoizedState.isDehydrated&&!(r.flags&256)||(r.flags|=1024,Xr!==null&&(Op(Xr),Xr=null))),Kl(n,r),Yn(r),null;case 5:pp(r);var v=Uo(fs.current);if(s=r.type,n!==null&&r.stateNode!=null)Ql(n,r,s,f,v),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!f){if(r.stateNode===null)throw Error(l(166));return Yn(r),null}if(n=Uo(ki.current),zc(r)){f=r.stateNode,s=r.type;var y=r.memoizedProps;switch(f[Hi]=r,f[Mo]=y,n=(r.mode&1)!==0,s){case"dialog":Lt("cancel",f),Lt("close",f);break;case"iframe":case"object":case"embed":Lt("load",f);break;case"video":case"audio":for(v=0;v<rs.length;v++)Lt(rs[v],f);break;case"source":Lt("error",f);break;case"img":case"image":case"link":Lt("error",f),Lt("load",f);break;case"details":Lt("toggle",f);break;case"input":Hr(f,y),Lt("invalid",f);break;case"select":f._wrapperState={wasMultiple:!!y.multiple},Lt("invalid",f);break;case"textarea":yi(f,y),Lt("invalid",f)}jn(s,y),v=null;for(var T in y)if(y.hasOwnProperty(T)){var L=y[T];T==="children"?typeof L=="string"?f.textContent!==L&&(y.suppressHydrationWarning!==!0&&_c(f.textContent,L,n),v=["children",L]):typeof L=="number"&&f.textContent!==""+L&&(y.suppressHydrationWarning!==!0&&_c(f.textContent,L,n),v=["children",""+L]):g.hasOwnProperty(T)&&L!=null&&T==="onScroll"&&Lt("scroll",f)}switch(s){case"input":Ur(f),oa(f,y,!0);break;case"textarea":Ur(f),Fi(f);break;case"select":case"option":break;default:typeof y.onClick=="function"&&(f.onclick=Ac)}f=v,r.updateQueue=f,f!==null&&(r.flags|=4)}else{T=v.nodeType===9?v:v.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=Ua(s)),n==="http://www.w3.org/1999/xhtml"?s==="script"?(n=T.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof f.is=="string"?n=T.createElement(s,{is:f.is}):(n=T.createElement(s),s==="select"&&(T=n,f.multiple?T.multiple=!0:f.size&&(T.size=f.size))):n=T.createElementNS(n,s),n[Hi]=r,n[Mo]=f,Bi(n,r,!1,!1),r.stateNode=n;e:{switch(T=pn(s,f),s){case"dialog":Lt("cancel",n),Lt("close",n),v=f;break;case"iframe":case"object":case"embed":Lt("load",n),v=f;break;case"video":case"audio":for(v=0;v<rs.length;v++)Lt(rs[v],n);v=f;break;case"source":Lt("error",n),v=f;break;case"img":case"image":case"link":Lt("error",n),Lt("load",n),v=f;break;case"details":Lt("toggle",n),v=f;break;case"input":Hr(n,f),v=lr(n,f),Lt("invalid",n);break;case"option":v=f;break;case"select":n._wrapperState={wasMultiple:!!f.multiple},v=ce({},f,{value:void 0}),Lt("invalid",n);break;case"textarea":yi(n,f),v=xo(n,f),Lt("invalid",n);break;default:v=f}jn(s,v),L=v;for(y in L)if(L.hasOwnProperty(y)){var M=L[y];y==="style"?Nt(n,M):y==="dangerouslySetInnerHTML"?(M=M?M.__html:void 0,M!=null&&Fu(n,M)):y==="children"?typeof M=="string"?(s!=="textarea"||M!=="")&&Ha(n,M):typeof M=="number"&&Ha(n,""+M):y!=="suppressContentEditableWarning"&&y!=="suppressHydrationWarning"&&y!=="autoFocus"&&(g.hasOwnProperty(y)?M!=null&&y==="onScroll"&&Lt("scroll",n):M!=null&&pe(n,y,M,T))}switch(s){case"input":Ur(n),oa(n,f,!1);break;case"textarea":Ur(n),Fi(n);break;case"option":f.value!=null&&n.setAttribute("value",""+mi(f.value));break;case"select":n.multiple=!!f.multiple,y=f.value,y!=null?Fa(n,!!f.multiple,y,!1):f.defaultValue!=null&&Fa(n,!!f.multiple,f.defaultValue,!0);break;default:typeof v.onClick=="function"&&(n.onclick=Ac)}switch(s){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}}f&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return Yn(r),null;case 6:if(n&&r.stateNode!=null)ei(n,r,n.memoizedProps,f);else{if(typeof f!="string"&&r.stateNode===null)throw Error(l(166));if(s=Uo(fs.current),Uo(ki.current),zc(r)){if(f=r.stateNode,s=r.memoizedProps,f[Hi]=r,(y=f.nodeValue!==s)&&(n=Dr,n!==null))switch(n.tag){case 3:_c(f.nodeValue,s,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&_c(f.nodeValue,s,(n.mode&1)!==0)}y&&(r.flags|=4)}else f=(s.nodeType===9?s:s.ownerDocument).createTextNode(f),f[Hi]=r,r.stateNode=f}return Yn(r),null;case 13:if(bt(Ut),f=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(It&&vr!==null&&r.mode&1&&!(r.flags&128))Jh(),jt(),r.flags|=98560,y=!1;else if(y=zc(r),f!==null&&f.dehydrated!==null){if(n===null){if(!y)throw Error(l(318));if(y=r.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(l(317));y[Hi]=r}else jt(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;Yn(r),y=!1}else Xr!==null&&(Op(Xr),Xr=null),y=!0;if(!y)return r.flags&65536?r:null}return r.flags&128?(r.lanes=s,r):(f=f!==null,f!==(n!==null&&n.memoizedState!==null)&&f&&(r.child.flags|=8192,r.mode&1&&(n===null||Ut.current&1?gn===0&&(gn=3):ks())),r.updateQueue!==null&&(r.flags|=4),Yn(r),null);case 4:return Ul(),Kl(n,r),n===null&&_l(r.stateNode.containerInfo),Yn(r),null;case 10:return cp(r.type._context),Yn(r),null;case 17:return zt(r.type)&&Kr(),Yn(r),null;case 19:if(bt(Ut),y=r.memoizedState,y===null)return Yn(r),null;if(f=(r.flags&128)!==0,T=y.rendering,T===null)if(f)Qt(y,!1);else{if(gn!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(T=$c(n),T!==null){for(r.flags|=128,Qt(y,!1),f=T.updateQueue,f!==null&&(r.updateQueue=f,r.flags|=4),r.subtreeFlags=0,f=s,s=r.child;s!==null;)y=s,n=f,y.flags&=14680066,T=y.alternate,T===null?(y.childLanes=0,y.lanes=n,y.child=null,y.subtreeFlags=0,y.memoizedProps=null,y.memoizedState=null,y.updateQueue=null,y.dependencies=null,y.stateNode=null):(y.childLanes=T.childLanes,y.lanes=T.lanes,y.child=T.child,y.subtreeFlags=0,y.deletions=null,y.memoizedProps=T.memoizedProps,y.memoizedState=T.memoizedState,y.updateQueue=T.updateQueue,y.type=T.type,n=T.dependencies,y.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),s=s.sibling;return Ct(Ut,Ut.current&1|2),r.child}n=n.sibling}y.tail!==null&&Yt()>au&&(r.flags|=128,f=!0,Qt(y,!1),r.lanes=4194304)}else{if(!f)if(n=$c(T),n!==null){if(r.flags|=128,f=!0,s=n.updateQueue,s!==null&&(r.updateQueue=s,r.flags|=4),Qt(y,!0),y.tail===null&&y.tailMode==="hidden"&&!T.alternate&&!It)return Yn(r),null}else 2*Yt()-y.renderingStartTime>au&&s!==1073741824&&(r.flags|=128,f=!0,Qt(y,!1),r.lanes=4194304);y.isBackwards?(T.sibling=r.child,r.child=T):(s=y.last,s!==null?s.sibling=T:r.child=T,y.last=T)}return y.tail!==null?(r=y.tail,y.rendering=r,y.tail=r.sibling,y.renderingStartTime=Yt(),r.sibling=null,s=Ut.current,Ct(Ut,f?s&1|2:s&1),r):(Yn(r),null);case 22:case 23:return Td(),f=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==f&&(r.flags|=8192),f&&r.mode&1?Sr&1073741824&&(Yn(r),r.subtreeFlags&6&&(r.flags|=8192)):Yn(r),null;case 24:return null;case 25:return null}throw Error(l(156,r.tag))}function m0(n,r){switch(lp(r),r.tag){case 1:return zt(r.type)&&Kr(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return Ul(),bt(Kt),bt(Qe),vp(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return pp(r),null;case 13:if(bt(Ut),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(l(340));jt()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return bt(Ut),null;case 4:return Ul(),null;case 10:return cp(r.type._context),null;case 22:case 23:return Td(),null;case 24:return null;default:return null}}var Xl=!1,_n=!1,pd=typeof WeakSet=="function"?WeakSet:Set,Ee=null;function ql(n,r){var s=n.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(f){qt(n,r,f)}else s.current=null}function Cp(n,r,s){try{s()}catch(f){qt(n,r,f)}}var vd=!1;function g0(n,r){if(Jf=Oo,n=kc(),fa(n)){if("selectionStart"in n)var s={start:n.selectionStart,end:n.selectionEnd};else e:{s=(s=n.ownerDocument)&&s.defaultView||window;var f=s.getSelection&&s.getSelection();if(f&&f.rangeCount!==0){s=f.anchorNode;var v=f.anchorOffset,y=f.focusNode;f=f.focusOffset;try{s.nodeType,y.nodeType}catch{s=null;break e}var T=0,L=-1,M=-1,$=0,re=0,ae=n,te=null;t:for(;;){for(var ge;ae!==s||v!==0&&ae.nodeType!==3||(L=T+v),ae!==y||f!==0&&ae.nodeType!==3||(M=T+f),ae.nodeType===3&&(T+=ae.nodeValue.length),(ge=ae.firstChild)!==null;)te=ae,ae=ge;for(;;){if(ae===n)break t;if(te===s&&++$===v&&(L=T),te===y&&++re===f&&(M=T),(ge=ae.nextSibling)!==null)break;ae=te,te=ae.parentNode}ae=ge}s=L===-1||M===-1?null:{start:L,end:M}}else s=null}s=s||{start:0,end:0}}else s=null;for(Ao={focusedElem:n,selectionRange:s},Oo=!1,Ee=r;Ee!==null;)if(r=Ee,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,Ee=n;else for(;Ee!==null;){r=Ee;try{var Re=r.alternate;if(r.flags&1024)switch(r.tag){case 0:case 11:case 15:break;case 1:if(Re!==null){var De=Re.memoizedProps,tn=Re.memoizedState,U=r.stateNode,F=U.getSnapshotBeforeUpdate(r.elementType===r.type?De:mr(r.type,De),tn);U.__reactInternalSnapshotBeforeUpdate=F}break;case 3:var j=r.stateNode.containerInfo;j.nodeType===1?j.textContent="":j.nodeType===9&&j.documentElement&&j.removeChild(j.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(l(163))}}catch(ue){qt(r,r.return,ue)}if(n=r.sibling,n!==null){n.return=r.return,Ee=n;break}Ee=r.return}return Re=vd,vd=!1,Re}function Zl(n,r,s){var f=r.updateQueue;if(f=f!==null?f.lastEffect:null,f!==null){var v=f=f.next;do{if((v.tag&n)===n){var y=v.destroy;v.destroy=void 0,y!==void 0&&Cp(r,s,y)}v=v.next}while(v!==f)}}function hd(n,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var s=r=r.next;do{if((s.tag&n)===n){var f=s.create;s.destroy=f()}s=s.next}while(s!==r)}}function md(n){var r=n.ref;if(r!==null){var s=n.stateNode;switch(n.tag){case 5:n=s;break;default:n=s}typeof r=="function"?r(n):r.current=n}}function ym(n){var r=n.alternate;r!==null&&(n.alternate=null,ym(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[Hi],delete r[Mo],delete r[np],delete r[d0],delete r[rp])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function Tp(n){return n.tag===5||n.tag===3||n.tag===4}function Sm(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Tp(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Ts(n,r,s){var f=n.tag;if(f===5||f===6)n=n.stateNode,r?s.nodeType===8?s.parentNode.insertBefore(n,r):s.insertBefore(n,r):(s.nodeType===8?(r=s.parentNode,r.insertBefore(n,s)):(r=s,r.appendChild(n)),s=s._reactRootContainer,s!=null||r.onclick!==null||(r.onclick=Ac));else if(f!==4&&(n=n.child,n!==null))for(Ts(n,r,s),n=n.sibling;n!==null;)Ts(n,r,s),n=n.sibling}function Jl(n,r,s){var f=n.tag;if(f===5||f===6)n=n.stateNode,r?s.insertBefore(n,r):s.appendChild(n);else if(f!==4&&(n=n.child,n!==null))for(Jl(n,r,s),n=n.sibling;n!==null;)Jl(n,r,s),n=n.sibling}var Ht=null,wn=!1;function qn(n,r,s){for(s=s.child;s!==null;)eu(n,r,s),s=s.sibling}function eu(n,r,s){if(Ei&&typeof Ei.onCommitFiberUnmount=="function")try{Ei.onCommitFiberUnmount(Vu,s)}catch{}switch(s.tag){case 5:_n||ql(s,r);case 6:var f=Ht,v=wn;Ht=null,qn(n,r,s),Ht=f,wn=v,Ht!==null&&(wn?(n=Ht,s=s.stateNode,n.nodeType===8?n.parentNode.removeChild(s):n.removeChild(s)):Ht.removeChild(s.stateNode));break;case 18:Ht!==null&&(wn?(n=Ht,s=s.stateNode,n.nodeType===8?Wa(n.parentNode,s):n.nodeType===1&&Wa(n,s),Wu(n)):Wa(Ht,s.stateNode));break;case 4:f=Ht,v=wn,Ht=s.stateNode.containerInfo,wn=!0,qn(n,r,s),Ht=f,wn=v;break;case 0:case 11:case 14:case 15:if(!_n&&(f=s.updateQueue,f!==null&&(f=f.lastEffect,f!==null))){v=f=f.next;do{var y=v,T=y.destroy;y=y.tag,T!==void 0&&(y&2||y&4)&&Cp(s,r,T),v=v.next}while(v!==f)}qn(n,r,s);break;case 1:if(!_n&&(ql(s,r),f=s.stateNode,typeof f.componentWillUnmount=="function"))try{f.props=s.memoizedProps,f.state=s.memoizedState,f.componentWillUnmount()}catch(L){qt(s,r,L)}qn(n,r,s);break;case 21:qn(n,r,s);break;case 22:s.mode&1?(_n=(f=_n)||s.memoizedState!==null,qn(n,r,s),_n=f):qn(n,r,s);break;default:qn(n,r,s)}}function tu(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var s=n.stateNode;s===null&&(s=n.stateNode=new pd),r.forEach(function(f){var v=x0.bind(null,n,f);s.has(f)||(s.add(f),f.then(v,v))})}}function Rn(n,r){var s=r.deletions;if(s!==null)for(var f=0;f<s.length;f++){var v=s[f];try{var y=n,T=r,L=T;e:for(;L!==null;){switch(L.tag){case 5:Ht=L.stateNode,wn=!1;break e;case 3:Ht=L.stateNode.containerInfo,wn=!0;break e;case 4:Ht=L.stateNode.containerInfo,wn=!0;break e}L=L.return}if(Ht===null)throw Error(l(160));eu(y,T,v),Ht=null,wn=!1;var M=v.alternate;M!==null&&(M.return=null),v.return=null}catch($){qt(v,r,$)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)bm(r,n),r=r.sibling}function bm(n,r){var s=n.alternate,f=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(Rn(r,n),$i(n),f&4){try{Zl(3,n,n.return),hd(3,n)}catch(De){qt(n,n.return,De)}try{Zl(5,n,n.return)}catch(De){qt(n,n.return,De)}}break;case 1:Rn(r,n),$i(n),f&512&&s!==null&&ql(s,s.return);break;case 5:if(Rn(r,n),$i(n),f&512&&s!==null&&ql(s,s.return),n.flags&32){var v=n.stateNode;try{Ha(v,"")}catch(De){qt(n,n.return,De)}}if(f&4&&(v=n.stateNode,v!=null)){var y=n.memoizedProps,T=s!==null?s.memoizedProps:y,L=n.type,M=n.updateQueue;if(n.updateQueue=null,M!==null)try{L==="input"&&y.type==="radio"&&y.name!=null&&gi(v,y),pn(L,T);var $=pn(L,y);for(T=0;T<M.length;T+=2){var re=M[T],ae=M[T+1];re==="style"?Nt(v,ae):re==="dangerouslySetInnerHTML"?Fu(v,ae):re==="children"?Ha(v,ae):pe(v,re,ae,$)}switch(L){case"input":wr(v,y);break;case"textarea":za(v,y);break;case"select":var te=v._wrapperState.wasMultiple;v._wrapperState.wasMultiple=!!y.multiple;var ge=y.value;ge!=null?Fa(v,!!y.multiple,ge,!1):te!==!!y.multiple&&(y.defaultValue!=null?Fa(v,!!y.multiple,y.defaultValue,!0):Fa(v,!!y.multiple,y.multiple?[]:"",!1))}v[Mo]=y}catch(De){qt(n,n.return,De)}}break;case 6:if(Rn(r,n),$i(n),f&4){if(n.stateNode===null)throw Error(l(162));v=n.stateNode,y=n.memoizedProps;try{v.nodeValue=y}catch(De){qt(n,n.return,De)}}break;case 3:if(Rn(r,n),$i(n),f&4&&s!==null&&s.memoizedState.isDehydrated)try{Wu(r.containerInfo)}catch(De){qt(n,n.return,De)}break;case 4:Rn(r,n),$i(n);break;case 13:Rn(r,n),$i(n),v=n.child,v.flags&8192&&(y=v.memoizedState!==null,v.stateNode.isHidden=y,!y||v.alternate!==null&&v.alternate.memoizedState!==null||(yd=Yt())),f&4&&tu(n);break;case 22:if(re=s!==null&&s.memoizedState!==null,n.mode&1?(_n=($=_n)||re,Rn(r,n),_n=$):Rn(r,n),$i(n),f&8192){if($=n.memoizedState!==null,(n.stateNode.isHidden=$)&&!re&&n.mode&1)for(Ee=n,re=n.child;re!==null;){for(ae=Ee=re;Ee!==null;){switch(te=Ee,ge=te.child,te.tag){case 0:case 11:case 14:case 15:Zl(4,te,te.return);break;case 1:ql(te,te.return);var Re=te.stateNode;if(typeof Re.componentWillUnmount=="function"){f=te,s=te.return;try{r=f,Re.props=r.memoizedProps,Re.state=r.memoizedState,Re.componentWillUnmount()}catch(De){qt(f,s,De)}}break;case 5:ql(te,te.return);break;case 22:if(te.memoizedState!==null){Em(ae);continue}}ge!==null?(ge.return=te,Ee=ge):Em(ae)}re=re.sibling}e:for(re=null,ae=n;;){if(ae.tag===5){if(re===null){re=ae;try{v=ae.stateNode,$?(y=v.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none"):(L=ae.stateNode,M=ae.memoizedProps.style,T=M!=null&&M.hasOwnProperty("display")?M.display:null,L.style.display=lt("display",T))}catch(De){qt(n,n.return,De)}}}else if(ae.tag===6){if(re===null)try{ae.stateNode.nodeValue=$?"":ae.memoizedProps}catch(De){qt(n,n.return,De)}}else if((ae.tag!==22&&ae.tag!==23||ae.memoizedState===null||ae===n)&&ae.child!==null){ae.child.return=ae,ae=ae.child;continue}if(ae===n)break e;for(;ae.sibling===null;){if(ae.return===null||ae.return===n)break e;re===ae&&(re=null),ae=ae.return}re===ae&&(re=null),ae.sibling.return=ae.return,ae=ae.sibling}}break;case 19:Rn(r,n),$i(n),f&4&&tu(n);break;case 21:break;default:Rn(r,n),$i(n)}}function $i(n){var r=n.flags;if(r&2){try{e:{for(var s=n.return;s!==null;){if(Tp(s)){var f=s;break e}s=s.return}throw Error(l(160))}switch(f.tag){case 5:var v=f.stateNode;f.flags&32&&(Ha(v,""),f.flags&=-33);var y=Sm(n);Jl(n,y,v);break;case 3:case 4:var T=f.stateNode.containerInfo,L=Sm(n);Ts(n,L,T);break;default:throw Error(l(161))}}catch(M){qt(n,n.return,M)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function y0(n,r,s){Ee=n,xp(n)}function xp(n,r,s){for(var f=(n.mode&1)!==0;Ee!==null;){var v=Ee,y=v.child;if(v.tag===22&&f){var T=v.memoizedState!==null||Xl;if(!T){var L=v.alternate,M=L!==null&&L.memoizedState!==null||_n;L=Xl;var $=_n;if(Xl=T,(_n=M)&&!$)for(Ee=v;Ee!==null;)T=Ee,M=T.child,T.tag===22&&T.memoizedState!==null?wp(v):M!==null?(M.return=T,Ee=M):wp(v);for(;y!==null;)Ee=y,xp(y),y=y.sibling;Ee=v,Xl=L,_n=$}nu(n)}else v.subtreeFlags&8772&&y!==null?(y.return=v,Ee=y):nu(n)}}function nu(n){for(;Ee!==null;){var r=Ee;if(r.flags&8772){var s=r.alternate;try{if(r.flags&8772)switch(r.tag){case 0:case 11:case 15:_n||hd(5,r);break;case 1:var f=r.stateNode;if(r.flags&4&&!_n)if(s===null)f.componentDidMount();else{var v=r.elementType===r.type?s.memoizedProps:mr(r.type,s.memoizedProps);f.componentDidUpdate(v,s.memoizedState,f.__reactInternalSnapshotBeforeUpdate)}var y=r.updateQueue;y!==null&&im(r,y,f);break;case 3:var T=r.updateQueue;if(T!==null){if(s=null,r.child!==null)switch(r.child.tag){case 5:s=r.child.stateNode;break;case 1:s=r.child.stateNode}im(r,T,s)}break;case 5:var L=r.stateNode;if(s===null&&r.flags&4){s=L;var M=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":M.autoFocus&&s.focus();break;case"img":M.src&&(s.src=M.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var $=r.alternate;if($!==null){var re=$.memoizedState;if(re!==null){var ae=re.dehydrated;ae!==null&&Wu(ae)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(l(163))}_n||r.flags&512&&md(r)}catch(te){qt(r,r.return,te)}}if(r===n){Ee=null;break}if(s=r.sibling,s!==null){s.return=r.return,Ee=s;break}Ee=r.return}}function Em(n){for(;Ee!==null;){var r=Ee;if(r===n){Ee=null;break}var s=r.sibling;if(s!==null){s.return=r.return,Ee=s;break}Ee=r.return}}function wp(n){for(;Ee!==null;){var r=Ee;try{switch(r.tag){case 0:case 11:case 15:var s=r.return;try{hd(4,r)}catch(M){qt(r,s,M)}break;case 1:var f=r.stateNode;if(typeof f.componentDidMount=="function"){var v=r.return;try{f.componentDidMount()}catch(M){qt(r,v,M)}}var y=r.return;try{md(r)}catch(M){qt(r,y,M)}break;case 5:var T=r.return;try{md(r)}catch(M){qt(r,T,M)}}}catch(M){qt(r,r.return,M)}if(r===n){Ee=null;break}var L=r.sibling;if(L!==null){L.return=r.return,Ee=L;break}Ee=r.return}}var S0=Math.ceil,Yo=He.ReactCurrentDispatcher,gd=He.ReactCurrentOwner,ti=He.ReactCurrentBatchConfig,st=0,Xt=null,Mt=null,mn=0,Sr=0,ru=tt(0),gn=0,xs=null,Ko=0,iu=0,Rp=0,no=null,Kn=null,yd=0,au=1/0,Ea=null,Sd=!1,kp=null,ni=null,ou=!1,ri=null,bd=0,ws=0,Ed=null,Rs=-1,Qo=0;function kn(){return st&6?Yt():Rs!==-1?Rs:Rs=Yt()}function Ca(n){return n.mode&1?st&2&&mn!==0?mn&-mn:Uc.transition!==null?(Qo===0&&(Qo=hc()),Qo):(n=xt,n!==0||(n=window.event,n=n===void 0?16:Af(n.type)),n):1}function Bt(n,r,s,f){if(50<ws)throw ws=0,Ed=null,Error(l(185));ko(n,s,f),(!(st&2)||n!==Xt)&&(n===Xt&&(!(st&2)&&(iu|=s),gn===4&&Gi(n,mn)),yn(n,f),s===1&&st===0&&!(r.mode&1)&&(au=Yt()+500,xn&&dr()))}function yn(n,r){var s=n.callbackNode;vc(n,r);var f=Ci(n,n===Xt?mn:0);if(f===0)s!==null&&lh(s),n.callbackNode=null,n.callbackPriority=0;else if(r=f&-f,n.callbackPriority!==r){if(s!=null&&lh(s),r===1)n.tag===0?ap(lu.bind(null,n)):ip(lu.bind(null,n)),tp(function(){!(st&6)&&dr()}),s=null;else{switch(Nf(f)){case 1:s=ua;break;case 4:s=ut;break;case 16:s=Va;break;case 536870912:s=Rf;break;default:s=Va}s=Dm(s,Cd.bind(null,n))}n.callbackPriority=r,n.callbackNode=s}}function Cd(n,r){if(Rs=-1,Qo=0,st&6)throw Error(l(327));var s=n.callbackNode;if(uu()&&n.callbackNode!==s)return null;var f=Ci(n,n===Xt?mn:0);if(f===0)return null;if(f&30||f&n.expiredLanes||r)r=xd(n,f);else{r=f;var v=st;st|=2;var y=Tm();(Xt!==n||mn!==r)&&(Ea=null,au=Yt()+500,qo(n,r));do try{E0();break}catch(L){Cm(n,L)}while(!0);Nr(),Yo.current=y,st=v,Mt!==null?r=0:(Xt=null,mn=0,r=gn)}if(r!==0){if(r===2&&(v=Of(n),v!==0&&(f=v,r=Xo(n,v))),r===1)throw s=xs,qo(n,0),Gi(n,f),yn(n,Yt()),s;if(r===6)Gi(n,f);else{if(v=n.current.alternate,!(f&30)&&!Dp(v)&&(r=xd(n,f),r===2&&(y=Of(n),y!==0&&(f=y,r=Xo(n,y))),r===1))throw s=xs,qo(n,0),Gi(n,f),yn(n,Yt()),s;switch(n.finishedWork=v,n.finishedLanes=f,r){case 0:case 1:throw Error(l(345));case 2:ro(n,Kn,Ea);break;case 3:if(Gi(n,f),(f&130023424)===f&&(r=yd+500-Yt(),10<r)){if(Ci(n,0)!==0)break;if(v=n.suspendedLanes,(v&f)!==f){kn(),n.pingedLanes|=n.suspendedLanes&v;break}n.timeoutHandle=Io(ro.bind(null,n,Kn,Ea),r);break}ro(n,Kn,Ea);break;case 4:if(Gi(n,f),(f&4194240)===f)break;for(r=n.eventTimes,v=-1;0<f;){var T=31-jr(f);y=1<<T,T=r[T],T>v&&(v=T),f&=~y}if(f=v,f=Yt()-f,f=(120>f?120:480>f?480:1080>f?1080:1920>f?1920:3e3>f?3e3:4320>f?4320:1960*S0(f/1960))-f,10<f){n.timeoutHandle=Io(ro.bind(null,n,Kn,Ea),f);break}ro(n,Kn,Ea);break;case 5:ro(n,Kn,Ea);break;default:throw Error(l(329))}}}return yn(n,Yt()),n.callbackNode===s?Cd.bind(null,n):null}function Xo(n,r){var s=no;return n.current.memoizedState.isDehydrated&&(qo(n,r).flags|=256),n=xd(n,r),n!==2&&(r=Kn,Kn=s,r!==null&&Op(r)),n}function Op(n){Kn===null?Kn=n:Kn.push.apply(Kn,n)}function Dp(n){for(var r=n;;){if(r.flags&16384){var s=r.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var f=0;f<s.length;f++){var v=s[f],y=v.getSnapshot;v=v.value;try{if(!Gr(y(),v))return!1}catch{return!1}}}if(s=r.child,r.subtreeFlags&16384&&s!==null)s.return=r,r=s;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function Gi(n,r){for(r&=~Rp,r&=~iu,n.suspendedLanes|=r,n.pingedLanes&=~r,n=n.expirationTimes;0<r;){var s=31-jr(r),f=1<<s;n[s]=-1,r&=~f}}function lu(n){if(st&6)throw Error(l(327));uu();var r=Ci(n,0);if(!(r&1))return yn(n,Yt()),null;var s=xd(n,r);if(n.tag!==0&&s===2){var f=Of(n);f!==0&&(r=f,s=Xo(n,f))}if(s===1)throw s=xs,qo(n,0),Gi(n,r),yn(n,Yt()),s;if(s===6)throw Error(l(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,ro(n,Kn,Ea),yn(n,Yt()),null}function Np(n,r){var s=st;st|=1;try{return n(r)}finally{st=s,st===0&&(au=Yt()+500,xn&&dr())}}function Wi(n){ri!==null&&ri.tag===0&&!(st&6)&&uu();var r=st;st|=1;var s=ti.transition,f=xt;try{if(ti.transition=null,xt=1,n)return n()}finally{xt=f,ti.transition=s,st=r,!(st&6)&&dr()}}function Td(){Sr=ru.current,bt(ru)}function qo(n,r){n.finishedWork=null,n.finishedLanes=0;var s=n.timeoutHandle;if(s!==-1&&(n.timeoutHandle=-1,Qh(s)),Mt!==null)for(s=Mt.return;s!==null;){var f=s;switch(lp(f),f.tag){case 1:f=f.type.childContextTypes,f!=null&&Kr();break;case 3:Ul(),bt(Kt),bt(Qe),vp();break;case 5:pp(f);break;case 4:Ul();break;case 13:bt(Ut);break;case 19:bt(Ut);break;case 10:cp(f.type._context);break;case 22:case 23:Td()}s=s.return}if(Xt=n,Mt=n=io(n.current,null),mn=Sr=r,gn=0,xs=null,Rp=iu=Ko=0,Kn=no=null,zo!==null){for(r=0;r<zo.length;r++)if(s=zo[r],f=s.interleaved,f!==null){s.interleaved=null;var v=f.next,y=s.pending;if(y!==null){var T=y.next;y.next=v,f.next=T}s.pending=f}zo=null}return n}function Cm(n,r){do{var s=Mt;try{if(Nr(),Wc.current=Wn,Lr){for(var f=Ae.memoizedState;f!==null;){var v=f.queue;v!==null&&(v.pending=null),f=f.next}Lr=!1}if(Le=0,at=Xe=Ae=null,Hl=!1,vs=0,gd.current=null,s===null||s.return===null){gn=1,xs=r,Mt=null;break}e:{var y=n,T=s.return,L=s,M=r;if(r=mn,L.flags|=32768,M!==null&&typeof M=="object"&&typeof M.then=="function"){var $=M,re=L,ae=re.tag;if(!(re.mode&1)&&(ae===0||ae===11||ae===15)){var te=re.alternate;te?(re.updateQueue=te.updateQueue,re.memoizedState=te.memoizedState,re.lanes=te.lanes):(re.updateQueue=null,re.memoizedState=null)}var ge=pm(T);if(ge!==null){ge.flags&=-257,Sp(ge,T,L,y,r),ge.mode&1&&Ss(y,$,r),r=ge,M=$;var Re=r.updateQueue;if(Re===null){var De=new Set;De.add(M),r.updateQueue=De}else Re.add(M);break e}else{if(!(r&1)){Ss(y,$,r),ks();break e}M=Error(l(426))}}else if(It&&L.mode&1){var tn=pm(T);if(tn!==null){!(tn.flags&65536)&&(tn.flags|=256),Sp(tn,T,L,y,r),sp(eo(M,L));break e}}y=M=eo(M,L),gn!==4&&(gn=2),no===null?no=[y]:no.push(y),y=T;do{switch(y.tag){case 3:y.flags|=65536,r&=-r,y.lanes|=r;var U=dm(y,M,r);rm(y,U);break e;case 1:L=M;var F=y.type,j=y.stateNode;if(!(y.flags&128)&&(typeof F.getDerivedStateFromError=="function"||j!==null&&typeof j.componentDidCatch=="function"&&(ni===null||!ni.has(j)))){y.flags|=65536,r&=-r,y.lanes|=r;var ue=fm(y,L,r);rm(y,ue);break e}}y=y.return}while(y!==null)}wm(s)}catch(_e){r=_e,Mt===s&&s!==null&&(Mt=s=s.return);continue}break}while(!0)}function Tm(){var n=Yo.current;return Yo.current=Wn,n===null?Wn:n}function ks(){(gn===0||gn===3||gn===2)&&(gn=4),Xt===null||!(Ko&268435455)&&!(iu&268435455)||Gi(Xt,mn)}function xd(n,r){var s=st;st|=2;var f=Tm();(Xt!==n||mn!==r)&&(Ea=null,qo(n,r));do try{b0();break}catch(v){Cm(n,v)}while(!0);if(Nr(),st=s,Yo.current=f,Mt!==null)throw Error(l(261));return Xt=null,mn=0,gn}function b0(){for(;Mt!==null;)xm(Mt)}function E0(){for(;Mt!==null&&!By();)xm(Mt)}function xm(n){var r=Om(n.alternate,n,Sr);n.memoizedProps=n.pendingProps,r===null?wm(n):Mt=r,gd.current=null}function wm(n){var r=n;do{var s=r.alternate;if(n=r.return,r.flags&32768){if(s=m0(s,r),s!==null){s.flags&=32767,Mt=s;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{gn=6,Mt=null;return}}else if(s=h0(s,r,Sr),s!==null){Mt=s;return}if(r=r.sibling,r!==null){Mt=r;return}Mt=r=n}while(r!==null);gn===0&&(gn=5)}function ro(n,r,s){var f=xt,v=ti.transition;try{ti.transition=null,xt=1,C0(n,r,s,f)}finally{ti.transition=v,xt=f}return null}function C0(n,r,s,f){do uu();while(ri!==null);if(st&6)throw Error(l(327));s=n.finishedWork;var v=n.finishedLanes;if(s===null)return null;if(n.finishedWork=null,n.finishedLanes=0,s===n.current)throw Error(l(177));n.callbackNode=null,n.callbackPriority=0;var y=s.lanes|s.childLanes;if(Yy(n,y),n===Xt&&(Mt=Xt=null,mn=0),!(s.subtreeFlags&2064)&&!(s.flags&2064)||ou||(ou=!0,Dm(Va,function(){return uu(),null})),y=(s.flags&15990)!==0,s.subtreeFlags&15990||y){y=ti.transition,ti.transition=null;var T=xt;xt=1;var L=st;st|=4,gd.current=null,g0(n,s),bm(s,n),Oc(Ao),Oo=!!Jf,Ao=Jf=null,n.current=s,y0(s),$y(),st=L,xt=T,ti.transition=y}else n.current=s;if(ou&&(ou=!1,ri=n,bd=v),y=n.pendingLanes,y===0&&(ni=null),sh(s.stateNode),yn(n,Yt()),r!==null)for(f=n.onRecoverableError,s=0;s<r.length;s++)v=r[s],f(v.value,{componentStack:v.stack,digest:v.digest});if(Sd)throw Sd=!1,n=kp,kp=null,n;return bd&1&&n.tag!==0&&uu(),y=n.pendingLanes,y&1?n===Ed?ws++:(ws=0,Ed=n):ws=0,dr(),null}function uu(){if(ri!==null){var n=Nf(bd),r=ti.transition,s=xt;try{if(ti.transition=null,xt=16>n?16:n,ri===null)var f=!1;else{if(n=ri,ri=null,bd=0,st&6)throw Error(l(331));var v=st;for(st|=4,Ee=n.current;Ee!==null;){var y=Ee,T=y.child;if(Ee.flags&16){var L=y.deletions;if(L!==null){for(var M=0;M<L.length;M++){var $=L[M];for(Ee=$;Ee!==null;){var re=Ee;switch(re.tag){case 0:case 11:case 15:Zl(8,re,y)}var ae=re.child;if(ae!==null)ae.return=re,Ee=ae;else for(;Ee!==null;){re=Ee;var te=re.sibling,ge=re.return;if(ym(re),re===$){Ee=null;break}if(te!==null){te.return=ge,Ee=te;break}Ee=ge}}}var Re=y.alternate;if(Re!==null){var De=Re.child;if(De!==null){Re.child=null;do{var tn=De.sibling;De.sibling=null,De=tn}while(De!==null)}}Ee=y}}if(y.subtreeFlags&2064&&T!==null)T.return=y,Ee=T;else e:for(;Ee!==null;){if(y=Ee,y.flags&2048)switch(y.tag){case 0:case 11:case 15:Zl(9,y,y.return)}var U=y.sibling;if(U!==null){U.return=y.return,Ee=U;break e}Ee=y.return}}var F=n.current;for(Ee=F;Ee!==null;){T=Ee;var j=T.child;if(T.subtreeFlags&2064&&j!==null)j.return=T,Ee=j;else e:for(T=F;Ee!==null;){if(L=Ee,L.flags&2048)try{switch(L.tag){case 0:case 11:case 15:hd(9,L)}}catch(_e){qt(L,L.return,_e)}if(L===T){Ee=null;break e}var ue=L.sibling;if(ue!==null){ue.return=L.return,Ee=ue;break e}Ee=L.return}}if(st=v,dr(),Ei&&typeof Ei.onPostCommitFiberRoot=="function")try{Ei.onPostCommitFiberRoot(Vu,n)}catch{}f=!0}return f}finally{xt=s,ti.transition=r}}return!1}function Rm(n,r,s){r=eo(s,r),r=dm(n,r,1),n=Za(n,r,1),r=kn(),n!==null&&(ko(n,1,r),yn(n,r))}function qt(n,r,s){if(n.tag===3)Rm(n,n,s);else for(;r!==null;){if(r.tag===3){Rm(r,n,s);break}else if(r.tag===1){var f=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(ni===null||!ni.has(f))){n=eo(s,n),n=fm(r,n,1),r=Za(r,n,1),n=kn(),r!==null&&(ko(r,1,n),yn(r,n));break}}r=r.return}}function T0(n,r,s){var f=n.pingCache;f!==null&&f.delete(r),r=kn(),n.pingedLanes|=n.suspendedLanes&s,Xt===n&&(mn&s)===s&&(gn===4||gn===3&&(mn&130023424)===mn&&500>Yt()-yd?qo(n,0):Rp|=s),yn(n,r)}function km(n,r){r===0&&(n.mode&1?(r=Cl,Cl<<=1,!(Cl&130023424)&&(Cl=4194304)):r=1);var s=kn();n=ya(n,r),n!==null&&(ko(n,r,s),yn(n,s))}function Lp(n){var r=n.memoizedState,s=0;r!==null&&(s=r.retryLane),km(n,s)}function x0(n,r){var s=0;switch(n.tag){case 13:var f=n.stateNode,v=n.memoizedState;v!==null&&(s=v.retryLane);break;case 19:f=n.stateNode;break;default:throw Error(l(314))}f!==null&&f.delete(r),km(n,s)}var Om;Om=function(n,r,s){if(n!==null)if(n.memoizedProps!==r.pendingProps||Kt.current)gr=!0;else{if(!(n.lanes&s)&&!(r.flags&128))return gr=!1,ba(n,r,s);gr=!!(n.flags&131072)}else gr=!1,It&&r.flags&1048576&&op(r,Il,r.index);switch(r.lanes=0,r.tag){case 2:var f=r.type;Cs(n,r),n=r.pendingProps;var v=Yr(r,Qe.current);Pl(r,s),v=ee(null,r,f,n,v,s);var y=un();return r.flags|=1,typeof v=="object"&&v!==null&&typeof v.render=="function"&&v.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,zt(f)?(y=!0,Ic(r)):y=!1,r.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,Vc(r),v.updater=$o,r.stateNode=v,v._reactInternals=r,gp(r,f,n,s),r=sd(null,r,f,!0,y,s)):(r.tag=0,It&&y&&Mc(r),Jt(null,r,v,s),r=r.child),r;case 16:f=r.elementType;e:{switch(Cs(n,r),n=r.pendingProps,v=f._init,f=v(f._payload),r.type=f,v=r.tag=w0(f),n=mr(f,n),v){case 0:r=et(null,r,f,n,s);break e;case 1:r=bs(null,r,f,n,s);break e;case 11:r=Yl(null,r,f,n,s);break e;case 14:r=to(null,r,f,mr(f.type,n),s);break e}throw Error(l(306,f,""))}return r;case 0:return f=r.type,v=r.pendingProps,v=r.elementType===f?v:mr(f,v),et(n,r,f,v,s);case 1:return f=r.type,v=r.pendingProps,v=r.elementType===f?v:mr(f,v),bs(n,r,f,v,s);case 3:e:{if(v0(r),n===null)throw Error(l(387));f=r.pendingProps,y=r.memoizedState,v=y.element,Fl(n,r),Bc(r,f,null,s);var T=r.memoizedState;if(f=T.element,y.isDehydrated)if(y={element:f,isDehydrated:!1,cache:T.cache,pendingSuspenseBoundaries:T.pendingSuspenseBoundaries,transitions:T.transitions},r.updateQueue.baseState=y,r.memoizedState=y,r.flags&256){v=eo(Error(l(423)),r),r=hm(n,r,f,s,v);break e}else if(f!==v){v=eo(Error(l(424)),r),r=hm(n,r,f,s,v);break e}else for(vr=Ri(r.stateNode.containerInfo.firstChild),Dr=r,It=!0,Xr=null,s=tm(r,null,f,s),r.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(jt(),f===v){r=en(n,r,s);break e}Jt(n,r,f,s)}r=r.child}return r;case 5:return am(r),n===null&&Fc(r),f=r.type,v=r.pendingProps,y=n!==null?n.memoizedProps:null,T=v.children,os(f,v)?T=null:y!==null&&os(f,y)&&(r.flags|=32),Go(n,r),Jt(n,r,T,s),r.child;case 6:return n===null&&Fc(r),null;case 13:return mm(n,r,s);case 4:return fp(r,r.stateNode.containerInfo),f=r.pendingProps,n===null?r.child=Ml(r,null,f,s):Jt(n,r,f,s),r.child;case 11:return f=r.type,v=r.pendingProps,v=r.elementType===f?v:mr(f,v),Yl(n,r,f,v,s);case 7:return Jt(n,r,r.pendingProps,s),r.child;case 8:return Jt(n,r,r.pendingProps.children,s),r.child;case 12:return Jt(n,r,r.pendingProps.children,s),r.child;case 10:e:{if(f=r.type._context,v=r.pendingProps,y=r.memoizedProps,T=v.value,Ct(ga,f._currentValue),f._currentValue=T,y!==null)if(Gr(y.value,T)){if(y.children===v.children&&!Kt.current){r=en(n,r,s);break e}}else for(y=r.child,y!==null&&(y.return=r);y!==null;){var L=y.dependencies;if(L!==null){T=y.child;for(var M=L.firstContext;M!==null;){if(M.context===f){if(y.tag===1){M=hr(-1,s&-s),M.tag=2;var $=y.updateQueue;if($!==null){$=$.shared;var re=$.pending;re===null?M.next=M:(M.next=re.next,re.next=M),$.pending=M}}y.lanes|=s,M=y.alternate,M!==null&&(M.lanes|=s),dp(y.return,s,r),L.lanes|=s;break}M=M.next}}else if(y.tag===10)T=y.type===r.type?null:y.child;else if(y.tag===18){if(T=y.return,T===null)throw Error(l(341));T.lanes|=s,L=T.alternate,L!==null&&(L.lanes|=s),dp(T,s,r),T=y.sibling}else T=y.child;if(T!==null)T.return=y;else for(T=y;T!==null;){if(T===r){T=null;break}if(y=T.sibling,y!==null){y.return=T.return,T=y;break}T=T.return}y=T}Jt(n,r,v.children,s),r=r.child}return r;case 9:return v=r.type,f=r.pendingProps.children,Pl(r,s),v=Zr(v),f=f(v),r.flags|=1,Jt(n,r,f,s),r.child;case 14:return f=r.type,v=mr(f,r.pendingProps),v=mr(f.type,v),to(n,r,f,v,s);case 15:return ud(n,r,r.type,r.pendingProps,s);case 17:return f=r.type,v=r.pendingProps,v=r.elementType===f?v:mr(f,v),Cs(n,r),r.tag=1,zt(f)?(n=!0,Ic(r)):n=!1,Pl(r,s),um(r,f,v),gp(r,f,v,s),sd(null,r,f,!0,n,s);case 19:return Ep(n,r,s);case 22:return yr(n,r,s)}throw Error(l(156,r.tag))};function Dm(n,r){return wf(n,r)}function Nm(n,r,s,f){this.tag=n,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ii(n,r,s,f){return new Nm(n,r,s,f)}function _p(n){return n=n.prototype,!(!n||!n.isReactComponent)}function w0(n){if(typeof n=="function")return _p(n)?1:0;if(n!=null){if(n=n.$$typeof,n===Y)return 11;if(n===ze)return 14}return 2}function io(n,r){var s=n.alternate;return s===null?(s=ii(n.tag,r,n.key,n.mode),s.elementType=n.elementType,s.type=n.type,s.stateNode=n.stateNode,s.alternate=n,n.alternate=s):(s.pendingProps=r,s.type=n.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=n.flags&14680064,s.childLanes=n.childLanes,s.lanes=n.lanes,s.child=n.child,s.memoizedProps=n.memoizedProps,s.memoizedState=n.memoizedState,s.updateQueue=n.updateQueue,r=n.dependencies,s.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},s.sibling=n.sibling,s.index=n.index,s.ref=n.ref,s}function wd(n,r,s,f,v,y){var T=2;if(f=n,typeof n=="function")_p(n)&&(T=1);else if(typeof n=="string")T=5;else e:switch(n){case Ne:return Zo(s.children,v,y,r);case Et:T=8,v|=8;break;case Me:return n=ii(12,s,r,v|2),n.elementType=Me,n.lanes=y,n;case W:return n=ii(13,s,r,v),n.elementType=W,n.lanes=y,n;case ne:return n=ii(19,s,r,v),n.elementType=ne,n.lanes=y,n;case Ve:return Rd(s,v,y,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Se:T=10;break e;case le:T=9;break e;case Y:T=11;break e;case ze:T=14;break e;case we:T=16,f=null;break e}throw Error(l(130,n==null?n:typeof n,""))}return r=ii(T,s,r,v),r.elementType=n,r.type=f,r.lanes=y,r}function Zo(n,r,s,f){return n=ii(7,n,f,r),n.lanes=s,n}function Rd(n,r,s,f){return n=ii(22,n,f,r),n.elementType=Ve,n.lanes=s,n.stateNode={isHidden:!1},n}function kd(n,r,s){return n=ii(6,n,null,r),n.lanes=s,n}function Os(n,r,s){return r=ii(4,n.children!==null?n.children:[],n.key,r),r.lanes=s,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function Ds(n,r,s,f,v){this.tag=r,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Df(0),this.expirationTimes=Df(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Df(0),this.identifierPrefix=f,this.onRecoverableError=v,this.mutableSourceEagerHydrationData=null}function Ap(n,r,s,f,v,y,T,L,M){return n=new Ds(n,r,s,L,M),r===1?(r=1,y===!0&&(r|=8)):r=0,y=ii(3,null,null,r),n.current=y,y.stateNode=n,y.memoizedState={element:f,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},Vc(y),n}function Lm(n,r,s){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ke,key:f==null?null:""+f,children:n,containerInfo:r,implementation:s}}function Ip(n){if(!n)return Vi;n=n._reactInternals;e:{if(Ui(n)!==n||n.tag!==1)throw Error(l(170));var r=n;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(zt(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(l(171))}if(n.tag===1){var s=n.type;if(zt(s))return ss(n,s,r)}return r}function Mp(n,r,s,f,v,y,T,L,M){return n=Ap(s,f,!0,n,v,y,T,L,M),n.context=Ip(null),s=n.current,f=kn(),v=Ca(s),y=hr(f,v),y.callback=r??null,Za(s,y,v),n.current.lanes=v,ko(n,v,f),yn(n,f),n}function Od(n,r,s,f){var v=r.current,y=kn(),T=Ca(v);return s=Ip(s),r.context===null?r.context=s:r.pendingContext=s,r=hr(y,T),r.payload={element:n},f=f===void 0?null:f,f!==null&&(r.callback=f),n=Za(v,r,T),n!==null&&(Bt(n,v,T,y),jc(n,v,T)),T}function Ns(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function _m(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var s=n.retryLane;n.retryLane=s!==0&&s<r?s:r}}function Pp(n,r){_m(n,r),(n=n.alternate)&&_m(n,r)}function R0(){return null}var Fp=typeof reportError=="function"?reportError:function(n){console.error(n)};function Dd(n){this._internalRoot=n}Ls.prototype.render=Dd.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(l(409));Od(n,r,null,null)},Ls.prototype.unmount=Dd.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;Wi(function(){Od(null,n,null,null)}),r[ha]=null}};function Ls(n){this._internalRoot=n}Ls.prototype.unstable_scheduleHydration=function(n){if(n){var r=ph();n={blockedOn:null,target:n,priority:r};for(var s=0;s<Rt.length&&r!==0&&r<Rt[s].priority;s++);Rt.splice(s,0,n),s===0&&vh(n)}};function ao(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Nd(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function Am(){}function k0(n,r,s,f,v){if(v){if(typeof f=="function"){var y=f;f=function(){var $=Ns(T);y.call($)}}var T=Mp(r,f,n,0,null,!1,!1,"",Am);return n._reactRootContainer=T,n[ha]=T.current,_l(n.nodeType===8?n.parentNode:n),Wi(),T}for(;v=n.lastChild;)n.removeChild(v);if(typeof f=="function"){var L=f;f=function(){var $=Ns(M);L.call($)}}var M=Ap(n,0,!1,null,null,!1,!1,"",Am);return n._reactRootContainer=M,n[ha]=M.current,_l(n.nodeType===8?n.parentNode:n),Wi(function(){Od(r,M,s,f)}),M}function Ld(n,r,s,f,v){var y=s._reactRootContainer;if(y){var T=y;if(typeof v=="function"){var L=v;v=function(){var M=Ns(T);L.call(M)}}Od(r,T,n,v)}else T=k0(s,r,n,v,f);return Ns(T)}fh=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var s=Ro(r.pendingLanes);s!==0&&(ju(r,s|1),yn(r,Yt()),!(st&6)&&(au=Yt()+500,dr()))}break;case 13:Wi(function(){var f=ya(n,1);if(f!==null){var v=kn();Bt(f,n,1,v)}}),Pp(n,1)}},mc=function(n){if(n.tag===13){var r=ya(n,134217728);if(r!==null){var s=kn();Bt(r,n,134217728,s)}Pp(n,134217728)}},wt=function(n){if(n.tag===13){var r=Ca(n),s=ya(n,r);if(s!==null){var f=kn();Bt(s,n,r,f)}Pp(n,r)}},ph=function(){return xt},Lf=function(n,r){var s=xt;try{return xt=n,r()}finally{xt=s}},zi=function(n,r,s){switch(r){case"input":if(wr(n,s),r=s.name,s.type==="radio"&&r!=null){for(s=n;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<s.length;r++){var f=s[r];if(f!==n&&f.form===n.form){var v=Ue(f);if(!v)throw Error(l(90));aa(f),wr(f,v)}}}break;case"textarea":za(n,s);break;case"select":r=s.value,r!=null&&Fa(n,!!s.multiple,r,!1)}},rh=Np,ih=Wi;var O0={usingClientEntryPoint:!1,Events:[us,Al,Ue,sc,cc,Np]},_s={findFiberByHostInstance:Wr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Im={bundleType:_s.bundleType,version:_s.version,rendererPackageName:_s.rendererPackageName,rendererConfig:_s.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:He.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=ah(n),n===null?null:n.stateNode},findFiberByHostInstance:_s.findFiberByHostInstance||R0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var _d=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!_d.isDisabled&&_d.supportsFiber)try{Vu=_d.inject(Im),Ei=_d}catch{}}return di.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O0,di.createPortal=function(n,r){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ao(r))throw Error(l(200));return Lm(n,r,null,s)},di.createRoot=function(n,r){if(!ao(n))throw Error(l(299));var s=!1,f="",v=Fp;return r!=null&&(r.unstable_strictMode===!0&&(s=!0),r.identifierPrefix!==void 0&&(f=r.identifierPrefix),r.onRecoverableError!==void 0&&(v=r.onRecoverableError)),r=Ap(n,1,!1,null,null,s,!1,f,v),n[ha]=r.current,_l(n.nodeType===8?n.parentNode:n),new Dd(r)},di.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(l(188)):(n=Object.keys(n).join(","),Error(l(268,n)));return n=ah(r),n=n===null?null:n.stateNode,n},di.flushSync=function(n){return Wi(n)},di.hydrate=function(n,r,s){if(!Nd(r))throw Error(l(200));return Ld(null,n,r,!0,s)},di.hydrateRoot=function(n,r,s){if(!ao(n))throw Error(l(405));var f=s!=null&&s.hydratedSources||null,v=!1,y="",T=Fp;if(s!=null&&(s.unstable_strictMode===!0&&(v=!0),s.identifierPrefix!==void 0&&(y=s.identifierPrefix),s.onRecoverableError!==void 0&&(T=s.onRecoverableError)),r=Mp(r,null,n,1,s??null,v,!1,y,T),n[ha]=r.current,_l(n),f)for(n=0;n<f.length;n++)s=f[n],v=s._getVersion,v=v(s._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[s,v]:r.mutableSourceEagerHydrationData.push(s,v);return new Ls(r)},di.render=function(n,r,s){if(!Nd(r))throw Error(l(200));return Ld(null,n,r,!1,s)},di.unmountComponentAtNode=function(n){if(!Nd(n))throw Error(l(40));return n._reactRootContainer?(Wi(function(){Ld(null,null,n,!1,function(){n._reactRootContainer=null,n[ha]=null})}),!0):!1},di.unstable_batchedUpdates=Np,di.unstable_renderSubtreeIntoContainer=function(n,r,s,f){if(!Nd(s))throw Error(l(200));if(n==null||n._reactInternals===void 0)throw Error(l(38));return Ld(n,r,s,!1,f)},di.version="18.3.1-next-f1338f8080-20240426",di}function dR(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(dR)}catch(a){console.error(a)}}}process.env.NODE_ENV==="production"?(dR(),KI()):YI();var lc=zI(a=>a),QI=typeof document<"u"?se.useLayoutEffect:se.useEffect,pw=a=>(a==null?void 0:a.constructor.name)==="Array",fR=(a,u)=>{if(Object.is(a,u))return!0;if(a==null&&u!=null||a!=null&&u==null)return!1;if(typeof(a==null?void 0:a.isEqual)=="function"&&typeof(u==null?void 0:u.isEqual)=="function")return a.isEqual(u);if(typeof a=="function"&&typeof u=="function")return a.toString()===u.toString();if(pw(a)&&pw(u))return Array.from(a).toString()===Array.from(u).toString();if(typeof a!="object"||typeof u!="object")return!1;const l=Object.keys(u??Object.create(null)),d=l.length;for(let g=0;g<d;g++)if(!Reflect.has(a,l[g]))return!1;for(let g=0;g<d;g++){const b=l[g];if(!fR(a[b],u[b]))return!1}return!0};function pR(a){if(!XI(a)||a===void 0)return a;const u=Reflect.ownKeys(a).filter(d=>typeof d=="string"),l={};for(const d of u){const g=a[d];g!==void 0&&(l[d]=pR(g))}return l}var XI=a=>a&&typeof a=="object"&&a.constructor===Object;function qI(a){const u=se.useRef();return se.useEffect(()=>{u.current=a}),u.current}function ZI(a,u){const l=se.useRef(!1),d=se.useRef(!1);se.useEffect(()=>{if(l.current&&d.current)return a();d.current=!0},u),se.useEffect(()=>(l.current=!0,()=>{l.current=!1}),[])}var{use:vw}=se,JI=new WeakMap;function eM(a,u){const{actions:l,context:d,sync:g}=u??{},b=se.useRef(),h=se.useRef(),x=se.useSyncExternalStore(se.useCallback(_=>UE(a.state,_,g),[g]),()=>{const _=Du(a.state,vw);try{if(b.current&&h.current&&!aR(b.current,_,h.current,new WeakMap))return b.current}catch{}return _},()=>Du(a.state,vw));a.setOptions({actions:l});const R=qI(d),C=se.useMemo(()=>pR(d??{}),[d]);ZI(()=>{Object.entries(C).map(([I,K])=>({key:I,curr:K,prev:R==null?void 0:R[I],equal:fR(R==null?void 0:R[I],K)})).every(({equal:I})=>I)||a.setContext(C)},[C]);const D=new WeakMap;se.useEffect(()=>{b.current=x,h.current=D});const O=se.useMemo(()=>new WeakMap,[]);return iR(x,D,O,JI)}function tM(a){const u=se.useRef();return u.current||(u.current={v:a()}),u.current.v}function nM(a,u){const{state:l,context:d}=u??{},g=tM(()=>{const b=typeof a=="function"?a():a;return d&&b.setContext(d),b});return QI(()=>(g.start(l),()=>{g.stop()}),[]),g}function Mu(a,u){const l=nM(a,u);return[eM(l,u),l.send,l]}function rM(a,u){typeof a=="function"?a(u):a!=null&&(a.current=u)}function vR(...a){return u=>a.forEach(l=>rM(l,u))}const RE=a=>{const u=se.memo(se.forwardRef((l,d)=>{const{asChild:g,children:b,...h}=l;if(!g)return se.createElement(a,{...h,ref:d},b);const x=se.Children.only(b);return se.isValidElement(x)?se.cloneElement(x,{...dt(h,x.props),ref:d?vR(d,x.ref):x.ref}):null}));return u.displayName=a.displayName||a.name,u},iM=()=>{const a=new Map;return new Proxy(RE,{apply(u,l,d){return RE(d[0])},get(u,l){const d=l;return a.has(d)||a.set(d,RE(d)),a.get(d)}})},pt=iM(),[aM,hR]=ra({name:"CollapsibleContext",hookName:"useCollapsibleContext",providerName:"<CollapsibleProvider />"}),ia=()=>(a,u)=>u.reduce((l,d)=>{const[g,b]=l,h=d;return b[h]!==void 0&&(g[h]=b[h]),delete b[h],[g,b]},[{},{...a}]),oM=a=>ia()(a,["defaultOpen","dir","disabled","getRootNode","id","ids","lazyMount","onExitComplete","onOpenChange","open","unmountOnExit"]);var lM=yo("collapsible").parts("root","trigger","content"),kE=lM.build(),ta=oc({getRootId:a=>{var u;return((u=a.ids)==null?void 0:u.root)??`collapsible:${a.id}`},getContentId:a=>{var u;return((u=a.ids)==null?void 0:u.content)??`collapsible:${a.id}:content`},getTriggerId:a=>{var u;return((u=a.ids)==null?void 0:u.trigger)??`collapsible:${a.id}:trigger`},getRootEl:a=>ta.getById(a,ta.getRootId(a)),getContentEl:a=>ta.getById(a,ta.getContentId(a)),getTriggerEl:a=>ta.getById(a,ta.getTriggerId(a))});function uM(a,u,l){const d=a.matches("open","closing"),g=a.matches("open"),b=a.context.height,h=a.context.width,x=!!a.context.disabled,R=a.context.isMountAnimationPrevented&&g;return{isDisabled:x,isVisible:d,isOpen:g,open(){u("OPEN")},close(){u("CLOSE")},rootProps:l.element({...kE.root.attrs,"data-state":g?"open":"closed",dir:a.context.dir,id:ta.getRootId(a.context)}),contentProps:l.element({...kE.content.attrs,"data-state":R?void 0:g?"open":"closed",id:ta.getContentId(a.context),"data-disabled":nt(x),hidden:!d,style:{"--height":b!=null?`${b}px`:void 0,"--width":h!=null?`${h}px`:void 0}}),triggerProps:l.element({...kE.trigger.attrs,id:ta.getTriggerId(a.context),dir:a.context.dir,type:"button","data-state":g?"open":"closed","data-disabled":nt(x),"aria-controls":ta.getContentId(a.context),"aria-expanded":d||!1,onClick(){x||u({type:g?"CLOSE":"OPEN",src:"trigger.click"})}})}}function sM(a){const u=vl(a);return Iu({id:"collapsible",initial:u.open?"open":"closed",context:{...u,height:0,width:0,isMountAnimationPrevented:!!u.open,stylesRef:null},watch:{open:["allowAnimation","toggleVisibility"]},entry:["computeSize"],states:{closed:{tags:["closed"],entry:["computeSize"],on:{"CONTROLLED.OPEN":{target:"open",actions:["computeSize"]},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["allowAnimation","invokeOnOpen"]}]}},closing:{tags:["open"],activities:["trackAnimationEvents"],on:{"CONTROLLED.CLOSE":{target:"closed",actions:["invokeOnExitComplete"]},"CONTROLLED.OPEN":"open",OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["allowAnimation","invokeOnOpen"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["allowAnimation","computeSize","invokeOnExitComplete"]}],"ANIMATION.END":{target:"closed",actions:["invokeOnExitComplete"]}}},open:{tags:["open"],on:{"CONTROLLED.CLOSE":{target:"closing",actions:["computeSize"]},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closing",actions:["allowAnimation","computeSize"]}]}}}},{guards:{isOpenControlled:l=>!!l["open.controlled"]},activities:{trackAnimationEvents(l,d,{send:g}){let b;const h=Qn(()=>{const x=ta.getContentEl(l);if(!x)return;const R=GA(x).animationName;if(!R||R==="none"){g({type:"ANIMATION.END"});return}const D=O=>{O.target===x&&g({type:"ANIMATION.END"})};x.addEventListener("animationend",D),x.addEventListener("animationcancel",D),b=()=>{x.removeEventListener("animationend",D),x.removeEventListener("animationcancel",D)}});return()=>{h(),b==null||b()}}},actions:{allowAnimation(l){l.isMountAnimationPrevented=!1},computeSize:l=>{Qn(()=>{const d=ta.getContentEl(l);if(!d)return;l.stylesRef||(l.stylesRef=rc({animationName:d.style.animationName,animationDuration:d.style.animationDuration}));const g=d.hidden;d.style.animationName="none",d.style.animationDuration="0s",d.hidden=!1;const b=d.getBoundingClientRect();l.height=b.height,l.width=b.width,l.isMountAnimationPrevented||(d.style.animationName=l.stylesRef.animationName,d.style.animationDuration=l.stylesRef.animationDuration),d.hidden=g})},invokeOnOpen:l=>{var d;(d=l.onOpenChange)==null||d.call(l,{open:!0})},invokeOnClose:l=>{var d;(d=l.onOpenChange)==null||d.call(l,{open:!1})},invokeOnExitComplete(l){var d;(d=l.onExitComplete)==null||d.call(l)},toggleVisibility:(l,d,{send:g})=>{g({type:l.open?"CONTROLLED.OPEN":"CONTROLLED.CLOSE"})}}})}vi()(["dir","disabled","getRootNode","id","ids","onExitComplete","onOpenChange","open.controlled","open"]);const[qz,uc]=ra({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1});function pi(a,u={}){const{sync:l=!1}=u,d=cM(a);return se.useCallback((...g)=>{var b;return l?queueMicrotask(()=>{var h;return(h=d.current)==null?void 0:h.call(d,...g)}):(b=d.current)==null?void 0:b.call(d,...g)},[l,d])}function cM(a){const u=se.useRef(a);return u.current=a,u}const dM=(a={})=>{const{lazyMount:u,unmountOnExit:l}=a,d=se.useRef(!1),g={id:se.useId(),getRootNode:uc(),...a,open:a.defaultOpen??a.open,"open.controlled":a.open!==void 0},b={...g,open:a.open,onOpenChange:pi(a.onOpenChange,{sync:!0})},[h,x]=Mu(sM(g),{context:b}),R=uM(h,x,lc);R.isVisible&&(d.current=!0);const C=!R.isVisible&&!d.current&&u||l&&!R.isVisible&&d.current;return{...R,isUnmounted:C}},mR=se.forwardRef((a,u)=>{const[l,d]=oM(a),g=dM(l),b=dt(g.rootProps,d);return Z.jsx(aM,{value:g,children:Z.jsx(pt.div,{...b,ref:u})})});mR.displayName="CollapsibleRoot";const[XE,qE]=ra({name:"RenderStrategyContext",hookName:"useRenderStrategyContext",providerName:"<RenderStrategyProvider />"}),ZE=a=>ia()(a,["lazyMount","unmountOnExit"]),fM=a=>typeof a=="function",yf=(a,...u)=>fM(a)?a(...u):a,[pM,JE]=ra({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItemProvider />"}),gR=se.forwardRef((a,u)=>{const[l,{children:d,...g}]=$I(a),b=Iy(),h=qE(),x=dt(b.getItemProps(l),g),R=b.getItemState(l),C=yf(d,R),D=b.getItemContentProps(l);return Z.jsx(pM,{value:l,children:Z.jsx(mR,{ref:u,open:R.isOpen,ids:{content:D.id},...h,...x,children:C})})});gR.displayName="AccordionItem";const yR=se.forwardRef((a,u)=>{const l=hR();if(l.isUnmounted)return null;const d=dt(l.contentProps,a);return Z.jsx(pt.div,{...d,ref:u})});yR.displayName="CollapsibleContent";const SR=se.forwardRef((a,u)=>{const l=Iy(),d=JE(),{hidden:g,...b}=l.getItemContentProps(d),h=dt(b,a);return Z.jsx(yR,{ref:u,...h})});SR.displayName="AccordionItemContent";const bR=se.forwardRef((a,u)=>{const l=Iy(),d=JE(),g=dt(l.getItemIndicatorProps(d),a);return Z.jsx(pt.div,{...g,ref:u})});bR.displayName="AccordionItemIndicator";const ER=se.forwardRef((a,u)=>{const l=Iy(),d=hR(),g=JE(),b=l.getItemTriggerProps(g),h=dt({...b,"aria-controls":d.isUnmounted?void 0:b["aria-controls"]},a);return Z.jsx(pt.button,{...h,ref:u})});ER.displayName="AccordionItemTrigger";const vM=(a={})=>{const u={id:se.useId(),getRootNode:uc(),...a,value:a.defaultValue},l={...u,value:a.value,onFocusChange:pi(a.onFocusChange),onValueChange:pi(a.onValueChange)},[d,g]=Mu(jI(u),{context:l});return UI(d,g,lc)},CR=se.forwardRef((a,u)=>{const[l,d]=ZE(a),[g,b]=ia()(d,["collapsible","defaultValue","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value"]),h=vM(g),x=dt(h.rootProps,b);return Z.jsx(_A,{value:h,children:Z.jsx(XE,{value:l,children:Z.jsx(pt.div,{...x,ref:u})})})});CR.displayName="AccordionRoot";const hw=(...a)=>a.filter(Boolean).join(" "),Py=(a,u)=>{const l=se.createContext(null);return{withContext:(b,h,x)=>h?se.forwardRef((C,D)=>{const O=se.useContext(l),_=(u==null?void 0:u.dataAttr)??!1;return se.createElement(b,{..._&&{"data-recipe-slot":h??""},...C,...x==null?void 0:x.defaultProps,className:hw(O==null?void 0:O[h??""],C.className),ref:D})}):b,withProvider:(b,h,x)=>se.forwardRef((C,D)=>{const[O,_]=a.splitVariantProps({...C,...x==null?void 0:x.defaultProps}),A=a(O),N=(u==null?void 0:u.dataAttr)??!1;return Z.jsx(l.Provider,{value:A,children:Z.jsx(b,{ref:D,...N&&{"data-recipe-slot":h??""},..._,className:hw(A[h??""],_.className)})})})}},{withProvider:hM,withContext:Fy}=Py(Dn.accordion),mM=hM(rt.styled(CR),"root"),gM=Fy(rt.styled(gR),"item"),yM=Fy(rt.styled(SR),"itemContent"),SM=Fy(rt.styled(bR),"itemIndicator",{defaultProps:{children:Z.jsx("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Z.jsx("path",{d:"M4.94 6.03L8 9.08333L11.06 6.03L12 6.97L8 10.97L4 6.97L4.94 6.03Z",fill:"currentColor"})})}}),bM=Fy(rt.styled(ER),"itemTrigger"),TR=rt.styled("button",Dn.button),[EM,xR]=ra({name:"CheckboxContext",hookName:"useCheckboxContext",providerName:"<CheckboxProvider />"}),wR=se.forwardRef((a,u)=>{const l=xR(),d=dt(l.controlProps,a);return Z.jsxs(Z.Fragment,{children:[Z.jsx(pt.div,{...d,ref:u}),Z.jsx("input",{...l.hiddenInputProps})]})});wR.displayName="CheckboxControl";const RR=se.forwardRef((a,u)=>{const l=xR(),d=dt(l.labelProps,a);return Z.jsx(pt.span,{...d,ref:u})});RR.displayName="CheckboxLabel";var eC={border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"};function kR(a,u,l){if(!a)return;const d=a.ownerDocument.defaultView||window,g=new d.MutationObserver(b=>{for(const h of b)h.type==="attributes"&&h.attributeName&&u.includes(h.attributeName)&&l(h)});return g.observe(a,{attributes:!0,attributeFilter:u}),()=>g.disconnect()}var OR=a=>a.ownerDocument.defaultView||window;function DR(a,u){const{type:l="HTMLInputElement",property:d="value"}=u,g=OR(a)[l].prototype;return Object.getOwnPropertyDescriptor(g,d)??{}}function CM(a,u,l={}){var g;(g=DR(a,l).set)==null||g.call(a,u)}function TM(a,u){var d;(d=DR(a,{type:"HTMLInputElement",property:"checked"}).set)==null||d.call(a,u)}function NR(a,u){const{checked:l,bubbles:d=!0}=u;if(!a)return;const g=OR(a);a instanceof g.HTMLInputElement&&(TM(a,l),a.dispatchEvent(new g.Event("click",{bubbles:d})),a.dispatchEvent(new g.Event("change",{bubbles:d})))}function xM(a){return wM(a)?a.form:a.closest("form")}function wM(a){return a.matches("textarea, input, select, button")}function RM(a,u){if(!a)return;const l=xM(a);return l==null||l.addEventListener("reset",u,{passive:!0}),()=>{l==null||l.removeEventListener("reset",u)}}function kM(a,u){const l=a==null?void 0:a.closest("fieldset");if(l)return u(l.disabled),kR(l,["disabled"],()=>u(l.disabled))}function tC(a,u){if(!a)return;const{onFieldsetDisabledChange:l,onFormReset:d}=u,g=[RM(a,d),kM(a,l)];return()=>{g.forEach(b=>b==null?void 0:b())}}var LR=yo("checkbox").parts("root","label","control","indicator"),fy=LR.build(),fi=oc({getRootId:a=>{var u;return((u=a.ids)==null?void 0:u.root)??`checkbox:${a.id}`},getLabelId:a=>{var u;return((u=a.ids)==null?void 0:u.label)??`checkbox:${a.id}:label`},getControlId:a=>{var u;return((u=a.ids)==null?void 0:u.control)??`checkbox:${a.id}:control`},getHiddenInputId:a=>{var u;return((u=a.ids)==null?void 0:u.hiddenInput)??`checkbox:${a.id}:hidden`},getRootEl:a=>fi.getById(a,fi.getRootId(a)),getHiddenInputEl:a=>fi.getById(a,fi.getHiddenInputId(a))});function OM(a,u,l){const d=a.context.isDisabled,g=!d&&a.context.focused,b=a.context.isChecked,h=a.context.isIndeterminate,x={"data-active":nt(a.context.active),"data-focus":nt(g),"data-hover":nt(a.context.hovered),"data-disabled":nt(d),"data-state":h?"indeterminate":a.context.checked?"checked":"unchecked","data-invalid":nt(a.context.invalid)};return{isChecked:b,isDisabled:d,isIndeterminate:h,isFocused:g,checkedState:a.context.checked,setChecked(R){u({type:"CHECKED.SET",checked:R,isTrusted:!1})},toggleChecked(){u({type:"CHECKED.TOGGLE",checked:b,isTrusted:!1})},rootProps:l.label({...fy.root.attrs,...x,dir:a.context.dir,id:fi.getRootId(a.context),htmlFor:fi.getHiddenInputId(a.context),onPointerMove(){d||u({type:"CONTEXT.SET",context:{hovered:!0}})},onPointerLeave(){d||u({type:"CONTEXT.SET",context:{hovered:!1}})},onPointerDown(R){d||(g&&R.pointerType==="mouse"&&R.preventDefault(),u({type:"CONTEXT.SET",context:{active:!0}}))},onPointerUp(){d||u({type:"CONTEXT.SET",context:{active:!1}})},onClick(R){R.target===fi.getHiddenInputEl(a.context)&&R.stopPropagation()}}),labelProps:l.element({...fy.label.attrs,...x,dir:a.context.dir,id:fi.getLabelId(a.context)}),controlProps:l.element({...fy.control.attrs,...x,dir:a.context.dir,id:fi.getControlId(a.context),"aria-hidden":!0}),indicatorProps:l.element({...fy.indicator.attrs,...x,dir:a.context.dir,hidden:!h&&!a.context.checked}),hiddenInputProps:l.input({id:fi.getHiddenInputId(a.context),type:"checkbox",required:a.context.required,defaultChecked:b,disabled:d,"data-disabled":nt(d),"aria-labelledby":fi.getLabelId(a.context),"aria-invalid":a.context.invalid,name:a.context.name,form:a.context.form,value:a.context.value,style:eC,onChange(R){const C=R.currentTarget.checked;u({type:"CHECKED.SET",checked:C,isTrusted:!0})},onBlur(){u({type:"CONTEXT.SET",context:{focused:!1}})},onFocus(){u({type:"CONTEXT.SET",context:{focused:!0}})},onKeyDown(R){R.key===" "&&u({type:"CONTEXT.SET",context:{active:!0}})},onKeyUp(R){R.key===" "&&u({type:"CONTEXT.SET",context:{active:!1}})}})}}var{not:mw}=gf;function DM(a){const u=vl(a);return Iu({id:"checkbox",initial:"ready",context:{checked:!1,value:"on",disabled:!1,...u,fieldsetDisabled:!1},watch:{disabled:"removeFocusIfNeeded",checked:"syncInputElement"},activities:["trackFormControlState"],on:{"CHECKED.TOGGLE":[{guard:mw("isTrusted"),actions:["toggleChecked","dispatchChangeEvent"]},{actions:["toggleChecked"]}],"CHECKED.SET":[{guard:mw("isTrusted"),actions:["setChecked","dispatchChangeEvent"]},{actions:["setChecked"]}],"CONTEXT.SET":{actions:["setContext"]}},computed:{isIndeterminate:l=>HE(l.checked),isChecked:l=>gw(l.checked),isDisabled:l=>!!l.disabled||l.fieldsetDisabled},states:{ready:{}}},{guards:{isTrusted:(l,d)=>!!d.isTrusted},activities:{trackFormControlState(l,d,{send:g,initialContext:b}){return tC(fi.getHiddenInputEl(l),{onFieldsetDisabledChange(h){l.fieldsetDisabled=h},onFormReset(){g({type:"CHECKED.SET",checked:!!b.checked})}})}},actions:{setContext(l,d){Object.assign(l,d.context)},syncInputElement(l){const d=fi.getHiddenInputEl(l);d&&(d.checked=l.isChecked,d.indeterminate=l.isIndeterminate)},removeFocusIfNeeded(l){l.disabled&&l.focused&&(l.focused=!1)},setChecked(l,d){yw.checked(l,d.checked)},toggleChecked(l){const d=HE(l.checked)?!0:!l.checked;yw.checked(l,d)},dispatchChangeEvent(l){const d=fi.getHiddenInputEl(l);NR(d,{checked:gw(l.checked)})}}})}function HE(a){return a==="indeterminate"}function gw(a){return HE(a)?!1:!!a}var NM={change:a=>{var u;(u=a.onCheckedChange)==null||u.call(a,{checked:a.checked})}},yw={checked:(a,u)=>{So(a.checked,u)||(a.checked=u,NM.change(a))}};vi()(["checked","dir","disabled","form","getRootNode","id","ids","invalid","name","onCheckedChange","required","value"]);const LM=(a={})=>{const u={id:se.useId(),getRootNode:uc(),...a,checked:a.defaultChecked},l={...u,checked:a.checked,onCheckedChange:pi(a.onCheckedChange,{sync:!0})},[d,g]=Mu(DM(u),{context:l});return OM(d,g,lc)},_R=se.forwardRef((a,u)=>{const[l,{children:d,...g}]=ia()(a,["checked","defaultChecked","dir","disabled","form","getRootNode","id","ids","invalid","name","onCheckedChange","required","value"]),b=LM(l),h=dt(b.rootProps,g),x=yf(d,b);return Z.jsx(EM,{value:b,children:Z.jsx(pt.label,{...h,ref:u,children:x})})});_R.displayName="CheckboxRoot";const AR=se.forwardRef((a,u)=>{const[l,d]=Dn.checkbox.splitVariantProps(a),[g,b]=rt.splitCssProps(d),{children:h,className:x,...R}=b,C=Dn.checkbox(l);return Z.jsx(_R,{ref:u,className:vf.cx(C.root,vf.css(g),x),...R,children:D=>Z.jsxs(Z.Fragment,{children:[Z.jsxs(wR,{className:C.control,children:[D.isChecked&&Z.jsx(_M,{}),D.isIndeterminate&&Z.jsx(AM,{})]}),h&&Z.jsx(RR,{className:C.label,children:h})]})})});AR.displayName="Checkbox";const _M=()=>Z.jsxs("svg",{viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Z.jsx("title",{children:"Check Icon"}),Z.jsx("path",{d:"M4.39754 8.43751L2.31254 6.35251L1.60254 7.05751L4.39754 9.85251L10.3975 3.85251L9.69254 3.14751L4.39754 8.43751Z",fill:"white"})]}),AM=()=>Z.jsxs("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Z.jsx("title",{children:"Minus Icon"}),Z.jsx("path",{d:"M3 6H9V7H3V6Z",fill:"white"})]});function IM(a,u,l){return{isPresent:a.matches("mounted","unmountSuspended"),setNode(d){d&&u({type:"NODE.SET",node:d})}}}var{and:MM,or:PM}=gf;function Vv(a){return(a==null?void 0:a.animationName)||"none"}function FM(a){const u=a.present?"mounted":"unmounted";return Iu({initial:u,watch:{present:["raisePresenceChange","setPrevPresent"]},context:{node:null,styles:null,prevAnimationName:"",present:!1,...a},on:{"NODE.SET":{actions:["setNode","setStyles"]},"PRESENCE.CHANGED":[{guard:"isPresent",target:"mounted",actions:["setPrevAnimationName"]},{guard:PM("isAnimationNone","isDisplayNone"),target:"unmounted",actions:["invokeOnExitComplete"]},{guard:MM("wasPresent","isAnimating"),target:"unmountSuspended"},{target:"unmounted",actions:["invokeOnExitComplete"]}]},states:{mounted:{on:{UNMOUNT:"unmounted"}},unmountSuspended:{activities:["trackAnimationEvents"],on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]},"ANIMATION.END":{target:"unmounted",actions:["invokeOnExitComplete"]}}},unmounted:{entry:["clearPrevAnimationName"],on:{MOUNT:"mounted"}}}},{guards:{isPresent:l=>!!l.present,isAnimationNone:l=>Vv(l.styles)==="none",isDisplayNone:l=>{var d;return((d=l.styles)==null?void 0:d.display)==="none"},wasPresent:l=>!!l.prevPresent,isAnimating:l=>l.prevAnimationName!==Vv(l.styles)},actions:{invokeOnExitComplete(l){var d;(d=l.onExitComplete)==null||d.call(l)},setNode(l,d){l.node=rc(d.node)},setStyles(l,d){const g=d.node.ownerDocument.defaultView||window;l.styles=rc(g.getComputedStyle(d.node))},raisePresenceChange(l,d,{send:g}){g("PRESENCE.CHANGED")},setPrevPresent(l){l.prevPresent=l.present},setPrevAnimationName(l){requestAnimationFrame(()=>{l.prevAnimationName=Vv(l.styles)})},clearPrevAnimationName(l){l.prevAnimationName=""}},activities:{trackAnimationEvents(l,d,{send:g}){const b=l.node;if(!b)return;const h=R=>{R.target===b&&(l.prevAnimationName=Vv(l.styles))},x=R=>{const D=Vv(l.styles).includes(R.animationName);R.target===b&&D&&g("ANIMATION.END")};return b.addEventListener("animationstart",h),b.addEventListener("animationcancel",x),b.addEventListener("animationend",x),()=>{b.removeEventListener("animationstart",h),b.removeEventListener("animationcancel",x),b.removeEventListener("animationend",x)}}}})}vi()(["onExitComplete","present"]);const zy=a=>{const{lazyMount:u,unmountOnExit:l,...d}=a,g=se.useRef(!1),b={...d,onExitComplete:pi(a.onExitComplete)},[h,x]=Mu(FM(b),{context:b}),R=IM(h,x);R.isPresent&&(g.current=!0);const C=!R.isPresent&&!g.current&&u||l&&!R.isPresent&&g.current;return{getPresenceProps:O=>({ref:vR(R.setNode,O),"data-state":a.present?"open":"closed",hidden:!R.isPresent}),isPresent:R.isPresent,isUnmounted:C}},[zM,Sf]=ra({name:"DialogContext",hookName:"useDialogContext",providerName:"<DialogProvider />"}),IR=se.forwardRef((a,u)=>{const l=Sf(),d=qE(),g=zy({...d,present:l.isOpen}),b=dt(l.backdropProps,g.getPresenceProps(u),a);return g.isUnmounted?null:Z.jsx(pt.div,{...b})});IR.displayName="DialogBackdrop";const MR=se.forwardRef((a,u)=>{const l=Sf(),d=dt(l.closeTriggerProps,a);return Z.jsx(pt.button,{...d,ref:u})});MR.displayName="DialogCloseTrigger";const[nC,Jv]=ra({name:"PresenceContext",hookName:"usePresenceContext",providerName:"<PresenceProvider />"}),rC=se.forwardRef((a,u)=>{const l=Sf(),d=Jv(),g=dt(l.contentProps,d.getPresenceProps(u),a);return d.isUnmounted?null:Z.jsx(pt.div,{...g})});rC.displayName="DialogContent";const PR=se.forwardRef((a,u)=>{const l=Sf(),d=dt(l.positionerProps,a);return Jv().isUnmounted?null:Z.jsx(pt.div,{...d,ref:u})});PR.displayName="DialogPositioner";const FR=a=>ia()(a,["lazyMount","onExitComplete","present","unmountOnExit"]);var jv=new WeakMap,ea=[];function UM(a,u={}){const{rootEl:l}=u,d=a.filter(Boolean);if(d.length===0)return;const g=d[0].ownerDocument||document,b=g.defaultView??window,h=new Set(d),x=new Set,R=l??g.body;let C=A=>{for(let J of A.querySelectorAll("[data-live-announcer], [data-zag-top-layer]"))h.add(J);let N=J=>{if(h.has(J)||x.has(J.parentElement)&&J.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let Te of h)if(J.contains(Te))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},I=g.createTreeWalker(A,NodeFilter.SHOW_ELEMENT,{acceptNode:N}),K=N(A);if(K===NodeFilter.FILTER_ACCEPT&&D(A),K!==NodeFilter.FILTER_REJECT){let J=I.nextNode();for(;J!=null;)D(J),J=I.nextNode()}},D=A=>{let N=jv.get(A)??0;A.getAttribute("aria-hidden")==="true"&&N===0||(N===0&&A.setAttribute("aria-hidden","true"),x.add(A),jv.set(A,N+1))};ea.length&&ea[ea.length-1].disconnect(),C(R);const O=new b.MutationObserver(A=>{for(let N of A)if(!(N.type!=="childList"||N.addedNodes.length===0)&&![...h,...x].some(I=>I.contains(N.target))){for(let I of N.removedNodes)I instanceof b.Element&&(h.delete(I),x.delete(I));for(let I of N.addedNodes)(I instanceof b.HTMLElement||I instanceof b.SVGElement)&&(I.dataset.liveAnnouncer==="true"||I.dataset.zagTopLayer==="true")?h.add(I):I instanceof b.Element&&C(I)}});O.observe(R,{childList:!0,subtree:!0});let _={observe(){O.observe(R,{childList:!0,subtree:!0})},disconnect(){O.disconnect()}};return ea.push(_),()=>{O.disconnect();for(let A of x){let N=jv.get(A);N===1?(A.removeAttribute("aria-hidden"),jv.delete(A)):jv.set(A,N-1)}_===ea[ea.length-1]?(ea.pop(),ea.length&&ea[ea.length-1].observe()):ea.splice(ea.indexOf(_),1)}}function HM(a,u={}){const{defer:l}=u,d=l?Qn:b=>b(),g=[];return g.push(d(()=>{const b=typeof a=="function"?a():a;g.push(UM(b,u))})),()=>{g.forEach(b=>b==null?void 0:b())}}var iC=a=>typeof a=="object"&&a!==null&&a.nodeType===1,zR=a=>iC(a)&&a.tagName==="IFRAME";function VM(a){return iC(a)?a.offsetWidth>0||a.offsetHeight>0||a.getClientRects().length>0:!1}function jM(a){return parseInt(a.getAttribute("tabindex")||"0",10)<0}var aC="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type",UR=(a,u=!1)=>{if(!a)return[];const l=Array.from(a.querySelectorAll(aC));(u==!0||u=="if-empty"&&l.length===0)&&iC(a)&&qv(a)&&l.unshift(a);const g=l.filter(qv);return g.forEach((b,h)=>{if(zR(b)&&b.contentDocument){const x=b.contentDocument.body;g.splice(h,1,...UR(x))}}),g};function qv(a){return!a||a.closest("[inert]")?!1:a.matches(aC)&&VM(a)}function oC(a,u){if(!a)return[];const l=Array.from(a.querySelectorAll(aC)),d=l.filter(Sw);return u&&Sw(a)&&d.unshift(a),d.forEach((g,b)=>{if(zR(g)&&g.contentDocument){const h=g.contentDocument.body,x=oC(h);d.splice(b,1,...x)}}),!d.length&&u?l:d}function Sw(a){return a!=null&&a.tabIndex>0?!0:qv(a)&&!jM(a)}function BM(a,u){const l=oC(a,u),d=l[0]||null,g=l[l.length-1]||null;return[d,g]}function $M(a,u){const l=oC(a),d=(a==null?void 0:a.ownerDocument)||document,g=u??d.activeElement;if(!g)return null;const b=l.indexOf(g);return l[b+1]||null}function GM(a,u={}){const{triggerElement:l,onFocus:d}=u,g=(a==null?void 0:a.ownerDocument)||document,b=g.body;function h(x){if(x.key!=="Tab")return;let R=null;const[C,D]=BM(a,!0),O=!C&&!D;x.shiftKey&&(g.activeElement===C||O)?R=l:!x.shiftKey&&g.activeElement===l?R=C:!x.shiftKey&&(g.activeElement===D||O)&&(R=$M(b,l)),R&&(x.preventDefault(),(d==null?void 0:d(R))??R.focus())}return g==null||g.addEventListener("keydown",h,!0),()=>{g==null||g.removeEventListener("keydown",h,!0)}}function WM(a,u){const{defer:l,triggerElement:d,...g}=u,b=l?Qn:x=>x(),h=[];return h.push(b(()=>{const x=typeof a=="function"?a():a,R=typeof d=="function"?d():d;h.push(GM(x,{triggerElement:R,...g}))})),()=>{h.forEach(x=>x==null?void 0:x())}}function YM(a){const u={each(l){var d;for(let g=0;g<((d=a.frames)==null?void 0:d.length);g+=1){const b=a.frames[g];b&&l(b)}},addEventListener(l,d,g){return u.each(b=>{try{b.document.addEventListener(l,d,g)}catch{}}),()=>{try{u.removeEventListener(l,d,g)}catch{}}},removeEventListener(l,d,g){u.each(b=>{try{b.document.removeEventListener(l,d,g)}catch{}})}};return u}var bw="pointerdown.outside",Ew="focus.outside";function KM(a){const u=a.composedPath()??[a.target];for(const l of u)if(nc(l)&&qv(l))return!0;return!1}var HR=a=>"clientY"in a;function QM(a,u){if(!HR(u)||!a)return!1;const l=a.getBoundingClientRect();return l.width===0||l.height===0?!1:l.top<=u.clientY&&u.clientY<=l.top+l.height&&l.left<=u.clientX&&u.clientX<=l.left+l.width}function XM(a){const u=Xv(a);if(!u||!HR(a))return!1;const d=u.scrollHeight>u.clientHeight&&a.clientX>u.clientWidth,b=u.scrollWidth>u.clientWidth&&a.clientY>u.clientHeight;return d||b}function qM(a,u){const{exclude:l,onFocusOutside:d,onPointerDownOutside:g,onInteractOutside:b}=u;if(!a)return;const h=My(a),x=mf(a),R=YM(x);function C(I){const K=Xv(I);return!nc(K)||Qv(a,K)||QM(a,I)||XM(I)?!1:!(l!=null&&l(K))}let D;function O(I){function K(){if(!(!a||!C(I))){if(g||b){const J=ew(g,b);a.addEventListener(bw,J,{once:!0})}qx(a,bw,{bubbles:!1,cancelable:!0,detail:{originalEvent:I,contextmenu:tI(I),focusable:KM(I)}})}}I.pointerType==="touch"?(R.removeEventListener("click",K),h.removeEventListener("click",K),D=K,h.addEventListener("click",K,{once:!0}),R.addEventListener("click",K,{once:!0})):K()}const _=new Set,A=setTimeout(()=>{_.add(R.addEventListener("pointerdown",O,!0)),_.add(ME(h,"pointerdown",O,!0))},0);function N(I){if(!(!a||!C(I))){if(d||b){const K=ew(d,b);a.addEventListener(Ew,K,{once:!0})}qx(a,Ew,{bubbles:!1,cancelable:!0,detail:{originalEvent:I,contextmenu:!1,focusable:qv(Xv(I))}})}}return _.add(ME(h,"focusin",N,!0)),_.add(R.addEventListener("focusin",N,!0)),()=>{clearTimeout(A),D&&(R.removeEventListener("click",D),h.removeEventListener("click",D)),_.forEach(I=>I())}}function ZM(a,u){const{defer:l}=u,d=l?Qn:b=>b(),g=[];return g.push(d(()=>{const b=typeof a=="function"?a():a;g.push(qM(b,u))})),()=>{g.forEach(b=>b==null?void 0:b())}}function JM(a,u){const l=d=>{d.key==="Escape"&&(u==null||u(d))};return ME(My(a),"keydown",l)}var Pa={layers:[],branches:[],count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(a=>a.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(a){var d;const u=this.indexOf(a),l=this.topMostPointerBlockingLayer()?this.indexOf((d=this.topMostPointerBlockingLayer())==null?void 0:d.node):-1;return u<l},isTopMost(a){const u=this.layers[this.count()-1];return(u==null?void 0:u.node)===a},getNestedLayers(a){return Array.from(this.layers).slice(this.indexOf(a)+1)},isInNestedLayer(a,u){return this.getNestedLayers(a).some(l=>Qv(l.node,u))},isInBranch(a){return Array.from(this.branches).some(u=>Qv(u,a))},add(a){this.layers.push(a)},addBranch(a){this.branches.push(a)},remove(a){const u=this.indexOf(a);u<0||(u<this.count()-1&&this.getNestedLayers(a).forEach(d=>d.dismiss()),this.layers.splice(u,1))},removeBranch(a){const u=this.branches.indexOf(a);u>=0&&this.branches.splice(u,1)},indexOf(a){return this.layers.findIndex(u=>u.node===a)},dismiss(a){var u;(u=this.layers[this.indexOf(a)])==null||u.dismiss()},clear(){this.remove(this.layers[0].node)}},Cw;function Tw(){Pa.layers.forEach(({node:a})=>{a.style.pointerEvents=Pa.isBelowPointerBlockingLayer(a)?"none":"auto"})}function eP(a){a.style.pointerEvents=""}var OE="data-inert";function tP(a){const u=My(a);return Pa.hasPointerBlockingLayer()&&!u.body.hasAttribute(OE)&&(Cw=document.body.style.pointerEvents,u.body.style.pointerEvents="none",u.body.setAttribute(OE,"")),()=>{Pa.hasPointerBlockingLayer()||(u.body.style.pointerEvents=Cw,u.body.removeAttribute(OE),u.body.style.length===0&&u.body.removeAttribute("style"))}}function nP(a,u){if(!a){tR("[@zag-js/dismissable] node is `null` or `undefined`");return}const{onDismiss:l,pointerBlocking:d,exclude:g,debug:b}=u,h={dismiss:l,node:a,pointerBlocking:d};Pa.add(h),Tw();function x(_){var N,I;const A=Xv(_.detail.originalEvent);Pa.isBelowPointerBlockingLayer(a)||Pa.isInBranch(A)||((N=u.onPointerDownOutside)==null||N.call(u,_),(I=u.onInteractOutside)==null||I.call(u,_),!_.defaultPrevented&&(b&&console.log("onPointerDownOutside:",_.detail.originalEvent),l==null||l()))}function R(_){var N,I;const A=Xv(_.detail.originalEvent);Pa.isInBranch(A)||((N=u.onFocusOutside)==null||N.call(u,_),(I=u.onInteractOutside)==null||I.call(u,_),!_.defaultPrevented&&(b&&console.log("onFocusOutside:",_.detail.originalEvent),l==null||l()))}function C(_){var A;Pa.isTopMost(a)&&((A=u.onEscapeKeyDown)==null||A.call(u,_),!_.defaultPrevented&&l&&(_.preventDefault(),l()))}function D(_){if(!a)return!1;const A=typeof g=="function"?g():g;return(Array.isArray(A)?A:[A]).some(I=>Qv(I,_))||Pa.isInNestedLayer(a,_)}const O=[d?tP(a):void 0,JM(a,C),ZM(a,{exclude:D,onFocusOutside:R,onPointerDownOutside:x})];return()=>{Pa.remove(a),Tw(),eP(a),O.forEach(_=>_==null?void 0:_())}}function VR(a,u){const{defer:l}=u,d=l?Qn:b=>b(),g=[];return g.push(d(()=>{const b=typeof a=="function"?a():a;g.push(nP(b,u))})),()=>{g.forEach(b=>b==null?void 0:b())}}var DE="data-zag-scroll-lock";function xw(a,u){if(!a)return;const l=a.style.cssText;return Object.assign(a.style,u),()=>{a.style.cssText=l}}function rP(a,u,l){if(!a)return;const d=a.style.getPropertyValue(u);return a.style.setProperty(u,l),()=>{d?a.style.setProperty(u,d):a.style.removeProperty(u)}}function iP(a){const u=a.getBoundingClientRect().left;return Math.round(u)+a.scrollLeft?"paddingLeft":"paddingRight"}function aP(a){const u=a??document,l=u.defaultView??window,{documentElement:d,body:g}=u;if(g.hasAttribute(DE))return;g.setAttribute(DE,"");const h=l.innerWidth-d.clientWidth,x=()=>rP(d,"--scrollbar-width",`${h}px`),R=iP(d),C=()=>xw(g,{overflow:"hidden",[R]:`${h}px`}),D=()=>{const{scrollX:_,scrollY:A,visualViewport:N}=l,I=(N==null?void 0:N.offsetLeft)??0,K=(N==null?void 0:N.offsetTop)??0,J=xw(g,{position:"fixed",overflow:"hidden",top:`${-(A-Math.floor(K))}px`,left:`${-(_-Math.floor(I))}px`,right:"0",[R]:`${h}px`});return()=>{J==null||J(),l.scrollTo({left:_,top:A,behavior:"instant"})}},O=[x(),ZA()?D():C()];return()=>{O.forEach(_=>_==null?void 0:_()),g.removeAttribute(DE)}}/*!
|
|
174
|
+
`+y.stack}return{value:n,source:i,stack:h,digest:null}}function Dp(n,i,s){return{value:n,source:null,stack:s??null,digest:i??null}}function Rs(n,i){try{console.error(i.value)}catch(s){setTimeout(function(){throw s})}}var Sm=typeof WeakMap=="function"?WeakMap:Map;function Em(n,i,s){s=yr(-1,s),s.tag=3,s.payload={element:null};var f=i.value;return s.callback=function(){Dd||(Dd=!0,zp=f),Rs(n,i)},s}function bm(n,i,s){s=yr(-1,s),s.tag=3;var f=n.type.getDerivedStateFromError;if(typeof f=="function"){var h=i.value;s.payload=function(){return f(h)},s.callback=function(){Rs(n,i)}}var y=n.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(s.callback=function(){Rs(n,i),typeof f!="function"&&(oi===null?oi=new Set([this]):oi.add(this));var x=i.stack;this.componentDidCatch(i.value,{componentStack:x!==null?x:""})}),s}function ks(n,i,s){var f=n.pingCache;if(f===null){f=n.pingCache=new Sm;var h=new Set;f.set(i,h)}else h=f.get(i),h===void 0&&(h=new Set,f.set(i,h));h.has(s)||(h.add(s),n=U0.bind(null,n,i,s),i.then(n,n))}function Cm(n){do{var i;if((i=n.tag===13)&&(i=n.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return n;n=n.return}while(n!==null);return null}function Np(n,i,s,f,h){return n.mode&1?(n.flags|=65536,n.lanes=h,n):(n===i?n.flags|=65536:(n.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(i=yr(-1,1),i.tag=2,io(s,i,1))),s.lanes|=1),n)}var Tm=me.ReactCurrentOwner,Er=!1;function Jt(n,i,s,f){i.child=n===null?cm(i,null,s,f):jl(i,n.child,s,f)}function tu(n,i,s,f,h){s=s.render;var y=i.ref;return $l(i,h),f=ne(n,i,s,f,y,h),s=un(),n!==null&&!Er?(i.updateQueue=n.updateQueue,i.flags&=-2053,n.lanes&=~h,en(n,i,h)):(Mt&&s&&Gc(i),i.flags|=1,Jt(n,i,f,h),i.child)}function lo(n,i,s,f,h){if(n===null){var y=s.type;return typeof y=="function"&&!jp(y)&&y.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(i.tag=15,i.type=y,yd(n,i,y,f,h)):(n=Md(s.type,null,f,i,i.mode,h),n.ref=i.ref,n.return=i,i.child=n)}if(y=n.child,!(n.lanes&h)){var x=y.memoizedProps;if(s=s.compare,s=s!==null?s:ls,s(x,f)&&n.ref===i.ref)return en(n,i,h)}return i.flags|=1,n=co(y,f),n.ref=i.ref,n.return=i,i.child=n}function yd(n,i,s,f,h){if(n!==null){var y=n.memoizedProps;if(ls(y,f)&&n.ref===i.ref)if(Er=!1,i.pendingProps=f=y,(n.lanes&h)!==0)n.flags&131072&&(Er=!0);else return i.lanes=n.lanes,en(n,i,h)}return et(n,i,s,f,h)}function br(n,i,s){var f=i.pendingProps,h=f.children,y=n!==null?n.memoizedState:null;if(f.mode==="hidden")if(!(i.mode&1))i.memoizedState={baseLanes:0,cachePool:null,transitions:null},Tt(du,Cr),Cr|=s;else{if(!(s&1073741824))return n=y!==null?y.baseLanes|s:s,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:n,cachePool:null,transitions:null},i.updateQueue=null,Tt(du,Cr),Cr|=n,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},f=y!==null?y.baseLanes:s,Tt(du,Cr),Cr|=f}else y!==null?(f=y.baseLanes|s,i.memoizedState=null):f=s,Tt(du,Cr),Cr|=f;return Jt(n,i,h,s),i.child}function Zo(n,i){var s=i.ref;(n===null&&s!==null||n!==null&&n.ref!==s)&&(i.flags|=512,i.flags|=2097152)}function et(n,i,s,f,h){var y=zt(s)?pr:Qe.current;return y=Xr(i,y),$l(i,h),s=ne(n,i,s,f,y,h),f=un(),n!==null&&!Er?(i.updateQueue=n.updateQueue,i.flags&=-2053,n.lanes&=~h,en(n,i,h)):(Mt&&f&&Gc(i),i.flags|=1,Jt(n,i,s,h),i.child)}function Os(n,i,s,f,h){if(zt(s)){var y=!0;$c(i)}else y=!1;if($l(i,h),i.stateNode===null)Ns(n,i),gm(i,s,f),Op(i,s,f,h),f=!0;else if(n===null){var x=i.stateNode,O=i.memoizedProps;x.props=O;var A=x.context,G=s.contextType;typeof G=="object"&&G!==null?G=ni(G):(G=zt(s)?pr:Qe.current,G=Xr(i,G));var ae=s.getDerivedStateFromProps,le=typeof ae=="function"||typeof x.getSnapshotBeforeUpdate=="function";le||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(O!==f||A!==G)&&ym(i,x,f,G),ro=!1;var re=i.memoizedState;x.state=re,Jc(i,f,x,h),A=i.memoizedState,O!==f||re!==A||Kt.current||ro?(typeof ae=="function"&&(qo(i,s,ae,f),A=i.memoizedState),(O=ro||mm(i,s,O,f,re,A,G))?(le||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(i.flags|=4194308)):(typeof x.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=f,i.memoizedState=A),x.props=f,x.state=A,x.context=G,f=O):(typeof x.componentDidMount=="function"&&(i.flags|=4194308),f=!1)}else{x=i.stateNode,Gl(n,i),O=i.memoizedProps,G=i.type===i.elementType?O:Sr(i.type,O),x.props=G,le=i.pendingProps,re=x.context,A=s.contextType,typeof A=="object"&&A!==null?A=ni(A):(A=zt(s)?pr:Qe.current,A=Xr(i,A));var be=s.getDerivedStateFromProps;(ae=typeof be=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(O!==le||re!==A)&&ym(i,x,f,A),ro=!1,re=i.memoizedState,x.state=re,Jc(i,f,x,h);var Oe=i.memoizedState;O!==le||re!==Oe||Kt.current||ro?(typeof be=="function"&&(qo(i,s,be,f),Oe=i.memoizedState),(G=ro||mm(i,s,G,f,re,Oe,A)||!1)?(ae||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(f,Oe,A),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(f,Oe,A)),typeof x.componentDidUpdate=="function"&&(i.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof x.componentDidUpdate!="function"||O===n.memoizedProps&&re===n.memoizedState||(i.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||O===n.memoizedProps&&re===n.memoizedState||(i.flags|=1024),i.memoizedProps=f,i.memoizedState=Oe),x.props=f,x.state=Oe,x.context=A,f=G):(typeof x.componentDidUpdate!="function"||O===n.memoizedProps&&re===n.memoizedState||(i.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||O===n.memoizedProps&&re===n.memoizedState||(i.flags|=1024),f=!1)}return Sd(n,i,s,f,y,h)}function Sd(n,i,s,f,h,y){Zo(n,i);var x=(i.flags&128)!==0;if(!f&&!x)return h&&am(i,s,!1),en(n,i,y);f=i.stateNode,Tm.current=i;var O=x&&typeof s.getDerivedStateFromError!="function"?null:f.render();return i.flags|=1,n!==null&&x?(i.child=jl(i,n.child,null,y),i.child=jl(i,null,O,y)):Jt(n,i,O,y),i.memoizedState=f.state,h&&am(i,s,!0),i.child}function N0(n){var i=n.stateNode;i.pendingContext?to(n,i.pendingContext,i.pendingContext!==i.context):i.context&&to(n,i.context,!1),Tp(n,i.containerInfo)}function wm(n,i,s,f,h){return Bt(),Ep(h),i.flags|=256,Jt(n,i,s,f),i.child}var Ds={dehydrated:null,treeContext:null,retryLane:0};function Jo(n){return{baseLanes:n,cachePool:null,transitions:null}}function xm(n,i,s){var f=i.pendingProps,h=Ut.current,y=!1,x=(i.flags&128)!==0,O;if((O=x)||(O=n!==null&&n.memoizedState===null?!1:(h&2)!==0),O?(y=!0,i.flags&=-129):(n===null||n.memoizedState!==null)&&(h|=1),Tt(Ut,h&1),n===null)return Yc(i),n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(i.mode&1?n.data==="$!"?i.lanes=8:i.lanes=1073741824:i.lanes=1,null):(x=f.children,n=f.fallback,y?(f=i.mode,y=i.child,x={mode:"hidden",children:x},!(f&1)&&y!==null?(y.childLanes=0,y.pendingProps=x):y=Pd(x,f,0,null),n=al(n,f,s,null),y.return=i,n.return=i,y.sibling=n,i.child=y,i.child.memoizedState=Jo(s),i.memoizedState=Ds,n):Ed(i,x));if(h=n.memoizedState,h!==null&&(O=h.dehydrated,O!==null))return Lp(n,i,x,f,O,h,s);if(y){y=f.fallback,x=i.mode,h=n.child,O=h.sibling;var A={mode:"hidden",children:f.children};return!(x&1)&&i.child!==h?(f=i.child,f.childLanes=0,f.pendingProps=A,i.deletions=null):(f=co(h,A),f.subtreeFlags=h.subtreeFlags&14680064),O!==null?y=co(O,y):(y=al(y,x,s,null),y.flags|=2),y.return=i,f.return=i,f.sibling=y,i.child=f,f=y,y=i.child,x=n.child.memoizedState,x=x===null?Jo(s):{baseLanes:x.baseLanes|s,cachePool:null,transitions:x.transitions},y.memoizedState=x,y.childLanes=n.childLanes&~s,i.memoizedState=Ds,f}return y=n.child,n=y.sibling,f=co(y,{mode:"visible",children:f.children}),!(i.mode&1)&&(f.lanes=s),f.return=i,f.sibling=null,n!==null&&(s=i.deletions,s===null?(i.deletions=[n],i.flags|=16):s.push(n)),i.child=f,i.memoizedState=null,f}function Ed(n,i){return i=Pd({mode:"visible",children:i},n.mode,0,null),i.return=n,n.child=i}function bd(n,i,s,f){return f!==null&&Ep(f),jl(i,n.child,null,s),n=Ed(i,i.pendingProps.children),n.flags|=2,i.memoizedState=null,n}function Lp(n,i,s,f,h,y,x){if(s)return i.flags&256?(i.flags&=-257,f=Dp(Error(o(422))),bd(n,i,x,f)):i.memoizedState!==null?(i.child=n.child,i.flags|=128,null):(y=f.fallback,h=i.mode,f=Pd({mode:"visible",children:f.children},h,0,null),y=al(y,h,x,null),y.flags|=2,f.return=i,y.return=i,f.sibling=y,i.child=f,i.mode&1&&jl(i,n.child,null,x),i.child.memoizedState=Jo(x),i.memoizedState=Ds,y);if(!(i.mode&1))return bd(n,i,x,null);if(h.data==="$!"){if(f=h.nextSibling&&h.nextSibling.dataset,f)var O=f.dgst;return f=O,y=Error(o(419)),f=Dp(y,f,void 0),bd(n,i,x,f)}if(O=(x&n.childLanes)!==0,Er||O){if(f=qt,f!==null){switch(x&-x){case 4:h=2;break;case 16:h=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:h=32;break;case 536870912:h=268435456;break;default:h=0}h=h&(f.suspendedLanes|x)?0:h,h!==0&&h!==y.retryLane&&(y.retryLane=h,Ca(n,h),jt(f,n,h,-1))}return Ms(),f=Dp(Error(o(421))),bd(n,i,x,f)}return h.data==="$?"?(i.flags|=128,i.child=n.child,i=Bp.bind(null,n),h._reactRetry=i,null):(n=y.treeContext,gr=Li(h.nextSibling),Ir=i,Mt=!0,ei=null,n!==null&&(mr[Wn++]=In,mr[Wn++]=Ea,mr[Wn++]=Jr,In=n.id,Ea=n.overflow,Jr=i),i=Ed(i,f.children),i.flags|=4096,i)}function Rm(n,i,s){n.lanes|=i;var f=n.alternate;f!==null&&(f.lanes|=i),Cp(n.return,i,s)}function Cd(n,i,s,f,h){var y=n.memoizedState;y===null?n.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:f,tail:s,tailMode:h}:(y.isBackwards=i,y.rendering=null,y.renderingStartTime=0,y.last=f,y.tail=s,y.tailMode=h)}function Ip(n,i,s){var f=i.pendingProps,h=f.revealOrder,y=f.tail;if(Jt(n,i,f.children,s),f=Ut.current,f&2)f=f&1|2,i.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=i.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Rm(n,s,i);else if(n.tag===19)Rm(n,s,i);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===i)break e;for(;n.sibling===null;){if(n.return===null||n.return===i)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}f&=1}if(Tt(Ut,f),!(i.mode&1))i.memoizedState=null;else switch(h){case"forwards":for(s=i.child,h=null;s!==null;)n=s.alternate,n!==null&&ed(n)===null&&(h=s),s=s.sibling;s=h,s===null?(h=i.child,i.child=null):(h=s.sibling,s.sibling=null),Cd(i,!1,h,s,y);break;case"backwards":for(s=null,h=i.child,i.child=null;h!==null;){if(n=h.alternate,n!==null&&ed(n)===null){i.child=h;break}n=h.sibling,h.sibling=s,s=h,h=n}Cd(i,!0,s,null,y);break;case"together":Cd(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Ns(n,i){!(i.mode&1)&&n!==null&&(n.alternate=null,i.alternate=null,i.flags|=2)}function en(n,i,s){if(n!==null&&(i.dependencies=n.dependencies),tl|=i.lanes,!(s&i.childLanes))return null;if(n!==null&&i.child!==n.child)throw Error(o(153));if(i.child!==null){for(n=i.child,s=co(n,n.pendingProps),i.child=s,s.return=i;n.sibling!==null;)n=n.sibling,s=s.sibling=co(n,n.pendingProps),s.return=i;s.sibling=null}return i.child}function wa(n,i,s){switch(i.tag){case 3:N0(i),Bt();break;case 5:vm(i);break;case 1:zt(i.type)&&$c(i);break;case 4:Tp(i,i.stateNode.containerInfo);break;case 10:var f=i.type._context,h=i.memoizedProps.value;Tt(ba,f._currentValue),f._currentValue=h;break;case 13:if(f=i.memoizedState,f!==null)return f.dehydrated!==null?(Tt(Ut,Ut.current&1),i.flags|=128,null):s&i.child.childLanes?xm(n,i,s):(Tt(Ut,Ut.current&1),n=en(n,i,s),n!==null?n.sibling:null);Tt(Ut,Ut.current&1);break;case 19:if(f=(s&i.childLanes)!==0,n.flags&128){if(f)return Ip(n,i,s);i.flags|=128}if(h=i.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),Tt(Ut,Ut.current),f)break;return null;case 22:case 23:return i.lanes=0,br(n,i,s)}return en(n,i,s)}var qi,nu,ru,ii;qi=function(n,i){for(var s=i.child;s!==null;){if(s.tag===5||s.tag===6)n.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===i)break;for(;s.sibling===null;){if(s.return===null||s.return===i)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},nu=function(){},ru=function(n,i,s,f){var h=n.memoizedProps;if(h!==f){n=i.stateNode,Wo(Ii.current);var y=null;switch(s){case"input":h=cr(n,h),f=cr(n,f),y=[];break;case"select":h=pe({},h,{value:void 0}),f=pe({},f,{value:void 0}),y=[];break;case"textarea":h=Lo(n,h),f=Lo(n,f),y=[];break;default:typeof h.onClick!="function"&&typeof f.onClick=="function"&&(n.onclick=jc)}$n(s,f);var x;s=null;for(G in h)if(!f.hasOwnProperty(G)&&h.hasOwnProperty(G)&&h[G]!=null)if(G==="style"){var O=h[G];for(x in O)O.hasOwnProperty(x)&&(s||(s={}),s[x]="")}else G!=="dangerouslySetInnerHTML"&&G!=="children"&&G!=="suppressContentEditableWarning"&&G!=="suppressHydrationWarning"&&G!=="autoFocus"&&(v.hasOwnProperty(G)?y||(y=[]):(y=y||[]).push(G,null));for(G in f){var A=f[G];if(O=h!=null?h[G]:void 0,f.hasOwnProperty(G)&&A!==O&&(A!=null||O!=null))if(G==="style")if(O){for(x in O)!O.hasOwnProperty(x)||A&&A.hasOwnProperty(x)||(s||(s={}),s[x]="");for(x in A)A.hasOwnProperty(x)&&O[x]!==A[x]&&(s||(s={}),s[x]=A[x])}else s||(y||(y=[]),y.push(G,s)),s=A;else G==="dangerouslySetInnerHTML"?(A=A?A.__html:void 0,O=O?O.__html:void 0,A!=null&&O!==A&&(y=y||[]).push(G,A)):G==="children"?typeof A!="string"&&typeof A!="number"||(y=y||[]).push(G,""+A):G!=="suppressContentEditableWarning"&&G!=="suppressHydrationWarning"&&(v.hasOwnProperty(G)?(A!=null&&G==="onScroll"&&It("scroll",n),y||O===A||(y=[])):(y=y||[]).push(G,A))}s&&(y=y||[]).push("style",s);var G=y;(i.updateQueue=G)&&(i.flags|=4)}},ii=function(n,i,s,f){s!==f&&(i.flags|=4)};function Qt(n,i){if(!Mt)switch(n.tailMode){case"hidden":i=n.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?n.tail=null:s.sibling=null;break;case"collapsed":s=n.tail;for(var f=null;s!==null;)s.alternate!==null&&(f=s),s=s.sibling;f===null?i||n.tail===null?n.tail=null:n.tail.sibling=null:f.sibling=null}}function Qn(n){var i=n.alternate!==null&&n.alternate.child===n.child,s=0,f=0;if(i)for(var h=n.child;h!==null;)s|=h.lanes|h.childLanes,f|=h.subtreeFlags&14680064,f|=h.flags&14680064,h.return=n,h=h.sibling;else for(h=n.child;h!==null;)s|=h.lanes|h.childLanes,f|=h.subtreeFlags,f|=h.flags,h.return=n,h=h.sibling;return n.subtreeFlags|=f,n.childLanes=s,i}function L0(n,i,s){var f=i.pendingProps;switch(yp(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qn(i),null;case 1:return zt(i.type)&&Zr(),Qn(i),null;case 3:return f=i.stateNode,Yl(),Ct(Kt),Ct(Qe),xp(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),(n===null||n.child===null)&&(Kc(i)?i.flags|=4:n===null||n.memoizedState.isDehydrated&&!(i.flags&256)||(i.flags|=1024,ei!==null&&(Up(ei),ei=null))),nu(n,i),Qn(i),null;case 5:wp(i);var h=Wo(Es.current);if(s=i.type,n!==null&&i.stateNode!=null)ru(n,i,s,f,h),n.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!f){if(i.stateNode===null)throw Error(o(166));return Qn(i),null}if(n=Wo(Ii.current),Kc(i)){f=i.stateNode,s=i.type;var y=i.memoizedProps;switch(f[Yi]=i,f[Bo]=y,n=(i.mode&1)!==0,s){case"dialog":It("cancel",f),It("close",f);break;case"iframe":case"object":case"embed":It("load",f);break;case"video":case"audio":for(h=0;h<ds.length;h++)It(ds[h],f);break;case"source":It("error",f);break;case"img":case"image":case"link":It("error",f),It("load",f);break;case"details":It("toggle",f);break;case"input":$r(f,y),It("invalid",f);break;case"select":f._wrapperState={wasMultiple:!!y.multiple},It("invalid",f);break;case"textarea":Ti(f,y),It("invalid",f)}$n(s,y),h=null;for(var x in y)if(y.hasOwnProperty(x)){var O=y[x];x==="children"?typeof O=="string"?f.textContent!==O&&(y.suppressHydrationWarning!==!0&&Bc(f.textContent,O,n),h=["children",O]):typeof O=="number"&&f.textContent!==""+O&&(y.suppressHydrationWarning!==!0&&Bc(f.textContent,O,n),h=["children",""+O]):v.hasOwnProperty(x)&&O!=null&&x==="onScroll"&&It("scroll",f)}switch(s){case"input":jr(f),ca(f,y,!0);break;case"textarea":jr(f),$i(f);break;case"select":case"option":break;default:typeof y.onClick=="function"&&(f.onclick=jc)}f=h,i.updateQueue=f,f!==null&&(i.flags|=4)}else{x=h.nodeType===9?h:h.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=Ga(s)),n==="http://www.w3.org/1999/xhtml"?s==="script"?(n=x.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof f.is=="string"?n=x.createElement(s,{is:f.is}):(n=x.createElement(s),s==="select"&&(x=n,f.multiple?x.multiple=!0:f.size&&(x.size=f.size))):n=x.createElementNS(n,s),n[Yi]=i,n[Bo]=f,qi(n,i,!1,!1),i.stateNode=n;e:{switch(x=vn(s,f),s){case"dialog":It("cancel",n),It("close",n),h=f;break;case"iframe":case"object":case"embed":It("load",n),h=f;break;case"video":case"audio":for(h=0;h<ds.length;h++)It(ds[h],n);h=f;break;case"source":It("error",n),h=f;break;case"img":case"image":case"link":It("error",n),It("load",n),h=f;break;case"details":It("toggle",n),h=f;break;case"input":$r(n,f),h=cr(n,f),It("invalid",n);break;case"option":h=f;break;case"select":n._wrapperState={wasMultiple:!!f.multiple},h=pe({},f,{value:void 0}),It("invalid",n);break;case"textarea":Ti(n,f),h=Lo(n,f),It("invalid",n);break;default:h=f}$n(s,h),O=h;for(y in O)if(O.hasOwnProperty(y)){var A=O[y];y==="style"?Lt(n,A):y==="dangerouslySetInnerHTML"?(A=A?A.__html:void 0,A!=null&&Gu(n,A)):y==="children"?typeof A=="string"?(s!=="textarea"||A!=="")&&Wa(n,A):typeof A=="number"&&Wa(n,""+A):y!=="suppressContentEditableWarning"&&y!=="suppressHydrationWarning"&&y!=="autoFocus"&&(v.hasOwnProperty(y)?A!=null&&y==="onScroll"&&It("scroll",n):A!=null&&Z(n,y,A,x))}switch(s){case"input":jr(n),ca(n,f,!1);break;case"textarea":jr(n),$i(n);break;case"option":f.value!=null&&n.setAttribute("value",""+bi(f.value));break;case"select":n.multiple=!!f.multiple,y=f.value,y!=null?ja(n,!!f.multiple,y,!1):f.defaultValue!=null&&ja(n,!!f.multiple,f.defaultValue,!0);break;default:typeof h.onClick=="function"&&(n.onclick=jc)}switch(s){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}}f&&(i.flags|=4)}i.ref!==null&&(i.flags|=512,i.flags|=2097152)}return Qn(i),null;case 6:if(n&&i.stateNode!=null)ii(n,i,n.memoizedProps,f);else{if(typeof f!="string"&&i.stateNode===null)throw Error(o(166));if(s=Wo(Es.current),Wo(Ii.current),Kc(i)){if(f=i.stateNode,s=i.memoizedProps,f[Yi]=i,(y=f.nodeValue!==s)&&(n=Ir,n!==null))switch(n.tag){case 3:Bc(f.nodeValue,s,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&Bc(f.nodeValue,s,(n.mode&1)!==0)}y&&(i.flags|=4)}else f=(s.nodeType===9?s:s.ownerDocument).createTextNode(f),f[Yi]=i,i.stateNode=f}return Qn(i),null;case 13:if(Ct(Ut),f=i.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(Mt&&gr!==null&&i.mode&1&&!(i.flags&128))um(),Bt(),i.flags|=98560,y=!1;else if(y=Kc(i),f!==null&&f.dehydrated!==null){if(n===null){if(!y)throw Error(o(318));if(y=i.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(o(317));y[Yi]=i}else Bt(),!(i.flags&128)&&(i.memoizedState=null),i.flags|=4;Qn(i),y=!1}else ei!==null&&(Up(ei),ei=null),y=!0;if(!y)return i.flags&65536?i:null}return i.flags&128?(i.lanes=s,i):(f=f!==null,f!==(n!==null&&n.memoizedState!==null)&&f&&(i.child.flags|=8192,i.mode&1&&(n===null||Ut.current&1?yn===0&&(yn=3):Ms())),i.updateQueue!==null&&(i.flags|=4),Qn(i),null);case 4:return Yl(),nu(n,i),n===null&&Vl(i.stateNode.containerInfo),Qn(i),null;case 10:return bp(i.type._context),Qn(i),null;case 17:return zt(i.type)&&Zr(),Qn(i),null;case 19:if(Ct(Ut),y=i.memoizedState,y===null)return Qn(i),null;if(f=(i.flags&128)!==0,x=y.rendering,x===null)if(f)Qt(y,!1);else{if(yn!==0||n!==null&&n.flags&128)for(n=i.child;n!==null;){if(x=ed(n),x!==null){for(i.flags|=128,Qt(y,!1),f=x.updateQueue,f!==null&&(i.updateQueue=f,i.flags|=4),i.subtreeFlags=0,f=s,s=i.child;s!==null;)y=s,n=f,y.flags&=14680066,x=y.alternate,x===null?(y.childLanes=0,y.lanes=n,y.child=null,y.subtreeFlags=0,y.memoizedProps=null,y.memoizedState=null,y.updateQueue=null,y.dependencies=null,y.stateNode=null):(y.childLanes=x.childLanes,y.lanes=x.lanes,y.child=x.child,y.subtreeFlags=0,y.deletions=null,y.memoizedProps=x.memoizedProps,y.memoizedState=x.memoizedState,y.updateQueue=x.updateQueue,y.type=x.type,n=x.dependencies,y.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),s=s.sibling;return Tt(Ut,Ut.current&1|2),i.child}n=n.sibling}y.tail!==null&&Yt()>pu&&(i.flags|=128,f=!0,Qt(y,!1),i.lanes=4194304)}else{if(!f)if(n=ed(x),n!==null){if(i.flags|=128,f=!0,s=n.updateQueue,s!==null&&(i.updateQueue=s,i.flags|=4),Qt(y,!0),y.tail===null&&y.tailMode==="hidden"&&!x.alternate&&!Mt)return Qn(i),null}else 2*Yt()-y.renderingStartTime>pu&&s!==1073741824&&(i.flags|=128,f=!0,Qt(y,!1),i.lanes=4194304);y.isBackwards?(x.sibling=i.child,i.child=x):(s=y.last,s!==null?s.sibling=x:i.child=x,y.last=x)}return y.tail!==null?(i=y.tail,y.rendering=i,y.tail=i.sibling,y.renderingStartTime=Yt(),i.sibling=null,s=Ut.current,Tt(Ut,f?s&1|2:s&1),i):(Qn(i),null);case 22:case 23:return Ad(),f=i.memoizedState!==null,n!==null&&n.memoizedState!==null!==f&&(i.flags|=8192),f&&i.mode&1?Cr&1073741824&&(Qn(i),i.subtreeFlags&6&&(i.flags|=8192)):Qn(i),null;case 24:return null;case 25:return null}throw Error(o(156,i.tag))}function I0(n,i){switch(yp(i),i.tag){case 1:return zt(i.type)&&Zr(),n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 3:return Yl(),Ct(Kt),Ct(Qe),xp(),n=i.flags,n&65536&&!(n&128)?(i.flags=n&-65537|128,i):null;case 5:return wp(i),null;case 13:if(Ct(Ut),n=i.memoizedState,n!==null&&n.dehydrated!==null){if(i.alternate===null)throw Error(o(340));Bt()}return n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 19:return Ct(Ut),null;case 4:return Yl(),null;case 10:return bp(i.type._context),null;case 22:case 23:return Ad(),null;case 24:return null;default:return null}}var iu=!1,_n=!1,Td=typeof WeakSet=="function"?WeakSet:Set,xe=null;function au(n,i){var s=n.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(f){Xt(n,i,f)}else s.current=null}function Ap(n,i,s){try{s()}catch(f){Xt(n,i,f)}}var wd=!1;function A0(n,i){if(cp=Mo,n=Fc(),ma(n)){if("selectionStart"in n)var s={start:n.selectionStart,end:n.selectionEnd};else e:{s=(s=n.ownerDocument)&&s.defaultView||window;var f=s.getSelection&&s.getSelection();if(f&&f.rangeCount!==0){s=f.anchorNode;var h=f.anchorOffset,y=f.focusNode;f=f.focusOffset;try{s.nodeType,y.nodeType}catch{s=null;break e}var x=0,O=-1,A=-1,G=0,ae=0,le=n,re=null;t:for(;;){for(var be;le!==s||h!==0&&le.nodeType!==3||(O=x+h),le!==y||f!==0&&le.nodeType!==3||(A=x+f),le.nodeType===3&&(x+=le.nodeValue.length),(be=le.firstChild)!==null;)re=le,le=be;for(;;){if(le===n)break t;if(re===s&&++G===h&&(O=x),re===y&&++ae===f&&(A=x),(be=le.nextSibling)!==null)break;le=re,re=le.parentNode}le=be}s=O===-1||A===-1?null:{start:O,end:A}}else s=null}s=s||{start:0,end:0}}else s=null;for(Vo={focusedElem:n,selectionRange:s},Mo=!1,xe=i;xe!==null;)if(i=xe,n=i.child,(i.subtreeFlags&1028)!==0&&n!==null)n.return=i,xe=n;else for(;xe!==null;){i=xe;try{var Oe=i.alternate;if(i.flags&1024)switch(i.tag){case 0:case 11:case 15:break;case 1:if(Oe!==null){var Le=Oe.memoizedProps,tn=Oe.memoizedState,U=i.stateNode,P=U.getSnapshotBeforeUpdate(i.elementType===i.type?Le:Sr(i.type,Le),tn);U.__reactInternalSnapshotBeforeUpdate=P}break;case 3:var j=i.stateNode.containerInfo;j.nodeType===1?j.textContent="":j.nodeType===9&&j.documentElement&&j.removeChild(j.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(ce){Xt(i,i.return,ce)}if(n=i.sibling,n!==null){n.return=i.return,xe=n;break}xe=i.return}return Oe=wd,wd=!1,Oe}function ou(n,i,s){var f=i.updateQueue;if(f=f!==null?f.lastEffect:null,f!==null){var h=f=f.next;do{if((h.tag&n)===n){var y=h.destroy;h.destroy=void 0,y!==void 0&&Ap(i,s,y)}h=h.next}while(h!==f)}}function xd(n,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var s=i=i.next;do{if((s.tag&n)===n){var f=s.create;s.destroy=f()}s=s.next}while(s!==i)}}function Rd(n){var i=n.ref;if(i!==null){var s=n.stateNode;switch(n.tag){case 5:n=s;break;default:n=s}typeof i=="function"?i(n):i.current=n}}function km(n){var i=n.alternate;i!==null&&(n.alternate=null,km(i)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(i=n.stateNode,i!==null&&(delete i[Yi],delete i[Bo],delete i[pp],delete i[k0],delete i[vp])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function _p(n){return n.tag===5||n.tag===3||n.tag===4}function Om(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||_p(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Ls(n,i,s){var f=n.tag;if(f===5||f===6)n=n.stateNode,i?s.nodeType===8?s.parentNode.insertBefore(n,i):s.insertBefore(n,i):(s.nodeType===8?(i=s.parentNode,i.insertBefore(n,s)):(i=s,i.appendChild(n)),s=s._reactRootContainer,s!=null||i.onclick!==null||(i.onclick=jc));else if(f!==4&&(n=n.child,n!==null))for(Ls(n,i,s),n=n.sibling;n!==null;)Ls(n,i,s),n=n.sibling}function lu(n,i,s){var f=n.tag;if(f===5||f===6)n=n.stateNode,i?s.insertBefore(n,i):s.appendChild(n);else if(f!==4&&(n=n.child,n!==null))for(lu(n,i,s),n=n.sibling;n!==null;)lu(n,i,s),n=n.sibling}var Vt=null,kn=!1;function Jn(n,i,s){for(s=s.child;s!==null;)uu(n,i,s),s=s.sibling}function uu(n,i,s){if(Ri&&typeof Ri.onCommitFiberUnmount=="function")try{Ri.onCommitFiberUnmount(Qu,s)}catch{}switch(s.tag){case 5:_n||au(s,i);case 6:var f=Vt,h=kn;Vt=null,Jn(n,i,s),Vt=f,kn=h,Vt!==null&&(kn?(n=Vt,s=s.stateNode,n.nodeType===8?n.parentNode.removeChild(s):n.removeChild(s)):Vt.removeChild(s.stateNode));break;case 18:Vt!==null&&(kn?(n=Vt,s=s.stateNode,n.nodeType===8?Za(n.parentNode,s):n.nodeType===1&&Za(n,s),es(n)):Za(Vt,s.stateNode));break;case 4:f=Vt,h=kn,Vt=s.stateNode.containerInfo,kn=!0,Jn(n,i,s),Vt=f,kn=h;break;case 0:case 11:case 14:case 15:if(!_n&&(f=s.updateQueue,f!==null&&(f=f.lastEffect,f!==null))){h=f=f.next;do{var y=h,x=y.destroy;y=y.tag,x!==void 0&&(y&2||y&4)&&Ap(s,i,x),h=h.next}while(h!==f)}Jn(n,i,s);break;case 1:if(!_n&&(au(s,i),f=s.stateNode,typeof f.componentWillUnmount=="function"))try{f.props=s.memoizedProps,f.state=s.memoizedState,f.componentWillUnmount()}catch(O){Xt(s,i,O)}Jn(n,i,s);break;case 21:Jn(n,i,s);break;case 22:s.mode&1?(_n=(f=_n)||s.memoizedState!==null,Jn(n,i,s),_n=f):Jn(n,i,s);break;default:Jn(n,i,s)}}function su(n){var i=n.updateQueue;if(i!==null){n.updateQueue=null;var s=n.stateNode;s===null&&(s=n.stateNode=new Td),i.forEach(function(f){var h=V0.bind(null,n,f);s.has(f)||(s.add(f),f.then(h,h))})}}function On(n,i){var s=i.deletions;if(s!==null)for(var f=0;f<s.length;f++){var h=s[f];try{var y=n,x=i,O=x;e:for(;O!==null;){switch(O.tag){case 5:Vt=O.stateNode,kn=!1;break e;case 3:Vt=O.stateNode.containerInfo,kn=!0;break e;case 4:Vt=O.stateNode.containerInfo,kn=!0;break e}O=O.return}if(Vt===null)throw Error(o(160));uu(y,x,h),Vt=null,kn=!1;var A=h.alternate;A!==null&&(A.return=null),h.return=null}catch(G){Xt(h,i,G)}}if(i.subtreeFlags&12854)for(i=i.child;i!==null;)Dm(i,n),i=i.sibling}function Dm(n,i){var s=n.alternate,f=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(On(i,n),Xi(n),f&4){try{ou(3,n,n.return),xd(3,n)}catch(Le){Xt(n,n.return,Le)}try{ou(5,n,n.return)}catch(Le){Xt(n,n.return,Le)}}break;case 1:On(i,n),Xi(n),f&512&&s!==null&&au(s,s.return);break;case 5:if(On(i,n),Xi(n),f&512&&s!==null&&au(s,s.return),n.flags&32){var h=n.stateNode;try{Wa(h,"")}catch(Le){Xt(n,n.return,Le)}}if(f&4&&(h=n.stateNode,h!=null)){var y=n.memoizedProps,x=s!==null?s.memoizedProps:y,O=n.type,A=n.updateQueue;if(n.updateQueue=null,A!==null)try{O==="input"&&y.type==="radio"&&y.name!=null&&Ci(h,y),vn(O,x);var G=vn(O,y);for(x=0;x<A.length;x+=2){var ae=A[x],le=A[x+1];ae==="style"?Lt(h,le):ae==="dangerouslySetInnerHTML"?Gu(h,le):ae==="children"?Wa(h,le):Z(h,ae,le,G)}switch(O){case"input":Or(h,y);break;case"textarea":$a(h,y);break;case"select":var re=h._wrapperState.wasMultiple;h._wrapperState.wasMultiple=!!y.multiple;var be=y.value;be!=null?ja(h,!!y.multiple,be,!1):re!==!!y.multiple&&(y.defaultValue!=null?ja(h,!!y.multiple,y.defaultValue,!0):ja(h,!!y.multiple,y.multiple?[]:"",!1))}h[Bo]=y}catch(Le){Xt(n,n.return,Le)}}break;case 6:if(On(i,n),Xi(n),f&4){if(n.stateNode===null)throw Error(o(162));h=n.stateNode,y=n.memoizedProps;try{h.nodeValue=y}catch(Le){Xt(n,n.return,Le)}}break;case 3:if(On(i,n),Xi(n),f&4&&s!==null&&s.memoizedState.isDehydrated)try{es(i.containerInfo)}catch(Le){Xt(n,n.return,Le)}break;case 4:On(i,n),Xi(n);break;case 13:On(i,n),Xi(n),h=n.child,h.flags&8192&&(y=h.memoizedState!==null,h.stateNode.isHidden=y,!y||h.alternate!==null&&h.alternate.memoizedState!==null||(Od=Yt())),f&4&&su(n);break;case 22:if(ae=s!==null&&s.memoizedState!==null,n.mode&1?(_n=(G=_n)||ae,On(i,n),_n=G):On(i,n),Xi(n),f&8192){if(G=n.memoizedState!==null,(n.stateNode.isHidden=G)&&!ae&&n.mode&1)for(xe=n,ae=n.child;ae!==null;){for(le=xe=ae;xe!==null;){switch(re=xe,be=re.child,re.tag){case 0:case 11:case 14:case 15:ou(4,re,re.return);break;case 1:au(re,re.return);var Oe=re.stateNode;if(typeof Oe.componentWillUnmount=="function"){f=re,s=re.return;try{i=f,Oe.props=i.memoizedProps,Oe.state=i.memoizedState,Oe.componentWillUnmount()}catch(Le){Xt(f,s,Le)}}break;case 5:au(re,re.return);break;case 22:if(re.memoizedState!==null){Nm(le);continue}}be!==null?(be.return=re,xe=be):Nm(le)}ae=ae.sibling}e:for(ae=null,le=n;;){if(le.tag===5){if(ae===null){ae=le;try{h=le.stateNode,G?(y=h.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none"):(O=le.stateNode,A=le.memoizedProps.style,x=A!=null&&A.hasOwnProperty("display")?A.display:null,O.style.display=st("display",x))}catch(Le){Xt(n,n.return,Le)}}}else if(le.tag===6){if(ae===null)try{le.stateNode.nodeValue=G?"":le.memoizedProps}catch(Le){Xt(n,n.return,Le)}}else if((le.tag!==22&&le.tag!==23||le.memoizedState===null||le===n)&&le.child!==null){le.child.return=le,le=le.child;continue}if(le===n)break e;for(;le.sibling===null;){if(le.return===null||le.return===n)break e;ae===le&&(ae=null),le=le.return}ae===le&&(ae=null),le.sibling.return=le.return,le=le.sibling}}break;case 19:On(i,n),Xi(n),f&4&&su(n);break;case 21:break;default:On(i,n),Xi(n)}}function Xi(n){var i=n.flags;if(i&2){try{e:{for(var s=n.return;s!==null;){if(_p(s)){var f=s;break e}s=s.return}throw Error(o(160))}switch(f.tag){case 5:var h=f.stateNode;f.flags&32&&(Wa(h,""),f.flags&=-33);var y=Om(n);lu(n,y,h);break;case 3:case 4:var x=f.stateNode.containerInfo,O=Om(n);Ls(n,O,x);break;default:throw Error(o(161))}}catch(A){Xt(n,n.return,A)}n.flags&=-3}i&4096&&(n.flags&=-4097)}function _0(n,i,s){xe=n,Mp(n)}function Mp(n,i,s){for(var f=(n.mode&1)!==0;xe!==null;){var h=xe,y=h.child;if(h.tag===22&&f){var x=h.memoizedState!==null||iu;if(!x){var O=h.alternate,A=O!==null&&O.memoizedState!==null||_n;O=iu;var G=_n;if(iu=x,(_n=A)&&!G)for(xe=h;xe!==null;)x=xe,A=x.child,x.tag===22&&x.memoizedState!==null?Pp(h):A!==null?(A.return=x,xe=A):Pp(h);for(;y!==null;)xe=y,Mp(y),y=y.sibling;xe=h,iu=O,_n=G}cu(n)}else h.subtreeFlags&8772&&y!==null?(y.return=h,xe=y):cu(n)}}function cu(n){for(;xe!==null;){var i=xe;if(i.flags&8772){var s=i.alternate;try{if(i.flags&8772)switch(i.tag){case 0:case 11:case 15:_n||xd(5,i);break;case 1:var f=i.stateNode;if(i.flags&4&&!_n)if(s===null)f.componentDidMount();else{var h=i.elementType===i.type?s.memoizedProps:Sr(i.type,s.memoizedProps);f.componentDidUpdate(h,s.memoizedState,f.__reactInternalSnapshotBeforeUpdate)}var y=i.updateQueue;y!==null&&pm(i,y,f);break;case 3:var x=i.updateQueue;if(x!==null){if(s=null,i.child!==null)switch(i.child.tag){case 5:s=i.child.stateNode;break;case 1:s=i.child.stateNode}pm(i,x,s)}break;case 5:var O=i.stateNode;if(s===null&&i.flags&4){s=O;var A=i.memoizedProps;switch(i.type){case"button":case"input":case"select":case"textarea":A.autoFocus&&s.focus();break;case"img":A.src&&(s.src=A.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(i.memoizedState===null){var G=i.alternate;if(G!==null){var ae=G.memoizedState;if(ae!==null){var le=ae.dehydrated;le!==null&&es(le)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(o(163))}_n||i.flags&512&&Rd(i)}catch(re){Xt(i,i.return,re)}}if(i===n){xe=null;break}if(s=i.sibling,s!==null){s.return=i.return,xe=s;break}xe=i.return}}function Nm(n){for(;xe!==null;){var i=xe;if(i===n){xe=null;break}var s=i.sibling;if(s!==null){s.return=i.return,xe=s;break}xe=i.return}}function Pp(n){for(;xe!==null;){var i=xe;try{switch(i.tag){case 0:case 11:case 15:var s=i.return;try{xd(4,i)}catch(A){Xt(i,s,A)}break;case 1:var f=i.stateNode;if(typeof f.componentDidMount=="function"){var h=i.return;try{f.componentDidMount()}catch(A){Xt(i,h,A)}}var y=i.return;try{Rd(i)}catch(A){Xt(i,y,A)}break;case 5:var x=i.return;try{Rd(i)}catch(A){Xt(i,x,A)}}}catch(A){Xt(i,i.return,A)}if(i===n){xe=null;break}var O=i.sibling;if(O!==null){O.return=i.return,xe=O;break}xe=i.return}}var M0=Math.ceil,el=me.ReactCurrentDispatcher,kd=me.ReactCurrentOwner,ai=me.ReactCurrentBatchConfig,dt=0,qt=null,Pt=null,gn=0,Cr=0,du=nt(0),yn=0,Is=null,tl=0,fu=0,Fp=0,uo=null,qn=null,Od=0,pu=1/0,xa=null,Dd=!1,zp=null,oi=null,vu=!1,li=null,Nd=0,As=0,Ld=null,_s=-1,nl=0;function Dn(){return dt&6?Yt():_s!==-1?_s:_s=Yt()}function Ra(n){return n.mode&1?dt&2&&gn!==0?gn&-gn:Qc.transition!==null?(nl===0&&(nl=xc()),nl):(n=xt,n!==0||(n=window.event,n=n===void 0?16:$f(n.type)),n):1}function jt(n,i,s,f){if(50<As)throw As=0,Ld=null,Error(o(185));_o(n,s,f),(!(dt&2)||n!==qt)&&(n===qt&&(!(dt&2)&&(fu|=s),yn===4&&Zi(n,gn)),Sn(n,f),s===1&&dt===0&&!(i.mode&1)&&(pu=Yt()+500,Rn&&vr()))}function Sn(n,i){var s=n.callbackNode;wc(n,i);var f=ki(n,n===qt?gn:0);if(f===0)s!==null&&mh(s),n.callbackNode=null,n.callbackPriority=0;else if(i=f&-f,n.callbackPriority!==i){if(s!=null&&mh(s),i===1)n.tag===0?mp(hu.bind(null,n)):hp(hu.bind(null,n)),fp(function(){!(dt&6)&&vr()}),s=null;else{switch(Hf(f)){case 1:s=fa;break;case 4:s=ct;break;case 16:s=Ya;break;case 536870912:s=Ff;break;default:s=Ya}s=zm(s,Id.bind(null,n))}n.callbackPriority=i,n.callbackNode=s}}function Id(n,i){if(_s=-1,nl=0,dt&6)throw Error(o(327));var s=n.callbackNode;if(mu()&&n.callbackNode!==s)return null;var f=ki(n,n===qt?gn:0);if(f===0)return null;if(f&30||f&n.expiredLanes||i)i=_d(n,f);else{i=f;var h=dt;dt|=2;var y=Im();(qt!==n||gn!==i)&&(xa=null,pu=Yt()+500,il(n,i));do try{F0();break}catch(O){Lm(n,O)}while(!0);Ar(),el.current=y,dt=h,Pt!==null?i=0:(qt=null,gn=0,i=yn)}if(i!==0){if(i===2&&(h=Uf(n),h!==0&&(f=h,i=rl(n,h))),i===1)throw s=Is,il(n,0),Zi(n,f),Sn(n,Yt()),s;if(i===6)Zi(n,f);else{if(h=n.current.alternate,!(f&30)&&!Vp(h)&&(i=_d(n,f),i===2&&(y=Uf(n),y!==0&&(f=y,i=rl(n,y))),i===1))throw s=Is,il(n,0),Zi(n,f),Sn(n,Yt()),s;switch(n.finishedWork=h,n.finishedLanes=f,i){case 0:case 1:throw Error(o(345));case 2:so(n,qn,xa);break;case 3:if(Zi(n,f),(f&130023424)===f&&(i=Od+500-Yt(),10<i)){if(ki(n,0)!==0)break;if(h=n.suspendedLanes,(h&f)!==f){Dn(),n.pingedLanes|=n.suspendedLanes&h;break}n.timeoutHandle=Ho(so.bind(null,n,qn,xa),i);break}so(n,qn,xa);break;case 4:if(Zi(n,f),(f&4194240)===f)break;for(i=n.eventTimes,h=-1;0<f;){var x=31-Wr(f);y=1<<x,x=i[x],x>h&&(h=x),f&=~y}if(f=h,f=Yt()-f,f=(120>f?120:480>f?480:1080>f?1080:1920>f?1920:3e3>f?3e3:4320>f?4320:1960*M0(f/1960))-f,10<f){n.timeoutHandle=Ho(so.bind(null,n,qn,xa),f);break}so(n,qn,xa);break;case 5:so(n,qn,xa);break;default:throw Error(o(329))}}}return Sn(n,Yt()),n.callbackNode===s?Id.bind(null,n):null}function rl(n,i){var s=uo;return n.current.memoizedState.isDehydrated&&(il(n,i).flags|=256),n=_d(n,i),n!==2&&(i=qn,qn=s,i!==null&&Up(i)),n}function Up(n){qn===null?qn=n:qn.push.apply(qn,n)}function Vp(n){for(var i=n;;){if(i.flags&16384){var s=i.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var f=0;f<s.length;f++){var h=s[f],y=h.getSnapshot;h=h.value;try{if(!Qr(y(),h))return!1}catch{return!1}}}if(s=i.child,i.subtreeFlags&16384&&s!==null)s.return=i,i=s;else{if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Zi(n,i){for(i&=~Fp,i&=~fu,n.suspendedLanes|=i,n.pingedLanes&=~i,n=n.expirationTimes;0<i;){var s=31-Wr(i),f=1<<s;n[s]=-1,i&=~f}}function hu(n){if(dt&6)throw Error(o(327));mu();var i=ki(n,0);if(!(i&1))return Sn(n,Yt()),null;var s=_d(n,i);if(n.tag!==0&&s===2){var f=Uf(n);f!==0&&(i=f,s=rl(n,f))}if(s===1)throw s=Is,il(n,0),Zi(n,i),Sn(n,Yt()),s;if(s===6)throw Error(o(345));return n.finishedWork=n.current.alternate,n.finishedLanes=i,so(n,qn,xa),Sn(n,Yt()),null}function Hp(n,i){var s=dt;dt|=1;try{return n(i)}finally{dt=s,dt===0&&(pu=Yt()+500,Rn&&vr())}}function Ji(n){li!==null&&li.tag===0&&!(dt&6)&&mu();var i=dt;dt|=1;var s=ai.transition,f=xt;try{if(ai.transition=null,xt=1,n)return n()}finally{xt=f,ai.transition=s,dt=i,!(dt&6)&&vr()}}function Ad(){Cr=du.current,Ct(du)}function il(n,i){n.finishedWork=null,n.finishedLanes=0;var s=n.timeoutHandle;if(s!==-1&&(n.timeoutHandle=-1,im(s)),Pt!==null)for(s=Pt.return;s!==null;){var f=s;switch(yp(f),f.tag){case 1:f=f.type.childContextTypes,f!=null&&Zr();break;case 3:Yl(),Ct(Kt),Ct(Qe),xp();break;case 5:wp(f);break;case 4:Yl();break;case 13:Ct(Ut);break;case 19:Ct(Ut);break;case 10:bp(f.type._context);break;case 22:case 23:Ad()}s=s.return}if(qt=n,Pt=n=co(n.current,null),gn=Cr=i,yn=0,Is=null,Fp=fu=tl=0,qn=uo=null,Go!==null){for(i=0;i<Go.length;i++)if(s=Go[i],f=s.interleaved,f!==null){s.interleaved=null;var h=f.next,y=s.pending;if(y!==null){var x=y.next;y.next=h,f.next=x}s.pending=f}Go=null}return n}function Lm(n,i){do{var s=Pt;try{if(Ar(),nd.current=Kn,_r){for(var f=Me.memoizedState;f!==null;){var h=f.queue;h!==null&&(h.pending=null),f=f.next}_r=!1}if(Ae=0,lt=qe=Me=null,Kl=!1,Cs=0,kd.current=null,s===null||s.return===null){yn=1,Is=i,Pt=null;break}e:{var y=n,x=s.return,O=s,A=i;if(i=gn,O.flags|=32768,A!==null&&typeof A=="object"&&typeof A.then=="function"){var G=A,ae=O,le=ae.tag;if(!(ae.mode&1)&&(le===0||le===11||le===15)){var re=ae.alternate;re?(ae.updateQueue=re.updateQueue,ae.memoizedState=re.memoizedState,ae.lanes=re.lanes):(ae.updateQueue=null,ae.memoizedState=null)}var be=Cm(x);if(be!==null){be.flags&=-257,Np(be,x,O,y,i),be.mode&1&&ks(y,G,i),i=be,A=G;var Oe=i.updateQueue;if(Oe===null){var Le=new Set;Le.add(A),i.updateQueue=Le}else Oe.add(A);break e}else{if(!(i&1)){ks(y,G,i),Ms();break e}A=Error(o(426))}}else if(Mt&&O.mode&1){var tn=Cm(x);if(tn!==null){!(tn.flags&65536)&&(tn.flags|=256),Np(tn,x,O,y,i),Ep(oo(A,O));break e}}y=A=oo(A,O),yn!==4&&(yn=2),uo===null?uo=[y]:uo.push(y),y=x;do{switch(y.tag){case 3:y.flags|=65536,i&=-i,y.lanes|=i;var U=Em(y,A,i);fm(y,U);break e;case 1:O=A;var P=y.type,j=y.stateNode;if(!(y.flags&128)&&(typeof P.getDerivedStateFromError=="function"||j!==null&&typeof j.componentDidCatch=="function"&&(oi===null||!oi.has(j)))){y.flags|=65536,i&=-i,y.lanes|=i;var ce=bm(y,O,i);fm(y,ce);break e}}y=y.return}while(y!==null)}_m(s)}catch(_e){i=_e,Pt===s&&s!==null&&(Pt=s=s.return);continue}break}while(!0)}function Im(){var n=el.current;return el.current=Kn,n===null?Kn:n}function Ms(){(yn===0||yn===3||yn===2)&&(yn=4),qt===null||!(tl&268435455)&&!(fu&268435455)||Zi(qt,gn)}function _d(n,i){var s=dt;dt|=2;var f=Im();(qt!==n||gn!==i)&&(xa=null,il(n,i));do try{P0();break}catch(h){Lm(n,h)}while(!0);if(Ar(),dt=s,el.current=f,Pt!==null)throw Error(o(261));return qt=null,gn=0,yn}function P0(){for(;Pt!==null;)Am(Pt)}function F0(){for(;Pt!==null&&!a0();)Am(Pt)}function Am(n){var i=Fm(n.alternate,n,Cr);n.memoizedProps=n.pendingProps,i===null?_m(n):Pt=i,kd.current=null}function _m(n){var i=n;do{var s=i.alternate;if(n=i.return,i.flags&32768){if(s=I0(s,i),s!==null){s.flags&=32767,Pt=s;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{yn=6,Pt=null;return}}else if(s=L0(s,i,Cr),s!==null){Pt=s;return}if(i=i.sibling,i!==null){Pt=i;return}Pt=i=n}while(i!==null);yn===0&&(yn=5)}function so(n,i,s){var f=xt,h=ai.transition;try{ai.transition=null,xt=1,z0(n,i,s,f)}finally{ai.transition=h,xt=f}return null}function z0(n,i,s,f){do mu();while(li!==null);if(dt&6)throw Error(o(327));s=n.finishedWork;var h=n.finishedLanes;if(s===null)return null;if(n.finishedWork=null,n.finishedLanes=0,s===n.current)throw Error(o(177));n.callbackNode=null,n.callbackPriority=0;var y=s.lanes|s.childLanes;if(s0(n,y),n===qt&&(Pt=qt=null,gn=0),!(s.subtreeFlags&2064)&&!(s.flags&2064)||vu||(vu=!0,zm(Ya,function(){return mu(),null})),y=(s.flags&15990)!==0,s.subtreeFlags&15990||y){y=ai.transition,ai.transition=null;var x=xt;xt=1;var O=dt;dt|=4,kd.current=null,A0(n,s),Dm(s,n),zc(Vo),Mo=!!cp,Vo=cp=null,n.current=s,_0(s),o0(),dt=O,xt=x,ai.transition=y}else n.current=s;if(vu&&(vu=!1,li=n,Nd=h),y=n.pendingLanes,y===0&&(oi=null),yh(s.stateNode),Sn(n,Yt()),i!==null)for(f=n.onRecoverableError,s=0;s<i.length;s++)h=i[s],f(h.value,{componentStack:h.stack,digest:h.digest});if(Dd)throw Dd=!1,n=zp,zp=null,n;return Nd&1&&n.tag!==0&&mu(),y=n.pendingLanes,y&1?n===Ld?As++:(As=0,Ld=n):As=0,vr(),null}function mu(){if(li!==null){var n=Hf(Nd),i=ai.transition,s=xt;try{if(ai.transition=null,xt=16>n?16:n,li===null)var f=!1;else{if(n=li,li=null,Nd=0,dt&6)throw Error(o(331));var h=dt;for(dt|=4,xe=n.current;xe!==null;){var y=xe,x=y.child;if(xe.flags&16){var O=y.deletions;if(O!==null){for(var A=0;A<O.length;A++){var G=O[A];for(xe=G;xe!==null;){var ae=xe;switch(ae.tag){case 0:case 11:case 15:ou(8,ae,y)}var le=ae.child;if(le!==null)le.return=ae,xe=le;else for(;xe!==null;){ae=xe;var re=ae.sibling,be=ae.return;if(km(ae),ae===G){xe=null;break}if(re!==null){re.return=be,xe=re;break}xe=be}}}var Oe=y.alternate;if(Oe!==null){var Le=Oe.child;if(Le!==null){Oe.child=null;do{var tn=Le.sibling;Le.sibling=null,Le=tn}while(Le!==null)}}xe=y}}if(y.subtreeFlags&2064&&x!==null)x.return=y,xe=x;else e:for(;xe!==null;){if(y=xe,y.flags&2048)switch(y.tag){case 0:case 11:case 15:ou(9,y,y.return)}var U=y.sibling;if(U!==null){U.return=y.return,xe=U;break e}xe=y.return}}var P=n.current;for(xe=P;xe!==null;){x=xe;var j=x.child;if(x.subtreeFlags&2064&&j!==null)j.return=x,xe=j;else e:for(x=P;xe!==null;){if(O=xe,O.flags&2048)try{switch(O.tag){case 0:case 11:case 15:xd(9,O)}}catch(_e){Xt(O,O.return,_e)}if(O===x){xe=null;break e}var ce=O.sibling;if(ce!==null){ce.return=O.return,xe=ce;break e}xe=O.return}}if(dt=h,vr(),Ri&&typeof Ri.onPostCommitFiberRoot=="function")try{Ri.onPostCommitFiberRoot(Qu,n)}catch{}f=!0}return f}finally{xt=s,ai.transition=i}}return!1}function Mm(n,i,s){i=oo(s,i),i=Em(n,i,1),n=io(n,i,1),i=Dn(),n!==null&&(_o(n,1,i),Sn(n,i))}function Xt(n,i,s){if(n.tag===3)Mm(n,n,s);else for(;i!==null;){if(i.tag===3){Mm(i,n,s);break}else if(i.tag===1){var f=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(oi===null||!oi.has(f))){n=oo(s,n),n=bm(i,n,1),i=io(i,n,1),n=Dn(),i!==null&&(_o(i,1,n),Sn(i,n));break}}i=i.return}}function U0(n,i,s){var f=n.pingCache;f!==null&&f.delete(i),i=Dn(),n.pingedLanes|=n.suspendedLanes&s,qt===n&&(gn&s)===s&&(yn===4||yn===3&&(gn&130023424)===gn&&500>Yt()-Od?il(n,0):Fp|=s),Sn(n,i)}function Pm(n,i){i===0&&(n.mode&1?(i=Nl,Nl<<=1,!(Nl&130023424)&&(Nl=4194304)):i=1);var s=Dn();n=Ca(n,i),n!==null&&(_o(n,i,s),Sn(n,s))}function Bp(n){var i=n.memoizedState,s=0;i!==null&&(s=i.retryLane),Pm(n,s)}function V0(n,i){var s=0;switch(n.tag){case 13:var f=n.stateNode,h=n.memoizedState;h!==null&&(s=h.retryLane);break;case 19:f=n.stateNode;break;default:throw Error(o(314))}f!==null&&f.delete(i),Pm(n,s)}var Fm;Fm=function(n,i,s){if(n!==null)if(n.memoizedProps!==i.pendingProps||Kt.current)Er=!0;else{if(!(n.lanes&s)&&!(i.flags&128))return Er=!1,wa(n,i,s);Er=!!(n.flags&131072)}else Er=!1,Mt&&i.flags&1048576&&gp(i,Bl,i.index);switch(i.lanes=0,i.tag){case 2:var f=i.type;Ns(n,i),n=i.pendingProps;var h=Xr(i,Qe.current);$l(i,s),h=ne(null,i,f,n,h,s);var y=un();return i.flags|=1,typeof h=="object"&&h!==null&&typeof h.render=="function"&&h.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,zt(f)?(y=!0,$c(i)):y=!1,i.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,Xc(i),h.updater=Xo,i.stateNode=h,h._reactInternals=i,Op(i,f,n,s),i=Sd(null,i,f,!0,y,s)):(i.tag=0,Mt&&y&&Gc(i),Jt(null,i,h,s),i=i.child),i;case 16:f=i.elementType;e:{switch(Ns(n,i),n=i.pendingProps,h=f._init,f=h(f._payload),i.type=f,h=i.tag=H0(f),n=Sr(f,n),h){case 0:i=et(null,i,f,n,s);break e;case 1:i=Os(null,i,f,n,s);break e;case 11:i=tu(null,i,f,n,s);break e;case 14:i=lo(null,i,f,Sr(f.type,n),s);break e}throw Error(o(306,f,""))}return i;case 0:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Sr(f,h),et(n,i,f,h,s);case 1:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Sr(f,h),Os(n,i,f,h,s);case 3:e:{if(N0(i),n===null)throw Error(o(387));f=i.pendingProps,y=i.memoizedState,h=y.element,Gl(n,i),Jc(i,f,null,s);var x=i.memoizedState;if(f=x.element,y.isDehydrated)if(y={element:f,isDehydrated:!1,cache:x.cache,pendingSuspenseBoundaries:x.pendingSuspenseBoundaries,transitions:x.transitions},i.updateQueue.baseState=y,i.memoizedState=y,i.flags&256){h=oo(Error(o(423)),i),i=wm(n,i,f,s,h);break e}else if(f!==h){h=oo(Error(o(424)),i),i=wm(n,i,f,s,h);break e}else for(gr=Li(i.stateNode.containerInfo.firstChild),Ir=i,Mt=!0,ei=null,s=cm(i,null,f,s),i.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(Bt(),f===h){i=en(n,i,s);break e}Jt(n,i,f,s)}i=i.child}return i;case 5:return vm(i),n===null&&Yc(i),f=i.type,h=i.pendingProps,y=n!==null?n.memoizedProps:null,x=h.children,vs(f,h)?x=null:y!==null&&vs(f,y)&&(i.flags|=32),Zo(n,i),Jt(n,i,x,s),i.child;case 6:return n===null&&Yc(i),null;case 13:return xm(n,i,s);case 4:return Tp(i,i.stateNode.containerInfo),f=i.pendingProps,n===null?i.child=jl(i,null,f,s):Jt(n,i,f,s),i.child;case 11:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Sr(f,h),tu(n,i,f,h,s);case 7:return Jt(n,i,i.pendingProps,s),i.child;case 8:return Jt(n,i,i.pendingProps.children,s),i.child;case 12:return Jt(n,i,i.pendingProps.children,s),i.child;case 10:e:{if(f=i.type._context,h=i.pendingProps,y=i.memoizedProps,x=h.value,Tt(ba,f._currentValue),f._currentValue=x,y!==null)if(Qr(y.value,x)){if(y.children===h.children&&!Kt.current){i=en(n,i,s);break e}}else for(y=i.child,y!==null&&(y.return=i);y!==null;){var O=y.dependencies;if(O!==null){x=y.child;for(var A=O.firstContext;A!==null;){if(A.context===f){if(y.tag===1){A=yr(-1,s&-s),A.tag=2;var G=y.updateQueue;if(G!==null){G=G.shared;var ae=G.pending;ae===null?A.next=A:(A.next=ae.next,ae.next=A),G.pending=A}}y.lanes|=s,A=y.alternate,A!==null&&(A.lanes|=s),Cp(y.return,s,i),O.lanes|=s;break}A=A.next}}else if(y.tag===10)x=y.type===i.type?null:y.child;else if(y.tag===18){if(x=y.return,x===null)throw Error(o(341));x.lanes|=s,O=x.alternate,O!==null&&(O.lanes|=s),Cp(x,s,i),x=y.sibling}else x=y.child;if(x!==null)x.return=y;else for(x=y;x!==null;){if(x===i){x=null;break}if(y=x.sibling,y!==null){y.return=x.return,x=y;break}x=x.return}y=x}Jt(n,i,h.children,s),i=i.child}return i;case 9:return h=i.type,f=i.pendingProps.children,$l(i,s),h=ni(h),f=f(h),i.flags|=1,Jt(n,i,f,s),i.child;case 14:return f=i.type,h=Sr(f,i.pendingProps),h=Sr(f.type,h),lo(n,i,f,h,s);case 15:return yd(n,i,i.type,i.pendingProps,s);case 17:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Sr(f,h),Ns(n,i),i.tag=1,zt(f)?(n=!0,$c(i)):n=!1,$l(i,s),gm(i,f,h),Op(i,f,h,s),Sd(null,i,f,!0,n,s);case 19:return Ip(n,i,s);case 22:return br(n,i,s)}throw Error(o(156,i.tag))};function zm(n,i){return Pf(n,i)}function Um(n,i,s,f){this.tag=n,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ui(n,i,s,f){return new Um(n,i,s,f)}function jp(n){return n=n.prototype,!(!n||!n.isReactComponent)}function H0(n){if(typeof n=="function")return jp(n)?1:0;if(n!=null){if(n=n.$$typeof,n===K)return 11;if(n===Ve)return 14}return 2}function co(n,i){var s=n.alternate;return s===null?(s=ui(n.tag,i,n.key,n.mode),s.elementType=n.elementType,s.type=n.type,s.stateNode=n.stateNode,s.alternate=n,n.alternate=s):(s.pendingProps=i,s.type=n.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=n.flags&14680064,s.childLanes=n.childLanes,s.lanes=n.lanes,s.child=n.child,s.memoizedProps=n.memoizedProps,s.memoizedState=n.memoizedState,s.updateQueue=n.updateQueue,i=n.dependencies,s.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},s.sibling=n.sibling,s.index=n.index,s.ref=n.ref,s}function Md(n,i,s,f,h,y){var x=2;if(f=n,typeof n=="function")jp(n)&&(x=1);else if(typeof n=="string")x=5;else e:switch(n){case we:return al(s.children,h,y,i);case gt:x=8,h|=8;break;case Ie:return n=ui(12,s,i,h|2),n.elementType=Ie,n.lanes=y,n;case Y:return n=ui(13,s,i,h),n.elementType=Y,n.lanes=y,n;case ie:return n=ui(19,s,i,h),n.elementType=ie,n.lanes=y,n;case Be:return Pd(s,h,y,i);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Ee:x=10;break e;case se:x=9;break e;case K:x=11;break e;case Ve:x=14;break e;case ke:x=16,f=null;break e}throw Error(o(130,n==null?n:typeof n,""))}return i=ui(x,s,i,h),i.elementType=n,i.type=f,i.lanes=y,i}function al(n,i,s,f){return n=ui(7,n,f,i),n.lanes=s,n}function Pd(n,i,s,f){return n=ui(22,n,f,i),n.elementType=Be,n.lanes=s,n.stateNode={isHidden:!1},n}function Fd(n,i,s){return n=ui(6,n,null,i),n.lanes=s,n}function Ps(n,i,s){return i=ui(4,n.children!==null?n.children:[],n.key,i),i.lanes=s,i.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},i}function Fs(n,i,s,f,h){this.tag=i,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Vf(0),this.expirationTimes=Vf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vf(0),this.identifierPrefix=f,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null}function $p(n,i,s,f,h,y,x,O,A){return n=new Fs(n,i,s,O,A),i===1?(i=1,y===!0&&(i|=8)):i=0,y=ui(3,null,null,i),n.current=y,y.stateNode=n,y.memoizedState={element:f,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},Xc(y),n}function Vm(n,i,s){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Fe,key:f==null?null:""+f,children:n,containerInfo:i,implementation:s}}function Gp(n){if(!n)return Ki;n=n._reactInternals;e:{if(Wi(n)!==n||n.tag!==1)throw Error(o(170));var i=n;do{switch(i.tag){case 3:i=i.stateNode.context;break e;case 1:if(zt(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break e}}i=i.return}while(i!==null);throw Error(o(171))}if(n.tag===1){var s=n.type;if(zt(s))return gs(n,s,i)}return i}function Wp(n,i,s,f,h,y,x,O,A){return n=$p(s,f,!0,n,h,y,x,O,A),n.context=Gp(null),s=n.current,f=Dn(),h=Ra(s),y=yr(f,h),y.callback=i??null,io(s,y,h),n.current.lanes=h,_o(n,h,f),Sn(n,f),n}function zd(n,i,s,f){var h=i.current,y=Dn(),x=Ra(h);return s=Gp(s),i.context===null?i.context=s:i.pendingContext=s,i=yr(y,x),i.payload={element:n},f=f===void 0?null:f,f!==null&&(i.callback=f),n=io(h,i,x),n!==null&&(jt(n,h,x,y),Zc(n,h,x)),x}function zs(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function Hm(n,i){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var s=n.retryLane;n.retryLane=s!==0&&s<i?s:i}}function Yp(n,i){Hm(n,i),(n=n.alternate)&&Hm(n,i)}function B0(){return null}var Kp=typeof reportError=="function"?reportError:function(n){console.error(n)};function Ud(n){this._internalRoot=n}Us.prototype.render=Ud.prototype.render=function(n){var i=this._internalRoot;if(i===null)throw Error(o(409));zd(n,i,null,null)},Us.prototype.unmount=Ud.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var i=n.containerInfo;Ji(function(){zd(null,n,null,null)}),i[Sa]=null}};function Us(n){this._internalRoot=n}Us.prototype.unstable_scheduleHydration=function(n){if(n){var i=Ch();n={blockedOn:null,target:n,priority:i};for(var s=0;s<kt.length&&i!==0&&i<kt[s].priority;s++);kt.splice(s,0,n),s===0&&Th(n)}};function fo(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Vd(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function Bm(){}function j0(n,i,s,f,h){if(h){if(typeof f=="function"){var y=f;f=function(){var G=zs(x);y.call(G)}}var x=Wp(i,f,n,0,null,!1,!1,"",Bm);return n._reactRootContainer=x,n[Sa]=x.current,Vl(n.nodeType===8?n.parentNode:n),Ji(),x}for(;h=n.lastChild;)n.removeChild(h);if(typeof f=="function"){var O=f;f=function(){var G=zs(A);O.call(G)}}var A=$p(n,0,!1,null,null,!1,!1,"",Bm);return n._reactRootContainer=A,n[Sa]=A.current,Vl(n.nodeType===8?n.parentNode:n),Ji(function(){zd(i,A,s,f)}),A}function Hd(n,i,s,f,h){var y=s._reactRootContainer;if(y){var x=y;if(typeof h=="function"){var O=h;h=function(){var A=zs(x);O.call(A)}}zd(i,x,n,h)}else x=j0(s,i,n,h,f);return zs(x)}bh=function(n){switch(n.tag){case 3:var i=n.stateNode;if(i.current.memoizedState.isDehydrated){var s=Ao(i.pendingLanes);s!==0&&(qu(i,s|1),Sn(i,Yt()),!(dt&6)&&(pu=Yt()+500,vr()))}break;case 13:Ji(function(){var f=Ca(n,1);if(f!==null){var h=Dn();jt(f,n,1,h)}}),Yp(n,1)}},Rc=function(n){if(n.tag===13){var i=Ca(n,134217728);if(i!==null){var s=Dn();jt(i,n,134217728,s)}Yp(n,134217728)}},Rt=function(n){if(n.tag===13){var i=Ra(n),s=Ca(n,i);if(s!==null){var f=Dn();jt(s,n,i,f)}Yp(n,i)}},Ch=function(){return xt},Bf=function(n,i){var s=xt;try{return xt=n,i()}finally{xt=s}},Gi=function(n,i,s){switch(i){case"input":if(Or(n,s),i=s.name,s.type==="radio"&&i!=null){for(s=n;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),i=0;i<s.length;i++){var f=s[i];if(f!==n&&f.form===n.form){var h=He(f);if(!h)throw Error(o(90));sa(f),Or(f,h)}}}break;case"textarea":$a(n,s);break;case"select":i=s.value,i!=null&&ja(n,!!s.multiple,i,!1)}},fh=Hp,ph=Ji;var $0={usingClientEntryPoint:!1,Events:[ms,Hl,He,Sc,Ec,Hp]},Vs={findFiberByHostInstance:qr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},jm={bundleType:Vs.bundleType,version:Vs.version,rendererPackageName:Vs.rendererPackageName,rendererConfig:Vs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:me.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=vh(n),n===null?null:n.stateNode},findFiberByHostInstance:Vs.findFiberByHostInstance||B0,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Bd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bd.isDisabled&&Bd.supportsFiber)try{Qu=Bd.inject(jm),Ri=Bd}catch{}}return hi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$0,hi.createPortal=function(n,i){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!fo(i))throw Error(o(200));return Vm(n,i,null,s)},hi.createRoot=function(n,i){if(!fo(n))throw Error(o(299));var s=!1,f="",h=Kp;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onRecoverableError!==void 0&&(h=i.onRecoverableError)),i=$p(n,1,!1,null,null,s,!1,f,h),n[Sa]=i.current,Vl(n.nodeType===8?n.parentNode:n),new Ud(i)},hi.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var i=n._reactInternals;if(i===void 0)throw typeof n.render=="function"?Error(o(188)):(n=Object.keys(n).join(","),Error(o(268,n)));return n=vh(i),n=n===null?null:n.stateNode,n},hi.flushSync=function(n){return Ji(n)},hi.hydrate=function(n,i,s){if(!Vd(i))throw Error(o(200));return Hd(null,n,i,!0,s)},hi.hydrateRoot=function(n,i,s){if(!fo(n))throw Error(o(405));var f=s!=null&&s.hydratedSources||null,h=!1,y="",x=Kp;if(s!=null&&(s.unstable_strictMode===!0&&(h=!0),s.identifierPrefix!==void 0&&(y=s.identifierPrefix),s.onRecoverableError!==void 0&&(x=s.onRecoverableError)),i=Wp(i,null,n,1,s??null,h,!1,y,x),n[Sa]=i.current,Vl(n),f)for(n=0;n<f.length;n++)s=f[n],h=s._getVersion,h=h(s._source),i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[s,h]:i.mutableSourceEagerHydrationData.push(s,h);return new Us(i)},hi.render=function(n,i,s){if(!Vd(i))throw Error(o(200));return Hd(null,n,i,!1,s)},hi.unmountComponentAtNode=function(n){if(!Vd(n))throw Error(o(40));return n._reactRootContainer?(Ji(function(){Hd(null,null,n,!1,function(){n._reactRootContainer=null,n[Sa]=null})}),!0):!1},hi.unstable_batchedUpdates=Hp,hi.unstable_renderSubtreeIntoContainer=function(n,i,s,f){if(!Vd(s))throw Error(o(200));if(n==null||n._reactInternals===void 0)throw Error(o(38));return Hd(n,i,s,!1,f)},hi.version="18.3.1-next-f1338f8080-20240426",hi}function GR(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(GR)}catch(r){console.error(r)}}}process.env.NODE_ENV==="production"?(GR(),dP()):cP();var mc=eP(r=>r),zx=r=>(r==null?void 0:r.constructor.name)==="Array",WR=(r,l)=>{if(Object.is(r,l))return!0;if(r==null&&l!=null||r!=null&&l==null)return!1;if(typeof(r==null?void 0:r.isEqual)=="function"&&typeof(l==null?void 0:l.isEqual)=="function")return r.isEqual(l);if(typeof r=="function"&&typeof l=="function")return r.toString()===l.toString();if(zx(r)&&zx(l))return Array.from(r).toString()===Array.from(l).toString();if(typeof r!="object"||typeof l!="object")return!1;const o=Object.keys(l??Object.create(null)),d=o.length;for(let v=0;v<d;v++)if(!Reflect.has(r,o[v]))return!1;for(let v=0;v<d;v++){const S=o[v];if(!WR(r[S],l[S]))return!1}return!0};function YR(r){if(!fP(r)||r===void 0)return r;const l=Reflect.ownKeys(r).filter(d=>typeof d=="string"),o={};for(const d of l){const v=r[d];v!==void 0&&(o[d]=YR(v))}return o}var fP=r=>r&&typeof r=="object"&&r.constructor===Object;function pP(r,l){const o=de.useRef(!1),d=de.useRef(!1);de.useEffect(()=>{if(o.current&&d.current)return r();d.current=!0},l),de.useEffect(()=>(o.current=!0,()=>{o.current=!1}),[])}var{use:Ux}=de,vP=gC("__zag__targetCache",()=>new WeakMap);function hP(r,l){const{actions:o,context:d,sync:v}=l??{},S=de.useRef(),m=de.useRef(),b=de.useSyncExternalStore(de.useCallback(D=>nC(r.state,D,v),[v]),()=>{const D=Pu(r.state,Ux);try{if(S.current&&m.current&&!VR(S.current,D,m.current,new WeakMap))return S.current}catch{}return D},()=>Pu(r.state,Ux));r.setOptions({actions:o});const w=de.useMemo(()=>YR(d??{}),[d]);pP(()=>{const D=Object.entries(w),L=r.contextSnapshot??{};D.map(([B,X])=>({key:B,curr:X,prev:L[B],equal:WR(L[B],X)})).every(({equal:B})=>B)||r.setContext(w)},[w]);const T=new WeakMap;de.useEffect(()=>{S.current=b,m.current=T});const I=de.useMemo(()=>new WeakMap,[]);return UR(b,T,I,vP)}function mP(r){const l=de.useRef();return l.current||(l.current={v:r()}),l.current.v}var gP=typeof document<"u"?de.useLayoutEffect:de.useEffect;function yP(r,l){const{state:o,context:d}=l??{},v=mP(()=>{const S=typeof r=="function"?r():r;return d&&S.setContext(d),S._created(),S});return gP(()=>(v.start(o),()=>{v.stop()}),[]),v}function ju(r,l){const o=yP(r,l);return[hP(o,l),o.send,o]}const[SP,X6]=Hr({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItemProvider />"});function EP(r,l){typeof r=="function"?r(l):r!=null&&(r.current=l)}function KR(...r){return l=>{for(const o of r)EP(o,l)}}function bP(r){return"ref"in r.props?r.props.ref:"ref"in r?r.ref:null}const Gb=r=>{const l=de.memo(de.forwardRef((o,d)=>{const{asChild:v,children:S,...m}=o;if(!v)return de.createElement(r,{...m,ref:d},S);const b=de.Children.only(S);if(!de.isValidElement(b))return null;const w=bP(b);return de.cloneElement(b,{...at(m,b.props),ref:d?KR(d,w):w})}));return l.displayName=r.displayName||r.name,l},CP=()=>{const r=new Map;return new Proxy(Gb,{apply(l,o,d){return Gb(d[0])},get(l,o){const d=o;return r.has(d)||r.set(d,Gb(d)),r.get(d)}})},ot=CP(),Bi=()=>(r,l)=>l.reduce((o,d)=>{const[v,S]=o,m=d;return S[m]!==void 0&&(v[m]=S[m]),delete S[m],[v,S]},[{},{...r}]),TP=r=>Bi()(r,["defaultOpen","disabled","id","ids","lazyMount","onExitComplete","onOpenChange","open","unmountOnExit"]);var wP=wo("collapsible").parts("root","trigger","content"),Wb=wP.build(),ua=hc({getRootId:r=>{var l;return((l=r.ids)==null?void 0:l.root)??`collapsible:${r.id}`},getContentId:r=>{var l;return((l=r.ids)==null?void 0:l.content)??`collapsible:${r.id}:content`},getTriggerId:r=>{var l;return((l=r.ids)==null?void 0:l.trigger)??`collapsible:${r.id}:trigger`},getRootEl:r=>ua.getById(r,ua.getRootId(r)),getContentEl:r=>ua.getById(r,ua.getContentId(r)),getTriggerEl:r=>ua.getById(r,ua.getTriggerId(r))});function xP(r,l,o){const d=r.matches("open","closing"),v=r.matches("open"),S=r.context.height,m=r.context.width,b=!!r.context.disabled,w=!r.context.initial&&v;return{disabled:b,visible:d,open:v,setOpen(T){T!==v&&l(T?"OPEN":"CLOSE")},rootProps:o.element({...Wb.root.attrs,"data-state":v?"open":"closed",dir:r.context.dir,id:ua.getRootId(r.context)}),contentProps:o.element({...Wb.content.attrs,"data-state":w?void 0:v?"open":"closed",id:ua.getContentId(r.context),"data-disabled":tt(b),hidden:!d,style:{"--height":S!=null?`${S}px`:void 0,"--width":m!=null?`${m}px`:void 0}}),triggerProps:o.element({...Wb.trigger.attrs,id:ua.getTriggerId(r.context),dir:r.context.dir,type:"button","data-state":v?"open":"closed","data-disabled":tt(b),"aria-controls":ua.getContentId(r.context),"aria-expanded":d||!1,onClick(T){T.defaultPrevented||b||l({type:v?"CLOSE":"OPEN",src:"trigger.click"})}})}}function RP(r){const l=Cl(r);return Bu({id:"collapsible",initial:l.open?"open":"closed",context:{...l,height:0,width:0,initial:!1,stylesRef:null,unmountAnimationName:null},watch:{open:["setInitial","computeSize","toggleVisibility"]},exit:["clearInitial"],states:{closed:{tags:["closed"],on:{"CONTROLLED.OPEN":"open",OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitial","computeSize","invokeOnOpen"]}]}},closing:{tags:["open"],activities:["trackAnimationEvents"],on:{"CONTROLLED.CLOSE":"closed","CONTROLLED.OPEN":"open",OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["setInitial","invokeOnOpen"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnExitComplete"]},{target:"closed",actions:["setInitial","computeSize","invokeOnExitComplete"]}],"ANIMATION.END":{target:"closed",actions:["invokeOnExitComplete"]}}},open:{tags:["open"],on:{"CONTROLLED.CLOSE":"closing",CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closing",actions:["setInitial","computeSize","invokeOnClose"]}]}}}},{guards:{isOpenControlled:o=>!!o["open.controlled"]},activities:{trackAnimationEvents(o,d,{send:v}){let S;const m=Tn(()=>{const b=ua.getContentEl(o);if(!b)return;const w=F_(b).animationName;if(!w||w==="none"){v({type:"ANIMATION.END"});return}const I=D=>{const N=(b.ownerDocument.defaultView||window).getComputedStyle(b).animationName;D.target===b&&N===o.unmountAnimationName&&v({type:"ANIMATION.END"})};b.addEventListener("animationend",I),S=()=>{b.removeEventListener("animationend",I)}});return()=>{m(),S==null||S()}}},actions:{setInitial(o){o.initial=!0},clearInitial(o){o.initial=!1},computeSize(o,d){var v;(v=o._rafCleanup)==null||v.call(o),o._rafCleanup=Tn(()=>{const S=ua.getContentEl(o);if(!S)return;if(o.stylesRef||(o.stylesRef=fc({animationName:S.style.animationName,animationDuration:S.style.animationDuration})),d.type==="CLOSE"||!o.open){const w=S.ownerDocument.defaultView||window;o.unmountAnimationName=w.getComputedStyle(S).animationName}const m=S.hidden;S.style.animationName="none",S.style.animationDuration="0s",S.hidden=!1;const b=S.getBoundingClientRect();o.height=b.height,o.width=b.width,o.initial&&(S.style.animationName=o.stylesRef.animationName,S.style.animationDuration=o.stylesRef.animationDuration),S.hidden=m})},invokeOnOpen:o=>{var d;(d=o.onOpenChange)==null||d.call(o,{open:!0})},invokeOnClose:o=>{var d;(d=o.onOpenChange)==null||d.call(o,{open:!1})},invokeOnExitComplete(o){var d;(d=o.onExitComplete)==null||d.call(o)},toggleVisibility:(o,d,{send:v})=>{v({type:o.open?"CONTROLLED.OPEN":"CONTROLLED.CLOSE"})}}})}Si()(["dir","disabled","getRootNode","id","ids","onExitComplete","onOpenChange","open.controlled","open"]);const[Z6,gc]=Hr({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}}),[J6,yc]=Hr({name:"LocaleContext",hookName:"useLocaleContext",providerName:"<LocaleProvider />",strict:!1,defaultValue:{dir:"ltr",locale:"en-US"}});function yi(r,l={}){const{sync:o=!1}=l,d=kP(r);return de.useCallback((...v)=>{var S;return o?queueMicrotask(()=>{var m;return(m=d.current)==null?void 0:m.call(d,...v)}):(S=d.current)==null?void 0:S.call(d,...v)},[o,d])}function kP(r){const l=de.useRef(r);return l.current=r,l}const OP=(r={})=>{const{lazyMount:l,unmountOnExit:o,...d}=r,v=de.useRef(!1),{dir:S}=yc(),{getRootNode:m}=gc(),b={id:de.useId(),dir:S,getRootNode:m,open:r.defaultOpen,"open.controlled":r.open!==void 0,...d},w={...b,open:r.open,onOpenChange:yi(r.onOpenChange,{sync:!0})},[T,I]=ju(RP(b),{context:w}),D=xP(T,I,mc);D.visible&&(v.current=!0);const L=!D.visible&&!v.current&&l||o&&!D.visible&&v.current;return{...D,isUnmounted:L}},[DP,QR]=Hr({name:"CollapsibleContext",hookName:"useCollapsibleContext",providerName:"<CollapsibleProvider />"}),qR=de.forwardRef((r,l)=>{const[o,d]=TP(r),v=OP(o),S=at(v.rootProps,d);return ee.jsx(DP,{value:v,children:ee.jsx(ot.div,{...S,ref:l})})});qR.displayName="CollapsibleRoot";const[EC,bC]=Hr({name:"RenderStrategyContext",hookName:"useRenderStrategyContext",providerName:"<RenderStrategyPropsProvider />"}),CC=r=>Bi()(r,["lazyMount","unmountOnExit"]),[NP,TC]=Hr({name:"AccordionItemPropsContext",hookName:"useAccordionItemPropsContext",providerName:"<AccordionItemPropsProvider />"}),XR=de.forwardRef((r,l)=>{const[o,d]=lP(r),v=Ky(),S=bC(),m=at(v.getItemProps(o),d),b=v.getItemState(o),w=v.getItemContentProps(o);return ee.jsx(NP,{value:o,children:ee.jsx(SP,{value:b,children:ee.jsx(qR,{ref:l,open:b.expanded,ids:{content:w.id},...S,...m})})})});XR.displayName="AccordionItem";const ZR=de.forwardRef((r,l)=>{const o=QR();if(o.isUnmounted)return null;const d=at(o.contentProps,r);return ee.jsx(ot.div,{...d,ref:l})});ZR.displayName="CollapsibleContent";const LP=Bi(),JR=de.forwardRef((r,l)=>{const o=Ky(),d=TC(),v=o.getItemContentProps(d),[,S]=LP(v,["hidden","data-state"]),m=at(S,r);return ee.jsx(ZR,{ref:l,...m})});JR.displayName="AccordionItemContent";const ek=de.forwardRef((r,l)=>{const o=Ky(),d=TC(),v=at(o.getItemIndicatorProps(d),r);return ee.jsx(ot.div,{...v,ref:l})});ek.displayName="AccordionItemIndicator";const tk=de.forwardRef((r,l)=>{const o=Ky(),d=TC(),v=QR(),S=o.getItemTriggerProps(d),m=at({...S,"aria-controls":v.isUnmounted?void 0:S["aria-controls"]},r);return ee.jsx(ot.button,{...m,ref:l})});tk.displayName="AccordionItemTrigger";const IP=(r={})=>{const{getRootNode:l}=gc(),{dir:o}=yc(),d={id:de.useId(),dir:o,getRootNode:l,value:r.defaultValue,...r},v={...d,value:r.value,onFocusChange:yi(r.onFocusChange),onValueChange:yi(r.onValueChange)},[S,m]=ju(aP(d),{context:v});return nP(S,m,mc)},nk=de.forwardRef((r,l)=>{const[o,d]=CC(r),[v,S]=Bi()(d,["collapsible","defaultValue","disabled","id","ids","multiple","onFocusChange","onValueChange","orientation","value"]),m=IP(v),b=at(m.rootProps,S);return ee.jsx(g_,{value:m,children:ee.jsx(EC,{value:o,children:ee.jsx(ot.div,{...b,ref:l})})})});nk.displayName="AccordionRoot";const Vx=(...r)=>r.filter(Boolean).join(" "),qy=(r,l)=>{const o=de.createContext(null);return{withContext:(S,m,b)=>m?de.forwardRef((T,I)=>{const D=de.useContext(o),L=(l==null?void 0:l.dataAttr)??!1;return de.createElement(S,{...L&&{"data-recipe-slot":m??""},...T,...b==null?void 0:b.defaultProps,className:Vx(D==null?void 0:D[m??""],T.className),ref:I})}):S,withProvider:(S,m,b)=>de.forwardRef((T,I)=>{const[D,L]=r.splitVariantProps({...T,...b==null?void 0:b.defaultProps}),N=r(D),_=(l==null?void 0:l.dataAttr)??!1;return ee.jsx(o.Provider,{value:N,children:ee.jsx(S,{ref:I,..._&&{"data-recipe-slot":m??""},...L,className:Vx(N[m??""],L.className)})})})}},{withProvider:AP,withContext:Xy}=qy(Ln.accordion),_P=AP(it.styled(nk),"root"),MP=Xy(it.styled(XR),"item"),PP=Xy(it.styled(JR),"itemContent"),FP=Xy(it.styled(ek),"itemIndicator",{defaultProps:{children:ee.jsx("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:ee.jsx("path",{d:"M4.94 6.03L8 9.08333L11.06 6.03L12 6.97L8 10.97L4 6.97L4.94 6.03Z",fill:"currentColor"})})}}),zP=Xy(it.styled(tk),"itemTrigger"),rk=it.styled("button",Ln.button),[UP,Zy]=Hr({name:"CheckboxContext",hookName:"useCheckboxContext",providerName:"<CheckboxProvider />"}),ik=de.forwardRef((r,l)=>{const o=Zy(),d=at(o.controlProps,r);return ee.jsx(ot.div,{...d,ref:l})});ik.displayName="CheckboxControl";const ak=de.forwardRef((r,l)=>{const o=Zy(),d=at(o.hiddenInputProps,r);return ee.jsx(ot.input,{...d,ref:l})});ak.displayName="CheckboxHiddenInput";const rC=de.forwardRef((r,l)=>{const{indeterminate:o,...d}=r,v=Zy(),S=at(v.indicatorProps,d),m=o?v.indeterminate:v.checked;return ee.jsx(ot.div,{...S,hidden:!m,ref:l})});rC.displayName="CheckboxIndicator";const ok=de.forwardRef((r,l)=>{const o=Zy(),d=at(o.labelProps,r);return ee.jsx(ot.span,{...d,ref:l})});ok.displayName="CheckboxLabel";var lk=r=>r.ownerDocument.defaultView||window;function VP(r,l){const{type:o="HTMLInputElement",property:d="value"}=l,v=lk(r)[o].prototype;return Object.getOwnPropertyDescriptor(v,d)??{}}function HP(r,l){var d;(d=VP(r,{type:"HTMLInputElement",property:"checked"}).set)==null||d.call(r,l)}function uk(r,l){const{checked:o,bubbles:d=!0}=l;if(!r)return;const v=lk(r);r instanceof v.HTMLInputElement&&(HP(r,o),r.dispatchEvent(new v.Event("click",{bubbles:d})),r.dispatchEvent(new v.Event("change",{bubbles:d})))}function BP(r){return jP(r)?r.form:r.closest("form")}function jP(r){return r.matches("textarea, input, select, button")}function $P(r,l){if(!r)return;const o=BP(r);return o==null||o.addEventListener("reset",l,{passive:!0}),()=>{o==null||o.removeEventListener("reset",l)}}function GP(r,l){const o=r==null?void 0:r.closest("fieldset");if(!o)return;l(o.disabled);const d=o.ownerDocument.defaultView||window,v=new d.MutationObserver(()=>l(o.disabled));return v.observe(o,{attributes:!0,attributeFilter:["disabled"]}),()=>v.disconnect()}function wC(r,l){if(!r)return;const{onFieldsetDisabledChange:o,onFormReset:d}=l,v=[$P(r,d),GP(r,o)];return()=>{v.forEach(S=>S==null?void 0:S())}}var WP=wo("checkbox").parts("root","label","control","indicator"),Cy=WP.build(),sr=hc({getRootId:r=>{var l;return((l=r.ids)==null?void 0:l.root)??`checkbox:${r.id}`},getLabelId:r=>{var l;return((l=r.ids)==null?void 0:l.label)??`checkbox:${r.id}:label`},getControlId:r=>{var l;return((l=r.ids)==null?void 0:l.control)??`checkbox:${r.id}:control`},getHiddenInputId:r=>{var l;return((l=r.ids)==null?void 0:l.hiddenInput)??`checkbox:${r.id}:hidden`},getRootEl:r=>sr.getById(r,sr.getRootId(r)),getHiddenInputEl:r=>sr.getById(r,sr.getHiddenInputId(r))});function YP(r,l,o){const d=r.context.isDisabled,v=!d&&r.context.focused,S=r.context.isChecked,m=r.context.isIndeterminate,b=r.context.readOnly,w={"data-active":tt(r.context.active),"data-focus":tt(v),"data-readonly":tt(b),"data-hover":tt(r.context.hovered),"data-disabled":tt(d),"data-state":m?"indeterminate":r.context.checked?"checked":"unchecked","data-invalid":tt(r.context.invalid)};return{checked:S,disabled:d,indeterminate:m,focused:v,checkedState:r.context.checked,setChecked(T){l({type:"CHECKED.SET",checked:T,isTrusted:!1})},toggleChecked(){l({type:"CHECKED.TOGGLE",checked:S,isTrusted:!1})},rootProps:o.label({...Cy.root.attrs,...w,dir:r.context.dir,id:sr.getRootId(r.context),htmlFor:sr.getHiddenInputId(r.context),onPointerMove(){d||l({type:"CONTEXT.SET",context:{hovered:!0}})},onPointerLeave(){d||l({type:"CONTEXT.SET",context:{hovered:!1}})},onClick(T){T.target===sr.getHiddenInputEl(r.context)&&T.stopPropagation()}}),labelProps:o.element({...Cy.label.attrs,...w,dir:r.context.dir,id:sr.getLabelId(r.context)}),controlProps:o.element({...Cy.control.attrs,...w,dir:r.context.dir,id:sr.getControlId(r.context),"aria-hidden":!0}),indicatorProps:o.element({...Cy.indicator.attrs,...w,dir:r.context.dir,hidden:!m&&!r.context.checked}),hiddenInputProps:o.input({id:sr.getHiddenInputId(r.context),type:"checkbox",required:r.context.required,defaultChecked:S,disabled:d,"aria-labelledby":sr.getLabelId(r.context),"aria-invalid":r.context.invalid,name:r.context.name,form:r.context.form,value:r.context.value,style:hC,onChange(T){if(b){T.preventDefault();return}const I=T.currentTarget.checked;l({type:"CHECKED.SET",checked:I,isTrusted:!0})}})}}var{not:Hx}=uh;function KP(r){const l=Cl(r);return Bu({id:"checkbox",initial:"ready",context:{checked:!1,value:"on",disabled:!1,...l,fieldsetDisabled:!1},watch:{disabled:"removeFocusIfNeeded",checked:"syncInputElement"},activities:["trackFormControlState","trackPressEvent","trackFocusVisible"],on:{"CHECKED.TOGGLE":[{guard:Hx("isTrusted"),actions:["toggleChecked","dispatchChangeEvent"]},{actions:["toggleChecked"]}],"CHECKED.SET":[{guard:Hx("isTrusted"),actions:["setChecked","dispatchChangeEvent"]},{actions:["setChecked"]}],"CONTEXT.SET":{actions:["setContext"]}},computed:{isIndeterminate:o=>iC(o.checked),isChecked:o=>Bx(o.checked),isDisabled:o=>!!o.disabled||o.fieldsetDisabled},states:{ready:{}}},{guards:{isTrusted:(o,d)=>!!d.isTrusted},activities:{trackPressEvent(o){if(!o.isDisabled)return xR({pointerNode:sr.getRootEl(o),keyboardNode:sr.getHiddenInputEl(o),isValidKey:d=>d.key===" ",onPress:()=>o.active=!1,onPressStart:()=>o.active=!0,onPressEnd:()=>o.active=!1})},trackFocusVisible(o){if(!o.isDisabled)return wR(sr.getHiddenInputEl(o),{onFocus:()=>o.focused=!0,onBlur:()=>o.focused=!1})},trackFormControlState(o,d,{send:v,initialContext:S}){return wC(sr.getHiddenInputEl(o),{onFieldsetDisabledChange(m){o.fieldsetDisabled=m},onFormReset(){v({type:"CHECKED.SET",checked:!!S.checked})}})}},actions:{setContext(o,d){Object.assign(o,d.context)},syncInputElement(o){const d=sr.getHiddenInputEl(o);d&&(d.checked=o.isChecked,d.indeterminate=o.isIndeterminate)},removeFocusIfNeeded(o){o.disabled&&o.focused&&(o.focused=!1)},setChecked(o,d){jx.checked(o,d.checked)},toggleChecked(o){const d=iC(o.checked)?!0:!o.checked;jx.checked(o,d)},dispatchChangeEvent(o){const d=sr.getHiddenInputEl(o);uk(d,{checked:Bx(o.checked)})}}})}function iC(r){return r==="indeterminate"}function Bx(r){return iC(r)?!1:!!r}var QP={change:r=>{var l;(l=r.onCheckedChange)==null||l.call(r,{checked:r.checked})}},jx={checked:(r,l)=>{xo(r.checked,l)||(r.checked=l,QP.change(r))}};Si()(["checked","dir","disabled","form","getRootNode","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]);const qP=(r={})=>{const{getRootNode:l}=gc(),{dir:o}=yc(),d={id:de.useId(),dir:o,getRootNode:l,checked:r.defaultChecked,...r},v={...d,checked:r.checked,onCheckedChange:yi(r.onCheckedChange,{sync:!0})},[S,m]=ju(KP(d),{context:v});return YP(S,m,mc)},sk=de.forwardRef((r,l)=>{const[o,d]=Bi()(r,["checked","defaultChecked","disabled","form","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]),v=qP(o),S=at(v.rootProps,d);return ee.jsx(UP,{value:v,children:ee.jsx(ot.label,{...S,ref:l})})});sk.displayName="CheckboxRoot";const ck=de.forwardRef((r,l)=>{const[o,d]=Ln.checkbox.splitVariantProps(r),[v,S]=it.splitCssProps(d),{children:m,className:b,...w}=S,T=Ln.checkbox(o);return ee.jsxs(sk,{ref:l,className:Rf.cx(T.root,Rf.css(v),b),...w,children:[ee.jsxs(ik,{className:T.control,children:[ee.jsx(rC,{children:ee.jsx(XP,{})}),ee.jsx(rC,{indeterminate:!0,children:ee.jsx(ZP,{})})]}),m&&ee.jsx(ok,{className:T.label,children:m}),ee.jsx(ak,{})]})});ck.displayName="Checkbox";const XP=()=>ee.jsxs("svg",{viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ee.jsx("title",{children:"Check Icon"}),ee.jsx("path",{d:"M4.39754 8.43751L2.31254 6.35251L1.60254 7.05751L4.39754 9.85251L10.3975 3.85251L9.69254 3.14751L4.39754 8.43751Z",fill:"white"})]}),ZP=()=>ee.jsxs("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ee.jsx("title",{children:"Minus Icon"}),ee.jsx("path",{d:"M3 6H9V7H3V6Z",fill:"white"})]});function JP(r,l,o){const d=r.matches("mounted","unmountSuspended");return{skip:!r.context.initial&&d,present:d,setNode(v){v&&l({type:"NODE.SET",node:v})},unmount(){l({type:"UNMOUNT"})}}}function Ty(r){return(r==null?void 0:r.animationName)||"none"}function eF(r){return Bu({initial:r.present?"mounted":"unmounted",context:{node:null,styles:null,unmountAnimationName:null,prevAnimationName:null,present:!1,initial:!1,...r},exit:["clearInitial"],watch:{present:["setInitial","syncPresence"]},on:{"NODE.SET":{actions:["setNode","setStyles"]}},states:{mounted:{on:{UNMOUNT:{target:"unmounted",actions:["invokeOnExitComplete"]},"UNMOUNT.SUSPEND":"unmountSuspended"}},unmountSuspended:{activities:["trackAnimationEvents"],on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]},"ANIMATION.END":{target:"unmounted",actions:["invokeOnExitComplete"]},UNMOUNT:{target:"unmounted",actions:["invokeOnExitComplete"]}}},unmounted:{entry:["clearPrevAnimationName"],on:{MOUNT:{target:"mounted",actions:["setPrevAnimationName"]}}}}},{actions:{setInitial(l){l.initial=!0},clearInitial(l){l.initial=!1},invokeOnExitComplete(l){var o;(o=l.onExitComplete)==null||o.call(l)},setNode(l,o){l.node=fc(o.node)},setStyles(l,o){const d=o.node.ownerDocument.defaultView||window;l.styles=fc(d.getComputedStyle(o.node))},syncPresence(l,o,{send:d}){if(l.rafId&&cancelAnimationFrame(l.rafId),l.present){d({type:"MOUNT",src:"presence.changed"});return}l.rafId=requestAnimationFrame(()=>{var S;const v=Ty(l.styles);l.unmountAnimationName=v,v==="none"||v===l.prevAnimationName||((S=l.styles)==null?void 0:S.display)==="none"?d({type:"UNMOUNT",src:"presence.changed"}):d({type:"UNMOUNT.SUSPEND"})})},setPrevAnimationName(l){requestAnimationFrame(()=>{l.prevAnimationName=Ty(l.styles)})},clearPrevAnimationName(l){l.prevAnimationName=null}},activities:{trackAnimationEvents(l,o,{send:d}){const v=l.node;if(!v)return;const S=b=>{b.target===v&&(l.prevAnimationName=Ty(l.styles))},m=b=>{const w=Ty(l.styles);b.target===v&&w===l.unmountAnimationName&&d({type:"UNMOUNT",src:"animationend"})};return v.addEventListener("animationstart",S),v.addEventListener("animationcancel",m),v.addEventListener("animationend",m),()=>{v.removeEventListener("animationstart",S),v.removeEventListener("animationcancel",m),v.removeEventListener("animationend",m)}}}})}Si()(["onExitComplete","present"]);const Jy=r=>{const{lazyMount:l,unmountOnExit:o,...d}=r,v=de.useRef(!1),S={...d,onExitComplete:yi(r.onExitComplete)},[m,b]=ju(eF(S),{context:S}),w=JP(m,b);w.present&&(v.current=!0);const T=!w.present&&!v.current&&l||o&&!w.present&&v.current;return{getPresenceProps:D=>({ref:KR(w.setNode,D),"data-state":r.present?"open":"closed",hidden:!w.present}),present:w.present,unmounted:T}},[tF,Df]=Hr({name:"DialogContext",hookName:"useDialogContext",providerName:"<DialogProvider />"}),dk=de.forwardRef((r,l)=>{const o=Df(),d=bC(),v=Jy({...d,present:o.open}),S=at(o.backdropProps,v.getPresenceProps(l),r);return v.unmounted?null:ee.jsx(ot.div,{...S})});dk.displayName="DialogBackdrop";const fk=de.forwardRef((r,l)=>{const o=Df(),d=at(o.closeTriggerProps,r);return ee.jsx(ot.button,{...d,ref:l})});fk.displayName="DialogCloseTrigger";const[xC,sh]=Hr({name:"PresenceContext",hookName:"usePresenceContext",providerName:"<PresenceProvider />"}),RC=de.forwardRef((r,l)=>{const o=Df(),d=sh(),v=at(o.contentProps,d.getPresenceProps(l),r);return d.unmounted?null:ee.jsx(ot.div,{...v})});RC.displayName="DialogContent";const pk=de.forwardRef((r,l)=>{const o=Df(),d=at(o.positionerProps,r);return sh().unmounted?null:ee.jsx(ot.div,{...d,ref:l})});pk.displayName="DialogPositioner";const vk=r=>Bi()(r,["lazyMount","onExitComplete","present","unmountOnExit"]);var Xv=new WeakMap,la=[];function nF(r,l={}){const{rootEl:o}=l,d=r.filter(Boolean);if(d.length===0)return;const v=d[0].ownerDocument||document,S=v.defaultView??window,m=new Set(d),b=new Set,w=o??v.body;let T=N=>{for(let z of N.querySelectorAll("[data-live-announcer], [data-zag-top-layer]"))m.add(z);let _=z=>{if(m.has(z)||b.has(z.parentElement)&&z.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let te of m)if(z.contains(te))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},B=v.createTreeWalker(N,NodeFilter.SHOW_ELEMENT,{acceptNode:_}),X=_(N);if(X===NodeFilter.FILTER_ACCEPT&&I(N),X!==NodeFilter.FILTER_REJECT){let z=B.nextNode();for(;z!=null;)I(z),z=B.nextNode()}},I=N=>{let _=Xv.get(N)??0;N.getAttribute("aria-hidden")==="true"&&_===0||(_===0&&N.setAttribute("aria-hidden","true"),b.add(N),Xv.set(N,_+1))};la.length&&la[la.length-1].disconnect(),T(w);const D=new S.MutationObserver(N=>{for(let _ of N)if(!(_.type!=="childList"||_.addedNodes.length===0)&&![...m,...b].some(B=>B.contains(_.target))){for(let B of _.removedNodes)B instanceof S.Element&&(m.delete(B),b.delete(B));for(let B of _.addedNodes)(B instanceof S.HTMLElement||B instanceof S.SVGElement)&&(B.dataset.liveAnnouncer==="true"||B.dataset.zagTopLayer==="true")?m.add(B):B instanceof S.Element&&T(B)}});D.observe(w,{childList:!0,subtree:!0});let L={observe(){D.observe(w,{childList:!0,subtree:!0})},disconnect(){D.disconnect()}};return la.push(L),()=>{D.disconnect();for(let N of b){let _=Xv.get(N);_===1?(N.removeAttribute("aria-hidden"),Xv.delete(N)):Xv.set(N,_-1)}L===la[la.length-1]?(la.pop(),la.length&&la[la.length-1].observe()):la.splice(la.indexOf(L),1)}}function rF(r,l={}){const{defer:o}=l,d=o?Tn:S=>S(),v=[];return v.push(d(()=>{const S=typeof r=="function"?r():r;v.push(nF(S,l))})),()=>{v.forEach(S=>S==null?void 0:S())}}function iF(r){const l={each(o){var d;for(let v=0;v<((d=r.frames)==null?void 0:d.length);v+=1){const S=r.frames[v];S&&o(S)}},addEventListener(o,d,v){return l.each(S=>{try{S.document.addEventListener(o,d,v)}catch{}}),()=>{try{l.removeEventListener(o,d,v)}catch{}}},removeEventListener(o,d,v){l.each(S=>{try{S.document.removeEventListener(o,d,v)}catch{}})}};return l}var $x="pointerdown.outside",Gx="focus.outside";function aF(r){for(const l of r)if(Ro(l)&&ah(l))return!0;return!1}var hk=r=>"clientY"in r;function oF(r,l){if(!hk(l)||!r)return!1;const o=r.getBoundingClientRect();return o.width===0||o.height===0?!1:o.top<=l.clientY&&l.clientY<=o.top+o.height&&o.left<=l.clientX&&l.clientX<=o.left+o.width}function lF(r){const l=dc(r);if(!l||!hk(r))return!1;const d=l.scrollHeight>l.clientHeight&&r.clientX>l.clientWidth,S=l.scrollWidth>l.clientWidth&&r.clientY>l.clientHeight;return d||S}function uF(r,l){const{exclude:o,onFocusOutside:d,onPointerDownOutside:v,onInteractOutside:S,defer:m}=l;if(!r)return;const b=lh(r),w=Hu(r),T=iF(w);function I(X){const z=dc(X);return!Ro(z)||kf(r,z)||oF(r,X)||lF(X)?!1:!(o!=null&&o(z))}let D;function L(X){function z(){var me;const te=m?Tn:fe=>fe(),Z=((me=X.composedPath)==null?void 0:me.call(X))??[X.target];te(()=>{if(!(!r||!I(X))){if(v||S){const fe=Tx(v,S);r.addEventListener($x,fe,{once:!0})}Ex(r,$x,{bubbles:!1,cancelable:!0,detail:{originalEvent:X,contextmenu:nM(X),focusable:aF(Z)}})}})}X.pointerType==="touch"?(T.removeEventListener("click",z),b.removeEventListener("click",z),D=z,b.addEventListener("click",z,{once:!0}),T.addEventListener("click",z,{once:!0})):z()}const N=new Set,_=setTimeout(()=>{N.add(T.addEventListener("pointerdown",L,!0)),N.add(zi(b,"pointerdown",L,!0))},0);function B(X){(m?Tn:te=>te())(()=>{if(!(!r||!I(X))){if(d||S){const te=Tx(d,S);r.addEventListener(Gx,te,{once:!0})}Ex(r,Gx,{bubbles:!1,cancelable:!0,detail:{originalEvent:X,contextmenu:!1,focusable:ah(dc(X))}})}})}return N.add(zi(b,"focusin",B,!0)),N.add(T.addEventListener("focusin",B,!0)),()=>{clearTimeout(_),D&&(T.removeEventListener("click",D),b.removeEventListener("click",D)),N.forEach(X=>X())}}function sF(r,l){const{defer:o}=l,d=o?Tn:S=>S(),v=[];return v.push(d(()=>{const S=typeof r=="function"?r():r;v.push(uF(S,l))})),()=>{v.forEach(S=>S==null?void 0:S())}}function cF(r,l){const o=d=>{d.key==="Escape"&&(d.isComposing||l==null||l(d))};return zi(lh(r),"keydown",o,{capture:!0})}var Va={layers:[],branches:[],count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(r=>r.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(r){var d;const l=this.indexOf(r),o=this.topMostPointerBlockingLayer()?this.indexOf((d=this.topMostPointerBlockingLayer())==null?void 0:d.node):-1;return l<o},isTopMost(r){const l=this.layers[this.count()-1];return(l==null?void 0:l.node)===r},getNestedLayers(r){return Array.from(this.layers).slice(this.indexOf(r)+1)},isInNestedLayer(r,l){return this.getNestedLayers(r).some(o=>kf(o.node,l))},isInBranch(r){return Array.from(this.branches).some(l=>kf(l,r))},add(r){const l=this.layers.push(r);r.node.style.setProperty("--layer-index",`${l}`)},addBranch(r){this.branches.push(r)},remove(r){const l=this.indexOf(r);l<0||(l<this.count()-1&&this.getNestedLayers(r).forEach(d=>d.dismiss()),this.layers.splice(l,1),r.style.removeProperty("--layer-index"))},removeBranch(r){const l=this.branches.indexOf(r);l>=0&&this.branches.splice(l,1)},indexOf(r){return this.layers.findIndex(l=>l.node===r)},dismiss(r){var l;(l=this.layers[this.indexOf(r)])==null||l.dismiss()},clear(){this.remove(this.layers[0].node)}},Wx;function Yx(){Va.layers.forEach(({node:r})=>{r.style.pointerEvents=Va.isBelowPointerBlockingLayer(r)?"none":"auto"})}function dF(r){r.style.pointerEvents=""}function fF(r,l){const o=lh(r),d=[];if(Va.hasPointerBlockingLayer()&&!o.body.hasAttribute("data-inert")&&(Wx=document.body.style.pointerEvents,queueMicrotask(()=>{o.body.style.pointerEvents="none",o.body.setAttribute("data-inert","")})),l){const v=eM(l,S=>{d.push(X_(S,{pointerEvents:"auto"}))});d.push(v)}return()=>{Va.hasPointerBlockingLayer()||(queueMicrotask(()=>{o.body.style.pointerEvents=Wx,o.body.removeAttribute("data-inert"),o.body.style.length===0&&o.body.removeAttribute("style")}),d.forEach(v=>v()))}}function pF(r,l){if(!r){NR("[@zag-js/dismissable] node is `null` or `undefined`");return}const{onDismiss:o,pointerBlocking:d,exclude:v,debug:S}=l,m={dismiss:o,node:r,pointerBlocking:d};Va.add(m),Yx();function b(L){var _,B;const N=dc(L.detail.originalEvent);Va.isBelowPointerBlockingLayer(r)||Va.isInBranch(N)||((_=l.onPointerDownOutside)==null||_.call(l,L),(B=l.onInteractOutside)==null||B.call(l,L),!L.defaultPrevented&&(S&&console.log("onPointerDownOutside:",L.detail.originalEvent),o==null||o()))}function w(L){var _,B;const N=dc(L.detail.originalEvent);Va.isInBranch(N)||((_=l.onFocusOutside)==null||_.call(l,L),(B=l.onInteractOutside)==null||B.call(l,L),!L.defaultPrevented&&(S&&console.log("onFocusOutside:",L.detail.originalEvent),o==null||o()))}function T(L){var N;Va.isTopMost(r)&&((N=l.onEscapeKeyDown)==null||N.call(l,L),!L.defaultPrevented&&o&&(L.preventDefault(),o()))}function I(L){var X;if(!r)return!1;const N=typeof v=="function"?v():v,_=Array.isArray(N)?N:[N],B=(X=l.persistentElements)==null?void 0:X.map(z=>z()).filter(Ro);return B&&_.push(...B),_.some(z=>kf(z,L))||Va.isInNestedLayer(r,L)}const D=[d?fF(r,l.persistentElements):void 0,cF(r,T),sF(r,{exclude:I,onFocusOutside:w,onPointerDownOutside:b,defer:l.defer})];return()=>{Va.remove(r),Yx(),dF(r),D.forEach(L=>L==null?void 0:L())}}function mk(r,l){const{defer:o}=l,d=o?Tn:S=>S(),v=[];return v.push(d(()=>{const S=mM(r)?r():r;v.push(pF(S,l))})),()=>{v.forEach(S=>S==null?void 0:S())}}var Yb="data-zag-scroll-lock";function Kx(r,l){if(!r)return;const o=r.style.cssText;return Object.assign(r.style,l),()=>{r.style.cssText=o}}function vF(r,l,o){if(!r)return;const d=r.style.getPropertyValue(l);return r.style.setProperty(l,o),()=>{d?r.style.setProperty(l,d):r.style.removeProperty(l)}}function hF(r){const l=r.getBoundingClientRect().left;return Math.round(l)+r.scrollLeft?"paddingLeft":"paddingRight"}function mF(r){const l=r??document,o=l.defaultView??window,{documentElement:d,body:v}=l;if(v.hasAttribute(Yb))return;v.setAttribute(Yb,"");const m=o.innerWidth-d.clientWidth,b=()=>vF(d,"--scrollbar-width",`${m}px`),w=hF(d),T=()=>Kx(v,{overflow:"hidden",[w]:`${m}px`}),I=()=>{const{scrollX:L,scrollY:N,visualViewport:_}=o,B=(_==null?void 0:_.offsetLeft)??0,X=(_==null?void 0:_.offsetTop)??0,z=Kx(v,{position:"fixed",overflow:"hidden",top:`${-(N-Math.floor(X))}px`,left:`${-(L-Math.floor(B))}px`,right:"0",[w]:`${m}px`});return()=>{z==null||z(),o.scrollTo({left:L,top:N,behavior:"instant"})}},D=[b(),D_()?I():T()];return()=>{D.forEach(L=>L==null?void 0:L()),v.removeAttribute(Yb)}}/*!
|
|
175
175
|
* tabbable 6.2.0
|
|
176
176
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
177
|
-
*/var
|
|
177
|
+
*/var gk=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Vy=gk.join(","),yk=typeof Element>"u",pc=yk?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Hy=!yk&&Element.prototype.getRootNode?function(r){var l;return r==null||(l=r.getRootNode)===null||l===void 0?void 0:l.call(r)}:function(r){return r==null?void 0:r.ownerDocument},By=function r(l,o){var d;o===void 0&&(o=!0);var v=l==null||(d=l.getAttribute)===null||d===void 0?void 0:d.call(l,"inert"),S=v===""||v==="true",m=S||o&&l&&r(l.parentNode);return m},gF=function(l){var o,d=l==null||(o=l.getAttribute)===null||o===void 0?void 0:o.call(l,"contenteditable");return d===""||d==="true"},Sk=function(l,o,d){if(By(l))return[];var v=Array.prototype.slice.apply(l.querySelectorAll(Vy));return o&&pc.call(l,Vy)&&v.unshift(l),v=v.filter(d),v},Ek=function r(l,o,d){for(var v=[],S=Array.from(l);S.length;){var m=S.shift();if(!By(m,!1))if(m.tagName==="SLOT"){var b=m.assignedElements(),w=b.length?b:m.children,T=r(w,!0,d);d.flatten?v.push.apply(v,T):v.push({scopeParent:m,candidates:T})}else{var I=pc.call(m,Vy);I&&d.filter(m)&&(o||!l.includes(m))&&v.push(m);var D=m.shadowRoot||typeof d.getShadowRoot=="function"&&d.getShadowRoot(m),L=!By(D,!1)&&(!d.shadowRootFilter||d.shadowRootFilter(m));if(D&&L){var N=r(D===!0?m.children:D.children,!0,d);d.flatten?v.push.apply(v,N):v.push({scopeParent:m,candidates:N})}else S.unshift.apply(S,m.children)}}return v},bk=function(l){return!isNaN(parseInt(l.getAttribute("tabindex"),10))},cc=function(l){if(!l)throw new Error("No node provided");return l.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(l.tagName)||gF(l))&&!bk(l)?0:l.tabIndex},yF=function(l,o){var d=cc(l);return d<0&&o&&!bk(l)?0:d},SF=function(l,o){return l.tabIndex===o.tabIndex?l.documentOrder-o.documentOrder:l.tabIndex-o.tabIndex},Ck=function(l){return l.tagName==="INPUT"},EF=function(l){return Ck(l)&&l.type==="hidden"},bF=function(l){var o=l.tagName==="DETAILS"&&Array.prototype.slice.apply(l.children).some(function(d){return d.tagName==="SUMMARY"});return o},CF=function(l,o){for(var d=0;d<l.length;d++)if(l[d].checked&&l[d].form===o)return l[d]},TF=function(l){if(!l.name)return!0;var o=l.form||Hy(l),d=function(b){return o.querySelectorAll('input[type="radio"][name="'+b+'"]')},v;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")v=d(window.CSS.escape(l.name));else try{v=d(l.name)}catch(m){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",m.message),!1}var S=CF(v,l.form);return!S||S===l},wF=function(l){return Ck(l)&&l.type==="radio"},xF=function(l){return wF(l)&&!TF(l)},RF=function(l){var o,d=l&&Hy(l),v=(o=d)===null||o===void 0?void 0:o.host,S=!1;if(d&&d!==l){var m,b,w;for(S=!!((m=v)!==null&&m!==void 0&&(b=m.ownerDocument)!==null&&b!==void 0&&b.contains(v)||l!=null&&(w=l.ownerDocument)!==null&&w!==void 0&&w.contains(l));!S&&v;){var T,I,D;d=Hy(v),v=(T=d)===null||T===void 0?void 0:T.host,S=!!((I=v)!==null&&I!==void 0&&(D=I.ownerDocument)!==null&&D!==void 0&&D.contains(v))}}return S},Qx=function(l){var o=l.getBoundingClientRect(),d=o.width,v=o.height;return d===0&&v===0},kF=function(l,o){var d=o.displayCheck,v=o.getShadowRoot;if(getComputedStyle(l).visibility==="hidden")return!0;var S=pc.call(l,"details>summary:first-of-type"),m=S?l.parentElement:l;if(pc.call(m,"details:not([open]) *"))return!0;if(!d||d==="full"||d==="legacy-full"){if(typeof v=="function"){for(var b=l;l;){var w=l.parentElement,T=Hy(l);if(w&&!w.shadowRoot&&v(w)===!0)return Qx(l);l.assignedSlot?l=l.assignedSlot:!w&&T!==l.ownerDocument?l=T.host:l=w}l=b}if(RF(l))return!l.getClientRects().length;if(d!=="legacy-full")return!0}else if(d==="non-zero-area")return Qx(l);return!1},OF=function(l){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(l.tagName))for(var o=l.parentElement;o;){if(o.tagName==="FIELDSET"&&o.disabled){for(var d=0;d<o.children.length;d++){var v=o.children.item(d);if(v.tagName==="LEGEND")return pc.call(o,"fieldset[disabled] *")?!0:!v.contains(l)}return!0}o=o.parentElement}return!1},jy=function(l,o){return!(o.disabled||By(o)||EF(o)||kF(o,l)||bF(o)||OF(o))},aC=function(l,o){return!(xF(o)||cc(o)<0||!jy(l,o))},DF=function(l){var o=parseInt(l.getAttribute("tabindex"),10);return!!(isNaN(o)||o>=0)},NF=function r(l){var o=[],d=[];return l.forEach(function(v,S){var m=!!v.scopeParent,b=m?v.scopeParent:v,w=yF(b,m),T=m?r(v.candidates):b;w===0?m?o.push.apply(o,T):o.push(b):d.push({documentOrder:S,tabIndex:w,item:v,isScope:m,content:T})}),d.sort(SF).reduce(function(v,S){return S.isScope?v.push.apply(v,S.content):v.push(S.content),v},[]).concat(o)},LF=function(l,o){o=o||{};var d;return o.getShadowRoot?d=Ek([l],o.includeContainer,{filter:aC.bind(null,o),flatten:!1,getShadowRoot:o.getShadowRoot,shadowRootFilter:DF}):d=Sk(l,o.includeContainer,aC.bind(null,o)),NF(d)},IF=function(l,o){o=o||{};var d;return o.getShadowRoot?d=Ek([l],o.includeContainer,{filter:jy.bind(null,o),flatten:!0,getShadowRoot:o.getShadowRoot}):d=Sk(l,o.includeContainer,jy.bind(null,o)),d},bf=function(l,o){if(o=o||{},!l)throw new Error("No node provided");return pc.call(l,Vy)===!1?!1:aC(o,l)},AF=gk.concat("iframe").join(","),Kb=function(l,o){if(o=o||{},!l)throw new Error("No node provided");return pc.call(l,AF)===!1?!1:jy(o,l)};/*!
|
|
178
178
|
* focus-trap 7.5.4
|
|
179
179
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
180
|
-
*/function Rw(a,u){var l=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);u&&(d=d.filter(function(g){return Object.getOwnPropertyDescriptor(a,g).enumerable})),l.push.apply(l,d)}return l}function kw(a){for(var u=1;u<arguments.length;u++){var l=arguments[u]!=null?arguments[u]:{};u%2?Rw(Object(l),!0).forEach(function(d){TP(a,d,l[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(l)):Rw(Object(l)).forEach(function(d){Object.defineProperty(a,d,Object.getOwnPropertyDescriptor(l,d))})}return a}function TP(a,u,l){return u=wP(u),u in a?Object.defineProperty(a,u,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[u]=l,a}function xP(a,u){if(typeof a!="object"||a===null)return a;var l=a[Symbol.toPrimitive];if(l!==void 0){var d=l.call(a,u||"default");if(typeof d!="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(a)}function wP(a){var u=xP(a,"string");return typeof u=="symbol"?u:String(u)}var Ow={activateTrap:function(u,l){if(u.length>0){var d=u[u.length-1];d!==l&&d.pause()}var g=u.indexOf(l);g===-1||u.splice(g,1),u.push(l)},deactivateTrap:function(u,l){var d=u.indexOf(l);d!==-1&&u.splice(d,1),u.length>0&&u[u.length-1].unpause()}},RP=function(u){return u.tagName&&u.tagName.toLowerCase()==="input"&&typeof u.select=="function"},kP=function(u){return(u==null?void 0:u.key)==="Escape"||(u==null?void 0:u.key)==="Esc"||(u==null?void 0:u.keyCode)===27},Kv=function(u){return(u==null?void 0:u.key)==="Tab"||(u==null?void 0:u.keyCode)===9},OP=function(u){return Kv(u)&&!u.shiftKey},DP=function(u){return Kv(u)&&u.shiftKey},Dw=function(u){return setTimeout(u,0)},Nw=function(u,l){var d=-1;return u.every(function(g,b){return l(g)?(d=b,!1):!0}),d},Bv=function(u){for(var l=arguments.length,d=new Array(l>1?l-1:0),g=1;g<l;g++)d[g-1]=arguments[g];return typeof u=="function"?u.apply(void 0,d):u},py=function(u){return u.target.shadowRoot&&typeof u.composedPath=="function"?u.composedPath()[0]:u.target},NP=[],LP=function(u,l){var d=(l==null?void 0:l.document)||document,g=(l==null?void 0:l.trapStack)||NP,b=kw({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:OP,isKeyBackward:DP},l),h={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},x,R=function(Y,W,ne){return Y&&Y[W]!==void 0?Y[W]:b[ne||W]},C=function(Y,W){var ne=typeof(W==null?void 0:W.composedPath)=="function"?W.composedPath():void 0;return h.containerGroups.findIndex(function(ze){var we=ze.container,Ve=ze.tabbableNodes;return we.contains(Y)||(ne==null?void 0:ne.includes(we))||Ve.find(function(ie){return ie===Y})})},D=function(Y){var W=b[Y];if(typeof W=="function"){for(var ne=arguments.length,ze=new Array(ne>1?ne-1:0),we=1;we<ne;we++)ze[we-1]=arguments[we];W=W.apply(void 0,ze)}if(W===!0&&(W=void 0),!W){if(W===void 0||W===!1)return W;throw new Error("`".concat(Y,"` was specified but was not a node, or did not return a node"))}var Ve=W;if(typeof W=="string"&&(Ve=d.querySelector(W),!Ve))throw new Error("`".concat(Y,"` as selector refers to no known node"));return Ve},O=function(){var Y=D("initialFocus");if(Y===!1)return!1;if(Y===void 0||!NE(Y,b.tabbableOptions))if(C(d.activeElement)>=0)Y=d.activeElement;else{var W=h.tabbableGroups[0],ne=W&&W.firstTabbableNode;Y=ne||D("fallbackFocus")}if(!Y)throw new Error("Your focus-trap needs to have at least one focusable element");return Y},_=function(){if(h.containerGroups=h.containers.map(function(Y){var W=bP(Y,b.tabbableOptions),ne=EP(Y,b.tabbableOptions),ze=W.length>0?W[0]:void 0,we=W.length>0?W[W.length-1]:void 0,Ve=ne.find(function(ce){return df(ce)}),ie=ne.slice().reverse().find(function(ce){return df(ce)}),Ce=!!W.find(function(ce){return tc(ce)>0});return{container:Y,tabbableNodes:W,focusableNodes:ne,posTabIndexesFound:Ce,firstTabbableNode:ze,lastTabbableNode:we,firstDomTabbableNode:Ve,lastDomTabbableNode:ie,nextTabbableNode:function(ot){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Vt=W.indexOf(ot);return Vt<0?mt?ne.slice(ne.indexOf(ot)+1).find(function(dn){return df(dn)}):ne.slice(0,ne.indexOf(ot)).reverse().find(function(dn){return df(dn)}):W[Vt+(mt?1:-1)]}}}),h.tabbableGroups=h.containerGroups.filter(function(Y){return Y.tabbableNodes.length>0}),h.tabbableGroups.length<=0&&!D("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(h.containerGroups.find(function(Y){return Y.posTabIndexesFound})&&h.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},A=function le(Y){var W=Y.activeElement;if(W)return W.shadowRoot&&W.shadowRoot.activeElement!==null?le(W.shadowRoot):W},N=function le(Y){if(Y!==!1&&Y!==A(document)){if(!Y||!Y.focus){le(O());return}Y.focus({preventScroll:!!b.preventScroll}),h.mostRecentlyFocusedNode=Y,RP(Y)&&Y.select()}},I=function(Y){var W=D("setReturnFocus",Y);return W||(W===!1?!1:Y)},K=function(Y){var W=Y.target,ne=Y.event,ze=Y.isBackward,we=ze===void 0?!1:ze;W=W||py(ne),_();var Ve=null;if(h.tabbableGroups.length>0){var ie=C(W,ne),Ce=ie>=0?h.containerGroups[ie]:void 0;if(ie<0)we?Ve=h.tabbableGroups[h.tabbableGroups.length-1].lastTabbableNode:Ve=h.tabbableGroups[0].firstTabbableNode;else if(we){var ce=Nw(h.tabbableGroups,function(fn){var zr=fn.firstTabbableNode;return W===zr});if(ce<0&&(Ce.container===W||NE(W,b.tabbableOptions)&&!df(W,b.tabbableOptions)&&!Ce.nextTabbableNode(W,!1))&&(ce=ie),ce>=0){var ot=ce===0?h.tabbableGroups.length-1:ce-1,mt=h.tabbableGroups[ot];Ve=tc(W)>=0?mt.lastTabbableNode:mt.lastDomTabbableNode}else Kv(ne)||(Ve=Ce.nextTabbableNode(W,!1))}else{var Vt=Nw(h.tabbableGroups,function(fn){var zr=fn.lastTabbableNode;return W===zr});if(Vt<0&&(Ce.container===W||NE(W,b.tabbableOptions)&&!df(W,b.tabbableOptions)&&!Ce.nextTabbableNode(W))&&(Vt=ie),Vt>=0){var dn=Vt===h.tabbableGroups.length-1?0:Vt+1,hi=h.tabbableGroups[dn];Ve=tc(W)>=0?hi.firstTabbableNode:hi.firstDomTabbableNode}else Kv(ne)||(Ve=Ce.nextTabbableNode(W))}}else Ve=D("fallbackFocus");return Ve},J=function(Y){var W=py(Y);if(!(C(W,Y)>=0)){if(Bv(b.clickOutsideDeactivates,Y)){x.deactivate({returnFocus:b.returnFocusOnDeactivate});return}Bv(b.allowOutsideClick,Y)||Y.preventDefault()}},Te=function(Y){var W=py(Y),ne=C(W,Y)>=0;if(ne||W instanceof Document)ne&&(h.mostRecentlyFocusedNode=W);else{Y.stopImmediatePropagation();var ze,we=!0;if(h.mostRecentlyFocusedNode)if(tc(h.mostRecentlyFocusedNode)>0){var Ve=C(h.mostRecentlyFocusedNode),ie=h.containerGroups[Ve].tabbableNodes;if(ie.length>0){var Ce=ie.findIndex(function(ce){return ce===h.mostRecentlyFocusedNode});Ce>=0&&(b.isKeyForward(h.recentNavEvent)?Ce+1<ie.length&&(ze=ie[Ce+1],we=!1):Ce-1>=0&&(ze=ie[Ce-1],we=!1))}}else h.containerGroups.some(function(ce){return ce.tabbableNodes.some(function(ot){return tc(ot)>0})})||(we=!1);else we=!1;we&&(ze=K({target:h.mostRecentlyFocusedNode,isBackward:b.isKeyBackward(h.recentNavEvent)})),N(ze||h.mostRecentlyFocusedNode||O())}h.recentNavEvent=void 0},pe=function(Y){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;h.recentNavEvent=Y;var ne=K({event:Y,isBackward:W});ne&&(Kv(Y)&&Y.preventDefault(),N(ne))},He=function(Y){if(kP(Y)&&Bv(b.escapeDeactivates,Y)!==!1){Y.preventDefault(),x.deactivate();return}(b.isKeyForward(Y)||b.isKeyBackward(Y))&&pe(Y,b.isKeyBackward(Y))},xe=function(Y){var W=py(Y);C(W,Y)>=0||Bv(b.clickOutsideDeactivates,Y)||Bv(b.allowOutsideClick,Y)||(Y.preventDefault(),Y.stopImmediatePropagation())},Ke=function(){if(h.active)return Ow.activateTrap(g,x),h.delayInitialFocusTimer=b.delayInitialFocus?Dw(function(){N(O())}):N(O()),d.addEventListener("focusin",Te,!0),d.addEventListener("mousedown",J,{capture:!0,passive:!1}),d.addEventListener("touchstart",J,{capture:!0,passive:!1}),d.addEventListener("click",xe,{capture:!0,passive:!1}),d.addEventListener("keydown",He,{capture:!0,passive:!1}),x},Ne=function(){if(h.active)return d.removeEventListener("focusin",Te,!0),d.removeEventListener("mousedown",J,!0),d.removeEventListener("touchstart",J,!0),d.removeEventListener("click",xe,!0),d.removeEventListener("keydown",He,!0),x},Et=function(Y){var W=Y.some(function(ne){var ze=Array.from(ne.removedNodes);return ze.some(function(we){return we===h.mostRecentlyFocusedNode})});W&&N(O())},Me=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Et):void 0,Se=function(){Me&&(Me.disconnect(),h.active&&!h.paused&&h.containers.map(function(Y){Me.observe(Y,{subtree:!0,childList:!0})}))};return x={get active(){return h.active},get paused(){return h.paused},activate:function(Y){if(h.active)return this;var W=R(Y,"onActivate"),ne=R(Y,"onPostActivate"),ze=R(Y,"checkCanFocusTrap");ze||_(),h.active=!0,h.paused=!1,h.nodeFocusedBeforeActivation=d.activeElement,W==null||W();var we=function(){ze&&_(),Ke(),Se(),ne==null||ne()};return ze?(ze(h.containers.concat()).then(we,we),this):(we(),this)},deactivate:function(Y){if(!h.active)return this;var W=kw({onDeactivate:b.onDeactivate,onPostDeactivate:b.onPostDeactivate,checkCanReturnFocus:b.checkCanReturnFocus},Y);clearTimeout(h.delayInitialFocusTimer),h.delayInitialFocusTimer=void 0,Ne(),h.active=!1,h.paused=!1,Se(),Ow.deactivateTrap(g,x);var ne=R(W,"onDeactivate"),ze=R(W,"onPostDeactivate"),we=R(W,"checkCanReturnFocus"),Ve=R(W,"returnFocus","returnFocusOnDeactivate");ne==null||ne();var ie=function(){Dw(function(){Ve&&N(I(h.nodeFocusedBeforeActivation)),ze==null||ze()})};return Ve&&we?(we(I(h.nodeFocusedBeforeActivation)).then(ie,ie),this):(ie(),this)},pause:function(Y){if(h.paused||!h.active)return this;var W=R(Y,"onPause"),ne=R(Y,"onPostPause");return h.paused=!0,W==null||W(),Ne(),Se(),ne==null||ne(),this},unpause:function(Y){if(!h.paused||!h.active)return this;var W=R(Y,"onUnpause"),ne=R(Y,"onPostUnpause");return h.paused=!1,W==null||W(),_(),Ke(),Se(),ne==null||ne(),this},updateContainerElements:function(Y){var W=[].concat(Y).filter(Boolean);return h.containers=W.map(function(ne){return typeof ne=="string"?d.querySelector(ne):ne}),h.active&&_(),Se(),this}},x.updateContainerElements(u),x},KR=yo("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger"),qs=KR.build(),Ft=oc({getPositionerId:a=>{var u;return((u=a.ids)==null?void 0:u.positioner)??`dialog:${a.id}:positioner`},getBackdropId:a=>{var u;return((u=a.ids)==null?void 0:u.backdrop)??`dialog:${a.id}:backdrop`},getContentId:a=>{var u;return((u=a.ids)==null?void 0:u.content)??`dialog:${a.id}:content`},getTriggerId:a=>{var u;return((u=a.ids)==null?void 0:u.trigger)??`dialog:${a.id}:trigger`},getTitleId:a=>{var u;return((u=a.ids)==null?void 0:u.title)??`dialog:${a.id}:title`},getDescriptionId:a=>{var u;return((u=a.ids)==null?void 0:u.description)??`dialog:${a.id}:description`},getCloseTriggerId:a=>{var u;return((u=a.ids)==null?void 0:u.closeTrigger)??`dialog:${a.id}:close`},getContentEl:a=>Ft.getById(a,Ft.getContentId(a)),getTriggerEl:a=>Ft.getById(a,Ft.getTriggerId(a)),getTitleEl:a=>Ft.getById(a,Ft.getTitleId(a)),getDescriptionEl:a=>Ft.getById(a,Ft.getDescriptionId(a))});function _P(a,u,l){const d=a.context["aria-label"],g=a.matches("open"),b=a.context.renderedElements;return{isOpen:g,open(){u("OPEN")},close(){u("CLOSE")},triggerProps:l.button({...qs.trigger.attrs,dir:a.context.dir,id:Ft.getTriggerId(a.context),"aria-haspopup":"dialog",type:"button","aria-expanded":g,"data-state":g?"open":"closed","aria-controls":Ft.getContentId(a.context),onClick(){u("TOGGLE")}}),backdropProps:l.element({...qs.backdrop.attrs,dir:a.context.dir,hidden:!g,id:Ft.getBackdropId(a.context),"data-state":g?"open":"closed"}),positionerProps:l.element({...qs.positioner.attrs,dir:a.context.dir,id:Ft.getPositionerId(a.context),style:{pointerEvents:g?void 0:"none"}}),contentProps:l.element({...qs.content.attrs,dir:a.context.dir,role:a.context.role,hidden:!g,id:Ft.getContentId(a.context),tabIndex:-1,"data-state":g?"open":"closed","aria-modal":!0,"aria-label":d||void 0,"aria-labelledby":d||!b.title?void 0:Ft.getTitleId(a.context),"aria-describedby":b.description?Ft.getDescriptionId(a.context):void 0}),titleProps:l.element({...qs.title.attrs,dir:a.context.dir,id:Ft.getTitleId(a.context)}),descriptionProps:l.element({...qs.description.attrs,dir:a.context.dir,id:Ft.getDescriptionId(a.context)}),closeTriggerProps:l.button({...qs.closeTrigger.attrs,dir:a.context.dir,id:Ft.getCloseTriggerId(a.context),type:"button",onClick(h){h.stopPropagation(),u("CLOSE")}})}}function AP(a){const u=vl(a);return Iu({id:"dialog",initial:u.open?"open":"closed",context:{role:"dialog",renderedElements:{title:!0,description:!0},modal:!0,trapFocus:!0,preventScroll:!0,closeOnInteractOutside:!0,closeOnEscapeKeyDown:!0,restoreFocus:!0,...u},watch:{open:["toggleVisibility"]},states:{open:{entry:["checkRenderedElements"],activities:["trackDismissableElement","trapFocus","preventScroll","hideContentBelow"],on:{"CONTROLLED.CLOSE":{target:"closed",actions:["restoreFocus"]},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose","restoreFocus"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose","restoreFocus"]}]}},closed:{on:{"CONTROLLED.OPEN":{target:"open"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}]}}}},{guards:{isOpenControlled:l=>!!l["open.controlled"]},activities:{trackDismissableElement(l,d,{send:g}){return VR(()=>Ft.getContentEl(l),{defer:!0,pointerBlocking:l.modal,exclude:[Ft.getTriggerEl(l)],onEscapeKeyDown(h){var x;l.closeOnEscapeKeyDown?g({type:"CLOSE",src:"escape-key"}):h.preventDefault(),(x=l.onEscapeKeyDown)==null||x.call(l,h)},onPointerDownOutside(h){var x;l.closeOnInteractOutside||h.preventDefault(),(x=l.onPointerDownOutside)==null||x.call(l,h)},onFocusOutside(h){var x;l.closeOnInteractOutside||h.preventDefault(),(x=l.onFocusOutside)==null||x.call(l,h)},onDismiss(){g({type:"CLOSE",src:"interact-outside"})}})},preventScroll(l){if(l.preventScroll)return aP(Ft.getDoc(l))},trapFocus(l){if(!l.trapFocus||!l.modal)return;let d;return IE(()=>{const g=Ft.getContentEl(l);if(g){d=LP(g,{document:Ft.getDoc(l),escapeDeactivates:!1,preventScroll:!0,returnFocusOnDeactivate:!1,fallbackFocus:g,allowOutsideClick:!0,initialFocus:PE(l.initialFocusEl)});try{d.activate()}catch{}}}),()=>d==null?void 0:d.deactivate()},hideContentBelow(l){return l.modal?HM(()=>[Ft.getContentEl(l)],{defer:!0}):void 0}},actions:{checkRenderedElements(l){Qn(()=>{l.renderedElements.title=!!Ft.getTitleEl(l),l.renderedElements.description=!!Ft.getDescriptionEl(l)})},invokeOnClose(l){var d;(d=l.onOpenChange)==null||d.call(l,{open:!1})},invokeOnOpen(l){var d;(d=l.onOpenChange)==null||d.call(l,{open:!0})},toggleVisibility(l,d,{send:g}){g({type:l.open?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:d})},restoreFocus(l){l.restoreFocus&&Qn(()=>{const d=PE(l.finalFocusEl)??Ft.getTriggerEl(l);d==null||d.focus({preventScroll:!0})})}}})}vi()(["aria-label","closeOnEscapeKeyDown","closeOnInteractOutside","dir","finalFocusEl","getRootNode","getRootNode","id","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","open.controlled","open","preventScroll","restoreFocus","role","trapFocus"]);const IP=(a={})=>{const u={id:se.useId(),getRootNode:uc(),...a,open:a.defaultOpen??a.open,"open.controlled":a.open!==void 0},l={...u,open:a.open,onOpenChange:pi(a.onOpenChange,{sync:!0}),onEscapeKeyDown:pi(a.onEscapeKeyDown),onInteractOutside:pi(a.onInteractOutside)},[d,g]=Mu(AP(u),{context:l});return _P(d,g,lc)},MP=a=>{const[u,{children:l,...d}]=FR(a),[g]=ZE(u),b=IP(d),h=zy(dt({present:b.isOpen},u)),x=yf(l,b);return Z.jsx(zM,{value:b,children:Z.jsx(XE,{value:g,children:Z.jsx(nC,{value:h,children:x})})})},QR=se.forwardRef((a,u)=>{const l=Sf(),d=dt(l.titleProps,a);return Z.jsx(pt.h2,{...d,ref:u})});QR.displayName="DialogTitle";const XR=se.forwardRef((a,u)=>{const l=Sf(),d=Jv(),g=dt({...l.triggerProps,"aria-controls":d.isUnmounted?void 0:l.triggerProps["aria-controls"]},a);return Z.jsx(pt.button,{...g,ref:u})});XR.displayName="DialogTrigger";const{withProvider:PP,withContext:hl}=Py(Dn.drawer),FP=PP(MP,void 0,{defaultProps:{unmountOnExit:!0,lazyMount:!0}}),zP=hl(rt.styled(pt.main),"body"),qR=hl(rt.styled(MR),"closeTrigger"),UP=hl(rt.styled(pt.footer),"footer"),ZR=se.forwardRef(({children:a,showCloseTrigger:u=!0,...l},d)=>Z.jsxs(pt.header,{...l,ref:d,children:[a,u&&Z.jsx(qR,{asChild:!0,children:Z.jsx(TR,{ml:"auto",p:"space-8",variant:"tertiary",children:Z.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Z.jsx("path",{d:"M12.6666 4.27331L11.7266 3.33331L7.99998 7.05998L4.27331 3.33331L3.33331 4.27331L7.05998 7.99998L3.33331 11.7266L4.27331 12.6666L7.99998 8.93998L11.7266 12.6666L12.6666 11.7266L8.93998 7.99998L12.6666 4.27331Z",fill:"currentColor"})})})})]}));ZR.displayName="DrawerHeader";const HP=hl(ZR,"header"),VP=hl(rt.styled(QR),"title"),jP=hl(rt.styled(XR),"trigger"),BP=hl(rt.styled(PR),"positioner"),$P=hl(rt.styled(IR),"backdrop"),JR=se.forwardRef(({children:a,...u},l)=>Z.jsxs(Vw.Portal,{children:[Z.jsx($P,{}),Z.jsx(BP,{children:Z.jsx(rC,{ref:l,...u,children:a})})]}));JR.displayName=rC.displayName;const GP=hl(rt.styled(JR),"content"),WP=rt.styled("div",Dn.formControl,{defaultProps:{role:"group"}}),YP=({isInvalid:a,isRequired:u,...l})=>{const d={...a?{"aria-invalid":!0}:{},...u?{"aria-required":!0}:{}};return Z.jsx(WP,{...d,...l})},KP=rt.styled("label",Dn.formLabel),QP=a=>{const[u,l]=Dn.formLabel.splitVariantProps(a),[d,g]=rt.splitCssProps(l),{children:b,className:h,addon:x,...R}=g,C=Dn.formLabel(u);return Z.jsxs(KP,{className:vf.cx(C.root,vf.css(d),h),...R,children:[b,x?Z.jsx(rt.styled.span,{className:C.addon,children:x}):null]})},XP=rt.styled("p",Dn.formHelperText,{dataAttr:!0}),qP=a=>{const{as:u="h2",...l}=a,d=se.useMemo(()=>rt.styled(u,Dn.heading),[u]);return Z.jsx(d,{size:u,...l})},[ZP,lC]=ra({name:"SwitchContext",hookName:"useSwitchContext",providerName:"<SwitchProvider />"}),ek=se.forwardRef((a,u)=>{const l=lC(),d=dt(l.controlProps,a);return Z.jsxs(Z.Fragment,{children:[Z.jsx(pt.span,{...d,ref:u}),Z.jsx("input",{...l.hiddenInputProps})]})});ek.displayName="SwitchControl";const tk=se.forwardRef((a,u)=>{const l=lC(),d=dt(l.labelProps,a);return Z.jsx(pt.span,{...d,ref:u})});tk.displayName="SwitchLabel";var nk=yo("switch").parts("root","label","control","thumb"),vy=nk.build(),Ai=oc({getRootId:a=>{var u;return((u=a.ids)==null?void 0:u.root)??`switch:${a.id}`},getLabelId:a=>{var u;return((u=a.ids)==null?void 0:u.label)??`switch:${a.id}:label`},getThumbId:a=>{var u;return((u=a.ids)==null?void 0:u.thumb)??`switch:${a.id}:thumb`},getControlId:a=>{var u;return((u=a.ids)==null?void 0:u.control)??`switch:${a.id}:control`},getHiddenInputId:a=>{var u;return((u=a.ids)==null?void 0:u.input)??`switch:${a.id}:input`},getHiddenInputEl:a=>Ai.getById(a,Ai.getHiddenInputId(a))});function JP(a,u,l){const d=a.context.isDisabled,g=!d&&a.context.focused,b=a.context.checked,h={"data-active":nt(a.context.active),"data-focus":nt(g),"data-hover":nt(a.context.hovered),"data-disabled":nt(d),"data-state":a.context.checked?"checked":"unchecked","data-invalid":nt(a.context.invalid)};return{isChecked:b,isDisabled:d,isFocused:g,setChecked(x){u({type:"CHECKED.SET",checked:x,isTrusted:!1})},toggleChecked(){u({type:"CHECKED.TOGGLE",checked:b,isTrusted:!1})},rootProps:l.label({...vy.root.attrs,...h,dir:a.context.dir,id:Ai.getRootId(a.context),htmlFor:Ai.getHiddenInputId(a.context),onPointerMove(){d||u({type:"CONTEXT.SET",context:{hovered:!0}})},onPointerLeave(){d||u({type:"CONTEXT.SET",context:{hovered:!1}})},onPointerDown(x){d||(g&&x.preventDefault(),u({type:"CONTEXT.SET",context:{active:!0}}))},onPointerUp(){d||u({type:"CONTEXT.SET",context:{active:!1}})},onClick(x){x.target===Ai.getHiddenInputEl(a.context)&&x.stopPropagation()}}),labelProps:l.element({...vy.label.attrs,...h,dir:a.context.dir,id:Ai.getLabelId(a.context)}),thumbProps:l.element({...vy.thumb.attrs,...h,dir:a.context.dir,id:Ai.getThumbId(a.context),"aria-hidden":!0}),controlProps:l.element({...vy.control.attrs,...h,dir:a.context.dir,id:Ai.getControlId(a.context),"aria-hidden":!0}),hiddenInputProps:l.input({id:Ai.getHiddenInputId(a.context),type:"checkbox",required:a.context.required,defaultChecked:b,disabled:d,"aria-labelledby":Ai.getLabelId(a.context),"aria-invalid":a.context.invalid,name:a.context.name,form:a.context.form,value:a.context.value,style:eC,onChange(x){const R=x.currentTarget.checked;u({type:"CHECKED.SET",checked:R,isTrusted:!0})},onBlur(){u({type:"CONTEXT.SET",context:{focused:!1}})},onFocus(){u({type:"CONTEXT.SET",context:{focused:!0}})},onKeyDown(x){x.key===" "&&u({type:"CONTEXT.SET",context:{active:!0}})},onKeyUp(x){x.key===" "&&u({type:"CONTEXT.SET",context:{active:!1}})}})}}var{not:Lw}=gf;function e3(a){const u=vl(a);return Iu({id:"switch",initial:"ready",context:{checked:!1,label:"switch",value:"on",disabled:!1,...u,fieldsetDisabled:!1},computed:{isDisabled:l=>l.disabled||l.fieldsetDisabled},watch:{disabled:"removeFocusIfNeeded",checked:"syncInputElement"},activities:["trackFormControlState"],on:{"CHECKED.TOGGLE":[{guard:Lw("isTrusted"),actions:["toggleChecked","dispatchChangeEvent"]},{actions:["toggleChecked"]}],"CHECKED.SET":[{guard:Lw("isTrusted"),actions:["setChecked","dispatchChangeEvent"]},{actions:["setChecked"]}],"CONTEXT.SET":{actions:["setContext"]}},states:{ready:{}}},{guards:{isTrusted:(l,d)=>!!d.isTrusted},activities:{trackFormControlState(l,d,{send:g,initialContext:b}){return tC(Ai.getHiddenInputEl(l),{onFieldsetDisabledChange(h){l.fieldsetDisabled=h},onFormReset(){g({type:"CHECKED.SET",checked:!!b.checked,src:"form-reset"})}})}},actions:{setContext(l,d){Object.assign(l,d.context)},syncInputElement(l){const d=Ai.getHiddenInputEl(l);d&&(d.checked=!!l.checked)},removeFocusIfNeeded(l){l.disabled&&l.focused&&(l.focused=!1)},setChecked(l,d){_w.checked(l,d.checked)},toggleChecked(l,d){_w.checked(l,!l.checked)},dispatchChangeEvent(l){const d=Ai.getHiddenInputEl(l);NR(d,{checked:l.checked})}}})}var t3={change:a=>{var u;(u=a.onCheckedChange)==null||u.call(a,{checked:a.checked})}},_w={checked:(a,u)=>{So(a.checked,u)||(a.checked=u,t3.change(a))}};vi()(["checked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","required","value"]);const n3=a=>{const u={id:se.useId(),getRootNode:uc(),...a,checked:a.defaultChecked},l={...u,checked:a.checked,onCheckedChange:pi(a.onCheckedChange,{sync:!0})},[d,g]=Mu(e3(u),{context:l});return JP(d,g,lc)},rk=se.forwardRef((a,u)=>{const[l,{children:d,...g}]=ia()(a,["checked","defaultChecked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","required","value"]),b=n3(l),h=dt(b.rootProps,g),x=yf(d,b);return Z.jsx(ZP,{value:b,children:Z.jsx(pt.label,{...h,ref:u,children:x})})});rk.displayName="SwitchRoot";const ik=se.forwardRef((a,u)=>{const l=lC(),d=dt(l.thumbProps,a);return Z.jsx(pt.span,{...d,ref:u})});ik.displayName="SwitchThumb";const ak=se.forwardRef((a,u)=>{const[l,d]=Dn.switchRecipe.splitVariantProps(a),[g,b]=rt.splitCssProps(d),{children:h,className:x,...R}=b,C=Dn.switchRecipe(l);return Z.jsxs(rk,{ref:u,className:vf.cx(C.root,vf.css(g),x),...R,children:[Z.jsx(ek,{className:C.control,children:Z.jsx(ik,{className:C.thumb})}),h?Z.jsx(tk,{className:C.label,children:h}):null]})});ak.displayName="Switch";const ok=a=>{const{as:u="p",...l}=a,d=se.useMemo(()=>rt.styled(u,Dn.text),[u]);return Z.jsx(d,{...l})},r3=rt.styled(pt.textarea,Dn.textarea);var jE,Js=new Map,i3=a=>a.getBoundingClientRect();function a3(a,u){const{scope:l="rect",getRect:d=i3,onChange:g}=u,b=o3({scope:l,getRect:d}),h=Js.get(a);return h?(h.callbacks.push(g),g(d(a))):(Js.set(a,{rect:{},callbacks:[g]}),Js.size===1&&(jE=requestAnimationFrame(b))),function(){const R=Js.get(a);if(!R)return;const C=R.callbacks.indexOf(g);C>-1&&R.callbacks.splice(C,1),R.callbacks.length===0&&(Js.delete(a),Js.size===0&&cancelAnimationFrame(jE))}}function o3(a){const{scope:u,getRect:l}=a,d=u3(u);return function g(){const b=[];Js.forEach((h,x)=>{const R=l(x);d(h.rect,R)||(h.rect=R,b.push(h))}),b.forEach(h=>{h.callbacks.forEach(x=>x(h.rect))}),jE=requestAnimationFrame(g)}}var lk=(a,u)=>a.width===u.width&&a.height===u.height,uk=(a,u)=>a.top===u.top&&a.left===u.left,l3=(a,u)=>lk(a,u)&&uk(a,u);function u3(a){return a==="size"?lk:a==="position"?uk:l3}var sk=yo("tabs").parts("root","list","trigger","content","indicator"),$v=sk.build(),it=oc({getRootId:a=>{var u;return((u=a.ids)==null?void 0:u.root)??`tabs:${a.id}`},getTablistId:a=>{var u;return((u=a.ids)==null?void 0:u.tablist)??`tabs:${a.id}:list`},getContentId:(a,u)=>{var l;return((l=a.ids)==null?void 0:l.content)??`tabs:${a.id}:content-${u}`},getTriggerId:(a,u)=>{var l;return((l=a.ids)==null?void 0:l.trigger)??`tabs:${a.id}:trigger-${u}`},getIndicatorId:a=>{var u;return((u=a.ids)==null?void 0:u.indicator)??`tabs:${a.id}:indicator`},getTablistEl:a=>it.getById(a,it.getTablistId(a)),getContentEl:(a,u)=>it.getById(a,it.getContentId(a,u)),getTriggerEl:(a,u)=>it.getById(a,it.getTriggerId(a,u)),getIndicatorEl:a=>it.getById(a,it.getIndicatorId(a)),getElements:a=>{const l=`[role=tab][data-ownedby='${CSS.escape(it.getTablistId(a))}']:not([disabled])`;return Xw(it.getTablistEl(a),l)},getFirstEl:a=>qw(it.getElements(a)),getLastEl:a=>Zw(it.getElements(a)),getNextEl:(a,u)=>Gw(it.getElements(a),it.getTriggerId(a,u),a.loop),getPrevEl:(a,u)=>Ww(it.getElements(a),it.getTriggerId(a,u),a.loop),getActiveContentEl:a=>{if(a.value)return it.getContentEl(a,a.value)},getActiveTabEl:a=>{if(a.value)return it.getTriggerEl(a,a.value)},getOffsetRect:a=>({left:(a==null?void 0:a.offsetLeft)??0,top:(a==null?void 0:a.offsetTop)??0,width:(a==null?void 0:a.offsetWidth)??0,height:(a==null?void 0:a.offsetHeight)??0}),getRectById:(a,u)=>{const l=$w(it.getElements(a),it.getTriggerId(a,u));return it.resolveRect(it.getOffsetRect(l))},resolveRect:a=>({width:`${a.width}px`,height:`${a.height}px`,left:`${a.left}px`,top:`${a.top}px`})});function s3(a,u,l){var h,x,R,C;const d=a.context.translations,g=a.matches("focused");function b(D){return{isSelected:a.context.value===D.value,isFocused:a.context.focusedValue===D.value,isDisabled:!!D.disabled}}return{value:a.context.value,focusedValue:a.context.focusedValue,setValue(D){u({type:"SET_VALUE",value:D})},clearValue(){u({type:"CLEAR_VALUE"})},setIndicatorRect(D){const O=it.getTriggerId(a.context,D);u({type:"SET_INDICATOR_RECT",id:O})},getTriggerState:b,rootProps:l.element({...$v.root.attrs,id:it.getRootId(a.context),"data-orientation":a.context.orientation,"data-focus":nt(g),dir:a.context.dir}),tablistProps:l.element({...$v.list.attrs,id:it.getTablistId(a.context),role:"tablist",dir:a.context.dir,"data-focus":nt(g),"aria-orientation":a.context.orientation,"data-orientation":a.context.orientation,"aria-label":d.tablistLabel,onKeyDown(D){if(!Bw(D))return;const O={ArrowDown(){u("ARROW_DOWN")},ArrowUp(){u("ARROW_UP")},ArrowLeft(){u("ARROW_LEFT")},ArrowRight(){u("ARROW_RIGHT")},Home(){u("HOME")},End(){u("END")},Enter(){u({type:"ENTER",value:a.context.focusedValue})}};let _=Cy(D,a.context);const A=O[_];A&&(D.preventDefault(),A(D))}}),getTriggerProps(D){const{value:O,disabled:_}=D,A=b(D);return l.button({...$v.trigger.attrs,role:"tab",type:"button",disabled:_,dir:a.context.dir,"data-orientation":a.context.orientation,"data-disabled":nt(_),"aria-disabled":_,"data-value":O,"aria-selected":A.isSelected,"data-selected":nt(A.isSelected),"data-focus":nt(A.isFocused),"aria-controls":it.getContentId(a.context,O),"data-ownedby":it.getTablistId(a.context),id:it.getTriggerId(a.context,O),tabIndex:A.isSelected?0:-1,onFocus(){u({type:"TAB_FOCUS",value:O})},onBlur(N){const I=N.relatedTarget;(I==null?void 0:I.getAttribute("role"))!=="tab"&&u({type:"TAB_BLUR"})},onClick(N){_||(Qw()&&N.currentTarget.focus(),u({type:"TAB_CLICK",value:O}))}})},getContentProps(D){const{value:O}=D,_=a.context.value===O;return l.element({...$v.content.attrs,dir:a.context.dir,id:it.getContentId(a.context,O),tabIndex:0,"aria-labelledby":it.getTriggerId(a.context,O),role:"tabpanel","data-ownedby":it.getTablistId(a.context),"data-selected":nt(_),"data-orientation":a.context.orientation,hidden:!_})},indicatorProps:l.element({id:it.getIndicatorId(a.context),...$v.indicator.attrs,dir:a.context.dir,"data-orientation":a.context.orientation,style:{"--transition-property":"left, right, top, bottom, width, height","--left":(h=a.context.indicatorRect)==null?void 0:h.left,"--top":(x=a.context.indicatorRect)==null?void 0:x.top,"--width":(R=a.context.indicatorRect)==null?void 0:R.width,"--height":(C=a.context.indicatorRect)==null?void 0:C.height,position:"absolute",willChange:"var(--transition-property)",transitionProperty:"var(--transition-property)",transitionDuration:a.context.canIndicatorTransition?"var(--transition-duration, 150ms)":"0ms",transitionTimingFunction:"var(--transition-timing-function)",[a.context.orientation==="horizontal"?"left":"top"]:a.context.orientation==="horizontal"?"var(--left)":"var(--top)"}})}}var{not:c3}=gf;function d3(a){const u=vl(a);return Iu({initial:"idle",context:{dir:"ltr",orientation:"horizontal",activationMode:"automatic",value:null,focusedValue:null,indicatorRect:{left:"0px",top:"0px",width:"0px",height:"0px"},canIndicatorTransition:!1,isIndicatorRendered:!1,loop:!0,translations:{},...u},computed:{isHorizontal:l=>l.orientation==="horizontal",isVertical:l=>l.orientation==="vertical"},entry:["checkRenderedElements","syncIndicatorRect","setContentTabIndex"],exit:["cleanupObserver"],watch:{value:["enableIndicatorTransition","syncIndicatorRect","setContentTabIndex"],dir:["syncIndicatorRect"],orientation:["syncIndicatorRect"]},on:{SET_VALUE:{actions:"setValue"},CLEAR_VALUE:{actions:"clearValue"},SET_INDICATOR_RECT:{actions:"setIndicatorRect"}},states:{idle:{on:{TAB_FOCUS:[{guard:"selectOnFocus",target:"focused",actions:["setFocusedValue","setValue"]},{target:"focused",actions:"setFocusedValue"}],TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]}}},focused:{on:{TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]},ARROW_LEFT:{guard:"isHorizontal",actions:"focusPrevTab"},ARROW_RIGHT:{guard:"isHorizontal",actions:"focusNextTab"},ARROW_UP:{guard:"isVertical",actions:"focusPrevTab"},ARROW_DOWN:{guard:"isVertical",actions:"focusNextTab"},HOME:{actions:"focusFirstTab"},END:{actions:"focusLastTab"},ENTER:{guard:c3("selectOnFocus"),actions:"setValue"},TAB_FOCUS:[{guard:"selectOnFocus",actions:["setFocusedValue","setValue"]},{actions:"setFocusedValue"}],TAB_BLUR:{target:"idle",actions:"clearFocusedValue"}}}}},{guards:{isVertical:l=>l.isVertical,isHorizontal:l=>l.isHorizontal,selectOnFocus:l=>l.activationMode==="automatic"},actions:{setFocusedValue(l,d){hy.focusedValue(l,d.value)},clearFocusedValue(l){hy.focusedValue(l,null)},setValue(l,d){hy.value(l,d.value)},clearValue(l){hy.value(l,null)},focusFirstTab(l){Qn(()=>{var d;return(d=it.getFirstEl(l))==null?void 0:d.focus()})},focusLastTab(l){Qn(()=>{var d;return(d=it.getLastEl(l))==null?void 0:d.focus()})},focusNextTab(l){if(!l.focusedValue)return;const d=it.getNextEl(l,l.focusedValue);Qn(()=>d==null?void 0:d.focus())},focusPrevTab(l){if(!l.focusedValue)return;const d=it.getPrevEl(l,l.focusedValue);Qn(()=>d==null?void 0:d.focus())},checkRenderedElements(l){l.isIndicatorRendered=!!it.getIndicatorEl(l)},setContentTabIndex(l){Qn(()=>{const d=it.getActiveContentEl(l);if(!d)return;UR(d).length>0?d.removeAttribute("tabindex"):d.setAttribute("tabindex","0")})},cleanupObserver(l){var d;(d=l.indicatorCleanup)==null||d.call(l)},enableIndicatorTransition(l){l.canIndicatorTransition=!0},setIndicatorRect(l,d){const g=d.id??l.value;!l.isIndicatorRendered||!g||!it.getTriggerEl(l,g)||(l.indicatorRect=it.getRectById(l,g),IE(()=>{l.canIndicatorTransition=!1}))},syncIndicatorRect(l){var b;(b=l.indicatorCleanup)==null||b.call(l);const d=l.value;if(!l.isIndicatorRendered||!d)return;const g=it.getActiveTabEl(l);g&&(l.indicatorCleanup=a3(g,{getRect(h){return it.getOffsetRect(h)},onChange(h){l.indicatorRect=it.resolveRect(h),IE(()=>{l.canIndicatorTransition=!1})}}))}}})}var Aw={change:a=>{var u;a.value!=null&&((u=a.onValueChange)==null||u.call(a,{value:a.value}))},focusChange:a=>{var u;a.focusedValue!=null&&((u=a.onFocusChange)==null||u.call(a,{focusedValue:a.focusedValue}))}},hy={value:(a,u)=>{So(u,a.value)||(a.value=u,Aw.change(a))},focusedValue:(a,u)=>{So(u,a.focusedValue)||(a.focusedValue=u,Aw.focusChange(a))}};vi()(["activationMode","dir","getRootNode","id","ids","loop","onFocusChange","onValueChange","orientation","translations","value"]);vi()(["disabled","value"]);vi()(["value"]);const[f3,Uy]=ra({name:"TabsContext",hookName:"useTabsContext",providerName:"<TabsProvider />"}),ck=se.forwardRef((a,u)=>{const[l,d]=ia()(a,["value"]),g=Uy(),b=qE(),h=zy({...b,present:g.value===a.value}),x=dt(g.getContentProps(l),h.getPresenceProps(u),d);return Z.jsx(nC,{value:h,children:h.isUnmounted?null:Z.jsx(pt.div,{...x})})});ck.displayName="TabContent";const dk=se.forwardRef((a,u)=>{const l=Uy(),d=dt(l.indicatorProps,a);return Z.jsx(pt.div,{...d,ref:u})});dk.displayName="TabIndicator";const uC=se.forwardRef((a,u)=>{const l=Uy(),d=dt(l.tablistProps,a);return Z.jsx(pt.div,{...d,ref:u})});uC.displayName="TabList";const fk=se.forwardRef((a,u)=>{const[l,d]=ia()(a,["disabled","value"]),g=Uy(),b=dt(g.getTriggerProps(l),d);return Z.jsx(pt.button,{...b,ref:u})});fk.displayName="TabTrigger";const p3=a=>{const u={id:se.useId(),getRootNode:uc(),...a,value:a.defaultValue},l={...u,value:a.value,onValueChange:pi(a.onValueChange,{sync:!0}),onFocusChange:pi(a.onFocusChange)},[d,g]=Mu(d3(u),{context:l});return s3(d,g,lc)},pk=se.forwardRef((a,u)=>{const[l,d]=ZE(a),[g,b]=ia()(d,["activationMode","defaultValue","dir","getRootNode","id","ids","loop","onFocusChange","onValueChange","orientation","translations","value"]),h=p3(g),x=dt(h.rootProps,b);return Z.jsx(f3,{value:h,children:Z.jsx(XE,{value:l,children:Z.jsx(pt.div,{...x,ref:u})})})});pk.displayName="TabsRoot";const{withProvider:v3,withContext:Hy}=Py(Dn.tabs),h3=v3(rt.styled(pk),"root",{defaultProps:{lazyMount:!0}}),m3=Hy(rt.styled(ck),"content"),g3=Hy(rt.styled(fk),"trigger"),y3=Hy(rt.styled(dk),"indicator"),vk=se.forwardRef(({children:a,...u},l)=>Z.jsxs(uC,{ref:l,...u,children:[a,Z.jsx(y3,{})]}));vk.displayName=uC.displayName;const S3=Hy(rt.styled(vk),"list"),[b3,Eo]=ra({name:"SelectContext",hookName:"useSelectContext",providerName:"<SelectProvider />"}),hk=se.forwardRef((a,u)=>{const l=Eo(),d=dt(l.clearTriggerProps,a);return Z.jsx(pt.button,{...d,ref:u})});hk.displayName="SelectClearTrigger";const mk=se.forwardRef((a,u)=>{const l=Eo(),d=Jv(),g=dt(l.contentProps,d.getPresenceProps(u),a);return d.isUnmounted?null:Z.jsx(pt.div,{...g})});mk.displayName="SelectContent";const gk=se.forwardRef((a,u)=>{const l=Eo(),d=dt(l.controlProps,a),g=l.value.length===0;return Z.jsxs(Z.Fragment,{children:[Z.jsx(pt.div,{...d,ref:u}),Z.jsxs("select",{...l.hiddenSelectProps,children:[g&&Z.jsx("option",{value:""}),l.collection.toArray().map(b=>Z.jsx("option",{value:b.value,children:b.label},b.value))]})]})});gk.displayName="SelectControl";const yk=se.forwardRef((a,u)=>{const l=Eo(),d=dt(l.indicatorProps,a);return Z.jsx(pt.div,{...d,ref:u})});yk.displayName="SelectIndicator";const[E3,Sk]=ra({name:"SelectItemContext",hookName:"useSelectItemContext",providerName:"<SelectItemProvider />"}),bk=se.forwardRef((a,u)=>{const[l,{children:d,...g}]=ia()(a,["item"]),b=Eo(),h=dt(b.getItemProps(l),g),x=b.getItemState(l),R=yf(d,x);return Z.jsx(E3,{value:l,children:Z.jsx(pt.div,{...h,ref:u,children:R})})});bk.displayName="SelectItem";const Ek=se.forwardRef((a,u)=>{const l=Eo(),d=Sk(),g=dt(l.getItemIndicatorProps(d),a);return Z.jsx(pt.div,{...g,ref:u})});Ek.displayName="SelectItemIndicator";const Ck=se.forwardRef((a,u)=>{const l=Eo(),d=Sk(),g=dt(l.getItemTextProps(d),a);return Z.jsx(pt.span,{...g,ref:u})});Ck.displayName="SelectItemText";const Tk=se.forwardRef((a,u)=>{const l=Eo(),d=dt(l.positionerProps,a);return Jv().isUnmounted?null:Z.jsx(pt.div,{...d,ref:u})});Tk.displayName="SelectPositioner";var C3=Object.defineProperty,T3=(a,u,l)=>u in a?C3(a,u,{enumerable:!0,configurable:!0,writable:!0,value:l}):a[u]=l,Dt=(a,u,l)=>(T3(a,typeof u!="symbol"?u+"":u,l),l);function x3(a){let u,l,d=2166136261;for(u=0,l=a.length;u<l;u++)d^=a.charCodeAt(u),d+=(d<<1)+(d<<4)+(d<<7)+(d<<8)+(d<<24);return`00000${(d>>>0).toString(36)}`.slice(-6)}var LE=a=>typeof a=="object"&&a!==null&&!Array.isArray(a),_E=(a,u)=>Object.prototype.hasOwnProperty.call(a,u),by={itemToValue(a){return typeof a=="string"?a:LE(a)&&_E(a,"value")?a.value:""},itemToString(a){return typeof a=="string"?a:LE(a)&&_E(a,"label")?a.label:by.itemToValue(a)},itemToDisabled(a){return LE(a)&&_E(a,"disabled")?!!a.disabled:!1}},xk=class{constructor(a){this.options=a,Dt(this,"nodes",new Map),Dt(this,"disabledValues",new Set),Dt(this,"_firstValue",null),Dt(this,"_lastValue",null),Dt(this,"hash",""),Dt(this,"isEqual",u=>this.hash===u.hash),Dt(this,"iterate",()=>{const{items:u}=this.options,l=new Set;for(let d=0;d<u.length;d++){const g=u[d],b=this.itemToValue(g),h=this.itemToString(g),x=this.itemToDisabled(g);l.add(b);const R={item:Object.freeze(g),index:d,label:h,value:b,previousValue:this.itemToValue(u[d-1])??null,nextValue:this.itemToValue(u[d+1])??null};this.nodes.set(b,R),x&&this.disabledValues.add(b),d===0&&(this._firstValue=b),d===u.length-1&&(this._lastValue=b)}return this.hash=x3(Array.from(l).join("")),this}),Dt(this,"setItems",u=>(this.options.items=u,this.iterate())),Dt(this,"item",u=>{var l;return u===null?null:((l=this.nodes.get(u))==null?void 0:l.item)??null}),Dt(this,"items",u=>u.map(l=>this.item(l)).filter(Boolean)),Dt(this,"at",u=>{for(const l of this.nodes.values())if(l.index===u)return l.item;return null}),Dt(this,"sortFn",(u,l)=>{const d=this.nodes.get(u),g=this.nodes.get(l);return((d==null?void 0:d.index)??0)-((g==null?void 0:g.index)??0)}),Dt(this,"sort",u=>u.sort(this.sortFn)),Dt(this,"itemToValue",u=>{var l,d;return u?((d=(l=this.options).itemToValue)==null?void 0:d.call(l,u))??by.itemToValue(u):""}),Dt(this,"itemToString",u=>{var l,d;return u?((d=(l=this.options).itemToString)==null?void 0:d.call(l,u))??by.itemToString(u):""}),Dt(this,"itemToDisabled",u=>{var l,d;return u?((d=(l=this.options).isItemDisabled)==null?void 0:d.call(l,u))??by.itemToDisabled(u):!1}),Dt(this,"valueToString",u=>{var l;return u==null?"":((l=this.nodes.get(u))==null?void 0:l.label)??""}),Dt(this,"itemsToString",(u,l=", ")=>u.map(d=>this.itemToString(d)).filter(Boolean).join(l)),Dt(this,"has",u=>u==null?!1:this.nodes.has(u)),Dt(this,"count",()=>this.nodes.size),Dt(this,"first",()=>{let u=this._firstValue;for(;u!=null;){let l=this.nodes.get(u);if(l!=null&&!this.disabledValues.has(l.value))return u;u=(l==null?void 0:l.nextValue)??null}return null}),Dt(this,"last",()=>{let u=this._lastValue;for(;u!=null;){let l=this.nodes.get(u);if(l!=null&&!this.disabledValues.has(l.value))return u;u=(l==null?void 0:l.previousValue)??null}return null}),Dt(this,"next",u=>{if(u==null)return null;const l=this.nodes.get(u);let d=(l==null?void 0:l.nextValue)??null;for(;d!=null;){let g=this.nodes.get(d);if(g!=null&&!this.disabledValues.has(g.value))return d;d=(g==null?void 0:g.nextValue)??null}return null}),Dt(this,"prev",u=>{if(u==null)return null;const l=this.nodes.get(u);let d=(l==null?void 0:l.previousValue)??null;for(;d!=null;){let g=this.nodes.get(d);if(g!=null&&!this.disabledValues.has(g.value))return d;d=(g==null?void 0:g.previousValue)??null}return null}),Dt(this,"isItemDisabled",u=>this.disabledValues.has(this.itemToValue(u))),Dt(this,"toArray",()=>Array.from(this.nodes.values())),Dt(this,"indexOf",u=>{var l;return u==null?-1:((l=this.nodes.get(u))==null?void 0:l.index)??-1}),Dt(this,"getByText",(u,l)=>{const d=this.indexOf(l);let g=l!=null?R3(this.toArray(),d):this.toArray();return u.length===1&&(g=g.filter(h=>h.value!==l)),g.find(h=>w3(h.label,u))}),Dt(this,"search",(u,l)=>{var _;const{state:d,currentValue:g,timeout:b=350}=l,h=d.keysSoFar+u,R=h.length>1&&Array.from(h).every(A=>A===h[0])?h[0]:h,C=((_=this.getByText(R,g))==null?void 0:_.value)??null;function D(){clearTimeout(d.timer),d.timer=-1}function O(A){d.keysSoFar=A,D(),A!==""&&(d.timer=+setTimeout(()=>{O(""),D()},b))}return O(h),C}),Dt(this,"toJSON",()=>({size:this.count(),first:this.first(),last:this.last()})),this.iterate()}},w3=(a,u)=>a.toLowerCase().startsWith(u.toLowerCase()),R3=(a,u)=>a.map((l,d)=>a[(Math.max(u,0)+d)%a.length]);const Nu=Math.min,Ii=Math.max,Ly=Math.round,my=Math.floor,Lu=a=>({x:a,y:a}),k3={left:"right",right:"left",bottom:"top",top:"bottom"},O3={start:"end",end:"start"};function BE(a,u,l){return Ii(a,Nu(u,l))}function bf(a,u){return typeof a=="function"?a(u):a}function _u(a){return a.split("-")[0]}function Ef(a){return a.split("-")[1]}function wk(a){return a==="x"?"y":"x"}function sC(a){return a==="y"?"height":"width"}function eh(a){return["top","bottom"].includes(_u(a))?"y":"x"}function cC(a){return wk(eh(a))}function D3(a,u,l){l===void 0&&(l=!1);const d=Ef(a),g=cC(a),b=sC(g);let h=g==="x"?d===(l?"end":"start")?"right":"left":d==="start"?"bottom":"top";return u.reference[b]>u.floating[b]&&(h=_y(h)),[h,_y(h)]}function N3(a){const u=_y(a);return[$E(a),u,$E(u)]}function $E(a){return a.replace(/start|end/g,u=>O3[u])}function L3(a,u,l){const d=["left","right"],g=["right","left"],b=["top","bottom"],h=["bottom","top"];switch(a){case"top":case"bottom":return l?u?g:d:u?d:g;case"left":case"right":return u?b:h;default:return[]}}function _3(a,u,l,d){const g=Ef(a);let b=L3(_u(a),l==="start",d);return g&&(b=b.map(h=>h+"-"+g),u&&(b=b.concat(b.map($E)))),b}function _y(a){return a.replace(/left|right|bottom|top/g,u=>k3[u])}function A3(a){return{top:0,right:0,bottom:0,left:0,...a}}function Rk(a){return typeof a!="number"?A3(a):{top:a,right:a,bottom:a,left:a}}function Ay(a){const{x:u,y:l,width:d,height:g}=a;return{width:d,height:g,top:l,left:u,right:u+d,bottom:l+g,x:u,y:l}}function Iw(a,u,l){let{reference:d,floating:g}=a;const b=eh(u),h=cC(u),x=sC(h),R=_u(u),C=b==="y",D=d.x+d.width/2-g.width/2,O=d.y+d.height/2-g.height/2,_=d[x]/2-g[x]/2;let A;switch(R){case"top":A={x:D,y:d.y-g.height};break;case"bottom":A={x:D,y:d.y+d.height};break;case"right":A={x:d.x+d.width,y:O};break;case"left":A={x:d.x-g.width,y:O};break;default:A={x:d.x,y:d.y}}switch(Ef(u)){case"start":A[h]-=_*(l&&C?-1:1);break;case"end":A[h]+=_*(l&&C?-1:1);break}return A}const I3=async(a,u,l)=>{const{placement:d="bottom",strategy:g="absolute",middleware:b=[],platform:h}=l,x=b.filter(Boolean),R=await(h.isRTL==null?void 0:h.isRTL(u));let C=await h.getElementRects({reference:a,floating:u,strategy:g}),{x:D,y:O}=Iw(C,d,R),_=d,A={},N=0;for(let I=0;I<x.length;I++){const{name:K,fn:J}=x[I],{x:Te,y:pe,data:He,reset:xe}=await J({x:D,y:O,initialPlacement:d,placement:_,strategy:g,middlewareData:A,rects:C,platform:h,elements:{reference:a,floating:u}});D=Te??D,O=pe??O,A={...A,[K]:{...A[K],...He}},xe&&N<=50&&(N++,typeof xe=="object"&&(xe.placement&&(_=xe.placement),xe.rects&&(C=xe.rects===!0?await h.getElementRects({reference:a,floating:u,strategy:g}):xe.rects),{x:D,y:O}=Iw(C,_,R)),I=-1)}return{x:D,y:O,placement:_,strategy:g,middlewareData:A}};async function dC(a,u){var l;u===void 0&&(u={});const{x:d,y:g,platform:b,rects:h,elements:x,strategy:R}=a,{boundary:C="clippingAncestors",rootBoundary:D="viewport",elementContext:O="floating",altBoundary:_=!1,padding:A=0}=bf(u,a),N=Rk(A),K=x[_?O==="floating"?"reference":"floating":O],J=Ay(await b.getClippingRect({element:(l=await(b.isElement==null?void 0:b.isElement(K)))==null||l?K:K.contextElement||await(b.getDocumentElement==null?void 0:b.getDocumentElement(x.floating)),boundary:C,rootBoundary:D,strategy:R})),Te=O==="floating"?{x:d,y:g,width:h.floating.width,height:h.floating.height}:h.reference,pe=await(b.getOffsetParent==null?void 0:b.getOffsetParent(x.floating)),He=await(b.isElement==null?void 0:b.isElement(pe))?await(b.getScale==null?void 0:b.getScale(pe))||{x:1,y:1}:{x:1,y:1},xe=Ay(b.convertOffsetParentRelativeRectToViewportRelativeRect?await b.convertOffsetParentRelativeRectToViewportRelativeRect({elements:x,rect:Te,offsetParent:pe,strategy:R}):Te);return{top:(J.top-xe.top+N.top)/He.y,bottom:(xe.bottom-J.bottom+N.bottom)/He.y,left:(J.left-xe.left+N.left)/He.x,right:(xe.right-J.right+N.right)/He.x}}const M3=a=>({name:"arrow",options:a,async fn(u){const{x:l,y:d,placement:g,rects:b,platform:h,elements:x,middlewareData:R}=u,{element:C,padding:D=0}=bf(a,u)||{};if(C==null)return{};const O=Rk(D),_={x:l,y:d},A=cC(g),N=sC(A),I=await h.getDimensions(C),K=A==="y",J=K?"top":"left",Te=K?"bottom":"right",pe=K?"clientHeight":"clientWidth",He=b.reference[N]+b.reference[A]-_[A]-b.floating[N],xe=_[A]-b.reference[A],Ke=await(h.getOffsetParent==null?void 0:h.getOffsetParent(C));let Ne=Ke?Ke[pe]:0;(!Ne||!await(h.isElement==null?void 0:h.isElement(Ke)))&&(Ne=x.floating[pe]||b.floating[N]);const Et=He/2-xe/2,Me=Ne/2-I[N]/2-1,Se=Nu(O[J],Me),le=Nu(O[Te],Me),Y=Se,W=Ne-I[N]-le,ne=Ne/2-I[N]/2+Et,ze=BE(Y,ne,W),we=!R.arrow&&Ef(g)!=null&&ne!==ze&&b.reference[N]/2-(ne<Y?Se:le)-I[N]/2<0,Ve=we?ne<Y?ne-Y:ne-W:0;return{[A]:_[A]+Ve,data:{[A]:ze,centerOffset:ne-ze-Ve,...we&&{alignmentOffset:Ve}},reset:we}}}),P3=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(u){var l,d;const{placement:g,middlewareData:b,rects:h,initialPlacement:x,platform:R,elements:C}=u,{mainAxis:D=!0,crossAxis:O=!0,fallbackPlacements:_,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:N="none",flipAlignment:I=!0,...K}=bf(a,u);if((l=b.arrow)!=null&&l.alignmentOffset)return{};const J=_u(g),Te=_u(x)===x,pe=await(R.isRTL==null?void 0:R.isRTL(C.floating)),He=_||(Te||!I?[_y(x)]:N3(x));!_&&N!=="none"&&He.push(..._3(x,I,N,pe));const xe=[x,...He],Ke=await dC(u,K),Ne=[];let Et=((d=b.flip)==null?void 0:d.overflows)||[];if(D&&Ne.push(Ke[J]),O){const Y=D3(g,h,pe);Ne.push(Ke[Y[0]],Ke[Y[1]])}if(Et=[...Et,{placement:g,overflows:Ne}],!Ne.every(Y=>Y<=0)){var Me,Se;const Y=(((Me=b.flip)==null?void 0:Me.index)||0)+1,W=xe[Y];if(W)return{data:{index:Y,overflows:Et},reset:{placement:W}};let ne=(Se=Et.filter(ze=>ze.overflows[0]<=0).sort((ze,we)=>ze.overflows[1]-we.overflows[1])[0])==null?void 0:Se.placement;if(!ne)switch(A){case"bestFit":{var le;const ze=(le=Et.map(we=>[we.placement,we.overflows.filter(Ve=>Ve>0).reduce((Ve,ie)=>Ve+ie,0)]).sort((we,Ve)=>we[1]-Ve[1])[0])==null?void 0:le[0];ze&&(ne=ze);break}case"initialPlacement":ne=x;break}if(g!==ne)return{reset:{placement:ne}}}return{}}}};async function F3(a,u){const{placement:l,platform:d,elements:g}=a,b=await(d.isRTL==null?void 0:d.isRTL(g.floating)),h=_u(l),x=Ef(l),R=eh(l)==="y",C=["left","top"].includes(h)?-1:1,D=b&&R?-1:1,O=bf(u,a);let{mainAxis:_,crossAxis:A,alignmentAxis:N}=typeof O=="number"?{mainAxis:O,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...O};return x&&typeof N=="number"&&(A=x==="end"?N*-1:N),R?{x:A*D,y:_*C}:{x:_*C,y:A*D}}const z3=function(a){return a===void 0&&(a=0),{name:"offset",options:a,async fn(u){var l,d;const{x:g,y:b,placement:h,middlewareData:x}=u,R=await F3(u,a);return h===((l=x.offset)==null?void 0:l.placement)&&(d=x.arrow)!=null&&d.alignmentOffset?{}:{x:g+R.x,y:b+R.y,data:{...R,placement:h}}}}},U3=function(a){return a===void 0&&(a={}),{name:"shift",options:a,async fn(u){const{x:l,y:d,placement:g}=u,{mainAxis:b=!0,crossAxis:h=!1,limiter:x={fn:K=>{let{x:J,y:Te}=K;return{x:J,y:Te}}},...R}=bf(a,u),C={x:l,y:d},D=await dC(u,R),O=eh(_u(g)),_=wk(O);let A=C[_],N=C[O];if(b){const K=_==="y"?"top":"left",J=_==="y"?"bottom":"right",Te=A+D[K],pe=A-D[J];A=BE(Te,A,pe)}if(h){const K=O==="y"?"top":"left",J=O==="y"?"bottom":"right",Te=N+D[K],pe=N-D[J];N=BE(Te,N,pe)}const I=x.fn({...u,[_]:A,[O]:N});return{...I,data:{x:I.x-l,y:I.y-d}}}}},H3=function(a){return a===void 0&&(a={}),{name:"size",options:a,async fn(u){const{placement:l,rects:d,platform:g,elements:b}=u,{apply:h=()=>{},...x}=bf(a,u),R=await dC(u,x),C=_u(l),D=Ef(l),O=eh(l)==="y",{width:_,height:A}=d.floating;let N,I;C==="top"||C==="bottom"?(N=C,I=D===(await(g.isRTL==null?void 0:g.isRTL(b.floating))?"start":"end")?"left":"right"):(I=C,N=D==="end"?"top":"bottom");const K=A-R[N],J=_-R[I],Te=!u.middlewareData.shift;let pe=K,He=J;if(O){const Ke=_-R.left-R.right;He=D||Te?Nu(J,Ke):Ke}else{const Ke=A-R.top-R.bottom;pe=D||Te?Nu(K,Ke):Ke}if(Te&&!D){const Ke=Ii(R.left,0),Ne=Ii(R.right,0),Et=Ii(R.top,0),Me=Ii(R.bottom,0);O?He=_-2*(Ke!==0||Ne!==0?Ke+Ne:Ii(R.left,R.right)):pe=A-2*(Et!==0||Me!==0?Et+Me:Ii(R.top,R.bottom))}await h({...u,availableWidth:He,availableHeight:pe});const xe=await g.getDimensions(b.floating);return _!==xe.width||A!==xe.height?{reset:{rects:!0}}:{}}}};function Au(a){return kk(a)?(a.nodeName||"").toLowerCase():"#document"}function Mi(a){var u;return(a==null||(u=a.ownerDocument)==null?void 0:u.defaultView)||window}function ml(a){var u;return(u=(kk(a)?a.ownerDocument:a.document)||window.document)==null?void 0:u.documentElement}function kk(a){return a instanceof Node||a instanceof Mi(a).Node}function pl(a){return a instanceof Element||a instanceof Mi(a).Element}function bo(a){return a instanceof HTMLElement||a instanceof Mi(a).HTMLElement}function Mw(a){return typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof Mi(a).ShadowRoot}function th(a){const{overflow:u,overflowX:l,overflowY:d,display:g}=na(a);return/auto|scroll|overlay|hidden|clip/.test(u+d+l)&&!["inline","contents"].includes(g)}function V3(a){return["table","td","th"].includes(Au(a))}function fC(a){const u=pC(),l=na(a);return l.transform!=="none"||l.perspective!=="none"||(l.containerType?l.containerType!=="normal":!1)||!u&&(l.backdropFilter?l.backdropFilter!=="none":!1)||!u&&(l.filter?l.filter!=="none":!1)||["transform","perspective","filter"].some(d=>(l.willChange||"").includes(d))||["paint","layout","strict","content"].some(d=>(l.contain||"").includes(d))}function j3(a){let u=hf(a);for(;bo(u)&&!Vy(u);){if(fC(u))return u;u=hf(u)}return null}function pC(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Vy(a){return["html","body","#document"].includes(Au(a))}function na(a){return Mi(a).getComputedStyle(a)}function jy(a){return pl(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function hf(a){if(Au(a)==="html")return a;const u=a.assignedSlot||a.parentNode||Mw(a)&&a.host||ml(a);return Mw(u)?u.host:u}function Ok(a){const u=hf(a);return Vy(u)?a.ownerDocument?a.ownerDocument.body:a.body:bo(u)&&th(u)?u:Ok(u)}function Zv(a,u,l){var d;u===void 0&&(u=[]),l===void 0&&(l=!0);const g=Ok(a),b=g===((d=a.ownerDocument)==null?void 0:d.body),h=Mi(g);return b?u.concat(h,h.visualViewport||[],th(g)?g:[],h.frameElement&&l?Zv(h.frameElement):[]):u.concat(g,Zv(g,[],l))}function Dk(a){const u=na(a);let l=parseFloat(u.width)||0,d=parseFloat(u.height)||0;const g=bo(a),b=g?a.offsetWidth:l,h=g?a.offsetHeight:d,x=Ly(l)!==b||Ly(d)!==h;return x&&(l=b,d=h),{width:l,height:d,$:x}}function vC(a){return pl(a)?a:a.contextElement}function pf(a){const u=vC(a);if(!bo(u))return Lu(1);const l=u.getBoundingClientRect(),{width:d,height:g,$:b}=Dk(u);let h=(b?Ly(l.width):l.width)/d,x=(b?Ly(l.height):l.height)/g;return(!h||!Number.isFinite(h))&&(h=1),(!x||!Number.isFinite(x))&&(x=1),{x:h,y:x}}const B3=Lu(0);function Nk(a){const u=Mi(a);return!pC()||!u.visualViewport?B3:{x:u.visualViewport.offsetLeft,y:u.visualViewport.offsetTop}}function $3(a,u,l){return u===void 0&&(u=!1),!l||u&&l!==Mi(a)?!1:u}function ac(a,u,l,d){u===void 0&&(u=!1),l===void 0&&(l=!1);const g=a.getBoundingClientRect(),b=vC(a);let h=Lu(1);u&&(d?pl(d)&&(h=pf(d)):h=pf(a));const x=$3(b,l,d)?Nk(b):Lu(0);let R=(g.left+x.x)/h.x,C=(g.top+x.y)/h.y,D=g.width/h.x,O=g.height/h.y;if(b){const _=Mi(b),A=d&&pl(d)?Mi(d):d;let N=_,I=N.frameElement;for(;I&&d&&A!==N;){const K=pf(I),J=I.getBoundingClientRect(),Te=na(I),pe=J.left+(I.clientLeft+parseFloat(Te.paddingLeft))*K.x,He=J.top+(I.clientTop+parseFloat(Te.paddingTop))*K.y;R*=K.x,C*=K.y,D*=K.x,O*=K.y,R+=pe,C+=He,N=Mi(I),I=N.frameElement}}return Ay({width:D,height:O,x:R,y:C})}const G3=[":popover-open",":modal"];function Lk(a){return G3.some(u=>{try{return a.matches(u)}catch{return!1}})}function W3(a){let{elements:u,rect:l,offsetParent:d,strategy:g}=a;const b=g==="fixed",h=ml(d),x=u?Lk(u.floating):!1;if(d===h||x&&b)return l;let R={scrollLeft:0,scrollTop:0},C=Lu(1);const D=Lu(0),O=bo(d);if((O||!O&&!b)&&((Au(d)!=="body"||th(h))&&(R=jy(d)),bo(d))){const _=ac(d);C=pf(d),D.x=_.x+d.clientLeft,D.y=_.y+d.clientTop}return{width:l.width*C.x,height:l.height*C.y,x:l.x*C.x-R.scrollLeft*C.x+D.x,y:l.y*C.y-R.scrollTop*C.y+D.y}}function Y3(a){return Array.from(a.getClientRects())}function _k(a){return ac(ml(a)).left+jy(a).scrollLeft}function K3(a){const u=ml(a),l=jy(a),d=a.ownerDocument.body,g=Ii(u.scrollWidth,u.clientWidth,d.scrollWidth,d.clientWidth),b=Ii(u.scrollHeight,u.clientHeight,d.scrollHeight,d.clientHeight);let h=-l.scrollLeft+_k(a);const x=-l.scrollTop;return na(d).direction==="rtl"&&(h+=Ii(u.clientWidth,d.clientWidth)-g),{width:g,height:b,x:h,y:x}}function Q3(a,u){const l=Mi(a),d=ml(a),g=l.visualViewport;let b=d.clientWidth,h=d.clientHeight,x=0,R=0;if(g){b=g.width,h=g.height;const C=pC();(!C||C&&u==="fixed")&&(x=g.offsetLeft,R=g.offsetTop)}return{width:b,height:h,x,y:R}}function X3(a,u){const l=ac(a,!0,u==="fixed"),d=l.top+a.clientTop,g=l.left+a.clientLeft,b=bo(a)?pf(a):Lu(1),h=a.clientWidth*b.x,x=a.clientHeight*b.y,R=g*b.x,C=d*b.y;return{width:h,height:x,x:R,y:C}}function Pw(a,u,l){let d;if(u==="viewport")d=Q3(a,l);else if(u==="document")d=K3(ml(a));else if(pl(u))d=X3(u,l);else{const g=Nk(a);d={...u,x:u.x-g.x,y:u.y-g.y}}return Ay(d)}function Ak(a,u){const l=hf(a);return l===u||!pl(l)||Vy(l)?!1:na(l).position==="fixed"||Ak(l,u)}function q3(a,u){const l=u.get(a);if(l)return l;let d=Zv(a,[],!1).filter(x=>pl(x)&&Au(x)!=="body"),g=null;const b=na(a).position==="fixed";let h=b?hf(a):a;for(;pl(h)&&!Vy(h);){const x=na(h),R=fC(h);!R&&x.position==="fixed"&&(g=null),(b?!R&&!g:!R&&x.position==="static"&&!!g&&["absolute","fixed"].includes(g.position)||th(h)&&!R&&Ak(a,h))?d=d.filter(D=>D!==h):g=x,h=hf(h)}return u.set(a,d),d}function Z3(a){let{element:u,boundary:l,rootBoundary:d,strategy:g}=a;const h=[...l==="clippingAncestors"?q3(u,this._c):[].concat(l),d],x=h[0],R=h.reduce((C,D)=>{const O=Pw(u,D,g);return C.top=Ii(O.top,C.top),C.right=Nu(O.right,C.right),C.bottom=Nu(O.bottom,C.bottom),C.left=Ii(O.left,C.left),C},Pw(u,x,g));return{width:R.right-R.left,height:R.bottom-R.top,x:R.left,y:R.top}}function J3(a){const{width:u,height:l}=Dk(a);return{width:u,height:l}}function eF(a,u,l){const d=bo(u),g=ml(u),b=l==="fixed",h=ac(a,!0,b,u);let x={scrollLeft:0,scrollTop:0};const R=Lu(0);if(d||!d&&!b)if((Au(u)!=="body"||th(g))&&(x=jy(u)),d){const O=ac(u,!0,b,u);R.x=O.x+u.clientLeft,R.y=O.y+u.clientTop}else g&&(R.x=_k(g));const C=h.left+x.scrollLeft-R.x,D=h.top+x.scrollTop-R.y;return{x:C,y:D,width:h.width,height:h.height}}function Fw(a,u){return!bo(a)||na(a).position==="fixed"?null:u?u(a):a.offsetParent}function Ik(a,u){const l=Mi(a);if(!bo(a)||Lk(a))return l;let d=Fw(a,u);for(;d&&V3(d)&&na(d).position==="static";)d=Fw(d,u);return d&&(Au(d)==="html"||Au(d)==="body"&&na(d).position==="static"&&!fC(d))?l:d||j3(a)||l}const tF=async function(a){const u=this.getOffsetParent||Ik,l=this.getDimensions;return{reference:eF(a.reference,await u(a.floating),a.strategy),floating:{x:0,y:0,...await l(a.floating)}}};function nF(a){return na(a).direction==="rtl"}const rF={convertOffsetParentRelativeRectToViewportRelativeRect:W3,getDocumentElement:ml,getClippingRect:Z3,getOffsetParent:Ik,getElementRects:tF,getClientRects:Y3,getDimensions:J3,getScale:pf,isElement:pl,isRTL:nF};function iF(a,u){let l=null,d;const g=ml(a);function b(){var x;clearTimeout(d),(x=l)==null||x.disconnect(),l=null}function h(x,R){x===void 0&&(x=!1),R===void 0&&(R=1),b();const{left:C,top:D,width:O,height:_}=a.getBoundingClientRect();if(x||u(),!O||!_)return;const A=my(D),N=my(g.clientWidth-(C+O)),I=my(g.clientHeight-(D+_)),K=my(C),Te={rootMargin:-A+"px "+-N+"px "+-I+"px "+-K+"px",threshold:Ii(0,Nu(1,R))||1};let pe=!0;function He(xe){const Ke=xe[0].intersectionRatio;if(Ke!==R){if(!pe)return h();Ke?h(!1,Ke):d=setTimeout(()=>{h(!1,1e-7)},100)}pe=!1}try{l=new IntersectionObserver(He,{...Te,root:g.ownerDocument})}catch{l=new IntersectionObserver(He,Te)}l.observe(a)}return h(!0),b}function aF(a,u,l,d){d===void 0&&(d={});const{ancestorScroll:g=!0,ancestorResize:b=!0,elementResize:h=typeof ResizeObserver=="function",layoutShift:x=typeof IntersectionObserver=="function",animationFrame:R=!1}=d,C=vC(a),D=g||b?[...C?Zv(C):[],...Zv(u)]:[];D.forEach(J=>{g&&J.addEventListener("scroll",l,{passive:!0}),b&&J.addEventListener("resize",l)});const O=C&&x?iF(C,l):null;let _=-1,A=null;h&&(A=new ResizeObserver(J=>{let[Te]=J;Te&&Te.target===C&&A&&(A.unobserve(u),cancelAnimationFrame(_),_=requestAnimationFrame(()=>{var pe;(pe=A)==null||pe.observe(u)})),l()}),C&&!R&&A.observe(C),A.observe(u));let N,I=R?ac(a):null;R&&K();function K(){const J=ac(a);I&&(J.x!==I.x||J.y!==I.y||J.width!==I.width||J.height!==I.height)&&l(),I=J,N=requestAnimationFrame(K)}return l(),()=>{var J;D.forEach(Te=>{g&&Te.removeEventListener("scroll",l),b&&Te.removeEventListener("resize",l)}),O==null||O(),(J=A)==null||J.disconnect(),A=null,R&&cancelAnimationFrame(N)}}const oF=U3,lF=P3,uF=H3,sF=M3,cF=(a,u,l)=>{const d=new Map,g={platform:rF,...l},b={...g.platform,_c:d};return I3(a,u,{...g,platform:b})};function zw(a=0,u=0,l=0,d=0){if(typeof DOMRect=="function")return new DOMRect(a,u,l,d);const g={x:a,y:u,width:l,height:d,top:u,right:a+l,bottom:u+d,left:a};return{...g,toJSON:()=>g}}function dF(a){if(!a)return zw();const{x:u,y:l,width:d,height:g}=a;return zw(u,l,d,g)}function fF(a,u){return{contextElement:nc(a)?a:void 0,getBoundingClientRect:()=>{const l=a,d=u==null?void 0:u(l);return d||!l?dF(d):l.getBoundingClientRect()}}}var Gv=a=>({variable:a,reference:`var(${a})`}),dl={arrowSize:Gv("--arrow-size"),arrowSizeHalf:Gv("--arrow-size-half"),arrowBg:Gv("--arrow-background"),transformOrigin:Gv("--transform-origin"),arrowOffset:Gv("--arrow-offset")},pF=a=>({top:"bottom center","top-start":a?`${a.x}px bottom`:"left bottom","top-end":a?`${a.x}px bottom`:"right bottom",bottom:"top center","bottom-start":a?`${a.x}px top`:"top left","bottom-end":a?`${a.x}px top`:"top right",left:"right center","left-start":a?`right ${a.y}px`:"right top","left-end":a?`right ${a.y}px`:"right bottom",right:"left center","right-start":a?`left ${a.y}px`:"left top","right-end":a?`left ${a.y}px`:"left bottom"}),vF={name:"transformOrigin",fn({placement:a,elements:u,middlewareData:l}){const{arrow:d}=l,g=pF(d)[a],{floating:b}=u;return b.style.setProperty(dl.transformOrigin.variable,g),{data:{transformOrigin:g}}}},hF={name:"rects",fn({rects:a}){return{data:a}}},mF=a=>{if(a)return{name:"shiftArrow",fn({placement:u,middlewareData:l}){if(!l.arrow)return{};const{x:d,y:g}=l.arrow,b=u.split("-")[0];return Object.assign(a.style,{left:d!=null?`${d}px`:"",top:g!=null?`${g}px`:"",[b]:`calc(100% + ${dl.arrowOffset.reference})`}),{}}}};function gF(a){const[u,l]=a.split("-");return{side:u,align:l,hasAlign:l!=null}}var yF={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function Uw(a,u){const l=a.devicePixelRatio||1;return Math.round(u*l)/l}function Mk(a){return PE(a.boundary)}function SF(a,u){if(a)return sF({element:a,padding:u.arrowPadding})}function bF(a,u){if(!lI(u.offset??u.gutter))return z3(({placement:l})=>{var x;const d=((a==null?void 0:a.clientHeight)||0)/2,g=((x=u.offset)==null?void 0:x.mainAxis)??u.gutter,b=typeof g=="number"?g+d:g??d,{hasAlign:h}=gF(l);return vl({crossAxis:h?u.shift:void 0,mainAxis:b,alignmentAxis:u.shift})})}function EF(a){if(a.flip)return lF({boundary:Mk(a),padding:a.overflowPadding,fallbackPlacements:a.flip===!0?void 0:a.flip})}function CF(a){if(!(!a.slide&&!a.overlap))return oF({boundary:Mk(a),mainAxis:a.slide,crossAxis:a.overlap,padding:a.overflowPadding})}function TF(a){return uF({padding:a.overflowPadding,apply({elements:u,rects:l,availableHeight:d,availableWidth:g}){const b=u.floating,h=Math.round(l.reference.width);g=Math.floor(g),d=Math.floor(d),b.style.setProperty("--reference-width",`${h}px`),b.style.setProperty("--available-width",`${g}px`),b.style.setProperty("--available-height",`${d}px`)}})}function xF(a){return a?a===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:a:{}}function wF(a,u,l={}){const d=fF(a,l.getAnchorRect);if(!u||!d)return;const g=Object.assign({},yF,l),b=u.querySelector("[data-part=arrow]"),h=[bF(b,g),EF(g),CF(g),SF(b,g),mF(b),vF,TF(g),hF],{placement:x,strategy:R,onComplete:C,onPositioned:D}=g,O=async()=>{if(!d||!u)return;const I=await cF(d,u,{placement:x,middleware:h,strategy:R});C==null||C(I),D==null||D({placed:!0});const K=mf(u),J=Uw(K,I.x),Te=Uw(K,I.y);u.style.setProperty("--x",`${J}px`),u.style.setProperty("--y",`${Te}px`);const pe=u.firstElementChild;if(pe){const He=K.getComputedStyle(pe).zIndex;u.style.setProperty("--z-index",He)}},_=async()=>{l.updatePosition?(await l.updatePosition({updatePosition:O}),D==null||D({placed:!0})):await O()},A=xF(g.listeners),N=g.listeners?aF(d,u,_,A):oI;return _(),()=>{N==null||N(),D==null||D({placed:!1})}}function Hw(a,u,l={}){const{defer:d,...g}=l,b=d?Qn:x=>x(),h=[];return h.push(b(()=>{const x=typeof a=="function"?a():a,R=typeof u=="function"?u():u;h.push(wF(x,R,g))})),()=>{h.forEach(x=>x==null?void 0:x())}}var RF={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"};function kF(a={}){const{placement:u,sameWidth:l,fitViewport:d,strategy:g="absolute"}=a;return{arrow:{position:"absolute",width:dl.arrowSize.reference,height:dl.arrowSize.reference,[dl.arrowSizeHalf.variable]:`calc(${dl.arrowSize.reference} / 2)`,[dl.arrowOffset.variable]:`calc(${dl.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:u?RF[u.split("-")[0]]:void 0,background:dl.arrowBg.reference,top:"0",left:"0",width:"100%",height:"100%",position:"absolute",zIndex:"inherit"},floating:{position:g,isolation:"isolate",minWidth:l?void 0:"max-content",width:l?"var(--reference-width)":void 0,maxWidth:d?"var(--available-width)":void 0,maxHeight:d?"var(--available-height)":void 0,top:"0px",left:"0px",transform:u?"translate3d(var(--x), var(--y), 0)":"translate3d(0, -100vh, 0)",zIndex:"var(--z-index)"}}}var Pk=yo("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","control"),Li=Pk.build(),hC=a=>rc(new xk(a));hC.empty=()=>rc(new xk({items:[]}));var Ge=oc({getRootId:a=>{var u;return((u=a.ids)==null?void 0:u.root)??`select:${a.id}`},getContentId:a=>{var u;return((u=a.ids)==null?void 0:u.content)??`select:${a.id}:content`},getTriggerId:a=>{var u;return((u=a.ids)==null?void 0:u.trigger)??`select:${a.id}:trigger`},getClearTriggerId:a=>{var u;return((u=a.ids)==null?void 0:u.clearTrigger)??`select:${a.id}:clear-trigger`},getLabelId:a=>{var u;return((u=a.ids)==null?void 0:u.label)??`select:${a.id}:label`},getControlId:a=>{var u;return((u=a.ids)==null?void 0:u.control)??`select:${a.id}:control`},getItemId:(a,u)=>{var l,d;return((d=(l=a.ids)==null?void 0:l.item)==null?void 0:d.call(l,u))??`select:${a.id}:option:${u}`},getHiddenSelectId:a=>{var u;return((u=a.ids)==null?void 0:u.hiddenSelect)??`select:${a.id}:select`},getPositionerId:a=>{var u;return((u=a.ids)==null?void 0:u.positioner)??`select:${a.id}:positioner`},getItemGroupId:(a,u)=>{var l,d;return((d=(l=a.ids)==null?void 0:l.itemGroup)==null?void 0:d.call(l,u))??`select:${a.id}:optgroup:${u}`},getItemGroupLabelId:(a,u)=>{var l,d;return((d=(l=a.ids)==null?void 0:l.itemGroupLabel)==null?void 0:d.call(l,u))??`select:${a.id}:optgroup-label:${u}`},getHiddenSelectEl:a=>Ge.getById(a,Ge.getHiddenSelectId(a)),getContentEl:a=>Ge.getById(a,Ge.getContentId(a)),getControlEl:a=>Ge.getById(a,Ge.getControlId(a)),getTriggerEl:a=>Ge.getById(a,Ge.getTriggerId(a)),getClearTriggerEl:a=>Ge.getById(a,Ge.getClearTriggerId(a)),getPositionerEl:a=>Ge.getById(a,Ge.getPositionerId(a)),getHighlightedOptionEl(a){return a.highlightedValue?Ge.getById(a,Ge.getItemId(a,a.highlightedValue)):null}});function OF(a,u,l){const d=a.context.isDisabled,g=a.context.invalid,b=a.context.readOnly,h=a.context.isInteractive,x=a.hasTag("open"),R=a.matches("focused"),C=a.context.highlightedItem,D=a.context.selectedItems,O=a.context.isTypingAhead;function _(N){const{item:I}=N,K=a.context.collection.isItemDisabled(I),J=a.context.collection.itemToValue(I);return{value:J,isDisabled:!!(K||d),isHighlighted:a.context.highlightedValue===J,isSelected:a.context.value.includes(J)}}const A=kF({...a.context.positioning,placement:a.context.currentPlacement});return{isOpen:x,isFocused:R,isValueEmpty:a.context.value.length===0,highlightedItem:C,highlightedValue:a.context.highlightedValue,selectedItems:D,hasSelectedItems:a.context.hasSelectedItems,value:a.context.value,valueAsString:a.context.valueAsString,collection:a.context.collection,setCollection(N){u({type:"COLLECTION.SET",value:N})},reposition(N={}){u({type:"POSITIONING.SET",options:N})},focus(){var N;(N=Ge.getTriggerEl(a.context))==null||N.focus({preventScroll:!0})},open(){u("OPEN")},close(){u("CLOSE")},selectValue(N){u({type:"ITEM.SELECT",value:N})},setValue(N){u({type:"VALUE.SET",value:N})},highlightValue(N){u({type:"HIGHLIGHTED_VALUE.SET",value:N})},clearValue(N){u(N?{type:"ITEM.CLEAR",value:N}:{type:"VALUE.CLEAR"})},getItemState:_,rootProps:l.element({...Li.root.attrs,dir:a.context.dir,id:Ge.getRootId(a.context),"data-invalid":nt(g),"data-readonly":nt(b)}),labelProps:l.label({dir:a.context.dir,id:Ge.getLabelId(a.context),...Li.label.attrs,"data-disabled":nt(d),"data-invalid":nt(g),"data-readonly":nt(b),htmlFor:Ge.getHiddenSelectId(a.context),onClick(){var N;d||(N=Ge.getTriggerEl(a.context))==null||N.focus({preventScroll:!0})}}),controlProps:l.element({...Li.control.attrs,dir:a.context.dir,id:Ge.getControlId(a.context),"data-state":x?"open":"closed","data-focus":nt(R),"data-disabled":nt(d),"data-invalid":nt(g)}),triggerProps:l.button({id:Ge.getTriggerId(a.context),disabled:d,dir:a.context.dir,type:"button","aria-controls":Ge.getContentId(a.context),"aria-expanded":x,"data-state":x?"open":"closed","aria-haspopup":"listbox","aria-labelledby":Ge.getLabelId(a.context),...Li.trigger.attrs,"data-disabled":nt(d),"data-invalid":nt(g),"aria-invalid":g,"data-readonly":nt(b),"data-placement":a.context.currentPlacement,"data-placeholder-shown":nt(!a.context.hasSelectedItems),onPointerDown(N){N.button||N.ctrlKey||!h||(N.currentTarget.dataset.pointerType=N.pointerType,!(d||N.pointerType==="touch")&&u({type:"TRIGGER.CLICK"}))},onClick(N){!h||N.button||N.currentTarget.dataset.pointerType==="touch"&&u({type:"TRIGGER.CLICK"})},onFocus(){u("TRIGGER.FOCUS")},onBlur(){u("TRIGGER.BLUR")},onKeyDown(N){if(!h)return;const K={ArrowUp(){u({type:"TRIGGER.ARROW_UP"})},ArrowDown(J){u({type:J.altKey?"OPEN":"TRIGGER.ARROW_DOWN"})},ArrowLeft(){u({type:"TRIGGER.ARROW_LEFT"})},ArrowRight(){u({type:"TRIGGER.ARROW_RIGHT"})},Home(){u({type:"TRIGGER.HOME"})},End(){u({type:"TRIGGER.END"})},Enter(){u({type:"TRIGGER.ENTER"})},Space(J){u(O?{type:"TRIGGER.TYPEAHEAD",key:J.key}:{type:"TRIGGER.ENTER"})}}[Cy(N,a.context)];if(K){K(N),N.preventDefault();return}AE.isValidEvent(N)&&(u({type:"TRIGGER.TYPEAHEAD",key:N.key}),N.preventDefault())}}),indicatorProps:l.element({...Li.indicator.attrs,dir:a.context.dir,"aria-hidden":!0,"data-state":x?"open":"closed","data-disabled":nt(d),"data-invalid":nt(g),"data-readonly":nt(b)}),getItemProps(N){const I=_(N);return l.element({id:Ge.getItemId(a.context,I.value),role:"option",...Li.item.attrs,dir:a.context.dir,"data-value":I.value,"aria-selected":I.isSelected,"data-state":I.isSelected?"checked":"unchecked","data-highlighted":nt(I.isHighlighted),"data-disabled":nt(I.isDisabled),"aria-disabled":IA(I.isDisabled),onPointerMove(K){I.isDisabled||K.pointerType!=="mouse"||I.value!==a.context.highlightedValue&&u({type:"ITEM.POINTER_MOVE",value:I.value})},onPointerUp(){I.isDisabled||u({type:"ITEM.CLICK",src:"pointerup",value:I.value})},onPointerLeave(K){const J=["CONTENT.ARROW_UP","CONTENT.ARROW_DOWN"].includes(a.event.type);I.isDisabled||K.pointerType!=="mouse"||J||u({type:"ITEM.POINTER_LEAVE"})},onTouchEnd(K){K.preventDefault(),K.stopPropagation()}})},getItemTextProps(N){const I=_(N);return l.element({...Li.itemText.attrs,"data-disabled":nt(I.isDisabled),"data-highlighted":nt(I.isHighlighted)})},getItemIndicatorProps(N){const I=_(N);return l.element({"aria-hidden":!0,...Li.itemIndicator.attrs,"data-state":I.isSelected?"checked":"unchecked",hidden:!I.isSelected})},getItemGroupLabelProps(N){const{htmlFor:I}=N;return l.element({...Li.itemGroupLabel.attrs,id:Ge.getItemGroupLabelId(a.context,I),role:"group",dir:a.context.dir})},getItemGroupProps(N){const{id:I}=N;return l.element({...Li.itemGroup.attrs,"data-disabled":nt(d),id:Ge.getItemGroupId(a.context,I),"aria-labelledby":Ge.getItemGroupLabelId(a.context,I),dir:a.context.dir})},clearTriggerProps:l.button({...Li.clearTrigger.attrs,id:Ge.getClearTriggerId(a.context),type:"button","aria-label":"Clear value",disabled:d,hidden:!a.context.hasSelectedItems,dir:a.context.dir,onClick(){u("VALUE.CLEAR")}}),hiddenSelectProps:l.select({name:a.context.name,form:a.context.form,disabled:!h,multiple:a.context.multiple,"aria-hidden":!0,id:Ge.getHiddenSelectId(a.context),style:eC,tabIndex:-1,onFocus(){var N;(N=Ge.getTriggerEl(a.context))==null||N.focus({preventScroll:!0})},"aria-labelledby":Ge.getLabelId(a.context)}),positionerProps:l.element({...Li.positioner.attrs,dir:a.context.dir,id:Ge.getPositionerId(a.context),style:A.floating}),contentProps:l.element({hidden:!x,dir:a.context.dir,id:Ge.getContentId(a.context),role:"listbox",...Li.content.attrs,"data-state":x?"open":"closed","aria-activedescendant":a.context.highlightedValue?Ge.getItemId(a.context,a.context.highlightedValue):void 0,"aria-multiselectable":a.context.multiple?"true":void 0,"aria-labelledby":Ge.getLabelId(a.context),tabIndex:0,onKeyDown(N){if(!h||!Bw(N))return;const I={ArrowUp(){u({type:"CONTENT.ARROW_UP"})},ArrowDown(){u({type:"CONTENT.ARROW_DOWN"})},Home(){u({type:"CONTENT.HOME"})},End(){u({type:"CONTENT.END"})},Enter(){u({type:"ITEM.CLICK",src:"keydown.enter"})},Space(J){var Te;O?u({type:"CONTENT.TYPEAHEAD",key:J.key}):(Te=I.Enter)==null||Te.call(I,J)}},K=I[Cy(N)];if(K){K(N),N.preventDefault();return}WA(N.target)||AE.isValidEvent(N)&&(u({type:"CONTENT.TYPEAHEAD",key:N.key}),N.preventDefault())}})}}var{and:ku,not:Zs,or:DF}=gf;function NF(a){const u=vl(a);return Iu({id:"select",context:{value:[],highlightedValue:null,selectOnBlur:!1,loop:!1,closeOnSelect:!0,disabled:!1,...u,collection:u.collection??hC.empty(),typeahead:AE.defaultOptions,fieldsetDisabled:!1,restoreFocus:!0,positioning:{placement:"bottom-start",gutter:8,...u.positioning}},computed:{hasSelectedItems:l=>l.value.length>0,isTypingAhead:l=>l.typeahead.keysSoFar!=="",isDisabled:l=>!!l.disabled||l.fieldsetDisabled,isInteractive:l=>!(l.isDisabled||l.readOnly),selectedItems:l=>l.collection.items(l.value),highlightedItem:l=>l.collection.item(l.highlightedValue),valueAsString:l=>l.collection.itemsToString(l.selectedItems)},initial:u.open?"open":"idle",watch:{open:["toggleVisibility"],value:["syncSelectElement"]},on:{"HIGHLIGHTED_VALUE.SET":{actions:["setHighlightedItem"]},"ITEM.SELECT":{actions:["selectItem"]},"ITEM.CLEAR":{actions:["clearItem"]},"VALUE.SET":{actions:["setSelectedItems"]},"VALUE.CLEAR":{actions:["clearSelectedItems"]},"COLLECTION.SET":{actions:["setCollection"]}},activities:["trackFormControlState"],states:{idle:{tags:["closed"],on:{"CONTROLLED.OPEN":[{guard:"isTriggerClickEvent",target:"open",actions:["highlightFirstSelectedItem"]},{target:"open"}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","highlightFirstSelectedItem"]}],"TRIGGER.FOCUS":{target:"focused"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}]}},focused:{tags:["closed"],entry:["focusTriggerEl"],on:{"CONTROLLED.OPEN":[{guard:"isTriggerClickEvent",target:"open",actions:["highlightFirstSelectedItem"]},{guard:"isTriggerArrowUpEvent",target:"open",actions:["highlightComputedLastItem"]},{guard:DF("isTriggerArrowDownEvent","isTriggerEnterEvent"),target:"open",actions:["highlightComputedFirstItem"]},{target:"open"}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],"TRIGGER.BLUR":{target:"idle"},"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","highlightFirstSelectedItem"]}],"TRIGGER.ENTER":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","highlightComputedFirstItem"]}],"TRIGGER.ARROW_UP":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","highlightComputedLastItem"]}],"TRIGGER.ARROW_DOWN":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","highlightComputedFirstItem"]}],"TRIGGER.ARROW_LEFT":[{guard:ku(Zs("multiple"),"hasSelectedItems"),actions:["selectPreviousItem"]},{guard:Zs("multiple"),actions:["selectLastItem"]}],"TRIGGER.ARROW_RIGHT":[{guard:ku(Zs("multiple"),"hasSelectedItems"),actions:["selectNextItem"]},{guard:Zs("multiple"),actions:["selectFirstItem"]}],"TRIGGER.HOME":{guard:Zs("multiple"),actions:["selectFirstItem"]},"TRIGGER.END":{guard:Zs("multiple"),actions:["selectLastItem"]},"TRIGGER.TYPEAHEAD":{guard:Zs("multiple"),actions:["selectMatchingItem"]}}},open:{tags:["open"],entry:["focusContentEl"],exit:["scrollContentToTop"],activities:["trackDismissableElement","computePlacement","scrollToHighlightedItem","proxyTabFocus"],on:{"CONTROLLED.CLOSE":[{guard:"shouldRestoreFocus",target:"focused",actions:["clearHighlightedItem"]},{target:"idle",actions:["clearHighlightedItem"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","clearHighlightedItem"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","clearHighlightedItem"]}],"ITEM.CLICK":[{guard:ku("closeOnSelect","isOpenControlled"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectHighlightedItem","invokeOnClose","clearHighlightedItem"]},{actions:["selectHighlightedItem"]}],"CONTENT.INTERACT_OUTSIDE":[{guard:ku("selectOnBlur","hasHighlightedItem","isOpenControlled"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:ku("selectOnBlur","hasHighlightedItem"),target:"idle",actions:["selectHighlightedItem","invokeOnClose","clearHighlightedItem"]},{guard:ku("shouldRestoreFocus","isOpenControlled"),actions:["invokeOnClose"]},{guard:"shouldRestoreFocus",target:"focused",actions:["invokeOnClose","clearHighlightedItem"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"idle",actions:["invokeOnClose","clearHighlightedItem"]}],"CONTENT.HOME":{actions:["highlightFirstItem"]},"CONTENT.END":{actions:["highlightLastItem"]},"CONTENT.ARROW_DOWN":[{guard:ku("hasHighlightedItem","loop","isLastItemHighlighted"),actions:["highlightFirstItem"]},{guard:"hasHighlightedItem",actions:["highlightNextItem"]},{actions:["highlightFirstItem"]}],"CONTENT.ARROW_UP":[{guard:ku("hasHighlightedItem","loop","isFirstItemHighlighted"),actions:["highlightLastItem"]},{guard:"hasHighlightedItem",actions:["highlightPreviousItem"]},{actions:["highlightLastItem"]}],"CONTENT.TYPEAHEAD":{actions:["highlightMatchingItem"]},"ITEM.POINTER_MOVE":{actions:["highlightItem"]},"ITEM.POINTER_LEAVE":{actions:["clearHighlightedItem"]},"POSITIONING.SET":{actions:["reposition"]}}}}},{guards:{loop:l=>!!l.loop,multiple:l=>!!l.multiple,hasSelectedItems:l=>!!l.hasSelectedItems,hasHighlightedItem:l=>l.highlightedValue!=null,isFirstItemHighlighted:l=>l.highlightedValue===l.collection.first(),isLastItemHighlighted:l=>l.highlightedValue===l.collection.last(),selectOnBlur:l=>!!l.selectOnBlur,closeOnSelect:(l,d)=>l.multiple?!1:!!(d.closeOnSelect??l.closeOnSelect),shouldRestoreFocus:l=>!!l.restoreFocus,isOpenControlled:l=>!!l["open.controlled"],isTriggerClickEvent:(l,d)=>{var g;return((g=d.previousEvent)==null?void 0:g.type)==="TRIGGER.CLICK"},isTriggerEnterEvent:(l,d)=>{var g;return((g=d.previousEvent)==null?void 0:g.type)==="TRIGGER.ENTER"},isTriggerArrowUpEvent:(l,d)=>{var g;return((g=d.previousEvent)==null?void 0:g.type)==="TRIGGER.ARROW_UP"},isTriggerArrowDownEvent:(l,d)=>{var g;return((g=d.previousEvent)==null?void 0:g.type)==="TRIGGER.ARROW_DOWN"}},activities:{proxyTabFocus(l){return WM(()=>Ge.getContentEl(l),{defer:!0,triggerElement:Ge.getTriggerEl(l),onFocus(g){Qn(()=>g.focus({preventScroll:!0}))}})},trackFormControlState(l,d,{initialContext:g}){return tC(Ge.getHiddenSelectEl(l),{onFieldsetDisabledChange(b){l.fieldsetDisabled=b},onFormReset(){cn.selectedItems(l,g.value)}})},trackDismissableElement(l,d,{send:g}){return VR(()=>Ge.getContentEl(l),{defer:!0,exclude:[Ge.getTriggerEl(l),Ge.getClearTriggerEl(l)],onFocusOutside:l.onFocusOutside,onPointerDownOutside:l.onPointerDownOutside,onInteractOutside(h){var x;(x=l.onInteractOutside)==null||x.call(l,h),l.restoreFocus=!h.detail.focusable},onDismiss(){g({type:"CONTENT.INTERACT_OUTSIDE"})}})},computePlacement(l){return l.currentPlacement=l.positioning.placement,Hw(()=>Ge.getTriggerEl(l),()=>Ge.getPositionerEl(l),{defer:!0,...l.positioning,onComplete(b){l.currentPlacement=b.placement}})},scrollToHighlightedItem(l,d,{getState:g}){const b=()=>{if(g().event.type.startsWith("ITEM.POINTER"))return;const x=Ge.getHighlightedOptionEl(l),R=Ge.getContentEl(l);eI(x,{rootEl:R,block:"nearest"})};return Qn(()=>b()),kR(Ge.getContentEl(l),["aria-activedescendant"],b)}},actions:{reposition(l,d){const g=()=>Ge.getPositionerEl(l);Hw(Ge.getTriggerEl(l),g,{...l.positioning,...d.options,defer:!0,listeners:!1,onComplete(b){l.currentPlacement=b.placement}})},toggleVisibility(l,d,{send:g}){g({type:l.open?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:d})},highlightPreviousItem(l){if(l.highlightedValue==null)return;const d=l.collection.prev(l.highlightedValue);cn.highlightedItem(l,d)},highlightNextItem(l){if(l.highlightedValue==null)return;const d=l.collection.next(l.highlightedValue);cn.highlightedItem(l,d)},highlightFirstItem(l){const d=l.collection.first();cn.highlightedItem(l,d)},highlightLastItem(l){const d=l.collection.last();cn.highlightedItem(l,d)},focusContentEl(l){Qn(()=>{var d;(d=Ge.getContentEl(l))==null||d.focus({preventScroll:!0})})},focusTriggerEl(l){Qn(()=>{var d;(d=Ge.getTriggerEl(l))==null||d.focus({preventScroll:!0})})},selectHighlightedItem(l,d){const g=d.value??l.highlightedValue;g!=null&&cn.selectedItem(l,g)},highlightComputedFirstItem(l){const d=l.hasSelectedItems?l.collection.sort(l.value)[0]:l.collection.first();cn.highlightedItem(l,d)},highlightComputedLastItem(l){const d=l.hasSelectedItems?l.collection.sort(l.value)[0]:l.collection.last();cn.highlightedItem(l,d)},highlightFirstSelectedItem(l){if(!l.hasSelectedItems)return;const[d]=l.collection.sort(l.value);cn.highlightedItem(l,d)},highlightItem(l,d){cn.highlightedItem(l,d.value)},highlightMatchingItem(l,d){const g=l.collection.search(d.key,{state:l.typeahead,currentValue:l.highlightedValue});g!=null&&cn.highlightedItem(l,g)},setHighlightedItem(l,d){cn.highlightedItem(l,d.value)},clearHighlightedItem(l){cn.highlightedItem(l,null,!0)},selectItem(l,d){cn.selectedItem(l,d.value)},clearItem(l,d){const g=l.value.filter(b=>b!==d.value);cn.selectedItems(l,g)},setSelectedItems(l,d){cn.selectedItems(l,d.value)},clearSelectedItems(l){cn.selectedItems(l,[])},selectPreviousItem(l){const d=l.collection.prev(l.value[0]);cn.selectedItem(l,d)},selectNextItem(l){const d=l.collection.next(l.value[0]);cn.selectedItem(l,d)},selectFirstItem(l){const d=l.collection.first();cn.selectedItem(l,d)},selectLastItem(l){const d=l.collection.last();cn.selectedItem(l,d)},selectMatchingItem(l,d){const g=l.collection.search(d.key,{state:l.typeahead,currentValue:l.value[0]});g!=null&&cn.selectedItem(l,g)},scrollContentToTop(l){var d;(d=Ge.getContentEl(l))==null||d.scrollTo(0,0)},invokeOnOpen(l){var d;(d=l.onOpenChange)==null||d.call(l,{open:!0})},invokeOnClose(l){var d;(d=l.onOpenChange)==null||d.call(l,{open:!1})},syncSelectElement(l){const d=Ge.getHiddenSelectEl(l);if(d){for(const g of d.options)g.selected=l.value.includes(g.value);CM(d,l.value.join(","),{type:"HTMLSelectElement"})}},setCollection(l,d){l.collection=d.value}}})}function LF(a){const u=Ge.getHiddenSelectEl(a);if(!u)return;const l=Ge.getWin(a),d=new l.Event("change",{bubbles:!0});u.dispatchEvent(d)}var gy={change:a=>{var u;(u=a.onValueChange)==null||u.call(a,{value:Array.from(a.value),items:a.selectedItems}),LF(a)},highlightChange:a=>{var u;(u=a.onHighlightChange)==null||u.call(a,{highlightedValue:a.highlightedValue,highlightedItem:a.highlightedItem})}},cn={selectedItem:(a,u,l=!1)=>{if(So(a.value,u)||u==null&&!l)return;if(u==null&&l){a.value=[],gy.change(a);return}const d=a.multiple?aI(a.value,u):[u];a.value=d,gy.change(a)},selectedItems:(a,u)=>{So(a.value,u)||(a.value=u,gy.change(a))},highlightedItem:(a,u,l=!1)=>{So(a.highlightedValue,u)||u==null&&!l||(a.highlightedValue=u??null,gy.highlightChange(a))}};vi()(["closeOnSelect","dir","disabled","form","getRootNode","highlightedValue","id","ids","invalid","collection","loop","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","open","open.controlled","positioning","readOnly","selectOnBlur","value"]);vi()(["item"]);vi()(["id"]);vi()(["htmlFor"]);const _F=a=>{const[u,l]=ia()(a,["isItemDisabled","itemToValue","itemToString","items"]),d=se.useMemo(()=>hC(u),Object.values(u)),g={id:se.useId(),getRootNode:uc(),collection:d,...l,value:a.defaultValue,"open.controlled":a.open!==void 0},b={...g,collection:d,value:a.value,onValueChange:pi(a.onValueChange,{sync:!0}),onHighlightChange:pi(a.onHighlightChange),onOpenChange:pi(a.onOpenChange)},[h,x]=Mu(NF(g),{context:b});return OF(h,x,lc)},AF=(a,u)=>{const[l,d]=FR(a),[g,{children:b,...h}]=ia()(d,["closeOnSelect","defaultValue","dir","disabled","form","getRootNode","highlightedValue","id","ids","invalid","isItemDisabled","items","itemToString","itemToValue","loop","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","open","positioning","readOnly","selectOnBlur","value"]),x=_F(g),R=zy(dt({present:x.isOpen},l)),C=yf(b,x),D=dt(x.rootProps,h);return Z.jsx(b3,{value:x,children:Z.jsx(nC,{value:R,children:Z.jsx(pt.div,{...D,ref:u,children:C})})})},IF=se.forwardRef(AF),Fk=se.forwardRef((a,u)=>{const l=Eo(),d=dt(l.triggerProps,a);return Z.jsx(pt.button,{...d,ref:u})});Fk.displayName="SelectTrigger";const zk=Pk.extendWith("valueText"),Uk=se.forwardRef((a,u)=>{const{children:l,placeholder:d,...g}=a,b=Eo();return Z.jsx(pt.span,{...zk.build().valueText.attrs,...g,ref:u,children:l||b.valueAsString||d})});Uk.displayName="SelectValueText";const MF=({children:a,when:u,wrapper:l})=>u===!0?l(a):a,{withProvider:PF,withContext:Co}=Py(Dn.select),FF=PF(rt.styled(IF),"root",{defaultProps:{loop:!0}}),zF=Co(rt.styled(hk),"clearTrigger"),UF=Co(rt.styled(mk),"content"),HF=Co(rt.styled(gk),"control"),VF=Co(rt.styled(yk),"indicator"),jF=Co(rt.styled(bk),"item"),BF=Co(rt.styled(Ek),"itemIndicator"),$F=Co(rt.styled(Ck),"itemText"),GF=Co(rt.styled(Tk),"positioner"),WF=Co(rt.styled(Fk),"trigger"),YF=Co(rt.styled(Uk),"valueText"),KF=({items:a,placeholder:u,emptyLabel:l,usePortal:d=!0,positioning:g,...b})=>Z.jsxs(FF,{lazyMount:!0,unmountOnExit:!0,items:a,positioning:{sameWidth:!0,gutter:0,...g},"data-recipe":"select",...b,children:[Z.jsx(HF,{children:Z.jsxs(WF,{children:[Z.jsx(YF,{truncate:!0,placeholder:u}),Z.jsx(zF,{asChild:!0,children:Z.jsx(rt.styled.svg,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Z.jsx("path",{d:"M9.99996 1.66669C5.39163 1.66669 1.66663 5.39169 1.66663 10C1.66663 14.6084 5.39163 18.3334 9.99996 18.3334C14.6083 18.3334 18.3333 14.6084 18.3333 10C18.3333 5.39169 14.6083 1.66669 9.99996 1.66669ZM9.99996 16.6667C6.32496 16.6667 3.33329 13.675 3.33329 10C3.33329 6.32502 6.32496 3.33335 9.99996 3.33335C13.675 3.33335 16.6666 6.32502 16.6666 10C16.6666 13.675 13.675 16.6667 9.99996 16.6667ZM12.9916 5.83335L9.99996 8.82502L7.00829 5.83335L5.83329 7.00835L8.82496 10L5.83329 12.9917L7.00829 14.1667L9.99996 11.175L12.9916 14.1667L14.1666 12.9917L11.175 10L14.1666 7.00835L12.9916 5.83335Z",fill:"currentColor"})})}),Z.jsx(VF,{asChild:!0,children:Z.jsx(rt.styled.svg,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Z.jsx("path",{d:"M7.41 8.29498L12 12.875L16.59 8.29498L18 9.70498L12 15.705L6 9.70498L7.41 8.29498Z",fill:"currentColor"})})})]})}),Z.jsx(MF,{when:d,wrapper:h=>Z.jsx(Vw.Portal,{children:h}),children:Z.jsx(GF,{children:Z.jsx(UF,{children:a.length===0?Z.jsx(ok,{px:"space-8",textAlign:"center",children:l??"Aucun résultat"}):a.map(h=>Z.jsxs(jF,{item:h,children:[Z.jsx($F,{truncate:!0,children:h.label}),b.multiple?Z.jsx(BF,{children:"✓"}):null]},h.value))})})})]}),QF=rt.styled("input",Dn.input,{dataAttr:!0}),XF=rt.styled("div",Dn.inputAddon,{dataAttr:!0}),qF=rt.styled("div",Dn.inputGroup),ZF={xl:"1536px",lg:"1200px",md:"900px",sm:"600px"},JF={extend:{checked:"&:where(:checked, [data-checked], [aria-checked=true], [data-state=checked])",closed:"&:where([data-state=closed])",collapsed:'&:where([aria-collapsed=true], [data-collapsed], [data-state="collapsed"])',current:"&:is([data-current])",focus:"&:where(:focus, [data-focus], [data-focused])",groupHover:"[role=group]:where(:hover, [data-hover]) &",hidden:"&:where([hidden])",highlighted:"&:where([data-highlighted])",hover:"&:where(:hover, [data-hover], [data-hovered])",indeterminate:"&:where(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",invalid:"&:where(:invalid, [data-invalid], [aria-invalid=true])",open:"&:where([open], [data-state=open])",placeholderShown:"&:where(:placeholder-shown, [data-placeholder-shown])",today:"&:where([data-today])",underValue:'&:where([data-state="under-value"])'}},ez={"2xl":"672px","3xl":"768px","4xl":"896px","5xl":"1024px","6xl":"1152px","7xl":"1280px","8xl":"1440px",lg:"512px",md:"448px",sm:"384px",xl:"576px",xs:"320px"},tz=ft.defineKeyframes({blob:{"0%":{rotate:"0deg"},"100%":{rotate:"359deg"}},bounce:{"0%, 100%":{animationTimingFunction:"cubic-bezier(0.8,0,1,1)",transform:"translateY(-25%)"},"50%":{animationTimingFunction:"cubic-bezier(0,0,0.2,1)",transform:"none"}},"fade-in":{from:{opacity:"0"},to:{opacity:"1"}},"fade-out":{from:{opacity:"1"},to:{opacity:"0"}},fadeIn:{"0%":{opacity:"0",transform:"translateY(-4px)"},"100%":{opacity:"1",transform:"translateY(0)"}},fadeInFromRight:{"0%":{opacity:"0",transform:"translateX(100%)"},"100%":{opacity:"1",transform:"translateX(0)"}},fadeInSkew:{"0%":{opacity:"0",transform:"translateY(-4px) rotateX(-1deg) scale(0.95)",transformStyle:"preserve-3d"},"100%":{opacity:"1",transform:"translateY(0) rotateX(0) scale(1)",transformStyle:"preserve-3d"}},fadeOut:{"0%":{opacity:"1",transform:"translateY(0)"},"100%":{opacity:"0",transform:"translateY(-4px)"}},fadeOutFromRight:{"0%":{opacity:"1",transform:"translateX(0)"},"100%":{opacity:"0",transform:"translateX(100%)"}},fadeOutSkew:{"0%":{opacity:"1",transform:"translateY(0) rotateX(0) scale(1)",transformStyle:"preserve-3d"},"100%":{opacity:"0",transform:"translateY(-4px) rotateX(-1deg) scale(0.95)",transformStyle:"preserve-3d"}},ping:{"75%, 100%":{opacity:"0",transform:"scale(2)"}},pulse:{"50%":{opacity:".5"}},"skeleton-pulse":{"50%":{opacity:"0.5"}},"slide-in":{"0%":{opacity:"0",transform:"translateY(64px)"},"100%":{opacity:"1",transform:"translateY(0)"}},"slide-in-left":{"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(0%)"}},"slide-in-modal":{"0%":{opacity:"0",transform:"translateY(64px) scale(0.9)"},"100%":{opacity:"1",transform:"translateY(0) scale(1)"}},"slide-in-right":{"0%":{transform:"translateX(100%)"},"100%":{transform:"translateX(0%)"}},"slide-out":{"0%":{opacity:"1",transform:"translateY(0)"},"100%":{opacity:"0",transform:"translateY(64px)"}},"slide-out-left":{"0%":{transform:"translateX(0%)"},"100%":{transform:"translateX(-100%)"}},"slide-out-modal":{"0%":{opacity:"1",transform:"translateY(0) scale(1)"},"100%":{opacity:"0",transform:"translateY(64px) scale(0.9)"}},"slide-out-right":{"0%":{transform:"translateX(0%)"},"100%":{transform:"translateX(100%)"}},slideInFromBottom:{"0%":{opacity:"0",transform:"translateY(4px)"},"100%":{opacity:"1",transform:"translateY(0)"}},slideOutToBottom:{"0%":{opacity:"1",transform:"translateY(0)"},"100%":{opacity:"0",transform:"translateY(4px)"}},"collapse-in":{"0%":{height:"0px"},"100%":{height:"var(--height)"}},"collapse-out":{"0%":{height:"var(--height)"},"100%":{height:"0px"}},spin:{to:{transform:"rotate(360deg)"}}}),nz=ft.defineRecipe({base:{_focusVisible:{ring:"2px solid {colors.primary.200}",ringOffset:"space-2"},alignItems:"center",cursor:{_disabled:"not-allowed",base:"pointer"},opacity:{_disabled:.32},display:"flex",flexDirection:"row",gap:"space-4",justifyContent:"center",transition:"color, background-color, border-color, opacity",transitionDuration:"fast",fontWeight:"bold",fontFamily:"satoshi"},className:"button",defaultVariants:{size:"lg",variant:"primary",severity:"none"},description:"The styles for the Button component",jsx:["Button"],variants:{size:{lg:{borderRadius:"radius-60",px:"space-20",py:"space-8",textStyle:"body.lg"},md:{borderRadius:"radius-60",px:"space-16",py:"space-6",textStyle:"body.md"},sm:{borderRadius:"radius-60",px:"space-12",py:"space-4",textStyle:"body.sm"}},variant:{primary:{bg:{_disabled:{_hover:"primary.500",_active:"primary.500",base:"primary.500"},_active:"primary.800",_hover:"primary.600",base:"primary.500"},color:"white"},secondary:{bg:{_disabled:{_hover:"transparent",_active:"transparent",base:"transparent"},_active:"primary.600",_hover:"primary.500",base:"transparent"},boxShadow:"inset 0 0 0 1px {colors.primary.500}",color:{_disabled:{_hover:"primary.500",_active:"primary.500",base:"primary.500"},base:"primary.500",_hover:"white",_active:"white"}},tertiary:{bg:{_disabled:{_hover:"transparent",_active:"transparent",base:"transparent"},_active:"primary.200",_hover:"primary.100",base:"transparent"},color:{_disabled:{_hover:"primary.500",_active:"primary.500",base:"primary.500"},base:"primary.500",_hover:"primary.600",_active:"primary.600"}}},severity:{none:{},danger:{}}},compoundVariants:[{variant:"primary",severity:"danger",css:{bg:{_disabled:{_hover:"error.500",_active:"error.500",base:"error.500"},_active:"error.800",_hover:"error.700",base:"error.500"}}},{variant:"secondary",severity:"danger",css:{bg:{_disabled:{_hover:"transparent",_active:"transparent",base:"transparent"},_active:"error.700",_hover:"error.500",base:"transparent"},boxShadow:{base:"inset 0 0 0 1px {colors.error.500}",_active:"inset 0 0 0 1px {colors.error.700}"},color:{_disabled:{_hover:"error.500",_active:"error.500",base:"error.500"},base:"error.500",_hover:"white",_active:"white"}}},{variant:"tertiary",severity:"danger",css:{bg:{_disabled:{_hover:"transparent",_active:"transparent",base:"transparent"},_active:"error.200",_hover:"error.100",base:"transparent"},color:{_disabled:{_hover:"error.500",_active:"error.500",base:"error.500"},base:"error.500",_hover:"error.700",_active:"error.700"}}}]}),rz=ft.defineRecipe({className:"heading",defaultVariants:{size:"h2"},jsx:["Heading"],base:{fontFamily:"cabinet",color:"text.heading"},variants:{italic:{true:{fontStyle:"italic"}},underline:{true:{textDecoration:"underline"}},size:{h1:{textStyle:"heading.h1"},h2:{textStyle:"heading.h2"},h3:{textStyle:"heading.h3"},h4:{textStyle:"heading.h4"},h5:{textStyle:"heading.h5"},h6:{textStyle:"heading.h6"}}}}),iz=ft.defineSlotRecipe({base:{control:{_focus:{ring:"1px solid {colors.secondary.300}"},alignItems:"center",background:{_checked:{base:"primary.500",_disabled:"grey.200"},base:"grey.100",_hover:{base:"grey.200",_checked:"primary.700"}},borderRadius:"full",cursor:"pointer",display:"inline-flex",flexShrink:"0",transitionDuration:"normal",transitionProperty:"background",transitionTimingFunction:"default"},label:{fontFamily:"satoshi",color:"text",_disabled:{color:"text.disabled",userSelect:"none"}},root:{WebkitTapHighlightColor:"transparent",_disabled:{pointerEvents:"none"},alignItems:"center",cursor:"pointer",display:"flex",position:"relative"},thumb:{background:"white",borderRadius:"full",transitionDuration:"normal",transitionProperty:"transform",transitionTimingFunction:"default",_checked:{transform:"translateX(16px)"}}},className:"switch",defaultVariants:{size:"md"},jsx:["Switch","SwitchField"],slots:nk.keys(),variants:{size:{md:{control:{height:"size-16",p:"space-2",width:"size-32"},label:{textStyle:"body.md"},root:{gap:"space-4"},thumb:{height:"size-12",width:"size-12"}}}}}),az=ft.defineRecipe({className:"text",defaultVariants:{size:"md"},jsx:["Text","AppLink"],staticCss:["*"],base:{fontFamily:"satoshi",color:"text"},variants:{bold:{true:{fontWeight:"bold"}},italic:{true:{fontStyle:"italic"}},underline:{true:{textDecoration:"underline"}},size:{lg:{textStyle:"body.lg"},md:{textStyle:"body.md"},sm:{textStyle:"body.sm"}}}}),Hk=ft.defineRecipe({base:{'&[type="time"]::-webkit-calendar-picker-indicator':{display:"none"},textStyle:"body.md",fontFamily:"satoshi",color:"text",appearance:"none",background:"none",border:"1px solid {colors.grey.100}",borderRadius:"radius-8",minWidth:0,outline:0,minHeight:"40px",position:"relative",transitionDuration:"normal",transitionProperty:"border-color, box-shadow",width:"full",_disabled:{cursor:"not-allowed",color:"grey.300",background:"grey.50"},_hover:{borderColor:"secondary.500",_disabled:{borderColor:"grey.100"}},_focus:{borderColor:"primary.500"},_placeholderShown:{color:"grey.400",_disabled:{color:"grey.100"}}},className:"input",description:"The styles for the Input component",jsx:["Input"],defaultVariants:{size:"md"},variants:{size:{md:{px:"space-16",py:"space-8"}}}}),oz=ft.defineRecipe({className:"textarea",jsx:["Textarea"],base:{px:"space-16",py:"space-8",...Hk.base}}),lz=ft.defineRecipe({base:{_invalid:{'& [data-recipe="formHelperText"]':{color:"error.500"},'& input, & textarea, & [data-recipe="select"] button':{borderColor:"error.500!"},"& label":{color:"error.500"}},_required:{"& label::after":{content:'" *"',color:"error.500",fontWeight:"bold"}},display:"flex",flexDirection:"column",gap:"space-4",width:"full",position:"relative"},className:"form-control",description:"The styles for the FormControl component",jsx:["FormControl"]}),uz=ft.defineRecipe({base:{color:"grey.400",fontFamily:"satoshi",textStyle:"body.sm"},className:"form-helper-text",description:"The styles for the FormHelperText component",jsx:["FormHelperText"]}),sz=KR.extendWith("header","body","footer"),cz=ft.defineSlotRecipe({className:"drawer",slots:sz.keys(),jsx:["Drawer"],base:{backdrop:{backdropFilter:"blur(4px)",background:"primary.300/20",height:"100vh",position:"fixed",width:"100vw",zIndex:"overlay",inset:0,_open:{animation:"backdrop-in"},_closed:{animation:"backdrop-out"}},positioner:{alignItems:"center",display:"flex",height:"100dvh",position:"fixed",inset:0,zIndex:"modal"},content:{position:"relative",background:"white",display:"grid",gridTemplateColumns:"1fr",gridTemplateRows:"auto 1fr",gridTemplateAreas:`
|
|
180
|
+
*/function qx(r,l){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(r);l&&(d=d.filter(function(v){return Object.getOwnPropertyDescriptor(r,v).enumerable})),o.push.apply(o,d)}return o}function Xx(r){for(var l=1;l<arguments.length;l++){var o=arguments[l]!=null?arguments[l]:{};l%2?qx(Object(o),!0).forEach(function(d){_F(r,d,o[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):qx(Object(o)).forEach(function(d){Object.defineProperty(r,d,Object.getOwnPropertyDescriptor(o,d))})}return r}function _F(r,l,o){return l=PF(l),l in r?Object.defineProperty(r,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[l]=o,r}function MF(r,l){if(typeof r!="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var d=o.call(r,l||"default");if(typeof d!="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return(l==="string"?String:Number)(r)}function PF(r){var l=MF(r,"string");return typeof l=="symbol"?l:String(l)}var Zx={activateTrap:function(l,o){if(l.length>0){var d=l[l.length-1];d!==o&&d.pause()}var v=l.indexOf(o);v===-1||l.splice(v,1),l.push(o)},deactivateTrap:function(l,o){var d=l.indexOf(o);d!==-1&&l.splice(d,1),l.length>0&&l[l.length-1].unpause()}},FF=function(l){return l.tagName&&l.tagName.toLowerCase()==="input"&&typeof l.select=="function"},zF=function(l){return(l==null?void 0:l.key)==="Escape"||(l==null?void 0:l.key)==="Esc"||(l==null?void 0:l.keyCode)===27},ih=function(l){return(l==null?void 0:l.key)==="Tab"||(l==null?void 0:l.keyCode)===9},UF=function(l){return ih(l)&&!l.shiftKey},VF=function(l){return ih(l)&&l.shiftKey},Jx=function(l){return setTimeout(l,0)},eR=function(l,o){var d=-1;return l.every(function(v,S){return o(v)?(d=S,!1):!0}),d},Zv=function(l){for(var o=arguments.length,d=new Array(o>1?o-1:0),v=1;v<o;v++)d[v-1]=arguments[v];return typeof l=="function"?l.apply(void 0,d):l},wy=function(l){return l.target.shadowRoot&&typeof l.composedPath=="function"?l.composedPath()[0]:l.target},HF=[],BF=function(l,o){var d=(o==null?void 0:o.document)||document,v=(o==null?void 0:o.trapStack)||HF,S=Xx({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:UF,isKeyBackward:VF},o),m={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},b,w=function(K,Y,ie){return K&&K[Y]!==void 0?K[Y]:S[ie||Y]},T=function(K,Y){var ie=typeof(Y==null?void 0:Y.composedPath)=="function"?Y.composedPath():void 0;return m.containerGroups.findIndex(function(Ve){var ke=Ve.container,Be=Ve.tabbableNodes;return ke.contains(K)||(ie==null?void 0:ie.includes(ke))||Be.find(function(oe){return oe===K})})},I=function(K){var Y=S[K];if(typeof Y=="function"){for(var ie=arguments.length,Ve=new Array(ie>1?ie-1:0),ke=1;ke<ie;ke++)Ve[ke-1]=arguments[ke];Y=Y.apply(void 0,Ve)}if(Y===!0&&(Y=void 0),!Y){if(Y===void 0||Y===!1)return Y;throw new Error("`".concat(K,"` was specified but was not a node, or did not return a node"))}var Be=Y;if(typeof Y=="string"&&(Be=d.querySelector(Y),!Be))throw new Error("`".concat(K,"` as selector refers to no known node"));return Be},D=function(){var K=I("initialFocus");if(K===!1)return!1;if(K===void 0||!Kb(K,S.tabbableOptions))if(T(d.activeElement)>=0)K=d.activeElement;else{var Y=m.tabbableGroups[0],ie=Y&&Y.firstTabbableNode;K=ie||I("fallbackFocus")}if(!K)throw new Error("Your focus-trap needs to have at least one focusable element");return K},L=function(){if(m.containerGroups=m.containers.map(function(K){var Y=LF(K,S.tabbableOptions),ie=IF(K,S.tabbableOptions),Ve=Y.length>0?Y[0]:void 0,ke=Y.length>0?Y[Y.length-1]:void 0,Be=ie.find(function(pe){return bf(pe)}),oe=ie.slice().reverse().find(function(pe){return bf(pe)}),Re=!!Y.find(function(pe){return cc(pe)>0});return{container:K,tabbableNodes:Y,focusableNodes:ie,posTabIndexesFound:Re,firstTabbableNode:Ve,lastTabbableNode:ke,firstDomTabbableNode:Be,lastDomTabbableNode:oe,nextTabbableNode:function(ut){var yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Ht=Y.indexOf(ut);return Ht<0?yt?ie.slice(ie.indexOf(ut)+1).find(function(fn){return bf(fn)}):ie.slice(0,ie.indexOf(ut)).reverse().find(function(fn){return bf(fn)}):Y[Ht+(yt?1:-1)]}}}),m.tabbableGroups=m.containerGroups.filter(function(K){return K.tabbableNodes.length>0}),m.tabbableGroups.length<=0&&!I("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(m.containerGroups.find(function(K){return K.posTabIndexesFound})&&m.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},N=function se(K){var Y=K.activeElement;if(Y)return Y.shadowRoot&&Y.shadowRoot.activeElement!==null?se(Y.shadowRoot):Y},_=function se(K){if(K!==!1&&K!==N(document)){if(!K||!K.focus){se(D());return}K.focus({preventScroll:!!S.preventScroll}),m.mostRecentlyFocusedNode=K,FF(K)&&K.select()}},B=function(K){var Y=I("setReturnFocus",K);return Y||(Y===!1?!1:K)},X=function(K){var Y=K.target,ie=K.event,Ve=K.isBackward,ke=Ve===void 0?!1:Ve;Y=Y||wy(ie),L();var Be=null;if(m.tabbableGroups.length>0){var oe=T(Y,ie),Re=oe>=0?m.containerGroups[oe]:void 0;if(oe<0)ke?Be=m.tabbableGroups[m.tabbableGroups.length-1].lastTabbableNode:Be=m.tabbableGroups[0].firstTabbableNode;else if(ke){var pe=eR(m.tabbableGroups,function(pn){var Br=pn.firstTabbableNode;return Y===Br});if(pe<0&&(Re.container===Y||Kb(Y,S.tabbableOptions)&&!bf(Y,S.tabbableOptions)&&!Re.nextTabbableNode(Y,!1))&&(pe=oe),pe>=0){var ut=pe===0?m.tabbableGroups.length-1:pe-1,yt=m.tabbableGroups[ut];Be=cc(Y)>=0?yt.lastTabbableNode:yt.lastDomTabbableNode}else ih(ie)||(Be=Re.nextTabbableNode(Y,!1))}else{var Ht=eR(m.tabbableGroups,function(pn){var Br=pn.lastTabbableNode;return Y===Br});if(Ht<0&&(Re.container===Y||Kb(Y,S.tabbableOptions)&&!bf(Y,S.tabbableOptions)&&!Re.nextTabbableNode(Y))&&(Ht=oe),Ht>=0){var fn=Ht===m.tabbableGroups.length-1?0:Ht+1,Ei=m.tabbableGroups[fn];Be=cc(Y)>=0?Ei.firstTabbableNode:Ei.firstDomTabbableNode}else ih(ie)||(Be=Re.nextTabbableNode(Y))}}else Be=I("fallbackFocus");return Be},z=function(K){var Y=wy(K);if(!(T(Y,K)>=0)){if(Zv(S.clickOutsideDeactivates,K)){b.deactivate({returnFocus:S.returnFocusOnDeactivate});return}Zv(S.allowOutsideClick,K)||K.preventDefault()}},te=function(K){var Y=wy(K),ie=T(Y,K)>=0;if(ie||Y instanceof Document)ie&&(m.mostRecentlyFocusedNode=Y);else{K.stopImmediatePropagation();var Ve,ke=!0;if(m.mostRecentlyFocusedNode)if(cc(m.mostRecentlyFocusedNode)>0){var Be=T(m.mostRecentlyFocusedNode),oe=m.containerGroups[Be].tabbableNodes;if(oe.length>0){var Re=oe.findIndex(function(pe){return pe===m.mostRecentlyFocusedNode});Re>=0&&(S.isKeyForward(m.recentNavEvent)?Re+1<oe.length&&(Ve=oe[Re+1],ke=!1):Re-1>=0&&(Ve=oe[Re-1],ke=!1))}}else m.containerGroups.some(function(pe){return pe.tabbableNodes.some(function(ut){return cc(ut)>0})})||(ke=!1);else ke=!1;ke&&(Ve=X({target:m.mostRecentlyFocusedNode,isBackward:S.isKeyBackward(m.recentNavEvent)})),_(Ve||m.mostRecentlyFocusedNode||D())}m.recentNavEvent=void 0},Z=function(K){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;m.recentNavEvent=K;var ie=X({event:K,isBackward:Y});ie&&(ih(K)&&K.preventDefault(),_(ie))},me=function(K){if(zF(K)&&Zv(S.escapeDeactivates,K)!==!1){K.preventDefault(),b.deactivate();return}(S.isKeyForward(K)||S.isKeyBackward(K))&&Z(K,S.isKeyBackward(K))},fe=function(K){var Y=wy(K);T(Y,K)>=0||Zv(S.clickOutsideDeactivates,K)||Zv(S.allowOutsideClick,K)||(K.preventDefault(),K.stopImmediatePropagation())},Fe=function(){if(m.active)return Zx.activateTrap(v,b),m.delayInitialFocusTimer=S.delayInitialFocus?Jx(function(){_(D())}):_(D()),d.addEventListener("focusin",te,!0),d.addEventListener("mousedown",z,{capture:!0,passive:!1}),d.addEventListener("touchstart",z,{capture:!0,passive:!1}),d.addEventListener("click",fe,{capture:!0,passive:!1}),d.addEventListener("keydown",me,{capture:!0,passive:!1}),b},we=function(){if(m.active)return d.removeEventListener("focusin",te,!0),d.removeEventListener("mousedown",z,!0),d.removeEventListener("touchstart",z,!0),d.removeEventListener("click",fe,!0),d.removeEventListener("keydown",me,!0),b},gt=function(K){var Y=K.some(function(ie){var Ve=Array.from(ie.removedNodes);return Ve.some(function(ke){return ke===m.mostRecentlyFocusedNode})});Y&&_(D())},Ie=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(gt):void 0,Ee=function(){Ie&&(Ie.disconnect(),m.active&&!m.paused&&m.containers.map(function(K){Ie.observe(K,{subtree:!0,childList:!0})}))};return b={get active(){return m.active},get paused(){return m.paused},activate:function(K){if(m.active)return this;var Y=w(K,"onActivate"),ie=w(K,"onPostActivate"),Ve=w(K,"checkCanFocusTrap");Ve||L(),m.active=!0,m.paused=!1,m.nodeFocusedBeforeActivation=d.activeElement,Y==null||Y();var ke=function(){Ve&&L(),Fe(),Ee(),ie==null||ie()};return Ve?(Ve(m.containers.concat()).then(ke,ke),this):(ke(),this)},deactivate:function(K){if(!m.active)return this;var Y=Xx({onDeactivate:S.onDeactivate,onPostDeactivate:S.onPostDeactivate,checkCanReturnFocus:S.checkCanReturnFocus},K);clearTimeout(m.delayInitialFocusTimer),m.delayInitialFocusTimer=void 0,we(),m.active=!1,m.paused=!1,Ee(),Zx.deactivateTrap(v,b);var ie=w(Y,"onDeactivate"),Ve=w(Y,"onPostDeactivate"),ke=w(Y,"checkCanReturnFocus"),Be=w(Y,"returnFocus","returnFocusOnDeactivate");ie==null||ie();var oe=function(){Jx(function(){Be&&_(B(m.nodeFocusedBeforeActivation)),Ve==null||Ve()})};return Be&&ke?(ke(B(m.nodeFocusedBeforeActivation)).then(oe,oe),this):(oe(),this)},pause:function(K){if(m.paused||!m.active)return this;var Y=w(K,"onPause"),ie=w(K,"onPostPause");return m.paused=!0,Y==null||Y(),we(),Ee(),ie==null||ie(),this},unpause:function(K){if(!m.paused||!m.active)return this;var Y=w(K,"onUnpause"),ie=w(K,"onPostUnpause");return m.paused=!1,Y==null||Y(),L(),Fe(),Ee(),ie==null||ie(),this},updateContainerElements:function(K){var Y=[].concat(K).filter(Boolean);return m.containers=Y.map(function(ie){return typeof ie=="string"?d.querySelector(ie):ie}),m.active&&L(),Ee(),this}},b.updateContainerElements(l),b},jF=wo("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger"),ac=jF.build(),pt=hc({getPositionerId:r=>{var l;return((l=r.ids)==null?void 0:l.positioner)??`dialog:${r.id}:positioner`},getBackdropId:r=>{var l;return((l=r.ids)==null?void 0:l.backdrop)??`dialog:${r.id}:backdrop`},getContentId:r=>{var l;return((l=r.ids)==null?void 0:l.content)??`dialog:${r.id}:content`},getTriggerId:r=>{var l;return((l=r.ids)==null?void 0:l.trigger)??`dialog:${r.id}:trigger`},getTitleId:r=>{var l;return((l=r.ids)==null?void 0:l.title)??`dialog:${r.id}:title`},getDescriptionId:r=>{var l;return((l=r.ids)==null?void 0:l.description)??`dialog:${r.id}:description`},getCloseTriggerId:r=>{var l;return((l=r.ids)==null?void 0:l.closeTrigger)??`dialog:${r.id}:close`},getContentEl:r=>pt.getById(r,pt.getContentId(r)),getPositionerEl:r=>pt.getById(r,pt.getPositionerId(r)),getBackdropEl:r=>pt.getById(r,pt.getBackdropId(r)),getTriggerEl:r=>pt.getById(r,pt.getTriggerId(r)),getTitleEl:r=>pt.getById(r,pt.getTitleId(r)),getDescriptionEl:r=>pt.getById(r,pt.getDescriptionId(r)),getCloseTriggerEl:r=>pt.getById(r,pt.getCloseTriggerId(r))});function $F(r,l,o){const d=r.context["aria-label"],v=r.matches("open"),S=r.context.renderedElements;return{open:v,setOpen(m){m!==v&&l(m?"OPEN":"CLOSE")},triggerProps:o.button({...ac.trigger.attrs,dir:r.context.dir,id:pt.getTriggerId(r.context),"aria-haspopup":"dialog",type:"button","aria-expanded":v,"data-state":v?"open":"closed","aria-controls":pt.getContentId(r.context),onClick(m){m.defaultPrevented||l("TOGGLE")}}),backdropProps:o.element({...ac.backdrop.attrs,dir:r.context.dir,hidden:!v,id:pt.getBackdropId(r.context),"data-state":v?"open":"closed"}),positionerProps:o.element({...ac.positioner.attrs,dir:r.context.dir,id:pt.getPositionerId(r.context),style:{pointerEvents:v?void 0:"none"}}),contentProps:o.element({...ac.content.attrs,dir:r.context.dir,role:r.context.role,hidden:!v,id:pt.getContentId(r.context),tabIndex:-1,"data-state":v?"open":"closed","aria-modal":!0,"aria-label":d||void 0,"aria-labelledby":d||!S.title?void 0:pt.getTitleId(r.context),"aria-describedby":S.description?pt.getDescriptionId(r.context):void 0}),titleProps:o.element({...ac.title.attrs,dir:r.context.dir,id:pt.getTitleId(r.context)}),descriptionProps:o.element({...ac.description.attrs,dir:r.context.dir,id:pt.getDescriptionId(r.context)}),closeTriggerProps:o.button({...ac.closeTrigger.attrs,dir:r.context.dir,id:pt.getCloseTriggerId(r.context),type:"button",onClick(m){m.defaultPrevented||(m.stopPropagation(),l("CLOSE"))}})}}function GF(r){const l=Cl(r);return Bu({id:"dialog",initial:l.open?"open":"closed",context:{role:"dialog",renderedElements:{title:!0,description:!0},modal:!0,trapFocus:!0,preventScroll:!0,closeOnInteractOutside:!0,closeOnEscape:!0,restoreFocus:!0,...l},created:["checkInitialFocusEl"],watch:{open:["toggleVisibility"]},states:{open:{entry:["checkRenderedElements","syncZIndex"],activities:["trackDismissableElement","trapFocus","preventScroll","hideContentBelow"],on:{"CONTROLLED.CLOSE":{target:"closed",actions:["setFinalFocus"]},CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose","setFinalFocus"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"closed",actions:["invokeOnClose","setFinalFocus"]}]}},closed:{on:{"CONTROLLED.OPEN":{target:"open"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],TOGGLE:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}]}}}},{guards:{isOpenControlled:o=>!!o["open.controlled"]},activities:{trackDismissableElement(o,d,{send:v}){return mk(()=>pt.getContentEl(o),{defer:!0,pointerBlocking:o.modal,exclude:[pt.getTriggerEl(o)],onInteractOutside(m){var b;(b=o.onInteractOutside)==null||b.call(o,m),(!o.closeOnInteractOutside||o.role==="alertdialog")&&m.preventDefault()},persistentElements:o.persistentElements,onFocusOutside:o.onFocusOutside,onPointerDownOutside:o.onPointerDownOutside,onEscapeKeyDown(m){var b;(b=o.onEscapeKeyDown)==null||b.call(o,m),o.closeOnEscape?v({type:"CLOSE",src:"escape-key"}):m.preventDefault()},onDismiss(){v({type:"CLOSE",src:"interact-outside"})}})},preventScroll(o){if(o.preventScroll)return mF(pt.getDoc(o))},trapFocus(o){if(!o.trapFocus||!o.modal)return;let d;const v=Jb(()=>{const S=pt.getContentEl(o);if(S){d=BF(S,{document:pt.getDoc(o),escapeDeactivates:!1,preventScroll:!0,returnFocusOnDeactivate:!1,fallbackFocus:S,allowOutsideClick:!0,initialFocus:bR(S,o.initialFocusEl)});try{d.activate()}catch{}}});return()=>{d==null||d.deactivate(),v()}},hideContentBelow(o){return o.modal?rF(()=>[pt.getContentEl(o)],{defer:!0}):void 0}},actions:{checkInitialFocusEl(o){!o.initialFocusEl&&o.role==="alertdialog"&&(o.initialFocusEl=()=>pt.getCloseTriggerEl(o))},checkRenderedElements(o){Tn(()=>{o.renderedElements.title=!!pt.getTitleEl(o),o.renderedElements.description=!!pt.getDescriptionEl(o)})},syncZIndex(o){Tn(()=>{const d=pt.getContentEl(o);if(!d)return;const S=pt.getWin(o).getComputedStyle(d);[pt.getPositionerEl(o),pt.getBackdropEl(o)].forEach(b=>{b==null||b.style.setProperty("--z-index",S.zIndex)})})},invokeOnClose(o){var d;(d=o.onOpenChange)==null||d.call(o,{open:!1})},invokeOnOpen(o){var d;(d=o.onOpenChange)==null||d.call(o,{open:!0})},toggleVisibility(o,d,{send:v}){v({type:o.open?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:d})},setFinalFocus(o){o.restoreFocus&&queueMicrotask(()=>{var v;const d=((v=o.finalFocusEl)==null?void 0:v.call(o))??pt.getTriggerEl(o);d==null||d.focus({preventScroll:!0})})}}})}Si()(["aria-label","closeOnEscape","closeOnInteractOutside","dir","finalFocusEl","getRootNode","getRootNode","id","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","open.controlled","open","persistentElements","preventScroll","restoreFocus","role","trapFocus"]);const WF=(r={})=>{const{getRootNode:l}=gc(),{dir:o}=yc(),d={id:de.useId(),getRootNode:l,dir:o,open:r.defaultOpen,"open.controlled":r.open!==void 0,...r},v={...d,open:r.open,onOpenChange:yi(r.onOpenChange,{sync:!0}),onEscapeKeyDown:yi(r.onEscapeKeyDown),onInteractOutside:yi(r.onInteractOutside)},[S,m]=ju(GF(d),{context:v});return $F(S,m,mc)},YF=r=>{const[l,{children:o,...d}]=vk(r),[v]=CC(l),S=WF(d),m=Jy(at({present:S.open},l));return ee.jsx(tF,{value:S,children:ee.jsx(EC,{value:v,children:ee.jsx(xC,{value:m,children:o})})})},Tk=de.forwardRef((r,l)=>{const o=Df(),d=at(o.titleProps,r);return ee.jsx(ot.h2,{...d,ref:l})});Tk.displayName="DialogTitle";const wk=de.forwardRef((r,l)=>{const o=Df(),d=sh(),v=at({...o.triggerProps,"aria-controls":d.unmounted?void 0:o.triggerProps["aria-controls"]},r);return ee.jsx(ot.button,{...v,ref:l})});wk.displayName="DialogTrigger";const{withProvider:KF,withContext:Tl}=qy(Ln.drawer),QF=KF(YF,void 0,{defaultProps:{unmountOnExit:!0,lazyMount:!0}}),qF=Tl(it.styled(ot.main),"body"),xk=Tl(it.styled(fk),"closeTrigger"),XF=Tl(it.styled(ot.footer),"footer"),Rk=de.forwardRef(({children:r,showCloseTrigger:l=!0,...o},d)=>ee.jsxs(ot.header,{...o,ref:d,children:[r,l&&ee.jsx(xk,{asChild:!0,children:ee.jsx(rk,{ml:"auto",p:"space-8",variant:"tertiary",children:ee.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:ee.jsx("path",{d:"M12.6666 4.27331L11.7266 3.33331L7.99998 7.05998L4.27331 3.33331L3.33331 4.27331L7.05998 7.99998L3.33331 11.7266L4.27331 12.6666L7.99998 8.93998L11.7266 12.6666L12.6666 11.7266L8.93998 7.99998L12.6666 4.27331Z",fill:"currentColor"})})})})]}));Rk.displayName="DrawerHeader";const ZF=Tl(Rk,"header"),JF=Tl(it.styled(Tk),"title"),e3=Tl(it.styled(wk),"trigger"),t3=Tl(it.styled(pk),"positioner"),n3=Tl(it.styled(dk),"backdrop"),kk=de.forwardRef(({children:r,...l},o)=>ee.jsxs(dR.Portal,{children:[ee.jsx(n3,{}),ee.jsx(t3,{children:ee.jsx(RC,{ref:o,...l,children:r})})]}));kk.displayName=RC.displayName;const r3=Tl(it.styled(kk),"content"),i3=it.styled("div",Ln.formControl,{defaultProps:{role:"group"}}),a3=({isInvalid:r,isRequired:l,...o})=>{const d={...r?{"aria-invalid":!0}:{},...l?{"aria-required":!0}:{}};return ee.jsx(i3,{...d,...o})},o3=it.styled("label",Ln.formLabel),l3=r=>{const[l,o]=Ln.formLabel.splitVariantProps(r),[d,v]=it.splitCssProps(o),{children:S,className:m,addon:b,...w}=v,T=Ln.formLabel(l);return ee.jsxs(o3,{className:Rf.cx(T.root,Rf.css(d),m),...w,children:[S,b?ee.jsx(it.styled.span,{className:T.addon,children:b}):null]})},u3=it.styled("p",Ln.formHelperText,{dataAttr:!0}),s3=r=>{const{as:l="h2",...o}=r,d=de.useMemo(()=>it.styled(l,Ln.heading),[l]);return ee.jsx(d,{size:l,...o})},[c3,e0]=Hr({name:"SwitchContext",hookName:"useSwitchContext",providerName:"<SwitchProvider />"}),Ok=de.forwardRef((r,l)=>{const o=e0(),d=at(o.controlProps,r);return ee.jsx(ot.span,{...d,ref:l})});Ok.displayName="SwitchControl";const Dk=de.forwardRef((r,l)=>{const o=e0(),d=at(o.hiddenInputProps,r);return ee.jsx(ot.input,{...d,ref:l})});Dk.displayName="SwitchHiddenInput";const Nk=de.forwardRef((r,l)=>{const o=e0(),d=at(o.labelProps,r);return ee.jsx(ot.span,{...d,ref:l})});Nk.displayName="SwitchLabel";var d3=wo("switch").parts("root","label","control","thumb"),xy=d3.build(),Xn=hc({getRootId:r=>{var l;return((l=r.ids)==null?void 0:l.root)??`switch:${r.id}`},getLabelId:r=>{var l;return((l=r.ids)==null?void 0:l.label)??`switch:${r.id}:label`},getThumbId:r=>{var l;return((l=r.ids)==null?void 0:l.thumb)??`switch:${r.id}:thumb`},getControlId:r=>{var l;return((l=r.ids)==null?void 0:l.control)??`switch:${r.id}:control`},getRootEl:r=>Xn.getById(r,Xn.getRootId(r)),getHiddenInputId:r=>{var l;return((l=r.ids)==null?void 0:l.input)??`switch:${r.id}:input`},getHiddenInputEl:r=>Xn.getById(r,Xn.getHiddenInputId(r))});function f3(r,l,o){const d=r.context.isDisabled,v=!d&&r.context.focused,S=r.context.checked,m=r.context.readOnly,b={"data-active":tt(r.context.active),"data-focus":tt(v),"data-readonly":tt(m),"data-hover":tt(r.context.hovered),"data-disabled":tt(d),"data-state":r.context.checked?"checked":"unchecked","data-invalid":tt(r.context.invalid)};return{checked:S,disabled:d,focused:v,setChecked(w){l({type:"CHECKED.SET",checked:w,isTrusted:!1})},toggleChecked(){l({type:"CHECKED.TOGGLE",checked:S,isTrusted:!1})},rootProps:o.label({...xy.root.attrs,...b,dir:r.context.dir,id:Xn.getRootId(r.context),htmlFor:Xn.getHiddenInputId(r.context),onPointerMove(){d||l({type:"CONTEXT.SET",context:{hovered:!0}})},onPointerLeave(){d||l({type:"CONTEXT.SET",context:{hovered:!1}})},onClick(w){w.target===Xn.getHiddenInputEl(r.context)&&w.stopPropagation()}}),labelProps:o.element({...xy.label.attrs,...b,dir:r.context.dir,id:Xn.getLabelId(r.context)}),thumbProps:o.element({...xy.thumb.attrs,...b,dir:r.context.dir,id:Xn.getThumbId(r.context),"aria-hidden":!0}),controlProps:o.element({...xy.control.attrs,...b,dir:r.context.dir,id:Xn.getControlId(r.context),"aria-hidden":!0}),hiddenInputProps:o.input({id:Xn.getHiddenInputId(r.context),type:"checkbox",required:r.context.required,defaultChecked:S,disabled:d,"aria-labelledby":Xn.getLabelId(r.context),"aria-invalid":r.context.invalid,name:r.context.name,form:r.context.form,value:r.context.value,style:hC,onChange(w){if(m){w.preventDefault();return}const T=w.currentTarget.checked;l({type:"CHECKED.SET",checked:T,isTrusted:!0})}})}}var{not:tR}=uh;function p3(r){const l=Cl(r);return Bu({id:"switch",initial:"ready",context:{checked:!1,label:"switch",value:"on",disabled:!1,...l,fieldsetDisabled:!1},computed:{isDisabled:o=>o.disabled||o.fieldsetDisabled},watch:{disabled:"removeFocusIfNeeded",checked:"syncInputElement"},activities:["trackFormControlState","trackPressEvent","trackFocusVisible"],on:{"CHECKED.TOGGLE":[{guard:tR("isTrusted"),actions:["toggleChecked","dispatchChangeEvent"]},{actions:["toggleChecked"]}],"CHECKED.SET":[{guard:tR("isTrusted"),actions:["setChecked","dispatchChangeEvent"]},{actions:["setChecked"]}],"CONTEXT.SET":{actions:["setContext"]}},states:{ready:{}}},{guards:{isTrusted:(o,d)=>!!d.isTrusted},activities:{trackPressEvent(o){if(!o.isDisabled)return xR({pointerNode:Xn.getRootEl(o),keyboardNode:Xn.getHiddenInputEl(o),isValidKey:d=>d.key===" ",onPress:()=>o.active=!1,onPressStart:()=>o.active=!0,onPressEnd:()=>o.active=!1})},trackFocusVisible(o){if(!o.isDisabled)return wR(Xn.getHiddenInputEl(o),{onFocus:()=>o.focused=!0,onBlur:()=>o.focused=!1})},trackFormControlState(o,d,{send:v,initialContext:S}){return wC(Xn.getHiddenInputEl(o),{onFieldsetDisabledChange(m){o.fieldsetDisabled=m},onFormReset(){v({type:"CHECKED.SET",checked:!!S.checked,src:"form-reset"})}})}},actions:{setContext(o,d){Object.assign(o,d.context)},syncInputElement(o){const d=Xn.getHiddenInputEl(o);d&&(d.checked=!!o.checked)},removeFocusIfNeeded(o){o.disabled&&o.focused&&(o.focused=!1)},setChecked(o,d){nR.checked(o,d.checked)},toggleChecked(o,d){nR.checked(o,!o.checked)},dispatchChangeEvent(o){const d=Xn.getHiddenInputEl(o);uk(d,{checked:o.checked})}}})}var v3={change:r=>{var l;(l=r.onCheckedChange)==null||l.call(r,{checked:r.checked})}},nR={checked:(r,l)=>{xo(r.checked,l)||(r.checked=l,v3.change(r))}};Si()(["checked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]);const h3=r=>{const{getRootNode:l}=gc(),{dir:o}=yc(),d={id:de.useId(),dir:o,getRootNode:l,checked:r.defaultChecked,...r},v={...d,checked:r.checked,onCheckedChange:yi(r.onCheckedChange,{sync:!0})},[S,m]=ju(p3(d),{context:v});return f3(S,m,mc)},Lk=de.forwardRef((r,l)=>{const[o,d]=Bi()(r,["checked","defaultChecked","disabled","form","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]),v=h3(o),S=at(v.rootProps,d);return ee.jsx(c3,{value:v,children:ee.jsx(ot.label,{...S,ref:l})})});Lk.displayName="SwitchRoot";const Ik=de.forwardRef((r,l)=>{const o=e0(),d=at(o.thumbProps,r);return ee.jsx(ot.span,{...d,ref:l})});Ik.displayName="SwitchThumb";const Ak=de.forwardRef((r,l)=>{const[o,d]=Ln.switchRecipe.splitVariantProps(r),[v,S]=it.splitCssProps(d),{children:m,className:b,...w}=S,T=Ln.switchRecipe(o);return ee.jsxs(Lk,{ref:l,className:Rf.cx(T.root,Rf.css(v),b),...w,children:[ee.jsx(Ok,{className:T.control,children:ee.jsx(Ik,{className:T.thumb})}),m?ee.jsx(Nk,{className:T.label,children:m}):null,ee.jsx(Dk,{})]})});Ak.displayName="Switch";const _k=r=>{const{as:l="p",...o}=r,d=de.useMemo(()=>it.styled(l,Ln.text),[l]);return ee.jsx(d,{...o})},m3=it.styled(ot.textarea,Ln.textarea),[g3,t0]=Hr({name:"TabsContext",hookName:"useTabsContext",providerName:"<TabsProvider />"}),Mk=de.forwardRef((r,l)=>{const[o,d]=Bi()(r,["value"]),v=t0(),S=bC(),m=Jy({...S,present:v.value===r.value}),b=at(v.getContentProps(o),m.getPresenceProps(l),d);return ee.jsx(xC,{value:m,children:m.unmounted?null:ee.jsx(ot.div,{...b})})});Mk.displayName="TabContent";const Pk=de.forwardRef((r,l)=>{const o=t0(),d=at(o.indicatorProps,r);return ee.jsx(ot.div,{...d,ref:l})});Pk.displayName="TabIndicator";const kC=de.forwardRef((r,l)=>{const o=t0(),d=at(o.listProps,r);return ee.jsx(ot.div,{...d,ref:l})});kC.displayName="TabList";const Fk=de.forwardRef((r,l)=>{const[o,d]=Bi()(r,["disabled","value"]),v=t0(),S=at(v.getTriggerProps(o),d);return ee.jsx(ot.button,{...S,ref:l})});Fk.displayName="TabTrigger";var oC,uc=new Map,y3=r=>r.getBoundingClientRect();function S3(r,l){const{scope:o="rect",getRect:d=y3,onChange:v}=l,S=E3({scope:o,getRect:d}),m=uc.get(r);return m?(m.callbacks.push(v),v(d(r))):(uc.set(r,{rect:{},callbacks:[v]}),uc.size===1&&(oC=requestAnimationFrame(S))),function(){const w=uc.get(r);if(!w)return;const T=w.callbacks.indexOf(v);T>-1&&w.callbacks.splice(T,1),w.callbacks.length===0&&(uc.delete(r),uc.size===0&&cancelAnimationFrame(oC))}}function E3(r){const{scope:l,getRect:o}=r,d=C3(l);return function v(){const S=[];uc.forEach((m,b)=>{const w=o(b);d(m.rect,w)||(m.rect=w,S.push(m))}),S.forEach(m=>{m.callbacks.forEach(b=>b(m.rect))}),oC=requestAnimationFrame(v)}}var zk=(r,l)=>r.width===l.width&&r.height===l.height,Uk=(r,l)=>r.top===l.top&&r.left===l.left,b3=(r,l)=>zk(r,l)&&Uk(r,l);function C3(r){return r==="size"?zk:r==="position"?Uk:b3}var T3=wo("tabs").parts("root","list","trigger","content","indicator"),Jv=T3.build(),rt=hc({getRootId:r=>{var l;return((l=r.ids)==null?void 0:l.root)??`tabs:${r.id}`},getListId:r=>{var l;return((l=r.ids)==null?void 0:l.list)??`tabs:${r.id}:list`},getContentId:(r,l)=>{var o;return((o=r.ids)==null?void 0:o.content)??`tabs:${r.id}:content-${l}`},getTriggerId:(r,l)=>{var o;return((o=r.ids)==null?void 0:o.trigger)??`tabs:${r.id}:trigger-${l}`},getIndicatorId:r=>{var l;return((l=r.ids)==null?void 0:l.indicator)??`tabs:${r.id}:indicator`},getListEl:r=>rt.getById(r,rt.getListId(r)),getContentEl:(r,l)=>rt.getById(r,rt.getContentId(r,l)),getTriggerEl:(r,l)=>rt.getById(r,rt.getTriggerId(r,l)),getIndicatorEl:r=>rt.getById(r,rt.getIndicatorId(r)),getElements:r=>{const o=`[role=tab][data-ownedby='${CSS.escape(rt.getListId(r))}']:not([disabled])`;return CR(rt.getListEl(r),o)},getFirstTriggerEl:r=>RR(rt.getElements(r)),getLastTriggerEl:r=>kR(rt.getElements(r)),getNextTriggerEl:(r,l)=>gR(rt.getElements(r),rt.getTriggerId(r,l),r.loopFocus),getPrevTriggerEl:(r,l)=>yR(rt.getElements(r),rt.getTriggerId(r,l),r.loopFocus),getSelectedContentEl:r=>{if(r.value)return rt.getContentEl(r,r.value)},getSelectedTriggerEl:r=>{if(r.value)return rt.getTriggerEl(r,r.value)},getOffsetRect:r=>({left:(r==null?void 0:r.offsetLeft)??0,top:(r==null?void 0:r.offsetTop)??0,width:(r==null?void 0:r.offsetWidth)??0,height:(r==null?void 0:r.offsetHeight)??0}),getRectById:(r,l)=>{const o=mR(rt.getElements(r),rt.getTriggerId(r,l));return rt.resolveRect(rt.getOffsetRect(o))},resolveRect:r=>({width:`${r.width}px`,height:`${r.height}px`,left:`${r.left}px`,top:`${r.top}px`})});function w3(r,l,o){var I,D,L,N;const d=r.context.translations,v=r.matches("focused"),S=r.context.orientation==="vertical",m=r.context.orientation==="horizontal",b=r.context.composite,w=r.context.indicatorState;function T(_){return{selected:r.context.value===_.value,focused:r.context.focusedValue===_.value,disabled:!!_.disabled}}return{value:r.context.value,focusedValue:r.context.focusedValue,setValue(_){l({type:"SET_VALUE",value:_})},clearValue(){l({type:"CLEAR_VALUE"})},setIndicatorRect(_){const B=rt.getTriggerId(r.context,_);l({type:"SET_INDICATOR_RECT",id:B})},syncTabIndex(){l("SYNC_TAB_INDEX")},selectNext(_){l({type:"TAB_FOCUS",value:_,src:"selectNext"}),l({type:"ARROW_NEXT",src:"selectNext"})},selectPrev(_){l({type:"TAB_FOCUS",value:_,src:"selectPrev"}),l({type:"ARROW_PREV",src:"selectPrev"})},focus(){var _;(_=rt.getSelectedTriggerEl(r.context))==null||_.focus()},getTriggerState:T,rootProps:o.element({...Jv.root.attrs,id:rt.getRootId(r.context),"data-orientation":r.context.orientation,"data-focus":tt(v),dir:r.context.dir}),listProps:o.element({...Jv.list.attrs,id:rt.getListId(r.context),role:"tablist",dir:r.context.dir,"data-focus":tt(v),"aria-orientation":r.context.orientation,"data-orientation":r.context.orientation,"aria-label":d==null?void 0:d.listLabel,onKeyDown(_){if(_.defaultPrevented)return;const B=TR(_);if(!hR(B)||B.isComposing)return;const X={ArrowDown(){m||l({type:"ARROW_NEXT",key:"ArrowDown"})},ArrowUp(){m||l({type:"ARROW_PREV",key:"ArrowUp"})},ArrowLeft(){S||l({type:"ARROW_PREV",key:"ArrowLeft"})},ArrowRight(){S||l({type:"ARROW_NEXT",key:"ArrowRight"})},Home(){l("HOME")},End(){l("END")},Enter(){l({type:"ENTER"})}};let z=My(_,r.context);const te=X[z];te&&(_.preventDefault(),te(_))}}),getTriggerProps(_){const{value:B,disabled:X}=_,z=T(_);return o.button({...Jv.trigger.attrs,role:"tab",type:"button",disabled:X,dir:r.context.dir,"data-orientation":r.context.orientation,"data-disabled":tt(X),"aria-disabled":X,"data-value":B,"aria-selected":z.selected,"data-selected":tt(z.selected),"data-focus":tt(z.focused),"aria-controls":z.selected?rt.getContentId(r.context,B):void 0,"data-ownedby":rt.getListId(r.context),id:rt.getTriggerId(r.context,B),tabIndex:z.selected&&b?0:-1,onFocus(){l({type:"TAB_FOCUS",value:B})},onBlur(te){const Z=te.relatedTarget;(Z==null?void 0:Z.getAttribute("role"))!=="tab"&&l({type:"TAB_BLUR"})},onClick(te){te.defaultPrevented||X||(vR()&&te.currentTarget.focus(),l({type:"TAB_CLICK",value:B}))}})},getContentProps(_){const{value:B}=_,X=r.context.value===B;return o.element({...Jv.content.attrs,dir:r.context.dir,id:rt.getContentId(r.context,B),tabIndex:b?0:-1,"aria-labelledby":rt.getTriggerId(r.context,B),role:"tabpanel","data-ownedby":rt.getListId(r.context),"data-selected":tt(X),"data-orientation":r.context.orientation,hidden:!X})},indicatorProps:o.element({id:rt.getIndicatorId(r.context),...Jv.indicator.attrs,dir:r.context.dir,"data-orientation":r.context.orientation,style:{"--transition-property":"left, right, top, bottom, width, height","--left":(I=w.rect)==null?void 0:I.left,"--top":(D=w.rect)==null?void 0:D.top,"--width":(L=w.rect)==null?void 0:L.width,"--height":(N=w.rect)==null?void 0:N.height,position:"absolute",willChange:"var(--transition-property)",transitionProperty:"var(--transition-property)",transitionDuration:w.transition?"var(--transition-duration, 150ms)":"0ms",transitionTimingFunction:"var(--transition-timing-function)",[m?"left":"top"]:m?"var(--left)":"var(--top)"}})}}var{not:x3}=uh;function R3(r){const l=Cl(r);return Bu({initial:"idle",context:{dir:"ltr",orientation:"horizontal",activationMode:"automatic",value:null,loopFocus:!0,composite:!0,...l,focusedValue:l.value??null,indicatorState:{rendered:!1,transition:!1,rect:{left:"0px",top:"0px",width:"0px",height:"0px"}}},watch:{value:["allowIndicatorTransition","syncIndicatorRect","syncTabIndex","clickIfLink"],dir:["syncIndicatorRect"],orientation:["syncIndicatorRect"]},on:{SET_VALUE:{actions:"setValue"},CLEAR_VALUE:{actions:"clearValue"},SET_INDICATOR_RECT:{actions:"setIndicatorRect"},SYNC_TAB_INDEX:{actions:"syncTabIndex"}},created:["syncFocusedValue"],entry:["checkRenderedElements","syncIndicatorRect","syncTabIndex"],exit:["cleanupObserver"],states:{idle:{on:{TAB_FOCUS:{target:"focused",actions:"setFocusedValue"},TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]}}},focused:{on:{TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]},ARROW_PREV:[{guard:"selectOnFocus",actions:["focusPrevTab","selectFocusedTab"]},{actions:"focusPrevTab"}],ARROW_NEXT:[{guard:"selectOnFocus",actions:["focusNextTab","selectFocusedTab"]},{actions:"focusNextTab"}],HOME:[{guard:"selectOnFocus",actions:["focusFirstTab","selectFocusedTab"]},{actions:"focusFirstTab"}],END:[{guard:"selectOnFocus",actions:["focusLastTab","selectFocusedTab"]},{actions:"focusLastTab"}],ENTER:{guard:x3("selectOnFocus"),actions:"selectFocusedTab"},TAB_FOCUS:{actions:["setFocusedValue"]},TAB_BLUR:{target:"idle",actions:"clearFocusedValue"}}}}},{guards:{selectOnFocus:o=>o.activationMode==="automatic"},actions:{syncFocusedValue(o){o.value!=null&&o.focusedValue==null&&(o.focusedValue=o.value)},selectFocusedTab(o){Tn(()=>{oc.value(o,o.focusedValue)})},setFocusedValue(o,d){d.value!=null&&oc.focusedValue(o,d.value)},clearFocusedValue(o){oc.focusedValue(o,null)},setValue(o,d){oc.value(o,d.value)},clearValue(o){oc.value(o,null)},focusFirstTab(o){Tn(()=>{var d;(d=rt.getFirstTriggerEl(o))==null||d.focus()})},focusLastTab(o){Tn(()=>{var d;(d=rt.getLastTriggerEl(o))==null||d.focus()})},focusNextTab(o){if(!o.focusedValue)return;const d=rt.getNextTriggerEl(o,o.focusedValue);Tn(()=>{o.composite?d==null||d.focus():(d==null?void 0:d.dataset.value)!=null&&oc.focusedValue(o,d.dataset.value)})},focusPrevTab(o){if(!o.focusedValue)return;const d=rt.getPrevTriggerEl(o,o.focusedValue);Tn(()=>{o.composite?d==null||d.focus():(d==null?void 0:d.dataset.value)!=null&&oc.focusedValue(o,d.dataset.value)})},checkRenderedElements(o){o.indicatorState.rendered=!!rt.getIndicatorEl(o)},syncTabIndex(o){Tn(()=>{const d=rt.getSelectedContentEl(o);if(!d)return;ER(d).length>0?d.removeAttribute("tabindex"):d.setAttribute("tabindex","0")})},cleanupObserver(o){var d;(d=o.indicatorCleanup)==null||d.call(o)},allowIndicatorTransition(o){o.indicatorState.transition=!0},setIndicatorRect(o,d){const v=d.id??o.value;!o.indicatorState.rendered||!v||!rt.getTriggerEl(o,v)||(o.indicatorState.rect=rt.getRectById(o,v),Jb(()=>{o.indicatorState.transition=!1}))},syncIndicatorRect(o){var S;(S=o.indicatorCleanup)==null||S.call(o);const d=o.value;if(!o.indicatorState.rendered||!d)return;const v=rt.getSelectedTriggerEl(o);v&&(o.indicatorCleanup=S3(v,{getRect(m){return rt.getOffsetRect(m)},onChange(m){o.indicatorState.rect=rt.resolveRect(m),Jb(()=>{o.indicatorState.transition=!1})}}))},clickIfLink(o){aM(rt.getSelectedTriggerEl(o))}}})}var rR={change:r=>{var l;r.value!=null&&((l=r.onValueChange)==null||l.call(r,{value:r.value}))},focusChange:r=>{var l;r.focusedValue!=null&&((l=r.onFocusChange)==null||l.call(r,{focusedValue:r.focusedValue}))}},oc={value:(r,l)=>{xo(l,r.value)||(r.value=l,rR.change(r))},focusedValue:(r,l)=>{xo(l,r.focusedValue)||(r.focusedValue=l,rR.focusChange(r))}};Si()(["activationMode","composite","dir","getRootNode","id","ids","loopFocus","onFocusChange","onValueChange","orientation","translations","value"]);Si()(["disabled","value"]);Si()(["value"]);const k3=r=>{const{getRootNode:l}=gc(),{dir:o}=yc(),d={id:de.useId(),dir:o,getRootNode:l,value:r.defaultValue,...r},v={...d,value:r.value,onValueChange:yi(r.onValueChange,{sync:!0}),onFocusChange:yi(r.onFocusChange)},[S,m]=ju(R3(d),{context:v});return w3(S,m,mc)},Vk=de.forwardRef((r,l)=>{const[o,d]=CC(r),[v,S]=Bi()(d,["activationMode","composite","defaultValue","id","ids","loopFocus","onFocusChange","onValueChange","orientation","translations","value"]),m=k3(v),b=at(m.rootProps,S);return ee.jsx(g3,{value:m,children:ee.jsx(EC,{value:o,children:ee.jsx(ot.div,{...b,ref:l})})})});Vk.displayName="TabsRoot";const{withProvider:O3,withContext:n0}=qy(Ln.tabs),D3=O3(it.styled(Vk),"root",{defaultProps:{lazyMount:!0}}),N3=n0(it.styled(Mk),"content"),L3=n0(it.styled(Fk),"trigger"),I3=n0(it.styled(Pk),"indicator"),Hk=de.forwardRef(({children:r,...l},o)=>ee.jsxs(kC,{ref:o,...l,children:[r,ee.jsx(I3,{})]}));Hk.displayName=kC.displayName;const A3=n0(it.styled(Hk),"list"),[_3,Ba]=Hr({name:"SelectContext",hookName:"useSelectContext",providerName:"<SelectProvider />"}),Bk=de.forwardRef((r,l)=>{const o=Ba(),d=at(o.clearTriggerProps,r);return ee.jsx(ot.button,{...d,ref:l})});Bk.displayName="SelectClearTrigger";const jk=de.forwardRef((r,l)=>{const o=Ba(),d=sh(),v=at(o.contentProps,d.getPresenceProps(l),r);return d.unmounted?null:ee.jsx(ot.div,{...v})});jk.displayName="SelectContent";const $k=de.forwardRef((r,l)=>{const o=Ba(),d=at(o.controlProps,r);return ee.jsx(ot.div,{...d,ref:l})});$k.displayName="SelectControl";const Gk=de.forwardRef((r,l)=>{const o=Ba(),d=at(o.hiddenSelectProps,r),v=o.value.length===0;return ee.jsxs(ot.select,{...d,ref:l,children:[v&&ee.jsx("option",{value:""}),o.collection.toArray().map(S=>ee.jsx("option",{value:S.value,children:S.label},S.value))]})});Gk.displayName="SelectHiddenSelect";const Wk=de.forwardRef((r,l)=>{const o=Ba(),d=at(o.indicatorProps,r);return ee.jsx(ot.div,{...d,ref:l})});Wk.displayName="SelectIndicator";const[M3,eU]=Hr({name:"SelectItemContext",hookName:"useSelectItemContext",providerName:"<SelectItemProvider />"}),[P3,Yk]=Hr({name:"SelectItemPropsContext",hookName:"useSelectItemPropsContext",providerName:"<SelectItemPropsProvider />"}),Kk=de.forwardRef((r,l)=>{const[o,d]=Bi()(r,["item","persistFocus"]),v=Ba(),S=at(v.getItemProps(o),d),m=v.getItemState(o);return ee.jsx(P3,{value:o,children:ee.jsx(M3,{value:m,children:ee.jsx(ot.div,{...S,ref:l})})})});Kk.displayName="SelectItem";const Qk=de.forwardRef((r,l)=>{const o=Ba(),d=Yk(),v=at(o.getItemIndicatorProps(d),r);return ee.jsx(ot.div,{...v,ref:l})});Qk.displayName="SelectItemIndicator";const qk=de.forwardRef((r,l)=>{const o=Ba(),d=Yk(),v=at(o.getItemTextProps(d),r);return ee.jsx(ot.span,{...v,ref:l})});qk.displayName="SelectItemText";const Xk=de.forwardRef((r,l)=>{const o=Ba(),d=at(o.positionerProps,r);return sh().unmounted?null:ee.jsx(ot.div,{...d,ref:l})});Xk.displayName="SelectPositioner";var F3=Object.defineProperty,z3=(r,l,o)=>l in r?F3(r,l,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[l]=o,Nt=(r,l,o)=>(z3(r,typeof l!="symbol"?l+"":l,o),o);function U3(r){let l,o,d=2166136261;for(l=0,o=r.length;l<o;l++)d^=r.charCodeAt(l),d+=(d<<1)+(d<<4)+(d<<7)+(d<<8)+(d<<24);return`00000${(d>>>0).toString(36)}`.slice(-6)}var Qb=r=>typeof r=="object"&&r!==null&&!Array.isArray(r),qb=(r,l)=>Object.prototype.hasOwnProperty.call(r,l),Ay={itemToValue(r){return typeof r=="string"?r:Qb(r)&&qb(r,"value")?r.value:""},itemToString(r){return typeof r=="string"?r:Qb(r)&&qb(r,"label")?r.label:Ay.itemToValue(r)},itemToDisabled(r){return Qb(r)&&qb(r,"disabled")?!!r.disabled:!1}},Zk=class{constructor(r){this.options=r,Nt(this,"nodes",new Map),Nt(this,"disabledValues",new Set),Nt(this,"_firstValue",null),Nt(this,"_lastValue",null),Nt(this,"hash",""),Nt(this,"isEqual",l=>this.hash===l.hash),Nt(this,"iterate",()=>{const{items:l}=this.options,o=new Set;for(let d=0;d<l.length;d++){const v=l[d],S=this.itemToValue(v),m=this.itemToString(v),b=this.itemToDisabled(v);o.add(JSON.stringify({value:S,disabled:b}));const w={item:Object.freeze(v),index:d,label:m,value:S,previousValue:this.itemToValue(l[d-1])??null,nextValue:this.itemToValue(l[d+1])??null};this.nodes.set(S,w),b&&this.disabledValues.add(S),d===0&&(this._firstValue=S),d===l.length-1&&(this._lastValue=S)}return this.hash=U3(Array.from(o).join("")),this}),Nt(this,"setItems",l=>(this.options.items=l,this.iterate())),Nt(this,"item",l=>{var o;return l===null?null:((o=this.nodes.get(l))==null?void 0:o.item)??null}),Nt(this,"items",l=>l.map(o=>this.item(o)).filter(Boolean)),Nt(this,"at",l=>{for(const o of this.nodes.values())if(o.index===l)return o.item;return null}),Nt(this,"sortFn",(l,o)=>{const d=this.nodes.get(l),v=this.nodes.get(o);return((d==null?void 0:d.index)??0)-((v==null?void 0:v.index)??0)}),Nt(this,"sort",l=>[...l].sort(this.sortFn)),Nt(this,"itemToValue",l=>{var o,d;return l?((d=(o=this.options).itemToValue)==null?void 0:d.call(o,l))??Ay.itemToValue(l):""}),Nt(this,"itemToString",l=>{var o,d;return l?((d=(o=this.options).itemToString)==null?void 0:d.call(o,l))??Ay.itemToString(l):""}),Nt(this,"itemToDisabled",l=>{var o,d;return l?((d=(o=this.options).isItemDisabled)==null?void 0:d.call(o,l))??Ay.itemToDisabled(l):!1}),Nt(this,"valueToString",l=>{var o;return l==null?"":((o=this.nodes.get(l))==null?void 0:o.label)??""}),Nt(this,"itemsToString",(l,o=", ")=>l.map(d=>this.itemToString(d)).filter(Boolean).join(o)),Nt(this,"has",l=>l==null?!1:this.nodes.has(l)),Nt(this,"count",()=>this.nodes.size),Nt(this,"first",()=>{let l=this._firstValue;for(;l!=null;){let o=this.nodes.get(l);if(o!=null&&!this.disabledValues.has(o.value))return l;l=(o==null?void 0:o.nextValue)??null}return null}),Nt(this,"last",()=>{let l=this._lastValue;for(;l!=null;){let o=this.nodes.get(l);if(o!=null&&!this.disabledValues.has(o.value))return l;l=(o==null?void 0:o.previousValue)??null}return null}),Nt(this,"next",l=>{if(l==null)return null;const o=this.nodes.get(l);let d=(o==null?void 0:o.nextValue)??null;for(;d!=null;){let v=this.nodes.get(d);if(v!=null&&!this.disabledValues.has(v.value))return d;d=(v==null?void 0:v.nextValue)??null}return null}),Nt(this,"prev",l=>{if(l==null)return null;const o=this.nodes.get(l);let d=(o==null?void 0:o.previousValue)??null;for(;d!=null;){let v=this.nodes.get(d);if(v!=null&&!this.disabledValues.has(v.value))return d;d=(v==null?void 0:v.previousValue)??null}return null}),Nt(this,"isItemDisabled",l=>this.disabledValues.has(this.itemToValue(l))),Nt(this,"toArray",()=>Array.from(this.nodes.values())),Nt(this,"indexOf",l=>{var o;return l==null?-1:((o=this.nodes.get(l))==null?void 0:o.index)??-1}),Nt(this,"getByText",(l,o)=>{const d=this.indexOf(o);let v=o!=null?H3(this.toArray(),d):this.toArray();return l.length===1&&(v=v.filter(m=>m.value!==o)),v.find(m=>V3(m.label,l))}),Nt(this,"search",(l,o)=>{var L;const{state:d,currentValue:v,timeout:S=350}=o,m=d.keysSoFar+l,w=m.length>1&&Array.from(m).every(N=>N===m[0])?m[0]:m,T=((L=this.getByText(w,v))==null?void 0:L.value)??null;function I(){clearTimeout(d.timer),d.timer=-1}function D(N){d.keysSoFar=N,I(),N!==""&&(d.timer=+setTimeout(()=>{D(""),I()},S))}return D(m),T}),Nt(this,"toJSON",()=>({size:this.count(),first:this.first(),last:this.last()})),this.iterate()}},V3=(r,l)=>r.toLowerCase().startsWith(l.toLowerCase()),H3=(r,l)=>r.map((o,d)=>r[(Math.max(l,0)+d)%r.length]);const Fu=Math.min,Ui=Math.max,$y=Math.round,Ry=Math.floor,zu=r=>({x:r,y:r}),B3={left:"right",right:"left",bottom:"top",top:"bottom"},j3={start:"end",end:"start"};function lC(r,l,o){return Ui(r,Fu(l,o))}function Uu(r,l){return typeof r=="function"?r(l):r}function bl(r){return r.split("-")[0]}function Nf(r){return r.split("-")[1]}function OC(r){return r==="x"?"y":"x"}function DC(r){return r==="y"?"height":"width"}function Lf(r){return["top","bottom"].includes(bl(r))?"y":"x"}function NC(r){return OC(Lf(r))}function $3(r,l,o){o===void 0&&(o=!1);const d=Nf(r),v=NC(r),S=DC(v);let m=v==="x"?d===(o?"end":"start")?"right":"left":d==="start"?"bottom":"top";return l.reference[S]>l.floating[S]&&(m=Gy(m)),[m,Gy(m)]}function G3(r){const l=Gy(r);return[uC(r),l,uC(l)]}function uC(r){return r.replace(/start|end/g,l=>j3[l])}function W3(r,l,o){const d=["left","right"],v=["right","left"],S=["top","bottom"],m=["bottom","top"];switch(r){case"top":case"bottom":return o?l?v:d:l?d:v;case"left":case"right":return l?S:m;default:return[]}}function Y3(r,l,o,d){const v=Nf(r);let S=W3(bl(r),o==="start",d);return v&&(S=S.map(m=>m+"-"+v),l&&(S=S.concat(S.map(uC)))),S}function Gy(r){return r.replace(/left|right|bottom|top/g,l=>B3[l])}function K3(r){return{top:0,right:0,bottom:0,left:0,...r}}function Jk(r){return typeof r!="number"?K3(r):{top:r,right:r,bottom:r,left:r}}function Wy(r){const{x:l,y:o,width:d,height:v}=r;return{width:d,height:v,top:o,left:l,right:l+d,bottom:o+v,x:l,y:o}}function iR(r,l,o){let{reference:d,floating:v}=r;const S=Lf(l),m=NC(l),b=DC(m),w=bl(l),T=S==="y",I=d.x+d.width/2-v.width/2,D=d.y+d.height/2-v.height/2,L=d[b]/2-v[b]/2;let N;switch(w){case"top":N={x:I,y:d.y-v.height};break;case"bottom":N={x:I,y:d.y+d.height};break;case"right":N={x:d.x+d.width,y:D};break;case"left":N={x:d.x-v.width,y:D};break;default:N={x:d.x,y:d.y}}switch(Nf(l)){case"start":N[m]-=L*(o&&T?-1:1);break;case"end":N[m]+=L*(o&&T?-1:1);break}return N}const Q3=async(r,l,o)=>{const{placement:d="bottom",strategy:v="absolute",middleware:S=[],platform:m}=o,b=S.filter(Boolean),w=await(m.isRTL==null?void 0:m.isRTL(l));let T=await m.getElementRects({reference:r,floating:l,strategy:v}),{x:I,y:D}=iR(T,d,w),L=d,N={},_=0;for(let B=0;B<b.length;B++){const{name:X,fn:z}=b[B],{x:te,y:Z,data:me,reset:fe}=await z({x:I,y:D,initialPlacement:d,placement:L,strategy:v,middlewareData:N,rects:T,platform:m,elements:{reference:r,floating:l}});I=te??I,D=Z??D,N={...N,[X]:{...N[X],...me}},fe&&_<=50&&(_++,typeof fe=="object"&&(fe.placement&&(L=fe.placement),fe.rects&&(T=fe.rects===!0?await m.getElementRects({reference:r,floating:l,strategy:v}):fe.rects),{x:I,y:D}=iR(T,L,w)),B=-1)}return{x:I,y:D,placement:L,strategy:v,middlewareData:N}};async function LC(r,l){var o;l===void 0&&(l={});const{x:d,y:v,platform:S,rects:m,elements:b,strategy:w}=r,{boundary:T="clippingAncestors",rootBoundary:I="viewport",elementContext:D="floating",altBoundary:L=!1,padding:N=0}=Uu(l,r),_=Jk(N),X=b[L?D==="floating"?"reference":"floating":D],z=Wy(await S.getClippingRect({element:(o=await(S.isElement==null?void 0:S.isElement(X)))==null||o?X:X.contextElement||await(S.getDocumentElement==null?void 0:S.getDocumentElement(b.floating)),boundary:T,rootBoundary:I,strategy:w})),te=D==="floating"?{x:d,y:v,width:m.floating.width,height:m.floating.height}:m.reference,Z=await(S.getOffsetParent==null?void 0:S.getOffsetParent(b.floating)),me=await(S.isElement==null?void 0:S.isElement(Z))?await(S.getScale==null?void 0:S.getScale(Z))||{x:1,y:1}:{x:1,y:1},fe=Wy(S.convertOffsetParentRelativeRectToViewportRelativeRect?await S.convertOffsetParentRelativeRectToViewportRelativeRect({elements:b,rect:te,offsetParent:Z,strategy:w}):te);return{top:(z.top-fe.top+_.top)/me.y,bottom:(fe.bottom-z.bottom+_.bottom)/me.y,left:(z.left-fe.left+_.left)/me.x,right:(fe.right-z.right+_.right)/me.x}}const q3=r=>({name:"arrow",options:r,async fn(l){const{x:o,y:d,placement:v,rects:S,platform:m,elements:b,middlewareData:w}=l,{element:T,padding:I=0}=Uu(r,l)||{};if(T==null)return{};const D=Jk(I),L={x:o,y:d},N=NC(v),_=DC(N),B=await m.getDimensions(T),X=N==="y",z=X?"top":"left",te=X?"bottom":"right",Z=X?"clientHeight":"clientWidth",me=S.reference[_]+S.reference[N]-L[N]-S.floating[_],fe=L[N]-S.reference[N],Fe=await(m.getOffsetParent==null?void 0:m.getOffsetParent(T));let we=Fe?Fe[Z]:0;(!we||!await(m.isElement==null?void 0:m.isElement(Fe)))&&(we=b.floating[Z]||S.floating[_]);const gt=me/2-fe/2,Ie=we/2-B[_]/2-1,Ee=Fu(D[z],Ie),se=Fu(D[te],Ie),K=Ee,Y=we-B[_]-se,ie=we/2-B[_]/2+gt,Ve=lC(K,ie,Y),ke=!w.arrow&&Nf(v)!=null&&ie!==Ve&&S.reference[_]/2-(ie<K?Ee:se)-B[_]/2<0,Be=ke?ie<K?ie-K:ie-Y:0;return{[N]:L[N]+Be,data:{[N]:Ve,centerOffset:ie-Ve-Be,...ke&&{alignmentOffset:Be}},reset:ke}}}),X3=function(r){return r===void 0&&(r={}),{name:"flip",options:r,async fn(l){var o,d;const{placement:v,middlewareData:S,rects:m,initialPlacement:b,platform:w,elements:T}=l,{mainAxis:I=!0,crossAxis:D=!0,fallbackPlacements:L,fallbackStrategy:N="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:B=!0,...X}=Uu(r,l);if((o=S.arrow)!=null&&o.alignmentOffset)return{};const z=bl(v),te=bl(b)===b,Z=await(w.isRTL==null?void 0:w.isRTL(T.floating)),me=L||(te||!B?[Gy(b)]:G3(b));!L&&_!=="none"&&me.push(...Y3(b,B,_,Z));const fe=[b,...me],Fe=await LC(l,X),we=[];let gt=((d=S.flip)==null?void 0:d.overflows)||[];if(I&&we.push(Fe[z]),D){const K=$3(v,m,Z);we.push(Fe[K[0]],Fe[K[1]])}if(gt=[...gt,{placement:v,overflows:we}],!we.every(K=>K<=0)){var Ie,Ee;const K=(((Ie=S.flip)==null?void 0:Ie.index)||0)+1,Y=fe[K];if(Y)return{data:{index:K,overflows:gt},reset:{placement:Y}};let ie=(Ee=gt.filter(Ve=>Ve.overflows[0]<=0).sort((Ve,ke)=>Ve.overflows[1]-ke.overflows[1])[0])==null?void 0:Ee.placement;if(!ie)switch(N){case"bestFit":{var se;const Ve=(se=gt.map(ke=>[ke.placement,ke.overflows.filter(Be=>Be>0).reduce((Be,oe)=>Be+oe,0)]).sort((ke,Be)=>ke[1]-Be[1])[0])==null?void 0:se[0];Ve&&(ie=Ve);break}case"initialPlacement":ie=b;break}if(v!==ie)return{reset:{placement:ie}}}return{}}}};async function Z3(r,l){const{placement:o,platform:d,elements:v}=r,S=await(d.isRTL==null?void 0:d.isRTL(v.floating)),m=bl(o),b=Nf(o),w=Lf(o)==="y",T=["left","top"].includes(m)?-1:1,I=S&&w?-1:1,D=Uu(l,r);let{mainAxis:L,crossAxis:N,alignmentAxis:_}=typeof D=="number"?{mainAxis:D,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...D};return b&&typeof _=="number"&&(N=b==="end"?_*-1:_),w?{x:N*I,y:L*T}:{x:L*T,y:N*I}}const J3=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(l){var o,d;const{x:v,y:S,placement:m,middlewareData:b}=l,w=await Z3(l,r);return m===((o=b.offset)==null?void 0:o.placement)&&(d=b.arrow)!=null&&d.alignmentOffset?{}:{x:v+w.x,y:S+w.y,data:{...w,placement:m}}}}},ez=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(l){const{x:o,y:d,placement:v}=l,{mainAxis:S=!0,crossAxis:m=!1,limiter:b={fn:X=>{let{x:z,y:te}=X;return{x:z,y:te}}},...w}=Uu(r,l),T={x:o,y:d},I=await LC(l,w),D=Lf(bl(v)),L=OC(D);let N=T[L],_=T[D];if(S){const X=L==="y"?"top":"left",z=L==="y"?"bottom":"right",te=N+I[X],Z=N-I[z];N=lC(te,N,Z)}if(m){const X=D==="y"?"top":"left",z=D==="y"?"bottom":"right",te=_+I[X],Z=_-I[z];_=lC(te,_,Z)}const B=b.fn({...l,[L]:N,[D]:_});return{...B,data:{x:B.x-o,y:B.y-d}}}}},tz=function(r){return r===void 0&&(r={}),{options:r,fn(l){const{x:o,y:d,placement:v,rects:S,middlewareData:m}=l,{offset:b=0,mainAxis:w=!0,crossAxis:T=!0}=Uu(r,l),I={x:o,y:d},D=Lf(v),L=OC(D);let N=I[L],_=I[D];const B=Uu(b,l),X=typeof B=="number"?{mainAxis:B,crossAxis:0}:{mainAxis:0,crossAxis:0,...B};if(w){const Z=L==="y"?"height":"width",me=S.reference[L]-S.floating[Z]+X.mainAxis,fe=S.reference[L]+S.reference[Z]-X.mainAxis;N<me?N=me:N>fe&&(N=fe)}if(T){var z,te;const Z=L==="y"?"width":"height",me=["top","left"].includes(bl(v)),fe=S.reference[D]-S.floating[Z]+(me&&((z=m.offset)==null?void 0:z[D])||0)+(me?0:X.crossAxis),Fe=S.reference[D]+S.reference[Z]+(me?0:((te=m.offset)==null?void 0:te[D])||0)-(me?X.crossAxis:0);_<fe?_=fe:_>Fe&&(_=Fe)}return{[L]:N,[D]:_}}}},nz=function(r){return r===void 0&&(r={}),{name:"size",options:r,async fn(l){const{placement:o,rects:d,platform:v,elements:S}=l,{apply:m=()=>{},...b}=Uu(r,l),w=await LC(l,b),T=bl(o),I=Nf(o),D=Lf(o)==="y",{width:L,height:N}=d.floating;let _,B;T==="top"||T==="bottom"?(_=T,B=I===(await(v.isRTL==null?void 0:v.isRTL(S.floating))?"start":"end")?"left":"right"):(B=T,_=I==="end"?"top":"bottom");const X=N-w[_],z=L-w[B],te=!l.middlewareData.shift;let Z=X,me=z;if(D){const Fe=L-w.left-w.right;me=I||te?Fu(z,Fe):Fe}else{const Fe=N-w.top-w.bottom;Z=I||te?Fu(X,Fe):Fe}if(te&&!I){const Fe=Ui(w.left,0),we=Ui(w.right,0),gt=Ui(w.top,0),Ie=Ui(w.bottom,0);D?me=L-2*(Fe!==0||we!==0?Fe+we:Ui(w.left,w.right)):Z=N-2*(gt!==0||Ie!==0?gt+Ie:Ui(w.top,w.bottom))}await m({...l,availableWidth:me,availableHeight:Z});const fe=await v.getDimensions(S.floating);return L!==fe.width||N!==fe.height?{reset:{rects:!0}}:{}}}};function If(r){return eO(r)?(r.nodeName||"").toLowerCase():"#document"}function Hi(r){var l;return(r==null||(l=r.ownerDocument)==null?void 0:l.defaultView)||window}function wl(r){var l;return(l=(eO(r)?r.ownerDocument:r.document)||window.document)==null?void 0:l.documentElement}function eO(r){return r instanceof Node||r instanceof Hi(r).Node}function ko(r){return r instanceof Element||r instanceof Hi(r).Element}function Oo(r){return r instanceof HTMLElement||r instanceof Hi(r).HTMLElement}function aR(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof Hi(r).ShadowRoot}function ch(r){const{overflow:l,overflowX:o,overflowY:d,display:v}=Ha(r);return/auto|scroll|overlay|hidden|clip/.test(l+d+o)&&!["inline","contents"].includes(v)}function rz(r){return["table","td","th"].includes(If(r))}function IC(r){const l=AC(),o=Ha(r);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!l&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!l&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(d=>(o.willChange||"").includes(d))||["paint","layout","strict","content"].some(d=>(o.contain||"").includes(d))}function iz(r){let l=Vu(r);for(;Oo(l)&&!Of(l);){if(IC(l))return l;l=Vu(l)}return null}function AC(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Of(r){return["html","body","#document"].includes(If(r))}function Ha(r){return Hi(r).getComputedStyle(r)}function r0(r){return ko(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function Vu(r){if(If(r)==="html")return r;const l=r.assignedSlot||r.parentNode||aR(r)&&r.host||wl(r);return aR(l)?l.host:l}function tO(r){const l=Vu(r);return Of(l)?r.ownerDocument?r.ownerDocument.body:r.body:Oo(l)&&ch(l)?l:tO(l)}function oh(r,l,o){var d;l===void 0&&(l=[]),o===void 0&&(o=!0);const v=tO(r),S=v===((d=r.ownerDocument)==null?void 0:d.body),m=Hi(v);return S?l.concat(m,m.visualViewport||[],ch(v)?v:[],m.frameElement&&o?oh(m.frameElement):[]):l.concat(v,oh(v,[],o))}function nO(r){const l=Ha(r);let o=parseFloat(l.width)||0,d=parseFloat(l.height)||0;const v=Oo(r),S=v?r.offsetWidth:o,m=v?r.offsetHeight:d,b=$y(o)!==S||$y(d)!==m;return b&&(o=S,d=m),{width:o,height:d,$:b}}function _C(r){return ko(r)?r:r.contextElement}function xf(r){const l=_C(r);if(!Oo(l))return zu(1);const o=l.getBoundingClientRect(),{width:d,height:v,$:S}=nO(l);let m=(S?$y(o.width):o.width)/d,b=(S?$y(o.height):o.height)/v;return(!m||!Number.isFinite(m))&&(m=1),(!b||!Number.isFinite(b))&&(b=1),{x:m,y:b}}const az=zu(0);function rO(r){const l=Hi(r);return!AC()||!l.visualViewport?az:{x:l.visualViewport.offsetLeft,y:l.visualViewport.offsetTop}}function oz(r,l,o){return l===void 0&&(l=!1),!o||l&&o!==Hi(r)?!1:l}function vc(r,l,o,d){l===void 0&&(l=!1),o===void 0&&(o=!1);const v=r.getBoundingClientRect(),S=_C(r);let m=zu(1);l&&(d?ko(d)&&(m=xf(d)):m=xf(r));const b=oz(S,o,d)?rO(S):zu(0);let w=(v.left+b.x)/m.x,T=(v.top+b.y)/m.y,I=v.width/m.x,D=v.height/m.y;if(S){const L=Hi(S),N=d&&ko(d)?Hi(d):d;let _=L,B=_.frameElement;for(;B&&d&&N!==_;){const X=xf(B),z=B.getBoundingClientRect(),te=Ha(B),Z=z.left+(B.clientLeft+parseFloat(te.paddingLeft))*X.x,me=z.top+(B.clientTop+parseFloat(te.paddingTop))*X.y;w*=X.x,T*=X.y,I*=X.x,D*=X.y,w+=Z,T+=me,_=Hi(B),B=_.frameElement}}return Wy({width:I,height:D,x:w,y:T})}const lz=[":popover-open",":modal"];function MC(r){return lz.some(l=>{try{return r.matches(l)}catch{return!1}})}function uz(r){let{elements:l,rect:o,offsetParent:d,strategy:v}=r;const S=v==="fixed",m=wl(d),b=l?MC(l.floating):!1;if(d===m||b&&S)return o;let w={scrollLeft:0,scrollTop:0},T=zu(1);const I=zu(0),D=Oo(d);if((D||!D&&!S)&&((If(d)!=="body"||ch(m))&&(w=r0(d)),Oo(d))){const L=vc(d);T=xf(d),I.x=L.x+d.clientLeft,I.y=L.y+d.clientTop}return{width:o.width*T.x,height:o.height*T.y,x:o.x*T.x-w.scrollLeft*T.x+I.x,y:o.y*T.y-w.scrollTop*T.y+I.y}}function sz(r){return Array.from(r.getClientRects())}function iO(r){return vc(wl(r)).left+r0(r).scrollLeft}function cz(r){const l=wl(r),o=r0(r),d=r.ownerDocument.body,v=Ui(l.scrollWidth,l.clientWidth,d.scrollWidth,d.clientWidth),S=Ui(l.scrollHeight,l.clientHeight,d.scrollHeight,d.clientHeight);let m=-o.scrollLeft+iO(r);const b=-o.scrollTop;return Ha(d).direction==="rtl"&&(m+=Ui(l.clientWidth,d.clientWidth)-v),{width:v,height:S,x:m,y:b}}function dz(r,l){const o=Hi(r),d=wl(r),v=o.visualViewport;let S=d.clientWidth,m=d.clientHeight,b=0,w=0;if(v){S=v.width,m=v.height;const T=AC();(!T||T&&l==="fixed")&&(b=v.offsetLeft,w=v.offsetTop)}return{width:S,height:m,x:b,y:w}}function fz(r,l){const o=vc(r,!0,l==="fixed"),d=o.top+r.clientTop,v=o.left+r.clientLeft,S=Oo(r)?xf(r):zu(1),m=r.clientWidth*S.x,b=r.clientHeight*S.y,w=v*S.x,T=d*S.y;return{width:m,height:b,x:w,y:T}}function oR(r,l,o){let d;if(l==="viewport")d=dz(r,o);else if(l==="document")d=cz(wl(r));else if(ko(l))d=fz(l,o);else{const v=rO(r);d={...l,x:l.x-v.x,y:l.y-v.y}}return Wy(d)}function aO(r,l){const o=Vu(r);return o===l||!ko(o)||Of(o)?!1:Ha(o).position==="fixed"||aO(o,l)}function pz(r,l){const o=l.get(r);if(o)return o;let d=oh(r,[],!1).filter(b=>ko(b)&&If(b)!=="body"),v=null;const S=Ha(r).position==="fixed";let m=S?Vu(r):r;for(;ko(m)&&!Of(m);){const b=Ha(m),w=IC(m);!w&&b.position==="fixed"&&(v=null),(S?!w&&!v:!w&&b.position==="static"&&!!v&&["absolute","fixed"].includes(v.position)||ch(m)&&!w&&aO(r,m))?d=d.filter(I=>I!==m):v=b,m=Vu(m)}return l.set(r,d),d}function vz(r){let{element:l,boundary:o,rootBoundary:d,strategy:v}=r;const m=[...o==="clippingAncestors"?MC(l)?[]:pz(l,this._c):[].concat(o),d],b=m[0],w=m.reduce((T,I)=>{const D=oR(l,I,v);return T.top=Ui(D.top,T.top),T.right=Fu(D.right,T.right),T.bottom=Fu(D.bottom,T.bottom),T.left=Ui(D.left,T.left),T},oR(l,b,v));return{width:w.right-w.left,height:w.bottom-w.top,x:w.left,y:w.top}}function hz(r){const{width:l,height:o}=nO(r);return{width:l,height:o}}function mz(r,l,o){const d=Oo(l),v=wl(l),S=o==="fixed",m=vc(r,!0,S,l);let b={scrollLeft:0,scrollTop:0};const w=zu(0);if(d||!d&&!S)if((If(l)!=="body"||ch(v))&&(b=r0(l)),d){const D=vc(l,!0,S,l);w.x=D.x+l.clientLeft,w.y=D.y+l.clientTop}else v&&(w.x=iO(v));const T=m.left+b.scrollLeft-w.x,I=m.top+b.scrollTop-w.y;return{x:T,y:I,width:m.width,height:m.height}}function Xb(r){return Ha(r).position==="static"}function lR(r,l){return!Oo(r)||Ha(r).position==="fixed"?null:l?l(r):r.offsetParent}function oO(r,l){const o=Hi(r);if(MC(r))return o;if(!Oo(r)){let v=Vu(r);for(;v&&!Of(v);){if(ko(v)&&!Xb(v))return v;v=Vu(v)}return o}let d=lR(r,l);for(;d&&rz(d)&&Xb(d);)d=lR(d,l);return d&&Of(d)&&Xb(d)&&!IC(d)?o:d||iz(r)||o}const gz=async function(r){const l=this.getOffsetParent||oO,o=this.getDimensions,d=await o(r.floating);return{reference:mz(r.reference,await l(r.floating),r.strategy),floating:{x:0,y:0,width:d.width,height:d.height}}};function yz(r){return Ha(r).direction==="rtl"}const Sz={convertOffsetParentRelativeRectToViewportRelativeRect:uz,getDocumentElement:wl,getClippingRect:vz,getOffsetParent:oO,getElementRects:gz,getClientRects:sz,getDimensions:hz,getScale:xf,isElement:ko,isRTL:yz};function Ez(r,l){let o=null,d;const v=wl(r);function S(){var b;clearTimeout(d),(b=o)==null||b.disconnect(),o=null}function m(b,w){b===void 0&&(b=!1),w===void 0&&(w=1),S();const{left:T,top:I,width:D,height:L}=r.getBoundingClientRect();if(b||l(),!D||!L)return;const N=Ry(I),_=Ry(v.clientWidth-(T+D)),B=Ry(v.clientHeight-(I+L)),X=Ry(T),te={rootMargin:-N+"px "+-_+"px "+-B+"px "+-X+"px",threshold:Ui(0,Fu(1,w))||1};let Z=!0;function me(fe){const Fe=fe[0].intersectionRatio;if(Fe!==w){if(!Z)return m();Fe?m(!1,Fe):d=setTimeout(()=>{m(!1,1e-7)},1e3)}Z=!1}try{o=new IntersectionObserver(me,{...te,root:v.ownerDocument})}catch{o=new IntersectionObserver(me,te)}o.observe(r)}return m(!0),S}function bz(r,l,o,d){d===void 0&&(d={});const{ancestorScroll:v=!0,ancestorResize:S=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:b=typeof IntersectionObserver=="function",animationFrame:w=!1}=d,T=_C(r),I=v||S?[...T?oh(T):[],...oh(l)]:[];I.forEach(z=>{v&&z.addEventListener("scroll",o,{passive:!0}),S&&z.addEventListener("resize",o)});const D=T&&b?Ez(T,o):null;let L=-1,N=null;m&&(N=new ResizeObserver(z=>{let[te]=z;te&&te.target===T&&N&&(N.unobserve(l),cancelAnimationFrame(L),L=requestAnimationFrame(()=>{var Z;(Z=N)==null||Z.observe(l)})),o()}),T&&!w&&N.observe(T),N.observe(l));let _,B=w?vc(r):null;w&&X();function X(){const z=vc(r);B&&(z.x!==B.x||z.y!==B.y||z.width!==B.width||z.height!==B.height)&&o(),B=z,_=requestAnimationFrame(X)}return o(),()=>{var z;I.forEach(te=>{v&&te.removeEventListener("scroll",o),S&&te.removeEventListener("resize",o)}),D==null||D(),(z=N)==null||z.disconnect(),N=null,w&&cancelAnimationFrame(_)}}const Cz=J3,Tz=ez,wz=X3,xz=nz,Rz=q3,kz=tz,Oz=(r,l,o)=>{const d=new Map,v={platform:Sz,...o},S={...v.platform,_c:d};return Q3(r,l,{...v,platform:S})};function uR(r=0,l=0,o=0,d=0){if(typeof DOMRect=="function")return new DOMRect(r,l,o,d);const v={x:r,y:l,width:o,height:d,top:l,right:r+o,bottom:l+d,left:r};return{...v,toJSON:()=>v}}function Dz(r){if(!r)return uR();const{x:l,y:o,width:d,height:v}=r;return uR(l,o,d,v)}function Nz(r,l){return{contextElement:Ro(r)?r:void 0,getBoundingClientRect:()=>{const o=r,d=l==null?void 0:l(o);return d||!o?Dz(d):o.getBoundingClientRect()}}}var eh=r=>({variable:r,reference:`var(${r})`}),yl={arrowSize:eh("--arrow-size"),arrowSizeHalf:eh("--arrow-size-half"),arrowBg:eh("--arrow-background"),transformOrigin:eh("--transform-origin"),arrowOffset:eh("--arrow-offset")},Lz=r=>({top:"bottom center","top-start":r?`${r.x}px bottom`:"left bottom","top-end":r?`${r.x}px bottom`:"right bottom",bottom:"top center","bottom-start":r?`${r.x}px top`:"top left","bottom-end":r?`${r.x}px top`:"top right",left:"right center","left-start":r?`right ${r.y}px`:"right top","left-end":r?`right ${r.y}px`:"right bottom",right:"left center","right-start":r?`left ${r.y}px`:"left top","right-end":r?`left ${r.y}px`:"left bottom"}),Iz={name:"transformOrigin",fn({placement:r,elements:l,middlewareData:o}){const{arrow:d}=o,v=Lz(d)[r],{floating:S}=l;return S.style.setProperty(yl.transformOrigin.variable,v),{data:{transformOrigin:v}}}},Az={name:"rects",fn({rects:r}){return{data:r}}},_z=r=>{if(r)return{name:"shiftArrow",fn({placement:l,middlewareData:o}){if(!o.arrow)return{};const{x:d,y:v}=o.arrow,S=l.split("-")[0];return Object.assign(r.style,{left:d!=null?`${d}px`:"",top:v!=null?`${v}px`:"",[S]:`calc(100% + ${yl.arrowOffset.reference})`}),{}}}};function Mz(r){const[l,o]=r.split("-");return{side:l,align:o,hasAlign:o!=null}}var Pz={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function sR(r,l){const o=r.devicePixelRatio||1;return Math.round(l*o)/o}function lO(r){return vM(r.boundary)}function Fz(r,l){if(r)return Rz({element:r,padding:l.arrowPadding})}function zz(r,l){if(!gM(l.offset??l.gutter))return Cz(({placement:o})=>{var T,I;const d=((r==null?void 0:r.clientHeight)||0)/2,v=((T=l.offset)==null?void 0:T.mainAxis)??l.gutter,S=typeof v=="number"?v+d:v??d,{hasAlign:m}=Mz(o),b=m?void 0:l.shift,w=((I=l.offset)==null?void 0:I.crossAxis)??b;return Cl({crossAxis:w,mainAxis:S,alignmentAxis:l.shift})})}function Uz(r){if(r.flip)return wz({boundary:lO(r),padding:r.overflowPadding,fallbackPlacements:r.flip===!0?void 0:r.flip})}function Vz(r){if(!(!r.slide&&!r.overlap))return Tz({boundary:lO(r),mainAxis:r.slide,crossAxis:r.overlap,padding:r.overflowPadding,limiter:kz()})}function Hz(r){return xz({padding:r.overflowPadding,apply({elements:l,rects:o,availableHeight:d,availableWidth:v}){const S=l.floating,m=Math.round(o.reference.width);v=Math.floor(v),d=Math.floor(d),S.style.setProperty("--reference-width",`${m}px`),S.style.setProperty("--available-width",`${v}px`),S.style.setProperty("--available-height",`${d}px`)}})}function Bz(r){return r?r===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:r:{}}function jz(r,l,o={}){const d=Nz(r,o.getAnchorRect);if(!l||!d)return;const v=Object.assign({},Pz,o),S=l.querySelector("[data-part=arrow]"),m=[zz(S,v),Uz(v),Vz(v),Fz(S,v),_z(S),Iz,Hz(v),Az],{placement:b,strategy:w,onComplete:T,onPositioned:I}=v,D=async()=>{if(!d||!l)return;const B=await Oz(d,l,{placement:b,middleware:m,strategy:w});T==null||T(B),I==null||I({placed:!0});const X=Hu(l),z=sR(X,B.x),te=sR(X,B.y);l.style.setProperty("--x",`${z}px`),l.style.setProperty("--y",`${te}px`);const Z=l.firstElementChild;if(Z){const me=X.getComputedStyle(Z).zIndex;l.style.setProperty("--z-index",me)}},L=async()=>{o.updatePosition?(await o.updatePosition({updatePosition:D}),I==null||I({placed:!0})):await D()},N=Bz(v.listeners),_=v.listeners?bz(d,l,L,N):hM;return L(),()=>{_==null||_(),I==null||I({placed:!1})}}function cR(r,l,o={}){const{defer:d,...v}=o,S=d?Tn:b=>b(),m=[];return m.push(S(()=>{const b=typeof r=="function"?r():r,w=typeof l=="function"?l():l;m.push(jz(b,w,v))})),()=>{m.forEach(b=>b==null?void 0:b())}}var $z={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"};function Gz(r={}){const{placement:l,sameWidth:o,fitViewport:d,strategy:v="absolute"}=r;return{arrow:{position:"absolute",width:yl.arrowSize.reference,height:yl.arrowSize.reference,[yl.arrowSizeHalf.variable]:`calc(${yl.arrowSize.reference} / 2)`,[yl.arrowOffset.variable]:`calc(${yl.arrowSizeHalf.reference} * -1)`},arrowTip:{transform:l?$z[l.split("-")[0]]:void 0,background:yl.arrowBg.reference,top:"0",left:"0",width:"100%",height:"100%",position:"absolute",zIndex:"inherit"},floating:{position:v,isolation:"isolate",minWidth:o?void 0:"max-content",width:o?"var(--reference-width)":void 0,maxWidth:d?"var(--available-width)":void 0,maxHeight:d?"var(--available-height)":void 0,top:"0px",left:"0px",transform:l?"translate3d(var(--x), var(--y), 0)":"translate3d(0, -100vh, 0)",zIndex:"var(--z-index)"}}}var Wz=wo("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","control"),Pi=Wz.build(),PC=r=>fc(new Zk(r));PC.empty=()=>fc(new Zk({items:[]}));var Ye=hc({getRootId:r=>{var l;return((l=r.ids)==null?void 0:l.root)??`select:${r.id}`},getContentId:r=>{var l;return((l=r.ids)==null?void 0:l.content)??`select:${r.id}:content`},getTriggerId:r=>{var l;return((l=r.ids)==null?void 0:l.trigger)??`select:${r.id}:trigger`},getClearTriggerId:r=>{var l;return((l=r.ids)==null?void 0:l.clearTrigger)??`select:${r.id}:clear-trigger`},getLabelId:r=>{var l;return((l=r.ids)==null?void 0:l.label)??`select:${r.id}:label`},getControlId:r=>{var l;return((l=r.ids)==null?void 0:l.control)??`select:${r.id}:control`},getItemId:(r,l)=>{var o,d;return((d=(o=r.ids)==null?void 0:o.item)==null?void 0:d.call(o,l))??`select:${r.id}:option:${l}`},getHiddenSelectId:r=>{var l;return((l=r.ids)==null?void 0:l.hiddenSelect)??`select:${r.id}:select`},getPositionerId:r=>{var l;return((l=r.ids)==null?void 0:l.positioner)??`select:${r.id}:positioner`},getItemGroupId:(r,l)=>{var o,d;return((d=(o=r.ids)==null?void 0:o.itemGroup)==null?void 0:d.call(o,l))??`select:${r.id}:optgroup:${l}`},getItemGroupLabelId:(r,l)=>{var o,d;return((d=(o=r.ids)==null?void 0:o.itemGroupLabel)==null?void 0:d.call(o,l))??`select:${r.id}:optgroup-label:${l}`},getHiddenSelectEl:r=>Ye.getById(r,Ye.getHiddenSelectId(r)),getContentEl:r=>Ye.getById(r,Ye.getContentId(r)),getControlEl:r=>Ye.getById(r,Ye.getControlId(r)),getTriggerEl:r=>Ye.getById(r,Ye.getTriggerId(r)),getClearTriggerEl:r=>Ye.getById(r,Ye.getClearTriggerId(r)),getPositionerEl:r=>Ye.getById(r,Ye.getPositionerId(r)),getHighlightedOptionEl(r){return r.highlightedValue?Ye.getById(r,Ye.getItemId(r,r.highlightedValue)):null}});function Yz(r,l,o){const d=r.context.isDisabled,v=r.context.invalid,S=r.context.readOnly,m=r.context.isInteractive,b=r.context.composite,w=r.hasTag("open"),T=r.matches("focused"),I=r.context.highlightedValue,D=r.context.highlightedItem,L=r.context.selectedItems,N=r.context.isTypingAhead,_=I?Ye.getItemId(r.context,I):void 0;function B(z){const te=r.context.collection.isItemDisabled(z.item),Z=r.context.collection.itemToValue(z.item);return{value:Z,disabled:!!(d||te),highlighted:I===Z,selected:r.context.value.includes(Z)}}const X=Gz({...r.context.positioning,placement:r.context.currentPlacement});return{open:w,focused:T,empty:r.context.value.length===0,highlightedItem:D,highlightedValue:I,selectedItems:L,hasSelectedItems:r.context.hasSelectedItems,value:r.context.value,valueAsString:r.context.valueAsString,collection:r.context.collection,setCollection(z){l({type:"COLLECTION.SET",value:z})},reposition(z={}){l({type:"POSITIONING.SET",options:z})},focus(){var z;(z=Ye.getTriggerEl(r.context))==null||z.focus({preventScroll:!0})},setOpen(z){z!==w&&l(z?"OPEN":"CLOSE")},selectValue(z){l({type:"ITEM.SELECT",value:z})},setValue(z){l({type:"VALUE.SET",value:z})},highlightValue(z){l({type:"HIGHLIGHTED_VALUE.SET",value:z})},clearValue(z){l(z?{type:"ITEM.CLEAR",value:z}:{type:"VALUE.CLEAR"})},getItemState:B,rootProps:o.element({...Pi.root.attrs,dir:r.context.dir,id:Ye.getRootId(r.context),"data-invalid":tt(v),"data-readonly":tt(S)}),labelProps:o.label({dir:r.context.dir,id:Ye.getLabelId(r.context),...Pi.label.attrs,"data-disabled":tt(d),"data-invalid":tt(v),"data-readonly":tt(S),htmlFor:Ye.getHiddenSelectId(r.context),onClick(z){var te;z.defaultPrevented||d||(te=Ye.getTriggerEl(r.context))==null||te.focus({preventScroll:!0})}}),controlProps:o.element({...Pi.control.attrs,dir:r.context.dir,id:Ye.getControlId(r.context),"data-state":w?"open":"closed","data-focus":tt(T),"data-disabled":tt(d),"data-invalid":tt(v)}),triggerProps:o.button({id:Ye.getTriggerId(r.context),disabled:d,dir:r.context.dir,type:"button",role:"combobox","aria-controls":Ye.getContentId(r.context),"aria-expanded":w,"aria-haspopup":"listbox","data-state":w?"open":"closed","aria-invalid":v,"aria-labelledby":Ye.getLabelId(r.context),...Pi.trigger.attrs,"data-disabled":tt(d),"data-invalid":tt(v),"data-readonly":tt(S),"data-placement":r.context.currentPlacement,"data-placeholder-shown":tt(!r.context.hasSelectedItems),onPointerDown(z){tM(z)&&m&&(z.currentTarget.dataset.pointerType=z.pointerType,!(d||z.pointerType==="touch")&&l({type:"TRIGGER.CLICK"}))},onClick(z){!m||z.button||z.currentTarget.dataset.pointerType==="touch"&&l({type:"TRIGGER.CLICK"})},onFocus(){l("TRIGGER.FOCUS")},onBlur(){l("TRIGGER.BLUR")},onKeyDown(z){if(z.defaultPrevented||!m)return;const Z={ArrowUp(){l({type:"TRIGGER.ARROW_UP"})},ArrowDown(me){l({type:me.altKey?"OPEN":"TRIGGER.ARROW_DOWN"})},ArrowLeft(){l({type:"TRIGGER.ARROW_LEFT"})},ArrowRight(){l({type:"TRIGGER.ARROW_RIGHT"})},Home(){l({type:"TRIGGER.HOME"})},End(){l({type:"TRIGGER.END"})},Enter(){l({type:"TRIGGER.ENTER"})},Space(me){l(N?{type:"TRIGGER.TYPEAHEAD",key:me.key}:{type:"TRIGGER.ENTER"})}}[My(z,r.context)];if(Z){Z(z),z.preventDefault();return}Zb.isValidEvent(z)&&(l({type:"TRIGGER.TYPEAHEAD",key:z.key}),z.preventDefault())}}),indicatorProps:o.element({...Pi.indicator.attrs,dir:r.context.dir,"aria-hidden":!0,"data-state":w?"open":"closed","data-disabled":tt(d),"data-invalid":tt(v),"data-readonly":tt(S)}),getItemProps(z){const te=B(z);return o.element({id:Ye.getItemId(r.context,te.value),role:"option",...Pi.item.attrs,dir:r.context.dir,"data-value":te.value,"aria-selected":te.selected,"data-state":te.selected?"checked":"unchecked","data-highlighted":tt(te.highlighted),"data-disabled":tt(te.disabled),"aria-disabled":S_(te.disabled),onPointerMove(Z){te.disabled||Z.pointerType!=="mouse"||te.value!==r.context.highlightedValue&&l({type:"ITEM.POINTER_MOVE",value:te.value})},onPointerUp(){te.disabled||l({type:"ITEM.CLICK",src:"pointerup",value:te.value})},onPointerLeave(Z){te.disabled||z.persistFocus||Z.pointerType!=="mouse"||["CONTENT.ARROW_UP","CONTENT.ARROW_DOWN"].includes(r.event.type)||l({type:"ITEM.POINTER_LEAVE"})},onTouchEnd(Z){Z.preventDefault(),Z.stopPropagation()}})},getItemTextProps(z){const te=B(z);return o.element({...Pi.itemText.attrs,"data-disabled":tt(te.disabled),"data-highlighted":tt(te.highlighted)})},getItemIndicatorProps(z){const te=B(z);return o.element({"aria-hidden":!0,...Pi.itemIndicator.attrs,"data-state":te.selected?"checked":"unchecked",hidden:!te.selected})},getItemGroupLabelProps(z){const{htmlFor:te}=z;return o.element({...Pi.itemGroupLabel.attrs,id:Ye.getItemGroupLabelId(r.context,te),role:"group",dir:r.context.dir})},getItemGroupProps(z){const{id:te}=z;return o.element({...Pi.itemGroup.attrs,"data-disabled":tt(d),id:Ye.getItemGroupId(r.context,te),"aria-labelledby":Ye.getItemGroupLabelId(r.context,te),dir:r.context.dir})},clearTriggerProps:o.button({...Pi.clearTrigger.attrs,id:Ye.getClearTriggerId(r.context),type:"button","aria-label":"Clear value",disabled:d,hidden:!r.context.hasSelectedItems,dir:r.context.dir,onClick(z){z.defaultPrevented||l("VALUE.CLEAR")}}),hiddenSelectProps:o.select({name:r.context.name,form:r.context.form,disabled:d,multiple:r.context.multiple,"aria-hidden":!0,id:Ye.getHiddenSelectId(r.context),defaultValue:r.context.multiple?r.context.value:r.context.value[0],style:hC,tabIndex:-1,onFocus(){var z;(z=Ye.getTriggerEl(r.context))==null||z.focus({preventScroll:!0})},"aria-labelledby":Ye.getLabelId(r.context)}),positionerProps:o.element({...Pi.positioner.attrs,dir:r.context.dir,id:Ye.getPositionerId(r.context),style:X.floating}),contentProps:o.element({hidden:!w,dir:r.context.dir,id:Ye.getContentId(r.context),role:b?"listbox":"dialog",...Pi.content.attrs,"data-state":w?"open":"closed","data-placement":r.context.currentPlacement,"data-activedescendant":_,"aria-activedescendant":b?_:void 0,"aria-multiselectable":r.context.multiple&&b?!0:void 0,"aria-labelledby":Ye.getLabelId(r.context),tabIndex:0,onKeyDown(z){const te=TR(z);if(!m||!hR(te))return;if(z.key==="Tab"&&!B_(z)){z.preventDefault();return}const Z={ArrowUp(){l({type:"CONTENT.ARROW_UP"})},ArrowDown(){l({type:"CONTENT.ARROW_DOWN"})},Home(){l({type:"CONTENT.HOME"})},End(){l({type:"CONTENT.END"})},Enter(){l({type:"ITEM.CLICK",src:"keydown.enter"})},Space(fe){var Fe;N?l({type:"CONTENT.TYPEAHEAD",key:fe.key}):(Fe=Z.Enter)==null||Fe.call(Z,fe)}},me=Z[My(z)];if(me){me(z),z.preventDefault();return}j_(z.target)||Zb.isValidEvent(z)&&(l({type:"CONTENT.TYPEAHEAD",key:z.key}),z.preventDefault())}}),listProps:o.element({tabIndex:0,role:b?void 0:"listbox","aria-labelledby":Ye.getTriggerId(r.context),"aria-activedescendant":b?void 0:_,"aria-multiselectable":!b&&r.context.multiple?!0:void 0})}}var{and:Cf,not:lc,or:Kz}=uh;function Qz(r){const l=Cl(r);return Bu({id:"select",context:{value:[],highlightedValue:null,loopFocus:!1,closeOnSelect:!0,disabled:!1,composite:!0,...l,highlightedItem:null,selectedItems:[],valueAsString:"",collection:l.collection??PC.empty(),typeahead:Zb.defaultOptions,fieldsetDisabled:!1,restoreFocus:!0,positioning:{placement:"bottom-start",gutter:8,...l.positioning}},computed:{hasSelectedItems:o=>o.value.length>0,isTypingAhead:o=>o.typeahead.keysSoFar!=="",isDisabled:o=>!!o.disabled||o.fieldsetDisabled,isInteractive:o=>!(o.isDisabled||o.readOnly)},initial:l.open?"open":"idle",created:["syncInitialValues"],entry:["syncSelectElement"],watch:{open:["toggleVisibility"],value:["syncSelectedItems","syncSelectElement"],highlightedValue:["syncHighlightedItem"]},on:{"HIGHLIGHTED_VALUE.SET":{actions:["setHighlightedItem"]},"ITEM.SELECT":{actions:["selectItem"]},"ITEM.CLEAR":{actions:["clearItem"]},"VALUE.SET":{actions:["setSelectedItems"]},"VALUE.CLEAR":{actions:["clearSelectedItems"]},"COLLECTION.SET":{actions:["setCollection"]}},activities:["trackFormControlState"],states:{idle:{tags:["closed"],on:{"CONTROLLED.OPEN":[{guard:"isTriggerClickEvent",target:"open",actions:["highlightFirstSelectedItem"]},{target:"open"}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","highlightFirstSelectedItem"]}],"TRIGGER.FOCUS":{target:"focused"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}]}},focused:{tags:["closed"],entry:["setFinalFocus"],on:{"CONTROLLED.OPEN":[{guard:"isTriggerClickEvent",target:"open",actions:["highlightFirstSelectedItem"]},{guard:"isTriggerArrowUpEvent",target:"open",actions:["highlightComputedLastItem"]},{guard:Kz("isTriggerArrowDownEvent","isTriggerEnterEvent"),target:"open",actions:["highlightComputedFirstItem"]},{target:"open"}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen"]}],"TRIGGER.BLUR":{target:"idle"},"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","highlightFirstSelectedItem"]}],"TRIGGER.ENTER":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","highlightComputedFirstItem"]}],"TRIGGER.ARROW_UP":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","highlightComputedLastItem"]}],"TRIGGER.ARROW_DOWN":[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"open",actions:["invokeOnOpen","highlightComputedFirstItem"]}],"TRIGGER.ARROW_LEFT":[{guard:Cf(lc("multiple"),"hasSelectedItems"),actions:["selectPreviousItem"]},{guard:lc("multiple"),actions:["selectLastItem"]}],"TRIGGER.ARROW_RIGHT":[{guard:Cf(lc("multiple"),"hasSelectedItems"),actions:["selectNextItem"]},{guard:lc("multiple"),actions:["selectFirstItem"]}],"TRIGGER.HOME":{guard:lc("multiple"),actions:["selectFirstItem"]},"TRIGGER.END":{guard:lc("multiple"),actions:["selectLastItem"]},"TRIGGER.TYPEAHEAD":{guard:lc("multiple"),actions:["selectMatchingItem"]}}},open:{tags:["open"],entry:["setInitialFocus"],exit:["scrollContentToTop"],activities:["trackDismissableElement","computePlacement","scrollToHighlightedItem"],on:{"CONTROLLED.CLOSE":[{guard:"shouldRestoreFocus",target:"focused",actions:["clearHighlightedItem"]},{target:"idle",actions:["clearHighlightedItem"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","clearHighlightedItem"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","clearHighlightedItem"]}],"ITEM.CLICK":[{guard:Cf("closeOnSelect","isOpenControlled"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectHighlightedItem","invokeOnClose","clearHighlightedItem"]},{actions:["selectHighlightedItem"]}],"CONTENT.INTERACT_OUTSIDE":[{guard:Cf("shouldRestoreFocus","isOpenControlled"),actions:["invokeOnClose"]},{guard:"shouldRestoreFocus",target:"focused",actions:["invokeOnClose","clearHighlightedItem"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"idle",actions:["invokeOnClose","clearHighlightedItem"]}],"CONTENT.HOME":{actions:["highlightFirstItem"]},"CONTENT.END":{actions:["highlightLastItem"]},"CONTENT.ARROW_DOWN":[{guard:Cf("hasHighlightedItem","loop","isLastItemHighlighted"),actions:["highlightFirstItem"]},{guard:"hasHighlightedItem",actions:["highlightNextItem"]},{actions:["highlightFirstItem"]}],"CONTENT.ARROW_UP":[{guard:Cf("hasHighlightedItem","loop","isFirstItemHighlighted"),actions:["highlightLastItem"]},{guard:"hasHighlightedItem",actions:["highlightPreviousItem"]},{actions:["highlightLastItem"]}],"CONTENT.TYPEAHEAD":{actions:["highlightMatchingItem"]},"ITEM.POINTER_MOVE":{actions:["highlightItem"]},"ITEM.POINTER_LEAVE":{actions:["clearHighlightedItem"]},"POSITIONING.SET":{actions:["reposition"]}}}}},{guards:{loop:o=>!!o.loopFocus,multiple:o=>!!o.multiple,hasSelectedItems:o=>!!o.hasSelectedItems,hasHighlightedItem:o=>o.highlightedValue!=null,isFirstItemHighlighted:o=>o.highlightedValue===o.collection.first(),isLastItemHighlighted:o=>o.highlightedValue===o.collection.last(),closeOnSelect:(o,d)=>o.multiple?!1:!!(d.closeOnSelect??o.closeOnSelect),shouldRestoreFocus:o=>!!o.restoreFocus,isOpenControlled:o=>!!o["open.controlled"],isTriggerClickEvent:(o,d)=>{var v;return((v=d.previousEvent)==null?void 0:v.type)==="TRIGGER.CLICK"},isTriggerEnterEvent:(o,d)=>{var v;return((v=d.previousEvent)==null?void 0:v.type)==="TRIGGER.ENTER"},isTriggerArrowUpEvent:(o,d)=>{var v;return((v=d.previousEvent)==null?void 0:v.type)==="TRIGGER.ARROW_UP"},isTriggerArrowDownEvent:(o,d)=>{var v;return((v=d.previousEvent)==null?void 0:v.type)==="TRIGGER.ARROW_DOWN"}},activities:{trackFormControlState(o,d,{initialContext:v}){return wC(Ye.getHiddenSelectEl(o),{onFieldsetDisabledChange(S){o.fieldsetDisabled=S},onFormReset(){cn.selectedItems(o,v.value)}})},trackDismissableElement(o,d,{send:v}){return mk(()=>Ye.getContentEl(o),{defer:!0,exclude:[Ye.getTriggerEl(o),Ye.getClearTriggerEl(o)],onFocusOutside:o.onFocusOutside,onPointerDownOutside:o.onPointerDownOutside,onInteractOutside(m){var b;(b=o.onInteractOutside)==null||b.call(o,m),o.restoreFocus=!m.detail.focusable},onDismiss(){v({type:"CONTENT.INTERACT_OUTSIDE"})}})},computePlacement(o){return o.currentPlacement=o.positioning.placement,cR(()=>Ye.getTriggerEl(o),()=>Ye.getPositionerEl(o),{defer:!0,...o.positioning,onComplete(S){o.currentPlacement=S.placement}})},scrollToHighlightedItem(o,d,{getState:v}){const S=b=>{if(v().event.type.includes("POINTER"))return;const T=Ye.getHighlightedOptionEl(o),I=Ye.getContentEl(o);if(o.scrollToIndexFn){const D=o.collection.indexOf(o.highlightedValue);o.scrollToIndexFn({index:D,immediate:b});return}Q_(T,{rootEl:I,block:"nearest"})};return Tn(()=>S(!0)),Y_(()=>Ye.getContentEl(o),{defer:!0,attributes:["data-activedescendant"],callback(){S(!1)}})}},actions:{reposition(o,d){const v=()=>Ye.getPositionerEl(o);cR(Ye.getTriggerEl(o),v,{...o.positioning,...d.options,defer:!0,listeners:!1,onComplete(S){o.currentPlacement=S.placement}})},toggleVisibility(o,d,{send:v}){v({type:o.open?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:d})},highlightPreviousItem(o){if(o.highlightedValue==null)return;const d=o.collection.prev(o.highlightedValue);cn.highlightedItem(o,d)},highlightNextItem(o){if(o.highlightedValue==null)return;const d=o.collection.next(o.highlightedValue);cn.highlightedItem(o,d)},highlightFirstItem(o){const d=o.collection.first();cn.highlightedItem(o,d)},highlightLastItem(o){const d=o.collection.last();cn.highlightedItem(o,d)},setInitialFocus(o){Tn(()=>{const d=bR(Ye.getContentEl(o));d==null||d.focus()})},setFinalFocus(o){Tn(()=>{var d;(d=Ye.getTriggerEl(o))==null||d.focus({preventScroll:!0})})},selectHighlightedItem(o,d){const v=d.value??o.highlightedValue;v!=null&&cn.selectedItem(o,v)},highlightComputedFirstItem(o){const d=o.hasSelectedItems?o.collection.sort(o.value)[0]:o.collection.first();cn.highlightedItem(o,d)},highlightComputedLastItem(o){const d=o.hasSelectedItems?o.collection.sort(o.value)[0]:o.collection.last();cn.highlightedItem(o,d)},highlightFirstSelectedItem(o){if(!o.hasSelectedItems)return;const[d]=o.collection.sort(o.value);cn.highlightedItem(o,d)},highlightItem(o,d){cn.highlightedItem(o,d.value)},highlightMatchingItem(o,d){const v=o.collection.search(d.key,{state:o.typeahead,currentValue:o.highlightedValue});v!=null&&cn.highlightedItem(o,v)},setHighlightedItem(o,d){cn.highlightedItem(o,d.value)},clearHighlightedItem(o){cn.highlightedItem(o,null,!0)},selectItem(o,d){cn.selectedItem(o,d.value)},clearItem(o,d){const v=o.value.filter(S=>S!==d.value);cn.selectedItems(o,v)},setSelectedItems(o,d){cn.selectedItems(o,d.value)},clearSelectedItems(o){cn.selectedItems(o,[])},selectPreviousItem(o){const d=o.collection.prev(o.value[0]);cn.selectedItem(o,d)},selectNextItem(o){const d=o.collection.next(o.value[0]);cn.selectedItem(o,d)},selectFirstItem(o){const d=o.collection.first();cn.selectedItem(o,d)},selectLastItem(o){const d=o.collection.last();cn.selectedItem(o,d)},selectMatchingItem(o,d){const v=o.collection.search(d.key,{state:o.typeahead,currentValue:o.value[0]});v!=null&&cn.selectedItem(o,v)},scrollContentToTop(o){var d;o.scrollToIndexFn?o.scrollToIndexFn({index:0,immediate:!0}):(d=Ye.getContentEl(o))==null||d.scrollTo(0,0)},invokeOnOpen(o){var d;(d=o.onOpenChange)==null||d.call(o,{open:!0})},invokeOnClose(o){var d;(d=o.onOpenChange)==null||d.call(o,{open:!1})},syncSelectElement(o){const d=Ye.getHiddenSelectEl(o);if(d){if(o.value.length===0&&!o.multiple){d.selectedIndex=-1;return}for(const v of d.options)v.selected=o.value.includes(v.value)}},setCollection(o,d){o.collection=d.value},syncInitialValues(o){const d=o.collection.items(o.value),v=o.collection.itemsToString(d);o.highlightedItem=o.collection.item(o.highlightedValue),o.selectedItems=d,o.valueAsString=v},syncSelectedItems(o){Yy.valueChange(o)},syncHighlightedItem(o){Yy.highlightChange(o)}}})}function qz(r){Tn(()=>{const l=Ye.getHiddenSelectEl(r);if(!l)return;const o=Ye.getWin(r),d=new o.Event("change",{bubbles:!0,composed:!0});l.dispatchEvent(d)})}var Yy={valueChange:r=>{const l=r.selectedItems;r.selectedItems=r.value.map(o=>{const d=l.find(v=>r.collection.itemToValue(v)===o);return d||r.collection.item(o)}),r.valueAsString=r.collection.itemsToString(r.selectedItems)},highlightChange:r=>{r.highlightedItem=r.collection.item(r.highlightedValue)}},ky={valueChange:r=>{var l;Yy.valueChange(r),(l=r.onValueChange)==null||l.call(r,{value:Array.from(r.value),items:Array.from(r.selectedItems)}),qz(r)},highlightChange:r=>{var l;Yy.highlightChange(r),(l=r.onHighlightChange)==null||l.call(r,{highlightedValue:r.highlightedValue,highlightedItem:r.highlightedItem,highlightedIndex:r.collection.indexOf(r.highlightedValue)})}},cn={selectedItem:(r,l,o=!1)=>{if(!xo(r.value,l)&&!(l==null&&!o)){if(l==null&&o){r.value=[],ky.valueChange(r);return}r.value=r.multiple?pM(r.value,l):[l],ky.valueChange(r)}},selectedItems:(r,l)=>{xo(r.value,l)||(r.value=l,ky.valueChange(r))},highlightedItem:(r,l,o=!1)=>{xo(r.highlightedValue,l)||l==null&&!o||(r.highlightedValue=l??null,ky.highlightChange(r))}};Si()(["closeOnSelect","collection","dir","disabled","form","getRootNode","highlightedValue","id","ids","invalid","loopFocus","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","open.controlled","open","composite","positioning","readOnly","scrollToIndexFn","value"]);Si()(["item","persistFocus"]);Si()(["id"]);Si()(["htmlFor"]);const Xz=r=>{const[l,o]=Bi()(r,["isItemDisabled","itemToValue","itemToString","items"]),d=de.useMemo(()=>PC(l),Object.values(l)),{getRootNode:v}=gc(),{dir:S}=yc(),m={id:de.useId(),dir:S,getRootNode:v,collection:d,open:r.defaultOpen,value:r.defaultValue,"open.controlled":r.open!==void 0,...o},b={...m,collection:d,value:r.value,onValueChange:yi(r.onValueChange,{sync:!0}),onHighlightChange:yi(r.onHighlightChange),onOpenChange:yi(r.onOpenChange)},[w,T]=ju(Qz(m),{context:b});return Yz(w,T,mc)},Zz=(r,l)=>{const[o,d]=vk(r),[v,S]=Bi()(d,["closeOnSelect","composite","defaultOpen","defaultValue","disabled","form","highlightedValue","id","ids","invalid","isItemDisabled","items","itemToString","itemToValue","loopFocus","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","open","positioning","readOnly","scrollToIndexFn","value"]),m=Xz(v),b=Jy(at({present:m.open},o)),w=at(m.rootProps,S);return ee.jsx(_3,{value:m,children:ee.jsx(xC,{value:b,children:ee.jsx(ot.div,{...w,ref:l})})})},Jz=de.forwardRef(Zz),uO=de.forwardRef((r,l)=>{const o=Ba(),d=at(o.triggerProps,r);return ee.jsx(ot.button,{...d,ref:l})});uO.displayName="SelectTrigger";var El=(r,l=[])=>({parts:(...o)=>{if(e4(l))return El(r,o);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...o)=>El(r,[...l,...o]),rename:o=>El(o,l),keys:()=>l,build:()=>[...new Set(l)].reduce((o,d)=>Object.assign(o,{[d]:{selector:[`&[data-scope="${Tf(r)}"][data-part="${Tf(d)}"]`,`& [data-scope="${Tf(r)}"][data-part="${Tf(d)}"]`].join(", "),attrs:{"data-scope":Tf(r),"data-part":Tf(d)}}}),{})}),Tf=r=>r.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),e4=r=>r.length===0,t4=r=>r.nodeType===Node.DOCUMENT_NODE,n4=r=>r!=null&&r===r.window;function r4(r){return t4(r)?r:n4(r)?r.document:(r==null?void 0:r.ownerDocument)??document}var sO=r=>r.id;function i4(r,l,o=sO){return r.find(d=>o(d)===l)}function cO(r,l,o=sO){const d=i4(r,l,o);return d?r.indexOf(d):-1}function a4(r,l,o=!0){let d=cO(r,l);return d=o?(d+1)%r.length:Math.min(d+1,r.length-1),r[d]}function o4(r,l,o=!0){let d=cO(r,l);return d===-1?o?r[r.length-1]:null:(d=o?(d-1+r.length)%r.length:Math.max(0,d-1),r[d])}function l4(r,l){return Array.from((r==null?void 0:r.querySelectorAll(l))??[])}function u4(r){const l={getRootNode:o=>{var d;return((d=o.getRootNode)==null?void 0:d.call(o))??document},getDoc:o=>r4(l.getRootNode(o)),getWin:o=>l.getDoc(o).defaultView??window,getActiveElement:o=>l.getDoc(o).activeElement,isActiveElement:(o,d)=>d===l.getActiveElement(o),getById:(o,d)=>l.getRootNode(o).getElementById(d),setValue:(o,d)=>{if(o==null||d==null)return;const v=d.toString();o.value!==v&&(o.value=d.toString())}};return{...l,...r}}var dO=r=>r[0],fO=r=>r[r.length-1],pO=()=>r=>Array.from(new Set(r)),vO=El("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator");vO.build();var To=u4({getRootId:r=>{var l;return((l=r.ids)==null?void 0:l.root)??`accordion:${r.id}`},getItemId:(r,l)=>{var o,d;return((d=(o=r.ids)==null?void 0:o.item)==null?void 0:d.call(o,l))??`accordion:${r.id}:item:${l}`},getItemContentId:(r,l)=>{var o,d;return((d=(o=r.ids)==null?void 0:o.content)==null?void 0:d.call(o,l))??`accordion:${r.id}:content:${l}`},getItemTriggerId:(r,l)=>{var o,d;return((d=(o=r.ids)==null?void 0:o.trigger)==null?void 0:d.call(o,l))??`accordion:${r.id}:trigger:${l}`},getRootEl:r=>To.getById(r,To.getRootId(r)),getTriggers:r=>{const o=`[aria-controls][data-ownedby='${CSS.escape(To.getRootId(r))}']:not([disabled])`;return l4(To.getRootEl(r),o)},getFirstTriggerEl:r=>dO(To.getTriggers(r)),getLastTriggerEl:r=>fO(To.getTriggers(r)),getNextTriggerEl:(r,l)=>a4(To.getTriggers(r),To.getItemTriggerId(r,l)),getPrevTriggerEl:(r,l)=>o4(To.getTriggers(r),To.getItemTriggerId(r,l))});pO()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value"]);pO()(["value","disabled"]);var s4=r=>r.nodeType===Node.DOCUMENT_NODE,c4=r=>r!=null&&r===r.window;function d4(r){return s4(r)?r:c4(r)?r.document:(r==null?void 0:r.ownerDocument)??document}function f4(r){const l={getRootNode:o=>{var d;return((d=o.getRootNode)==null?void 0:d.call(o))??document},getDoc:o=>d4(l.getRootNode(o)),getWin:o=>l.getDoc(o).defaultView??window,getActiveElement:o=>l.getDoc(o).activeElement,isActiveElement:(o,d)=>d===l.getActiveElement(o),getById:(o,d)=>l.getRootNode(o).getElementById(d),setValue:(o,d)=>{if(o==null||d==null)return;const v=d.toString();o.value!==v&&(o.value=d.toString())}};return{...l,...r}}var p4=()=>r=>Array.from(new Set(r)),hO=El("checkbox").parts("root","label","control","indicator");hO.build();var Oy=f4({getRootId:r=>{var l;return((l=r.ids)==null?void 0:l.root)??`checkbox:${r.id}`},getLabelId:r=>{var l;return((l=r.ids)==null?void 0:l.label)??`checkbox:${r.id}:label`},getControlId:r=>{var l;return((l=r.ids)==null?void 0:l.control)??`checkbox:${r.id}:control`},getHiddenInputId:r=>{var l;return((l=r.ids)==null?void 0:l.hiddenInput)??`checkbox:${r.id}:hidden`},getRootEl:r=>Oy.getById(r,Oy.getRootId(r)),getHiddenInputEl:r=>Oy.getById(r,Oy.getHiddenInputId(r))});p4()(["checked","dir","disabled","form","getRootNode","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]);var v4=r=>r.nodeType===Node.DOCUMENT_NODE,h4=r=>r!=null&&r===r.window;function m4(r){return v4(r)?r:h4(r)?r.document:(r==null?void 0:r.ownerDocument)??document}function g4(r){const l={getRootNode:o=>{var d;return((d=o.getRootNode)==null?void 0:d.call(o))??document},getDoc:o=>m4(l.getRootNode(o)),getWin:o=>l.getDoc(o).defaultView??window,getActiveElement:o=>l.getDoc(o).activeElement,isActiveElement:(o,d)=>d===l.getActiveElement(o),getById:(o,d)=>l.getRootNode(o).getElementById(d),setValue:(o,d)=>{if(o==null||d==null)return;const v=d.toString();o.value!==v&&(o.value=d.toString())}};return{...l,...r}}var y4=()=>r=>Array.from(new Set(r)),mO=El("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger");mO.build();var mi=g4({getPositionerId:r=>{var l;return((l=r.ids)==null?void 0:l.positioner)??`dialog:${r.id}:positioner`},getBackdropId:r=>{var l;return((l=r.ids)==null?void 0:l.backdrop)??`dialog:${r.id}:backdrop`},getContentId:r=>{var l;return((l=r.ids)==null?void 0:l.content)??`dialog:${r.id}:content`},getTriggerId:r=>{var l;return((l=r.ids)==null?void 0:l.trigger)??`dialog:${r.id}:trigger`},getTitleId:r=>{var l;return((l=r.ids)==null?void 0:l.title)??`dialog:${r.id}:title`},getDescriptionId:r=>{var l;return((l=r.ids)==null?void 0:l.description)??`dialog:${r.id}:description`},getCloseTriggerId:r=>{var l;return((l=r.ids)==null?void 0:l.closeTrigger)??`dialog:${r.id}:close`},getContentEl:r=>mi.getById(r,mi.getContentId(r)),getPositionerEl:r=>mi.getById(r,mi.getPositionerId(r)),getBackdropEl:r=>mi.getById(r,mi.getBackdropId(r)),getTriggerEl:r=>mi.getById(r,mi.getTriggerId(r)),getTitleEl:r=>mi.getById(r,mi.getTitleId(r)),getDescriptionEl:r=>mi.getById(r,mi.getDescriptionId(r)),getCloseTriggerEl:r=>mi.getById(r,mi.getCloseTriggerId(r))});y4()(["aria-label","closeOnEscape","closeOnInteractOutside","dir","finalFocusEl","getRootNode","getRootNode","id","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","open.controlled","open","persistentElements","preventScroll","restoreFocus","role","trapFocus"]);var S4=r=>r.nodeType===Node.DOCUMENT_NODE,E4=r=>r!=null&&r===r.window;function b4(r){return S4(r)?r:E4(r)?r.document:(r==null?void 0:r.ownerDocument)??document}function C4(r){const l={getRootNode:o=>{var d;return((d=o.getRootNode)==null?void 0:d.call(o))??document},getDoc:o=>b4(l.getRootNode(o)),getWin:o=>l.getDoc(o).defaultView??window,getActiveElement:o=>l.getDoc(o).activeElement,isActiveElement:(o,d)=>d===l.getActiveElement(o),getById:(o,d)=>l.getRootNode(o).getElementById(d),setValue:(o,d)=>{if(o==null||d==null)return;const v=d.toString();o.value!==v&&(o.value=d.toString())}};return{...l,...r}}var i0=()=>r=>Array.from(new Set(r)),gO=El("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","control");gO.build();var gi=C4({getRootId:r=>{var l;return((l=r.ids)==null?void 0:l.root)??`select:${r.id}`},getContentId:r=>{var l;return((l=r.ids)==null?void 0:l.content)??`select:${r.id}:content`},getTriggerId:r=>{var l;return((l=r.ids)==null?void 0:l.trigger)??`select:${r.id}:trigger`},getClearTriggerId:r=>{var l;return((l=r.ids)==null?void 0:l.clearTrigger)??`select:${r.id}:clear-trigger`},getLabelId:r=>{var l;return((l=r.ids)==null?void 0:l.label)??`select:${r.id}:label`},getControlId:r=>{var l;return((l=r.ids)==null?void 0:l.control)??`select:${r.id}:control`},getItemId:(r,l)=>{var o,d;return((d=(o=r.ids)==null?void 0:o.item)==null?void 0:d.call(o,l))??`select:${r.id}:option:${l}`},getHiddenSelectId:r=>{var l;return((l=r.ids)==null?void 0:l.hiddenSelect)??`select:${r.id}:select`},getPositionerId:r=>{var l;return((l=r.ids)==null?void 0:l.positioner)??`select:${r.id}:positioner`},getItemGroupId:(r,l)=>{var o,d;return((d=(o=r.ids)==null?void 0:o.itemGroup)==null?void 0:d.call(o,l))??`select:${r.id}:optgroup:${l}`},getItemGroupLabelId:(r,l)=>{var o,d;return((d=(o=r.ids)==null?void 0:o.itemGroupLabel)==null?void 0:d.call(o,l))??`select:${r.id}:optgroup-label:${l}`},getHiddenSelectEl:r=>gi.getById(r,gi.getHiddenSelectId(r)),getContentEl:r=>gi.getById(r,gi.getContentId(r)),getControlEl:r=>gi.getById(r,gi.getControlId(r)),getTriggerEl:r=>gi.getById(r,gi.getTriggerId(r)),getClearTriggerEl:r=>gi.getById(r,gi.getClearTriggerId(r)),getPositionerEl:r=>gi.getById(r,gi.getPositionerId(r)),getHighlightedOptionEl(r){return r.highlightedValue?gi.getById(r,gi.getItemId(r,r.highlightedValue)):null}});i0()(["closeOnSelect","collection","dir","disabled","form","getRootNode","highlightedValue","id","ids","invalid","loopFocus","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","open.controlled","open","composite","positioning","readOnly","scrollToIndexFn","value"]);i0()(["item","persistFocus"]);i0()(["id"]);i0()(["htmlFor"]);const yO=gO.extendWith("valueText");var T4=r=>r.nodeType===Node.DOCUMENT_NODE,w4=r=>r!=null&&r===r.window;function x4(r){return T4(r)?r:w4(r)?r.document:(r==null?void 0:r.ownerDocument)??document}function R4(r){const l={getRootNode:o=>{var d;return((d=o.getRootNode)==null?void 0:d.call(o))??document},getDoc:o=>x4(l.getRootNode(o)),getWin:o=>l.getDoc(o).defaultView??window,getActiveElement:o=>l.getDoc(o).activeElement,isActiveElement:(o,d)=>d===l.getActiveElement(o),getById:(o,d)=>l.getRootNode(o).getElementById(d),setValue:(o,d)=>{if(o==null||d==null)return;const v=d.toString();o.value!==v&&(o.value=d.toString())}};return{...l,...r}}var k4=()=>r=>Array.from(new Set(r)),SO=El("switch").parts("root","label","control","thumb");SO.build();var Dy=R4({getRootId:r=>{var l;return((l=r.ids)==null?void 0:l.root)??`switch:${r.id}`},getLabelId:r=>{var l;return((l=r.ids)==null?void 0:l.label)??`switch:${r.id}:label`},getThumbId:r=>{var l;return((l=r.ids)==null?void 0:l.thumb)??`switch:${r.id}:thumb`},getControlId:r=>{var l;return((l=r.ids)==null?void 0:l.control)??`switch:${r.id}:control`},getRootEl:r=>Dy.getById(r,Dy.getRootId(r)),getHiddenInputId:r=>{var l;return((l=r.ids)==null?void 0:l.input)??`switch:${r.id}:input`},getHiddenInputEl:r=>Dy.getById(r,Dy.getHiddenInputId(r))});k4()(["checked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]);var O4=r=>r.nodeType===Node.DOCUMENT_NODE,D4=r=>r!=null&&r===r.window;function N4(r){return O4(r)?r:D4(r)?r.document:(r==null?void 0:r.ownerDocument)??document}var EO=r=>r.id;function bO(r,l,o=EO){return r.find(d=>o(d)===l)}function CO(r,l,o=EO){const d=bO(r,l,o);return d?r.indexOf(d):-1}function L4(r,l,o=!0){let d=CO(r,l);return d=o?(d+1)%r.length:Math.min(d+1,r.length-1),r[d]}function I4(r,l,o=!0){let d=CO(r,l);return d===-1?o?r[r.length-1]:null:(d=o?(d-1+r.length)%r.length:Math.max(0,d-1),r[d])}function A4(r,l){return Array.from((r==null?void 0:r.querySelectorAll(l))??[])}function _4(r){const l={getRootNode:o=>{var d;return((d=o.getRootNode)==null?void 0:d.call(o))??document},getDoc:o=>N4(l.getRootNode(o)),getWin:o=>l.getDoc(o).defaultView??window,getActiveElement:o=>l.getDoc(o).activeElement,isActiveElement:(o,d)=>d===l.getActiveElement(o),getById:(o,d)=>l.getRootNode(o).getElementById(d),setValue:(o,d)=>{if(o==null||d==null)return;const v=d.toString();o.value!==v&&(o.value=d.toString())}};return{...l,...r}}var FC=()=>r=>Array.from(new Set(r)),TO=El("tabs").parts("root","list","trigger","content","indicator");TO.build();var dn=_4({getRootId:r=>{var l;return((l=r.ids)==null?void 0:l.root)??`tabs:${r.id}`},getListId:r=>{var l;return((l=r.ids)==null?void 0:l.list)??`tabs:${r.id}:list`},getContentId:(r,l)=>{var o;return((o=r.ids)==null?void 0:o.content)??`tabs:${r.id}:content-${l}`},getTriggerId:(r,l)=>{var o;return((o=r.ids)==null?void 0:o.trigger)??`tabs:${r.id}:trigger-${l}`},getIndicatorId:r=>{var l;return((l=r.ids)==null?void 0:l.indicator)??`tabs:${r.id}:indicator`},getListEl:r=>dn.getById(r,dn.getListId(r)),getContentEl:(r,l)=>dn.getById(r,dn.getContentId(r,l)),getTriggerEl:(r,l)=>dn.getById(r,dn.getTriggerId(r,l)),getIndicatorEl:r=>dn.getById(r,dn.getIndicatorId(r)),getElements:r=>{const o=`[role=tab][data-ownedby='${CSS.escape(dn.getListId(r))}']:not([disabled])`;return A4(dn.getListEl(r),o)},getFirstTriggerEl:r=>dO(dn.getElements(r)),getLastTriggerEl:r=>fO(dn.getElements(r)),getNextTriggerEl:(r,l)=>L4(dn.getElements(r),dn.getTriggerId(r,l),r.loopFocus),getPrevTriggerEl:(r,l)=>I4(dn.getElements(r),dn.getTriggerId(r,l),r.loopFocus),getSelectedContentEl:r=>{if(r.value)return dn.getContentEl(r,r.value)},getSelectedTriggerEl:r=>{if(r.value)return dn.getTriggerEl(r,r.value)},getOffsetRect:r=>({left:(r==null?void 0:r.offsetLeft)??0,top:(r==null?void 0:r.offsetTop)??0,width:(r==null?void 0:r.offsetWidth)??0,height:(r==null?void 0:r.offsetHeight)??0}),getRectById:(r,l)=>{const o=bO(dn.getElements(r),dn.getTriggerId(r,l));return dn.resolveRect(dn.getOffsetRect(o))},resolveRect:r=>({width:`${r.width}px`,height:`${r.height}px`,left:`${r.left}px`,top:`${r.top}px`})});FC()(["activationMode","composite","dir","getRootNode","id","ids","loopFocus","onFocusChange","onValueChange","orientation","translations","value"]);FC()(["disabled","value"]);FC()(["value"]);const wO=de.forwardRef((r,l)=>{const{children:o,placeholder:d,...v}=r,S=Ba();return ee.jsx(ot.span,{...yO.build().valueText.attrs,...v,ref:l,children:o||S.valueAsString||d})});wO.displayName="SelectValueText";const M4=({children:r,when:l,wrapper:o})=>l===!0?o(r):r,{withProvider:P4,withContext:Do}=qy(Ln.select),F4=P4(it.styled(Jz),"root",{defaultProps:{loopFocus:!0}}),z4=Do(it.styled(Bk),"clearTrigger"),U4=Do(it.styled(jk),"content"),V4=Do(it.styled($k),"control"),H4=Do(it.styled(Wk),"indicator"),B4=Do(it.styled(Kk),"item"),j4=Do(it.styled(Qk),"itemIndicator"),$4=Do(it.styled(qk),"itemText"),G4=Do(it.styled(Xk),"positioner"),W4=Do(it.styled(uO),"trigger"),Y4=Do(it.styled(wO),"valueText"),K4=({items:r,placeholder:l,emptyLabel:o,usePortal:d=!0,positioning:v,...S})=>ee.jsxs(F4,{lazyMount:!0,unmountOnExit:!0,items:r,positioning:{sameWidth:!0,gutter:0,...v},"data-recipe":"select",...S,children:[ee.jsx(V4,{children:ee.jsxs(W4,{children:[ee.jsx(Y4,{truncate:!0,placeholder:l}),ee.jsx(z4,{asChild:!0,children:ee.jsx(it.styled.svg,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:ee.jsx("path",{d:"M9.99996 1.66669C5.39163 1.66669 1.66663 5.39169 1.66663 10C1.66663 14.6084 5.39163 18.3334 9.99996 18.3334C14.6083 18.3334 18.3333 14.6084 18.3333 10C18.3333 5.39169 14.6083 1.66669 9.99996 1.66669ZM9.99996 16.6667C6.32496 16.6667 3.33329 13.675 3.33329 10C3.33329 6.32502 6.32496 3.33335 9.99996 3.33335C13.675 3.33335 16.6666 6.32502 16.6666 10C16.6666 13.675 13.675 16.6667 9.99996 16.6667ZM12.9916 5.83335L9.99996 8.82502L7.00829 5.83335L5.83329 7.00835L8.82496 10L5.83329 12.9917L7.00829 14.1667L9.99996 11.175L12.9916 14.1667L14.1666 12.9917L11.175 10L14.1666 7.00835L12.9916 5.83335Z",fill:"currentColor"})})}),ee.jsx(H4,{asChild:!0,children:ee.jsx(it.styled.svg,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:ee.jsx("path",{d:"M7.41 8.29498L12 12.875L16.59 8.29498L18 9.70498L12 15.705L6 9.70498L7.41 8.29498Z",fill:"currentColor"})})})]})}),ee.jsx(M4,{when:d,wrapper:m=>ee.jsx(dR.Portal,{children:m}),children:ee.jsx(G4,{children:ee.jsx(U4,{children:r.length===0?ee.jsx(_k,{px:"space-8",textAlign:"center",children:o??"Aucun résultat"}):r.map(m=>ee.jsxs(B4,{item:m,children:[ee.jsx($4,{truncate:!0,children:m.label}),S.multiple?ee.jsx(j4,{children:"✓"}):null]},m.value))})})}),ee.jsx(Gk,{})]}),Q4=it.styled("input",Ln.input,{dataAttr:!0}),q4=it.styled("div",Ln.inputAddon,{dataAttr:!0}),X4=it.styled("div",Ln.inputGroup),Z4={xl:"1536px",lg:"1200px",md:"900px",sm:"600px"},J4={extend:{checked:"&:where(:checked, [data-checked], [aria-checked=true], [data-state=checked])",closed:"&:where([data-state=closed])",collapsed:'&:where([aria-collapsed=true], [data-collapsed], [data-state="collapsed"])',current:"&:is([data-current])",focus:"&:where(:focus, [data-focus], [data-focused])",groupHover:"[role=group]:where(:hover, [data-hover]) &",hidden:"&:where([hidden])",highlighted:"&:where([data-highlighted])",hover:"&:where(:hover, [data-hover], [data-hovered])",indeterminate:"&:where(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",invalid:"&:where(:invalid, [data-invalid], [aria-invalid=true])",open:"&:where([open], [data-state=open])",placeholderShown:"&:where(:placeholder-shown, [data-placeholder-shown])",today:"&:where([data-today])",underValue:'&:where([data-state="under-value"])'}},e6={"2xl":"672px","3xl":"768px","4xl":"896px","5xl":"1024px","6xl":"1152px","7xl":"1280px","8xl":"1440px",lg:"512px",md:"448px",sm:"384px",xl:"576px",xs:"320px"},t6=vt.defineKeyframes({blob:{"0%":{rotate:"0deg"},"100%":{rotate:"359deg"}},bounce:{"0%, 100%":{animationTimingFunction:"cubic-bezier(0.8,0,1,1)",transform:"translateY(-25%)"},"50%":{animationTimingFunction:"cubic-bezier(0,0,0.2,1)",transform:"none"}},"fade-in":{from:{opacity:"0"},to:{opacity:"1"}},"fade-out":{from:{opacity:"1"},to:{opacity:"0"}},fadeIn:{"0%":{opacity:"0",transform:"translateY(-4px)"},"100%":{opacity:"1",transform:"translateY(0)"}},fadeInFromRight:{"0%":{opacity:"0",transform:"translateX(100%)"},"100%":{opacity:"1",transform:"translateX(0)"}},fadeInSkew:{"0%":{opacity:"0",transform:"translateY(-4px) rotateX(-1deg) scale(0.95)",transformStyle:"preserve-3d"},"100%":{opacity:"1",transform:"translateY(0) rotateX(0) scale(1)",transformStyle:"preserve-3d"}},fadeOut:{"0%":{opacity:"1",transform:"translateY(0)"},"100%":{opacity:"0",transform:"translateY(-4px)"}},fadeOutFromRight:{"0%":{opacity:"1",transform:"translateX(0)"},"100%":{opacity:"0",transform:"translateX(100%)"}},fadeOutSkew:{"0%":{opacity:"1",transform:"translateY(0) rotateX(0) scale(1)",transformStyle:"preserve-3d"},"100%":{opacity:"0",transform:"translateY(-4px) rotateX(-1deg) scale(0.95)",transformStyle:"preserve-3d"}},ping:{"75%, 100%":{opacity:"0",transform:"scale(2)"}},pulse:{"50%":{opacity:".5"}},"skeleton-pulse":{"50%":{opacity:"0.5"}},"slide-in":{"0%":{opacity:"0",transform:"translateY(64px)"},"100%":{opacity:"1",transform:"translateY(0)"}},"slide-in-left":{"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(0%)"}},"slide-in-modal":{"0%":{opacity:"0",transform:"translateY(64px) scale(0.9)"},"100%":{opacity:"1",transform:"translateY(0) scale(1)"}},"slide-in-right":{"0%":{transform:"translateX(100%)"},"100%":{transform:"translateX(0%)"}},"slide-out":{"0%":{opacity:"1",transform:"translateY(0)"},"100%":{opacity:"0",transform:"translateY(64px)"}},"slide-out-left":{"0%":{transform:"translateX(0%)"},"100%":{transform:"translateX(-100%)"}},"slide-out-modal":{"0%":{opacity:"1",transform:"translateY(0) scale(1)"},"100%":{opacity:"0",transform:"translateY(64px) scale(0.9)"}},"slide-out-right":{"0%":{transform:"translateX(0%)"},"100%":{transform:"translateX(100%)"}},slideInFromBottom:{"0%":{opacity:"0",transform:"translateY(4px)"},"100%":{opacity:"1",transform:"translateY(0)"}},slideOutToBottom:{"0%":{opacity:"1",transform:"translateY(0)"},"100%":{opacity:"0",transform:"translateY(4px)"}},"collapse-in":{"0%":{height:"0px"},"100%":{height:"var(--height)"}},"collapse-out":{"0%":{height:"var(--height)"},"100%":{height:"0px"}},spin:{to:{transform:"rotate(360deg)"}}}),n6=vt.defineRecipe({base:{_focusVisible:{ring:"2px solid {colors.primary.200}",ringOffset:"space-2"},alignItems:"center",cursor:{_disabled:"not-allowed",base:"pointer"},opacity:{_disabled:.32},display:"flex",flexDirection:"row",gap:"space-4",justifyContent:"center",transition:"color, background-color, border-color, opacity",transitionDuration:"fast",fontWeight:"bold",fontFamily:"satoshi"},className:"button",defaultVariants:{size:"lg",variant:"primary",severity:"none"},description:"The styles for the Button component",jsx:["Button"],variants:{size:{lg:{borderRadius:"radius-60",px:"space-20",py:"space-8",textStyle:"body.lg"},md:{borderRadius:"radius-60",px:"space-16",py:"space-6",textStyle:"body.md"},sm:{borderRadius:"radius-60",px:"space-12",py:"space-4",textStyle:"body.sm"}},variant:{primary:{bg:{_disabled:{_hover:"primary.500",_active:"primary.500",base:"primary.500"},_active:"primary.800",_hover:"primary.600",base:"primary.500"},color:"white"},secondary:{bg:{_disabled:{_hover:"transparent",_active:"transparent",base:"transparent"},_active:"primary.600",_hover:"primary.500",base:"transparent"},boxShadow:"inset 0 0 0 1px {colors.primary.500}",color:{_disabled:{_hover:"primary.500",_active:"primary.500",base:"primary.500"},base:"primary.500",_hover:"white",_active:"white"}},tertiary:{bg:{_disabled:{_hover:"transparent",_active:"transparent",base:"transparent"},_active:"primary.200",_hover:"primary.100",base:"transparent"},color:{_disabled:{_hover:"primary.500",_active:"primary.500",base:"primary.500"},base:"primary.500",_hover:"primary.600",_active:"primary.600"}}},severity:{none:{},danger:{}}},compoundVariants:[{variant:"primary",severity:"danger",css:{bg:{_disabled:{_hover:"error.500",_active:"error.500",base:"error.500"},_active:"error.800",_hover:"error.700",base:"error.500"}}},{variant:"secondary",severity:"danger",css:{bg:{_disabled:{_hover:"transparent",_active:"transparent",base:"transparent"},_active:"error.700",_hover:"error.500",base:"transparent"},boxShadow:{base:"inset 0 0 0 1px {colors.error.500}",_active:"inset 0 0 0 1px {colors.error.700}"},color:{_disabled:{_hover:"error.500",_active:"error.500",base:"error.500"},base:"error.500",_hover:"white",_active:"white"}}},{variant:"tertiary",severity:"danger",css:{bg:{_disabled:{_hover:"transparent",_active:"transparent",base:"transparent"},_active:"error.200",_hover:"error.100",base:"transparent"},color:{_disabled:{_hover:"error.500",_active:"error.500",base:"error.500"},base:"error.500",_hover:"error.700",_active:"error.700"}}}]}),r6=vt.defineRecipe({className:"heading",defaultVariants:{size:"h2"},jsx:["Heading"],base:{fontFamily:"cabinet",color:"text.heading"},variants:{italic:{true:{fontStyle:"italic"}},underline:{true:{textDecoration:"underline"}},size:{h1:{textStyle:"heading.h1"},h2:{textStyle:"heading.h2"},h3:{textStyle:"heading.h3"},h4:{textStyle:"heading.h4"},h5:{textStyle:"heading.h5"},h6:{textStyle:"heading.h6"}}}}),i6=vt.defineSlotRecipe({base:{control:{_focus:{ring:"1px solid {colors.secondary.300}"},alignItems:"center",background:{_checked:{base:"primary.500",_disabled:"grey.200"},base:"grey.100",_hover:{base:"grey.200",_checked:"primary.700"}},borderRadius:"full",cursor:"pointer",display:"inline-flex",flexShrink:"0",transitionDuration:"normal",transitionProperty:"background",transitionTimingFunction:"default"},label:{fontFamily:"satoshi",color:"text",_disabled:{color:"text.disabled",userSelect:"none"}},root:{WebkitTapHighlightColor:"transparent",_disabled:{pointerEvents:"none"},alignItems:"center",cursor:"pointer",display:"flex",position:"relative"},thumb:{background:"white",borderRadius:"full",transitionDuration:"normal",transitionProperty:"transform",transitionTimingFunction:"default",_checked:{transform:"translateX(16px)"}}},className:"switch",defaultVariants:{size:"md"},jsx:["Switch","SwitchField"],slots:SO.keys(),variants:{size:{md:{control:{height:"size-16",p:"space-2",width:"size-32"},label:{textStyle:"body.md"},root:{gap:"space-4"},thumb:{height:"size-12",width:"size-12"}}}}}),a6=vt.defineRecipe({className:"text",defaultVariants:{size:"md"},jsx:["Text","AppLink"],staticCss:["*"],base:{fontFamily:"satoshi",color:"text"},variants:{bold:{true:{fontWeight:"bold"}},italic:{true:{fontStyle:"italic"}},underline:{true:{textDecoration:"underline"}},size:{lg:{textStyle:"body.lg"},md:{textStyle:"body.md"},sm:{textStyle:"body.sm"}}}}),xO=vt.defineRecipe({base:{'&[type="time"]::-webkit-calendar-picker-indicator':{display:"none"},textStyle:"body.md",fontFamily:"satoshi",color:"text",appearance:"none",background:"none",border:"1px solid {colors.grey.100}",borderRadius:"radius-8",minWidth:0,outline:0,minHeight:"40px",position:"relative",transitionDuration:"normal",transitionProperty:"border-color, box-shadow",width:"full",_disabled:{cursor:"not-allowed",color:"grey.300",background:"grey.50"},_hover:{borderColor:"secondary.500",_disabled:{borderColor:"grey.100"}},_focus:{borderColor:"primary.500"},_placeholderShown:{color:"grey.400",_disabled:{color:"grey.100"}}},className:"input",description:"The styles for the Input component",jsx:["Input"],defaultVariants:{size:"md"},variants:{size:{md:{px:"space-16",py:"space-8"}}}}),o6=vt.defineRecipe({className:"textarea",jsx:["Textarea"],base:{px:"space-16",py:"space-8",...xO.base}}),l6=vt.defineRecipe({base:{_invalid:{'& [data-recipe="formHelperText"]':{color:"error.500"},'& input, & textarea, & [data-recipe="select"] button':{borderColor:"error.500!"},"& label":{color:"error.500"}},_required:{"& label::after":{content:'" *"',color:"error.500",fontWeight:"bold"}},isolation:"isolate",display:"flex",flexDirection:"column",gap:"space-4",width:"full",position:"relative"},className:"form-control",description:"The styles for the FormControl component",jsx:["FormControl"]}),u6=vt.defineRecipe({base:{color:"grey.400",fontFamily:"satoshi",textStyle:"body.sm"},className:"form-helper-text",description:"The styles for the FormHelperText component",jsx:["FormHelperText"]}),s6=mO.extendWith("header","body","footer"),c6=vt.defineSlotRecipe({className:"drawer",slots:s6.keys(),jsx:["Drawer"],base:{backdrop:{backdropFilter:"blur(4px)",background:"primary.300/20",height:"100vh",position:"fixed",width:"100vw",zIndex:"overlay",inset:0,_open:{animation:"backdrop-in"},_closed:{animation:"backdrop-out"}},positioner:{alignItems:"center",display:"flex",height:"100dvh",position:"fixed",inset:0,zIndex:"modal"},content:{position:"relative",background:"white",display:"grid",gridTemplateColumns:"1fr",gridTemplateRows:"auto 1fr",gridTemplateAreas:`
|
|
181
181
|
'header'
|
|
182
182
|
'body'
|
|
183
|
-
`,height:"full",minWidth:{base:"full",md:"736px"},maxWidth:{base:"full",md:"70%"},width:"full"},header:{display:"flex",flexDirection:"row",alignItems:"center",gap:"space-16",gridArea:"header",px:"space-24",py:"space-16"},body:{display:"flex",flexDirection:"column",gridArea:"body",overflow:"auto",px:"space-24",py:"space-16",pb:"70px"},footer:{display:"flex",position:"absolute",bottom:0,left:0,right:0,bg:"white/50",backdropFilter:"auto",backdropBlur:"4px",justifyContent:"flex-end",px:"space-24",py:"space-16",gap:"space-16"},title:{color:"primary.900",fontFamily:"cabinet",textStyle:"heading.h4"}},defaultVariants:{variant:"right"},variants:{variant:{left:{positioner:{justifyContent:"flex-start"},content:{_open:{animation:"drawer-in-left"},_closed:{animation:"drawer-out-left"}}},right:{positioner:{justifyContent:"flex-end"},content:{_open:{animation:"drawer-in-right"},_closed:{animation:"drawer-out-right"}}}}}}),dz=ft.defineSlotRecipe({className:"accordion",jsx:["Accordion"],slots:sR.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"space-8"},itemTrigger:{alignItems:"center",color:"primary.900",cursor:"pointer",display:"flex",fontWeight:"bold",gap:"space-4",justifyContent:"space-between",textStyle:"body.md",fontFamily:"satoshi",textAlign:"left",width:"full",_disabled:{color:"grey.200",cursor:"not-allowed"}},itemIndicator:{color:"primary.900",transformOrigin:"center",transitionDuration:"normal",transitionProperty:"transform",transitionTimingFunction:"default",_open:{transform:"rotate(-180deg)"}},itemContent:{overflow:"hidden",transitionProperty:"padding-bottom, margin-top, opacity",transitionDuration:"normal",transitionTimingFunction:"default",'& [data-scope="accordion"][data-part="root"]':{gap:"space-12!"},'& [data-scope="accordion"][data-part="item-trigger"]':{textStyle:"body.sm",border:"none!",borderRadius:"radius-0!",p:"space-0!"},'& [data-scope="accordion"][data-part="item-content"]':{px:"space-16!",mt:"space-16!"},'& [data-scope="accordion"][data-part="item"]':{border:"none!",borderRadius:"radius-0!",p:"space-12",pr:"space-24!",pb:"space-0!"},_open:{animation:"collapse-in"},_closed:{animation:"collapse-out"}}},defaultVariants:{size:"md"},variants:{size:{md:{itemTrigger:{_open:{border:"none"},borderRadius:"radius-8",border:"1px solid {colors.primary.100}",padding:"space-12"},item:{_open:{pb:"space-12",borderRadius:"radius-8",border:"1px solid {colors.primary.100}"}},itemContent:{_closed:{pb:"space-0",mt:"space-0",opacity:0},mt:"space-4",pr:"space-16",pl:"space-28"}}}}}),fz=ft.defineSlotRecipe({base:{root:{color:"grey.400",fontFamily:"satoshi",textStyle:"body.sm"},addon:{ml:"space-4",bg:"primary.100",color:"secondary.800",borderRadius:"radius-2",px:"space-2"}},variants:{variant:{static:{},absolute:{root:{position:"absolute",left:"space-12",top:"-space-8",zIndex:1,bg:"white"}}}},defaultVariants:{variant:"absolute"},slots:["root","addon"],className:"form-label",description:"The styles for the FormLabel component",jsx:["FormLabel"]}),pz=ft.defineSlotRecipe({className:"checkbox",slots:LR.keys(),jsx:["Checkbox"],base:{root:{alignItems:"center",display:"flex",cursor:{base:"pointer",_disabled:"not-allowed"},_disabled:{userSelect:"none"}},label:{color:{base:"text",_disabled:"grey.300"},fontFamily:"satoshi"},control:{alignItems:"center",borderColor:"grey.100",borderWidth:"1px",color:"white",display:"flex",bg:"white",justifyContent:"center",transitionDuration:"normal",transitionProperty:"border-color, background",transitionTimingFunction:"default",_hover:{borderColor:"secondary.500"},_checked:{background:"primary.500",borderColor:"primary.500",_hover:{background:"primary.500"}},_disabled:{background:"grey.50",borderColor:"grey.100",_checked:{background:"grey.200",borderColor:"grey.200"},_indeterminate:{background:"grey.200",borderColor:"grey.200"}},_invalid:{borderColor:"error.500",_checked:{background:"error.500",borderColor:"error.500"},_indeterminate:{background:"error.500",borderColor:"error.500"}},_indeterminate:{background:"primary.500",borderColor:"primary.500",_hover:{background:"primary.500"}},"&:has(+ :focus-visible)":{outline:"1px solid",outlineColor:"secondary.300",_checked:{outlineColor:"secondary.300"},_hover:{borderColor:"grey.100",_checked:{borderColor:"primary.500",background:"primary.500"},_indeterminate:{borderColor:"primary.500",background:"primary.500"}}}}},defaultVariants:{size:"md"},variants:{size:{md:{root:{gap:"space-4"},control:{width:"size-16",height:"size-16",borderRadius:"radius-4","& svg":{width:"size-12",height:"size-12"}},label:{textStyle:"body.md"}}}}}),vz=ft.defineSlotRecipe({className:"tabs",slots:sk.keys(),base:{root:{display:"flex",_horizontal:{flexDirection:"column"},_vertical:{flexDirection:"row"}},list:{display:"flex",flexShrink:"0",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"},overflow:"auto",position:"relative",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},trigger:{alignItems:"center",color:"grey.400",cursor:"pointer",display:"inline-flex",flexShrink:"0",textStyle:"body.md",fontFamily:"satoshi",gap:"space-4",justifyContent:"center",transitionDuration:"normal",transitionProperty:"color, background, border-color",transitionTimingFunction:"default",whiteSpace:"nowrap",zIndex:"1",_disabled:{color:"grey.100",cursor:"not-allowed",_hover:{color:"grey.100"}},_hover:{color:"secondary.500"},_selected:{color:"secondary.500",fontWeight:"bold",_hover:{color:"secondary.500"}},_vertical:{justifyContent:"flex-start"}}},defaultVariants:{variant:"line"},variants:{variant:{line:{list:{_horizontal:{boxShadow:"0 -2px 0 0 inset {colors.primary.100}"},_vertical:{boxShadow:"2px 0 0 0 inset {colors.primary.100}"}},indicator:{background:"secondary.500",_horizontal:{bottom:0,height:"2px",width:"var(--width)"},_vertical:{height:"var(--height)",left:0,width:"2px"}},content:{pt:"space-4"},trigger:{_horizontal:{px:"space-24",pb:"space-8"}}}}}}),hz=ft.defineSlotRecipe({base:{control:{fontFamily:"satoshi"},valueText:{flex:1,textAlign:"left"},content:{fontFamily:"satoshi",background:"background",border:"1px solid {colors.primary.500}",borderTop:"none",borderBottomLeftRadius:"radius-8",borderBottomRightRadius:"radius-8",display:"flex",flexDirection:"column",outline:0,zIndex:"modal",maxHeight:"180px",overflow:"auto"},indicator:{transition:"transform 0.15s ease-out",transform:{base:"rotate(0deg)",_open:"rotate(180deg)"},color:{base:"secondary.900",_disabled:"grey.300"}},clearTrigger:{color:{base:"secondary.900",_disabled:"grey.300"}},item:{_disabled:{cursor:"not-allowed"},alignItems:"center",background:{_disabled:{_hover:"grey.100",base:"grey.100"},_selected:"primary.500",_highlighted:"primary.200",_hover:"primary.200"},color:{_disabled:{_hover:"grey.300",base:"grey.300"},_selected:"white"},cursor:"pointer",display:"flex",justifyContent:"space-between",transitionDuration:"fast",transitionProperty:"background, color",transitionTimingFunction:"default"},itemGroupLabel:{textStyle:"body.sm"},root:{display:"flex",flexDirection:"column",gap:"space-4",width:"full"},trigger:{_placeholderShown:{color:{base:"grey.400",_disabled:"grey.300"}},_open:{border:"1px solid {colors.primary.500}",borderBottomLeftRadius:"radius-0",borderBottomRightRadius:"radius-0"},alignItems:"center",appearance:"none",bg:{_disabled:{base:"grey.50"},base:"white"},border:{_focusVisible:"1px solid {colors.primary.500}",_hover:{base:"1px solid {colors.secondary.500}",_open:"1px solid {colors.primary.500}",_disabled:"1px solid {colors.grey.100}"},base:"1px solid {colors.grey.100}"},borderBottomColor:{_open:"grey.100",_hover:{base:"secondary.500",_open:"grey.100"},base:"grey.100"},borderRadius:"radius-10",color:{base:"grey.900",_disabled:"grey.300"},cursor:"pointer",display:"inline-flex",outline:0,position:"relative",width:"full"}},className:"select",defaultVariants:{size:"md"},jsx:["Select"],slots:zk.keys(),variants:{size:{md:{item:{px:"space-16",py:"space-8",textStyle:"body.md"},trigger:{gap:"space-8",minH:"40px",minW:"size-16",py:"space-8",px:"space-16",textStyle:"body.md"}}}}}),mz=ft.defineRecipe({base:{alignItems:"center",borderRadius:"inherit",display:"flex",p:"space-8",textStyle:"body.md",bg:"transparent",color:"secondary.900"},className:"input-addon",description:"The styles for the InputAddon component",jsx:["InputAddon"]}),gz=ft.defineRecipe({base:{'& [data-recipe="input"]':{border:{_disabled:"none",_focusVisible:"none",base:"none"}},bg:"background",borderWidth:"1px",'& [data-recipe="inputAddon"]:first-child':{pl:"space-16!"},'& [data-recipe="inputAddon"]:last-child':{pr:"space-16!"},'&:has([data-recipe="inputAddon"]:first-child) input':{pl:"space-0!"},'&:has([data-recipe="inputAddon"]:last-child) input':{pr:"space-0!"},borderColor:{'&:has(> [data-recipe="input"]:focus-visible)':"primary.500",_disabled:"grey.100",_hover:"secondary.500",base:"grey.100"},borderRadius:"radius-8",display:"flex",flexDirection:"row",outline:"none",transition:"background",transitionDuration:"fast",width:"full"},className:"input-group",description:"The styles for the InputGroup component",jsx:["InputGroup"]}),yz={button:nz,heading:rz,switchRecipe:iz,text:az,textarea:oz,formControl:lz,formHelperText:uz,input:Hk,inputAddon:mz,inputGroup:gz},Sz={drawer:cz,accordion:dz,formLabel:fz,checkbox:pz,tabs:vz,select:hz},bz=ft.defineSemanticTokens.colors({decorative:{red:{light:{value:"#FFB5AD"},mid:{value:"#EA4F42"},dark:{value:"#752821"}},blue:{light:{value:"#B8FFFF"},mid:{value:"#54D2D2"},dark:{value:"#2A6969"}},yellow:{light:{value:"#FFFFAC"},mid:{value:"#FFCB00"},dark:{value:"#806600"}},purple:{light:{value:"#D1B8FF"},mid:{value:"#8C61FF"},dark:{value:"#463180"}},green:{light:{value:"#BEF1C7"},mid:{value:"#58B368"},dark:{value:"#2C5A34"}},brown:{light:{value:"#E4CEB9"},mid:{value:"#8F6944"},dark:{value:"#483522"}}},primary:{900:{value:"{colors.purple.900}"},800:{value:"{colors.purple.800}"},700:{value:"{colors.purple.700}"},600:{value:"{colors.purple.600}"},500:{value:"{colors.purple.500}"},400:{value:"{colors.purple.400}"},300:{value:"{colors.purple.300}"},200:{value:"{colors.purple.200}"},100:{value:"{colors.purple.100}"}},secondary:{900:{value:"{colors.blue.900}"},800:{value:"{colors.blue.800}"},700:{value:"{colors.blue.700}"},600:{value:"{colors.blue.600}"},500:{value:"{colors.blue.500}"},400:{value:"{colors.blue.400}"},300:{value:"{colors.blue.300}"},200:{value:"{colors.blue.200}"},100:{value:"{colors.blue.100}"}},error:{900:{value:"{colors.red.900}"},800:{value:"{colors.red.800}"},700:{value:"{colors.red.700}"},600:{value:"{colors.red.600}"},500:{value:"{colors.red.500}"},400:{value:"{colors.red.400}"},300:{value:"{colors.red.300}"},200:{value:"{colors.red.200}"},100:{value:"{colors.red.100}"}},success:{900:{value:"{colors.green.900}"},800:{value:"{colors.green.800}"},700:{value:"{colors.green.700}"},600:{value:"{colors.green.600}"},500:{value:"{colors.green.500}"},400:{value:"{colors.green.400}"},300:{value:"{colors.green.300}"},200:{value:"{colors.green.200}"},100:{value:"{colors.green.100}"}},warning:{900:{value:"{colors.yellow.900}"},800:{value:"{colors.yellow.800}"},700:{value:"{colors.yellow.700}"},600:{value:"{colors.yellow.600}"},500:{value:"{colors.yellow.500}"},400:{value:"{colors.yellow.400}"},300:{value:"{colors.yellow.300}"},200:{value:"{colors.yellow.200}"},100:{value:"{colors.yellow.100}"}},text:{DEFAULT:{value:"{colors.grey.800}"},disabled:{value:"{colors.grey.300}"},heading:{value:"{colors.primary.900}"}}}),Ez={colors:bz},Cz=ft.defineTextStyles({body:{lg:{value:{fontSize:"body.lg",lineHeight:"normal"}},md:{value:{fontSize:"body.md",lineHeight:"normal"}},sm:{value:{fontSize:"body.sm",lineHeight:"normal"}}},heading:{h1:{value:{fontSize:{base:"heading.mobile.2xl",sm:"heading.desktop.2xl"},fontWeight:"bold",lineHeight:"normal"}},h2:{value:{fontSize:{base:"heading.mobile.lg",sm:"heading.desktop.lg"},fontWeight:"bold",lineHeight:"normal"}},h3:{value:{fontSize:{base:"heading.mobile.md",sm:"heading.desktop.md"},fontWeight:"bold",lineHeight:"normal"}},h4:{value:{fontSize:{base:"heading.mobile.sm",sm:"heading.desktop.sm"},fontWeight:"bold",lineHeight:"normal"}},h5:{value:{fontSize:{base:"heading.mobile.xs",sm:"heading.desktop.xs"},fontWeight:"black",lineHeight:"normal"}},h6:{value:{fontSize:{base:"heading.mobile.xs",sm:"heading.desktop.xs"},fontWeight:"bold",lineHeight:"normal"}}}}),Tz=ft.defineTokens.animations({"backdrop-in":{value:"fade-in 250ms {easings.emphasized-in}"},"backdrop-out":{value:"fade-out 200ms {easings.emphasized-out}"},bounce:{value:"bounce 1s infinite"},"dialog-in":{value:"slide-in-modal 400ms {easings.emphasized-in}"},"dialog-out":{value:"slide-out-modal 200ms {easings.emphasized-out}"},"drawer-in-left":{value:"slide-in-left 400ms {easings.emphasized-in}"},"drawer-in-right":{value:"slide-in-right 400ms {easings.emphasized-in}"},"drawer-out-left":{value:"slide-out-left 200ms {easings.emphasized-out}"},"drawer-out-right":{value:"slide-out-right 200ms {easings.emphasized-out}"},"fade-in":{value:"fade-in 400ms {easings.emphasized-in}"},ping:{value:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite"},pulse:{value:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite"},"skeleton-pulse":{value:"skeleton-pulse 2s {easings.pulse} infinite"},spin:{value:"spin 1s linear infinite"},"collapse-in":{value:"collapse-in 150ms {easings.in}"},"collapse-out":{value:"collapse-out 150ms {easings.in-out}"}}),xz=ft.defineTokens.borders({golden:{value:"1.618 / 1"},landscape:{value:"4 / 3"},portrait:{value:"3 / 4"},square:{value:"1 / 1"},ultrawide:{value:"18 / 5"},wide:{value:"16 / 9"}}),wz=ft.defineTokens.blurs({"2xl":{value:"40px"},"3xl":{value:"64px"},base:{value:"8px"},lg:{value:"16px"},md:{value:"12px"},sm:{value:"4px"},xl:{value:"24px"}}),Rz=ft.defineTokens.borders({border:{none:{value:"none"}}}),kz=ft.defineTokens.colors({black:{value:"#000"},current:{value:"currentColor"},transparent:{value:"rgb(0 0 0 / 0)"},white:{value:"#fff"},purple:{900:{value:"#0B1243"},800:{value:"#0E1754"},700:{value:"#111B65"},600:{value:"#132075"},500:{value:"#162486"},400:{value:"#4350AD"},300:{value:"#7981CE"},200:{value:"#B6B7E8"},100:{value:"#F2F2FC"}},blue:{900:{value:"#1E3A76"},800:{value:"#264993"},700:{value:"#2D57B0"},600:{value:"#3566CE"},500:{value:"#3C74EB"},400:{value:"#578DFF"},300:{value:"#7CAAFF"},200:{value:"#ACCAFF"},100:{value:"#E6EEFF"}},grey:{900:{value:"#252227"},800:{value:"#2D2A31"},700:{value:"#34323B"},600:{value:"#3B3B44"},500:{value:"#43454e"},400:{value:"#666871"},300:{value:"#898B93"},200:{value:"#ADAEB4"},100:{value:"#D1D2D6"},50:{value:"#F5F6F6"}},red:{900:{value:"#802727"},800:{value:"#9F3131"},700:{value:"#BF3B3B"},600:{value:"#DF4444"},500:{value:"#Ff4e4e"},400:{value:"#FF6565"},300:{value:"#FF8585"},200:{value:"#FFB0B0"},100:{value:"#FFE6E6"}},green:{900:{value:"#24644D"},800:{value:"#2C7C60"},700:{value:"#359573"},600:{value:"#3EAE86"},500:{value:"#47c799"},400:{value:"#64E0B3"},300:{value:"#88F2CC"},200:{value:"#B4FCE2"},100:{value:"#E6FFF7"}},yellow:{900:{value:"#80581C"},800:{value:"#9F6D22"},700:{value:"#BF8329"},600:{value:"#DF9930"},500:{value:"#ffaf37"},400:{value:"#FFC551"},300:{value:"#FFD976"},200:{value:"#FFEAAC"},100:{value:"#FFF9E6"}}}),Oz=ft.defineTokens.durations({fast:{value:"150ms"},faster:{value:"100ms"},fastest:{value:"50ms"},normal:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}}),Dz=ft.defineTokens.easings({default:{value:"cubic-bezier(0.2, 0.0, 0, 1.0)"},"ease-bounce-1":{value:`linear(
|
|
183
|
+
`,height:"full",minWidth:{base:"full",md:"736px"},maxWidth:{base:"full",md:"70%"},width:"full"},header:{display:"flex",flexDirection:"row",alignItems:"center",gap:"space-16",gridArea:"header",px:"space-24",py:"space-16"},body:{display:"flex",flexDirection:"column",gridArea:"body",overflow:"auto",px:"space-24",py:"space-16",pb:"70px"},footer:{display:"flex",position:"absolute",bottom:0,left:0,right:0,bg:"white/50",backdropFilter:"auto",backdropBlur:"4px",justifyContent:"flex-end",px:"space-24",py:"space-16",gap:"space-16"},title:{color:"primary.900",fontFamily:"cabinet",textStyle:"heading.h4"}},defaultVariants:{variant:"right"},variants:{variant:{left:{positioner:{justifyContent:"flex-start"},content:{_open:{animation:"drawer-in-left"},_closed:{animation:"drawer-out-left"}}},right:{positioner:{justifyContent:"flex-end"},content:{_open:{animation:"drawer-in-right"},_closed:{animation:"drawer-out-right"}}}}}}),d6=vt.defineSlotRecipe({className:"accordion",jsx:["Accordion"],slots:vO.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"space-8"},itemTrigger:{alignItems:"center",color:"primary.900",cursor:"pointer",display:"flex",fontWeight:"bold",gap:"space-4",justifyContent:"space-between",textStyle:"body.md",fontFamily:"satoshi",textAlign:"left",width:"full",_disabled:{color:"grey.200",cursor:"not-allowed"}},itemIndicator:{color:"primary.900",transformOrigin:"center",transitionDuration:"normal",transitionProperty:"transform",transitionTimingFunction:"default",_open:{transform:"rotate(-180deg)"}},itemContent:{overflow:"hidden",transitionProperty:"padding-bottom, margin-top, opacity",transitionDuration:"normal",transitionTimingFunction:"default",'& [data-scope="accordion"][data-part="root"]':{gap:"space-12!"},'& [data-scope="accordion"][data-part="item-trigger"]':{textStyle:"body.sm",border:"none!",borderRadius:"radius-0!",p:"space-0!"},'& [data-scope="accordion"][data-part="item-content"]':{px:"space-16!",mt:"space-16!"},'& [data-scope="accordion"][data-part="item"]':{border:"none!",borderRadius:"radius-0!",p:"space-12",pr:"space-24!",pb:"space-0!"},_open:{animation:"collapse-in"},_closed:{animation:"collapse-out"}}},defaultVariants:{size:"md"},variants:{size:{md:{itemTrigger:{_open:{border:"none"},borderRadius:"radius-8",border:"1px solid {colors.primary.100}",padding:"space-12"},item:{_open:{pb:"space-12",borderRadius:"radius-8",border:"1px solid {colors.primary.100}"}},itemContent:{_closed:{pb:"space-0",mt:"space-0",opacity:0},mt:"space-4",pr:"space-16",pl:"space-28"}}}}}),f6=vt.defineSlotRecipe({base:{root:{color:"grey.400",fontFamily:"satoshi",textStyle:"body.sm"},addon:{ml:"space-4",bg:"primary.100",color:"secondary.800",borderRadius:"radius-2",px:"space-2"}},variants:{variant:{static:{},absolute:{root:{position:"absolute",left:"space-12",top:"-space-8",zIndex:1,bg:"white"}}}},defaultVariants:{variant:"absolute"},slots:["root","addon"],className:"form-label",description:"The styles for the FormLabel component",jsx:["FormLabel"]}),p6=vt.defineSlotRecipe({className:"checkbox",slots:hO.keys(),jsx:["Checkbox"],base:{root:{alignItems:"center",display:"flex",cursor:{base:"pointer",_disabled:"not-allowed"},_disabled:{userSelect:"none"}},label:{color:{base:"text",_disabled:"grey.300"},fontFamily:"satoshi"},control:{alignItems:"center",borderColor:"grey.100",borderWidth:"1px",color:"white",display:"flex",bg:"white",justifyContent:"center",transitionDuration:"normal",transitionProperty:"border-color, background",transitionTimingFunction:"default",_hover:{borderColor:"secondary.500"},_checked:{background:"primary.500",borderColor:"primary.500",_hover:{background:"primary.500"}},_disabled:{background:"grey.50",borderColor:"grey.100",_checked:{background:"grey.200",borderColor:"grey.200"},_indeterminate:{background:"grey.200",borderColor:"grey.200"}},_invalid:{borderColor:"error.500",_checked:{background:"error.500",borderColor:"error.500"},_indeterminate:{background:"error.500",borderColor:"error.500"}},_indeterminate:{background:"primary.500",borderColor:"primary.500",_hover:{background:"primary.500"}},"&:has(+ :focus-visible)":{outline:"1px solid",outlineColor:"secondary.300",_checked:{outlineColor:"secondary.300"},_hover:{borderColor:"grey.100",_checked:{borderColor:"primary.500",background:"primary.500"},_indeterminate:{borderColor:"primary.500",background:"primary.500"}}}}},defaultVariants:{size:"md"},variants:{size:{md:{root:{gap:"space-4"},control:{width:"size-16",height:"size-16",borderRadius:"radius-4","& svg":{width:"size-12",height:"size-12"}},label:{textStyle:"body.md"}}}}}),v6=vt.defineSlotRecipe({className:"tabs",slots:TO.keys(),base:{root:{isolation:"isolate",display:"flex",_horizontal:{flexDirection:"column"},_vertical:{flexDirection:"row"}},list:{display:"flex",flexShrink:"0",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"},overflow:"auto",position:"relative",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},trigger:{alignItems:"center",color:"grey.400",cursor:"pointer",display:"inline-flex",flexShrink:"0",textStyle:"body.md",fontFamily:"satoshi",gap:"space-4",justifyContent:"center",transitionDuration:"normal",transitionProperty:"color, background, border-color",transitionTimingFunction:"default",whiteSpace:"nowrap",zIndex:1,_disabled:{color:"grey.100",cursor:"not-allowed",_hover:{color:"grey.100"}},_hover:{color:"secondary.500"},_selected:{color:"secondary.500",fontWeight:"bold",_hover:{color:"secondary.500"}},_vertical:{justifyContent:"flex-start"}}},defaultVariants:{variant:"line"},variants:{variant:{line:{list:{_horizontal:{boxShadow:"0 -2px 0 0 inset {colors.primary.100}"},_vertical:{boxShadow:"2px 0 0 0 inset {colors.primary.100}"}},indicator:{background:"secondary.500",_horizontal:{bottom:0,height:"2px",width:"var(--width)"},_vertical:{height:"var(--height)",left:0,width:"2px"}},content:{pt:"space-4"},trigger:{_horizontal:{px:"space-24",pb:"space-8"}}}}}}),h6=vt.defineSlotRecipe({base:{control:{fontFamily:"satoshi"},valueText:{flex:1,textAlign:"left"},content:{fontFamily:"satoshi",background:"background",border:"1px solid {colors.primary.500}",borderTop:"none",borderBottomLeftRadius:"radius-8",borderBottomRightRadius:"radius-8",display:"flex",flexDirection:"column",outline:0,zIndex:"modal",maxHeight:"180px",overflow:"auto"},indicator:{transition:"transform 0.15s ease-out",transform:{base:"rotate(0deg)",_open:"rotate(180deg)"},color:{base:"secondary.900",_disabled:"grey.300"}},clearTrigger:{color:{base:"secondary.900",_disabled:"grey.300"}},item:{_disabled:{cursor:"not-allowed"},alignItems:"center",background:{_disabled:{_hover:"grey.100",base:"grey.100"},_selected:"primary.500",_highlighted:"primary.200",_hover:"primary.200"},color:{_disabled:{_hover:"grey.300",base:"grey.300"},_selected:"white"},cursor:"pointer",display:"flex",justifyContent:"space-between",transitionDuration:"fast",transitionProperty:"background, color",transitionTimingFunction:"default"},itemGroupLabel:{textStyle:"body.sm"},root:{display:"flex",flexDirection:"column",gap:"space-4",width:"full"},trigger:{_placeholderShown:{color:{base:"grey.400",_disabled:"grey.300"}},_open:{border:"1px solid {colors.primary.500}",borderBottomLeftRadius:"radius-0",borderBottomRightRadius:"radius-0"},alignItems:"center",appearance:"none",bg:{_disabled:{base:"grey.50"},base:"white"},border:{_focusVisible:"1px solid {colors.primary.500}",_hover:{base:"1px solid {colors.secondary.500}",_open:"1px solid {colors.primary.500}",_disabled:"1px solid {colors.grey.100}"},base:"1px solid {colors.grey.100}"},borderBottomColor:{_open:"grey.100",_hover:{base:"secondary.500",_open:"grey.100"},base:"grey.100"},borderRadius:"radius-10",color:{base:"grey.900",_disabled:"grey.300"},cursor:"pointer",display:"inline-flex",outline:0,position:"relative",width:"full"}},className:"select",defaultVariants:{size:"md"},jsx:["Select"],slots:yO.keys(),variants:{size:{md:{item:{px:"space-16",py:"space-8",textStyle:"body.md"},trigger:{gap:"space-8",minH:"40px",minW:"size-16",py:"space-8",px:"space-16",textStyle:"body.md"}}}}}),m6=vt.defineRecipe({base:{alignItems:"center",borderRadius:"inherit",display:"flex",p:"space-8",textStyle:"body.md",bg:"transparent",color:"secondary.900"},className:"input-addon",description:"The styles for the InputAddon component",jsx:["InputAddon"]}),g6=vt.defineRecipe({base:{'& [data-recipe="input"]':{border:{_disabled:"none",_focusVisible:"none",base:"none"}},bg:"background",borderWidth:"1px",'& [data-recipe="inputAddon"]:first-child':{pl:"space-16!"},'& [data-recipe="inputAddon"]:last-child':{pr:"space-16!"},'&:has([data-recipe="inputAddon"]:first-child) input':{pl:"space-0!"},'&:has([data-recipe="inputAddon"]:last-child) input':{pr:"space-0!"},borderColor:{'&:has(> [data-recipe="input"]:focus-visible)':"primary.500",_disabled:"grey.100",_hover:"secondary.500",base:"grey.100"},borderRadius:"radius-8",display:"flex",flexDirection:"row",outline:"none",transition:"background",transitionDuration:"fast",width:"full"},className:"input-group",description:"The styles for the InputGroup component",jsx:["InputGroup"]}),y6={button:n6,heading:r6,switchRecipe:i6,text:a6,textarea:o6,formControl:l6,formHelperText:u6,input:xO,inputAddon:m6,inputGroup:g6},S6={drawer:c6,accordion:d6,formLabel:f6,checkbox:p6,tabs:v6,select:h6},E6=vt.defineSemanticTokens.colors({decorative:{red:{light:{value:"#FFB5AD"},mid:{value:"#EA4F42"},dark:{value:"#752821"}},blue:{light:{value:"#B8FFFF"},mid:{value:"#54D2D2"},dark:{value:"#2A6969"}},yellow:{light:{value:"#FFFFAC"},mid:{value:"#FFCB00"},dark:{value:"#806600"}},purple:{light:{value:"#D1B8FF"},mid:{value:"#8C61FF"},dark:{value:"#463180"}},green:{light:{value:"#BEF1C7"},mid:{value:"#58B368"},dark:{value:"#2C5A34"}},brown:{light:{value:"#E4CEB9"},mid:{value:"#8F6944"},dark:{value:"#483522"}}},primary:{900:{value:"{colors.purple.900}"},800:{value:"{colors.purple.800}"},700:{value:"{colors.purple.700}"},600:{value:"{colors.purple.600}"},500:{value:"{colors.purple.500}"},400:{value:"{colors.purple.400}"},300:{value:"{colors.purple.300}"},200:{value:"{colors.purple.200}"},100:{value:"{colors.purple.100}"}},secondary:{900:{value:"{colors.blue.900}"},800:{value:"{colors.blue.800}"},700:{value:"{colors.blue.700}"},600:{value:"{colors.blue.600}"},500:{value:"{colors.blue.500}"},400:{value:"{colors.blue.400}"},300:{value:"{colors.blue.300}"},200:{value:"{colors.blue.200}"},100:{value:"{colors.blue.100}"}},error:{900:{value:"{colors.red.900}"},800:{value:"{colors.red.800}"},700:{value:"{colors.red.700}"},600:{value:"{colors.red.600}"},500:{value:"{colors.red.500}"},400:{value:"{colors.red.400}"},300:{value:"{colors.red.300}"},200:{value:"{colors.red.200}"},100:{value:"{colors.red.100}"}},success:{900:{value:"{colors.green.900}"},800:{value:"{colors.green.800}"},700:{value:"{colors.green.700}"},600:{value:"{colors.green.600}"},500:{value:"{colors.green.500}"},400:{value:"{colors.green.400}"},300:{value:"{colors.green.300}"},200:{value:"{colors.green.200}"},100:{value:"{colors.green.100}"}},warning:{900:{value:"{colors.yellow.900}"},800:{value:"{colors.yellow.800}"},700:{value:"{colors.yellow.700}"},600:{value:"{colors.yellow.600}"},500:{value:"{colors.yellow.500}"},400:{value:"{colors.yellow.400}"},300:{value:"{colors.yellow.300}"},200:{value:"{colors.yellow.200}"},100:{value:"{colors.yellow.100}"}},text:{DEFAULT:{value:"{colors.grey.800}"},disabled:{value:"{colors.grey.300}"},heading:{value:"{colors.primary.900}"}}}),b6={colors:E6},C6=vt.defineTextStyles({body:{lg:{value:{fontSize:"body.lg",lineHeight:"normal"}},md:{value:{fontSize:"body.md",lineHeight:"normal"}},sm:{value:{fontSize:"body.sm",lineHeight:"normal"}}},heading:{h1:{value:{fontSize:{base:"heading.mobile.2xl",sm:"heading.desktop.2xl"},fontWeight:"bold",lineHeight:"normal"}},h2:{value:{fontSize:{base:"heading.mobile.lg",sm:"heading.desktop.lg"},fontWeight:"bold",lineHeight:"normal"}},h3:{value:{fontSize:{base:"heading.mobile.md",sm:"heading.desktop.md"},fontWeight:"bold",lineHeight:"normal"}},h4:{value:{fontSize:{base:"heading.mobile.sm",sm:"heading.desktop.sm"},fontWeight:"bold",lineHeight:"normal"}},h5:{value:{fontSize:{base:"heading.mobile.xs",sm:"heading.desktop.xs"},fontWeight:"black",lineHeight:"normal"}},h6:{value:{fontSize:{base:"heading.mobile.xs",sm:"heading.desktop.xs"},fontWeight:"bold",lineHeight:"normal"}}}}),T6=vt.defineTokens.animations({"backdrop-in":{value:"fade-in 250ms {easings.emphasized-in}"},"backdrop-out":{value:"fade-out 200ms {easings.emphasized-out}"},bounce:{value:"bounce 1s infinite"},"dialog-in":{value:"slide-in-modal 400ms {easings.emphasized-in}"},"dialog-out":{value:"slide-out-modal 200ms {easings.emphasized-out}"},"drawer-in-left":{value:"slide-in-left 400ms {easings.emphasized-in}"},"drawer-in-right":{value:"slide-in-right 400ms {easings.emphasized-in}"},"drawer-out-left":{value:"slide-out-left 200ms {easings.emphasized-out}"},"drawer-out-right":{value:"slide-out-right 200ms {easings.emphasized-out}"},"fade-in":{value:"fade-in 400ms {easings.emphasized-in}"},ping:{value:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite"},pulse:{value:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite"},"skeleton-pulse":{value:"skeleton-pulse 2s {easings.pulse} infinite"},spin:{value:"spin 1s linear infinite"},"collapse-in":{value:"collapse-in 150ms {easings.in}"},"collapse-out":{value:"collapse-out 150ms {easings.in-out}"}}),w6=vt.defineTokens.borders({golden:{value:"1.618 / 1"},landscape:{value:"4 / 3"},portrait:{value:"3 / 4"},square:{value:"1 / 1"},ultrawide:{value:"18 / 5"},wide:{value:"16 / 9"}}),x6=vt.defineTokens.blurs({"2xl":{value:"40px"},"3xl":{value:"64px"},base:{value:"8px"},lg:{value:"16px"},md:{value:"12px"},sm:{value:"4px"},xl:{value:"24px"}}),R6=vt.defineTokens.borders({border:{none:{value:"none"}}}),k6=vt.defineTokens.colors({black:{value:"#000"},current:{value:"currentColor"},transparent:{value:"rgb(0 0 0 / 0)"},white:{value:"#fff"},purple:{900:{value:"#0B1243"},800:{value:"#0E1754"},700:{value:"#111B65"},600:{value:"#132075"},500:{value:"#162486"},400:{value:"#4350AD"},300:{value:"#7981CE"},200:{value:"#B6B7E8"},100:{value:"#F2F2FC"}},blue:{900:{value:"#1E3A76"},800:{value:"#264993"},700:{value:"#2D57B0"},600:{value:"#3566CE"},500:{value:"#3C74EB"},400:{value:"#578DFF"},300:{value:"#7CAAFF"},200:{value:"#ACCAFF"},100:{value:"#E6EEFF"}},grey:{900:{value:"#252227"},800:{value:"#2D2A31"},700:{value:"#34323B"},600:{value:"#3B3B44"},500:{value:"#43454e"},400:{value:"#666871"},300:{value:"#898B93"},200:{value:"#ADAEB4"},100:{value:"#D1D2D6"},50:{value:"#F5F6F6"}},red:{900:{value:"#802727"},800:{value:"#9F3131"},700:{value:"#BF3B3B"},600:{value:"#DF4444"},500:{value:"#Ff4e4e"},400:{value:"#FF6565"},300:{value:"#FF8585"},200:{value:"#FFB0B0"},100:{value:"#FFE6E6"}},green:{900:{value:"#24644D"},800:{value:"#2C7C60"},700:{value:"#359573"},600:{value:"#3EAE86"},500:{value:"#47c799"},400:{value:"#64E0B3"},300:{value:"#88F2CC"},200:{value:"#B4FCE2"},100:{value:"#E6FFF7"}},yellow:{900:{value:"#80581C"},800:{value:"#9F6D22"},700:{value:"#BF8329"},600:{value:"#DF9930"},500:{value:"#ffaf37"},400:{value:"#FFC551"},300:{value:"#FFD976"},200:{value:"#FFEAAC"},100:{value:"#FFF9E6"}}}),O6=vt.defineTokens.durations({fast:{value:"150ms"},faster:{value:"100ms"},fastest:{value:"50ms"},normal:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}}),D6=vt.defineTokens.easings({default:{value:"cubic-bezier(0.2, 0.0, 0, 1.0)"},"ease-bounce-1":{value:`linear(
|
|
184
184
|
0, 0.004, 0.016, 0.035, 0.063, 0.098, 0.141, 0.191, 0.25, 0.316, 0.391 36.8%,
|
|
185
185
|
0.563, 0.766, 1 58.8%, 0.946, 0.908 69.1%, 0.895, 0.885, 0.879, 0.878, 0.879,
|
|
186
186
|
0.885, 0.895, 0.908 89.7%, 0.946, 1
|
|
@@ -229,5 +229,5 @@ Error generating stack: `+y.message+`
|
|
|
229
229
|
1.254 17%, 1.259, 1.257 18.6%, 1.236, 1.194 22.3%, 1.057 27%, 0.999 29.4%,
|
|
230
230
|
0.955 32.1%, 0.942, 0.935 34.9%, 0.933, 0.939 38.4%, 1 47.3%, 1.011,
|
|
231
231
|
1.017 52.6%, 1.016 56.4%, 1 65.2%, 0.996 70.2%, 1.001 87.2%, 1
|
|
232
|
-
)`},"emphasized-in":{value:"cubic-bezier(0.05, 0.7, 0.1, 1.0)"},"emphasized-out":{value:"cubic-bezier(0.3, 0.0, 0.8, 0.15)"},in:{value:"cubic-bezier(0.4, 0, 1, 1)"},"in-out":{value:"cubic-bezier(0.4, 0, 0.2, 1)"},linear:{value:"linear"},out:{value:"cubic-bezier(0, 0, 0.2, 1)"},pulse:{value:"cubic-bezier(0.4, 0.0, 0.6, 1.0)"}}),Nz=ft.defineTokens.radii({"radius-0":{value:"0px"},"radius-2":{value:"2px"},"radius-4":{value:"4px"},"radius-6":{value:"6px"},"radius-8":{value:"8px"},"radius-10":{value:"10px"},"radius-12":{value:"12px"},"radius-16":{value:"16px"},"radius-20":{value:"20px"},"radius-24":{value:"24px"},"radius-28":{value:"28px"},"radius-32":{value:"32px"},"radius-36":{value:"36px"},"radius-40":{value:"40px"},"radius-44":{value:"44px"},"radius-48":{value:"48px"},"radius-52":{value:"52px"},"radius-56":{value:"56px"},"radius-60":{value:"60px"},"radius-64":{value:"64px"},full:{value:"9999px"}}),Lz=ft.defineTokens.shadows({"2xl":{value:"0 25px 50px -12px rgb(0 0 0 / 0.25)"},inner:{value:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},lg:{value:["0 10px 15px -3px rgb(0 0 0 / 0.1)","0 4px 6px -4px rgb(0 0 0 / 0.1)"]},md:{value:["0 4px 6px -1px rgb(0 0 0 / 0.1)","0 2px 4px -2px rgb(0 0 0 / 0.1)"]},sm:{value:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"]},xl:{value:["0 20px 25px -5px rgb(0 0 0 / 0.1)","0 8px 10px -6px rgb(0 0 0 / 0.1)"]},xs:{value:"0 1px 2px 0 rgb(0 0 0 / 0.05)"}}),_z=ft.defineTokens.sizes({"size-0":{value:"0px"},"size-12":{value:"12px"},"size-14":{value:"14px"},"size-16":{value:"16px"},"size-2":{value:"2px"},"size-20":{value:"20px"},"size-24":{value:"24px"},"size-28":{value:"28px"},"size-32":{value:"32px"},"size-36":{value:"36px"},"size-4":{value:"4px"},"size-40":{value:"40px"},"size-6":{value:"6px"},"size-44":{value:"44px"},"size-8":{value:"8px"},full:{value:"100%"},max:{value:"max-content"},"size-48":{value:"48px"},fit:{value:"fit-content"},"size-52":{value:"52px"},min:{value:"min-content"},"size-56":{value:"56px"},"size-60":{value:"60px"},"size-64":{value:"64px"},"size-68":{value:"68px"},"size-72":{value:"72px"},"size-76":{value:"76px"},"size-80":{value:"80px"}}),Az=ft.defineTokens.spacing({"space-0":{value:"0px"},"space-12":{value:"12px"},"space-10":{value:"10px"},"space-14":{value:"14px"},"space-16":{value:"16px"},"space-18":{value:"18px"},"space-2":{value:"2px"},"space-20":{value:"20px"},"space-24":{value:"24px"},"space-28":{value:"28px"},"space-32":{value:"32px"},"space-36":{value:"36px"},"space-4":{value:"4px"},"space-40":{value:"40px"},"space-6":{value:"6px"},"space-44":{value:"44px"},"space-8":{value:"8px"},"space-48":{value:"48px"},"space-52":{value:"52px"},"space-56":{value:"56px"},"space-60":{value:"60px"},"space-64":{value:"64px"},"space-68":{value:"68px"},"space-72":{value:"72px"},"space-76":{value:"76px"},"space-80":{value:"80px"}});var Iz="cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%";`${Iz.split(",").join("|")}`;var Mz={animation:["animationName","animationDuration","animationTimingFunction","animationDelay","animationIterationCount","animationDirection","animationFillMode","animationPlayState"],background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderWidth","borderStyle","borderColor"],borderBlockEnd:["borderBlockEndWidth","borderBlockEndStyle","borderBlockEndColor"],borderBlockStart:["borderBlockStartWidth","borderBlockStartStyle","borderBlockStartColor"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderImage:["borderImageSource","borderImageSlice","borderImageWidth","borderImageOutset","borderImageRepeat"],borderInlineEnd:["borderInlineEndWidth","borderInlineEndStyle","borderInlineEndColor"],borderInlineStart:["borderInlineStartWidth","borderInlineStartStyle","borderInlineStartColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderStyle:["borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],columnRule:["columnRuleWidth","columnRuleStyle","columnRuleColor"],columns:["columnWidth","columnCount"],container:["contain","content"],containIntrinsicSize:["containIntrinsicSizeInline","containIntrinsicSizeBlock"],cue:["cueBefore","cueAfter"],flex:["flexGrow","flexShrink","flexBasis"],flexFlow:["flexDirection","flexWrap"],font:["fontStyle","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","fontStretch","fontSize","lineHeight","fontFamily"],fontSynthesis:["fontSynthesisWeight","fontSynthesisStyle","fontSynthesisSmallCaps"],fontVariant:["fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridTemplateColumns","gridTemplateRows","gridTemplateAreas","gridAutoColumns","gridAutoRows","gridAutoFlow"],gridArea:["gridRowStart","gridColumnStart","gridRowEnd","gridColumnEnd"],gridColumn:["gridColumnStart","gridColumnEnd"],gridGap:["gridColumnGap","gridRowGap"],gridRow:["gridRowStart","gridRowEnd"],gridTemplate:["gridTemplateColumns","gridTemplateRows","gridTemplateAreas"],inset:["top","right","bottom","left"],listStyle:["listStyleType","listStylePosition","listStyleImage"],margin:["marginTop","marginRight","marginBottom","marginLeft"],mask:["maskImage","maskMode","maskRepeat","maskPosition","maskClip","maskOrigin","maskSize","maskComposite"],maskBorder:["maskBorderSource","maskBorderMode","maskBorderSlice","maskBorderWidth","maskBorderOutset","maskBorderRepeat"],offset:["offsetPosition","offsetPath","offsetDistance","offsetRotate","offsetAnchor"],outline:["outlineWidth","outlineStyle","outlineColor"],overflow:["overflowX","overflowY"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"],pause:["pauseBefore","pauseAfter"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],rest:["restBefore","restAfter"],scrollMargin:["scrollMarginTop","scrollMarginRight","scrollMarginBottom","scrollMarginLeft"],scrollPadding:["scrollPaddingTop","scrollPaddingRight","scrollPaddingBottom","scrollPaddingLeft"],scrollPaddingBlock:["scrollPaddingBlockStart","scrollPaddingBlockEnd"],scrollPaddingInline:["scrollPaddingInlineStart","scrollPaddingInlineEnd"],scrollSnapMargin:["scrollSnapMarginTop","scrollSnapMarginRight","scrollSnapMarginBottom","scrollSnapMarginLeft"],scrollSnapMarginBlock:["scrollSnapMarginBlockStart","scrollSnapMarginBlockEnd"],scrollSnapMarginInline:["scrollSnapMarginInlineStart","scrollSnapMarginInlineEnd"],scrollTimeline:["scrollTimelineSource","scrollTimelineOrientation"],textDecoration:["textDecorationLine","textDecorationStyle","textDecorationColor"],textEmphasis:["textEmphasisStyle","textEmphasisColor"],transition:["transitionProperty","transitionDuration","transitionTimingFunction","transitionDelay"]};Object.values(Mz).reduce((a,u)=>[...a,...u],[]);var Pz=16,Vk="px",jk="em",Ey="rem";function Fz(a=""){const u=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),l=new RegExp(`${Vk}|${jk}|${Ey}`),d=a.match(new RegExp(`${u.source}(${l.source})`));return d==null?void 0:d[1]}function _i(a=""){const u=Fz(a);if(!u||u===Ey)return a;if(u===jk)return`${parseFloat(a)}${Ey}`;if(u===Vk)return`${parseFloat(a)/Pz}${Ey}`}const zz=ft.defineTokens.fontSizes({body:{lg:{value:_i("16px")},md:{value:_i("14px")},sm:{value:_i("12px")}},heading:{desktop:{"2xl":{value:_i("44px")},lg:{value:_i("32px")},md:{value:_i("28px")},sm:{value:_i("22px")},xs:{value:_i("18px")}},mobile:{"2xl":{value:_i("38px")},lg:{value:_i("30px")},md:{value:_i("24px")},sm:{value:_i("22px")},xs:{value:_i("18px")}}}}),Uz=ft.defineTokens.fontWeights({black:{value:"900"},bold:{value:"700"},extrabold:{value:"800"},extralight:{value:"200"},light:{value:"300"},medium:{value:"500"},normal:{value:"400"},semibold:{value:"600"},thin:{value:"100"}}),Hz=ft.defineTokens.letterSpacings({normal:{value:"0em"},tight:{value:"-0.025em"},tighter:{value:"-0.05em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}}),Vz=ft.defineTokens.lineHeights({}),jz=ft.defineTokens.fonts({satoshi:{value:"var(--font-satoshi)"},cabinet:{value:"var(--font-cabinet)"},mono:{value:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},sans:{value:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"']},serif:{value:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"]}}),Bz=ft.defineTokens.zIndex({banner:{value:1200},base:{value:0},docked:{value:10},dropdown:{value:1e3},hide:{value:-1},modal:{value:1400},overlay:{value:1300},popover:{value:1500},skipLink:{value:1600},sticky:{value:1100},toast:{value:1700},tooltip:{value:1800}}),$z={animations:Tz,aspectRatios:xz,blurs:wz,borders:Rz,colors:kz,durations:Oz,easings:Dz,fontSizes:zz,fontWeights:Uz,fonts:jz,letterSpacings:Hz,lineHeights:Vz,radii:Nz,shadows:Lz,sizes:_z,spacing:Az,zIndex:Bz},Gz=ft.defineUtility({className:"size",transform(a){return{height:a,width:a}},values:"sizes"}),Wz={extend:{boxSize:Gz}},Yz=ft.definePreset({staticCss:{recipes:"*"},theme:{breakpoints:ZF,containerSizes:ez,keyframes:tz,recipes:yz,semanticTokens:Ez,slotRecipes:Sz,textStyles:Cz,tokens:$z},utilities:Wz,conditions:JF});exports.Accordion=mM;exports.AccordionItem=gM;exports.AccordionItemContent=yM;exports.AccordionItemIndicator=SM;exports.AccordionItemTrigger=bM;exports.Button=TR;exports.Checkbox=AR;exports.Drawer=FP;exports.DrawerBody=zP;exports.DrawerCloseTrigger=qR;exports.DrawerContent=GP;exports.DrawerFooter=UP;exports.DrawerHeader=HP;exports.DrawerTitle=VP;exports.DrawerTrigger=jP;exports.FormControl=YP;exports.FormHelperText=XP;exports.FormLabel=QP;exports.Heading=qP;exports.Input=QF;exports.InputAddon=XF;exports.InputGroup=qF;exports.Select=KF;exports.Switch=ak;exports.Tabs=h3;exports.TabsContent=m3;exports.TabsList=S3;exports.TabsTrigger=g3;exports.Text=ok;exports.Textarea=r3;exports.preset=Yz;
|
|
232
|
+
)`},"emphasized-in":{value:"cubic-bezier(0.05, 0.7, 0.1, 1.0)"},"emphasized-out":{value:"cubic-bezier(0.3, 0.0, 0.8, 0.15)"},in:{value:"cubic-bezier(0.4, 0, 1, 1)"},"in-out":{value:"cubic-bezier(0.4, 0, 0.2, 1)"},linear:{value:"linear"},out:{value:"cubic-bezier(0, 0, 0.2, 1)"},pulse:{value:"cubic-bezier(0.4, 0.0, 0.6, 1.0)"}}),N6=vt.defineTokens.radii({"radius-0":{value:"0px"},"radius-2":{value:"2px"},"radius-4":{value:"4px"},"radius-6":{value:"6px"},"radius-8":{value:"8px"},"radius-10":{value:"10px"},"radius-12":{value:"12px"},"radius-16":{value:"16px"},"radius-20":{value:"20px"},"radius-24":{value:"24px"},"radius-28":{value:"28px"},"radius-32":{value:"32px"},"radius-36":{value:"36px"},"radius-40":{value:"40px"},"radius-44":{value:"44px"},"radius-48":{value:"48px"},"radius-52":{value:"52px"},"radius-56":{value:"56px"},"radius-60":{value:"60px"},"radius-64":{value:"64px"},full:{value:"9999px"}}),L6=vt.defineTokens.shadows({"2xl":{value:"0 25px 50px -12px rgb(0 0 0 / 0.25)"},inner:{value:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},lg:{value:["0 10px 15px -3px rgb(0 0 0 / 0.1)","0 4px 6px -4px rgb(0 0 0 / 0.1)"]},md:{value:["0 4px 6px -1px rgb(0 0 0 / 0.1)","0 2px 4px -2px rgb(0 0 0 / 0.1)"]},sm:{value:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"]},xl:{value:["0 20px 25px -5px rgb(0 0 0 / 0.1)","0 8px 10px -6px rgb(0 0 0 / 0.1)"]},xs:{value:"0 1px 2px 0 rgb(0 0 0 / 0.05)"}}),I6=vt.defineTokens.sizes({"size-0":{value:"0px"},"size-12":{value:"12px"},"size-14":{value:"14px"},"size-16":{value:"16px"},"size-2":{value:"2px"},"size-20":{value:"20px"},"size-24":{value:"24px"},"size-28":{value:"28px"},"size-32":{value:"32px"},"size-36":{value:"36px"},"size-4":{value:"4px"},"size-40":{value:"40px"},"size-6":{value:"6px"},"size-44":{value:"44px"},"size-8":{value:"8px"},full:{value:"100%"},max:{value:"max-content"},"size-48":{value:"48px"},fit:{value:"fit-content"},"size-52":{value:"52px"},min:{value:"min-content"},"size-56":{value:"56px"},"size-60":{value:"60px"},"size-64":{value:"64px"},"size-68":{value:"68px"},"size-72":{value:"72px"},"size-76":{value:"76px"},"size-80":{value:"80px"}}),A6=vt.defineTokens.spacing({"space-0":{value:"0px"},"space-12":{value:"12px"},"space-10":{value:"10px"},"space-14":{value:"14px"},"space-16":{value:"16px"},"space-18":{value:"18px"},"space-2":{value:"2px"},"space-20":{value:"20px"},"space-24":{value:"24px"},"space-28":{value:"28px"},"space-32":{value:"32px"},"space-36":{value:"36px"},"space-4":{value:"4px"},"space-40":{value:"40px"},"space-6":{value:"6px"},"space-44":{value:"44px"},"space-8":{value:"8px"},"space-48":{value:"48px"},"space-52":{value:"52px"},"space-56":{value:"56px"},"space-60":{value:"60px"},"space-64":{value:"64px"},"space-68":{value:"68px"},"space-72":{value:"72px"},"space-76":{value:"76px"},"space-80":{value:"80px"}});var _6="cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%";`${_6.split(",").join("|")}`;var M6={animation:["animationName","animationDuration","animationTimingFunction","animationDelay","animationIterationCount","animationDirection","animationFillMode","animationPlayState"],background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderWidth","borderStyle","borderColor"],borderBlockEnd:["borderBlockEndWidth","borderBlockEndStyle","borderBlockEndColor"],borderBlockStart:["borderBlockStartWidth","borderBlockStartStyle","borderBlockStartColor"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderImage:["borderImageSource","borderImageSlice","borderImageWidth","borderImageOutset","borderImageRepeat"],borderInlineEnd:["borderInlineEndWidth","borderInlineEndStyle","borderInlineEndColor"],borderInlineStart:["borderInlineStartWidth","borderInlineStartStyle","borderInlineStartColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderStyle:["borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],columnRule:["columnRuleWidth","columnRuleStyle","columnRuleColor"],columns:["columnWidth","columnCount"],container:["contain","content"],containIntrinsicSize:["containIntrinsicSizeInline","containIntrinsicSizeBlock"],cue:["cueBefore","cueAfter"],flex:["flexGrow","flexShrink","flexBasis"],flexFlow:["flexDirection","flexWrap"],font:["fontStyle","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","fontStretch","fontSize","lineHeight","fontFamily"],fontSynthesis:["fontSynthesisWeight","fontSynthesisStyle","fontSynthesisSmallCaps"],fontVariant:["fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridTemplateColumns","gridTemplateRows","gridTemplateAreas","gridAutoColumns","gridAutoRows","gridAutoFlow"],gridArea:["gridRowStart","gridColumnStart","gridRowEnd","gridColumnEnd"],gridColumn:["gridColumnStart","gridColumnEnd"],gridGap:["gridColumnGap","gridRowGap"],gridRow:["gridRowStart","gridRowEnd"],gridTemplate:["gridTemplateColumns","gridTemplateRows","gridTemplateAreas"],inset:["top","right","bottom","left"],listStyle:["listStyleType","listStylePosition","listStyleImage"],margin:["marginTop","marginRight","marginBottom","marginLeft"],mask:["maskImage","maskMode","maskRepeat","maskPosition","maskClip","maskOrigin","maskSize","maskComposite"],maskBorder:["maskBorderSource","maskBorderMode","maskBorderSlice","maskBorderWidth","maskBorderOutset","maskBorderRepeat"],offset:["offsetPosition","offsetPath","offsetDistance","offsetRotate","offsetAnchor"],outline:["outlineWidth","outlineStyle","outlineColor"],overflow:["overflowX","overflowY"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"],pause:["pauseBefore","pauseAfter"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],rest:["restBefore","restAfter"],scrollMargin:["scrollMarginTop","scrollMarginRight","scrollMarginBottom","scrollMarginLeft"],scrollPadding:["scrollPaddingTop","scrollPaddingRight","scrollPaddingBottom","scrollPaddingLeft"],scrollPaddingBlock:["scrollPaddingBlockStart","scrollPaddingBlockEnd"],scrollPaddingInline:["scrollPaddingInlineStart","scrollPaddingInlineEnd"],scrollSnapMargin:["scrollSnapMarginTop","scrollSnapMarginRight","scrollSnapMarginBottom","scrollSnapMarginLeft"],scrollSnapMarginBlock:["scrollSnapMarginBlockStart","scrollSnapMarginBlockEnd"],scrollSnapMarginInline:["scrollSnapMarginInlineStart","scrollSnapMarginInlineEnd"],scrollTimeline:["scrollTimelineSource","scrollTimelineOrientation"],textDecoration:["textDecorationLine","textDecorationStyle","textDecorationColor"],textEmphasis:["textEmphasisStyle","textEmphasisColor"],transition:["transitionProperty","transitionDuration","transitionTimingFunction","transitionDelay"]};Object.values(M6).reduce((r,l)=>[...r,...l],[]);var P6=16,RO="px",kO="em",_y="rem";function F6(r=""){const l=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),o=new RegExp(`${RO}|${kO}|${_y}`),d=r.match(new RegExp(`${l.source}(${o.source})`));return d==null?void 0:d[1]}function Fi(r=""){const l=F6(r);if(!l||l===_y)return r;if(l===kO)return`${parseFloat(r)}${_y}`;if(l===RO)return`${parseFloat(r)/P6}${_y}`}const z6=vt.defineTokens.fontSizes({body:{lg:{value:Fi("16px")},md:{value:Fi("14px")},sm:{value:Fi("12px")}},heading:{desktop:{"2xl":{value:Fi("44px")},lg:{value:Fi("32px")},md:{value:Fi("28px")},sm:{value:Fi("22px")},xs:{value:Fi("18px")}},mobile:{"2xl":{value:Fi("38px")},lg:{value:Fi("30px")},md:{value:Fi("24px")},sm:{value:Fi("22px")},xs:{value:Fi("18px")}}}}),U6=vt.defineTokens.fontWeights({black:{value:"900"},bold:{value:"700"},extrabold:{value:"800"},extralight:{value:"200"},light:{value:"300"},medium:{value:"500"},normal:{value:"400"},semibold:{value:"600"},thin:{value:"100"}}),V6=vt.defineTokens.letterSpacings({normal:{value:"0em"},tight:{value:"-0.025em"},tighter:{value:"-0.05em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}}),H6=vt.defineTokens.lineHeights({}),B6=vt.defineTokens.fonts({satoshi:{value:"var(--font-satoshi)"},cabinet:{value:"var(--font-cabinet)"},mono:{value:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},sans:{value:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"']},serif:{value:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"]}}),j6=vt.defineTokens.zIndex({banner:{value:1200},base:{value:0},docked:{value:10},dropdown:{value:1e3},hide:{value:-1},modal:{value:1400},overlay:{value:1300},popover:{value:1500},skipLink:{value:1600},sticky:{value:1100},toast:{value:1700},tooltip:{value:1800}}),$6={animations:T6,aspectRatios:w6,blurs:x6,borders:R6,colors:k6,durations:O6,easings:D6,fontSizes:z6,fontWeights:U6,fonts:B6,letterSpacings:V6,lineHeights:H6,radii:N6,shadows:L6,sizes:I6,spacing:A6,zIndex:j6},G6=vt.defineUtility({className:"size",transform(r){return{height:r,width:r}},values:"sizes"}),W6={extend:{boxSize:G6}},Y6=vt.definePreset({staticCss:{recipes:"*"},theme:{breakpoints:Z4,containerSizes:e6,keyframes:t6,recipes:y6,semanticTokens:b6,slotRecipes:S6,textStyles:C6,tokens:$6},utilities:W6,conditions:J4});exports.Accordion=_P;exports.AccordionItem=MP;exports.AccordionItemContent=PP;exports.AccordionItemIndicator=FP;exports.AccordionItemTrigger=zP;exports.Button=rk;exports.Checkbox=ck;exports.Drawer=QF;exports.DrawerBody=qF;exports.DrawerCloseTrigger=xk;exports.DrawerContent=r3;exports.DrawerFooter=XF;exports.DrawerHeader=ZF;exports.DrawerTitle=JF;exports.DrawerTrigger=e3;exports.FormControl=a3;exports.FormHelperText=u3;exports.FormLabel=l3;exports.Heading=s3;exports.Input=Q4;exports.InputAddon=q4;exports.InputGroup=X4;exports.Select=K4;exports.Switch=Ak;exports.Tabs=D3;exports.TabsContent=N3;exports.TabsList=A3;exports.TabsTrigger=L3;exports.Text=_k;exports.Textarea=m3;exports.preset=Y6;
|
|
233
233
|
//# sourceMappingURL=ui.cjs.map
|