@stokelp/ui 1.6.2 → 1.6.3
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 +1 -1
- package/dist/components/checkbox/Checkbox.d.ts +1 -1
- package/dist/components/drawer/Drawer.d.ts +1 -1
- package/dist/components/select/Select.d.ts +1 -1
- package/dist/components/switch/Switch.d.ts +1 -1
- package/dist/components/tabs/Tabs.d.ts +1 -1
- package/dist/ui.cjs +3 -182
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +895 -25581
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
package/dist/ui.cjs
CHANGED
|
@@ -1,186 +1,7 @@
|
|
|
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
|
-
* @license React
|
|
3
|
-
* scheduler.development.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
-
* @license React
|
|
11
|
-
* scheduler.production.min.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
-
* @license React
|
|
19
|
-
* react-dom.development.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
-
* Checks if an event is supported in the current execution environment.
|
|
35
|
-
*
|
|
36
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
37
|
-
* `reset`, `load`, `error`, and `select`.
|
|
38
|
-
*
|
|
39
|
-
* Borrows from Modernizr.
|
|
40
|
-
*
|
|
41
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
42
|
-
* @return {boolean} True if the event is supported.
|
|
43
|
-
* @internal
|
|
44
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
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
|
-
|
|
48
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
49
|
-
|
|
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
|
-
|
|
52
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
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
|
-
|
|
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
|
-
|
|
57
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
58
|
-
|
|
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
|
-
|
|
61
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
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
|
-
|
|
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
|
-
|
|
66
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
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
|
-
* 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
|
-
|
|
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
|
-
|
|
72
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
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
|
-
|
|
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
|
-
|
|
77
|
-
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
78
|
-
|
|
79
|
-
Please update the following components: %s
|
|
80
|
-
|
|
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
|
-
1. You may be adding a ref to a function component
|
|
83
|
-
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
84
|
-
3. You have multiple copies of React loaded
|
|
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
|
-
|
|
88
|
-
Previous render Next render
|
|
89
|
-
------------------------------------------------------
|
|
90
|
-
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
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
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
93
|
-
2. You might be breaking the Rules of Hooks
|
|
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 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
|
-
|
|
97
|
-
Previous: %s
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
104
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
105
|
-
|
|
106
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
120
|
-
`+C+`(() => {
|
|
121
|
-
async function fetchData() {
|
|
122
|
-
// You can await here
|
|
123
|
-
const response = await MyAPI.getData(someId);
|
|
124
|
-
// ...
|
|
125
|
-
}
|
|
126
|
-
fetchData();
|
|
127
|
-
}, [someId]); // Or [] if effect doesn't need props or state
|
|
128
|
-
|
|
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
|
-
|
|
131
|
-
Error message:
|
|
132
|
-
|
|
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
|
-
|
|
135
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
136
|
-
|
|
137
|
-
act(() => {
|
|
138
|
-
/* fire events that update state */
|
|
139
|
-
});
|
|
140
|
-
/* assert on the output */
|
|
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?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
|
-
|
|
144
|
-
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
145
|
-
|
|
146
|
-
act(() => {
|
|
147
|
-
/* finish loading suspended data */
|
|
148
|
-
});
|
|
149
|
-
/* assert on the output */
|
|
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 $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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
157
|
-
let root = createRoot(domContainer);
|
|
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
|
-
* @license React
|
|
161
|
-
* react-dom.production.min.js
|
|
162
|
-
*
|
|
163
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
164
|
-
*
|
|
165
|
-
* This source code is licensed under the MIT license found in the
|
|
166
|
-
* LICENSE file in the root directory of this source tree.
|
|
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
|
-
`),y=f.stack.split(`
|
|
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
|
-
Error generating stack: `+y.message+`
|
|
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
|
-
* tabbable 6.2.0
|
|
176
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
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
|
-
* focus-trap 7.5.4
|
|
179
|
-
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
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:`
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),i=require("@ark-ui/react"),n=require("@stokelp/styled-system/jsx"),u=require("@stokelp/styled-system/recipes"),f=require("react"),T=require("@stokelp/styled-system/css"),s=require("@pandacss/dev"),L=(...e)=>e.filter(Boolean).join(" "),B=(e,t)=>{const o=f.createContext(null);return{withContext:(v,c,g)=>c?f.forwardRef((p,z)=>{const k=f.useContext(o),R=(t==null?void 0:t.dataAttr)??!1;return f.createElement(v,{...R&&{"data-recipe-slot":c??""},...p,...g==null?void 0:g.defaultProps,className:L(k==null?void 0:k[c??""],p.className),ref:z})}):v,withProvider:(v,c,g)=>f.forwardRef((p,z)=>{const[k,R]=e.splitVariantProps({...p,...g==null?void 0:g.defaultProps}),P=e(k),ce=(t==null?void 0:t.dataAttr)??!1;return a.jsx(o.Provider,{value:P,children:a.jsx(v,{ref:z,...ce&&{"data-recipe-slot":c??""},...R,className:L(P[c??""],R.className)})})})}},{withProvider:ue,withContext:F}=B(u.accordion),pe=ue(n.styled(i.Accordion.Root),"root"),ge=F(n.styled(i.Accordion.Item),"item"),me=F(n.styled(i.Accordion.ItemContent),"itemContent"),he=F(n.styled(i.Accordion.ItemIndicator),"itemIndicator",{defaultProps:{children:a.jsx("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M4.94 6.03L8 9.08333L11.06 6.03L12 6.97L8 10.97L4 6.97L4.94 6.03Z",fill:"currentColor"})})}}),ve=F(n.styled(i.Accordion.ItemTrigger),"itemTrigger"),j=n.styled("button",u.button),W=f.forwardRef((e,t)=>{const[o,r]=u.checkbox.splitVariantProps(e),[d,v]=n.splitCssProps(r),{children:c,className:g,...S}=v,p=u.checkbox(o);return a.jsxs(i.Checkbox.Root,{ref:t,className:T.cx(p.root,T.css(d),g),...S,children:[a.jsxs(i.Checkbox.Control,{className:p.control,children:[a.jsx(i.Checkbox.Indicator,{children:a.jsx(be,{})}),a.jsx(i.Checkbox.Indicator,{indeterminate:!0,children:a.jsx(fe,{})})]}),c&&a.jsx(i.Checkbox.Label,{className:p.label,children:c}),a.jsx(i.Checkbox.HiddenInput,{})]})});W.displayName="Checkbox";const be=()=>a.jsxs("svg",{viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("title",{children:"Check Icon"}),a.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"})]}),fe=()=>a.jsxs("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("title",{children:"Minus Icon"}),a.jsx("path",{d:"M3 6H9V7H3V6Z",fill:"white"})]}),{withProvider:ye,withContext:I}=B(u.drawer),xe=ye(i.Dialog.Root,void 0,{defaultProps:{unmountOnExit:!0,lazyMount:!0}}),we=I(n.styled(i.ark.main),"body"),M=I(n.styled(i.Dialog.CloseTrigger),"closeTrigger"),Ie=I(n.styled(i.ark.footer),"footer"),V=f.forwardRef(({children:e,showCloseTrigger:t=!0,...o},r)=>a.jsxs(i.ark.header,{...o,ref:r,children:[e,t&&a.jsx(M,{asChild:!0,children:a.jsx(j,{ml:"auto",p:"space-8",variant:"tertiary",children:a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.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"})})})})]}));V.displayName="DrawerHeader";const Se=I(V,"header"),Ce=I(n.styled(i.Dialog.Title),"title"),Te=I(n.styled(i.Dialog.Trigger),"trigger"),ke=I(n.styled(i.Dialog.Positioner),"positioner"),Re=I(n.styled(i.Dialog.Backdrop),"backdrop"),H=f.forwardRef(({children:e,...t},o)=>a.jsxs(i.Portal,{children:[a.jsx(Re,{}),a.jsx(ke,{children:a.jsx(i.Dialog.Content,{ref:o,...t,children:e})})]}));H.displayName=i.Dialog.Content.displayName;const _e=I(n.styled(H),"content"),Ee=n.styled("div",u.formControl,{defaultProps:{role:"group"}}),De=({isInvalid:e,isRequired:t,...o})=>{const r={...e?{"aria-invalid":!0}:{},...t?{"aria-required":!0}:{}};return a.jsx(Ee,{...r,...o})},Be=n.styled("label",u.formLabel),Fe=e=>{const[t,o]=u.formLabel.splitVariantProps(e),[r,d]=n.splitCssProps(o),{children:v,className:c,addon:g,...S}=d,p=u.formLabel(t);return a.jsxs(Be,{className:T.cx(p.root,T.css(r),c),...S,children:[v,g?a.jsx(n.styled.span,{className:p.addon,children:g}):null]})},$e=n.styled("p",u.formHelperText,{dataAttr:!0}),Ae=e=>{const{as:t="h2",...o}=e,r=f.useMemo(()=>n.styled(t,u.heading),[t]);return a.jsx(r,{size:t,...o})},O=f.forwardRef((e,t)=>{const[o,r]=u.switchRecipe.splitVariantProps(e),[d,v]=n.splitCssProps(r),{children:c,className:g,...S}=v,p=u.switchRecipe(o);return a.jsxs(i.Switch.Root,{ref:t,className:T.cx(p.root,T.css(d),g),...S,children:[a.jsx(i.Switch.Control,{className:p.control,children:a.jsx(i.Switch.Thumb,{className:p.thumb})}),c?a.jsx(i.Switch.Label,{className:p.label,children:c}):null,a.jsx(i.Switch.HiddenInput,{})]})});O.displayName="Switch";const G=e=>{const{as:t="p",...o}=e,r=f.useMemo(()=>n.styled(t,u.text),[t]);return a.jsx(r,{...o})},ze=n.styled(i.ark.textarea,u.textarea),{withProvider:Ne,withContext:$}=B(u.tabs),Pe=Ne(n.styled(i.Tabs.Root),"root",{defaultProps:{lazyMount:!0}}),Le=$(n.styled(i.Tabs.Content),"content"),je=$(n.styled(i.Tabs.Trigger),"trigger"),We=$(n.styled(i.Tabs.Indicator),"indicator"),Y=f.forwardRef(({children:e,...t},o)=>a.jsxs(i.Tabs.List,{ref:o,...t,children:[e,a.jsx(We,{})]}));Y.displayName=i.Tabs.List.displayName;const Me=$(n.styled(Y),"list"),Ve=({children:e,when:t,wrapper:o})=>t===!0?o(e):e,{withProvider:He,withContext:x}=B(u.select),Oe=He(n.styled(i.Select.Root),"root",{defaultProps:{loopFocus:!0}}),Ge=x(n.styled(i.Select.ClearTrigger),"clearTrigger"),Ye=x(n.styled(i.Select.Content),"content"),qe=x(n.styled(i.Select.Control),"control"),Xe=x(n.styled(i.Select.Indicator),"indicator"),Ue=x(n.styled(i.Select.Item),"item"),Ze=x(n.styled(i.Select.ItemIndicator),"itemIndicator"),Ke=x(n.styled(i.Select.ItemText),"itemText"),Qe=x(n.styled(i.Select.Positioner),"positioner"),Je=x(n.styled(i.Select.Trigger),"trigger"),et=x(n.styled(i.Select.ValueText),"valueText"),tt=({items:e,placeholder:t,emptyLabel:o,usePortal:r=!0,positioning:d,...v})=>a.jsxs(Oe,{lazyMount:!0,unmountOnExit:!0,items:e,positioning:{sameWidth:!0,gutter:0,...d},"data-recipe":"select",...v,children:[a.jsx(qe,{children:a.jsxs(Je,{children:[a.jsx(et,{truncate:!0,placeholder:t}),a.jsx(Ge,{asChild:!0,children:a.jsx(n.styled.svg,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.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"})})}),a.jsx(Xe,{asChild:!0,children:a.jsx(n.styled.svg,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M7.41 8.29498L12 12.875L16.59 8.29498L18 9.70498L12 15.705L6 9.70498L7.41 8.29498Z",fill:"currentColor"})})})]})}),a.jsx(Ve,{when:r,wrapper:c=>a.jsx(i.Portal,{children:c}),children:a.jsx(Qe,{children:a.jsx(Ye,{children:e.length===0?a.jsx(G,{px:"space-8",textAlign:"center",children:o??"Aucun résultat"}):e.map(c=>a.jsxs(Ue,{item:c,children:[a.jsx(Ke,{truncate:!0,children:c.label}),v.multiple?a.jsx(Ze,{children:"✓"}):null]},c.value))})})}),a.jsx(i.Select.HiddenSelect,{})]}),ot=n.styled("input",u.input,{dataAttr:!0}),rt=n.styled("div",u.inputAddon,{dataAttr:!0}),at=n.styled("div",u.inputGroup),it={xl:"1536px",lg:"1200px",md:"900px",sm:"600px"},nt={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"])'}},st={"2xl":"672px","3xl":"768px","4xl":"896px","5xl":"1024px","6xl":"1152px","7xl":"1280px","8xl":"1440px",lg:"512px",md:"448px",sm:"384px",xl:"576px",xs:"320px"},lt=s.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)"}}}),dt=s.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"}}}]}),ct=s.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"}}}});var w=(e,t=[])=>({parts:(...o)=>{if(ut(t))return w(e,o);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...o)=>w(e,[...t,...o]),rename:o=>w(o,t),keys:()=>t,build:()=>[...new Set(t)].reduce((o,r)=>Object.assign(o,{[r]:{selector:[`&[data-scope="${C(e)}"][data-part="${C(r)}"]`,`& [data-scope="${C(e)}"][data-part="${C(r)}"]`].join(", "),attrs:{"data-scope":C(e),"data-part":C(r)}}}),{})}),C=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),ut=e=>e.length===0,pt=e=>e.nodeType===Node.DOCUMENT_NODE,gt=e=>e!=null&&e===e.window;function mt(e){return pt(e)?e:gt(e)?e.document:(e==null?void 0:e.ownerDocument)??document}var q=e=>e.id;function ht(e,t,o=q){return e.find(r=>o(r)===t)}function X(e,t,o=q){const r=ht(e,t,o);return r?e.indexOf(r):-1}function vt(e,t,o=!0){let r=X(e,t);return r=o?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function bt(e,t,o=!0){let r=X(e,t);return r===-1?o?e[e.length-1]:null:(r=o?(r-1+e.length)%e.length:Math.max(0,r-1),e[r])}function ft(e,t){return Array.from((e==null?void 0:e.querySelectorAll(t))??[])}function yt(e){const t={getRootNode:o=>{var r;return((r=o.getRootNode)==null?void 0:r.call(o))??document},getDoc:o=>mt(t.getRootNode(o)),getWin:o=>t.getDoc(o).defaultView??window,getActiveElement:o=>t.getDoc(o).activeElement,isActiveElement:(o,r)=>r===t.getActiveElement(o),getById:(o,r)=>t.getRootNode(o).getElementById(r),setValue:(o,r)=>{if(o==null||r==null)return;const d=r.toString();o.value!==d&&(o.value=r.toString())}};return{...t,...e}}var U=e=>e[0],Z=e=>e[e.length-1],K=()=>e=>Array.from(new Set(e)),Q=w("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator");Q.build();var y=yt({getRootId:e=>{var t;return((t=e.ids)==null?void 0:t.root)??`accordion:${e.id}`},getItemId:(e,t)=>{var o,r;return((r=(o=e.ids)==null?void 0:o.item)==null?void 0:r.call(o,t))??`accordion:${e.id}:item:${t}`},getItemContentId:(e,t)=>{var o,r;return((r=(o=e.ids)==null?void 0:o.content)==null?void 0:r.call(o,t))??`accordion:${e.id}:content:${t}`},getItemTriggerId:(e,t)=>{var o,r;return((r=(o=e.ids)==null?void 0:o.trigger)==null?void 0:r.call(o,t))??`accordion:${e.id}:trigger:${t}`},getRootEl:e=>y.getById(e,y.getRootId(e)),getTriggers:e=>{const o=`[aria-controls][data-ownedby='${CSS.escape(y.getRootId(e))}']:not([disabled])`;return ft(y.getRootEl(e),o)},getFirstTriggerEl:e=>U(y.getTriggers(e)),getLastTriggerEl:e=>Z(y.getTriggers(e)),getNextTriggerEl:(e,t)=>vt(y.getTriggers(e),y.getItemTriggerId(e,t)),getPrevTriggerEl:(e,t)=>bt(y.getTriggers(e),y.getItemTriggerId(e,t))});K()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value"]);K()(["value","disabled"]);var xt=e=>e.nodeType===Node.DOCUMENT_NODE,wt=e=>e!=null&&e===e.window;function It(e){return xt(e)?e:wt(e)?e.document:(e==null?void 0:e.ownerDocument)??document}function St(e){const t={getRootNode:o=>{var r;return((r=o.getRootNode)==null?void 0:r.call(o))??document},getDoc:o=>It(t.getRootNode(o)),getWin:o=>t.getDoc(o).defaultView??window,getActiveElement:o=>t.getDoc(o).activeElement,isActiveElement:(o,r)=>r===t.getActiveElement(o),getById:(o,r)=>t.getRootNode(o).getElementById(r),setValue:(o,r)=>{if(o==null||r==null)return;const d=r.toString();o.value!==d&&(o.value=r.toString())}};return{...t,...e}}var Ct=()=>e=>Array.from(new Set(e)),J=w("checkbox").parts("root","label","control","indicator");J.build();var _=St({getRootId:e=>{var t;return((t=e.ids)==null?void 0:t.root)??`checkbox:${e.id}`},getLabelId:e=>{var t;return((t=e.ids)==null?void 0:t.label)??`checkbox:${e.id}:label`},getControlId:e=>{var t;return((t=e.ids)==null?void 0:t.control)??`checkbox:${e.id}:control`},getHiddenInputId:e=>{var t;return((t=e.ids)==null?void 0:t.hiddenInput)??`checkbox:${e.id}:hidden`},getRootEl:e=>_.getById(e,_.getRootId(e)),getHiddenInputEl:e=>_.getById(e,_.getHiddenInputId(e))});Ct()(["checked","dir","disabled","form","getRootNode","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]);var Tt=e=>e.nodeType===Node.DOCUMENT_NODE,kt=e=>e!=null&&e===e.window;function Rt(e){return Tt(e)?e:kt(e)?e.document:(e==null?void 0:e.ownerDocument)??document}function _t(e){const t={getRootNode:o=>{var r;return((r=o.getRootNode)==null?void 0:r.call(o))??document},getDoc:o=>Rt(t.getRootNode(o)),getWin:o=>t.getDoc(o).defaultView??window,getActiveElement:o=>t.getDoc(o).activeElement,isActiveElement:(o,r)=>r===t.getActiveElement(o),getById:(o,r)=>t.getRootNode(o).getElementById(r),setValue:(o,r)=>{if(o==null||r==null)return;const d=r.toString();o.value!==d&&(o.value=r.toString())}};return{...t,...e}}var Et=()=>e=>Array.from(new Set(e)),ee=w("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger");ee.build();var m=_t({getPositionerId:e=>{var t;return((t=e.ids)==null?void 0:t.positioner)??`dialog:${e.id}:positioner`},getBackdropId:e=>{var t;return((t=e.ids)==null?void 0:t.backdrop)??`dialog:${e.id}:backdrop`},getContentId:e=>{var t;return((t=e.ids)==null?void 0:t.content)??`dialog:${e.id}:content`},getTriggerId:e=>{var t;return((t=e.ids)==null?void 0:t.trigger)??`dialog:${e.id}:trigger`},getTitleId:e=>{var t;return((t=e.ids)==null?void 0:t.title)??`dialog:${e.id}:title`},getDescriptionId:e=>{var t;return((t=e.ids)==null?void 0:t.description)??`dialog:${e.id}:description`},getCloseTriggerId:e=>{var t;return((t=e.ids)==null?void 0:t.closeTrigger)??`dialog:${e.id}:close`},getContentEl:e=>m.getById(e,m.getContentId(e)),getPositionerEl:e=>m.getById(e,m.getPositionerId(e)),getBackdropEl:e=>m.getById(e,m.getBackdropId(e)),getTriggerEl:e=>m.getById(e,m.getTriggerId(e)),getTitleEl:e=>m.getById(e,m.getTitleId(e)),getDescriptionEl:e=>m.getById(e,m.getDescriptionId(e)),getCloseTriggerEl:e=>m.getById(e,m.getCloseTriggerId(e))});Et()(["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 Dt=e=>e.nodeType===Node.DOCUMENT_NODE,Bt=e=>e!=null&&e===e.window;function Ft(e){return Dt(e)?e:Bt(e)?e.document:(e==null?void 0:e.ownerDocument)??document}function $t(e){const t={getRootNode:o=>{var r;return((r=o.getRootNode)==null?void 0:r.call(o))??document},getDoc:o=>Ft(t.getRootNode(o)),getWin:o=>t.getDoc(o).defaultView??window,getActiveElement:o=>t.getDoc(o).activeElement,isActiveElement:(o,r)=>r===t.getActiveElement(o),getById:(o,r)=>t.getRootNode(o).getElementById(r),setValue:(o,r)=>{if(o==null||r==null)return;const d=r.toString();o.value!==d&&(o.value=r.toString())}};return{...t,...e}}var A=()=>e=>Array.from(new Set(e)),te=w("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","control");te.build();var h=$t({getRootId:e=>{var t;return((t=e.ids)==null?void 0:t.root)??`select:${e.id}`},getContentId:e=>{var t;return((t=e.ids)==null?void 0:t.content)??`select:${e.id}:content`},getTriggerId:e=>{var t;return((t=e.ids)==null?void 0:t.trigger)??`select:${e.id}:trigger`},getClearTriggerId:e=>{var t;return((t=e.ids)==null?void 0:t.clearTrigger)??`select:${e.id}:clear-trigger`},getLabelId:e=>{var t;return((t=e.ids)==null?void 0:t.label)??`select:${e.id}:label`},getControlId:e=>{var t;return((t=e.ids)==null?void 0:t.control)??`select:${e.id}:control`},getItemId:(e,t)=>{var o,r;return((r=(o=e.ids)==null?void 0:o.item)==null?void 0:r.call(o,t))??`select:${e.id}:option:${t}`},getHiddenSelectId:e=>{var t;return((t=e.ids)==null?void 0:t.hiddenSelect)??`select:${e.id}:select`},getPositionerId:e=>{var t;return((t=e.ids)==null?void 0:t.positioner)??`select:${e.id}:positioner`},getItemGroupId:(e,t)=>{var o,r;return((r=(o=e.ids)==null?void 0:o.itemGroup)==null?void 0:r.call(o,t))??`select:${e.id}:optgroup:${t}`},getItemGroupLabelId:(e,t)=>{var o,r;return((r=(o=e.ids)==null?void 0:o.itemGroupLabel)==null?void 0:r.call(o,t))??`select:${e.id}:optgroup-label:${t}`},getHiddenSelectEl:e=>h.getById(e,h.getHiddenSelectId(e)),getContentEl:e=>h.getById(e,h.getContentId(e)),getControlEl:e=>h.getById(e,h.getControlId(e)),getTriggerEl:e=>h.getById(e,h.getTriggerId(e)),getClearTriggerEl:e=>h.getById(e,h.getClearTriggerId(e)),getPositionerEl:e=>h.getById(e,h.getPositionerId(e)),getHighlightedOptionEl(e){return e.highlightedValue?h.getById(e,h.getItemId(e,e.highlightedValue)):null}});A()(["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"]);A()(["item","persistFocus"]);A()(["id"]);A()(["htmlFor"]);const At=te.extendWith("valueText");var zt=e=>e.nodeType===Node.DOCUMENT_NODE,Nt=e=>e!=null&&e===e.window;function Pt(e){return zt(e)?e:Nt(e)?e.document:(e==null?void 0:e.ownerDocument)??document}function Lt(e){const t={getRootNode:o=>{var r;return((r=o.getRootNode)==null?void 0:r.call(o))??document},getDoc:o=>Pt(t.getRootNode(o)),getWin:o=>t.getDoc(o).defaultView??window,getActiveElement:o=>t.getDoc(o).activeElement,isActiveElement:(o,r)=>r===t.getActiveElement(o),getById:(o,r)=>t.getRootNode(o).getElementById(r),setValue:(o,r)=>{if(o==null||r==null)return;const d=r.toString();o.value!==d&&(o.value=r.toString())}};return{...t,...e}}var jt=()=>e=>Array.from(new Set(e)),oe=w("switch").parts("root","label","control","thumb");oe.build();var E=Lt({getRootId:e=>{var t;return((t=e.ids)==null?void 0:t.root)??`switch:${e.id}`},getLabelId:e=>{var t;return((t=e.ids)==null?void 0:t.label)??`switch:${e.id}:label`},getThumbId:e=>{var t;return((t=e.ids)==null?void 0:t.thumb)??`switch:${e.id}:thumb`},getControlId:e=>{var t;return((t=e.ids)==null?void 0:t.control)??`switch:${e.id}:control`},getRootEl:e=>E.getById(e,E.getRootId(e)),getHiddenInputId:e=>{var t;return((t=e.ids)==null?void 0:t.input)??`switch:${e.id}:input`},getHiddenInputEl:e=>E.getById(e,E.getHiddenInputId(e))});jt()(["checked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]);var Wt=e=>e.nodeType===Node.DOCUMENT_NODE,Mt=e=>e!=null&&e===e.window;function Vt(e){return Wt(e)?e:Mt(e)?e.document:(e==null?void 0:e.ownerDocument)??document}var re=e=>e.id;function ae(e,t,o=re){return e.find(r=>o(r)===t)}function ie(e,t,o=re){const r=ae(e,t,o);return r?e.indexOf(r):-1}function Ht(e,t,o=!0){let r=ie(e,t);return r=o?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function Ot(e,t,o=!0){let r=ie(e,t);return r===-1?o?e[e.length-1]:null:(r=o?(r-1+e.length)%e.length:Math.max(0,r-1),e[r])}function Gt(e,t){return Array.from((e==null?void 0:e.querySelectorAll(t))??[])}function Yt(e){const t={getRootNode:o=>{var r;return((r=o.getRootNode)==null?void 0:r.call(o))??document},getDoc:o=>Vt(t.getRootNode(o)),getWin:o=>t.getDoc(o).defaultView??window,getActiveElement:o=>t.getDoc(o).activeElement,isActiveElement:(o,r)=>r===t.getActiveElement(o),getById:(o,r)=>t.getRootNode(o).getElementById(r),setValue:(o,r)=>{if(o==null||r==null)return;const d=r.toString();o.value!==d&&(o.value=r.toString())}};return{...t,...e}}var N=()=>e=>Array.from(new Set(e)),ne=w("tabs").parts("root","list","trigger","content","indicator");ne.build();var l=Yt({getRootId:e=>{var t;return((t=e.ids)==null?void 0:t.root)??`tabs:${e.id}`},getListId:e=>{var t;return((t=e.ids)==null?void 0:t.list)??`tabs:${e.id}:list`},getContentId:(e,t)=>{var o;return((o=e.ids)==null?void 0:o.content)??`tabs:${e.id}:content-${t}`},getTriggerId:(e,t)=>{var o;return((o=e.ids)==null?void 0:o.trigger)??`tabs:${e.id}:trigger-${t}`},getIndicatorId:e=>{var t;return((t=e.ids)==null?void 0:t.indicator)??`tabs:${e.id}:indicator`},getListEl:e=>l.getById(e,l.getListId(e)),getContentEl:(e,t)=>l.getById(e,l.getContentId(e,t)),getTriggerEl:(e,t)=>l.getById(e,l.getTriggerId(e,t)),getIndicatorEl:e=>l.getById(e,l.getIndicatorId(e)),getElements:e=>{const o=`[role=tab][data-ownedby='${CSS.escape(l.getListId(e))}']:not([disabled])`;return Gt(l.getListEl(e),o)},getFirstTriggerEl:e=>U(l.getElements(e)),getLastTriggerEl:e=>Z(l.getElements(e)),getNextTriggerEl:(e,t)=>Ht(l.getElements(e),l.getTriggerId(e,t),e.loopFocus),getPrevTriggerEl:(e,t)=>Ot(l.getElements(e),l.getTriggerId(e,t),e.loopFocus),getSelectedContentEl:e=>{if(e.value)return l.getContentEl(e,e.value)},getSelectedTriggerEl:e=>{if(e.value)return l.getTriggerEl(e,e.value)},getOffsetRect:e=>({left:(e==null?void 0:e.offsetLeft)??0,top:(e==null?void 0:e.offsetTop)??0,width:(e==null?void 0:e.offsetWidth)??0,height:(e==null?void 0:e.offsetHeight)??0}),getRectById:(e,t)=>{const o=ae(l.getElements(e),l.getTriggerId(e,t));return l.resolveRect(l.getOffsetRect(o))},resolveRect:e=>({width:`${e.width}px`,height:`${e.height}px`,left:`${e.left}px`,top:`${e.top}px`})});N()(["activationMode","composite","dir","getRootNode","id","ids","loopFocus","onFocusChange","onValueChange","orientation","translations","value"]);N()(["disabled","value"]);N()(["value"]);const qt=s.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:oe.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"}}}}}),Xt=s.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"}}}}),se=s.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"}}}}),Ut=s.defineRecipe({className:"textarea",jsx:["Textarea"],base:{px:"space-16",py:"space-8",...se.base}}),Zt=s.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"]}),Kt=s.defineRecipe({base:{color:"grey.400",fontFamily:"satoshi",textStyle:"body.sm"},className:"form-helper-text",description:"The styles for the FormHelperText component",jsx:["FormHelperText"]}),Qt=ee.extendWith("header","body","footer"),Jt=s.defineSlotRecipe({className:"drawer",slots:Qt.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
2
|
'header'
|
|
182
3
|
'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"}}}}}}),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(
|
|
4
|
+
`,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"}}}}}}),eo=s.defineSlotRecipe({className:"accordion",jsx:["Accordion"],slots:Q.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"}}}}}),to=s.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"]}),oo=s.defineSlotRecipe({className:"checkbox",slots:J.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"}}}}}),ro=s.defineSlotRecipe({className:"tabs",slots:ne.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"}}}}}}),ao=s.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:At.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"}}}}}),io=s.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"]}),no=s.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"]}),so={button:dt,heading:ct,switchRecipe:qt,text:Xt,textarea:Ut,formControl:Zt,formHelperText:Kt,input:se,inputAddon:io,inputGroup:no},lo={drawer:Jt,accordion:eo,formLabel:to,checkbox:oo,tabs:ro,select:ao},co=s.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}"}}}),uo={colors:co},po=s.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"}}}}),go=s.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}"}}),mo=s.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"}}),ho=s.defineTokens.blurs({"2xl":{value:"40px"},"3xl":{value:"64px"},base:{value:"8px"},lg:{value:"16px"},md:{value:"12px"},sm:{value:"4px"},xl:{value:"24px"}}),vo=s.defineTokens.borders({border:{none:{value:"none"}}}),bo=s.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"}}}),fo=s.defineTokens.durations({fast:{value:"150ms"},faster:{value:"100ms"},fastest:{value:"50ms"},normal:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}}),yo=s.defineTokens.easings({default:{value:"cubic-bezier(0.2, 0.0, 0, 1.0)"},"ease-bounce-1":{value:`linear(
|
|
184
5
|
0, 0.004, 0.016, 0.035, 0.063, 0.098, 0.141, 0.191, 0.25, 0.316, 0.391 36.8%,
|
|
185
6
|
0.563, 0.766, 1 58.8%, 0.946, 0.908 69.1%, 0.895, 0.885, 0.879, 0.878, 0.879,
|
|
186
7
|
0.885, 0.895, 0.908 89.7%, 0.946, 1
|
|
@@ -229,5 +50,5 @@ Error generating stack: `+y.message+`
|
|
|
229
50
|
1.254 17%, 1.259, 1.257 18.6%, 1.236, 1.194 22.3%, 1.057 27%, 0.999 29.4%,
|
|
230
51
|
0.955 32.1%, 0.942, 0.935 34.9%, 0.933, 0.939 38.4%, 1 47.3%, 1.011,
|
|
231
52
|
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)"}}),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;
|
|
53
|
+
)`},"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)"}}),xo=s.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"}}),wo=s.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)"}}),Io=s.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"}}),So=s.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 Co="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,%";`${Co.split(",").join("|")}`;var To={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(To).reduce((e,t)=>[...e,...t],[]);var ko=16,le="px",de="em",D="rem";function Ro(e=""){const t=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),o=new RegExp(`${le}|${de}|${D}`),r=e.match(new RegExp(`${t.source}(${o.source})`));return r==null?void 0:r[1]}function b(e=""){const t=Ro(e);if(!t||t===D)return e;if(t===de)return`${parseFloat(e)}${D}`;if(t===le)return`${parseFloat(e)/ko}${D}`}const _o=s.defineTokens.fontSizes({body:{lg:{value:b("16px")},md:{value:b("14px")},sm:{value:b("12px")}},heading:{desktop:{"2xl":{value:b("44px")},lg:{value:b("32px")},md:{value:b("28px")},sm:{value:b("22px")},xs:{value:b("18px")}},mobile:{"2xl":{value:b("38px")},lg:{value:b("30px")},md:{value:b("24px")},sm:{value:b("22px")},xs:{value:b("18px")}}}}),Eo=s.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"}}),Do=s.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"}}),Bo=s.defineTokens.lineHeights({}),Fo=s.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"]}}),$o=s.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}}),Ao={animations:go,aspectRatios:mo,blurs:ho,borders:vo,colors:bo,durations:fo,easings:yo,fontSizes:_o,fontWeights:Eo,fonts:Fo,letterSpacings:Do,lineHeights:Bo,radii:xo,shadows:wo,sizes:Io,spacing:So,zIndex:$o},zo=s.defineUtility({className:"size",transform(e){return{height:e,width:e}},values:"sizes"}),No={extend:{boxSize:zo}},Po=s.definePreset({staticCss:{recipes:"*"},theme:{breakpoints:it,containerSizes:st,keyframes:lt,recipes:so,semanticTokens:uo,slotRecipes:lo,textStyles:po,tokens:Ao},utilities:No,conditions:nt});exports.Accordion=pe;exports.AccordionItem=ge;exports.AccordionItemContent=me;exports.AccordionItemIndicator=he;exports.AccordionItemTrigger=ve;exports.Button=j;exports.Checkbox=W;exports.Drawer=xe;exports.DrawerBody=we;exports.DrawerCloseTrigger=M;exports.DrawerContent=_e;exports.DrawerFooter=Ie;exports.DrawerHeader=Se;exports.DrawerTitle=Ce;exports.DrawerTrigger=Te;exports.FormControl=De;exports.FormHelperText=$e;exports.FormLabel=Fe;exports.Heading=Ae;exports.Input=ot;exports.InputAddon=rt;exports.InputGroup=at;exports.Select=tt;exports.Switch=O;exports.Tabs=Pe;exports.TabsContent=Le;exports.TabsList=Me;exports.TabsTrigger=je;exports.Text=G;exports.Textarea=ze;exports.preset=Po;
|
|
233
54
|
//# sourceMappingURL=ui.cjs.map
|